@codeplex-sac/layout 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx as w, jsxs as Y, Fragment as vn } from "react/jsx-runtime";
2
2
  import * as E from "react";
3
- import ft, { useState as Mt, useEffect as Nr, useRef as kl, forwardRef as An, useContext as Rl, isValidElement as un, cloneElement as dn, Children as $l } from "react";
3
+ import ft, { useState as Mt, useEffect as Ir, useRef as kl, forwardRef as An, useContext as Rl, isValidElement as un, cloneElement as dn, Children as $l } from "react";
4
4
  import * as Nl from "react-dom";
5
5
  import Zr from "react-dom";
6
6
  const Hg = ({
@@ -126,9 +126,9 @@ const Hg = ({
126
126
  children: d,
127
127
  pie: f
128
128
  }) => {
129
- Nr(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
129
+ Ir(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
130
130
  document.body.style.overflow = "";
131
- }), [e]), Nr(() => {
131
+ }), [e]), Ir(() => {
132
132
  const p = (b) => {
133
133
  !e || !l || !u || b.key === "Escape" && u();
134
134
  };
@@ -517,7 +517,7 @@ const Hg = ({
517
517
  children: s
518
518
  }) => {
519
519
  const [l, c] = Mt(!1), u = kl(null), d = () => c(!l), f = () => c(!1);
520
- return Nr(() => {
520
+ return Ir(() => {
521
521
  const m = (h) => {
522
522
  l && u.current && !u.current.contains(h.target) && c(!1);
523
523
  };
@@ -757,7 +757,7 @@ function Po(e, t) {
757
757
  function Ae(e, t) {
758
758
  return e.charCodeAt(t) | 0;
759
759
  }
760
- function Ir(e, t, r) {
760
+ function Mr(e, t, r) {
761
761
  return e.slice(t, r);
762
762
  }
763
763
  function ot(e) {
@@ -772,32 +772,32 @@ function en(e, t) {
772
772
  function zl(e, t) {
773
773
  return e.map(t).join("");
774
774
  }
775
- var Dn = 1, Zt = 1, za = 0, We = 0, Ne = 0, ir = "";
775
+ var Dn = 1, Zt = 1, za = 0, We = 0, Ne = 0, ar = "";
776
776
  function _n(e, t, r, o, i, a, s) {
777
777
  return { value: e, root: t, parent: r, type: o, props: i, children: a, line: Dn, column: Zt, length: s, return: "" };
778
778
  }
779
- function hr(e, t) {
779
+ function gr(e, t) {
780
780
  return Fl(_n("", null, null, "", null, null, 0), e, { length: -e.length }, t);
781
781
  }
782
782
  function Ul() {
783
783
  return Ne;
784
784
  }
785
785
  function Hl() {
786
- return Ne = We > 0 ? Ae(ir, --We) : 0, Zt--, Ne === 10 && (Zt = 1, Dn--), Ne;
786
+ return Ne = We > 0 ? Ae(ar, --We) : 0, Zt--, Ne === 10 && (Zt = 1, Dn--), Ne;
787
787
  }
788
788
  function Ue() {
789
- return Ne = We < za ? Ae(ir, We++) : 0, Zt++, Ne === 10 && (Zt = 1, Dn++), Ne;
789
+ return Ne = We < za ? Ae(ar, We++) : 0, Zt++, Ne === 10 && (Zt = 1, Dn++), Ne;
790
790
  }
791
791
  function lt() {
792
- return Ae(ir, We);
792
+ return Ae(ar, We);
793
793
  }
794
794
  function pn() {
795
795
  return We;
796
796
  }
797
797
  function Wr(e, t) {
798
- return Ir(ir, e, t);
798
+ return Mr(ar, e, t);
799
799
  }
800
- function Mr(e) {
800
+ function Ar(e) {
801
801
  switch (e) {
802
802
  // \0 \t \n \r \s whitespace token
803
803
  case 0:
@@ -836,10 +836,10 @@ function Mr(e) {
836
836
  return 0;
837
837
  }
838
838
  function Ua(e) {
839
- return Dn = Zt = 1, za = ot(ir = e), We = 0, [];
839
+ return Dn = Zt = 1, za = ot(ar = e), We = 0, [];
840
840
  }
841
841
  function Ha(e) {
842
- return ir = "", e;
842
+ return ar = "", e;
843
843
  }
844
844
  function fn(e) {
845
845
  return Wa(Wr(We - 1, ko(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
@@ -847,7 +847,7 @@ function fn(e) {
847
847
  function ql(e) {
848
848
  for (; (Ne = lt()) && Ne < 33; )
849
849
  Ue();
850
- return Mr(e) > 2 || Mr(Ne) > 3 ? "" : " ";
850
+ return Ar(e) > 2 || Ar(Ne) > 3 ? "" : " ";
851
851
  }
852
852
  function Gl(e, t) {
853
853
  for (; --t && Ue() && !(Ne < 48 || Ne > 102 || Ne > 57 && Ne < 65 || Ne > 70 && Ne < 97); )
@@ -883,7 +883,7 @@ function Yl(e, t) {
883
883
  return "/*" + Wr(t, We - 1) + "*" + jn(e === 47 ? e : Ue());
884
884
  }
885
885
  function Kl(e) {
886
- for (; !Mr(lt()); )
886
+ for (; !Ar(lt()); )
887
887
  Ue();
888
888
  return Wr(e, We);
889
889
  }
@@ -998,15 +998,15 @@ function mn(e, t, r, o, i, a, s, l, c) {
998
998
  }
999
999
  function Ti(e, t, r, o, i, a, s, l, c, u, d) {
1000
1000
  for (var f = i - 1, y = i === 0 ? a : [""], m = Ko(y), h = 0, p = 0, b = 0; h < o; ++h)
1001
- for (var v = 0, S = Ir(e, f + 1, f = Bl(p = s[h])), C = e; v < m; ++v)
1001
+ for (var v = 0, S = Mr(e, f + 1, f = Bl(p = s[h])), C = e; v < m; ++v)
1002
1002
  (C = Wa(p > 0 ? y[v] + " " + S : se(S, /&\f/g, y[v]))) && (c[b++] = C);
1003
1003
  return _n(e, t, r, i === 0 ? Go : l, c, u, d);
1004
1004
  }
1005
1005
  function Jl(e, t, r) {
1006
- return _n(e, t, r, Fa, jn(Ul()), Ir(e, 2, -2), 0);
1006
+ return _n(e, t, r, Fa, jn(Ul()), Mr(e, 2, -2), 0);
1007
1007
  }
1008
1008
  function Ei(e, t, r, o) {
1009
- return _n(e, t, r, Yo, Ir(e, 0, o), Ir(e, o + 1, -1), o);
1009
+ return _n(e, t, r, Yo, Mr(e, 0, o), Mr(e, o + 1, -1), o);
1010
1010
  }
1011
1011
  function Xt(e, t) {
1012
1012
  for (var r = "", o = Ko(e), i = 0; i < o; i++)
@@ -1049,13 +1049,13 @@ function qa(e) {
1049
1049
  };
1050
1050
  }
1051
1051
  var tc = function(t, r, o) {
1052
- for (var i = 0, a = 0; i = a, a = lt(), i === 38 && a === 12 && (r[o] = 1), !Mr(a); )
1052
+ for (var i = 0, a = 0; i = a, a = lt(), i === 38 && a === 12 && (r[o] = 1), !Ar(a); )
1053
1053
  Ue();
1054
1054
  return Wr(t, We);
1055
1055
  }, rc = function(t, r) {
1056
1056
  var o = -1, i = 44;
1057
1057
  do
1058
- switch (Mr(i)) {
1058
+ switch (Ar(i)) {
1059
1059
  case 0:
1060
1060
  i === 38 && lt() === 12 && (r[o] = 1), t[o] += tc(We - 1, r, o);
1061
1061
  break;
@@ -1244,7 +1244,7 @@ var ac = function(t, r, o, i) {
1244
1244
  t.return = Ga(t.value, t.length);
1245
1245
  break;
1246
1246
  case Va:
1247
- return Xt([hr(t, {
1247
+ return Xt([gr(t, {
1248
1248
  value: se(t.value, "@", "@" + ae)
1249
1249
  })], i);
1250
1250
  case Go:
@@ -1253,16 +1253,16 @@ var ac = function(t, r, o, i) {
1253
1253
  // :read-(only|write)
1254
1254
  case ":read-only":
1255
1255
  case ":read-write":
1256
- return Xt([hr(t, {
1256
+ return Xt([gr(t, {
1257
1257
  props: [se(a, /:(read-\w+)/, ":" + wn + "$1")]
1258
1258
  })], i);
1259
1259
  // :placeholder
1260
1260
  case "::placeholder":
1261
- return Xt([hr(t, {
1261
+ return Xt([gr(t, {
1262
1262
  props: [se(a, /:(plac\w+)/, ":" + ae + "input-$1")]
1263
- }), hr(t, {
1263
+ }), gr(t, {
1264
1264
  props: [se(a, /:(plac\w+)/, ":" + wn + "$1")]
1265
- }), hr(t, {
1265
+ }), gr(t, {
1266
1266
  props: [se(a, /:(plac\w+)/, je + "input-$1")]
1267
1267
  })], i);
1268
1268
  }
@@ -1660,7 +1660,7 @@ var hc = {
1660
1660
  }
1661
1661
  return hc[t] !== 1 && !Xa(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
1662
1662
  };
1663
- function Ar(e, t, r) {
1663
+ function jr(e, t, r) {
1664
1664
  if (r == null)
1665
1665
  return "";
1666
1666
  var o = r;
@@ -1695,7 +1695,7 @@ function Ar(e, t, r) {
1695
1695
  case "function": {
1696
1696
  if (e !== void 0) {
1697
1697
  var c = it, u = r(e);
1698
- return it = c, Ar(e, t, u);
1698
+ return it = c, jr(e, t, u);
1699
1699
  }
1700
1700
  break;
1701
1701
  }
@@ -1710,7 +1710,7 @@ function bc(e, t, r) {
1710
1710
  var o = "";
1711
1711
  if (Array.isArray(r))
1712
1712
  for (var i = 0; i < r.length; i++)
1713
- o += Ar(e, t, r[i]) + ";";
1713
+ o += jr(e, t, r[i]) + ";";
1714
1714
  else
1715
1715
  for (var a in r) {
1716
1716
  var s = r[a];
@@ -1721,7 +1721,7 @@ function bc(e, t, r) {
1721
1721
  for (var c = 0; c < s.length; c++)
1722
1722
  Ri(s[c]) && (o += po(a) + ":" + $i(a, s[c]) + ";");
1723
1723
  else {
1724
- var u = Ar(e, t, s);
1724
+ var u = jr(e, t, s);
1725
1725
  switch (a) {
1726
1726
  case "animation":
1727
1727
  case "animationName": {
@@ -1743,13 +1743,13 @@ function Ln(e, t, r) {
1743
1743
  it = void 0;
1744
1744
  var a = e[0];
1745
1745
  if (a == null || a.raw === void 0)
1746
- o = !1, i += Ar(r, t, a);
1746
+ o = !1, i += jr(r, t, a);
1747
1747
  else {
1748
1748
  var s = a;
1749
1749
  i += s[0];
1750
1750
  }
1751
1751
  for (var l = 1; l < e.length; l++)
1752
- if (i += Ar(r, t, e[l]), o) {
1752
+ if (i += jr(r, t, e[l]), o) {
1753
1753
  var c = a;
1754
1754
  i += c[l];
1755
1755
  }
@@ -2815,7 +2815,7 @@ function qc(e) {
2815
2815
  const Gc = {
2816
2816
  borderRadius: 4
2817
2817
  }, Et = process.env.NODE_ENV !== "production" ? n.oneOfType([n.number, n.string, n.object, n.array]) : {};
2818
- function Pr(e, t) {
2818
+ function kr(e, t) {
2819
2819
  return t ? Le(e, t, {
2820
2820
  clone: !1
2821
2821
  // No need to clone deep, it's way faster.
@@ -3006,7 +3006,7 @@ function nu(e, t, r, o) {
3006
3006
  }
3007
3007
  function os(e, t) {
3008
3008
  const r = zn(e.theme);
3009
- return Object.keys(e).map((o) => nu(e, t, o, r)).reduce(Pr, {});
3009
+ return Object.keys(e).map((o) => nu(e, t, o, r)).reduce(kr, {});
3010
3010
  }
3011
3011
  function Oe(e) {
3012
3012
  return os(e, Vn);
@@ -3033,7 +3033,7 @@ function is(e = 8, t = zn({
3033
3033
  function Un(...e) {
3034
3034
  const t = e.reduce((o, i) => (i.filterProps.forEach((a) => {
3035
3035
  o[a] = i;
3036
- }), o), {}), r = (o) => Object.keys(o).reduce((i, a) => t[a] ? Pr(i, t[a](o)) : i, {});
3036
+ }), o), {}), r = (o) => Object.keys(o).reduce((i, a) => t[a] ? kr(i, t[a](o)) : i, {});
3037
3037
  return r.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((o, i) => Object.assign(o, i.propTypes), {}) : {}, r.filterProps = e.reduce((o, i) => o.concat(i.filterProps), []), r;
3038
3038
  }
3039
3039
  function Ye(e) {
@@ -3536,7 +3536,7 @@ function Du() {
3536
3536
  if (h != null)
3537
3537
  if (typeof h == "object")
3538
3538
  if (s[m])
3539
- y = Pr(y, e(m, h, i, s));
3539
+ y = kr(y, e(m, h, i, s));
3540
3540
  else {
3541
3541
  const p = tt({
3542
3542
  theme: i
@@ -3547,10 +3547,10 @@ function Du() {
3547
3547
  sx: h,
3548
3548
  theme: i,
3549
3549
  nested: !0
3550
- }) : y = Pr(y, p);
3550
+ }) : y = kr(y, p);
3551
3551
  }
3552
3552
  else
3553
- y = Pr(y, e(m, h, i, s));
3553
+ y = kr(y, e(m, h, i, s));
3554
3554
  }), !a && i.modularCssLayers ? {
3555
3555
  "@layer sx": qi(i, No(f, y))
3556
3556
  } : qi(i, No(f, y));
@@ -3573,7 +3573,7 @@ function _u(e, t) {
3573
3573
  }
3574
3574
  return r.palette.mode === e ? t : {};
3575
3575
  }
3576
- function ar(e = {}, ...t) {
3576
+ function sr(e = {}, ...t) {
3577
3577
  const {
3578
3578
  breakpoints: r = {},
3579
3579
  palette: o = {},
@@ -3613,7 +3613,7 @@ function Bu(e = null) {
3613
3613
  const t = E.useContext(Qo);
3614
3614
  return !t || Lu(t) ? e : t;
3615
3615
  }
3616
- const Fu = ar();
3616
+ const Fu = sr();
3617
3617
  function Kn(e = Fu) {
3618
3618
  return Bu(e);
3619
3619
  }
@@ -3761,7 +3761,7 @@ function cs(e) {
3761
3761
  typeof i.style != "function" && (i.style = At(i.style));
3762
3762
  }), o;
3763
3763
  }
3764
- const qu = ar();
3764
+ const qu = sr();
3765
3765
  function xo(e) {
3766
3766
  return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
3767
3767
  }
@@ -4002,7 +4002,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
4002
4002
  const rd = (e) => {
4003
4003
  const t = wt(e);
4004
4004
  return t.values.slice(0, 3).map((r, o) => t.type.includes("hsl") && o !== 0 ? `${r}%` : r).join(" ");
4005
- }, Tr = (e, t) => {
4005
+ }, Er = (e, t) => {
4006
4006
  try {
4007
4007
  return rd(e);
4008
4008
  } catch {
@@ -4342,7 +4342,7 @@ function be(e, t, r = void 0) {
4342
4342
  }
4343
4343
  return o;
4344
4344
  }
4345
- const yd = ar(), bd = ni("div", {
4345
+ const yd = sr(), bd = ni("div", {
4346
4346
  name: "MuiContainer",
4347
4347
  slot: "Root",
4348
4348
  overridesResolver: (e, t) => {
@@ -4463,7 +4463,7 @@ function gs(e, t) {
4463
4463
  e.type.muiName ?? e.type?._payload?.value?.muiName
4464
4464
  ) !== -1;
4465
4465
  }
4466
- const Td = (e, t) => e.filter((r) => t.includes(r)), sr = (e, t, r) => {
4466
+ const Td = (e, t) => e.filter((r) => t.includes(r)), lr = (e, t, r) => {
4467
4467
  const o = e.keys[0];
4468
4468
  Array.isArray(t) ? t.forEach((i, a) => {
4469
4469
  r((s, l) => {
@@ -4491,7 +4491,7 @@ const ra = "--Grid-columns", Qt = "--Grid-parent-columns", Ed = ({
4491
4491
  ownerState: t
4492
4492
  }) => {
4493
4493
  const r = {};
4494
- return sr(e.breakpoints, t.size, (o, i) => {
4494
+ return lr(e.breakpoints, t.size, (o, i) => {
4495
4495
  let a = {};
4496
4496
  i === "grow" && (a = {
4497
4497
  flexBasis: 0,
@@ -4514,7 +4514,7 @@ const ra = "--Grid-columns", Qt = "--Grid-parent-columns", Ed = ({
4514
4514
  ownerState: t
4515
4515
  }) => {
4516
4516
  const r = {};
4517
- return sr(e.breakpoints, t.offset, (o, i) => {
4517
+ return lr(e.breakpoints, t.offset, (o, i) => {
4518
4518
  let a = {};
4519
4519
  i === "auto" && (a = {
4520
4520
  marginLeft: "auto"
@@ -4531,7 +4531,7 @@ const ra = "--Grid-columns", Qt = "--Grid-parent-columns", Ed = ({
4531
4531
  const r = {
4532
4532
  [ra]: 12
4533
4533
  };
4534
- return sr(e.breakpoints, t.columns, (o, i) => {
4534
+ return lr(e.breakpoints, t.columns, (o, i) => {
4535
4535
  const a = i ?? 12;
4536
4536
  o(r, {
4537
4537
  [ra]: a,
@@ -4547,7 +4547,7 @@ const ra = "--Grid-columns", Qt = "--Grid-parent-columns", Ed = ({
4547
4547
  if (!t.container)
4548
4548
  return {};
4549
4549
  const r = {};
4550
- return sr(e.breakpoints, t.rowSpacing, (o, i) => {
4550
+ return lr(e.breakpoints, t.rowSpacing, (o, i) => {
4551
4551
  const a = typeof i == "string" ? i : e.spacing?.(i);
4552
4552
  o(r, {
4553
4553
  [Cn("row")]: a,
@@ -4563,7 +4563,7 @@ const ra = "--Grid-columns", Qt = "--Grid-parent-columns", Ed = ({
4563
4563
  if (!t.container)
4564
4564
  return {};
4565
4565
  const r = {};
4566
- return sr(e.breakpoints, t.columnSpacing, (o, i) => {
4566
+ return lr(e.breakpoints, t.columnSpacing, (o, i) => {
4567
4567
  const a = typeof i == "string" ? i : e.spacing?.(i);
4568
4568
  o(r, {
4569
4569
  [Cn("column")]: a,
@@ -4579,7 +4579,7 @@ const ra = "--Grid-columns", Qt = "--Grid-parent-columns", Ed = ({
4579
4579
  if (!t.container)
4580
4580
  return {};
4581
4581
  const r = {};
4582
- return sr(e.breakpoints, t.direction, (o, i) => {
4582
+ return lr(e.breakpoints, t.direction, (o, i) => {
4583
4583
  o(r, {
4584
4584
  flexDirection: i
4585
4585
  });
@@ -4625,7 +4625,7 @@ function Ad(e, t) {
4625
4625
  `));
4626
4626
  });
4627
4627
  }
4628
- const jd = ar(), Dd = ni("div", {
4628
+ const jd = sr(), Dd = ni("div", {
4629
4629
  name: "MuiGrid",
4630
4630
  slot: "Root"
4631
4631
  });
@@ -4722,7 +4722,7 @@ function Ld(e = {}) {
4722
4722
  wrap: n.oneOf(["nowrap", "wrap-reverse", "wrap"])
4723
4723
  }), c.muiName = "Grid", c;
4724
4724
  }
4725
- const Bd = ar(), Fd = ni("div", {
4725
+ const Bd = sr(), Fd = ni("div", {
4726
4726
  name: "MuiStack",
4727
4727
  slot: "Root"
4728
4728
  });
@@ -4830,7 +4830,7 @@ function Hd(e = {}) {
4830
4830
  sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object])
4831
4831
  }), s;
4832
4832
  }
4833
- const jr = {
4833
+ const Dr = {
4834
4834
  black: "#000",
4835
4835
  white: "#fff"
4836
4836
  }, qd = {
@@ -4861,7 +4861,7 @@ const jr = {
4861
4861
  500: "#f44336",
4862
4862
  700: "#d32f2f",
4863
4863
  800: "#c62828"
4864
- }, gr = {
4864
+ }, yr = {
4865
4865
  300: "#ffb74d",
4866
4866
  400: "#ffa726",
4867
4867
  500: "#ff9800",
@@ -4903,8 +4903,8 @@ function ys() {
4903
4903
  // The background colors used to style the surfaces.
4904
4904
  // Consistency between these values is important.
4905
4905
  background: {
4906
- paper: jr.white,
4907
- default: jr.white
4906
+ paper: Dr.white,
4907
+ default: Dr.white
4908
4908
  },
4909
4909
  // The colors used to style the action elements.
4910
4910
  action: {
@@ -4931,7 +4931,7 @@ const bs = ys();
4931
4931
  function vs() {
4932
4932
  return {
4933
4933
  text: {
4934
- primary: jr.white,
4934
+ primary: Dr.white,
4935
4935
  secondary: "rgba(255, 255, 255, 0.7)",
4936
4936
  disabled: "rgba(255, 255, 255, 0.5)",
4937
4937
  icon: "rgba(255, 255, 255, 0.5)"
@@ -4942,7 +4942,7 @@ function vs() {
4942
4942
  default: "#121212"
4943
4943
  },
4944
4944
  action: {
4945
- active: jr.white,
4945
+ active: Dr.white,
4946
4946
  hover: "rgba(255, 255, 255, 0.08)",
4947
4947
  hoverOpacity: 0.08,
4948
4948
  selected: "rgba(255, 255, 255, 0.16)",
@@ -5022,14 +5022,14 @@ function Jd(e = "light") {
5022
5022
  }
5023
5023
  function Qd(e = "light") {
5024
5024
  return e === "dark" ? {
5025
- main: gr[400],
5026
- light: gr[300],
5027
- dark: gr[700]
5025
+ main: yr[400],
5026
+ light: yr[300],
5027
+ dark: yr[700]
5028
5028
  } : {
5029
5029
  main: "#ed6c02",
5030
5030
  // closest to orange[800] that pass 3:1.
5031
- light: gr[500],
5032
- dark: gr[900]
5031
+ light: yr[500],
5032
+ dark: yr[900]
5033
5033
  };
5034
5034
  }
5035
5035
  function Zd(e) {
@@ -5087,7 +5087,7 @@ const theme2 = createTheme({ palette: {
5087
5087
  return t === "light" ? h = ys() : t === "dark" && (h = vs()), process.env.NODE_ENV !== "production" && (h || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), Le({
5088
5088
  // A collection of common colors.
5089
5089
  common: {
5090
- ...jr
5090
+ ...Dr
5091
5091
  },
5092
5092
  // prevent mutable object.
5093
5093
  // The palette mode, can be light or dark.
@@ -5390,7 +5390,7 @@ function Ao(e = {}, ...t) {
5390
5390
  const f = si({
5391
5391
  ...a,
5392
5392
  colorSpace: u
5393
- }), y = ar(e);
5393
+ }), y = sr(e);
5394
5394
  let m = Le(y, {
5395
5395
  mixins: tp(y.breakpoints, o),
5396
5396
  palette: f,
@@ -5530,11 +5530,11 @@ function xp(e, t) {
5530
5530
  function $(e, t, r) {
5531
5531
  !e[t] && r && (e[t] = r);
5532
5532
  }
5533
- function Er(e) {
5533
+ function Cr(e) {
5534
5534
  return typeof e != "string" || !e.startsWith("hsl") ? e : fs(e);
5535
5535
  }
5536
5536
  function dt(e, t) {
5537
- `${t}Channel` in e || (e[`${t}Channel`] = Tr(Er(e[t]), `MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
5537
+ `${t}Channel` in e || (e[`${t}Channel`] = Er(Cr(e[t]), `MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
5538
5538
  To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
5539
5539
  }
5540
5540
  function wp(e) {
@@ -5650,7 +5650,7 @@ function Ep(e = {}, ...t) {
5650
5650
  }
5651
5651
  dt(g.background, "default"), dt(g.background, "paper"), dt(g.common, "background"), dt(g.common, "onBackground"), dt(g, "divider"), Object.keys(g).forEach((M) => {
5652
5652
  const N = g[M];
5653
- M !== "tonalOffset" && N && typeof N == "object" && (N.main && $(g[M], "mainChannel", Tr(Er(N.main))), N.light && $(g[M], "lightChannel", Tr(Er(N.light))), N.dark && $(g[M], "darkChannel", Tr(Er(N.dark))), N.contrastText && $(g[M], "contrastTextChannel", Tr(Er(N.contrastText))), M === "text" && (dt(g[M], "primary"), dt(g[M], "secondary")), M === "action" && (N.active && dt(g[M], "active"), N.selected && dt(g[M], "selected")));
5653
+ M !== "tonalOffset" && N && typeof N == "object" && (N.main && $(g[M], "mainChannel", Er(Cr(N.main))), N.light && $(g[M], "lightChannel", Er(Cr(N.light))), N.dark && $(g[M], "darkChannel", Er(Cr(N.dark))), N.contrastText && $(g[M], "contrastTextChannel", Er(Cr(N.contrastText))), M === "text" && (dt(g[M], "primary"), dt(g[M], "secondary")), M === "action" && (N.active && dt(g[M], "active"), N.selected && dt(g[M], "selected")));
5654
5654
  });
5655
5655
  }), O = t.reduce((_, g) => Le(_, g), O);
5656
5656
  const P = {
@@ -5984,7 +5984,7 @@ process.env.NODE_ENV !== "production" && (On.propTypes = {
5984
5984
  viewBox: n.string
5985
5985
  });
5986
5986
  On.muiName = "SvgIcon";
5987
- function lr(e, t) {
5987
+ function cr(e, t) {
5988
5988
  function r(o, i) {
5989
5989
  return /* @__PURE__ */ w(On, {
5990
5990
  "data-testid": process.env.NODE_ENV !== "production" ? `${t}Icon` : void 0,
@@ -6194,19 +6194,19 @@ process.env.NODE_ENV !== "production" && n.oneOfType([n.string, n.shape({
6194
6194
  const Sn = ft.createContext(null);
6195
6195
  var jp = function(t) {
6196
6196
  return t.scrollTop;
6197
- }, Cr = "unmounted", kt = "exited", Rt = "entering", Yt = "entered", _o = "exiting", rt = /* @__PURE__ */ (function(e) {
6197
+ }, Or = "unmounted", kt = "exited", Rt = "entering", Yt = "entered", _o = "exiting", rt = /* @__PURE__ */ (function(e) {
6198
6198
  Ps(t, e);
6199
6199
  function t(o, i) {
6200
6200
  var a;
6201
6201
  a = e.call(this, o, i) || this;
6202
6202
  var s = i, l = s && !s.isMounting ? o.enter : o.appear, c;
6203
- return a.appearStatus = null, o.in ? l ? (c = kt, a.appearStatus = Rt) : c = Yt : o.unmountOnExit || o.mountOnEnter ? c = Cr : c = kt, a.state = {
6203
+ return a.appearStatus = null, o.in ? l ? (c = kt, a.appearStatus = Rt) : c = Yt : o.unmountOnExit || o.mountOnEnter ? c = Or : c = kt, a.state = {
6204
6204
  status: c
6205
6205
  }, a.nextCallback = null, a;
6206
6206
  }
6207
6207
  t.getDerivedStateFromProps = function(i, a) {
6208
6208
  var s = i.in;
6209
- return s && a.status === Cr ? {
6209
+ return s && a.status === Or ? {
6210
6210
  status: kt
6211
6211
  } : null;
6212
6212
  };
@@ -6240,7 +6240,7 @@ var jp = function(t) {
6240
6240
  } else
6241
6241
  this.performExit();
6242
6242
  else this.props.unmountOnExit && this.state.status === kt && this.setState({
6243
- status: Cr
6243
+ status: Or
6244
6244
  });
6245
6245
  }, r.performEnter = function(i) {
6246
6246
  var a = this, s = this.props.enter, l = this.context ? this.context.isMounting : i, c = this.props.nodeRef ? [l] : [Zr.findDOMNode(this), l], u = c[0], d = c[1], f = this.getTimeouts(), y = l ? f.appear : f.enter;
@@ -6309,7 +6309,7 @@ var jp = function(t) {
6309
6309
  i != null && setTimeout(this.nextCallback, i);
6310
6310
  }, r.render = function() {
6311
6311
  var i = this.state.status;
6312
- if (i === Cr)
6312
+ if (i === Or)
6313
6313
  return null;
6314
6314
  var a = this.props, s = a.children;
6315
6315
  a.in, a.mountOnEnter, a.unmountOnExit, a.appear, a.enter, a.exit, a.timeout, a.addEndListener, a.onEnter, a.onEntering, a.onEntered, a.onExit, a.onExiting, a.onExited, a.nodeRef;
@@ -6508,7 +6508,7 @@ rt.defaultProps = {
6508
6508
  onExiting: Gt,
6509
6509
  onExited: Gt
6510
6510
  };
6511
- rt.UNMOUNTED = Cr;
6511
+ rt.UNMOUNTED = Or;
6512
6512
  rt.EXITED = kt;
6513
6513
  rt.ENTERING = Rt;
6514
6514
  rt.ENTERED = Yt;
@@ -7253,7 +7253,7 @@ function Lo() {
7253
7253
  }
7254
7254
  Ds.isRequired = js;
7255
7255
  Lo.isRequired = Lo;
7256
- const Dr = process.env.NODE_ENV === "production" ? Lo : Ds;
7256
+ const _r = process.env.NODE_ENV === "production" ? Lo : Ds;
7257
7257
  function Qp(e) {
7258
7258
  return he("MuiPaper", e);
7259
7259
  }
@@ -7372,7 +7372,7 @@ process.env.NODE_ENV !== "production" && (_s.propTypes = {
7372
7372
  * It accepts values between 0 and 24 inclusive.
7373
7373
  * @default 1
7374
7374
  */
7375
- elevation: Ct(Dr, (e) => {
7375
+ elevation: Ct(_r, (e) => {
7376
7376
  const {
7377
7377
  elevation: t,
7378
7378
  variant: r
@@ -8890,10 +8890,10 @@ function mt(e, t, r, o, i) {
8890
8890
  const a = e[t], s = i || t;
8891
8891
  return a == null ? null : a && a.nodeType !== 1 ? new Error(`Invalid ${o} \`${s}\` supplied to \`${r}\`. Expected an HTMLElement.`) : null;
8892
8892
  }
8893
- var Fe = "top", Je = "bottom", Qe = "right", Ve = "left", di = "auto", qr = [Fe, Je, Qe, Ve], tr = "start", _r = "end", Mf = "clippingParents", Vs = "viewport", yr = "popper", Af = "reference", va = /* @__PURE__ */ qr.reduce(function(e, t) {
8894
- return e.concat([t + "-" + tr, t + "-" + _r]);
8893
+ var Fe = "top", Je = "bottom", Qe = "right", Ve = "left", di = "auto", qr = [Fe, Je, Qe, Ve], tr = "start", Lr = "end", Mf = "clippingParents", Vs = "viewport", br = "popper", Af = "reference", va = /* @__PURE__ */ qr.reduce(function(e, t) {
8894
+ return e.concat([t + "-" + tr, t + "-" + Lr]);
8895
8895
  }, []), Ws = /* @__PURE__ */ [].concat(qr, [di]).reduce(function(e, t) {
8896
- return e.concat([t, t + "-" + tr, t + "-" + _r]);
8896
+ return e.concat([t, t + "-" + tr, t + "-" + Lr]);
8897
8897
  }, []), jf = "beforeRead", Df = "read", _f = "afterRead", Lf = "beforeMain", Bf = "main", Ff = "afterMain", Vf = "beforeWrite", Wf = "write", zf = "afterWrite", Uf = [jf, Df, _f, Lf, Bf, Ff, Vf, Wf, zf];
8898
8898
  function ut(e) {
8899
8899
  return e ? (e.nodeName || "").toLowerCase() : null;
@@ -9067,11 +9067,11 @@ function Gr(e) {
9067
9067
  function mi(e) {
9068
9068
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
9069
9069
  }
9070
- function kr(e, t, r) {
9070
+ function Rr(e, t, r) {
9071
9071
  return jt(e, Nn(t, r));
9072
9072
  }
9073
9073
  function Xf(e, t, r) {
9074
- var o = kr(e, t, r);
9074
+ var o = Rr(e, t, r);
9075
9075
  return o > r ? r : o;
9076
9076
  }
9077
9077
  function Hs() {
@@ -9098,7 +9098,7 @@ var Jf = function(t, r) {
9098
9098
  function Qf(e) {
9099
9099
  var t, r = e.state, o = e.name, i = e.options, a = r.elements.arrow, s = r.modifiersData.popperOffsets, l = ct(r.placement), c = mi(l), u = [Ve, Qe].indexOf(l) >= 0, d = u ? "height" : "width";
9100
9100
  if (!(!a || !s)) {
9101
- var f = Jf(i.padding, r), y = fi(a), m = c === "y" ? Fe : Ve, h = c === "y" ? Je : Qe, p = r.rects.reference[d] + r.rects.reference[c] - s[c] - r.rects.popper[d], b = s[c] - r.rects.reference[c], v = Gr(a), S = v ? c === "y" ? v.clientHeight || 0 : v.clientWidth || 0 : 0, C = p / 2 - b / 2, x = f[m], T = S - y[d] - f[h], O = S / 2 - y[d] / 2 + C, P = kr(x, O, T), I = c;
9101
+ var f = Jf(i.padding, r), y = fi(a), m = c === "y" ? Fe : Ve, h = c === "y" ? Je : Qe, p = r.rects.reference[d] + r.rects.reference[c] - s[c] - r.rects.popper[d], b = s[c] - r.rects.reference[c], v = Gr(a), S = v ? c === "y" ? v.clientHeight || 0 : v.clientWidth || 0 : 0, C = p / 2 - b / 2, x = f[m], T = S - y[d] - f[h], O = S / 2 - y[d] / 2 + C, P = Rr(x, O, T), I = c;
9102
9102
  r.modifiersData[o] = (t = {}, t[I] = P, t.centerOffset = P - O, t);
9103
9103
  }
9104
9104
  }
@@ -9143,7 +9143,7 @@ function wa(e) {
9143
9143
  var v = s.hasOwnProperty("x"), S = s.hasOwnProperty("y"), C = Ve, x = Fe, T = window;
9144
9144
  if (u) {
9145
9145
  var O = Gr(r), P = "clientHeight", I = "clientWidth";
9146
- if (O === He(r) && (O = Ot(r), ht(O).position !== "static" && l === "absolute" && (P = "scrollHeight", I = "scrollWidth")), O = O, i === Fe || (i === Ve || i === Qe) && a === _r) {
9146
+ if (O === He(r) && (O = Ot(r), ht(O).position !== "static" && l === "absolute" && (P = "scrollHeight", I = "scrollWidth")), O = O, i === Fe || (i === Ve || i === Qe) && a === Lr) {
9147
9147
  x = Je;
9148
9148
  var j = f && O === T && T.visualViewport ? T.visualViewport.height : (
9149
9149
  // $FlowFixMe[prop-missing]
@@ -9151,7 +9151,7 @@ function wa(e) {
9151
9151
  );
9152
9152
  p -= j - o.height, p *= c ? 1 : -1;
9153
9153
  }
9154
- if (i === Ve || (i === Fe || i === Je) && a === _r) {
9154
+ if (i === Ve || (i === Fe || i === Je) && a === Lr) {
9155
9155
  C = Qe;
9156
9156
  var D = f && O === T && T.visualViewport ? T.visualViewport.width : (
9157
9157
  // $FlowFixMe[prop-missing]
@@ -9287,13 +9287,13 @@ function yi(e) {
9287
9287
  function Ys(e) {
9288
9288
  return ["html", "body", "#document"].indexOf(ut(e)) >= 0 ? e.ownerDocument.body : Ke(e) && yi(e) ? e : Ys(io(e));
9289
9289
  }
9290
- function Rr(e, t) {
9290
+ function $r(e, t) {
9291
9291
  var r;
9292
9292
  t === void 0 && (t = []);
9293
9293
  var o = Ys(e), i = o === ((r = e.ownerDocument) == null ? void 0 : r.body), a = He(o), s = i ? [a].concat(a.visualViewport || [], yi(o) ? o : []) : o, l = t.concat(s);
9294
9294
  return i ? l : (
9295
9295
  // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
9296
- l.concat(Rr(io(s)))
9296
+ l.concat($r(io(s)))
9297
9297
  );
9298
9298
  }
9299
9299
  function zo(e) {
@@ -9312,7 +9312,7 @@ function Ea(e, t, r) {
9312
9312
  return t === Vs ? zo(cm(e, r)) : Ft(t) ? dm(t, r) : zo(um(Ot(e)));
9313
9313
  }
9314
9314
  function pm(e) {
9315
- var t = Rr(io(e)), r = ["absolute", "fixed"].indexOf(ht(e).position) >= 0, o = r && Ke(e) ? Gr(e) : e;
9315
+ var t = $r(io(e)), r = ["absolute", "fixed"].indexOf(ht(e).position) >= 0, o = r && Ke(e) ? Gr(e) : e;
9316
9316
  return Ft(o) ? t.filter(function(i) {
9317
9317
  return Ft(i) && Us(i, o) && ut(i) !== "body";
9318
9318
  }) : [];
@@ -9364,26 +9364,26 @@ function Ks(e) {
9364
9364
  case tr:
9365
9365
  c[u] = c[u] - (t[d] / 2 - r[d] / 2);
9366
9366
  break;
9367
- case _r:
9367
+ case Lr:
9368
9368
  c[u] = c[u] + (t[d] / 2 - r[d] / 2);
9369
9369
  break;
9370
9370
  }
9371
9371
  }
9372
9372
  return c;
9373
9373
  }
9374
- function Lr(e, t) {
9374
+ function Br(e, t) {
9375
9375
  t === void 0 && (t = {});
9376
- var r = t, o = r.placement, i = o === void 0 ? e.placement : o, a = r.strategy, s = a === void 0 ? e.strategy : a, l = r.boundary, c = l === void 0 ? Mf : l, u = r.rootBoundary, d = u === void 0 ? Vs : u, f = r.elementContext, y = f === void 0 ? yr : f, m = r.altBoundary, h = m === void 0 ? !1 : m, p = r.padding, b = p === void 0 ? 0 : p, v = qs(typeof b != "number" ? b : Gs(b, qr)), S = y === yr ? Af : yr, C = e.rects.popper, x = e.elements[h ? S : y], T = fm(Ft(x) ? x : x.contextElement || Ot(e.elements.popper), c, d, s), O = nr(e.elements.reference), P = Ks({
9376
+ var r = t, o = r.placement, i = o === void 0 ? e.placement : o, a = r.strategy, s = a === void 0 ? e.strategy : a, l = r.boundary, c = l === void 0 ? Mf : l, u = r.rootBoundary, d = u === void 0 ? Vs : u, f = r.elementContext, y = f === void 0 ? br : f, m = r.altBoundary, h = m === void 0 ? !1 : m, p = r.padding, b = p === void 0 ? 0 : p, v = qs(typeof b != "number" ? b : Gs(b, qr)), S = y === br ? Af : br, C = e.rects.popper, x = e.elements[h ? S : y], T = fm(Ft(x) ? x : x.contextElement || Ot(e.elements.popper), c, d, s), O = nr(e.elements.reference), P = Ks({
9377
9377
  reference: O,
9378
9378
  element: C,
9379
9379
  placement: i
9380
- }), I = zo(Object.assign({}, C, P)), j = y === yr ? I : O, D = {
9380
+ }), I = zo(Object.assign({}, C, P)), j = y === br ? I : O, D = {
9381
9381
  top: T.top - j.top + v.top,
9382
9382
  bottom: j.bottom - T.bottom + v.bottom,
9383
9383
  left: T.left - j.left + v.left,
9384
9384
  right: j.right - T.right + v.right
9385
9385
  }, _ = e.modifiersData.offset;
9386
- if (y === yr && _) {
9386
+ if (y === br && _) {
9387
9387
  var g = _[i];
9388
9388
  Object.keys(D).forEach(function(A) {
9389
9389
  var R = [Qe, Je].indexOf(A) >= 0 ? 1 : -1, M = [Fe, Je].indexOf(A) >= 0 ? "y" : "x";
@@ -9401,7 +9401,7 @@ function mm(e, t) {
9401
9401
  });
9402
9402
  y.length === 0 && (y = f);
9403
9403
  var m = y.reduce(function(h, p) {
9404
- return h[p] = Lr(e, {
9404
+ return h[p] = Br(e, {
9405
9405
  placement: p,
9406
9406
  boundary: i,
9407
9407
  rootBoundary: a,
@@ -9431,7 +9431,7 @@ function gm(e) {
9431
9431
  allowedAutoPlacements: p
9432
9432
  }) : q);
9433
9433
  }, []), T = t.rects.reference, O = t.rects.popper, P = /* @__PURE__ */ new Map(), I = !0, j = x[0], D = 0; D < x.length; D++) {
9434
- var _ = x[D], g = ct(_), A = or(_) === tr, R = [Fe, Je].indexOf(g) >= 0, M = R ? "width" : "height", N = Lr(t, {
9434
+ var _ = x[D], g = ct(_), A = or(_) === tr, R = [Fe, Je].indexOf(g) >= 0, M = R ? "width" : "height", N = Br(t, {
9435
9435
  placement: _,
9436
9436
  boundary: d,
9437
9437
  rootBoundary: f,
@@ -9493,9 +9493,9 @@ function Oa(e) {
9493
9493
  });
9494
9494
  }
9495
9495
  function bm(e) {
9496
- var t = e.state, r = e.name, o = t.rects.reference, i = t.rects.popper, a = t.modifiersData.preventOverflow, s = Lr(t, {
9496
+ var t = e.state, r = e.name, o = t.rects.reference, i = t.rects.popper, a = t.modifiersData.preventOverflow, s = Br(t, {
9497
9497
  elementContext: "reference"
9498
- }), l = Lr(t, {
9498
+ }), l = Br(t, {
9499
9499
  altBoundary: !0
9500
9500
  }), c = Ca(s, o), u = Ca(l, i, a), d = Oa(c), f = Oa(u);
9501
9501
  t.modifiersData[r] = {
@@ -9559,7 +9559,7 @@ function Om(e) {
9559
9559
  return e === "x" ? "y" : "x";
9560
9560
  }
9561
9561
  function Sm(e) {
9562
- var t = e.state, r = e.options, o = e.name, i = r.mainAxis, a = i === void 0 ? !0 : i, s = r.altAxis, l = s === void 0 ? !1 : s, c = r.boundary, u = r.rootBoundary, d = r.altBoundary, f = r.padding, y = r.tether, m = y === void 0 ? !0 : y, h = r.tetherOffset, p = h === void 0 ? 0 : h, b = Lr(t, {
9562
+ var t = e.state, r = e.options, o = e.name, i = r.mainAxis, a = i === void 0 ? !0 : i, s = r.altAxis, l = s === void 0 ? !1 : s, c = r.boundary, u = r.rootBoundary, d = r.altBoundary, f = r.padding, y = r.tether, m = y === void 0 ? !0 : y, h = r.tetherOffset, p = h === void 0 ? 0 : h, b = Br(t, {
9563
9563
  boundary: c,
9564
9564
  rootBoundary: u,
9565
9565
  padding: f,
@@ -9581,11 +9581,11 @@ function Sm(e) {
9581
9581
  var A, R = x === "y" ? Fe : Ve, M = x === "y" ? Je : Qe, N = x === "y" ? "height" : "width", F = O[x], Z = F + b[R], V = F - b[M], k = m ? -I[N] / 2 : 0, B = S === tr ? P[N] : I[N], U = S === tr ? -I[N] : -P[N], K = t.elements.arrow, z = m && K ? fi(K) : {
9582
9582
  width: 0,
9583
9583
  height: 0
9584
- }, q = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Hs(), G = q[R], X = q[M], H = kr(0, P[N], z[N]), ne = C ? P[N] / 2 - k - H - G - D.mainAxis : B - H - G - D.mainAxis, W = C ? -P[N] / 2 + k + H + X + D.mainAxis : U + H + X + D.mainAxis, Q = t.elements.arrow && Gr(t.elements.arrow), L = Q ? x === "y" ? Q.clientTop || 0 : Q.clientLeft || 0 : 0, ue = (A = _?.[x]) != null ? A : 0, ve = F + ne - ue - L, ee = F + W - ue, Ce = kr(m ? Nn(Z, ve) : Z, F, m ? jt(V, ee) : V);
9584
+ }, q = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Hs(), G = q[R], X = q[M], H = Rr(0, P[N], z[N]), ne = C ? P[N] / 2 - k - H - G - D.mainAxis : B - H - G - D.mainAxis, W = C ? -P[N] / 2 + k + H + X + D.mainAxis : U + H + X + D.mainAxis, Q = t.elements.arrow && Gr(t.elements.arrow), L = Q ? x === "y" ? Q.clientTop || 0 : Q.clientLeft || 0 : 0, ue = (A = _?.[x]) != null ? A : 0, ve = F + ne - ue - L, ee = F + W - ue, Ce = Rr(m ? Nn(Z, ve) : Z, F, m ? jt(V, ee) : V);
9585
9585
  O[x] = Ce, g[x] = Ce - F;
9586
9586
  }
9587
9587
  if (l) {
9588
- var ge, xe = x === "x" ? Fe : Ve, Me = x === "x" ? Je : Qe, Ie = O[T], Re = T === "y" ? "height" : "width", te = Ie + b[xe], ur = Ie - b[Me], dr = [Fe, Ve].indexOf(v) !== -1, Kr = (ge = _?.[T]) != null ? ge : 0, Xr = dr ? te : Ie - P[Re] - I[Re] - Kr + D.altAxis, Vt = dr ? Ie + P[Re] + I[Re] - Kr - D.altAxis : ur, Jr = m && dr ? Xf(Xr, Ie, Vt) : kr(m ? Xr : te, Ie, m ? Vt : ur);
9588
+ var ge, xe = x === "x" ? Fe : Ve, Me = x === "x" ? Je : Qe, Ie = O[T], Re = T === "y" ? "height" : "width", te = Ie + b[xe], dr = Ie - b[Me], pr = [Fe, Ve].indexOf(v) !== -1, Kr = (ge = _?.[T]) != null ? ge : 0, Xr = pr ? te : Ie - P[Re] - I[Re] - Kr + D.altAxis, Vt = pr ? Ie + P[Re] + I[Re] - Kr - D.altAxis : dr, Jr = m && pr ? Xf(Xr, Ie, Vt) : Rr(m ? Xr : te, Ie, m ? Vt : dr);
9589
9589
  O[T] = Jr, g[T] = Jr - Ie;
9590
9590
  }
9591
9591
  t.modifiersData[o] = g;
@@ -9710,8 +9710,8 @@ function Dm(e) {
9710
9710
  setOptions: function(v) {
9711
9711
  var S = typeof v == "function" ? v(d.options) : v;
9712
9712
  p(), d.options = Object.assign({}, a, d.options, S), d.scrollParents = {
9713
- reference: Ft(l) ? Rr(l) : l.contextElement ? Rr(l.contextElement) : [],
9714
- popper: Rr(c)
9713
+ reference: Ft(l) ? $r(l) : l.contextElement ? $r(l.contextElement) : [],
9714
+ popper: $r(c)
9715
9715
  };
9716
9716
  var C = Mm(jm([].concat(o, d.options.modifiers)));
9717
9717
  return d.orderedModifiers = C.filter(function(x) {
@@ -9816,7 +9816,7 @@ function Yr(e) {
9816
9816
  function Bm(e) {
9817
9817
  return typeof e == "function" ? e() : e;
9818
9818
  }
9819
- const Br = /* @__PURE__ */ E.forwardRef(function(t, r) {
9819
+ const Fr = /* @__PURE__ */ E.forwardRef(function(t, r) {
9820
9820
  const {
9821
9821
  children: o,
9822
9822
  container: i,
@@ -9840,7 +9840,7 @@ const Br = /* @__PURE__ */ E.forwardRef(function(t, r) {
9840
9840
  }
9841
9841
  return s && /* @__PURE__ */ Nl.createPortal(o, s);
9842
9842
  });
9843
- process.env.NODE_ENV !== "production" && (Br.propTypes = {
9843
+ process.env.NODE_ENV !== "production" && (Fr.propTypes = {
9844
9844
  // ┌────────────────────────────── Warning ──────────────────────────────┐
9845
9845
  // │ These PropTypes are generated from the TypeScript type definitions. │
9846
9846
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -9866,7 +9866,7 @@ process.env.NODE_ENV !== "production" && (Br.propTypes = {
9866
9866
  */
9867
9867
  disablePortal: n.bool
9868
9868
  });
9869
- process.env.NODE_ENV !== "production" && (Br.propTypes = ms(Br.propTypes));
9869
+ process.env.NODE_ENV !== "production" && (Fr.propTypes = ms(Fr.propTypes));
9870
9870
  function Fm(e) {
9871
9871
  return he("MuiPopper", e);
9872
9872
  }
@@ -10027,7 +10027,7 @@ const zm = (e) => {
10027
10027
  onEnter: T,
10028
10028
  onExited: O
10029
10029
  } : void 0;
10030
- return /* @__PURE__ */ w(Br, {
10030
+ return /* @__PURE__ */ w(Fr, {
10031
10031
  disablePortal: l,
10032
10032
  container: P,
10033
10033
  children: /* @__PURE__ */ w(Hm, {
@@ -10357,7 +10357,7 @@ process.env.NODE_ENV !== "production" && (bi.propTypes = {
10357
10357
  */
10358
10358
  transition: n.bool
10359
10359
  });
10360
- const Gm = lr(/* @__PURE__ */ w("path", {
10360
+ const Gm = cr(/* @__PURE__ */ w("path", {
10361
10361
  d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
10362
10362
  }), "Person");
10363
10363
  function Ym(e) {
@@ -10644,8 +10644,8 @@ function Qs(e, t, r, o, i) {
10644
10644
  const c = a.type;
10645
10645
  return typeof c == "function" && !eh(c) && (l = "Did you accidentally use a plain function component for an element instead?"), l !== void 0 ? new Error(`Invalid ${o} \`${s}\` supplied to \`${r}\`. Expected an element that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
10646
10646
  }
10647
- const cr = Ct(n.element, Qs);
10648
- cr.isRequired = Ct(n.element.isRequired, Qs);
10647
+ const ur = Ct(n.element, Qs);
10648
+ ur.isRequired = Ct(n.element.isRequired, Qs);
10649
10649
  const th = {
10650
10650
  entering: {
10651
10651
  opacity: 1
@@ -10750,7 +10750,7 @@ process.env.NODE_ENV !== "production" && (Zs.propTypes = {
10750
10750
  /**
10751
10751
  * A single child content element.
10752
10752
  */
10753
- children: cr.isRequired,
10753
+ children: ur.isRequired,
10754
10754
  /**
10755
10755
  * The transition timing function.
10756
10756
  * You may specify a single easing or a object containing enter and exit values.
@@ -11083,7 +11083,7 @@ function sh(e) {
11083
11083
  const t = Xe(e);
11084
11084
  return t.body === e ? Bt(e).innerWidth > t.documentElement.clientWidth : e.scrollHeight > e.clientHeight;
11085
11085
  }
11086
- function $r(e, t) {
11086
+ function Nr(e, t) {
11087
11087
  t ? e.setAttribute("aria-hidden", "true") : e.removeAttribute("aria-hidden");
11088
11088
  }
11089
11089
  function ka(e) {
@@ -11097,7 +11097,7 @@ function Ra(e, t, r, o, i) {
11097
11097
  const a = [t, r, ...o];
11098
11098
  [].forEach.call(e.children, (s) => {
11099
11099
  const l = !a.includes(s), c = !lh(s);
11100
- l && c && $r(s, i);
11100
+ l && c && Nr(s, i);
11101
11101
  });
11102
11102
  }
11103
11103
  function Eo(e, t) {
@@ -11168,7 +11168,7 @@ class dh {
11168
11168
  let o = this.modals.indexOf(t);
11169
11169
  if (o !== -1)
11170
11170
  return o;
11171
- o = this.modals.length, this.modals.push(t), t.modalRef && $r(t.modalRef, !1);
11171
+ o = this.modals.length, this.modals.push(t), t.modalRef && Nr(t.modalRef, !1);
11172
11172
  const i = uh(r);
11173
11173
  Ra(r, t.mount, t.modalRef, i, !0);
11174
11174
  const a = Eo(this.containers, (s) => s.container === r);
@@ -11189,10 +11189,10 @@ class dh {
11189
11189
  return o;
11190
11190
  const i = Eo(this.containers, (s) => s.modals.includes(t)), a = this.containers[i];
11191
11191
  if (a.modals.splice(a.modals.indexOf(t), 1), this.modals.splice(o, 1), a.modals.length === 0)
11192
- a.restore && a.restore(), t.modalRef && $r(t.modalRef, r), Ra(a.container, t.mount, t.modalRef, a.hiddenSiblings, !1), this.containers.splice(i, 1);
11192
+ a.restore && a.restore(), t.modalRef && Nr(t.modalRef, r), Ra(a.container, t.mount, t.modalRef, a.hiddenSiblings, !1), this.containers.splice(i, 1);
11193
11193
  else {
11194
11194
  const s = a.modals[a.modals.length - 1];
11195
- s.modalRef && $r(s.modalRef, !1);
11195
+ s.modalRef && Nr(s.modalRef, !1);
11196
11196
  }
11197
11197
  return o;
11198
11198
  }
@@ -11200,7 +11200,7 @@ class dh {
11200
11200
  return this.modals.length > 0 && this.modals[this.modals.length - 1] === t;
11201
11201
  }
11202
11202
  }
11203
- function Or(e) {
11203
+ function Sr(e) {
11204
11204
  let t = e.activeElement;
11205
11205
  for (; t?.shadowRoot?.activeElement != null; )
11206
11206
  t = t.shadowRoot.activeElement;
@@ -11250,7 +11250,7 @@ function Mn(e) {
11250
11250
  }, [r, l]), E.useEffect(() => {
11251
11251
  if (!l || !h.current)
11252
11252
  return;
11253
- const C = Xe(h.current), x = Or(C);
11253
+ const C = Xe(h.current), x = Sr(C);
11254
11254
  return h.current.contains(x) || (h.current.hasAttribute("tabIndex") || (process.env.NODE_ENV !== "production" && console.error(["MUI: The modal content node does not accept focus.", 'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
11255
11255
  `)), h.current.setAttribute("tabIndex", "-1")), m.current && h.current.focus()), () => {
11256
11256
  i || (f.current && f.current.focus && (c.current = !0, f.current.focus()), f.current = null);
@@ -11258,13 +11258,13 @@ function Mn(e) {
11258
11258
  }, [l]), E.useEffect(() => {
11259
11259
  if (!l || !h.current)
11260
11260
  return;
11261
- const C = Xe(h.current), x = Or(C), T = (I) => {
11261
+ const C = Xe(h.current), x = Sr(C), T = (I) => {
11262
11262
  b.current = I, !(o || !s() || I.key !== "Tab") && x === h.current && I.shiftKey && (c.current = !0, d.current && d.current.focus());
11263
11263
  }, O = () => {
11264
11264
  const I = h.current;
11265
11265
  if (I === null)
11266
11266
  return;
11267
- const j = Or(C);
11267
+ const j = Sr(C);
11268
11268
  if (!C.hasFocus() || !s() || c.current) {
11269
11269
  c.current = !1;
11270
11270
  return;
@@ -11286,7 +11286,7 @@ function Mn(e) {
11286
11286
  };
11287
11287
  C.addEventListener("focusin", O), C.addEventListener("keydown", T, !0);
11288
11288
  const P = setInterval(() => {
11289
- const I = Or(C);
11289
+ const I = Sr(C);
11290
11290
  I && I.tagName === "BODY" && O();
11291
11291
  }, 50);
11292
11292
  return () => {
@@ -11325,7 +11325,7 @@ process.env.NODE_ENV !== "production" && (Mn.propTypes = {
11325
11325
  /**
11326
11326
  * A single child content element.
11327
11327
  */
11328
- children: cr,
11328
+ children: ur,
11329
11329
  /**
11330
11330
  * If `true`, the focus trap will not automatically shift focus to itself when it opens, and
11331
11331
  * replace it to the last focused element when it closes.
@@ -11403,7 +11403,7 @@ function xh(e) {
11403
11403
  const M = bh(t) || C().body;
11404
11404
  sn.add(x(), M), m.current && T();
11405
11405
  }), P = () => sn.isTopModal(x()), I = bt((M) => {
11406
- y.current = M, M && (u && P() ? T() : m.current && $r(m.current, S));
11406
+ y.current = M, M && (u && P() ? T() : m.current && Nr(m.current, S));
11407
11407
  }), j = E.useCallback(() => {
11408
11408
  sn.remove(x(), S);
11409
11409
  }, [S]);
@@ -11612,7 +11612,7 @@ const Th = (e) => {
11612
11612
  className: re(a?.className, K?.backdrop),
11613
11613
  ownerState: U
11614
11614
  });
11615
- return !T && !j && (!B || k) ? null : /* @__PURE__ */ w(Br, {
11615
+ return !T && !j && (!B || k) ? null : /* @__PURE__ */ w(Fr, {
11616
11616
  ref: Z,
11617
11617
  container: d,
11618
11618
  disablePortal: v,
@@ -11656,7 +11656,7 @@ process.env.NODE_ENV !== "production" && (nl.propTypes = {
11656
11656
  /**
11657
11657
  * A single child content element.
11658
11658
  */
11659
- children: cr.isRequired,
11659
+ children: ur.isRequired,
11660
11660
  /**
11661
11661
  * Override or extend the styles applied to the component.
11662
11662
  */
@@ -11986,7 +11986,7 @@ const Na = we("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle",
11986
11986
  paddingBottom: `calc(${e.spacing(1)} * 1.2)`
11987
11987
  }
11988
11988
  }]
11989
- }))), Fr = /* @__PURE__ */ E.forwardRef(function(t, r) {
11989
+ }))), ir = /* @__PURE__ */ E.forwardRef(function(t, r) {
11990
11990
  const o = ye({
11991
11991
  props: t,
11992
11992
  name: "MuiDivider"
@@ -12028,8 +12028,8 @@ const Na = we("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle",
12028
12028
  }) : null
12029
12029
  });
12030
12030
  });
12031
- Fr && (Fr.muiSkipListHighlight = !0);
12032
- process.env.NODE_ENV !== "production" && (Fr.propTypes = {
12031
+ ir && (ir.muiSkipListHighlight = !0);
12032
+ process.env.NODE_ENV !== "production" && (ir.propTypes = {
12033
12033
  // ┌────────────────────────────── Warning ──────────────────────────────┐
12034
12034
  // │ These PropTypes are generated from the TypeScript type definitions. │
12035
12035
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -12340,7 +12340,7 @@ process.env.NODE_ENV !== "production" && (Vr.propTypes = {
12340
12340
  /**
12341
12341
  * A single child content element.
12342
12342
  */
12343
- children: cr.isRequired,
12343
+ children: ur.isRequired,
12344
12344
  /**
12345
12345
  * The transition timing function.
12346
12346
  * You may specify a single easing or a object containing enter and exit values.
@@ -12500,7 +12500,7 @@ process.env.NODE_ENV !== "production" && (ol.propTypes = {
12500
12500
  * Number of columns.
12501
12501
  * @default 2
12502
12502
  */
12503
- cols: Dr,
12503
+ cols: _r,
12504
12504
  /**
12505
12505
  * The component used for the root node.
12506
12506
  * Either a string to use a HTML element or a component.
@@ -12662,7 +12662,7 @@ process.env.NODE_ENV !== "production" && (il.propTypes = {
12662
12662
  * Width of the item in number of grid columns.
12663
12663
  * @default 1
12664
12664
  */
12665
- cols: Dr,
12665
+ cols: _r,
12666
12666
  /**
12667
12667
  * The component used for the root node.
12668
12668
  * Either a string to use a HTML element or a component.
@@ -12672,7 +12672,7 @@ process.env.NODE_ENV !== "production" && (il.propTypes = {
12672
12672
  * Height of the item in number of grid rows.
12673
12673
  * @default 1
12674
12674
  */
12675
- rows: Dr,
12675
+ rows: _r,
12676
12676
  /**
12677
12677
  * @ignore
12678
12678
  */
@@ -13030,7 +13030,7 @@ process.env.NODE_ENV !== "production" && (so.propTypes = {
13030
13030
  function qh(e) {
13031
13031
  return he("MuiListItemButton", e);
13032
13032
  }
13033
- const br = we("MuiListItemButton", ["root", "focusVisible", "dense", "alignItemsFlexStart", "disabled", "divider", "gutters", "selected"]), Gh = (e, t) => {
13033
+ const vr = we("MuiListItemButton", ["root", "focusVisible", "dense", "alignItemsFlexStart", "disabled", "divider", "gutters", "selected"]), Gh = (e, t) => {
13034
13034
  const {
13035
13035
  ownerState: r
13036
13036
  } = e;
@@ -13081,23 +13081,23 @@ const br = we("MuiListItemButton", ["root", "focusVisible", "dense", "alignItems
13081
13081
  backgroundColor: "transparent"
13082
13082
  }
13083
13083
  },
13084
- [`&.${br.selected}`]: {
13084
+ [`&.${vr.selected}`]: {
13085
13085
  backgroundColor: e.alpha((e.vars || e).palette.primary.main, (e.vars || e).palette.action.selectedOpacity),
13086
- [`&.${br.focusVisible}`]: {
13086
+ [`&.${vr.focusVisible}`]: {
13087
13087
  backgroundColor: e.alpha((e.vars || e).palette.primary.main, `${(e.vars || e).palette.action.selectedOpacity} + ${(e.vars || e).palette.action.focusOpacity}`)
13088
13088
  }
13089
13089
  },
13090
- [`&.${br.selected}:hover`]: {
13090
+ [`&.${vr.selected}:hover`]: {
13091
13091
  backgroundColor: e.alpha((e.vars || e).palette.primary.main, `${(e.vars || e).palette.action.selectedOpacity} + ${(e.vars || e).palette.action.hoverOpacity}`),
13092
13092
  // Reset on touch devices, it doesn't add specificity
13093
13093
  "@media (hover: none)": {
13094
13094
  backgroundColor: e.alpha((e.vars || e).palette.primary.main, (e.vars || e).palette.action.selectedOpacity)
13095
13095
  }
13096
13096
  },
13097
- [`&.${br.focusVisible}`]: {
13097
+ [`&.${vr.focusVisible}`]: {
13098
13098
  backgroundColor: (e.vars || e).palette.action.focus
13099
13099
  },
13100
- [`&.${br.disabled}`]: {
13100
+ [`&.${vr.disabled}`]: {
13101
13101
  opacity: (e.vars || e).palette.action.disabledOpacity
13102
13102
  },
13103
13103
  variants: [{
@@ -13544,7 +13544,7 @@ function ul(e, t) {
13544
13544
  let r = e.innerText;
13545
13545
  return r === void 0 && (r = e.textContent), r = r.trim().toLowerCase(), r.length === 0 ? !1 : t.repeating ? r[0] === t.keys[0] : r.startsWith(t.keys.join(""));
13546
13546
  }
13547
- function vr(e, t, r, o, i, a) {
13547
+ function xr(e, t, r, o, i, a) {
13548
13548
  let s = !1, l = i(e, t, t ? r : !1);
13549
13549
  for (; l; ) {
13550
13550
  if (l === e.firstChild) {
@@ -13600,20 +13600,20 @@ const dl = /* @__PURE__ */ E.forwardRef(function(t, r) {
13600
13600
  d && d(C);
13601
13601
  return;
13602
13602
  }
13603
- const P = Or(Xe(x));
13603
+ const P = Sr(Xe(x));
13604
13604
  if (T === "ArrowDown")
13605
- C.preventDefault(), vr(x, P, u, c, So);
13605
+ C.preventDefault(), xr(x, P, u, c, So);
13606
13606
  else if (T === "ArrowUp")
13607
- C.preventDefault(), vr(x, P, u, c, Ma);
13607
+ C.preventDefault(), xr(x, P, u, c, Ma);
13608
13608
  else if (T === "Home")
13609
- C.preventDefault(), vr(x, null, u, c, So);
13609
+ C.preventDefault(), xr(x, null, u, c, So);
13610
13610
  else if (T === "End")
13611
- C.preventDefault(), vr(x, null, u, c, Ma);
13611
+ C.preventDefault(), xr(x, null, u, c, Ma);
13612
13612
  else if (T.length === 1) {
13613
13613
  const I = h.current, j = T.toLowerCase(), D = performance.now();
13614
13614
  I.keys.length > 0 && (D - I.lastTime > 500 ? (I.keys = [], I.repeating = !0, I.previousKeyMatched = !0) : I.repeating && j !== I.keys[0] && (I.repeating = !1)), I.lastTime = D, I.keys.push(j);
13615
13615
  const _ = P && !I.repeating && ul(P, I);
13616
- I.previousKeyMatched && (_ || vr(x, P, !1, c, So, I)) ? C.preventDefault() : I.previousKeyMatched = !1;
13616
+ I.previousKeyMatched && (_ || xr(x, P, !1, c, So, I)) ? C.preventDefault() : I.previousKeyMatched = !1;
13617
13617
  }
13618
13618
  d && d(C);
13619
13619
  }, b = _e(m, r);
@@ -13703,7 +13703,7 @@ function ja(e, t) {
13703
13703
  function Da(e) {
13704
13704
  return [e.horizontal, e.vertical].map((t) => typeof t == "number" ? `${t}px` : t).join(" ");
13705
13705
  }
13706
- function Sr(e) {
13706
+ function Pr(e) {
13707
13707
  return typeof e == "function" ? e() : e;
13708
13708
  }
13709
13709
  const ng = (e) => {
@@ -13779,7 +13779,7 @@ const ng = (e) => {
13779
13779
  }, D = ng(j), _ = E.useCallback(() => {
13780
13780
  if (c === "anchorPosition")
13781
13781
  return process.env.NODE_ENV !== "production" && (l || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), l;
13782
- const W = Sr(a), Q = W && W.nodeType === 1 ? W : Xe(I.current).body, L = Q.getBoundingClientRect();
13782
+ const W = Pr(a), Q = W && W.nodeType === 1 ? W : Xe(I.current).body, L = Q.getBoundingClientRect();
13783
13783
  if (process.env.NODE_ENV !== "production") {
13784
13784
  const ue = Q.getBoundingClientRect();
13785
13785
  process.env.NODE_ENV !== "test" && ue.top === 0 && ue.left === 0 && ue.right === 0 && ue.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
@@ -13805,7 +13805,7 @@ const ng = (e) => {
13805
13805
  };
13806
13806
  const ue = _();
13807
13807
  let ve = ue.top - L.vertical, ee = ue.left - L.horizontal;
13808
- const Ce = ve + Q.height, ge = ee + Q.width, xe = Bt(Sr(a)), Me = xe.innerHeight - m, Ie = xe.innerWidth - m;
13808
+ const Ce = ve + Q.height, ge = ee + Q.width, xe = Bt(Pr(a)), Me = xe.innerHeight - m, Ie = xe.innerWidth - m;
13809
13809
  if (m !== null && ve < m) {
13810
13810
  const Re = ve - m;
13811
13811
  ve -= Re, L.vertical += Re;
@@ -13850,7 +13850,7 @@ const ng = (e) => {
13850
13850
  return;
13851
13851
  const W = Rp(() => {
13852
13852
  N();
13853
- }), Q = Bt(Sr(a));
13853
+ }), Q = Bt(Pr(a));
13854
13854
  return Q.addEventListener("resize", W), () => {
13855
13855
  W.clear(), Q.removeEventListener("resize", W);
13856
13856
  };
@@ -13885,7 +13885,7 @@ const ng = (e) => {
13885
13885
  }
13886
13886
  });
13887
13887
  x === "auto" && !B.muiSupportAuto && (V = void 0);
13888
- const K = f || (a ? Xe(Sr(a)).body : void 0), [z, {
13888
+ const K = f || (a ? Xe(Pr(a)).body : void 0), [z, {
13889
13889
  slots: q,
13890
13890
  slotProps: G,
13891
13891
  ...X
@@ -13959,7 +13959,7 @@ process.env.NODE_ENV !== "production" && (fl.propTypes = {
13959
13959
  */
13960
13960
  anchorEl: Ct(n.oneOfType([mt, n.func]), (e) => {
13961
13961
  if (e.open && (!e.anchorReference || e.anchorReference === "anchorEl")) {
13962
- const t = Sr(e.anchorEl);
13962
+ const t = Pr(e.anchorEl);
13963
13963
  if (t && t.nodeType === 1) {
13964
13964
  const r = t.getBoundingClientRect();
13965
13965
  if (process.env.NODE_ENV !== "test" && r.top === 0 && r.left === 0 && r.right === 0 && r.bottom === 0)
@@ -14050,7 +14050,7 @@ process.env.NODE_ENV !== "production" && (fl.propTypes = {
14050
14050
  * The elevation of the popover.
14051
14051
  * @default 8
14052
14052
  */
14053
- elevation: Dr,
14053
+ elevation: _r,
14054
14054
  /**
14055
14055
  * Specifies how close to the edge of the window the popover can appear.
14056
14056
  * If null, the popover will not be constrained by the window.
@@ -14414,7 +14414,7 @@ process.env.NODE_ENV !== "production" && (ml.propTypes = {
14414
14414
  function pg(e) {
14415
14415
  return he("MuiMenuItem", e);
14416
14416
  }
14417
- const xr = we("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divider", "gutters", "selected"]), fg = (e, t) => {
14417
+ const wr = we("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divider", "gutters", "selected"]), fg = (e, t) => {
14418
14418
  const {
14419
14419
  ownerState: r
14420
14420
  } = e;
@@ -14461,23 +14461,23 @@ const xr = we("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi
14461
14461
  backgroundColor: "transparent"
14462
14462
  }
14463
14463
  },
14464
- [`&.${xr.selected}`]: {
14464
+ [`&.${wr.selected}`]: {
14465
14465
  backgroundColor: e.alpha((e.vars || e).palette.primary.main, (e.vars || e).palette.action.selectedOpacity),
14466
- [`&.${xr.focusVisible}`]: {
14466
+ [`&.${wr.focusVisible}`]: {
14467
14467
  backgroundColor: e.alpha((e.vars || e).palette.primary.main, `${(e.vars || e).palette.action.selectedOpacity} + ${(e.vars || e).palette.action.focusOpacity}`)
14468
14468
  }
14469
14469
  },
14470
- [`&.${xr.selected}:hover`]: {
14470
+ [`&.${wr.selected}:hover`]: {
14471
14471
  backgroundColor: e.alpha((e.vars || e).palette.primary.main, `${(e.vars || e).palette.action.selectedOpacity} + ${(e.vars || e).palette.action.hoverOpacity}`),
14472
14472
  // Reset on touch devices, it doesn't add specificity
14473
14473
  "@media (hover: none)": {
14474
14474
  backgroundColor: e.alpha((e.vars || e).palette.primary.main, (e.vars || e).palette.action.selectedOpacity)
14475
14475
  }
14476
14476
  },
14477
- [`&.${xr.focusVisible}`]: {
14477
+ [`&.${wr.focusVisible}`]: {
14478
14478
  backgroundColor: (e.vars || e).palette.action.focus
14479
14479
  },
14480
- [`&.${xr.disabled}`]: {
14480
+ [`&.${wr.disabled}`]: {
14481
14481
  opacity: (e.vars || e).palette.action.disabledOpacity
14482
14482
  },
14483
14483
  [`& + .${Na.root}`]: {
@@ -14924,7 +14924,7 @@ const bg = (e) => {
14924
14924
  })));
14925
14925
  let ln = !1;
14926
14926
  const _a = new ro();
14927
- let wr = {
14927
+ let Tr = {
14928
14928
  x: 0,
14929
14929
  y: 0
14930
14930
  };
@@ -15014,12 +15014,12 @@ const wi = /* @__PURE__ */ E.forwardRef(function(t, r) {
15014
15014
  kn(oe.target) || (Ie(!1), Me(oe));
15015
15015
  }, te = (oe) => {
15016
15016
  k || B(oe.currentTarget), kn(oe.target) && (Ie(!0), xe(oe));
15017
- }, ur = (oe) => {
15017
+ }, dr = (oe) => {
15018
15018
  z.current = !0;
15019
15019
  const yt = F.props;
15020
15020
  yt.onTouchStart && yt.onTouchStart(oe);
15021
- }, dr = (oe) => {
15022
- ur(oe), H.clear(), G.clear(), ee(), ve.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", ne.start(b, () => {
15021
+ }, pr = (oe) => {
15022
+ dr(oe), H.clear(), G.clear(), ee(), ve.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", ne.start(b, () => {
15023
15023
  document.body.style.WebkitUserSelect = ve.current, xe(oe);
15024
15024
  });
15025
15025
  }, Kr = (oe) => {
@@ -15041,18 +15041,18 @@ const wi = /* @__PURE__ */ E.forwardRef(function(t, r) {
15041
15041
  !A && A !== 0 && (L = !1);
15042
15042
  const Vt = E.useRef(), Jr = (oe) => {
15043
15043
  const yt = F.props;
15044
- yt.onMouseMove && yt.onMouseMove(oe), wr = {
15044
+ yt.onMouseMove && yt.onMouseMove(oe), Tr = {
15045
15045
  x: oe.clientX,
15046
15046
  y: oe.clientY
15047
15047
  }, Vt.current && Vt.current.update();
15048
- }, pr = {}, lo = typeof A == "string";
15049
- u ? (pr.title = !L && lo && !f ? A : null, pr["aria-describedby"] = L ? ue : null) : (pr["aria-label"] = lo ? A : null, pr["aria-labelledby"] = L && !lo ? ue : null);
15048
+ }, fr = {}, lo = typeof A == "string";
15049
+ u ? (fr.title = !L && lo && !f ? A : null, fr["aria-describedby"] = L ? ue : null) : (fr["aria-label"] = lo ? A : null, fr["aria-labelledby"] = L && !lo ? ue : null);
15050
15050
  const qe = {
15051
- ...pr,
15051
+ ...fr,
15052
15052
  ...N,
15053
15053
  ...F.props,
15054
15054
  className: re(N.className, F.props.className),
15055
- onTouchStart: ur,
15055
+ onTouchStart: dr,
15056
15056
  ref: Xr,
15057
15057
  ...v ? {
15058
15058
  onMouseMove: Jr
@@ -15062,8 +15062,8 @@ const wi = /* @__PURE__ */ E.forwardRef(function(t, r) {
15062
15062
  k && !k.getAttribute("data-mui-internal-clone-element") && console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.", "Please make sure that props are spread on the same element that the ref is applied to."].join(`
15063
15063
  `));
15064
15064
  }, [k]));
15065
- const fr = {};
15066
- m || (qe.onTouchStart = dr, qe.onTouchEnd = Kr), f || (qe.onMouseOver = cn(xe, qe.onMouseOver), qe.onMouseLeave = cn(Me, qe.onMouseLeave), q || (fr.onMouseOver = xe, fr.onMouseLeave = Me)), d || (qe.onFocus = cn(te, qe.onFocus), qe.onBlur = cn(Re, qe.onBlur), q || (fr.onFocus = te, fr.onBlur = Re)), process.env.NODE_ENV !== "production" && F.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${F.props.title}\` or the Tooltip component.`].join(`
15065
+ const mr = {};
15066
+ m || (qe.onTouchStart = pr, qe.onTouchEnd = Kr), f || (qe.onMouseOver = cn(xe, qe.onMouseOver), qe.onMouseLeave = cn(Me, qe.onMouseLeave), q || (mr.onMouseOver = xe, mr.onMouseLeave = Me)), d || (qe.onFocus = cn(te, qe.onFocus), qe.onBlur = cn(Re, qe.onBlur), q || (mr.onFocus = te, mr.onBlur = Re)), process.env.NODE_ENV !== "production" && F.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${F.props.title}\` or the Tooltip component.`].join(`
15067
15067
  `));
15068
15068
  const St = {
15069
15069
  ...o,
@@ -15073,7 +15073,7 @@ const wi = /* @__PURE__ */ E.forwardRef(function(t, r) {
15073
15073
  placement: I,
15074
15074
  PopperComponentProp: j,
15075
15075
  touch: z.current
15076
- }, mr = typeof _.popper == "function" ? _.popper(St) : _.popper, bl = E.useMemo(() => {
15076
+ }, hr = typeof _.popper == "function" ? _.popper(St) : _.popper, bl = E.useMemo(() => {
15077
15077
  let oe = [{
15078
15078
  name: "arrow",
15079
15079
  enabled: !!U,
@@ -15082,12 +15082,12 @@ const wi = /* @__PURE__ */ E.forwardRef(function(t, r) {
15082
15082
  padding: 4
15083
15083
  }
15084
15084
  }];
15085
- return D.popperOptions?.modifiers && (oe = oe.concat(D.popperOptions.modifiers)), mr?.popperOptions?.modifiers && (oe = oe.concat(mr.popperOptions.modifiers)), {
15085
+ return D.popperOptions?.modifiers && (oe = oe.concat(D.popperOptions.modifiers)), hr?.popperOptions?.modifiers && (oe = oe.concat(hr.popperOptions.modifiers)), {
15086
15086
  ...D.popperOptions,
15087
- ...mr?.popperOptions,
15087
+ ...hr?.popperOptions,
15088
15088
  modifiers: oe
15089
15089
  };
15090
- }, [U, D.popperOptions, mr?.popperOptions]), co = bg(St), vl = typeof _.transition == "function" ? _.transition(St) : _.transition, Qr = {
15090
+ }, [U, D.popperOptions, hr?.popperOptions]), co = bg(St), vl = typeof _.transition == "function" ? _.transition(St) : _.transition, Qr = {
15091
15091
  slots: {
15092
15092
  popper: l.Popper,
15093
15093
  transition: l.Transition ?? R,
@@ -15099,7 +15099,7 @@ const wi = /* @__PURE__ */ E.forwardRef(function(t, r) {
15099
15099
  arrow: _.arrow ?? c.arrow,
15100
15100
  popper: {
15101
15101
  ...D,
15102
- ...mr ?? c.popper
15102
+ ...hr ?? c.popper
15103
15103
  },
15104
15104
  // resolvedPopperProps can be spread because it's already an object
15105
15105
  tooltip: _.tooltip ?? c.tooltip,
@@ -15135,10 +15135,10 @@ const wi = /* @__PURE__ */ E.forwardRef(function(t, r) {
15135
15135
  placement: I,
15136
15136
  anchorEl: v ? {
15137
15137
  getBoundingClientRect: () => ({
15138
- top: wr.y,
15139
- left: wr.x,
15140
- right: wr.x,
15141
- bottom: wr.y,
15138
+ top: Tr.y,
15139
+ left: Tr.x,
15140
+ right: Tr.x,
15141
+ bottom: Tr.y,
15142
15142
  width: 0,
15143
15143
  height: 0
15144
15144
  })
@@ -15147,7 +15147,7 @@ const wi = /* @__PURE__ */ E.forwardRef(function(t, r) {
15147
15147
  open: k ? L : !1,
15148
15148
  id: ue,
15149
15149
  transition: !0,
15150
- ...fr,
15150
+ ...mr,
15151
15151
  ...wl,
15152
15152
  popperOptions: bl,
15153
15153
  children: ({
@@ -15179,7 +15179,7 @@ process.env.NODE_ENV !== "production" && (wi.propTypes = {
15179
15179
  /**
15180
15180
  * Tooltip reference element.
15181
15181
  */
15182
- children: cr.isRequired,
15182
+ children: ur.isRequired,
15183
15183
  /**
15184
15184
  * Override or extend the styles applied to the component.
15185
15185
  */
@@ -15407,15 +15407,15 @@ process.env.NODE_ENV !== "production" && (gl.propTypes = {
15407
15407
  */
15408
15408
  useFlexGap: n.bool
15409
15409
  });
15410
- const Tg = lr(/* @__PURE__ */ w("path", {
15410
+ const Tg = cr(/* @__PURE__ */ w("path", {
15411
15411
  d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"
15412
- }), "ExpandMore"), Eg = lr(/* @__PURE__ */ w("path", {
15412
+ }), "ExpandMore"), Eg = cr(/* @__PURE__ */ w("path", {
15413
15413
  d: "m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"
15414
- }), "ExpandLess"), Cg = lr(/* @__PURE__ */ w("path", {
15414
+ }), "ExpandLess"), Cg = cr(/* @__PURE__ */ w("path", {
15415
15415
  d: "M3 18h13v-2H3zm0-5h10v-2H3zm0-7v2h13V6zm18 9.59L17.42 12 21 8.41 19.59 7l-5 5 5 5z"
15416
- }), "MenuOpen"), La = lr(/* @__PURE__ */ w("path", {
15416
+ }), "MenuOpen"), La = cr(/* @__PURE__ */ w("path", {
15417
15417
  d: "M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
15418
- }), "Menu"), Og = lr(/* @__PURE__ */ w("path", {
15418
+ }), "Menu"), Og = cr(/* @__PURE__ */ w("path", {
15419
15419
  d: "m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"
15420
15420
  }), "Logout"), Ba = J("aside", {
15421
15421
  shouldForwardProp: (e) => e !== "collapsed" && e !== "width"
@@ -15670,9 +15670,9 @@ const Tg = lr(/* @__PURE__ */ w("path", {
15670
15670
  }) => {
15671
15671
  gt();
15672
15672
  const [y, m] = Mt(!1), [h, p] = Mt(i), [b, v] = Mt([]);
15673
- Nr(() => {
15673
+ Ir(() => {
15674
15674
  p(i);
15675
- }, [i]), Nr(() => {
15675
+ }, [i]), Ir(() => {
15676
15676
  const P = (j) => {
15677
15677
  let D = [];
15678
15678
  return j.forEach((_) => {
@@ -15701,7 +15701,7 @@ const Tg = lr(/* @__PURE__ */ w("path", {
15701
15701
  !y && /* @__PURE__ */ w(gn, { onClick: S, size: "small", children: h ? /* @__PURE__ */ w(La, {}) : /* @__PURE__ */ w(Cg, {}) })
15702
15702
  ] }),
15703
15703
  d && /* @__PURE__ */ w(De, { sx: { px: 2, pb: 2 }, children: d }),
15704
- /* @__PURE__ */ w(Pg, { children: /* @__PURE__ */ w(so, { component: "nav", sx: { px: 0, py: 0 }, children: e.map((P) => P.tipo === "divisor" ? null : P.tipo === "seccion" ? h && !y ? /* @__PURE__ */ w(Fr, { sx: { my: 1, opacity: 0.4 } }, P.id) : /* @__PURE__ */ w(
15704
+ /* @__PURE__ */ w(Pg, { children: /* @__PURE__ */ w(so, { component: "nav", sx: { px: 0, py: 0 }, children: e.map((P) => P.tipo === "divisor" ? /* @__PURE__ */ w(ir, { sx: { my: 1, opacity: 0.6 } }, P.id) : P.tipo === "seccion" ? h && !y ? /* @__PURE__ */ w(ir, { sx: { my: 1, opacity: 0.4 } }, P.id) : /* @__PURE__ */ w(
15705
15705
  st,
15706
15706
  {
15707
15707
  variant: "caption",
@@ -16060,7 +16060,7 @@ const Ho = (e) => {
16060
16060
  let f = Lg(r), y = Bg(o);
16061
16061
  a && (f = "center", y = "center"), s && (y = "space-between");
16062
16062
  let m = null;
16063
- return i === !0 ? m = /* @__PURE__ */ w(Fr, { flexItem: !0 }) : i && (m = i), /* @__PURE__ */ w(
16063
+ return i === !0 ? m = /* @__PURE__ */ w(ir, { flexItem: !0 }) : i && (m = i), /* @__PURE__ */ w(
16064
16064
  gl,
16065
16065
  {
16066
16066
  ref: d,
@@ -2,7 +2,7 @@ import { default as React } from 'react';
2
2
  import { CodeplexInfoUsuario } from '../cabecera/cabecera';
3
3
  export interface CodeplexElementoMenuLateral {
4
4
  id: string;
5
- etiqueta: React.ReactNode;
5
+ etiqueta?: React.ReactNode;
6
6
  icono?: React.ReactNode;
7
7
  href?: string;
8
8
  activo?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codeplex-sac/layout",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",