@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.
Files changed (299) hide show
  1. package/THIRD_PARTY_NOTICES.txt +1 -4
  2. package/dist/{GeolocationPermissionDenied-CUt-uebQ.js → GeolocationPermissionDenied-ClGp0a23.js} +13 -8
  3. package/dist/ae-signature/ae-signature.es.js +4 -4
  4. package/dist/{af-ZA-BWKMRc6V.js → af-ZA-BKpmmWDe.js} +75 -865
  5. package/dist/{ageVerification-CMIp0I--.js → ageVerification-CtuJDuRV.js} +11 -8
  6. package/dist/{am-DPyjIvQV.js → am-CW_ro5Ws.js} +75 -865
  7. package/dist/antifraud/antifraud.es.js +5 -4
  8. package/dist/{applyStudioConfig-DxtP9221.js → applyStudioConfig-C6-Ak0q6.js} +5 -4
  9. package/dist/{ar-AE-CxCvbyoW.js → ar-AE-D9h8UMbm.js} +75 -865
  10. package/dist/{ar-10SoqF1i.js → ar-B5ToweVl.js} +75 -865
  11. package/dist/{ar-EG-B1hHB55j.js → ar-EG-DQqE9B26.js} +75 -865
  12. package/dist/assertClassBrand-DJr5K93j.js +17 -0
  13. package/dist/asset-Ctwd_20H.js +355 -0
  14. package/dist/authentication/authentication.es.js +7 -5
  15. package/dist/{autoFocusTitle-BxsSeMSB.js → autoFocusTitle-CzaCWWW5.js} +2 -2
  16. package/dist/{az-cmuBNn_5.js → az-DAZq-CQj.js} +75 -865
  17. package/dist/{back-horizontal-hint-Dl2C4J4u.js → back-horizontal-hint-qzSaNkEU.js} +1 -1
  18. package/dist/{back-vertical-hint-CM4_HjWk.js → back-vertical-hint-DkYLOege.js} +1 -1
  19. package/dist/base.css +1 -1
  20. package/dist/{baseTutorial-BGU2Gcly.js → baseTutorial-CF6WiVYt.js} +10 -7
  21. package/dist/{bn-CuGYlngZ.js → bn-DRTyq2Y9.js} +75 -865
  22. package/dist/{bottomSheet-x20yd6eP.js → bottomSheet-DylE2INk.js} +3 -3
  23. package/dist/{bs-vwpJzaHm.js → bs-B8q0B86-.js} +75 -865
  24. package/dist/{ca-DXZs5vtr.js → ca-DvsHXRB-.js} +75 -865
  25. package/dist/cameraOverlay-DNf0PEF4.js +2 -0
  26. package/dist/{cameraOverlayHeader-BxutAKy-.js → cameraOverlayHeader-CuVGnyXI.js} +9 -8
  27. package/dist/{cameraView-DVzaEGW8.js → cameraView-D9ZxLKtA.js} +3 -3
  28. package/dist/capture-0jMDSGCE.js +762 -0
  29. package/dist/{tutorial-BKPHj5To.js → capture-BlGlXoTx.js} +13 -36
  30. package/dist/capture-DKBA5j5A.js +3 -0
  31. package/dist/capture-D_Dwrj1F.js +2 -0
  32. package/dist/captureButtonIcon-A9kn2E_m.js +1 -0
  33. package/dist/captureFocusContext-9789qOe3.js +729 -0
  34. package/dist/captureFooter-B6WUFQCV.js +47 -0
  35. package/dist/{ceb-CmhS_VOs.js → ceb-pvlomXHV.js} +75 -865
  36. package/dist/certificate-issuance/certificate-issuance.es.js +23 -13
  37. package/dist/{check-icon-BWTjhSuA.js → check-icon-BdHltEK6.js} +1 -1
  38. package/dist/{checkbox-BC26Qbxh.js → checkbox-BwUQ0Rs9.js} +4 -4
  39. package/dist/chooser-CmG71-lh.js +1589 -0
  40. package/dist/connectionError-DexRpKWs.js +90 -0
  41. package/dist/consent/consent.es.js +16 -12
  42. package/dist/{countryFlag-DXSVHiby.js → countryFlag-CQMfCnE9.js} +1 -1
  43. package/dist/{countrySelector-0PDDFsZF.js → countrySelector-C0OEKMqL.js} +4 -4
  44. package/dist/cross-document-data-match/cross-document-data-match.es.js +5 -4
  45. package/dist/{cs-CZ-Dg5O-Vom.js → cs-CZ-GgvnJLMj.js} +75 -865
  46. package/dist/{cs-CoJlE7De.js → cs-DB5PLEdt.js} +75 -865
  47. package/dist/curp-validation/curp-validation.es.js +34 -19
  48. package/dist/curp-validation/styles.css +1 -1
  49. package/dist/curp-validation/styles.css.js +1 -1
  50. package/dist/{customFields-COYGTuuK.js → customFields-DQgRumW0.js} +17 -11
  51. package/dist/{customWatchlist-B0wY6Rwb.js → customWatchlist-BbC0fA-6.js} +8 -6
  52. package/dist/{da-DK-C_JAndM-.js → da-DK-ZhpcfE_F.js} +75 -865
  53. package/dist/{dashboardTheme-COBidrbH.js → dashboardTheme-DtXsx9IK.js} +1 -1
  54. package/dist/{dateInputComposed-QkmLGLHg.js → dateInputComposed-1IcnucPq.js} +5 -5
  55. package/dist/dateInputComposed-BFlCk-sg.js +1 -0
  56. package/dist/{de-11hHLedu.js → de-DEBjzaow.js} +75 -865
  57. package/dist/{denied-Btt81vUD.js → denied-CwdVWAUw.js} +12 -9
  58. package/dist/devWarn-CW20j1Qd.js +9 -0
  59. package/dist/{deviceWallet-BeTpokSL.js → deviceWallet-CMjguFJO.js} +4 -4
  60. package/dist/{digitalIdRedirect-BnljwZV3.js → digitalIdRedirect-MNty16-5.js} +4 -4
  61. package/dist/{digitalIdUpload-DNhqqMHT.js → digitalIdUpload-CUzTaoaI.js} +39 -15
  62. package/dist/document-capture/document-capture.es.js +1 -1
  63. package/dist/document-capture/styles.css +1 -1
  64. package/dist/document-capture/styles.css.js +1 -1
  65. package/dist/{documentCapture-uAKPK1U-.js → documentCapture-BUMyJ8vw.js} +94 -32
  66. package/dist/documentCapture-rECLkwpi.js +2 -0
  67. package/dist/dropdownComposed-C9sLQE6i.js +1 -0
  68. package/dist/{dropdownComposed-D_RQd0Z9.js → dropdownComposed-x3ewHxbT.js} +4 -4
  69. package/dist/dynamic-forms/dynamic-forms.es.js +20 -15
  70. package/dist/ekyb/ekyb.es.js +1 -1
  71. package/dist/ekybModule-B5IEiSyi.js +2 -0
  72. package/dist/{ekybModule-Bsqag_MS.js → ekybModule-C5hEBLMs.js} +27 -23
  73. package/dist/ekyc/ekyc.es.js +1 -1
  74. package/dist/ekycModule-B7OFnP3H.js +2 -0
  75. package/dist/{ekycModule-WlhVn8AO.js → ekycModule-TVKk0qdS.js} +26 -20
  76. package/dist/{el-CRGmVrep.js → el-Dplr_D5N.js} +75 -865
  77. package/dist/{el-GR-CjtJiRTo.js → el-GR-IZ4reOR7.js} +75 -865
  78. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  79. package/dist/{electronic-signature-Cm2BEiQu.js → electronic-signature-BMda_cf3.js} +49 -34
  80. package/dist/email/email.es.js +15 -11
  81. package/dist/{emailInput-JmK2JIFS.js → emailInput-BI8gWC0D.js} +4 -4
  82. package/dist/{en-DG-Cruu6Woh.js → en-DG-C6tsWvHi.js} +75 -865
  83. package/dist/{en-CSjoG3e4.js → en-Db1L_u7B.js} +75 -865
  84. package/dist/{errorContent-zY4jb6uY.js → errorContent-pPAgyy2i.js} +10 -7
  85. package/dist/es-419-DxKrJq7W.js +5 -0
  86. package/dist/{es-C_LAY-Yu.js → es-C5unKsaF.js} +75 -865
  87. package/dist/{es-ES-D7O0P5Mg.js → es-ES-sHbsufzT.js} +75 -865
  88. package/dist/{es-MX-DVzFaANh.js → es-MX-Cd_DCR0A.js} +75 -865
  89. package/dist/{et-DdSwjU5d.js → et-BoGq2cx8.js} +76 -866
  90. package/dist/{expiredId-DpbWqSzB.js → expiredId-DWjw94rT.js} +12 -8
  91. package/dist/extensibility.es.js +85 -41
  92. package/dist/{fa-IR-CdK8XLkS.js → fa-IR-DuUxGXrf.js} +75 -865
  93. package/dist/face-match/face-match.es.js +1 -1
  94. package/dist/faceMatch-B2aMz3X2.js +2 -0
  95. package/dist/{faceMatch-B0IzR9_u.js → faceMatch-DV7NxYu_.js} +15 -10
  96. package/dist/{fi-FI-CYlEPu44.js → fi-FI-DMOBNTjA.js} +75 -865
  97. package/dist/field-comparison/field-comparison.es.js +1 -1
  98. package/dist/fieldComparison-BY2XXsp3.js +2 -0
  99. package/dist/{fieldComparison-OwGIeOM5.js → fieldComparison-CFLU1h6n.js} +15 -11
  100. package/dist/{fieldLabelHint-gdoE5nLQ.js → fieldLabelHint-CjrLxBaj.js} +3 -3
  101. package/dist/{finalSuccessScreen-BM9oeJDH.js → finalSuccessScreen-C50L96j9.js} +20 -16
  102. package/dist/fiscal-qr/fiscal-qr.es.js +24 -18
  103. package/dist/flipAnimation-8x-qdtF_.js +33 -0
  104. package/dist/flipCapturedCardEligibility-DLr9F2g2.js +210 -0
  105. package/dist/flow/flow.es.js +183 -167
  106. package/dist/flow/shell/styles.css +1 -1
  107. package/dist/flow/shell/styles.css.js +1 -1
  108. package/dist/flow/styles.css +1 -1
  109. package/dist/{formField-C3MNhFKI.js → formField-CfQKYeGF.js} +3 -3
  110. package/dist/{fr-CA-DD_s9NuV.js → fr-CA-DZ8jlsp3.js} +75 -865
  111. package/dist/{fr-C4cP8ZNE.js → fr-DSR-AP0e.js} +75 -865
  112. package/dist/{front-horizontal-hint-Dol0Lpc6.js → front-horizontal-hint-DOphQZg2.js} +1 -1
  113. package/dist/{front-vertical-hint-CAhAzw92.js → front-vertical-hint-S6PcS9_m.js} +1 -1
  114. package/dist/geolocation/geolocation.es.js +15 -10
  115. package/dist/government-validation/government-validation.es.js +7 -6
  116. package/dist/{he-D3fvMZAl.js → he-N5dfJeyd.js} +75 -865
  117. package/dist/{hi-DLf6_opn.js → hi-JR6K9zbd.js} +75 -865
  118. package/dist/{hmn-DzoODzbN.js → hmn-j2YA7FxW.js} +75 -865
  119. package/dist/{homeScreen-D1Xd93In.js → homeScreen-C3pPw52y.js} +17 -11
  120. package/dist/{incodeComponent-C1Bz5Qou.js → hooks-BFP0WaJM.js} +14 -308
  121. package/dist/{hr-C-jP0DrB.js → hr-8cOdwB0t.js} +75 -865
  122. package/dist/{ht-CVt9koJf.js → ht-DDNL4C__.js} +75 -865
  123. package/dist/{hu-9fSzIeAd.js → hu-CynQQUFQ.js} +75 -865
  124. package/dist/i18n-Dp014ljG.js +942 -0
  125. package/dist/{icons-BdiCuWFP.js → icons-c-hFaG4L.js} +129 -32
  126. package/dist/id/id.es.js +101 -197
  127. package/dist/id/styles.css +1 -1
  128. package/dist/id/styles.css.js +1 -1
  129. package/dist/{id-back-of-card-CHFxXTEq.js → id-back-of-card-Bk6ZQUE9.js} +1 -1
  130. package/dist/{id-back-of-card-vertical-CUBdKGbw.js → id-back-of-card-vertical-BZo00s50.js} +1 -1
  131. package/dist/{id-front-of-card-DplNJr13.js → id-front-of-card-BJ96se7u.js} +1 -1
  132. package/dist/{id-front-of-card-vertical-D1duHEsV.js → id-front-of-card-vertical-DSfJB0lX.js} +1 -1
  133. package/dist/{id-Dgi5uGHK.js → id-o_Yg0n8W.js} +75 -865
  134. package/dist/id-selfie-flow/id-selfie-flow.es.js +12 -11
  135. package/dist/id-selfie-flow/styles.css +1 -1
  136. package/dist/id-verification/id-verification.es.js +6 -5
  137. package/dist/idFlipTransition-DXdtXYza.js +158 -0
  138. package/dist/{idOcr-sknZwQNF.js → idOcr-CjqfkRJ7.js} +18 -14
  139. package/dist/identity-reuse/identity-reuse.es.js +28 -18
  140. package/dist/incodeComponent-DtKh-UUm.js +237 -0
  141. package/dist/{incodeModule-DJToJb00.js → incodeModule-DCHXAeYU.js} +5 -5
  142. package/dist/index.es.js +4 -3
  143. package/dist/{inputComposed-BuE0iZlw.js → inputComposed-CmVsaHOa.js} +4 -4
  144. package/dist/inputComposed-DvGrso7g.js +1 -0
  145. package/dist/{it-CEFstYFG.js → it-BXevrtHn.js} +75 -865
  146. package/dist/{ja-BNdVd9B6.js → ja-DiTXnTx-.js} +75 -865
  147. package/dist/{ja-JP-B5TPMV1q.js → ja-JP-D1IRWR-p.js} +75 -865
  148. package/dist/{jv-CMxkkXUk.js → jv-Us70GzGp.js} +75 -865
  149. package/dist/{ka-C70bUmEK.js → ka-BSsWQ4yU.js} +75 -865
  150. package/dist/{kk-C_55EmWt.js → kk-D5R6r4H7.js} +75 -865
  151. package/dist/{km-D4Ig0NhN.js → km-CCCb2Rnt.js} +79 -869
  152. package/dist/{ko-KP-BwBB8ahu.js → ko-KP-JF4khv1Y.js} +75 -865
  153. package/dist/{ko-DfUa3dzQ.js → ko-kQioCg2w.js} +75 -865
  154. package/dist/{ky-CnJichOm.js → ky-CLOemVjC.js} +75 -865
  155. package/dist/kyb-checks/kyb-checks.es.js +2 -0
  156. package/dist/kyb-checks/styles.css +2 -0
  157. package/dist/kyb-checks/styles.css.js +1 -0
  158. package/dist/kybChecksModule-C6Y9Hxpr.js +329 -0
  159. package/dist/kybChecksModule-r3MIpFhS.js +2 -0
  160. package/dist/{lo-ww1DXVAP.js → lo-tzHUt1CQ.js} +75 -865
  161. package/dist/{lt-IJ8qpluI.js → lt-B2ZI-Cgu.js} +76 -866
  162. package/dist/{lv-DMfsmqyK.js → lv-BJnxtSYw.js} +76 -866
  163. package/dist/{mandatoryConsent-Bp8sQoiu.js → mandatoryConsent-BiQuEZRu.js} +20 -14
  164. package/dist/{manualCaptureButton-Cd-FY05-.js → manualCaptureButton-BRSmPTeR.js} +8 -7
  165. package/dist/{manualCaptureButton-BXOTp2PS.js → manualCaptureButton-Dw0MMSkc.js} +17 -13
  166. package/dist/{mk-ByafmFak.js → mk-Cj7Iw2Q4.js} +75 -865
  167. package/dist/{mn-DjO9p3xN.js → mn-CA_rNxtz.js} +75 -865
  168. package/dist/{ms-3Vf1QpHl.js → ms-BydA1Zjz.js} +75 -865
  169. package/dist/{my-C5hpE5P1.js → my-gFKufKaG.js} +75 -865
  170. package/dist/{nb-NO-DGCWCOul.js → nb-NO-CDsGQbOZ.js} +75 -865
  171. package/dist/{ne-CpJxcVhV.js → ne-Cyfi0vFI.js} +75 -865
  172. package/dist/{nl-R2RykJHB.js → nl-e1gbmAFO.js} +75 -865
  173. package/dist/{numberedStep-CqgNwc_a.js → numberedStep-CeN77hnQ.js} +1 -1
  174. package/dist/{optionAccessibleLabel-BQl8HooZ.js → optionAccessibleLabel-BTUieMxH.js} +6 -6
  175. package/dist/{otpInput-B_iLvmIn.js → otpInput-D3L3QhnR.js} +24 -17
  176. package/dist/{page-utEpSa9Z.js → page-U6jZ7BBI.js} +69 -23
  177. package/dist/{pageUiConfig-rOL18JSI.js → pageUiConfig-Qf6ItVv9.js} +6 -14
  178. package/dist/{passport-horizontal-hint-BfTXA2LB.js → passport-horizontal-hint-Ddsh6fUS.js} +1 -1
  179. package/dist/{passport-vertical-hint-C7dzd2ks.js → passport-vertical-hint-Dukxq6-T.js} +1 -1
  180. package/dist/{passwordInputComposed-NtiseM85.js → passwordInputComposed-CW_1DcB8.js} +5 -5
  181. package/dist/{pdf-BnPw8ZaT.js → pdf-Bd5QplFS.js} +2 -17
  182. package/dist/{pdfViewer-DNMZsDFD.js → pdfViewer-BrqSEtbr.js} +11 -14
  183. package/dist/pdfViewer-rDnnHzmw.js +2 -0
  184. package/dist/{permissions-CCEc9lKM.js → permissions-KUDhffd9.js} +36 -23
  185. package/dist/phone/phone.es.js +16 -12
  186. package/dist/{phoneInputComposed-ByiK_6Hu.js → phoneInputComposed-DlJMTavK.js} +6 -6
  187. package/dist/{pl-B1LgnPj1.js → pl-BSMcCWS-.js} +75 -865
  188. package/dist/preloadableLazy-C8_OYaTC.js +37 -0
  189. package/dist/{processing-Ci_Kl-Rh.js → processing-B5EH7yNg.js} +2 -2
  190. package/dist/{progressBar-Caj-Vu1e.js → progressBar-CSpS29pV.js} +2 -2
  191. package/dist/{pt-CPVeH0hD.js → pt-BNFC2quK.js} +75 -865
  192. package/dist/{pt-BR-DSJDHb-K.js → pt-BR-bH8DC2gH.js} +75 -865
  193. package/dist/{pt-PT-BWJTVPZY.js → pt-PT-B8PXmgwU.js} +75 -865
  194. package/dist/qe-signature/qe-signature.es.js +4 -4
  195. package/dist/{radioGroupComposed-CocqpoKe.js → radioGroupComposed-CW8ElYSR.js} +4 -4
  196. package/dist/radioGroupComposed-flIYNffL.js +1 -0
  197. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +19 -21
  198. package/dist/redirect-to-mobile/styles.css +1 -1
  199. package/dist/redirect-to-mobile/styles.css.js +1 -1
  200. package/dist/{registerIncodeElement-Dtw9dM3O.js → registerIncodeElement-oiLvm6xq.js} +1 -1
  201. package/dist/{reload-icon-BR1POqkD.js → reload-icon-FD2e9Wet.js} +1 -1
  202. package/dist/{resendTimer-ODOCcKyh.js → resendTimer-D1H3gwkI.js} +2 -2
  203. package/dist/richText-sUdTiRDE.js +1761 -0
  204. package/dist/{ro-8gGEWeHO.js → ro-DnN8QNYa.js} +75 -865
  205. package/dist/{ru-C4EVku5S.js → ru-DAwUFXHq.js} +75 -865
  206. package/dist/{ru-RU-Dr0NOGjg.js → ru-RU-Coxt0VCU.js} +75 -865
  207. package/dist/{sanitizeSvg-ilJ8VQmH.js → sanitizeSvg-OdNh1mqY.js} +1 -1
  208. package/dist/selfie/selfie.es.js +30 -14
  209. package/dist/selfie/styles.css +1 -1
  210. package/dist/selfie/styles.css.js +1 -1
  211. package/dist/signature/signature.es.js +18 -13
  212. package/dist/{sk-BSTzMa__.js → sk-AB8sSlNw.js} +77 -867
  213. package/dist/{sl-_HvO-HVX.js → sl-6Dfzfi7s.js} +75 -865
  214. package/dist/{smsTabContent-CWBrtP4u.js → smsTabContent-CBEKgzFv.js} +32 -23
  215. package/dist/{so-pyCaqonl.js → so-X5BdrDvV.js} +75 -865
  216. package/dist/spacer-Jaru_3sb.js +82 -0
  217. package/dist/spinner-51btbot0.js +407 -0
  218. package/dist/{sr-Bpxtt0kk.js → sr-JHjMcbGs.js} +75 -865
  219. package/dist/{sr-Latn-BjueCJSI.js → sr-Latn-DgT7eTG2.js} +80 -870
  220. package/dist/sr-YU-BBhB_G63.js +5 -0
  221. package/dist/{sv-SE-sv5v6ZWe.js → sv-SE-CvX8mC8T.js} +75 -865
  222. package/dist/{sw-BseJSmdR.js → sw-CN0TdnY4.js} +75 -865
  223. package/dist/{th-C2G8Ur12.js → th-BmFntKib.js} +75 -865
  224. package/dist/{th-TH-D0WNW-3l.js → th-TH-CWr4z3JK.js} +75 -865
  225. package/dist/themes/dark.css +1 -1
  226. package/dist/themes/light.css +1 -1
  227. package/dist/{tl-PH-CwafDrED.js → tl-PH-BRIbtBRN.js} +75 -865
  228. package/dist/{tl-CBOmxz5r.js → tl-rzkk5P_n.js} +75 -865
  229. package/dist/{tr-C4iH8UJx.js → tr-DKuVBwqW.js} +76 -866
  230. package/dist/{transitionSpinner-DbrWrpRU.js → transitionSpinner-Di0XBAix.js} +5 -4
  231. package/dist/tutorial-C9psDR2i.js +28 -0
  232. package/dist/types/extensibility.d.ts +6 -1
  233. package/dist/types/index.d.ts +4 -0
  234. package/dist/types/kyb-checks.d.ts +209 -0
  235. package/dist/{typography-BF9d8wEc.js → typography-CiGhKJGx.js} +2 -2
  236. package/dist/uiConfig-BJAuZQWc.js +77 -0
  237. package/dist/{uk-BGYlvKb_.js → uk-CXjqq4lX.js} +75 -865
  238. package/dist/{uk-UA-CbxzkCL_.js → uk-UA-BIE9WByU.js} +75 -865
  239. package/dist/{ur-BQgtsAfv.js → ur-vNGesC3r.js} +75 -865
  240. package/dist/{useCameraPreview-BmkAmzAs.js → useCameraPreview-Bd7AYE9h.js} +1 -1
  241. package/dist/useCaptureHelpButton-Dj-jESrS.js +43 -0
  242. package/dist/{useIsDarkTheme-COJZngNK.js → useIsDarkTheme-Bu9CvKxW.js} +1 -1
  243. package/dist/{useModuleLoader-CceEKjsh.js → useModuleLoader-BBCNkJmc.js} +2 -2
  244. package/dist/{uz-DqOg1Fdv.js → uz-Gmw1XRgv.js} +75 -865
  245. package/dist/{vendor-preact-C0jX1Cbq.js → vendor-preact-DHGqBGMH.js} +19 -1
  246. package/dist/{verificationResult-m99Ragq6.js → verificationResult-Clxdxm_s.js} +18 -10
  247. package/dist/{vi-COxdKkHn.js → vi-DTxxRUw0.js} +75 -865
  248. package/dist/video-selfie/video-selfie.es.js +50 -33
  249. package/dist/watchlist/watchlist.es.js +8 -6
  250. package/dist/{watchlistForBusiness-C2zxbavl.js → watchlistForBusiness-CpFp2EYX.js} +16 -11
  251. package/dist/{withEndScreenTexts-BwNU-8-X.js → withEndScreenTexts-Bd3mof3s.js} +204 -41
  252. package/dist/workflow/styles.css +1 -1
  253. package/dist/workflow/workflow.es.js +19 -15
  254. package/dist/{zh-CN-DfvYQGdE.js → zh-CN-aB48G_R1.js} +76 -866
  255. package/dist/{zh-CPQoDPxf.js → zh-DjtyfO4e.js} +75 -865
  256. package/dist/{zh-HANT-B4LzHH2y.js → zh-HANT-8p8SH8C3.js} +75 -865
  257. package/dist/{zh-TW-DtvvhBYL.js → zh-TW-CCsz9gKq.js} +75 -865
  258. package/package.json +22 -10
  259. package/dist/browser-ponyfill-CHlXHPpU.js +0 -441
  260. package/dist/cameraOverlay-Be1PFI8S.js +0 -2
  261. package/dist/dateInputComposed-CONPVayx.js +0 -1
  262. package/dist/devWarn-Cr7MglXv.js +0 -2628
  263. package/dist/documentCapture-DGCraCO3.js +0 -2
  264. package/dist/dropdownComposed-DyZXfcTf.js +0 -1
  265. package/dist/ekybModule-D-czIusz.js +0 -2
  266. package/dist/ekycModule-CkBRa6h2.js +0 -2
  267. package/dist/es-419-CTB15v-l.js +0 -3231
  268. package/dist/esm-BTUEHyry.js +0 -430
  269. package/dist/faceMatch-CRbIcwK2.js +0 -2
  270. package/dist/fieldComparison-DKQNK0-r.js +0 -2
  271. package/dist/flipAnimation-D-5tokFC.js +0 -3275
  272. package/dist/inputComposed-5mLbxAZJ.js +0 -1
  273. package/dist/pdfViewer-7FzYV8l3.js +0 -2
  274. package/dist/radioGroupComposed-DlQ-fNrF.js +0 -1
  275. package/dist/richText-CRWB2afV.js +0 -1549
  276. package/dist/spacer-CwyNauIk.js +0 -733
  277. package/dist/spinner-DEZJxLSc.js +0 -88
  278. package/dist/sr-YU-xCb5qxap.js +0 -3235
  279. package/dist/useCaptureHelpButton-D40hYyD7.js +0 -88
  280. /package/dist/{aligndevicelottie-BHWuptBk.js → aligndevicelottie-BEKzL4SB.js} +0 -0
  281. /package/dist/{back-tutorial-BYZr11eV.js → back-tutorial-B9W63fa-.js} +0 -0
  282. /package/dist/{backdevicelottie-JflQKxT_.js → backdevicelottie-DsN8QBV3.js} +0 -0
  283. /package/dist/{blurdevicelottie-CWuMQEHL.js → blurdevicelottie-DkV7Kwo4.js} +0 -0
  284. /package/dist/{countryDefinitions-6FOOLcB2.js → countryDefinitions-RBVGM1D_.js} +0 -0
  285. /package/dist/{defineProperty-CUC2zCmh.js → defineProperty-E9wRIIo9.js} +0 -0
  286. /package/dist/{flip-animation-BqTKEBcW.js → flip-animation-DJVnWWL5.js} +0 -0
  287. /package/dist/{frontdevicelottie-BWD-NCfG.js → frontdevicelottie-DiW1Wmya.js} +0 -0
  288. /package/dist/{glaredevicelottie-Cjy50jGc.js → glaredevicelottie-CK-fnX_s.js} +0 -0
  289. /package/dist/{helpButtonConfig-BFragC_J.js → helpButtonConfig-CjbrBQaV.js} +0 -0
  290. /package/dist/{id-laser-h-By7lMim8.js → id-laser-h-6Am_cjM8.js} +0 -0
  291. /package/dist/{id-laser-v-BCPAN2x5.js → id-laser-v-DXoF3flH.js} +0 -0
  292. /package/dist/{id-tutorial-B9cUQuf0.js → id-tutorial-DkKH3eTE.js} +0 -0
  293. /package/dist/{lottie_light-DywVSPMT.js → lottie_light-B819EhaL.js} +0 -0
  294. /package/dist/{passport-tutorial-TSZzEGqb.js → passport-tutorial-D3Fpk-Tj.js} +0 -0
  295. /package/dist/{pdf.worker.min-D7ZNTVBZ.js → pdf.worker.min-DzBNMoKS.js} +0 -0
  296. /package/dist/{policyUrls-Bpacx_pp.js → policyUrls-Benduf-R.js} +0 -0
  297. /package/dist/{purify.es-DZazHwBu.js → purify.es-CSPoFViI.js} +0 -0
  298. /package/dist/{realtimeFeedbackConfig-DeZksjlR.js → realtimeFeedbackConfig-tBX94SOm.js} +0 -0
  299. /package/dist/{selfieTutorial-CLJAEuXG.js → selfieTutorial-DnsRD1Z9.js} +0 -0
@@ -1,2 +1,2 @@
1
- import { t as FieldComparison } from "../fieldComparison-OwGIeOM5.js";
1
+ import { t as FieldComparison } from "../fieldComparison-CFLU1h6n.js";
2
2
  export { FieldComparison };
@@ -0,0 +1,2 @@
1
+ import { t as FieldComparison } from "./fieldComparison-CFLU1h6n.js";
2
+ export { FieldComparison };
@@ -1,12 +1,13 @@
1
- import { c as useTranslation } from "./devWarn-Cr7MglXv.js";
2
- import { v as u } from "./vendor-preact-C0jX1Cbq.js";
3
- import { t as Spacer } from "./spacer-CwyNauIk.js";
4
- import { x as Button } from "./icons-BdiCuWFP.js";
5
- import { t as Page } from "./page-utEpSa9Z.js";
6
- import { a as withStandaloneModuleBootstrap, t as IncodeComponent, x as useManager, y as useModuleTerminalCallbacks } from "./incodeComponent-C1Bz5Qou.js";
7
- import { t as VerificationResult } from "./verificationResult-m99Ragq6.js";
8
- import { t as InputComposed } from "./inputComposed-BuE0iZlw.js";
9
- import { t as registerIncodeModuleElement } from "./incodeModule-DJToJb00.js";
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(Button, {
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
- isLoading: isDisabled,
95
+ loading: isDisabled,
92
96
  onClick: handleSubmit,
93
97
  children: t("common.continue")
94
98
  })
@@ -1,6 +1,6 @@
1
- import { S as k, v as u } from "./vendor-preact-C0jX1Cbq.js";
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 { c as useTranslation } from "./devWarn-Cr7MglXv.js";
2
- import { S as k, _ as y, c as A, f as d, h as q, v as u } from "./vendor-preact-C0jX1Cbq.js";
3
- import { n as LoadingIcon, o as Lottie, s as Asset, u as cn } from "./spacer-CwyNauIk.js";
4
- import { r as SuccessIcon, u as ErrorIcon, x as Button } from "./icons-BdiCuWFP.js";
5
- import { t as AutoFocusTitle } from "./autoFocusTitle-BxsSeMSB.js";
6
- import { t as Page } from "./page-utEpSa9Z.js";
7
- import { r as Modal } from "./pageUiConfig-rOL18JSI.js";
8
- import { f as useTimeoutHandle } from "./incodeComponent-C1Bz5Qou.js";
9
- import { n as CameraFrame } from "./cameraView-DVzaEGW8.js";
10
- import { t as ManualCaptureButton } from "./manualCaptureButton-Cd-FY05-.js";
11
- import { n as CaptureNotification, t as ManualCaptureButton$1 } from "./manualCaptureButton-BXOTp2PS.js";
12
- import { checkCameraPermission, requestCameraPermission } from "@incodetech/core/camera";
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(Button, {
179
- class: "IncodeVideoSelfieTutorialStartButton",
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-BqTKEBcW.js").then((module) => module.default);
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 { c as useTranslation } from "../devWarn-Cr7MglXv.js";
2
- import { a as P, s as z, v as u } from "../vendor-preact-C0jX1Cbq.js";
3
- import { t as Spacer } from "../spacer-CwyNauIk.js";
4
- import { x as Button } from "../icons-BdiCuWFP.js";
5
- import { t as Page } from "../page-utEpSa9Z.js";
6
- import { a as withStandaloneModuleBootstrap, t as IncodeComponent, x as useManager, y as useModuleTerminalCallbacks } from "../incodeComponent-C1Bz5Qou.js";
7
- import { t as Spinner } from "../spinner-DEZJxLSc.js";
8
- import "../transitionSpinner-DbrWrpRU.js";
9
- import { t as VerificationResult } from "../verificationResult-m99Ragq6.js";
10
- import { n as CameraFrame, t as CameraView } from "../cameraView-DVzaEGW8.js";
11
- import { n as CameraOverlay, t as CameraOverlayHeader } from "../cameraOverlayHeader-BxutAKy-.js";
12
- import "../cameraOverlay-Be1PFI8S.js";
13
- import { t as registerIncodeModuleElement } from "../incodeModule-DJToJb00.js";
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(Button, {
71
- variant: "link",
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-Btt81vUD.js").then((module) => ({ default: module.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(Button, {
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 };