@incodetech/web 0.0.0-dev-20260601-9fa409c7 → 0.0.0-dev-20260602-a6391d74

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 (32) hide show
  1. package/dist/authentication/authentication.es.js +1 -1
  2. package/dist/document-capture/document-capture.es.js +1 -1
  3. package/dist/documentCapture-D1gqvceX.js +2 -0
  4. package/dist/{documentCapture-CB4glVGy.js → documentCapture-iOWGqDPs.js} +2 -2
  5. package/dist/{dynamicForms-BHcxEnlf.js → dynamicForms--QABs5Et.js} +1 -1
  6. package/dist/ekyb/ekyb.es.js +1 -1
  7. package/dist/{ekybModule-D9Jz6HVg.js → ekybModule-B_llb8Bg.js} +1 -1
  8. package/dist/ekybModule-DjuMD0Od.js +2 -0
  9. package/dist/email/email.es.js +1 -1
  10. package/dist/{emailInput-BTGV9LFO.js → emailInput-LJYmDI13.js} +1 -1
  11. package/dist/{extensibility-CdQUXbfp.js → extensibility-B9GEh3sh.js} +9 -4
  12. package/dist/extensibility.es.js +2 -2
  13. package/dist/field-comparison/field-comparison.es.js +1 -1
  14. package/dist/fieldComparison-DU5SBjQC.js +2 -0
  15. package/dist/{fieldComparison-D3vsvjqB.js → fieldComparison-HxcCweJD.js} +1 -1
  16. package/dist/flow/flow.es.js +1 -1
  17. package/dist/flow/styles.css +2 -11
  18. package/dist/governmentValidation/governmentValidation.es.js +1 -1
  19. package/dist/id/id.es.js +239 -251
  20. package/dist/id/styles.css +2 -11
  21. package/dist/{idOcr-BmgJEx84.js → idOcr-Y1FQ5EHz.js} +1 -1
  22. package/dist/selfie/selfie.es.js +1 -1
  23. package/dist/signature/signature.es.js +1 -1
  24. package/dist/{tutorial-Bfx3sKrS.js → tutorial-ulk5gozo.js} +101 -112
  25. package/dist/types/extensibility.d.ts +13 -12
  26. package/dist/{useModuleLoader-Dt8aHEOG.js → useModuleLoader-C0S38FBd.js} +6 -6
  27. package/dist/workflow/styles.css +2 -11
  28. package/dist/workflow/workflow.es.js +1 -1
  29. package/package.json +2 -2
  30. package/dist/documentCapture-5i8YYcMl.js +0 -2
  31. package/dist/ekybModule-DGZRljZd.js +0 -2
  32. package/dist/fieldComparison-BzmJFXup.js +0 -2
package/dist/id/id.es.js CHANGED
@@ -1,38 +1,38 @@
1
1
  import { n as e } from "../i18n-Kzzvkz94.js";
2
- import { S as t, _ as n, c as r, d as i, h as a, l as o, o as s, p as c, v as l } from "../vendor-preact-D6SntenC.js";
3
- import { c as u, o as d } from "../hooks-vuWWj6VY.js";
4
- import { t as f } from "../incodeComponent-CxgaQt0Z.js";
5
- import { n as p } from "../loadingIcon-BN5YRQUb.js";
6
- import { t as m } from "../page-C1yT4DLb.js";
7
- import { a as h, i as g, n as _, o as ee, r as te, s as v, t as y } from "../extensibility-CdQUXbfp.js";
8
- import { t as b } from "../spinner-CKnjVHxw.js";
2
+ import { S as t, _ as n, c as r, d as i, l as a, o, p as s, v as c } from "../vendor-preact-D6SntenC.js";
3
+ import { c as l, o as u } from "../hooks-vuWWj6VY.js";
4
+ import { t as d } from "../incodeComponent-CxgaQt0Z.js";
5
+ import { n as f } from "../loadingIcon-BN5YRQUb.js";
6
+ import { t as p } from "../page-C1yT4DLb.js";
7
+ import { a as m, i as h, n as g, o as _, r as v, s as y, t as b, y as ee } from "../extensibility-B9GEh3sh.js";
8
+ import { t as x } from "../spinner-CKnjVHxw.js";
9
9
  import "../spinner-B4dcie2T.js";
10
- import { t as x } from "../transitionSpinner-Di3bOyOu.js";
11
- import { t as S } from "../processing-DPktVde2.js";
12
- import { t as C } from "../button-DcCUEn2n.js";
13
- import { t as w } from "../errorIcon-DpHzAoAo.js";
14
- import { s as ne } from "../icons-9I5g9-_1.js";
15
- import { t as T } from "../successIcon-SlKgTSty.js";
16
- import { a as re, o as ie, r as ae } from "../tutorial-Bfx3sKrS.js";
17
- import { t as E } from "../pdfViewer-rKzTHket.js";
18
- import { t as D } from "../incodeModule-BiCoAJ5k.js";
19
- import { t as O } from "../id-laser-v-CNzwliP2.js";
20
- import { t as k } from "../tabs-D7lGst3Q.js";
21
- import { createIdCaptureManager as A } from "@incodetech/core/id";
10
+ import { t as S } from "../transitionSpinner-Di3bOyOu.js";
11
+ import { t as C } from "../processing-DPktVde2.js";
12
+ import { t as w } from "../button-DcCUEn2n.js";
13
+ import { t as T } from "../errorIcon-DpHzAoAo.js";
14
+ import { s as te } from "../icons-9I5g9-_1.js";
15
+ import { t as E } from "../successIcon-SlKgTSty.js";
16
+ import { a as D, o as O, r as k } from "../tutorial-ulk5gozo.js";
17
+ import { t as A } from "../pdfViewer-rKzTHket.js";
18
+ import { t as ne } from "../incodeModule-BiCoAJ5k.js";
19
+ import { t as re } from "../id-laser-v-CNzwliP2.js";
20
+ import { t as j } from "../tabs-D7lGst3Q.js";
21
+ import { createIdCaptureManager as M } from "@incodetech/core/id";
22
22
  //#region src/shared/fonts/preloadDisplayFont.ts
23
- function j() {
23
+ function N() {
24
24
  if (typeof document > "u") return;
25
25
  let e = document.fonts;
26
26
  e?.load && e.load("800 1rem \"Rethink Sans\"").catch(() => {});
27
27
  }
28
- function M() {
28
+ function P() {
29
29
  n(() => {
30
- j();
30
+ N();
31
31
  }, []);
32
32
  }
33
33
  //#endregion
34
34
  //#region src/modules/id/ageVerification/ageVerification.tsx
35
- var N = [
35
+ var F = [
36
36
  {
37
37
  textKey: "idv2.ageVerificationPage.showYourIdAndScanIt",
38
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"
@@ -45,36 +45,36 @@ var N = [
45
45
  textKey: "idv2.ageVerificationPage.TheRestOfYourInformationWillBeDeletedToEnsureYourPrivacy",
46
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
47
  }
48
- ], P = ({ manager: t }) => {
49
- let { t: n } = e(), [r, i] = c(!1), a = () => {
48
+ ], I = ({ manager: t }) => {
49
+ let { t: n } = e(), [r, i] = s(!1), a = () => {
50
50
  i(!0), t.nextStep();
51
51
  };
52
- return /* @__PURE__ */ l(m, {
52
+ return /* @__PURE__ */ c(p, {
53
53
  className: "IncodeAgeVerificationPage",
54
54
  title: n("idv2.ageVerificationPage.ageVerification"),
55
55
  titleId: "id-age-verification-heading",
56
56
  subtitle: n("idv2.ageVerificationPage.weNeedToScanYourIDToKnowYourAge"),
57
57
  "data-testid": "age-verification-container",
58
- children: /* @__PURE__ */ l("div", {
58
+ children: /* @__PURE__ */ c("div", {
59
59
  class: "IncodeAgeVerificationContent",
60
- children: [/* @__PURE__ */ l("ul", {
60
+ children: [/* @__PURE__ */ c("ul", {
61
61
  class: "IncodeAgeVerificationList",
62
62
  "aria-labelledby": "id-age-verification-heading",
63
- children: N.map(({ textKey: e, imageUrl: t }) => /* @__PURE__ */ l("li", {
63
+ children: F.map(({ textKey: e, imageUrl: t }) => /* @__PURE__ */ c("li", {
64
64
  class: "IncodeAgeVerificationItem",
65
- children: [/* @__PURE__ */ l("div", {
65
+ children: [/* @__PURE__ */ c("div", {
66
66
  class: "IncodeAgeVerificationIcon",
67
- children: /* @__PURE__ */ l("img", {
67
+ children: /* @__PURE__ */ c("img", {
68
68
  src: t,
69
69
  alt: "",
70
70
  "aria-hidden": "true"
71
71
  })
72
- }), /* @__PURE__ */ l("p", {
72
+ }), /* @__PURE__ */ c("p", {
73
73
  class: "IncodeAgeVerificationText",
74
74
  children: n(e)
75
75
  })]
76
76
  }, e))
77
- }), /* @__PURE__ */ l(C, {
77
+ }), /* @__PURE__ */ c(w, {
78
78
  class: "IncodeAgeVerificationButton",
79
79
  onClick: a,
80
80
  isLoading: r,
@@ -86,7 +86,7 @@ var N = [
86
86
  };
87
87
  //#endregion
88
88
  //#region src/modules/id/digitalIdUpload/useFilePreviewUrl.ts
89
- function F(e) {
89
+ function L(e) {
90
90
  let t = i(() => e ? URL.createObjectURL(e) : null, [e]);
91
91
  return n(() => () => {
92
92
  t && URL.revokeObjectURL(t);
@@ -94,135 +94,123 @@ function F(e) {
94
94
  }
95
95
  //#endregion
96
96
  //#region src/modules/id/digitalIdUpload/analyzingScreen.tsx
97
- var I = 5e3, L = ({ state: t }) => {
98
- let { t: r } = e(), i = F(t.file), s = t.phase === "uploading", c = r(s ? "idv2.digitalIdUpload.analyzing" : "idv2.digitalIdUpload.successfullyProcessed"), u = o(null), d = a((e) => {
99
- u.current = e;
100
- }, []);
101
- return n(() => {
102
- let e = window.setTimeout(() => {
103
- u.current?.pause();
104
- }, I);
105
- return () => {
106
- window.clearTimeout(e);
107
- };
108
- }, []), /* @__PURE__ */ l(m, {
109
- title: c,
110
- subtitle: r("idv2.digitalIdUpload.screenDescription"),
97
+ var R = ({ state: t }) => {
98
+ let { t: n } = e(), r = L(t.file), i = t.phase === "uploading", a = n(i ? "idv2.digitalIdUpload.analyzing" : "idv2.digitalIdUpload.successfullyProcessed");
99
+ return /* @__PURE__ */ c(p, {
100
+ title: a,
101
+ titleId: "digitalIdUploadStatusTitle",
102
+ subtitle: n("idv2.digitalIdUpload.screenDescription"),
111
103
  className: "IncodeDigitalIdUploadPage",
112
104
  "data-testid": "digital-id-upload-analyzing",
113
105
  children: [
114
- /* @__PURE__ */ l("div", {
106
+ /* @__PURE__ */ c("div", {
115
107
  role: "status",
116
108
  "aria-live": "polite",
117
109
  class: "IncodeSrOnly",
118
- children: c
110
+ children: a
119
111
  }),
120
- /* @__PURE__ */ l("div", {
112
+ /* @__PURE__ */ c("div", {
121
113
  class: "IncodeDigitalIdUploadPreviewBody",
122
- "aria-busy": s,
114
+ "aria-busy": i,
123
115
  children: [
124
- /* @__PURE__ */ l("div", {
116
+ /* @__PURE__ */ c("div", {
125
117
  class: "IncodeDigitalIdUploadPreStatusZone",
126
- children: s ? /* @__PURE__ */ l("div", {
127
- class: "IncodeDigitalIdUploadProgressBar",
128
- role: "progressbar",
129
- "aria-valuemin": 0,
130
- "aria-valuemax": 100,
131
- "aria-valuenow": t.uploadProgress,
132
- "aria-label": r("idv2.digitalIdUpload.analyzing"),
133
- children: /* @__PURE__ */ l("span", { style: { width: `${t.uploadProgress}%` } })
118
+ children: i ? /* @__PURE__ */ c(ee, {
119
+ progress: t.uploadProgress,
120
+ labelledById: "digitalIdUploadStatusTitle",
121
+ className: "IncodeDigitalIdUploadProgressBar"
134
122
  }) : null
135
123
  }),
136
- /* @__PURE__ */ l("div", {
124
+ /* @__PURE__ */ c("div", {
137
125
  class: "IncodeDigitalIdUploadDocumentPreview",
138
126
  "aria-hidden": "true",
139
- children: [i ? /* @__PURE__ */ l(E, {
140
- url: i,
127
+ children: [r ? /* @__PURE__ */ c(A, {
128
+ url: r,
141
129
  mode: "thumbnail",
142
130
  className: "IncodeDigitalIdUploadDocumentPreviewPdf"
143
- }) : null, /* @__PURE__ */ l("div", {
131
+ }) : null, /* @__PURE__ */ c("div", {
144
132
  class: "IncodeDigitalIdUploadLaserOverlay",
145
- children: /* @__PURE__ */ l(re, {
146
- animationData: O,
133
+ children: /* @__PURE__ */ c(D, {
134
+ animationData: re,
147
135
  loop: !0,
148
- onControlsReady: d
136
+ autoStop: !0
149
137
  })
150
138
  })]
151
139
  }),
152
- /* @__PURE__ */ l("div", {
140
+ /* @__PURE__ */ c("div", {
153
141
  class: "IncodeDigitalIdUploadPostCaptionZone",
154
142
  "aria-hidden": "true"
155
143
  })
156
144
  ]
157
145
  }),
158
- /* @__PURE__ */ l("div", {
146
+ /* @__PURE__ */ c("div", {
159
147
  class: "IncodeDigitalIdUploadFooter",
160
148
  "aria-hidden": "true"
161
149
  })
162
150
  ]
163
151
  });
164
- }, R = new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]), z = {
152
+ }, z = new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]), B = {
165
153
  DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED: "idv2.digitalIdUpload.errorScreen.thisIdMustBeScanned",
166
154
  ID_TYPE_UNACCEPTABLE: "idv2.digitalIdUpload.wrongDocumentTypeScreen.errorTitle",
167
155
  FILE_CHANGED_ERROR: "idv2.digitalIdUpload.unknownDocumentTypeScreen.errorTitle",
168
156
  INVALID_FILE_TYPE: "idv2.digitalIdUpload.unknownDocumentTypeScreen.errorTitle",
169
157
  NETWORK_ERROR: "idv2.digitalIdUpload.unknownDocumentTypeScreen.errorTitle",
170
158
  GENERIC: "idv2.digitalIdUpload.unknownDocumentTypeScreen.errorTitle"
171
- }, B = ({ manager: t, state: n }) => {
172
- let { t: r } = e(), i = n.failReason ?? "GENERIC", a = n.phase === "exhausted" || R.has(i), o = F(n.file);
173
- return /* @__PURE__ */ l(m, {
174
- title: r(z[i] ?? z.GENERIC),
159
+ }, V = ({ manager: t, state: n }) => {
160
+ let { t: r } = e(), i = n.failReason ?? "GENERIC", a = n.phase === "exhausted" || z.has(i), o = L(n.file);
161
+ return /* @__PURE__ */ c(p, {
162
+ title: r(B[i] ?? B.GENERIC),
175
163
  subtitle: r("idv2.digitalIdUpload.errorScreen.pleaseTryScanning"),
176
164
  className: "IncodeDigitalIdUploadPage",
177
165
  "data-testid": "digital-id-upload-error",
178
- children: [/* @__PURE__ */ l("div", {
166
+ children: [/* @__PURE__ */ c("div", {
179
167
  class: "IncodeDigitalIdUploadBody",
180
168
  children: [
181
- /* @__PURE__ */ l("div", {
169
+ /* @__PURE__ */ c("div", {
182
170
  class: "IncodeDigitalIdUploadErrorIcon",
183
171
  "aria-hidden": "true",
184
- children: /* @__PURE__ */ l(w, { size: 40 })
172
+ children: /* @__PURE__ */ c(T, { size: 40 })
185
173
  }),
186
- o ? /* @__PURE__ */ l("div", {
174
+ o ? /* @__PURE__ */ c("div", {
187
175
  class: "IncodeDigitalIdUploadErrorPreview",
188
- children: /* @__PURE__ */ l(E, {
176
+ children: /* @__PURE__ */ c(A, {
189
177
  url: o,
190
178
  mode: "thumbnail",
191
179
  "aria-label": r("idv2.digitalIdUpload.errorScreen.previewAriaLabel"),
192
180
  className: "IncodeDigitalIdUploadPreviewPdf"
193
181
  })
194
182
  }) : null,
195
- !a && n.attemptsRemaining > 0 ? /* @__PURE__ */ l("p", {
183
+ !a && n.attemptsRemaining > 0 ? /* @__PURE__ */ c("p", {
196
184
  class: "IncodeDigitalIdUploadAttempts",
197
185
  children: r("common.attemptsRemaining", { count: n.attemptsRemaining })
198
186
  }) : null
199
187
  ]
200
- }), /* @__PURE__ */ l("div", {
188
+ }), /* @__PURE__ */ c("div", {
201
189
  class: "IncodeDigitalIdUploadFooter",
202
- children: [a ? null : /* @__PURE__ */ l(C, {
190
+ children: [a ? null : /* @__PURE__ */ c(w, {
203
191
  onClick: () => t.digitalUploadRetry(),
204
192
  children: r("common.tryAgain")
205
- }), /* @__PURE__ */ l(C, {
193
+ }), /* @__PURE__ */ c(w, {
206
194
  variant: a ? "primary" : "secondary",
207
195
  onClick: () => t.digitalUploadScanInstead(),
208
196
  children: r("idv2.digitalIdUpload.errorScreen.scanId")
209
197
  })]
210
198
  })]
211
199
  });
212
- }, V = ({ manager: t, state: n }) => {
213
- let { t: r } = e(), i = o(null), a = F(n.file), s = (e) => {
200
+ }, H = ({ manager: t, state: n }) => {
201
+ let { t: r } = e(), i = a(null), o = L(n.file), s = (e) => {
214
202
  let n = e.currentTarget.files?.[0];
215
203
  n && t.digitalUploadPickFile(n);
216
204
  };
217
- return /* @__PURE__ */ l(m, {
205
+ return /* @__PURE__ */ c(p, {
218
206
  title: r("idv2.digitalIdUpload.reviewScreen.title"),
219
207
  subtitle: r("idv2.digitalIdUpload.reviewScreen.description"),
220
208
  className: "IncodeDigitalIdUploadPage",
221
209
  "data-testid": "digital-id-upload-review",
222
- children: [/* @__PURE__ */ l("div", {
210
+ children: [/* @__PURE__ */ c("div", {
223
211
  class: "IncodeDigitalIdUploadPreviewBody",
224
212
  children: [
225
- /* @__PURE__ */ l("input", {
213
+ /* @__PURE__ */ c("input", {
226
214
  ref: i,
227
215
  type: "file",
228
216
  accept: "application/pdf",
@@ -231,33 +219,33 @@ var I = 5e3, L = ({ state: t }) => {
231
219
  tabIndex: -1,
232
220
  "aria-hidden": "true"
233
221
  }),
234
- /* @__PURE__ */ l("div", {
222
+ /* @__PURE__ */ c("div", {
235
223
  class: "IncodeDigitalIdUploadPreStatusZone",
236
224
  "aria-hidden": "true"
237
225
  }),
238
- /* @__PURE__ */ l("div", {
226
+ /* @__PURE__ */ c("div", {
239
227
  class: "IncodeDigitalIdUploadPreviewCard",
240
- children: a ? /* @__PURE__ */ l(E, {
241
- url: a,
228
+ children: o ? /* @__PURE__ */ c(A, {
229
+ url: o,
242
230
  mode: "thumbnail",
243
231
  "aria-label": r("idv2.digitalIdUpload.reviewScreen.previewAriaLabel"),
244
232
  className: "IncodeDigitalIdUploadPreviewPdf"
245
233
  }) : null
246
234
  }),
247
- /* @__PURE__ */ l("div", {
235
+ /* @__PURE__ */ c("div", {
248
236
  class: "IncodeDigitalIdUploadPostCaptionZone",
249
- children: n.fileName ? /* @__PURE__ */ l("p", {
237
+ children: n.fileName ? /* @__PURE__ */ c("p", {
250
238
  class: "IncodeDigitalIdUploadFileName",
251
239
  children: n.fileName
252
240
  }) : null
253
241
  })
254
242
  ]
255
- }), /* @__PURE__ */ l("div", {
243
+ }), /* @__PURE__ */ c("div", {
256
244
  class: "IncodeDigitalIdUploadFooter",
257
- children: [/* @__PURE__ */ l(C, {
245
+ children: [/* @__PURE__ */ c(w, {
258
246
  onClick: () => t.digitalUploadConfirm(),
259
247
  children: r("idv2.digitalIdUpload.reviewScreen.continue")
260
- }), /* @__PURE__ */ l(C, {
248
+ }), /* @__PURE__ */ c(w, {
261
249
  variant: "secondary",
262
250
  "aria-haspopup": "dialog",
263
251
  onClick: () => {
@@ -267,7 +255,7 @@ var I = 5e3, L = ({ state: t }) => {
267
255
  })]
268
256
  })]
269
257
  });
270
- }, H = (e) => /* @__PURE__ */ l("svg", {
258
+ }, U = (e) => /* @__PURE__ */ c("svg", {
271
259
  viewBox: "0 0 191 266",
272
260
  fill: "none",
273
261
  xmlns: "http://www.w3.org/2000/svg",
@@ -276,19 +264,19 @@ var I = 5e3, L = ({ state: t }) => {
276
264
  className: "IncodeUploadIdScreenImage",
277
265
  ...e,
278
266
  children: [
279
- /* @__PURE__ */ l("title", { children: "Upload ID Screen Image" }),
280
- /* @__PURE__ */ l("path", {
267
+ /* @__PURE__ */ c("title", { children: "Upload ID Screen Image" }),
268
+ /* @__PURE__ */ c("path", {
281
269
  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",
282
270
  fill: "var(--digital-id-illustration-surface, #FFFFFF)"
283
271
  }),
284
- /* @__PURE__ */ l("rect", {
272
+ /* @__PURE__ */ c("rect", {
285
273
  x: 17.5,
286
274
  y: 16.5518,
287
275
  width: 156,
288
276
  height: 10.7586,
289
277
  fill: "var(--digital-id-illustration-strip, #EBECEF)"
290
278
  }),
291
- /* @__PURE__ */ l("rect", {
279
+ /* @__PURE__ */ c("rect", {
292
280
  x: 98.1895,
293
281
  y: 35.3799,
294
282
  width: 68.1379,
@@ -296,67 +284,67 @@ var I = 5e3, L = ({ state: t }) => {
296
284
  rx: 7.17241,
297
285
  fill: "var(--digital-id-illustration-photo, #F0F6FF)"
298
286
  }),
299
- /* @__PURE__ */ l("path", {
287
+ /* @__PURE__ */ c("path", {
300
288
  fillRule: "evenodd",
301
289
  clipRule: "evenodd",
302
290
  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",
303
291
  fill: "var(--digital-id-illustration-accent, var(--icon-brand-500-static, #006AFF))"
304
292
  }),
305
- /* @__PURE__ */ l("path", {
293
+ /* @__PURE__ */ c("path", {
306
294
  fillRule: "evenodd",
307
295
  clipRule: "evenodd",
308
296
  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",
309
297
  fill: "var(--digital-id-illustration-accent, var(--icon-brand-500-static, #006AFF))"
310
298
  }),
311
- /* @__PURE__ */ l("path", {
299
+ /* @__PURE__ */ c("path", {
312
300
  fillRule: "evenodd",
313
301
  clipRule: "evenodd",
314
302
  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",
315
303
  fill: "var(--digital-id-illustration-accent, var(--icon-brand-500-static, #006AFF))"
316
304
  }),
317
- /* @__PURE__ */ l("path", {
305
+ /* @__PURE__ */ c("path", {
318
306
  fillRule: "evenodd",
319
307
  clipRule: "evenodd",
320
308
  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",
321
309
  fill: "var(--digital-id-illustration-accent, var(--icon-brand-500-static, #006AFF))"
322
310
  }),
323
- /* @__PURE__ */ l("path", {
311
+ /* @__PURE__ */ c("path", {
324
312
  fillRule: "evenodd",
325
313
  clipRule: "evenodd",
326
314
  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",
327
315
  fill: "var(--digital-id-illustration-accent, var(--icon-brand-500-static, #006AFF))"
328
316
  }),
329
- /* @__PURE__ */ l("path", {
317
+ /* @__PURE__ */ c("path", {
330
318
  fillRule: "evenodd",
331
319
  clipRule: "evenodd",
332
320
  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",
333
321
  fill: "var(--digital-id-illustration-accent, var(--icon-brand-500-static, #006AFF))"
334
322
  }),
335
- /* @__PURE__ */ l("path", {
323
+ /* @__PURE__ */ c("path", {
336
324
  fillRule: "evenodd",
337
325
  clipRule: "evenodd",
338
326
  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",
339
327
  fill: "var(--digital-id-illustration-accent, var(--icon-brand-500-static, #006AFF))"
340
328
  }),
341
- /* @__PURE__ */ l("path", {
329
+ /* @__PURE__ */ c("path", {
342
330
  fillRule: "evenodd",
343
331
  clipRule: "evenodd",
344
332
  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",
345
333
  fill: "var(--digital-id-illustration-accent, var(--icon-brand-500-static, #006AFF))"
346
334
  }),
347
- /* @__PURE__ */ l("path", {
335
+ /* @__PURE__ */ c("path", {
348
336
  fillRule: "evenodd",
349
337
  clipRule: "evenodd",
350
338
  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",
351
339
  fill: "var(--digital-id-illustration-accent, var(--icon-brand-500-static, #006AFF))"
352
340
  }),
353
- /* @__PURE__ */ l("path", {
341
+ /* @__PURE__ */ c("path", {
354
342
  fillRule: "evenodd",
355
343
  clipRule: "evenodd",
356
344
  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",
357
345
  fill: "var(--digital-id-illustration-accent, var(--icon-brand-500-static, #006AFF))"
358
346
  }),
359
- /* @__PURE__ */ l("rect", {
347
+ /* @__PURE__ */ c("rect", {
360
348
  x: 29.1553,
361
349
  y: 134,
362
350
  width: 54.6897,
@@ -364,7 +352,7 @@ var I = 5e3, L = ({ state: t }) => {
364
352
  rx: 3.58621,
365
353
  fill: "var(--digital-id-illustration-strip, #EBECEF)"
366
354
  }),
367
- /* @__PURE__ */ l("rect", {
355
+ /* @__PURE__ */ c("rect", {
368
356
  x: 29.1553,
369
357
  y: 152.828,
370
358
  width: 54.6897,
@@ -372,7 +360,7 @@ var I = 5e3, L = ({ state: t }) => {
372
360
  rx: 3.58621,
373
361
  fill: "var(--digital-id-illustration-strip, #EBECEF)"
374
362
  }),
375
- /* @__PURE__ */ l("rect", {
363
+ /* @__PURE__ */ c("rect", {
376
364
  x: 29.1553,
377
365
  y: 171.655,
378
366
  width: 72.6207,
@@ -380,12 +368,12 @@ var I = 5e3, L = ({ state: t }) => {
380
368
  rx: 3.58621,
381
369
  fill: "var(--digital-id-illustration-strip, #EBECEF)"
382
370
  }),
383
- /* @__PURE__ */ l("path", {
371
+ /* @__PURE__ */ c("path", {
384
372
  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",
385
373
  stroke: "var(--digital-id-illustration-border, #EBECEF)",
386
374
  strokeWidth: .896552
387
375
  }),
388
- /* @__PURE__ */ l("rect", {
376
+ /* @__PURE__ */ c("rect", {
389
377
  x: 24.6729,
390
378
  y: 35.8066,
391
379
  width: 68.1379,
@@ -393,124 +381,124 @@ var I = 5e3, L = ({ state: t }) => {
393
381
  rx: 4.93753,
394
382
  fill: "var(--digital-id-illustration-photo, #F0F6FF)"
395
383
  }),
396
- /* @__PURE__ */ l("path", {
384
+ /* @__PURE__ */ c("path", {
397
385
  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",
398
386
  fill: "var(--digital-id-illustration-face-highlight, #E0E0E0)"
399
387
  }),
400
- /* @__PURE__ */ l("path", {
388
+ /* @__PURE__ */ c("path", {
401
389
  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",
402
390
  fill: "var(--digital-id-illustration-accent, var(--icon-brand-500-static, #006AFF))"
403
391
  }),
404
- /* @__PURE__ */ l("path", {
392
+ /* @__PURE__ */ c("path", {
405
393
  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",
406
394
  fill: "var(--digital-id-illustration-face-shadow, #CDCDCD)"
407
395
  }),
408
- /* @__PURE__ */ l("path", {
396
+ /* @__PURE__ */ c("path", {
409
397
  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",
410
398
  fill: "var(--digital-id-illustration-mask-shadow, #D0D0D0)"
411
399
  }),
412
- /* @__PURE__ */ l("path", {
400
+ /* @__PURE__ */ c("path", {
413
401
  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",
414
402
  fill: "var(--digital-id-illustration-mask-shadow, #D0D0D0)"
415
403
  }),
416
- /* @__PURE__ */ l("path", {
404
+ /* @__PURE__ */ c("path", {
417
405
  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",
418
406
  fill: "var(--digital-id-illustration-mask, #FAFAFA)"
419
407
  })
420
408
  ]
421
- }), U = ({ size: e = 191 }) => /* @__PURE__ */ l(H, {
409
+ }), W = ({ size: e = 191 }) => /* @__PURE__ */ c(U, {
422
410
  width: e,
423
411
  height: Math.round(e * 266 / 191),
424
412
  "aria-hidden": !0
425
- }), W = ({ manager: t, state: r }) => {
426
- let { t: i } = e(), a = o(null);
413
+ }), G = ({ manager: t, state: r }) => {
414
+ let { t: i } = e(), o = a(null);
427
415
  n(() => {
428
- a.current && a.current.click();
416
+ o.current && o.current.click();
429
417
  }, [r.pickerRequestId]);
430
418
  let s = (e) => {
431
419
  let n = e.currentTarget.files?.[0];
432
420
  n && t.digitalUploadPickFile(n);
433
421
  };
434
- return /* @__PURE__ */ l(m, {
422
+ return /* @__PURE__ */ c(p, {
435
423
  title: i("idv2.digitalIdUpload.screenTitle"),
436
424
  subtitle: i("idv2.digitalIdUpload.screenDescription"),
437
425
  className: "IncodeDigitalIdUploadPage",
438
426
  "data-testid": "digital-id-upload-selection",
439
- children: [/* @__PURE__ */ l("div", {
427
+ children: [/* @__PURE__ */ c("div", {
440
428
  class: "IncodeDigitalIdUploadBody",
441
- children: [/* @__PURE__ */ l("input", {
442
- ref: a,
429
+ children: [/* @__PURE__ */ c("input", {
430
+ ref: o,
443
431
  type: "file",
444
432
  accept: "application/pdf",
445
433
  onChange: s,
446
434
  class: "IncodeDigitalIdUploadHiddenInput",
447
435
  tabIndex: -1,
448
436
  "aria-hidden": "true"
449
- }), /* @__PURE__ */ l("div", {
437
+ }), /* @__PURE__ */ c("div", {
450
438
  class: "IncodeDigitalIdUploadTutorialIllustration",
451
439
  "aria-hidden": "true",
452
- children: /* @__PURE__ */ l(U, {})
440
+ children: /* @__PURE__ */ c(W, {})
453
441
  })]
454
- }), /* @__PURE__ */ l("div", {
442
+ }), /* @__PURE__ */ c("div", {
455
443
  class: "IncodeDigitalIdUploadFooter",
456
- children: /* @__PURE__ */ l(C, {
457
- onClick: () => a.current?.click(),
444
+ children: /* @__PURE__ */ c(w, {
445
+ onClick: () => o.current?.click(),
458
446
  "aria-haspopup": "dialog",
459
447
  children: i("idv2.digitalIdUpload.digitalIdUploadButtonTitle")
460
448
  })
461
449
  })]
462
450
  });
463
- }, G = ({ manager: t }) => {
451
+ }, ie = ({ manager: t }) => {
464
452
  let { t: n } = e();
465
- return /* @__PURE__ */ l(m, {
453
+ return /* @__PURE__ */ c(p, {
466
454
  title: n("idv2.digitalIdUpload.fileTooLargeScreen.title"),
467
455
  subtitle: n("idv2.digitalIdUpload.fileTooLargeScreen.subtitle"),
468
456
  className: "IncodeDigitalIdUploadPage",
469
457
  "data-testid": "digital-id-upload-file-too-large",
470
- children: [/* @__PURE__ */ l("div", { class: "IncodeDigitalIdUploadBody" }), /* @__PURE__ */ l("div", {
458
+ children: [/* @__PURE__ */ c("div", { class: "IncodeDigitalIdUploadBody" }), /* @__PURE__ */ c("div", {
471
459
  class: "IncodeDigitalIdUploadFooter",
472
- children: /* @__PURE__ */ l(C, {
460
+ children: /* @__PURE__ */ c(w, {
473
461
  onClick: () => t.digitalUploadChooseAnother(),
474
462
  children: n("idv2.digitalIdUpload.fileTooLargeScreen.cta")
475
463
  })
476
464
  })]
477
465
  });
478
466
  }, K = ({ manager: t, state: n }) => {
479
- let { t: r } = e(), i = F(n.file);
480
- return /* @__PURE__ */ l(m, {
481
- titleTopSlot: /* @__PURE__ */ l("div", {
467
+ let { t: r } = e(), i = L(n.file);
468
+ return /* @__PURE__ */ c(p, {
469
+ titleTopSlot: /* @__PURE__ */ c("div", {
482
470
  class: "IncodeDigitalIdUploadSuccessIcon",
483
471
  "aria-hidden": "true",
484
- children: /* @__PURE__ */ l(T, { size: 32 })
472
+ children: /* @__PURE__ */ c(E, { size: 32 })
485
473
  }),
486
474
  title: r("idv2.digitalIdUpload.successfullyProcessed"),
487
475
  subtitle: r("idv2.digitalIdUpload.loadingSuccess.letsContinue"),
488
476
  className: "IncodeDigitalIdUploadPage",
489
477
  "data-testid": "digital-id-upload-success",
490
- children: [/* @__PURE__ */ l("div", {
478
+ children: [/* @__PURE__ */ c("div", {
491
479
  class: "IncodeDigitalIdUploadPreviewBody",
492
480
  children: [
493
- /* @__PURE__ */ l("div", {
481
+ /* @__PURE__ */ c("div", {
494
482
  class: "IncodeDigitalIdUploadPreStatusZone",
495
483
  "aria-hidden": "true"
496
484
  }),
497
- /* @__PURE__ */ l("div", {
485
+ /* @__PURE__ */ c("div", {
498
486
  class: "IncodeDigitalIdUploadDocumentPreview",
499
487
  "aria-hidden": "true",
500
- children: i ? /* @__PURE__ */ l(E, {
488
+ children: i ? /* @__PURE__ */ c(A, {
501
489
  url: i,
502
490
  mode: "thumbnail",
503
491
  className: "IncodeDigitalIdUploadDocumentPreviewPdf"
504
492
  }) : null
505
493
  }),
506
- /* @__PURE__ */ l("div", {
494
+ /* @__PURE__ */ c("div", {
507
495
  class: "IncodeDigitalIdUploadPostCaptionZone",
508
496
  "aria-hidden": "true"
509
497
  })
510
498
  ]
511
- }), /* @__PURE__ */ l("div", {
499
+ }), /* @__PURE__ */ c("div", {
512
500
  class: "IncodeDigitalIdUploadFooter",
513
- children: /* @__PURE__ */ l(C, {
501
+ children: /* @__PURE__ */ c(w, {
514
502
  onClick: () => t.digitalUploadNextStep(),
515
503
  children: r("idv2.digitalIdUpload.continue")
516
504
  })
@@ -518,76 +506,76 @@ var I = 5e3, L = ({ state: t }) => {
518
506
  });
519
507
  }, q = ({ manager: t }) => {
520
508
  let { t: n } = e();
521
- return /* @__PURE__ */ l(m, {
509
+ return /* @__PURE__ */ c(p, {
522
510
  title: n("idv2.digitalIdUpload.screenTitle"),
523
511
  subtitle: n("idv2.digitalIdUpload.screenDescription"),
524
512
  className: "IncodeDigitalIdUploadPage",
525
513
  "data-testid": "digital-id-upload-tutorial",
526
- children: [/* @__PURE__ */ l("div", {
514
+ children: [/* @__PURE__ */ c("div", {
527
515
  class: "IncodeDigitalIdUploadBody",
528
- children: /* @__PURE__ */ l("div", {
516
+ children: /* @__PURE__ */ c("div", {
529
517
  class: "IncodeDigitalIdUploadTutorialIllustration",
530
518
  "aria-hidden": "true",
531
- children: /* @__PURE__ */ l(U, {})
519
+ children: /* @__PURE__ */ c(W, {})
532
520
  })
533
- }), /* @__PURE__ */ l("div", {
521
+ }), /* @__PURE__ */ c("div", {
534
522
  class: "IncodeDigitalIdUploadFooter",
535
- children: /* @__PURE__ */ l(C, {
523
+ children: /* @__PURE__ */ c(w, {
536
524
  onClick: () => t.digitalUploadNextStep(),
537
525
  children: n("idv2.digitalIdUpload.digitalIdUploadButtonTitle")
538
526
  })
539
527
  })]
540
528
  });
541
- }, J = ({ manager: e, state: t }) => t.phase === "tutorial" ? /* @__PURE__ */ l(q, { manager: e }) : t.phase === "selecting" ? /* @__PURE__ */ l(W, {
529
+ }, J = ({ manager: e, state: t }) => t.phase === "tutorial" ? /* @__PURE__ */ c(q, { manager: e }) : t.phase === "selecting" ? /* @__PURE__ */ c(G, {
542
530
  manager: e,
543
531
  state: t
544
- }) : t.phase === "reviewing" ? /* @__PURE__ */ l(V, {
532
+ }) : t.phase === "reviewing" ? /* @__PURE__ */ c(H, {
545
533
  manager: e,
546
534
  state: t
547
- }) : t.phase === "uploading" || t.phase === "holding" ? /* @__PURE__ */ l(L, { state: t }) : t.phase === "success" ? /* @__PURE__ */ l(K, {
535
+ }) : t.phase === "uploading" || t.phase === "holding" ? /* @__PURE__ */ c(R, { state: t }) : t.phase === "success" ? /* @__PURE__ */ c(K, {
548
536
  manager: e,
549
537
  state: t
550
- }) : t.phase === "fileTooLarge" ? /* @__PURE__ */ l(G, { manager: e }) : t.phase === "error" || t.phase === "exhausted" ? /* @__PURE__ */ l(B, {
538
+ }) : t.phase === "fileTooLarge" ? /* @__PURE__ */ c(ie, { manager: e }) : t.phase === "error" || t.phase === "exhausted" ? /* @__PURE__ */ c(V, {
551
539
  manager: e,
552
540
  state: t
553
- }) : null, Y = ({ icon: e, label: n, uploaded: r, uploading: i, disabled: a, invalid: s, describedById: c, testId: u, onFile: d }) => {
554
- let f = o(null), m = a || i, h = () => {
555
- m || f.current?.click();
541
+ }) : null, Y = ({ icon: e, label: n, uploaded: r, uploading: i, disabled: o, invalid: s, describedById: l, testId: u, onFile: d }) => {
542
+ let p = a(null), m = o || i, h = () => {
543
+ m || p.current?.click();
556
544
  }, g = (e) => {
557
545
  let t = e.target, n = t.files?.[0];
558
546
  n && d(n), t.value = "";
559
- }, _ = () => i ? /* @__PURE__ */ l(b, { size: "small" }) : r ? /* @__PURE__ */ l(T, { size: 40 }) : /* @__PURE__ */ l(ne, {
547
+ }, _ = () => i ? /* @__PURE__ */ c(x, { size: "small" }) : r ? /* @__PURE__ */ c(E, { size: 40 }) : /* @__PURE__ */ c(te, {
560
548
  variant: "xs",
561
549
  size: 16
562
550
  });
563
- return /* @__PURE__ */ l(t, { children: [/* @__PURE__ */ l("button", {
551
+ return /* @__PURE__ */ c(t, { children: [/* @__PURE__ */ c("button", {
564
552
  type: "button",
565
- class: p("IncodeManualUploadSlot", r && "IncodeManualUploadSlot--uploaded"),
553
+ class: f("IncodeManualUploadSlot", r && "IncodeManualUploadSlot--uploaded"),
566
554
  onClick: h,
567
555
  disabled: m,
568
556
  "aria-label": n,
569
557
  "aria-busy": i || void 0,
570
558
  "aria-invalid": s || void 0,
571
- "aria-describedby": c,
559
+ "aria-describedby": l,
572
560
  "data-testid": u,
573
561
  children: [
574
- /* @__PURE__ */ l("div", {
562
+ /* @__PURE__ */ c("div", {
575
563
  class: "IncodeManualUploadSlotIcon",
576
564
  "aria-hidden": "true",
577
565
  children: e
578
566
  }),
579
- /* @__PURE__ */ l("div", {
567
+ /* @__PURE__ */ c("div", {
580
568
  class: "IncodeManualUploadSlotLabel",
581
569
  children: n
582
570
  }),
583
- /* @__PURE__ */ l("div", {
571
+ /* @__PURE__ */ c("div", {
584
572
  class: "IncodeManualUploadSlotAction",
585
573
  "aria-hidden": "true",
586
574
  children: _()
587
575
  })
588
576
  ]
589
- }), /* @__PURE__ */ l("input", {
590
- ref: f,
577
+ }), /* @__PURE__ */ c("input", {
578
+ ref: p,
591
579
  type: "file",
592
580
  accept: "image/*",
593
581
  class: "IncodeManualUploadSlotInput",
@@ -596,47 +584,47 @@ var I = 5e3, L = ({ state: t }) => {
596
584
  tabIndex: -1,
597
585
  "aria-hidden": "true"
598
586
  })] });
599
- }, oe = "IncodeManualUploadSlotIconHighlight", se = () => /* @__PURE__ */ l("svg", {
587
+ }, ae = "IncodeManualUploadSlotIconHighlight", oe = () => /* @__PURE__ */ c("svg", {
600
588
  xmlns: "http://www.w3.org/2000/svg",
601
589
  width: "27",
602
590
  height: "27",
603
591
  viewBox: "0 0 27 27",
604
592
  fill: "none",
605
593
  "aria-hidden": "true",
606
- children: [/* @__PURE__ */ l("path", {
594
+ children: [/* @__PURE__ */ c("path", {
607
595
  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",
608
596
  fill: "currentColor"
609
- }), /* @__PURE__ */ l("path", {
597
+ }), /* @__PURE__ */ c("path", {
610
598
  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",
611
599
  fill: "white"
612
600
  })]
613
- }), ce = () => /* @__PURE__ */ l("svg", {
601
+ }), se = () => /* @__PURE__ */ c("svg", {
614
602
  viewBox: "0 0 27 27",
615
603
  fill: "none",
616
604
  "aria-hidden": "true",
617
- children: /* @__PURE__ */ l("path", {
605
+ children: /* @__PURE__ */ c("path", {
618
606
  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",
619
607
  fill: "currentColor"
620
608
  })
621
- }), le = () => /* @__PURE__ */ l("svg", {
609
+ }), X = () => /* @__PURE__ */ c("svg", {
622
610
  viewBox: "0 0 27 27",
623
611
  fill: "none",
624
612
  "aria-hidden": "true",
625
613
  children: [
626
- /* @__PURE__ */ l("path", {
614
+ /* @__PURE__ */ c("path", {
627
615
  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",
628
616
  fill: "currentColor"
629
617
  }),
630
- /* @__PURE__ */ l("path", {
631
- class: oe,
618
+ /* @__PURE__ */ c("path", {
619
+ class: ae,
632
620
  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"
633
621
  }),
634
- /* @__PURE__ */ l("path", {
622
+ /* @__PURE__ */ c("path", {
635
623
  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",
636
624
  fill: "currentColor"
637
625
  })
638
626
  ]
639
- }), X = {
627
+ }), ce = {
640
628
  front: {
641
629
  idle: "manualIdUpload.frontId",
642
630
  uploading: "manualIdUpload.uploadingFrontId",
@@ -654,7 +642,7 @@ var I = 5e3, L = ({ state: t }) => {
654
642
  }
655
643
  }, Z = ({ mode: t, manager: n, state: r, errorMessageId: i }) => {
656
644
  let { t: a } = e(), o = (e, t, n) => {
657
- let r = X[e];
645
+ let r = ce[e];
658
646
  return a(t ? r.uploading : n ? r.uploaded : r.idle);
659
647
  }, s = (e) => r.errorSide === e ? {
660
648
  invalid: !0,
@@ -662,10 +650,10 @@ var I = 5e3, L = ({ state: t }) => {
662
650
  } : {};
663
651
  if (t === "passport") {
664
652
  let e = r.uploadingSide === "passport";
665
- return /* @__PURE__ */ l("div", {
653
+ return /* @__PURE__ */ c("div", {
666
654
  class: "IncodeManualUploadTab",
667
- children: /* @__PURE__ */ l(Y, {
668
- icon: /* @__PURE__ */ l(le, {}),
655
+ children: /* @__PURE__ */ c(Y, {
656
+ icon: /* @__PURE__ */ c(X, {}),
669
657
  label: o("passport", e, r.passportUploaded),
670
658
  uploaded: r.passportUploaded,
671
659
  uploading: e,
@@ -675,19 +663,19 @@ var I = 5e3, L = ({ state: t }) => {
675
663
  })
676
664
  });
677
665
  }
678
- let c = r.uploadingSide === "front", u = r.uploadingSide === "back";
679
- return /* @__PURE__ */ l("div", {
666
+ let l = r.uploadingSide === "front", u = r.uploadingSide === "back";
667
+ return /* @__PURE__ */ c("div", {
680
668
  class: "IncodeManualUploadTab",
681
- children: [/* @__PURE__ */ l(Y, {
682
- icon: /* @__PURE__ */ l(se, {}),
683
- label: o("front", c, r.frontUploaded),
669
+ children: [/* @__PURE__ */ c(Y, {
670
+ icon: /* @__PURE__ */ c(oe, {}),
671
+ label: o("front", l, r.frontUploaded),
684
672
  uploaded: r.frontUploaded,
685
- uploading: c,
673
+ uploading: l,
686
674
  testId: "manual-upload-front",
687
675
  onFile: (e) => n.manualUploadSelectFile("front", e),
688
676
  ...s("front")
689
- }), r.showBackSlot && /* @__PURE__ */ l(Y, {
690
- icon: /* @__PURE__ */ l(ce, {}),
677
+ }), r.showBackSlot && /* @__PURE__ */ c(Y, {
678
+ icon: /* @__PURE__ */ c(se, {}),
691
679
  label: o("back", u, r.backUploaded),
692
680
  uploaded: r.backUploaded,
693
681
  uploading: u,
@@ -696,16 +684,16 @@ var I = 5e3, L = ({ state: t }) => {
696
684
  ...s("back")
697
685
  })]
698
686
  });
699
- }, ue = (e) => e === "id" || e === "passport", de = ({ manager: t, state: n }) => {
687
+ }, le = (e) => e === "id" || e === "passport", ue = ({ manager: t, state: n }) => {
700
688
  let { t: r } = e();
701
- if (n.phase === "exhausted") return /* @__PURE__ */ l(ie, {
689
+ if (n.phase === "exhausted") return /* @__PURE__ */ c(O, {
702
690
  title: r("manualIdUpload.tooManyTries"),
703
691
  description: r("manualIdUpload.contactedByAdmin"),
704
692
  attemptsRemaining: 0,
705
693
  onButtonClick: () => t.manualUploadContinue(),
706
694
  "data-testid": "manual-upload-exhausted"
707
695
  });
708
- if (n.phase === "uploading") return /* @__PURE__ */ l(b, {
696
+ if (n.phase === "uploading") return /* @__PURE__ */ c(x, {
709
697
  fullScreen: !0,
710
698
  size: "large",
711
699
  title: r("manualIdUpload.holdOnASec"),
@@ -713,44 +701,44 @@ var I = 5e3, L = ({ state: t }) => {
713
701
  className: "IncodeManualUploadLoading"
714
702
  });
715
703
  let i = n.showIdTab && n.showPassportTab, a = (e) => {
716
- ue(e) && t.manualUploadChangeTab(e);
704
+ le(e) && t.manualUploadChangeTab(e);
717
705
  }, o = n.activeTab === "passport" ? ["hintPassportReadable", "hintSharpAndGlareFree"] : ["hintIdReadable", "hintSharpAndGlareFree"], s = n.errorSide ? `manualUploadError-${n.errorSide}` : void 0;
718
- return /* @__PURE__ */ l(m, {
706
+ return /* @__PURE__ */ c(p, {
719
707
  title: r("manualIdUpload.title"),
720
708
  subtitle: r("manualIdUpload.subtitle"),
721
709
  "data-testid": "manual-upload-page",
722
710
  className: "IncodeManualUploadPage",
723
- children: [/* @__PURE__ */ l("div", {
711
+ children: [/* @__PURE__ */ c("div", {
724
712
  class: "IncodeManualUploadContainer",
725
- children: [i ? /* @__PURE__ */ l(k, {
713
+ children: [i ? /* @__PURE__ */ c(j, {
726
714
  value: n.activeTab,
727
715
  onValueChange: a,
728
716
  listClassName: "IncodeManualUploadTabsList",
729
717
  triggerClassName: "IncodeManualUploadTabTrigger",
730
718
  activeTriggerClassName: "IncodeManualUploadTabTrigger--active",
731
719
  children: [
732
- /* @__PURE__ */ l(k.List, {
720
+ /* @__PURE__ */ c(j.List, {
733
721
  label: r("manualIdUpload.tabsLabel"),
734
- children: [/* @__PURE__ */ l(k.Trigger, {
722
+ children: [/* @__PURE__ */ c(j.Trigger, {
735
723
  value: "id",
736
724
  children: r("manualIdUpload.id")
737
- }), /* @__PURE__ */ l(k.Trigger, {
725
+ }), /* @__PURE__ */ c(j.Trigger, {
738
726
  value: "passport",
739
727
  children: r("manualIdUpload.passport")
740
728
  })]
741
729
  }),
742
- /* @__PURE__ */ l(k.Content, {
730
+ /* @__PURE__ */ c(j.Content, {
743
731
  value: "id",
744
- children: /* @__PURE__ */ l(Z, {
732
+ children: /* @__PURE__ */ c(Z, {
745
733
  mode: "id",
746
734
  manager: t,
747
735
  state: n,
748
736
  errorMessageId: s
749
737
  })
750
738
  }),
751
- /* @__PURE__ */ l(k.Content, {
739
+ /* @__PURE__ */ c(j.Content, {
752
740
  value: "passport",
753
- children: /* @__PURE__ */ l(Z, {
741
+ children: /* @__PURE__ */ c(Z, {
754
742
  mode: "passport",
755
743
  manager: t,
756
744
  state: n,
@@ -758,30 +746,30 @@ var I = 5e3, L = ({ state: t }) => {
758
746
  })
759
747
  })
760
748
  ]
761
- }) : n.showIdTab ? /* @__PURE__ */ l(Z, {
749
+ }) : n.showIdTab ? /* @__PURE__ */ c(Z, {
762
750
  mode: "id",
763
751
  manager: t,
764
752
  state: n,
765
753
  errorMessageId: s
766
- }) : n.showPassportTab ? /* @__PURE__ */ l(Z, {
754
+ }) : n.showPassportTab ? /* @__PURE__ */ c(Z, {
767
755
  mode: "passport",
768
756
  manager: t,
769
757
  state: n,
770
758
  errorMessageId: s
771
- }) : null, n.errorKey ? /* @__PURE__ */ l("div", {
759
+ }) : null, n.errorKey ? /* @__PURE__ */ c("div", {
772
760
  id: s,
773
761
  class: "IncodeManualUploadError",
774
762
  role: "alert",
775
763
  "data-testid": "manual-upload-error",
776
- children: [/* @__PURE__ */ l(w, { size: 16 }), /* @__PURE__ */ l("p", { children: r(n.errorKey) })]
764
+ children: [/* @__PURE__ */ c(T, { size: 16 }), /* @__PURE__ */ c("p", { children: r(n.errorKey) })]
777
765
  }) : null]
778
- }), /* @__PURE__ */ l("div", {
766
+ }), /* @__PURE__ */ c("div", {
779
767
  class: "IncodeManualUploadFooter",
780
- children: [/* @__PURE__ */ l("ul", {
768
+ children: [/* @__PURE__ */ c("ul", {
781
769
  class: "IncodeManualUploadHintCard",
782
770
  "data-testid": "manual-upload-hint-card",
783
- children: o.map((e) => /* @__PURE__ */ l("li", { children: r(`manualIdUpload.${e}`) }, e))
784
- }), /* @__PURE__ */ l(C, {
771
+ children: o.map((e) => /* @__PURE__ */ c("li", { children: r(`manualIdUpload.${e}`) }, e))
772
+ }), /* @__PURE__ */ c(w, {
785
773
  onClick: () => t.manualUploadContinue(),
786
774
  disabled: !n.canContinue,
787
775
  "data-testid": "manual-upload-continue",
@@ -790,72 +778,72 @@ var I = 5e3, L = ({ state: t }) => {
790
778
  })]
791
779
  });
792
780
  }, Q = !1;
793
- function fe() {
781
+ function de() {
794
782
  Q || (Q = !0, import("../id-tutorial-CF4nO4oX.js"), import("../back-tutorial-DhSE2FJo.js"), import("../passport-tutorial-BYN4T_TE.js"));
795
783
  }
796
784
  //#endregion
797
785
  //#region src/modules/id/id.tsx
798
- var pe = r(() => import("../mandatoryConsent-zDcOZtAH.js").then((e) => ({ default: e.MandatoryConsent }))), me = ({ config: t, manager: r, onFinish: i, onError: a }) => {
799
- M();
800
- let { t: o } = e();
786
+ var fe = r(() => import("../mandatoryConsent-zDcOZtAH.js").then((e) => ({ default: e.MandatoryConsent }))), pe = ({ config: t, manager: r, onFinish: i, onError: a }) => {
787
+ P();
788
+ let { t: s } = e();
801
789
  n(() => {
802
- fe();
790
+ de();
803
791
  }, []);
804
- let [c, f] = u(() => {
792
+ let [d, f] = l(() => {
805
793
  if (r) return r;
806
794
  if (!t) throw Error("ID capture config is required when no manager is provided");
807
- return A({ config: t });
795
+ return M({ config: t });
808
796
  }, { manageLifecycle: !r });
809
- return d({
810
- status: c.status === "finished" || c.status === "closed" ? c.status : "loading",
797
+ return u({
798
+ status: d.status === "finished" || d.status === "closed" ? d.status : "loading",
811
799
  onFinish: i,
812
800
  onError: a
813
- }), c.status === "idle" ? /* @__PURE__ */ l(x, { hideText: !0 }) : c.status === "loading" ? /* @__PURE__ */ l(x, { spinnerConfig: { subtitle: o("loadingCircle.preparingCamera") } }) : c.status === "chooser" ? /* @__PURE__ */ l(_, {
801
+ }), d.status === "idle" ? /* @__PURE__ */ c(S, { hideText: !0 }) : d.status === "loading" ? /* @__PURE__ */ c(S, { spinnerConfig: { subtitle: s("loadingCircle.preparingCamera") } }) : d.status === "chooser" ? /* @__PURE__ */ c(g, {
814
802
  manager: f,
815
- state: c
816
- }) : c.status === "ageVerification" ? /* @__PURE__ */ l(P, { manager: f }) : c.status === "tutorial" ? /* @__PURE__ */ l(te, {
803
+ state: d
804
+ }) : d.status === "ageVerification" ? /* @__PURE__ */ c(I, { manager: f }) : d.status === "tutorial" ? /* @__PURE__ */ c(v, {
817
805
  manager: f,
818
- state: c
819
- }) : c.status === "permissions" ? /* @__PURE__ */ l(ae, {
806
+ state: d
807
+ }) : d.status === "permissions" ? /* @__PURE__ */ c(k, {
820
808
  manager: f,
821
- permissionStatus: c.permissionStatus
822
- }) : c.status === "frontFinished" ? /* @__PURE__ */ l(y, {
809
+ permissionStatus: d.permissionStatus
810
+ }) : d.status === "frontFinished" ? /* @__PURE__ */ c(b, {
823
811
  manager: f,
824
812
  direction: "toBack"
825
- }) : c.status === "backFinished" ? /* @__PURE__ */ l(y, {
813
+ }) : d.status === "backFinished" ? /* @__PURE__ */ c(b, {
826
814
  manager: f,
827
815
  direction: "toFront"
828
- }) : c.status === "capture" ? /* @__PURE__ */ l(g, {
816
+ }) : d.status === "capture" ? /* @__PURE__ */ c(h, {
829
817
  manager: f,
830
- state: c,
818
+ state: d,
831
819
  onFinish: () => i?.()
832
- }) : c.status === "mandatoryConsent" ? /* @__PURE__ */ l(s, {
820
+ }) : d.status === "mandatoryConsent" ? /* @__PURE__ */ c(o, {
833
821
  fallback: null,
834
- children: /* @__PURE__ */ l(pe, {
835
- config: { consentType: c.regulationType },
822
+ children: /* @__PURE__ */ c(fe, {
823
+ config: { consentType: d.regulationType },
836
824
  onFinish: () => f.acceptMandatoryConsent(),
837
825
  onError: () => f.cancelMandatoryConsent()
838
826
  })
839
- }) : c.status === "processing" ? /* @__PURE__ */ l(S, {}) : c.status === "expired" ? /* @__PURE__ */ l(ee, {
827
+ }) : d.status === "processing" ? /* @__PURE__ */ c(C, {}) : d.status === "expired" ? /* @__PURE__ */ c(_, {
840
828
  manager: f,
841
- attemptsRemaining: c.attemptsRemaining
842
- }) : c.status === "expiredExhausted" ? /* @__PURE__ */ l(h, { manager: f }) : c.status === "finished" || c.status === "closed" ? null : c.status === "error" ? /* @__PURE__ */ l(v, {
829
+ attemptsRemaining: d.attemptsRemaining
830
+ }) : d.status === "expiredExhausted" ? /* @__PURE__ */ c(m, { manager: f }) : d.status === "finished" || d.status === "closed" ? null : d.status === "error" ? /* @__PURE__ */ c(y, {
843
831
  manager: f,
844
- state: c,
832
+ state: d,
845
833
  onError: a
846
- }) : c.status === "manualUpload" ? /* @__PURE__ */ l(de, {
834
+ }) : d.status === "manualUpload" ? /* @__PURE__ */ c(ue, {
847
835
  manager: f,
848
- state: c
849
- }) : c.status === "digitalIdUpload" ? /* @__PURE__ */ l(J, {
836
+ state: d
837
+ }) : d.status === "digitalIdUpload" ? /* @__PURE__ */ c(J, {
850
838
  manager: f,
851
- state: c
839
+ state: d
852
840
  }) : null;
853
- }, $ = ({ config: e, manager: t, onFinish: n, onError: r }) => /* @__PURE__ */ l(f, { children: e || t ? /* @__PURE__ */ l(me, {
841
+ }, $ = ({ config: e, manager: t, onFinish: n, onError: r }) => /* @__PURE__ */ c(d, { children: e || t ? /* @__PURE__ */ c(pe, {
854
842
  config: e,
855
843
  manager: t,
856
844
  onFinish: n,
857
845
  onError: r
858
846
  }) : null });
859
- D($, "incode-id");
847
+ ne($, "incode-id");
860
848
  //#endregion
861
849
  export { $ as Id };