@techlabi/kycrazy-ui-kit 0.51.0-beta.1 → 0.51.0-beta.2

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.
package/dist/index.es.js CHANGED
@@ -3771,7 +3771,7 @@ function ww(r) {
3771
3771
  }
3772
3772
  var kw = (r) => {
3773
3773
  var e, a, t, n, i, o, A, s, f, u, c;
3774
- let { invert: h, toast: d, unstyled: g, interacting: b, setHeights: v, visibleToasts: _, heights: E, index: I, toasts: x, expanded: k, removeToast: V, defaultRichColors: D, closeButton: q, style: tr, cancelButtonStyle: j, actionButtonStyle: ar, className: U = "", descriptionClassName: rr = "", duration: T, position: J, gap: L, loadingIcon: $, expandByDefault: m, classNames: y, icons: p, closeButtonAriaLabel: w = "Close toast", pauseWhenPageIsHidden: N } = r, [R, B] = X.useState(null), [F, O] = X.useState(null), [S, H] = X.useState(!1), [er, Q] = X.useState(!1), [K, W] = X.useState(!1), [nr, kr] = X.useState(!1), [Ir, Br] = X.useState(!1), [yr, Dr] = X.useState(0), [Mr, Z] = X.useState(0), M = X.useRef(d.duration || T || Gd), Y = X.useRef(null), or = X.useRef(null), Ar = I === 0, ir = I + 1 <= _, lr = d.type, Tr = d.dismissible !== !1, Qr = d.className || "", F0 = d.descriptionClassName || "", oe = X.useMemo(() => E.findIndex((sr) => sr.toastId === d.id) || 0, [E, d.id]), B0 = X.useMemo(() => {
3774
+ let { invert: h, toast: d, unstyled: g, interacting: b, setHeights: v, visibleToasts: _, heights: E, index: I, toasts: x, expanded: k, removeToast: V, defaultRichColors: D, closeButton: q, style: tr, cancelButtonStyle: j, actionButtonStyle: ar, className: U = "", descriptionClassName: rr = "", duration: T, position: J, gap: L, loadingIcon: $, expandByDefault: m, classNames: y, icons: p, closeButtonAriaLabel: w = "Close toast", pauseWhenPageIsHidden: N } = r, [R, B] = X.useState(null), [F, O] = X.useState(null), [S, H] = X.useState(!1), [er, Q] = X.useState(!1), [K, W] = X.useState(!1), [nr, pr] = X.useState(!1), [Ir, Br] = X.useState(!1), [wr, Dr] = X.useState(0), [Mr, Z] = X.useState(0), M = X.useRef(d.duration || T || Gd), Y = X.useRef(null), or = X.useRef(null), Ar = I === 0, ir = I + 1 <= _, lr = d.type, Tr = d.dismissible !== !1, Qr = d.className || "", F0 = d.descriptionClassName || "", oe = X.useMemo(() => E.findIndex((sr) => sr.toastId === d.id) || 0, [E, d.id]), B0 = X.useMemo(() => {
3775
3775
  var sr;
3776
3776
  return (sr = d.closeButton) != null ? sr : q;
3777
3777
  }, [d.closeButton, q]), aa = X.useMemo(() => d.duration || T || Gd, [d.duration, T]), Ve = X.useRef(0), he = X.useRef(0), st = X.useRef(0), Ce = X.useRef(null), [wn, be] = J.split("-"), ta = X.useMemo(() => E.reduce((sr, Nr, cr) => cr >= oe ? sr : sr + Nr.height, 0), [E, oe]), ha = ow(), Oa = d.invert || h, ft = lr === "loading";
@@ -3817,7 +3817,7 @@ var kw = (r) => {
3817
3817
  var sr, Nr, cr;
3818
3818
  return p != null && p.loading ? X.createElement("div", { className: ma(y == null ? void 0 : y.loader, (sr = d == null ? void 0 : d.classNames) == null ? void 0 : sr.loader, "sonner-loader"), "data-visible": lr === "loading" }, p.loading) : $ ? X.createElement("div", { className: ma(y == null ? void 0 : y.loader, (Nr = d == null ? void 0 : d.classNames) == null ? void 0 : Nr.loader, "sonner-loader"), "data-visible": lr === "loading" }, $) : X.createElement(rw, { className: ma(y == null ? void 0 : y.loader, (cr = d == null ? void 0 : d.classNames) == null ? void 0 : cr.loader), visible: lr === "loading" });
3819
3819
  }
3820
- return X.createElement("li", { tabIndex: 0, ref: or, className: ma(U, Qr, y == null ? void 0 : y.toast, (e = d == null ? void 0 : d.classNames) == null ? void 0 : e.toast, y == null ? void 0 : y.default, y == null ? void 0 : y[lr], (a = d == null ? void 0 : d.classNames) == null ? void 0 : a[lr]), "data-sonner-toast": "", "data-rich-colors": (t = d.richColors) != null ? t : D, "data-styled": !(d.jsx || d.unstyled || g), "data-mounted": S, "data-promise": !!d.promise, "data-swiped": Ir, "data-removed": er, "data-visible": ir, "data-y-position": wn, "data-x-position": be, "data-index": I, "data-front": Ar, "data-swiping": K, "data-dismissible": Tr, "data-type": lr, "data-invert": Oa, "data-swipe-out": nr, "data-swipe-direction": F, "data-expanded": !!(k || m && S), style: { "--index": I, "--toasts-before": I, "--z-index": x.length - I, "--offset": `${er ? yr : he.current}px`, "--initial-height": m ? "auto" : `${Mr}px`, ...tr, ...d.style }, onDragEnd: () => {
3820
+ return X.createElement("li", { tabIndex: 0, ref: or, className: ma(U, Qr, y == null ? void 0 : y.toast, (e = d == null ? void 0 : d.classNames) == null ? void 0 : e.toast, y == null ? void 0 : y.default, y == null ? void 0 : y[lr], (a = d == null ? void 0 : d.classNames) == null ? void 0 : a[lr]), "data-sonner-toast": "", "data-rich-colors": (t = d.richColors) != null ? t : D, "data-styled": !(d.jsx || d.unstyled || g), "data-mounted": S, "data-promise": !!d.promise, "data-swiped": Ir, "data-removed": er, "data-visible": ir, "data-y-position": wn, "data-x-position": be, "data-index": I, "data-front": Ar, "data-swiping": K, "data-dismissible": Tr, "data-type": lr, "data-invert": Oa, "data-swipe-out": nr, "data-swipe-direction": F, "data-expanded": !!(k || m && S), style: { "--index": I, "--toasts-before": I, "--z-index": x.length - I, "--offset": `${er ? wr : he.current}px`, "--initial-height": m ? "auto" : `${Mr}px`, ...tr, ...d.style }, onDragEnd: () => {
3821
3821
  W(!1), B(null), Ce.current = null;
3822
3822
  }, onPointerDown: (sr) => {
3823
3823
  ft || !Tr || (Y.current = /* @__PURE__ */ new Date(), Dr(he.current), sr.target.setPointerCapture(sr.pointerId), sr.target.tagName !== "BUTTON" && (W(!0), Ce.current = { x: sr.clientX, y: sr.clientY }));
@@ -3827,7 +3827,7 @@ var kw = (r) => {
3827
3827
  Ce.current = null;
3828
3828
  let dr = Number(((sr = or.current) == null ? void 0 : sr.style.getPropertyValue("--swipe-amount-x").replace("px", "")) || 0), vr = Number(((Nr = or.current) == null ? void 0 : Nr.style.getPropertyValue("--swipe-amount-y").replace("px", "")) || 0), Hr = (/* @__PURE__ */ new Date()).getTime() - ((cr = Y.current) == null ? void 0 : cr.getTime()), zr = R === "x" ? dr : vr, l0 = Math.abs(zr) / Hr;
3829
3829
  if (Math.abs(zr) >= pw || l0 > 0.11) {
3830
- Dr(he.current), (Er = d.onDismiss) == null || Er.call(d, d), O(R === "x" ? dr > 0 ? "right" : "left" : vr > 0 ? "down" : "up"), ue(), kr(!0), Br(!1);
3830
+ Dr(he.current), (Er = d.onDismiss) == null || Er.call(d, d), O(R === "x" ? dr > 0 ? "right" : "left" : vr > 0 ? "down" : "up"), ue(), pr(!0), Br(!1);
3831
3831
  return;
3832
3832
  }
3833
3833
  W(!1), B(null);
@@ -5373,9 +5373,9 @@ var _l = "PopperContent", [Gk, Xk] = A8(_l), c8 = C.forwardRef(
5373
5373
  s && Wk({ ...rr }),
5374
5374
  Tk({
5375
5375
  ...rr,
5376
- apply: ({ elements: nr, rects: kr, availableWidth: Ir, availableHeight: Br }) => {
5377
- const { width: yr, height: Dr } = kr.reference, Mr = nr.floating.style;
5378
- Mr.setProperty("--radix-popper-available-width", `${Ir}px`), Mr.setProperty("--radix-popper-available-height", `${Br}px`), Mr.setProperty("--radix-popper-anchor-width", `${yr}px`), Mr.setProperty("--radix-popper-anchor-height", `${Dr}px`);
5376
+ apply: ({ elements: nr, rects: pr, availableWidth: Ir, availableHeight: Br }) => {
5377
+ const { width: wr, height: Dr } = pr.reference, Mr = nr.floating.style;
5378
+ Mr.setProperty("--radix-popper-available-width", `${Ir}px`), Mr.setProperty("--radix-popper-available-height", `${Br}px`), Mr.setProperty("--radix-popper-anchor-width", `${wr}px`), Mr.setProperty("--radix-popper-anchor-height", `${Dr}px`);
5379
5379
  }
5380
5380
  }),
5381
5381
  x && Pk({ element: x, padding: A }),
@@ -5812,7 +5812,7 @@ var Do = class {
5812
5812
  clearTimeout: (r) => clearTimeout(r),
5813
5813
  setInterval: (r, e) => setInterval(r, e),
5814
5814
  clearInterval: (r) => clearInterval(r)
5815
- }, Ua, Sn, Ub, d7 = (Ub = class {
5815
+ }, Ua, Sn, U3, d7 = (U3 = class {
5816
5816
  constructor() {
5817
5817
  // We cannot have TimeoutManager<T> as we must instantiate it with a concrete
5818
5818
  // type at app boot; and if we leave that type, then any new timer provider
@@ -5841,7 +5841,7 @@ var Do = class {
5841
5841
  clearInterval(r) {
5842
5842
  P(this, Ua).clearInterval(r);
5843
5843
  }
5844
- }, Ua = new WeakMap(), Sn = new WeakMap(), Ub), Nn = new d7();
5844
+ }, Ua = new WeakMap(), Sn = new WeakMap(), U3), Nn = new d7();
5845
5845
  function h7(r) {
5846
5846
  setTimeout(r, 0);
5847
5847
  }
@@ -5995,7 +5995,7 @@ function I8(r, e) {
5995
5995
  function y7(r, e) {
5996
5996
  return typeof r == "function" ? r(...e) : !!r;
5997
5997
  }
5998
- var Wn, Yt, Wi, Yb, w7 = (Yb = class extends Do {
5998
+ var Wn, Yt, Wi, Y3, w7 = (Y3 = class extends Do {
5999
5999
  constructor() {
6000
6000
  super();
6001
6001
  Sr(this, Wn);
@@ -6036,7 +6036,7 @@ var Wn, Yt, Wi, Yb, w7 = (Yb = class extends Do {
6036
6036
  var e;
6037
6037
  return typeof P(this, Wn) == "boolean" ? P(this, Wn) : ((e = globalThis.document) == null ? void 0 : e.visibilityState) !== "hidden";
6038
6038
  }
6039
- }, Wn = new WeakMap(), Yt = new WeakMap(), Wi = new WeakMap(), Yb), Rl = new w7();
6039
+ }, Wn = new WeakMap(), Yt = new WeakMap(), Wi = new WeakMap(), Y3), Rl = new w7();
6040
6040
  function j1() {
6041
6041
  let r, e;
6042
6042
  const a = new Promise((n, i) => {
@@ -6119,7 +6119,7 @@ function E7() {
6119
6119
  }
6120
6120
  };
6121
6121
  }
6122
- var se = E7(), Ti, Ht, $i, Hb, C7 = (Hb = class extends Do {
6122
+ var se = E7(), Ti, Ht, $i, H3, C7 = (H3 = class extends Do {
6123
6123
  constructor() {
6124
6124
  super();
6125
6125
  Sr(this, Ti, !0);
@@ -6153,7 +6153,7 @@ var se = E7(), Ti, Ht, $i, Hb, C7 = (Hb = class extends Do {
6153
6153
  isOnline() {
6154
6154
  return P(this, Ti);
6155
6155
  }
6156
- }, Ti = new WeakMap(), Ht = new WeakMap(), $i = new WeakMap(), Hb), UA = new C7();
6156
+ }, Ti = new WeakMap(), Ht = new WeakMap(), $i = new WeakMap(), H3), UA = new C7();
6157
6157
  function _7(r) {
6158
6158
  return Math.min(1e3 * 2 ** r, 3e4);
6159
6159
  }
@@ -6224,7 +6224,7 @@ function N8(r) {
6224
6224
  start: () => (u() ? g() : d().then(g), n)
6225
6225
  };
6226
6226
  }
6227
- var Tn, Qb, x8 = (Qb = class {
6227
+ var Tn, Q3, x8 = (Q3 = class {
6228
6228
  constructor() {
6229
6229
  Sr(this, Tn);
6230
6230
  }
@@ -6245,7 +6245,7 @@ var Tn, Qb, x8 = (Qb = class {
6245
6245
  clearGcTimeout() {
6246
6246
  P(this, Tn) && (Nn.clearTimeout(P(this, Tn)), br(this, Tn, void 0));
6247
6247
  }
6248
- }, Tn = new WeakMap(), Qb), $n, Pi, oa, Pn, ae, xo, On, Ea, dt, Jb, I7 = (Jb = class extends x8 {
6248
+ }, Tn = new WeakMap(), Q3), $n, Pi, oa, Pn, ae, xo, On, Ea, dt, J3, I7 = (J3 = class extends x8 {
6249
6249
  constructor(e) {
6250
6250
  super();
6251
6251
  Sr(this, Ea);
@@ -6523,7 +6523,7 @@ var Tn, Qb, x8 = (Qb = class {
6523
6523
  t.onQueryUpdate();
6524
6524
  }), P(this, oa).notify({ query: this, type: "updated", action: e });
6525
6525
  });
6526
- }, Jb);
6526
+ }, J3);
6527
6527
  function R8(r, e) {
6528
6528
  return {
6529
6529
  fetchFailureCount: 0,
@@ -6552,7 +6552,7 @@ function o4(r) {
6552
6552
  fetchStatus: "idle"
6553
6553
  };
6554
6554
  }
6555
- var Be, e0, Ro, me, Vn, Oi, mt, Qt, Zo, Vi, Di, Dn, Mn, Jt, Mi, m0, X2, U1, Y1, H1, Q1, J1, z1, K1, Z8, zb, B7 = (zb = class extends Do {
6555
+ var Be, e0, Ro, me, Vn, Oi, mt, Qt, Zo, Vi, Di, Dn, Mn, Jt, Mi, m0, X2, U1, Y1, H1, Q1, J1, z1, K1, Z8, z3, B7 = (z3 = class extends Do {
6556
6556
  constructor(e, a) {
6557
6557
  super();
6558
6558
  Sr(this, m0);
@@ -6813,7 +6813,7 @@ var Be, e0, Ro, me, Vn, Oi, mt, Qt, Zo, Vi, Di, Dn, Mn, Jt, Mi, m0, X2, U1, Y1,
6813
6813
  type: "observerResultsUpdated"
6814
6814
  });
6815
6815
  });
6816
- }, zb);
6816
+ }, z3);
6817
6817
  function N7(r, e) {
6818
6818
  return Aa(e.enabled, r) !== !1 && r.state.data === void 0 && !(r.state.status === "error" && e.retryOnMount === !1);
6819
6819
  }
@@ -6918,7 +6918,7 @@ function R7(r, { pages: e, pageParams: a }) {
6918
6918
  var t;
6919
6919
  return e.length > 0 ? (t = r.getPreviousPageParam) == null ? void 0 : t.call(r, e[0], e, a[0], a) : void 0;
6920
6920
  }
6921
- var Fo, Ya, ve, Gn, Ha, Mt, Kb, Z7 = (Kb = class extends x8 {
6921
+ var Fo, Ya, ve, Gn, Ha, Mt, K3, Z7 = (K3 = class extends x8 {
6922
6922
  constructor(e) {
6923
6923
  super();
6924
6924
  Sr(this, Ha);
@@ -7133,7 +7133,7 @@ var Fo, Ya, ve, Gn, Ha, Mt, Kb, Z7 = (Kb = class extends x8 {
7133
7133
  action: e
7134
7134
  });
7135
7135
  });
7136
- }, Kb);
7136
+ }, K3);
7137
7137
  function F7() {
7138
7138
  return {
7139
7139
  context: void 0,
@@ -7147,7 +7147,7 @@ function F7() {
7147
7147
  submittedAt: 0
7148
7148
  };
7149
7149
  }
7150
- var vt, Ca, So, qb, S7 = (qb = class extends Do {
7150
+ var vt, Ca, So, q3, S7 = (q3 = class extends Do {
7151
7151
  constructor(e = {}) {
7152
7152
  super();
7153
7153
  Sr(this, vt);
@@ -7241,7 +7241,7 @@ var vt, Ca, So, qb, S7 = (qb = class extends Do {
7241
7241
  )
7242
7242
  );
7243
7243
  }
7244
- }, vt = new WeakMap(), Ca = new WeakMap(), So = new WeakMap(), qb);
7244
+ }, vt = new WeakMap(), Ca = new WeakMap(), So = new WeakMap(), q3);
7245
7245
  function iA(r) {
7246
7246
  var e;
7247
7247
  return (e = r.options.scope) == null ? void 0 : e.id;
@@ -10335,7 +10335,7 @@ function YC(r = {}) {
10335
10335
  next: (Y) => "values" in Y && Z(U(void 0, M), Y)
10336
10336
  }) : U(Z, M, !0), F = (Z) => h.state.subscribe({
10337
10337
  next: (M) => {
10338
- GC(Z.name, M.name, Z.exact) && MC(M, Z.formState || u, yr, Z.reRenderRoot) && Z.callback({
10338
+ GC(Z.name, M.name, Z.exact) && MC(M, Z.formState || u, wr, Z.reRenderRoot) && Z.callback({
10339
10339
  values: { ...i },
10340
10340
  ...a,
10341
10341
  ...M,
@@ -10451,7 +10451,7 @@ function YC(r = {}) {
10451
10451
  throw or;
10452
10452
  }, nr = (Z, M = {}) => {
10453
10453
  hr(t, Z) && (V0(M.defaultValue) ? L(Z, K0(hr(n, Z))) : (L(Z, M.defaultValue), v0(n, Z, K0(M.defaultValue))), M.keepTouched || G0(a.touchedFields, Z), M.keepDirty || (G0(a.dirtyFields, Z), a.isDirty = M.defaultValue ? ar(Z, K0(hr(n, Z))) : ar()), M.keepError || (G0(a.errors, Z), u.isValid && b()), h.state.next({ ...a }));
10454
- }, kr = (Z, M = {}) => {
10454
+ }, pr = (Z, M = {}) => {
10455
10455
  const Y = Z ? K0(Z) : n, or = K0(Y), Ar = Ne(Z), ir = Ar ? n : or;
10456
10456
  if (M.keepDefaultValues || (n = Y), !M.keepValues) {
10457
10457
  if (M.keepDirtyValues) {
@@ -10507,13 +10507,13 @@ function YC(r = {}) {
10507
10507
  isSubmitting: !1,
10508
10508
  defaultValues: n
10509
10509
  });
10510
- }, Ir = (Z, M) => kr(Ia(Z) ? Z(i) : Z, M), Br = (Z, M = {}) => {
10510
+ }, Ir = (Z, M) => pr(Ia(Z) ? Z(i) : Z, M), Br = (Z, M = {}) => {
10511
10511
  const Y = hr(t, Z), or = Y && Y._f;
10512
10512
  if (or) {
10513
10513
  const Ar = or.refs ? or.refs[0] : or.ref;
10514
10514
  Ar.focus && (Ar.focus(), M.shouldSelect && Ia(Ar.select) && Ar.select());
10515
10515
  }
10516
- }, yr = (Z) => {
10516
+ }, wr = (Z) => {
10517
10517
  a = {
10518
10518
  ...a,
10519
10519
  ...Z
@@ -10535,7 +10535,7 @@ function YC(r = {}) {
10535
10535
  _setDisabledField: H,
10536
10536
  _setErrors: I,
10537
10537
  _getFieldArray: rr,
10538
- _reset: kr,
10538
+ _reset: pr,
10539
10539
  _resetDefaultValues: () => Ia(e.defaultValues) && e.defaultValues().then((Z) => {
10540
10540
  Ir(Z, e.resetOptions), h.state.next({
10541
10541
  isLoading: !1
@@ -10772,7 +10772,7 @@ var D4;
10772
10772
  // second overwrites first
10773
10773
  });
10774
10774
  })(D4 || (D4 = {}));
10775
- const pr = u0.arrayToEnum([
10775
+ const yr = u0.arrayToEnum([
10776
10776
  "string",
10777
10777
  "nan",
10778
10778
  "number",
@@ -10796,23 +10796,23 @@ const pr = u0.arrayToEnum([
10796
10796
  ]), Xt = (r) => {
10797
10797
  switch (typeof r) {
10798
10798
  case "undefined":
10799
- return pr.undefined;
10799
+ return yr.undefined;
10800
10800
  case "string":
10801
- return pr.string;
10801
+ return yr.string;
10802
10802
  case "number":
10803
- return Number.isNaN(r) ? pr.nan : pr.number;
10803
+ return Number.isNaN(r) ? yr.nan : yr.number;
10804
10804
  case "boolean":
10805
- return pr.boolean;
10805
+ return yr.boolean;
10806
10806
  case "function":
10807
- return pr.function;
10807
+ return yr.function;
10808
10808
  case "bigint":
10809
- return pr.bigint;
10809
+ return yr.bigint;
10810
10810
  case "symbol":
10811
- return pr.symbol;
10811
+ return yr.symbol;
10812
10812
  case "object":
10813
- return Array.isArray(r) ? pr.array : r === null ? pr.null : r.then && typeof r.then == "function" && r.catch && typeof r.catch == "function" ? pr.promise : typeof Map < "u" && r instanceof Map ? pr.map : typeof Set < "u" && r instanceof Set ? pr.set : typeof Date < "u" && r instanceof Date ? pr.date : pr.object;
10813
+ return Array.isArray(r) ? yr.array : r === null ? yr.null : r.then && typeof r.then == "function" && r.catch && typeof r.catch == "function" ? yr.promise : typeof Map < "u" && r instanceof Map ? yr.map : typeof Set < "u" && r instanceof Set ? yr.set : typeof Date < "u" && r instanceof Date ? yr.date : yr.object;
10814
10814
  default:
10815
- return pr.unknown;
10815
+ return yr.unknown;
10816
10816
  }
10817
10817
  }, fr = u0.arrayToEnum([
10818
10818
  "invalid_type",
@@ -10900,7 +10900,7 @@ const ou = (r, e) => {
10900
10900
  let a;
10901
10901
  switch (r.code) {
10902
10902
  case fr.invalid_type:
10903
- r.received === pr.undefined ? a = "Required" : a = `Expected ${r.expected}, received ${r.received}`;
10903
+ r.received === yr.undefined ? a = "Required" : a = `Expected ${r.expected}, received ${r.received}`;
10904
10904
  break;
10905
10905
  case fr.invalid_literal:
10906
10906
  a = `Invalid literal value, expected ${JSON.stringify(r.expected, u0.jsonStringifyReplacer)}`;
@@ -11334,11 +11334,11 @@ function y_(r, e) {
11334
11334
  }
11335
11335
  class yt extends s0 {
11336
11336
  _parse(e) {
11337
- if (this._def.coerce && (e.data = String(e.data)), this._getType(e) !== pr.string) {
11337
+ if (this._def.coerce && (e.data = String(e.data)), this._getType(e) !== yr.string) {
11338
11338
  const i = this._getOrReturnCtx(e);
11339
11339
  return mr(i, {
11340
11340
  code: fr.invalid_type,
11341
- expected: pr.string,
11341
+ expected: yr.string,
11342
11342
  received: i.parsedType
11343
11343
  }), $r;
11344
11344
  }
@@ -11724,11 +11724,11 @@ class Qn extends s0 {
11724
11724
  super(...arguments), this.min = this.gte, this.max = this.lte, this.step = this.multipleOf;
11725
11725
  }
11726
11726
  _parse(e) {
11727
- if (this._def.coerce && (e.data = Number(e.data)), this._getType(e) !== pr.number) {
11727
+ if (this._def.coerce && (e.data = Number(e.data)), this._getType(e) !== yr.number) {
11728
11728
  const i = this._getOrReturnCtx(e);
11729
11729
  return mr(i, {
11730
11730
  code: fr.invalid_type,
11731
- expected: pr.number,
11731
+ expected: yr.number,
11732
11732
  received: i.parsedType
11733
11733
  }), $r;
11734
11734
  }
@@ -11902,7 +11902,7 @@ class Jn extends s0 {
11902
11902
  } catch {
11903
11903
  return this._getInvalidInput(e);
11904
11904
  }
11905
- if (this._getType(e) !== pr.bigint)
11905
+ if (this._getType(e) !== yr.bigint)
11906
11906
  return this._getInvalidInput(e);
11907
11907
  let t;
11908
11908
  const n = new Je();
@@ -11930,7 +11930,7 @@ class Jn extends s0 {
11930
11930
  const a = this._getOrReturnCtx(e);
11931
11931
  return mr(a, {
11932
11932
  code: fr.invalid_type,
11933
- expected: pr.bigint,
11933
+ expected: yr.bigint,
11934
11934
  received: a.parsedType
11935
11935
  }), $r;
11936
11936
  }
@@ -12026,11 +12026,11 @@ Jn.create = (r) => new Jn({
12026
12026
  });
12027
12027
  class KA extends s0 {
12028
12028
  _parse(e) {
12029
- if (this._def.coerce && (e.data = !!e.data), this._getType(e) !== pr.boolean) {
12029
+ if (this._def.coerce && (e.data = !!e.data), this._getType(e) !== yr.boolean) {
12030
12030
  const t = this._getOrReturnCtx(e);
12031
12031
  return mr(t, {
12032
12032
  code: fr.invalid_type,
12033
- expected: pr.boolean,
12033
+ expected: yr.boolean,
12034
12034
  received: t.parsedType
12035
12035
  }), $r;
12036
12036
  }
@@ -12044,11 +12044,11 @@ KA.create = (r) => new KA({
12044
12044
  });
12045
12045
  class zi extends s0 {
12046
12046
  _parse(e) {
12047
- if (this._def.coerce && (e.data = new Date(e.data)), this._getType(e) !== pr.date) {
12047
+ if (this._def.coerce && (e.data = new Date(e.data)), this._getType(e) !== yr.date) {
12048
12048
  const i = this._getOrReturnCtx(e);
12049
12049
  return mr(i, {
12050
12050
  code: fr.invalid_type,
12051
- expected: pr.date,
12051
+ expected: yr.date,
12052
12052
  received: i.parsedType
12053
12053
  }), $r;
12054
12054
  }
@@ -12122,11 +12122,11 @@ zi.create = (r) => new zi({
12122
12122
  });
12123
12123
  class j4 extends s0 {
12124
12124
  _parse(e) {
12125
- if (this._getType(e) !== pr.symbol) {
12125
+ if (this._getType(e) !== yr.symbol) {
12126
12126
  const t = this._getOrReturnCtx(e);
12127
12127
  return mr(t, {
12128
12128
  code: fr.invalid_type,
12129
- expected: pr.symbol,
12129
+ expected: yr.symbol,
12130
12130
  received: t.parsedType
12131
12131
  }), $r;
12132
12132
  }
@@ -12139,11 +12139,11 @@ j4.create = (r) => new j4({
12139
12139
  });
12140
12140
  class L4 extends s0 {
12141
12141
  _parse(e) {
12142
- if (this._getType(e) !== pr.undefined) {
12142
+ if (this._getType(e) !== yr.undefined) {
12143
12143
  const t = this._getOrReturnCtx(e);
12144
12144
  return mr(t, {
12145
12145
  code: fr.invalid_type,
12146
- expected: pr.undefined,
12146
+ expected: yr.undefined,
12147
12147
  received: t.parsedType
12148
12148
  }), $r;
12149
12149
  }
@@ -12156,11 +12156,11 @@ L4.create = (r) => new L4({
12156
12156
  });
12157
12157
  class U4 extends s0 {
12158
12158
  _parse(e) {
12159
- if (this._getType(e) !== pr.null) {
12159
+ if (this._getType(e) !== yr.null) {
12160
12160
  const t = this._getOrReturnCtx(e);
12161
12161
  return mr(t, {
12162
12162
  code: fr.invalid_type,
12163
- expected: pr.null,
12163
+ expected: yr.null,
12164
12164
  received: t.parsedType
12165
12165
  }), $r;
12166
12166
  }
@@ -12200,7 +12200,7 @@ class un extends s0 {
12200
12200
  const a = this._getOrReturnCtx(e);
12201
12201
  return mr(a, {
12202
12202
  code: fr.invalid_type,
12203
- expected: pr.never,
12203
+ expected: yr.never,
12204
12204
  received: a.parsedType
12205
12205
  }), $r;
12206
12206
  }
@@ -12211,11 +12211,11 @@ un.create = (r) => new un({
12211
12211
  });
12212
12212
  class H4 extends s0 {
12213
12213
  _parse(e) {
12214
- if (this._getType(e) !== pr.undefined) {
12214
+ if (this._getType(e) !== yr.undefined) {
12215
12215
  const t = this._getOrReturnCtx(e);
12216
12216
  return mr(t, {
12217
12217
  code: fr.invalid_type,
12218
- expected: pr.void,
12218
+ expected: yr.void,
12219
12219
  received: t.parsedType
12220
12220
  }), $r;
12221
12221
  }
@@ -12229,10 +12229,10 @@ H4.create = (r) => new H4({
12229
12229
  class et extends s0 {
12230
12230
  _parse(e) {
12231
12231
  const { ctx: a, status: t } = this._processInputParams(e), n = this._def;
12232
- if (a.parsedType !== pr.array)
12232
+ if (a.parsedType !== yr.array)
12233
12233
  return mr(a, {
12234
12234
  code: fr.invalid_type,
12235
- expected: pr.array,
12235
+ expected: yr.array,
12236
12236
  received: a.parsedType
12237
12237
  }), $r;
12238
12238
  if (n.exactLength !== null) {
@@ -12326,11 +12326,11 @@ class X0 extends s0 {
12326
12326
  return this._cached = { shape: e, keys: a }, this._cached;
12327
12327
  }
12328
12328
  _parse(e) {
12329
- if (this._getType(e) !== pr.object) {
12329
+ if (this._getType(e) !== yr.object) {
12330
12330
  const f = this._getOrReturnCtx(e);
12331
12331
  return mr(f, {
12332
12332
  code: fr.invalid_type,
12333
- expected: pr.object,
12333
+ expected: yr.object,
12334
12334
  received: f.parsedType
12335
12335
  }), $r;
12336
12336
  }
@@ -12680,7 +12680,7 @@ function Au(r, e) {
12680
12680
  const a = Xt(r), t = Xt(e);
12681
12681
  if (r === e)
12682
12682
  return { valid: !0, data: r };
12683
- if (a === pr.object && t === pr.object) {
12683
+ if (a === yr.object && t === yr.object) {
12684
12684
  const n = u0.objectKeys(e), i = u0.objectKeys(r).filter((A) => n.indexOf(A) !== -1), o = { ...r, ...e };
12685
12685
  for (const A of i) {
12686
12686
  const s = Au(r[A], e[A]);
@@ -12689,7 +12689,7 @@ function Au(r, e) {
12689
12689
  o[A] = s.data;
12690
12690
  }
12691
12691
  return { valid: !0, data: o };
12692
- } else if (a === pr.array && t === pr.array) {
12692
+ } else if (a === yr.array && t === yr.array) {
12693
12693
  if (r.length !== e.length)
12694
12694
  return { valid: !1 };
12695
12695
  const n = [];
@@ -12700,7 +12700,7 @@ function Au(r, e) {
12700
12700
  n.push(s.data);
12701
12701
  }
12702
12702
  return { valid: !0, data: n };
12703
- } else return a === pr.date && t === pr.date && +r == +e ? { valid: !0, data: r } : { valid: !1 };
12703
+ } else return a === yr.date && t === yr.date && +r == +e ? { valid: !0, data: r } : { valid: !1 };
12704
12704
  }
12705
12705
  class rs extends s0 {
12706
12706
  _parse(e) {
@@ -12743,10 +12743,10 @@ rs.create = (r, e, a) => new rs({
12743
12743
  class zn extends s0 {
12744
12744
  _parse(e) {
12745
12745
  const { status: a, ctx: t } = this._processInputParams(e);
12746
- if (t.parsedType !== pr.array)
12746
+ if (t.parsedType !== yr.array)
12747
12747
  return mr(t, {
12748
12748
  code: fr.invalid_type,
12749
- expected: pr.array,
12749
+ expected: yr.array,
12750
12750
  received: t.parsedType
12751
12751
  }), $r;
12752
12752
  if (t.data.length < this._def.items.length)
@@ -12799,10 +12799,10 @@ class Q4 extends s0 {
12799
12799
  }
12800
12800
  _parse(e) {
12801
12801
  const { status: a, ctx: t } = this._processInputParams(e);
12802
- if (t.parsedType !== pr.map)
12802
+ if (t.parsedType !== yr.map)
12803
12803
  return mr(t, {
12804
12804
  code: fr.invalid_type,
12805
- expected: pr.map,
12805
+ expected: yr.map,
12806
12806
  received: t.parsedType
12807
12807
  }), $r;
12808
12808
  const n = this._def.keyType, i = this._def.valueType, o = [...t.data.entries()].map(([A, s], f) => ({
@@ -12841,10 +12841,10 @@ Q4.create = (r, e, a) => new Q4({
12841
12841
  class oo extends s0 {
12842
12842
  _parse(e) {
12843
12843
  const { status: a, ctx: t } = this._processInputParams(e);
12844
- if (t.parsedType !== pr.set)
12844
+ if (t.parsedType !== yr.set)
12845
12845
  return mr(t, {
12846
12846
  code: fr.invalid_type,
12847
- expected: pr.set,
12847
+ expected: yr.set,
12848
12848
  received: t.parsedType
12849
12849
  }), $r;
12850
12850
  const n = this._def;
@@ -13002,7 +13002,7 @@ Ki.create = k5;
13002
13002
  class z4 extends s0 {
13003
13003
  _parse(e) {
13004
13004
  const a = u0.getValidEnumValues(this._def.values), t = this._getOrReturnCtx(e);
13005
- if (t.parsedType !== pr.string && t.parsedType !== pr.number) {
13005
+ if (t.parsedType !== yr.string && t.parsedType !== yr.number) {
13006
13006
  const n = u0.objectValues(a);
13007
13007
  return mr(t, {
13008
13008
  expected: u0.joinValues(n),
@@ -13035,13 +13035,13 @@ class es extends s0 {
13035
13035
  }
13036
13036
  _parse(e) {
13037
13037
  const { ctx: a } = this._processInputParams(e);
13038
- if (a.parsedType !== pr.promise && a.common.async === !1)
13038
+ if (a.parsedType !== yr.promise && a.common.async === !1)
13039
13039
  return mr(a, {
13040
13040
  code: fr.invalid_type,
13041
- expected: pr.promise,
13041
+ expected: yr.promise,
13042
13042
  received: a.parsedType
13043
13043
  }), $r;
13044
- const t = a.parsedType === pr.promise ? a.data : Promise.resolve(a.data);
13044
+ const t = a.parsedType === yr.promise ? a.data : Promise.resolve(a.data);
13045
13045
  return la(t.then((n) => this._def.type.parseAsync(n, {
13046
13046
  path: a.path,
13047
13047
  errorMap: a.common.contextualErrorMap
@@ -13147,7 +13147,7 @@ qi.createWithPreprocess = (r, e, a) => new qi({
13147
13147
  });
13148
13148
  class en extends s0 {
13149
13149
  _parse(e) {
13150
- return this._getType(e) === pr.undefined ? la(void 0) : this._def.innerType._parse(e);
13150
+ return this._getType(e) === yr.undefined ? la(void 0) : this._def.innerType._parse(e);
13151
13151
  }
13152
13152
  unwrap() {
13153
13153
  return this._def.innerType;
@@ -13160,7 +13160,7 @@ en.create = (r, e) => new en({
13160
13160
  });
13161
13161
  class r2 extends s0 {
13162
13162
  _parse(e) {
13163
- return this._getType(e) === pr.null ? la(null) : this._def.innerType._parse(e);
13163
+ return this._getType(e) === yr.null ? la(null) : this._def.innerType._parse(e);
13164
13164
  }
13165
13165
  unwrap() {
13166
13166
  return this._def.innerType;
@@ -13175,7 +13175,7 @@ class fu extends s0 {
13175
13175
  _parse(e) {
13176
13176
  const { ctx: a } = this._processInputParams(e);
13177
13177
  let t = a.data;
13178
- return a.parsedType === pr.undefined && (t = this._def.defaultValue()), this._def.innerType._parse({
13178
+ return a.parsedType === yr.undefined && (t = this._def.defaultValue()), this._def.innerType._parse({
13179
13179
  data: t,
13180
13180
  path: a.path,
13181
13181
  parent: a
@@ -13236,11 +13236,11 @@ uu.create = (r, e) => new uu({
13236
13236
  });
13237
13237
  class K4 extends s0 {
13238
13238
  _parse(e) {
13239
- if (this._getType(e) !== pr.nan) {
13239
+ if (this._getType(e) !== yr.nan) {
13240
13240
  const t = this._getOrReturnCtx(e);
13241
13241
  return mr(t, {
13242
13242
  code: fr.invalid_type,
13243
- expected: pr.nan,
13243
+ expected: yr.nan,
13244
13244
  received: t.parsedType
13245
13245
  }), $r;
13246
13246
  }
@@ -13567,17 +13567,17 @@ function S_() {
13567
13567
  var nr = W.$$typeof;
13568
13568
  switch (nr) {
13569
13569
  case e:
13570
- var kr = W.type;
13571
- switch (kr) {
13570
+ var pr = W.type;
13571
+ switch (pr) {
13572
13572
  case s:
13573
13573
  case f:
13574
13574
  case t:
13575
13575
  case i:
13576
13576
  case n:
13577
13577
  case c:
13578
- return kr;
13578
+ return pr;
13579
13579
  default:
13580
- var Ir = kr && kr.$$typeof;
13580
+ var Ir = pr && pr.$$typeof;
13581
13581
  switch (Ir) {
13582
13582
  case A:
13583
13583
  case u:
@@ -18587,7 +18587,7 @@ function wo(r) {
18587
18587
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
18588
18588
  }, wo(r);
18589
18589
  }
18590
- function r3(r, e) {
18590
+ function rb(r, e) {
18591
18591
  var a = Object.keys(r);
18592
18592
  if (Object.getOwnPropertySymbols) {
18593
18593
  var t = Object.getOwnPropertySymbols(r);
@@ -18600,9 +18600,9 @@ function r3(r, e) {
18600
18600
  function sA(r) {
18601
18601
  for (var e = 1; e < arguments.length; e++) {
18602
18602
  var a = arguments[e] != null ? arguments[e] : {};
18603
- e % 2 ? r3(Object(a), !0).forEach(function(t) {
18603
+ e % 2 ? rb(Object(a), !0).forEach(function(t) {
18604
18604
  TR(r, t, a[t]);
18605
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(a)) : r3(Object(a)).forEach(function(t) {
18605
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(a)) : rb(Object(a)).forEach(function(t) {
18606
18606
  Object.defineProperty(r, t, Object.getOwnPropertyDescriptor(a, t));
18607
18607
  });
18608
18608
  }
@@ -18674,7 +18674,7 @@ function OR(r, e, a) {
18674
18674
  value: void 0
18675
18675
  };
18676
18676
  }
18677
- if (!e3(o, h) && !e3(o, g)) {
18677
+ if (!eb(o, h) && !eb(o, g)) {
18678
18678
  var k, V;
18679
18679
  if (o) {
18680
18680
  o && nm(o), k = fm(o, t);
@@ -18709,7 +18709,7 @@ function OR(r, e, a) {
18709
18709
  });
18710
18710
  }
18711
18711
  }
18712
- function e3(r, e) {
18712
+ function eb(r, e) {
18713
18713
  return r === null && (r = void 0), e === null && (e = void 0), r === e;
18714
18714
  }
18715
18715
  var VR = ["name", "disabled", "readOnly", "autoComplete", "style", "className", "inputRef", "inputComponent", "numberInputProps", "smartCaret", "countrySelectComponent", "countrySelectProps", "containerComponent", "containerComponentProps", "defaultCountry", "countries", "countryOptionsOrder", "labels", "flags", "flagComponent", "flagUrl", "addInternationalOption", "internationalIcon", "displayInitialValueAsLocalNumber", "initialValueFormat", "onCountryChange", "limitMaxLength", "countryCallingCodeEditable", "focusInputOnCountrySelection", "reset", "metadata", "international", "locales"];
@@ -18721,7 +18721,7 @@ function a2(r) {
18721
18721
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
18722
18722
  }, a2(r);
18723
18723
  }
18724
- function a3(r, e) {
18724
+ function ab(r, e) {
18725
18725
  var a = Object.keys(r);
18726
18726
  if (Object.getOwnPropertySymbols) {
18727
18727
  var t = Object.getOwnPropertySymbols(r);
@@ -18734,9 +18734,9 @@ function a3(r, e) {
18734
18734
  function dm(r) {
18735
18735
  for (var e = 1; e < arguments.length; e++) {
18736
18736
  var a = arguments[e] != null ? arguments[e] : {};
18737
- e % 2 ? a3(Object(a), !0).forEach(function(t) {
18737
+ e % 2 ? ab(Object(a), !0).forEach(function(t) {
18738
18738
  va(r, t, a[t]);
18739
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(a)) : a3(Object(a)).forEach(function(t) {
18739
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(a)) : ab(Object(a)).forEach(function(t) {
18740
18740
  Object.defineProperty(r, t, Object.getOwnPropertyDescriptor(a, t));
18741
18741
  });
18742
18742
  }
@@ -18773,14 +18773,14 @@ function GR(r, e) {
18773
18773
  if (!(r instanceof e))
18774
18774
  throw new TypeError("Cannot call a class as a function");
18775
18775
  }
18776
- function t3(r, e) {
18776
+ function tb(r, e) {
18777
18777
  for (var a = 0; a < e.length; a++) {
18778
18778
  var t = e[a];
18779
18779
  t.enumerable = t.enumerable || !1, t.configurable = !0, "value" in t && (t.writable = !0), Object.defineProperty(r, bm(t.key), t);
18780
18780
  }
18781
18781
  }
18782
18782
  function XR(r, e, a) {
18783
- return e && t3(r.prototype, e), a && t3(r, a), Object.defineProperty(r, "prototype", { writable: !1 }), r;
18783
+ return e && tb(r.prototype, e), a && tb(r, a), Object.defineProperty(r, "prototype", { writable: !1 }), r;
18784
18784
  }
18785
18785
  function jR(r, e, a) {
18786
18786
  return e = ss(e), LR(r, hm() ? Reflect.construct(e, a || [], ss(r).constructor) : e.apply(r, a));
@@ -19434,7 +19434,7 @@ mm.propTypes = {
19434
19434
  */
19435
19435
  focusInputOnCountrySelection: ur.bool
19436
19436
  };
19437
- var n3 = {
19437
+ var nb = {
19438
19438
  /**
19439
19439
  * Remember (and autofill) the value as a phone number.
19440
19440
  */
@@ -19509,8 +19509,8 @@ var n3 = {
19509
19509
  };
19510
19510
  function JR(r) {
19511
19511
  r = dm({}, r);
19512
- for (var e in n3)
19513
- r[e] === void 0 && (r[e] = n3[e]);
19512
+ for (var e in nb)
19513
+ r[e] === void 0 && (r[e] = nb[e]);
19514
19514
  return r;
19515
19515
  }
19516
19516
  function zR(r, e) {
@@ -20356,14 +20356,14 @@ var oZ = { exports: {} };
20356
20356
  })(oZ);
20357
20357
  var ec = (r, e) => `${r}-${e}-${Math.random().toString(16).slice(3, 8)}`;
20358
20358
  const AZ = ec;
20359
- let i3 = 0;
20359
+ let ib = 0;
20360
20360
  var km = ({
20361
20361
  id: r,
20362
20362
  action: e,
20363
20363
  payload: a = {}
20364
20364
  }) => {
20365
20365
  let t = r;
20366
- return typeof t > "u" && (t = AZ("Job", i3), i3 += 1), {
20366
+ return typeof t > "u" && (t = AZ("Job", ib), ib += 1), {
20367
20367
  id: t,
20368
20368
  action: e,
20369
20369
  payload: a
@@ -20376,11 +20376,11 @@ C2.setLogging = (r) => {
20376
20376
  };
20377
20377
  C2.log = (...r) => ac ? console.log.apply(void 0, r) : null;
20378
20378
  const sZ = km, { log: fA } = C2, fZ = ec;
20379
- let o3 = 0;
20379
+ let ob = 0;
20380
20380
  var uZ = () => {
20381
- const r = fZ("Scheduler", o3), e = {}, a = {};
20381
+ const r = fZ("Scheduler", ob), e = {}, a = {};
20382
20382
  let t = [];
20383
- o3 += 1;
20383
+ ob += 1;
20384
20384
  const n = () => t.length, i = () => Object.keys(e).length, o = () => {
20385
20385
  if (t.length !== 0) {
20386
20386
  const c = Object.keys(e);
@@ -20509,17 +20509,17 @@ var SZ = {
20509
20509
  send: ZZ,
20510
20510
  loadImage: FZ
20511
20511
  };
20512
- const WZ = bZ, Da = km, { log: A3 } = C2, TZ = ec, En = Em, {
20512
+ const WZ = bZ, Da = km, { log: Ab } = C2, TZ = ec, En = Em, {
20513
20513
  defaultOptions: $Z,
20514
20514
  spawnWorker: PZ,
20515
20515
  terminateWorker: OZ,
20516
20516
  onMessage: VZ,
20517
- loadImage: s3,
20517
+ loadImage: sb,
20518
20518
  send: DZ
20519
20519
  } = SZ;
20520
- let f3 = 0;
20520
+ let fb = 0;
20521
20521
  var Cm = async (r = "eng", e = En.LSTM_ONLY, a = {}, t = {}) => {
20522
- const n = TZ("Worker", f3), {
20522
+ const n = TZ("Worker", fb), {
20523
20523
  logger: i,
20524
20524
  errorHandler: o,
20525
20525
  ...A
@@ -20536,9 +20536,9 @@ var Cm = async (r = "eng", e = En.LSTM_ONLY, a = {}, t = {}) => {
20536
20536
  d($.message);
20537
20537
  };
20538
20538
  let _ = PZ(A);
20539
- _.onerror = v, f3 += 1;
20539
+ _.onerror = v, fb += 1;
20540
20540
  const E = ({ id: $, action: m, payload: y }) => new Promise((p, w) => {
20541
- A3(`[${n}]: Start ${$}, action=${m}`);
20541
+ Ab(`[${n}]: Start ${$}, action=${m}`);
20542
20542
  const N = `${m}-${$}`;
20543
20543
  s[N] = { resolve: p, reject: w }, DZ(_, {
20544
20544
  workerId: n,
@@ -20601,13 +20601,13 @@ var Cm = async (r = "eng", e = En.LSTM_ONLY, a = {}, t = {}) => {
20601
20601
  }, p) => E(Da({
20602
20602
  id: p,
20603
20603
  action: "recognize",
20604
- payload: { image: await s3($), options: m, output: y }
20604
+ payload: { image: await sb($), options: m, output: y }
20605
20605
  })), T = async ($, m) => {
20606
20606
  if (h) throw Error("`worker.detect` requires Legacy model, which was not loaded.");
20607
20607
  return E(Da({
20608
20608
  id: m,
20609
20609
  action: "detect",
20610
- payload: { image: await s3($) }
20610
+ payload: { image: await sb($) }
20611
20611
  }));
20612
20612
  }, J = async () => (_ !== null && (OZ(_), _ = null), Promise.resolve());
20613
20613
  VZ(_, ({
@@ -20619,7 +20619,7 @@ var Cm = async (r = "eng", e = En.LSTM_ONLY, a = {}, t = {}) => {
20619
20619
  }) => {
20620
20620
  const N = `${p}-${m}`;
20621
20621
  if (y === "resolve")
20622
- A3(`[${$}]: Complete ${m}`), s[N].resolve({ jobId: m, data: w }), delete s[N];
20622
+ Ab(`[${$}]: Complete ${m}`), s[N].resolve({ jobId: m, data: w }), delete s[N];
20623
20623
  else if (y === "reject")
20624
20624
  if (s[N].reject(w), delete s[N], p === "load" && d(w), o)
20625
20625
  o(w);
@@ -20790,7 +20790,7 @@ var qZ = {
20790
20790
  function Cn() {
20791
20791
  throw Error("Invalid UTF8");
20792
20792
  }
20793
- function u3(r, e) {
20793
+ function ub(r, e) {
20794
20794
  return e = String.fromCharCode.apply(null, e), r == null ? e : r + e;
20795
20795
  }
20796
20796
  let uA, qf;
@@ -20830,15 +20830,15 @@ function Im(r) {
20830
20830
  }
20831
20831
  var tc, fs;
20832
20832
  r: {
20833
- for (var l3 = ["CLOSURE_FLAGS"], r1 = t2, e1 = 0; e1 < l3.length; e1++) if ((r1 = r1[l3[e1]]) == null) {
20833
+ for (var lb = ["CLOSURE_FLAGS"], r1 = t2, e1 = 0; e1 < lb.length; e1++) if ((r1 = r1[lb[e1]]) == null) {
20834
20834
  fs = null;
20835
20835
  break r;
20836
20836
  }
20837
20837
  fs = r1;
20838
20838
  }
20839
- var ko, c3 = fs && fs[610401301];
20840
- tc = c3 != null && c3;
20841
- const d3 = t2.navigator;
20839
+ var ko, cb = fs && fs[610401301];
20840
+ tc = cb != null && cb;
20841
+ const db = t2.navigator;
20842
20842
  function Su(r) {
20843
20843
  return !!tc && !!ko && ko.brands.some(({ brand: e }) => e && e.indexOf(r) != -1);
20844
20844
  }
@@ -20855,7 +20855,7 @@ function a1() {
20855
20855
  function Us(r) {
20856
20856
  return Us[" "](r), r;
20857
20857
  }
20858
- ko = d3 && d3.userAgentData || null, Us[" "] = function() {
20858
+ ko = db && db.userAgentData || null, Us[" "] = function() {
20859
20859
  };
20860
20860
  var tF = !Lt() && (sa("Trident") || sa("MSIE"));
20861
20861
  !sa("Android") || a1(), a1(), sa("Safari") && (a1() || !Lt() && sa("Coast") || !Lt() && sa("Opera") || !Lt() && sa("Edge") || (Lt() ? Su("Microsoft Edge") : sa("Edg/")) || Lt() && Su("Opera"));
@@ -20901,7 +20901,7 @@ function Nm() {
20901
20901
  }
20902
20902
  }
20903
20903
  var xm = typeof Uint8Array < "u", Rm = !tF && typeof btoa == "function";
20904
- function h3(r) {
20904
+ function hb(r) {
20905
20905
  if (!Rm) {
20906
20906
  var e;
20907
20907
  e === void 0 && (e = 0), Nm(), e = Bm[e];
@@ -20922,13 +20922,13 @@ function h3(r) {
20922
20922
  for (e = "", a = 0, t = r.length - 10240; a < t; ) e += String.fromCharCode.apply(null, r.subarray(a, a += 10240));
20923
20923
  return e += String.fromCharCode.apply(null, a ? r.subarray(a) : r), btoa(e);
20924
20924
  }
20925
- const b3 = /[-_.]/g, iF = { "-": "+", _: "/", ".": "=" };
20925
+ const bb = /[-_.]/g, iF = { "-": "+", _: "/", ".": "=" };
20926
20926
  function oF(r) {
20927
20927
  return iF[r] || "";
20928
20928
  }
20929
20929
  function Zm(r) {
20930
20930
  if (!Rm) return nF(r);
20931
- b3.test(r) && (r = r.replace(b3, oF)), r = atob(r);
20931
+ bb.test(r) && (r = r.replace(bb, oF)), r = atob(r);
20932
20932
  const e = new Uint8Array(r.length);
20933
20933
  for (let a = 0; a < r.length; a++) e[a] = r.charCodeAt(a);
20934
20934
  return e;
@@ -20977,7 +20977,7 @@ var Ys = typeof Symbol == "function" && typeof Symbol() == "symbol";
20977
20977
  function _2(r, e, a = !1) {
20978
20978
  return typeof Symbol == "function" && typeof Symbol() == "symbol" ? a && Symbol.for && r ? Symbol.for(r) : r != null ? Symbol(r) : Symbol() : e;
20979
20979
  }
20980
- var fF = _2("jas", void 0, !0), m3 = _2(void 0, "0di"), V2 = _2(void 0, "1oa"), i2 = _2(void 0, Symbol()), uF = _2(void 0, "0actk"), Wm = _2(void 0, "8utk");
20980
+ var fF = _2("jas", void 0, !0), mb = _2(void 0, "0di"), V2 = _2(void 0, "1oa"), i2 = _2(void 0, Symbol()), uF = _2(void 0, "0actk"), Wm = _2(void 0, "8utk");
20981
20981
  const Rr = Ys ? fF : "Ea", Tm = { Ea: { value: 0, configurable: !0, writable: !0, enumerable: !1 } }, $m = Object.defineProperties;
20982
20982
  function Hs(r, e) {
20983
20983
  Ys || Rr in r || $m(r, Tm), r[Rr] |= e;
@@ -21015,12 +21015,12 @@ function Ac(r, e) {
21015
21015
  }
21016
21016
  return r;
21017
21017
  }
21018
- const v3 = [];
21018
+ const vb = [];
21019
21019
  function bn(r) {
21020
21020
  if (2 & r) throw Error();
21021
21021
  }
21022
- U0(v3, 55), oc = Object.freeze(v3);
21023
- class g3 {
21022
+ U0(vb, 55), oc = Object.freeze(vb);
21023
+ class gb {
21024
21024
  constructor(e, a, t) {
21025
21025
  this.g = e, this.h = a, this.l = t;
21026
21026
  }
@@ -21039,17 +21039,17 @@ var cF = Object.freeze({});
21039
21039
  function zs(r) {
21040
21040
  return r.Na = !0, r;
21041
21041
  }
21042
- var dF = zs((r) => typeof r == "number"), p3 = zs((r) => typeof r == "string"), hF = zs((r) => typeof r == "boolean"), Ks = typeof t2.BigInt == "function" && typeof t2.BigInt(0) == "bigint";
21042
+ var dF = zs((r) => typeof r == "number"), pb = zs((r) => typeof r == "string"), hF = zs((r) => typeof r == "boolean"), Ks = typeof t2.BigInt == "function" && typeof t2.BigInt(0) == "bigint";
21043
21043
  function an(r) {
21044
21044
  var e = r;
21045
- if (p3(e)) {
21045
+ if (pb(e)) {
21046
21046
  if (!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(e)) throw Error(String(e));
21047
21047
  } else if (dF(e) && !Number.isSafeInteger(e)) throw Error(String(e));
21048
- return Ks ? BigInt(r) : r = hF(r) ? r ? "1" : "0" : p3(r) ? r.trim() || "0" : String(r);
21048
+ return Ks ? BigInt(r) : r = hF(r) ? r ? "1" : "0" : pb(r) ? r.trim() || "0" : String(r);
21049
21049
  }
21050
- var $u = zs((r) => Ks ? r >= mF && r <= gF : r[0] === "-" ? y3(r, bF) : y3(r, vF));
21050
+ var $u = zs((r) => Ks ? r >= mF && r <= gF : r[0] === "-" ? yb(r, bF) : yb(r, vF));
21051
21051
  const bF = Number.MIN_SAFE_INTEGER.toString(), mF = Ks ? BigInt(Number.MIN_SAFE_INTEGER) : void 0, vF = Number.MAX_SAFE_INTEGER.toString(), gF = Ks ? BigInt(Number.MAX_SAFE_INTEGER) : void 0;
21052
- function y3(r, e) {
21052
+ function yb(r, e) {
21053
21053
  if (r.length > e.length) return !1;
21054
21054
  if (r.length < e.length || r === e) return !0;
21055
21055
  for (let a = 0; a < r.length; a++) {
@@ -21060,16 +21060,16 @@ function y3(r, e) {
21060
21060
  }
21061
21061
  const pF = typeof Uint8Array.prototype.slice == "function";
21062
21062
  let Pm, p0 = 0, P0 = 0;
21063
- function w3(r) {
21063
+ function wb(r) {
21064
21064
  const e = r >>> 0;
21065
21065
  p0 = e, P0 = (r - e) / 4294967296 >>> 0;
21066
21066
  }
21067
21067
  function ri(r) {
21068
21068
  if (r < 0) {
21069
- w3(-r);
21069
+ wb(-r);
21070
21070
  const [e, a] = cc(p0, P0);
21071
21071
  p0 = e >>> 0, P0 = a >>> 0;
21072
- } else w3(r);
21072
+ } else wb(r);
21073
21073
  }
21074
21074
  function fc(r) {
21075
21075
  const e = Pm || (Pm = new DataView(new ArrayBuffer(8)));
@@ -21085,10 +21085,10 @@ function lc(r, e) {
21085
21085
  }
21086
21086
  function Eo(r, e) {
21087
21087
  if (r >>>= 0, (e >>>= 0) <= 2097151) var a = "" + (4294967296 * e + r);
21088
- else Qs() ? a = "" + (BigInt(e) << BigInt(32) | BigInt(r)) : (r = (16777215 & r) + 6777216 * (a = 16777215 & (r >>> 24 | e << 8)) + 6710656 * (e = e >> 16 & 65535), a += 8147497 * e, e *= 2, r >= 1e7 && (a += r / 1e7 >>> 0, r %= 1e7), a >= 1e7 && (e += a / 1e7 >>> 0, a %= 1e7), a = e + k3(a) + k3(r));
21088
+ else Qs() ? a = "" + (BigInt(e) << BigInt(32) | BigInt(r)) : (r = (16777215 & r) + 6777216 * (a = 16777215 & (r >>> 24 | e << 8)) + 6710656 * (e = e >> 16 & 65535), a += 8147497 * e, e *= 2, r >= 1e7 && (a += r / 1e7 >>> 0, r %= 1e7), a >= 1e7 && (e += a / 1e7 >>> 0, a %= 1e7), a = e + kb(a) + kb(r));
21089
21089
  return a;
21090
21090
  }
21091
- function k3(r) {
21091
+ function kb(r) {
21092
21092
  return r = String(r), "0000000".slice(r.length) + r;
21093
21093
  }
21094
21094
  function Om() {
@@ -21153,7 +21153,7 @@ function Dm(r) {
21153
21153
  else if (typeof r != "number") return;
21154
21154
  return rf(r) ? r >>> 0 : void 0;
21155
21155
  }
21156
- function E3(r) {
21156
+ function Eb(r) {
21157
21157
  if (r[0] === "-") return !1;
21158
21158
  const e = r.length;
21159
21159
  return e < 20 || e === 20 && Number(r.substring(0, 6)) < 184467;
@@ -21172,11 +21172,11 @@ function Xm(r) {
21172
21172
  var e = o2(Number(r));
21173
21173
  return tn(e) ? String(e) : ((e = r.indexOf(".")) !== -1 && (r = r.substring(0, e)), Gm(r));
21174
21174
  }
21175
- function C3(r) {
21175
+ function Cb(r) {
21176
21176
  var e = o2(Number(r));
21177
21177
  return tn(e) ? an(e) : ((e = r.indexOf(".")) !== -1 && (r = r.substring(0, e)), Qs() ? an(Co(64, BigInt(r))) : an(Gm(r)));
21178
21178
  }
21179
- function _3(r) {
21179
+ function _b(r) {
21180
21180
  if (tn(r)) r = an(dc(r));
21181
21181
  else {
21182
21182
  if (r = o2(r), tn(r)) r = String(r);
@@ -21196,14 +21196,14 @@ function EF(r) {
21196
21196
  var e = typeof r;
21197
21197
  if (e === "bigint") return String(yF(64, r));
21198
21198
  if (_o(r)) {
21199
- if (e === "string") return e = o2(Number(r)), tn(e) && e >= 0 ? r = String(e) : ((e = r.indexOf(".")) !== -1 && (r = r.substring(0, e)), E3(r) || (qs(r), r = Eo(p0, P0))), r;
21199
+ if (e === "string") return e = o2(Number(r)), tn(e) && e >= 0 ? r = String(e) : ((e = r.indexOf(".")) !== -1 && (r = r.substring(0, e)), Eb(r) || (qs(r), r = Eo(p0, P0))), r;
21200
21200
  if (e === "number") return (r = o2(r)) >= 0 && tn(r) ? r : function(a) {
21201
21201
  if (a < 0) {
21202
21202
  ri(a);
21203
21203
  var t = Eo(p0, P0);
21204
21204
  return a = Number(t), tn(a) ? a : t;
21205
21205
  }
21206
- return E3(t = String(a)) ? t : (ri(a), uc(p0, P0));
21206
+ return Eb(t = String(a)) ? t : (ri(a), uc(p0, P0));
21207
21207
  }(r);
21208
21208
  }
21209
21209
  }
@@ -21220,7 +21220,7 @@ function A2(r) {
21220
21220
  }
21221
21221
  function hc(r, e, a, t) {
21222
21222
  if (r != null && typeof r == "object" && r.W === Uo) return r;
21223
- if (!Array.isArray(r)) return a ? 2 & t ? ((r = e[m3]) || (I2((r = new e()).u), r = e[m3] = r), e = r) : e = new e() : e = void 0, e;
21223
+ if (!Array.isArray(r)) return a ? 2 & t ? ((r = e[mb]) || (I2((r = new e()).u), r = e[mb] = r), e = r) : e = new e() : e = void 0, e;
21224
21224
  let n = a = 0 | r[Rr];
21225
21225
  return n === 0 && (n |= 32 & t), n |= 2 & t, n !== a && U0(r, n), new e(r);
21226
21226
  }
@@ -21229,16 +21229,16 @@ function CF(r, e, a) {
21229
21229
  if (!_o(e = r)) throw Wu("int64");
21230
21230
  switch (typeof e) {
21231
21231
  case "string":
21232
- e = C3(e);
21232
+ e = Cb(e);
21233
21233
  break r;
21234
21234
  case "bigint":
21235
21235
  e = an(Co(64, e));
21236
21236
  break r;
21237
21237
  default:
21238
- e = _3(e);
21238
+ e = _b(e);
21239
21239
  }
21240
21240
  }
21241
- else r = typeof (e = r), e = e == null ? e : r === "bigint" ? an(Co(64, e)) : _o(e) ? r === "string" ? C3(e) : _3(e) : void 0;
21241
+ else r = typeof (e = r), e = e == null ? e : r === "bigint" ? an(Co(64, e)) : _o(e) ? r === "string" ? Cb(e) : _b(e) : void 0;
21242
21242
  return (r = e) == null ? a ? wF : void 0 : r;
21243
21243
  }
21244
21244
  function _F(r) {
@@ -21296,14 +21296,14 @@ const NF = BF ? (Object.setPrototypeOf(t1.prototype, Map.prototype), Object.defi
21296
21296
  super();
21297
21297
  }
21298
21298
  };
21299
- function I3(r) {
21299
+ function Ib(r) {
21300
21300
  return r;
21301
21301
  }
21302
21302
  function n1(r) {
21303
21303
  if (2 & r.M) throw Error("Cannot mutate an immutable Map");
21304
21304
  }
21305
21305
  var tt = class extends NF {
21306
- constructor(r, e, a = I3, t = I3) {
21306
+ constructor(r, e, a = Ib, t = Ib) {
21307
21307
  super();
21308
21308
  let n = 0 | r[Rr];
21309
21309
  n |= 64, U0(r, n), this.M = n, this.I = e, this.S = a, this.X = this.I ? xF : t;
@@ -21331,14 +21331,14 @@ var tt = class extends NF {
21331
21331
  entries() {
21332
21332
  if (this.I) {
21333
21333
  var r = super.keys();
21334
- r = new g3(r, ZF, this);
21334
+ r = new gb(r, ZF, this);
21335
21335
  } else r = super.entries();
21336
21336
  return r;
21337
21337
  }
21338
21338
  values() {
21339
21339
  if (this.I) {
21340
21340
  var r = super.keys();
21341
- r = new g3(r, tt.prototype.get, this);
21341
+ r = new gb(r, tt.prototype.get, this);
21342
21342
  } else r = super.values();
21343
21343
  return r;
21344
21344
  }
@@ -21379,7 +21379,7 @@ function ZF(r) {
21379
21379
  return [r, this.get(r)];
21380
21380
  }
21381
21381
  let FF, Lm, Um, SF;
21382
- function B3() {
21382
+ function Bb() {
21383
21383
  return FF || (FF = new tt(I2([]), void 0, void 0, void 0, IF));
21384
21384
  }
21385
21385
  function Ou(r, e, a, t, n) {
@@ -21422,11 +21422,11 @@ function bc(r) {
21422
21422
  case "boolean":
21423
21423
  return r ? 1 : 0;
21424
21424
  case "object":
21425
- if (Kn(r)) return Kn(r) && ic(Wm), h3(r);
21425
+ if (Kn(r)) return Kn(r) && ic(Wm), hb(r);
21426
21426
  if (r.W === Uo) return Ym(r);
21427
21427
  if (r instanceof Et) {
21428
21428
  const e = r.g;
21429
- return e == null ? "" : typeof e == "string" ? e : r.g = h3(e);
21429
+ return e == null ? "" : typeof e == "string" ? e : r.g = hb(e);
21430
21430
  }
21431
21431
  return r instanceof tt ? r.La() : void 0;
21432
21432
  }
@@ -21821,7 +21821,7 @@ function tv(r, e) {
21821
21821
  return r.aa && r.m ? a = r.h.subarray(a, a + e) : (r = r.h, a = a === (e = a + e) ? new Uint8Array(0) : pF ? r.slice(a, e) : new Uint8Array(r.subarray(a, e))), a.length == 0 ? qn() : new Et(a, n2);
21822
21822
  }
21823
21823
  tt.prototype.toJSON = void 0;
21824
- var N3 = [];
21824
+ var Nb = [];
21825
21825
  function nv(r) {
21826
21826
  var e = r.g;
21827
21827
  if (e.g == e.l) return !1;
@@ -21895,9 +21895,9 @@ function _c(r) {
21895
21895
  let A, s = null;
21896
21896
  for (; i < e; ) {
21897
21897
  var o = r[i++];
21898
- o < 128 ? a.push(o) : o < 224 ? i >= e ? Cn() : (A = r[i++], o < 194 || (192 & A) != 128 ? (i--, Cn()) : a.push((31 & o) << 6 | 63 & A)) : o < 240 ? i >= e - 1 ? Cn() : (A = r[i++], (192 & A) != 128 || o === 224 && A < 160 || o === 237 && A >= 160 || (192 & (t = r[i++])) != 128 ? (i--, Cn()) : a.push((15 & o) << 12 | (63 & A) << 6 | 63 & t)) : o <= 244 ? i >= e - 2 ? Cn() : (A = r[i++], (192 & A) != 128 || A - 144 + (o << 28) >> 30 || (192 & (t = r[i++])) != 128 || (192 & (n = r[i++])) != 128 ? (i--, Cn()) : (o = (7 & o) << 18 | (63 & A) << 12 | (63 & t) << 6 | 63 & n, o -= 65536, a.push(55296 + (o >> 10 & 1023), 56320 + (1023 & o)))) : Cn(), a.length >= 8192 && (s = u3(s, a), a.length = 0);
21898
+ o < 128 ? a.push(o) : o < 224 ? i >= e ? Cn() : (A = r[i++], o < 194 || (192 & A) != 128 ? (i--, Cn()) : a.push((31 & o) << 6 | 63 & A)) : o < 240 ? i >= e - 1 ? Cn() : (A = r[i++], (192 & A) != 128 || o === 224 && A < 160 || o === 237 && A >= 160 || (192 & (t = r[i++])) != 128 ? (i--, Cn()) : a.push((15 & o) << 12 | (63 & A) << 6 | 63 & t)) : o <= 244 ? i >= e - 2 ? Cn() : (A = r[i++], (192 & A) != 128 || A - 144 + (o << 28) >> 30 || (192 & (t = r[i++])) != 128 || (192 & (n = r[i++])) != 128 ? (i--, Cn()) : (o = (7 & o) << 18 | (63 & A) << 12 | (63 & t) << 6 | 63 & n, o -= 65536, a.push(55296 + (o >> 10 & 1023), 56320 + (1023 & o)))) : Cn(), a.length >= 8192 && (s = ub(s, a), a.length = 0);
21899
21899
  }
21900
- i = u3(s, a);
21900
+ i = ub(s, a);
21901
21901
  }
21902
21902
  return i;
21903
21903
  }
@@ -21913,7 +21913,7 @@ var lA = [];
21913
21913
  function Wa(r, e, a) {
21914
21914
  e.g ? e.m(r, e.g, e.h, a) : e.m(r, e.h, a);
21915
21915
  }
21916
- var wr = class {
21916
+ var kr = class {
21917
21917
  constructor(r, e) {
21918
21918
  this.u = Hm(r, e);
21919
21919
  }
@@ -21937,10 +21937,10 @@ var wr = class {
21937
21937
  return !!(2 & (0 | this.u[Rr]));
21938
21938
  }
21939
21939
  };
21940
- function x3(r) {
21940
+ function xb(r) {
21941
21941
  return r ? /^\d+$/.test(r) ? (qs(r), new Xu(p0, P0)) : null : $F || ($F = new Xu(0, 0));
21942
21942
  }
21943
- wr.prototype.W = Uo, wr.prototype.toString = function() {
21943
+ kr.prototype.W = Uo, kr.prototype.toString = function() {
21944
21944
  return this.u.toString();
21945
21945
  };
21946
21946
  var Xu = class {
@@ -21949,7 +21949,7 @@ var Xu = class {
21949
21949
  }
21950
21950
  };
21951
21951
  let $F;
21952
- function R3(r) {
21952
+ function Rb(r) {
21953
21953
  return r ? /^-?\d+$/.test(r) ? (qs(r), new ju(p0, P0)) : null : PF || (PF = new ju(0, 0));
21954
21954
  }
21955
21955
  var ju = class {
@@ -22020,7 +22020,7 @@ const OF = ff(function(r, e, a, t, n) {
22020
22020
  }, lv), VF = ff(function(r, e, a, t, n) {
22021
22021
  return r.h === 2 && (Yo(r, yc(e, t, a), n), !0);
22022
22022
  }, lv);
22023
- var uf = Symbol(), Fc = Symbol(), Z3 = Symbol(), F3 = Symbol();
22023
+ var uf = Symbol(), Fc = Symbol(), Zb = Symbol(), Fb = Symbol();
22024
22024
  let cv, dv;
22025
22025
  function ui(r, e, a, t) {
22026
22026
  var n = t[r];
@@ -22065,7 +22065,7 @@ function hv(r) {
22065
22065
  return Array.isArray(r) ? r[0] instanceof Z2 ? r : [VF, r] : [r, void 0];
22066
22066
  }
22067
22067
  function bv(r, e) {
22068
- return r instanceof wr ? r.u : Array.isArray(r) ? nn(r, e, !1) : void 0;
22068
+ return r instanceof kr ? r.u : Array.isArray(r) ? nn(r, e, !1) : void 0;
22069
22069
  }
22070
22070
  function Sc(r, e, a, t) {
22071
22071
  const n = a.g;
@@ -22077,7 +22077,7 @@ function Wc(r, e, a, t, n) {
22077
22077
  r[e] = (s, f, u) => i(s, f, u, A || (A = ui(Fc, Sc, Wc, t).T), o || (o = Tc(t)), n);
22078
22078
  }
22079
22079
  function Tc(r) {
22080
- let e = r[Z3];
22080
+ let e = r[Zb];
22081
22081
  if (e != null) return e;
22082
22082
  const a = ui(Fc, Sc, Wc, r);
22083
22083
  return e = a.la ? (t, n) => cv(t, n, a) : (t, n) => {
@@ -22091,7 +22091,7 @@ function Tc(r) {
22091
22091
  A != null && A(n, t, o) || (o = (A = n).l, RA(A), A.fa ? A = void 0 : (s = A.g.g - o, A.g.g = o, A = tv(A.g, s)), o = t, A && ((s = o[i2]) ? s.push(A) : o[i2] = [A]));
22092
22092
  }
22093
22093
  return 8192 & i && I2(t), !0;
22094
- }, r[Z3] = e;
22094
+ }, r[Zb] = e;
22095
22095
  }
22096
22096
  function DF(r) {
22097
22097
  const e = (r = hv(r))[0].g;
@@ -22110,10 +22110,10 @@ function cf(r, e, a, t) {
22110
22110
  r[e] = (A, s, f) => o(A, s, f, i || (i = ui(uf, lf, cf, t).T), n || (n = mv(t)));
22111
22111
  }
22112
22112
  function mv(r) {
22113
- let e = r[F3];
22113
+ let e = r[Fb];
22114
22114
  if (!e) {
22115
22115
  const a = ui(uf, lf, cf, r);
22116
- e = (t, n) => vv(t, n, a), r[F3] = e;
22116
+ e = (t, n) => vv(t, n, a), r[Fb] = e;
22117
22117
  }
22118
22118
  return e;
22119
22119
  }
@@ -22186,7 +22186,7 @@ function gv(r, e, a) {
22186
22186
  if (n === "string") return Xm(t);
22187
22187
  if (n === "number") return dc(t);
22188
22188
  }
22189
- }(e), e != null && (typeof e == "string" && R3(e), e != null))
22189
+ }(e), e != null && (typeof e == "string" && Rb(e), e != null))
22190
22190
  switch (qe(r, a, 0), typeof e) {
22191
22191
  case "number":
22192
22192
  r = r.g, ri(e), Ni(r, p0, P0);
@@ -22195,7 +22195,7 @@ function gv(r, e, a) {
22195
22195
  a = BigInt.asUintN(64, e), a = new ju(Number(a & BigInt(4294967295)), Number(a >> BigInt(32))), Ni(r.g, a.h, a.g);
22196
22196
  break;
22197
22197
  default:
22198
- a = R3(e), Ni(r.g, a.h, a.g);
22198
+ a = Rb(e), Ni(r.g, a.h, a.g);
22199
22199
  }
22200
22200
  }
22201
22201
  function pv(r, e, a) {
@@ -22247,7 +22247,7 @@ var bt = ke(function(r, e, a) {
22247
22247
  }, gv, sv), XF = ke(function(r, e, a) {
22248
22248
  return r.h === 0 && (Ee(e, a, Ec(r.g, uc)), !0);
22249
22249
  }, function(r, e, a) {
22250
- if ((e = EF(e)) != null && (typeof e == "string" && x3(e), e != null))
22250
+ if ((e = EF(e)) != null && (typeof e == "string" && xb(e), e != null))
22251
22251
  switch (qe(r, a, 0), typeof e) {
22252
22252
  case "number":
22253
22253
  r = r.g, ri(e), Ni(r, p0, P0);
@@ -22256,7 +22256,7 @@ var bt = ke(function(r, e, a) {
22256
22256
  a = BigInt.asUintN(64, e), a = new Xu(Number(a & BigInt(4294967295)), Number(a >> BigInt(32))), Ni(r.g, a.h, a.g);
22257
22257
  break;
22258
22258
  default:
22259
- a = x3(e), Ni(r.g, a.h, a.g);
22259
+ a = xb(e), Ni(r.g, a.h, a.g);
22260
22260
  }
22261
22261
  }, Ta()), O0 = ke(function(r, e, a) {
22262
22262
  return r.h === 0 && (Ee(e, a, ln(r.g)), !0);
@@ -22329,8 +22329,8 @@ function vn(r, e) {
22329
22329
  i.o(t), o1(i.g, a, t), a = i;
22330
22330
  } else a = new class {
22331
22331
  constructor(i, o) {
22332
- if (N3.length) {
22333
- const A = N3.pop();
22332
+ if (Nb.length) {
22333
+ const A = Nb.pop();
22334
22334
  o1(A, i, o), i = A;
22335
22335
  } else i = new class {
22336
22336
  constructor(A, s) {
@@ -22384,15 +22384,15 @@ function hf(r) {
22384
22384
  return e.l = [a], a;
22385
22385
  };
22386
22386
  }
22387
- var S3 = class extends wr {
22387
+ var Sb = class extends kr {
22388
22388
  constructor(r) {
22389
22389
  super(r);
22390
22390
  }
22391
- }, W3 = [0, Ut, ke(function(r, e, a) {
22391
+ }, Wb = [0, Ut, ke(function(r, e, a) {
22392
22392
  return r.h === 2 && (Ee(e, a, (r = iv(r)) === qn() ? void 0 : r), !0);
22393
22393
  }, function(r, e, a) {
22394
22394
  if (e != null) {
22395
- if (e instanceof wr) {
22395
+ if (e instanceof kr) {
22396
22396
  const t = e.Oa;
22397
22397
  return void (t && (e = t(e), e != null && sf(r, a, kc(e).buffer)));
22398
22398
  }
@@ -22400,14 +22400,14 @@ var S3 = class extends wr {
22400
22400
  }
22401
22401
  Ev(r, e, a);
22402
22402
  }, fv)];
22403
- let s1, T3 = globalThis.trustedTypes;
22404
- function $3(r) {
22403
+ let s1, Tb = globalThis.trustedTypes;
22404
+ function $b(r) {
22405
22405
  s1 === void 0 && (s1 = function() {
22406
22406
  let a = null;
22407
- if (!T3) return a;
22407
+ if (!Tb) return a;
22408
22408
  try {
22409
22409
  const t = (n) => n;
22410
- a = T3.createPolicy("goog#html", { createHTML: t, createScript: t, createScriptURL: t });
22410
+ a = Tb.createPolicy("goog#html", { createHTML: t, createScript: t, createScriptURL: t });
22411
22411
  } catch {
22412
22412
  }
22413
22413
  return a;
@@ -22423,12 +22423,12 @@ function $3(r) {
22423
22423
  }(e ? e.createScriptURL(r) : r);
22424
22424
  }
22425
22425
  function YF(r, ...e) {
22426
- if (e.length === 0) return $3(r[0]);
22426
+ if (e.length === 0) return $b(r[0]);
22427
22427
  let a = r[0];
22428
22428
  for (let t = 0; t < e.length; t++) a += encodeURIComponent(e[t]) + r[t + 1];
22429
- return $3(a);
22429
+ return $b(a);
22430
22430
  }
22431
- var Iv = [0, O0, Qe, x0, -1, df, Qe, -1], HF = class extends wr {
22431
+ var Iv = [0, O0, Qe, x0, -1, df, Qe, -1], HF = class extends kr {
22432
22432
  constructor(r) {
22433
22433
  super(r);
22434
22434
  }
@@ -22440,17 +22440,17 @@ var Iv = [0, O0, Qe, x0, -1, df, Qe, -1], HF = class extends wr {
22440
22440
  for (let t = 0; t < e.length; t++) Af(r.g, e[t]);
22441
22441
  Bc(r, a);
22442
22442
  }
22443
- }, uv), b0, -1, [0, x0, -1], Qe, x0, -1], Nv = [0, b0, -2], P3 = class extends wr {
22443
+ }, uv), b0, -1, [0, x0, -1], Qe, x0, -1], Nv = [0, b0, -2], Pb = class extends kr {
22444
22444
  constructor(r) {
22445
22445
  super(r);
22446
22446
  }
22447
- }, xv = [0], Rv = [0, O0, x0, 1, x0, -3], ze = class extends wr {
22447
+ }, xv = [0], Rv = [0, O0, x0, 1, x0, -3], ze = class extends kr {
22448
22448
  constructor(r) {
22449
22449
  super(r, 2);
22450
22450
  }
22451
22451
  }, J0 = {};
22452
22452
  J0[336783863] = [0, b0, x0, -1, O0, [0, [1, 2, 3, 4, 5, 6, 7, 8, 9], h0, xv, h0, Bv, h0, Nv, h0, Rv, h0, Iv, h0, [0, b0, -2], h0, [0, b0, Qe], h0, [0, Qe, b0, -1], h0, [0, Qe, -1]], [0, b0], x0, [0, [1, 3], [2, 4], h0, [0, df], -1, h0, [0, ce], -1, q0, [0, b0, -1]], b0];
22453
- var O3 = [0, A1, -1, xi, -3, A1, df, Ut, Ei, A1, -1, xi, Ei, xi, -2, Ut];
22453
+ var Ob = [0, A1, -1, xi, -3, A1, df, Ut, Ei, A1, -1, xi, Ei, xi, -2, Ut];
22454
22454
  function ra(r, e) {
22455
22455
  Du(r, 2, N2(e), "");
22456
22456
  }
@@ -22460,14 +22460,14 @@ function E0(r, e) {
22460
22460
  function t0(r, e) {
22461
22461
  nf(r, 4, e);
22462
22462
  }
22463
- var we = class extends wr {
22463
+ var we = class extends kr {
22464
22464
  constructor(r) {
22465
22465
  super(r, 500);
22466
22466
  }
22467
22467
  o(r) {
22468
22468
  return Zr(this, 0, 7, r);
22469
22469
  }
22470
- }, K2 = [-1, {}], V3 = [0, b0, 1, K2], D3 = [0, b0, ce, K2];
22470
+ }, K2 = [-1, {}], Vb = [0, b0, 1, K2], Db = [0, b0, ce, K2];
22471
22471
  function ea(r, e) {
22472
22472
  us(r, 1, we, e);
22473
22473
  }
@@ -22477,35 +22477,35 @@ function I0(r, e) {
22477
22477
  function f0(r, e) {
22478
22478
  nf(r, 15, e);
22479
22479
  }
22480
- var Oe = class extends wr {
22480
+ var Oe = class extends kr {
22481
22481
  constructor(r) {
22482
22482
  super(r, 500);
22483
22483
  }
22484
22484
  o(r) {
22485
22485
  return Zr(this, 0, 1001, r);
22486
22486
  }
22487
- }, Zv = [-500, q0, [-500, Ut, -1, ce, -3, [-2, J0, x0], q0, W3, Ei, -1, V3, D3, q0, [0, Ut, xi], Ut, O3, Ei, ce, 987, ce], 4, q0, [-500, b0, -1, [-1, {}], 998, b0], q0, [-500, b0, ce, -1, [-2, {}, x0], 997, ce, -1], Ei, q0, [-500, b0, ce, K2, 998, ce], ce, Ei, V3, D3, q0, [0, Ut, -1, K2], ce, -2, O3, Ut, -1, xi, [0, xi, LF], 978, K2, q0, W3];
22487
+ }, Zv = [-500, q0, [-500, Ut, -1, ce, -3, [-2, J0, x0], q0, Wb, Ei, -1, Vb, Db, q0, [0, Ut, xi], Ut, Ob, Ei, ce, 987, ce], 4, q0, [-500, b0, -1, [-1, {}], 998, b0], q0, [-500, b0, ce, -1, [-2, {}, x0], 997, ce, -1], Ei, q0, [-500, b0, ce, K2, 998, ce], ce, Ei, Vb, Db, q0, [0, Ut, -1, K2], ce, -2, Ob, Ut, -1, xi, [0, xi, LF], 978, K2, q0, Wb];
22488
22488
  Oe.prototype.g = hf(Zv);
22489
- var QF = vn(Oe, Zv), JF = class extends wr {
22489
+ var QF = vn(Oe, Zv), JF = class extends kr {
22490
22490
  constructor(r) {
22491
22491
  super(r);
22492
22492
  }
22493
- }, Fv = class extends wr {
22493
+ }, Fv = class extends kr {
22494
22494
  constructor(r) {
22495
22495
  super(r);
22496
22496
  }
22497
22497
  g() {
22498
22498
  return Rt(this, JF, 1);
22499
22499
  }
22500
- }, Sv = [0, q0, [0, O0, Y0, b0, -1]], bf = vn(Fv, Sv), zF = class extends wr {
22500
+ }, Sv = [0, q0, [0, O0, Y0, b0, -1]], bf = vn(Fv, Sv), zF = class extends kr {
22501
22501
  constructor(r) {
22502
22502
  super(r);
22503
22503
  }
22504
- }, KF = class extends wr {
22504
+ }, KF = class extends kr {
22505
22505
  constructor(r) {
22506
22506
  super(r);
22507
22507
  }
22508
- }, f1 = class extends wr {
22508
+ }, f1 = class extends kr {
22509
22509
  constructor(r) {
22510
22510
  super(r);
22511
22511
  }
@@ -22515,49 +22515,49 @@ var QF = vn(Oe, Zv), JF = class extends wr {
22515
22515
  g() {
22516
22516
  return Rt(this, KF, 5);
22517
22517
  }
22518
- }, Wv = vn(class extends wr {
22518
+ }, Wv = vn(class extends kr {
22519
22519
  constructor(r) {
22520
22520
  super(r);
22521
22521
  }
22522
- }, [0, ce, df, $c, [0, Qe, [0, O0, -3], [0, Y0, -3], [0, O0, -1, [0, q0, [0, O0, -2]]], q0, [0, Y0, -1, b0, Y0]], b0, -1, cn, q0, [0, O0, Y0], ce, cn]), Tv = class extends wr {
22522
+ }, [0, ce, df, $c, [0, Qe, [0, O0, -3], [0, Y0, -3], [0, O0, -1, [0, q0, [0, O0, -2]]], q0, [0, Y0, -1, b0, Y0]], b0, -1, cn, q0, [0, O0, Y0], ce, cn]), Tv = class extends kr {
22523
22523
  constructor(r) {
22524
22524
  super(r);
22525
22525
  }
22526
- }, Ri = vn(class extends wr {
22526
+ }, Ri = vn(class extends kr {
22527
22527
  constructor(r) {
22528
22528
  super(r);
22529
22529
  }
22530
- }, [0, q0, [0, Y0, -4]]), $v = class extends wr {
22530
+ }, [0, q0, [0, Y0, -4]]), $v = class extends kr {
22531
22531
  constructor(r) {
22532
22532
  super(r);
22533
22533
  }
22534
- }, Ho = vn(class extends wr {
22534
+ }, Ho = vn(class extends kr {
22535
22535
  constructor(r) {
22536
22536
  super(r);
22537
22537
  }
22538
- }, [0, q0, [0, Y0, -4]]), qF = class extends wr {
22538
+ }, [0, q0, [0, Y0, -4]]), qF = class extends kr {
22539
22539
  constructor(r) {
22540
22540
  super(r);
22541
22541
  }
22542
- }, rS = [0, O0, -1, $c, Qe], Pv = class extends wr {
22542
+ }, rS = [0, O0, -1, $c, Qe], Pv = class extends kr {
22543
22543
  constructor(r) {
22544
22544
  super(r);
22545
22545
  }
22546
22546
  };
22547
22547
  Pv.prototype.g = hf([0, Y0, -4, cn]);
22548
- var eS = class extends wr {
22548
+ var eS = class extends kr {
22549
22549
  constructor(r) {
22550
22550
  super(r);
22551
22551
  }
22552
- }, aS = vn(class extends wr {
22552
+ }, aS = vn(class extends kr {
22553
22553
  constructor(r) {
22554
22554
  super(r);
22555
22555
  }
22556
- }, [0, q0, [0, 1, O0, b0, Sv], cn]), M3 = class extends wr {
22556
+ }, [0, q0, [0, 1, O0, b0, Sv], cn]), Mb = class extends kr {
22557
22557
  constructor(r) {
22558
22558
  super(r);
22559
22559
  }
22560
- }, tS = class extends wr {
22560
+ }, tS = class extends kr {
22561
22561
  constructor(r) {
22562
22562
  super(r);
22563
22563
  }
@@ -22565,27 +22565,27 @@ var eS = class extends wr {
22565
22565
  const r = Qm(this);
22566
22566
  return r ?? qn();
22567
22567
  }
22568
- }, nS = class extends wr {
22568
+ }, nS = class extends kr {
22569
22569
  constructor(r) {
22570
22570
  super(r);
22571
22571
  }
22572
- }, Ov = [1, 2], iS = vn(class extends wr {
22572
+ }, Ov = [1, 2], iS = vn(class extends kr {
22573
22573
  constructor(r) {
22574
22574
  super(r);
22575
22575
  }
22576
- }, [0, q0, [0, Ov, h0, [0, $c], h0, [0, _v], O0, b0], cn]), Pc = class extends wr {
22576
+ }, [0, q0, [0, Ov, h0, [0, $c], h0, [0, _v], O0, b0], cn]), Pc = class extends kr {
22577
22577
  constructor(r) {
22578
22578
  super(r);
22579
22579
  }
22580
- }, Vv = [0, b0, O0, Y0, ce, -1], G3 = class extends wr {
22580
+ }, Vv = [0, b0, O0, Y0, ce, -1], Gb = class extends kr {
22581
22581
  constructor(r) {
22582
22582
  super(r);
22583
22583
  }
22584
- }, oS = [0, x0, -1], X3 = class extends wr {
22584
+ }, oS = [0, x0, -1], Xb = class extends kr {
22585
22585
  constructor(r) {
22586
22586
  super(r);
22587
22587
  }
22588
- }, ZA = [1, 2, 3, 4, 5], ds = class extends wr {
22588
+ }, ZA = [1, 2, 3, 4, 5], ds = class extends kr {
22589
22589
  constructor(r) {
22590
22590
  super(r);
22591
22591
  }
@@ -22595,40 +22595,40 @@ var eS = class extends wr {
22595
22595
  h() {
22596
22596
  return ua(this, 2) != null;
22597
22597
  }
22598
- }, Z0 = class extends wr {
22598
+ }, Z0 = class extends kr {
22599
22599
  constructor(r) {
22600
22600
  super(r);
22601
22601
  }
22602
22602
  g() {
22603
22603
  return Vm(s2(this, 2)) ?? !1;
22604
22604
  }
22605
- }, Dv = [0, _v, b0, [0, O0, cn, -1], [0, XF, cn]], M0 = [0, Dv, x0, [0, ZA, h0, Rv, h0, Bv, h0, Iv, h0, xv, h0, Nv], Qe], mf = class extends wr {
22605
+ }, Dv = [0, _v, b0, [0, O0, cn, -1], [0, XF, cn]], M0 = [0, Dv, x0, [0, ZA, h0, Rv, h0, Bv, h0, Iv, h0, xv, h0, Nv], Qe], mf = class extends kr {
22606
22606
  constructor(r) {
22607
22607
  super(r);
22608
22608
  }
22609
22609
  }, Oc = [0, M0, Y0, -1, O0], AS = $a(502141897, mf);
22610
22610
  J0[502141897] = Oc;
22611
- var sS = vn(class extends wr {
22611
+ var sS = vn(class extends kr {
22612
22612
  constructor(r) {
22613
22613
  super(r);
22614
22614
  }
22615
- }, [0, [0, Qe, -1, GF, jF], rS]), Mv = class extends wr {
22615
+ }, [0, [0, Qe, -1, GF, jF], rS]), Mv = class extends kr {
22616
22616
  constructor(r) {
22617
22617
  super(r);
22618
22618
  }
22619
- }, Gv = class extends wr {
22619
+ }, Gv = class extends kr {
22620
22620
  constructor(r) {
22621
22621
  super(r);
22622
22622
  }
22623
22623
  }, Vc = [0, M0, Y0, [0, M0], x0], Xv = [0, M0, Oc, Vc, Y0, [0, [0, Dv]]], fS = $a(508968150, Gv);
22624
22624
  J0[508968150] = Xv, J0[508968149] = Vc;
22625
- var jv = class extends wr {
22625
+ var jv = class extends kr {
22626
22626
  constructor(r) {
22627
22627
  super(r);
22628
22628
  }
22629
22629
  }, uS = $a(513916220, jv);
22630
22630
  J0[513916220] = [0, M0, Xv, O0];
22631
- var hi = class extends wr {
22631
+ var hi = class extends kr {
22632
22632
  constructor(r) {
22633
22633
  super(r);
22634
22634
  }
@@ -22640,69 +22640,69 @@ var hi = class extends wr {
22640
22640
  }
22641
22641
  }, Lv = [0, M0, Vv];
22642
22642
  J0[478825465] = Lv;
22643
- var lS = class extends wr {
22643
+ var lS = class extends kr {
22644
22644
  constructor(r) {
22645
22645
  super(r);
22646
22646
  }
22647
- }, Uv = class extends wr {
22647
+ }, Uv = class extends kr {
22648
22648
  constructor(r) {
22649
22649
  super(r);
22650
22650
  }
22651
- }, Dc = class extends wr {
22651
+ }, Dc = class extends kr {
22652
22652
  constructor(r) {
22653
22653
  super(r);
22654
22654
  }
22655
- }, Mc = class extends wr {
22655
+ }, Mc = class extends kr {
22656
22656
  constructor(r) {
22657
22657
  super(r);
22658
22658
  }
22659
- }, Yv = class extends wr {
22659
+ }, Yv = class extends kr {
22660
22660
  constructor(r) {
22661
22661
  super(r);
22662
22662
  }
22663
- }, j3 = [0, M0, [0, M0], Lv, -1], Hv = [0, M0, Y0, O0], Gc = [0, M0, Y0], Qv = [0, M0, Hv, Gc, Y0], cS = $a(479097054, Yv);
22664
- J0[479097054] = [0, M0, Qv, j3], J0[463370452] = j3, J0[464864288] = Hv;
22663
+ }, jb = [0, M0, [0, M0], Lv, -1], Hv = [0, M0, Y0, O0], Gc = [0, M0, Y0], Qv = [0, M0, Hv, Gc, Y0], cS = $a(479097054, Yv);
22664
+ J0[479097054] = [0, M0, Qv, jb], J0[463370452] = jb, J0[464864288] = Hv;
22665
22665
  var dS = $a(462713202, Mc);
22666
22666
  J0[462713202] = Qv, J0[474472470] = Gc;
22667
- var hS = class extends wr {
22667
+ var hS = class extends kr {
22668
22668
  constructor(r) {
22669
22669
  super(r);
22670
22670
  }
22671
- }, Jv = class extends wr {
22671
+ }, Jv = class extends kr {
22672
22672
  constructor(r) {
22673
22673
  super(r);
22674
22674
  }
22675
- }, zv = class extends wr {
22675
+ }, zv = class extends kr {
22676
22676
  constructor(r) {
22677
22677
  super(r);
22678
22678
  }
22679
- }, Kv = class extends wr {
22679
+ }, Kv = class extends kr {
22680
22680
  constructor(r) {
22681
22681
  super(r);
22682
22682
  }
22683
22683
  }, Xc = [0, M0, Y0, -1, O0], Lu = [0, M0, Y0, x0];
22684
22684
  Kv.prototype.g = hf([0, M0, Gc, [0, M0], Oc, Vc, Xc, Lu]);
22685
- var qv = class extends wr {
22685
+ var qv = class extends kr {
22686
22686
  constructor(r) {
22687
22687
  super(r);
22688
22688
  }
22689
22689
  }, bS = $a(456383383, qv);
22690
22690
  J0[456383383] = [0, M0, Vv];
22691
- var rg = class extends wr {
22691
+ var rg = class extends kr {
22692
22692
  constructor(r) {
22693
22693
  super(r);
22694
22694
  }
22695
22695
  }, mS = $a(476348187, rg);
22696
22696
  J0[476348187] = [0, M0, oS];
22697
- var eg = class extends wr {
22697
+ var eg = class extends kr {
22698
22698
  constructor(r) {
22699
22699
  super(r);
22700
22700
  }
22701
- }, L3 = class extends wr {
22701
+ }, Lb = class extends kr {
22702
22702
  constructor(r) {
22703
22703
  super(r);
22704
22704
  }
22705
- }, ag = [0, Qe, -1], vS = $a(458105876, class extends wr {
22705
+ }, ag = [0, Qe, -1], vS = $a(458105876, class extends kr {
22706
22706
  constructor(r) {
22707
22707
  super(r);
22708
22708
  }
@@ -22710,38 +22710,38 @@ var eg = class extends wr {
22710
22710
  var r = this.u;
22711
22711
  const e = 0 | r[Rr], a = 2 & e;
22712
22712
  return r = function(t, n, i) {
22713
- var o = L3;
22713
+ var o = Lb;
22714
22714
  const A = 2 & n;
22715
22715
  let s = !1;
22716
22716
  if (i == null) {
22717
- if (A) return B3();
22717
+ if (A) return Bb();
22718
22718
  i = [];
22719
22719
  } else if (i.constructor === tt) {
22720
22720
  if (!(2 & i.M) || A) return i;
22721
22721
  i = i.da();
22722
22722
  } else Array.isArray(i) ? s = !!(2 & (0 | i[Rr])) : i = [];
22723
22723
  if (A) {
22724
- if (!i.length) return B3();
22724
+ if (!i.length) return Bb();
22725
22725
  s || (s = !0, I2(i));
22726
22726
  } else s && (s = !1, i = Jm(i));
22727
22727
  return s || (64 & (0 | i[Rr]) ? i[Rr] &= -33 : 32 & n && Hs(i, 32)), W0(t, n, 2, o = new tt(i, o, CF, void 0)), o;
22728
- }(r, e, Wt(r, e, 2)), !a && L3 && (r.pa = !0), r;
22728
+ }(r, e, Wt(r, e, 2)), !a && Lb && (r.pa = !0), r;
22729
22729
  }
22730
22730
  });
22731
22731
  J0[458105876] = [0, ag, MF, [!0, cn, [0, b0, -1, ce]]];
22732
- var jc = class extends wr {
22732
+ var jc = class extends kr {
22733
22733
  constructor(r) {
22734
22734
  super(r);
22735
22735
  }
22736
22736
  }, tg = $a(458105758, jc);
22737
22737
  J0[458105758] = [0, M0, b0, ag];
22738
- var ng = class extends wr {
22738
+ var ng = class extends kr {
22739
22739
  constructor(r) {
22740
22740
  super(r);
22741
22741
  }
22742
22742
  }, gS = $a(443442058, ng);
22743
22743
  J0[443442058] = [0, M0, b0, O0, Y0, ce, -1, x0, Y0], J0[514774813] = Xc;
22744
- var ig = class extends wr {
22744
+ var ig = class extends kr {
22745
22745
  constructor(r) {
22746
22746
  super(r);
22747
22747
  }
@@ -22770,10 +22770,10 @@ function q2(r) {
22770
22770
  for (const a of Rt(r, Tv, 1)) e.push({ x: D0(a, 1) ?? 0, y: D0(a, 2) ?? 0, z: D0(a, 3) ?? 0, visibility: D0(a, 4) ?? 0 });
22771
22771
  return e;
22772
22772
  }
22773
- function U3(r) {
22773
+ function Ub(r) {
22774
22774
  return Array.from(r, (e) => e > 127 ? e - 256 : e);
22775
22775
  }
22776
- function Y3(r, e) {
22776
+ function Yb(r, e) {
22777
22777
  if (r.length !== e.length) throw Error(`Cannot compute cosine similarity between embeddings of different sizes (${r.length} vs. ${e.length}).`);
22778
22778
  let a = 0, t = 0, n = 0;
22779
22779
  for (let i = 0; i < r.length; i++) a += r[i] * e[i], t += r[i] * r[i], n += e[i] * e[i];
@@ -22803,7 +22803,7 @@ function sg() {
22803
22803
  return (e = e.userAgent).includes("Safari") && !e.includes("Chrome");
22804
22804
  }(r) || !!((r = r.userAgent.match(/Version\/([\d]+).*Safari/)) && r.length >= 1 && Number(r[1]) >= 17));
22805
22805
  }
22806
- async function H3(r) {
22806
+ async function Hb(r) {
22807
22807
  if (typeof importScripts != "function") {
22808
22808
  const e = document.createElement("script");
22809
22809
  return e.src = r.toString(), e.crossOrigin = "anonymous", new Promise((a, t) => {
@@ -22822,14 +22822,14 @@ function fg(r) {
22822
22822
  function xr(r, e, a) {
22823
22823
  r.m || console.error("No wasm multistream support detected: ensure dependency inclusion of :gl_graph_runner_internal_multi_input target"), a(e = r.i.stringToNewUTF8(e)), r.i._free(e);
22824
22824
  }
22825
- function Q3(r, e, a) {
22825
+ function Qb(r, e, a) {
22826
22826
  if (!r.i.canvas) throw Error("No OpenGL canvas configured.");
22827
22827
  if (a ? r.i._bindTextureToStream(a) : r.i._bindTextureToCanvas(), !(a = r.i.canvas.getContext("webgl2") || r.i.canvas.getContext("webgl"))) throw Error("Failed to obtain WebGL context from the provided canvas. `getContext()` should only be invoked with `webgl` or `webgl2`.");
22828
22828
  r.i.gpuOriginForWebTexturesIsBottomLeft && a.pixelStorei(a.UNPACK_FLIP_Y_WEBGL, !0), a.texImage2D(a.TEXTURE_2D, 0, a.RGBA, a.RGBA, a.UNSIGNED_BYTE, e), r.i.gpuOriginForWebTexturesIsBottomLeft && a.pixelStorei(a.UNPACK_FLIP_Y_WEBGL, !1);
22829
22829
  const [t, n] = fg(e);
22830
22830
  return !r.l || t === r.i.canvas.width && n === r.i.canvas.height || (r.i.canvas.width = t, r.i.canvas.height = n), [t, n];
22831
22831
  }
22832
- function J3(r, e, a) {
22832
+ function Jb(r, e, a) {
22833
22833
  r.m || console.error("No wasm multistream support detected: ensure dependency inclusion of :gl_graph_runner_internal_multi_input target");
22834
22834
  const t = new Uint32Array(e.length);
22835
22835
  for (let n = 0; n < e.length; n++) t[n] = r.i.stringToNewUTF8(e[n]);
@@ -22861,7 +22861,7 @@ In.forVisionTasks = function(r) {
22861
22861
  };
22862
22862
  async function wS(r, e, a, t) {
22863
22863
  return r = await (async (n, i, o, A, s) => {
22864
- if (i && await H3(i), !self.ModuleFactory || o && (await H3(o), !self.ModuleFactory)) throw Error("ModuleFactory not set.");
22864
+ if (i && await Hb(i), !self.ModuleFactory || o && (await Hb(o), !self.ModuleFactory)) throw Error("ModuleFactory not set.");
22865
22865
  return self.Module && s && ((i = self.Module).locateFile = s.locateFile, s.mainScriptUrlOrBlob && (i.mainScriptUrlOrBlob = s.mainScriptUrlOrBlob)), s = await self.ModuleFactory(self.Module || s), self.ModuleFactory = self.Module = void 0, new n(s, A);
22866
22866
  })(r, a.wasmLoaderPath, a.assetLoaderPath, e, { locateFile: (n) => n.endsWith(".wasm") ? a.wasmBinaryPath.toString() : a.assetBinaryPath && n.endsWith(".data") ? a.assetBinaryPath.toString() : n }), await r.o(t), r;
22867
22867
  }
@@ -22869,7 +22869,7 @@ function u1(r, e) {
22869
22869
  const a = i0(r.baseOptions, ds, 1) || new ds();
22870
22870
  typeof e == "string" ? (k0(a, 2, N2(e)), k0(a, 1)) : e instanceof Uint8Array && (k0(a, 1, Ac(e, !1)), k0(a, 2)), Zr(r.baseOptions, 0, 1, a);
22871
22871
  }
22872
- function z3(r) {
22872
+ function zb(r) {
22873
22873
  try {
22874
22874
  const e = r.G.length;
22875
22875
  if (e === 1) throw Error(r.G[0].message);
@@ -22901,12 +22901,12 @@ var Yu = class {
22901
22901
  if ((a = r.baseOptions) != null && a.modelAssetBuffer && ((t = r.baseOptions) != null && t.modelAssetPath)) throw Error("Cannot set both baseOptions.modelAssetPath and baseOptions.modelAssetBuffer");
22902
22902
  if (!((n = i0(this.baseOptions, ds, 1)) != null && n.g() || (i = i0(this.baseOptions, ds, 1)) != null && i.h() || (o = r.baseOptions) != null && o.modelAssetBuffer || (A = r.baseOptions) != null && A.modelAssetPath)) throw Error("Either baseOptions.modelAssetPath or baseOptions.modelAssetBuffer must be set");
22903
22903
  if (function(f, u) {
22904
- let c = i0(f.baseOptions, X3, 3);
22904
+ let c = i0(f.baseOptions, Xb, 3);
22905
22905
  if (!c) {
22906
- var h = c = new X3(), d = new P3();
22906
+ var h = c = new Xb(), d = new Pb();
22907
22907
  z2(h, 4, ZA, d);
22908
22908
  }
22909
- "delegate" in u && (u.delegate === "GPU" ? (u = c, h = new HF(), z2(u, 2, ZA, h)) : (u = c, h = new P3(), z2(u, 4, ZA, h))), Zr(f.baseOptions, 0, 3, c);
22909
+ "delegate" in u && (u.delegate === "GPU" ? (u = c, h = new HF(), z2(u, 2, ZA, h)) : (u = c, h = new Pb(), z2(u, 4, ZA, h))), Zr(f.baseOptions, 0, 3, c);
22910
22910
  }(this, s), s.modelAssetPath) return fetch(s.modelAssetPath.toString()).then((f) => {
22911
22911
  if (f.ok) return f.arrayBuffer();
22912
22912
  throw Error(`Failed to fetch model: ${s.modelAssetPath} (${f.status})`);
@@ -22948,10 +22948,10 @@ var Yu = class {
22948
22948
  setGraph(r, e) {
22949
22949
  this.g.attachErrorListener((a, t) => {
22950
22950
  this.G.push(Error(t));
22951
- }), this.g.Ha(), this.g.setGraph(r, e), this.A = void 0, z3(this);
22951
+ }), this.g.Ha(), this.g.setGraph(r, e), this.A = void 0, zb(this);
22952
22952
  }
22953
22953
  finishProcessing() {
22954
- this.g.finishProcessing(), z3(this);
22954
+ this.g.finishProcessing(), zb(this);
22955
22955
  }
22956
22956
  close() {
22957
22957
  this.A = void 0, this.g.closeGraph();
@@ -22973,12 +22973,12 @@ class kS {
22973
22973
  this.g.deleteVertexArray(this.h), this.g.deleteBuffer(this.m), this.g.deleteBuffer(this.l);
22974
22974
  }
22975
22975
  }
22976
- function K3(r, e, a) {
22976
+ function Kb(r, e, a) {
22977
22977
  const t = r.g;
22978
22978
  if (a = _t(t.createShader(a), "Failed to create WebGL shader"), t.shaderSource(a, e), t.compileShader(a), !t.getShaderParameter(a, t.COMPILE_STATUS)) throw Error(`Could not compile WebGL shader: ${t.getShaderInfoLog(a)}`);
22979
22979
  return t.attachShader(r.h, a), a;
22980
22980
  }
22981
- function q3(r, e) {
22981
+ function qb(r, e) {
22982
22982
  const a = r.g, t = _t(a.createVertexArray(), "Failed to create vertex array");
22983
22983
  a.bindVertexArray(t);
22984
22984
  const n = _t(a.createBuffer(), "Failed to create buffer");
@@ -22992,7 +22992,7 @@ function Uc(r, e) {
22992
22992
  } else r.g = e;
22993
22993
  }
22994
22994
  function Yc(r, e, a, t) {
22995
- return Uc(r, e), r.h || (r.m(), r.C()), a ? (r.s || (r.s = q3(r, !0)), a = r.s) : (r.v || (r.v = q3(r, !1)), a = r.v), e.useProgram(r.h), a.bind(), r.l(), r = t(), a.g.bindVertexArray(null), r;
22995
+ return Uc(r, e), r.h || (r.m(), r.C()), a ? (r.s || (r.s = qb(r, !0)), a = r.s) : (r.v || (r.v = qb(r, !1)), a = r.v), e.useProgram(r.h), a.bind(), r.l(), r = t(), a.g.bindVertexArray(null), r;
22996
22996
  }
22997
22997
  function yf(r, e, a) {
22998
22998
  return Uc(r, e), r = _t(e.createTexture(), "Failed to create texture"), e.bindTexture(e.TEXTURE_2D, r), e.texParameteri(e.TEXTURE_2D, e.TEXTURE_WRAP_S, e.CLAMP_TO_EDGE), e.texParameteri(e.TEXTURE_2D, e.TEXTURE_WRAP_T, e.CLAMP_TO_EDGE), e.texParameteri(e.TEXTURE_2D, e.TEXTURE_MIN_FILTER, a ?? e.LINEAR), e.texParameteri(e.TEXTURE_2D, e.TEXTURE_MAG_FILTER, a ?? e.LINEAR), e.bindTexture(e.TEXTURE_2D, null), r;
@@ -23017,14 +23017,14 @@ var Qc = class {
23017
23017
  }
23018
23018
  m() {
23019
23019
  const r = this.g;
23020
- if (this.h = _t(r.createProgram(), "Failed to create WebGL program"), this.Z = K3(this, `
23020
+ if (this.h = _t(r.createProgram(), "Failed to create WebGL program"), this.Z = Kb(this, `
23021
23021
  attribute vec2 aVertex;
23022
23022
  attribute vec2 aTex;
23023
23023
  varying vec2 vTex;
23024
23024
  void main(void) {
23025
23025
  gl_Position = vec4(aVertex, 0.0, 1.0);
23026
23026
  vTex = aTex;
23027
- }`, r.VERTEX_SHADER), this.Y = K3(this, this.G(), r.FRAGMENT_SHADER), r.linkProgram(this.h), !r.getProgramParameter(this.h, r.LINK_STATUS)) throw Error(`Error during program linking: ${r.getProgramInfoLog(this.h)}`);
23027
+ }`, r.VERTEX_SHADER), this.Y = Kb(this, this.G(), r.FRAGMENT_SHADER), r.linkProgram(this.h), !r.getProgramParameter(this.h, r.LINK_STATUS)) throw Error(`Error during program linking: ${r.getProgramInfoLog(this.h)}`);
23028
23028
  this.P = r.getAttribLocation(this.h, "aVertex"), this.J = r.getAttribLocation(this.h, "aTex");
23029
23029
  }
23030
23030
  C() {
@@ -23104,7 +23104,7 @@ function Qu(r) {
23104
23104
  }
23105
23105
  var dA, re = class {
23106
23106
  constructor(r, e, a, t, n, i, o) {
23107
- this.g = r, this.m = e, this.j = a, this.canvas = t, this.l = n, this.width = i, this.height = o, this.j && --rb === 0 && console.error("You seem to be creating MPMask instances without invoking .close(). This leaks resources.");
23107
+ this.g = r, this.m = e, this.j = a, this.canvas = t, this.l = n, this.width = i, this.height = o, this.j && --r3 === 0 && console.error("You seem to be creating MPMask instances without invoking .close(). This leaks resources.");
23108
23108
  }
23109
23109
  Da() {
23110
23110
  return !!pt(this, 0);
@@ -23147,11 +23147,11 @@ var dA, re = class {
23147
23147
  return new re(r, this.m, this.R(), this.canvas, this.l, this.width, this.height);
23148
23148
  }
23149
23149
  close() {
23150
- this.j && l2(this).deleteTexture(pt(this, 2)), rb = -1;
23150
+ this.j && l2(this).deleteTexture(pt(this, 2)), r3 = -1;
23151
23151
  }
23152
23152
  };
23153
23153
  re.prototype.close = re.prototype.close, re.prototype.clone = re.prototype.clone, re.prototype.getAsWebGLTexture = re.prototype.N, re.prototype.getAsFloat32Array = re.prototype.ha, re.prototype.getAsUint8Array = re.prototype.ia, re.prototype.hasWebGLTexture = re.prototype.R, re.prototype.hasFloat32Array = re.prototype.ja, re.prototype.hasUint8Array = re.prototype.Da;
23154
- var rb = 250;
23154
+ var r3 = 250;
23155
23155
  function Ja(r, e) {
23156
23156
  switch (e) {
23157
23157
  case 0:
@@ -23199,7 +23199,7 @@ function SA(r) {
23199
23199
  function U2(r) {
23200
23200
  r.h.bindTexture(r.h.TEXTURE_2D, null);
23201
23201
  }
23202
- function eb(r) {
23202
+ function e3(r) {
23203
23203
  const e = c2(r);
23204
23204
  return Yc(kf(r), e, !0, () => function(a, t) {
23205
23205
  const n = a.canvas;
@@ -23213,7 +23213,7 @@ function eb(r) {
23213
23213
  }
23214
23214
  var ee = class {
23215
23215
  constructor(r, e, a, t, n, i, o) {
23216
- this.g = r, this.j = e, this.m = a, this.canvas = t, this.l = n, this.width = i, this.height = o, (this.j || this.m) && --ab === 0 && console.error("You seem to be creating MPImage instances without invoking .close(). This leaks resources.");
23216
+ this.g = r, this.j = e, this.m = a, this.canvas = t, this.l = n, this.width = i, this.height = o, (this.j || this.m) && --a3 === 0 && console.error("You seem to be creating MPImage instances without invoking .close(). This leaks resources.");
23217
23217
  }
23218
23218
  Ca() {
23219
23219
  return !!Ja(this, 0);
@@ -23229,7 +23229,7 @@ var ee = class {
23229
23229
  }
23230
23230
  za() {
23231
23231
  var r = Ja(this, 1);
23232
- return r || (FA(this), SA(this), r = eb(this), U2(this), this.g.push(r), this.j = !0), r;
23232
+ return r || (FA(this), SA(this), r = e3(this), U2(this), this.g.push(r), this.j = !0), r;
23233
23233
  }
23234
23234
  N() {
23235
23235
  return FA(this);
@@ -23246,18 +23246,18 @@ var ee = class {
23246
23246
  }), Hc(n), U2(this);
23247
23247
  } else {
23248
23248
  if (!(e instanceof ImageBitmap)) throw Error(`Type is not supported: ${e}`);
23249
- FA(this), SA(this), a = eb(this), U2(this);
23249
+ FA(this), SA(this), a = e3(this), U2(this);
23250
23250
  }
23251
23251
  r.push(a);
23252
23252
  }
23253
23253
  return new ee(r, this.ka(), this.R(), this.canvas, this.l, this.width, this.height);
23254
23254
  }
23255
23255
  close() {
23256
- this.j && Ja(this, 1).close(), this.m && c2(this).deleteTexture(Ja(this, 2)), ab = -1;
23256
+ this.j && Ja(this, 1).close(), this.m && c2(this).deleteTexture(Ja(this, 2)), a3 = -1;
23257
23257
  }
23258
23258
  };
23259
23259
  ee.prototype.close = ee.prototype.close, ee.prototype.clone = ee.prototype.clone, ee.prototype.getAsWebGLTexture = ee.prototype.N, ee.prototype.getAsImageBitmap = ee.prototype.za, ee.prototype.getAsImageData = ee.prototype.Aa, ee.prototype.hasWebGLTexture = ee.prototype.R, ee.prototype.hasImageBitmap = ee.prototype.ka, ee.prototype.hasImageData = ee.prototype.Ca;
23260
- var ab = 250;
23260
+ var a3 = 250;
23261
23261
  function Pa(...r) {
23262
23262
  return r.map(([e, a]) => ({ start: e, end: a }));
23263
23263
  }
@@ -23267,7 +23267,7 @@ const ES = /* @__PURE__ */ function(r) {
23267
23267
  this.i._registerModelResourcesGraphService();
23268
23268
  }
23269
23269
  };
23270
- }((tb = class {
23270
+ }((t3 = class {
23271
23271
  constructor(r, e) {
23272
23272
  this.l = !0, this.i = r, this.g = null, this.h = 0, this.m = typeof this.i._addIntToInputStream == "function", e !== void 0 ? this.i.canvas = e : sg() ? this.i.canvas = new OffscreenCanvas(1, 1) : (console.warn("OffscreenCanvas not supported and GraphRunner constructor glCanvas parameter is undefined. Creating backup canvas."), this.i.canvas = document.createElement("canvas"));
23273
23273
  }
@@ -23322,7 +23322,7 @@ const ES = /* @__PURE__ */ function(r) {
23322
23322
  }
23323
23323
  addGpuBufferToStream(r, e, a) {
23324
23324
  xr(this, e, (t) => {
23325
- const [n, i] = Q3(this, r, t);
23325
+ const [n, i] = Qb(this, r, t);
23326
23326
  this.i._addBoundTextureToStream(t, n, i, a);
23327
23327
  });
23328
23328
  }
@@ -23360,8 +23360,8 @@ const ES = /* @__PURE__ */ function(r) {
23360
23360
  }
23361
23361
  addStringRecordToStream(r, e, a) {
23362
23362
  xr(this, e, (t) => {
23363
- J3(this, Object.keys(r), (n) => {
23364
- J3(this, Object.values(r), (i) => {
23363
+ Jb(this, Object.keys(r), (n) => {
23364
+ Jb(this, Object.values(r), (i) => {
23365
23365
  this.i._addFlatHashMapToInputStream(n, i, Object.keys(r).length, t, a);
23366
23366
  });
23367
23367
  });
@@ -23603,13 +23603,13 @@ const ES = /* @__PURE__ */ function(r) {
23603
23603
  closeGraph() {
23604
23604
  this.i._closeGraph(), this.i.simpleListeners = void 0, this.i.emptyPacketListeners = void 0;
23605
23605
  }
23606
- }, class extends tb {
23606
+ }, class extends t3 {
23607
23607
  get ea() {
23608
23608
  return this.i;
23609
23609
  }
23610
23610
  oa(r, e, a) {
23611
23611
  xr(this, e, (t) => {
23612
- const [n, i] = Q3(this, r, t);
23612
+ const [n, i] = Qb(this, r, t);
23613
23613
  this.ea._addBoundTextureAsImageToStream(t, n, i, a);
23614
23614
  });
23615
23615
  }
@@ -23624,7 +23624,7 @@ const ES = /* @__PURE__ */ function(r) {
23624
23624
  });
23625
23625
  }
23626
23626
  }));
23627
- var tb, ca = class extends ES {
23627
+ var t3, ca = class extends ES {
23628
23628
  };
23629
23629
  async function qr(r, e, a) {
23630
23630
  return async function(t, n, i, o) {
@@ -23722,7 +23722,7 @@ je.prototype.detectForVideo = je.prototype.F, je.prototype.detect = je.prototype
23722
23722
  return qr(je, r, e);
23723
23723
  };
23724
23724
  var zc = Pa([61, 146], [146, 91], [91, 181], [181, 84], [84, 17], [17, 314], [314, 405], [405, 321], [321, 375], [375, 291], [61, 185], [185, 40], [40, 39], [39, 37], [37, 0], [0, 267], [267, 269], [269, 270], [270, 409], [409, 291], [78, 95], [95, 88], [88, 178], [178, 87], [87, 14], [14, 317], [317, 402], [402, 318], [318, 324], [324, 308], [78, 191], [191, 80], [80, 81], [81, 82], [82, 13], [13, 312], [312, 311], [311, 310], [310, 415], [415, 308]), Kc = Pa([263, 249], [249, 390], [390, 373], [373, 374], [374, 380], [380, 381], [381, 382], [382, 362], [263, 466], [466, 388], [388, 387], [387, 386], [386, 385], [385, 384], [384, 398], [398, 362]), qc = Pa([276, 283], [283, 282], [282, 295], [295, 285], [300, 293], [293, 334], [334, 296], [296, 336]), bg = Pa([474, 475], [475, 476], [476, 477], [477, 474]), rd = Pa([33, 7], [7, 163], [163, 144], [144, 145], [145, 153], [153, 154], [154, 155], [155, 133], [33, 246], [246, 161], [161, 160], [160, 159], [159, 158], [158, 157], [157, 173], [173, 133]), ed = Pa([46, 53], [53, 52], [52, 65], [65, 55], [70, 63], [63, 105], [105, 66], [66, 107]), mg = Pa([469, 470], [470, 471], [471, 472], [472, 469]), ad = Pa([10, 338], [338, 297], [297, 332], [332, 284], [284, 251], [251, 389], [389, 356], [356, 454], [454, 323], [323, 361], [361, 288], [288, 397], [397, 365], [365, 379], [379, 378], [378, 400], [400, 377], [377, 152], [152, 148], [148, 176], [176, 149], [149, 150], [150, 136], [136, 172], [172, 58], [58, 132], [132, 93], [93, 234], [234, 127], [127, 162], [162, 21], [21, 54], [54, 103], [103, 67], [67, 109], [109, 10]), vg = [...zc, ...Kc, ...qc, ...rd, ...ed, ...ad], gg = Pa([127, 34], [34, 139], [139, 127], [11, 0], [0, 37], [37, 11], [232, 231], [231, 120], [120, 232], [72, 37], [37, 39], [39, 72], [128, 121], [121, 47], [47, 128], [232, 121], [121, 128], [128, 232], [104, 69], [69, 67], [67, 104], [175, 171], [171, 148], [148, 175], [118, 50], [50, 101], [101, 118], [73, 39], [39, 40], [40, 73], [9, 151], [151, 108], [108, 9], [48, 115], [115, 131], [131, 48], [194, 204], [204, 211], [211, 194], [74, 40], [40, 185], [185, 74], [80, 42], [42, 183], [183, 80], [40, 92], [92, 186], [186, 40], [230, 229], [229, 118], [118, 230], [202, 212], [212, 214], [214, 202], [83, 18], [18, 17], [17, 83], [76, 61], [61, 146], [146, 76], [160, 29], [29, 30], [30, 160], [56, 157], [157, 173], [173, 56], [106, 204], [204, 194], [194, 106], [135, 214], [214, 192], [192, 135], [203, 165], [165, 98], [98, 203], [21, 71], [71, 68], [68, 21], [51, 45], [45, 4], [4, 51], [144, 24], [24, 23], [23, 144], [77, 146], [146, 91], [91, 77], [205, 50], [50, 187], [187, 205], [201, 200], [200, 18], [18, 201], [91, 106], [106, 182], [182, 91], [90, 91], [91, 181], [181, 90], [85, 84], [84, 17], [17, 85], [206, 203], [203, 36], [36, 206], [148, 171], [171, 140], [140, 148], [92, 40], [40, 39], [39, 92], [193, 189], [189, 244], [244, 193], [159, 158], [158, 28], [28, 159], [247, 246], [246, 161], [161, 247], [236, 3], [3, 196], [196, 236], [54, 68], [68, 104], [104, 54], [193, 168], [168, 8], [8, 193], [117, 228], [228, 31], [31, 117], [189, 193], [193, 55], [55, 189], [98, 97], [97, 99], [99, 98], [126, 47], [47, 100], [100, 126], [166, 79], [79, 218], [218, 166], [155, 154], [154, 26], [26, 155], [209, 49], [49, 131], [131, 209], [135, 136], [136, 150], [150, 135], [47, 126], [126, 217], [217, 47], [223, 52], [52, 53], [53, 223], [45, 51], [51, 134], [134, 45], [211, 170], [170, 140], [140, 211], [67, 69], [69, 108], [108, 67], [43, 106], [106, 91], [91, 43], [230, 119], [119, 120], [120, 230], [226, 130], [130, 247], [247, 226], [63, 53], [53, 52], [52, 63], [238, 20], [20, 242], [242, 238], [46, 70], [70, 156], [156, 46], [78, 62], [62, 96], [96, 78], [46, 53], [53, 63], [63, 46], [143, 34], [34, 227], [227, 143], [123, 117], [117, 111], [111, 123], [44, 125], [125, 19], [19, 44], [236, 134], [134, 51], [51, 236], [216, 206], [206, 205], [205, 216], [154, 153], [153, 22], [22, 154], [39, 37], [37, 167], [167, 39], [200, 201], [201, 208], [208, 200], [36, 142], [142, 100], [100, 36], [57, 212], [212, 202], [202, 57], [20, 60], [60, 99], [99, 20], [28, 158], [158, 157], [157, 28], [35, 226], [226, 113], [113, 35], [160, 159], [159, 27], [27, 160], [204, 202], [202, 210], [210, 204], [113, 225], [225, 46], [46, 113], [43, 202], [202, 204], [204, 43], [62, 76], [76, 77], [77, 62], [137, 123], [123, 116], [116, 137], [41, 38], [38, 72], [72, 41], [203, 129], [129, 142], [142, 203], [64, 98], [98, 240], [240, 64], [49, 102], [102, 64], [64, 49], [41, 73], [73, 74], [74, 41], [212, 216], [216, 207], [207, 212], [42, 74], [74, 184], [184, 42], [169, 170], [170, 211], [211, 169], [170, 149], [149, 176], [176, 170], [105, 66], [66, 69], [69, 105], [122, 6], [6, 168], [168, 122], [123, 147], [147, 187], [187, 123], [96, 77], [77, 90], [90, 96], [65, 55], [55, 107], [107, 65], [89, 90], [90, 180], [180, 89], [101, 100], [100, 120], [120, 101], [63, 105], [105, 104], [104, 63], [93, 137], [137, 227], [227, 93], [15, 86], [86, 85], [85, 15], [129, 102], [102, 49], [49, 129], [14, 87], [87, 86], [86, 14], [55, 8], [8, 9], [9, 55], [100, 47], [47, 121], [121, 100], [145, 23], [23, 22], [22, 145], [88, 89], [89, 179], [179, 88], [6, 122], [122, 196], [196, 6], [88, 95], [95, 96], [96, 88], [138, 172], [172, 136], [136, 138], [215, 58], [58, 172], [172, 215], [115, 48], [48, 219], [219, 115], [42, 80], [80, 81], [81, 42], [195, 3], [3, 51], [51, 195], [43, 146], [146, 61], [61, 43], [171, 175], [175, 199], [199, 171], [81, 82], [82, 38], [38, 81], [53, 46], [46, 225], [225, 53], [144, 163], [163, 110], [110, 144], [52, 65], [65, 66], [66, 52], [229, 228], [228, 117], [117, 229], [34, 127], [127, 234], [234, 34], [107, 108], [108, 69], [69, 107], [109, 108], [108, 151], [151, 109], [48, 64], [64, 235], [235, 48], [62, 78], [78, 191], [191, 62], [129, 209], [209, 126], [126, 129], [111, 35], [35, 143], [143, 111], [117, 123], [123, 50], [50, 117], [222, 65], [65, 52], [52, 222], [19, 125], [125, 141], [141, 19], [221, 55], [55, 65], [65, 221], [3, 195], [195, 197], [197, 3], [25, 7], [7, 33], [33, 25], [220, 237], [237, 44], [44, 220], [70, 71], [71, 139], [139, 70], [122, 193], [193, 245], [245, 122], [247, 130], [130, 33], [33, 247], [71, 21], [21, 162], [162, 71], [170, 169], [169, 150], [150, 170], [188, 174], [174, 196], [196, 188], [216, 186], [186, 92], [92, 216], [2, 97], [97, 167], [167, 2], [141, 125], [125, 241], [241, 141], [164, 167], [167, 37], [37, 164], [72, 38], [38, 12], [12, 72], [38, 82], [82, 13], [13, 38], [63, 68], [68, 71], [71, 63], [226, 35], [35, 111], [111, 226], [101, 50], [50, 205], [205, 101], [206, 92], [92, 165], [165, 206], [209, 198], [198, 217], [217, 209], [165, 167], [167, 97], [97, 165], [220, 115], [115, 218], [218, 220], [133, 112], [112, 243], [243, 133], [239, 238], [238, 241], [241, 239], [214, 135], [135, 169], [169, 214], [190, 173], [173, 133], [133, 190], [171, 208], [208, 32], [32, 171], [125, 44], [44, 237], [237, 125], [86, 87], [87, 178], [178, 86], [85, 86], [86, 179], [179, 85], [84, 85], [85, 180], [180, 84], [83, 84], [84, 181], [181, 83], [201, 83], [83, 182], [182, 201], [137, 93], [93, 132], [132, 137], [76, 62], [62, 183], [183, 76], [61, 76], [76, 184], [184, 61], [57, 61], [61, 185], [185, 57], [212, 57], [57, 186], [186, 212], [214, 207], [207, 187], [187, 214], [34, 143], [143, 156], [156, 34], [79, 239], [239, 237], [237, 79], [123, 137], [137, 177], [177, 123], [44, 1], [1, 4], [4, 44], [201, 194], [194, 32], [32, 201], [64, 102], [102, 129], [129, 64], [213, 215], [215, 138], [138, 213], [59, 166], [166, 219], [219, 59], [242, 99], [99, 97], [97, 242], [2, 94], [94, 141], [141, 2], [75, 59], [59, 235], [235, 75], [24, 110], [110, 228], [228, 24], [25, 130], [130, 226], [226, 25], [23, 24], [24, 229], [229, 23], [22, 23], [23, 230], [230, 22], [26, 22], [22, 231], [231, 26], [112, 26], [26, 232], [232, 112], [189, 190], [190, 243], [243, 189], [221, 56], [56, 190], [190, 221], [28, 56], [56, 221], [221, 28], [27, 28], [28, 222], [222, 27], [29, 27], [27, 223], [223, 29], [30, 29], [29, 224], [224, 30], [247, 30], [30, 225], [225, 247], [238, 79], [79, 20], [20, 238], [166, 59], [59, 75], [75, 166], [60, 75], [75, 240], [240, 60], [147, 177], [177, 215], [215, 147], [20, 79], [79, 166], [166, 20], [187, 147], [147, 213], [213, 187], [112, 233], [233, 244], [244, 112], [233, 128], [128, 245], [245, 233], [128, 114], [114, 188], [188, 128], [114, 217], [217, 174], [174, 114], [131, 115], [115, 220], [220, 131], [217, 198], [198, 236], [236, 217], [198, 131], [131, 134], [134, 198], [177, 132], [132, 58], [58, 177], [143, 35], [35, 124], [124, 143], [110, 163], [163, 7], [7, 110], [228, 110], [110, 25], [25, 228], [356, 389], [389, 368], [368, 356], [11, 302], [302, 267], [267, 11], [452, 350], [350, 349], [349, 452], [302, 303], [303, 269], [269, 302], [357, 343], [343, 277], [277, 357], [452, 453], [453, 357], [357, 452], [333, 332], [332, 297], [297, 333], [175, 152], [152, 377], [377, 175], [347, 348], [348, 330], [330, 347], [303, 304], [304, 270], [270, 303], [9, 336], [336, 337], [337, 9], [278, 279], [279, 360], [360, 278], [418, 262], [262, 431], [431, 418], [304, 408], [408, 409], [409, 304], [310, 415], [415, 407], [407, 310], [270, 409], [409, 410], [410, 270], [450, 348], [348, 347], [347, 450], [422, 430], [430, 434], [434, 422], [313, 314], [314, 17], [17, 313], [306, 307], [307, 375], [375, 306], [387, 388], [388, 260], [260, 387], [286, 414], [414, 398], [398, 286], [335, 406], [406, 418], [418, 335], [364, 367], [367, 416], [416, 364], [423, 358], [358, 327], [327, 423], [251, 284], [284, 298], [298, 251], [281, 5], [5, 4], [4, 281], [373, 374], [374, 253], [253, 373], [307, 320], [320, 321], [321, 307], [425, 427], [427, 411], [411, 425], [421, 313], [313, 18], [18, 421], [321, 405], [405, 406], [406, 321], [320, 404], [404, 405], [405, 320], [315, 16], [16, 17], [17, 315], [426, 425], [425, 266], [266, 426], [377, 400], [400, 369], [369, 377], [322, 391], [391, 269], [269, 322], [417, 465], [465, 464], [464, 417], [386, 257], [257, 258], [258, 386], [466, 260], [260, 388], [388, 466], [456, 399], [399, 419], [419, 456], [284, 332], [332, 333], [333, 284], [417, 285], [285, 8], [8, 417], [346, 340], [340, 261], [261, 346], [413, 441], [441, 285], [285, 413], [327, 460], [460, 328], [328, 327], [355, 371], [371, 329], [329, 355], [392, 439], [439, 438], [438, 392], [382, 341], [341, 256], [256, 382], [429, 420], [420, 360], [360, 429], [364, 394], [394, 379], [379, 364], [277, 343], [343, 437], [437, 277], [443, 444], [444, 283], [283, 443], [275, 440], [440, 363], [363, 275], [431, 262], [262, 369], [369, 431], [297, 338], [338, 337], [337, 297], [273, 375], [375, 321], [321, 273], [450, 451], [451, 349], [349, 450], [446, 342], [342, 467], [467, 446], [293, 334], [334, 282], [282, 293], [458, 461], [461, 462], [462, 458], [276, 353], [353, 383], [383, 276], [308, 324], [324, 325], [325, 308], [276, 300], [300, 293], [293, 276], [372, 345], [345, 447], [447, 372], [352, 345], [345, 340], [340, 352], [274, 1], [1, 19], [19, 274], [456, 248], [248, 281], [281, 456], [436, 427], [427, 425], [425, 436], [381, 256], [256, 252], [252, 381], [269, 391], [391, 393], [393, 269], [200, 199], [199, 428], [428, 200], [266, 330], [330, 329], [329, 266], [287, 273], [273, 422], [422, 287], [250, 462], [462, 328], [328, 250], [258, 286], [286, 384], [384, 258], [265, 353], [353, 342], [342, 265], [387, 259], [259, 257], [257, 387], [424, 431], [431, 430], [430, 424], [342, 353], [353, 276], [276, 342], [273, 335], [335, 424], [424, 273], [292, 325], [325, 307], [307, 292], [366, 447], [447, 345], [345, 366], [271, 303], [303, 302], [302, 271], [423, 266], [266, 371], [371, 423], [294, 455], [455, 460], [460, 294], [279, 278], [278, 294], [294, 279], [271, 272], [272, 304], [304, 271], [432, 434], [434, 427], [427, 432], [272, 407], [407, 408], [408, 272], [394, 430], [430, 431], [431, 394], [395, 369], [369, 400], [400, 395], [334, 333], [333, 299], [299, 334], [351, 417], [417, 168], [168, 351], [352, 280], [280, 411], [411, 352], [325, 319], [319, 320], [320, 325], [295, 296], [296, 336], [336, 295], [319, 403], [403, 404], [404, 319], [330, 348], [348, 349], [349, 330], [293, 298], [298, 333], [333, 293], [323, 454], [454, 447], [447, 323], [15, 16], [16, 315], [315, 15], [358, 429], [429, 279], [279, 358], [14, 15], [15, 316], [316, 14], [285, 336], [336, 9], [9, 285], [329, 349], [349, 350], [350, 329], [374, 380], [380, 252], [252, 374], [318, 402], [402, 403], [403, 318], [6, 197], [197, 419], [419, 6], [318, 319], [319, 325], [325, 318], [367, 364], [364, 365], [365, 367], [435, 367], [367, 397], [397, 435], [344, 438], [438, 439], [439, 344], [272, 271], [271, 311], [311, 272], [195, 5], [5, 281], [281, 195], [273, 287], [287, 291], [291, 273], [396, 428], [428, 199], [199, 396], [311, 271], [271, 268], [268, 311], [283, 444], [444, 445], [445, 283], [373, 254], [254, 339], [339, 373], [282, 334], [334, 296], [296, 282], [449, 347], [347, 346], [346, 449], [264, 447], [447, 454], [454, 264], [336, 296], [296, 299], [299, 336], [338, 10], [10, 151], [151, 338], [278, 439], [439, 455], [455, 278], [292, 407], [407, 415], [415, 292], [358, 371], [371, 355], [355, 358], [340, 345], [345, 372], [372, 340], [346, 347], [347, 280], [280, 346], [442, 443], [443, 282], [282, 442], [19, 94], [94, 370], [370, 19], [441, 442], [442, 295], [295, 441], [248, 419], [419, 197], [197, 248], [263, 255], [255, 359], [359, 263], [440, 275], [275, 274], [274, 440], [300, 383], [383, 368], [368, 300], [351, 412], [412, 465], [465, 351], [263, 467], [467, 466], [466, 263], [301, 368], [368, 389], [389, 301], [395, 378], [378, 379], [379, 395], [412, 351], [351, 419], [419, 412], [436, 426], [426, 322], [322, 436], [2, 164], [164, 393], [393, 2], [370, 462], [462, 461], [461, 370], [164, 0], [0, 267], [267, 164], [302, 11], [11, 12], [12, 302], [268, 12], [12, 13], [13, 268], [293, 300], [300, 301], [301, 293], [446, 261], [261, 340], [340, 446], [330, 266], [266, 425], [425, 330], [426, 423], [423, 391], [391, 426], [429, 355], [355, 437], [437, 429], [391, 327], [327, 326], [326, 391], [440, 457], [457, 438], [438, 440], [341, 382], [382, 362], [362, 341], [459, 457], [457, 461], [461, 459], [434, 430], [430, 394], [394, 434], [414, 463], [463, 362], [362, 414], [396, 369], [369, 262], [262, 396], [354, 461], [461, 457], [457, 354], [316, 403], [403, 402], [402, 316], [315, 404], [404, 403], [403, 315], [314, 405], [405, 404], [404, 314], [313, 406], [406, 405], [405, 313], [421, 418], [418, 406], [406, 421], [366, 401], [401, 361], [361, 366], [306, 408], [408, 407], [407, 306], [291, 409], [409, 408], [408, 291], [287, 410], [410, 409], [409, 287], [432, 436], [436, 410], [410, 432], [434, 416], [416, 411], [411, 434], [264, 368], [368, 383], [383, 264], [309, 438], [438, 457], [457, 309], [352, 376], [376, 401], [401, 352], [274, 275], [275, 4], [4, 274], [421, 428], [428, 262], [262, 421], [294, 327], [327, 358], [358, 294], [433, 416], [416, 367], [367, 433], [289, 455], [455, 439], [439, 289], [462, 370], [370, 326], [326, 462], [2, 326], [326, 370], [370, 2], [305, 460], [460, 455], [455, 305], [254, 449], [449, 448], [448, 254], [255, 261], [261, 446], [446, 255], [253, 450], [450, 449], [449, 253], [252, 451], [451, 450], [450, 252], [256, 452], [452, 451], [451, 256], [341, 453], [453, 452], [452, 341], [413, 464], [464, 463], [463, 413], [441, 413], [413, 414], [414, 441], [258, 442], [442, 441], [441, 258], [257, 443], [443, 442], [442, 257], [259, 444], [444, 443], [443, 259], [260, 445], [445, 444], [444, 260], [467, 342], [342, 445], [445, 467], [459, 458], [458, 250], [250, 459], [289, 392], [392, 290], [290, 289], [290, 328], [328, 460], [460, 290], [376, 433], [433, 435], [435, 376], [250, 290], [290, 392], [392, 250], [411, 416], [416, 433], [433, 411], [341, 463], [463, 464], [464, 341], [453, 464], [464, 465], [465, 453], [357, 465], [465, 412], [412, 357], [343, 412], [412, 399], [399, 343], [360, 363], [363, 440], [440, 360], [437, 399], [399, 456], [456, 437], [420, 456], [456, 363], [363, 420], [401, 435], [435, 288], [288, 401], [372, 383], [383, 353], [353, 372], [339, 255], [255, 249], [249, 339], [448, 261], [261, 255], [255, 448], [133, 243], [243, 190], [190, 133], [133, 155], [155, 112], [112, 133], [33, 246], [246, 247], [247, 33], [33, 130], [130, 25], [25, 33], [398, 384], [384, 286], [286, 398], [362, 398], [398, 414], [414, 362], [362, 463], [463, 341], [341, 362], [263, 359], [359, 467], [467, 263], [263, 249], [249, 255], [255, 263], [466, 467], [467, 260], [260, 466], [75, 60], [60, 166], [166, 75], [238, 239], [239, 79], [79, 238], [162, 127], [127, 139], [139, 162], [72, 11], [11, 37], [37, 72], [121, 232], [232, 120], [120, 121], [73, 72], [72, 39], [39, 73], [114, 128], [128, 47], [47, 114], [233, 232], [232, 128], [128, 233], [103, 104], [104, 67], [67, 103], [152, 175], [175, 148], [148, 152], [119, 118], [118, 101], [101, 119], [74, 73], [73, 40], [40, 74], [107, 9], [9, 108], [108, 107], [49, 48], [48, 131], [131, 49], [32, 194], [194, 211], [211, 32], [184, 74], [74, 185], [185, 184], [191, 80], [80, 183], [183, 191], [185, 40], [40, 186], [186, 185], [119, 230], [230, 118], [118, 119], [210, 202], [202, 214], [214, 210], [84, 83], [83, 17], [17, 84], [77, 76], [76, 146], [146, 77], [161, 160], [160, 30], [30, 161], [190, 56], [56, 173], [173, 190], [182, 106], [106, 194], [194, 182], [138, 135], [135, 192], [192, 138], [129, 203], [203, 98], [98, 129], [54, 21], [21, 68], [68, 54], [5, 51], [51, 4], [4, 5], [145, 144], [144, 23], [23, 145], [90, 77], [77, 91], [91, 90], [207, 205], [205, 187], [187, 207], [83, 201], [201, 18], [18, 83], [181, 91], [91, 182], [182, 181], [180, 90], [90, 181], [181, 180], [16, 85], [85, 17], [17, 16], [205, 206], [206, 36], [36, 205], [176, 148], [148, 140], [140, 176], [165, 92], [92, 39], [39, 165], [245, 193], [193, 244], [244, 245], [27, 159], [159, 28], [28, 27], [30, 247], [247, 161], [161, 30], [174, 236], [236, 196], [196, 174], [103, 54], [54, 104], [104, 103], [55, 193], [193, 8], [8, 55], [111, 117], [117, 31], [31, 111], [221, 189], [189, 55], [55, 221], [240, 98], [98, 99], [99, 240], [142, 126], [126, 100], [100, 142], [219, 166], [166, 218], [218, 219], [112, 155], [155, 26], [26, 112], [198, 209], [209, 131], [131, 198], [169, 135], [135, 150], [150, 169], [114, 47], [47, 217], [217, 114], [224, 223], [223, 53], [53, 224], [220, 45], [45, 134], [134, 220], [32, 211], [211, 140], [140, 32], [109, 67], [67, 108], [108, 109], [146, 43], [43, 91], [91, 146], [231, 230], [230, 120], [120, 231], [113, 226], [226, 247], [247, 113], [105, 63], [63, 52], [52, 105], [241, 238], [238, 242], [242, 241], [124, 46], [46, 156], [156, 124], [95, 78], [78, 96], [96, 95], [70, 46], [46, 63], [63, 70], [116, 143], [143, 227], [227, 116], [116, 123], [123, 111], [111, 116], [1, 44], [44, 19], [19, 1], [3, 236], [236, 51], [51, 3], [207, 216], [216, 205], [205, 207], [26, 154], [154, 22], [22, 26], [165, 39], [39, 167], [167, 165], [199, 200], [200, 208], [208, 199], [101, 36], [36, 100], [100, 101], [43, 57], [57, 202], [202, 43], [242, 20], [20, 99], [99, 242], [56, 28], [28, 157], [157, 56], [124, 35], [35, 113], [113, 124], [29, 160], [160, 27], [27, 29], [211, 204], [204, 210], [210, 211], [124, 113], [113, 46], [46, 124], [106, 43], [43, 204], [204, 106], [96, 62], [62, 77], [77, 96], [227, 137], [137, 116], [116, 227], [73, 41], [41, 72], [72, 73], [36, 203], [203, 142], [142, 36], [235, 64], [64, 240], [240, 235], [48, 49], [49, 64], [64, 48], [42, 41], [41, 74], [74, 42], [214, 212], [212, 207], [207, 214], [183, 42], [42, 184], [184, 183], [210, 169], [169, 211], [211, 210], [140, 170], [170, 176], [176, 140], [104, 105], [105, 69], [69, 104], [193, 122], [122, 168], [168, 193], [50, 123], [123, 187], [187, 50], [89, 96], [96, 90], [90, 89], [66, 65], [65, 107], [107, 66], [179, 89], [89, 180], [180, 179], [119, 101], [101, 120], [120, 119], [68, 63], [63, 104], [104, 68], [234, 93], [93, 227], [227, 234], [16, 15], [15, 85], [85, 16], [209, 129], [129, 49], [49, 209], [15, 14], [14, 86], [86, 15], [107, 55], [55, 9], [9, 107], [120, 100], [100, 121], [121, 120], [153, 145], [145, 22], [22, 153], [178, 88], [88, 179], [179, 178], [197, 6], [6, 196], [196, 197], [89, 88], [88, 96], [96, 89], [135, 138], [138, 136], [136, 135], [138, 215], [215, 172], [172, 138], [218, 115], [115, 219], [219, 218], [41, 42], [42, 81], [81, 41], [5, 195], [195, 51], [51, 5], [57, 43], [43, 61], [61, 57], [208, 171], [171, 199], [199, 208], [41, 81], [81, 38], [38, 41], [224, 53], [53, 225], [225, 224], [24, 144], [144, 110], [110, 24], [105, 52], [52, 66], [66, 105], [118, 229], [229, 117], [117, 118], [227, 34], [34, 234], [234, 227], [66, 107], [107, 69], [69, 66], [10, 109], [109, 151], [151, 10], [219, 48], [48, 235], [235, 219], [183, 62], [62, 191], [191, 183], [142, 129], [129, 126], [126, 142], [116, 111], [111, 143], [143, 116], [118, 117], [117, 50], [50, 118], [223, 222], [222, 52], [52, 223], [94, 19], [19, 141], [141, 94], [222, 221], [221, 65], [65, 222], [196, 3], [3, 197], [197, 196], [45, 220], [220, 44], [44, 45], [156, 70], [70, 139], [139, 156], [188, 122], [122, 245], [245, 188], [139, 71], [71, 162], [162, 139], [149, 170], [170, 150], [150, 149], [122, 188], [188, 196], [196, 122], [206, 216], [216, 92], [92, 206], [164, 2], [2, 167], [167, 164], [242, 141], [141, 241], [241, 242], [0, 164], [164, 37], [37, 0], [11, 72], [72, 12], [12, 11], [12, 38], [38, 13], [13, 12], [70, 63], [63, 71], [71, 70], [31, 226], [226, 111], [111, 31], [36, 101], [101, 205], [205, 36], [203, 206], [206, 165], [165, 203], [126, 209], [209, 217], [217, 126], [98, 165], [165, 97], [97, 98], [237, 220], [220, 218], [218, 237], [237, 239], [239, 241], [241, 237], [210, 214], [214, 169], [169, 210], [140, 171], [171, 32], [32, 140], [241, 125], [125, 237], [237, 241], [179, 86], [86, 178], [178, 179], [180, 85], [85, 179], [179, 180], [181, 84], [84, 180], [180, 181], [182, 83], [83, 181], [181, 182], [194, 201], [201, 182], [182, 194], [177, 137], [137, 132], [132, 177], [184, 76], [76, 183], [183, 184], [185, 61], [61, 184], [184, 185], [186, 57], [57, 185], [185, 186], [216, 212], [212, 186], [186, 216], [192, 214], [214, 187], [187, 192], [139, 34], [34, 156], [156, 139], [218, 79], [79, 237], [237, 218], [147, 123], [123, 177], [177, 147], [45, 44], [44, 4], [4, 45], [208, 201], [201, 32], [32, 208], [98, 64], [64, 129], [129, 98], [192, 213], [213, 138], [138, 192], [235, 59], [59, 219], [219, 235], [141, 242], [242, 97], [97, 141], [97, 2], [2, 141], [141, 97], [240, 75], [75, 235], [235, 240], [229, 24], [24, 228], [228, 229], [31, 25], [25, 226], [226, 31], [230, 23], [23, 229], [229, 230], [231, 22], [22, 230], [230, 231], [232, 26], [26, 231], [231, 232], [233, 112], [112, 232], [232, 233], [244, 189], [189, 243], [243, 244], [189, 221], [221, 190], [190, 189], [222, 28], [28, 221], [221, 222], [223, 27], [27, 222], [222, 223], [224, 29], [29, 223], [223, 224], [225, 30], [30, 224], [224, 225], [113, 247], [247, 225], [225, 113], [99, 60], [60, 240], [240, 99], [213, 147], [147, 215], [215, 213], [60, 20], [20, 166], [166, 60], [192, 187], [187, 213], [213, 192], [243, 112], [112, 244], [244, 243], [244, 233], [233, 245], [245, 244], [245, 128], [128, 188], [188, 245], [188, 114], [114, 174], [174, 188], [134, 131], [131, 220], [220, 134], [174, 217], [217, 236], [236, 174], [236, 198], [198, 134], [134, 236], [215, 177], [177, 58], [58, 215], [156, 143], [143, 124], [124, 156], [25, 110], [110, 7], [7, 25], [31, 228], [228, 25], [25, 31], [264, 356], [356, 368], [368, 264], [0, 11], [11, 267], [267, 0], [451, 452], [452, 349], [349, 451], [267, 302], [302, 269], [269, 267], [350, 357], [357, 277], [277, 350], [350, 452], [452, 357], [357, 350], [299, 333], [333, 297], [297, 299], [396, 175], [175, 377], [377, 396], [280, 347], [347, 330], [330, 280], [269, 303], [303, 270], [270, 269], [151, 9], [9, 337], [337, 151], [344, 278], [278, 360], [360, 344], [424, 418], [418, 431], [431, 424], [270, 304], [304, 409], [409, 270], [272, 310], [310, 407], [407, 272], [322, 270], [270, 410], [410, 322], [449, 450], [450, 347], [347, 449], [432, 422], [422, 434], [434, 432], [18, 313], [313, 17], [17, 18], [291, 306], [306, 375], [375, 291], [259, 387], [387, 260], [260, 259], [424, 335], [335, 418], [418, 424], [434, 364], [364, 416], [416, 434], [391, 423], [423, 327], [327, 391], [301, 251], [251, 298], [298, 301], [275, 281], [281, 4], [4, 275], [254, 373], [373, 253], [253, 254], [375, 307], [307, 321], [321, 375], [280, 425], [425, 411], [411, 280], [200, 421], [421, 18], [18, 200], [335, 321], [321, 406], [406, 335], [321, 320], [320, 405], [405, 321], [314, 315], [315, 17], [17, 314], [423, 426], [426, 266], [266, 423], [396, 377], [377, 369], [369, 396], [270, 322], [322, 269], [269, 270], [413, 417], [417, 464], [464, 413], [385, 386], [386, 258], [258, 385], [248, 456], [456, 419], [419, 248], [298, 284], [284, 333], [333, 298], [168, 417], [417, 8], [8, 168], [448, 346], [346, 261], [261, 448], [417, 413], [413, 285], [285, 417], [326, 327], [327, 328], [328, 326], [277, 355], [355, 329], [329, 277], [309, 392], [392, 438], [438, 309], [381, 382], [382, 256], [256, 381], [279, 429], [429, 360], [360, 279], [365, 364], [364, 379], [379, 365], [355, 277], [277, 437], [437, 355], [282, 443], [443, 283], [283, 282], [281, 275], [275, 363], [363, 281], [395, 431], [431, 369], [369, 395], [299, 297], [297, 337], [337, 299], [335, 273], [273, 321], [321, 335], [348, 450], [450, 349], [349, 348], [359, 446], [446, 467], [467, 359], [283, 293], [293, 282], [282, 283], [250, 458], [458, 462], [462, 250], [300, 276], [276, 383], [383, 300], [292, 308], [308, 325], [325, 292], [283, 276], [276, 293], [293, 283], [264, 372], [372, 447], [447, 264], [346, 352], [352, 340], [340, 346], [354, 274], [274, 19], [19, 354], [363, 456], [456, 281], [281, 363], [426, 436], [436, 425], [425, 426], [380, 381], [381, 252], [252, 380], [267, 269], [269, 393], [393, 267], [421, 200], [200, 428], [428, 421], [371, 266], [266, 329], [329, 371], [432, 287], [287, 422], [422, 432], [290, 250], [250, 328], [328, 290], [385, 258], [258, 384], [384, 385], [446, 265], [265, 342], [342, 446], [386, 387], [387, 257], [257, 386], [422, 424], [424, 430], [430, 422], [445, 342], [342, 276], [276, 445], [422, 273], [273, 424], [424, 422], [306, 292], [292, 307], [307, 306], [352, 366], [366, 345], [345, 352], [268, 271], [271, 302], [302, 268], [358, 423], [423, 371], [371, 358], [327, 294], [294, 460], [460, 327], [331, 279], [279, 294], [294, 331], [303, 271], [271, 304], [304, 303], [436, 432], [432, 427], [427, 436], [304, 272], [272, 408], [408, 304], [395, 394], [394, 431], [431, 395], [378, 395], [395, 400], [400, 378], [296, 334], [334, 299], [299, 296], [6, 351], [351, 168], [168, 6], [376, 352], [352, 411], [411, 376], [307, 325], [325, 320], [320, 307], [285, 295], [295, 336], [336, 285], [320, 319], [319, 404], [404, 320], [329, 330], [330, 349], [349, 329], [334, 293], [293, 333], [333, 334], [366, 323], [323, 447], [447, 366], [316, 15], [15, 315], [315, 316], [331, 358], [358, 279], [279, 331], [317, 14], [14, 316], [316, 317], [8, 285], [285, 9], [9, 8], [277, 329], [329, 350], [350, 277], [253, 374], [374, 252], [252, 253], [319, 318], [318, 403], [403, 319], [351, 6], [6, 419], [419, 351], [324, 318], [318, 325], [325, 324], [397, 367], [367, 365], [365, 397], [288, 435], [435, 397], [397, 288], [278, 344], [344, 439], [439, 278], [310, 272], [272, 311], [311, 310], [248, 195], [195, 281], [281, 248], [375, 273], [273, 291], [291, 375], [175, 396], [396, 199], [199, 175], [312, 311], [311, 268], [268, 312], [276, 283], [283, 445], [445, 276], [390, 373], [373, 339], [339, 390], [295, 282], [282, 296], [296, 295], [448, 449], [449, 346], [346, 448], [356, 264], [264, 454], [454, 356], [337, 336], [336, 299], [299, 337], [337, 338], [338, 151], [151, 337], [294, 278], [278, 455], [455, 294], [308, 292], [292, 415], [415, 308], [429, 358], [358, 355], [355, 429], [265, 340], [340, 372], [372, 265], [352, 346], [346, 280], [280, 352], [295, 442], [442, 282], [282, 295], [354, 19], [19, 370], [370, 354], [285, 441], [441, 295], [295, 285], [195, 248], [248, 197], [197, 195], [457, 440], [440, 274], [274, 457], [301, 300], [300, 368], [368, 301], [417, 351], [351, 465], [465, 417], [251, 301], [301, 389], [389, 251], [394, 395], [395, 379], [379, 394], [399, 412], [412, 419], [419, 399], [410, 436], [436, 322], [322, 410], [326, 2], [2, 393], [393, 326], [354, 370], [370, 461], [461, 354], [393, 164], [164, 267], [267, 393], [268, 302], [302, 12], [12, 268], [312, 268], [268, 13], [13, 312], [298, 293], [293, 301], [301, 298], [265, 446], [446, 340], [340, 265], [280, 330], [330, 425], [425, 280], [322, 426], [426, 391], [391, 322], [420, 429], [429, 437], [437, 420], [393, 391], [391, 326], [326, 393], [344, 440], [440, 438], [438, 344], [458, 459], [459, 461], [461, 458], [364, 434], [434, 394], [394, 364], [428, 396], [396, 262], [262, 428], [274, 354], [354, 457], [457, 274], [317, 316], [316, 402], [402, 317], [316, 315], [315, 403], [403, 316], [315, 314], [314, 404], [404, 315], [314, 313], [313, 405], [405, 314], [313, 421], [421, 406], [406, 313], [323, 366], [366, 361], [361, 323], [292, 306], [306, 407], [407, 292], [306, 291], [291, 408], [408, 306], [291, 287], [287, 409], [409, 291], [287, 432], [432, 410], [410, 287], [427, 434], [434, 411], [411, 427], [372, 264], [264, 383], [383, 372], [459, 309], [309, 457], [457, 459], [366, 352], [352, 401], [401, 366], [1, 274], [274, 4], [4, 1], [418, 421], [421, 262], [262, 418], [331, 294], [294, 358], [358, 331], [435, 433], [433, 367], [367, 435], [392, 289], [289, 439], [439, 392], [328, 462], [462, 326], [326, 328], [94, 2], [2, 370], [370, 94], [289, 305], [305, 455], [455, 289], [339, 254], [254, 448], [448, 339], [359, 255], [255, 446], [446, 359], [254, 253], [253, 449], [449, 254], [253, 252], [252, 450], [450, 253], [252, 256], [256, 451], [451, 252], [256, 341], [341, 452], [452, 256], [414, 413], [413, 463], [463, 414], [286, 441], [441, 414], [414, 286], [286, 258], [258, 441], [441, 286], [258, 257], [257, 442], [442, 258], [257, 259], [259, 443], [443, 257], [259, 260], [260, 444], [444, 259], [260, 467], [467, 445], [445, 260], [309, 459], [459, 250], [250, 309], [305, 289], [289, 290], [290, 305], [305, 290], [290, 460], [460, 305], [401, 376], [376, 435], [435, 401], [309, 250], [250, 392], [392, 309], [376, 411], [411, 433], [433, 376], [453, 341], [341, 464], [464, 453], [357, 453], [453, 465], [465, 357], [343, 357], [357, 412], [412, 343], [437, 343], [343, 399], [399, 437], [344, 360], [360, 440], [440, 344], [420, 437], [437, 456], [456, 420], [360, 420], [420, 363], [363, 360], [361, 401], [401, 288], [288, 361], [265, 372], [372, 353], [353, 265], [390, 339], [339, 249], [249, 390], [339, 448], [448, 255], [255, 339]);
23725
- function nb(r) {
23725
+ function n3(r) {
23726
23726
  r.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] };
23727
23727
  }
23728
23728
  var T0 = class extends Pe {
@@ -23739,10 +23739,10 @@ var T0 = class extends Pe {
23739
23739
  return "numFaces" in r && nt(this.s, 4, r.numFaces ?? 1), "minFaceDetectionConfidence" in r && _r(this.s, 2, r.minFaceDetectionConfidence ?? 0.5), "minTrackingConfidence" in r && _r(this.h, 4, r.minTrackingConfidence ?? 0.5), "minFacePresenceConfidence" in r && _r(this.v, 2, r.minFacePresenceConfidence ?? 0.5), "outputFaceBlendshapes" in r && (this.outputFaceBlendshapes = !!r.outputFaceBlendshapes), "outputFacialTransformationMatrixes" in r && (this.outputFacialTransformationMatrixes = !!r.outputFacialTransformationMatrixes), this.l(r);
23740
23740
  }
23741
23741
  D(r, e) {
23742
- return nb(this), da(this, r, e), this.j;
23742
+ return n3(this), da(this, r, e), this.j;
23743
23743
  }
23744
23744
  F(r, e, a) {
23745
- return nb(this), At(this, r, a, e), this.j;
23745
+ return n3(this), At(this, r, a, e), this.j;
23746
23746
  }
23747
23747
  m() {
23748
23748
  var r = new Oe();
@@ -23824,13 +23824,13 @@ Ga.prototype.stylize = Ga.prototype.Ka, Ga.prototype.setOptions = Ga.prototype.o
23824
23824
  return qr(Ga, r, e);
23825
23825
  };
23826
23826
  var td = Pa([0, 1], [1, 2], [2, 3], [3, 4], [0, 5], [5, 6], [6, 7], [7, 8], [5, 9], [9, 10], [10, 11], [11, 12], [9, 13], [13, 14], [14, 15], [15, 16], [13, 17], [0, 17], [17, 18], [18, 19], [19, 20]);
23827
- function ib(r) {
23827
+ function i3(r) {
23828
23828
  r.gestures = [], r.landmarks = [], r.worldLandmarks = [], r.handedness = [];
23829
23829
  }
23830
- function ob(r) {
23830
+ function o3(r) {
23831
23831
  return r.gestures.length === 0 ? { gestures: [], landmarks: [], worldLandmarks: [], handedness: [], handednesses: [] } : { gestures: r.gestures, landmarks: r.landmarks, worldLandmarks: r.worldLandmarks, handedness: r.handedness, handednesses: r.handedness };
23832
23832
  }
23833
- function Ab(r, e = !0) {
23833
+ function A3(r, e = !0) {
23834
23834
  const a = [];
23835
23835
  for (const n of r) {
23836
23836
  var t = bf(n);
@@ -23859,10 +23859,10 @@ var De = class extends Pe {
23859
23859
  return r.customGesturesClassifierOptions ? (Zr(a = e = new hi(), 0, 2, t = Uu(r.customGesturesClassifierOptions, (o = i0(this.h, hi, 4)) == null ? void 0 : o.h())), Zr(this.h, 0, 4, e)) : r.customGesturesClassifierOptions === void 0 && ((A = i0(this.h, hi, 4)) == null || A.g()), this.l(r);
23860
23860
  }
23861
23861
  Fa(r, e) {
23862
- return ib(this), da(this, r, e), ob(this);
23862
+ return i3(this), da(this, r, e), o3(this);
23863
23863
  }
23864
23864
  Ga(r, e, a) {
23865
- return ib(this), At(this, r, a, e), ob(this);
23865
+ return i3(this), At(this, r, a, e), o3(this);
23866
23866
  }
23867
23867
  m() {
23868
23868
  var r = new Oe();
@@ -23891,17 +23891,17 @@ var De = class extends Pe {
23891
23891
  }), this.g.attachEmptyPacketListener("world_hand_landmarks", (t) => {
23892
23892
  gr(this, t);
23893
23893
  }), this.g.attachProtoVectorListener("hand_gestures", (t, n) => {
23894
- this.gestures.push(...Ab(t, !1)), gr(this, n);
23894
+ this.gestures.push(...A3(t, !1)), gr(this, n);
23895
23895
  }), this.g.attachEmptyPacketListener("hand_gestures", (t) => {
23896
23896
  gr(this, t);
23897
23897
  }), this.g.attachProtoVectorListener("handedness", (t, n) => {
23898
- this.handedness.push(...Ab(t)), gr(this, n);
23898
+ this.handedness.push(...A3(t)), gr(this, n);
23899
23899
  }), this.g.attachEmptyPacketListener("handedness", (t) => {
23900
23900
  gr(this, t);
23901
23901
  }), r = r.g(), this.setGraph(new Uint8Array(r), !0);
23902
23902
  }
23903
23903
  };
23904
- function sb(r) {
23904
+ function s3(r) {
23905
23905
  return { landmarks: r.landmarks, worldLandmarks: r.worldLandmarks, handednesses: r.handedness, handedness: r.handedness };
23906
23906
  }
23907
23907
  De.prototype.recognizeForVideo = De.prototype.Ga, De.prototype.recognize = De.prototype.Fa, De.prototype.setOptions = De.prototype.o, De.createFromModelPath = function(r, e) {
@@ -23925,10 +23925,10 @@ var Me = class extends Pe {
23925
23925
  return "numHands" in r && nt(this.j, 3, r.numHands ?? 1), "minHandDetectionConfidence" in r && _r(this.j, 2, r.minHandDetectionConfidence ?? 0.5), "minTrackingConfidence" in r && _r(this.h, 4, r.minTrackingConfidence ?? 0.5), "minHandPresenceConfidence" in r && _r(this.s, 2, r.minHandPresenceConfidence ?? 0.5), this.l(r);
23926
23926
  }
23927
23927
  D(r, e) {
23928
- return this.landmarks = [], this.worldLandmarks = [], this.handedness = [], da(this, r, e), sb(this);
23928
+ return this.landmarks = [], this.worldLandmarks = [], this.handedness = [], da(this, r, e), s3(this);
23929
23929
  }
23930
23930
  F(r, e, a) {
23931
- return this.landmarks = [], this.worldLandmarks = [], this.handedness = [], At(this, r, a, e), sb(this);
23931
+ return this.landmarks = [], this.worldLandmarks = [], this.handedness = [], At(this, r, a, e), s3(this);
23932
23932
  }
23933
23933
  m() {
23934
23934
  var r = new Oe();
@@ -23969,10 +23969,10 @@ Me.prototype.detectForVideo = Me.prototype.F, Me.prototype.detect = Me.prototype
23969
23969
  return qr(Me, r, e);
23970
23970
  }, Me.HAND_CONNECTIONS = td;
23971
23971
  var pg = Pa([0, 1], [1, 2], [2, 3], [3, 7], [0, 4], [4, 5], [5, 6], [6, 8], [9, 10], [11, 12], [11, 13], [13, 15], [15, 17], [15, 19], [15, 21], [17, 19], [12, 14], [14, 16], [16, 18], [16, 20], [16, 22], [18, 20], [11, 23], [12, 24], [23, 24], [23, 25], [24, 26], [25, 27], [26, 28], [27, 29], [28, 30], [29, 31], [30, 32], [27, 31], [28, 32]);
23972
- function fb(r) {
23972
+ function f3(r) {
23973
23973
  r.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] };
23974
23974
  }
23975
- function ub(r) {
23975
+ function u3(r) {
23976
23976
  try {
23977
23977
  if (!r.C) return r.h;
23978
23978
  r.C(r.h);
@@ -23998,16 +23998,16 @@ var N0 = class extends Pe {
23998
23998
  }
23999
23999
  D(r, e, a) {
24000
24000
  const t = typeof e != "function" ? e : {};
24001
- return this.C = typeof e == "function" ? e : a, fb(this), da(this, r, t), ub(this);
24001
+ return this.C = typeof e == "function" ? e : a, f3(this), da(this, r, t), u3(this);
24002
24002
  }
24003
24003
  F(r, e, a, t) {
24004
24004
  const n = typeof a != "function" ? a : {};
24005
- return this.C = typeof a == "function" ? a : t, fb(this), At(this, r, n, e), ub(this);
24005
+ return this.C = typeof a == "function" ? a : t, f3(this), At(this, r, n, e), u3(this);
24006
24006
  }
24007
24007
  m() {
24008
24008
  var r = new Oe();
24009
24009
  I0(r, "input_frames_image"), f0(r, "pose_landmarks"), f0(r, "pose_world_landmarks"), f0(r, "face_landmarks"), f0(r, "left_hand_landmarks"), f0(r, "left_hand_world_landmarks"), f0(r, "right_hand_landmarks"), f0(r, "right_hand_world_landmarks");
24010
- const e = new ze(), a = new S3();
24010
+ const e = new ze(), a = new Sb();
24011
24011
  Du(a, 1, N2("type.googleapis.com/mediapipe.tasks.vision.holistic_landmarker.proto.HolisticLandmarkerGraphOptions"), ""), function(n, i) {
24012
24012
  if (i != null) if (Array.isArray(i)) k0(n, 2, ef(i, bc, void 0, void 0, !1));
24013
24013
  else {
@@ -24016,7 +24016,7 @@ var N0 = class extends Pe {
24016
24016
  }
24017
24017
  }(a, this.j.g());
24018
24018
  const t = new we();
24019
- ra(t, "mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph"), us(t, 8, S3, a), E0(t, "IMAGE:input_frames_image"), t0(t, "POSE_LANDMARKS:pose_landmarks"), t0(t, "POSE_WORLD_LANDMARKS:pose_world_landmarks"), t0(t, "FACE_LANDMARKS:face_landmarks"), t0(t, "LEFT_HAND_LANDMARKS:left_hand_landmarks"), t0(t, "LEFT_HAND_WORLD_LANDMARKS:left_hand_world_landmarks"), t0(t, "RIGHT_HAND_LANDMARKS:right_hand_landmarks"), t0(t, "RIGHT_HAND_WORLD_LANDMARKS:right_hand_world_landmarks"), t.o(e), ea(r, t), gf(this, r), this.g.attachProtoListener("pose_landmarks", (n, i) => {
24019
+ ra(t, "mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph"), us(t, 8, Sb, a), E0(t, "IMAGE:input_frames_image"), t0(t, "POSE_LANDMARKS:pose_landmarks"), t0(t, "POSE_WORLD_LANDMARKS:pose_world_landmarks"), t0(t, "FACE_LANDMARKS:face_landmarks"), t0(t, "LEFT_HAND_LANDMARKS:left_hand_landmarks"), t0(t, "LEFT_HAND_WORLD_LANDMARKS:left_hand_world_landmarks"), t0(t, "RIGHT_HAND_LANDMARKS:right_hand_landmarks"), t0(t, "RIGHT_HAND_WORLD_LANDMARKS:right_hand_world_landmarks"), t.o(e), ea(r, t), gf(this, r), this.g.attachProtoListener("pose_landmarks", (n, i) => {
24020
24020
  hA(n, this.h.poseLandmarks), gr(this, i);
24021
24021
  }), this.g.attachEmptyPacketListener("pose_landmarks", (n) => {
24022
24022
  gr(this, n);
@@ -24122,8 +24122,8 @@ var Ge = class extends Pe {
24122
24122
  Zr(this.h, 0, 1, r);
24123
24123
  }
24124
24124
  o(r) {
24125
- var e = this.h, a = i0(this.h, G3, 2);
24126
- return a = a ? a.clone() : new G3(), r.l2Normalize !== void 0 ? Io(a, 1, r.l2Normalize) : "l2Normalize" in r && k0(a, 1), r.quantize !== void 0 ? Io(a, 2, r.quantize) : "quantize" in r && k0(a, 2), Zr(e, 0, 2, a), this.l(r);
24125
+ var e = this.h, a = i0(this.h, Gb, 2);
24126
+ return a = a ? a.clone() : new Gb(), r.l2Normalize !== void 0 ? Io(a, 1, r.l2Normalize) : "l2Normalize" in r && k0(a, 1), r.quantize !== void 0 ? Io(a, 2, r.quantize) : "quantize" in r && k0(a, 2), Zr(e, 0, 2, a), this.l(r);
24127
24127
  }
24128
24128
  xa(r, e) {
24129
24129
  return da(this, r, e), this.embeddings;
@@ -24142,7 +24142,7 @@ var Ge = class extends Pe {
24142
24142
  return { embeddings: Rt(i, nS, 1).map((o) => {
24143
24143
  var s, f;
24144
24144
  const A = { headIndex: fa(o, 3) ?? 0 ?? -1, headName: ua(o, 4) ?? "" ?? "" };
24145
- if (Km(o, M3, i1(o, 1)) !== void 0) o = Fn(o = i0(o, M3, i1(o, 1)), 1, mn, Zn()), A.floatEmbedding = o.slice();
24145
+ if (Km(o, Mb, i1(o, 1)) !== void 0) o = Fn(o = i0(o, Mb, i1(o, 1)), 1, mn, Zn()), A.floatEmbedding = o.slice();
24146
24146
  else {
24147
24147
  const u = new Uint8Array(0);
24148
24148
  A.quantizedEmbedding = ((f = (s = i0(o, tS, i1(o, 2))) == null ? void 0 : s.ma()) == null ? void 0 : f.h()) ?? u;
@@ -24156,10 +24156,10 @@ var Ge = class extends Pe {
24156
24156
  }
24157
24157
  };
24158
24158
  Ge.cosineSimilarity = function(r, e) {
24159
- if (r.floatEmbedding && e.floatEmbedding) r = Y3(r.floatEmbedding, e.floatEmbedding);
24159
+ if (r.floatEmbedding && e.floatEmbedding) r = Yb(r.floatEmbedding, e.floatEmbedding);
24160
24160
  else {
24161
24161
  if (!r.quantizedEmbedding || !e.quantizedEmbedding) throw Error("Cannot compute cosine similarity between quantized and float embeddings.");
24162
- r = Y3(U3(r.quantizedEmbedding), U3(e.quantizedEmbedding));
24162
+ r = Yb(Ub(r.quantizedEmbedding), Ub(e.quantizedEmbedding));
24163
24163
  }
24164
24164
  return r;
24165
24165
  }, Ge.prototype.embedForVideo = Ge.prototype.ya, Ge.prototype.embed = Ge.prototype.xa, Ge.prototype.setOptions = Ge.prototype.o, Ge.createFromModelPath = function(r, e) {
@@ -24180,10 +24180,10 @@ var Ju = class {
24180
24180
  }), (e = this.categoryMask) == null || e.close();
24181
24181
  }
24182
24182
  };
24183
- function lb(r) {
24183
+ function l3(r) {
24184
24184
  r.categoryMask = void 0, r.confidenceMasks = void 0, r.qualityScores = void 0;
24185
24185
  }
24186
- function cb(r) {
24186
+ function c3(r) {
24187
24187
  try {
24188
24188
  const e = new Ju(r.confidenceMasks, r.categoryMask, r.qualityScores);
24189
24189
  if (!r.j) return e;
@@ -24218,11 +24218,11 @@ var Ie = class extends Pe {
24218
24218
  }
24219
24219
  segment(r, e, a) {
24220
24220
  const t = typeof e != "function" ? e : {};
24221
- return this.j = typeof e == "function" ? e : a, lb(this), da(this, r, t), cb(this);
24221
+ return this.j = typeof e == "function" ? e : a, l3(this), da(this, r, t), c3(this);
24222
24222
  }
24223
24223
  Ia(r, e, a, t) {
24224
24224
  const n = typeof a != "function" ? a : {};
24225
- return this.j = typeof a == "function" ? a : t, lb(this), At(this, r, n, e), cb(this);
24225
+ return this.j = typeof a == "function" ? a : t, l3(this), At(this, r, n, e), c3(this);
24226
24226
  }
24227
24227
  Ba() {
24228
24228
  return this.s;
@@ -24267,28 +24267,28 @@ var zu = class {
24267
24267
  }
24268
24268
  };
24269
24269
  zu.prototype.close = zu.prototype.close;
24270
- var CS = class extends wr {
24270
+ var CS = class extends kr {
24271
24271
  constructor(r) {
24272
24272
  super(r);
24273
24273
  }
24274
- }, bi = [0, O0, -2], hs = [0, bt, -3, x0, bt, -1], db = [0, hs], hb = [0, hs, O0, -1], l1 = class extends wr {
24274
+ }, bi = [0, O0, -2], hs = [0, bt, -3, x0, bt, -1], d3 = [0, hs], h3 = [0, hs, O0, -1], l1 = class extends kr {
24275
24275
  constructor(r) {
24276
24276
  super(r);
24277
24277
  }
24278
- }, bb = [0, bt, -1, x0], _S = class extends wr {
24278
+ }, b3 = [0, bt, -1, x0], _S = class extends kr {
24279
24279
  constructor(r) {
24280
24280
  super(r);
24281
24281
  }
24282
- }, mb = class extends wr {
24282
+ }, m3 = class extends kr {
24283
24283
  constructor(r) {
24284
24284
  super(r);
24285
24285
  }
24286
- }, Ku = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 14, 15], yg = class extends wr {
24286
+ }, Ku = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 14, 15], yg = class extends kr {
24287
24287
  constructor(r) {
24288
24288
  super(r);
24289
24289
  }
24290
24290
  };
24291
- yg.prototype.g = hf([0, q0, [0, Ku, h0, hs, h0, [0, hs, bi], h0, db, h0, [0, db, bi], h0, bb, h0, [0, bt, -3, x0, Qe], h0, [0, bt, -3, x0], h0, [0, b0, bt, -2, x0, O0, x0, -1, 2, bt, bi], h0, hb, h0, [0, hb, bi], bt, bi, b0, h0, [0, bt, -3, x0, bi, -1], h0, [0, q0, bb]], b0, [0, b0, O0, -1, x0]]);
24291
+ yg.prototype.g = hf([0, q0, [0, Ku, h0, hs, h0, [0, hs, bi], h0, d3, h0, [0, d3, bi], h0, b3, h0, [0, bt, -3, x0, Qe], h0, [0, bt, -3, x0], h0, [0, b0, bt, -2, x0, O0, x0, -1, 2, bt, bi], h0, h3, h0, [0, h3, bi], bt, bi, b0, h0, [0, bt, -3, x0, bi, -1], h0, [0, q0, b3]], b0, [0, b0, O0, -1, x0]]);
24292
24292
  var Xa = class extends Pe {
24293
24293
  constructor(r, e) {
24294
24294
  super(new ca(r, e), "image_in", "norm_rect_in", !1), this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new jc(), this.s = new eg(), Zr(this.h, 0, 3, this.s), Zr(r = this.h, 0, 1, e = new Z0());
@@ -24305,7 +24305,7 @@ var Xa = class extends Pe {
24305
24305
  segment(r, e, a, t) {
24306
24306
  const n = typeof a != "function" ? a : {};
24307
24307
  this.j = typeof a == "function" ? a : t, this.qualityScores = this.categoryMask = this.confidenceMasks = void 0, a = this.B + 1, t = new yg();
24308
- const i = new mb();
24308
+ const i = new m3();
24309
24309
  var o = new CS();
24310
24310
  if (nt(o, 1, 255), Zr(i, 0, 12, o), e.keypoint && e.scribble) throw Error("Cannot provide both keypoint and scribble.");
24311
24311
  if (e.keypoint) {
@@ -24316,7 +24316,7 @@ var Xa = class extends Pe {
24316
24316
  for (A of (o = new _S(), e.scribble)) Io(e = new l1(), 3, !0), _r(e, 1, A.x), _r(e, 2, A.y), us(o, 1, l1, e);
24317
24317
  z2(i, 15, Ku, o);
24318
24318
  }
24319
- us(t, 1, mb, i), this.g.addProtoToStream(t.g(), "drishti.RenderData", "roi_in", a), da(this, r, n);
24319
+ us(t, 1, m3, i), this.g.addProtoToStream(t.g(), "drishti.RenderData", "roi_in", a), da(this, r, n);
24320
24320
  r: {
24321
24321
  try {
24322
24322
  const f = new zu(this.confidenceMasks, this.categoryMask, this.qualityScores);
@@ -24411,10 +24411,10 @@ var qu = class {
24411
24411
  });
24412
24412
  }
24413
24413
  };
24414
- function vb(r) {
24414
+ function v3(r) {
24415
24415
  r.landmarks = [], r.worldLandmarks = [], r.segmentationMasks = void 0;
24416
24416
  }
24417
- function gb(r) {
24417
+ function g3(r) {
24418
24418
  try {
24419
24419
  const e = new qu(r.landmarks, r.worldLandmarks, r.segmentationMasks);
24420
24420
  if (!r.s) return e;
@@ -24439,11 +24439,11 @@ var Xe = class extends Pe {
24439
24439
  }
24440
24440
  D(r, e, a) {
24441
24441
  const t = typeof e != "function" ? e : {};
24442
- return this.s = typeof e == "function" ? e : a, vb(this), da(this, r, t), gb(this);
24442
+ return this.s = typeof e == "function" ? e : a, v3(this), da(this, r, t), g3(this);
24443
24443
  }
24444
24444
  F(r, e, a, t) {
24445
24445
  const n = typeof a != "function" ? a : {};
24446
- return this.s = typeof a == "function" ? a : t, vb(this), At(this, r, n, e), gb(this);
24446
+ return this.s = typeof a == "function" ? a : t, v3(this), At(this, r, n, e), g3(this);
24447
24447
  }
24448
24448
  m() {
24449
24449
  var r = new Oe();
@@ -24577,8 +24577,11 @@ const Vt = new IS(), BS = (r, e, a, t, n, i, o, A) => {
24577
24577
  if (K <= 0 || W <= 0) return null;
24578
24578
  const nr = document.createElement("canvas");
24579
24579
  nr.width = K, nr.height = W;
24580
- const kr = nr.getContext("2d");
24581
- return kr && (kr.filter = "contrast(1.1) brightness(1.02)", kr.drawImage(T, S, H, er, Q, 0, 0, K, W)), nr;
24580
+ const pr = nr.getContext("2d", {
24581
+ willReadFrequently: !1,
24582
+ colorSpace: "srgb"
24583
+ });
24584
+ return pr && (pr.imageSmoothingEnabled = !0, pr.imageSmoothingQuality = "high", r === "selfie" ? pr.filter = "contrast(1.1) brightness(1.02)" : pr.filter = "contrast(1.15) brightness(1.05) saturate(1.05)", pr.drawImage(T, S, H, er, Q, 0, 0, K, W)), nr;
24582
24585
  } else {
24583
24586
  let m, y, p = 0, w = 0;
24584
24587
  L > $ ? (m = J.width, y = J.width / L, w = (J.height - y) / 2) : (y = J.height, m = J.height * L, p = (J.width - m) / 2);
@@ -24589,12 +24592,15 @@ const Vt = new IS(), BS = (r, e, a, t, n, i, o, A) => {
24589
24592
  const M = K * 0.2, Y = W * 0.2;
24590
24593
  er = Math.max(0, er - M / 2), Q = Math.max(0, Q - Y / 2), K = Math.min(T.videoWidth - er, K + M), W = Math.min(T.videoHeight - Q, W + Y);
24591
24594
  }
24592
- const nr = Math.max(0, Math.round(er)), kr = Math.max(0, Math.round(Q)), Ir = Math.min(T.videoWidth - nr, Math.round(K)), Br = Math.min(T.videoHeight - kr, Math.round(W)), yr = Ir, Dr = Br;
24593
- if (yr <= 0 || Dr <= 0) return null;
24595
+ const nr = Math.max(0, Math.round(er)), pr = Math.max(0, Math.round(Q)), Ir = Math.min(T.videoWidth - nr, Math.round(K)), Br = Math.min(T.videoHeight - pr, Math.round(W)), wr = Ir, Dr = Br;
24596
+ if (wr <= 0 || Dr <= 0) return null;
24594
24597
  const Mr = document.createElement("canvas");
24595
- Mr.width = yr, Mr.height = Dr;
24596
- const Z = Mr.getContext("2d");
24597
- return Z && (Z.filter = "contrast(1.1) brightness(1.02)", Z.drawImage(T, nr, kr, Ir, Br, 0, 0, yr, Dr)), Mr;
24598
+ Mr.width = wr, Mr.height = Dr;
24599
+ const Z = Mr.getContext("2d", {
24600
+ willReadFrequently: !1,
24601
+ colorSpace: "srgb"
24602
+ });
24603
+ return Z && (Z.imageSmoothingEnabled = !0, Z.imageSmoothingQuality = "high", r === "selfie" ? Z.filter = "contrast(1.1) brightness(1.02)" : Z.filter = "contrast(1.15) brightness(1.05) saturate(1.05)", Z.drawImage(T, nr, pr, Ir, Br, 0, 0, wr, Dr)), Mr;
24598
24604
  }
24599
24605
  }, [h, a, r, A]), j = j0(() => {
24600
24606
  const T = a.current;
@@ -24606,8 +24612,8 @@ const Vt = new IS(), BS = (r, e, a, t, n, i, o, A) => {
24606
24612
  const R = T.videoWidth / y;
24607
24613
  let B = (h.x + w) * R, F = (h.y + N) * R, O = h.w * R, S = h.h * R;
24608
24614
  if (r === "selfie") {
24609
- const kr = O * 0.2, Ir = S * 0.2;
24610
- B = Math.max(0, B - kr / 2), F = Math.max(0, F - Ir / 2), O = Math.min(T.videoWidth - B, O + kr), S = Math.min(T.videoHeight - F, S + Ir);
24615
+ const pr = O * 0.2, Ir = S * 0.2;
24616
+ B = Math.max(0, B - pr / 2), F = Math.max(0, F - Ir / 2), O = Math.min(T.videoWidth - B, O + pr), S = Math.min(T.videoHeight - F, S + Ir);
24611
24617
  }
24612
24618
  const er = Math.min(1, 640 / Math.max(O, S)), Q = Math.max(m, Math.round(O * er)), K = Math.max(m, Math.round(S * er)), W = document.createElement("canvas");
24613
24619
  W.width = Q, W.height = K;
@@ -24625,10 +24631,10 @@ const Vt = new IS(), BS = (r, e, a, t, n, i, o, A) => {
24625
24631
  }
24626
24632
  if (W < m || nr < m)
24627
24633
  return null;
24628
- const Ir = Math.min(1, 640 / Math.max(W, nr)), Br = Math.max(m, Math.round(W * Ir)), yr = Math.max(m, Math.round(nr * Ir)), Dr = document.createElement("canvas");
24629
- Dr.width = Br, Dr.height = yr;
24634
+ const Ir = Math.min(1, 640 / Math.max(W, nr)), Br = Math.max(m, Math.round(W * Ir)), wr = Math.max(m, Math.round(nr * Ir)), Dr = document.createElement("canvas");
24635
+ Dr.width = Br, Dr.height = wr;
24630
24636
  const Mr = Dr.getContext("2d");
24631
- return Mr && (Mr.imageSmoothingEnabled = !0, Mr.imageSmoothingQuality = "high", Mr.drawImage(T, Q, K, W, nr, 0, 0, Br, yr)), Dr;
24637
+ return Mr && (Mr.imageSmoothingEnabled = !0, Mr.imageSmoothingQuality = "high", Mr.drawImage(T, Q, K, W, nr, 0, 0, Br, wr)), Dr;
24632
24638
  }
24633
24639
  }, [h, a, r, A]), ar = j0(async () => {
24634
24640
  if (x.current || D.current > 0) return;
@@ -24674,8 +24680,14 @@ const Vt = new IS(), BS = (r, e, a, t, n, i, o, A) => {
24674
24680
  width: { ideal: T ? 1920 : 3840 },
24675
24681
  height: { ideal: T ? 1080 : 2160 },
24676
24682
  aspectRatio: 16 / 9,
24677
- ...T ? {} : {
24678
- focusMode: "continuous"
24683
+ ...T ? {
24684
+ whiteBalanceMode: "continuous",
24685
+ exposureMode: "continuous"
24686
+ } : {
24687
+ focusMode: "continuous",
24688
+ whiteBalanceMode: "continuous",
24689
+ exposureMode: "continuous",
24690
+ exposureCompensation: { min: -2, max: 2, step: 0.1 }
24679
24691
  }
24680
24692
  }
24681
24693
  });
@@ -25024,7 +25036,7 @@ const xS = {
25024
25036
  }
25025
25037
  ) })
25026
25038
  ] }) });
25027
- function pb(r, [e, a]) {
25039
+ function p3(r, [e, a]) {
25028
25040
  return Math.min(a, Math.max(e, r));
25029
25041
  }
25030
25042
  var RS = C.createContext(void 0);
@@ -25036,16 +25048,16 @@ var d1 = 0;
25036
25048
  function kg() {
25037
25049
  C.useEffect(() => {
25038
25050
  const r = document.querySelectorAll("[data-radix-focus-guard]");
25039
- return document.body.insertAdjacentElement("afterbegin", r[0] ?? yb()), document.body.insertAdjacentElement("beforeend", r[1] ?? yb()), d1++, () => {
25051
+ return document.body.insertAdjacentElement("afterbegin", r[0] ?? y3()), document.body.insertAdjacentElement("beforeend", r[1] ?? y3()), d1++, () => {
25040
25052
  d1 === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), d1--;
25041
25053
  };
25042
25054
  }, []);
25043
25055
  }
25044
- function yb() {
25056
+ function y3() {
25045
25057
  const r = document.createElement("span");
25046
25058
  return r.setAttribute("data-radix-focus-guard", ""), r.tabIndex = 0, r.style.outline = "none", r.style.opacity = "0", r.style.position = "fixed", r.style.pointerEvents = "none", r;
25047
25059
  }
25048
- var h1 = "focusScope.autoFocusOnMount", b1 = "focusScope.autoFocusOnUnmount", wb = { bubbles: !1, cancelable: !0 }, FS = "FocusScope", nd = C.forwardRef((r, e) => {
25060
+ var h1 = "focusScope.autoFocusOnMount", b1 = "focusScope.autoFocusOnUnmount", w3 = { bubbles: !1, cancelable: !0 }, FS = "FocusScope", nd = C.forwardRef((r, e) => {
25049
25061
  const {
25050
25062
  loop: a = !1,
25051
25063
  trapped: t = !1,
@@ -25084,16 +25096,16 @@ var h1 = "focusScope.autoFocusOnMount", b1 = "focusScope.autoFocusOnUnmount", wb
25084
25096
  }
25085
25097
  }, [t, A, d.paused]), C.useEffect(() => {
25086
25098
  if (A) {
25087
- Eb.add(d);
25099
+ E3.add(d);
25088
25100
  const b = document.activeElement;
25089
25101
  if (!A.contains(b)) {
25090
- const _ = new CustomEvent(h1, wb);
25102
+ const _ = new CustomEvent(h1, w3);
25091
25103
  A.addEventListener(h1, f), A.dispatchEvent(_), _.defaultPrevented || (SS(OS(Eg(A)), { select: !0 }), document.activeElement === b && Gt(A));
25092
25104
  }
25093
25105
  return () => {
25094
25106
  A.removeEventListener(h1, f), setTimeout(() => {
25095
- const _ = new CustomEvent(b1, wb);
25096
- A.addEventListener(b1, u), A.dispatchEvent(_), _.defaultPrevented || Gt(b ?? document.body, { select: !0 }), A.removeEventListener(b1, u), Eb.remove(d);
25107
+ const _ = new CustomEvent(b1, w3);
25108
+ A.addEventListener(b1, u), A.dispatchEvent(_), _.defaultPrevented || Gt(b ?? document.body, { select: !0 }), A.removeEventListener(b1, u), E3.remove(d);
25097
25109
  }, 0);
25098
25110
  };
25099
25111
  }
@@ -25118,7 +25130,7 @@ function SS(r, { select: e = !1 } = {}) {
25118
25130
  if (Gt(t, { select: e }), document.activeElement !== a) return;
25119
25131
  }
25120
25132
  function WS(r) {
25121
- const e = Eg(r), a = kb(e, r), t = kb(e.reverse(), r);
25133
+ const e = Eg(r), a = k3(e, r), t = k3(e.reverse(), r);
25122
25134
  return [a, t];
25123
25135
  }
25124
25136
  function Eg(r) {
@@ -25131,7 +25143,7 @@ function Eg(r) {
25131
25143
  for (; a.nextNode(); ) e.push(a.currentNode);
25132
25144
  return e;
25133
25145
  }
25134
- function kb(r, e) {
25146
+ function k3(r, e) {
25135
25147
  for (const a of r)
25136
25148
  if (!TS(a, { upTo: e })) return a;
25137
25149
  }
@@ -25153,21 +25165,21 @@ function Gt(r, { select: e = !1 } = {}) {
25153
25165
  r.focus({ preventScroll: !0 }), r !== a && $S(r) && e && r.select();
25154
25166
  }
25155
25167
  }
25156
- var Eb = PS();
25168
+ var E3 = PS();
25157
25169
  function PS() {
25158
25170
  let r = [];
25159
25171
  return {
25160
25172
  add(e) {
25161
25173
  const a = r[0];
25162
- e !== a && (a == null || a.pause()), r = Cb(r, e), r.unshift(e);
25174
+ e !== a && (a == null || a.pause()), r = C3(r, e), r.unshift(e);
25163
25175
  },
25164
25176
  remove(e) {
25165
25177
  var a;
25166
- r = Cb(r, e), (a = r[0]) == null || a.resume();
25178
+ r = C3(r, e), (a = r[0]) == null || a.resume();
25167
25179
  }
25168
25180
  };
25169
25181
  }
25170
- function Cb(r, e) {
25182
+ function C3(r, e) {
25171
25183
  const a = [...r], t = a.indexOf(e);
25172
25184
  return t !== -1 && a.splice(t, 1), a;
25173
25185
  }
@@ -25273,7 +25285,7 @@ function US(r, e) {
25273
25285
  })[0];
25274
25286
  return a.callback = e, a.facade;
25275
25287
  }
25276
- var YS = typeof window < "u" ? C.useLayoutEffect : C.useEffect, _b = /* @__PURE__ */ new WeakMap();
25288
+ var YS = typeof window < "u" ? C.useLayoutEffect : C.useEffect, _3 = /* @__PURE__ */ new WeakMap();
25277
25289
  function HS(r, e) {
25278
25290
  var a = US(null, function(t) {
25279
25291
  return r.forEach(function(n) {
@@ -25281,7 +25293,7 @@ function HS(r, e) {
25281
25293
  });
25282
25294
  });
25283
25295
  return YS(function() {
25284
- var t = _b.get(a);
25296
+ var t = _3.get(a);
25285
25297
  if (t) {
25286
25298
  var n = new Set(t), i = new Set(r), o = a.current;
25287
25299
  n.forEach(function(A) {
@@ -25290,7 +25302,7 @@ function HS(r, e) {
25290
25302
  n.has(A) || v1(A, o);
25291
25303
  });
25292
25304
  }
25293
- _b.set(a, r);
25305
+ _3.set(a, r);
25294
25306
  }, [r]), a;
25295
25307
  }
25296
25308
  function QS(r) {
@@ -25500,13 +25512,13 @@ var tW = function() {
25500
25512
  `).concat(LS, ": ").concat(A, `px;
25501
25513
  }
25502
25514
  `);
25503
- }, Ib = function() {
25515
+ }, I3 = function() {
25504
25516
  var r = parseInt(document.body.getAttribute(Fi) || "0", 10);
25505
25517
  return isFinite(r) ? r : 0;
25506
25518
  }, uW = function() {
25507
25519
  C.useEffect(function() {
25508
- return document.body.setAttribute(Fi, (Ib() + 1).toString()), function() {
25509
- var r = Ib() - 1;
25520
+ return document.body.setAttribute(Fi, (I3() + 1).toString()), function() {
25521
+ var r = I3() - 1;
25510
25522
  r <= 0 ? document.body.removeAttribute(Fi) : document.body.setAttribute(Fi, r.toString());
25511
25523
  };
25512
25524
  }, []);
@@ -25544,7 +25556,7 @@ var vi = rl ? { passive: !1 } : !1, cW = function(r) {
25544
25556
  return Rg(r, "overflowY");
25545
25557
  }, hW = function(r) {
25546
25558
  return Rg(r, "overflowX");
25547
- }, Bb = function(r, e) {
25559
+ }, B3 = function(r, e) {
25548
25560
  var a = e.ownerDocument, t = e;
25549
25561
  do {
25550
25562
  typeof ShadowRoot < "u" && t instanceof ShadowRoot && (t = t.host);
@@ -25594,9 +25606,9 @@ var vi = rl ? { passive: !1 } : !1, cW = function(r) {
25594
25606
  return (u && Math.abs(c) < 1 || !u && Math.abs(h) < 1) && (f = !0), f;
25595
25607
  }, gA = function(r) {
25596
25608
  return "changedTouches" in r ? [r.changedTouches[0].clientX, r.changedTouches[0].clientY] : [0, 0];
25597
- }, Nb = function(r) {
25609
+ }, N3 = function(r) {
25598
25610
  return [r.deltaX, r.deltaY];
25599
- }, xb = function(r) {
25611
+ }, x3 = function(r) {
25600
25612
  return r && "current" in r ? r.current : r;
25601
25613
  }, pW = function(r, e) {
25602
25614
  return r[0] === e[0] && r[1] === e[1];
@@ -25613,7 +25625,7 @@ function kW(r) {
25613
25625
  }, [r]), C.useEffect(function() {
25614
25626
  if (r.inert) {
25615
25627
  document.body.classList.add("block-interactivity-".concat(n));
25616
- var b = XS([r.lockRef.current], (r.shards || []).map(xb), !0).filter(Boolean);
25628
+ var b = XS([r.lockRef.current], (r.shards || []).map(x3), !0).filter(Boolean);
25617
25629
  return b.forEach(function(v) {
25618
25630
  return v.classList.add("allow-interactivity-".concat(n));
25619
25631
  }), function() {
@@ -25629,10 +25641,10 @@ function kW(r) {
25629
25641
  var _ = gA(b), E = a.current, I = "deltaX" in b ? b.deltaX : E[0] - _[0], x = "deltaY" in b ? b.deltaY : E[1] - _[1], k, V = b.target, D = Math.abs(I) > Math.abs(x) ? "h" : "v";
25630
25642
  if ("touches" in b && D === "h" && V.type === "range")
25631
25643
  return !1;
25632
- var q = Bb(D, V);
25644
+ var q = B3(D, V);
25633
25645
  if (!q)
25634
25646
  return !0;
25635
- if (q ? k = D : (k = D === "v" ? "h" : "v", q = Bb(D, V)), !q)
25647
+ if (q ? k = D : (k = D === "v" ? "h" : "v", q = B3(D, V)), !q)
25636
25648
  return !1;
25637
25649
  if (!t.current && "changedTouches" in b && (I || x) && (t.current = k), !k)
25638
25650
  return !0;
@@ -25641,7 +25653,7 @@ function kW(r) {
25641
25653
  }, []), s = C.useCallback(function(b) {
25642
25654
  var v = b;
25643
25655
  if (!(!gi.length || gi[gi.length - 1] !== i)) {
25644
- var _ = "deltaY" in v ? Nb(v) : gA(v), E = e.current.filter(function(k) {
25656
+ var _ = "deltaY" in v ? N3(v) : gA(v), E = e.current.filter(function(k) {
25645
25657
  return k.name === v.type && (k.target === v.target || v.target === k.shadowParent) && pW(k.delta, _);
25646
25658
  })[0];
25647
25659
  if (E && E.should) {
@@ -25649,7 +25661,7 @@ function kW(r) {
25649
25661
  return;
25650
25662
  }
25651
25663
  if (!E) {
25652
- var I = (o.current.shards || []).map(xb).filter(Boolean).filter(function(k) {
25664
+ var I = (o.current.shards || []).map(x3).filter(Boolean).filter(function(k) {
25653
25665
  return k.contains(v.target);
25654
25666
  }), x = I.length > 0 ? A(v, I[0]) : !o.current.noIsolation;
25655
25667
  x && v.cancelable && v.preventDefault();
@@ -25665,7 +25677,7 @@ function kW(r) {
25665
25677
  }, []), u = C.useCallback(function(b) {
25666
25678
  a.current = gA(b), t.current = void 0;
25667
25679
  }, []), c = C.useCallback(function(b) {
25668
- f(b.type, Nb(b), b.target, A(b, r.lockRef.current));
25680
+ f(b.type, N3(b), b.target, A(b, r.lockRef.current));
25669
25681
  }, []), h = C.useCallback(function(b) {
25670
25682
  f(b.type, gA(b), b.target, A(b, r.lockRef.current));
25671
25683
  }, []);
@@ -26050,7 +26062,7 @@ var TW = "SelectItemAlignedPosition", Xg = C.forwardRef((r, e) => {
26050
26062
  if (i.trigger && i.valueNode && A && f && b && v && _) {
26051
26063
  const D = i.trigger.getBoundingClientRect(), q = f.getBoundingClientRect(), tr = i.valueNode.getBoundingClientRect(), j = _.getBoundingClientRect();
26052
26064
  if (i.dir !== "rtl") {
26053
- const K = j.left - q.left, W = tr.left - K, nr = D.left - W, kr = D.width + nr, Ir = Math.max(kr, q.width), Br = window.innerWidth - pa, yr = pb(W, [
26065
+ const K = j.left - q.left, W = tr.left - K, nr = D.left - W, pr = D.width + nr, Ir = Math.max(pr, q.width), Br = window.innerWidth - pa, wr = p3(W, [
26054
26066
  pa,
26055
26067
  // Prevents the content from going off the starting edge of the
26056
26068
  // viewport. It may still go off the ending edge, but this can be
@@ -26059,13 +26071,13 @@ var TW = "SelectItemAlignedPosition", Xg = C.forwardRef((r, e) => {
26059
26071
  // https://github.com/radix-ui/primitives/issues/2049
26060
26072
  Math.max(pa, Br - Ir)
26061
26073
  ]);
26062
- A.style.minWidth = kr + "px", A.style.left = yr + "px";
26074
+ A.style.minWidth = pr + "px", A.style.left = wr + "px";
26063
26075
  } else {
26064
- const K = q.right - j.right, W = window.innerWidth - tr.right - K, nr = window.innerWidth - D.right - W, kr = D.width + nr, Ir = Math.max(kr, q.width), Br = window.innerWidth - pa, yr = pb(W, [
26076
+ const K = q.right - j.right, W = window.innerWidth - tr.right - K, nr = window.innerWidth - D.right - W, pr = D.width + nr, Ir = Math.max(pr, q.width), Br = window.innerWidth - pa, wr = p3(W, [
26065
26077
  pa,
26066
26078
  Math.max(pa, Br - Ir)
26067
26079
  ]);
26068
- A.style.minWidth = kr + "px", A.style.right = yr + "px";
26080
+ A.style.minWidth = pr + "px", A.style.right = wr + "px";
26069
26081
  }
26070
26082
  const ar = h(), U = window.innerHeight - pa * 2, rr = b.scrollHeight, T = window.getComputedStyle(f), J = parseInt(T.borderTopWidth, 10), L = parseInt(T.paddingTop, 10), $ = parseInt(T.borderBottomWidth, 10), m = parseInt(T.paddingBottom, 10), y = J + L + rr + m + $, p = Math.min(v.offsetHeight * 5, y), w = window.getComputedStyle(b), N = parseInt(w.paddingTop, 10), R = parseInt(w.paddingBottom, 10), B = D.top + D.height / 2 - pa, F = U - B, O = v.offsetHeight / 2, S = v.offsetTop + O, H = J + L + S, er = y - H;
26071
26083
  if (H <= B) {
@@ -26075,8 +26087,8 @@ var TW = "SelectItemAlignedPosition", Xg = C.forwardRef((r, e) => {
26075
26087
  F,
26076
26088
  O + // viewport might have padding bottom, include it to avoid a scrollable viewport
26077
26089
  (K ? R : 0) + W + $
26078
- ), kr = H + nr;
26079
- A.style.height = kr + "px";
26090
+ ), pr = H + nr;
26091
+ A.style.height = pr + "px";
26080
26092
  } else {
26081
26093
  const K = ar.length > 0 && v === ar[0].ref.current;
26082
26094
  A.style.top = "0px";
@@ -26827,7 +26839,7 @@ const Si = ({ value: r, onValueChange: e, options: a, placeholder: t, name: n })
26827
26839
  /* @__PURE__ */ l("div", { className: "w-full flex justify-center items-center h-24", children: /* @__PURE__ */ l(_n, { className: "w-12 h-12 text-primary animate-spin" }) }),
26828
26840
  /* @__PURE__ */ l("h1", { className: "text-2xl font-bold text-foreground mb-3", children: "Loading..." }),
26829
26841
  /* @__PURE__ */ l("p", { className: "text-muted-foreground mb-3", children: "Preparing your KYB flow" })
26830
- ] }) }), Rb = {
26842
+ ] }) }), R3 = {
26831
26843
  id: "national_id",
26832
26844
  license: "drivers_license",
26833
26845
  passport: "passport",
@@ -26957,7 +26969,7 @@ const Si = ({ value: r, onValueChange: e, options: a, placeholder: t, name: n })
26957
26969
  selectedDocumentType: E,
26958
26970
  onDocumentTypeChange: async (j) => {
26959
26971
  I(j);
26960
- const ar = Rb[j];
26972
+ const ar = R3[j];
26961
26973
  await le(
26962
26974
  "personal_details",
26963
26975
  { document_type: ar, id_photo: null, id_photo_back: null },
@@ -26981,7 +26993,7 @@ const Si = ({ value: r, onValueChange: e, options: a, placeholder: t, name: n })
26981
26993
  currentStep: h,
26982
26994
  onRetake: () => _((j) => ({ ...j, id_photo: null })),
26983
26995
  onConfirm: async (j) => {
26984
- const ar = Rb[E];
26996
+ const ar = R3[E];
26985
26997
  _((rr) => ({ ...rr, id_photo: j, document_type: ar })), await le(
26986
26998
  "personal_details",
26987
26999
  { document_type: ar },
@@ -27098,7 +27110,7 @@ const Si = ({ value: r, onValueChange: e, options: a, placeholder: t, name: n })
27098
27110
  }
27099
27111
  })() });
27100
27112
  };
27101
- function Zb(...r) {
27113
+ function Z3(...r) {
27102
27114
  return X6(bl(r));
27103
27115
  }
27104
27116
  const sl = (r) => {
@@ -27185,7 +27197,7 @@ var gp = { exports: {} };
27185
27197
  var Fr, sr, Nr, cr, Er, dr, vr, Hr, zr, l0, ba, S0, _e, xd;
27186
27198
  for (Dr > Q && (K = 1), H = 30 + (K - 1) / 3, S0 = er, _e = 0, xd = Q, ba = Q / (3 * K), l0 = ba / M | 0, Hr = he, dr = B0, vr = dr >> F0, 1 >= vr && (vr = 0), Fr = 0; vr > Fr; Fr++)
27187
27199
  ft[Fr] = Hr * ((vr * vr - Fr * Fr) * Ce / (vr * vr));
27188
- for (zr = Dr > Q ? 3 : Q % kr !== 0 ? 3 * kr : Q % Ir !== 0 ? 3 * Ir : Q % Br !== 0 ? 3 * Br : 3 * yr, Fr = 0; ba > Fr; )
27200
+ for (zr = Dr > Q ? 3 : Q % pr !== 0 ? 3 * pr : Q % Ir !== 0 ? 3 * Ir : Q % Br !== 0 ? 3 * Br : 3 * wr, Fr = 0; ba > Fr; )
27189
27201
  if (Nr = (255 & S0[_e + 0]) << Z, cr = (255 & S0[_e + 1]) << Z, Er = (255 & S0[_e + 2]) << Z, sr = S(Nr, cr, Er), O(Hr, sr, Nr, cr, Er), vr !== 0 && F(vr, sr, Nr, cr, Er), _e += zr, _e >= xd && (_e -= Q), Fr++, l0 === 0 && (l0 = 1), Fr % l0 === 0)
27190
27202
  for (Hr -= Hr / H, dr -= dr / aa, vr = dr >> F0, 1 >= vr && (vr = 0), sr = 0; vr > sr; sr++)
27191
27203
  ft[sr] = Hr * ((vr * vr - sr * sr) * Ce / (vr * vr));
@@ -27233,7 +27245,7 @@ var gp = { exports: {} };
27233
27245
  _e = W[cr], Er = _e[0] - Fr, 0 > Er && (Er = -Er), dr = _e[1] - sr, 0 > dr && (dr = -dr), Er += dr, dr = _e[2] - Nr, 0 > dr && (dr = -dr), Er += dr, ba > Er && (ba = Er, zr = cr), vr = Er - (ha[cr] >> Y - Z), S0 > vr && (S0 = vr, l0 = cr), Hr = Oa[cr] >> ir, Oa[cr] -= Hr, ha[cr] += Hr << Ar;
27234
27246
  return Oa[zr] += lr, ha[zr] -= Tr, l0;
27235
27247
  }
27236
- var H, er, Q, K, W, nr = 256, kr = 499, Ir = 491, Br = 487, yr = 503, Dr = 3 * yr, Mr = nr - 1, Z = 4, M = 100, Y = 16, or = 1 << Y, Ar = 10, ir = 10, lr = or >> ir, Tr = or << Ar - ir, Qr = nr >> 3, F0 = 6, oe = 1 << F0, B0 = Qr * oe, aa = 30, Ve = 10, he = 1 << Ve, st = 8, Ce = 1 << st, wn = Ve + st, be = 1 << wn, ta = [], ha = [], Oa = [], ft = [];
27248
+ var H, er, Q, K, W, nr = 256, pr = 499, Ir = 491, Br = 487, wr = 503, Dr = 3 * wr, Mr = nr - 1, Z = 4, M = 100, Y = 16, or = 1 << Y, Ar = 10, ir = 10, lr = or >> ir, Tr = or << Ar - ir, Qr = nr >> 3, F0 = 6, oe = 1 << F0, B0 = Qr * oe, aa = 30, Ve = 10, he = 1 << Ve, st = 8, Ce = 1 << st, wn = Ve + st, be = 1 << wn, ta = [], ha = [], Oa = [], ft = [];
27237
27249
  m.apply(this, arguments);
27238
27250
  var ue = {};
27239
27251
  return ue.map = N, ue.process = R, ue;
@@ -27260,8 +27272,8 @@ var gp = { exports: {} };
27260
27272
  return w;
27261
27273
  }, processFrameWithQuantizer: function(p, w, N, R) {
27262
27274
  for (var B = this.dataToRGB(p, w, N), F = new u(B, B.length, R), O = F.process(), S = new Uint32Array(this.componentizedPaletteToArray(O)), H = w * N, er = new Uint8Array(H), Q = 0, K = 0; H > K; K++) {
27263
- var W = B[Q++], nr = B[Q++], kr = B[Q++];
27264
- er[K] = F.map(W, nr, kr);
27275
+ var W = B[Q++], nr = B[Q++], pr = B[Q++];
27276
+ er[K] = F.map(W, nr, pr);
27265
27277
  }
27266
27278
  return { pixels: er, palette: S };
27267
27279
  }, run: function(p) {
@@ -27279,26 +27291,26 @@ var gp = { exports: {} };
27279
27291
  return K;
27280
27292
  }
27281
27293
  function R(Q, K, W, nr) {
27282
- function kr(B0) {
27294
+ function pr(B0) {
27283
27295
  for (; Y >= B0; )
27284
27296
  Q[K++] = 255 & or, or >>= 8, Y -= 8, K === Br + 256 && (Q[Br] = 255, Br = K++);
27285
27297
  }
27286
27298
  function Ir(B0) {
27287
- or |= B0 << Y, Y += M, kr(8);
27299
+ or |= B0 << Y, Y += M, pr(8);
27288
27300
  }
27289
27301
  Q[K++] = W;
27290
- var Br = K++, yr = 1 << W, Dr = yr - 1, Mr = yr + 1, Z = Mr + 1, M = W + 1, Y = 0, or = 0, Ar = nr[0] & Dr, ir = {};
27291
- Ir(yr);
27302
+ var Br = K++, wr = 1 << W, Dr = wr - 1, Mr = wr + 1, Z = Mr + 1, M = W + 1, Y = 0, or = 0, Ar = nr[0] & Dr, ir = {};
27303
+ Ir(wr);
27292
27304
  for (var lr = 1, Tr = nr.length; Tr > lr; ++lr) {
27293
27305
  var Qr = nr[lr] & Dr, F0 = Ar << 8 | Qr, oe = ir[F0];
27294
27306
  if (oe === i) {
27295
27307
  for (or |= Ar << Y, Y += M; Y >= 8; )
27296
27308
  Q[K++] = 255 & or, or >>= 8, Y -= 8, K === Br + 256 && (Q[Br] = 255, Br = K++);
27297
- Z === 4096 ? (Ir(yr), Z = Mr + 1, M = W + 1, ir = {}) : (Z >= 1 << M && ++M, ir[F0] = Z++), Ar = Qr;
27309
+ Z === 4096 ? (Ir(wr), Z = Mr + 1, M = W + 1, ir = {}) : (Z >= 1 << M && ++M, ir[F0] = Z++), Ar = Qr;
27298
27310
  } else
27299
27311
  Ar = oe;
27300
27312
  }
27301
- return Ir(Ar), Ir(Mr), kr(1), Br + 1 === K ? Q[Br] = 0 : (Q[Br] = K - Br - 1, Q[K++] = 0), K;
27313
+ return Ir(Ar), Ir(Mr), pr(1), Br + 1 === K ? Q[Br] = 0 : (Q[Br] = K - Br - 1, Q[K++] = 0), K;
27302
27314
  }
27303
27315
  var B = 0;
27304
27316
  w = w === i ? {} : w;
@@ -27313,17 +27325,17 @@ var gp = { exports: {} };
27313
27325
  m[B++] = 33, m[B++] = 255, m[B++] = 11, m[B++] = 78, m[B++] = 69, m[B++] = 84, m[B++] = 83, m[B++] = 67, m[B++] = 65, m[B++] = 80, m[B++] = 69, m[B++] = 50, m[B++] = 46, m[B++] = 48, m[B++] = 3, m[B++] = 1, m[B++] = 255 & F, m[B++] = F >> 8 & 255, m[B++] = 0;
27314
27326
  }
27315
27327
  var er = !1;
27316
- this.addFrame = function(Q, K, W, nr, kr, Ir) {
27328
+ this.addFrame = function(Q, K, W, nr, pr, Ir) {
27317
27329
  if (er === !0 && (--B, er = !1), Ir = Ir === i ? {} : Ir, 0 > Q || 0 > K || Q > 65535 || K > 65535)
27318
27330
  throw "x/y invalid.";
27319
27331
  if (0 >= W || 0 >= nr || W > 65535 || nr > 65535)
27320
27332
  throw "Width/Height invalid.";
27321
- if (kr.length < W * nr)
27333
+ if (pr.length < W * nr)
27322
27334
  throw "Not enough pixels for the frame size.";
27323
- var Br = !0, yr = Ir.palette;
27324
- if ((yr === i || yr === null) && (Br = !1, yr = O), yr === i || yr === null)
27335
+ var Br = !0, wr = Ir.palette;
27336
+ if ((wr === i || wr === null) && (Br = !1, wr = O), wr === i || wr === null)
27325
27337
  throw "Must supply either a local or global palette.";
27326
- for (var Dr = N(yr), Mr = 0; Dr >>= 1; )
27338
+ for (var Dr = N(wr), Mr = 0; Dr >>= 1; )
27327
27339
  ++Mr;
27328
27340
  Dr = 1 << Mr;
27329
27341
  var Z = Ir.delay === i ? 0 : Ir.delay, M = Ir.disposal === i ? 0 : Ir.disposal;
@@ -27333,11 +27345,11 @@ var gp = { exports: {} };
27333
27345
  if (Ir.transparent !== i && Ir.transparent !== null && (Y = !0, or = Ir.transparent, 0 > or || or >= Dr))
27334
27346
  throw "Transparent color index.";
27335
27347
  if ((M !== 0 || Y || Z !== 0) && (m[B++] = 33, m[B++] = 249, m[B++] = 4, m[B++] = M << 2 | (Y === !0 ? 1 : 0), m[B++] = 255 & Z, m[B++] = Z >> 8 & 255, m[B++] = or, m[B++] = 0), m[B++] = 44, m[B++] = 255 & Q, m[B++] = Q >> 8 & 255, m[B++] = 255 & K, m[B++] = K >> 8 & 255, m[B++] = 255 & W, m[B++] = W >> 8 & 255, m[B++] = 255 & nr, m[B++] = nr >> 8 & 255, m[B++] = Br === !0 ? 128 | Mr - 1 : 0, Br === !0)
27336
- for (var Ar = 0, ir = yr.length; ir > Ar; ++Ar) {
27337
- var lr = yr[Ar];
27348
+ for (var Ar = 0, ir = wr.length; ir > Ar; ++Ar) {
27349
+ var lr = wr[Ar];
27338
27350
  m[B++] = lr >> 16 & 255, m[B++] = lr >> 8 & 255, m[B++] = 255 & lr;
27339
27351
  }
27340
- B = R(m, B, 2 > Mr ? 2 : Mr, kr);
27352
+ B = R(m, B, 2 > Mr ? 2 : Mr, pr);
27341
27353
  }, this.end = function() {
27342
27354
  return er === !1 && (m[B++] = 59, er = !0), B;
27343
27355
  };
@@ -27358,8 +27370,8 @@ var gp = { exports: {} };
27358
27370
  var W = K;
27359
27371
  K.src && (W = W.src), k.isElement(W) ? (N.crossOrigin && (W.crossOrigin = N.crossOrigin), O[Q] = W, S += 1, S === R && m()) : k.isString(W) && (H = new Image(), N.crossOrigin && (H.crossOrigin = N.crossOrigin), function(nr) {
27360
27372
  K.text && (nr.text = K.text), nr.onerror = function() {
27361
- var kr = void 0;
27362
- return --R, R === 0 ? (kr = {}, kr.error = "None of the requested images was capable of being retrieved", p(kr)) : void 0;
27373
+ var pr = void 0;
27374
+ return --R, R === 0 ? (pr = {}, pr.error = "None of the requested images was capable of being retrieved", p(pr)) : void 0;
27363
27375
  }, nr.onload = function() {
27364
27376
  O[Q] = K.text ? { img: nr, text: nr.text } : nr, S += 1, S === R && m(), k.removeElement(nr);
27365
27377
  }, nr.src = W;
@@ -27565,19 +27577,19 @@ var gp = { exports: {} };
27565
27577
  m >= 0 && this.processFrame(m);
27566
27578
  }, generateGIF: function(m, y) {
27567
27579
  var p = [], w = { loop: this.repeat }, N = this.options, R = N.interval, B = N.frameDuration, F = N.images, O = !!F.length, S = N.gifHeight, H = N.gifWidth, er = new h(p, H, S, w), Q = this.onRenderProgressCallback, K = O ? 100 * R : 0, W = void 0, nr = void 0;
27568
- this.generatingGIF = !0, k.each(m, function(kr, Ir) {
27580
+ this.generatingGIF = !0, k.each(m, function(pr, Ir) {
27569
27581
  var Br = Ir.palette;
27570
27582
  Q(0.75 + 0.25 * Ir.position * 1 / m.length);
27571
- for (var yr = 0; B > yr; yr++)
27583
+ for (var wr = 0; B > wr; wr++)
27572
27584
  er.addFrame(0, 0, H, S, Ir.pixels, { palette: Br, delay: K });
27573
27585
  }), er.end(), Q(1), this.frames = [], this.generatingGIF = !1, k.isFunction(y) && (W = this.bufferToString(p), nr = "data:image/gif;base64," + k.btoa(W), y(nr));
27574
27586
  }, setRepeat: function(m) {
27575
27587
  this.repeat = m;
27576
27588
  }, addFrame: function(m, y, p) {
27577
27589
  y = k.isObject(y) ? y : {};
27578
- var w = this, N = w.ctx, R = w.options, B = R.gifWidth, F = R.gifHeight, O = k.getFontSize(y), S = y, H = S.filter, er = S.fontColor, Q = S.fontFamily, K = S.fontWeight, W = (S.gifHeight, S.gifWidth, S.text), nr = S.textAlign, kr = S.textBaseline, Ir = S.waterMark, Br = S.waterMarkHeight, yr = S.waterMarkWidth, Dr = S.waterMarkXCoordinate, Mr = S.waterMarkYCoordinate, Z = y.textXCoordinate ? y.textXCoordinate : nr === "left" ? 1 : nr === "right" ? B : B / 2, M = y.textYCoordinate ? y.textYCoordinate : kr === "top" ? 1 : kr === "center" ? F / 2 : F, Y = K + " " + O + " " + Q, or = p && y.showFrameText ? p : W, Ar = void 0;
27590
+ var w = this, N = w.ctx, R = w.options, B = R.gifWidth, F = R.gifHeight, O = k.getFontSize(y), S = y, H = S.filter, er = S.fontColor, Q = S.fontFamily, K = S.fontWeight, W = (S.gifHeight, S.gifWidth, S.text), nr = S.textAlign, pr = S.textBaseline, Ir = S.waterMark, Br = S.waterMarkHeight, wr = S.waterMarkWidth, Dr = S.waterMarkXCoordinate, Mr = S.waterMarkYCoordinate, Z = y.textXCoordinate ? y.textXCoordinate : nr === "left" ? 1 : nr === "right" ? B : B / 2, M = y.textYCoordinate ? y.textYCoordinate : pr === "top" ? 1 : pr === "center" ? F / 2 : F, Y = K + " " + O + " " + Q, or = p && y.showFrameText ? p : W, Ar = void 0;
27579
27591
  try {
27580
- N.filter = H, N.drawImage(m, 0, 0, B, F), or && (N.font = Y, N.fillStyle = er, N.textAlign = nr, N.textBaseline = kr, N.fillText(or, Z, M)), Ir && N.drawImage(Ir, Dr, Mr, yr, Br), Ar = N.getImageData(0, 0, B, F), w.addFrameImageData(Ar);
27592
+ N.filter = H, N.drawImage(m, 0, 0, B, F), or && (N.font = Y, N.fillStyle = er, N.textAlign = nr, N.textBaseline = pr, N.fillText(or, Z, M)), Ir && N.drawImage(Ir, Dr, Mr, wr, Br), Ar = N.getImageData(0, 0, B, F), w.addFrameImageData(Ar);
27581
27593
  } catch (ir) {
27582
27594
  return "" + ir;
27583
27595
  }
@@ -27608,10 +27620,10 @@ var gp = { exports: {} };
27608
27620
  }, J = { getGIF: function() {
27609
27621
  var m = arguments.length > 0 && arguments[0] !== i ? arguments[0] : {}, y = arguments[1];
27610
27622
  y = k.isFunction(y) ? y : T;
27611
- var p = t.createElement("canvas"), w = void 0, N = m.images, R = !!N.length, B = m.cameraStream, F = m.crop, O = m.filter, S = m.fontColor, H = m.fontFamily, er = m.fontWeight, Q = m.keepCameraOn, K = (m.numWorkers, m.progressCallback), W = m.saveRenderingContexts, nr = m.savedRenderingContexts, kr = m.text, Ir = m.textAlign, Br = m.textBaseline, yr = m.videoElement, Dr = m.videoHeight, Mr = m.videoWidth, Z = m.webcamVideoElement, M = m.waterMark, Y = m.waterMarkHeight, or = m.waterMarkWidth, Ar = m.waterMarkXCoordinate, ir = m.waterMarkYCoordinate, lr = Number(m.gifWidth), Tr = Number(m.gifHeight), Qr = Number(m.interval), F0 = (Number(m.sampleInterval), R ? 0 : 1e3 * Qr), oe = [], B0 = nr.length ? nr.length : m.numFrames, aa = B0, Ve = new rr(m), he = k.getFontSize(m), st = m.textXCoordinate ? m.textXCoordinate : Ir === "left" ? 1 : Ir === "right" ? lr : lr / 2, Ce = m.textYCoordinate ? m.textYCoordinate : Br === "top" ? 1 : Br === "center" ? Tr / 2 : Tr, wn = er + " " + he + " " + H, be = F ? Math.floor(F.scaledWidth / 2) : 0, ta = F ? Mr - F.scaledWidth : 0, ha = F ? Math.floor(F.scaledHeight / 2) : 0, Oa = F ? Dr - F.scaledHeight : 0, ft = function ue() {
27623
+ var p = t.createElement("canvas"), w = void 0, N = m.images, R = !!N.length, B = m.cameraStream, F = m.crop, O = m.filter, S = m.fontColor, H = m.fontFamily, er = m.fontWeight, Q = m.keepCameraOn, K = (m.numWorkers, m.progressCallback), W = m.saveRenderingContexts, nr = m.savedRenderingContexts, pr = m.text, Ir = m.textAlign, Br = m.textBaseline, wr = m.videoElement, Dr = m.videoHeight, Mr = m.videoWidth, Z = m.webcamVideoElement, M = m.waterMark, Y = m.waterMarkHeight, or = m.waterMarkWidth, Ar = m.waterMarkXCoordinate, ir = m.waterMarkYCoordinate, lr = Number(m.gifWidth), Tr = Number(m.gifHeight), Qr = Number(m.interval), F0 = (Number(m.sampleInterval), R ? 0 : 1e3 * Qr), oe = [], B0 = nr.length ? nr.length : m.numFrames, aa = B0, Ve = new rr(m), he = k.getFontSize(m), st = m.textXCoordinate ? m.textXCoordinate : Ir === "left" ? 1 : Ir === "right" ? lr : lr / 2, Ce = m.textYCoordinate ? m.textYCoordinate : Br === "top" ? 1 : Br === "center" ? Tr / 2 : Tr, wn = er + " " + he + " " + H, be = F ? Math.floor(F.scaledWidth / 2) : 0, ta = F ? Mr - F.scaledWidth : 0, ha = F ? Math.floor(F.scaledHeight / 2) : 0, Oa = F ? Dr - F.scaledHeight : 0, ft = function ue() {
27612
27624
  function Fr() {
27613
27625
  try {
27614
- ta > Mr && (ta = Mr), Oa > Dr && (Oa = Dr), 0 > be && (be = 0), 0 > ha && (ha = 0), w.filter = O, w.drawImage(yr, be, ha, ta, Oa, 0, 0, lr, Tr), sr();
27626
+ ta > Mr && (ta = Mr), Oa > Dr && (Oa = Dr), 0 > be && (be = 0), 0 > ha && (ha = 0), w.filter = O, w.drawImage(wr, be, ha, ta, Oa, 0, 0, lr, Tr), sr();
27615
27627
  } catch (cr) {
27616
27628
  if (cr.name !== "NS_ERROR_NOT_AVAILABLE")
27617
27629
  throw cr;
@@ -27620,15 +27632,15 @@ var gp = { exports: {} };
27620
27632
  }
27621
27633
  function sr() {
27622
27634
  var cr = void 0;
27623
- W && oe.push(w.getImageData(0, 0, lr, Tr)), M && w.drawImage(M, Ar, ir, or, Y), kr && (w.font = wn, w.fillStyle = S, w.textAlign = Ir, w.textBaseline = Br, w.fillText(kr, st, Ce)), cr = w.getImageData(0, 0, lr, Tr), Ve.addFrameImageData(cr), aa = Nr, K((B0 - aa) / B0), Nr > 0 && k.requestTimeout(ue, F0), aa || Ve.getBase64GIF(function(Er) {
27624
- y({ error: !1, errorCode: "", errorMsg: "", image: Er, cameraStream: B, videoElement: yr, webcamVideoElement: Z, savedRenderingContexts: oe, keepCameraOn: Q });
27635
+ W && oe.push(w.getImageData(0, 0, lr, Tr)), M && w.drawImage(M, Ar, ir, or, Y), pr && (w.font = wn, w.fillStyle = S, w.textAlign = Ir, w.textBaseline = Br, w.fillText(pr, st, Ce)), cr = w.getImageData(0, 0, lr, Tr), Ve.addFrameImageData(cr), aa = Nr, K((B0 - aa) / B0), Nr > 0 && k.requestTimeout(ue, F0), aa || Ve.getBase64GIF(function(Er) {
27636
+ y({ error: !1, errorCode: "", errorMsg: "", image: Er, cameraStream: B, videoElement: wr, webcamVideoElement: Z, savedRenderingContexts: oe, keepCameraOn: Q });
27625
27637
  });
27626
27638
  }
27627
27639
  var Nr = aa - 1;
27628
27640
  nr.length ? (w.putImageData(nr[B0 - aa], 0, 0), sr()) : Fr();
27629
27641
  };
27630
27642
  B0 = B0 !== i ? B0 : 10, Qr = Qr !== i ? Qr : 0.1, p.width = lr, p.height = Tr, w = p.getContext("2d"), function ue() {
27631
- return nr.length || yr.currentTime !== 0 ? (ft(), void 0) : (k.requestTimeout(ue, 100), void 0);
27643
+ return nr.length || wr.currentTime !== 0 ? (ft(), void 0) : (k.requestTimeout(ue, 100), void 0);
27632
27644
  }();
27633
27645
  }, getCropDimensions: function() {
27634
27646
  var m = arguments.length > 0 && arguments[0] !== i ? arguments[0] : {}, y = m.videoWidth, p = m.videoHeight, w = m.gifWidth, N = m.gifHeight, R = { width: 0, height: 0, scaledWidth: 0, scaledHeight: 0 };
@@ -28041,7 +28053,7 @@ const ro = m2(
28041
28053
  I.forEach((w) => {
28042
28054
  w.preview && URL.revokeObjectURL(w.preview);
28043
28055
  });
28044
- }, [I]), /* @__PURE__ */ G("div", { className: Zb("space-y-2", f), children: [
28056
+ }, [I]), /* @__PURE__ */ G("div", { className: Z3("space-y-2", f), children: [
28045
28057
  /* @__PURE__ */ G(Ll, { htmlFor: j, className: "font-medium text-gray-700", children: [
28046
28058
  r,
28047
28059
  t && /* @__PURE__ */ l("span", { className: "ml-1 text-red-500", children: "*" })
@@ -28067,7 +28079,7 @@ const ro = m2(
28067
28079
  /* @__PURE__ */ l(
28068
28080
  "div",
28069
28081
  {
28070
- className: Zb(
28082
+ className: Z3(
28071
28083
  "relative cursor-pointer rounded-lg border-2 border-dashed p-3 transition-all duration-200",
28072
28084
  "hover:border-primary hover:bg-gray-50",
28073
28085
  "focus-within:border-primary focus-within:ring-2 focus-within:ring-purple-400 focus-within:ring-opacity-20",
@@ -28171,7 +28183,7 @@ const fl = 5, tT = 10, $A = {
28171
28183
  description: "Upload your official business/operating license",
28172
28184
  required: !1
28173
28185
  }
28174
- }, Fb = [
28186
+ }, F3 = [
28175
28187
  "company_structure",
28176
28188
  "certificate_of_registration",
28177
28189
  "bank_statement",
@@ -28199,7 +28211,7 @@ const fl = 5, tT = 10, $A = {
28199
28211
  }) => {
28200
28212
  const o = X.useMemo(() => [...i].sort((h, d) => {
28201
28213
  const g = $A[h].required, b = $A[d].required;
28202
- return g && !b ? -1 : !g && b ? 1 : Fb.indexOf(h) - Fb.indexOf(d);
28214
+ return g && !b ? -1 : !g && b ? 1 : F3.indexOf(h) - F3.indexOf(d);
28203
28215
  }), [i]), A = nT(o), s = oi({
28204
28216
  resolver: Ai(A),
28205
28217
  defaultValues: Object.fromEntries(o.map((h) => [h, r[h] || []]))
@@ -29045,7 +29057,7 @@ const Dt = {
29045
29057
  afternoon: "afternoon",
29046
29058
  evening: "evening",
29047
29059
  night: "night"
29048
- }, Sb = {
29060
+ }, S3 = {
29049
29061
  // Era
29050
29062
  G: function(r, e, a) {
29051
29063
  const t = r.getFullYear() > 0 ? 1 : 0;
@@ -29471,7 +29483,7 @@ const Dt = {
29471
29483
  return "Z";
29472
29484
  switch (e) {
29473
29485
  case "X":
29474
- return Tb(t);
29486
+ return T3(t);
29475
29487
  case "XXXX":
29476
29488
  case "XX":
29477
29489
  return Bn(t);
@@ -29486,7 +29498,7 @@ const Dt = {
29486
29498
  const t = r.getTimezoneOffset();
29487
29499
  switch (e) {
29488
29500
  case "x":
29489
- return Tb(t);
29501
+ return T3(t);
29490
29502
  case "xxxx":
29491
29503
  case "xx":
29492
29504
  return Bn(t);
@@ -29503,7 +29515,7 @@ const Dt = {
29503
29515
  case "O":
29504
29516
  case "OO":
29505
29517
  case "OOO":
29506
- return "GMT" + Wb(t, ":");
29518
+ return "GMT" + W3(t, ":");
29507
29519
  case "OOOO":
29508
29520
  default:
29509
29521
  return "GMT" + Bn(t, ":");
@@ -29516,7 +29528,7 @@ const Dt = {
29516
29528
  case "z":
29517
29529
  case "zz":
29518
29530
  case "zzz":
29519
- return "GMT" + Wb(t, ":");
29531
+ return "GMT" + W3(t, ":");
29520
29532
  case "zzzz":
29521
29533
  default:
29522
29534
  return "GMT" + Bn(t, ":");
@@ -29533,18 +29545,18 @@ const Dt = {
29533
29545
  return g0(t, e.length);
29534
29546
  }
29535
29547
  };
29536
- function Wb(r, e = "") {
29548
+ function W3(r, e = "") {
29537
29549
  const a = r > 0 ? "-" : "+", t = Math.abs(r), n = Math.trunc(t / 60), i = t % 60;
29538
29550
  return i === 0 ? a + String(n) : a + String(n) + e + g0(i, 2);
29539
29551
  }
29540
- function Tb(r, e) {
29552
+ function T3(r, e) {
29541
29553
  return r % 60 === 0 ? (r > 0 ? "-" : "+") + g0(Math.abs(r) / 60, 2) : Bn(r, e);
29542
29554
  }
29543
29555
  function Bn(r, e = "") {
29544
29556
  const a = r > 0 ? "-" : "+", t = Math.abs(r), n = g0(Math.trunc(t / 60), 2), i = g0(t % 60, 2);
29545
29557
  return a + n + e + i;
29546
29558
  }
29547
- const $b = (r, e) => {
29559
+ const $3 = (r, e) => {
29548
29560
  switch (r) {
29549
29561
  case "P":
29550
29562
  return e.date({ width: "short" });
@@ -29571,7 +29583,7 @@ const $b = (r, e) => {
29571
29583
  }, KT = (r, e) => {
29572
29584
  const a = r.match(/(P+)(p+)?/) || [], t = a[1], n = a[2];
29573
29585
  if (!n)
29574
- return $b(r, e);
29586
+ return $3(r, e);
29575
29587
  let i;
29576
29588
  switch (t) {
29577
29589
  case "P":
@@ -29588,7 +29600,7 @@ const $b = (r, e) => {
29588
29600
  i = e.dateTime({ width: "full" });
29589
29601
  break;
29590
29602
  }
29591
- return i.replace("{{date}}", $b(t, e)).replace("{{time}}", Bp(n, e));
29603
+ return i.replace("{{date}}", $3(t, e)).replace("{{time}}", Bp(n, e));
29592
29604
  }, qT = {
29593
29605
  p: Bp,
29594
29606
  P: KT
@@ -29626,7 +29638,7 @@ function Tt(r, e, a) {
29626
29638
  const I = E[0];
29627
29639
  if (I === "'")
29628
29640
  return { isToken: !1, value: c$(E) };
29629
- if (Sb[I])
29641
+ if (S3[I])
29630
29642
  return { isToken: !0, value: E };
29631
29643
  if (I.match(l$))
29632
29644
  throw new RangeError(
@@ -29644,7 +29656,7 @@ function Tt(r, e, a) {
29644
29656
  if (!E.isToken) return E.value;
29645
29657
  const I = E.value;
29646
29658
  (!(a != null && a.useAdditionalWeekYearTokens) && n$(I) || !(a != null && a.useAdditionalDayOfYearTokens) && t$(I)) && i$(I, e, String(r));
29647
- const x = Sb[I[0]];
29659
+ const x = S3[I[0]];
29648
29660
  return x(A, I, n.localize, f);
29649
29661
  }).join("");
29650
29662
  }
@@ -29695,7 +29707,7 @@ function k1(r, e) {
29695
29707
  const o = d$(i);
29696
29708
  return a.setMonth(e, Math.min(n, o)), a;
29697
29709
  }
29698
- function Pb(r, e) {
29710
+ function P3(r, e) {
29699
29711
  const a = o0(r);
29700
29712
  return isNaN(+a) ? Ke(r, NaN) : (a.setFullYear(e), a);
29701
29713
  }
@@ -30129,9 +30141,9 @@ function rP(r) {
30129
30141
  if (!i)
30130
30142
  return l(H0, {});
30131
30143
  for (var d = n.getFullYear(), g = i.getFullYear(), b = d; b <= g; b++)
30132
- h.push(Pb(wp(/* @__PURE__ */ new Date()), b));
30144
+ h.push(P3(wp(/* @__PURE__ */ new Date()), b));
30133
30145
  var v = function(E) {
30134
- var I = Pb($e(a), Number(E.target.value));
30146
+ var I = P3($e(a), Number(E.target.value));
30135
30147
  r.onChange(I);
30136
30148
  }, _ = (e = f == null ? void 0 : f.Dropdown) !== null && e !== void 0 ? e : jp;
30137
30149
  return l(_, { name: "years", "aria-label": c(), className: s.dropdown_year, style: A.dropdown_year, onChange: v, value: a.getFullYear(), caption: u(a, { locale: o }), children: h.map(function(E) {
@@ -30212,7 +30224,7 @@ function qo() {
30212
30224
  throw new Error("useNavigation must be used within a NavigationProvider");
30213
30225
  return r;
30214
30226
  }
30215
- function Ob(r) {
30227
+ function O3(r) {
30216
30228
  var e, a = C0(), t = a.classNames, n = a.styles, i = a.components, o = qo().goToMonth, A = function(u) {
30217
30229
  o(Za(u, r.displayIndex ? -r.displayIndex : 0));
30218
30230
  }, s = (e = i == null ? void 0 : i.CaptionLabel) !== null && e !== void 0 ? e : Xp, f = l(s, { id: r.id, displayMonth: r.displayMonth });
@@ -30243,7 +30255,7 @@ function uP(r) {
30243
30255
  ].join(" "), v = (e = c == null ? void 0 : c.IconRight) !== null && e !== void 0 ? e : fP, _ = (a = c == null ? void 0 : c.IconLeft) !== null && a !== void 0 ? a : sP;
30244
30256
  return G("div", { className: o.nav, style: A.nav, children: [!r.hidePrevious && l(gs, { name: "previous-month", "aria-label": h, className: d, style: A.nav_button_previous, disabled: !r.previousMonth, onClick: r.onPreviousClick, children: n === "rtl" ? l(v, { className: o.nav_icon, style: A.nav_icon }) : l(_, { className: o.nav_icon, style: A.nav_icon }) }), !r.hideNext && l(gs, { name: "next-month", "aria-label": g, className: b, style: A.nav_button_next, disabled: !r.nextMonth, onClick: r.onNextClick, children: n === "rtl" ? l(_, { className: o.nav_icon, style: A.nav_icon }) : l(v, { className: o.nav_icon, style: A.nav_icon }) })] });
30245
30257
  }
30246
- function Vb(r) {
30258
+ function V3(r) {
30247
30259
  var e = C0().numberOfMonths, a = qo(), t = a.previousMonth, n = a.nextMonth, i = a.goToMonth, o = a.displayMonths, A = o.findIndex(function(g) {
30248
30260
  return md(r.displayMonth, g);
30249
30261
  }), s = A === 0, f = A === o.length - 1, u = e > 1 && (s || !f), c = e > 1 && (f || !s), h = function() {
@@ -30255,7 +30267,7 @@ function Vb(r) {
30255
30267
  }
30256
30268
  function lP(r) {
30257
30269
  var e, a = C0(), t = a.classNames, n = a.disableNavigation, i = a.styles, o = a.captionLayout, A = a.components, s = (e = A == null ? void 0 : A.CaptionLabel) !== null && e !== void 0 ? e : Xp, f;
30258
- return n ? f = l(s, { id: r.id, displayMonth: r.displayMonth }) : o === "dropdown" ? f = l(Ob, { displayMonth: r.displayMonth, id: r.id }) : o === "dropdown-buttons" ? f = G(H0, { children: [l(Ob, { displayMonth: r.displayMonth, displayIndex: r.displayIndex, id: r.id }), l(Vb, { displayMonth: r.displayMonth, displayIndex: r.displayIndex, id: r.id })] }) : f = G(H0, { children: [l(s, { id: r.id, displayMonth: r.displayMonth, displayIndex: r.displayIndex }), l(Vb, { displayMonth: r.displayMonth, id: r.id })] }), l("div", { className: t.caption, style: i.caption, children: f });
30270
+ return n ? f = l(s, { id: r.id, displayMonth: r.displayMonth }) : o === "dropdown" ? f = l(O3, { displayMonth: r.displayMonth, id: r.id }) : o === "dropdown-buttons" ? f = G(H0, { children: [l(O3, { displayMonth: r.displayMonth, displayIndex: r.displayIndex, id: r.id }), l(V3, { displayMonth: r.displayMonth, displayIndex: r.displayIndex, id: r.id })] }) : f = G(H0, { children: [l(s, { id: r.id, displayMonth: r.displayMonth, displayIndex: r.displayIndex }), l(V3, { displayMonth: r.displayMonth, id: r.id })] }), l("div", { className: t.caption, style: i.caption, children: f });
30259
30271
  }
30260
30272
  function cP(r) {
30261
30273
  var e = C0(), a = e.footer, t = e.styles, n = e.classNames.tfoot;
@@ -30788,7 +30800,7 @@ function KP(r) {
30788
30800
  return l("td", { className: i.cell, style: n.cell, role: "presentation", children: l(s, { displayMonth: r.displayMonth, date: c }) }, h$(c));
30789
30801
  })] });
30790
30802
  }
30791
- function Db(r, e, a) {
30803
+ function D3(r, e, a) {
30792
30804
  for (var t = a != null && a.ISOWeek ? kp(e) : hd(e, a), n = a != null && a.ISOWeek ? ti(r) : it(r, a), i = qa(t, n), o = [], A = 0; A <= i; A++)
30793
30805
  o.push(pe(n, A));
30794
30806
  var s = o.reduce(function(f, u) {
@@ -30803,11 +30815,11 @@ function Db(r, e, a) {
30803
30815
  return s;
30804
30816
  }
30805
30817
  function qP(r, e) {
30806
- var a = Db($e(r), dd(r), e);
30818
+ var a = D3($e(r), dd(r), e);
30807
30819
  if (e != null && e.useFixedWeeks) {
30808
30820
  var t = m$(r, e);
30809
30821
  if (t < 6) {
30810
- var n = a[a.length - 1], i = n.dates[n.dates.length - 1], o = ul(i, 6 - t), A = Db(ul(i, 1), o, e);
30822
+ var n = a[a.length - 1], i = n.dates[n.dates.length - 1], o = ul(i, 6 - t), A = D3(ul(i, 1), o, e);
30811
30823
  a.push.apply(a, A);
30812
30824
  }
30813
30825
  }
@@ -30829,13 +30841,13 @@ function eO() {
30829
30841
  return !!(typeof window < "u" && window.document && window.document.createElement);
30830
30842
  }
30831
30843
  var aO = eO() ? a6 : Ae, I1 = !1, tO = 0;
30832
- function Mb() {
30844
+ function M3() {
30833
30845
  return "react-day-picker-".concat(++tO);
30834
30846
  }
30835
30847
  function nO(r) {
30836
- var e, a = r ?? (I1 ? Mb() : null), t = a0(a), n = t[0], i = t[1];
30848
+ var e, a = r ?? (I1 ? M3() : null), t = a0(a), n = t[0], i = t[1];
30837
30849
  return aO(function() {
30838
- n === null && i(Mb());
30850
+ n === null && i(M3());
30839
30851
  }, []), Ae(function() {
30840
30852
  I1 === !1 && (I1 = !0);
30841
30853
  }, []), (e = r ?? n) !== null && e !== void 0 ? e : void 0;
@@ -31755,10 +31767,10 @@ var Bd = "Progress", Nd = 100, [IO] = ii(Bd), [BO, NO] = IO(Bd), qp = C.forwardR
31755
31767
  getValueLabel: i = xO,
31756
31768
  ...o
31757
31769
  } = r;
31758
- (n || n === 0) && !Gb(n) && console.error(RO(`${n}`, "Progress"));
31759
- const A = Gb(n) ? n : Nd;
31760
- t !== null && !Xb(t, A) && console.error(ZO(`${t}`, "Progress"));
31761
- const s = Xb(t, A) ? t : null, f = ps(s) ? i(s, A) : void 0;
31770
+ (n || n === 0) && !G3(n) && console.error(RO(`${n}`, "Progress"));
31771
+ const A = G3(n) ? n : Nd;
31772
+ t !== null && !X3(t, A) && console.error(ZO(`${t}`, "Progress"));
31773
+ const s = X3(t, A) ? t : null, f = ps(s) ? i(s, A) : void 0;
31762
31774
  return /* @__PURE__ */ l(BO, { scope: a, value: s, max: A, children: /* @__PURE__ */ l(
31763
31775
  A0.div,
31764
31776
  {
@@ -31802,10 +31814,10 @@ function ay(r, e) {
31802
31814
  function ps(r) {
31803
31815
  return typeof r == "number";
31804
31816
  }
31805
- function Gb(r) {
31817
+ function G3(r) {
31806
31818
  return ps(r) && !isNaN(r) && r > 0;
31807
31819
  }
31808
- function Xb(r, e) {
31820
+ function X3(r, e) {
31809
31821
  return ps(r) && !isNaN(r) && r <= e && r >= 0;
31810
31822
  }
31811
31823
  function RO(r, e) {
@@ -31891,12 +31903,12 @@ const SO = async ({
31891
31903
  variant: "destructive"
31892
31904
  }), !1;
31893
31905
  }
31894
- }, jb = {
31906
+ }, j3 = {
31895
31907
  id: "national_id",
31896
31908
  license: "drivers_license",
31897
31909
  passport: "passport",
31898
31910
  voterId: "voter_id"
31899
- }, Lb = {
31911
+ }, L3 = {
31900
31912
  national_id: "id",
31901
31913
  drivers_license: "license",
31902
31914
  passport: "passport",
@@ -31993,23 +32005,23 @@ const SO = async ({
31993
32005
  }
31994
32006
  const W = K.data;
31995
32007
  _(W._id);
31996
- const nr = (yr) => {
31997
- if (!yr) return !0;
31998
- const Dr = Object.entries(yr);
32008
+ const nr = (wr) => {
32009
+ if (!wr) return !0;
32010
+ const Dr = Object.entries(wr);
31999
32011
  return Dr.length === 0 || Dr.length === 1 && Dr[0][0] === "document_type" ? !0 : Dr.every(([Mr, Z]) => Z == null || typeof Z == "string" && Z.trim() === "");
32000
32012
  };
32001
- let kr = "";
32013
+ let pr = "";
32002
32014
  if ((F = W.personal_details) != null && F.document_type) {
32003
- const yr = W.personal_details.document_type;
32004
- kr = Lb[yr] || "", k(kr);
32015
+ const wr = W.personal_details.document_type;
32016
+ pr = L3[wr] || "", k(pr);
32005
32017
  } else if ((O = W.personal_details) != null && O.id_photo) {
32006
- const yr = Zu.find((Dr) => W.personal_details.id_photo.includes(Dr.id));
32007
- yr && (kr = yr.id, k(kr));
32018
+ const wr = Zu.find((Dr) => W.personal_details.id_photo.includes(Dr.id));
32019
+ wr && (pr = wr.id, k(pr));
32008
32020
  }
32009
32021
  const Ir = !nr(W.personal_details) || !nr(W.business_information) || !nr(W.business_address) || !nr(W.company_activity) || !nr(W.questionary) || !nr(W.company_documents);
32010
32022
  let Br = "landing";
32011
32023
  if (Ir) {
32012
- const yr = W.personal_details || {}, Dr = yr.document_type ? Lb[yr.document_type] : kr, Mr = !!((S = yr.full_name) != null && S.trim()), Z = !!((H = yr.email) != null && H.trim()), M = !!((er = yr.title) != null && er.trim()), Y = !!yr.birth, or = !!((Q = yr.phone_number) != null && Q.trim()), Ar = !!yr.id_photo, ir = Dr === "passport" ? !0 : !!yr.id_photo_back, lr = !!yr.selfie_photo;
32024
+ const wr = W.personal_details || {}, Dr = wr.document_type ? L3[wr.document_type] : pr, Mr = !!((S = wr.full_name) != null && S.trim()), Z = !!((H = wr.email) != null && H.trim()), M = !!((er = wr.title) != null && er.trim()), Y = !!wr.birth, or = !!((Q = wr.phone_number) != null && Q.trim()), Ar = !!wr.id_photo, ir = Dr === "passport" ? !0 : !!wr.id_photo_back, lr = !!wr.selfie_photo;
32013
32025
  !Mr || !Z || !M || !Y || !or ? Br = "personal-details" : Dr ? Ar ? ir ? lr ? nr(W.business_information) ? Br = "business-information" : nr(W.business_address) ? Br = "business-address" : nr(W.company_activity) ? Br = "company-activity" : h.enable_business_questionnaire && nr(W.questionary) ? Br = "questionary" : nr(W.company_documents) ? Br = "company-documents" : Br = "processing" : Br = "pre-selfie" : Br = "id-back" : Br = "id-front" : Br = "document-selection";
32014
32026
  }
32015
32027
  u(Br), W.personal_details && I({
@@ -32114,7 +32126,7 @@ const SO = async ({
32114
32126
  selectedDocumentType: x,
32115
32127
  onDocumentTypeChange: async (F) => {
32116
32128
  k(F);
32117
- const O = jb[F], S = {
32129
+ const O = j3[F], S = {
32118
32130
  ...E,
32119
32131
  document_type: O,
32120
32132
  id_photo: null,
@@ -32138,7 +32150,7 @@ const SO = async ({
32138
32150
  currentStep: f,
32139
32151
  onRetake: () => I((F) => ({ ...F, id_photo: null })),
32140
32152
  onConfirm: async (F) => {
32141
- const O = x ? jb[x] : "", S = { ...E, id_photo: F, document_type: O };
32153
+ const O = x ? j3[x] : "", S = { ...E, id_photo: F, document_type: O };
32142
32154
  I(S), await le("personal_details", {
32143
32155
  document_type: O
32144
32156
  }, { id_photo: F }, p) ? u(x === "passport" ? "pre-selfie" : "id-back") : c({ title: "Upload Failed", description: "ID front not saved.", variant: "destructive" });