@incodetech/web 2.3.2-rc.4 → 2.4.0-rc.0

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 (354) hide show
  1. package/THIRD_PARTY_NOTICES.txt +0 -3
  2. package/dist/GeolocationPermissionDenied-ChCQ6Mhi.js +444 -0
  3. package/dist/ae-signature/ae-signature.es.js +3 -3
  4. package/dist/{af-ZA-CA6Cuvy7.js → af-ZA-B5RfX0Do.js} +1 -0
  5. package/dist/ageVerification-BMwwu3EI.js +77 -0
  6. package/dist/{am-C9PowMKj.js → am-BE3vlUmQ.js} +1 -0
  7. package/dist/antifraud/antifraud.es.js +3 -3
  8. package/dist/antifraud/styles.css +0 -1
  9. package/dist/{ar-AE-CyVB3e6w.js → ar-AE-Dw0claA-.js} +2 -1
  10. package/dist/{ar-CA-xYPJY.js → ar-B3gZ5W2R.js} +1 -0
  11. package/dist/{ar-EG-CbZZLN4a.js → ar-EG-5pSqEbCR.js} +1 -0
  12. package/dist/authentication/authentication.es.js +4 -4
  13. package/dist/{autoFocusTitle-DIaSbuq7.js → autoFocusTitle-DTSPbDgY.js} +1 -1
  14. package/dist/{az-CKYeugV_.js → az-CtWu_6fI.js} +1 -0
  15. package/dist/back-horizontal-hint-BztyPanp.js +134 -0
  16. package/dist/back-vertical-hint-BSzA4QbJ.js +127 -0
  17. package/dist/base.css +1 -7230
  18. package/dist/{baseTutorial-DO4gqrJQ.js → baseTutorial-CW-zwkOM.js} +13 -24
  19. package/dist/{bn-DmUH7q5R.js → bn-CXOCkHeB.js} +1 -0
  20. package/dist/{bottomSheet-BLJeBfa5.js → bottomSheet-DmQVpuxJ.js} +2 -2
  21. package/dist/{bs-CWfAeJNO.js → bs-B4mczUkN.js} +1 -0
  22. package/dist/{ca-DWaNc0fo.js → ca-DAE1dQj9.js} +1 -0
  23. package/dist/cameraOverlay-Bgpa6tky.js +2 -0
  24. package/dist/cameraOverlayHeader-BZlR-wkk.js +83 -0
  25. package/dist/{cameraView-rIbhv8fs.js → cameraView-DG425WNr.js} +2 -2
  26. package/dist/{ceb-BG6KB0JE.js → ceb-C9GCq8zw.js} +1 -0
  27. package/dist/certificate-issuance/certificate-issuance.es.js +9 -8
  28. package/dist/certificate-issuance/styles.css +1 -72
  29. package/dist/certificate-issuance/styles.css.js +1 -1
  30. package/dist/check-icon-BpjpKqhJ.js +48 -0
  31. package/dist/{checkbox-BhwI4wQM.js → checkbox-ClDWA_GP.js} +2 -2
  32. package/dist/connectionError-DnLv1SEA.js +45 -0
  33. package/dist/consent/consent.es.js +8 -6
  34. package/dist/consent/styles.css +1 -129
  35. package/dist/consent/styles.css.js +1 -1
  36. package/dist/countryDefinitions-BO9OSKQO.js +555 -0
  37. package/dist/countryFlag-2Vj85OIZ.js +67 -0
  38. package/dist/{countrySelector-yIGWfr2F.js → countrySelector-65mrWgRB.js} +6 -5
  39. package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
  40. package/dist/{cs-CZ-BACKrF5t.js → cs-CZ-CLmA_0jN.js} +1 -0
  41. package/dist/{cs-6iPoRnQs.js → cs-DJEcT5M8.js} +1 -0
  42. package/dist/curp-validation/curp-validation.es.js +13 -11
  43. package/dist/curp-validation/styles.css +1 -128
  44. package/dist/curp-validation/styles.css.js +1 -1
  45. package/dist/custom-fields/styles.css +1 -21
  46. package/dist/custom-fields/styles.css.js +1 -1
  47. package/dist/{customFields-C69ImDUR.js → customFields-BNX1AHc3.js} +10 -9
  48. package/dist/{customWatchlist-4DzMKHnO.js → customWatchlist-BdCLsmp2.js} +6 -6
  49. package/dist/{da-DK-CST8ldZv.js → da-DK-B0G-1XCN.js} +1 -0
  50. package/dist/{dashboardTheme-byzaKQpO.js → dashboardTheme-B3JLw1w6.js} +1 -1
  51. package/dist/dateInputComposed-81cxVVay.js +1 -0
  52. package/dist/{dateInputComposed-BJ2i31Qg.js → dateInputComposed-BwqEyZNg.js} +4 -4
  53. package/dist/{de-DvBX387Q.js → de-Pw3Ziz4S.js} +1 -0
  54. package/dist/denied-D977k8ju.js +1871 -0
  55. package/dist/deviceWallet-CoXT8GNt.js +66 -0
  56. package/dist/digitalIdRedirect-CI0JpjXY.js +162 -0
  57. package/dist/digitalIdUpload-DTrEj4Q3.js +496 -0
  58. package/dist/document-capture/document-capture.es.js +1 -1
  59. package/dist/document-capture/styles.css +1 -378
  60. package/dist/document-capture/styles.css.js +1 -1
  61. package/dist/{documentCapture-BmmRBhhG.js → documentCapture-BVs_R-Aj.js} +127 -180
  62. package/dist/documentCapture-CE3xt7Qu.js +2 -0
  63. package/dist/dropdownComposed-BBeW4gkE.js +1 -0
  64. package/dist/{dropdownComposed-BthB9H5H.js → dropdownComposed-CB55QqNd.js} +8 -14
  65. package/dist/dynamic-forms/dynamic-forms.es.js +13 -12
  66. package/dist/dynamic-forms/styles.css +1 -104
  67. package/dist/dynamic-forms/styles.css.js +1 -1
  68. package/dist/ekyb/ekyb.es.js +1 -1
  69. package/dist/ekyb/styles.css +1 -113
  70. package/dist/ekyb/styles.css.js +1 -1
  71. package/dist/ekybModule-BiVsuQhj.js +2 -0
  72. package/dist/{ekybModule-C92p0vvi.js → ekybModule-Deru8qGu.js} +13 -12
  73. package/dist/ekyc/ekyc.es.js +1 -1
  74. package/dist/ekyc/styles.css +1 -108
  75. package/dist/ekyc/styles.css.js +1 -1
  76. package/dist/ekycModule-CGS7oZAu.js +2 -0
  77. package/dist/{ekycModule-eBrLm0sR.js → ekycModule-Cb3HnENz.js} +46 -14
  78. package/dist/{el-BCSLBNUY.js → el-DlcHAcXD.js} +1 -0
  79. package/dist/{el-GR-DZW16R9N.js → el-GR-fXRg7fVy.js} +1 -0
  80. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  81. package/dist/electronic-signature/styles.css +1 -407
  82. package/dist/electronic-signature/styles.css.js +1 -1
  83. package/dist/{electronic-signature-D1d_WObD.js → electronic-signature-Bt644x6v.js} +24 -21
  84. package/dist/email/email.es.js +8 -7
  85. package/dist/email/styles.css +1 -11
  86. package/dist/email/styles.css.js +1 -1
  87. package/dist/{emailInput-CZ-0HyRS.js → emailInput-DQlm6sys.js} +3 -3
  88. package/dist/{en-QnHXrrY7.js → en-BQfrZw2Q.js} +1 -0
  89. package/dist/{en-DG-Dlff-IsT.js → en-DG-Dbay0TVK.js} +1 -0
  90. package/dist/{errorContent-T3IsDggM.js → errorContent-i-XKbliC.js} +5 -5
  91. package/dist/{es-419-JaSs0Que.js → es-419-B494eoOQ.js} +1 -0
  92. package/dist/{es-xOhDko1G.js → es-CIaH0_TG.js} +1 -0
  93. package/dist/{es-ES-C7SEV5MS.js → es-ES-BAy8H_o4.js} +1 -0
  94. package/dist/{es-MX-8mD6Ru26.js → es-MX-mRlcVoSi.js} +1 -0
  95. package/dist/esm-15CISqPe.js +430 -0
  96. package/dist/{et-DVMXfkQT.js → et-BsM-KF4Y.js} +2 -1
  97. package/dist/{expiredId-BQukSylk.js → expiredId-Bc_tCf-R.js} +6 -6
  98. package/dist/extensibility.es.js +38 -36
  99. package/dist/{fa-IR-B7JNyhKz.js → fa-IR-DKPXxDgD.js} +1 -0
  100. package/dist/face-match/face-match.es.js +1 -1
  101. package/dist/face-match/styles.css +1 -535
  102. package/dist/face-match/styles.css.js +1 -1
  103. package/dist/faceMatch-KF3QElE7.js +2 -0
  104. package/dist/faceMatch-MVYGreUC.js +336 -0
  105. package/dist/{fi-FI-CgZFjWp0.js → fi-FI-BehaswUi.js} +1 -0
  106. package/dist/field-comparison/field-comparison.es.js +1 -1
  107. package/dist/field-comparison/styles.css +1 -27
  108. package/dist/field-comparison/styles.css.js +1 -1
  109. package/dist/fieldComparison-CQG-0wfE.js +2 -0
  110. package/dist/{fieldComparison-B79amZ7h.js → fieldComparison-D4FRpZlC.js} +13 -7
  111. package/dist/finalSuccessScreen-DS4fm_uM.js +500 -0
  112. package/dist/fiscal-qr/fiscal-qr.es.js +28 -23
  113. package/dist/fiscal-qr/styles.css +1 -82
  114. package/dist/fiscal-qr/styles.css.js +1 -1
  115. package/dist/{flipAnimation-GbvrJ0-_.js → flipAnimation-NcDmqbnT.js} +643 -355
  116. package/dist/flow/flow.es.js +41 -24
  117. package/dist/flow/shell/styles.css +1 -401
  118. package/dist/flow/shell/styles.css.js +1 -1
  119. package/dist/flow/styles.css +1 -5702
  120. package/dist/{formField-tq_XH-Th.js → formField-D1sSXdbf.js} +2 -2
  121. package/dist/{fr-CA-pLsuP6oV.js → fr-CA-DZcH7XE0.js} +1 -0
  122. package/dist/{fr-DWhWFv0v.js → fr-DuG6kscd.js} +1 -0
  123. package/dist/front-horizontal-hint-DEHmtcdg.js +379 -0
  124. package/dist/{front-vertical-hint-qXMVdLri.js → front-vertical-hint-Cb1NO-xT.js} +71 -72
  125. package/dist/geolocation/geolocation.es.js +26 -459
  126. package/dist/geolocation/styles.css +1 -165
  127. package/dist/geolocation/styles.css.js +1 -1
  128. package/dist/government-validation/government-validation.es.js +15 -13
  129. package/dist/government-validation/styles.css +1 -4
  130. package/dist/government-validation/styles.css.js +1 -1
  131. package/dist/{he-BCXU1BJZ.js → he-B_PP0efY.js} +1 -0
  132. package/dist/{hi-DHKWk_3O.js → hi-D0rSX1o4.js} +1 -0
  133. package/dist/{hmn-DKxFifxf.js → hmn-DK7VD_xu.js} +1 -0
  134. package/dist/{homeScreen-C6n4tcTo.js → homeScreen-CKLvX3bf.js} +10 -11
  135. package/dist/{hr-Bb5L8s7b.js → hr-BpjWRIC0.js} +1 -0
  136. package/dist/{ht-NA3g5Q-7.js → ht-CG8o1xEm.js} +1 -0
  137. package/dist/{hu-D34RjbYg.js → hu-BmwC53l2.js} +1 -0
  138. package/dist/icons-Cri5P1f0.js +535 -0
  139. package/dist/id/id.es.js +315 -1174
  140. package/dist/id/styles.css +1 -1691
  141. package/dist/id/styles.css.js +1 -1
  142. package/dist/{id-lD25ONXO.js → id-CKlkbZdM.js} +1 -0
  143. package/dist/id-back-of-card-C7Au2tqk.js +71 -0
  144. package/dist/id-back-of-card-vertical-CtQBFw8w.js +74 -0
  145. package/dist/id-front-of-card-BmHL_keG.js +305 -0
  146. package/dist/id-front-of-card-vertical-DkNUn2Vx.js +253 -0
  147. package/dist/id-ocr/styles.css +1 -55
  148. package/dist/id-ocr/styles.css.js +1 -1
  149. package/dist/id-selfie-flow/id-selfie-flow.es.js +12 -9
  150. package/dist/id-selfie-flow/styles.css +1 -780
  151. package/dist/id-verification/id-verification.es.js +6 -5
  152. package/dist/{idOcr-B1KXgAbC.js → idOcr-vWU87y1x.js} +12 -11
  153. package/dist/identity-reuse/identity-reuse.es.js +167 -139
  154. package/dist/identity-reuse/styles.css +1 -216
  155. package/dist/incode-logo-r5UBM52t.js +341 -0
  156. package/dist/{incodeComponent-CdiXt7v7.js → incodeComponent-I3JIdKa5.js} +147 -269
  157. package/dist/incodeModule-t2FDQ-II.js +68 -0
  158. package/dist/index.es.js +4 -3
  159. package/dist/{inputComposed-8oVJL9fW.js → inputComposed-B27kZydt.js} +2 -2
  160. package/dist/inputComposed-DfPNjr7W.js +1 -0
  161. package/dist/{it-Bjpo7bkn.js → it-Ha3KMdAw.js} +1 -0
  162. package/dist/{ja-G_1vszjj.js → ja-BcpfEJD1.js} +1 -0
  163. package/dist/{ja-JP-SAKkGA9f.js → ja-JP-6Sg-lS3C.js} +2 -1
  164. package/dist/{jv-BP3Kidjb.js → jv-BhDDvojx.js} +1 -0
  165. package/dist/{ka-Byk8FCEP.js → ka-DSEmyiG7.js} +1 -0
  166. package/dist/{kk-C4-RGR2p.js → kk-DfTBM0Ac.js} +1 -0
  167. package/dist/{km-Cz7zimk3.js → km-DSH-1ryG.js} +6 -5
  168. package/dist/{ko-BDxjQ_OF.js → ko-DmCEEN9O.js} +1 -0
  169. package/dist/{ko-KP-BknUJpo0.js → ko-KP-DxNF6PVH.js} +1 -0
  170. package/dist/{ky-DwIO9bLp.js → ky-BYYkLAWt.js} +1 -0
  171. package/dist/{lo-c59MQX2S.js → lo-Dd7cFyNu.js} +1 -0
  172. package/dist/{lt-BrhZu2Vj.js → lt-DJemxo6s.js} +1 -0
  173. package/dist/{lv-Db2rbWSh.js → lv-DV6PxXYU.js} +1 -0
  174. package/dist/{mandatoryConsent-BLdpQxu2.js → mandatoryConsent-CEFsoyzd.js} +8 -6
  175. package/dist/{manualCaptureButton-wmNH54-0.js → manualCaptureButton-DghY-ZUO.js} +5 -5
  176. package/dist/{manualCaptureButton-BE9SVH5c.js → manualCaptureButton-DwcLDSMN.js} +43 -34
  177. package/dist/{mk-Uqn_8kGi.js → mk-0GH3TF8e.js} +1 -0
  178. package/dist/{mn-D7Jznd1-.js → mn-DhhnhyBd.js} +1 -0
  179. package/dist/{ms-BfMCHUa8.js → ms-DmVYGU6Y.js} +1 -0
  180. package/dist/{my-DsHXgcbs.js → my-DGXxog_l.js} +1 -0
  181. package/dist/{nb-NO-CPRHGQCR.js → nb-NO-SMmm3cOU.js} +1 -0
  182. package/dist/{ne-CMjCTP-p.js → ne-DVsGmeSd.js} +1 -0
  183. package/dist/{nl-CnBRdS5k.js → nl-CL7EuWSC.js} +2 -1
  184. package/dist/{optionAccessibleLabel-CI7JZggS.js → optionAccessibleLabel-BApMWddn.js} +5 -5
  185. package/dist/{otpInput-DxD_x747.js → otpInput-D0RomcH9.js} +6 -6
  186. package/dist/page-BzEithea.js +299 -0
  187. package/dist/{passport-horizontal-hint-6Ghn2EEN.js → passport-horizontal-hint-DgNc6F0-.js} +48 -49
  188. package/dist/{passport-vertical-hint-UPFFpdf4.js → passport-vertical-hint-B-toVsfT.js} +42 -42
  189. package/dist/{passwordInputComposed-CIM8-Hvd.js → passwordInputComposed-DqiG9IUM.js} +4 -4
  190. package/dist/{pdf-CFubyG0B.js → pdf-BKHLi5Ac.js} +2 -2
  191. package/dist/pdf.worker.min-BM1b2w9V.js +4 -0
  192. package/dist/pdfViewer-6PrH9fHg.js +2 -0
  193. package/dist/pdfViewer-DZurXIAg.js +154 -0
  194. package/dist/{permissions-plW5DkaX.js → permissions-C6NE4tvm.js} +41 -14
  195. package/dist/phone/phone.es.js +9 -8
  196. package/dist/phone/styles.css +1 -10
  197. package/dist/phone/styles.css.js +1 -1
  198. package/dist/phoneInputComposed-CVDIUrRy.js +249 -0
  199. package/dist/{pl-Dk_XCbHn.js → pl-9hyt0nnb.js} +1 -0
  200. package/dist/policyUrls-B3M8nLRh.js +7 -0
  201. package/dist/{processing-BnNbgJs3.js → processing-Do2ee2et.js} +1 -1
  202. package/dist/progressBar-CNBUGgEc.js +27 -0
  203. package/dist/{pt-BR-BL7B4wuD.js → pt-BR-BBMw-S8O.js} +1 -0
  204. package/dist/{pt-PT-CNhvgKtg.js → pt-PT-fSxcH0NK.js} +1 -0
  205. package/dist/{pt-BLVxgywN.js → pt-WGxHmjdN.js} +1 -0
  206. package/dist/{spacer-BmQEPV3n.js → purify.es-0fCPkEV1.js} +2 -740
  207. package/dist/qe-signature/qe-signature.es.js +3 -3
  208. package/dist/radioGroupComposed-Cy6hgLBE.js +1 -0
  209. package/dist/{radioGroupComposed-DFloG_N-.js → radioGroupComposed-FYYC8SNS.js} +2 -2
  210. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +116 -13
  211. package/dist/redirect-to-mobile/styles.css +1 -323
  212. package/dist/redirect-to-mobile/styles.css.js +1 -1
  213. package/dist/reload-icon-elAFo9-k.js +70 -0
  214. package/dist/{resendTimer-BdmoqbO1.js → resendTimer-C0tGof4N.js} +1 -1
  215. package/dist/{richText-lWTHIpaP.js → richText-aCnLd3j2.js} +2 -2
  216. package/dist/{ro-B_y2K2EA.js → ro-CRut2TFS.js} +1 -0
  217. package/dist/{ru-BYq3R3Mj.js → ru-DKaZyUKL.js} +1 -0
  218. package/dist/{ru-RU-CRVS8j8Y.js → ru-RU-C09Xv3Yg.js} +1 -0
  219. package/dist/sanitizeSvg-BC-qLUgS.js +35 -0
  220. package/dist/selfie/selfie.es.js +9 -184
  221. package/dist/selfie/styles.css +1 -501
  222. package/dist/selfie/styles.css.js +1 -1
  223. package/dist/signature/signature.es.js +8 -7
  224. package/dist/signature/styles.css +1 -116
  225. package/dist/signature/styles.css.js +1 -1
  226. package/dist/{sk-CezkyMyH.js → sk-CRgCa4Xy.js} +1 -0
  227. package/dist/{sl-BWF10Icq.js → sl-BnWo7ffO.js} +1 -0
  228. package/dist/{smsTabContent-ok2pyDhh.js → smsTabContent-DrX3JFpW.js} +6 -7
  229. package/dist/{so-BrcNZ8Mr.js → so-QQqlxuIj.js} +1 -0
  230. package/dist/spacer-CRMb016O.js +741 -0
  231. package/dist/{spinner-C4do7hWX.js → spinner-B2lU14AQ.js} +2 -2
  232. package/dist/{sr-BnXGxOH1.js → sr-B5E7ItZS.js} +1 -0
  233. package/dist/{sr-Latn-6U6Ovy-Q.js → sr-Latn-DYffMLFY.js} +4 -3
  234. package/dist/{sr-YU-9B3BK4Ps.js → sr-YU-wTH5Bs0f.js} +1 -0
  235. package/dist/{statusPage-CXHHTIXA.js → statusPage-BIL3xP5F.js} +3 -3
  236. package/dist/{sv-SE-CpuV8J7C.js → sv-SE-CWW4jCGJ.js} +1 -0
  237. package/dist/{sw-BT-fzBc4.js → sw-DQMkDT3g.js} +1 -0
  238. package/dist/{th-D3ufVPwG.js → th-3PSK_Dsh.js} +1 -0
  239. package/dist/{th-TH-B4rqmZvR.js → th-TH-BT3vwWPA.js} +1 -0
  240. package/dist/themes/dark.css +1 -1537
  241. package/dist/themes/light.css +1 -1413
  242. package/dist/{tl-CUyJhGKF.js → tl-BjxdIajM.js} +1 -0
  243. package/dist/{tl-PH-D6NzZs7e.js → tl-PH-C_wJmHt1.js} +1 -0
  244. package/dist/{tr-BTjhr_32.js → tr-BhmOJl6w.js} +3 -2
  245. package/dist/transitionSpinner-CPK1gaqC.js +76 -0
  246. package/dist/{tutorial-BywSwy2f.js → tutorial-D9Tr_r15.js} +14 -18
  247. package/dist/types/ae-signature.d.ts +27 -5
  248. package/dist/types/antifraud.d.ts +27 -5
  249. package/dist/types/authentication.d.ts +27 -5
  250. package/dist/types/certificate-issuance.d.ts +27 -5
  251. package/dist/types/consent.d.ts +27 -3
  252. package/dist/types/cross-document-data-match.d.ts +32 -2
  253. package/dist/types/curp-validation.d.ts +27 -5
  254. package/dist/types/document-capture.d.ts +32 -2
  255. package/dist/types/dynamic-forms.d.ts +27 -5
  256. package/dist/types/ekyb.d.ts +32 -2
  257. package/dist/types/ekyc.d.ts +32 -2
  258. package/dist/types/electronic-signature.d.ts +27 -5
  259. package/dist/types/email.d.ts +27 -3
  260. package/dist/types/extensibility.d.ts +135 -27
  261. package/dist/types/face-match.d.ts +32 -2
  262. package/dist/types/field-comparison.d.ts +32 -2
  263. package/dist/types/fiscal-qr.d.ts +27 -3
  264. package/dist/types/flow.d.ts +27 -3
  265. package/dist/types/geolocation.d.ts +27 -3
  266. package/dist/types/government-validation.d.ts +32 -2
  267. package/dist/types/id-selfie-flow.d.ts +27 -14
  268. package/dist/types/id-verification.d.ts +27 -5
  269. package/dist/types/id.d.ts +27 -3
  270. package/dist/types/identity-reuse.d.ts +27 -5
  271. package/dist/types/index.d.ts +52 -1
  272. package/dist/types/phone.d.ts +27 -3
  273. package/dist/types/qe-signature.d.ts +27 -5
  274. package/dist/types/selfie.d.ts +27 -3
  275. package/dist/types/signature.d.ts +27 -5
  276. package/dist/types/video-selfie.d.ts +5 -2
  277. package/dist/types/watchlist.d.ts +27 -5
  278. package/dist/types/workflow.d.ts +50 -4
  279. package/dist/{typography-Cn7-Znpn.js → typography-CVggEHuL.js} +1 -1
  280. package/dist/{uiConfig-qMQHPoxa.js → uiConfig-CzjzpmLx.js} +256 -874
  281. package/dist/{uk-UA-YhEHqst_.js → uk-UA-D8etJPYS.js} +2 -1
  282. package/dist/{uk-ChhaHUBd.js → uk-XbgXa2Ga.js} +1 -0
  283. package/dist/{ur-BG91n7xX.js → ur-EvEZPGeH.js} +1 -0
  284. package/dist/useCaptureHelpButton-Dh2rCLy1.js +86 -0
  285. package/dist/useCoverMedia-VLw3OYN_.js +149 -0
  286. package/dist/{uz-BHE3Jn6i.js → uz-CLNoByCo.js} +1 -0
  287. package/dist/{verificationResult-C7wTXPts.js → verificationResult-CZbJPu23.js} +6 -6
  288. package/dist/{vi-BV5GRZ61.js → vi-Drg8ZYY0.js} +1 -0
  289. package/dist/video-selfie/styles.css +1 -864
  290. package/dist/video-selfie/styles.css.js +1 -1
  291. package/dist/video-selfie/video-selfie.es.js +15 -12
  292. package/dist/watchlist/watchlist.es.js +6 -6
  293. package/dist/watchlist-for-business/styles.css +1 -17
  294. package/dist/watchlist-for-business/styles.css.js +1 -1
  295. package/dist/{watchlistForBusiness-Bjh_-5Y6.js → watchlistForBusiness-CjEsaTUW.js} +265 -8
  296. package/dist/{resolveApiKey-D14Dir23.js → withEndScreenTexts-CFZVBpbY.js} +53 -25
  297. package/dist/workflow/styles.css +1 -5116
  298. package/dist/workflow/workflow.es.js +83 -28
  299. package/dist/{zh-CN-DGW8k_EJ.js → zh-CN-DgsFb5nA.js} +3 -2
  300. package/dist/{zh-DNadxa_J.js → zh-D9t3i09v.js} +1 -0
  301. package/dist/{zh-HANT-DZvzTGaC.js → zh-HANT-DA0DsBcr.js} +1 -0
  302. package/dist/{zh-TW-DNQrPdBy.js → zh-TW-BjJ6hVEd.js} +1 -0
  303. package/package.json +8 -6
  304. package/dist/back-horizontal-hint-UQ7Nof6k.js +0 -137
  305. package/dist/back-vertical-hint-Crc8ybfk.js +0 -128
  306. package/dist/cameraOverlay-B_XWm0TM.js +0 -2
  307. package/dist/cameraOverlayHeader-DP6EP8Yu.js +0 -43
  308. package/dist/captureFooter-c_0jBnZ7.js +0 -67
  309. package/dist/connectionError-C7NJ8tzk.js +0 -45
  310. package/dist/countries-5e8kwG_m.js +0 -8560
  311. package/dist/dateInputComposed-D4OMicAE.js +0 -1
  312. package/dist/denied-D9PfdAvK.js +0 -2191
  313. package/dist/documentCapture-BSewRSbI.js +0 -2
  314. package/dist/dropdownComposed-09JlREPP.js +0 -1
  315. package/dist/ekybModule-DJhJoDkx.js +0 -2
  316. package/dist/ekycModule-CNshA9vz.js +0 -2
  317. package/dist/faceMatch-CbE3kMV1.js +0 -2
  318. package/dist/faceMatch-DdQuasoZ.js +0 -334
  319. package/dist/fieldComparison-fl8WhFZs.js +0 -2
  320. package/dist/finalSuccessScreen-DCG20NUQ.js +0 -499
  321. package/dist/front-horizontal-hint-mgovnJf3.js +0 -380
  322. package/dist/icons-lmBQFGnv.js +0 -533
  323. package/dist/id-back-of-card-B6EcmiCs.js +0 -83
  324. package/dist/id-back-of-card-vertical-B3FXhPpj.js +0 -88
  325. package/dist/id-front-of-card-V_BlLaZr.js +0 -308
  326. package/dist/id-front-of-card-vertical-CuZjL8kc.js +0 -278
  327. package/dist/incode-logo-BzJOZr3f.js +0 -4
  328. package/dist/incodeModule-f_OUurEl.js +0 -31
  329. package/dist/inputComposed-DMfj1MDU.js +0 -1
  330. package/dist/modal-CDsyaY_Z.js +0 -140
  331. package/dist/modal.hooks-B0Wrc9s2.js +0 -201
  332. package/dist/pdfViewer-DZpdaUDt.js +0 -149
  333. package/dist/pdfViewer-O6xIPlaK.js +0 -2
  334. package/dist/phoneInputComposed-DZMfEBok.js +0 -3751
  335. package/dist/radioGroupComposed-B06_2Xwu.js +0 -1
  336. package/dist/tabs-CaZGiNK8.js +0 -104
  337. /package/dist/{aligndevicelottie-B12hbVhG.js → aligndevicelottie-BARt-rhe.js} +0 -0
  338. /package/dist/{back-tutorial-XdmQ0Wml.js → back-tutorial-CZrMmj1_.js} +0 -0
  339. /package/dist/{backdevicelottie-m_DOD8xE.js → backdevicelottie-CIM3ekd8.js} +0 -0
  340. /package/dist/{blurdevicelottie-DQo_hTMD.js → blurdevicelottie-BRyXfLB6.js} +0 -0
  341. /package/dist/{browser-ponyfill-ZkeBm4ji.js → browser-ponyfill-DT11p-Ob.js} +0 -0
  342. /package/dist/{defineProperty-BojnCa44.js → defineProperty-CjeJoXkx.js} +0 -0
  343. /package/dist/{flip-animation-VicedlT5.js → flip-animation-BU5LNKYx.js} +0 -0
  344. /package/dist/{frontdevicelottie-CyIerlMv.js → frontdevicelottie-arpyu_Fz.js} +0 -0
  345. /package/dist/{glaredevicelottie-QM2C6Ivp.js → glaredevicelottie-TwTFxe7h.js} +0 -0
  346. /package/dist/{id-laser-h-B0-iXcvl.js → id-laser-h-Dr-hBxrq.js} +0 -0
  347. /package/dist/{id-laser-v-Bqh6vimi.js → id-laser-v-D_r0QNY8.js} +0 -0
  348. /package/dist/{id-tutorial-IhmAzrIF.js → id-tutorial-DM9Pkfs-.js} +0 -0
  349. /package/dist/{lottie_light-CzZ3CHBk.js → lottie_light-aMg9Q9iO.js} +0 -0
  350. /package/dist/{numberedStep-C8e_uPaz.js → numberedStep-CvbL3ht2.js} +0 -0
  351. /package/dist/{passport-tutorial-61vlloJS.js → passport-tutorial-CKZZuDf_.js} +0 -0
  352. /package/dist/{registerIncodeElement-CbZczi4S.js → registerIncodeElement-D_cn4dSI.js} +0 -0
  353. /package/dist/{selfieTutorial-BRQ2QNxQ.js → selfieTutorial-Dz6lDFMn.js} +0 -0
  354. /package/dist/{useModuleLoader-DpcbSKBH.js → useModuleLoader-BdIp6TNQ.js} +0 -0
@@ -1,21 +1,23 @@
1
- import { o as useTranslation } from "./uiConfig-qMQHPoxa.js";
2
- import { S as k, _ as y, a as P, c as A, d as _, f as d, h as q, i as D, s as z, u as T, v as u } from "./vendor-preact-C0jX1Cbq.js";
3
- import { c as Page, d as TransitionSpinner, f as useFeatureManagement, g as useEventListener, h as useResizeObserver, m as useTimeoutHandle, p as usePresence } from "./incodeComponent-CdiXt7v7.js";
4
- import { a as useAnimationData, d as cn, r as AnimatedAsset, t as Spacer } from "./spacer-BmQEPV3n.js";
5
- import { o as TypographyP, r as TypographyH3, t as Title } from "./typography-Cn7-Znpn.js";
6
- import { t as Spinner } from "./spinner-C4do7hWX.js";
7
- import { a as LockIcon, f as ChevronRightIcon, t as SvgLightningIcon, x as Button } from "./icons-lmBQFGnv.js";
8
- import { t as Modal } from "./modal-CDsyaY_Z.js";
9
- import { n as ProgressBar, t as CaptureFooter } from "./captureFooter-c_0jBnZ7.js";
10
- import { n as getCountryDisplayName, t as countryFlagEmoji } from "./countries-5e8kwG_m.js";
11
- import { n as CameraFrame, t as CameraView } from "./cameraView-rIbhv8fs.js";
12
- import { n as CameraOverlay, t as CameraOverlayHeader } from "./cameraOverlayHeader-DP6EP8Yu.js";
13
- import { t as BaseTutorial } from "./baseTutorial-DO4gqrJQ.js";
14
- import { n as RedStrikeIcon, t as ExpiredId } from "./expiredId-BQukSylk.js";
15
- import { i as usePreloadCaptureAnimations, n as CaptureNotification } from "./manualCaptureButton-BE9SVH5c.js";
16
- import { eventModuleNames, recordExperimentAssignmentOnce } from "@incodetech/core/events";
1
+ import { o as useTranslation } from "./uiConfig-CzjzpmLx.js";
2
+ import { S as k, _ as y, a as P, b as Q, c as A, d as _, f as d, g as x, h as q, i as D, s as z, u as T, v as u } from "./vendor-preact-C0jX1Cbq.js";
3
+ import { c as TerminalErrorPage, f as useTimeoutHandle, l as useFeatureManagement, m as useEventListener, p as useResizeObserver, u as usePresence } from "./incodeComponent-I3JIdKa5.js";
4
+ import { a as useAnimationData, d as cn, r as AnimatedAsset, t as Spacer } from "./spacer-CRMb016O.js";
5
+ import { o as TypographyP, r as TypographyH3, t as Title } from "./typography-CVggEHuL.js";
6
+ import { t as Spinner } from "./spinner-B2lU14AQ.js";
7
+ import { t as TransitionSpinner } from "./transitionSpinner-CPK1gaqC.js";
8
+ import { a as LockIcon, f as ChevronRightIcon, t as LightningIcon, x as Button } from "./icons-Cri5P1f0.js";
9
+ import { i as useCloseButton, t as Page } from "./page-BzEithea.js";
10
+ import { n as Modal } from "./incode-logo-r5UBM52t.js";
11
+ import { t as ProgressBar } from "./progressBar-CNBUGgEc.js";
12
+ import { n as CameraFrame, t as CameraView } from "./cameraView-DG425WNr.js";
13
+ import { n as CameraOverlay, t as CameraOverlayHeader } from "./cameraOverlayHeader-BZlR-wkk.js";
14
+ import { n as CaptureFooter, t as useCaptureHelpButton } from "./useCaptureHelpButton-Dh2rCLy1.js";
15
+ import { t as BaseTutorial } from "./baseTutorial-CW-zwkOM.js";
16
+ import { n as RedStrikeIcon, t as ExpiredId } from "./expiredId-Bc_tCf-R.js";
17
+ import { n as getCountryDisplayName, t as countryFlagEmoji } from "./countryFlag-2Vj85OIZ.js";
18
+ import { i as usePreloadCaptureAnimations, n as CaptureNotification } from "./manualCaptureButton-DwcLDSMN.js";
19
+ import { eventModuleNames, recordExperimentAssignmentOnce, stateChanged } from "@incodetech/core/events";
17
20
  import { ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, numberParam, resolveExperiment } from "@incodetech/core/feature-management";
18
- import "@incodetech/core/id";
19
21
  //#region src/shared/card/verificationOption/verificationOptionCard.tsx
20
22
  function VerificationOptionCardList({ children }) {
21
23
  return /* @__PURE__ */ u("div", {
@@ -23,7 +25,7 @@ function VerificationOptionCardList({ children }) {
23
25
  children
24
26
  });
25
27
  }
26
- function VerificationOptionCard({ icon: Icon, title, testId, onClick, tag }) {
28
+ function VerificationOptionCard({ icon: Icon, iconSrc, title, testId, onClick, tag }) {
27
29
  return /* @__PURE__ */ u("button", {
28
30
  type: "button",
29
31
  class: "IncodeVerificationOptionCard",
@@ -34,7 +36,13 @@ function VerificationOptionCard({ icon: Icon, title, testId, onClick, tag }) {
34
36
  class: "IncodeVerificationOptionCardIcon",
35
37
  "aria-hidden": "true",
36
38
  "data-testid": `${testId}-icon`,
37
- children: /* @__PURE__ */ u(Icon, {})
39
+ children: iconSrc ? /* @__PURE__ */ u("img", {
40
+ class: "IncodeVerificationOptionCardImage",
41
+ src: iconSrc,
42
+ alt: "",
43
+ loading: "lazy",
44
+ decoding: "async"
45
+ }) : /* @__PURE__ */ u(Icon, {})
38
46
  }), /* @__PURE__ */ u("span", {
39
47
  class: "IncodeVerificationOptionCardContent",
40
48
  children: [/* @__PURE__ */ u("span", {
@@ -58,7 +66,7 @@ function VerificationOptionCard({ icon: Icon, title, testId, onClick, tag }) {
58
66
  function VerificationOptionCardTag({ label }) {
59
67
  return /* @__PURE__ */ u("div", {
60
68
  class: "IncodeVerificationOptionCardTag",
61
- children: [/* @__PURE__ */ u(SvgLightningIcon, {}), /* @__PURE__ */ u("span", { children: label })]
69
+ children: [/* @__PURE__ */ u(LightningIcon, {}), /* @__PURE__ */ u("span", { children: label })]
62
70
  });
63
71
  }
64
72
  //#endregion
@@ -74,23 +82,23 @@ var BlurIcon = ({ className }) => {
74
82
  "aria-hidden": "true",
75
83
  children: [
76
84
  /* @__PURE__ */ u("path", {
77
- d: "M12.2597 4.15625C14.3285 4.1835 16.3243 4.916 17.9199 6.23242C18.2394 6.49605 18.2851 6.96957 18.0214 7.28906C17.7578 7.60828 17.2852 7.65315 16.9658 7.38965C15.6357 6.29217 13.9729 5.68098 12.249 5.65625C10.5346 5.67942 8.878 6.28369 7.5527 7.37207C6.03992 8.62375 4.84504 10.2126 4.06246 12.0107C4.83423 13.8004 6.01967 15.3822 7.52242 16.626C7.84151 16.8901 7.88613 17.3635 7.62203 17.6826C7.35793 18.0017 6.88449 18.0463 6.56539 17.7822C4.79235 16.3147 3.41234 14.427 2.5527 12.29C2.48019 12.1096 2.48144 11.9077 2.55465 11.7275C3.42639 9.58276 4.81515 7.68881 6.5986 6.21387L6.60055 6.21289C8.19264 4.90541 10.1832 4.18132 12.2412 4.15625H12.2597Z",
85
+ d: "M12.26 4.156a9.08 9.08 0 0 1 5.66 2.076.75.75 0 0 1-.954 1.158 7.58 7.58 0 0 0-4.717-1.734 7.56 7.56 0 0 0-4.696 1.716 12.5 12.5 0 0 0-3.49 4.639 12.3 12.3 0 0 0 3.46 4.615.75.75 0 0 1-.958 1.156 13.8 13.8 0 0 1-4.012-5.492.75.75 0 0 1 .002-.562 14 14 0 0 1 4.044-5.514l.002-.001a9.06 9.06 0 0 1 5.64-2.057z",
78
86
  fill: "currentColor"
79
87
  }),
80
88
  /* @__PURE__ */ u("path", {
81
- d: "M19.3963 3.80561C19.6892 3.51272 20.165 3.51271 20.4579 3.80561C20.7504 4.09843 20.7504 4.57333 20.4579 4.86615L5.10728 20.2158C4.81438 20.5087 4.33962 20.5087 4.04673 20.2158C3.75401 19.9229 3.7539 19.4481 4.04673 19.1552L19.3963 3.80561Z",
89
+ d: "M19.396 3.806a.751.751 0 0 1 1.062 1.06l-15.35 15.35a.75.75 0 1 1-1.061-1.06z",
82
90
  fill: "currentColor"
83
91
  }),
84
92
  /* @__PURE__ */ u("path", {
85
- d: "M12.4287 8.18359C13.377 8.22855 14.2762 8.62583 14.9502 9.2998C15.2429 9.59271 15.243 10.0675 14.9502 10.3604C14.6574 10.653 14.1825 10.653 13.8897 10.3604C13.4528 9.92345 12.8603 9.6783 12.2422 9.67969H12.2412C10.9575 9.68196 9.91866 10.725 9.92092 12.0088V12.0127C9.91873 12.6266 10.1629 13.2142 10.5987 13.6455C10.893 13.9369 10.8949 14.4117 10.6035 14.7061C10.3122 15.0003 9.83736 15.0032 9.54299 14.7119C8.82092 13.9973 8.41718 13.0228 8.42092 12.0068C8.41946 9.89669 10.1276 8.18357 12.2383 8.17969L12.4287 8.18359Z",
93
+ d: "M12.429 8.184A3.82 3.82 0 0 1 14.95 9.3a.75.75 0 0 1-1.06 1.06 2.32 2.32 0 0 0-1.648-.68h0a2.325 2.325 0 0 0-2.321 2.329v.004a2.28 2.28 0 0 0 .678 1.633.75.75 0 0 1-1.056 1.066 3.79 3.79 0 0 1-1.122-2.705 3.825 3.825 0 0 1 3.817-3.827z",
86
94
  fill: "currentColor"
87
95
  }),
88
96
  /* @__PURE__ */ u("path", {
89
- d: "M19.0536 8.34264C19.3864 8.09617 19.8559 8.16611 20.1024 8.49889C20.8393 9.49403 21.4571 10.5723 21.9413 11.7128C22.0214 11.9015 22.0206 12.1153 21.9393 12.3036C19.9504 16.911 16.3507 19.8602 12.2499 19.8602C11.3317 19.8602 10.421 19.7108 9.55163 19.4217C9.15858 19.2911 8.94538 18.8665 9.07605 18.4735C9.20672 18.0805 9.63127 17.8683 10.0243 17.9989C10.7428 18.2378 11.4942 18.3602 12.2499 18.3602C15.4814 18.3602 18.5736 16.0795 20.4296 12.0047C20.0129 11.0822 19.5004 10.2058 18.8973 9.39147C18.6509 9.05863 18.7208 8.58917 19.0536 8.34264Z",
97
+ d: "M19.054 8.343a.75.75 0 0 1 1.048.156 15.7 15.7 0 0 1 1.84 3.214c.08.189.079.402-.003.59-1.989 4.608-5.588 7.557-9.69 7.557-.917 0-1.828-.15-2.697-.438a.75.75 0 1 1 .472-1.423c.719.239 1.47.361 2.226.361 3.231 0 6.324-2.28 8.18-6.355a14.2 14.2 0 0 0-1.533-2.614.75.75 0 0 1 .157-1.048Z",
90
98
  fill: "currentColor"
91
99
  }),
92
100
  /* @__PURE__ */ u("path", {
93
- d: "M14.5349 12.4195C14.6094 12.0122 14.9996 11.7418 15.407 11.816C15.8145 11.8902 16.0848 12.2815 16.0105 12.689C15.7256 14.2521 14.5032 15.4787 12.9392 15.7662C12.5318 15.841 12.1411 15.571 12.0662 15.1636C11.9914 14.7563 12.2605 14.3655 12.6677 14.2906C13.6177 14.116 14.3617 13.3702 14.5349 12.4195Z",
101
+ d: "M14.535 12.42a.75.75 0 1 1 1.476.269 3.83 3.83 0 0 1-3.072 3.077.75.75 0 0 1-.271-1.475 2.33 2.33 0 0 0 1.867-1.872Z",
94
102
  fill: "currentColor"
95
103
  })
96
104
  ]
@@ -109,19 +117,19 @@ var GlareIcon = ({ className }) => {
109
117
  "aria-hidden": "true",
110
118
  children: [
111
119
  /* @__PURE__ */ u("path", {
112
- d: "M2.25 15.1279V9.51172C2.25 7.88342 2.76123 6.43316 3.74023 5.38281C4.72472 4.32662 6.12676 3.73535 7.78223 3.73535H13.2705L13.3477 3.73926C13.7258 3.7777 14.0205 4.09705 14.0205 4.48535C14.0205 4.87365 13.7258 5.193 13.3477 5.23145L13.2705 5.23535H7.78223C6.49854 5.23535 5.50964 5.68477 4.83789 6.40527C4.16068 7.13181 3.75 8.19485 3.75 9.51172V15.1279C3.75003 16.4457 4.1591 17.5083 4.83496 18.2344C5.5052 18.9542 6.49361 19.4043 7.78223 19.4043H16.2158C17.5051 19.4043 18.4945 18.9544 19.165 18.2344C19.8412 17.5083 20.25 16.4456 20.25 15.1279V12.458C20.25 12.0438 20.5858 11.708 21 11.708C21.4142 11.708 21.75 12.0438 21.75 12.458V15.1279C21.75 16.7554 21.2412 18.2061 20.2627 19.2568C19.2785 20.3135 17.8755 20.9043 16.2158 20.9043H7.78223C6.12294 20.9043 4.72013 20.3136 3.73633 19.2568C2.7582 18.2061 2.25003 16.7553 2.25 15.1279Z",
120
+ d: "M2.25 15.128V9.512c0-1.629.511-3.079 1.49-4.13.985-1.055 2.387-1.647 4.042-1.647h5.489l.077.004a.75.75 0 0 1 0 1.492l-.078.004H7.783c-1.283 0-2.272.45-2.944 1.17-.677.727-1.088 1.79-1.088 3.107v5.616c0 1.318.41 2.38 1.085 3.106.67.72 1.659 1.17 2.947 1.17h8.434c1.29 0 2.278-.45 2.949-1.17.676-.726 1.085-1.788 1.085-3.106v-2.67a.75.75 0 0 1 1.5 0v2.67c0 1.627-.509 3.078-1.487 4.129-.985 1.056-2.388 1.647-4.047 1.647H7.782c-1.66 0-3.062-.59-4.046-1.647-.978-1.05-1.486-2.502-1.486-4.13Z",
113
121
  fill: "currentColor"
114
122
  }),
115
123
  /* @__PURE__ */ u("path", {
116
- d: "M14.2705 14.4121C14.6846 14.4123 15.0205 14.748 15.0205 15.1621C15.0205 15.5762 14.6846 15.912 14.2705 15.9121H7.04102C6.62682 15.9121 6.29105 15.5763 6.29102 15.1621C6.29102 14.7479 6.6268 14.4121 7.04102 14.4121H14.2705ZM8.96094 10.6523C9.37494 10.6526 9.71094 10.9883 9.71094 11.4023C9.71094 11.8164 9.37494 12.1521 8.96094 12.1523H7.04102C6.6268 12.1523 6.29102 11.8166 6.29102 11.4023C6.29102 10.9881 6.6268 10.6523 7.04102 10.6523H8.96094Z",
124
+ d: "M14.27 14.412a.75.75 0 0 1 0 1.5H7.042a.75.75 0 0 1 0-1.5zm-5.31-3.76a.75.75 0 0 1 0 1.5H7.042a.75.75 0 1 1 0-1.5z",
117
125
  fill: "currentColor"
118
126
  }),
119
127
  /* @__PURE__ */ u("path", {
120
- d: "M18.4043 3.0957C18.7183 3.0957 18.9986 3.29142 19.1074 3.58594L19.209 3.85938C19.5141 4.68491 20.1638 5.33534 20.9873 5.64062L21.2607 5.74219C21.5548 5.85125 21.75 6.13168 21.75 6.44531C21.75 6.75893 21.5548 7.03941 21.2607 7.14844L20.9873 7.25C20.215 7.5363 19.5953 8.1258 19.2695 8.87891L19.209 9.03125L19.1074 9.30469C18.9986 9.59909 18.7182 9.79492 18.4043 9.79492C18.0904 9.79492 17.81 9.59909 17.7012 9.30469L17.5996 9.03125C17.2945 8.20566 16.6448 7.55532 15.8213 7.25L15.5479 7.14844C15.2538 7.03941 15.0586 6.75893 15.0586 6.44531C15.0586 6.13168 15.2538 5.85125 15.5479 5.74219L15.8213 5.64062C16.6448 5.33534 17.2945 4.68491 17.5996 3.85938L17.7012 3.58594L17.749 3.48047C17.8799 3.24552 18.1294 3.0957 18.4043 3.0957ZM18.4043 5.49414C18.1366 5.85711 17.8158 6.17742 17.4531 6.44531C17.8156 6.71307 18.1367 7.03278 18.4043 7.39551C18.6718 7.03299 18.9922 6.71298 19.3545 6.44531C18.992 6.17751 18.6719 5.8569 18.4043 5.49414Z",
128
+ d: "M18.404 3.096a.75.75 0 0 1 .703.49l.102.273a3.01 3.01 0 0 0 1.778 1.782l.274.101a.75.75 0 0 1 0 1.406l-.274.102a3.01 3.01 0 0 0-1.717 1.629l-.061.152-.102.274a.75.75 0 0 1-1.406 0L17.6 9.03A3.01 3.01 0 0 0 15.82 7.25l-.273-.102a.75.75 0 0 1 0-1.406l.273-.101A3.01 3.01 0 0 0 17.6 3.859l.101-.273.048-.106a.75.75 0 0 1 .655-.384Zm0 2.398a4.5 4.5 0 0 1-.95.951c.362.268.683.588.95.95.268-.362.588-.682.95-.95a4.5 4.5 0 0 1-.95-.95Z",
121
129
  fill: "currentColor"
122
130
  }),
123
131
  /* @__PURE__ */ u("path", {
124
- d: "M13.9019 8.29492C14.232 8.29495 14.5236 8.51122 14.6196 8.82715C14.7187 9.15288 14.9733 9.4071 15.2974 9.50586C15.6128 9.60214 15.8286 9.89376 15.8286 10.2236C15.8285 10.5534 15.6127 10.8441 15.2974 10.9404C14.973 11.0393 14.7187 11.2942 14.6196 11.6201C14.5236 11.936 14.232 12.1513 13.9019 12.1514C13.5717 12.1514 13.2801 11.936 13.1841 11.6201C13.0851 11.2943 12.8307 11.0393 12.5063 10.9404C12.1909 10.8442 11.9752 10.5534 11.9751 10.2236C11.9751 9.89369 12.1908 9.60208 12.5063 9.50586C12.8305 9.40708 13.085 9.15282 13.1841 8.82715C13.2801 8.5112 13.5716 8.29492 13.9019 8.29492Z",
132
+ d: "M13.902 8.295a.75.75 0 0 1 .718.532c.099.326.353.58.677.679a.75.75 0 0 1 0 1.434 1.02 1.02 0 0 0-.677.68.75.75 0 0 1-1.436 0 1.02 1.02 0 0 0-.678-.68.75.75 0 0 1 0-1.434 1.02 1.02 0 0 0 .678-.679.75.75 0 0 1 .718-.532Z",
125
133
  fill: "currentColor"
126
134
  })
127
135
  ]
@@ -142,25 +150,25 @@ var InfoNotReadableIcon = ({ className }) => {
142
150
  /* @__PURE__ */ u("path", {
143
151
  fillRule: "evenodd",
144
152
  clipRule: "evenodd",
145
- d: "M3.51987 5.07032C4.36282 4.16615 5.5605 3.66406 6.96486 3.66406H17.0351C18.4424 3.66406 19.6405 4.16586 20.483 5.07066C21.3199 5.96941 21.75 7.20487 21.75 8.58033V11.5041C21.75 11.9183 21.4142 12.2541 21 12.2541C20.5858 12.2541 20.25 11.9183 20.25 11.5041V8.58033C20.25 7.5146 19.9198 6.66693 19.3852 6.09284C18.8563 5.52481 18.0719 5.16406 17.0351 5.16406H6.96486C5.93193 5.16406 5.14718 5.52452 4.61702 6.09318C4.08142 6.66769 3.75 7.51548 3.75 8.58033V15.1683C3.75 16.2346 4.08027 17.0822 4.61474 17.6561C5.1436 18.224 5.92794 18.5846 6.96486 18.5846H11.1224C11.5366 18.5846 11.8724 18.9204 11.8724 19.3346C11.8724 19.7488 11.5366 20.0846 11.1224 20.0846H6.96486C5.55768 20.0846 4.35959 19.5831 3.51704 18.6784C2.68011 17.7797 2.25 16.5442 2.25 15.1683V8.58033C2.25 7.20399 2.68237 5.96865 3.51987 5.07032Z",
153
+ d: "M3.52 5.07c.843-.904 2.04-1.406 3.445-1.406h10.07c1.407 0 2.605.502 3.448 1.407.837.898 1.267 2.134 1.267 3.51v2.923a.75.75 0 0 1-1.5 0V8.58c0-1.065-.33-1.913-.865-2.487-.529-.568-1.313-.929-2.35-.929H6.965c-1.033 0-1.818.36-2.348.93-.536.574-.867 1.421-.867 2.486v6.588c0 1.067.33 1.914.865 2.488.529.568 1.313.929 2.35.929h4.157a.75.75 0 0 1 0 1.5H6.965c-1.407 0-2.605-.502-3.448-1.407-.837-.898-1.267-2.134-1.267-3.51V8.58c0-1.376.432-2.611 1.27-3.51Z",
146
154
  fill: "currentColor"
147
155
  }),
148
156
  /* @__PURE__ */ u("path", {
149
157
  fillRule: "evenodd",
150
158
  clipRule: "evenodd",
151
- d: "M2.25 9.71191C2.25 9.2977 2.58579 8.96191 3 8.96191H21C21.4142 8.96191 21.75 9.2977 21.75 9.71191C21.75 10.1261 21.4142 10.4619 21 10.4619H3C2.58579 10.4619 2.25 10.1261 2.25 9.71191Z",
159
+ d: "M2.25 9.712a.75.75 0 0 1 .75-.75h18a.75.75 0 0 1 0 1.5H3a.75.75 0 0 1-.75-.75Z",
152
160
  fill: "currentColor"
153
161
  }),
154
162
  /* @__PURE__ */ u("path", {
155
163
  fillRule: "evenodd",
156
164
  clipRule: "evenodd",
157
- d: "M18.4359 14.3971C17.5875 13.5487 16.2128 13.5487 15.3644 14.3971C14.516 15.2455 14.516 16.6202 15.3644 17.4686C16.2128 18.317 17.5875 18.317 18.4359 17.4686C19.2843 16.6202 19.2843 15.2455 18.4359 14.3971ZM14.3037 13.3364C15.7379 11.9022 18.0624 11.9022 19.4966 13.3364C20.9308 14.7706 20.9308 17.0951 19.4966 18.5293C18.0624 19.9635 15.7379 19.9635 14.3037 18.5293C12.8695 17.0951 12.8695 14.7706 14.3037 13.3364Z",
165
+ d: "M18.436 14.397a2.171 2.171 0 1 0-3.072 3.07 2.171 2.171 0 0 0 3.072-3.07Zm-4.132-1.06a3.672 3.672 0 1 1 5.193 5.191 3.672 3.672 0 0 1-5.193-5.192Z",
158
166
  fill: "currentColor"
159
167
  }),
160
168
  /* @__PURE__ */ u("path", {
161
169
  fillRule: "evenodd",
162
170
  clipRule: "evenodd",
163
- d: "M18.436 17.4707C18.7289 17.1778 19.2038 17.1778 19.4967 17.4707L21.0797 19.0538C21.3726 19.3467 21.3726 19.8215 21.0797 20.1144C20.7868 20.4073 20.3119 20.4073 20.019 20.1144L18.436 18.5314C18.1431 18.2385 18.1431 17.7636 18.436 17.4707Z",
171
+ d: "M18.436 17.47a.75.75 0 0 1 1.06 0l1.584 1.584a.75.75 0 1 1-1.061 1.06l-1.583-1.583a.75.75 0 0 1 0-1.06Z",
164
172
  fill: "currentColor"
165
173
  })
166
174
  ]
@@ -183,20 +191,20 @@ var QuestionIcon = ({ className }) => {
183
191
  r: "32",
184
192
  fill: "#14151A"
185
193
  }), /* @__PURE__ */ u("path", {
186
- d: "M32 41C33.1045 41 34 41.8955 34 43C34 44.1045 33.1045 45 32 45C30.8954 45 30 44.1045 30 43C30 41.8954 30.8954 41 32 41ZM32 18.5C36.6906 18.5001 40.1669 22.0578 40.167 26.5605C40.167 28.8363 39.239 30.7175 37.7119 32.0381C36.5502 33.0426 35.086 33.6855 33.5 33.9863V38H30.5V31.2568L31.9072 31.1699C33.5141 31.0696 34.8469 30.5494 35.75 29.7686C36.6245 29.0121 37.167 27.9561 37.167 26.5605C37.1669 23.7203 35.0394 21.5001 32 21.5C28.9065 21.5001 26.7253 23.7825 26.1406 26.8418L23.1934 26.2793C23.9755 22.1855 27.1118 18.5001 32 18.5Z",
194
+ d: "M32 41a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm0-22.5c4.69 0 8.167 3.558 8.167 8.06 0 2.276-.928 4.158-2.455 5.478-1.162 1.005-2.626 1.648-4.212 1.948V38h-3v-6.743l1.407-.087c1.607-.1 2.94-.62 3.843-1.401.874-.757 1.417-1.813 1.417-3.208 0-2.84-2.128-5.06-5.167-5.061-3.093 0-5.275 2.282-5.86 5.342l-2.947-.563C23.975 22.186 27.112 18.5 32 18.5Z",
187
195
  fill: "white"
188
196
  })]
189
197
  });
190
198
  };
191
199
  //#endregion
192
200
  //#region src/modules/id/commonIssues.tsx
193
- var CommonIssues = ({ open, onClose, onTakeManually, portalContainer }) => {
201
+ var CommonIssues = ({ open, onClose, onTakeManually, onTakeAutomatically, portalContainer }) => {
194
202
  const { t } = useTranslation();
195
203
  const titleRef = q((el) => {
196
204
  el?.focus();
197
205
  }, []);
198
- const handleTakeManually = () => {
199
- onTakeManually();
206
+ const handleSwitchCaptureMode = () => {
207
+ (onTakeAutomatically ?? onTakeManually)();
200
208
  onClose();
201
209
  };
202
210
  return /* @__PURE__ */ u(Modal.Root, {
@@ -282,9 +290,9 @@ var CommonIssues = ({ open, onClose, onTakeManually, portalContainer }) => {
282
290
  class: "IncodeCommonIssuesButtons",
283
291
  children: [/* @__PURE__ */ u(Button, {
284
292
  variant: "link",
285
- onClick: handleTakeManually,
293
+ onClick: handleSwitchCaptureMode,
286
294
  class: "IncodeCommonIssuesTakeManually",
287
- children: t("commonIssues.takeManually")
295
+ children: t(onTakeAutomatically ? "commonIssues.takeAutomatically" : "commonIssues.takeManually")
288
296
  }), /* @__PURE__ */ u(Button, {
289
297
  onClick: onClose,
290
298
  class: "IncodeCommonIssuesTryAgain",
@@ -364,10 +372,11 @@ var useCaptureResultPreview = (state) => {
364
372
  * is deliberately still on screen.
365
373
  */
366
374
  function getCaptureStageView(state, phase) {
367
- if (!state.previewImageUrl) return "live";
375
+ const isCommitted = state.captureStatus === "capturing" || state.captureStatus === "uploading";
376
+ if (!state.previewImageUrl) return isCommitted ? "analyzing" : "live";
368
377
  if (phase === "exiting") return "crossfade";
369
378
  if (phase === "present") return "live";
370
- return state.captureStatus === "capturing" || state.captureStatus === "uploading" ? "analyzing" : "live";
379
+ return isCommitted ? "analyzing" : "live";
371
380
  }
372
381
  function getCaptureMode(state) {
373
382
  return state.currentMode === "passport" ? "passport" : "id";
@@ -388,7 +397,8 @@ var CAMERA_PERMISSION_UX = {
388
397
  CONTROL: "control",
389
398
  PENDING: "pending",
390
399
  PERMISSION_SHEET: "permissionSheet",
391
- HOW_IT_WORKS: "howItWorks"
400
+ HOW_IT_WORKS: "howItWorks",
401
+ PERMISSION_IN_CAMERA: "permissionInCamera"
392
402
  };
393
403
  var ID_CAPTURE_STATUS = {
394
404
  TUTORIAL: "tutorial",
@@ -397,7 +407,24 @@ var ID_CAPTURE_STATUS = {
397
407
  CAPTURE: "capture"
398
408
  };
399
409
  /** Underlying machine phases core collapses into `status: 'loading'`. */
400
- var ID_CAPTURE_LOADING_PHASE = { PERMISSIONS_IDLE: "permissionsIdle" };
410
+ var ID_CAPTURE_LOADING_PHASE = {
411
+ PERMISSIONS_IDLE: "permissionsIdle",
412
+ CHECKING_STREAM: "checkingStream",
413
+ INITIALIZING_DEEPSIGHT: "initializingDeepsight",
414
+ INITIALIZING_CAMERA: "initializingCamera"
415
+ };
416
+ /**
417
+ * The post-grant camera warm-up phases. IDC-03 is the only arm that renders
418
+ * across them — its shell stays mounted until live capture takes over — so
419
+ * `useCameraPermissionUx` (which arm may paint) and
420
+ * `useIdPermissionExperience` (whether the shell is retained) must agree on
421
+ * exactly this set.
422
+ */
423
+ var CAMERA_WARMUP_LOADING_PHASES = new Set([
424
+ ID_CAPTURE_LOADING_PHASE.CHECKING_STREAM,
425
+ ID_CAPTURE_LOADING_PHASE.INITIALIZING_DEEPSIGHT,
426
+ ID_CAPTURE_LOADING_PHASE.INITIALIZING_CAMERA
427
+ ]);
401
428
  /** Underlying machine phases core collapses into `status: 'tutorial'`. */
402
429
  var ID_CAPTURE_TUTORIAL_PHASE = {
403
430
  CHECKING_PERMISSION: "checkingPermission",
@@ -464,6 +491,11 @@ var ID_EXPERIMENTS = {
464
491
  module: eventModuleNames.idCapture,
465
492
  ...defineExperimentParams({ showHowItWorks: booleanParam(false) })
466
493
  },
494
+ cameraPermissionInCamera: {
495
+ storeParam: "idcExp03PermissionInCamera",
496
+ module: eventModuleNames.idCapture,
497
+ ...defineExperimentParams({ showPermissionInCamera: booleanParam(false) })
498
+ },
467
499
  manualTooltip: {
468
500
  storeParam: "idcExp08ManualTooltip",
469
501
  module: eventModuleNames.idCapture,
@@ -621,15 +653,16 @@ var CaptureFrame = ({ orientation, mode, state, children, className }) => {
621
653
  };
622
654
  //#endregion
623
655
  //#region src/modules/id/processing/idProcessingLayout.tsx
624
- var IdProcessingLayout = ({ imageUrl, orientation, mode, borderState, topContent, bottomContent, overlayContent, blurImage }) => {
656
+ var IdProcessingLayout = ({ imageUrl, orientation, mode, borderState, topContent, bottomContent, overlayContent, imagePending = false, blurImage }) => {
625
657
  const { t } = useTranslation();
626
658
  const frameMode = mode === "id" ? "front" : mode;
659
+ const hasFrame = Boolean(imageUrl) || imagePending;
627
660
  return /* @__PURE__ */ u(Page, {
628
661
  hideHeader: true,
629
662
  hideFooterBranding: true,
630
663
  className: "IncodeIdProcessingPage",
631
664
  children: /* @__PURE__ */ u("div", {
632
- class: cn("IncodeIdProcessingLayout", !imageUrl && "IncodeIdProcessingLayoutNoImage"),
665
+ class: cn("IncodeIdProcessingLayout", !hasFrame && "IncodeIdProcessingLayoutNoImage"),
633
666
  children: /* @__PURE__ */ u("div", {
634
667
  class: "IncodeIdProcessingLayoutContent",
635
668
  children: [
@@ -637,11 +670,11 @@ var IdProcessingLayout = ({ imageUrl, orientation, mode, borderState, topContent
637
670
  class: "IncodeIdProcessingTopArea",
638
671
  children: topContent
639
672
  }),
640
- imageUrl && /* @__PURE__ */ u(CaptureFrame, {
673
+ hasFrame && /* @__PURE__ */ u(CaptureFrame, {
641
674
  orientation,
642
675
  mode: frameMode,
643
676
  state: borderState,
644
- children: [/* @__PURE__ */ u("img", {
677
+ children: imageUrl ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u("img", {
645
678
  src: imageUrl,
646
679
  alt: "",
647
680
  "aria-hidden": "true",
@@ -650,11 +683,14 @@ var IdProcessingLayout = ({ imageUrl, orientation, mode, borderState, topContent
650
683
  class: "IncodeIdProcessingOverlay",
651
684
  "aria-hidden": "true",
652
685
  children: overlayContent
653
- })]
686
+ })] }) : /* @__PURE__ */ u("div", {
687
+ class: "IncodeIdProcessingPlaceholder",
688
+ "aria-hidden": "true"
689
+ })
654
690
  }),
655
691
  /* @__PURE__ */ u("div", {
656
692
  class: "IncodeIdProcessingBottomArea",
657
- children: [imageUrl && /* @__PURE__ */ u("div", {
693
+ children: [hasFrame && /* @__PURE__ */ u("div", {
658
694
  class: "IncodeCaptureEncryptionLabel",
659
695
  children: [/* @__PURE__ */ u(LockIcon, { className: "IncodeCaptureEncryptionIcon" }), /* @__PURE__ */ u("span", { children: t("idv2.capture.allDataIsEncrypted") })]
660
696
  }), bottomContent]
@@ -692,8 +728,9 @@ function getAnalyzingTitleKey(resultPreviewEnabled, progress) {
692
728
  }
693
729
  //#endregion
694
730
  //#region src/modules/id/processing/idAnalyzing.tsx
695
- var IdAnalyzing = ({ imageUrl, progress, orientation, mode, blurImage, autoFocusTitle = true, resultPreviewEnabled = false }) => {
731
+ var IdAnalyzing = ({ imageUrl, progress, orientation, mode, blurImage, autoFocusTitle = true, resultPreviewEnabled = false, simulatedProgressDelayMs = 0 }) => {
696
732
  const { t } = useTranslation();
733
+ const [simulatedDelayMs] = d(simulatedProgressDelayMs);
697
734
  const titleRef = A(null);
698
735
  const isHorizontal = orientation !== "vertical";
699
736
  const titleKey = getAnalyzingTitleKey(resultPreviewEnabled, progress);
@@ -709,9 +746,11 @@ var IdAnalyzing = ({ imageUrl, progress, orientation, mode, blurImage, autoFocus
709
746
  blurImage,
710
747
  topContent: /* @__PURE__ */ u("div", {
711
748
  class: "IncodeAnalyzingContent",
749
+ style: { "--progress-bar-simulated-delay": `${simulatedDelayMs}ms` },
712
750
  children: [/* @__PURE__ */ u(ProgressBar, {
713
751
  progress,
714
- labelledById: "analyzing-title"
752
+ labelledById: "analyzing-title",
753
+ simulated: true
715
754
  }), /* @__PURE__ */ u(Title, {
716
755
  ref: titleRef,
717
756
  id: "analyzing-title",
@@ -730,7 +769,8 @@ var IdAnalyzing = ({ imageUrl, progress, orientation, mode, blurImage, autoFocus
730
769
  loop: true,
731
770
  autoStop: true,
732
771
  class: "IncodeAnalyzingLottie"
733
- })
772
+ }),
773
+ imagePending: !imageUrl
734
774
  });
735
775
  };
736
776
  //#endregion
@@ -745,7 +785,7 @@ var GreenCheckIcon = ({ className, ...rest }) => /* @__PURE__ */ u("svg", {
745
785
  "aria-hidden": "true",
746
786
  ...rest,
747
787
  children: /* @__PURE__ */ u("path", {
748
- d: "M16 0C24.8363 0.00012782 32 7.1636 32 16C31.9999 24.8363 24.8363 31.9999 16 32C7.16362 32 7.37067e-05 24.8364 0 16C0 7.16352 7.16357 0 16 0ZM22.3486 11.2314C21.8838 10.7668 21.1503 10.736 20.6494 11.1387L20.6406 11.1455L20.5537 11.2236L13.7139 18.0635L11.4521 15.8008C10.9543 15.3032 10.1473 15.3033 9.64941 15.8008C9.18435 16.2658 9.15345 17.0008 9.55664 17.502L9.56348 17.5098L9.6416 17.5977L12.8125 20.7686C13.2775 21.2335 14.0117 21.2644 14.5127 20.8613L14.5205 20.8545L14.6084 20.7764L22.3486 13.0352C22.8467 12.5371 22.8467 11.7295 22.3486 11.2314Z",
788
+ d: "M16 0c8.836 0 16 7.164 16 16s-7.164 16-16 16S0 24.836 0 16 7.164 0 16 0Zm6.349 11.231a1.275 1.275 0 0 0-1.7-.092l-.008.007-.087.078-6.84 6.84-2.262-2.263a1.275 1.275 0 0 0-1.895 1.701l.006.008.079.088 3.17 3.17c.466.465 1.2.496 1.7.093l.008-.006.088-.079 7.74-7.74a1.275 1.275 0 0 0 0-1.805Z",
749
789
  fill: "#189F60"
750
790
  })
751
791
  });
@@ -877,7 +917,7 @@ var DriversLicenseIcon = ({ class: className }) => /* @__PURE__ */ u("svg", {
877
917
  children: /* @__PURE__ */ u("path", {
878
918
  "fill-rule": "evenodd",
879
919
  "clip-rule": "evenodd",
880
- d: "M4.96989 7.80578L5.74572 5.65245C5.81739 5.44661 5.94239 5.26495 6.10989 5.12411C6.27572 4.98411 6.47656 4.89161 6.68572 4.85661C8.87991 4.51078 11.1049 4.51078 13.2974 4.85661C13.5124 4.89078 13.7149 4.98328 13.8824 5.12328C14.0491 5.26328 14.1757 5.44578 14.2499 5.65828L15.0232 7.80578C11.6791 8.12578 8.31406 8.12578 4.96989 7.80578ZM13.7082 12.5141C13.2007 12.5141 12.7874 12.1008 12.7874 11.5924C12.7874 11.0849 13.2007 10.6716 13.7082 10.6716C14.2166 10.6716 14.6299 11.0849 14.6299 11.5924C14.6299 12.1008 14.2166 12.5141 13.7082 12.5141ZM6.28489 12.5141C5.77656 12.5141 5.36322 12.1008 5.36322 11.5924C5.36322 11.0849 5.77656 10.6716 6.28489 10.6716C6.79239 10.6716 7.20572 11.0849 7.20572 11.5924C7.20572 12.1008 6.79239 12.5141 6.28489 12.5141ZM18.1041 8.06161C18.0557 7.71995 17.7341 7.48162 17.3974 7.52995C17.0332 7.58161 16.6674 7.62161 16.3024 7.66578C16.3024 7.66578 16.3016 7.66411 16.3007 7.66245L15.4274 5.23995C15.2816 4.82078 15.0241 4.44911 14.6849 4.16495C14.3441 3.87995 13.9332 3.69245 13.4941 3.62161C11.1707 3.25661 8.81491 3.25578 6.48572 3.62245C6.04989 3.69578 5.64072 3.88411 5.30489 4.16828C4.96739 4.45161 4.71156 4.82161 4.56739 5.23495L3.69572 7.65578C3.69406 7.65911 3.69156 7.66245 3.68989 7.66578C3.32489 7.62161 2.95989 7.58161 2.59572 7.52995C2.25406 7.48578 1.93739 7.71911 1.88906 8.06161C1.84072 8.40326 2.07822 8.71992 2.41989 8.76826C2.72989 8.81242 3.04072 8.84492 3.35156 8.88326L2.94406 9.44409C2.52239 10.0249 2.29906 10.7108 2.29906 11.4283V15.6158C2.29906 16.1866 2.76322 16.6508 3.33406 16.6508H5.00072C5.57156 16.6508 6.03489 16.1866 6.03489 15.6158V15.2316C6.03489 15.1758 6.04489 15.1191 6.06572 15.0683C6.08739 15.0149 6.11822 14.9683 6.15822 14.9283C6.19739 14.8883 6.24406 14.8566 6.29489 14.8349C6.34572 14.8141 6.40239 14.8024 6.45906 14.8024H13.5182C13.5749 14.8024 13.6307 14.8141 13.6816 14.8349C13.7332 14.8566 13.7799 14.8883 13.8199 14.9283C13.8582 14.9683 13.8899 15.0149 13.9107 15.0658C13.9316 15.1191 13.9424 15.1749 13.9416 15.2333V15.6158C13.9416 16.1866 14.4049 16.6508 14.9757 16.6508H16.6591C17.2291 16.6508 17.6932 16.1866 17.6932 15.6158V11.4124C17.6932 10.6891 17.4674 9.99659 17.0374 9.40992L16.6449 8.88326C16.9541 8.84492 17.2641 8.81242 17.5732 8.76826C17.9149 8.71992 18.1524 8.40326 18.1041 8.06161Z",
920
+ d: "m4.97 7.806.776-2.154a1.21 1.21 0 0 1 .94-.795 21.2 21.2 0 0 1 6.611 0 1.21 1.21 0 0 1 .953.801l.773 2.148c-3.344.32-6.709.32-10.053 0Zm8.738 4.708a.922.922 0 0 1 0-1.842.922.922 0 0 1 0 1.842Zm-7.423 0a.922.922 0 1 1 .92-.922.92.92 0 0 1-.92.922Zm11.82-4.452a.63.63 0 0 0-.708-.532c-.364.052-.73.092-1.095.136l-.001-.004-.874-2.422a2.46 2.46 0 0 0-1.933-1.618 22.5 22.5 0 0 0-7.008 0 2.46 2.46 0 0 0-1.919 1.613l-.871 2.42-.006.01c-.365-.043-.73-.083-1.094-.135a.625.625 0 0 0-.176 1.238c.31.044.62.077.932.115l-.408.561a3.36 3.36 0 0 0-.645 1.984v4.188c0 .57.464 1.035 1.035 1.035h1.667c.57 0 1.034-.464 1.034-1.035v-.384a.43.43 0 0 1 .123-.304.43.43 0 0 1 .301-.126h7.06a.43.43 0 0 1 .3.126q.06.06.092.138.03.08.03.167v.383c0 .57.464 1.035 1.035 1.035h1.683c.57 0 1.034-.464 1.034-1.035v-4.204c0-.723-.226-1.415-.656-2.002l-.392-.527c.31-.038.62-.07.928-.115a.625.625 0 0 0 .531-.706Z",
881
921
  fill: "var(--icon-neutral-300)"
882
922
  })
883
923
  });
@@ -894,7 +934,7 @@ var IdentificationCardIcon = ({ class: className }) => /* @__PURE__ */ u("svg",
894
934
  children: /* @__PURE__ */ u("path", {
895
935
  "fill-rule": "evenodd",
896
936
  "clip-rule": "evenodd",
897
- d: "M14.7887 9.39382H11.8662C11.4879 9.39382 11.1804 9.08715 11.1804 8.70882C11.1804 8.32964 11.4879 8.02297 11.8662 8.02297H14.7887C15.167 8.02297 15.4737 8.32964 15.4737 8.70882C15.4737 9.08715 15.167 9.39382 14.7887 9.39382ZM14.7887 12.4847H12.9695C12.5912 12.4847 12.2845 12.178 12.2845 11.7997C12.2845 11.4205 12.5912 11.1138 12.9695 11.1138H14.7887C15.167 11.1138 15.4737 11.4205 15.4737 11.7997C15.4737 12.178 15.167 12.4847 14.7887 12.4847ZM10.3937 13.6797L5.0612 13.6872C4.9787 13.6872 4.89953 13.6547 4.8412 13.5972C4.7837 13.5388 4.7512 13.4597 4.7512 13.378C4.7512 12.2505 5.6712 11.1138 7.72703 11.1138C9.78287 11.1138 10.7037 12.2472 10.7037 13.3705C10.7037 13.5413 10.5654 13.6797 10.3937 13.6797ZM7.72703 6.29464C8.79204 6.29464 9.65787 7.16047 9.65787 8.22547C9.65787 9.29048 8.79204 10.1572 7.72703 10.1572C6.66203 10.1572 5.7962 9.29048 5.7962 8.22547C5.7962 7.16047 6.66203 6.29464 7.72703 6.29464ZM14.207 3.16797H6.04036C3.79036 3.16797 2.20703 4.83463 2.20703 7.16797V12.8347C2.20703 15.168 3.79036 16.8347 6.04036 16.8347H14.207C16.457 16.8347 18.0404 15.168 18.0404 12.8347V7.16797C18.0404 4.83463 16.457 3.16797 14.207 3.16797Z",
937
+ d: "M14.789 9.394h-2.923a.686.686 0 1 1 0-1.371h2.923a.685.685 0 0 1 0 1.37Zm0 3.09h-1.82a.685.685 0 0 1 0-1.37h1.82a.685.685 0 0 1 0 1.37Zm-4.395 1.196-5.333.007a.31.31 0 0 1-.22-.09.31.31 0 0 1-.09-.219c0-1.127.92-2.264 2.976-2.264s2.977 1.133 2.977 2.256a.31.31 0 0 1-.31.31ZM7.727 6.295c1.065 0 1.93.865 1.93 1.93a1.933 1.933 0 0 1-1.93 1.932 1.933 1.933 0 0 1-1.93-1.932c0-1.065.865-1.93 1.93-1.93Zm6.48-3.127H6.04c-2.25 0-3.833 1.667-3.833 4v5.667c0 2.333 1.583 4 3.833 4h8.167c2.25 0 3.833-1.667 3.833-4V7.168c0-2.333-1.583-4-3.833-4Z",
898
938
  fill: "var(--icon-neutral-300)"
899
939
  })
900
940
  });
@@ -909,12 +949,12 @@ var PassportIcon$1 = ({ class: className }) => /* @__PURE__ */ u("svg", {
909
949
  "aria-hidden": "true",
910
950
  class: className,
911
951
  children: [/* @__PURE__ */ u("path", {
912
- d: "M9.9975 10.2773C9.24125 10.2773 8.625 10.8946 8.625 11.6523C8.625 12.4049 9.24017 13.019 9.9975 13.019C10.7548 13.019 11.37 12.4049 11.37 11.6523C11.37 10.8946 10.7538 10.2773 9.9975 10.2773Z",
952
+ d: "M9.998 10.277c-.757 0-1.373.618-1.373 1.375 0 .753.615 1.367 1.373 1.367.757 0 1.372-.614 1.372-1.367 0-.757-.616-1.375-1.372-1.375Z",
913
953
  fill: "var(--icon-neutral-300)"
914
954
  }), /* @__PURE__ */ u("path", {
915
955
  "fill-rule": "evenodd",
916
956
  "clip-rule": "evenodd",
917
- d: "M5.96198 17.9186H14.0386C15.2545 17.9186 16.2428 16.9311 16.2428 15.7186V7.86028C16.2428 6.81169 15.504 5.93273 14.5192 5.71305C14.5023 5.70929 14.485 5.70752 14.4677 5.70752H6.72651C6.49651 5.70752 6.30985 5.52085 6.30985 5.29085C6.30985 5.06085 6.49651 4.87419 6.72651 4.87419H14.237C14.375 4.87419 14.487 4.76226 14.487 4.62419V3.87694C14.487 3.31778 14.2336 2.80111 13.792 2.45861C13.3511 2.11694 12.7878 2.00028 12.2461 2.13944L4.96948 4.02278C4.25615 4.20278 3.75781 4.84444 3.75781 5.58528V15.7186C3.75781 16.9311 4.74698 17.9186 5.96198 17.9186ZM7.37715 11.652C7.37715 10.2047 8.5527 9.02699 9.99962 9.02699C11.4466 9.02699 12.6221 10.2047 12.6221 11.652C12.6221 13.0959 11.4459 14.2687 9.99962 14.2687C8.55337 14.2687 7.37715 13.0959 7.37715 11.652Z",
957
+ d: "M5.962 17.919h8.077a2.205 2.205 0 0 0 2.204-2.2V7.86a2.205 2.205 0 0 0-1.724-2.147.2.2 0 0 0-.051-.005H6.727a.417.417 0 0 1 0-.834h7.51a.25.25 0 0 0 .25-.25v-.747c0-.56-.253-1.076-.695-1.418a1.78 1.78 0 0 0-1.546-.32L4.97 4.023a1.606 1.606 0 0 0-1.211 1.562V15.72c0 1.212.989 2.2 2.204 2.2Zm1.415-6.267A2.626 2.626 0 0 1 10 9.027a2.626 2.626 0 0 1 2.622 2.625A2.62 2.62 0 0 1 10 14.269a2.62 2.62 0 0 1-2.623-2.617Z",
918
958
  fill: "var(--icon-neutral-300)"
919
959
  })]
920
960
  });
@@ -931,12 +971,12 @@ var ResidenceDocumentIcon = ({ class: className }) => /* @__PURE__ */ u("svg", {
931
971
  children: [/* @__PURE__ */ u("path", {
932
972
  "fill-rule": "evenodd",
933
973
  "clip-rule": "evenodd",
934
- d: "M11.0406 13.3633C10.9006 13.2949 10.559 13.2949 10.0431 13.2949C9.52729 13.2949 9.18646 13.2949 9.05812 13.3574C8.92646 13.4174 8.82729 13.5191 8.76562 13.6474C8.70312 13.7791 8.70312 14.1199 8.70312 14.6366V17.5724C8.70312 17.7105 8.81513 17.8224 8.95313 17.8224H11.1331C11.2712 17.8224 11.3831 17.7105 11.3831 17.5724V14.6366C11.3831 14.1208 11.3831 13.7799 11.3206 13.6491C11.259 13.5191 11.1598 13.4183 11.0406 13.3633Z",
974
+ d: "M11.04 13.363c-.14-.068-.481-.068-.997-.068s-.857 0-.985.062a.6.6 0 0 0-.292.29c-.063.132-.063.473-.063.99v2.935c0 .139.112.25.25.25h2.18a.25.25 0 0 0 .25-.25v-2.935c0-.516 0-.857-.062-.988a.6.6 0 0 0-.28-.286Z",
935
975
  fill: "var(--icon-neutral-300)"
936
976
  }), /* @__PURE__ */ u("path", {
937
977
  "fill-rule": "evenodd",
938
978
  "clip-rule": "evenodd",
939
- d: "M18.0187 7.75148L15.602 5.83815V4.10232C15.602 3.64232 15.2295 3.26898 14.7687 3.26898C14.3087 3.26898 13.9353 3.64232 13.9353 4.10232V4.51815L11.7453 2.78315C10.7186 1.97482 9.28448 1.97649 8.25615 2.78482L1.98448 7.75148C1.62365 8.03732 1.56198 8.56146 1.84782 8.92229C2.13365 9.28313 2.65782 9.34229 3.01865 9.05813L3.12365 8.97563V14.6465C3.12365 16.3973 4.54948 17.8215 6.30198 17.8215H7.20698C7.34505 17.8215 7.45698 17.7095 7.45698 17.5715V14.6356C7.45698 13.9006 7.45698 13.4948 7.64198 13.109C7.82948 12.7156 8.14448 12.4023 8.52948 12.2256C8.90282 12.0448 9.30948 12.0448 10.047 12.0448C10.7853 12.0448 11.192 12.0448 11.5787 12.2323C11.9512 12.4031 12.2662 12.7173 12.4528 13.1098C12.637 13.494 12.637 13.8998 12.637 14.6356V17.5715C12.637 17.7095 12.7489 17.8215 12.887 17.8215H13.7011C15.4536 17.8215 16.8795 16.3973 16.8795 14.6465V8.97563L16.9845 9.05813C17.137 9.17979 17.3195 9.23813 17.5012 9.23813C17.747 9.23813 17.9903 9.12979 18.1553 8.92229C18.4403 8.56146 18.3795 8.03732 18.0187 7.75148Z",
979
+ d: "m18.019 7.751-2.417-1.913V4.102a.833.833 0 1 0-1.667 0v.416l-2.19-1.735a2.81 2.81 0 0 0-3.489.002L1.984 7.75A.834.834 0 1 0 3.02 9.058l.105-.082v5.67a3.18 3.18 0 0 0 3.178 3.175h.905a.25.25 0 0 0 .25-.25v-2.935c0-.735 0-1.141.185-1.527a1.84 1.84 0 0 1 .887-.883c.374-.181.78-.181 1.518-.181s1.145 0 1.532.187c.372.171.687.485.874.878.184.384.184.79.184 1.526v2.936c0 .137.112.25.25.25h.814a3.18 3.18 0 0 0 3.178-3.175V8.976l.105.082a.834.834 0 1 0 1.034-1.307Z",
940
980
  fill: "var(--icon-neutral-300)"
941
981
  })]
942
982
  });
@@ -1046,18 +1086,7 @@ var UnacceptedIdDocuments = ({ acceptedDocuments, countryCode }) => {
1046
1086
  //#region src/modules/id/processing/idError.tsx
1047
1087
  var IdError = ({ manager, state, blurImage, ..._rest }) => {
1048
1088
  const { t } = useTranslation();
1049
- if (state.status === "error") return /* @__PURE__ */ u("div", {
1050
- class: "IncodeIdError",
1051
- role: "alert",
1052
- children: [/* @__PURE__ */ u("div", {
1053
- class: "IncodeIdErrorMessage",
1054
- children: state.error
1055
- }), /* @__PURE__ */ u(Button, {
1056
- onClick: () => manager.reset(),
1057
- "data-testid": "retry-button",
1058
- children: t("idv2.capture.processing.tryAgain")
1059
- })]
1060
- });
1089
+ if (state.status === "error") return /* @__PURE__ */ u(TerminalErrorPage, {});
1061
1090
  const mode = state.currentMode === "passport" ? "passport" : "id";
1062
1091
  const unacceptableIdType = state.uploadError === "ID_TYPE_UNACCEPTABLE";
1063
1092
  if (!unacceptableIdType && !state.previewImageUrl) return null;
@@ -1148,13 +1177,39 @@ var IdNoAttempts = ({ manager }) => {
1148
1177
  });
1149
1178
  };
1150
1179
  //#endregion
1180
+ //#region src/modules/id/capture/captureResultFlash.tsx
1181
+ var FLASH_ANIMATION_NAME = "incodeCaptureResultFlash";
1182
+ /**
1183
+ * One-shot white "shutter" flash: on the `uxp_idc_exp05_show_result`
1184
+ * treatment's result preview, and at the end of the countdown. Plays on mount
1185
+ * (after `delayMs`) and reports `animationend` so its parent can remove and
1186
+ * re-arm it for the next capture.
1187
+ */
1188
+ var CaptureResultFlash = ({ delayMs, onAnimationStart, onAnimationEnd }) => {
1189
+ const hasStartedRef = A(false);
1190
+ return /* @__PURE__ */ u("div", {
1191
+ class: "IncodeCaptureResultFlash",
1192
+ "aria-hidden": "true",
1193
+ style: delayMs ? { "--capture-result-flash-delay": `${delayMs}ms` } : void 0,
1194
+ onAnimationStart: (event) => {
1195
+ if (event.animationName !== FLASH_ANIMATION_NAME || hasStartedRef.current) return;
1196
+ hasStartedRef.current = true;
1197
+ onAnimationStart?.();
1198
+ },
1199
+ onAnimationEnd: (event) => {
1200
+ if (event.animationName !== FLASH_ANIMATION_NAME) return;
1201
+ onAnimationEnd?.();
1202
+ }
1203
+ });
1204
+ };
1205
+ //#endregion
1151
1206
  //#region src/modules/id/capture/idHint.tsx
1152
- var FrontHorizontalHintSvg = z(() => import("./front-horizontal-hint-mgovnJf3.js"));
1153
- var FrontVerticalHintSvg = z(() => import("./front-vertical-hint-qXMVdLri.js"));
1154
- var BackHorizontalHintSvg = z(() => import("./back-horizontal-hint-UQ7Nof6k.js"));
1155
- var BackVerticalHintSvg = z(() => import("./back-vertical-hint-Crc8ybfk.js"));
1156
- var PassportHorizontalHintSvg = z(() => import("./passport-horizontal-hint-6Ghn2EEN.js"));
1157
- var PassportVerticalHintSvg = z(() => import("./passport-vertical-hint-UPFFpdf4.js"));
1207
+ var FrontHorizontalHintSvg = z(() => import("./front-horizontal-hint-DEHmtcdg.js"));
1208
+ var FrontVerticalHintSvg = z(() => import("./front-vertical-hint-Cb1NO-xT.js"));
1209
+ var BackHorizontalHintSvg = z(() => import("./back-horizontal-hint-BztyPanp.js"));
1210
+ var BackVerticalHintSvg = z(() => import("./back-vertical-hint-BSzA4QbJ.js"));
1211
+ var PassportHorizontalHintSvg = z(() => import("./passport-horizontal-hint-DgNc6F0-.js"));
1212
+ var PassportVerticalHintSvg = z(() => import("./passport-vertical-hint-B-toVsfT.js"));
1158
1213
  var CARD_WIDTH_IN_SVG = {
1159
1214
  "front-horizontal": 348,
1160
1215
  "back-horizontal": 348,
@@ -1173,8 +1228,9 @@ function computeScale(mode, orientation, width, height) {
1173
1228
  if (cardHeight) return height / cardHeight;
1174
1229
  return 1;
1175
1230
  }
1176
- var IdHint = ({ mode, orientation, onAnimationEnd }) => {
1231
+ var IdHint = ({ mode, orientation, onAnimationStart, onAnimationEnd }) => {
1177
1232
  const containerRef = A(null);
1233
+ const hasStartedRef = A(false);
1178
1234
  const [scale, setScale] = d(1);
1179
1235
  y(() => {
1180
1236
  const el = containerRef.current;
@@ -1200,8 +1256,13 @@ var IdHint = ({ mode, orientation, onAnimationEnd }) => {
1200
1256
  role: "presentation",
1201
1257
  children: /* @__PURE__ */ u("div", {
1202
1258
  class: "IncodeIdHintAnimated",
1259
+ onAnimationStart: (event) => {
1260
+ if (event.target !== event.currentTarget || event.animationName !== "slideUpAndDown" || hasStartedRef.current) return;
1261
+ hasStartedRef.current = true;
1262
+ onAnimationStart?.();
1263
+ },
1203
1264
  onAnimationEnd: (event) => {
1204
- if (event.animationName === "slideUpAndDown") onAnimationEnd?.();
1265
+ if (event.target === event.currentTarget && event.animationName === "slideUpAndDown") onAnimationEnd?.();
1205
1266
  },
1206
1267
  children: /* @__PURE__ */ u(P, {
1207
1268
  fallback: null,
@@ -1216,43 +1277,40 @@ var IdHint = ({ mode, orientation, onAnimationEnd }) => {
1216
1277
  };
1217
1278
  //#endregion
1218
1279
  //#region src/modules/id/capture/captureLiveFrameContent.tsx
1219
- var CaptureLiveFrameContent = ({ isCapturing, counterValue, showIdHint, mode, orientation, onIdHintAnimationEnd }) => /* @__PURE__ */ u(k, { children: [isCapturing && counterValue > 0 && /* @__PURE__ */ u("div", {
1280
+ var CaptureLiveFrameContent = ({ countdownStart, countdownStepMs, showIdHint, mode, orientation, onIdHintAnimationStart, onIdHintAnimationEnd, onFlashAnimationStart }) => /* @__PURE__ */ u(k, { children: [countdownStart > 0 && /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u("div", {
1220
1281
  class: "IncodeCaptureCounter",
1221
- children: counterValue
1222
- }), showIdHint && /* @__PURE__ */ u(IdHint, {
1282
+ "aria-hidden": "true",
1283
+ style: { "--capture-countdown-step": `${countdownStepMs}ms` },
1284
+ children: Array.from({ length: countdownStart }, (_, index) => /* @__PURE__ */ u("span", {
1285
+ class: "IncodeCaptureCounterDigit",
1286
+ style: { "--capture-countdown-index": index },
1287
+ children: countdownStart - index
1288
+ }, index))
1289
+ }), /* @__PURE__ */ u(CaptureResultFlash, {
1290
+ delayMs: countdownStart * countdownStepMs,
1291
+ onAnimationStart: onFlashAnimationStart
1292
+ })] }), showIdHint && /* @__PURE__ */ u(IdHint, {
1223
1293
  mode,
1224
1294
  orientation: orientation ?? "horizontal",
1295
+ onAnimationStart: onIdHintAnimationStart,
1225
1296
  onAnimationEnd: onIdHintAnimationEnd
1226
1297
  })] });
1227
1298
  //#endregion
1228
- //#region src/modules/id/capture/captureResultFlash.tsx
1229
- var FLASH_ANIMATION_NAME = "incodeCaptureResultFlash";
1230
- /**
1231
- * `uxp_idc_exp05_show_result` treatment: one-shot white "shutter" flash.
1232
- * Plays on mount and reports `animationend` so its parent can remove and
1233
- * re-arm it for the next capture.
1234
- */
1235
- var CaptureResultFlash = ({ onAnimationEnd }) => /* @__PURE__ */ u("div", {
1236
- class: "IncodeCaptureResultFlash",
1237
- "aria-hidden": "true",
1238
- onAnimationEnd: (event) => {
1239
- if (event.animationName !== FLASH_ANIMATION_NAME) return;
1240
- onAnimationEnd?.();
1241
- }
1242
- });
1243
- //#endregion
1244
1299
  //#region src/modules/id/capture/captureResultPreview.tsx
1245
- var CaptureResultPreview = ({ resultPreview, onFlashAnimationEnd }) => {
1300
+ var CaptureResultPreview = ({ resultPreview, onFlashAnimationStart, onFlashAnimationEnd }) => {
1246
1301
  const [hasFlashed, setHasFlashed] = d(false);
1247
1302
  return /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u("img", {
1248
1303
  src: resultPreview.imageUrl,
1249
1304
  alt: "",
1250
1305
  "aria-hidden": "true",
1251
1306
  class: cn("IncodeCaptureResultImage", resultPreview.blurImage && "IncodeCaptureResultImageBlurred")
1252
- }), !hasFlashed && /* @__PURE__ */ u(CaptureResultFlash, { onAnimationEnd: () => {
1253
- setHasFlashed(true);
1254
- onFlashAnimationEnd?.();
1255
- } })] });
1307
+ }), !hasFlashed && /* @__PURE__ */ u(CaptureResultFlash, {
1308
+ onAnimationStart: onFlashAnimationStart,
1309
+ onAnimationEnd: () => {
1310
+ setHasFlashed(true);
1311
+ onFlashAnimationEnd?.();
1312
+ }
1313
+ })] });
1256
1314
  };
1257
1315
  //#endregion
1258
1316
  //#region src/modules/id/capture/captureOverlayHelpers.ts
@@ -1264,7 +1322,7 @@ var resolveResultView = (t) => ({
1264
1322
  }
1265
1323
  });
1266
1324
  /** IDC-08 control/default copy — the title's shared idle vocabulary. */
1267
- function getFillFrameTitle(t, mode) {
1325
+ function getCaptureFrameTitle(t, mode) {
1268
1326
  if (mode === "passport") return t("idv2.capture.fillFramePassport");
1269
1327
  else if (mode === "back") return t("idv2.capture.fillFrameBack");
1270
1328
  return t("idv2.capture.fillFrameFront");
@@ -1290,7 +1348,7 @@ var resolveLiveView = ({ t, mode, detectionStatus, isCapturing, showManualCaptur
1290
1348
  header: null
1291
1349
  };
1292
1350
  const isManualTooltipTreatment = showManualCapture && manualTooltipVariant !== MANUAL_TOOLTIP.CONTROL;
1293
- const title = isManualTooltipTreatment ? getManualCaptureTitle(t, mode) : getFillFrameTitle(t, mode);
1351
+ const title = isManualTooltipTreatment ? getManualCaptureTitle(t, mode) : getCaptureFrameTitle(t, mode);
1294
1352
  let subtitle = t("idv2.capture.autoCapture");
1295
1353
  if (isManualTooltipTreatment && manualTooltipVariant === MANUAL_TOOLTIP.REMOVE) subtitle = t("idv2.capture.manualCapture.pressButton");
1296
1354
  else if (isManualCapture) subtitle = "";
@@ -1303,16 +1361,78 @@ var resolveLiveView = ({ t, mode, detectionStatus, isCapturing, showManualCaptur
1303
1361
  };
1304
1362
  };
1305
1363
  //#endregion
1364
+ //#region src/modules/id/capture/captureFocusContext.tsx
1365
+ var CaptureAutoFocusContext = Q(true);
1366
+ /**
1367
+ * Capture is part of the public extensibility surface, but layered transitions
1368
+ * need to defer its focus without adding transition-only state to the public
1369
+ * Capture props. This private context carries that presentation signal through
1370
+ * Capture to CaptureOverlay while ordinary consumers retain autofocus by
1371
+ * default.
1372
+ */
1373
+ var CaptureAutoFocusProvider = ({ enabled, children }) => /* @__PURE__ */ u(CaptureAutoFocusContext.Provider, {
1374
+ value: enabled,
1375
+ children
1376
+ });
1377
+ function useCaptureAutoFocus() {
1378
+ return x(CaptureAutoFocusContext);
1379
+ }
1380
+ //#endregion
1306
1381
  //#region src/modules/id/capture/captureOverlay.tsx
1307
1382
  var MANUAL_CAPTURE_TOOLTIP_EXIT_ANIMATIONS = ["manualCaptureTooltipExit", "manualCaptureTooltipExitAutoDismiss"];
1308
- var CaptureOverlay = D(({ mode, orientation, detectionStatus, counterValue, isCapturing, showManualCapture, onCapture, onOpenHelp, helpButtonRef, captureButtonRef, hideFooterActions, resultPreview, manualTooltipUx }, ref) => {
1383
+ function reportAnimationState(mode, state) {
1384
+ const screen = mode === "back" ? "idCapture.backCapture" : "idCapture.frontCapture";
1385
+ stateChanged(eventModuleNames.idCapture, screen, { stateName: `${screen}.${state}` });
1386
+ }
1387
+ var CaptureOverlay = D(({ mode, orientation, detectionStatus, counterValue, countdownStart, countdownStepMs, isCapturing, showManualCapture, onCapture, onOpenHelp, helpButtonRef, captureButtonRef, hideFooterActions, trackAnimationStates = true, resultPreview, manualTooltipUx }, ref) => {
1309
1388
  const { t } = useTranslation();
1389
+ const autoFocus = useCaptureAutoFocus();
1310
1390
  usePreloadCaptureAnimations();
1391
+ const helpButton = useCaptureHelpButton({
1392
+ onOpenHelp,
1393
+ ariaLabel: t("idv2.needHelp.open"),
1394
+ buttonRef: helpButtonRef,
1395
+ hidden: hideFooterActions
1396
+ });
1397
+ const closeButton = useCloseButton();
1311
1398
  const isResultPreview = resultPreview !== void 0;
1312
1399
  const isTooltipRemoved = manualTooltipUx.variant === MANUAL_TOOLTIP.REMOVE;
1313
1400
  const hasShownIdHintRef = A(false);
1314
1401
  const cameraOverlayHeaderTitleRef = A(null);
1315
1402
  const [showIdHint, setShowIdHint] = d(false);
1403
+ const hintStateModeRef = A();
1404
+ const animationStateEnabledRef = A(false);
1405
+ _(() => {
1406
+ animationStateEnabledRef.current = trackAnimationStates;
1407
+ if (hintStateModeRef.current === mode && trackAnimationStates && !isResultPreview && (detectionStatus === "detecting" || detectionStatus === "idle")) reportAnimationState(mode, "default");
1408
+ if (!trackAnimationStates || hintStateModeRef.current !== mode || detectionStatus !== "idNotDetected" || isResultPreview) hintStateModeRef.current = void 0;
1409
+ }, [
1410
+ trackAnimationStates,
1411
+ mode,
1412
+ detectionStatus,
1413
+ isResultPreview
1414
+ ]);
1415
+ _(() => () => {
1416
+ animationStateEnabledRef.current = false;
1417
+ hintStateModeRef.current = void 0;
1418
+ }, []);
1419
+ const trackAnimationState = (state) => {
1420
+ if (!animationStateEnabledRef.current) return;
1421
+ reportAnimationState(mode, state);
1422
+ };
1423
+ const handleIdHintAnimationStart = () => {
1424
+ if (!animationStateEnabledRef.current || detectionStatus !== "idNotDetected" || isResultPreview) return;
1425
+ hintStateModeRef.current = mode;
1426
+ trackAnimationState("hint");
1427
+ };
1428
+ const handleIdHintAnimationEnd = () => {
1429
+ if (hintStateModeRef.current === mode) {
1430
+ hintStateModeRef.current = void 0;
1431
+ trackAnimationState("default");
1432
+ }
1433
+ setShowIdHint(false);
1434
+ };
1435
+ const handleFlashAnimationStart = () => trackAnimationState("flash");
1316
1436
  const [manualCaptureTooltipDismissed, setManualCaptureTooltipDismissed] = d(isTooltipRemoved);
1317
1437
  y(() => {
1318
1438
  if (detectionStatus === "idNotDetected") {
@@ -1331,8 +1451,13 @@ var CaptureOverlay = D(({ mode, orientation, detectionStatus, counterValue, isCa
1331
1451
  setManualCaptureTooltipDismissed(true);
1332
1452
  };
1333
1453
  y(() => {
1454
+ if (!autoFocus) return;
1334
1455
  if (showManualCapture && captureButtonRef) captureButtonRef.current?.focus();
1335
- }, [showManualCapture, captureButtonRef]);
1456
+ }, [
1457
+ autoFocus,
1458
+ showManualCapture,
1459
+ captureButtonRef
1460
+ ]);
1336
1461
  _(() => {
1337
1462
  if (!isResultPreview) return;
1338
1463
  cameraOverlayHeaderTitleRef.current?.focus();
@@ -1368,6 +1493,8 @@ var CaptureOverlay = D(({ mode, orientation, detectionStatus, counterValue, isCa
1368
1493
  });
1369
1494
  return /* @__PURE__ */ u(CameraOverlay, {
1370
1495
  className: "IncodeCaptureOverlayId",
1496
+ floatingHelpButton: helpButton.floating,
1497
+ floatingCloseButton: closeButton,
1371
1498
  children: [
1372
1499
  /* @__PURE__ */ u("div", {
1373
1500
  class: "IncodeCaptureTopSection",
@@ -1381,7 +1508,8 @@ var CaptureOverlay = D(({ mode, orientation, detectionStatus, counterValue, isCa
1381
1508
  subtitle: header?.subtitle,
1382
1509
  visible: header !== null,
1383
1510
  titleId: "id-capture-heading",
1384
- className: cn(isResultPreview && "IncodeCaptureResultHeaderReveal")
1511
+ className: cn(isResultPreview && "IncodeCaptureResultHeaderReveal"),
1512
+ autoFocusTitle: autoFocus
1385
1513
  })]
1386
1514
  }),
1387
1515
  /* @__PURE__ */ u(CameraFrame, {
@@ -1390,13 +1518,18 @@ var CaptureOverlay = D(({ mode, orientation, detectionStatus, counterValue, isCa
1390
1518
  orientation: frameOrientation,
1391
1519
  frameState,
1392
1520
  className: cn(isPassport && "IncodeCaptureFramePassport"),
1393
- children: resultPreview ? /* @__PURE__ */ u(CaptureResultPreview, { resultPreview }) : /* @__PURE__ */ u(CaptureLiveFrameContent, {
1394
- isCapturing,
1395
- counterValue,
1521
+ children: resultPreview ? /* @__PURE__ */ u(CaptureResultPreview, {
1522
+ resultPreview,
1523
+ onFlashAnimationStart: handleFlashAnimationStart
1524
+ }) : /* @__PURE__ */ u(CaptureLiveFrameContent, {
1525
+ countdownStart,
1526
+ countdownStepMs,
1396
1527
  showIdHint,
1397
1528
  mode,
1398
1529
  orientation,
1399
- onIdHintAnimationEnd: () => setShowIdHint(false)
1530
+ onIdHintAnimationStart: handleIdHintAnimationStart,
1531
+ onIdHintAnimationEnd: handleIdHintAnimationEnd,
1532
+ onFlashAnimationStart: handleFlashAnimationStart
1400
1533
  })
1401
1534
  }),
1402
1535
  /* @__PURE__ */ u("div", {
@@ -1411,6 +1544,8 @@ var CaptureOverlay = D(({ mode, orientation, detectionStatus, counterValue, isCa
1411
1544
  isManualCapture: showManualCapture,
1412
1545
  captureAriaLabel,
1413
1546
  helpButtonRef,
1547
+ helpAriaLabel: helpButton.footer?.ariaLabel,
1548
+ showHelpButton: Boolean(helpButton.footer),
1414
1549
  captureButtonRef,
1415
1550
  captureAriaDescribedBy: showManualCaptureNode ? "manual-capture-tooltip" : void 0,
1416
1551
  hideActions: hideFooterActions,
@@ -1432,8 +1567,13 @@ var Capture = ({ manager, state }) => {
1432
1567
  const stageView = getCaptureStageView(state, resultPreviewPhase);
1433
1568
  const isCrossfadeStage = stageView === "crossfade";
1434
1569
  const isLiveStage = stageView === "live";
1570
+ const isCapturing = !isResultPreview && (state.captureStatus === "capturing" || state.detectionStatus === "capturing");
1571
+ const countdownStartRef = A(0);
1572
+ if (!isCapturing) countdownStartRef.current = 0;
1573
+ else if (countdownStartRef.current === 0) countdownStartRef.current = state.counterValue;
1574
+ const countdownStart = countdownStartRef.current;
1575
+ const countdownEndMs = countdownStart * state.countdownStepMs;
1435
1576
  if (state.captureStatus === "holdOn") return /* @__PURE__ */ u(TransitionSpinner, { subtitleKey: "idv2.capture.holdOn.subtitle" });
1436
- if ((state.captureStatus === "capturing" || state.captureStatus === "uploading") && !state.previewImageUrl) return /* @__PURE__ */ u(TransitionSpinner, { subtitleKey: "idv2.capture.holdOn.subtitle" });
1437
1577
  if (state.captureStatus === "success" && (state.previewImageUrl || state.barcodeFastPathCaptured)) return /* @__PURE__ */ u(IdSuccess, {
1438
1578
  manager,
1439
1579
  state,
@@ -1444,18 +1584,22 @@ var Capture = ({ manager, state }) => {
1444
1584
  state,
1445
1585
  blurImage: state.ageAssurance
1446
1586
  });
1587
+ const isAnalyzingPending = isLiveStage && countdownStart > 0;
1588
+ const isAnalyzingHidden = isCrossfadeStage || isAnalyzingPending;
1447
1589
  let idAnalyzingSlot = null;
1448
- if (state.previewImageUrl && !isLiveStage) idAnalyzingSlot = /* @__PURE__ */ u("div", {
1449
- class: cn("IncodeIdCaptureStageAnalyzing", isCrossfadeStage && "IncodeIdCaptureStageResultEntering"),
1450
- "aria-hidden": isCrossfadeStage || void 0,
1451
- inert: isCrossfadeStage || void 0,
1590
+ if (!isLiveStage || isAnalyzingPending) idAnalyzingSlot = /* @__PURE__ */ u("div", {
1591
+ class: cn("IncodeIdCaptureStageAnalyzing", isCrossfadeStage && "IncodeIdCaptureStageResultEntering", isAnalyzingPending && "IncodeIdCaptureStageAnalyzingPending"),
1592
+ style: isAnalyzingPending ? { "--capture-countdown-end": `${countdownEndMs}ms` } : void 0,
1593
+ "aria-hidden": isAnalyzingHidden || void 0,
1594
+ inert: isAnalyzingHidden || void 0,
1452
1595
  children: /* @__PURE__ */ u(IdAnalyzing, {
1453
1596
  imageUrl: state.previewImageUrl,
1454
1597
  progress: state.uploadProgress ?? 0,
1455
1598
  orientation: state.orientation,
1456
1599
  mode: getCaptureMode(state),
1457
1600
  blurImage: state.ageAssurance,
1458
- autoFocusTitle: !isCrossfadeStage,
1601
+ autoFocusTitle: !isAnalyzingHidden,
1602
+ simulatedProgressDelayMs: countdownEndMs,
1459
1603
  resultPreviewEnabled
1460
1604
  })
1461
1605
  }, "analyzing");
@@ -1466,9 +1610,11 @@ var Capture = ({ manager, state }) => {
1466
1610
  children: /* @__PURE__ */ u(CaptureView, {
1467
1611
  manager,
1468
1612
  state,
1613
+ isCapturing,
1614
+ countdownStart,
1469
1615
  isResultPreview,
1470
1616
  resultPreviewImageUrl,
1471
- hideFooterActions: !isLiveStage,
1617
+ hideFooterActions: !isLiveStage || state.captureStatus === "optimizing",
1472
1618
  manualTooltipUx
1473
1619
  })
1474
1620
  }, "live");
@@ -1477,7 +1623,7 @@ var Capture = ({ manager, state }) => {
1477
1623
  children: [idAnalyzingSlot, captureViewSlot]
1478
1624
  });
1479
1625
  };
1480
- var CaptureView = ({ manager, state, isResultPreview, resultPreviewImageUrl, hideFooterActions, manualTooltipUx }) => {
1626
+ var CaptureView = ({ manager, state, isCapturing, countdownStart, isResultPreview, resultPreviewImageUrl, hideFooterActions, manualTooltipUx }) => {
1481
1627
  const frameRef = A(null);
1482
1628
  const helpButtonRef = A(null);
1483
1629
  const captureButtonRef = A(null);
@@ -1496,16 +1642,16 @@ var CaptureView = ({ manager, state, isResultPreview, resultPreviewImageUrl, hid
1496
1642
  }, [manager]);
1497
1643
  useEventListener("resize", reportFrame);
1498
1644
  useResizeObserver(frameRef, reportFrame);
1499
- const isCapturing = !isResultPreview && (state.captureStatus === "capturing" || state.detectionStatus === "capturing");
1500
1645
  const showManualCapture = isManualCaptureShown(state);
1501
1646
  const resultPreview = isResultPreview && resultPreviewImageUrl ? {
1502
1647
  imageUrl: resultPreviewImageUrl,
1503
1648
  blurImage: state.ageAssurance
1504
1649
  } : void 0;
1505
1650
  const handleOpenHelp = () => {
1506
- setIsHelpOpen(true);
1651
+ if (manager.openHelp()) setIsHelpOpen(true);
1507
1652
  };
1508
1653
  const handleCloseHelp = () => {
1654
+ manager.closeHelp();
1509
1655
  setIsHelpOpen(false);
1510
1656
  requestAnimationFrame(() => {
1511
1657
  if (captureButtonRef.current) captureButtonRef.current.focus();
@@ -1513,9 +1659,11 @@ var CaptureView = ({ manager, state, isResultPreview, resultPreviewImageUrl, hid
1513
1659
  });
1514
1660
  };
1515
1661
  const handleTakeManually = () => {
1516
- setIsHelpOpen(false);
1517
1662
  manager.switchToManualCapture();
1518
1663
  };
1664
+ const handleTakeAutomatically = () => {
1665
+ manager.switchToAutoCapture();
1666
+ };
1519
1667
  const handleCapture = () => {
1520
1668
  manager.capture();
1521
1669
  };
@@ -1536,6 +1684,8 @@ var CaptureView = ({ manager, state, isResultPreview, resultPreviewImageUrl, hid
1536
1684
  orientation: state.orientation,
1537
1685
  detectionStatus: state.detectionStatus,
1538
1686
  counterValue: state.counterValue,
1687
+ countdownStart,
1688
+ countdownStepMs: state.countdownStepMs,
1539
1689
  isCapturing,
1540
1690
  showManualCapture,
1541
1691
  onCapture: handleCapture,
@@ -1544,7 +1694,8 @@ var CaptureView = ({ manager, state, isResultPreview, resultPreviewImageUrl, hid
1544
1694
  captureButtonRef,
1545
1695
  resultPreview,
1546
1696
  hideFooterActions,
1547
- manualTooltipUx
1697
+ manualTooltipUx,
1698
+ trackAnimationStates: !isHelpOpen && (state.captureStatus === "detecting" || state.captureStatus === "optimizing")
1548
1699
  })
1549
1700
  }),
1550
1701
  /* @__PURE__ */ u("div", { ref: portalRef }),
@@ -1552,6 +1703,7 @@ var CaptureView = ({ manager, state, isResultPreview, resultPreviewImageUrl, hid
1552
1703
  open: isHelpOpen,
1553
1704
  onClose: handleCloseHelp,
1554
1705
  onTakeManually: handleTakeManually,
1706
+ onTakeAutomatically: state.detectionStatus === "manualCapture" ? handleTakeAutomatically : void 0,
1555
1707
  portalContainer: portalRef.current
1556
1708
  })
1557
1709
  ]
@@ -1651,25 +1803,25 @@ var IdCardIcon = () => {
1651
1803
  fillOpacity: "0.15"
1652
1804
  }),
1653
1805
  /* @__PURE__ */ u("path", {
1654
- d: "M20.4619 23C20.4619 21.3431 21.8051 20 23.4619 20H95.4615C97.1184 20 98.4615 21.3431 98.4615 23V63C98.4615 64.6569 97.1184 66 95.4615 66H23.4619C21.8051 66 20.4619 64.6569 20.4619 63V23Z",
1806
+ 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",
1655
1807
  fill: "#C9C9C9",
1656
1808
  fillOpacity: "0.8"
1657
1809
  }),
1658
1810
  /* @__PURE__ */ u("path", {
1659
- d: "M21.8955 23.4292C21.8955 22.3246 22.7909 21.4292 23.8955 21.4292L94.6455 21.4292C95.7501 21.4292 96.6455 22.3246 96.6455 23.4292V62.2859C96.6455 63.3904 95.7501 64.2859 94.6455 64.2859H23.8955C22.7909 64.2859 21.8955 63.3904 21.8955 62.2859L21.8955 23.4292Z",
1811
+ 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",
1660
1812
  fill: "white"
1661
1813
  }),
1662
1814
  /* @__PURE__ */ u("path", {
1663
1815
  fillRule: "evenodd",
1664
1816
  clipRule: "evenodd",
1665
- d: "M25.8823 32.3917C25.8825 31.8415 26.3287 31.3955 26.879 31.3955L91.6618 31.3955C92.2123 31.3955 92.6585 31.8417 92.6585 32.3922C92.6585 32.9426 92.2123 33.3888 91.6618 33.3888L26.879 33.3888C26.3283 33.3888 25.882 32.9423 25.8823 32.3917Z",
1817
+ 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",
1666
1818
  fill: "#C9C9C9",
1667
1819
  fillOpacity: "0.5"
1668
1820
  }),
1669
1821
  /* @__PURE__ */ u("path", {
1670
1822
  fillRule: "evenodd",
1671
1823
  clipRule: "evenodd",
1672
- d: "M67.7418 37.376H49.8018V40.366H67.7418V37.376ZM67.7418 43.356H49.8018V46.346H67.7418V43.356ZM49.8018 49.336H73.7218V52.326H49.8018V49.336ZM57.7751 55.316H49.8018V58.306H57.7751V55.316Z",
1824
+ 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",
1673
1825
  fill: "#C9C9C9",
1674
1826
  fillOpacity: "0.5"
1675
1827
  }),
@@ -1698,25 +1850,25 @@ var IdCardIcon = () => {
1698
1850
  class: "IncodeIdCardIconFill"
1699
1851
  }),
1700
1852
  /* @__PURE__ */ u("path", {
1701
- d: "M33.1299 52.4194C33.1197 53.1963 31.7713 53.4449 30.8652 54.3192C32.4418 55.4552 34.7203 56.2194 36.2968 56.2194C38.1314 56.2194 40.2521 55.4552 41.8286 54.3192C40.9225 53.4449 39.4915 53.1976 39.4724 52.4194C39.4724 52.1241 39.4734 49.2469 39.4748 48.9516C39.4748 43.9789 32.9404 41.0204 33.1213 49.0328C33.1247 50.1617 33.1299 51.2906 33.1299 52.4194Z",
1853
+ 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",
1702
1854
  fill: "url(#paint0_linear_id)"
1703
1855
  }),
1704
1856
  /* @__PURE__ */ u("path", {
1705
1857
  fillRule: "evenodd",
1706
1858
  clipRule: "evenodd",
1707
- d: "M46.8878 58.0411C46.6518 58.8827 45.8789 59.4998 44.9619 59.4998H27.9619C26.8573 59.4998 25.9619 58.6044 25.9619 57.4998V55.9798C27.7245 54.5329 32.1686 53.3223 32.1686 53.3223C32.1686 54.3609 34.749 55.9866 36.3086 56.0133C38.4831 56.0133 40.4486 54.3615 40.4486 53.3223C40.4486 53.3223 45.3648 54.9117 46.3136 56.6256C46.5256 57.0086 46.7176 57.5035 46.8878 58.0411Z",
1859
+ 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",
1708
1860
  fill: "#CECECE"
1709
1861
  }),
1710
1862
  /* @__PURE__ */ u("path", {
1711
- d: "M41.9208 45.2935C42.0455 44.8283 41.7694 44.3501 41.3042 44.2254L41.2126 44.2009C40.7848 44.0863 40.3389 44.3105 40.176 44.7224L39.4794 46.4827C39.272 47.0069 39.609 47.5872 40.1671 47.6669L40.4782 47.7113C40.915 47.7737 41.3296 47.4999 41.4438 47.0737L41.9208 45.2935Z",
1863
+ 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",
1712
1864
  fill: "url(#paint1_linear_id)"
1713
1865
  }),
1714
1866
  /* @__PURE__ */ u("path", {
1715
- d: "M31.0031 45.294C30.8784 44.8288 31.1545 44.3506 31.6197 44.2259C32.085 44.1013 32.5632 44.3774 32.6878 44.8426L33.1392 46.5274C33.2639 46.9926 32.9878 47.4708 32.5226 47.5955C32.0573 47.7201 31.5791 47.444 31.4545 46.9788L31.0031 45.294Z",
1867
+ d: "M31.003 45.294a.872.872 0 1 1 1.685-.451l.451 1.684a.872.872 0 1 1-1.685.452z",
1716
1868
  fill: "url(#paint2_linear_id)"
1717
1869
  }),
1718
1870
  /* @__PURE__ */ u("path", {
1719
- d: "M41.2581 45.0854C41.2581 48.9044 38.5641 52.0004 36.4616 52.0004C34.1619 52.0004 31.665 48.9044 31.665 45.0854C31.665 41.6827 31.9296 38.0469 36.4616 38.0469C40.9935 38.0469 41.2581 41.6041 41.2581 45.0854Z",
1871
+ 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",
1720
1872
  fill: "url(#paint3_linear_id)"
1721
1873
  }),
1722
1874
  /* @__PURE__ */ u("defs", { children: [
@@ -1814,11 +1966,11 @@ var PassportIcon = () => {
1814
1966
  "stroke-width": "1.24563"
1815
1967
  }),
1816
1968
  /* @__PURE__ */ u("path", {
1817
- d: "M27.4343 42.2949L90.6311 42.2949V76.3413C90.6311 77.9982 89.2879 79.3413 87.6311 79.3413L30.4343 79.3413C28.7775 79.3413 27.4343 77.9982 27.4343 76.3413L27.4343 42.2949Z",
1969
+ d: "M27.434 42.295h63.197V76.34a3 3 0 0 1-3 3H30.434a3 3 0 0 1-3-3z",
1818
1970
  fill: "white"
1819
1971
  }),
1820
1972
  /* @__PURE__ */ u("path", {
1821
- d: "M55.6033 66.4102C55.7667 66.4102 55.8991 66.5427 55.8992 66.7061V68.1143C55.8991 68.2777 55.7667 68.4101 55.6033 68.4102H47.1951C47.0317 68.4101 46.8992 68.2777 46.8992 68.1143L46.8992 66.7061C46.8992 66.5427 47.0317 66.4102 47.1951 66.4102H55.6033ZM72.6033 62.4102C72.7667 62.4102 72.8991 62.5427 72.8992 62.7061V64.1143C72.8991 64.2777 72.7667 64.4101 72.6033 64.4102H47.1951C47.0317 64.4101 46.8992 64.2777 46.8992 64.1143V62.7061C46.8992 62.5427 47.0317 62.4102 47.1951 62.4102L72.6033 62.4102ZM65.6033 58.4102C65.7667 58.4102 65.8991 58.5427 65.8992 58.7061V60.1143C65.8991 60.2777 65.7667 60.4101 65.6033 60.4102L47.1951 60.4102C47.0317 60.4101 46.8992 60.2777 46.8992 60.1143V58.7061C46.8992 58.5427 47.0317 58.4102 47.1951 58.4102L65.6033 58.4102ZM65.6033 54.4102C65.7667 54.4102 65.8991 54.5427 65.8992 54.7061V56.1143C65.8991 56.2777 65.7667 56.4101 65.6033 56.4102L47.1951 56.4102C47.0317 56.4101 46.8992 56.2777 46.8992 56.1143V54.7061C46.8992 54.5427 47.0317 54.4102 47.1951 54.4102L65.6033 54.4102Z",
1973
+ 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",
1822
1974
  fill: "#E9E9EB"
1823
1975
  }),
1824
1976
  /* @__PURE__ */ u("rect", {
@@ -1846,7 +1998,7 @@ var PassportIcon = () => {
1846
1998
  fill: "#E9E9EB"
1847
1999
  }),
1848
2000
  /* @__PURE__ */ u("path", {
1849
- d: "M27.4343 71.7148L90.6311 71.7148L90.6311 76.342C90.6311 77.9989 89.2879 79.342 87.6311 79.342L30.4343 79.342C28.7775 79.342 27.4343 77.9989 27.4343 76.342L27.4343 71.7148Z",
2001
+ d: "M27.434 71.715h63.197v4.627a3 3 0 0 1-3 3H30.434a3 3 0 0 1-3-3z",
1850
2002
  fill: "#F4F4F5"
1851
2003
  }),
1852
2004
  /* @__PURE__ */ u("rect", {
@@ -1897,31 +2049,31 @@ var PassportIcon = () => {
1897
2049
  class: "IncodePassportIconFill"
1898
2050
  }),
1899
2051
  /* @__PURE__ */ u("path", {
1900
- d: "M45.6017 67.2893C46.2508 68.4508 46.6245 71.1294 46.6245 71.1294L30.2605 71.1294C30.2605 71.1294 30.6343 68.4505 31.2832 67.2893C31.9322 66.1282 35.8873 65.0512 35.8873 65.0512C36.2376 65.6841 37.2659 66.2614 38.3185 66.2872C39.4607 66.3151 40.6316 65.7377 40.9957 65.0508C40.9957 65.0508 44.9526 66.1279 45.6017 67.2893Z",
2052
+ 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",
1901
2053
  fill: "white"
1902
2054
  }),
1903
2055
  /* @__PURE__ */ u("path", {
1904
- d: "M36.5209 64.13L36.5209 64.1559C36.5137 64.7033 36.0529 65.115 35.1384 65.3908C36.2404 66.1913 37.3424 66.8317 38.4443 66.8317C39.5462 66.8317 40.6482 66.1913 41.7501 65.3908C40.8419 65.1147 40.381 64.7024 40.3677 64.1541C40.3677 63.9459 40.3684 61.9185 40.3694 61.7104C40.4351 61.7196 40.4295 61.7138 40.3694 61.6971C40.3712 61.0115 40.3741 61.9089 40.3782 60.972C40.3823 60.0351 36.4572 59.1969 36.5149 61.7695C36.5156 62.0318 36.5172 63.833 36.5209 64.13Z",
2056
+ 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",
1905
2057
  fill: "url(#paint0_linear_25823_31181)"
1906
2058
  }),
1907
2059
  /* @__PURE__ */ u("path", {
1908
- d: "M36.4685 62.8717C38.0818 62.7041 39.6008 63.4026 39.6008 63.4026C39.6008 63.4026 39.2997 64.9843 36.4685 64.5246L36.4685 62.8717Z",
2060
+ d: "M36.469 62.872c1.613-.168 3.132.53 3.132.53s-.301 1.582-3.133 1.123z",
1909
2061
  fill: "#CDCDCD"
1910
2062
  }),
1911
2063
  /* @__PURE__ */ u("path", {
1912
- d: "M45.6017 67.2893C46.2508 68.4508 46.6245 71.1294 46.6245 71.1294L30.2605 71.1294C30.2605 71.1294 30.6343 68.4505 31.2832 67.2893C31.9322 66.1282 35.8873 65.0512 35.8873 65.0512C35.8873 65.7551 37.2516 66.7701 38.3185 66.7881C39.8061 66.7881 40.9957 65.7551 40.9957 65.0508C40.9957 65.0508 44.9526 66.1279 45.6017 67.2893Z",
2064
+ 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",
1913
2065
  fill: "#CECECE"
1914
2066
  }),
1915
2067
  /* @__PURE__ */ u("path", {
1916
- d: "M35.1459 59.5609C35.3611 59.2021 35.6294 59.4488 35.7366 59.6171L35.8865 61.2125C35.8812 61.3513 35.7981 61.4395 35.5811 61.467C35.3099 61.5013 35.1308 60.7627 35.0683 60.487C35.0058 60.2113 34.8771 60.0094 35.1459 59.5609Z",
2068
+ 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",
1917
2069
  fill: "url(#paint1_linear_25823_31181)"
1918
2070
  }),
1919
2071
  /* @__PURE__ */ u("path", {
1920
- d: "M41.6385 59.6545C41.4268 59.2936 41.1562 59.5378 41.0473 59.705L40.8824 61.299C40.8863 61.4378 40.9687 61.5268 41.1854 61.5563C41.4562 61.5932 41.6423 60.8564 41.7074 60.5813C41.7725 60.3062 41.9031 60.1055 41.6385 59.6545Z",
2072
+ 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",
1921
2073
  fill: "url(#paint2_linear_25823_31181)"
1922
2074
  }),
1923
2075
  /* @__PURE__ */ u("path", {
1924
- d: "M41.4251 59.9339C41.4251 62.2412 39.7548 64.1116 38.4511 64.1116C37.0252 64.1116 35.4771 62.2412 35.4771 59.9339C35.4771 57.8782 35.6411 55.6816 38.4511 55.6816C41.261 55.6816 41.4251 57.8307 41.4251 59.9339Z",
2076
+ 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",
1925
2077
  fill: "url(#paint3_linear_25823_31181)"
1926
2078
  })
1927
2079
  ]
@@ -1930,14 +2082,14 @@ var PassportIcon = () => {
1930
2082
  /* @__PURE__ */ u("mask", {
1931
2083
  id: "path-23-inside-1_25823_31181",
1932
2084
  fill: "white",
1933
- children: /* @__PURE__ */ u("path", { d: "M87.6289 6.28516C89.2858 6.28516 90.6289 7.6283 90.6289 9.28516L90.6289 42.8236L27.517 42.8236L27.517 9.28516C27.517 7.6283 28.8602 6.28516 30.517 6.28516L87.6289 6.28516Z" })
2085
+ children: /* @__PURE__ */ u("path", { d: "M87.629 6.285a3 3 0 0 1 3 3v33.539H27.517V9.285a3 3 0 0 1 3-3z" })
1934
2086
  }),
1935
2087
  /* @__PURE__ */ u("path", {
1936
- d: "M87.6289 6.28516C89.2858 6.28516 90.6289 7.6283 90.6289 9.28516L90.6289 42.8236L27.517 42.8236L27.517 9.28516C27.517 7.6283 28.8602 6.28516 30.517 6.28516L87.6289 6.28516Z",
2088
+ d: "M87.629 6.285a3 3 0 0 1 3 3v33.539H27.517V9.285a3 3 0 0 1 3-3z",
1937
2089
  fill: "#F4F4F5"
1938
2090
  }),
1939
2091
  /* @__PURE__ */ u("path", {
1940
- d: "M90.6289 6.28516L90.6289 42.8236L90.6289 6.28516ZM27.517 42.8236L27.517 6.28516L27.517 42.8236ZM27.517 6.28516L90.6289 6.28516L27.517 6.28516ZM90.6289 44.0362L27.517 44.0362V41.6111L90.6289 41.6111V44.0362Z",
2092
+ d: "M90.629 6.285v36.539zM27.517 42.824V6.285zm0-36.539h63.112zm63.112 37.751H27.517v-2.425h63.112z",
1941
2093
  fill: "#C9C9C9",
1942
2094
  "fill-opacity": "0.8",
1943
2095
  mask: "url(#path-23-inside-1_25823_31181)"
@@ -2087,16 +2239,16 @@ var DeviceWalletsIcon = () => {
2087
2239
  strokeWidth: "0.769499"
2088
2240
  }),
2089
2241
  /* @__PURE__ */ u("path", {
2090
- d: "M20.0591 13.217C20.0591 12.367 20.7481 11.678 21.5981 11.678L38.4211 11.678C39.2711 11.678 39.9601 12.367 39.9601 13.217V21.7093C39.9601 22.5593 39.2711 23.2483 38.4211 23.2483L21.5981 23.2483C20.7481 23.2483 20.0591 22.5593 20.0591 21.7093V13.217Z",
2242
+ 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",
2091
2243
  fill: "#C9C9C9",
2092
2244
  fillOpacity: "0.8"
2093
2245
  }),
2094
2246
  /* @__PURE__ */ u("path", {
2095
- d: "M20.5217 13.1669C20.5217 12.6002 20.9811 12.1409 21.5477 12.1409L38.4711 12.1409C39.0378 12.1409 39.4971 12.6002 39.4971 13.1669V21.7596C39.4971 22.3263 39.0378 22.7856 38.4711 22.7856L21.5477 22.7856C20.9811 22.7856 20.5217 22.3263 20.5217 21.7596L20.5217 13.1669Z",
2247
+ 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",
2096
2248
  fill: "white"
2097
2249
  }),
2098
2250
  /* @__PURE__ */ u("path", {
2099
- d: "M30.2441 19.7498C30.3821 19.7498 30.4939 19.8619 30.4941 19.9998V20.2996C30.494 20.4375 30.3821 20.5496 30.2441 20.5496H28.6133C28.4753 20.5495 28.3634 20.4375 28.3633 20.2996V19.9998C28.3635 19.8619 28.4753 19.7498 28.6133 19.7498H30.2441ZM34.5059 18.1521C34.6438 18.1521 34.7556 18.2642 34.7559 18.4021V18.7019C34.7558 18.8399 34.6439 18.9519 34.5059 18.9519H28.6133C28.4753 18.9519 28.3634 18.8399 28.3633 18.7019V18.4021C28.3635 18.2642 28.4754 18.1521 28.6133 18.1521H34.5059ZM32.9082 16.5544C33.0462 16.5546 33.1582 16.6664 33.1582 16.8044V17.1033C33.1582 17.2413 33.0462 17.3532 32.9082 17.3533H28.6133C28.4752 17.3533 28.3633 17.2413 28.3633 17.1033V16.8044C28.3633 16.6664 28.4752 16.5544 28.6133 16.5544H32.9082ZM32.9082 14.9558C33.0462 14.9559 33.1582 15.0678 33.1582 15.2058V15.5046C33.1582 15.6427 33.0462 15.7546 32.9082 15.7546L28.6133 15.7546C28.4752 15.7546 28.3633 15.6427 28.3633 15.5046V15.2058C28.3633 15.0677 28.4752 14.9558 28.6133 14.9558L32.9082 14.9558Z",
2251
+ 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",
2100
2252
  fill: "#C9C9C9",
2101
2253
  fillOpacity: "0.5"
2102
2254
  }),
@@ -2109,27 +2261,27 @@ var DeviceWalletsIcon = () => {
2109
2261
  class: "IncodeDeviceWalletsIconFill"
2110
2262
  }),
2111
2263
  /* @__PURE__ */ u("path", {
2112
- d: "M23.9066 18.9767C23.9038 19.1843 23.5434 19.2508 23.3013 19.4844C23.7226 19.7881 24.3316 19.9923 24.753 19.9923C25.2433 19.9923 25.8101 19.7881 26.2314 19.4844C25.9893 19.2508 25.6068 19.1847 25.6017 18.9767C25.6017 18.8978 25.602 18.1288 25.6023 18.0498C25.6023 16.7208 23.8559 15.9301 23.9043 18.0716C23.9052 18.3733 23.9066 18.675 23.9066 18.9767Z",
2264
+ 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",
2113
2265
  fill: "url(#paint0_linear_26265_2591)"
2114
2266
  }),
2115
2267
  /* @__PURE__ */ u("path", {
2116
- d: "M25.8618 19.218C25.8813 19.2243 27.1775 19.6462 27.4292 20.1008C27.4826 20.1973 27.5292 20.3211 27.5728 20.4553C27.4966 20.6945 27.2756 20.8683 27.0112 20.8684H22.5835C22.2564 20.8684 21.9909 20.6037 21.9907 20.2766V19.928C22.4623 19.5415 23.6489 19.218 23.6489 19.218C23.6489 19.4956 24.3385 19.9296 24.7554 19.9368C25.3364 19.9366 25.8618 19.4957 25.8618 19.218Z",
2268
+ 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",
2117
2269
  fill: "#CECECE"
2118
2270
  }),
2119
2271
  /* @__PURE__ */ u("path", {
2120
- d: "M23.9065 18.142C24.5301 18.0755 25.1173 18.5857 25.1173 18.5857C25.1173 18.5857 25.0009 19.2133 23.9065 19.0309V18.142Z",
2272
+ d: "M23.907 18.142c.623-.066 1.21.444 1.21.444s-.116.627-1.21.445z",
2121
2273
  fill: "#CDCDCD"
2122
2274
  }),
2123
2275
  /* @__PURE__ */ u("path", {
2124
- d: "M26.2514 17.0855C26.2866 16.954 26.2086 16.8188 26.0771 16.7836C25.9562 16.7512 25.8302 16.8146 25.7841 16.931L25.6142 17.3606C25.5527 17.5159 25.6525 17.6878 25.8179 17.7114L25.8471 17.7156C25.9765 17.7341 26.0993 17.653 26.1332 17.5267L26.2514 17.0855Z",
2276
+ 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",
2125
2277
  fill: "url(#paint1_linear_26265_2591)"
2126
2278
  }),
2127
2279
  /* @__PURE__ */ u("path", {
2128
- d: "M23.3374 17.0726C23.3041 16.9482 23.3779 16.8204 23.5022 16.7871C23.6266 16.7538 23.7544 16.8276 23.7877 16.9519L23.9084 17.4022C23.9417 17.5265 23.8679 17.6543 23.7435 17.6877C23.6192 17.721 23.4914 17.6472 23.4581 17.5228L23.3374 17.0726Z",
2280
+ d: "M23.337 17.073a.233.233 0 0 1 .45-.121l.121.45a.233.233 0 0 1-.45.12z",
2129
2281
  fill: "url(#paint2_linear_26265_2591)"
2130
2282
  }),
2131
2283
  /* @__PURE__ */ u("path", {
2132
- d: "M26.0796 17.0174C26.0796 18.0381 25.3595 18.8656 24.7976 18.8656C24.183 18.8656 23.5156 18.0381 23.5156 17.0174C23.5156 16.108 23.5863 15.1362 24.7976 15.1362C26.0088 15.1362 26.0796 16.087 26.0796 17.0174Z",
2284
+ 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",
2133
2285
  fill: "url(#paint3_linear_26265_2591)"
2134
2286
  }),
2135
2287
  /* @__PURE__ */ u("rect", {
@@ -2230,163 +2382,6 @@ var DeviceWalletsIcon = () => {
2230
2382
  });
2231
2383
  };
2232
2384
  //#endregion
2233
- //#region src/modules/id/assets/uploadIcon.tsx
2234
- var UploadIdIcon = () => {
2235
- return /* @__PURE__ */ u("svg", {
2236
- width: "60",
2237
- height: "60",
2238
- viewBox: "0 0 60 60",
2239
- fill: "none",
2240
- xmlns: "http://www.w3.org/2000/svg",
2241
- "aria-hidden": "true",
2242
- focusable: "false",
2243
- class: "IncodeUploadIdIcon",
2244
- children: [
2245
- /* @__PURE__ */ u("title", { children: "Upload document" }),
2246
- /* @__PURE__ */ u("rect", {
2247
- x: "5.51713",
2248
- y: "15.51",
2249
- width: "50.4685",
2250
- height: "28.9353",
2251
- rx: "1.34583",
2252
- fill: "white"
2253
- }),
2254
- /* @__PURE__ */ u("path", {
2255
- d: "M4.5 16.5187C4.5 15.4038 5.40382 14.5 6.51874 14.5L54.9682 14.5C56.0831 14.5 56.987 15.4038 56.987 16.5187L56.987 43.4353C56.987 44.5502 56.0831 45.454 54.9682 45.454L6.51874 45.454C5.40382 45.454 4.5 44.5502 4.5 43.4353L4.5 16.5187Z",
2256
- stroke: "#D2D2D2",
2257
- strokeLinecap: "round",
2258
- strokeDasharray: "3 3"
2259
- }),
2260
- /* @__PURE__ */ u("path", {
2261
- d: "M5.47253 16.8082C5.47253 16.065 6.07508 15.4624 6.81836 15.4624L54.427 15.4624C55.1703 15.4624 55.7728 16.0649 55.7728 16.8082L55.7728 42.9554C55.7728 43.6987 55.1703 44.3012 54.427 44.3012L6.81836 44.3012C6.07508 44.3012 5.47253 43.6987 5.47253 42.9554L5.47253 16.8082Z",
2262
- fill: "white"
2263
- }),
2264
- /* @__PURE__ */ u("path", {
2265
- d: "M46.1211 34.9621C45.8699 34.6688 45.5027 34.5 45.1165 34.5C44.7302 34.5 44.3631 34.6688 44.1118 34.9621L38.8186 41.1375C38.343 41.6923 38.4072 42.5277 38.9621 43.0033C39.517 43.479 40.3524 43.4147 40.828 42.8598L43.7932 39.4005V50.1767C43.7932 50.9075 44.3857 51.5 45.1165 51.5C45.8473 51.5 46.4398 50.9075 46.4398 50.1767V39.4005L49.405 42.8598C49.8805 43.4147 50.7159 43.479 51.2708 43.0033C51.8257 42.5277 51.8899 41.6923 51.4143 41.1375L46.1211 34.9621Z",
2266
- class: "IncodeUploadIdIconFill",
2267
- stroke: "white",
2268
- strokeWidth: "0.953729"
2269
- }),
2270
- /* @__PURE__ */ u("path", {
2271
- fillRule: "evenodd",
2272
- clipRule: "evenodd",
2273
- d: "M8.14731 22.8371C8.14748 22.4668 8.44769 22.1667 8.81798 22.1667L52.4112 22.1667C52.7816 22.1667 53.0819 22.467 53.0819 22.8374C53.0819 23.2078 52.7816 23.5081 52.4112 23.5081L8.81798 23.5081C8.44746 23.5081 8.14714 23.2076 8.14731 22.8371Z",
2274
- fill: "#C9C9C9",
2275
- fillOpacity: "0.5"
2276
- }),
2277
- /* @__PURE__ */ u("path", {
2278
- d: "M29.6077 40.2766H24.2425V38.2639H29.6077V40.2766ZM35.2425 36.5002H24.2425L24.2425 34.5002H35.2425V36.5002ZM39.2425 32.5002H24.2425V30.5002L39.2425 30.5002V32.5002ZM44.2425 28.5002L24.2425 28.5002V26.5002L44.2425 26.5002V28.5002Z",
2279
- fill: "#C9C9C9",
2280
- fillOpacity: "0.5"
2281
- }),
2282
- /* @__PURE__ */ u("rect", {
2283
- x: "8.147",
2284
- y: "17.4744",
2285
- width: "20.7908",
2286
- height: "2.68268",
2287
- rx: "0.672913",
2288
- fill: "#C9C9C9",
2289
- fillOpacity: "0.5"
2290
- }),
2291
- /* @__PURE__ */ u("rect", {
2292
- x: "48.803",
2293
- y: "17.5209",
2294
- width: "4.02402",
2295
- height: "2.64548",
2296
- fill: "#EAF0F6"
2297
- }),
2298
- /* @__PURE__ */ u("rect", {
2299
- x: "8.20379",
2300
- y: "24.9293",
2301
- width: "14.1312",
2302
- height: "16.1499",
2303
- rx: "1.34583",
2304
- class: "IncodeUploadIdIconFill"
2305
- }),
2306
- /* @__PURE__ */ u("path", {
2307
- d: "M13.0303 36.3159C13.0234 36.8387 12.116 37.006 11.5063 37.5943C12.5672 38.3587 14.1004 38.8729 15.1613 38.8729C16.3958 38.8729 17.8228 38.3587 18.8837 37.5943C18.274 37.006 17.311 36.8395 17.2982 36.3159C17.2982 36.1172 17.2989 34.1811 17.2998 33.9823C17.2998 30.6362 12.9027 28.6453 13.0245 34.037C13.0268 34.7966 13.0303 35.5563 13.0303 36.3159Z",
2308
- fill: "url(#paint0_linear_2170_3031)"
2309
- }),
2310
- /* @__PURE__ */ u("path", {
2311
- d: "M17.9489 36.922C17.9489 36.922 21.2577 37.9913 21.8962 39.1447C22.0394 39.4033 22.1671 39.7385 22.2819 40.1017C22.1216 40.6657 21.6044 41.0792 20.9889 41.0792H9.54949C8.80627 41.0792 8.2038 40.4767 8.20379 39.7335V38.7072C9.39205 37.7347 12.3776 36.922 12.3776 36.922C12.3777 37.6209 14.1143 38.7146 15.1637 38.7325C16.6268 38.7323 17.9488 37.6213 17.9489 36.922Z",
2312
- fill: "#CECECE"
2313
- }),
2314
- /* @__PURE__ */ u("path", {
2315
- d: "M13.0259 34.2139C14.5961 34.0465 16.0744 35.3312 16.0744 35.3312C16.0744 35.3312 15.7813 36.9113 13.0259 36.4521V34.2139Z",
2316
- fill: "#CDCDCD"
2317
- }),
2318
- /* @__PURE__ */ u("path", {
2319
- d: "M18.9402 31.5218C19.0241 31.2087 18.8383 30.8869 18.5252 30.8031L18.4636 30.7865C18.1757 30.7094 17.8757 30.8603 17.7661 31.1375L17.2974 32.322C17.1578 32.6748 17.3845 33.0653 17.7601 33.1189L17.9694 33.1488C18.2634 33.1907 18.5424 33.0065 18.6192 32.7197L18.9402 31.5218Z",
2320
- fill: "url(#paint1_linear_2170_3031)"
2321
- }),
2322
- /* @__PURE__ */ u("path", {
2323
- d: "M11.5934 31.5218C11.5095 31.2087 11.6953 30.887 12.0084 30.8031C12.3214 30.7192 12.6432 30.905 12.7271 31.218L13.0309 32.3517C13.1148 32.6648 12.929 32.9866 12.6159 33.0705C12.3028 33.1543 11.9811 32.9686 11.8972 32.6555L11.5934 31.5218Z",
2324
- fill: "url(#paint2_linear_2170_3031)"
2325
- }),
2326
- /* @__PURE__ */ u("path", {
2327
- d: "M18.4924 31.3797C18.4924 33.9496 16.6796 36.0329 15.2648 36.0329C13.7173 36.0329 12.0371 33.9496 12.0371 31.3797C12.0371 29.09 12.2152 26.6434 15.2648 26.6434C18.3144 26.6434 18.4924 29.0371 18.4924 31.3797Z",
2328
- fill: "url(#paint3_linear_2170_3031)"
2329
- }),
2330
- /* @__PURE__ */ u("defs", { children: [
2331
- /* @__PURE__ */ u("linearGradient", {
2332
- id: "paint0_linear_2170_3031",
2333
- x1: "14.8791",
2334
- y1: "34.1881",
2335
- x2: "14.8791",
2336
- y2: "37.2285",
2337
- gradientUnits: "userSpaceOnUse",
2338
- children: [/* @__PURE__ */ u("stop", { stopColor: "#B1B1B1" }), /* @__PURE__ */ u("stop", {
2339
- offset: "1",
2340
- stopColor: "white"
2341
- })]
2342
- }),
2343
- /* @__PURE__ */ u("linearGradient", {
2344
- id: "paint1_linear_2170_3031",
2345
- x1: "17.6105",
2346
- y1: "32.5499",
2347
- x2: "18.4893",
2348
- y2: "32.5851",
2349
- gradientUnits: "userSpaceOnUse",
2350
- children: [/* @__PURE__ */ u("stop", {
2351
- offset: "0.0416667",
2352
- stopColor: "#B5B5B5"
2353
- }), /* @__PURE__ */ u("stop", {
2354
- offset: "1",
2355
- stopColor: "white"
2356
- })]
2357
- }),
2358
- /* @__PURE__ */ u("linearGradient", {
2359
- id: "paint2_linear_2170_3031",
2360
- x1: "12.2896",
2361
- y1: "32.5497",
2362
- x2: "11.4108",
2363
- y2: "32.585",
2364
- gradientUnits: "userSpaceOnUse",
2365
- children: [/* @__PURE__ */ u("stop", {
2366
- offset: "0.0416667",
2367
- stopColor: "#B5B5B5"
2368
- }), /* @__PURE__ */ u("stop", {
2369
- offset: "1",
2370
- stopColor: "white"
2371
- })]
2372
- }),
2373
- /* @__PURE__ */ u("linearGradient", {
2374
- id: "paint3_linear_2170_3031",
2375
- x1: "12.1171",
2376
- y1: "31.3411",
2377
- x2: "16.6763",
2378
- y2: "31.3579",
2379
- gradientUnits: "userSpaceOnUse",
2380
- children: [/* @__PURE__ */ u("stop", { stopColor: "#E0E0E0" }), /* @__PURE__ */ u("stop", {
2381
- offset: "1",
2382
- stopColor: "white"
2383
- })]
2384
- })
2385
- ] })
2386
- ]
2387
- });
2388
- };
2389
- //#endregion
2390
2385
  //#region src/modules/id/assets/digitalIdIcon.tsx
2391
2386
  var DigitalIdIcon = () => {
2392
2387
  return /* @__PURE__ */ u("svg", {
@@ -2407,7 +2402,7 @@ var DigitalIdIcon = () => {
2407
2402
  clipPath: "url(#clip1_24620_2022)",
2408
2403
  children: [
2409
2404
  /* @__PURE__ */ u("path", {
2410
- d: "M15.792 9.26169C15.792 8.51041 16.401 7.90137 17.1523 7.90137L44.0187 7.90137C44.77 7.90137 45.379 8.51041 45.379 9.26169L45.379 50.4115C45.379 51.1628 44.77 51.7718 44.0187 51.7718L17.1523 51.7718C16.401 51.7718 15.792 51.1628 15.792 50.4115L15.792 9.26169Z",
2405
+ 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",
2411
2406
  fill: "white"
2412
2407
  }),
2413
2408
  /* @__PURE__ */ u("rect", {
@@ -2421,61 +2416,61 @@ var DigitalIdIcon = () => {
2421
2416
  /* @__PURE__ */ u("path", {
2422
2417
  fillRule: "evenodd",
2423
2418
  clipRule: "evenodd",
2424
- d: "M36.0471 19.967C36.0471 20.1823 35.8722 20.3577 35.6564 20.3577H34.2571C34.0418 20.3577 33.8664 20.1823 33.8664 19.967V18.5677C33.8664 18.3519 34.0418 18.177 34.2571 18.177H35.6564C35.8722 18.177 36.0471 18.3519 36.0471 18.5677V19.967ZM35.6564 17.2588H34.2571C33.5354 17.2588 32.9482 17.846 32.9482 18.5677V19.967C32.9482 20.6887 33.5354 21.2759 34.2571 21.2759H35.6564C36.3781 21.2759 36.9653 20.6887 36.9653 19.967V18.5677C36.9653 17.846 36.3781 17.2588 35.6564 17.2588Z",
2419
+ 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",
2425
2420
  class: "IncodeDigitalIdIconFill"
2426
2421
  }),
2427
2422
  /* @__PURE__ */ u("path", {
2428
2423
  fillRule: "evenodd",
2429
2424
  clipRule: "evenodd",
2430
- d: "M34.9571 18.8086C34.7037 18.8086 34.498 19.017 34.498 19.2704C34.498 19.5239 34.7037 19.7295 34.9571 19.7295C35.2106 19.7295 35.4162 19.5239 35.4162 19.2704V19.2649C35.4162 19.0115 35.2106 18.8086 34.9571 18.8086Z",
2425
+ 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",
2431
2426
  class: "IncodeDigitalIdIconFill"
2432
2427
  }),
2433
2428
  /* @__PURE__ */ u("path", {
2434
2429
  fillRule: "evenodd",
2435
2430
  clipRule: "evenodd",
2436
- d: "M34.9571 23.9736C34.7037 23.9736 34.498 24.1821 34.498 24.4355C34.498 24.6889 34.7037 24.8946 34.9571 24.8946C35.2106 24.8946 35.4162 24.6889 35.4162 24.4355V24.43C35.4162 24.1766 35.2106 23.9736 34.9571 23.9736Z",
2431
+ 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",
2437
2432
  class: "IncodeDigitalIdIconFill"
2438
2433
  }),
2439
2434
  /* @__PURE__ */ u("path", {
2440
2435
  fillRule: "evenodd",
2441
2436
  clipRule: "evenodd",
2442
- d: "M36.0471 25.132C36.0471 25.3473 35.8722 25.5227 35.6564 25.5227H34.2571C34.0418 25.5227 33.8664 25.3473 33.8664 25.132V23.7327C33.8664 23.5169 34.0418 23.342 34.2571 23.342H35.6564C35.8722 23.342 36.0471 23.5169 36.0471 23.7327V25.132ZM35.6564 22.4238H34.2571C33.5354 22.4238 32.9482 23.011 32.9482 23.7327V25.132C32.9482 25.8537 33.5354 26.4409 34.2571 26.4409H35.6564C36.3781 26.4409 36.9653 25.8537 36.9653 25.132V23.7327C36.9653 23.011 36.3781 22.4238 35.6564 22.4238Z",
2437
+ 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",
2443
2438
  class: "IncodeDigitalIdIconFill"
2444
2439
  }),
2445
2440
  /* @__PURE__ */ u("path", {
2446
2441
  fillRule: "evenodd",
2447
2442
  clipRule: "evenodd",
2448
- d: "M41.2239 25.132C41.2239 25.3473 41.049 25.5227 40.8332 25.5227H39.4339C39.2186 25.5227 39.0432 25.3473 39.0432 25.132V23.7327C39.0432 23.5169 39.2186 23.342 39.4339 23.342H40.8332C41.049 23.342 41.2239 23.5169 41.2239 23.7327V25.132ZM40.8332 22.4238H39.4339C38.7122 22.4238 38.125 23.011 38.125 23.7327V25.132C38.125 25.8537 38.7122 26.4409 39.4339 26.4409H40.8332C41.5549 26.4409 42.1421 25.8537 42.1421 25.132V23.7327C42.1421 23.011 41.5549 22.4238 40.8332 22.4238Z",
2443
+ 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",
2449
2444
  class: "IncodeDigitalIdIconFill"
2450
2445
  }),
2451
2446
  /* @__PURE__ */ u("path", {
2452
2447
  fillRule: "evenodd",
2453
2448
  clipRule: "evenodd",
2454
- d: "M40.1183 23.9658C39.8649 23.9658 39.6592 24.1715 39.6592 24.4249V24.43C39.6592 24.6834 39.8649 24.8863 40.1183 24.8863C40.3717 24.8863 40.5774 24.6783 40.5774 24.4249C40.5774 24.1715 40.3717 23.9658 40.1183 23.9658Z",
2449
+ 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",
2455
2450
  class: "IncodeDigitalIdIconFill"
2456
2451
  }),
2457
2452
  /* @__PURE__ */ u("path", {
2458
2453
  fillRule: "evenodd",
2459
2454
  clipRule: "evenodd",
2460
- d: "M38.5841 18.1797C38.8375 18.1797 39.0432 17.9741 39.0432 17.7206V17.7151C39.0432 17.4617 38.8375 17.2588 38.5841 17.2588C38.3307 17.2588 38.125 17.4672 38.125 17.7206C38.125 17.9741 38.3307 18.1797 38.5841 18.1797Z",
2455
+ 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",
2461
2456
  class: "IncodeDigitalIdIconFill"
2462
2457
  }),
2463
2458
  /* @__PURE__ */ u("path", {
2464
2459
  fillRule: "evenodd",
2465
2460
  clipRule: "evenodd",
2466
- d: "M40.9929 17.2588H40.1183C39.8644 17.2588 39.6592 17.4645 39.6592 17.7179C39.6592 17.9713 39.8644 18.177 40.1183 18.177H40.9929C41.1118 18.177 41.2086 18.2738 41.2086 18.3932V19.2673C41.2086 19.5207 41.4138 19.7264 41.6677 19.7264C41.9211 19.7264 42.1268 19.5207 42.1268 19.2673V18.3932C42.1268 17.7675 41.6181 17.2588 40.9929 17.2588Z",
2461
+ 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",
2467
2462
  class: "IncodeDigitalIdIconFill"
2468
2463
  }),
2469
2464
  /* @__PURE__ */ u("path", {
2470
2465
  fillRule: "evenodd",
2471
2466
  clipRule: "evenodd",
2472
- d: "M41.6677 20.3545H40.1183C39.8649 20.3545 39.6592 20.5602 39.6592 20.8136C39.6592 21.067 39.8649 21.2727 40.1183 21.2727H41.6677C41.9211 21.2727 42.1268 21.067 42.1268 20.8136C42.1268 20.5602 41.9211 20.3545 41.6677 20.3545Z",
2467
+ d: "M41.668 20.355h-1.55a.46.46 0 0 0 0 .918h1.55a.46.46 0 0 0 0-.918Z",
2473
2468
  class: "IncodeDigitalIdIconFill"
2474
2469
  }),
2475
2470
  /* @__PURE__ */ u("path", {
2476
2471
  fillRule: "evenodd",
2477
2472
  clipRule: "evenodd",
2478
- d: "M38.5841 21.2762C38.8375 21.2762 39.0432 21.0705 39.0432 20.8171V19.9426C39.0432 19.8237 39.1401 19.7268 39.2594 19.7268H40.1335C40.387 19.7268 40.5926 19.5211 40.5926 19.2677C40.5926 19.0143 40.387 18.8086 40.1335 18.8086H39.2594C38.6337 18.8086 38.125 19.3173 38.125 19.9426V20.8171C38.125 21.0705 38.3307 21.2762 38.5841 21.2762Z",
2473
+ 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",
2479
2474
  class: "IncodeDigitalIdIconFill"
2480
2475
  }),
2481
2476
  /* @__PURE__ */ u("rect", {
@@ -2512,7 +2507,7 @@ var DigitalIdIcon = () => {
2512
2507
  ]
2513
2508
  }),
2514
2509
  /* @__PURE__ */ u("path", {
2515
- d: "M44.0186 7.40527C45.0437 7.40527 45.875 8.23653 45.875 9.26172L45.875 50.4111C45.875 51.4363 45.0437 52.2676 44.0186 52.2676L17.1523 52.2676C16.1272 52.2676 15.2959 51.4363 15.2959 50.4111L15.2959 9.26172C15.2959 8.23653 16.1272 7.40527 17.1523 7.40527L44.0186 7.40527Z",
2510
+ 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",
2516
2511
  stroke: "#EBECEF",
2517
2512
  "stroke-width": "0.991903"
2518
2513
  }),
@@ -2528,27 +2523,27 @@ var DigitalIdIcon = () => {
2528
2523
  class: "IncodeDigitalIdIconFill"
2529
2524
  }),
2530
2525
  /* @__PURE__ */ u("path", {
2531
- d: "M21.8309 24.4387V24.4627C21.8243 24.9696 21.3976 25.3508 20.5508 25.6062C21.5712 26.3475 22.5916 26.9405 23.612 26.9405C24.6323 26.9405 25.6528 26.3475 26.6732 25.6062C25.8321 25.3505 25.4054 24.9687 25.393 24.461C25.393 24.2683 25.3937 22.3909 25.3946 22.1982C25.4554 22.2068 25.4502 22.2013 25.3946 22.1859C25.3963 21.551 25.399 22.382 25.4028 21.5145C25.4066 20.6469 21.772 19.8708 21.8253 22.2529C21.8261 22.4958 21.8275 24.1637 21.8309 24.4387Z",
2526
+ 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",
2532
2527
  fill: "url(#paint0_linear_24620_2022)"
2533
2528
  }),
2534
2529
  /* @__PURE__ */ u("path", {
2535
- d: "M30.0636 27.3311C30.0636 27.7906 30.0636 28.306 30.0636 28.736C30.0636 29.2532 29.6443 29.6722 29.1272 29.6722H18.0771C17.5599 29.6722 17.1406 29.2532 17.1406 28.736C17.1406 28.3274 17.1406 27.8355 17.1406 27.3678C17.7416 26.2926 21.2377 25.2953 21.2377 25.2953C21.5621 25.8813 22.5143 26.4159 23.489 26.4398C24.5467 26.4657 25.6309 25.931 25.9681 25.2949C25.9681 25.2949 29.4626 26.2556 30.0636 27.3311Z",
2530
+ 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",
2536
2531
  fill: "#CECECE"
2537
2532
  }),
2538
2533
  /* @__PURE__ */ u("path", {
2539
- d: "M21.79 23.277C23.2839 23.1218 24.6905 23.7686 24.6905 23.7686C24.6905 23.7686 24.4117 25.2333 21.79 24.8076V23.277Z",
2534
+ d: "M21.79 23.277c1.494-.155 2.9.492 2.9.492s-.278 1.464-2.9 1.039z",
2540
2535
  fill: "#CDCDCD"
2541
2536
  }),
2542
2537
  /* @__PURE__ */ u("path", {
2543
- d: "M20.5573 20.2079C20.7564 19.8756 21.0049 20.1041 21.1042 20.2599L21.243 21.7372C21.2381 21.8658 21.1611 21.9474 20.9602 21.9729C20.7091 22.0046 20.5432 21.3207 20.4853 21.0654C20.4275 20.8101 20.3083 20.6232 20.5573 20.2079Z",
2538
+ 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",
2544
2539
  fill: "url(#paint1_linear_24620_2022)"
2545
2540
  }),
2546
2541
  /* @__PURE__ */ u("path", {
2547
- d: "M26.5706 20.2909C26.3745 19.9567 26.1239 20.1829 26.0231 20.3377L25.8704 21.8136C25.874 21.9422 25.9503 22.0246 26.1509 22.0519C26.4017 22.0861 26.5741 21.4038 26.6344 21.149C26.6946 20.8943 26.8156 20.7085 26.5706 20.2909Z",
2542
+ 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",
2548
2543
  fill: "url(#paint2_linear_24620_2022)"
2549
2544
  }),
2550
2545
  /* @__PURE__ */ u("path", {
2551
- d: "M26.3682 20.5538C26.3682 22.6903 24.8215 24.4222 23.6143 24.4222C22.2939 24.4222 20.8604 22.6903 20.8604 20.5538C20.8604 18.6502 21.0123 16.6162 23.6143 16.6162C26.2163 16.6162 26.3682 18.6062 26.3682 20.5538Z",
2546
+ 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",
2552
2547
  fill: "#FAFAFA"
2553
2548
  })
2554
2549
  ]
@@ -2624,7 +2619,7 @@ var DigitalIdIcon = () => {
2624
2619
  /* @__PURE__ */ u("clipPath", {
2625
2620
  id: "clip1_24620_2022",
2626
2621
  children: /* @__PURE__ */ u("path", {
2627
- d: "M15.792 9.26169C15.792 8.51041 16.401 7.90137 17.1523 7.90137L44.0187 7.90137C44.77 7.90137 45.379 8.51041 45.379 9.26169L45.379 50.4115C45.379 51.1628 44.77 51.7718 44.0187 51.7718L17.1523 51.7718C16.401 51.7718 15.792 51.1628 15.792 50.4115L15.792 9.26169Z",
2622
+ 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",
2628
2623
  fill: "white"
2629
2624
  })
2630
2625
  }),
@@ -2651,7 +2646,7 @@ var CHOOSER_OPTIONS_LOOKUP = {
2651
2646
  icon: DigitalIdIcon,
2652
2647
  title: "idv2.chooser.digitalIdRedirectButtonTitle",
2653
2648
  testId: "verification-option-digitalIdRedirect",
2654
- weight: 1
2649
+ weight: 6
2655
2650
  },
2656
2651
  digitalIdUpload: {
2657
2652
  type: "digitalIdUpload",
@@ -2680,32 +2675,324 @@ var CHOOSER_OPTIONS_LOOKUP = {
2680
2675
  testId: "verification-option-digitalId",
2681
2676
  type: "digitalId",
2682
2677
  weight: 5
2678
+ }
2679
+ };
2680
+ //#endregion
2681
+ //#region src/modules/id/chooser/digitalIdProviderLogos.ts
2682
+ /**
2683
+ * Digital-ID provider logos, keyed by provider id.
2684
+ *
2685
+ * The backend's `digitalIds.methods[].logoUrl` currently carries bare asset
2686
+ * file names (`idin.svg`), which would resolve against the host page and
2687
+ * render broken. Until it sends absolute links, the chooser card falls back to
2688
+ * this map. A backend-sent absolute URL always wins — see `toCardLogoSrc` in
2689
+ * `chooser.helpers.ts`.
2690
+ *
2691
+ * **The full Trinsic catalog is kept here on purpose**, including providers the
2692
+ * SDK does not offer yet, so adding one is a lookup rather than a hunt. Source:
2693
+ * the Trinsic integrations catalog (`content.trinsic.id/connect/integrations`).
2694
+ *
2695
+ * Keys are the Trinsic provider ids. {@link getDigitalIdProviderLogo}
2696
+ * normalises before looking up, so the vendor-prefixed form the SDK and
2697
+ * `ms-credential-verification` use (`trinsic_netherlands_idin`) finds
2698
+ * `netherlands-idin` too.
2699
+ *
2700
+ * `name` is the catalog's display name. It is reference data — the card shows
2701
+ * the backend's `displayName` — but it is what makes this list searchable by
2702
+ * the name a person actually knows the provider by.
2703
+ */
2704
+ var DIGITAL_ID_PROVIDER_LOGOS = {
2705
+ "a-mojeid": {
2706
+ name: "MojeID login",
2707
+ logoUrl: "https://content.trinsic.id/connect/integrations/mojeid.png"
2683
2708
  },
2684
- manualIdUpload: {
2685
- type: "manualIdUpload",
2686
- icon: UploadIdIcon,
2687
- title: "idv2.chooser.manualUploadButtonTitle",
2688
- testId: "verification-option-manualIdUpload",
2689
- weight: 6
2709
+ "australia-connect-id": {
2710
+ name: "ConnectID",
2711
+ logoUrl: "https://content.trinsic.id/connect/integrations/connectid-logo.png"
2712
+ },
2713
+ "austria-valera-eudi-sandbox": {
2714
+ name: "Austria Valera EUDI Sandbox",
2715
+ logoUrl: "https://content.trinsic.id/connect/integrations/austria-valera-eudi-sandbox.png"
2716
+ },
2717
+ "brazil-cpf-lookup": {
2718
+ name: "Brazil CPF Check",
2719
+ logoUrl: "https://content.trinsic.id/connect/integrations/cpf.png"
2720
+ },
2721
+ "brazil-digital-cnh": {
2722
+ name: "Brazil Digital CNH",
2723
+ logoUrl: "https://content.trinsic.id/connect/integrations/cnh.png"
2724
+ },
2725
+ clear: {
2726
+ name: "CLEAR",
2727
+ logoUrl: "https://content.trinsic.id/connect/integrations/clear.svg"
2728
+ },
2729
+ "czech-bank-id": {
2730
+ name: "Czech Bank iD",
2731
+ logoUrl: "https://content.trinsic.id/connect/integrations/czech-bank-id.png"
2732
+ },
2733
+ "czech-republic-mojeid": {
2734
+ name: "MojeID Czech",
2735
+ logoUrl: "https://content.trinsic.id/connect/integrations/mojeid.png"
2736
+ },
2737
+ "denmark-altid": {
2738
+ name: "AltID",
2739
+ logoUrl: "https://content.trinsic.id/connect/integrations/denmark-altid.png"
2740
+ },
2741
+ "denmark-mitid": {
2742
+ name: "MitID",
2743
+ logoUrl: "https://content.trinsic.id/connect/integrations/mitid-logo.svg"
2744
+ },
2745
+ "document-scan": {
2746
+ name: "Scan your government ID",
2747
+ logoUrl: "https://content.trinsic.id/connect/integrations/document-scan.png"
2748
+ },
2749
+ "eudi-reference-wallet": {
2750
+ name: "EUDI Reference Wallet",
2751
+ logoUrl: "https://content.trinsic.id/connect/integrations/eudi-reference-wallet.png"
2752
+ },
2753
+ "finnish-trust-network": {
2754
+ name: "Finnish Trust Network",
2755
+ logoUrl: "https://content.trinsic.id/connect/integrations/ftn.png"
2756
+ },
2757
+ "france-identite": {
2758
+ name: "France Identité",
2759
+ logoUrl: "https://content.trinsic.id/connect/integrations/france-identite.png"
2760
+ },
2761
+ "germany-eudi-sandbox": {
2762
+ name: "Germany EUDI Sandbox",
2763
+ logoUrl: "https://content.trinsic.id/connect/integrations/germany-eudi-sandbox.png"
2764
+ },
2765
+ "google-wallet": {
2766
+ name: "Google Wallet",
2767
+ logoUrl: "https://content.trinsic.id/connect/integrations/google-wallet.png"
2768
+ },
2769
+ "indonesia-dukcapil-match": {
2770
+ name: "Indonesia Identity Verification",
2771
+ logoUrl: "https://content.trinsic.id/connect/integrations/indonesia-dukcapil-match.png"
2772
+ },
2773
+ "italy-spid": {
2774
+ name: "SPID",
2775
+ logoUrl: "https://content.trinsic.id/connect/integrations/spid.svg"
2776
+ },
2777
+ "kenya-nid-lookup-3": {
2778
+ name: "Kenya NID Lookup",
2779
+ logoUrl: "https://content.trinsic.id/connect/integrations/ke-nid.png"
2780
+ },
2781
+ "kenya-nid-match-2": {
2782
+ name: "Kenya NID Match",
2783
+ logoUrl: "https://content.trinsic.id/connect/integrations/ke-nid.png"
2784
+ },
2785
+ "mobile-id": {
2786
+ name: "Mobile-ID",
2787
+ logoUrl: "https://content.trinsic.id/connect/integrations/mobiil-id-logo.svg"
2788
+ },
2789
+ "moldova-evo-wallet": {
2790
+ name: "EVO Wallet",
2791
+ logoUrl: "https://content.trinsic.id/connect/integrations/moldova-evo-wallet.png"
2792
+ },
2793
+ "netherlands-idin": {
2794
+ name: "IDIN",
2795
+ logoUrl: "https://content.trinsic.id/connect/integrations/idin-logo.svg"
2796
+ },
2797
+ "nigeria-nin-lookup-2": {
2798
+ name: "Nigeria NIN Lookup",
2799
+ logoUrl: "https://content.trinsic.id/connect/integrations/ng-nin.png"
2800
+ },
2801
+ "nigeria-nin-lookup-3": {
2802
+ name: "Nigeria NIN Lookup",
2803
+ logoUrl: "https://content.trinsic.id/connect/integrations/ng-nin.png"
2804
+ },
2805
+ "nigeria-nin-match-2": {
2806
+ name: "Nigeria NIN Match",
2807
+ logoUrl: "https://content.trinsic.id/connect/integrations/ng-nin.png"
2808
+ },
2809
+ "norway-bankid": {
2810
+ name: "BankID Norway",
2811
+ logoUrl: "https://content.trinsic.id/connect/integrations/no-bankid.png"
2812
+ },
2813
+ oneid: {
2814
+ name: "OneID",
2815
+ logoUrl: "https://content.trinsic.id/connect/integrations/oneid-logo.svg"
2816
+ },
2817
+ "philippines-digital-national-id-qr": {
2818
+ name: "Digital National ID",
2819
+ logoUrl: "https://content.trinsic.id/connect/integrations/philsys-logo.png"
2820
+ },
2821
+ "philippines-philsys-match": {
2822
+ name: "PhilSys Biometric Verification",
2823
+ logoUrl: "https://content.trinsic.id/connect/integrations/philsys-logo.png"
2824
+ },
2825
+ "philippines-physical-national-id-qr": {
2826
+ name: "Philippines National ID",
2827
+ logoUrl: "https://content.trinsic.id/connect/integrations/philsys-logo.png"
2828
+ },
2829
+ "singpass-login": {
2830
+ name: "Singpass",
2831
+ logoUrl: "https://content.trinsic.id/connect/integrations/singpass-logo.png"
2832
+ },
2833
+ "singpass-myinfo": {
2834
+ name: "Singpass",
2835
+ logoUrl: "https://content.trinsic.id/connect/integrations/singpass-logo.png"
2836
+ },
2837
+ "smart-id": {
2838
+ name: "Smart-ID",
2839
+ logoUrl: "https://content.trinsic.id/connect/integrations/smart-id-logo.svg"
2840
+ },
2841
+ "south-africa-nid-lookup-2": {
2842
+ name: "South Africa NID Lookup",
2843
+ logoUrl: "https://content.trinsic.id/connect/integrations/za-nid.png"
2844
+ },
2845
+ "south-africa-nid-match-2": {
2846
+ name: "South Africa NID Match",
2847
+ logoUrl: "https://content.trinsic.id/connect/integrations/za-nid.png"
2848
+ },
2849
+ "sweden-bankid": {
2850
+ name: "BankID Sweden",
2851
+ logoUrl: "https://content.trinsic.id/connect/integrations/se-bankid.svg"
2852
+ },
2853
+ "uganda-nid-match-2": {
2854
+ name: "Uganda NID",
2855
+ logoUrl: "https://content.trinsic.id/connect/integrations/ug-nid.png"
2856
+ },
2857
+ "uk-evisa-lookup": {
2858
+ name: "UK eVisa Lookup",
2859
+ logoUrl: "https://content.trinsic.id/connect/integrations/uk-evisa.svg"
2860
+ },
2861
+ "usa-louisiana-wallet": {
2862
+ name: "LA Wallet",
2863
+ logoUrl: "https://content.trinsic.id/connect/integrations/la-wallet.png"
2864
+ },
2865
+ "zimbabwe-nid-lookup-2": {
2866
+ name: "Zimbabwe NID Lookup",
2867
+ logoUrl: "https://content.trinsic.id/connect/integrations/zw-nid.png"
2868
+ },
2869
+ "trinsic-mock-output": {
2870
+ name: "Mock - Output",
2871
+ logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
2872
+ },
2873
+ "trinsic-test-database-lookup": {
2874
+ name: "Mock - Database Lookup",
2875
+ logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
2876
+ },
2877
+ "trinsic-test-deeplink": {
2878
+ name: "Mock - DeeplinkToMobile",
2879
+ logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
2880
+ },
2881
+ "trinsic-test-deeplink-refresh": {
2882
+ name: "Mock - DeeplinkToMobile + RefreshStepContent",
2883
+ logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
2884
+ },
2885
+ "trinsic-test-delayed-results": {
2886
+ name: "Mock - Delayed Results",
2887
+ logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
2888
+ },
2889
+ "trinsic-test-handoff": {
2890
+ name: "Mock - Handoff",
2891
+ logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
2892
+ },
2893
+ "trinsic-test-offline": {
2894
+ name: "Mock - Offline",
2895
+ logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
2896
+ },
2897
+ "trinsic-test-redirect": {
2898
+ name: "Mock - Redirect",
2899
+ logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
2900
+ },
2901
+ "trinsic-test-show-content": {
2902
+ name: "Mock - ShowContent",
2903
+ logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
2904
+ },
2905
+ "trinsic-test-show-content-refresh": {
2906
+ name: "Mock - ShowContent + RefreshStepContent",
2907
+ logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
2908
+ },
2909
+ "trinsic-test-sub-providers": {
2910
+ name: "Mock - Sub-providers",
2911
+ logoUrl: "https://content.trinsic.id/assets/logo/192x192.png"
2690
2912
  }
2691
2913
  };
2914
+ /**
2915
+ * The map's key form: lowercased, `_` as `-`, and the vendor prefix dropped so
2916
+ * `trinsic_netherlands_idin` (what the SDK and `ms-credential-verification`
2917
+ * use) finds `netherlands-idin` (what Trinsic publishes).
2918
+ *
2919
+ * The `trinsic-test-*` / `trinsic-mock-*` keys keep their prefix: it is part of
2920
+ * the name there, and dropping only the first segment leaves `test-redirect`,
2921
+ * which is still distinct from every real provider.
2922
+ */
2923
+ function toLogoKey(providerId) {
2924
+ return providerId.toLowerCase().replace(/_/g, "-");
2925
+ }
2926
+ /**
2927
+ * The catalog logo for a provider id, or `undefined` when the map does not
2928
+ * carry it — the card then falls back to the generic digital-ID glyph.
2929
+ */
2930
+ function getDigitalIdProviderLogo(providerId) {
2931
+ if (!providerId) return;
2932
+ const key = toLogoKey(providerId);
2933
+ return DIGITAL_ID_PROVIDER_LOGOS[key]?.logoUrl ?? DIGITAL_ID_PROVIDER_LOGOS[key.replace(/^trinsic-/, "")]?.logoUrl;
2934
+ }
2692
2935
  //#endregion
2693
2936
  //#region src/modules/id/chooser/chooser.helpers.ts
2694
- function getAvailableChooserOptions(availableDocumentTypes) {
2695
- const reduceFn = (accumulated, documentType) => {
2937
+ /**
2938
+ * The card logo: the backend's own link when it is absolute, else the catalog
2939
+ * logo for the provider (`digitalIdProviderLogos`), else nothing — the card
2940
+ * then renders the generic digital-ID glyph.
2941
+ *
2942
+ * The backend catalog still carries bare asset file names (`idin.svg`) for
2943
+ * some methods. Those would resolve against the host page and render broken,
2944
+ * so they are ignored in favour of the catalog map.
2945
+ */
2946
+ function toCardLogoSrc(logoUrl, providerId) {
2947
+ if (logoUrl && /^(https?:\/\/|data:)/i.test(logoUrl)) return logoUrl;
2948
+ return getDigitalIdProviderLogo(providerId);
2949
+ }
2950
+ /**
2951
+ * Expands the `digitalIdRedirect` document type into one card per enabled
2952
+ * web-redirect provider (iDIN, FTN, …) in backend order. With no provider
2953
+ * options (e.g. the mDL wallet fallback) the generic redirect card is kept.
2954
+ */
2955
+ function toDigitalIdRedirectCards(digitalIdRedirectOptions) {
2956
+ const base = CHOOSER_OPTIONS_LOOKUP.digitalIdRedirect;
2957
+ if (digitalIdRedirectOptions.length === 0) return [{
2958
+ ...base,
2959
+ key: base.type
2960
+ }];
2961
+ return digitalIdRedirectOptions.map((option) => ({
2962
+ ...base,
2963
+ key: `${base.type}:${option.providerId}`,
2964
+ testId: `${base.testId}-${option.providerId}`,
2965
+ providerId: option.providerId,
2966
+ displayName: option.displayName,
2967
+ iconSrc: toCardLogoSrc(option.logoUrl, option.providerId)
2968
+ }));
2969
+ }
2970
+ function getAvailableChooserOptions(availableDocumentTypes, digitalIdRedirectOptions = []) {
2971
+ const cards = [];
2972
+ for (const documentType of availableDocumentTypes) {
2973
+ if (documentType === "digitalIdRedirect") {
2974
+ cards.push(...toDigitalIdRedirectCards(digitalIdRedirectOptions));
2975
+ continue;
2976
+ }
2696
2977
  const chooserOption = CHOOSER_OPTIONS_LOOKUP[documentType];
2697
- if (chooserOption) accumulated.push(chooserOption);
2698
- return accumulated;
2699
- };
2700
- return availableDocumentTypes.reduce(reduceFn, []).sort((optionA, optionB) => optionA.weight - optionB.weight);
2978
+ if (chooserOption) cards.push({
2979
+ ...chooserOption,
2980
+ key: chooserOption.type
2981
+ });
2982
+ }
2983
+ return cards.sort((cardA, cardB) => cardA.weight - cardB.weight);
2701
2984
  }
2702
2985
  //#endregion
2703
2986
  //#region src/modules/id/chooser/chooser.tsx
2704
2987
  var Chooser = ({ manager, state }) => {
2705
2988
  const { t } = useTranslation();
2706
- const availableChooserOptions = T(() => getAvailableChooserOptions(state.availableDocumentTypes), [state.availableDocumentTypes]);
2707
- const handleSelectDocument = (documentType) => {
2708
- manager.selectDocument(documentType);
2989
+ const availableChooserOptions = T(() => getAvailableChooserOptions(state.availableDocumentTypes, state.digitalIdRedirectOptions), [state.availableDocumentTypes, state.digitalIdRedirectOptions]);
2990
+ const handleSelect = (card) => {
2991
+ if (card.providerId) {
2992
+ manager.selectDocument(card.type, { providerId: card.providerId });
2993
+ return;
2994
+ }
2995
+ manager.selectDocument(card.type);
2709
2996
  };
2710
2997
  return /* @__PURE__ */ u(Page, {
2711
2998
  title: t("idv2.chooser.chooseHowToVerifyTitle"),
@@ -2713,13 +3000,14 @@ var Chooser = ({ manager, state }) => {
2713
3000
  className: "IncodeChooserPage",
2714
3001
  children: /* @__PURE__ */ u("div", {
2715
3002
  class: "IncodeChooserContainer",
2716
- children: /* @__PURE__ */ u(VerificationOptionCardList, { children: availableChooserOptions.map((chooserOption) => /* @__PURE__ */ u(VerificationOptionCard, {
2717
- icon: chooserOption.icon,
2718
- title: t(chooserOption.title),
2719
- testId: chooserOption.testId,
2720
- tag: chooserOption.tag ? t(chooserOption.tag) : void 0,
2721
- onClick: () => handleSelectDocument(chooserOption.type)
2722
- }, chooserOption.type)) })
3003
+ children: /* @__PURE__ */ u(VerificationOptionCardList, { children: availableChooserOptions.map((card) => /* @__PURE__ */ u(VerificationOptionCard, {
3004
+ icon: card.icon,
3005
+ iconSrc: card.iconSrc,
3006
+ title: card.displayName ?? t(card.title),
3007
+ testId: card.testId,
3008
+ tag: card.tag ? t(card.tag) : void 0,
3009
+ onClick: () => handleSelect(card)
3010
+ }, card.key)) })
2723
3011
  })
2724
3012
  });
2725
3013
  };
@@ -2757,4 +3045,4 @@ var FlipAnimation = ({ manager, direction }) => {
2757
3045
  });
2758
3046
  };
2759
3047
  //#endregion
2760
- export { VerificationOptionCard as _, IdNoAttempts as a, canFlipCapturedCard as c, CAMERA_PERMISSION_UX as d, CONTINUING_TUTORIAL_PHASES as f, PERMISSION_DIALOG_STATUS as g, ID_CAPTURE_STATUS as h, Capture as i, CaptureFrame as l, ID_CAPTURE_LOADING_PHASE as m, Chooser as n, IdExpired as o, EXPERIMENT_LIFECYCLE_STATUS as p, Tutorial as r, IdError as s, FlipAnimation as t, useIdExperiment as u, VerificationOptionCardList as v };
3048
+ export { ID_CAPTURE_LOADING_PHASE as _, CaptureAutoFocusProvider as a, VerificationOptionCard as b, IdExpired as c, CaptureFrame as d, useIdExperiment as f, EXPERIMENT_LIFECYCLE_STATUS as g, CONTINUING_TUTORIAL_PHASES as h, Capture as i, IdError as l, CAMERA_WARMUP_LOADING_PHASES as m, Chooser as n, getCaptureFrameTitle as o, CAMERA_PERMISSION_UX as p, Tutorial as r, IdNoAttempts as s, FlipAnimation as t, canFlipCapturedCard as u, ID_CAPTURE_STATUS as v, VerificationOptionCardList as x, PERMISSION_DIALOG_STATUS as y };