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
@@ -211,7 +211,7 @@
211
211
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
212
212
  };
213
213
 
214
- var webSdkVersion = '2.3.198';
214
+ var webSdkVersion = '2.3.199';
215
215
 
216
216
  function getPlatform() {
217
217
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -508,9 +508,9 @@
508
508
 
509
509
  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"])));
510
510
  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"])));
511
- 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"])));
511
+ 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"])));
512
512
  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"])));
513
- var templateObject_1$S, templateObject_2$N, templateObject_3$z, templateObject_4$t;
513
+ var templateObject_1$S, templateObject_2$N, templateObject_3$A, templateObject_4$t;
514
514
 
515
515
  var OverlayContainer = styled.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) {
516
516
  return props.theme.background ? "".concat(props.theme.background) : "white";
@@ -523,7 +523,7 @@
523
523
  }, function (props) {
524
524
  return props.theme.padding ? "box-sizing: border-box; padding: ".concat(props.theme.padding, ";") : "";
525
525
  });
526
- var OverlayImageContainer = styled.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"])));
526
+ var OverlayImageContainer = styled.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"])));
527
527
  var OverlayImageRow = styled.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"])));
528
528
  var GrayOverlayContainer = styled(OverlayContainer)(templateObject_5$l || (templateObject_5$l = __makeTemplateObject(["\n background: #f7f6fb;\n"], ["\n background: #f7f6fb;\n"])));
529
529
  var ButtonsColumn = styled.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"])));
@@ -565,7 +565,7 @@
565
565
  var LoadingOverlayProgressContainer = styled.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"])));
566
566
  var LoadingOverlayCustomLoadingGraphic = styled.img(templateObject_21$2 || (templateObject_21$2 = __makeTemplateObject(["\n transform-style: preserve-3d;\n"], ["\n transform-style: preserve-3d;\n"])));
567
567
  var LoadingOverlayContinueButtonContainer = styled.div(templateObject_22$2 || (templateObject_22$2 = __makeTemplateObject(["\n display: flex;\n"], ["\n display: flex;\n"])));
568
- 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;
568
+ 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;
569
569
 
570
570
  function _extends() {
571
571
  return _extends = Object.assign ? Object.assign.bind() : function (n) {
@@ -1111,7 +1111,7 @@
1111
1111
  };
1112
1112
  var ErrorContainer = styled.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"])));
1113
1113
  var ErrorIcon = styled.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"])));
1114
- var Heading$b = styled.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"])));
1114
+ var Heading$b = styled.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"])));
1115
1115
  var Message$1 = styled.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"])));
1116
1116
  var StatusBadge$1 = styled.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"])));
1117
1117
  var StatusLabel = styled.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"])));
@@ -1122,7 +1122,7 @@
1122
1122
  var CopyButton = styled.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"])));
1123
1123
  var CodeBlock = styled.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"])));
1124
1124
  var RetryContainer = styled.div(templateObject_13$3 || (templateObject_13$3 = __makeTemplateObject(["\n margin-top: 24px;\n"], ["\n margin-top: 24px;\n"])));
1125
- 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;
1125
+ 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;
1126
1126
 
1127
1127
  var SessionIdMissingOverlay = function SessionIdMissingOverlay() {
1128
1128
  return /*#__PURE__*/React.createElement(OverlayContainer, null, /*#__PURE__*/React.createElement(OverlayInner$2, {
@@ -12788,7 +12788,7 @@
12788
12788
  Cancel: 'Cancelar',
12789
12789
  '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',
12790
12790
  'Camera tampering detected': 'Se ha detectado un intento de manipulación de la cámara',
12791
- "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.',
12791
+ "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.',
12792
12792
  'Position your face in the circle and click to capture.': 'Enfoca tu cara en el círculo y da clic en capturar.',
12793
12793
  'Sign here': 'Firma aquí'
12794
12794
  };
@@ -12921,7 +12921,7 @@
12921
12921
  Cancel: 'Abbrechen',
12922
12922
  '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.',
12923
12923
  'Camera tampering detected': 'Kamera manipuliert',
12924
- "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.',
12924
+ "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.',
12925
12925
  'Position your face in the circle and click to capture.': 'Stellen Sie Ihr Gesicht im Kreis ein und klicken Sie auf Erfassen.',
12926
12926
  'Sign here': 'Hier unterschreiben'
12927
12927
  };
@@ -13054,7 +13054,7 @@
13054
13054
  Cancel: 'Annuler',
13055
13055
  '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.",
13056
13056
  'Camera tampering detected': 'Manipulation de la caméra détectée',
13057
- "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.',
13057
+ "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.",
13058
13058
  'Position your face in the circle and click to capture.': 'Positionnez votre visage dans le cercle et cliquez pour capturer.',
13059
13059
  'Sign here': 'Signer ici'
13060
13060
  };
@@ -13187,7 +13187,7 @@
13187
13187
  Cancel: 'Annulla',
13188
13188
  '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.",
13189
13189
  'Camera tampering detected': 'Manipolazione della fotocamera rilevata',
13190
- "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.',
13190
+ "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.",
13191
13191
  'Position your face in the circle and click to capture.': 'Posiziona il tuo volto nel cerchio e clicca per acquisire.',
13192
13192
  'Sign here': 'Firma qui'
13193
13193
  };
@@ -13320,7 +13320,7 @@
13320
13320
  Cancel: 'キャンセル',
13321
13321
  'Upload the back of the ID if it is not included in the front image.': '表面画像に裏面が含まれていない場合は、裏面をアップロードしてください。',
13322
13322
  'Camera tampering detected': 'カメラの操作が検出されました',
13323
- "We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'カメラの操作が検出されました。デバイスを確認し、ページを再読み込みしてください。',
13323
+ "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.": 'ブラウザの拡張機能または他のソフトウェアがカメラへのアクセスを妨げています。ブラウザの拡張機能を無効にするか、ブラウザを最新バージョンに更新するか、別のブラウザに切り替えてください。',
13324
13324
  'Position your face in the circle and click to capture.': '顔を円の中に合わせてクリックして撮影してください。',
13325
13325
  'Sign here': 'ここに署名'
13326
13326
  };
@@ -13453,7 +13453,7 @@
13453
13453
  Cancel: 'Cancelar',
13454
13454
  '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.',
13455
13455
  'Camera tampering detected': 'Manipulação da câmera detectada',
13456
- "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.',
13456
+ "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.',
13457
13457
  'Position your face in the circle and click to capture.': 'Posicione seu rosto no círculo e clique para capturar.',
13458
13458
  'Sign here': 'Assinar aqui'
13459
13459
  };
@@ -13586,7 +13586,7 @@
13586
13586
  Cancel: 'Отменить',
13587
13587
  'Upload the back of the ID if it is not included in the front image.': 'Загрузите заднюю сторону удостоверения, если она не включена в изображение передней стороны.',
13588
13588
  'Camera tampering detected': 'Обнаружена манипуляция с камерой',
13589
- "We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": 'К сожалению, кажется, что камера подвергается манипуляциям. Пожалуйста, проверьте свое устройство и попробуйте снова, перезагрузив страницу.',
13589
+ "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.": 'Расширение браузера или другое программное обеспечение мешает доступу к камере. Попробуйте отключить расширения браузера, обновить браузер до последней версии или переключиться на другой браузер.',
13590
13590
  'Position your face in the circle and click to capture.': 'Поместите свое лицо в круг и нажмите для съемки.',
13591
13591
  'Sign here': 'Подписать здесь'
13592
13592
  };
@@ -13719,7 +13719,7 @@
13719
13719
  Cancel: '取消',
13720
13720
  'Upload the back of the ID if it is not included in the front image.': '如果正面照片没有包含身份证背面,请上传背面照片。',
13721
13721
  'Camera tampering detected': '檢測到相機被篡改',
13722
- "We're sorry, but it looks like the camera is being tampered with. Please check your device and try again by reloading the page.": '很抱歉,看起來相機被篡改了。請檢查您的設備並重新載入頁面。',
13722
+ "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.": '瀏覽器擴充功能或其他軟體正在干擾相機存取。請嘗試停用瀏覽器擴充功能、將瀏覽器更新至最新版本或切換至其他瀏覽器。',
13723
13723
  'Position your face in the circle and click to capture.': '將您的臉部置於圓圈中,點擊拍攝。',
13724
13724
  'Sign here': '在此簽名'
13725
13725
  };
@@ -13831,6 +13831,7 @@
13831
13831
  iphoneContinuityCameraAvailable: false,
13832
13832
  iphoneContinuityCameraDenied: false,
13833
13833
  preferIphoneContinuityCamera: true,
13834
+ enableTamperDetection: false,
13834
13835
  cameraTamperingDetected: false,
13835
13836
  microphoneReady: false,
13836
13837
  microphoneAccessDenied: false
@@ -13871,14 +13872,14 @@
13871
13872
  },
13872
13873
  requestCameraAccess: function requestCameraAccess() {
13873
13874
  return __awaiter(this, void 0, void 0, function () {
13874
- 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;
13875
+ 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;
13875
13876
  var _b, _c, _d, _e;
13876
13877
  return __generator(this, function (_f) {
13877
13878
  switch (_f.label) {
13878
13879
  case 0:
13879
13880
  debug("".concat(LOG_TAG, " requestCameraAccess"), new Error().stack);
13880
- _a = get(), videoRef = _a.videoRef, releaseCameraAccess = _a.releaseCameraAccess, preferFrontFacingCamera = _a.preferFrontFacingCamera, preferIphoneContinuityCamera = _a.preferIphoneContinuityCamera, iphoneContinuityCameraDenied = _a.iphoneContinuityCameraDenied, mediaIntegrityToken = _a.mediaIntegrityToken;
13881
- if (guardGetUserMedia(mediaIntegrityToken)) {
13881
+ _a = get(), videoRef = _a.videoRef, releaseCameraAccess = _a.releaseCameraAccess, preferFrontFacingCamera = _a.preferFrontFacingCamera, preferIphoneContinuityCamera = _a.preferIphoneContinuityCamera, iphoneContinuityCameraDenied = _a.iphoneContinuityCameraDenied, enableTamperDetection = _a.enableTamperDetection, mediaIntegrityToken = _a.mediaIntegrityToken;
13882
+ if (enableTamperDetection && guardGetUserMedia(mediaIntegrityToken)) {
13882
13883
  set({
13883
13884
  cameraTamperingDetected: true
13884
13885
  });
@@ -14100,7 +14101,7 @@
14100
14101
  switch (_a.label) {
14101
14102
  case 0:
14102
14103
  get().releaseMicrophoneAccess();
14103
- if (guardGetUserMedia(get().mediaIntegrityToken)) {
14104
+ if (get().enableTamperDetection && guardGetUserMedia(get().mediaIntegrityToken)) {
14104
14105
  set({
14105
14106
  cameraTamperingDetected: true
14106
14107
  });
@@ -14180,6 +14181,8 @@
14180
14181
  });
14181
14182
  };
14182
14183
  var CameraStoreContext = /*#__PURE__*/React.createContext(undefined);
14184
+ /** Text for the exit button shown when `onExitAfterTamperSealPopped` is bound. */
14185
+ var DEFAULT_EXIT_BUTTON_TEXT = 'Exit';
14183
14186
  function CameraStoreProvider(_a) {
14184
14187
  var _b;
14185
14188
  var children = _a.children,
@@ -14194,14 +14197,17 @@
14194
14197
  maxFps = _a.maxFps,
14195
14198
  onCameraAccessDenied = _a.onCameraAccessDenied,
14196
14199
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
14200
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
14197
14201
  onMicrophoneAccessDenied = _a.onMicrophoneAccessDenied,
14198
14202
  _g = _a.requireMicrophoneAccess,
14199
14203
  requireMicrophoneAccess = _g === void 0 ? false : _g,
14204
+ _h = _a.enableTamperDetection,
14205
+ enableTamperDetection = _h === void 0 ? false : _h,
14200
14206
  mediaIntegrityToken = _a.mediaIntegrityToken,
14201
- _h = _a.classNames,
14202
- classNames = _h === void 0 ? {} : _h,
14203
- _j = _a.verbiage,
14204
- verbiage = _j === void 0 ? {} : _j;
14207
+ _j = _a.classNames,
14208
+ classNames = _j === void 0 ? {} : _j,
14209
+ _k = _a.verbiage,
14210
+ verbiage = _k === void 0 ? {} : _k;
14205
14211
  var videoRef = React.useRef(null);
14206
14212
  var store = React.useRef(undefined);
14207
14213
  store.current || (store.current = createCameraStore({
@@ -14214,10 +14220,12 @@
14214
14220
  onCameraAccessDenied: onCameraAccessDenied,
14215
14221
  onMicrophoneAccessDenied: onMicrophoneAccessDenied,
14216
14222
  requireMicrophoneAccess: requireMicrophoneAccess,
14223
+ enableTamperDetection: enableTamperDetection,
14217
14224
  mediaIntegrityToken: mediaIntegrityToken
14218
14225
  }));
14219
14226
  React.useEffect(function () {
14220
14227
  var _a;
14228
+ if (!enableTamperDetection) return;
14221
14229
  var result = checkGetUserMediaIntegrity(mediaIntegrityToken);
14222
14230
  if (result.tampered) {
14223
14231
  (_a = store.current) === null || _a === void 0 ? void 0 : _a.setState({
@@ -14225,9 +14233,9 @@
14225
14233
  });
14226
14234
  }
14227
14235
  }, []); // eslint-disable-line react-hooks/exhaustive-deps
14228
- var _k = (_b = videoRef.current) !== null && _b !== void 0 ? _b : {},
14229
- videoWidth = _k.videoWidth,
14230
- videoHeight = _k.videoHeight;
14236
+ var _l = (_b = videoRef.current) !== null && _b !== void 0 ? _b : {},
14237
+ videoWidth = _l.videoWidth,
14238
+ videoHeight = _l.videoHeight;
14231
14239
  React.useEffect(function () {
14232
14240
  var _a;
14233
14241
  (_a = store.current) === null || _a === void 0 ? void 0 : _a.setState({
@@ -14263,6 +14271,7 @@
14263
14271
  value: store.current
14264
14272
  }, /*#__PURE__*/React.createElement(CameraTamperSeal, {
14265
14273
  onCameraTamperingDetected: onCameraTamperingDetected,
14274
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
14266
14275
  onCameraAccessDenied: onCameraAccessDenied,
14267
14276
  onMicrophoneAccessDenied: onMicrophoneAccessDenied,
14268
14277
  classNames: classNames.cameraTamperSeal,
@@ -14272,6 +14281,7 @@
14272
14281
  function CameraTamperSeal(_a) {
14273
14282
  var children = _a.children,
14274
14283
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
14284
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
14275
14285
  onCameraAccessDenied = _a.onCameraAccessDenied,
14276
14286
  onMicrophoneAccessDenied = _a.onMicrophoneAccessDenied,
14277
14287
  _b = _a.classNames,
@@ -14284,10 +14294,12 @@
14284
14294
  microphoneAccessDenied = _d.microphoneAccessDenied;
14285
14295
  var _e = useTranslations(rawVerbiage, {
14286
14296
  headingText: 'Camera tampering detected',
14287
- 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."
14297
+ 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.',
14298
+ exitButtonText: DEFAULT_EXIT_BUTTON_TEXT
14288
14299
  }),
14289
14300
  headingText = _e.headingText,
14290
- messageText = _e.messageText;
14301
+ messageText = _e.messageText,
14302
+ exitButtonText = _e.exitButtonText;
14291
14303
  var onCameraTamperingDetectedRef = React.useRef(onCameraTamperingDetected);
14292
14304
  React.useEffect(function () {
14293
14305
  onCameraTamperingDetectedRef.current = onCameraTamperingDetected;
@@ -14321,16 +14333,27 @@
14321
14333
  className: classNames.heading
14322
14334
  }, headingText), /*#__PURE__*/React.createElement("p", {
14323
14335
  className: classNames.message
14324
- }, messageText)));
14336
+ }, messageText), onExitAfterTamperSealPopped && (/*#__PURE__*/React.createElement(StyledExitButton, {
14337
+ type: "button",
14338
+ className: classNames.exitButton,
14339
+ onClick: onExitAfterTamperSealPopped
14340
+ }, exitButtonText))));
14325
14341
  }
14326
14342
  var StyledOverlayInner$4 = styled(OverlayInner$2)(templateObject_1$O || (templateObject_1$O = __makeTemplateObject(["\n justify-content: center;\n"], ["\n justify-content: center;\n"])));
14327
14343
  var StyledOverlayHeading = styled.h3(templateObject_2$J || (templateObject_2$J = __makeTemplateObject(["\n margin-bottom: 8px;\n"], ["\n margin-bottom: 8px;\n"])));
14344
+ var StyledExitButton = styled.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) {
14345
+ var _a, _b, _c;
14346
+ 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';
14347
+ }, function (props) {
14348
+ var _a, _b, _c;
14349
+ 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';
14350
+ });
14328
14351
  function useCameraStore(selector) {
14329
14352
  var store = React.useContext(CameraStoreContext);
14330
14353
  if (!store) throw new Error('useCameraStore cannot be used without Provider');
14331
14354
  return useStore(store, selector);
14332
14355
  }
14333
- var templateObject_1$O, templateObject_2$J;
14356
+ var templateObject_1$O, templateObject_2$J, templateObject_3$x;
14334
14357
 
14335
14358
  var DocumentDetectionModelContext = /*#__PURE__*/React.createContext({
14336
14359
  startDocumentDetection: function startDocumentDetection() {
@@ -24201,14 +24224,18 @@
24201
24224
  var _b, _c, _d, _e, _f, _g;
24202
24225
  var onCameraAccessDenied = _a.onCameraAccessDenied,
24203
24226
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
24227
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
24204
24228
  onMicrophoneAccessDenied = _a.onMicrophoneAccessDenied,
24229
+ enableTamperDetection = _a.enableTamperDetection,
24205
24230
  mediaIntegrityToken = _a.mediaIntegrityToken,
24206
24231
  shouldLoadIdCaptureModels = _a.shouldLoadIdCaptureModels,
24207
- idCaptureProps = __rest(_a, ["onCameraAccessDenied", "onCameraTamperingDetected", "onMicrophoneAccessDenied", "mediaIntegrityToken", "shouldLoadIdCaptureModels"]);
24232
+ idCaptureProps = __rest(_a, ["onCameraAccessDenied", "onCameraTamperingDetected", "onExitAfterTamperSealPopped", "onMicrophoneAccessDenied", "enableTamperDetection", "mediaIntegrityToken", "shouldLoadIdCaptureModels"]);
24208
24233
  return /*#__PURE__*/React.createElement(CameraStoreProvider, {
24209
24234
  onCameraAccessDenied: onCameraAccessDenied,
24210
24235
  onCameraTamperingDetected: onCameraTamperingDetected,
24236
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
24211
24237
  onMicrophoneAccessDenied: onMicrophoneAccessDenied,
24238
+ enableTamperDetection: enableTamperDetection,
24212
24239
  mediaIntegrityToken: mediaIntegrityToken,
24213
24240
  requestAccessAutomatically: shouldLoadIdCaptureModels,
24214
24241
  classNames: (_b = idCaptureProps.classNames) === null || _b === void 0 ? void 0 : _b.cameraStoreProvider,
@@ -26907,15 +26934,19 @@
26907
26934
  var _b, _c;
26908
26935
  var onCameraAccessDenied = _a.onCameraAccessDenied,
26909
26936
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
26937
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
26910
26938
  onMicrophoneAccessDenied = _a.onMicrophoneAccessDenied,
26939
+ enableTamperDetection = _a.enableTamperDetection,
26911
26940
  mediaIntegrityToken = _a.mediaIntegrityToken,
26912
- faceLivenessProps = __rest(_a, ["onCameraAccessDenied", "onCameraTamperingDetected", "onMicrophoneAccessDenied", "mediaIntegrityToken"]);
26941
+ faceLivenessProps = __rest(_a, ["onCameraAccessDenied", "onCameraTamperingDetected", "onExitAfterTamperSealPopped", "onMicrophoneAccessDenied", "enableTamperDetection", "mediaIntegrityToken"]);
26913
26942
  return /*#__PURE__*/React.createElement(CameraStoreProvider, {
26914
26943
  preferFrontFacingCamera: true,
26915
26944
  preferIphoneContinuityCamera: false,
26916
26945
  onCameraAccessDenied: onCameraAccessDenied,
26917
26946
  onCameraTamperingDetected: onCameraTamperingDetected,
26947
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
26918
26948
  onMicrophoneAccessDenied: onMicrophoneAccessDenied,
26949
+ enableTamperDetection: enableTamperDetection,
26919
26950
  mediaIntegrityToken: mediaIntegrityToken,
26920
26951
  classNames: (_b = faceLivenessProps.classNames) === null || _b === void 0 ? void 0 : _b.cameraStoreProvider,
26921
26952
  verbiage: (_c = faceLivenessProps.verbiage) === null || _c === void 0 ? void 0 : _c.cameraStoreProvider
@@ -29786,7 +29817,9 @@
29786
29817
  maxFps: 30,
29787
29818
  onCameraAccessDenied: props.onCameraAccessDenied,
29788
29819
  onCameraTamperingDetected: props.onCameraTamperingDetected,
29820
+ onExitAfterTamperSealPopped: props.onExitAfterTamperSealPopped,
29789
29821
  onMicrophoneAccessDenied: props.onMicrophoneAccessDenied,
29822
+ enableTamperDetection: props.enableTamperDetection,
29790
29823
  mediaIntegrityToken: props.mediaIntegrityToken,
29791
29824
  classNames: (_a = props.classNames) === null || _a === void 0 ? void 0 : _a.cameraStoreProvider,
29792
29825
  verbiage: (_b = props.verbiage) === null || _b === void 0 ? void 0 : _b.cameraStoreProvider
@@ -30894,7 +30927,9 @@
30894
30927
  onIdCaptureModelError = _a.onIdCaptureModelError,
30895
30928
  onCameraAccessDenied = _a.onCameraAccessDenied,
30896
30929
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
30930
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
30897
30931
  onMicrophoneAccessDenied = _a.onMicrophoneAccessDenied,
30932
+ enableTamperDetection = _a.enableTamperDetection,
30898
30933
  mediaIntegrityToken = _a.mediaIntegrityToken,
30899
30934
  _k = _a.idCaptureProps,
30900
30935
  idCaptureProps = _k === void 0 ? {} : _k,
@@ -31056,7 +31091,9 @@
31056
31091
  maxFps: isCapturingId ? 60 : 30,
31057
31092
  onCameraAccessDenied: onCameraAccessDenied,
31058
31093
  onCameraTamperingDetected: onCameraTamperingDetected,
31094
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
31059
31095
  onMicrophoneAccessDenied: onMicrophoneAccessDenied,
31096
+ enableTamperDetection: enableTamperDetection,
31060
31097
  mediaIntegrityToken: mediaIntegrityToken,
31061
31098
  classNames: classNames === null || classNames === void 0 ? void 0 : classNames.cameraStoreProvider,
31062
31099
  verbiage: verbiage === null || verbiage === void 0 ? void 0 : verbiage.cameraStoreProvider
@@ -31199,7 +31236,9 @@
31199
31236
  captureSignatureVideo = _j === void 0 ? false : _j,
31200
31237
  onCameraAccessDenied = _a.onCameraAccessDenied,
31201
31238
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
31239
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
31202
31240
  onMicrophoneAccessDenied = _a.onMicrophoneAccessDenied,
31241
+ enableTamperDetection = _a.enableTamperDetection,
31203
31242
  mediaIntegrityToken = _a.mediaIntegrityToken,
31204
31243
  _k = _a.debugMode,
31205
31244
  debugMode = _k === void 0 ? false : _k;
@@ -31320,7 +31359,9 @@
31320
31359
  return /*#__PURE__*/React.createElement(IdCaptureWizardWithProviders, _assign({}, idCaptureProps, {
31321
31360
  onCameraAccessDenied: onCameraAccessDenied,
31322
31361
  onCameraTamperingDetected: onCameraTamperingDetected,
31362
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
31323
31363
  onMicrophoneAccessDenied: onMicrophoneAccessDenied,
31364
+ enableTamperDetection: enableTamperDetection,
31324
31365
  mediaIntegrityToken: mediaIntegrityToken,
31325
31366
  shouldLoadIdCaptureModels: shouldLoadIdCaptureModels,
31326
31367
  onSuccess: onIdCaptureSuccess
@@ -31330,14 +31371,18 @@
31330
31371
  onComplete: onVideoIdCaptureComplete,
31331
31372
  onCameraAccessDenied: onCameraAccessDenied,
31332
31373
  onCameraTamperingDetected: onCameraTamperingDetected,
31374
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
31333
31375
  onMicrophoneAccessDenied: onMicrophoneAccessDenied,
31376
+ enableTamperDetection: enableTamperDetection,
31334
31377
  mediaIntegrityToken: mediaIntegrityToken
31335
31378
  }));
31336
31379
  case 'FaceLiveness':
31337
31380
  return /*#__PURE__*/React.createElement(FaceLivenessWizardWithProviders, _assign({}, faceLivenessProps, {
31338
31381
  onCameraAccessDenied: onCameraAccessDenied,
31339
31382
  onCameraTamperingDetected: onCameraTamperingDetected,
31383
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
31340
31384
  onMicrophoneAccessDenied: onMicrophoneAccessDenied,
31385
+ enableTamperDetection: enableTamperDetection,
31341
31386
  mediaIntegrityToken: mediaIntegrityToken,
31342
31387
  onComplete: onFaceLivenessComplete
31343
31388
  }));
@@ -31352,7 +31397,9 @@
31352
31397
  onComplete: onVideoSignatureComplete,
31353
31398
  onCameraAccessDenied: onCameraAccessDenied,
31354
31399
  onCameraTamperingDetected: onCameraTamperingDetected,
31400
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
31355
31401
  onMicrophoneAccessDenied: onMicrophoneAccessDenied,
31402
+ enableTamperDetection: enableTamperDetection,
31356
31403
  mediaIntegrityToken: mediaIntegrityToken
31357
31404
  }));
31358
31405
  case 'AdditionalDocumentCapture':
@@ -31731,38 +31778,41 @@
31731
31778
  onModelError = _a.onModelError,
31732
31779
  onCameraAccessDenied = _a.onCameraAccessDenied,
31733
31780
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
31781
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
31782
+ _w = _a.enableTamperDetection,
31783
+ enableTamperDetection = _w === void 0 ? false : _w,
31734
31784
  mediaIntegrityToken = _a.mediaIntegrityToken,
31735
31785
  onDocumentCaptured = _a.onDocumentCaptured,
31736
31786
  onDocumentDetected = _a.onDocumentDetected,
31737
- _w = _a.documentDetectionThrottleMs,
31738
- documentDetectionThrottleMs = _w === void 0 ? 0 : _w,
31739
- _x = _a.theme,
31740
- theme = _x === void 0 ? 'default' : _x,
31741
- _y = _a.assets,
31742
- assets = _y === void 0 ? {} : _y,
31743
- _z = _a.classNames,
31744
- classNames = _z === void 0 ? {} : _z,
31745
- _0 = _a.colors,
31746
- colors = _0 === void 0 ? {} : _0,
31747
- _1 = _a.verbiage,
31748
- verbiage = _1 === void 0 ? {} : _1,
31749
- _2 = _a.captureSignature,
31750
- captureSignature = _2 === void 0 ? false : _2,
31751
- _3 = _a.captureSignatureVideo,
31752
- captureSignatureVideo = _3 === void 0 ? false : _3,
31753
- _4 = _a.captureAdditionalDocuments,
31754
- captureAdditionalDocuments = _4 === void 0 ? [] : _4,
31755
- _5 = _a.geolocationEnabled,
31756
- geolocationEnabled = _5 === void 0 ? true : _5,
31757
- _6 = _a.geolocationRequired,
31758
- geolocationRequired = _6 === void 0 ? false : _6,
31759
- _7 = _a.debugMode,
31760
- debugMode = _7 === void 0 ? false : _7,
31787
+ _x = _a.documentDetectionThrottleMs,
31788
+ documentDetectionThrottleMs = _x === void 0 ? 0 : _x,
31789
+ _y = _a.theme,
31790
+ theme = _y === void 0 ? 'default' : _y,
31791
+ _z = _a.assets,
31792
+ assets = _z === void 0 ? {} : _z,
31793
+ _0 = _a.classNames,
31794
+ classNames = _0 === void 0 ? {} : _0,
31795
+ _1 = _a.colors,
31796
+ colors = _1 === void 0 ? {} : _1,
31797
+ _2 = _a.verbiage,
31798
+ verbiage = _2 === void 0 ? {} : _2,
31799
+ _3 = _a.captureSignature,
31800
+ captureSignature = _3 === void 0 ? false : _3,
31801
+ _4 = _a.captureSignatureVideo,
31802
+ captureSignatureVideo = _4 === void 0 ? false : _4,
31803
+ _5 = _a.captureAdditionalDocuments,
31804
+ captureAdditionalDocuments = _5 === void 0 ? [] : _5,
31805
+ _6 = _a.geolocationEnabled,
31806
+ geolocationEnabled = _6 === void 0 ? true : _6,
31807
+ _7 = _a.geolocationRequired,
31808
+ geolocationRequired = _7 === void 0 ? false : _7,
31809
+ _8 = _a.debugMode,
31810
+ debugMode = _8 === void 0 ? false : _8,
31761
31811
  documentEdgeDistancePct = _a.documentEdgeDistancePct,
31762
- _8 = _a.enableBarcodeRecapture,
31763
- enableBarcodeRecapture = _8 === void 0 ? false : _8,
31764
- _9 = _a.barcodeParsingMode,
31765
- barcodeParsingMode = _9 === void 0 ? 'aggressive' : _9,
31812
+ _9 = _a.enableBarcodeRecapture,
31813
+ enableBarcodeRecapture = _9 === void 0 ? false : _9,
31814
+ _10 = _a.barcodeParsingMode,
31815
+ barcodeParsingMode = _10 === void 0 ? 'aggressive' : _10,
31766
31816
  aggressiveModeDecodeThreshold = _a.aggressiveModeDecodeThreshold,
31767
31817
  aggressiveModeDecodeIntervalMs = _a.aggressiveModeDecodeIntervalMs;
31768
31818
  useLanguage(lang);
@@ -31901,6 +31951,8 @@
31901
31951
  captureSignatureVideo: captureSignatureVideo,
31902
31952
  onCameraAccessDenied: onCameraAccessDenied,
31903
31953
  onCameraTamperingDetected: onCameraTamperingDetected,
31954
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
31955
+ enableTamperDetection: enableTamperDetection,
31904
31956
  mediaIntegrityToken: mediaIntegrityToken,
31905
31957
  debugMode: debugMode
31906
31958
  })))));
@@ -31963,19 +32015,22 @@
31963
32015
  onModelError = _a.onModelError,
31964
32016
  onCameraAccessDenied = _a.onCameraAccessDenied,
31965
32017
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
32018
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
32019
+ _j = _a.enableTamperDetection,
32020
+ enableTamperDetection = _j === void 0 ? false : _j,
31966
32021
  mediaIntegrityToken = _a.mediaIntegrityToken,
31967
- _j = _a.theme,
31968
- theme = _j === void 0 ? 'default' : _j,
32022
+ _k = _a.theme,
32023
+ theme = _k === void 0 ? 'default' : _k,
31969
32024
  assets = _a.assets,
31970
32025
  classNames = _a.classNames,
31971
32026
  colors = _a.colors,
31972
32027
  verbiage = _a.verbiage,
31973
- _k = _a.geolocationEnabled,
31974
- geolocationEnabled = _k === void 0 ? true : _k,
31975
- _l = _a.geolocationRequired,
31976
- geolocationRequired = _l === void 0 ? false : _l,
31977
- _m = _a.debugMode,
31978
- debugMode = _m === void 0 ? false : _m;
32028
+ _l = _a.geolocationEnabled,
32029
+ geolocationEnabled = _l === void 0 ? true : _l,
32030
+ _m = _a.geolocationRequired,
32031
+ geolocationRequired = _m === void 0 ? false : _m,
32032
+ _o = _a.debugMode,
32033
+ debugMode = _o === void 0 ? false : _o;
31979
32034
  useLanguage(lang);
31980
32035
  useDebugLogging(debugMode);
31981
32036
  var faceLivenessProps = React.useMemo(function () {
@@ -32048,6 +32103,8 @@
32048
32103
  faceLivenessProps: faceLivenessProps,
32049
32104
  onCameraAccessDenied: onCameraAccessDenied,
32050
32105
  onCameraTamperingDetected: onCameraTamperingDetected,
32106
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
32107
+ enableTamperDetection: enableTamperDetection,
32051
32108
  mediaIntegrityToken: mediaIntegrityToken,
32052
32109
  debugMode: debugMode
32053
32110
  })))));
@@ -32153,29 +32210,32 @@
32153
32210
  onSelfieCaptureModelError = _a.onSelfieCaptureModelError,
32154
32211
  onCameraAccessDenied = _a.onCameraAccessDenied,
32155
32212
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
32213
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
32214
+ _y = _a.enableTamperDetection,
32215
+ enableTamperDetection = _y === void 0 ? false : _y,
32156
32216
  mediaIntegrityToken = _a.mediaIntegrityToken,
32157
- _y = _a.captureSignature,
32158
- captureSignature = _y === void 0 ? false : _y,
32159
- _z = _a.captureSignatureVideo,
32160
- captureSignatureVideo = _z === void 0 ? false : _z,
32161
- _0 = _a.captureAdditionalDocuments,
32162
- captureAdditionalDocuments = _0 === void 0 ? [] : _0,
32163
- _1 = _a.theme,
32164
- theme = _1 === void 0 ? 'default' : _1,
32165
- _2 = _a.assets,
32166
- assets = _2 === void 0 ? {} : _2,
32167
- _3 = _a.classNames,
32168
- classNames = _3 === void 0 ? {} : _3,
32169
- _4 = _a.colors,
32170
- colors = _4 === void 0 ? {} : _4,
32171
- _5 = _a.verbiage,
32172
- verbiage = _5 === void 0 ? {} : _5,
32173
- _6 = _a.geolocationEnabled,
32174
- geolocationEnabled = _6 === void 0 ? true : _6,
32175
- _7 = _a.geolocationRequired,
32176
- geolocationRequired = _7 === void 0 ? false : _7,
32177
- _8 = _a.debugMode,
32178
- debugMode = _8 === void 0 ? false : _8;
32217
+ _z = _a.captureSignature,
32218
+ captureSignature = _z === void 0 ? false : _z,
32219
+ _0 = _a.captureSignatureVideo,
32220
+ captureSignatureVideo = _0 === void 0 ? false : _0,
32221
+ _1 = _a.captureAdditionalDocuments,
32222
+ captureAdditionalDocuments = _1 === void 0 ? [] : _1,
32223
+ _2 = _a.theme,
32224
+ theme = _2 === void 0 ? 'default' : _2,
32225
+ _3 = _a.assets,
32226
+ assets = _3 === void 0 ? {} : _3,
32227
+ _4 = _a.classNames,
32228
+ classNames = _4 === void 0 ? {} : _4,
32229
+ _5 = _a.colors,
32230
+ colors = _5 === void 0 ? {} : _5,
32231
+ _6 = _a.verbiage,
32232
+ verbiage = _6 === void 0 ? {} : _6,
32233
+ _7 = _a.geolocationEnabled,
32234
+ geolocationEnabled = _7 === void 0 ? true : _7,
32235
+ _8 = _a.geolocationRequired,
32236
+ geolocationRequired = _8 === void 0 ? false : _8,
32237
+ _9 = _a.debugMode,
32238
+ debugMode = _9 === void 0 ? false : _9;
32179
32239
  useLanguage(lang);
32180
32240
  useDebugLogging(debugMode);
32181
32241
  var idCaptureProps = React.useMemo(function () {
@@ -32331,6 +32391,8 @@
32331
32391
  captureSignatureVideo: captureSignatureVideo,
32332
32392
  onCameraAccessDenied: onCameraAccessDenied,
32333
32393
  onCameraTamperingDetected: onCameraTamperingDetected,
32394
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
32395
+ enableTamperDetection: enableTamperDetection,
32334
32396
  mediaIntegrityToken: mediaIntegrityToken,
32335
32397
  debugMode: debugMode
32336
32398
  })))));
@@ -32439,32 +32501,35 @@
32439
32501
  onSelfieCaptureModelError = _a.onSelfieCaptureModelError,
32440
32502
  onCameraAccessDenied = _a.onCameraAccessDenied,
32441
32503
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
32504
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
32505
+ _y = _a.enableTamperDetection,
32506
+ enableTamperDetection = _y === void 0 ? false : _y,
32442
32507
  mediaIntegrityToken = _a.mediaIntegrityToken,
32443
- _y = _a.captureSignature,
32444
- captureSignature = _y === void 0 ? false : _y,
32445
- _z = _a.captureSignatureVideo,
32446
- captureSignatureVideo = _z === void 0 ? false : _z,
32447
- _0 = _a.captureAdditionalDocuments,
32448
- captureAdditionalDocuments = _0 === void 0 ? [] : _0,
32449
- _1 = _a.captureVideoId,
32450
- captureVideoId = _1 === void 0 ? false : _1,
32508
+ _z = _a.captureSignature,
32509
+ captureSignature = _z === void 0 ? false : _z,
32510
+ _0 = _a.captureSignatureVideo,
32511
+ captureSignatureVideo = _0 === void 0 ? false : _0,
32512
+ _1 = _a.captureAdditionalDocuments,
32513
+ captureAdditionalDocuments = _1 === void 0 ? [] : _1,
32514
+ _2 = _a.captureVideoId,
32515
+ captureVideoId = _2 === void 0 ? false : _2,
32451
32516
  captureVideoIdProps = _a.captureVideoIdProps,
32452
- _2 = _a.theme,
32453
- theme = _2 === void 0 ? 'default' : _2,
32454
- _3 = _a.assets,
32455
- assets = _3 === void 0 ? {} : _3,
32456
- _4 = _a.classNames,
32457
- classNames = _4 === void 0 ? {} : _4,
32458
- _5 = _a.colors,
32459
- colors = _5 === void 0 ? {} : _5,
32460
- _6 = _a.verbiage,
32461
- verbiage = _6 === void 0 ? {} : _6,
32462
- _7 = _a.geolocationEnabled,
32463
- geolocationEnabled = _7 === void 0 ? true : _7,
32464
- _8 = _a.geolocationRequired,
32465
- geolocationRequired = _8 === void 0 ? false : _8,
32466
- _9 = _a.debugMode,
32467
- debugMode = _9 === void 0 ? false : _9;
32517
+ _3 = _a.theme,
32518
+ theme = _3 === void 0 ? 'default' : _3,
32519
+ _4 = _a.assets,
32520
+ assets = _4 === void 0 ? {} : _4,
32521
+ _5 = _a.classNames,
32522
+ classNames = _5 === void 0 ? {} : _5,
32523
+ _6 = _a.colors,
32524
+ colors = _6 === void 0 ? {} : _6,
32525
+ _7 = _a.verbiage,
32526
+ verbiage = _7 === void 0 ? {} : _7,
32527
+ _8 = _a.geolocationEnabled,
32528
+ geolocationEnabled = _8 === void 0 ? true : _8,
32529
+ _9 = _a.geolocationRequired,
32530
+ geolocationRequired = _9 === void 0 ? false : _9,
32531
+ _10 = _a.debugMode,
32532
+ debugMode = _10 === void 0 ? false : _10;
32468
32533
  useLanguage(lang);
32469
32534
  useDebugLogging(debugMode);
32470
32535
  var idCaptureProps = React.useMemo(function () {
@@ -32639,6 +32704,8 @@
32639
32704
  captureSignatureVideo: captureSignatureVideo,
32640
32705
  onCameraAccessDenied: onCameraAccessDenied,
32641
32706
  onCameraTamperingDetected: onCameraTamperingDetected,
32707
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
32708
+ enableTamperDetection: enableTamperDetection,
32642
32709
  mediaIntegrityToken: mediaIntegrityToken,
32643
32710
  debugMode: debugMode
32644
32711
  })))));
@@ -33155,13 +33222,16 @@
33155
33222
  onModelError = _a.onModelError,
33156
33223
  onCameraAccessDenied = _a.onCameraAccessDenied,
33157
33224
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
33225
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
33226
+ _h = _a.enableTamperDetection,
33227
+ enableTamperDetection = _h === void 0 ? false : _h,
33158
33228
  mediaIntegrityToken = _a.mediaIntegrityToken,
33159
- _h = _a.geolocationEnabled,
33160
- geolocationEnabled = _h === void 0 ? true : _h,
33161
- _j = _a.geolocationRequired,
33162
- geolocationRequired = _j === void 0 ? false : _j,
33163
- _k = _a.debugMode,
33164
- debugMode = _k === void 0 ? false : _k;
33229
+ _j = _a.geolocationEnabled,
33230
+ geolocationEnabled = _j === void 0 ? true : _j,
33231
+ _k = _a.geolocationRequired,
33232
+ geolocationRequired = _k === void 0 ? false : _k,
33233
+ _l = _a.debugMode,
33234
+ debugMode = _l === void 0 ? false : _l;
33165
33235
  useLanguage(lang);
33166
33236
  useDebugLogging(debugMode);
33167
33237
  return /*#__PURE__*/React.createElement(AuthProvider, {
@@ -33201,6 +33271,8 @@
33201
33271
  preferFrontFacingCamera: true,
33202
33272
  onCameraAccessDenied: onCameraAccessDenied,
33203
33273
  onCameraTamperingDetected: onCameraTamperingDetected,
33274
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
33275
+ enableTamperDetection: enableTamperDetection,
33204
33276
  mediaIntegrityToken: mediaIntegrityToken,
33205
33277
  classNames: classNames === null || classNames === void 0 ? void 0 : classNames.cameraStoreProvider,
33206
33278
  verbiage: verbiage === null || verbiage === void 0 ? void 0 : verbiage.cameraStoreProvider
@@ -33735,18 +33807,21 @@
33735
33807
  onModelError = _a.onModelError,
33736
33808
  onCameraAccessDenied = _a.onCameraAccessDenied,
33737
33809
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
33810
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
33811
+ _g = _a.enableTamperDetection,
33812
+ enableTamperDetection = _g === void 0 ? false : _g,
33738
33813
  mediaIntegrityToken = _a.mediaIntegrityToken,
33739
- _g = _a.theme,
33740
- theme = _g === void 0 ? 'default' : _g,
33814
+ _h = _a.theme,
33815
+ theme = _h === void 0 ? 'default' : _h,
33741
33816
  assets = _a.assets,
33742
33817
  classNames = _a.classNames,
33743
33818
  colors = _a.colors,
33744
33819
  verbiage = _a.verbiage,
33745
33820
  geolocationEnabled = _a.geolocationEnabled,
33746
- _h = _a.geolocationRequired,
33747
- geolocationRequired = _h === void 0 ? false : _h,
33748
- _j = _a.debugMode,
33749
- debugMode = _j === void 0 ? false : _j;
33821
+ _j = _a.geolocationRequired,
33822
+ geolocationRequired = _j === void 0 ? false : _j,
33823
+ _k = _a.debugMode,
33824
+ debugMode = _k === void 0 ? false : _k;
33750
33825
  useLanguage(lang);
33751
33826
  useDebugLogging(debugMode);
33752
33827
  return /*#__PURE__*/React.createElement(AuthProvider, {
@@ -33785,6 +33860,8 @@
33785
33860
  preferFrontFacingCamera: true,
33786
33861
  onCameraAccessDenied: onCameraAccessDenied,
33787
33862
  onCameraTamperingDetected: onCameraTamperingDetected,
33863
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
33864
+ enableTamperDetection: enableTamperDetection,
33788
33865
  mediaIntegrityToken: mediaIntegrityToken,
33789
33866
  classNames: classNames === null || classNames === void 0 ? void 0 : classNames.cameraStoreProvider,
33790
33867
  verbiage: verbiage === null || verbiage === void 0 ? void 0 : verbiage.cameraStoreProvider
@@ -33847,52 +33924,55 @@
33847
33924
  onModelError = _a.onModelError,
33848
33925
  onCameraAccessDenied = _a.onCameraAccessDenied,
33849
33926
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
33927
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
33928
+ _c = _a.enableTamperDetection,
33929
+ enableTamperDetection = _c === void 0 ? false : _c,
33850
33930
  mediaIntegrityToken = _a.mediaIntegrityToken,
33851
33931
  onLoadingOverlayDismissed = _a.onLoadingOverlayDismissed,
33852
- _c = _a.loadingOverlayMode,
33853
- loadingOverlayMode = _c === void 0 ? 'default' : _c,
33932
+ _d = _a.loadingOverlayMode,
33933
+ loadingOverlayMode = _d === void 0 ? 'default' : _d,
33854
33934
  customOverlayContent = _a.customOverlayContent,
33855
- _d = _a.skipSuccessScreen,
33856
- skipSuccessScreen = _d === void 0 ? false : _d,
33857
- _e = _a.captureAudio,
33858
- captureAudio = _e === void 0 ? false : _e,
33935
+ _e = _a.skipSuccessScreen,
33936
+ skipSuccessScreen = _e === void 0 ? false : _e,
33937
+ _f = _a.captureAudio,
33938
+ captureAudio = _f === void 0 ? false : _f,
33859
33939
  idCardForFaceMatch = _a.idCardForFaceMatch,
33860
- _f = _a.minSignaturePadPoints,
33861
- minSignaturePadPoints = _f === void 0 ? DEFAULT_MIN_SIGNATURE_PAD_POINTS : _f,
33862
- _g = _a.headTrackingDisabled,
33863
- headTrackingDisabled = _g === void 0 ? false : _g,
33864
- _h = _a.headTrackingBoundaryPercentage,
33865
- headTrackingBoundaryPercentage = _h === void 0 ? DEFAULT_HEAD_TRACKING_BOUNDARY_PERCENTAGE : _h,
33866
- _j = _a.headTrackingBoundaryType,
33867
- headTrackingBoundaryType = _j === void 0 ? DEFAULT_HEAD_TRACKING_BOUNDARY_TYPE : _j,
33868
- _k = _a.modelLoadTimeoutMs,
33869
- modelLoadTimeoutMs = _k === void 0 ? defaultSelfieCaptureModelLoadTimeoutMs : _k,
33870
- _l = _a.allowSignatureAfterLivenessCheckFailure,
33871
- allowSignatureAfterLivenessCheckFailure = _l === void 0 ? false : _l,
33872
- _m = _a.restartVideoOnSignaturePadCleared,
33873
- restartVideoOnSignaturePadCleared = _m === void 0 ? true : _m,
33940
+ _g = _a.minSignaturePadPoints,
33941
+ minSignaturePadPoints = _g === void 0 ? DEFAULT_MIN_SIGNATURE_PAD_POINTS : _g,
33942
+ _h = _a.headTrackingDisabled,
33943
+ headTrackingDisabled = _h === void 0 ? false : _h,
33944
+ _j = _a.headTrackingBoundaryPercentage,
33945
+ headTrackingBoundaryPercentage = _j === void 0 ? DEFAULT_HEAD_TRACKING_BOUNDARY_PERCENTAGE : _j,
33946
+ _k = _a.headTrackingBoundaryType,
33947
+ headTrackingBoundaryType = _k === void 0 ? DEFAULT_HEAD_TRACKING_BOUNDARY_TYPE : _k,
33948
+ _l = _a.modelLoadTimeoutMs,
33949
+ modelLoadTimeoutMs = _l === void 0 ? defaultSelfieCaptureModelLoadTimeoutMs : _l,
33950
+ _m = _a.allowSignatureAfterLivenessCheckFailure,
33951
+ allowSignatureAfterLivenessCheckFailure = _m === void 0 ? false : _m,
33952
+ _o = _a.restartVideoOnSignaturePadCleared,
33953
+ restartVideoOnSignaturePadCleared = _o === void 0 ? true : _o,
33874
33954
  faceLivenessProps = _a.faceLivenessProps,
33875
- _o = _a.skipLivenessValidation,
33876
- skipLivenessValidation = _o === void 0 ? false : _o,
33877
- _p = _a.allowManualSelfieCaptureOnLoadingError,
33878
- allowManualSelfieCaptureOnLoadingError = _p === void 0 ? false : _p,
33955
+ _p = _a.skipLivenessValidation,
33956
+ skipLivenessValidation = _p === void 0 ? false : _p,
33957
+ _q = _a.allowManualSelfieCaptureOnLoadingError,
33958
+ allowManualSelfieCaptureOnLoadingError = _q === void 0 ? false : _q,
33879
33959
  guidesComponent = _a.guidesComponent,
33880
- _q = _a.showFaceGuideThenSignaturePad,
33881
- showFaceGuideThenSignaturePad = _q === void 0 ? false : _q,
33960
+ _r = _a.showFaceGuideThenSignaturePad,
33961
+ showFaceGuideThenSignaturePad = _r === void 0 ? false : _r,
33882
33962
  minCaptureBrightnessThreshold = _a.minCaptureBrightnessThreshold,
33883
33963
  minCaptureRangeThreshold = _a.minCaptureRangeThreshold,
33884
33964
  minCaptureVarianceThreshold = _a.minCaptureVarianceThreshold,
33885
- _r = _a.theme,
33886
- theme = _r === void 0 ? 'default' : _r,
33965
+ _s = _a.theme,
33966
+ theme = _s === void 0 ? 'default' : _s,
33887
33967
  classNames = _a.classNames,
33888
33968
  colors = _a.colors,
33889
33969
  verbiage = _a.verbiage,
33890
33970
  geolocationEnabled = _a.geolocationEnabled,
33891
33971
  geolocationRequired = _a.geolocationRequired,
33892
- _s = _a.debugMode,
33893
- debugMode = _s === void 0 ? false : _s,
33894
- _t = _a.debugShowSamplePoints,
33895
- debugShowSamplePoints = _t === void 0 ? false : _t;
33972
+ _t = _a.debugMode,
33973
+ debugMode = _t === void 0 ? false : _t,
33974
+ _u = _a.debugShowSamplePoints,
33975
+ debugShowSamplePoints = _u === void 0 ? false : _u;
33896
33976
  useLanguage(lang);
33897
33977
  useDebugLogging(debugMode);
33898
33978
  return /*#__PURE__*/React.createElement(AuthProvider, {
@@ -33931,6 +34011,8 @@
33931
34011
  }, []),
33932
34012
  onCameraAccessDenied: onCameraAccessDenied,
33933
34013
  onCameraTamperingDetected: onCameraTamperingDetected,
34014
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
34015
+ enableTamperDetection: enableTamperDetection,
33934
34016
  mediaIntegrityToken: mediaIntegrityToken,
33935
34017
  videoSignatureCaptureProps: React.useMemo(function () {
33936
34018
  return {
@@ -34027,75 +34109,78 @@
34027
34109
  onUserCancel = _a.onUserCancel,
34028
34110
  onCameraAccessDenied = _a.onCameraAccessDenied,
34029
34111
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
34112
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
34113
+ _c = _a.enableTamperDetection,
34114
+ enableTamperDetection = _c === void 0 ? false : _c,
34030
34115
  mediaIntegrityToken = _a.mediaIntegrityToken,
34031
34116
  onMicrophoneAccessDenied = _a.onMicrophoneAccessDenied,
34032
34117
  idCaptureProps = _a.idCaptureProps,
34033
34118
  faceLivenessProps = _a.faceLivenessProps,
34034
- _c = _a.idCaptureModelsEnabled,
34035
- idCaptureModelsEnabled = _c === void 0 ? true : _c,
34036
- _d = _a.videoIdCaptureThresholds,
34037
- videoIdCaptureThresholds = _d === void 0 ? defaultVideoIdCaptureThresholds : _d,
34119
+ _d = _a.idCaptureModelsEnabled,
34120
+ idCaptureModelsEnabled = _d === void 0 ? true : _d,
34121
+ _e = _a.videoIdCaptureThresholds,
34122
+ videoIdCaptureThresholds = _e === void 0 ? defaultVideoIdCaptureThresholds : _e,
34038
34123
  readTextPrompt = _a.readTextPrompt,
34039
- _e = _a.readTextTimeoutDurationMs,
34040
- readTextTimeoutDurationMs = _e === void 0 ? 15000 : _e,
34041
- _f = _a.readTextMinReadingMs,
34042
- readTextMinReadingMs = _f === void 0 ? 10000 : _f,
34043
- _g = _a.skipSuccessScreen,
34044
- skipSuccessScreen = _g === void 0 ? false : _g,
34045
- _h = _a.skipIdCapture,
34046
- skipIdCapture = _h === void 0 ? false : _h,
34047
- _j = _a.skipShowIdCardBack,
34048
- skipShowIdCardBack = _j === void 0 ? false : _j,
34049
- _k = _a.idCaptureLoadingOverlayMode,
34050
- idCaptureLoadingOverlayMode = _k === void 0 ? 'default' : _k,
34124
+ _f = _a.readTextTimeoutDurationMs,
34125
+ readTextTimeoutDurationMs = _f === void 0 ? 15000 : _f,
34126
+ _g = _a.readTextMinReadingMs,
34127
+ readTextMinReadingMs = _g === void 0 ? 10000 : _g,
34128
+ _h = _a.skipSuccessScreen,
34129
+ skipSuccessScreen = _h === void 0 ? false : _h,
34130
+ _j = _a.skipIdCapture,
34131
+ skipIdCapture = _j === void 0 ? false : _j,
34132
+ _k = _a.skipShowIdCardBack,
34133
+ skipShowIdCardBack = _k === void 0 ? false : _k,
34134
+ _l = _a.idCaptureLoadingOverlayMode,
34135
+ idCaptureLoadingOverlayMode = _l === void 0 ? 'default' : _l,
34051
34136
  customOverlayContent = _a.customOverlayContent,
34052
34137
  onLoadingOverlayDismissed = _a.onLoadingOverlayDismissed,
34053
- _l = _a.idCaptureGuideType,
34054
- idCaptureGuideType = _l === void 0 ? 'fit' : _l,
34055
- _m = _a.idCaptureGuideImages,
34056
- idCaptureGuideImages = _m === void 0 ? defaultIdCaptureGuideImages : _m,
34057
- _o = _a.idCapturePortraitGuidesOnMobile,
34058
- idCapturePortraitGuidesOnMobile = _o === void 0 ? true : _o,
34059
- _p = _a.idCaptureRotateLoadingOverlayImageWhenPortrait,
34060
- idCaptureRotateLoadingOverlayImageWhenPortrait = _p === void 0 ? true : _p,
34138
+ _m = _a.idCaptureGuideType,
34139
+ idCaptureGuideType = _m === void 0 ? 'fit' : _m,
34140
+ _o = _a.idCaptureGuideImages,
34141
+ idCaptureGuideImages = _o === void 0 ? defaultIdCaptureGuideImages : _o,
34142
+ _p = _a.idCapturePortraitGuidesOnMobile,
34143
+ idCapturePortraitGuidesOnMobile = _p === void 0 ? true : _p,
34144
+ _q = _a.idCaptureRotateLoadingOverlayImageWhenPortrait,
34145
+ idCaptureRotateLoadingOverlayImageWhenPortrait = _q === void 0 ? true : _q,
34061
34146
  documentEdgeDistancePct = _a.documentEdgeDistancePct,
34062
34147
  idCardForFaceMatch = _a.idCardForFaceMatch,
34063
- _q = _a.idDocumentType,
34064
- idDocumentType = _q === void 0 ? 'idCardOrPassport' : _q,
34065
- _r = _a.faceLivenessLoadingOverlayMode,
34066
- faceLivenessLoadingOverlayMode = _r === void 0 ? 'default' : _r,
34067
- _s = _a.disableFaceDetectionWhileAudioCapture,
34068
- disableFaceDetectionWhileAudioCapture = _s === void 0 ? false : _s,
34069
- _t = _a.disableFaceDetectionWhileAudioCaptureMsDelay,
34070
- disableFaceDetectionWhileAudioCaptureMsDelay = _t === void 0 ? 2000 : _t,
34071
- _u = _a.silentFallback,
34072
- silentFallback = _u === void 0 ? false : _u,
34073
- _v = _a.mergeAVStreams,
34074
- mergeAVStreams = _v === void 0 ? false : _v,
34075
- _w = _a.matchOnly,
34076
- matchOnly = _w === void 0 ? false : _w,
34077
- _x = _a.theme,
34078
- theme = _x === void 0 ? 'default' : _x,
34079
- _y = _a.assets,
34080
- assets = _y === void 0 ? {} : _y,
34081
- _z = _a.classNames,
34082
- classNames = _z === void 0 ? {} : _z,
34083
- _0 = _a.colors,
34084
- colors = _0 === void 0 ? {} : _0,
34085
- _1 = _a.verbiage,
34086
- verbiage = _1 === void 0 ? {} : _1,
34087
- _2 = _a.captureSignature,
34088
- captureSignature = _2 === void 0 ? false : _2,
34089
- _3 = _a.captureSignatureVideo,
34090
- captureSignatureVideo = _3 === void 0 ? false : _3,
34091
- _4 = _a.captureAdditionalDocuments,
34092
- captureAdditionalDocuments = _4 === void 0 ? [] : _4,
34093
- _5 = _a.geolocationEnabled,
34094
- geolocationEnabled = _5 === void 0 ? true : _5,
34095
- _6 = _a.geolocationRequired,
34096
- geolocationRequired = _6 === void 0 ? false : _6,
34097
- _7 = _a.debugMode,
34098
- debugMode = _7 === void 0 ? false : _7;
34148
+ _r = _a.idDocumentType,
34149
+ idDocumentType = _r === void 0 ? 'idCardOrPassport' : _r,
34150
+ _s = _a.faceLivenessLoadingOverlayMode,
34151
+ faceLivenessLoadingOverlayMode = _s === void 0 ? 'default' : _s,
34152
+ _t = _a.disableFaceDetectionWhileAudioCapture,
34153
+ disableFaceDetectionWhileAudioCapture = _t === void 0 ? false : _t,
34154
+ _u = _a.disableFaceDetectionWhileAudioCaptureMsDelay,
34155
+ disableFaceDetectionWhileAudioCaptureMsDelay = _u === void 0 ? 2000 : _u,
34156
+ _v = _a.silentFallback,
34157
+ silentFallback = _v === void 0 ? false : _v,
34158
+ _w = _a.mergeAVStreams,
34159
+ mergeAVStreams = _w === void 0 ? false : _w,
34160
+ _x = _a.matchOnly,
34161
+ matchOnly = _x === void 0 ? false : _x,
34162
+ _y = _a.theme,
34163
+ theme = _y === void 0 ? 'default' : _y,
34164
+ _z = _a.assets,
34165
+ assets = _z === void 0 ? {} : _z,
34166
+ _0 = _a.classNames,
34167
+ classNames = _0 === void 0 ? {} : _0,
34168
+ _1 = _a.colors,
34169
+ colors = _1 === void 0 ? {} : _1,
34170
+ _2 = _a.verbiage,
34171
+ verbiage = _2 === void 0 ? {} : _2,
34172
+ _3 = _a.captureSignature,
34173
+ captureSignature = _3 === void 0 ? false : _3,
34174
+ _4 = _a.captureSignatureVideo,
34175
+ captureSignatureVideo = _4 === void 0 ? false : _4,
34176
+ _5 = _a.captureAdditionalDocuments,
34177
+ captureAdditionalDocuments = _5 === void 0 ? [] : _5,
34178
+ _6 = _a.geolocationEnabled,
34179
+ geolocationEnabled = _6 === void 0 ? true : _6,
34180
+ _7 = _a.geolocationRequired,
34181
+ geolocationRequired = _7 === void 0 ? false : _7,
34182
+ _8 = _a.debugMode,
34183
+ debugMode = _8 === void 0 ? false : _8;
34099
34184
  useLanguage(lang);
34100
34185
  useDebugLogging(debugMode);
34101
34186
  var mergedIdCaptureProps = React.useMemo(function () {
@@ -34226,6 +34311,8 @@
34226
34311
  captureSignatureVideo: captureSignatureVideo,
34227
34312
  onCameraAccessDenied: onCameraAccessDenied,
34228
34313
  onCameraTamperingDetected: onCameraTamperingDetected,
34314
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
34315
+ enableTamperDetection: enableTamperDetection,
34229
34316
  mediaIntegrityToken: mediaIntegrityToken,
34230
34317
  onMicrophoneAccessDenied: onMicrophoneAccessDenied,
34231
34318
  debugMode: debugMode
@@ -34289,29 +34376,32 @@
34289
34376
  onModelError = _a.onModelError,
34290
34377
  onCameraAccessDenied = _a.onCameraAccessDenied,
34291
34378
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
34379
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
34380
+ _h = _a.enableTamperDetection,
34381
+ enableTamperDetection = _h === void 0 ? false : _h,
34292
34382
  mediaIntegrityToken = _a.mediaIntegrityToken,
34293
- _h = _a.captureAdditionalDocuments,
34294
- captureAdditionalDocuments = _h === void 0 ? [] : _h,
34295
- _j = _a.captureSignature,
34296
- captureSignature = _j === void 0 ? false : _j,
34297
- _k = _a.captureSignatureVideo,
34298
- captureSignatureVideo = _k === void 0 ? false : _k,
34299
- _l = _a.theme,
34300
- theme = _l === void 0 ? 'default' : _l,
34301
- _m = _a.assets,
34302
- assets = _m === void 0 ? {} : _m,
34303
- _o = _a.classNames,
34304
- classNames = _o === void 0 ? {} : _o,
34305
- _p = _a.colors,
34306
- colors = _p === void 0 ? {} : _p,
34307
- _q = _a.verbiage,
34308
- verbiage = _q === void 0 ? {} : _q,
34309
- _r = _a.geolocationEnabled,
34310
- geolocationEnabled = _r === void 0 ? true : _r,
34311
- _s = _a.geolocationRequired,
34312
- geolocationRequired = _s === void 0 ? false : _s,
34313
- _t = _a.debugMode,
34314
- debugMode = _t === void 0 ? false : _t;
34383
+ _j = _a.captureAdditionalDocuments,
34384
+ captureAdditionalDocuments = _j === void 0 ? [] : _j,
34385
+ _k = _a.captureSignature,
34386
+ captureSignature = _k === void 0 ? false : _k,
34387
+ _l = _a.captureSignatureVideo,
34388
+ captureSignatureVideo = _l === void 0 ? false : _l,
34389
+ _m = _a.theme,
34390
+ theme = _m === void 0 ? 'default' : _m,
34391
+ _o = _a.assets,
34392
+ assets = _o === void 0 ? {} : _o,
34393
+ _p = _a.classNames,
34394
+ classNames = _p === void 0 ? {} : _p,
34395
+ _q = _a.colors,
34396
+ colors = _q === void 0 ? {} : _q,
34397
+ _r = _a.verbiage,
34398
+ verbiage = _r === void 0 ? {} : _r,
34399
+ _s = _a.geolocationEnabled,
34400
+ geolocationEnabled = _s === void 0 ? true : _s,
34401
+ _t = _a.geolocationRequired,
34402
+ geolocationRequired = _t === void 0 ? false : _t,
34403
+ _u = _a.debugMode,
34404
+ debugMode = _u === void 0 ? false : _u;
34315
34405
  useLanguage(lang);
34316
34406
  useDebugLogging(debugMode);
34317
34407
  var faceLivenessProps = React.useMemo(function () {
@@ -34420,6 +34510,8 @@
34420
34510
  captureSignatureVideo: captureSignatureVideo,
34421
34511
  onCameraAccessDenied: onCameraAccessDenied,
34422
34512
  onCameraTamperingDetected: onCameraTamperingDetected,
34513
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
34514
+ enableTamperDetection: enableTamperDetection,
34423
34515
  mediaIntegrityToken: mediaIntegrityToken,
34424
34516
  debugMode: debugMode
34425
34517
  })))));
@@ -34451,24 +34543,27 @@
34451
34543
  onUserCancel = _a.onUserCancel,
34452
34544
  onCameraAccessDenied = _a.onCameraAccessDenied,
34453
34545
  onCameraTamperingDetected = _a.onCameraTamperingDetected,
34546
+ onExitAfterTamperSealPopped = _a.onExitAfterTamperSealPopped,
34547
+ _c = _a.enableTamperDetection,
34548
+ enableTamperDetection = _c === void 0 ? false : _c,
34454
34549
  mediaIntegrityToken = _a.mediaIntegrityToken,
34455
- _c = _a.documents,
34456
- documents = _c === void 0 ? [] : _c,
34550
+ _d = _a.documents,
34551
+ documents = _d === void 0 ? [] : _d,
34457
34552
  aspectRatio = _a.aspectRatio,
34458
34553
  cameraFeedMode = _a.cameraFeedMode,
34459
34554
  instructions = _a.instructions,
34460
- _d = _a.theme,
34461
- theme = _d === void 0 ? 'default' : _d,
34462
- _e = _a.classNames,
34463
- classNames = _e === void 0 ? {} : _e,
34464
- _f = _a.verbiage,
34465
- verbiage = _f === void 0 ? {} : _f,
34466
- _g = _a.geolocationEnabled,
34467
- geolocationEnabled = _g === void 0 ? true : _g,
34468
- _h = _a.geolocationRequired,
34469
- geolocationRequired = _h === void 0 ? false : _h,
34470
- _j = _a.debugMode,
34471
- debugMode = _j === void 0 ? false : _j;
34555
+ _e = _a.theme,
34556
+ theme = _e === void 0 ? 'default' : _e,
34557
+ _f = _a.classNames,
34558
+ classNames = _f === void 0 ? {} : _f,
34559
+ _g = _a.verbiage,
34560
+ verbiage = _g === void 0 ? {} : _g,
34561
+ _h = _a.geolocationEnabled,
34562
+ geolocationEnabled = _h === void 0 ? true : _h,
34563
+ _j = _a.geolocationRequired,
34564
+ geolocationRequired = _j === void 0 ? false : _j,
34565
+ _k = _a.debugMode,
34566
+ debugMode = _k === void 0 ? false : _k;
34472
34567
  useLanguage(lang);
34473
34568
  useDebugLogging(debugMode);
34474
34569
  return /*#__PURE__*/React.createElement(AuthProvider, {
@@ -34498,6 +34593,8 @@
34498
34593
  preferIphoneContinuityCamera: true,
34499
34594
  onCameraAccessDenied: onCameraAccessDenied,
34500
34595
  onCameraTamperingDetected: onCameraTamperingDetected,
34596
+ onExitAfterTamperSealPopped: onExitAfterTamperSealPopped,
34597
+ enableTamperDetection: enableTamperDetection,
34501
34598
  mediaIntegrityToken: mediaIntegrityToken,
34502
34599
  classNames: classNames === null || classNames === void 0 ? void 0 : classNames.cameraStoreProvider,
34503
34600
  verbiage: verbiage === null || verbiage === void 0 ? void 0 : verbiage.cameraStoreProvider