@incodetech/web 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/dist/ae-signature/ae-signature.es.js +15 -0
  2. package/dist/ae-signature/styles.css +348 -0
  3. package/dist/ae-signature/styles2.css +107 -0
  4. package/dist/aligndevicelottie-DoV8xKjh.js +12757 -0
  5. package/dist/antifraud/antifraud.es.js +18 -0
  6. package/dist/antifraud/styles.css +2 -0
  7. package/dist/authentication/authentication.es.js +29 -0
  8. package/dist/autoFocusTitle-QexamZ4i.js +16 -0
  9. package/dist/back-horizontal-hint-B8Brxh3U.js +137 -0
  10. package/dist/back-tutorial-1NOQobGO.js +14585 -0
  11. package/dist/back-vertical-hint-BBo36dxn.js +128 -0
  12. package/dist/backdevicelottie-C_ceuqY7.js +16678 -0
  13. package/dist/base.css +8146 -0
  14. package/dist/blurdevicelottie-UO14Y0WC.js +15939 -0
  15. package/dist/bottomSheet-DE_8TFEC.js +31 -0
  16. package/dist/browser-ponyfill-jOkuz57z.js +299 -0
  17. package/dist/button-DcCUEn2n.js +24 -0
  18. package/dist/checkbox-Cl57ltq_.js +85 -0
  19. package/dist/consent/consent.es.js +90 -0
  20. package/dist/consent/styles.css +116 -0
  21. package/dist/countrySelector-CE-JgIsv.js +58 -0
  22. package/dist/cpf-ocr/styles.css +45 -0
  23. package/dist/cpfOcr-D_tbwbvh.js +78 -0
  24. package/dist/cross-document-data-match/cross-document-data-match.es.js +18 -0
  25. package/dist/curp-validation/curp-validation.es.js +279 -0
  26. package/dist/curp-validation/styles.css +82 -0
  27. package/dist/custom-fields/styles.css +22 -0
  28. package/dist/customFields-CW38fQUv.js +127 -0
  29. package/dist/customWatchlist-D9_yjEQd.js +33 -0
  30. package/dist/dateInputComposed-BpAGsjN6.js +55 -0
  31. package/dist/dateInputComposed-DU3o6PAV.js +1 -0
  32. package/dist/defineProperty-Dh8nSJpJ.js +39 -0
  33. package/dist/document-capture/styles.css +367 -0
  34. package/dist/documentCapture-xX-JT7ZY.js +763 -0
  35. package/dist/dropdownComposed-DFRBG22E.js +284 -0
  36. package/dist/dropdownComposed-DwTzc2YU.js +1 -0
  37. package/dist/dynamic-forms/styles.css +36 -0
  38. package/dist/dynamicForms-CJP1Ia6Q.js +262 -0
  39. package/dist/ekyb/ekyb.es.js +2 -0
  40. package/dist/ekyb/styles.css +137 -0
  41. package/dist/ekybModule-BSs7mndb.js +280 -0
  42. package/dist/ekybModule-D9M3E2Gm.js +2 -0
  43. package/dist/ekyc/ekyc.es.js +2 -0
  44. package/dist/ekyc/styles.css +106 -0
  45. package/dist/ekycModule-CU9pt5YN.js +246 -0
  46. package/dist/ekycModule-CZw9cLno.js +2 -0
  47. package/dist/electronic-signature/electronic-signature.es.js +2 -0
  48. package/dist/electronic-signature-COYXjGdd.js +410 -0
  49. package/dist/email/email.es.js +87 -0
  50. package/dist/email/styles.css +12 -0
  51. package/dist/emailInput-DppGf9pv.js +37 -0
  52. package/dist/expiredId-BnmzE8T3.js +70 -0
  53. package/dist/extensibility-CzEJfRwo.js +2586 -0
  54. package/dist/extensibility.es.js +25 -0
  55. package/dist/face-match/face-match.es.js +2 -0
  56. package/dist/face-match/styles.css +1078 -0
  57. package/dist/faceMatch-B8j0g0Yo.js +2 -0
  58. package/dist/faceMatch-BV8UD7tj.js +201 -0
  59. package/dist/flip-animation-CgwRsEmK.js +6983 -0
  60. package/dist/flow/flow.es.js +661 -0
  61. package/dist/flow/styles.css +8478 -0
  62. package/dist/front-horizontal-hint-DGGGi8e1.js +380 -0
  63. package/dist/front-vertical-hint-CNr5mE6Q.js +420 -0
  64. package/dist/frontdevicelottie-Bu6f9fDE.js +17302 -0
  65. package/dist/geolocation/geolocation.es.js +857 -0
  66. package/dist/geolocation/styles.css +158 -0
  67. package/dist/glaredevicelottie-B10axYs_.js +14466 -0
  68. package/dist/governmentValidation/governmentValidation.es.js +98 -0
  69. package/dist/governmentValidation/styles.css +58 -0
  70. package/dist/homeScreen-DnP1jw9A.js +227 -0
  71. package/dist/hooks-BVnGysT7.js +80 -0
  72. package/dist/i18n-9s4OSqwi.js +2010 -0
  73. package/dist/icons-Cc7zwchP.js +310 -0
  74. package/dist/id/id.es.js +832 -0
  75. package/dist/id/styles.css +1287 -0
  76. package/dist/id-laser-h-mBAzHVOK.js +467 -0
  77. package/dist/id-laser-v-CrFg4bcJ.js +483 -0
  78. package/dist/id-ocr/styles.css +46 -0
  79. package/dist/id-tutorial-BCr42Pnn.js +13153 -0
  80. package/dist/id-verification/id-verification.es.js +20 -0
  81. package/dist/idOcr-CCjfWQvH.js +94 -0
  82. package/dist/identity-reuse/identity-reuse.es.js +198 -0
  83. package/dist/identity-reuse/styles.css +163 -0
  84. package/dist/incode-logo-DX016usY.js +4 -0
  85. package/dist/incodeComponent-C1o4M0ZK.js +50 -0
  86. package/dist/incodeModule-BqCjVgEI.js +18 -0
  87. package/dist/index.es.js +16 -0
  88. package/dist/inputComposed-APSw8C7o.js +89 -0
  89. package/dist/inputComposed-XYrarFxS.js +1 -0
  90. package/dist/loadingIcon-BN5YRQUb.js +104 -0
  91. package/dist/mandatoryConsent-DssKMC3v.js +100 -0
  92. package/dist/modal-NMxsQHAO.js +135 -0
  93. package/dist/modal.hooks-CAjcIFZK.js +126 -0
  94. package/dist/numberedStep-CT-alrK5.js +11 -0
  95. package/dist/optionAccessibleLabel-CzEeX3Q4.js +140 -0
  96. package/dist/otpInput-DqRA_egd.js +145 -0
  97. package/dist/page-C1yT4DLb.js +69 -0
  98. package/dist/passport-horizontal-hint-Bgquwtac.js +293 -0
  99. package/dist/passport-tutorial-DwRwtPVX.js +11689 -0
  100. package/dist/passport-vertical-hint-BT1D5BrW.js +267 -0
  101. package/dist/pdf-BurGZ08w.js +14967 -0
  102. package/dist/pdfViewer-BGBNL1Ea.js +63 -0
  103. package/dist/phone/phone.es.js +98 -0
  104. package/dist/phone/styles.css +11 -0
  105. package/dist/phoneInputComposed-bvWhGLFZ.js +11206 -0
  106. package/dist/processing-G_y3o32b.js +6 -0
  107. package/dist/qe-signature/qe-signature.es.js +15 -0
  108. package/dist/radioGroupComposed-BbmvxmD2.js +177 -0
  109. package/dist/redirect-to-mobile/styles.css +588 -0
  110. package/dist/redirectToMobile-C3k1gloW.js +1514 -0
  111. package/dist/requiredLabelHint-BLwgqozE.js +13 -0
  112. package/dist/richText-DbJ5sl2n.js +1973 -0
  113. package/dist/rolldown-runtime-CYMK-g2i.js +20 -0
  114. package/dist/selfie/selfie.es.js +43 -0
  115. package/dist/selfie/styles.css +1144 -0
  116. package/dist/selfieTutorial-BgrlUMXP.js +2677 -0
  117. package/dist/signature/signature.es.js +546 -0
  118. package/dist/snackbar-BDp8x7Cv.js +14 -0
  119. package/dist/spinner-B4dcie2T.js +1 -0
  120. package/dist/spinner-CKnjVHxw.js +39 -0
  121. package/dist/statusPage-CUI7ApcU.js +28 -0
  122. package/dist/successIcon-DbILeIz_.js +28 -0
  123. package/dist/tabs-DaPyP71c.js +78 -0
  124. package/dist/themes/dark.css +1347 -0
  125. package/dist/themes/light.css +1225 -0
  126. package/dist/transitionSpinner-PIEPU2Vx.js +17 -0
  127. package/dist/tutorial-9vHAHvMK.js +2587 -0
  128. package/dist/types/ae-signature.d.ts +40 -0
  129. package/dist/types/antifraud.d.ts +40 -0
  130. package/dist/types/authentication.d.ts +45 -0
  131. package/dist/types/base.d.ts +1 -0
  132. package/dist/types/consent.d.ts +41 -0
  133. package/dist/types/cpf-ocr/styles.d.ts +1 -0
  134. package/dist/types/cross-document-data-match.d.ts +34 -0
  135. package/dist/types/curp-validation.d.ts +40 -0
  136. package/dist/types/custom-fields/styles.d.ts +1 -0
  137. package/dist/types/dark.d.ts +1 -0
  138. package/dist/types/document-capture/styles.d.ts +1 -0
  139. package/dist/types/dynamic-forms/styles.d.ts +1 -0
  140. package/dist/types/ekyb.d.ts +34 -0
  141. package/dist/types/ekyc.d.ts +34 -0
  142. package/dist/types/electronic-signature.d.ts +43 -0
  143. package/dist/types/email.d.ts +67 -0
  144. package/dist/types/extensibility.d.ts +981 -0
  145. package/dist/types/face-match.d.ts +59 -0
  146. package/dist/types/flow.d.ts +137 -0
  147. package/dist/types/geolocation.d.ts +41 -0
  148. package/dist/types/governmentValidation.d.ts +34 -0
  149. package/dist/types/id-ocr/styles.d.ts +1 -0
  150. package/dist/types/id-verification.d.ts +40 -0
  151. package/dist/types/id.d.ts +41 -0
  152. package/dist/types/identity-reuse.d.ts +43 -0
  153. package/dist/types/index.d.ts +32 -0
  154. package/dist/types/light.d.ts +1 -0
  155. package/dist/types/mandatory-consent/styles.d.ts +1 -0
  156. package/dist/types/phone.d.ts +68 -0
  157. package/dist/types/qe-signature.d.ts +40 -0
  158. package/dist/types/redirect-to-mobile/styles.d.ts +1 -0
  159. package/dist/types/selfie.d.ts +41 -0
  160. package/dist/types/signature.d.ts +40 -0
  161. package/dist/types/styles.d.ts +1 -0
  162. package/dist/types/themes/dark.d.ts +1 -0
  163. package/dist/types/themes/light.d.ts +1 -0
  164. package/dist/types/watchlist-for-business/styles.d.ts +1 -0
  165. package/dist/types/watchlist.d.ts +40 -0
  166. package/dist/types/workflow.d.ts +91 -0
  167. package/dist/typography-CxjaknHN.js +28 -0
  168. package/dist/uiConfig-CwpQ-IM6.js +20 -0
  169. package/dist/useModuleLoader-BFiVA41N.js +432 -0
  170. package/dist/vendor-preact-D6SntenC.js +958 -0
  171. package/dist/verificationResult-BrVbUJ4U.js +97 -0
  172. package/dist/verifiedByIncode-ChZBpqNy.js +101 -0
  173. package/dist/watchlist/watchlist.es.js +33 -0
  174. package/dist/watchlist-for-business/styles.css +18 -0
  175. package/dist/watchlistForBusiness-BcSNtHCV.js +77 -0
  176. package/dist/workflow/styles.css +7480 -0
  177. package/dist/workflow/workflow.es.js +244 -0
  178. package/package.json +2 -2
@@ -0,0 +1,832 @@
1
+ import { n as e } from "../i18n-9s4OSqwi.js";
2
+ import { _ as t, c as n, d as r, l as i, o as a, p as o, v as s } from "../vendor-preact-D6SntenC.js";
3
+ import { o as c } from "../hooks-BVnGysT7.js";
4
+ import { t as l } from "../incodeComponent-C1o4M0ZK.js";
5
+ import { n as u } from "../loadingIcon-BN5YRQUb.js";
6
+ import { t as d } from "../page-C1yT4DLb.js";
7
+ import { a as f, i as p, n as m, o as h, r as ee, s as te, t as g } from "../extensibility-CzEJfRwo.js";
8
+ import { t as _ } from "../spinner-CKnjVHxw.js";
9
+ import "../spinner-B4dcie2T.js";
10
+ import { t as v } from "../transitionSpinner-PIEPU2Vx.js";
11
+ import { t as y } from "../processing-G_y3o32b.js";
12
+ import { t as b } from "../button-DcCUEn2n.js";
13
+ import { g as x, s as S } from "../icons-Cc7zwchP.js";
14
+ import { t as C } from "../successIcon-DbILeIz_.js";
15
+ import { a as w, o as T, r as E } from "../tutorial-9vHAHvMK.js";
16
+ import { t as D } from "../pdfViewer-BGBNL1Ea.js";
17
+ import { t as ne } from "../incodeModule-BqCjVgEI.js";
18
+ import { t as re } from "../id-laser-v-CrFg4bcJ.js";
19
+ import { t as O } from "../tabs-DaPyP71c.js";
20
+ import { createIdCaptureManager as k } from "@incodetech/core/id";
21
+ //#region src/shared/fonts/preloadDisplayFont.ts
22
+ var A = !1;
23
+ function j() {
24
+ if (A || typeof document > "u") return;
25
+ let e = document.fonts;
26
+ e?.load && (A = !0, e.load("800 1rem \"Rethink Sans\"").catch(() => {}));
27
+ }
28
+ function M() {
29
+ t(() => {
30
+ j();
31
+ }, []);
32
+ }
33
+ //#endregion
34
+ //#region src/modules/id/ageVerification/ageVerification.tsx
35
+ var N = [
36
+ {
37
+ textKey: "idv2.ageVerificationPage.showYourIdAndScanIt",
38
+ imageUrl: "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20width='100%25'%20height='100%25'%20overflow='visible'%20viewBox='0%200%2096%2064'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='id'%3e%3crect%20width='96'%20height='64'%20rx='4'%20fill='var(--fill-0,%20%23E5F0FF)'/%3e%3cpath%20id='bg-white'%20d='M9%2011C9%209.34315%2010.3431%208%2012%208H83.9996C85.6564%208%2086.9996%209.34315%2086.9996%2011V51C86.9996%2052.6569%2085.6564%2054%2083.9996%2054H12C10.3432%2054%209%2052.6569%209%2051V11Z'%20fill='var(--fill-0,%20%23C9C9C9)'%20fill-opacity='0.8'/%3e%3cpath%20id='bg'%20d='M10.4336%2011.4297C10.4336%2010.3251%2011.329%209.42969%2012.4336%209.42969L83.1836%209.42969C84.2882%209.42969%2085.1836%2010.3251%2085.1836%2011.4297V50.2864C85.1836%2051.3909%2084.2882%2052.2864%2083.1836%2052.2864L12.4336%2052.2864C11.329%2052.2864%2010.4336%2051.3909%2010.4336%2050.2864L10.4336%2011.4297Z'%20fill='var(--fill-0,%20white)'/%3e%3cpath%20id='Line%202%20(Stroke)'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.4204%2020.3907C14.4206%2019.8405%2014.8668%2019.3945%2015.417%2019.3945L80.1999%2019.3945C80.7504%2019.3945%2081.1966%2019.8408%2081.1966%2020.3912C81.1966%2020.9416%2080.7504%2021.3879%2080.1999%2021.3879L15.417%2021.3879C14.8664%2021.3879%2014.4201%2020.9414%2014.4204%2020.3907Z'%20fill='var(--fill-0,%20%23C9C9C9)'%20fill-opacity='0.5'/%3e%3cpath%20id='shapes'%20d='M46.3135%2046.3066H38.3398V43.3164H46.3135V46.3066ZM62.2598%2040.3262H38.3398V37.3359H62.2598V40.3262ZM56.2803%2034.3457L38.3398%2034.3457V31.3555H56.2803V34.3457ZM56.2803%2028.3652H38.3398V25.375H56.2803V28.3652Z'%20fill='var(--fill-0,%20%23C9C9C9)'%20fill-opacity='0.5'/%3e%3crect%20id='shapes_2'%20x='14.4199'%20y='12.418'%20width='30.8967'%20height='3.98667'%20rx='1'%20fill='var(--fill-0,%20%23C9C9C9)'%20fill-opacity='0.5'/%3e%3crect%20id='shapes_3'%20x='74.833'%20y='12.4902'%20width='5.98'%20height='3.93138'%20fill='var(--fill-0,%20%23EAF0F6)'/%3e%3cg%20id='img-lef'%3e%3crect%20id='bg_2'%20x='14.5'%20y='23.5'%20width='21'%20height='24'%20rx='2'%20fill='var(--fill-0,%20%23006AFF)'/%3e%3cpath%20id='neck'%20d='M21.668%2040.4193C21.6578%2041.1962%2020.3094%2041.4448%2019.4033%2042.3191C20.9799%2043.4551%2023.2584%2044.2192%2024.8349%2044.2192C26.6695%2044.2193%2028.7902%2043.4551%2030.3667%2042.3191C29.4606%2041.4448%2028.0296%2041.1975%2028.0105%2040.4193C28.0105%2040.124%2028.0115%2037.2468%2028.0129%2036.9514C28.0129%2031.9788%2021.4785%2029.0203%2021.6594%2037.0327C21.6628%2038.1615%2021.668%2039.2905%2021.668%2040.4193Z'%20fill='url(%23paint0_linear_0_546)'/%3e%3cpath%20id='tshirt'%20d='M28.9864%2041.3224C28.9864%2041.3224%2033.9028%2042.9122%2034.8516%2044.6261C35.0635%2045.0089%2035.2528%2045.5041%2035.4229%2046.0412C35.1866%2046.8824%2034.4168%2047.5002%2033.5%2047.5002H16.5C15.3955%2047.5002%2014.5001%2046.6047%2014.5%2045.5002V43.9797C16.2627%2042.5328%2020.7071%2041.3224%2020.7071%2041.3224C20.7071%2042.3611%2023.2872%2043.9872%2024.8467%2044.0138C27.0213%2044.0138%2028.9864%2042.3617%2028.9864%2041.3224Z'%20fill='var(--fill-0,%20%23CECECE)'/%3e%3cpath%20id='shadow'%20d='M21.6689%2037.2958C24.0023%2037.047%2026.1992%2038.9562%2026.1992%2038.9562C26.1992%2038.9562%2025.7637%2041.3043%2021.6689%2040.6219V37.2958Z'%20fill='var(--fill-0,%20%23CDCDCD)'/%3e%3cpath%20id='ear'%20d='M30.4589%2033.2935C30.5836%2032.8283%2030.3075%2032.3501%2029.8422%2032.2254L29.7507%2032.2009C29.3228%2032.0863%2028.877%2032.3105%2028.7141%2032.7224L28.0175%2034.4827C27.8101%2035.0069%2028.1471%2035.5872%2028.7052%2035.6669L29.0163%2035.7113C29.4531%2035.7737%2029.8677%2035.4999%2029.9819%2035.0737L30.4589%2033.2935Z'%20fill='url(%23paint1_linear_0_546)'/%3e%3cpath%20id='ear_2'%20d='M19.5411%2033.2935C19.4165%2032.8283%2019.6926%2032.3501%2020.1578%2032.2255C20.623%2032.1008%2021.1012%2032.3769%2021.2259%2032.8421L21.6773%2034.5269C21.802%2034.9921%2021.5259%2035.4703%2021.0607%2035.595C20.5954%2035.7196%2020.1172%2035.4435%2019.9926%2034.9783L19.5411%2033.2935Z'%20fill='url(%23paint2_linear_0_546)'/%3e%3cpath%20id='head'%20d='M29.7961%2033.0854C29.7961%2036.9044%2027.1022%2040.0004%2024.9996%2040.0004C22.6999%2040.0004%2020.2031%2036.9044%2020.2031%2033.0854C20.2031%2029.6827%2020.4677%2026.0469%2024.9996%2026.0469C29.5316%2026.0469%2029.7961%2029.6041%2029.7961%2033.0854Z'%20fill='url(%23paint3_linear_0_546)'/%3e%3c/g%3e%3cg%20id='img-bot-rig'%3e%3cpath%20id='Combined%20Shape'%20d='M74.805%2043.3724C74.7998%2043.7637%2074.3448%2043.9652%2073.8847%2044.4056C74.6853%2044.9778%2075.7662%2045.2864%2076.5668%2045.2864C77.4985%2045.2865%2078.2993%2044.9778%2079.0999%2044.4057C78.6398%2043.9653%2078.1893%2043.7644%2078.1796%2043.3724C78.1796%2043.2237%2078.1801%2041.7744%2078.1808%2041.6257C78.1808%2039.121%2074.7087%2037.6308%2074.8006%2041.6666C74.8023%2042.2352%2074.805%2042.8038%2074.805%2043.3724Z'%20fill='url(%23paint4_linear_0_546)'/%3e%3cpath%20id='Path%2048'%20d='M74.7537%2040.9329C76.0967%2040.7449%2077.3612%2042.1874%2077.3612%2042.1874C77.3612%2042.1874%2077.1105%2043.9615%2074.7537%2043.4459V40.9329Z'%20fill='var(--fill-0,%20%23F1F1F1)'/%3e%3cpath%20id='Combined%20Shape_2'%20d='M81.7073%2045.2883C82.14%2046.0951%2082.1941%2046.804%2082.1941%2046.804H70.7324C70.7324%2046.804%2070.8444%2046.0949%2071.277%2045.2883C71.7097%2044.4818%2074.7538%2043.5391%2074.7538%2043.5391C74.7538%2044.028%2075.7809%2044.4011%2076.4922%2044.4137C77.484%2044.4137%2078.2305%2044.0283%2078.2305%2043.5391C78.2305%2043.5391%2081.2745%2044.4815%2081.7073%2045.2883Z'%20fill='var(--fill-0,%20%23E1E1E1)'/%3e%3cpath%20id='Ellipse%20148'%20d='M79.3958%2039.3396C79.3958%2041.2491%2077.9264%2042.7971%2076.7795%2042.7971C75.5252%2042.7971%2074.1633%2041.2491%2074.1633%2039.3396C74.1633%2037.6382%2074.3076%2035.8203%2076.7795%2035.8203C79.2515%2035.8203%2079.3958%2037.5989%2079.3958%2039.3396Z'%20fill='url(%23paint5_linear_0_546)'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_0_546'%20x1='24.4155'%20y1='37.2573'%20x2='24.4155'%20y2='41.7755'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23B1B1B1'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_0_546'%20x1='28.4828'%20y1='34.8213'%20x2='29.7888'%20y2='34.8737'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.0416667'%20stop-color='%23B5B5B5'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_0_546'%20x1='20.5758'%20y1='34.8211'%20x2='19.2698'%20y2='34.8735'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.0416667'%20stop-color='%23B5B5B5'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_0_546'%20x1='20.322'%20y1='33.028'%20x2='27.0973'%20y2='33.0529'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E0E0E0'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_0_546'%20x1='76.277'%20y1='41.7261'%20x2='76.277'%20y2='44.002'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23EDEDED'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_0_546'%20x1='74.4849'%20y1='39.2761'%20x2='78.1805'%20y2='39.2909'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E0E0E0'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e"
39
+ },
40
+ {
41
+ textKey: "idv2.ageVerificationPage.weOnlyUseTheDateOfBirthInformation",
42
+ imageUrl: "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20width='100%25'%20height='100%25'%20overflow='visible'%20viewBox='0%200%2096%2064'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='id'%3e%3cg%20clip-path='url(%23clip0_0_643)'%3e%3crect%20width='96'%20height='64'%20rx='4'%20fill='var(--fill-0,%20%23E5F0FF)'/%3e%3crect%20id='bg'%20x='8.5'%20y='7.75'%20width='75'%20height='43'%20rx='2'%20fill='var(--fill-0,%20white)'/%3e%3cpath%20id='bg-white'%20d='M-7%20-5C-7%20-6.65685%20-5.65685%20-8%20-4%20-8H82C83.6569%20-8%2085%20-6.65685%2085%20-5V49C85%2050.6569%2083.6569%2052%2082%2052H-4C-5.65685%2052%20-7%2050.6569%20-7%2049V-5Z'%20fill='var(--fill-0,%20%23C9C9C9)'%20fill-opacity='0.8'/%3e%3cpath%20id='bg_2'%20d='M-7%200.52725C-7%20-0.78761%20-5.9341%20-1.85352%20-4.61924%20-1.85352L79.6003%20-1.85352C80.9151%20-1.85352%2081.9811%20-0.787611%2081.9811%200.527249V46.7815C81.9811%2048.0964%2080.9152%2049.1623%2079.6003%2049.1623L-4.61923%2049.1623C-5.93409%2049.1623%20-7%2048.0964%20-7%2046.7815L-7%200.52725Z'%20fill='var(--fill-0,%20white)'/%3e%3cg%20id='img-lef'%3e%3crect%20id='bg_3'%20x='-42'%20y='-25'%20width='56'%20height='64'%20rx='5.33333'%20fill='var(--fill-0,%20%23006AFF)'/%3e%3cpath%20id='neck'%20d='M-22.8853%2020.1198C-22.9125%2022.1914%20-26.5084%2022.8544%20-28.9246%2025.1859C-24.7205%2028.2152%20-18.6445%2030.2529%20-14.4405%2030.2529C-9.5482%2030.253%20-3.89305%2028.2152%200.310995%2025.1859C-2.10517%2022.8544%20-5.9213%2022.1949%20-5.97221%2020.1197C-5.97221%2019.3322%20-5.96945%2011.6597%20-5.96578%2010.8721C-5.96578%20-2.38824%20-23.3907%20-10.2777%20-22.9083%2011.0888C-22.8992%2014.0991%20-22.8853%2017.1096%20-22.8853%2020.1198Z'%20fill='url(%23paint0_linear_0_643)'/%3e%3cpath%20id='tshirt'%20d='M-3.36816%2022.5273C-3.28384%2022.5546%209.74919%2026.7804%2012.2715%2031.3359C12.8366%2032.3567%2013.3471%2033.6759%2013.8008%2035.1084C13.1717%2037.3531%2011.1126%2038.9999%208.66699%2039H-36.667C-39.6123%2038.9998%20-41.9998%2036.6123%20-42%2033.667V29.6143C-37.2999%2025.7557%20-25.4482%2022.5273%20-25.4482%2022.5273C-25.4482%2025.2971%20-18.567%2029.632%20-14.4082%2029.7031C-8.60958%2029.7029%20-3.36816%2025.2987%20-3.36816%2022.5273Z'%20fill='var(--fill-0,%20%23CECECE)'/%3e%3cpath%20id='shadow'%20d='M-22.8828%2011.7901C-16.6605%2011.1266%20-10.802%2016.2179%20-10.802%2016.2179C-10.802%2016.2179%20-11.9634%2022.4795%20-22.8828%2020.6596V11.7901Z'%20fill='var(--fill-0,%20%23CDCDCD)'/%3e%3cpath%20id='ear'%20d='M0.557148%201.11737C0.889571%20-0.123253%200.153333%20-1.39845%20-1.08729%20-1.73088L-1.33142%20-1.79629C-2.47233%20-2.102%20-3.66119%20-1.50391%20-4.09577%20-0.405607L-5.95319%204.28855C-6.50633%205.68646%20-5.6077%207.23397%20-4.11942%207.44644L-3.28987%207.56487C-2.12497%207.73118%20-1.01941%207.00115%20-0.714852%205.86454L0.557148%201.11737Z'%20fill='url(%23paint1_linear_0_643)'/%3e%3cpath%20id='ear_2'%20d='M-28.557%201.11743C-28.8894%20-0.123187%20-28.1531%20-1.39839%20-26.9125%20-1.73081C-25.6719%20-2.06323%20-24.3967%20-1.327%20-24.0643%20-0.0863767L-22.8605%204.4063C-22.528%205.64692%20-23.2643%206.92212%20-24.5049%207.25455C-25.7455%207.58697%20-27.0207%206.85073%20-27.3531%205.61011L-28.557%201.11743Z'%20fill='url(%23paint2_linear_0_643)'/%3e%3cpath%20id='head'%20d='M-1.21027%200.560308C-1.21027%2010.7444%20-8.39406%2019.0003%20-14.001%2019.0003C-20.1335%2019.0003%20-26.7917%2010.7444%20-26.7917%200.560308C-26.7917%20-8.51338%20-26.0862%20-18.209%20-14.001%20-18.209C-1.91578%20-18.209%20-1.21027%20-8.72318%20-1.21027%200.560308Z'%20fill='url(%23paint3_linear_0_643)'/%3e%3c/g%3e%3cg%20id='DOB%2008/31/1983'%3e%3cpath%20id='Vector'%20d='M67.7664%2024.7399L68.6693%2024.6303C68.6981%2024.8605%2068.7756%2025.0365%2068.9017%2025.1582C69.0279%2025.2799%2069.1806%2025.3408%2069.3599%2025.3408C69.5524%2025.3408%2069.714%2025.2677%2069.8446%2025.1217C69.9774%2024.9756%2070.0437%2024.7786%2070.0437%2024.5307C70.0437%2024.2961%2069.9807%2024.1102%2069.8545%2023.973C69.7284%2023.8358%2069.5745%2023.7672%2069.3931%2023.7672C69.2736%2023.7672%2069.1308%2023.7904%2068.9648%2023.8369L69.0677%2023.0767C69.32%2023.0833%2069.5126%2023.0291%2069.6454%2022.914C69.7782%2022.7967%2069.8446%2022.6418%2069.8446%2022.4492C69.8446%2022.2854%2069.7959%2022.1549%2069.6985%2022.0575C69.6011%2021.9601%2069.4716%2021.9114%2069.3101%2021.9114C69.1507%2021.9114%2069.0146%2021.9667%2068.9017%2022.0774C68.7889%2022.1881%2068.7202%2022.3496%2068.6959%2022.5621L67.8361%2022.416C67.8958%2022.1217%2067.9855%2021.8871%2068.105%2021.7122C68.2267%2021.5352%2068.3949%2021.3968%2068.6096%2021.2972C68.8265%2021.1954%2069.0688%2021.1445%2069.3366%2021.1445C69.7948%2021.1445%2070.1622%2021.2906%2070.4388%2021.5827C70.6668%2021.8218%2070.7807%2022.0918%2070.7807%2022.3928C70.7807%2022.8199%2070.5472%2023.1608%2070.0803%2023.4153C70.3591%2023.475%2070.5816%2023.6089%2070.7475%2023.817C70.9157%2024.025%2070.9998%2024.2762%2070.9998%2024.5706C70.9998%2024.9977%2070.8438%2025.3618%2070.5318%2025.6628C70.2197%2025.9638%2069.8313%2026.1143%2069.3665%2026.1143C68.9261%2026.1143%2068.5609%2025.9881%2068.271%2025.7358C67.981%2025.4813%2067.8128%2025.1493%2067.7664%2024.7399Z'%20fill='var(--fill-0,%20%23006AFF)'/%3e%3cpath%20id='Vector_2'%20d='M64.8153%2023.4053C64.5741%2023.3035%2064.3981%2023.1641%2064.2875%2022.987C64.179%2022.8078%2064.1248%2022.6119%2064.1248%2022.3994C64.1248%2022.0365%2064.2509%2021.7366%2064.5032%2021.4998C64.7578%2021.2629%2065.1185%2021.1445%2065.5855%2021.1445C66.0481%2021.1445%2066.4066%2021.2629%2066.6611%2021.4998C66.9179%2021.7366%2067.0462%2022.0365%2067.0462%2022.3994C67.0462%2022.6252%2066.9876%2022.8266%2066.8703%2023.0036C66.753%2023.1785%2066.5881%2023.3124%2066.3756%2023.4053C66.6456%2023.5138%2066.8503%2023.672%2066.9898%2023.8801C67.1314%2024.0881%2067.2022%2024.3282%2067.2022%2024.6004C67.2022%2025.0497%2067.0584%2025.4149%2066.7707%2025.696C66.4852%2025.9771%2066.1045%2026.1176%2065.6287%2026.1176C65.186%2026.1176%2064.8175%2026.0014%2064.5232%2025.769C64.1757%2025.4946%2064.002%2025.1183%2064.002%2024.6403C64.002%2024.3769%2064.0672%2024.1357%2064.1978%2023.9166C64.3284%2023.6952%2064.5342%2023.5248%2064.8153%2023.4053ZM65.0079%2022.4658C65.0079%2022.6517%2065.0599%2022.7967%2065.1639%2022.9007C65.2701%2023.0047%2065.4107%2023.0567%2065.5855%2023.0567C65.7626%2023.0567%2065.9042%2023.0047%2066.0104%2022.9007C66.1167%2022.7945%2066.1698%2022.6484%2066.1698%2022.4625C66.1698%2022.2877%2066.1167%2022.1482%2066.0104%2022.0442C65.9064%2021.938%2065.7681%2021.8848%2065.5955%2021.8848C65.4162%2021.8848%2065.2734%2021.938%2065.1672%2022.0442C65.061%2022.1504%2065.0079%2022.291%2065.0079%2022.4658ZM64.9215%2024.5507C64.9215%2024.8074%2064.9868%2025.0077%2065.1174%2025.1515C65.2502%2025.2954%2065.4151%2025.3673%2065.6121%2025.3673C65.8046%2025.3673%2065.964%2025.2987%2066.0901%2025.1615C66.2163%2025.0221%2066.2793%2024.8218%2066.2793%2024.5606C66.2793%2024.3327%2066.2152%2024.1501%2066.0868%2024.0128C65.9584%2023.8734%2065.7958%2023.8037%2065.5988%2023.8037C65.3708%2023.8037%2065.2004%2023.8823%2065.0875%2024.0394C64.9769%2024.1965%2064.9215%2024.367%2064.9215%2024.5507Z'%20fill='var(--fill-0,%20%23006AFF)'/%3e%3cpath%20id='Vector_3'%20d='M60.2504%2024.9059L61.1534%2024.8063C61.1755%2024.99%2061.2331%2025.1261%2061.326%2025.2146C61.419%2025.3031%2061.5418%2025.3474%2061.6945%2025.3474C61.8871%2025.3474%2062.0509%2025.2589%2062.1859%2025.0818C62.3209%2024.9048%2062.4072%2024.5374%2062.4448%2023.9796C62.2102%2024.2519%2061.917%2024.388%2061.5651%2024.388C61.1822%2024.388%2060.8513%2024.2408%2060.5724%2023.9464C60.2958%2023.6499%2060.1575%2023.2648%2060.1575%2022.7912C60.1575%2022.2976%2060.3035%2021.9003%2060.5957%2021.5993C60.89%2021.2961%2061.2641%2021.1445%2061.7178%2021.1445C62.2113%2021.1445%2062.6163%2021.336%2062.9328%2021.7189C63.2493%2022.0995%2063.4076%2022.727%2063.4076%2023.6012C63.4076%2024.4909%2063.2427%2025.1327%2062.9129%2025.5267C62.5831%2025.9206%2062.1538%2026.1176%2061.6248%2026.1176C61.2442%2026.1176%2060.9365%2026.0169%2060.7019%2025.8155C60.4673%2025.6119%2060.3168%2025.3087%2060.2504%2024.9059ZM62.3618%2022.8675C62.3618%2022.5665%2062.2921%2022.333%2062.1527%2022.167C62.0155%2022.001%2061.8561%2021.918%2061.6746%2021.918C61.502%2021.918%2061.3581%2021.9867%2061.243%2022.1239C61.1302%2022.2589%2061.0737%2022.4813%2061.0737%2022.7912C61.0737%2023.1054%2061.1357%2023.3367%2061.2596%2023.485C61.3836%2023.6311%2061.5385%2023.7041%2061.7244%2023.7041C61.9037%2023.7041%2062.0542%2023.6333%2062.1759%2023.4916C62.2999%2023.35%2062.3618%2023.1419%2062.3618%2022.8675Z'%20fill='var(--fill-0,%20%23006AFF)'/%3e%3cpath%20id='Vector_4'%20d='M58.833%2026.0313H57.9002V22.5156C57.5593%2022.8343%2057.1576%2023.07%2056.6951%2023.2227V22.3762C56.9385%2022.2965%2057.203%2022.146%2057.4885%2021.9247C57.774%2021.7012%2057.9699%2021.4411%2058.0761%2021.1445H58.833V26.0313Z'%20fill='var(--fill-0,%20%23006AFF)'/%3e%3cpath%20id='Vector_5'%20d='M54.2547%2026.1149L55.4598%2021.082H56.1603L54.9419%2026.1149H54.2547Z'%20fill='var(--fill-0,%20%23006AFF)'/%3e%3cpath%20id='Vector_6'%20d='M53.1563%2026.0313H52.2234V22.5156C51.8826%2022.8343%2051.4809%2023.07%2051.0183%2023.2227V22.3762C51.2618%2022.2965%2051.5262%2022.146%2051.8117%2021.9247C52.0972%2021.7012%2052.2931%2021.4411%2052.3994%2021.1445H53.1563V26.0313Z'%20fill='var(--fill-0,%20%23006AFF)'/%3e%3cpath%20id='Vector_7'%20d='M46.9514%2024.7399L47.8544%2024.6303C47.8832%2024.8605%2047.9606%2025.0365%2048.0868%2025.1582C48.2129%2025.2799%2048.3657%2025.3408%2048.5449%2025.3408C48.7375%2025.3408%2048.899%2025.2677%2049.0296%2025.1217C49.1624%2024.9756%2049.2288%2024.7786%2049.2288%2024.5307C49.2288%2024.2961%2049.1657%2024.1102%2049.0396%2023.973C48.9134%2023.8358%2048.7596%2023.7672%2048.5781%2023.7672C48.4586%2023.7672%2048.3159%2023.7904%2048.1499%2023.8369L48.2528%2023.0767C48.5051%2023.0833%2048.6976%2023.0291%2048.8304%2022.914C48.9632%2022.7967%2049.0296%2022.6418%2049.0296%2022.4492C49.0296%2022.2854%2048.9809%2022.1549%2048.8835%2022.0575C48.7862%2021.9601%2048.6567%2021.9114%2048.4951%2021.9114C48.3358%2021.9114%2048.1997%2021.9667%2048.0868%2022.0774C47.9739%2022.1881%2047.9053%2022.3496%2047.881%2022.5621L47.0211%2022.416C47.0809%2022.1217%2047.1705%2021.8871%2047.29%2021.7122C47.4118%2021.5352%2047.58%2021.3968%2047.7946%2021.2972C48.0115%2021.1954%2048.2539%2021.1445%2048.5217%2021.1445C48.9798%2021.1445%2049.3472%2021.2906%2049.6239%2021.5827C49.8518%2021.8218%2049.9658%2022.0918%2049.9658%2022.3928C49.9658%2022.8199%2049.7323%2023.1608%2049.2653%2023.4153C49.5442%2023.475%2049.7666%2023.6089%2049.9326%2023.817C50.1008%2024.025%2050.1849%2024.2762%2050.1849%2024.5706C50.1849%2024.9977%2050.0289%2025.3618%2049.7168%2025.6628C49.4048%2025.9638%2049.0163%2026.1143%2048.5516%2026.1143C48.1111%2026.1143%2047.746%2025.9881%2047.456%2025.7358C47.1661%2025.4813%2046.9979%2025.1493%2046.9514%2024.7399Z'%20fill='var(--fill-0,%20%23006AFF)'/%3e%3cpath%20id='Vector_8'%20d='M44.7937%2026.1149L45.9988%2021.082H46.6992L45.4809%2026.1149H44.7937Z'%20fill='var(--fill-0,%20%23006AFF)'/%3e%3cpath%20id='Vector_9'%20d='M42.1075%2023.4053C41.8663%2023.3035%2041.6904%2023.1641%2041.5797%2022.987C41.4712%2022.8078%2041.417%2022.6119%2041.417%2022.3994C41.417%2022.0365%2041.5432%2021.7366%2041.7955%2021.4998C42.05%2021.2629%2042.4108%2021.1445%2042.8777%2021.1445C43.3403%2021.1445%2043.6988%2021.2629%2043.9534%2021.4998C44.2101%2021.7366%2044.3385%2022.0365%2044.3385%2022.3994C44.3385%2022.6252%2044.2798%2022.8266%2044.1625%2023.0036C44.0452%2023.1785%2043.8803%2023.3124%2043.6679%2023.4053C43.9379%2023.5138%2044.1426%2023.672%2044.282%2023.8801C44.4237%2024.0881%2044.4945%2024.3282%2044.4945%2024.6004C44.4945%2025.0497%2044.3506%2025.4149%2044.0629%2025.696C43.7774%2025.9771%2043.3967%2026.1176%2042.9209%2026.1176C42.4783%2026.1176%2042.1098%2026.0014%2041.8154%2025.769C41.4679%2025.4946%2041.2942%2025.1183%2041.2942%2024.6403C41.2942%2024.3769%2041.3595%2024.1357%2041.4901%2023.9166C41.6206%2023.6952%2041.8265%2023.5248%2042.1075%2023.4053ZM42.3001%2022.4658C42.3001%2022.6517%2042.3521%2022.7967%2042.4561%2022.9007C42.5624%2023.0047%2042.7029%2023.0567%2042.8777%2023.0567C43.0548%2023.0567%2043.1964%2023.0047%2043.3027%2022.9007C43.4089%2022.7945%2043.462%2022.6484%2043.462%2022.4625C43.462%2022.2877%2043.4089%2022.1482%2043.3027%2022.0442C43.1987%2021.938%2043.0603%2021.8848%2042.8877%2021.8848C42.7084%2021.8848%2042.5657%2021.938%2042.4594%2022.0442C42.3532%2022.1504%2042.3001%2022.291%2042.3001%2022.4658ZM42.2138%2024.5507C42.2138%2024.8074%2042.2791%2025.0077%2042.4096%2025.1515C42.5424%2025.2954%2042.7073%2025.3673%2042.9043%2025.3673C43.0968%2025.3673%2043.2562%2025.2987%2043.3823%2025.1615C43.5085%2025.0221%2043.5716%2024.8218%2043.5716%2024.5606C43.5716%2024.3327%2043.5074%2024.1501%2043.379%2024.0128C43.2507%2023.8734%2043.088%2023.8037%2042.891%2023.8037C42.6631%2023.8037%2042.4926%2023.8823%2042.3798%2024.0394C42.2691%2024.1965%2042.2138%2024.367%2042.2138%2024.5507Z'%20fill='var(--fill-0,%20%23006AFF)'/%3e%3cpath%20id='Vector_10'%20d='M39.1%2021.1445C39.5714%2021.1445%2039.9399%2021.3127%2040.2055%2021.6491C40.522%2022.0475%2040.6802%2022.7082%2040.6802%2023.6311C40.6802%2024.5518%2040.5209%2025.2135%2040.2022%2025.6163C39.9388%2025.9483%2039.5714%2026.1143%2039.1%2026.1143C38.6264%2026.1143%2038.2446%2025.9328%2037.9547%2025.5698C37.6647%2025.2047%2037.5198%2024.5551%2037.5198%2023.6211C37.5198%2022.7048%2037.6791%2022.0453%2037.9978%2021.6425C38.2612%2021.3105%2038.6286%2021.1445%2039.1%2021.1445ZM39.1%2021.918C38.9871%2021.918%2038.8864%2021.9546%2038.7979%2022.0276C38.7094%2022.0984%2038.6408%2022.2268%2038.5921%2022.4127C38.5279%2022.6539%2038.4958%2023.0601%2038.4958%2023.6311C38.4958%2024.2021%2038.5246%2024.5949%2038.5821%2024.8096C38.6397%2025.0221%2038.7116%2025.1637%2038.7979%2025.2345C38.8864%2025.3054%2038.9871%2025.3408%2039.1%2025.3408C39.2129%2025.3408%2039.3136%2025.3054%2039.4021%2025.2345C39.4906%2025.1615%2039.5592%2025.032%2039.6079%2024.8461C39.6721%2024.6071%2039.7042%2024.2021%2039.7042%2023.6311C39.7042%2023.0601%2039.6754%2022.6683%2039.6179%2022.4559C39.5603%2022.2412%2039.4873%2022.0984%2039.3988%2022.0276C39.3125%2021.9546%2039.2129%2021.918%2039.1%2021.918Z'%20fill='var(--fill-0,%20%23006AFF)'/%3e%3cpath%20id='Vector_11'%20d='M30.9265%2021.166H32.8719C33.257%2021.166%2033.5436%2021.1826%2033.7318%2021.2158C33.9221%2021.2468%2034.0914%2021.3132%2034.2397%2021.415C34.3902%2021.5168%2034.5152%2021.6529%2034.6148%2021.8233C34.7144%2021.9915%2034.7642%2022.1808%2034.7642%2022.391C34.7642%2022.619%2034.7022%2022.8281%2034.5783%2023.0185C34.4566%2023.2088%2034.2906%2023.3516%2034.0803%2023.4467C34.3769%2023.533%2034.6049%2023.6802%2034.7642%2023.8883C34.9236%2024.0963%2035.0032%2024.3409%2035.0032%2024.6219C35.0032%2024.8433%2034.9512%2025.059%2034.8472%2025.2693C34.7454%2025.4773%2034.6049%2025.6444%2034.4256%2025.7706C34.2485%2025.8945%2034.0294%2025.9709%2033.7683%2025.9997C33.6045%2026.0174%2033.2094%2026.0284%2032.5831%2026.0329H30.9265V21.166ZM31.9092%2021.976V23.1015H32.5532C32.9361%2023.1015%2033.174%2023.0959%2033.267%2023.0849C33.4352%2023.0649%2033.5669%2023.0074%2033.662%2022.9122C33.7594%2022.8149%2033.8081%2022.6876%2033.8081%2022.5305C33.8081%2022.38%2033.7661%2022.2582%2033.682%2022.1653C33.6001%2022.0701%2033.4772%2022.0126%2033.3135%2021.9926C33.2161%2021.9816%2032.9361%2021.976%2032.4735%2021.976H31.9092ZM31.9092%2023.9115V25.2129H32.8188C33.1729%2025.2129%2033.3976%2025.2029%2033.4927%2025.183C33.6388%2025.1564%2033.7572%2025.0922%2033.8479%2024.9904C33.9409%2024.8864%2033.9874%2024.7481%2033.9874%2024.5755C33.9874%2024.4294%2033.952%2024.3054%2033.8811%2024.2036C33.8103%2024.1018%2033.7074%2024.0277%2033.5724%2023.9812C33.4396%2023.9347%2033.1497%2023.9115%2032.7026%2023.9115H31.9092Z'%20fill='var(--fill-0,%20%23006AFF)'/%3e%3cpath%20id='Vector_12'%20d='M25.4329%2023.6283C25.4329%2023.1326%2025.5071%2022.7165%2025.6553%2022.3801C25.766%2022.1322%2025.9165%2021.9098%2026.1068%2021.7128C26.2994%2021.5158%2026.5096%2021.3697%2026.7376%2021.2746C27.0408%2021.1462%2027.3905%2021.082%2027.7867%2021.082C28.5037%2021.082%2029.077%2021.3045%2029.5063%2021.7493C29.9379%2022.1942%2030.1537%2022.8128%2030.1537%2023.6051C30.1537%2024.3908%2029.9401%2025.006%2029.513%2025.4509C29.0858%2025.8935%2028.5148%2026.1149%2027.7999%2026.1149C27.0762%2026.1149%2026.5008%2025.8946%2026.0736%2025.4542C25.6465%2025.0116%2025.4329%2024.4029%2025.4329%2023.6283ZM26.4455%2023.5951C26.4455%2024.1462%2026.5727%2024.5645%2026.8272%2024.85C27.0817%2025.1333%2027.4049%2025.2749%2027.7966%2025.2749C28.1884%2025.2749%2028.5093%2025.1344%2028.7594%2024.8533C29.0117%2024.57%2029.1378%2024.1462%2029.1378%2023.5818C29.1378%2023.0241%2029.015%2022.608%2028.7693%2022.3336C28.5259%2022.0592%2028.2016%2021.9219%2027.7966%2021.9219C27.3916%2021.9219%2027.0652%2022.0614%2026.8173%2022.3402C26.5694%2022.6169%2026.4455%2023.0352%2026.4455%2023.5951Z'%20fill='var(--fill-0,%20%23006AFF)'/%3e%3cpath%20id='Vector_13'%20d='M20.7148%2021.166H22.5109C22.9159%2021.166%2023.2246%2021.197%2023.4371%2021.259C23.7226%2021.3431%2023.9671%2021.4925%2024.1708%2021.7071C24.3744%2021.9218%2024.5293%2022.1852%2024.6355%2022.4973C24.7418%2022.8071%2024.7949%2023.19%2024.7949%2023.6459C24.7949%2024.0465%2024.7451%2024.3918%2024.6455%2024.6817C24.5238%2025.0358%2024.35%2025.3224%2024.1243%2025.5415C23.9539%2025.7075%2023.7237%2025.837%2023.4338%2025.9299C23.2169%2025.9985%2022.9269%2026.0329%2022.564%2026.0329H20.7148V21.166ZM21.6975%2021.9893V25.2129H22.4312C22.7056%2025.2129%2022.9037%2025.1974%2023.0254%2025.1664C23.1848%2025.1265%2023.3165%2025.059%2023.4205%2024.9639C23.5267%2024.8687%2023.613%2024.7127%2023.6794%2024.4958C23.7458%2024.2767%2023.779%2023.979%2023.779%2023.6028C23.779%2023.2265%2023.7458%2022.9377%2023.6794%2022.7363C23.613%2022.5349%2023.5201%2022.3777%2023.4006%2022.2649C23.2811%2022.152%2023.1294%2022.0756%2022.9458%2022.0358C22.8085%2022.0048%2022.5396%2021.9893%2022.139%2021.9893H21.6975Z'%20fill='var(--fill-0,%20%23006AFF)'/%3e%3c/g%3e%3crect%20id='shapes'%20x='20'%20y='9.56453'%20width='42.2335'%20height='6.39901'%20rx='0.358345'%20fill='var(--fill-0,%20%23E9E9EB)'/%3e%3crect%20id='shapes_2'%20x='20'%20y='32.6016'%20width='23.0365'%20height='6.39901'%20rx='0.358345'%20fill='var(--fill-0,%20%23E9E9EB)'/%3e%3crect%20id='shapes_3'%20x='20'%20y='-3.23438'%20width='42.2335'%20height='6.39901'%20rx='0.358345'%20fill='var(--fill-0,%20%23E9E9EB)'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_0_643'%20x1='-15.5588'%20y1='11.6877'%20x2='-15.5588'%20y2='23.7364'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23B1B1B1'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_0_643'%20x1='-4.71245'%20y1='5.19152'%20x2='-1.22969'%20y2='5.33129'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.0416667'%20stop-color='%23B5B5B5'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_0_643'%20x1='-25.7979'%20y1='5.19087'%20x2='-29.2806'%20y2='5.33064'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.0416667'%20stop-color='%23B5B5B5'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_0_643'%20x1='-26.4747'%20y1='0.407338'%20x2='-8.40711'%20y2='0.473848'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E0E0E0'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_0_643'%3e%3crect%20width='96'%20height='64'%20rx='4'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"
43
+ },
44
+ {
45
+ textKey: "idv2.ageVerificationPage.TheRestOfYourInformationWillBeDeletedToEnsureYourPrivacy",
46
+ imageUrl: "data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20width='100%25'%20height='100%25'%20overflow='visible'%20viewBox='0%200%2096%2064'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='id'%3e%3crect%20width='96'%20height='64'%20rx='4'%20fill='var(--fill-0,%20%23E5F0FF)'/%3e%3cpath%20id='bg-white'%20d='M9%2012C9%2010.3431%2010.3431%209%2012%209H83.9996C85.6564%209%2086.9996%2010.3431%2086.9996%2012V37H9V12Z'%20fill='var(--fill-0,%20%23C9C9C9)'%20fill-opacity='0.8'/%3e%3cpath%20id='bg'%20d='M10.4336%2012.4297C10.4336%2011.3251%2011.329%2010.4297%2012.4336%2010.4297L83.1836%2010.4297C84.2882%2010.4297%2085.1836%2011.3251%2085.1836%2012.4297V37.0005H10.4336L10.4336%2012.4297Z'%20fill='var(--fill-0,%20white)'/%3e%3cpath%20id='Line%202%20(Stroke)'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.4204%2021.3907C14.4206%2020.8405%2014.8668%2020.3945%2015.417%2020.3945L80.1999%2020.3945C80.7504%2020.3945%2081.1966%2020.8408%2081.1966%2021.3912C81.1966%2021.9416%2080.7504%2022.3879%2080.1999%2022.3879L15.417%2022.3879C14.8664%2022.3879%2014.4201%2021.9414%2014.4204%2021.3907Z'%20fill='var(--fill-0,%20%23C9C9C9)'%20fill-opacity='0.5'/%3e%3cpath%20id='shapes'%20d='M56.2803%2035.3457L38.3398%2035.3457V32.3555L56.2803%2032.3555V35.3457ZM56.2803%2029.3652H38.3398V26.375H56.2803V29.3652Z'%20fill='var(--fill-0,%20%23C9C9C9)'%20fill-opacity='0.5'/%3e%3crect%20id='shapes_2'%20x='14.4199'%20y='13.418'%20width='30.8967'%20height='3.98667'%20rx='1'%20fill='var(--fill-0,%20%23C9C9C9)'%20fill-opacity='0.5'/%3e%3crect%20id='shapes_3'%20x='74.833'%20y='13.4902'%20width='5.98'%20height='3.93138'%20fill='var(--fill-0,%20%23EAF0F6)'/%3e%3crect%20id='Rectangle%2039983'%20x='18'%20y='37'%20width='3'%20height='15'%20fill='var(--fill-0,%20white)'/%3e%3crect%20id='Rectangle%2039995'%20x='13'%20y='37'%20width='3'%20height='15'%20fill='var(--fill-0,%20white)'/%3e%3crect%20id='Rectangle%2039984'%20x='23'%20y='37'%20width='3'%20height='15'%20fill='var(--fill-0,%20white)'/%3e%3crect%20id='Rectangle%2039985'%20x='28'%20y='37'%20width='3'%20height='15'%20fill='var(--fill-0,%20white)'/%3e%3crect%20id='Rectangle%2039986'%20x='33'%20y='37'%20width='3'%20height='15'%20fill='var(--fill-0,%20white)'/%3e%3crect%20id='Rectangle%2039987'%20x='38'%20y='37'%20width='3'%20height='15'%20fill='var(--fill-0,%20white)'/%3e%3crect%20id='Rectangle%2039988'%20x='43'%20y='37'%20width='3'%20height='15'%20fill='var(--fill-0,%20white)'/%3e%3crect%20id='Rectangle%2039989'%20x='49'%20y='37'%20width='3'%20height='15'%20fill='var(--fill-0,%20white)'/%3e%3crect%20id='Rectangle%2039990'%20x='54'%20y='37'%20width='3'%20height='15'%20fill='var(--fill-0,%20white)'/%3e%3crect%20id='Rectangle%2039991'%20x='59'%20y='37'%20width='3'%20height='15'%20fill='var(--fill-0,%20white)'/%3e%3crect%20id='Rectangle%2039992'%20x='64'%20y='37'%20width='3'%20height='15'%20fill='var(--fill-0,%20white)'/%3e%3crect%20id='Rectangle%2039993'%20x='69'%20y='37'%20width='3'%20height='15'%20fill='var(--fill-0,%20white)'/%3e%3crect%20id='Rectangle%2039994'%20x='74'%20y='37'%20width='3'%20height='15'%20fill='var(--fill-0,%20white)'/%3e%3crect%20id='Rectangle%2039996'%20x='79'%20y='37'%20width='3'%20height='15'%20fill='var(--fill-0,%20white)'/%3e%3c/g%3e%3c/svg%3e"
47
+ }
48
+ ], P = ({ manager: t }) => {
49
+ let { t: n } = e(), [r, i] = o(!1), a = () => {
50
+ i(!0), t.nextStep();
51
+ };
52
+ return /* @__PURE__ */ s(d, {
53
+ className: "IncodeAgeVerificationPage",
54
+ title: n("idv2.ageVerificationPage.ageVerification"),
55
+ titleId: "id-age-verification-heading",
56
+ subtitle: n("idv2.ageVerificationPage.weNeedToScanYourIDToKnowYourAge"),
57
+ "data-testid": "age-verification-container",
58
+ children: /* @__PURE__ */ s("div", {
59
+ class: "IncodeAgeVerificationContent",
60
+ children: [/* @__PURE__ */ s("ul", {
61
+ class: "IncodeAgeVerificationList",
62
+ "aria-labelledby": "id-age-verification-heading",
63
+ children: N.map(({ textKey: e, imageUrl: t }) => /* @__PURE__ */ s("li", {
64
+ class: "IncodeAgeVerificationItem",
65
+ children: [/* @__PURE__ */ s("div", {
66
+ class: "IncodeAgeVerificationIcon",
67
+ children: /* @__PURE__ */ s("img", {
68
+ src: t,
69
+ alt: "",
70
+ "aria-hidden": "true"
71
+ })
72
+ }), /* @__PURE__ */ s("p", {
73
+ class: "IncodeAgeVerificationText",
74
+ children: n(e)
75
+ })]
76
+ }, e))
77
+ }), /* @__PURE__ */ s(b, {
78
+ class: "IncodeAgeVerificationButton",
79
+ onClick: a,
80
+ isLoading: r,
81
+ "data-testid": "age-verification-continue-button",
82
+ children: n("idv2.ageVerificationPage.Continue")
83
+ })]
84
+ })
85
+ });
86
+ };
87
+ //#endregion
88
+ //#region src/modules/id/digitalIdUpload/useFilePreviewUrl.ts
89
+ function F(e) {
90
+ let n = r(() => e ? URL.createObjectURL(e) : null, [e]);
91
+ return t(() => () => {
92
+ n && URL.revokeObjectURL(n);
93
+ }, [n]), n;
94
+ }
95
+ //#endregion
96
+ //#region src/modules/id/digitalIdUpload/analyzingScreen.tsx
97
+ var I = ({ state: t }) => {
98
+ let { t: n } = e(), r = F(t.file), i = t.phase === "holding" ? n("idv2.digitalIdUpload.successfullyProcessed") : n("idv2.digitalIdUpload.analyzing");
99
+ return /* @__PURE__ */ s(d, {
100
+ title: i,
101
+ subtitle: n("idv2.digitalIdUpload.screenDescription"),
102
+ className: "IncodeDigitalIdUploadPage",
103
+ "data-testid": "digital-id-upload-analyzing",
104
+ children: [
105
+ /* @__PURE__ */ s("div", {
106
+ role: "status",
107
+ "aria-live": "polite",
108
+ class: "IncodeSrOnly",
109
+ children: i
110
+ }),
111
+ /* @__PURE__ */ s("div", {
112
+ class: "IncodeDigitalIdUploadPreviewBody",
113
+ "aria-busy": t.phase !== "holding",
114
+ children: [
115
+ /* @__PURE__ */ s("div", {
116
+ class: "IncodeDigitalIdUploadPreStatusZone",
117
+ children: /* @__PURE__ */ s("div", {
118
+ class: "IncodeDigitalIdUploadProgressBar",
119
+ role: "progressbar",
120
+ "aria-valuemin": 0,
121
+ "aria-valuemax": 100,
122
+ "aria-valuenow": t.uploadProgress,
123
+ "aria-label": n("idv2.digitalIdUpload.analyzing"),
124
+ children: /* @__PURE__ */ s("span", { style: { width: `${t.uploadProgress}%` } })
125
+ })
126
+ }),
127
+ /* @__PURE__ */ s("div", {
128
+ class: "IncodeDigitalIdUploadDocumentPreview",
129
+ "aria-hidden": "true",
130
+ children: [r ? /* @__PURE__ */ s(D, {
131
+ url: r,
132
+ mode: "thumbnail",
133
+ className: "IncodeDigitalIdUploadDocumentPreviewPdf"
134
+ }) : null, /* @__PURE__ */ s("div", {
135
+ class: "IncodeDigitalIdUploadLaserOverlay",
136
+ children: /* @__PURE__ */ s(w, {
137
+ animationData: re,
138
+ loop: !0
139
+ })
140
+ })]
141
+ }),
142
+ /* @__PURE__ */ s("div", {
143
+ class: "IncodeDigitalIdUploadPostCaptionZone",
144
+ "aria-hidden": "true"
145
+ })
146
+ ]
147
+ }),
148
+ /* @__PURE__ */ s("div", {
149
+ class: "IncodeDigitalIdUploadFooter",
150
+ "aria-hidden": "true"
151
+ })
152
+ ]
153
+ });
154
+ }, L = new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]), R = {
155
+ DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED: "idv2.digitalIdUpload.errorScreen.thisIdMustBeScanned",
156
+ ID_TYPE_UNACCEPTABLE: "idv2.digitalIdUpload.wrongDocumentTypeScreen.errorTitle",
157
+ FILE_CHANGED_ERROR: "idv2.digitalIdUpload.unknownDocumentTypeScreen.errorTitle",
158
+ INVALID_FILE_TYPE: "idv2.digitalIdUpload.unknownDocumentTypeScreen.errorTitle",
159
+ NETWORK_ERROR: "idv2.digitalIdUpload.unknownDocumentTypeScreen.errorTitle",
160
+ GENERIC: "idv2.digitalIdUpload.unknownDocumentTypeScreen.errorTitle"
161
+ }, z = ({ manager: t, state: n }) => {
162
+ let { t: r } = e(), i = n.failReason ?? "GENERIC", a = n.phase === "exhausted" || L.has(i), o = F(n.file);
163
+ return /* @__PURE__ */ s(d, {
164
+ title: r(R[i] ?? R.GENERIC),
165
+ subtitle: r("idv2.digitalIdUpload.errorScreen.pleaseTryScanning"),
166
+ className: "IncodeDigitalIdUploadPage",
167
+ "data-testid": "digital-id-upload-error",
168
+ children: [/* @__PURE__ */ s("div", {
169
+ class: "IncodeDigitalIdUploadBody",
170
+ role: "alert",
171
+ "aria-live": "assertive",
172
+ children: [
173
+ /* @__PURE__ */ s("div", {
174
+ class: "IncodeDigitalIdUploadErrorIcon",
175
+ "aria-hidden": "true",
176
+ children: /* @__PURE__ */ s(x, { size: 40 })
177
+ }),
178
+ o ? /* @__PURE__ */ s("div", {
179
+ class: "IncodeDigitalIdUploadErrorPreview",
180
+ children: /* @__PURE__ */ s(D, {
181
+ url: o,
182
+ mode: "thumbnail",
183
+ "aria-label": r("idv2.digitalIdUpload.errorScreen.pleaseTryScanning"),
184
+ className: "IncodeDigitalIdUploadPreviewPdf"
185
+ })
186
+ }) : null,
187
+ !a && n.attemptsRemaining > 0 ? /* @__PURE__ */ s("p", {
188
+ class: "IncodeDigitalIdUploadAttempts",
189
+ children: r("common.attemptsRemaining", { count: n.attemptsRemaining })
190
+ }) : null
191
+ ]
192
+ }), /* @__PURE__ */ s("div", {
193
+ class: "IncodeDigitalIdUploadFooter",
194
+ children: [a ? null : /* @__PURE__ */ s(b, {
195
+ onClick: () => t.digitalUploadRetry(),
196
+ children: r("common.tryAgain")
197
+ }), /* @__PURE__ */ s(b, {
198
+ variant: a ? "primary" : "secondary",
199
+ onClick: () => t.digitalUploadScanInstead(),
200
+ children: r("idv2.digitalIdUpload.errorScreen.scanId")
201
+ })]
202
+ })]
203
+ });
204
+ }, B = ({ manager: t, state: n }) => {
205
+ let { t: r } = e(), a = i(null), o = F(n.file), c = (e) => {
206
+ let n = e.currentTarget.files?.[0];
207
+ n && t.digitalUploadPickFile(n);
208
+ };
209
+ return /* @__PURE__ */ s(d, {
210
+ title: r("idv2.digitalIdUpload.reviewScreen.title"),
211
+ subtitle: r("idv2.digitalIdUpload.reviewScreen.description"),
212
+ className: "IncodeDigitalIdUploadPage",
213
+ "data-testid": "digital-id-upload-review",
214
+ children: [/* @__PURE__ */ s("div", {
215
+ class: "IncodeDigitalIdUploadPreviewBody",
216
+ children: [
217
+ /* @__PURE__ */ s("input", {
218
+ ref: a,
219
+ type: "file",
220
+ accept: "application/pdf",
221
+ onChange: c,
222
+ class: "IncodeDigitalIdUploadHiddenInput",
223
+ "aria-label": r("idv2.digitalIdUpload.reviewScreen.replaceButton")
224
+ }),
225
+ /* @__PURE__ */ s("div", {
226
+ class: "IncodeDigitalIdUploadPreStatusZone",
227
+ "aria-hidden": "true"
228
+ }),
229
+ /* @__PURE__ */ s("div", {
230
+ class: "IncodeDigitalIdUploadPreviewCard",
231
+ children: o ? /* @__PURE__ */ s(D, {
232
+ url: o,
233
+ mode: "thumbnail",
234
+ "aria-label": r("idv2.digitalIdUpload.reviewScreen.title"),
235
+ className: "IncodeDigitalIdUploadPreviewPdf"
236
+ }) : null
237
+ }),
238
+ /* @__PURE__ */ s("div", {
239
+ class: "IncodeDigitalIdUploadPostCaptionZone",
240
+ children: n.fileName ? /* @__PURE__ */ s("p", {
241
+ class: "IncodeDigitalIdUploadFileName",
242
+ children: n.fileName
243
+ }) : null
244
+ })
245
+ ]
246
+ }), /* @__PURE__ */ s("div", {
247
+ class: "IncodeDigitalIdUploadFooter",
248
+ children: [/* @__PURE__ */ s(b, {
249
+ onClick: () => t.digitalUploadConfirm(),
250
+ children: r("idv2.digitalIdUpload.reviewScreen.continue")
251
+ }), /* @__PURE__ */ s(b, {
252
+ variant: "secondary",
253
+ onClick: () => {
254
+ t.digitalUploadReplace(), a.current?.click();
255
+ },
256
+ children: r("idv2.digitalIdUpload.reviewScreen.replaceButton")
257
+ })]
258
+ })]
259
+ });
260
+ }, V = (e) => /* @__PURE__ */ s("svg", {
261
+ viewBox: "0 0 191 266",
262
+ fill: "none",
263
+ xmlns: "http://www.w3.org/2000/svg",
264
+ "aria-hidden": "true",
265
+ focusable: "false",
266
+ className: "IncodeUploadIdScreenImage",
267
+ ...e,
268
+ children: [
269
+ /* @__PURE__ */ s("title", { children: "Upload ID Screen Image" }),
270
+ /* @__PURE__ */ s("path", {
271
+ d: "M17.5 11.1724C17.5 7.21119 20.7112 4 24.6724 4H166.328C170.289 4 173.5 7.2112 173.5 11.1724V228.138C173.5 232.099 170.289 235.31 166.328 235.31H24.6724C20.7112 235.31 17.5 232.099 17.5 228.138V11.1724Z",
272
+ fill: "var(--digital-id-illustration-surface, #FFFFFF)"
273
+ }),
274
+ /* @__PURE__ */ s("rect", {
275
+ x: 17.5,
276
+ y: 16.5518,
277
+ width: 156,
278
+ height: 10.7586,
279
+ fill: "var(--digital-id-illustration-strip, #EBECEF)"
280
+ }),
281
+ /* @__PURE__ */ s("rect", {
282
+ x: 98.1895,
283
+ y: 35.3799,
284
+ width: 68.1379,
285
+ height: 83.3793,
286
+ rx: 7.17241,
287
+ fill: "var(--digital-id-illustration-photo, #F0F6FF)"
288
+ }),
289
+ /* @__PURE__ */ s("path", {
290
+ fillRule: "evenodd",
291
+ clipRule: "evenodd",
292
+ d: "M124.391 67.5897C124.391 68.725 123.469 69.6497 122.331 69.6497H114.953C113.818 69.6497 112.893 68.725 112.893 67.5897V60.2117C112.893 59.074 113.818 58.1518 114.953 58.1518H122.331C123.469 58.1518 124.391 59.074 124.391 60.2117V67.5897ZM122.331 53.3105H114.953C111.148 53.3105 108.052 56.4065 108.052 60.2117V67.5897C108.052 71.3949 111.148 74.4909 114.953 74.4909H122.331C126.136 74.4909 129.232 71.3949 129.232 67.5897V60.2117C129.232 56.4065 126.136 53.3105 122.331 53.3105Z",
293
+ fill: "var(--digital-id-illustration-accent, var(--icon-brand-500-static, #006AFF))"
294
+ }),
295
+ /* @__PURE__ */ s("path", {
296
+ fillRule: "evenodd",
297
+ clipRule: "evenodd",
298
+ d: "M118.643 61.4951C117.307 61.4951 116.223 62.5941 116.223 63.9303C116.223 65.2664 117.307 66.3509 118.643 66.3509C119.979 66.3509 121.064 65.2664 121.064 63.9303V63.9012C121.064 62.565 119.979 61.4951 118.643 61.4951Z",
299
+ fill: "var(--digital-id-illustration-accent, var(--icon-brand-500-static, #006AFF))"
300
+ }),
301
+ /* @__PURE__ */ s("path", {
302
+ fillRule: "evenodd",
303
+ clipRule: "evenodd",
304
+ d: "M118.643 88.7246C117.307 88.7246 116.223 89.8236 116.223 91.1597C116.223 92.4959 117.307 93.5804 118.643 93.5804C119.979 93.5804 121.064 92.4959 121.064 91.1597V91.1307C121.064 89.7945 119.979 88.7246 118.643 88.7246Z",
305
+ fill: "var(--digital-id-illustration-accent, var(--icon-brand-500-static, #006AFF))"
306
+ }),
307
+ /* @__PURE__ */ s("path", {
308
+ fillRule: "evenodd",
309
+ clipRule: "evenodd",
310
+ d: "M124.391 94.8222C124.391 95.9574 123.469 96.8821 122.331 96.8821H114.953C113.818 96.8821 112.893 95.9574 112.893 94.8222V87.4441C112.893 86.3064 113.818 85.3842 114.953 85.3842H122.331C123.469 85.3842 124.391 86.3064 124.391 87.4441V94.8222ZM122.331 80.543H114.953C111.148 80.543 108.052 83.6389 108.052 87.4441V94.8222C108.052 98.6274 111.148 101.723 114.953 101.723H122.331C126.136 101.723 129.232 98.6274 129.232 94.8222V87.4441C129.232 83.6389 126.136 80.543 122.331 80.543Z",
311
+ fill: "var(--digital-id-illustration-accent, var(--icon-brand-500-static, #006AFF))"
312
+ }),
313
+ /* @__PURE__ */ s("path", {
314
+ fillRule: "evenodd",
315
+ clipRule: "evenodd",
316
+ d: "M151.623 94.8222C151.623 95.9574 150.701 96.8821 149.563 96.8821H142.185C141.05 96.8821 140.125 95.9574 140.125 94.8222V87.4441C140.125 86.3064 141.05 85.3842 142.185 85.3842H149.563C150.701 85.3842 151.623 86.3064 151.623 87.4441V94.8222ZM149.563 80.543H142.185C138.38 80.543 135.284 83.6389 135.284 87.4441V94.8222C135.284 98.6274 138.38 101.723 142.185 101.723H149.563C153.369 101.723 156.465 98.6274 156.465 94.8222V87.4441C156.465 83.6389 153.369 80.543 149.563 80.543Z",
317
+ fill: "var(--digital-id-illustration-accent, var(--icon-brand-500-static, #006AFF))"
318
+ }),
319
+ /* @__PURE__ */ s("path", {
320
+ fillRule: "evenodd",
321
+ clipRule: "evenodd",
322
+ d: "M145.876 88.6826C144.54 88.6826 143.455 89.7671 143.455 91.1032V91.1299C143.455 92.466 144.54 93.5359 145.876 93.5359C147.212 93.5359 148.296 92.4394 148.296 91.1032C148.296 89.7671 147.212 88.6826 145.876 88.6826Z",
323
+ fill: "var(--digital-id-illustration-accent, var(--icon-brand-500-static, #006AFF))"
324
+ }),
325
+ /* @__PURE__ */ s("path", {
326
+ fillRule: "evenodd",
327
+ clipRule: "evenodd",
328
+ d: "M137.705 58.18C139.041 58.18 140.125 57.0955 140.125 55.7594V55.7303C140.125 54.3941 139.041 53.3242 137.705 53.3242C136.369 53.3242 135.284 54.4232 135.284 55.7594C135.284 57.0955 136.369 58.18 137.705 58.18Z",
329
+ fill: "var(--digital-id-illustration-accent, var(--icon-brand-500-static, #006AFF))"
330
+ }),
331
+ /* @__PURE__ */ s("path", {
332
+ fillRule: "evenodd",
333
+ clipRule: "evenodd",
334
+ d: "M150.487 53.3105H145.876C144.537 53.3105 143.455 54.395 143.455 55.7312C143.455 57.0673 144.537 58.1518 145.876 58.1518H150.487C151.114 58.1518 151.625 58.6625 151.625 59.2919V63.9007C151.625 65.2369 152.707 66.3213 154.045 66.3213C155.381 66.3213 156.466 65.2369 156.466 63.9007V59.2919C156.466 55.9926 153.784 53.3105 150.487 53.3105Z",
335
+ fill: "var(--digital-id-illustration-accent, var(--icon-brand-500-static, #006AFF))"
336
+ }),
337
+ /* @__PURE__ */ s("path", {
338
+ fillRule: "evenodd",
339
+ clipRule: "evenodd",
340
+ d: "M154.045 69.6514H145.876C144.54 69.6514 143.455 70.7358 143.455 72.072C143.455 73.4081 144.54 74.4925 145.876 74.4925H154.045C155.381 74.4925 156.466 73.4081 156.466 72.072C156.466 70.7358 155.381 69.6514 154.045 69.6514Z",
341
+ fill: "var(--digital-id-illustration-accent, var(--icon-brand-500-static, #006AFF))"
342
+ }),
343
+ /* @__PURE__ */ s("path", {
344
+ fillRule: "evenodd",
345
+ clipRule: "evenodd",
346
+ d: "M137.705 74.4922C139.041 74.4922 140.125 73.4078 140.125 72.0716V67.4604C140.125 66.8334 140.636 66.3227 141.266 66.3227H145.874C147.211 66.3227 148.295 65.2382 148.295 63.9021C148.295 62.5659 147.211 61.4814 145.874 61.4814H141.266C137.966 61.4814 135.284 64.1635 135.284 67.4604V72.0716C135.284 73.4078 136.369 74.4922 137.705 74.4922Z",
347
+ fill: "var(--digital-id-illustration-accent, var(--icon-brand-500-static, #006AFF))"
348
+ }),
349
+ /* @__PURE__ */ s("rect", {
350
+ x: 29.1553,
351
+ y: 134,
352
+ width: 54.6897,
353
+ height: 10.7586,
354
+ rx: 3.58621,
355
+ fill: "var(--digital-id-illustration-strip, #EBECEF)"
356
+ }),
357
+ /* @__PURE__ */ s("rect", {
358
+ x: 29.1553,
359
+ y: 152.828,
360
+ width: 54.6897,
361
+ height: 10.7586,
362
+ rx: 3.58621,
363
+ fill: "var(--digital-id-illustration-strip, #EBECEF)"
364
+ }),
365
+ /* @__PURE__ */ s("rect", {
366
+ x: 29.1553,
367
+ y: 171.655,
368
+ width: 72.6207,
369
+ height: 10.7586,
370
+ rx: 3.58621,
371
+ fill: "var(--digital-id-illustration-strip, #EBECEF)"
372
+ }),
373
+ /* @__PURE__ */ s("path", {
374
+ d: "M24.6729 4.44824H166.327C170.041 4.44824 173.052 7.45921 173.052 11.1729V228.138C173.052 231.851 170.041 234.862 166.327 234.862H24.6729C20.9592 234.862 17.9482 231.851 17.9482 228.138V11.1729C17.9482 7.45921 20.9592 4.44824 24.6729 4.44824Z",
375
+ stroke: "var(--digital-id-illustration-border, #EBECEF)",
376
+ strokeWidth: .896552
377
+ }),
378
+ /* @__PURE__ */ s("rect", {
379
+ x: 24.6729,
380
+ y: 35.8066,
381
+ width: 68.1379,
382
+ height: 82.9505,
383
+ rx: 4.93753,
384
+ fill: "var(--digital-id-illustration-photo, #F0F6FF)"
385
+ }),
386
+ /* @__PURE__ */ s("path", {
387
+ d: "M49.36 91.1735V91.2999C49.3251 93.9726 47.0753 95.9823 42.6104 97.3291C47.9904 101.237 53.3707 104.364 58.7507 104.364C64.1307 104.364 69.5111 101.237 74.8911 97.3291C70.4565 95.9808 68.2066 93.968 68.1415 91.2908C68.1415 90.2747 68.145 80.3761 68.1497 79.36C68.4704 79.4052 68.4432 79.3765 68.1497 79.295C68.1585 75.9478 68.1729 80.3294 68.1928 75.7552C68.2128 71.181 49.0493 67.0886 49.3306 79.6487C49.3344 80.9294 49.3421 89.7232 49.36 91.1735Z",
388
+ fill: "var(--digital-id-illustration-face-highlight, #E0E0E0)"
389
+ }),
390
+ /* @__PURE__ */ s("path", {
391
+ d: "M92.8103 106.416C92.8103 108.838 92.8103 111.556 92.8103 113.823C92.8103 116.55 90.5997 118.759 87.8728 118.759H29.6104C26.8835 118.759 24.6729 116.55 24.6729 113.823C24.6729 111.669 24.6729 109.075 24.6729 106.609C27.8413 100.94 46.2752 95.6817 46.2752 95.6817C47.9856 98.7716 53.0062 101.59 58.1454 101.716C63.7221 101.853 69.4385 99.0337 71.2165 95.6797C71.2165 95.6797 89.6412 100.745 92.8103 106.416Z",
392
+ fill: "var(--digital-id-illustration-accent, var(--icon-brand-500-static, #006AFF))"
393
+ }),
394
+ /* @__PURE__ */ s("path", {
395
+ d: "M49.1074 85.037C56.9841 84.2188 64.4004 87.6292 64.4004 87.6292C64.4004 87.6292 62.9302 95.3516 49.1074 93.1072V85.037Z",
396
+ fill: "var(--digital-id-illustration-face-shadow, #CDCDCD)"
397
+ }),
398
+ /* @__PURE__ */ s("path", {
399
+ d: "M42.6488 68.8767C43.699 67.1248 45.009 68.3295 45.5328 69.1509L46.2644 76.9402C46.2387 77.6181 45.8326 78.0487 44.7734 78.1827C43.4493 78.3502 42.5746 74.7442 42.2696 73.3982C41.9645 72.0521 41.336 71.0665 42.6488 68.8767Z",
400
+ fill: "var(--digital-id-illustration-mask-shadow, #D0D0D0)"
401
+ }),
402
+ /* @__PURE__ */ s("path", {
403
+ d: "M74.3552 69.3252C73.3216 67.5635 72.0003 68.7558 71.4688 69.5721L70.6635 77.3542C70.6827 78.0322 71.0848 78.4667 72.1427 78.6107C73.4651 78.7907 74.3739 75.1932 74.6917 73.8501C75.0094 72.507 75.6472 71.5273 74.3552 69.3252Z",
404
+ fill: "var(--digital-id-illustration-mask-shadow, #D0D0D0)"
405
+ }),
406
+ /* @__PURE__ */ s("path", {
407
+ d: "M73.3109 70.6918C73.3109 81.9566 65.1557 91.0886 58.7907 91.0886C51.829 91.0886 44.2705 81.9566 44.2705 70.6918C44.2705 60.6551 45.0714 49.9307 58.7907 49.9307C72.51 49.9307 73.3109 60.423 73.3109 70.6918Z",
408
+ fill: "var(--digital-id-illustration-mask, #FAFAFA)"
409
+ })
410
+ ]
411
+ }), H = ({ size: e = 191 }) => /* @__PURE__ */ s(V, {
412
+ width: e,
413
+ height: Math.round(e * 266 / 191),
414
+ "aria-hidden": !0
415
+ }), U = ({ manager: n, state: r }) => {
416
+ let { t: a } = e(), o = i(null);
417
+ t(() => {
418
+ o.current && o.current.click();
419
+ }, [r.pickerRequestId]);
420
+ let c = (e) => {
421
+ let t = e.currentTarget.files?.[0];
422
+ t && n.digitalUploadPickFile(t);
423
+ };
424
+ return /* @__PURE__ */ s(d, {
425
+ title: a("idv2.digitalIdUpload.screenTitle"),
426
+ subtitle: a("idv2.digitalIdUpload.screenDescription"),
427
+ className: "IncodeDigitalIdUploadPage",
428
+ "data-testid": "digital-id-upload-selection",
429
+ children: [/* @__PURE__ */ s("div", {
430
+ class: "IncodeDigitalIdUploadBody",
431
+ children: [/* @__PURE__ */ s("input", {
432
+ ref: o,
433
+ type: "file",
434
+ accept: "application/pdf",
435
+ onChange: c,
436
+ class: "IncodeDigitalIdUploadHiddenInput",
437
+ "aria-label": a("idv2.digitalIdUpload.digitalIdUploadButtonTitle")
438
+ }), /* @__PURE__ */ s("div", {
439
+ class: "IncodeDigitalIdUploadTutorialIllustration",
440
+ "aria-hidden": "true",
441
+ children: /* @__PURE__ */ s(H, {})
442
+ })]
443
+ }), /* @__PURE__ */ s("div", {
444
+ class: "IncodeDigitalIdUploadFooter",
445
+ children: /* @__PURE__ */ s(b, {
446
+ onClick: () => o.current?.click(),
447
+ children: a("idv2.digitalIdUpload.digitalIdUploadButtonTitle")
448
+ })
449
+ })]
450
+ });
451
+ }, ie = ({ manager: t }) => {
452
+ let { t: n } = e();
453
+ return /* @__PURE__ */ s(d, {
454
+ title: n("idv2.digitalIdUpload.fileTooLargeScreen.title"),
455
+ subtitle: n("idv2.digitalIdUpload.fileTooLargeScreen.subtitle"),
456
+ className: "IncodeDigitalIdUploadPage",
457
+ "data-testid": "digital-id-upload-file-too-large",
458
+ children: [/* @__PURE__ */ s("div", { class: "IncodeDigitalIdUploadBody" }), /* @__PURE__ */ s("div", {
459
+ class: "IncodeDigitalIdUploadFooter",
460
+ children: /* @__PURE__ */ s(b, {
461
+ onClick: () => t.digitalUploadChooseAnother(),
462
+ children: n("idv2.digitalIdUpload.fileTooLargeScreen.cta")
463
+ })
464
+ })]
465
+ });
466
+ }, W = ({ manager: t, state: n }) => {
467
+ let { t: r } = e(), i = F(n.file);
468
+ return /* @__PURE__ */ s(d, {
469
+ titleTopSlot: /* @__PURE__ */ s("div", {
470
+ class: "IncodeDigitalIdUploadSuccessIcon",
471
+ "aria-hidden": "true",
472
+ children: /* @__PURE__ */ s(C, { size: 32 })
473
+ }),
474
+ title: r("idv2.digitalIdUpload.successfullyProcessed"),
475
+ subtitle: r("idv2.digitalIdUpload.loadingSuccess.letsContinue"),
476
+ className: "IncodeDigitalIdUploadPage",
477
+ "data-testid": "digital-id-upload-success",
478
+ children: [/* @__PURE__ */ s("div", {
479
+ class: "IncodeDigitalIdUploadPreviewBody",
480
+ children: [
481
+ /* @__PURE__ */ s("div", {
482
+ class: "IncodeDigitalIdUploadPreStatusZone",
483
+ "aria-hidden": "true"
484
+ }),
485
+ /* @__PURE__ */ s("div", {
486
+ class: "IncodeDigitalIdUploadDocumentPreview",
487
+ "aria-hidden": "true",
488
+ children: i ? /* @__PURE__ */ s(D, {
489
+ url: i,
490
+ mode: "thumbnail",
491
+ className: "IncodeDigitalIdUploadDocumentPreviewPdf"
492
+ }) : null
493
+ }),
494
+ /* @__PURE__ */ s("div", {
495
+ class: "IncodeDigitalIdUploadPostCaptionZone",
496
+ "aria-hidden": "true"
497
+ })
498
+ ]
499
+ }), /* @__PURE__ */ s("div", {
500
+ class: "IncodeDigitalIdUploadFooter",
501
+ children: /* @__PURE__ */ s(b, {
502
+ onClick: () => t.digitalUploadNextStep(),
503
+ children: r("idv2.digitalIdUpload.continue")
504
+ })
505
+ })]
506
+ });
507
+ }, G = ({ manager: t }) => {
508
+ let { t: n } = e();
509
+ return /* @__PURE__ */ s(d, {
510
+ title: n("idv2.digitalIdUpload.screenTitle"),
511
+ subtitle: n("idv2.digitalIdUpload.screenDescription"),
512
+ className: "IncodeDigitalIdUploadPage",
513
+ "data-testid": "digital-id-upload-tutorial",
514
+ children: [/* @__PURE__ */ s("div", {
515
+ class: "IncodeDigitalIdUploadBody",
516
+ children: /* @__PURE__ */ s("div", {
517
+ class: "IncodeDigitalIdUploadTutorialIllustration",
518
+ "aria-hidden": "true",
519
+ children: /* @__PURE__ */ s(H, {})
520
+ })
521
+ }), /* @__PURE__ */ s("div", {
522
+ class: "IncodeDigitalIdUploadFooter",
523
+ children: /* @__PURE__ */ s(b, {
524
+ onClick: () => t.digitalUploadNextStep(),
525
+ children: n("idv2.digitalIdUpload.digitalIdUploadButtonTitle")
526
+ })
527
+ })]
528
+ });
529
+ }, K = ({ manager: e, state: t }) => t.phase === "tutorial" ? /* @__PURE__ */ s(G, { manager: e }) : t.phase === "selecting" ? /* @__PURE__ */ s(U, {
530
+ manager: e,
531
+ state: t
532
+ }) : t.phase === "reviewing" ? /* @__PURE__ */ s(B, {
533
+ manager: e,
534
+ state: t
535
+ }) : t.phase === "uploading" || t.phase === "holding" ? /* @__PURE__ */ s(I, { state: t }) : t.phase === "success" ? /* @__PURE__ */ s(W, {
536
+ manager: e,
537
+ state: t
538
+ }) : t.phase === "fileTooLarge" ? /* @__PURE__ */ s(ie, { manager: e }) : t.phase === "error" || t.phase === "exhausted" ? /* @__PURE__ */ s(z, {
539
+ manager: e,
540
+ state: t
541
+ }) : null, q = ({ icon: e, label: t, uploaded: n, uploading: r, disabled: a, testId: o, onFile: c }) => {
542
+ let l = i(null), d = a || r, f = () => {
543
+ d || l.current?.click();
544
+ }, p = (e) => {
545
+ let t = e.target, n = t.files?.[0];
546
+ n && c(n), t.value = "";
547
+ }, m = () => r ? /* @__PURE__ */ s(_, { size: "small" }) : n ? /* @__PURE__ */ s(C, { size: 40 }) : /* @__PURE__ */ s(S, {
548
+ variant: "xs",
549
+ size: 16
550
+ });
551
+ return /* @__PURE__ */ s("div", {
552
+ class: u("IncodeManualUploadSlot", n && "IncodeManualUploadSlot--uploaded", d && "IncodeManualUploadSlot--disabled"),
553
+ children: [
554
+ /* @__PURE__ */ s("div", {
555
+ class: "IncodeManualUploadSlotIcon",
556
+ "aria-hidden": "true",
557
+ children: e
558
+ }),
559
+ /* @__PURE__ */ s("div", {
560
+ class: "IncodeManualUploadSlotLabel",
561
+ children: t
562
+ }),
563
+ /* @__PURE__ */ s("button", {
564
+ type: "button",
565
+ class: "IncodeManualUploadSlotAction",
566
+ onClick: f,
567
+ disabled: d,
568
+ "aria-label": t,
569
+ "aria-busy": r || void 0,
570
+ "data-testid": o,
571
+ children: m()
572
+ }),
573
+ /* @__PURE__ */ s("input", {
574
+ ref: l,
575
+ type: "file",
576
+ accept: "image/*",
577
+ class: "IncodeManualUploadSlotInput",
578
+ onChange: p,
579
+ onInput: p,
580
+ tabIndex: -1,
581
+ "aria-hidden": "true"
582
+ })
583
+ ]
584
+ });
585
+ }, J = "IncodeManualUploadSlotIconHighlight", Y = () => /* @__PURE__ */ s("svg", {
586
+ xmlns: "http://www.w3.org/2000/svg",
587
+ width: "27",
588
+ height: "27",
589
+ viewBox: "0 0 27 27",
590
+ fill: "none",
591
+ "aria-hidden": "true",
592
+ children: [/* @__PURE__ */ s("path", {
593
+ d: "M11.4187 12.2343C11.4187 12.557 11.323 12.8724 11.1437 13.1406C10.9645 13.4089 10.7097 13.618 10.4117 13.7414C10.1136 13.8649 9.78559 13.8972 9.46916 13.8343C9.15273 13.7713 8.86207 13.6159 8.63393 13.3878C8.4058 13.1597 8.25044 12.869 8.1875 12.5526C8.12455 12.2362 8.15686 11.9082 8.28032 11.6101C8.40379 11.312 8.61287 11.0573 8.88113 10.878C9.14939 10.6988 9.46477 10.6031 9.7874 10.6031C10.22 10.6031 10.635 10.775 10.9409 11.0809C11.2468 11.3868 11.4187 11.8017 11.4187 12.2343ZM23.653 5.70934V20.3906C23.653 20.8232 23.4812 21.2381 23.1752 21.5441C22.8693 21.85 22.4544 22.0218 22.0218 22.0218H4.07803C3.64539 22.0218 3.23048 21.85 2.92456 21.5441C2.61864 21.2381 2.44678 20.8232 2.44678 20.3906V5.70934C2.44678 5.27671 2.61864 4.8618 2.92456 4.55588C3.23048 4.24996 3.64539 4.07809 4.07803 4.07809H22.0218C22.4544 4.07809 22.8693 4.24996 23.1752 4.55588C23.4812 4.8618 23.653 5.27671 23.653 5.70934ZM20.3905 14.6812C20.3905 14.4649 20.3046 14.2574 20.1516 14.1045C19.9987 13.9515 19.7912 13.8656 19.5749 13.8656H15.4968C15.2805 13.8656 15.073 13.9515 14.92 14.1045C14.7671 14.2574 14.6812 14.4649 14.6812 14.6812C14.6812 14.8975 14.7671 15.105 14.92 15.258C15.073 15.4109 15.2805 15.4968 15.4968 15.4968H19.5749C19.7912 15.4968 19.9987 15.4109 20.1516 15.258C20.3046 15.105 20.3905 14.8975 20.3905 14.6812ZM20.3905 11.4187C20.3905 11.2024 20.3046 10.9949 20.1516 10.842C19.9987 10.689 19.7912 10.6031 19.5749 10.6031H15.4968C15.2805 10.6031 15.073 10.689 14.92 10.842C14.7671 10.9949 14.6812 11.2024 14.6812 11.4187C14.6812 11.635 14.7671 11.8425 14.92 11.9955C15.073 12.1484 15.2805 12.2343 15.4968 12.2343H19.5749C19.7912 12.2343 19.9987 12.1484 20.1516 11.9955C20.3046 11.8425 20.3905 11.635 20.3905 11.4187Z",
594
+ fill: "currentColor"
595
+ }), /* @__PURE__ */ s("path", {
596
+ d: "M5.02231 16.1109C5.58996 15.3667 6.34651 14.7807 7.21692 14.4111H7.22173C6.74461 13.9847 6.41033 13.4271 6.26277 12.8114C6.11521 12.1957 6.16125 11.5507 6.39486 10.9611C6.62847 10.3715 7.03873 9.86478 7.5718 9.50748C8.10487 9.15018 8.73583 8.95898 9.3819 8.95898C10.028 8.95898 10.6589 9.15018 11.192 9.50748C11.7251 9.86478 12.1353 10.3715 12.3689 10.9611C12.6025 11.5507 12.6486 12.1957 12.501 12.8114C12.3535 13.4271 12.0192 13.9847 11.5421 14.4111C12.4125 14.7807 13.169 15.3667 13.7367 16.1109C13.8083 16.2041 13.852 16.315 13.8628 16.4311C13.8736 16.5472 13.8511 16.664 13.7979 16.7683C13.7446 16.8727 13.6627 16.9604 13.5614 17.0217C13.46 17.0829 13.3432 17.1153 13.2241 17.1152H5.53492C5.41579 17.1153 5.29898 17.0829 5.19762 17.0217C5.09626 16.9604 5.01436 16.8727 4.96111 16.7683C4.90787 16.664 4.88539 16.5472 4.8962 16.4311C4.90701 16.315 4.95068 16.2041 5.02231 16.1109Z",
597
+ fill: "white"
598
+ })]
599
+ }), ae = () => /* @__PURE__ */ s("svg", {
600
+ viewBox: "0 0 27 27",
601
+ fill: "none",
602
+ "aria-hidden": "true",
603
+ children: /* @__PURE__ */ s("path", {
604
+ d: "M22.022 4.07812C22.4545 4.07818 22.8694 4.24985 23.1753 4.55566C23.4811 4.86149 23.6527 5.27649 23.6528 5.70898V20.3906C23.6528 20.8232 23.4811 21.238 23.1753 21.5439C22.8694 21.8498 22.4545 22.0214 22.022 22.0215H4.07764C3.64514 22.0214 3.23014 21.8498 2.92432 21.5439C2.61852 21.238 2.44678 20.8232 2.44678 20.3906V5.70898C2.44688 5.27649 2.61849 4.86149 2.92432 4.55566C3.23014 4.24984 3.64514 4.07823 4.07764 4.07812H22.022ZM5.49658 17C5.28034 17.0001 5.07332 17.0863 4.92041 17.2393C4.7675 17.3922 4.6812 17.5992 4.68115 17.8154C4.68115 18.0317 4.76745 18.2396 4.92041 18.3926C5.0733 18.5453 5.28047 18.6308 5.49658 18.6309H11.9995C12.2158 18.6309 12.4237 18.5455 12.5767 18.3926C12.7296 18.2396 12.8159 18.0317 12.8159 17.8154C12.8159 17.5993 12.7295 17.3922 12.5767 17.2393C12.4237 17.0863 12.2158 17 11.9995 17H5.49658ZM5.49658 7.60352C5.28047 7.60357 5.0733 7.68907 4.92041 7.8418C4.76745 7.99476 4.68115 8.20263 4.68115 8.41895C4.68116 8.46917 4.68462 10.4372 4.69189 10.5498C4.71927 10.9728 5.05459 11.289 5.49658 11.2891H20.1841C20.5995 11.2891 20.9497 10.9654 20.981 10.5498C20.9934 10.3844 20.9995 8.48197 20.9995 8.41895C20.9995 8.20263 20.9142 7.99476 20.7612 7.8418C20.6083 7.68884 20.4004 7.60352 20.1841 7.60352H5.49658Z",
605
+ fill: "currentColor"
606
+ })
607
+ }), X = () => /* @__PURE__ */ s("svg", {
608
+ viewBox: "0 0 27 27",
609
+ fill: "none",
610
+ "aria-hidden": "true",
611
+ children: [
612
+ /* @__PURE__ */ s("path", {
613
+ d: "M14.8498 4.01579L24.7216 4.01579C25.0873 4.01579 25.4379 4.18646 25.6964 4.49026C25.955 4.79406 26.1002 5.20609 26.1002 5.63573L26.1002 21.4689C26.1002 21.8986 25.955 22.3106 25.6964 22.6144C25.4379 22.9182 25.0873 23.0889 24.7216 23.0889L14.8498 23.0889C14.4841 23.0889 14.1335 22.9182 13.875 22.6144C13.6164 22.3106 13.4712 21.8986 13.4712 21.4689L13.4712 5.63573C13.4712 5.20609 13.6164 4.79406 13.875 4.49026C14.1335 4.18646 14.4841 4.01579 14.8498 4.01579ZM21.5868 7.25567C21.404 7.25567 21.2287 7.341 21.0994 7.4929C20.9702 7.6448 20.8975 7.85082 20.8975 8.06564L20.8975 11.1224C20.8975 11.3372 20.9702 11.5433 21.0994 11.6952C21.2287 11.8471 21.404 11.9324 21.5868 11.9324C21.7696 11.9324 21.945 11.8471 22.0742 11.6952C22.2035 11.5433 22.2761 11.3372 22.2761 11.1224L22.2761 8.06564C22.2761 7.85082 22.2035 7.6448 22.0742 7.4929C21.945 7.341 21.7696 7.25567 21.5868 7.25567ZM18.8297 7.25567C18.6469 7.25567 18.4715 7.341 18.3423 7.4929C18.213 7.6448 18.1404 7.85082 18.1404 8.06564L18.1404 11.1224C18.1404 11.3372 18.213 11.5433 18.3423 11.6952C18.4715 11.8471 18.6469 11.9324 18.8297 11.9324C19.0125 11.9324 19.1878 11.8471 19.3171 11.6952C19.4463 11.5433 19.519 11.3372 19.519 11.1224L19.519 8.06564C19.519 7.85082 19.4463 7.6448 19.3171 7.4929C19.1878 7.341 19.0125 7.25567 18.8297 7.25567Z",
614
+ fill: "currentColor"
615
+ }),
616
+ /* @__PURE__ */ s("path", {
617
+ class: J,
618
+ d: "M22.1102 19.9907C21.6493 19.6096 21.2864 19.1017 21.0575 18.5174L21.0575 18.5142C20.7934 18.8345 20.448 19.0589 20.0667 19.158C19.6853 19.257 19.2859 19.2261 18.9207 19.0693C18.5555 18.9124 18.2417 18.637 18.0204 18.2792C17.7991 17.9213 17.6807 17.4977 17.6807 17.064C17.6807 16.6303 17.7991 16.2067 18.0204 15.8488C18.2417 15.491 18.5555 15.2155 18.9207 15.0587C19.2859 14.9019 19.6853 14.871 20.0667 14.97C20.448 15.0691 20.7934 15.2935 21.0575 15.6138C21.2864 15.0295 21.6493 14.5216 22.1102 14.1405C22.1679 14.0924 22.2366 14.0631 22.3086 14.0558C22.3805 14.0486 22.4528 14.0637 22.5174 14.0994C22.582 14.1352 22.6364 14.1902 22.6743 14.2582C22.7123 14.3262 22.7323 14.4047 22.7323 14.4846L22.7323 19.6466C22.7323 19.7266 22.7123 19.805 22.6743 19.873C22.6364 19.9411 22.582 19.996 22.5174 20.0318C22.4528 20.0675 22.3805 20.0826 22.3086 20.0754C22.2366 20.0681 22.1679 20.0388 22.1102 19.9907Z"
619
+ }),
620
+ /* @__PURE__ */ s("path", {
621
+ d: "M1.14809 4.01579L11.4809 4.01579C11.7854 4.01579 12.0775 4.18582 12.2928 4.48848C12.5081 4.79114 12.629 5.20164 12.629 5.62967L12.629 21.475C12.629 21.903 12.5081 22.3135 12.2928 22.6162C12.0775 22.9188 11.7854 23.0889 11.4809 23.0889L1.14809 23.0889C0.843601 23.0889 0.551578 22.9188 0.336269 22.6162C0.12096 22.3135 2.17692e-08 21.903 3.05959e-09 21.475L-7.63166e-07 5.62967C-7.81875e-07 5.20164 0.120959 4.79115 0.336268 4.48849C0.551577 4.18583 0.8436 4.01579 1.14809 4.01579Z",
622
+ fill: "currentColor"
623
+ })
624
+ ]
625
+ }), oe = {
626
+ front: {
627
+ idle: "manualIdUpload.frontId",
628
+ uploading: "manualIdUpload.uploadingFrontId",
629
+ uploaded: "manualIdUpload.frontIdUploaded"
630
+ },
631
+ back: {
632
+ idle: "manualIdUpload.backId",
633
+ uploading: "manualIdUpload.uploadingBackId",
634
+ uploaded: "manualIdUpload.backIdUploaded"
635
+ },
636
+ passport: {
637
+ idle: "manualIdUpload.passport",
638
+ uploading: "manualIdUpload.uploadingPassport",
639
+ uploaded: "manualIdUpload.passportUploaded"
640
+ }
641
+ }, Z = ({ mode: t, manager: n, state: r }) => {
642
+ let { t: i } = e(), a = (e, t, n) => {
643
+ let r = oe[e];
644
+ return i(t ? r.uploading : n ? r.uploaded : r.idle);
645
+ };
646
+ if (t === "passport") {
647
+ let e = r.uploadingSide === "passport";
648
+ return /* @__PURE__ */ s("div", {
649
+ class: "IncodeManualUploadTab",
650
+ children: /* @__PURE__ */ s(q, {
651
+ icon: /* @__PURE__ */ s(X, {}),
652
+ label: a("passport", e, r.passportUploaded),
653
+ uploaded: r.passportUploaded,
654
+ uploading: e,
655
+ testId: "manual-upload-passport",
656
+ onFile: (e) => n.manualUploadSelectFile("passport", e)
657
+ })
658
+ });
659
+ }
660
+ let o = r.uploadingSide === "front", c = r.uploadingSide === "back";
661
+ return /* @__PURE__ */ s("div", {
662
+ class: "IncodeManualUploadTab",
663
+ children: [/* @__PURE__ */ s(q, {
664
+ icon: /* @__PURE__ */ s(Y, {}),
665
+ label: a("front", o, r.frontUploaded),
666
+ uploaded: r.frontUploaded,
667
+ uploading: o,
668
+ testId: "manual-upload-front",
669
+ onFile: (e) => n.manualUploadSelectFile("front", e)
670
+ }), r.showBackSlot && /* @__PURE__ */ s(q, {
671
+ icon: /* @__PURE__ */ s(ae, {}),
672
+ label: a("back", c, r.backUploaded),
673
+ uploaded: r.backUploaded,
674
+ uploading: c,
675
+ testId: "manual-upload-back",
676
+ onFile: (e) => n.manualUploadSelectFile("back", e)
677
+ })]
678
+ });
679
+ }, se = (e) => e === "id" || e === "passport", ce = ({ manager: t, state: n }) => {
680
+ let { t: r } = e();
681
+ if (n.phase === "exhausted") return /* @__PURE__ */ s(T, {
682
+ title: r("manualIdUpload.tooManyTries"),
683
+ description: r("manualIdUpload.contactedByAdmin"),
684
+ attemptsRemaining: 0,
685
+ onButtonClick: () => t.manualUploadContinue(),
686
+ "data-testid": "manual-upload-exhausted"
687
+ });
688
+ if (n.phase === "uploading") return /* @__PURE__ */ s(_, {
689
+ fullScreen: !0,
690
+ size: "large",
691
+ title: r("manualIdUpload.holdOnASec"),
692
+ subtitle: r("idv2.manualUploadLoading.subtitle"),
693
+ className: "IncodeManualUploadLoading"
694
+ });
695
+ let i = n.showIdTab && n.showPassportTab, a = (e) => {
696
+ se(e) && t.manualUploadChangeTab(e);
697
+ }, o = n.activeTab === "passport" ? ["hintPassportReadable", "hintSharpAndGlareFree"] : ["hintIdReadable", "hintSharpAndGlareFree"];
698
+ return /* @__PURE__ */ s(d, {
699
+ title: r("manualIdUpload.title"),
700
+ subtitle: r("manualIdUpload.subtitle"),
701
+ "data-testid": "manual-upload-page",
702
+ className: "IncodeManualUploadPage",
703
+ children: [/* @__PURE__ */ s("div", {
704
+ class: "IncodeManualUploadContainer",
705
+ children: [i ? /* @__PURE__ */ s(O, {
706
+ value: n.activeTab,
707
+ onValueChange: a,
708
+ listClassName: "IncodeManualUploadTabsList",
709
+ triggerClassName: "IncodeManualUploadTabTrigger",
710
+ activeTriggerClassName: "IncodeManualUploadTabTrigger--active",
711
+ children: [
712
+ /* @__PURE__ */ s(O.List, {
713
+ label: r("manualIdUpload.tabsLabel"),
714
+ children: [/* @__PURE__ */ s(O.Trigger, {
715
+ value: "id",
716
+ children: r("manualIdUpload.id")
717
+ }), /* @__PURE__ */ s(O.Trigger, {
718
+ value: "passport",
719
+ children: r("manualIdUpload.passport")
720
+ })]
721
+ }),
722
+ /* @__PURE__ */ s(O.Content, {
723
+ value: "id",
724
+ children: /* @__PURE__ */ s(Z, {
725
+ mode: "id",
726
+ manager: t,
727
+ state: n
728
+ })
729
+ }),
730
+ /* @__PURE__ */ s(O.Content, {
731
+ value: "passport",
732
+ children: /* @__PURE__ */ s(Z, {
733
+ mode: "passport",
734
+ manager: t,
735
+ state: n
736
+ })
737
+ })
738
+ ]
739
+ }) : n.showIdTab ? /* @__PURE__ */ s(Z, {
740
+ mode: "id",
741
+ manager: t,
742
+ state: n
743
+ }) : n.showPassportTab ? /* @__PURE__ */ s(Z, {
744
+ mode: "passport",
745
+ manager: t,
746
+ state: n
747
+ }) : null, n.errorKey ? /* @__PURE__ */ s("div", {
748
+ class: "IncodeManualUploadError",
749
+ role: "alert",
750
+ "data-testid": "manual-upload-error",
751
+ children: [/* @__PURE__ */ s(x, { size: 16 }), /* @__PURE__ */ s("p", { children: r(n.errorKey) })]
752
+ }) : null]
753
+ }), /* @__PURE__ */ s("div", {
754
+ class: "IncodeManualUploadFooter",
755
+ children: [/* @__PURE__ */ s("ul", {
756
+ class: "IncodeManualUploadHintCard",
757
+ "data-testid": "manual-upload-hint-card",
758
+ children: o.map((e) => /* @__PURE__ */ s("li", { children: r(`manualIdUpload.${e}`) }, e))
759
+ }), /* @__PURE__ */ s(b, {
760
+ onClick: () => t.manualUploadContinue(),
761
+ disabled: !n.canContinue,
762
+ "data-testid": "manual-upload-continue",
763
+ children: r("manualIdUpload.continue")
764
+ })]
765
+ })]
766
+ });
767
+ }, Q = !1;
768
+ function le() {
769
+ Q || (Q = !0, import("../id-tutorial-BCr42Pnn.js"), import("../back-tutorial-1NOQobGO.js"), import("../passport-tutorial-DwRwtPVX.js"));
770
+ }
771
+ //#endregion
772
+ //#region src/modules/id/id.tsx
773
+ var ue = n(() => import("../mandatoryConsent-DssKMC3v.js").then((e) => ({ default: e.MandatoryConsent }))), de = ({ config: n, manager: r, onFinish: i, onError: o }) => {
774
+ M();
775
+ let { t: l } = e();
776
+ t(() => {
777
+ le();
778
+ }, []);
779
+ let [u, d] = c(() => {
780
+ if (r) return r;
781
+ if (!n) throw Error("ID capture config is required when no manager is provided");
782
+ return k({ config: n });
783
+ }, { manageLifecycle: !r });
784
+ return u.status === "idle" ? /* @__PURE__ */ s(v, { hideText: !0 }) : u.status === "loading" ? /* @__PURE__ */ s(v, { spinnerConfig: { subtitle: l("loadingCircle.preparingCamera") } }) : u.status === "chooser" ? /* @__PURE__ */ s(m, {
785
+ manager: d,
786
+ state: u
787
+ }) : u.status === "ageVerification" ? /* @__PURE__ */ s(P, { manager: d }) : u.status === "tutorial" ? /* @__PURE__ */ s(ee, {
788
+ manager: d,
789
+ state: u
790
+ }) : u.status === "permissions" ? /* @__PURE__ */ s(E, {
791
+ manager: d,
792
+ permissionStatus: u.permissionStatus
793
+ }) : u.status === "frontFinished" ? /* @__PURE__ */ s(g, {
794
+ manager: d,
795
+ direction: "toBack"
796
+ }) : u.status === "backFinished" ? /* @__PURE__ */ s(g, {
797
+ manager: d,
798
+ direction: "toFront"
799
+ }) : u.status === "capture" ? /* @__PURE__ */ s(p, {
800
+ manager: d,
801
+ state: u,
802
+ onFinish: () => i?.()
803
+ }) : u.status === "mandatoryConsent" ? /* @__PURE__ */ s(a, {
804
+ fallback: null,
805
+ children: /* @__PURE__ */ s(ue, {
806
+ config: { consentType: u.regulationType },
807
+ onFinish: () => d.acceptMandatoryConsent(),
808
+ onError: () => d.cancelMandatoryConsent()
809
+ })
810
+ }) : u.status === "processing" ? /* @__PURE__ */ s(y, {}) : u.status === "expired" ? /* @__PURE__ */ s(h, {
811
+ manager: d,
812
+ attemptsRemaining: u.attemptsRemaining
813
+ }) : u.status === "expiredExhausted" ? /* @__PURE__ */ s(f, { manager: d }) : u.status === "finished" ? (i?.(), null) : u.status === "closed" ? (o?.(void 0), null) : u.status === "error" ? /* @__PURE__ */ s(te, {
814
+ manager: d,
815
+ state: u,
816
+ onError: o
817
+ }) : u.status === "manualUpload" ? /* @__PURE__ */ s(ce, {
818
+ manager: d,
819
+ state: u
820
+ }) : u.status === "digitalIdUpload" ? /* @__PURE__ */ s(K, {
821
+ manager: d,
822
+ state: u
823
+ }) : null;
824
+ }, $ = ({ config: e, manager: t, onFinish: n, onError: r }) => /* @__PURE__ */ s(l, { children: e || t ? /* @__PURE__ */ s(de, {
825
+ config: e,
826
+ manager: t,
827
+ onFinish: n,
828
+ onError: r
829
+ }) : null });
830
+ ne($, "incode-id");
831
+ //#endregion
832
+ export { $ as Id };