@incodetech/web 0.0.0-dev-20260423-c594bef → 0.0.0-dev-20260423-9fae59d

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 (114) hide show
  1. package/dist/{AsYouType-C9ozHT0m.js → AsYouType-B4o16RK-.js} +1 -1
  2. package/dist/{addressAutocomplete-BXaiCXoK.js → addressAutocomplete-CcRXQC3B.js} +5 -5
  3. package/dist/ae-signature/ae-signature.es.js +2 -2
  4. package/dist/antifraud/antifraud.es.js +3 -3
  5. package/dist/authentication/authentication.es.js +3 -3
  6. package/dist/{bottomSheet-CGGwLnNk.js → bottomSheet-D7Bcy6_9.js} +1 -1
  7. package/dist/{button-4-ToV5B_.js → button-i4SPU5G7.js} +1 -1
  8. package/dist/{checkbox-DbHg0n25.js → checkbox-U9Zb6MbF.js} +2 -2
  9. package/dist/consent/consent.es.js +9 -9
  10. package/dist/{countrySelector-CITUWfI7.js → countrySelector-BXTh4LLh.js} +2 -2
  11. package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
  12. package/dist/curp-validation/curp-validation.es.js +15 -15
  13. package/dist/{customFields-ByZ0CUT5.js → customFields-CAL5OWfs.js} +12 -12
  14. package/dist/{customWatchlist-BSo5YDZA.js → customWatchlist-B1Qw2jt3.js} +6 -6
  15. package/dist/dateInputComposed-B0uPsoHC.js +1 -0
  16. package/dist/{dateInputComposed-DUP8vYwk.js → dateInputComposed-DVAMP-vG.js} +4 -4
  17. package/dist/{documentCapture-BqduvRtm.js → documentCapture-DkTg5Akh.js} +13 -13
  18. package/dist/dropdownComposed-C4zoRTo2.js +1 -0
  19. package/dist/{dropdownComposed-CjD4OMiN.js → dropdownComposed-mYhdUOGA.js} +3 -3
  20. package/dist/ekyb/ekyb.es.js +1 -1
  21. package/dist/ekybModule-DhcMg0kt.js +2 -0
  22. package/dist/{ekybModule-CaOzd3Sf.js → ekybModule-DoyAP5zK.js} +13 -13
  23. package/dist/ekyc/ekyc.es.js +1 -1
  24. package/dist/ekycModule-_ejFVI0K.js +2 -0
  25. package/dist/{ekycModule-DzOvujCd.js → ekycModule-m2j6dcJ1.js} +14 -14
  26. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  27. package/dist/{electronic-signature-bGxmSqp5.js → electronic-signature-2-BscFlG.js} +9 -9
  28. package/dist/email/email.es.js +9 -9
  29. package/dist/{extensibility-MwUYctOv.js → extensibility-Ccmjg9uF.js} +38 -38
  30. package/dist/extensibility.es.js +24 -24
  31. package/dist/face-match/face-match.es.js +1 -1
  32. package/dist/{faceMatch-DIpmVwN7.js → faceMatch-Cnb0bWfn.js} +9 -9
  33. package/dist/faceMatch-CzhtPfJ-.js +2 -0
  34. package/dist/flow/flow.es.js +39 -38
  35. package/dist/{formField-B-_S6kou.js → formField-CJyEH-3m.js} +2 -2
  36. package/dist/geolocation/geolocation.es.js +7 -7
  37. package/dist/governmentValidation/governmentValidation.es.js +9 -9
  38. package/dist/{homeScreen-CkcAO4Ag.js → homeScreen-BU7Ww_R3.js} +7 -7
  39. package/dist/{i18n-BnVa5Y-_.js → i18n-D6pCC7RL.js} +1 -1
  40. package/dist/{icons-D3J-STBD.js → icons-CR0w16NT.js} +1 -1
  41. package/dist/id/id.es.js +17 -17
  42. package/dist/{idOcr-Ddb5MkER.js → idOcr-DUZhj5yX.js} +10 -10
  43. package/dist/identity-reuse/identity-reuse.es.js +6 -6
  44. package/dist/{incodeComponent-DEt7nOim.js → incodeComponent-DmPlyJO-.js} +1 -1
  45. package/dist/index.es.js +16 -4
  46. package/dist/{inputComposed-vU4G5kX-.js → inputComposed-snw2V0ak.js} +3 -3
  47. package/dist/inputComposed-t5grm0d4.js +1 -0
  48. package/dist/{mandatoryConsent-Cs8VVPyI.js → mandatoryConsent-DQ8eqWpP.js} +9 -9
  49. package/dist/{modal-NOWTFUIw.js → modal-DAphmB5P.js} +3 -3
  50. package/dist/{otpInput-B_ItrMcK.js → otpInput-96a2tuz5.js} +5 -5
  51. package/dist/{page-D5Mt-0zn.js → page-BB20C-zy.js} +3 -3
  52. package/dist/phone/phone.es.js +9 -9
  53. package/dist/{phoneInput-BvMryqbJ.js → phoneInput-BrAjth4_.js} +4 -4
  54. package/dist/{phoneInputComposed-CzxoNJ5b.js → phoneInputComposed-p1-AvgLf.js} +6 -6
  55. package/dist/{processing-CfA0-82J.js → processing-B4uYww40.js} +1 -1
  56. package/dist/qe-signature/qe-signature.es.js +2 -2
  57. package/dist/{radioButtonComposed-CPBFQBXi.js → radioButtonComposed-DB8PavEd.js} +2 -2
  58. package/dist/{redirectToMobile-CMdQhX3j.js → redirectToMobile-ol3TyFHX.js} +14 -14
  59. package/dist/{richText-DPdexfgN.js → richText-BNC8z_ah.js} +1 -1
  60. package/dist/selfie/selfie.es.js +6 -6
  61. package/dist/signature/signature.es.js +9 -9
  62. package/dist/spinner-CcWzwNeZ.js +1 -0
  63. package/dist/{spinner-DyRQfsz_.js → spinner-DLV8Z1TT.js} +3 -3
  64. package/dist/{statusPage-D7dFp1u5.js → statusPage-IRhwu69S.js} +3 -3
  65. package/dist/{tabs-Iu2gptzB.js → tabs-NxklvgNU.js} +1 -1
  66. package/dist/{transitionSpinner-DLUM_WN2.js → transitionSpinner-CU8-yMmE.js} +3 -3
  67. package/dist/{tutorial-CAfpDlUG.js → tutorial-BfhxBq_l.js} +14 -14
  68. package/dist/types/flow.d.ts +0 -1
  69. package/dist/types/workflow.d.ts +0 -1
  70. package/dist/{typography-B7nxauEL.js → typography-C-fmXMN1.js} +1 -1
  71. package/dist/{useModuleLoader-CNBI_JLP.js → useModuleLoader-uiNUAFk3.js} +146 -148
  72. package/dist/{verificationResult-Djajo4_j.js → verificationResult-DJOc6_hf.js} +7 -7
  73. package/dist/watchlist/watchlist.es.js +6 -6
  74. package/dist/{watchlistForBusiness-DxiEnt9E.js → watchlistForBusiness-B5Jz59eX.js} +10 -10
  75. package/dist/workflow/workflow.es.js +24 -27
  76. package/package.json +2 -2
  77. package/dist/dateInputComposed-CUhIwliW.js +0 -1
  78. package/dist/dropdownComposed-XAQ3NrFR.js +0 -1
  79. package/dist/ekybModule-C9wpmHp1.js +0 -2
  80. package/dist/ekycModule-Z2hOCcCU.js +0 -2
  81. package/dist/faceMatch-eE-4h0i2.js +0 -2
  82. package/dist/inputComposed-Cyw5Vf6f.js +0 -1
  83. package/dist/setup-CcB4rvjv.js +0 -15
  84. package/dist/spinner-BmFWJNHp.js +0 -1
  85. /package/dist/{aligndevicelottie-DyGJbfIE.js → aligndevicelottie-m1gBGZsQ.js} +0 -0
  86. /package/dist/{back-horizontal-hint-Dftn3Q4p.js → back-horizontal-hint-DUuojsev.js} +0 -0
  87. /package/dist/{back-tutorial-BUwYnbyp.js → back-tutorial-DMUliF5W.js} +0 -0
  88. /package/dist/{back-vertical-hint-Br7YQ62I.js → back-vertical-hint-CX_hCJhV.js} +0 -0
  89. /package/dist/{backdevicelottie-BJMD8fm6.js → backdevicelottie-WEvEwLBA.js} +0 -0
  90. /package/dist/{blurdevicelottie-B7h0sSvw.js → blurdevicelottie-BNBU2EIM.js} +0 -0
  91. /package/dist/{browser-ponyfill-Dxc09_1M.js → browser-ponyfill-Dqca0y49.js} +0 -0
  92. /package/dist/{countries-Bbn2lyxr.js → countries-BntFjJJG.js} +0 -0
  93. /package/dist/{defineProperty-xczUyn-m.js → defineProperty-DB5OmvER.js} +0 -0
  94. /package/dist/{flip-animation-CAoCCNZF.js → flip-animation-Tm2zxXjs.js} +0 -0
  95. /package/dist/{front-horizontal-hint-CR71MdeU.js → front-horizontal-hint-2RcQjgHE.js} +0 -0
  96. /package/dist/{front-vertical-hint-BGci40sf.js → front-vertical-hint-CRhiWbkP.js} +0 -0
  97. /package/dist/{frontdevicelottie-B8Qy4pSa.js → frontdevicelottie-BtbZEtwd.js} +0 -0
  98. /package/dist/{glaredevicelottie-DWxI3Pww.js → glaredevicelottie-CGQ0DCXc.js} +0 -0
  99. /package/dist/{id-laser-h-ld67NZgZ.js → id-laser-h-oGOFXEpO.js} +0 -0
  100. /package/dist/{id-laser-v-Buftc8XI.js → id-laser-v-DfWJik9l.js} +0 -0
  101. /package/dist/{id-tutorial-DCs88Nov.js → id-tutorial-BVIpezZ1.js} +0 -0
  102. /package/dist/{incode-logo-DX016usY.js → incode-logo-DhG3d-rP.js} +0 -0
  103. /package/dist/{incodeModule-DcwjDRyJ.js → incodeModule-BH9gV7jI.js} +0 -0
  104. /package/dist/{loadingIcon-wTrHZMGC.js → loadingIcon-C-Sq5v_K.js} +0 -0
  105. /package/dist/{modal.hooks-CBKrvoyb.js → modal.hooks-B9B0KVgR.js} +0 -0
  106. /package/dist/{numberedStep-PCuBJ6Se.js → numberedStep-CSQrc-lB.js} +0 -0
  107. /package/dist/{optionAccessibleLabel-BReW7dz0.js → optionAccessibleLabel-DFOGi_EW.js} +0 -0
  108. /package/dist/{passport-horizontal-hint-CVL4ijpt.js → passport-horizontal-hint-CAqrHNYZ.js} +0 -0
  109. /package/dist/{passport-tutorial-D8ghyCv5.js → passport-tutorial-DhEHJZeD.js} +0 -0
  110. /package/dist/{passport-vertical-hint-BP1gMsLD.js → passport-vertical-hint-BHH9yd1n.js} +0 -0
  111. /package/dist/{selfieTutorial-CmGGVE4q.js → selfieTutorial-D8I_4Oam.js} +0 -0
  112. /package/dist/{spacer-DCljE53A.js → spacer-CN9uvb__.js} +0 -0
  113. /package/dist/{successIcon-C4GI_9SU.js → successIcon-Dklx5JWI.js} +0 -0
  114. /package/dist/{verifiedByIncode-ChZBpqNy.js → verifiedByIncode-CiuBhYBD.js} +0 -0
@@ -1,13 +1,14 @@
1
- import { _ as e, l as t, p as n, v as r } from "./vendor-preact-D6SntenC.js";
2
- import { t as i } from "./uiConfig-CwpQ-IM6.js";
3
- import { t as a } from "./setup-CcB4rvjv.js";
4
- import { t as o } from "./button-4-ToV5B_.js";
5
- import { initializeWasmUtil as s, resolveWasmConfig as c, setWasmConfig as l, warmupWasm as u } from "@incodetech/core/wasm";
6
- import { getDeviceClass as d } from "@incodetech/core/device";
7
- import { createOrchestratedFlowManager as f, getFlow as p, getRequiredWasmPipelines as m } from "@incodetech/core/flow";
8
- import { api as h } from "@incodetech/core/http";
1
+ import { i as e, r as t } from "./i18n-D6pCC7RL.js";
2
+ import { _ as n, l as r, p as i, v as a } from "./vendor-preact-D6SntenC.js";
3
+ import { t as o } from "./uiConfig-CwpQ-IM6.js";
4
+ import { t as s } from "./button-i4SPU5G7.js";
5
+ import { initializeWasmUtil as c, resolveWasmConfig as l, setWasmConfig as u, warmupWasm as d } from "@incodetech/core/wasm";
6
+ import { setup as f } from "@incodetech/core";
7
+ import { getDeviceClass as p } from "@incodetech/core/device";
8
+ import { createOrchestratedFlowManager as m, getFlow as h, getRequiredWasmPipelines as g } from "@incodetech/core/flow";
9
+ import { api as _ } from "@incodetech/core/http";
9
10
  //#region src/styles/generatePalette.ts
10
- function g(e) {
11
+ function v(e) {
11
12
  let t = e.replace("#", "");
12
13
  t.length === 3 && (t = t.split("").map((e) => e + e).join(""));
13
14
  let n = /^([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
@@ -33,7 +34,7 @@ function g(e) {
33
34
  l: u * 100
34
35
  };
35
36
  }
36
- function _(e, t, n) {
37
+ function y(e, t, n) {
37
38
  let r = e / 360, i = t / 100, a = n / 100, o, s, c;
38
39
  if (i === 0) o = s = c = a;
39
40
  else {
@@ -46,24 +47,24 @@ function _(e, t, n) {
46
47
  };
47
48
  return `#${l(o)}${l(s)}${l(c)}`;
48
49
  }
49
- function v(e) {
50
- let t = g(e);
50
+ function b(e) {
51
+ let t = v(e);
51
52
  if (!t) throw Error(`Invalid color format: ${e}`);
52
53
  return {
53
- 50: _(t.h, t.s, 95),
54
- 200: _(t.h, t.s, 80),
55
- 300: _(t.h, t.s, 65),
56
- 400: _(t.h, t.s, Math.min(100, t.l + 10)),
54
+ 50: y(t.h, t.s, 95),
55
+ 200: y(t.h, t.s, 80),
56
+ 300: y(t.h, t.s, 65),
57
+ 400: y(t.h, t.s, Math.min(100, t.l + 10)),
57
58
  500: e,
58
- 600: _(t.h, t.s, Math.max(0, t.l - 10)),
59
- 900: _(t.h, t.s, 20)
59
+ 600: y(t.h, t.s, Math.max(0, t.l - 10)),
60
+ 900: y(t.h, t.s, 20)
60
61
  };
61
62
  }
62
63
  //#endregion
63
64
  //#region src/styles/applyTheme.ts
64
- function y(e, t) {
65
+ function x(e, t) {
65
66
  if (typeof document > "u") return;
66
- let n = v(e), r = document.getElementById("incode-theme");
67
+ let n = b(e), r = document.getElementById("incode-theme");
67
68
  r || (r = document.createElement("style"), r.id = "incode-theme", document.head.appendChild(r));
68
69
  let i = t || "#ffffff", a = `
69
70
  :root,
@@ -82,43 +83,43 @@ function y(e, t) {
82
83
  }
83
84
  //#endregion
84
85
  //#region src/styles/fetchTheme.ts
85
- async function b() {
86
- return (await h.get("/omni/asset/fetch-all")).data;
86
+ async function S() {
87
+ return (await _.get("/omni/asset/fetch-all")).data;
87
88
  }
88
- var x = /* @__PURE__ */ new Map();
89
- async function S(e) {
89
+ var C = /* @__PURE__ */ new Map();
90
+ async function w(e) {
90
91
  if (e.startsWith("data:")) return e;
91
- let t = x.get(e);
92
+ let t = C.get(e);
92
93
  if (t) return t;
93
94
  let n = await (await fetch(e)).blob(), r = await new Promise((e, t) => {
94
95
  let r = new FileReader();
95
96
  r.onloadend = () => e(r.result), r.onerror = t, r.readAsDataURL(n);
96
97
  });
97
- return x.set(e, r), r;
98
+ return C.set(e, r), r;
98
99
  }
99
- async function C() {
100
- let e = await b();
100
+ async function T() {
101
+ let e = await S();
101
102
  if (!e.theme) throw Error("Theme URL not found in assets response");
102
103
  let t = e.theme, n = t.startsWith("http://") || t.startsWith("https://"), r;
103
104
  if (n) {
104
105
  let e = await fetch(t);
105
106
  if (!e.ok) throw Error(`Failed to fetch theme: ${e.statusText}`);
106
107
  r = await e.json();
107
- } else r = (await h.get(t)).data;
108
+ } else r = (await _.get(t)).data;
108
109
  let i = e["logo.png"] || e["logo.svg"] || e["logo.jpg"] || e["logo.jpeg"] || e["logo.webp"] || r.logo, a = i;
109
- return i && (a = await S(i)), {
110
+ return i && (a = await w(i)), {
110
111
  ...r,
111
112
  logo: a
112
113
  };
113
114
  }
114
- async function w() {
115
- let e = await C();
116
- return e.main && y(e.main, e.buttonColor), e;
115
+ async function E() {
116
+ let e = await T();
117
+ return e.main && x(e.main, e.buttonColor), e;
117
118
  }
118
119
  //#endregion
119
120
  //#region src/modules/flow/flowInit.ts
120
- var T = () => import("./id/id.es.js").then((e) => e.Id), E = () => import("./homeScreen-CkcAO4Ag.js").then((e) => e.HomeScreen), D;
121
- function O(e) {
121
+ var D = () => import("./id/id.es.js").then((e) => e.Id), O = () => import("./homeScreen-BU7Ww_R3.js").then((e) => e.HomeScreen), k;
122
+ function A(e) {
122
123
  if (e === "REDIRECT_TO_MOBILE") return () => import("@incodetech/core/redirect-to-mobile").then((e) => e.redirectToMobileMachine);
123
124
  if (e === "PHONE") return () => import("@incodetech/core/phone").then((e) => e.phoneMachine);
124
125
  if (e === "EMAIL") return () => import("@incodetech/core/email").then((e) => e.emailMachine);
@@ -144,102 +145,99 @@ function O(e) {
144
145
  if (e === "AE_SIGNATURE") return () => import("@incodetech/core/ae-signature").then((e) => e.aeSignatureMachine);
145
146
  if (e === "QE_SIGNATURE") return () => import("@incodetech/core/qe-signature").then((e) => e.qeSignatureMachine);
146
147
  }
147
- function k(e) {
148
+ function j(e) {
148
149
  let t = {};
149
150
  for (let n of e) {
150
151
  let e = n.key;
151
152
  if (t[e]) continue;
152
- let r = O(e);
153
+ let r = A(e);
153
154
  r && (t[e] = r);
154
155
  }
155
156
  return t;
156
157
  }
157
- var A = {
158
- REDIRECT_TO_MOBILE: () => import("./redirectToMobile-CMdQhX3j.js").then((e) => e.RedirectToMobile),
158
+ var M = {
159
+ REDIRECT_TO_MOBILE: () => import("./redirectToMobile-ol3TyFHX.js").then((e) => e.RedirectToMobile),
159
160
  PHONE: () => import("./phone/phone.es.js").then((e) => e.Phone),
160
161
  EMAIL: () => import("./email/email.es.js").then((e) => e.Email),
161
162
  SELFIE: () => import("./selfie/selfie.es.js").then((e) => e.Selfie),
162
163
  AUTHENTICATION: () => import("./authentication/authentication.es.js").then((e) => e.Authentication),
163
- ID: T,
164
- ID_CAPTURE: T,
165
- TUTORIAL_ID: T,
166
- SECOND_ID: T,
167
- FACE_MATCH: () => import("./faceMatch-eE-4h0i2.js").then((e) => e.FaceMatch),
164
+ ID: D,
165
+ ID_CAPTURE: D,
166
+ TUTORIAL_ID: D,
167
+ SECOND_ID: D,
168
+ FACE_MATCH: () => import("./faceMatch-CzhtPfJ-.js").then((e) => e.FaceMatch),
168
169
  CURP_VALIDATION: () => import("./curp-validation/curp-validation.es.js").then((e) => e.CurpValidation),
169
170
  GOVT_VALIDATION_PROVISIONING: () => import("./governmentValidation/governmentValidation.es.js").then((e) => e.GovernmentValidation),
170
171
  GEOLOCATION: () => import("./geolocation/geolocation.es.js").then((e) => e.Geolocation),
171
- EXTERNAL_VERIFICATION: () => import("./ekycModule-Z2hOCcCU.js").then((e) => e.EkycModule),
172
- EKYB: () => import("./ekybModule-C9wpmHp1.js").then((e) => e.EkybModule),
173
- DOCUMENT_CAPTURE: () => import("./documentCapture-BqduvRtm.js").then((e) => e.DocumentCapture),
174
- ADDRESS: () => import("./documentCapture-BqduvRtm.js").then((e) => e.DocumentCapture),
172
+ EXTERNAL_VERIFICATION: () => import("./ekycModule-_ejFVI0K.js").then((e) => e.EkycModule),
173
+ EKYB: () => import("./ekybModule-DhcMg0kt.js").then((e) => e.EkybModule),
174
+ DOCUMENT_CAPTURE: () => import("./documentCapture-DkTg5Akh.js").then((e) => e.DocumentCapture),
175
+ ADDRESS: () => import("./documentCapture-DkTg5Akh.js").then((e) => e.DocumentCapture),
175
176
  COMBINED_CONSENT: () => import("./consent/consent.es.js").then((e) => e.Consent),
176
- MANDATORY_CONSENT: () => import("./mandatoryConsent-Cs8VVPyI.js").then((e) => e.MandatoryConsent),
177
+ MANDATORY_CONSENT: () => import("./mandatoryConsent-DQ8eqWpP.js").then((e) => e.MandatoryConsent),
177
178
  SIGNATURE: () => import("./signature/signature.es.js").then((e) => e.Signature),
178
- ID_OCR: () => import("./idOcr-Ddb5MkER.js").then((e) => e.IdOcr),
179
+ ID_OCR: () => import("./idOcr-DUZhj5yX.js").then((e) => e.IdOcr),
179
180
  ANTIFRAUD: () => import("./antifraud/antifraud.es.js").then((e) => e.Antifraud),
180
- CUSTOM_FIELDS: () => import("./customFields-ByZ0CUT5.js").then((e) => e.CustomFields),
181
+ CUSTOM_FIELDS: () => import("./customFields-CAL5OWfs.js").then((e) => e.CustomFields),
181
182
  WATCHLIST: () => import("./watchlist/watchlist.es.js").then((e) => e.Watchlist),
182
- WATCHLIST_BUSINESS: () => import("./watchlistForBusiness-DxiEnt9E.js").then((e) => e.WatchlistForBusiness),
183
- INCODE_WATCHLIST: () => import("./customWatchlist-BSo5YDZA.js").then((e) => e.CustomWatchlist),
183
+ WATCHLIST_BUSINESS: () => import("./watchlistForBusiness-B5Jz59eX.js").then((e) => e.WatchlistForBusiness),
184
+ INCODE_WATCHLIST: () => import("./customWatchlist-B1Qw2jt3.js").then((e) => e.CustomWatchlist),
184
185
  AE_SIGNATURE: () => import("./ae-signature/ae-signature.es.js").then((e) => e.AeSignature),
185
186
  QE_SIGNATURE: () => import("./qe-signature/qe-signature.es.js").then((e) => e.QeSignature),
186
187
  CROSS_DOCUMENT_DATA_MATCH: () => import("./cross-document-data-match/cross-document-data-match.es.js").then((e) => e.CrossDocumentDataMatch)
187
188
  };
188
- function j() {
189
- return E();
189
+ function N() {
190
+ return O();
190
191
  }
191
- function M() {
192
- D || (D = j(), D.catch(() => {
193
- D = void 0;
192
+ function P() {
193
+ k || (k = N(), k.catch(() => {
194
+ k = void 0;
194
195
  }));
195
196
  }
196
- var N;
197
- function P() {
198
- if (N) return;
199
- let e = A.REDIRECT_TO_MOBILE, t = O("REDIRECT_TO_MOBILE"), n = [];
200
- e && n.push(e()), t && n.push(t()), N = Promise.all(n), N.catch(() => {
201
- N = void 0;
197
+ var F;
198
+ function I() {
199
+ if (F) return;
200
+ let e = M.REDIRECT_TO_MOBILE, t = A("REDIRECT_TO_MOBILE"), n = [];
201
+ e && n.push(e()), t && n.push(t()), F = Promise.all(n), F.catch(() => {
202
+ F = void 0;
202
203
  });
203
204
  }
204
- function F(e = {}) {
205
- let t = {}, n = e.isDesktop ?? d() === "desktop", { enableHome: r, ...i } = e;
206
- return f({
205
+ function L(e = {}) {
206
+ let t = {}, n = e.isDesktop ?? p() === "desktop", { enableHome: r, ...i } = e;
207
+ return m({
207
208
  enableHome: r,
208
209
  getFlow: async (e) => {
209
- let r = await p(e, {
210
+ let r = await h(e, {
210
211
  ...i,
211
212
  isDesktop: n
212
- }), a = k(r.flowModules ?? []);
213
+ }), a = j(r.flowModules ?? []);
213
214
  for (let e of Object.keys(t)) delete t[e];
214
215
  return Object.assign(t, a), r;
215
216
  },
216
217
  lazyModules: t
217
218
  });
218
219
  }
219
- async function I(e) {
220
- await a({
221
- apiURL: e.apiURL,
222
- token: e.token,
223
- wasm: !1,
224
- i18n: e.lang ? { lang: e.lang } : void 0
225
- });
220
+ async function R(n) {
221
+ await f({
222
+ token: n.token,
223
+ wasm: !1
224
+ }), t(e(n.lang ? { lang: n.lang } : void 0));
226
225
  }
227
- async function L(e) {
228
- let { apiURL: t, token: n, lang: r, flowManager: i } = e;
229
- await I({
230
- apiURL: t,
231
- token: n,
232
- lang: r
233
- }), i.load();
226
+ async function z(e) {
227
+ let { token: t, lang: n, flowManager: r } = e;
228
+ await R({
229
+ token: t,
230
+ lang: n
231
+ }), r.load();
234
232
  }
235
- async function R() {
233
+ async function B() {
236
234
  try {
237
- let e = await w(), t = {
235
+ let e = await E(), t = {
238
236
  logoSrc: e.logo,
239
237
  subtitle: e.subtitle,
240
238
  hideFooterBranding: e.hideFooterBranding
241
239
  };
242
- return i(t), {
240
+ return o(t), {
243
241
  theme: e,
244
242
  uiConfig: t
245
243
  };
@@ -247,42 +245,42 @@ async function R() {
247
245
  return {};
248
246
  }
249
247
  }
250
- function z(e, t) {
248
+ function V(e, t) {
251
249
  if (e.currentStep === "REDIRECT_TO_MOBILE") return;
252
- let n = m(e.flow);
250
+ let n = g(e.flow);
253
251
  if (n.length > 0) {
254
- let e = c({
252
+ let e = l({
255
253
  ...t ?? {},
256
254
  pipelines: n
257
255
  }), r = {
258
256
  ...e,
259
257
  pipelines: e.pipelines ? [...e.pipelines] : void 0
260
258
  };
261
- l(r), u(e).then(() => s(r)).catch((e) => {
259
+ u(r), d(e).then(() => c(r)).catch((e) => {
262
260
  console.error("WASM warmup failed:", e);
263
261
  });
264
262
  }
265
263
  }
266
- function B(e) {
264
+ function H(e) {
267
265
  let t = e.currentStep;
268
266
  if (t) {
269
- let e = A[t];
267
+ let e = M[t];
270
268
  e && e().catch(() => {});
271
269
  }
272
270
  }
273
271
  //#endregion
274
272
  //#region src/modules/flow/unsupportedModule.tsx
275
- var V = ({ moduleKey: e, onNext: t }) => /* @__PURE__ */ r("section", {
273
+ var U = ({ moduleKey: e, onNext: t }) => /* @__PURE__ */ a("section", {
276
274
  class: "IncodeUnsupportedModule",
277
275
  "aria-live": "polite",
278
- children: /* @__PURE__ */ r("div", {
276
+ children: /* @__PURE__ */ a("div", {
279
277
  class: "IncodeUnsupportedModuleContent",
280
278
  children: [
281
- /* @__PURE__ */ r("h2", {
279
+ /* @__PURE__ */ a("h2", {
282
280
  class: "IncodeUnsupportedModuleTitle",
283
281
  children: "Module not available"
284
282
  }),
285
- /* @__PURE__ */ r("p", {
283
+ /* @__PURE__ */ a("p", {
286
284
  class: "IncodeUnsupportedModuleMessage",
287
285
  children: [
288
286
  "The \"",
@@ -290,7 +288,7 @@ var V = ({ moduleKey: e, onNext: t }) => /* @__PURE__ */ r("section", {
290
288
  "\" module is not yet supported in this version."
291
289
  ]
292
290
  }),
293
- /* @__PURE__ */ r(o, {
291
+ /* @__PURE__ */ a(s, {
294
292
  onClick: t,
295
293
  class: "IncodeUnsupportedModuleButton",
296
294
  "data-testid": "unsupported-module-next-button",
@@ -301,58 +299,58 @@ var V = ({ moduleKey: e, onNext: t }) => /* @__PURE__ */ r("section", {
301
299
  });
302
300
  //#endregion
303
301
  //#region src/modules/flow/useModuleLoader.ts
304
- function H(e, t) {
302
+ function W(e, t) {
305
303
  return e instanceof Error ? e.message : t;
306
304
  }
307
- var U = /* @__PURE__ */ new WeakMap(), W = /* @__PURE__ */ new WeakMap();
308
- function G(e) {
305
+ var G = /* @__PURE__ */ new WeakMap(), K = /* @__PURE__ */ new WeakMap();
306
+ function q(e) {
309
307
  return e;
310
308
  }
311
- function K(e) {
312
- if (e) return U.get(G(e));
309
+ function J(e) {
310
+ if (e) return G.get(q(e));
313
311
  }
314
- function q(e) {
315
- let t = G(e), n = U.get(t);
312
+ function Y(e) {
313
+ let t = q(e), n = G.get(t);
316
314
  if (n) return Promise.resolve(n);
317
- let r = W.get(t);
315
+ let r = K.get(t);
318
316
  if (r) return r;
319
- let i = e().then((e) => (U.set(t, e), W.delete(t), e)).catch((e) => {
320
- throw W.delete(t), e;
317
+ let i = e().then((e) => (G.set(t, e), K.delete(t), e)).catch((e) => {
318
+ throw K.delete(t), e;
321
319
  });
322
- return W.set(t, i), i;
320
+ return K.set(t, i), i;
323
321
  }
324
- function J(e) {
322
+ function X(e) {
325
323
  if (!e) return { status: "idle" };
326
- let t = K(e);
324
+ let t = J(e);
327
325
  return t ? {
328
326
  status: "loaded",
329
327
  Component: t
330
328
  } : { status: "loading" };
331
329
  }
332
- function Y(r) {
333
- let { loader: i, onLoading: a, onLoaded: o, onError: s } = r, [c, l] = n(() => J(i)), u = t(i), d = t(a), f = t(o), p = t(s);
334
- return e(() => {
330
+ function Z(e) {
331
+ let { loader: t, onLoading: a, onLoaded: o, onError: s } = e, [c, l] = i(() => X(t)), u = r(t), d = r(a), f = r(o), p = r(s);
332
+ return n(() => {
335
333
  d.current = a, f.current = o, p.current = s;
336
334
  }, [
337
335
  a,
338
336
  o,
339
337
  s
340
- ]), u.current !== i && (u.current = i, l(J(i))), e(() => {
341
- if (!i) return;
342
- if (K(i)) {
338
+ ]), u.current !== t && (u.current = t, l(X(t))), n(() => {
339
+ if (!t) return;
340
+ if (J(t)) {
343
341
  f.current?.();
344
342
  return;
345
343
  }
346
344
  d.current?.();
347
345
  let e = !1;
348
- return q(i).then((t) => {
346
+ return Y(t).then((t) => {
349
347
  e || (l({
350
348
  status: "loaded",
351
349
  Component: t
352
350
  }), f.current?.());
353
351
  }).catch((t) => {
354
352
  if (!e) {
355
- let e = H(t, "Failed to load component");
353
+ let e = W(t, "Failed to load component");
356
354
  l({
357
355
  status: "error",
358
356
  error: e
@@ -361,67 +359,67 @@ function Y(r) {
361
359
  }), () => {
362
360
  e = !0;
363
361
  };
364
- }, [i]), c;
362
+ }, [t]), c;
365
363
  }
366
- function X(t) {
367
- let { moduleKey: r, modules: i, onModuleLoading: a, onModuleLoaded: o, onError: s } = t, [c, l] = n(void 0), u = r ? i[r] : void 0, d = Y({
364
+ function Q(e) {
365
+ let { moduleKey: t, modules: r, onModuleLoading: a, onModuleLoaded: o, onError: s } = e, [c, l] = i(void 0), u = t ? r[t] : void 0, d = Z({
368
366
  loader: u,
369
- onLoading: r ? () => a?.(r) : void 0,
370
- onLoaded: r ? () => o?.(r) : void 0,
371
- onError: r ? (e) => s?.(`Failed to load ${r}: ${e}`) : void 0
367
+ onLoading: t ? () => a?.(t) : void 0,
368
+ onLoaded: t ? () => o?.(t) : void 0,
369
+ onError: t ? (e) => s?.(`Failed to load ${t}: ${e}`) : void 0
372
370
  });
373
- return e(() => {
374
- if (!r) {
371
+ return n(() => {
372
+ if (!t) {
375
373
  l(void 0);
376
374
  return;
377
375
  }
378
- l(u ? void 0 : r);
379
- }, [u, r]), r ? c ? {
376
+ l(u ? void 0 : t);
377
+ }, [u, t]), t ? c ? {
380
378
  status: "unsupported",
381
379
  moduleKey: c
382
380
  } : d.status === "idle" || d.status === "loading" ? {
383
381
  status: "loading",
384
- moduleKey: r
382
+ moduleKey: t
385
383
  } : d.status === "error" ? {
386
384
  status: "error",
387
- moduleKey: r,
385
+ moduleKey: t,
388
386
  error: d.error
389
387
  } : {
390
388
  status: "loaded",
391
- moduleKey: r,
389
+ moduleKey: t,
392
390
  Component: d.Component
393
391
  } : { status: "idle" };
394
392
  }
395
- function Z(e) {
396
- let { moduleKey: t, modules: n } = e, r = t ? n[t] : void 0, i = Y({ loader: r });
393
+ function $(e) {
394
+ let { moduleKey: t, modules: n } = e, r = t ? n[t] : void 0, i = Z({ loader: r });
397
395
  return r != null && i.status === "loaded";
398
396
  }
399
- function Q(e) {
397
+ function ee(e) {
400
398
  typeof requestIdleCallback < "u" ? requestIdleCallback(() => {
401
399
  e();
402
400
  }) : setTimeout(e, 0);
403
401
  }
404
- function $(n, r, i, a) {
405
- let o = t(/* @__PURE__ */ new Set());
406
- e(() => {
407
- if (a && r < n.length - 1) {
408
- let e = n[r + 1];
409
- if (e && !o.current.has(e)) {
410
- o.current.add(e);
411
- let t = i[e];
412
- t && Q(() => {
413
- t().catch(() => {
414
- o.current.delete(e);
402
+ function te(e, t, i, a) {
403
+ let o = r(/* @__PURE__ */ new Set());
404
+ n(() => {
405
+ if (a && t < e.length - 1) {
406
+ let n = e[t + 1];
407
+ if (n && !o.current.has(n)) {
408
+ o.current.add(n);
409
+ let e = i[n];
410
+ e && ee(() => {
411
+ e().catch(() => {
412
+ o.current.delete(n);
415
413
  });
416
414
  });
417
415
  }
418
416
  }
419
417
  }, [
420
- n,
421
- r,
418
+ e,
419
+ t,
422
420
  i,
423
421
  a
424
422
  ]);
425
423
  }
426
424
  //#endregion
427
- export { A as a, L as c, P as d, I as f, V as i, B as l, w as m, Z as n, F as o, z as p, $ as r, R as s, X as t, M as u };
425
+ export { M as a, z as c, I as d, R as f, U as i, H as l, E as m, $ as n, L as o, V as p, te as r, B as s, Q as t, P as u };
@@ -1,11 +1,11 @@
1
- import { n as e } from "./i18n-BnVa5Y-_.js";
1
+ import { n as e } from "./i18n-D6pCC7RL.js";
2
2
  import { _ as t, l as n, v as r } from "./vendor-preact-D6SntenC.js";
3
- import { t as i } from "./page-D5Mt-0zn.js";
4
- import { t as a } from "./typography-B7nxauEL.js";
5
- import { t as o } from "./spinner-DyRQfsz_.js";
6
- import { t as s } from "./button-4-ToV5B_.js";
7
- import { h as c, m as l } from "./icons-D3J-STBD.js";
8
- import { t as u } from "./successIcon-C4GI_9SU.js";
3
+ import { t as i } from "./page-BB20C-zy.js";
4
+ import { t as a } from "./typography-C-fmXMN1.js";
5
+ import { t as o } from "./spinner-DLV8Z1TT.js";
6
+ import { t as s } from "./button-i4SPU5G7.js";
7
+ import { h as c, m as l } from "./icons-CR0w16NT.js";
8
+ import { t as u } from "./successIcon-Dklx5JWI.js";
9
9
  //#region src/shared/verificationResult/verificationResult.tsx
10
10
  var d = ({ status: d, submittingTitle: f, successTitle: p, failureTitle: m, warningTitle: h, onRetry: g, onSkip: _, retryLabel: v, skipLabel: y }) => {
11
11
  let { t: b } = e(), x = n(null);
@@ -1,10 +1,10 @@
1
- import { n as e } from "../i18n-BnVa5Y-_.js";
1
+ import { n as e } from "../i18n-D6pCC7RL.js";
2
2
  import { _ as t, l as n, v as r } from "../vendor-preact-D6SntenC.js";
3
- import { o as i, t as a } from "../incodeComponent-DEt7nOim.js";
4
- import { t as o } from "../loadingIcon-wTrHZMGC.js";
5
- import { t as s } from "../successIcon-C4GI_9SU.js";
6
- import { t as c } from "../incodeModule-DcwjDRyJ.js";
7
- import { t as l } from "../statusPage-D7dFp1u5.js";
3
+ import { o as i, t as a } from "../incodeComponent-DmPlyJO-.js";
4
+ import { t as o } from "../loadingIcon-C-Sq5v_K.js";
5
+ import { t as s } from "../successIcon-Dklx5JWI.js";
6
+ import { t as c } from "../incodeModule-BH9gV7jI.js";
7
+ import { t as l } from "../statusPage-IRhwu69S.js";
8
8
  import { createWatchlistManager as u } from "@incodetech/core/watchlist";
9
9
  //#region src/modules/watchlist/watchlist.tsx
10
10
  var d = ({ onFinish: a }) => {
@@ -1,14 +1,14 @@
1
- import { n as e } from "./i18n-BnVa5Y-_.js";
1
+ import { n as e } from "./i18n-D6pCC7RL.js";
2
2
  import { _ as t, l as n, v as r } from "./vendor-preact-D6SntenC.js";
3
- import { o as i, t as a } from "./incodeComponent-DEt7nOim.js";
4
- import { t as o } from "./page-D5Mt-0zn.js";
5
- import { t as s } from "./loadingIcon-wTrHZMGC.js";
6
- import { t as c } from "./button-4-ToV5B_.js";
7
- import { t as l } from "./successIcon-C4GI_9SU.js";
8
- import { t as u } from "./inputComposed-vU4G5kX-.js";
9
- import { t as d } from "./incodeModule-DcwjDRyJ.js";
10
- import { t as f } from "./countrySelector-CITUWfI7.js";
11
- import { t as p } from "./statusPage-D7dFp1u5.js";
3
+ import { o as i, t as a } from "./incodeComponent-DmPlyJO-.js";
4
+ import { t as o } from "./page-BB20C-zy.js";
5
+ import { t as s } from "./loadingIcon-C-Sq5v_K.js";
6
+ import { t as c } from "./button-i4SPU5G7.js";
7
+ import { t as l } from "./successIcon-Dklx5JWI.js";
8
+ import { t as u } from "./inputComposed-snw2V0ak.js";
9
+ import { t as d } from "./incodeModule-BH9gV7jI.js";
10
+ import { t as f } from "./countrySelector-BXTh4LLh.js";
11
+ import { t as p } from "./statusPage-IRhwu69S.js";
12
12
  import { createWatchlistForBusinessManager as m } from "@incodetech/core/watchlist-for-business";
13
13
  //#region src/modules/watchlist-for-business/watchlistForBusiness.tsx
14
14
  var h = ({ onFinish: a }) => {