mainstack-payments 1.0.42 → 1.0.44

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.
@@ -1,7 +1,7 @@
1
- import { jsx as h, jsxs as M, Fragment as dt } from "react/jsx-runtime";
2
- import { Colors as Qe, InfoIcon as Ya, Paragraph as by, CountrySelect as D1, NotificationsFilledIcon as li, LockIcon as B1, customSnackbar as Et, SnackbarType as Pt, CancelFilledIcon as Pu, Button as dr, Loader as N1, ExpandMoreIcon as Hr, ClickTooltip as jh, DiscountIcon as L1, PhoneNumberInput as z1, MainstackProvider as V1, CustomSnackbarContainer as j1 } from "mainstack-design-system";
1
+ import { jsx as h, jsxs as M, Fragment as lt } from "react/jsx-runtime";
2
+ import { Colors as Qe, InfoIcon as Xa, Paragraph as by, CountrySelect as D1, NotificationsFilledIcon as li, LockIcon as B1, customSnackbar as Et, SnackbarType as Pt, CancelFilledIcon as Pu, Button as dr, Loader as N1, ExpandMoreIcon as Hr, ClickTooltip as jh, DiscountIcon as L1, PhoneNumberInput as z1, MainstackProvider as V1, CustomSnackbarContainer as j1 } from "mainstack-design-system";
3
3
  import * as L from "react";
4
- import Ce, { Children as vy, isValidElement as Fi, createContext as gn, useContext as nt, useRef as be, useEffect as he, useCallback as de, useState as X, useId as io, useLayoutEffect as Mi, useMemo as it, forwardRef as Gt, useReducer as U1, useInsertionEffect as Md, createElement as Od, cloneElement as el, memo as G1, useSyncExternalStore as W1, Fragment as H1, PureComponent as K1, useImperativeHandle as Z1 } from "react";
4
+ import Ae, { Children as vy, isValidElement as Fi, createContext as gn, useContext as nt, useRef as be, useEffect as he, useCallback as de, useState as X, useId as so, useLayoutEffect as Mi, useMemo as it, forwardRef as Gt, useReducer as U1, useInsertionEffect as Md, createElement as Od, cloneElement as el, memo as G1, useSyncExternalStore as W1, Fragment as H1, PureComponent as K1, useImperativeHandle as Z1 } from "react";
5
5
  import { createPortal as Sy } from "react-dom";
6
6
  import q1 from "axios";
7
7
  function Y1(e) {
@@ -293,8 +293,8 @@ function Oi(e) {
293
293
  var tl = { exports: {} };
294
294
  tl.exports;
295
295
  (function(e, t) {
296
- var n = 200, r = "__lodash_hash_undefined__", a = 800, o = 16, i = 9007199254740991, s = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", u = "[object Boolean]", d = "[object Date]", f = "[object Error]", p = "[object Function]", g = "[object GeneratorFunction]", m = "[object Map]", v = "[object Number]", x = "[object Null]", S = "[object Object]", b = "[object Proxy]", T = "[object RegExp]", E = "[object Set]", k = "[object String]", $ = "[object Undefined]", R = "[object WeakMap]", D = "[object ArrayBuffer]", se = "[object DataView]", G = "[object Float32Array]", ge = "[object Float64Array]", W = "[object Int8Array]", fe = "[object Int16Array]", Se = "[object Int32Array]", z = "[object Uint8Array]", re = "[object Uint8ClampedArray]", Ve = "[object Uint16Array]", je = "[object Uint32Array]", O = /[\\^$.*+?()[\]{}|]/g, F = /^\[object .+?Constructor\]$/, H = /^(?:0|[1-9]\d*)$/, N = {};
297
- N[G] = N[ge] = N[W] = N[fe] = N[Se] = N[z] = N[re] = N[Ve] = N[je] = !0, N[s] = N[l] = N[D] = N[u] = N[se] = N[d] = N[f] = N[p] = N[m] = N[v] = N[S] = N[T] = N[E] = N[k] = N[R] = !1;
296
+ var n = 200, r = "__lodash_hash_undefined__", a = 800, o = 16, i = 9007199254740991, s = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", u = "[object Boolean]", d = "[object Date]", f = "[object Error]", p = "[object Function]", g = "[object GeneratorFunction]", m = "[object Map]", v = "[object Number]", x = "[object Null]", S = "[object Object]", b = "[object Proxy]", T = "[object RegExp]", E = "[object Set]", k = "[object String]", $ = "[object Undefined]", R = "[object WeakMap]", D = "[object ArrayBuffer]", se = "[object DataView]", G = "[object Float32Array]", ge = "[object Float64Array]", H = "[object Int8Array]", fe = "[object Int16Array]", Se = "[object Int32Array]", z = "[object Uint8Array]", re = "[object Uint8ClampedArray]", Ve = "[object Uint16Array]", je = "[object Uint32Array]", O = /[\\^$.*+?()[\]{}|]/g, F = /^\[object .+?Constructor\]$/, W = /^(?:0|[1-9]\d*)$/, N = {};
297
+ N[G] = N[ge] = N[H] = N[fe] = N[Se] = N[z] = N[re] = N[Ve] = N[je] = !0, N[s] = N[l] = N[D] = N[u] = N[se] = N[d] = N[f] = N[p] = N[m] = N[v] = N[S] = N[T] = N[E] = N[k] = N[R] = !1;
298
298
  var Y = typeof ls == "object" && ls && ls.Object === Object && ls, ae = typeof self == "object" && self && self.Object === Object && self, K = Y || ae || Function("return this")(), Q = t && !t.nodeType && t, le = Q && !0 && e && !e.nodeType && e, ie = le && le.exports === Q, Z = ie && Y.process, Pe = function() {
299
299
  try {
300
300
  var y = le && le.require && le.require("util").types;
@@ -432,20 +432,20 @@ tl.exports;
432
432
  };
433
433
  }
434
434
  function uc(y) {
435
- var w = ga(this, y).delete(y);
435
+ var w = ya(this, y).delete(y);
436
436
  return this.size -= w ? 1 : 0, w;
437
437
  }
438
- function co(y) {
439
- return ga(this, y).get(y);
438
+ function uo(y) {
439
+ return ya(this, y).get(y);
440
440
  }
441
441
  function j(y) {
442
- return ga(this, y).has(y);
442
+ return ya(this, y).has(y);
443
443
  }
444
444
  function fa(y, w) {
445
- var _ = ga(this, y), V = _.size;
445
+ var _ = ya(this, y), V = _.size;
446
446
  return _.set(y, w), this.size += _.size == V ? 0 : 1, this;
447
447
  }
448
- kt.prototype.clear = cc, kt.prototype.delete = uc, kt.prototype.get = co, kt.prototype.has = j, kt.prototype.set = fa;
448
+ kt.prototype.clear = cc, kt.prototype.delete = uc, kt.prototype.get = uo, kt.prototype.has = j, kt.prototype.set = fa;
449
449
  function dn(y) {
450
450
  var w = this.__data__ = new un(y);
451
451
  this.size = w.size;
@@ -460,7 +460,7 @@ tl.exports;
460
460
  function Zi(y) {
461
461
  return this.__data__.get(y);
462
462
  }
463
- function uo(y) {
463
+ function fo(y) {
464
464
  return this.__data__.has(y);
465
465
  }
466
466
  function fc(y, w) {
@@ -473,27 +473,27 @@ tl.exports;
473
473
  }
474
474
  return _.set(y, w), this.size = _.size, this;
475
475
  }
476
- dn.prototype.clear = dc, dn.prototype.delete = tr, dn.prototype.get = Zi, dn.prototype.has = uo, dn.prototype.set = fc;
476
+ dn.prototype.clear = dc, dn.prototype.delete = tr, dn.prototype.get = Zi, dn.prototype.has = fo, dn.prototype.set = fc;
477
477
  function hh(y, w) {
478
- var _ = So(y), V = !_ && vo(y), Te = !_ && !V && xo(y), Be = !_ && !V && !Te && Tr(y), We = _ || V || Te || Be, we = We ? ue(y.length, String) : [], He = we.length;
478
+ var _ = So(y), V = !_ && vo(y), Te = !_ && !V && xo(y), Be = !_ && !V && !Te && Tr(y), We = _ || V || Te || Be, Ce = We ? ue(y.length, String) : [], He = Ce.length;
479
479
  for (var Ot in y)
480
480
  (w || I.call(y, Ot)) && !(We && // Safari 9 has enumerable `arguments.length` in strict mode.
481
481
  (Ot == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
482
482
  Te && (Ot == "offset" || Ot == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
483
483
  Be && (Ot == "buffer" || Ot == "byteLength" || Ot == "byteOffset") || // Skip index properties.
484
- Qi(Ot, He))) && we.push(Ot);
485
- return we;
484
+ Qi(Ot, He))) && Ce.push(Ot);
485
+ return Ce;
486
486
  }
487
- function fo(y, w, _) {
488
- (_ !== void 0 && !ya(y[w], _) || _ === void 0 && !(w in y)) && qi(y, w, _);
487
+ function ho(y, w, _) {
488
+ (_ !== void 0 && !ba(y[w], _) || _ === void 0 && !(w in y)) && qi(y, w, _);
489
489
  }
490
490
  function hc(y, w, _) {
491
491
  var V = y[w];
492
- (!(I.call(y, w) && ya(V, _)) || _ === void 0 && !(w in y)) && qi(y, w, _);
492
+ (!(I.call(y, w) && ba(V, _)) || _ === void 0 && !(w in y)) && qi(y, w, _);
493
493
  }
494
494
  function ha(y, w) {
495
495
  for (var _ = y.length; _--; )
496
- if (ya(y[_][0], w))
496
+ if (ba(y[_][0], w))
497
497
  return _;
498
498
  return -1;
499
499
  }
@@ -521,7 +521,7 @@ tl.exports;
521
521
  function pc(y) {
522
522
  return Ln(y) && os(y.length) && !!N[ee(y)];
523
523
  }
524
- function ho(y) {
524
+ function ma(y) {
525
525
  if (!Nn(y))
526
526
  return yo(y);
527
527
  var w = ns(y), _ = [];
@@ -534,23 +534,23 @@ tl.exports;
534
534
  if (Te || (Te = new dn()), Nn(Be))
535
535
  mc(y, w, We, _, Xi, V, Te);
536
536
  else {
537
- var we = V ? V(bo(y, We), Be, We + "", y, w, Te) : void 0;
538
- we === void 0 && (we = Be), fo(y, We, we);
537
+ var Ce = V ? V(bo(y, We), Be, We + "", y, w, Te) : void 0;
538
+ Ce === void 0 && (Ce = Be), ho(y, We, Ce);
539
539
  }
540
540
  }, is);
541
541
  }
542
542
  function mc(y, w, _, V, Te, Be, We) {
543
- var we = bo(y, _), He = bo(w, _), Ot = We.get(He);
543
+ var Ce = bo(y, _), He = bo(w, _), Ot = We.get(He);
544
544
  if (Ot) {
545
- fo(y, _, Ot);
545
+ ho(y, _, Ot);
546
546
  return;
547
547
  }
548
- var $t = Be ? Be(we, He, _ + "", y, w, We) : void 0, ar = $t === void 0;
548
+ var $t = Be ? Be(Ce, He, _ + "", y, w, We) : void 0, ar = $t === void 0;
549
549
  if (ar) {
550
- var Sa = So(He), xa = !Sa && xo(He), To = !Sa && !xa && Tr(He);
551
- $t = He, Sa || xa || To ? So(we) ? $t = we : Cc(we) ? $t = Nt(we) : xa ? (ar = !1, $t = ma(He, !0)) : To ? (ar = !1, $t = Ar(He, !0)) : $t = [] : ba(He) || vo(He) ? ($t = we, vo(we) ? $t = Co(we) : (!Nn(we) || wo(we)) && ($t = go(He))) : ar = !1;
550
+ var xa = So(He), wa = !xa && xo(He), To = !xa && !wa && Tr(He);
551
+ $t = He, xa || wa || To ? So(Ce) ? $t = Ce : Cc(Ce) ? $t = Nt(Ce) : wa ? (ar = !1, $t = ga(He, !0)) : To ? (ar = !1, $t = Ar(He, !0)) : $t = [] : va(He) || vo(He) ? ($t = Ce, vo(Ce) ? $t = Co(Ce) : (!Nn(Ce) || wo(Ce)) && ($t = go(He))) : ar = !1;
552
552
  }
553
- ar && (We.set(He, $t), Te($t, He, V, Be, We), We.delete(He)), fo(y, _, $t);
553
+ ar && (We.set(He, $t), Te($t, He, V, Be, We), We.delete(He)), ho(y, _, $t);
554
554
  }
555
555
  function po(y, w) {
556
556
  return Sc(as(y, w, ss), y + "");
@@ -563,7 +563,7 @@ tl.exports;
563
563
  writable: !0
564
564
  });
565
565
  } : ss;
566
- function ma(y, w) {
566
+ function ga(y, w) {
567
567
  if (w)
568
568
  return y.slice();
569
569
  var _ = y.length, V = Rn ? Rn(_) : new y.constructor(_);
@@ -587,8 +587,8 @@ tl.exports;
587
587
  var Te = !_;
588
588
  _ || (_ = {});
589
589
  for (var Be = -1, We = w.length; ++Be < We; ) {
590
- var we = w[Be], He = V ? V(_[we], y[we], we, _, y) : void 0;
591
- He === void 0 && (He = y[we]), Te ? qi(_, we, He) : hc(_, we, He);
590
+ var Ce = w[Be], He = V ? V(_[Ce], y[Ce], Ce, _, y) : void 0;
591
+ He === void 0 && (He = y[Ce]), Te ? qi(_, Ce, He) : hc(_, Ce, He);
592
592
  }
593
593
  return _;
594
594
  }
@@ -596,23 +596,23 @@ tl.exports;
596
596
  return po(function(w, _) {
597
597
  var V = -1, Te = _.length, Be = Te > 1 ? _[Te - 1] : void 0, We = Te > 2 ? _[2] : void 0;
598
598
  for (Be = y.length > 3 && typeof Be == "function" ? (Te--, Be) : void 0, We && es(_[0], _[1], We) && (Be = Te < 3 ? void 0 : Be, Te = 1), w = Object(w); ++V < Te; ) {
599
- var we = _[V];
600
- we && y(w, we, V, Be);
599
+ var Ce = _[V];
600
+ Ce && y(w, Ce, V, Be);
601
601
  }
602
602
  return w;
603
603
  });
604
604
  }
605
605
  function $e(y) {
606
606
  return function(w, _, V) {
607
- for (var Te = -1, Be = Object(w), We = V(w), we = We.length; we--; ) {
608
- var He = We[y ? we : ++Te];
607
+ for (var Te = -1, Be = Object(w), We = V(w), Ce = We.length; Ce--; ) {
608
+ var He = We[y ? Ce : ++Te];
609
609
  if (_(Be[He], He, Be) === !1)
610
610
  break;
611
611
  }
612
612
  return w;
613
613
  };
614
614
  }
615
- function ga(y, w) {
615
+ function ya(y, w) {
616
616
  var _ = y.__data__;
617
617
  return vc(w) ? _[typeof w == "string" ? "string" : "hash"] : _.map;
618
618
  }
@@ -635,13 +635,13 @@ tl.exports;
635
635
  }
636
636
  function Qi(y, w) {
637
637
  var _ = typeof y;
638
- return w = w ?? i, !!w && (_ == "number" || _ != "symbol" && H.test(y)) && y > -1 && y % 1 == 0 && y < w;
638
+ return w = w ?? i, !!w && (_ == "number" || _ != "symbol" && W.test(y)) && y > -1 && y % 1 == 0 && y < w;
639
639
  }
640
640
  function es(y, w, _) {
641
641
  if (!Nn(_))
642
642
  return !1;
643
643
  var V = typeof w;
644
- return (V == "number" ? rr(_) && Qi(w, _.length) : V == "string" && w in _) ? ya(_[w], y) : !1;
644
+ return (V == "number" ? rr(_) && Qi(w, _.length) : V == "string" && w in _) ? ba(_[w], y) : !1;
645
645
  }
646
646
  function vc(y) {
647
647
  var w = typeof y;
@@ -669,9 +669,9 @@ tl.exports;
669
669
  for (var V = arguments, Te = -1, Be = Xt(V.length - w, 0), We = Array(Be); ++Te < Be; )
670
670
  We[Te] = V[w + Te];
671
671
  Te = -1;
672
- for (var we = Array(w + 1); ++Te < w; )
673
- we[Te] = V[Te];
674
- return we[w] = _(We), rt(y, this, we);
672
+ for (var Ce = Array(w + 1); ++Te < w; )
673
+ Ce[Te] = V[Te];
674
+ return Ce[w] = _(We), rt(y, this, Ce);
675
675
  };
676
676
  }
677
677
  function bo(y, w) {
@@ -704,7 +704,7 @@ tl.exports;
704
704
  }
705
705
  return "";
706
706
  }
707
- function ya(y, w) {
707
+ function ba(y, w) {
708
708
  return y === w || y !== y && w !== w;
709
709
  }
710
710
  var vo = pa(function() {
@@ -735,7 +735,7 @@ tl.exports;
735
735
  function Ln(y) {
736
736
  return y != null && typeof y == "object";
737
737
  }
738
- function ba(y) {
738
+ function va(y) {
739
739
  if (!Ln(y) || ee(y) != S)
740
740
  return !1;
741
741
  var w = la(y);
@@ -749,9 +749,9 @@ tl.exports;
749
749
  return yc(y, is(y));
750
750
  }
751
751
  function is(y) {
752
- return rr(y) ? hh(y, !0) : ho(y);
752
+ return rr(y) ? hh(y, !0) : ma(y);
753
753
  }
754
- var va = bc(function(y, w, _, V) {
754
+ var Sa = bc(function(y, w, _, V) {
755
755
  Xi(y, w, _, V);
756
756
  });
757
757
  function Ao(y) {
@@ -765,7 +765,7 @@ tl.exports;
765
765
  function ph() {
766
766
  return !1;
767
767
  }
768
- e.exports = va;
768
+ e.exports = Sa;
769
769
  })(tl, tl.exports);
770
770
  var C2 = tl.exports;
771
771
  const Pn = /* @__PURE__ */ Oi(C2);
@@ -778,13 +778,13 @@ function _u(e, t = []) {
778
778
  return (a = n.current) == null ? void 0 : a.call(n, ...r);
779
779
  }, t);
780
780
  }
781
- function ka(e = {}) {
781
+ function _a(e = {}) {
782
782
  const {
783
783
  onClose: t,
784
784
  onOpen: n,
785
785
  isOpen: r,
786
786
  id: a
787
- } = e, o = _u(n), i = _u(t), [s, l] = X(e.defaultIsOpen || !1), c = r !== void 0 ? r : s, u = r !== void 0, d = io(), f = a ?? `disclosure-${d}`, p = de(() => {
787
+ } = e, o = _u(n), i = _u(t), [s, l] = X(e.defaultIsOpen || !1), c = r !== void 0 ? r : s, u = r !== void 0, d = so(), f = a ?? `disclosure-${d}`, p = de(() => {
788
788
  u || l(!1), i == null || i();
789
789
  }, [u, i]), g = de(() => {
790
790
  u || l(!0), o == null || o();
@@ -886,7 +886,7 @@ const bt = {
886
886
  readOnly: (e, t) => `${e}:read-only ${t}, ${e}[readonly] ${t}, ${e}[data-read-only] ${t}`,
887
887
  expanded: (e, t) => `${e}:read-only ${t}, ${e}[aria-expanded=true] ${t}, ${e}[data-expanded] ${t}`,
888
888
  placeholderShown: (e, t) => `${e}:placeholder-shown ${t}`
889
- }, yn = (e) => Ay((t) => e(t, "&"), "[role=group]", "[data-group]", ".group"), zn = (e) => Ay((t) => e(t, "~ &"), "[data-peer]", ".peer"), Ay = (e, ...t) => t.map(e).join(", "), Va = {
889
+ }, yn = (e) => Ay((t) => e(t, "&"), "[role=group]", "[data-group]", ".group"), zn = (e) => Ay((t) => e(t, "~ &"), "[data-peer]", ".peer"), Ay = (e, ...t) => t.map(e).join(", "), ja = {
890
890
  /**
891
891
  * Styles for CSS selector `&:hover`
892
892
  */
@@ -1203,7 +1203,7 @@ const bt = {
1203
1203
  */
1204
1204
  _current: "&[data-current]"
1205
1205
  }, Ty = Object.keys(
1206
- Va
1206
+ ja
1207
1207
  ), k2 = (e) => /!(important)?$/.test(e), Kh = (e) => typeof e == "string" ? e.replace(/!(important)?$/, "").trim() : e, _2 = (e, t) => (n) => {
1208
1208
  const r = String(t), a = k2(r), o = Kh(r), i = e ? `${e}.${o}` : o;
1209
1209
  let s = on(n.__cssMap) && i in n.__cssMap ? n.__cssMap[i].varRef : t;
@@ -2028,7 +2028,7 @@ const eS = {
2028
2028
  oS
2029
2029
  );
2030
2030
  Object.assign({}, Je, nn, rl, Py, Zo);
2031
- const iS = [...Object.keys(Dd), ...Ty], sS = { ...Dd, ...Va }, lS = (e) => e in sS, cS = (e) => (t) => {
2031
+ const iS = [...Object.keys(Dd), ...Ty], sS = { ...Dd, ...ja }, lS = (e) => e in sS, cS = (e) => (t) => {
2032
2032
  if (!t.__breakpoints)
2033
2033
  return e;
2034
2034
  const { isResponsive: n, toArrayValue: r, media: a } = t.__breakpoints, o = {};
@@ -2119,7 +2119,7 @@ function pS(e) {
2119
2119
  }
2120
2120
  const ky = (e) => (t) => pS({
2121
2121
  theme: t,
2122
- pseudos: Va,
2122
+ pseudos: ja,
2123
2123
  configs: Dd
2124
2124
  })(e);
2125
2125
  function Ye(e) {
@@ -2345,7 +2345,7 @@ function MS(e) {
2345
2345
  const x = o(s, `${v}`);
2346
2346
  if (m === "default")
2347
2347
  return g[d] = x, g;
2348
- const S = (Va == null ? void 0 : Va[m]) ?? m;
2348
+ const S = (ja == null ? void 0 : ja[m]) ?? m;
2349
2349
  return g[S] = { [d]: x }, g;
2350
2350
  },
2351
2351
  {}
@@ -2729,7 +2729,7 @@ const Rt = (e, t, n) => {
2729
2729
  }, _x = (e) => (t) => {
2730
2730
  const n = Rt(t, e);
2731
2731
  return kx(n) < 128 ? "dark" : "light";
2732
- }, $x = (e) => (t) => _x(e)(t) === "dark", Xa = (e, t) => (n) => {
2732
+ }, $x = (e) => (t) => _x(e)(t) === "dark", Ja = (e, t) => (n) => {
2733
2733
  const r = Rt(n, e);
2734
2734
  return Ax(r, 1 - t);
2735
2735
  };
@@ -2866,7 +2866,7 @@ const { definePartsStyle: Ii, defineMultiStyleConfig: jx } = Ye(RS.keys), Kt = t
2866
2866
  }
2867
2867
  });
2868
2868
  function Ld(e) {
2869
- const { theme: t, colorScheme: n } = e, r = Xa(`${n}.200`, 0.16)(t);
2869
+ const { theme: t, colorScheme: n } = e, r = Ja(`${n}.200`, 0.16)(t);
2870
2870
  return {
2871
2871
  light: `colors.${n}.100`,
2872
2872
  dark: r
@@ -3005,19 +3005,19 @@ const Gx = Ii((e) => {
3005
3005
  function Dt(e, ...t) {
3006
3006
  return Jx(e) ? e(...t) : e;
3007
3007
  }
3008
- const { definePartsStyle: Iy, defineMultiStyleConfig: Qx } = Ye(DS.keys), ja = te("avatar-border-color"), qo = te("avatar-bg"), di = te("avatar-font-size"), Ja = te("avatar-size"), ew = {
3008
+ const { definePartsStyle: Iy, defineMultiStyleConfig: Qx } = Ye(DS.keys), Ua = te("avatar-border-color"), qo = te("avatar-bg"), di = te("avatar-font-size"), Qa = te("avatar-size"), ew = {
3009
3009
  borderRadius: "full",
3010
3010
  border: "0.2em solid",
3011
- borderColor: ja.reference,
3012
- [ja.variable]: "white",
3011
+ borderColor: Ua.reference,
3012
+ [Ua.variable]: "white",
3013
3013
  _dark: {
3014
- [ja.variable]: "colors.gray.800"
3014
+ [Ua.variable]: "colors.gray.800"
3015
3015
  }
3016
3016
  }, tw = {
3017
3017
  bg: qo.reference,
3018
3018
  fontSize: di.reference,
3019
- width: Ja.reference,
3020
- height: Ja.reference,
3019
+ width: Qa.reference,
3020
+ height: Qa.reference,
3021
3021
  lineHeight: "1",
3022
3022
  [qo.variable]: "colors.gray.200",
3023
3023
  _dark: {
@@ -3030,16 +3030,16 @@ const { definePartsStyle: Iy, defineMultiStyleConfig: Qx } = Ye(DS.keys), ja = t
3030
3030
  bg: qo.reference,
3031
3031
  fontSize: di.reference,
3032
3032
  color: o,
3033
- borderColor: ja.reference,
3033
+ borderColor: Ua.reference,
3034
3034
  verticalAlign: "top",
3035
- width: Ja.reference,
3036
- height: Ja.reference,
3035
+ width: Qa.reference,
3036
+ height: Qa.reference,
3037
3037
  "&:not([data-loaded])": {
3038
3038
  [qo.variable]: r
3039
3039
  },
3040
- [ja.variable]: "colors.white",
3040
+ [Ua.variable]: "colors.white",
3041
3041
  _dark: {
3042
- [ja.variable]: "colors.gray.800"
3042
+ [Ua.variable]: "colors.gray.800"
3043
3043
  }
3044
3044
  };
3045
3045
  }, rw = {
@@ -3055,11 +3055,11 @@ function or(e) {
3055
3055
  const t = e !== "100%" ? Oy[e] : void 0;
3056
3056
  return Iy({
3057
3057
  container: {
3058
- [Ja.variable]: t ?? e,
3058
+ [Qa.variable]: t ?? e,
3059
3059
  [di.variable]: `calc(${t ?? e} / 2.5)`
3060
3060
  },
3061
3061
  excessLabel: {
3062
- [Ja.variable]: t ?? e,
3062
+ [Qa.variable]: t ?? e,
3063
3063
  [di.variable]: `calc(${t ?? e} / 2.5)`
3064
3064
  }
3065
3065
  });
@@ -3079,43 +3079,43 @@ const ow = {
3079
3079
  defaultProps: {
3080
3080
  size: "md"
3081
3081
  }
3082
- }), lt = ES("badge", ["bg", "color", "shadow"]), sw = {
3082
+ }), ct = ES("badge", ["bg", "color", "shadow"]), sw = {
3083
3083
  px: 1,
3084
3084
  textTransform: "uppercase",
3085
3085
  fontSize: "xs",
3086
3086
  borderRadius: "sm",
3087
3087
  fontWeight: "bold",
3088
- bg: lt.bg.reference,
3089
- color: lt.color.reference,
3090
- boxShadow: lt.shadow.reference
3088
+ bg: ct.bg.reference,
3089
+ color: ct.color.reference,
3090
+ boxShadow: ct.shadow.reference
3091
3091
  }, lw = (e) => {
3092
- const { colorScheme: t, theme: n } = e, r = Xa(`${t}.500`, 0.6)(n);
3092
+ const { colorScheme: t, theme: n } = e, r = Ja(`${t}.500`, 0.6)(n);
3093
3093
  return {
3094
- [lt.bg.variable]: `colors.${t}.500`,
3095
- [lt.color.variable]: "colors.white",
3094
+ [ct.bg.variable]: `colors.${t}.500`,
3095
+ [ct.color.variable]: "colors.white",
3096
3096
  _dark: {
3097
- [lt.bg.variable]: r,
3098
- [lt.color.variable]: "colors.whiteAlpha.800"
3097
+ [ct.bg.variable]: r,
3098
+ [ct.color.variable]: "colors.whiteAlpha.800"
3099
3099
  }
3100
3100
  };
3101
3101
  }, cw = (e) => {
3102
- const { colorScheme: t, theme: n } = e, r = Xa(`${t}.200`, 0.16)(n);
3102
+ const { colorScheme: t, theme: n } = e, r = Ja(`${t}.200`, 0.16)(n);
3103
3103
  return {
3104
- [lt.bg.variable]: `colors.${t}.100`,
3105
- [lt.color.variable]: `colors.${t}.800`,
3104
+ [ct.bg.variable]: `colors.${t}.100`,
3105
+ [ct.color.variable]: `colors.${t}.800`,
3106
3106
  _dark: {
3107
- [lt.bg.variable]: r,
3108
- [lt.color.variable]: `colors.${t}.200`
3107
+ [ct.bg.variable]: r,
3108
+ [ct.color.variable]: `colors.${t}.200`
3109
3109
  }
3110
3110
  };
3111
3111
  }, uw = (e) => {
3112
- const { colorScheme: t, theme: n } = e, r = Xa(`${t}.200`, 0.8)(n);
3112
+ const { colorScheme: t, theme: n } = e, r = Ja(`${t}.200`, 0.8)(n);
3113
3113
  return {
3114
- [lt.color.variable]: `colors.${t}.500`,
3114
+ [ct.color.variable]: `colors.${t}.500`,
3115
3115
  _dark: {
3116
- [lt.color.variable]: r
3116
+ [ct.color.variable]: r
3117
3117
  },
3118
- [lt.shadow.variable]: `inset 0 0 0px 1px ${lt.color.reference}`
3118
+ [ct.shadow.variable]: `inset 0 0 0px 1px ${ct.color.reference}`
3119
3119
  };
3120
3120
  }, dw = {
3121
3121
  solid: lw,
@@ -3178,7 +3178,7 @@ const ow = {
3178
3178
  },
3179
3179
  _active: { bg: oe("gray.200", "whiteAlpha.300")(e) }
3180
3180
  };
3181
- const r = Xa(`${t}.200`, 0.12)(n), a = Xa(`${t}.200`, 0.24)(n);
3181
+ const r = Ja(`${t}.200`, 0.12)(n), a = Ja(`${t}.200`, 0.24)(n);
3182
3182
  return {
3183
3183
  color: oe(`${t}.600`, `${t}.200`)(e),
3184
3184
  bg: "transparent",
@@ -3515,9 +3515,9 @@ const ow = {
3515
3515
  fontSize: "sm",
3516
3516
  px: "0.2em",
3517
3517
  borderRadius: "sm",
3518
- bg: lt.bg.reference,
3519
- color: lt.color.reference,
3520
- boxShadow: lt.shadow.reference
3518
+ bg: ct.bg.reference,
3519
+ color: ct.color.reference,
3520
+ boxShadow: ct.shadow.reference
3521
3521
  }, Gw = {
3522
3522
  baseStyle: Uw,
3523
3523
  variants: Vw,
@@ -3546,7 +3546,7 @@ const ow = {
3546
3546
  variant: "solid"
3547
3547
  }
3548
3548
  }, { definePartsStyle: Du, defineMultiStyleConfig: Jw } = Ye(LS.keys), kc = te("drawer-bg"), _c = te("drawer-box-shadow");
3549
- function Ca(e) {
3549
+ function Aa(e) {
3550
3550
  return Du(e === "full" ? {
3551
3551
  dialog: { maxW: "100vw", h: "100vh" }
3552
3552
  } : {
@@ -3602,12 +3602,12 @@ const Qw = {
3602
3602
  body: aC,
3603
3603
  footer: oC
3604
3604
  })), sC = {
3605
- xs: Ca("xs"),
3606
- sm: Ca("md"),
3607
- md: Ca("lg"),
3608
- lg: Ca("2xl"),
3609
- xl: Ca("4xl"),
3610
- full: Ca("full")
3605
+ xs: Aa("xs"),
3606
+ sm: Aa("md"),
3607
+ md: Aa("lg"),
3608
+ lg: Aa("2xl"),
3609
+ xl: Aa("4xl"),
3610
+ full: Aa("full")
3611
3611
  }, lC = Jw({
3612
3612
  baseStyle: iC,
3613
3613
  sizes: sC,
@@ -3641,20 +3641,20 @@ const Qw = {
3641
3641
  textarea: hC
3642
3642
  }), mC = uC({
3643
3643
  baseStyle: pC
3644
- }), { definePartsStyle: gC, defineMultiStyleConfig: yC } = Ye(VS.keys), Ua = te("form-control-color"), bC = {
3644
+ }), { definePartsStyle: gC, defineMultiStyleConfig: yC } = Ye(VS.keys), Ga = te("form-control-color"), bC = {
3645
3645
  marginStart: "1",
3646
- [Ua.variable]: "colors.red.500",
3646
+ [Ga.variable]: "colors.red.500",
3647
3647
  _dark: {
3648
- [Ua.variable]: "colors.red.300"
3648
+ [Ga.variable]: "colors.red.300"
3649
3649
  },
3650
- color: Ua.reference
3650
+ color: Ga.reference
3651
3651
  }, vC = {
3652
3652
  mt: "2",
3653
- [Ua.variable]: "colors.gray.600",
3653
+ [Ga.variable]: "colors.gray.600",
3654
3654
  _dark: {
3655
- [Ua.variable]: "colors.whiteAlpha.600"
3655
+ [Ga.variable]: "colors.whiteAlpha.600"
3656
3656
  },
3657
- color: Ua.reference,
3657
+ color: Ga.reference,
3658
3658
  lineHeight: "normal",
3659
3659
  fontSize: "sm"
3660
3660
  }, SC = gC({
@@ -3666,22 +3666,22 @@ const Qw = {
3666
3666
  helperText: vC
3667
3667
  }), xC = yC({
3668
3668
  baseStyle: SC
3669
- }), { definePartsStyle: wC, defineMultiStyleConfig: CC } = Ye(jS.keys), Ga = te("form-error-color"), AC = {
3670
- [Ga.variable]: "colors.red.500",
3669
+ }), { definePartsStyle: wC, defineMultiStyleConfig: CC } = Ye(jS.keys), Wa = te("form-error-color"), AC = {
3670
+ [Wa.variable]: "colors.red.500",
3671
3671
  _dark: {
3672
- [Ga.variable]: "colors.red.300"
3672
+ [Wa.variable]: "colors.red.300"
3673
3673
  },
3674
- color: Ga.reference,
3674
+ color: Wa.reference,
3675
3675
  mt: "2",
3676
3676
  fontSize: "sm",
3677
3677
  lineHeight: "normal"
3678
3678
  }, TC = {
3679
3679
  marginEnd: "0.5em",
3680
- [Ga.variable]: "colors.red.500",
3680
+ [Wa.variable]: "colors.red.500",
3681
3681
  _dark: {
3682
- [Ga.variable]: "colors.red.300"
3682
+ [Wa.variable]: "colors.red.300"
3683
3683
  },
3684
- color: Ga.reference
3684
+ color: Wa.reference
3685
3685
  }, EC = wC({
3686
3686
  text: AC,
3687
3687
  icon: TC
@@ -3742,19 +3742,19 @@ const Qw = {
3742
3742
  defaultProps: {
3743
3743
  size: "xl"
3744
3744
  }
3745
- }, { definePartsStyle: Wn, defineMultiStyleConfig: OC } = Ye(US.keys), _a = te("input-height"), $a = te("input-font-size"), Fa = te("input-padding"), Ma = te("input-border-radius"), IC = Wn({
3745
+ }, { definePartsStyle: Wn, defineMultiStyleConfig: OC } = Ye(US.keys), $a = te("input-height"), Fa = te("input-font-size"), Ma = te("input-padding"), Oa = te("input-border-radius"), IC = Wn({
3746
3746
  addon: {
3747
- height: _a.reference,
3748
- fontSize: $a.reference,
3749
- px: Fa.reference,
3750
- borderRadius: Ma.reference
3747
+ height: $a.reference,
3748
+ fontSize: Fa.reference,
3749
+ px: Ma.reference,
3750
+ borderRadius: Oa.reference
3751
3751
  },
3752
3752
  field: {
3753
3753
  width: "100%",
3754
- height: _a.reference,
3755
- fontSize: $a.reference,
3756
- px: Fa.reference,
3757
- borderRadius: Ma.reference,
3754
+ height: $a.reference,
3755
+ fontSize: Fa.reference,
3756
+ px: Ma.reference,
3757
+ borderRadius: Oa.reference,
3758
3758
  minWidth: 0,
3759
3759
  outline: 0,
3760
3760
  position: "relative",
@@ -3768,28 +3768,28 @@ const Qw = {
3768
3768
  }
3769
3769
  }), ir = {
3770
3770
  lg: {
3771
- [$a.variable]: "fontSizes.lg",
3772
- [Fa.variable]: "space.4",
3773
- [Ma.variable]: "radii.md",
3774
- [_a.variable]: "sizes.12"
3771
+ [Fa.variable]: "fontSizes.lg",
3772
+ [Ma.variable]: "space.4",
3773
+ [Oa.variable]: "radii.md",
3774
+ [$a.variable]: "sizes.12"
3775
3775
  },
3776
3776
  md: {
3777
- [$a.variable]: "fontSizes.md",
3778
- [Fa.variable]: "space.4",
3779
- [Ma.variable]: "radii.md",
3780
- [_a.variable]: "sizes.10"
3777
+ [Fa.variable]: "fontSizes.md",
3778
+ [Ma.variable]: "space.4",
3779
+ [Oa.variable]: "radii.md",
3780
+ [$a.variable]: "sizes.10"
3781
3781
  },
3782
3782
  sm: {
3783
- [$a.variable]: "fontSizes.sm",
3784
- [Fa.variable]: "space.3",
3785
- [Ma.variable]: "radii.sm",
3786
- [_a.variable]: "sizes.8"
3783
+ [Fa.variable]: "fontSizes.sm",
3784
+ [Ma.variable]: "space.3",
3785
+ [Oa.variable]: "radii.sm",
3786
+ [$a.variable]: "sizes.8"
3787
3787
  },
3788
3788
  xs: {
3789
- [$a.variable]: "fontSizes.xs",
3790
- [Fa.variable]: "space.2",
3791
- [Ma.variable]: "radii.sm",
3792
- [_a.variable]: "sizes.6"
3789
+ [Fa.variable]: "fontSizes.xs",
3790
+ [Ma.variable]: "space.2",
3791
+ [Oa.variable]: "radii.sm",
3792
+ [$a.variable]: "sizes.6"
3793
3793
  }
3794
3794
  }, RC = {
3795
3795
  lg: Wn({
@@ -4736,7 +4736,7 @@ const i5 = {
4736
4736
  "separator",
4737
4737
  "icon",
4738
4738
  "number"
4739
- ]), Gn = te("stepper-indicator-size"), Oa = te("stepper-icon-size"), Ia = te("stepper-title-font-size"), Uo = te("stepper-description-font-size"), _o = te("stepper-accent-color"), R5 = jo(({ colorScheme: e }) => ({
4739
+ ]), Gn = te("stepper-indicator-size"), Ia = te("stepper-icon-size"), Ra = te("stepper-title-font-size"), Uo = te("stepper-description-font-size"), _o = te("stepper-accent-color"), R5 = jo(({ colorScheme: e }) => ({
4740
4740
  stepper: {
4741
4741
  display: "flex",
4742
4742
  justifyContent: "space-between",
@@ -4755,7 +4755,7 @@ const i5 = {
4755
4755
  }
4756
4756
  },
4757
4757
  title: {
4758
- fontSize: Ia.reference,
4758
+ fontSize: Ra.reference,
4759
4759
  fontWeight: "medium"
4760
4760
  },
4761
4761
  description: {
@@ -4763,7 +4763,7 @@ const i5 = {
4763
4763
  color: "chakra-subtle-text"
4764
4764
  },
4765
4765
  number: {
4766
- fontSize: Ia.reference
4766
+ fontSize: Ra.reference
4767
4767
  },
4768
4768
  step: {
4769
4769
  flexShrink: 0,
@@ -4780,8 +4780,8 @@ const i5 = {
4780
4780
  },
4781
4781
  icon: {
4782
4782
  flexShrink: 0,
4783
- width: Oa.reference,
4784
- height: Oa.reference
4783
+ width: Ia.reference,
4784
+ height: Ia.reference
4785
4785
  },
4786
4786
  indicator: {
4787
4787
  flexShrink: 0,
@@ -4829,32 +4829,32 @@ const i5 = {
4829
4829
  xs: jo({
4830
4830
  stepper: {
4831
4831
  [Gn.variable]: "sizes.4",
4832
- [Oa.variable]: "sizes.3",
4833
- [Ia.variable]: "fontSizes.xs",
4832
+ [Ia.variable]: "sizes.3",
4833
+ [Ra.variable]: "fontSizes.xs",
4834
4834
  [Uo.variable]: "fontSizes.xs"
4835
4835
  }
4836
4836
  }),
4837
4837
  sm: jo({
4838
4838
  stepper: {
4839
4839
  [Gn.variable]: "sizes.6",
4840
- [Oa.variable]: "sizes.4",
4841
- [Ia.variable]: "fontSizes.sm",
4840
+ [Ia.variable]: "sizes.4",
4841
+ [Ra.variable]: "fontSizes.sm",
4842
4842
  [Uo.variable]: "fontSizes.xs"
4843
4843
  }
4844
4844
  }),
4845
4845
  md: jo({
4846
4846
  stepper: {
4847
4847
  [Gn.variable]: "sizes.8",
4848
- [Oa.variable]: "sizes.5",
4849
- [Ia.variable]: "fontSizes.md",
4848
+ [Ia.variable]: "sizes.5",
4849
+ [Ra.variable]: "fontSizes.md",
4850
4850
  [Uo.variable]: "fontSizes.sm"
4851
4851
  }
4852
4852
  }),
4853
4853
  lg: jo({
4854
4854
  stepper: {
4855
4855
  [Gn.variable]: "sizes.10",
4856
- [Oa.variable]: "sizes.6",
4857
- [Ia.variable]: "fontSizes.lg",
4856
+ [Ia.variable]: "sizes.6",
4857
+ [Ra.variable]: "fontSizes.lg",
4858
4858
  [Uo.variable]: "fontSizes.md"
4859
4859
  }
4860
4860
  })
@@ -4937,7 +4937,7 @@ const i5 = {
4937
4937
  size: "md",
4938
4938
  colorScheme: "blue"
4939
4939
  }
4940
- }), { defineMultiStyleConfig: G5, definePartsStyle: Wa } = Ye(tx.keys), W5 = Wa({
4940
+ }), { defineMultiStyleConfig: G5, definePartsStyle: Ha } = Ye(tx.keys), W5 = Ha({
4941
4941
  table: {
4942
4942
  fontVariantNumeric: "lining-nums tabular-nums",
4943
4943
  borderCollapse: "collapse",
@@ -4963,7 +4963,7 @@ const i5 = {
4963
4963
  "&[data-is-numeric=true]": {
4964
4964
  textAlign: "end"
4965
4965
  }
4966
- }, H5 = Wa((e) => {
4966
+ }, H5 = Ha((e) => {
4967
4967
  const { colorScheme: t } = e;
4968
4968
  return {
4969
4969
  th: {
@@ -4988,7 +4988,7 @@ const i5 = {
4988
4988
  }
4989
4989
  }
4990
4990
  };
4991
- }), K5 = Wa((e) => {
4991
+ }), K5 = Ha((e) => {
4992
4992
  const { colorScheme: t } = e;
4993
4993
  return {
4994
4994
  th: {
@@ -5031,7 +5031,7 @@ const i5 = {
5031
5031
  striped: K5,
5032
5032
  unstyled: {}
5033
5033
  }, q5 = {
5034
- sm: Wa({
5034
+ sm: Ha({
5035
5035
  th: {
5036
5036
  px: "4",
5037
5037
  py: "1",
@@ -5050,7 +5050,7 @@ const i5 = {
5050
5050
  fontSize: "xs"
5051
5051
  }
5052
5052
  }),
5053
- md: Wa({
5053
+ md: Ha({
5054
5054
  th: {
5055
5055
  px: "6",
5056
5056
  py: "3",
@@ -5068,7 +5068,7 @@ const i5 = {
5068
5068
  fontSize: "sm"
5069
5069
  }
5070
5070
  }),
5071
- lg: Wa({
5071
+ lg: Ha({
5072
5072
  th: {
5073
5073
  px: "8",
5074
5074
  py: "4",
@@ -5301,9 +5301,9 @@ const i5 = {
5301
5301
  fontWeight: "medium",
5302
5302
  lineHeight: 1.2,
5303
5303
  outline: 0,
5304
- [lp.variable]: lt.color.reference,
5305
- [sp.variable]: lt.bg.reference,
5306
- [Vc.variable]: lt.shadow.reference,
5304
+ [lp.variable]: ct.color.reference,
5305
+ [sp.variable]: ct.bg.reference,
5306
+ [Vc.variable]: ct.shadow.reference,
5307
5307
  color: lp.reference,
5308
5308
  bg: sp.reference,
5309
5309
  boxShadow: Vc.reference,
@@ -5859,30 +5859,30 @@ function gs(e, t) {
5859
5859
  function tE(e, t) {
5860
5860
  return e.map(t).join("");
5861
5861
  }
5862
- var Al = 1, Qa = 1, Hy = 0, Ut = 0, ut = 0, so = "";
5862
+ var Al = 1, eo = 1, Hy = 0, Ut = 0, dt = 0, lo = "";
5863
5863
  function Tl(e, t, n, r, a, o, i) {
5864
- return { value: e, root: t, parent: n, type: r, props: a, children: o, line: Al, column: Qa, length: i, return: "" };
5864
+ return { value: e, root: t, parent: n, type: r, props: a, children: o, line: Al, column: eo, length: i, return: "" };
5865
5865
  }
5866
5866
  function Fo(e, t) {
5867
5867
  return JT(Tl("", null, null, "", null, null, 0), e, { length: -e.length }, t);
5868
5868
  }
5869
5869
  function nE() {
5870
- return ut;
5870
+ return dt;
5871
5871
  }
5872
5872
  function rE() {
5873
- return ut = Ut > 0 ? Tt(so, --Ut) : 0, Qa--, ut === 10 && (Qa = 1, Al--), ut;
5873
+ return dt = Ut > 0 ? Tt(lo, --Ut) : 0, eo--, dt === 10 && (eo = 1, Al--), dt;
5874
5874
  }
5875
5875
  function Zt() {
5876
- return ut = Ut < Hy ? Tt(so, Ut++) : 0, Qa++, ut === 10 && (Qa = 1, Al++), ut;
5876
+ return dt = Ut < Hy ? Tt(lo, Ut++) : 0, eo++, dt === 10 && (eo = 1, Al++), dt;
5877
5877
  }
5878
5878
  function _n() {
5879
- return Tt(so, Ut);
5879
+ return Tt(lo, Ut);
5880
5880
  }
5881
5881
  function js() {
5882
5882
  return Ut;
5883
5883
  }
5884
5884
  function Ri(e, t) {
5885
- return hi(so, e, t);
5885
+ return hi(lo, e, t);
5886
5886
  }
5887
5887
  function pi(e) {
5888
5888
  switch (e) {
@@ -5917,32 +5917,32 @@ function pi(e) {
5917
5917
  return 0;
5918
5918
  }
5919
5919
  function Ky(e) {
5920
- return Al = Qa = 1, Hy = Cn(so = e), Ut = 0, [];
5920
+ return Al = eo = 1, Hy = Cn(lo = e), Ut = 0, [];
5921
5921
  }
5922
5922
  function Zy(e) {
5923
- return so = "", e;
5923
+ return lo = "", e;
5924
5924
  }
5925
5925
  function Us(e) {
5926
5926
  return Wy(Ri(Ut - 1, zu(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
5927
5927
  }
5928
5928
  function aE(e) {
5929
- for (; (ut = _n()) && ut < 33; )
5929
+ for (; (dt = _n()) && dt < 33; )
5930
5930
  Zt();
5931
- return pi(e) > 2 || pi(ut) > 3 ? "" : " ";
5931
+ return pi(e) > 2 || pi(dt) > 3 ? "" : " ";
5932
5932
  }
5933
5933
  function oE(e, t) {
5934
- for (; --t && Zt() && !(ut < 48 || ut > 102 || ut > 57 && ut < 65 || ut > 70 && ut < 97); )
5934
+ for (; --t && Zt() && !(dt < 48 || dt > 102 || dt > 57 && dt < 65 || dt > 70 && dt < 97); )
5935
5935
  ;
5936
5936
  return Ri(e, js() + (t < 6 && _n() == 32 && Zt() == 32));
5937
5937
  }
5938
5938
  function zu(e) {
5939
5939
  for (; Zt(); )
5940
- switch (ut) {
5940
+ switch (dt) {
5941
5941
  case e:
5942
5942
  return Ut;
5943
5943
  case 34:
5944
5944
  case 39:
5945
- e !== 34 && e !== 39 && zu(ut);
5945
+ e !== 34 && e !== 39 && zu(dt);
5946
5946
  break;
5947
5947
  case 40:
5948
5948
  e === 41 && zu(e);
@@ -5954,8 +5954,8 @@ function zu(e) {
5954
5954
  return Ut;
5955
5955
  }
5956
5956
  function iE(e, t) {
5957
- for (; Zt() && e + ut !== 47 + 10; )
5958
- if (e + ut === 42 + 42 && _n() === 47)
5957
+ for (; Zt() && e + dt !== 47 + 10; )
5958
+ if (e + dt === 42 + 42 && _n() === 47)
5959
5959
  break;
5960
5960
  return "/*" + Ri(t, Ut - 1) + "*" + Cl(e === 47 ? e : Zt());
5961
5961
  }
@@ -6068,7 +6068,7 @@ function cE(e, t, n) {
6068
6068
  function up(e, t, n, r) {
6069
6069
  return Tl(e, t, n, Ud, hi(e, 0, r), hi(e, r + 1, -1), r);
6070
6070
  }
6071
- function Ha(e, t) {
6071
+ function Ka(e, t) {
6072
6072
  for (var n = "", r = Gd(e), a = 0; a < r; a++)
6073
6073
  n += t(e[a], a, e, t) || "";
6074
6074
  return n;
@@ -6084,11 +6084,11 @@ function uE(e, t, n, r) {
6084
6084
  case Uy:
6085
6085
  return "";
6086
6086
  case Gy:
6087
- return e.return = e.value + "{" + Ha(e.children, r) + "}";
6087
+ return e.return = e.value + "{" + Ka(e.children, r) + "}";
6088
6088
  case jd:
6089
6089
  e.value = e.props.join(",");
6090
6090
  }
6091
- return Cn(n = Ha(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
6091
+ return Cn(n = Ka(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
6092
6092
  }
6093
6093
  function dE(e) {
6094
6094
  var t = Gd(e);
@@ -6280,7 +6280,7 @@ var bE = function(t, n, r, a) {
6280
6280
  t.return = qy(t.value, t.length);
6281
6281
  break;
6282
6282
  case Gy:
6283
- return Ha([Fo(t, {
6283
+ return Ka([Fo(t, {
6284
6284
  value: Oe(t.value, "@", "@" + Me)
6285
6285
  })], a);
6286
6286
  case jd:
@@ -6289,11 +6289,11 @@ var bE = function(t, n, r, a) {
6289
6289
  switch (eE(o, /(::plac\w+|:read-\w+)/)) {
6290
6290
  case ":read-only":
6291
6291
  case ":read-write":
6292
- return Ha([Fo(t, {
6292
+ return Ka([Fo(t, {
6293
6293
  props: [Oe(o, /:(read-\w+)/, ":" + il + "$1")]
6294
6294
  })], a);
6295
6295
  case "::placeholder":
6296
- return Ha([Fo(t, {
6296
+ return Ka([Fo(t, {
6297
6297
  props: [Oe(o, /:(plac\w+)/, ":" + Me + "input-$1")]
6298
6298
  }), Fo(t, {
6299
6299
  props: [Oe(o, /:(plac\w+)/, ":" + il + "$1")]
@@ -6329,7 +6329,7 @@ var bE = function(t, n, r, a) {
6329
6329
  var u, d = [uE, fE(function(m) {
6330
6330
  u.insert(m);
6331
6331
  })], f = dE(c.concat(a, d)), p = function(v) {
6332
- return Ha(lE(v), f);
6332
+ return Ka(lE(v), f);
6333
6333
  };
6334
6334
  l = function(v, x, S, b) {
6335
6335
  u = S, p(v ? v + "{" + x.styles + "}" : x.styles), b && (g.inserted[x.name] = !0);
@@ -6487,7 +6487,7 @@ function wE() {
6487
6487
  }
6488
6488
  }
6489
6489
  }
6490
- var E = l, k = c, $ = s, R = i, D = t, se = u, G = r, ge = g, W = p, fe = n, Se = o, z = a, re = d, Ve = !1;
6490
+ var E = l, k = c, $ = s, R = i, D = t, se = u, G = r, ge = g, H = p, fe = n, Se = o, z = a, re = d, Ve = !1;
6491
6491
  function je(B) {
6492
6492
  return Ve || (Ve = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), O(B) || T(B) === l;
6493
6493
  }
@@ -6497,7 +6497,7 @@ function wE() {
6497
6497
  function F(B) {
6498
6498
  return T(B) === s;
6499
6499
  }
6500
- function H(B) {
6500
+ function W(B) {
6501
6501
  return T(B) === i;
6502
6502
  }
6503
6503
  function N(B) {
@@ -6527,7 +6527,7 @@ function wE() {
6527
6527
  function Pe(B) {
6528
6528
  return T(B) === d;
6529
6529
  }
6530
- Le.AsyncMode = E, Le.ConcurrentMode = k, Le.ContextConsumer = $, Le.ContextProvider = R, Le.Element = D, Le.ForwardRef = se, Le.Fragment = G, Le.Lazy = ge, Le.Memo = W, Le.Portal = fe, Le.Profiler = Se, Le.StrictMode = z, Le.Suspense = re, Le.isAsyncMode = je, Le.isConcurrentMode = O, Le.isContextConsumer = F, Le.isContextProvider = H, Le.isElement = N, Le.isForwardRef = Y, Le.isFragment = ae, Le.isLazy = K, Le.isMemo = Q, Le.isPortal = le, Le.isProfiler = ie, Le.isStrictMode = Z, Le.isSuspense = Pe, Le.isValidElementType = b, Le.typeOf = T;
6530
+ Le.AsyncMode = E, Le.ConcurrentMode = k, Le.ContextConsumer = $, Le.ContextProvider = R, Le.Element = D, Le.ForwardRef = se, Le.Fragment = G, Le.Lazy = ge, Le.Memo = H, Le.Portal = fe, Le.Profiler = Se, Le.StrictMode = z, Le.Suspense = re, Le.isAsyncMode = je, Le.isConcurrentMode = O, Le.isContextConsumer = F, Le.isContextProvider = W, Le.isElement = N, Le.isForwardRef = Y, Le.isFragment = ae, Le.isLazy = K, Le.isMemo = Q, Le.isPortal = le, Le.isProfiler = ie, Le.isStrictMode = Z, Le.isSuspense = Pe, Le.isValidElementType = b, Le.typeOf = T;
6531
6531
  }()), Le;
6532
6532
  }
6533
6533
  process.env.NODE_ENV === "production" ? Vu.exports = xE() : Vu.exports = wE();
@@ -6800,7 +6800,7 @@ var DE = function() {
6800
6800
  var a = nt(Zd);
6801
6801
  return t(n, a, r);
6802
6802
  });
6803
- }, eo = /* @__PURE__ */ L.createContext({}), BE = function(t, n) {
6803
+ }, to = /* @__PURE__ */ L.createContext({}), BE = function(t, n) {
6804
6804
  if (typeof n == "function") {
6805
6805
  var r = n(t);
6806
6806
  return r;
@@ -6811,8 +6811,8 @@ var DE = function() {
6811
6811
  return BE(e, t);
6812
6812
  });
6813
6813
  }), LE = function(t) {
6814
- var n = L.useContext(eo);
6815
- return t.theme !== n && (n = NE(n)(t.theme)), /* @__PURE__ */ L.createElement(eo.Provider, {
6814
+ var n = L.useContext(to);
6815
+ return t.theme !== n && (n = NE(n)(t.theme)), /* @__PURE__ */ L.createElement(to.Provider, {
6816
6816
  value: n
6817
6817
  }, t.children);
6818
6818
  }, Yd = {}.hasOwnProperty, ju = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", zE = function(t, n) {
@@ -6830,7 +6830,7 @@ var DE = function() {
6830
6830
  typeof r == "string" && t.registered[r] !== void 0 && (r = t.registered[r]);
6831
6831
  var a = e[ju], o = [r], i = "";
6832
6832
  typeof e.className == "string" ? i = Jy(t.registered, o, e.className) : e.className != null && (i = e.className + " ");
6833
- var s = El(o, void 0, L.useContext(eo));
6833
+ var s = El(o, void 0, L.useContext(to));
6834
6834
  i += t.key + "-" + s.name;
6835
6835
  var l = {};
6836
6836
  for (var c in e)
@@ -6855,7 +6855,7 @@ var DE = function() {
6855
6855
  t || (t = e.JSX || (e.JSX = {}));
6856
6856
  })(vp || (vp = {}));
6857
6857
  var Pl = /* @__PURE__ */ qd(function(e, t) {
6858
- var n = e.styles, r = El([n], void 0, L.useContext(eo)), a = L.useRef();
6858
+ var n = e.styles, r = El([n], void 0, L.useContext(to)), a = L.useRef();
6859
6859
  return bp(function() {
6860
6860
  var o = t.key + "-global", i = new t.sheet.constructor({
6861
6861
  key: o,
@@ -7446,13 +7446,13 @@ function iP(e, t, n, r) {
7446
7446
  c && (c.updateFeatures(), !u.current && c.animationState && c.animationState.animateChanges(), u.current && (u.current = !1, window.HandoffComplete = !0));
7447
7447
  }), c;
7448
7448
  }
7449
- function Ra(e) {
7449
+ function Da(e) {
7450
7450
  return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
7451
7451
  }
7452
7452
  function sP(e, t, n) {
7453
7453
  return de(
7454
7454
  (r) => {
7455
- r && e.mount && e.mount(r), t && (r ? t.mount(r) : t.unmount()), n && (typeof n == "function" ? n(r) : Ra(n) && (n.current = r));
7455
+ r && e.mount && e.mount(r), t && (r ? t.mount(r) : t.unmount()), n && (typeof n == "function" ? n(r) : Da(n) && (n.current = r));
7456
7456
  },
7457
7457
  /**
7458
7458
  * Only pass a new ref callback to React if we've received a visual element
@@ -8503,14 +8503,14 @@ const Wu = {
8503
8503
  test: gf("#"),
8504
8504
  parse: x6,
8505
8505
  transform: Dr.transform
8506
- }, Da = {
8506
+ }, Ba = {
8507
8507
  test: gf("hsl", "hue"),
8508
8508
  parse: z0("hue", "saturation", "lightness"),
8509
8509
  transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + $n.transform(ti(t)) + ", " + $n.transform(ti(n)) + ", " + ti(ei.transform(r)) + ")"
8510
8510
  }, It = {
8511
- test: (e) => Dr.test(e) || Wu.test(e) || Da.test(e),
8512
- parse: (e) => Dr.test(e) ? Dr.parse(e) : Da.test(e) ? Da.parse(e) : Wu.parse(e),
8513
- transform: (e) => Ni(e) ? e : e.hasOwnProperty("red") ? Dr.transform(e) : Da.transform(e)
8511
+ test: (e) => Dr.test(e) || Wu.test(e) || Ba.test(e),
8512
+ parse: (e) => Dr.test(e) ? Dr.parse(e) : Ba.test(e) ? Ba.parse(e) : Wu.parse(e),
8513
+ transform: (e) => Ni(e) ? e : e.hasOwnProperty("red") ? Dr.transform(e) : Ba.transform(e)
8514
8514
  }, at = (e, t, n) => -n * e + n * t + e;
8515
8515
  function Zc(e, t, n) {
8516
8516
  return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
@@ -8534,12 +8534,12 @@ function w6({ hue: e, saturation: t, lightness: n, alpha: r }) {
8534
8534
  const qc = (e, t, n) => {
8535
8535
  const r = e * e;
8536
8536
  return Math.sqrt(Math.max(0, n * (t * t - r) + r));
8537
- }, C6 = [Wu, Dr, Da], A6 = (e) => C6.find((t) => t.test(e));
8537
+ }, C6 = [Wu, Dr, Ba], A6 = (e) => C6.find((t) => t.test(e));
8538
8538
  function Op(e) {
8539
8539
  const t = A6(e);
8540
8540
  sn(!!t, `'${e}' is not an animatable color. Use the equivalent color code instead.`);
8541
8541
  let n = t.parse(e);
8542
- return t === Da && (n = w6(n)), n;
8542
+ return t === Ba && (n = w6(n)), n;
8543
8543
  }
8544
8544
  const V0 = (e, t) => {
8545
8545
  const n = Op(e), r = Op(t), a = { ...n };
@@ -8888,25 +8888,25 @@ function vi({ autoplay: e = !0, delay: t = 0, driver: n = W6, keyframes: r, type
8888
8888
  let $ = "idle", R = null, D = null, se = null;
8889
8889
  E.calculatedDuration === null && o && (E.calculatedDuration = Lp(E));
8890
8890
  const { calculatedDuration: G } = E;
8891
- let ge = 1 / 0, W = 1 / 0;
8892
- G !== null && (ge = G + i, W = ge * (o + 1) - i);
8891
+ let ge = 1 / 0, H = 1 / 0;
8892
+ G !== null && (ge = G + i, H = ge * (o + 1) - i);
8893
8893
  let fe = 0;
8894
8894
  const Se = (F) => {
8895
8895
  if (D === null)
8896
8896
  return;
8897
- p > 0 && (D = Math.min(D, F)), p < 0 && (D = Math.min(F - W / p, D)), R !== null ? fe = R : fe = Math.round(F - D) * p;
8898
- const H = fe - t * (p >= 0 ? 1 : -1), N = p >= 0 ? H < 0 : H > W;
8899
- fe = Math.max(H, 0), $ === "finished" && R === null && (fe = W);
8897
+ p > 0 && (D = Math.min(D, F)), p < 0 && (D = Math.min(F - H / p, D)), R !== null ? fe = R : fe = Math.round(F - D) * p;
8898
+ const W = fe - t * (p >= 0 ? 1 : -1), N = p >= 0 ? W < 0 : W > H;
8899
+ fe = Math.max(W, 0), $ === "finished" && R === null && (fe = H);
8900
8900
  let Y = fe, ae = E;
8901
8901
  if (o) {
8902
- const ie = Math.min(fe, W) / ge;
8902
+ const ie = Math.min(fe, H) / ge;
8903
8903
  let Z = Math.floor(ie), Pe = ie % 1;
8904
8904
  !Pe && ie >= 1 && (Pe = 1), Pe === 1 && Z--, Z = Math.min(Z, o + 1), !!(Z % 2) && (s === "reverse" ? (Pe = 1 - Pe, i && (Pe -= i / ge)) : s === "mirror" && (ae = k)), Y = mr(0, 1, Pe) * ge;
8905
8905
  }
8906
8906
  const K = N ? { done: !1, value: r[0] } : ae.next(Y);
8907
8907
  T && (K.value = T(K.value));
8908
8908
  let { done: Q } = K;
8909
- !N && G !== null && (Q = p >= 0 ? fe >= W : fe <= 0);
8909
+ !N && G !== null && (Q = p >= 0 ? fe >= H : fe <= 0);
8910
8910
  const le = R === null && ($ === "finished" || $ === "running" && Q);
8911
8911
  return d && d(K.value), le && Ve(), K;
8912
8912
  }, z = () => {
@@ -8924,8 +8924,8 @@ function vi({ autoplay: e = !0, delay: t = 0, driver: n = W6, keyframes: r, type
8924
8924
  };
8925
8925
  e && je();
8926
8926
  const O = {
8927
- then(F, H) {
8928
- return v.then(F, H);
8927
+ then(F, W) {
8928
+ return v.then(F, W);
8929
8929
  },
8930
8930
  get time() {
8931
8931
  return Fn(fe);
@@ -9611,14 +9611,14 @@ function Fk(e) {
9611
9611
  const G = Array.isArray(T) ? T : [T];
9612
9612
  let ge = G.reduce(a, {});
9613
9613
  k === !1 && (ge = {});
9614
- const { prevResolvedValues: W = {} } = b, fe = {
9615
- ...W,
9614
+ const { prevResolvedValues: H = {} } = b, fe = {
9615
+ ...H,
9616
9616
  ...ge
9617
9617
  }, Se = (z) => {
9618
9618
  D = !0, p.has(z) && (se = !0, p.delete(z)), b.needsAnimating[z] = !0;
9619
9619
  };
9620
9620
  for (const z in fe) {
9621
- const re = ge[z], Ve = W[z];
9621
+ const re = ge[z], Ve = H[z];
9622
9622
  if (g.hasOwnProperty(z))
9623
9623
  continue;
9624
9624
  let je = !1;
@@ -9893,10 +9893,10 @@ const Yp = () => ({
9893
9893
  scale: 1,
9894
9894
  origin: 0,
9895
9895
  originPoint: 0
9896
- }), Ba = () => ({
9896
+ }), Na = () => ({
9897
9897
  x: Yp(),
9898
9898
  y: Yp()
9899
- }), Xp = () => ({ min: 0, max: 0 }), ct = () => ({
9899
+ }), Xp = () => ({ min: 0, max: 0 }), ut = () => ({
9900
9900
  x: Xp(),
9901
9901
  y: Xp()
9902
9902
  });
@@ -9960,10 +9960,10 @@ function Yk(e, t, n, r = !1) {
9960
9960
  for (let s = 0; s < a; s++) {
9961
9961
  o = n[s], i = o.projectionDelta;
9962
9962
  const l = o.instance;
9963
- l && l.style && l.style.display === "contents" || (r && o.options.layoutScroll && o.scroll && o !== o.root && Na(e, {
9963
+ l && l.style && l.style.display === "contents" || (r && o.options.layoutScroll && o.scroll && o !== o.root && La(e, {
9964
9964
  x: -o.scroll.offset.x,
9965
9965
  y: -o.scroll.offset.y
9966
- }), i && (t.x *= i.x.scale, t.y *= i.y.scale, db(e, i)), r && kr(o.latestValues) && Na(e, o.latestValues));
9966
+ }), i && (t.x *= i.x.scale, t.y *= i.y.scale, db(e, i)), r && kr(o.latestValues) && La(e, o.latestValues));
9967
9967
  }
9968
9968
  t.x = em(t.x), t.y = em(t.y);
9969
9969
  }
@@ -9978,7 +9978,7 @@ function tm(e, t, [n, r, a]) {
9978
9978
  Qu(e, t[n], t[r], i, t.scale);
9979
9979
  }
9980
9980
  const Xk = ["x", "scaleX", "originX"], Jk = ["y", "scaleY", "originY"];
9981
- function Na(e, t) {
9981
+ function La(e, t) {
9982
9982
  tm(e.x, t, Xk), tm(e.y, t, Jk);
9983
9983
  }
9984
9984
  function fb(e, t) {
@@ -9991,7 +9991,7 @@ function Qk(e, t, n) {
9991
9991
  const hb = ({ current: e }) => e ? e.ownerDocument.defaultView : null, e_ = /* @__PURE__ */ new WeakMap();
9992
9992
  class t_ {
9993
9993
  constructor(t) {
9994
- this.openGlobalLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = ct(), this.visualElement = t;
9994
+ this.openGlobalLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = ut(), this.visualElement = t;
9995
9995
  }
9996
9996
  start(t, { snapToCursor: n = !1 } = {}) {
9997
9997
  const { presenceContext: r } = this.visualElement;
@@ -10070,13 +10070,13 @@ class t_ {
10070
10070
  resolveConstraints() {
10071
10071
  var t;
10072
10072
  const { dragConstraints: n, dragElastic: r } = this.getProps(), a = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : (t = this.visualElement.projection) === null || t === void 0 ? void 0 : t.layout, o = this.constraints;
10073
- n && Ra(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && a ? this.constraints = Uk(a.layoutBox, n) : this.constraints = !1, this.elastic = Kk(r), o !== this.constraints && a && this.constraints && !this.hasMutatedConstraints && rn((i) => {
10073
+ n && Da(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && a ? this.constraints = Uk(a.layoutBox, n) : this.constraints = !1, this.elastic = Kk(r), o !== this.constraints && a && this.constraints && !this.hasMutatedConstraints && rn((i) => {
10074
10074
  this.getAxisMotionValue(i) && (this.constraints[i] = Hk(a.layoutBox[i], this.constraints[i]));
10075
10075
  });
10076
10076
  }
10077
10077
  resolveRefConstraints() {
10078
10078
  const { dragConstraints: t, onMeasureDragConstraints: n } = this.getProps();
10079
- if (!t || !Ra(t))
10079
+ if (!t || !Da(t))
10080
10080
  return !1;
10081
10081
  const r = t.current;
10082
10082
  sn(r !== null, "If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");
@@ -10160,7 +10160,7 @@ class t_ {
10160
10160
  if (!this.visualElement.current)
10161
10161
  return;
10162
10162
  const { drag: t, dragConstraints: n } = this.getProps(), { projection: r } = this.visualElement;
10163
- if (!Ra(n) || !r || !this.constraints)
10163
+ if (!Da(n) || !r || !this.constraints)
10164
10164
  return;
10165
10165
  this.stopAnimation();
10166
10166
  const a = { x: 0, y: 0 };
@@ -10188,7 +10188,7 @@ class t_ {
10188
10188
  c && u && this.start(l);
10189
10189
  }), r = () => {
10190
10190
  const { dragConstraints: l } = this.getProps();
10191
- Ra(l) && (this.constraints = this.resolveRefConstraints());
10191
+ Da(l) && (this.constraints = this.resolveRefConstraints());
10192
10192
  }, { projection: a } = this.visualElement, o = a.addEventListener("measure", r);
10193
10193
  a && !a.layout && (a.root && a.root.updateScroll(), a.updateLayout()), r();
10194
10194
  const i = Hn(window, "resize", () => this.scalePositionWithinConstraints()), s = a.addEventListener("didUpdate", ({ delta: l, hasLayoutChanged: c }) => {
@@ -10271,7 +10271,7 @@ function pb() {
10271
10271
  const e = nt(Di);
10272
10272
  if (e === null)
10273
10273
  return [!0, null];
10274
- const { isPresent: t, onExitComplete: n, register: r } = e, a = io();
10274
+ const { isPresent: t, onExitComplete: n, register: r } = e, a = so();
10275
10275
  return he(() => r(a), []), !t && n ? [!1, () => n && n(a)] : [!0];
10276
10276
  }
10277
10277
  function o_() {
@@ -10318,7 +10318,7 @@ const Oo = {
10318
10318
  return typeof a[2 + i] == "number" && (a[2 + i] /= c), typeof a[3 + i] == "number" && (a[3 + i] /= c), o(a);
10319
10319
  }
10320
10320
  };
10321
- class l_ extends Ce.Component {
10321
+ class l_ extends Ae.Component {
10322
10322
  /**
10323
10323
  * This only mounts projection nodes for components that
10324
10324
  * need measuring, we might want to do it for all components
@@ -10360,7 +10360,7 @@ class l_ extends Ce.Component {
10360
10360
  }
10361
10361
  function mb(e) {
10362
10362
  const [t, n] = pb(), r = nt(af);
10363
- return Ce.createElement(l_, { ...e, layoutGroup: r, switchLayoutGroup: nt(u0), isPresent: t, safeToRemove: n });
10363
+ return Ae.createElement(l_, { ...e, layoutGroup: r, switchLayoutGroup: nt(u0), isPresent: t, safeToRemove: n });
10364
10364
  }
10365
10365
  const c_ = {
10366
10366
  borderRadius: {
@@ -10678,7 +10678,7 @@ function Sb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
10678
10678
  for (let l = 0; l < this.path.length; l++)
10679
10679
  this.path[l].updateScroll();
10680
10680
  const i = this.layout;
10681
- this.layout = this.measure(!1), this.layoutCorrected = ct(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
10681
+ this.layout = this.measure(!1), this.layoutCorrected = ut(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
10682
10682
  const { visualElement: s } = this.options;
10683
10683
  s && s.notify("LayoutMeasure", this.layout.layoutBox, i ? i.layoutBox : void 0);
10684
10684
  }
@@ -10711,12 +10711,12 @@ function Sb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
10711
10711
  measurePageBox() {
10712
10712
  const { visualElement: i } = this.options;
10713
10713
  if (!i)
10714
- return ct();
10714
+ return ut();
10715
10715
  const s = i.measureViewportBox(), { scroll: l } = this.root;
10716
10716
  return l && (cr(s.x, l.offset.x), cr(s.y, l.offset.y)), s;
10717
10717
  }
10718
10718
  removeElementScroll(i) {
10719
- const s = ct();
10719
+ const s = ut();
10720
10720
  Qt(s, i);
10721
10721
  for (let l = 0; l < this.path.length; l++) {
10722
10722
  const c = this.path[l], { scroll: u, options: d } = c;
@@ -10732,26 +10732,26 @@ function Sb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
10732
10732
  return s;
10733
10733
  }
10734
10734
  applyTransform(i, s = !1) {
10735
- const l = ct();
10735
+ const l = ut();
10736
10736
  Qt(l, i);
10737
10737
  for (let c = 0; c < this.path.length; c++) {
10738
10738
  const u = this.path[c];
10739
- !s && u.options.layoutScroll && u.scroll && u !== u.root && Na(l, {
10739
+ !s && u.options.layoutScroll && u.scroll && u !== u.root && La(l, {
10740
10740
  x: -u.scroll.offset.x,
10741
10741
  y: -u.scroll.offset.y
10742
- }), kr(u.latestValues) && Na(l, u.latestValues);
10742
+ }), kr(u.latestValues) && La(l, u.latestValues);
10743
10743
  }
10744
- return kr(this.latestValues) && Na(l, this.latestValues), l;
10744
+ return kr(this.latestValues) && La(l, this.latestValues), l;
10745
10745
  }
10746
10746
  removeTransform(i) {
10747
- const s = ct();
10747
+ const s = ut();
10748
10748
  Qt(s, i);
10749
10749
  for (let l = 0; l < this.path.length; l++) {
10750
10750
  const c = this.path[l];
10751
10751
  if (!c.instance || !kr(c.latestValues))
10752
10752
  continue;
10753
10753
  Ju(c.latestValues) && c.updateSnapshot();
10754
- const u = ct(), d = c.measurePageBox();
10754
+ const u = ut(), d = c.measurePageBox();
10755
10755
  Qt(u, d), um(s, c.latestValues, c.snapshot ? c.snapshot.layoutBox : void 0, u);
10756
10756
  }
10757
10757
  return kr(this.latestValues) && um(s, this.latestValues), s;
@@ -10783,13 +10783,13 @@ function Sb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
10783
10783
  if (!(!this.layout || !(d || f))) {
10784
10784
  if (this.resolvedRelativeTargetAt = wt.timestamp, !this.targetDelta && !this.relativeTarget) {
10785
10785
  const p = this.getClosestProjectingParent();
10786
- p && p.layout && this.animationProgress !== 1 ? (this.relativeParent = p, this.forceRelativeParentToResolveTarget(), this.relativeTarget = ct(), this.relativeTargetOrigin = ct(), ri(this.relativeTargetOrigin, this.layout.layoutBox, p.layout.layoutBox), Qt(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
10786
+ p && p.layout && this.animationProgress !== 1 ? (this.relativeParent = p, this.forceRelativeParentToResolveTarget(), this.relativeTarget = ut(), this.relativeTargetOrigin = ut(), ri(this.relativeTargetOrigin, this.layout.layoutBox, p.layout.layoutBox), Qt(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
10787
10787
  }
10788
10788
  if (!(!this.relativeTarget && !this.targetDelta)) {
10789
- if (this.target || (this.target = ct(), this.targetWithTransforms = ct()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Vk(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : Qt(this.target, this.layout.layoutBox), db(this.target, this.targetDelta)) : Qt(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget) {
10789
+ if (this.target || (this.target = ut(), this.targetWithTransforms = ut()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Vk(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : Qt(this.target, this.layout.layoutBox), db(this.target, this.targetDelta)) : Qt(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget) {
10790
10790
  this.attemptToResolveRelativeTarget = !1;
10791
10791
  const p = this.getClosestProjectingParent();
10792
- p && !!p.resumingFrom == !!this.resumingFrom && !p.options.layoutScroll && p.target && this.animationProgress !== 1 ? (this.relativeParent = p, this.forceRelativeParentToResolveTarget(), this.relativeTarget = ct(), this.relativeTargetOrigin = ct(), ri(this.relativeTargetOrigin, this.target, p.target), Qt(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
10792
+ p && !!p.resumingFrom == !!this.resumingFrom && !p.options.layoutScroll && p.target && this.animationProgress !== 1 ? (this.relativeParent = p, this.forceRelativeParentToResolveTarget(), this.relativeTarget = ut(), this.relativeTargetOrigin = ut(), ri(this.relativeTargetOrigin, this.target, p.target), Qt(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
10793
10793
  }
10794
10794
  _r.resolvedTargetDeltas++;
10795
10795
  }
@@ -10816,10 +10816,10 @@ function Sb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
10816
10816
  Yk(this.layoutCorrected, this.treeScale, this.path, l), s.layout && !s.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (s.target = s.layout.layoutBox);
10817
10817
  const { target: g } = s;
10818
10818
  if (!g) {
10819
- this.projectionTransform && (this.projectionDelta = Ba(), this.projectionTransform = "none", this.scheduleRender());
10819
+ this.projectionTransform && (this.projectionDelta = Na(), this.projectionTransform = "none", this.scheduleRender());
10820
10820
  return;
10821
10821
  }
10822
- this.projectionDelta || (this.projectionDelta = Ba(), this.projectionDeltaWithTransform = Ba());
10822
+ this.projectionDelta || (this.projectionDelta = Na(), this.projectionDeltaWithTransform = Na());
10823
10823
  const m = this.projectionTransform;
10824
10824
  ni(this.projectionDelta, this.layoutCorrected, g, this.latestValues), this.projectionTransform = hm(this.projectionDelta, this.treeScale), (this.projectionTransform !== m || this.treeScale.x !== f || this.treeScale.y !== p) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", g)), _r.recalculatedProjection++;
10825
10825
  }
@@ -10837,14 +10837,14 @@ function Sb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
10837
10837
  this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
10838
10838
  }
10839
10839
  setAnimationOrigin(i, s = !1) {
10840
- const l = this.snapshot, c = l ? l.latestValues : {}, u = { ...this.latestValues }, d = Ba();
10840
+ const l = this.snapshot, c = l ? l.latestValues : {}, u = { ...this.latestValues }, d = Na();
10841
10841
  (!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !s;
10842
- const f = ct(), p = l ? l.source : void 0, g = this.layout ? this.layout.source : void 0, m = p !== g, v = this.getStack(), x = !v || v.members.length <= 1, S = !!(m && !x && this.options.crossfade === !0 && !this.path.some(L_));
10842
+ const f = ut(), p = l ? l.source : void 0, g = this.layout ? this.layout.source : void 0, m = p !== g, v = this.getStack(), x = !v || v.members.length <= 1, S = !!(m && !x && this.options.crossfade === !0 && !this.path.some(L_));
10843
10843
  this.animationProgress = 0;
10844
10844
  let b;
10845
10845
  this.mixTargetDelta = (T) => {
10846
10846
  const E = T / 1e3;
10847
- bm(d.x, i.x, E), bm(d.y, i.y, E), this.setTargetDelta(d), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (ri(f, this.layout.layoutBox, this.relativeParent.layout.layoutBox), N_(this.relativeTarget, this.relativeTargetOrigin, f, E), b && y_(this.relativeTarget, b) && (this.isProjectionDirty = !1), b || (b = ct()), Qt(b, this.relativeTarget)), m && (this.animationValues = u, d_(u, c, this.latestValues, E, S, x)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = E;
10847
+ bm(d.x, i.x, E), bm(d.y, i.y, E), this.setTargetDelta(d), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (ri(f, this.layout.layoutBox, this.relativeParent.layout.layoutBox), N_(this.relativeTarget, this.relativeTargetOrigin, f, E), b && y_(this.relativeTarget, b) && (this.isProjectionDirty = !1), b || (b = ut()), Qt(b, this.relativeTarget)), m && (this.animationValues = u, d_(u, c, this.latestValues, E, S, x)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = E;
10848
10848
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
10849
10849
  }
10850
10850
  startAnimation(i) {
@@ -10873,13 +10873,13 @@ function Sb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
10873
10873
  let { targetWithTransforms: s, target: l, layout: c, latestValues: u } = i;
10874
10874
  if (!(!s || !l || !c)) {
10875
10875
  if (this !== i && this.layout && c && xb(this.options.animationType, this.layout.layoutBox, c.layoutBox)) {
10876
- l = this.target || ct();
10876
+ l = this.target || ut();
10877
10877
  const d = qt(this.layout.layoutBox.x);
10878
10878
  l.x.min = i.target.x.min, l.x.max = l.x.min + d;
10879
10879
  const f = qt(this.layout.layoutBox.y);
10880
10880
  l.y.min = i.target.y.min, l.y.max = l.y.min + f;
10881
10881
  }
10882
- Qt(s, l), Na(s, u), ni(this.projectionDeltaWithTransform, this.layoutCorrected, s, u);
10882
+ Qt(s, l), La(s, u), ni(this.projectionDeltaWithTransform, this.layoutCorrected, s, u);
10883
10883
  }
10884
10884
  }
10885
10885
  registerSharedNode(i, s) {
@@ -10995,9 +10995,9 @@ function k_(e) {
10995
10995
  const f = i ? n.measuredBox[d] : n.layoutBox[d], p = qt(r[d]);
10996
10996
  f.max = f.min + p, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[d].max = e.relativeTarget[d].min + p);
10997
10997
  });
10998
- const s = Ba();
10998
+ const s = Na();
10999
10999
  ni(s, r, n.layoutBox);
11000
- const l = Ba();
11000
+ const l = Na();
11001
11001
  i ? ni(l, e.applyTransform(a, !0), n.measuredBox) : ni(l, r, n.layoutBox);
11002
11002
  const c = !bb(s);
11003
11003
  let u = !1;
@@ -11006,9 +11006,9 @@ function k_(e) {
11006
11006
  if (d && !d.resumeFrom) {
11007
11007
  const { snapshot: f, layout: p } = d;
11008
11008
  if (f && p) {
11009
- const g = ct();
11009
+ const g = ut();
11010
11010
  ri(g, n.layoutBox, f.layoutBox);
11011
- const m = ct();
11011
+ const m = ut();
11012
11012
  ri(m, r, p.layoutBox), vb(g, m) || (u = !0), d.options.layoutRoot && (e.relativeTarget = m, e.relativeTargetOrigin = g, e.relativeParent = d);
11013
11013
  }
11014
11014
  }
@@ -11190,7 +11190,7 @@ function J_(e) {
11190
11190
  r !== void 0 && (t.push([n, r.get()]), r.set(n.startsWith("scale") ? 1 : 0));
11191
11191
  }), t.length && e.render(), t;
11192
11192
  }
11193
- const to = {
11193
+ const no = {
11194
11194
  // Dimensions
11195
11195
  width: ({ x: e }, { paddingLeft: t = "0", paddingRight: n = "0" }) => e.max - e.min - parseFloat(t) - parseFloat(n),
11196
11196
  height: ({ y: e }, { paddingTop: t = "0", paddingBottom: n = "0" }) => e.max - e.min - parseFloat(t) - parseFloat(n),
@@ -11202,17 +11202,17 @@ const to = {
11202
11202
  x: Am(4, 13),
11203
11203
  y: Am(5, 14)
11204
11204
  };
11205
- to.translateX = to.x;
11206
- to.translateY = to.y;
11205
+ no.translateX = no.x;
11206
+ no.translateY = no.y;
11207
11207
  const Q_ = (e, t, n) => {
11208
11208
  const r = t.measureViewportBox(), a = t.current, o = getComputedStyle(a), { display: i } = o, s = {};
11209
11209
  i === "none" && t.setStaticValue("display", e.display || "block"), n.forEach((c) => {
11210
- s[c] = to[c](r, o);
11210
+ s[c] = no[c](r, o);
11211
11211
  }), t.render();
11212
11212
  const l = t.measureViewportBox();
11213
11213
  return n.forEach((c) => {
11214
11214
  const u = t.getValue(c);
11215
- u && u.jump(s[c]), e[c] = to[c](l, o);
11215
+ u && u.jump(s[c]), e[c] = no[c](l, o);
11216
11216
  }), e;
11217
11217
  }, e4 = (e, t, n = {}, r = {}) => {
11218
11218
  t = { ...t }, r = { ...r };
@@ -11353,7 +11353,7 @@ class s4 {
11353
11353
  this.projection.setOptions({
11354
11354
  layoutId: l,
11355
11355
  layout: c,
11356
- alwaysMeasureLayout: !!u || d && Ra(d),
11356
+ alwaysMeasureLayout: !!u || d && Da(d),
11357
11357
  visualElement: this,
11358
11358
  scheduleRender: () => this.scheduleRender(),
11359
11359
  /**
@@ -11386,7 +11386,7 @@ class s4 {
11386
11386
  * removed with a re-render to work.
11387
11387
  */
11388
11388
  measureViewportBox() {
11389
- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : ct();
11389
+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : ut();
11390
11390
  }
11391
11391
  getStaticValue(t) {
11392
11392
  return this.latestValues[t];
@@ -11597,7 +11597,7 @@ class u4 extends Eb {
11597
11597
  return n = S0.has(n) ? n : tf(n), t.getAttribute(n);
11598
11598
  }
11599
11599
  measureInstanceViewportBox() {
11600
- return ct();
11600
+ return ut();
11601
11601
  }
11602
11602
  scrapeMotionValuesFromProps(t, n) {
11603
11603
  return w0(t, n);
@@ -11654,7 +11654,7 @@ class m4 extends L.Component {
11654
11654
  }
11655
11655
  }
11656
11656
  function g4({ children: e, isPresent: t }) {
11657
- const n = io(), r = be(null), a = be({
11657
+ const n = so(), r = be(null), a = be({
11658
11658
  width: 0,
11659
11659
  height: 0,
11660
11660
  top: 0,
@@ -11680,7 +11680,7 @@ function g4({ children: e, isPresent: t }) {
11680
11680
  }, [t]), L.createElement(m4, { isPresent: t, childRef: r, sizeRef: a }, L.cloneElement(e, { ref: r }));
11681
11681
  }
11682
11682
  const nu = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: a, presenceAffectsLayout: o, mode: i }) => {
11683
- const s = hf(y4), l = io(), c = it(
11683
+ const s = hf(y4), l = so(), c = it(
11684
11684
  () => ({
11685
11685
  id: l,
11686
11686
  initial: t,
@@ -11899,7 +11899,7 @@ var P4 = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
11899
11899
  k = {};
11900
11900
  for (var $ in v)
11901
11901
  k[$] = v[$];
11902
- k.theme = L.useContext(eo);
11902
+ k.theme = L.useContext(to);
11903
11903
  }
11904
11904
  typeof v.className == "string" ? T = Jy(x.registered, E, v.className) : v.className != null && (T = v.className + " ");
11905
11905
  var R = El(d.concat(E), x.registered, k);
@@ -12300,7 +12300,7 @@ var H4 = function(t, n) {
12300
12300
  const K4 = /* @__PURE__ */ Oi(H4);
12301
12301
  function Af() {
12302
12302
  const e = nt(
12303
- eo
12303
+ to
12304
12304
  );
12305
12305
  if (!e)
12306
12306
  throw Error(
@@ -13205,7 +13205,7 @@ function Im(e) {
13205
13205
  t && /* @__PURE__ */ h(Wo, { marginEnd: a, children: t }),
13206
13206
  r,
13207
13207
  n && /* @__PURE__ */ h(Wo, { marginStart: a, children: n })
13208
- ] }) : /* @__PURE__ */ M(dt, { children: [
13208
+ ] }) : /* @__PURE__ */ M(lt, { children: [
13209
13209
  t && /* @__PURE__ */ h(Wo, { marginEnd: a, children: t }),
13210
13210
  r,
13211
13211
  n && /* @__PURE__ */ h(Wo, { marginStart: a, children: n })
@@ -13263,7 +13263,7 @@ function $3(e) {
13263
13263
  isDisabled: a,
13264
13264
  isReadOnly: o,
13265
13265
  ...i
13266
- } = e, s = io(), l = t || `field-${s}`, c = `${l}-label`, u = `${l}-feedback`, d = `${l}-helptext`, [f, p] = X(!1), [g, m] = X(!1), [v, x] = X(!1), S = de(
13266
+ } = e, s = so(), l = t || `field-${s}`, c = `${l}-label`, u = `${l}-feedback`, d = `${l}-helptext`, [f, p] = X(!1), [g, m] = X(!1), [v, x] = X(!1), S = de(
13267
13267
  ($ = {}, R = null) => ({
13268
13268
  id: d,
13269
13269
  ...$,
@@ -13649,7 +13649,7 @@ function B3() {
13649
13649
  oneOf: $,
13650
13650
  oneOfType: D,
13651
13651
  shape: ge,
13652
- exact: W
13652
+ exact: H
13653
13653
  };
13654
13654
  function g(O, F) {
13655
13655
  return O === F ? O !== 0 || 1 / O === 1 / F : O !== O && F !== F;
@@ -13660,7 +13660,7 @@ function B3() {
13660
13660
  m.prototype = Error.prototype;
13661
13661
  function v(O) {
13662
13662
  if (process.env.NODE_ENV !== "production")
13663
- var F = {}, H = 0;
13663
+ var F = {}, W = 0;
13664
13664
  function N(ae, K, Q, le, ie, Z, Pe) {
13665
13665
  if (le = le || f, Z = Z || Q, Pe !== n) {
13666
13666
  if (l) {
@@ -13671,9 +13671,9 @@ function B3() {
13671
13671
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
13672
13672
  var rt = le + ":" + Q;
13673
13673
  !F[rt] && // Avoid spamming the console because they are often not actionable except for lib authors
13674
- H < 3 && (o(
13674
+ W < 3 && (o(
13675
13675
  "You are manually calling a React.PropTypes validation function for the `" + Z + "` prop on `" + le + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
13676
- ), F[rt] = !0, H++);
13676
+ ), F[rt] = !0, W++);
13677
13677
  }
13678
13678
  }
13679
13679
  return K[Q] == null ? ae ? K[Q] === null ? new m("The " + ie + " `" + Z + "` is marked as required " + ("in `" + le + "`, but its value is `null`.")) : new m("The " + ie + " `" + Z + "` is marked as required in " + ("`" + le + "`, but its value is `undefined`.")) : null : O(K, Q, le, ie, Z);
@@ -13682,8 +13682,8 @@ function B3() {
13682
13682
  return Y.isRequired = N.bind(null, !0), Y;
13683
13683
  }
13684
13684
  function x(O) {
13685
- function F(H, N, Y, ae, K, Q) {
13686
- var le = H[N], ie = z(le);
13685
+ function F(W, N, Y, ae, K, Q) {
13686
+ var le = W[N], ie = z(le);
13687
13687
  if (ie !== O) {
13688
13688
  var Z = re(le);
13689
13689
  return new m(
@@ -13699,10 +13699,10 @@ function B3() {
13699
13699
  return v(i);
13700
13700
  }
13701
13701
  function b(O) {
13702
- function F(H, N, Y, ae, K) {
13702
+ function F(W, N, Y, ae, K) {
13703
13703
  if (typeof O != "function")
13704
13704
  return new m("Property `" + K + "` of component `" + Y + "` has invalid PropType notation inside arrayOf.");
13705
- var Q = H[N];
13705
+ var Q = W[N];
13706
13706
  if (!Array.isArray(Q)) {
13707
13707
  var le = z(Q);
13708
13708
  return new m("Invalid " + ae + " `" + K + "` of type " + ("`" + le + "` supplied to `" + Y + "`, expected an array."));
@@ -13717,8 +13717,8 @@ function B3() {
13717
13717
  return v(F);
13718
13718
  }
13719
13719
  function T() {
13720
- function O(F, H, N, Y, ae) {
13721
- var K = F[H];
13720
+ function O(F, W, N, Y, ae) {
13721
+ var K = F[W];
13722
13722
  if (!s(K)) {
13723
13723
  var Q = z(K);
13724
13724
  return new m("Invalid " + Y + " `" + ae + "` of type " + ("`" + Q + "` supplied to `" + N + "`, expected a single ReactElement."));
@@ -13728,8 +13728,8 @@ function B3() {
13728
13728
  return v(O);
13729
13729
  }
13730
13730
  function E() {
13731
- function O(F, H, N, Y, ae) {
13732
- var K = F[H];
13731
+ function O(F, W, N, Y, ae) {
13732
+ var K = F[W];
13733
13733
  if (!e.isValidElementType(K)) {
13734
13734
  var Q = z(K);
13735
13735
  return new m("Invalid " + Y + " `" + ae + "` of type " + ("`" + Q + "` supplied to `" + N + "`, expected a single ReactElement type."));
@@ -13739,9 +13739,9 @@ function B3() {
13739
13739
  return v(O);
13740
13740
  }
13741
13741
  function k(O) {
13742
- function F(H, N, Y, ae, K) {
13743
- if (!(H[N] instanceof O)) {
13744
- var Q = O.name || f, le = je(H[N]);
13742
+ function F(W, N, Y, ae, K) {
13743
+ if (!(W[N] instanceof O)) {
13744
+ var Q = O.name || f, le = je(W[N]);
13745
13745
  return new m("Invalid " + ae + " `" + K + "` of type " + ("`" + le + "` supplied to `" + Y + "`, expected ") + ("instance of `" + Q + "`."));
13746
13746
  }
13747
13747
  return null;
@@ -13753,8 +13753,8 @@ function B3() {
13753
13753
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
13754
13754
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
13755
13755
  ) : o("Invalid argument supplied to oneOf, expected an array.")), i;
13756
- function F(H, N, Y, ae, K) {
13757
- for (var Q = H[N], le = 0; le < O.length; le++)
13756
+ function F(W, N, Y, ae, K) {
13757
+ for (var Q = W[N], le = 0; le < O.length; le++)
13758
13758
  if (g(Q, O[le]))
13759
13759
  return null;
13760
13760
  var ie = JSON.stringify(O, function(Pe, B) {
@@ -13766,10 +13766,10 @@ function B3() {
13766
13766
  return v(F);
13767
13767
  }
13768
13768
  function R(O) {
13769
- function F(H, N, Y, ae, K) {
13769
+ function F(W, N, Y, ae, K) {
13770
13770
  if (typeof O != "function")
13771
13771
  return new m("Property `" + K + "` of component `" + Y + "` has invalid PropType notation inside objectOf.");
13772
- var Q = H[N], le = z(Q);
13772
+ var Q = W[N], le = z(Q);
13773
13773
  if (le !== "object")
13774
13774
  return new m("Invalid " + ae + " `" + K + "` of type " + ("`" + le + "` supplied to `" + Y + "`, expected an object."));
13775
13775
  for (var ie in Q)
@@ -13786,10 +13786,10 @@ function B3() {
13786
13786
  if (!Array.isArray(O))
13787
13787
  return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), i;
13788
13788
  for (var F = 0; F < O.length; F++) {
13789
- var H = O[F];
13790
- if (typeof H != "function")
13789
+ var W = O[F];
13790
+ if (typeof W != "function")
13791
13791
  return o(
13792
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Ve(H) + " at index " + F + "."
13792
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Ve(W) + " at index " + F + "."
13793
13793
  ), i;
13794
13794
  }
13795
13795
  function N(Y, ae, K, Q, le) {
@@ -13805,19 +13805,19 @@ function B3() {
13805
13805
  return v(N);
13806
13806
  }
13807
13807
  function se() {
13808
- function O(F, H, N, Y, ae) {
13809
- return fe(F[H]) ? null : new m("Invalid " + Y + " `" + ae + "` supplied to " + ("`" + N + "`, expected a ReactNode."));
13808
+ function O(F, W, N, Y, ae) {
13809
+ return fe(F[W]) ? null : new m("Invalid " + Y + " `" + ae + "` supplied to " + ("`" + N + "`, expected a ReactNode."));
13810
13810
  }
13811
13811
  return v(O);
13812
13812
  }
13813
- function G(O, F, H, N, Y) {
13813
+ function G(O, F, W, N, Y) {
13814
13814
  return new m(
13815
- (O || "React class") + ": " + F + " type `" + H + "." + N + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + Y + "`."
13815
+ (O || "React class") + ": " + F + " type `" + W + "." + N + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + Y + "`."
13816
13816
  );
13817
13817
  }
13818
13818
  function ge(O) {
13819
- function F(H, N, Y, ae, K) {
13820
- var Q = H[N], le = z(Q);
13819
+ function F(W, N, Y, ae, K) {
13820
+ var Q = W[N], le = z(Q);
13821
13821
  if (le !== "object")
13822
13822
  return new m("Invalid " + ae + " `" + K + "` of type `" + le + "` " + ("supplied to `" + Y + "`, expected `object`."));
13823
13823
  for (var ie in O) {
@@ -13832,19 +13832,19 @@ function B3() {
13832
13832
  }
13833
13833
  return v(F);
13834
13834
  }
13835
- function W(O) {
13836
- function F(H, N, Y, ae, K) {
13837
- var Q = H[N], le = z(Q);
13835
+ function H(O) {
13836
+ function F(W, N, Y, ae, K) {
13837
+ var Q = W[N], le = z(Q);
13838
13838
  if (le !== "object")
13839
13839
  return new m("Invalid " + ae + " `" + K + "` of type `" + le + "` " + ("supplied to `" + Y + "`, expected `object`."));
13840
- var ie = t({}, H[N], O);
13840
+ var ie = t({}, W[N], O);
13841
13841
  for (var Z in ie) {
13842
13842
  var Pe = O[Z];
13843
13843
  if (r(O, Z) && typeof Pe != "function")
13844
13844
  return G(Y, ae, K, Z, re(Pe));
13845
13845
  if (!Pe)
13846
13846
  return new m(
13847
- "Invalid " + ae + " `" + K + "` key `" + Z + "` supplied to `" + Y + "`.\nBad object: " + JSON.stringify(H[N], null, " ") + `
13847
+ "Invalid " + ae + " `" + K + "` key `" + Z + "` supplied to `" + Y + "`.\nBad object: " + JSON.stringify(W[N], null, " ") + `
13848
13848
  Valid keys: ` + JSON.stringify(Object.keys(O), null, " ")
13849
13849
  );
13850
13850
  var B = Pe(Q, Z, Y, ae, K + "." + Z, n);
@@ -13870,13 +13870,13 @@ Valid keys: ` + JSON.stringify(Object.keys(O), null, " ")
13870
13870
  return !0;
13871
13871
  var F = d(O);
13872
13872
  if (F) {
13873
- var H = F.call(O), N;
13873
+ var W = F.call(O), N;
13874
13874
  if (F !== O.entries) {
13875
- for (; !(N = H.next()).done; )
13875
+ for (; !(N = W.next()).done; )
13876
13876
  if (!fe(N.value))
13877
13877
  return !1;
13878
13878
  } else
13879
- for (; !(N = H.next()).done; ) {
13879
+ for (; !(N = W.next()).done; ) {
13880
13880
  var Y = N.value;
13881
13881
  if (Y && !fe(Y[1]))
13882
13882
  return !1;
@@ -14152,14 +14152,14 @@ var Hb = Mf({}, function(e) {
14152
14152
  async: !0,
14153
14153
  ssr: typeof document < "u"
14154
14154
  }), Y3 = /* @__PURE__ */ gn(void 0), X3 = [], Zb = /* @__PURE__ */ Gt(function(t, n) {
14155
- var r, a = X(), o = a[0], i = a[1], s = be(), l = be(!1), c = be(null), u = X({}), d = u[1], f = t.children, p = t.disabled, g = p === void 0 ? !1 : p, m = t.noFocusGuards, v = m === void 0 ? !1 : m, x = t.persistentFocus, S = x === void 0 ? !1 : x, b = t.crossFrame, T = b === void 0 ? !0 : b, E = t.autoFocus, k = E === void 0 ? !0 : E, $ = t.allowTextSelection, R = t.group, D = t.className, se = t.whiteList, G = t.hasPositiveIndices, ge = t.shards, W = ge === void 0 ? X3 : ge, fe = t.as, Se = fe === void 0 ? "div" : fe, z = t.lockProps, re = z === void 0 ? {} : z, Ve = t.sideCar, je = t.returnFocus, O = je === void 0 ? !1 : je, F = t.focusOptions, H = t.onActivation, N = t.onDeactivation, Y = X({}), ae = Y[0], K = de(function(mt) {
14155
+ var r, a = X(), o = a[0], i = a[1], s = be(), l = be(!1), c = be(null), u = X({}), d = u[1], f = t.children, p = t.disabled, g = p === void 0 ? !1 : p, m = t.noFocusGuards, v = m === void 0 ? !1 : m, x = t.persistentFocus, S = x === void 0 ? !1 : x, b = t.crossFrame, T = b === void 0 ? !0 : b, E = t.autoFocus, k = E === void 0 ? !0 : E, $ = t.allowTextSelection, R = t.group, D = t.className, se = t.whiteList, G = t.hasPositiveIndices, ge = t.shards, H = ge === void 0 ? X3 : ge, fe = t.as, Se = fe === void 0 ? "div" : fe, z = t.lockProps, re = z === void 0 ? {} : z, Ve = t.sideCar, je = t.returnFocus, O = je === void 0 ? !1 : je, F = t.focusOptions, W = t.onActivation, N = t.onDeactivation, Y = X({}), ae = Y[0], K = de(function(mt) {
14156
14156
  var St = mt.captureFocusRestore;
14157
14157
  if (!c.current) {
14158
14158
  var _e, gt = (_e = document) == null ? void 0 : _e.activeElement;
14159
14159
  c.current = gt, gt !== document.body && (c.current = St(gt));
14160
14160
  }
14161
- s.current && H && H(s.current), l.current = !0, d();
14162
- }, [H]), Q = de(function() {
14161
+ s.current && W && W(s.current), l.current = !0, d();
14162
+ }, [W]), Q = de(function() {
14163
14163
  l.current = !1, N && N(s.current), d();
14164
14164
  }, [N]), le = de(function(mt) {
14165
14165
  var St = c.current;
@@ -14183,25 +14183,25 @@ var Hb = Mf({}, function(e) {
14183
14183
  var B = Zr((r = {}, r[Lb] = g && "disabled", r[ld] = R, r), re), rt = v !== !0, ue = rt && v !== "tail", pt = zb([n, Pe]), Bt = it(function() {
14184
14184
  return {
14185
14185
  observed: s,
14186
- shards: W,
14186
+ shards: H,
14187
14187
  enabled: !g,
14188
14188
  active: l.current
14189
14189
  };
14190
- }, [g, l.current, W, o]);
14191
- return /* @__PURE__ */ Ce.createElement(H1, null, rt && [
14192
- /* @__PURE__ */ Ce.createElement("div", {
14190
+ }, [g, l.current, H, o]);
14191
+ return /* @__PURE__ */ Ae.createElement(H1, null, rt && [
14192
+ /* @__PURE__ */ Ae.createElement("div", {
14193
14193
  key: "guard-first",
14194
14194
  "data-focus-guard": !0,
14195
14195
  tabIndex: g ? -1 : 0,
14196
14196
  style: du
14197
14197
  }),
14198
- G ? /* @__PURE__ */ Ce.createElement("div", {
14198
+ G ? /* @__PURE__ */ Ae.createElement("div", {
14199
14199
  key: "guard-nearest",
14200
14200
  "data-focus-guard": !0,
14201
14201
  tabIndex: g ? -1 : 1,
14202
14202
  style: du
14203
14203
  }) : null
14204
- ], !g && /* @__PURE__ */ Ce.createElement(Ve, {
14204
+ ], !g && /* @__PURE__ */ Ae.createElement(Ve, {
14205
14205
  id: ae,
14206
14206
  sideCar: q3,
14207
14207
  observed: o,
@@ -14210,21 +14210,21 @@ var Hb = Mf({}, function(e) {
14210
14210
  crossFrame: T,
14211
14211
  autoFocus: k,
14212
14212
  whiteList: se,
14213
- shards: W,
14213
+ shards: H,
14214
14214
  onActivation: K,
14215
14215
  onDeactivation: Q,
14216
14216
  returnFocus: le,
14217
14217
  focusOptions: F,
14218
14218
  noFocusGuards: v
14219
- }), /* @__PURE__ */ Ce.createElement(Se, Zr({
14219
+ }), /* @__PURE__ */ Ae.createElement(Se, Zr({
14220
14220
  ref: pt
14221
14221
  }, B, {
14222
14222
  className: D,
14223
14223
  onBlur: Z,
14224
14224
  onFocus: ie
14225
- }), /* @__PURE__ */ Ce.createElement(Y3.Provider, {
14225
+ }), /* @__PURE__ */ Ae.createElement(Y3.Provider, {
14226
14226
  value: Bt
14227
- }, f)), ue && /* @__PURE__ */ Ce.createElement("div", {
14227
+ }, f)), ue && /* @__PURE__ */ Ae.createElement("div", {
14228
14228
  "data-focus-guard": !0,
14229
14229
  tabIndex: g ? -1 : 0,
14230
14230
  style: du
@@ -14328,7 +14328,7 @@ function n$(e, t) {
14328
14328
  var p = o.indexOf(this);
14329
14329
  o.splice(p, 1), s();
14330
14330
  }, d.render = function() {
14331
- return /* @__PURE__ */ Ce.createElement(a, this.props);
14331
+ return /* @__PURE__ */ Ae.createElement(a, this.props);
14332
14332
  }, u;
14333
14333
  }(K1);
14334
14334
  return t$(l, "displayName", "SideEffect(" + n(a) + ")"), l;
@@ -14438,8 +14438,8 @@ var On = function(e) {
14438
14438
  }, []);
14439
14439
  }, m$ = function(e, t) {
14440
14440
  var n;
14441
- return e instanceof HTMLIFrameElement && (!((n = e.contentDocument) === null || n === void 0) && n.body) ? no([e.contentDocument.body], t) : [e];
14442
- }, no = function(e, t) {
14441
+ return e instanceof HTMLIFrameElement && (!((n = e.contentDocument) === null || n === void 0) && n.body) ? ro([e.contentDocument.body], t) : [e];
14442
+ }, ro = function(e, t) {
14443
14443
  return e.reduce(function(n, r) {
14444
14444
  var a, o = av(r, t), i = (a = []).concat.apply(a, o.map(function(s) {
14445
14445
  return m$(s, t);
@@ -14456,7 +14456,7 @@ var On = function(e) {
14456
14456
  }, g$ = function(e) {
14457
14457
  var t = e.querySelectorAll("[".concat(j3, "]"));
14458
14458
  return On(t).map(function(n) {
14459
- return no([n]);
14459
+ return ro([n]);
14460
14460
  }).reduce(function(n, r) {
14461
14461
  return n.concat(r);
14462
14462
  }, []);
@@ -14471,9 +14471,9 @@ var On = function(e) {
14471
14471
  return ev(t, n);
14472
14472
  });
14473
14473
  }, Bf = function(e, t, n) {
14474
- return If(Df(no(e, n), t), !0, n);
14474
+ return If(Df(ro(e, n), t), !0, n);
14475
14475
  }, wi = function(e, t) {
14476
- return If(Df(no(e), t), !1);
14476
+ return If(Df(ro(e), t), !1);
14477
14477
  }, y$ = function(e, t) {
14478
14478
  return Df(g$(e), t);
14479
14479
  }, Ur = function(e, t) {
@@ -14659,7 +14659,7 @@ var On = function(e) {
14659
14659
  return f === void 0 ? f : c[f];
14660
14660
  }
14661
14661
  }, _$ = function(e) {
14662
- var t = Nf(e).filter(ud), n = sv(e, e, t), r = If(no([n], !0), !0, !0), a = no(t, !1);
14662
+ var t = Nf(e).filter(ud), n = sv(e, e, t), r = If(ro([n], !0), !0, !0), a = ro(t, !1);
14663
14663
  return r.map(function(o) {
14664
14664
  var i = o.node, s = o.index;
14665
14665
  return {
@@ -14809,19 +14809,19 @@ var L$ = function(t) {
14809
14809
  return document && document.activeElement === document.body;
14810
14810
  }, z$ = function() {
14811
14811
  return fv() || w$();
14812
- }, Ka = null, zt = null, Km = function() {
14812
+ }, Za = null, zt = null, Km = function() {
14813
14813
  return null;
14814
- }, Za = null, Ai = !1, jf = !1, V$ = function() {
14814
+ }, qa = null, Ai = !1, jf = !1, V$ = function() {
14815
14815
  return !0;
14816
14816
  }, j$ = function(t) {
14817
- return (Ka.whiteList || V$)(t);
14817
+ return (Za.whiteList || V$)(t);
14818
14818
  }, U$ = function(t, n) {
14819
- Za = {
14819
+ qa = {
14820
14820
  observerNode: t,
14821
14821
  portaledElement: n
14822
14822
  };
14823
14823
  }, G$ = function(t) {
14824
- return Za && Za.portaledElement === t;
14824
+ return qa && qa.portaledElement === t;
14825
14825
  };
14826
14826
  function Zm(e, t, n, r) {
14827
14827
  var a = null, o = e;
@@ -14854,8 +14854,8 @@ var W$ = function(t) {
14854
14854
  });
14855
14855
  }, pl = function() {
14856
14856
  var t = !1;
14857
- if (Ka) {
14858
- var n = Ka, r = n.observed, a = n.persistentFocus, o = n.autoFocus, i = n.shards, s = n.crossFrame, l = n.focusOptions, c = n.noFocusGuards, u = r || Za && Za.portaledElement;
14857
+ if (Za) {
14858
+ var n = Za, r = n.observed, a = n.persistentFocus, o = n.autoFocus, i = n.shards, s = n.crossFrame, l = n.focusOptions, c = n.noFocusGuards, u = r || qa && qa.portaledElement;
14859
14859
  if (fv() && zt && zt !== document.body && (!document.body.contains(zt) || Z$(zt))) {
14860
14860
  var d = Km();
14861
14861
  d && d.focus();
@@ -14873,7 +14873,7 @@ var W$ = function(t) {
14873
14873
  };
14874
14874
  if ((!f || j$(f)) && (a || g() || !z$() || !zt && o) && (u && !(iv(p) || f && K$(f, p) || G$(f)) && (document && !zt && f && !o ? (f.blur && f.blur(), document.body.focus()) : (t = lv(p, zt, {
14875
14875
  focusOptions: l
14876
- }), Za = {})), zt = document && document.activeElement, zt !== document.body && (Km = cv(zt)), Ai = !1), document && f !== document.activeElement && document.querySelector("[data-focus-auto-guard]")) {
14876
+ }), qa = {})), zt = document && document.activeElement, zt !== document.body && (Km = cv(zt)), Ai = !1), document && f !== document.activeElement && document.querySelector("[data-focus-auto-guard]")) {
14877
14877
  var m = document && document.activeElement, v = _$(p), x = v.map(function(S) {
14878
14878
  var b = S.node;
14879
14879
  return b;
@@ -14928,9 +14928,9 @@ var yv = {
14928
14928
  };
14929
14929
  function eF(e) {
14930
14930
  var t = e.slice(-1)[0];
14931
- t && !Ka && X$();
14932
- var n = Ka, r = n && t && t.id === n.id;
14933
- Ka = t, n && !r && (n.onDeactivation(), e.filter(function(a) {
14931
+ t && !Za && X$();
14932
+ var n = Za, r = n && t && t.id === n.id;
14933
+ Za = t, n && !r && (n.onDeactivation(), e.filter(function(a) {
14934
14934
  var o = a.id;
14935
14935
  return o === n.id;
14936
14936
  }).length || n.returnFocus(!t)), t ? (zt = null, (!r || n.observed !== t.observed) && t.onActivation(yv), pl(), Vf(pl)) : (J$(), zt = null);
@@ -14942,7 +14942,7 @@ Z3.assignMedium(function(e) {
14942
14942
  });
14943
14943
  const tF = n$(Q$, eF)(Y$);
14944
14944
  var bv = /* @__PURE__ */ Gt(function(t, n) {
14945
- return /* @__PURE__ */ Ce.createElement(qb, Zr({
14945
+ return /* @__PURE__ */ Ae.createElement(qb, Zr({
14946
14946
  sideCar: tF,
14947
14947
  ref: n
14948
14948
  }, t));
@@ -15155,7 +15155,7 @@ var oF = function(e) {
15155
15155
  return null;
15156
15156
  var t = Array.isArray(e) ? e[0] : e;
15157
15157
  return t.ownerDocument.body;
15158
- }, Aa = /* @__PURE__ */ new WeakMap(), Cs = /* @__PURE__ */ new WeakMap(), As = {}, mu = 0, Av = function(e) {
15158
+ }, Ta = /* @__PURE__ */ new WeakMap(), Cs = /* @__PURE__ */ new WeakMap(), As = {}, mu = 0, Av = function(e) {
15159
15159
  return e && (e.host || Av(e.parentNode));
15160
15160
  }, iF = function(e, t) {
15161
15161
  return t.map(function(n) {
@@ -15179,8 +15179,8 @@ var oF = function(e) {
15179
15179
  u(f);
15180
15180
  else
15181
15181
  try {
15182
- var p = f.getAttribute(r), g = p !== null && p !== "false", m = (Aa.get(f) || 0) + 1, v = (o.get(f) || 0) + 1;
15183
- Aa.set(f, m), o.set(f, v), i.push(f), m === 1 && g && Cs.set(f, !0), v === 1 && f.setAttribute(n, "true"), g || f.setAttribute(r, "true");
15182
+ var p = f.getAttribute(r), g = p !== null && p !== "false", m = (Ta.get(f) || 0) + 1, v = (o.get(f) || 0) + 1;
15183
+ Ta.set(f, m), o.set(f, v), i.push(f), m === 1 && g && Cs.set(f, !0), v === 1 && f.setAttribute(n, "true"), g || f.setAttribute(r, "true");
15184
15184
  } catch (x) {
15185
15185
  console.error("aria-hidden: cannot operate on ", f, x);
15186
15186
  }
@@ -15188,9 +15188,9 @@ var oF = function(e) {
15188
15188
  };
15189
15189
  return u(t), s.clear(), mu++, function() {
15190
15190
  i.forEach(function(d) {
15191
- var f = Aa.get(d) - 1, p = o.get(d) - 1;
15192
- Aa.set(d, f), o.set(d, p), f || (Cs.has(d) || d.removeAttribute(r), Cs.delete(d)), p || d.removeAttribute(n);
15193
- }), mu--, mu || (Aa = /* @__PURE__ */ new WeakMap(), Aa = /* @__PURE__ */ new WeakMap(), Cs = /* @__PURE__ */ new WeakMap(), As = {});
15191
+ var f = Ta.get(d) - 1, p = o.get(d) - 1;
15192
+ Ta.set(d, f), o.set(d, p), f || (Cs.has(d) || d.removeAttribute(r), Cs.delete(d)), p || d.removeAttribute(n);
15193
+ }), mu--, mu || (Ta = /* @__PURE__ */ new WeakMap(), Ta = /* @__PURE__ */ new WeakMap(), Cs = /* @__PURE__ */ new WeakMap(), As = {});
15194
15194
  };
15195
15195
  }, lF = function(e, t, n) {
15196
15196
  n === void 0 && (n = "data-aria-hidden");
@@ -15309,7 +15309,7 @@ function pF(e, t) {
15309
15309
  }, [t, e, n]);
15310
15310
  }
15311
15311
  function mF(e, ...t) {
15312
- const n = io(), r = e || n;
15312
+ const n = so(), r = e || n;
15313
15313
  return it(() => t.map((a) => `${a}-${r}`), [r, t]);
15314
15314
  }
15315
15315
  const [gF, ta] = Yt({
@@ -15458,14 +15458,14 @@ var AF = function() {
15458
15458
  right: t[2],
15459
15459
  gap: Math.max(0, r - n + t[2] - t[0])
15460
15460
  };
15461
- }, _F = Pv(), qa = "data-scroll-locked", $F = function(e, t, n, r) {
15461
+ }, _F = Pv(), Ya = "data-scroll-locked", $F = function(e, t, n, r) {
15462
15462
  var a = e.left, o = e.top, i = e.right, s = e.gap;
15463
15463
  return n === void 0 && (n = "margin"), `
15464
15464
  .`.concat(bF, ` {
15465
15465
  overflow: hidden `).concat(r, `;
15466
15466
  padding-right: `).concat(s, "px ").concat(r, `;
15467
15467
  }
15468
- body[`).concat(qa, `] {
15468
+ body[`).concat(Ya, `] {
15469
15469
  overflow: hidden `).concat(r, `;
15470
15470
  overscroll-behavior: contain;
15471
15471
  `).concat([
@@ -15498,18 +15498,18 @@ var AF = function() {
15498
15498
  margin-right: 0 `).concat(r, `;
15499
15499
  }
15500
15500
 
15501
- body[`).concat(qa, `] {
15501
+ body[`).concat(Ya, `] {
15502
15502
  `).concat(vF, ": ").concat(s, `px;
15503
15503
  }
15504
15504
  `);
15505
15505
  }, Jm = function() {
15506
- var e = parseInt(document.body.getAttribute(qa) || "0", 10);
15506
+ var e = parseInt(document.body.getAttribute(Ya) || "0", 10);
15507
15507
  return isFinite(e) ? e : 0;
15508
15508
  }, FF = function() {
15509
15509
  L.useEffect(function() {
15510
- return document.body.setAttribute(qa, (Jm() + 1).toString()), function() {
15510
+ return document.body.setAttribute(Ya, (Jm() + 1).toString()), function() {
15511
15511
  var e = Jm() - 1;
15512
- e <= 0 ? document.body.removeAttribute(qa) : document.body.setAttribute(qa, e.toString());
15512
+ e <= 0 ? document.body.removeAttribute(Ya) : document.body.setAttribute(Ya, e.toString());
15513
15513
  };
15514
15514
  }, []);
15515
15515
  }, MF = function(e) {
@@ -15531,7 +15531,7 @@ if (typeof window < "u")
15531
15531
  } catch {
15532
15532
  md = !1;
15533
15533
  }
15534
- var Ta = md ? { passive: !1 } : !1, OF = function(e) {
15534
+ var Ea = md ? { passive: !1 } : !1, OF = function(e) {
15535
15535
  return e.tagName === "TEXTAREA";
15536
15536
  }, kv = function(e, t) {
15537
15537
  if (!(e instanceof Element))
@@ -15607,7 +15607,7 @@ var Ta = md ? { passive: !1 } : !1, OF = function(e) {
15607
15607
  .block-interactivity-`.concat(e, ` {pointer-events: none;}
15608
15608
  .allow-interactivity-`).concat(e, ` {pointer-events: all;}
15609
15609
  `);
15610
- }, jF = 0, Ea = [];
15610
+ }, jF = 0, Pa = [];
15611
15611
  function UF(e) {
15612
15612
  var t = L.useRef([]), n = L.useRef([0, 0]), r = L.useRef(), a = L.useState(jF++)[0], o = L.useState(Pv)[0], i = L.useRef(e);
15613
15613
  L.useEffect(function() {
@@ -15642,7 +15642,7 @@ function UF(e) {
15642
15642
  return LF(D, v, m, D === "h" ? b : T, !0);
15643
15643
  }, []), l = L.useCallback(function(m) {
15644
15644
  var v = m;
15645
- if (!(!Ea.length || Ea[Ea.length - 1] !== o)) {
15645
+ if (!(!Pa.length || Pa[Pa.length - 1] !== o)) {
15646
15646
  var x = "deltaY" in v ? eg(v) : Es(v), S = t.current.filter(function(E) {
15647
15647
  return E.name === v.type && (E.target === v.target || v.target === E.shadowParent) && zF(E.delta, x);
15648
15648
  })[0];
@@ -15672,14 +15672,14 @@ function UF(e) {
15672
15672
  c(m.type, Es(m), m.target, s(m, e.lockRef.current));
15673
15673
  }, []);
15674
15674
  L.useEffect(function() {
15675
- return Ea.push(o), e.setCallbacks({
15675
+ return Pa.push(o), e.setCallbacks({
15676
15676
  onScrollCapture: d,
15677
15677
  onWheelCapture: d,
15678
15678
  onTouchMoveCapture: f
15679
- }), document.addEventListener("wheel", l, Ta), document.addEventListener("touchmove", l, Ta), document.addEventListener("touchstart", u, Ta), function() {
15680
- Ea = Ea.filter(function(m) {
15679
+ }), document.addEventListener("wheel", l, Ea), document.addEventListener("touchmove", l, Ea), document.addEventListener("touchstart", u, Ea), function() {
15680
+ Pa = Pa.filter(function(m) {
15681
15681
  return m !== o;
15682
- }), document.removeEventListener("wheel", l, Ta), document.removeEventListener("touchmove", l, Ta), document.removeEventListener("touchstart", u, Ta);
15682
+ }), document.removeEventListener("wheel", l, Ea), document.removeEventListener("touchmove", l, Ea), document.removeEventListener("touchstart", u, Ea);
15683
15683
  };
15684
15684
  }, []);
15685
15685
  var p = e.removeScrollBar, g = e.inert;
@@ -16303,7 +16303,7 @@ const Ei = Ge(
16303
16303
  }
16304
16304
  );
16305
16305
  Ei.displayName = "Heading";
16306
- const Ae = Ge(function(t, n) {
16306
+ const we = Ge(function(t, n) {
16307
16307
  const r = Xn("Text", t), { className: a, align: o, decoration: i, casing: s, ...l } = ln(t), c = vl({
16308
16308
  textAlign: t.align,
16309
16309
  textDecoration: t.decoration,
@@ -16320,7 +16320,7 @@ const Ae = Ge(function(t, n) {
16320
16320
  }
16321
16321
  );
16322
16322
  });
16323
- Ae.displayName = "Text";
16323
+ we.displayName = "Text";
16324
16324
  function rg(e, t) {
16325
16325
  var n = Object.keys(e);
16326
16326
  if (Object.getOwnPropertySymbols) {
@@ -16407,10 +16407,10 @@ function y9() {
16407
16407
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
16408
16408
  }
16409
16409
  var Wt = function(t, n, r) {
16410
- var a = !!r, o = Ce.useRef(r);
16411
- Ce.useEffect(function() {
16410
+ var a = !!r, o = Ae.useRef(r);
16411
+ Ae.useEffect(function() {
16412
16412
  o.current = r;
16413
- }, [r]), Ce.useEffect(function() {
16413
+ }, [r]), Ae.useEffect(function() {
16414
16414
  if (!a || !t)
16415
16415
  return function() {
16416
16416
  };
@@ -16422,18 +16422,18 @@ var Wt = function(t, n, r) {
16422
16422
  };
16423
16423
  }, [a, n, t, o]);
16424
16424
  }, vd = function(t) {
16425
- var n = Ce.useRef(t);
16426
- return Ce.useEffect(function() {
16425
+ var n = Ae.useRef(t);
16426
+ return Ae.useEffect(function() {
16427
16427
  n.current = t;
16428
16428
  }, [t]), n.current;
16429
- }, ro = function(t) {
16429
+ }, ao = function(t) {
16430
16430
  return t !== null && Ys(t) === "object";
16431
16431
  }, b9 = function(t) {
16432
- return ro(t) && typeof t.then == "function";
16432
+ return ao(t) && typeof t.then == "function";
16433
16433
  }, v9 = function(t) {
16434
- return ro(t) && typeof t.elements == "function" && typeof t.createToken == "function" && typeof t.createPaymentMethod == "function" && typeof t.confirmCardPayment == "function";
16434
+ return ao(t) && typeof t.elements == "function" && typeof t.createToken == "function" && typeof t.createPaymentMethod == "function" && typeof t.confirmCardPayment == "function";
16435
16435
  }, ig = "[object Object]", S9 = function e(t, n) {
16436
- if (!ro(t) || !ro(n))
16436
+ if (!ao(t) || !ao(n))
16437
16437
  return t === n;
16438
16438
  var r = Array.isArray(t), a = Array.isArray(n);
16439
16439
  if (r !== a)
@@ -16458,8 +16458,8 @@ var Wt = function(t, n, r) {
16458
16458
  };
16459
16459
  return f.every(m);
16460
16460
  }, Vv = function(t, n, r) {
16461
- return ro(t) ? Object.keys(t).reduce(function(a, o) {
16462
- var i = !ro(n) || !S9(t[o], n[o]);
16461
+ return ao(t) ? Object.keys(t).reduce(function(a, o) {
16462
+ var i = !ao(n) || !S9(t[o], n[o]);
16463
16463
  return r.includes(o) ? (i && console.warn("Unsupported prop change: options.".concat(o, " is not a mutable property.")), a) : i ? ag(ag({}, a || {}), {}, Lv({}, o, t[o])) : a;
16464
16464
  }, null) : null;
16465
16465
  }, jv = "Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.", sg = function(t) {
@@ -16492,22 +16492,22 @@ var Wt = function(t, n, r) {
16492
16492
  version: "2.8.1",
16493
16493
  url: "https://stripe.com/docs/stripe-js/react"
16494
16494
  }));
16495
- }, Ul = /* @__PURE__ */ Ce.createContext(null);
16495
+ }, Ul = /* @__PURE__ */ Ae.createContext(null);
16496
16496
  Ul.displayName = "ElementsContext";
16497
16497
  var Uv = function(t, n) {
16498
16498
  if (!t)
16499
16499
  throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(n, " in an <Elements> provider."));
16500
16500
  return t;
16501
16501
  }, Xs = function(t) {
16502
- var n = t.stripe, r = t.options, a = t.children, o = Ce.useMemo(function() {
16502
+ var n = t.stripe, r = t.options, a = t.children, o = Ae.useMemo(function() {
16503
16503
  return x9(n);
16504
- }, [n]), i = Ce.useState(function() {
16504
+ }, [n]), i = Ae.useState(function() {
16505
16505
  return {
16506
16506
  stripe: o.tag === "sync" ? o.stripe : null,
16507
16507
  elements: o.tag === "sync" ? o.stripe.elements(r) : null
16508
16508
  };
16509
16509
  }), s = zv(i, 2), l = s[0], c = s[1];
16510
- Ce.useEffect(function() {
16510
+ Ae.useEffect(function() {
16511
16511
  var f = !0, p = function(m) {
16512
16512
  c(function(v) {
16513
16513
  return v.stripe ? v : {
@@ -16523,18 +16523,18 @@ var Uv = function(t, n) {
16523
16523
  };
16524
16524
  }, [o, l, r]);
16525
16525
  var u = vd(n);
16526
- Ce.useEffect(function() {
16526
+ Ae.useEffect(function() {
16527
16527
  u !== null && u !== n && console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.");
16528
16528
  }, [u, n]);
16529
16529
  var d = vd(r);
16530
- return Ce.useEffect(function() {
16530
+ return Ae.useEffect(function() {
16531
16531
  if (l.elements) {
16532
16532
  var f = Vv(r, d, ["clientSecret", "fonts"]);
16533
16533
  f && l.elements.update(f);
16534
16534
  }
16535
- }, [r, d, l.elements]), Ce.useEffect(function() {
16535
+ }, [r, d, l.elements]), Ae.useEffect(function() {
16536
16536
  w9(l.stripe);
16537
- }, [l.stripe]), /* @__PURE__ */ Ce.createElement(Ul.Provider, {
16537
+ }, [l.stripe]), /* @__PURE__ */ Ae.createElement(Ul.Provider, {
16538
16538
  value: l
16539
16539
  }, a);
16540
16540
  };
@@ -16543,27 +16543,27 @@ Xs.propTypes = {
16543
16543
  options: et.object
16544
16544
  };
16545
16545
  var C9 = function(t) {
16546
- var n = Ce.useContext(Ul);
16546
+ var n = Ae.useContext(Ul);
16547
16547
  return Uv(n, t);
16548
16548
  }, Gv = function() {
16549
16549
  var t = C9("calls useElements()"), n = t.elements;
16550
16550
  return n;
16551
16551
  };
16552
16552
  et.func.isRequired;
16553
- var Wv = /* @__PURE__ */ Ce.createContext(null);
16553
+ var Wv = /* @__PURE__ */ Ae.createContext(null);
16554
16554
  Wv.displayName = "CustomCheckoutSdkContext";
16555
16555
  var A9 = function(t, n) {
16556
16556
  if (!t)
16557
16557
  throw new Error("Could not find CustomCheckoutProvider context; You need to wrap the part of your app that ".concat(n, " in an <CustomCheckoutProvider> provider."));
16558
16558
  return t;
16559
- }, T9 = /* @__PURE__ */ Ce.createContext(null);
16559
+ }, T9 = /* @__PURE__ */ Ae.createContext(null);
16560
16560
  T9.displayName = "CustomCheckoutContext";
16561
16561
  et.any, et.shape({
16562
16562
  clientSecret: et.string.isRequired,
16563
16563
  elementsOptions: et.object
16564
16564
  }).isRequired;
16565
16565
  var Sd = function(t) {
16566
- var n = Ce.useContext(Wv), r = Ce.useContext(Ul);
16566
+ var n = Ae.useContext(Wv), r = Ae.useContext(Ul);
16567
16567
  if (n && r)
16568
16568
  throw new Error("You cannot wrap the part of your app that ".concat(t, " in both <CustomCheckoutProvider> and <Elements> providers."));
16569
16569
  return n ? A9(n, t) : Uv(r, t);
@@ -16571,24 +16571,24 @@ var Sd = function(t) {
16571
16571
  return t.charAt(0).toUpperCase() + t.slice(1);
16572
16572
  }, ft = function(t, n) {
16573
16573
  var r = "".concat(E9(t), "Element"), a = function(l) {
16574
- var c = l.id, u = l.className, d = l.options, f = d === void 0 ? {} : d, p = l.onBlur, g = l.onFocus, m = l.onReady, v = l.onChange, x = l.onEscape, S = l.onClick, b = l.onLoadError, T = l.onLoaderStart, E = l.onNetworksChange, k = l.onConfirm, $ = l.onCancel, R = l.onShippingAddressChange, D = l.onShippingRateChange, se = Sd("mounts <".concat(r, ">")), G = "elements" in se ? se.elements : null, ge = "customCheckoutSdk" in se ? se.customCheckoutSdk : null, W = Ce.useState(null), fe = zv(W, 2), Se = fe[0], z = fe[1], re = Ce.useRef(null), Ve = Ce.useRef(null);
16574
+ var c = l.id, u = l.className, d = l.options, f = d === void 0 ? {} : d, p = l.onBlur, g = l.onFocus, m = l.onReady, v = l.onChange, x = l.onEscape, S = l.onClick, b = l.onLoadError, T = l.onLoaderStart, E = l.onNetworksChange, k = l.onConfirm, $ = l.onCancel, R = l.onShippingAddressChange, D = l.onShippingRateChange, se = Sd("mounts <".concat(r, ">")), G = "elements" in se ? se.elements : null, ge = "customCheckoutSdk" in se ? se.customCheckoutSdk : null, H = Ae.useState(null), fe = zv(H, 2), Se = fe[0], z = fe[1], re = Ae.useRef(null), Ve = Ae.useRef(null);
16575
16575
  Wt(Se, "blur", p), Wt(Se, "focus", g), Wt(Se, "escape", x), Wt(Se, "click", S), Wt(Se, "loaderror", b), Wt(Se, "loaderstart", T), Wt(Se, "networkschange", E), Wt(Se, "confirm", k), Wt(Se, "cancel", $), Wt(Se, "shippingaddresschange", R), Wt(Se, "shippingratechange", D), Wt(Se, "change", v);
16576
16576
  var je;
16577
16577
  m && (t === "expressCheckout" ? je = m : je = function() {
16578
16578
  m(Se);
16579
- }), Wt(Se, "ready", je), Ce.useLayoutEffect(function() {
16579
+ }), Wt(Se, "ready", je), Ae.useLayoutEffect(function() {
16580
16580
  if (re.current === null && Ve.current !== null && (G || ge)) {
16581
16581
  var F = null;
16582
16582
  ge ? F = ge.createElement(t, f) : G && (F = G.create(t, f)), re.current = F, z(F), F && F.mount(Ve.current);
16583
16583
  }
16584
16584
  }, [G, ge, f]);
16585
16585
  var O = vd(f);
16586
- return Ce.useEffect(function() {
16586
+ return Ae.useEffect(function() {
16587
16587
  if (re.current) {
16588
16588
  var F = Vv(f, O, ["paymentRequest"]);
16589
16589
  F && "update" in re.current && re.current.update(F);
16590
16590
  }
16591
- }, [f, O]), Ce.useLayoutEffect(function() {
16591
+ }, [f, O]), Ae.useLayoutEffect(function() {
16592
16592
  return function() {
16593
16593
  if (re.current && typeof re.current.destroy == "function")
16594
16594
  try {
@@ -16596,7 +16596,7 @@ var Sd = function(t) {
16596
16596
  } catch {
16597
16597
  }
16598
16598
  };
16599
- }, []), /* @__PURE__ */ Ce.createElement("div", {
16599
+ }, []), /* @__PURE__ */ Ae.createElement("div", {
16600
16600
  id: c,
16601
16601
  className: u,
16602
16602
  ref: Ve
@@ -16604,7 +16604,7 @@ var Sd = function(t) {
16604
16604
  }, o = function(l) {
16605
16605
  Sd("mounts <".concat(r, ">"));
16606
16606
  var c = l.id, u = l.className;
16607
- return /* @__PURE__ */ Ce.createElement("div", {
16607
+ return /* @__PURE__ */ Ae.createElement("div", {
16608
16608
  id: c,
16609
16609
  className: u
16610
16610
  });
@@ -16627,7 +16627,7 @@ var Sd = function(t) {
16627
16627
  onShippingRateChange: et.func,
16628
16628
  options: et.object
16629
16629
  }, i.displayName = r, i.__elementType = t, i;
16630
- }, ht = typeof window > "u", P9 = /* @__PURE__ */ Ce.createContext(null);
16630
+ }, ht = typeof window > "u", P9 = /* @__PURE__ */ Ae.createContext(null);
16631
16631
  P9.displayName = "EmbeddedCheckoutProviderContext";
16632
16632
  var Gl = function() {
16633
16633
  var t = Sd("calls useStripe()"), n = t.stripe;
@@ -17158,15 +17158,15 @@ function lM(e, t) {
17158
17158
  }
17159
17159
  return n.set(e, t), this.size = n.size, this;
17160
17160
  }
17161
- function lo(e) {
17161
+ function co(e) {
17162
17162
  var t = this.__data__ = new Jn(e);
17163
17163
  this.size = t.size;
17164
17164
  }
17165
- lo.prototype.clear = x8;
17166
- lo.prototype.delete = w8;
17167
- lo.prototype.get = C8;
17168
- lo.prototype.has = A8;
17169
- lo.prototype.set = lM;
17165
+ co.prototype.clear = x8;
17166
+ co.prototype.delete = w8;
17167
+ co.prototype.get = C8;
17168
+ co.prototype.has = A8;
17169
+ co.prototype.set = lM;
17170
17170
  function cM(e, t) {
17171
17171
  for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1; )
17172
17172
  ;
@@ -17251,8 +17251,8 @@ var l1 = typeof exports == "object" && exports && !exports.nodeType && exports,
17251
17251
  } catch {
17252
17252
  }
17253
17253
  }();
17254
- const ao = e7;
17255
- var bg = ao && ao.isTypedArray, t7 = bg ? Xf(bg) : JM;
17254
+ const oo = e7;
17255
+ var bg = oo && oo.isTypedArray, t7 = bg ? Xf(bg) : JM;
17256
17256
  const n7 = t7;
17257
17257
  var r7 = Object.prototype, a7 = r7.hasOwnProperty;
17258
17258
  function c1(e, t) {
@@ -17478,13 +17478,13 @@ var yO = "[object Map]";
17478
17478
  function bO(e) {
17479
17479
  return ra(e) && nh(e) == yO;
17480
17480
  }
17481
- var Mg = ao && ao.isMap, vO = Mg ? Xf(Mg) : bO;
17481
+ var Mg = oo && oo.isMap, vO = Mg ? Xf(Mg) : bO;
17482
17482
  const SO = vO;
17483
17483
  var xO = "[object Set]";
17484
17484
  function wO(e) {
17485
17485
  return ra(e) && nh(e) == xO;
17486
17486
  }
17487
- var Og = ao && ao.isSet, CO = Og ? Xf(Og) : wO;
17487
+ var Og = oo && oo.isSet, CO = Og ? Xf(Og) : wO;
17488
17488
  const AO = CO;
17489
17489
  var TO = 1, EO = 2, PO = 4, y1 = "[object Arguments]", kO = "[object Array]", _O = "[object Boolean]", $O = "[object Date]", FO = "[object Error]", b1 = "[object Function]", MO = "[object GeneratorFunction]", OO = "[object Map]", IO = "[object Number]", v1 = "[object Object]", RO = "[object RegExp]", DO = "[object Set]", BO = "[object String]", NO = "[object Symbol]", LO = "[object WeakMap]", zO = "[object ArrayBuffer]", VO = "[object DataView]", jO = "[object Float32Array]", UO = "[object Float64Array]", GO = "[object Int8Array]", WO = "[object Int16Array]", HO = "[object Int32Array]", KO = "[object Uint8Array]", ZO = "[object Uint8ClampedArray]", qO = "[object Uint16Array]", YO = "[object Uint32Array]", Ze = {};
17490
17490
  Ze[y1] = Ze[kO] = Ze[zO] = Ze[VO] = Ze[_O] = Ze[$O] = Ze[jO] = Ze[UO] = Ze[GO] = Ze[WO] = Ze[HO] = Ze[OO] = Ze[IO] = Ze[v1] = Ze[RO] = Ze[DO] = Ze[BO] = Ze[NO] = Ze[KO] = Ze[ZO] = Ze[qO] = Ze[YO] = !0;
@@ -17512,7 +17512,7 @@ function ii(e, t, n, r, a, o) {
17512
17512
  i = hO(e, d, s);
17513
17513
  }
17514
17514
  }
17515
- o || (o = new lo());
17515
+ o || (o = new co());
17516
17516
  var p = o.get(e);
17517
17517
  if (p)
17518
17518
  return p;
@@ -17582,7 +17582,7 @@ var tI = function(t, n) {
17582
17582
  };
17583
17583
  const Mr = /* @__PURE__ */ Oi(tI);
17584
17584
  var nI = process.env.NODE_ENV === "production";
17585
- function La(e, t) {
17585
+ function za(e, t) {
17586
17586
  if (!nI) {
17587
17587
  if (e)
17588
17588
  return;
@@ -17683,7 +17683,7 @@ var gI = ql.Provider;
17683
17683
  ql.Consumer;
17684
17684
  function yI() {
17685
17685
  var e = nt(ql);
17686
- return e || (process.env.NODE_ENV !== "production" ? La(!1, "Formik context is undefined, please verify you are calling useFormikContext() as child of a <Formik> component.") : La(!1)), e;
17686
+ return e || (process.env.NODE_ENV !== "production" ? za(!1, "Formik context is undefined, please verify you are calling useFormikContext() as child of a <Formik> component.") : za(!1)), e;
17687
17687
  }
17688
17688
  var hn = function(t) {
17689
17689
  return typeof t == "function";
@@ -17800,7 +17800,7 @@ function xI(e) {
17800
17800
  onSubmit: u
17801
17801
  }, d), p = be(f.initialValues), g = be(f.initialErrors || Pr), m = be(f.initialTouched || $s), v = be(f.initialStatus), x = be(!1), S = be({});
17802
17802
  process.env.NODE_ENV !== "production" && he(function() {
17803
- typeof s > "u" || (process.env.NODE_ENV !== "production" ? La(!1, "isInitialValid has been deprecated and will be removed in future versions of Formik. Please use initialErrors or validateOnMount instead.") : La(!1));
17803
+ typeof s > "u" || (process.env.NODE_ENV !== "production" ? za(!1, "isInitialValid has been deprecated and will be removed in future versions of Formik. Please use initialErrors or validateOnMount instead.") : za(!1));
17804
17804
  }, []), he(function() {
17805
17805
  return x.current = !0, function() {
17806
17806
  x.current = !1;
@@ -17859,7 +17859,7 @@ function xI(e) {
17859
17859
  });
17860
17860
  return xe;
17861
17861
  });
17862
- }, [f.validate, f.validationSchema, G, R, D]), W = en(function(P) {
17862
+ }, [f.validate, f.validationSchema, G, R, D]), H = en(function(P) {
17863
17863
  return P === void 0 && (P = k.values), $({
17864
17864
  type: "SET_ISVALIDATING",
17865
17865
  payload: !0
@@ -17874,8 +17874,8 @@ function xI(e) {
17874
17874
  });
17875
17875
  });
17876
17876
  he(function() {
17877
- i && x.current === !0 && Mr(p.current, f.initialValues) && W(p.current);
17878
- }, [i, W]);
17877
+ i && x.current === !0 && Mr(p.current, f.initialValues) && H(p.current);
17878
+ }, [i, H]);
17879
17879
  var fe = de(function(P) {
17880
17880
  var I = P && P.values ? P.values : p.current, U = P && P.errors ? P.errors : g.current ? g.current : f.initialErrors || {}, J = P && P.touched ? P.touched : m.current ? m.current : f.initialTouched || {}, ye = P && P.status ? P.status : v.current ? v.current : f.initialStatus;
17881
17881
  p.current = I, g.current = U, m.current = J, v.current = ye;
@@ -17900,8 +17900,8 @@ function xI(e) {
17900
17900
  xe();
17901
17901
  }, [f.initialErrors, f.initialStatus, f.initialTouched, f.onReset]);
17902
17902
  he(function() {
17903
- x.current === !0 && !Mr(p.current, f.initialValues) && c && (p.current = f.initialValues, fe(), i && W(p.current));
17904
- }, [c, f.initialValues, fe, i, W]), he(function() {
17903
+ x.current === !0 && !Mr(p.current, f.initialValues) && c && (p.current = f.initialValues, fe(), i && H(p.current));
17904
+ }, [c, f.initialValues, fe, i, H]), he(function() {
17905
17905
  c && x.current === !0 && !Mr(g.current, f.initialErrors) && (g.current = f.initialErrors || Pr, $({
17906
17906
  type: "SET_ERRORS",
17907
17907
  payload: f.initialErrors || Pr
@@ -17975,7 +17975,7 @@ function xI(e) {
17975
17975
  payload: P
17976
17976
  });
17977
17977
  var U = I === void 0 ? a : I;
17978
- return U ? W(k.values) : Promise.resolve();
17978
+ return U ? H(k.values) : Promise.resolve();
17979
17979
  }), je = de(function(P) {
17980
17980
  $({
17981
17981
  type: "SET_ERRORS",
@@ -17988,7 +17988,7 @@ function xI(e) {
17988
17988
  payload: U
17989
17989
  });
17990
17990
  var J = I === void 0 ? n : I;
17991
- return J ? W(U) : Promise.resolve();
17991
+ return J ? H(U) : Promise.resolve();
17992
17992
  }), F = de(function(P, I) {
17993
17993
  $({
17994
17994
  type: "SET_FIELD_ERROR",
@@ -17997,7 +17997,7 @@ function xI(e) {
17997
17997
  value: I
17998
17998
  }
17999
17999
  });
18000
- }, []), H = en(function(P, I, U) {
18000
+ }, []), W = en(function(P, I, U) {
18001
18001
  $({
18002
18002
  type: "SET_FIELD_VALUE",
18003
18003
  payload: {
@@ -18006,7 +18006,7 @@ function xI(e) {
18006
18006
  }
18007
18007
  });
18008
18008
  var J = U === void 0 ? n : U;
18009
- return J ? W(Gr(k.values, P, I)) : Promise.resolve();
18009
+ return J ? H(Gr(k.values, P, I)) : Promise.resolve();
18010
18010
  }), N = de(function(P, I) {
18011
18011
  var U = I, J = P, ye;
18012
18012
  if (!Su(P)) {
@@ -18018,8 +18018,8 @@ function xI(e) {
18018
18018
  handlerName: "handleChange"
18019
18019
  }), J = /number|range/.test(Xe) ? (ye = parseFloat(Rn), isNaN(ye) ? "" : ye) : /checkbox/.test(Xe) ? EI(Ht(k.values, U), la, Rn) : Cr && er ? TI(Cr) : Rn;
18020
18020
  }
18021
- U && H(U, J);
18022
- }, [H, k.values]), Y = en(function(P) {
18021
+ U && W(U, J);
18022
+ }, [W, k.values]), Y = en(function(P) {
18023
18023
  if (Su(P))
18024
18024
  return function(I) {
18025
18025
  return N(I, P);
@@ -18034,7 +18034,7 @@ function xI(e) {
18034
18034
  }
18035
18035
  });
18036
18036
  var J = U === void 0 ? a : U;
18037
- return J ? W(k.values) : Promise.resolve();
18037
+ return J ? H(k.values) : Promise.resolve();
18038
18038
  }), K = de(function(P, I) {
18039
18039
  P.persist && P.persist();
18040
18040
  var U = P.target, J = U.name, ye = U.id, xe = U.outerHTML, Xe = I || J || ye;
@@ -18072,7 +18072,7 @@ function xI(e) {
18072
18072
  }, []), Pe = en(function() {
18073
18073
  return $({
18074
18074
  type: "SUBMIT_ATTEMPT"
18075
- }), W().then(function(P) {
18075
+ }), H().then(function(P) {
18076
18076
  var I = P instanceof Error, U = !I && Object.keys(P).length === 0;
18077
18077
  if (U) {
18078
18078
  var J;
@@ -18100,19 +18100,19 @@ function xI(e) {
18100
18100
  }), B = en(function(P) {
18101
18101
  if (P && P.preventDefault && hn(P.preventDefault) && P.preventDefault(), P && P.stopPropagation && hn(P.stopPropagation) && P.stopPropagation(), process.env.NODE_ENV !== "production" && typeof document < "u") {
18102
18102
  var I = vI();
18103
- I !== null && I instanceof HTMLButtonElement && (I.attributes && I.attributes.getNamedItem("type") || (process.env.NODE_ENV !== "production" ? La(!1, 'You submitted a Formik form using a button with an unspecified `type` attribute. Most browsers default button elements to `type="submit"`. If this is not a submit button, please add `type="button"`.') : La(!1)));
18103
+ I !== null && I instanceof HTMLButtonElement && (I.attributes && I.attributes.getNamedItem("type") || (process.env.NODE_ENV !== "production" ? za(!1, 'You submitted a Formik form using a button with an unspecified `type` attribute. Most browsers default button elements to `type="submit"`. If this is not a submit button, please add `type="button"`.') : za(!1)));
18104
18104
  }
18105
18105
  Pe().catch(function(U) {
18106
18106
  console.warn("Warning: An unhandled error was caught from submitForm()", U);
18107
18107
  });
18108
18108
  }), rt = {
18109
18109
  resetForm: fe,
18110
- validateForm: W,
18110
+ validateForm: H,
18111
18111
  validateField: Se,
18112
18112
  setErrors: je,
18113
18113
  setFieldError: F,
18114
18114
  setFieldTouched: ae,
18115
- setFieldValue: H,
18115
+ setFieldValue: W,
18116
18116
  setStatus: ie,
18117
18117
  setSubmitting: Z,
18118
18118
  setTouched: Ve,
@@ -18135,7 +18135,7 @@ function xI(e) {
18135
18135
  }, [k.errors, k.touched, k.values]), mt = de(function(P) {
18136
18136
  return {
18137
18137
  setValue: function(U, J) {
18138
- return H(P, U, J);
18138
+ return W(P, U, J);
18139
18139
  },
18140
18140
  setTouched: function(U, J) {
18141
18141
  return ae(P, U, J);
@@ -18144,7 +18144,7 @@ function xI(e) {
18144
18144
  return F(P, U);
18145
18145
  }
18146
18146
  };
18147
- }, [H, ae, F]), St = de(function(P) {
18147
+ }, [W, ae, F]), St = de(function(P) {
18148
18148
  var I = Yl(P), U = I ? P.name : P, J = Ht(k.values, U), ye = {
18149
18149
  name: U,
18150
18150
  value: J,
@@ -18173,14 +18173,14 @@ function xI(e) {
18173
18173
  setErrors: je,
18174
18174
  setFormikState: le,
18175
18175
  setFieldTouched: ae,
18176
- setFieldValue: H,
18176
+ setFieldValue: W,
18177
18177
  setFieldError: F,
18178
18178
  setStatus: ie,
18179
18179
  setSubmitting: Z,
18180
18180
  setTouched: Ve,
18181
18181
  setValues: O,
18182
18182
  submitForm: Pe,
18183
- validateForm: W,
18183
+ validateForm: H,
18184
18184
  validateField: Se,
18185
18185
  isValid: gt,
18186
18186
  dirty: _e,
@@ -18688,7 +18688,7 @@ class sa {
18688
18688
  }
18689
18689
  sa.prototype.__isYupRef = !0;
18690
18690
  const Nr = (e) => e == null;
18691
- function Pa(e) {
18691
+ function ka(e) {
18692
18692
  function t({
18693
18693
  value: n,
18694
18694
  path: r = "",
@@ -18723,8 +18723,8 @@ function Pa(e) {
18723
18723
  }, d, G.params);
18724
18724
  for (const fe of Object.keys(ge))
18725
18725
  ge[fe] = S(ge[fe]);
18726
- const W = new Vt(Vt.formatError(G.message || f, ge), n, ge.path, G.type || c, ge.disableStackTrace);
18727
- return W.params = ge, W;
18726
+ const H = new Vt(Vt.formatError(G.message || f, ge), n, ge.path, G.type || c, ge.disableStackTrace);
18727
+ return H.params = ge, H;
18728
18728
  }
18729
18729
  const T = v ? s : l;
18730
18730
  let E = {
@@ -18815,7 +18815,7 @@ class yl extends Set {
18815
18815
  return t.forEach((a) => r.add(a)), n.forEach((a) => r.delete(a)), r;
18816
18816
  }
18817
18817
  }
18818
- function za(e, t = /* @__PURE__ */ new Map()) {
18818
+ function Va(e, t = /* @__PURE__ */ new Map()) {
18819
18819
  if (uh(e) || !e || typeof e != "object")
18820
18820
  return e;
18821
18821
  if (t.has(e))
@@ -18828,19 +18828,19 @@ function za(e, t = /* @__PURE__ */ new Map()) {
18828
18828
  else if (Array.isArray(e)) {
18829
18829
  n = new Array(e.length), t.set(e, n);
18830
18830
  for (let r = 0; r < e.length; r++)
18831
- n[r] = za(e[r], t);
18831
+ n[r] = Va(e[r], t);
18832
18832
  } else if (e instanceof Map) {
18833
18833
  n = /* @__PURE__ */ new Map(), t.set(e, n);
18834
18834
  for (const [r, a] of e.entries())
18835
- n.set(r, za(a, t));
18835
+ n.set(r, Va(a, t));
18836
18836
  } else if (e instanceof Set) {
18837
18837
  n = /* @__PURE__ */ new Set(), t.set(e, n);
18838
18838
  for (const r of e)
18839
- n.add(za(r, t));
18839
+ n.add(Va(r, t));
18840
18840
  } else if (e instanceof Object) {
18841
18841
  n = {}, t.set(e, n);
18842
18842
  for (const [r, a] of Object.entries(e))
18843
- n[r] = za(a, t);
18843
+ n[r] = Va(a, t);
18844
18844
  } else
18845
18845
  throw Error(`Unable to clone ${e}`);
18846
18846
  return n;
@@ -18870,7 +18870,7 @@ class Mn {
18870
18870
  if (this._mutate)
18871
18871
  return t && Object.assign(this.spec, t), this;
18872
18872
  const n = Object.create(Object.getPrototypeOf(this));
18873
- return n.type = this.type, n._typeCheck = this._typeCheck, n._whitelist = this._whitelist.clone(), n._blacklist = this._blacklist.clone(), n.internalTests = Object.assign({}, this.internalTests), n.exclusiveTests = Object.assign({}, this.exclusiveTests), n.deps = [...this.deps], n.conditions = [...this.conditions], n.tests = [...this.tests], n.transforms = [...this.transforms], n.spec = za(Object.assign({}, this.spec, t)), n;
18873
+ return n.type = this.type, n._typeCheck = this._typeCheck, n._whitelist = this._whitelist.clone(), n._blacklist = this._blacklist.clone(), n.internalTests = Object.assign({}, this.internalTests), n.exclusiveTests = Object.assign({}, this.exclusiveTests), n.deps = [...this.deps], n.conditions = [...this.conditions], n.tests = [...this.tests], n.transforms = [...this.transforms], n.spec = Va(Object.assign({}, this.spec, t)), n;
18874
18874
  }
18875
18875
  label(t) {
18876
18876
  let n = this.clone();
@@ -19080,7 +19080,7 @@ attempted value: ${i}
19080
19080
  }
19081
19081
  _getDefault(t) {
19082
19082
  let n = this.spec.default;
19083
- return n == null ? n : typeof n == "function" ? n.call(this, t) : za(n);
19083
+ return n == null ? n : typeof n == "function" ? n.call(this, t) : Va(n);
19084
19084
  }
19085
19085
  getDefault(t) {
19086
19086
  return this.resolve(t || {})._getDefault(t);
@@ -19099,7 +19099,7 @@ attempted value: ${i}
19099
19099
  const r = this.clone({
19100
19100
  nullable: t
19101
19101
  });
19102
- return r.internalTests.nullable = Pa({
19102
+ return r.internalTests.nullable = ka({
19103
19103
  message: n,
19104
19104
  name: "nullable",
19105
19105
  test(a) {
@@ -19111,7 +19111,7 @@ attempted value: ${i}
19111
19111
  const r = this.clone({
19112
19112
  optional: t
19113
19113
  });
19114
- return r.internalTests.optionality = Pa({
19114
+ return r.internalTests.optionality = ka({
19115
19115
  message: n,
19116
19116
  name: "optionality",
19117
19117
  test(a) {
@@ -19167,7 +19167,7 @@ attempted value: ${i}
19167
19167
  test: t[2]
19168
19168
  }, n.message === void 0 && (n.message = wn.default), typeof n.test != "function")
19169
19169
  throw new TypeError("`test` is a required parameters");
19170
- let r = this.clone(), a = Pa(n), o = n.exclusive || n.name && r.exclusiveTests[n.name] === !0;
19170
+ let r = this.clone(), a = ka(n), o = n.exclusive || n.name && r.exclusiveTests[n.name] === !0;
19171
19171
  if (n.exclusive && !n.name)
19172
19172
  throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");
19173
19173
  return n.name && (r.exclusiveTests[n.name] = !!n.exclusive), r.tests = r.tests.filter((i) => !(i.OPTIONS.name === n.name && (o || i.OPTIONS.test === a.OPTIONS.test))), r.tests.push(a), r;
@@ -19181,7 +19181,7 @@ attempted value: ${i}
19181
19181
  }
19182
19182
  typeError(t) {
19183
19183
  let n = this.clone();
19184
- return n.internalTests.typeError = Pa({
19184
+ return n.internalTests.typeError = ka({
19185
19185
  message: t,
19186
19186
  name: "typeError",
19187
19187
  skipAbsent: !0,
@@ -19198,7 +19198,7 @@ attempted value: ${i}
19198
19198
  let r = this.clone();
19199
19199
  return t.forEach((a) => {
19200
19200
  r._whitelist.add(a), r._blacklist.delete(a);
19201
- }), r.internalTests.whiteList = Pa({
19201
+ }), r.internalTests.whiteList = ka({
19202
19202
  message: n,
19203
19203
  name: "oneOf",
19204
19204
  skipAbsent: !0,
@@ -19217,7 +19217,7 @@ attempted value: ${i}
19217
19217
  let r = this.clone();
19218
19218
  return t.forEach((a) => {
19219
19219
  r._blacklist.add(a), r._whitelist.delete(a);
19220
- }), r.internalTests.blacklist = Pa({
19220
+ }), r.internalTests.blacklist = ka({
19221
19221
  message: n,
19222
19222
  name: "notOneOf",
19223
19223
  test(a) {
@@ -21593,7 +21593,7 @@ const qg = /* @__PURE__ */ new Map([
21593
21593
  const [T, E] = X(0);
21594
21594
  return /* @__PURE__ */ M(Ee, { w: p || "full", children: [
21595
21595
  e && /* @__PURE__ */ h(
21596
- Ae,
21596
+ we,
21597
21597
  {
21598
21598
  as: "label",
21599
21599
  htmlFor: n,
@@ -21671,7 +21671,7 @@ const qg = /* @__PURE__ */ new Map([
21671
21671
  }
21672
21672
  ) }),
21673
21673
  s && l && /* @__PURE__ */ M(ne, { alignItems: "center", gap: "6px", children: [
21674
- /* @__PURE__ */ h(Ya, { color: Qe.red500 }),
21674
+ /* @__PURE__ */ h(Xa, { color: Qe.red500 }),
21675
21675
  /* @__PURE__ */ h(by, { color: Qe.red500, size: "xxs", fontFamily: m, children: l })
21676
21676
  ] })
21677
21677
  ] });
@@ -21688,7 +21688,7 @@ const qg = /* @__PURE__ */ new Map([
21688
21688
  borderRadius: "64px",
21689
21689
  ...n,
21690
21690
  children: [
21691
- /* @__PURE__ */ h(dt, { children: e }),
21691
+ /* @__PURE__ */ h(lt, { children: e }),
21692
21692
  t && /* @__PURE__ */ h(Ee, { position: "absolute", right: "6px", children: t })
21693
21693
  ]
21694
21694
  }
@@ -21718,7 +21718,7 @@ const qg = /* @__PURE__ */ new Map([
21718
21718
  Styles: S
21719
21719
  }) => {
21720
21720
  var Pe, B, rt;
21721
- const b = Gl(), T = Gv(), { isOpen: E, onOpen: k, onClose: $ } = ka();
21721
+ const b = Gl(), T = Gv(), { isOpen: E, onOpen: k, onClose: $ } = _a();
21722
21722
  yr("(max-width: 767px)"), yr("(max-height: 600px)");
21723
21723
  const R = be(null), [D, se] = X(0), [G, ge] = X(0);
21724
21724
  he(() => {
@@ -21745,9 +21745,9 @@ const qg = /* @__PURE__ */ new Map([
21745
21745
  R.current && ue.unobserve(R.current);
21746
21746
  };
21747
21747
  }, [k, $, i, o]);
21748
- const W = typeof window < "u" ? JSON.parse(window.localStorage.getItem("userIp")) : "", { mutate: fe, data: Se } = qf(u), [z, re] = X(!1), [Ve, je] = X(""), [O, F] = X("");
21748
+ const H = typeof window < "u" ? JSON.parse(window.localStorage.getItem("userIp")) : "", { mutate: fe, data: Se } = qf(u), [z, re] = X(!1), [Ve, je] = X(""), [O, F] = X("");
21749
21749
  X(!1);
21750
- const [H, N] = X(0), Y = be(null), ae = (n == null ? void 0 : n.country) ?? (W == null ? void 0 : W.country_name), K = (Pe = an == null ? void 0 : an.find(
21750
+ const [W, N] = X(0), Y = be(null), ae = (n == null ? void 0 : n.country) ?? (H == null ? void 0 : H.country_name), K = (Pe = an == null ? void 0 : an.find(
21751
21751
  (ue) => ue.name === ae
21752
21752
  )) == null ? void 0 : Pe.alpha2Code, Q = r.values.street, le = async (ue) => {
21753
21753
  var pt, Bt, mt;
@@ -21852,7 +21852,7 @@ const qg = /* @__PURE__ */ new Map([
21852
21852
  return ue(), window.addEventListener("resize", ue), () => {
21853
21853
  window.removeEventListener("resize", ue);
21854
21854
  };
21855
- }, []), /* @__PURE__ */ h(dt, { children: i && /* @__PURE__ */ h(Ee, { position: "relative", children: a ? /* @__PURE__ */ h(dt, {}) : /* @__PURE__ */ h(Si, { in: o, animateOpacity: !0, children: /* @__PURE__ */ M(
21855
+ }, []), /* @__PURE__ */ h(lt, { children: i && /* @__PURE__ */ h(Ee, { position: "relative", children: a ? /* @__PURE__ */ h(lt, {}) : /* @__PURE__ */ h(Si, { in: o, animateOpacity: !0, children: /* @__PURE__ */ M(
21856
21856
  Ee,
21857
21857
  {
21858
21858
  ref: Y,
@@ -21862,7 +21862,7 @@ const qg = /* @__PURE__ */ new Map([
21862
21862
  /* @__PURE__ */ M(Gf, { gap: "16px", children: [
21863
21863
  /* @__PURE__ */ M(Ee, { children: [
21864
21864
  /* @__PURE__ */ h(
21865
- Ae,
21865
+ we,
21866
21866
  {
21867
21867
  fontSize: "14px",
21868
21868
  fontWeight: "600",
@@ -21905,7 +21905,7 @@ const qg = /* @__PURE__ */ new Map([
21905
21905
  /* @__PURE__ */ M(ne, { width: "100%", gap: "8px", children: [
21906
21906
  /* @__PURE__ */ M(Ee, { flexBasis: "50%", children: [
21907
21907
  /* @__PURE__ */ h(
21908
- Ae,
21908
+ we,
21909
21909
  {
21910
21910
  fontSize: "14px",
21911
21911
  fontWeight: "600",
@@ -21947,7 +21947,7 @@ const qg = /* @__PURE__ */ new Map([
21947
21947
  ] }),
21948
21948
  /* @__PURE__ */ M(Ee, { flexBasis: "50%", children: [
21949
21949
  /* @__PURE__ */ h(
21950
- Ae,
21950
+ we,
21951
21951
  {
21952
21952
  fontSize: "14px",
21953
21953
  fontWeight: "600",
@@ -22010,7 +22010,7 @@ const qg = /* @__PURE__ */ new Map([
22010
22010
  },
22011
22011
  fontFamily: "inherit",
22012
22012
  label: /* @__PURE__ */ h(
22013
- Ae,
22013
+ we,
22014
22014
  {
22015
22015
  as: "label",
22016
22016
  fontSize: "14px",
@@ -22056,7 +22056,7 @@ const qg = /* @__PURE__ */ new Map([
22056
22056
  }
22057
22057
  ),
22058
22058
  Z !== null && /* @__PURE__ */ h(
22059
- Ae,
22059
+ we,
22060
22060
  {
22061
22061
  color: Z ? "#0BA162" : "red",
22062
22062
  fontSize: "12px",
@@ -22077,7 +22077,7 @@ const qg = /* @__PURE__ */ new Map([
22077
22077
  ne,
22078
22078
  {
22079
22079
  gap: "10px",
22080
- width: `${H}px`,
22080
+ width: `${W}px`,
22081
22081
  mt: "12px",
22082
22082
  flexDirection: { base: "column", md: "row" },
22083
22083
  children: [
@@ -22100,7 +22100,7 @@ const qg = /* @__PURE__ */ new Map([
22100
22100
  {
22101
22101
  bgColor: l,
22102
22102
  label: "Confirm Payment",
22103
- maxWidth: `${H}px`,
22103
+ maxWidth: `${W}px`,
22104
22104
  flexGrow: 1,
22105
22105
  onClick: (ue) => {
22106
22106
  le(ue);
@@ -22140,7 +22140,7 @@ const qg = /* @__PURE__ */ new Map([
22140
22140
  alignItems: "center",
22141
22141
  children: [
22142
22142
  /* @__PURE__ */ h(B1, { mt: 0.5, boxSize: 6 }),
22143
- /* @__PURE__ */ h(Ae, { fontSize: "14px", lineHeight: "22px", color: "#4D5760", children: "Payments are secured and encrypted" })
22143
+ /* @__PURE__ */ h(we, { fontSize: "14px", lineHeight: "22px", color: "#4D5760", children: "Payments are secured and encrypted" })
22144
22144
  ]
22145
22145
  }
22146
22146
  )
@@ -26248,7 +26248,7 @@ const Xg = "Payment Completed", OR = ({
26248
26248
  }
26249
26249
  ),
26250
26250
  /* @__PURE__ */ M(
26251
- Ae,
26251
+ we,
26252
26252
  {
26253
26253
  color: "black",
26254
26254
  fontFamily: "Bricolage Grotesque",
@@ -26291,7 +26291,7 @@ const Xg = "Payment Completed", OR = ({
26291
26291
  py: "4px",
26292
26292
  children: [
26293
26293
  /* @__PURE__ */ h(Pu, { color: "black", boxSize: "24px" }),
26294
- /* @__PURE__ */ h(Ae, { children: "Cancel" })
26294
+ /* @__PURE__ */ h(we, { children: "Cancel" })
26295
26295
  ]
26296
26296
  }
26297
26297
  ),
@@ -26347,7 +26347,7 @@ const Xg = "Payment Completed", OR = ({
26347
26347
  maxHeight: { lg: "95vh", base: "80vh" },
26348
26348
  fontFamily: "Bricolage Grotesque",
26349
26349
  children: [
26350
- r && /* @__PURE__ */ M(dt, { children: [
26350
+ r && /* @__PURE__ */ M(lt, { children: [
26351
26351
  /* @__PURE__ */ h(Rv, {}),
26352
26352
  /* @__PURE__ */ h(
26353
26353
  Vl,
@@ -26370,7 +26370,7 @@ const Xg = "Payment Completed", OR = ({
26370
26370
  onClose: t
26371
26371
  }) => {
26372
26372
  const [n] = yr("(min-width: 768px)");
26373
- return /* @__PURE__ */ h(dt, { children: n ? /* @__PURE__ */ M(
26373
+ return /* @__PURE__ */ h(lt, { children: n ? /* @__PURE__ */ M(
26374
26374
  Nl,
26375
26375
  {
26376
26376
  isCentered: !0,
@@ -26404,7 +26404,7 @@ const Xg = "Payment Completed", OR = ({
26404
26404
  )
26405
26405
  ] }),
26406
26406
  /* @__PURE__ */ h(zl, { p: "0", children: /* @__PURE__ */ h(
26407
- Ae,
26407
+ we,
26408
26408
  {
26409
26409
  mt: "4px",
26410
26410
  mb: "16px",
@@ -26442,7 +26442,7 @@ const Xg = "Payment Completed", OR = ({
26442
26442
  }
26443
26443
  ),
26444
26444
  /* @__PURE__ */ h(
26445
- Ae,
26445
+ we,
26446
26446
  {
26447
26447
  mt: "4px",
26448
26448
  mb: "28px",
@@ -26473,7 +26473,7 @@ const Xg = "Payment Completed", OR = ({
26473
26473
  onConfirm: a
26474
26474
  }) => {
26475
26475
  const [o] = yr("(min-width: 768px)");
26476
- return /* @__PURE__ */ h(dt, { children: o ? /* @__PURE__ */ M(
26476
+ return /* @__PURE__ */ h(lt, { children: o ? /* @__PURE__ */ M(
26477
26477
  Nl,
26478
26478
  {
26479
26479
  isCentered: !0,
@@ -26491,7 +26491,7 @@ const Xg = "Payment Completed", OR = ({
26491
26491
  borderRadius: "16px",
26492
26492
  bg: Qe.monochromeWhite,
26493
26493
  boxSize: "48px",
26494
- children: /* @__PURE__ */ h(Ya, { color: Qe.monochromeBlack, boxSize: "24px" })
26494
+ children: /* @__PURE__ */ h(Xa, { color: Qe.monochromeBlack, boxSize: "24px" })
26495
26495
  }
26496
26496
  ),
26497
26497
  /* @__PURE__ */ h(
@@ -26508,7 +26508,7 @@ const Xg = "Payment Completed", OR = ({
26508
26508
  )
26509
26509
  ] }),
26510
26510
  /* @__PURE__ */ h(zl, { p: "0", mb: "20px", children: /* @__PURE__ */ M(
26511
- Ae,
26511
+ we,
26512
26512
  {
26513
26513
  fontSize: "16px",
26514
26514
  fontWeight: 400,
@@ -26519,7 +26519,7 @@ const Xg = "Payment Completed", OR = ({
26519
26519
  children: [
26520
26520
  "We'll send your receipt and access details to",
26521
26521
  " ",
26522
- /* @__PURE__ */ h(Ae, { as: "span", fontWeight: "600", color: "#111215", children: n }),
26522
+ /* @__PURE__ */ h(we, { as: "span", fontWeight: "600", color: "#111215", children: n }),
26523
26523
  ". Make sure it's correct so you don't miss anything."
26524
26524
  ]
26525
26525
  }
@@ -26558,7 +26558,7 @@ const Xg = "Payment Completed", OR = ({
26558
26558
  borderRadius: "16px",
26559
26559
  bg: Qe.monochromeWhite,
26560
26560
  boxSize: "48px",
26561
- children: /* @__PURE__ */ h(Ya, { color: Qe.monochromeBlack, boxSize: "24px" })
26561
+ children: /* @__PURE__ */ h(Xa, { color: Qe.monochromeBlack, boxSize: "24px" })
26562
26562
  }
26563
26563
  ),
26564
26564
  /* @__PURE__ */ h(
@@ -26573,7 +26573,7 @@ const Xg = "Payment Completed", OR = ({
26573
26573
  }
26574
26574
  ),
26575
26575
  /* @__PURE__ */ M(
26576
- Ae,
26576
+ we,
26577
26577
  {
26578
26578
  mb: "16px",
26579
26579
  fontSize: "14px",
@@ -26585,7 +26585,7 @@ const Xg = "Payment Completed", OR = ({
26585
26585
  children: [
26586
26586
  "We'll send your receipt and access details to",
26587
26587
  " ",
26588
- /* @__PURE__ */ h(Ae, { as: "span", fontWeight: "600", color: "#111215", children: n }),
26588
+ /* @__PURE__ */ h(we, { as: "span", fontWeight: "600", color: "#111215", children: n }),
26589
26589
  ". Make sure it's correct so you don't miss anything."
26590
26590
  ]
26591
26591
  }
@@ -26687,7 +26687,7 @@ const Xg = "Payment Completed", OR = ({
26687
26687
  transform: "translate(5.33252 5.33398)"
26688
26688
  }
26689
26689
  ) }) })
26690
- ] }), oo = ({ children: e, isLoading: t, ...n }) => /* @__PURE__ */ h(
26690
+ ] }), io = ({ children: e, isLoading: t, ...n }) => /* @__PURE__ */ h(
26691
26691
  Ee,
26692
26692
  {
26693
26693
  borderRadius: "12px",
@@ -26698,7 +26698,7 @@ const Xg = "Payment Completed", OR = ({
26698
26698
  cursor: "pointer",
26699
26699
  textAlign: "left",
26700
26700
  ...n,
26701
- children: t ? /* @__PURE__ */ h(ne, { justifyContent: "center", children: /* @__PURE__ */ h(N1, { width: "20px", height: "20px" }) }) : /* @__PURE__ */ h(dt, { children: e })
26701
+ children: t ? /* @__PURE__ */ h(ne, { justifyContent: "center", children: /* @__PURE__ */ h(N1, { width: "20px", height: "20px" }) }) : /* @__PURE__ */ h(lt, { children: e })
26702
26702
  }
26703
26703
  ), NR = ({
26704
26704
  currency: e,
@@ -26821,8 +26821,8 @@ const Xg = "Payment Completed", OR = ({
26821
26821
  const b = await r.validateForm();
26822
26822
  Object.keys(b).length > 0 || f == null || f.show();
26823
26823
  };
26824
- return /* @__PURE__ */ h(dt, { children: f && ((g == null ? void 0 : g.applePay) || (g == null ? void 0 : g.googlePay)) && /* @__PURE__ */ M(dt, { children: [
26825
- (g == null ? void 0 : g.applePay) && /* @__PURE__ */ h(oo, { onClick: S, disabled: v, children: /* @__PURE__ */ M(
26824
+ return /* @__PURE__ */ h(lt, { children: f && ((g == null ? void 0 : g.applePay) || (g == null ? void 0 : g.googlePay)) && /* @__PURE__ */ M(lt, { children: [
26825
+ (g == null ? void 0 : g.applePay) && /* @__PURE__ */ h(io, { onClick: S, disabled: v, children: /* @__PURE__ */ M(
26826
26826
  ne,
26827
26827
  {
26828
26828
  justifyContent: "space-between",
@@ -26832,7 +26832,7 @@ const Xg = "Payment Completed", OR = ({
26832
26832
  /* @__PURE__ */ M(ne, { alignItems: "center", gap: "12px", children: [
26833
26833
  /* @__PURE__ */ h(DR, { boxSize: "32px" }),
26834
26834
  /* @__PURE__ */ h(
26835
- Ae,
26835
+ we,
26836
26836
  {
26837
26837
  color: "#111215",
26838
26838
  fontFamily: "Bricolage Grotesque",
@@ -26848,7 +26848,7 @@ const Xg = "Payment Completed", OR = ({
26848
26848
  ]
26849
26849
  }
26850
26850
  ) }),
26851
- (g == null ? void 0 : g.googlePay) && /* @__PURE__ */ h(oo, { onClick: S, disabled: v, children: /* @__PURE__ */ M(
26851
+ (g == null ? void 0 : g.googlePay) && /* @__PURE__ */ h(io, { onClick: S, disabled: v, children: /* @__PURE__ */ M(
26852
26852
  ne,
26853
26853
  {
26854
26854
  justifyContent: "space-between",
@@ -26858,7 +26858,7 @@ const Xg = "Payment Completed", OR = ({
26858
26858
  /* @__PURE__ */ M(ne, { alignItems: "center", gap: "12px", children: [
26859
26859
  /* @__PURE__ */ h(BR, { boxSize: "32px" }),
26860
26860
  /* @__PURE__ */ h(
26861
- Ae,
26861
+ we,
26862
26862
  {
26863
26863
  color: "#111215",
26864
26864
  fontFamily: "Bricolage Grotesque",
@@ -26931,7 +26931,7 @@ const Tu = (e) => Math.round((e + Number.EPSILON) * 100) / 100, vn = (e) => {
26931
26931
  summaryGridWidth: k
26932
26932
  }) => {
26933
26933
  var fe, Se;
26934
- const { isOpen: $, onToggle: R } = ka({ defaultIsOpen: !1 }), [D] = yr("(max-width: 767px)"), se = async () => {
26934
+ const { isOpen: $, onToggle: R } = _a({ defaultIsOpen: !1 }), [D] = yr("(max-width: 767px)"), se = async () => {
26935
26935
  var z, re, Ve, je, O;
26936
26936
  if (i)
26937
26937
  if (s !== "")
@@ -26958,8 +26958,8 @@ const Tu = (e) => Math.round((e + Number.EPSILON) * 100) / 100, vn = (e) => {
26958
26958
  value: 0,
26959
26959
  isFullDiscount: !1
26960
26960
  }), f == null || f());
26961
- }, ge = (z) => z > 0 ? t === Ue.NGN ? `+ ${t} ${z}` : `+ ${z * 100} cents` : "", W = ({ children: z, ...re }) => /* @__PURE__ */ h(
26962
- Ae,
26961
+ }, ge = (z) => z > 0 ? t === Ue.NGN ? `+ ${t} ${z}` : `+ ${z * 100} cents` : "", H = ({ children: z, ...re }) => /* @__PURE__ */ h(
26962
+ we,
26963
26963
  {
26964
26964
  color: "#111215",
26965
26965
  fontFamily: "Bricolage Grotesque",
@@ -26989,9 +26989,9 @@ const Tu = (e) => Math.round((e + Number.EPSILON) * 100) / 100, vn = (e) => {
26989
26989
  {
26990
26990
  textAlign: v ? "center" : { base: "center", lg: "left" },
26991
26991
  children: [
26992
- m.totalAmountPlusFees <= 0 ? /* @__PURE__ */ h(dt, {}) : typeof e == "string" ? /* @__PURE__ */ h(W, { color: "#7D879B", children: e }) : /* @__PURE__ */ h(dt, { children: e }),
26992
+ m.totalAmountPlusFees <= 0 ? /* @__PURE__ */ h(lt, {}) : typeof e == "string" ? /* @__PURE__ */ h(H, { color: "#7D879B", children: e }) : /* @__PURE__ */ h(lt, { children: e }),
26993
26993
  r ? /* @__PURE__ */ h(bd, { height: "20px", width: "100px", mx: "auto" }) : /* @__PURE__ */ h(
26994
- W,
26994
+ H,
26995
26995
  {
26996
26996
  as: "h6",
26997
26997
  fontSize: "1.25rem",
@@ -27006,7 +27006,7 @@ const Tu = (e) => Math.round((e + Number.EPSILON) * 100) / 100, vn = (e) => {
27006
27006
  }
27007
27007
  ),
27008
27008
  /* @__PURE__ */ M(Si, { in: !D && !v || $, children: [
27009
- (fe = x == null ? void 0 : x[0]) != null && fe.image ? /* @__PURE__ */ h(dt, { children: Array.isArray(x) && x.length > 0 && /* @__PURE__ */ h(Ee, { pt: "20px", pb: "12px", borderBottom: "1px solid #E8EBF2", children: x.map((z, re) => /* @__PURE__ */ M(ne, { justifyContent: "space-between", children: [
27009
+ (fe = x == null ? void 0 : x[0]) != null && fe.image ? /* @__PURE__ */ h(lt, { children: Array.isArray(x) && x.length > 0 && /* @__PURE__ */ h(Ee, { pt: "20px", pb: "12px", borderBottom: "1px solid #E8EBF2", children: x.map((z, re) => /* @__PURE__ */ M(ne, { justifyContent: "space-between", children: [
27010
27010
  /* @__PURE__ */ h(
27011
27011
  Ti,
27012
27012
  {
@@ -27020,7 +27020,7 @@ const Tu = (e) => Math.round((e + Number.EPSILON) * 100) / 100, vn = (e) => {
27020
27020
  ),
27021
27021
  /* @__PURE__ */ M(Ee, { children: [
27022
27022
  /* @__PURE__ */ M(
27023
- W,
27023
+ H,
27024
27024
  {
27025
27025
  overflow: "hidden",
27026
27026
  color: "#7D879B",
@@ -27033,7 +27033,7 @@ const Tu = (e) => Math.round((e + Number.EPSILON) * 100) / 100, vn = (e) => {
27033
27033
  ]
27034
27034
  }
27035
27035
  ),
27036
- /* @__PURE__ */ M(W, { textAlign: "right", fontWeight: 600, children: [
27036
+ /* @__PURE__ */ M(H, { textAlign: "right", fontWeight: 600, children: [
27037
27037
  z.currency,
27038
27038
  " ",
27039
27039
  vn(z.price)
@@ -27054,7 +27054,7 @@ const Tu = (e) => Math.round((e + Number.EPSILON) * 100) / 100, vn = (e) => {
27054
27054
  ),
27055
27055
  /* @__PURE__ */ M(Ee, { children: [
27056
27056
  /* @__PURE__ */ M(
27057
- W,
27057
+ H,
27058
27058
  {
27059
27059
  overflow: "hidden",
27060
27060
  color: "#7D879B",
@@ -27067,7 +27067,7 @@ const Tu = (e) => Math.round((e + Number.EPSILON) * 100) / 100, vn = (e) => {
27067
27067
  ]
27068
27068
  }
27069
27069
  ),
27070
- !x && /* @__PURE__ */ M(W, { textAlign: "right", fontWeight: 600, children: [
27070
+ !x && /* @__PURE__ */ M(H, { textAlign: "right", fontWeight: 600, children: [
27071
27071
  t,
27072
27072
  " ",
27073
27073
  vn(n)
@@ -27080,12 +27080,12 @@ const Tu = (e) => Math.round((e + Number.EPSILON) * 100) / 100, vn = (e) => {
27080
27080
  justifyContent: "space-between",
27081
27081
  alignItems: "center",
27082
27082
  children: [
27083
- /* @__PURE__ */ M(W, { children: [
27083
+ /* @__PURE__ */ M(H, { children: [
27084
27084
  z.quantity ?? 1,
27085
27085
  " x ",
27086
27086
  z.name
27087
27087
  ] }),
27088
- /* @__PURE__ */ M(W, { textAlign: "right", fontWeight: 600, children: [
27088
+ /* @__PURE__ */ M(H, { textAlign: "right", fontWeight: 600, children: [
27089
27089
  z.currency,
27090
27090
  " ",
27091
27091
  vn(z.price)
@@ -27097,22 +27097,22 @@ const Tu = (e) => Math.round((e + Number.EPSILON) * 100) / 100, vn = (e) => {
27097
27097
  ] }),
27098
27098
  /* @__PURE__ */ M(ne, { flexDirection: "column", gap: "12px", mt: "16px", children: [
27099
27099
  /* @__PURE__ */ M(ne, { width: "100%", justifyContent: "space-between", children: [
27100
- /* @__PURE__ */ h(W, { fontWeight: 400, children: "Subtotal" }),
27101
- /* @__PURE__ */ M(W, { fontWeight: 600, children: [
27100
+ /* @__PURE__ */ h(H, { fontWeight: 400, children: "Subtotal" }),
27101
+ /* @__PURE__ */ M(H, { fontWeight: 600, children: [
27102
27102
  t,
27103
27103
  " ",
27104
27104
  vn(n)
27105
27105
  ] })
27106
27106
  ] }),
27107
- !(a != null && a.isFullDiscount) && /* @__PURE__ */ M(dt, { children: [
27107
+ !(a != null && a.isFullDiscount) && /* @__PURE__ */ M(lt, { children: [
27108
27108
  " ",
27109
27109
  p.localTaxFees > 0 && p.shouldApplyTax && /* @__PURE__ */ M(ne, { width: "100%", justifyContent: "space-between", children: [
27110
- /* @__PURE__ */ h(ne, { alignItems: "center", children: /* @__PURE__ */ M(W, { fontWeight: 400, mr: "8px", children: [
27110
+ /* @__PURE__ */ h(ne, { alignItems: "center", children: /* @__PURE__ */ M(H, { fontWeight: 400, mr: "8px", children: [
27111
27111
  "Sales Tax (",
27112
27112
  p.taxedPercent,
27113
27113
  "%)"
27114
27114
  ] }) }),
27115
- /* @__PURE__ */ M(W, { fontWeight: 600, children: [
27115
+ /* @__PURE__ */ M(H, { fontWeight: 600, children: [
27116
27116
  t,
27117
27117
  " ",
27118
27118
  vn(p.localTaxFees)
@@ -27120,18 +27120,18 @@ const Tu = (e) => Math.round((e + Number.EPSILON) * 100) / 100, vn = (e) => {
27120
27120
  ] }),
27121
27121
  g.applySwitchingFee && g.localSwitchingFee > 0 && /* @__PURE__ */ M(ne, { width: "100%", justifyContent: "space-between", children: [
27122
27122
  /* @__PURE__ */ M(ne, { alignItems: "center", children: [
27123
- /* @__PURE__ */ h(W, { fontWeight: 400, mr: "8px", children: "Currency switching fee" }),
27123
+ /* @__PURE__ */ h(H, { fontWeight: 400, mr: "8px", children: "Currency switching fee" }),
27124
27124
  /* @__PURE__ */ h(
27125
27125
  jh,
27126
27126
  {
27127
27127
  body: `This ${g.switchingFeeRate}% fee applies when you choose to pay in a currency other than the default currency for your location.`,
27128
27128
  label: "Currency switching fee",
27129
- triggerComponent: /* @__PURE__ */ h(Ya, { boxSize: "20px", mt: "-4px" }),
27129
+ triggerComponent: /* @__PURE__ */ h(Xa, { boxSize: "20px", mt: "-4px" }),
27130
27130
  fontFamily: "inherit"
27131
27131
  }
27132
27132
  )
27133
27133
  ] }),
27134
- /* @__PURE__ */ M(W, { fontWeight: 600, children: [
27134
+ /* @__PURE__ */ M(H, { fontWeight: 600, children: [
27135
27135
  t,
27136
27136
  " ",
27137
27137
  vn(g.localSwitchingFee)
@@ -27139,11 +27139,11 @@ const Tu = (e) => Math.round((e + Number.EPSILON) * 100) / 100, vn = (e) => {
27139
27139
  ] }),
27140
27140
  m.totalAmountPlusFees > 0 && /* @__PURE__ */ M(ne, { width: "100%", justifyContent: "space-between", children: [
27141
27141
  /* @__PURE__ */ M(ne, { alignItems: "center", children: [
27142
- /* @__PURE__ */ h(W, { fontWeight: 400, mr: "8px", children: "Fees" }),
27142
+ /* @__PURE__ */ h(H, { fontWeight: 400, mr: "8px", children: "Fees" }),
27143
27143
  m.transactionFeeValue > 0 && /* @__PURE__ */ h(
27144
27144
  jh,
27145
27145
  {
27146
- body: /* @__PURE__ */ h(Ee, { mb: "20px", children: (Se = m.applied_fees) == null ? void 0 : Se.map((z) => /* @__PURE__ */ M(Ae, { mb: "5px", children: [
27146
+ body: /* @__PURE__ */ h(Ee, { mb: "20px", children: (Se = m.applied_fees) == null ? void 0 : Se.map((z) => /* @__PURE__ */ M(we, { mb: "5px", children: [
27147
27147
  z.display_name,
27148
27148
  ": ",
27149
27149
  z.amount,
@@ -27152,12 +27152,12 @@ const Tu = (e) => Math.round((e + Number.EPSILON) * 100) / 100, vn = (e) => {
27152
27152
  ge(z.extra)
27153
27153
  ] }, z._id)) }),
27154
27154
  label: "Fees",
27155
- triggerComponent: /* @__PURE__ */ h(Ya, { boxSize: "20px", mt: "-4px" }),
27155
+ triggerComponent: /* @__PURE__ */ h(Xa, { boxSize: "20px", mt: "-4px" }),
27156
27156
  fontFamily: "inherit"
27157
27157
  }
27158
27158
  )
27159
27159
  ] }),
27160
- /* @__PURE__ */ M(W, { fontWeight: 600, children: [
27160
+ /* @__PURE__ */ M(H, { fontWeight: 600, children: [
27161
27161
  t,
27162
27162
  " ",
27163
27163
  vn(m.transactionFeeValue)
@@ -27177,7 +27177,7 @@ const Tu = (e) => Math.round((e + Number.EPSILON) * 100) / 100, vn = (e) => {
27177
27177
  children: [
27178
27178
  /* @__PURE__ */ h(L1, { boxSize: "20px" }),
27179
27179
  /* @__PURE__ */ M(
27180
- Ae,
27180
+ we,
27181
27181
  {
27182
27182
  fontSize: "12px",
27183
27183
  color: "#111215",
@@ -27203,7 +27203,7 @@ const Tu = (e) => Math.round((e + Number.EPSILON) * 100) / 100, vn = (e) => {
27203
27203
  ]
27204
27204
  }
27205
27205
  ),
27206
- /* @__PURE__ */ M(W, { fontWeight: 600, children: [
27206
+ /* @__PURE__ */ M(H, { fontWeight: 600, children: [
27207
27207
  "-",
27208
27208
  t,
27209
27209
  " ",
@@ -27272,7 +27272,7 @@ const Tu = (e) => Math.round((e + Number.EPSILON) * 100) / 100, vn = (e) => {
27272
27272
  ) }),
27273
27273
  /* @__PURE__ */ M(ne, { width: "100%", justifyContent: "space-between", children: [
27274
27274
  /* @__PURE__ */ h(
27275
- Ae,
27275
+ we,
27276
27276
  {
27277
27277
  fontSize: "1rem",
27278
27278
  lineHeight: "32px",
@@ -27283,7 +27283,7 @@ const Tu = (e) => Math.round((e + Number.EPSILON) * 100) / 100, vn = (e) => {
27283
27283
  }
27284
27284
  ),
27285
27285
  r ? /* @__PURE__ */ h(bd, { height: "20px", width: "100px" }) : /* @__PURE__ */ M(
27286
- Ae,
27286
+ we,
27287
27287
  {
27288
27288
  fontSize: "1rem",
27289
27289
  lineHeight: "32px",
@@ -27311,7 +27311,7 @@ const Tu = (e) => Math.round((e + Number.EPSILON) * 100) / 100, vn = (e) => {
27311
27311
  opacity: $ ? 1 : 0.6,
27312
27312
  transition: "opacity 0.2s",
27313
27313
  children: [
27314
- /* @__PURE__ */ h(W, { fontWeight: 500, children: $ ? "Hide details" : "More details" }),
27314
+ /* @__PURE__ */ h(H, { fontWeight: 500, children: $ ? "Hide details" : "More details" }),
27315
27315
  /* @__PURE__ */ h(
27316
27316
  Hr,
27317
27317
  {
@@ -27339,7 +27339,7 @@ const Tu = (e) => Math.round((e + Number.EPSILON) * 100) / 100, vn = (e) => {
27339
27339
  errors: s,
27340
27340
  setFieldValue: l,
27341
27341
  proceedButton: c
27342
- }) => /* @__PURE__ */ M(dt, { children: [
27342
+ }) => /* @__PURE__ */ M(lt, { children: [
27343
27343
  /* @__PURE__ */ M(ne, { flexDirection: "column", gap: "20px", children: [
27344
27344
  t && /* @__PURE__ */ h(
27345
27345
  si,
@@ -27383,7 +27383,7 @@ const Tu = (e) => Math.round((e + Number.EPSILON) * 100) / 100, vn = (e) => {
27383
27383
  },
27384
27384
  placeholder: "",
27385
27385
  label: /* @__PURE__ */ h(
27386
- Ae,
27386
+ we,
27387
27387
  {
27388
27388
  as: "label",
27389
27389
  fontSize: "14px",
@@ -27398,7 +27398,7 @@ const Tu = (e) => Math.round((e + Number.EPSILON) * 100) / 100, vn = (e) => {
27398
27398
  }
27399
27399
  ),
27400
27400
  subtext: /* @__PURE__ */ M(
27401
- Ae,
27401
+ we,
27402
27402
  {
27403
27403
  as: "span",
27404
27404
  display: "block",
@@ -27438,7 +27438,7 @@ const Tu = (e) => Math.round((e + Number.EPSILON) * 100) / 100, vn = (e) => {
27438
27438
  }
27439
27439
  ),
27440
27440
  !!(s != null && s.phone) && /* @__PURE__ */ M(ne, { alignItems: "center", gap: "6px", mt: "4px", children: [
27441
- /* @__PURE__ */ h(Ya, { color: Qe.red500 }),
27441
+ /* @__PURE__ */ h(Xa, { color: Qe.red500 }),
27442
27442
  /* @__PURE__ */ h(
27443
27443
  by,
27444
27444
  {
@@ -27550,7 +27550,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
27550
27550
  // @ts-ignore
27551
27551
  type: "crypto"
27552
27552
  },
27553
- return_url: `${a}?reference=${m}`
27553
+ return_url: a.includes("?") ? `${a}&reference=${m}` : `${a}?reference=${m}`
27554
27554
  }
27555
27555
  });
27556
27556
  if (b)
@@ -27564,7 +27564,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
27564
27564
  }
27565
27565
  };
27566
27566
  return /* @__PURE__ */ h(
27567
- oo,
27567
+ io,
27568
27568
  {
27569
27569
  onClick: async () => {
27570
27570
  await o() || g();
@@ -27575,7 +27575,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
27575
27575
  /* @__PURE__ */ M(ne, { alignItems: "center", gap: "12px", children: [
27576
27576
  /* @__PURE__ */ h(GR, { boxSize: "32px" }),
27577
27577
  /* @__PURE__ */ h(
27578
- Ae,
27578
+ we,
27579
27579
  {
27580
27580
  color: "#111215",
27581
27581
  fontFamily: "Bricolage Grotesque",
@@ -27897,9 +27897,21 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
27897
27897
  ) }) })
27898
27898
  ] }), ZR = ({
27899
27899
  FooterElement: e,
27900
- hidePoweredBy: t
27900
+ hidePoweredBy: t,
27901
+ showFooterElement: n = !1
27901
27902
  }) => /* @__PURE__ */ M(Ee, { mt: "16px", children: [
27902
- e,
27903
+ n ? e ?? /* @__PURE__ */ h(
27904
+ we,
27905
+ {
27906
+ textAlign: "center",
27907
+ fontSize: "12px",
27908
+ fontFamily: 'Bricolage Grotesque"',
27909
+ fontWeight: 400,
27910
+ mb: "24px",
27911
+ color: "#586172",
27912
+ children: "As the Merchant of Record, Mainstack handles the collection and remittance of all applicable taxes for transactions processed on our platform. This ensures compliance with local regulations and removes the burden of tax management from merchants."
27913
+ }
27914
+ ) : /* @__PURE__ */ h(lt, {}),
27903
27915
  /* @__PURE__ */ M(
27904
27916
  ne,
27905
27917
  {
@@ -27913,8 +27925,8 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
27913
27925
  letterSpacing: "-0.2px",
27914
27926
  textDecoration: "underline",
27915
27927
  children: [
27916
- /* @__PURE__ */ h(Ae, { as: "a", children: "Terms & Conditions" }),
27917
- /* @__PURE__ */ h(Ae, { as: "a", children: "Privacy Policy" })
27928
+ /* @__PURE__ */ h(we, { as: "a", children: "Terms & Conditions" }),
27929
+ /* @__PURE__ */ h(we, { as: "a", children: "Privacy Policy" })
27918
27930
  ]
27919
27931
  }
27920
27932
  ),
@@ -27931,10 +27943,10 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
27931
27943
  lineHeight: "16px",
27932
27944
  letterSpacing: "-0.2px",
27933
27945
  children: [
27934
- /* @__PURE__ */ h(Ae, { children: "Powered by" }),
27946
+ /* @__PURE__ */ h(we, { children: "Powered by" }),
27935
27947
  /* @__PURE__ */ M(ne, { children: [
27936
27948
  /* @__PURE__ */ h(KR, {}),
27937
- /* @__PURE__ */ h(Ae, { children: "Mainstack" })
27949
+ /* @__PURE__ */ h(we, { children: "Mainstack" })
27938
27950
  ] })
27939
27951
  ]
27940
27952
  }
@@ -27968,7 +27980,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
27968
27980
  ] }), Qg = () => /* @__PURE__ */ M(ne, { alignItems: "center", gap: "18px", my: "16px", children: [
27969
27981
  /* @__PURE__ */ h(id, {}),
27970
27982
  /* @__PURE__ */ h(
27971
- Ae,
27983
+ we,
27972
27984
  {
27973
27985
  color: "#7D879B",
27974
27986
  fontFamily: "Bricolage Grotesque",
@@ -28116,7 +28128,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28116
28128
  // @ts-ignore
28117
28129
  type: "cashapp"
28118
28130
  },
28119
- return_url: `${a}?reference=${m}`
28131
+ return_url: a.includes("?") ? `${a}&reference=${m}` : `${a}?reference=${m}`
28120
28132
  }
28121
28133
  });
28122
28134
  if (b)
@@ -28132,7 +28144,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28132
28144
  }
28133
28145
  };
28134
28146
  return /* @__PURE__ */ h(
28135
- oo,
28147
+ io,
28136
28148
  {
28137
28149
  onClick: async () => {
28138
28150
  await o() || g();
@@ -28143,7 +28155,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28143
28155
  /* @__PURE__ */ M(ne, { alignItems: "center", gap: "12px", children: [
28144
28156
  /* @__PURE__ */ h(YR, { boxSize: "32px" }),
28145
28157
  /* @__PURE__ */ h(
28146
- Ae,
28158
+ we,
28147
28159
  {
28148
28160
  color: "#111215",
28149
28161
  fontFamily: "Bricolage Grotesque",
@@ -28190,7 +28202,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28190
28202
  FooterElement: v,
28191
28203
  height: x
28192
28204
  }, S) => {
28193
- var Te, Be, We, we, He, Ot, $t, ar, Sa, xa, To, mh, gh, yh, bh, vh, Sh, xh, wh, Ch, Ah, Th, Eh, Ph, kh, _h, $h, Fh, Mh, Oh, Ih, Rh, Dh, Bh, Nh, Lh, zh, Vh;
28205
+ var Te, Be, We, Ce, He, Ot, $t, ar, xa, wa, To, mh, gh, yh, bh, vh, Sh, xh, wh, Ch, Ah, Th, Eh, Ph, kh, _h, $h, Fh, Mh, Oh, Ih, Rh, Dh, Bh, Nh, Lh, zh, Vh;
28194
28206
  const {
28195
28207
  currency: b,
28196
28208
  amount: T,
@@ -28202,7 +28214,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28202
28214
  paymentRedirectUrl: se,
28203
28215
  userAllowsWalletPayment: G,
28204
28216
  userAllowsCardPayment: ge,
28205
- userAllowsCryptoPayment: W,
28217
+ userAllowsCryptoPayment: H,
28206
28218
  baseUrl: fe,
28207
28219
  hasDiscountCode: Se,
28208
28220
  mainstackProductId: z,
@@ -28211,7 +28223,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28211
28223
  STRIPE_SECRET_KEY_CAD: je,
28212
28224
  applyTrancheFee: O,
28213
28225
  ip: F,
28214
- shouldApplyTax: H,
28226
+ shouldApplyTax: W,
28215
28227
  paymentModel: N = "default",
28216
28228
  cryptoRedirectUrl: Y,
28217
28229
  isFreeTrial: ae,
@@ -28285,7 +28297,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28285
28297
  data: fh,
28286
28298
  refetch: ic,
28287
28299
  isLoading: sc
28288
- } = L9(I == null ? void 0 : I.reference, ue), [lc, kt] = X(!1), [cc, uc] = X(!1), co = (q) => q === "United States" ? "United States of America" : q === "United Kingdom" ? "United Kingdom of Great Britain and Northern Ireland" : q, j = xI({
28300
+ } = L9(I == null ? void 0 : I.reference, ue), [lc, kt] = X(!1), [cc, uc] = X(!1), uo = (q) => q === "United States" ? "United States of America" : q === "United Kingdom" ? "United Kingdom of Great Britain and Northern Ireland" : q, j = xI({
28289
28301
  initialValues: {
28290
28302
  email: (i == null ? void 0 : i.email) ?? "",
28291
28303
  fullname: (i == null ? void 0 : i.fullname) ?? "",
@@ -28294,7 +28306,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28294
28306
  currency: b,
28295
28307
  paymentType: "",
28296
28308
  cardHolderName: "",
28297
- country: co((we = e.metadata) == null ? void 0 : we.country) ?? "",
28309
+ country: uo((Ce = e.metadata) == null ? void 0 : Ce.country) ?? "",
28298
28310
  street: "",
28299
28311
  zipCode: "",
28300
28312
  additional_details: "",
@@ -28315,7 +28327,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28315
28327
  metadata: {
28316
28328
  ...$e,
28317
28329
  reference: st,
28318
- country: co($e.country)
28330
+ country: uo($e.country)
28319
28331
  }
28320
28332
  });
28321
28333
  return;
@@ -28344,9 +28356,9 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28344
28356
  chargePayload: Ac,
28345
28357
  handleChargeSuccess: (Eo) => {
28346
28358
  j.setFieldValue("payment_method", void 0);
28347
- const { data: wa, reference: Po } = Eo;
28348
- wa && Po && U({
28349
- url: wa,
28359
+ const { data: Ca, reference: Po } = Eo;
28360
+ Ca && Po && U({
28361
+ url: Ca,
28350
28362
  reference: Po,
28351
28363
  openModal: !0
28352
28364
  });
@@ -28355,8 +28367,8 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28355
28367
  handleInitError: (Eo) => {
28356
28368
  var Po;
28357
28369
  me(!1);
28358
- let wa = ((Po = Eo == null ? void 0 : Eo.raw) == null ? void 0 : Po.message) ?? "Error loading payment gateway";
28359
- wa.includes("ip_address") && (wa = "Payment failed: An extension may be blocking us from completing your payment or your browser may be unsupported. Please try again."), Et(wa, Pt.error);
28370
+ let Ca = ((Po = Eo == null ? void 0 : Eo.raw) == null ? void 0 : Po.message) ?? "Error loading payment gateway";
28371
+ Ca.includes("ip_address") && (Ca = "Payment failed: An extension may be blocking us from completing your payment or your browser may be unsupported. Please try again."), Et(Ca, Pt.error);
28360
28372
  }
28361
28373
  });
28362
28374
  }
@@ -28368,9 +28380,9 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28368
28380
  j.setFieldValue(q, me);
28369
28381
  }
28370
28382
  }));
28371
- const dc = zR((He = j.values) == null ? void 0 : He.zipCode), tr = ae ? !1 : b !== (Ct == null ? void 0 : Ct.currency), Zi = j.values.country !== "" ? Ki((Ot = j == null ? void 0 : j.values) == null ? void 0 : Ot.country) : Ct == null ? void 0 : Ct.currency, uo = Ki(e == null ? void 0 : e.merchantCountry), fc = [Ue.USD, Ue.GBP, Ue.CAD, Ue.NGN].includes(
28372
- uo
28373
- ) && uo === b, fo = ae ? !1 : !(fc && uo === Zi), hc = Zi !== b, ha = [Ue.USD].includes(b), Yi = Q ? ae ? !1 : hc || !ha : fo, {
28383
+ const dc = zR((He = j.values) == null ? void 0 : He.zipCode), tr = ae ? !1 : b !== (Ct == null ? void 0 : Ct.currency), Zi = j.values.country !== "" ? Ki((Ot = j == null ? void 0 : j.values) == null ? void 0 : Ot.country) : Ct == null ? void 0 : Ct.currency, fo = Ki(e == null ? void 0 : e.merchantCountry), fc = [Ue.USD, Ue.GBP, Ue.CAD, Ue.NGN].includes(
28384
+ fo
28385
+ ) && fo === b, ho = ae ? !1 : !(fc && fo === Zi), hc = Zi !== b, ha = [Ue.USD].includes(b), Yi = Q ? ae ? !1 : hc || !ha : ho, {
28374
28386
  data: ee,
28375
28387
  isLoading: pa,
28376
28388
  error: _t
@@ -28382,9 +28394,9 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28382
28394
  currency: b,
28383
28395
  slug: R,
28384
28396
  apply_tranche_fee: O,
28385
- ip: H ? F ?? (Ct == null ? void 0 : Ct.ip) : "",
28386
- country: H ? ($t = an == null ? void 0 : an.find((q) => q.name === j.values.country)) == null ? void 0 : $t.alpha2Code : "",
28387
- postal_code: H ? dc : "",
28397
+ ip: W ? F ?? (Ct == null ? void 0 : Ct.ip) : "",
28398
+ country: W ? ($t = an == null ? void 0 : an.find((q) => q.name === j.values.country)) == null ? void 0 : $t.alpha2Code : "",
28399
+ postal_code: W ? dc : "",
28388
28400
  product_id: (ar = e == null ? void 0 : e.metadata) == null ? void 0 : ar.product_id,
28389
28401
  apply_switching_fee: tr,
28390
28402
  apply_currency_conversion_fee: Yi
@@ -28392,9 +28404,9 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28392
28404
  ue
28393
28405
  );
28394
28406
  _t && !_e && (p && p({
28395
- message: `Error loading transaction information: ${((Sa = _t == null ? void 0 : _t.raw) == null ? void 0 : Sa.message) ?? _t ?? ""}, please reload or contact us.`
28396
- }), console.error(((xa = _t == null ? void 0 : _t.raw) == null ? void 0 : xa.message) ?? _t));
28397
- const pc = (gh = (mh = (To = ee == null ? void 0 : ee.payload) == null ? void 0 : To.tax_calculation) == null ? void 0 : mh.breakdown[0]) == null ? void 0 : gh.percentage_decimal, ho = ((bh = (yh = ee == null ? void 0 : ee.payload) == null ? void 0 : yh.tax_calculation) == null ? void 0 : bh.local_tax) ?? 0, Xi = ((Sh = (vh = ee == null ? void 0 : ee.payload) == null ? void 0 : vh.tax_calculation) == null ? void 0 : Sh.dollar_tax) ?? 0, mc = ((xh = ee == null ? void 0 : ee.payload) == null ? void 0 : xh.local_amount) ?? 0, po = ((wh = ee == null ? void 0 : ee.payload) == null ? void 0 : wh.local_transaction_fee) ?? 0, gc = ((Ch = ee == null ? void 0 : ee.payload) == null ? void 0 : Ch.currency_switching_fee) ?? 0, ma = ((Ah = ee == null ? void 0 : ee.payload) == null ? void 0 : Ah.local_currency_switching_fee) ?? 0, Ji = ((Th = ee == null ? void 0 : ee.payload) == null ? void 0 : Th.dollar_currency_switching_fee) ?? 0, Ar = parseFloat(mc) + parseFloat(po) + (le ? 0 : parseFloat(ho)) + (tr ? Number(ma) : 0), Nt = it(() => {
28407
+ message: `Error loading transaction information: ${((xa = _t == null ? void 0 : _t.raw) == null ? void 0 : xa.message) ?? _t ?? ""}, please reload or contact us.`
28408
+ }), console.error(((wa = _t == null ? void 0 : _t.raw) == null ? void 0 : wa.message) ?? _t));
28409
+ const pc = (gh = (mh = (To = ee == null ? void 0 : ee.payload) == null ? void 0 : To.tax_calculation) == null ? void 0 : mh.breakdown[0]) == null ? void 0 : gh.percentage_decimal, ma = ((bh = (yh = ee == null ? void 0 : ee.payload) == null ? void 0 : yh.tax_calculation) == null ? void 0 : bh.local_tax) ?? 0, Xi = ((Sh = (vh = ee == null ? void 0 : ee.payload) == null ? void 0 : vh.tax_calculation) == null ? void 0 : Sh.dollar_tax) ?? 0, mc = ((xh = ee == null ? void 0 : ee.payload) == null ? void 0 : xh.local_amount) ?? 0, po = ((wh = ee == null ? void 0 : ee.payload) == null ? void 0 : wh.local_transaction_fee) ?? 0, gc = ((Ch = ee == null ? void 0 : ee.payload) == null ? void 0 : Ch.currency_switching_fee) ?? 0, ga = ((Ah = ee == null ? void 0 : ee.payload) == null ? void 0 : Ah.local_currency_switching_fee) ?? 0, Ji = ((Th = ee == null ? void 0 : ee.payload) == null ? void 0 : Th.dollar_currency_switching_fee) ?? 0, Ar = parseFloat(mc) + parseFloat(po) + (le ? 0 : parseFloat(ma)) + (tr ? Number(ga) : 0), Nt = it(() => {
28398
28410
  var q;
28399
28411
  return b === Ue.UGX ? Math.ceil(Ar) * 100 : Math.round(
28400
28412
  Ar * ((q = ee == null ? void 0 : ee.payload) != null && q.is_zero_decimal_currency ? 1 : 100)
@@ -28408,7 +28420,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28408
28420
  ((Eh = ee == null ? void 0 : ee.payload) == null ? void 0 : Eh.dollar_transaction_fee) ?? 0
28409
28421
  ) + Number(tr ? Ji : 0)).toFixed(2)
28410
28422
  ).toString(), bc = parseFloat(
28411
- (Number(po) + Number(tr ? ma : 0)).toFixed(2)
28423
+ (Number(po) + Number(tr ? ga : 0)).toFixed(2)
28412
28424
  ).toString(), $e = {
28413
28425
  ...e.metadata,
28414
28426
  phone_number: (Ph = j.values) == null ? void 0 : Ph.phone,
@@ -28428,14 +28440,14 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28428
28440
  tax_calculation_id: (Oh = (Mh = ee == null ? void 0 : ee.payload) == null ? void 0 : Mh.tax_calculation) == null ? void 0 : Oh.id,
28429
28441
  tax_calculation: (Ih = ee == null ? void 0 : ee.payload) == null ? void 0 : Ih.tax_calculation,
28430
28442
  local_amount: (Rh = ee == null ? void 0 : ee.payload) == null ? void 0 : Rh.local_amount,
28431
- local_tax: ho,
28443
+ local_tax: ma,
28432
28444
  dollar_tax: Xi,
28433
28445
  dollar_currency_switching_fee: Ji,
28434
- local_currency_switching_fee: ma,
28446
+ local_currency_switching_fee: ga,
28435
28447
  ip_address: F,
28436
28448
  apply_switching_fee: tr,
28437
28449
  apply_currency_conversion_fee: Yi
28438
- }, { refetch: ga, isLoading: mo } = z9(
28450
+ }, { refetch: ya, isLoading: mo } = z9(
28439
28451
  {
28440
28452
  discount_code: xe,
28441
28453
  product_id: $e == null ? void 0 : $e.product_id,
@@ -28485,7 +28497,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28485
28497
  amount: 0,
28486
28498
  metadata: {
28487
28499
  ...$e,
28488
- country: co($e.country)
28500
+ country: uo($e.country)
28489
28501
  }
28490
28502
  });
28491
28503
  return;
@@ -28524,7 +28536,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28524
28536
  isOpen: ns,
28525
28537
  onClose: yo,
28526
28538
  onOpen: rs
28527
- } = ka(), as = async (q) => {
28539
+ } = _a(), as = async (q) => {
28528
28540
  var yt;
28529
28541
  if (q.preventDefault(), _t) {
28530
28542
  Et(
@@ -28574,9 +28586,9 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28574
28586
  P(!1), ye(!1);
28575
28587
  }, {
28576
28588
  isOpen: wc,
28577
- onClose: ya,
28589
+ onClose: ba,
28578
28590
  onOpen: vo
28579
- } = ka(), So = async () => {
28591
+ } = _a(), So = async () => {
28580
28592
  var q, me, st;
28581
28593
  U({
28582
28594
  url: "",
@@ -28617,21 +28629,21 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28617
28629
  name: "jcb",
28618
28630
  src: "https://res.cloudinary.com/mainstack-co/image/upload/v1743682005/payment_lib/JCB.png"
28619
28631
  }
28620
- ], [os, Nn] = X(0), Ln = be(null), ba = () => {
28632
+ ], [os, Nn] = X(0), Ln = be(null), va = () => {
28621
28633
  Ln.current && Nn(Ln.current.offsetWidth);
28622
28634
  };
28623
- he(() => (ba(), window.addEventListener("resize", ba), () => {
28624
- window.removeEventListener("resize", ba);
28635
+ he(() => (va(), window.addEventListener("resize", va), () => {
28636
+ window.removeEventListener("resize", va);
28625
28637
  }), [_e]);
28626
28638
  const {
28627
28639
  isOpen: Tr,
28628
28640
  onToggle: Co,
28629
28641
  onClose: is
28630
- } = ka({ defaultIsOpen: !0 }), {
28631
- isOpen: va,
28642
+ } = _a({ defaultIsOpen: !0 }), {
28643
+ isOpen: Sa,
28632
28644
  onToggle: Ao,
28633
28645
  onClose: ss
28634
- } = ka({ defaultIsOpen: !1 }), y = [
28646
+ } = _a({ defaultIsOpen: !1 }), y = [
28635
28647
  {
28636
28648
  name: "Bank Transfer or USSD",
28637
28649
  currency: Ue.NGN,
@@ -28651,10 +28663,10 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28651
28663
  (q) => q.currency === b
28652
28664
  ), w = b === Ue.USD && N !== "ips" && Xt("cashapp"), _ = ![Ue.NGN, Ue.GHS, Ue.KES].includes(
28653
28665
  b
28654
- ) && cc && G || w && G, V = !_ && Xt("crypto") && W && xo || [Ue.NGN, Ue.GHS, Ue.KES].includes(
28666
+ ) && cc && G || w && G, V = !_ && Xt("crypto") && H && xo || [Ue.NGN, Ue.GHS, Ue.KES].includes(
28655
28667
  b
28656
28668
  ) && !_ && N !== "ips";
28657
- return /* @__PURE__ */ h(dt, { children: /* @__PURE__ */ M(
28669
+ return /* @__PURE__ */ h(lt, { children: /* @__PURE__ */ M(
28658
28670
  Gf,
28659
28671
  {
28660
28672
  py: (k == null ? void 0 : k.padding) ?? "0px",
@@ -28694,18 +28706,18 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28694
28706
  hasDiscountCode: Se,
28695
28707
  discountCode: xe,
28696
28708
  setDiscountCode: Xe,
28697
- applyDiscount: ga,
28709
+ applyDiscount: ya,
28698
28710
  isApplyingDiscount: mo,
28699
28711
  onDiscountApplied: d,
28700
28712
  onDiscountRemoved: f,
28701
28713
  taxFees: {
28702
- localTaxFees: ho,
28703
- shouldApplyTax: H && !le,
28714
+ localTaxFees: ma,
28715
+ shouldApplyTax: W && !le,
28704
28716
  taxedPercent: pc
28705
28717
  },
28706
28718
  switchingFees: {
28707
28719
  applySwitchingFee: tr,
28708
- localSwitchingFee: ma,
28720
+ localSwitchingFee: ga,
28709
28721
  switchingFeeRate: gc
28710
28722
  },
28711
28723
  transactionFees: {
@@ -28734,7 +28746,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28734
28746
  height: { base: "100%", lg: "90vh" },
28735
28747
  px: Z ? "16px" : { base: "0px", lg: "32px" },
28736
28748
  children: /* @__PURE__ */ M(Ee, { width: "100%", maxWidth: "560px", children: [
28737
- /* @__PURE__ */ h(dt, { children: m }),
28749
+ /* @__PURE__ */ h(lt, { children: m }),
28738
28750
  /* @__PURE__ */ M(gI, { value: j, children: [
28739
28751
  /* @__PURE__ */ h("form", { onSubmit: j.handleSubmit, children: /* @__PURE__ */ M(Ee, { borderBottom: "1px solid #E8EBF2", py: "20px", children: [
28740
28752
  /* @__PURE__ */ M(
@@ -28744,14 +28756,14 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28744
28756
  alignItems: "center",
28745
28757
  cursor: "pointer",
28746
28758
  onClick: () => {
28747
- va && ss(), Co(), P(!1);
28759
+ Sa && ss(), Co(), P(!1);
28748
28760
  },
28749
28761
  opacity: Tr ? 1 : 0.6,
28750
28762
  transition: "opacity 0.2s",
28751
28763
  children: [
28752
- Fi(n) ? /* @__PURE__ */ h(dt, { children: n }) : /* @__PURE__ */ M(Ee, { children: [
28764
+ Fi(n) ? /* @__PURE__ */ h(lt, { children: n }) : /* @__PURE__ */ M(Ee, { children: [
28753
28765
  /* @__PURE__ */ h(
28754
- Ae,
28766
+ we,
28755
28767
  {
28756
28768
  fontSize: "1rem",
28757
28769
  lineHeight: "32px",
@@ -28762,7 +28774,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28762
28774
  }
28763
28775
  ),
28764
28776
  /* @__PURE__ */ h(
28765
- Ae,
28777
+ we,
28766
28778
  {
28767
28779
  color: "#7D879B",
28768
28780
  fontFamily: "Bricolage Grotesque",
@@ -28784,7 +28796,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28784
28796
  ]
28785
28797
  }
28786
28798
  ),
28787
- /* @__PURE__ */ h(Si, { in: Tr, children: /* @__PURE__ */ h(Ee, { transition: "all 0.2s", mt: "20px", children: s ? /* @__PURE__ */ M(dt, { children: [
28799
+ /* @__PURE__ */ h(Si, { in: Tr, children: /* @__PURE__ */ h(Ee, { transition: "all 0.2s", mt: "20px", children: s ? /* @__PURE__ */ M(lt, { children: [
28788
28800
  s,
28789
28801
  /* @__PURE__ */ h(
28790
28802
  ey,
@@ -28839,7 +28851,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28839
28851
  onClick: () => {
28840
28852
  Tr && is(), Ao();
28841
28853
  },
28842
- opacity: va ? 1 : 0.6,
28854
+ opacity: Sa ? 1 : 0.6,
28843
28855
  transition: "opacity 0.2s",
28844
28856
  disabled: !vc || Object.keys(j.errors).length > 0,
28845
28857
  width: "100%",
@@ -28849,7 +28861,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28849
28861
  children: [
28850
28862
  /* @__PURE__ */ M(Ee, { children: [
28851
28863
  /* @__PURE__ */ h(
28852
- Ae,
28864
+ we,
28853
28865
  {
28854
28866
  fontSize: "1rem",
28855
28867
  lineHeight: "32px",
@@ -28861,7 +28873,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28861
28873
  }
28862
28874
  ),
28863
28875
  /* @__PURE__ */ h(
28864
- Ae,
28876
+ we,
28865
28877
  {
28866
28878
  color: "#7D879B",
28867
28879
  fontFamily: "Bricolage Grotesque",
@@ -28876,7 +28888,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28876
28888
  /* @__PURE__ */ h(
28877
28889
  li,
28878
28890
  {
28879
- transform: va ? "rotate(0deg)" : "rotate(180deg)",
28891
+ transform: Sa ? "rotate(0deg)" : "rotate(180deg)",
28880
28892
  transition: "transform 0.2s",
28881
28893
  boxSize: "20px"
28882
28894
  }
@@ -28884,8 +28896,8 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28884
28896
  ]
28885
28897
  }
28886
28898
  ),
28887
- /* @__PURE__ */ h(Si, { in: va, children: /* @__PURE__ */ M(Ee, { transition: "all 0.2s", pb: "200px", children: [
28888
- /* @__PURE__ */ h(ne, { gap: "12px", children: (Xt("wallet") || Xt("cashapp")) && !(pe != null && pe.isFullDiscount) && /* @__PURE__ */ h(dt, { children: G && b !== Ue.NGN && b !== Ue.GHS && b !== Ue.KES && /* @__PURE__ */ M(
28899
+ /* @__PURE__ */ h(Si, { in: Sa, children: /* @__PURE__ */ M(Ee, { transition: "all 0.2s", pb: "200px", children: [
28900
+ /* @__PURE__ */ h(ne, { gap: "12px", children: (Xt("wallet") || Xt("cashapp")) && !(pe != null && pe.isFullDiscount) && /* @__PURE__ */ h(lt, { children: G && b !== Ue.NGN && b !== Ue.GHS && b !== Ue.KES && /* @__PURE__ */ M(
28889
28901
  Xs,
28890
28902
  {
28891
28903
  stripe: go,
@@ -28948,10 +28960,10 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28948
28960
  ) }) }),
28949
28961
  _ && /* @__PURE__ */ h(Qg, {}),
28950
28962
  Xt("stripe") && ge && /* @__PURE__ */ M(
28951
- oo,
28963
+ io,
28952
28964
  {
28953
28965
  onClick: (q) => {
28954
- dn || fa || De || (es(q, "card"), ba());
28966
+ dn || fa || De || (es(q, "card"), va());
28955
28967
  },
28956
28968
  isLoading: (j.values.payment_mode && j.values.payment_mode === "card" || !j.values.payment_mode) && (dn || fa),
28957
28969
  children: [
@@ -28959,7 +28971,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
28959
28971
  /* @__PURE__ */ M(ne, { alignItems: "center", gap: "12px", children: [
28960
28972
  /* @__PURE__ */ h(HR, { boxSize: "32px" }),
28961
28973
  /* @__PURE__ */ h(
28962
- Ae,
28974
+ we,
28963
28975
  {
28964
28976
  color: "#111215",
28965
28977
  fontFamily: "Bricolage Grotesque",
@@ -29054,7 +29066,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
29054
29066
  ),
29055
29067
  /* @__PURE__ */ h(Ee, { mb: V ? "0px" : "12px", children: V && /* @__PURE__ */ h(Qg, {}) }),
29056
29068
  y && N !== "ips" && /* @__PURE__ */ h(
29057
- oo,
29069
+ io,
29058
29070
  {
29059
29071
  onClick: (q) => {
29060
29072
  dn || fa || De || es(
@@ -29073,7 +29085,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
29073
29085
  /* @__PURE__ */ M(ne, { alignItems: "center", gap: "12px", children: [
29074
29086
  /* @__PURE__ */ h(qR, { boxSize: "32px" }),
29075
29087
  /* @__PURE__ */ h(
29076
- Ae,
29088
+ we,
29077
29089
  {
29078
29090
  color: "#111215",
29079
29091
  fontFamily: "Bricolage Grotesque",
@@ -29097,7 +29109,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
29097
29109
  )
29098
29110
  }
29099
29111
  ),
29100
- Xt("crypto") && W && xo && /* @__PURE__ */ h(
29112
+ Xt("crypto") && H && xo && /* @__PURE__ */ h(
29101
29113
  Xs,
29102
29114
  {
29103
29115
  stripe: go,
@@ -29130,7 +29142,13 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
29130
29142
  },
29131
29143
  nr
29132
29144
  ),
29133
- /* @__PURE__ */ h(ZR, { FooterElement: v })
29145
+ /* @__PURE__ */ h(
29146
+ ZR,
29147
+ {
29148
+ FooterElement: v,
29149
+ showFooterElement: W && Number(ma) > 0
29150
+ }
29151
+ )
29134
29152
  ] }) })
29135
29153
  ] })
29136
29154
  ] })
@@ -29149,7 +29167,7 @@ const GR = (e) => /* @__PURE__ */ M(cn, { viewBox: "0 0 32 32", ...e, fill: "non
29149
29167
  IR,
29150
29168
  {
29151
29169
  isOpen: wc,
29152
- onClose: ya
29170
+ onClose: ba
29153
29171
  }
29154
29172
  ),
29155
29173
  /* @__PURE__ */ h(