idmission-web-sdk 2.3.198 → 2.3.199

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 (53) hide show
  1. package/dist/components/CompositeWizard.d.ts +2 -0
  2. package/dist/components/CompositeWizard.d.ts.map +1 -1
  3. package/dist/components/customer_flows/CustomerBiometricsEnrollment.d.ts +4 -0
  4. package/dist/components/customer_flows/CustomerBiometricsEnrollment.d.ts.map +1 -1
  5. package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts +4 -0
  6. package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts.map +1 -1
  7. package/dist/components/customer_flows/CustomerIdentification.d.ts +4 -0
  8. package/dist/components/customer_flows/CustomerIdentification.d.ts.map +1 -1
  9. package/dist/components/customer_flows/CustomerVerification.d.ts +4 -0
  10. package/dist/components/customer_flows/CustomerVerification.d.ts.map +1 -1
  11. package/dist/components/customer_flows/DocumentCapture.d.ts +4 -0
  12. package/dist/components/customer_flows/DocumentCapture.d.ts.map +1 -1
  13. package/dist/components/customer_flows/FaceValidation.d.ts +4 -0
  14. package/dist/components/customer_flows/FaceValidation.d.ts.map +1 -1
  15. package/dist/components/customer_flows/IdAndFaceValidation.d.ts +4 -0
  16. package/dist/components/customer_flows/IdAndFaceValidation.d.ts.map +1 -1
  17. package/dist/components/customer_flows/IdValidation.d.ts +4 -0
  18. package/dist/components/customer_flows/IdValidation.d.ts.map +1 -1
  19. package/dist/components/customer_flows/SignatureKYC.d.ts +4 -0
  20. package/dist/components/customer_flows/SignatureKYC.d.ts.map +1 -1
  21. package/dist/components/customer_flows/VideoIdValidation.d.ts +4 -0
  22. package/dist/components/customer_flows/VideoIdValidation.d.ts.map +1 -1
  23. package/dist/components/face_liveness/FaceLivenessWizard.d.ts +3 -1
  24. package/dist/components/face_liveness/FaceLivenessWizard.d.ts.map +1 -1
  25. package/dist/components/id_capture/IdCaptureWizard.d.ts +3 -1
  26. package/dist/components/id_capture/IdCaptureWizard.d.ts.map +1 -1
  27. package/dist/components/video_id/IdVideoCaptureWizard.d.ts +3 -1
  28. package/dist/components/video_id/IdVideoCaptureWizard.d.ts.map +1 -1
  29. package/dist/components/video_signature_capture/VideoSignatureWizard.d.ts +2 -0
  30. package/dist/components/video_signature_capture/VideoSignatureWizard.d.ts.map +1 -1
  31. package/dist/lib/camera/cameraStore.d.ts +8 -1
  32. package/dist/lib/camera/cameraStore.d.ts.map +1 -1
  33. package/dist/lib/locales/de.d.ts +1 -1
  34. package/dist/lib/locales/es.d.ts +1 -1
  35. package/dist/lib/locales/fr.d.ts +1 -1
  36. package/dist/lib/locales/index.d.ts +8 -8
  37. package/dist/lib/locales/it.d.ts +1 -1
  38. package/dist/lib/locales/ja.d.ts +1 -1
  39. package/dist/lib/locales/pt.d.ts +1 -1
  40. package/dist/lib/locales/ru.d.ts +1 -1
  41. package/dist/lib/locales/zh.d.ts +1 -1
  42. package/dist/sdk2.cjs.development.js +351 -254
  43. package/dist/sdk2.cjs.development.js.map +1 -1
  44. package/dist/sdk2.cjs.production.js +1 -1
  45. package/dist/sdk2.cjs.production.js.map +1 -1
  46. package/dist/sdk2.esm.js +351 -254
  47. package/dist/sdk2.esm.js.map +1 -1
  48. package/dist/sdk2.umd.development.js +351 -254
  49. package/dist/sdk2.umd.development.js.map +1 -1
  50. package/dist/sdk2.umd.production.js +1 -1
  51. package/dist/sdk2.umd.production.js.map +1 -1
  52. package/dist/version.d.ts +1 -1
  53. package/package.json +1 -1
@@ -235,7 +235,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
235
235
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
236
236
  };
237
237
 
238
- var webSdkVersion = '2.3.198';
238
+ var webSdkVersion = '2.3.199';
239
239
 
240
240
  function getPlatform() {
241
241
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -532,9 +532,9 @@ var templateObject_1$T, templateObject_2$O;
532
532
 
533
533
  var wavesAnimation = styled.keyframes(templateObject_1$S || (templateObject_1$S = __makeTemplateObject(["\n 0% {\n opacity: 0;\n transform: scale3d(1, 1, 1);\n }\n 80% {\n opacity: 1;\n }\n 100% {\n transform: scale3d(2, 2, 1);\n opacity: 0;\n }\n"], ["\n 0% {\n opacity: 0;\n transform: scale3d(1, 1, 1);\n }\n 80% {\n opacity: 1;\n }\n 100% {\n transform: scale3d(2, 2, 1);\n opacity: 0;\n }\n"])));
534
534
  var progressBarAnimation = styled.keyframes(templateObject_2$N || (templateObject_2$N = __makeTemplateObject(["\n 0% {\n width: 0;\n }\n 100% {\n width: 100%;\n }\n"], ["\n 0% {\n width: 0;\n }\n 100% {\n width: 100%;\n }\n"])));
535
- var dualRingSpinnerAnimation = styled.keyframes(templateObject_3$z || (templateObject_3$z = __makeTemplateObject(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"], ["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"])));
535
+ var dualRingSpinnerAnimation = styled.keyframes(templateObject_3$A || (templateObject_3$A = __makeTemplateObject(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"], ["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"])));
536
536
  styled.keyframes(templateObject_4$t || (templateObject_4$t = __makeTemplateObject(["\n to {\n stroke-dashoffset: 0;\n }\n"], ["\n to {\n stroke-dashoffset: 0;\n }\n"])));
537
- var templateObject_1$S, templateObject_2$N, templateObject_3$z, templateObject_4$t;
537
+ var templateObject_1$S, templateObject_2$N, templateObject_3$A, templateObject_4$t;
538
538
 
539
539
  var OverlayContainer = styled__default.default.div(templateObject_1$R || (templateObject_1$R = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n\n display: flex;\n flex-direction: column;\n\n overflow-x: hidden;\n overflow-y: auto;\n\n background: ", ";\n ", "\n\n z-index: 10000;\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n\n display: flex;\n flex-direction: column;\n\n overflow-x: hidden;\n overflow-y: auto;\n\n background: ", ";\n ", "\n\n z-index: 10000;\n"])), function (props) {
540
540
  return props.theme.background ? "".concat(props.theme.background) : "white";
@@ -547,7 +547,7 @@ var OverlayInner$2 = styled__default.default.div(templateObject_2$M || (template
547
547
  }, function (props) {
548
548
  return props.theme.padding ? "box-sizing: border-box; padding: ".concat(props.theme.padding, ";") : "";
549
549
  });
550
- var OverlayImageContainer = styled__default.default.div(templateObject_3$y || (templateObject_3$y = __makeTemplateObject(["\n position: relative;\n display: flex;\n flex-grow: 1;\n padding-bottom: 25px;\n overflow: hidden;\n\n & > img,\n & > svg {\n margin: 0 auto;\n width: max-content;\n max-width: 100%;\n max-height: 100%;\n aspect-ratio: initial;\n object-fit: contain;\n display: block;\n }\n"], ["\n position: relative;\n display: flex;\n flex-grow: 1;\n padding-bottom: 25px;\n overflow: hidden;\n\n & > img,\n & > svg {\n margin: 0 auto;\n width: max-content;\n max-width: 100%;\n max-height: 100%;\n aspect-ratio: initial;\n object-fit: contain;\n display: block;\n }\n"])));
550
+ var OverlayImageContainer = styled__default.default.div(templateObject_3$z || (templateObject_3$z = __makeTemplateObject(["\n position: relative;\n display: flex;\n flex-grow: 1;\n padding-bottom: 25px;\n overflow: hidden;\n\n & > img,\n & > svg {\n margin: 0 auto;\n width: max-content;\n max-width: 100%;\n max-height: 100%;\n aspect-ratio: initial;\n object-fit: contain;\n display: block;\n }\n"], ["\n position: relative;\n display: flex;\n flex-grow: 1;\n padding-bottom: 25px;\n overflow: hidden;\n\n & > img,\n & > svg {\n margin: 0 auto;\n width: max-content;\n max-width: 100%;\n max-height: 100%;\n aspect-ratio: initial;\n object-fit: contain;\n display: block;\n }\n"])));
551
551
  var OverlayImageRow = styled__default.default.div(templateObject_4$s || (templateObject_4$s = __makeTemplateObject(["\n display: flex;\n margin: auto;\n\n & > div {\n max-height: calc(100% - 320px);\n\n & > img {\n width: 100%;\n max-height: 100%;\n height: auto;\n object-fit: contain;\n }\n }\n"], ["\n display: flex;\n margin: auto;\n\n & > div {\n max-height: calc(100% - 320px);\n\n & > img {\n width: 100%;\n max-height: 100%;\n height: auto;\n object-fit: contain;\n }\n }\n"])));
552
552
  var GrayOverlayContainer = styled__default.default(OverlayContainer)(templateObject_5$l || (templateObject_5$l = __makeTemplateObject(["\n background: #f7f6fb;\n"], ["\n background: #f7f6fb;\n"])));
553
553
  var ButtonsColumn = styled__default.default.div(templateObject_6$d || (templateObject_6$d = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n gap: 15px 0;\n justify-content: center;\n margin-top: 24px;\n"], ["\n display: flex;\n flex-direction: column;\n gap: 15px 0;\n justify-content: center;\n margin-top: 24px;\n"])));
@@ -589,7 +589,7 @@ var LoadingOverlayLoadingListItem = styled__default.default.li(templateObject_19
589
589
  var LoadingOverlayProgressContainer = styled__default.default.div(templateObject_20$2 || (templateObject_20$2 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n"])));
590
590
  var LoadingOverlayCustomLoadingGraphic = styled__default.default.img(templateObject_21$2 || (templateObject_21$2 = __makeTemplateObject(["\n transform-style: preserve-3d;\n"], ["\n transform-style: preserve-3d;\n"])));
591
591
  var LoadingOverlayContinueButtonContainer = styled__default.default.div(templateObject_22$2 || (templateObject_22$2 = __makeTemplateObject(["\n display: flex;\n"], ["\n display: flex;\n"])));
592
- var templateObject_1$R, templateObject_2$M, templateObject_3$y, templateObject_4$s, templateObject_5$l, templateObject_6$d, templateObject_7$9, templateObject_8$8, templateObject_9$5, templateObject_10$4, templateObject_11$4, templateObject_12$4, templateObject_13$4, templateObject_14$2, templateObject_15$2, templateObject_16$2, templateObject_17$2, templateObject_18$2, templateObject_19$2, templateObject_20$2, templateObject_21$2, templateObject_22$2;
592
+ var templateObject_1$R, templateObject_2$M, templateObject_3$z, templateObject_4$s, templateObject_5$l, templateObject_6$d, templateObject_7$9, templateObject_8$8, templateObject_9$5, templateObject_10$4, templateObject_11$4, templateObject_12$4, templateObject_13$4, templateObject_14$2, templateObject_15$2, templateObject_16$2, templateObject_17$2, templateObject_18$2, templateObject_19$2, templateObject_20$2, templateObject_21$2, templateObject_22$2;
593
593
 
594
594
  var GeolocationAccessDeniedOverlay = function GeolocationAccessDeniedOverlay(_a) {
595
595
  var accessBlockedImageUrl = _a.accessBlockedImageUrl;
@@ -817,7 +817,7 @@ var NetworkErrorContent = function NetworkErrorContent(_a) {
817
817
  };
818
818
  var ErrorContainer = styled__default.default.div(templateObject_1$Q || (templateObject_1$Q = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n max-width: 600px;\n width: 100%;\n padding: 24px;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,\n Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n max-width: 600px;\n width: 100%;\n padding: 24px;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,\n Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;\n"])));
819
819
  var ErrorIcon = styled__default.default.div(templateObject_2$L || (templateObject_2$L = __makeTemplateObject(["\n width: 48px;\n height: 48px;\n border-radius: 50%;\n background-color: #fee2e2;\n color: #dc2626;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 24px;\n font-weight: bold;\n margin-bottom: 16px;\n"], ["\n width: 48px;\n height: 48px;\n border-radius: 50%;\n background-color: #fee2e2;\n color: #dc2626;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 24px;\n font-weight: bold;\n margin-bottom: 16px;\n"])));
820
- var Heading$b = styled__default.default.h3(templateObject_3$x || (templateObject_3$x = __makeTemplateObject(["\n margin: 0 0 16px 0;\n font-size: 1.25rem;\n font-weight: 600;\n color: #1f2937;\n text-align: center;\n"], ["\n margin: 0 0 16px 0;\n font-size: 1.25rem;\n font-weight: 600;\n color: #1f2937;\n text-align: center;\n"])));
820
+ var Heading$b = styled__default.default.h3(templateObject_3$y || (templateObject_3$y = __makeTemplateObject(["\n margin: 0 0 16px 0;\n font-size: 1.25rem;\n font-weight: 600;\n color: #1f2937;\n text-align: center;\n"], ["\n margin: 0 0 16px 0;\n font-size: 1.25rem;\n font-weight: 600;\n color: #1f2937;\n text-align: center;\n"])));
821
821
  var Message$1 = styled__default.default.p(templateObject_4$r || (templateObject_4$r = __makeTemplateObject(["\n margin: 0 0 16px 0;\n color: #6b7280;\n text-align: center;\n line-height: 1.5;\n"], ["\n margin: 0 0 16px 0;\n color: #6b7280;\n text-align: center;\n line-height: 1.5;\n"])));
822
822
  var StatusBadge$1 = styled__default.default.div(templateObject_5$k || (templateObject_5$k = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n gap: 8px;\n background-color: #fef2f2;\n border: 1px solid #fecaca;\n border-radius: 6px;\n padding: 6px 12px;\n margin-bottom: 20px;\n"], ["\n display: inline-flex;\n align-items: center;\n gap: 8px;\n background-color: #fef2f2;\n border: 1px solid #fecaca;\n border-radius: 6px;\n padding: 6px 12px;\n margin-bottom: 20px;\n"])));
823
823
  var StatusLabel = styled__default.default.span(templateObject_6$c || (templateObject_6$c = __makeTemplateObject(["\n font-size: 0.75rem;\n font-weight: 500;\n color: #991b1b;\n text-transform: uppercase;\n letter-spacing: 0.05em;\n"], ["\n font-size: 0.75rem;\n font-weight: 500;\n color: #991b1b;\n text-transform: uppercase;\n letter-spacing: 0.05em;\n"])));
@@ -828,7 +828,7 @@ var DetailsLabel = styled__default.default.span(templateObject_10$3 || (template
828
828
  var CopyButton = styled__default.default.button(templateObject_11$3 || (templateObject_11$3 = __makeTemplateObject(["\n background-color: #f3f4f6;\n border: 1px solid #d1d5db;\n border-radius: 4px;\n padding: 4px 10px;\n font-size: 0.75rem;\n font-weight: 500;\n color: #374151;\n cursor: pointer;\n transition: all 0.15s ease;\n\n &:hover {\n background-color: #e5e7eb;\n border-color: #9ca3af;\n }\n\n &:active {\n background-color: #d1d5db;\n }\n"], ["\n background-color: #f3f4f6;\n border: 1px solid #d1d5db;\n border-radius: 4px;\n padding: 4px 10px;\n font-size: 0.75rem;\n font-weight: 500;\n color: #374151;\n cursor: pointer;\n transition: all 0.15s ease;\n\n &:hover {\n background-color: #e5e7eb;\n border-color: #9ca3af;\n }\n\n &:active {\n background-color: #d1d5db;\n }\n"])));
829
829
  var CodeBlock = styled__default.default.pre(templateObject_12$3 || (templateObject_12$3 = __makeTemplateObject(["\n background-color: #1f2937;\n border-radius: 8px;\n padding: 16px;\n margin: 0;\n overflow-x: auto;\n max-height: 300px;\n overflow-y: auto;\n text-align: left;\n\n code {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n font-size: 0.8125rem;\n line-height: 1.6;\n color: #e5e7eb;\n white-space: pre-wrap;\n word-break: break-word;\n display: block;\n text-align: left;\n }\n"], ["\n background-color: #1f2937;\n border-radius: 8px;\n padding: 16px;\n margin: 0;\n overflow-x: auto;\n max-height: 300px;\n overflow-y: auto;\n text-align: left;\n\n code {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n font-size: 0.8125rem;\n line-height: 1.6;\n color: #e5e7eb;\n white-space: pre-wrap;\n word-break: break-word;\n display: block;\n text-align: left;\n }\n"])));
830
830
  var RetryContainer = styled__default.default.div(templateObject_13$3 || (templateObject_13$3 = __makeTemplateObject(["\n margin-top: 24px;\n"], ["\n margin-top: 24px;\n"])));
831
- var templateObject_1$Q, templateObject_2$L, templateObject_3$x, templateObject_4$r, templateObject_5$k, templateObject_6$c, templateObject_7$8, templateObject_8$7, templateObject_9$4, templateObject_10$3, templateObject_11$3, templateObject_12$3, templateObject_13$3;
831
+ var templateObject_1$Q, templateObject_2$L, templateObject_3$y, templateObject_4$r, templateObject_5$k, templateObject_6$c, templateObject_7$8, templateObject_8$7, templateObject_9$4, templateObject_10$3, templateObject_11$3, templateObject_12$3, templateObject_13$3;
832
832
 
833
833
  var SessionIdMissingOverlay = function SessionIdMissingOverlay() {
834
834
  return /*#__PURE__*/React__namespace.default.createElement(OverlayContainer, null, /*#__PURE__*/React__namespace.default.createElement(OverlayInner$2, {
@@ -4059,7 +4059,7 @@ var es = {
4059
4059
  Cancel: 'Cancelar',
4060
4060
  'Upload the back of the ID if it is not included in the front image.': 'Adjuntar el reverso de la ID si no se incluye en la imagen del frente',
4061
4061
  'Camera tampering detected': 'Se ha detectado un intento de manipulación de la cámara',
4062
- "We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'Lo sentimos, pero parece que la cámara está siendo manipulada. Por favor, verifique su dispositivo y vuelva a intentarlo recargando la página.',
4062
+ "A browser extension or other software is interfering with camera access. Please try disabling browser extensions, updating your browser to the latest version, or switching to a different browser.": 'Una extensión del navegador u otro software está interfiriendo con el acceso a la cámara. Intente deshabilitar las extensiones del navegador, actualizar su navegador a la última versión o cambiar a un navegador diferente.',
4063
4063
  'Position your face in the circle and click to capture.': 'Enfoca tu cara en el círculo y da clic en capturar.',
4064
4064
  'Sign here': 'Firma aquí'
4065
4065
  };
@@ -4192,7 +4192,7 @@ var de = {
4192
4192
  Cancel: 'Abbrechen',
4193
4193
  'Upload the back of the ID if it is not included in the front image.': 'Laden Sie die Rückseite des Ausweises hoch, wenn diese nicht im Bild der Vorderseite enthalten ist.',
4194
4194
  'Camera tampering detected': 'Kamera manipuliert',
4195
- "We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'Leider scheint die Kamera manipuliert zu werden. Bitte prüfen Sie Ihr Gerät und laden Sie die Seite neu.',
4195
+ "A browser extension or other software is interfering with camera access. Please try disabling browser extensions, updating your browser to the latest version, or switching to a different browser.": 'Eine Browsererweiterung oder andere Software stört den Kamerazugriff. Bitte deaktivieren Sie Browsererweiterungen, aktualisieren Sie Ihren Browser auf die neueste Version oder wechseln Sie zu einem anderen Browser.',
4196
4196
  'Position your face in the circle and click to capture.': 'Stellen Sie Ihr Gesicht im Kreis ein und klicken Sie auf Erfassen.',
4197
4197
  'Sign here': 'Hier unterschreiben'
4198
4198
  };
@@ -4325,7 +4325,7 @@ var fr = {
4325
4325
  Cancel: 'Annuler',
4326
4326
  'Upload the back of the ID if it is not included in the front image.': "Téléchargez le verso de la pièce d'identité si ce n'est pas inclus dans l'image du recto.",
4327
4327
  'Camera tampering detected': 'Manipulation de la caméra détectée',
4328
- "We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'Nous sommes désolés, mais il semble que la caméra soit manipulée. Veuillez vérifier votre appareil et réessayer en rechargeant la page.',
4328
+ "A browser extension or other software is interfering with camera access. Please try disabling browser extensions, updating your browser to the latest version, or switching to a different browser.": "Une extension de navigateur ou un autre logiciel interfère avec l'accès à la caméra. Veuillez essayer de désactiver les extensions de navigateur, de mettre à jour votre navigateur vers la dernière version ou d'utiliser un autre navigateur.",
4329
4329
  'Position your face in the circle and click to capture.': 'Positionnez votre visage dans le cercle et cliquez pour capturer.',
4330
4330
  'Sign here': 'Signer ici'
4331
4331
  };
@@ -4458,7 +4458,7 @@ var it = {
4458
4458
  Cancel: 'Annulla',
4459
4459
  'Upload the back of the ID if it is not included in the front image.': "Carica il retro dell'ID se non è incluso nell'immagine del fronte.",
4460
4460
  'Camera tampering detected': 'Manipolazione della fotocamera rilevata',
4461
- "We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'Siamo spiacenti, ma sembra che la fotocamera stia venendo manipolata. Controlla il tuo dispositivo e riprova ricaricando la pagina.',
4461
+ "A browser extension or other software is interfering with camera access. Please try disabling browser extensions, updating your browser to the latest version, or switching to a different browser.": "Un'estensione del browser o un altro software sta interferendo con l'accesso alla fotocamera. Prova a disabilitare le estensioni del browser, ad aggiornare il browser all'ultima versione o a passare a un browser diverso.",
4462
4462
  'Position your face in the circle and click to capture.': 'Posiziona il tuo volto nel cerchio e clicca per acquisire.',
4463
4463
  'Sign here': 'Firma qui'
4464
4464
  };
@@ -4591,7 +4591,7 @@ var ja = {
4591
4591
  Cancel: 'キャンセル',
4592
4592
  'Upload the back of the ID if it is not included in the front image.': '表面画像に裏面が含まれていない場合は、裏面をアップロードしてください。',
4593
4593
  'Camera tampering detected': 'カメラの操作が検出されました',
4594
- "We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'カメラの操作が検出されました。デバイスを確認し、ページを再読み込みしてください。',
4594
+ "A browser extension or other software is interfering with camera access. Please try disabling browser extensions, updating your browser to the latest version, or switching to a different browser.": 'ブラウザの拡張機能または他のソフトウェアがカメラへのアクセスを妨げています。ブラウザの拡張機能を無効にするか、ブラウザを最新バージョンに更新するか、別のブラウザに切り替えてください。',
4595
4595
  'Position your face in the circle and click to capture.': '顔を円の中に合わせてクリックして撮影してください。',
4596
4596
  'Sign here': 'ここに署名'
4597
4597
  };
@@ -4724,7 +4724,7 @@ var pt = {
4724
4724
  Cancel: 'Cancelar',
4725
4725
  'Upload the back of the ID if it is not included in the front image.': 'Carregue o verso do ID se não estiver incluído na imagem da frente.',
4726
4726
  'Camera tampering detected': 'Manipulação da câmera detectada',
4727
- "We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'Lamentamos, mas parece que a câmera está sendo manipulada. Verifique seu dispositivo e tente novamente recarregando a página.',
4727
+ "A browser extension or other software is interfering with camera access. Please try disabling browser extensions, updating your browser to the latest version, or switching to a different browser.": 'Uma extensão do navegador ou outro software está interferindo no acesso à câmera. Tente desativar as extensões do navegador, atualizar seu navegador para a versão mais recente ou mudar para um navegador diferente.',
4728
4728
  'Position your face in the circle and click to capture.': 'Posicione seu rosto no círculo e clique para capturar.',
4729
4729
  'Sign here': 'Assinar aqui'
4730
4730
  };
@@ -4857,7 +4857,7 @@ var ru = {
4857
4857
  Cancel: 'Отменить',
4858
4858
  'Upload the back of the ID if it is not included in the front image.': 'Загрузите заднюю сторону удостоверения, если она не включена в изображение передней стороны.',
4859
4859
  'Camera tampering detected': 'Обнаружена манипуляция с камерой',
4860
- "We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'К сожалению, кажется, что камера подвергается манипуляциям. Пожалуйста, проверьте свое устройство и попробуйте снова, перезагрузив страницу.',
4860
+ "A browser extension or other software is interfering with camera access. Please try disabling browser extensions, updating your browser to the latest version, or switching to a different browser.": 'Расширение браузера или другое программное обеспечение мешает доступу к камере. Попробуйте отключить расширения браузера, обновить браузер до последней версии или переключиться на другой браузер.',
4861
4861
  'Position your face in the circle and click to capture.': 'Поместите свое лицо в круг и нажмите для съемки.',
4862
4862
  'Sign here': 'Подписать здесь'
4863
4863
  };
@@ -4990,7 +4990,7 @@ var zh = {
4990
4990
  Cancel: '取消',
4991
4991
  'Upload the back of the ID if it is not included in the front image.': '如果正面照片没有包含身份证背面,请上传背面照片。',
4992
4992
  'Camera tampering detected': '檢測到相機被篡改',
4993
- "We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": '很抱歉,看起來相機被篡改了。請檢查您的設備並重新載入頁面。',
4993
+ "A browser extension or other software is interfering with camera access. Please try disabling browser extensions, updating your browser to the latest version, or switching to a different browser.": '瀏覽器擴充功能或其他軟體正在干擾相機存取。請嘗試停用瀏覽器擴充功能、將瀏覽器更新至最新版本或切換至其他瀏覽器。',
4994
4994
  'Position your face in the circle and click to capture.': '將您的臉部置於圓圈中,點擊拍攝。',
4995
4995
  'Sign here': '在此簽名'
4996
4996
  };
@@ -5102,6 +5102,7 @@ var initialState$6 = {
5102
5102
  iphoneContinuityCameraAvailable: false,
5103
5103
  iphoneContinuityCameraDenied: false,
5104
5104
  preferIphoneContinuityCamera: true,
5105
+ enableTamperDetection: false,
5105
5106
  cameraTamperingDetected: false,
5106
5107
  microphoneReady: false,
5107
5108
  microphoneAccessDenied: false
@@ -5142,14 +5143,14 @@ var createCameraStore = function createCameraStore(config) {
5142
5143
  },
5143
5144
  requestCameraAccess: function requestCameraAccess() {
5144
5145
  return __awaiter(this, void 0, void 0, function () {
5145
- var _a, videoRef, releaseCameraAccess, preferFrontFacingCamera, preferIphoneContinuityCamera, iphoneContinuityCameraDenied, mediaIntegrityToken, availableCameras, selectedCamera, platform_1, iphoneContinuityCamera, constraints, stream_1, e_1, e_2, handleStreamEnded_1, videoTrack_1, e_3;
5146
+ var _a, videoRef, releaseCameraAccess, preferFrontFacingCamera, preferIphoneContinuityCamera, iphoneContinuityCameraDenied, enableTamperDetection, mediaIntegrityToken, availableCameras, selectedCamera, platform_1, iphoneContinuityCamera, constraints, stream_1, e_1, e_2, handleStreamEnded_1, videoTrack_1, e_3;
5146
5147
  var _b, _c, _d, _e;
5147
5148
  return __generator(this, function (_f) {
5148
5149
  switch (_f.label) {
5149
5150
  case 0:
5150
5151
  debug("".concat(LOG_TAG, " requestCameraAccess"), new Error().stack);
5151
- _a = get(), videoRef = _a.videoRef, releaseCameraAccess = _a.releaseCameraAccess, preferFrontFacingCamera = _a.preferFrontFacingCamera, preferIphoneContinuityCamera = _a.preferIphoneContinuityCamera, iphoneContinuityCameraDenied = _a.iphoneContinuityCameraDenied, mediaIntegrityToken = _a.mediaIntegrityToken;
5152
- if (guardGetUserMedia(mediaIntegrityToken)) {
5152
+ _a = get(), videoRef = _a.videoRef, releaseCameraAccess = _a.releaseCameraAccess, preferFrontFacingCamera = _a.preferFrontFacingCamera, preferIphoneContinuityCamera = _a.preferIphoneContinuityCamera, iphoneContinuityCameraDenied = _a.iphoneContinuityCameraDenied, enableTamperDetection = _a.enableTamperDetection, mediaIntegrityToken = _a.mediaIntegrityToken;
5153
+ if (enableTamperDetection && guardGetUserMedia(mediaIntegrityToken)) {
5153
5154
  set({
5154
5155
  cameraTamperingDetected: true
5155
5156
  });
@@ -5371,7 +5372,7 @@ var createCameraStore = function createCameraStore(config) {
5371
5372
  switch (_a.label) {
5372
5373
  case 0:
5373
5374
  get().releaseMicrophoneAccess();
5374
- if (guardGetUserMedia(get().mediaIntegrityToken)) {
5375
+ if (get().enableTamperDetection && guardGetUserMedia(get().mediaIntegrityToken)) {
5375
5376
  set({
5376
5377
  cameraTamperingDetected: true
5377
5378
  });
@@ -5451,6 +5452,8 @@ var createCameraStore = function createCameraStore(config) {
5451
5452
  });
5452
5453
  };
5453
5454
  var CameraStoreContext = /*#__PURE__*/React.createContext(undefined);
5455
+ /** Text for the exit button shown when `onExitAfterTamperSealPopped` is bound. */
5456
+ var DEFAULT_EXIT_BUTTON_TEXT = 'Exit';
5454
5457
  function CameraStoreProvider(_a) {
5455
5458
  var _b;
5456
5459
  var children = _a.children,
@@ -5465,14 +5468,17 @@ function CameraStoreProvider(_a) {
5465
5468
  maxFps = _a.maxFps,
5466
5469
  onCameraAccessDenied = _a.onCameraAccessDenied,
5467
5470
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
5471
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
5468
5472
  onMicrophoneAccessDenied = _a.onMicrophoneAccessDenied,
5469
5473
  _g = _a.requireMicrophoneAccess,
5470
5474
  requireMicrophoneAccess = _g === void 0 ? false : _g,
5475
+ _h = _a.enableTamperDetection,
5476
+ enableTamperDetection = _h === void 0 ? false : _h,
5471
5477
  mediaIntegrityToken = _a.mediaIntegrityToken,
5472
- _h = _a.classNames,
5473
- classNames = _h === void 0 ? {} : _h,
5474
- _j = _a.verbiage,
5475
- verbiage = _j === void 0 ? {} : _j;
5478
+ _j = _a.classNames,
5479
+ classNames = _j === void 0 ? {} : _j,
5480
+ _k = _a.verbiage,
5481
+ verbiage = _k === void 0 ? {} : _k;
5476
5482
  var videoRef = React.useRef(null);
5477
5483
  var store = React.useRef(undefined);
5478
5484
  store.current || (store.current = createCameraStore({
@@ -5485,10 +5491,12 @@ function CameraStoreProvider(_a) {
5485
5491
  onCameraAccessDenied: onCameraAccessDenied,
5486
5492
  onMicrophoneAccessDenied: onMicrophoneAccessDenied,
5487
5493
  requireMicrophoneAccess: requireMicrophoneAccess,
5494
+ enableTamperDetection: enableTamperDetection,
5488
5495
  mediaIntegrityToken: mediaIntegrityToken
5489
5496
  }));
5490
5497
  React.useEffect(function () {
5491
5498
  var _a;
5499
+ if (!enableTamperDetection) return;
5492
5500
  var result = checkGetUserMediaIntegrity(mediaIntegrityToken);
5493
5501
  if (result.tampered) {
5494
5502
  (_a = store.current) === null || _a === void 0 ? void 0 : _a.setState({
@@ -5496,9 +5504,9 @@ function CameraStoreProvider(_a) {
5496
5504
  });
5497
5505
  }
5498
5506
  }, []); // eslint-disable-line react-hooks/exhaustive-deps
5499
- var _k = (_b = videoRef.current) !== null && _b !== void 0 ? _b : {},
5500
- videoWidth = _k.videoWidth,
5501
- videoHeight = _k.videoHeight;
5507
+ var _l = (_b = videoRef.current) !== null && _b !== void 0 ? _b : {},
5508
+ videoWidth = _l.videoWidth,
5509
+ videoHeight = _l.videoHeight;
5502
5510
  React.useEffect(function () {
5503
5511
  var _a;
5504
5512
  (_a = store.current) === null || _a === void 0 ? void 0 : _a.setState({
@@ -5534,6 +5542,7 @@ function CameraStoreProvider(_a) {
5534
5542
  value: store.current
5535
5543
  }, /*#__PURE__*/React__namespace.default.createElement(CameraTamperSeal, {
5536
5544
  onCameraTamperingDetected: onCameraTamperingDetected,
5545
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
5537
5546
  onCameraAccessDenied: onCameraAccessDenied,
5538
5547
  onMicrophoneAccessDenied: onMicrophoneAccessDenied,
5539
5548
  classNames: classNames.cameraTamperSeal,
@@ -5543,6 +5552,7 @@ function CameraStoreProvider(_a) {
5543
5552
  function CameraTamperSeal(_a) {
5544
5553
  var children = _a.children,
5545
5554
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
5555
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
5546
5556
  onCameraAccessDenied = _a.onCameraAccessDenied,
5547
5557
  onMicrophoneAccessDenied = _a.onMicrophoneAccessDenied,
5548
5558
  _b = _a.classNames,
@@ -5555,10 +5565,12 @@ function CameraTamperSeal(_a) {
5555
5565
  microphoneAccessDenied = _d.microphoneAccessDenied;
5556
5566
  var _e = useTranslations(rawVerbiage, {
5557
5567
  headingText: 'Camera tampering detected',
5558
- messageText: "We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page."
5568
+ messageText: 'A browser extension or other software is interfering with camera access. Please try disabling browser extensions, updating your browser to the latest version, or switching to a different browser.',
5569
+ exitButtonText: DEFAULT_EXIT_BUTTON_TEXT
5559
5570
  }),
5560
5571
  headingText = _e.headingText,
5561
- messageText = _e.messageText;
5572
+ messageText = _e.messageText,
5573
+ exitButtonText = _e.exitButtonText;
5562
5574
  var onCameraTamperingDetectedRef = React.useRef(onCameraTamperingDetected);
5563
5575
  React.useEffect(function () {
5564
5576
  onCameraTamperingDetectedRef.current = onCameraTamperingDetected;
@@ -5592,16 +5604,27 @@ function CameraTamperSeal(_a) {
5592
5604
  className: classNames.heading
5593
5605
  }, headingText), /*#__PURE__*/React__namespace.default.createElement("p", {
5594
5606
  className: classNames.message
5595
- }, messageText)));
5607
+ }, messageText), onExitAfterTamperSealPopped && (/*#__PURE__*/React__namespace.default.createElement(StyledExitButton, {
5608
+ type: "button",
5609
+ className: classNames.exitButton,
5610
+ onClick: onExitAfterTamperSealPopped
5611
+ }, exitButtonText))));
5596
5612
  }
5597
5613
  var StyledOverlayInner$4 = styled__default.default(OverlayInner$2)(templateObject_1$O || (templateObject_1$O = __makeTemplateObject(["\n justify-content: center;\n"], ["\n justify-content: center;\n"])));
5598
5614
  var StyledOverlayHeading = styled__default.default.h3(templateObject_2$J || (templateObject_2$J = __makeTemplateObject(["\n margin-bottom: 8px;\n"], ["\n margin-bottom: 8px;\n"])));
5615
+ var StyledExitButton = styled__default.default.button(templateObject_3$x || (templateObject_3$x = __makeTemplateObject(["\n margin-top: 24px;\n padding: 12px 32px;\n border: none;\n border-radius: 4px;\n background: ", ";\n color: ", ";\n font-size: 16px;\n cursor: pointer;\n align-self: center;\n\n &:hover {\n filter: brightness(1.15);\n }\n"], ["\n margin-top: 24px;\n padding: 12px 32px;\n border: none;\n border-radius: 4px;\n background: ", ";\n color: ", ";\n font-size: 16px;\n cursor: pointer;\n align-self: center;\n\n &:hover {\n filter: brightness(1.15);\n }\n"])), function (props) {
5616
+ var _a, _b, _c;
5617
+ return (_c = (_b = (_a = props.theme.buttons) === null || _a === void 0 ? void 0 : _a.primary) === null || _b === void 0 ? void 0 : _b.backgroundColor) !== null && _c !== void 0 ? _c : '#0d6efd';
5618
+ }, function (props) {
5619
+ var _a, _b, _c;
5620
+ return (_c = (_b = (_a = props.theme.buttons) === null || _a === void 0 ? void 0 : _a.primary) === null || _b === void 0 ? void 0 : _b.textColor) !== null && _c !== void 0 ? _c : '#fff';
5621
+ });
5599
5622
  function useCameraStore(selector) {
5600
5623
  var store = React.useContext(CameraStoreContext);
5601
5624
  if (!store) throw new Error('useCameraStore cannot be used without Provider');
5602
5625
  return zustand.useStore(store, selector);
5603
5626
  }
5604
- var templateObject_1$O, templateObject_2$J;
5627
+ var templateObject_1$O, templateObject_2$J, templateObject_3$x;
5605
5628
 
5606
5629
  var DocumentDetectionModelContext = /*#__PURE__*/React.createContext({
5607
5630
  startDocumentDetection: function startDocumentDetection() {
@@ -15094,14 +15117,18 @@ function IdCaptureWizardWithProviders(_a) {
15094
15117
  var _b, _c, _d, _e, _f, _g;
15095
15118
  var onCameraAccessDenied = _a.onCameraAccessDenied,
15096
15119
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
15120
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
15097
15121
  onMicrophoneAccessDenied = _a.onMicrophoneAccessDenied,
15122
+ enableTamperDetection = _a.enableTamperDetection,
15098
15123
  mediaIntegrityToken = _a.mediaIntegrityToken,
15099
15124
  shouldLoadIdCaptureModels = _a.shouldLoadIdCaptureModels,
15100
- idCaptureProps = __rest(_a, ["onCameraAccessDenied", "onCameraTamperingDetected", "onMicrophoneAccessDenied", "mediaIntegrityToken", "shouldLoadIdCaptureModels"]);
15125
+ idCaptureProps = __rest(_a, ["onCameraAccessDenied", "onCameraTamperingDetected", "onExitAfterTamperSealPopped", "onMicrophoneAccessDenied", "enableTamperDetection", "mediaIntegrityToken", "shouldLoadIdCaptureModels"]);
15101
15126
  return /*#__PURE__*/React__namespace.default.createElement(CameraStoreProvider, {
15102
15127
  onCameraAccessDenied: onCameraAccessDenied,
15103
15128
  onCameraTamperingDetected: onCameraTamperingDetected,
15129
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
15104
15130
  onMicrophoneAccessDenied: onMicrophoneAccessDenied,
15131
+ enableTamperDetection: enableTamperDetection,
15105
15132
  mediaIntegrityToken: mediaIntegrityToken,
15106
15133
  requestAccessAutomatically: shouldLoadIdCaptureModels,
15107
15134
  classNames: (_b = idCaptureProps.classNames) === null || _b === void 0 ? void 0 : _b.cameraStoreProvider,
@@ -17800,15 +17827,19 @@ function FaceLivenessWizardWithProviders(_a) {
17800
17827
  var _b, _c;
17801
17828
  var onCameraAccessDenied = _a.onCameraAccessDenied,
17802
17829
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
17830
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
17803
17831
  onMicrophoneAccessDenied = _a.onMicrophoneAccessDenied,
17832
+ enableTamperDetection = _a.enableTamperDetection,
17804
17833
  mediaIntegrityToken = _a.mediaIntegrityToken,
17805
- faceLivenessProps = __rest(_a, ["onCameraAccessDenied", "onCameraTamperingDetected", "onMicrophoneAccessDenied", "mediaIntegrityToken"]);
17834
+ faceLivenessProps = __rest(_a, ["onCameraAccessDenied", "onCameraTamperingDetected", "onExitAfterTamperSealPopped", "onMicrophoneAccessDenied", "enableTamperDetection", "mediaIntegrityToken"]);
17806
17835
  return /*#__PURE__*/React__namespace.default.createElement(CameraStoreProvider, {
17807
17836
  preferFrontFacingCamera: true,
17808
17837
  preferIphoneContinuityCamera: false,
17809
17838
  onCameraAccessDenied: onCameraAccessDenied,
17810
17839
  onCameraTamperingDetected: onCameraTamperingDetected,
17840
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
17811
17841
  onMicrophoneAccessDenied: onMicrophoneAccessDenied,
17842
+ enableTamperDetection: enableTamperDetection,
17812
17843
  mediaIntegrityToken: mediaIntegrityToken,
17813
17844
  classNames: (_b = faceLivenessProps.classNames) === null || _b === void 0 ? void 0 : _b.cameraStoreProvider,
17814
17845
  verbiage: (_c = faceLivenessProps.verbiage) === null || _c === void 0 ? void 0 : _c.cameraStoreProvider
@@ -19911,7 +19942,9 @@ function VideoSignatureWizardWithProvidersComponent(props, ref) {
19911
19942
  maxFps: 30,
19912
19943
  onCameraAccessDenied: props.onCameraAccessDenied,
19913
19944
  onCameraTamperingDetected: props.onCameraTamperingDetected,
19945
+ onExitAfterTamperSealPopped: props.onExitAfterTamperSealPopped,
19914
19946
  onMicrophoneAccessDenied: props.onMicrophoneAccessDenied,
19947
+ enableTamperDetection: props.enableTamperDetection,
19915
19948
  mediaIntegrityToken: props.mediaIntegrityToken,
19916
19949
  classNames: (_a = props.classNames) === null || _a === void 0 ? void 0 : _a.cameraStoreProvider,
19917
19950
  verbiage: (_b = props.verbiage) === null || _b === void 0 ? void 0 : _b.cameraStoreProvider
@@ -21019,7 +21052,9 @@ var VideoIdWizard = function VideoIdWizard(_a) {
21019
21052
  onIdCaptureModelError = _a.onIdCaptureModelError,
21020
21053
  onCameraAccessDenied = _a.onCameraAccessDenied,
21021
21054
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
21055
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
21022
21056
  onMicrophoneAccessDenied = _a.onMicrophoneAccessDenied,
21057
+ enableTamperDetection = _a.enableTamperDetection,
21023
21058
  mediaIntegrityToken = _a.mediaIntegrityToken,
21024
21059
  _k = _a.idCaptureProps,
21025
21060
  idCaptureProps = _k === void 0 ? {} : _k,
@@ -21181,7 +21216,9 @@ var VideoIdWizard = function VideoIdWizard(_a) {
21181
21216
  maxFps: isCapturingId ? 60 : 30,
21182
21217
  onCameraAccessDenied: onCameraAccessDenied,
21183
21218
  onCameraTamperingDetected: onCameraTamperingDetected,
21219
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
21184
21220
  onMicrophoneAccessDenied: onMicrophoneAccessDenied,
21221
+ enableTamperDetection: enableTamperDetection,
21185
21222
  mediaIntegrityToken: mediaIntegrityToken,
21186
21223
  classNames: classNames === null || classNames === void 0 ? void 0 : classNames.cameraStoreProvider,
21187
21224
  verbiage: verbiage === null || verbiage === void 0 ? void 0 : verbiage.cameraStoreProvider
@@ -21324,7 +21361,9 @@ function CompositeWizardComponent(_a, ref) {
21324
21361
  captureSignatureVideo = _j === void 0 ? false : _j,
21325
21362
  onCameraAccessDenied = _a.onCameraAccessDenied,
21326
21363
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
21364
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
21327
21365
  onMicrophoneAccessDenied = _a.onMicrophoneAccessDenied,
21366
+ enableTamperDetection = _a.enableTamperDetection,
21328
21367
  mediaIntegrityToken = _a.mediaIntegrityToken,
21329
21368
  _k = _a.debugMode,
21330
21369
  debugMode = _k === void 0 ? false : _k;
@@ -21445,7 +21484,9 @@ function CompositeWizardComponent(_a, ref) {
21445
21484
  return /*#__PURE__*/React__namespace.default.createElement(IdCaptureWizardWithProviders, _assign({}, idCaptureProps, {
21446
21485
  onCameraAccessDenied: onCameraAccessDenied,
21447
21486
  onCameraTamperingDetected: onCameraTamperingDetected,
21487
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
21448
21488
  onMicrophoneAccessDenied: onMicrophoneAccessDenied,
21489
+ enableTamperDetection: enableTamperDetection,
21449
21490
  mediaIntegrityToken: mediaIntegrityToken,
21450
21491
  shouldLoadIdCaptureModels: shouldLoadIdCaptureModels,
21451
21492
  onSuccess: onIdCaptureSuccess
@@ -21455,14 +21496,18 @@ function CompositeWizardComponent(_a, ref) {
21455
21496
  onComplete: onVideoIdCaptureComplete,
21456
21497
  onCameraAccessDenied: onCameraAccessDenied,
21457
21498
  onCameraTamperingDetected: onCameraTamperingDetected,
21499
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
21458
21500
  onMicrophoneAccessDenied: onMicrophoneAccessDenied,
21501
+ enableTamperDetection: enableTamperDetection,
21459
21502
  mediaIntegrityToken: mediaIntegrityToken
21460
21503
  }));
21461
21504
  case 'FaceLiveness':
21462
21505
  return /*#__PURE__*/React__namespace.default.createElement(FaceLivenessWizardWithProviders, _assign({}, faceLivenessProps, {
21463
21506
  onCameraAccessDenied: onCameraAccessDenied,
21464
21507
  onCameraTamperingDetected: onCameraTamperingDetected,
21508
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
21465
21509
  onMicrophoneAccessDenied: onMicrophoneAccessDenied,
21510
+ enableTamperDetection: enableTamperDetection,
21466
21511
  mediaIntegrityToken: mediaIntegrityToken,
21467
21512
  onComplete: onFaceLivenessComplete
21468
21513
  }));
@@ -21477,7 +21522,9 @@ function CompositeWizardComponent(_a, ref) {
21477
21522
  onComplete: onVideoSignatureComplete,
21478
21523
  onCameraAccessDenied: onCameraAccessDenied,
21479
21524
  onCameraTamperingDetected: onCameraTamperingDetected,
21525
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
21480
21526
  onMicrophoneAccessDenied: onMicrophoneAccessDenied,
21527
+ enableTamperDetection: enableTamperDetection,
21481
21528
  mediaIntegrityToken: mediaIntegrityToken
21482
21529
  }));
21483
21530
  case 'AdditionalDocumentCapture':
@@ -21856,38 +21903,41 @@ var IdValidation = function IdValidation(_a) {
21856
21903
  onModelError = _a.onModelError,
21857
21904
  onCameraAccessDenied = _a.onCameraAccessDenied,
21858
21905
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
21906
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
21907
+ _w = _a.enableTamperDetection,
21908
+ enableTamperDetection = _w === void 0 ? false : _w,
21859
21909
  mediaIntegrityToken = _a.mediaIntegrityToken,
21860
21910
  onDocumentCaptured = _a.onDocumentCaptured,
21861
21911
  onDocumentDetected = _a.onDocumentDetected,
21862
- _w = _a.documentDetectionThrottleMs,
21863
- documentDetectionThrottleMs = _w === void 0 ? 0 : _w,
21864
- _x = _a.theme,
21865
- theme = _x === void 0 ? 'default' : _x,
21866
- _y = _a.assets,
21867
- assets = _y === void 0 ? {} : _y,
21868
- _z = _a.classNames,
21869
- classNames = _z === void 0 ? {} : _z,
21870
- _0 = _a.colors,
21871
- colors = _0 === void 0 ? {} : _0,
21872
- _1 = _a.verbiage,
21873
- verbiage = _1 === void 0 ? {} : _1,
21874
- _2 = _a.captureSignature,
21875
- captureSignature = _2 === void 0 ? false : _2,
21876
- _3 = _a.captureSignatureVideo,
21877
- captureSignatureVideo = _3 === void 0 ? false : _3,
21878
- _4 = _a.captureAdditionalDocuments,
21879
- captureAdditionalDocuments = _4 === void 0 ? [] : _4,
21880
- _5 = _a.geolocationEnabled,
21881
- geolocationEnabled = _5 === void 0 ? true : _5,
21882
- _6 = _a.geolocationRequired,
21883
- geolocationRequired = _6 === void 0 ? false : _6,
21884
- _7 = _a.debugMode,
21885
- debugMode = _7 === void 0 ? false : _7,
21912
+ _x = _a.documentDetectionThrottleMs,
21913
+ documentDetectionThrottleMs = _x === void 0 ? 0 : _x,
21914
+ _y = _a.theme,
21915
+ theme = _y === void 0 ? 'default' : _y,
21916
+ _z = _a.assets,
21917
+ assets = _z === void 0 ? {} : _z,
21918
+ _0 = _a.classNames,
21919
+ classNames = _0 === void 0 ? {} : _0,
21920
+ _1 = _a.colors,
21921
+ colors = _1 === void 0 ? {} : _1,
21922
+ _2 = _a.verbiage,
21923
+ verbiage = _2 === void 0 ? {} : _2,
21924
+ _3 = _a.captureSignature,
21925
+ captureSignature = _3 === void 0 ? false : _3,
21926
+ _4 = _a.captureSignatureVideo,
21927
+ captureSignatureVideo = _4 === void 0 ? false : _4,
21928
+ _5 = _a.captureAdditionalDocuments,
21929
+ captureAdditionalDocuments = _5 === void 0 ? [] : _5,
21930
+ _6 = _a.geolocationEnabled,
21931
+ geolocationEnabled = _6 === void 0 ? true : _6,
21932
+ _7 = _a.geolocationRequired,
21933
+ geolocationRequired = _7 === void 0 ? false : _7,
21934
+ _8 = _a.debugMode,
21935
+ debugMode = _8 === void 0 ? false : _8,
21886
21936
  documentEdgeDistancePct = _a.documentEdgeDistancePct,
21887
- _8 = _a.enableBarcodeRecapture,
21888
- enableBarcodeRecapture = _8 === void 0 ? false : _8,
21889
- _9 = _a.barcodeParsingMode,
21890
- barcodeParsingMode = _9 === void 0 ? 'aggressive' : _9,
21937
+ _9 = _a.enableBarcodeRecapture,
21938
+ enableBarcodeRecapture = _9 === void 0 ? false : _9,
21939
+ _10 = _a.barcodeParsingMode,
21940
+ barcodeParsingMode = _10 === void 0 ? 'aggressive' : _10,
21891
21941
  aggressiveModeDecodeThreshold = _a.aggressiveModeDecodeThreshold,
21892
21942
  aggressiveModeDecodeIntervalMs = _a.aggressiveModeDecodeIntervalMs;
21893
21943
  useLanguage(lang);
@@ -22026,6 +22076,8 @@ var IdValidation = function IdValidation(_a) {
22026
22076
  captureSignatureVideo: captureSignatureVideo,
22027
22077
  onCameraAccessDenied: onCameraAccessDenied,
22028
22078
  onCameraTamperingDetected: onCameraTamperingDetected,
22079
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
22080
+ enableTamperDetection: enableTamperDetection,
22029
22081
  mediaIntegrityToken: mediaIntegrityToken,
22030
22082
  debugMode: debugMode
22031
22083
  })))));
@@ -22088,19 +22140,22 @@ var FaceValidation = function FaceValidation(_a) {
22088
22140
  onModelError = _a.onModelError,
22089
22141
  onCameraAccessDenied = _a.onCameraAccessDenied,
22090
22142
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
22143
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
22144
+ _j = _a.enableTamperDetection,
22145
+ enableTamperDetection = _j === void 0 ? false : _j,
22091
22146
  mediaIntegrityToken = _a.mediaIntegrityToken,
22092
- _j = _a.theme,
22093
- theme = _j === void 0 ? 'default' : _j,
22147
+ _k = _a.theme,
22148
+ theme = _k === void 0 ? 'default' : _k,
22094
22149
  assets = _a.assets,
22095
22150
  classNames = _a.classNames,
22096
22151
  colors = _a.colors,
22097
22152
  verbiage = _a.verbiage,
22098
- _k = _a.geolocationEnabled,
22099
- geolocationEnabled = _k === void 0 ? true : _k,
22100
- _l = _a.geolocationRequired,
22101
- geolocationRequired = _l === void 0 ? false : _l,
22102
- _m = _a.debugMode,
22103
- debugMode = _m === void 0 ? false : _m;
22153
+ _l = _a.geolocationEnabled,
22154
+ geolocationEnabled = _l === void 0 ? true : _l,
22155
+ _m = _a.geolocationRequired,
22156
+ geolocationRequired = _m === void 0 ? false : _m,
22157
+ _o = _a.debugMode,
22158
+ debugMode = _o === void 0 ? false : _o;
22104
22159
  useLanguage(lang);
22105
22160
  useDebugLogging(debugMode);
22106
22161
  var faceLivenessProps = React.useMemo(function () {
@@ -22173,6 +22228,8 @@ var FaceValidation = function FaceValidation(_a) {
22173
22228
  faceLivenessProps: faceLivenessProps,
22174
22229
  onCameraAccessDenied: onCameraAccessDenied,
22175
22230
  onCameraTamperingDetected: onCameraTamperingDetected,
22231
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
22232
+ enableTamperDetection: enableTamperDetection,
22176
22233
  mediaIntegrityToken: mediaIntegrityToken,
22177
22234
  debugMode: debugMode
22178
22235
  })))));
@@ -22278,29 +22335,32 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
22278
22335
  onSelfieCaptureModelError = _a.onSelfieCaptureModelError,
22279
22336
  onCameraAccessDenied = _a.onCameraAccessDenied,
22280
22337
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
22338
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
22339
+ _y = _a.enableTamperDetection,
22340
+ enableTamperDetection = _y === void 0 ? false : _y,
22281
22341
  mediaIntegrityToken = _a.mediaIntegrityToken,
22282
- _y = _a.captureSignature,
22283
- captureSignature = _y === void 0 ? false : _y,
22284
- _z = _a.captureSignatureVideo,
22285
- captureSignatureVideo = _z === void 0 ? false : _z,
22286
- _0 = _a.captureAdditionalDocuments,
22287
- captureAdditionalDocuments = _0 === void 0 ? [] : _0,
22288
- _1 = _a.theme,
22289
- theme = _1 === void 0 ? 'default' : _1,
22290
- _2 = _a.assets,
22291
- assets = _2 === void 0 ? {} : _2,
22292
- _3 = _a.classNames,
22293
- classNames = _3 === void 0 ? {} : _3,
22294
- _4 = _a.colors,
22295
- colors = _4 === void 0 ? {} : _4,
22296
- _5 = _a.verbiage,
22297
- verbiage = _5 === void 0 ? {} : _5,
22298
- _6 = _a.geolocationEnabled,
22299
- geolocationEnabled = _6 === void 0 ? true : _6,
22300
- _7 = _a.geolocationRequired,
22301
- geolocationRequired = _7 === void 0 ? false : _7,
22302
- _8 = _a.debugMode,
22303
- debugMode = _8 === void 0 ? false : _8;
22342
+ _z = _a.captureSignature,
22343
+ captureSignature = _z === void 0 ? false : _z,
22344
+ _0 = _a.captureSignatureVideo,
22345
+ captureSignatureVideo = _0 === void 0 ? false : _0,
22346
+ _1 = _a.captureAdditionalDocuments,
22347
+ captureAdditionalDocuments = _1 === void 0 ? [] : _1,
22348
+ _2 = _a.theme,
22349
+ theme = _2 === void 0 ? 'default' : _2,
22350
+ _3 = _a.assets,
22351
+ assets = _3 === void 0 ? {} : _3,
22352
+ _4 = _a.classNames,
22353
+ classNames = _4 === void 0 ? {} : _4,
22354
+ _5 = _a.colors,
22355
+ colors = _5 === void 0 ? {} : _5,
22356
+ _6 = _a.verbiage,
22357
+ verbiage = _6 === void 0 ? {} : _6,
22358
+ _7 = _a.geolocationEnabled,
22359
+ geolocationEnabled = _7 === void 0 ? true : _7,
22360
+ _8 = _a.geolocationRequired,
22361
+ geolocationRequired = _8 === void 0 ? false : _8,
22362
+ _9 = _a.debugMode,
22363
+ debugMode = _9 === void 0 ? false : _9;
22304
22364
  useLanguage(lang);
22305
22365
  useDebugLogging(debugMode);
22306
22366
  var idCaptureProps = React.useMemo(function () {
@@ -22456,6 +22516,8 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
22456
22516
  captureSignatureVideo: captureSignatureVideo,
22457
22517
  onCameraAccessDenied: onCameraAccessDenied,
22458
22518
  onCameraTamperingDetected: onCameraTamperingDetected,
22519
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
22520
+ enableTamperDetection: enableTamperDetection,
22459
22521
  mediaIntegrityToken: mediaIntegrityToken,
22460
22522
  debugMode: debugMode
22461
22523
  })))));
@@ -22564,32 +22626,35 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
22564
22626
  onSelfieCaptureModelError = _a.onSelfieCaptureModelError,
22565
22627
  onCameraAccessDenied = _a.onCameraAccessDenied,
22566
22628
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
22629
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
22630
+ _y = _a.enableTamperDetection,
22631
+ enableTamperDetection = _y === void 0 ? false : _y,
22567
22632
  mediaIntegrityToken = _a.mediaIntegrityToken,
22568
- _y = _a.captureSignature,
22569
- captureSignature = _y === void 0 ? false : _y,
22570
- _z = _a.captureSignatureVideo,
22571
- captureSignatureVideo = _z === void 0 ? false : _z,
22572
- _0 = _a.captureAdditionalDocuments,
22573
- captureAdditionalDocuments = _0 === void 0 ? [] : _0,
22574
- _1 = _a.captureVideoId,
22575
- captureVideoId = _1 === void 0 ? false : _1,
22633
+ _z = _a.captureSignature,
22634
+ captureSignature = _z === void 0 ? false : _z,
22635
+ _0 = _a.captureSignatureVideo,
22636
+ captureSignatureVideo = _0 === void 0 ? false : _0,
22637
+ _1 = _a.captureAdditionalDocuments,
22638
+ captureAdditionalDocuments = _1 === void 0 ? [] : _1,
22639
+ _2 = _a.captureVideoId,
22640
+ captureVideoId = _2 === void 0 ? false : _2,
22576
22641
  captureVideoIdProps = _a.captureVideoIdProps,
22577
- _2 = _a.theme,
22578
- theme = _2 === void 0 ? 'default' : _2,
22579
- _3 = _a.assets,
22580
- assets = _3 === void 0 ? {} : _3,
22581
- _4 = _a.classNames,
22582
- classNames = _4 === void 0 ? {} : _4,
22583
- _5 = _a.colors,
22584
- colors = _5 === void 0 ? {} : _5,
22585
- _6 = _a.verbiage,
22586
- verbiage = _6 === void 0 ? {} : _6,
22587
- _7 = _a.geolocationEnabled,
22588
- geolocationEnabled = _7 === void 0 ? true : _7,
22589
- _8 = _a.geolocationRequired,
22590
- geolocationRequired = _8 === void 0 ? false : _8,
22591
- _9 = _a.debugMode,
22592
- debugMode = _9 === void 0 ? false : _9;
22642
+ _3 = _a.theme,
22643
+ theme = _3 === void 0 ? 'default' : _3,
22644
+ _4 = _a.assets,
22645
+ assets = _4 === void 0 ? {} : _4,
22646
+ _5 = _a.classNames,
22647
+ classNames = _5 === void 0 ? {} : _5,
22648
+ _6 = _a.colors,
22649
+ colors = _6 === void 0 ? {} : _6,
22650
+ _7 = _a.verbiage,
22651
+ verbiage = _7 === void 0 ? {} : _7,
22652
+ _8 = _a.geolocationEnabled,
22653
+ geolocationEnabled = _8 === void 0 ? true : _8,
22654
+ _9 = _a.geolocationRequired,
22655
+ geolocationRequired = _9 === void 0 ? false : _9,
22656
+ _10 = _a.debugMode,
22657
+ debugMode = _10 === void 0 ? false : _10;
22593
22658
  useLanguage(lang);
22594
22659
  useDebugLogging(debugMode);
22595
22660
  var idCaptureProps = React.useMemo(function () {
@@ -22764,6 +22829,8 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
22764
22829
  captureSignatureVideo: captureSignatureVideo,
22765
22830
  onCameraAccessDenied: onCameraAccessDenied,
22766
22831
  onCameraTamperingDetected: onCameraTamperingDetected,
22832
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
22833
+ enableTamperDetection: enableTamperDetection,
22767
22834
  mediaIntegrityToken: mediaIntegrityToken,
22768
22835
  debugMode: debugMode
22769
22836
  })))));
@@ -23280,13 +23347,16 @@ var CustomerVerification = function CustomerVerification(_a) {
23280
23347
  onModelError = _a.onModelError,
23281
23348
  onCameraAccessDenied = _a.onCameraAccessDenied,
23282
23349
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
23350
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
23351
+ _h = _a.enableTamperDetection,
23352
+ enableTamperDetection = _h === void 0 ? false : _h,
23283
23353
  mediaIntegrityToken = _a.mediaIntegrityToken,
23284
- _h = _a.geolocationEnabled,
23285
- geolocationEnabled = _h === void 0 ? true : _h,
23286
- _j = _a.geolocationRequired,
23287
- geolocationRequired = _j === void 0 ? false : _j,
23288
- _k = _a.debugMode,
23289
- debugMode = _k === void 0 ? false : _k;
23354
+ _j = _a.geolocationEnabled,
23355
+ geolocationEnabled = _j === void 0 ? true : _j,
23356
+ _k = _a.geolocationRequired,
23357
+ geolocationRequired = _k === void 0 ? false : _k,
23358
+ _l = _a.debugMode,
23359
+ debugMode = _l === void 0 ? false : _l;
23290
23360
  useLanguage(lang);
23291
23361
  useDebugLogging(debugMode);
23292
23362
  return /*#__PURE__*/React__namespace.default.createElement(AuthProvider, {
@@ -23326,6 +23396,8 @@ var CustomerVerification = function CustomerVerification(_a) {
23326
23396
  preferFrontFacingCamera: true,
23327
23397
  onCameraAccessDenied: onCameraAccessDenied,
23328
23398
  onCameraTamperingDetected: onCameraTamperingDetected,
23399
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
23400
+ enableTamperDetection: enableTamperDetection,
23329
23401
  mediaIntegrityToken: mediaIntegrityToken,
23330
23402
  classNames: classNames === null || classNames === void 0 ? void 0 : classNames.cameraStoreProvider,
23331
23403
  verbiage: verbiage === null || verbiage === void 0 ? void 0 : verbiage.cameraStoreProvider
@@ -23860,18 +23932,21 @@ var CustomerIdentification = function CustomerIdentification(_a) {
23860
23932
  onModelError = _a.onModelError,
23861
23933
  onCameraAccessDenied = _a.onCameraAccessDenied,
23862
23934
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
23935
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
23936
+ _g = _a.enableTamperDetection,
23937
+ enableTamperDetection = _g === void 0 ? false : _g,
23863
23938
  mediaIntegrityToken = _a.mediaIntegrityToken,
23864
- _g = _a.theme,
23865
- theme = _g === void 0 ? 'default' : _g,
23939
+ _h = _a.theme,
23940
+ theme = _h === void 0 ? 'default' : _h,
23866
23941
  assets = _a.assets,
23867
23942
  classNames = _a.classNames,
23868
23943
  colors = _a.colors,
23869
23944
  verbiage = _a.verbiage,
23870
23945
  geolocationEnabled = _a.geolocationEnabled,
23871
- _h = _a.geolocationRequired,
23872
- geolocationRequired = _h === void 0 ? false : _h,
23873
- _j = _a.debugMode,
23874
- debugMode = _j === void 0 ? false : _j;
23946
+ _j = _a.geolocationRequired,
23947
+ geolocationRequired = _j === void 0 ? false : _j,
23948
+ _k = _a.debugMode,
23949
+ debugMode = _k === void 0 ? false : _k;
23875
23950
  useLanguage(lang);
23876
23951
  useDebugLogging(debugMode);
23877
23952
  return /*#__PURE__*/React__namespace.default.createElement(AuthProvider, {
@@ -23910,6 +23985,8 @@ var CustomerIdentification = function CustomerIdentification(_a) {
23910
23985
  preferFrontFacingCamera: true,
23911
23986
  onCameraAccessDenied: onCameraAccessDenied,
23912
23987
  onCameraTamperingDetected: onCameraTamperingDetected,
23988
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
23989
+ enableTamperDetection: enableTamperDetection,
23913
23990
  mediaIntegrityToken: mediaIntegrityToken,
23914
23991
  classNames: classNames === null || classNames === void 0 ? void 0 : classNames.cameraStoreProvider,
23915
23992
  verbiage: verbiage === null || verbiage === void 0 ? void 0 : verbiage.cameraStoreProvider
@@ -23972,52 +24049,55 @@ function SignatureKYCComponent(_a, ref) {
23972
24049
  onModelError = _a.onModelError,
23973
24050
  onCameraAccessDenied = _a.onCameraAccessDenied,
23974
24051
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
24052
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
24053
+ _c = _a.enableTamperDetection,
24054
+ enableTamperDetection = _c === void 0 ? false : _c,
23975
24055
  mediaIntegrityToken = _a.mediaIntegrityToken,
23976
24056
  onLoadingOverlayDismissed = _a.onLoadingOverlayDismissed,
23977
- _c = _a.loadingOverlayMode,
23978
- loadingOverlayMode = _c === void 0 ? 'default' : _c,
24057
+ _d = _a.loadingOverlayMode,
24058
+ loadingOverlayMode = _d === void 0 ? 'default' : _d,
23979
24059
  customOverlayContent = _a.customOverlayContent,
23980
- _d = _a.skipSuccessScreen,
23981
- skipSuccessScreen = _d === void 0 ? false : _d,
23982
- _e = _a.captureAudio,
23983
- captureAudio = _e === void 0 ? false : _e,
24060
+ _e = _a.skipSuccessScreen,
24061
+ skipSuccessScreen = _e === void 0 ? false : _e,
24062
+ _f = _a.captureAudio,
24063
+ captureAudio = _f === void 0 ? false : _f,
23984
24064
  idCardForFaceMatch = _a.idCardForFaceMatch,
23985
- _f = _a.minSignaturePadPoints,
23986
- minSignaturePadPoints = _f === void 0 ? DEFAULT_MIN_SIGNATURE_PAD_POINTS : _f,
23987
- _g = _a.headTrackingDisabled,
23988
- headTrackingDisabled = _g === void 0 ? false : _g,
23989
- _h = _a.headTrackingBoundaryPercentage,
23990
- headTrackingBoundaryPercentage = _h === void 0 ? DEFAULT_HEAD_TRACKING_BOUNDARY_PERCENTAGE : _h,
23991
- _j = _a.headTrackingBoundaryType,
23992
- headTrackingBoundaryType = _j === void 0 ? DEFAULT_HEAD_TRACKING_BOUNDARY_TYPE : _j,
23993
- _k = _a.modelLoadTimeoutMs,
23994
- modelLoadTimeoutMs = _k === void 0 ? defaultSelfieCaptureModelLoadTimeoutMs : _k,
23995
- _l = _a.allowSignatureAfterLivenessCheckFailure,
23996
- allowSignatureAfterLivenessCheckFailure = _l === void 0 ? false : _l,
23997
- _m = _a.restartVideoOnSignaturePadCleared,
23998
- restartVideoOnSignaturePadCleared = _m === void 0 ? true : _m,
24065
+ _g = _a.minSignaturePadPoints,
24066
+ minSignaturePadPoints = _g === void 0 ? DEFAULT_MIN_SIGNATURE_PAD_POINTS : _g,
24067
+ _h = _a.headTrackingDisabled,
24068
+ headTrackingDisabled = _h === void 0 ? false : _h,
24069
+ _j = _a.headTrackingBoundaryPercentage,
24070
+ headTrackingBoundaryPercentage = _j === void 0 ? DEFAULT_HEAD_TRACKING_BOUNDARY_PERCENTAGE : _j,
24071
+ _k = _a.headTrackingBoundaryType,
24072
+ headTrackingBoundaryType = _k === void 0 ? DEFAULT_HEAD_TRACKING_BOUNDARY_TYPE : _k,
24073
+ _l = _a.modelLoadTimeoutMs,
24074
+ modelLoadTimeoutMs = _l === void 0 ? defaultSelfieCaptureModelLoadTimeoutMs : _l,
24075
+ _m = _a.allowSignatureAfterLivenessCheckFailure,
24076
+ allowSignatureAfterLivenessCheckFailure = _m === void 0 ? false : _m,
24077
+ _o = _a.restartVideoOnSignaturePadCleared,
24078
+ restartVideoOnSignaturePadCleared = _o === void 0 ? true : _o,
23999
24079
  faceLivenessProps = _a.faceLivenessProps,
24000
- _o = _a.skipLivenessValidation,
24001
- skipLivenessValidation = _o === void 0 ? false : _o,
24002
- _p = _a.allowManualSelfieCaptureOnLoadingError,
24003
- allowManualSelfieCaptureOnLoadingError = _p === void 0 ? false : _p,
24080
+ _p = _a.skipLivenessValidation,
24081
+ skipLivenessValidation = _p === void 0 ? false : _p,
24082
+ _q = _a.allowManualSelfieCaptureOnLoadingError,
24083
+ allowManualSelfieCaptureOnLoadingError = _q === void 0 ? false : _q,
24004
24084
  guidesComponent = _a.guidesComponent,
24005
- _q = _a.showFaceGuideThenSignaturePad,
24006
- showFaceGuideThenSignaturePad = _q === void 0 ? false : _q,
24085
+ _r = _a.showFaceGuideThenSignaturePad,
24086
+ showFaceGuideThenSignaturePad = _r === void 0 ? false : _r,
24007
24087
  minCaptureBrightnessThreshold = _a.minCaptureBrightnessThreshold,
24008
24088
  minCaptureRangeThreshold = _a.minCaptureRangeThreshold,
24009
24089
  minCaptureVarianceThreshold = _a.minCaptureVarianceThreshold,
24010
- _r = _a.theme,
24011
- theme = _r === void 0 ? 'default' : _r,
24090
+ _s = _a.theme,
24091
+ theme = _s === void 0 ? 'default' : _s,
24012
24092
  classNames = _a.classNames,
24013
24093
  colors = _a.colors,
24014
24094
  verbiage = _a.verbiage,
24015
24095
  geolocationEnabled = _a.geolocationEnabled,
24016
24096
  geolocationRequired = _a.geolocationRequired,
24017
- _s = _a.debugMode,
24018
- debugMode = _s === void 0 ? false : _s,
24019
- _t = _a.debugShowSamplePoints,
24020
- debugShowSamplePoints = _t === void 0 ? false : _t;
24097
+ _t = _a.debugMode,
24098
+ debugMode = _t === void 0 ? false : _t,
24099
+ _u = _a.debugShowSamplePoints,
24100
+ debugShowSamplePoints = _u === void 0 ? false : _u;
24021
24101
  useLanguage(lang);
24022
24102
  useDebugLogging(debugMode);
24023
24103
  return /*#__PURE__*/React__namespace.default.createElement(AuthProvider, {
@@ -24056,6 +24136,8 @@ function SignatureKYCComponent(_a, ref) {
24056
24136
  }, []),
24057
24137
  onCameraAccessDenied: onCameraAccessDenied,
24058
24138
  onCameraTamperingDetected: onCameraTamperingDetected,
24139
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
24140
+ enableTamperDetection: enableTamperDetection,
24059
24141
  mediaIntegrityToken: mediaIntegrityToken,
24060
24142
  videoSignatureCaptureProps: React.useMemo(function () {
24061
24143
  return {
@@ -24152,75 +24234,78 @@ var VideoIdValidation = function VideoIdValidation(_a) {
24152
24234
  onUserCancel = _a.onUserCancel,
24153
24235
  onCameraAccessDenied = _a.onCameraAccessDenied,
24154
24236
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
24237
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
24238
+ _c = _a.enableTamperDetection,
24239
+ enableTamperDetection = _c === void 0 ? false : _c,
24155
24240
  mediaIntegrityToken = _a.mediaIntegrityToken,
24156
24241
  onMicrophoneAccessDenied = _a.onMicrophoneAccessDenied,
24157
24242
  idCaptureProps = _a.idCaptureProps,
24158
24243
  faceLivenessProps = _a.faceLivenessProps,
24159
- _c = _a.idCaptureModelsEnabled,
24160
- idCaptureModelsEnabled = _c === void 0 ? true : _c,
24161
- _d = _a.videoIdCaptureThresholds,
24162
- videoIdCaptureThresholds = _d === void 0 ? defaultVideoIdCaptureThresholds : _d,
24244
+ _d = _a.idCaptureModelsEnabled,
24245
+ idCaptureModelsEnabled = _d === void 0 ? true : _d,
24246
+ _e = _a.videoIdCaptureThresholds,
24247
+ videoIdCaptureThresholds = _e === void 0 ? defaultVideoIdCaptureThresholds : _e,
24163
24248
  readTextPrompt = _a.readTextPrompt,
24164
- _e = _a.readTextTimeoutDurationMs,
24165
- readTextTimeoutDurationMs = _e === void 0 ? 15000 : _e,
24166
- _f = _a.readTextMinReadingMs,
24167
- readTextMinReadingMs = _f === void 0 ? 10000 : _f,
24168
- _g = _a.skipSuccessScreen,
24169
- skipSuccessScreen = _g === void 0 ? false : _g,
24170
- _h = _a.skipIdCapture,
24171
- skipIdCapture = _h === void 0 ? false : _h,
24172
- _j = _a.skipShowIdCardBack,
24173
- skipShowIdCardBack = _j === void 0 ? false : _j,
24174
- _k = _a.idCaptureLoadingOverlayMode,
24175
- idCaptureLoadingOverlayMode = _k === void 0 ? 'default' : _k,
24249
+ _f = _a.readTextTimeoutDurationMs,
24250
+ readTextTimeoutDurationMs = _f === void 0 ? 15000 : _f,
24251
+ _g = _a.readTextMinReadingMs,
24252
+ readTextMinReadingMs = _g === void 0 ? 10000 : _g,
24253
+ _h = _a.skipSuccessScreen,
24254
+ skipSuccessScreen = _h === void 0 ? false : _h,
24255
+ _j = _a.skipIdCapture,
24256
+ skipIdCapture = _j === void 0 ? false : _j,
24257
+ _k = _a.skipShowIdCardBack,
24258
+ skipShowIdCardBack = _k === void 0 ? false : _k,
24259
+ _l = _a.idCaptureLoadingOverlayMode,
24260
+ idCaptureLoadingOverlayMode = _l === void 0 ? 'default' : _l,
24176
24261
  customOverlayContent = _a.customOverlayContent,
24177
24262
  onLoadingOverlayDismissed = _a.onLoadingOverlayDismissed,
24178
- _l = _a.idCaptureGuideType,
24179
- idCaptureGuideType = _l === void 0 ? 'fit' : _l,
24180
- _m = _a.idCaptureGuideImages,
24181
- idCaptureGuideImages = _m === void 0 ? defaultIdCaptureGuideImages : _m,
24182
- _o = _a.idCapturePortraitGuidesOnMobile,
24183
- idCapturePortraitGuidesOnMobile = _o === void 0 ? true : _o,
24184
- _p = _a.idCaptureRotateLoadingOverlayImageWhenPortrait,
24185
- idCaptureRotateLoadingOverlayImageWhenPortrait = _p === void 0 ? true : _p,
24263
+ _m = _a.idCaptureGuideType,
24264
+ idCaptureGuideType = _m === void 0 ? 'fit' : _m,
24265
+ _o = _a.idCaptureGuideImages,
24266
+ idCaptureGuideImages = _o === void 0 ? defaultIdCaptureGuideImages : _o,
24267
+ _p = _a.idCapturePortraitGuidesOnMobile,
24268
+ idCapturePortraitGuidesOnMobile = _p === void 0 ? true : _p,
24269
+ _q = _a.idCaptureRotateLoadingOverlayImageWhenPortrait,
24270
+ idCaptureRotateLoadingOverlayImageWhenPortrait = _q === void 0 ? true : _q,
24186
24271
  documentEdgeDistancePct = _a.documentEdgeDistancePct,
24187
24272
  idCardForFaceMatch = _a.idCardForFaceMatch,
24188
- _q = _a.idDocumentType,
24189
- idDocumentType = _q === void 0 ? 'idCardOrPassport' : _q,
24190
- _r = _a.faceLivenessLoadingOverlayMode,
24191
- faceLivenessLoadingOverlayMode = _r === void 0 ? 'default' : _r,
24192
- _s = _a.disableFaceDetectionWhileAudioCapture,
24193
- disableFaceDetectionWhileAudioCapture = _s === void 0 ? false : _s,
24194
- _t = _a.disableFaceDetectionWhileAudioCaptureMsDelay,
24195
- disableFaceDetectionWhileAudioCaptureMsDelay = _t === void 0 ? 2000 : _t,
24196
- _u = _a.silentFallback,
24197
- silentFallback = _u === void 0 ? false : _u,
24198
- _v = _a.mergeAVStreams,
24199
- mergeAVStreams = _v === void 0 ? false : _v,
24200
- _w = _a.matchOnly,
24201
- matchOnly = _w === void 0 ? false : _w,
24202
- _x = _a.theme,
24203
- theme = _x === void 0 ? 'default' : _x,
24204
- _y = _a.assets,
24205
- assets = _y === void 0 ? {} : _y,
24206
- _z = _a.classNames,
24207
- classNames = _z === void 0 ? {} : _z,
24208
- _0 = _a.colors,
24209
- colors = _0 === void 0 ? {} : _0,
24210
- _1 = _a.verbiage,
24211
- verbiage = _1 === void 0 ? {} : _1,
24212
- _2 = _a.captureSignature,
24213
- captureSignature = _2 === void 0 ? false : _2,
24214
- _3 = _a.captureSignatureVideo,
24215
- captureSignatureVideo = _3 === void 0 ? false : _3,
24216
- _4 = _a.captureAdditionalDocuments,
24217
- captureAdditionalDocuments = _4 === void 0 ? [] : _4,
24218
- _5 = _a.geolocationEnabled,
24219
- geolocationEnabled = _5 === void 0 ? true : _5,
24220
- _6 = _a.geolocationRequired,
24221
- geolocationRequired = _6 === void 0 ? false : _6,
24222
- _7 = _a.debugMode,
24223
- debugMode = _7 === void 0 ? false : _7;
24273
+ _r = _a.idDocumentType,
24274
+ idDocumentType = _r === void 0 ? 'idCardOrPassport' : _r,
24275
+ _s = _a.faceLivenessLoadingOverlayMode,
24276
+ faceLivenessLoadingOverlayMode = _s === void 0 ? 'default' : _s,
24277
+ _t = _a.disableFaceDetectionWhileAudioCapture,
24278
+ disableFaceDetectionWhileAudioCapture = _t === void 0 ? false : _t,
24279
+ _u = _a.disableFaceDetectionWhileAudioCaptureMsDelay,
24280
+ disableFaceDetectionWhileAudioCaptureMsDelay = _u === void 0 ? 2000 : _u,
24281
+ _v = _a.silentFallback,
24282
+ silentFallback = _v === void 0 ? false : _v,
24283
+ _w = _a.mergeAVStreams,
24284
+ mergeAVStreams = _w === void 0 ? false : _w,
24285
+ _x = _a.matchOnly,
24286
+ matchOnly = _x === void 0 ? false : _x,
24287
+ _y = _a.theme,
24288
+ theme = _y === void 0 ? 'default' : _y,
24289
+ _z = _a.assets,
24290
+ assets = _z === void 0 ? {} : _z,
24291
+ _0 = _a.classNames,
24292
+ classNames = _0 === void 0 ? {} : _0,
24293
+ _1 = _a.colors,
24294
+ colors = _1 === void 0 ? {} : _1,
24295
+ _2 = _a.verbiage,
24296
+ verbiage = _2 === void 0 ? {} : _2,
24297
+ _3 = _a.captureSignature,
24298
+ captureSignature = _3 === void 0 ? false : _3,
24299
+ _4 = _a.captureSignatureVideo,
24300
+ captureSignatureVideo = _4 === void 0 ? false : _4,
24301
+ _5 = _a.captureAdditionalDocuments,
24302
+ captureAdditionalDocuments = _5 === void 0 ? [] : _5,
24303
+ _6 = _a.geolocationEnabled,
24304
+ geolocationEnabled = _6 === void 0 ? true : _6,
24305
+ _7 = _a.geolocationRequired,
24306
+ geolocationRequired = _7 === void 0 ? false : _7,
24307
+ _8 = _a.debugMode,
24308
+ debugMode = _8 === void 0 ? false : _8;
24224
24309
  useLanguage(lang);
24225
24310
  useDebugLogging(debugMode);
24226
24311
  var mergedIdCaptureProps = React.useMemo(function () {
@@ -24351,6 +24436,8 @@ var VideoIdValidation = function VideoIdValidation(_a) {
24351
24436
  captureSignatureVideo: captureSignatureVideo,
24352
24437
  onCameraAccessDenied: onCameraAccessDenied,
24353
24438
  onCameraTamperingDetected: onCameraTamperingDetected,
24439
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
24440
+ enableTamperDetection: enableTamperDetection,
24354
24441
  mediaIntegrityToken: mediaIntegrityToken,
24355
24442
  onMicrophoneAccessDenied: onMicrophoneAccessDenied,
24356
24443
  debugMode: debugMode
@@ -24414,29 +24501,32 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
24414
24501
  onModelError = _a.onModelError,
24415
24502
  onCameraAccessDenied = _a.onCameraAccessDenied,
24416
24503
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
24504
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
24505
+ _h = _a.enableTamperDetection,
24506
+ enableTamperDetection = _h === void 0 ? false : _h,
24417
24507
  mediaIntegrityToken = _a.mediaIntegrityToken,
24418
- _h = _a.captureAdditionalDocuments,
24419
- captureAdditionalDocuments = _h === void 0 ? [] : _h,
24420
- _j = _a.captureSignature,
24421
- captureSignature = _j === void 0 ? false : _j,
24422
- _k = _a.captureSignatureVideo,
24423
- captureSignatureVideo = _k === void 0 ? false : _k,
24424
- _l = _a.theme,
24425
- theme = _l === void 0 ? 'default' : _l,
24426
- _m = _a.assets,
24427
- assets = _m === void 0 ? {} : _m,
24428
- _o = _a.classNames,
24429
- classNames = _o === void 0 ? {} : _o,
24430
- _p = _a.colors,
24431
- colors = _p === void 0 ? {} : _p,
24432
- _q = _a.verbiage,
24433
- verbiage = _q === void 0 ? {} : _q,
24434
- _r = _a.geolocationEnabled,
24435
- geolocationEnabled = _r === void 0 ? true : _r,
24436
- _s = _a.geolocationRequired,
24437
- geolocationRequired = _s === void 0 ? false : _s,
24438
- _t = _a.debugMode,
24439
- debugMode = _t === void 0 ? false : _t;
24508
+ _j = _a.captureAdditionalDocuments,
24509
+ captureAdditionalDocuments = _j === void 0 ? [] : _j,
24510
+ _k = _a.captureSignature,
24511
+ captureSignature = _k === void 0 ? false : _k,
24512
+ _l = _a.captureSignatureVideo,
24513
+ captureSignatureVideo = _l === void 0 ? false : _l,
24514
+ _m = _a.theme,
24515
+ theme = _m === void 0 ? 'default' : _m,
24516
+ _o = _a.assets,
24517
+ assets = _o === void 0 ? {} : _o,
24518
+ _p = _a.classNames,
24519
+ classNames = _p === void 0 ? {} : _p,
24520
+ _q = _a.colors,
24521
+ colors = _q === void 0 ? {} : _q,
24522
+ _r = _a.verbiage,
24523
+ verbiage = _r === void 0 ? {} : _r,
24524
+ _s = _a.geolocationEnabled,
24525
+ geolocationEnabled = _s === void 0 ? true : _s,
24526
+ _t = _a.geolocationRequired,
24527
+ geolocationRequired = _t === void 0 ? false : _t,
24528
+ _u = _a.debugMode,
24529
+ debugMode = _u === void 0 ? false : _u;
24440
24530
  useLanguage(lang);
24441
24531
  useDebugLogging(debugMode);
24442
24532
  var faceLivenessProps = React.useMemo(function () {
@@ -24545,6 +24635,8 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
24545
24635
  captureSignatureVideo: captureSignatureVideo,
24546
24636
  onCameraAccessDenied: onCameraAccessDenied,
24547
24637
  onCameraTamperingDetected: onCameraTamperingDetected,
24638
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
24639
+ enableTamperDetection: enableTamperDetection,
24548
24640
  mediaIntegrityToken: mediaIntegrityToken,
24549
24641
  debugMode: debugMode
24550
24642
  })))));
@@ -24576,24 +24668,27 @@ var DocumentCapture = function DocumentCapture(_a) {
24576
24668
  onUserCancel = _a.onUserCancel,
24577
24669
  onCameraAccessDenied = _a.onCameraAccessDenied,
24578
24670
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
24671
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
24672
+ _c = _a.enableTamperDetection,
24673
+ enableTamperDetection = _c === void 0 ? false : _c,
24579
24674
  mediaIntegrityToken = _a.mediaIntegrityToken,
24580
- _c = _a.documents,
24581
- documents = _c === void 0 ? [] : _c,
24675
+ _d = _a.documents,
24676
+ documents = _d === void 0 ? [] : _d,
24582
24677
  aspectRatio = _a.aspectRatio,
24583
24678
  cameraFeedMode = _a.cameraFeedMode,
24584
24679
  instructions = _a.instructions,
24585
- _d = _a.theme,
24586
- theme = _d === void 0 ? 'default' : _d,
24587
- _e = _a.classNames,
24588
- classNames = _e === void 0 ? {} : _e,
24589
- _f = _a.verbiage,
24590
- verbiage = _f === void 0 ? {} : _f,
24591
- _g = _a.geolocationEnabled,
24592
- geolocationEnabled = _g === void 0 ? true : _g,
24593
- _h = _a.geolocationRequired,
24594
- geolocationRequired = _h === void 0 ? false : _h,
24595
- _j = _a.debugMode,
24596
- debugMode = _j === void 0 ? false : _j;
24680
+ _e = _a.theme,
24681
+ theme = _e === void 0 ? 'default' : _e,
24682
+ _f = _a.classNames,
24683
+ classNames = _f === void 0 ? {} : _f,
24684
+ _g = _a.verbiage,
24685
+ verbiage = _g === void 0 ? {} : _g,
24686
+ _h = _a.geolocationEnabled,
24687
+ geolocationEnabled = _h === void 0 ? true : _h,
24688
+ _j = _a.geolocationRequired,
24689
+ geolocationRequired = _j === void 0 ? false : _j,
24690
+ _k = _a.debugMode,
24691
+ debugMode = _k === void 0 ? false : _k;
24597
24692
  useLanguage(lang);
24598
24693
  useDebugLogging(debugMode);
24599
24694
  return /*#__PURE__*/React__namespace.default.createElement(AuthProvider, {
@@ -24623,6 +24718,8 @@ var DocumentCapture = function DocumentCapture(_a) {
24623
24718
  preferIphoneContinuityCamera: true,
24624
24719
  onCameraAccessDenied: onCameraAccessDenied,
24625
24720
  onCameraTamperingDetected: onCameraTamperingDetected,
24721
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
24722
+ enableTamperDetection: enableTamperDetection,
24626
24723
  mediaIntegrityToken: mediaIntegrityToken,
24627
24724
  classNames: classNames === null || classNames === void 0 ? void 0 : classNames.cameraStoreProvider,
24628
24725
  verbiage: verbiage === null || verbiage === void 0 ? void 0 : verbiage.cameraStoreProvider