@incodetech/web 2.4.1-agentic → 2.4.1-agentic.1
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.
- package/THIRD_PARTY_NOTICES.txt +1 -4
- package/dist/{GeolocationPermissionDenied-CUt-uebQ.js → GeolocationPermissionDenied-ClGp0a23.js} +13 -8
- package/dist/ae-signature/ae-signature.es.js +4 -4
- package/dist/{af-ZA-BWKMRc6V.js → af-ZA-BKpmmWDe.js} +75 -865
- package/dist/{ageVerification-CMIp0I--.js → ageVerification-CtuJDuRV.js} +11 -8
- package/dist/{am-DPyjIvQV.js → am-CW_ro5Ws.js} +75 -865
- package/dist/antifraud/antifraud.es.js +5 -4
- package/dist/{applyStudioConfig-DxtP9221.js → applyStudioConfig-C6-Ak0q6.js} +5 -4
- package/dist/{ar-AE-CxCvbyoW.js → ar-AE-D9h8UMbm.js} +75 -865
- package/dist/{ar-10SoqF1i.js → ar-B5ToweVl.js} +75 -865
- package/dist/{ar-EG-B1hHB55j.js → ar-EG-DQqE9B26.js} +75 -865
- package/dist/assertClassBrand-DJr5K93j.js +17 -0
- package/dist/asset-Ctwd_20H.js +355 -0
- package/dist/authentication/authentication.es.js +7 -5
- package/dist/{autoFocusTitle-BxsSeMSB.js → autoFocusTitle-CzaCWWW5.js} +2 -2
- package/dist/{az-cmuBNn_5.js → az-DAZq-CQj.js} +75 -865
- package/dist/{back-horizontal-hint-Dl2C4J4u.js → back-horizontal-hint-qzSaNkEU.js} +1 -1
- package/dist/{back-vertical-hint-CM4_HjWk.js → back-vertical-hint-DkYLOege.js} +1 -1
- package/dist/base.css +1 -1
- package/dist/{baseTutorial-BGU2Gcly.js → baseTutorial-CF6WiVYt.js} +10 -7
- package/dist/{bn-CuGYlngZ.js → bn-DRTyq2Y9.js} +75 -865
- package/dist/{bottomSheet-x20yd6eP.js → bottomSheet-DylE2INk.js} +3 -3
- package/dist/{bs-vwpJzaHm.js → bs-B8q0B86-.js} +75 -865
- package/dist/{ca-DXZs5vtr.js → ca-DvsHXRB-.js} +75 -865
- package/dist/cameraOverlay-DNf0PEF4.js +2 -0
- package/dist/{cameraOverlayHeader-BxutAKy-.js → cameraOverlayHeader-CuVGnyXI.js} +9 -8
- package/dist/{cameraView-DVzaEGW8.js → cameraView-D9ZxLKtA.js} +3 -3
- package/dist/capture-0jMDSGCE.js +762 -0
- package/dist/{tutorial-BKPHj5To.js → capture-BlGlXoTx.js} +13 -36
- package/dist/capture-DKBA5j5A.js +3 -0
- package/dist/capture-D_Dwrj1F.js +2 -0
- package/dist/captureButtonIcon-A9kn2E_m.js +1 -0
- package/dist/captureFocusContext-9789qOe3.js +729 -0
- package/dist/captureFooter-B6WUFQCV.js +47 -0
- package/dist/{ceb-CmhS_VOs.js → ceb-pvlomXHV.js} +75 -865
- package/dist/certificate-issuance/certificate-issuance.es.js +23 -13
- package/dist/{check-icon-BWTjhSuA.js → check-icon-BdHltEK6.js} +1 -1
- package/dist/{checkbox-BC26Qbxh.js → checkbox-BwUQ0Rs9.js} +4 -4
- package/dist/chooser-CmG71-lh.js +1589 -0
- package/dist/connectionError-DexRpKWs.js +90 -0
- package/dist/consent/consent.es.js +16 -12
- package/dist/{countryFlag-DXSVHiby.js → countryFlag-CQMfCnE9.js} +1 -1
- package/dist/{countrySelector-0PDDFsZF.js → countrySelector-C0OEKMqL.js} +4 -4
- package/dist/cross-document-data-match/cross-document-data-match.es.js +5 -4
- package/dist/{cs-CZ-Dg5O-Vom.js → cs-CZ-GgvnJLMj.js} +75 -865
- package/dist/{cs-CoJlE7De.js → cs-DB5PLEdt.js} +75 -865
- package/dist/curp-validation/curp-validation.es.js +34 -19
- package/dist/curp-validation/styles.css +1 -1
- package/dist/curp-validation/styles.css.js +1 -1
- package/dist/{customFields-COYGTuuK.js → customFields-DQgRumW0.js} +17 -11
- package/dist/{customWatchlist-B0wY6Rwb.js → customWatchlist-BbC0fA-6.js} +8 -6
- package/dist/{da-DK-C_JAndM-.js → da-DK-ZhpcfE_F.js} +75 -865
- package/dist/{dashboardTheme-COBidrbH.js → dashboardTheme-DtXsx9IK.js} +1 -1
- package/dist/{dateInputComposed-QkmLGLHg.js → dateInputComposed-1IcnucPq.js} +5 -5
- package/dist/dateInputComposed-BFlCk-sg.js +1 -0
- package/dist/{de-11hHLedu.js → de-DEBjzaow.js} +75 -865
- package/dist/{denied-Btt81vUD.js → denied-CwdVWAUw.js} +12 -9
- package/dist/devWarn-CW20j1Qd.js +9 -0
- package/dist/{deviceWallet-BeTpokSL.js → deviceWallet-CMjguFJO.js} +4 -4
- package/dist/{digitalIdRedirect-BnljwZV3.js → digitalIdRedirect-MNty16-5.js} +4 -4
- package/dist/{digitalIdUpload-DNhqqMHT.js → digitalIdUpload-CUzTaoaI.js} +39 -15
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/document-capture/styles.css +1 -1
- package/dist/document-capture/styles.css.js +1 -1
- package/dist/{documentCapture-uAKPK1U-.js → documentCapture-BUMyJ8vw.js} +94 -32
- package/dist/documentCapture-rECLkwpi.js +2 -0
- package/dist/dropdownComposed-C9sLQE6i.js +1 -0
- package/dist/{dropdownComposed-D_RQd0Z9.js → dropdownComposed-x3ewHxbT.js} +4 -4
- package/dist/dynamic-forms/dynamic-forms.es.js +20 -15
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekybModule-B5IEiSyi.js +2 -0
- package/dist/{ekybModule-Bsqag_MS.js → ekybModule-C5hEBLMs.js} +27 -23
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekycModule-B7OFnP3H.js +2 -0
- package/dist/{ekycModule-WlhVn8AO.js → ekycModule-TVKk0qdS.js} +26 -20
- package/dist/{el-CRGmVrep.js → el-Dplr_D5N.js} +75 -865
- package/dist/{el-GR-CjtJiRTo.js → el-GR-IZ4reOR7.js} +75 -865
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-Cm2BEiQu.js → electronic-signature-BMda_cf3.js} +49 -34
- package/dist/email/email.es.js +15 -11
- package/dist/{emailInput-JmK2JIFS.js → emailInput-BI8gWC0D.js} +4 -4
- package/dist/{en-DG-Cruu6Woh.js → en-DG-C6tsWvHi.js} +75 -865
- package/dist/{en-CSjoG3e4.js → en-Db1L_u7B.js} +75 -865
- package/dist/{errorContent-zY4jb6uY.js → errorContent-pPAgyy2i.js} +10 -7
- package/dist/es-419-DxKrJq7W.js +5 -0
- package/dist/{es-C_LAY-Yu.js → es-C5unKsaF.js} +75 -865
- package/dist/{es-ES-D7O0P5Mg.js → es-ES-sHbsufzT.js} +75 -865
- package/dist/{es-MX-DVzFaANh.js → es-MX-Cd_DCR0A.js} +75 -865
- package/dist/{et-DdSwjU5d.js → et-BoGq2cx8.js} +76 -866
- package/dist/{expiredId-DpbWqSzB.js → expiredId-DWjw94rT.js} +12 -8
- package/dist/extensibility.es.js +85 -41
- package/dist/{fa-IR-CdK8XLkS.js → fa-IR-DuUxGXrf.js} +75 -865
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/faceMatch-B2aMz3X2.js +2 -0
- package/dist/{faceMatch-B0IzR9_u.js → faceMatch-DV7NxYu_.js} +15 -10
- package/dist/{fi-FI-CYlEPu44.js → fi-FI-DMOBNTjA.js} +75 -865
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-BY2XXsp3.js +2 -0
- package/dist/{fieldComparison-OwGIeOM5.js → fieldComparison-CFLU1h6n.js} +15 -11
- package/dist/{fieldLabelHint-gdoE5nLQ.js → fieldLabelHint-CjrLxBaj.js} +3 -3
- package/dist/{finalSuccessScreen-BM9oeJDH.js → finalSuccessScreen-C50L96j9.js} +20 -16
- package/dist/fiscal-qr/fiscal-qr.es.js +24 -18
- package/dist/flipAnimation-8x-qdtF_.js +33 -0
- package/dist/flipCapturedCardEligibility-DLr9F2g2.js +210 -0
- package/dist/flow/flow.es.js +183 -167
- package/dist/flow/shell/styles.css +1 -1
- package/dist/flow/shell/styles.css.js +1 -1
- package/dist/flow/styles.css +1 -1
- package/dist/{formField-C3MNhFKI.js → formField-CfQKYeGF.js} +3 -3
- package/dist/{fr-CA-DD_s9NuV.js → fr-CA-DZ8jlsp3.js} +75 -865
- package/dist/{fr-C4cP8ZNE.js → fr-DSR-AP0e.js} +75 -865
- package/dist/{front-horizontal-hint-Dol0Lpc6.js → front-horizontal-hint-DOphQZg2.js} +1 -1
- package/dist/{front-vertical-hint-CAhAzw92.js → front-vertical-hint-S6PcS9_m.js} +1 -1
- package/dist/geolocation/geolocation.es.js +15 -10
- package/dist/government-validation/government-validation.es.js +7 -6
- package/dist/{he-D3fvMZAl.js → he-N5dfJeyd.js} +75 -865
- package/dist/{hi-DLf6_opn.js → hi-JR6K9zbd.js} +75 -865
- package/dist/{hmn-DzoODzbN.js → hmn-j2YA7FxW.js} +75 -865
- package/dist/{homeScreen-D1Xd93In.js → homeScreen-C3pPw52y.js} +17 -11
- package/dist/{incodeComponent-C1Bz5Qou.js → hooks-BFP0WaJM.js} +14 -308
- package/dist/{hr-C-jP0DrB.js → hr-8cOdwB0t.js} +75 -865
- package/dist/{ht-CVt9koJf.js → ht-DDNL4C__.js} +75 -865
- package/dist/{hu-9fSzIeAd.js → hu-CynQQUFQ.js} +75 -865
- package/dist/i18n-Dp014ljG.js +942 -0
- package/dist/{icons-BdiCuWFP.js → icons-c-hFaG4L.js} +129 -32
- package/dist/id/id.es.js +101 -197
- package/dist/id/styles.css +1 -1
- package/dist/id/styles.css.js +1 -1
- package/dist/{id-back-of-card-CHFxXTEq.js → id-back-of-card-Bk6ZQUE9.js} +1 -1
- package/dist/{id-back-of-card-vertical-CUBdKGbw.js → id-back-of-card-vertical-BZo00s50.js} +1 -1
- package/dist/{id-front-of-card-DplNJr13.js → id-front-of-card-BJ96se7u.js} +1 -1
- package/dist/{id-front-of-card-vertical-D1duHEsV.js → id-front-of-card-vertical-DSfJB0lX.js} +1 -1
- package/dist/{id-Dgi5uGHK.js → id-o_Yg0n8W.js} +75 -865
- package/dist/id-selfie-flow/id-selfie-flow.es.js +12 -11
- package/dist/id-selfie-flow/styles.css +1 -1
- package/dist/id-verification/id-verification.es.js +6 -5
- package/dist/idFlipTransition-DXdtXYza.js +158 -0
- package/dist/{idOcr-sknZwQNF.js → idOcr-CjqfkRJ7.js} +18 -14
- package/dist/identity-reuse/identity-reuse.es.js +28 -18
- package/dist/incodeComponent-DtKh-UUm.js +237 -0
- package/dist/{incodeModule-DJToJb00.js → incodeModule-DCHXAeYU.js} +5 -5
- package/dist/index.es.js +4 -3
- package/dist/{inputComposed-BuE0iZlw.js → inputComposed-CmVsaHOa.js} +4 -4
- package/dist/inputComposed-DvGrso7g.js +1 -0
- package/dist/{it-CEFstYFG.js → it-BXevrtHn.js} +75 -865
- package/dist/{ja-BNdVd9B6.js → ja-DiTXnTx-.js} +75 -865
- package/dist/{ja-JP-B5TPMV1q.js → ja-JP-D1IRWR-p.js} +75 -865
- package/dist/{jv-CMxkkXUk.js → jv-Us70GzGp.js} +75 -865
- package/dist/{ka-C70bUmEK.js → ka-BSsWQ4yU.js} +75 -865
- package/dist/{kk-C_55EmWt.js → kk-D5R6r4H7.js} +75 -865
- package/dist/{km-D4Ig0NhN.js → km-CCCb2Rnt.js} +79 -869
- package/dist/{ko-KP-BwBB8ahu.js → ko-KP-JF4khv1Y.js} +75 -865
- package/dist/{ko-DfUa3dzQ.js → ko-kQioCg2w.js} +75 -865
- package/dist/{ky-CnJichOm.js → ky-CLOemVjC.js} +75 -865
- package/dist/kyb-checks/kyb-checks.es.js +2 -0
- package/dist/kyb-checks/styles.css +2 -0
- package/dist/kyb-checks/styles.css.js +1 -0
- package/dist/kybChecksModule-C6Y9Hxpr.js +329 -0
- package/dist/kybChecksModule-r3MIpFhS.js +2 -0
- package/dist/{lo-ww1DXVAP.js → lo-tzHUt1CQ.js} +75 -865
- package/dist/{lt-IJ8qpluI.js → lt-B2ZI-Cgu.js} +76 -866
- package/dist/{lv-DMfsmqyK.js → lv-BJnxtSYw.js} +76 -866
- package/dist/{mandatoryConsent-Bp8sQoiu.js → mandatoryConsent-BiQuEZRu.js} +20 -14
- package/dist/{manualCaptureButton-Cd-FY05-.js → manualCaptureButton-BRSmPTeR.js} +8 -7
- package/dist/{manualCaptureButton-BXOTp2PS.js → manualCaptureButton-Dw0MMSkc.js} +17 -13
- package/dist/{mk-ByafmFak.js → mk-Cj7Iw2Q4.js} +75 -865
- package/dist/{mn-DjO9p3xN.js → mn-CA_rNxtz.js} +75 -865
- package/dist/{ms-3Vf1QpHl.js → ms-BydA1Zjz.js} +75 -865
- package/dist/{my-C5hpE5P1.js → my-gFKufKaG.js} +75 -865
- package/dist/{nb-NO-DGCWCOul.js → nb-NO-CDsGQbOZ.js} +75 -865
- package/dist/{ne-CpJxcVhV.js → ne-Cyfi0vFI.js} +75 -865
- package/dist/{nl-R2RykJHB.js → nl-e1gbmAFO.js} +75 -865
- package/dist/{numberedStep-CqgNwc_a.js → numberedStep-CeN77hnQ.js} +1 -1
- package/dist/{optionAccessibleLabel-BQl8HooZ.js → optionAccessibleLabel-BTUieMxH.js} +6 -6
- package/dist/{otpInput-B_iLvmIn.js → otpInput-D3L3QhnR.js} +24 -17
- package/dist/{page-utEpSa9Z.js → page-U6jZ7BBI.js} +69 -23
- package/dist/{pageUiConfig-rOL18JSI.js → pageUiConfig-Qf6ItVv9.js} +6 -14
- package/dist/{passport-horizontal-hint-BfTXA2LB.js → passport-horizontal-hint-Ddsh6fUS.js} +1 -1
- package/dist/{passport-vertical-hint-C7dzd2ks.js → passport-vertical-hint-Dukxq6-T.js} +1 -1
- package/dist/{passwordInputComposed-NtiseM85.js → passwordInputComposed-CW_1DcB8.js} +5 -5
- package/dist/{pdf-BnPw8ZaT.js → pdf-Bd5QplFS.js} +2 -17
- package/dist/{pdfViewer-DNMZsDFD.js → pdfViewer-BrqSEtbr.js} +11 -14
- package/dist/pdfViewer-rDnnHzmw.js +2 -0
- package/dist/{permissions-CCEc9lKM.js → permissions-KUDhffd9.js} +36 -23
- package/dist/phone/phone.es.js +16 -12
- package/dist/{phoneInputComposed-ByiK_6Hu.js → phoneInputComposed-DlJMTavK.js} +6 -6
- package/dist/{pl-B1LgnPj1.js → pl-BSMcCWS-.js} +75 -865
- package/dist/preloadableLazy-C8_OYaTC.js +37 -0
- package/dist/{processing-Ci_Kl-Rh.js → processing-B5EH7yNg.js} +2 -2
- package/dist/{progressBar-Caj-Vu1e.js → progressBar-CSpS29pV.js} +2 -2
- package/dist/{pt-CPVeH0hD.js → pt-BNFC2quK.js} +75 -865
- package/dist/{pt-BR-DSJDHb-K.js → pt-BR-bH8DC2gH.js} +75 -865
- package/dist/{pt-PT-BWJTVPZY.js → pt-PT-B8PXmgwU.js} +75 -865
- package/dist/qe-signature/qe-signature.es.js +4 -4
- package/dist/{radioGroupComposed-CocqpoKe.js → radioGroupComposed-CW8ElYSR.js} +4 -4
- package/dist/radioGroupComposed-flIYNffL.js +1 -0
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +19 -21
- package/dist/redirect-to-mobile/styles.css +1 -1
- package/dist/redirect-to-mobile/styles.css.js +1 -1
- package/dist/{registerIncodeElement-Dtw9dM3O.js → registerIncodeElement-oiLvm6xq.js} +1 -1
- package/dist/{reload-icon-BR1POqkD.js → reload-icon-FD2e9Wet.js} +1 -1
- package/dist/{resendTimer-ODOCcKyh.js → resendTimer-D1H3gwkI.js} +2 -2
- package/dist/richText-sUdTiRDE.js +1761 -0
- package/dist/{ro-8gGEWeHO.js → ro-DnN8QNYa.js} +75 -865
- package/dist/{ru-C4EVku5S.js → ru-DAwUFXHq.js} +75 -865
- package/dist/{ru-RU-Dr0NOGjg.js → ru-RU-Coxt0VCU.js} +75 -865
- package/dist/{sanitizeSvg-ilJ8VQmH.js → sanitizeSvg-OdNh1mqY.js} +1 -1
- package/dist/selfie/selfie.es.js +30 -14
- package/dist/selfie/styles.css +1 -1
- package/dist/selfie/styles.css.js +1 -1
- package/dist/signature/signature.es.js +18 -13
- package/dist/{sk-BSTzMa__.js → sk-AB8sSlNw.js} +77 -867
- package/dist/{sl-_HvO-HVX.js → sl-6Dfzfi7s.js} +75 -865
- package/dist/{smsTabContent-CWBrtP4u.js → smsTabContent-CBEKgzFv.js} +32 -23
- package/dist/{so-pyCaqonl.js → so-X5BdrDvV.js} +75 -865
- package/dist/spacer-Jaru_3sb.js +82 -0
- package/dist/spinner-51btbot0.js +407 -0
- package/dist/{sr-Bpxtt0kk.js → sr-JHjMcbGs.js} +75 -865
- package/dist/{sr-Latn-BjueCJSI.js → sr-Latn-DgT7eTG2.js} +80 -870
- package/dist/sr-YU-BBhB_G63.js +5 -0
- package/dist/{sv-SE-sv5v6ZWe.js → sv-SE-CvX8mC8T.js} +75 -865
- package/dist/{sw-BseJSmdR.js → sw-CN0TdnY4.js} +75 -865
- package/dist/{th-C2G8Ur12.js → th-BmFntKib.js} +75 -865
- package/dist/{th-TH-D0WNW-3l.js → th-TH-CWr4z3JK.js} +75 -865
- package/dist/themes/dark.css +1 -1
- package/dist/themes/light.css +1 -1
- package/dist/{tl-PH-CwafDrED.js → tl-PH-BRIbtBRN.js} +75 -865
- package/dist/{tl-CBOmxz5r.js → tl-rzkk5P_n.js} +75 -865
- package/dist/{tr-C4iH8UJx.js → tr-DKuVBwqW.js} +76 -866
- package/dist/{transitionSpinner-DbrWrpRU.js → transitionSpinner-Di0XBAix.js} +5 -4
- package/dist/tutorial-C9psDR2i.js +28 -0
- package/dist/types/extensibility.d.ts +6 -1
- package/dist/types/index.d.ts +4 -0
- package/dist/types/kyb-checks.d.ts +209 -0
- package/dist/{typography-BF9d8wEc.js → typography-CiGhKJGx.js} +2 -2
- package/dist/uiConfig-BJAuZQWc.js +77 -0
- package/dist/{uk-BGYlvKb_.js → uk-CXjqq4lX.js} +75 -865
- package/dist/{uk-UA-CbxzkCL_.js → uk-UA-BIE9WByU.js} +75 -865
- package/dist/{ur-BQgtsAfv.js → ur-vNGesC3r.js} +75 -865
- package/dist/{useCameraPreview-BmkAmzAs.js → useCameraPreview-Bd7AYE9h.js} +1 -1
- package/dist/useCaptureHelpButton-Dj-jESrS.js +43 -0
- package/dist/{useIsDarkTheme-COJZngNK.js → useIsDarkTheme-Bu9CvKxW.js} +1 -1
- package/dist/{useModuleLoader-CceEKjsh.js → useModuleLoader-BBCNkJmc.js} +2 -2
- package/dist/{uz-DqOg1Fdv.js → uz-Gmw1XRgv.js} +75 -865
- package/dist/{vendor-preact-C0jX1Cbq.js → vendor-preact-DHGqBGMH.js} +19 -1
- package/dist/{verificationResult-m99Ragq6.js → verificationResult-Clxdxm_s.js} +18 -10
- package/dist/{vi-COxdKkHn.js → vi-DTxxRUw0.js} +75 -865
- package/dist/video-selfie/video-selfie.es.js +50 -33
- package/dist/watchlist/watchlist.es.js +8 -6
- package/dist/{watchlistForBusiness-C2zxbavl.js → watchlistForBusiness-CpFp2EYX.js} +16 -11
- package/dist/{withEndScreenTexts-BwNU-8-X.js → withEndScreenTexts-Bd3mof3s.js} +204 -41
- package/dist/workflow/styles.css +1 -1
- package/dist/workflow/workflow.es.js +19 -15
- package/dist/{zh-CN-DfvYQGdE.js → zh-CN-aB48G_R1.js} +76 -866
- package/dist/{zh-CPQoDPxf.js → zh-DjtyfO4e.js} +75 -865
- package/dist/{zh-HANT-B4LzHH2y.js → zh-HANT-8p8SH8C3.js} +75 -865
- package/dist/{zh-TW-DtvvhBYL.js → zh-TW-CCsz9gKq.js} +75 -865
- package/package.json +22 -10
- package/dist/browser-ponyfill-CHlXHPpU.js +0 -441
- package/dist/cameraOverlay-Be1PFI8S.js +0 -2
- package/dist/dateInputComposed-CONPVayx.js +0 -1
- package/dist/devWarn-Cr7MglXv.js +0 -2628
- package/dist/documentCapture-DGCraCO3.js +0 -2
- package/dist/dropdownComposed-DyZXfcTf.js +0 -1
- package/dist/ekybModule-D-czIusz.js +0 -2
- package/dist/ekycModule-CkBRa6h2.js +0 -2
- package/dist/es-419-CTB15v-l.js +0 -3231
- package/dist/esm-BTUEHyry.js +0 -430
- package/dist/faceMatch-CRbIcwK2.js +0 -2
- package/dist/fieldComparison-DKQNK0-r.js +0 -2
- package/dist/flipAnimation-D-5tokFC.js +0 -3275
- package/dist/inputComposed-5mLbxAZJ.js +0 -1
- package/dist/pdfViewer-7FzYV8l3.js +0 -2
- package/dist/radioGroupComposed-DlQ-fNrF.js +0 -1
- package/dist/richText-CRWB2afV.js +0 -1549
- package/dist/spacer-CwyNauIk.js +0 -733
- package/dist/spinner-DEZJxLSc.js +0 -88
- package/dist/sr-YU-xCb5qxap.js +0 -3235
- package/dist/useCaptureHelpButton-D40hYyD7.js +0 -88
- /package/dist/{aligndevicelottie-BHWuptBk.js → aligndevicelottie-BEKzL4SB.js} +0 -0
- /package/dist/{back-tutorial-BYZr11eV.js → back-tutorial-B9W63fa-.js} +0 -0
- /package/dist/{backdevicelottie-JflQKxT_.js → backdevicelottie-DsN8QBV3.js} +0 -0
- /package/dist/{blurdevicelottie-CWuMQEHL.js → blurdevicelottie-DkV7Kwo4.js} +0 -0
- /package/dist/{countryDefinitions-6FOOLcB2.js → countryDefinitions-RBVGM1D_.js} +0 -0
- /package/dist/{defineProperty-CUC2zCmh.js → defineProperty-E9wRIIo9.js} +0 -0
- /package/dist/{flip-animation-BqTKEBcW.js → flip-animation-DJVnWWL5.js} +0 -0
- /package/dist/{frontdevicelottie-BWD-NCfG.js → frontdevicelottie-DiW1Wmya.js} +0 -0
- /package/dist/{glaredevicelottie-Cjy50jGc.js → glaredevicelottie-CK-fnX_s.js} +0 -0
- /package/dist/{helpButtonConfig-BFragC_J.js → helpButtonConfig-CjbrBQaV.js} +0 -0
- /package/dist/{id-laser-h-By7lMim8.js → id-laser-h-6Am_cjM8.js} +0 -0
- /package/dist/{id-laser-v-BCPAN2x5.js → id-laser-v-DXoF3flH.js} +0 -0
- /package/dist/{id-tutorial-B9cUQuf0.js → id-tutorial-DkKH3eTE.js} +0 -0
- /package/dist/{lottie_light-DywVSPMT.js → lottie_light-B819EhaL.js} +0 -0
- /package/dist/{passport-tutorial-TSZzEGqb.js → passport-tutorial-D3Fpk-Tj.js} +0 -0
- /package/dist/{pdf.worker.min-D7ZNTVBZ.js → pdf.worker.min-DzBNMoKS.js} +0 -0
- /package/dist/{policyUrls-Bpacx_pp.js → policyUrls-Benduf-R.js} +0 -0
- /package/dist/{purify.es-DZazHwBu.js → purify.es-CSPoFViI.js} +0 -0
- /package/dist/{realtimeFeedbackConfig-DeZksjlR.js → realtimeFeedbackConfig-tBX94SOm.js} +0 -0
- /package/dist/{selfieTutorial-CLJAEuXG.js → selfieTutorial-DnsRD1Z9.js} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FieldComparison } from "../fieldComparison-
|
|
1
|
+
import { t as FieldComparison } from "../fieldComparison-CFLU1h6n.js";
|
|
2
2
|
export { FieldComparison };
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as Page } from "./page-
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
1
|
+
import { i as useTranslation } from "./i18n-Dp014ljG.js";
|
|
2
|
+
import { b as u } from "./vendor-preact-DHGqBGMH.js";
|
|
3
|
+
import { x as PrizmaButton } from "./icons-c-hFaG4L.js";
|
|
4
|
+
import { n as cn, t as Spacer } from "./spacer-Jaru_3sb.js";
|
|
5
|
+
import { t as Page } from "./page-U6jZ7BBI.js";
|
|
6
|
+
import { g as useModuleTerminalCallbacks, t as withStandaloneModuleBootstrap, v as useManager } from "./hooks-BFP0WaJM.js";
|
|
7
|
+
import { t as IncodeComponent } from "./incodeComponent-DtKh-UUm.js";
|
|
8
|
+
import { t as VerificationResult } from "./verificationResult-Clxdxm_s.js";
|
|
9
|
+
import { t as InputComposed } from "./inputComposed-CmVsaHOa.js";
|
|
10
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-DCHXAeYU.js";
|
|
10
11
|
import { createFieldComparisonManager } from "@incodetech/core/field-comparison";
|
|
11
12
|
//#region src/modules/field-comparison/fieldComparison.tsx
|
|
12
13
|
var FieldComparisonContent = ({ config, manager: externalManager, onFinish }) => {
|
|
@@ -84,11 +85,14 @@ var FieldComparisonContent = ({ config, manager: externalManager, onFinish }) =>
|
|
|
84
85
|
}
|
|
85
86
|
}),
|
|
86
87
|
/* @__PURE__ */ u(Spacer, {}),
|
|
87
|
-
/* @__PURE__ */ u(
|
|
88
|
+
/* @__PURE__ */ u(PrizmaButton, {
|
|
89
|
+
variant: "primary",
|
|
90
|
+
size: "L",
|
|
91
|
+
className: cn("IncodeButton IncodeButtonPrimary IncodeButtonL", isDisabled && "IncodeButtonLoading"),
|
|
88
92
|
type: "submit",
|
|
89
93
|
"data-testid": "field-comparison-submit",
|
|
90
94
|
disabled: !canSubmit || isDisabled,
|
|
91
|
-
|
|
95
|
+
loading: isDisabled,
|
|
92
96
|
onClick: handleSubmit,
|
|
93
97
|
children: t("common.continue")
|
|
94
98
|
})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as M, b as u, w as k } from "./vendor-preact-DHGqBGMH.js";
|
|
2
2
|
//#region src/shared/fieldLabelHint/fieldLabelHint.tsx
|
|
3
|
-
var FieldLabelHint = ({ className, hint, required, testId })
|
|
3
|
+
var FieldLabelHint = M(function FieldLabelHint({ className, hint, required, testId }) {
|
|
4
4
|
if (!required && !hint) return null;
|
|
5
5
|
return /* @__PURE__ */ u(k, { children: [required ? /* @__PURE__ */ u(k, { children: [" ", /* @__PURE__ */ u("span", {
|
|
6
6
|
"aria-hidden": "true",
|
|
@@ -11,6 +11,6 @@ var FieldLabelHint = ({ className, hint, required, testId }) => {
|
|
|
11
11
|
"data-testid": required ? `${testId}-supplementary` : testId,
|
|
12
12
|
children: hint
|
|
13
13
|
}) : null] });
|
|
14
|
-
};
|
|
14
|
+
});
|
|
15
15
|
//#endregion
|
|
16
16
|
export { FieldLabelHint as t };
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as AutoFocusTitle } from "./autoFocusTitle-
|
|
6
|
-
import { t as Page } from "./page-
|
|
7
|
-
import { r as Modal } from "./pageUiConfig-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { n as
|
|
12
|
-
import {
|
|
1
|
+
import { i as useTranslation } from "./i18n-Dp014ljG.js";
|
|
2
|
+
import { _ as q, b as u, l as A, m as d, w as k, y } from "./vendor-preact-DHGqBGMH.js";
|
|
3
|
+
import { r as SuccessIcon, u as ErrorIcon, x as PrizmaButton } from "./icons-c-hFaG4L.js";
|
|
4
|
+
import { n as cn } from "./spacer-Jaru_3sb.js";
|
|
5
|
+
import { t as AutoFocusTitle } from "./autoFocusTitle-CzaCWWW5.js";
|
|
6
|
+
import { t as Page } from "./page-U6jZ7BBI.js";
|
|
7
|
+
import { r as Modal } from "./pageUiConfig-Qf6ItVv9.js";
|
|
8
|
+
import { l as useTimeoutHandle } from "./hooks-BFP0WaJM.js";
|
|
9
|
+
import { t as Asset } from "./asset-Ctwd_20H.js";
|
|
10
|
+
import { n as LoadingIcon, o as Lottie } from "./spinner-51btbot0.js";
|
|
11
|
+
import { n as CameraFrame } from "./cameraView-D9ZxLKtA.js";
|
|
12
|
+
import { t as ManualCaptureButton } from "./manualCaptureButton-BRSmPTeR.js";
|
|
13
|
+
import { n as CaptureNotification, t as ManualCaptureButton$1 } from "./manualCaptureButton-Dw0MMSkc.js";
|
|
13
14
|
import { resolveVideoSelfieSteps } from "@incodetech/core/video-selfie";
|
|
15
|
+
import { checkCameraPermission, requestCameraPermission } from "@incodetech/core/camera";
|
|
14
16
|
//#region src/modules/video-selfie/useVideoSelfiePermissions.ts
|
|
15
17
|
/**
|
|
16
18
|
* Drives the shared camera `<Permissions>` screen for Video Selfie. Mirrors the
|
|
@@ -175,10 +177,12 @@ var VideoSelfieTutorial = ({ config, steps, copy, onStart, isLoading }) => {
|
|
|
175
177
|
})
|
|
176
178
|
}), /* @__PURE__ */ u("div", {
|
|
177
179
|
class: "IncodeVideoSelfieTutorialActions",
|
|
178
|
-
children: /* @__PURE__ */ u(
|
|
179
|
-
|
|
180
|
+
children: /* @__PURE__ */ u(PrizmaButton, {
|
|
181
|
+
variant: "primary",
|
|
182
|
+
size: "L",
|
|
183
|
+
className: cn("IncodeButton IncodeButtonPrimary IncodeButtonL IncodeVideoSelfieTutorialStartButton", isLoading && "IncodeButtonLoading"),
|
|
180
184
|
onClick: onStart,
|
|
181
|
-
isLoading,
|
|
185
|
+
loading: isLoading,
|
|
182
186
|
children: copy?.startLabel ?? t("videoSelfie.tutorial.startVideoSelfie", { defaultValue: "Start video selfie" })
|
|
183
187
|
})
|
|
184
188
|
})]
|
|
@@ -273,7 +277,7 @@ var SelfieMask = ({ variant = "idle", message, onManualCapture }) => {
|
|
|
273
277
|
//#region src/modules/video-selfie/idFlipModal.tsx
|
|
274
278
|
var animationPromise = null;
|
|
275
279
|
function loadIdFlipAnimation() {
|
|
276
|
-
animationPromise ??= import("./flip-animation-
|
|
280
|
+
animationPromise ??= import("./flip-animation-DJVnWWL5.js").then((module) => module.default);
|
|
277
281
|
return animationPromise;
|
|
278
282
|
}
|
|
279
283
|
function preloadIdFlipAnimation() {
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as Page } from "../page-
|
|
6
|
-
import {
|
|
7
|
-
import { t as Spinner } from "../spinner-
|
|
8
|
-
import "../transitionSpinner-
|
|
9
|
-
import { t as
|
|
10
|
-
import {
|
|
11
|
-
import { n as
|
|
12
|
-
import "../
|
|
13
|
-
import
|
|
1
|
+
import { i as useTranslation } from "../i18n-Dp014ljG.js";
|
|
2
|
+
import { b as u, c as z, o as P } from "../vendor-preact-DHGqBGMH.js";
|
|
3
|
+
import { x as PrizmaButton } from "../icons-c-hFaG4L.js";
|
|
4
|
+
import { t as Spacer } from "../spacer-Jaru_3sb.js";
|
|
5
|
+
import { t as Page } from "../page-U6jZ7BBI.js";
|
|
6
|
+
import { g as useModuleTerminalCallbacks, t as withStandaloneModuleBootstrap, v as useManager } from "../hooks-BFP0WaJM.js";
|
|
7
|
+
import { t as Spinner } from "../spinner-51btbot0.js";
|
|
8
|
+
import "../transitionSpinner-Di0XBAix.js";
|
|
9
|
+
import { t as IncodeComponent } from "../incodeComponent-DtKh-UUm.js";
|
|
10
|
+
import { t as VerificationResult } from "../verificationResult-Clxdxm_s.js";
|
|
11
|
+
import { n as CameraFrame, t as CameraView } from "../cameraView-D9ZxLKtA.js";
|
|
12
|
+
import { n as CameraOverlay, t as CameraOverlayHeader } from "../cameraOverlayHeader-CuVGnyXI.js";
|
|
13
|
+
import "../cameraOverlay-DNf0PEF4.js";
|
|
14
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-DCHXAeYU.js";
|
|
14
15
|
import { createFiscalQrManager } from "@incodetech/core/fiscal-qr";
|
|
15
16
|
//#region src/modules/fiscal-qr/fiscalQrCapture.tsx
|
|
16
17
|
function getFrameState(status) {
|
|
@@ -34,7 +35,7 @@ var FiscalQrCapture = ({ manager, state }) => {
|
|
|
34
35
|
stream: state.stream,
|
|
35
36
|
"data-testid": "fiscal-qr-camera",
|
|
36
37
|
children: /* @__PURE__ */ u(CameraOverlay, {
|
|
37
|
-
className: "IncodeFiscalQrOverlay",
|
|
38
|
+
className: "IncodeFiscalQrOverlay IncodeCompactReflow",
|
|
38
39
|
children: [
|
|
39
40
|
statusMessage ? /* @__PURE__ */ u("p", {
|
|
40
41
|
class: "IncodeSrOnly",
|
|
@@ -67,8 +68,10 @@ var FiscalQrCapture = ({ manager, state }) => {
|
|
|
67
68
|
}),
|
|
68
69
|
/* @__PURE__ */ u("div", {
|
|
69
70
|
className: "IncodeFiscalQrButtonWrapper",
|
|
70
|
-
children: /* @__PURE__ */ u(
|
|
71
|
-
|
|
71
|
+
children: /* @__PURE__ */ u(PrizmaButton, {
|
|
72
|
+
size: "L",
|
|
73
|
+
className: "IncodeButton IncodeButtonLink IncodeButtonL",
|
|
74
|
+
variant: "tertiary-link",
|
|
72
75
|
onClick: () => manager.skip(),
|
|
73
76
|
"data-testid": "fiscal-qr-skip",
|
|
74
77
|
children: t("common.skip")
|
|
@@ -202,7 +205,7 @@ var FiscalQrLoading = () => /* @__PURE__ */ u(Page, {
|
|
|
202
205
|
});
|
|
203
206
|
//#endregion
|
|
204
207
|
//#region src/modules/fiscal-qr/fiscal-qr.tsx
|
|
205
|
-
var Denied = z(() => import("../denied-
|
|
208
|
+
var Denied = z(() => import("../denied-CwdVWAUw.js").then((module) => ({ default: module.Denied })));
|
|
206
209
|
var FiscalQrContent = ({ config, manager: externalManager, onFinish }) => {
|
|
207
210
|
const { t } = useTranslation();
|
|
208
211
|
const [state, manager] = useManager(() => externalManager ?? createFiscalQrManager({ config: config ?? {} }), {
|
|
@@ -246,7 +249,10 @@ var FiscalQrContent = ({ config, manager: externalManager, onFinish }) => {
|
|
|
246
249
|
children: [
|
|
247
250
|
/* @__PURE__ */ u(fiscalQrIcon, {}),
|
|
248
251
|
/* @__PURE__ */ u(Spacer, {}),
|
|
249
|
-
/* @__PURE__ */ u(
|
|
252
|
+
/* @__PURE__ */ u(PrizmaButton, {
|
|
253
|
+
variant: "primary",
|
|
254
|
+
size: "L",
|
|
255
|
+
className: "IncodeButton IncodeButtonPrimary IncodeButtonL",
|
|
250
256
|
onClick: () => manager.continue(),
|
|
251
257
|
"data-testid": "fiscal-qr-continue",
|
|
252
258
|
children: t("common.continue")
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { i as useTranslation } from "./i18n-Dp014ljG.js";
|
|
2
|
+
import { _ as q, b as u } from "./vendor-preact-DHGqBGMH.js";
|
|
3
|
+
import { t as Spacer } from "./spacer-Jaru_3sb.js";
|
|
4
|
+
import { t as Title } from "./typography-CiGhKJGx.js";
|
|
5
|
+
import { r as AnimatedAsset } from "./spinner-51btbot0.js";
|
|
6
|
+
//#region src/modules/id/flipAnimation.tsx
|
|
7
|
+
var FlipAnimation = ({ manager, direction }) => {
|
|
8
|
+
const { t } = useTranslation();
|
|
9
|
+
const handleAnimationComplete = q(async () => {
|
|
10
|
+
await new Promise((resolve) => setTimeout(resolve, 1e3));
|
|
11
|
+
if (direction === "toBack") manager.continueToBack();
|
|
12
|
+
else manager.continueToFront();
|
|
13
|
+
}, [direction, manager]);
|
|
14
|
+
return /* @__PURE__ */ u("div", {
|
|
15
|
+
class: "IncodeFlipAnimation",
|
|
16
|
+
children: [
|
|
17
|
+
/* @__PURE__ */ u(Title, {
|
|
18
|
+
role: "status",
|
|
19
|
+
className: "IncodeFlipAnimationTitle",
|
|
20
|
+
children: t(direction === "toBack" ? "idv2.flipAnimation.title" : "idv2.flipAnimation.titleToFront")
|
|
21
|
+
}),
|
|
22
|
+
/* @__PURE__ */ u(Spacer, { size: 32 }),
|
|
23
|
+
/* @__PURE__ */ u(AnimatedAsset, {
|
|
24
|
+
name: "id.flip",
|
|
25
|
+
loop: false,
|
|
26
|
+
reverse: direction === "toFront",
|
|
27
|
+
onComplete: handleAnimationComplete
|
|
28
|
+
})
|
|
29
|
+
]
|
|
30
|
+
});
|
|
31
|
+
};
|
|
32
|
+
//#endregion
|
|
33
|
+
export { FlipAnimation as t };
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import { b as u, d as T, y } from "./vendor-preact-DHGqBGMH.js";
|
|
2
|
+
import "./icons-c-hFaG4L.js";
|
|
3
|
+
import { n as cn } from "./spacer-Jaru_3sb.js";
|
|
4
|
+
import { a as useFeatureManagement } from "./hooks-BFP0WaJM.js";
|
|
5
|
+
import { eventModuleNames, recordExperimentAssignmentOnce } from "@incodetech/core/events";
|
|
6
|
+
import { ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, numberParam, resolveExperiment } from "@incodetech/core/feature-management";
|
|
7
|
+
//#region src/modules/id/experiments/constants.ts
|
|
8
|
+
var CAMERA_PERMISSION_UX = {
|
|
9
|
+
CONTROL: "control",
|
|
10
|
+
PENDING: "pending",
|
|
11
|
+
PERMISSION_SHEET: "permissionSheet",
|
|
12
|
+
HOW_IT_WORKS: "howItWorks",
|
|
13
|
+
PERMISSION_IN_CAMERA: "permissionInCamera"
|
|
14
|
+
};
|
|
15
|
+
var ID_CAPTURE_STATUS = {
|
|
16
|
+
TUTORIAL: "tutorial",
|
|
17
|
+
PERMISSIONS: "permissions",
|
|
18
|
+
LOADING: "loading",
|
|
19
|
+
CAPTURE: "capture"
|
|
20
|
+
};
|
|
21
|
+
/** Underlying machine phases core collapses into `status: 'loading'`. */
|
|
22
|
+
var ID_CAPTURE_LOADING_PHASE = {
|
|
23
|
+
PERMISSIONS_IDLE: "permissionsIdle",
|
|
24
|
+
CHECKING_STREAM: "checkingStream",
|
|
25
|
+
INITIALIZING_DEEPSIGHT: "initializingDeepsight",
|
|
26
|
+
INITIALIZING_CAMERA: "initializingCamera"
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* The post-grant camera warm-up phases. IDC-03 is the only arm that renders
|
|
30
|
+
* across them — its shell stays mounted until live capture takes over — so
|
|
31
|
+
* `useCameraPermissionUx` (which arm may paint) and
|
|
32
|
+
* `useIdPermissionExperience` (whether the shell is retained) must agree on
|
|
33
|
+
* exactly this set.
|
|
34
|
+
*/
|
|
35
|
+
var CAMERA_WARMUP_LOADING_PHASES = new Set([
|
|
36
|
+
ID_CAPTURE_LOADING_PHASE.CHECKING_STREAM,
|
|
37
|
+
ID_CAPTURE_LOADING_PHASE.INITIALIZING_DEEPSIGHT,
|
|
38
|
+
ID_CAPTURE_LOADING_PHASE.INITIALIZING_CAMERA
|
|
39
|
+
]);
|
|
40
|
+
/** Underlying machine phases core collapses into `status: 'tutorial'`. */
|
|
41
|
+
var ID_CAPTURE_TUTORIAL_PHASE = {
|
|
42
|
+
CHECKING_PERMISSION: "checkingPermission",
|
|
43
|
+
READY: "ready",
|
|
44
|
+
INITIALIZING_CAMERA: "initializingCamera",
|
|
45
|
+
WAITING_FOR_PERMISSION: "waitingForPermission",
|
|
46
|
+
WAITING_FOR_CAMERA: "waitingForCamera"
|
|
47
|
+
};
|
|
48
|
+
/** Tutorial phases where the user has already continued and the CTA must show busy. */
|
|
49
|
+
var CONTINUING_TUTORIAL_PHASES = new Set([ID_CAPTURE_TUTORIAL_PHASE.WAITING_FOR_PERMISSION, ID_CAPTURE_TUTORIAL_PHASE.WAITING_FOR_CAMERA]);
|
|
50
|
+
var PERMISSION_DIALOG_STATUS = {
|
|
51
|
+
IDLE: "idle",
|
|
52
|
+
MOTION_ONLY: "motionOnly",
|
|
53
|
+
REQUESTING: "requesting"
|
|
54
|
+
};
|
|
55
|
+
var EXPERIMENT_LIFECYCLE_STATUS = { PENDING: "pending" };
|
|
56
|
+
/** IDC-08 arms — console-owned values, kebab-case `auto-dismiss` included. */
|
|
57
|
+
var MANUAL_TOOLTIP = {
|
|
58
|
+
CONTROL: "control",
|
|
59
|
+
REMOVE: "remove",
|
|
60
|
+
AUTO_DISMISS: "auto-dismiss"
|
|
61
|
+
};
|
|
62
|
+
var MANUAL_TOOLTIP_VARIANTS = [
|
|
63
|
+
MANUAL_TOOLTIP.CONTROL,
|
|
64
|
+
MANUAL_TOOLTIP.REMOVE,
|
|
65
|
+
MANUAL_TOOLTIP.AUTO_DISMISS
|
|
66
|
+
];
|
|
67
|
+
/**
|
|
68
|
+
* Today's shipped CSS dwell (`manualCaptureTooltipExit` animation-delay) — the
|
|
69
|
+
* control arm's behavior, so also the param default: an unallocated/control
|
|
70
|
+
* session that omits `autoDismissIntervalMs` must reproduce this exactly, not
|
|
71
|
+
* the treatment's shortened dwell.
|
|
72
|
+
*/
|
|
73
|
+
var MANUAL_TOOLTIP_DISMISS_DELAY_MS = 3500;
|
|
74
|
+
/**
|
|
75
|
+
* Console-owned param name that selects IDC-08's `experimentAssigned` dedupe
|
|
76
|
+
* granularity at runtime — ships ahead of the PM/mobile sync on this, so the
|
|
77
|
+
* rule can be flipped without a code change. See
|
|
78
|
+
* `useManualTooltipExperiment.ts` for how each rule builds the dedupe key.
|
|
79
|
+
*/
|
|
80
|
+
var MANUAL_TOOLTIP_DEDUPE_RULE_PARAM = "idcExp08ManualTooltipDedupeRule";
|
|
81
|
+
/** One `experimentAssigned` per session (default — today's product decision). */
|
|
82
|
+
var MANUAL_TOOLTIP_DEDUPE_RULE_ONCE = "once";
|
|
83
|
+
/** One `experimentAssigned` per (ID-module allocation, side). */
|
|
84
|
+
var MANUAL_TOOLTIP_DEDUPE_RULE_PER_CAPTURE = "per-capture";
|
|
85
|
+
//#endregion
|
|
86
|
+
//#region src/modules/id/experiments/idExperiments.ts
|
|
87
|
+
/**
|
|
88
|
+
* Code-owned registry of ID-module UI experiments. Each entry is a
|
|
89
|
+
* self-describing object param on `onboarding_web_sdk_ps`; see
|
|
90
|
+
* `useIdExperiment` for how it is read and reported.
|
|
91
|
+
*/
|
|
92
|
+
var ID_EXPERIMENTS = {
|
|
93
|
+
flipCapturedCard: {
|
|
94
|
+
storeParam: "idcExp07FlipInCaptureState",
|
|
95
|
+
module: eventModuleNames.idCapture,
|
|
96
|
+
...defineExperimentParams({ shouldFlipCapturedCard: booleanParam(false) })
|
|
97
|
+
},
|
|
98
|
+
cameraPermissionSheet: {
|
|
99
|
+
storeParam: "idcExp01PermissionSheet",
|
|
100
|
+
module: eventModuleNames.idCapture,
|
|
101
|
+
...defineExperimentParams({ showPermissionSheet: booleanParam(false) })
|
|
102
|
+
},
|
|
103
|
+
darkCameraLoading: {
|
|
104
|
+
storeParam: "idcExp04DarkCameraLoading",
|
|
105
|
+
module: eventModuleNames.idCapture,
|
|
106
|
+
...defineExperimentParams({ showDarkCameraLoading: booleanParam(false) })
|
|
107
|
+
},
|
|
108
|
+
cameraPermissionHowItWorks: {
|
|
109
|
+
storeParam: "idcExp02HowItWorks",
|
|
110
|
+
module: eventModuleNames.idCapture,
|
|
111
|
+
...defineExperimentParams({ showHowItWorks: booleanParam(false) })
|
|
112
|
+
},
|
|
113
|
+
cameraPermissionInCamera: {
|
|
114
|
+
storeParam: "idcExp03PermissionInCamera",
|
|
115
|
+
module: eventModuleNames.idCapture,
|
|
116
|
+
...defineExperimentParams({ showPermissionInCamera: booleanParam(false) })
|
|
117
|
+
},
|
|
118
|
+
manualTooltip: {
|
|
119
|
+
storeParam: "idcExp08ManualTooltip",
|
|
120
|
+
module: eventModuleNames.idCapture,
|
|
121
|
+
...defineExperimentParams({
|
|
122
|
+
manualTooltipVariant: enumParam(MANUAL_TOOLTIP.CONTROL, MANUAL_TOOLTIP_VARIANTS),
|
|
123
|
+
autoDismissIntervalMs: numberParam(MANUAL_TOOLTIP_DISMISS_DELAY_MS, {
|
|
124
|
+
min: 0,
|
|
125
|
+
max: 1e4,
|
|
126
|
+
integer: true
|
|
127
|
+
})
|
|
128
|
+
})
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
//#endregion
|
|
132
|
+
//#region src/experiments/makeUseModuleExperiment.ts
|
|
133
|
+
/**
|
|
134
|
+
* Builds a per-module experiment hook bound to `registry` (e.g.
|
|
135
|
+
* `ID_EXPERIMENTS`). Each experiment is a self-describing object param on the
|
|
136
|
+
* shared `onboarding_web_sdk_ps` store; the hook resolves it once at the
|
|
137
|
+
* visibility site (single-phase read — exposure logged on that read).
|
|
138
|
+
*/
|
|
139
|
+
function makeUseModuleExperiment(registry) {
|
|
140
|
+
return function useModuleExperiment({ key, enabled = true, reportAssignment = true, dedupeKey, conditions }) {
|
|
141
|
+
const spec = registry[key];
|
|
142
|
+
const { value: store, status } = useFeatureManagement("parameterStore", ONBOARDING_WEB_SDK_PARAMETER_STORE);
|
|
143
|
+
const conditionsKey = conditions ? JSON.stringify(conditions) : "";
|
|
144
|
+
const resolvedDedupeKey = dedupeKey ?? spec.storeParam;
|
|
145
|
+
const resolved = T(() => enabled && status === "ready" ? resolveExperiment(spec, { store }) : {
|
|
146
|
+
params: { ...spec.defaults },
|
|
147
|
+
assignment: null
|
|
148
|
+
}, [
|
|
149
|
+
enabled,
|
|
150
|
+
status,
|
|
151
|
+
store,
|
|
152
|
+
spec
|
|
153
|
+
]);
|
|
154
|
+
const assignment = resolved.assignment;
|
|
155
|
+
const variant = typeof assignment?.variant === "string" ? assignment.variant : null;
|
|
156
|
+
y(() => {
|
|
157
|
+
if (!assignment || !reportAssignment) return;
|
|
158
|
+
recordExperimentAssignmentOnce(spec.module, resolvedDedupeKey, {
|
|
159
|
+
...assignment,
|
|
160
|
+
conditions: conditionsKey ? JSON.parse(conditionsKey) : void 0
|
|
161
|
+
});
|
|
162
|
+
}, [
|
|
163
|
+
assignment,
|
|
164
|
+
reportAssignment,
|
|
165
|
+
spec,
|
|
166
|
+
resolvedDedupeKey,
|
|
167
|
+
conditionsKey
|
|
168
|
+
]);
|
|
169
|
+
return {
|
|
170
|
+
variant,
|
|
171
|
+
status,
|
|
172
|
+
params: resolved.params
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
//#endregion
|
|
177
|
+
//#region src/modules/id/experiments/useIdExperiment.ts
|
|
178
|
+
/**
|
|
179
|
+
* ID-module binding of `makeUseModuleExperiment` (see `@/experiments` for
|
|
180
|
+
* the shared parameter-store/analytics-gate/assignment-recording mechanics),
|
|
181
|
+
* bound to `ID_EXPERIMENTS`.
|
|
182
|
+
*
|
|
183
|
+
* Pass `enabled: false` for a surface/mode the treatment can never apply to
|
|
184
|
+
* (e.g. passport in `flipCapturedCard`) so that surface neither logs an
|
|
185
|
+
* exposure nor records an assignment; `params` still resolves to the
|
|
186
|
+
* registry-declared defaults so callers don't need a separate
|
|
187
|
+
* branch.
|
|
188
|
+
*/
|
|
189
|
+
var useIdExperiment = makeUseModuleExperiment(ID_EXPERIMENTS);
|
|
190
|
+
//#endregion
|
|
191
|
+
//#region src/modules/id/shared/captureFrame.tsx
|
|
192
|
+
var CaptureFrame = ({ orientation, mode, state, children, className }) => {
|
|
193
|
+
const isHorizontal = orientation !== "vertical";
|
|
194
|
+
const isPassport = mode === "passport";
|
|
195
|
+
const stateClass = `IncodeCaptureFrame${state.charAt(0).toUpperCase() + state.slice(1)}`;
|
|
196
|
+
return /* @__PURE__ */ u("div", {
|
|
197
|
+
class: cn("IncodeCaptureFrame", isHorizontal ? "IncodeCaptureFrameHorizontal" : "IncodeCaptureFrameVertical", stateClass, isPassport && "IncodeCaptureFramePassport", className),
|
|
198
|
+
"aria-hidden": "true",
|
|
199
|
+
role: "presentation",
|
|
200
|
+
children
|
|
201
|
+
});
|
|
202
|
+
};
|
|
203
|
+
//#endregion
|
|
204
|
+
//#region src/modules/id/experiments/flipCapturedCardEligibility.ts
|
|
205
|
+
/** Whether the captured-card treatment has a camera image it can physically flip. */
|
|
206
|
+
function canFlipCapturedCard(mode, previewImageUrl) {
|
|
207
|
+
return mode !== "passport" && Boolean(previewImageUrl);
|
|
208
|
+
}
|
|
209
|
+
//#endregion
|
|
210
|
+
export { PERMISSION_DIALOG_STATUS as _, CAMERA_PERMISSION_UX as a, EXPERIMENT_LIFECYCLE_STATUS as c, ID_CAPTURE_TUTORIAL_PHASE as d, MANUAL_TOOLTIP as f, MANUAL_TOOLTIP_DISMISS_DELAY_MS as g, MANUAL_TOOLTIP_DEDUPE_RULE_PER_CAPTURE as h, ID_EXPERIMENTS as i, ID_CAPTURE_LOADING_PHASE as l, MANUAL_TOOLTIP_DEDUPE_RULE_PARAM as m, CaptureFrame as n, CAMERA_WARMUP_LOADING_PHASES as o, MANUAL_TOOLTIP_DEDUPE_RULE_ONCE as p, useIdExperiment as r, CONTINUING_TUTORIAL_PHASES as s, canFlipCapturedCard as t, ID_CAPTURE_STATUS as u };
|