@ekyc_qoobiss/qbs-ect-cmp 3.6.22 → 3.6.23

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 (27) hide show
  1. package/dist/cjs/agreement-check_19.cjs.entry.js +12 -72
  2. package/dist/cjs/{index-5a2f79d6.js → index-41696e0e.js} +2 -2
  3. package/dist/cjs/loader-dots.cjs.entry.js +1 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/qbs-ect-cmp.cjs.js +2 -2
  6. package/dist/cjs/random-actions.cjs.entry.js +2 -2
  7. package/dist/cjs/{store-22495cb2.js → store-4bf93725.js} +1 -1
  8. package/dist/collection/components/common/agreement-check/agreement-check.js +0 -17
  9. package/dist/collection/components/flow/process-id/process-id.js +5 -2
  10. package/dist/collection/components/identification-component/identification-component.js +12 -67
  11. package/dist/collection/libs/FaceML5Detector/FaceML5Detector.js +1 -1
  12. package/dist/esm/agreement-check_19.entry.js +12 -72
  13. package/dist/esm/{index-4200f19f.js → index-cf54a432.js} +2 -2
  14. package/dist/esm/loader-dots.entry.js +1 -1
  15. package/dist/esm/loader.js +3 -3
  16. package/dist/esm/qbs-ect-cmp.js +3 -3
  17. package/dist/esm/random-actions.entry.js +2 -2
  18. package/dist/esm/{store-bb904914.js → store-b76678da.js} +1 -1
  19. package/dist/qbs-ect-cmp/{p-e0d47cd7.entry.js → p-054dc5b3.entry.js} +1 -1
  20. package/dist/qbs-ect-cmp/{p-e9a32f21.entry.js → p-0a37620f.entry.js} +1 -1
  21. package/dist/qbs-ect-cmp/{p-074f8d20.js → p-27abb3e6.js} +1 -1
  22. package/dist/qbs-ect-cmp/{p-747d8834.js → p-8942656c.js} +1 -1
  23. package/dist/qbs-ect-cmp/{p-5d1f8d2b.entry.js → p-e056ef2b.entry.js} +2 -2
  24. package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
  25. package/dist/types/components/common/agreement-check/agreement-check.d.ts +0 -1
  26. package/dist/types/components/identification-component/identification-component.d.ts +1 -5
  27. package/package.json +1 -1
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-5a2f79d6.js');
6
- const store = require('./store-22495cb2.js');
5
+ const index = require('./index-41696e0e.js');
6
+ const store = require('./store-4bf93725.js');
7
7
 
8
8
  var OrderStatuses;
9
9
  (function (OrderStatuses) {
@@ -290,14 +290,6 @@ const AgreementCheck = class {
290
290
  this.buttonEnabled = false;
291
291
  this.agreementAcceptance.emit({ agreementType: this.agreementType, result });
292
292
  }
293
- handleScroll(ev) {
294
- if (ev.target.offsetHeight + ev.target.scrollTop >= ev.target.scrollHeight) {
295
- this.scrollClass = 'scroll-full';
296
- }
297
- else {
298
- this.scrollClass = 'scroll';
299
- }
300
- }
301
293
  render() {
302
294
  let content = (index.h("div", { class: "container" }, index.h("div", { class: "row" }, index.h("div", { class: this.scrollClass, innerHTML: this.htmlContent }), index.h("div", { class: "pos-relative show-bottom" }, index.h("div", { class: "btn-buletin" }, index.h("div", { class: "d-flex two-buttons" }, index.h("button", { class: "normal-button red-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(false) }, store.AgreementCheckValues.ButtonNo), index.h("button", { class: "normal-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(true) }, store.AgreementCheckValues.ButtonYes)), index.h("p", { class: "main-text font-size-18 text-right mb-0" }, store.AgreementInfoValues.FooterText))))));
303
295
  return this.htmlContent ? content : index.h("div", null);
@@ -2169,7 +2161,7 @@ class FaceML5Detector {
2169
2161
  if (this.validFaceFound || this.validFacePose) {
2170
2162
  if (this.start == null)
2171
2163
  this.start = Date.now();
2172
- if (Date.now() > this.start + 2000) {
2164
+ if (Date.now() > this.start + 500) {
2173
2165
  this.continue = false;
2174
2166
  this.stream.verificationReady();
2175
2167
  }
@@ -5835,7 +5827,7 @@ function v4(options, buf, offset) {
5835
5827
  }
5836
5828
 
5837
5829
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5838
- const version$1 = "3.6.22";
5830
+ const version$1 = "3.6.23";
5839
5831
  const description = "Person Identification Component";
5840
5832
  const main = "./dist/index.cjs.js";
5841
5833
  const module$1 = "./dist/index.js";
@@ -5917,58 +5909,6 @@ const IdentificationComponent = class {
5917
5909
  }
5918
5910
  if (store.state.token !== newValue) {
5919
5911
  store.state.token = newValue;
5920
- await this.initializeRequest();
5921
- }
5922
- }
5923
- async onOrderIdChange(newValue, _oldValue) {
5924
- if (store.state.debug)
5925
- console.log('OrderId change called with value: ' + newValue);
5926
- if (store.state.requestId !== newValue && newValue != '') {
5927
- store.state.requestId = newValue;
5928
- store.state.initialised = false;
5929
- await this.initializeRequest();
5930
- if (store.state.flowStatus != store.FlowStatus.LANDING && store.state.flowStatus != store.FlowStatus.NONE) {
5931
- store.state.flowStatus = store.FlowStatus.LANDING;
5932
- }
5933
- }
5934
- }
5935
- onApiUrlChange(newValue, _oldValue) {
5936
- if (store.state.apiBaseUrl != '') {
5937
- newValue = store.state.apiBaseUrl;
5938
- return;
5939
- }
5940
- if (store.state.apiBaseUrl !== newValue) {
5941
- store.state.apiBaseUrl = newValue;
5942
- }
5943
- }
5944
- onEnvChange(newValue, _oldValue) {
5945
- if (store.state.environment != '') {
5946
- newValue = store.state.environment;
5947
- return;
5948
- }
5949
- if (store.state.environment !== newValue) {
5950
- store.state.environment = newValue;
5951
- }
5952
- }
5953
- async onRedirectIdChange(newValue, _oldValue) {
5954
- if (store.state.debug)
5955
- console.log('RedirectId change called with value: ' + newValue);
5956
- if (store.state.redirectId != '') {
5957
- newValue = store.state.redirectId;
5958
- return;
5959
- }
5960
- if (store.state.redirectId !== newValue) {
5961
- store.state.redirectId = newValue;
5962
- }
5963
- await this.initializeRequest();
5964
- }
5965
- async onPhoneChange(newValue, _oldValue) {
5966
- if (store.state.phoneNumber != '') {
5967
- newValue = store.state.phoneNumber;
5968
- return;
5969
- }
5970
- if (store.state.phoneNumber !== newValue) {
5971
- store.state.phoneNumber = newValue;
5972
5912
  }
5973
5913
  }
5974
5914
  agreementAcceptanceEmitted(data) {
@@ -6003,6 +5943,8 @@ const IdentificationComponent = class {
6003
5943
  Events.flowError(this.errorTitle);
6004
5944
  store.state.flowStatus = store.FlowStatus.ERROREND;
6005
5945
  }
5946
+ handleScroll(ev) {
5947
+ }
6006
5948
  constructor(hostRef) {
6007
5949
  index.registerInstance(this, hostRef);
6008
5950
  this.logInit = {};
@@ -6175,12 +6117,7 @@ const IdentificationComponent = class {
6175
6117
  return index.h("div", null, currentBlock);
6176
6118
  }
6177
6119
  static get watchers() { return {
6178
- "token": ["onTokenChange"],
6179
- "order_id": ["onOrderIdChange"],
6180
- "api_url": ["onApiUrlChange"],
6181
- "env": ["onEnvChange"],
6182
- "redirect_id": ["onRedirectIdChange"],
6183
- "phone_number": ["onPhoneChange"]
6120
+ "token": ["onTokenChange"]
6184
6121
  }; }
6185
6122
  };
6186
6123
  IdentificationComponent.style = identificationComponentCss;
@@ -9384,14 +9321,17 @@ const ProcessId = class {
9384
9321
  let frontRec = new File([idRecording], this.flow.front.recName + mimeType.extension, { type: mimeType.type });
9385
9322
  this.flow.front.recordingDone = await this.uploadRecording(this.flow.front.recType, frontRec);
9386
9323
  }
9387
- if (this.captureStep == IdCaptureFlowStatus.IdBack) {
9324
+ else if (this.captureStep == IdCaptureFlowStatus.IdBack) {
9388
9325
  let backRec = new File([idRecording], this.flow.back.recName + mimeType.extension, { type: mimeType.type });
9389
9326
  this.flow.back.recordingDone = await this.uploadRecording(this.flow.back.recType, backRec);
9390
9327
  }
9391
- if (this.captureStep == IdCaptureFlowStatus.Tilt) {
9328
+ else if (this.captureStep == IdCaptureFlowStatus.Tilt) {
9392
9329
  let tiltRec = new File([idRecording], this.flow.tilt.recName + mimeType.extension, { type: mimeType.type });
9393
9330
  this.flow.tilt.recordingDone = await this.uploadRecording(this.flow.tilt.recType, tiltRec);
9394
9331
  }
9332
+ else {
9333
+ this.triggerErrorFlow(true);
9334
+ }
9395
9335
  await this.endFlow();
9396
9336
  this.recordingResultCount = 0;
9397
9337
  }
@@ -1442,8 +1442,8 @@ const hostListenerProxy = (hostRef, methodName) => (ev) => {
1442
1442
  }
1443
1443
  };
1444
1444
  const getHostListenerTarget = (elm, flags) => {
1445
- if (flags & 16 /* LISTENER_FLAGS.TargetBody */)
1446
- return doc.body;
1445
+ if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
1446
+ return win;
1447
1447
  return elm;
1448
1448
  };
1449
1449
  // prettier-ignore
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-5a2f79d6.js');
5
+ const index = require('./index-41696e0e.js');
6
6
 
7
7
  const loaderDotsCss = "i,i::before,i::after{animation-duration:0.5s;animation-timing-function:ease-in-out;animation-iteration-count:infinite}body{font-family:sans-serif}i{width:300px;height:75px;margin:auto;display:block;background:no-repeat;background-image:radial-gradient(closest-side, #1FEAA6 90%, rgba(0, 0, 0, 0)), radial-gradient(closest-side, #1FEAA6 90%, rgba(0, 0, 0, 0));background-size:75px 75px;background-position:0%, 50%;position:relative;transform:translateZ(0) scale(0.25);animation-name:slide}i::before,i::after{content:'';width:75px;height:75px;background:radial-gradient(closest-side, #1FEAA6 90%, rgba(0, 0, 0, 0));position:absolute;top:50%;margin-top:-37.5px;animation-name:reveal}i::before{left:1%;animation-delay:40ms}i::after{right:1%;animation-direction:reverse}@keyframes slide{from{background-position:0%, 50%}to{background-position:50%, 100%}}@keyframes reveal{from{transform:scale(0.001)}to{transform:scale(1)}}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-5a2f79d6.js');
5
+ const index = require('./index-41696e0e.js');
6
6
 
7
7
  /*
8
8
  Stencil Client Patch Esm v2.22.3 | MIT Licensed | https://stenciljs.com
@@ -14,7 +14,7 @@ const patchEsm = () => {
14
14
  const defineCustomElements = (win, options) => {
15
15
  if (typeof window === 'undefined') return Promise.resolve();
16
16
  return patchEsm().then(() => {
17
- return index.bootstrapLazy([["loader-dots.cjs",[[1,"loader-dots"]]],["random-actions.cjs",[[0,"random-actions"]]],["agreement-check_19.cjs",[[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,"process-id",{"captureStep":[32],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"captureStep":[32],"flow":[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,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[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,"id-tilt",{"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],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-tilt",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[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]},[[17,"scroll","handleScroll"]]],[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);
17
+ return index.bootstrapLazy([["loader-dots.cjs",[[1,"loader-dots"]]],["random-actions.cjs",[[0,"random-actions"]]],["agreement-check_19.cjs",[[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"],[9,"scroll","handleScroll"]]],[0,"process-id",{"captureStep":[32],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"captureStep":[32],"flow":[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,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[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,"id-tilt",{"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],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-tilt",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[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],"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
  });
19
19
  };
20
20
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-5a2f79d6.js');
5
+ const index = require('./index-41696e0e.js');
6
6
 
7
7
  /*
8
8
  Stencil Client Patch Browser v2.22.3 | MIT Licensed | https://stenciljs.com
@@ -17,7 +17,7 @@ const patchBrowser = () => {
17
17
  };
18
18
 
19
19
  patchBrowser().then(options => {
20
- return index.bootstrapLazy([["loader-dots.cjs",[[1,"loader-dots"]]],["random-actions.cjs",[[0,"random-actions"]]],["agreement-check_19.cjs",[[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,"process-id",{"captureStep":[32],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"captureStep":[32],"flow":[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,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[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,"id-tilt",{"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],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-tilt",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[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]},[[17,"scroll","handleScroll"]]],[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);
20
+ return index.bootstrapLazy([["loader-dots.cjs",[[1,"loader-dots"]]],["random-actions.cjs",[[0,"random-actions"]]],["agreement-check_19.cjs",[[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"],[9,"scroll","handleScroll"]]],[0,"process-id",{"captureStep":[32],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"captureStep":[32],"flow":[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,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[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,"id-tilt",{"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],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-tilt",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[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],"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);
21
21
  });
22
22
 
23
23
  exports.setNonce = index.setNonce;
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-5a2f79d6.js');
6
- const store = require('./store-22495cb2.js');
5
+ const index = require('./index-41696e0e.js');
6
+ const store = require('./store-4bf93725.js');
7
7
 
8
8
  const randomActionsCss = "";
9
9
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-5a2f79d6.js');
3
+ const index = require('./index-41696e0e.js');
4
4
 
5
5
  const appendToMap = (map, propName, value) => {
6
6
  const items = map.get(propName);
@@ -22,14 +22,6 @@ export class AgreementCheck {
22
22
  this.buttonEnabled = false;
23
23
  this.agreementAcceptance.emit({ agreementType: this.agreementType, result });
24
24
  }
25
- handleScroll(ev) {
26
- if (ev.target.offsetHeight + ev.target.scrollTop >= ev.target.scrollHeight) {
27
- this.scrollClass = 'scroll-full';
28
- }
29
- else {
30
- this.scrollClass = 'scroll';
31
- }
32
- }
33
25
  render() {
34
26
  let content = (h("div", { class: "container" }, h("div", { class: "row" }, h("div", { class: this.scrollClass, innerHTML: this.htmlContent }), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("div", { class: "d-flex two-buttons" }, h("button", { class: "normal-button red-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(false) }, AgreementCheckValues.ButtonNo), h("button", { class: "normal-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(true) }, AgreementCheckValues.ButtonYes)), h("p", { class: "main-text font-size-18 text-right mb-0" }, AgreementInfoValues.FooterText))))));
35
27
  return this.htmlContent ? content : h("div", null);
@@ -106,13 +98,4 @@ export class AgreementCheck {
106
98
  }
107
99
  }];
108
100
  }
109
- static get listeners() {
110
- return [{
111
- "name": "scroll",
112
- "method": "handleScroll",
113
- "target": "body",
114
- "capture": false,
115
- "passive": true
116
- }];
117
- }
118
101
  }
@@ -120,14 +120,17 @@ export class ProcessId {
120
120
  let frontRec = new File([idRecording], this.flow.front.recName + mimeType.extension, { type: mimeType.type });
121
121
  this.flow.front.recordingDone = await this.uploadRecording(this.flow.front.recType, frontRec);
122
122
  }
123
- if (this.captureStep == IdCaptureFlowStatus.IdBack) {
123
+ else if (this.captureStep == IdCaptureFlowStatus.IdBack) {
124
124
  let backRec = new File([idRecording], this.flow.back.recName + mimeType.extension, { type: mimeType.type });
125
125
  this.flow.back.recordingDone = await this.uploadRecording(this.flow.back.recType, backRec);
126
126
  }
127
- if (this.captureStep == IdCaptureFlowStatus.Tilt) {
127
+ else if (this.captureStep == IdCaptureFlowStatus.Tilt) {
128
128
  let tiltRec = new File([idRecording], this.flow.tilt.recName + mimeType.extension, { type: mimeType.type });
129
129
  this.flow.tilt.recordingDone = await this.uploadRecording(this.flow.tilt.recType, tiltRec);
130
130
  }
131
+ else {
132
+ this.triggerErrorFlow(true);
133
+ }
131
134
  await this.endFlow();
132
135
  this.recordingResultCount = 0;
133
136
  }
@@ -22,58 +22,6 @@ export class IdentificationComponent {
22
22
  }
23
23
  if (store.token !== newValue) {
24
24
  store.token = newValue;
25
- await this.initializeRequest();
26
- }
27
- }
28
- async onOrderIdChange(newValue, _oldValue) {
29
- if (store.debug)
30
- console.log('OrderId change called with value: ' + newValue);
31
- if (store.requestId !== newValue && newValue != '') {
32
- store.requestId = newValue;
33
- store.initialised = false;
34
- await this.initializeRequest();
35
- if (store.flowStatus != FlowStatus.LANDING && store.flowStatus != FlowStatus.NONE) {
36
- store.flowStatus = FlowStatus.LANDING;
37
- }
38
- }
39
- }
40
- onApiUrlChange(newValue, _oldValue) {
41
- if (store.apiBaseUrl != '') {
42
- newValue = store.apiBaseUrl;
43
- return;
44
- }
45
- if (store.apiBaseUrl !== newValue) {
46
- store.apiBaseUrl = newValue;
47
- }
48
- }
49
- onEnvChange(newValue, _oldValue) {
50
- if (store.environment != '') {
51
- newValue = store.environment;
52
- return;
53
- }
54
- if (store.environment !== newValue) {
55
- store.environment = newValue;
56
- }
57
- }
58
- async onRedirectIdChange(newValue, _oldValue) {
59
- if (store.debug)
60
- console.log('RedirectId change called with value: ' + newValue);
61
- if (store.redirectId != '') {
62
- newValue = store.redirectId;
63
- return;
64
- }
65
- if (store.redirectId !== newValue) {
66
- store.redirectId = newValue;
67
- }
68
- await this.initializeRequest();
69
- }
70
- async onPhoneChange(newValue, _oldValue) {
71
- if (store.phoneNumber != '') {
72
- newValue = store.phoneNumber;
73
- return;
74
- }
75
- if (store.phoneNumber !== newValue) {
76
- store.phoneNumber = newValue;
77
25
  }
78
26
  }
79
27
  agreementAcceptanceEmitted(data) {
@@ -108,6 +56,12 @@ export class IdentificationComponent {
108
56
  Events.flowError(this.errorTitle);
109
57
  store.flowStatus = FlowStatus.ERROREND;
110
58
  }
59
+ handleScroll(ev) {
60
+ if (ev.target.offsetHeight + ev.target.scrollTop >= ev.target.scrollHeight) {
61
+ }
62
+ else {
63
+ }
64
+ }
111
65
  constructor() {
112
66
  this.logInit = {};
113
67
  this.flowStatusToSet = FlowStatus.NONE;
@@ -407,21 +361,6 @@ export class IdentificationComponent {
407
361
  return [{
408
362
  "propName": "token",
409
363
  "methodName": "onTokenChange"
410
- }, {
411
- "propName": "order_id",
412
- "methodName": "onOrderIdChange"
413
- }, {
414
- "propName": "api_url",
415
- "methodName": "onApiUrlChange"
416
- }, {
417
- "propName": "env",
418
- "methodName": "onEnvChange"
419
- }, {
420
- "propName": "redirect_id",
421
- "methodName": "onRedirectIdChange"
422
- }, {
423
- "propName": "phone_number",
424
- "methodName": "onPhoneChange"
425
364
  }];
426
365
  }
427
366
  static get listeners() {
@@ -437,6 +376,12 @@ export class IdentificationComponent {
437
376
  "target": undefined,
438
377
  "capture": false,
439
378
  "passive": false
379
+ }, {
380
+ "name": "scroll",
381
+ "method": "handleScroll",
382
+ "target": "window",
383
+ "capture": false,
384
+ "passive": true
440
385
  }];
441
386
  }
442
387
  }
@@ -57,7 +57,7 @@ export class FaceML5Detector {
57
57
  if (this.validFaceFound || this.validFacePose) {
58
58
  if (this.start == null)
59
59
  this.start = Date.now();
60
- if (Date.now() > this.start + 2000) {
60
+ if (Date.now() > this.start + 500) {
61
61
  this.continue = false;
62
62
  this.stream.verificationReady();
63
63
  }
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-4200f19f.js';
2
- import { A as ApiUrls, s as state, F as FlowStatus, a as AgreementCheckValues, b as AgreementInfoValues, S as SessionKeys, G as GlobalValues, C as CameraErrorValues, I as IdCaptureValues, c as SelfieCaptureValues, d as CompleteValues, H as HowToValues, L as LandingValues, M as MobileRedirectValues, P as PhoneValidationValues, e as CodeValidationValues } from './store-bb904914.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-cf54a432.js';
2
+ import { A as ApiUrls, s as state, F as FlowStatus, a as AgreementCheckValues, b as AgreementInfoValues, S as SessionKeys, G as GlobalValues, C as CameraErrorValues, I as IdCaptureValues, c as SelfieCaptureValues, d as CompleteValues, H as HowToValues, L as LandingValues, M as MobileRedirectValues, P as PhoneValidationValues, e as CodeValidationValues } from './store-b76678da.js';
3
3
 
4
4
  var OrderStatuses;
5
5
  (function (OrderStatuses) {
@@ -286,14 +286,6 @@ const AgreementCheck = class {
286
286
  this.buttonEnabled = false;
287
287
  this.agreementAcceptance.emit({ agreementType: this.agreementType, result });
288
288
  }
289
- handleScroll(ev) {
290
- if (ev.target.offsetHeight + ev.target.scrollTop >= ev.target.scrollHeight) {
291
- this.scrollClass = 'scroll-full';
292
- }
293
- else {
294
- this.scrollClass = 'scroll';
295
- }
296
- }
297
289
  render() {
298
290
  let content = (h("div", { class: "container" }, h("div", { class: "row" }, h("div", { class: this.scrollClass, innerHTML: this.htmlContent }), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("div", { class: "d-flex two-buttons" }, h("button", { class: "normal-button red-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(false) }, AgreementCheckValues.ButtonNo), h("button", { class: "normal-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(true) }, AgreementCheckValues.ButtonYes)), h("p", { class: "main-text font-size-18 text-right mb-0" }, AgreementInfoValues.FooterText))))));
299
291
  return this.htmlContent ? content : h("div", null);
@@ -2165,7 +2157,7 @@ class FaceML5Detector {
2165
2157
  if (this.validFaceFound || this.validFacePose) {
2166
2158
  if (this.start == null)
2167
2159
  this.start = Date.now();
2168
- if (Date.now() > this.start + 2000) {
2160
+ if (Date.now() > this.start + 500) {
2169
2161
  this.continue = false;
2170
2162
  this.stream.verificationReady();
2171
2163
  }
@@ -5831,7 +5823,7 @@ function v4(options, buf, offset) {
5831
5823
  }
5832
5824
 
5833
5825
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5834
- const version$1 = "3.6.22";
5826
+ const version$1 = "3.6.23";
5835
5827
  const description = "Person Identification Component";
5836
5828
  const main = "./dist/index.cjs.js";
5837
5829
  const module = "./dist/index.js";
@@ -5913,58 +5905,6 @@ const IdentificationComponent = class {
5913
5905
  }
5914
5906
  if (state.token !== newValue) {
5915
5907
  state.token = newValue;
5916
- await this.initializeRequest();
5917
- }
5918
- }
5919
- async onOrderIdChange(newValue, _oldValue) {
5920
- if (state.debug)
5921
- console.log('OrderId change called with value: ' + newValue);
5922
- if (state.requestId !== newValue && newValue != '') {
5923
- state.requestId = newValue;
5924
- state.initialised = false;
5925
- await this.initializeRequest();
5926
- if (state.flowStatus != FlowStatus.LANDING && state.flowStatus != FlowStatus.NONE) {
5927
- state.flowStatus = FlowStatus.LANDING;
5928
- }
5929
- }
5930
- }
5931
- onApiUrlChange(newValue, _oldValue) {
5932
- if (state.apiBaseUrl != '') {
5933
- newValue = state.apiBaseUrl;
5934
- return;
5935
- }
5936
- if (state.apiBaseUrl !== newValue) {
5937
- state.apiBaseUrl = newValue;
5938
- }
5939
- }
5940
- onEnvChange(newValue, _oldValue) {
5941
- if (state.environment != '') {
5942
- newValue = state.environment;
5943
- return;
5944
- }
5945
- if (state.environment !== newValue) {
5946
- state.environment = newValue;
5947
- }
5948
- }
5949
- async onRedirectIdChange(newValue, _oldValue) {
5950
- if (state.debug)
5951
- console.log('RedirectId change called with value: ' + newValue);
5952
- if (state.redirectId != '') {
5953
- newValue = state.redirectId;
5954
- return;
5955
- }
5956
- if (state.redirectId !== newValue) {
5957
- state.redirectId = newValue;
5958
- }
5959
- await this.initializeRequest();
5960
- }
5961
- async onPhoneChange(newValue, _oldValue) {
5962
- if (state.phoneNumber != '') {
5963
- newValue = state.phoneNumber;
5964
- return;
5965
- }
5966
- if (state.phoneNumber !== newValue) {
5967
- state.phoneNumber = newValue;
5968
5908
  }
5969
5909
  }
5970
5910
  agreementAcceptanceEmitted(data) {
@@ -5999,6 +5939,8 @@ const IdentificationComponent = class {
5999
5939
  Events.flowError(this.errorTitle);
6000
5940
  state.flowStatus = FlowStatus.ERROREND;
6001
5941
  }
5942
+ handleScroll(ev) {
5943
+ }
6002
5944
  constructor(hostRef) {
6003
5945
  registerInstance(this, hostRef);
6004
5946
  this.logInit = {};
@@ -6171,12 +6113,7 @@ const IdentificationComponent = class {
6171
6113
  return h("div", null, currentBlock);
6172
6114
  }
6173
6115
  static get watchers() { return {
6174
- "token": ["onTokenChange"],
6175
- "order_id": ["onOrderIdChange"],
6176
- "api_url": ["onApiUrlChange"],
6177
- "env": ["onEnvChange"],
6178
- "redirect_id": ["onRedirectIdChange"],
6179
- "phone_number": ["onPhoneChange"]
6116
+ "token": ["onTokenChange"]
6180
6117
  }; }
6181
6118
  };
6182
6119
  IdentificationComponent.style = identificationComponentCss;
@@ -9380,14 +9317,17 @@ const ProcessId = class {
9380
9317
  let frontRec = new File([idRecording], this.flow.front.recName + mimeType.extension, { type: mimeType.type });
9381
9318
  this.flow.front.recordingDone = await this.uploadRecording(this.flow.front.recType, frontRec);
9382
9319
  }
9383
- if (this.captureStep == IdCaptureFlowStatus.IdBack) {
9320
+ else if (this.captureStep == IdCaptureFlowStatus.IdBack) {
9384
9321
  let backRec = new File([idRecording], this.flow.back.recName + mimeType.extension, { type: mimeType.type });
9385
9322
  this.flow.back.recordingDone = await this.uploadRecording(this.flow.back.recType, backRec);
9386
9323
  }
9387
- if (this.captureStep == IdCaptureFlowStatus.Tilt) {
9324
+ else if (this.captureStep == IdCaptureFlowStatus.Tilt) {
9388
9325
  let tiltRec = new File([idRecording], this.flow.tilt.recName + mimeType.extension, { type: mimeType.type });
9389
9326
  this.flow.tilt.recordingDone = await this.uploadRecording(this.flow.tilt.recType, tiltRec);
9390
9327
  }
9328
+ else {
9329
+ this.triggerErrorFlow(true);
9330
+ }
9391
9331
  await this.endFlow();
9392
9332
  this.recordingResultCount = 0;
9393
9333
  }
@@ -1420,8 +1420,8 @@ const hostListenerProxy = (hostRef, methodName) => (ev) => {
1420
1420
  }
1421
1421
  };
1422
1422
  const getHostListenerTarget = (elm, flags) => {
1423
- if (flags & 16 /* LISTENER_FLAGS.TargetBody */)
1424
- return doc.body;
1423
+ if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
1424
+ return win;
1425
1425
  return elm;
1426
1426
  };
1427
1427
  // prettier-ignore
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-4200f19f.js';
1
+ import { r as registerInstance, h } from './index-cf54a432.js';
2
2
 
3
3
  const loaderDotsCss = "i,i::before,i::after{animation-duration:0.5s;animation-timing-function:ease-in-out;animation-iteration-count:infinite}body{font-family:sans-serif}i{width:300px;height:75px;margin:auto;display:block;background:no-repeat;background-image:radial-gradient(closest-side, #1FEAA6 90%, rgba(0, 0, 0, 0)), radial-gradient(closest-side, #1FEAA6 90%, rgba(0, 0, 0, 0));background-size:75px 75px;background-position:0%, 50%;position:relative;transform:translateZ(0) scale(0.25);animation-name:slide}i::before,i::after{content:'';width:75px;height:75px;background:radial-gradient(closest-side, #1FEAA6 90%, rgba(0, 0, 0, 0));position:absolute;top:50%;margin-top:-37.5px;animation-name:reveal}i::before{left:1%;animation-delay:40ms}i::after{right:1%;animation-direction:reverse}@keyframes slide{from{background-position:0%, 50%}to{background-position:50%, 100%}}@keyframes reveal{from{transform:scale(0.001)}to{transform:scale(1)}}";
4
4
 
@@ -1,5 +1,5 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-4200f19f.js';
2
- export { s as setNonce } from './index-4200f19f.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-cf54a432.js';
2
+ export { s as setNonce } from './index-cf54a432.js';
3
3
 
4
4
  /*
5
5
  Stencil Client Patch Esm v2.22.3 | MIT Licensed | https://stenciljs.com
@@ -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_19",[[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,"process-id",{"captureStep":[32],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"captureStep":[32],"flow":[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,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[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,"id-tilt",{"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],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-tilt",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[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]},[[17,"scroll","handleScroll"]]],[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);
14
+ return bootstrapLazy([["loader-dots",[[1,"loader-dots"]]],["random-actions",[[0,"random-actions"]]],["agreement-check_19",[[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"],[9,"scroll","handleScroll"]]],[0,"process-id",{"captureStep":[32],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"captureStep":[32],"flow":[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,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[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,"id-tilt",{"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],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-tilt",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[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],"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