@incodetech/web 0.0.0-dev-20260429-35afdca → 0.0.0-dev-20260430-3fffde8

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 (160) hide show
  1. package/dist/ae-signature/ae-signature.es.js +3 -3
  2. package/dist/antifraud/antifraud.es.js +4 -4
  3. package/dist/authentication/authentication.es.js +4 -4
  4. package/dist/{back-horizontal-hint-Rivv4odH.js → back-horizontal-hint-DUuojsev.js} +1 -1
  5. package/dist/{back-vertical-hint-Bi2GKjAw.js → back-vertical-hint-CX_hCJhV.js} +1 -1
  6. package/dist/{bottomSheet-H576o2Ae.js → bottomSheet-BICziA8B.js} +2 -2
  7. package/dist/{button-DXxszYOu.js → button-i4SPU5G7.js} +2 -2
  8. package/dist/{checkbox-HMGMzcIv.js → checkbox-DSJ1kLyD.js} +3 -3
  9. package/dist/consent/consent.es.js +10 -10
  10. package/dist/{countrySelector-DcKjrQye.js → countrySelector-B3JOaReM.js} +3 -3
  11. package/dist/cross-document-data-match/cross-document-data-match.es.js +4 -4
  12. package/dist/curp-validation/curp-validation.es.js +16 -16
  13. package/dist/{customFields-D2wZYEIM.js → customFields-ClP-OHqQ.js} +13 -13
  14. package/dist/{customWatchlist-qxLVolwh.js → customWatchlist-DaNMXtkt.js} +7 -7
  15. package/dist/{dateInputComposed-B4m_OJ0f.js → dateInputComposed-BISaNEkl.js} +5 -5
  16. package/dist/dateInputComposed-DdtZcsfQ.js +1 -0
  17. package/dist/{documentCapture-Bmnd-HoI.js → documentCapture-BD-LU6Y1.js} +14 -14
  18. package/dist/dropdownComposed-C6mYVe2K.js +1 -0
  19. package/dist/{dropdownComposed-ysrtM_xo.js → dropdownComposed-D7l5VnKk.js} +4 -4
  20. package/dist/ekyb/ekyb.es.js +1 -1
  21. package/dist/{ekybModule-DvXcZXil.js → ekybModule-Ckv1f8aB.js} +13 -13
  22. package/dist/ekybModule-pKz3HZFJ.js +2 -0
  23. package/dist/ekyc/ekyc.es.js +1 -1
  24. package/dist/ekycModule-B_pmX3EX.js +2 -0
  25. package/dist/{ekycModule-DHpDUapu.js → ekycModule-CCJGIP0u.js} +14 -14
  26. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  27. package/dist/{electronic-signature-C-J7f37B.js → electronic-signature-nZfD6fzf.js} +13 -13
  28. package/dist/email/email.es.js +10 -10
  29. package/dist/{extensibility-DJ7uJJS5.js → extensibility-BhOLYPko.js} +39 -39
  30. package/dist/extensibility.es.js +24 -24
  31. package/dist/face-match/face-match.es.js +1 -1
  32. package/dist/{faceMatch-aulhVGxo.js → faceMatch-BAOj4yMN.js} +10 -10
  33. package/dist/faceMatch-CsBQRvhN.js +2 -0
  34. package/dist/flow/flow.es.js +136 -139
  35. package/dist/flow/styles.css +4724 -169
  36. package/dist/{formField-9c3OJwOZ.js → formField-B34T3LAe.js} +3 -3
  37. package/dist/{front-horizontal-hint-ECtf7INv.js → front-horizontal-hint-2RcQjgHE.js} +1 -1
  38. package/dist/{front-vertical-hint-DBdptGwa.js → front-vertical-hint-CRhiWbkP.js} +1 -1
  39. package/dist/geolocation/geolocation.es.js +8 -8
  40. package/dist/governmentValidation/governmentValidation.es.js +10 -10
  41. package/dist/{homeScreen-nNYHPykv.js → homeScreen-Dc3ipd-q.js} +8 -8
  42. package/dist/{i18n-BNE9nYru.js → i18n-ntrVdqVv.js} +2 -2
  43. package/dist/{icons-B9-0K6zx.js → icons-Bk44oy5t.js} +2 -2
  44. package/dist/id/id.es.js +18 -18
  45. package/dist/{idOcr-DWF6lFjq.js → idOcr-DyEsmJUm.js} +11 -11
  46. package/dist/identity-reuse/identity-reuse.es.js +7 -7
  47. package/dist/{incodeComponent-Bj2iIi3-.js → incodeComponent-DexcYK3Y.js} +2 -2
  48. package/dist/incodeModule-CHzKl22Y.js +18 -0
  49. package/dist/index.es.js +2 -2
  50. package/dist/{inputComposed-CZYVA9pY.js → inputComposed-4aHO5YRK.js} +4 -4
  51. package/dist/inputComposed-vYWGxUXH.js +1 -0
  52. package/dist/{loadingIcon-BWeYwnoO.js → loadingIcon-C-Sq5v_K.js} +1 -1
  53. package/dist/{mandatoryConsent-BxmewvFy.js → mandatoryConsent-OCdxJMmo.js} +10 -10
  54. package/dist/{modal-BiHWHzbc.js → modal-dixIN7NV.js} +37 -37
  55. package/dist/{modal.hooks-BWHmspKt.js → modal.hooks-BzIVzVbq.js} +1 -1
  56. package/dist/{numberedStep-CB41HauU.js → numberedStep-DDP7_KWo.js} +1 -1
  57. package/dist/{optionAccessibleLabel-oqe5fTiF.js → optionAccessibleLabel-DGtiAlUq.js} +6 -6
  58. package/dist/{otpInput-DxekO34i.js → otpInput-DgtpWHON.js} +6 -6
  59. package/dist/{page-C_Z2vd8q.js → page-BB20C-zy.js} +3 -3
  60. package/dist/{passport-horizontal-hint-x0w1qXO5.js → passport-horizontal-hint-CAqrHNYZ.js} +1 -1
  61. package/dist/{passport-vertical-hint-BoPv9mev.js → passport-vertical-hint-BHH9yd1n.js} +1 -1
  62. package/dist/phone/phone.es.js +10 -10
  63. package/dist/{phoneInput-B5mP8vvS.js → phoneInput-C8OmjU3_.js} +3 -3
  64. package/dist/{phoneInputComposed-C6mrR5NJ.js → phoneInputComposed--GQv3M_5.js} +5 -5
  65. package/dist/{processing-C1ymzBNJ.js → processing-AM48BFTl.js} +2 -2
  66. package/dist/qe-signature/qe-signature.es.js +3 -3
  67. package/dist/{radioButtonComposed-yT_6g1qe.js → radioButtonComposed-CuKvBI5S.js} +3 -3
  68. package/dist/{redirectToMobile-BtsF6N0g.js → redirectToMobile-DfUzha84.js} +14 -14
  69. package/dist/{richText-uERDfLN2.js → richText-FMNMBzjD.js} +1 -1
  70. package/dist/selfie/selfie.es.js +7 -7
  71. package/dist/signature/signature.es.js +9 -9
  72. package/dist/{spacer-DCAl0Mjk.js → spacer-CN9uvb__.js} +1 -1
  73. package/dist/spinner-BYktSnQZ.js +1 -0
  74. package/dist/{spinner-DTwtoppQ.js → spinner-Cj7kdZ0T.js} +4 -4
  75. package/dist/{statusPage-BTF4FmJT.js → statusPage-DUnznjtg.js} +4 -4
  76. package/dist/{successIcon-COlazRl-.js → successIcon-SlKgTSty.js} +1 -1
  77. package/dist/{tabs-z-X6zD3C.js → tabs-sbbH0u2L.js} +2 -2
  78. package/dist/{transitionSpinner-C_573zFG.js → transitionSpinner-DqDwaNM6.js} +4 -4
  79. package/dist/{tutorial-DcuYI4JA.js → tutorial-B2lNnuWv.js} +15 -15
  80. package/dist/types/ae-signature.d.ts +0 -1
  81. package/dist/types/antifraud.d.ts +0 -1
  82. package/dist/types/authentication.d.ts +0 -1
  83. package/dist/types/consent.d.ts +0 -1
  84. package/dist/types/cross-document-data-match.d.ts +0 -1
  85. package/dist/types/curp-validation.d.ts +0 -1
  86. package/dist/types/ekyb.d.ts +0 -1
  87. package/dist/types/ekyc.d.ts +0 -1
  88. package/dist/types/electronic-signature.d.ts +0 -1
  89. package/dist/types/email.d.ts +0 -1
  90. package/dist/types/extensibility.d.ts +0 -1
  91. package/dist/types/face-match.d.ts +0 -1
  92. package/dist/types/flow.d.ts +0 -1
  93. package/dist/types/geolocation.d.ts +0 -1
  94. package/dist/types/governmentValidation.d.ts +0 -1
  95. package/dist/types/id.d.ts +0 -1
  96. package/dist/types/identity-reuse.d.ts +0 -1
  97. package/dist/types/phone.d.ts +0 -1
  98. package/dist/types/qe-signature.d.ts +0 -1
  99. package/dist/types/selfie.d.ts +0 -1
  100. package/dist/types/signature.d.ts +0 -1
  101. package/dist/types/watchlist.d.ts +0 -1
  102. package/dist/types/workflow.d.ts +0 -1
  103. package/dist/{typography-Dn_SWwB2.js → typography-Duug0raB.js} +2 -2
  104. package/dist/{uiConfig-BfJ9gLl7.js → uiConfig-CwpQ-IM6.js} +1 -1
  105. package/dist/{useModuleLoader-bEVfQbmU.js → useModuleLoader-T6BIz-cA.js} +169 -188
  106. package/dist/{vendor-preact-DYq0_Qbr.js → vendor-preact-D6SntenC.js} +1 -1
  107. package/dist/{verificationResult-1XSMhl4d.js → verificationResult-DTfsw2w2.js} +8 -8
  108. package/dist/{verifiedByIncode-aGOV-V9q.js → verifiedByIncode-CiuBhYBD.js} +2 -2
  109. package/dist/watchlist/watchlist.es.js +7 -7
  110. package/dist/{watchlistForBusiness-C_i_7Z6J.js → watchlistForBusiness-DirZZuYu.js} +11 -11
  111. package/dist/workflow/workflow.es.js +51 -50
  112. package/package.json +2 -2
  113. package/dist/ae-signature-D316IMg7.js +0 -5
  114. package/dist/antifraud-CB-yiVmj.js +0 -5
  115. package/dist/consent-CmVHHfh0.js +0 -5
  116. package/dist/curp-validation-BZu1862x.js +0 -5
  117. package/dist/custom-fields-Dy2zIWk5.js +0 -5
  118. package/dist/dateInputComposed-B1930wH-.js +0 -1
  119. package/dist/document-capture-klKhslw_.js +0 -5
  120. package/dist/dropdownComposed-D94RHyH9.js +0 -1
  121. package/dist/ekyb-AJ5pLamL.js +0 -5
  122. package/dist/ekybModule-uLHrvaE0.js +0 -2
  123. package/dist/ekyc-CGHe6KZF.js +0 -5
  124. package/dist/ekycModule-PeVktYEv.js +0 -2
  125. package/dist/electronic-signature-CmWQ5m7Z.js +0 -5
  126. package/dist/email-46LcB-zG.js +0 -5
  127. package/dist/face-match-fK60MxjZ.js +0 -5
  128. package/dist/faceMatch-B2oadZzM.js +0 -2
  129. package/dist/flow-rPJJbW6T.js +0 -5
  130. package/dist/geolocation-tgDRHF5G.js +0 -5
  131. package/dist/governmentValidation-CRpowRw3.js +0 -5
  132. package/dist/id-Czs29YjP.js +0 -5
  133. package/dist/id-ocr-De0CziTg.js +0 -5
  134. package/dist/identity-reuse-DRaYjwgl.js +0 -5
  135. package/dist/incodeModule-4-Ij3Hzt.js +0 -74
  136. package/dist/inputComposed-BYIbvEZU.js +0 -1
  137. package/dist/mandatory-consent-Cwa_D62s.js +0 -5
  138. package/dist/phone-ChAbJlMB.js +0 -5
  139. package/dist/qe-signature-C4R5aFPn.js +0 -5
  140. package/dist/redirect-to-mobile-CEkqbyYW.js +0 -5
  141. package/dist/selfie-DoBsWHhr.js +0 -5
  142. package/dist/signature-CEHAjVar.js +0 -5
  143. package/dist/spinner-iH4HWMX6.js +0 -1
  144. package/dist/watchlist-BdGy5gvP.js +0 -5
  145. package/dist/watchlist-for-business-CubjHodP.js +0 -5
  146. package/dist/workflow-nsiRkTFR.js +0 -5
  147. /package/dist/{aligndevicelottie-DuYKqFRv.js → aligndevicelottie-m1gBGZsQ.js} +0 -0
  148. /package/dist/{back-tutorial-BveT-Gpg.js → back-tutorial-ClQ08AWx.js} +0 -0
  149. /package/dist/{backdevicelottie-CVSnQFM6.js → backdevicelottie-WEvEwLBA.js} +0 -0
  150. /package/dist/{blurdevicelottie-DXyCiuOu.js → blurdevicelottie-BNBU2EIM.js} +0 -0
  151. /package/dist/{browser-ponyfill-Dz8mnsAS.js → browser-ponyfill-DRrmY6DO.js} +0 -0
  152. /package/dist/{flip-animation-CpYPskQi.js → flip-animation-Tm2zxXjs.js} +0 -0
  153. /package/dist/{frontdevicelottie-7OcabHg2.js → frontdevicelottie-BtbZEtwd.js} +0 -0
  154. /package/dist/{glaredevicelottie-CU-7f-1E.js → glaredevicelottie-CGQ0DCXc.js} +0 -0
  155. /package/dist/{id-laser-h-DVprNART.js → id-laser-h-oGOFXEpO.js} +0 -0
  156. /package/dist/{id-laser-v-DHSmrhm6.js → id-laser-v-DfWJik9l.js} +0 -0
  157. /package/dist/{id-tutorial-DC_FMKi3.js → id-tutorial-C4q-3j3J.js} +0 -0
  158. /package/dist/{passport-tutorial-DglDEWHt.js → passport-tutorial-DhEHJZeD.js} +0 -0
  159. /package/dist/{pdf-CbjnpyBF.js → pdf-DmP3zO_j.js} +0 -0
  160. /package/dist/{selfieTutorial-Cssu-Gmy.js → selfieTutorial-D8I_4Oam.js} +0 -0
@@ -1,15 +1,14 @@
1
- import { i as e, r as t } from "./i18n-BNE9nYru.js";
2
- import { S as n, _ as r, l as i, p as a, v as o } from "./vendor-preact-DYq0_Qbr.js";
3
- import { t as s } from "./uiConfig-BfJ9gLl7.js";
4
- import { t as c } from "./button-DXxszYOu.js";
5
- import { n as l, r as u } from "./incodeModule-4-Ij3Hzt.js";
6
- import { initializeWasmUtil as d, resolveWasmConfig as f, setWasmConfig as p, warmupWasm as m } from "@incodetech/core/wasm";
7
- import { setup as h } from "@incodetech/core";
8
- import { getDeviceClass as g } from "@incodetech/core/device";
9
- import { createOrchestratedFlowManager as ee, getFlow as _, getRequiredWasmPipelines as v } from "@incodetech/core/flow";
10
- import { api as y } from "@incodetech/core/http";
1
+ import { i as e, r as t } from "./i18n-ntrVdqVv.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";
11
10
  //#region src/styles/generatePalette.ts
12
- function b(e) {
11
+ function v(e) {
13
12
  let t = e.replace("#", "");
14
13
  t.length === 3 && (t = t.split("").map((e) => e + e).join(""));
15
14
  let n = /^([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
@@ -35,7 +34,7 @@ function b(e) {
35
34
  l: u * 100
36
35
  };
37
36
  }
38
- function x(e, t, n) {
37
+ function y(e, t, n) {
39
38
  let r = e / 360, i = t / 100, a = n / 100, o, s, c;
40
39
  if (i === 0) o = s = c = a;
41
40
  else {
@@ -48,24 +47,24 @@ function x(e, t, n) {
48
47
  };
49
48
  return `#${l(o)}${l(s)}${l(c)}`;
50
49
  }
51
- function S(e) {
52
- let t = b(e);
50
+ function b(e) {
51
+ let t = v(e);
53
52
  if (!t) throw Error(`Invalid color format: ${e}`);
54
53
  return {
55
- 50: x(t.h, t.s, 95),
56
- 200: x(t.h, t.s, 80),
57
- 300: x(t.h, t.s, 65),
58
- 400: x(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)),
59
58
  500: e,
60
- 600: x(t.h, t.s, Math.max(0, t.l - 10)),
61
- 900: x(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)
62
61
  };
63
62
  }
64
63
  //#endregion
65
64
  //#region src/styles/applyTheme.ts
66
- function C(e, t) {
65
+ function x(e, t) {
67
66
  if (typeof document > "u") return;
68
- let n = S(e), r = document.getElementById("incode-theme");
67
+ let n = b(e), r = document.getElementById("incode-theme");
69
68
  r || (r = document.createElement("style"), r.id = "incode-theme", document.head.appendChild(r));
70
69
  let i = t || "#ffffff", a = `
71
70
  :root,
@@ -84,46 +83,43 @@ function C(e, t) {
84
83
  }
85
84
  //#endregion
86
85
  //#region src/styles/fetchTheme.ts
87
- async function w() {
88
- return (await y.get("/omni/asset/fetch-all")).data;
86
+ async function S() {
87
+ return (await _.get("/omni/asset/fetch-all")).data;
89
88
  }
90
- var T = /* @__PURE__ */ new Map();
91
- async function E(e) {
89
+ var C = /* @__PURE__ */ new Map();
90
+ async function w(e) {
92
91
  if (e.startsWith("data:")) return e;
93
- let t = T.get(e);
92
+ let t = C.get(e);
94
93
  if (t) return t;
95
94
  let n = await (await fetch(e)).blob(), r = await new Promise((e, t) => {
96
95
  let r = new FileReader();
97
96
  r.onloadend = () => e(r.result), r.onerror = t, r.readAsDataURL(n);
98
97
  });
99
- return T.set(e, r), r;
98
+ return C.set(e, r), r;
100
99
  }
101
- async function D() {
102
- let e = await w();
100
+ async function T() {
101
+ let e = await S();
103
102
  if (!e.theme) throw Error("Theme URL not found in assets response");
104
103
  let t = e.theme, n = t.startsWith("http://") || t.startsWith("https://"), r;
105
104
  if (n) {
106
105
  let e = await fetch(t);
107
106
  if (!e.ok) throw Error(`Failed to fetch theme: ${e.statusText}`);
108
107
  r = await e.json();
109
- } else r = (await y.get(t)).data;
108
+ } else r = (await _.get(t)).data;
110
109
  let i = e["logo.png"] || e["logo.svg"] || e["logo.jpg"] || e["logo.jpeg"] || e["logo.webp"] || r.logo, a = i;
111
- return i && (a = await E(i)), {
110
+ return i && (a = await w(i)), {
112
111
  ...r,
113
112
  logo: a
114
113
  };
115
114
  }
116
- async function O() {
117
- let e = await D();
118
- return e.main && C(e.main, e.buttonColor), e;
115
+ async function E() {
116
+ let e = await T();
117
+ return e.main && x(e.main, e.buttonColor), e;
119
118
  }
120
119
  //#endregion
121
120
  //#region src/modules/flow/flowInit.ts
122
- var k = () => import("./id/id.es.js").then((e) => e.Id), A = (e, t) => ({
123
- cssId: e,
124
- loadComponent: t
125
- }), j = () => import("./homeScreen-nNYHPykv.js").then((e) => e.HomeScreen), M;
126
- function N(e) {
121
+ var D = () => import("./id/id.es.js").then((e) => e.Id), O = () => import("./homeScreen-Dc3ipd-q.js").then((e) => e.HomeScreen), k;
122
+ function A(e) {
127
123
  if (e === "REDIRECT_TO_MOBILE") return () => import("@incodetech/core/redirect-to-mobile").then((e) => e.redirectToMobileMachine);
128
124
  if (e === "PHONE") return () => import("@incodetech/core/phone").then((e) => e.phoneMachine);
129
125
  if (e === "EMAIL") return () => import("@incodetech/core/email").then((e) => e.emailMachine);
@@ -150,99 +146,99 @@ function N(e) {
150
146
  if (e === "QE_SIGNATURE") return () => import("@incodetech/core/qe-signature").then((e) => e.qeSignatureMachine);
151
147
  if (e === "CROSS_DOCUMENT_DATA_MATCH") return () => import("@incodetech/core/cross-document-data-match").then((e) => e.crossDocumentDataMatchMachine);
152
148
  }
153
- function P(e) {
149
+ function j(e) {
154
150
  let t = {};
155
151
  for (let n of e) {
156
152
  let e = n.key;
157
153
  if (t[e]) continue;
158
- let r = N(e);
154
+ let r = A(e);
159
155
  r && (t[e] = r);
160
156
  }
161
157
  return t;
162
158
  }
163
- var F = {
164
- REDIRECT_TO_MOBILE: A("incode-redirect-to-mobile", () => import("./redirectToMobile-BtsF6N0g.js").then((e) => e.RedirectToMobile)),
165
- PHONE: A("incode-phone", () => import("./phone/phone.es.js").then((e) => e.Phone)),
166
- EMAIL: A("incode-email", () => import("./email/email.es.js").then((e) => e.Email)),
167
- SELFIE: A("incode-selfie", () => import("./selfie/selfie.es.js").then((e) => e.Selfie)),
168
- AUTHENTICATION: A("incode-authentication", () => import("./authentication/authentication.es.js").then((e) => e.Authentication)),
169
- ID: A("incode-id", k),
170
- ID_CAPTURE: A("incode-id", k),
171
- TUTORIAL_ID: A("incode-id", k),
172
- SECOND_ID: A("incode-id", k),
173
- FACE_MATCH: A("incode-face-match", () => import("./faceMatch-B2oadZzM.js").then((e) => e.FaceMatch)),
174
- CURP_VALIDATION: A("incode-curp-validation", () => import("./curp-validation/curp-validation.es.js").then((e) => e.CurpValidation)),
175
- GOVT_VALIDATION_PROVISIONING: A("incode-government-validation", () => import("./governmentValidation/governmentValidation.es.js").then((e) => e.GovernmentValidation)),
176
- GEOLOCATION: A("incode-geolocation", () => import("./geolocation/geolocation.es.js").then((e) => e.Geolocation)),
177
- EXTERNAL_VERIFICATION: A("incode-ekyc", () => import("./ekycModule-PeVktYEv.js").then((e) => e.EkycModule)),
178
- EKYB: A("incode-ekyb", () => import("./ekybModule-uLHrvaE0.js").then((e) => e.EkybModule)),
179
- DOCUMENT_CAPTURE: A("incode-document-capture", () => import("./documentCapture-Bmnd-HoI.js").then((e) => e.DocumentCapture)),
180
- ADDRESS: A("incode-document-capture", () => import("./documentCapture-Bmnd-HoI.js").then((e) => e.DocumentCapture)),
181
- COMBINED_CONSENT: A("incode-consent", () => import("./consent/consent.es.js").then((e) => e.Consent)),
182
- MANDATORY_CONSENT: A("incode-mandatory-consent", () => import("./mandatoryConsent-BxmewvFy.js").then((e) => e.MandatoryConsent)),
183
- SIGNATURE: A("incode-signature", () => import("./signature/signature.es.js").then((e) => e.Signature)),
184
- ID_OCR: A("incode-id-ocr", () => import("./idOcr-DWF6lFjq.js").then((e) => e.IdOcr)),
185
- ANTIFRAUD: A("incode-antifraud", () => import("./antifraud/antifraud.es.js").then((e) => e.Antifraud)),
186
- CUSTOM_FIELDS: A("incode-custom-fields", () => import("./customFields-D2wZYEIM.js").then((e) => e.CustomFields)),
187
- WATCHLIST: A("incode-watchlist", () => import("./watchlist/watchlist.es.js").then((e) => e.Watchlist)),
188
- WATCHLIST_BUSINESS: A("incode-watchlist-for-business", () => import("./watchlistForBusiness-C_i_7Z6J.js").then((e) => e.WatchlistForBusiness)),
189
- INCODE_WATCHLIST: A("incode-custom-watchlist", () => import("./customWatchlist-qxLVolwh.js").then((e) => e.CustomWatchlist)),
190
- AE_SIGNATURE: A("incode-ae-signature", () => import("./ae-signature/ae-signature.es.js").then((e) => e.AeSignature)),
191
- QE_SIGNATURE: A("incode-qe-signature", () => import("./qe-signature/qe-signature.es.js").then((e) => e.QeSignature)),
192
- CROSS_DOCUMENT_DATA_MATCH: A("incode-cross-document-data-match", () => import("./cross-document-data-match/cross-document-data-match.es.js").then((e) => e.CrossDocumentDataMatch))
159
+ var M = {
160
+ REDIRECT_TO_MOBILE: () => import("./redirectToMobile-DfUzha84.js").then((e) => e.RedirectToMobile),
161
+ PHONE: () => import("./phone/phone.es.js").then((e) => e.Phone),
162
+ EMAIL: () => import("./email/email.es.js").then((e) => e.Email),
163
+ SELFIE: () => import("./selfie/selfie.es.js").then((e) => e.Selfie),
164
+ AUTHENTICATION: () => import("./authentication/authentication.es.js").then((e) => e.Authentication),
165
+ ID: D,
166
+ ID_CAPTURE: D,
167
+ TUTORIAL_ID: D,
168
+ SECOND_ID: D,
169
+ FACE_MATCH: () => import("./faceMatch-CsBQRvhN.js").then((e) => e.FaceMatch),
170
+ CURP_VALIDATION: () => import("./curp-validation/curp-validation.es.js").then((e) => e.CurpValidation),
171
+ GOVT_VALIDATION_PROVISIONING: () => import("./governmentValidation/governmentValidation.es.js").then((e) => e.GovernmentValidation),
172
+ GEOLOCATION: () => import("./geolocation/geolocation.es.js").then((e) => e.Geolocation),
173
+ EXTERNAL_VERIFICATION: () => import("./ekycModule-B_pmX3EX.js").then((e) => e.EkycModule),
174
+ EKYB: () => import("./ekybModule-pKz3HZFJ.js").then((e) => e.EkybModule),
175
+ DOCUMENT_CAPTURE: () => import("./documentCapture-BD-LU6Y1.js").then((e) => e.DocumentCapture),
176
+ ADDRESS: () => import("./documentCapture-BD-LU6Y1.js").then((e) => e.DocumentCapture),
177
+ COMBINED_CONSENT: () => import("./consent/consent.es.js").then((e) => e.Consent),
178
+ MANDATORY_CONSENT: () => import("./mandatoryConsent-OCdxJMmo.js").then((e) => e.MandatoryConsent),
179
+ SIGNATURE: () => import("./signature/signature.es.js").then((e) => e.Signature),
180
+ ID_OCR: () => import("./idOcr-DyEsmJUm.js").then((e) => e.IdOcr),
181
+ ANTIFRAUD: () => import("./antifraud/antifraud.es.js").then((e) => e.Antifraud),
182
+ CUSTOM_FIELDS: () => import("./customFields-ClP-OHqQ.js").then((e) => e.CustomFields),
183
+ WATCHLIST: () => import("./watchlist/watchlist.es.js").then((e) => e.Watchlist),
184
+ WATCHLIST_BUSINESS: () => import("./watchlistForBusiness-DirZZuYu.js").then((e) => e.WatchlistForBusiness),
185
+ INCODE_WATCHLIST: () => import("./customWatchlist-DaNMXtkt.js").then((e) => e.CustomWatchlist),
186
+ AE_SIGNATURE: () => import("./ae-signature/ae-signature.es.js").then((e) => e.AeSignature),
187
+ QE_SIGNATURE: () => import("./qe-signature/qe-signature.es.js").then((e) => e.QeSignature),
188
+ CROSS_DOCUMENT_DATA_MATCH: () => import("./cross-document-data-match/cross-document-data-match.es.js").then((e) => e.CrossDocumentDataMatch)
193
189
  };
194
- function I() {
195
- return j();
190
+ function N() {
191
+ return O();
196
192
  }
197
- function L() {
198
- M || (M = I(), M.catch(() => {
199
- M = void 0;
193
+ function P() {
194
+ k || (k = N(), k.catch(() => {
195
+ k = void 0;
200
196
  }));
201
197
  }
202
- var R;
203
- function z() {
204
- if (R) return;
205
- let e = F.REDIRECT_TO_MOBILE, t = N("REDIRECT_TO_MOBILE"), n = [];
206
- e && n.push(l(e.cssId), e.loadComponent()), t && n.push(t()), R = Promise.all(n), R.catch(() => {
207
- R = void 0;
198
+ var F;
199
+ function I() {
200
+ if (F) return;
201
+ let e = M.REDIRECT_TO_MOBILE, t = A("REDIRECT_TO_MOBILE"), n = [];
202
+ e && n.push(e()), t && n.push(t()), F = Promise.all(n), F.catch(() => {
203
+ F = void 0;
208
204
  });
209
205
  }
210
- function B(e = {}) {
211
- let t = {}, n = e.isDesktop ?? g() === "desktop", { enableHome: r, ...i } = e;
212
- return ee({
206
+ function L(e = {}) {
207
+ let t = {}, n = e.isDesktop ?? p() === "desktop", { enableHome: r, ...i } = e;
208
+ return m({
213
209
  enableHome: r,
214
210
  getFlow: async (e) => {
215
- let r = await _(e, {
211
+ let r = await h(e, {
216
212
  ...i,
217
213
  isDesktop: n
218
- }), a = P(r.flowModules ?? []);
214
+ }), a = j(r.flowModules ?? []);
219
215
  for (let e of Object.keys(t)) delete t[e];
220
216
  return Object.assign(t, a), r;
221
217
  },
222
218
  lazyModules: t
223
219
  });
224
220
  }
225
- async function V(n) {
226
- await h({
221
+ async function R(n) {
222
+ await f({
227
223
  token: n.token,
228
224
  wasm: !1
229
225
  }), t(e(n.lang ? { lang: n.lang } : void 0));
230
226
  }
231
- async function H(e) {
227
+ async function z(e) {
232
228
  let { token: t, lang: n, flowManager: r } = e;
233
- await V({
229
+ await R({
234
230
  token: t,
235
231
  lang: n
236
232
  }), r.load();
237
233
  }
238
- async function U() {
234
+ async function B() {
239
235
  try {
240
- let e = await O(), t = {
236
+ let e = await E(), t = {
241
237
  logoSrc: e.logo,
242
238
  subtitle: e.subtitle,
243
239
  hideFooterBranding: e.hideFooterBranding
244
240
  };
245
- return s(t), {
241
+ return o(t), {
246
242
  theme: e,
247
243
  uiConfig: t
248
244
  };
@@ -250,42 +246,42 @@ async function U() {
250
246
  return {};
251
247
  }
252
248
  }
253
- function W(e, t) {
249
+ function V(e, t) {
254
250
  if (e.currentStep === "REDIRECT_TO_MOBILE") return;
255
- let n = v(e.flow);
251
+ let n = g(e.flow);
256
252
  if (n.length > 0) {
257
- let e = f({
253
+ let e = l({
258
254
  ...t ?? {},
259
255
  pipelines: n
260
256
  }), r = {
261
257
  ...e,
262
258
  pipelines: e.pipelines ? [...e.pipelines] : void 0
263
259
  };
264
- p(r), m(e).then(() => d(r)).catch((e) => {
260
+ u(r), d(e).then(() => c(r)).catch((e) => {
265
261
  console.error("WASM warmup failed:", e);
266
262
  });
267
263
  }
268
264
  }
269
- function G(e) {
265
+ function H(e) {
270
266
  let t = e.currentStep;
271
267
  if (t) {
272
- let e = F[t];
273
- e && Promise.all([l(e.cssId), e.loadComponent()]).catch(() => {});
268
+ let e = M[t];
269
+ e && e().catch(() => {});
274
270
  }
275
271
  }
276
272
  //#endregion
277
273
  //#region src/modules/flow/unsupportedModule.tsx
278
- var K = ({ moduleKey: e, onNext: t }) => /* @__PURE__ */ o("section", {
274
+ var U = ({ moduleKey: e, onNext: t }) => /* @__PURE__ */ a("section", {
279
275
  class: "IncodeUnsupportedModule",
280
276
  "aria-live": "polite",
281
- children: /* @__PURE__ */ o("div", {
277
+ children: /* @__PURE__ */ a("div", {
282
278
  class: "IncodeUnsupportedModuleContent",
283
279
  children: [
284
- /* @__PURE__ */ o("h2", {
280
+ /* @__PURE__ */ a("h2", {
285
281
  class: "IncodeUnsupportedModuleTitle",
286
282
  children: "Module not available"
287
283
  }),
288
- /* @__PURE__ */ o("p", {
284
+ /* @__PURE__ */ a("p", {
289
285
  class: "IncodeUnsupportedModuleMessage",
290
286
  children: [
291
287
  "The \"",
@@ -293,7 +289,7 @@ var K = ({ moduleKey: e, onNext: t }) => /* @__PURE__ */ o("section", {
293
289
  "\" module is not yet supported in this version."
294
290
  ]
295
291
  }),
296
- /* @__PURE__ */ o(c, {
292
+ /* @__PURE__ */ a(s, {
297
293
  onClick: t,
298
294
  class: "IncodeUnsupportedModuleButton",
299
295
  "data-testid": "unsupported-module-next-button",
@@ -304,131 +300,117 @@ var K = ({ moduleKey: e, onNext: t }) => /* @__PURE__ */ o("section", {
304
300
  });
305
301
  //#endregion
306
302
  //#region src/modules/flow/useModuleLoader.ts
307
- function q(e, t) {
303
+ function W(e, t) {
308
304
  return e instanceof Error ? e.message : t;
309
305
  }
310
- var J = /* @__PURE__ */ new WeakMap(), Y = /* @__PURE__ */ new WeakMap();
311
- function X(e) {
312
- if (e) return J.get(e)?.Component;
306
+ var G = /* @__PURE__ */ new WeakMap(), K = /* @__PURE__ */ new WeakMap();
307
+ function q(e) {
308
+ return e;
313
309
  }
314
- function Z(e, t) {
315
- let n = J.get(e);
316
- if (n) return u(e.cssId, n.css, t), Promise.resolve(n.Component);
317
- let r = Y.get(e);
318
- if (r) return r.then((n) => (u(e.cssId, n.css, t), n.Component));
319
- let i = Promise.all([l(e.cssId), e.loadComponent()]).then(([t, n]) => {
320
- let r = {
321
- css: t,
322
- Component: n
323
- };
324
- return J.set(e, r), Y.delete(e), r;
325
- }).catch((t) => {
326
- throw Y.delete(e), t;
310
+ function J(e) {
311
+ if (e) return G.get(q(e));
312
+ }
313
+ function Y(e) {
314
+ let t = q(e), n = G.get(t);
315
+ if (n) return Promise.resolve(n);
316
+ let r = K.get(t);
317
+ if (r) return r;
318
+ let i = e().then((e) => (G.set(t, e), K.delete(t), e)).catch((e) => {
319
+ throw K.delete(t), e;
327
320
  });
328
- return Y.set(e, i), i.then((n) => (u(e.cssId, n.css, t), n.Component));
321
+ return K.set(t, i), i;
329
322
  }
330
- function Q(e) {
323
+ function X(e) {
331
324
  if (!e) return { status: "idle" };
332
- let t = X(e);
325
+ let t = J(e);
333
326
  return t ? {
334
327
  status: "loaded",
335
328
  Component: t
336
329
  } : { status: "loading" };
337
330
  }
338
- function te(e, t) {
339
- return t === !0 ? (r) => n(e, {
340
- ...r,
341
- disableCss: t
342
- }) : e;
343
- }
344
- function $(e) {
345
- let { loader: t, disableCss: n, onLoading: o, onLoaded: s, onError: c } = e, [l, u] = a(() => Q(t)), d = i(t), f = i(n), p = i(o), m = i(s), h = i(c);
346
- return r(() => {
347
- f.current = n, p.current = o, m.current = s, h.current = c;
331
+ function Z(e) {
332
+ 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);
333
+ return n(() => {
334
+ d.current = a, f.current = o, p.current = s;
348
335
  }, [
349
- n,
336
+ a,
350
337
  o,
351
- s,
352
- c
353
- ]), d.current !== t && (d.current = t, u(Q(t))), r(() => {
338
+ s
339
+ ]), u.current !== t && (u.current = t, l(X(t))), n(() => {
354
340
  if (!t) return;
355
- if (X(t)) {
356
- Z(t, f.current), m.current?.();
341
+ if (J(t)) {
342
+ f.current?.();
357
343
  return;
358
344
  }
359
- p.current?.();
345
+ d.current?.();
360
346
  let e = !1;
361
- return Z(t, f.current).then((t) => {
362
- e || (u({
347
+ return Y(t).then((t) => {
348
+ e || (l({
363
349
  status: "loaded",
364
350
  Component: t
365
- }), m.current?.());
351
+ }), f.current?.());
366
352
  }).catch((t) => {
367
353
  if (!e) {
368
- let e = q(t, "Failed to load component");
369
- u({
354
+ let e = W(t, "Failed to load component");
355
+ l({
370
356
  status: "error",
371
357
  error: e
372
- }), h.current?.(e);
358
+ }), p.current?.(e);
373
359
  }
374
360
  }), () => {
375
361
  e = !0;
376
362
  };
377
- }, [t, n]), l;
363
+ }, [t]), c;
378
364
  }
379
- function ne(e) {
380
- let { moduleKey: t, modules: n, disableCss: i, onModuleLoading: o, onModuleLoaded: s, onError: c } = e, [l, u] = a(void 0), d = t ? n[t] : void 0, f = $({
381
- loader: d,
382
- disableCss: i,
383
- onLoading: t ? () => o?.(t) : void 0,
384
- onLoaded: t ? () => s?.(t) : void 0,
385
- onError: t ? (e) => c?.(`Failed to load ${t}: ${e}`) : void 0
365
+ function Q(e) {
366
+ 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({
367
+ loader: u,
368
+ onLoading: t ? () => a?.(t) : void 0,
369
+ onLoaded: t ? () => o?.(t) : void 0,
370
+ onError: t ? (e) => s?.(`Failed to load ${t}: ${e}`) : void 0
386
371
  });
387
- return r(() => {
372
+ return n(() => {
388
373
  if (!t) {
389
- u(void 0);
374
+ l(void 0);
390
375
  return;
391
376
  }
392
- u(d ? void 0 : t);
393
- }, [d, t]), t ? l ? {
377
+ l(u ? void 0 : t);
378
+ }, [u, t]), t ? c ? {
394
379
  status: "unsupported",
395
- moduleKey: l
396
- } : f.status === "idle" || f.status === "loading" ? {
380
+ moduleKey: c
381
+ } : d.status === "idle" || d.status === "loading" ? {
397
382
  status: "loading",
398
383
  moduleKey: t
399
- } : f.status === "error" ? {
384
+ } : d.status === "error" ? {
400
385
  status: "error",
401
386
  moduleKey: t,
402
- error: f.error
387
+ error: d.error
403
388
  } : {
404
389
  status: "loaded",
405
390
  moduleKey: t,
406
- Component: te(f.Component, i)
391
+ Component: d.Component
407
392
  } : { status: "idle" };
408
393
  }
409
- function re(e) {
410
- let { moduleKey: t, modules: n, disableCss: r } = e, i = t ? n[t] : void 0, a = $({
411
- loader: i,
412
- disableCss: r
413
- });
414
- return i != null && a.status === "loaded";
394
+ function $(e) {
395
+ let { moduleKey: t, modules: n } = e, r = t ? n[t] : void 0, i = Z({ loader: r });
396
+ return r != null && i.status === "loaded";
415
397
  }
416
- function ie(e) {
398
+ function ee(e) {
417
399
  typeof requestIdleCallback < "u" ? requestIdleCallback(() => {
418
400
  e();
419
401
  }) : setTimeout(e, 0);
420
402
  }
421
- function ae(e, t, n, a, o) {
422
- let s = i(/* @__PURE__ */ new Set());
423
- r(() => {
403
+ function te(e, t, i, a) {
404
+ let o = r(/* @__PURE__ */ new Set());
405
+ n(() => {
424
406
  if (a && t < e.length - 1) {
425
- let r = e[t + 1];
426
- if (r && !s.current.has(r)) {
427
- s.current.add(r);
428
- let e = n[r];
429
- e && ie(() => {
430
- Z(e, o).catch(() => {
431
- s.current.delete(r);
407
+ let n = e[t + 1];
408
+ if (n && !o.current.has(n)) {
409
+ o.current.add(n);
410
+ let e = i[n];
411
+ e && ee(() => {
412
+ e().catch(() => {
413
+ o.current.delete(n);
432
414
  });
433
415
  });
434
416
  }
@@ -436,10 +418,9 @@ function ae(e, t, n, a, o) {
436
418
  }, [
437
419
  e,
438
420
  t,
439
- n,
440
- a,
441
- o
421
+ i,
422
+ a
442
423
  ]);
443
424
  }
444
425
  //#endregion
445
- export { F as a, H as c, z as d, V as f, K as i, G as l, O as m, re as n, B as o, W as p, ae as r, U as s, ne as t, L as u };
426
+ 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 };
@@ -955,4 +955,4 @@ var Et = function(e) {
955
955
  }, t;
956
956
  }(S);
957
957
  //#endregion
958
- export { x as C, y as S, be as _, Re as a, R as b, We as c, K as d, G as f, we as g, Ce as h, Ne as i, xe as l, Te as m, pt as n, Y as o, ve as p, Je as r, lt as s, Et as t, Se as u, le as v, r as w, se as x, k as y };
958
+ export { r as C, x as S, be as _, Re as a, R as b, We as c, K as d, G as f, we as g, Ce as h, Ne as i, xe as l, Te as m, pt as n, Y as o, ve as p, Je as r, lt as s, Et as t, Se as u, le as v, se as x, k as y };
@@ -1,11 +1,11 @@
1
- import { n as e } from "./i18n-BNE9nYru.js";
2
- import { _ as t, l as n, v as r } from "./vendor-preact-DYq0_Qbr.js";
3
- import { t as i } from "./page-C_Z2vd8q.js";
4
- import { t as a } from "./typography-Dn_SWwB2.js";
5
- import { t as o } from "./spinner-DTwtoppQ.js";
6
- import { t as s } from "./button-DXxszYOu.js";
7
- import { g as c, h as l } from "./icons-B9-0K6zx.js";
8
- import { t as u } from "./successIcon-COlazRl-.js";
1
+ import { n as e } from "./i18n-ntrVdqVv.js";
2
+ import { _ as t, l as n, v as r } from "./vendor-preact-D6SntenC.js";
3
+ import { t as i } from "./page-BB20C-zy.js";
4
+ import { t as a } from "./typography-Duug0raB.js";
5
+ import { t as o } from "./spinner-Cj7kdZ0T.js";
6
+ import { t as s } from "./button-i4SPU5G7.js";
7
+ import { g as c, h as l } from "./icons-Bk44oy5t.js";
8
+ import { t as u } from "./successIcon-SlKgTSty.js";
9
9
  //#region src/shared/verificationResult/verificationResult.tsx
10
10
  var d = ({ status: d, submittingTitle: f, successTitle: p, failureTitle: m, warningTitle: h, submittingSubtitle: g, onRetry: _, onSkip: v, retryLabel: y, skipLabel: b }) => {
11
11
  let { t: x } = e(), S = n(null);
@@ -1,5 +1,5 @@
1
- import { v as e } from "./vendor-preact-DYq0_Qbr.js";
2
- import { n as t } from "./uiConfig-BfJ9gLl7.js";
1
+ import { v as e } from "./vendor-preact-D6SntenC.js";
2
+ import { n as t } from "./uiConfig-CwpQ-IM6.js";
3
3
  //#region src/shared/page/pageUiConfig.ts
4
4
  function n(e) {
5
5
  for (let t of e) if (t !== void 0) return t;
@@ -1,10 +1,10 @@
1
- import { n as e } from "../i18n-BNE9nYru.js";
2
- import { _ as t, l as n, v as r } from "../vendor-preact-DYq0_Qbr.js";
3
- import { o as i, t as a } from "../incodeComponent-Bj2iIi3-.js";
4
- import { t as o } from "../loadingIcon-BWeYwnoO.js";
5
- import { t as s } from "../successIcon-COlazRl-.js";
6
- import { t as c } from "../incodeModule-4-Ij3Hzt.js";
7
- import { t as l } from "../statusPage-BTF4FmJT.js";
1
+ import { n as e } from "../i18n-ntrVdqVv.js";
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-DexcYK3Y.js";
4
+ import { t as o } from "../loadingIcon-C-Sq5v_K.js";
5
+ import { t as s } from "../successIcon-SlKgTSty.js";
6
+ import { t as c } from "../incodeModule-CHzKl22Y.js";
7
+ import { t as l } from "../statusPage-DUnznjtg.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-BNE9nYru.js";
2
- import { _ as t, l as n, v as r } from "./vendor-preact-DYq0_Qbr.js";
3
- import { o as i, t as a } from "./incodeComponent-Bj2iIi3-.js";
4
- import { t as o } from "./page-C_Z2vd8q.js";
5
- import { t as s } from "./loadingIcon-BWeYwnoO.js";
6
- import { t as c } from "./button-DXxszYOu.js";
7
- import { t as l } from "./successIcon-COlazRl-.js";
8
- import { t as u } from "./inputComposed-CZYVA9pY.js";
9
- import { t as d } from "./incodeModule-4-Ij3Hzt.js";
10
- import { t as f } from "./countrySelector-DcKjrQye.js";
11
- import { t as p } from "./statusPage-BTF4FmJT.js";
1
+ import { n as e } from "./i18n-ntrVdqVv.js";
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-DexcYK3Y.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-SlKgTSty.js";
8
+ import { t as u } from "./inputComposed-4aHO5YRK.js";
9
+ import { t as d } from "./incodeModule-CHzKl22Y.js";
10
+ import { t as f } from "./countrySelector-B3JOaReM.js";
11
+ import { t as p } from "./statusPage-DUnznjtg.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 }) => {