biblio-react 3.0.0-alpha27 → 3.0.0-alpha28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -61,15 +61,15 @@ const Dh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
61
61
  __proto__: null,
62
62
  default: ar
63
63
  }, Symbol.toStringTag, { value: "Module" }));
64
- function X(e) {
64
+ function Q(e) {
65
65
  if (typeof e != "string")
66
66
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : ar(7));
67
67
  return e.charAt(0).toUpperCase() + e.slice(1);
68
68
  }
69
- n(X, "capitalize$1");
69
+ n(Q, "capitalize$1");
70
70
  const _h = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
71
71
  __proto__: null,
72
- default: X
72
+ default: Q
73
73
  }, Symbol.toStringTag, { value: "Module" }));
74
74
  function jh(...e) {
75
75
  return e.reduce((t, r) => r == null ? t : /* @__PURE__ */ n(function(...i) {
@@ -89,7 +89,7 @@ function O() {
89
89
  }, O.apply(this, arguments);
90
90
  }
91
91
  n(O, "_extends$2");
92
- function G(e, t) {
92
+ function q(e, t) {
93
93
  if (e == null) return {};
94
94
  var r = {};
95
95
  for (var a in e)
@@ -99,7 +99,7 @@ function G(e, t) {
99
99
  }
100
100
  return r;
101
101
  }
102
- n(G, "_objectWithoutPropertiesLoose");
102
+ n(q, "_objectWithoutPropertiesLoose");
103
103
  function pd(e) {
104
104
  var t, r, a = "";
105
105
  if (typeof e == "string" || typeof e == "number") a += e;
@@ -110,11 +110,11 @@ function pd(e) {
110
110
  return a;
111
111
  }
112
112
  n(pd, "r");
113
- function Y() {
113
+ function K() {
114
114
  for (var e, t, r = 0, a = "", i = arguments.length; r < i; r++) (e = arguments[r]) && (t = pd(e)) && (a && (a += " "), a += t);
115
115
  return a;
116
116
  }
117
- n(Y, "clsx");
117
+ n(K, "clsx");
118
118
  function he(e, t, r = void 0) {
119
119
  const a = {};
120
120
  return Object.keys(e).forEach(
@@ -990,27 +990,27 @@ var nc;
990
990
  function Pb() {
991
991
  return nc || (nc = 1, process.env.NODE_ENV !== "production" && function() {
992
992
  var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, l = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
993
- function P(z) {
994
- return typeof z == "string" || typeof z == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
995
- z === a || z === d || z === l || z === i || z === h || z === m || typeof z == "object" && z !== null && (z.$$typeof === v || z.$$typeof === g || z.$$typeof === s || z.$$typeof === c || z.$$typeof === p || z.$$typeof === y || z.$$typeof === C || z.$$typeof === E || z.$$typeof === b);
993
+ function P(I) {
994
+ return typeof I == "string" || typeof I == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
995
+ I === a || I === d || I === l || I === i || I === h || I === m || typeof I == "object" && I !== null && (I.$$typeof === v || I.$$typeof === g || I.$$typeof === s || I.$$typeof === c || I.$$typeof === p || I.$$typeof === y || I.$$typeof === C || I.$$typeof === E || I.$$typeof === b);
996
996
  }
997
997
  n(P, "isValidElementType");
998
- function S(z) {
999
- if (typeof z == "object" && z !== null) {
1000
- var te = z.$$typeof;
998
+ function S(I) {
999
+ if (typeof I == "object" && I !== null) {
1000
+ var te = I.$$typeof;
1001
1001
  switch (te) {
1002
1002
  case t:
1003
- var j = z.type;
1004
- switch (j) {
1003
+ var V = I.type;
1004
+ switch (V) {
1005
1005
  case u:
1006
1006
  case d:
1007
1007
  case a:
1008
1008
  case l:
1009
1009
  case i:
1010
1010
  case h:
1011
- return j;
1011
+ return V;
1012
1012
  default:
1013
- var ne = j && j.$$typeof;
1013
+ var ne = V && V.$$typeof;
1014
1014
  switch (ne) {
1015
1015
  case c:
1016
1016
  case p:
@@ -1028,59 +1028,59 @@ function Pb() {
1028
1028
  }
1029
1029
  }
1030
1030
  n(S, "typeOf");
1031
- var x = u, w = d, F = c, $ = s, R = t, k = p, A = a, D = v, L = g, N = r, _ = l, I = i, B = h, M = !1;
1032
- function q(z) {
1033
- return M || (M = !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.")), ee(z) || S(z) === u;
1031
+ var x = u, w = d, F = c, $ = s, R = t, k = p, A = a, _ = v, L = g, D = r, j = l, N = i, z = h, M = !1;
1032
+ function U(I) {
1033
+ return M || (M = !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.")), ee(I) || S(I) === u;
1034
1034
  }
1035
- n(q, "isAsyncMode");
1036
- function ee(z) {
1037
- return S(z) === d;
1035
+ n(U, "isAsyncMode");
1036
+ function ee(I) {
1037
+ return S(I) === d;
1038
1038
  }
1039
1039
  n(ee, "isConcurrentMode");
1040
- function ue(z) {
1041
- return S(z) === c;
1040
+ function ce(I) {
1041
+ return S(I) === c;
1042
1042
  }
1043
- n(ue, "isContextConsumer");
1044
- function pe(z) {
1045
- return S(z) === s;
1043
+ n(ce, "isContextConsumer");
1044
+ function pe(I) {
1045
+ return S(I) === s;
1046
1046
  }
1047
1047
  n(pe, "isContextProvider");
1048
- function ce(z) {
1049
- return typeof z == "object" && z !== null && z.$$typeof === t;
1048
+ function le(I) {
1049
+ return typeof I == "object" && I !== null && I.$$typeof === t;
1050
1050
  }
1051
- n(ce, "isElement");
1052
- function Z(z) {
1053
- return S(z) === p;
1051
+ n(le, "isElement");
1052
+ function X(I) {
1053
+ return S(I) === p;
1054
1054
  }
1055
- n(Z, "isForwardRef");
1056
- function ae(z) {
1057
- return S(z) === a;
1055
+ n(X, "isForwardRef");
1056
+ function ae(I) {
1057
+ return S(I) === a;
1058
1058
  }
1059
1059
  n(ae, "isFragment");
1060
- function oe(z) {
1061
- return S(z) === v;
1060
+ function re(I) {
1061
+ return S(I) === v;
1062
1062
  }
1063
- n(oe, "isLazy");
1064
- function Se(z) {
1065
- return S(z) === g;
1063
+ n(re, "isLazy");
1064
+ function Te(I) {
1065
+ return S(I) === g;
1066
1066
  }
1067
- n(Se, "isMemo");
1068
- function le(z) {
1069
- return S(z) === r;
1067
+ n(Te, "isMemo");
1068
+ function se(I) {
1069
+ return S(I) === r;
1070
1070
  }
1071
- n(le, "isPortal");
1072
- function se(z) {
1073
- return S(z) === l;
1071
+ n(se, "isPortal");
1072
+ function ue(I) {
1073
+ return S(I) === l;
1074
1074
  }
1075
- n(se, "isProfiler");
1076
- function Ce(z) {
1077
- return S(z) === i;
1075
+ n(ue, "isProfiler");
1076
+ function ve(I) {
1077
+ return S(I) === i;
1078
1078
  }
1079
- n(Ce, "isStrictMode");
1080
- function U(z) {
1081
- return S(z) === h;
1079
+ n(ve, "isStrictMode");
1080
+ function Z(I) {
1081
+ return S(I) === h;
1082
1082
  }
1083
- n(U, "isSuspense"), Le.AsyncMode = x, Le.ConcurrentMode = w, Le.ContextConsumer = F, Le.ContextProvider = $, Le.Element = R, Le.ForwardRef = k, Le.Fragment = A, Le.Lazy = D, Le.Memo = L, Le.Portal = N, Le.Profiler = _, Le.StrictMode = I, Le.Suspense = B, Le.isAsyncMode = q, Le.isConcurrentMode = ee, Le.isContextConsumer = ue, Le.isContextProvider = pe, Le.isElement = ce, Le.isForwardRef = Z, Le.isFragment = ae, Le.isLazy = oe, Le.isMemo = Se, Le.isPortal = le, Le.isProfiler = se, Le.isStrictMode = Ce, Le.isSuspense = U, Le.isValidElementType = P, Le.typeOf = S;
1083
+ n(Z, "isSuspense"), Le.AsyncMode = x, Le.ConcurrentMode = w, Le.ContextConsumer = F, Le.ContextProvider = $, Le.Element = R, Le.ForwardRef = k, Le.Fragment = A, Le.Lazy = _, Le.Memo = L, Le.Portal = D, Le.Profiler = j, Le.StrictMode = N, Le.Suspense = z, Le.isAsyncMode = U, Le.isConcurrentMode = ee, Le.isContextConsumer = ce, Le.isContextProvider = pe, Le.isElement = le, Le.isForwardRef = X, Le.isFragment = ae, Le.isLazy = re, Le.isMemo = Te, Le.isPortal = se, Le.isProfiler = ue, Le.isStrictMode = ve, Le.isSuspense = Z, Le.isValidElementType = P, Le.typeOf = S;
1084
1084
  }()), Le;
1085
1085
  }
1086
1086
  n(Pb, "requireReactIs_development$1");
@@ -2067,20 +2067,20 @@ function sg() {
2067
2067
  return Oc || (Oc = 1, process.env.NODE_ENV !== "production" && function() {
2068
2068
  var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), v = !1, b = !1, y = !1, C = !1, E = !1, P;
2069
2069
  P = Symbol.for("react.module.reference");
2070
- function S(j) {
2071
- return !!(typeof j == "string" || typeof j == "function" || j === r || j === i || E || j === a || j === d || j === p || C || j === g || v || b || y || typeof j == "object" && j !== null && (j.$$typeof === m || j.$$typeof === h || j.$$typeof === l || j.$$typeof === s || j.$$typeof === u || // This needs to include all possible module reference object
2070
+ function S(V) {
2071
+ return !!(typeof V == "string" || typeof V == "function" || V === r || V === i || E || V === a || V === d || V === p || C || V === g || v || b || y || typeof V == "object" && V !== null && (V.$$typeof === m || V.$$typeof === h || V.$$typeof === l || V.$$typeof === s || V.$$typeof === u || // This needs to include all possible module reference object
2072
2072
  // types supported by any Flight configuration anywhere since
2073
2073
  // we don't know which Flight build this will end up being used
2074
2074
  // with.
2075
- j.$$typeof === P || j.getModuleId !== void 0));
2075
+ V.$$typeof === P || V.getModuleId !== void 0));
2076
2076
  }
2077
2077
  n(S, "isValidElementType");
2078
- function x(j) {
2079
- if (typeof j == "object" && j !== null) {
2080
- var ne = j.$$typeof;
2078
+ function x(V) {
2079
+ if (typeof V == "object" && V !== null) {
2080
+ var ne = V.$$typeof;
2081
2081
  switch (ne) {
2082
2082
  case e:
2083
- var we = j.type;
2083
+ var we = V.type;
2084
2084
  switch (we) {
2085
2085
  case r:
2086
2086
  case i:
@@ -2108,63 +2108,63 @@ function sg() {
2108
2108
  }
2109
2109
  }
2110
2110
  n(x, "typeOf");
2111
- var w = s, F = l, $ = e, R = u, k = r, A = m, D = h, L = t, N = i, _ = a, I = d, B = p, M = !1, q = !1;
2112
- function ee(j) {
2111
+ var w = s, F = l, $ = e, R = u, k = r, A = m, _ = h, L = t, D = i, j = a, N = d, z = p, M = !1, U = !1;
2112
+ function ee(V) {
2113
2113
  return M || (M = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
2114
2114
  }
2115
2115
  n(ee, "isAsyncMode");
2116
- function ue(j) {
2117
- return q || (q = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
2116
+ function ce(V) {
2117
+ return U || (U = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
2118
2118
  }
2119
- n(ue, "isConcurrentMode");
2120
- function pe(j) {
2121
- return x(j) === s;
2119
+ n(ce, "isConcurrentMode");
2120
+ function pe(V) {
2121
+ return x(V) === s;
2122
2122
  }
2123
2123
  n(pe, "isContextConsumer");
2124
- function ce(j) {
2125
- return x(j) === l;
2124
+ function le(V) {
2125
+ return x(V) === l;
2126
2126
  }
2127
- n(ce, "isContextProvider");
2128
- function Z(j) {
2129
- return typeof j == "object" && j !== null && j.$$typeof === e;
2127
+ n(le, "isContextProvider");
2128
+ function X(V) {
2129
+ return typeof V == "object" && V !== null && V.$$typeof === e;
2130
2130
  }
2131
- n(Z, "isElement");
2132
- function ae(j) {
2133
- return x(j) === u;
2131
+ n(X, "isElement");
2132
+ function ae(V) {
2133
+ return x(V) === u;
2134
2134
  }
2135
2135
  n(ae, "isForwardRef");
2136
- function oe(j) {
2137
- return x(j) === r;
2136
+ function re(V) {
2137
+ return x(V) === r;
2138
2138
  }
2139
- n(oe, "isFragment");
2140
- function Se(j) {
2141
- return x(j) === m;
2139
+ n(re, "isFragment");
2140
+ function Te(V) {
2141
+ return x(V) === m;
2142
2142
  }
2143
- n(Se, "isLazy");
2144
- function le(j) {
2145
- return x(j) === h;
2143
+ n(Te, "isLazy");
2144
+ function se(V) {
2145
+ return x(V) === h;
2146
2146
  }
2147
- n(le, "isMemo");
2148
- function se(j) {
2149
- return x(j) === t;
2147
+ n(se, "isMemo");
2148
+ function ue(V) {
2149
+ return x(V) === t;
2150
2150
  }
2151
- n(se, "isPortal");
2152
- function Ce(j) {
2153
- return x(j) === i;
2151
+ n(ue, "isPortal");
2152
+ function ve(V) {
2153
+ return x(V) === i;
2154
2154
  }
2155
- n(Ce, "isProfiler");
2156
- function U(j) {
2157
- return x(j) === a;
2155
+ n(ve, "isProfiler");
2156
+ function Z(V) {
2157
+ return x(V) === a;
2158
2158
  }
2159
- n(U, "isStrictMode");
2160
- function z(j) {
2161
- return x(j) === d;
2159
+ n(Z, "isStrictMode");
2160
+ function I(V) {
2161
+ return x(V) === d;
2162
2162
  }
2163
- n(z, "isSuspense");
2164
- function te(j) {
2165
- return x(j) === p;
2163
+ n(I, "isSuspense");
2164
+ function te(V) {
2165
+ return x(V) === p;
2166
2166
  }
2167
- n(te, "isSuspenseList"), Ie.ContextConsumer = w, Ie.ContextProvider = F, Ie.Element = $, Ie.ForwardRef = R, Ie.Fragment = k, Ie.Lazy = A, Ie.Memo = D, Ie.Portal = L, Ie.Profiler = N, Ie.StrictMode = _, Ie.Suspense = I, Ie.SuspenseList = B, Ie.isAsyncMode = ee, Ie.isConcurrentMode = ue, Ie.isContextConsumer = pe, Ie.isContextProvider = ce, Ie.isElement = Z, Ie.isForwardRef = ae, Ie.isFragment = oe, Ie.isLazy = Se, Ie.isMemo = le, Ie.isPortal = se, Ie.isProfiler = Ce, Ie.isStrictMode = U, Ie.isSuspense = z, Ie.isSuspenseList = te, Ie.isValidElementType = S, Ie.typeOf = x;
2167
+ n(te, "isSuspenseList"), Ie.ContextConsumer = w, Ie.ContextProvider = F, Ie.Element = $, Ie.ForwardRef = R, Ie.Fragment = k, Ie.Lazy = A, Ie.Memo = _, Ie.Portal = L, Ie.Profiler = D, Ie.StrictMode = j, Ie.Suspense = N, Ie.SuspenseList = z, Ie.isAsyncMode = ee, Ie.isConcurrentMode = ce, Ie.isContextConsumer = pe, Ie.isContextProvider = le, Ie.isElement = X, Ie.isForwardRef = ae, Ie.isFragment = re, Ie.isLazy = Te, Ie.isMemo = se, Ie.isPortal = ue, Ie.isProfiler = ve, Ie.isStrictMode = Z, Ie.isSuspense = I, Ie.isSuspenseList = te, Ie.isValidElementType = S, Ie.typeOf = x;
2168
2168
  }()), Ie;
2169
2169
  }
2170
2170
  n(sg, "requireReactIs_development");
@@ -2234,7 +2234,7 @@ function jd(e) {
2234
2234
  },
2235
2235
  unit: r = "px",
2236
2236
  step: a = 5
2237
- } = e, i = G(e, pg), l = fg(t), s = Object.keys(l);
2237
+ } = e, i = q(e, pg), l = fg(t), s = Object.keys(l);
2238
2238
  function c(m) {
2239
2239
  return `@media (min-width:${typeof t[m] == "number" ? t[m] : m}${r})`;
2240
2240
  }
@@ -2388,7 +2388,7 @@ function Ye(e) {
2388
2388
  const c = s[t], u = s.theme, d = to(u, a) || {};
2389
2389
  return _t(s, c, /* @__PURE__ */ n((h) => {
2390
2390
  let m = qn(d, i, h);
2391
- return h === m && typeof h == "string" && (m = qn(d, i, `${t}${h === "default" ? "" : X(h)}`, h)), r === !1 ? m : {
2391
+ return h === m && typeof h == "string" && (m = qn(d, i, `${t}${h === "default" ? "" : Q(h)}`, h)), r === !1 ? m : {
2392
2392
  [r]: m
2393
2393
  };
2394
2394
  }, "styleFromPropValue"));
@@ -2971,7 +2971,7 @@ function Hd() {
2971
2971
  const m = to(i, d) || {};
2972
2972
  return h ? h(s) : _t(s, a, /* @__PURE__ */ n((v) => {
2973
2973
  let b = qn(m, p, v);
2974
- return v === b && typeof v == "string" && (b = qn(m, p, `${r}${v === "default" ? "" : X(v)}`, v)), u === !1 ? b : {
2974
+ return v === b && typeof v == "string" && (b = qn(m, p, `${r}${v === "default" ? "" : Q(v)}`, v)), u === !1 ? b : {
2975
2975
  [u]: b
2976
2976
  };
2977
2977
  }, "styleFromPropValue"));
@@ -3038,7 +3038,7 @@ function sn(e = {}, ...t) {
3038
3038
  palette: a = {},
3039
3039
  spacing: i,
3040
3040
  shape: l = {}
3041
- } = e, s = G(e, ov), c = jd(r), u = Cg(i);
3041
+ } = e, s = q(e, ov), c = jd(r), u = Cg(i);
3042
3042
  let d = st({
3043
3043
  breakpoints: c,
3044
3044
  direction: "ltr",
@@ -3076,7 +3076,7 @@ const nv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3076
3076
  function wa(e) {
3077
3077
  const {
3078
3078
  sx: t
3079
- } = e, r = G(e, iv), {
3079
+ } = e, r = q(e, iv), {
3080
3080
  systemProps: a,
3081
3081
  otherProps: i
3082
3082
  } = lv(r);
@@ -3228,26 +3228,26 @@ function Cv(e = {}) {
3228
3228
  let F = P(x);
3229
3229
  const $ = w ? w.map(P) : [];
3230
3230
  u && m && $.push((A) => {
3231
- const D = Sn((0, Tt.default)({}, A, {
3231
+ const _ = Sn((0, Tt.default)({}, A, {
3232
3232
  defaultTheme: r,
3233
3233
  themeId: t
3234
3234
  }));
3235
- if (!D.components || !D.components[u] || !D.components[u].styleOverrides)
3235
+ if (!_.components || !_.components[u] || !_.components[u].styleOverrides)
3236
3236
  return null;
3237
- const L = D.components[u].styleOverrides, N = {};
3238
- return Object.entries(L).forEach(([_, I]) => {
3239
- N[_] = _n(I, (0, Tt.default)({}, A, {
3240
- theme: D
3237
+ const L = _.components[u].styleOverrides, D = {};
3238
+ return Object.entries(L).forEach(([j, N]) => {
3239
+ D[j] = _n(N, (0, Tt.default)({}, A, {
3240
+ theme: _
3241
3241
  }));
3242
- }), m(A, N);
3242
+ }), m(A, D);
3243
3243
  }), u && !v && $.push((A) => {
3244
- var D;
3244
+ var _;
3245
3245
  const L = Sn((0, Tt.default)({}, A, {
3246
3246
  defaultTheme: r,
3247
3247
  themeId: t
3248
- })), N = L == null || (D = L.components) == null || (D = D[u]) == null ? void 0 : D.variants;
3248
+ })), D = L == null || (_ = L.components) == null || (_ = _[u]) == null ? void 0 : _.variants;
3249
3249
  return _n({
3250
- variants: N
3250
+ variants: D
3251
3251
  }, (0, Tt.default)({}, A, {
3252
3252
  theme: L
3253
3253
  }));
@@ -3768,7 +3768,7 @@ function Zv(e) {
3768
3768
  mode: t = "light",
3769
3769
  contrastThreshold: r = 3,
3770
3770
  tonalOffset: a = 0.2
3771
- } = e, i = G(e, Uv), l = e.primary || qv(t), s = e.secondary || Gv(t), c = e.error || Kv(t), u = e.info || Yv(t), d = e.success || Qv(t), p = e.warning || Xv(t);
3771
+ } = e, i = q(e, Uv), l = e.primary || qv(t), s = e.secondary || Gv(t), c = e.error || Kv(t), u = e.info || Yv(t), d = e.success || Qv(t), p = e.warning || Xv(t);
3772
3772
  function h(b) {
3773
3773
  const y = Fc(b, li.text.primary) >= r ? li.text.primary : Rc.text.primary;
3774
3774
  if (process.env.NODE_ENV !== "production") {
@@ -3888,7 +3888,7 @@ function ty(e, t) {
3888
3888
  // Apply the CSS properties to all the variants.
3889
3889
  allVariants: p,
3890
3890
  pxToRem: h
3891
- } = r, m = G(r, Jv);
3891
+ } = r, m = q(r, Jv);
3892
3892
  process.env.NODE_ENV !== "production" && (typeof i != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof d != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
3893
3893
  const g = i / 14, v = h || ((C) => `${C / d * g}rem`), b = /* @__PURE__ */ n((C, E, P, S, x) => O({
3894
3894
  fontFamily: a,
@@ -3984,7 +3984,7 @@ function uy(e) {
3984
3984
  duration: s = r.standard,
3985
3985
  easing: c = t.easeInOut,
3986
3986
  delay: u = 0
3987
- } = l, d = G(l, iy);
3987
+ } = l, d = q(l, iy);
3988
3988
  if (process.env.NODE_ENV !== "production") {
3989
3989
  const p = /* @__PURE__ */ n((m) => typeof m == "string", "isString"), h = /* @__PURE__ */ n((m) => !isNaN(parseFloat(m)), "isNumber");
3990
3990
  !p(i) && !Array.isArray(i) && console.error('MUI: Argument "props" must be a string or Array.'), !h(s) && !p(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), p(c) || console.error('MUI: Argument "easing" must be a string.'), !h(u) && !p(u) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof l != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
@@ -4014,7 +4014,7 @@ function Jd(e = {}, ...t) {
4014
4014
  palette: a = {},
4015
4015
  transitions: i = {},
4016
4016
  typography: l = {}
4017
- } = e, s = G(e, py);
4017
+ } = e, s = q(e, py);
4018
4018
  if (e.vars)
4019
4019
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : ar(18));
4020
4020
  const c = Zv(a), u = sn(e);
@@ -4087,7 +4087,7 @@ const my = ["children", "className", "color", "component", "fontSize", "htmlColo
4087
4087
  fontSize: r,
4088
4088
  classes: a
4089
4089
  } = e, i = {
4090
- root: ["root", t !== "inherit" && `color${X(t)}`, `fontSize${X(r)}`]
4090
+ root: ["root", t !== "inherit" && `color${Q(t)}`, `fontSize${Q(r)}`]
4091
4091
  };
4092
4092
  return he(i, fy, a);
4093
4093
  }, "useUtilityClasses$F"), by = W("svg", {
@@ -4097,7 +4097,7 @@ const my = ["children", "className", "color", "component", "fontSize", "htmlColo
4097
4097
  const {
4098
4098
  ownerState: r
4099
4099
  } = e;
4100
- return [t.root, r.color !== "inherit" && t[`color${X(r.color)}`], t[`fontSize${X(r.fontSize)}`]];
4100
+ return [t.root, r.color !== "inherit" && t[`color${Q(r.color)}`], t[`fontSize${Q(r.fontSize)}`]];
4101
4101
  }, "overridesResolver")
4102
4102
  })(({
4103
4103
  theme: e,
@@ -4143,7 +4143,7 @@ const my = ["children", "className", "color", "component", "fontSize", "htmlColo
4143
4143
  inheritViewBox: p = !1,
4144
4144
  titleAccess: h,
4145
4145
  viewBox: m = "0 0 24 24"
4146
- } = a, g = G(a, my), v = /* @__PURE__ */ T.isValidElement(i) && i.type === "svg", b = O({}, a, {
4146
+ } = a, g = q(a, my), v = /* @__PURE__ */ T.isValidElement(i) && i.type === "svg", b = O({}, a, {
4147
4147
  color: s,
4148
4148
  component: c,
4149
4149
  fontSize: u,
@@ -4156,7 +4156,7 @@ const my = ["children", "className", "color", "component", "fontSize", "htmlColo
4156
4156
  const C = hy(b);
4157
4157
  return /* @__PURE__ */ H(by, O({
4158
4158
  as: c,
4159
- className: Y(C.root, l),
4159
+ className: K(C.root, l),
4160
4160
  focusable: "false",
4161
4161
  color: d,
4162
4162
  "aria-hidden": h ? void 0 : !0,
@@ -4497,7 +4497,7 @@ const ky = {
4497
4497
  }, "configure")
4498
4498
  }, My = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4499
4499
  __proto__: null,
4500
- capitalize: X,
4500
+ capitalize: Q,
4501
4501
  createChainedFunction: jh,
4502
4502
  createSvgIcon: cn,
4503
4503
  debounce: un,
@@ -4658,11 +4658,11 @@ function Uy(e = {}) {
4658
4658
  const p = Ma(r), h = wa(u), {
4659
4659
  className: m,
4660
4660
  component: g = "div"
4661
- } = h, v = G(h, Wy);
4661
+ } = h, v = q(h, Wy);
4662
4662
  return /* @__PURE__ */ f(l, O({
4663
4663
  as: g,
4664
4664
  ref: d,
4665
- className: Y(m, i ? i(a) : a),
4665
+ className: K(m, i ? i(a) : a),
4666
4666
  theme: t && p[t] || p
4667
4667
  }, v));
4668
4668
  }, "Box"));
@@ -4700,7 +4700,7 @@ n(Zy, "defaultOverridesResolver");
4700
4700
  function Vn(e, t) {
4701
4701
  let {
4702
4702
  ownerState: r
4703
- } = t, a = G(t, qy);
4703
+ } = t, a = q(t, qy);
4704
4704
  const i = typeof e == "function" ? e(O({
4705
4705
  ownerState: r
4706
4706
  }, a)) : e;
@@ -4712,7 +4712,7 @@ function Vn(e, t) {
4712
4712
  const {
4713
4713
  variants: l = []
4714
4714
  } = i;
4715
- let c = G(i, Gy);
4715
+ let c = q(i, Gy);
4716
4716
  return l.forEach((u) => {
4717
4717
  let d = !0;
4718
4718
  typeof u.props == "function" ? d = u.props(O({
@@ -4749,7 +4749,7 @@ function Jy(e = {}) {
4749
4749
  // TODO v6: remove `lowercaseFirstLetter()` in the next major release
4750
4750
  // For more details: https://github.com/mui/material-ui/pull/37908
4751
4751
  overridesResolver: m = Zy(_c(d))
4752
- } = c, g = G(c, Ky), v = p !== void 0 ? p : (
4752
+ } = c, g = q(c, Ky), v = p !== void 0 ? p : (
4753
4753
  // TODO v6: remove `Root` in the next major release
4754
4754
  // For more details: https://github.com/mui/material-ui/pull/37908
4755
4755
  d && d !== "Root" && d !== "root" || !1
@@ -4771,26 +4771,26 @@ function Jy(e = {}) {
4771
4771
  let F = P(x);
4772
4772
  const $ = w ? w.map(P) : [];
4773
4773
  u && m && $.push((A) => {
4774
- const D = Tn(O({}, A, {
4774
+ const _ = Tn(O({}, A, {
4775
4775
  defaultTheme: r,
4776
4776
  themeId: t
4777
4777
  }));
4778
- if (!D.components || !D.components[u] || !D.components[u].styleOverrides)
4778
+ if (!_.components || !_.components[u] || !_.components[u].styleOverrides)
4779
4779
  return null;
4780
- const L = D.components[u].styleOverrides, N = {};
4781
- return Object.entries(L).forEach(([_, I]) => {
4782
- N[_] = Vn(I, O({}, A, {
4783
- theme: D
4780
+ const L = _.components[u].styleOverrides, D = {};
4781
+ return Object.entries(L).forEach(([j, N]) => {
4782
+ D[j] = Vn(N, O({}, A, {
4783
+ theme: _
4784
4784
  }));
4785
- }), m(A, N);
4785
+ }), m(A, D);
4786
4786
  }), u && !v && $.push((A) => {
4787
- var D;
4787
+ var _;
4788
4788
  const L = Tn(O({}, A, {
4789
4789
  defaultTheme: r,
4790
4790
  themeId: t
4791
- })), N = L == null || (D = L.components) == null || (D = D[u]) == null ? void 0 : D.variants;
4791
+ })), D = L == null || (_ = L.components) == null || (_ = _[u]) == null ? void 0 : _.variants;
4792
4792
  return Vn({
4793
- variants: N
4793
+ variants: D
4794
4794
  }, O({}, A, {
4795
4795
  theme: L
4796
4796
  }));
@@ -4803,7 +4803,7 @@ function Jy(e = {}) {
4803
4803
  const k = E(F, ...$);
4804
4804
  if (process.env.NODE_ENV !== "production") {
4805
4805
  let A;
4806
- u && (A = `${u}${X(d || "")}`), A === void 0 && (A = `Styled(${_d(s)})`), k.displayName = A;
4806
+ u && (A = `${u}${Q(d || "")}`), A === void 0 && (A = `Styled(${_d(s)})`), k.displayName = A;
4807
4807
  }
4808
4808
  return s.muiName && (k.muiName = s.muiName), k;
4809
4809
  }, "muiStyledResolver");
@@ -4943,7 +4943,7 @@ const pO = ["value"], sp = /* @__PURE__ */ T.createContext();
4943
4943
  function cp(e) {
4944
4944
  let {
4945
4945
  value: t
4946
- } = e, r = G(e, pO);
4946
+ } = e, r = q(e, pO);
4947
4947
  return /* @__PURE__ */ f(sp.Provider, O({
4948
4948
  value: t ?? !0
4949
4949
  }, r));
@@ -5102,7 +5102,7 @@ function OO(e = {}) {
5102
5102
  children: y,
5103
5103
  className: C,
5104
5104
  useFlexGap: E = !1
5105
- } = h, P = G(h, fO), S = {
5105
+ } = h, P = q(h, fO), S = {
5106
5106
  direction: g,
5107
5107
  spacing: v,
5108
5108
  useFlexGap: E
@@ -5111,7 +5111,7 @@ function OO(e = {}) {
5111
5111
  as: m,
5112
5112
  ownerState: S,
5113
5113
  ref: d,
5114
- className: Y(x.root, C)
5114
+ className: K(x.root, C)
5115
5115
  }, P, {
5116
5116
  children: b ? gO(y, b) : y
5117
5117
  }));
@@ -5134,7 +5134,7 @@ const xO = ["theme"];
5134
5134
  function wl(e) {
5135
5135
  let {
5136
5136
  theme: t
5137
- } = e, r = G(e, xO);
5137
+ } = e, r = q(e, xO);
5138
5138
  const a = t[ro];
5139
5139
  return /* @__PURE__ */ f(Xn, O({}, r, {
5140
5140
  themeId: a ? ro : void 0,
@@ -5391,13 +5391,13 @@ function fp(e) {
5391
5391
  className: l
5392
5392
  } = e;
5393
5393
  if (!t) {
5394
- const g = Y(r == null ? void 0 : r.className, l, i == null ? void 0 : i.className, a == null ? void 0 : a.className), v = O({}, r == null ? void 0 : r.style, i == null ? void 0 : i.style, a == null ? void 0 : a.style), b = O({}, r, i, a);
5394
+ const g = K(r == null ? void 0 : r.className, l, i == null ? void 0 : i.className, a == null ? void 0 : a.className), v = O({}, r == null ? void 0 : r.style, i == null ? void 0 : i.style, a == null ? void 0 : a.style), b = O({}, r, i, a);
5395
5395
  return g.length > 0 && (b.className = g), Object.keys(v).length > 0 && (b.style = v), {
5396
5396
  props: b,
5397
5397
  internalRef: void 0
5398
5398
  };
5399
5399
  }
5400
- const s = pp(O({}, i, a)), c = Wc(a), u = Wc(i), d = t(s), p = Y(d == null ? void 0 : d.className, r == null ? void 0 : r.className, l, i == null ? void 0 : i.className, a == null ? void 0 : a.className), h = O({}, d == null ? void 0 : d.style, r == null ? void 0 : r.style, i == null ? void 0 : i.style, a == null ? void 0 : a.style), m = O({}, d, r, u, c);
5400
+ const s = pp(O({}, i, a)), c = Wc(a), u = Wc(i), d = t(s), p = K(d == null ? void 0 : d.className, r == null ? void 0 : r.className, l, i == null ? void 0 : i.className, a == null ? void 0 : a.className), h = O({}, d == null ? void 0 : d.style, r == null ? void 0 : r.style, i == null ? void 0 : i.style, a == null ? void 0 : a.style), m = O({}, d, r, u, c);
5401
5401
  return p.length > 0 && (m.className = p), Object.keys(h).length > 0 && (m.style = h), {
5402
5402
  props: m,
5403
5403
  internalRef: d.ref
@@ -5416,7 +5416,7 @@ function jt(e) {
5416
5416
  externalSlotProps: a,
5417
5417
  ownerState: i,
5418
5418
  skipResolvingSlotProps: l = !1
5419
- } = e, s = G(e, jO), c = l ? {} : mp(a, i), {
5419
+ } = e, s = q(e, jO), c = l ? {} : mp(a, i), {
5420
5420
  props: u,
5421
5421
  internalRef: d
5422
5422
  } = fp(O({}, s, {
@@ -5505,8 +5505,8 @@ function Jn(e) {
5505
5505
  let $ = [];
5506
5506
  if ((P.activeElement === d.current || P.activeElement === p.current) && ($ = l(v.current)), $.length > 0) {
5507
5507
  var R, k;
5508
- const A = !!((R = y.current) != null && R.shiftKey && ((k = y.current) == null ? void 0 : k.key) === "Tab"), D = $[0], L = $[$.length - 1];
5509
- typeof D != "string" && typeof L != "string" && (A ? L.focus() : D.focus());
5508
+ const A = !!((R = y.current) != null && R.shiftKey && ((k = y.current) == null ? void 0 : k.key) === "Tab"), _ = $[0], L = $[$.length - 1];
5509
+ typeof _ != "string" && typeof L != "string" && (A ? L.focus() : _.focus());
5510
5510
  } else
5511
5511
  F.focus();
5512
5512
  }, "contain");
@@ -5809,7 +5809,7 @@ var KO = /* @__PURE__ */ n(function(t) {
5809
5809
  return null;
5810
5810
  var l = this.props, s = l.children;
5811
5811
  l.in, l.mountOnEnter, l.unmountOnExit, l.appear, l.enter, l.exit, l.timeout, l.addEndListener, l.onEnter, l.onEntering, l.onEntered, l.onExit, l.onExiting, l.onExited, l.nodeRef;
5812
- var c = G(l, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
5812
+ var c = q(l, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
5813
5813
  return (
5814
5814
  // allows for nested Transitions
5815
5815
  /* @__PURE__ */ Gt.createElement(ea.Provider, {
@@ -6137,7 +6137,7 @@ var JO = Object.values || function(e) {
6137
6137
  };
6138
6138
  }));
6139
6139
  }, "handleExited"), r.render = /* @__PURE__ */ n(function() {
6140
- var i = this.props, l = i.component, s = i.childFactory, c = G(i, ["component", "childFactory"]), u = this.state.contextValue, d = JO(this.state.children).map(s);
6140
+ var i = this.props, l = i.component, s = i.childFactory, c = q(i, ["component", "childFactory"]), u = this.state.contextValue, d = JO(this.state.children).map(s);
6141
6141
  return delete c.appear, delete c.enter, delete c.exit, l === null ? /* @__PURE__ */ Gt.createElement(ea.Provider, {
6142
6142
  value: u
6143
6143
  }, d) : /* @__PURE__ */ Gt.createElement(ea.Provider, {
@@ -6241,31 +6241,31 @@ const tx = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
6241
6241
  timeout: C = i,
6242
6242
  // eslint-disable-next-line react/prop-types
6243
6243
  TransitionComponent: E = Bt
6244
- } = t, P = G(t, tx), S = T.useRef(null), x = lt(S, c.ref, r), w = /* @__PURE__ */ n((N) => (_) => {
6245
- if (N) {
6246
- const I = S.current;
6247
- _ === void 0 ? N(I) : N(I, _);
6244
+ } = t, P = q(t, tx), S = T.useRef(null), x = lt(S, c.ref, r), w = /* @__PURE__ */ n((D) => (j) => {
6245
+ if (D) {
6246
+ const N = S.current;
6247
+ j === void 0 ? D(N) : D(N, j);
6248
6248
  }
6249
- }, "normalizedTransitionCallback"), F = w(m), $ = w((N, _) => {
6250
- Il(N);
6251
- const I = oo({
6249
+ }, "normalizedTransitionCallback"), F = w(m), $ = w((D, j) => {
6250
+ Il(D);
6251
+ const N = oo({
6252
6252
  style: y,
6253
6253
  timeout: C,
6254
6254
  easing: u
6255
6255
  }, {
6256
6256
  mode: "enter"
6257
6257
  });
6258
- N.style.webkitTransition = a.transitions.create("opacity", I), N.style.transition = a.transitions.create("opacity", I), p && p(N, _);
6259
- }), R = w(h), k = w(b), A = w((N) => {
6260
- const _ = oo({
6258
+ D.style.webkitTransition = a.transitions.create("opacity", N), D.style.transition = a.transitions.create("opacity", N), p && p(D, j);
6259
+ }), R = w(h), k = w(b), A = w((D) => {
6260
+ const j = oo({
6261
6261
  style: y,
6262
6262
  timeout: C,
6263
6263
  easing: u
6264
6264
  }, {
6265
6265
  mode: "exit"
6266
6266
  });
6267
- N.style.webkitTransition = a.transitions.create("opacity", _), N.style.transition = a.transitions.create("opacity", _), g && g(N);
6268
- }), D = w(v);
6267
+ D.style.webkitTransition = a.transitions.create("opacity", j), D.style.transition = a.transitions.create("opacity", j), g && g(D);
6268
+ }), _ = w(v);
6269
6269
  return /* @__PURE__ */ f(E, O({
6270
6270
  appear: s,
6271
6271
  in: d,
@@ -6274,20 +6274,20 @@ const tx = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
6274
6274
  onEntered: R,
6275
6275
  onEntering: F,
6276
6276
  onExit: A,
6277
- onExited: D,
6277
+ onExited: _,
6278
6278
  onExiting: k,
6279
- addEndListener: /* @__PURE__ */ n((N) => {
6280
- l && l(S.current, N);
6279
+ addEndListener: /* @__PURE__ */ n((D) => {
6280
+ l && l(S.current, D);
6281
6281
  }, "handleAddEndListener"),
6282
6282
  timeout: C
6283
6283
  }, P, {
6284
- children: /* @__PURE__ */ n((N, _) => /* @__PURE__ */ T.cloneElement(c, O({
6284
+ children: /* @__PURE__ */ n((D, j) => /* @__PURE__ */ T.cloneElement(c, O({
6285
6285
  style: O({
6286
6286
  opacity: 0,
6287
- visibility: N === "exited" && !d ? "hidden" : void 0
6288
- }, rx[N], y, c.props.style),
6287
+ visibility: D === "exited" && !d ? "hidden" : void 0
6288
+ }, rx[D], y, c.props.style),
6289
6289
  ref: x
6290
- }, _)), "children")
6290
+ }, j)), "children")
6291
6291
  }));
6292
6292
  }, "Fade"));
6293
6293
  process.env.NODE_ENV !== "production" && (Nl.propTypes = {
@@ -6419,7 +6419,7 @@ const nx = ["children", "className", "component", "components", "componentsProps
6419
6419
  slots: b = {},
6420
6420
  TransitionComponent: y = Nl,
6421
6421
  transitionDuration: C
6422
- } = s, E = G(s, nx), P = O({}, s, {
6422
+ } = s, E = q(s, nx), P = O({}, s, {
6423
6423
  component: d,
6424
6424
  invisible: m
6425
6425
  }), S = ax(P), x = (a = v.root) != null ? a : h.root;
@@ -6431,7 +6431,7 @@ const nx = ["children", "className", "component", "components", "componentsProps
6431
6431
  "aria-hidden": !0
6432
6432
  }, x, {
6433
6433
  as: (i = (l = b.root) != null ? l : p.Root) != null ? i : d,
6434
- className: Y(S.root, u, x == null ? void 0 : x.className),
6434
+ className: K(S.root, u, x == null ? void 0 : x.className),
6435
6435
  ownerState: O({}, P, x == null ? void 0 : x.ownerState),
6436
6436
  classes: S,
6437
6437
  ref: r,
@@ -6566,10 +6566,10 @@ function ux(e) {
6566
6566
  disableScrollLock: a
6567
6567
  }), v.current && (v.current.scrollTop = 0);
6568
6568
  }, "handleMounted"), F = Ws(() => {
6569
- const I = lx(t) || S().body;
6570
- i.add(x(), I), v.current && w();
6571
- }), $ = T.useCallback(() => i.isTopModal(x()), [i]), R = Ws((I) => {
6572
- g.current = I, I && (p && $() ? w() : v.current && No(v.current, P));
6569
+ const N = lx(t) || S().body;
6570
+ i.add(x(), N), v.current && w();
6571
+ }), $ = T.useCallback(() => i.isTopModal(x()), [i]), R = Ws((N) => {
6572
+ g.current = N, N && (p && $() ? w() : v.current && No(v.current, P));
6573
6573
  }), k = T.useCallback(() => {
6574
6574
  i.remove(x(), P);
6575
6575
  }, [P, i]);
@@ -6578,19 +6578,19 @@ function ux(e) {
6578
6578
  }, [k]), T.useEffect(() => {
6579
6579
  p ? F() : (!E || !l) && k();
6580
6580
  }, [p, k, E, l, F]);
6581
- const A = /* @__PURE__ */ n((I) => (B) => {
6581
+ const A = /* @__PURE__ */ n((N) => (z) => {
6582
6582
  var M;
6583
- (M = I.onKeyDown) == null || M.call(I, B), !(B.key !== "Escape" || B.which === 229 || // Wait until IME is settled.
6584
- !$()) && (r || (B.stopPropagation(), d && d(B, "escapeKeyDown")));
6585
- }, "createHandleKeyDown"), D = /* @__PURE__ */ n((I) => (B) => {
6583
+ (M = N.onKeyDown) == null || M.call(N, z), !(z.key !== "Escape" || z.which === 229 || // Wait until IME is settled.
6584
+ !$()) && (r || (z.stopPropagation(), d && d(z, "escapeKeyDown")));
6585
+ }, "createHandleKeyDown"), _ = /* @__PURE__ */ n((N) => (z) => {
6586
6586
  var M;
6587
- (M = I.onClick) == null || M.call(I, B), B.target === B.currentTarget && d && d(B, "backdropClick");
6587
+ (M = N.onClick) == null || M.call(N, z), z.target === z.currentTarget && d && d(z, "backdropClick");
6588
6588
  }, "createHandleBackdropClick");
6589
6589
  return {
6590
- getRootProps: /* @__PURE__ */ n((I = {}) => {
6591
- const B = pp(e);
6592
- delete B.onTransitionEnter, delete B.onTransitionExited;
6593
- const M = O({}, B, I);
6590
+ getRootProps: /* @__PURE__ */ n((N = {}) => {
6591
+ const z = pp(e);
6592
+ delete z.onTransitionEnter, delete z.onTransitionExited;
6593
+ const M = O({}, z, N);
6594
6594
  return O({
6595
6595
  role: "presentation"
6596
6596
  }, M, {
@@ -6598,24 +6598,24 @@ function ux(e) {
6598
6598
  ref: b
6599
6599
  });
6600
6600
  }, "getRootProps"),
6601
- getBackdropProps: /* @__PURE__ */ n((I = {}) => {
6602
- const B = I;
6601
+ getBackdropProps: /* @__PURE__ */ n((N = {}) => {
6602
+ const z = N;
6603
6603
  return O({
6604
6604
  "aria-hidden": !0
6605
- }, B, {
6606
- onClick: D(B),
6605
+ }, z, {
6606
+ onClick: _(z),
6607
6607
  open: p
6608
6608
  });
6609
6609
  }, "getBackdropProps"),
6610
6610
  getTransitionProps: /* @__PURE__ */ n(() => {
6611
- const I = /* @__PURE__ */ n(() => {
6611
+ const N = /* @__PURE__ */ n(() => {
6612
6612
  C(!1), s && s();
6613
- }, "handleEnter"), B = /* @__PURE__ */ n(() => {
6613
+ }, "handleEnter"), z = /* @__PURE__ */ n(() => {
6614
6614
  C(!0), c && c(), l && k();
6615
6615
  }, "handleExited");
6616
6616
  return {
6617
- onEnter: Us(I, u == null ? void 0 : u.props.onEnter),
6618
- onExited: Us(B, u == null ? void 0 : u.props.onExited)
6617
+ onEnter: Us(N, u == null ? void 0 : u.props.onEnter),
6618
+ onExited: Us(z, u == null ? void 0 : u.props.onExited)
6619
6619
  };
6620
6620
  }, "getTransitionProps"),
6621
6621
  rootRef: b,
@@ -6692,11 +6692,11 @@ const px = ["BackdropComponent", "BackdropProps", "classes", "className", "close
6692
6692
  hideBackdrop: R = !1,
6693
6693
  keepMounted: k = !1,
6694
6694
  onBackdropClick: A,
6695
- open: D,
6695
+ open: _,
6696
6696
  slotProps: L,
6697
- slots: N
6697
+ slots: D
6698
6698
  // eslint-disable-next-line react/prop-types
6699
- } = d, _ = G(d, px), I = O({}, d, {
6699
+ } = d, j = q(d, px), N = O({}, d, {
6700
6700
  closeAfterTransition: g,
6701
6701
  disableAutoFocus: P,
6702
6702
  disableEnforceFocus: S,
@@ -6707,60 +6707,60 @@ const px = ["BackdropComponent", "BackdropProps", "classes", "className", "close
6707
6707
  hideBackdrop: R,
6708
6708
  keepMounted: k
6709
6709
  }), {
6710
- getRootProps: B,
6710
+ getRootProps: z,
6711
6711
  getBackdropProps: M,
6712
- getTransitionProps: q,
6712
+ getTransitionProps: U,
6713
6713
  portalRef: ee,
6714
- isTopModal: ue,
6714
+ isTopModal: ce,
6715
6715
  exited: pe,
6716
- hasTransition: ce
6717
- } = ux(O({}, I, {
6716
+ hasTransition: le
6717
+ } = ux(O({}, N, {
6718
6718
  rootRef: r
6719
- })), Z = O({}, I, {
6719
+ })), X = O({}, N, {
6720
6720
  exited: pe
6721
- }), ae = fx(Z), oe = {};
6722
- if (v.props.tabIndex === void 0 && (oe.tabIndex = "-1"), ce) {
6721
+ }), ae = fx(X), re = {};
6722
+ if (v.props.tabIndex === void 0 && (re.tabIndex = "-1"), le) {
6723
6723
  const {
6724
6724
  onEnter: te,
6725
- onExited: j
6726
- } = q();
6727
- oe.onEnter = te, oe.onExited = j;
6725
+ onExited: V
6726
+ } = U();
6727
+ re.onEnter = te, re.onExited = V;
6728
6728
  }
6729
- const Se = (a = (i = N == null ? void 0 : N.root) != null ? i : C.Root) != null ? a : mx, le = (l = (s = N == null ? void 0 : N.backdrop) != null ? s : C.Backdrop) != null ? l : p, se = (c = L == null ? void 0 : L.root) != null ? c : E.root, Ce = (u = L == null ? void 0 : L.backdrop) != null ? u : E.backdrop, U = jt({
6730
- elementType: Se,
6731
- externalSlotProps: se,
6732
- externalForwardedProps: _,
6733
- getSlotProps: B,
6729
+ const Te = (a = (i = D == null ? void 0 : D.root) != null ? i : C.Root) != null ? a : mx, se = (l = (s = D == null ? void 0 : D.backdrop) != null ? s : C.Backdrop) != null ? l : p, ue = (c = L == null ? void 0 : L.root) != null ? c : E.root, ve = (u = L == null ? void 0 : L.backdrop) != null ? u : E.backdrop, Z = jt({
6730
+ elementType: Te,
6731
+ externalSlotProps: ue,
6732
+ externalForwardedProps: j,
6733
+ getSlotProps: z,
6734
6734
  additionalProps: {
6735
6735
  ref: r,
6736
6736
  as: y
6737
6737
  },
6738
- ownerState: Z,
6739
- className: Y(m, se == null ? void 0 : se.className, ae == null ? void 0 : ae.root, !Z.open && Z.exited && (ae == null ? void 0 : ae.hidden))
6740
- }), z = jt({
6741
- elementType: le,
6742
- externalSlotProps: Ce,
6738
+ ownerState: X,
6739
+ className: K(m, ue == null ? void 0 : ue.className, ae == null ? void 0 : ae.root, !X.open && X.exited && (ae == null ? void 0 : ae.hidden))
6740
+ }), I = jt({
6741
+ elementType: se,
6742
+ externalSlotProps: ve,
6743
6743
  additionalProps: h,
6744
6744
  getSlotProps: /* @__PURE__ */ n((te) => M(O({}, te, {
6745
- onClick: /* @__PURE__ */ n((j) => {
6746
- A && A(j), te != null && te.onClick && te.onClick(j);
6745
+ onClick: /* @__PURE__ */ n((V) => {
6746
+ A && A(V), te != null && te.onClick && te.onClick(V);
6747
6747
  }, "onClick")
6748
6748
  })), "getSlotProps"),
6749
- className: Y(Ce == null ? void 0 : Ce.className, h == null ? void 0 : h.className, ae == null ? void 0 : ae.backdrop),
6750
- ownerState: Z
6749
+ className: K(ve == null ? void 0 : ve.className, h == null ? void 0 : h.className, ae == null ? void 0 : ae.backdrop),
6750
+ ownerState: X
6751
6751
  });
6752
- return !k && !D && (!ce || pe) ? null : /* @__PURE__ */ f(Yo, {
6752
+ return !k && !_ && (!le || pe) ? null : /* @__PURE__ */ f(Yo, {
6753
6753
  ref: ee,
6754
6754
  container: b,
6755
6755
  disablePortal: w,
6756
- children: /* @__PURE__ */ H(Se, O({}, U, {
6757
- children: [!R && p ? /* @__PURE__ */ f(le, O({}, z)) : null, /* @__PURE__ */ f(Jn, {
6756
+ children: /* @__PURE__ */ H(Te, O({}, Z, {
6757
+ children: [!R && p ? /* @__PURE__ */ f(se, O({}, I)) : null, /* @__PURE__ */ f(Jn, {
6758
6758
  disableEnforceFocus: S,
6759
6759
  disableAutoFocus: P,
6760
6760
  disableRestoreFocus: F,
6761
- isEnabled: ue,
6762
- open: D,
6763
- children: /* @__PURE__ */ T.cloneElement(v, oe)
6761
+ isEnabled: ce,
6762
+ open: _,
6763
+ children: /* @__PURE__ */ T.cloneElement(v, re)
6764
6764
  })]
6765
6765
  }))
6766
6766
  });
@@ -7037,7 +7037,7 @@ const Ox = ["className", "component", "elevation", "square", "variant"], xx = /*
7037
7037
  elevation: s = 1,
7038
7038
  square: c = !1,
7039
7039
  variant: u = "elevation"
7040
- } = a, d = G(a, Ox), p = O({}, a, {
7040
+ } = a, d = q(a, Ox), p = O({}, a, {
7041
7041
  component: l,
7042
7042
  elevation: s,
7043
7043
  square: c,
@@ -7047,7 +7047,7 @@ const Ox = ["className", "component", "elevation", "square", "variant"], xx = /*
7047
7047
  `)), /* @__PURE__ */ f(Sx, O({
7048
7048
  as: l,
7049
7049
  ownerState: p,
7050
- className: Y(h.root, i),
7050
+ className: K(h.root, i),
7051
7051
  ref: r
7052
7052
  }, d));
7053
7053
  }, "Paper"));
@@ -7122,8 +7122,8 @@ const Cx = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
7122
7122
  fullScreen: l
7123
7123
  } = e, s = {
7124
7124
  root: ["root"],
7125
- container: ["container", `scroll${X(r)}`],
7126
- paper: ["paper", `paperScroll${X(r)}`, `paperWidth${X(String(a))}`, i && "paperFullWidth", l && "paperFullScreen"]
7125
+ container: ["container", `scroll${Q(r)}`],
7126
+ paper: ["paper", `paperScroll${Q(r)}`, `paperWidth${Q(String(a))}`, i && "paperFullWidth", l && "paperFullScreen"]
7127
7127
  };
7128
7128
  return he(s, Tx, t);
7129
7129
  }, "useUtilityClasses$B"), Fx = W(_l, {
@@ -7142,7 +7142,7 @@ const Cx = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
7142
7142
  const {
7143
7143
  ownerState: r
7144
7144
  } = e;
7145
- return [t.container, t[`scroll${X(r.scroll)}`]];
7145
+ return [t.container, t[`scroll${Q(r.scroll)}`]];
7146
7146
  }, "overridesResolver")
7147
7147
  })(({
7148
7148
  ownerState: e
@@ -7175,7 +7175,7 @@ const Cx = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
7175
7175
  const {
7176
7176
  ownerState: r
7177
7177
  } = e;
7178
- return [t.paper, t[`scrollPaper${X(r.scroll)}`], t[`paperWidth${X(String(r.maxWidth))}`], r.fullWidth && t.paperFullWidth, r.fullScreen && t.paperFullScreen];
7178
+ return [t.paper, t[`scrollPaper${Q(r.scroll)}`], t[`paperWidth${Q(String(r.maxWidth))}`], r.fullWidth && t.paperFullWidth, r.fullScreen && t.paperFullScreen];
7179
7179
  }, "overridesResolver")
7180
7180
  })(({
7181
7181
  theme: e,
@@ -7255,21 +7255,21 @@ const Cx = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
7255
7255
  TransitionComponent: F = Nl,
7256
7256
  transitionDuration: $ = l,
7257
7257
  TransitionProps: R
7258
- } = a, k = G(a, Cx), A = O({}, a, {
7258
+ } = a, k = q(a, Cx), A = O({}, a, {
7259
7259
  disableEscapeKeyDown: m,
7260
7260
  fullScreen: g,
7261
7261
  fullWidth: v,
7262
7262
  maxWidth: b,
7263
7263
  scroll: w
7264
- }), D = Ex(A), L = T.useRef(), N = /* @__PURE__ */ n((M) => {
7264
+ }), _ = Ex(A), L = T.useRef(), D = /* @__PURE__ */ n((M) => {
7265
7265
  L.current = M.target === M.currentTarget;
7266
- }, "handleMouseDown"), _ = /* @__PURE__ */ n((M) => {
7266
+ }, "handleMouseDown"), j = /* @__PURE__ */ n((M) => {
7267
7267
  C && C(M), L.current && (L.current = null, y && y(M), E && E(M, "backdropClick"));
7268
- }, "handleBackdropClick"), I = dn(c), B = T.useMemo(() => ({
7269
- titleId: I
7270
- }), [I]);
7268
+ }, "handleBackdropClick"), N = dn(c), z = T.useMemo(() => ({
7269
+ titleId: N
7270
+ }), [N]);
7271
7271
  return /* @__PURE__ */ f(Fx, O({
7272
- className: Y(D.root, h),
7272
+ className: K(_.root, h),
7273
7273
  closeAfterTransition: !0,
7274
7274
  components: {
7275
7275
  Backdrop: Px
@@ -7284,7 +7284,7 @@ const Cx = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
7284
7284
  onClose: E,
7285
7285
  open: P,
7286
7286
  ref: r,
7287
- onClick: _,
7287
+ onClick: j,
7288
7288
  ownerState: A
7289
7289
  }, k, {
7290
7290
  children: /* @__PURE__ */ f(F, O({
@@ -7294,20 +7294,20 @@ const Cx = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
7294
7294
  role: "presentation"
7295
7295
  }, R, {
7296
7296
  children: /* @__PURE__ */ f(wx, {
7297
- className: Y(D.container),
7298
- onMouseDown: N,
7297
+ className: K(_.container),
7298
+ onMouseDown: D,
7299
7299
  ownerState: A,
7300
7300
  children: /* @__PURE__ */ f(Rx, O({
7301
7301
  as: S,
7302
7302
  elevation: 24,
7303
7303
  role: "dialog",
7304
7304
  "aria-describedby": s,
7305
- "aria-labelledby": I
7305
+ "aria-labelledby": N
7306
7306
  }, x, {
7307
- className: Y(D.paper, x.className),
7307
+ className: K(_.paper, x.className),
7308
7308
  ownerState: A,
7309
7309
  children: /* @__PURE__ */ f(jl.Provider, {
7310
- value: B,
7310
+ value: z,
7311
7311
  children: p
7312
7312
  })
7313
7313
  }))
@@ -7488,11 +7488,11 @@ const Mx = ["className", "disableSpacing"], $x = /* @__PURE__ */ n((e) => {
7488
7488
  }), {
7489
7489
  className: i,
7490
7490
  disableSpacing: l = !1
7491
- } = a, s = G(a, Mx), c = O({}, a, {
7491
+ } = a, s = q(a, Mx), c = O({}, a, {
7492
7492
  disableSpacing: l
7493
7493
  }), u = $x(c);
7494
7494
  return /* @__PURE__ */ f(Lx, O({
7495
- className: Y(u.root, i),
7495
+ className: K(u.root, i),
7496
7496
  ownerState: c,
7497
7497
  ref: r
7498
7498
  }, s));
@@ -7574,11 +7574,11 @@ const Nx = de("MuiDialogTitle", ["root"]), Dx = ["className", "dividers"], _x =
7574
7574
  }), {
7575
7575
  className: i,
7576
7576
  dividers: l = !1
7577
- } = a, s = G(a, Dx), c = O({}, a, {
7577
+ } = a, s = q(a, Dx), c = O({}, a, {
7578
7578
  dividers: l
7579
7579
  }), u = _x(c);
7580
7580
  return /* @__PURE__ */ f(jx, O({
7581
- className: Y(u.root, i),
7581
+ className: K(u.root, i),
7582
7582
  ownerState: c,
7583
7583
  ref: r
7584
7584
  }, s));
@@ -7624,7 +7624,7 @@ const Bx = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
7624
7624
  variant: l,
7625
7625
  classes: s
7626
7626
  } = e, c = {
7627
- root: ["root", l, e.align !== "inherit" && `align${X(t)}`, r && "gutterBottom", a && "noWrap", i && "paragraph"]
7627
+ root: ["root", l, e.align !== "inherit" && `align${Q(t)}`, r && "gutterBottom", a && "noWrap", i && "paragraph"]
7628
7628
  };
7629
7629
  return he(c, Vx, s);
7630
7630
  }, "useUtilityClasses$y"), Hx = W("span", {
@@ -7634,7 +7634,7 @@ const Bx = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
7634
7634
  const {
7635
7635
  ownerState: r
7636
7636
  } = e;
7637
- return [t.root, r.variant && t[r.variant], r.align !== "inherit" && t[`align${X(r.align)}`], r.noWrap && t.noWrap, r.gutterBottom && t.gutterBottom, r.paragraph && t.paragraph];
7637
+ return [t.root, r.variant && t[r.variant], r.align !== "inherit" && t[`align${Q(r.align)}`], r.noWrap && t.noWrap, r.gutterBottom && t.gutterBottom, r.paragraph && t.paragraph];
7638
7638
  }, "overridesResolver")
7639
7639
  })(({
7640
7640
  theme: e,
@@ -7687,7 +7687,7 @@ const Bx = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
7687
7687
  paragraph: h = !1,
7688
7688
  variant: m = "body1",
7689
7689
  variantMapping: g = qc
7690
- } = l, v = G(l, Bx), b = O({}, l, {
7690
+ } = l, v = q(l, Bx), b = O({}, l, {
7691
7691
  align: s,
7692
7692
  color: i,
7693
7693
  className: c,
@@ -7702,7 +7702,7 @@ const Bx = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
7702
7702
  as: y,
7703
7703
  ref: r,
7704
7704
  ownerState: b,
7705
- className: Y(C.root, c)
7705
+ className: K(C.root, c)
7706
7706
  }, v));
7707
7707
  }, "Typography"));
7708
7708
  process.env.NODE_ENV !== "production" && (ir.propTypes = {
@@ -7803,14 +7803,14 @@ const Gx = ["children", "className"], Kx = /* @__PURE__ */ n((e) => {
7803
7803
  name: "MuiDialogContentText"
7804
7804
  }), {
7805
7805
  className: i
7806
- } = a, l = G(a, Gx), s = Kx(l);
7806
+ } = a, l = q(a, Gx), s = Kx(l);
7807
7807
  return /* @__PURE__ */ f(Yx, O({
7808
7808
  component: "p",
7809
7809
  variant: "body1",
7810
7810
  color: "text.secondary",
7811
7811
  ref: r,
7812
7812
  ownerState: l,
7813
- className: Y(s.root, i)
7813
+ className: K(s.root, i)
7814
7814
  }, a, {
7815
7815
  classes: s
7816
7816
  }));
@@ -7858,12 +7858,12 @@ const Qx = ["className", "id"], Xx = /* @__PURE__ */ n((e) => {
7858
7858
  }), {
7859
7859
  className: i,
7860
7860
  id: l
7861
- } = a, s = G(a, Qx), c = a, u = Xx(c), {
7861
+ } = a, s = q(a, Qx), c = a, u = Xx(c), {
7862
7862
  titleId: d = l
7863
7863
  } = T.useContext(jl);
7864
7864
  return /* @__PURE__ */ f(Zx, O({
7865
7865
  component: "h2",
7866
- className: Y(u.root, i),
7866
+ className: K(u.root, i),
7867
7867
  ownerState: c,
7868
7868
  ref: r,
7869
7869
  variant: "h6",
@@ -15579,27 +15579,28 @@ const yp = gr(), Ia = /* @__PURE__ */ n(({ children: e }) => {
15579
15579
  } = e, [y, C] = Ke([]), E = Zt(e), P = Vt(), { field: S } = Ji({ defaultValue: "", ...e }), {
15580
15580
  isLoading: x,
15581
15581
  fichaProps: { [m]: w }
15582
- } = Ee(Je), F = il((U) => {
15583
- const z = U.configInputs ? U.configInputs.filter((te) => te.id === m) : [];
15584
- return z[0] ? z[0] : null;
15582
+ } = Ee(Je), F = il((I) => {
15583
+ const te = I.configInputs ? I.configInputs.filter((V) => V.id === m) : [];
15584
+ return te[0] ? te[0] : null;
15585
15585
  }), { hidden: $ } = F || {}, {
15586
15586
  enviarTodo: R = !1,
15587
15587
  disabled: k,
15588
15588
  hidden: A,
15589
- useContenido: D = xr,
15589
+ useContenido: _ = xr,
15590
15590
  onBeforeSubmitAsistente: L,
15591
- onAfterSubmitAsistente: N,
15592
- allowAdd: _,
15593
- allowRemove: I
15594
- } = w || {}, [B, M] = Ke(a), [{ field: q, sort: ee }] = a, ue = d || k, pe = $ !== void 0 ? $ : A !== void 0 ? A : p, ce = _ ?? s, Z = I ?? c;
15595
- let ae = { ...v };
15596
- E && t.split(",").forEach((U) => {
15597
- U && (ae[U] = [
15591
+ onAfterSubmitAsistente: D,
15592
+ allowAdd: j,
15593
+ allowRemove: N,
15594
+ slots: z
15595
+ } = w || {}, [M, U] = Ke(a), [{ field: ee, sort: ce }] = a, pe = d || k, le = $ !== void 0 ? $ : A !== void 0 ? A : p, X = j ?? s, ae = N ?? c;
15596
+ let re = { ...v };
15597
+ E && t.split(",").forEach((I) => {
15598
+ I && (re[I] = [
15598
15599
  {
15599
15600
  type: "string",
15600
15601
  comparison: "eq",
15601
- value: E[U],
15602
- field: U
15602
+ value: E[I],
15603
+ field: I
15603
15604
  }
15604
15605
  ]);
15605
15606
  }), ct(() => {
@@ -15607,93 +15608,93 @@ const yp = gr(), Ia = /* @__PURE__ */ n(({ children: e }) => {
15607
15608
  P.setValue(m, "");
15608
15609
  }, 1e3);
15609
15610
  }, [u]);
15610
- const { isPending: oe, refetch: Se } = qu(
15611
+ const { isPending: Te, refetch: se } = qu(
15611
15612
  l,
15612
15613
  {
15613
15614
  pagination: { page: 1, perPage: 200 },
15614
- sort: { field: q, order: ee },
15615
- filter: ae
15615
+ sort: { field: ee, order: ce },
15616
+ filter: re
15616
15617
  },
15617
15618
  {
15618
15619
  enabled: u && !x,
15619
- onSuccess: /* @__PURE__ */ n((U) => {
15620
+ onSuccess: /* @__PURE__ */ n((I) => {
15620
15621
  setTimeout(() => {
15621
15622
  P.setValue(m, "");
15622
- }, 1e3), C((U == null ? void 0 : U.data) || []);
15623
+ }, 1e3), C((I == null ? void 0 : I.data) || []);
15623
15624
  }, "onSuccess")
15624
15625
  }
15625
- ), le = D({
15626
+ ), ue = _({
15626
15627
  ...e,
15627
- refetch: Se
15628
+ refetch: se
15628
15629
  });
15629
- if (le === void 0)
15630
+ if (ue === void 0)
15630
15631
  throw new Error(
15631
15632
  `useContenido está devolviendo undefined para el contenido ${m}
15632
15633
  Asegúrese de incluir una instrucción return al final de la función`
15633
15634
  );
15634
- const se = i;
15635
- ue || (se.push({
15635
+ const ve = i;
15636
+ pe || (ve.push({
15636
15637
  field: " ",
15637
15638
  width: 80,
15638
15639
  headerName: "",
15639
15640
  headerAlign: "center",
15640
15641
  sortable: !1,
15641
15642
  disableClickEventBubbling: !0,
15642
- renderCell: /* @__PURE__ */ n((U) => {
15643
- if (U.rowNode.type !== "group")
15643
+ renderCell: /* @__PURE__ */ n((I) => {
15644
+ if (I.rowNode.type !== "group")
15644
15645
  return /* @__PURE__ */ f(
15645
15646
  yT,
15646
15647
  {
15647
15648
  ...b,
15648
15649
  source: m,
15649
15650
  onBeforeSubmitAsistente: L,
15650
- onAfterSubmitAsistente: N,
15651
+ onAfterSubmitAsistente: D,
15651
15652
  enviarTodo: R,
15652
15653
  camposClaveFila: r,
15653
- row: U.row
15654
+ row: I.row
15654
15655
  }
15655
15656
  );
15656
15657
  }, "renderCell")
15657
- }), ce === !0 && se.unshift({
15658
+ }), X === !0 && ve.unshift({
15658
15659
  field: "BTN",
15659
15660
  headerName: "",
15660
15661
  sortable: !1,
15661
15662
  width: 80,
15662
- renderHeader: /* @__PURE__ */ n((U) => /* @__PURE__ */ f(
15663
+ renderHeader: /* @__PURE__ */ n((I) => /* @__PURE__ */ f(
15663
15664
  vT,
15664
15665
  {
15665
15666
  ...b,
15666
15667
  source: m,
15667
15668
  onBeforeSubmitAsistente: L,
15668
- onAfterSubmitAsistente: N,
15669
+ onAfterSubmitAsistente: D,
15669
15670
  enviarTodo: R,
15670
15671
  camposClaveFila: r
15671
15672
  }
15672
15673
  ), "renderHeader")
15673
- }), Z && se.push({
15674
+ }), ae && ve.push({
15674
15675
  field: " ",
15675
15676
  headerName: "",
15676
15677
  headerAlign: "center",
15677
15678
  sortable: !1,
15678
15679
  disableClickEventBubbling: !0,
15679
- renderCell: /* @__PURE__ */ n((U) => {
15680
- if (U.rowNode.type !== "group")
15680
+ renderCell: /* @__PURE__ */ n((I) => {
15681
+ if (I.rowNode.type !== "group")
15681
15682
  return /* @__PURE__ */ f(
15682
15683
  OT,
15683
15684
  {
15684
15685
  ...b,
15685
15686
  source: m,
15686
15687
  onBeforeSubmitAsistente: L,
15687
- onAfterSubmitAsistente: N,
15688
+ onAfterSubmitAsistente: D,
15688
15689
  enviarTodo: R,
15689
15690
  camposClaveFila: r,
15690
- row: U.row
15691
+ row: I.row
15691
15692
  }
15692
15693
  );
15693
15694
  }, "renderCell")
15694
15695
  }));
15695
- const Ce = Mt(() => se, [JSON.stringify(se)]);
15696
- return pe ? null : /* @__PURE__ */ f(
15696
+ const Z = Mt(() => ve, [JSON.stringify(ve)]);
15697
+ return le ? null : /* @__PURE__ */ f(
15697
15698
  Or,
15698
15699
  {
15699
15700
  sx: {
@@ -15708,10 +15709,10 @@ const yp = gr(), Ia = /* @__PURE__ */ n(({ children: e }) => {
15708
15709
  nl,
15709
15710
  {
15710
15711
  apiRef: h,
15711
- loading: oe || x,
15712
+ loading: Te || x,
15712
15713
  sx: {
15713
15714
  "& .MuiDataGrid-columnsContainer": {
15714
- backgroundColor: /* @__PURE__ */ n((U) => U.palette.mode === "light" ? "#fafafa" : "#1d1d1d", "backgroundColor")
15715
+ backgroundColor: /* @__PURE__ */ n((I) => I.palette.mode === "light" ? "#fafafa" : "#1d1d1d", "backgroundColor")
15715
15716
  },
15716
15717
  "& .MuiDataGrid-iconSeparator": {
15717
15718
  display: "none"
@@ -15721,9 +15722,9 @@ const yp = gr(), Ia = /* @__PURE__ */ n(({ children: e }) => {
15721
15722
  paginationModel: { page: 1, pageSize: 50 },
15722
15723
  hideFooter: !0,
15723
15724
  rows: y,
15724
- columns: Ce,
15725
- sortModel: B,
15726
- onSortModelChange: /* @__PURE__ */ n((U) => M(U), "onSortModelChange"),
15725
+ columns: Z,
15726
+ sortModel: M,
15727
+ onSortModelChange: /* @__PURE__ */ n((I) => U(I), "onSortModelChange"),
15727
15728
  sortable: !1,
15728
15729
  resizable: !1,
15729
15730
  disableReorder: !0,
@@ -15731,11 +15732,11 @@ const yp = gr(), Ia = /* @__PURE__ */ n(({ children: e }) => {
15731
15732
  filterable: !1,
15732
15733
  disableColumnMenu: !0,
15733
15734
  slots: {
15734
- //header: <div>This is my custom Toolbar!</div>,
15735
+ ...z,
15735
15736
  noRowsOverlay: ql
15736
15737
  },
15737
15738
  ...b,
15738
- ...le
15739
+ ...ue
15739
15740
  }
15740
15741
  ),
15741
15742
  /* @__PURE__ */ f("input", { type: "hidden", ...S })
@@ -15870,7 +15871,7 @@ const kT = ["className", "color", "enableColorOnDark", "position"], MT = /* @__P
15870
15871
  position: r,
15871
15872
  classes: a
15872
15873
  } = e, i = {
15873
- root: ["root", `color${X(t)}`, `position${X(r)}`]
15874
+ root: ["root", `color${Q(t)}`, `position${Q(r)}`]
15874
15875
  };
15875
15876
  return he(i, RT, a);
15876
15877
  }, "useUtilityClasses$v"), Cn = /* @__PURE__ */ n((e, t) => e ? `${e == null ? void 0 : e.replace(")", "")}, ${t})` : t, "joinVars"), $T = W(Or, {
@@ -15880,7 +15881,7 @@ const kT = ["className", "color", "enableColorOnDark", "position"], MT = /* @__P
15880
15881
  const {
15881
15882
  ownerState: r
15882
15883
  } = e;
15883
- return [t.root, t[`position${X(r.position)}`], t[`color${X(r.color)}`]];
15884
+ return [t.root, t[`position${Q(r.position)}`], t[`color${Q(r.color)}`]];
15884
15885
  }, "overridesResolver")
15885
15886
  })(({
15886
15887
  theme: e,
@@ -15961,7 +15962,7 @@ const kT = ["className", "color", "enableColorOnDark", "position"], MT = /* @__P
15961
15962
  color: l = "primary",
15962
15963
  enableColorOnDark: s = !1,
15963
15964
  position: c = "fixed"
15964
- } = a, u = G(a, kT), d = O({}, a, {
15965
+ } = a, u = q(a, kT), d = O({}, a, {
15965
15966
  color: l,
15966
15967
  position: c,
15967
15968
  enableColorOnDark: s
@@ -15971,7 +15972,7 @@ const kT = ["className", "color", "enableColorOnDark", "position"], MT = /* @__P
15971
15972
  component: "header",
15972
15973
  ownerState: d,
15973
15974
  elevation: 4,
15974
- className: Y(p.root, i, c === "fixed" && "mui-fixed"),
15975
+ className: K(p.root, i, c === "fixed" && "mui-fixed"),
15975
15976
  ref: r
15976
15977
  }, u));
15977
15978
  }, "AppBar"));
@@ -16068,11 +16069,11 @@ const _p = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
16068
16069
  timeout: S = l,
16069
16070
  // eslint-disable-next-line react/prop-types
16070
16071
  TransitionComponent: x = Bt
16071
- } = t, w = G(t, LT), F = T.useRef(null), $ = lt(u.ref, F, r), R = /* @__PURE__ */ n((M) => (q) => {
16072
- M && (q === void 0 ? M(F.current) : M(F.current, q));
16073
- }, "normalizedTransitionCallback"), k = R((M, q) => {
16074
- Pn(p, M, d), Il(M), g && g(M, q);
16075
- }), A = R((M, q) => {
16072
+ } = t, w = q(t, LT), F = T.useRef(null), $ = lt(u.ref, F, r), R = /* @__PURE__ */ n((M) => (U) => {
16073
+ M && (U === void 0 ? M(F.current) : M(F.current, U));
16074
+ }, "normalizedTransitionCallback"), k = R((M, U) => {
16075
+ Pn(p, M, d), Il(M), g && g(M, U);
16076
+ }), A = R((M, U) => {
16076
16077
  const ee = oo({
16077
16078
  timeout: S,
16078
16079
  style: P,
@@ -16080,21 +16081,21 @@ const _p = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
16080
16081
  }, {
16081
16082
  mode: "enter"
16082
16083
  });
16083
- M.style.webkitTransition = a.transitions.create("-webkit-transform", O({}, ee)), M.style.transition = a.transitions.create("transform", O({}, ee)), M.style.webkitTransform = "none", M.style.transform = "none", b && b(M, q);
16084
- }), D = R(v), L = R(E), N = R((M) => {
16085
- const q = oo({
16084
+ M.style.webkitTransition = a.transitions.create("-webkit-transform", O({}, ee)), M.style.transition = a.transitions.create("transform", O({}, ee)), M.style.webkitTransform = "none", M.style.transform = "none", b && b(M, U);
16085
+ }), _ = R(v), L = R(E), D = R((M) => {
16086
+ const U = oo({
16086
16087
  timeout: S,
16087
16088
  style: P,
16088
16089
  easing: h
16089
16090
  }, {
16090
16091
  mode: "exit"
16091
16092
  });
16092
- M.style.webkitTransition = a.transitions.create("-webkit-transform", q), M.style.transition = a.transitions.create("transform", q), Pn(p, M, d), y && y(M);
16093
- }), _ = R((M) => {
16093
+ M.style.webkitTransition = a.transitions.create("-webkit-transform", U), M.style.transition = a.transitions.create("transform", U), Pn(p, M, d), y && y(M);
16094
+ }), j = R((M) => {
16094
16095
  M.style.webkitTransition = "", M.style.transition = "", C && C(M);
16095
- }), I = /* @__PURE__ */ n((M) => {
16096
+ }), N = /* @__PURE__ */ n((M) => {
16096
16097
  s && s(F.current, M);
16097
- }, "handleAddEndListener"), B = T.useCallback(() => {
16098
+ }, "handleAddEndListener"), z = T.useCallback(() => {
16098
16099
  F.current && Pn(p, F.current, d);
16099
16100
  }, [p, d]);
16100
16101
  return T.useEffect(() => {
@@ -16102,31 +16103,31 @@ const _p = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
16102
16103
  return;
16103
16104
  const M = un(() => {
16104
16105
  F.current && Pn(p, F.current, d);
16105
- }), q = kr(F.current);
16106
- return q.addEventListener("resize", M), () => {
16107
- M.clear(), q.removeEventListener("resize", M);
16106
+ }), U = kr(F.current);
16107
+ return U.addEventListener("resize", M), () => {
16108
+ M.clear(), U.removeEventListener("resize", M);
16108
16109
  };
16109
16110
  }, [p, m, d]), T.useEffect(() => {
16110
- m || B();
16111
- }, [m, B]), /* @__PURE__ */ f(x, O({
16111
+ m || z();
16112
+ }, [m, z]), /* @__PURE__ */ f(x, O({
16112
16113
  nodeRef: F,
16113
16114
  onEnter: k,
16114
- onEntered: D,
16115
+ onEntered: _,
16115
16116
  onEntering: A,
16116
- onExit: N,
16117
- onExited: _,
16117
+ onExit: D,
16118
+ onExited: j,
16118
16119
  onExiting: L,
16119
- addEndListener: I,
16120
+ addEndListener: N,
16120
16121
  appear: c,
16121
16122
  in: m,
16122
16123
  timeout: S
16123
16124
  }, w, {
16124
- children: /* @__PURE__ */ n((M, q) => /* @__PURE__ */ T.cloneElement(u, O({
16125
+ children: /* @__PURE__ */ n((M, U) => /* @__PURE__ */ T.cloneElement(u, O({
16125
16126
  ref: $,
16126
16127
  style: O({
16127
16128
  visibility: M === "exited" && !m ? "hidden" : void 0
16128
16129
  }, P, u.props.style)
16129
- }, q)), "children")
16130
+ }, U)), "children")
16130
16131
  }));
16131
16132
  }, "Slide"));
16132
16133
  process.env.NODE_ENV !== "production" && (_p.propTypes = {
@@ -16282,14 +16283,14 @@ const NT = ["className", "component", "disableGutters", "variant"], DT = /* @__P
16282
16283
  component: l = "div",
16283
16284
  disableGutters: s = !1,
16284
16285
  variant: c = "regular"
16285
- } = a, u = G(a, NT), d = O({}, a, {
16286
+ } = a, u = q(a, NT), d = O({}, a, {
16286
16287
  component: l,
16287
16288
  disableGutters: s,
16288
16289
  variant: c
16289
16290
  }), p = DT(d);
16290
16291
  return /* @__PURE__ */ f(_T, O({
16291
16292
  as: l,
16292
- className: Y(p.root, i),
16293
+ className: K(p.root, i),
16293
16294
  ref: r,
16294
16295
  ownerState: d
16295
16296
  }, u));
@@ -16861,48 +16862,48 @@ const Yp = /* @__PURE__ */ n((e) => {
16861
16862
  hasCreate: R,
16862
16863
  hasSeleccionMultiple: k,
16863
16864
  chkSeleccionMultiple: A,
16864
- ...D
16865
+ ..._
16865
16866
  }
16866
16867
  } = Da(), {
16867
16868
  data: L = [],
16868
- isPending: N,
16869
- selectedIds: _,
16870
- onSelect: I,
16871
- displayedFilters: B,
16869
+ isPending: D,
16870
+ selectedIds: j,
16871
+ onSelect: N,
16872
+ displayedFilters: z,
16872
16873
  setFilters: M
16873
- } = Xr(), q = da(), ee = pa(), ue = id(), pe = Ee(Qp), ce = Ee(RE);
16874
+ } = Xr(), U = da(), ee = pa(), ce = id(), pe = Ee(Qp), le = Ee(RE);
16874
16875
  ct(() => {
16875
- ce && (ce.current.activePanel.params.apiRef = ue);
16876
- }, [ce]);
16877
- const Z = {}, ae = [], oe = [], Se = l.map((Q) => {
16878
- const ge = pe[Q.field.replace("_lis", "")];
16879
- return ge ? { ...Q, ...ge } : Q;
16876
+ le && (le.current.activePanel.params.apiRef = ce);
16877
+ }, [le]);
16878
+ const X = {}, ae = [], re = [], Te = l.map((Y) => {
16879
+ const ge = pe[Y.field.replace("_lis", "")];
16880
+ return ge ? { ...Y, ...ge } : Y;
16880
16881
  }).sort(
16881
- (Q, ge) => {
16882
+ (Y, ge) => {
16882
16883
  var ie, Re;
16883
- return parseInt((ie = pe[Q.field.replace("_lis", "")]) == null ? void 0 : ie.orden) - parseInt((Re = pe[ge.field.replace("_lis", "")]) == null ? void 0 : Re.orden);
16884
+ return parseInt((ie = pe[Y.field.replace("_lis", "")]) == null ? void 0 : ie.orden) - parseInt((Re = pe[ge.field.replace("_lis", "")]) == null ? void 0 : Re.orden);
16884
16885
  }
16885
16886
  ), {
16886
- columns: { columnVisibilityModel: le = {} },
16887
- ...se
16887
+ columns: { columnVisibilityModel: se = {} },
16888
+ ...ue
16888
16889
  } = g;
16889
- Se.forEach((Q) => {
16890
- Z[Q.field] = Q.oculto !== void 0 ? !Q.oculto : le[Q.field] ?? !0, ae.push(Q.field), oe.push({
16891
- ...Q,
16892
- width: Q.ancho ? parseInt(Q.ancho) : Q.width
16890
+ Te.forEach((Y) => {
16891
+ X[Y.field] = Y.oculto !== void 0 ? !Y.oculto : se[Y.field] ?? !0, ae.push(Y.field), re.push({
16892
+ ...Y,
16893
+ width: Y.ancho ? parseInt(Y.ancho) : Y.width
16893
16894
  // Usar el ancho de las configuraciones si está disponible
16894
16895
  });
16895
16896
  });
16896
- const Ce = {
16897
+ const ve = {
16897
16898
  columns: {
16898
- columnVisibilityModel: Z,
16899
+ columnVisibilityModel: X,
16899
16900
  columnOrder: ae.filter(Boolean)
16900
16901
  },
16901
- ...se
16902
- }, U = ld({
16903
- apiRef: ue,
16902
+ ...ue
16903
+ }, Z = ld({
16904
+ apiRef: ce,
16904
16905
  initialState: {
16905
- ...Ce,
16906
+ ...ve,
16906
16907
  pinnedColumns: { right: ["actions"] }
16907
16908
  //filter: {
16908
16909
  // filterModel: {
@@ -16912,47 +16913,47 @@ const Yp = /* @__PURE__ */ n((e) => {
16912
16913
  //},
16913
16914
  }
16914
16915
  });
16915
- Ip({ apiRef: ue, ...e });
16916
- const z = oe.map((Q, ge) => ({
16917
- ...Q,
16918
- headerName: Q.headerName !== "" ? w(`resources.${F}.fields.${Q.field}`, {
16919
- _: Q.headerName
16920
- }) : Q.headerName
16921
- })), te = t.length > 0 || m ? z.concat([
16916
+ Ip({ apiRef: ce, ...e });
16917
+ const I = re.map((Y, ge) => ({
16918
+ ...Y,
16919
+ headerName: Y.headerName !== "" ? w(`resources.${F}.fields.${Y.field}`, {
16920
+ _: Y.headerName
16921
+ }) : Y.headerName
16922
+ })), te = t.length > 0 || m ? I.concat([
16922
16923
  {
16923
16924
  field: "actions",
16924
16925
  type: "actions",
16925
16926
  width: 100,
16926
16927
  hideable: !1,
16927
16928
  renderHeader: /* @__PURE__ */ n(() => /* @__PURE__ */ f(nr, { children: r }), "renderHeader"),
16928
- getActions: /* @__PURE__ */ n((Q) => {
16929
- const ge = ue.current.getRowNode(Q.id), ie = !ji(
16930
- Q.row,
16929
+ getActions: /* @__PURE__ */ n((Y) => {
16930
+ const ge = ce.current.getRowNode(Y.id), ie = !ji(
16931
+ Y.row,
16931
16932
  s
16932
- ), Re = C && ie, Ne = t.filter((Oe) => !!Oe).map((Oe, _e) => {
16933
- const { handler: Xe, key: tt, ...ve } = Oe;
16933
+ ), Re = C && ie, Ne = t.filter((xe) => !!xe).map((xe, _e) => {
16934
+ const { handler: Xe, key: tt, ...ye } = xe;
16934
16935
  return /* @__PURE__ */ f(
16935
16936
  Qs,
16936
16937
  {
16937
16938
  showInMenu: !0,
16938
- onClick: /* @__PURE__ */ n((re) => typeof Xe == "function" ? Xe(
16939
+ onClick: /* @__PURE__ */ n((oe) => typeof Xe == "function" ? Xe(
16939
16940
  {
16940
16941
  ...x,
16941
- record: Q.row
16942
+ record: Y.row
16942
16943
  },
16943
16944
  tt
16944
16945
  ) : !1, "onClick"),
16945
- ...ve
16946
+ ...ye
16946
16947
  },
16947
16948
  `gaci-${_e}`
16948
16949
  );
16949
16950
  });
16950
16951
  if (P) {
16951
- const Oe = /* @__PURE__ */ n(() => {
16952
- const _e = q({
16952
+ const xe = /* @__PURE__ */ n(() => {
16953
+ const _e = U({
16953
16954
  type: "edit",
16954
16955
  resource: F,
16955
- id: Q.row.id
16956
+ id: Y.row.id
16956
16957
  });
16957
16958
  ee(_e, {
16958
16959
  state: {
@@ -16965,26 +16966,26 @@ const Yp = /* @__PURE__ */ n((e) => {
16965
16966
  /* @__PURE__ */ f(
16966
16967
  Qs,
16967
16968
  {
16968
- onClick: Oe,
16969
+ onClick: xe,
16969
16970
  label: w("ra.action.delete"),
16970
16971
  icon: /* @__PURE__ */ f(La, {}),
16971
16972
  showInMenu: !0
16972
16973
  },
16973
- `delete-${Q.row.id}`
16974
+ `delete-${Y.row.id}`
16974
16975
  )
16975
16976
  );
16976
16977
  }
16977
- return Q.row.id ? [
16978
+ return Y.row.id ? [
16978
16979
  ...m ? [
16979
16980
  Re ? /* @__PURE__ */ f(
16980
16981
  Gc,
16981
16982
  {
16982
- record: Q.row
16983
+ record: Y.row
16983
16984
  }
16984
16985
  ) : /* @__PURE__ */ f(
16985
16986
  XT,
16986
16987
  {
16987
- record: Q.row,
16988
+ record: Y.row,
16988
16989
  disabled: ie
16989
16990
  }
16990
16991
  )
@@ -16992,9 +16993,9 @@ const Yp = /* @__PURE__ */ n((e) => {
16992
16993
  /* @__PURE__ */ f(
16993
16994
  Gc,
16994
16995
  {
16995
- record: Q.row
16996
+ record: Y.row
16996
16997
  },
16997
- `show-${Q.row.id}`
16998
+ `show-${Y.row.id}`
16998
16999
  )
16999
17000
  ] : [],
17000
17001
  ...Ne
@@ -17011,22 +17012,22 @@ const Yp = /* @__PURE__ */ n((e) => {
17011
17012
  ).trim().split("AND")[0].trim()
17012
17013
  } : void 0
17013
17014
  },
17014
- `cgb-${Q.row.id}}`
17015
+ `cgb-${Y.row.id}}`
17015
17016
  )
17016
17017
  ] : [];
17017
17018
  }, "getActions")
17018
17019
  }
17019
- ]) : z, j = Mt(() => te, []), ne = k && hr($), we = /* @__PURE__ */ n((Q) => {
17020
- N || (k || !E ? I(Q) : ue.current.isRowSelected(Q[0]) ? I([]) : I(Q));
17021
- }, "handleSelectionChange"), Fe = /* @__PURE__ */ n((Q) => {
17022
- M(v(Q), B);
17023
- }, "handleFilterChange"), ye = /* @__PURE__ */ n((Q) => {
17024
- m && ji(Q.row, s) && ee(`/${F}/${Q.id}`);
17020
+ ]) : I, V = Mt(() => te, []), ne = k && hr($), we = /* @__PURE__ */ n((Y) => {
17021
+ D || (k || !E ? N(Y) : ce.current.isRowSelected(Y[0]) ? N([]) : N(Y));
17022
+ }, "handleSelectionChange"), Fe = /* @__PURE__ */ n((Y) => {
17023
+ M(v(Y), z);
17024
+ }, "handleFilterChange"), Oe = /* @__PURE__ */ n((Y) => {
17025
+ m && ji(Y.row, s) && ee(`/${F}/${Y.id}`);
17025
17026
  }, "handleRowDoubleClick");
17026
17027
  return /* @__PURE__ */ H(Dt, { children: [
17027
- /* @__PURE__ */ f(Yl, { isLoading: N }),
17028
+ /* @__PURE__ */ f(Yl, { isLoading: D }),
17028
17029
  /* @__PURE__ */ H(zm, { sx: i, className: Ys.root, children: [
17029
- ne && A ? /* @__PURE__ */ f(Hm, { selectedIds: _, children: $ }) : null,
17030
+ ne && A ? /* @__PURE__ */ f(Hm, { selectedIds: j, children: $ }) : null,
17030
17031
  /* @__PURE__ */ f(
17031
17032
  je,
17032
17033
  {
@@ -17043,23 +17044,23 @@ const Yp = /* @__PURE__ */ n((e) => {
17043
17044
  //toolbar: GridToolbar,
17044
17045
  noRowsOverlay: ql
17045
17046
  },
17046
- columns: j,
17047
+ columns: V,
17047
17048
  rows: L,
17048
- apiRef: ue,
17049
- loading: N,
17049
+ apiRef: ce,
17050
+ loading: D,
17050
17051
  hideFooterSelectedRowCount: !0,
17051
17052
  hideFooter: !0,
17052
17053
  disableMultipleRowSelection: !k && E,
17053
17054
  checkboxSelection: ne && A,
17054
17055
  filterMode: "server",
17055
17056
  onFilterModelChange: Fe,
17056
- rowSelectionModel: _,
17057
+ rowSelectionModel: j,
17057
17058
  onRowSelectionModelChange: we,
17058
- isRowSelectable: /* @__PURE__ */ n((Q) => Q.row.id, "isRowSelectable"),
17059
- onRowDoubleClick: ye,
17060
- initialState: U,
17059
+ isRowSelectable: /* @__PURE__ */ n((Y) => Y.row.id, "isRowSelectable"),
17060
+ onRowDoubleClick: Oe,
17061
+ initialState: Z,
17061
17062
  ...S,
17062
- ...D
17063
+ ..._
17063
17064
  }
17064
17065
  ) })
17065
17066
  }
@@ -17288,7 +17289,7 @@ const Qc = de("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle",
17288
17289
  role: h = c !== "hr" ? "separator" : void 0,
17289
17290
  textAlign: m = "center",
17290
17291
  variant: g = "fullWidth"
17291
- } = a, v = G(a, CC), b = O({}, a, {
17292
+ } = a, v = q(a, CC), b = O({}, a, {
17292
17293
  absolute: i,
17293
17294
  component: c,
17294
17295
  flexItem: u,
@@ -17300,7 +17301,7 @@ const Qc = de("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle",
17300
17301
  }), y = PC(b);
17301
17302
  return /* @__PURE__ */ f(EC, O({
17302
17303
  as: c,
17303
- className: Y(y.root, s),
17304
+ className: K(y.root, s),
17304
17305
  role: h,
17305
17306
  ref: r,
17306
17307
  ownerState: b
@@ -17408,12 +17409,12 @@ function Xp(e) {
17408
17409
  in: c,
17409
17410
  onExited: u,
17410
17411
  timeout: d
17411
- } = e, [p, h] = T.useState(!1), m = Y(t, r.ripple, r.rippleVisible, a && r.ripplePulsate), g = {
17412
+ } = e, [p, h] = T.useState(!1), m = K(t, r.ripple, r.rippleVisible, a && r.ripplePulsate), g = {
17412
17413
  width: s,
17413
17414
  height: s,
17414
17415
  top: -(s / 2) + l,
17415
17416
  left: -(s / 2) + i
17416
- }, v = Y(r.child, p && r.childLeaving, a && r.childPulsate);
17417
+ }, v = K(r.child, p && r.childLeaving, a && r.childPulsate);
17417
17418
  return !c && !p && h(!0), T.useEffect(() => {
17418
17419
  if (!c && u != null) {
17419
17420
  const b = setTimeout(u, d);
@@ -17572,7 +17573,7 @@ const Vi = 550, MC = 80, $C = fo(Xc || (Xc = Va`
17572
17573
  center: i = !1,
17573
17574
  classes: l = {},
17574
17575
  className: s
17575
- } = a, c = G(a, kC), [u, d] = T.useState([]), p = T.useRef(0), h = T.useRef(null);
17576
+ } = a, c = q(a, kC), [u, d] = T.useState([]), p = T.useRef(0), h = T.useRef(null);
17576
17577
  T.useEffect(() => {
17577
17578
  h.current && (h.current(), h.current = null);
17578
17579
  }, [u]);
@@ -17586,12 +17587,12 @@ const Vi = 550, MC = 80, $C = fo(Xc || (Xc = Va`
17586
17587
  } = S;
17587
17588
  d((k) => [...k, /* @__PURE__ */ f(NC, {
17588
17589
  classes: {
17589
- ripple: Y(l.ripple, Ct.ripple),
17590
- rippleVisible: Y(l.rippleVisible, Ct.rippleVisible),
17591
- ripplePulsate: Y(l.ripplePulsate, Ct.ripplePulsate),
17592
- child: Y(l.child, Ct.child),
17593
- childLeaving: Y(l.childLeaving, Ct.childLeaving),
17594
- childPulsate: Y(l.childPulsate, Ct.childPulsate)
17590
+ ripple: K(l.ripple, Ct.ripple),
17591
+ rippleVisible: K(l.rippleVisible, Ct.rippleVisible),
17592
+ ripplePulsate: K(l.ripplePulsate, Ct.ripplePulsate),
17593
+ child: K(l.child, Ct.child),
17594
+ childLeaving: K(l.childLeaving, Ct.childLeaving),
17595
+ childPulsate: K(l.childPulsate, Ct.childPulsate)
17595
17596
  },
17596
17597
  timeout: Vi,
17597
17598
  pulsate: x,
@@ -17618,37 +17619,37 @@ const Vi = 550, MC = 80, $C = fo(Xc || (Xc = Va`
17618
17619
  left: 0,
17619
17620
  top: 0
17620
17621
  };
17621
- let D, L, N;
17622
+ let _, L, D;
17622
17623
  if ($ || S === void 0 || S.clientX === 0 && S.clientY === 0 || !S.clientX && !S.touches)
17623
- D = Math.round(A.width / 2), L = Math.round(A.height / 2);
17624
+ _ = Math.round(A.width / 2), L = Math.round(A.height / 2);
17624
17625
  else {
17625
17626
  const {
17626
- clientX: _,
17627
- clientY: I
17627
+ clientX: j,
17628
+ clientY: N
17628
17629
  } = S.touches && S.touches.length > 0 ? S.touches[0] : S;
17629
- D = Math.round(_ - A.left), L = Math.round(I - A.top);
17630
+ _ = Math.round(j - A.left), L = Math.round(N - A.top);
17630
17631
  }
17631
17632
  if ($)
17632
- N = Math.sqrt((2 * A.width ** 2 + A.height ** 2) / 3), N % 2 === 0 && (N += 1);
17633
+ D = Math.sqrt((2 * A.width ** 2 + A.height ** 2) / 3), D % 2 === 0 && (D += 1);
17633
17634
  else {
17634
- const _ = Math.max(Math.abs((k ? k.clientWidth : 0) - D), D) * 2 + 2, I = Math.max(Math.abs((k ? k.clientHeight : 0) - L), L) * 2 + 2;
17635
- N = Math.sqrt(_ ** 2 + I ** 2);
17635
+ const j = Math.max(Math.abs((k ? k.clientWidth : 0) - _), _) * 2 + 2, N = Math.max(Math.abs((k ? k.clientHeight : 0) - L), L) * 2 + 2;
17636
+ D = Math.sqrt(j ** 2 + N ** 2);
17636
17637
  }
17637
17638
  S != null && S.touches ? v.current === null && (v.current = () => {
17638
17639
  y({
17639
17640
  pulsate: F,
17640
- rippleX: D,
17641
+ rippleX: _,
17641
17642
  rippleY: L,
17642
- rippleSize: N,
17643
+ rippleSize: D,
17643
17644
  cb: w
17644
17645
  });
17645
17646
  }, g.start(MC, () => {
17646
17647
  v.current && (v.current(), v.current = null);
17647
17648
  })) : y({
17648
17649
  pulsate: F,
17649
- rippleX: D,
17650
+ rippleX: _,
17650
17651
  rippleY: L,
17651
- rippleSize: N,
17652
+ rippleSize: D,
17652
17653
  cb: w
17653
17654
  });
17654
17655
  }, [i, y, g]), E = T.useCallback(() => {
@@ -17669,7 +17670,7 @@ const Vi = 550, MC = 80, $C = fo(Xc || (Xc = Va`
17669
17670
  start: C,
17670
17671
  stop: P
17671
17672
  }), [E, C, P]), /* @__PURE__ */ f(IC, O({
17672
- className: Y(Ct.root, l.root, s),
17673
+ className: K(Ct.root, l.root, s),
17673
17674
  ref: b
17674
17675
  }, c, {
17675
17676
  children: /* @__PURE__ */ f(Al, {
@@ -17780,60 +17781,60 @@ const _C = de("MuiButtonBase", ["root", "disabled", "focusVisible"]), jC = ["act
17780
17781
  onTouchEnd: R,
17781
17782
  onTouchMove: k,
17782
17783
  onTouchStart: A,
17783
- tabIndex: D = 0,
17784
+ tabIndex: _ = 0,
17784
17785
  TouchRippleProps: L,
17785
- touchRippleRef: N,
17786
- type: _
17787
- } = a, I = G(a, jC), B = T.useRef(null), M = T.useRef(null), q = lt(M, N), {
17786
+ touchRippleRef: D,
17787
+ type: j
17788
+ } = a, N = q(a, jC), z = T.useRef(null), M = T.useRef(null), U = lt(M, D), {
17788
17789
  isFocusVisibleRef: ee,
17789
- onFocus: ue,
17790
+ onFocus: ce,
17790
17791
  onBlur: pe,
17791
- ref: ce
17792
- } = ka(), [Z, ae] = T.useState(!1);
17793
- d && Z && ae(!1), T.useImperativeHandle(i, () => ({
17792
+ ref: le
17793
+ } = ka(), [X, ae] = T.useState(!1);
17794
+ d && X && ae(!1), T.useImperativeHandle(i, () => ({
17794
17795
  focusVisible: /* @__PURE__ */ n(() => {
17795
- ae(!0), B.current.focus();
17796
+ ae(!0), z.current.focus();
17796
17797
  }, "focusVisible")
17797
17798
  }), []);
17798
- const [oe, Se] = T.useState(!1);
17799
+ const [re, Te] = T.useState(!1);
17799
17800
  T.useEffect(() => {
17800
- Se(!0);
17801
+ Te(!0);
17801
17802
  }, []);
17802
- const le = oe && !p && !d;
17803
+ const se = re && !p && !d;
17803
17804
  T.useEffect(() => {
17804
- Z && m && !p && oe && M.current.pulsate();
17805
- }, [p, m, Z, oe]);
17806
- function se(re, ze, ut = h) {
17807
- return Kt((dt) => (ze && ze(dt), !ut && M.current && M.current[re](dt), !0));
17805
+ X && m && !p && re && M.current.pulsate();
17806
+ }, [p, m, X, re]);
17807
+ function ue(oe, ze, ut = h) {
17808
+ return Kt((dt) => (ze && ze(dt), !ut && M.current && M.current[oe](dt), !0));
17808
17809
  }
17809
- n(se, "useRippleHandler");
17810
- const Ce = se("start", w), U = se("stop", y), z = se("stop", C), te = se("stop", $), j = se("stop", (re) => {
17811
- Z && re.preventDefault(), F && F(re);
17812
- }), ne = se("start", A), we = se("stop", R), Fe = se("stop", k), ye = se("stop", (re) => {
17813
- pe(re), ee.current === !1 && ae(!1), v && v(re);
17814
- }, !1), Q = Kt((re) => {
17815
- B.current || (B.current = re.currentTarget), ue(re), ee.current === !0 && (ae(!0), P && P(re)), E && E(re);
17810
+ n(ue, "useRippleHandler");
17811
+ const ve = ue("start", w), Z = ue("stop", y), I = ue("stop", C), te = ue("stop", $), V = ue("stop", (oe) => {
17812
+ X && oe.preventDefault(), F && F(oe);
17813
+ }), ne = ue("start", A), we = ue("stop", R), Fe = ue("stop", k), Oe = ue("stop", (oe) => {
17814
+ pe(oe), ee.current === !1 && ae(!1), v && v(oe);
17815
+ }, !1), Y = Kt((oe) => {
17816
+ z.current || (z.current = oe.currentTarget), ce(oe), ee.current === !0 && (ae(!0), P && P(oe)), E && E(oe);
17816
17817
  }), ge = /* @__PURE__ */ n(() => {
17817
- const re = B.current;
17818
- return u && u !== "button" && !(re.tagName === "A" && re.href);
17819
- }, "isNonNativeButton"), ie = T.useRef(!1), Re = Kt((re) => {
17820
- m && !ie.current && Z && M.current && re.key === " " && (ie.current = !0, M.current.stop(re, () => {
17821
- M.current.start(re);
17822
- })), re.target === re.currentTarget && ge() && re.key === " " && re.preventDefault(), S && S(re), re.target === re.currentTarget && ge() && re.key === "Enter" && !d && (re.preventDefault(), b && b(re));
17823
- }), Ne = Kt((re) => {
17824
- m && re.key === " " && M.current && Z && !re.defaultPrevented && (ie.current = !1, M.current.stop(re, () => {
17825
- M.current.pulsate(re);
17826
- })), x && x(re), b && re.target === re.currentTarget && ge() && re.key === " " && !re.defaultPrevented && b(re);
17818
+ const oe = z.current;
17819
+ return u && u !== "button" && !(oe.tagName === "A" && oe.href);
17820
+ }, "isNonNativeButton"), ie = T.useRef(!1), Re = Kt((oe) => {
17821
+ m && !ie.current && X && M.current && oe.key === " " && (ie.current = !0, M.current.stop(oe, () => {
17822
+ M.current.start(oe);
17823
+ })), oe.target === oe.currentTarget && ge() && oe.key === " " && oe.preventDefault(), S && S(oe), oe.target === oe.currentTarget && ge() && oe.key === "Enter" && !d && (oe.preventDefault(), b && b(oe));
17824
+ }), Ne = Kt((oe) => {
17825
+ m && oe.key === " " && M.current && X && !oe.defaultPrevented && (ie.current = !1, M.current.stop(oe, () => {
17826
+ M.current.pulsate(oe);
17827
+ })), x && x(oe), b && oe.target === oe.currentTarget && ge() && oe.key === " " && !oe.defaultPrevented && b(oe);
17827
17828
  });
17828
- let Oe = u;
17829
- Oe === "button" && (I.href || I.to) && (Oe = g);
17829
+ let xe = u;
17830
+ xe === "button" && (N.href || N.to) && (xe = g);
17830
17831
  const _e = {};
17831
- Oe === "button" ? (_e.type = _ === void 0 ? "button" : _, _e.disabled = d) : (!I.href && !I.to && (_e.role = "button"), d && (_e["aria-disabled"] = d));
17832
- const Xe = lt(r, ce, B);
17832
+ xe === "button" ? (_e.type = j === void 0 ? "button" : j, _e.disabled = d) : (!N.href && !N.to && (_e.role = "button"), d && (_e["aria-disabled"] = d));
17833
+ const Xe = lt(r, le, z);
17833
17834
  process.env.NODE_ENV !== "production" && T.useEffect(() => {
17834
- le && !M.current && console.error(["MUI: The `component` prop provided to ButtonBase is invalid.", "Please make sure the children prop is rendered in this custom component."].join(`
17835
+ se && !M.current && console.error(["MUI: The `component` prop provided to ButtonBase is invalid.", "Please make sure the children prop is rendered in this custom component."].join(`
17835
17836
  `));
17836
- }, [le]);
17837
+ }, [se]);
17837
17838
  const tt = O({}, a, {
17838
17839
  centerRipple: l,
17839
17840
  component: u,
@@ -17841,34 +17842,34 @@ const _C = de("MuiButtonBase", ["root", "disabled", "focusVisible"]), jC = ["act
17841
17842
  disableRipple: p,
17842
17843
  disableTouchRipple: h,
17843
17844
  focusRipple: m,
17844
- tabIndex: D,
17845
- focusVisible: Z
17846
- }), ve = VC(tt);
17845
+ tabIndex: _,
17846
+ focusVisible: X
17847
+ }), ye = VC(tt);
17847
17848
  return /* @__PURE__ */ H(BC, O({
17848
- as: Oe,
17849
- className: Y(ve.root, c),
17849
+ as: xe,
17850
+ className: K(ye.root, c),
17850
17851
  ownerState: tt,
17851
- onBlur: ye,
17852
+ onBlur: Oe,
17852
17853
  onClick: b,
17853
- onContextMenu: U,
17854
- onFocus: Q,
17854
+ onContextMenu: Z,
17855
+ onFocus: Y,
17855
17856
  onKeyDown: Re,
17856
17857
  onKeyUp: Ne,
17857
- onMouseDown: Ce,
17858
- onMouseLeave: j,
17858
+ onMouseDown: ve,
17859
+ onMouseLeave: V,
17859
17860
  onMouseUp: te,
17860
- onDragLeave: z,
17861
+ onDragLeave: I,
17861
17862
  onTouchEnd: we,
17862
17863
  onTouchMove: Fe,
17863
17864
  onTouchStart: ne,
17864
17865
  ref: Xe,
17865
- tabIndex: d ? -1 : D,
17866
- type: _
17867
- }, _e, I, {
17868
- children: [s, le ? (
17866
+ tabIndex: d ? -1 : _,
17867
+ type: j
17868
+ }, _e, N, {
17869
+ children: [s, se ? (
17869
17870
  /* TouchRipple is only needed client-side, x2 boost on the server. */
17870
17871
  /* @__PURE__ */ f(Zp, O({
17871
- ref: q,
17872
+ ref: U,
17872
17873
  center: l
17873
17874
  }, L))
17874
17875
  ) : null]
@@ -18047,7 +18048,7 @@ const dr = de("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
18047
18048
  selected: c,
18048
18049
  disabled: u
18049
18050
  } = e, d = {
18050
- root: ["root", l && s && "labelIcon", `textColor${X(r)}`, a && "fullWidth", i && "wrapped", c && "selected", u && "disabled"],
18051
+ root: ["root", l && s && "labelIcon", `textColor${Q(r)}`, a && "fullWidth", i && "wrapped", c && "selected", u && "disabled"],
18051
18052
  iconWrapper: ["iconWrapper"]
18052
18053
  };
18053
18054
  return he(d, zC, t);
@@ -18058,7 +18059,7 @@ const dr = de("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
18058
18059
  const {
18059
18060
  ownerState: r
18060
18061
  } = e;
18061
- return [t.root, r.label && r.icon && t.labelIcon, t[`textColor${X(r.textColor)}`], r.fullWidth && t.fullWidth, r.wrapped && t.wrapped, {
18062
+ return [t.root, r.label && r.icon && t.labelIcon, t[`textColor${Q(r.textColor)}`], r.fullWidth && t.fullWidth, r.wrapped && t.wrapped, {
18062
18063
  [`& .${dr.iconWrapper}`]: t.iconWrapper
18063
18064
  }];
18064
18065
  }, "overridesResolver")
@@ -18151,7 +18152,7 @@ const dr = de("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
18151
18152
  textColor: C = "inherit",
18152
18153
  value: E,
18153
18154
  wrapped: P = !1
18154
- } = a, S = G(a, HC), x = O({}, a, {
18155
+ } = a, S = q(a, HC), x = O({}, a, {
18155
18156
  disabled: l,
18156
18157
  disableFocusRipple: s,
18157
18158
  selected: b,
@@ -18162,7 +18163,7 @@ const dr = de("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
18162
18163
  textColor: C,
18163
18164
  wrapped: P
18164
18165
  }), w = WC(x), F = u && h && /* @__PURE__ */ T.isValidElement(u) ? /* @__PURE__ */ T.cloneElement(u, {
18165
- className: Y(w.iconWrapper, u.props.className)
18166
+ className: K(w.iconWrapper, u.props.className)
18166
18167
  }) : u, $ = /* @__PURE__ */ n((k) => {
18167
18168
  !b && m && m(k, E), g && g(k);
18168
18169
  }, "handleClick"), R = /* @__PURE__ */ n((k) => {
@@ -18170,7 +18171,7 @@ const dr = de("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
18170
18171
  }, "handleFocus");
18171
18172
  return /* @__PURE__ */ H(UC, O({
18172
18173
  focusRipple: !s,
18173
- className: Y(w.root, i),
18174
+ className: K(w.root, i),
18174
18175
  ref: r,
18175
18176
  role: "tab",
18176
18177
  "aria-selected": b,
@@ -18307,7 +18308,7 @@ const KC = ["onChange"], YC = {
18307
18308
  function ef(e) {
18308
18309
  const {
18309
18310
  onChange: t
18310
- } = e, r = G(e, KC), a = T.useRef(), i = T.useRef(null), l = /* @__PURE__ */ n(() => {
18311
+ } = e, r = q(e, KC), a = T.useRef(), i = T.useRef(null), l = /* @__PURE__ */ n(() => {
18311
18312
  a.current = i.current.offsetHeight - i.current.clientHeight;
18312
18313
  }, "setMeasurements");
18313
18314
  return go(() => {
@@ -18381,7 +18382,7 @@ const JC = de("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
18381
18382
  slots: c = {},
18382
18383
  slotProps: u = {},
18383
18384
  direction: d
18384
- } = l, p = G(l, eP), h = $a(), m = O({
18385
+ } = l, p = q(l, eP), h = $a(), m = O({
18385
18386
  isRtl: h
18386
18387
  }, l), g = tP(m), v = (a = c.StartScrollButtonIcon) != null ? a : QC, b = (i = c.EndScrollButtonIcon) != null ? i : XC, y = jt({
18387
18388
  elementType: v,
@@ -18400,7 +18401,7 @@ const JC = de("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
18400
18401
  });
18401
18402
  return /* @__PURE__ */ f(rP, O({
18402
18403
  component: "div",
18403
- className: Y(g.root, s),
18404
+ className: K(g.root, s),
18404
18405
  ref: r,
18405
18406
  role: null,
18406
18407
  ownerState: m,
@@ -18641,129 +18642,129 @@ const rf = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
18641
18642
  value: R,
18642
18643
  variant: k = "standard",
18643
18644
  visibleScrollbar: A = !1
18644
- } = a, D = G(a, nP), L = k === "scrollable", N = y === "vertical", _ = N ? "scrollTop" : "scrollLeft", I = N ? "top" : "left", B = N ? "bottom" : "right", M = N ? "clientHeight" : "clientWidth", q = N ? "height" : "width", ee = O({}, a, {
18645
+ } = a, _ = q(a, nP), L = k === "scrollable", D = y === "vertical", j = D ? "scrollTop" : "scrollLeft", N = D ? "top" : "left", z = D ? "bottom" : "right", M = D ? "clientHeight" : "clientWidth", U = D ? "height" : "width", ee = O({}, a, {
18645
18646
  component: m,
18646
18647
  allowScrollButtonsMobile: g,
18647
18648
  indicatorColor: v,
18648
18649
  orientation: y,
18649
- vertical: N,
18650
+ vertical: D,
18650
18651
  scrollButtons: E,
18651
18652
  textColor: $,
18652
18653
  variant: k,
18653
18654
  visibleScrollbar: A,
18654
18655
  fixed: !L,
18655
18656
  hideScrollbar: L && !A,
18656
- scrollableX: L && !N,
18657
- scrollableY: L && N,
18657
+ scrollableX: L && !D,
18658
+ scrollableY: L && D,
18658
18659
  centered: d && !L,
18659
18660
  scrollButtonsHideMobile: !g
18660
- }), ue = aP(ee), pe = jt({
18661
+ }), ce = aP(ee), pe = jt({
18661
18662
  elementType: S.StartScrollButtonIcon,
18662
18663
  externalSlotProps: x.startScrollButtonIcon,
18663
18664
  ownerState: ee
18664
- }), ce = jt({
18665
+ }), le = jt({
18665
18666
  elementType: S.EndScrollButtonIcon,
18666
18667
  externalSlotProps: x.endScrollButtonIcon,
18667
18668
  ownerState: ee
18668
18669
  });
18669
18670
  process.env.NODE_ENV !== "production" && d && L && console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties at the same time on a `Tabs` component.');
18670
- const [Z, ae] = T.useState(!1), [oe, Se] = T.useState(ou), [le, se] = T.useState(!1), [Ce, U] = T.useState(!1), [z, te] = T.useState(!1), [j, ne] = T.useState({
18671
+ const [X, ae] = T.useState(!1), [re, Te] = T.useState(ou), [se, ue] = T.useState(!1), [ve, Z] = T.useState(!1), [I, te] = T.useState(!1), [V, ne] = T.useState({
18671
18672
  overflow: "hidden",
18672
18673
  scrollbarWidth: 0
18673
- }), we = /* @__PURE__ */ new Map(), Fe = T.useRef(null), ye = T.useRef(null), Q = /* @__PURE__ */ n(() => {
18674
- const V = Fe.current;
18675
- let K;
18676
- if (V) {
18677
- const Te = V.getBoundingClientRect();
18678
- K = {
18679
- clientWidth: V.clientWidth,
18680
- scrollLeft: V.scrollLeft,
18681
- scrollTop: V.scrollTop,
18682
- scrollLeftNormalized: bm(V, l ? "rtl" : "ltr"),
18683
- scrollWidth: V.scrollWidth,
18684
- top: Te.top,
18685
- bottom: Te.bottom,
18686
- left: Te.left,
18687
- right: Te.right
18674
+ }), we = /* @__PURE__ */ new Map(), Fe = T.useRef(null), Oe = T.useRef(null), Y = /* @__PURE__ */ n(() => {
18675
+ const B = Fe.current;
18676
+ let G;
18677
+ if (B) {
18678
+ const Ce = B.getBoundingClientRect();
18679
+ G = {
18680
+ clientWidth: B.clientWidth,
18681
+ scrollLeft: B.scrollLeft,
18682
+ scrollTop: B.scrollTop,
18683
+ scrollLeftNormalized: bm(B, l ? "rtl" : "ltr"),
18684
+ scrollWidth: B.scrollWidth,
18685
+ top: Ce.top,
18686
+ bottom: Ce.bottom,
18687
+ left: Ce.left,
18688
+ right: Ce.right
18688
18689
  };
18689
18690
  }
18690
18691
  let me;
18691
- if (V && R !== !1) {
18692
- const Te = ye.current.children;
18693
- if (Te.length > 0) {
18694
- const He = Te[we.get(R)];
18692
+ if (B && R !== !1) {
18693
+ const Ce = Oe.current.children;
18694
+ if (Ce.length > 0) {
18695
+ const He = Ce[we.get(R)];
18695
18696
  process.env.NODE_ENV !== "production" && (He || console.error(["MUI: The `value` provided to the Tabs component is invalid.", `None of the Tabs' children match with "${R}".`, we.keys ? `You can provide one of the following values: ${Array.from(we.keys()).join(", ")}.` : null].join(`
18696
18697
  `))), me = He ? He.getBoundingClientRect() : null, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && !nu && me && me.width === 0 && me.height === 0 && // if the whole Tabs component is hidden, don't warn
18697
- K.clientWidth !== 0 && (K = null, console.error(["MUI: The `value` provided to the Tabs component is invalid.", `The Tab with this \`value\` ("${R}") is not part of the document layout.`, "Make sure the tab item is present in the document or that it's not `display: none`."].join(`
18698
+ G.clientWidth !== 0 && (G = null, console.error(["MUI: The `value` provided to the Tabs component is invalid.", `The Tab with this \`value\` ("${R}") is not part of the document layout.`, "Make sure the tab item is present in the document or that it's not `display: none`."].join(`
18698
18699
  `)), nu = !0);
18699
18700
  }
18700
18701
  }
18701
18702
  return {
18702
- tabsMeta: K,
18703
+ tabsMeta: G,
18703
18704
  tabMeta: me
18704
18705
  };
18705
18706
  }, "getTabsMeta"), ge = Kt(() => {
18706
18707
  const {
18707
- tabsMeta: V,
18708
- tabMeta: K
18709
- } = Q();
18710
- let me = 0, Te;
18711
- if (N)
18712
- Te = "top", K && V && (me = K.top - V.top + V.scrollTop);
18713
- else if (Te = l ? "right" : "left", K && V) {
18714
- const rt = l ? V.scrollLeftNormalized + V.clientWidth - V.scrollWidth : V.scrollLeft;
18715
- me = (l ? -1 : 1) * (K[Te] - V[Te] + rt);
18708
+ tabsMeta: B,
18709
+ tabMeta: G
18710
+ } = Y();
18711
+ let me = 0, Ce;
18712
+ if (D)
18713
+ Ce = "top", G && B && (me = G.top - B.top + B.scrollTop);
18714
+ else if (Ce = l ? "right" : "left", G && B) {
18715
+ const rt = l ? B.scrollLeftNormalized + B.clientWidth - B.scrollWidth : B.scrollLeft;
18716
+ me = (l ? -1 : 1) * (G[Ce] - B[Ce] + rt);
18716
18717
  }
18717
18718
  const He = {
18718
- [Te]: me,
18719
+ [Ce]: me,
18719
18720
  // May be wrong until the font is loaded.
18720
- [q]: K ? K[q] : 0
18721
+ [U]: G ? G[U] : 0
18721
18722
  };
18722
- if (isNaN(oe[Te]) || isNaN(oe[q]))
18723
- Se(He);
18723
+ if (isNaN(re[Ce]) || isNaN(re[U]))
18724
+ Te(He);
18724
18725
  else {
18725
- const rt = Math.abs(oe[Te] - He[Te]), xt = Math.abs(oe[q] - He[q]);
18726
- (rt >= 1 || xt >= 1) && Se(He);
18726
+ const rt = Math.abs(re[Ce] - He[Ce]), xt = Math.abs(re[U] - He[U]);
18727
+ (rt >= 1 || xt >= 1) && Te(He);
18727
18728
  }
18728
- }), ie = /* @__PURE__ */ n((V, {
18729
- animation: K = !0
18729
+ }), ie = /* @__PURE__ */ n((B, {
18730
+ animation: G = !0
18730
18731
  } = {}) => {
18731
- K ? GC(_, Fe.current, V, {
18732
+ G ? GC(j, Fe.current, B, {
18732
18733
  duration: i.transitions.duration.standard
18733
- }) : Fe.current[_] = V;
18734
- }, "scroll"), Re = /* @__PURE__ */ n((V) => {
18735
- let K = Fe.current[_];
18736
- N ? K += V : (K += V * (l ? -1 : 1), K *= l && gm() === "reverse" ? -1 : 1), ie(K);
18734
+ }) : Fe.current[j] = B;
18735
+ }, "scroll"), Re = /* @__PURE__ */ n((B) => {
18736
+ let G = Fe.current[j];
18737
+ D ? G += B : (G += B * (l ? -1 : 1), G *= l && gm() === "reverse" ? -1 : 1), ie(G);
18737
18738
  }, "moveTabsScroll"), Ne = /* @__PURE__ */ n(() => {
18738
- const V = Fe.current[M];
18739
- let K = 0;
18740
- const me = Array.from(ye.current.children);
18741
- for (let Te = 0; Te < me.length; Te += 1) {
18742
- const He = me[Te];
18743
- if (K + He[M] > V) {
18744
- Te === 0 && (K = V);
18739
+ const B = Fe.current[M];
18740
+ let G = 0;
18741
+ const me = Array.from(Oe.current.children);
18742
+ for (let Ce = 0; Ce < me.length; Ce += 1) {
18743
+ const He = me[Ce];
18744
+ if (G + He[M] > B) {
18745
+ Ce === 0 && (G = B);
18745
18746
  break;
18746
18747
  }
18747
- K += He[M];
18748
+ G += He[M];
18748
18749
  }
18749
- return K;
18750
- }, "getScrollSize"), Oe = /* @__PURE__ */ n(() => {
18750
+ return G;
18751
+ }, "getScrollSize"), xe = /* @__PURE__ */ n(() => {
18751
18752
  Re(-1 * Ne());
18752
18753
  }, "handleStartScrollClick"), _e = /* @__PURE__ */ n(() => {
18753
18754
  Re(Ne());
18754
- }, "handleEndScrollClick"), Xe = T.useCallback((V) => {
18755
+ }, "handleEndScrollClick"), Xe = T.useCallback((B) => {
18755
18756
  ne({
18756
18757
  overflow: null,
18757
- scrollbarWidth: V
18758
+ scrollbarWidth: B
18758
18759
  });
18759
18760
  }, []), tt = /* @__PURE__ */ n(() => {
18760
- const V = {};
18761
- V.scrollbarSizeListener = L ? /* @__PURE__ */ f(uP, {
18761
+ const B = {};
18762
+ B.scrollbarSizeListener = L ? /* @__PURE__ */ f(uP, {
18762
18763
  onChange: Xe,
18763
- className: Y(ue.scrollableX, ue.hideScrollbar)
18764
+ className: K(ce.scrollableX, ce.hideScrollbar)
18764
18765
  }) : null;
18765
- const me = L && (E === "auto" && (le || Ce) || E === !0);
18766
- return V.scrollButtonStart = me ? /* @__PURE__ */ f(C, O({
18766
+ const me = L && (E === "auto" && (se || ve) || E === !0);
18767
+ return B.scrollButtonStart = me ? /* @__PURE__ */ f(C, O({
18767
18768
  slots: {
18768
18769
  StartScrollButtonIcon: S.StartScrollButtonIcon
18769
18770
  },
@@ -18772,168 +18773,168 @@ const rf = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
18772
18773
  },
18773
18774
  orientation: y,
18774
18775
  direction: l ? "right" : "left",
18775
- onClick: Oe,
18776
- disabled: !le
18776
+ onClick: xe,
18777
+ disabled: !se
18777
18778
  }, F, {
18778
- className: Y(ue.scrollButtons, F.className)
18779
- })) : null, V.scrollButtonEnd = me ? /* @__PURE__ */ f(C, O({
18779
+ className: K(ce.scrollButtons, F.className)
18780
+ })) : null, B.scrollButtonEnd = me ? /* @__PURE__ */ f(C, O({
18780
18781
  slots: {
18781
18782
  EndScrollButtonIcon: S.EndScrollButtonIcon
18782
18783
  },
18783
18784
  slotProps: {
18784
- endScrollButtonIcon: ce
18785
+ endScrollButtonIcon: le
18785
18786
  },
18786
18787
  orientation: y,
18787
18788
  direction: l ? "left" : "right",
18788
18789
  onClick: _e,
18789
- disabled: !Ce
18790
+ disabled: !ve
18790
18791
  }, F, {
18791
- className: Y(ue.scrollButtons, F.className)
18792
- })) : null, V;
18793
- }, "getConditionalElements"), ve = Kt((V) => {
18792
+ className: K(ce.scrollButtons, F.className)
18793
+ })) : null, B;
18794
+ }, "getConditionalElements"), ye = Kt((B) => {
18794
18795
  const {
18795
- tabsMeta: K,
18796
+ tabsMeta: G,
18796
18797
  tabMeta: me
18797
- } = Q();
18798
- if (!(!me || !K)) {
18799
- if (me[I] < K[I]) {
18800
- const Te = K[_] + (me[I] - K[I]);
18801
- ie(Te, {
18802
- animation: V
18798
+ } = Y();
18799
+ if (!(!me || !G)) {
18800
+ if (me[N] < G[N]) {
18801
+ const Ce = G[j] + (me[N] - G[N]);
18802
+ ie(Ce, {
18803
+ animation: B
18803
18804
  });
18804
- } else if (me[B] > K[B]) {
18805
- const Te = K[_] + (me[B] - K[B]);
18806
- ie(Te, {
18807
- animation: V
18805
+ } else if (me[z] > G[z]) {
18806
+ const Ce = G[j] + (me[z] - G[z]);
18807
+ ie(Ce, {
18808
+ animation: B
18808
18809
  });
18809
18810
  }
18810
18811
  }
18811
- }), re = Kt(() => {
18812
- L && E !== !1 && te(!z);
18812
+ }), oe = Kt(() => {
18813
+ L && E !== !1 && te(!I);
18813
18814
  });
18814
18815
  T.useEffect(() => {
18815
- const V = un(() => {
18816
+ const B = un(() => {
18816
18817
  Fe.current && ge();
18817
18818
  });
18818
- let K;
18819
+ let G;
18819
18820
  const me = /* @__PURE__ */ n((rt) => {
18820
18821
  rt.forEach((xt) => {
18821
18822
  xt.removedNodes.forEach((ur) => {
18822
18823
  var At;
18823
- (At = K) == null || At.unobserve(ur);
18824
+ (At = G) == null || At.unobserve(ur);
18824
18825
  }), xt.addedNodes.forEach((ur) => {
18825
18826
  var At;
18826
- (At = K) == null || At.observe(ur);
18827
+ (At = G) == null || At.observe(ur);
18827
18828
  });
18828
- }), V(), re();
18829
- }, "handleMutation"), Te = kr(Fe.current);
18830
- Te.addEventListener("resize", V);
18829
+ }), B(), oe();
18830
+ }, "handleMutation"), Ce = kr(Fe.current);
18831
+ Ce.addEventListener("resize", B);
18831
18832
  let He;
18832
- return typeof ResizeObserver < "u" && (K = new ResizeObserver(V), Array.from(ye.current.children).forEach((rt) => {
18833
- K.observe(rt);
18834
- })), typeof MutationObserver < "u" && (He = new MutationObserver(me), He.observe(ye.current, {
18833
+ return typeof ResizeObserver < "u" && (G = new ResizeObserver(B), Array.from(Oe.current.children).forEach((rt) => {
18834
+ G.observe(rt);
18835
+ })), typeof MutationObserver < "u" && (He = new MutationObserver(me), He.observe(Oe.current, {
18835
18836
  childList: !0
18836
18837
  })), () => {
18837
18838
  var rt, xt;
18838
- V.clear(), Te.removeEventListener("resize", V), (rt = He) == null || rt.disconnect(), (xt = K) == null || xt.disconnect();
18839
+ B.clear(), Ce.removeEventListener("resize", B), (rt = He) == null || rt.disconnect(), (xt = G) == null || xt.disconnect();
18839
18840
  };
18840
- }, [ge, re]), T.useEffect(() => {
18841
- const V = Array.from(ye.current.children), K = V.length;
18842
- if (typeof IntersectionObserver < "u" && K > 0 && L && E !== !1) {
18843
- const me = V[0], Te = V[K - 1], He = {
18841
+ }, [ge, oe]), T.useEffect(() => {
18842
+ const B = Array.from(Oe.current.children), G = B.length;
18843
+ if (typeof IntersectionObserver < "u" && G > 0 && L && E !== !1) {
18844
+ const me = B[0], Ce = B[G - 1], He = {
18844
18845
  root: Fe.current,
18845
18846
  threshold: 0.99
18846
18847
  }, rt = /* @__PURE__ */ n((Ir) => {
18847
- se(!Ir[0].isIntersecting);
18848
+ ue(!Ir[0].isIntersecting);
18848
18849
  }, "handleScrollButtonStart"), xt = new IntersectionObserver(rt, He);
18849
18850
  xt.observe(me);
18850
18851
  const ur = /* @__PURE__ */ n((Ir) => {
18851
- U(!Ir[0].isIntersecting);
18852
+ Z(!Ir[0].isIntersecting);
18852
18853
  }, "handleScrollButtonEnd"), At = new IntersectionObserver(ur, He);
18853
- return At.observe(Te), () => {
18854
+ return At.observe(Ce), () => {
18854
18855
  xt.disconnect(), At.disconnect();
18855
18856
  };
18856
18857
  }
18857
- }, [L, E, z, p == null ? void 0 : p.length]), T.useEffect(() => {
18858
+ }, [L, E, I, p == null ? void 0 : p.length]), T.useEffect(() => {
18858
18859
  ae(!0);
18859
18860
  }, []), T.useEffect(() => {
18860
18861
  ge();
18861
18862
  }), T.useEffect(() => {
18862
- ve(ou !== oe);
18863
- }, [ve, oe]), T.useImperativeHandle(u, () => ({
18863
+ ye(ou !== re);
18864
+ }, [ye, re]), T.useImperativeHandle(u, () => ({
18864
18865
  updateIndicator: ge,
18865
- updateScrollButtons: re
18866
- }), [ge, re]);
18866
+ updateScrollButtons: oe
18867
+ }), [ge, oe]);
18867
18868
  const ze = /* @__PURE__ */ f(cP, O({}, w, {
18868
- className: Y(ue.indicator, w.className),
18869
+ className: K(ce.indicator, w.className),
18869
18870
  ownerState: ee,
18870
- style: O({}, oe, w.style)
18871
+ style: O({}, re, w.style)
18871
18872
  }));
18872
18873
  let ut = 0;
18873
- const dt = T.Children.map(p, (V) => {
18874
- if (!/* @__PURE__ */ T.isValidElement(V))
18874
+ const dt = T.Children.map(p, (B) => {
18875
+ if (!/* @__PURE__ */ T.isValidElement(B))
18875
18876
  return null;
18876
- process.env.NODE_ENV !== "production" && eo.isFragment(V) && console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
18877
+ process.env.NODE_ENV !== "production" && eo.isFragment(B) && console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
18877
18878
  `));
18878
- const K = V.props.value === void 0 ? ut : V.props.value;
18879
- we.set(K, ut);
18880
- const me = K === R;
18881
- return ut += 1, /* @__PURE__ */ T.cloneElement(V, O({
18879
+ const G = B.props.value === void 0 ? ut : B.props.value;
18880
+ we.set(G, ut);
18881
+ const me = G === R;
18882
+ return ut += 1, /* @__PURE__ */ T.cloneElement(B, O({
18882
18883
  fullWidth: k === "fullWidth",
18883
- indicator: me && !Z && ze,
18884
+ indicator: me && !X && ze,
18884
18885
  selected: me,
18885
18886
  selectionFollowsFocus: P,
18886
18887
  onChange: b,
18887
18888
  textColor: $,
18888
- value: K
18889
- }, ut === 1 && R === !1 && !V.props.tabIndex ? {
18889
+ value: G
18890
+ }, ut === 1 && R === !1 && !B.props.tabIndex ? {
18890
18891
  tabIndex: 0
18891
18892
  } : {}));
18892
- }), Ht = /* @__PURE__ */ n((V) => {
18893
- const K = ye.current, me = br(K).activeElement;
18893
+ }), Ht = /* @__PURE__ */ n((B) => {
18894
+ const G = Oe.current, me = br(G).activeElement;
18894
18895
  if (me.getAttribute("role") !== "tab")
18895
18896
  return;
18896
18897
  let He = y === "horizontal" ? "ArrowLeft" : "ArrowUp", rt = y === "horizontal" ? "ArrowRight" : "ArrowDown";
18897
- switch (y === "horizontal" && l && (He = "ArrowRight", rt = "ArrowLeft"), V.key) {
18898
+ switch (y === "horizontal" && l && (He = "ArrowRight", rt = "ArrowLeft"), B.key) {
18898
18899
  case He:
18899
- V.preventDefault(), En(K, me, ru);
18900
+ B.preventDefault(), En(G, me, ru);
18900
18901
  break;
18901
18902
  case rt:
18902
- V.preventDefault(), En(K, me, tu);
18903
+ B.preventDefault(), En(G, me, tu);
18903
18904
  break;
18904
18905
  case "Home":
18905
- V.preventDefault(), En(K, null, tu);
18906
+ B.preventDefault(), En(G, null, tu);
18906
18907
  break;
18907
18908
  case "End":
18908
- V.preventDefault(), En(K, null, ru);
18909
+ B.preventDefault(), En(G, null, ru);
18909
18910
  break;
18910
18911
  }
18911
18912
  }, "handleKeyDown"), J = tt();
18912
18913
  return /* @__PURE__ */ H(iP, O({
18913
- className: Y(ue.root, h),
18914
+ className: K(ce.root, h),
18914
18915
  ownerState: ee,
18915
18916
  ref: r,
18916
18917
  as: m
18917
- }, D, {
18918
+ }, _, {
18918
18919
  children: [J.scrollButtonStart, J.scrollbarSizeListener, /* @__PURE__ */ H(lP, {
18919
- className: ue.scroller,
18920
+ className: ce.scroller,
18920
18921
  ownerState: ee,
18921
18922
  style: {
18922
- overflow: j.overflow,
18923
- [N ? `margin${l ? "Left" : "Right"}` : "marginBottom"]: A ? void 0 : -j.scrollbarWidth
18923
+ overflow: V.overflow,
18924
+ [D ? `margin${l ? "Left" : "Right"}` : "marginBottom"]: A ? void 0 : -V.scrollbarWidth
18924
18925
  },
18925
18926
  ref: Fe,
18926
18927
  children: [/* @__PURE__ */ f(sP, {
18927
18928
  "aria-label": s,
18928
18929
  "aria-labelledby": c,
18929
18930
  "aria-orientation": y === "vertical" ? "vertical" : null,
18930
- className: ue.flexContainer,
18931
+ className: ce.flexContainer,
18931
18932
  ownerState: ee,
18932
18933
  onKeyDown: Ht,
18933
- ref: ye,
18934
+ ref: Oe,
18934
18935
  role: "tablist",
18935
18936
  children: dt
18936
- }), Z && ze]
18937
+ }), X && ze]
18937
18938
  }), J.scrollButtonEnd]
18938
18939
  }));
18939
18940
  }, "Tabs"));
@@ -19954,32 +19955,32 @@ const LP = /^(\d+)(th|st|nd|rd)?/i, AP = /\d+/i, IP = {
19954
19955
  onFocus: R,
19955
19956
  onBlur: k,
19956
19957
  onChange: A,
19957
- hidden: D,
19958
+ hidden: _,
19958
19959
  disabled: L,
19959
- useContenido: N = xr,
19960
- validate: _,
19961
- required: I,
19962
- ...B
19963
- } = b, M = s || D === void 0 ? S : D, q = s || L === void 0 ? x : L, ee = s || R === void 0 ? C : R, ue = s || k === void 0 ? P : k, pe = s || A === void 0 ? E : A, ce = er({ ...e, etrs: y, asisEtr: l }), Z = N({
19960
+ useContenido: D = xr,
19961
+ validate: j,
19962
+ required: N,
19963
+ ...z
19964
+ } = b, M = s || _ === void 0 ? S : _, U = s || L === void 0 ? x : L, ee = s || R === void 0 ? C : R, ce = s || k === void 0 ? P : k, pe = s || A === void 0 ? E : A, le = er({ ...e, etrs: y, asisEtr: l }), X = D({
19964
19965
  ...$,
19965
19966
  estado: r,
19966
19967
  hidden: M,
19967
19968
  isLoading: a,
19968
- utils: ce,
19969
- ...B
19969
+ utils: le,
19970
+ ...z
19970
19971
  }), {
19971
19972
  hidden: ae,
19972
- disabled: oe,
19973
- onFocus: Se,
19974
- onChange: le,
19975
- onBlur: se,
19976
- validate: Ce,
19977
- required: U,
19978
- ...z
19979
- } = Z, te = Se || ee, j = se || ue, ne = le || pe, we = p !== void 0 ? p : U !== void 0 ? U : s || I === void 0 ? F : I, Fe = Array.isArray(w) ? w : [w], ye = Array.isArray(_) ? _ : [_], Q = Array.isArray(Ce) ? Ce : [Ce], ge = [
19973
+ disabled: re,
19974
+ onFocus: Te,
19975
+ onChange: se,
19976
+ onBlur: ue,
19977
+ validate: ve,
19978
+ required: Z,
19979
+ ...I
19980
+ } = X, te = Te || ee, V = ue || ce, ne = se || pe, we = p !== void 0 ? p : Z !== void 0 ? Z : s || N === void 0 ? F : N, Fe = Array.isArray(w) ? w : [w], Oe = Array.isArray(j) ? j : [j], Y = Array.isArray(ve) ? ve : [ve], ge = [
19980
19981
  ...Fe,
19981
- ...ye,
19982
- ...Q,
19982
+ ...Oe,
19983
+ ...Y,
19983
19984
  g,
19984
19985
  v
19985
19986
  ].filter((ie) => ie !== void 0);
@@ -19994,16 +19995,16 @@ const LP = /^(\d+)(th|st|nd|rd)?/i, AP = /\d+/i, IP = {
19994
19995
  }
19995
19996
  },
19996
19997
  onFocus: /* @__PURE__ */ n((ie) => {
19997
- te && ee(ce, r, ie);
19998
+ te && ee(le, r, ie);
19998
19999
  }, "onFocus"),
19999
- onBlur: /* @__PURE__ */ n((ie) => j && j(ce, r, ie), "onBlur"),
20000
- onChange: /* @__PURE__ */ n((ie) => ne && ne(ce, r, ie), "onChange"),
20000
+ onBlur: /* @__PURE__ */ n((ie) => V && V(le, r, ie), "onBlur"),
20001
+ onChange: /* @__PURE__ */ n((ie) => ne && ne(le, r, ie), "onChange"),
20001
20002
  helperText: !1,
20002
20003
  validate: ge,
20003
20004
  ...$,
20004
- ...B,
20005
20005
  ...z,
20006
- readOnly: u !== void 0 ? u : oe !== void 0 ? oe : q,
20006
+ ...I,
20007
+ readOnly: u !== void 0 ? u : re !== void 0 ? re : U,
20007
20008
  ...m ? { label: m } : {},
20008
20009
  required: we
20009
20010
  },
@@ -20344,7 +20345,7 @@ const NE = de("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
20344
20345
  edge: i,
20345
20346
  size: l
20346
20347
  } = e, s = {
20347
- root: ["root", r && "disabled", a !== "default" && `color${X(a)}`, i && `edge${X(i)}`, `size${X(l)}`]
20348
+ root: ["root", r && "disabled", a !== "default" && `color${Q(a)}`, i && `edge${Q(i)}`, `size${Q(l)}`]
20348
20349
  };
20349
20350
  return he(s, IE, t);
20350
20351
  }, "useUtilityClasses$o"), jE = W(Oo, {
@@ -20354,7 +20355,7 @@ const NE = de("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
20354
20355
  const {
20355
20356
  ownerState: r
20356
20357
  } = e;
20357
- return [t.root, r.color !== "default" && t[`color${X(r.color)}`], r.edge && t[`edge${X(r.edge)}`], t[`size${X(r.size)}`]];
20358
+ return [t.root, r.color !== "default" && t[`color${Q(r.color)}`], r.edge && t[`edge${Q(r.edge)}`], t[`size${Q(r.size)}`]];
20358
20359
  }, "overridesResolver")
20359
20360
  })(({
20360
20361
  theme: e,
@@ -20426,7 +20427,7 @@ const NE = de("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
20426
20427
  disabled: u = !1,
20427
20428
  disableFocusRipple: d = !1,
20428
20429
  size: p = "medium"
20429
- } = a, h = G(a, DE), m = O({}, a, {
20430
+ } = a, h = q(a, DE), m = O({}, a, {
20430
20431
  edge: i,
20431
20432
  color: c,
20432
20433
  disabled: u,
@@ -20434,7 +20435,7 @@ const NE = de("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
20434
20435
  size: p
20435
20436
  }), g = _E(m);
20436
20437
  return /* @__PURE__ */ f(jE, O({
20437
- className: Y(g.root, s),
20438
+ className: K(g.root, s),
20438
20439
  centerRipple: !0,
20439
20440
  focusRipple: !d,
20440
20441
  disabled: u,
@@ -20537,17 +20538,17 @@ const BE = {
20537
20538
  timeout: b = "auto",
20538
20539
  // eslint-disable-next-line react/prop-types
20539
20540
  TransitionComponent: y = Bt
20540
- } = t, C = G(t, VE), E = Hr(), P = T.useRef(), S = Ar(), x = T.useRef(null), w = lt(x, l.ref, r), F = /* @__PURE__ */ n((_) => (I) => {
20541
- if (_) {
20542
- const B = x.current;
20543
- I === void 0 ? _(B) : _(B, I);
20541
+ } = t, C = q(t, VE), E = Hr(), P = T.useRef(), S = Ar(), x = T.useRef(null), w = lt(x, l.ref, r), F = /* @__PURE__ */ n((j) => (N) => {
20542
+ if (j) {
20543
+ const z = x.current;
20544
+ N === void 0 ? j(z) : j(z, N);
20544
20545
  }
20545
- }, "normalizedTransitionCallback"), $ = F(p), R = F((_, I) => {
20546
- Il(_);
20546
+ }, "normalizedTransitionCallback"), $ = F(p), R = F((j, N) => {
20547
+ Il(j);
20547
20548
  const {
20548
- duration: B,
20549
+ duration: z,
20549
20550
  delay: M,
20550
- easing: q
20551
+ easing: U
20551
20552
  } = oo({
20552
20553
  style: v,
20553
20554
  timeout: b,
@@ -20556,18 +20557,18 @@ const BE = {
20556
20557
  mode: "enter"
20557
20558
  });
20558
20559
  let ee;
20559
- b === "auto" ? (ee = S.transitions.getAutoHeightDuration(_.clientHeight), P.current = ee) : ee = B, _.style.transition = [S.transitions.create("opacity", {
20560
+ b === "auto" ? (ee = S.transitions.getAutoHeightDuration(j.clientHeight), P.current = ee) : ee = z, j.style.transition = [S.transitions.create("opacity", {
20560
20561
  duration: ee,
20561
20562
  delay: M
20562
20563
  }), S.transitions.create("transform", {
20563
20564
  duration: yi ? ee : ee * 0.666,
20564
20565
  delay: M,
20565
- easing: q
20566
- })].join(","), u && u(_, I);
20567
- }), k = F(d), A = F(g), D = F((_) => {
20566
+ easing: U
20567
+ })].join(","), u && u(j, N);
20568
+ }), k = F(d), A = F(g), _ = F((j) => {
20568
20569
  const {
20569
- duration: I,
20570
- delay: B,
20570
+ duration: N,
20571
+ delay: z,
20571
20572
  easing: M
20572
20573
  } = oo({
20573
20574
  style: v,
@@ -20576,15 +20577,15 @@ const BE = {
20576
20577
  }, {
20577
20578
  mode: "exit"
20578
20579
  });
20579
- let q;
20580
- b === "auto" ? (q = S.transitions.getAutoHeightDuration(_.clientHeight), P.current = q) : q = I, _.style.transition = [S.transitions.create("opacity", {
20581
- duration: q,
20582
- delay: B
20580
+ let U;
20581
+ b === "auto" ? (U = S.transitions.getAutoHeightDuration(j.clientHeight), P.current = U) : U = N, j.style.transition = [S.transitions.create("opacity", {
20582
+ duration: U,
20583
+ delay: z
20583
20584
  }), S.transitions.create("transform", {
20584
- duration: yi ? q : q * 0.666,
20585
- delay: yi ? B : B || q * 0.333,
20585
+ duration: yi ? U : U * 0.666,
20586
+ delay: yi ? z : z || U * 0.333,
20586
20587
  easing: M
20587
- })].join(","), _.style.opacity = 0, _.style.transform = Bi(0.75), h && h(_);
20588
+ })].join(","), j.style.opacity = 0, j.style.transform = Bi(0.75), h && h(j);
20588
20589
  }), L = F(m);
20589
20590
  return /* @__PURE__ */ f(y, O({
20590
20591
  appear: i,
@@ -20593,22 +20594,22 @@ const BE = {
20593
20594
  onEnter: R,
20594
20595
  onEntered: k,
20595
20596
  onEntering: $,
20596
- onExit: D,
20597
+ onExit: _,
20597
20598
  onExited: L,
20598
20599
  onExiting: A,
20599
- addEndListener: /* @__PURE__ */ n((_) => {
20600
- b === "auto" && E.start(P.current || 0, _), a && a(x.current, _);
20600
+ addEndListener: /* @__PURE__ */ n((j) => {
20601
+ b === "auto" && E.start(P.current || 0, j), a && a(x.current, j);
20601
20602
  }, "handleAddEndListener"),
20602
20603
  timeout: b === "auto" ? null : b
20603
20604
  }, C, {
20604
- children: /* @__PURE__ */ n((_, I) => /* @__PURE__ */ T.cloneElement(l, O({
20605
+ children: /* @__PURE__ */ n((j, N) => /* @__PURE__ */ T.cloneElement(l, O({
20605
20606
  style: O({
20606
20607
  opacity: 0,
20607
20608
  transform: Bi(0.75),
20608
- visibility: _ === "exited" && !c ? "hidden" : void 0
20609
- }, BE[_], v, l.props.style),
20609
+ visibility: j === "exited" && !c ? "hidden" : void 0
20610
+ }, BE[j], v, l.props.style),
20610
20611
  ref: w
20611
- }, I)), "children")
20612
+ }, N)), "children")
20612
20613
  }));
20613
20614
  }, "Grow"));
20614
20615
  process.env.NODE_ENV !== "production" && (Zo.propTypes = {
@@ -21024,14 +21025,14 @@ function su(e) {
21024
21025
  }
21025
21026
  var A = Object.assign({
21026
21027
  position: c
21027
- }, d && h1), D = p === !0 ? b1({
21028
+ }, d && h1), _ = p === !0 ? b1({
21028
21029
  x: g,
21029
21030
  y: b
21030
21031
  }, yt(r)) : {
21031
21032
  x: g,
21032
21033
  y: b
21033
21034
  };
21034
- if (g = D.x, b = D.y, u) {
21035
+ if (g = _.x, b = _.y, u) {
21035
21036
  var L;
21036
21037
  return Object.assign({}, A, (L = {}, L[S] = E ? "0" : "", L[P] = C ? "0" : "", L.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + g + "px, " + b + "px)" : "translate3d(" + g + "px, " + b + "px, 0)", L));
21037
21038
  }
@@ -21265,10 +21266,10 @@ function en(e, t) {
21265
21266
  right: R.right - x.right + C.right
21266
21267
  }, A = e.modifiersData.offset;
21267
21268
  if (m === wo && A) {
21268
- var D = A[i];
21269
+ var _ = A[i];
21269
21270
  Object.keys(k).forEach(function(L) {
21270
- var N = [kt, Rt].indexOf(L) >= 0 ? 1 : -1, _ = [pt, Rt].indexOf(L) >= 0 ? "y" : "x";
21271
- k[L] += D[_] * N;
21271
+ var D = [kt, Rt].indexOf(L) >= 0 ? 1 : -1, j = [pt, Rt].indexOf(L) >= 0 ? "y" : "x";
21272
+ k[L] += _[j] * D;
21272
21273
  });
21273
21274
  }
21274
21275
  return k;
@@ -21305,8 +21306,8 @@ n(R1, "getExpandedFallbackPlacements");
21305
21306
  function k1(e) {
21306
21307
  var t = e.state, r = e.options, a = e.name;
21307
21308
  if (!t.modifiersData[a]._skip) {
21308
- for (var i = r.mainAxis, l = i === void 0 ? !0 : i, s = r.altAxis, c = s === void 0 ? !0 : s, u = r.fallbackPlacements, d = r.padding, p = r.boundary, h = r.rootBoundary, m = r.altBoundary, g = r.flipVariations, v = g === void 0 ? !0 : g, b = r.allowedAutoPlacements, y = t.options.placement, C = Qt(y), E = C === y, P = u || (E || !v ? [Bn(y)] : R1(y)), S = [y].concat(P).reduce(function(Z, ae) {
21309
- return Z.concat(Qt(ae) === as ? w1(t, {
21309
+ for (var i = r.mainAxis, l = i === void 0 ? !0 : i, s = r.altAxis, c = s === void 0 ? !0 : s, u = r.fallbackPlacements, d = r.padding, p = r.boundary, h = r.rootBoundary, m = r.altBoundary, g = r.flipVariations, v = g === void 0 ? !0 : g, b = r.allowedAutoPlacements, y = t.options.placement, C = Qt(y), E = C === y, P = u || (E || !v ? [Bn(y)] : R1(y)), S = [y].concat(P).reduce(function(X, ae) {
21310
+ return X.concat(Qt(ae) === as ? w1(t, {
21310
21311
  placement: ae,
21311
21312
  boundary: p,
21312
21313
  rootBoundary: h,
@@ -21315,37 +21316,37 @@ function k1(e) {
21315
21316
  allowedAutoPlacements: b
21316
21317
  }) : ae);
21317
21318
  }, []), x = t.rects.reference, w = t.rects.popper, F = /* @__PURE__ */ new Map(), $ = !0, R = S[0], k = 0; k < S.length; k++) {
21318
- var A = S[k], D = Qt(A), L = so(A) === ao, N = [pt, Rt].indexOf(D) >= 0, _ = N ? "width" : "height", I = en(t, {
21319
+ var A = S[k], _ = Qt(A), L = so(A) === ao, D = [pt, Rt].indexOf(_) >= 0, j = D ? "width" : "height", N = en(t, {
21319
21320
  placement: A,
21320
21321
  boundary: p,
21321
21322
  rootBoundary: h,
21322
21323
  altBoundary: m,
21323
21324
  padding: d
21324
- }), B = N ? L ? kt : ft : L ? Rt : pt;
21325
- x[_] > w[_] && (B = Bn(B));
21326
- var M = Bn(B), q = [];
21327
- if (l && q.push(I[D] <= 0), c && q.push(I[B] <= 0, I[M] <= 0), q.every(function(Z) {
21328
- return Z;
21325
+ }), z = D ? L ? kt : ft : L ? Rt : pt;
21326
+ x[j] > w[j] && (z = Bn(z));
21327
+ var M = Bn(z), U = [];
21328
+ if (l && U.push(N[_] <= 0), c && U.push(N[z] <= 0, N[M] <= 0), U.every(function(X) {
21329
+ return X;
21329
21330
  })) {
21330
21331
  R = A, $ = !1;
21331
21332
  break;
21332
21333
  }
21333
- F.set(A, q);
21334
+ F.set(A, U);
21334
21335
  }
21335
21336
  if ($)
21336
- for (var ee = v ? 3 : 1, ue = /* @__PURE__ */ n(function(ae) {
21337
- var oe = S.find(function(Se) {
21338
- var le = F.get(Se);
21339
- if (le)
21340
- return le.slice(0, ae).every(function(se) {
21341
- return se;
21337
+ for (var ee = v ? 3 : 1, ce = /* @__PURE__ */ n(function(ae) {
21338
+ var re = S.find(function(Te) {
21339
+ var se = F.get(Te);
21340
+ if (se)
21341
+ return se.slice(0, ae).every(function(ue) {
21342
+ return ue;
21342
21343
  });
21343
21344
  });
21344
- if (oe)
21345
- return R = oe, "break";
21345
+ if (re)
21346
+ return R = re, "break";
21346
21347
  }, "_loop"), pe = ee; pe > 0; pe--) {
21347
- var ce = ue(pe);
21348
- if (ce === "break") break;
21348
+ var le = ce(pe);
21349
+ if (le === "break") break;
21349
21350
  }
21350
21351
  t.placement !== R && (t.modifiersData[a]._skip = !0, t.placement = R, t.reset = !0);
21351
21352
  }
@@ -21465,23 +21466,23 @@ function V1(e) {
21465
21466
  } : Object.assign({
21466
21467
  mainAxis: 0,
21467
21468
  altAxis: 0
21468
- }, R), A = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, D = {
21469
+ }, R), A = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, _ = {
21469
21470
  x: 0,
21470
21471
  y: 0
21471
21472
  };
21472
21473
  if (w) {
21473
21474
  if (l) {
21474
- var L, N = S === "y" ? pt : ft, _ = S === "y" ? Rt : kt, I = S === "y" ? "height" : "width", B = w[S], M = B + y[N], q = B - y[_], ee = g ? -$[I] / 2 : 0, ue = E === ao ? F[I] : $[I], pe = E === ao ? -$[I] : -F[I], ce = t.elements.arrow, Z = g && ce ? ls(ce) : {
21475
+ var L, D = S === "y" ? pt : ft, j = S === "y" ? Rt : kt, N = S === "y" ? "height" : "width", z = w[S], M = z + y[D], U = z - y[j], ee = g ? -$[N] / 2 : 0, ce = E === ao ? F[N] : $[N], pe = E === ao ? -$[N] : -F[N], le = t.elements.arrow, X = g && le ? ls(le) : {
21475
21476
  width: 0,
21476
21477
  height: 0
21477
- }, ae = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : mf(), oe = ae[N], Se = ae[_], le = Do(0, F[I], Z[I]), se = P ? F[I] / 2 - ee - le - oe - k.mainAxis : ue - le - oe - k.mainAxis, Ce = P ? -F[I] / 2 + ee + le + Se + k.mainAxis : pe + le + Se + k.mainAxis, U = t.elements.arrow && yn(t.elements.arrow), z = U ? S === "y" ? U.clientTop || 0 : U.clientLeft || 0 : 0, te = (L = A == null ? void 0 : A[S]) != null ? L : 0, j = B + se - te - z, ne = B + Ce - te, we = Do(g ? ra(M, j) : M, B, g ? Fr(q, ne) : q);
21478
- w[S] = we, D[S] = we - B;
21478
+ }, ae = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : mf(), re = ae[D], Te = ae[j], se = Do(0, F[N], X[N]), ue = P ? F[N] / 2 - ee - se - re - k.mainAxis : ce - se - re - k.mainAxis, ve = P ? -F[N] / 2 + ee + se + Te + k.mainAxis : pe + se + Te + k.mainAxis, Z = t.elements.arrow && yn(t.elements.arrow), I = Z ? S === "y" ? Z.clientTop || 0 : Z.clientLeft || 0 : 0, te = (L = A == null ? void 0 : A[S]) != null ? L : 0, V = z + ue - te - I, ne = z + ve - te, we = Do(g ? ra(M, V) : M, z, g ? Fr(U, ne) : U);
21479
+ w[S] = we, _[S] = we - z;
21479
21480
  }
21480
21481
  if (c) {
21481
- var Fe, ye = S === "x" ? pt : ft, Q = S === "x" ? Rt : kt, ge = w[x], ie = x === "y" ? "height" : "width", Re = ge + y[ye], Ne = ge - y[Q], Oe = [pt, ft].indexOf(C) !== -1, _e = (Fe = A == null ? void 0 : A[x]) != null ? Fe : 0, Xe = Oe ? Re : ge - F[ie] - $[ie] - _e + k.altAxis, tt = Oe ? ge + F[ie] + $[ie] - _e - k.altAxis : Ne, ve = g && Oe ? u1(Xe, ge, tt) : Do(g ? Xe : Re, ge, g ? tt : Ne);
21482
- w[x] = ve, D[x] = ve - ge;
21482
+ var Fe, Oe = S === "x" ? pt : ft, Y = S === "x" ? Rt : kt, ge = w[x], ie = x === "y" ? "height" : "width", Re = ge + y[Oe], Ne = ge - y[Y], xe = [pt, ft].indexOf(C) !== -1, _e = (Fe = A == null ? void 0 : A[x]) != null ? Fe : 0, Xe = xe ? Re : ge - F[ie] - $[ie] - _e + k.altAxis, tt = xe ? ge + F[ie] + $[ie] - _e - k.altAxis : Ne, ye = g && xe ? u1(Xe, ge, tt) : Do(g ? Xe : Re, ge, g ? tt : Ne);
21483
+ w[x] = ye, _[x] = ye - ge;
21483
21484
  }
21484
- t.modifiersData[a] = D;
21485
+ t.modifiersData[a] = _;
21485
21486
  }
21486
21487
  }
21487
21488
  n(V1, "preventOverflow");
@@ -21755,7 +21756,7 @@ const nF = /* @__PURE__ */ n((e) => {
21755
21756
  TransitionProps: b
21756
21757
  // @ts-ignore internal logic
21757
21758
  // prevent from spreading to DOM, it can come from the parent component e.g. Select.
21758
- } = t, y = G(t, eF), C = T.useRef(null), E = Yr(C, r), P = T.useRef(null), S = Yr(P, m), x = T.useRef(S);
21759
+ } = t, y = q(t, eF), C = T.useRef(null), E = Yr(C, r), P = T.useRef(null), S = Yr(P, m), x = T.useRef(S);
21759
21760
  Qr(() => {
21760
21761
  x.current = S;
21761
21762
  }, [S]), T.useImperativeHandle(m, () => P.current, []);
@@ -21767,7 +21768,7 @@ const nF = /* @__PURE__ */ n((e) => {
21767
21768
  }, [i]), Qr(() => {
21768
21769
  if (!R || !d)
21769
21770
  return;
21770
- const _ = /* @__PURE__ */ n((M) => {
21771
+ const j = /* @__PURE__ */ n((M) => {
21771
21772
  $(M.placement);
21772
21773
  }, "handlePopperUpdate");
21773
21774
  if (process.env.NODE_ENV !== "production" && R && za(R) && R.nodeType === 1) {
@@ -21775,7 +21776,7 @@ const nF = /* @__PURE__ */ n((e) => {
21775
21776
  process.env.NODE_ENV !== "test" && M.top === 0 && M.left === 0 && M.right === 0 && M.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(`
21776
21777
  `));
21777
21778
  }
21778
- let I = [{
21779
+ let N = [{
21779
21780
  name: "preventOverflow",
21780
21781
  options: {
21781
21782
  altBoundary: c
@@ -21792,24 +21793,24 @@ const nF = /* @__PURE__ */ n((e) => {
21792
21793
  fn: /* @__PURE__ */ n(({
21793
21794
  state: M
21794
21795
  }) => {
21795
- _(M);
21796
+ j(M);
21796
21797
  }, "fn")
21797
21798
  }];
21798
- u != null && (I = I.concat(u)), h && h.modifiers != null && (I = I.concat(h.modifiers));
21799
- const B = Z1(R, C.current, O({
21799
+ u != null && (N = N.concat(u)), h && h.modifiers != null && (N = N.concat(h.modifiers));
21800
+ const z = Z1(R, C.current, O({
21800
21801
  placement: w
21801
21802
  }, h, {
21802
- modifiers: I
21803
+ modifiers: N
21803
21804
  }));
21804
- return x.current(B), () => {
21805
- B.destroy(), x.current(null);
21805
+ return x.current(z), () => {
21806
+ z.destroy(), x.current(null);
21806
21807
  };
21807
21808
  }, [R, c, u, d, h, w]);
21808
21809
  const A = {
21809
21810
  placement: F
21810
21811
  };
21811
21812
  b !== null && (A.TransitionProps = b);
21812
- const D = nF(t), L = (a = v.root) != null ? a : "div", N = jt({
21813
+ const _ = nF(t), L = (a = v.root) != null ? a : "div", D = jt({
21813
21814
  elementType: L,
21814
21815
  externalSlotProps: g.root,
21815
21816
  externalForwardedProps: y,
@@ -21818,9 +21819,9 @@ const nF = /* @__PURE__ */ n((e) => {
21818
21819
  ref: E
21819
21820
  },
21820
21821
  ownerState: t,
21821
- className: D.root
21822
+ className: _.root
21822
21823
  });
21823
- return /* @__PURE__ */ f(L, O({}, N, {
21824
+ return /* @__PURE__ */ f(L, O({}, D, {
21824
21825
  children: typeof l == "function" ? l(A) : l
21825
21826
  }));
21826
21827
  }, "PopperTooltip")), yf = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
@@ -21840,7 +21841,7 @@ const nF = /* @__PURE__ */ n((e) => {
21840
21841
  transition: b = !1,
21841
21842
  slotProps: y = {},
21842
21843
  slots: C = {}
21843
- } = t, E = G(t, tF), [P, S] = T.useState(!0), x = /* @__PURE__ */ n(() => {
21844
+ } = t, E = q(t, tF), [P, S] = T.useState(!0), x = /* @__PURE__ */ n(() => {
21844
21845
  S(!1);
21845
21846
  }, "handleEnter"), w = /* @__PURE__ */ n(() => {
21846
21847
  S(!0);
@@ -22034,7 +22035,7 @@ const lF = ["anchorEl", "component", "components", "componentsProps", "container
22034
22035
  transition: E,
22035
22036
  slots: P,
22036
22037
  slotProps: S
22037
- } = l, x = G(l, lF), w = (a = P == null ? void 0 : P.root) != null ? a : u == null ? void 0 : u.Root, F = O({
22038
+ } = l, x = q(l, lF), w = (a = P == null ? void 0 : P.root) != null ? a : u == null ? void 0 : u.Root, F = O({
22038
22039
  anchorEl: s,
22039
22040
  container: p,
22040
22041
  disablePortal: h,
@@ -22202,7 +22203,7 @@ const pF = /* @__PURE__ */ n((e) => {
22202
22203
  placement: l
22203
22204
  } = e, s = {
22204
22205
  popper: ["popper", !r && "popperInteractive", a && "popperArrow"],
22205
- tooltip: ["tooltip", a && "tooltipArrow", i && "touch", `tooltipPlacement${X(l.split("-")[0])}`],
22206
+ tooltip: ["tooltip", a && "tooltipArrow", i && "touch", `tooltipPlacement${Q(l.split("-")[0])}`],
22206
22207
  arrow: ["arrow"]
22207
22208
  };
22208
22209
  return he(s, cF, t);
@@ -22274,7 +22275,7 @@ const pF = /* @__PURE__ */ n((e) => {
22274
22275
  const {
22275
22276
  ownerState: r
22276
22277
  } = e;
22277
- return [t.tooltip, r.touch && t.touch, r.arrow && t.tooltipArrow, t[`tooltipPlacement${X(r.placement.split("-")[0])}`]];
22278
+ return [t.tooltip, r.touch && t.touch, r.arrow && t.tooltipArrow, t[`tooltipPlacement${Q(r.placement.split("-")[0])}`]];
22278
22279
  }, "overridesResolver")
22279
22280
  })(({
22280
22281
  theme: e,
@@ -22379,129 +22380,129 @@ const Ha = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
22379
22380
  components: R = {},
22380
22381
  componentsProps: k = {},
22381
22382
  describeChild: A = !1,
22382
- disableFocusListener: D = !1,
22383
+ disableFocusListener: _ = !1,
22383
22384
  disableHoverListener: L = !1,
22384
- disableInteractive: N = !1,
22385
- disableTouchListener: _ = !1,
22386
- enterDelay: I = 100,
22387
- enterNextDelay: B = 0,
22385
+ disableInteractive: D = !1,
22386
+ disableTouchListener: j = !1,
22387
+ enterDelay: N = 100,
22388
+ enterNextDelay: z = 0,
22388
22389
  enterTouchDelay: M = 700,
22389
- followCursor: q = !1,
22390
+ followCursor: U = !1,
22390
22391
  id: ee,
22391
- leaveDelay: ue = 0,
22392
+ leaveDelay: ce = 0,
22392
22393
  leaveTouchDelay: pe = 1500,
22393
- onClose: ce,
22394
- onOpen: Z,
22394
+ onClose: le,
22395
+ onOpen: X,
22395
22396
  open: ae,
22396
- placement: oe = "bottom",
22397
- PopperComponent: Se,
22398
- PopperProps: le = {},
22399
- slotProps: se = {},
22400
- slots: Ce = {},
22401
- title: U,
22402
- TransitionComponent: z = Zo,
22397
+ placement: re = "bottom",
22398
+ PopperComponent: Te,
22399
+ PopperProps: se = {},
22400
+ slotProps: ue = {},
22401
+ slots: ve = {},
22402
+ title: Z,
22403
+ TransitionComponent: I = Zo,
22403
22404
  TransitionProps: te
22404
- } = w, j = G(w, uF), ne = /* @__PURE__ */ T.isValidElement($) ? $ : /* @__PURE__ */ f("span", {
22405
+ } = w, V = q(w, uF), ne = /* @__PURE__ */ T.isValidElement($) ? $ : /* @__PURE__ */ f("span", {
22405
22406
  children: $
22406
- }), we = Ar(), Fe = $a(), [ye, Q] = T.useState(), [ge, ie] = T.useState(null), Re = T.useRef(!1), Ne = N || q, Oe = Hr(), _e = Hr(), Xe = Hr(), tt = Hr(), [ve, re] = Yn({
22407
+ }), we = Ar(), Fe = $a(), [Oe, Y] = T.useState(), [ge, ie] = T.useState(null), Re = T.useRef(!1), Ne = D || U, xe = Hr(), _e = Hr(), Xe = Hr(), tt = Hr(), [ye, oe] = Yn({
22407
22408
  controlled: ae,
22408
22409
  default: !1,
22409
22410
  name: "Tooltip",
22410
22411
  state: "open"
22411
22412
  });
22412
- let ze = ve;
22413
+ let ze = ye;
22413
22414
  if (process.env.NODE_ENV !== "production") {
22414
22415
  const {
22415
- current: xe
22416
+ current: Se
22416
22417
  } = T.useRef(ae !== void 0);
22417
22418
  T.useEffect(() => {
22418
- ye && ye.disabled && !xe && U !== "" && ye.tagName.toLowerCase() === "button" && console.error(["MUI: You are providing a disabled `button` child to the Tooltip component.", "A disabled element does not fire events.", "Tooltip needs to listen to the child element's events to display the title.", "", "Add a simple wrapper element, such as a `span`."].join(`
22419
+ Oe && Oe.disabled && !Se && Z !== "" && Oe.tagName.toLowerCase() === "button" && console.error(["MUI: You are providing a disabled `button` child to the Tooltip component.", "A disabled element does not fire events.", "Tooltip needs to listen to the child element's events to display the title.", "", "Add a simple wrapper element, such as a `span`."].join(`
22419
22420
  `));
22420
- }, [U, ye, xe]);
22421
+ }, [Z, Oe, Se]);
22421
22422
  }
22422
22423
  const ut = dn(ee), dt = T.useRef(), Ht = Kt(() => {
22423
22424
  dt.current !== void 0 && (document.body.style.WebkitUserSelect = dt.current, dt.current = void 0), tt.clear();
22424
22425
  });
22425
22426
  T.useEffect(() => Ht, [Ht]);
22426
- const J = /* @__PURE__ */ n((xe) => {
22427
- hu.clear(), wn = !0, re(!0), Z && !ze && Z(xe);
22428
- }, "handleOpen"), V = Kt(
22427
+ const J = /* @__PURE__ */ n((Se) => {
22428
+ hu.clear(), wn = !0, oe(!0), X && !ze && X(Se);
22429
+ }, "handleOpen"), B = Kt(
22429
22430
  /**
22430
22431
  * @param {React.SyntheticEvent | Event} event
22431
22432
  */
22432
- (xe) => {
22433
- hu.start(800 + ue, () => {
22433
+ (Se) => {
22434
+ hu.start(800 + ce, () => {
22434
22435
  wn = !1;
22435
- }), re(!1), ce && ze && ce(xe), Oe.start(we.transitions.duration.shortest, () => {
22436
+ }), oe(!1), le && ze && le(Se), xe.start(we.transitions.duration.shortest, () => {
22436
22437
  Re.current = !1;
22437
22438
  });
22438
22439
  }
22439
- ), K = /* @__PURE__ */ n((xe) => {
22440
- Re.current && xe.type !== "touchstart" || (ye && ye.removeAttribute("title"), _e.clear(), Xe.clear(), I || wn && B ? _e.start(wn ? B : I, () => {
22441
- J(xe);
22442
- }) : J(xe));
22443
- }, "handleMouseOver"), me = /* @__PURE__ */ n((xe) => {
22444
- _e.clear(), Xe.start(ue, () => {
22445
- V(xe);
22440
+ ), G = /* @__PURE__ */ n((Se) => {
22441
+ Re.current && Se.type !== "touchstart" || (Oe && Oe.removeAttribute("title"), _e.clear(), Xe.clear(), N || wn && z ? _e.start(wn ? z : N, () => {
22442
+ J(Se);
22443
+ }) : J(Se));
22444
+ }, "handleMouseOver"), me = /* @__PURE__ */ n((Se) => {
22445
+ _e.clear(), Xe.start(ce, () => {
22446
+ B(Se);
22446
22447
  });
22447
22448
  }, "handleMouseLeave"), {
22448
- isFocusVisibleRef: Te,
22449
+ isFocusVisibleRef: Ce,
22449
22450
  onBlur: He,
22450
22451
  onFocus: rt,
22451
22452
  ref: xt
22452
- } = ka(), [, ur] = T.useState(!1), At = /* @__PURE__ */ n((xe) => {
22453
- He(xe), Te.current === !1 && (ur(!1), me(xe));
22454
- }, "handleBlur"), Ir = /* @__PURE__ */ n((xe) => {
22455
- ye || Q(xe.currentTarget), rt(xe), Te.current === !0 && (ur(!0), K(xe));
22456
- }, "handleFocus"), Ds = /* @__PURE__ */ n((xe) => {
22453
+ } = ka(), [, ur] = T.useState(!1), At = /* @__PURE__ */ n((Se) => {
22454
+ He(Se), Ce.current === !1 && (ur(!1), me(Se));
22455
+ }, "handleBlur"), Ir = /* @__PURE__ */ n((Se) => {
22456
+ Oe || Y(Se.currentTarget), rt(Se), Ce.current === !0 && (ur(!0), G(Se));
22457
+ }, "handleFocus"), Ds = /* @__PURE__ */ n((Se) => {
22457
22458
  Re.current = !0;
22458
22459
  const bt = ne.props;
22459
- bt.onTouchStart && bt.onTouchStart(xe);
22460
- }, "detectTouchStart"), om = /* @__PURE__ */ n((xe) => {
22461
- Ds(xe), Xe.clear(), Oe.clear(), Ht(), dt.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", tt.start(M, () => {
22462
- document.body.style.WebkitUserSelect = dt.current, K(xe);
22460
+ bt.onTouchStart && bt.onTouchStart(Se);
22461
+ }, "detectTouchStart"), om = /* @__PURE__ */ n((Se) => {
22462
+ Ds(Se), Xe.clear(), xe.clear(), Ht(), dt.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", tt.start(M, () => {
22463
+ document.body.style.WebkitUserSelect = dt.current, G(Se);
22463
22464
  });
22464
- }, "handleTouchStart"), nm = /* @__PURE__ */ n((xe) => {
22465
- ne.props.onTouchEnd && ne.props.onTouchEnd(xe), Ht(), Xe.start(pe, () => {
22466
- V(xe);
22465
+ }, "handleTouchStart"), nm = /* @__PURE__ */ n((Se) => {
22466
+ ne.props.onTouchEnd && ne.props.onTouchEnd(Se), Ht(), Xe.start(pe, () => {
22467
+ B(Se);
22467
22468
  });
22468
22469
  }, "handleTouchEnd");
22469
22470
  T.useEffect(() => {
22470
22471
  if (!ze)
22471
22472
  return;
22472
- function xe(bt) {
22473
- (bt.key === "Escape" || bt.key === "Esc") && V(bt);
22473
+ function Se(bt) {
22474
+ (bt.key === "Escape" || bt.key === "Esc") && B(bt);
22474
22475
  }
22475
- return n(xe, "handleKeyDown"), document.addEventListener("keydown", xe), () => {
22476
- document.removeEventListener("keydown", xe);
22476
+ return n(Se, "handleKeyDown"), document.addEventListener("keydown", Se), () => {
22477
+ document.removeEventListener("keydown", Se);
22477
22478
  };
22478
- }, [V, ze]);
22479
- const am = lt(ne.ref, xt, Q, r);
22480
- !U && U !== 0 && (ze = !1);
22481
- const Ja = T.useRef(), im = /* @__PURE__ */ n((xe) => {
22479
+ }, [B, ze]);
22480
+ const am = lt(ne.ref, xt, Y, r);
22481
+ !Z && Z !== 0 && (ze = !1);
22482
+ const Ja = T.useRef(), im = /* @__PURE__ */ n((Se) => {
22482
22483
  const bt = ne.props;
22483
- bt.onMouseMove && bt.onMouseMove(xe), Ro = {
22484
- x: xe.clientX,
22485
- y: xe.clientY
22484
+ bt.onMouseMove && bt.onMouseMove(Se), Ro = {
22485
+ x: Se.clientX,
22486
+ y: Se.clientY
22486
22487
  }, Ja.current && Ja.current.update();
22487
- }, "handleMouseMove"), To = {}, ei = typeof U == "string";
22488
- A ? (To.title = !ze && ei && !L ? U : null, To["aria-describedby"] = ze ? ut : null) : (To["aria-label"] = ei ? U : null, To["aria-labelledby"] = ze && !ei ? ut : null);
22489
- const St = O({}, To, j, ne.props, {
22490
- className: Y(j.className, ne.props.className),
22488
+ }, "handleMouseMove"), To = {}, ei = typeof Z == "string";
22489
+ A ? (To.title = !ze && ei && !L ? Z : null, To["aria-describedby"] = ze ? ut : null) : (To["aria-label"] = ei ? Z : null, To["aria-labelledby"] = ze && !ei ? ut : null);
22490
+ const St = O({}, To, V, ne.props, {
22491
+ className: K(V.className, ne.props.className),
22491
22492
  onTouchStart: Ds,
22492
22493
  ref: am
22493
- }, q ? {
22494
+ }, U ? {
22494
22495
  onMouseMove: im
22495
22496
  } : {});
22496
22497
  process.env.NODE_ENV !== "production" && (St["data-mui-internal-clone-element"] = !0, T.useEffect(() => {
22497
- ye && !ye.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(`
22498
+ Oe && !Oe.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(`
22498
22499
  `));
22499
- }, [ye]));
22500
+ }, [Oe]));
22500
22501
  const Co = {};
22501
- _ || (St.onTouchStart = om, St.onTouchEnd = nm), L || (St.onMouseOver = Rn(K, St.onMouseOver), St.onMouseLeave = Rn(me, St.onMouseLeave), Ne || (Co.onMouseOver = K, Co.onMouseLeave = me)), D || (St.onFocus = Rn(Ir, St.onFocus), St.onBlur = Rn(At, St.onBlur), Ne || (Co.onFocus = Ir, Co.onBlur = At)), process.env.NODE_ENV !== "production" && ne.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${ne.props.title}\` or the Tooltip component.`].join(`
22502
+ j || (St.onTouchStart = om, St.onTouchEnd = nm), L || (St.onMouseOver = Rn(G, St.onMouseOver), St.onMouseLeave = Rn(me, St.onMouseLeave), Ne || (Co.onMouseOver = G, Co.onMouseLeave = me)), _ || (St.onFocus = Rn(Ir, St.onFocus), St.onBlur = Rn(At, St.onBlur), Ne || (Co.onFocus = Ir, Co.onBlur = At)), process.env.NODE_ENV !== "production" && ne.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${ne.props.title}\` or the Tooltip component.`].join(`
22502
22503
  `));
22503
22504
  const lm = T.useMemo(() => {
22504
- var xe;
22505
+ var Se;
22505
22506
  let bt = [{
22506
22507
  name: "arrow",
22507
22508
  enabled: !!ge,
@@ -22510,28 +22511,28 @@ const Ha = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
22510
22511
  padding: 4
22511
22512
  }
22512
22513
  }];
22513
- return (xe = le.popperOptions) != null && xe.modifiers && (bt = bt.concat(le.popperOptions.modifiers)), O({}, le.popperOptions, {
22514
+ return (Se = se.popperOptions) != null && Se.modifiers && (bt = bt.concat(se.popperOptions.modifiers)), O({}, se.popperOptions, {
22514
22515
  modifiers: bt
22515
22516
  });
22516
- }, [ge, le]), Po = O({}, w, {
22517
+ }, [ge, se]), Po = O({}, w, {
22517
22518
  isRtl: Fe,
22518
22519
  arrow: F,
22519
22520
  disableInteractive: Ne,
22520
- placement: oe,
22521
- PopperComponentProp: Se,
22521
+ placement: re,
22522
+ PopperComponentProp: Te,
22522
22523
  touch: Re.current
22523
- }), ti = pF(Po), _s = (a = (i = Ce.popper) != null ? i : R.Popper) != null ? a : fF, js = (l = (s = (c = Ce.transition) != null ? c : R.Transition) != null ? s : z) != null ? l : Zo, Vs = (u = (d = Ce.tooltip) != null ? d : R.Tooltip) != null ? u : mF, Bs = (p = (h = Ce.arrow) != null ? h : R.Arrow) != null ? p : hF, sm = Wr(_s, O({}, le, (m = se.popper) != null ? m : k.popper, {
22524
- className: Y(ti.popper, le == null ? void 0 : le.className, (g = (v = se.popper) != null ? v : k.popper) == null ? void 0 : g.className)
22525
- }), Po), cm = Wr(js, O({}, te, (b = se.transition) != null ? b : k.transition), Po), um = Wr(Vs, O({}, (y = se.tooltip) != null ? y : k.tooltip, {
22526
- className: Y(ti.tooltip, (C = (E = se.tooltip) != null ? E : k.tooltip) == null ? void 0 : C.className)
22527
- }), Po), dm = Wr(Bs, O({}, (P = se.arrow) != null ? P : k.arrow, {
22528
- className: Y(ti.arrow, (S = (x = se.arrow) != null ? x : k.arrow) == null ? void 0 : S.className)
22524
+ }), ti = pF(Po), _s = (a = (i = ve.popper) != null ? i : R.Popper) != null ? a : fF, js = (l = (s = (c = ve.transition) != null ? c : R.Transition) != null ? s : I) != null ? l : Zo, Vs = (u = (d = ve.tooltip) != null ? d : R.Tooltip) != null ? u : mF, Bs = (p = (h = ve.arrow) != null ? h : R.Arrow) != null ? p : hF, sm = Wr(_s, O({}, se, (m = ue.popper) != null ? m : k.popper, {
22525
+ className: K(ti.popper, se == null ? void 0 : se.className, (g = (v = ue.popper) != null ? v : k.popper) == null ? void 0 : g.className)
22526
+ }), Po), cm = Wr(js, O({}, te, (b = ue.transition) != null ? b : k.transition), Po), um = Wr(Vs, O({}, (y = ue.tooltip) != null ? y : k.tooltip, {
22527
+ className: K(ti.tooltip, (C = (E = ue.tooltip) != null ? E : k.tooltip) == null ? void 0 : C.className)
22528
+ }), Po), dm = Wr(Bs, O({}, (P = ue.arrow) != null ? P : k.arrow, {
22529
+ className: K(ti.arrow, (S = (x = ue.arrow) != null ? x : k.arrow) == null ? void 0 : S.className)
22529
22530
  }), Po);
22530
22531
  return /* @__PURE__ */ H(T.Fragment, {
22531
22532
  children: [/* @__PURE__ */ T.cloneElement(ne, St), /* @__PURE__ */ f(_s, O({
22532
- as: Se ?? ps,
22533
- placement: oe,
22534
- anchorEl: q ? {
22533
+ as: Te ?? ps,
22534
+ placement: re,
22535
+ anchorEl: U ? {
22535
22536
  getBoundingClientRect: /* @__PURE__ */ n(() => ({
22536
22537
  top: Ro.y,
22537
22538
  left: Ro.x,
@@ -22540,20 +22541,20 @@ const Ha = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
22540
22541
  width: 0,
22541
22542
  height: 0
22542
22543
  }), "getBoundingClientRect")
22543
- } : ye,
22544
+ } : Oe,
22544
22545
  popperRef: Ja,
22545
- open: ye ? ze : !1,
22546
+ open: Oe ? ze : !1,
22546
22547
  id: ut,
22547
22548
  transition: !0
22548
22549
  }, Co, sm, {
22549
22550
  popperOptions: lm,
22550
22551
  children: /* @__PURE__ */ n(({
22551
- TransitionProps: xe
22552
+ TransitionProps: Se
22552
22553
  }) => /* @__PURE__ */ f(js, O({
22553
22554
  timeout: we.transitions.duration.shorter
22554
- }, xe, cm, {
22555
+ }, Se, cm, {
22555
22556
  children: /* @__PURE__ */ H(Vs, O({}, um, {
22556
- children: [U, F ? /* @__PURE__ */ f(Bs, O({}, dm, {
22557
+ children: [Z, F ? /* @__PURE__ */ f(Bs, O({}, dm, {
22557
22558
  ref: ie
22558
22559
  })) : null]
22559
22560
  }))
@@ -22782,7 +22783,7 @@ const bF = /* @__PURE__ */ n(({
22782
22783
  disabled: d,
22783
22784
  onClick: /* @__PURE__ */ n(() => u(), "onClick"),
22784
22785
  label: l,
22785
- className: Y("ra-delete-button", a),
22786
+ className: K("ra-delete-button", a),
22786
22787
  ...bF(s),
22787
22788
  size: "large",
22788
22789
  children: i
@@ -23160,7 +23161,7 @@ function NF(e, t) {
23160
23161
  externalForwardedProps: l,
23161
23162
  getSlotOwnerState: s,
23162
23163
  internalForwardedProps: c
23163
- } = t, u = G(t, LF), {
23164
+ } = t, u = q(t, LF), {
23164
23165
  component: d,
23165
23166
  slots: p = {
23166
23167
  [e]: void 0
@@ -23169,7 +23170,7 @@ function NF(e, t) {
23169
23170
  [e]: void 0
23170
23171
  }
23171
23172
  } = l;
23172
- G(l, AF);
23173
+ q(l, AF);
23173
23174
  const m = p[e] || a, g = mp(h[e], i), v = fp(O({
23174
23175
  className: r
23175
23176
  }, u, {
@@ -23180,7 +23181,7 @@ function NF(e, t) {
23180
23181
  component: b
23181
23182
  },
23182
23183
  internalRef: y
23183
- } = v, C = G(v.props, IF), E = lt(y, g == null ? void 0 : g.ref, t.ref), P = s ? s(C) : {}, S = O({}, i, P), x = b, w = Wr(m, O({}, e === "root", !p[e] && c, C, x && {
23184
+ } = v, C = q(v.props, IF), E = lt(y, g == null ? void 0 : g.ref, t.ref), P = s ? s(C) : {}, S = O({}, i, P), x = b, w = Wr(m, O({}, e === "root", !p[e] && c, C, x && {
23184
23185
  as: x
23185
23186
  }, {
23186
23187
  ref: E
@@ -23315,7 +23316,7 @@ const hs = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
23315
23316
  src: m,
23316
23317
  srcSet: g,
23317
23318
  variant: v = "circular"
23318
- } = a, b = G(a, DF);
23319
+ } = a, b = q(a, DF);
23319
23320
  let y = null;
23320
23321
  const C = zF(O({}, p, {
23321
23322
  src: m,
@@ -23347,7 +23348,7 @@ const hs = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
23347
23348
  }), /* @__PURE__ */ f(jF, O({
23348
23349
  as: c,
23349
23350
  ownerState: S,
23350
- className: Y(x.root, s),
23351
+ className: K(x.root, s),
23351
23352
  ref: r
23352
23353
  }, b, {
23353
23354
  children: y
@@ -23441,10 +23442,10 @@ const WF = ["children", "color", "component", "className", "disabled", "disableE
23441
23442
  variant: l,
23442
23443
  classes: s
23443
23444
  } = e, c = {
23444
- root: ["root", l, `${l}${X(t)}`, `size${X(i)}`, `${l}Size${X(i)}`, `color${X(t)}`, r && "disableElevation", a && "fullWidth"],
23445
+ root: ["root", l, `${l}${Q(t)}`, `size${Q(i)}`, `${l}Size${Q(i)}`, `color${Q(t)}`, r && "disableElevation", a && "fullWidth"],
23445
23446
  label: ["label"],
23446
- startIcon: ["icon", "startIcon", `iconSize${X(i)}`],
23447
- endIcon: ["icon", "endIcon", `iconSize${X(i)}`]
23447
+ startIcon: ["icon", "startIcon", `iconSize${Q(i)}`],
23448
+ endIcon: ["icon", "endIcon", `iconSize${Q(i)}`]
23448
23449
  }, u = he(c, HF, s);
23449
23450
  return O({}, s, u);
23450
23451
  }, "useUtilityClasses$k"), Pf = /* @__PURE__ */ n((e) => O({}, e.size === "small" && {
@@ -23467,7 +23468,7 @@ const WF = ["children", "color", "component", "className", "disabled", "disableE
23467
23468
  const {
23468
23469
  ownerState: r
23469
23470
  } = e;
23470
- return [t.root, t[r.variant], t[`${r.variant}${X(r.color)}`], t[`size${X(r.size)}`], t[`${r.variant}Size${X(r.size)}`], r.color === "inherit" && t.colorInherit, r.disableElevation && t.disableElevation, r.fullWidth && t.fullWidth];
23471
+ return [t.root, t[r.variant], t[`${r.variant}${Q(r.color)}`], t[`size${Q(r.size)}`], t[`${r.variant}Size${Q(r.size)}`], r.color === "inherit" && t.colorInherit, r.disableElevation && t.disableElevation, r.fullWidth && t.fullWidth];
23471
23472
  }, "overridesResolver")
23472
23473
  })(({
23473
23474
  theme: e,
@@ -23599,7 +23600,7 @@ const WF = ["children", "color", "component", "className", "disabled", "disableE
23599
23600
  const {
23600
23601
  ownerState: r
23601
23602
  } = e;
23602
- return [t.startIcon, t[`iconSize${X(r.size)}`]];
23603
+ return [t.startIcon, t[`iconSize${Q(r.size)}`]];
23603
23604
  }, "overridesResolver")
23604
23605
  })(({
23605
23606
  ownerState: e
@@ -23616,7 +23617,7 @@ const WF = ["children", "color", "component", "className", "disabled", "disableE
23616
23617
  const {
23617
23618
  ownerState: r
23618
23619
  } = e;
23619
- return [t.endIcon, t[`iconSize${X(r.size)}`]];
23620
+ return [t.endIcon, t[`iconSize${Q(r.size)}`]];
23620
23621
  }, "overridesResolver")
23621
23622
  })(({
23622
23623
  ownerState: e
@@ -23645,7 +23646,7 @@ const WF = ["children", "color", "component", "className", "disabled", "disableE
23645
23646
  startIcon: E,
23646
23647
  type: P,
23647
23648
  variant: S = "text"
23648
- } = s, x = G(s, WF), w = O({}, s, {
23649
+ } = s, x = q(s, WF), w = O({}, s, {
23649
23650
  color: u,
23650
23651
  component: d,
23651
23652
  disabled: h,
@@ -23666,11 +23667,11 @@ const WF = ["children", "color", "component", "className", "disabled", "disableE
23666
23667
  }), k = i || "";
23667
23668
  return /* @__PURE__ */ H(qF, O({
23668
23669
  ownerState: w,
23669
- className: Y(a.className, F.root, p, k),
23670
+ className: K(a.className, F.root, p, k),
23670
23671
  component: d,
23671
23672
  disabled: h,
23672
23673
  focusRipple: !g,
23673
- focusVisibleClassName: Y(F.focusVisible, b),
23674
+ focusVisibleClassName: K(F.focusVisible, b),
23674
23675
  ref: r,
23675
23676
  type: P
23676
23677
  }, x, {
@@ -23797,11 +23798,11 @@ const QF = ["className", "raised"], XF = /* @__PURE__ */ n((e) => {
23797
23798
  }), {
23798
23799
  className: i,
23799
23800
  raised: l = !1
23800
- } = a, s = G(a, QF), c = O({}, a, {
23801
+ } = a, s = q(a, QF), c = O({}, a, {
23801
23802
  raised: l
23802
23803
  }), u = XF(c);
23803
23804
  return /* @__PURE__ */ f(ZF, O({
23804
- className: Y(u.root, i),
23805
+ className: K(u.root, i),
23805
23806
  elevation: l ? 8 : void 0,
23806
23807
  ref: r,
23807
23808
  ownerState: c
@@ -23873,11 +23874,11 @@ const ew = ["disableSpacing", "className"], tw = /* @__PURE__ */ n((e) => {
23873
23874
  }), {
23874
23875
  disableSpacing: i = !1,
23875
23876
  className: l
23876
- } = a, s = G(a, ew), c = O({}, a, {
23877
+ } = a, s = q(a, ew), c = O({}, a, {
23877
23878
  disableSpacing: i
23878
23879
  }), u = tw(c);
23879
23880
  return /* @__PURE__ */ f(rw, O({
23880
- className: Y(u.root, l),
23881
+ className: K(u.root, l),
23881
23882
  ownerState: c,
23882
23883
  ref: r
23883
23884
  }, s));
@@ -23946,9 +23947,9 @@ const pr = 44, aw = fo(bu || (bu = Wa`
23946
23947
  color: a,
23947
23948
  disableShrink: i
23948
23949
  } = e, l = {
23949
- root: ["root", r, `color${X(a)}`],
23950
+ root: ["root", r, `color${Q(a)}`],
23950
23951
  svg: ["svg"],
23951
- circle: ["circle", `circle${X(r)}`, i && "circleDisableShrink"]
23952
+ circle: ["circle", `circle${Q(r)}`, i && "circleDisableShrink"]
23952
23953
  };
23953
23954
  return he(l, ow, t);
23954
23955
  }, "useUtilityClasses$h"), sw = W("span", {
@@ -23958,7 +23959,7 @@ const pr = 44, aw = fo(bu || (bu = Wa`
23958
23959
  const {
23959
23960
  ownerState: r
23960
23961
  } = e;
23961
- return [t.root, t[r.variant], t[`color${X(r.color)}`]];
23962
+ return [t.root, t[r.variant], t[`color${Q(r.color)}`]];
23962
23963
  }, "overridesResolver")
23963
23964
  })(({
23964
23965
  ownerState: e,
@@ -23987,7 +23988,7 @@ const pr = 44, aw = fo(bu || (bu = Wa`
23987
23988
  const {
23988
23989
  ownerState: r
23989
23990
  } = e;
23990
- return [t.circle, t[`circle${X(r.variant)}`], r.disableShrink && t.circleDisableShrink];
23991
+ return [t.circle, t[`circle${Q(r.variant)}`], r.disableShrink && t.circleDisableShrink];
23991
23992
  }, "overridesResolver")
23992
23993
  })(({
23993
23994
  ownerState: e,
@@ -24018,7 +24019,7 @@ const pr = 44, aw = fo(bu || (bu = Wa`
24018
24019
  thickness: d = 3.6,
24019
24020
  value: p = 0,
24020
24021
  variant: h = "indeterminate"
24021
- } = a, m = G(a, nw), g = O({}, a, {
24022
+ } = a, m = q(a, nw), g = O({}, a, {
24022
24023
  color: l,
24023
24024
  disableShrink: s,
24024
24025
  size: c,
@@ -24031,7 +24032,7 @@ const pr = 44, aw = fo(bu || (bu = Wa`
24031
24032
  b.strokeDasharray = E.toFixed(3), C["aria-valuenow"] = Math.round(p), b.strokeDashoffset = `${((100 - p) / 100 * E).toFixed(3)}px`, y.transform = "rotate(-90deg)";
24032
24033
  }
24033
24034
  return /* @__PURE__ */ f(sw, O({
24034
- className: Y(v.root, i),
24035
+ className: K(v.root, i),
24035
24036
  style: O({
24036
24037
  width: c,
24037
24038
  height: c
@@ -24279,7 +24280,7 @@ const pw = ["children", "className", "component", "dense", "disablePadding", "su
24279
24280
  dense: c = !1,
24280
24281
  disablePadding: u = !1,
24281
24282
  subheader: d
24282
- } = a, p = G(a, pw), h = T.useMemo(() => ({
24283
+ } = a, p = q(a, pw), h = T.useMemo(() => ({
24283
24284
  dense: c
24284
24285
  }), [c]), m = O({}, a, {
24285
24286
  component: s,
@@ -24290,7 +24291,7 @@ const pw = ["children", "className", "component", "dense", "disablePadding", "su
24290
24291
  value: h,
24291
24292
  children: /* @__PURE__ */ H(mw, O({
24292
24293
  as: s,
24293
- className: Y(g.root, l),
24294
+ className: K(g.root, l),
24294
24295
  ref: r,
24295
24296
  ownerState: m
24296
24297
  }, p, {
@@ -24392,7 +24393,7 @@ const Mf = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
24392
24393
  disableListWrap: d = !1,
24393
24394
  onKeyDown: p,
24394
24395
  variant: h = "selectedMenu"
24395
- } = t, m = G(t, bw), g = T.useRef(null), v = T.useRef({
24396
+ } = t, m = q(t, bw), g = T.useRef(null), v = T.useRef({
24396
24397
  keys: [],
24397
24398
  repeating: !0,
24398
24399
  previousKeyMatched: !0,
@@ -24586,22 +24587,22 @@ const xw = /* @__PURE__ */ n((e) => {
24586
24587
  onEntering: $
24587
24588
  } = {},
24588
24589
  disableScrollLock: R = !1
24589
- } = s, k = G(s.TransitionProps, vw), A = G(s, yw), D = (a = S == null ? void 0 : S.paper) != null ? a : E, L = T.useRef(), N = lt(L, D.ref), _ = O({}, s, {
24590
+ } = s, k = q(s.TransitionProps, vw), A = q(s, yw), _ = (a = S == null ? void 0 : S.paper) != null ? a : E, L = T.useRef(), D = lt(L, _.ref), j = O({}, s, {
24590
24591
  anchorOrigin: d,
24591
24592
  anchorReference: h,
24592
24593
  elevation: b,
24593
24594
  marginThreshold: y,
24594
- externalPaperSlotProps: D,
24595
+ externalPaperSlotProps: _,
24595
24596
  transformOrigin: x,
24596
24597
  TransitionComponent: w,
24597
24598
  transitionDuration: F,
24598
24599
  TransitionProps: k
24599
- }), I = xw(_), B = T.useCallback(() => {
24600
+ }), N = xw(j), z = T.useCallback(() => {
24600
24601
  if (h === "anchorPosition")
24601
24602
  return process.env.NODE_ENV !== "production" && (p || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), p;
24602
- const te = zn(u), j = te && te.nodeType === 1 ? te : br(L.current).body, ne = j.getBoundingClientRect();
24603
+ const te = zn(u), V = te && te.nodeType === 1 ? te : br(L.current).body, ne = V.getBoundingClientRect();
24603
24604
  if (process.env.NODE_ENV !== "production") {
24604
- const we = j.getBoundingClientRect();
24605
+ const we = V.getBoundingClientRect();
24605
24606
  process.env.NODE_ENV !== "test" && we.top === 0 && we.left === 0 && we.right === 0 && we.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(`
24606
24607
  `));
24607
24608
  }
@@ -24612,52 +24613,52 @@ const xw = /* @__PURE__ */ n((e) => {
24612
24613
  }, [u, d.horizontal, d.vertical, p, h]), M = T.useCallback((te) => ({
24613
24614
  vertical: xu(te, x.vertical),
24614
24615
  horizontal: Su(te, x.horizontal)
24615
- }), [x.horizontal, x.vertical]), q = T.useCallback((te) => {
24616
- const j = {
24616
+ }), [x.horizontal, x.vertical]), U = T.useCallback((te) => {
24617
+ const V = {
24617
24618
  width: te.offsetWidth,
24618
24619
  height: te.offsetHeight
24619
- }, ne = M(j);
24620
+ }, ne = M(V);
24620
24621
  if (h === "none")
24621
24622
  return {
24622
24623
  top: null,
24623
24624
  left: null,
24624
24625
  transformOrigin: Tu(ne)
24625
24626
  };
24626
- const we = B();
24627
- let Fe = we.top - ne.vertical, ye = we.left - ne.horizontal;
24628
- const Q = Fe + j.height, ge = ye + j.width, ie = kr(zn(u)), Re = ie.innerHeight - y, Ne = ie.innerWidth - y;
24627
+ const we = z();
24628
+ let Fe = we.top - ne.vertical, Oe = we.left - ne.horizontal;
24629
+ const Y = Fe + V.height, ge = Oe + V.width, ie = kr(zn(u)), Re = ie.innerHeight - y, Ne = ie.innerWidth - y;
24629
24630
  if (y !== null && Fe < y) {
24630
- const Oe = Fe - y;
24631
- Fe -= Oe, ne.vertical += Oe;
24632
- } else if (y !== null && Q > Re) {
24633
- const Oe = Q - Re;
24634
- Fe -= Oe, ne.vertical += Oe;
24631
+ const xe = Fe - y;
24632
+ Fe -= xe, ne.vertical += xe;
24633
+ } else if (y !== null && Y > Re) {
24634
+ const xe = Y - Re;
24635
+ Fe -= xe, ne.vertical += xe;
24635
24636
  }
24636
- if (process.env.NODE_ENV !== "production" && j.height > Re && j.height && Re && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${j.height - Re}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
24637
- `)), y !== null && ye < y) {
24638
- const Oe = ye - y;
24639
- ye -= Oe, ne.horizontal += Oe;
24637
+ if (process.env.NODE_ENV !== "production" && V.height > Re && V.height && Re && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${V.height - Re}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
24638
+ `)), y !== null && Oe < y) {
24639
+ const xe = Oe - y;
24640
+ Oe -= xe, ne.horizontal += xe;
24640
24641
  } else if (ge > Ne) {
24641
- const Oe = ge - Ne;
24642
- ye -= Oe, ne.horizontal += Oe;
24642
+ const xe = ge - Ne;
24643
+ Oe -= xe, ne.horizontal += xe;
24643
24644
  }
24644
24645
  return {
24645
24646
  top: `${Math.round(Fe)}px`,
24646
- left: `${Math.round(ye)}px`,
24647
+ left: `${Math.round(Oe)}px`,
24647
24648
  transformOrigin: Tu(ne)
24648
24649
  };
24649
- }, [u, h, B, M, y]), [ee, ue] = T.useState(C), pe = T.useCallback(() => {
24650
+ }, [u, h, z, M, y]), [ee, ce] = T.useState(C), pe = T.useCallback(() => {
24650
24651
  const te = L.current;
24651
24652
  if (!te)
24652
24653
  return;
24653
- const j = q(te);
24654
- j.top !== null && (te.style.top = j.top), j.left !== null && (te.style.left = j.left), te.style.transformOrigin = j.transformOrigin, ue(!0);
24655
- }, [q]);
24654
+ const V = U(te);
24655
+ V.top !== null && (te.style.top = V.top), V.left !== null && (te.style.left = V.left), te.style.transformOrigin = V.transformOrigin, ce(!0);
24656
+ }, [U]);
24656
24657
  T.useEffect(() => (R && window.addEventListener("scroll", pe), () => window.removeEventListener("scroll", pe)), [u, R, pe]);
24657
- const ce = /* @__PURE__ */ n((te, j) => {
24658
- $ && $(te, j), pe();
24659
- }, "handleEntering"), Z = /* @__PURE__ */ n(() => {
24660
- ue(!1);
24658
+ const le = /* @__PURE__ */ n((te, V) => {
24659
+ $ && $(te, V), pe();
24660
+ }, "handleEntering"), X = /* @__PURE__ */ n(() => {
24661
+ ce(!1);
24661
24662
  }, "handleExited");
24662
24663
  T.useEffect(() => {
24663
24664
  C && pe();
@@ -24670,28 +24671,28 @@ const xw = /* @__PURE__ */ n((e) => {
24670
24671
  return;
24671
24672
  const te = un(() => {
24672
24673
  pe();
24673
- }), j = kr(u);
24674
- return j.addEventListener("resize", te), () => {
24675
- te.clear(), j.removeEventListener("resize", te);
24674
+ }), V = kr(u);
24675
+ return V.addEventListener("resize", te), () => {
24676
+ te.clear(), V.removeEventListener("resize", te);
24676
24677
  };
24677
24678
  }, [u, C, pe]);
24678
24679
  let ae = F;
24679
24680
  F === "auto" && !w.muiSupportAuto && (ae = void 0);
24680
- const oe = v || (u ? br(zn(u)).body : void 0), Se = (i = P == null ? void 0 : P.root) != null ? i : Sw, le = (l = P == null ? void 0 : P.paper) != null ? l : $f, se = jt({
24681
- elementType: le,
24682
- externalSlotProps: O({}, D, {
24683
- style: ee ? D.style : O({}, D.style, {
24681
+ const re = v || (u ? br(zn(u)).body : void 0), Te = (i = P == null ? void 0 : P.root) != null ? i : Sw, se = (l = P == null ? void 0 : P.paper) != null ? l : $f, ue = jt({
24682
+ elementType: se,
24683
+ externalSlotProps: O({}, _, {
24684
+ style: ee ? _.style : O({}, _.style, {
24684
24685
  opacity: 0
24685
24686
  })
24686
24687
  }),
24687
24688
  additionalProps: {
24688
24689
  elevation: b,
24689
- ref: N
24690
+ ref: D
24690
24691
  },
24691
- ownerState: _,
24692
- className: Y(I.paper, D == null ? void 0 : D.className)
24693
- }), Ce = jt({
24694
- elementType: Se,
24692
+ ownerState: j,
24693
+ className: K(N.paper, _ == null ? void 0 : _.className)
24694
+ }), ve = jt({
24695
+ elementType: Te,
24695
24696
  externalSlotProps: (S == null ? void 0 : S.root) || {},
24696
24697
  externalForwardedProps: A,
24697
24698
  additionalProps: {
@@ -24701,26 +24702,26 @@ const xw = /* @__PURE__ */ n((e) => {
24701
24702
  invisible: !0
24702
24703
  }
24703
24704
  },
24704
- container: oe,
24705
+ container: re,
24705
24706
  open: C
24706
24707
  },
24707
- ownerState: _,
24708
- className: Y(I.root, g)
24708
+ ownerState: j,
24709
+ className: K(N.root, g)
24709
24710
  }), {
24710
- slotProps: U
24711
- } = Ce, z = G(Ce, Ow);
24712
- return /* @__PURE__ */ f(Se, O({}, z, !Zn(Se) && {
24713
- slotProps: U,
24711
+ slotProps: Z
24712
+ } = ve, I = q(ve, Ow);
24713
+ return /* @__PURE__ */ f(Te, O({}, I, !Zn(Te) && {
24714
+ slotProps: Z,
24714
24715
  disableScrollLock: R
24715
24716
  }, {
24716
24717
  children: /* @__PURE__ */ f(w, O({
24717
24718
  appear: !0,
24718
24719
  in: C,
24719
- onEntering: ce,
24720
- onExited: Z,
24720
+ onEntering: le,
24721
+ onExited: X,
24721
24722
  timeout: ae
24722
24723
  }, k, {
24723
- children: /* @__PURE__ */ f(le, O({}, se, {
24724
+ children: /* @__PURE__ */ f(se, O({}, ue, {
24724
24725
  children: m
24725
24726
  }))
24726
24727
  }))
@@ -24968,7 +24969,7 @@ const Cw = ["onEntering"], Pw = ["autoFocus", "children", "className", "disableA
24968
24969
  variant: C = "selectedMenu",
24969
24970
  slots: E = {},
24970
24971
  slotProps: P = {}
24971
- } = l, S = G(l.TransitionProps, Cw), x = G(l, Pw), w = $a(), F = O({}, l, {
24972
+ } = l, S = q(l.TransitionProps, Cw), x = q(l, Pw), w = $a(), F = O({}, l, {
24972
24973
  autoFocus: s,
24973
24974
  disableAutoFocusItem: d,
24974
24975
  MenuListProps: p,
@@ -24977,26 +24978,26 @@ const Cw = ["onEntering"], Pw = ["autoFocus", "children", "className", "disableA
24977
24978
  transitionDuration: b,
24978
24979
  TransitionProps: S,
24979
24980
  variant: C
24980
- }), $ = ww(F), R = s && !d && m, k = T.useRef(null), A = /* @__PURE__ */ n((M, q) => {
24981
+ }), $ = ww(F), R = s && !d && m, k = T.useRef(null), A = /* @__PURE__ */ n((M, U) => {
24981
24982
  k.current && k.current.adjustStyleForScrollbar(M, {
24982
24983
  direction: w ? "rtl" : "ltr"
24983
- }), y && y(M, q);
24984
- }, "handleEntering"), D = /* @__PURE__ */ n((M) => {
24984
+ }), y && y(M, U);
24985
+ }, "handleEntering"), _ = /* @__PURE__ */ n((M) => {
24985
24986
  M.key === "Tab" && (M.preventDefault(), h && h(M, "tabKeyDown"));
24986
24987
  }, "handleListKeyDown");
24987
24988
  let L = -1;
24988
- T.Children.map(c, (M, q) => {
24989
+ T.Children.map(c, (M, U) => {
24989
24990
  /* @__PURE__ */ T.isValidElement(M) && (process.env.NODE_ENV !== "production" && eo.isFragment(M) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
24990
- `)), M.props.disabled || (C === "selectedMenu" && M.props.selected || L === -1) && (L = q));
24991
+ `)), M.props.disabled || (C === "selectedMenu" && M.props.selected || L === -1) && (L = U));
24991
24992
  });
24992
- const N = (a = E.paper) != null ? a : kw, _ = (i = P.paper) != null ? i : g, I = jt({
24993
+ const D = (a = E.paper) != null ? a : kw, j = (i = P.paper) != null ? i : g, N = jt({
24993
24994
  elementType: E.root,
24994
24995
  externalSlotProps: P.root,
24995
24996
  ownerState: F,
24996
24997
  className: [$.root, u]
24997
- }), B = jt({
24998
- elementType: N,
24999
- externalSlotProps: _,
24998
+ }), z = jt({
24999
+ elementType: D,
25000
+ externalSlotProps: j,
25000
25001
  ownerState: F,
25001
25002
  className: $.paper
25002
25003
  });
@@ -25008,12 +25009,12 @@ const Cw = ["onEntering"], Pw = ["autoFocus", "children", "className", "disableA
25008
25009
  },
25009
25010
  transformOrigin: w ? Ew : Fw,
25010
25011
  slots: {
25011
- paper: N,
25012
+ paper: D,
25012
25013
  root: E.root
25013
25014
  },
25014
25015
  slotProps: {
25015
- root: I,
25016
- paper: B
25016
+ root: N,
25017
+ paper: z
25017
25018
  },
25018
25019
  open: m,
25019
25020
  ref: r,
@@ -25025,13 +25026,13 @@ const Cw = ["onEntering"], Pw = ["autoFocus", "children", "className", "disableA
25025
25026
  }, x, {
25026
25027
  classes: v,
25027
25028
  children: /* @__PURE__ */ f(Mw, O({
25028
- onKeyDown: D,
25029
+ onKeyDown: _,
25029
25030
  actions: k,
25030
25031
  autoFocus: s && (L === -1 || d),
25031
25032
  autoFocusItem: R,
25032
25033
  variant: C
25033
25034
  }, p, {
25034
- className: Y($.list, p.className),
25035
+ className: K($.list, p.className),
25035
25036
  children: c
25036
25037
  }))
25037
25038
  }));
@@ -25261,7 +25262,7 @@ const Mo = de("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi
25261
25262
  role: p = "menuitem",
25262
25263
  tabIndex: h,
25263
25264
  className: m
25264
- } = a, g = G(a, Lw), v = T.useContext(na), b = T.useMemo(() => ({
25265
+ } = a, g = q(a, Lw), v = T.useContext(na), b = T.useMemo(() => ({
25265
25266
  dense: s || v.dense || !1,
25266
25267
  disableGutters: u
25267
25268
  }), [v.dense, s, u]), y = T.useRef(null);
@@ -25281,8 +25282,8 @@ const Mo = de("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi
25281
25282
  role: p,
25282
25283
  tabIndex: S,
25283
25284
  component: l,
25284
- focusVisibleClassName: Y(E.focusVisible, d),
25285
- className: Y(E.root, m)
25285
+ focusVisibleClassName: K(E.focusVisible, d),
25286
+ className: K(E.root, m)
25286
25287
  }, g, {
25287
25288
  ownerState: C,
25288
25289
  classes: E
@@ -25492,7 +25493,7 @@ const b$ = /* @__PURE__ */ n((e) => {
25492
25493
  return /* @__PURE__ */ H(
25493
25494
  Uw,
25494
25495
  {
25495
- className: Y("tabbed-form", r),
25496
+ className: K("tabbed-form", r),
25496
25497
  ...qw(d),
25497
25498
  children: [
25498
25499
  l ? /* @__PURE__ */ f(rl, { children: /* @__PURE__ */ f(ol, { path: "/*", element: P() }) }) : P(),
@@ -25882,7 +25883,7 @@ const oR = de("MuiLink", ["root", "underlineNone", "underlineHover", "underlineA
25882
25883
  focusVisible: a,
25883
25884
  underline: i
25884
25885
  } = e, l = {
25885
- root: ["root", `underline${X(i)}`, r === "button" && "button", a && "focusVisible"]
25886
+ root: ["root", `underline${Q(i)}`, r === "button" && "button", a && "focusVisible"]
25886
25887
  };
25887
25888
  return he(l, rR, t);
25888
25889
  }, "useUtilityClasses$c"), sR = W(ir, {
@@ -25892,7 +25893,7 @@ const oR = de("MuiLink", ["root", "underlineNone", "underlineHover", "underlineA
25892
25893
  const {
25893
25894
  ownerState: r
25894
25895
  } = e;
25895
- return [t.root, t[`underline${X(r.underline)}`], r.component === "button" && t.button];
25896
+ return [t.root, t[`underline${Q(r.underline)}`], r.component === "button" && t.button];
25896
25897
  }, "overridesResolver")
25897
25898
  })(({
25898
25899
  theme: e,
@@ -25956,7 +25957,7 @@ const oR = de("MuiLink", ["root", "underlineNone", "underlineHover", "underlineA
25956
25957
  underline: p = "always",
25957
25958
  variant: h = "inherit",
25958
25959
  sx: m
25959
- } = a, g = G(a, iR), {
25960
+ } = a, g = q(a, iR), {
25960
25961
  isFocusVisibleRef: v,
25961
25962
  onBlur: b,
25962
25963
  onFocus: y,
@@ -25974,7 +25975,7 @@ const oR = de("MuiLink", ["root", "underlineNone", "underlineHover", "underlineA
25974
25975
  }), $ = lR(F);
25975
25976
  return /* @__PURE__ */ f(sR, O({
25976
25977
  color: l,
25977
- className: Y($.root, i),
25978
+ className: K($.root, i),
25978
25979
  classes: d,
25979
25980
  component: s,
25980
25981
  onBlur: x,
@@ -26830,7 +26831,7 @@ const LR = /* @__PURE__ */ n((e) => /* @__PURE__ */ f(
26830
26831
  }, []);
26831
26832
  const F = De(() => {
26832
26833
  h(!1);
26833
- }, [h]), $ = /* @__PURE__ */ n((A, D) => {
26834
+ }, [h]), $ = /* @__PURE__ */ n((A, _) => {
26834
26835
  h(!1), m.setValue(l, {
26835
26836
  seleccion: d,
26836
26837
  all: !1,
@@ -26956,7 +26957,7 @@ const zf = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
26956
26957
  minRows: l = 1,
26957
26958
  style: s,
26958
26959
  value: c
26959
- } = t, u = G(t, KR), {
26960
+ } = t, u = q(t, KR), {
26960
26961
  current: d
26961
26962
  } = T.useRef(c != null), p = T.useRef(null), h = Yr(r, p), m = T.useRef(null), g = T.useRef(null), v = T.useCallback(() => {
26962
26963
  const C = p.current, P = Vo(C).getComputedStyle(C);
@@ -26973,10 +26974,10 @@ const zf = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
26973
26974
  const R = S.scrollHeight;
26974
26975
  let k = $;
26975
26976
  l && (k = Math.max(Number(l) * R, k)), i && (k = Math.min(Number(i) * R, k)), k = Math.max(k, R);
26976
- const A = k + (x === "border-box" ? w + F : 0), D = Math.abs(k - $) <= 1;
26977
+ const A = k + (x === "border-box" ? w + F : 0), _ = Math.abs(k - $) <= 1;
26977
26978
  return {
26978
26979
  outerHeightStyle: A,
26979
- overflowing: D
26980
+ overflowing: _
26980
26981
  };
26981
26982
  }, [i, l, t.placeholder]), b = T.useCallback(() => {
26982
26983
  const C = v();
@@ -27112,7 +27113,7 @@ const uo = de("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
27112
27113
  const {
27113
27114
  ownerState: r
27114
27115
  } = e;
27115
- return [t.root, r.formControl && t.formControl, r.startAdornment && t.adornedStart, r.endAdornment && t.adornedEnd, r.error && t.error, r.size === "small" && t.sizeSmall, r.multiline && t.multiline, r.color && t[`color${X(r.color)}`], r.fullWidth && t.fullWidth, r.hiddenLabel && t.hiddenLabel];
27116
+ return [t.root, r.formControl && t.formControl, r.startAdornment && t.adornedStart, r.endAdornment && t.adornedEnd, r.error && t.error, r.size === "small" && t.sizeSmall, r.multiline && t.multiline, r.color && t[`color${Q(r.color)}`], r.fullWidth && t.fullWidth, r.hiddenLabel && t.hiddenLabel];
27116
27117
  }, "rootOverridesResolver"), Ga = /* @__PURE__ */ n((e, t) => {
27117
27118
  const {
27118
27119
  ownerState: r
@@ -27135,7 +27136,7 @@ const uo = de("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
27135
27136
  startAdornment: g,
27136
27137
  type: v
27137
27138
  } = e, b = {
27138
- root: ["root", `color${X(r)}`, a && "disabled", i && "error", u && "fullWidth", s && "focused", c && "formControl", m && m !== "medium" && `size${X(m)}`, p && "multiline", g && "adornedStart", l && "adornedEnd", d && "hiddenLabel", h && "readOnly"],
27139
+ root: ["root", `color${Q(r)}`, a && "disabled", i && "error", u && "fullWidth", s && "focused", c && "formControl", m && m !== "medium" && `size${Q(m)}`, p && "multiline", g && "adornedStart", l && "adornedEnd", d && "hiddenLabel", h && "readOnly"],
27139
27140
  input: ["input", a && "disabled", v === "search" && "inputTypeSearch", p && "inputMultiline", m === "small" && "inputSizeSmall", d && "inputHiddenLabel", g && "inputAdornedStart", l && "inputAdornedEnd", h && "readOnly"]
27140
27141
  };
27141
27142
  return he(b, ZR, t);
@@ -27309,140 +27310,140 @@ const uo = de("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
27309
27310
  onChange: R,
27310
27311
  onClick: k,
27311
27312
  onFocus: A,
27312
- onKeyDown: D,
27313
+ onKeyDown: _,
27313
27314
  onKeyUp: L,
27314
- placeholder: N,
27315
- readOnly: _,
27316
- renderSuffix: I,
27317
- rows: B,
27315
+ placeholder: D,
27316
+ readOnly: j,
27317
+ renderSuffix: N,
27318
+ rows: z,
27318
27319
  slotProps: M = {},
27319
- slots: q = {},
27320
+ slots: U = {},
27320
27321
  startAdornment: ee,
27321
- type: ue = "text",
27322
+ type: ce = "text",
27322
27323
  value: pe
27323
- } = i, ce = G(i, JR), Z = E.value != null ? E.value : pe, {
27324
+ } = i, le = q(i, JR), X = E.value != null ? E.value : pe, {
27324
27325
  current: ae
27325
- } = T.useRef(Z != null), oe = T.useRef(), Se = T.useCallback((ve) => {
27326
- process.env.NODE_ENV !== "production" && ve && ve.nodeName !== "INPUT" && !ve.focus && console.error(["MUI: You have provided a `inputComponent` to the input component", "that does not correctly handle the `ref` prop.", "Make sure the `ref` prop is called with a HTMLInputElement."].join(`
27326
+ } = T.useRef(X != null), re = T.useRef(), Te = T.useCallback((ye) => {
27327
+ process.env.NODE_ENV !== "production" && ye && ye.nodeName !== "INPUT" && !ye.focus && console.error(["MUI: You have provided a `inputComponent` to the input component", "that does not correctly handle the `ref` prop.", "Make sure the `ref` prop is called with a HTMLInputElement."].join(`
27327
27328
  `));
27328
- }, []), le = lt(oe, P, E.ref, Se), [se, Ce] = T.useState(!1), U = So();
27329
+ }, []), se = lt(re, P, E.ref, Te), [ue, ve] = T.useState(!1), Z = So();
27329
27330
  process.env.NODE_ENV !== "production" && T.useEffect(() => {
27330
- if (U)
27331
- return U.registerEffect();
27332
- }, [U]);
27333
- const z = xo({
27331
+ if (Z)
27332
+ return Z.registerEffect();
27333
+ }, [Z]);
27334
+ const I = xo({
27334
27335
  props: i,
27335
- muiFormControl: U,
27336
+ muiFormControl: Z,
27336
27337
  states: ["color", "disabled", "error", "hiddenLabel", "size", "required", "filled"]
27337
27338
  });
27338
- z.focused = U ? U.focused : se, T.useEffect(() => {
27339
- !U && m && se && (Ce(!1), $ && $());
27340
- }, [U, m, se, $]);
27341
- const te = U && U.onFilled, j = U && U.onEmpty, ne = T.useCallback((ve) => {
27342
- aa(ve) ? te && te() : j && j();
27343
- }, [te, j]);
27339
+ I.focused = Z ? Z.focused : ue, T.useEffect(() => {
27340
+ !Z && m && ue && (ve(!1), $ && $());
27341
+ }, [Z, m, ue, $]);
27342
+ const te = Z && Z.onFilled, V = Z && Z.onEmpty, ne = T.useCallback((ye) => {
27343
+ aa(ye) ? te && te() : V && V();
27344
+ }, [te, V]);
27344
27345
  go(() => {
27345
27346
  ae && ne({
27346
- value: Z
27347
+ value: X
27347
27348
  });
27348
- }, [Z, ne, ae]);
27349
- const we = /* @__PURE__ */ n((ve) => {
27350
- if (z.disabled) {
27351
- ve.stopPropagation();
27349
+ }, [X, ne, ae]);
27350
+ const we = /* @__PURE__ */ n((ye) => {
27351
+ if (I.disabled) {
27352
+ ye.stopPropagation();
27352
27353
  return;
27353
27354
  }
27354
- A && A(ve), E.onFocus && E.onFocus(ve), U && U.onFocus ? U.onFocus(ve) : Ce(!0);
27355
- }, "handleFocus"), Fe = /* @__PURE__ */ n((ve) => {
27356
- $ && $(ve), E.onBlur && E.onBlur(ve), U && U.onBlur ? U.onBlur(ve) : Ce(!1);
27357
- }, "handleBlur"), ye = /* @__PURE__ */ n((ve, ...re) => {
27355
+ A && A(ye), E.onFocus && E.onFocus(ye), Z && Z.onFocus ? Z.onFocus(ye) : ve(!0);
27356
+ }, "handleFocus"), Fe = /* @__PURE__ */ n((ye) => {
27357
+ $ && $(ye), E.onBlur && E.onBlur(ye), Z && Z.onBlur ? Z.onBlur(ye) : ve(!1);
27358
+ }, "handleBlur"), Oe = /* @__PURE__ */ n((ye, ...oe) => {
27358
27359
  if (!ae) {
27359
- const ze = ve.target || oe.current;
27360
+ const ze = ye.target || re.current;
27360
27361
  if (ze == null)
27361
27362
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : ar(1));
27362
27363
  ne({
27363
27364
  value: ze.value
27364
27365
  });
27365
27366
  }
27366
- E.onChange && E.onChange(ve, ...re), R && R(ve, ...re);
27367
+ E.onChange && E.onChange(ye, ...oe), R && R(ye, ...oe);
27367
27368
  }, "handleChange");
27368
27369
  T.useEffect(() => {
27369
- ne(oe.current);
27370
+ ne(re.current);
27370
27371
  }, []);
27371
- const Q = /* @__PURE__ */ n((ve) => {
27372
- oe.current && ve.currentTarget === ve.target && oe.current.focus(), k && k(ve);
27372
+ const Y = /* @__PURE__ */ n((ye) => {
27373
+ re.current && ye.currentTarget === ye.target && re.current.focus(), k && k(ye);
27373
27374
  }, "handleClick");
27374
27375
  let ge = C, ie = E;
27375
- w && ge === "input" && (B ? (process.env.NODE_ENV !== "production" && (x || S) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), ie = O({
27376
+ w && ge === "input" && (z ? (process.env.NODE_ENV !== "production" && (x || S) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), ie = O({
27376
27377
  type: void 0,
27377
- minRows: B,
27378
- maxRows: B
27378
+ minRows: z,
27379
+ maxRows: z
27379
27380
  }, ie)) : ie = O({
27380
27381
  type: void 0,
27381
27382
  maxRows: S,
27382
27383
  minRows: x
27383
27384
  }, ie), ge = zf);
27384
- const Re = /* @__PURE__ */ n((ve) => {
27385
- ne(ve.animationName === "mui-auto-fill-cancel" ? oe.current : {
27385
+ const Re = /* @__PURE__ */ n((ye) => {
27386
+ ne(ye.animationName === "mui-auto-fill-cancel" ? re.current : {
27386
27387
  value: "x"
27387
27388
  });
27388
27389
  }, "handleAutoFill");
27389
27390
  T.useEffect(() => {
27390
- U && U.setAdornedStart(!!ee);
27391
- }, [U, ee]);
27391
+ Z && Z.setAdornedStart(!!ee);
27392
+ }, [Z, ee]);
27392
27393
  const Ne = O({}, i, {
27393
- color: z.color || "primary",
27394
- disabled: z.disabled,
27394
+ color: I.color || "primary",
27395
+ disabled: I.disabled,
27395
27396
  endAdornment: v,
27396
- error: z.error,
27397
- focused: z.focused,
27398
- formControl: U,
27397
+ error: I.error,
27398
+ focused: I.focused,
27399
+ formControl: Z,
27399
27400
  fullWidth: b,
27400
- hiddenLabel: z.hiddenLabel,
27401
+ hiddenLabel: I.hiddenLabel,
27401
27402
  multiline: w,
27402
- size: z.size,
27403
+ size: I.size,
27403
27404
  startAdornment: ee,
27404
- type: ue
27405
- }), Oe = ek(Ne), _e = q.root || d.Root || Ka, Xe = M.root || p.root || {}, tt = q.input || d.Input || Ya;
27405
+ type: ce
27406
+ }), xe = ek(Ne), _e = U.root || d.Root || Ka, Xe = M.root || p.root || {}, tt = U.input || d.Input || Ya;
27406
27407
  return ie = O({}, ie, (a = M.input) != null ? a : p.input), /* @__PURE__ */ H(T.Fragment, {
27407
27408
  children: [!g && tk, /* @__PURE__ */ H(_e, O({}, Xe, !Zn(_e) && {
27408
27409
  ownerState: O({}, Ne, Xe.ownerState)
27409
27410
  }, {
27410
27411
  ref: r,
27411
- onClick: Q
27412
- }, ce, {
27413
- className: Y(Oe.root, Xe.className, u, _ && "MuiInputBase-readOnly"),
27412
+ onClick: Y
27413
+ }, le, {
27414
+ className: K(xe.root, Xe.className, u, j && "MuiInputBase-readOnly"),
27414
27415
  children: [ee, /* @__PURE__ */ f(Ua.Provider, {
27415
27416
  value: null,
27416
27417
  children: /* @__PURE__ */ f(tt, O({
27417
27418
  ownerState: Ne,
27418
- "aria-invalid": z.error,
27419
+ "aria-invalid": I.error,
27419
27420
  "aria-describedby": l,
27420
27421
  autoComplete: s,
27421
27422
  autoFocus: c,
27422
27423
  defaultValue: h,
27423
- disabled: z.disabled,
27424
+ disabled: I.disabled,
27424
27425
  id: y,
27425
27426
  onAnimationStart: Re,
27426
27427
  name: F,
27427
- placeholder: N,
27428
- readOnly: _,
27429
- required: z.required,
27430
- rows: B,
27431
- value: Z,
27432
- onKeyDown: D,
27428
+ placeholder: D,
27429
+ readOnly: j,
27430
+ required: I.required,
27431
+ rows: z,
27432
+ value: X,
27433
+ onKeyDown: _,
27433
27434
  onKeyUp: L,
27434
- type: ue
27435
+ type: ce
27435
27436
  }, ie, !Zn(tt) && {
27436
27437
  as: ge,
27437
27438
  ownerState: O({}, Ne, ie.ownerState)
27438
27439
  }, {
27439
- ref: le,
27440
- className: Y(Oe.input, ie.className, _ && "MuiInputBase-readOnly"),
27440
+ ref: se,
27441
+ className: K(xe.input, ie.className, j && "MuiInputBase-readOnly"),
27441
27442
  onBlur: Fe,
27442
- onChange: ye,
27443
+ onChange: Oe,
27443
27444
  onFocus: we
27444
27445
  }))
27445
- }), v, I ? I(O({}, z, {
27446
+ }), v, N ? N(O({}, I, {
27446
27447
  startAdornment: ee
27447
27448
  })) : null]
27448
27449
  }))]
@@ -27784,7 +27785,7 @@ const $o = O({}, uo, de("MuiInput", ["root", "underline", "input"])), ok = ["dis
27784
27785
  slotProps: v,
27785
27786
  slots: b = {},
27786
27787
  type: y = "text"
27787
- } = c, C = G(c, ok), E = nk(c), S = {
27788
+ } = c, C = q(c, ok), E = nk(c), S = {
27788
27789
  root: {
27789
27790
  ownerState: {
27790
27791
  disableUnderline: u
@@ -28172,7 +28173,7 @@ const Tr = O({}, uo, de("MuiFilledInput", ["root", "underline", "input"])), sk =
28172
28173
  slotProps: g,
28173
28174
  slots: v = {},
28174
28175
  type: b = "text"
28175
- } = c, y = G(c, sk), C = O({}, c, {
28176
+ } = c, y = q(c, sk), C = O({}, c, {
28176
28177
  fullWidth: p,
28177
28178
  inputComponent: h,
28178
28179
  multiline: m,
@@ -28465,7 +28466,7 @@ function Uf(e) {
28465
28466
  className: t,
28466
28467
  label: r,
28467
28468
  notched: a
28468
- } = e, i = G(e, pk), l = r != null && r !== "", s = O({}, e, {
28469
+ } = e, i = q(e, pk), l = r != null && r !== "", s = O({}, e, {
28469
28470
  notched: a,
28470
28471
  withLabel: l
28471
28472
  });
@@ -28629,7 +28630,7 @@ const fr = O({}, uo, de("MuiOutlinedInput", ["root", "notchedOutline", "input"])
28629
28630
  notched: v,
28630
28631
  slots: b = {},
28631
28632
  type: y = "text"
28632
- } = u, C = G(u, bk), E = gk(u), P = So(), S = xo({
28633
+ } = u, C = q(u, bk), E = gk(u), P = So(), S = xo({
28633
28634
  props: u,
28634
28635
  muiFormControl: P,
28635
28636
  states: ["color", "disabled", "error", "focused", "hiddenLabel", "size", "required"]
@@ -28850,7 +28851,7 @@ const jo = de("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
28850
28851
  filled: s,
28851
28852
  required: c
28852
28853
  } = e, u = {
28853
- root: ["root", `color${X(r)}`, i && "disabled", l && "error", s && "filled", a && "focused", c && "required"],
28854
+ root: ["root", `color${Q(r)}`, i && "disabled", l && "error", s && "filled", a && "focused", c && "required"],
28854
28855
  asterisk: ["asterisk", l && "error"]
28855
28856
  };
28856
28857
  return he(u, xk, t);
@@ -28896,7 +28897,7 @@ const jo = de("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
28896
28897
  children: i,
28897
28898
  className: l,
28898
28899
  component: s = "label"
28899
- } = a, c = G(a, Sk), u = So(), d = xo({
28900
+ } = a, c = q(a, Sk), u = So(), d = xo({
28900
28901
  props: a,
28901
28902
  muiFormControl: u,
28902
28903
  states: ["color", "required", "focused", "disabled", "error", "filled"]
@@ -28912,7 +28913,7 @@ const jo = de("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
28912
28913
  return /* @__PURE__ */ H(Ck, O({
28913
28914
  as: s,
28914
28915
  ownerState: p,
28915
- className: Y(h.root, l),
28916
+ className: K(h.root, l),
28916
28917
  ref: r
28917
28918
  }, c, {
28918
28919
  children: [i, d.required && /* @__PURE__ */ H(Pk, {
@@ -28991,7 +28992,7 @@ const Fk = ["disableAnimation", "margin", "shrink", "variant", "className"], wk
28991
28992
  variant: s,
28992
28993
  required: c
28993
28994
  } = e, u = {
28994
- root: ["root", r && "formControl", !l && "animated", i && "shrink", a && a !== "normal" && `size${X(a)}`, s],
28995
+ root: ["root", r && "formControl", !l && "animated", i && "shrink", a && a !== "normal" && `size${Q(a)}`, s],
28995
28996
  asterisk: [c && "asterisk"]
28996
28997
  }, d = he(u, Ek, t);
28997
28998
  return O({}, t, d);
@@ -29076,7 +29077,7 @@ const Fk = ["disableAnimation", "margin", "shrink", "variant", "className"], wk
29076
29077
  disableAnimation: i = !1,
29077
29078
  shrink: l,
29078
29079
  className: s
29079
- } = a, c = G(a, Fk), u = So();
29080
+ } = a, c = q(a, Fk), u = So();
29080
29081
  let d = l;
29081
29082
  typeof d > "u" && u && (d = u.filled || u.focused || u.adornedStart);
29082
29083
  const p = xo({
@@ -29096,7 +29097,7 @@ const Fk = ["disableAnimation", "margin", "shrink", "variant", "className"], wk
29096
29097
  "data-shrink": d,
29097
29098
  ownerState: h,
29098
29099
  ref: r,
29099
- className: Y(m.root, s)
29100
+ className: K(m.root, s)
29100
29101
  }, c, {
29101
29102
  classes: m
29102
29103
  }));
@@ -29179,7 +29180,7 @@ const Mk = ["children", "className", "color", "component", "disabled", "error",
29179
29180
  margin: r,
29180
29181
  fullWidth: a
29181
29182
  } = e, i = {
29182
- root: ["root", r !== "none" && `margin${X(r)}`, a && "fullWidth"]
29183
+ root: ["root", r !== "none" && `margin${Q(r)}`, a && "fullWidth"]
29183
29184
  };
29184
29185
  return he(i, kk, t);
29185
29186
  }, "useUtilityClasses$5"), Lk = W("div", {
@@ -29187,7 +29188,7 @@ const Mk = ["children", "className", "color", "component", "disabled", "error",
29187
29188
  slot: "Root",
29188
29189
  overridesResolver: /* @__PURE__ */ n(({
29189
29190
  ownerState: e
29190
- }, t) => O({}, t.root, t[`margin${X(e.margin)}`], e.fullWidth && t.fullWidth), "overridesResolver")
29191
+ }, t) => O({}, t.root, t[`margin${Q(e.margin)}`], e.fullWidth && t.fullWidth), "overridesResolver")
29191
29192
  })(({
29192
29193
  ownerState: e
29193
29194
  }) => O({
@@ -29226,7 +29227,7 @@ const Mk = ["children", "className", "color", "component", "disabled", "error",
29226
29227
  required: v = !1,
29227
29228
  size: b = "medium",
29228
29229
  variant: y = "outlined"
29229
- } = a, C = G(a, Mk), E = O({}, a, {
29230
+ } = a, C = q(a, Mk), E = O({}, a, {
29230
29231
  color: s,
29231
29232
  component: c,
29232
29233
  disabled: u,
@@ -29239,16 +29240,16 @@ const Mk = ["children", "className", "color", "component", "disabled", "error",
29239
29240
  variant: y
29240
29241
  }), P = $k(E), [S, x] = T.useState(() => {
29241
29242
  let L = !1;
29242
- return i && T.Children.forEach(i, (N) => {
29243
- if (!jn(N, ["Input", "Select"]))
29243
+ return i && T.Children.forEach(i, (D) => {
29244
+ if (!jn(D, ["Input", "Select"]))
29244
29245
  return;
29245
- const _ = jn(N, ["Select"]) ? N.props.input : N;
29246
- _ && XR(_.props) && (L = !0);
29246
+ const j = jn(D, ["Select"]) ? D.props.input : D;
29247
+ j && XR(j.props) && (L = !0);
29247
29248
  }), L;
29248
29249
  }), [w, F] = T.useState(() => {
29249
29250
  let L = !1;
29250
- return i && T.Children.forEach(i, (N) => {
29251
- jn(N, ["Input", "Select"]) && (aa(N.props, !0) || aa(N.props.inputProps, !0)) && (L = !0);
29251
+ return i && T.Children.forEach(i, (D) => {
29252
+ jn(D, ["Input", "Select"]) && (aa(D.props, !0) || aa(D.props.inputProps, !0)) && (L = !0);
29252
29253
  }), L;
29253
29254
  }), [$, R] = T.useState(!1);
29254
29255
  u && $ && R(!1);
@@ -29261,7 +29262,7 @@ const Mk = ["children", "className", "color", "component", "disabled", "error",
29261
29262
  L.current = !1;
29262
29263
  }), "registerEffect");
29263
29264
  }
29264
- const D = T.useMemo(() => ({
29265
+ const _ = T.useMemo(() => ({
29265
29266
  adornedStart: S,
29266
29267
  setAdornedStart: x,
29267
29268
  color: s,
@@ -29289,11 +29290,11 @@ const Mk = ["children", "className", "color", "component", "disabled", "error",
29289
29290
  variant: y
29290
29291
  }), [S, s, u, d, w, k, h, m, A, v, b, y]);
29291
29292
  return /* @__PURE__ */ f(Ua.Provider, {
29292
- value: D,
29293
+ value: _,
29293
29294
  children: /* @__PURE__ */ f(Lk, O({
29294
29295
  as: c,
29295
29296
  ownerState: E,
29296
- className: Y(P.root, l),
29297
+ className: K(P.root, l),
29297
29298
  ref: r
29298
29299
  }, C, {
29299
29300
  children: i
@@ -29397,7 +29398,7 @@ const Ik = ["children", "className", "component", "disabled", "error", "filled",
29397
29398
  focused: c,
29398
29399
  required: u
29399
29400
  } = e, d = {
29400
- root: ["root", i && "disabled", l && "error", a && `size${X(a)}`, r && "contained", c && "focused", s && "filled", u && "required"]
29401
+ root: ["root", i && "disabled", l && "error", a && `size${Q(a)}`, r && "contained", c && "focused", s && "filled", u && "required"]
29401
29402
  };
29402
29403
  return he(d, Ak, t);
29403
29404
  }, "useUtilityClasses$4"), Dk = W("p", {
@@ -29407,7 +29408,7 @@ const Ik = ["children", "className", "component", "disabled", "error", "filled",
29407
29408
  const {
29408
29409
  ownerState: r
29409
29410
  } = e;
29410
- return [t.root, r.size && t[`size${X(r.size)}`], r.contained && t.contained, r.filled && t.filled];
29411
+ return [t.root, r.size && t[`size${Q(r.size)}`], r.contained && t.contained, r.filled && t.filled];
29411
29412
  }, "overridesResolver")
29412
29413
  })(({
29413
29414
  theme: e,
@@ -29439,7 +29440,7 @@ const Ik = ["children", "className", "component", "disabled", "error", "filled",
29439
29440
  children: i,
29440
29441
  className: l,
29441
29442
  component: s = "p"
29442
- } = a, c = G(a, Ik), u = So(), d = xo({
29443
+ } = a, c = q(a, Ik), u = So(), d = xo({
29443
29444
  props: a,
29444
29445
  muiFormControl: u,
29445
29446
  states: ["variant", "size", "disabled", "error", "filled", "focused", "required"]
@@ -29457,7 +29458,7 @@ const Ik = ["children", "className", "component", "disabled", "error", "filled",
29457
29458
  return /* @__PURE__ */ f(Dk, O({
29458
29459
  as: s,
29459
29460
  ownerState: p,
29460
- className: Y(h.root, l),
29461
+ className: K(h.root, l),
29461
29462
  ref: r
29462
29463
  }, c, {
29463
29464
  children: i === " " ? (
@@ -29541,7 +29542,7 @@ const $s = de("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
29541
29542
  error: s
29542
29543
  } = e, c = {
29543
29544
  select: ["select", r, a && "disabled", i && "multiple", s && "error"],
29544
- icon: ["icon", `icon${X(r)}`, l && "iconOpen", a && "disabled"]
29545
+ icon: ["icon", `icon${Q(r)}`, l && "iconOpen", a && "disabled"]
29545
29546
  };
29546
29547
  return he(c, _k, t);
29547
29548
  }, "useUtilityClasses$3"), Qf = /* @__PURE__ */ n(({
@@ -29639,7 +29640,7 @@ const $s = de("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
29639
29640
  const {
29640
29641
  ownerState: r
29641
29642
  } = e;
29642
- return [t.icon, r.variant && t[`icon${X(r.variant)}`], r.open && t.iconOpen];
29643
+ return [t.icon, r.variant && t[`icon${Q(r.variant)}`], r.open && t.iconOpen];
29643
29644
  }, "overridesResolver")
29644
29645
  })(Xf), Zf = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
29645
29646
  const {
@@ -29649,7 +29650,7 @@ const $s = de("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
29649
29650
  IconComponent: s,
29650
29651
  inputRef: c,
29651
29652
  variant: u = "standard"
29652
- } = t, d = G(t, jk), p = O({}, t, {
29653
+ } = t, d = q(t, jk), p = O({}, t, {
29653
29654
  disabled: i,
29654
29655
  variant: u,
29655
29656
  error: l
@@ -29657,7 +29658,7 @@ const $s = de("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
29657
29658
  return /* @__PURE__ */ H(T.Fragment, {
29658
29659
  children: [/* @__PURE__ */ f(Bk, O({
29659
29660
  ownerState: p,
29660
- className: Y(h.select, a),
29661
+ className: K(h.select, a),
29661
29662
  disabled: i,
29662
29663
  ref: c || r
29663
29664
  }, d)), t.multiple ? null : /* @__PURE__ */ f(zk, {
@@ -29769,7 +29770,7 @@ const Wk = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "childre
29769
29770
  const {
29770
29771
  ownerState: r
29771
29772
  } = e;
29772
- return [t.icon, r.variant && t[`icon${X(r.variant)}`], r.open && t.iconOpen];
29773
+ return [t.icon, r.variant && t[`icon${Q(r.variant)}`], r.open && t.iconOpen];
29773
29774
  }, "overridesResolver")
29774
29775
  })(Xf), Gk = W("input", {
29775
29776
  shouldForwardProp: /* @__PURE__ */ n((e) => ep(e) && e !== "classes", "shouldForwardProp"),
@@ -29803,7 +29804,7 @@ const Yk = /* @__PURE__ */ n((e) => {
29803
29804
  error: s
29804
29805
  } = e, c = {
29805
29806
  select: ["select", r, a && "disabled", i && "multiple", s && "error"],
29806
- icon: ["icon", `icon${X(r)}`, l && "iconOpen", a && "disabled"],
29807
+ icon: ["icon", `icon${Q(r)}`, l && "iconOpen", a && "disabled"],
29807
29808
  nativeInput: ["nativeInput"]
29808
29809
  };
29809
29810
  return he(c, Hk, t);
@@ -29834,78 +29835,78 @@ const Yk = /* @__PURE__ */ n((e) => {
29834
29835
  onOpen: R,
29835
29836
  open: k,
29836
29837
  readOnly: A,
29837
- renderValue: D,
29838
+ renderValue: _,
29838
29839
  SelectDisplayProps: L = {},
29839
- tabIndex: N,
29840
- value: _,
29841
- variant: I = "standard"
29842
- } = t, B = G(t, Wk), [M, q] = Yn({
29843
- controlled: _,
29840
+ tabIndex: D,
29841
+ value: j,
29842
+ variant: N = "standard"
29843
+ } = t, z = q(t, Wk), [M, U] = Yn({
29844
+ controlled: j,
29844
29845
  default: h,
29845
29846
  name: "Select"
29846
- }), [ee, ue] = Yn({
29847
+ }), [ee, ce] = Yn({
29847
29848
  controlled: k,
29848
29849
  default: p,
29849
29850
  name: "Select"
29850
- }), pe = T.useRef(null), ce = T.useRef(null), [Z, ae] = T.useState(null), {
29851
- current: oe
29852
- } = T.useRef(k != null), [Se, le] = T.useState(), se = lt(r, y), Ce = T.useCallback((J) => {
29853
- ce.current = J, J && ae(J);
29854
- }, []), U = Z == null ? void 0 : Z.parentNode;
29855
- T.useImperativeHandle(se, () => ({
29851
+ }), pe = T.useRef(null), le = T.useRef(null), [X, ae] = T.useState(null), {
29852
+ current: re
29853
+ } = T.useRef(k != null), [Te, se] = T.useState(), ue = lt(r, y), ve = T.useCallback((J) => {
29854
+ le.current = J, J && ae(J);
29855
+ }, []), Z = X == null ? void 0 : X.parentNode;
29856
+ T.useImperativeHandle(ue, () => ({
29856
29857
  focus: /* @__PURE__ */ n(() => {
29857
- ce.current.focus();
29858
+ le.current.focus();
29858
29859
  }, "focus"),
29859
29860
  node: pe.current,
29860
29861
  value: M
29861
29862
  }), [M]), T.useEffect(() => {
29862
- p && ee && Z && !oe && (le(c ? null : U.clientWidth), ce.current.focus());
29863
- }, [Z, c]), T.useEffect(() => {
29864
- s && ce.current.focus();
29863
+ p && ee && X && !re && (se(c ? null : Z.clientWidth), le.current.focus());
29864
+ }, [X, c]), T.useEffect(() => {
29865
+ s && le.current.focus();
29865
29866
  }, [s]), T.useEffect(() => {
29866
29867
  if (!C)
29867
29868
  return;
29868
- const J = br(ce.current).getElementById(C);
29869
+ const J = br(le.current).getElementById(C);
29869
29870
  if (J) {
29870
- const V = /* @__PURE__ */ n(() => {
29871
- getSelection().isCollapsed && ce.current.focus();
29871
+ const B = /* @__PURE__ */ n(() => {
29872
+ getSelection().isCollapsed && le.current.focus();
29872
29873
  }, "handler");
29873
- return J.addEventListener("click", V), () => {
29874
- J.removeEventListener("click", V);
29874
+ return J.addEventListener("click", B), () => {
29875
+ J.removeEventListener("click", B);
29875
29876
  };
29876
29877
  }
29877
29878
  }, [C]);
29878
- const z = /* @__PURE__ */ n((J, V) => {
29879
- J ? R && R(V) : F && F(V), oe || (le(c ? null : U.clientWidth), ue(J));
29879
+ const I = /* @__PURE__ */ n((J, B) => {
29880
+ J ? R && R(B) : F && F(B), re || (se(c ? null : Z.clientWidth), ce(J));
29880
29881
  }, "update"), te = /* @__PURE__ */ n((J) => {
29881
- J.button === 0 && (J.preventDefault(), ce.current.focus(), z(!0, J));
29882
- }, "handleMouseDown"), j = /* @__PURE__ */ n((J) => {
29883
- z(!1, J);
29882
+ J.button === 0 && (J.preventDefault(), le.current.focus(), I(!0, J));
29883
+ }, "handleMouseDown"), V = /* @__PURE__ */ n((J) => {
29884
+ I(!1, J);
29884
29885
  }, "handleClose"), ne = T.Children.toArray(u), we = /* @__PURE__ */ n((J) => {
29885
- const V = ne.find((K) => K.props.value === J.target.value);
29886
- V !== void 0 && (q(V.props.value), w && w(J, V));
29887
- }, "handleChange"), Fe = /* @__PURE__ */ n((J) => (V) => {
29888
- let K;
29889
- if (V.currentTarget.hasAttribute("tabindex")) {
29886
+ const B = ne.find((G) => G.props.value === J.target.value);
29887
+ B !== void 0 && (U(B.props.value), w && w(J, B));
29888
+ }, "handleChange"), Fe = /* @__PURE__ */ n((J) => (B) => {
29889
+ let G;
29890
+ if (B.currentTarget.hasAttribute("tabindex")) {
29890
29891
  if (P) {
29891
- K = Array.isArray(M) ? M.slice() : [];
29892
+ G = Array.isArray(M) ? M.slice() : [];
29892
29893
  const me = M.indexOf(J.props.value);
29893
- me === -1 ? K.push(J.props.value) : K.splice(me, 1);
29894
+ me === -1 ? G.push(J.props.value) : G.splice(me, 1);
29894
29895
  } else
29895
- K = J.props.value;
29896
- if (J.props.onClick && J.props.onClick(V), M !== K && (q(K), w)) {
29897
- const me = V.nativeEvent || V, Te = new me.constructor(me.type, me);
29898
- Object.defineProperty(Te, "target", {
29896
+ G = J.props.value;
29897
+ if (J.props.onClick && J.props.onClick(B), M !== G && (U(G), w)) {
29898
+ const me = B.nativeEvent || B, Ce = new me.constructor(me.type, me);
29899
+ Object.defineProperty(Ce, "target", {
29899
29900
  writable: !0,
29900
29901
  value: {
29901
- value: K,
29902
+ value: G,
29902
29903
  name: S
29903
29904
  }
29904
- }), w(Te, J);
29905
+ }), w(Ce, J);
29905
29906
  }
29906
- P || z(!1, V);
29907
+ P || I(!1, B);
29907
29908
  }
29908
- }, "handleItemClick"), ye = /* @__PURE__ */ n((J) => {
29909
+ }, "handleItemClick"), Oe = /* @__PURE__ */ n((J) => {
29909
29910
  A || [
29910
29911
  " ",
29911
29912
  "ArrowUp",
@@ -29913,9 +29914,9 @@ const Yk = /* @__PURE__ */ n((e) => {
29913
29914
  // The native select doesn't respond to enter on macOS, but it's recommended by
29914
29915
  // https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/
29915
29916
  "Enter"
29916
- ].indexOf(J.key) !== -1 && (J.preventDefault(), z(!0, J));
29917
- }, "handleKeyDown"), Q = Z !== null && ee, ge = /* @__PURE__ */ n((J) => {
29918
- !Q && x && (Object.defineProperty(J, "target", {
29917
+ ].indexOf(J.key) !== -1 && (J.preventDefault(), I(!0, J));
29918
+ }, "handleKeyDown"), Y = X !== null && ee, ge = /* @__PURE__ */ n((J) => {
29919
+ !Y && x && (Object.defineProperty(J, "target", {
29919
29920
  writable: !0,
29920
29921
  value: {
29921
29922
  value: M,
@@ -29923,33 +29924,33 @@ const Yk = /* @__PURE__ */ n((e) => {
29923
29924
  }
29924
29925
  }), x(J));
29925
29926
  }, "handleBlur");
29926
- delete B["aria-invalid"];
29927
+ delete z["aria-invalid"];
29927
29928
  let ie, Re;
29928
29929
  const Ne = [];
29929
- let Oe = !1, _e = !1;
29930
+ let xe = !1, _e = !1;
29930
29931
  (aa({
29931
29932
  value: M
29932
- }) || g) && (D ? ie = D(M) : Oe = !0);
29933
+ }) || g) && (_ ? ie = _(M) : xe = !0);
29933
29934
  const Xe = ne.map((J) => {
29934
29935
  if (!/* @__PURE__ */ T.isValidElement(J))
29935
29936
  return null;
29936
29937
  process.env.NODE_ENV !== "production" && eo.isFragment(J) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
29937
29938
  `));
29938
- let V;
29939
+ let B;
29939
29940
  if (P) {
29940
29941
  if (!Array.isArray(M))
29941
29942
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : ar(2));
29942
- V = M.some((K) => Iu(K, J.props.value)), V && Oe && Ne.push(J.props.children);
29943
+ B = M.some((G) => Iu(G, J.props.value)), B && xe && Ne.push(J.props.children);
29943
29944
  } else
29944
- V = Iu(M, J.props.value), V && Oe && (Re = J.props.children);
29945
- return V && (_e = !0), /* @__PURE__ */ T.cloneElement(J, {
29946
- "aria-selected": V ? "true" : "false",
29945
+ B = Iu(M, J.props.value), B && xe && (Re = J.props.children);
29946
+ return B && (_e = !0), /* @__PURE__ */ T.cloneElement(J, {
29947
+ "aria-selected": B ? "true" : "false",
29947
29948
  onClick: Fe(J),
29948
- onKeyUp: /* @__PURE__ */ n((K) => {
29949
- K.key === " " && K.preventDefault(), J.props.onKeyUp && J.props.onKeyUp(K);
29949
+ onKeyUp: /* @__PURE__ */ n((G) => {
29950
+ G.key === " " && G.preventDefault(), J.props.onKeyUp && J.props.onKeyUp(G);
29950
29951
  }, "onKeyUp"),
29951
29952
  role: "option",
29952
- selected: V,
29953
+ selected: B,
29953
29954
  value: void 0,
29954
29955
  // The value is most likely not a valid HTML attribute.
29955
29956
  "data-value": J.props.value
@@ -29958,41 +29959,41 @@ const Yk = /* @__PURE__ */ n((e) => {
29958
29959
  });
29959
29960
  process.env.NODE_ENV !== "production" && T.useEffect(() => {
29960
29961
  if (!_e && !P && M !== "") {
29961
- const J = ne.map((V) => V.props.value);
29962
- console.warn([`MUI: You have provided an out-of-range value \`${M}\` for the select ${S ? `(name="${S}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${J.filter((V) => V != null).map((V) => `\`${V}\``).join(", ") || '""'}.`].join(`
29962
+ const J = ne.map((B) => B.props.value);
29963
+ console.warn([`MUI: You have provided an out-of-range value \`${M}\` for the select ${S ? `(name="${S}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${J.filter((B) => B != null).map((B) => `\`${B}\``).join(", ") || '""'}.`].join(`
29963
29964
  `));
29964
29965
  }
29965
- }, [_e, ne, P, S, M]), Oe && (P ? Ne.length === 0 ? ie = null : ie = Ne.reduce((J, V, K) => (J.push(V), K < Ne.length - 1 && J.push(", "), J), []) : ie = Re);
29966
- let tt = Se;
29967
- !c && oe && Z && (tt = U.clientWidth);
29968
- let ve;
29969
- typeof N < "u" ? ve = N : ve = m ? null : 0;
29970
- const re = L.id || (S ? `mui-component-select-${S}` : void 0), ze = O({}, t, {
29971
- variant: I,
29966
+ }, [_e, ne, P, S, M]), xe && (P ? Ne.length === 0 ? ie = null : ie = Ne.reduce((J, B, G) => (J.push(B), G < Ne.length - 1 && J.push(", "), J), []) : ie = Re);
29967
+ let tt = Te;
29968
+ !c && re && X && (tt = Z.clientWidth);
29969
+ let ye;
29970
+ typeof D < "u" ? ye = D : ye = m ? null : 0;
29971
+ const oe = L.id || (S ? `mui-component-select-${S}` : void 0), ze = O({}, t, {
29972
+ variant: N,
29972
29973
  value: M,
29973
- open: Q,
29974
+ open: Y,
29974
29975
  error: v
29975
29976
  }), ut = Yk(ze), dt = O({}, E.PaperProps, (a = E.slotProps) == null ? void 0 : a.paper), Ht = dn();
29976
29977
  return /* @__PURE__ */ H(T.Fragment, {
29977
29978
  children: [/* @__PURE__ */ f(Uk, O({
29978
- ref: Ce,
29979
- tabIndex: ve,
29979
+ ref: ve,
29980
+ tabIndex: ye,
29980
29981
  role: "combobox",
29981
29982
  "aria-controls": Ht,
29982
29983
  "aria-disabled": m ? "true" : void 0,
29983
- "aria-expanded": Q ? "true" : "false",
29984
+ "aria-expanded": Y ? "true" : "false",
29984
29985
  "aria-haspopup": "listbox",
29985
29986
  "aria-label": l,
29986
- "aria-labelledby": [C, re].filter(Boolean).join(" ") || void 0,
29987
+ "aria-labelledby": [C, oe].filter(Boolean).join(" ") || void 0,
29987
29988
  "aria-describedby": i,
29988
- onKeyDown: ye,
29989
+ onKeyDown: Oe,
29989
29990
  onMouseDown: m || A ? null : te,
29990
29991
  onBlur: ge,
29991
29992
  onFocus: $
29992
29993
  }, L, {
29993
29994
  ownerState: ze,
29994
- className: Y(L.className, ut.select, d),
29995
- id: re,
29995
+ className: K(L.className, ut.select, d),
29996
+ id: oe,
29996
29997
  children: Kk(ie) ? (
29997
29998
  // notranslate needed while Google Translate will not fix zero-width space issue
29998
29999
  Au || (Au = /* @__PURE__ */ f("span", {
@@ -30012,15 +30013,15 @@ const Yk = /* @__PURE__ */ n((e) => {
30012
30013
  className: ut.nativeInput,
30013
30014
  autoFocus: s,
30014
30015
  ownerState: ze
30015
- }, B)), /* @__PURE__ */ f(qk, {
30016
+ }, z)), /* @__PURE__ */ f(qk, {
30016
30017
  as: b,
30017
30018
  className: ut.icon,
30018
30019
  ownerState: ze
30019
30020
  }), /* @__PURE__ */ f(bs, O({
30020
30021
  id: `menu-${S || ""}`,
30021
- anchorEl: U,
30022
- open: Q,
30023
- onClose: j,
30022
+ anchorEl: Z,
30023
+ open: Y,
30024
+ onClose: V,
30024
30025
  anchorOrigin: {
30025
30026
  vertical: "bottom",
30026
30027
  horizontal: "center"
@@ -30230,33 +30231,33 @@ const Qk = cn(/* @__PURE__ */ f("path", {
30230
30231
  renderValue: w,
30231
30232
  SelectDisplayProps: F,
30232
30233
  variant: $ = "outlined"
30233
- } = a, R = G(a, Xk), k = E ? Zf : Jf, A = So(), D = xo({
30234
+ } = a, R = q(a, Xk), k = E ? Zf : Jf, A = So(), _ = xo({
30234
30235
  props: a,
30235
30236
  muiFormControl: A,
30236
30237
  states: ["variant", "error"]
30237
- }), L = D.variant || $, N = O({}, a, {
30238
+ }), L = _.variant || $, D = O({}, a, {
30238
30239
  variant: L,
30239
30240
  classes: s
30240
- }), _ = Jk(N), I = G(_, Zk), B = m || {
30241
+ }), j = Jk(D), N = q(j, Zk), z = m || {
30241
30242
  standard: /* @__PURE__ */ f(eM, {
30242
- ownerState: N
30243
+ ownerState: D
30243
30244
  }),
30244
30245
  outlined: /* @__PURE__ */ f(tM, {
30245
30246
  label: v,
30246
- ownerState: N
30247
+ ownerState: D
30247
30248
  }),
30248
30249
  filled: /* @__PURE__ */ f(rM, {
30249
- ownerState: N
30250
+ ownerState: D
30250
30251
  })
30251
- }[L], M = lt(r, B.ref);
30252
+ }[L], M = lt(r, z.ref);
30252
30253
  return /* @__PURE__ */ f(T.Fragment, {
30253
- children: /* @__PURE__ */ T.cloneElement(B, O({
30254
+ children: /* @__PURE__ */ T.cloneElement(z, O({
30254
30255
  // Most of the logic is implemented in `SelectInput`.
30255
30256
  // The `Select` component is a simple API wrapper to expose something better to play with.
30256
30257
  inputComponent: k,
30257
30258
  inputProps: O({
30258
30259
  children: l,
30259
- error: D.error,
30260
+ error: _.error,
30260
30261
  IconComponent: p,
30261
30262
  variant: L,
30262
30263
  type: void 0,
@@ -30278,13 +30279,13 @@ const Qk = cn(/* @__PURE__ */ f("path", {
30278
30279
  id: h
30279
30280
  }, F)
30280
30281
  }, g, {
30281
- classes: g ? st(I, g.classes) : I
30282
+ classes: g ? st(N, g.classes) : N
30282
30283
  }, m ? m.props.inputProps : {})
30283
30284
  }, (C && E || d) && L === "outlined" ? {
30284
30285
  notched: !0
30285
30286
  } : {}, {
30286
30287
  ref: M,
30287
- className: Y(B.props.className, c, _.root)
30288
+ className: K(z.props.className, c, j.root)
30288
30289
  }, !m && {
30289
30290
  variant: L
30290
30291
  }, R))
@@ -30487,15 +30488,15 @@ const nM = ["autoComplete", "autoFocus", "children", "className", "color", "defa
30487
30488
  onBlur: R,
30488
30489
  onChange: k,
30489
30490
  onFocus: A,
30490
- placeholder: D,
30491
+ placeholder: _,
30491
30492
  required: L = !1,
30492
- rows: N,
30493
- select: _ = !1,
30494
- SelectProps: I,
30495
- type: B,
30493
+ rows: D,
30494
+ select: j = !1,
30495
+ SelectProps: N,
30496
+ type: z,
30496
30497
  value: M,
30497
- variant: q = "outlined"
30498
- } = a, ee = G(a, nM), ue = O({}, a, {
30498
+ variant: U = "outlined"
30499
+ } = a, ee = q(a, nM), ce = O({}, a, {
30499
30500
  autoFocus: l,
30500
30501
  color: u,
30501
30502
  disabled: p,
@@ -30503,13 +30504,13 @@ const nM = ["autoComplete", "autoFocus", "children", "className", "color", "defa
30503
30504
  fullWidth: g,
30504
30505
  multiline: F,
30505
30506
  required: L,
30506
- select: _,
30507
- variant: q
30508
- }), pe = iM(ue);
30509
- process.env.NODE_ENV !== "production" && _ && !s && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
30510
- const ce = {};
30511
- q === "outlined" && (y && typeof y.shrink < "u" && (ce.notched = y.shrink), ce.label = S), _ && ((!I || !I.native) && (ce.id = void 0), ce["aria-describedby"] = void 0);
30512
- const Z = dn(b), ae = v && Z ? `${Z}-helper-text` : void 0, oe = S && Z ? `${Z}-label` : void 0, Se = aM[q], le = /* @__PURE__ */ f(Se, O({
30507
+ select: j,
30508
+ variant: U
30509
+ }), pe = iM(ce);
30510
+ process.env.NODE_ENV !== "production" && j && !s && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
30511
+ const le = {};
30512
+ U === "outlined" && (y && typeof y.shrink < "u" && (le.notched = y.shrink), le.label = S), j && ((!N || !N.native) && (le.id = void 0), le["aria-describedby"] = void 0);
30513
+ const X = dn(b), ae = v && X ? `${X}-helper-text` : void 0, re = S && X ? `${X}-label` : void 0, Te = aM[U], se = /* @__PURE__ */ f(Te, O({
30513
30514
  "aria-describedby": ae,
30514
30515
  autoComplete: i,
30515
30516
  autoFocus: l,
@@ -30517,44 +30518,44 @@ const nM = ["autoComplete", "autoFocus", "children", "className", "color", "defa
30517
30518
  fullWidth: g,
30518
30519
  multiline: F,
30519
30520
  name: $,
30520
- rows: N,
30521
+ rows: D,
30521
30522
  maxRows: x,
30522
30523
  minRows: w,
30523
- type: B,
30524
+ type: z,
30524
30525
  value: M,
30525
- id: Z,
30526
+ id: X,
30526
30527
  inputRef: P,
30527
30528
  onBlur: R,
30528
30529
  onChange: k,
30529
30530
  onFocus: A,
30530
- placeholder: D,
30531
+ placeholder: _,
30531
30532
  inputProps: C
30532
- }, ce, E));
30533
+ }, le, E));
30533
30534
  return /* @__PURE__ */ H(lM, O({
30534
- className: Y(pe.root, c),
30535
+ className: K(pe.root, c),
30535
30536
  disabled: p,
30536
30537
  error: h,
30537
30538
  fullWidth: g,
30538
30539
  ref: r,
30539
30540
  required: L,
30540
30541
  color: u,
30541
- variant: q,
30542
- ownerState: ue
30542
+ variant: U,
30543
+ ownerState: ce
30543
30544
  }, ee, {
30544
30545
  children: [S != null && S !== "" && /* @__PURE__ */ f(Gf, O({
30545
- htmlFor: Z,
30546
- id: oe
30546
+ htmlFor: X,
30547
+ id: re
30547
30548
  }, y, {
30548
30549
  children: S
30549
- })), _ ? /* @__PURE__ */ f(As, O({
30550
+ })), j ? /* @__PURE__ */ f(As, O({
30550
30551
  "aria-describedby": ae,
30551
- id: Z,
30552
- labelId: oe,
30552
+ id: X,
30553
+ labelId: re,
30553
30554
  value: M,
30554
- input: le
30555
- }, I, {
30555
+ input: se
30556
+ }, N, {
30556
30557
  children: s
30557
- })) : le, v && /* @__PURE__ */ f(Yf, O({
30558
+ })) : se, v && /* @__PURE__ */ f(Yf, O({
30558
30559
  id: ae
30559
30560
  }, m, {
30560
30561
  children: v
@@ -30766,24 +30767,24 @@ const em = /* @__PURE__ */ n((e) => {
30766
30767
  parse: R,
30767
30768
  record: k,
30768
30769
  ref: A,
30769
- refetch: D,
30770
+ refetch: _,
30770
30771
  render: L,
30771
- resource: N,
30772
- setFilter: _,
30773
- setPagination: I,
30774
- setSort: B,
30772
+ resource: D,
30773
+ setFilter: j,
30774
+ setPagination: N,
30775
+ setSort: z,
30775
30776
  shouldUnregister: M,
30776
- source: q,
30777
+ source: U,
30777
30778
  submitError: ee,
30778
- subscription: ue,
30779
+ subscription: ce,
30779
30780
  textAlign: pe,
30780
- translate: ce,
30781
- translateChoice: Z,
30781
+ translate: le,
30782
+ translateChoice: X,
30782
30783
  validate: ae,
30783
- validateFields: oe,
30784
- value: Se,
30785
- ...le
30786
- }) => le, "sanitizeInputRestProps"), cM = /* @__PURE__ */ n(({
30784
+ validateFields: re,
30785
+ value: Te,
30786
+ ...se
30787
+ }) => se, "sanitizeInputRestProps"), cM = /* @__PURE__ */ n(({
30787
30788
  className: e,
30788
30789
  defaultValue: t,
30789
30790
  format: r = pM,
@@ -30822,7 +30823,7 @@ const em = /* @__PURE__ */ n((e) => {
30822
30823
  {
30823
30824
  id: S,
30824
30825
  ...E,
30825
- className: Y("ra-input", `ra-input-${l}`, e),
30826
+ className: K("ra-input", `ra-input-${l}`, e),
30826
30827
  type: "date",
30827
30828
  size: "small",
30828
30829
  variant: g,
@@ -30892,7 +30893,7 @@ const em = /* @__PURE__ */ n((e) => {
30892
30893
  {
30893
30894
  id: P,
30894
30895
  ...C,
30895
- className: Y("ra-input", `ra-input-${u}`, e),
30896
+ className: K("ra-input", `ra-input-${u}`, e),
30896
30897
  type: "datetime-local",
30897
30898
  size: "small",
30898
30899
  variant: m,