@incodetech/web 0.0.0-dev-20260320-b29aeee → 0.0.0-dev-20260320-e46eb90

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 (50) hide show
  1. package/dist/{Trans-Cm7gi0st.js → Trans-Bw5n8KhH.js} +2 -2
  2. package/dist/{addressAutocomplete-BIQwiDWk.js → addressAutocomplete-D7g-naeA.js} +6 -6
  3. package/dist/authentication/authentication.es.js +5 -5
  4. package/dist/base.css +93 -0
  5. package/dist/{button-zCdeDeEB.js → button-Yr39X4SE.js} +2 -2
  6. package/dist/{captureFooter-SNtyUXrI.js → captureFooter-Dum5qpdZ.js} +4 -4
  7. package/dist/checkbox-BkW6ZbEQ.js +137 -0
  8. package/dist/{chevronDown-DRVnB275.js → chevronDown-CsZysK60.js} +1 -1
  9. package/dist/{closeIcon-D2dmrZca.js → closeIcon-DrD_JWne.js} +1 -1
  10. package/dist/consent/consent.es.js +1889 -0
  11. package/dist/consent/styles.css +113 -0
  12. package/dist/curp-validation/curp-validation.es.js +11 -11
  13. package/dist/{dateInputComposed-C8WTSu9L.js → dateInputComposed-CjfYBUJj.js} +4 -4
  14. package/dist/{documentCapture-DWNK3phM.js → documentCapture-DGJU-4sT.js} +10 -10
  15. package/dist/{dropdownComposed-Cg6lQD2C.js → dropdownComposed-DLZ4R_VD.js} +5 -5
  16. package/dist/{ekybModule-DtMbgF08.js → ekybModule-CnuxaZ9k.js} +10 -10
  17. package/dist/{ekycModule-CXSChoV-.js → ekycModule-BggwsBOH.js} +11 -11
  18. package/dist/email/email.es.js +6 -6
  19. package/dist/{errorContent-B3YzH-UQ.js → errorContent-LcOhVnBZ.js} +6 -6
  20. package/dist/{errorIcon-bIXk9nAy.js → errorIcon-DOyZZgsP.js} +1 -1
  21. package/dist/extensibility.es.js +56 -55
  22. package/dist/{faceMatch-BdMwIeBs.js → faceMatch-C5Sgst55.js} +5 -5
  23. package/dist/{fileIcon-E4B7hd8V.js → fileIcon--4cgz7hZ.js} +1 -1
  24. package/dist/{flipAnimation-DLpjmTf-.js → flipAnimation-CJfs4vnz.js} +379 -509
  25. package/dist/flow/flow.es.js +290 -275
  26. package/dist/flow/styles.css +149 -0
  27. package/dist/{formField-hlgxOSE6.js → formField-6BHE59Av.js} +8 -8
  28. package/dist/geolocation/geolocation.es.js +6 -6
  29. package/dist/governmentValidation/governmentValidation.es.js +10 -10
  30. package/dist/id/id.es.js +15 -15
  31. package/dist/{incodeModule-aE-LkKwM.js → incodeModule-Bxzkb7nW.js} +1 -1
  32. package/dist/index.es.js +3 -3
  33. package/dist/{inputComposed-CyGtRLzv.js → inputComposed-n2VIh213.js} +5 -5
  34. package/dist/{manualCaptureButton-iYqQECzn.js → manualCaptureButton-CtHbJjgz.js} +9 -9
  35. package/dist/{otpInput-B3iNW8b5.js → otpInput-2bT7uNnk.js} +4 -4
  36. package/dist/{page-Dv0s0RPn.js → page-DO2rYslN.js} +2 -2
  37. package/dist/phone/phone.es.js +7 -7
  38. package/dist/{phoneInput-NVIE7YFb.js → phoneInput-B7gKhoUa.js} +3 -3
  39. package/dist/{phoneInputComposed-DKesjaq0.js → phoneInputComposed-C66n6e7L.js} +6 -6
  40. package/dist/{processing-BhY0-0xy.js → processing-BGKugkCh.js} +4 -4
  41. package/dist/selfie/selfie.es.js +6 -6
  42. package/dist/{spinner-BbVGMG-G.js → spinner-Djok6FY8.js} +2 -2
  43. package/dist/{successIcon-DN8LMqE2.js → successIcon-CjkBWk8J.js} +1 -1
  44. package/dist/{tutorial-CDJugc5j.js → tutorial-Dptz5zyj.js} +8 -8
  45. package/dist/types/consent.d.ts +36 -0
  46. package/dist/{uiConfig-Z6RT23Sl.js → uiConfig-CKJmKRCo.js} +1 -1
  47. package/dist/{useMediaQuery-CiSMgDyi.js → useMediaQuery-DSN9IIfj.js} +1 -1
  48. package/dist/{vendor-preact-BXf0bkEs.js → vendor-preact--mDTxXnt.js} +2 -1
  49. package/dist/{warningIcon-BBoCroUd.js → warningIcon-DgHOtF9T.js} +1 -1
  50. package/package.json +12 -2
@@ -1,14 +1,14 @@
1
- import { u as l, d as _t, b as F, S as X, B as Z, V as Ot, I as Ct, a as It, c as qt, i as Vt } from "../button-zCdeDeEB.js";
2
- import { createOrchestratedFlowManager as zt, getRequiredWasmPipelines as yt } from "@incodetech/core/flow";
3
- import { Q as Ht, d as _, k as ne, x as Kt, y as L, P as Gt, z as jt, q as J, A as Le } from "../vendor-preact-BXf0bkEs.js";
4
- import { api as Et, warmupWasm as Yt } from "@incodetech/core";
5
- import { s as te } from "../uiConfig-Z6RT23Sl.js";
6
- import { r as Tt } from "../incodeModule-aE-LkKwM.js";
7
- import { S as x } from "../spinner-BbVGMG-G.js";
8
- import { createRedirectToMobileManager as Jt } from "@incodetech/core/redirect-to-mobile";
9
- import { S as Mt } from "../successIcon-DN8LMqE2.js";
10
- import { a as xt } from "../countries-DfLkrF0x.js";
11
- import { T as Qt } from "../Trans-Cm7gi0st.js";
1
+ import { u as l, d as _t, b as F, S as X, B as Z, V as Ot, I as Ct, a as It, c as qt, i as Vt } from "../button-Yr39X4SE.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, P as Gt, z as jt, q as x, A as Le } from "../vendor-preact--mDTxXnt.js";
4
+ import { api as yt, warmupWasm as Yt } from "@incodetech/core";
5
+ import { s as te } from "../uiConfig-CKJmKRCo.js";
6
+ import { r as Tt } from "../incodeModule-Bxzkb7nW.js";
7
+ import { S as J } from "../spinner-Djok6FY8.js";
8
+ import { createRedirectToMobileManager as xt } from "@incodetech/core/redirect-to-mobile";
9
+ import { S as Mt } from "../successIcon-CjkBWk8J.js";
10
+ import { a as Jt } from "../countries-DfLkrF0x.js";
11
+ import { T as Qt } from "../Trans-Bw5n8KhH.js";
12
12
  import { ekybMachine as Wt } from "@incodetech/core/ekyb";
13
13
  import { ekycMachine as Xt } from "@incodetech/core/ekyc";
14
14
  import { emailMachine as Zt } from "@incodetech/core/email";
@@ -21,13 +21,14 @@ import { selfieMachine as nn } from "@incodetech/core/selfie";
21
21
  import { authenticationMachine as rn } from "@incodetech/core/authentication";
22
22
  import { curpValidationMachine as on } from "@incodetech/core/curp-validation";
23
23
  import { governmentValidationMachine as sn } from "@incodetech/core/government-validation";
24
- import { setup as an } from "../index.es.js";
25
- const Rt = Ht(null), Fe = () => {
26
- const e = Kt(Rt);
24
+ import { consentMachine as an } from "@incodetech/core/consent";
25
+ import { setup as cn } from "../index.es.js";
26
+ const bt = Ht(null), Fe = () => {
27
+ const e = Kt(bt);
27
28
  if (!e)
28
29
  throw new Error("Tabs compound components must be used within <Tabs>");
29
30
  return e;
30
- }, cn = ({
31
+ }, ln = ({
31
32
  defaultValue: e,
32
33
  listClassName: t,
33
34
  triggerClassName: i,
@@ -36,7 +37,7 @@ const Rt = Ht(null), Fe = () => {
36
37
  }) => {
37
38
  const [o, a] = _(e);
38
39
  return /* @__PURE__ */ l(
39
- Rt.Provider,
40
+ bt.Provider,
40
41
  {
41
42
  value: {
42
43
  activeValue: o,
@@ -48,10 +49,10 @@ const Rt = Ht(null), Fe = () => {
48
49
  children: n
49
50
  }
50
51
  );
51
- }, ln = ({ children: e }) => {
52
+ }, un = ({ children: e }) => {
52
53
  const { listClassName: t } = Fe();
53
54
  return /* @__PURE__ */ l("div", { class: t, children: e });
54
- }, un = ({ value: e, children: t }) => {
55
+ }, dn = ({ value: e, children: t }) => {
55
56
  const {
56
57
  activeValue: i,
57
58
  setActiveValue: r,
@@ -70,14 +71,14 @@ const Rt = Ht(null), Fe = () => {
70
71
  children: t
71
72
  }
72
73
  );
73
- }, dn = ({ value: e, children: t }) => {
74
+ }, fn = ({ value: e, children: t }) => {
74
75
  const { activeValue: i } = Fe();
75
76
  return i !== e ? null : /* @__PURE__ */ l(ne, { children: t });
76
- }, G = Object.assign(cn, {
77
- List: ln,
78
- Trigger: un,
79
- Content: dn
80
- }), fn = ({ logoSrc: e }) => {
77
+ }, G = Object.assign(ln, {
78
+ List: un,
79
+ Trigger: dn,
80
+ Content: fn
81
+ }), hn = ({ logoSrc: e }) => {
81
82
  const { t } = F();
82
83
  return /* @__PURE__ */ l("header", { class: "IncodeRedirectHeader", children: [
83
84
  /* @__PURE__ */ l("div", { class: "IncodeRedirectLogoWrapper", children: /* @__PURE__ */ l("img", { src: e, alt: "Logo", class: "IncodeRedirectLogo" }) }),
@@ -86,7 +87,7 @@ const Rt = Ht(null), Fe = () => {
86
87
  /* @__PURE__ */ l(X, { size: 12 }),
87
88
  /* @__PURE__ */ l("p", { class: "IncodeRedirectSubtitle", children: t("v2.redirectToMobile.subtitle") })
88
89
  ] });
89
- }, hn = ({
90
+ }, gn = ({
90
91
  addContinueToDesktop: e,
91
92
  onContinueOnDesktop: t
92
93
  }) => {
@@ -95,7 +96,7 @@ const Rt = Ht(null), Fe = () => {
95
96
  e ? /* @__PURE__ */ l(Z, { variant: "link", onClick: t, children: i("redirect.continueOnDesktop") }) : null,
96
97
  /* @__PURE__ */ l(Ot, {})
97
98
  ] });
98
- }, gn = ({ visible: e }) => {
99
+ }, mn = ({ visible: e }) => {
99
100
  const { t } = F();
100
101
  return e ? /* @__PURE__ */ l("div", { class: "IncodeRedirectToast", children: [
101
102
  /* @__PURE__ */ l(Mt, { size: 24 }),
@@ -103,7 +104,7 @@ const Rt = Ht(null), Fe = () => {
103
104
  ] }) : null;
104
105
  };
105
106
  var j = {}, ce, ze;
106
- function mn() {
107
+ function pn() {
107
108
  return ze || (ze = 1, ce = function() {
108
109
  return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
109
110
  }), ce;
@@ -216,7 +217,7 @@ function Ue() {
216
217
  })(ue)), ue;
217
218
  }
218
219
  var de, Ge;
219
- function pn() {
220
+ function wn() {
220
221
  if (Ge) return de;
221
222
  Ge = 1;
222
223
  function e() {
@@ -241,7 +242,7 @@ function pn() {
241
242
  }, de = e, de;
242
243
  }
243
244
  var fe, je;
244
- function wn() {
245
+ function Cn() {
245
246
  if (je) return fe;
246
247
  je = 1;
247
248
  function e(t) {
@@ -261,7 +262,7 @@ function wn() {
261
262
  }, fe = e, fe;
262
263
  }
263
264
  var he = {}, Ye;
264
- function Cn() {
265
+ function In() {
265
266
  return Ye || (Ye = 1, (function(e) {
266
267
  const t = z().getSymbolSize;
267
268
  e.getRowColCoords = function(r) {
@@ -281,10 +282,10 @@ function Cn() {
281
282
  };
282
283
  })(he)), he;
283
284
  }
284
- var ge = {}, Je;
285
- function In() {
286
- if (Je) return ge;
287
- Je = 1;
285
+ var ge = {}, xe;
286
+ function En() {
287
+ if (xe) return ge;
288
+ xe = 1;
288
289
  const e = z().getSymbolSize, t = 7;
289
290
  return ge.getPositions = function(r) {
290
291
  const n = e(r);
@@ -298,9 +299,9 @@ function In() {
298
299
  ];
299
300
  }, ge;
300
301
  }
301
- var me = {}, xe;
302
+ var me = {}, Je;
302
303
  function yn() {
303
- return xe || (xe = 1, (function(e) {
304
+ return Je || (Je = 1, (function(e) {
304
305
  e.Patterns = {
305
306
  PATTERN000: 0,
306
307
  PATTERN001: 1,
@@ -397,7 +398,7 @@ function yn() {
397
398
  })(me)), me;
398
399
  }
399
400
  var ee = {}, Qe;
400
- function bt() {
401
+ function Rt() {
401
402
  if (Qe) return ee;
402
403
  Qe = 1;
403
404
  const e = Ue(), t = [
@@ -754,7 +755,7 @@ function bt() {
754
755
  }, ee;
755
756
  }
756
757
  var pe = {}, W = {}, We;
757
- function En() {
758
+ function Tn() {
758
759
  if (We) return W;
759
760
  We = 1;
760
761
  const e = new Uint8Array(512), t = new Uint8Array(256);
@@ -774,9 +775,9 @@ function En() {
774
775
  }, W;
775
776
  }
776
777
  var Xe;
777
- function Tn() {
778
+ function Mn() {
778
779
  return Xe || (Xe = 1, (function(e) {
779
- const t = En();
780
+ const t = Tn();
780
781
  e.mul = function(r, n) {
781
782
  const o = new Uint8Array(r.length + n.length - 1);
782
783
  for (let a = 0; a < r.length; a++)
@@ -803,10 +804,10 @@ function Tn() {
803
804
  })(pe)), pe;
804
805
  }
805
806
  var we, Ze;
806
- function Mn() {
807
+ function bn() {
807
808
  if (Ze) return we;
808
809
  Ze = 1;
809
- const e = Tn();
810
+ const e = Mn();
810
811
  function t(i) {
811
812
  this.genPoly = void 0, this.degree = i, this.degree && this.initialize(this.degree);
812
813
  }
@@ -825,11 +826,11 @@ function Mn() {
825
826
  return o;
826
827
  }, we = t, we;
827
828
  }
828
- var Ce = {}, Ie = {}, ye = {}, $e;
829
+ var Ce = {}, Ie = {}, Ee = {}, $e;
829
830
  function St() {
830
- return $e || ($e = 1, ye.isValid = function(t) {
831
+ return $e || ($e = 1, Ee.isValid = function(t) {
831
832
  return !isNaN(t) && t >= 1 && t <= 40;
832
- }), ye;
833
+ }), Ee;
833
834
  }
834
835
  var D = {}, et;
835
836
  function At() {
@@ -915,37 +916,37 @@ function H() {
915
916
  var nt;
916
917
  function Rn() {
917
918
  return nt || (nt = 1, (function(e) {
918
- const t = z(), i = bt(), r = Ue(), n = H(), o = St(), a = 7973, s = t.getBCHDigit(a);
919
- function c(d, g, b) {
920
- for (let y = 1; y <= 40; y++)
921
- if (g <= e.getCapacity(y, b, d))
922
- return y;
919
+ const t = z(), i = Rt(), r = Ue(), n = H(), o = St(), a = 7973, s = t.getBCHDigit(a);
920
+ function c(d, g, R) {
921
+ for (let E = 1; E <= 40; E++)
922
+ if (g <= e.getCapacity(E, R, d))
923
+ return E;
923
924
  }
924
925
  function h(d, g) {
925
926
  return n.getCharCountIndicator(d, g) + 4;
926
927
  }
927
928
  function f(d, g) {
928
- let b = 0;
929
- return d.forEach(function(y) {
930
- const B = h(y.mode, g);
931
- b += B + y.getBitsLength();
932
- }), b;
929
+ let R = 0;
930
+ return d.forEach(function(E) {
931
+ const B = h(E.mode, g);
932
+ R += B + E.getBitsLength();
933
+ }), R;
933
934
  }
934
935
  function u(d, g) {
935
- for (let b = 1; b <= 40; b++)
936
- if (f(d, b) <= e.getCapacity(b, g, n.MIXED))
937
- return b;
936
+ for (let R = 1; R <= 40; R++)
937
+ if (f(d, R) <= e.getCapacity(R, g, n.MIXED))
938
+ return R;
938
939
  }
939
- e.from = function(g, b) {
940
- return o.isValid(g) ? parseInt(g, 10) : b;
941
- }, e.getCapacity = function(g, b, y) {
940
+ e.from = function(g, R) {
941
+ return o.isValid(g) ? parseInt(g, 10) : R;
942
+ }, e.getCapacity = function(g, R, E) {
942
943
  if (!o.isValid(g))
943
944
  throw new Error("Invalid QR Code version");
944
- typeof y > "u" && (y = n.BYTE);
945
- const B = t.getSymbolTotalCodewords(g), w = i.getTotalCodewordsCount(g, b), m = (B - w) * 8;
946
- if (y === n.MIXED) return m;
947
- const p = m - h(y, g);
948
- switch (y) {
945
+ typeof E > "u" && (E = n.BYTE);
946
+ const B = t.getSymbolTotalCodewords(g), w = i.getTotalCodewordsCount(g, R), m = (B - w) * 8;
947
+ if (E === n.MIXED) return m;
948
+ const p = m - h(E, g);
949
+ switch (E) {
949
950
  case n.NUMERIC:
950
951
  return Math.floor(p / 10 * 3);
951
952
  case n.ALPHANUMERIC:
@@ -956,43 +957,43 @@ function Rn() {
956
957
  default:
957
958
  return Math.floor(p / 8);
958
959
  }
959
- }, e.getBestVersionForData = function(g, b) {
960
- let y;
961
- const B = r.from(b, r.M);
960
+ }, e.getBestVersionForData = function(g, R) {
961
+ let E;
962
+ const B = r.from(R, r.M);
962
963
  if (Array.isArray(g)) {
963
964
  if (g.length > 1)
964
965
  return u(g, B);
965
966
  if (g.length === 0)
966
967
  return 1;
967
- y = g[0];
968
+ E = g[0];
968
969
  } else
969
- y = g;
970
- return c(y.mode, y.getLength(), B);
970
+ E = g;
971
+ return c(E.mode, E.getLength(), B);
971
972
  }, e.getEncodedBits = function(g) {
972
973
  if (!o.isValid(g) || g < 7)
973
974
  throw new Error("Invalid QR Code version");
974
- let b = g << 12;
975
- for (; t.getBCHDigit(b) - s >= 0; )
976
- b ^= a << t.getBCHDigit(b) - s;
977
- return g << 12 | b;
975
+ let R = g << 12;
976
+ for (; t.getBCHDigit(R) - s >= 0; )
977
+ R ^= a << t.getBCHDigit(R) - s;
978
+ return g << 12 | R;
978
979
  };
979
980
  })(Ce)), Ce;
980
981
  }
981
- var Ee = {}, rt;
982
- function bn() {
983
- if (rt) return Ee;
982
+ var ye = {}, rt;
983
+ function Sn() {
984
+ if (rt) return ye;
984
985
  rt = 1;
985
986
  const e = z(), t = 1335, i = 21522, r = e.getBCHDigit(t);
986
- return Ee.getEncodedBits = function(o, a) {
987
+ return ye.getEncodedBits = function(o, a) {
987
988
  const s = o.bit << 3 | a;
988
989
  let c = s << 10;
989
990
  for (; e.getBCHDigit(c) - r >= 0; )
990
991
  c ^= t << e.getBCHDigit(c) - r;
991
992
  return (s << 10 | c) ^ i;
992
- }, Ee;
993
+ }, ye;
993
994
  }
994
995
  var Te = {}, Me, ot;
995
- function Sn() {
996
+ function An() {
996
997
  if (ot) return Me;
997
998
  ot = 1;
998
999
  const e = H();
@@ -1013,9 +1014,9 @@ function Sn() {
1013
1014
  s > 0 && (o = this.data.substr(n), a = parseInt(o, 10), r.put(a, s * 3 + 1));
1014
1015
  }, Me = t, Me;
1015
1016
  }
1016
- var Re, it;
1017
- function An() {
1018
- if (it) return Re;
1017
+ var be, it;
1018
+ function vn() {
1019
+ if (it) return be;
1019
1020
  it = 1;
1020
1021
  const e = H(), t = [
1021
1022
  "0",
@@ -1080,11 +1081,11 @@ function An() {
1080
1081
  a += t.indexOf(this.data[o + 1]), n.put(a, 11);
1081
1082
  }
1082
1083
  this.data.length % 2 && n.put(t.indexOf(this.data[o]), 6);
1083
- }, Re = i, Re;
1084
+ }, be = i, be;
1084
1085
  }
1085
- var be, st;
1086
- function vn() {
1087
- if (st) return be;
1086
+ var Re, st;
1087
+ function Nn() {
1088
+ if (st) return Re;
1088
1089
  st = 1;
1089
1090
  const e = H();
1090
1091
  function t(i) {
@@ -1099,10 +1100,10 @@ function vn() {
1099
1100
  }, t.prototype.write = function(i) {
1100
1101
  for (let r = 0, n = this.data.length; r < n; r++)
1101
1102
  i.put(this.data[r], 8);
1102
- }, be = t, be;
1103
+ }, Re = t, Re;
1103
1104
  }
1104
1105
  var Se, at;
1105
- function Nn() {
1106
+ function Bn() {
1106
1107
  if (at) return Se;
1107
1108
  at = 1;
1108
1109
  const e = H(), t = z();
@@ -1133,7 +1134,7 @@ Make sure your charset is UTF-8`
1133
1134
  }, Se = i, Se;
1134
1135
  }
1135
1136
  var Ae = { exports: {} }, ct;
1136
- function Bn() {
1137
+ function Pn() {
1137
1138
  return ct || (ct = 1, (function(e) {
1138
1139
  var t = {
1139
1140
  single_source_shortest_paths: function(i, r, n) {
@@ -1141,10 +1142,10 @@ function Bn() {
1141
1142
  a[r] = 0;
1142
1143
  var s = t.PriorityQueue.make();
1143
1144
  s.push(r, 0);
1144
- for (var c, h, f, u, d, g, b, y, B; !s.empty(); ) {
1145
+ for (var c, h, f, u, d, g, R, E, B; !s.empty(); ) {
1145
1146
  c = s.pop(), h = c.value, u = c.cost, d = i[h] || {};
1146
1147
  for (f in d)
1147
- d.hasOwnProperty(f) && (g = d[f], b = u + g, y = a[f], B = typeof a[f] > "u", (B || y > b) && (a[f] = b, s.push(f, b), o[f] = h));
1148
+ d.hasOwnProperty(f) && (g = d[f], R = u + g, E = a[f], B = typeof a[f] > "u", (B || E > R) && (a[f] = R, s.push(f, R), o[f] = h));
1148
1149
  }
1149
1150
  if (typeof n < "u" && typeof a[n] > "u") {
1150
1151
  var w = ["Could not find a path from ", r, " to ", n, "."].join("");
@@ -1201,29 +1202,29 @@ function Bn() {
1201
1202
  })(Ae)), Ae.exports;
1202
1203
  }
1203
1204
  var lt;
1204
- function Pn() {
1205
+ function Ln() {
1205
1206
  return lt || (lt = 1, (function(e) {
1206
- const t = H(), i = Sn(), r = An(), n = vn(), o = Nn(), a = At(), s = z(), c = Bn();
1207
+ const t = H(), i = An(), r = vn(), n = Nn(), o = Bn(), a = At(), s = z(), c = Pn();
1207
1208
  function h(w) {
1208
1209
  return unescape(encodeURIComponent(w)).length;
1209
1210
  }
1210
1211
  function f(w, m, p) {
1211
- const E = [];
1212
+ const y = [];
1212
1213
  let P;
1213
1214
  for (; (P = w.exec(p)) !== null; )
1214
- E.push({
1215
+ y.push({
1215
1216
  data: P[0],
1216
1217
  index: P.index,
1217
1218
  mode: m,
1218
1219
  length: P[0].length
1219
1220
  });
1220
- return E;
1221
+ return y;
1221
1222
  }
1222
1223
  function u(w) {
1223
1224
  const m = f(a.NUMERIC, t.NUMERIC, w), p = f(a.ALPHANUMERIC, t.ALPHANUMERIC, w);
1224
- let E, P;
1225
- return s.isKanjiModeEnabled() ? (E = f(a.BYTE, t.BYTE, w), P = f(a.KANJI, t.KANJI, w)) : (E = f(a.BYTE_KANJI, t.BYTE, w), P = []), m.concat(p, E, P).sort(function(S, R) {
1226
- return S.index - R.index;
1225
+ let y, P;
1226
+ return s.isKanjiModeEnabled() ? (y = f(a.BYTE, t.BYTE, w), P = f(a.KANJI, t.KANJI, w)) : (y = f(a.BYTE_KANJI, t.BYTE, w), P = []), m.concat(p, y, P).sort(function(S, b) {
1227
+ return S.index - b.index;
1227
1228
  }).map(function(S) {
1228
1229
  return {
1229
1230
  data: S.data,
@@ -1246,67 +1247,67 @@ function Pn() {
1246
1247
  }
1247
1248
  function g(w) {
1248
1249
  return w.reduce(function(m, p) {
1249
- const E = m.length - 1 >= 0 ? m[m.length - 1] : null;
1250
- return E && E.mode === p.mode ? (m[m.length - 1].data += p.data, m) : (m.push(p), m);
1250
+ const y = m.length - 1 >= 0 ? m[m.length - 1] : null;
1251
+ return y && y.mode === p.mode ? (m[m.length - 1].data += p.data, m) : (m.push(p), m);
1251
1252
  }, []);
1252
1253
  }
1253
- function b(w) {
1254
+ function R(w) {
1254
1255
  const m = [];
1255
1256
  for (let p = 0; p < w.length; p++) {
1256
- const E = w[p];
1257
- switch (E.mode) {
1257
+ const y = w[p];
1258
+ switch (y.mode) {
1258
1259
  case t.NUMERIC:
1259
1260
  m.push([
1260
- E,
1261
- { data: E.data, mode: t.ALPHANUMERIC, length: E.length },
1262
- { data: E.data, mode: t.BYTE, length: E.length }
1261
+ y,
1262
+ { data: y.data, mode: t.ALPHANUMERIC, length: y.length },
1263
+ { data: y.data, mode: t.BYTE, length: y.length }
1263
1264
  ]);
1264
1265
  break;
1265
1266
  case t.ALPHANUMERIC:
1266
1267
  m.push([
1267
- E,
1268
- { data: E.data, mode: t.BYTE, length: E.length }
1268
+ y,
1269
+ { data: y.data, mode: t.BYTE, length: y.length }
1269
1270
  ]);
1270
1271
  break;
1271
1272
  case t.KANJI:
1272
1273
  m.push([
1273
- E,
1274
- { data: E.data, mode: t.BYTE, length: h(E.data) }
1274
+ y,
1275
+ { data: y.data, mode: t.BYTE, length: h(y.data) }
1275
1276
  ]);
1276
1277
  break;
1277
1278
  case t.BYTE:
1278
1279
  m.push([
1279
- { data: E.data, mode: t.BYTE, length: h(E.data) }
1280
+ { data: y.data, mode: t.BYTE, length: h(y.data) }
1280
1281
  ]);
1281
1282
  }
1282
1283
  }
1283
1284
  return m;
1284
1285
  }
1285
- function y(w, m) {
1286
- const p = {}, E = { start: {} };
1286
+ function E(w, m) {
1287
+ const p = {}, y = { start: {} };
1287
1288
  let P = ["start"];
1288
1289
  for (let I = 0; I < w.length; I++) {
1289
- const S = w[I], R = [];
1290
+ const S = w[I], b = [];
1290
1291
  for (let C = 0; C < S.length; C++) {
1291
1292
  const v = S[C], T = "" + I + C;
1292
- R.push(T), p[T] = { node: v, lastCount: 0 }, E[T] = {};
1293
+ b.push(T), p[T] = { node: v, lastCount: 0 }, y[T] = {};
1293
1294
  for (let A = 0; A < P.length; A++) {
1294
1295
  const M = P[A];
1295
- p[M] && p[M].node.mode === v.mode ? (E[M][T] = d(p[M].lastCount + v.length, v.mode) - d(p[M].lastCount, v.mode), p[M].lastCount += v.length) : (p[M] && (p[M].lastCount = v.length), E[M][T] = d(v.length, v.mode) + 4 + t.getCharCountIndicator(v.mode, m));
1296
+ p[M] && p[M].node.mode === v.mode ? (y[M][T] = d(p[M].lastCount + v.length, v.mode) - d(p[M].lastCount, v.mode), p[M].lastCount += v.length) : (p[M] && (p[M].lastCount = v.length), y[M][T] = d(v.length, v.mode) + 4 + t.getCharCountIndicator(v.mode, m));
1296
1297
  }
1297
1298
  }
1298
- P = R;
1299
+ P = b;
1299
1300
  }
1300
1301
  for (let I = 0; I < P.length; I++)
1301
- E[P[I]].end = 0;
1302
- return { map: E, table: p };
1302
+ y[P[I]].end = 0;
1303
+ return { map: y, table: p };
1303
1304
  }
1304
1305
  function B(w, m) {
1305
1306
  let p;
1306
- const E = t.getBestModeForData(w);
1307
- if (p = t.from(m, E), p !== t.BYTE && p.bit < E.bit)
1307
+ const y = t.getBestModeForData(w);
1308
+ if (p = t.from(m, y), p !== t.BYTE && p.bit < y.bit)
1308
1309
  throw new Error('"' + w + '" cannot be encoded with mode ' + t.toString(p) + `.
1309
- Suggested mode is: ` + t.toString(E));
1310
+ Suggested mode is: ` + t.toString(y));
1310
1311
  switch (p === t.KANJI && !s.isKanjiModeEnabled() && (p = t.BYTE), p) {
1311
1312
  case t.NUMERIC:
1312
1313
  return new i(w);
@@ -1319,14 +1320,14 @@ function Pn() {
1319
1320
  }
1320
1321
  }
1321
1322
  e.fromArray = function(m) {
1322
- return m.reduce(function(p, E) {
1323
- return typeof E == "string" ? p.push(B(E, null)) : E.data && p.push(B(E.data, E.mode)), p;
1323
+ return m.reduce(function(p, y) {
1324
+ return typeof y == "string" ? p.push(B(y, null)) : y.data && p.push(B(y.data, y.mode)), p;
1324
1325
  }, []);
1325
1326
  }, e.fromString = function(m, p) {
1326
- const E = u(m, s.isKanjiModeEnabled()), P = b(E), I = y(P, p), S = c.find_path(I.map, "start", "end"), R = [];
1327
+ const y = u(m, s.isKanjiModeEnabled()), P = R(y), I = E(P, p), S = c.find_path(I.map, "start", "end"), b = [];
1327
1328
  for (let C = 1; C < S.length - 1; C++)
1328
- R.push(I.table[S[C]].node);
1329
- return e.fromArray(g(R));
1329
+ b.push(I.table[S[C]].node);
1330
+ return e.fromArray(g(b));
1330
1331
  }, e.rawSplit = function(m) {
1331
1332
  return e.fromArray(
1332
1333
  u(m, s.isKanjiModeEnabled())
@@ -1335,68 +1336,68 @@ function Pn() {
1335
1336
  })(Te)), Te;
1336
1337
  }
1337
1338
  var ut;
1338
- function Ln() {
1339
+ function Dn() {
1339
1340
  if (ut) return le;
1340
1341
  ut = 1;
1341
- const e = z(), t = Ue(), i = pn(), r = wn(), n = Cn(), o = In(), a = yn(), s = bt(), c = Mn(), h = Rn(), f = bn(), u = H(), d = Pn();
1342
+ const e = z(), t = Ue(), i = wn(), r = Cn(), n = In(), o = En(), a = yn(), s = Rt(), c = bn(), h = Rn(), f = Sn(), u = H(), d = Ln();
1342
1343
  function g(I, S) {
1343
- const R = I.size, C = o.getPositions(S);
1344
+ const b = I.size, C = o.getPositions(S);
1344
1345
  for (let v = 0; v < C.length; v++) {
1345
1346
  const T = C[v][0], A = C[v][1];
1346
1347
  for (let M = -1; M <= 7; M++)
1347
- if (!(T + M <= -1 || R <= T + M))
1348
+ if (!(T + M <= -1 || b <= T + M))
1348
1349
  for (let N = -1; N <= 7; N++)
1349
- A + N <= -1 || R <= A + N || (M >= 0 && M <= 6 && (N === 0 || N === 6) || N >= 0 && N <= 6 && (M === 0 || M === 6) || M >= 2 && M <= 4 && N >= 2 && N <= 4 ? I.set(T + M, A + N, !0, !0) : I.set(T + M, A + N, !1, !0));
1350
+ A + N <= -1 || b <= A + N || (M >= 0 && M <= 6 && (N === 0 || N === 6) || N >= 0 && N <= 6 && (M === 0 || M === 6) || M >= 2 && M <= 4 && N >= 2 && N <= 4 ? I.set(T + M, A + N, !0, !0) : I.set(T + M, A + N, !1, !0));
1350
1351
  }
1351
1352
  }
1352
- function b(I) {
1353
+ function R(I) {
1353
1354
  const S = I.size;
1354
- for (let R = 8; R < S - 8; R++) {
1355
- const C = R % 2 === 0;
1356
- I.set(R, 6, C, !0), I.set(6, R, C, !0);
1355
+ for (let b = 8; b < S - 8; b++) {
1356
+ const C = b % 2 === 0;
1357
+ I.set(b, 6, C, !0), I.set(6, b, C, !0);
1357
1358
  }
1358
1359
  }
1359
- function y(I, S) {
1360
- const R = n.getPositions(S);
1361
- for (let C = 0; C < R.length; C++) {
1362
- const v = R[C][0], T = R[C][1];
1360
+ function E(I, S) {
1361
+ const b = n.getPositions(S);
1362
+ for (let C = 0; C < b.length; C++) {
1363
+ const v = b[C][0], T = b[C][1];
1363
1364
  for (let A = -2; A <= 2; A++)
1364
1365
  for (let M = -2; M <= 2; M++)
1365
1366
  A === -2 || A === 2 || M === -2 || M === 2 || A === 0 && M === 0 ? I.set(v + A, T + M, !0, !0) : I.set(v + A, T + M, !1, !0);
1366
1367
  }
1367
1368
  }
1368
1369
  function B(I, S) {
1369
- const R = I.size, C = h.getEncodedBits(S);
1370
+ const b = I.size, C = h.getEncodedBits(S);
1370
1371
  let v, T, A;
1371
1372
  for (let M = 0; M < 18; M++)
1372
- v = Math.floor(M / 3), T = M % 3 + R - 8 - 3, A = (C >> M & 1) === 1, I.set(v, T, A, !0), I.set(T, v, A, !0);
1373
+ v = Math.floor(M / 3), T = M % 3 + b - 8 - 3, A = (C >> M & 1) === 1, I.set(v, T, A, !0), I.set(T, v, A, !0);
1373
1374
  }
1374
- function w(I, S, R) {
1375
- const C = I.size, v = f.getEncodedBits(S, R);
1375
+ function w(I, S, b) {
1376
+ const C = I.size, v = f.getEncodedBits(S, b);
1376
1377
  let T, A;
1377
1378
  for (T = 0; T < 15; T++)
1378
1379
  A = (v >> T & 1) === 1, T < 6 ? I.set(T, 8, A, !0) : T < 8 ? I.set(T + 1, 8, A, !0) : I.set(C - 15 + T, 8, A, !0), T < 8 ? I.set(8, C - T - 1, A, !0) : T < 9 ? I.set(8, 15 - T - 1 + 1, A, !0) : I.set(8, 15 - T - 1, A, !0);
1379
1380
  I.set(C - 8, 8, 1, !0);
1380
1381
  }
1381
1382
  function m(I, S) {
1382
- const R = I.size;
1383
- let C = -1, v = R - 1, T = 7, A = 0;
1384
- for (let M = R - 1; M > 0; M -= 2)
1383
+ const b = I.size;
1384
+ let C = -1, v = b - 1, T = 7, A = 0;
1385
+ for (let M = b - 1; M > 0; M -= 2)
1385
1386
  for (M === 6 && M--; ; ) {
1386
1387
  for (let N = 0; N < 2; N++)
1387
1388
  if (!I.isReserved(v, M - N)) {
1388
1389
  let O = !1;
1389
1390
  A < S.length && (O = (S[A] >>> T & 1) === 1), I.set(v, M - N, O), T--, T === -1 && (A++, T = 7);
1390
1391
  }
1391
- if (v += C, v < 0 || R <= v) {
1392
+ if (v += C, v < 0 || b <= v) {
1392
1393
  v -= C, C = -C;
1393
1394
  break;
1394
1395
  }
1395
1396
  }
1396
1397
  }
1397
- function p(I, S, R) {
1398
+ function p(I, S, b) {
1398
1399
  const C = new i();
1399
- R.forEach(function(N) {
1400
+ b.forEach(function(N) {
1400
1401
  C.put(N.mode.bit, 4), C.put(N.getLength(), u.getCharCountIndicator(N.mode, I)), N.write(C);
1401
1402
  });
1402
1403
  const v = e.getSymbolTotalCodewords(I), T = s.getTotalCodewordsCount(I, S), A = (v - T) * 8;
@@ -1405,10 +1406,10 @@ function Ln() {
1405
1406
  const M = (A - C.getLengthInBits()) / 8;
1406
1407
  for (let N = 0; N < M; N++)
1407
1408
  C.put(N % 2 ? 17 : 236, 8);
1408
- return E(C, I, S);
1409
+ return y(C, I, S);
1409
1410
  }
1410
- function E(I, S, R) {
1411
- const C = e.getSymbolTotalCodewords(S), v = s.getTotalCodewordsCount(S, R), T = C - v, A = s.getBlocksCount(S, R), M = C % A, N = A - M, O = Math.floor(C / A), Q = Math.floor(T / A), Ft = Q + 1, _e = O - Q, Ut = new c(_e);
1411
+ function y(I, S, b) {
1412
+ const C = e.getSymbolTotalCodewords(S), v = s.getTotalCodewordsCount(S, b), T = C - v, A = s.getBlocksCount(S, b), M = C % A, N = A - M, O = Math.floor(C / A), Q = Math.floor(T / A), Ft = Q + 1, _e = O - Q, Ut = new c(_e);
1412
1413
  let re = 0;
1413
1414
  const $ = new Array(A), Oe = new Array(A);
1414
1415
  let oe = 0;
@@ -1427,7 +1428,7 @@ function Ln() {
1427
1428
  ie[qe++] = Oe[k][U];
1428
1429
  return ie;
1429
1430
  }
1430
- function P(I, S, R, C) {
1431
+ function P(I, S, b, C) {
1431
1432
  let v;
1432
1433
  if (Array.isArray(I))
1433
1434
  v = d.fromArray(I);
@@ -1435,12 +1436,12 @@ function Ln() {
1435
1436
  let O = S;
1436
1437
  if (!O) {
1437
1438
  const Q = d.rawSplit(I);
1438
- O = h.getBestVersionForData(Q, R);
1439
+ O = h.getBestVersionForData(Q, b);
1439
1440
  }
1440
1441
  v = d.fromString(I, O || 40);
1441
1442
  } else
1442
1443
  throw new Error("Invalid data");
1443
- const T = h.getBestVersionForData(v, R);
1444
+ const T = h.getBestVersionForData(v, b);
1444
1445
  if (!T)
1445
1446
  throw new Error("The amount of data is too big to be stored in a QR Code");
1446
1447
  if (!S)
@@ -1452,23 +1453,23 @@ The chosen QR Code version cannot contain this amount of data.
1452
1453
  Minimum version required to store current data is: ` + T + `.
1453
1454
  `
1454
1455
  );
1455
- const A = p(S, R, v), M = e.getSymbolSize(S), N = new r(M);
1456
- return g(N, S), b(N), y(N, S), w(N, R, 0), S >= 7 && B(N, S), m(N, A), isNaN(C) && (C = a.getBestMask(
1456
+ const A = p(S, b, v), M = e.getSymbolSize(S), N = new r(M);
1457
+ return g(N, S), R(N), E(N, S), w(N, b, 0), S >= 7 && B(N, S), m(N, A), isNaN(C) && (C = a.getBestMask(
1457
1458
  N,
1458
- w.bind(null, N, R)
1459
- )), a.applyMask(C, N), w(N, R, C), {
1459
+ w.bind(null, N, b)
1460
+ )), a.applyMask(C, N), w(N, b, C), {
1460
1461
  modules: N,
1461
1462
  version: S,
1462
- errorCorrectionLevel: R,
1463
+ errorCorrectionLevel: b,
1463
1464
  maskPattern: C,
1464
1465
  segments: v
1465
1466
  };
1466
1467
  }
1467
- return le.create = function(S, R) {
1468
+ return le.create = function(S, b) {
1468
1469
  if (typeof S > "u" || S === "")
1469
1470
  throw new Error("No input text");
1470
1471
  let C = t.M, v, T;
1471
- return typeof R < "u" && (C = t.from(R.errorCorrectionLevel, t.M), v = h.from(R.version), T = a.from(R.maskPattern), R.toSJISFunc && e.setToSJISFunction(R.toSJISFunc)), P(S, v, C, T);
1472
+ return typeof b < "u" && (C = t.from(b.errorCorrectionLevel, t.M), v = h.from(b.version), T = a.from(b.maskPattern), b.toSJISFunc && e.setToSJISFunction(b.toSJISFunc)), P(S, v, C, T);
1472
1473
  }, le;
1473
1474
  }
1474
1475
  var ve = {}, Ne = {}, dt;
@@ -1515,18 +1516,18 @@ function vt() {
1515
1516
  const a = n.modules.size, s = n.modules.data, c = e.getScale(a, o), h = Math.floor((a + o.margin * 2) * c), f = o.margin * c, u = [o.color.light, o.color.dark];
1516
1517
  for (let d = 0; d < h; d++)
1517
1518
  for (let g = 0; g < h; g++) {
1518
- let b = (d * h + g) * 4, y = o.color.light;
1519
+ let R = (d * h + g) * 4, E = o.color.light;
1519
1520
  if (d >= f && g >= f && d < h - f && g < h - f) {
1520
1521
  const B = Math.floor((d - f) / c), w = Math.floor((g - f) / c);
1521
- y = u[s[B * a + w] ? 1 : 0];
1522
+ E = u[s[B * a + w] ? 1 : 0];
1522
1523
  }
1523
- r[b++] = y.r, r[b++] = y.g, r[b++] = y.b, r[b] = y.a;
1524
+ r[R++] = E.r, r[R++] = E.g, r[R++] = E.b, r[R] = E.a;
1524
1525
  }
1525
1526
  };
1526
1527
  })(Ne)), Ne;
1527
1528
  }
1528
1529
  var ft;
1529
- function Dn() {
1530
+ function Fn() {
1530
1531
  return ft || (ft = 1, (function(e) {
1531
1532
  const t = vt();
1532
1533
  function i(n, o, a) {
@@ -1553,7 +1554,7 @@ function Dn() {
1553
1554
  })(ve)), ve;
1554
1555
  }
1555
1556
  var Be = {}, ht;
1556
- function Fn() {
1557
+ function Un() {
1557
1558
  if (ht) return Be;
1558
1559
  ht = 1;
1559
1560
  const e = vt();
@@ -1574,16 +1575,16 @@ function Fn() {
1574
1575
  return s;
1575
1576
  }
1576
1577
  return Be.render = function(o, a, s) {
1577
- const c = e.getOptions(a), h = o.modules.size, f = o.modules.data, u = h + c.margin * 2, d = c.color.light.a ? "<path " + t(c.color.light, "fill") + ' d="M0 0h' + u + "v" + u + 'H0z"/>' : "", g = "<path " + t(c.color.dark, "stroke") + ' d="' + r(f, h, c.margin) + '"/>', b = 'viewBox="0 0 ' + u + " " + u + '"', B = '<svg xmlns="http://www.w3.org/2000/svg" ' + (c.width ? 'width="' + c.width + '" height="' + c.width + '" ' : "") + b + ' shape-rendering="crispEdges">' + d + g + `</svg>
1578
+ const c = e.getOptions(a), h = o.modules.size, f = o.modules.data, u = h + c.margin * 2, d = c.color.light.a ? "<path " + t(c.color.light, "fill") + ' d="M0 0h' + u + "v" + u + 'H0z"/>' : "", g = "<path " + t(c.color.dark, "stroke") + ' d="' + r(f, h, c.margin) + '"/>', R = 'viewBox="0 0 ' + u + " " + u + '"', B = '<svg xmlns="http://www.w3.org/2000/svg" ' + (c.width ? 'width="' + c.width + '" height="' + c.width + '" ' : "") + R + ' shape-rendering="crispEdges">' + d + g + `</svg>
1578
1579
  `;
1579
1580
  return typeof s == "function" && s(null, B), B;
1580
1581
  }, Be;
1581
1582
  }
1582
1583
  var gt;
1583
- function Un() {
1584
+ function kn() {
1584
1585
  if (gt) return j;
1585
1586
  gt = 1;
1586
- const e = mn(), t = Ln(), i = Dn(), r = Fn();
1587
+ const e = pn(), t = Dn(), i = Fn(), r = Un();
1587
1588
  function n(o, a, s, c, h) {
1588
1589
  const f = [].slice.call(arguments, 1), u = f.length, d = typeof f[u - 1] == "function";
1589
1590
  if (!d && !e())
@@ -1595,12 +1596,12 @@ function Un() {
1595
1596
  } else {
1596
1597
  if (u < 1)
1597
1598
  throw new Error("Too few arguments provided");
1598
- return u === 1 ? (s = a, a = c = void 0) : u === 2 && !a.getContext && (c = s, s = a, a = void 0), new Promise(function(g, b) {
1599
+ return u === 1 ? (s = a, a = c = void 0) : u === 2 && !a.getContext && (c = s, s = a, a = void 0), new Promise(function(g, R) {
1599
1600
  try {
1600
- const y = t.create(s, c);
1601
- g(o(y, a, c));
1602
- } catch (y) {
1603
- b(y);
1601
+ const E = t.create(s, c);
1602
+ g(o(E, a, c));
1603
+ } catch (E) {
1604
+ R(E);
1604
1605
  }
1605
1606
  });
1606
1607
  }
@@ -1615,8 +1616,8 @@ function Un() {
1615
1616
  return r.render(o, s);
1616
1617
  }), j;
1617
1618
  }
1618
- var kn = Un();
1619
- const _n = ({
1619
+ var _n = kn();
1620
+ const On = ({
1620
1621
  value: e,
1621
1622
  size: t = 150,
1622
1623
  bgColor: i = "#ffffff",
@@ -1624,7 +1625,7 @@ const _n = ({
1624
1625
  }) => {
1625
1626
  const [n, o] = _("");
1626
1627
  return L(() => {
1627
- e && kn.toString(e, {
1628
+ e && _n.toString(e, {
1628
1629
  type: "svg",
1629
1630
  width: t,
1630
1631
  margin: 0,
@@ -1640,13 +1641,13 @@ const _n = ({
1640
1641
  dangerouslySetInnerHTML: { __html: n }
1641
1642
  }
1642
1643
  ) : null;
1643
- }, On = ({ redirectUrl: e }) => {
1644
+ }, qn = ({ redirectUrl: e }) => {
1644
1645
  const { t } = F();
1645
1646
  return /* @__PURE__ */ l(ne, { children: [
1646
1647
  /* @__PURE__ */ l("p", { class: "IncodeRedirectTabDescription", children: t("v2.redirectToMobile.qr.description") }),
1647
- /* @__PURE__ */ l("div", { class: "IncodeRedirectQrWrapper", children: /* @__PURE__ */ l(_n, { value: e, size: 186 }) })
1648
+ /* @__PURE__ */ l("div", { class: "IncodeRedirectQrWrapper", children: /* @__PURE__ */ l(On, { value: e, size: 186 }) })
1648
1649
  ] });
1649
- }, qn = ({
1650
+ }, Vn = ({
1650
1651
  formattedPhone: e,
1651
1652
  onResend: t,
1652
1653
  onChangePhone: i
@@ -1671,9 +1672,9 @@ const _n = ({
1671
1672
  }
1672
1673
  ) })
1673
1674
  ] });
1674
- }, Vn = jt(
1675
- () => import("../phoneInput-NVIE7YFb.js").then((e) => ({ default: e.PhoneInput }))
1676
- ), zn = ({
1675
+ }, zn = jt(
1676
+ () => import("../phoneInput-B7gKhoUa.js").then((e) => ({ default: e.PhoneInput }))
1677
+ ), Hn = ({
1677
1678
  countryCode: e,
1678
1679
  phonePrefix: t,
1679
1680
  error: i,
@@ -1684,8 +1685,8 @@ const _n = ({
1684
1685
  }) => {
1685
1686
  const { t: s } = F();
1686
1687
  return /* @__PURE__ */ l(ne, { children: [
1687
- /* @__PURE__ */ l(Gt, { fallback: /* @__PURE__ */ l(x, {}), children: /* @__PURE__ */ l(
1688
- Vn,
1688
+ /* @__PURE__ */ l(Gt, { fallback: /* @__PURE__ */ l(J, {}), children: /* @__PURE__ */ l(
1689
+ zn,
1689
1690
  {
1690
1691
  countryCode: e,
1691
1692
  phonePrefix: t,
@@ -1706,49 +1707,49 @@ const _n = ({
1706
1707
  }
1707
1708
  )
1708
1709
  ] });
1709
- }, Hn = (e, t) => {
1710
+ }, Kn = (e, t) => {
1710
1711
  if (!e.startsWith(t)) return e;
1711
1712
  const i = e.slice(t.length);
1712
1713
  return `${t} ${i.replace(/(\d{3})(?=\d)/g, "$1 ")}`;
1713
- }, Kn = ({
1714
+ }, Gn = ({
1714
1715
  phonePrefix: e,
1715
1716
  smsSent: t,
1716
1717
  error: i,
1717
1718
  manager: r,
1718
1719
  onResend: n
1719
1720
  }) => {
1720
- const { t: o } = F(), [a, s] = _(e), [c, h] = _(!1), [f, u] = _(!1), d = xt(e)?.code ?? "", g = Hn(a, e), b = J((m, p) => {
1721
+ const { t: o } = F(), [a, s] = _(e), [c, h] = _(!1), [f, u] = _(!1), d = Jt(e)?.code ?? "", g = Kn(a, e), R = x((m, p) => {
1721
1722
  s(m), h(p);
1722
- }, []), y = J(() => {
1723
+ }, []), E = x(() => {
1723
1724
  u(!0), r.sendSms(a), u(!1);
1724
- }, [r, a]), B = J(() => {
1725
- y(), n();
1726
- }, [y, n]), w = J(() => {
1725
+ }, [r, a]), B = x(() => {
1726
+ E(), n();
1727
+ }, [E, n]), w = x(() => {
1727
1728
  s(e), h(!1), r.resetSms();
1728
1729
  }, [r, e]);
1729
1730
  return /* @__PURE__ */ l(ne, { children: [
1730
1731
  /* @__PURE__ */ l("p", { class: "IncodeRedirectTabDescription", children: o("v2.redirectToMobile.sms.description") }),
1731
1732
  t ? /* @__PURE__ */ l(
1732
- qn,
1733
+ Vn,
1733
1734
  {
1734
1735
  formattedPhone: g,
1735
1736
  onResend: B,
1736
1737
  onChangePhone: w
1737
1738
  }
1738
1739
  ) : /* @__PURE__ */ l(
1739
- zn,
1740
+ Hn,
1740
1741
  {
1741
1742
  countryCode: d,
1742
1743
  phonePrefix: e,
1743
1744
  error: i,
1744
1745
  isSending: f,
1745
1746
  isPhoneValid: c,
1746
- onPhoneChange: b,
1747
- onSendSms: y
1747
+ onPhoneChange: R,
1748
+ onSendSms: E
1748
1749
  }
1749
1750
  )
1750
1751
  ] });
1751
- }, Gn = ({
1752
+ }, jn = ({
1752
1753
  redirectUrl: e,
1753
1754
  phonePrefix: t,
1754
1755
  smsSent: i,
@@ -1758,15 +1759,15 @@ const _n = ({
1758
1759
  manager: a,
1759
1760
  logoSrc: s
1760
1761
  }) => {
1761
- const { t: c } = F(), [h, f] = _(!1), u = J(() => {
1762
+ const { t: c } = F(), [h, f] = _(!1), u = x(() => {
1762
1763
  f(!0), setTimeout(() => f(!1), 3e3);
1763
- }, []), d = J(() => {
1764
+ }, []), d = x(() => {
1764
1765
  a.continueOnDesktop();
1765
1766
  }, [a]);
1766
1767
  return /* @__PURE__ */ l("div", { class: "IncodeRedirectContainer", children: [
1767
- /* @__PURE__ */ l(gn, { visible: h }),
1768
+ /* @__PURE__ */ l(mn, { visible: h }),
1768
1769
  /* @__PURE__ */ l("div", { class: "IncodeRedirectCard", children: [
1769
- /* @__PURE__ */ l(fn, { logoSrc: s }),
1770
+ /* @__PURE__ */ l(hn, { logoSrc: s }),
1770
1771
  /* @__PURE__ */ l("div", { class: "IncodeRedirectOptions", children: /* @__PURE__ */ l(
1771
1772
  G,
1772
1773
  {
@@ -1779,9 +1780,9 @@ const _n = ({
1779
1780
  /* @__PURE__ */ l(G.Trigger, { value: "qr", children: c("v2.redirectToMobile.tabs.0") }),
1780
1781
  r ? null : /* @__PURE__ */ l(G.Trigger, { value: "sms", children: c("v2.redirectToMobile.tabs.1") })
1781
1782
  ] }),
1782
- /* @__PURE__ */ l(G.Content, { value: "qr", children: /* @__PURE__ */ l(On, { redirectUrl: e }) }),
1783
+ /* @__PURE__ */ l(G.Content, { value: "qr", children: /* @__PURE__ */ l(qn, { redirectUrl: e }) }),
1783
1784
  r ? null : /* @__PURE__ */ l(G.Content, { value: "sms", children: /* @__PURE__ */ l(
1784
- Kn,
1785
+ Gn,
1785
1786
  {
1786
1787
  phonePrefix: t,
1787
1788
  smsSent: i,
@@ -1794,7 +1795,7 @@ const _n = ({
1794
1795
  }
1795
1796
  ) }),
1796
1797
  /* @__PURE__ */ l(
1797
- hn,
1798
+ gn,
1798
1799
  {
1799
1800
  addContinueToDesktop: n,
1800
1801
  onContinueOnDesktop: d
@@ -1802,7 +1803,7 @@ const _n = ({
1802
1803
  )
1803
1804
  ] })
1804
1805
  ] });
1805
- }, jn = ({
1806
+ }, Yn = ({
1806
1807
  title: e,
1807
1808
  subtitle: t,
1808
1809
  logoSrc: i
@@ -1813,14 +1814,14 @@ const _n = ({
1813
1814
  n ? /* @__PURE__ */ l("h1", { class: "IncodeRedirectFinishedTitle", children: n }) : null,
1814
1815
  o ? /* @__PURE__ */ l("p", { class: "IncodeRedirectFinishedSubtitle", children: o }) : null
1815
1816
  ] });
1816
- }, Yn = ({
1817
+ }, xn = ({
1817
1818
  config: e,
1818
1819
  onFinish: t,
1819
1820
  onContinue: i,
1820
1821
  onError: r
1821
1822
  }) => {
1822
1823
  const [n, o] = It(
1823
- () => Jt({ config: e })
1824
+ () => xt({ config: e })
1824
1825
  ), { logoSrc: a, logoHeightPx: s } = qt({
1825
1826
  hideHeader: void 0,
1826
1827
  hideFooterBranding: void 0,
@@ -1834,8 +1835,8 @@ const _n = ({
1834
1835
  }, [n.status, i]), L(() => {
1835
1836
  n.status === "error" && r?.(n.error);
1836
1837
  }, [n.status, r, n]);
1837
- const c = n.status === "idle" || n.status === "loading" ? /* @__PURE__ */ l(x, { fullScreen: !0 }) : n.status === "redirecting" ? /* @__PURE__ */ l(
1838
- Gn,
1838
+ const c = n.status === "idle" || n.status === "loading" ? /* @__PURE__ */ l(J, { fullScreen: !0 }) : n.status === "redirecting" ? /* @__PURE__ */ l(
1839
+ jn,
1839
1840
  {
1840
1841
  redirectUrl: n.redirectUrl,
1841
1842
  phonePrefix: n.phonePrefix,
@@ -1846,7 +1847,7 @@ const _n = ({
1846
1847
  manager: o,
1847
1848
  logoSrc: a
1848
1849
  }
1849
- ) : n.status === "finished" ? /* @__PURE__ */ l(jn, { logoSrc: a }) : null;
1850
+ ) : n.status === "finished" ? /* @__PURE__ */ l(Yn, { logoSrc: a }) : null;
1850
1851
  return /* @__PURE__ */ l(
1851
1852
  "div",
1852
1853
  {
@@ -1861,7 +1862,7 @@ const _n = ({
1861
1862
  onContinue: i,
1862
1863
  onError: r
1863
1864
  }) => /* @__PURE__ */ l(Ct, { children: e ? /* @__PURE__ */ l(
1864
- Yn,
1865
+ xn,
1865
1866
  {
1866
1867
  config: e,
1867
1868
  onFinish: t,
@@ -1900,7 +1901,7 @@ function Y(e, t, i) {
1900
1901
  if (n === 0)
1901
1902
  a = s = c = o;
1902
1903
  else {
1903
- const f = (g, b, y) => (y < 0 && (y += 1), y > 1 && (y -= 1), y < 0.16666666666666666 ? g + (b - g) * 6 * y : y < 0.5 ? b : y < 0.6666666666666666 ? g + (b - g) * (0.6666666666666666 - y) * 6 : g), u = o < 0.5 ? o * (1 + n) : o + n - o * n, d = 2 * o - u;
1904
+ const f = (g, R, E) => (E < 0 && (E += 1), E > 1 && (E -= 1), E < 0.16666666666666666 ? g + (R - g) * 6 * E : E < 0.5 ? R : E < 0.6666666666666666 ? g + (R - g) * (0.6666666666666666 - E) * 6 : g), u = o < 0.5 ? o * (1 + n) : o + n - o * n, d = 2 * o - u;
1904
1905
  a = f(d, u, r + 1 / 3), s = f(d, u, r), c = f(d, u, r - 1 / 3);
1905
1906
  }
1906
1907
  const h = (f) => {
@@ -1909,7 +1910,7 @@ function Y(e, t, i) {
1909
1910
  };
1910
1911
  return `#${h(a)}${h(s)}${h(c)}`;
1911
1912
  }
1912
- function xn(e) {
1913
+ function Qn(e) {
1913
1914
  const t = Jn(e);
1914
1915
  if (!t)
1915
1916
  throw new Error(`Invalid color format: ${e}`);
@@ -1923,10 +1924,10 @@ function xn(e) {
1923
1924
  900: Y(t.h, t.s, 20)
1924
1925
  };
1925
1926
  }
1926
- function Qn(e, t) {
1927
+ function Wn(e, t) {
1927
1928
  if (typeof document > "u")
1928
1929
  return;
1929
- const i = xn(e);
1930
+ const i = Qn(e);
1930
1931
  let r = document.getElementById(
1931
1932
  "incode-theme"
1932
1933
  );
@@ -1946,11 +1947,11 @@ function Qn(e, t) {
1946
1947
  `;
1947
1948
  r.textContent = o;
1948
1949
  }
1949
- async function Wn() {
1950
- return (await Et.get("/omni/asset/fetch-all")).data;
1950
+ async function Xn() {
1951
+ return (await yt.get("/omni/asset/fetch-all")).data;
1951
1952
  }
1952
1953
  const mt = /* @__PURE__ */ new Map();
1953
- async function Xn(e) {
1954
+ async function Zn(e) {
1954
1955
  if (e.startsWith("data:"))
1955
1956
  return e;
1956
1957
  const t = mt.get(e);
@@ -1962,8 +1963,8 @@ async function Xn(e) {
1962
1963
  });
1963
1964
  return mt.set(e, n), n;
1964
1965
  }
1965
- async function Zn() {
1966
- const e = await Wn();
1966
+ async function $n() {
1967
+ const e = await Xn();
1967
1968
  if (!e.theme)
1968
1969
  throw new Error("Theme URL not found in assets response");
1969
1970
  const t = e.theme, i = t.startsWith("http://") || t.startsWith("https://");
@@ -1974,17 +1975,17 @@ async function Zn() {
1974
1975
  throw new Error(`Failed to fetch theme: ${a.statusText}`);
1975
1976
  r = await a.json();
1976
1977
  } else
1977
- r = (await Et.get(t)).data;
1978
+ r = (await yt.get(t)).data;
1978
1979
  const n = e["logo.png"] || e["logo.svg"] || e["logo.jpg"] || e["logo.jpeg"] || e["logo.webp"] || r.logo;
1979
1980
  let o = n;
1980
- return n && (o = await Xn(n)), {
1981
+ return n && (o = await Zn(n)), {
1981
1982
  ...r,
1982
1983
  logo: o
1983
1984
  };
1984
1985
  }
1985
- async function $n() {
1986
- const e = await Zn();
1987
- return e.main && Qn(e.main, e.buttonColor), e;
1986
+ async function er() {
1987
+ const e = await $n();
1988
+ return e.main && Wn(e.main, e.buttonColor), e;
1988
1989
  }
1989
1990
  const Pe = () => import("../id/id.es.js").then((e) => e.Id), ke = {
1990
1991
  PHONE: () => import("../phone/phone.es.js").then((e) => e.Phone),
@@ -1994,20 +1995,21 @@ const Pe = () => import("../id/id.es.js").then((e) => e.Id), ke = {
1994
1995
  ID: Pe,
1995
1996
  TUTORIAL_ID: Pe,
1996
1997
  SECOND_ID: Pe,
1997
- FACE_MATCH: () => import("../faceMatch-BdMwIeBs.js").then((e) => e.FaceMatch),
1998
+ FACE_MATCH: () => import("../faceMatch-C5Sgst55.js").then((e) => e.FaceMatch),
1998
1999
  CURP_VALIDATION: () => import("../curp-validation/curp-validation.es.js").then((e) => e.CurpValidation),
1999
2000
  GOVT_VALIDATION_PROVISIONING: () => import("../governmentValidation/governmentValidation.es.js").then(
2000
2001
  (e) => e.GovernmentValidation
2001
2002
  ),
2002
2003
  GEOLOCATION: () => import("../geolocation/geolocation.es.js").then((e) => e.Geolocation),
2003
- EXTERNAL_VERIFICATION: () => import("../ekycModule-CXSChoV-.js").then((e) => e.EkycModule),
2004
- EKYB: () => import("../ekybModule-DtMbgF08.js").then((e) => e.EkybModule),
2005
- DOCUMENT_CAPTURE: () => import("../documentCapture-DWNK3phM.js").then(
2004
+ EXTERNAL_VERIFICATION: () => import("../ekycModule-BggwsBOH.js").then((e) => e.EkycModule),
2005
+ EKYB: () => import("../ekybModule-CnuxaZ9k.js").then((e) => e.EkybModule),
2006
+ DOCUMENT_CAPTURE: () => import("../documentCapture-DGJU-4sT.js").then(
2006
2007
  (e) => e.DocumentCapture
2007
2008
  ),
2008
- ADDRESS: () => import("../documentCapture-DWNK3phM.js").then(
2009
+ ADDRESS: () => import("../documentCapture-DGJU-4sT.js").then(
2009
2010
  (e) => e.DocumentCapture
2010
- )
2011
+ ),
2012
+ COMBINED_CONSENT: () => import("../consent/consent.es.js").then((e) => e.Consent)
2011
2013
  };
2012
2014
  function Bt() {
2013
2015
  return zt({
@@ -2026,12 +2028,13 @@ function Bt() {
2026
2028
  EXTERNAL_VERIFICATION: Xt,
2027
2029
  EKYB: Wt,
2028
2030
  DOCUMENT_CAPTURE: Ve,
2029
- ADDRESS: Ve
2031
+ ADDRESS: Ve,
2032
+ COMBINED_CONSENT: an
2030
2033
  }
2031
2034
  });
2032
2035
  }
2033
2036
  async function Pt(e) {
2034
- await an({
2037
+ await cn({
2035
2038
  apiURL: e.apiURL,
2036
2039
  token: e.token,
2037
2040
  i18n: { lang: e.lang ?? "en" }
@@ -2039,7 +2042,7 @@ async function Pt(e) {
2039
2042
  }
2040
2043
  async function Lt() {
2041
2044
  try {
2042
- const e = await $n(), t = {
2045
+ const e = await er(), t = {
2043
2046
  logoSrc: e.logo,
2044
2047
  hideFooterBranding: e.hideFooterBranding
2045
2048
  };
@@ -2049,7 +2052,7 @@ async function Lt() {
2049
2052
  }
2050
2053
  }
2051
2054
  function Dt(e, t) {
2052
- const i = yt(e.flow);
2055
+ const i = Et(e.flow);
2053
2056
  i.length > 0 && Yt({
2054
2057
  ...t,
2055
2058
  pipelines: i
@@ -2057,7 +2060,7 @@ function Dt(e, t) {
2057
2060
  console.error("WASM warmup failed:", r);
2058
2061
  });
2059
2062
  }
2060
- function er(e) {
2063
+ function tr(e) {
2061
2064
  const t = e.currentStep;
2062
2065
  if (t) {
2063
2066
  const i = ke[t];
@@ -2065,7 +2068,7 @@ function er(e) {
2065
2068
  });
2066
2069
  }
2067
2070
  }
2068
- const tr = ({
2071
+ const nr = ({
2069
2072
  moduleKey: e,
2070
2073
  onNext: t
2071
2074
  }) => /* @__PURE__ */ l("section", { class: "IncodeUnsupportedModule", "aria-live": "polite", children: /* @__PURE__ */ l("div", { class: "IncodeUnsupportedModuleContent", children: [
@@ -2108,7 +2111,7 @@ function pt(e) {
2108
2111
  }
2109
2112
  };
2110
2113
  }
2111
- function Pr(e) {
2114
+ function Dr(e) {
2112
2115
  const { token: t } = e;
2113
2116
  if (V.has(t))
2114
2117
  return pt(t);
@@ -2135,7 +2138,7 @@ function Pr(e) {
2135
2138
  }), h = o.subscribe((f) => {
2136
2139
  if (f.status === "ready") {
2137
2140
  const u = f;
2138
- e.wasmConfig && Dt(u, e.wasmConfig), er(u), a.unsubscribe?.(), a.unsubscribe = void 0, a.status = "ready", a.readyResolve();
2141
+ e.wasmConfig && Dt(u, e.wasmConfig), tr(u), a.unsubscribe?.(), a.unsubscribe = void 0, a.status = "ready", a.readyResolve();
2139
2142
  } else f.status === "error" && (a.unsubscribe?.(), a.unsubscribe = void 0, a.status = "error", a.error = f.error, a.readyReject(new Error(f.error)));
2140
2143
  });
2141
2144
  a.unsubscribe = h, o.load(), await c;
@@ -2153,7 +2156,7 @@ function wt(e) {
2153
2156
  const t = De(e);
2154
2157
  return t && V.delete(e), t;
2155
2158
  }
2156
- function nr(e) {
2159
+ function rr(e) {
2157
2160
  const { apiURL: t, token: i, lang: r, disableDashboardTheme: n, onError: o } = e, a = Le(null), [s, c] = _(() => {
2158
2161
  const f = De(i);
2159
2162
  if (f?.status === "ready") {
@@ -2206,7 +2209,7 @@ function nr(e) {
2206
2209
  })();
2207
2210
  }, [t, i, r, n, o, s]), s;
2208
2211
  }
2209
- function rr(e) {
2212
+ function or(e) {
2210
2213
  const { moduleKey: t, onModuleLoading: i, onModuleLoaded: r, onError: n } = e, [o, a] = _({ status: "idle" });
2211
2214
  return L(() => {
2212
2215
  if (!t) {
@@ -2232,7 +2235,7 @@ function rr(e) {
2232
2235
  };
2233
2236
  }, [t, i, r, n]), o;
2234
2237
  }
2235
- function or(e, t) {
2238
+ function ir(e, t) {
2236
2239
  const i = Le(/* @__PURE__ */ new Set());
2237
2240
  L(() => {
2238
2241
  if (t < e.length - 1) {
@@ -2247,12 +2250,12 @@ function or(e, t) {
2247
2250
  }
2248
2251
  }, [e, t]);
2249
2252
  }
2250
- const ir = ({
2253
+ const sr = ({
2251
2254
  config: e,
2252
2255
  onFinish: t,
2253
2256
  onError: i
2254
2257
  }) => {
2255
- const { t: r } = F(), [n, o] = _(!1), a = nr({
2258
+ const { t: r } = F(), [n, o] = _(!1), a = rr({
2256
2259
  apiURL: e.apiURL,
2257
2260
  token: e.token,
2258
2261
  lang: e.lang,
@@ -2260,18 +2263,18 @@ const ir = ({
2260
2263
  onError: i
2261
2264
  }), [s, c] = It(() => a.flowManager, {
2262
2265
  autoLoad: !1
2263
- }), h = s?.status === "ready" && s.flow.redirectDesktopToMobile && !n, f = rr({
2266
+ }), h = s?.status === "ready" && s.flow.redirectDesktopToMobile && !n, f = or({
2264
2267
  moduleKey: s?.status === "ready" && !h ? s.currentStep : void 0,
2265
2268
  onModuleLoading: e.onModuleLoading,
2266
2269
  onModuleLoaded: e.onModuleLoaded,
2267
2270
  onError: i
2268
2271
  });
2269
- if (or(
2272
+ if (ir(
2270
2273
  s?.status === "ready" ? s.steps : [],
2271
2274
  s?.status === "ready" ? s.currentStepIndex : -1
2272
2275
  ), L(() => {
2273
2276
  if (s?.status === "ready" && e.wasmConfig) {
2274
- const u = s, d = yt(u.flow);
2277
+ const u = s, d = Et(u.flow);
2275
2278
  d.length > 0 && (e.onWasmWarmup?.(d), Dt(u, e.wasmConfig));
2276
2279
  }
2277
2280
  }, [s, e]), L(() => {
@@ -2287,7 +2290,7 @@ const ir = ({
2287
2290
  ] }) });
2288
2291
  if (a.status === "initializing")
2289
2292
  return /* @__PURE__ */ l("div", { class: "IncodeFlow", children: /* @__PURE__ */ l(
2290
- x,
2293
+ J,
2291
2294
  {
2292
2295
  title: e.spinnerConfig?.title,
2293
2296
  subtitle: e.spinnerConfig?.subtitle,
@@ -2297,7 +2300,7 @@ const ir = ({
2297
2300
  ) });
2298
2301
  if (!s || s.status === "idle" || s.status === "loading")
2299
2302
  return /* @__PURE__ */ l("div", { class: "IncodeFlow", children: /* @__PURE__ */ l(
2300
- x,
2303
+ J,
2301
2304
  {
2302
2305
  title: e.spinnerConfig?.title,
2303
2306
  subtitle: e.spinnerConfig?.subtitle,
@@ -2318,8 +2321,8 @@ const ir = ({
2318
2321
  config: d,
2319
2322
  flow: {
2320
2323
  flowId: g,
2321
- disableSmsOption: b,
2322
- addContinueToDesktop: y,
2324
+ disableSmsOption: R,
2325
+ addContinueToDesktop: E,
2323
2326
  qrPhishingResistance: B
2324
2327
  }
2325
2328
  } = s;
@@ -2329,8 +2332,8 @@ const ir = ({
2329
2332
  {
2330
2333
  config: {
2331
2334
  flowId: g,
2332
- disableSmsOption: b,
2333
- addContinueToDesktop: y,
2335
+ disableSmsOption: R,
2336
+ addContinueToDesktop: E,
2334
2337
  qrPhishingResistance: B,
2335
2338
  authHint: e.authHint,
2336
2339
  lang: e.lang
@@ -2342,7 +2345,7 @@ const ir = ({
2342
2345
  ) });
2343
2346
  if (!u || !d)
2344
2347
  return /* @__PURE__ */ l("div", { class: "IncodeFlow", children: /* @__PURE__ */ l(
2345
- x,
2348
+ J,
2346
2349
  {
2347
2350
  title: e.spinnerConfig?.title ?? r("loadingCircle.hangOn"),
2348
2351
  subtitle: e.spinnerConfig?.subtitle ?? r("loadingCircle.validating"),
@@ -2352,7 +2355,7 @@ const ir = ({
2352
2355
  ) });
2353
2356
  if (f.status === "unsupported")
2354
2357
  return /* @__PURE__ */ l("div", { class: "IncodeFlow", children: /* @__PURE__ */ l(
2355
- tr,
2358
+ nr,
2356
2359
  {
2357
2360
  moduleKey: u,
2358
2361
  onNext: () => c.completeModule()
@@ -2360,7 +2363,7 @@ const ir = ({
2360
2363
  ) });
2361
2364
  if (f.status === "idle" || f.status === "loading" || f.status === "error")
2362
2365
  return /* @__PURE__ */ l("div", { class: "IncodeFlow", children: /* @__PURE__ */ l(
2363
- x,
2366
+ J,
2364
2367
  {
2365
2368
  title: e.spinnerConfig?.title ?? r("loadingCircle.hangOn"),
2366
2369
  subtitle: e.spinnerConfig?.subtitle ?? r("loadingCircle.validating"),
@@ -2424,11 +2427,11 @@ const ir = ({
2424
2427
  }
2425
2428
  if (u === "TUTORIAL_ID" || u === "SECOND_ID" || // Only render ID if TUTORIAL_ID doesn't exist (otherwise useEffect will skip it)
2426
2429
  u === "ID" && !s.steps.includes("TUTORIAL_ID")) {
2427
- const m = d, E = u === "SECOND_ID" ? { ...m, isSecondId: !0 } : m;
2430
+ const m = d, y = u === "SECOND_ID" ? { ...m, isSecondId: !0 } : m;
2428
2431
  return /* @__PURE__ */ l("div", { class: "IncodeFlow", children: /* @__PURE__ */ l(
2429
2432
  w,
2430
2433
  {
2431
- config: E,
2434
+ config: y,
2432
2435
  onFinish: () => c.completeModule(),
2433
2436
  onError: (P) => {
2434
2437
  i?.(P ?? "ID capture error");
@@ -2447,8 +2450,8 @@ const ir = ({
2447
2450
  {
2448
2451
  config: p,
2449
2452
  onFinish: () => c.completeModule(),
2450
- onError: (E) => {
2451
- i?.(E ?? "Face match error");
2453
+ onError: (y) => {
2454
+ i?.(y ?? "Face match error");
2452
2455
  }
2453
2456
  },
2454
2457
  `face-match-${s.currentStepIndex}`
@@ -2526,8 +2529,8 @@ const ir = ({
2526
2529
  {
2527
2530
  config: p,
2528
2531
  onFinish: () => c.completeModule(),
2529
- onError: (E) => {
2530
- i?.(E ?? "Address capture error");
2532
+ onError: (y) => {
2533
+ i?.(y ?? "Address capture error");
2531
2534
  }
2532
2535
  },
2533
2536
  `address-${s.currentStepIndex}`
@@ -2546,30 +2549,42 @@ const ir = ({
2546
2549
  {
2547
2550
  config: p,
2548
2551
  onFinish: () => c.completeModule(),
2549
- onError: (E) => {
2550
- i?.(E ?? "eKYB verification error");
2552
+ onError: (y) => {
2553
+ i?.(y ?? "eKYB verification error");
2551
2554
  }
2552
2555
  },
2553
2556
  `ekyb-${s.currentStepIndex}`
2554
2557
  ) });
2555
2558
  }
2559
+ if (u === "COMBINED_CONSENT")
2560
+ return /* @__PURE__ */ l("div", { class: "IncodeFlow", children: /* @__PURE__ */ l(
2561
+ w,
2562
+ {
2563
+ config: d,
2564
+ onFinish: () => c.completeModule(),
2565
+ onError: (p) => {
2566
+ i?.(p ?? "Combined consent error");
2567
+ }
2568
+ },
2569
+ `combined-consent-${s.currentStepIndex}`
2570
+ ) });
2556
2571
  }
2557
2572
  return null;
2558
- }, sr = ({
2573
+ }, ar = ({
2559
2574
  config: e,
2560
2575
  onFinish: t = () => {
2561
2576
  },
2562
2577
  onError: i
2563
2578
  }) => /* @__PURE__ */ l(Ct, { children: e ? /* @__PURE__ */ l(
2564
- ir,
2579
+ sr,
2565
2580
  {
2566
2581
  config: e,
2567
2582
  onFinish: t,
2568
2583
  onError: i
2569
2584
  }
2570
2585
  ) : null });
2571
- Tt(sr, "incode-flow");
2586
+ Tt(ar, "incode-flow");
2572
2587
  export {
2573
- sr as IncodeFlow,
2574
- Pr as preloadIncodeFlow
2588
+ ar as IncodeFlow,
2589
+ Dr as preloadIncodeFlow
2575
2590
  };