@incodetech/web 0.0.0-dev-20260403-10f7d94 → 0.0.0-dev-20260403-eccc51c

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 (57) hide show
  1. package/dist/{Trans-DiTufE_D.js → Trans-aTzdT_SA.js} +1 -1
  2. package/dist/{addressAutocomplete-BSE71Kua.js → addressAutocomplete-C8-wL1j_.js} +4 -4
  3. package/dist/antifraud/antifraud.es.js +18 -0
  4. package/dist/antifraud/styles.css +2 -0
  5. package/dist/authentication/authentication.es.js +3 -3
  6. package/dist/button-CE9kRlem.js +184 -0
  7. package/dist/{cameraView-DXT7CWqE.js → cameraView-C2X7klNb.js} +1 -1
  8. package/dist/{captureOverlay-wQmz2Z5r.js → captureOverlay-tCb4R4WE.js} +18 -17
  9. package/dist/{checkbox-wo8qk7tM.js → checkbox-B5X-mfqq.js} +2 -2
  10. package/dist/{chevronDown-BksFjKhp.js → chevronDown-DSHaPKbi.js} +1 -1
  11. package/dist/{closeIcon-5Xq6MCZa.js → closeIcon-9Hc97omv.js} +1 -1
  12. package/dist/consent/consent.es.js +24 -23
  13. package/dist/curp-validation/curp-validation.es.js +75 -74
  14. package/dist/{dateInputComposed-D5kgh_aC.js → dateInputComposed-C7PCzh-U.js} +3 -3
  15. package/dist/{documentCapture-8ZOwr7xp.js → documentCapture-C0mO-RGE.js} +111 -110
  16. package/dist/{dropdownComposed-CzAsPPqv.js → dropdownComposed-BpinYlrx.js} +4 -4
  17. package/dist/{ekybModule-RZwNRg6E.js → ekybModule-Dr6LJUg-.js} +18 -17
  18. package/dist/{ekycModule-BgFGstuw.js → ekycModule-C3mswduI.js} +10 -9
  19. package/dist/email/email.es.js +23 -22
  20. package/dist/{errorContent-CnY-Deoi.js → errorContent-Cb8nmQAE.js} +14 -13
  21. package/dist/{errorIcon-DOuc6ONw.js → errorIcon-DEARBrGx.js} +1 -1
  22. package/dist/extensibility.es.js +47 -45
  23. package/dist/{faceMatch-DPa3pI88.js → faceMatch-DbDp7D3d.js} +17 -16
  24. package/dist/{fileIcon-DEli4GR_.js → fileIcon-CCSvS10T.js} +1 -1
  25. package/dist/{flipAnimation-r4wJkacO.js → flipAnimation-BqV462TA.js} +34 -33
  26. package/dist/flow/flow.es.js +126 -121
  27. package/dist/{formField-BoozuV2w.js → formField-CP6wDdfA.js} +29 -28
  28. package/dist/geolocation/geolocation.es.js +28 -27
  29. package/dist/governmentValidation/governmentValidation.es.js +8 -8
  30. package/dist/id/id.es.js +12 -11
  31. package/dist/index.es.js +16 -15
  32. package/dist/{inputComposed-QzDneavl.js → inputComposed-fUbAGrDy.js} +4 -4
  33. package/dist/{uiConfig-DmIn-g8M.js → instance-BWYzq8dk.js} +218 -238
  34. package/dist/loadingIcon-DmuPXh70.js +195 -0
  35. package/dist/mandatoryConsent-5xPI0cor.js +94 -0
  36. package/dist/{manualCaptureButton-CPZ2xxEI.js → manualCaptureButton-BvFmTyJe.js} +21 -20
  37. package/dist/{numberedStep-DiiXAKRd.js → numberedStep-DwUB__mh.js} +1 -1
  38. package/dist/{otpInput-CMi5-n2O.js → otpInput-BFXhqFRT.js} +20 -19
  39. package/dist/{page-D4OThpFS.js → page-SrUl0qtN.js} +16 -15
  40. package/dist/{permissions-BeU3HuVB.js → permissions-DT4Fz9MR.js} +14 -13
  41. package/dist/phone/phone.es.js +12 -11
  42. package/dist/{phoneInput-nmmFFaXI.js → phoneInput-CGr8TxOO.js} +2 -2
  43. package/dist/{phoneInputComposed-BAFZQ4Y8.js → phoneInputComposed-Cm9O2Jba.js} +5 -5
  44. package/dist/{processing-Ss26Ad0W.js → processing-szVOCQwZ.js} +3 -3
  45. package/dist/{richText-Bxe6Ywla.js → richText-cspvNz2a.js} +1 -1
  46. package/dist/selfie/selfie.es.js +4 -4
  47. package/dist/signature/signature.es.js +10 -9
  48. package/dist/{spinner-CLwSl2tJ.js → spinner-DygONskw.js} +2 -2
  49. package/dist/{successIcon-BZphSsQr.js → successIcon-Bjsdc4lF.js} +1 -1
  50. package/dist/{tutorial-BcX5EaL9.js → tutorial-Cdz1025D.js} +19 -18
  51. package/dist/types/antifraud.d.ts +35 -0
  52. package/dist/{typography-CBPoLoAP.js → typography-BDACYR5i.js} +1 -1
  53. package/dist/uiConfig-Dnt-2YWB.js +23 -0
  54. package/dist/{warningIcon-xqaHPxjF.js → warningIcon-DQq_MrOB.js} +1 -1
  55. package/package.json +9 -2
  56. package/dist/button-DXIWeie9.js +0 -373
  57. package/dist/mandatoryConsent-fZUmh40x.js +0 -93
@@ -1,14 +1,15 @@
1
- import { u as l, c as _t, b as F, S as X, B as Z, V as Ot, I as wt, a as It, e as qt, i as Vt } from "../button-DXIWeie9.js";
2
- import { createOrchestratedFlowManager as zt, getRequiredWasmPipelines as Et } from "@incodetech/core/flow";
3
- import { Q as Ht, d as _, k as ne, b as Kt, y as L, z as Gt, P as Yt, q as x, A as Le } from "../vendor-preact-BoMmvSgn.js";
4
- import { api as yt, resolveWasmConfig as jt, warmupWasm as xt } from "@incodetech/core";
5
- import { s as te } from "../uiConfig-DmIn-g8M.js";
1
+ import { u as l, c as _t, b as F, S as X, I as wt, a as It } from "../loadingIcon-DmuPXh70.js";
2
+ import { createOrchestratedFlowManager as Ot, getRequiredWasmPipelines as Et } from "@incodetech/core/flow";
3
+ import { Q as qt, d as _, k as ne, b as Vt, y as L, z as zt, P as Ht, q as x, A as Le } from "../vendor-preact-BoMmvSgn.js";
4
+ import { api as yt, resolveWasmConfig as Kt, warmupWasm as Gt } from "@incodetech/core";
5
+ import "../instance-BWYzq8dk.js";
6
6
  import { r as Tt } from "../incodeModule-C4XIllao.js";
7
- import { S as J } from "../spinner-CLwSl2tJ.js";
8
- import { createRedirectToMobileManager as Jt } from "@incodetech/core/redirect-to-mobile";
9
- import { S as Mt } from "../successIcon-BZphSsQr.js";
7
+ import { S as J } from "../spinner-DygONskw.js";
8
+ import { createRedirectToMobileManager as Yt } from "@incodetech/core/redirect-to-mobile";
9
+ import { B as Z, V as jt, u as xt, i as Jt } from "../button-CE9kRlem.js";
10
+ import { S as Mt } from "../successIcon-Bjsdc4lF.js";
10
11
  import { a as Qt } from "../countries-DfLkrF0x.js";
11
- import { T as Wt } from "../Trans-DiTufE_D.js";
12
+ import { T as Wt } from "../Trans-aTzdT_SA.js";
12
13
  import { ekybMachine as Xt } from "@incodetech/core/ekyb";
13
14
  import { ekycMachine as Zt } from "@incodetech/core/ekyc";
14
15
  import { emailMachine as $t } from "@incodetech/core/email";
@@ -24,13 +25,15 @@ import { governmentValidationMachine as an } from "@incodetech/core/government-v
24
25
  import { consentMachine as cn } from "@incodetech/core/consent";
25
26
  import { mandatoryConsentMachine as ln } from "@incodetech/core/mandatory-consent";
26
27
  import { setup as un } from "../index.es.js";
28
+ import { s as te } from "../uiConfig-Dnt-2YWB.js";
27
29
  import { signatureMachine as dn } from "@incodetech/core/signature";
28
- const Rt = Ht(null), Fe = () => {
29
- const e = Kt(Rt);
30
+ import { antifraudMachine as fn } from "@incodetech/core/antifraud";
31
+ const Rt = qt(null), Fe = () => {
32
+ const e = Vt(Rt);
30
33
  if (!e)
31
34
  throw new Error("Tabs compound components must be used within <Tabs>");
32
35
  return e;
33
- }, fn = ({
36
+ }, hn = ({
34
37
  defaultValue: e,
35
38
  listClassName: t,
36
39
  triggerClassName: i,
@@ -51,10 +54,10 @@ const Rt = Ht(null), Fe = () => {
51
54
  children: n
52
55
  }
53
56
  );
54
- }, hn = ({ children: e }) => {
57
+ }, gn = ({ children: e }) => {
55
58
  const { listClassName: t } = Fe();
56
59
  return /* @__PURE__ */ l("div", { class: t, children: e });
57
- }, gn = ({ value: e, children: t }) => {
60
+ }, mn = ({ value: e, children: t }) => {
58
61
  const {
59
62
  activeValue: i,
60
63
  setActiveValue: r,
@@ -73,14 +76,14 @@ const Rt = Ht(null), Fe = () => {
73
76
  children: t
74
77
  }
75
78
  );
76
- }, mn = ({ value: e, children: t }) => {
79
+ }, pn = ({ value: e, children: t }) => {
77
80
  const { activeValue: i } = Fe();
78
81
  return i !== e ? null : /* @__PURE__ */ l(ne, { children: t });
79
- }, G = Object.assign(fn, {
80
- List: hn,
81
- Trigger: gn,
82
- Content: mn
83
- }), pn = ({ logoSrc: e }) => {
82
+ }, G = Object.assign(hn, {
83
+ List: gn,
84
+ Trigger: mn,
85
+ Content: pn
86
+ }), Cn = ({ logoSrc: e }) => {
84
87
  const { t } = F();
85
88
  return /* @__PURE__ */ l("header", { class: "IncodeRedirectHeader", children: [
86
89
  /* @__PURE__ */ l("div", { class: "IncodeRedirectLogoWrapper", children: /* @__PURE__ */ l("img", { src: e, alt: "Logo", class: "IncodeRedirectLogo" }) }),
@@ -89,16 +92,16 @@ const Rt = Ht(null), Fe = () => {
89
92
  /* @__PURE__ */ l(X, { size: 12 }),
90
93
  /* @__PURE__ */ l("p", { class: "IncodeRedirectSubtitle", children: t("v2.redirectToMobile.subtitle") })
91
94
  ] });
92
- }, Cn = ({
95
+ }, wn = ({
93
96
  addContinueToDesktop: e,
94
97
  onContinueOnDesktop: t
95
98
  }) => {
96
99
  const { t: i } = F();
97
100
  return /* @__PURE__ */ l("footer", { class: "IncodeRedirectBottomNav", children: [
98
101
  e ? /* @__PURE__ */ l(Z, { variant: "link", onClick: t, children: i("redirect.continueOnDesktop") }) : null,
99
- /* @__PURE__ */ l(Ot, {})
102
+ /* @__PURE__ */ l(jt, {})
100
103
  ] });
101
- }, wn = ({ visible: e }) => {
104
+ }, In = ({ visible: e }) => {
102
105
  const { t } = F();
103
106
  return e ? /* @__PURE__ */ l("div", { class: "IncodeRedirectToast", children: [
104
107
  /* @__PURE__ */ l(Mt, { size: 24 }),
@@ -106,7 +109,7 @@ const Rt = Ht(null), Fe = () => {
106
109
  ] }) : null;
107
110
  };
108
111
  var Y = {}, ce, ze;
109
- function In() {
112
+ function En() {
110
113
  return ze || (ze = 1, ce = function() {
111
114
  return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
112
115
  }), ce;
@@ -219,7 +222,7 @@ function Ue() {
219
222
  })(ue)), ue;
220
223
  }
221
224
  var de, Ge;
222
- function En() {
225
+ function yn() {
223
226
  if (Ge) return de;
224
227
  Ge = 1;
225
228
  function e() {
@@ -244,7 +247,7 @@ function En() {
244
247
  }, de = e, de;
245
248
  }
246
249
  var fe, Ye;
247
- function yn() {
250
+ function Tn() {
248
251
  if (Ye) return fe;
249
252
  Ye = 1;
250
253
  function e(t) {
@@ -264,7 +267,7 @@ function yn() {
264
267
  }, fe = e, fe;
265
268
  }
266
269
  var he = {}, je;
267
- function Tn() {
270
+ function Mn() {
268
271
  return je || (je = 1, (function(e) {
269
272
  const t = z().getSymbolSize;
270
273
  e.getRowColCoords = function(r) {
@@ -285,7 +288,7 @@ function Tn() {
285
288
  })(he)), he;
286
289
  }
287
290
  var ge = {}, xe;
288
- function Mn() {
291
+ function Rn() {
289
292
  if (xe) return ge;
290
293
  xe = 1;
291
294
  const e = z().getSymbolSize, t = 7;
@@ -302,7 +305,7 @@ function Mn() {
302
305
  }, ge;
303
306
  }
304
307
  var me = {}, Je;
305
- function Rn() {
308
+ function Sn() {
306
309
  return Je || (Je = 1, (function(e) {
307
310
  e.Patterns = {
308
311
  PATTERN000: 0,
@@ -757,7 +760,7 @@ function St() {
757
760
  }, ee;
758
761
  }
759
762
  var pe = {}, W = {}, We;
760
- function Sn() {
763
+ function bn() {
761
764
  if (We) return W;
762
765
  We = 1;
763
766
  const e = new Uint8Array(512), t = new Uint8Array(256);
@@ -777,9 +780,9 @@ function Sn() {
777
780
  }, W;
778
781
  }
779
782
  var Xe;
780
- function bn() {
783
+ function An() {
781
784
  return Xe || (Xe = 1, (function(e) {
782
- const t = Sn();
785
+ const t = bn();
783
786
  e.mul = function(r, n) {
784
787
  const o = new Uint8Array(r.length + n.length - 1);
785
788
  for (let a = 0; a < r.length; a++)
@@ -806,10 +809,10 @@ function bn() {
806
809
  })(pe)), pe;
807
810
  }
808
811
  var Ce, Ze;
809
- function An() {
812
+ function Nn() {
810
813
  if (Ze) return Ce;
811
814
  Ze = 1;
812
- const e = bn();
815
+ const e = An();
813
816
  function t(i) {
814
817
  this.genPoly = void 0, this.degree = i, this.degree && this.initialize(this.degree);
815
818
  }
@@ -916,7 +919,7 @@ function H() {
916
919
  })(Ie)), Ie;
917
920
  }
918
921
  var nt;
919
- function Nn() {
922
+ function vn() {
920
923
  return nt || (nt = 1, (function(e) {
921
924
  const t = z(), i = St(), r = Ue(), n = H(), o = bt(), a = 7973, c = t.getBCHDigit(a);
922
925
  function s(d, f, M) {
@@ -982,7 +985,7 @@ function Nn() {
982
985
  })(we)), we;
983
986
  }
984
987
  var ye = {}, rt;
985
- function vn() {
988
+ function Bn() {
986
989
  if (rt) return ye;
987
990
  rt = 1;
988
991
  const e = z(), t = 1335, i = 21522, r = e.getBCHDigit(t);
@@ -995,7 +998,7 @@ function vn() {
995
998
  }, ye;
996
999
  }
997
1000
  var Te = {}, Me, ot;
998
- function Bn() {
1001
+ function Pn() {
999
1002
  if (ot) return Me;
1000
1003
  ot = 1;
1001
1004
  const e = H();
@@ -1017,7 +1020,7 @@ function Bn() {
1017
1020
  }, Me = t, Me;
1018
1021
  }
1019
1022
  var Re, it;
1020
- function Pn() {
1023
+ function Ln() {
1021
1024
  if (it) return Re;
1022
1025
  it = 1;
1023
1026
  const e = H(), t = [
@@ -1086,7 +1089,7 @@ function Pn() {
1086
1089
  }, Re = i, Re;
1087
1090
  }
1088
1091
  var Se, st;
1089
- function Ln() {
1092
+ function Dn() {
1090
1093
  if (st) return Se;
1091
1094
  st = 1;
1092
1095
  const e = H();
@@ -1105,7 +1108,7 @@ function Ln() {
1105
1108
  }, Se = t, Se;
1106
1109
  }
1107
1110
  var be, at;
1108
- function Dn() {
1111
+ function Fn() {
1109
1112
  if (at) return be;
1110
1113
  at = 1;
1111
1114
  const e = H(), t = z();
@@ -1136,7 +1139,7 @@ Make sure your charset is UTF-8`
1136
1139
  }, be = i, be;
1137
1140
  }
1138
1141
  var Ae = { exports: {} }, ct;
1139
- function Fn() {
1142
+ function Un() {
1140
1143
  return ct || (ct = 1, (function(e) {
1141
1144
  var t = {
1142
1145
  single_source_shortest_paths: function(i, r, n) {
@@ -1204,9 +1207,9 @@ function Fn() {
1204
1207
  })(Ae)), Ae.exports;
1205
1208
  }
1206
1209
  var lt;
1207
- function Un() {
1210
+ function kn() {
1208
1211
  return lt || (lt = 1, (function(e) {
1209
- const t = H(), i = Bn(), r = Pn(), n = Ln(), o = Dn(), a = At(), c = z(), s = Fn();
1212
+ const t = H(), i = Pn(), r = Ln(), n = Dn(), o = Fn(), a = At(), c = z(), s = Un();
1210
1213
  function u(A) {
1211
1214
  return unescape(encodeURIComponent(A)).length;
1212
1215
  }
@@ -1338,10 +1341,10 @@ function Un() {
1338
1341
  })(Te)), Te;
1339
1342
  }
1340
1343
  var ut;
1341
- function kn() {
1344
+ function _n() {
1342
1345
  if (ut) return le;
1343
1346
  ut = 1;
1344
- const e = z(), t = Ue(), i = En(), r = yn(), n = Tn(), o = Mn(), a = Rn(), c = St(), s = An(), u = Nn(), h = vn(), g = H(), d = Un();
1347
+ const e = z(), t = Ue(), i = yn(), r = Tn(), n = Mn(), o = Rn(), a = Sn(), c = St(), s = Nn(), u = vn(), h = Bn(), g = H(), d = kn();
1345
1348
  function f(C, S) {
1346
1349
  const R = C.size, w = o.getPositions(S);
1347
1350
  for (let N = 0; N < w.length; N++) {
@@ -1529,7 +1532,7 @@ function Nt() {
1529
1532
  })(ve)), ve;
1530
1533
  }
1531
1534
  var ft;
1532
- function _n() {
1535
+ function On() {
1533
1536
  return ft || (ft = 1, (function(e) {
1534
1537
  const t = Nt();
1535
1538
  function i(n, o, a) {
@@ -1556,7 +1559,7 @@ function _n() {
1556
1559
  })(Ne)), Ne;
1557
1560
  }
1558
1561
  var Be = {}, ht;
1559
- function On() {
1562
+ function qn() {
1560
1563
  if (ht) return Be;
1561
1564
  ht = 1;
1562
1565
  const e = Nt();
@@ -1583,10 +1586,10 @@ function On() {
1583
1586
  }, Be;
1584
1587
  }
1585
1588
  var gt;
1586
- function qn() {
1589
+ function Vn() {
1587
1590
  if (gt) return Y;
1588
1591
  gt = 1;
1589
- const e = In(), t = kn(), i = _n(), r = On();
1592
+ const e = En(), t = _n(), i = On(), r = qn();
1590
1593
  function n(o, a, c, s, u) {
1591
1594
  const h = [].slice.call(arguments, 1), g = h.length, d = typeof h[g - 1] == "function";
1592
1595
  if (!d && !e())
@@ -1618,8 +1621,8 @@ function qn() {
1618
1621
  return r.render(o, c);
1619
1622
  }), Y;
1620
1623
  }
1621
- var Vn = qn();
1622
- const zn = ({
1624
+ var zn = Vn();
1625
+ const Hn = ({
1623
1626
  value: e,
1624
1627
  size: t = 150,
1625
1628
  bgColor: i = "#ffffff",
@@ -1627,7 +1630,7 @@ const zn = ({
1627
1630
  }) => {
1628
1631
  const [n, o] = _("");
1629
1632
  return L(() => {
1630
- e && Vn.toString(e, {
1633
+ e && zn.toString(e, {
1631
1634
  type: "svg",
1632
1635
  width: t,
1633
1636
  margin: 0,
@@ -1643,13 +1646,13 @@ const zn = ({
1643
1646
  dangerouslySetInnerHTML: { __html: n }
1644
1647
  }
1645
1648
  ) : null;
1646
- }, Hn = ({ redirectUrl: e }) => {
1649
+ }, Kn = ({ redirectUrl: e }) => {
1647
1650
  const { t } = F();
1648
1651
  return /* @__PURE__ */ l(ne, { children: [
1649
1652
  /* @__PURE__ */ l("p", { class: "IncodeRedirectTabDescription", children: t("v2.redirectToMobile.qr.description") }),
1650
- /* @__PURE__ */ l("div", { class: "IncodeRedirectQrWrapper", children: /* @__PURE__ */ l(zn, { value: e, size: 186 }) })
1653
+ /* @__PURE__ */ l("div", { class: "IncodeRedirectQrWrapper", children: /* @__PURE__ */ l(Hn, { value: e, size: 186 }) })
1651
1654
  ] });
1652
- }, Kn = ({
1655
+ }, Gn = ({
1653
1656
  formattedPhone: e,
1654
1657
  onResend: t,
1655
1658
  onChangePhone: i
@@ -1674,9 +1677,9 @@ const zn = ({
1674
1677
  }
1675
1678
  ) })
1676
1679
  ] });
1677
- }, Gn = Gt(
1678
- () => import("../phoneInput-nmmFFaXI.js").then((e) => ({ default: e.PhoneInput }))
1679
- ), Yn = ({
1680
+ }, Yn = zt(
1681
+ () => import("../phoneInput-CGr8TxOO.js").then((e) => ({ default: e.PhoneInput }))
1682
+ ), jn = ({
1680
1683
  countryCode: e,
1681
1684
  phonePrefix: t,
1682
1685
  error: i,
@@ -1687,8 +1690,8 @@ const zn = ({
1687
1690
  }) => {
1688
1691
  const { t: c } = F();
1689
1692
  return /* @__PURE__ */ l(ne, { children: [
1690
- /* @__PURE__ */ l(Yt, { fallback: /* @__PURE__ */ l(J, {}), children: /* @__PURE__ */ l(
1691
- Gn,
1693
+ /* @__PURE__ */ l(Ht, { fallback: /* @__PURE__ */ l(J, {}), children: /* @__PURE__ */ l(
1694
+ Yn,
1692
1695
  {
1693
1696
  countryCode: e,
1694
1697
  phonePrefix: t,
@@ -1709,18 +1712,18 @@ const zn = ({
1709
1712
  }
1710
1713
  )
1711
1714
  ] });
1712
- }, jn = (e, t) => {
1715
+ }, xn = (e, t) => {
1713
1716
  if (!e.startsWith(t)) return e;
1714
1717
  const i = e.slice(t.length);
1715
1718
  return `${t} ${i.replace(/(\d{3})(?=\d)/g, "$1 ")}`;
1716
- }, xn = ({
1719
+ }, Jn = ({
1717
1720
  phonePrefix: e,
1718
1721
  smsSent: t,
1719
1722
  error: i,
1720
1723
  manager: r,
1721
1724
  onResend: n
1722
1725
  }) => {
1723
- const { t: o } = F(), [a, c] = _(e), [s, u] = _(!1), [h, g] = _(!1), d = Qt(e)?.code ?? "", f = jn(a, e), M = x((I, m) => {
1726
+ const { t: o } = F(), [a, c] = _(e), [s, u] = _(!1), [h, g] = _(!1), d = Qt(e)?.code ?? "", f = xn(a, e), M = x((I, m) => {
1724
1727
  c(I), u(m);
1725
1728
  }, []), E = x(() => {
1726
1729
  g(!0), r.sendSms(a), g(!1);
@@ -1732,14 +1735,14 @@ const zn = ({
1732
1735
  return /* @__PURE__ */ l(ne, { children: [
1733
1736
  /* @__PURE__ */ l("p", { class: "IncodeRedirectTabDescription", children: o("v2.redirectToMobile.sms.description") }),
1734
1737
  t ? /* @__PURE__ */ l(
1735
- Kn,
1738
+ Gn,
1736
1739
  {
1737
1740
  formattedPhone: f,
1738
1741
  onResend: P,
1739
1742
  onChangePhone: A
1740
1743
  }
1741
1744
  ) : /* @__PURE__ */ l(
1742
- Yn,
1745
+ jn,
1743
1746
  {
1744
1747
  countryCode: d,
1745
1748
  phonePrefix: e,
@@ -1751,7 +1754,7 @@ const zn = ({
1751
1754
  }
1752
1755
  )
1753
1756
  ] });
1754
- }, Jn = ({
1757
+ }, Qn = ({
1755
1758
  redirectUrl: e,
1756
1759
  phonePrefix: t,
1757
1760
  smsSent: i,
@@ -1767,9 +1770,9 @@ const zn = ({
1767
1770
  a.continueOnDesktop();
1768
1771
  }, [a]);
1769
1772
  return /* @__PURE__ */ l("div", { class: "IncodeRedirectContainer", children: [
1770
- /* @__PURE__ */ l(wn, { visible: u }),
1773
+ /* @__PURE__ */ l(In, { visible: u }),
1771
1774
  /* @__PURE__ */ l("div", { class: "IncodeRedirectCard", children: [
1772
- /* @__PURE__ */ l(pn, { logoSrc: c }),
1775
+ /* @__PURE__ */ l(Cn, { logoSrc: c }),
1773
1776
  /* @__PURE__ */ l("div", { class: "IncodeRedirectOptions", children: /* @__PURE__ */ l(
1774
1777
  G,
1775
1778
  {
@@ -1782,9 +1785,9 @@ const zn = ({
1782
1785
  /* @__PURE__ */ l(G.Trigger, { value: "qr", children: s("v2.redirectToMobile.tabs.0") }),
1783
1786
  r ? null : /* @__PURE__ */ l(G.Trigger, { value: "sms", children: s("v2.redirectToMobile.tabs.1") })
1784
1787
  ] }),
1785
- /* @__PURE__ */ l(G.Content, { value: "qr", children: /* @__PURE__ */ l(Hn, { redirectUrl: e }) }),
1788
+ /* @__PURE__ */ l(G.Content, { value: "qr", children: /* @__PURE__ */ l(Kn, { redirectUrl: e }) }),
1786
1789
  r ? null : /* @__PURE__ */ l(G.Content, { value: "sms", children: /* @__PURE__ */ l(
1787
- xn,
1790
+ Jn,
1788
1791
  {
1789
1792
  phonePrefix: t,
1790
1793
  smsSent: i,
@@ -1797,7 +1800,7 @@ const zn = ({
1797
1800
  }
1798
1801
  ) }),
1799
1802
  /* @__PURE__ */ l(
1800
- Cn,
1803
+ wn,
1801
1804
  {
1802
1805
  addContinueToDesktop: n,
1803
1806
  onContinueOnDesktop: d
@@ -1805,7 +1808,7 @@ const zn = ({
1805
1808
  )
1806
1809
  ] })
1807
1810
  ] });
1808
- }, Qn = ({
1811
+ }, Wn = ({
1809
1812
  title: e,
1810
1813
  subtitle: t,
1811
1814
  logoSrc: i
@@ -1816,19 +1819,19 @@ const zn = ({
1816
1819
  n ? /* @__PURE__ */ l("h1", { class: "IncodeRedirectFinishedTitle", children: n }) : null,
1817
1820
  o ? /* @__PURE__ */ l("p", { class: "IncodeRedirectFinishedSubtitle", children: o }) : null
1818
1821
  ] });
1819
- }, Wn = ({
1822
+ }, Xn = ({
1820
1823
  config: e,
1821
1824
  onFinish: t,
1822
1825
  onContinue: i,
1823
1826
  onError: r
1824
1827
  }) => {
1825
1828
  const [n, o] = It(
1826
- () => Jt({ config: e })
1827
- ), { logoSrc: a, logoHeightPx: c } = qt({
1829
+ () => Yt({ config: e })
1830
+ ), { logoSrc: a, logoHeightPx: c } = xt({
1828
1831
  hideHeader: void 0,
1829
1832
  hideFooterBranding: void 0,
1830
1833
  logo: void 0,
1831
- defaultLogoSrc: Vt
1834
+ defaultLogoSrc: Jt
1832
1835
  });
1833
1836
  L(() => {
1834
1837
  n.status === "finished" && t?.();
@@ -1838,7 +1841,7 @@ const zn = ({
1838
1841
  n.status === "error" && r?.(n.error);
1839
1842
  }, [n.status, r, n]);
1840
1843
  const s = n.status === "idle" || n.status === "loading" ? /* @__PURE__ */ l(J, { fullScreen: !0 }) : n.status === "redirecting" ? /* @__PURE__ */ l(
1841
- Jn,
1844
+ Qn,
1842
1845
  {
1843
1846
  redirectUrl: n.redirectUrl,
1844
1847
  phonePrefix: n.phonePrefix,
@@ -1849,7 +1852,7 @@ const zn = ({
1849
1852
  manager: o,
1850
1853
  logoSrc: a
1851
1854
  }
1852
- ) : n.status === "finished" ? /* @__PURE__ */ l(Qn, { logoSrc: a }) : null;
1855
+ ) : n.status === "finished" ? /* @__PURE__ */ l(Wn, { logoSrc: a }) : null;
1853
1856
  return /* @__PURE__ */ l(
1854
1857
  "div",
1855
1858
  {
@@ -1864,7 +1867,7 @@ const zn = ({
1864
1867
  onContinue: i,
1865
1868
  onError: r
1866
1869
  }) => /* @__PURE__ */ l(wt, { children: e ? /* @__PURE__ */ l(
1867
- Wn,
1870
+ Xn,
1868
1871
  {
1869
1872
  config: e,
1870
1873
  onFinish: t,
@@ -1873,7 +1876,7 @@ const zn = ({
1873
1876
  }
1874
1877
  ) : null });
1875
1878
  Tt(vt, "incode-redirect-to-mobile");
1876
- function Xn(e) {
1879
+ function Zn(e) {
1877
1880
  let t = e.replace("#", "");
1878
1881
  t.length === 3 && (t = t.split("").map((g) => g + g).join(""));
1879
1882
  const i = /^([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
@@ -1912,8 +1915,8 @@ function j(e, t, i) {
1912
1915
  };
1913
1916
  return `#${u(a)}${u(c)}${u(s)}`;
1914
1917
  }
1915
- function Zn(e) {
1916
- const t = Xn(e);
1918
+ function $n(e) {
1919
+ const t = Zn(e);
1917
1920
  if (!t)
1918
1921
  throw new Error(`Invalid color format: ${e}`);
1919
1922
  return {
@@ -1926,10 +1929,10 @@ function Zn(e) {
1926
1929
  900: j(t.h, t.s, 20)
1927
1930
  };
1928
1931
  }
1929
- function $n(e, t) {
1932
+ function er(e, t) {
1930
1933
  if (typeof document > "u")
1931
1934
  return;
1932
- const i = Zn(e);
1935
+ const i = $n(e);
1933
1936
  let r = document.getElementById(
1934
1937
  "incode-theme"
1935
1938
  );
@@ -1949,11 +1952,11 @@ function $n(e, t) {
1949
1952
  `;
1950
1953
  r.textContent = o;
1951
1954
  }
1952
- async function er() {
1955
+ async function tr() {
1953
1956
  return (await yt.get("/omni/asset/fetch-all")).data;
1954
1957
  }
1955
1958
  const mt = /* @__PURE__ */ new Map();
1956
- async function tr(e) {
1959
+ async function nr(e) {
1957
1960
  if (e.startsWith("data:"))
1958
1961
  return e;
1959
1962
  const t = mt.get(e);
@@ -1965,8 +1968,8 @@ async function tr(e) {
1965
1968
  });
1966
1969
  return mt.set(e, n), n;
1967
1970
  }
1968
- async function nr() {
1969
- const e = await er();
1971
+ async function rr() {
1972
+ const e = await tr();
1970
1973
  if (!e.theme)
1971
1974
  throw new Error("Theme URL not found in assets response");
1972
1975
  const t = e.theme, i = t.startsWith("http://") || t.startsWith("https://");
@@ -1980,14 +1983,14 @@ async function nr() {
1980
1983
  r = (await yt.get(t)).data;
1981
1984
  const n = e["logo.png"] || e["logo.svg"] || e["logo.jpg"] || e["logo.jpeg"] || e["logo.webp"] || r.logo;
1982
1985
  let o = n;
1983
- return n && (o = await tr(n)), {
1986
+ return n && (o = await nr(n)), {
1984
1987
  ...r,
1985
1988
  logo: o
1986
1989
  };
1987
1990
  }
1988
- async function rr() {
1989
- const e = await nr();
1990
- return e.main && $n(e.main, e.buttonColor), e;
1991
+ async function or() {
1992
+ const e = await rr();
1993
+ return e.main && er(e.main, e.buttonColor), e;
1991
1994
  }
1992
1995
  const Pe = () => import("../id/id.es.js").then((e) => e.Id), ke = {
1993
1996
  PHONE: () => import("../phone/phone.es.js").then((e) => e.Phone),
@@ -1997,28 +2000,29 @@ const Pe = () => import("../id/id.es.js").then((e) => e.Id), ke = {
1997
2000
  ID: Pe,
1998
2001
  TUTORIAL_ID: Pe,
1999
2002
  SECOND_ID: Pe,
2000
- FACE_MATCH: () => import("../faceMatch-DPa3pI88.js").then((e) => e.FaceMatch),
2003
+ FACE_MATCH: () => import("../faceMatch-DbDp7D3d.js").then((e) => e.FaceMatch),
2001
2004
  CURP_VALIDATION: () => import("../curp-validation/curp-validation.es.js").then((e) => e.CurpValidation),
2002
2005
  GOVT_VALIDATION_PROVISIONING: () => import("../governmentValidation/governmentValidation.es.js").then(
2003
2006
  (e) => e.GovernmentValidation
2004
2007
  ),
2005
2008
  GEOLOCATION: () => import("../geolocation/geolocation.es.js").then((e) => e.Geolocation),
2006
- EXTERNAL_VERIFICATION: () => import("../ekycModule-BgFGstuw.js").then((e) => e.EkycModule),
2007
- EKYB: () => import("../ekybModule-RZwNRg6E.js").then((e) => e.EkybModule),
2008
- DOCUMENT_CAPTURE: () => import("../documentCapture-8ZOwr7xp.js").then(
2009
+ EXTERNAL_VERIFICATION: () => import("../ekycModule-C3mswduI.js").then((e) => e.EkycModule),
2010
+ EKYB: () => import("../ekybModule-Dr6LJUg-.js").then((e) => e.EkybModule),
2011
+ DOCUMENT_CAPTURE: () => import("../documentCapture-C0mO-RGE.js").then(
2009
2012
  (e) => e.DocumentCapture
2010
2013
  ),
2011
- ADDRESS: () => import("../documentCapture-8ZOwr7xp.js").then(
2014
+ ADDRESS: () => import("../documentCapture-C0mO-RGE.js").then(
2012
2015
  (e) => e.DocumentCapture
2013
2016
  ),
2014
2017
  COMBINED_CONSENT: () => import("../consent/consent.es.js").then((e) => e.Consent),
2015
- MANDATORY_CONSENT: () => import("../mandatoryConsent-fZUmh40x.js").then(
2018
+ MANDATORY_CONSENT: () => import("../mandatoryConsent-5xPI0cor.js").then(
2016
2019
  (e) => e.MandatoryConsent
2017
2020
  ),
2018
- SIGNATURE: () => import("../signature/signature.es.js").then((e) => e.Signature)
2021
+ SIGNATURE: () => import("../signature/signature.es.js").then((e) => e.Signature),
2022
+ ANTIFRAUD: () => import("../antifraud/antifraud.es.js").then((e) => e.Antifraud)
2019
2023
  };
2020
2024
  function Bt() {
2021
- return zt({
2025
+ return Ot({
2022
2026
  modules: {
2023
2027
  PHONE: nn,
2024
2028
  EMAIL: $t,
@@ -2037,7 +2041,8 @@ function Bt() {
2037
2041
  ADDRESS: Ve,
2038
2042
  COMBINED_CONSENT: cn,
2039
2043
  MANDATORY_CONSENT: ln,
2040
- SIGNATURE: dn
2044
+ SIGNATURE: dn,
2045
+ ANTIFRAUD: fn
2041
2046
  }
2042
2047
  });
2043
2048
  }
@@ -2051,7 +2056,7 @@ async function Pt(e) {
2051
2056
  }
2052
2057
  async function Lt() {
2053
2058
  try {
2054
- const e = await rr(), t = {
2059
+ const e = await or(), t = {
2055
2060
  logoSrc: e.logo,
2056
2061
  hideFooterBranding: e.hideFooterBranding
2057
2062
  };
@@ -2063,16 +2068,16 @@ async function Lt() {
2063
2068
  function Dt(e, t) {
2064
2069
  const i = Et(e.flow);
2065
2070
  if (i.length > 0) {
2066
- const r = jt({
2071
+ const r = Kt({
2067
2072
  ...t,
2068
2073
  pipelines: i
2069
2074
  });
2070
- xt(r).catch((n) => {
2075
+ Gt(r).catch((n) => {
2071
2076
  console.error("WASM warmup failed:", n);
2072
2077
  });
2073
2078
  }
2074
2079
  }
2075
- function or(e) {
2080
+ function ir(e) {
2076
2081
  const t = e.currentStep;
2077
2082
  if (t) {
2078
2083
  const i = ke[t];
@@ -2080,7 +2085,7 @@ function or(e) {
2080
2085
  });
2081
2086
  }
2082
2087
  }
2083
- const ir = ({
2088
+ const sr = ({
2084
2089
  moduleKey: e,
2085
2090
  onNext: t
2086
2091
  }) => /* @__PURE__ */ l("section", { class: "IncodeUnsupportedModule", "aria-live": "polite", children: /* @__PURE__ */ l("div", { class: "IncodeUnsupportedModuleContent", children: [
@@ -2123,7 +2128,7 @@ function pt(e) {
2123
2128
  }
2124
2129
  };
2125
2130
  }
2126
- function Or(e) {
2131
+ function Hr(e) {
2127
2132
  const { token: t } = e;
2128
2133
  if (V.has(t))
2129
2134
  return pt(t);
@@ -2150,7 +2155,7 @@ function Or(e) {
2150
2155
  }), u = o.subscribe((h) => {
2151
2156
  if (h.status === "ready") {
2152
2157
  const g = h;
2153
- e.wasmConfig && Dt(g, e.wasmConfig), or(g), a.unsubscribe?.(), a.unsubscribe = void 0, a.status = "ready", a.readyResolve();
2158
+ e.wasmConfig && Dt(g, e.wasmConfig), ir(g), a.unsubscribe?.(), a.unsubscribe = void 0, a.status = "ready", a.readyResolve();
2154
2159
  } else h.status === "error" && (a.unsubscribe?.(), a.unsubscribe = void 0, a.status = "error", a.error = h.error, a.readyReject(new Error(h.error)));
2155
2160
  });
2156
2161
  a.unsubscribe = u, o.load(), await s;
@@ -2168,7 +2173,7 @@ function Ct(e) {
2168
2173
  const t = De(e);
2169
2174
  return t && V.delete(e), t;
2170
2175
  }
2171
- function sr(e) {
2176
+ function ar(e) {
2172
2177
  const { apiURL: t, token: i, lang: r, disableDashboardTheme: n, onError: o } = e, a = Le(null), [c, s] = _(() => {
2173
2178
  const h = De(i);
2174
2179
  if (h?.status === "ready") {
@@ -2221,7 +2226,7 @@ function sr(e) {
2221
2226
  })();
2222
2227
  }, [t, i, r, n, o, c]), c;
2223
2228
  }
2224
- function ar(e) {
2229
+ function cr(e) {
2225
2230
  const { moduleKey: t, onModuleLoading: i, onModuleLoaded: r, onError: n } = e, [o, a] = _({ status: "idle" });
2226
2231
  return L(() => {
2227
2232
  if (!t) {
@@ -2247,7 +2252,7 @@ function ar(e) {
2247
2252
  };
2248
2253
  }, [t, i, r, n]), o;
2249
2254
  }
2250
- function cr(e, t) {
2255
+ function lr(e, t) {
2251
2256
  const i = Le(/* @__PURE__ */ new Set());
2252
2257
  L(() => {
2253
2258
  if (t < e.length - 1) {
@@ -2262,12 +2267,12 @@ function cr(e, t) {
2262
2267
  }
2263
2268
  }, [e, t]);
2264
2269
  }
2265
- const lr = ({
2270
+ const ur = ({
2266
2271
  config: e,
2267
2272
  onFinish: t,
2268
2273
  onError: i
2269
2274
  }) => {
2270
- const { t: r, i18n: n } = F(), [o, a] = _(!1), c = sr({
2275
+ const { t: r, i18n: n } = F(), [o, a] = _(!1), c = ar({
2271
2276
  apiURL: e.apiURL,
2272
2277
  token: e.token,
2273
2278
  lang: e.lang,
@@ -2275,13 +2280,13 @@ const lr = ({
2275
2280
  onError: i
2276
2281
  }), [s, u] = It(() => c.flowManager, {
2277
2282
  autoLoad: !1
2278
- }), h = s?.status === "ready" && s.flow.redirectDesktopToMobile && !o, g = ar({
2283
+ }), h = s?.status === "ready" && s.flow.redirectDesktopToMobile && !o, g = cr({
2279
2284
  moduleKey: s?.status === "ready" && !h ? s.currentStep : void 0,
2280
2285
  onModuleLoading: e.onModuleLoading,
2281
2286
  onModuleLoaded: e.onModuleLoaded,
2282
2287
  onError: i
2283
2288
  });
2284
- if (cr(
2289
+ if (lr(
2285
2290
  s?.status === "ready" ? s.steps : [],
2286
2291
  s?.status === "ready" ? s.currentStepIndex : -1
2287
2292
  ), L(() => {
@@ -2369,7 +2374,7 @@ const lr = ({
2369
2374
  ) });
2370
2375
  if (g.status === "unsupported")
2371
2376
  return /* @__PURE__ */ l("div", { class: "IncodeFlow", children: /* @__PURE__ */ l(
2372
- ir,
2377
+ sr,
2373
2378
  {
2374
2379
  moduleKey: d,
2375
2380
  onNext: () => u.completeModule()
@@ -2613,21 +2618,21 @@ const lr = ({
2613
2618
  ) });
2614
2619
  }
2615
2620
  return null;
2616
- }, ur = ({
2621
+ }, dr = ({
2617
2622
  config: e,
2618
2623
  onFinish: t = () => {
2619
2624
  },
2620
2625
  onError: i
2621
2626
  }) => /* @__PURE__ */ l(wt, { children: e ? /* @__PURE__ */ l(
2622
- lr,
2627
+ ur,
2623
2628
  {
2624
2629
  config: e,
2625
2630
  onFinish: t,
2626
2631
  onError: i
2627
2632
  }
2628
2633
  ) : null });
2629
- Tt(ur, "incode-flow");
2634
+ Tt(dr, "incode-flow");
2630
2635
  export {
2631
- ur as IncodeFlow,
2632
- Or as preloadIncodeFlow
2636
+ dr as IncodeFlow,
2637
+ Hr as preloadIncodeFlow
2633
2638
  };