@incodetech/web 2.4.1-agentic → 2.4.1-agentic.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (299) hide show
  1. package/THIRD_PARTY_NOTICES.txt +1 -4
  2. package/dist/{GeolocationPermissionDenied-CUt-uebQ.js → GeolocationPermissionDenied-ClGp0a23.js} +13 -8
  3. package/dist/ae-signature/ae-signature.es.js +4 -4
  4. package/dist/{af-ZA-BWKMRc6V.js → af-ZA-BKpmmWDe.js} +75 -865
  5. package/dist/{ageVerification-CMIp0I--.js → ageVerification-CtuJDuRV.js} +11 -8
  6. package/dist/{am-DPyjIvQV.js → am-CW_ro5Ws.js} +75 -865
  7. package/dist/antifraud/antifraud.es.js +5 -4
  8. package/dist/{applyStudioConfig-DxtP9221.js → applyStudioConfig-C6-Ak0q6.js} +5 -4
  9. package/dist/{ar-AE-CxCvbyoW.js → ar-AE-D9h8UMbm.js} +75 -865
  10. package/dist/{ar-10SoqF1i.js → ar-B5ToweVl.js} +75 -865
  11. package/dist/{ar-EG-B1hHB55j.js → ar-EG-DQqE9B26.js} +75 -865
  12. package/dist/assertClassBrand-DJr5K93j.js +17 -0
  13. package/dist/asset-Ctwd_20H.js +355 -0
  14. package/dist/authentication/authentication.es.js +7 -5
  15. package/dist/{autoFocusTitle-BxsSeMSB.js → autoFocusTitle-CzaCWWW5.js} +2 -2
  16. package/dist/{az-cmuBNn_5.js → az-DAZq-CQj.js} +75 -865
  17. package/dist/{back-horizontal-hint-Dl2C4J4u.js → back-horizontal-hint-qzSaNkEU.js} +1 -1
  18. package/dist/{back-vertical-hint-CM4_HjWk.js → back-vertical-hint-DkYLOege.js} +1 -1
  19. package/dist/base.css +1 -1
  20. package/dist/{baseTutorial-BGU2Gcly.js → baseTutorial-CF6WiVYt.js} +10 -7
  21. package/dist/{bn-CuGYlngZ.js → bn-DRTyq2Y9.js} +75 -865
  22. package/dist/{bottomSheet-x20yd6eP.js → bottomSheet-DylE2INk.js} +3 -3
  23. package/dist/{bs-vwpJzaHm.js → bs-B8q0B86-.js} +75 -865
  24. package/dist/{ca-DXZs5vtr.js → ca-DvsHXRB-.js} +75 -865
  25. package/dist/cameraOverlay-DNf0PEF4.js +2 -0
  26. package/dist/{cameraOverlayHeader-BxutAKy-.js → cameraOverlayHeader-CuVGnyXI.js} +9 -8
  27. package/dist/{cameraView-DVzaEGW8.js → cameraView-D9ZxLKtA.js} +3 -3
  28. package/dist/capture-0jMDSGCE.js +762 -0
  29. package/dist/{tutorial-BKPHj5To.js → capture-BlGlXoTx.js} +13 -36
  30. package/dist/capture-DKBA5j5A.js +3 -0
  31. package/dist/capture-D_Dwrj1F.js +2 -0
  32. package/dist/captureButtonIcon-A9kn2E_m.js +1 -0
  33. package/dist/captureFocusContext-9789qOe3.js +729 -0
  34. package/dist/captureFooter-B6WUFQCV.js +47 -0
  35. package/dist/{ceb-CmhS_VOs.js → ceb-pvlomXHV.js} +75 -865
  36. package/dist/certificate-issuance/certificate-issuance.es.js +23 -13
  37. package/dist/{check-icon-BWTjhSuA.js → check-icon-BdHltEK6.js} +1 -1
  38. package/dist/{checkbox-BC26Qbxh.js → checkbox-BwUQ0Rs9.js} +4 -4
  39. package/dist/chooser-CmG71-lh.js +1589 -0
  40. package/dist/connectionError-DexRpKWs.js +90 -0
  41. package/dist/consent/consent.es.js +16 -12
  42. package/dist/{countryFlag-DXSVHiby.js → countryFlag-CQMfCnE9.js} +1 -1
  43. package/dist/{countrySelector-0PDDFsZF.js → countrySelector-C0OEKMqL.js} +4 -4
  44. package/dist/cross-document-data-match/cross-document-data-match.es.js +5 -4
  45. package/dist/{cs-CZ-Dg5O-Vom.js → cs-CZ-GgvnJLMj.js} +75 -865
  46. package/dist/{cs-CoJlE7De.js → cs-DB5PLEdt.js} +75 -865
  47. package/dist/curp-validation/curp-validation.es.js +34 -19
  48. package/dist/curp-validation/styles.css +1 -1
  49. package/dist/curp-validation/styles.css.js +1 -1
  50. package/dist/{customFields-COYGTuuK.js → customFields-DQgRumW0.js} +17 -11
  51. package/dist/{customWatchlist-B0wY6Rwb.js → customWatchlist-BbC0fA-6.js} +8 -6
  52. package/dist/{da-DK-C_JAndM-.js → da-DK-ZhpcfE_F.js} +75 -865
  53. package/dist/{dashboardTheme-COBidrbH.js → dashboardTheme-DtXsx9IK.js} +1 -1
  54. package/dist/{dateInputComposed-QkmLGLHg.js → dateInputComposed-1IcnucPq.js} +5 -5
  55. package/dist/dateInputComposed-BFlCk-sg.js +1 -0
  56. package/dist/{de-11hHLedu.js → de-DEBjzaow.js} +75 -865
  57. package/dist/{denied-Btt81vUD.js → denied-CwdVWAUw.js} +12 -9
  58. package/dist/devWarn-CW20j1Qd.js +9 -0
  59. package/dist/{deviceWallet-BeTpokSL.js → deviceWallet-CMjguFJO.js} +4 -4
  60. package/dist/{digitalIdRedirect-BnljwZV3.js → digitalIdRedirect-MNty16-5.js} +4 -4
  61. package/dist/{digitalIdUpload-DNhqqMHT.js → digitalIdUpload-CUzTaoaI.js} +39 -15
  62. package/dist/document-capture/document-capture.es.js +1 -1
  63. package/dist/document-capture/styles.css +1 -1
  64. package/dist/document-capture/styles.css.js +1 -1
  65. package/dist/documentCapture-CnHv9nyT.js +2 -0
  66. package/dist/{documentCapture-uAKPK1U-.js → documentCapture-Cs2zEfJD.js} +94 -32
  67. package/dist/dropdownComposed-C9sLQE6i.js +1 -0
  68. package/dist/{dropdownComposed-D_RQd0Z9.js → dropdownComposed-x3ewHxbT.js} +4 -4
  69. package/dist/dynamic-forms/dynamic-forms.es.js +20 -15
  70. package/dist/ekyb/ekyb.es.js +1 -1
  71. package/dist/ekybModule-B5IEiSyi.js +2 -0
  72. package/dist/{ekybModule-Bsqag_MS.js → ekybModule-C5hEBLMs.js} +27 -23
  73. package/dist/ekyc/ekyc.es.js +1 -1
  74. package/dist/ekycModule-B7OFnP3H.js +2 -0
  75. package/dist/{ekycModule-WlhVn8AO.js → ekycModule-TVKk0qdS.js} +26 -20
  76. package/dist/{el-CRGmVrep.js → el-Dplr_D5N.js} +75 -865
  77. package/dist/{el-GR-CjtJiRTo.js → el-GR-IZ4reOR7.js} +75 -865
  78. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  79. package/dist/{electronic-signature-Cm2BEiQu.js → electronic-signature-BMda_cf3.js} +49 -34
  80. package/dist/email/email.es.js +15 -11
  81. package/dist/{emailInput-JmK2JIFS.js → emailInput-BI8gWC0D.js} +4 -4
  82. package/dist/{en-DG-Cruu6Woh.js → en-DG-C6tsWvHi.js} +75 -865
  83. package/dist/{en-CSjoG3e4.js → en-Db1L_u7B.js} +75 -865
  84. package/dist/{errorContent-zY4jb6uY.js → errorContent-pPAgyy2i.js} +10 -7
  85. package/dist/es-419-DxKrJq7W.js +5 -0
  86. package/dist/{es-C_LAY-Yu.js → es-C5unKsaF.js} +75 -865
  87. package/dist/{es-ES-D7O0P5Mg.js → es-ES-sHbsufzT.js} +75 -865
  88. package/dist/{es-MX-DVzFaANh.js → es-MX-Cd_DCR0A.js} +75 -865
  89. package/dist/{et-DdSwjU5d.js → et-BoGq2cx8.js} +76 -866
  90. package/dist/{expiredId-DpbWqSzB.js → expiredId-DWjw94rT.js} +12 -8
  91. package/dist/extensibility.es.js +85 -41
  92. package/dist/{fa-IR-CdK8XLkS.js → fa-IR-DuUxGXrf.js} +75 -865
  93. package/dist/face-match/face-match.es.js +1 -1
  94. package/dist/faceMatch-B2aMz3X2.js +2 -0
  95. package/dist/{faceMatch-B0IzR9_u.js → faceMatch-DV7NxYu_.js} +15 -10
  96. package/dist/{fi-FI-CYlEPu44.js → fi-FI-DMOBNTjA.js} +75 -865
  97. package/dist/field-comparison/field-comparison.es.js +1 -1
  98. package/dist/fieldComparison-BY2XXsp3.js +2 -0
  99. package/dist/{fieldComparison-OwGIeOM5.js → fieldComparison-CFLU1h6n.js} +15 -11
  100. package/dist/{fieldLabelHint-gdoE5nLQ.js → fieldLabelHint-CjrLxBaj.js} +3 -3
  101. package/dist/{finalSuccessScreen-BM9oeJDH.js → finalSuccessScreen-C50L96j9.js} +20 -16
  102. package/dist/fiscal-qr/fiscal-qr.es.js +24 -18
  103. package/dist/flipAnimation-8x-qdtF_.js +33 -0
  104. package/dist/flipCapturedCardEligibility-DLr9F2g2.js +210 -0
  105. package/dist/flow/flow.es.js +183 -167
  106. package/dist/flow/shell/styles.css +1 -1
  107. package/dist/flow/shell/styles.css.js +1 -1
  108. package/dist/flow/styles.css +1 -1
  109. package/dist/{formField-C3MNhFKI.js → formField-CfQKYeGF.js} +3 -3
  110. package/dist/{fr-CA-DD_s9NuV.js → fr-CA-DZ8jlsp3.js} +75 -865
  111. package/dist/{fr-C4cP8ZNE.js → fr-DSR-AP0e.js} +75 -865
  112. package/dist/{front-horizontal-hint-Dol0Lpc6.js → front-horizontal-hint-DOphQZg2.js} +1 -1
  113. package/dist/{front-vertical-hint-CAhAzw92.js → front-vertical-hint-S6PcS9_m.js} +1 -1
  114. package/dist/geolocation/geolocation.es.js +15 -10
  115. package/dist/government-validation/government-validation.es.js +7 -6
  116. package/dist/{he-D3fvMZAl.js → he-N5dfJeyd.js} +75 -865
  117. package/dist/{hi-DLf6_opn.js → hi-JR6K9zbd.js} +75 -865
  118. package/dist/{hmn-DzoODzbN.js → hmn-j2YA7FxW.js} +75 -865
  119. package/dist/{homeScreen-D1Xd93In.js → homeScreen-C3pPw52y.js} +17 -11
  120. package/dist/{incodeComponent-C1Bz5Qou.js → hooks-BFP0WaJM.js} +14 -308
  121. package/dist/{hr-C-jP0DrB.js → hr-8cOdwB0t.js} +75 -865
  122. package/dist/{ht-CVt9koJf.js → ht-DDNL4C__.js} +75 -865
  123. package/dist/{hu-9fSzIeAd.js → hu-CynQQUFQ.js} +75 -865
  124. package/dist/i18n-Dp014ljG.js +942 -0
  125. package/dist/{icons-BdiCuWFP.js → icons-c-hFaG4L.js} +129 -32
  126. package/dist/id/id.es.js +101 -197
  127. package/dist/id/styles.css +1 -1
  128. package/dist/id/styles.css.js +1 -1
  129. package/dist/{id-back-of-card-CHFxXTEq.js → id-back-of-card-Bk6ZQUE9.js} +1 -1
  130. package/dist/{id-back-of-card-vertical-CUBdKGbw.js → id-back-of-card-vertical-BZo00s50.js} +1 -1
  131. package/dist/{id-front-of-card-DplNJr13.js → id-front-of-card-BJ96se7u.js} +1 -1
  132. package/dist/{id-front-of-card-vertical-D1duHEsV.js → id-front-of-card-vertical-DSfJB0lX.js} +1 -1
  133. package/dist/{id-Dgi5uGHK.js → id-o_Yg0n8W.js} +75 -865
  134. package/dist/id-selfie-flow/id-selfie-flow.es.js +12 -11
  135. package/dist/id-selfie-flow/styles.css +1 -1
  136. package/dist/id-verification/id-verification.es.js +6 -5
  137. package/dist/idFlipTransition-DXdtXYza.js +158 -0
  138. package/dist/{idOcr-sknZwQNF.js → idOcr-CjqfkRJ7.js} +18 -14
  139. package/dist/identity-reuse/identity-reuse.es.js +28 -17
  140. package/dist/incodeComponent-DtKh-UUm.js +237 -0
  141. package/dist/{incodeModule-DJToJb00.js → incodeModule-DCHXAeYU.js} +5 -5
  142. package/dist/index.es.js +4 -3
  143. package/dist/{inputComposed-BuE0iZlw.js → inputComposed-CmVsaHOa.js} +4 -4
  144. package/dist/inputComposed-DvGrso7g.js +1 -0
  145. package/dist/{it-CEFstYFG.js → it-BXevrtHn.js} +75 -865
  146. package/dist/{ja-BNdVd9B6.js → ja-DiTXnTx-.js} +75 -865
  147. package/dist/{ja-JP-B5TPMV1q.js → ja-JP-D1IRWR-p.js} +75 -865
  148. package/dist/{jv-CMxkkXUk.js → jv-Us70GzGp.js} +75 -865
  149. package/dist/{ka-C70bUmEK.js → ka-BSsWQ4yU.js} +75 -865
  150. package/dist/{kk-C_55EmWt.js → kk-D5R6r4H7.js} +75 -865
  151. package/dist/{km-D4Ig0NhN.js → km-CCCb2Rnt.js} +79 -869
  152. package/dist/{ko-KP-BwBB8ahu.js → ko-KP-JF4khv1Y.js} +75 -865
  153. package/dist/{ko-DfUa3dzQ.js → ko-kQioCg2w.js} +75 -865
  154. package/dist/{ky-CnJichOm.js → ky-CLOemVjC.js} +75 -865
  155. package/dist/kyb-checks/kyb-checks.es.js +2 -0
  156. package/dist/kyb-checks/styles.css +2 -0
  157. package/dist/kyb-checks/styles.css.js +1 -0
  158. package/dist/kybChecksModule-C6Y9Hxpr.js +329 -0
  159. package/dist/kybChecksModule-r3MIpFhS.js +2 -0
  160. package/dist/{lo-ww1DXVAP.js → lo-tzHUt1CQ.js} +75 -865
  161. package/dist/{lt-IJ8qpluI.js → lt-B2ZI-Cgu.js} +76 -866
  162. package/dist/{lv-DMfsmqyK.js → lv-BJnxtSYw.js} +76 -866
  163. package/dist/{mandatoryConsent-Bp8sQoiu.js → mandatoryConsent-BiQuEZRu.js} +20 -14
  164. package/dist/{manualCaptureButton-Cd-FY05-.js → manualCaptureButton-BRSmPTeR.js} +8 -7
  165. package/dist/{manualCaptureButton-BXOTp2PS.js → manualCaptureButton-Dw0MMSkc.js} +17 -13
  166. package/dist/{mk-ByafmFak.js → mk-Cj7Iw2Q4.js} +75 -865
  167. package/dist/{mn-DjO9p3xN.js → mn-CA_rNxtz.js} +75 -865
  168. package/dist/{ms-3Vf1QpHl.js → ms-BydA1Zjz.js} +75 -865
  169. package/dist/{my-C5hpE5P1.js → my-gFKufKaG.js} +75 -865
  170. package/dist/{nb-NO-DGCWCOul.js → nb-NO-CDsGQbOZ.js} +75 -865
  171. package/dist/{ne-CpJxcVhV.js → ne-Cyfi0vFI.js} +75 -865
  172. package/dist/{nl-R2RykJHB.js → nl-e1gbmAFO.js} +75 -865
  173. package/dist/{numberedStep-CqgNwc_a.js → numberedStep-CeN77hnQ.js} +1 -1
  174. package/dist/{optionAccessibleLabel-BQl8HooZ.js → optionAccessibleLabel-BTUieMxH.js} +6 -6
  175. package/dist/{otpInput-B_iLvmIn.js → otpInput-D3L3QhnR.js} +24 -17
  176. package/dist/{page-utEpSa9Z.js → page-U6jZ7BBI.js} +69 -23
  177. package/dist/{pageUiConfig-rOL18JSI.js → pageUiConfig-Qf6ItVv9.js} +6 -14
  178. package/dist/{passport-horizontal-hint-BfTXA2LB.js → passport-horizontal-hint-Ddsh6fUS.js} +1 -1
  179. package/dist/{passport-vertical-hint-C7dzd2ks.js → passport-vertical-hint-Dukxq6-T.js} +1 -1
  180. package/dist/{passwordInputComposed-NtiseM85.js → passwordInputComposed-CW_1DcB8.js} +5 -5
  181. package/dist/{pdf-BnPw8ZaT.js → pdf-Bd5QplFS.js} +2 -17
  182. package/dist/{pdfViewer-DNMZsDFD.js → pdfViewer-BrqSEtbr.js} +11 -14
  183. package/dist/pdfViewer-rDnnHzmw.js +2 -0
  184. package/dist/{permissions-CCEc9lKM.js → permissions-3LgeouU9.js} +36 -22
  185. package/dist/phone/phone.es.js +16 -12
  186. package/dist/{phoneInputComposed-ByiK_6Hu.js → phoneInputComposed-DlJMTavK.js} +6 -6
  187. package/dist/{pl-B1LgnPj1.js → pl-BSMcCWS-.js} +75 -865
  188. package/dist/preloadableLazy-C8_OYaTC.js +37 -0
  189. package/dist/{processing-Ci_Kl-Rh.js → processing-B5EH7yNg.js} +2 -2
  190. package/dist/{progressBar-Caj-Vu1e.js → progressBar-CSpS29pV.js} +2 -2
  191. package/dist/{pt-CPVeH0hD.js → pt-BNFC2quK.js} +75 -865
  192. package/dist/{pt-BR-DSJDHb-K.js → pt-BR-bH8DC2gH.js} +75 -865
  193. package/dist/{pt-PT-BWJTVPZY.js → pt-PT-B8PXmgwU.js} +75 -865
  194. package/dist/qe-signature/qe-signature.es.js +4 -4
  195. package/dist/{radioGroupComposed-CocqpoKe.js → radioGroupComposed-CW8ElYSR.js} +4 -4
  196. package/dist/radioGroupComposed-flIYNffL.js +1 -0
  197. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +19 -21
  198. package/dist/redirect-to-mobile/styles.css +1 -1
  199. package/dist/redirect-to-mobile/styles.css.js +1 -1
  200. package/dist/{registerIncodeElement-Dtw9dM3O.js → registerIncodeElement-oiLvm6xq.js} +1 -1
  201. package/dist/{reload-icon-BR1POqkD.js → reload-icon-FD2e9Wet.js} +1 -1
  202. package/dist/{resendTimer-ODOCcKyh.js → resendTimer-D1H3gwkI.js} +2 -2
  203. package/dist/richText-sUdTiRDE.js +1761 -0
  204. package/dist/{ro-8gGEWeHO.js → ro-DnN8QNYa.js} +75 -865
  205. package/dist/{ru-C4EVku5S.js → ru-DAwUFXHq.js} +75 -865
  206. package/dist/{ru-RU-Dr0NOGjg.js → ru-RU-Coxt0VCU.js} +75 -865
  207. package/dist/{sanitizeSvg-ilJ8VQmH.js → sanitizeSvg-OdNh1mqY.js} +1 -1
  208. package/dist/selfie/selfie.es.js +30 -14
  209. package/dist/selfie/styles.css +1 -1
  210. package/dist/selfie/styles.css.js +1 -1
  211. package/dist/signature/signature.es.js +18 -13
  212. package/dist/{sk-BSTzMa__.js → sk-AB8sSlNw.js} +77 -867
  213. package/dist/{sl-_HvO-HVX.js → sl-6Dfzfi7s.js} +75 -865
  214. package/dist/{smsTabContent-CWBrtP4u.js → smsTabContent-CBEKgzFv.js} +32 -23
  215. package/dist/{so-pyCaqonl.js → so-X5BdrDvV.js} +75 -865
  216. package/dist/spacer-Jaru_3sb.js +82 -0
  217. package/dist/spinner-51btbot0.js +407 -0
  218. package/dist/{sr-Bpxtt0kk.js → sr-JHjMcbGs.js} +75 -865
  219. package/dist/{sr-Latn-BjueCJSI.js → sr-Latn-DgT7eTG2.js} +80 -870
  220. package/dist/sr-YU-BBhB_G63.js +5 -0
  221. package/dist/{sv-SE-sv5v6ZWe.js → sv-SE-CvX8mC8T.js} +75 -865
  222. package/dist/{sw-BseJSmdR.js → sw-CN0TdnY4.js} +75 -865
  223. package/dist/{th-C2G8Ur12.js → th-BmFntKib.js} +75 -865
  224. package/dist/{th-TH-D0WNW-3l.js → th-TH-CWr4z3JK.js} +75 -865
  225. package/dist/themes/dark.css +1 -1
  226. package/dist/themes/light.css +1 -1
  227. package/dist/{tl-PH-CwafDrED.js → tl-PH-BRIbtBRN.js} +75 -865
  228. package/dist/{tl-CBOmxz5r.js → tl-rzkk5P_n.js} +75 -865
  229. package/dist/{tr-C4iH8UJx.js → tr-DKuVBwqW.js} +76 -866
  230. package/dist/{transitionSpinner-DbrWrpRU.js → transitionSpinner-Di0XBAix.js} +5 -4
  231. package/dist/tutorial-C9psDR2i.js +28 -0
  232. package/dist/types/extensibility.d.ts +6 -1
  233. package/dist/types/index.d.ts +4 -0
  234. package/dist/types/kyb-checks.d.ts +209 -0
  235. package/dist/{typography-BF9d8wEc.js → typography-CiGhKJGx.js} +2 -2
  236. package/dist/uiConfig-BJAuZQWc.js +77 -0
  237. package/dist/{uk-BGYlvKb_.js → uk-CXjqq4lX.js} +75 -865
  238. package/dist/{uk-UA-CbxzkCL_.js → uk-UA-BIE9WByU.js} +75 -865
  239. package/dist/{ur-BQgtsAfv.js → ur-vNGesC3r.js} +75 -865
  240. package/dist/{useCameraPreview-BmkAmzAs.js → useCameraPreview-Bd7AYE9h.js} +1 -1
  241. package/dist/useCaptureHelpButton-Dj-jESrS.js +43 -0
  242. package/dist/{useIsDarkTheme-COJZngNK.js → useIsDarkTheme-Bu9CvKxW.js} +1 -1
  243. package/dist/{useModuleLoader-CceEKjsh.js → useModuleLoader-BBCNkJmc.js} +2 -2
  244. package/dist/{uz-DqOg1Fdv.js → uz-Gmw1XRgv.js} +75 -865
  245. package/dist/{vendor-preact-C0jX1Cbq.js → vendor-preact-DHGqBGMH.js} +19 -1
  246. package/dist/{verificationResult-m99Ragq6.js → verificationResult-Clxdxm_s.js} +18 -10
  247. package/dist/{vi-COxdKkHn.js → vi-DTxxRUw0.js} +75 -865
  248. package/dist/video-selfie/video-selfie.es.js +50 -33
  249. package/dist/watchlist/watchlist.es.js +8 -6
  250. package/dist/{watchlistForBusiness-C2zxbavl.js → watchlistForBusiness-CpFp2EYX.js} +16 -11
  251. package/dist/{withEndScreenTexts-BwNU-8-X.js → withEndScreenTexts-DhN_T_kp.js} +204 -41
  252. package/dist/workflow/styles.css +1 -1
  253. package/dist/workflow/workflow.es.js +19 -15
  254. package/dist/{zh-CN-DfvYQGdE.js → zh-CN-aB48G_R1.js} +76 -866
  255. package/dist/{zh-CPQoDPxf.js → zh-DjtyfO4e.js} +75 -865
  256. package/dist/{zh-HANT-B4LzHH2y.js → zh-HANT-8p8SH8C3.js} +75 -865
  257. package/dist/{zh-TW-DtvvhBYL.js → zh-TW-CCsz9gKq.js} +75 -865
  258. package/package.json +22 -10
  259. package/dist/browser-ponyfill-CHlXHPpU.js +0 -441
  260. package/dist/cameraOverlay-Be1PFI8S.js +0 -2
  261. package/dist/dateInputComposed-CONPVayx.js +0 -1
  262. package/dist/devWarn-Cr7MglXv.js +0 -2628
  263. package/dist/documentCapture-DGCraCO3.js +0 -2
  264. package/dist/dropdownComposed-DyZXfcTf.js +0 -1
  265. package/dist/ekybModule-D-czIusz.js +0 -2
  266. package/dist/ekycModule-CkBRa6h2.js +0 -2
  267. package/dist/es-419-CTB15v-l.js +0 -3231
  268. package/dist/esm-BTUEHyry.js +0 -430
  269. package/dist/faceMatch-CRbIcwK2.js +0 -2
  270. package/dist/fieldComparison-DKQNK0-r.js +0 -2
  271. package/dist/flipAnimation-D-5tokFC.js +0 -3275
  272. package/dist/inputComposed-5mLbxAZJ.js +0 -1
  273. package/dist/pdfViewer-7FzYV8l3.js +0 -2
  274. package/dist/radioGroupComposed-DlQ-fNrF.js +0 -1
  275. package/dist/richText-CRWB2afV.js +0 -1549
  276. package/dist/spacer-CwyNauIk.js +0 -733
  277. package/dist/spinner-DEZJxLSc.js +0 -88
  278. package/dist/sr-YU-xCb5qxap.js +0 -3235
  279. package/dist/useCaptureHelpButton-D40hYyD7.js +0 -88
  280. /package/dist/{aligndevicelottie-BHWuptBk.js → aligndevicelottie-BEKzL4SB.js} +0 -0
  281. /package/dist/{back-tutorial-BYZr11eV.js → back-tutorial-B9W63fa-.js} +0 -0
  282. /package/dist/{backdevicelottie-JflQKxT_.js → backdevicelottie-DsN8QBV3.js} +0 -0
  283. /package/dist/{blurdevicelottie-CWuMQEHL.js → blurdevicelottie-DkV7Kwo4.js} +0 -0
  284. /package/dist/{countryDefinitions-6FOOLcB2.js → countryDefinitions-RBVGM1D_.js} +0 -0
  285. /package/dist/{defineProperty-CUC2zCmh.js → defineProperty-E9wRIIo9.js} +0 -0
  286. /package/dist/{flip-animation-BqTKEBcW.js → flip-animation-DJVnWWL5.js} +0 -0
  287. /package/dist/{frontdevicelottie-BWD-NCfG.js → frontdevicelottie-DiW1Wmya.js} +0 -0
  288. /package/dist/{glaredevicelottie-Cjy50jGc.js → glaredevicelottie-CK-fnX_s.js} +0 -0
  289. /package/dist/{helpButtonConfig-BFragC_J.js → helpButtonConfig-CjbrBQaV.js} +0 -0
  290. /package/dist/{id-laser-h-By7lMim8.js → id-laser-h-6Am_cjM8.js} +0 -0
  291. /package/dist/{id-laser-v-BCPAN2x5.js → id-laser-v-DXoF3flH.js} +0 -0
  292. /package/dist/{id-tutorial-B9cUQuf0.js → id-tutorial-DkKH3eTE.js} +0 -0
  293. /package/dist/{lottie_light-DywVSPMT.js → lottie_light-B819EhaL.js} +0 -0
  294. /package/dist/{passport-tutorial-TSZzEGqb.js → passport-tutorial-D3Fpk-Tj.js} +0 -0
  295. /package/dist/{pdf.worker.min-D7ZNTVBZ.js → pdf.worker.min-DzBNMoKS.js} +0 -0
  296. /package/dist/{policyUrls-Bpacx_pp.js → policyUrls-Benduf-R.js} +0 -0
  297. /package/dist/{purify.es-DZazHwBu.js → purify.es-CSPoFViI.js} +0 -0
  298. /package/dist/{realtimeFeedbackConfig-DeZksjlR.js → realtimeFeedbackConfig-tBX94SOm.js} +0 -0
  299. /package/dist/{selfieTutorial-CLJAEuXG.js → selfieTutorial-DnsRD1Z9.js} +0 -0
@@ -0,0 +1,1589 @@
1
+ import { i as useTranslation } from "./i18n-Dp014ljG.js";
2
+ import { b as u, d as T, m as d, w as k } from "./vendor-preact-DHGqBGMH.js";
3
+ import { f as CloseIcon, p as ChevronRightIcon, t as LightningIcon, x as PrizmaButton } from "./icons-c-hFaG4L.js";
4
+ import { n as cn, t as Spacer } from "./spacer-Jaru_3sb.js";
5
+ import { t as Page } from "./page-U6jZ7BBI.js";
6
+ import { a as useAnimationData } from "./spinner-51btbot0.js";
7
+ import { t as countryDefinitions } from "./countryDefinitions-RBVGM1D_.js";
8
+ import { t as BaseTutorial } from "./baseTutorial-CF6WiVYt.js";
9
+ import "./captureFocusContext-9789qOe3.js";
10
+ import "./flipCapturedCardEligibility-DLr9F2g2.js";
11
+ import { t as countryFlagEmoji } from "./countryFlag-CQMfCnE9.js";
12
+ import "./captureButtonIcon-A9kn2E_m.js";
13
+ import { t as CountrySelector } from "./countrySelector-C0OEKMqL.js";
14
+ //#region src/shared/card/verificationOption/verificationOptionCard.tsx
15
+ function VerificationOptionCardList({ children }) {
16
+ return /* @__PURE__ */ u("div", {
17
+ class: "IncodeVerificationOptionCardList",
18
+ children
19
+ });
20
+ }
21
+ function VerificationOptionCard({ icon: Icon, iconSrc, title, description, testId, onClick, tag }) {
22
+ return /* @__PURE__ */ u("button", {
23
+ type: "button",
24
+ class: "IncodeVerificationOptionCard",
25
+ onClick,
26
+ "data-testid": testId,
27
+ "aria-labelledby": `${testId}-label`,
28
+ "aria-describedby": description ? `${testId}-description` : void 0,
29
+ children: [/* @__PURE__ */ u("span", {
30
+ class: "IncodeVerificationOptionCardIcon",
31
+ "aria-hidden": "true",
32
+ "data-testid": `${testId}-icon`,
33
+ children: iconSrc ? /* @__PURE__ */ u("img", {
34
+ class: "IncodeVerificationOptionCardImage",
35
+ src: iconSrc,
36
+ alt: "",
37
+ loading: "lazy",
38
+ decoding: "async"
39
+ }) : /* @__PURE__ */ u(Icon, {})
40
+ }), /* @__PURE__ */ u("span", {
41
+ class: "IncodeVerificationOptionCardContent",
42
+ children: [/* @__PURE__ */ u("span", {
43
+ class: "IncodeVerificationOptionCardText",
44
+ children: [/* @__PURE__ */ u("span", {
45
+ id: `${testId}-label`,
46
+ class: "IncodeVerificationOptionCardTitleTagContainer",
47
+ children: [/* @__PURE__ */ u("span", {
48
+ class: "IncodeVerificationOptionCardTitle",
49
+ children: title
50
+ }), tag && /* @__PURE__ */ u(VerificationOptionCardTag, { label: tag })]
51
+ }), description && /* @__PURE__ */ u("span", {
52
+ id: `${testId}-description`,
53
+ class: "IncodeVerificationOptionCardDescription",
54
+ "data-testid": `${testId}-description`,
55
+ children: description
56
+ })]
57
+ }), /* @__PURE__ */ u("span", {
58
+ class: "IncodeVerificationOptionCardArrow",
59
+ "data-testid": "chevron-right-icon",
60
+ children: /* @__PURE__ */ u(ChevronRightIcon, {
61
+ size: 24,
62
+ variant: "m"
63
+ })
64
+ })]
65
+ })]
66
+ });
67
+ }
68
+ function VerificationOptionCardTag({ label }) {
69
+ return /* @__PURE__ */ u("div", {
70
+ class: "IncodeVerificationOptionCardTag",
71
+ children: [/* @__PURE__ */ u(LightningIcon, {}), /* @__PURE__ */ u("span", { children: label })]
72
+ });
73
+ }
74
+ //#endregion
75
+ //#region src/modules/id/tutorialHelpers.ts
76
+ /**
77
+ * Resolves the tutorial's animation and copy for one document/side pairing.
78
+ *
79
+ * The three shapes are mutually exclusive, so each returns whole — passport
80
+ * wins over side, matching the order the screen's copy was authored in.
81
+ */
82
+ function getTutorialContent(t, isPassport, isBack, disclaimerText) {
83
+ let adjustedDisclaimerText;
84
+ if (isBack) adjustedDisclaimerText = t("idv2.backTutorial.disclaimer");
85
+ else adjustedDisclaimerText = t("idv2.tutorial.v2.autocapture");
86
+ if (disclaimerText) adjustedDisclaimerText = disclaimerText;
87
+ if (isPassport) return {
88
+ animationKey: "id.tutorial.passport",
89
+ title: t("idv2.capture.passport.title"),
90
+ subtitle: t("idv2.capture.passport.subtitle"),
91
+ disclaimerText: adjustedDisclaimerText
92
+ };
93
+ if (isBack) return {
94
+ animationKey: "id.tutorial.back",
95
+ title: t("idv2.backTutorial.title"),
96
+ subtitle: t("idv2.backTutorial.subtitle"),
97
+ disclaimerText: adjustedDisclaimerText
98
+ };
99
+ return {
100
+ animationKey: "id.tutorial.front",
101
+ title: t("idv2.tutorial.title"),
102
+ subtitle: t("idv2.tutorial.subtitle"),
103
+ disclaimerText: adjustedDisclaimerText
104
+ };
105
+ }
106
+ //#endregion
107
+ //#region src/modules/id/tutorial.tsx
108
+ var Tutorial = ({ manager, documentType, mode, isLoading: isLoadingProp, actionsSlot, onContinue, disclaimerText, shouldScaleAnimationContainer = true }) => {
109
+ const { t } = useTranslation();
110
+ const [internalIsLoading, setInternalIsLoading] = d(false);
111
+ const isLoading = isLoadingProp ?? internalIsLoading;
112
+ const isPassport = documentType === "passport";
113
+ const tutorialContent = getTutorialContent(t, isPassport, mode === "back", disclaimerText);
114
+ const { data: animationData, isOverride } = useAnimationData(tutorialContent.animationKey);
115
+ const handleContinue = async () => {
116
+ if (isLoadingProp === void 0) setInternalIsLoading(true);
117
+ if (onContinue) {
118
+ onContinue();
119
+ return;
120
+ }
121
+ await manager.nextStep();
122
+ };
123
+ return /* @__PURE__ */ u(BaseTutorial, {
124
+ animationData,
125
+ recolor: !isOverride,
126
+ title: tutorialContent.title,
127
+ subtitle: tutorialContent.subtitle,
128
+ onContinue: handleContinue,
129
+ buttonText: t("idv2.tutorial.startScan"),
130
+ disclaimerText: tutorialContent.disclaimerText,
131
+ isLoading,
132
+ actionsSlot,
133
+ className: cn("IncodeIdTutorial", isPassport ? "IncodeIdTutorialPassport" : "IncodeIdTutorialId"),
134
+ shouldScaleAnimationContainer
135
+ });
136
+ };
137
+ //#endregion
138
+ //#region src/modules/id/assets/idCardIcon.tsx
139
+ var IdCardIcon = () => {
140
+ return /* @__PURE__ */ u("svg", {
141
+ width: "119",
142
+ height: "86",
143
+ viewBox: "0 0 119 86",
144
+ fill: "none",
145
+ xmlns: "http://www.w3.org/2000/svg",
146
+ class: "IncodeIdCardIcon",
147
+ "aria-hidden": "true",
148
+ children: [
149
+ /* @__PURE__ */ u("title", { children: "ID Card" }),
150
+ /* @__PURE__ */ u("rect", {
151
+ x: "21.9619",
152
+ y: "21.5",
153
+ width: "75",
154
+ height: "43",
155
+ rx: "2",
156
+ fill: "white"
157
+ }),
158
+ /* @__PURE__ */ u("rect", {
159
+ x: "27.9619",
160
+ y: "28.5",
161
+ width: "75",
162
+ height: "43",
163
+ rx: "5",
164
+ fill: "#C9C9C9",
165
+ fillOpacity: "0.15"
166
+ }),
167
+ /* @__PURE__ */ u("path", {
168
+ d: "M20.462 23a3 3 0 0 1 3-3h72a3 3 0 0 1 3 3v40a3 3 0 0 1-3 3h-72a3 3 0 0 1-3-3z",
169
+ fill: "#C9C9C9",
170
+ fillOpacity: "0.8"
171
+ }),
172
+ /* @__PURE__ */ u("path", {
173
+ d: "M21.896 23.43a2 2 0 0 1 2-2h70.75a2 2 0 0 1 2 2v38.856a2 2 0 0 1-2 2h-70.75a2 2 0 0 1-2-2z",
174
+ fill: "white"
175
+ }),
176
+ /* @__PURE__ */ u("path", {
177
+ fillRule: "evenodd",
178
+ clipRule: "evenodd",
179
+ d: "M25.882 32.392c0-.55.447-.997.997-.997h64.783a.997.997 0 1 1 0 1.994H26.879a.997.997 0 0 1-.997-.997Z",
180
+ fill: "#C9C9C9",
181
+ fillOpacity: "0.5"
182
+ }),
183
+ /* @__PURE__ */ u("path", {
184
+ fillRule: "evenodd",
185
+ clipRule: "evenodd",
186
+ d: "M67.742 37.376h-17.94v2.99h17.94zm0 5.98h-17.94v2.99h17.94zm-17.94 5.98h23.92v2.99h-23.92zm7.973 5.98h-7.973v2.99h7.973z",
187
+ fill: "#C9C9C9",
188
+ fillOpacity: "0.5"
189
+ }),
190
+ /* @__PURE__ */ u("rect", {
191
+ x: "25.8818",
192
+ y: "24.4189",
193
+ width: "30.8967",
194
+ height: "3.98667",
195
+ rx: "1",
196
+ fill: "#C9C9C9",
197
+ fillOpacity: "0.5"
198
+ }),
199
+ /* @__PURE__ */ u("rect", {
200
+ x: "86.2949",
201
+ y: "24.4907",
202
+ width: "5.98",
203
+ height: "3.93138",
204
+ fill: "#EAF0F6"
205
+ }),
206
+ /* @__PURE__ */ u("rect", {
207
+ x: "25.9619",
208
+ y: "35.5",
209
+ width: "21",
210
+ height: "24",
211
+ rx: "2",
212
+ class: "IncodeIdCardIconFill"
213
+ }),
214
+ /* @__PURE__ */ u("path", {
215
+ d: "M33.13 52.42c-.01.776-1.359 1.025-2.265 1.9 1.577 1.135 3.855 1.9 5.432 1.9 1.834 0 3.955-.765 5.532-1.9-.907-.875-2.337-1.122-2.357-1.9 0-.296.001-3.173.003-3.468 0-4.973-6.535-7.932-6.354.08q.007 1.695.009 3.387Z",
216
+ fill: "url(#paint0_linear_id)"
217
+ }),
218
+ /* @__PURE__ */ u("path", {
219
+ fillRule: "evenodd",
220
+ clipRule: "evenodd",
221
+ d: "M46.888 58.041a2 2 0 0 1-1.926 1.459h-17a2 2 0 0 1-2-2v-1.52c1.762-1.447 6.207-2.658 6.207-2.658 0 1.039 2.58 2.665 4.14 2.691 2.174 0 4.14-1.651 4.14-2.69 0 0 4.916 1.589 5.865 3.303.212.383.404.878.574 1.415Z",
222
+ fill: "#CECECE"
223
+ }),
224
+ /* @__PURE__ */ u("path", {
225
+ d: "M41.92 45.294a.87.87 0 0 0-.616-1.069l-.091-.024a.87.87 0 0 0-1.037.521l-.697 1.76a.872.872 0 0 0 .688 1.185l.311.044a.87.87 0 0 0 .966-.637z",
226
+ fill: "url(#paint1_linear_id)"
227
+ }),
228
+ /* @__PURE__ */ u("path", {
229
+ d: "M31.003 45.294a.872.872 0 1 1 1.685-.451l.451 1.684a.872.872 0 1 1-1.685.452z",
230
+ fill: "url(#paint2_linear_id)"
231
+ }),
232
+ /* @__PURE__ */ u("path", {
233
+ d: "M41.258 45.085c0 3.82-2.694 6.915-4.796 6.915-2.3 0-4.797-3.096-4.797-6.915 0-3.402.265-7.038 4.797-7.038 4.531 0 4.796 3.557 4.796 7.038Z",
234
+ fill: "url(#paint3_linear_id)"
235
+ }),
236
+ /* @__PURE__ */ u("defs", { children: [
237
+ /* @__PURE__ */ u("linearGradient", {
238
+ id: "paint0_linear_id",
239
+ x1: "35.8774",
240
+ y1: "49.2574",
241
+ x2: "35.8774",
242
+ y2: "53.7757",
243
+ gradientUnits: "userSpaceOnUse",
244
+ children: [/* @__PURE__ */ u("stop", { stopColor: "#B1B1B1" }), /* @__PURE__ */ u("stop", {
245
+ offset: "1",
246
+ stopColor: "white"
247
+ })]
248
+ }),
249
+ /* @__PURE__ */ u("linearGradient", {
250
+ id: "paint1_linear_id",
251
+ x1: "39.9447",
252
+ y1: "46.8213",
253
+ x2: "41.2507",
254
+ y2: "46.8737",
255
+ gradientUnits: "userSpaceOnUse",
256
+ children: [/* @__PURE__ */ u("stop", {
257
+ offset: "0.0416667",
258
+ stopColor: "#B5B5B5"
259
+ }), /* @__PURE__ */ u("stop", {
260
+ offset: "1",
261
+ stopColor: "white"
262
+ })]
263
+ }),
264
+ /* @__PURE__ */ u("linearGradient", {
265
+ id: "paint2_linear_id",
266
+ x1: "32.0377",
267
+ y1: "46.8216",
268
+ x2: "30.7317",
269
+ y2: "46.874",
270
+ gradientUnits: "userSpaceOnUse",
271
+ children: [/* @__PURE__ */ u("stop", {
272
+ offset: "0.0416667",
273
+ stopColor: "#B5B5B5"
274
+ }), /* @__PURE__ */ u("stop", {
275
+ offset: "1",
276
+ stopColor: "white"
277
+ })]
278
+ }),
279
+ /* @__PURE__ */ u("linearGradient", {
280
+ id: "paint3_linear_id",
281
+ x1: "31.7839",
282
+ y1: "45.028",
283
+ x2: "38.5592",
284
+ y2: "45.0529",
285
+ gradientUnits: "userSpaceOnUse",
286
+ children: [/* @__PURE__ */ u("stop", { stopColor: "#E0E0E0" }), /* @__PURE__ */ u("stop", {
287
+ offset: "1",
288
+ stopColor: "white"
289
+ })]
290
+ })
291
+ ] })
292
+ ]
293
+ });
294
+ };
295
+ //#endregion
296
+ //#region src/modules/id/assets/passportIcon.tsx
297
+ var PassportIcon = () => {
298
+ return /* @__PURE__ */ u("svg", {
299
+ width: "118",
300
+ height: "86",
301
+ viewBox: "0 0 118 86",
302
+ fill: "none",
303
+ xmlns: "http://www.w3.org/2000/svg",
304
+ class: "IncodePassportIcon",
305
+ "aria-hidden": "true",
306
+ children: [
307
+ /* @__PURE__ */ u("title", { children: "Passport" }),
308
+ /* @__PURE__ */ u("g", {
309
+ "clip-path": "url(#clip0_25823_31181)",
310
+ children: [
311
+ /* @__PURE__ */ u("rect", {
312
+ x: "29.5381",
313
+ y: "11",
314
+ width: "67",
315
+ height: "75",
316
+ rx: "5",
317
+ fill: "#C9C9C9",
318
+ "fill-opacity": "0.15"
319
+ }),
320
+ /* @__PURE__ */ u("rect", {
321
+ x: "26.8977",
322
+ y: "5.66234",
323
+ width: "64.3575",
324
+ height: "74.3225",
325
+ rx: "4.21024",
326
+ stroke: "#C9C9C9",
327
+ "stroke-opacity": "0.8",
328
+ "stroke-width": "1.24563"
329
+ }),
330
+ /* @__PURE__ */ u("path", {
331
+ d: "M27.434 42.295h63.197V76.34a3 3 0 0 1-3 3H30.434a3 3 0 0 1-3-3z",
332
+ fill: "white"
333
+ }),
334
+ /* @__PURE__ */ u("path", {
335
+ d: "M55.603 66.41c.164 0 .296.133.296.296v1.408a.296.296 0 0 1-.296.296h-8.408a.296.296 0 0 1-.296-.296v-1.408c0-.163.133-.296.296-.296zm17-4c.164 0 .296.133.296.296v1.408a.296.296 0 0 1-.296.296H47.195a.296.296 0 0 1-.296-.296v-1.408c0-.163.133-.296.296-.296zm-7-4c.164 0 .296.133.296.296v1.408a.296.296 0 0 1-.296.296H47.195a.296.296 0 0 1-.296-.296v-1.408c0-.163.133-.296.296-.296zm0-4c.164 0 .296.133.296.296v1.408a.296.296 0 0 1-.296.296H47.195a.296.296 0 0 1-.296-.296v-1.408c0-.163.133-.296.296-.296z",
336
+ fill: "#E9E9EB"
337
+ }),
338
+ /* @__PURE__ */ u("rect", {
339
+ x: "80.4148",
340
+ y: "66.9609",
341
+ width: "6.44508",
342
+ height: "1.95402",
343
+ rx: "0.295996",
344
+ fill: "#E9E9EB"
345
+ }),
346
+ /* @__PURE__ */ u("rect", {
347
+ x: "80.4148",
348
+ y: "62.7734",
349
+ width: "6.44508",
350
+ height: "1.95402",
351
+ rx: "0.295996",
352
+ fill: "#E9E9EB"
353
+ }),
354
+ /* @__PURE__ */ u("rect", {
355
+ x: "80.4148",
356
+ y: "58.5859",
357
+ width: "6.44508",
358
+ height: "1.95402",
359
+ rx: "0.295996",
360
+ fill: "#E9E9EB"
361
+ }),
362
+ /* @__PURE__ */ u("path", {
363
+ d: "M27.434 71.715h63.197v4.627a3 3 0 0 1-3 3H30.434a3 3 0 0 1-3-3z",
364
+ fill: "#F4F4F5"
365
+ }),
366
+ /* @__PURE__ */ u("rect", {
367
+ x: "31.8992",
368
+ y: "46.4102",
369
+ width: "26",
370
+ height: "3",
371
+ rx: "0.295996",
372
+ fill: "#C9C9C9",
373
+ "fill-opacity": "0.5"
374
+ }),
375
+ /* @__PURE__ */ u("rect", {
376
+ x: "81.8992",
377
+ y: "46.4102",
378
+ width: "5",
379
+ height: "4",
380
+ rx: "0.295996",
381
+ fill: "#EAF0F6"
382
+ }),
383
+ /* @__PURE__ */ u("rect", {
384
+ x: "30.8992",
385
+ y: "73.4102",
386
+ width: "56",
387
+ height: "2",
388
+ rx: "0.295996",
389
+ fill: "#C9C9C9",
390
+ "fill-opacity": "0.5"
391
+ }),
392
+ /* @__PURE__ */ u("rect", {
393
+ x: "30.8992",
394
+ y: "76.4102",
395
+ width: "56",
396
+ height: "2",
397
+ rx: "0.295996",
398
+ fill: "#C9C9C9",
399
+ "fill-opacity": "0.5"
400
+ }),
401
+ /* @__PURE__ */ u("g", {
402
+ "clip-path": "url(#clip1_25823_31181)",
403
+ children: /* @__PURE__ */ u("g", {
404
+ "clip-path": "url(#clip2_25823_31181)",
405
+ children: [
406
+ /* @__PURE__ */ u("rect", {
407
+ x: "31.2175",
408
+ y: "52.8086",
409
+ width: "14.1292",
410
+ height: "16.9552",
411
+ class: "IncodePassportIconFill"
412
+ }),
413
+ /* @__PURE__ */ u("path", {
414
+ d: "M45.602 67.29c.649 1.16 1.023 3.84 1.023 3.84H30.26s.373-2.68 1.022-3.84c.65-1.162 4.604-2.239 4.604-2.239.35.633 1.379 1.21 2.432 1.236 1.142.028 2.313-.55 2.677-1.236 0 0 3.957 1.077 4.606 2.238Z",
415
+ fill: "white"
416
+ }),
417
+ /* @__PURE__ */ u("path", {
418
+ d: "M36.52 64.13v.026q-.01.82-1.382 1.235c1.102.8 2.204 1.44 3.306 1.44s2.204-.64 3.306-1.44q-1.362-.414-1.382-1.237l.001-2.444c.066.01.06.004 0-.013.002-.686.005.212.01-.725.003-.937-3.922-1.775-3.864.797 0 .263.002 2.064.006 2.361Z",
419
+ fill: "url(#paint0_linear_25823_31181)"
420
+ }),
421
+ /* @__PURE__ */ u("path", {
422
+ d: "M36.469 62.872c1.613-.168 3.132.53 3.132.53s-.301 1.582-3.133 1.123z",
423
+ fill: "#CDCDCD"
424
+ }),
425
+ /* @__PURE__ */ u("path", {
426
+ d: "M45.602 67.29c.649 1.16 1.023 3.84 1.023 3.84H30.26s.373-2.68 1.022-3.84c.65-1.162 4.604-2.239 4.604-2.239 0 .704 1.365 1.72 2.432 1.737 1.487 0 2.677-1.033 2.677-1.737 0 0 3.957 1.077 4.606 2.238Z",
427
+ fill: "#CECECE"
428
+ }),
429
+ /* @__PURE__ */ u("path", {
430
+ d: "M35.146 59.56c.215-.358.483-.111.59.057l.15 1.596c-.005.138-.088.227-.305.254-.271.034-.45-.704-.513-.98-.062-.276-.19-.478.078-.926Z",
431
+ fill: "url(#paint1_linear_25823_31181)"
432
+ }),
433
+ /* @__PURE__ */ u("path", {
434
+ d: "M41.639 59.655c-.212-.361-.483-.117-.592.05l-.165 1.594c.004.139.087.228.303.257.271.037.457-.7.522-.975.066-.275.196-.476-.069-.927Z",
435
+ fill: "url(#paint2_linear_25823_31181)"
436
+ }),
437
+ /* @__PURE__ */ u("path", {
438
+ d: "M41.425 59.934c0 2.307-1.67 4.178-2.974 4.178-1.426 0-2.974-1.87-2.974-4.178 0-2.056.164-4.252 2.974-4.252s2.974 2.149 2.974 4.252Z",
439
+ fill: "url(#paint3_linear_25823_31181)"
440
+ })
441
+ ]
442
+ })
443
+ }),
444
+ /* @__PURE__ */ u("mask", {
445
+ id: "path-23-inside-1_25823_31181",
446
+ fill: "white",
447
+ children: /* @__PURE__ */ u("path", { d: "M87.629 6.285a3 3 0 0 1 3 3v33.539H27.517V9.285a3 3 0 0 1 3-3z" })
448
+ }),
449
+ /* @__PURE__ */ u("path", {
450
+ d: "M87.629 6.285a3 3 0 0 1 3 3v33.539H27.517V9.285a3 3 0 0 1 3-3z",
451
+ fill: "#F4F4F5"
452
+ }),
453
+ /* @__PURE__ */ u("path", {
454
+ d: "M90.629 6.285v36.539zM27.517 42.824V6.285zm0-36.539h63.112zm63.112 37.751H27.517v-2.425h63.112z",
455
+ fill: "#C9C9C9",
456
+ "fill-opacity": "0.8",
457
+ mask: "url(#path-23-inside-1_25823_31181)"
458
+ })
459
+ ]
460
+ }),
461
+ /* @__PURE__ */ u("defs", { children: [
462
+ /* @__PURE__ */ u("linearGradient", {
463
+ id: "paint0_linear_25823_31181",
464
+ x1: "38.1511",
465
+ y1: "61.9259",
466
+ x2: "38.1511",
467
+ y2: "65.1098",
468
+ gradientUnits: "userSpaceOnUse",
469
+ children: [/* @__PURE__ */ u("stop", { "stop-color": "#B1B1B1" }), /* @__PURE__ */ u("stop", {
470
+ offset: "1",
471
+ "stop-color": "white"
472
+ })]
473
+ }),
474
+ /* @__PURE__ */ u("linearGradient", {
475
+ id: "paint1_linear_25823_31181",
476
+ x1: "35.7261",
477
+ y1: "60.3676",
478
+ x2: "35.2086",
479
+ y2: "60.4633",
480
+ gradientUnits: "userSpaceOnUse",
481
+ children: [
482
+ /* @__PURE__ */ u("stop", {
483
+ offset: "0.171875",
484
+ "stop-color": "#BDBDBD"
485
+ }),
486
+ /* @__PURE__ */ u("stop", {
487
+ offset: "0.640625",
488
+ "stop-color": "#E1E1E1"
489
+ }),
490
+ /* @__PURE__ */ u("stop", {
491
+ offset: "1",
492
+ "stop-color": "#DDDDDD"
493
+ })
494
+ ]
495
+ }),
496
+ /* @__PURE__ */ u("linearGradient", {
497
+ id: "paint2_linear_25823_31181",
498
+ x1: "41.0508",
499
+ y1: "60.4556",
500
+ x2: "41.5674",
501
+ y2: "60.5562",
502
+ gradientUnits: "userSpaceOnUse",
503
+ children: [
504
+ /* @__PURE__ */ u("stop", {
505
+ offset: "0.0416667",
506
+ "stop-color": "#B5B5B5"
507
+ }),
508
+ /* @__PURE__ */ u("stop", {
509
+ offset: "0.362488",
510
+ "stop-color": "#E2E2E2"
511
+ }),
512
+ /* @__PURE__ */ u("stop", {
513
+ offset: "1",
514
+ "stop-color": "white"
515
+ })
516
+ ]
517
+ }),
518
+ /* @__PURE__ */ u("linearGradient", {
519
+ id: "paint3_linear_25823_31181",
520
+ x1: "35.8426",
521
+ y1: "59.8572",
522
+ x2: "40.0436",
523
+ y2: "59.8731",
524
+ gradientUnits: "userSpaceOnUse",
525
+ children: [/* @__PURE__ */ u("stop", { "stop-color": "#E0E0E0" }), /* @__PURE__ */ u("stop", {
526
+ offset: "1",
527
+ "stop-color": "white"
528
+ })]
529
+ }),
530
+ /* @__PURE__ */ u("clipPath", {
531
+ id: "clip0_25823_31181",
532
+ children: /* @__PURE__ */ u("rect", {
533
+ width: "118",
534
+ height: "86",
535
+ fill: "white"
536
+ })
537
+ }),
538
+ /* @__PURE__ */ u("clipPath", {
539
+ id: "clip1_25823_31181",
540
+ children: /* @__PURE__ */ u("rect", {
541
+ x: "31.2625",
542
+ y: "52.7891",
543
+ width: "14.0499",
544
+ height: "17.0253",
545
+ rx: "2",
546
+ fill: "white"
547
+ })
548
+ }),
549
+ /* @__PURE__ */ u("clipPath", {
550
+ id: "clip2_25823_31181",
551
+ children: /* @__PURE__ */ u("rect", {
552
+ width: "18.0004",
553
+ height: "18.0005",
554
+ fill: "white",
555
+ transform: "translate(29.4441 52.7891)"
556
+ })
557
+ })
558
+ ] })
559
+ ]
560
+ });
561
+ };
562
+ //#endregion
563
+ //#region src/modules/id/assets/deviceWalletsIcon.tsx
564
+ var DeviceWalletsIcon = () => {
565
+ return /* @__PURE__ */ u("svg", {
566
+ width: "60",
567
+ height: "60",
568
+ viewBox: "0 0 60 60",
569
+ fill: "none",
570
+ xmlns: "http://www.w3.org/2000/svg",
571
+ "aria-hidden": "true",
572
+ focusable: "false",
573
+ class: "IncodeDeviceWalletsIcon",
574
+ children: [
575
+ /* @__PURE__ */ u("title", { children: "Mobile Driver License icon" }),
576
+ /* @__PURE__ */ u("g", {
577
+ clipPath: "url(#clip0_26265_2591)",
578
+ children: /* @__PURE__ */ u("g", {
579
+ clipPath: "url(#clip1_26265_2591)",
580
+ children: /* @__PURE__ */ u("g", {
581
+ clipPath: "url(#clip2_26265_2591)",
582
+ children: [
583
+ /* @__PURE__ */ u("rect", {
584
+ x: "24.1111",
585
+ y: "10.0779",
586
+ width: "20.52",
587
+ height: "42.066",
588
+ rx: "2.565",
589
+ fill: "#C9C9C9",
590
+ fillOpacity: "0.15"
591
+ }),
592
+ /* @__PURE__ */ u("rect", {
593
+ x: "18.3396",
594
+ y: "49.7073",
595
+ width: "41.8095",
596
+ height: "23.3415",
597
+ rx: "2.69325",
598
+ transform: "rotate(-90 18.3396 49.7073)",
599
+ fill: "#F7F7F7",
600
+ stroke: "#D4D4D4",
601
+ strokeWidth: "0.769499"
602
+ }),
603
+ /* @__PURE__ */ u("path", {
604
+ d: "M20.06 13.217c0-.85.688-1.539 1.538-1.539h16.823c.85 0 1.54.689 1.54 1.539v8.492c0 .85-.69 1.54-1.54 1.54H21.598c-.85 0-1.539-.69-1.539-1.54z",
605
+ fill: "#C9C9C9",
606
+ fillOpacity: "0.8"
607
+ }),
608
+ /* @__PURE__ */ u("path", {
609
+ d: "M20.522 13.167c0-.567.46-1.026 1.026-1.026H38.47c.567 0 1.026.46 1.026 1.026v8.593c0 .566-.46 1.026-1.026 1.026H21.548c-.567 0-1.026-.46-1.026-1.026z",
610
+ fill: "white"
611
+ }),
612
+ /* @__PURE__ */ u("path", {
613
+ d: "M30.244 19.75a.25.25 0 0 1 .25.25v.3a.25.25 0 0 1-.25.25h-1.63a.25.25 0 0 1-.25-.25V20a.25.25 0 0 1 .25-.25zm4.262-1.598a.25.25 0 0 1 .25.25v.3a.25.25 0 0 1-.25.25h-5.893a.25.25 0 0 1-.25-.25v-.3a.25.25 0 0 1 .25-.25zm-1.598-1.598a.25.25 0 0 1 .25.25v.3a.25.25 0 0 1-.25.25h-4.295a.25.25 0 0 1-.25-.25v-.3a.25.25 0 0 1 .25-.25zm0-1.598a.25.25 0 0 1 .25.25v.299a.25.25 0 0 1-.25.25h-4.295a.25.25 0 0 1-.25-.25v-.3a.25.25 0 0 1 .25-.25z",
614
+ fill: "#C9C9C9",
615
+ fillOpacity: "0.5"
616
+ }),
617
+ /* @__PURE__ */ u("rect", {
618
+ x: "21.9907",
619
+ y: "14.4548",
620
+ width: "5.61267",
621
+ height: "6.41448",
622
+ rx: "0.592504",
623
+ class: "IncodeDeviceWalletsIconFill"
624
+ }),
625
+ /* @__PURE__ */ u("path", {
626
+ d: "M23.907 18.977c-.003.207-.364.274-.606.507.422.304 1.03.508 1.452.508.49 0 1.057-.204 1.478-.508-.242-.233-.624-.3-.63-.507l.001-.927c0-1.33-1.746-2.12-1.698.022q.002.452.003.905Z",
627
+ fill: "url(#paint0_linear_26265_2591)"
628
+ }),
629
+ /* @__PURE__ */ u("path", {
630
+ d: "M25.862 19.218c.02.006 1.316.428 1.567.883.054.096.1.22.144.354a.59.59 0 0 1-.562.413h-4.427a.59.59 0 0 1-.593-.591v-.349c.471-.387 1.658-.71 1.658-.71 0 .278.69.712 1.106.719.581 0 1.107-.441 1.107-.719Z",
631
+ fill: "#CECECE"
632
+ }),
633
+ /* @__PURE__ */ u("path", {
634
+ d: "M23.907 18.142c.623-.066 1.21.444 1.21.444s-.116.627-1.21.445z",
635
+ fill: "#CDCDCD"
636
+ }),
637
+ /* @__PURE__ */ u("path", {
638
+ d: "M26.251 17.086a.247.247 0 0 0-.467-.155l-.17.43a.258.258 0 0 0 .204.35l.03.005a.26.26 0 0 0 .285-.19z",
639
+ fill: "url(#paint1_linear_26265_2591)"
640
+ }),
641
+ /* @__PURE__ */ u("path", {
642
+ d: "M23.337 17.073a.233.233 0 0 1 .45-.121l.121.45a.233.233 0 0 1-.45.12z",
643
+ fill: "url(#paint2_linear_26265_2591)"
644
+ }),
645
+ /* @__PURE__ */ u("path", {
646
+ d: "M26.08 17.017c0 1.021-.72 1.849-1.282 1.849-.615 0-1.282-.828-1.282-1.849 0-.909.07-1.88 1.282-1.88 1.21 0 1.282.95 1.282 1.88Z",
647
+ fill: "url(#paint3_linear_26265_2591)"
648
+ }),
649
+ /* @__PURE__ */ u("rect", {
650
+ x: "22.0591",
651
+ y: "43.936",
652
+ width: "15.903",
653
+ height: "3.078",
654
+ rx: "0.512999",
655
+ fill: "#E4E4E4"
656
+ })
657
+ ]
658
+ })
659
+ })
660
+ }),
661
+ /* @__PURE__ */ u("defs", { children: [
662
+ /* @__PURE__ */ u("linearGradient", {
663
+ id: "paint0_linear_26265_2591",
664
+ x1: "24.6409",
665
+ y1: "18.1316",
666
+ x2: "24.6409",
667
+ y2: "19.3392",
668
+ gradientUnits: "userSpaceOnUse",
669
+ children: [/* @__PURE__ */ u("stop", { stopColor: "#B1B1B1" }), /* @__PURE__ */ u("stop", {
670
+ offset: "1",
671
+ stopColor: "white"
672
+ })]
673
+ }),
674
+ /* @__PURE__ */ u("linearGradient", {
675
+ id: "paint1_linear_26265_2591",
676
+ x1: "25.7267",
677
+ y1: "17.4809",
678
+ x2: "26.0758",
679
+ y2: "17.4949",
680
+ gradientUnits: "userSpaceOnUse",
681
+ children: [/* @__PURE__ */ u("stop", {
682
+ offset: "0.0416667",
683
+ stopColor: "#B5B5B5"
684
+ }), /* @__PURE__ */ u("stop", {
685
+ offset: "1",
686
+ stopColor: "white"
687
+ })]
688
+ }),
689
+ /* @__PURE__ */ u("linearGradient", {
690
+ id: "paint2_linear_26265_2591",
691
+ x1: "23.614",
692
+ y1: "17.4808",
693
+ x2: "23.2649",
694
+ y2: "17.4948",
695
+ gradientUnits: "userSpaceOnUse",
696
+ children: [/* @__PURE__ */ u("stop", {
697
+ offset: "0.0416667",
698
+ stopColor: "#B5B5B5"
699
+ }), /* @__PURE__ */ u("stop", {
700
+ offset: "1",
701
+ stopColor: "white"
702
+ })]
703
+ }),
704
+ /* @__PURE__ */ u("linearGradient", {
705
+ id: "paint3_linear_26265_2591",
706
+ x1: "23.5474",
707
+ y1: "17.0021",
708
+ x2: "25.3582",
709
+ y2: "17.0087",
710
+ gradientUnits: "userSpaceOnUse",
711
+ children: [/* @__PURE__ */ u("stop", { stopColor: "#E0E0E0" }), /* @__PURE__ */ u("stop", {
712
+ offset: "1",
713
+ stopColor: "white"
714
+ })]
715
+ }),
716
+ /* @__PURE__ */ u("clipPath", {
717
+ id: "clip0_26265_2591",
718
+ children: /* @__PURE__ */ u("rect", {
719
+ width: "60",
720
+ height: "60",
721
+ fill: "white"
722
+ })
723
+ }),
724
+ /* @__PURE__ */ u("clipPath", {
725
+ id: "clip1_26265_2591",
726
+ children: /* @__PURE__ */ u("rect", {
727
+ width: "60",
728
+ height: "60",
729
+ fill: "white",
730
+ transform: "translate(0.5 0.5)"
731
+ })
732
+ }),
733
+ /* @__PURE__ */ u("clipPath", {
734
+ id: "clip2_26265_2591",
735
+ children: /* @__PURE__ */ u("rect", {
736
+ width: "60.5339",
737
+ height: "45.144",
738
+ fill: "white",
739
+ transform: "translate(0 7)"
740
+ })
741
+ })
742
+ ] })
743
+ ]
744
+ });
745
+ };
746
+ //#endregion
747
+ //#region src/modules/id/assets/digitalIdIcon.tsx
748
+ var DigitalIdIcon = () => {
749
+ return /* @__PURE__ */ u("svg", {
750
+ width: "61",
751
+ height: "61",
752
+ viewBox: "0 0 61 61",
753
+ fill: "none",
754
+ xmlns: "http://www.w3.org/2000/svg",
755
+ "aria-hidden": "true",
756
+ focusable: "false",
757
+ class: "IncodeDigitalIdIcon",
758
+ children: [
759
+ /* @__PURE__ */ u("title", { children: "Digital ID Icon" }),
760
+ /* @__PURE__ */ u("g", {
761
+ clipPath: "url(#clip0_24620_2022)",
762
+ children: [
763
+ /* @__PURE__ */ u("g", {
764
+ clipPath: "url(#clip1_24620_2022)",
765
+ children: [
766
+ /* @__PURE__ */ u("path", {
767
+ d: "M15.792 9.262c0-.752.609-1.36 1.36-1.36H44.02c.751 0 1.36.608 1.36 1.36v41.15a1.36 1.36 0 0 1-1.36 1.36H17.152a1.36 1.36 0 0 1-1.36-1.36z",
768
+ fill: "white"
769
+ }),
770
+ /* @__PURE__ */ u("rect", {
771
+ x: "31.0889",
772
+ y: "13.8564",
773
+ width: "12.9231",
774
+ height: "15.8138",
775
+ rx: "1.36032",
776
+ fill: "#EAF0F6"
777
+ }),
778
+ /* @__PURE__ */ u("path", {
779
+ fillRule: "evenodd",
780
+ clipRule: "evenodd",
781
+ d: "M36.047 19.967c0 .215-.175.39-.39.39h-1.4a.39.39 0 0 1-.39-.39v-1.4c0-.215.175-.39.39-.39h1.4a.39.39 0 0 1 .39.39zm-.39-2.708h-1.4a1.31 1.31 0 0 0-1.309 1.309v1.399a1.31 1.31 0 0 0 1.31 1.309h1.398a1.31 1.31 0 0 0 1.31-1.309v-1.4a1.31 1.31 0 0 0-1.31-1.308Z",
782
+ class: "IncodeDigitalIdIconFill"
783
+ }),
784
+ /* @__PURE__ */ u("path", {
785
+ fillRule: "evenodd",
786
+ clipRule: "evenodd",
787
+ d: "M34.957 18.809a.46.46 0 0 0-.459.461.46.46 0 0 0 .918 0v-.005a.457.457 0 0 0-.459-.456Z",
788
+ class: "IncodeDigitalIdIconFill"
789
+ }),
790
+ /* @__PURE__ */ u("path", {
791
+ fillRule: "evenodd",
792
+ clipRule: "evenodd",
793
+ d: "M34.957 23.974a.46.46 0 0 0-.459.462.46.46 0 0 0 .918 0v-.006a.457.457 0 0 0-.459-.456Z",
794
+ class: "IncodeDigitalIdIconFill"
795
+ }),
796
+ /* @__PURE__ */ u("path", {
797
+ fillRule: "evenodd",
798
+ clipRule: "evenodd",
799
+ d: "M36.047 25.132c0 .215-.175.39-.39.39h-1.4a.39.39 0 0 1-.39-.39v-1.4c0-.215.175-.39.39-.39h1.4a.39.39 0 0 1 .39.39zm-.39-2.708h-1.4a1.31 1.31 0 0 0-1.309 1.309v1.399a1.31 1.31 0 0 0 1.31 1.309h1.398a1.31 1.31 0 0 0 1.31-1.309v-1.4a1.31 1.31 0 0 0-1.31-1.308Z",
800
+ class: "IncodeDigitalIdIconFill"
801
+ }),
802
+ /* @__PURE__ */ u("path", {
803
+ fillRule: "evenodd",
804
+ clipRule: "evenodd",
805
+ d: "M41.224 25.132c0 .215-.175.39-.39.39h-1.4a.39.39 0 0 1-.39-.39v-1.4c0-.215.175-.39.39-.39h1.4a.39.39 0 0 1 .39.39zm-.39-2.708h-1.4a1.31 1.31 0 0 0-1.309 1.309v1.399a1.31 1.31 0 0 0 1.309 1.309h1.4a1.31 1.31 0 0 0 1.308-1.309v-1.4a1.31 1.31 0 0 0-1.309-1.308Z",
806
+ class: "IncodeDigitalIdIconFill"
807
+ }),
808
+ /* @__PURE__ */ u("path", {
809
+ fillRule: "evenodd",
810
+ clipRule: "evenodd",
811
+ d: "M40.118 23.966a.46.46 0 0 0-.459.459v.005c0 .253.206.456.46.456a.461.461 0 0 0 0-.92Z",
812
+ class: "IncodeDigitalIdIconFill"
813
+ }),
814
+ /* @__PURE__ */ u("path", {
815
+ fillRule: "evenodd",
816
+ clipRule: "evenodd",
817
+ d: "M38.584 18.18a.46.46 0 0 0 .46-.46v-.005a.457.457 0 0 0-.46-.456.46.46 0 0 0-.459.462c0 .253.206.459.46.459Z",
818
+ class: "IncodeDigitalIdIconFill"
819
+ }),
820
+ /* @__PURE__ */ u("path", {
821
+ fillRule: "evenodd",
822
+ clipRule: "evenodd",
823
+ d: "M40.993 17.259h-.875a.459.459 0 1 0 0 .918h.875c.119 0 .216.097.216.216v.874a.459.459 0 1 0 .918 0v-.874c0-.626-.509-1.134-1.134-1.134Z",
824
+ class: "IncodeDigitalIdIconFill"
825
+ }),
826
+ /* @__PURE__ */ u("path", {
827
+ fillRule: "evenodd",
828
+ clipRule: "evenodd",
829
+ d: "M41.668 20.355h-1.55a.46.46 0 0 0 0 .918h1.55a.46.46 0 0 0 0-.918Z",
830
+ class: "IncodeDigitalIdIconFill"
831
+ }),
832
+ /* @__PURE__ */ u("path", {
833
+ fillRule: "evenodd",
834
+ clipRule: "evenodd",
835
+ d: "M38.584 21.276a.46.46 0 0 0 .46-.459v-.874c0-.12.096-.216.215-.216h.874a.46.46 0 0 0 0-.918h-.874c-.625 0-1.134.508-1.134 1.134v.874c0 .253.206.46.46.46Z",
836
+ class: "IncodeDigitalIdIconFill"
837
+ }),
838
+ /* @__PURE__ */ u("rect", {
839
+ x: "18.0088",
840
+ y: "32.5596",
841
+ width: "10.3725",
842
+ height: "2.04049",
843
+ rx: "0.680162",
844
+ fill: "#EBECEF"
845
+ }),
846
+ /* @__PURE__ */ u("rect", {
847
+ x: "15.792",
848
+ y: "10.2881",
849
+ width: "29.587",
850
+ height: "2.04049",
851
+ fill: "#EBECEF"
852
+ }),
853
+ /* @__PURE__ */ u("rect", {
854
+ x: "18.0088",
855
+ y: "36.1318",
856
+ width: "10.3725",
857
+ height: "2.04049",
858
+ rx: "0.680162",
859
+ fill: "#EBECEF"
860
+ }),
861
+ /* @__PURE__ */ u("rect", {
862
+ x: "18.0088",
863
+ y: "39.7002",
864
+ width: "13.7733",
865
+ height: "2.04049",
866
+ rx: "0.680162",
867
+ fill: "#EBECEF"
868
+ })
869
+ ]
870
+ }),
871
+ /* @__PURE__ */ u("path", {
872
+ d: "M44.019 7.405c1.025 0 1.856.832 1.856 1.857v41.15a1.857 1.857 0 0 1-1.856 1.856H17.152a1.857 1.857 0 0 1-1.856-1.857V9.261c0-1.024.831-1.856 1.856-1.856z",
873
+ stroke: "#EBECEF",
874
+ "stroke-width": "0.991903"
875
+ }),
876
+ /* @__PURE__ */ u("g", {
877
+ clipPath: "url(#clip2_24620_2022)",
878
+ children: [
879
+ /* @__PURE__ */ u("rect", {
880
+ x: "17.1406",
881
+ y: "13.9385",
882
+ width: "12.9231",
883
+ height: "15.7324",
884
+ rx: "0.936455",
885
+ class: "IncodeDigitalIdIconFill"
886
+ }),
887
+ /* @__PURE__ */ u("path", {
888
+ d: "M21.83 24.439v.024q-.008.76-1.28 1.143c1.021.741 2.042 1.334 3.062 1.334s2.04-.593 3.061-1.334q-1.261-.384-1.28-1.145c0-.193 0-2.07.002-2.263.06.009.055.003 0-.012.001-.635.004.196.008-.671.004-.868-3.631-1.644-3.578.738.001.243.003 1.91.006 2.186Z",
889
+ fill: "url(#paint0_linear_24620_2022)"
890
+ }),
891
+ /* @__PURE__ */ u("path", {
892
+ d: "M30.064 27.331v1.405c0 .517-.42.936-.937.936h-11.05a.936.936 0 0 1-.936-.936v-1.368c.6-1.075 4.097-2.073 4.097-2.073.324.586 1.276 1.12 2.251 1.145 1.058.026 2.142-.509 2.48-1.145 0 0 3.494.96 4.095 2.036Z",
893
+ fill: "#CECECE"
894
+ }),
895
+ /* @__PURE__ */ u("path", {
896
+ d: "M21.79 23.277c1.494-.155 2.9.492 2.9.492s-.278 1.464-2.9 1.039z",
897
+ fill: "#CDCDCD"
898
+ }),
899
+ /* @__PURE__ */ u("path", {
900
+ d: "M20.557 20.208c.2-.332.448-.104.547.052l.139 1.477c-.005.129-.082.21-.283.236-.25.032-.417-.652-.475-.908-.058-.255-.177-.442.072-.857Z",
901
+ fill: "url(#paint1_linear_24620_2022)"
902
+ }),
903
+ /* @__PURE__ */ u("path", {
904
+ d: "M26.57 20.29c-.195-.333-.446-.107-.547.048l-.153 1.476c.004.128.08.21.28.238.252.034.424-.648.484-.903s.182-.44-.063-.858Z",
905
+ fill: "url(#paint2_linear_24620_2022)"
906
+ }),
907
+ /* @__PURE__ */ u("path", {
908
+ d: "M26.368 20.554c0 2.136-1.546 3.868-2.754 3.868-1.32 0-2.754-1.732-2.754-3.868 0-1.904.152-3.938 2.754-3.938s2.754 1.99 2.754 3.938Z",
909
+ fill: "#FAFAFA"
910
+ })
911
+ ]
912
+ })
913
+ ]
914
+ }),
915
+ /* @__PURE__ */ u("defs", { children: [
916
+ /* @__PURE__ */ u("linearGradient", {
917
+ id: "paint0_linear_24620_2022",
918
+ x1: "23.3405",
919
+ y1: "22.3978",
920
+ x2: "23.3405",
921
+ y2: "25.346",
922
+ gradientUnits: "userSpaceOnUse",
923
+ children: [/* @__PURE__ */ u("stop", { stopColor: "#B1B1B1" }), /* @__PURE__ */ u("stop", {
924
+ offset: "1",
925
+ stopColor: "white"
926
+ })]
927
+ }),
928
+ /* @__PURE__ */ u("linearGradient", {
929
+ id: "paint1_linear_24620_2022",
930
+ x1: "21.0945",
931
+ y1: "20.9548",
932
+ x2: "20.6152",
933
+ y2: "21.0435",
934
+ gradientUnits: "userSpaceOnUse",
935
+ children: [
936
+ /* @__PURE__ */ u("stop", {
937
+ offset: "0.171875",
938
+ stopColor: "#BDBDBD"
939
+ }),
940
+ /* @__PURE__ */ u("stop", {
941
+ offset: "0.640625",
942
+ stopColor: "#E1E1E1"
943
+ }),
944
+ /* @__PURE__ */ u("stop", {
945
+ offset: "1",
946
+ stopColor: "#DDDDDD"
947
+ })
948
+ ]
949
+ }),
950
+ /* @__PURE__ */ u("linearGradient", {
951
+ id: "paint2_linear_24620_2022",
952
+ x1: "26.0263",
953
+ y1: "21.0327",
954
+ x2: "26.5047",
955
+ y2: "21.1259",
956
+ gradientUnits: "userSpaceOnUse",
957
+ children: [
958
+ /* @__PURE__ */ u("stop", {
959
+ offset: "0.0416667",
960
+ stopColor: "#B5B5B5"
961
+ }),
962
+ /* @__PURE__ */ u("stop", {
963
+ offset: "0.362488",
964
+ stopColor: "#E2E2E2"
965
+ }),
966
+ /* @__PURE__ */ u("stop", {
967
+ offset: "1",
968
+ stopColor: "white"
969
+ })
970
+ ]
971
+ }),
972
+ /* @__PURE__ */ u("clipPath", {
973
+ id: "clip0_24620_2022",
974
+ children: /* @__PURE__ */ u("rect", {
975
+ width: "60",
976
+ height: "60",
977
+ fill: "white",
978
+ transform: "translate(0.5 0.5)"
979
+ })
980
+ }),
981
+ /* @__PURE__ */ u("clipPath", {
982
+ id: "clip1_24620_2022",
983
+ children: /* @__PURE__ */ u("path", {
984
+ d: "M15.792 9.262c0-.752.609-1.36 1.36-1.36H44.02c.751 0 1.36.608 1.36 1.36v41.15a1.36 1.36 0 0 1-1.36 1.36H17.152a1.36 1.36 0 0 1-1.36-1.36z",
985
+ fill: "white"
986
+ })
987
+ }),
988
+ /* @__PURE__ */ u("clipPath", {
989
+ id: "clip2_24620_2022",
990
+ children: /* @__PURE__ */ u("rect", {
991
+ x: "17.1406",
992
+ y: "13.9385",
993
+ width: "12.9231",
994
+ height: "15.7324",
995
+ rx: "0.680162",
996
+ fill: "white"
997
+ })
998
+ })
999
+ ] })
1000
+ ]
1001
+ });
1002
+ };
1003
+ //#endregion
1004
+ //#region src/modules/id/chooser/chooser.constants.ts
1005
+ var CHOOSER_OPTIONS_LOOKUP = {
1006
+ digitalIdRedirect: {
1007
+ type: "digitalIdRedirect",
1008
+ icon: DigitalIdIcon,
1009
+ title: "idv2.chooser.digitalIdRedirectButtonTitle",
1010
+ testId: "verification-option-digitalIdRedirect",
1011
+ weight: 6
1012
+ },
1013
+ digitalIdUpload: {
1014
+ type: "digitalIdUpload",
1015
+ icon: DigitalIdIcon,
1016
+ title: "idv2.chooser.digitalIdUploadButtonTitle",
1017
+ testId: "verification-option-digitalIdUpload",
1018
+ weight: 2
1019
+ },
1020
+ id: {
1021
+ type: "id",
1022
+ icon: IdCardIcon,
1023
+ title: "idv2.chooser.idButtonTitle",
1024
+ testId: "verification-option-id",
1025
+ weight: 3
1026
+ },
1027
+ passport: {
1028
+ type: "passport",
1029
+ icon: PassportIcon,
1030
+ title: "idv2.chooser.passportButtonTitle",
1031
+ testId: "verification-option-passport",
1032
+ weight: 4
1033
+ },
1034
+ digitalId: {
1035
+ icon: DeviceWalletsIcon,
1036
+ title: "idv2.chooser.digitalIdButtonTitle",
1037
+ testId: "verification-option-digitalId",
1038
+ type: "digitalId",
1039
+ weight: 5
1040
+ }
1041
+ };
1042
+ //#endregion
1043
+ //#region src/modules/id/chooser/digitalIdProviderLogos.ts
1044
+ /**
1045
+ * Digital-ID provider logos, keyed by provider id.
1046
+ *
1047
+ * The backend's `digitalIds.methods[].logoUrl` currently carries bare asset
1048
+ * file names (`idin.svg`), which would resolve against the host page and
1049
+ * render broken. Until it sends absolute links, the chooser card falls back to
1050
+ * this map. A backend-sent absolute URL always wins — see `toCardLogoSrc` in
1051
+ * `chooser.helpers.ts`.
1052
+ *
1053
+ * **The full Trinsic catalog is kept here on purpose**, including providers the
1054
+ * SDK does not offer yet, so adding one is a lookup rather than a hunt. Source:
1055
+ * the Trinsic integrations catalog (`content.trinsic.id/connect/integrations`).
1056
+ *
1057
+ * Keys are the Trinsic provider ids. {@link getDigitalIdProviderLogo}
1058
+ * normalises before looking up, so the vendor-prefixed form the SDK and
1059
+ * `ms-credential-verification` use (`trinsic_netherlands_idin`) finds
1060
+ * `netherlands-idin` too.
1061
+ *
1062
+ * `name` is the catalog's display name. It is reference data — the card shows
1063
+ * the backend's `displayName` — but it is what makes this list searchable by
1064
+ * the name a person actually knows the provider by.
1065
+ */
1066
+ var DIGITAL_ID_PROVIDER_LOGOS = {
1067
+ "a-mojeid": {
1068
+ name: "MojeID login",
1069
+ logoUrl: "https://content.trinsic.id/connect/integrations/mojeid.png"
1070
+ },
1071
+ "australia-connect-id": {
1072
+ name: "ConnectID",
1073
+ logoUrl: "https://content.trinsic.id/connect/integrations/connectid-logo.png"
1074
+ },
1075
+ "austria-valera-eudi-sandbox": {
1076
+ name: "Austria Valera EUDI Sandbox",
1077
+ logoUrl: "https://content.trinsic.id/connect/integrations/austria-valera-eudi-sandbox.png"
1078
+ },
1079
+ "belgium-itsme": {
1080
+ name: "itsme",
1081
+ logoUrl: "https://content.trinsic.id/connect/integrations/itsme.svg"
1082
+ },
1083
+ "brazil-cpf-lookup": {
1084
+ name: "Brazil CPF Check",
1085
+ logoUrl: "https://content.trinsic.id/connect/integrations/cpf.png"
1086
+ },
1087
+ "brazil-digital-cnh": {
1088
+ name: "Brazil Digital CNH",
1089
+ logoUrl: "https://content.trinsic.id/connect/integrations/cnh.png"
1090
+ },
1091
+ clear: {
1092
+ name: "CLEAR",
1093
+ logoUrl: "https://content.trinsic.id/connect/integrations/clear.svg"
1094
+ },
1095
+ "czech-bank-id": {
1096
+ name: "Czech Bank iD",
1097
+ logoUrl: "https://content.trinsic.id/connect/integrations/czech-bank-id.png"
1098
+ },
1099
+ "czech-republic-mojeid": {
1100
+ name: "MojeID Czech",
1101
+ logoUrl: "https://content.trinsic.id/connect/integrations/mojeid.png"
1102
+ },
1103
+ "denmark-altid": {
1104
+ name: "AltID",
1105
+ logoUrl: "https://content.trinsic.id/connect/integrations/denmark-altid.png"
1106
+ },
1107
+ "denmark-mitid": {
1108
+ name: "MitID",
1109
+ logoUrl: "https://content.trinsic.id/connect/integrations/mitid-logo.svg"
1110
+ },
1111
+ "document-scan": {
1112
+ name: "Scan your government ID",
1113
+ logoUrl: "https://content.trinsic.id/connect/integrations/document-scan.png"
1114
+ },
1115
+ "eudi-reference-wallet": {
1116
+ name: "EUDI Reference Wallet",
1117
+ logoUrl: "https://content.trinsic.id/connect/integrations/eudi-reference-wallet.png"
1118
+ },
1119
+ "finnish-trust-network": {
1120
+ name: "Finnish Trust Network",
1121
+ logoUrl: "https://content.trinsic.id/connect/integrations/ftn.png"
1122
+ },
1123
+ "france-identite": {
1124
+ name: "France Identité",
1125
+ logoUrl: "https://content.trinsic.id/connect/integrations/france-identite.png"
1126
+ },
1127
+ "france-identite-numerique": {
1128
+ name: "L'Identité Numérique",
1129
+ logoUrl: "https://content.trinsic.id/connect/integrations/france-identite-numerique.png"
1130
+ },
1131
+ "germany-eudi-sandbox": {
1132
+ name: "Germany EUDI Sandbox",
1133
+ logoUrl: "https://content.trinsic.id/connect/integrations/germany-eudi-sandbox.png"
1134
+ },
1135
+ "google-wallet": {
1136
+ name: "Google Wallet",
1137
+ logoUrl: "https://content.trinsic.id/connect/integrations/google-wallet.png"
1138
+ },
1139
+ "india-digilocker-aadhaar": {
1140
+ name: "DigiLocker (Aadhaar)",
1141
+ logoUrl: "https://content.trinsic.id/connect/integrations/aadhaar.png"
1142
+ },
1143
+ "indonesia-dukcapil-match": {
1144
+ name: "Indonesia Identity Verification",
1145
+ logoUrl: "https://content.trinsic.id/connect/integrations/indonesia-dukcapil-match.png"
1146
+ },
1147
+ "italy-spid": {
1148
+ name: "SPID",
1149
+ logoUrl: "https://content.trinsic.id/connect/integrations/spid.svg"
1150
+ },
1151
+ "kenya-nid-lookup-3": {
1152
+ name: "Kenya NID Lookup",
1153
+ logoUrl: "https://content.trinsic.id/connect/integrations/ke-nid.png"
1154
+ },
1155
+ "kenya-nid-match-2": {
1156
+ name: "Kenya NID Match",
1157
+ logoUrl: "https://content.trinsic.id/connect/integrations/ke-nid.png"
1158
+ },
1159
+ "mobile-id": {
1160
+ name: "Mobile-ID",
1161
+ logoUrl: "https://content.trinsic.id/connect/integrations/mobiil-id-logo.svg"
1162
+ },
1163
+ "moldova-evo-wallet": {
1164
+ name: "EVO Wallet",
1165
+ logoUrl: "https://content.trinsic.id/connect/integrations/moldova-evo-wallet.png"
1166
+ },
1167
+ "netherlands-idin": {
1168
+ name: "IDIN",
1169
+ logoUrl: "https://content.trinsic.id/connect/integrations/idin-logo.svg"
1170
+ },
1171
+ "nigeria-nin-lookup-2": {
1172
+ name: "Nigeria NIN Lookup",
1173
+ logoUrl: "https://content.trinsic.id/connect/integrations/ng-nin.png"
1174
+ },
1175
+ "nigeria-nin-lookup-3": {
1176
+ name: "Nigeria NIN Lookup",
1177
+ logoUrl: "https://content.trinsic.id/connect/integrations/ng-nin.png"
1178
+ },
1179
+ "nigeria-nin-match-2": {
1180
+ name: "Nigeria NIN Match",
1181
+ logoUrl: "https://content.trinsic.id/connect/integrations/ng-nin.png"
1182
+ },
1183
+ "norway-bankid": {
1184
+ name: "BankID Norway",
1185
+ logoUrl: "https://content.trinsic.id/connect/integrations/no-bankid.png"
1186
+ },
1187
+ oneid: {
1188
+ name: "OneID",
1189
+ logoUrl: "https://content.trinsic.id/connect/integrations/oneid-logo.svg"
1190
+ },
1191
+ "philippines-digital-national-id-qr": {
1192
+ name: "Digital National ID",
1193
+ logoUrl: "https://content.trinsic.id/connect/integrations/philsys-logo.png"
1194
+ },
1195
+ "philippines-philsys-match": {
1196
+ name: "PhilSys Biometric Verification",
1197
+ logoUrl: "https://content.trinsic.id/connect/integrations/philsys-logo.png"
1198
+ },
1199
+ "philippines-physical-national-id-qr": {
1200
+ name: "Philippines National ID",
1201
+ logoUrl: "https://content.trinsic.id/connect/integrations/philsys-logo.png"
1202
+ },
1203
+ "singpass-login": {
1204
+ name: "Singpass",
1205
+ logoUrl: "https://content.trinsic.id/connect/integrations/singpass-logo.png"
1206
+ },
1207
+ "singpass-myinfo": {
1208
+ name: "Singpass",
1209
+ logoUrl: "https://content.trinsic.id/connect/integrations/singpass-logo.png"
1210
+ },
1211
+ "smart-id": {
1212
+ name: "Smart-ID",
1213
+ logoUrl: "https://content.trinsic.id/connect/integrations/smart-id-logo.svg"
1214
+ },
1215
+ "south-africa-nid-lookup-2": {
1216
+ name: "South Africa NID Lookup",
1217
+ logoUrl: "https://content.trinsic.id/connect/integrations/za-nid.png"
1218
+ },
1219
+ "south-africa-nid-match-2": {
1220
+ name: "South Africa NID Match",
1221
+ logoUrl: "https://content.trinsic.id/connect/integrations/za-nid.png"
1222
+ },
1223
+ "sweden-bankid": {
1224
+ name: "BankID Sweden",
1225
+ logoUrl: "https://content.trinsic.id/connect/integrations/se-bankid.svg"
1226
+ },
1227
+ "uganda-nid-match-2": {
1228
+ name: "Uganda NID",
1229
+ logoUrl: "https://content.trinsic.id/connect/integrations/ug-nid.png"
1230
+ },
1231
+ "uk-evisa-lookup": {
1232
+ name: "UK eVisa Lookup",
1233
+ logoUrl: "https://content.trinsic.id/connect/integrations/uk-evisa.svg"
1234
+ },
1235
+ "usa-louisiana-wallet": {
1236
+ name: "LA Wallet",
1237
+ logoUrl: "https://content.trinsic.id/connect/integrations/la-wallet.png"
1238
+ },
1239
+ "zimbabwe-nid-lookup-2": {
1240
+ name: "Zimbabwe NID Lookup",
1241
+ logoUrl: "https://content.trinsic.id/connect/integrations/zw-nid.png"
1242
+ },
1243
+ "trinsic-mock-output": {
1244
+ name: "Mock - Output",
1245
+ logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
1246
+ },
1247
+ "trinsic-test-database-lookup": {
1248
+ name: "Mock - Database Lookup",
1249
+ logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
1250
+ },
1251
+ "trinsic-test-deeplink": {
1252
+ name: "Mock - DeeplinkToMobile",
1253
+ logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
1254
+ },
1255
+ "trinsic-test-deeplink-refresh": {
1256
+ name: "Mock - DeeplinkToMobile + RefreshStepContent",
1257
+ logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
1258
+ },
1259
+ "trinsic-test-delayed-results": {
1260
+ name: "Mock - Delayed Results",
1261
+ logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
1262
+ },
1263
+ "trinsic-test-handoff": {
1264
+ name: "Mock - Handoff",
1265
+ logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
1266
+ },
1267
+ "trinsic-test-offline": {
1268
+ name: "Mock - Offline",
1269
+ logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
1270
+ },
1271
+ "trinsic-test-redirect": {
1272
+ name: "Mock - Redirect",
1273
+ logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
1274
+ },
1275
+ "trinsic-test-show-content": {
1276
+ name: "Mock - ShowContent",
1277
+ logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
1278
+ },
1279
+ "trinsic-test-show-content-refresh": {
1280
+ name: "Mock - ShowContent + RefreshStepContent",
1281
+ logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
1282
+ },
1283
+ "trinsic-test-sub-providers": {
1284
+ name: "Mock - Sub-providers",
1285
+ logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
1286
+ }
1287
+ };
1288
+ /**
1289
+ * The map's key form: lowercased, `_` as `-`, and the vendor prefix dropped so
1290
+ * `trinsic_netherlands_idin` (what the SDK and `ms-credential-verification`
1291
+ * use) finds `netherlands-idin` (what Trinsic publishes).
1292
+ *
1293
+ * The `trinsic-test-*` / `trinsic-mock-*` keys keep their prefix: it is part of
1294
+ * the name there, and dropping only the first segment leaves `test-redirect`,
1295
+ * which is still distinct from every real provider.
1296
+ */
1297
+ function toLogoKey(providerId) {
1298
+ return providerId.toLowerCase().replace(/_/g, "-");
1299
+ }
1300
+ /**
1301
+ * The catalog logo for a provider id, or `undefined` when the map does not
1302
+ * carry it — the card then falls back to the generic digital-ID glyph.
1303
+ */
1304
+ function getDigitalIdProviderLogo(providerId) {
1305
+ if (!providerId) return;
1306
+ const key = toLogoKey(providerId);
1307
+ return DIGITAL_ID_PROVIDER_LOGOS[key]?.logoUrl ?? DIGITAL_ID_PROVIDER_LOGOS[key.replace(/^trinsic-/, "")]?.logoUrl;
1308
+ }
1309
+ //#endregion
1310
+ //#region src/modules/id/chooser/chooser.helpers.ts
1311
+ /**
1312
+ * The card logo: the backend's own link when it is absolute, else the catalog
1313
+ * logo for the provider (`digitalIdProviderLogos`), else nothing — the card
1314
+ * then renders the generic digital-ID glyph.
1315
+ *
1316
+ * The backend catalog still carries bare asset file names (`idin.svg`) for
1317
+ * some methods. Those would resolve against the host page and render broken,
1318
+ * so they are ignored in favour of the catalog map.
1319
+ */
1320
+ function toCardLogoSrc(logoUrl, providerId) {
1321
+ if (logoUrl && /^(https?:\/\/|data:)/i.test(logoUrl)) return logoUrl;
1322
+ return getDigitalIdProviderLogo(providerId);
1323
+ }
1324
+ /**
1325
+ * Expands the `digitalIdRedirect` document type into one card per enabled
1326
+ * web-redirect provider (iDIN, FTN, …) in backend order. With no provider
1327
+ * options (e.g. the mDL wallet fallback) the generic redirect card is kept.
1328
+ */
1329
+ function toDigitalIdRedirectCards(digitalIdRedirectOptions) {
1330
+ const base = CHOOSER_OPTIONS_LOOKUP.digitalIdRedirect;
1331
+ if (digitalIdRedirectOptions.length === 0) return [{
1332
+ ...base,
1333
+ key: base.type
1334
+ }];
1335
+ return digitalIdRedirectOptions.map((option) => ({
1336
+ ...base,
1337
+ key: `${base.type}:${option.providerId}`,
1338
+ testId: `${base.testId}-${option.providerId}`,
1339
+ providerId: option.providerId,
1340
+ displayName: option.displayName,
1341
+ iconSrc: toCardLogoSrc(option.logoUrl, option.providerId)
1342
+ }));
1343
+ }
1344
+ function getAvailableChooserOptions(availableDocumentTypes, digitalIdRedirectOptions = []) {
1345
+ const cards = [];
1346
+ for (const documentType of availableDocumentTypes) {
1347
+ if (documentType === "digitalIdRedirect") {
1348
+ cards.push(...toDigitalIdRedirectCards(digitalIdRedirectOptions));
1349
+ continue;
1350
+ }
1351
+ const chooserOption = CHOOSER_OPTIONS_LOOKUP[documentType];
1352
+ if (chooserOption) cards.push({
1353
+ ...chooserOption,
1354
+ key: chooserOption.type
1355
+ });
1356
+ }
1357
+ return cards.sort((cardA, cardB) => cardA.weight - cardB.weight);
1358
+ }
1359
+ /** Chooser cards that verify with a digital ID rather than a physical one. */
1360
+ var DIGITAL_ID_CARD_TYPES = new Set([
1361
+ "digitalId",
1362
+ "digitalIdUpload",
1363
+ "digitalIdRedirect"
1364
+ ]);
1365
+ /** Position of a digital-ID card type inside the digital section. */
1366
+ var DIGITAL_ID_SECTION_ORDER = {
1367
+ digitalId: 0,
1368
+ digitalIdUpload: 1,
1369
+ digitalIdRedirect: 2
1370
+ };
1371
+ /**
1372
+ * Splits the sorted chooser cards into "Use your ID" and "Digital ID
1373
+ * verification". Never adds or drops cards: physical documents keep their
1374
+ * order, and the digital section is wallet → Upload Digital ID → redirect
1375
+ * providers (stable, so the providers keep their ranking).
1376
+ */
1377
+ function getChooserCardSections(cards) {
1378
+ const useYourId = cards.filter((card) => !DIGITAL_ID_CARD_TYPES.has(card.type));
1379
+ const digitalId = cards.filter((card) => DIGITAL_ID_CARD_TYPES.has(card.type)).sort((cardA, cardB) => DIGITAL_ID_SECTION_ORDER[cardA.type] - DIGITAL_ID_SECTION_ORDER[cardB.type]);
1380
+ return {
1381
+ useYourId,
1382
+ digitalId,
1383
+ showTitles: cards.length > 2 && useYourId.length > 0 && digitalId.length > 0
1384
+ };
1385
+ }
1386
+ /**
1387
+ * Description key for the Digital ID (device wallet) card, naming the wallet
1388
+ * the device certainly reaches. `undefined` when the OS is not certain (e.g.
1389
+ * macOS Chrome): the card then shows no description.
1390
+ *
1391
+ * Intentional (ENG-52842 product copy): the description names the wallet
1392
+ * family of the *device*, not the wallet methods enabled for the flow. Which
1393
+ * wallets are eligible is decided in core (`hasEligibleDeviceWallet`), and that
1394
+ * only decides whether the card shows at all. The card itself launches one
1395
+ * handshake that lets the OS offer whichever wallet holds the ID, so the copy
1396
+ * stays device-level. Narrowing it to the configured methods (e.g. Samsung
1397
+ * Internet with only Google Wallet enabled) needs new per-method copy from
1398
+ * product and is out of scope here.
1399
+ */
1400
+ function getDigitalIdWalletDescriptionKey(walletDevice) {
1401
+ switch (walletDevice) {
1402
+ case "apple": return "idv2.chooser.digitalIdAppleWalletDescription";
1403
+ case "samsung": return "idv2.chooser.digitalIdSamsungWalletDescription";
1404
+ case "android": return "idv2.chooser.digitalIdGoogleOrSamsungWalletDescription";
1405
+ default: return;
1406
+ }
1407
+ }
1408
+ /**
1409
+ * Description key shown under a card's title, or `undefined` for cards that
1410
+ * have none: the device-wallet card names the wallet for this device, and the
1411
+ * Upload Digital ID card explains the upload.
1412
+ */
1413
+ function getChooserCardDescriptionKey(cardType, walletDevice) {
1414
+ if (cardType === "digitalId") return getDigitalIdWalletDescriptionKey(walletDevice);
1415
+ if (cardType === "digitalIdUpload") return "idv2.chooser.digitalIdUploadDescription";
1416
+ }
1417
+ //#endregion
1418
+ //#region src/modules/id/chooser/regionChooser.tsx
1419
+ /**
1420
+ * "Choose your region" — picks the country the chooser ranks digital-ID
1421
+ * options for. Done applies it; the close button keeps the current one.
1422
+ */
1423
+ var RegionChooser = ({ country, providerCountries, onDone, onClose }) => {
1424
+ const { t } = useTranslation();
1425
+ const [selected, setSelected] = d(country ?? "");
1426
+ const countryCodes = T(() => [...new Set([
1427
+ ...Object.keys(countryDefinitions),
1428
+ ...providerCountries,
1429
+ ...country ? [country] : []
1430
+ ])], [providerCountries, country]);
1431
+ return /* @__PURE__ */ u(Page, {
1432
+ title: t("idv2.chooser.chooseRegionTitle"),
1433
+ "data-testid": "chooser-region-page",
1434
+ className: "IncodeChooserRegionPage",
1435
+ hideFooterBranding: true,
1436
+ children: [
1437
+ /* @__PURE__ */ u(PrizmaButton, {
1438
+ variant: "icon",
1439
+ size: "S",
1440
+ className: "IncodeButton IncodeButtonLink IncodeButtonInline IncodeButtonIconOnly IncodeChooserRegionClose",
1441
+ "aria-label": t("common.close"),
1442
+ onClick: onClose,
1443
+ "data-testid": "chooser-region-close",
1444
+ children: /* @__PURE__ */ u(CloseIcon, {
1445
+ width: 24,
1446
+ height: 24
1447
+ })
1448
+ }),
1449
+ /* @__PURE__ */ u("div", {
1450
+ class: "IncodeChooserRegionContent",
1451
+ children: /* @__PURE__ */ u(CountrySelector, {
1452
+ id: "chooser-region-country",
1453
+ label: t("idv2.chooser.yourCountryLabel"),
1454
+ value: selected,
1455
+ onChange: setSelected,
1456
+ countryCodes,
1457
+ devOnlyCountryCodes: [],
1458
+ searchPlaceholder: t("idv2.chooser.searchCountryPlaceholder"),
1459
+ "data-testid": "chooser-region-country"
1460
+ })
1461
+ }),
1462
+ /* @__PURE__ */ u("div", {
1463
+ class: "IncodeChooserRegionFooter",
1464
+ children: /* @__PURE__ */ u(PrizmaButton, {
1465
+ variant: "primary",
1466
+ size: "L",
1467
+ className: "IncodeButton IncodeButtonPrimary IncodeButtonL",
1468
+ disabled: !selected,
1469
+ onClick: () => onDone(selected),
1470
+ "data-testid": "chooser-region-done",
1471
+ children: t("idv2.chooser.chooseRegionDone")
1472
+ })
1473
+ })
1474
+ ]
1475
+ });
1476
+ };
1477
+ //#endregion
1478
+ //#region src/modules/id/chooser/viewingOptionsFor.tsx
1479
+ /**
1480
+ * "Viewing options for 🇺🇸 US" — the country the digital-ID options are
1481
+ * ranked for. Tapping the country opens the region picker.
1482
+ *
1483
+ * The button's accessible name starts with its visible text ("US") so voice
1484
+ * control can target it (WCAG 2.5.3); the purpose ("Change region") follows as
1485
+ * visually hidden text. The flag is decorative.
1486
+ */
1487
+ var ViewingOptionsFor = ({ country, onChangeCountry }) => {
1488
+ const { t } = useTranslation();
1489
+ return /* @__PURE__ */ u("div", {
1490
+ class: "IncodeChooserViewingOptions",
1491
+ "data-testid": "chooser-viewing-options",
1492
+ children: [/* @__PURE__ */ u("span", {
1493
+ class: "IncodeChooserViewingOptionsLabel",
1494
+ children: t("idv2.chooser.viewingOptionsFor")
1495
+ }), /* @__PURE__ */ u(PrizmaButton, {
1496
+ variant: "tertiary-link",
1497
+ size: "L",
1498
+ className: "IncodeButton IncodeButtonLink IncodeButtonInline IncodeChooserViewingOptionsCountry",
1499
+ onClick: onChangeCountry,
1500
+ "data-testid": "chooser-change-country",
1501
+ children: country ? /* @__PURE__ */ u(k, { children: [
1502
+ /* @__PURE__ */ u("span", {
1503
+ class: "IncodeChooserViewingOptionsFlag",
1504
+ "aria-hidden": "true",
1505
+ children: countryFlagEmoji(country)
1506
+ }),
1507
+ /* @__PURE__ */ u("span", {
1508
+ class: "IncodeChooserViewingOptionsCode",
1509
+ children: country
1510
+ }),
1511
+ /* @__PURE__ */ u("span", {
1512
+ class: "IncodeChooserViewingOptionsHint",
1513
+ children: `, ${t("idv2.chooser.changeRegionAriaLabel")}`
1514
+ })
1515
+ ] }) : /* @__PURE__ */ u("span", {
1516
+ class: "IncodeChooserViewingOptionsCode",
1517
+ children: t("idv2.chooser.chooseRegionLink")
1518
+ })
1519
+ })]
1520
+ });
1521
+ };
1522
+ //#endregion
1523
+ //#region src/modules/id/chooser/chooser.tsx
1524
+ var Chooser = ({ manager, state }) => {
1525
+ const { t } = useTranslation();
1526
+ const [isChoosingRegion, setIsChoosingRegion] = d(false);
1527
+ const availableChooserOptions = T(() => getAvailableChooserOptions(state.availableDocumentTypes, state.digitalIdRedirectOptions), [state.availableDocumentTypes, state.digitalIdRedirectOptions]);
1528
+ const sections = T(() => getChooserCardSections(availableChooserOptions), [availableChooserOptions]);
1529
+ const providerCountries = T(() => state.digitalIdRedirectOptions.flatMap((option) => option.country ? [option.country.toUpperCase()] : []), [state.digitalIdRedirectOptions]);
1530
+ const handleSelect = (card) => {
1531
+ if (card.providerId) {
1532
+ manager.selectDocument(card.type, { providerId: card.providerId });
1533
+ return;
1534
+ }
1535
+ manager.selectDocument(card.type);
1536
+ };
1537
+ if (isChoosingRegion) return /* @__PURE__ */ u(RegionChooser, {
1538
+ country: state.country,
1539
+ providerCountries,
1540
+ onClose: () => setIsChoosingRegion(false),
1541
+ onDone: (country) => {
1542
+ manager.setChooserCountry(country);
1543
+ setIsChoosingRegion(false);
1544
+ }
1545
+ });
1546
+ const describeCard = (card) => {
1547
+ const descriptionKey = getChooserCardDescriptionKey(card.type, state.walletDevice);
1548
+ return descriptionKey ? t(descriptionKey) : void 0;
1549
+ };
1550
+ const renderCards = (cards) => /* @__PURE__ */ u(VerificationOptionCardList, { children: cards.map((card) => /* @__PURE__ */ u(VerificationOptionCard, {
1551
+ icon: card.icon,
1552
+ iconSrc: card.iconSrc,
1553
+ title: card.displayName ?? t(card.title),
1554
+ description: describeCard(card),
1555
+ testId: card.testId,
1556
+ tag: card.tag ? t(card.tag) : void 0,
1557
+ onClick: () => handleSelect(card)
1558
+ }, card.key)) });
1559
+ const renderSection = (titleKey, cards, testId) => cards.length > 0 ? /* @__PURE__ */ u("section", {
1560
+ class: "IncodeChooserSection",
1561
+ "aria-labelledby": `${testId}-title`,
1562
+ "data-testid": testId,
1563
+ children: [/* @__PURE__ */ u("h3", {
1564
+ id: `${testId}-title`,
1565
+ class: "IncodeChooserSectionTitle",
1566
+ children: t(titleKey)
1567
+ }), renderCards(cards)]
1568
+ }) : null;
1569
+ return /* @__PURE__ */ u(Page, {
1570
+ title: t("idv2.chooser.chooseHowToVerifyTitle"),
1571
+ "data-testid": "document-chooser-page",
1572
+ className: "IncodeChooserPage",
1573
+ children: [state.countryRanked ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(ViewingOptionsFor, {
1574
+ country: state.country,
1575
+ onChangeCountry: () => setIsChoosingRegion(true)
1576
+ }), /* @__PURE__ */ u(Spacer, {
1577
+ size: 40,
1578
+ className: "IncodeChooserViewingOptionsSpacer"
1579
+ })] }) : null, /* @__PURE__ */ u("div", {
1580
+ class: "IncodeChooserContainer",
1581
+ children: sections.showTitles ? /* @__PURE__ */ u("div", {
1582
+ class: "IncodeChooserSections",
1583
+ children: [renderSection("idv2.chooser.useYourIdSectionTitle", sections.useYourId, "chooser-section-use-your-id"), renderSection("idv2.chooser.digitalIdSectionTitle", sections.digitalId, "chooser-section-digital-id")]
1584
+ }) : renderCards([...sections.useYourId, ...sections.digitalId])
1585
+ })]
1586
+ });
1587
+ };
1588
+ //#endregion
1589
+ export { VerificationOptionCardList as i, Tutorial as n, VerificationOptionCard as r, Chooser as t };