@ukpc-lib/react 0.2.39 → 0.2.41

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.
@@ -9,7 +9,7 @@ import Lt from "axios";
9
9
  import "@r2wc/react-to-web-component";
10
10
  import { Link as mu, useLocation as gu } from "react-router-dom";
11
11
  import { createPortal as yu } from "react-dom";
12
- import { Stack as Me, Dialog as vu, DialogTitle as bu, Typography as pt, DialogContent as xu, DialogActions as wu, Button as po, ClickAwayListener as Su, TextField as wa, IconButton as Eu, CircularProgress as Cu, Fade as _u, Paper as Tu } from "@mui/material";
12
+ import { Stack as Me, Dialog as vu, DialogTitle as bu, Typography as pt, DialogContent as xu, DialogActions as wu, Button as po, ClickAwayListener as Su, TextField as wa, IconButton as Eu, CircularProgress as _u, Fade as Cu, Paper as Tu } from "@mui/material";
13
13
  const Pu = `.modal-overlay{z-index:1300;position:fixed;top:0;right:0;bottom:0;left:0;background:hsla(0,0%,0%,.254);--tw-backdrop-blur: blur(4px);justify-content:center;align-items:center;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.modal-title{font-size:1.25rem;line-height:1.75rem;color:#e01b00;font-weight:500}.modal-footer{display:flex;justify-content:space-between;width:80%}.modal-container{background:#ffffff;-webkit-backdrop-filter:blur(4.5px);backdrop-filter:blur(4.5px);display:flex;padding:32px 24px 40px;flex-direction:column;align-items:center;gap:24px;align-self:stretch;width:500px;height:204px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:.5rem}.modal-button{border-radius:3px;border:1px solid #ddd;background:#ddd;padding:8px 32px;font-size:14px}.confirm-btn{background:#e01b00!important}.text-white{color:#fff}.text-sm{font-size:.875rem;line-height:1.25rem}
14
14
  `;
15
15
  function Sa({
@@ -468,7 +468,7 @@ function Nu({
468
468
  }
469
469
  const Du = `*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}
470
470
  `;
471
- function Ca({ children: e, styles: t = [], ...n }) {
471
+ function _a({ children: e, styles: t = [], ...n }) {
472
472
  return /* @__PURE__ */ P(qc.div, { ...n, children: [
473
473
  [Du, ...t].map((r, i) => /* @__PURE__ */ g("style", { type: "text/css", children: r }, i)),
474
474
  e
@@ -604,7 +604,7 @@ function G3({
604
604
  window.location.href = `${n}/authentication/logout?callbackUrl=${window.location.href}`;
605
605
  };
606
606
  return /* @__PURE__ */ P(
607
- Ca,
607
+ _a,
608
608
  {
609
609
  styles: [
610
610
  Ru,
@@ -867,8 +867,8 @@ function Bu({
867
867
  var Wu = typeof global == "object" && global && global.Object === Object && global;
868
868
  const Hu = Wu;
869
869
  var Uu = typeof self == "object" && self && self.Object === Object && self, Yu = Hu || Uu || Function("return this")();
870
- const _a = Yu;
871
- var Gu = _a.Symbol;
870
+ const Ca = Yu;
871
+ var Gu = Ca.Symbol;
872
872
  const Jn = Gu;
873
873
  var Ta = Object.prototype, qu = Ta.hasOwnProperty, Ku = Ta.toString, Kt = Jn ? Jn.toStringTag : void 0;
874
874
  function Xu(e) {
@@ -927,7 +927,7 @@ function vo(e) {
927
927
  return n || fd.test(e) ? hd(e.slice(2), n ? 2 : 8) : ud.test(e) ? yo : +e;
928
928
  }
929
929
  var pd = function() {
930
- return _a.Date.now();
930
+ return Ca.Date.now();
931
931
  };
932
932
  const Ir = pd;
933
933
  var md = "Expected a function", gd = Math.max, yd = Math.min;
@@ -937,19 +937,19 @@ function jn(e, t, n) {
937
937
  throw new TypeError(md);
938
938
  t = vo(t) || 0, Qn(n) && (u = !!n.leading, d = "maxWait" in n, s = d ? gd(vo(n.maxWait) || 0, t) : s, h = "trailing" in n ? !!n.trailing : h);
939
939
  function p(E) {
940
- var C = r, _ = i;
941
- return r = i = void 0, c = E, o = e.apply(_, C), o;
940
+ var _ = r, C = i;
941
+ return r = i = void 0, c = E, o = e.apply(C, _), o;
942
942
  }
943
943
  function y(E) {
944
944
  return c = E, a = setTimeout(b, t), u ? p(E) : o;
945
945
  }
946
946
  function f(E) {
947
- var C = E - l, _ = E - c, A = t - C;
948
- return d ? yd(A, s - _) : A;
947
+ var _ = E - l, C = E - c, A = t - _;
948
+ return d ? yd(A, s - C) : A;
949
949
  }
950
950
  function m(E) {
951
- var C = E - l, _ = E - c;
952
- return l === void 0 || C >= t || C < 0 || d && _ >= s;
951
+ var _ = E - l, C = E - c;
952
+ return l === void 0 || _ >= t || _ < 0 || d && C >= s;
953
953
  }
954
954
  function b() {
955
955
  var E = Ir();
@@ -967,8 +967,8 @@ function jn(e, t, n) {
967
967
  return a === void 0 ? o : w(Ir());
968
968
  }
969
969
  function v() {
970
- var E = Ir(), C = m(E);
971
- if (r = arguments, i = this, l = E, C) {
970
+ var E = Ir(), _ = m(E);
971
+ if (r = arguments, i = this, l = E, _) {
972
972
  if (a === void 0)
973
973
  return y(l);
974
974
  if (d)
@@ -1107,8 +1107,8 @@ var Sd = /* @__PURE__ */ Object.freeze({
1107
1107
  i.preventDefault(), i.stopPropagation(), r.draggedAxis === "y" ? m = i.pageY : m = i.pageX;
1108
1108
  var E = m - ((h = (d = b.rect) === null || d === void 0 ? void 0 : d[r.axis[r.draggedAxis].offsetAttr]) !== null && h !== void 0 ? h : 0) - r.axis[r.draggedAxis].dragOffset;
1109
1109
  E = r.draggedAxis === "x" && r.isRtl ? ((y = (p = b.rect) === null || p === void 0 ? void 0 : p[r.axis[r.draggedAxis].sizeAttr]) !== null && y !== void 0 ? y : 0) - x.size - E : E;
1110
- var C = E / (w - x.size), _ = C * (S - v);
1111
- r.draggedAxis === "x" && r.isRtl && (_ = !((f = e.getRtlHelpers()) === null || f === void 0) && f.isScrollingToNegative ? -_ : _), r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr] = _;
1110
+ var _ = E / (w - x.size), C = _ * (S - v);
1111
+ r.draggedAxis === "x" && r.isRtl && (C = !((f = e.getRtlHelpers()) === null || f === void 0) && f.isScrollingToNegative ? -C : C), r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr] = C;
1112
1112
  }
1113
1113
  }, this.onEndDrag = function(i) {
1114
1114
  var s = Vr(r.el), o = Xe(r.el);
@@ -1326,7 +1326,7 @@ var Sd = /* @__PURE__ */ Object.freeze({
1326
1326
  return t;
1327
1327
  }, ve.apply(this, arguments);
1328
1328
  };
1329
- function Cd(e, t) {
1329
+ function _d(e, t) {
1330
1330
  var n = {};
1331
1331
  for (var r in e)
1332
1332
  Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
@@ -1336,7 +1336,7 @@ function Cd(e, t) {
1336
1336
  return n;
1337
1337
  }
1338
1338
  var Ra = N.forwardRef(function(e, t) {
1339
- var n = e.children, r = e.scrollableNodeProps, i = r === void 0 ? {} : r, s = Cd(e, ["children", "scrollableNodeProps"]), o = N.useRef(), a = N.useRef(), l = N.useRef(), c = {}, u = {};
1339
+ var n = e.children, r = e.scrollableNodeProps, i = r === void 0 ? {} : r, s = _d(e, ["children", "scrollableNodeProps"]), o = N.useRef(), a = N.useRef(), l = N.useRef(), c = {}, u = {};
1340
1340
  Object.keys(s).forEach(function(p) {
1341
1341
  Object.prototype.hasOwnProperty.call(Dn.defaultOptions, p) ? c[p] = s[p] : u[p] = s[p];
1342
1342
  });
@@ -1393,7 +1393,7 @@ var Ra = N.forwardRef(function(e, t) {
1393
1393
  );
1394
1394
  });
1395
1395
  Ra.displayName = "SimpleBar";
1396
- const _d = `[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{top:2px;bottom:2px;left:2px;right:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:0;bottom:0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}
1396
+ const Cd = `[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{top:2px;bottom:2px;left:2px;right:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:0;bottom:0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}
1397
1397
  `, q3 = (e) => /* @__PURE__ */ g(
1398
1398
  ga,
1399
1399
  {
@@ -1423,7 +1423,7 @@ const _d = `[data-simplebar]{position:relative;flex-direction:column;flex-wrap:w
1423
1423
  transformPagePoint: (e) => e,
1424
1424
  isStatic: !1,
1425
1425
  reducedMotion: "never"
1426
- }), pr = Wt({}), Ei = Wt(null), mr = typeof document < "u", Td = mr ? wi : ce, Va = Wt({ strict: !1 }), Ci = (e) => e.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), Pd = "framerAppearId", La = "data-" + Ci(Pd);
1426
+ }), pr = Wt({}), Ei = Wt(null), mr = typeof document < "u", Td = mr ? wi : ce, Va = Wt({ strict: !1 }), _i = (e) => e.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), Pd = "framerAppearId", La = "data-" + _i(Pd);
1427
1427
  function Ad(e, t, n, r) {
1428
1428
  const { visualElement: i } = ie(pr), s = ie(Va), o = ie(Ei), a = ie(Ia).reducedMotion, l = Ye();
1429
1429
  r = r || s.renderer, !l.current && r && (l.current = r(e, {
@@ -1467,7 +1467,7 @@ function dn(e) {
1467
1467
  function gr(e) {
1468
1468
  return e !== null && typeof e == "object" && typeof e.start == "function";
1469
1469
  }
1470
- const _i = [
1470
+ const Ci = [
1471
1471
  "animate",
1472
1472
  "whileInView",
1473
1473
  "whileFocus",
@@ -1475,7 +1475,7 @@ const _i = [
1475
1475
  "whileTap",
1476
1476
  "whileDrag",
1477
1477
  "exit"
1478
- ], Ti = ["initial", ..._i];
1478
+ ], Ti = ["initial", ...Ci];
1479
1479
  function yr(e) {
1480
1480
  return gr(e.animate) || Ti.some((t) => dn(e[t]));
1481
1481
  }
@@ -1693,7 +1693,7 @@ const wn = (e) => ({
1693
1693
  ...Ve,
1694
1694
  parse: (e) => Ve.parse(e) / 100,
1695
1695
  transform: (e) => Ve.transform(e * 100)
1696
- }, Co = {
1696
+ }, _o = {
1697
1697
  ...vt,
1698
1698
  transform: Math.round
1699
1699
  }, Ua = {
@@ -1756,11 +1756,11 @@ const wn = (e) => ({
1756
1756
  originY: Eo,
1757
1757
  originZ: M,
1758
1758
  // Misc
1759
- zIndex: Co,
1759
+ zIndex: _o,
1760
1760
  // SVG
1761
1761
  fillOpacity: rn,
1762
1762
  strokeOpacity: rn,
1763
- numOctaves: Co
1763
+ numOctaves: _o
1764
1764
  };
1765
1765
  function Ai(e, t, n, r) {
1766
1766
  const { style: i, vars: s, transform: o, transformOrigin: a } = e;
@@ -1859,11 +1859,11 @@ function Jd(e, t, n) {
1859
1859
  e.draggable && i.startsWith("onDrag")) && (r[i] = e[i]);
1860
1860
  return r;
1861
1861
  }
1862
- function _o(e, t, n) {
1862
+ function Co(e, t, n) {
1863
1863
  return typeof e == "string" ? e : M.transform(t + n * e);
1864
1864
  }
1865
1865
  function Qd(e, t, n) {
1866
- const r = _o(t, e.x, e.width), i = _o(n, e.y, e.height);
1866
+ const r = Co(t, e.x, e.width), i = Co(n, e.y, e.height);
1867
1867
  return `${r} ${i}`;
1868
1868
  }
1869
1869
  const e0 = {
@@ -1964,7 +1964,7 @@ const Xa = /* @__PURE__ */ new Set([
1964
1964
  function Za(e, t, n, r) {
1965
1965
  Ka(e, t, void 0, r);
1966
1966
  for (const i in t.attrs)
1967
- e.setAttribute(Xa.has(i) ? i : Ci(i), t.attrs[i]);
1967
+ e.setAttribute(Xa.has(i) ? i : _i(i), t.attrs[i]);
1968
1968
  }
1969
1969
  function Ni(e, t) {
1970
1970
  const { style: n } = e, r = {};
@@ -2310,13 +2310,13 @@ function E0({ root: e, ...t }) {
2310
2310
  const r = zr.get(n), i = JSON.stringify(t);
2311
2311
  return r[i] || (r[i] = new IntersectionObserver(S0, { root: e, ...t })), r[i];
2312
2312
  }
2313
- function C0(e, t, n) {
2313
+ function _0(e, t, n) {
2314
2314
  const r = E0(t);
2315
2315
  return ei.set(e, n), r.observe(e), () => {
2316
2316
  ei.delete(e), r.unobserve(e);
2317
2317
  };
2318
2318
  }
2319
- const _0 = {
2319
+ const C0 = {
2320
2320
  some: 0,
2321
2321
  all: 1
2322
2322
  };
@@ -2329,7 +2329,7 @@ class T0 extends at {
2329
2329
  const { viewport: t = {} } = this.node.getProps(), { root: n, margin: r, amount: i = "some", once: s } = t, o = {
2330
2330
  root: n ? n.current : void 0,
2331
2331
  rootMargin: r,
2332
- threshold: typeof i == "number" ? i : _0[i]
2332
+ threshold: typeof i == "number" ? i : C0[i]
2333
2333
  }, a = (l) => {
2334
2334
  const { isIntersecting: c } = l;
2335
2335
  if (this.isInView === c || (this.isInView = c, s && !c && this.hasEnteredView))
@@ -2338,7 +2338,7 @@ class T0 extends at {
2338
2338
  const { onViewportEnter: u, onViewportLeave: d } = this.node.getProps(), h = c ? u : d;
2339
2339
  h && h(l);
2340
2340
  };
2341
- return C0(this.node.current, o, a);
2341
+ return _0(this.node.current, o, a);
2342
2342
  }
2343
2343
  mount() {
2344
2344
  this.startObserver();
@@ -2602,11 +2602,11 @@ const ot = {
2602
2602
  createTransformer: Sl,
2603
2603
  getAnimatableNone: X0
2604
2604
  }, El = (e, t) => (n) => `${n > 0 ? t : e}`;
2605
- function Cl(e, t) {
2605
+ function _l(e, t) {
2606
2606
  return typeof e == "number" ? (n) => X(e, t, n) : fe.test(e) ? yl(e, t) : e.startsWith("var(") ? El(e, t) : Tl(e, t);
2607
2607
  }
2608
- const _l = (e, t) => {
2609
- const n = [...e], r = n.length, i = e.map((s, o) => Cl(s, t[o]));
2608
+ const Cl = (e, t) => {
2609
+ const n = [...e], r = n.length, i = e.map((s, o) => _l(s, t[o]));
2610
2610
  return (s) => {
2611
2611
  for (let o = 0; o < r; o++)
2612
2612
  n[o] = i[o](s);
@@ -2615,7 +2615,7 @@ const _l = (e, t) => {
2615
2615
  }, Z0 = (e, t) => {
2616
2616
  const n = { ...e, ...t }, r = {};
2617
2617
  for (const i in n)
2618
- e[i] !== void 0 && t[i] !== void 0 && (r[i] = Cl(e[i], t[i]));
2618
+ e[i] !== void 0 && t[i] !== void 0 && (r[i] = _l(e[i], t[i]));
2619
2619
  return (i) => {
2620
2620
  for (const s in r)
2621
2621
  n[s] = r[s](i);
@@ -2623,13 +2623,13 @@ const _l = (e, t) => {
2623
2623
  };
2624
2624
  }, Tl = (e, t) => {
2625
2625
  const n = ot.createTransformer(t), r = rr(e), i = rr(t);
2626
- return r.numVars === i.numVars && r.numColors === i.numColors && r.numNumbers >= i.numNumbers ? nt(_l(r.values, i.values), n) : (Sn(!0, `Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`), El(e, t));
2626
+ return r.numVars === i.numVars && r.numColors === i.numColors && r.numNumbers >= i.numNumbers ? nt(Cl(r.values, i.values), n) : (Sn(!0, `Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`), El(e, t));
2627
2627
  }, hn = (e, t, n) => {
2628
2628
  const r = t - e;
2629
2629
  return r === 0 ? 1 : (n - e) / r;
2630
2630
  }, Do = (e, t) => (n) => X(e, t, n);
2631
2631
  function J0(e) {
2632
- return typeof e == "number" ? Do : typeof e == "string" ? fe.test(e) ? yl : Tl : Array.isArray(e) ? _l : typeof e == "object" ? Z0 : Do;
2632
+ return typeof e == "number" ? Do : typeof e == "string" ? fe.test(e) ? yl : Tl : Array.isArray(e) ? Cl : typeof e == "object" ? Z0 : Do;
2633
2633
  }
2634
2634
  function Q0(e, t, n) {
2635
2635
  const r = [], i = n || J0(e[0]), s = e.length - 1;
@@ -2798,8 +2798,8 @@ function Ol({ keyframes: e, restDelta: t, restSpeed: n, ...r }) {
2798
2798
  else {
2799
2799
  let v = p;
2800
2800
  x !== 0 && (y < 1 ? v = kl(w, x, S) : v = 0);
2801
- const E = Math.abs(v) <= n, C = Math.abs(s - S) <= t;
2802
- o.done = E && C;
2801
+ const E = Math.abs(v) <= n, _ = Math.abs(s - S) <= t;
2802
+ o.done = E && _;
2803
2803
  }
2804
2804
  return o.value = o.done ? s : S, o;
2805
2805
  }
@@ -2809,30 +2809,30 @@ function Vo({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 3
2809
2809
  const d = e[0], h = {
2810
2810
  done: !1,
2811
2811
  value: d
2812
- }, p = (_) => a !== void 0 && _ < a || l !== void 0 && _ > l, y = (_) => a === void 0 ? l : l === void 0 || Math.abs(a - _) < Math.abs(l - _) ? a : l;
2812
+ }, p = (C) => a !== void 0 && C < a || l !== void 0 && C > l, y = (C) => a === void 0 ? l : l === void 0 || Math.abs(a - C) < Math.abs(l - C) ? a : l;
2813
2813
  let f = n * t;
2814
2814
  const m = d + f, b = o === void 0 ? m : o(m);
2815
2815
  b !== m && (f = b - d);
2816
- const w = (_) => -f * Math.exp(-_ / r), x = (_) => b + w(_), S = (_) => {
2817
- const A = w(_), D = x(_);
2816
+ const w = (C) => -f * Math.exp(-C / r), x = (C) => b + w(C), S = (C) => {
2817
+ const A = w(C), D = x(C);
2818
2818
  h.done = Math.abs(A) <= c, h.value = h.done ? b : D;
2819
2819
  };
2820
2820
  let v, E;
2821
- const C = (_) => {
2822
- p(h.value) && (v = _, E = Ol({
2821
+ const _ = (C) => {
2822
+ p(h.value) && (v = C, E = Ol({
2823
2823
  keyframes: [h.value, y(h.value)],
2824
- velocity: kl(x, _, h.value),
2824
+ velocity: kl(x, C, h.value),
2825
2825
  damping: i,
2826
2826
  stiffness: s,
2827
2827
  restDelta: c,
2828
2828
  restSpeed: u
2829
2829
  }));
2830
2830
  };
2831
- return C(0), {
2831
+ return _(0), {
2832
2832
  calculatedDuration: null,
2833
- next: (_) => {
2833
+ next: (C) => {
2834
2834
  let A = !1;
2835
- return !E && v === void 0 && (A = !0, S(_), C(_)), v !== void 0 && _ > v ? E.next(_ - v) : (!A && S(_), h);
2835
+ return !E && v === void 0 && (A = !0, S(C), _(C)), v !== void 0 && C > v ? E.next(C - v) : (!A && S(C), h);
2836
2836
  }
2837
2837
  };
2838
2838
  }
@@ -2884,7 +2884,7 @@ function or({ autoplay: e = !0, delay: t = 0, driver: n = mf, keyframes: r, type
2884
2884
  keyframes: [...r].reverse(),
2885
2885
  velocity: -(h.velocity || 0)
2886
2886
  }));
2887
- let C = "idle", _ = null, A = null, D = null;
2887
+ let _ = "idle", C = null, A = null, D = null;
2888
2888
  v.calculatedDuration === null && s && (v.calculatedDuration = $o(v));
2889
2889
  const { calculatedDuration: O } = v;
2890
2890
  let I = 1 / 0, K = 1 / 0;
@@ -2893,9 +2893,9 @@ function or({ autoplay: e = !0, delay: t = 0, driver: n = mf, keyframes: r, type
2893
2893
  const he = (B) => {
2894
2894
  if (A === null)
2895
2895
  return;
2896
- p > 0 && (A = Math.min(A, B)), p < 0 && (A = Math.min(B - K / p, A)), _ !== null ? H = _ : H = Math.round(B - A) * p;
2896
+ p > 0 && (A = Math.min(A, B)), p < 0 && (A = Math.min(B - K / p, A)), C !== null ? H = C : H = Math.round(B - A) * p;
2897
2897
  const ke = H - t * (p >= 0 ? 1 : -1), Fe = p >= 0 ? ke < 0 : ke > K;
2898
- H = Math.max(ke, 0), C === "finished" && _ === null && (H = K);
2898
+ H = Math.max(ke, 0), _ === "finished" && C === null && (H = K);
2899
2899
  let Se = H, je = v;
2900
2900
  if (s) {
2901
2901
  const ct = Math.min(H, K) / I;
@@ -2906,20 +2906,20 @@ function or({ autoplay: e = !0, delay: t = 0, driver: n = mf, keyframes: r, type
2906
2906
  S && (Be.value = S(Be.value));
2907
2907
  let { done: xt } = Be;
2908
2908
  !Fe && O !== null && (xt = p >= 0 ? H >= K : H <= 0);
2909
- const Gt = _ === null && (C === "finished" || C === "running" && xt);
2909
+ const Gt = C === null && (_ === "finished" || _ === "running" && xt);
2910
2910
  return d && d(Be.value), Gt && de(), Be;
2911
2911
  }, Y = () => {
2912
2912
  w && w.stop(), w = void 0;
2913
2913
  }, ue = () => {
2914
- C = "idle", Y(), f(), b(), A = D = null;
2914
+ _ = "idle", Y(), f(), b(), A = D = null;
2915
2915
  }, de = () => {
2916
- C = "finished", u && u(), Y(), f();
2916
+ _ = "finished", u && u(), Y(), f();
2917
2917
  }, ye = () => {
2918
2918
  if (y)
2919
2919
  return;
2920
2920
  w || (w = n(he));
2921
2921
  const B = w.now();
2922
- l && l(), _ !== null ? A = B - _ : (!A || C === "finished") && (A = B), C === "finished" && b(), D = A, _ = null, C = "running", w.start();
2922
+ l && l(), C !== null ? A = B - C : (!A || _ === "finished") && (A = B), _ === "finished" && b(), D = A, C = null, _ = "running", w.start();
2923
2923
  };
2924
2924
  e && ye();
2925
2925
  const Re = {
@@ -2930,7 +2930,7 @@ function or({ autoplay: e = !0, delay: t = 0, driver: n = mf, keyframes: r, type
2930
2930
  return Ue(H);
2931
2931
  },
2932
2932
  set time(B) {
2933
- B = rt(B), H = B, _ !== null || !w || p === 0 ? _ = B : A = w.now() - B / p;
2933
+ B = rt(B), H = B, C !== null || !w || p === 0 ? C = B : A = w.now() - B / p;
2934
2934
  },
2935
2935
  get duration() {
2936
2936
  const B = v.calculatedDuration === null ? $o(v) : v.calculatedDuration;
@@ -2943,20 +2943,20 @@ function or({ autoplay: e = !0, delay: t = 0, driver: n = mf, keyframes: r, type
2943
2943
  B === p || !w || (p = B, Re.time = Ue(H));
2944
2944
  },
2945
2945
  get state() {
2946
- return C;
2946
+ return _;
2947
2947
  },
2948
2948
  play: ye,
2949
2949
  pause: () => {
2950
- C = "paused", _ = H;
2950
+ _ = "paused", C = H;
2951
2951
  },
2952
2952
  stop: () => {
2953
- y = !0, C !== "idle" && (C = "idle", c && c(), ue());
2953
+ y = !0, _ !== "idle" && (_ = "idle", c && c(), ue());
2954
2954
  },
2955
2955
  cancel: () => {
2956
2956
  D !== null && he(D), ue();
2957
2957
  },
2958
2958
  complete: () => {
2959
- C = "finished";
2959
+ _ = "finished";
2960
2960
  },
2961
2961
  sample: (B) => (A = 0, he(B))
2962
2962
  };
@@ -3081,12 +3081,12 @@ function Ef({ keyframes: e, delay: t, onUpdate: n, onComplete: r }) {
3081
3081
  onComplete: i
3082
3082
  }) : i();
3083
3083
  }
3084
- const Cf = {
3084
+ const _f = {
3085
3085
  type: "spring",
3086
3086
  stiffness: 500,
3087
3087
  damping: 25,
3088
3088
  restSpeed: 10
3089
- }, _f = (e) => ({
3089
+ }, Cf = (e) => ({
3090
3090
  type: "spring",
3091
3091
  stiffness: 550,
3092
3092
  damping: e === 0 ? 2 * Math.sqrt(550) : 30,
@@ -3098,7 +3098,7 @@ const Cf = {
3098
3098
  type: "keyframes",
3099
3099
  ease: [0.25, 0.1, 0.35, 1],
3100
3100
  duration: 0.3
3101
- }, Af = (e, { keyframes: t }) => t.length > 2 ? Tf : yt.has(e) ? e.startsWith("scale") ? _f(t[1]) : Cf : Pf, ri = (e, t) => e === "zIndex" ? !1 : !!(typeof t == "number" || Array.isArray(t) || typeof t == "string" && // It's animatable if we have a string
3101
+ }, Af = (e, { keyframes: t }) => t.length > 2 ? Tf : yt.has(e) ? e.startsWith("scale") ? Cf(t[1]) : _f : Pf, ri = (e, t) => e === "zIndex" ? !1 : !!(typeof t == "number" || Array.isArray(t) || typeof t == "string" && // It's animatable if we have a string
3102
3102
  (ot.test(t) || t === "0") && // And it contains numbers and/or colors
3103
3103
  !t.startsWith("url(")), kf = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
3104
3104
  function Of(e) {
@@ -3573,7 +3573,7 @@ function Zf(e, t, n = {}) {
3573
3573
  }
3574
3574
  return r.then(() => e.notify("AnimationComplete", t));
3575
3575
  }
3576
- const Jf = [..._i].reverse(), Qf = _i.length;
3576
+ const Jf = [...Ci].reverse(), Qf = Ci.length;
3577
3577
  function eh(e) {
3578
3578
  return (t) => Promise.all(t.map(({ animation: n, options: r }) => Zf(e, n, r)));
3579
3579
  }
@@ -3598,14 +3598,14 @@ function th(e) {
3598
3598
  for (let b = 0; b < Qf; b++) {
3599
3599
  const w = Jf[b], x = n[w], S = u[w] !== void 0 ? u[w] : d[w], v = dn(S), E = w === c ? x.isActive : null;
3600
3600
  E === !1 && (f = b);
3601
- let C = S === d[w] && S !== u[w] && v;
3602
- if (C && r && e.manuallyAnimateOnMount && (C = !1), x.protectedKeys = { ...y }, // If it isn't active and hasn't *just* been set as inactive
3601
+ let _ = S === d[w] && S !== u[w] && v;
3602
+ if (_ && r && e.manuallyAnimateOnMount && (_ = !1), x.protectedKeys = { ...y }, // If it isn't active and hasn't *just* been set as inactive
3603
3603
  !x.isActive && E === null || // If we didn't and don't have any defined prop for this animation type
3604
3604
  !S && !x.prevProp || // Or if the prop doesn't define an animation
3605
3605
  gr(S) || typeof S == "boolean")
3606
3606
  continue;
3607
3607
  let A = nh(x.prevProp, S) || // If we're making this variant active, we want to always make it active
3608
- w === c && x.isActive && !C && v || // If we removed a higher-priority variant (i is in reverse order)
3608
+ w === c && x.isActive && !_ && v || // If we removed a higher-priority variant (i is in reverse order)
3609
3609
  b > f && v, D = !1;
3610
3610
  const O = Array.isArray(S) ? S : [S];
3611
3611
  let I = O.reduce(i, {});
@@ -3623,7 +3623,7 @@ function th(e) {
3623
3623
  let ye = !1;
3624
3624
  nr(ue) && nr(de) ? ye = !ol(ue, de) : ye = ue !== de, ye ? ue !== void 0 ? he(Y) : p.add(Y) : ue !== void 0 && p.has(Y) ? he(Y) : x.protectedKeys[Y] = !0;
3625
3625
  }
3626
- x.prevProp = S, x.prevResolvedValues = I, x.isActive && (y = { ...y, ...I }), r && e.blockInitialAnimation && (A = !1), A && (!C || D) && h.push(...O.map((Y) => ({
3626
+ x.prevProp = S, x.prevResolvedValues = I, x.isActive && (y = { ...y, ...I }), r && e.blockInitialAnimation && (A = !1), A && (!_ || D) && h.push(...O.map((Y) => ({
3627
3627
  animation: Y,
3628
3628
  options: { type: w, ...l }
3629
3629
  })));
@@ -3899,7 +3899,7 @@ const Ko = () => ({
3899
3899
  x: Xo(),
3900
3900
  y: Xo()
3901
3901
  });
3902
- function Ce(e) {
3902
+ function _e(e) {
3903
3903
  return [e("x"), e("y")];
3904
3904
  }
3905
3905
  function zl({ top: e, left: t, right: n, bottom: r }) {
@@ -3987,8 +3987,8 @@ function Eh(e, t, n) {
3987
3987
  const r = Bl(e, n), { scroll: i } = t;
3988
3988
  return i && (et(r.x, i.offset.x), et(r.y, i.offset.y)), r;
3989
3989
  }
3990
- const Wl = ({ current: e }) => e ? e.ownerDocument.defaultView : null, Ch = /* @__PURE__ */ new WeakMap();
3991
- class _h {
3990
+ const Wl = ({ current: e }) => e ? e.ownerDocument.defaultView : null, _h = /* @__PURE__ */ new WeakMap();
3991
+ class Ch {
3992
3992
  constructor(t) {
3993
3993
  this.openGlobalLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = ne(), this.visualElement = t;
3994
3994
  }
@@ -4003,7 +4003,7 @@ class _h {
4003
4003
  const { drag: h, dragPropagation: p, onDragStart: y } = this.getProps();
4004
4004
  if (h && !p && (this.openGlobalLock && this.openGlobalLock(), this.openGlobalLock = nl(h), !this.openGlobalLock))
4005
4005
  return;
4006
- this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), Ce((m) => {
4006
+ this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), _e((m) => {
4007
4007
  let b = this.getAxisMotionValue(m).get() || 0;
4008
4008
  if (Ve.test(b)) {
4009
4009
  const { projection: w } = this.visualElement;
@@ -4026,7 +4026,7 @@ class _h {
4026
4026
  return;
4027
4027
  }
4028
4028
  this.updateAxis("x", d.point, m), this.updateAxis("y", d.point, m), this.visualElement.render(), f && f(u, d);
4029
- }, a = (u, d) => this.stop(u, d), l = () => Ce((u) => {
4029
+ }, a = (u, d) => this.stop(u, d), l = () => _e((u) => {
4030
4030
  var d;
4031
4031
  return this.getAnimationState(u) === "paused" && ((d = this.getAxisMotionValue(u).animation) === null || d === void 0 ? void 0 : d.play());
4032
4032
  }), { dragSnapToOrigin: c } = this.getProps();
@@ -4069,7 +4069,7 @@ class _h {
4069
4069
  resolveConstraints() {
4070
4070
  var t;
4071
4071
  const { dragConstraints: n, dragElastic: r } = this.getProps(), i = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : (t = this.visualElement.projection) === null || t === void 0 ? void 0 : t.layout, s = this.constraints;
4072
- n && Ot(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && i ? this.constraints = hh(i.layoutBox, n) : this.constraints = !1, this.elastic = yh(r), s !== this.constraints && i && this.constraints && !this.hasMutatedConstraints && Ce((o) => {
4072
+ n && Ot(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && i ? this.constraints = hh(i.layoutBox, n) : this.constraints = !1, this.elastic = yh(r), s !== this.constraints && i && this.constraints && !this.hasMutatedConstraints && _e((o) => {
4073
4073
  this.getAxisMotionValue(o) && (this.constraints[o] = gh(i.layoutBox[o], this.constraints[o]));
4074
4074
  });
4075
4075
  }
@@ -4091,7 +4091,7 @@ class _h {
4091
4091
  return o;
4092
4092
  }
4093
4093
  startAnimation(t) {
4094
- const { drag: n, dragMomentum: r, dragElastic: i, dragTransition: s, dragSnapToOrigin: o, onDragTransitionEnd: a } = this.getProps(), l = this.constraints || {}, c = Ce((u) => {
4094
+ const { drag: n, dragMomentum: r, dragElastic: i, dragTransition: s, dragSnapToOrigin: o, onDragTransitionEnd: a } = this.getProps(), l = this.constraints || {}, c = _e((u) => {
4095
4095
  if (!Ln(u, n, this.currentDirection))
4096
4096
  return;
4097
4097
  let d = l && l[u] || {};
@@ -4116,10 +4116,10 @@ class _h {
4116
4116
  return r.start(zi(t, r, 0, n));
4117
4117
  }
4118
4118
  stopAnimation() {
4119
- Ce((t) => this.getAxisMotionValue(t).stop());
4119
+ _e((t) => this.getAxisMotionValue(t).stop());
4120
4120
  }
4121
4121
  pauseAnimation() {
4122
- Ce((t) => {
4122
+ _e((t) => {
4123
4123
  var n;
4124
4124
  return (n = this.getAxisMotionValue(t).animation) === null || n === void 0 ? void 0 : n.pause();
4125
4125
  });
@@ -4139,7 +4139,7 @@ class _h {
4139
4139
  return i || this.visualElement.getValue(t, (r.initial ? r.initial[t] : void 0) || 0);
4140
4140
  }
4141
4141
  snapToCursor(t) {
4142
- Ce((n) => {
4142
+ _e((n) => {
4143
4143
  const { drag: r } = this.getProps();
4144
4144
  if (!Ln(n, r, this.currentDirection))
4145
4145
  return;
@@ -4163,7 +4163,7 @@ class _h {
4163
4163
  return;
4164
4164
  this.stopAnimation();
4165
4165
  const i = { x: 0, y: 0 };
4166
- Ce((o) => {
4166
+ _e((o) => {
4167
4167
  const a = this.getAxisMotionValue(o);
4168
4168
  if (a) {
4169
4169
  const l = a.get();
@@ -4171,7 +4171,7 @@ class _h {
4171
4171
  }
4172
4172
  });
4173
4173
  const { transformTemplate: s } = this.visualElement.getProps();
4174
- this.visualElement.current.style.transform = s ? s({}, "") : "none", r.root && r.root.updateScroll(), r.updateLayout(), this.resolveConstraints(), Ce((o) => {
4174
+ this.visualElement.current.style.transform = s ? s({}, "") : "none", r.root && r.root.updateScroll(), r.updateLayout(), this.resolveConstraints(), _e((o) => {
4175
4175
  if (!Ln(o, t, null))
4176
4176
  return;
4177
4177
  const a = this.getAxisMotionValue(o), { min: l, max: c } = this.constraints[o];
@@ -4181,7 +4181,7 @@ class _h {
4181
4181
  addListeners() {
4182
4182
  if (!this.visualElement.current)
4183
4183
  return;
4184
- Ch.set(this.visualElement, this);
4184
+ _h.set(this.visualElement, this);
4185
4185
  const t = this.visualElement.current, n = He(t, "pointerdown", (l) => {
4186
4186
  const { drag: c, dragListener: u = !0 } = this.getProps();
4187
4187
  c && u && this.start(l);
@@ -4191,7 +4191,7 @@ class _h {
4191
4191
  }, { projection: i } = this.visualElement, s = i.addEventListener("measure", r);
4192
4192
  i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), r();
4193
4193
  const o = We(window, "resize", () => this.scalePositionWithinConstraints()), a = i.addEventListener("didUpdate", ({ delta: l, hasLayoutChanged: c }) => {
4194
- this.isDragging && c && (Ce((u) => {
4194
+ this.isDragging && c && (_e((u) => {
4195
4195
  const d = this.getAxisMotionValue(u);
4196
4196
  d && (this.originPoint[u] += l[u].translate, d.set(d.get() + l[u].translate));
4197
4197
  }), this.visualElement.render());
@@ -4222,7 +4222,7 @@ function Th(e, t = 10) {
4222
4222
  }
4223
4223
  class Ph extends at {
4224
4224
  constructor(t) {
4225
- super(t), this.removeGroupControls = Q, this.removeListeners = Q, this.controls = new _h(t);
4225
+ super(t), this.removeGroupControls = Q, this.removeListeners = Q, this.controls = new Ch(t);
4226
4226
  }
4227
4227
  mount() {
4228
4228
  const { dragControls: t } = this.node.getProps();
@@ -4981,10 +4981,10 @@ function Zh(e) {
4981
4981
  const n = ((t = e.resumeFrom) === null || t === void 0 ? void 0 : t.snapshot) || e.snapshot;
4982
4982
  if (e.isLead() && e.layout && n && e.hasListeners("didUpdate")) {
4983
4983
  const { layoutBox: r, measuredBox: i } = e.layout, { animationType: s } = e.options, o = n.source !== e.layout.source;
4984
- s === "size" ? Ce((d) => {
4984
+ s === "size" ? _e((d) => {
4985
4985
  const h = o ? n.measuredBox[d] : n.layoutBox[d], p = we(h);
4986
4986
  h.min = r[d].min, h.max = h.min + p;
4987
- }) : Xl(s, n.layoutBox, r) && Ce((d) => {
4987
+ }) : Xl(s, n.layoutBox, r) && _e((d) => {
4988
4988
  const h = o ? n.measuredBox[d] : n.layoutBox[d], p = we(r[d]);
4989
4989
  h.max = h.min + p, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[d].max = e.relativeTarget[d].min + p);
4990
4990
  });
@@ -5240,12 +5240,12 @@ const S1 = (e, t, n) => {
5240
5240
  } else
5241
5241
  return { target: t, transitionEnd: r };
5242
5242
  };
5243
- function C1(e, t, n, r) {
5243
+ function _1(e, t, n, r) {
5244
5244
  return v1(t) ? E1(e, t, n, r) : { target: t, transitionEnd: r };
5245
5245
  }
5246
- const _1 = (e, t, n, r) => {
5246
+ const C1 = (e, t, n, r) => {
5247
5247
  const i = g1(e, t, r);
5248
- return t = i.target, r = i.transitionEnd, C1(e, t, n, r);
5248
+ return t = i.target, r = i.transitionEnd, _1(e, t, n, r);
5249
5249
  }, di = { current: null }, Ql = { current: !1 };
5250
5250
  function T1() {
5251
5251
  if (Ql.current = !0, !!mr)
@@ -5276,7 +5276,7 @@ function P1(e, t, n) {
5276
5276
  t[i] === void 0 && e.removeValue(i);
5277
5277
  return t;
5278
5278
  }
5279
- const Cs = /* @__PURE__ */ new WeakMap(), ec = Object.keys(fn), A1 = ec.length, _s = [
5279
+ const _s = /* @__PURE__ */ new WeakMap(), ec = Object.keys(fn), A1 = ec.length, Cs = [
5280
5280
  "AnimationStart",
5281
5281
  "AnimationComplete",
5282
5282
  "Update",
@@ -5309,10 +5309,10 @@ class O1 {
5309
5309
  return {};
5310
5310
  }
5311
5311
  mount(t) {
5312
- this.current = t, Cs.set(t, this), this.projection && !this.projection.instance && this.projection.mount(t), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((n, r) => this.bindToMotionValue(r, n)), Ql.current || T1(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : di.current, process.env.NODE_ENV !== "production" && Wi(this.shouldReduceMotion !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected."), this.parent && this.parent.children.add(this), this.update(this.props, this.presenceContext);
5312
+ this.current = t, _s.set(t, this), this.projection && !this.projection.instance && this.projection.mount(t), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((n, r) => this.bindToMotionValue(r, n)), Ql.current || T1(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : di.current, process.env.NODE_ENV !== "production" && Wi(this.shouldReduceMotion !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected."), this.parent && this.parent.children.add(this), this.update(this.props, this.presenceContext);
5313
5313
  }
5314
5314
  unmount() {
5315
- Cs.delete(this.current), this.projection && this.projection.unmount(), Ge(this.notifyUpdate), Ge(this.render), this.valueSubscriptions.forEach((t) => t()), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent && this.parent.children.delete(this);
5315
+ _s.delete(this.current), this.projection && this.projection.unmount(), Ge(this.notifyUpdate), Ge(this.render), this.valueSubscriptions.forEach((t) => t()), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent && this.parent.children.delete(this);
5316
5316
  for (const t in this.events)
5317
5317
  this.events[t].clear();
5318
5318
  for (const t in this.features)
@@ -5403,8 +5403,8 @@ class O1 {
5403
5403
  */
5404
5404
  update(t, n) {
5405
5405
  (t.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), this.prevProps = this.props, this.props = t, this.prevPresenceContext = this.presenceContext, this.presenceContext = n;
5406
- for (let r = 0; r < _s.length; r++) {
5407
- const i = _s[r];
5406
+ for (let r = 0; r < Cs.length; r++) {
5407
+ const i = Cs[r];
5408
5408
  this.propEventSubscriptions[i] && (this.propEventSubscriptions[i](), delete this.propEventSubscriptions[i]);
5409
5409
  const s = t["on" + i];
5410
5410
  s && (this.propEventSubscriptions[i] = this.on(i, s));
@@ -5529,7 +5529,7 @@ class tc extends O1 {
5529
5529
  let o = Yf(r, t || {}, this);
5530
5530
  if (i && (n && (n = i(n)), r && (r = i(r)), o && (o = i(o))), s) {
5531
5531
  Hf(this, r, o);
5532
- const a = _1(this, r, o, n);
5532
+ const a = C1(this, r, o, n);
5533
5533
  n = a.transitionEnd, r = a.target;
5534
5534
  }
5535
5535
  return {
@@ -5587,7 +5587,7 @@ class D1 extends tc {
5587
5587
  const r = Li(n);
5588
5588
  return r && r.default || 0;
5589
5589
  }
5590
- return n = Xa.has(n) ? n : Ci(n), t.getAttribute(n);
5590
+ return n = Xa.has(n) ? n : _i(n), t.getAttribute(n);
5591
5591
  }
5592
5592
  measureInstanceViewportBox() {
5593
5593
  return ne();
@@ -5710,7 +5710,7 @@ function F1(e) {
5710
5710
  }
5711
5711
  function nc({ item: e, level: t = 0, ...n }) {
5712
5712
  var A, D;
5713
- const { isActive: r, isCollapsed: i, expanded: s, toggleExpand: o } = n, a = `level-${t}`, l = i ? "collapsed" : "expanded", c = r(e.id) ? "active" : "", u = (O, I = a) => `${O} ${I} ${l} ${c}`, d = !!((A = e.children) != null && A.length), [h, p] = U(!1), y = Ye(), f = window.location.origin, m = e.path && e.path.includes("http") ? new URL(e.path) : { origin: "", pathname: "" }, b = window.location.pathname.split("/")[1], w = m.pathname.split("/")[1], x = n.ssr || !f.includes("local") && f !== m.origin || w !== b, S = d || t === 0 ? "div" : x ? "a" : mu, v = e.path || "#", E = t + 1, C = d && !(i && E >= 2 && !h), _ = i || t === 0 ? void 0 : `${t}rem`;
5713
+ const { isActive: r, isCollapsed: i, expanded: s, toggleExpand: o } = n, a = `level-${t}`, l = i ? "collapsed" : "expanded", c = r(e.id) ? "active" : "", u = (O, I = a) => `${O} ${I} ${l} ${c}`, d = !!((A = e.children) != null && A.length), [h, p] = U(!1), y = Ye(), f = window.location.origin, m = e.path && e.path.includes("http") ? new URL(e.path) : { origin: "", pathname: "" }, b = window.location.pathname.split("/")[1], w = m.pathname.split("/")[1], x = n.ssr || !f.includes("local") && f !== m.origin || w !== b, S = d || t === 0 ? "div" : x ? "a" : mu, v = e.path || "#", E = t + 1, _ = d && !(i && E >= 2 && !h), C = i || t === 0 ? void 0 : `${t}rem`;
5714
5714
  return /* @__PURE__ */ P(
5715
5715
  "div",
5716
5716
  {
@@ -5729,7 +5729,7 @@ function nc({ item: e, level: t = 0, ...n }) {
5729
5729
  to: v,
5730
5730
  href: v,
5731
5731
  style: {
5732
- paddingLeft: _,
5732
+ paddingLeft: C,
5733
5733
  transition: "all 0.3s"
5734
5734
  // transitionDelay: '0.1s',
5735
5735
  },
@@ -5754,7 +5754,7 @@ function nc({ item: e, level: t = 0, ...n }) {
5754
5754
  title: e.name
5755
5755
  }
5756
5756
  ),
5757
- C && /* @__PURE__ */ g(
5757
+ _ && /* @__PURE__ */ g(
5758
5758
  z1,
5759
5759
  {
5760
5760
  parentRef: y,
@@ -5878,7 +5878,7 @@ function H1(e) {
5878
5878
  }
5879
5879
  );
5880
5880
  }
5881
- const U1 = `.wrap-section{padding:0 8px;transition:all .3s}.wrap-section.collapsed{padding:0 4px}.side-bar{display:flex;flex-direction:column;max-width:18rem;height:calc(100vh - 64px);border-right:1px solid #ddd;background-color:#fafafa;transition:all .3s}.side-bar.expanded{width:17rem}.side-bar.collapsed{width:64px}.side-bar__wrap-btn-logout,.side-bar__btn-logout{margin:40px 0}.side-bar__logout-btn__text{margin-left:12px;font-size:.875rem;opacity:1}.side-bar__logout-btn__text.collapsed{opacity:0;transition:ease-in-out .2s;transition-delay:.15s}.side-bar__wrapper-toggle-btn{display:flex;flex-direction:row;justify-content:flex-end;transition:all .3s;margin-right:-8px;margin-top:40px}.side-bar__wrapper-toggle-btn.collapsed{justify-content:center;width:100%}.side-bar__toggle-btn{margin-top:-6px;color:#85858a}.side-bar__logout-btn{width:100%;text-align:left;display:flex;flex-direction:row;align-items:center;padding:8px 16px 8px 18.6665px;min-height:48px;border-radius:.375rem;overflow:hidden;transition:all .3s ease-in-out}.side-bar__logout-btn:hover{background-color:#919eab14}.side-bar__icon-logout{flex-shrink:0}.menu-item__wrapper{display:flex;flex-direction:column;position:relative;width:100%}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer;color:#85858a}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.collapsed.level-1{padding-left:calc(.5rem + 7.665px)!important}.menu-item__link.active{background-color:#009d4f1a!important;color:#009d4f!important}.menu-item__link.level-0{height:37px}.menu-item__link.menu-item__link.collapsed.level-0{padding:0;height:0;transition:all .15s}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0;display:grid;place-items:center}.menu-item__icon.collapsed.level-1>*{margin:0 auto}.menu-item__label{font-size:.875rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;flex-shrink:1;margin-left:12px;padding-right:12px;color:#292929;opacity:1;transition:all .15s ease-in-out}.menu-item__label.level-1.collapsed{text-overflow:unset}.menu-item__label.active{color:inherit}.menu-item__label.collapsed{margin-left:8px;font-size:.75rem;line-height:1rem}.menu-item__label.collapsed.level-0,.menu-item__label.collapsed.level-1{font-size:.875rem;opacity:0;transition-delay:.15s}.menu-item__label.level-0{color:#85858a;margin-left:0}.menu-item__icon-arrow__wrapper{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);right:0}.menu-item__icon-arrow__wrapper.expanded{right:4px}.menu-item__icon-arrow__wrapper.level-0.collapsed{display:none}.menu-item__icon-arrow__icon{transition:all .3s!important;transform:rotate(-90deg)!important}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.expanded.open{transform:rotate(0)!important}.menu-item__dropdown.collapsed{background-color:#fafafa;border:1px solid #ddd;box-shadow:#0000001a 0 10px 15px -3px,#0000000d 0 4px 6px -2px;border-radius:4px;width:180px;max-width:180px;padding:4px;z-index:1200}.menu-item__dropdown,.menu-item__dropdown>*{margin-top:4px}.menu-item__dropdown:first-of-type{margin-top:0}.menu-item__dropdown>*:first-child{margin-top:0}.menu-item__dropdown.collapsed .menu-item__link{height:40px}.menu-item__dropdown.collapsed .menu-item__link.level-1{height:48px}.menu-item__dropdown.collapsed.level-1{width:auto;max-width:unset;box-shadow:none;border:none;padding:0;background-color:unset}.menu-item__dropdown.expanded{overflow:hidden}.icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;background-color:transparent;transition:background-color .3s ease;border:none}.icon-btn:hover{background-color:var(--btn-bg-hover)}.simplebar-scrollbar:before{background-color:#0000002d}.side-bar__menu.collapsed .simplebar-track.simplebar-vertical{display:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}
5881
+ const U1 = `.wrap-section{padding:0 8px;transition:all .3s}.wrap-section.collapsed{padding:0 4px}.side-bar{display:flex;flex-direction:column;max-width:18rem;height:calc(100vh - 64px);border-right:1px solid #ddd;background-color:#fafafa;transition:all .3s}.side-bar.expanded{width:17rem}.side-bar.collapsed{width:64px}.side-bar__wrap-btn-logout,.side-bar__btn-logout{margin:40px 0}.side-bar__logout-btn__text{margin-left:12px;font-size:.875rem;opacity:1}.side-bar__logout-btn__text.collapsed{opacity:0;transition:ease-in-out .2s;transition-delay:.15s}.side-bar__wrapper-toggle-btn{display:flex;flex-direction:row;justify-content:flex-end;transition:all .3s;margin-right:-8px;margin-top:40px}.side-bar__wrapper-toggle-btn.collapsed{justify-content:center;width:100%}.side-bar__toggle-btn{margin-top:-6px;color:#85858a}.side-bar__logout-btn{width:100%;text-align:left;display:flex;flex-direction:row;align-items:center;padding:8px 16px 8px 18.6665px;min-height:48px;border-radius:.375rem;overflow:hidden;transition:all .3s ease-in-out}.side-bar__logout-btn:hover{background-color:#919eab14}.side-bar__icon-logout{flex-shrink:0}.menu-item__wrapper{display:flex;flex-direction:column;position:relative;width:100%}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer;color:#85858a}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.collapsed.level-1{padding-left:calc(.5rem + 7.665px)!important}.menu-item__link.active{background-color:#009d4f1a;color:#009d4f!important}.menu-item__link.active.expanded.level-2,.menu-item__link.active.expanded.level-3,.menu-item__link.active.expanded.level-4,.menu-item__link.active.expanded.level-5,.menu-item__link.active.expanded.level-6,.menu-item__link.active.expanded.level-7,.menu-item__link.active.expanded.level-8,.menu-item__link.active.expanded.level-9,.menu-item__link.active.expanded.level-10{background-color:unset;color:#009d4f!important}.menu-item__link.level-0{height:37px}.menu-item__link.menu-item__link.collapsed.level-0{padding:0;height:0;transition:all .15s}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0;display:grid;place-items:center}.menu-item__icon.collapsed.level-1>*{margin:0 auto}.menu-item__label{font-size:.875rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;flex-shrink:1;margin-left:12px;padding-right:12px;color:#292929;opacity:1}.menu-item__label.level-1.collapsed{text-overflow:unset}.menu-item__label.active{color:inherit}.menu-item__label.collapsed{margin-left:8px;font-size:.75rem;line-height:1rem}.menu-item__label.collapsed.level-0,.menu-item__label.collapsed.level-1{font-size:.875rem;opacity:0;transition-delay:.15s}.menu-item__label.level-0{color:#85858a;margin-left:0}.menu-item__icon-arrow__wrapper{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);right:0}.menu-item__icon-arrow__wrapper.expanded{right:4px}.menu-item__icon-arrow__wrapper.level-0.collapsed{display:none}.menu-item__icon-arrow__icon{transition:all .3s!important;transform:rotate(-90deg)!important}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.expanded.open{transform:rotate(0)!important}.menu-item__dropdown.collapsed{background-color:#fafafa;border:1px solid #ddd;box-shadow:#0000001a 0 10px 15px -3px,#0000000d 0 4px 6px -2px;border-radius:4px;width:180px;max-width:180px;padding:4px;z-index:1200}.menu-item__dropdown,.menu-item__dropdown>*{margin-top:4px}.menu-item__dropdown:first-of-type{margin-top:0}.menu-item__dropdown>*:first-child{margin-top:0}.menu-item__dropdown.collapsed .menu-item__link{height:40px}.menu-item__dropdown.collapsed .menu-item__link.level-1{height:48px}.menu-item__dropdown.collapsed.level-1{width:auto;max-width:unset;box-shadow:none;border:none;padding:0;background-color:unset}.menu-item__dropdown.expanded{overflow:hidden}.icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;background-color:transparent;transition:background-color .3s ease;border:none}.icon-btn:hover{background-color:var(--btn-bg-hover)}.simplebar-scrollbar:before{background-color:#0000002d}.side-bar__menu.collapsed .simplebar-track.simplebar-vertical{display:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}
5882
5882
  `;
5883
5883
  function Y1(e) {
5884
5884
  const { baseUrl: t, menuPath: n } = e, r = gu(), [i, s] = U([]), [o, a] = U(
@@ -5901,7 +5901,7 @@ function Y1(e) {
5901
5901
  };
5902
5902
  wi(() => {
5903
5903
  (async () => {
5904
- var E, C;
5904
+ var E, _;
5905
5905
  try {
5906
5906
  const A = t + (n || "/global-menu-config/api/v1/menu-items/user"), { data: D } = await Lt.get(A, {
5907
5907
  withCredentials: !0
@@ -5913,9 +5913,9 @@ function Y1(e) {
5913
5913
  O = oc(O), e.replacePath && (O = ic(O, e.replacePath));
5914
5914
  const I = q1(O);
5915
5915
  c(I), s(O);
5916
- } catch (_) {
5917
- console.log(_), un(
5918
- ((C = (E = _.response) == null ? void 0 : E.data) == null ? void 0 : C.errorMessage) || "Have error when get menu items"
5916
+ } catch (C) {
5917
+ console.log(C), un(
5918
+ ((_ = (E = C.response) == null ? void 0 : E.data) == null ? void 0 : _.errorMessage) || "Have error when get menu items"
5919
5919
  );
5920
5920
  }
5921
5921
  })();
@@ -5946,9 +5946,9 @@ function Y1(e) {
5946
5946
  nc,
5947
5947
  {
5948
5948
  item: v,
5949
- isActive: (C) => p.some((_) => _.id === C),
5949
+ isActive: (_) => p.some((C) => C.id === _),
5950
5950
  isCollapsed: o,
5951
- expanded: (C) => l[C],
5951
+ expanded: (_) => l[_],
5952
5952
  toggleExpand: y,
5953
5953
  replacePath: e.replacePath,
5954
5954
  ssr: e.ssr
@@ -6026,9 +6026,9 @@ function q1(e) {
6026
6026
  }
6027
6027
  function Z3(e) {
6028
6028
  return /* @__PURE__ */ g(
6029
- Ca,
6029
+ _a,
6030
6030
  {
6031
- styles: [_d, U1],
6031
+ styles: [Cd, U1],
6032
6032
  style: { position: "sticky", zIndex: 20 },
6033
6033
  children: /* @__PURE__ */ g(Y1, { ...e })
6034
6034
  }
@@ -6703,7 +6703,7 @@ function rp() {
6703
6703
  }
6704
6704
  }
6705
6705
  }
6706
- var E = o, C = s, _ = e, A = l, D = n, O = h, I = d, K = t, H = i, he = r, Y = c, ue = u, de = !1, ye = !1;
6706
+ var E = o, _ = s, C = e, A = l, D = n, O = h, I = d, K = t, H = i, he = r, Y = c, ue = u, de = !1, ye = !1;
6707
6707
  function Re(k) {
6708
6708
  return de || (de = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
6709
6709
  }
@@ -6746,7 +6746,7 @@ function rp() {
6746
6746
  function qt(k) {
6747
6747
  return v(k) === u;
6748
6748
  }
6749
- z.ContextConsumer = E, z.ContextProvider = C, z.Element = _, z.ForwardRef = A, z.Fragment = D, z.Lazy = O, z.Memo = I, z.Portal = K, z.Profiler = H, z.StrictMode = he, z.Suspense = Y, z.SuspenseList = ue, z.isAsyncMode = Re, z.isConcurrentMode = B, z.isContextConsumer = ke, z.isContextProvider = Fe, z.isElement = Se, z.isForwardRef = je, z.isFragment = Be, z.isLazy = xt, z.isMemo = Gt, z.isPortal = ct, z.isProfiler = Ke, z.isStrictMode = Oe, z.isSuspense = T, z.isSuspenseList = qt, z.isValidElementType = S, z.typeOf = v;
6749
+ z.ContextConsumer = E, z.ContextProvider = _, z.Element = C, z.ForwardRef = A, z.Fragment = D, z.Lazy = O, z.Memo = I, z.Portal = K, z.Profiler = H, z.StrictMode = he, z.Suspense = Y, z.SuspenseList = ue, z.isAsyncMode = Re, z.isConcurrentMode = B, z.isContextConsumer = ke, z.isContextProvider = Fe, z.isElement = Se, z.isForwardRef = je, z.isFragment = Be, z.isLazy = xt, z.isMemo = Gt, z.isPortal = ct, z.isProfiler = Ke, z.isStrictMode = Oe, z.isSuspense = T, z.isSuspenseList = qt, z.isValidElementType = S, z.typeOf = v;
6750
6750
  }()), z;
6751
6751
  }
6752
6752
  process.env.NODE_ENV === "production" ? fi.exports = np() : fi.exports = rp();
@@ -7027,11 +7027,11 @@ function ee(e) {
7027
7027
  [t]: lt
7028
7028
  } : {}, s.filterProps = [t], s;
7029
7029
  }
7030
- function Cp(e) {
7030
+ function _p(e) {
7031
7031
  const t = {};
7032
7032
  return (n) => (t[n] === void 0 && (t[n] = e(n)), t[n]);
7033
7033
  }
7034
- const _p = {
7034
+ const Cp = {
7035
7035
  m: "margin",
7036
7036
  p: "padding"
7037
7037
  }, Tp = {
@@ -7046,16 +7046,16 @@ const _p = {
7046
7046
  marginY: "my",
7047
7047
  paddingX: "px",
7048
7048
  paddingY: "py"
7049
- }, Pp = Cp((e) => {
7049
+ }, Pp = _p((e) => {
7050
7050
  if (e.length > 2)
7051
7051
  if (Ns[e])
7052
7052
  e = Ns[e];
7053
7053
  else
7054
7054
  return [e];
7055
- const [t, n] = e.split(""), r = _p[t], i = Tp[n] || "";
7055
+ const [t, n] = e.split(""), r = Cp[t], i = Tp[n] || "";
7056
7056
  return Array.isArray(i) ? i.map((s) => r + s) : [r + i];
7057
7057
  }), Sr = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Er = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Ap = [...Sr, ...Er];
7058
- function Cn(e, t, n, r) {
7058
+ function _n(e, t, n, r) {
7059
7059
  var i;
7060
7060
  const s = (i = wr(e, t, !1)) != null ? i : n;
7061
7061
  return typeof s == "number" ? (o) => typeof o == "string" ? o : (process.env.NODE_ENV !== "production" && typeof o != "number" && console.error(`MUI: Expected ${r} argument to be a number or a string, got ${o}.`), s * o) : Array.isArray(s) ? (o) => typeof o == "string" ? o : (process.env.NODE_ENV !== "production" && (Number.isInteger(o) ? o > s.length - 1 && console.error([`MUI: The value provided (${o}) overflows.`, `The supported values are: ${JSON.stringify(s)}.`, `${o} > ${s.length - 1}, you need to add the missing values.`].join(`
@@ -7065,16 +7065,16 @@ function Cn(e, t, n, r) {
7065
7065
  });
7066
7066
  }
7067
7067
  function dc(e) {
7068
- return Cn(e, "spacing", 8, "spacing");
7068
+ return _n(e, "spacing", 8, "spacing");
7069
7069
  }
7070
- function _n(e, t) {
7070
+ function Cn(e, t) {
7071
7071
  if (typeof t == "string" || t == null)
7072
7072
  return t;
7073
7073
  const n = Math.abs(t), r = e(n);
7074
7074
  return t >= 0 ? r : typeof r == "number" ? -r : `-${r}`;
7075
7075
  }
7076
7076
  function kp(e, t) {
7077
- return (n) => e.reduce((r, i) => (r[i] = _n(t, n), r), {});
7077
+ return (n) => e.reduce((r, i) => (r[i] = Cn(t, n), r), {});
7078
7078
  }
7079
7079
  function Op(e, t, n, r) {
7080
7080
  if (t.indexOf(n) === -1)
@@ -7108,7 +7108,7 @@ function Mp(e = 8) {
7108
7108
  }).join(" "));
7109
7109
  return n.mui = !0, n;
7110
7110
  }
7111
- function Cr(...e) {
7111
+ function _r(...e) {
7112
7112
  const t = e.reduce((r, i) => (i.filterProps.forEach((s) => {
7113
7113
  r[s] = i;
7114
7114
  }), r), {}), n = (r) => Object.keys(r).reduce((i, s) => t[s] ? ln(i, t[s](r)) : i, {});
@@ -7124,24 +7124,24 @@ function Ae(e, t) {
7124
7124
  transform: t
7125
7125
  });
7126
7126
  }
7127
- const Np = Ae("border", Te), Dp = Ae("borderTop", Te), Rp = Ae("borderRight", Te), Ip = Ae("borderBottom", Te), Vp = Ae("borderLeft", Te), Lp = Ae("borderColor"), $p = Ae("borderTopColor"), zp = Ae("borderRightColor"), Fp = Ae("borderBottomColor"), jp = Ae("borderLeftColor"), Bp = Ae("outline", Te), Wp = Ae("outlineColor"), _r = (e) => {
7127
+ const Np = Ae("border", Te), Dp = Ae("borderTop", Te), Rp = Ae("borderRight", Te), Ip = Ae("borderBottom", Te), Vp = Ae("borderLeft", Te), Lp = Ae("borderColor"), $p = Ae("borderTopColor"), zp = Ae("borderRightColor"), Fp = Ae("borderBottomColor"), jp = Ae("borderLeftColor"), Bp = Ae("outline", Te), Wp = Ae("outlineColor"), Cr = (e) => {
7128
7128
  if (e.borderRadius !== void 0 && e.borderRadius !== null) {
7129
- const t = Cn(e.theme, "shape.borderRadius", 4, "borderRadius"), n = (r) => ({
7130
- borderRadius: _n(t, r)
7129
+ const t = _n(e.theme, "shape.borderRadius", 4, "borderRadius"), n = (r) => ({
7130
+ borderRadius: Cn(t, r)
7131
7131
  });
7132
7132
  return qe(e, e.borderRadius, n);
7133
7133
  }
7134
7134
  return null;
7135
7135
  };
7136
- _r.propTypes = process.env.NODE_ENV !== "production" ? {
7136
+ Cr.propTypes = process.env.NODE_ENV !== "production" ? {
7137
7137
  borderRadius: lt
7138
7138
  } : {};
7139
- _r.filterProps = ["borderRadius"];
7140
- Cr(Np, Dp, Rp, Ip, Vp, Lp, $p, zp, Fp, jp, _r, Bp, Wp);
7139
+ Cr.filterProps = ["borderRadius"];
7140
+ _r(Np, Dp, Rp, Ip, Vp, Lp, $p, zp, Fp, jp, Cr, Bp, Wp);
7141
7141
  const Tr = (e) => {
7142
7142
  if (e.gap !== void 0 && e.gap !== null) {
7143
- const t = Cn(e.theme, "spacing", 8, "gap"), n = (r) => ({
7144
- gap: _n(t, r)
7143
+ const t = _n(e.theme, "spacing", 8, "gap"), n = (r) => ({
7144
+ gap: Cn(t, r)
7145
7145
  });
7146
7146
  return qe(e, e.gap, n);
7147
7147
  }
@@ -7153,8 +7153,8 @@ Tr.propTypes = process.env.NODE_ENV !== "production" ? {
7153
7153
  Tr.filterProps = ["gap"];
7154
7154
  const Pr = (e) => {
7155
7155
  if (e.columnGap !== void 0 && e.columnGap !== null) {
7156
- const t = Cn(e.theme, "spacing", 8, "columnGap"), n = (r) => ({
7157
- columnGap: _n(t, r)
7156
+ const t = _n(e.theme, "spacing", 8, "columnGap"), n = (r) => ({
7157
+ columnGap: Cn(t, r)
7158
7158
  });
7159
7159
  return qe(e, e.columnGap, n);
7160
7160
  }
@@ -7166,8 +7166,8 @@ Pr.propTypes = process.env.NODE_ENV !== "production" ? {
7166
7166
  Pr.filterProps = ["columnGap"];
7167
7167
  const Ar = (e) => {
7168
7168
  if (e.rowGap !== void 0 && e.rowGap !== null) {
7169
- const t = Cn(e.theme, "spacing", 8, "rowGap"), n = (r) => ({
7170
- rowGap: _n(t, r)
7169
+ const t = _n(e.theme, "spacing", 8, "rowGap"), n = (r) => ({
7170
+ rowGap: Cn(t, r)
7171
7171
  });
7172
7172
  return qe(e, e.rowGap, n);
7173
7173
  }
@@ -7196,7 +7196,7 @@ const Hp = ee({
7196
7196
  }), Jp = ee({
7197
7197
  prop: "gridArea"
7198
7198
  });
7199
- Cr(Tr, Pr, Ar, Hp, Up, Yp, Gp, qp, Kp, Xp, Zp, Jp);
7199
+ _r(Tr, Pr, Ar, Hp, Up, Yp, Gp, qp, Kp, Xp, Zp, Jp);
7200
7200
  function It(e, t) {
7201
7201
  return t === "grey" ? t : e;
7202
7202
  }
@@ -7214,7 +7214,7 @@ const Qp = ee({
7214
7214
  themeKey: "palette",
7215
7215
  transform: It
7216
7216
  });
7217
- Cr(Qp, em, tm);
7217
+ _r(Qp, em, tm);
7218
7218
  function be(e) {
7219
7219
  return e <= 1 && e !== 0 ? `${e * 100}%` : e;
7220
7220
  }
@@ -7265,7 +7265,7 @@ ee({
7265
7265
  const am = ee({
7266
7266
  prop: "boxSizing"
7267
7267
  });
7268
- Cr(nm, Gi, rm, im, om, sm, am);
7268
+ _r(nm, Gi, rm, im, om, sm, am);
7269
7269
  const lm = {
7270
7270
  // borders
7271
7271
  border: {
@@ -7312,7 +7312,7 @@ const lm = {
7312
7312
  },
7313
7313
  borderRadius: {
7314
7314
  themeKey: "shape.borderRadius",
7315
- style: _r
7315
+ style: Cr
7316
7316
  },
7317
7317
  // palette
7318
7318
  color: {
@@ -7761,7 +7761,7 @@ function Qi(e) {
7761
7761
  function zn(e, t) {
7762
7762
  return t.push(e), e;
7763
7763
  }
7764
- function Cm(e, t) {
7764
+ function _m(e, t) {
7765
7765
  return e.map(t).join("");
7766
7766
  }
7767
7767
  var Or = 1, Ft = 1, bc = 0, ge = 0, re = 0, Ht = "";
@@ -7771,7 +7771,7 @@ function Mr(e, t, n, r, i, s, o) {
7771
7771
  function Jt(e, t) {
7772
7772
  return wm(Mr("", null, null, "", null, null, 0), e, { length: -e.length }, t);
7773
7773
  }
7774
- function _m() {
7774
+ function Cm() {
7775
7775
  return re;
7776
7776
  }
7777
7777
  function Tm() {
@@ -7873,26 +7873,26 @@ function Mm(e) {
7873
7873
  return wc(Yn("", null, null, null, [""], e = xc(e), 0, [0], e));
7874
7874
  }
7875
7875
  function Yn(e, t, n, r, i, s, o, a, l) {
7876
- for (var c = 0, u = 0, d = o, h = 0, p = 0, y = 0, f = 1, m = 1, b = 1, w = 0, x = "", S = i, v = s, E = r, C = x; m; )
7876
+ for (var c = 0, u = 0, d = o, h = 0, p = 0, y = 0, f = 1, m = 1, b = 1, w = 0, x = "", S = i, v = s, E = r, _ = x; m; )
7877
7877
  switch (y = w, w = xe()) {
7878
7878
  case 40:
7879
- if (y != 108 && se(C, d - 1) == 58) {
7880
- hi(C += L(Un(w), "&", "&\f"), "&\f") != -1 && (b = -1);
7879
+ if (y != 108 && se(_, d - 1) == 58) {
7880
+ hi(_ += L(Un(w), "&", "&\f"), "&\f") != -1 && (b = -1);
7881
7881
  break;
7882
7882
  }
7883
7883
  case 34:
7884
7884
  case 39:
7885
7885
  case 91:
7886
- C += Un(w);
7886
+ _ += Un(w);
7887
7887
  break;
7888
7888
  case 9:
7889
7889
  case 10:
7890
7890
  case 13:
7891
7891
  case 32:
7892
- C += Pm(y);
7892
+ _ += Pm(y);
7893
7893
  break;
7894
7894
  case 92:
7895
- C += Am(Hn() - 1, 7);
7895
+ _ += Am(Hn() - 1, 7);
7896
7896
  continue;
7897
7897
  case 47:
7898
7898
  switch ($e()) {
@@ -7901,11 +7901,11 @@ function Yn(e, t, n, r, i, s, o, a, l) {
7901
7901
  zn(Nm(km(xe(), Hn()), t, n), l);
7902
7902
  break;
7903
7903
  default:
7904
- C += "/";
7904
+ _ += "/";
7905
7905
  }
7906
7906
  break;
7907
7907
  case 123 * f:
7908
- a[c++] = Ie(C) * b;
7908
+ a[c++] = Ie(_) * b;
7909
7909
  case 125 * f:
7910
7910
  case 59:
7911
7911
  case 0:
@@ -7914,16 +7914,16 @@ function Yn(e, t, n, r, i, s, o, a, l) {
7914
7914
  case 125:
7915
7915
  m = 0;
7916
7916
  case 59 + u:
7917
- b == -1 && (C = L(C, /\f/g, "")), p > 0 && Ie(C) - d && zn(p > 32 ? Rs(C + ";", r, n, d - 1) : Rs(L(C, " ", "") + ";", r, n, d - 2), l);
7917
+ b == -1 && (_ = L(_, /\f/g, "")), p > 0 && Ie(_) - d && zn(p > 32 ? Rs(_ + ";", r, n, d - 1) : Rs(L(_, " ", "") + ";", r, n, d - 2), l);
7918
7918
  break;
7919
7919
  case 59:
7920
- C += ";";
7920
+ _ += ";";
7921
7921
  default:
7922
- if (zn(E = Ds(C, t, n, c, u, i, a, x, S = [], v = [], d), s), w === 123)
7922
+ if (zn(E = Ds(_, t, n, c, u, i, a, x, S = [], v = [], d), s), w === 123)
7923
7923
  if (u === 0)
7924
- Yn(C, t, E, E, S, s, d, a, v);
7924
+ Yn(_, t, E, E, S, s, d, a, v);
7925
7925
  else
7926
- switch (h === 99 && se(C, 3) === 110 ? 100 : h) {
7926
+ switch (h === 99 && se(_, 3) === 110 ? 100 : h) {
7927
7927
  case 100:
7928
7928
  case 108:
7929
7929
  case 109:
@@ -7931,13 +7931,13 @@ function Yn(e, t, n, r, i, s, o, a, l) {
7931
7931
  Yn(e, E, E, r && zn(Ds(e, E, E, 0, 0, i, a, x, i, S = [], d), v), i, v, d, a, r ? S : v);
7932
7932
  break;
7933
7933
  default:
7934
- Yn(C, E, E, E, [""], v, 0, a, v);
7934
+ Yn(_, E, E, E, [""], v, 0, a, v);
7935
7935
  }
7936
7936
  }
7937
- c = u = p = 0, f = b = 1, x = C = "", d = o;
7937
+ c = u = p = 0, f = b = 1, x = _ = "", d = o;
7938
7938
  break;
7939
7939
  case 58:
7940
- d = 1 + Ie(C), p = y;
7940
+ d = 1 + Ie(_), p = y;
7941
7941
  default:
7942
7942
  if (f < 1) {
7943
7943
  if (w == 123)
@@ -7945,18 +7945,18 @@ function Yn(e, t, n, r, i, s, o, a, l) {
7945
7945
  else if (w == 125 && f++ == 0 && Tm() == 125)
7946
7946
  continue;
7947
7947
  }
7948
- switch (C += kr(w), w * f) {
7948
+ switch (_ += kr(w), w * f) {
7949
7949
  case 38:
7950
- b = u > 0 ? 1 : (C += "\f", -1);
7950
+ b = u > 0 ? 1 : (_ += "\f", -1);
7951
7951
  break;
7952
7952
  case 44:
7953
- a[c++] = (Ie(C) - 1) * b, b = 1;
7953
+ a[c++] = (Ie(_) - 1) * b, b = 1;
7954
7954
  break;
7955
7955
  case 64:
7956
- $e() === 45 && (C += Un(xe())), h = $e(), u = d = Ie(x = C += Om(Hn())), w++;
7956
+ $e() === 45 && (_ += Un(xe())), h = $e(), u = d = Ie(x = _ += Om(Hn())), w++;
7957
7957
  break;
7958
7958
  case 45:
7959
- y === 45 && Ie(C) == 2 && (f = 0);
7959
+ y === 45 && Ie(_) == 2 && (f = 0);
7960
7960
  }
7961
7961
  }
7962
7962
  return s;
@@ -7968,7 +7968,7 @@ function Ds(e, t, n, r, i, s, o, a, l, c, u) {
7968
7968
  return Mr(e, t, n, i === 0 ? Zi : a, l, c, u);
7969
7969
  }
7970
7970
  function Nm(e, t, n) {
7971
- return Mr(e, t, n, Xi, kr(_m()), mn(e, 2, -2), 0);
7971
+ return Mr(e, t, n, Xi, kr(Cm()), mn(e, 2, -2), 0);
7972
7972
  }
7973
7973
  function Rs(e, t, n, r) {
7974
7974
  return Mr(e, t, n, Ji, mn(e, 0, r), mn(e, r + 1, -1), r);
@@ -8219,7 +8219,7 @@ var Ym = function(t, n, r, i) {
8219
8219
  })], i);
8220
8220
  case Zi:
8221
8221
  if (t.length)
8222
- return Cm(t.props, function(s) {
8222
+ return _m(t.props, function(s) {
8223
8223
  switch (Em(s, /(::plac\w+|:read-\w+)/)) {
8224
8224
  case ":read-only":
8225
8225
  case ":read-write":
@@ -8238,7 +8238,7 @@ var Ym = function(t, n, r, i) {
8238
8238
  return "";
8239
8239
  });
8240
8240
  }
8241
- }, Gm = [Ym], Cc = function(t) {
8241
+ }, Gm = [Ym], _c = function(t) {
8242
8242
  var n = t.key;
8243
8243
  if (process.env.NODE_ENV !== "production" && !n)
8244
8244
  throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
@@ -8427,7 +8427,7 @@ function Km() {
8427
8427
  }
8428
8428
  }
8429
8429
  }
8430
- var v = l, E = c, C = a, _ = o, A = t, D = u, O = r, I = y, K = p, H = n, he = s, Y = i, ue = d, de = !1;
8430
+ var v = l, E = c, _ = a, C = o, A = t, D = u, O = r, I = y, K = p, H = n, he = s, Y = i, ue = d, de = !1;
8431
8431
  function ye(T) {
8432
8432
  return de || (de = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), Re(T) || S(T) === l;
8433
8433
  }
@@ -8467,11 +8467,11 @@ function Km() {
8467
8467
  function Oe(T) {
8468
8468
  return S(T) === d;
8469
8469
  }
8470
- j.AsyncMode = v, j.ConcurrentMode = E, j.ContextConsumer = C, j.ContextProvider = _, j.Element = A, j.ForwardRef = D, j.Fragment = O, j.Lazy = I, j.Memo = K, j.Portal = H, j.Profiler = he, j.StrictMode = Y, j.Suspense = ue, j.isAsyncMode = ye, j.isConcurrentMode = Re, j.isContextConsumer = B, j.isContextProvider = ke, j.isElement = Fe, j.isForwardRef = Se, j.isFragment = je, j.isLazy = Be, j.isMemo = xt, j.isPortal = Gt, j.isProfiler = ct, j.isStrictMode = Ke, j.isSuspense = Oe, j.isValidElementType = x, j.typeOf = S;
8470
+ j.AsyncMode = v, j.ConcurrentMode = E, j.ContextConsumer = _, j.ContextProvider = C, j.Element = A, j.ForwardRef = D, j.Fragment = O, j.Lazy = I, j.Memo = K, j.Portal = H, j.Profiler = he, j.StrictMode = Y, j.Suspense = ue, j.isAsyncMode = ye, j.isConcurrentMode = Re, j.isContextConsumer = B, j.isContextProvider = ke, j.isElement = Fe, j.isForwardRef = Se, j.isFragment = je, j.isLazy = Be, j.isMemo = xt, j.isPortal = Gt, j.isProfiler = ct, j.isStrictMode = Ke, j.isSuspense = Oe, j.isValidElementType = x, j.typeOf = S;
8471
8471
  }()), j;
8472
8472
  }
8473
8473
  process.env.NODE_ENV === "production" ? mi.exports = qm() : mi.exports = Km();
8474
- var Xm = mi.exports, _c = Xm, Zm = {
8474
+ var Xm = mi.exports, Cc = Xm, Zm = {
8475
8475
  $$typeof: !0,
8476
8476
  render: !0,
8477
8477
  defaultProps: !0,
@@ -8485,8 +8485,8 @@ var Xm = mi.exports, _c = Xm, Zm = {
8485
8485
  propTypes: !0,
8486
8486
  type: !0
8487
8487
  }, Tc = {};
8488
- Tc[_c.ForwardRef] = Zm;
8489
- Tc[_c.Memo] = Jm;
8488
+ Tc[Cc.ForwardRef] = Zm;
8489
+ Tc[Cc.Memo] = Jm;
8490
8490
  var Qm = !0;
8491
8491
  function eo(e, t, n) {
8492
8492
  var r = "";
@@ -8752,7 +8752,7 @@ var Ne, jt = function(t, n, r) {
8752
8752
  // and we could have a special build just for that
8753
8753
  // but this is much easier and the native packages
8754
8754
  // might use a different theme context in the future anyway
8755
- typeof HTMLElement < "u" ? /* @__PURE__ */ Cc({
8755
+ typeof HTMLElement < "u" ? /* @__PURE__ */ _c({
8756
8756
  key: "css"
8757
8757
  }) : null
8758
8758
  );
@@ -9056,12 +9056,12 @@ var Sg = pm, Eg = function(t) {
9056
9056
  }, Js = `You have illegal escape sequence in your template literal, most likely inside content's property value.
9057
9057
  Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
9058
9058
  You can read more about this here:
9059
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, Cg = function(t) {
9059
+ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, _g = function(t) {
9060
9060
  var n = t.cache, r = t.serialized, i = t.isStringTag;
9061
9061
  return Nr(n, r, i), no(function() {
9062
9062
  return Dr(n, r, i);
9063
9063
  }), null;
9064
- }, _g = function e(t, n) {
9064
+ }, Cg = function e(t, n) {
9065
9065
  if (process.env.NODE_ENV !== "production" && t === void 0)
9066
9066
  throw new Error(`You are trying to create a styled element with an undefined component.
9067
9067
  You may have forgotten to import it.`);
@@ -9086,15 +9086,15 @@ You may have forgotten to import it.`);
9086
9086
  v.theme = N.useContext(bt);
9087
9087
  }
9088
9088
  typeof f.className == "string" ? x = eo(m.registered, S, f.className) : f.className != null && (x = f.className + " ");
9089
- var C = jt(d.concat(S), m.registered, v);
9090
- x += m.key + "-" + C.name, o !== void 0 && (x += " " + o);
9091
- var _ = c && a === void 0 ? Xs(w) : l, A = {};
9089
+ var _ = jt(d.concat(S), m.registered, v);
9090
+ x += m.key + "-" + _.name, o !== void 0 && (x += " " + o);
9091
+ var C = c && a === void 0 ? Xs(w) : l, A = {};
9092
9092
  for (var D in f)
9093
9093
  c && D === "as" || // $FlowFixMe
9094
- _(D) && (A[D] = f[D]);
9095
- return A.className = x, A.ref = b, /* @__PURE__ */ N.createElement(N.Fragment, null, /* @__PURE__ */ N.createElement(Cg, {
9094
+ C(D) && (A[D] = f[D]);
9095
+ return A.className = x, A.ref = b, /* @__PURE__ */ N.createElement(N.Fragment, null, /* @__PURE__ */ N.createElement(_g, {
9096
9096
  cache: m,
9097
- serialized: C,
9097
+ serialized: _,
9098
9098
  isStringTag: typeof w == "string"
9099
9099
  }), /* @__PURE__ */ N.createElement(w, A));
9100
9100
  });
@@ -9244,12 +9244,12 @@ You may have forgotten to import it.`);
9244
9244
  "svg",
9245
9245
  "text",
9246
9246
  "tspan"
9247
- ], gi = _g.bind();
9247
+ ], gi = Cg.bind();
9248
9248
  Tg.forEach(function(e) {
9249
9249
  gi[e] = gi(e);
9250
9250
  });
9251
9251
  let yi;
9252
- typeof document == "object" && (yi = Cc({
9252
+ typeof document == "object" && (yi = _c({
9253
9253
  key: "css",
9254
9254
  prepend: !0
9255
9255
  }));
@@ -9648,7 +9648,7 @@ const t2 = {
9648
9648
  A200: "#448aff",
9649
9649
  A400: "#2979ff",
9650
9650
  A700: "#2962ff"
9651
- }, Ct = a2, l2 = {
9651
+ }, _t = a2, l2 = {
9652
9652
  50: "#e1f5fe",
9653
9653
  100: "#b3e5fc",
9654
9654
  200: "#81d4fa",
@@ -9663,7 +9663,7 @@ const t2 = {
9663
9663
  A200: "#40c4ff",
9664
9664
  A400: "#00b0ff",
9665
9665
  A700: "#0091ea"
9666
- }, _t = l2, c2 = {
9666
+ }, Ct = l2, c2 = {
9667
9667
  50: "#e8f5e9",
9668
9668
  100: "#c8e6c9",
9669
9669
  200: "#a5d6a7",
@@ -9747,13 +9747,13 @@ function na(e, t, n, r) {
9747
9747
  }
9748
9748
  function d2(e = "light") {
9749
9749
  return e === "dark" ? {
9750
- main: Ct[200],
9751
- light: Ct[50],
9752
- dark: Ct[400]
9750
+ main: _t[200],
9751
+ light: _t[50],
9752
+ dark: _t[400]
9753
9753
  } : {
9754
- main: Ct[700],
9755
- light: Ct[400],
9756
- dark: Ct[800]
9754
+ main: _t[700],
9755
+ light: _t[400],
9756
+ dark: _t[800]
9757
9757
  };
9758
9758
  }
9759
9759
  function f2(e = "light") {
@@ -9780,13 +9780,13 @@ function h2(e = "light") {
9780
9780
  }
9781
9781
  function p2(e = "light") {
9782
9782
  return e === "dark" ? {
9783
- main: _t[400],
9784
- light: _t[300],
9785
- dark: _t[700]
9783
+ main: Ct[400],
9784
+ light: Ct[300],
9785
+ dark: Ct[700]
9786
9786
  } : {
9787
- main: _t[700],
9788
- light: _t[500],
9789
- dark: _t[900]
9787
+ main: Ct[700],
9788
+ light: Ct[500],
9789
+ dark: Ct[900]
9790
9790
  };
9791
9791
  }
9792
9792
  function m2(e = "light") {
@@ -9985,7 +9985,7 @@ const w2 = 0.2, S2 = 0.14, E2 = 0.12;
9985
9985
  function q(...e) {
9986
9986
  return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${w2})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${S2})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${E2})`].join(",");
9987
9987
  }
9988
- const C2 = ["none", q(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), q(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), q(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), q(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), q(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), q(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), q(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), q(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), q(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), q(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), q(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), q(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), q(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), q(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), q(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), q(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), q(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), q(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), q(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), q(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), q(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), q(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), q(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), q(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], _2 = C2, T2 = ["duration", "easing", "delay"], P2 = {
9988
+ const _2 = ["none", q(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), q(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), q(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), q(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), q(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), q(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), q(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), q(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), q(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), q(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), q(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), q(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), q(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), q(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), q(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), q(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), q(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), q(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), q(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), q(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), q(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), q(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), q(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), q(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], C2 = _2, T2 = ["duration", "easing", "delay"], P2 = {
9989
9989
  // This is the most common easing curve.
9990
9990
  easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
9991
9991
  // Objects enter the screen at full velocity from off-screen and
@@ -10063,7 +10063,7 @@ function R2(e = {}, ...t) {
10063
10063
  mixins: Fg(l.breakpoints, n),
10064
10064
  palette: a,
10065
10065
  // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
10066
- shadows: _2.slice(),
10066
+ shadows: C2.slice(),
10067
10067
  typography: x2(a, s),
10068
10068
  transitions: O2(i),
10069
10069
  zIndex: W({}, N2)
@@ -10119,7 +10119,7 @@ Object.defineProperty(An, "__esModule", {
10119
10119
  });
10120
10120
  var U2 = An.default = s3, Y2 = An.shouldForwardProp = Gn;
10121
10121
  An.systemDefaultTheme = void 0;
10122
- var _e = Yt(L2), bi = Yt($2), sa = t3(z2), G2 = F2, q2 = Yt(j2), K2 = Yt(B2), X2 = Yt(W2), Z2 = Yt(H2);
10122
+ var Ce = Yt(L2), bi = Yt($2), sa = t3(z2), G2 = F2, q2 = Yt(j2), K2 = Yt(B2), X2 = Yt(W2), Z2 = Yt(H2);
10123
10123
  const J2 = ["ownerState"], Q2 = ["variants"], e3 = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
10124
10124
  function Uc(e) {
10125
10125
  if (typeof WeakMap != "function")
@@ -10172,11 +10172,11 @@ function qn(e, t) {
10172
10172
  let {
10173
10173
  ownerState: n
10174
10174
  } = t, r = (0, bi.default)(t, J2);
10175
- const i = typeof e == "function" ? e((0, _e.default)({
10175
+ const i = typeof e == "function" ? e((0, Ce.default)({
10176
10176
  ownerState: n
10177
10177
  }, r)) : e;
10178
10178
  if (Array.isArray(i))
10179
- return i.flatMap((s) => qn(s, (0, _e.default)({
10179
+ return i.flatMap((s) => qn(s, (0, Ce.default)({
10180
10180
  ownerState: n
10181
10181
  }, r)));
10182
10182
  if (i && typeof i == "object" && Array.isArray(i.variants)) {
@@ -10186,11 +10186,11 @@ function qn(e, t) {
10186
10186
  let a = (0, bi.default)(i, Q2);
10187
10187
  return s.forEach((l) => {
10188
10188
  let c = !0;
10189
- typeof l.props == "function" ? c = l.props((0, _e.default)({
10189
+ typeof l.props == "function" ? c = l.props((0, Ce.default)({
10190
10190
  ownerState: n
10191
10191
  }, r, n)) : Object.keys(l.props).forEach((u) => {
10192
10192
  (n == null ? void 0 : n[u]) !== l.props[u] && r[u] !== l.props[u] && (c = !1);
10193
- }), c && (Array.isArray(a) || (a = [a]), a.push(typeof l.style == "function" ? l.style((0, _e.default)({
10193
+ }), c && (Array.isArray(a) || (a = [a]), a.push(typeof l.style == "function" ? l.style((0, Ce.default)({
10194
10194
  ownerState: n
10195
10195
  }, r, n)) : l.style));
10196
10196
  }), a;
@@ -10203,8 +10203,8 @@ function s3(e = {}) {
10203
10203
  defaultTheme: n = i3,
10204
10204
  rootShouldForwardProp: r = Gn,
10205
10205
  slotShouldForwardProp: i = Gn
10206
- } = e, s = (o) => (0, Z2.default)((0, _e.default)({}, o, {
10207
- theme: Fn((0, _e.default)({}, o, {
10206
+ } = e, s = (o) => (0, Z2.default)((0, Ce.default)({}, o, {
10207
+ theme: Fn((0, Ce.default)({}, o, {
10208
10208
  defaultTheme: n,
10209
10209
  themeId: t
10210
10210
  }))
@@ -10228,20 +10228,20 @@ function s3(e = {}) {
10228
10228
  process.env.NODE_ENV !== "production" && l && (m = `${l}-${aa(c || "Root")}`);
10229
10229
  let b = Gn;
10230
10230
  c === "Root" || c === "root" ? b = r : c ? b = i : r3(o) && (b = void 0);
10231
- const w = (0, sa.default)(o, (0, _e.default)({
10231
+ const w = (0, sa.default)(o, (0, Ce.default)({
10232
10232
  shouldForwardProp: b,
10233
10233
  label: m
10234
- }, p)), x = (v) => typeof v == "function" && v.__emotion_real !== v || (0, G2.isPlainObject)(v) ? (E) => qn(v, (0, _e.default)({}, E, {
10234
+ }, p)), x = (v) => typeof v == "function" && v.__emotion_real !== v || (0, G2.isPlainObject)(v) ? (E) => qn(v, (0, Ce.default)({}, E, {
10235
10235
  theme: Fn({
10236
10236
  theme: E.theme,
10237
10237
  defaultTheme: n,
10238
10238
  themeId: t
10239
10239
  })
10240
10240
  })) : v, S = (v, ...E) => {
10241
- let C = x(v);
10242
- const _ = E ? E.map(x) : [];
10243
- l && h && _.push((O) => {
10244
- const I = Fn((0, _e.default)({}, O, {
10241
+ let _ = x(v);
10242
+ const C = E ? E.map(x) : [];
10243
+ l && h && C.push((O) => {
10244
+ const I = Fn((0, Ce.default)({}, O, {
10245
10245
  defaultTheme: n,
10246
10246
  themeId: t
10247
10247
  }));
@@ -10249,28 +10249,28 @@ function s3(e = {}) {
10249
10249
  return null;
10250
10250
  const K = I.components[l].styleOverrides, H = {};
10251
10251
  return Object.entries(K).forEach(([he, Y]) => {
10252
- H[he] = qn(Y, (0, _e.default)({}, O, {
10252
+ H[he] = qn(Y, (0, Ce.default)({}, O, {
10253
10253
  theme: I
10254
10254
  }));
10255
10255
  }), h(O, H);
10256
- }), l && !y && _.push((O) => {
10256
+ }), l && !y && C.push((O) => {
10257
10257
  var I;
10258
- const K = Fn((0, _e.default)({}, O, {
10258
+ const K = Fn((0, Ce.default)({}, O, {
10259
10259
  defaultTheme: n,
10260
10260
  themeId: t
10261
10261
  })), H = K == null || (I = K.components) == null || (I = I[l]) == null ? void 0 : I.variants;
10262
10262
  return qn({
10263
10263
  variants: H
10264
- }, (0, _e.default)({}, O, {
10264
+ }, (0, Ce.default)({}, O, {
10265
10265
  theme: K
10266
10266
  }));
10267
- }), f || _.push(s);
10268
- const A = _.length - E.length;
10267
+ }), f || C.push(s);
10268
+ const A = C.length - E.length;
10269
10269
  if (Array.isArray(v) && A > 0) {
10270
10270
  const O = new Array(A).fill("");
10271
- C = [...v, ...O], C.raw = [...v.raw, ...O];
10271
+ _ = [...v, ...O], _.raw = [...v.raw, ...O];
10272
10272
  }
10273
- const D = w(C, ..._);
10273
+ const D = w(_, ...C);
10274
10274
  if (process.env.NODE_ENV !== "production") {
10275
10275
  let O;
10276
10276
  l && (O = `${l}${(0, q2.default)(c || "")}`), O === void 0 && (O = `Styled(${(0, K2.default)(o)})`), D.displayName = O;
@@ -10560,14 +10560,14 @@ function S3(e) {
10560
10560
  if (v.hasOwnProperty(m))
10561
10561
  E = v[m];
10562
10562
  else {
10563
- var C = n(f.props, m, f._instanceProps), _ = i(f.props, m, f._instanceProps), A = w === "horizontal" || S === "horizontal", D = w === "rtl", O = A ? C : 0;
10563
+ var _ = n(f.props, m, f._instanceProps), C = i(f.props, m, f._instanceProps), A = w === "horizontal" || S === "horizontal", D = w === "rtl", O = A ? _ : 0;
10564
10564
  v[m] = E = {
10565
10565
  position: "absolute",
10566
10566
  left: D ? void 0 : O,
10567
10567
  right: D ? O : void 0,
10568
- top: A ? 0 : C,
10569
- height: A ? "100%" : _,
10570
- width: A ? _ : "100%"
10568
+ top: A ? 0 : _,
10569
+ height: A ? "100%" : C,
10570
+ width: A ? C : "100%"
10571
10571
  };
10572
10572
  }
10573
10573
  return E;
@@ -10578,20 +10578,20 @@ function S3(e) {
10578
10578
  f.setState(function(v) {
10579
10579
  if (v.scrollOffset === x)
10580
10580
  return null;
10581
- var E = f.props.direction, C = x;
10581
+ var E = f.props.direction, _ = x;
10582
10582
  if (E === "rtl")
10583
10583
  switch (ha()) {
10584
10584
  case "negative":
10585
- C = -x;
10585
+ _ = -x;
10586
10586
  break;
10587
10587
  case "positive-descending":
10588
- C = S - w - x;
10588
+ _ = S - w - x;
10589
10589
  break;
10590
10590
  }
10591
- return C = Math.max(0, Math.min(C, S - w)), {
10591
+ return _ = Math.max(0, Math.min(_, S - w)), {
10592
10592
  isScrolling: !0,
10593
- scrollDirection: v.scrollOffset < C ? "forward" : "backward",
10594
- scrollOffset: C,
10593
+ scrollDirection: v.scrollOffset < _ ? "forward" : "backward",
10594
+ scrollOffset: _,
10595
10595
  scrollUpdateWasRequested: !1
10596
10596
  };
10597
10597
  }, f._resetIsScrollingDebounced);
@@ -10664,8 +10664,8 @@ function S3(e) {
10664
10664
  v.scrollLeft = x;
10665
10665
  break;
10666
10666
  default:
10667
- var E = v.clientWidth, C = v.scrollWidth;
10668
- v.scrollLeft = C - E - x;
10667
+ var E = v.clientWidth, _ = v.scrollWidth;
10668
+ v.scrollLeft = _ - E - x;
10669
10669
  break;
10670
10670
  }
10671
10671
  else
@@ -10677,12 +10677,12 @@ function S3(e) {
10677
10677
  }, p.componentWillUnmount = function() {
10678
10678
  this._resetIsScrollingTimeoutId !== null && da(this._resetIsScrollingTimeoutId);
10679
10679
  }, p.render = function() {
10680
- var f = this.props, m = f.children, b = f.className, w = f.direction, x = f.height, S = f.innerRef, v = f.innerElementType, E = f.innerTagName, C = f.itemCount, _ = f.itemData, A = f.itemKey, D = A === void 0 ? w3 : A, O = f.layout, I = f.outerElementType, K = f.outerTagName, H = f.style, he = f.useIsScrolling, Y = f.width, ue = this.state.isScrolling, de = w === "horizontal" || O === "horizontal", ye = de ? this._onScrollHorizontal : this._onScrollVertical, Re = this._getRangeToRender(), B = Re[0], ke = Re[1], Fe = [];
10681
- if (C > 0)
10680
+ var f = this.props, m = f.children, b = f.className, w = f.direction, x = f.height, S = f.innerRef, v = f.innerElementType, E = f.innerTagName, _ = f.itemCount, C = f.itemData, A = f.itemKey, D = A === void 0 ? w3 : A, O = f.layout, I = f.outerElementType, K = f.outerTagName, H = f.style, he = f.useIsScrolling, Y = f.width, ue = this.state.isScrolling, de = w === "horizontal" || O === "horizontal", ye = de ? this._onScrollHorizontal : this._onScrollVertical, Re = this._getRangeToRender(), B = Re[0], ke = Re[1], Fe = [];
10681
+ if (_ > 0)
10682
10682
  for (var Se = B; Se <= ke; Se++)
10683
10683
  Fe.push(nn(m, {
10684
- data: _,
10685
- key: D(Se, _),
10684
+ data: C,
10685
+ key: D(Se, C),
10686
10686
  index: Se,
10687
10687
  isScrolling: he ? ue : void 0,
10688
10688
  style: this._getItemStyle(Se)
@@ -10719,15 +10719,15 @@ function S3(e) {
10719
10719
  }
10720
10720
  }
10721
10721
  if (typeof this.props.onScroll == "function") {
10722
- var v = this.state, E = v.scrollDirection, C = v.scrollOffset, _ = v.scrollUpdateWasRequested;
10723
- this._callOnScroll(E, C, _);
10722
+ var v = this.state, E = v.scrollDirection, _ = v.scrollOffset, C = v.scrollUpdateWasRequested;
10723
+ this._callOnScroll(E, _, C);
10724
10724
  }
10725
10725
  }, p._getRangeToRender = function() {
10726
10726
  var f = this.props, m = f.itemCount, b = f.overscanCount, w = this.state, x = w.isScrolling, S = w.scrollDirection, v = w.scrollOffset;
10727
10727
  if (m === 0)
10728
10728
  return [0, 0, 0, 0];
10729
- var E = o(this.props, v, this._instanceProps), C = a(this.props, E, v, this._instanceProps), _ = !x || S === "backward" ? Math.max(1, b) : 1, A = !x || S === "forward" ? Math.max(1, b) : 1;
10730
- return [Math.max(0, E - _), Math.max(0, Math.min(m - 1, C + A)), E, C];
10729
+ var E = o(this.props, v, this._instanceProps), _ = a(this.props, E, v, this._instanceProps), C = !x || S === "backward" ? Math.max(1, b) : 1, A = !x || S === "forward" ? Math.max(1, b) : 1;
10730
+ return [Math.max(0, E - C), Math.max(0, Math.min(m - 1, _ + A)), E, _];
10731
10731
  }, h;
10732
10732
  }(pu), t.defaultProps = {
10733
10733
  direction: "ltr",
@@ -10767,7 +10767,7 @@ var E3 = function(t, n) {
10767
10767
  if (!d && typeof s != "number")
10768
10768
  throw Error('An invalid "height" prop has been specified. Vertical lists must specify a number for height. ' + ('"' + (s === null ? "null" : typeof s) + '" was specified.'));
10769
10769
  }
10770
- }, C3 = 50, Rt = function(t, n, r) {
10770
+ }, _3 = 50, Rt = function(t, n, r) {
10771
10771
  var i = t, s = i.itemSize, o = r.itemMetadataMap, a = r.lastMeasuredIndex;
10772
10772
  if (n > a) {
10773
10773
  var l = 0;
@@ -10785,7 +10785,7 @@ var E3 = function(t, n) {
10785
10785
  r.lastMeasuredIndex = n;
10786
10786
  }
10787
10787
  return o[n];
10788
- }, _3 = function(t, n, r) {
10788
+ }, C3 = function(t, n, r) {
10789
10789
  var i = n.itemMetadataMap, s = n.lastMeasuredIndex, o = s > 0 ? i[s].offset : 0;
10790
10790
  return o >= r ? Yc(t, n, s, 0, r) : T3(t, n, Math.max(0, s), r);
10791
10791
  }, Yc = function(t, n, r, i, s) {
@@ -10831,7 +10831,7 @@ var E3 = function(t, n) {
10831
10831
  }
10832
10832
  },
10833
10833
  getStartIndexForOffset: function(t, n, r) {
10834
- return _3(t, r, n);
10834
+ return C3(t, r, n);
10835
10835
  },
10836
10836
  getStopIndexForStartIndex: function(t, n, r, i) {
10837
10837
  for (var s = t.direction, o = t.height, a = t.itemCount, l = t.layout, c = t.width, u = s === "horizontal" || l === "horizontal", d = u ? c : o, h = Rt(t, n, i), p = r + d, y = h.offset + h.size, f = n; f < a - 1 && y < p; )
@@ -10841,7 +10841,7 @@ var E3 = function(t, n) {
10841
10841
  initInstanceProps: function(t, n) {
10842
10842
  var r = t, i = r.estimatedItemSize, s = {
10843
10843
  itemMetadataMap: {},
10844
- estimatedItemSize: i || C3,
10844
+ estimatedItemSize: i || _3,
10845
10845
  lastMeasuredIndex: -1
10846
10846
  };
10847
10847
  return n.resetAfterIndex = function(o, a) {
@@ -10968,7 +10968,7 @@ function n5(e) {
10968
10968
  S.preventDefault(), S.stopPropagation(), d();
10969
10969
  },
10970
10970
  disabled: e.loading || e.disabled || e.readOnly,
10971
- children: e.loading ? /* @__PURE__ */ g(Cu, { size: "16px" }) : /* @__PURE__ */ g(
10971
+ children: e.loading ? /* @__PURE__ */ g(_u, { size: "16px" }) : /* @__PURE__ */ g(
10972
10972
  m3,
10973
10973
  {
10974
10974
  fontSize: "small",
@@ -10981,7 +10981,7 @@ function n5(e) {
10981
10981
  }
10982
10982
  }
10983
10983
  ),
10984
- /* @__PURE__ */ g(_u, { in: t, timeout: 0, unmountOnExit: !1, children: /* @__PURE__ */ P(
10984
+ /* @__PURE__ */ g(Cu, { in: t, timeout: 0, unmountOnExit: !1, children: /* @__PURE__ */ P(
10985
10985
  Tu,
10986
10986
  {
10987
10987
  sx: {
@@ -11031,22 +11031,22 @@ function n5(e) {
11031
11031
  height: fr * Math.min(e.itemsNumber || 6, f),
11032
11032
  itemCount: f,
11033
11033
  itemSize: (E) => {
11034
- var C;
11034
+ var _;
11035
11035
  return A3(
11036
- (C = x.current) == null ? void 0 : C.offsetWidth,
11036
+ (_ = x.current) == null ? void 0 : _.offsetWidth,
11037
11037
  p[E] ? e.getOptionLabel(p[E]) : ""
11038
11038
  );
11039
11039
  },
11040
11040
  width: "100%",
11041
11041
  className: "styled-scroll",
11042
- children: ({ index: E, style: C }) => {
11042
+ children: ({ index: E, style: _ }) => {
11043
11043
  var A;
11044
- const _ = p[E];
11044
+ const C = p[E];
11045
11045
  return b(E) ? /* @__PURE__ */ g(
11046
11046
  ma,
11047
11047
  {
11048
- stackProps: { style: C },
11049
- option: _,
11048
+ stackProps: { style: _ },
11049
+ option: C,
11050
11050
  renderOption: (D) => {
11051
11051
  var O;
11052
11052
  return /* @__PURE__ */ P(
@@ -11066,12 +11066,12 @@ function n5(e) {
11066
11066
  var O;
11067
11067
  h(), (O = e.onChange) == null || O.call(e, D);
11068
11068
  },
11069
- select: ((A = e.isEqual) == null ? void 0 : A.call(e, _, e.value)) ?? fo.isEqual(_, e.value)
11069
+ select: ((A = e.isEqual) == null ? void 0 : A.call(e, C, e.value)) ?? fo.isEqual(C, e.value)
11070
11070
  }
11071
11071
  ) : /* @__PURE__ */ g(
11072
11072
  Me,
11073
11073
  {
11074
- style: C,
11074
+ style: _,
11075
11075
  sx: { height: fr, pl: 1 },
11076
11076
  justifyContent: "center",
11077
11077
  children: /* @__PURE__ */ g(pt, { children: "Loading..." })
@@ -11525,7 +11525,7 @@ const Gc = (e) => {
11525
11525
  ] }) });
11526
11526
  }
11527
11527
  return ce(() => {
11528
- t && Notification.permission === "granted" && t.userName && t.message && t.context && du(/* @__PURE__ */ g(i, {}));
11528
+ t && Notification.permission === "granted" && (t.userName || t.message || t.context) && du(/* @__PURE__ */ g(i, {}));
11529
11529
  }, [t]), ce(() => {
11530
11530
  Notification.permission === "granted" && Gc(e);
11531
11531
  }, [Notification.permission]), ce(() => {