@ekyc_qoobiss/qbs-ect-cmp 3.6.2 → 3.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5318,17 +5318,13 @@ class Stream {
5318
5318
  this.recordedChunks.push(event.data);
5319
5319
  };
5320
5320
  this.mediaRecorder.onstop = _e => {
5321
- this.saveVideoRecording(this.recordedChunks, options.mimeType);
5322
- this.recordedChunks = [];
5321
+ var blob = new Blob(this.recordedChunks, {
5322
+ type: options.mimeType.split(';')[0],
5323
+ });
5324
+ this.callbackRecordingReady(blob);
5323
5325
  };
5324
5326
  this.mediaRecorder.start(); // Start recording, and dump data every second
5325
5327
  }
5326
- async saveVideoRecording(videoTosave, mimeType) {
5327
- var blob = new Blob(videoTosave, {
5328
- type: mimeType.split(';')[0],
5329
- });
5330
- this.callbackRecordingReady(blob);
5331
- }
5332
5328
  updateCanvasSize(canvas) {
5333
5329
  this.videoSize = { width: this.videoElement.videoWidth, height: this.videoElement.videoHeight };
5334
5330
  canvas.width = this.videoSize.width;
@@ -5564,7 +5560,6 @@ const CaptureError = class {
5564
5560
  registerInstance(this, hostRef);
5565
5561
  this.eventCaptureErrorDone = createEvent(this, "captureErrorDone", 7);
5566
5562
  this.type = undefined;
5567
- this.message = undefined;
5568
5563
  this.buttonEnabled = undefined;
5569
5564
  this.buttonText = undefined;
5570
5565
  }
@@ -5596,7 +5591,7 @@ const CaptureError = class {
5596
5591
  this.eventCaptureErrorDone.emit();
5597
5592
  }
5598
5593
  render() {
5599
- return (h("div", { class: "container" }, h("div", { class: "row" }, h("h1", { class: "color-red" }, this.titleR1), h("h1", { class: "color-red" }, this.titleR2), h("div", null, h("p", { class: "color-red font-weight-bold font-size-25 mt-5" }, this.descriptionR1), h("p", { class: "color-red font-weight-bold font-size-25 mt-5" }, this.descriptionR2), h("p", { class: "color-red font-weight-bold font-size-18 mt-5" }, this.message)), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", type: "button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick() }, this.buttonText), h("p", { class: "main-text font-size-18 text-right mb-0" }, IdCaptureValues.FooterText))))));
5594
+ return (h("div", { class: "container" }, h("div", { class: "row" }, h("h1", { class: "color-red" }, this.titleR1), h("h1", { class: "color-red" }, this.titleR2), h("div", null, h("p", { class: "color-red font-weight-bold font-size-25 mt-5" }, this.descriptionR1), h("p", { class: "color-red font-weight-bold font-size-25 mt-5" }, this.descriptionR2)), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", type: "button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick() }, this.buttonText), h("p", { class: "main-text font-size-18 text-right mb-0" }, IdCaptureValues.FooterText))))));
5600
5595
  }
5601
5596
  };
5602
5597
  CaptureError.style = captureErrorCss;
@@ -5683,7 +5678,8 @@ class Cameras {
5683
5678
  const devices = await navigator.mediaDevices.enumerateDevices();
5684
5679
  const videoDevices = devices.filter(device => device.kind === 'videoinput');
5685
5680
  for (const device of videoDevices) {
5686
- const updatedConstraints = deviceInfo.isAppleDevice ? this.GetConstraintsIOs(deviceInfo) : this.GetConstraints(device.deviceId, deviceInfo);
5681
+ //const updatedConstraints = deviceInfo.isAppleDevice ? this.GetConstraintsIOs(deviceInfo) : this.GetConstraints(device.deviceId, deviceInfo);
5682
+ const updatedConstraints = this.GetConstraints(device.deviceId, deviceInfo);
5687
5683
  const stream = await navigator.mediaDevices.getUserMedia(updatedConstraints);
5688
5684
  stream.getVideoTracks().forEach(track => {
5689
5685
  var _a, _b;
@@ -5771,28 +5767,27 @@ class Cameras {
5771
5767
  constraints.video = mediaTrack;
5772
5768
  return constraints;
5773
5769
  }
5774
- GetConstraintsIOs(device, portrait = false) {
5775
- let constraints = {
5776
- audio: false,
5777
- };
5778
- let mediaTrack = {};
5779
- if (device.isDesktop) {
5780
- mediaTrack.width = 1280;
5781
- }
5782
- else {
5783
- mediaTrack.facingMode = 'user';
5784
- if (portrait) {
5785
- mediaTrack.width = 1280;
5786
- mediaTrack.height = 720;
5787
- }
5788
- else {
5789
- mediaTrack.facingMode = 'environment';
5790
- //mediaTrack.width = 1280;
5791
- }
5792
- }
5793
- constraints.video = mediaTrack;
5794
- return constraints;
5795
- }
5770
+ // public GetConstraintsIOs(device: DeviceState, portrait: boolean = false): MediaStreamConstraints | any {
5771
+ // let constraints: MediaStreamConstraints = {
5772
+ // audio: false,
5773
+ // };
5774
+ // let mediaTrack: MediaTrackConstraints = {};
5775
+ // if (device.isDesktop) {
5776
+ // mediaTrack.width = 1280;
5777
+ // } else {
5778
+ // if (portrait) {
5779
+ // mediaTrack.facingMode = 'user';
5780
+ // mediaTrack.width = 1280;
5781
+ // mediaTrack.height = 720;
5782
+ // } else {
5783
+ // mediaTrack.facingMode = 'environment';
5784
+ // mediaTrack.width = 1280;
5785
+ // mediaTrack.height = 720;
5786
+ // }
5787
+ // }
5788
+ // constraints.video = mediaTrack;
5789
+ // return constraints;
5790
+ // }
5796
5791
  GetRecommendedCamera(cameras) {
5797
5792
  if (cameras && cameras.length > 0) {
5798
5793
  var recommDevice = cameras.find(c => c.recommended);
@@ -5882,7 +5877,7 @@ const IdBackCapture = class {
5882
5877
  }
5883
5878
  async openCamera() {
5884
5879
  await this.baseComponent.logStep(FlowSteps.CiBackCapture, FlowMoments.Initialized);
5885
- const constraints = state.device.isAppleDevice ? this.cameras.GetConstraintsIOs(state.device) : this.cameras.GetConstraints(state.cameraId, state.device);
5880
+ const constraints = this.cameras.GetConstraints(state.cameraId, state.device);
5886
5881
  setTimeout(() => {
5887
5882
  navigator.mediaDevices
5888
5883
  .getUserMedia(constraints)
@@ -5999,7 +5994,8 @@ const IdCapture = class {
5999
5994
  }
6000
5995
  async openCamera() {
6001
5996
  await this.baseComponent.logStep(FlowSteps.CiFrontCapture, FlowMoments.Initialized);
6002
- const constraints = state.device.isAppleDevice ? this.cameras.GetConstraintsIOs(state.device) : this.cameras.GetConstraints(state.cameraId, state.device);
5997
+ //const constraints = store.device.isAppleDevice ? this.cameras.GetConstraintsIOs(store.device) : this.cameras.GetConstraints(store.cameraId, store.device);
5998
+ const constraints = this.cameras.GetConstraints(state.cameraId, state.device);
6003
5999
  setTimeout(() => {
6004
6000
  navigator.mediaDevices
6005
6001
  .getUserMedia(constraints)
@@ -6122,7 +6118,7 @@ const IdDoubleSide = class {
6122
6118
  }
6123
6119
  async captureIdImage(event) {
6124
6120
  let idPhoto = event.detail;
6125
- if (idPhoto.length == 0 || idPhoto.size == 0) {
6121
+ if (idPhoto.size == 0) {
6126
6122
  await this.baseComponent.apiCall.AddLog({ message: 'Empty id photo', blobData: idPhoto }, getLogMessage());
6127
6123
  this.triggerErrorFlow();
6128
6124
  return;
@@ -6137,7 +6133,7 @@ const IdDoubleSide = class {
6137
6133
  }
6138
6134
  async captureIdBackImage(event) {
6139
6135
  let idPhoto = event.detail;
6140
- if (idPhoto.length == 0 || idPhoto.size == 0) {
6136
+ if (idPhoto.size == 0) {
6141
6137
  await this.baseComponent.apiCall.AddLog({ message: 'Empty id photo', blobData: idPhoto }, getLogMessage());
6142
6138
  this.triggerErrorFlow();
6143
6139
  return;
@@ -6152,7 +6148,7 @@ const IdDoubleSide = class {
6152
6148
  }
6153
6149
  async capturedIdRecording(event) {
6154
6150
  let idRecording = event.detail;
6155
- if (idRecording.length == 0 || idRecording.size == 0) {
6151
+ if (idRecording.size == 0) {
6156
6152
  await this.baseComponent.apiCall.AddLog({ message: 'Empty recording', blobData: idRecording }, getLogMessage());
6157
6153
  this.triggerErrorFlow();
6158
6154
  return;
@@ -6282,20 +6278,17 @@ const IdSingleSide = class {
6282
6278
  this.idFlow.photoFile = null;
6283
6279
  this.idFlow.recordingFile = null;
6284
6280
  this.showTimeout = false;
6285
- this.errorMessage = '';
6286
6281
  }
6287
6282
  howToDone() {
6288
6283
  this.showHowTo = false;
6289
6284
  }
6290
6285
  timeElapsed() {
6291
6286
  this.showTimeout = true;
6292
- this.errorMessage = 'timeout';
6293
6287
  }
6294
6288
  async captureIdImage(event) {
6295
6289
  let idPhoto = event.detail;
6296
- if (idPhoto.length == 0 || idPhoto.size == 0) {
6290
+ if (idPhoto.size == 0) {
6297
6291
  await this.baseComponent.apiCall.AddLog({ message: 'Empty id photo', blobData: idPhoto }, getLogMessage());
6298
- this.errorMessage = 'Empty id photo';
6299
6292
  this.showTimeout = true;
6300
6293
  return;
6301
6294
  }
@@ -6313,9 +6306,8 @@ const IdSingleSide = class {
6313
6306
  }
6314
6307
  async capturedIdRecording(event) {
6315
6308
  let idRecording = event.detail;
6316
- if (idRecording.length == 0 || idRecording.size == 0) {
6309
+ if (idRecording.size == 0) {
6317
6310
  await this.baseComponent.apiCall.AddLog({ message: 'Empty ID recording', blobData: idRecording }, getLogMessage());
6318
- this.errorMessage = 'Empty id recording';
6319
6311
  this.showTimeout = true;
6320
6312
  return;
6321
6313
  }
@@ -6345,7 +6337,6 @@ const IdSingleSide = class {
6345
6337
  this.idFlow.photoFile = null;
6346
6338
  this.idFlow.recordingFile = null;
6347
6339
  this.switchCamera();
6348
- this.errorMessage = 'Upload photo not successful';
6349
6340
  this.showTimeout = true;
6350
6341
  }
6351
6342
  }
@@ -6360,7 +6351,6 @@ const IdSingleSide = class {
6360
6351
  else {
6361
6352
  this.idFlow.photoFile = null;
6362
6353
  this.idFlow.recordingFile = null;
6363
- this.errorMessage = 'Upload recording not successful';
6364
6354
  this.showTimeout = true;
6365
6355
  }
6366
6356
  }
@@ -6390,7 +6380,7 @@ const IdSingleSide = class {
6390
6380
  }
6391
6381
  }
6392
6382
  render() {
6393
- let error = h("capture-error", { type: "ID", message: this.errorMessage });
6383
+ let error = h("capture-error", { type: "ID" });
6394
6384
  let capture = h("id-capture", { id: "idFront" });
6395
6385
  let howToInfo = h("how-to-info", { idSide: "front" });
6396
6386
  return this.showHowTo ? howToInfo : this.showTimeout ? error : capture;
@@ -6464,7 +6454,7 @@ function v4(options, buf, offset) {
6464
6454
  }
6465
6455
 
6466
6456
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
6467
- const version$1 = "3.6.2";
6457
+ const version$1 = "3.6.4";
6468
6458
  const description = "Person Identification Component";
6469
6459
  const main = "./dist/index.cjs.js";
6470
6460
  const module = "./dist/index.js";
@@ -9939,7 +9929,7 @@ const SelfieCapture = class {
9939
9929
  }
9940
9930
  async openCamera() {
9941
9931
  await this.baseComponent.logStep(FlowSteps.SelfieCapture, FlowMoments.Initialized);
9942
- const constraints = state.device.isAppleDevice ? this.cameras.GetConstraintsIOs(state.device, true) : this.cameras.GetConstraints('', state.device, true);
9932
+ const constraints = this.cameras.GetConstraints('', state.device, true);
9943
9933
  setTimeout(() => {
9944
9934
  navigator.mediaDevices
9945
9935
  .getUserMedia(constraints)
@@ -10142,7 +10132,7 @@ const UserLiveness = class {
10142
10132
  }
10143
10133
  async captureSelfieImage(event) {
10144
10134
  let selfiePhoto = event.detail;
10145
- if (selfiePhoto.length == 0 || selfiePhoto.size == 0) {
10135
+ if (selfiePhoto.size == 0) {
10146
10136
  await this.baseComponent.apiCall.AddLog({ message: 'Empty selfie', blobData: selfiePhoto }, getLogMessage());
10147
10137
  this.triggerErrorFlow();
10148
10138
  return;
@@ -10157,7 +10147,7 @@ const UserLiveness = class {
10157
10147
  }
10158
10148
  async capturedSelfieRecording(event) {
10159
10149
  let selfieRecording = event.detail;
10160
- if (selfieRecording.length == 0 || selfieRecording.size == 0) {
10150
+ if (selfieRecording.size == 0) {
10161
10151
  await this.baseComponent.apiCall.AddLog({ message: 'Empty recording', blobData: selfieRecording }, getLogMessage());
10162
10152
  this.triggerErrorFlow();
10163
10153
  return;
@@ -11,7 +11,7 @@ const patchEsm = () => {
11
11
  const defineCustomElements = (win, options) => {
12
12
  if (typeof window === 'undefined') return Promise.resolve();
13
13
  return patchEsm().then(() => {
14
- return bootstrapLazy([["loader-dots",[[1,"loader-dots"]]],["agreement-check_18",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"idSide":[32],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"]]],[0,"id-double-side",{"showTimeout":[32],"showInvalid":[32],"showHowTo":[32],"front":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"id-single-side",{"showTimeout":[32],"showHowTo":[32],"idFlow":[32]},[[0,"captureErrorDone","captureErrorDone"],[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"photoIdCapture","captureIdImage"],[0,"verificationFinished","verificationFinished"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"showHowTo":[32],"selfieFlow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"phoneNumber":[32],"code":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-back-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32]}],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"capture-error",{"type":[1],"message":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"idSide":[1,"id-side"],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
14
+ return bootstrapLazy([["loader-dots",[[1,"loader-dots"]]],["agreement-check_18",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"idSide":[32],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"]]],[0,"id-double-side",{"showTimeout":[32],"showInvalid":[32],"showHowTo":[32],"front":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"id-single-side",{"showTimeout":[32],"showHowTo":[32],"idFlow":[32]},[[0,"captureErrorDone","captureErrorDone"],[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"photoIdCapture","captureIdImage"],[0,"verificationFinished","verificationFinished"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"showHowTo":[32],"selfieFlow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"phoneNumber":[32],"code":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-back-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32]}],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"capture-error",{"type":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"idSide":[1,"id-side"],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
15
15
  });
16
16
  };
17
17
 
@@ -14,5 +14,5 @@ const patchBrowser = () => {
14
14
  };
15
15
 
16
16
  patchBrowser().then(options => {
17
- return bootstrapLazy([["loader-dots",[[1,"loader-dots"]]],["agreement-check_18",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"idSide":[32],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"]]],[0,"id-double-side",{"showTimeout":[32],"showInvalid":[32],"showHowTo":[32],"front":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"id-single-side",{"showTimeout":[32],"showHowTo":[32],"idFlow":[32]},[[0,"captureErrorDone","captureErrorDone"],[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"photoIdCapture","captureIdImage"],[0,"verificationFinished","verificationFinished"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"showHowTo":[32],"selfieFlow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"phoneNumber":[32],"code":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-back-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32]}],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"capture-error",{"type":[1],"message":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"idSide":[1,"id-side"],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
17
+ return bootstrapLazy([["loader-dots",[[1,"loader-dots"]]],["agreement-check_18",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"idSide":[32],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"]]],[0,"id-double-side",{"showTimeout":[32],"showInvalid":[32],"showHowTo":[32],"front":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"id-single-side",{"showTimeout":[32],"showHowTo":[32],"idFlow":[32]},[[0,"captureErrorDone","captureErrorDone"],[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"photoIdCapture","captureIdImage"],[0,"verificationFinished","verificationFinished"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"showHowTo":[32],"selfieFlow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"phoneNumber":[32],"code":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-back-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32]}],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"capture-error",{"type":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"idSide":[1,"id-side"],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
18
18
  });