@eliseubatista99/react-scaffold-core 0.1.88 → 0.1.90

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import * as M from "react";
2
- import q, { forwardRef as kn, useContext as Yt, useEffect as Ir, useState as Ar, useMemo as Hr, useCallback as _e, useRef as Cn } from "react";
2
+ import q, { forwardRef as Cn, useContext as Yt, useEffect as Ir, useState as Ar, useMemo as Hr, useCallback as _e, useRef as Pn } from "react";
3
3
  var rt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
4
4
  function qt(e) {
5
5
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
6
6
  }
7
- function Pn(e) {
7
+ function En(e) {
8
8
  if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
9
9
  var t = e.default;
10
10
  if (typeof t == "function") {
@@ -39,7 +39,7 @@ var nt = { exports: {} }, He = {};
39
39
  * LICENSE file in the root directory of this source tree.
40
40
  */
41
41
  var rr;
42
- function En() {
42
+ function Rn() {
43
43
  if (rr) return He;
44
44
  rr = 1;
45
45
  var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
@@ -71,7 +71,7 @@ var ze = {};
71
71
  * LICENSE file in the root directory of this source tree.
72
72
  */
73
73
  var nr;
74
- function Rn() {
74
+ function _n() {
75
75
  return nr || (nr = 1, process.env.NODE_ENV !== "production" && function() {
76
76
  function e(n) {
77
77
  if (n == null) return null;
@@ -304,11 +304,11 @@ React keys must be passed directly to JSX without using spread:
304
304
  }()), ze;
305
305
  }
306
306
  var ir;
307
- function _n() {
308
- return ir || (ir = 1, process.env.NODE_ENV === "production" ? nt.exports = En() : nt.exports = Rn()), nt.exports;
307
+ function Tn() {
308
+ return ir || (ir = 1, process.env.NODE_ENV === "production" ? nt.exports = Rn() : nt.exports = _n()), nt.exports;
309
309
  }
310
- var G = _n();
311
- const is = ({ children: e, onClick: t, styles: r }) => /* @__PURE__ */ G.jsx(
310
+ var G = Tn();
311
+ const as = ({ children: e, onClick: t, styles: r }) => /* @__PURE__ */ G.jsx(
312
312
  "button",
313
313
  {
314
314
  style: {
@@ -331,7 +331,7 @@ const is = ({ children: e, onClick: t, styles: r }) => /* @__PURE__ */ G.jsx(
331
331
  }
332
332
  );
333
333
  var Pt = {}, Et = {}, Ne = {}, Rt = {}, ar;
334
- function Tn() {
334
+ function jn() {
335
335
  return ar || (ar = 1, function(e) {
336
336
  Object.defineProperty(e, "__esModule", {
337
337
  value: !0
@@ -371,7 +371,7 @@ function Tn() {
371
371
  }(Rt)), Rt;
372
372
  }
373
373
  var _t, or;
374
- function jn() {
374
+ function Dn() {
375
375
  if (or) return _t;
376
376
  or = 1;
377
377
  var e = "Expected a function", t = NaN, r = "[object Symbol]", i = /^\s+|\s+$/g, a = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, c = /^0o[0-7]+$/i, l = parseInt, u = typeof rt == "object" && rt && rt.Object === Object && rt, h = typeof self == "object" && self && self.Object === Object && self, g = u || h || Function("return this")(), x = Object.prototype, T = x.toString, D = Math.max, P = Math.min, p = function() {
@@ -782,8 +782,8 @@ function Ke() {
782
782
  N && (Q.swipeLength = tr);
783
783
  var Ie = (W ? -1 : 1) * (Q.curX > Q.startX ? 1 : -1);
784
784
  N && (Ie = Q.curY > Q.startY ? 1 : -1);
785
- var On = Math.ceil(ee / ie), Ce = F(f.touchObject, N), Ae = Q.swipeLength;
786
- return le || (V === 0 && (Ce === "right" || Ce === "down") || V + 1 >= On && (Ce === "left" || Ce === "up") || !U(f) && (Ce === "left" || Ce === "up")) && (Ae = Q.swipeLength * K, X === !1 && J && (J(Ce), Ee.edgeDragged = !0)), !te && oe && (oe(Ce), Ee.swiped = !0), L ? pe = tt + Ae * (ue / ce) * Ie : W ? pe = tt - Ae * Ie : pe = tt + Ae * Ie, N && (pe = tt + Ae * Ie), Ee = s(s({}, Ee), {}, {
785
+ var kn = Math.ceil(ee / ie), Ce = F(f.touchObject, N), Ae = Q.swipeLength;
786
+ return le || (V === 0 && (Ce === "right" || Ce === "down") || V + 1 >= kn && (Ce === "left" || Ce === "up") || !U(f) && (Ce === "left" || Ce === "up")) && (Ae = Q.swipeLength * K, X === !1 && J && (J(Ce), Ee.edgeDragged = !0)), !te && oe && (oe(Ce), Ee.swiped = !0), L ? pe = tt + Ae * (ue / ce) * Ie : W ? pe = tt - Ae * Ie : pe = tt + Ae * Ie, N && (pe = tt + Ae * Ie), Ee = s(s({}, Ee), {}, {
787
787
  touchObject: Q,
788
788
  swipeLeft: pe,
789
789
  trackStyle: E(s(s({}, f), {}, {
@@ -951,7 +951,7 @@ function Ke() {
951
951
  return Y;
952
952
  }
953
953
  var Fe = {}, cr;
954
- function Dn() {
954
+ function Ln() {
955
955
  if (cr) return Fe;
956
956
  cr = 1, Object.defineProperty(Fe, "__esModule", {
957
957
  value: !0
@@ -1178,7 +1178,7 @@ function Dn() {
1178
1178
  }(e.default.PureComponent), Fe;
1179
1179
  }
1180
1180
  var We = {}, fr;
1181
- function Ln() {
1181
+ function Mn() {
1182
1182
  if (fr) return We;
1183
1183
  fr = 1;
1184
1184
  function e(v) {
@@ -1341,7 +1341,7 @@ function Ln() {
1341
1341
  }(t.default.PureComponent), We;
1342
1342
  }
1343
1343
  var Re = {}, dr;
1344
- function Mn() {
1344
+ function $n() {
1345
1345
  if (dr) return Re;
1346
1346
  dr = 1;
1347
1347
  function e(v) {
@@ -1591,25 +1591,25 @@ var Nr = function() {
1591
1591
  );
1592
1592
  }(), At = typeof window < "u" && typeof document < "u" && window.document === document, pt = function() {
1593
1593
  return typeof global < "u" && global.Math === Math ? global : typeof self < "u" && self.Math === Math ? self : typeof window < "u" && window.Math === Math ? window : Function("return this")();
1594
- }(), $n = function() {
1594
+ }(), In = function() {
1595
1595
  return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(pt) : function(e) {
1596
1596
  return setTimeout(function() {
1597
1597
  return e(Date.now());
1598
1598
  }, 1e3 / 60);
1599
1599
  };
1600
- }(), In = 2;
1601
- function An(e, t) {
1600
+ }(), An = 2;
1601
+ function Hn(e, t) {
1602
1602
  var r = !1, i = !1, a = 0;
1603
1603
  function s() {
1604
1604
  r && (r = !1, e()), i && l();
1605
1605
  }
1606
1606
  function c() {
1607
- $n(s);
1607
+ In(s);
1608
1608
  }
1609
1609
  function l() {
1610
1610
  var u = Date.now();
1611
1611
  if (r) {
1612
- if (u - a < In)
1612
+ if (u - a < An)
1613
1613
  return;
1614
1614
  i = !0;
1615
1615
  } else
@@ -1618,11 +1618,11 @@ function An(e, t) {
1618
1618
  }
1619
1619
  return l;
1620
1620
  }
1621
- var Hn = 20, zn = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], Nn = typeof MutationObserver < "u", Fn = (
1621
+ var zn = 20, Nn = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], Fn = typeof MutationObserver < "u", Wn = (
1622
1622
  /** @class */
1623
1623
  function() {
1624
1624
  function e() {
1625
- this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = An(this.refresh.bind(this), Hn);
1625
+ this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = Hn(this.refresh.bind(this), zn);
1626
1626
  }
1627
1627
  return e.prototype.addObserver = function(t) {
1628
1628
  ~this.observers_.indexOf(t) || this.observers_.push(t), this.connected_ || this.connect_();
@@ -1640,7 +1640,7 @@ var Hn = 20, zn = ["top", "right", "bottom", "left", "width", "height", "size",
1640
1640
  return r.broadcastActive();
1641
1641
  }), t.length > 0;
1642
1642
  }, e.prototype.connect_ = function() {
1643
- !At || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), Nn ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
1643
+ !At || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), Fn ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
1644
1644
  attributes: !0,
1645
1645
  childList: !0,
1646
1646
  characterData: !0,
@@ -1649,7 +1649,7 @@ var Hn = 20, zn = ["top", "right", "bottom", "left", "width", "height", "size",
1649
1649
  }, e.prototype.disconnect_ = function() {
1650
1650
  !At || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
1651
1651
  }, e.prototype.onTransitionEnd_ = function(t) {
1652
- var r = t.propertyName, i = r === void 0 ? "" : r, a = zn.some(function(s) {
1652
+ var r = t.propertyName, i = r === void 0 ? "" : r, a = Nn.some(function(s) {
1653
1653
  return !!~i.indexOf(s);
1654
1654
  });
1655
1655
  a && this.refresh();
@@ -1683,42 +1683,42 @@ function hr(e) {
1683
1683
  return i + mt(s);
1684
1684
  }, 0);
1685
1685
  }
1686
- function Wn(e) {
1686
+ function Un(e) {
1687
1687
  for (var t = ["top", "right", "bottom", "left"], r = {}, i = 0, a = t; i < a.length; i++) {
1688
1688
  var s = a[i], c = e["padding-" + s];
1689
1689
  r[s] = mt(c);
1690
1690
  }
1691
1691
  return r;
1692
1692
  }
1693
- function Un(e) {
1693
+ function Yn(e) {
1694
1694
  var t = e.getBBox();
1695
1695
  return bt(0, 0, t.width, t.height);
1696
1696
  }
1697
- function Yn(e) {
1697
+ function qn(e) {
1698
1698
  var t = e.clientWidth, r = e.clientHeight;
1699
1699
  if (!t && !r)
1700
1700
  return Wr;
1701
- var i = je(e).getComputedStyle(e), a = Wn(i), s = a.left + a.right, c = a.top + a.bottom, l = mt(i.width), u = mt(i.height);
1702
- if (i.boxSizing === "border-box" && (Math.round(l + s) !== t && (l -= hr(i, "left", "right") + s), Math.round(u + c) !== r && (u -= hr(i, "top", "bottom") + c)), !Bn(e)) {
1701
+ var i = je(e).getComputedStyle(e), a = Un(i), s = a.left + a.right, c = a.top + a.bottom, l = mt(i.width), u = mt(i.height);
1702
+ if (i.boxSizing === "border-box" && (Math.round(l + s) !== t && (l -= hr(i, "left", "right") + s), Math.round(u + c) !== r && (u -= hr(i, "top", "bottom") + c)), !Vn(e)) {
1703
1703
  var h = Math.round(l + s) - t, g = Math.round(u + c) - r;
1704
1704
  Math.abs(h) !== 1 && (l -= h), Math.abs(g) !== 1 && (u -= g);
1705
1705
  }
1706
1706
  return bt(a.left, a.top, l, u);
1707
1707
  }
1708
- var qn = /* @__PURE__ */ function() {
1708
+ var Bn = /* @__PURE__ */ function() {
1709
1709
  return typeof SVGGraphicsElement < "u" ? function(e) {
1710
1710
  return e instanceof je(e).SVGGraphicsElement;
1711
1711
  } : function(e) {
1712
1712
  return e instanceof je(e).SVGElement && typeof e.getBBox == "function";
1713
1713
  };
1714
1714
  }();
1715
- function Bn(e) {
1716
- return e === je(e).document.documentElement;
1717
- }
1718
1715
  function Vn(e) {
1719
- return At ? qn(e) ? Un(e) : Yn(e) : Wr;
1716
+ return e === je(e).document.documentElement;
1720
1717
  }
1721
1718
  function Xn(e) {
1719
+ return At ? Bn(e) ? Yn(e) : qn(e) : Wr;
1720
+ }
1721
+ function Gn(e) {
1722
1722
  var t = e.x, r = e.y, i = e.width, a = e.height, s = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, c = Object.create(s.prototype);
1723
1723
  return Fr(c, {
1724
1724
  x: t,
@@ -1734,30 +1734,30 @@ function Xn(e) {
1734
1734
  function bt(e, t, r, i) {
1735
1735
  return { x: e, y: t, width: r, height: i };
1736
1736
  }
1737
- var Gn = (
1737
+ var Kn = (
1738
1738
  /** @class */
1739
1739
  function() {
1740
1740
  function e(t) {
1741
1741
  this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = bt(0, 0, 0, 0), this.target = t;
1742
1742
  }
1743
1743
  return e.prototype.isActive = function() {
1744
- var t = Vn(this.target);
1744
+ var t = Xn(this.target);
1745
1745
  return this.contentRect_ = t, t.width !== this.broadcastWidth || t.height !== this.broadcastHeight;
1746
1746
  }, e.prototype.broadcastRect = function() {
1747
1747
  var t = this.contentRect_;
1748
1748
  return this.broadcastWidth = t.width, this.broadcastHeight = t.height, t;
1749
1749
  }, e;
1750
1750
  }()
1751
- ), Kn = (
1751
+ ), Jn = (
1752
1752
  /** @class */
1753
1753
  /* @__PURE__ */ function() {
1754
1754
  function e(t, r) {
1755
- var i = Xn(r);
1755
+ var i = Gn(r);
1756
1756
  Fr(this, { target: t, contentRect: i });
1757
1757
  }
1758
1758
  return e;
1759
1759
  }()
1760
- ), Jn = (
1760
+ ), Zn = (
1761
1761
  /** @class */
1762
1762
  function() {
1763
1763
  function e(t, r, i) {
@@ -1772,7 +1772,7 @@ var Gn = (
1772
1772
  if (!(t instanceof je(t).Element))
1773
1773
  throw new TypeError('parameter 1 is not of type "Element".');
1774
1774
  var r = this.observations_;
1775
- r.has(t) || (r.set(t, new Gn(t)), this.controller_.addObserver(this), this.controller_.refresh());
1775
+ r.has(t) || (r.set(t, new Kn(t)), this.controller_.addObserver(this), this.controller_.refresh());
1776
1776
  }
1777
1777
  }, e.prototype.unobserve = function(t) {
1778
1778
  if (!arguments.length)
@@ -1793,7 +1793,7 @@ var Gn = (
1793
1793
  }, e.prototype.broadcastActive = function() {
1794
1794
  if (this.hasActive()) {
1795
1795
  var t = this.callbackCtx_, r = this.activeObservations_.map(function(i) {
1796
- return new Kn(i.target, i.broadcastRect());
1796
+ return new Jn(i.target, i.broadcastRect());
1797
1797
  });
1798
1798
  this.callback_.call(t, r, t), this.clearActive();
1799
1799
  }
@@ -1811,7 +1811,7 @@ var Gn = (
1811
1811
  throw new TypeError("Cannot call a class as a function.");
1812
1812
  if (!arguments.length)
1813
1813
  throw new TypeError("1 argument required, but only 0 present.");
1814
- var r = Fn.getInstance(), i = new Jn(t, r, this);
1814
+ var r = Wn.getInstance(), i = new Zn(t, r, this);
1815
1815
  Ur.set(this, i);
1816
1816
  }
1817
1817
  return e;
@@ -1827,20 +1827,20 @@ var Gn = (
1827
1827
  return (t = Ur.get(this))[e].apply(t, arguments);
1828
1828
  };
1829
1829
  });
1830
- var Zn = function() {
1830
+ var Qn = function() {
1831
1831
  return typeof pt.ResizeObserver < "u" ? pt.ResizeObserver : Yr;
1832
1832
  }();
1833
- const Qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1833
+ const ei = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1834
1834
  __proto__: null,
1835
- default: Zn
1836
- }, Symbol.toStringTag, { value: "Module" })), ei = /* @__PURE__ */ Pn(Qn);
1835
+ default: Qn
1836
+ }, Symbol.toStringTag, { value: "Module" })), ti = /* @__PURE__ */ En(ei);
1837
1837
  var pr;
1838
- function ti() {
1838
+ function ri() {
1839
1839
  if (pr) return Ne;
1840
1840
  pr = 1, Object.defineProperty(Ne, "__esModule", {
1841
1841
  value: !0
1842
1842
  }), Ne.InnerSlider = void 0;
1843
- var e = h(q), t = h(Tn()), r = h(jn()), i = h(yt()), a = Ke(), s = Dn(), c = Ln(), l = Mn(), u = h(ei);
1843
+ var e = h(q), t = h(jn()), r = h(Dn()), i = h(yt()), a = Ke(), s = Ln(), c = Mn(), l = $n(), u = h(ti);
1844
1844
  function h(R) {
1845
1845
  return R && R.__esModule ? R : { default: R };
1846
1846
  }
@@ -2369,7 +2369,7 @@ function ti() {
2369
2369
  }(e.default.Component), Ne;
2370
2370
  }
2371
2371
  var Dt, mr;
2372
- function ri() {
2372
+ function ni() {
2373
2373
  if (mr) return Dt;
2374
2374
  mr = 1;
2375
2375
  var e = function(t) {
@@ -2380,10 +2380,10 @@ function ri() {
2380
2380
  return Dt = e, Dt;
2381
2381
  }
2382
2382
  var Lt, vr;
2383
- function ni() {
2383
+ function ii() {
2384
2384
  if (vr) return Lt;
2385
2385
  vr = 1;
2386
- var e = ri(), t = function(a) {
2386
+ var e = ni(), t = function(a) {
2387
2387
  var s = /[height|width]$/;
2388
2388
  return s.test(a);
2389
2389
  }, r = function(a) {
@@ -2401,12 +2401,12 @@ function ni() {
2401
2401
  return Lt = i, Lt;
2402
2402
  }
2403
2403
  var gr;
2404
- function ii() {
2404
+ function ai() {
2405
2405
  return gr || (gr = 1, function(e) {
2406
2406
  Object.defineProperty(e, "__esModule", {
2407
2407
  value: !0
2408
2408
  }), e.default = void 0;
2409
- var t = c(q), r = ti(), i = c(ni()), a = c(zr()), s = Ke();
2409
+ var t = c(q), r = ri(), i = c(ii()), a = c(zr()), s = Ke();
2410
2410
  function c(E) {
2411
2411
  return E && E.__esModule ? E : { default: E };
2412
2412
  }
@@ -2650,20 +2650,20 @@ function ii() {
2650
2650
  }(Et)), Et;
2651
2651
  }
2652
2652
  var yr;
2653
- function ai() {
2653
+ function oi() {
2654
2654
  return yr || (yr = 1, function(e) {
2655
2655
  Object.defineProperty(e, "__esModule", {
2656
2656
  value: !0
2657
2657
  }), e.default = void 0;
2658
- var t = r(ii());
2658
+ var t = r(ai());
2659
2659
  function r(i) {
2660
2660
  return i && i.__esModule ? i : { default: i };
2661
2661
  }
2662
2662
  e.default = t.default;
2663
2663
  }(Pt)), Pt;
2664
2664
  }
2665
- var oi = ai();
2666
- const si = /* @__PURE__ */ qt(oi);
2665
+ var si = oi();
2666
+ const li = /* @__PURE__ */ qt(si);
2667
2667
  function Ht() {
2668
2668
  return Ht = Object.assign ? Object.assign.bind() : function(e) {
2669
2669
  for (var t = 1; t < arguments.length; t++) {
@@ -2673,18 +2673,18 @@ function Ht() {
2673
2673
  return e;
2674
2674
  }, Ht.apply(null, arguments);
2675
2675
  }
2676
- function li(e) {
2676
+ function ui(e) {
2677
2677
  if (e.sheet)
2678
2678
  return e.sheet;
2679
2679
  for (var t = 0; t < document.styleSheets.length; t++)
2680
2680
  if (document.styleSheets[t].ownerNode === e)
2681
2681
  return document.styleSheets[t];
2682
2682
  }
2683
- function ui(e) {
2683
+ function ci(e) {
2684
2684
  var t = document.createElement("style");
2685
2685
  return t.setAttribute("data-emotion", e.key), e.nonce !== void 0 && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t;
2686
2686
  }
2687
- var ci = /* @__PURE__ */ function() {
2687
+ var fi = /* @__PURE__ */ function() {
2688
2688
  function e(r) {
2689
2689
  var i = this;
2690
2690
  this._insertTag = function(a) {
@@ -2696,10 +2696,10 @@ var ci = /* @__PURE__ */ function() {
2696
2696
  return t.hydrate = function(i) {
2697
2697
  i.forEach(this._insertTag);
2698
2698
  }, t.insert = function(i) {
2699
- this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(ui(this));
2699
+ this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(ci(this));
2700
2700
  var a = this.tags[this.tags.length - 1];
2701
2701
  if (this.isSpeedy) {
2702
- var s = li(a);
2702
+ var s = ui(a);
2703
2703
  try {
2704
2704
  s.insertRule(i, s.cssRules.length);
2705
2705
  } catch {
@@ -2713,14 +2713,14 @@ var ci = /* @__PURE__ */ function() {
2713
2713
  return (a = i.parentNode) == null ? void 0 : a.removeChild(i);
2714
2714
  }), this.tags = [], this.ctr = 0;
2715
2715
  }, e;
2716
- }(), de = "-ms-", vt = "-moz-", re = "-webkit-", qr = "comm", Bt = "rule", Vt = "decl", fi = "@import", Br = "@keyframes", di = "@layer", hi = Math.abs, wt = String.fromCharCode, pi = Object.assign;
2717
- function mi(e, t) {
2716
+ }(), de = "-ms-", vt = "-moz-", re = "-webkit-", qr = "comm", Bt = "rule", Vt = "decl", di = "@import", Br = "@keyframes", hi = "@layer", pi = Math.abs, wt = String.fromCharCode, mi = Object.assign;
2717
+ function vi(e, t) {
2718
2718
  return fe(e, 0) ^ 45 ? (((t << 2 ^ fe(e, 0)) << 2 ^ fe(e, 1)) << 2 ^ fe(e, 2)) << 2 ^ fe(e, 3) : 0;
2719
2719
  }
2720
2720
  function Vr(e) {
2721
2721
  return e.trim();
2722
2722
  }
2723
- function vi(e, t) {
2723
+ function gi(e, t) {
2724
2724
  return (e = t.exec(e)) ? e[0] : e;
2725
2725
  }
2726
2726
  function ne(e, t, r) {
@@ -2744,7 +2744,7 @@ function Xt(e) {
2744
2744
  function it(e, t) {
2745
2745
  return t.push(e), e;
2746
2746
  }
2747
- function gi(e, t) {
2747
+ function yi(e, t) {
2748
2748
  return e.map(t).join("");
2749
2749
  }
2750
2750
  var St = 1, De = 1, Xr = 0, he = 0, se = 0, Le = "";
@@ -2752,12 +2752,12 @@ function xt(e, t, r, i, a, s, c) {
2752
2752
  return { value: e, root: t, parent: r, type: i, props: a, children: s, line: St, column: De, length: c, return: "" };
2753
2753
  }
2754
2754
  function Ue(e, t) {
2755
- return pi(xt("", null, null, "", null, null, 0), e, { length: -e.length }, t);
2755
+ return mi(xt("", null, null, "", null, null, 0), e, { length: -e.length }, t);
2756
2756
  }
2757
- function yi() {
2757
+ function bi() {
2758
2758
  return se;
2759
2759
  }
2760
- function bi() {
2760
+ function wi() {
2761
2761
  return se = he > 0 ? fe(Le, --he) : 0, De--, se === 10 && (De = 1, St--), se;
2762
2762
  }
2763
2763
  function me() {
@@ -2819,12 +2819,12 @@ function Kr(e) {
2819
2819
  function st(e) {
2820
2820
  return Vr(Je(he - 1, Nt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
2821
2821
  }
2822
- function wi(e) {
2822
+ function Si(e) {
2823
2823
  for (; (se = be()) && se < 33; )
2824
2824
  me();
2825
2825
  return Ve(e) > 2 || Ve(se) > 3 ? "" : " ";
2826
2826
  }
2827
- function Si(e, t) {
2827
+ function xi(e, t) {
2828
2828
  for (; --t && me() && !(se < 48 || se > 102 || se > 57 && se < 65 || se > 70 && se < 97); )
2829
2829
  ;
2830
2830
  return Je(e, ot() + (t < 6 && be() == 32 && me() == 32));
@@ -2851,18 +2851,18 @@ function Nt(e) {
2851
2851
  }
2852
2852
  return he;
2853
2853
  }
2854
- function xi(e, t) {
2854
+ function Oi(e, t) {
2855
2855
  for (; me() && e + se !== 57; )
2856
2856
  if (e + se === 84 && be() === 47)
2857
2857
  break;
2858
2858
  return "/*" + Je(t, he - 1) + "*" + wt(e === 47 ? e : me());
2859
2859
  }
2860
- function Oi(e) {
2860
+ function ki(e) {
2861
2861
  for (; !Ve(be()); )
2862
2862
  me();
2863
2863
  return Je(e, he);
2864
2864
  }
2865
- function ki(e) {
2865
+ function Ci(e) {
2866
2866
  return Kr(lt("", null, null, null, [""], e = Gr(e), 0, [0], e));
2867
2867
  }
2868
2868
  function lt(e, t, r, i, a, s, c, l, u) {
@@ -2885,18 +2885,18 @@ function lt(e, t, r, i, a, s, c, l, u) {
2885
2885
  case 10:
2886
2886
  case 13:
2887
2887
  case 32:
2888
- w += wi(P);
2888
+ w += Si(P);
2889
2889
  break;
2890
2890
  // \
2891
2891
  case 92:
2892
- w += Si(ot() - 1, 7);
2892
+ w += xi(ot() - 1, 7);
2893
2893
  continue;
2894
2894
  // /
2895
2895
  case 47:
2896
2896
  switch (be()) {
2897
2897
  case 42:
2898
2898
  case 47:
2899
- it(Ci(xi(me(), ot()), t, r), u);
2899
+ it(Pi(Oi(me(), ot()), t, r), u);
2900
2900
  break;
2901
2901
  default:
2902
2902
  w += "/";
@@ -2948,7 +2948,7 @@ function lt(e, t, r, i, a, s, c, l, u) {
2948
2948
  if (p < 1) {
2949
2949
  if (F == 123)
2950
2950
  --p;
2951
- else if (F == 125 && p++ == 0 && bi() == 125)
2951
+ else if (F == 125 && p++ == 0 && wi() == 125)
2952
2952
  continue;
2953
2953
  }
2954
2954
  switch (w += wt(F), F * p) {
@@ -2962,7 +2962,7 @@ function lt(e, t, r, i, a, s, c, l, u) {
2962
2962
  break;
2963
2963
  // @
2964
2964
  case 64:
2965
- be() === 45 && (w += st(me())), T = be(), g = x = ge(U = w += Oi(ot())), F++;
2965
+ be() === 45 && (w += st(me())), T = be(), g = x = ge(U = w += ki(ot())), F++;
2966
2966
  break;
2967
2967
  // -
2968
2968
  case 45:
@@ -2973,12 +2973,12 @@ function lt(e, t, r, i, a, s, c, l, u) {
2973
2973
  }
2974
2974
  function br(e, t, r, i, a, s, c, l, u, h, g) {
2975
2975
  for (var x = a - 1, T = a === 0 ? s : [""], D = Xt(T), P = 0, p = 0, I = 0; P < i; ++P)
2976
- for (var O = 0, F = Be(e, x + 1, x = hi(p = c[P])), U = e; O < D; ++O)
2976
+ for (var O = 0, F = Be(e, x + 1, x = pi(p = c[P])), U = e; O < D; ++O)
2977
2977
  (U = Vr(p > 0 ? T[O] + " " + F : ne(F, /&\f/g, T[O]))) && (u[I++] = U);
2978
2978
  return xt(e, t, r, a === 0 ? Bt : l, u, h, g);
2979
2979
  }
2980
- function Ci(e, t, r) {
2981
- return xt(e, t, r, qr, wt(yi()), Be(e, 2, -2), 0);
2980
+ function Pi(e, t, r) {
2981
+ return xt(e, t, r, qr, wt(bi()), Be(e, 2, -2), 0);
2982
2982
  }
2983
2983
  function wr(e, t, r, i) {
2984
2984
  return xt(e, t, r, Vt, Be(e, 0, i), Be(e, i + 1, -1), i);
@@ -2988,11 +2988,11 @@ function Te(e, t) {
2988
2988
  r += t(e[a], a, e, t) || "";
2989
2989
  return r;
2990
2990
  }
2991
- function Pi(e, t, r, i) {
2991
+ function Ei(e, t, r, i) {
2992
2992
  switch (e.type) {
2993
- case di:
2993
+ case hi:
2994
2994
  if (e.children.length) break;
2995
- case fi:
2995
+ case di:
2996
2996
  case Vt:
2997
2997
  return e.return = e.return || e.value;
2998
2998
  case qr:
@@ -3004,7 +3004,7 @@ function Pi(e, t, r, i) {
3004
3004
  }
3005
3005
  return ge(r = Te(e.children, i)) ? e.return = e.value + "{" + r + "}" : "";
3006
3006
  }
3007
- function Ei(e) {
3007
+ function Ri(e) {
3008
3008
  var t = Xt(e);
3009
3009
  return function(r, i, a, s) {
3010
3010
  for (var c = "", l = 0; l < t; l++)
@@ -3012,7 +3012,7 @@ function Ei(e) {
3012
3012
  return c;
3013
3013
  };
3014
3014
  }
3015
- function Ri(e) {
3015
+ function _i(e) {
3016
3016
  return function(t) {
3017
3017
  t.root || (t = t.return) && e(t);
3018
3018
  };
@@ -3023,16 +3023,16 @@ function Jr(e) {
3023
3023
  return t[r] === void 0 && (t[r] = e(r)), t[r];
3024
3024
  };
3025
3025
  }
3026
- var _i = function(t, r, i) {
3026
+ var Ti = function(t, r, i) {
3027
3027
  for (var a = 0, s = 0; a = s, s = be(), a === 38 && s === 12 && (r[i] = 1), !Ve(s); )
3028
3028
  me();
3029
3029
  return Je(t, he);
3030
- }, Ti = function(t, r) {
3030
+ }, ji = function(t, r) {
3031
3031
  var i = -1, a = 44;
3032
3032
  do
3033
3033
  switch (Ve(a)) {
3034
3034
  case 0:
3035
- a === 38 && be() === 12 && (r[i] = 1), t[i] += _i(he - 1, r, i);
3035
+ a === 38 && be() === 12 && (r[i] = 1), t[i] += Ti(he - 1, r, i);
3036
3036
  break;
3037
3037
  case 2:
3038
3038
  t[i] += st(a);
@@ -3048,9 +3048,9 @@ var _i = function(t, r, i) {
3048
3048
  }
3049
3049
  while (a = me());
3050
3050
  return t;
3051
- }, ji = function(t, r) {
3052
- return Kr(Ti(Gr(t), r));
3053
- }, Sr = /* @__PURE__ */ new WeakMap(), Di = function(t) {
3051
+ }, Di = function(t, r) {
3052
+ return Kr(ji(Gr(t), r));
3053
+ }, Sr = /* @__PURE__ */ new WeakMap(), Li = function(t) {
3054
3054
  if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
3055
3055
  // negative .length indicates that this rule has been already prefixed
3056
3056
  t.length < 1)) {
@@ -3058,12 +3058,12 @@ var _i = function(t, r, i) {
3058
3058
  if (i = i.parent, !i) return;
3059
3059
  if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !Sr.get(i)) && !a) {
3060
3060
  Sr.set(t, !0);
3061
- for (var s = [], c = ji(r, s), l = i.props, u = 0, h = 0; u < c.length; u++)
3061
+ for (var s = [], c = Di(r, s), l = i.props, u = 0, h = 0; u < c.length; u++)
3062
3062
  for (var g = 0; g < l.length; g++, h++)
3063
3063
  t.props[h] = s[u] ? c[u].replace(/&\f/g, l[g]) : l[g] + " " + c[u];
3064
3064
  }
3065
3065
  }
3066
- }, Li = function(t) {
3066
+ }, Mi = function(t) {
3067
3067
  if (t.type === "decl") {
3068
3068
  var r = t.value;
3069
3069
  // charcode for l
@@ -3072,7 +3072,7 @@ var _i = function(t, r, i) {
3072
3072
  }
3073
3073
  };
3074
3074
  function Zr(e, t) {
3075
- switch (mi(e, t)) {
3075
+ switch (vi(e, t)) {
3076
3076
  // color-adjust
3077
3077
  case 5103:
3078
3078
  return re + "print-" + e + e;
@@ -3213,7 +3213,7 @@ function Zr(e, t) {
3213
3213
  }
3214
3214
  return e;
3215
3215
  }
3216
- var Mi = function(t, r, i, a) {
3216
+ var $i = function(t, r, i, a) {
3217
3217
  if (t.length > -1 && !t.return) switch (t.type) {
3218
3218
  case Vt:
3219
3219
  t.return = Zr(t.value, t.length);
@@ -3223,8 +3223,8 @@ var Mi = function(t, r, i, a) {
3223
3223
  value: ne(t.value, "@", "@" + re)
3224
3224
  })], a);
3225
3225
  case Bt:
3226
- if (t.length) return gi(t.props, function(s) {
3227
- switch (vi(s, /(::plac\w+|:read-\w+)/)) {
3226
+ if (t.length) return yi(t.props, function(s) {
3227
+ switch (gi(s, /(::plac\w+|:read-\w+)/)) {
3228
3228
  // :read-(only|write)
3229
3229
  case ":read-only":
3230
3230
  case ":read-write":
@@ -3244,7 +3244,7 @@ var Mi = function(t, r, i, a) {
3244
3244
  return "";
3245
3245
  });
3246
3246
  }
3247
- }, $i = [Mi], Ii = function(t) {
3247
+ }, Ii = [$i], Ai = function(t) {
3248
3248
  var r = t.key;
3249
3249
  if (r === "css") {
3250
3250
  var i = document.querySelectorAll("style[data-emotion]:not([data-s])");
@@ -3253,7 +3253,7 @@ var Mi = function(t, r, i, a) {
3253
3253
  I.indexOf(" ") !== -1 && (document.head.appendChild(p), p.setAttribute("data-s", ""));
3254
3254
  });
3255
3255
  }
3256
- var a = t.stylisPlugins || $i, s = {}, c, l = [];
3256
+ var a = t.stylisPlugins || Ii, s = {}, c, l = [];
3257
3257
  c = t.container || document.head, Array.prototype.forEach.call(
3258
3258
  // this means we will ignore elements which don't have a space in them which
3259
3259
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
@@ -3264,12 +3264,12 @@ var Mi = function(t, r, i, a) {
3264
3264
  l.push(p);
3265
3265
  }
3266
3266
  );
3267
- var u, h = [Di, Li];
3267
+ var u, h = [Li, Mi];
3268
3268
  {
3269
- var g, x = [Pi, Ri(function(p) {
3269
+ var g, x = [Ei, _i(function(p) {
3270
3270
  g.insert(p);
3271
- })], T = Ei(h.concat(a, x)), D = function(I) {
3272
- return Te(ki(I), T);
3271
+ })], T = Ri(h.concat(a, x)), D = function(I) {
3272
+ return Te(Ci(I), T);
3273
3273
  };
3274
3274
  u = function(I, O, F, U) {
3275
3275
  g = F, D(I ? I + "{" + O.styles + "}" : O.styles), U && (P.inserted[O.name] = !0);
@@ -3277,7 +3277,7 @@ var Mi = function(t, r, i, a) {
3277
3277
  }
3278
3278
  var P = {
3279
3279
  key: r,
3280
- sheet: new ci({
3280
+ sheet: new fi({
3281
3281
  key: r,
3282
3282
  container: c,
3283
3283
  nonce: t.nonce,
@@ -3291,8 +3291,8 @@ var Mi = function(t, r, i, a) {
3291
3291
  insert: u
3292
3292
  };
3293
3293
  return P.sheet.hydrate(l), P;
3294
- }, Ai = !0;
3295
- function Hi(e, t, r) {
3294
+ }, Hi = !0;
3295
+ function zi(e, t, r) {
3296
3296
  var i = "";
3297
3297
  return r.split(" ").forEach(function(a) {
3298
3298
  e[a] !== void 0 ? t.push(e[a] + ";") : a && (i += a + " ");
@@ -3309,8 +3309,8 @@ var Qr = function(t, r, i) {
3309
3309
  // in node since emotion-server relies on whether a style is in
3310
3310
  // the registered cache to know whether a style is global or not
3311
3311
  // also, note that this check will be dead code eliminated in the browser
3312
- Ai === !1) && t.registered[a] === void 0 && (t.registered[a] = r.styles);
3313
- }, zi = function(t, r, i) {
3312
+ Hi === !1) && t.registered[a] === void 0 && (t.registered[a] = r.styles);
3313
+ }, Ni = function(t, r, i) {
3314
3314
  Qr(t, r, i);
3315
3315
  var a = t.key + "-" + r.name;
3316
3316
  if (t.inserted[r.name] === void 0) {
@@ -3320,7 +3320,7 @@ var Qr = function(t, r, i) {
3320
3320
  while (s !== void 0);
3321
3321
  }
3322
3322
  };
3323
- function Ni(e) {
3323
+ function Fi(e) {
3324
3324
  for (var t = 0, r, i = 0, a = e.length; a >= 4; ++i, a -= 4)
3325
3325
  r = e.charCodeAt(i) & 255 | (e.charCodeAt(++i) & 255) << 8 | (e.charCodeAt(++i) & 255) << 16 | (e.charCodeAt(++i) & 255) << 24, r = /* Math.imul(k, m): */
3326
3326
  (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
@@ -3339,7 +3339,7 @@ function Ni(e) {
3339
3339
  return t ^= t >>> 13, t = /* Math.imul(h, m): */
3340
3340
  (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
3341
3341
  }
3342
- var Fi = {
3342
+ var Wi = {
3343
3343
  animationIterationCount: 1,
3344
3344
  aspectRatio: 1,
3345
3345
  borderImageOutset: 1,
@@ -3388,18 +3388,18 @@ var Fi = {
3388
3388
  strokeMiterlimit: 1,
3389
3389
  strokeOpacity: 1,
3390
3390
  strokeWidth: 1
3391
- }, Wi = /[A-Z]|^ms/g, Ui = /_EMO_([^_]+?)_([^]*?)_EMO_/g, en = function(t) {
3391
+ }, Ui = /[A-Z]|^ms/g, Yi = /_EMO_([^_]+?)_([^]*?)_EMO_/g, en = function(t) {
3392
3392
  return t.charCodeAt(1) === 45;
3393
3393
  }, xr = function(t) {
3394
3394
  return t != null && typeof t != "boolean";
3395
3395
  }, Mt = /* @__PURE__ */ Jr(function(e) {
3396
- return en(e) ? e : e.replace(Wi, "-$&").toLowerCase();
3396
+ return en(e) ? e : e.replace(Ui, "-$&").toLowerCase();
3397
3397
  }), Or = function(t, r) {
3398
3398
  switch (t) {
3399
3399
  case "animation":
3400
3400
  case "animationName":
3401
3401
  if (typeof r == "string")
3402
- return r.replace(Ui, function(i, a, s) {
3402
+ return r.replace(Yi, function(i, a, s) {
3403
3403
  return ye = {
3404
3404
  name: a,
3405
3405
  styles: s,
@@ -3407,7 +3407,7 @@ var Fi = {
3407
3407
  }, a;
3408
3408
  });
3409
3409
  }
3410
- return Fi[t] !== 1 && !en(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
3410
+ return Wi[t] !== 1 && !en(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
3411
3411
  };
3412
3412
  function Xe(e, t, r) {
3413
3413
  if (r == null)
@@ -3439,7 +3439,7 @@ function Xe(e, t, r) {
3439
3439
  var l = s.styles + ";";
3440
3440
  return l;
3441
3441
  }
3442
- return Yi(e, t, r);
3442
+ return qi(e, t, r);
3443
3443
  }
3444
3444
  case "function": {
3445
3445
  if (e !== void 0) {
@@ -3455,7 +3455,7 @@ function Xe(e, t, r) {
3455
3455
  var x = t[g];
3456
3456
  return x !== void 0 ? x : g;
3457
3457
  }
3458
- function Yi(e, t, r) {
3458
+ function qi(e, t, r) {
3459
3459
  var i = "";
3460
3460
  if (Array.isArray(r))
3461
3461
  for (var a = 0; a < r.length; a++)
@@ -3485,7 +3485,7 @@ function Yi(e, t, r) {
3485
3485
  return i;
3486
3486
  }
3487
3487
  var kr = /label:\s*([^\s;{]+)\s*(;|$)/g, ye;
3488
- function qi(e, t, r) {
3488
+ function Bi(e, t, r) {
3489
3489
  if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
3490
3490
  return e[0];
3491
3491
  var i = !0, a = "";
@@ -3505,44 +3505,44 @@ function qi(e, t, r) {
3505
3505
  kr.lastIndex = 0;
3506
3506
  for (var h = "", g; (g = kr.exec(a)) !== null; )
3507
3507
  h += "-" + g[1];
3508
- var x = Ni(a) + h;
3508
+ var x = Fi(a) + h;
3509
3509
  return {
3510
3510
  name: x,
3511
3511
  styles: a,
3512
3512
  next: ye
3513
3513
  };
3514
3514
  }
3515
- var Bi = function(t) {
3515
+ var Vi = function(t) {
3516
3516
  return t();
3517
- }, Vi = M.useInsertionEffect ? M.useInsertionEffect : !1, Xi = Vi || Bi, tn = /* @__PURE__ */ M.createContext(
3517
+ }, Xi = M.useInsertionEffect ? M.useInsertionEffect : !1, Gi = Xi || Vi, tn = /* @__PURE__ */ M.createContext(
3518
3518
  // we're doing this to avoid preconstruct's dead code elimination in this one case
3519
3519
  // because this module is primarily intended for the browser and node
3520
3520
  // but it's also required in react native and similar environments sometimes
3521
3521
  // and we could have a special build just for that
3522
3522
  // but this is much easier and the native packages
3523
3523
  // might use a different theme context in the future anyway
3524
- typeof HTMLElement < "u" ? /* @__PURE__ */ Ii({
3524
+ typeof HTMLElement < "u" ? /* @__PURE__ */ Ai({
3525
3525
  key: "css"
3526
3526
  }) : null
3527
3527
  );
3528
3528
  tn.Provider;
3529
- var Gi = function(t) {
3530
- return /* @__PURE__ */ kn(function(r, i) {
3529
+ var Ki = function(t) {
3530
+ return /* @__PURE__ */ Cn(function(r, i) {
3531
3531
  var a = Yt(tn);
3532
3532
  return t(r, a, i);
3533
3533
  });
3534
- }, Ki = /* @__PURE__ */ M.createContext({}), Ji = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, Zi = /* @__PURE__ */ Jr(
3534
+ }, Ji = /* @__PURE__ */ M.createContext({}), Zi = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, Qi = /* @__PURE__ */ Jr(
3535
3535
  function(e) {
3536
- return Ji.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
3536
+ return Zi.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
3537
3537
  }
3538
3538
  /* Z+1 */
3539
- ), Qi = Zi, ea = function(t) {
3539
+ ), ea = Qi, ta = function(t) {
3540
3540
  return t !== "theme";
3541
3541
  }, Cr = function(t) {
3542
3542
  return typeof t == "string" && // 96 is one less than the char code
3543
3543
  // for "a" so this is checking that
3544
3544
  // it's a lowercase character
3545
- t.charCodeAt(0) > 96 ? Qi : ea;
3545
+ t.charCodeAt(0) > 96 ? ea : ta;
3546
3546
  }, Pr = function(t, r, i) {
3547
3547
  var a;
3548
3548
  if (r) {
@@ -3552,12 +3552,12 @@ var Gi = function(t) {
3552
3552
  } : s;
3553
3553
  }
3554
3554
  return typeof a != "function" && i && (a = t.__emotion_forwardProp), a;
3555
- }, ta = function(t) {
3555
+ }, ra = function(t) {
3556
3556
  var r = t.cache, i = t.serialized, a = t.isStringTag;
3557
- return Qr(r, i, a), Xi(function() {
3558
- return zi(r, i, a);
3557
+ return Qr(r, i, a), Gi(function() {
3558
+ return Ni(r, i, a);
3559
3559
  }), null;
3560
- }, ra = function e(t, r) {
3560
+ }, na = function e(t, r) {
3561
3561
  var i = t.__emotion_real === t, a = i && t.__emotion_base || t, s, c;
3562
3562
  r !== void 0 && (s = r.label, c = r.target);
3563
3563
  var l = Pr(t, r, i), u = l || Cr(a), h = !u("as");
@@ -3571,21 +3571,21 @@ var Gi = function(t) {
3571
3571
  for (var D = g.length, P = 1; P < D; P++)
3572
3572
  x.push(g[P], T[P]);
3573
3573
  }
3574
- var p = Gi(function(I, O, F) {
3574
+ var p = Ki(function(I, O, F) {
3575
3575
  var U = h && I.as || a, B = "", v = [], b = I;
3576
3576
  if (I.theme == null) {
3577
3577
  b = {};
3578
3578
  for (var w in I)
3579
3579
  b[w] = I[w];
3580
- b.theme = M.useContext(Ki);
3580
+ b.theme = M.useContext(Ji);
3581
3581
  }
3582
- typeof I.className == "string" ? B = Hi(O.registered, v, I.className) : I.className != null && (B = I.className + " ");
3583
- var E = qi(x.concat(v), O.registered, b);
3582
+ typeof I.className == "string" ? B = zi(O.registered, v, I.className) : I.className != null && (B = I.className + " ");
3583
+ var E = Bi(x.concat(v), O.registered, b);
3584
3584
  B += O.key + "-" + E.name, c !== void 0 && (B += " " + c);
3585
3585
  var y = h && l === void 0 ? Cr(U) : u, d = {};
3586
3586
  for (var k in I)
3587
3587
  h && k === "as" || y(k) && (d[k] = I[k]);
3588
- return d.className = B, F && (d.ref = F), /* @__PURE__ */ M.createElement(M.Fragment, null, /* @__PURE__ */ M.createElement(ta, {
3588
+ return d.className = B, F && (d.ref = F), /* @__PURE__ */ M.createElement(M.Fragment, null, /* @__PURE__ */ M.createElement(ra, {
3589
3589
  cache: O,
3590
3590
  serialized: E,
3591
3591
  isStringTag: typeof U == "string"
@@ -3602,7 +3602,7 @@ var Gi = function(t) {
3602
3602
  return F.apply(void 0, x);
3603
3603
  }, p;
3604
3604
  };
3605
- }, na = [
3605
+ }, ia = [
3606
3606
  "a",
3607
3607
  "abbr",
3608
3608
  "address",
@@ -3738,11 +3738,11 @@ var Gi = function(t) {
3738
3738
  "svg",
3739
3739
  "text",
3740
3740
  "tspan"
3741
- ], Pe = ra.bind(null);
3742
- na.forEach(function(e) {
3741
+ ], Pe = na.bind(null);
3742
+ ia.forEach(function(e) {
3743
3743
  Pe[e] = Pe(e);
3744
3744
  });
3745
- const ia = Pe.div`
3745
+ const aa = Pe.div`
3746
3746
  width: 100%;
3747
3747
  height: fit-content;
3748
3748
 
@@ -3818,7 +3818,7 @@ const ia = Pe.div`
3818
3818
  opacity: 0.75;
3819
3819
  color: black;
3820
3820
  }
3821
- `, aa = Pe.div`
3821
+ `, oa = Pe.div`
3822
3822
  box-sizing: border-box;
3823
3823
  display: flex;
3824
3824
  flex-direction: column;
@@ -3831,7 +3831,7 @@ const ia = Pe.div`
3831
3831
  box-sizing: border-box;
3832
3832
  display: flex;
3833
3833
  }
3834
- `, as = ({
3834
+ `, os = ({
3835
3835
  styles: e,
3836
3836
  content: t,
3837
3837
  settings: r,
@@ -3849,7 +3849,7 @@ const ia = Pe.div`
3849
3849
  ...r
3850
3850
  };
3851
3851
  const h = t.map((x, T) => /* @__PURE__ */ G.jsx(
3852
- aa,
3852
+ oa,
3853
3853
  {
3854
3854
  ref: T === 0 ? l : void 0,
3855
3855
  styles: {
@@ -3876,8 +3876,8 @@ const ia = Pe.div`
3876
3876
  };
3877
3877
  return q.useEffect(() => {
3878
3878
  g();
3879
- }, [c, l]), /* @__PURE__ */ G.jsx(ia, { ref: c, styles: { ...e }, children: h.length > 0 && /* @__PURE__ */ G.jsx(si, { ...u, slidesToShow: a, children: h }) });
3880
- }, os = ({
3879
+ }, [c, l]), /* @__PURE__ */ G.jsx(aa, { ref: c, styles: { ...e }, children: h.length > 0 && /* @__PURE__ */ G.jsx(li, { ...u, slidesToShow: a, children: h }) });
3880
+ }, ss = ({
3881
3881
  checked: e,
3882
3882
  onToggle: t,
3883
3883
  styles: r,
@@ -3911,7 +3911,7 @@ const ia = Pe.div`
3911
3911
  ]
3912
3912
  }
3913
3913
  );
3914
- }, ss = (e) => Ir(e, []), oa = () => {
3914
+ }, ls = (e) => Ir(e, []), sa = () => {
3915
3915
  const [e, t] = q.useState(
3916
3916
  {}
3917
3917
  ), [r, i] = q.useState(!1);
@@ -3930,13 +3930,13 @@ const ia = Pe.div`
3930
3930
  pointerPosition: e,
3931
3931
  isPointerDown: r
3932
3932
  };
3933
- }, sa = ({
3933
+ }, la = ({
3934
3934
  ref: e,
3935
3935
  onDrag: t,
3936
3936
  onDragStart: r,
3937
3937
  onDragEnd: i
3938
3938
  }) => {
3939
- const a = q.useRef(!1), s = q.useRef(!1), { pointerPosition: c, isPointerDown: l } = oa(), u = q.useRef({
3939
+ const a = q.useRef(!1), s = q.useRef(!1), { pointerPosition: c, isPointerDown: l } = sa(), u = q.useRef({
3940
3940
  isDragging: !1
3941
3941
  }), h = q.useCallback(
3942
3942
  (P) => {
@@ -3985,7 +3985,7 @@ const ia = Pe.div`
3985
3985
  }, [c]), q.useEffect(() => {
3986
3986
  l !== s.current && (s.current = l, l || x());
3987
3987
  }, [l, s.current]);
3988
- }, ls = () => {
3988
+ }, us = () => {
3989
3989
  const e = (l, u) => {
3990
3990
  if (!u) return l;
3991
3991
  const h = new URLSearchParams();
@@ -4029,7 +4029,7 @@ const ia = Pe.div`
4029
4029
  }
4030
4030
  };
4031
4031
  };
4032
- function us(e) {
4032
+ function cs(e) {
4033
4033
  const [t, r] = Ar(!1), i = q.useMemo(
4034
4034
  () => new IntersectionObserver(
4035
4035
  ([a]) => r(a.isIntersecting)
@@ -4038,16 +4038,16 @@ function us(e) {
4038
4038
  );
4039
4039
  return q.useEffect(() => (e?.current && i.observe(e?.current), () => i.disconnect()), [e, i.disconnect, i.observe]), t;
4040
4040
  }
4041
- const la = {
4041
+ const ua = {
4042
4042
  xs: 0,
4043
4043
  sm: 420,
4044
4044
  md: 768,
4045
4045
  lg: 991,
4046
4046
  xl: 1200,
4047
4047
  xxl: 1440
4048
- }, cs = (e) => {
4048
+ }, fs = (e) => {
4049
4049
  const t = {
4050
- ...la,
4050
+ ...ua,
4051
4051
  ...e?.breakpointConfiguration
4052
4052
  }, [r, i] = Ar(
4053
4053
  Er(t)
@@ -4057,10 +4057,10 @@ const la = {
4057
4057
  return Ir(() => (window.addEventListener("resize", a), () => {
4058
4058
  window.removeEventListener("resize", a);
4059
4059
  }), []), Hr(() => r, [r]);
4060
- }, ua = (e, t) => e < t.sm ? "xs" : e < t.md ? "sm" : e < t.lg ? "md" : e < t.xl ? "lg" : e < t.xxl ? "xl" : "xxl", ca = (e, t) => e <= t.sm ? "mobile" : e <= t.md ? "tablet" : "desktop", Er = (e) => {
4061
- const t = window.innerWidth, r = window.innerHeight, i = ua(t, e), a = ca(t, e);
4060
+ }, ca = (e, t) => e < t.sm ? "xs" : e < t.md ? "sm" : e < t.lg ? "md" : e < t.xl ? "lg" : e < t.xxl ? "xl" : "xxl", fa = (e, t) => e <= t.sm ? "mobile" : e <= t.md ? "tablet" : "desktop", Er = (e) => {
4061
+ const t = window.innerWidth, r = window.innerHeight, i = ca(t, e), a = fa(t, e);
4062
4062
  return { currentWidth: t, currentHeight: r, currentBreakpoint: i, currentSize: a };
4063
- }, fs = (e) => {
4063
+ }, ds = (e) => {
4064
4064
  const t = e.translations, r = e.language, i = (s, c) => {
4065
4065
  if (!s)
4066
4066
  return;
@@ -4083,7 +4083,7 @@ const la = {
4083
4083
  };
4084
4084
  };
4085
4085
  var Ye = {}, Rr;
4086
- function fa() {
4086
+ function da() {
4087
4087
  if (Rr) return Ye;
4088
4088
  Rr = 1, Object.defineProperty(Ye, "__esModule", { value: !0 }), Ye.parse = c, Ye.serialize = h;
4089
4089
  const e = /^[\u0021-\u003A\u003C\u003E-\u007E]+$/, t = /^[\u0021-\u003A\u003C-\u007E]*$/, r = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i, i = /^[\u0020-\u003A\u003D-\u007E]*$/, a = Object.prototype.toString, s = /* @__PURE__ */ (() => {
@@ -4207,7 +4207,7 @@ function fa() {
4207
4207
  }
4208
4208
  return Ye;
4209
4209
  }
4210
- fa();
4210
+ da();
4211
4211
  /**
4212
4212
  * react-router v7.6.3
4213
4213
  *
@@ -4219,7 +4219,7 @@ fa();
4219
4219
  * @license MIT
4220
4220
  */
4221
4221
  var _r = "popstate";
4222
- function da(e = {}) {
4222
+ function ha(e = {}) {
4223
4223
  function t(i, a) {
4224
4224
  let { pathname: s, search: c, hash: l } = i.location;
4225
4225
  return Ft(
@@ -4233,7 +4233,7 @@ function da(e = {}) {
4233
4233
  function r(i, a) {
4234
4234
  return typeof a == "string" ? a : Ge(a);
4235
4235
  }
4236
- return pa(
4236
+ return ma(
4237
4237
  t,
4238
4238
  r,
4239
4239
  null,
@@ -4253,7 +4253,7 @@ function ve(e, t) {
4253
4253
  }
4254
4254
  }
4255
4255
  }
4256
- function ha() {
4256
+ function pa() {
4257
4257
  return Math.random().toString(36).substring(2, 10);
4258
4258
  }
4259
4259
  function Tr(e, t) {
@@ -4274,7 +4274,7 @@ function Ft(e, t, r = null, i) {
4274
4274
  // full Locations now and avoid the need to run through this flow at all
4275
4275
  // But that's a pretty big refactor to the current test suite so going to
4276
4276
  // keep as is for the time being and just let any incoming keys take precedence
4277
- key: t && t.key || i || ha()
4277
+ key: t && t.key || i || pa()
4278
4278
  };
4279
4279
  }
4280
4280
  function Ge({
@@ -4294,7 +4294,7 @@ function Me(e) {
4294
4294
  }
4295
4295
  return t;
4296
4296
  }
4297
- function pa(e, t, r, i = {}) {
4297
+ function ma(e, t, r, i = {}) {
4298
4298
  let { window: a = document.defaultView, v5Compat: s = !1 } = i, c = a.history, l = "POP", u = null, h = g();
4299
4299
  h == null && (h = 0, c.replaceState({ ...c.state, idx: h }, ""));
4300
4300
  function g() {
@@ -4327,7 +4327,7 @@ function pa(e, t, r, i = {}) {
4327
4327
  c.replaceState(U, "", B), s && u && u({ action: l, location: p.location, delta: 0 });
4328
4328
  }
4329
4329
  function P(I) {
4330
- return ma(I);
4330
+ return va(I);
4331
4331
  }
4332
4332
  let p = {
4333
4333
  get action() {
@@ -4363,25 +4363,25 @@ function pa(e, t, r, i = {}) {
4363
4363
  };
4364
4364
  return p;
4365
4365
  }
4366
- function ma(e, t = !1) {
4366
+ function va(e, t = !1) {
4367
4367
  let r = "http://localhost";
4368
4368
  typeof window < "u" && (r = window.location.origin !== "null" ? window.location.origin : window.location.href), ae(r, "No window.location.(origin|href) available to create URL");
4369
4369
  let i = typeof e == "string" ? e : Ge(e);
4370
4370
  return i = i.replace(/ $/, "%20"), !t && i.startsWith("//") && (i = r + i), new URL(i, r);
4371
4371
  }
4372
4372
  function rn(e, t, r = "/") {
4373
- return va(e, t, r, !1);
4373
+ return ga(e, t, r, !1);
4374
4374
  }
4375
- function va(e, t, r, i) {
4375
+ function ga(e, t, r, i) {
4376
4376
  let a = typeof t == "string" ? Me(t) : t, s = xe(a.pathname || "/", r);
4377
4377
  if (s == null)
4378
4378
  return null;
4379
4379
  let c = nn(e);
4380
- ga(c);
4380
+ ya(c);
4381
4381
  let l = null;
4382
4382
  for (let u = 0; l == null && u < c.length; ++u) {
4383
- let h = Ra(s);
4384
- l = Pa(
4383
+ let h = _a(s);
4384
+ l = Ea(
4385
4385
  c[u],
4386
4386
  h,
4387
4387
  i
@@ -4409,7 +4409,7 @@ function nn(e, t = [], r = [], i = "") {
4409
4409
  `Index routes must not have child routes. Please remove all child routes from route path "${h}".`
4410
4410
  ), nn(s.children, t, g, h)), !(s.path == null && !s.index) && t.push({
4411
4411
  path: h,
4412
- score: ka(h, s.index),
4412
+ score: Ca(h, s.index),
4413
4413
  routesMeta: g
4414
4414
  });
4415
4415
  };
@@ -4436,23 +4436,23 @@ function an(e) {
4436
4436
  (u) => e.startsWith("/") && u === "" ? "/" : u
4437
4437
  );
4438
4438
  }
4439
- function ga(e) {
4439
+ function ya(e) {
4440
4440
  e.sort(
4441
- (t, r) => t.score !== r.score ? r.score - t.score : Ca(
4441
+ (t, r) => t.score !== r.score ? r.score - t.score : Pa(
4442
4442
  t.routesMeta.map((i) => i.childrenIndex),
4443
4443
  r.routesMeta.map((i) => i.childrenIndex)
4444
4444
  )
4445
4445
  );
4446
4446
  }
4447
- var ya = /^:[\w-]+$/, ba = 3, wa = 2, Sa = 1, xa = 10, Oa = -2, jr = (e) => e === "*";
4448
- function ka(e, t) {
4447
+ var ba = /^:[\w-]+$/, wa = 3, Sa = 2, xa = 1, Oa = 10, ka = -2, jr = (e) => e === "*";
4448
+ function Ca(e, t) {
4449
4449
  let r = e.split("/"), i = r.length;
4450
- return r.some(jr) && (i += Oa), t && (i += wa), r.filter((a) => !jr(a)).reduce(
4451
- (a, s) => a + (ya.test(s) ? ba : s === "" ? Sa : xa),
4450
+ return r.some(jr) && (i += ka), t && (i += Sa), r.filter((a) => !jr(a)).reduce(
4451
+ (a, s) => a + (ba.test(s) ? wa : s === "" ? xa : Oa),
4452
4452
  i
4453
4453
  );
4454
4454
  }
4455
- function Ca(e, t) {
4455
+ function Pa(e, t) {
4456
4456
  return e.length === t.length && e.slice(0, -1).every((i, a) => i === t[a]) ? (
4457
4457
  // If two routes are siblings, we should try to match the earlier sibling
4458
4458
  // first. This allows people to have fine-grained control over the matching
@@ -4465,7 +4465,7 @@ function Ca(e, t) {
4465
4465
  0
4466
4466
  );
4467
4467
  }
4468
- function Pa(e, t, r = !1) {
4468
+ function Ea(e, t, r = !1) {
4469
4469
  let { routesMeta: i } = e, a = {}, s = "/", c = [];
4470
4470
  for (let l = 0; l < i.length; ++l) {
4471
4471
  let u = i[l], h = l === i.length - 1, g = s === "/" ? t : t.slice(s.length) || "/", x = gt(
@@ -4485,7 +4485,7 @@ function Pa(e, t, r = !1) {
4485
4485
  // TODO: Can this as be avoided?
4486
4486
  params: a,
4487
4487
  pathname: Se([s, x.pathname]),
4488
- pathnameBase: Da(
4488
+ pathnameBase: La(
4489
4489
  Se([s, x.pathnameBase])
4490
4490
  ),
4491
4491
  route: T
@@ -4495,7 +4495,7 @@ function Pa(e, t, r = !1) {
4495
4495
  }
4496
4496
  function gt(e, t) {
4497
4497
  typeof e == "string" && (e = { path: e, caseSensitive: !1, end: !0 });
4498
- let [r, i] = Ea(
4498
+ let [r, i] = Ra(
4499
4499
  e.path,
4500
4500
  e.caseSensitive,
4501
4501
  e.end
@@ -4519,7 +4519,7 @@ function gt(e, t) {
4519
4519
  pattern: e
4520
4520
  };
4521
4521
  }
4522
- function Ea(e, t = !1, r = !0) {
4522
+ function Ra(e, t = !1, r = !0) {
4523
4523
  ve(
4524
4524
  e === "*" || !e.endsWith("*") || e.endsWith("/*"),
4525
4525
  `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`
@@ -4530,7 +4530,7 @@ function Ea(e, t = !1, r = !0) {
4530
4530
  );
4531
4531
  return e.endsWith("*") ? (i.push({ paramName: "*" }), a += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : r ? a += "\\/*$" : e !== "" && e !== "/" && (a += "(?:(?=\\/|$))"), [new RegExp(a, t ? void 0 : "i"), i];
4532
4532
  }
4533
- function Ra(e) {
4533
+ function _a(e) {
4534
4534
  try {
4535
4535
  return e.split("/").map((t) => decodeURIComponent(t).replace(/\//g, "%2F")).join("/");
4536
4536
  } catch (t) {
@@ -4547,19 +4547,19 @@ function xe(e, t) {
4547
4547
  let r = t.endsWith("/") ? t.length - 1 : t.length, i = e.charAt(r);
4548
4548
  return i && i !== "/" ? null : e.slice(r) || "/";
4549
4549
  }
4550
- function _a(e, t = "/") {
4550
+ function Ta(e, t = "/") {
4551
4551
  let {
4552
4552
  pathname: r,
4553
4553
  search: i = "",
4554
4554
  hash: a = ""
4555
4555
  } = typeof e == "string" ? Me(e) : e;
4556
4556
  return {
4557
- pathname: r ? r.startsWith("/") ? r : Ta(r, t) : t,
4558
- search: La(i),
4559
- hash: Ma(a)
4557
+ pathname: r ? r.startsWith("/") ? r : ja(r, t) : t,
4558
+ search: Ma(i),
4559
+ hash: $a(a)
4560
4560
  };
4561
4561
  }
4562
- function Ta(e, t) {
4562
+ function ja(e, t) {
4563
4563
  let r = t.replace(/\/+$/, "").split("/");
4564
4564
  return e.split("/").forEach((a) => {
4565
4565
  a === ".." ? r.length > 1 && r.pop() : a !== "." && r.push(a);
@@ -4570,13 +4570,13 @@ function $t(e, t, r, i) {
4570
4570
  i
4571
4571
  )}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;
4572
4572
  }
4573
- function ja(e) {
4573
+ function Da(e) {
4574
4574
  return e.filter(
4575
4575
  (t, r) => r === 0 || t.route.path && t.route.path.length > 0
4576
4576
  );
4577
4577
  }
4578
4578
  function on(e) {
4579
- let t = ja(e);
4579
+ let t = Da(e);
4580
4580
  return t.map(
4581
4581
  (r, i) => i === t.length - 1 ? r.pathname : r.pathnameBase
4582
4582
  );
@@ -4606,11 +4606,11 @@ function sn(e, t, r, i = !1) {
4606
4606
  }
4607
4607
  l = x >= 0 ? t[x] : "/";
4608
4608
  }
4609
- let u = _a(a, l), h = c && c !== "/" && c.endsWith("/"), g = (s || c === ".") && r.endsWith("/");
4609
+ let u = Ta(a, l), h = c && c !== "/" && c.endsWith("/"), g = (s || c === ".") && r.endsWith("/");
4610
4610
  return !u.pathname.endsWith("/") && (h || g) && (u.pathname += "/"), u;
4611
4611
  }
4612
- var Se = (e) => e.join("/").replace(/\/\/+/g, "/"), Da = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), La = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Ma = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
4613
- function $a(e) {
4612
+ var Se = (e) => e.join("/").replace(/\/\/+/g, "/"), La = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), Ma = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, $a = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
4613
+ function Ia(e) {
4614
4614
  return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
4615
4615
  }
4616
4616
  var ln = [
@@ -4622,11 +4622,11 @@ var ln = [
4622
4622
  new Set(
4623
4623
  ln
4624
4624
  );
4625
- var Ia = [
4625
+ var Aa = [
4626
4626
  "GET",
4627
4627
  ...ln
4628
4628
  ];
4629
- new Set(Ia);
4629
+ new Set(Aa);
4630
4630
  var $e = M.createContext(null);
4631
4631
  $e.displayName = "DataRouter";
4632
4632
  var Ot = M.createContext(null);
@@ -4635,12 +4635,12 @@ var un = M.createContext({
4635
4635
  isTransitioning: !1
4636
4636
  });
4637
4637
  un.displayName = "ViewTransition";
4638
- var Aa = M.createContext(
4638
+ var Ha = M.createContext(
4639
4639
  /* @__PURE__ */ new Map()
4640
4640
  );
4641
- Aa.displayName = "Fetchers";
4642
- var Ha = M.createContext(null);
4643
- Ha.displayName = "Await";
4641
+ Ha.displayName = "Fetchers";
4642
+ var za = M.createContext(null);
4643
+ za.displayName = "Await";
4644
4644
  var we = M.createContext(
4645
4645
  null
4646
4646
  );
@@ -4657,7 +4657,7 @@ var Oe = M.createContext({
4657
4657
  Oe.displayName = "Route";
4658
4658
  var Gt = M.createContext(null);
4659
4659
  Gt.displayName = "RouteError";
4660
- function za(e, { relative: t } = {}) {
4660
+ function Na(e, { relative: t } = {}) {
4661
4661
  ae(
4662
4662
  Qe(),
4663
4663
  // TODO: This error is probably because they somehow have 2 versions of the
@@ -4684,9 +4684,9 @@ function fn(e) {
4684
4684
  }
4685
4685
  function Kt() {
4686
4686
  let { isDataRoute: e } = M.useContext(Oe);
4687
- return e ? Za() : Na();
4687
+ return e ? Qa() : Fa();
4688
4688
  }
4689
- function Na() {
4689
+ function Fa() {
4690
4690
  ae(
4691
4691
  Qe(),
4692
4692
  // TODO: This error is probably because they somehow have 2 versions of the
@@ -4737,7 +4737,7 @@ function et(e, { relative: t } = {}) {
4737
4737
  [e, a, i, t]
4738
4738
  );
4739
4739
  }
4740
- function Fa(e, t) {
4740
+ function Wa(e, t) {
4741
4741
  return dn(e, t);
4742
4742
  }
4743
4743
  function dn(e, t, r, i) {
@@ -4780,7 +4780,7 @@ Please change the parent <Route path="${O}"> to <Route path="${O === "/" ? "*" :
4780
4780
  p == null || p[p.length - 1].route.element !== void 0 || p[p.length - 1].route.Component !== void 0 || p[p.length - 1].route.lazy !== void 0,
4781
4781
  `Matched leaf route at location "${T.pathname}${T.search}${T.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`
4782
4782
  );
4783
- let I = Ba(
4783
+ let I = Va(
4784
4784
  p && p.map(
4785
4785
  (O) => Object.assign({}, O, {
4786
4786
  params: Object.assign({}, l, O.params),
@@ -4819,14 +4819,14 @@ Please change the parent <Route path="${O}"> to <Route path="${O === "/" ? "*" :
4819
4819
  I
4820
4820
  ) : I;
4821
4821
  }
4822
- function Wa() {
4823
- let e = Ja(), t = $a(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), r = e instanceof Error ? e.stack : null, i = "rgba(200,200,200, 0.5)", a = { padding: "0.5rem", backgroundColor: i }, s = { padding: "2px 4px", backgroundColor: i }, c = null;
4822
+ function Ua() {
4823
+ let e = Za(), t = Ia(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), r = e instanceof Error ? e.stack : null, i = "rgba(200,200,200, 0.5)", a = { padding: "0.5rem", backgroundColor: i }, s = { padding: "2px 4px", backgroundColor: i }, c = null;
4824
4824
  return console.error(
4825
4825
  "Error handled by React Router default ErrorBoundary:",
4826
4826
  e
4827
4827
  ), c = /* @__PURE__ */ M.createElement(M.Fragment, null, /* @__PURE__ */ M.createElement("p", null, "💿 Hey developer 👋"), /* @__PURE__ */ M.createElement("p", null, "You can provide a way better UX than this when your app throws errors by providing your own ", /* @__PURE__ */ M.createElement("code", { style: s }, "ErrorBoundary"), " or", " ", /* @__PURE__ */ M.createElement("code", { style: s }, "errorElement"), " prop on your route.")), /* @__PURE__ */ M.createElement(M.Fragment, null, /* @__PURE__ */ M.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ M.createElement("h3", { style: { fontStyle: "italic" } }, t), r ? /* @__PURE__ */ M.createElement("pre", { style: a }, r) : null, c);
4828
4828
  }
4829
- var Ua = /* @__PURE__ */ M.createElement(Wa, null), Ya = class extends M.Component {
4829
+ var Ya = /* @__PURE__ */ M.createElement(Ua, null), qa = class extends M.Component {
4830
4830
  constructor(e) {
4831
4831
  super(e), this.state = {
4832
4832
  location: e.location,
@@ -4865,11 +4865,11 @@ var Ua = /* @__PURE__ */ M.createElement(Wa, null), Ya = class extends M.Compone
4865
4865
  )) : this.props.children;
4866
4866
  }
4867
4867
  };
4868
- function qa({ routeContext: e, match: t, children: r }) {
4868
+ function Ba({ routeContext: e, match: t, children: r }) {
4869
4869
  let i = M.useContext($e);
4870
4870
  return i && i.static && i.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (i.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ M.createElement(Oe.Provider, { value: e }, r);
4871
4871
  }
4872
- function Ba(e, t = [], r = null, i = null) {
4872
+ function Va(e, t = [], r = null, i = null) {
4873
4873
  if (e == null) {
4874
4874
  if (!r)
4875
4875
  return null;
@@ -4909,7 +4909,7 @@ function Ba(e, t = [], r = null, i = null) {
4909
4909
  }
4910
4910
  return a.reduceRight((u, h, g) => {
4911
4911
  let x, T = !1, D = null, P = null;
4912
- r && (x = s && h.route.id ? s[h.route.id] : void 0, D = h.route.errorElement || Ua, c && (l < 0 && g === 0 ? (hn(
4912
+ r && (x = s && h.route.id ? s[h.route.id] : void 0, D = h.route.errorElement || Ya, c && (l < 0 && g === 0 ? (hn(
4913
4913
  "route-fallback",
4914
4914
  !1,
4915
4915
  "No `HydrateFallback` element provided to render during initial hydration"
@@ -4917,7 +4917,7 @@ function Ba(e, t = [], r = null, i = null) {
4917
4917
  let p = t.concat(a.slice(0, g + 1)), I = () => {
4918
4918
  let O;
4919
4919
  return x ? O = D : T ? O = P : h.route.Component ? O = /* @__PURE__ */ M.createElement(h.route.Component, null) : h.route.element ? O = h.route.element : O = u, /* @__PURE__ */ M.createElement(
4920
- qa,
4920
+ Ba,
4921
4921
  {
4922
4922
  match: h,
4923
4923
  routeContext: {
@@ -4930,7 +4930,7 @@ function Ba(e, t = [], r = null, i = null) {
4930
4930
  );
4931
4931
  };
4932
4932
  return r && (h.route.ErrorBoundary || h.route.errorElement || g === 0) ? /* @__PURE__ */ M.createElement(
4933
- Ya,
4933
+ qa,
4934
4934
  {
4935
4935
  location: r.location,
4936
4936
  revalidation: r.revalidation,
@@ -4945,33 +4945,33 @@ function Ba(e, t = [], r = null, i = null) {
4945
4945
  function Jt(e) {
4946
4946
  return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
4947
4947
  }
4948
- function Va(e) {
4948
+ function Xa(e) {
4949
4949
  let t = M.useContext($e);
4950
4950
  return ae(t, Jt(e)), t;
4951
4951
  }
4952
- function Xa(e) {
4952
+ function Ga(e) {
4953
4953
  let t = M.useContext(Ot);
4954
4954
  return ae(t, Jt(e)), t;
4955
4955
  }
4956
- function Ga(e) {
4956
+ function Ka(e) {
4957
4957
  let t = M.useContext(Oe);
4958
4958
  return ae(t, Jt(e)), t;
4959
4959
  }
4960
4960
  function Zt(e) {
4961
- let t = Ga(e), r = t.matches[t.matches.length - 1];
4961
+ let t = Ka(e), r = t.matches[t.matches.length - 1];
4962
4962
  return ae(
4963
4963
  r.route.id,
4964
4964
  `${e} can only be used on routes that contain a unique "id"`
4965
4965
  ), r.route.id;
4966
4966
  }
4967
- function Ka() {
4967
+ function Ja() {
4968
4968
  return Zt(
4969
4969
  "useRouteId"
4970
4970
  /* UseRouteId */
4971
4971
  );
4972
4972
  }
4973
- function Ja() {
4974
- let e = M.useContext(Gt), t = Xa(
4973
+ function Za() {
4974
+ let e = M.useContext(Gt), t = Ga(
4975
4975
  "useRouteError"
4976
4976
  /* UseRouteError */
4977
4977
  ), r = Zt(
@@ -4980,8 +4980,8 @@ function Ja() {
4980
4980
  );
4981
4981
  return e !== void 0 ? e : t.errors?.[r];
4982
4982
  }
4983
- function Za() {
4984
- let { router: e } = Va(
4983
+ function Qa() {
4984
+ let { router: e } = Xa(
4985
4985
  "useNavigate"
4986
4986
  /* UseNavigateStable */
4987
4987
  ), t = Zt(
@@ -5001,8 +5001,8 @@ var Dr = {};
5001
5001
  function hn(e, t, r) {
5002
5002
  !t && !Dr[e] && (Dr[e] = !0, ve(!1, r));
5003
5003
  }
5004
- M.memo(Qa);
5005
- function Qa({
5004
+ M.memo(eo);
5005
+ function eo({
5006
5006
  routes: e,
5007
5007
  future: t,
5008
5008
  state: r
@@ -5015,7 +5015,7 @@ function pn(e) {
5015
5015
  "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>."
5016
5016
  );
5017
5017
  }
5018
- function eo({
5018
+ function to({
5019
5019
  basename: e = "/",
5020
5020
  children: t = null,
5021
5021
  location: r,
@@ -5061,11 +5061,11 @@ function eo({
5061
5061
  `<Router basename="${c}"> is not able to match the URL "${u}${h}${g}" because it does not start with the basename, so the <Router> won't render anything.`
5062
5062
  ), D == null ? null : /* @__PURE__ */ M.createElement(we.Provider, { value: l }, /* @__PURE__ */ M.createElement(Ze.Provider, { children: t, value: D }));
5063
5063
  }
5064
- function to({
5064
+ function ro({
5065
5065
  children: e,
5066
5066
  location: t
5067
5067
  }) {
5068
- return Fa(Wt(e), t);
5068
+ return Wa(Wt(e), t);
5069
5069
  }
5070
5070
  function Wt(e, t = []) {
5071
5071
  let r = [];
@@ -5115,22 +5115,22 @@ var ut = "get", ct = "application/x-www-form-urlencoded";
5115
5115
  function kt(e) {
5116
5116
  return e != null && typeof e.tagName == "string";
5117
5117
  }
5118
- function ro(e) {
5118
+ function no(e) {
5119
5119
  return kt(e) && e.tagName.toLowerCase() === "button";
5120
5120
  }
5121
- function no(e) {
5121
+ function io(e) {
5122
5122
  return kt(e) && e.tagName.toLowerCase() === "form";
5123
5123
  }
5124
- function io(e) {
5124
+ function ao(e) {
5125
5125
  return kt(e) && e.tagName.toLowerCase() === "input";
5126
5126
  }
5127
- function ao(e) {
5127
+ function oo(e) {
5128
5128
  return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
5129
5129
  }
5130
- function oo(e, t) {
5130
+ function so(e, t) {
5131
5131
  return e.button === 0 && // Ignore everything but left clicks
5132
5132
  (!t || t === "_self") && // Let browser handle "target=_blank" etc.
5133
- !ao(e);
5133
+ !oo(e);
5134
5134
  }
5135
5135
  function Ut(e = "") {
5136
5136
  return new URLSearchParams(
@@ -5142,7 +5142,7 @@ function Ut(e = "") {
5142
5142
  }, [])
5143
5143
  );
5144
5144
  }
5145
- function so(e, t) {
5145
+ function lo(e, t) {
5146
5146
  let r = Ut(e);
5147
5147
  return t && t.forEach((i, a) => {
5148
5148
  r.has(a) || t.getAll(a).forEach((s) => {
@@ -5151,7 +5151,7 @@ function so(e, t) {
5151
5151
  }), r;
5152
5152
  }
5153
5153
  var at = null;
5154
- function lo() {
5154
+ function uo() {
5155
5155
  if (at === null)
5156
5156
  try {
5157
5157
  new FormData(
@@ -5164,30 +5164,30 @@ function lo() {
5164
5164
  }
5165
5165
  return at;
5166
5166
  }
5167
- var uo = /* @__PURE__ */ new Set([
5167
+ var co = /* @__PURE__ */ new Set([
5168
5168
  "application/x-www-form-urlencoded",
5169
5169
  "multipart/form-data",
5170
5170
  "text/plain"
5171
5171
  ]);
5172
5172
  function It(e) {
5173
- return e != null && !uo.has(e) ? (ve(
5173
+ return e != null && !co.has(e) ? (ve(
5174
5174
  !1,
5175
5175
  `"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ct}"`
5176
5176
  ), null) : e;
5177
5177
  }
5178
- function co(e, t) {
5178
+ function fo(e, t) {
5179
5179
  let r, i, a, s, c;
5180
- if (no(e)) {
5180
+ if (io(e)) {
5181
5181
  let l = e.getAttribute("action");
5182
5182
  i = l ? xe(l, t) : null, r = e.getAttribute("method") || ut, a = It(e.getAttribute("enctype")) || ct, s = new FormData(e);
5183
- } else if (ro(e) || io(e) && (e.type === "submit" || e.type === "image")) {
5183
+ } else if (no(e) || ao(e) && (e.type === "submit" || e.type === "image")) {
5184
5184
  let l = e.form;
5185
5185
  if (l == null)
5186
5186
  throw new Error(
5187
5187
  'Cannot submit a <button> or <input type="submit"> without a <form>'
5188
5188
  );
5189
5189
  let u = e.getAttribute("formaction") || l.getAttribute("action");
5190
- if (i = u ? xe(u, t) : null, r = e.getAttribute("formmethod") || l.getAttribute("method") || ut, a = It(e.getAttribute("formenctype")) || It(l.getAttribute("enctype")) || ct, s = new FormData(l, e), !lo()) {
5190
+ if (i = u ? xe(u, t) : null, r = e.getAttribute("formmethod") || l.getAttribute("method") || ut, a = It(e.getAttribute("formenctype")) || It(l.getAttribute("enctype")) || ct, s = new FormData(l, e), !uo()) {
5191
5191
  let { name: h, type: g, value: x } = e;
5192
5192
  if (g === "image") {
5193
5193
  let T = h ? `${h}.` : "";
@@ -5207,7 +5207,7 @@ function Qt(e, t) {
5207
5207
  if (e === !1 || e === null || typeof e > "u")
5208
5208
  throw new Error(t);
5209
5209
  }
5210
- async function fo(e, t) {
5210
+ async function ho(e, t) {
5211
5211
  if (e.id in t)
5212
5212
  return t[e.id];
5213
5213
  try {
@@ -5224,22 +5224,22 @@ async function fo(e, t) {
5224
5224
  });
5225
5225
  }
5226
5226
  }
5227
- function ho(e) {
5227
+ function po(e) {
5228
5228
  return e == null ? !1 : e.href == null ? e.rel === "preload" && typeof e.imageSrcSet == "string" && typeof e.imageSizes == "string" : typeof e.rel == "string" && typeof e.href == "string";
5229
5229
  }
5230
- async function po(e, t, r) {
5230
+ async function mo(e, t, r) {
5231
5231
  let i = await Promise.all(
5232
5232
  e.map(async (a) => {
5233
5233
  let s = t.routes[a.route.id];
5234
5234
  if (s) {
5235
- let c = await fo(s, r);
5235
+ let c = await ho(s, r);
5236
5236
  return c.links ? c.links() : [];
5237
5237
  }
5238
5238
  return [];
5239
5239
  })
5240
5240
  );
5241
- return yo(
5242
- i.flat(1).filter(ho).filter((a) => a.rel === "stylesheet" || a.rel === "preload").map(
5241
+ return bo(
5242
+ i.flat(1).filter(po).filter((a) => a.rel === "stylesheet" || a.rel === "preload").map(
5243
5243
  (a) => a.rel === "stylesheet" ? { ...a, rel: "prefetch", as: "style" } : { ...a, rel: "prefetch" }
5244
5244
  )
5245
5245
  );
@@ -5276,8 +5276,8 @@ function Lr(e, t, r, i, a, s) {
5276
5276
  return !0;
5277
5277
  }) : [];
5278
5278
  }
5279
- function mo(e, t, { includeHydrateFallback: r } = {}) {
5280
- return vo(
5279
+ function vo(e, t, { includeHydrateFallback: r } = {}) {
5280
+ return go(
5281
5281
  e.map((i) => {
5282
5282
  let a = t.routes[i.route.id];
5283
5283
  if (!a) return [];
@@ -5286,25 +5286,25 @@ function mo(e, t, { includeHydrateFallback: r } = {}) {
5286
5286
  }).flat(1)
5287
5287
  );
5288
5288
  }
5289
- function vo(e) {
5289
+ function go(e) {
5290
5290
  return [...new Set(e)];
5291
5291
  }
5292
- function go(e) {
5292
+ function yo(e) {
5293
5293
  let t = {}, r = Object.keys(e).sort();
5294
5294
  for (let i of r)
5295
5295
  t[i] = e[i];
5296
5296
  return t;
5297
5297
  }
5298
- function yo(e, t) {
5298
+ function bo(e, t) {
5299
5299
  let r = /* @__PURE__ */ new Set();
5300
5300
  return new Set(t), e.reduce((i, a) => {
5301
- let s = JSON.stringify(go(a));
5301
+ let s = JSON.stringify(yo(a));
5302
5302
  return r.has(s) || (r.add(s), i.push({ key: s, link: a })), i;
5303
5303
  }, []);
5304
5304
  }
5305
5305
  Object.getOwnPropertyNames(Object.prototype).sort().join("\0");
5306
- var bo = /* @__PURE__ */ new Set([100, 101, 204, 205]);
5307
- function wo(e, t) {
5306
+ var wo = /* @__PURE__ */ new Set([100, 101, 204, 205]);
5307
+ function So(e, t) {
5308
5308
  let r = typeof e == "string" ? new URL(
5309
5309
  e,
5310
5310
  // This can be called during the SSR flow via PrefetchPageLinksImpl so
@@ -5320,7 +5320,7 @@ function mn() {
5320
5320
  "You must render this element inside a <DataRouterContext.Provider> element"
5321
5321
  ), e;
5322
5322
  }
5323
- function So() {
5323
+ function xo() {
5324
5324
  let e = M.useContext(Ot);
5325
5325
  return Qt(
5326
5326
  e,
@@ -5336,7 +5336,7 @@ function vn() {
5336
5336
  "You must render this element inside a <HydratedRouter> element"
5337
5337
  ), e;
5338
5338
  }
5339
- function xo(e, t) {
5339
+ function Oo(e, t) {
5340
5340
  let r = M.useContext(er), [i, a] = M.useState(!1), [s, c] = M.useState(!1), { onFocus: l, onBlur: u, onMouseEnter: h, onMouseLeave: g, onTouchStart: x } = t, T = M.useRef(null);
5341
5341
  M.useEffect(() => {
5342
5342
  if (e === "render" && c(!0), e === "viewport") {
@@ -5381,7 +5381,7 @@ function qe(e, t) {
5381
5381
  e && e(r), r.defaultPrevented || t(r);
5382
5382
  };
5383
5383
  }
5384
- function Oo({
5384
+ function ko({
5385
5385
  page: e,
5386
5386
  ...t
5387
5387
  }) {
@@ -5389,13 +5389,13 @@ function Oo({
5389
5389
  () => rn(r.routes, e, r.basename),
5390
5390
  [r.routes, e, r.basename]
5391
5391
  );
5392
- return i ? /* @__PURE__ */ M.createElement(Co, { page: e, matches: i, ...t }) : null;
5392
+ return i ? /* @__PURE__ */ M.createElement(Po, { page: e, matches: i, ...t }) : null;
5393
5393
  }
5394
- function ko(e) {
5394
+ function Co(e) {
5395
5395
  let { manifest: t, routeModules: r } = vn(), [i, a] = M.useState([]);
5396
5396
  return M.useEffect(() => {
5397
5397
  let s = !1;
5398
- return po(e, t, r).then(
5398
+ return mo(e, t, r).then(
5399
5399
  (c) => {
5400
5400
  s || a(c);
5401
5401
  }
@@ -5404,12 +5404,12 @@ function ko(e) {
5404
5404
  };
5405
5405
  }, [e, t, r]), i;
5406
5406
  }
5407
- function Co({
5407
+ function Po({
5408
5408
  page: e,
5409
5409
  matches: t,
5410
5410
  ...r
5411
5411
  }) {
5412
- let i = ke(), { manifest: a, routeModules: s } = vn(), { basename: c } = mn(), { loaderData: l, matches: u } = So(), h = M.useMemo(
5412
+ let i = ke(), { manifest: a, routeModules: s } = vn(), { basename: c } = mn(), { loaderData: l, matches: u } = xo(), h = M.useMemo(
5413
5413
  () => Lr(
5414
5414
  e,
5415
5415
  t,
@@ -5438,7 +5438,7 @@ function Co({
5438
5438
  !F || !F.hasLoader || (!h.some((U) => U.route.id === O.route.id) && O.route.id in l && s[O.route.id]?.shouldRevalidate || F.hasClientLoader ? p = !0 : P.add(O.route.id));
5439
5439
  }), P.size === 0)
5440
5440
  return [];
5441
- let I = wo(e, c);
5441
+ let I = So(e, c);
5442
5442
  return p && P.size > 0 && I.searchParams.set(
5443
5443
  "_routes",
5444
5444
  t.filter((O) => P.has(O.route.id)).map((O) => O.route.id).join(",")
@@ -5453,16 +5453,16 @@ function Co({
5453
5453
  e,
5454
5454
  s
5455
5455
  ]), T = M.useMemo(
5456
- () => mo(g, a),
5456
+ () => vo(g, a),
5457
5457
  [g, a]
5458
- ), D = ko(g);
5458
+ ), D = Co(g);
5459
5459
  return /* @__PURE__ */ M.createElement(M.Fragment, null, x.map((P) => /* @__PURE__ */ M.createElement("link", { key: P, rel: "prefetch", as: "fetch", href: P, ...r })), T.map((P) => /* @__PURE__ */ M.createElement("link", { key: P, rel: "modulepreload", href: P, ...r })), D.map(({ key: P, link: p }) => (
5460
5460
  // these don't spread `linkProps` because they are full link descriptors
5461
5461
  // already with their own props
5462
5462
  /* @__PURE__ */ M.createElement("link", { key: P, ...p })
5463
5463
  )));
5464
5464
  }
5465
- function Po(...e) {
5465
+ function Eo(...e) {
5466
5466
  return (t) => {
5467
5467
  e.forEach((r) => {
5468
5468
  typeof r == "function" ? r(t) : r != null && (r.current = t);
@@ -5474,13 +5474,13 @@ try {
5474
5474
  gn && (window.__reactRouterVersion = "7.6.3");
5475
5475
  } catch {
5476
5476
  }
5477
- function Eo({
5477
+ function Ro({
5478
5478
  basename: e,
5479
5479
  children: t,
5480
5480
  window: r
5481
5481
  }) {
5482
5482
  let i = M.useRef();
5483
- i.current == null && (i.current = da({ window: r, v5Compat: !0 }));
5483
+ i.current == null && (i.current = ha({ window: r, v5Compat: !0 }));
5484
5484
  let a = i.current, [s, c] = M.useState({
5485
5485
  action: a.action,
5486
5486
  location: a.location
@@ -5491,7 +5491,7 @@ function Eo({
5491
5491
  [c]
5492
5492
  );
5493
5493
  return M.useLayoutEffect(() => a.listen(l), [a, l]), /* @__PURE__ */ M.createElement(
5494
- eo,
5494
+ to,
5495
5495
  {
5496
5496
  basename: e,
5497
5497
  children: t,
@@ -5527,10 +5527,10 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = M.forwardRef(
5527
5527
  `<Link to="${h}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
5528
5528
  );
5529
5529
  }
5530
- let F = za(h, { relative: a }), [U, B, v] = xo(
5530
+ let F = Na(h, { relative: a }), [U, B, v] = Oo(
5531
5531
  i,
5532
5532
  T
5533
- ), b = jo(h, {
5533
+ ), b = Do(h, {
5534
5534
  replace: c,
5535
5535
  state: l,
5536
5536
  target: u,
@@ -5550,17 +5550,17 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = M.forwardRef(
5550
5550
  ...v,
5551
5551
  href: I || F,
5552
5552
  onClick: O || s ? t : w,
5553
- ref: Po(D, B),
5553
+ ref: Eo(D, B),
5554
5554
  target: u,
5555
5555
  "data-discover": !p && r === "render" ? "true" : void 0
5556
5556
  }
5557
5557
  )
5558
5558
  );
5559
- return U && !p ? /* @__PURE__ */ M.createElement(M.Fragment, null, E, /* @__PURE__ */ M.createElement(Oo, { page: F })) : E;
5559
+ return U && !p ? /* @__PURE__ */ M.createElement(M.Fragment, null, E, /* @__PURE__ */ M.createElement(ko, { page: F })) : E;
5560
5560
  }
5561
5561
  );
5562
5562
  bn.displayName = "Link";
5563
- var Ro = M.forwardRef(
5563
+ var _o = M.forwardRef(
5564
5564
  function({
5565
5565
  "aria-current": t = "page",
5566
5566
  caseSensitive: r = !1,
@@ -5574,7 +5574,7 @@ var Ro = M.forwardRef(
5574
5574
  }, g) {
5575
5575
  let x = et(c, { relative: h.relative }), T = ke(), D = M.useContext(Ot), { navigator: P, basename: p } = M.useContext(we), I = D != null && // Conditional usage is OK here because the usage of a data router is static
5576
5576
  // eslint-disable-next-line react-hooks/rules-of-hooks
5577
- Ao(x) && l === !0, O = P.encodeLocation ? P.encodeLocation(x).pathname : x.pathname, F = T.pathname, U = D && D.navigation && D.navigation.location ? D.navigation.location.pathname : null;
5577
+ Ho(x) && l === !0, O = P.encodeLocation ? P.encodeLocation(x).pathname : x.pathname, F = T.pathname, U = D && D.navigation && D.navigation.location ? D.navigation.location.pathname : null;
5578
5578
  r || (F = F.toLowerCase(), U = U ? U.toLowerCase() : null, O = O.toLowerCase()), U && p && (U = xe(U, p) || U);
5579
5579
  const B = O !== "/" && O.endsWith("/") ? O.length - 1 : O.length;
5580
5580
  let v = F === O || !a && F.startsWith(O) && F.charAt(B) === "/", b = U != null && (U === O || !a && U.startsWith(O) && U.charAt(O.length) === "/"), w = {
@@ -5604,8 +5604,8 @@ var Ro = M.forwardRef(
5604
5604
  );
5605
5605
  }
5606
5606
  );
5607
- Ro.displayName = "NavLink";
5608
- var _o = M.forwardRef(
5607
+ _o.displayName = "NavLink";
5608
+ var To = M.forwardRef(
5609
5609
  ({
5610
5610
  discover: e = "render",
5611
5611
  fetcherKey: t,
@@ -5621,7 +5621,7 @@ var _o = M.forwardRef(
5621
5621
  viewTransition: x,
5622
5622
  ...T
5623
5623
  }, D) => {
5624
- let P = $o(), p = Io(l, { relative: h }), I = c.toLowerCase() === "get" ? "get" : "post", O = typeof l == "string" && yn.test(l), F = (U) => {
5624
+ let P = Io(), p = Ao(l, { relative: h }), I = c.toLowerCase() === "get" ? "get" : "post", O = typeof l == "string" && yn.test(l), F = (U) => {
5625
5625
  if (u && u(U), U.defaultPrevented) return;
5626
5626
  U.preventDefault();
5627
5627
  let B = U.nativeEvent.submitter, v = B?.getAttribute("formmethod") || c;
@@ -5649,15 +5649,15 @@ var _o = M.forwardRef(
5649
5649
  );
5650
5650
  }
5651
5651
  );
5652
- _o.displayName = "Form";
5653
- function To(e) {
5652
+ To.displayName = "Form";
5653
+ function jo(e) {
5654
5654
  return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
5655
5655
  }
5656
5656
  function wn(e) {
5657
5657
  let t = M.useContext($e);
5658
- return ae(t, To(e)), t;
5658
+ return ae(t, jo(e)), t;
5659
5659
  }
5660
- function jo(e, {
5660
+ function Do(e, {
5661
5661
  target: t,
5662
5662
  replace: r,
5663
5663
  state: i,
@@ -5668,7 +5668,7 @@ function jo(e, {
5668
5668
  let l = Kt(), u = ke(), h = et(e, { relative: s });
5669
5669
  return M.useCallback(
5670
5670
  (g) => {
5671
- if (oo(g, t)) {
5671
+ if (so(g, t)) {
5672
5672
  g.preventDefault();
5673
5673
  let x = r !== void 0 ? r : Ge(u) === Ge(h);
5674
5674
  l(e, {
@@ -5694,7 +5694,7 @@ function jo(e, {
5694
5694
  ]
5695
5695
  );
5696
5696
  }
5697
- function Do(e) {
5697
+ function Lo(e) {
5698
5698
  ve(
5699
5699
  typeof URLSearchParams < "u",
5700
5700
  "You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params."
@@ -5704,7 +5704,7 @@ function Do(e) {
5704
5704
  // Only merge in the defaults if we haven't yet called setSearchParams.
5705
5705
  // Once we call that we want those to take precedence, otherwise you can't
5706
5706
  // remove a param with setSearchParams({}) if it has an initial value
5707
- so(
5707
+ lo(
5708
5708
  i.search,
5709
5709
  r.current ? null : t.current
5710
5710
  )
@@ -5721,20 +5721,20 @@ function Do(e) {
5721
5721
  );
5722
5722
  return [a, c];
5723
5723
  }
5724
- var Lo = 0, Mo = () => `__${String(++Lo)}__`;
5725
- function $o() {
5724
+ var Mo = 0, $o = () => `__${String(++Mo)}__`;
5725
+ function Io() {
5726
5726
  let { router: e } = wn(
5727
5727
  "useSubmit"
5728
5728
  /* UseSubmit */
5729
- ), { basename: t } = M.useContext(we), r = Ka();
5729
+ ), { basename: t } = M.useContext(we), r = Ja();
5730
5730
  return M.useCallback(
5731
5731
  async (i, a = {}) => {
5732
- let { action: s, method: c, encType: l, formData: u, body: h } = co(
5732
+ let { action: s, method: c, encType: l, formData: u, body: h } = fo(
5733
5733
  i,
5734
5734
  t
5735
5735
  );
5736
5736
  if (a.navigate === !1) {
5737
- let g = a.fetcherKey || Mo();
5737
+ let g = a.fetcherKey || $o();
5738
5738
  await e.fetch(g, r, a.action || s, {
5739
5739
  preventScrollReset: a.preventScrollReset,
5740
5740
  formData: u,
@@ -5760,7 +5760,7 @@ function $o() {
5760
5760
  [e, t, r]
5761
5761
  );
5762
5762
  }
5763
- function Io(e, { relative: t } = {}) {
5763
+ function Ao(e, { relative: t } = {}) {
5764
5764
  let { basename: r } = M.useContext(we), i = M.useContext(Oe);
5765
5765
  ae(i, "useFormAction must be used inside a RouteContext");
5766
5766
  let [a] = i.matches.slice(-1), s = { ...et(e || ".", { relative: t }) }, c = ke();
@@ -5775,7 +5775,7 @@ function Io(e, { relative: t } = {}) {
5775
5775
  }
5776
5776
  return (!e || e === ".") && a.route.index && (s.search = s.search ? s.search.replace(/^\?/, "?index&") : "?index"), r !== "/" && (s.pathname = s.pathname === "/" ? r : Se([r, s.pathname])), Ge(s);
5777
5777
  }
5778
- function Ao(e, t = {}) {
5778
+ function Ho(e, t = {}) {
5779
5779
  let r = M.useContext(un);
5780
5780
  ae(
5781
5781
  r != null,
@@ -5791,7 +5791,7 @@ function Ao(e, t = {}) {
5791
5791
  return gt(a.pathname, c) != null || gt(a.pathname, s) != null;
5792
5792
  }
5793
5793
  [
5794
- ...bo
5794
+ ...wo
5795
5795
  ];
5796
5796
  const Sn = q.createContext({
5797
5797
  history: [],
@@ -5800,8 +5800,8 @@ const Sn = q.createContext({
5800
5800
  popFromHistory: () => "",
5801
5801
  replaceHistory: () => {
5802
5802
  }
5803
- }), Ho = () => {
5804
- const [e, t] = Do(), r = Hr(
5803
+ }), zo = () => {
5804
+ const [e, t] = Lo(), r = Hr(
5805
5805
  () => Object.fromEntries(e.entries()),
5806
5806
  [e]
5807
5807
  ), i = _e(
@@ -5856,8 +5856,8 @@ const Sn = q.createContext({
5856
5856
  remove: l,
5857
5857
  removeMany: u
5858
5858
  };
5859
- }, ds = () => {
5860
- const e = Kt(), t = ke(), r = Ho(), i = Yt(Sn), a = (l) => {
5859
+ }, hs = () => {
5860
+ const e = Kt(), t = ke(), r = zo(), i = Yt(Sn), a = (l) => {
5861
5861
  const u = new URL(l.path, "http://dummy-base");
5862
5862
  return l.params && Object.entries(l.params).forEach(([h, g]) => {
5863
5863
  g != null && u.searchParams.set(h, String(g));
@@ -5882,7 +5882,7 @@ const Sn = q.createContext({
5882
5882
  goBack: c,
5883
5883
  goTo: s
5884
5884
  };
5885
- }, hs = ({
5885
+ }, ps = ({
5886
5886
  isReady: e = !0,
5887
5887
  routes: t,
5888
5888
  children: r
@@ -5910,9 +5910,9 @@ const Sn = q.createContext({
5910
5910
  popFromHistory: u,
5911
5911
  replaceHistory: h
5912
5912
  },
5913
- children: /* @__PURE__ */ G.jsx(Eo, { children: e && /* @__PURE__ */ G.jsxs(G.Fragment, { children: [
5913
+ children: /* @__PURE__ */ G.jsx(Ro, { children: e && /* @__PURE__ */ G.jsxs(G.Fragment, { children: [
5914
5914
  r,
5915
- /* @__PURE__ */ G.jsx(to, { children: g })
5915
+ /* @__PURE__ */ G.jsx(ro, { children: g })
5916
5916
  ] }) })
5917
5917
  }
5918
5918
  );
@@ -5925,7 +5925,7 @@ const Sn = q.createContext({
5925
5925
  hideItem: () => {
5926
5926
  }
5927
5927
  }
5928
- ), ps = ({ children: e }) => {
5928
+ ), ms = ({ children: e }) => {
5929
5929
  const t = q.useRef([]), [r, i] = q.useState([]), a = q.useCallback((u) => {
5930
5930
  t.current = u, i(u);
5931
5931
  }, []), s = q.useCallback((u) => t.current.some((h) => h === u), []), c = q.useCallback(
@@ -5965,7 +5965,7 @@ const Sn = q.createContext({
5965
5965
  showItem: r,
5966
5966
  hideItem: i
5967
5967
  };
5968
- }, zo = ({
5968
+ }, No = ({
5969
5969
  id: e,
5970
5970
  onCloseDrawer: t,
5971
5971
  drawerCloseOffset: r = 15
@@ -5977,7 +5977,7 @@ const Sn = q.createContext({
5977
5977
  }, T = (P) => {
5978
5978
  s(P), g(0);
5979
5979
  };
5980
- return sa({
5980
+ return la({
5981
5981
  ref: u,
5982
5982
  onDrag: (P) => {
5983
5983
  s(P);
@@ -5993,14 +5993,14 @@ const Sn = q.createContext({
5993
5993
  drawerBottomDistance: h,
5994
5994
  handleRef: u
5995
5995
  };
5996
- }, ms = (e) => {
5996
+ }, vs = (e) => {
5997
5997
  const { children: t, backgroundStyles: r, contentStyles: i, handle: a } = e, {
5998
5998
  isVisible: s,
5999
5999
  drawerParentRef: c,
6000
6000
  drawerRef: l,
6001
6001
  handleRef: u,
6002
6002
  drawerBottomDistance: h
6003
- } = zo(e);
6003
+ } = No(e);
6004
6004
  return /* @__PURE__ */ G.jsx(G.Fragment, { children: s && /* @__PURE__ */ G.jsx(
6005
6005
  "div",
6006
6006
  {
@@ -6069,7 +6069,7 @@ const Sn = q.createContext({
6069
6069
  )
6070
6070
  }
6071
6071
  ) });
6072
- }, No = ({ onSubmit: e, fields: t }) => {
6072
+ }, Fo = ({ onSubmit: e, fields: t }) => {
6073
6073
  const r = q.useRef(null), i = q.useCallback(
6074
6074
  (c) => {
6075
6075
  const l = Array.from(c.currentTarget.elements).filter(
@@ -6100,7 +6100,7 @@ const Sn = q.createContext({
6100
6100
  },
6101
6101
  handleFormSubmission: a
6102
6102
  };
6103
- }, Fo = Pe.div`
6103
+ }, Wo = Pe.div`
6104
6104
  display: flex;
6105
6105
  width: 100%;
6106
6106
  align-items: center;
@@ -6115,8 +6115,8 @@ const Sn = q.createContext({
6115
6115
  > * {
6116
6116
  pointer-events: none;
6117
6117
  }
6118
- `, vs = (e) => {
6119
- const { fields: t, styles: r, submitButton: i } = e, { ref: a, handleFormSubmission: s, submitForm: c } = No(e), l = q.useCallback(() => t.list.map((u) => ({ ...u.content, key: u.name })), [t]);
6118
+ `, gs = (e) => {
6119
+ const { fields: t, styles: r, submitButton: i } = e, { ref: a, handleFormSubmission: s, submitForm: c } = Fo(e), l = q.useCallback(() => t.list.map((u) => ({ ...u.content, key: u.name })), [t]);
6120
6120
  return /* @__PURE__ */ G.jsxs(
6121
6121
  "form",
6122
6122
  {
@@ -6146,7 +6146,7 @@ const Sn = q.createContext({
6146
6146
  }
6147
6147
  ),
6148
6148
  /* @__PURE__ */ G.jsx(
6149
- Fo,
6149
+ Wo,
6150
6150
  {
6151
6151
  onClick: c,
6152
6152
  styles: {
@@ -6158,7 +6158,7 @@ const Sn = q.createContext({
6158
6158
  ]
6159
6159
  }
6160
6160
  );
6161
- }, gs = ({ src: e, alt: t = "", onClick: r, styles: i }) => /* @__PURE__ */ G.jsx(
6161
+ }, ys = ({ src: e, alt: t = "", onClick: r, styles: i }) => /* @__PURE__ */ G.jsx(
6162
6162
  "img",
6163
6163
  {
6164
6164
  src: e,
@@ -6177,7 +6177,7 @@ const Sn = q.createContext({
6177
6177
  r?.();
6178
6178
  }
6179
6179
  }
6180
- ), Wo = (e) => ({
6180
+ ), Uo = (e) => ({
6181
6181
  handleOnBlur: (a) => {
6182
6182
  e.onBlur?.();
6183
6183
  },
@@ -6187,7 +6187,7 @@ const Sn = q.createContext({
6187
6187
  onValueChanged: (a) => {
6188
6188
  e.onChange?.(a.currentTarget.value);
6189
6189
  }
6190
- }), Uo = Pe.div`
6190
+ }), Yo = Pe.div`
6191
6191
  display: flex;
6192
6192
  flex-direction: column;
6193
6193
  font-family: inherit;
@@ -6205,8 +6205,8 @@ const Sn = q.createContext({
6205
6205
  input:-webkit-autofill {
6206
6206
  background-color: #00000000;
6207
6207
  }
6208
- `, Yo = (e) => {
6209
- const { onValueChanged: t, handleOnBlur: r, handleOnFocus: i } = Wo(e), {
6208
+ `, qo = (e) => {
6209
+ const { onValueChanged: t, handleOnBlur: r, handleOnFocus: i } = Uo(e), {
6210
6210
  name: a,
6211
6211
  label: s,
6212
6212
  leftIcon: c,
@@ -6226,7 +6226,7 @@ const Sn = q.createContext({
6226
6226
  onInput: B
6227
6227
  } = e;
6228
6228
  return /* @__PURE__ */ G.jsxs(
6229
- Uo,
6229
+ Yo,
6230
6230
  {
6231
6231
  style: {
6232
6232
  width: "100%",
@@ -6300,7 +6300,7 @@ const Sn = q.createContext({
6300
6300
  ]
6301
6301
  }
6302
6302
  );
6303
- }, ys = ({ id: e, styles: t, children: r }) => {
6303
+ }, bs = ({ id: e, styles: t, children: r }) => {
6304
6304
  const { isItemVisible: i } = Ct();
6305
6305
  return /* @__PURE__ */ G.jsx(G.Fragment, { children: i(e) && /* @__PURE__ */ G.jsx(
6306
6306
  "div",
@@ -6321,7 +6321,7 @@ const Sn = q.createContext({
6321
6321
  children: r
6322
6322
  }
6323
6323
  ) });
6324
- }, bs = ({
6324
+ }, ws = ({
6325
6325
  id: e,
6326
6326
  children: t,
6327
6327
  backgroundStyles: r,
@@ -6379,8 +6379,8 @@ const Sn = q.createContext({
6379
6379
  )
6380
6380
  }
6381
6381
  ) });
6382
- }, qo = (e) => {
6383
- const t = Cn("");
6382
+ }, Bo = (e) => {
6383
+ const t = Pn("");
6384
6384
  function r(l) {
6385
6385
  return e.allowNegatives ? (l = l.replace(/-/g, (u, h) => h === 0 ? "-" : ""), l.indexOf("-") > 0 && (l = l.replace(/-/g, ""), l = "-" + l)) : l = l.replace(/-/g, ""), l;
6386
6386
  }
@@ -6416,20 +6416,20 @@ const Sn = q.createContext({
6416
6416
  onInput: s
6417
6417
  }), [])()
6418
6418
  };
6419
- }, ws = ({
6419
+ }, Ss = ({
6420
6420
  allowNegatives: e = !0,
6421
6421
  allowDecimals: t = !0,
6422
6422
  decimalScale: r = 2,
6423
6423
  ...i
6424
6424
  }) => {
6425
- const { props: a } = qo({
6425
+ const { props: a } = Bo({
6426
6426
  allowNegatives: e,
6427
6427
  allowDecimals: t,
6428
6428
  decimalScale: r,
6429
6429
  ...i
6430
6430
  });
6431
- return /* @__PURE__ */ G.jsx(Yo, { type: "text", ...a });
6432
- }, Bo = (e) => {
6431
+ return /* @__PURE__ */ G.jsx(qo, { type: "text", ...a });
6432
+ }, Vo = (e) => {
6433
6433
  const t = q.useRef(null), r = q.useRef(null), [i, a] = q.useState(24), [s, c] = q.useState(24), l = q.useCallback(() => {
6434
6434
  t.current && a(t.current.clientHeight);
6435
6435
  }, [t, t.current]), u = q.useCallback(() => {
@@ -6459,7 +6459,7 @@ const Sn = q.createContext({
6459
6459
  extraHeight: h()
6460
6460
  }
6461
6461
  };
6462
- }, Vo = Pe.div`
6462
+ }, Xo = Pe.div`
6463
6463
  min-height: 100%;
6464
6464
  max-height: 100%;
6465
6465
  width: 100%;
@@ -6479,7 +6479,7 @@ const Sn = q.createContext({
6479
6479
  box-sizing: border-box;
6480
6480
  position: relative;
6481
6481
  }
6482
- `, Ss = (e) => {
6482
+ `, xs = (e) => {
6483
6483
  const {
6484
6484
  containerStyles: t,
6485
6485
  pageStyles: r,
@@ -6487,9 +6487,9 @@ const Sn = q.createContext({
6487
6487
  allowScroll: a = !0,
6488
6488
  floatingContent: s,
6489
6489
  reserveSpaceForScrollbar: c
6490
- } = e, { footer: l, header: u } = Bo(e);
6490
+ } = e, { footer: l, header: u } = Vo(e);
6491
6491
  return /* @__PURE__ */ G.jsxs(
6492
- Vo,
6492
+ Xo,
6493
6493
  {
6494
6494
  id: "page-container",
6495
6495
  styles: {
@@ -6578,10 +6578,21 @@ const Sn = q.createContext({
6578
6578
  }
6579
6579
  );
6580
6580
  };
6581
- class Xo {
6581
+ class On {
6582
+ static getField = (t, r) => {
6583
+ const i = t.find((a) => a.name === r);
6584
+ if (!(!i || !i.value))
6585
+ return i.value;
6586
+ };
6587
+ static getFieldOrDefault = (t, r, i) => {
6588
+ const a = On.getField(t, r);
6589
+ return a === void 0 ? i : a;
6590
+ };
6591
+ }
6592
+ class Go {
6582
6593
  static clamp = (t, r, i) => t > i ? i : t < r ? r : t;
6583
6594
  }
6584
- class xs {
6595
+ class Os {
6585
6596
  static isScrollEnabled = () => document.body.style.overflow === "unset" || document.body.style.overflow === "auto";
6586
6597
  static disableScroll = () => {
6587
6598
  document.body.style.overflow = "hidden";
@@ -6590,18 +6601,18 @@ class xs {
6590
6601
  document.body.style.overflow = "unset";
6591
6602
  };
6592
6603
  }
6593
- class Os {
6604
+ class ks {
6594
6605
  static getPascalCase = (t) => t.replace(/\w+/g, function(r) {
6595
6606
  return r[0].toUpperCase() + r.slice(1).toLowerCase();
6596
6607
  });
6597
6608
  static isEqual = (t, r, i = !0) => i ? t === r : t.toUpperCase() === r.toUpperCase();
6598
6609
  }
6599
- var ft = { exports: {} }, Go = ft.exports, Mr;
6600
- function Ko() {
6610
+ var ft = { exports: {} }, Ko = ft.exports, Mr;
6611
+ function Jo() {
6601
6612
  return Mr || (Mr = 1, function(e, t) {
6602
6613
  (function(r, i) {
6603
6614
  e.exports = i();
6604
- })(Go, function() {
6615
+ })(Ko, function() {
6605
6616
  var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", c = "second", l = "minute", u = "hour", h = "day", g = "week", x = "month", T = "quarter", D = "year", P = "date", p = "Invalid Date", I = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, O = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, F = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(_) {
6606
6617
  var C = ["th", "st", "nd", "rd"], j = _ % 100;
6607
6618
  return "[" + _ + (C[(j - 20) % 10] || C[j] || C[0]) + "]";
@@ -6874,14 +6885,14 @@ function Ko() {
6874
6885
  });
6875
6886
  }(ft)), ft.exports;
6876
6887
  }
6877
- var Jo = Ko();
6878
- const dt = /* @__PURE__ */ qt(Jo);
6879
- var ht = { exports: {} }, Zo = ht.exports, $r;
6880
- function Qo() {
6888
+ var Zo = Jo();
6889
+ const dt = /* @__PURE__ */ qt(Zo);
6890
+ var ht = { exports: {} }, Qo = ht.exports, $r;
6891
+ function es() {
6881
6892
  return $r || ($r = 1, function(e, t) {
6882
6893
  (function(r, i) {
6883
6894
  e.exports = i();
6884
- })(Zo, function() {
6895
+ })(Qo, function() {
6885
6896
  var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, a = /([+-]|\d\d)/g;
6886
6897
  return function(s, c, l) {
6887
6898
  var u = c.prototype;
@@ -6951,10 +6962,10 @@ function Qo() {
6951
6962
  });
6952
6963
  }(ht)), ht.exports;
6953
6964
  }
6954
- var es = Qo();
6955
- const ts = /* @__PURE__ */ qt(es);
6956
- dt.extend(ts);
6957
- class ks {
6965
+ var ts = es();
6966
+ const rs = /* @__PURE__ */ qt(ts);
6967
+ dt.extend(rs);
6968
+ class Cs {
6958
6969
  static waitForMilliseconds = (t) => new Promise((r) => setTimeout(r, t));
6959
6970
  static waitForCondition = (t) => new Promise((r) => {
6960
6971
  const i = () => {
@@ -6992,14 +7003,14 @@ class ks {
6992
7003
  static formatDateLocalTime = (t, r) => t ? dt.utc(t).local().format(r || "DD/MM/YYYYㆍHH:mm") : "";
6993
7004
  static formatDateUTC = (t, r) => t ? dt.utc(t).format(r || "DD/MM/YYYYㆍHH:mm") : "";
6994
7005
  }
6995
- const Cs = ({
7006
+ const Ps = ({
6996
7007
  percentage: e,
6997
7008
  min: t = 0,
6998
7009
  max: r = 100,
6999
7010
  styles: i,
7000
7011
  barStyles: a
7001
7012
  }) => {
7002
- const s = Xo.clamp(e, t, r);
7013
+ const s = Go.clamp(e, t, r);
7003
7014
  return /* @__PURE__ */ G.jsx(
7004
7015
  "div",
7005
7016
  {
@@ -7024,7 +7035,7 @@ const Cs = ({
7024
7035
  )
7025
7036
  }
7026
7037
  );
7027
- }, Ps = ({
7038
+ }, Es = ({
7028
7039
  checked: e,
7029
7040
  onClick: t,
7030
7041
  styles: r,
@@ -7071,7 +7082,7 @@ const Cs = ({
7071
7082
  ]
7072
7083
  }
7073
7084
  );
7074
- }, Es = ({
7085
+ }, Rs = ({
7075
7086
  src: e,
7076
7087
  width: t = "22",
7077
7088
  height: r = "28",
@@ -7109,7 +7120,7 @@ const Cs = ({
7109
7120
  }
7110
7121
  )
7111
7122
  }
7112
- ), rs = Pe.div`
7123
+ ), ns = Pe.div`
7113
7124
  display: flex;
7114
7125
  flex-direction: column;
7115
7126
  font-family: inherit;
@@ -7131,7 +7142,7 @@ const Cs = ({
7131
7142
  textarea::-webkit-scrollbar-thumb:hover {
7132
7143
  background: #555; /* hover */
7133
7144
  }
7134
- `, Rs = ({
7145
+ `, _s = ({
7135
7146
  name: e,
7136
7147
  label: t,
7137
7148
  leftIcon: r,
@@ -7155,7 +7166,7 @@ const Cs = ({
7155
7166
  g?.();
7156
7167
  };
7157
7168
  return /* @__PURE__ */ G.jsxs(
7158
- rs,
7169
+ ns,
7159
7170
  {
7160
7171
  style: {
7161
7172
  width: "100%",
@@ -7221,7 +7232,7 @@ const Cs = ({
7221
7232
  ]
7222
7233
  }
7223
7234
  );
7224
- }, _s = ({
7235
+ }, Ts = ({
7225
7236
  id: e,
7226
7237
  children: t,
7227
7238
  styles: r,
@@ -7258,7 +7269,7 @@ const Cs = ({
7258
7269
  children: t
7259
7270
  }
7260
7271
  ) });
7261
- }, Ts = ({
7272
+ }, js = ({
7262
7273
  overflowEllipsis: e,
7263
7274
  maxNumberOfLines: t,
7264
7275
  children: r,
@@ -7288,37 +7299,38 @@ const Cs = ({
7288
7299
  }
7289
7300
  );
7290
7301
  export {
7291
- is as Button,
7292
- as as Carousel,
7293
- os as Checkbox,
7294
- ms as Drawer,
7295
- ps as FeedbackProvider,
7296
- vs as Form,
7297
- gs as Image,
7298
- Yo as InputField,
7299
- ys as Loader,
7300
- bs as Modal,
7301
- hs as NavigationProvider,
7302
- Xo as NumberHelper,
7303
- ws as NumericInputField,
7304
- Ss as PageLayout,
7305
- Cs as ProgressBar,
7306
- Ps as RadioButton,
7307
- xs as ScrollHelper,
7308
- Es as SvgImage,
7309
- Rs as TextAreaField,
7310
- Os as TextHelper,
7311
- ks as TimeHelper,
7312
- _s as Toast,
7313
- Ts as Typography,
7314
- la as defaultBreakpoints,
7315
- ss as useDidMount,
7316
- sa as useDrag,
7302
+ as as Button,
7303
+ os as Carousel,
7304
+ ss as Checkbox,
7305
+ vs as Drawer,
7306
+ ms as FeedbackProvider,
7307
+ gs as Form,
7308
+ On as FormsHelper,
7309
+ ys as Image,
7310
+ qo as InputField,
7311
+ bs as Loader,
7312
+ ws as Modal,
7313
+ ps as NavigationProvider,
7314
+ Go as NumberHelper,
7315
+ Ss as NumericInputField,
7316
+ xs as PageLayout,
7317
+ Ps as ProgressBar,
7318
+ Es as RadioButton,
7319
+ Os as ScrollHelper,
7320
+ Rs as SvgImage,
7321
+ _s as TextAreaField,
7322
+ ks as TextHelper,
7323
+ Cs as TimeHelper,
7324
+ Ts as Toast,
7325
+ js as Typography,
7326
+ ua as defaultBreakpoints,
7327
+ ls as useDidMount,
7328
+ la as useDrag,
7317
7329
  Ct as useFeedback,
7318
- ls as useFetch,
7319
- ds as useNavigation,
7320
- us as useOnScreen,
7321
- oa as usePointer,
7322
- cs as useResponsive,
7323
- fs as useTranslations
7330
+ us as useFetch,
7331
+ hs as useNavigation,
7332
+ cs as useOnScreen,
7333
+ sa as usePointer,
7334
+ fs as useResponsive,
7335
+ ds as useTranslations
7324
7336
  };