@ekyc_qoobiss/qbs-ect-cmp 3.6.83 → 3.6.85

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.
Files changed (26) hide show
  1. package/dist/cjs/{TranslationUtils-6fdf7b55.js → TranslationUtils-48d56242.js} +2 -8
  2. package/dist/cjs/agreement-check_18.cjs.entry.js +34 -19
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/qbs-ect-cmp.cjs.js +1 -1
  5. package/dist/cjs/random-actions.cjs.entry.js +1 -1
  6. package/dist/collection/components/common/capture-error/capture-error.js +19 -2
  7. package/dist/collection/components/common/how-to-info/how-to-info.js +2 -9
  8. package/dist/collection/components/flow/process-id/process-id.js +14 -4
  9. package/dist/collection/components/flow/user-liveness/user-liveness.js +12 -4
  10. package/dist/collection/helpers/ApiCall.js +2 -8
  11. package/dist/collection/utils/utils.js +4 -0
  12. package/dist/esm/{TranslationUtils-57159270.js → TranslationUtils-ecf807c7.js} +2 -8
  13. package/dist/esm/agreement-check_18.entry.js +34 -19
  14. package/dist/esm/loader.js +1 -1
  15. package/dist/esm/qbs-ect-cmp.js +1 -1
  16. package/dist/esm/random-actions.entry.js +1 -1
  17. package/dist/qbs-ect-cmp/{p-4b40acc5.entry.js → p-60979a92.entry.js} +2 -2
  18. package/dist/qbs-ect-cmp/{p-952ea10c.entry.js → p-8339bc81.entry.js} +1 -1
  19. package/dist/qbs-ect-cmp/{p-8552ab44.js → p-8a9ec85f.js} +1 -1
  20. package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
  21. package/dist/types/components/common/capture-error/capture-error.d.ts +1 -0
  22. package/dist/types/components.d.ts +2 -0
  23. package/dist/types/helpers/ApiCall.d.ts +1 -2
  24. package/dist/types/models/CaptureFlow.d.ts +2 -0
  25. package/dist/types/utils/utils.d.ts +2 -1
  26. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-cf54a432.js';
2
- import { A as ApiCall, T as Translations, F as FlowMoments, a as FlowSteps, s as state, S as SessionKeys, b as FlowStatus, I as IdCaptureValues, O as OrderStatuses, c as SelfieCaptureValues } from './TranslationUtils-57159270.js';
2
+ import { A as ApiCall, T as Translations, F as FlowMoments, a as FlowSteps, s as state, S as SessionKeys, b as FlowStatus, I as IdCaptureValues, O as OrderStatuses, c as SelfieCaptureValues } from './TranslationUtils-ecf807c7.js';
3
3
 
4
4
  const agreementCheckCss = "";
5
5
 
@@ -1518,6 +1518,10 @@ const blobToBase64 = (blob) => {
1518
1518
  reader.readAsDataURL(blob);
1519
1519
  });
1520
1520
  };
1521
+ const base64Size = (base64Data) => {
1522
+ const kb = Math.ceil((base64Data.length * 6) / 8 / 1000);
1523
+ return kb / 1000;
1524
+ };
1521
1525
  const delay = ms => new Promise(res => setTimeout(res, ms));
1522
1526
  const getLogMessage = (param_req_id = '', param_redirect_id = '', param_token = '') => {
1523
1527
  return {
@@ -4721,7 +4725,7 @@ CameraError.style = cameraErrorCss;
4721
4725
  const captureErrorCss = "";
4722
4726
 
4723
4727
  const CaptureError = class {
4724
- constructor(hostRef) { registerInstance(this, hostRef); this.eventCaptureErrorDone = createEvent(this, "captureErrorDone", 7); this.type = undefined; this.reason = undefined; this.buttonEnabled = undefined; this.buttonText = undefined; }
4728
+ constructor(hostRef) { registerInstance(this, hostRef); this.eventCaptureErrorDone = createEvent(this, "captureErrorDone", 7); this.type = undefined; this.reason = undefined; this.error = undefined; this.buttonEnabled = undefined; this.buttonText = undefined; }
4725
4729
  async componentWillLoad() {
4726
4730
  this.translations = await Translations.getValues();
4727
4731
  this.buttonEnabled = false;
@@ -4763,7 +4767,7 @@ const CaptureError = class {
4763
4767
  }
4764
4768
  }
4765
4769
  render() {
4766
- 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), state.debug ? h("p", { class: "font-size-1" }, this.reason) : null), 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" }, this.translations.GlobalValues.FooterText))))));
4770
+ 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), state.debug ? h("p", { class: "font-size-1" }, `${this.reason} ${this.error}`) : null), 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" }, this.translations.GlobalValues.FooterText))))));
4767
4771
  }
4768
4772
  };
4769
4773
  CaptureError.style = captureErrorCss;
@@ -4881,15 +4885,8 @@ const HowToInfo = class {
4881
4885
  this.buttonText = this.translations.HowToValues.IdButton;
4882
4886
  }
4883
4887
  render() {
4884
- let titleClass = 'color-black-2';
4885
- let bgDemo = 'container';
4886
- let rowClass = 'row';
4887
- if (state.flowStatus == FlowStatus.IDBACKHOWTO) {
4888
- titleClass = 'color-white';
4889
- bgDemo = 'container bg-black';
4890
- rowClass = 'container-video';
4891
- }
4892
- return (h("div", { class: bgDemo }, h("div", { class: rowClass, hidden: this.imageLoaded == false }, h("div", { class: "div-ci align-center", hidden: this.showVideo }, h("img", { ref: el => (this.image = el) })), h("div", { hidden: this.showVideo == false }, h("video", { id: "howTo", class: "video-demo", playsinline: true, ref: el => (this.demoVideo = el) }, h("source", { type: "video/mp4" }))), h("div", { class: "text-center" }, h("h1", { class: titleClass }, this.topTitle), h("p", { class: "font-size-2", hidden: this.subTitle == '' }, this.subTitle)), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(), hidden: this.showVideo == true }, this.buttonText), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.translations.GlobalValues.FooterText))))));
4888
+ let howTo = this.showVideo == true ? (h("div", { class: "container bg-black" }, h("div", { class: "container-video" }, h("div", null, h("video", { id: "howTo", class: "video-demo", playsinline: true, ref: el => (this.demoVideo = el) }, h("source", { type: "video/mp4" }))), h("div", { class: "capture-title" }, h("h1", { class: "color-white text-center" }, this.topTitle), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.translations.GlobalValues.FooterText))))) : (h("div", { class: "container" }, h("div", { class: "row", hidden: this.imageLoaded == false }, h("div", { class: "div-ci align-center" }, h("img", { ref: el => (this.image = el) })), h("div", { class: "text-center" }, h("h1", { class: "color-black-2" }, this.topTitle), h("p", { class: "font-size-2", hidden: this.subTitle == '' }, this.subTitle)), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick() }, this.buttonText), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.translations.GlobalValues.FooterText))))));
4889
+ return howTo;
4893
4890
  }
4894
4891
  };
4895
4892
  HowToInfo.style = howToInfoCss;
@@ -5248,7 +5245,7 @@ function v4(options, buf, offset) {
5248
5245
  }
5249
5246
 
5250
5247
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5251
- const version$1 = "3.6.83";
5248
+ const version$1 = "3.6.85";
5252
5249
  const description = "Person Identification Component";
5253
5250
  const main = "./dist/index.cjs.js";
5254
5251
  const module = "./dist/index.js";
@@ -8715,6 +8712,8 @@ const ProcessId = class {
8715
8712
  recName: 'idVideo.',
8716
8713
  photoType: CaptureUploadTypes.IdFront,
8717
8714
  recType: CaptureUploadTypes.IdFrontVideo,
8715
+ imageSize: 0,
8716
+ videoSize: 0,
8718
8717
  };
8719
8718
  }
8720
8719
  else if (this.mode == 'back') {
@@ -8724,6 +8723,8 @@ const ProcessId = class {
8724
8723
  recName: 'idBackVideo.',
8725
8724
  photoType: CaptureUploadTypes.IdBack,
8726
8725
  recType: CaptureUploadTypes.IdBackVideo,
8726
+ imageSize: 0,
8727
+ videoSize: 0,
8727
8728
  };
8728
8729
  }
8729
8730
  else if (this.mode == 'tilt') {
@@ -8733,6 +8734,8 @@ const ProcessId = class {
8733
8734
  recName: 'idTiltVideo.',
8734
8735
  photoType: CaptureUploadTypes.None,
8735
8736
  recType: CaptureUploadTypes.TiltVideo,
8737
+ imageSize: 0,
8738
+ videoSize: 0,
8736
8739
  };
8737
8740
  }
8738
8741
  if (state.debug)
@@ -8765,7 +8768,9 @@ const ProcessId = class {
8765
8768
  }
8766
8769
  try {
8767
8770
  let frontCapture = new File([idPhoto], this.flow.fileName, { type: 'image/png' });
8768
- var uploadResult = await ApiCall.instance.UploadFileForRequestB64(state.requestId, this.flow.photoType, frontCapture);
8771
+ let b64Data = await blobToBase64(frontCapture);
8772
+ this.flow.imageSize = base64Size(b64Data);
8773
+ var uploadResult = await ApiCall.instance.UploadFileForRequestB64(state.requestId, this.flow.photoType, b64Data);
8769
8774
  if (state.debug)
8770
8775
  console.log('process-id | captureIdImage | uploadResult: ' + uploadResult);
8771
8776
  if (uploadResult.isValid) {
@@ -8797,7 +8802,9 @@ const ProcessId = class {
8797
8802
  }
8798
8803
  let mimeType = idRecording.type == Stream.mp4MimeType.type ? Stream.mp4MimeType : Stream.webmMimeType;
8799
8804
  let captureRec = new File([idRecording], this.flow.recName + mimeType.extension, { type: mimeType.type });
8800
- var uploadResult = await ApiCall.instance.UploadFileForRequestB64(state.requestId, this.flow.recType, captureRec);
8805
+ let b64Data = await blobToBase64(captureRec);
8806
+ this.flow.videoSize = base64Size(b64Data);
8807
+ var uploadResult = await ApiCall.instance.UploadFileForRequestB64(state.requestId, this.flow.recType, b64Data);
8801
8808
  if (state.debug)
8802
8809
  console.log('process-id | capturedIdRecording | uploadResult: ' + uploadResult);
8803
8810
  if (uploadResult.saved) {
@@ -8851,7 +8858,7 @@ const ProcessId = class {
8851
8858
  }
8852
8859
  }
8853
8860
  render() {
8854
- let error = h("capture-error", { type: "ID", reason: this.errorReason });
8861
+ let error = h("capture-error", { type: "ID", reason: this.errorReason, error: `image:${this.flow.imageSize}mb video:${this.flow.videoSize}mb` });
8855
8862
  let capture = h("id-capture", null);
8856
8863
  if (this.showInvalid || this.showTimeout) {
8857
8864
  return error;
@@ -9112,6 +9119,8 @@ const UserLiveness = class {
9112
9119
  recName: 'selfieVideo.',
9113
9120
  photoType: CaptureUploadTypes.Selfie,
9114
9121
  recType: CaptureUploadTypes.SelfieVideo,
9122
+ imageSize: 0,
9123
+ videoSize: 0,
9115
9124
  };
9116
9125
  }
9117
9126
  else if (this.mode == 'selfieGesture') {
@@ -9121,6 +9130,8 @@ const UserLiveness = class {
9121
9130
  recName: 'selfieTiltVideo.',
9122
9131
  photoType: CaptureUploadTypes.None,
9123
9132
  recType: CaptureUploadTypes.SelfieGestureVideo,
9133
+ imageSize: 0,
9134
+ videoSize: 0,
9124
9135
  };
9125
9136
  }
9126
9137
  }
@@ -9147,7 +9158,9 @@ const UserLiveness = class {
9147
9158
  }
9148
9159
  try {
9149
9160
  var uploadPhoto = new File([selfiePhoto], this.flow.fileName, { type: 'image/png' });
9150
- let photoUploaded = await ApiCall.instance.UploadFileForRequestB64(state.requestId, this.flow.photoType, uploadPhoto);
9161
+ let b64Data = await blobToBase64(uploadPhoto);
9162
+ this.flow.imageSize = base64Size(b64Data);
9163
+ let photoUploaded = await ApiCall.instance.UploadFileForRequestB64(state.requestId, this.flow.photoType, b64Data);
9151
9164
  if (photoUploaded.isValid) {
9152
9165
  state.flowStatus = FlowStatus[photoUploaded.state];
9153
9166
  }
@@ -9174,7 +9187,9 @@ const UserLiveness = class {
9174
9187
  let mimeType = selfieRecording.type == Stream.mp4MimeType.type ? Stream.mp4MimeType : Stream.webmMimeType;
9175
9188
  try {
9176
9189
  let uploadRec = new File([selfieRecording], this.flow.recName + mimeType.extension, { type: mimeType.type });
9177
- let uplodDone = await ApiCall.instance.UploadFileForRequestB64(state.requestId, this.flow.recType, uploadRec);
9190
+ let b64Data = await blobToBase64(uploadRec);
9191
+ this.flow.videoSize = base64Size(b64Data);
9192
+ let uplodDone = await ApiCall.instance.UploadFileForRequestB64(state.requestId, this.flow.recType, b64Data);
9178
9193
  if (uplodDone.saved) {
9179
9194
  state.flowStatus = FlowStatus[uplodDone.state];
9180
9195
  }
@@ -9218,7 +9233,7 @@ const UserLiveness = class {
9218
9233
  }
9219
9234
  render() {
9220
9235
  let capture = h("selfie-capture", null);
9221
- let error = h("capture-error", { type: "LIVENESS", reason: this.errorReason });
9236
+ let error = h("capture-error", { type: "LIVENESS", reason: this.errorReason, error: `image:${this.flow.imageSize}mb video:${this.flow.videoSize}mb` });
9222
9237
  if (this.showError || this.showTimeout) {
9223
9238
  return error;
9224
9239
  }
@@ -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"]]],["random-actions",[[0,"random-actions"]]],["agreement-check_18",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"lang_iso":[1537],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"mode":[1],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"user-liveness",{"mode":[1],"showError":[32],"showTimeout":[32],"flow":[32]},[[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],"buttonDisabled":[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,"how-to-info",{"showVideo":[32],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32],"demoVideo":[32],"image":[32],"imageLoaded":[32]}],[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],"code":[32],"canSend":[32]}],[0,"sms-send",{"buttonText":[32],"title":[32],"details":[32],"phoneNumber":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"state-transition"],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"reason":[1],"buttonEnabled":[32],"buttonText":[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"]]],["random-actions",[[0,"random-actions"]]],["agreement-check_18",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"lang_iso":[1537],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"mode":[1],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"user-liveness",{"mode":[1],"showError":[32],"showTimeout":[32],"flow":[32]},[[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],"buttonDisabled":[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,"how-to-info",{"showVideo":[32],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32],"demoVideo":[32],"image":[32],"imageLoaded":[32]}],[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],"code":[32],"canSend":[32]}],[0,"sms-send",{"buttonText":[32],"title":[32],"details":[32],"phoneNumber":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"state-transition"],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"reason":[1],"error":[1],"buttonEnabled":[32],"buttonText":[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"]]],["random-actions",[[0,"random-actions"]]],["agreement-check_18",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"lang_iso":[1537],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"mode":[1],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"user-liveness",{"mode":[1],"showError":[32],"showTimeout":[32],"flow":[32]},[[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],"buttonDisabled":[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,"how-to-info",{"showVideo":[32],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32],"demoVideo":[32],"image":[32],"imageLoaded":[32]}],[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],"code":[32],"canSend":[32]}],[0,"sms-send",{"buttonText":[32],"title":[32],"details":[32],"phoneNumber":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"state-transition"],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"reason":[1],"buttonEnabled":[32],"buttonText":[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"]]],["random-actions",[[0,"random-actions"]]],["agreement-check_18",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"lang_iso":[1537],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"mode":[1],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"user-liveness",{"mode":[1],"showError":[32],"showTimeout":[32],"flow":[32]},[[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],"buttonDisabled":[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,"how-to-info",{"showVideo":[32],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32],"demoVideo":[32],"image":[32],"imageLoaded":[32]}],[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],"code":[32],"canSend":[32]}],[0,"sms-send",{"buttonText":[32],"title":[32],"details":[32],"phoneNumber":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"state-transition"],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"reason":[1],"error":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
18
18
  });
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h } from './index-cf54a432.js';
2
- import { T as Translations } from './TranslationUtils-57159270.js';
2
+ import { T as Translations } from './TranslationUtils-ecf807c7.js';
3
3
 
4
4
  const randomActionsCss = "";
5
5