@incodetech/web 2.4.1-agentic.7 → 2.4.1-agentic.9

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/dist/{GeolocationPermissionDenied-3mTykEZh.js → GeolocationPermissionDenied-Bl0ESi9x.js} +15 -5
  2. package/dist/ae-signature/ae-signature.es.js +3 -3
  3. package/dist/{af-ZA-DateoR0B.js → af-ZA-BtuHt1ef.js} +29 -42
  4. package/dist/{ageVerification-DqO9J_x1.js → ageVerification-JN9VvXwE.js} +4 -5
  5. package/dist/{am-C6jaAEZr.js → am-l8nD7Xzz.js} +29 -42
  6. package/dist/antifraud/antifraud.es.js +4 -4
  7. package/dist/{applyStudioConfig-DkG_xMJg.js → applyStudioConfig-B64x1L-J.js} +4 -5
  8. package/dist/{ar-AE-DXhd_SRU.js → ar-AE-CO4WaEdG.js} +29 -42
  9. package/dist/{ar-DBpBX-qe.js → ar-DsKx-YwP.js} +29 -42
  10. package/dist/{ar-EG-CBv_hBOE.js → ar-EG-CgYEh6do.js} +29 -42
  11. package/dist/authentication/authentication.es.js +6 -6
  12. package/dist/autoFocusTitle-MePwRIrH.js +19 -0
  13. package/dist/{az-mhk1ebvA.js → az-DTmme8ut.js} +29 -42
  14. package/dist/base.css +1 -1
  15. package/dist/{baseTutorial-CdCVfaVE.js → baseTutorial-BYTLqczq.js} +3 -4
  16. package/dist/{bn-BA1MrK9J.js → bn-CvF9FlWn.js} +29 -42
  17. package/dist/{bottomSheet-B9pTb4rQ.js → bottomSheet-BbgC68Rm.js} +2 -2
  18. package/dist/{bs-BYOwW4lV.js → bs-DE7QTPiz.js} +29 -42
  19. package/dist/{ca-CLn0LB3W.js → ca-B2IOmHal.js} +29 -42
  20. package/dist/cameraOverlay-CbaSCAzN.js +2 -0
  21. package/dist/{cameraOverlayHeader-CjqkzqeU.js → cameraOverlayHeader-DKPegKOB.js} +4 -4
  22. package/dist/{cameraView-o0_drKHQ.js → cameraView-B9ulYDlK.js} +2 -2
  23. package/dist/capture-B105Gyzk.js +2 -0
  24. package/dist/{capture-DxzgnjUj.js → capture-BfiBco34.js} +26 -43
  25. package/dist/{capture-D5WqNI_8.js → capture-Ofbv-y4C.js} +24 -32
  26. package/dist/capture-kxXHrakb.js +3 -0
  27. package/dist/captureButtonIcon-DdqcSAFo.js +1 -0
  28. package/dist/{captureFocusContext-6QJOI2Z5.js → captureFocusContext-CbhM0Rak.js} +52 -63
  29. package/dist/{captureFooter-xVlPhBJh.js → captureFooter-CyQw85c9.js} +4 -4
  30. package/dist/{ceb-CMWRVM4o.js → ceb-DMyDJibH.js} +29 -42
  31. package/dist/certificate-issuance/certificate-issuance.es.js +26 -20
  32. package/dist/certificate-issuance/styles.css +1 -1
  33. package/dist/certificate-issuance/styles.css.js +1 -1
  34. package/dist/{checkbox-Bag1GfVW.js → checkbox-COiob4-f.js} +3 -3
  35. package/dist/{chooser-CDQ6tx57.js → chooser-CMZn17HH.js} +11 -12
  36. package/dist/{connectionError-Cr-xLkYW.js → connectionError-DQc99Xwr.js} +24 -14
  37. package/dist/consent/consent.es.js +10 -10
  38. package/dist/{countryFlag-CVWXjepc.js → countryFlag-mUH97k33.js} +1 -1
  39. package/dist/{countrySelector-BLH5uAYj.js → countrySelector-Clj3rtbE.js} +3 -3
  40. package/dist/cross-document-data-match/cross-document-data-match.es.js +4 -4
  41. package/dist/{cs-hfCvtFWO.js → cs-C6BvjMnL.js} +29 -42
  42. package/dist/{cs-CZ-DuTNvUXH.js → cs-CZ-BoJHPkXg.js} +29 -42
  43. package/dist/curp-validation/curp-validation.es.js +55 -83
  44. package/dist/curp-validation/styles.css +1 -1
  45. package/dist/curp-validation/styles.css.js +1 -1
  46. package/dist/{customFields-Otyx_2nU.js → customFields-CTQsIMU8.js} +16 -14
  47. package/dist/{customWatchlist-QjcjxelY.js → customWatchlist-BGVgykZy.js} +10 -9
  48. package/dist/{da-DK-WQ2KQPuJ.js → da-DK-BgryIABe.js} +29 -42
  49. package/dist/{dashboardTheme-7BWYR0iN.js → dashboardTheme-DmmLPc5-.js} +35 -16
  50. package/dist/{dateInputComposed-Olt9MK1v.js → dateInputComposed-BAglkb04.js} +4 -4
  51. package/dist/dateInputComposed-Bq9yEjqE.js +1 -0
  52. package/dist/{de-C98XsEZ9.js → de-CmigCxj3.js} +29 -42
  53. package/dist/denied-B-Sa9xtg.js +272 -0
  54. package/dist/{i18n-u3NzadJk.js → devWarn-Cus67U3P.js} +180 -88
  55. package/dist/{deviceWallet-4Jk7CqX-.js → deviceWallet-BC90NDd9.js} +3 -3
  56. package/dist/{digitalIdRedirect-BurERRxl.js → digitalIdRedirect-C849eRWw.js} +3 -3
  57. package/dist/{digitalIdUpload-NvzT3UmN.js → digitalIdUpload-7IBs1xuH.js} +6 -8
  58. package/dist/document-capture/document-capture.es.js +1 -1
  59. package/dist/document-capture/styles.css +1 -1
  60. package/dist/document-capture/styles.css.js +1 -1
  61. package/dist/documentCapture-CSovKIfj.js +2 -0
  62. package/dist/{documentCapture-B8JyEA7L.js → documentCapture-Dg6F5vPo.js} +40 -48
  63. package/dist/{dropdownComposed-B4kIb2ET.js → dropdownComposed-B-jwhIk3.js} +7 -5
  64. package/dist/dropdownComposed-D9WtKiZl.js +1 -0
  65. package/dist/dynamic-forms/dynamic-forms.es.js +14 -14
  66. package/dist/ekyb/ekyb.es.js +1 -1
  67. package/dist/{ekybModule-CBy5rSgL.js → ekybModule-CXckmono.js} +15 -15
  68. package/dist/ekybModule-CqV7hjNi.js +2 -0
  69. package/dist/ekyc/ekyc.es.js +1 -1
  70. package/dist/ekyc-prefill/ekyc-prefill.es.js +1 -1
  71. package/dist/{ekycModule-403hDcHa.js → ekycModule-DHEPIoB-.js} +18 -18
  72. package/dist/ekycModule-OERg1YPW.js +2 -0
  73. package/dist/ekycPrefillModule-B4BJQWaa.js +2 -0
  74. package/dist/{ekycPrefillModule-Dzu1Uyav.js → ekycPrefillModule-Dvb4nz8D.js} +14 -14
  75. package/dist/{el-q9uGOIQj.js → el-C504mByE.js} +29 -42
  76. package/dist/{el-GR-BOZZ6kGP.js → el-GR-DEVeeY1N.js} +29 -42
  77. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  78. package/dist/{electronic-signature-DMHWbVT-.js → electronic-signature-DdTsRO4E.js} +17 -13
  79. package/dist/email/email.es.js +16 -15
  80. package/dist/{emailInput-pJb_11ym.js → emailInput-BhovfkJr.js} +3 -3
  81. package/dist/{en-467cbjdQ.js → en-CjGMhH0a.js} +29 -42
  82. package/dist/{en-DG-B3O9C2V1.js → en-DG-D0uJ-8uf.js} +29 -42
  83. package/dist/{errorContent-9Nn9vlCk.js → errorContent-Do4AkQxk.js} +16 -18
  84. package/dist/{errorParams-DksU0z9B.js → errorParams-BsjlLhGl.js} +1 -1
  85. package/dist/{es-419-BsG4018F.js → es-419-Dj2u3lIS.js} +1 -1
  86. package/dist/{es-D1K3CMdM.js → es-CceiWbcv.js} +29 -42
  87. package/dist/{es-ES-DdPLSyPa.js → es-ES-BFt41nFI.js} +29 -42
  88. package/dist/{es-MX-Ch3EQcSx.js → es-MX-B_Wc9vvS.js} +29 -42
  89. package/dist/{et-Bq0Dts6v.js → et-Bj_x5sOU.js} +29 -42
  90. package/dist/{expiredId-mGt8OPsN.js → expiredId-CMUoX-P0.js} +19 -36
  91. package/dist/extensibility.es.js +45 -46
  92. package/dist/{fa-IR-LNN-YxHn.js → fa-IR-BN0UsB54.js} +29 -42
  93. package/dist/face-match/face-match.es.js +1 -1
  94. package/dist/face-match/styles.css +1 -1
  95. package/dist/face-match/styles.css.js +1 -1
  96. package/dist/faceMatch-1IxVsuQC.js +2 -0
  97. package/dist/{faceMatch-BV8xt_-3.js → faceMatch-D0OyUbR5.js} +29 -53
  98. package/dist/{fi-FI-BNxIaRzY.js → fi-FI-XID8T9Ko.js} +29 -42
  99. package/dist/field-comparison/field-comparison.es.js +1 -1
  100. package/dist/{fieldComparison-BcLvJpjX.js → fieldComparison-D3dONVPr.js} +9 -9
  101. package/dist/fieldComparison-DWl2ByZ2.js +2 -0
  102. package/dist/{finalSuccessScreen-DjFfxeJ4.js → finalSuccessScreen-LISnhuf3.js} +12 -14
  103. package/dist/fiscal-qr/fiscal-qr.es.js +15 -18
  104. package/dist/flipAnimation-DjM5JYfL.js +46 -0
  105. package/dist/{flipCapturedCardEligibility-Dc36mGgW.js → flipCapturedCardEligibility-BNIrIYfu.js} +3 -3
  106. package/dist/flow/flow.es.js +18 -16
  107. package/dist/flow/shell/styles.css +1 -1
  108. package/dist/flow/shell/styles.css.js +1 -1
  109. package/dist/flow/styles.css +1 -1
  110. package/dist/{formField-M7p_iFWM.js → formField-BP6uJTSh.js} +3 -3
  111. package/dist/{fr-CA-S06QCk9V.js → fr-CA-Bmt-kW3D.js} +29 -42
  112. package/dist/{fr-u29vuYQx.js → fr-IbVATPZV.js} +29 -42
  113. package/dist/geolocation/geolocation.es.js +9 -9
  114. package/dist/government-validation/government-validation.es.js +6 -6
  115. package/dist/{he-BC9YLbjY.js → he-B1oTlS7p.js} +29 -42
  116. package/dist/{hi-CVkRRwIg.js → hi-BFeWb9MT.js} +29 -42
  117. package/dist/{hmn-D-0W_S4F.js → hmn-naJkqwAe.js} +29 -42
  118. package/dist/{homeScreen-D5rxve7d.js → homeScreen-kVe-PwZV.js} +6 -7
  119. package/dist/{hooks-CDR35bse.js → hooks-CE8vvsR8.js} +32 -24
  120. package/dist/{hr-CWjVVM6I.js → hr-CpwG7WJ4.js} +29 -42
  121. package/dist/{ht-ChtH9wIJ.js → ht-mbMGmJ9j.js} +29 -42
  122. package/dist/{hu-B3UPgPTw.js → hu-CAPECmUZ.js} +29 -42
  123. package/dist/{icons-JOXfeNVq.js → icons-Bz641AZd.js} +2 -26
  124. package/dist/id/id.es.js +103 -38
  125. package/dist/id/styles.css +1 -1
  126. package/dist/id/styles.css.js +1 -1
  127. package/dist/{id-CxxniPDa.js → id-DNQTblvO.js} +29 -42
  128. package/dist/id-selfie-flow/id-selfie-flow.es.js +12 -11
  129. package/dist/id-verification/id-verification.es.js +5 -5
  130. package/dist/{idFlipTransition-D_3Xcv5t.js → idFlipTransition-Cue3HSGt.js} +21 -25
  131. package/dist/{idOcr-DQoug5MS.js → idOcr-XOJ-JY-l.js} +13 -13
  132. package/dist/identity-reuse/identity-reuse.es.js +19 -18
  133. package/dist/{incodeComponent-BiJXBKeU.js → incodeComponent-C1TMotqV.js} +9 -11
  134. package/dist/{incodeModule-DVfOvMqz.js → incodeModule-BeATmadl.js} +4 -4
  135. package/dist/index.es.js +3 -4
  136. package/dist/{inputComposed-DXTUInVH.js → inputComposed-CRp1H6U_.js} +3 -3
  137. package/dist/inputComposed-Dc8tBgb6.js +1 -0
  138. package/dist/{it-BWNi1ssJ.js → it-BcT816iZ.js} +29 -42
  139. package/dist/{ja-Bi87ddtW.js → ja-B5spS5-8.js} +29 -42
  140. package/dist/{ja-JP-CJa2A3eS.js → ja-JP-BhZupQ7A.js} +29 -42
  141. package/dist/{jv-DACu96LS.js → jv-DalcXb84.js} +29 -42
  142. package/dist/{ka-CsJepV5w.js → ka-CbUOmftP.js} +29 -42
  143. package/dist/{kk-X7c1l89K.js → kk-0EE3IrpX.js} +29 -42
  144. package/dist/{km-CvXCyken.js → km-8LSGXQaW.js} +29 -42
  145. package/dist/{ko-DHgrTAp2.js → ko-BjG0PPAP.js} +29 -42
  146. package/dist/{ko-KP-DwoyFpy2.js → ko-KP-CpVrSvZB.js} +29 -42
  147. package/dist/{ky-DOTbMMTY.js → ky-xwaTThY0.js} +29 -42
  148. package/dist/kyb-checks/kyb-checks.es.js +1 -1
  149. package/dist/kybChecksModule-DMKKtrmB.js +2 -0
  150. package/dist/{kybChecksModule-Bb-PqYhl.js → kybChecksModule-DvZ-BZRh.js} +12 -12
  151. package/dist/{lo-DMVttlBh.js → lo-EQF7PXWa.js} +29 -42
  152. package/dist/{lt-Fs9DJf4D.js → lt-DMmeCaHo.js} +29 -42
  153. package/dist/{lv-q3oRHomC.js → lv-C1iTZMfE.js} +29 -42
  154. package/dist/{mandatoryConsent-h3x9ZwtD.js → mandatoryConsent-CvTtalAL.js} +10 -10
  155. package/dist/{manualCaptureButton-Ckjt9d0h.js → manualCaptureButton-BuQHmszh.js} +3 -3
  156. package/dist/{manualCaptureButton-NsonWEPN.js → manualCaptureButton-DQAbimvq.js} +11 -12
  157. package/dist/{mk-JBoZLiy-.js → mk-DzMpKPOz.js} +29 -42
  158. package/dist/{mn-DIUjCj1v.js → mn-BvXd9F52.js} +29 -42
  159. package/dist/{ms-Dn1SQEpm.js → ms-Cp7ZJ7mK.js} +29 -42
  160. package/dist/{my-CFbwa84N.js → my-GmBVDdMo.js} +29 -42
  161. package/dist/{nb-NO-ClpZ74DD.js → nb-NO-y1MiZO8w.js} +29 -42
  162. package/dist/{ne-CNBg_gU2.js → ne-Cl08Ph1J.js} +29 -42
  163. package/dist/{nl-a3PViqF7.js → nl-xrUuWU-J.js} +29 -42
  164. package/dist/{optionAccessibleLabel-C2y1oHVy.js → optionAccessibleLabel-BU3kQ0En.js} +5 -5
  165. package/dist/{otpInput-BDVO3HOb.js → otpInput-Dmg_f47Q.js} +6 -6
  166. package/dist/{page-ECTZ7Scm.js → page-BR1C3Nzj.js} +23 -30
  167. package/dist/{pageUiConfig-BZn0ChHi.js → pageUiConfig-CHSWT3Gw.js} +40 -8
  168. package/dist/{passwordInputComposed-CGTGKm40.js → passwordInputComposed-DKEB8EmI.js} +4 -4
  169. package/dist/{pdf-DhnlSeEH.js → pdf-B05hp9AA.js} +2 -2
  170. package/dist/pdfViewer-BRAs-KYx.js +2 -0
  171. package/dist/{pdfViewer-D23fWzxN.js → pdfViewer-CYoSQQNz.js} +3 -3
  172. package/dist/permissionInstructionList-hPNjHN71.js +43 -0
  173. package/dist/{permissions-B93BiIsP.js → permissions-Bu02I3PR.js} +60 -43
  174. package/dist/phone/phone.es.js +10 -10
  175. package/dist/{phoneInputComposed-D-lgH0d8.js → phoneInputComposed-B7W1co5m.js} +5 -5
  176. package/dist/{pl-CVluXWsU.js → pl-C01qnZKR.js} +29 -42
  177. package/dist/{preloadableLazy-CW8rESao.js → preloadableLazy-BDZiRMcF.js} +10 -4
  178. package/dist/{processing-BSPocNrJ.js → processing-CIy9REXo.js} +1 -1
  179. package/dist/{progressBar-DueDHYB-.js → progressBar-Bv7JPmtA.js} +1 -1
  180. package/dist/{pt-BR-Div2fk79.js → pt-BR-wEX_V9Uj.js} +29 -42
  181. package/dist/{pt-Cy3AqRwB.js → pt-D4WG4iEZ.js} +29 -42
  182. package/dist/{pt-PT-C8ZNbxUp.js → pt-PT-BPg4BIJf.js} +29 -42
  183. package/dist/qe-signature/qe-signature.es.js +3 -3
  184. package/dist/{radioGroupComposed-5QBeaKRS.js → radioGroupComposed-BZ5zWFS6.js} +3 -3
  185. package/dist/radioGroupComposed-DA4CM0OB.js +1 -0
  186. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +27 -23
  187. package/dist/{resendTimer-BWOgfa5C.js → resendTimer-CeSq33kX.js} +1 -1
  188. package/dist/{richText-CrEcRraT.js → richText-BMvr5dhl.js} +3 -3
  189. package/dist/{ro-Cns7UINU.js → ro-Cqlj7IaS.js} +29 -42
  190. package/dist/{ru-zpwWzbmA.js → ru-4u-5Riz6.js} +29 -42
  191. package/dist/{ru-RU-Dmyj3klD.js → ru-RU-hoEJT3Zf.js} +29 -42
  192. package/dist/{sanitizeSvg-OaeiB1E_.js → sanitizeSvg-wb-lG02K.js} +1 -1
  193. package/dist/selfie/selfie.es.js +10 -10
  194. package/dist/signature/signature.es.js +9 -9
  195. package/dist/{sk-B5OyePoE.js → sk-Bcrhcaus.js} +29 -42
  196. package/dist/{sl-CY_QJ1RK.js → sl-_NIS9uQY.js} +29 -42
  197. package/dist/{smsTabContent-D1emomux.js → smsTabContent-CuxElbq9.js} +14 -10
  198. package/dist/{so-aI_KpKFL.js → so-B9pngiw2.js} +29 -42
  199. package/dist/spacer-BMVbQdv1.js +1129 -0
  200. package/dist/spinner-DkgXsNMB.js +106 -0
  201. package/dist/{sr-C8o3y1pd.js → sr-CwLs8KQk.js} +29 -42
  202. package/dist/{sr-Latn-BYhPtZEb.js → sr-Latn-My3nXAfv.js} +29 -42
  203. package/dist/{sr-YU-BnKpP-Gi.js → sr-YU-D6EswTRk.js} +1 -1
  204. package/dist/step-up/step-up.es.js +26 -22
  205. package/dist/step-up/styles.css +1 -1
  206. package/dist/{sv-SE-C2J7iWlO.js → sv-SE-3XWHgiaY.js} +29 -42
  207. package/dist/{sw-xrmQJvJY.js → sw-u0GGYzxM.js} +29 -42
  208. package/dist/{th-wS5S0tbM.js → th-DuUtrE7A.js} +29 -42
  209. package/dist/{th-TH-CkT6oACc.js → th-TH-CIxIVJnV.js} +29 -42
  210. package/dist/{tl-D3xTuT9W.js → tl-Cnee5vHJ.js} +29 -42
  211. package/dist/{tl-PH-DKFgMSQB.js → tl-PH-vdHV7e5l.js} +29 -42
  212. package/dist/{tr-B9vTooiF.js → tr-B6NfQ1YM.js} +29 -42
  213. package/dist/{transitionSpinner-B2aXWGqv.js → transitionSpinner-BYT6Y26d.js} +4 -5
  214. package/dist/{tutorial-BEr0rzJr.js → tutorial-DGi7njtc.js} +3 -3
  215. package/dist/types/extensibility.d.ts +57 -13
  216. package/dist/types/flow.d.ts +9 -0
  217. package/dist/{typography-_6vuCfvg.js → typography-CHx4UfE3.js} +2 -10
  218. package/dist/{uk-K5uuUMVh.js → uk-D8SBQUPY.js} +29 -42
  219. package/dist/{uk-UA-CD-Tnkn-.js → uk-UA-CMvgmdmw.js} +29 -42
  220. package/dist/{ur-Ci0j8RF3.js → ur-DCLXBfJS.js} +29 -42
  221. package/dist/{useCaptureHelpButton-BDP8HPRE.js → useCaptureHelpButton-BEjYpwg6.js} +3 -3
  222. package/dist/{uz-Bzgi60OH.js → uz-CdTikNR8.js} +29 -42
  223. package/dist/{verificationResult-qjCRtOZT.js → verificationResult-D8QnyuI1.js} +19 -24
  224. package/dist/{vi-B41KkyjT.js → vi-8i3fXIYC.js} +29 -42
  225. package/dist/video-selfie/video-selfie.es.js +15 -16
  226. package/dist/watchlist/watchlist.es.js +10 -9
  227. package/dist/{watchlistForBusiness-D_3JR48E.js → watchlistForBusiness-gQlRJDj7.js} +15 -13
  228. package/dist/{withEndScreenTexts-DuSplRjK.js → withEndScreenTexts-oHy-aDwN.js} +21 -21
  229. package/dist/workflow/styles.css +1 -1
  230. package/dist/workflow/workflow.es.js +1 -1
  231. package/dist/{workflow-3-iJLkTe.js → workflow-CXjNrouG.js} +11 -12
  232. package/dist/{zh-CN-CzatE4Zg.js → zh-CN-C_3DQPAO.js} +29 -42
  233. package/dist/{zh-HANT-Ctni0FrV.js → zh-HANT-DzKThLGe.js} +29 -42
  234. package/dist/{zh-B3otAu_X.js → zh-JxvLpfJI.js} +29 -42
  235. package/dist/{zh-TW-CV_7XIZh.js → zh-TW-CRwvuA_1.js} +29 -42
  236. package/package.json +7 -5
  237. package/dist/asset-B5BiSMLu.js +0 -355
  238. package/dist/autoFocusTitle-CFQv2qm9.js +0 -32
  239. package/dist/cameraOverlay-DI9J7Lli.js +0 -2
  240. package/dist/capture-CE2PNWF0.js +0 -3
  241. package/dist/capture-DxafsIYk.js +0 -2
  242. package/dist/captureButtonIcon-AIwPnxHO.js +0 -1
  243. package/dist/check-icon-BPtqe7V3.js +0 -48
  244. package/dist/dateInputComposed-CrfyTeqc.js +0 -1
  245. package/dist/denied-_nJKRI2k.js +0 -1874
  246. package/dist/devWarn-BQ2Sjncn.js +0 -9
  247. package/dist/documentCapture-D8m2Hazg.js +0 -2
  248. package/dist/dropdownComposed-CZwrZSQu.js +0 -1
  249. package/dist/ekybModule-E8kXGMGo.js +0 -2
  250. package/dist/ekycModule-CR_v7Urc.js +0 -2
  251. package/dist/ekycPrefillModule-BfjC46eL.js +0 -2
  252. package/dist/faceMatch-BsI10paU.js +0 -2
  253. package/dist/fieldComparison-CaMQ2xna.js +0 -2
  254. package/dist/flipAnimation-DzF8TDyk.js +0 -33
  255. package/dist/inputComposed-DE4zOIm2.js +0 -1
  256. package/dist/kybChecksModule-W3urT_Bv.js +0 -2
  257. package/dist/numberedStep-Bt1E0snV.js +0 -13
  258. package/dist/pdfViewer-BgoqZciN.js +0 -2
  259. package/dist/radioGroupComposed-Ce4VE6ML.js +0 -1
  260. package/dist/reload-icon-BE7SzNn7.js +0 -70
  261. package/dist/spacer-B7en1YsW.js +0 -82
  262. package/dist/spinner-DJB6V2X_.js +0 -407
  263. package/dist/uiConfig-BA0o63SK.js +0 -86
  264. /package/dist/{aligndevicelottie-C5Nr_FF0.js → aligndevicelottie-B6hTuIe8.js} +0 -0
  265. /package/dist/{assertClassBrand--vndzvkj.js → assertClassBrand-CuHX5JcR.js} +0 -0
  266. /package/dist/{back-horizontal-hint-Chms43yu.js → back-horizontal-hint-yueBylfH.js} +0 -0
  267. /package/dist/{back-tutorial-CsLjEe1h.js → back-tutorial-v-0Ek2vm.js} +0 -0
  268. /package/dist/{back-vertical-hint-iIm6Tgar.js → back-vertical-hint-NzFSG2Bh.js} +0 -0
  269. /package/dist/{backdevicelottie-B-yh2vaH.js → backdevicelottie-DF1HiZ5r.js} +0 -0
  270. /package/dist/{blurdevicelottie-B-MnEJJ9.js → blurdevicelottie-BSyppjCM.js} +0 -0
  271. /package/dist/{countryDefinitions-DlsV3Tf8.js → countryDefinitions-YYJL8AKj.js} +0 -0
  272. /package/dist/{defineProperty-B6A4KUIl.js → defineProperty-CRYuXE79.js} +0 -0
  273. /package/dist/{fieldLabelHint-D51pJr0N.js → fieldLabelHint-C0ZLkktZ.js} +0 -0
  274. /package/dist/{flip-animation-2ApKMmiz.js → flip-animation-BwsJr5v0.js} +0 -0
  275. /package/dist/{front-horizontal-hint-hRDAcU5c.js → front-horizontal-hint-C9-5nbdp.js} +0 -0
  276. /package/dist/{front-vertical-hint-DzlrK9KI.js → front-vertical-hint-DTtHshwX.js} +0 -0
  277. /package/dist/{frontdevicelottie-D5U9tg8-.js → frontdevicelottie-DBYQ8I6w.js} +0 -0
  278. /package/dist/{glaredevicelottie-exDO2WQS.js → glaredevicelottie-Cd1wXkQ6.js} +0 -0
  279. /package/dist/{helpButtonConfig-CjbrBQaV.js → helpButtonConfig-BFragC_J.js} +0 -0
  280. /package/dist/{id-back-of-card-D9tIT4x8.js → id-back-of-card-DNgfCJsN.js} +0 -0
  281. /package/dist/{id-back-of-card-vertical-CadHCOQb.js → id-back-of-card-vertical-D7qtwPW5.js} +0 -0
  282. /package/dist/{id-front-of-card-DQP6DK1A.js → id-front-of-card-CM0hV6jv.js} +0 -0
  283. /package/dist/{id-front-of-card-vertical-Bw8mJ2eW.js → id-front-of-card-vertical-Cz0op2vf.js} +0 -0
  284. /package/dist/{id-laser-h-C1VNfV0z.js → id-laser-h-xw6WLLM_.js} +0 -0
  285. /package/dist/{id-laser-v-CwYRuzKJ.js → id-laser-v-BHYuyf78.js} +0 -0
  286. /package/dist/{id-tutorial-Cp4YGXxy.js → id-tutorial-CYXjnunq.js} +0 -0
  287. /package/dist/{lottie_light-pO5qdkhZ.js → lottie_light-B819EhaL.js} +0 -0
  288. /package/dist/{passport-horizontal-hint-w_QG1Moi.js → passport-horizontal-hint-SkVy1ylo.js} +0 -0
  289. /package/dist/{passport-tutorial-CTGbQDlK.js → passport-tutorial-B_BAoSVc.js} +0 -0
  290. /package/dist/{passport-vertical-hint-DcsBg3dK.js → passport-vertical-hint-CgCA8IKR.js} +0 -0
  291. /package/dist/{pdf.worker.min-3yVqy4Ya.js → pdf.worker.min-DzBNMoKS.js} +0 -0
  292. /package/dist/{policyUrls-DH8bb0Xl.js → policyUrls-Hvb4jPfF.js} +0 -0
  293. /package/dist/{purify.es-IJ9QRduG.js → purify.es-DIIgrZ-E.js} +0 -0
  294. /package/dist/{realtimeFeedbackConfig-tBX94SOm.js → realtimeFeedbackConfig-DeZksjlR.js} +0 -0
  295. /package/dist/{registerIncodeElement-CGbGH7-7.js → registerIncodeElement-B5W7SqS3.js} +0 -0
  296. /package/dist/{selfieTutorial-T41XPQa8.js → selfieTutorial-2UnQ3071.js} +0 -0
  297. /package/dist/{useCameraPreview-Ba7VDF0M.js → useCameraPreview-DrteOjaq.js} +0 -0
  298. /package/dist/{useIsDarkTheme-BJKIqiyH.js → useIsDarkTheme-DAs5RhsW.js} +0 -0
  299. /package/dist/{useModuleLoader-Cm84w8E1.js → useModuleLoader--rVDzHqn.js} +0 -0
@@ -1,9 +0,0 @@
1
- //#region src/shared/devWarn/devWarn.ts
2
- /**
3
- * Emits a namespaced `console.warn` in development only. Override load
4
- * failures and bad catalog keys are non-fatal (we always fall back to a
5
- * built-in default), so they must never surface in production consoles.
6
- */
7
- function devWarn(message, error) {}
8
- //#endregion
9
- export { devWarn as t };
@@ -1,2 +0,0 @@
1
- import { t as DocumentCapture } from "./documentCapture-B8JyEA7L.js";
2
- export { DocumentCapture };
@@ -1 +0,0 @@
1
- import "./dropdownComposed-B4kIb2ET.js";
@@ -1,2 +0,0 @@
1
- import { t as EkybModule } from "./ekybModule-CBy5rSgL.js";
2
- export { EkybModule };
@@ -1,2 +0,0 @@
1
- import { t as EkycModule } from "./ekycModule-403hDcHa.js";
2
- export { EkycModule };
@@ -1,2 +0,0 @@
1
- import { t as EkycPrefillModule } from "./ekycPrefillModule-Dzu1Uyav.js";
2
- export { EkycPrefillModule };
@@ -1,2 +0,0 @@
1
- import { t as FaceMatch } from "./faceMatch-BV8xt_-3.js";
2
- export { FaceMatch };
@@ -1,2 +0,0 @@
1
- import { t as FieldComparison } from "./fieldComparison-BcLvJpjX.js";
2
- export { FieldComparison };
@@ -1,33 +0,0 @@
1
- import { a as useTranslation } from "./i18n-u3NzadJk.js";
2
- import { _ as q, b as u } from "./vendor-preact-HIccnts1.js";
3
- import { t as Spacer } from "./spacer-B7en1YsW.js";
4
- import { t as Title } from "./typography-_6vuCfvg.js";
5
- import { r as AnimatedAsset } from "./spinner-DJB6V2X_.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 };
@@ -1 +0,0 @@
1
- import "./inputComposed-DXTUInVH.js";
@@ -1,2 +0,0 @@
1
- import { t as KybChecksModule } from "./kybChecksModule-Bb-PqYhl.js";
2
- export { KybChecksModule };
@@ -1,13 +0,0 @@
1
- import { b as u } from "./vendor-preact-HIccnts1.js";
2
- //#region src/shared/permissions/camera/numberedStep.tsx
3
- var NumberedStep = ({ number }) => {
4
- return /* @__PURE__ */ u("div", {
5
- class: "IncodeNumberedStep",
6
- children: /* @__PURE__ */ u("span", {
7
- class: "IncodeNumberedStepText",
8
- children: number
9
- })
10
- });
11
- };
12
- //#endregion
13
- export { NumberedStep as t };
@@ -1,2 +0,0 @@
1
- import { t as PdfViewer } from "./pdfViewer-D23fWzxN.js";
2
- export { PdfViewer };
@@ -1 +0,0 @@
1
- import "./radioGroupComposed-5QBeaKRS.js";
@@ -1,70 +0,0 @@
1
- import { b as u } from "./vendor-preact-HIccnts1.js";
2
- //#region src/shared/permissions/assets/check-v2-icon.svg?react
3
- var SvgCheckV2Icon = (props) => /* @__PURE__ */ u("svg", {
4
- xmlns: "http://www.w3.org/2000/svg",
5
- width: 24,
6
- height: 24,
7
- fill: "none",
8
- viewBox: "0 0 24 24",
9
- ...props,
10
- children: [
11
- /* @__PURE__ */ u("path", {
12
- fill: "currentColor",
13
- fillRule: "evenodd",
14
- d: "m18.229 10.358-1.073 1.757a.75.75 0 0 1-.647.356.8.8 0 0 1-.381-.1l-1.817-1.027a.706.706 0 0 1-.266-.986.767.767 0 0 1 1.028-.255l.26.147A3.73 3.73 0 0 0 12 8.208c-1.216 0-2.355.573-3.047 1.533a.77.77 0 0 1-1.043.183.7.7 0 0 1-.19-1.003c.972-1.348 2.572-2.153 4.28-2.153 2.146 0 4.005 1.287 4.792 3.097l.144-.235a.764.764 0 0 1 1.026-.257.704.704 0 0 1 .267.985m-1.95 4.24c-.972 1.35-2.571 2.155-4.28 2.155-2.149 0-4.008-1.286-4.794-3.094l-.142.232a.77.77 0 0 1-1.026.256.703.703 0 0 1-.267-.984l1.073-1.757a.75.75 0 0 1 .458-.333.78.78 0 0 1 .57.076l1.817 1.028a.705.705 0 0 1 .266.986.77.77 0 0 1-1.028.255l-.266-.15a3.73 3.73 0 0 0 3.339 2.045c1.215 0 2.355-.573 3.045-1.533a.77.77 0 0 1 1.044-.183.7.7 0 0 1 .191 1.002M15.974 2.64H8.027C4.721 2.64 2.5 4.678 2.5 7.71v8.101c0 3.032 2.221 5.069 5.527 5.069h7.947c3.306 0 5.526-2.037 5.526-5.069V7.71c0-3.032-2.22-5.07-5.526-5.07",
15
- clipRule: "evenodd"
16
- }),
17
- /* @__PURE__ */ u("path", {
18
- fill: "currentColor",
19
- d: "M4 6h16v12H4z"
20
- }),
21
- /* @__PURE__ */ u("path", {
22
- fill: "#fff",
23
- d: "M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5m-1 7.5L8.5 12l.705-.705L11 13.085l3.795-3.795.705.71z"
24
- })
25
- ]
26
- });
27
- //#endregion
28
- //#region src/shared/permissions/assets/person-card-icon.svg?react
29
- var SvgPersonCardIcon = (props) => /* @__PURE__ */ u("svg", {
30
- xmlns: "http://www.w3.org/2000/svg",
31
- width: 24,
32
- height: 24,
33
- fill: "none",
34
- viewBox: "0 0 24 24",
35
- ...props,
36
- children: [
37
- /* @__PURE__ */ u("path", {
38
- fill: "currentColor",
39
- fillRule: "evenodd",
40
- d: "m18.229 10.358-1.073 1.757a.75.75 0 0 1-.647.356.8.8 0 0 1-.381-.1l-1.817-1.027a.706.706 0 0 1-.266-.986.767.767 0 0 1 1.028-.255l.26.147A3.73 3.73 0 0 0 12 8.208c-1.216 0-2.355.573-3.047 1.533a.77.77 0 0 1-1.043.183.7.7 0 0 1-.19-1.003c.972-1.348 2.572-2.153 4.28-2.153 2.146 0 4.005 1.287 4.792 3.097l.144-.235a.764.764 0 0 1 1.026-.257.704.704 0 0 1 .267.985m-1.95 4.24c-.972 1.35-2.571 2.155-4.28 2.155-2.149 0-4.008-1.286-4.794-3.094l-.142.232a.77.77 0 0 1-1.026.256.703.703 0 0 1-.267-.984l1.073-1.757a.75.75 0 0 1 .458-.333.78.78 0 0 1 .57.076l1.817 1.028a.705.705 0 0 1 .266.986.77.77 0 0 1-1.028.255l-.266-.15a3.73 3.73 0 0 0 3.339 2.045c1.215 0 2.355-.573 3.045-1.533a.77.77 0 0 1 1.044-.183.7.7 0 0 1 .191 1.002M15.974 2.64H8.027C4.721 2.64 2.5 4.678 2.5 7.71v8.101c0 3.032 2.221 5.069 5.527 5.069h7.947c3.306 0 5.526-2.037 5.526-5.069V7.71c0-3.032-2.22-5.07-5.526-5.07",
41
- clipRule: "evenodd"
42
- }),
43
- /* @__PURE__ */ u("path", {
44
- fill: "currentColor",
45
- d: "M4 6h16v12H4z"
46
- }),
47
- /* @__PURE__ */ u("path", {
48
- fill: "#fff",
49
- d: "M16.868 7.133H7.801c-.625 0-1.133.509-1.133 1.134v6.8c0 .625.508 1.133 1.133 1.133h9.067c.625 0 1.133-.508 1.133-1.133v-6.8c0-.625-.508-1.134-1.133-1.134M10.473 9.4c.652 0 1.133.481 1.133 1.133s-.48 1.134-1.133 1.134c-.652 0-1.133-.482-1.133-1.134S9.82 9.4 10.473 9.4m2.105 4.533h-4.21v-.263c0-.778.95-1.578 2.105-1.578s2.105.8 2.105 1.578zm3.723-.566h-2.266v-1.134H16.3zm0-2.267h-2.833V9.967h2.833z"
50
- })
51
- ]
52
- });
53
- //#endregion
54
- //#region src/shared/permissions/assets/reload-icon.svg?react
55
- var SvgReloadIcon = (props) => /* @__PURE__ */ u("svg", {
56
- xmlns: "http://www.w3.org/2000/svg",
57
- width: 24,
58
- height: 24,
59
- fill: "none",
60
- viewBox: "0 0 24 24",
61
- ...props,
62
- children: /* @__PURE__ */ u("path", {
63
- fill: "currentColor",
64
- fillRule: "evenodd",
65
- d: "m18.229 10.358-1.073 1.757a.75.75 0 0 1-.647.356.8.8 0 0 1-.381-.1l-1.817-1.027a.706.706 0 0 1-.266-.986.767.767 0 0 1 1.028-.255l.26.147A3.73 3.73 0 0 0 12 8.208c-1.216 0-2.355.573-3.047 1.533a.77.77 0 0 1-1.043.183.7.7 0 0 1-.19-1.003c.972-1.348 2.572-2.153 4.28-2.153 2.146 0 4.005 1.287 4.792 3.097l.144-.235a.764.764 0 0 1 1.026-.257.704.704 0 0 1 .267.985m-1.95 4.24c-.972 1.35-2.571 2.155-4.28 2.155-2.149 0-4.008-1.286-4.794-3.094l-.142.232a.77.77 0 0 1-1.026.256.703.703 0 0 1-.267-.984l1.073-1.757a.75.75 0 0 1 .458-.333.78.78 0 0 1 .57.076l1.817 1.028a.705.705 0 0 1 .266.986.77.77 0 0 1-1.028.255l-.266-.15a3.73 3.73 0 0 0 3.339 2.045c1.215 0 2.355-.573 3.045-1.533a.77.77 0 0 1 1.044-.183.7.7 0 0 1 .191 1.002M15.974 2.64H8.027C4.721 2.64 2.5 4.678 2.5 7.71v8.101c0 3.032 2.221 5.069 5.527 5.069h7.947c3.306 0 5.526-2.037 5.526-5.069V7.71c0-3.032-2.22-5.07-5.526-5.07",
66
- clipRule: "evenodd"
67
- })
68
- });
69
- //#endregion
70
- export { SvgPersonCardIcon as n, SvgCheckV2Icon as r, SvgReloadIcon as t };
@@ -1,82 +0,0 @@
1
- import { a as M, b as u } from "./vendor-preact-HIccnts1.js";
2
- //#region src/styles/cn.tsx
3
- var cn = (...classes) => {
4
- const result = [];
5
- for (const cls of classes) {
6
- if (!cls) continue;
7
- if (typeof cls === "string") result.push(cls);
8
- else if (typeof cls === "object") {
9
- for (const [key, value] of Object.entries(cls)) if (value) result.push(key);
10
- }
11
- }
12
- return result.join(" ");
13
- };
14
- //#endregion
15
- //#region src/shared/spacer/spacer.tsx
16
- var scaleTokens = new Set([
17
- 0,
18
- 2,
19
- 4,
20
- 8,
21
- 12,
22
- 16,
23
- 20,
24
- 24,
25
- 32,
26
- 40,
27
- 48,
28
- 64,
29
- 80,
30
- 96,
31
- 104,
32
- 120,
33
- 200
34
- ]);
35
- var scaleToClassName = (size, direction) => {
36
- if (direction === "horizontal") return {
37
- 0: "IncodeSpacerHorizontal0",
38
- 2: "IncodeSpacerHorizontal2",
39
- 4: "IncodeSpacerHorizontal4",
40
- 8: "IncodeSpacerHorizontal8",
41
- 12: "IncodeSpacerHorizontal12",
42
- 16: "IncodeSpacerHorizontal16",
43
- 20: "IncodeSpacerHorizontal20",
44
- 24: "IncodeSpacerHorizontal24",
45
- 32: "IncodeSpacerHorizontal32",
46
- 40: "IncodeSpacerHorizontal40",
47
- 48: "IncodeSpacerHorizontal48",
48
- 64: "IncodeSpacerHorizontal64",
49
- 80: "IncodeSpacerHorizontal80",
50
- 96: "IncodeSpacerHorizontal96",
51
- 104: "IncodeSpacerHorizontal104",
52
- 120: "IncodeSpacerHorizontal120",
53
- 200: "IncodeSpacerHorizontal200"
54
- }[size];
55
- return {
56
- 0: "IncodeSpacerVertical0",
57
- 2: "IncodeSpacerVertical2",
58
- 4: "IncodeSpacerVertical4",
59
- 8: "IncodeSpacerVertical8",
60
- 12: "IncodeSpacerVertical12",
61
- 16: "IncodeSpacerVertical16",
62
- 20: "IncodeSpacerVertical20",
63
- 24: "IncodeSpacerVertical24",
64
- 32: "IncodeSpacerVertical32",
65
- 40: "IncodeSpacerVertical40",
66
- 48: "IncodeSpacerVertical48",
67
- 64: "IncodeSpacerVertical64",
68
- 80: "IncodeSpacerVertical80",
69
- 96: "IncodeSpacerVertical96",
70
- 104: "IncodeSpacerVertical104",
71
- 120: "IncodeSpacerVertical120",
72
- 200: "IncodeSpacerVertical200"
73
- }[size];
74
- };
75
- var Spacer = M(function Spacer({ size, className, direction = "vertical" }) {
76
- if (size === void 0) return /* @__PURE__ */ u("div", { class: `IncodeSpacerFlex ${className || ""}` });
77
- if (!(direction === "horizontal" ? "w" : direction === "vertical" ? "h" : void 0)) return /* @__PURE__ */ u("div", { class: `${className || ""}` });
78
- if (typeof size === "number" && scaleTokens.has(size)) return /* @__PURE__ */ u("div", { class: `${scaleToClassName(size, direction)} ${className || ""}` });
79
- return /* @__PURE__ */ u("div", { class: `${className || ""}` });
80
- });
81
- //#endregion
82
- export { cn as n, Spacer as t };
@@ -1,407 +0,0 @@
1
- import { r as __toESM } from "./rolldown-runtime--E5BIlTp.js";
2
- import { T as k, _ as q, b as u, f as _, l as A, m as d, y } from "./vendor-preact-HIccnts1.js";
3
- import "./devWarn-BQ2Sjncn.js";
4
- import { n as cn, t as Spacer } from "./spacer-B7en1YsW.js";
5
- import { t as Title } from "./typography-_6vuCfvg.js";
6
- import { a as animationRegistry, i as isActiveOverride, n as useAnimation, r as useAsset, t as Asset } from "./asset-B5BiSMLu.js";
7
- //#region src/shared/lottie/lottie.tsx
8
- var lottiePromise = null;
9
- var lottiePlayer;
10
- async function loadLottie() {
11
- if (lottiePromise) return lottiePromise;
12
- lottiePromise = import("./lottie_light-pO5qdkhZ.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1)).then((mod) => {
13
- lottiePlayer = mod.default;
14
- return lottiePlayer;
15
- }, (error) => {
16
- lottiePromise = null;
17
- throw error;
18
- });
19
- return lottiePromise;
20
- }
21
- var AUTO_STOP_AFTER_MS = 5e3;
22
- function Lottie({ animationData, loop = true, autoplay = true, reverse = false, style, className, onComplete, autoStop = false, stopFramePosition }) {
23
- const containerRef = A(null);
24
- const effectiveAutoplay = reverse ? false : autoplay;
25
- const animationOptionsRef = A({
26
- container: containerRef.current,
27
- renderer: "svg",
28
- loop,
29
- autoplay: effectiveAutoplay,
30
- animationData
31
- });
32
- y(() => {
33
- animationOptionsRef.current = {
34
- container: containerRef.current,
35
- renderer: "svg",
36
- loop,
37
- autoplay: effectiveAutoplay,
38
- animationData
39
- };
40
- }, [
41
- animationData,
42
- loop,
43
- effectiveAutoplay
44
- ]);
45
- _(() => {
46
- const container = containerRef.current;
47
- if (!container) return;
48
- let anim;
49
- let stopTimer;
50
- let isMounted = true;
51
- const start = (lottie) => {
52
- if (!isMounted) return;
53
- container.replaceChildren();
54
- anim = lottie.loadAnimation({
55
- ...animationOptionsRef.current,
56
- container
57
- });
58
- if (reverse) {
59
- anim.setDirection(-1);
60
- anim.goToAndPlay(anim.totalFrames - 1, true);
61
- }
62
- if (onComplete) anim.addEventListener("complete", onComplete);
63
- if (autoStop) stopTimer = window.setTimeout(() => {
64
- const current = anim;
65
- if (!current) return;
66
- if (!stopFramePosition) {
67
- current.pause();
68
- return;
69
- }
70
- const totalFrames = current.totalFrames;
71
- if (!totalFrames || totalFrames <= 0) {
72
- current.stop();
73
- return;
74
- }
75
- const targetFrame = stopFramePosition === "last" ? Math.max(totalFrames - 1, 0) : stopFramePosition === "first" ? 0 : Math.floor((totalFrames - 1) / 2);
76
- current.goToAndStop(targetFrame, true);
77
- }, AUTO_STOP_AFTER_MS);
78
- };
79
- if (lottiePlayer) start(lottiePlayer);
80
- else loadLottie().then(start, () => void 0);
81
- return () => {
82
- isMounted = false;
83
- if (stopTimer !== void 0) window.clearTimeout(stopTimer);
84
- if (anim) {
85
- if (onComplete) anim.removeEventListener("complete", onComplete);
86
- const frame = container.firstElementChild?.cloneNode(true);
87
- anim.destroy();
88
- if (frame) container.appendChild(frame);
89
- }
90
- };
91
- }, [
92
- onComplete,
93
- reverse,
94
- autoStop,
95
- stopFramePosition
96
- ]);
97
- return /* @__PURE__ */ u("div", {
98
- ref: containerRef,
99
- style,
100
- className,
101
- "aria-hidden": "true"
102
- });
103
- }
104
- //#endregion
105
- //#region src/shared/assets/animatedAsset.tsx
106
- var overrideUrlCache = /* @__PURE__ */ new Map();
107
- function fetchAnimation(url) {
108
- const cached = overrideUrlCache.get(url);
109
- if (cached) return cached;
110
- const pending = fetch(url).then((response) => {
111
- if (!response.ok) throw new Error(`Request for "${url}" failed with status ${response.status}.`);
112
- return response.json();
113
- });
114
- overrideUrlCache.set(url, pending);
115
- pending.catch(() => overrideUrlCache.delete(url));
116
- return pending;
117
- }
118
- function loadAnimationDefault(def, orientation) {
119
- if (def === null) return Promise.resolve(null);
120
- if (typeof def === "function") return def();
121
- return def[orientation]();
122
- }
123
- var defaultCache = /* @__PURE__ */ new Map();
124
- function defaultCacheKey(name, orientation) {
125
- return `${name}|${orientation}`;
126
- }
127
- function loadDefaultCached(name, orientation) {
128
- const cacheKey = defaultCacheKey(name, orientation);
129
- if (defaultCache.has(cacheKey)) return Promise.resolve(defaultCache.get(cacheKey) ?? null);
130
- return loadAnimationDefault(animationRegistry[name]?.default ?? null, orientation).then((value) => {
131
- defaultCache.set(cacheKey, value);
132
- return value;
133
- });
134
- }
135
- /**
136
- * Warms the built-in animation cache for the given catalog keys so a later
137
- * render is synchronous (no flash). Best-effort; call it before the screen
138
- * mounts.
139
- */
140
- function preloadAnimations(keys, orientation = "vertical") {
141
- for (const key of keys) loadDefaultCached(key, orientation).catch(() => {});
142
- }
143
- /**
144
- * Resolves the winning animation to parsed `animationData` plus whether it came
145
- * from a customer override. Reads the default cache synchronously on first
146
- * render, so a preloaded animation shows with no flash. A failed override URL
147
- * silently falls back to the built-in default.
148
- *
149
- * Shared by `AnimatedAsset` and by tutorial surfaces that render Lottie
150
- * themselves (e.g. `BaseTutorial`, which recolors only built-in defaults).
151
- *
152
- * `onFallback`, if given, fires only when a *configured* override actually
153
- * fails to load (never when there was simply no override to begin with) —
154
- * for a caller whose true fallback lives outside this system entirely, so it
155
- * can react to a real failure instead of committing to render this component before
156
- * knowing whether the override will actually work.
157
- */
158
- function useAnimationData(name, orientation = "vertical", onFallback) {
159
- const resolved = useAnimation(name);
160
- const type = resolved?.type;
161
- const isOverride = isActiveOverride(resolved);
162
- const overrideUrl = resolved?.type === "override-url" ? resolved.url : void 0;
163
- const overrideData = resolved?.type === "override-data" ? resolved.animationData : void 0;
164
- const [data, setData] = d(() => {
165
- if (type === "override-data") return overrideData ?? null;
166
- if (type === "default") return defaultCache.get(defaultCacheKey(name, orientation)) ?? null;
167
- return null;
168
- });
169
- const [overrideFailed, setOverrideFailed] = d(false);
170
- y(() => {
171
- let active = true;
172
- setOverrideFailed(false);
173
- if (type === void 0) setData(null);
174
- else if (type === "override-data") setData(overrideData ?? null);
175
- else if (type === "override-url" && overrideUrl !== void 0) fetchAnimation(overrideUrl).then((value) => {
176
- if (active) setData(value);
177
- }, (error) => {
178
- `${name}`;
179
- if (active) {
180
- setOverrideFailed(true);
181
- loadDefaultCached(name, orientation).then((value) => {
182
- if (active) setData(value);
183
- }, () => {});
184
- }
185
- });
186
- else loadDefaultCached(name, orientation).then((value) => {
187
- if (active) setData(value);
188
- }, (error) => {
189
- if (active) {
190
- setData(null);
191
- `${name}`;
192
- }
193
- });
194
- return () => {
195
- active = false;
196
- };
197
- }, [
198
- name,
199
- orientation,
200
- type,
201
- overrideUrl,
202
- overrideData
203
- ]);
204
- y(() => {
205
- if (overrideFailed) onFallback?.();
206
- }, [overrideFailed, onFallback]);
207
- return {
208
- data,
209
- isOverride
210
- };
211
- }
212
- /**
213
- * Renders a Lottie animation by catalog key, honoring the resolved precedence
214
- * (per-instance → global → built-in default). Renders nothing while pending or
215
- * when there is no Lottie to show; the container is `aria-hidden` (all catalog
216
- * animations are decorative).
217
- */
218
- function AnimatedAsset({ name, autoStop, stopFramePosition, orientation = "vertical", loop, reverse, onComplete, class: className, onFallback }) {
219
- const { data } = useAnimationData(name, orientation, onFallback);
220
- if (data === null) return null;
221
- return /* @__PURE__ */ u(Lottie, {
222
- animationData: data,
223
- autoStop,
224
- stopFramePosition,
225
- loop,
226
- reverse,
227
- onComplete,
228
- className
229
- });
230
- }
231
- //#endregion
232
- //#region src/shared/loader/loadingIcon.tsx
233
- /**
234
- * Duration of the CSS spin animation on `.IncodeLoadingIcon`.
235
- * Must stay in sync with the `animation-duration` declared in the stylesheet.
236
- */
237
- var SPIN_DURATION_MS = 1e3;
238
- var SpinnerPrimary = ({ size, className }) => {
239
- return /* @__PURE__ */ u("svg", {
240
- width: size,
241
- height: size,
242
- viewBox: "0 0 31 31",
243
- fill: "none",
244
- xmlns: "http://www.w3.org/2000/svg",
245
- class: cn("IncodeLoadingIconPrimaryIcon", className),
246
- "aria-hidden": "true",
247
- children: /* @__PURE__ */ u("path", { d: "M28.161 15.284c1.292 0 2.358-1.054 2.157-2.33A15 15 0 0 0 17.83.466c-1.276-.2-2.329.865-2.329 2.156s1.06 2.313 2.319 2.603a10.32 10.32 0 0 1 7.74 7.74c.29 1.259 1.31 2.319 2.602 2.319Z" })
248
- });
249
- };
250
- var SpinnerSecondary = ({ size, className }) => {
251
- return /* @__PURE__ */ u("svg", {
252
- width: size,
253
- height: size,
254
- viewBox: "0 0 31 31",
255
- fill: "none",
256
- xmlns: "http://www.w3.org/2000/svg",
257
- class: cn("IncodeLoadingIconSecondaryIcon", className),
258
- "aria-hidden": "true",
259
- children: [/* @__PURE__ */ u("title", { children: "Spinner Outer part" }), /* @__PURE__ */ u("path", { d: "M30.5 15.284c0 8.284-6.716 15-15 15s-15-6.716-15-15c0-8.285 6.716-15 15-15s15 6.715 15 15Zm-25.323 0c0 5.7 4.622 10.322 10.323 10.322s10.323-4.621 10.323-10.322S21.2 4.96 15.5 4.96 5.177 9.583 5.177 15.284Z" })]
260
- });
261
- };
262
- var LoadingIcon = ({ size = 30, secondaryClass, primaryClass }) => {
263
- const ref = A(null);
264
- const overrideRef = A(null);
265
- const animation = useAnimation("loader.spinner");
266
- const svg = useAsset("loader.spinner");
267
- const hasAnimationOverride = isActiveOverride(animation);
268
- const hasSvgOverride = isActiveOverride(svg);
269
- const [overrideFailed, setOverrideFailed] = d(false);
270
- const handleFallback = q(() => setOverrideFailed(true), []);
271
- const hasOverride = (hasAnimationOverride || hasSvgOverride) && !overrideFailed;
272
- /**
273
- * Cross-module loaders (e.g. ID processing → selfie initialising) unmount
274
- * and remount this component as the user moves between flow steps. By
275
- * default each remount restarts the CSS spin animation from frame 0, which
276
- * reads as a visible "stutter" or reset of the spinner during otherwise
277
- * seamless transitions.
278
- *
279
- * To keep the rotation continuous across remounts we anchor the animation
280
- * to a wall-clock offset: `performance.now() % SPIN_DURATION_MS` tells us
281
- * how far into the current spin cycle we are, and applying it as a
282
- * negative `animation-delay` makes the new instance pick up exactly where
283
- * the previous one left off. (Built-in default only.)
284
- */
285
- _(() => {
286
- if (hasOverride || !ref.current) return;
287
- const offsetMs = performance.now() % SPIN_DURATION_MS;
288
- ref.current.style.animationDelay = `-${offsetMs}ms`;
289
- }, [hasOverride]);
290
- _(() => {
291
- if (!overrideRef.current) return;
292
- overrideRef.current.style.width = `${size}px`;
293
- overrideRef.current.style.height = `${size}px`;
294
- }, [size, hasOverride]);
295
- if (hasOverride) return /* @__PURE__ */ u("div", {
296
- ref: overrideRef,
297
- class: "IncodeLoadingIconOverride",
298
- children: hasAnimationOverride ? /* @__PURE__ */ u(AnimatedAsset, {
299
- name: "loader.spinner",
300
- loop: true,
301
- onFallback: handleFallback
302
- }) : /* @__PURE__ */ u(Asset, {
303
- name: "loader.spinner",
304
- onFallback: handleFallback
305
- })
306
- });
307
- return /* @__PURE__ */ u("div", {
308
- ref,
309
- class: "IncodeLoadingIcon",
310
- children: [/* @__PURE__ */ u(SpinnerSecondary, {
311
- size,
312
- className: secondaryClass
313
- }), /* @__PURE__ */ u("div", {
314
- class: "IncodeLoadingIconPrimary",
315
- children: /* @__PURE__ */ u(SpinnerPrimary, {
316
- size,
317
- className: primaryClass
318
- })
319
- })]
320
- });
321
- };
322
- //#endregion
323
- //#region src/shared/spinner/spinnerHelpers.ts
324
- function getSpinnerClasses({ fullScreen, alwaysDark, hideIcon, className }) {
325
- const container = ["IncodeSpinner"];
326
- let loadingPrimary = [];
327
- let loadingSecondary = [];
328
- if (fullScreen) container.push("IncodeSpinnerFullScreen");
329
- if (alwaysDark) {
330
- container.push("IncodeSpinnerAlwaysDark");
331
- loadingPrimary.push("IncodeSpinnerAlwaysDarkLoadingPrimary");
332
- loadingSecondary.push("IncodeSpinnerAlwaysDarkLoadingSecondary");
333
- }
334
- if (hideIcon) {
335
- container.push("IncodeSpinnerTextOnly");
336
- loadingPrimary = [];
337
- loadingSecondary = [];
338
- }
339
- if (className) container.push(className);
340
- return {
341
- containerClass: cn(...container),
342
- loadingPrimaryClass: cn(...loadingPrimary),
343
- loadingSecondaryClass: cn(...loadingSecondary)
344
- };
345
- }
346
- //#endregion
347
- //#region src/shared/spinner/spinner.tsx
348
- var sizeMap = {
349
- small: 24,
350
- medium: 48,
351
- large: 64
352
- };
353
- var Spinner = ({ title, subtitle, ariaLabel, size = "medium", fullScreen = true, className, presentational = false, hideIcon = false, alwaysDark = false }) => {
354
- const iconSize = sizeMap[size];
355
- const titleRef = A(null);
356
- const containerRef = A(null);
357
- y(() => {
358
- if (presentational) return;
359
- if (ariaLabel) containerRef.current?.focus();
360
- else if (title) titleRef.current?.focus();
361
- }, [
362
- title,
363
- ariaLabel,
364
- presentational
365
- ]);
366
- const { containerClass, loadingPrimaryClass, loadingSecondaryClass } = getSpinnerClasses({
367
- fullScreen,
368
- alwaysDark,
369
- hideIcon,
370
- className
371
- });
372
- return /* @__PURE__ */ u("div", {
373
- ref: containerRef,
374
- class: containerClass,
375
- "data-testid": "spinner",
376
- "data-title": title,
377
- "data-subtitle": subtitle,
378
- "data-size": size,
379
- role: presentational ? void 0 : "status",
380
- "aria-live": presentational ? void 0 : "polite",
381
- "aria-label": presentational ? void 0 : ariaLabel,
382
- "aria-hidden": presentational ? true : void 0,
383
- tabIndex: !presentational && ariaLabel ? -1 : void 0,
384
- children: /* @__PURE__ */ u("div", {
385
- class: "IncodeSpinnerContent",
386
- "aria-hidden": ariaLabel ? true : void 0,
387
- children: [!hideIcon && /* @__PURE__ */ u(LoadingIcon, {
388
- size: iconSize,
389
- primaryClass: loadingPrimaryClass,
390
- secondaryClass: loadingSecondaryClass
391
- }), (title || subtitle) && /* @__PURE__ */ u(k, { children: [!hideIcon && /* @__PURE__ */ u(Spacer, { size: 16 }), /* @__PURE__ */ u("div", {
392
- class: "IncodeSpinnerText",
393
- children: [title && /* @__PURE__ */ u(Title, {
394
- ref: titleRef,
395
- tabIndex: -1,
396
- className: "IncodeSpinnerTitle",
397
- children: title
398
- }), subtitle && /* @__PURE__ */ u(k, { children: [title && /* @__PURE__ */ u(Spacer, { size: 12 }), /* @__PURE__ */ u("p", {
399
- class: "IncodeSpinnerSubtitle",
400
- children: subtitle
401
- })] })]
402
- })] })]
403
- })
404
- });
405
- };
406
- //#endregion
407
- export { useAnimationData as a, preloadAnimations as i, LoadingIcon as n, Lottie as o, AnimatedAsset as r, loadLottie as s, Spinner as t };