@incodetech/web 0.0.0-dev-20260930-d4ff5ab8 → 0.0.0-dev-20260930-800b46a7

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 (243) hide show
  1. package/dist/{GeolocationPermissionDenied-WfgdZSCw.js → GeolocationPermissionDenied-DAQfQ4dG.js} +5 -5
  2. package/dist/ae-signature/ae-signature.es.js +3 -3
  3. package/dist/ageVerification-6YRwkmCt.js +77 -0
  4. package/dist/antifraud/antifraud.es.js +3 -3
  5. package/dist/authentication/authentication.es.js +4 -4
  6. package/dist/{autoFocusTitle-CvIX4-a7.js → autoFocusTitle-BqE_qYZr.js} +1 -1
  7. package/dist/{baseTutorial-BHryBUio.js → baseTutorial-BPHbJVST.js} +3 -3
  8. package/dist/{bottomSheet-CAwHMdzc.js → bottomSheet-CCVBvXJj.js} +2 -2
  9. package/dist/cameraOverlay-DWspjoiG.js +2 -0
  10. package/dist/{cameraOverlayHeader-BnnexMYK.js → cameraOverlayHeader-BeYqlXuY.js} +4 -4
  11. package/dist/{cameraView-B6qPAP9P.js → cameraView-CYo219jm.js} +2 -2
  12. package/dist/certificate-issuance/certificate-issuance.es.js +9 -9
  13. package/dist/{checkbox-DNLQdD-t.js → checkbox-Dls6LWFk.js} +3 -3
  14. package/dist/{connectionError-BwYQhymn.js → connectionError-CjDlD-Of.js} +3 -3
  15. package/dist/consent/consent.es.js +8 -7
  16. package/dist/{countryFlag-DS33VRIP.js → countryFlag-2Eus706D.js} +1 -1
  17. package/dist/{countrySelector-BpUlsiLE.js → countrySelector-CSCwfx5N.js} +3 -3
  18. package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
  19. package/dist/curp-validation/curp-validation.es.js +13 -12
  20. package/dist/{customFields-CqdqHbRu.js → customFields-DTZw7Dao.js} +10 -10
  21. package/dist/{customWatchlist-BCUtuEAS.js → customWatchlist-D-6aXms_.js} +6 -6
  22. package/dist/{dashboardTheme-BaLcB-3A.js → dashboardTheme-2rHkeDi7.js} +1 -1
  23. package/dist/{dateInputComposed-w4j9RRsy.js → dateInputComposed-Bx_20XsV.js} +4 -4
  24. package/dist/dateInputComposed-CqXpMLpW.js +1 -0
  25. package/dist/{denied-Dgs8UCNi.js → denied-YtuHSavE.js} +7 -7
  26. package/dist/deviceWallet-B-tE6iPE.js +66 -0
  27. package/dist/digitalIdRedirect-Be_iI70S.js +132 -0
  28. package/dist/digitalIdUpload-Bn3sbX2l.js +496 -0
  29. package/dist/document-capture/document-capture.es.js +1 -1
  30. package/dist/documentCapture-B2rzvS8a.js +2 -0
  31. package/dist/{documentCapture-BVcNX0X4.js → documentCapture-DMSLF9v9.js} +18 -16
  32. package/dist/dropdownComposed-D0FWhFQs.js +1 -0
  33. package/dist/{dropdownComposed-kRViL6gh.js → dropdownComposed-DaUoD37b.js} +3 -3
  34. package/dist/dynamic-forms/dynamic-forms.es.js +11 -11
  35. package/dist/ekyb/ekyb.es.js +1 -1
  36. package/dist/{ekybModule-BYH9t2ks.js → ekybModule-DIGcjN-y.js} +13 -13
  37. package/dist/ekybModule-IWxyEVab.js +2 -0
  38. package/dist/ekyc/ekyc.es.js +1 -1
  39. package/dist/{ekycModule-BiXBeEtb.js → ekycModule-BNWNehQg.js} +14 -14
  40. package/dist/ekycModule-CBxbmZ6Y.js +2 -0
  41. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  42. package/dist/{electronic-signature-r3sb2FWZ.js → electronic-signature-DVgugL0I.js} +10 -10
  43. package/dist/email/email.es.js +8 -8
  44. package/dist/{emailInput-CJvvDx4n.js → emailInput-DD6d_ld_.js} +3 -3
  45. package/dist/{errorContent-Cbwz3myE.js → errorContent-BKLcmoP2.js} +5 -5
  46. package/dist/{expiredId-BXIW1Oix.js → expiredId-DPOYhhq-.js} +5 -5
  47. package/dist/extensibility.es.js +38 -36
  48. package/dist/face-match/face-match.es.js +1 -1
  49. package/dist/{faceMatch-ChjJwtHr.js → faceMatch-BKRfDV4W.js} +8 -7
  50. package/dist/faceMatch-DyzdCM-N.js +2 -0
  51. package/dist/field-comparison/field-comparison.es.js +1 -1
  52. package/dist/{fieldComparison-Dpa1MgxT.js → fieldComparison-BIAQq3nS.js} +8 -8
  53. package/dist/fieldComparison-CxKuy7e7.js +2 -0
  54. package/dist/{finalSuccessScreen-QCIRPhFg.js → finalSuccessScreen-CILqUdWj.js} +11 -11
  55. package/dist/fiscal-qr/fiscal-qr.es.js +13 -12
  56. package/dist/{flipAnimation-DVTFT-BK.js → flipAnimation-D1rfA-aI.js} +23 -21
  57. package/dist/flow/flow.es.js +9 -8
  58. package/dist/{formField-DpAYxeQG.js → formField-DZaKJSG8.js} +2 -2
  59. package/dist/geolocation/geolocation.es.js +8 -8
  60. package/dist/government-validation/government-validation.es.js +5 -4
  61. package/dist/{homeScreen-B19m9TTt.js → homeScreen-lJc_it8a.js} +6 -6
  62. package/dist/{icons-_6VTEfit.js → icons-B4OznCY6.js} +1 -1
  63. package/dist/id/id.es.js +57 -789
  64. package/dist/id-selfie-flow/id-selfie-flow.es.js +10 -9
  65. package/dist/id-verification/id-verification.es.js +4 -4
  66. package/dist/{idOcr-04INZ6fq.js → idOcr-G4qCXCOM.js} +12 -12
  67. package/dist/identity-reuse/identity-reuse.es.js +10 -10
  68. package/dist/{incode-logo-BtCRocJv.js → incode-logo-B6OX2NCN.js} +2 -2
  69. package/dist/{incodeComponent-QANeLUlt.js → incodeComponent-CjVV_W3-.js} +9 -80
  70. package/dist/{incodeModule-cyY6mFRn.js → incodeModule-CjLjhx0K.js} +3 -3
  71. package/dist/index.es.js +2 -2
  72. package/dist/inputComposed-CwBVOOrz.js +1 -0
  73. package/dist/{inputComposed-DzKSsmPB.js → inputComposed-DlQYLt7Y.js} +3 -3
  74. package/dist/{mandatoryConsent-CzlnC4Ah.js → mandatoryConsent-BYkWgl5y.js} +8 -7
  75. package/dist/{manualCaptureButton-B-BAsXJB.js → manualCaptureButton-BCVlezCD.js} +8 -8
  76. package/dist/{manualCaptureButton-BQ7aZcLr.js → manualCaptureButton-BsF4eBMy.js} +3 -3
  77. package/dist/{optionAccessibleLabel-DeU5avOo.js → optionAccessibleLabel-UWYELd-i.js} +5 -5
  78. package/dist/{otpInput-BEFA6mXF.js → otpInput-CFZwz0r0.js} +6 -6
  79. package/dist/{page-C_UpHKFE.js → page-DnP1DvsJ.js} +4 -4
  80. package/dist/{passwordInputComposed-CJyl2NVg.js → passwordInputComposed-WFKjeVpb.js} +4 -4
  81. package/dist/{pdf-E_z_l1RO.js → pdf-DROm8bn0.js} +1 -1
  82. package/dist/{pdfViewer-LHun_iJY.js → pdfViewer-d1nxJriP.js} +3 -3
  83. package/dist/pdfViewer-l-Z22DBC.js +2 -0
  84. package/dist/{permissions-BHF4eeRd.js → permissions-BiWEnrof.js} +11 -10
  85. package/dist/phone/phone.es.js +9 -9
  86. package/dist/{phoneInputComposed-Dfcs9ZZZ.js → phoneInputComposed-Dp0-RNom.js} +5 -5
  87. package/dist/{processing-DZDmNtKM.js → processing-BM7abVTy.js} +1 -1
  88. package/dist/progressBar-BwtCn5uA.js +27 -0
  89. package/dist/qe-signature/qe-signature.es.js +3 -3
  90. package/dist/radioGroupComposed-B7Nxw7GP.js +1 -0
  91. package/dist/{radioGroupComposed-yD-8Wwfy.js → radioGroupComposed-NSgSD_4D.js} +3 -3
  92. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +11 -10
  93. package/dist/{resendTimer-CTZVop2g.js → resendTimer-Di9YCtQu.js} +1 -1
  94. package/dist/{resolveApiKey-Bu5vntnL.js → resolveApiKey-Dg3Xxga5.js} +17 -17
  95. package/dist/{richText-Wa22Q12g.js → richText-aCnLd3j2.js} +2 -2
  96. package/dist/{sanitizeSvg-DrbBpYOU.js → sanitizeSvg-CLOEl_gT.js} +1 -1
  97. package/dist/selfie/selfie.es.js +7 -6
  98. package/dist/signature/signature.es.js +8 -8
  99. package/dist/{smsTabContent-BarTuY2J.js → smsTabContent-CSDI5ioJ.js} +6 -6
  100. package/dist/{spacer-BfI-BpuX.js → spacer-xp7U7Uam.js} +10 -10
  101. package/dist/{spinner-CjZANYaU.js → spinner-Bt3qTECs.js} +2 -2
  102. package/dist/{statusPage-CbGrKjvy.js → statusPage-IpZBocz3.js} +3 -3
  103. package/dist/transitionSpinner-CkOU14bX.js +76 -0
  104. package/dist/{tutorial-ROgBWYau.js → tutorial-d5MZuxD5.js} +11 -11
  105. package/dist/{typography-3kRNt19J.js → typography-Qjj-00qd.js} +1 -1
  106. package/dist/{uiConfig-BVawPHYQ.js → uiConfig-pqbLNAS2.js} +84 -84
  107. package/dist/{useCaptureHelpButton-Ggms_JQR.js → useCaptureHelpButton-A0kpHjZU.js} +7 -31
  108. package/dist/{verificationResult-Dmhbihmv.js → verificationResult-DKewl-ed.js} +6 -6
  109. package/dist/video-selfie/video-selfie.es.js +12 -11
  110. package/dist/watchlist/watchlist.es.js +6 -6
  111. package/dist/{watchlistForBusiness-Cmu1ccIm.js → watchlistForBusiness-CMHR-Tac.js} +9 -9
  112. package/dist/workflow/workflow.es.js +10 -9
  113. package/package.json +2 -2
  114. package/dist/cameraOverlay-AUOXgZH_.js +0 -2
  115. package/dist/dateInputComposed-Bv48QGtW.js +0 -1
  116. package/dist/documentCapture-Bw6o3N5U.js +0 -2
  117. package/dist/dropdownComposed-C3LsQJYO.js +0 -1
  118. package/dist/ekybModule-Nso6AY_7.js +0 -2
  119. package/dist/ekycModule-Dk0PUTOR.js +0 -2
  120. package/dist/faceMatch-BPma5hbz.js +0 -2
  121. package/dist/fieldComparison-CoaVtKdU.js +0 -2
  122. package/dist/inputComposed-DwA0fcJJ.js +0 -1
  123. package/dist/pdfViewer-BNjZW36Y.js +0 -2
  124. package/dist/radioGroupComposed-D1CUskMJ.js +0 -1
  125. /package/dist/{af-ZA-C-_3eKRh.js → af-ZA-faBEeM9S.js} +0 -0
  126. /package/dist/{aligndevicelottie-U-Shu4GY.js → aligndevicelottie-DHKTZF5e.js} +0 -0
  127. /package/dist/{am-DjH02XG7.js → am-iKLgTMnb.js} +0 -0
  128. /package/dist/{ar-AE-db28_YWO.js → ar-AE--JStW5uT.js} +0 -0
  129. /package/dist/{ar-DguXdhSn.js → ar-CIp2vY90.js} +0 -0
  130. /package/dist/{ar-EG-CVAjn38-.js → ar-EG-CN1AOBsu.js} +0 -0
  131. /package/dist/{az-DRAqfWxT.js → az-CnWGqi4l.js} +0 -0
  132. /package/dist/{back-horizontal-hint-BfnSvpyc.js → back-horizontal-hint-BEM9Dhrn.js} +0 -0
  133. /package/dist/{back-tutorial-BAjF7tU7.js → back-tutorial-DGppPidx.js} +0 -0
  134. /package/dist/{back-vertical-hint-zfKhFXl4.js → back-vertical-hint-H30G9BjS.js} +0 -0
  135. /package/dist/{backdevicelottie-BzDiNIm0.js → backdevicelottie-Dl0sBsqU.js} +0 -0
  136. /package/dist/{blurdevicelottie-DZiPbRRs.js → blurdevicelottie-ZmX2BIk0.js} +0 -0
  137. /package/dist/{bn-CaFiUO-T.js → bn-Cp2vvF6U.js} +0 -0
  138. /package/dist/{browser-ponyfill-B-RIaTjf.js → browser-ponyfill-DT11p-Ob.js} +0 -0
  139. /package/dist/{bs-C1E1IzuL.js → bs-BSejnr-3.js} +0 -0
  140. /package/dist/{ca-C-nZIV6r.js → ca-B78o5M8k.js} +0 -0
  141. /package/dist/{ceb-BYEdHha1.js → ceb-DxTd6_Xw.js} +0 -0
  142. /package/dist/{check-icon-5Oa1QKpT.js → check-icon-BpjpKqhJ.js} +0 -0
  143. /package/dist/{countryDefinitions-CNBB-gAl.js → countryDefinitions--cMU_Kz7.js} +0 -0
  144. /package/dist/{cs-CZ-CqkQoY9v.js → cs-CZ-DbGWGE1M.js} +0 -0
  145. /package/dist/{cs-K66AL2nm.js → cs-DbUJ0DwV.js} +0 -0
  146. /package/dist/{da-DK-CmNokl6m.js → da-DK-BhE3f1y3.js} +0 -0
  147. /package/dist/{de-B5irGB1J.js → de-BJGKXdMj.js} +0 -0
  148. /package/dist/{defineProperty-Dt62XeCZ.js → defineProperty-CjeJoXkx.js} +0 -0
  149. /package/dist/{el-d1Qf65Qe.js → el-DWV0xGwh.js} +0 -0
  150. /package/dist/{el-GR-B-7_wYBC.js → el-GR-nhQnncSQ.js} +0 -0
  151. /package/dist/{en-BS6eZ9KX.js → en-D42m-FwK.js} +0 -0
  152. /package/dist/{en-DG-8jsrqcM8.js → en-DG-Be7RphJQ.js} +0 -0
  153. /package/dist/{es-419-C8-PU2yj.js → es-419-vjldAAlV.js} +0 -0
  154. /package/dist/{es-RbBW5VwS.js → es-BsTR9Y49.js} +0 -0
  155. /package/dist/{es-ES-6MWylkRc.js → es-ES-BbojzoA2.js} +0 -0
  156. /package/dist/{es-MX-CmQu8YbY.js → es-MX-BW_Irc-7.js} +0 -0
  157. /package/dist/{et-I7gGeXbB.js → et-DZM0zBuf.js} +0 -0
  158. /package/dist/{fa-IR-CmuNxJHB.js → fa-IR-uN36ZsC4.js} +0 -0
  159. /package/dist/{fi-FI-f0UP5Wr8.js → fi-FI-C4z-2KQx.js} +0 -0
  160. /package/dist/{fieldLabelHint-DX9HLqgU.js → fieldLabelHint-CxjArYkQ.js} +0 -0
  161. /package/dist/{flip-animation-KDIQmzzD.js → flip-animation-BIkBJX6p.js} +0 -0
  162. /package/dist/{fr-SGRS_j42.js → fr-BiYnfGA2.js} +0 -0
  163. /package/dist/{fr-CA-Cs5Gfwqy.js → fr-CA-DobgBuKN.js} +0 -0
  164. /package/dist/{front-horizontal-hint-DiW6UNZ_.js → front-horizontal-hint-Be--Id5l.js} +0 -0
  165. /package/dist/{front-vertical-hint-BdTlZlIZ.js → front-vertical-hint-yGppU-_1.js} +0 -0
  166. /package/dist/{frontdevicelottie-D6Ys_ds6.js → frontdevicelottie-DQD4kEOR.js} +0 -0
  167. /package/dist/{glaredevicelottie-DkOsBAxz.js → glaredevicelottie-DT8y84py.js} +0 -0
  168. /package/dist/{he-Dlp1xKXy.js → he-D43wA5zx.js} +0 -0
  169. /package/dist/{hi-7cH9Nja3.js → hi-DRnaHqSq.js} +0 -0
  170. /package/dist/{hmn-2CoM7QdT.js → hmn-Do8i75hh.js} +0 -0
  171. /package/dist/{hr-CUVnFBo1.js → hr-D7-iiHjh.js} +0 -0
  172. /package/dist/{ht-6QvYnBe9.js → ht-CDg-AWC9.js} +0 -0
  173. /package/dist/{hu-CIzMuMqL.js → hu-CdSZZvSE.js} +0 -0
  174. /package/dist/{id-back-of-card-BVbN_br0.js → id-back-of-card-C7Au2tqk.js} +0 -0
  175. /package/dist/{id-back-of-card-vertical-C-81FvYX.js → id-back-of-card-vertical-CtQBFw8w.js} +0 -0
  176. /package/dist/{id-front-of-card-BX3Rq1wf.js → id-front-of-card-BmHL_keG.js} +0 -0
  177. /package/dist/{id-front-of-card-vertical-CnFszInA.js → id-front-of-card-vertical-DkNUn2Vx.js} +0 -0
  178. /package/dist/{id-laser-h-lIUBPfpO.js → id-laser-h-CZ_EhoMe.js} +0 -0
  179. /package/dist/{id-laser-v-CB3nhZzO.js → id-laser-v-Dg6Huksl.js} +0 -0
  180. /package/dist/{id-Cvqsv1I2.js → id-nSghTb31.js} +0 -0
  181. /package/dist/{id-tutorial-nqSjZ-Ow.js → id-tutorial-DXQVBoFu.js} +0 -0
  182. /package/dist/{it-B45lh9uc.js → it-DpauieUc.js} +0 -0
  183. /package/dist/{ja-kCIsGfj0.js → ja-D1Gmisd3.js} +0 -0
  184. /package/dist/{ja-JP-bfq4l43N.js → ja-JP-DV2GXW7I.js} +0 -0
  185. /package/dist/{jv-BGBPjzdK.js → jv-Bi3OYRAF.js} +0 -0
  186. /package/dist/{ka-Cvx8tYTg.js → ka-BWAI69mP.js} +0 -0
  187. /package/dist/{kk-xKdENjqI.js → kk-CaA0FX8p.js} +0 -0
  188. /package/dist/{km-B5sYprTl.js → km-CC2KNIy9.js} +0 -0
  189. /package/dist/{ko-DK4bEG9Q.js → ko-BHIAloc-.js} +0 -0
  190. /package/dist/{ko-KP-C0gg7om6.js → ko-KP-CT97V7Cq.js} +0 -0
  191. /package/dist/{ky-C6p1EGPH.js → ky-C0m3BMmG.js} +0 -0
  192. /package/dist/{lo-BPGDr7HV.js → lo-CSNG7pmM.js} +0 -0
  193. /package/dist/{lottie_light-tcR9LRvi.js → lottie_light-CqGqwsMf.js} +0 -0
  194. /package/dist/{lt-Bp9BKbb1.js → lt-Dua1guLS.js} +0 -0
  195. /package/dist/{lv-BD5xMeml.js → lv-DAm64K4f.js} +0 -0
  196. /package/dist/{mk-Dk5pZkAs.js → mk-DHQ8916F.js} +0 -0
  197. /package/dist/{mn-CU6SL_ZN.js → mn-CXE7VTM7.js} +0 -0
  198. /package/dist/{ms-Dw1Sy1U2.js → ms-CMEDTB_R.js} +0 -0
  199. /package/dist/{my-DzAx5-o7.js → my-DPzDayOV.js} +0 -0
  200. /package/dist/{nb-NO-CjyUvje0.js → nb-NO-vogwvY9P.js} +0 -0
  201. /package/dist/{ne-Bqal3tll.js → ne-D_qsftEX.js} +0 -0
  202. /package/dist/{nl-CmdddJFP.js → nl-453XF5yl.js} +0 -0
  203. /package/dist/{numberedStep-CCRf2XVR.js → numberedStep-CWKgVkGl.js} +0 -0
  204. /package/dist/{passport-horizontal-hint-DmOFbl98.js → passport-horizontal-hint-Cy_fZ-M1.js} +0 -0
  205. /package/dist/{passport-tutorial-86YJHWln.js → passport-tutorial-BdFqc7sl.js} +0 -0
  206. /package/dist/{passport-vertical-hint-D-PRNOBh.js → passport-vertical-hint-tVVhPnkR.js} +0 -0
  207. /package/dist/{pdf.worker.min-B7S9B4HP.js → pdf.worker.min-DvTIgyJP.js} +0 -0
  208. /package/dist/{pl-DDzlDWO9.js → pl-_MTa5VQR.js} +0 -0
  209. /package/dist/{policyUrls-Dslljmyd.js → policyUrls-B3M8nLRh.js} +0 -0
  210. /package/dist/{pt-BR-CZqkoJED.js → pt-BR-BM6cVfEQ.js} +0 -0
  211. /package/dist/{pt-_fd-NIZc.js → pt-DiYjzy4_.js} +0 -0
  212. /package/dist/{pt-PT-DDKl_cUA.js → pt-PT-DF1z_hER.js} +0 -0
  213. /package/dist/{purify.es-mwpTupj-.js → purify.es-0fCPkEV1.js} +0 -0
  214. /package/dist/{registerIncodeElement-CbZczi4S.js → registerIncodeElement-D_cn4dSI.js} +0 -0
  215. /package/dist/{reload-icon-DEni5hZR.js → reload-icon-elAFo9-k.js} +0 -0
  216. /package/dist/{ro-DN7CYBic.js → ro-kJXGLS-P.js} +0 -0
  217. /package/dist/{ru-wOyrd7AG.js → ru-DqTfU-46.js} +0 -0
  218. /package/dist/{ru-RU-1ZcDUwFu.js → ru-RU-y2TIR-xv.js} +0 -0
  219. /package/dist/{selfieTutorial-fYdcb9Cm.js → selfieTutorial-Ce542llv.js} +0 -0
  220. /package/dist/{sk-l9Wx9r3N.js → sk-C3Orn9hJ.js} +0 -0
  221. /package/dist/{sl-DTztNnug.js → sl-B3fGui4p.js} +0 -0
  222. /package/dist/{so-B2F-tcgF.js → so-5emne32A.js} +0 -0
  223. /package/dist/{sr-u4XPScYi.js → sr-DOQr6V9F.js} +0 -0
  224. /package/dist/{sr-Latn-CfDQEKi-.js → sr-Latn-CefmBi1o.js} +0 -0
  225. /package/dist/{sr-YU-CZ8XaLw1.js → sr-YU-DqIIUOLa.js} +0 -0
  226. /package/dist/{sv-SE-CoOKoaXG.js → sv-SE-D5sOS6GR.js} +0 -0
  227. /package/dist/{sw-Dy_IyHsy.js → sw-BzXDeduG.js} +0 -0
  228. /package/dist/{th-lkFALIlj.js → th-Dgg7wOp4.js} +0 -0
  229. /package/dist/{th-TH-D-KzGcvg.js → th-TH-DGQZ2-Q7.js} +0 -0
  230. /package/dist/{tl-xTes1aIP.js → tl-CcnOk1Kp.js} +0 -0
  231. /package/dist/{tl-PH-DVWv_xhM.js → tl-PH-KIfzxjNr.js} +0 -0
  232. /package/dist/{tr-Bg5F1BvX.js → tr-D8zock29.js} +0 -0
  233. /package/dist/{uk-Cn6a2ex9.js → uk-D_4g75wV.js} +0 -0
  234. /package/dist/{uk-UA-BSzcymzk.js → uk-UA-Bf6DlE-r.js} +0 -0
  235. /package/dist/{ur-mG3HPRqx.js → ur-DKrvlRkx.js} +0 -0
  236. /package/dist/{useCoverMedia-Zla_lqcT.js → useCoverMedia-VLw3OYN_.js} +0 -0
  237. /package/dist/{useModuleLoader-Byr5mQQz.js → useModuleLoader-BdIp6TNQ.js} +0 -0
  238. /package/dist/{uz-D3QAm_ol.js → uz-WVxbVnRt.js} +0 -0
  239. /package/dist/{vi-DyEkVXjf.js → vi-BMktExyx.js} +0 -0
  240. /package/dist/{zh-DNkiIPVA.js → zh-B23JHMmc.js} +0 -0
  241. /package/dist/{zh-CN-C_ilPajF.js → zh-CN-CcUlzSGT.js} +0 -0
  242. /package/dist/{zh-HANT-UfSTRy_t.js → zh-HANT-pDdNoXqG.js} +0 -0
  243. /package/dist/{zh-TW-BYv0JiER.js → zh-TW-DQGVGo9y.js} +0 -0
@@ -0,0 +1,132 @@
1
+ import { o as useTranslation } from "./uiConfig-pqbLNAS2.js";
2
+ import { _ as y, v as u } from "./vendor-preact-C0jX1Cbq.js";
3
+ import { t as TransitionSpinner } from "./transitionSpinner-CkOU14bX.js";
4
+ import { t as VerificationResult } from "./verificationResult-DKewl-ed.js";
5
+ //#region src/modules/id/digitalIdRedirect/failureScreen.tsx
6
+ /**
7
+ * Failure screen for the digital-ID web-redirect (Trinsic iDIN/FTN). Renders the
8
+ * shared `VerificationResult` (same look as ekyc/ekyb) with the module's own
9
+ * per-reason copy. Copy is i18nexus-keyed under
10
+ * `idv2.digitalIdRedirect.failureScreen.*` (add EN, plus NL for iDIN and FI/SV
11
+ * for FTN, in i18nexus). Failure is non-blocking: retry (new session/billing
12
+ * event) or use another method (back to the ID-Capture chooser).
13
+ *
14
+ * The nine `failureReason`s collapse into six copy groups; keys are written as
15
+ * static literals so i18nexus can extract them. A translator can split a group
16
+ * into per-reason copy later without a code change.
17
+ */
18
+ var COPY_KEYS = {
19
+ USER_CANCELED: {
20
+ title: "idv2.digitalIdRedirect.failureScreen.canceled.title",
21
+ subtitle: "idv2.digitalIdRedirect.failureScreen.canceled.subtitle"
22
+ },
23
+ RP_CANCELED: {
24
+ title: "idv2.digitalIdRedirect.failureScreen.canceled.title",
25
+ subtitle: "idv2.digitalIdRedirect.failureScreen.canceled.subtitle"
26
+ },
27
+ AUTHENTICATION_FAILED: {
28
+ title: "idv2.digitalIdRedirect.failureScreen.authenticationFailed.title",
29
+ subtitle: "idv2.digitalIdRedirect.failureScreen.authenticationFailed.subtitle"
30
+ },
31
+ VERIFICATION_FAILED: {
32
+ title: "idv2.digitalIdRedirect.failureScreen.verificationFailed.title",
33
+ subtitle: "idv2.digitalIdRedirect.failureScreen.verificationFailed.subtitle"
34
+ },
35
+ SESSION_EXPIRED: {
36
+ title: "idv2.digitalIdRedirect.failureScreen.sessionExpired.title",
37
+ subtitle: "idv2.digitalIdRedirect.failureScreen.sessionExpired.subtitle"
38
+ },
39
+ SESSION_TOKEN_EXPIRED: {
40
+ title: "idv2.digitalIdRedirect.failureScreen.sessionExpired.title",
41
+ subtitle: "idv2.digitalIdRedirect.failureScreen.sessionExpired.subtitle"
42
+ },
43
+ PROVIDER_INTERNAL_ERROR: {
44
+ title: "idv2.digitalIdRedirect.failureScreen.technicalError.title",
45
+ subtitle: "idv2.digitalIdRedirect.failureScreen.technicalError.subtitle"
46
+ },
47
+ RESULTS_EXCHANGE_FAILED: {
48
+ title: "idv2.digitalIdRedirect.failureScreen.technicalError.title",
49
+ subtitle: "idv2.digitalIdRedirect.failureScreen.technicalError.subtitle"
50
+ },
51
+ INVALID_REDIRECT_RESULT: {
52
+ title: "idv2.digitalIdRedirect.failureScreen.technicalError.title",
53
+ subtitle: "idv2.digitalIdRedirect.failureScreen.technicalError.subtitle"
54
+ }
55
+ };
56
+ var GENERIC_KEYS = {
57
+ title: "idv2.digitalIdRedirect.failureScreen.generic.title",
58
+ subtitle: "idv2.digitalIdRedirect.failureScreen.generic.subtitle"
59
+ };
60
+ var FailureScreen = ({ failureReason, onRetry, onUseAnotherMethod }) => {
61
+ const { t } = useTranslation();
62
+ const copy = failureReason ? COPY_KEYS[failureReason] : GENERIC_KEYS;
63
+ return /* @__PURE__ */ u(VerificationResult, {
64
+ status: "failure",
65
+ failureTitle: t(copy.title),
66
+ errorMessage: t(copy.subtitle),
67
+ onRetry,
68
+ retryLabel: t("common.tryAgain"),
69
+ onSkip: onUseAnotherMethod,
70
+ skipLabel: t("idv2.digitalIdRedirect.failureScreen.useAnotherMethod")
71
+ });
72
+ };
73
+ //#endregion
74
+ //#region src/modules/id/digitalIdRedirect/redirectingScreen.tsx
75
+ /**
76
+ * Performs the full-page redirect out to the identity provider (bank login).
77
+ * Full-page navigation lives in L2, so core stays window-free. The pending
78
+ * verificationId was already persisted by the core child machine (its
79
+ * `persisting` state) before this screen renders, so the return leg can recover
80
+ * it from storage after the reload.
81
+ */
82
+ var RedirectingScreen = ({ launchUrl }) => {
83
+ y(() => {
84
+ if (launchUrl && launchUrl.startsWith("https://")) window.location.assign(launchUrl);
85
+ }, [launchUrl]);
86
+ return /* @__PURE__ */ u(TransitionSpinner, { hideText: true });
87
+ };
88
+ //#endregion
89
+ //#region src/modules/id/digitalIdRedirect/successScreen.tsx
90
+ /**
91
+ * Success confirmation for the digital-ID web-redirect (Trinsic iDIN/FTN).
92
+ * Renders the shared `VerificationResult` (same look as ekyc/ekyb) with a manual
93
+ * Continue action — the child machine parks in `succeeded` until the user
94
+ * acknowledges, so the flow does not silently skip past the result.
95
+ *
96
+ * Copy is i18nexus-keyed under `idv2.digitalIdRedirect.successScreen.*`
97
+ * (add EN, plus NL for iDIN and FI/SV for FTN, in i18nexus).
98
+ */
99
+ var SuccessScreen = ({ onContinue }) => {
100
+ const { t } = useTranslation();
101
+ return /* @__PURE__ */ u(VerificationResult, {
102
+ status: "success",
103
+ successTitle: t("idv2.digitalIdRedirect.successScreen.title"),
104
+ successSubtitle: t("idv2.digitalIdRedirect.successScreen.subtitle"),
105
+ onContinue,
106
+ continueLabel: t("idv2.digitalIdRedirect.successScreen.continue")
107
+ });
108
+ };
109
+ //#endregion
110
+ //#region src/modules/id/digitalIdRedirect/digitalIdRedirect.tsx
111
+ /**
112
+ * Digital ID web-redirect (Trinsic iDIN/FTN) rendered INSIDE ID-Capture as a
113
+ * child machine — mirrors `digitalIdUpload/digitalIdUpload.tsx`. The core child
114
+ * owns create → persist → redirect (and, on the return leg, submit → poll); this
115
+ * layer only renders the phase and performs the full-page navigation.
116
+ */
117
+ var DigitalIdRedirect = ({ manager, state }) => {
118
+ if (state.phase === "redirecting") return /* @__PURE__ */ u(RedirectingScreen, { launchUrl: state.launchUrl ?? "" });
119
+ if (state.phase === "success") return /* @__PURE__ */ u(SuccessScreen, { onContinue: () => manager.digitalIdRedirectContinue() });
120
+ if (state.phase === "failed") return /* @__PURE__ */ u(FailureScreen, {
121
+ failureReason: state.failureReason,
122
+ onRetry: () => manager.digitalIdRedirectRetry(),
123
+ onUseAnotherMethod: () => manager.digitalIdRedirectUseAnotherMethod()
124
+ });
125
+ if (state.phase === "error") return /* @__PURE__ */ u(FailureScreen, {
126
+ onRetry: () => manager.digitalIdRedirectRetry(),
127
+ onUseAnotherMethod: () => manager.digitalIdRedirectUseAnotherMethod()
128
+ });
129
+ return /* @__PURE__ */ u(TransitionSpinner, { hideText: true });
130
+ };
131
+ //#endregion
132
+ export { DigitalIdRedirect };
@@ -0,0 +1,496 @@
1
+ import { o as useTranslation } from "./uiConfig-pqbLNAS2.js";
2
+ import { _ as y, c as A, u as T, v as u } from "./vendor-preact-C0jX1Cbq.js";
3
+ import { r as AnimatedAsset, s as Asset } from "./spacer-xp7U7Uam.js";
4
+ import { b as ErrorIcon, r as SuccessIcon, x as Button } from "./icons-B4OznCY6.js";
5
+ import { t as Page } from "./page-DnP1DvsJ.js";
6
+ import { t as ProgressBar } from "./progressBar-BwtCn5uA.js";
7
+ import { t as PdfViewer } from "./pdfViewer-d1nxJriP.js";
8
+ //#region src/modules/id/digitalIdUpload/useFilePreviewUrl.ts
9
+ /**
10
+ * Produces a stable object-URL for the given file and revokes it on cleanup
11
+ * (or whenever the file changes). Returns `null` when no file is provided.
12
+ *
13
+ * Centralizes the `URL.createObjectURL` / `URL.revokeObjectURL` lifecycle
14
+ * that every preview screen in the digital ID upload flow needs.
15
+ */
16
+ function useFilePreviewUrl(file) {
17
+ const fileUrl = T(() => {
18
+ if (!file) return null;
19
+ return URL.createObjectURL(file);
20
+ }, [file]);
21
+ y(() => {
22
+ return () => {
23
+ if (fileUrl) URL.revokeObjectURL(fileUrl);
24
+ };
25
+ }, [fileUrl]);
26
+ return fileUrl;
27
+ }
28
+ //#endregion
29
+ //#region src/modules/id/digitalIdUpload/analyzingScreen.tsx
30
+ var AnalyzingScreen = ({ state }) => {
31
+ const { t } = useTranslation();
32
+ const fileUrl = useFilePreviewUrl(state.file);
33
+ const isUploading = state.phase === "uploading";
34
+ const statusLabel = isUploading ? t("idv2.digitalIdUpload.analyzing") : t("idv2.digitalIdUpload.successfullyProcessed");
35
+ return /* @__PURE__ */ u(Page, {
36
+ title: statusLabel,
37
+ titleId: "digitalIdUploadStatusTitle",
38
+ subtitle: isUploading ? void 0 : t("idv2.digitalIdUpload.screenDescription"),
39
+ className: "IncodeDigitalIdUploadPage",
40
+ "data-testid": "digital-id-upload-analyzing",
41
+ children: [
42
+ /* @__PURE__ */ u("div", {
43
+ role: "status",
44
+ "aria-live": "polite",
45
+ class: "IncodeSrOnly",
46
+ children: statusLabel
47
+ }),
48
+ /* @__PURE__ */ u("div", {
49
+ class: "IncodeDigitalIdUploadPreviewBody",
50
+ "aria-busy": isUploading,
51
+ children: [
52
+ /* @__PURE__ */ u("div", {
53
+ class: "IncodeDigitalIdUploadPreStatusZone",
54
+ children: isUploading ? /* @__PURE__ */ u(ProgressBar, {
55
+ progress: state.uploadProgress,
56
+ labelledById: "digitalIdUploadStatusTitle",
57
+ className: "IncodeDigitalIdUploadProgressBar"
58
+ }) : null
59
+ }),
60
+ /* @__PURE__ */ u("div", {
61
+ class: "IncodeDigitalIdUploadDocumentPreview",
62
+ "aria-hidden": "true",
63
+ children: [fileUrl ? /* @__PURE__ */ u(PdfViewer, {
64
+ url: fileUrl,
65
+ mode: "thumbnail",
66
+ className: "IncodeDigitalIdUploadDocumentPreviewPdf"
67
+ }) : null, /* @__PURE__ */ u("div", {
68
+ class: "IncodeDigitalIdUploadLaserOverlay",
69
+ children: /* @__PURE__ */ u(AnimatedAsset, {
70
+ name: "id.processing",
71
+ orientation: "vertical",
72
+ loop: true,
73
+ autoStop: true
74
+ })
75
+ })]
76
+ }),
77
+ /* @__PURE__ */ u("div", {
78
+ class: "IncodeDigitalIdUploadPostCaptionZone",
79
+ "aria-hidden": "true"
80
+ })
81
+ ]
82
+ }),
83
+ /* @__PURE__ */ u("div", {
84
+ class: "IncodeDigitalIdUploadFooter",
85
+ "aria-hidden": "true"
86
+ })
87
+ ]
88
+ });
89
+ };
90
+ //#endregion
91
+ //#region src/modules/id/digitalIdUpload/errorScreen.tsx
92
+ var TERMINAL_REASONS = new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
93
+ var KEY_BY_FAIL_REASON = {
94
+ DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED: "idv2.digitalIdUpload.errorScreen.thisIdMustBeScanned",
95
+ ID_TYPE_UNACCEPTABLE: "idv2.digitalIdUpload.wrongDocumentTypeScreen.errorTitle",
96
+ FILE_CHANGED_ERROR: "idv2.digitalIdUpload.unknownDocumentTypeScreen.errorTitle",
97
+ INVALID_FILE_TYPE: "idv2.digitalIdUpload.unknownDocumentTypeScreen.errorTitle",
98
+ NETWORK_ERROR: "idv2.digitalIdUpload.unknownDocumentTypeScreen.errorTitle",
99
+ GENERIC: "idv2.digitalIdUpload.unknownDocumentTypeScreen.errorTitle"
100
+ };
101
+ var ErrorScreen = ({ manager, state }) => {
102
+ const { t } = useTranslation();
103
+ const failReason = state.failReason ?? "GENERIC";
104
+ const isTerminal = state.phase === "exhausted" || TERMINAL_REASONS.has(failReason);
105
+ const fileUrl = useFilePreviewUrl(state.file);
106
+ return /* @__PURE__ */ u(Page, {
107
+ title: t(KEY_BY_FAIL_REASON[failReason] ?? KEY_BY_FAIL_REASON.GENERIC),
108
+ subtitle: t("idv2.digitalIdUpload.errorScreen.pleaseTryScanning"),
109
+ className: "IncodeDigitalIdUploadPage",
110
+ "data-testid": "digital-id-upload-error",
111
+ children: [/* @__PURE__ */ u("div", {
112
+ class: "IncodeDigitalIdUploadBody",
113
+ children: [
114
+ /* @__PURE__ */ u("div", {
115
+ class: "IncodeDigitalIdUploadErrorIcon",
116
+ "aria-hidden": "true",
117
+ children: /* @__PURE__ */ u(ErrorIcon, { size: 40 })
118
+ }),
119
+ fileUrl ? /* @__PURE__ */ u("div", {
120
+ class: "IncodeDigitalIdUploadErrorPreview",
121
+ children: /* @__PURE__ */ u(PdfViewer, {
122
+ url: fileUrl,
123
+ mode: "thumbnail",
124
+ "aria-label": t("idv2.digitalIdUpload.errorScreen.previewAriaLabel"),
125
+ className: "IncodeDigitalIdUploadPreviewPdf"
126
+ })
127
+ }) : null,
128
+ !isTerminal && state.attemptsRemaining > 0 ? /* @__PURE__ */ u("p", {
129
+ class: "IncodeDigitalIdUploadAttempts",
130
+ children: t("common.attemptsRemaining", { count: state.attemptsRemaining })
131
+ }) : null
132
+ ]
133
+ }), /* @__PURE__ */ u("div", {
134
+ class: "IncodeDigitalIdUploadFooter",
135
+ children: [!isTerminal ? /* @__PURE__ */ u(Button, {
136
+ onClick: () => manager.digitalUploadRetry(),
137
+ children: t("common.tryAgain")
138
+ }) : null, /* @__PURE__ */ u(Button, {
139
+ variant: isTerminal ? "primary" : "secondary",
140
+ onClick: () => manager.digitalUploadScanInstead(),
141
+ children: t("idv2.digitalIdUpload.errorScreen.scanId")
142
+ })]
143
+ })]
144
+ });
145
+ };
146
+ //#endregion
147
+ //#region src/modules/id/digitalIdUpload/fileReviewScreen.tsx
148
+ var FileReviewScreen = ({ manager, state }) => {
149
+ const { t } = useTranslation();
150
+ const fileInputRef = A(null);
151
+ const fileUrl = useFilePreviewUrl(state.file);
152
+ const onFileSelect = (event) => {
153
+ const file = event.currentTarget.files?.[0];
154
+ if (!file) return;
155
+ manager.digitalUploadPickFile(file);
156
+ };
157
+ return /* @__PURE__ */ u(Page, {
158
+ title: t("idv2.digitalIdUpload.reviewScreen.title"),
159
+ subtitle: t("idv2.digitalIdUpload.reviewScreen.description"),
160
+ className: "IncodeDigitalIdUploadPage",
161
+ "data-testid": "digital-id-upload-review",
162
+ children: [/* @__PURE__ */ u("div", {
163
+ class: "IncodeDigitalIdUploadPreviewBody",
164
+ children: [
165
+ /* @__PURE__ */ u("input", {
166
+ ref: fileInputRef,
167
+ type: "file",
168
+ accept: "application/pdf",
169
+ onChange: onFileSelect,
170
+ class: "IncodeDigitalIdUploadHiddenInput",
171
+ tabIndex: -1,
172
+ "aria-hidden": "true"
173
+ }),
174
+ /* @__PURE__ */ u("div", {
175
+ class: "IncodeDigitalIdUploadPreStatusZone",
176
+ "aria-hidden": "true"
177
+ }),
178
+ /* @__PURE__ */ u("div", {
179
+ class: "IncodeDigitalIdUploadPreviewCard",
180
+ children: fileUrl ? /* @__PURE__ */ u(PdfViewer, {
181
+ url: fileUrl,
182
+ mode: "thumbnail",
183
+ "aria-label": t("idv2.digitalIdUpload.reviewScreen.previewAriaLabel"),
184
+ className: "IncodeDigitalIdUploadPreviewPdf"
185
+ }) : null
186
+ }),
187
+ /* @__PURE__ */ u("div", {
188
+ class: "IncodeDigitalIdUploadPostCaptionZone",
189
+ children: state.fileName ? /* @__PURE__ */ u("p", {
190
+ class: "IncodeDigitalIdUploadFileName",
191
+ children: state.fileName
192
+ }) : null
193
+ })
194
+ ]
195
+ }), /* @__PURE__ */ u("div", {
196
+ class: "IncodeDigitalIdUploadFooter",
197
+ children: [/* @__PURE__ */ u(Button, {
198
+ onClick: () => manager.digitalUploadConfirm(),
199
+ children: t("idv2.digitalIdUpload.reviewScreen.continue")
200
+ }), /* @__PURE__ */ u(Button, {
201
+ variant: "secondary",
202
+ "aria-haspopup": "dialog",
203
+ onClick: () => {
204
+ manager.digitalUploadReplace();
205
+ fileInputRef.current?.click();
206
+ },
207
+ children: t("idv2.digitalIdUpload.reviewScreen.replaceButton")
208
+ })]
209
+ })]
210
+ });
211
+ };
212
+ //#endregion
213
+ //#region src/modules/id/assets/upload-id-screen-image.svg?react
214
+ var SvgUploadIdScreenImage = (props) => /* @__PURE__ */ u("svg", {
215
+ xmlns: "http://www.w3.org/2000/svg",
216
+ fill: "none",
217
+ "aria-hidden": "true",
218
+ className: "IncodeUploadIdScreenImage",
219
+ viewBox: "0 0 191 266",
220
+ ...props,
221
+ children: [
222
+ /* @__PURE__ */ u("title", { children: "Upload ID Screen Image" }),
223
+ /* @__PURE__ */ u("path", {
224
+ fill: "var(--digital-id-illustration-surface, #FFFFFF)",
225
+ d: "M17.5 11.172A7.17 7.17 0 0 1 24.672 4h141.656a7.17 7.17 0 0 1 7.172 7.172v216.966a7.17 7.17 0 0 1-7.172 7.172H24.672a7.17 7.17 0 0 1-7.172-7.172z"
226
+ }),
227
+ /* @__PURE__ */ u("path", {
228
+ fill: "var(--digital-id-illustration-strip, #EBECEF)",
229
+ d: "M17.5 16.552h156v10.759h-156z"
230
+ }),
231
+ /* @__PURE__ */ u("rect", {
232
+ width: 68.138,
233
+ height: 83.379,
234
+ x: 98.189,
235
+ y: 35.38,
236
+ fill: "var(--digital-id-illustration-photo, #F0F6FF)",
237
+ rx: 7.172
238
+ }),
239
+ /* @__PURE__ */ u("path", {
240
+ fill: "var(--digital-id-illustration-accent, var(--icon-brand-500-static, #006AFF))",
241
+ fillRule: "evenodd",
242
+ d: "M124.391 67.59c0 1.135-.922 2.06-2.06 2.06h-7.378a2.063 2.063 0 0 1-2.06-2.06v-7.378c0-1.138.925-2.06 2.06-2.06h7.378a2.06 2.06 0 0 1 2.06 2.06zm-2.06-14.28h-7.378a6.91 6.91 0 0 0-6.901 6.902v7.378a6.91 6.91 0 0 0 6.901 6.9h7.378a6.91 6.91 0 0 0 6.901-6.9v-7.378a6.91 6.91 0 0 0-6.901-6.902",
243
+ clipRule: "evenodd"
244
+ }),
245
+ /* @__PURE__ */ u("path", {
246
+ fill: "var(--digital-id-illustration-accent, var(--icon-brand-500-static, #006AFF))",
247
+ fillRule: "evenodd",
248
+ d: "M118.643 61.495a2.434 2.434 0 0 0-2.42 2.435 2.421 2.421 0 0 0 4.841 0v-.029a2.41 2.41 0 0 0-2.421-2.406m0 27.23a2.434 2.434 0 0 0-2.42 2.435 2.421 2.421 0 0 0 4.841 0v-.03a2.41 2.41 0 0 0-2.421-2.405",
249
+ clipRule: "evenodd"
250
+ }),
251
+ /* @__PURE__ */ u("path", {
252
+ fill: "var(--digital-id-illustration-accent, var(--icon-brand-500-static, #006AFF))",
253
+ fillRule: "evenodd",
254
+ d: "M124.391 94.822c0 1.135-.922 2.06-2.06 2.06h-7.378a2.063 2.063 0 0 1-2.06-2.06v-7.378c0-1.138.925-2.06 2.06-2.06h7.378a2.06 2.06 0 0 1 2.06 2.06zm-2.06-14.279h-7.378a6.91 6.91 0 0 0-6.901 6.901v7.378a6.91 6.91 0 0 0 6.901 6.901h7.378a6.91 6.91 0 0 0 6.901-6.9v-7.379a6.91 6.91 0 0 0-6.901-6.901m29.292 14.279c0 1.135-.922 2.06-2.06 2.06h-7.378a2.063 2.063 0 0 1-2.06-2.06v-7.378c0-1.138.925-2.06 2.06-2.06h7.378a2.06 2.06 0 0 1 2.06 2.06zm-2.06-14.279h-7.378a6.91 6.91 0 0 0-6.901 6.901v7.378a6.91 6.91 0 0 0 6.901 6.901h7.378a6.91 6.91 0 0 0 6.902-6.9v-7.379a6.91 6.91 0 0 0-6.902-6.901",
255
+ clipRule: "evenodd"
256
+ }),
257
+ /* @__PURE__ */ u("path", {
258
+ fill: "var(--digital-id-illustration-accent, var(--icon-brand-500-static, #006AFF))",
259
+ fillRule: "evenodd",
260
+ d: "M145.876 88.683a2.42 2.42 0 0 0-2.421 2.42v.027a2.41 2.41 0 0 0 2.421 2.406 2.43 2.43 0 0 0 2.42-2.433 2.42 2.42 0 0 0-2.42-2.42m-8.171-30.503a2.42 2.42 0 0 0 2.42-2.42v-.03a2.41 2.41 0 0 0-2.42-2.406 2.434 2.434 0 0 0-2.421 2.435 2.42 2.42 0 0 0 2.421 2.421m12.782-4.87h-4.611a2.42 2.42 0 1 0 0 4.842h4.611c.627 0 1.138.51 1.138 1.14V63.9a2.42 2.42 0 1 0 4.841 0v-4.61a5.986 5.986 0 0 0-5.979-5.98m3.558 16.341h-8.169a2.42 2.42 0 0 0-2.421 2.421 2.42 2.42 0 0 0 2.421 2.42h8.169a2.42 2.42 0 0 0 2.421-2.42 2.42 2.42 0 0 0-2.421-2.42m-16.34 4.84a2.42 2.42 0 0 0 2.42-2.42V67.46a1.14 1.14 0 0 1 1.141-1.137h4.608a2.421 2.421 0 0 0 0-4.842h-4.608a5.986 5.986 0 0 0-5.982 5.98v4.61a2.42 2.42 0 0 0 2.421 2.421",
261
+ clipRule: "evenodd"
262
+ }),
263
+ /* @__PURE__ */ u("rect", {
264
+ width: 54.69,
265
+ height: 10.759,
266
+ x: 29.155,
267
+ y: 134,
268
+ fill: "var(--digital-id-illustration-strip, #EBECEF)",
269
+ rx: 3.586
270
+ }),
271
+ /* @__PURE__ */ u("rect", {
272
+ width: 54.69,
273
+ height: 10.759,
274
+ x: 29.155,
275
+ y: 152.828,
276
+ fill: "var(--digital-id-illustration-strip, #EBECEF)",
277
+ rx: 3.586
278
+ }),
279
+ /* @__PURE__ */ u("rect", {
280
+ width: 72.621,
281
+ height: 10.759,
282
+ x: 29.155,
283
+ y: 171.655,
284
+ fill: "var(--digital-id-illustration-strip, #EBECEF)",
285
+ rx: 3.586
286
+ }),
287
+ /* @__PURE__ */ u("path", {
288
+ stroke: "var(--digital-id-illustration-border, #EBECEF)",
289
+ strokeWidth: .897,
290
+ d: "M24.673 4.448h141.654a6.725 6.725 0 0 1 6.725 6.725v216.965a6.725 6.725 0 0 1-6.725 6.724H24.673a6.725 6.725 0 0 1-6.725-6.724V11.173a6.725 6.725 0 0 1 6.725-6.725Z"
291
+ }),
292
+ /* @__PURE__ */ u("rect", {
293
+ width: 68.138,
294
+ height: 82.951,
295
+ x: 24.673,
296
+ y: 35.807,
297
+ fill: "var(--digital-id-illustration-photo, #F0F6FF)",
298
+ rx: 4.938
299
+ }),
300
+ /* @__PURE__ */ u("path", {
301
+ fill: "var(--digital-id-illustration-face-highlight, #E0E0E0)",
302
+ d: "M49.36 91.174v.126q-.052 4.009-6.75 6.03c5.38 3.907 10.76 7.034 16.14 7.034s10.761-3.127 16.141-7.035q-6.651-2.022-6.75-6.038c0-1.016.004-10.915.009-11.931.32.045.293.016 0-.065.008-3.347.023 1.034.043-3.54S49.049 67.09 49.33 79.65c.003 1.28.011 10.074.029 11.525"
303
+ }),
304
+ /* @__PURE__ */ u("path", {
305
+ fill: "var(--digital-id-illustration-accent, var(--icon-brand-500-static, #006AFF))",
306
+ d: "M92.81 106.416v7.407a4.936 4.936 0 0 1-4.937 4.936H29.61a4.936 4.936 0 0 1-4.937-4.936v-7.214c3.168-5.669 21.602-10.927 21.602-10.927 1.71 3.09 6.731 5.908 11.87 6.034 5.577.137 11.294-2.682 13.071-6.036 0 0 18.425 5.065 21.594 10.736"
307
+ }),
308
+ /* @__PURE__ */ u("path", {
309
+ fill: "var(--digital-id-illustration-face-shadow, #CDCDCD)",
310
+ d: "M49.107 85.037c7.877-.818 15.293 2.592 15.293 2.592s-1.47 7.723-15.293 5.478z"
311
+ }),
312
+ /* @__PURE__ */ u("path", {
313
+ fill: "var(--digital-id-illustration-mask-shadow, #D0D0D0)",
314
+ d: "M42.649 68.877c1.05-1.752 2.36-.547 2.884.274l.731 7.79c-.025.677-.431 1.108-1.49 1.242-1.325.167-2.2-3.439-2.504-4.785-.306-1.346-.934-2.331.379-4.521m31.706.448c-1.033-1.761-2.355-.57-2.886.247l-.805 7.782c.019.678.42 1.113 1.479 1.257 1.322.18 2.23-3.418 2.549-4.76.317-1.344.955-2.324-.337-4.526"
315
+ }),
316
+ /* @__PURE__ */ u("path", {
317
+ fill: "var(--digital-id-illustration-mask, #FAFAFA)",
318
+ d: "M73.31 70.692c0 11.265-8.154 20.397-14.52 20.397-6.961 0-14.52-9.132-14.52-20.397 0-10.037.801-20.761 14.52-20.761 13.72 0 14.52 10.492 14.52 20.76"
319
+ })
320
+ ]
321
+ });
322
+ //#endregion
323
+ //#region src/modules/id/assets/uploadIdScreenImage.tsx
324
+ /**
325
+ * Decorative composite ID-card illustration for the digital-upload tutorial and
326
+ * file-selection screens. Overridable via the `id.uploadScreen` asset key.
327
+ *
328
+ * The built-in artwork follows the active theme via CSS custom properties:
329
+ * `--digital-id-illustration-border`, `--digital-id-illustration-accent`,
330
+ * `--digital-id-illustration-photo`, `--digital-id-illustration-mask`,
331
+ * `--digital-id-illustration-mask-shadow`, `--digital-id-illustration-strip`.
332
+ * Sizing lives in `.IncodeUploadIdScreenImage`.
333
+ */
334
+ var UploadIdScreenImage = () => /* @__PURE__ */ u(Asset, {
335
+ name: "id.uploadScreen",
336
+ class: "IncodeUploadIdScreenImage",
337
+ default: SvgUploadIdScreenImage
338
+ });
339
+ //#endregion
340
+ //#region src/modules/id/digitalIdUpload/fileSelectionScreen.tsx
341
+ var FileSelectionScreen = ({ manager, state }) => {
342
+ const { t } = useTranslation();
343
+ const fileInputRef = A(null);
344
+ y(() => {
345
+ if (!fileInputRef.current) return;
346
+ fileInputRef.current.click();
347
+ }, [state.pickerRequestId]);
348
+ const onFileSelect = (event) => {
349
+ const file = event.currentTarget.files?.[0];
350
+ if (!file) return;
351
+ manager.digitalUploadPickFile(file);
352
+ };
353
+ return /* @__PURE__ */ u(Page, {
354
+ title: t("idv2.digitalIdUpload.screenTitle"),
355
+ subtitle: t("idv2.digitalIdUpload.screenDescription"),
356
+ className: "IncodeDigitalIdUploadPage",
357
+ "data-testid": "digital-id-upload-selection",
358
+ children: [/* @__PURE__ */ u("div", {
359
+ class: "IncodeDigitalIdUploadBody",
360
+ children: [/* @__PURE__ */ u("input", {
361
+ ref: fileInputRef,
362
+ type: "file",
363
+ accept: "application/pdf",
364
+ onChange: onFileSelect,
365
+ class: "IncodeDigitalIdUploadHiddenInput",
366
+ tabIndex: -1,
367
+ "aria-hidden": "true"
368
+ }), /* @__PURE__ */ u("div", {
369
+ class: "IncodeDigitalIdUploadTutorialIllustration",
370
+ "aria-hidden": "true",
371
+ children: /* @__PURE__ */ u(UploadIdScreenImage, {})
372
+ })]
373
+ }), /* @__PURE__ */ u("div", {
374
+ class: "IncodeDigitalIdUploadFooter",
375
+ children: /* @__PURE__ */ u(Button, {
376
+ onClick: () => fileInputRef.current?.click(),
377
+ "aria-haspopup": "dialog",
378
+ children: t("idv2.digitalIdUpload.digitalIdUploadButtonTitle")
379
+ })
380
+ })]
381
+ });
382
+ };
383
+ //#endregion
384
+ //#region src/modules/id/digitalIdUpload/fileTooLargeScreen.tsx
385
+ var FileTooLargeScreen = ({ manager }) => {
386
+ const { t } = useTranslation();
387
+ return /* @__PURE__ */ u(Page, {
388
+ title: t("idv2.digitalIdUpload.fileTooLargeScreen.title"),
389
+ subtitle: t("idv2.digitalIdUpload.fileTooLargeScreen.subtitle"),
390
+ className: "IncodeDigitalIdUploadPage",
391
+ "data-testid": "digital-id-upload-file-too-large",
392
+ children: [/* @__PURE__ */ u("div", { class: "IncodeDigitalIdUploadBody" }), /* @__PURE__ */ u("div", {
393
+ class: "IncodeDigitalIdUploadFooter",
394
+ children: /* @__PURE__ */ u(Button, {
395
+ onClick: () => manager.digitalUploadChooseAnother(),
396
+ children: t("idv2.digitalIdUpload.fileTooLargeScreen.cta")
397
+ })
398
+ })]
399
+ });
400
+ };
401
+ //#endregion
402
+ //#region src/modules/id/digitalIdUpload/successScreen.tsx
403
+ var SuccessScreen = ({ manager, state }) => {
404
+ const { t } = useTranslation();
405
+ const fileUrl = useFilePreviewUrl(state.file);
406
+ return /* @__PURE__ */ u(Page, {
407
+ titleTopSlot: /* @__PURE__ */ u("div", {
408
+ class: "IncodeDigitalIdUploadSuccessIcon",
409
+ "aria-hidden": "true",
410
+ children: /* @__PURE__ */ u(SuccessIcon, { size: 32 })
411
+ }),
412
+ title: t("idv2.digitalIdUpload.successfullyProcessed"),
413
+ subtitle: t("idv2.digitalIdUpload.loadingSuccess.letsContinue"),
414
+ className: "IncodeDigitalIdUploadPage",
415
+ "data-testid": "digital-id-upload-success",
416
+ children: [/* @__PURE__ */ u("div", {
417
+ class: "IncodeDigitalIdUploadPreviewBody",
418
+ children: [
419
+ /* @__PURE__ */ u("div", {
420
+ class: "IncodeDigitalIdUploadPreStatusZone",
421
+ "aria-hidden": "true"
422
+ }),
423
+ /* @__PURE__ */ u("div", {
424
+ class: "IncodeDigitalIdUploadDocumentPreview",
425
+ "aria-hidden": "true",
426
+ children: fileUrl ? /* @__PURE__ */ u(PdfViewer, {
427
+ url: fileUrl,
428
+ mode: "thumbnail",
429
+ className: "IncodeDigitalIdUploadDocumentPreviewPdf"
430
+ }) : null
431
+ }),
432
+ /* @__PURE__ */ u("div", {
433
+ class: "IncodeDigitalIdUploadPostCaptionZone",
434
+ "aria-hidden": "true"
435
+ })
436
+ ]
437
+ }), /* @__PURE__ */ u("div", {
438
+ class: "IncodeDigitalIdUploadFooter",
439
+ children: /* @__PURE__ */ u(Button, {
440
+ onClick: () => manager.digitalUploadNextStep(),
441
+ children: t("idv2.digitalIdUpload.continue")
442
+ })
443
+ })]
444
+ });
445
+ };
446
+ //#endregion
447
+ //#region src/modules/id/digitalIdUpload/tutorialScreen.tsx
448
+ var TutorialScreen = ({ manager }) => {
449
+ const { t } = useTranslation();
450
+ return /* @__PURE__ */ u(Page, {
451
+ title: t("idv2.digitalIdUpload.screenTitle"),
452
+ subtitle: t("idv2.digitalIdUpload.screenDescription"),
453
+ className: "IncodeDigitalIdUploadPage",
454
+ "data-testid": "digital-id-upload-tutorial",
455
+ children: [/* @__PURE__ */ u("div", {
456
+ class: "IncodeDigitalIdUploadBody",
457
+ children: /* @__PURE__ */ u("div", {
458
+ class: "IncodeDigitalIdUploadTutorialIllustration",
459
+ "aria-hidden": "true",
460
+ children: /* @__PURE__ */ u(UploadIdScreenImage, {})
461
+ })
462
+ }), /* @__PURE__ */ u("div", {
463
+ class: "IncodeDigitalIdUploadFooter",
464
+ children: /* @__PURE__ */ u(Button, {
465
+ onClick: () => manager.digitalUploadNextStep(),
466
+ children: t("idv2.digitalIdUpload.digitalIdUploadButtonTitle")
467
+ })
468
+ })]
469
+ });
470
+ };
471
+ //#endregion
472
+ //#region src/modules/id/digitalIdUpload/digitalIdUpload.tsx
473
+ var DigitalIdUpload = ({ manager, state }) => {
474
+ if (state.phase === "tutorial") return /* @__PURE__ */ u(TutorialScreen, { manager });
475
+ if (state.phase === "selecting") return /* @__PURE__ */ u(FileSelectionScreen, {
476
+ manager,
477
+ state
478
+ });
479
+ if (state.phase === "reviewing") return /* @__PURE__ */ u(FileReviewScreen, {
480
+ manager,
481
+ state
482
+ });
483
+ if (state.phase === "uploading" || state.phase === "holding") return /* @__PURE__ */ u(AnalyzingScreen, { state });
484
+ if (state.phase === "success") return /* @__PURE__ */ u(SuccessScreen, {
485
+ manager,
486
+ state
487
+ });
488
+ if (state.phase === "fileTooLarge") return /* @__PURE__ */ u(FileTooLargeScreen, { manager });
489
+ if (state.phase === "error" || state.phase === "exhausted") return /* @__PURE__ */ u(ErrorScreen, {
490
+ manager,
491
+ state
492
+ });
493
+ return null;
494
+ };
495
+ //#endregion
496
+ export { DigitalIdUpload };
@@ -1,2 +1,2 @@
1
- import { t as DocumentCapture } from "../documentCapture-BVcNX0X4.js";
1
+ import { t as DocumentCapture } from "../documentCapture-DMSLF9v9.js";
2
2
  export { DocumentCapture };
@@ -0,0 +1,2 @@
1
+ import { t as DocumentCapture } from "./documentCapture-DMSLF9v9.js";
2
+ export { DocumentCapture };