biblio-react 2.2.1 → 2.2.3

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
@@ -1,8 +1,8 @@
1
1
  var vf = Object.defineProperty;
2
2
  var o = (e, t) => vf(e, "name", { value: t, configurable: !0 });
3
- import De, { jsx as f, jsxs as B, Fragment as yr } from "react/jsx-runtime";
3
+ import De, { jsx as f, jsxs as B, Fragment as lr } from "react/jsx-runtime";
4
4
  import * as S from "react";
5
- import Vt, { forwardRef as bi, useContext as Te, createElement as us, Children as Wn, isValidElement as br, cloneElement as Jt, createContext as ao, useState as Ue, useMemo as Mt, useCallback as we, useEffect as at, Fragment as Gt, memo as yf, useRef as Un } from "react";
5
+ import Vt, { forwardRef as bi, useContext as Te, createElement as us, Children as Wn, isValidElement as vr, cloneElement as Jt, createContext as ao, useState as Ue, useMemo as Mt, useCallback as we, useEffect as at, Fragment as Gt, memo as yf, useRef as Un } from "react";
6
6
  import a from "prop-types";
7
7
  import { MenuItem as Ga, ListItemIcon as qa, ListItemText as ds, useMediaQuery as Gn, Typography as Xc, Box as $e, alpha as Of, createTheme as yi, StyledEngineProvider as Zc, Stack as Jc, Card as xf, CircularProgress as eu, Dialog as Oi, DialogTitle as tu, DialogContent as Sf, DialogActions as Ef, Tooltip as qn, IconButton as Rn, ThemeProvider as Pf, Paper as xi, CardContent as ru, Collapse as Tf, List as Cf, Divider as Ff, Button as ps } from "@mui/material";
8
8
  import { useTranslate as Ze, useUserMenu as wf, useResourceDefinitions as Rf, AppBar as kf, UserMenu as Mf, Logout as $f, useDataProvider as ou, useListContext as Gr, useNotify as tr, useRedirect as Wo, useRefresh as Lf, useResourceContext as qe, useUnselectAll as Af, NumberField as If, DateField as fs, TextField as On, ReferenceField as Df, Button as ut, useRecordContext as Kt, useInput as nu, useGetList as au, useSafeSetState as Si, Confirm as Ei, Form as Uo, SaveButton as Kn, useCreatePath as Yn, useResourceDefinition as iu, DatagridRoot as Nf, DatagridClasses as ms, BulkActionsToolbar as _f, SimpleList as jf, useGetOne as lu, required as Vf, minValue as Bf, TopToolbar as su, ListButton as zf, ShowButton as Hf, useCreateController as Wf, CreateContextProvider as Uf, useSaveContext as Gf, Create as qf, useListController as Kf, ListContextProvider as Yf, List as cu, useDelete as Qf, useEditController as Xf, Edit as Zf, SimpleForm as Jf, useSidebarState as uu, Menu as em, DashboardMenuItem as tm, MenuItemLink as du, Layout as rm, FilterContext as om, sanitizeListRestProps as nm, FilterButton as am, CreateButton as im, ExportButton as lm, useLogin as sm, TextInput as Or, PasswordInput as pu, FieldTitle as cm, useShowController as um, Show as dm, FormTab as pm, getTabbedFormTabFullPath as fm, TabbedFormTabs as mm, Toolbar as fu, defaultTheme as Br, BooleanField as hm, ImageInput as gm, ImageField as bm, FileInput as vm, BooleanInput as ym, ReferenceInput as mu, useChoicesContext as Om, AutocompleteInput as xm, SelectInput as Sm, ReferenceArrayInput as Em, SelectArrayInput as Pm, RadioButtonGroupInput as hu, useRecordSelection as gu, Datagrid as Tm, NumberInput as Cm, DateInput as Fm, DateTimeInput as wm } from "react-admin";
@@ -189,10 +189,10 @@ var Se = {};
189
189
  var bs;
190
190
  function jm() {
191
191
  return bs || (bs = 1, process.env.NODE_ENV !== "production" && function() {
192
- var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = 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"), b = Symbol.for("react.offscreen"), v = !1, g = !1, y = !1, T = !1, F = !1, E;
192
+ var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = 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"), b = Symbol.for("react.offscreen"), v = !1, g = !1, y = !1, T = !1, C = !1, E;
193
193
  E = Symbol.for("react.module.reference");
194
194
  function x(D) {
195
- return !!(typeof D == "string" || typeof D == "function" || D === r || D === i || F || D === n || D === d || D === p || T || D === b || v || g || y || typeof D == "object" && D !== null && (D.$$typeof === m || D.$$typeof === h || D.$$typeof === l || D.$$typeof === s || D.$$typeof === u || // This needs to include all possible module reference object
195
+ return !!(typeof D == "string" || typeof D == "function" || D === r || D === i || C || D === n || D === d || D === p || T || D === b || v || g || y || typeof D == "object" && D !== null && (D.$$typeof === m || D.$$typeof === h || D.$$typeof === l || D.$$typeof === s || D.$$typeof === u || // This needs to include all possible module reference object
196
196
  // types supported by any Flight configuration anywhere since
197
197
  // we don't know which Flight build this will end up being used
198
198
  // with.
@@ -201,8 +201,8 @@ function jm() {
201
201
  o(x, "isValidElementType");
202
202
  function O(D) {
203
203
  if (typeof D == "object" && D !== null) {
204
- var ne = D.$$typeof;
205
- switch (ne) {
204
+ var re = D.$$typeof;
205
+ switch (re) {
206
206
  case e:
207
207
  var ke = D.type;
208
208
  switch (ke) {
@@ -223,60 +223,60 @@ function jm() {
223
223
  case l:
224
224
  return Fe;
225
225
  default:
226
- return ne;
226
+ return re;
227
227
  }
228
228
  }
229
229
  case t:
230
- return ne;
230
+ return re;
231
231
  }
232
232
  }
233
233
  }
234
234
  o(O, "typeOf");
235
- var w = s, C = l, L = e, R = u, k = r, $ = m, N = h, A = t, _ = i, j = n, I = d, V = p, M = !1, H = !1;
235
+ var w = s, F = l, L = e, R = u, M = r, $ = m, N = h, A = t, _ = i, j = n, I = d, V = p, k = !1, H = !1;
236
236
  function te(D) {
237
- return M || (M = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
237
+ return k || (k = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
238
238
  }
239
239
  o(te, "isAsyncMode");
240
- function ue(D) {
240
+ function he(D) {
241
241
  return H || (H = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
242
242
  }
243
- o(ue, "isConcurrentMode");
244
- function le(D) {
243
+ o(he, "isConcurrentMode");
244
+ function ne(D) {
245
245
  return O(D) === s;
246
246
  }
247
- o(le, "isContextConsumer");
247
+ o(ne, "isContextConsumer");
248
248
  function Re(D) {
249
249
  return O(D) === l;
250
250
  }
251
251
  o(Re, "isContextProvider");
252
- function U(D) {
252
+ function ae(D) {
253
253
  return typeof D == "object" && D !== null && D.$$typeof === e;
254
254
  }
255
- o(U, "isElement");
256
- function re(D) {
255
+ o(ae, "isElement");
256
+ function U(D) {
257
257
  return O(D) === u;
258
258
  }
259
- o(re, "isForwardRef");
260
- function ae(D) {
259
+ o(U, "isForwardRef");
260
+ function oe(D) {
261
261
  return O(D) === r;
262
262
  }
263
- o(ae, "isFragment");
264
- function Oe(D) {
263
+ o(oe, "isFragment");
264
+ function ve(D) {
265
265
  return O(D) === m;
266
266
  }
267
- o(Oe, "isLazy");
268
- function oe(D) {
267
+ o(ve, "isLazy");
268
+ function ie(D) {
269
269
  return O(D) === h;
270
270
  }
271
- o(oe, "isMemo");
271
+ o(ie, "isMemo");
272
272
  function ee(D) {
273
273
  return O(D) === t;
274
274
  }
275
275
  o(ee, "isPortal");
276
- function he(D) {
276
+ function ue(D) {
277
277
  return O(D) === i;
278
278
  }
279
- o(he, "isProfiler");
279
+ o(ue, "isProfiler");
280
280
  function Q(D) {
281
281
  return O(D) === n;
282
282
  }
@@ -288,7 +288,7 @@ function jm() {
288
288
  function X(D) {
289
289
  return O(D) === p;
290
290
  }
291
- o(X, "isSuspenseList"), Se.ContextConsumer = w, Se.ContextProvider = C, Se.Element = L, Se.ForwardRef = R, Se.Fragment = k, Se.Lazy = $, Se.Memo = N, Se.Portal = A, Se.Profiler = _, Se.StrictMode = j, Se.Suspense = I, Se.SuspenseList = V, Se.isAsyncMode = te, Se.isConcurrentMode = ue, Se.isContextConsumer = le, Se.isContextProvider = Re, Se.isElement = U, Se.isForwardRef = re, Se.isFragment = ae, Se.isLazy = Oe, Se.isMemo = oe, Se.isPortal = ee, Se.isProfiler = he, Se.isStrictMode = Q, Se.isSuspense = z, Se.isSuspenseList = X, Se.isValidElementType = x, Se.typeOf = O;
291
+ o(X, "isSuspenseList"), Se.ContextConsumer = w, Se.ContextProvider = F, Se.Element = L, Se.ForwardRef = R, Se.Fragment = M, Se.Lazy = $, Se.Memo = N, Se.Portal = A, Se.Profiler = _, Se.StrictMode = j, Se.Suspense = I, Se.SuspenseList = V, Se.isAsyncMode = te, Se.isConcurrentMode = he, Se.isContextConsumer = ne, Se.isContextProvider = Re, Se.isElement = ae, Se.isForwardRef = U, Se.isFragment = oe, Se.isLazy = ve, Se.isMemo = ie, Se.isPortal = ee, Se.isProfiler = ue, Se.isStrictMode = Q, Se.isSuspense = z, Se.isSuspenseList = X, Se.isValidElementType = x, Se.typeOf = O;
292
292
  }()), Se;
293
293
  }
294
294
  o(jm, "requireReactIs_development$1");
@@ -563,7 +563,7 @@ function wu(e) {
563
563
  o(wu, "createBreakpoints");
564
564
  const Xm = {
565
565
  borderRadius: 4
566
- }, sr = process.env.NODE_ENV !== "production" ? a.oneOfType([a.number, a.string, a.object, a.array]) : {};
566
+ }, cr = process.env.NODE_ENV !== "production" ? a.oneOfType([a.number, a.string, a.object, a.array]) : {};
567
567
  function To(e, t) {
568
568
  return t ? vt(e, t, {
569
569
  clone: !1
@@ -687,7 +687,7 @@ function Ve(e) {
687
687
  }, "styleFromPropValue"));
688
688
  }, "fn");
689
689
  return l.propTypes = process.env.NODE_ENV !== "production" ? {
690
- [t]: sr
690
+ [t]: cr
691
691
  } : {}, l.filterProps = [t], l;
692
692
  }
693
693
  o(Ve, "style$2");
@@ -761,15 +761,15 @@ function _e(e) {
761
761
  return Mu(e, Xn);
762
762
  }
763
763
  o(_e, "margin");
764
- _e.propTypes = process.env.NODE_ENV !== "production" ? Xn.reduce((e, t) => (e[t] = sr, e), {}) : {};
764
+ _e.propTypes = process.env.NODE_ENV !== "production" ? Xn.reduce((e, t) => (e[t] = cr, e), {}) : {};
765
765
  _e.filterProps = Xn;
766
766
  function je(e) {
767
767
  return Mu(e, Zn);
768
768
  }
769
769
  o(je, "padding");
770
- je.propTypes = process.env.NODE_ENV !== "production" ? Zn.reduce((e, t) => (e[t] = sr, e), {}) : {};
770
+ je.propTypes = process.env.NODE_ENV !== "production" ? Zn.reduce((e, t) => (e[t] = cr, e), {}) : {};
771
771
  je.filterProps = Zn;
772
- process.env.NODE_ENV !== "production" && nh.reduce((e, t) => (e[t] = sr, e), {});
772
+ process.env.NODE_ENV !== "production" && nh.reduce((e, t) => (e[t] = cr, e), {});
773
773
  function lh(e = 8) {
774
774
  if (e.mui)
775
775
  return e;
@@ -811,7 +811,7 @@ const sh = Tt("border", bt), ch = Tt("borderTop", bt), uh = Tt("borderRight", bt
811
811
  return null;
812
812
  }, "borderRadius");
813
813
  ea.propTypes = process.env.NODE_ENV !== "production" ? {
814
- borderRadius: sr
814
+ borderRadius: cr
815
815
  } : {};
816
816
  ea.filterProps = ["borderRadius"];
817
817
  Jn(sh, ch, uh, dh, ph, fh, mh, hh, gh, bh, ea, vh, yh);
@@ -825,7 +825,7 @@ const ta = /* @__PURE__ */ o((e) => {
825
825
  return null;
826
826
  }, "gap");
827
827
  ta.propTypes = process.env.NODE_ENV !== "production" ? {
828
- gap: sr
828
+ gap: cr
829
829
  } : {};
830
830
  ta.filterProps = ["gap"];
831
831
  const ra = /* @__PURE__ */ o((e) => {
@@ -838,7 +838,7 @@ const ra = /* @__PURE__ */ o((e) => {
838
838
  return null;
839
839
  }, "columnGap");
840
840
  ra.propTypes = process.env.NODE_ENV !== "production" ? {
841
- columnGap: sr
841
+ columnGap: cr
842
842
  } : {};
843
843
  ra.filterProps = ["columnGap"];
844
844
  const oa = /* @__PURE__ */ o((e) => {
@@ -851,7 +851,7 @@ const oa = /* @__PURE__ */ o((e) => {
851
851
  return null;
852
852
  }, "rowGap");
853
853
  oa.propTypes = process.env.NODE_ENV !== "production" ? {
854
- rowGap: sr
854
+ rowGap: cr
855
855
  } : {};
856
856
  oa.filterProps = ["rowGap"];
857
857
  const Oh = Ve({
@@ -1418,7 +1418,7 @@ var Gh = /* @__PURE__ */ function() {
1418
1418
  return n.parentNode && n.parentNode.removeChild(n);
1419
1419
  }), this.tags = [], this.ctr = 0, process.env.NODE_ENV !== "production" && (this._alreadyInsertedOrderInsensitiveRule = !1);
1420
1420
  }, "flush"), e;
1421
- }(), Qe = "-ms-", Mn = "-moz-", ve = "-webkit-", Di = "comm", Ni = "rule", _i = "decl", qh = "@import", Iu = "@keyframes", Kh = "@layer", Yh = Math.abs, na = String.fromCharCode, Qh = Object.assign;
1421
+ }(), Qe = "-ms-", Mn = "-moz-", ye = "-webkit-", Di = "comm", Ni = "rule", _i = "decl", qh = "@import", Iu = "@keyframes", Kh = "@layer", Yh = Math.abs, na = String.fromCharCode, Qh = Object.assign;
1422
1422
  function Xh(e, t) {
1423
1423
  return Ye(e, 0) ^ 45 ? (((t << 2 ^ Ye(e, 0)) << 2 ^ Ye(e, 1)) << 2 ^ Ye(e, 2)) << 2 ^ Ye(e, 3) : 0;
1424
1424
  }
@@ -1431,10 +1431,10 @@ function Zh(e, t) {
1431
1431
  return (e = t.exec(e)) ? e[0] : e;
1432
1432
  }
1433
1433
  o(Zh, "match$2");
1434
- function ye(e, t, r) {
1434
+ function Oe(e, t, r) {
1435
1435
  return e.replace(t, r);
1436
1436
  }
1437
- o(ye, "replace");
1437
+ o(Oe, "replace");
1438
1438
  function Za(e, t) {
1439
1439
  return e.indexOf(t);
1440
1440
  }
@@ -1590,26 +1590,26 @@ function ig(e) {
1590
1590
  }
1591
1591
  o(ig, "compile");
1592
1592
  function En(e, t, r, n, i, l, s, c, u) {
1593
- for (var d = 0, p = 0, h = s, m = 0, b = 0, v = 0, g = 1, y = 1, T = 1, F = 0, E = "", x = i, O = l, w = n, C = E; y; )
1594
- switch (v = F, F = dt()) {
1593
+ for (var d = 0, p = 0, h = s, m = 0, b = 0, v = 0, g = 1, y = 1, T = 1, C = 0, E = "", x = i, O = l, w = n, F = E; y; )
1594
+ switch (v = C, C = dt()) {
1595
1595
  case 40:
1596
- if (v != 108 && Ye(C, h - 1) == 58) {
1597
- Za(C += ye(Sn(F), "&", "&\f"), "&\f") != -1 && (T = -1);
1596
+ if (v != 108 && Ye(F, h - 1) == 58) {
1597
+ Za(F += Oe(Sn(C), "&", "&\f"), "&\f") != -1 && (T = -1);
1598
1598
  break;
1599
1599
  }
1600
1600
  case 34:
1601
1601
  case 39:
1602
1602
  case 91:
1603
- C += Sn(F);
1603
+ F += Sn(C);
1604
1604
  break;
1605
1605
  case 9:
1606
1606
  case 10:
1607
1607
  case 13:
1608
1608
  case 32:
1609
- C += rg(v);
1609
+ F += rg(v);
1610
1610
  break;
1611
1611
  case 92:
1612
- C += og(xn() - 1, 7);
1612
+ F += og(xn() - 1, 7);
1613
1613
  continue;
1614
1614
  case 47:
1615
1615
  switch (Ht()) {
@@ -1618,29 +1618,29 @@ function En(e, t, r, n, i, l, s, c, u) {
1618
1618
  un(lg(ng(dt(), xn()), t, r), u);
1619
1619
  break;
1620
1620
  default:
1621
- C += "/";
1621
+ F += "/";
1622
1622
  }
1623
1623
  break;
1624
1624
  case 123 * g:
1625
- c[d++] = Nt(C) * T;
1625
+ c[d++] = Nt(F) * T;
1626
1626
  case 125 * g:
1627
1627
  case 59:
1628
1628
  case 0:
1629
- switch (F) {
1629
+ switch (C) {
1630
1630
  case 0:
1631
1631
  case 125:
1632
1632
  y = 0;
1633
1633
  case 59 + p:
1634
- T == -1 && (C = ye(C, /\f/g, "")), b > 0 && Nt(C) - h && un(b > 32 ? Es(C + ";", n, r, h - 1) : Es(ye(C, " ", "") + ";", n, r, h - 2), u);
1634
+ T == -1 && (F = Oe(F, /\f/g, "")), b > 0 && Nt(F) - h && un(b > 32 ? Es(F + ";", n, r, h - 1) : Es(Oe(F, " ", "") + ";", n, r, h - 2), u);
1635
1635
  break;
1636
1636
  case 59:
1637
- C += ";";
1637
+ F += ";";
1638
1638
  default:
1639
- if (un(w = Ss(C, t, r, d, p, i, c, E, x = [], O = [], h), l), F === 123)
1639
+ if (un(w = Ss(F, t, r, d, p, i, c, E, x = [], O = [], h), l), C === 123)
1640
1640
  if (p === 0)
1641
- En(C, t, w, w, x, l, h, c, O);
1641
+ En(F, t, w, w, x, l, h, c, O);
1642
1642
  else
1643
- switch (m === 99 && Ye(C, 3) === 110 ? 100 : m) {
1643
+ switch (m === 99 && Ye(F, 3) === 110 ? 100 : m) {
1644
1644
  case 100:
1645
1645
  case 108:
1646
1646
  case 109:
@@ -1648,32 +1648,32 @@ function En(e, t, r, n, i, l, s, c, u) {
1648
1648
  En(e, w, w, n && un(Ss(e, w, w, 0, 0, i, c, E, i, x = [], h), O), i, O, h, c, n ? x : O);
1649
1649
  break;
1650
1650
  default:
1651
- En(C, w, w, w, [""], O, 0, c, O);
1651
+ En(F, w, w, w, [""], O, 0, c, O);
1652
1652
  }
1653
1653
  }
1654
- d = p = b = 0, g = T = 1, E = C = "", h = s;
1654
+ d = p = b = 0, g = T = 1, E = F = "", h = s;
1655
1655
  break;
1656
1656
  case 58:
1657
- h = 1 + Nt(C), b = v;
1657
+ h = 1 + Nt(F), b = v;
1658
1658
  default:
1659
1659
  if (g < 1) {
1660
- if (F == 123)
1660
+ if (C == 123)
1661
1661
  --g;
1662
- else if (F == 125 && g++ == 0 && tg() == 125)
1662
+ else if (C == 125 && g++ == 0 && tg() == 125)
1663
1663
  continue;
1664
1664
  }
1665
- switch (C += na(F), F * g) {
1665
+ switch (F += na(C), C * g) {
1666
1666
  case 38:
1667
- T = p > 0 ? 1 : (C += "\f", -1);
1667
+ T = p > 0 ? 1 : (F += "\f", -1);
1668
1668
  break;
1669
1669
  case 44:
1670
- c[d++] = (Nt(C) - 1) * T, T = 1;
1670
+ c[d++] = (Nt(F) - 1) * T, T = 1;
1671
1671
  break;
1672
1672
  case 64:
1673
- Ht() === 45 && (C += Sn(dt())), m = Ht(), p = h = Nt(E = C += ag(xn())), F++;
1673
+ Ht() === 45 && (F += Sn(dt())), m = Ht(), p = h = Nt(E = F += ag(xn())), C++;
1674
1674
  break;
1675
1675
  case 45:
1676
- v === 45 && Nt(C) == 2 && (g = 0);
1676
+ v === 45 && Nt(F) == 2 && (g = 0);
1677
1677
  }
1678
1678
  }
1679
1679
  return l;
@@ -1681,8 +1681,8 @@ function En(e, t, r, n, i, l, s, c, u) {
1681
1681
  o(En, "parse$2");
1682
1682
  function Ss(e, t, r, n, i, l, s, c, u, d, p) {
1683
1683
  for (var h = i - 1, m = i === 0 ? l : [""], b = ji(m), v = 0, g = 0, y = 0; v < n; ++v)
1684
- for (var T = 0, F = $o(e, h + 1, h = Yh(g = s[v])), E = e; T < b; ++T)
1685
- (E = Du(g > 0 ? m[T] + " " + F : ye(F, /&\f/g, m[T]))) && (u[y++] = E);
1684
+ for (var T = 0, C = $o(e, h + 1, h = Yh(g = s[v])), E = e; T < b; ++T)
1685
+ (E = Du(g > 0 ? m[T] + " " + C : Oe(C, /&\f/g, m[T]))) && (u[y++] = E);
1686
1686
  return ia(e, t, r, i === 0 ? Ni : c, u, d, p);
1687
1687
  }
1688
1688
  o(Ss, "ruleset");
@@ -1819,7 +1819,7 @@ var dg = /* @__PURE__ */ o(function(t, r, n) {
1819
1819
  function Bu(e, t) {
1820
1820
  switch (Xh(e, t)) {
1821
1821
  case 5103:
1822
- return ve + "print-" + e + e;
1822
+ return ye + "print-" + e + e;
1823
1823
  case 5737:
1824
1824
  case 4201:
1825
1825
  case 3177:
@@ -1845,44 +1845,44 @@ function Bu(e, t) {
1845
1845
  case 5365:
1846
1846
  case 5621:
1847
1847
  case 3829:
1848
- return ve + e + e;
1848
+ return ye + e + e;
1849
1849
  case 5349:
1850
1850
  case 4246:
1851
1851
  case 4810:
1852
1852
  case 6968:
1853
1853
  case 2756:
1854
- return ve + e + Mn + e + Qe + e + e;
1854
+ return ye + e + Mn + e + Qe + e + e;
1855
1855
  case 6828:
1856
1856
  case 4268:
1857
- return ve + e + Qe + e + e;
1857
+ return ye + e + Qe + e + e;
1858
1858
  case 6165:
1859
- return ve + e + Qe + "flex-" + e + e;
1859
+ return ye + e + Qe + "flex-" + e + e;
1860
1860
  case 5187:
1861
- return ve + e + ye(e, /(\w+).+(:[^]+)/, ve + "box-$1$2" + Qe + "flex-$1$2") + e;
1861
+ return ye + e + Oe(e, /(\w+).+(:[^]+)/, ye + "box-$1$2" + Qe + "flex-$1$2") + e;
1862
1862
  case 5443:
1863
- return ve + e + Qe + "flex-item-" + ye(e, /flex-|-self/, "") + e;
1863
+ return ye + e + Qe + "flex-item-" + Oe(e, /flex-|-self/, "") + e;
1864
1864
  case 4675:
1865
- return ve + e + Qe + "flex-line-pack" + ye(e, /align-content|flex-|-self/, "") + e;
1865
+ return ye + e + Qe + "flex-line-pack" + Oe(e, /align-content|flex-|-self/, "") + e;
1866
1866
  case 5548:
1867
- return ve + e + Qe + ye(e, "shrink", "negative") + e;
1867
+ return ye + e + Qe + Oe(e, "shrink", "negative") + e;
1868
1868
  case 5292:
1869
- return ve + e + Qe + ye(e, "basis", "preferred-size") + e;
1869
+ return ye + e + Qe + Oe(e, "basis", "preferred-size") + e;
1870
1870
  case 6060:
1871
- return ve + "box-" + ye(e, "-grow", "") + ve + e + Qe + ye(e, "grow", "positive") + e;
1871
+ return ye + "box-" + Oe(e, "-grow", "") + ye + e + Qe + Oe(e, "grow", "positive") + e;
1872
1872
  case 4554:
1873
- return ve + ye(e, /([^-])(transform)/g, "$1" + ve + "$2") + e;
1873
+ return ye + Oe(e, /([^-])(transform)/g, "$1" + ye + "$2") + e;
1874
1874
  case 6187:
1875
- return ye(ye(ye(e, /(zoom-|grab)/, ve + "$1"), /(image-set)/, ve + "$1"), e, "") + e;
1875
+ return Oe(Oe(Oe(e, /(zoom-|grab)/, ye + "$1"), /(image-set)/, ye + "$1"), e, "") + e;
1876
1876
  case 5495:
1877
1877
  case 3959:
1878
- return ye(e, /(image-set\([^]*)/, ve + "$1$`$1");
1878
+ return Oe(e, /(image-set\([^]*)/, ye + "$1$`$1");
1879
1879
  case 4968:
1880
- return ye(ye(e, /(.+:)(flex-)?(.*)/, ve + "box-pack:$3" + Qe + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + ve + e + e;
1880
+ return Oe(Oe(e, /(.+:)(flex-)?(.*)/, ye + "box-pack:$3" + Qe + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + ye + e + e;
1881
1881
  case 4095:
1882
1882
  case 3583:
1883
1883
  case 4068:
1884
1884
  case 2532:
1885
- return ye(e, /(.+)-inline(.+)/, ve + "$1$2") + e;
1885
+ return Oe(e, /(.+)-inline(.+)/, ye + "$1$2") + e;
1886
1886
  case 8116:
1887
1887
  case 7059:
1888
1888
  case 5753:
@@ -1899,9 +1899,9 @@ function Bu(e, t) {
1899
1899
  case 109:
1900
1900
  if (Ye(e, t + 4) !== 45) break;
1901
1901
  case 102:
1902
- return ye(e, /(.+:)(.+)-([^]+)/, "$1" + ve + "$2-$3$1" + Mn + (Ye(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1902
+ return Oe(e, /(.+:)(.+)-([^]+)/, "$1" + ye + "$2-$3$1" + Mn + (Ye(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1903
1903
  case 115:
1904
- return ~Za(e, "stretch") ? Bu(ye(e, "stretch", "fill-available"), t) + e : e;
1904
+ return ~Za(e, "stretch") ? Bu(Oe(e, "stretch", "fill-available"), t) + e : e;
1905
1905
  }
1906
1906
  break;
1907
1907
  case 4949:
@@ -1909,21 +1909,21 @@ function Bu(e, t) {
1909
1909
  case 6444:
1910
1910
  switch (Ye(e, Nt(e) - 3 - (~Za(e, "!important") && 10))) {
1911
1911
  case 107:
1912
- return ye(e, ":", ":" + ve) + e;
1912
+ return Oe(e, ":", ":" + ye) + e;
1913
1913
  case 101:
1914
- return ye(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + ve + (Ye(e, 14) === 45 ? "inline-" : "") + "box$3$1" + ve + "$2$3$1" + Qe + "$2box$3") + e;
1914
+ return Oe(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + ye + (Ye(e, 14) === 45 ? "inline-" : "") + "box$3$1" + ye + "$2$3$1" + Qe + "$2box$3") + e;
1915
1915
  }
1916
1916
  break;
1917
1917
  case 5936:
1918
1918
  switch (Ye(e, t + 11)) {
1919
1919
  case 114:
1920
- return ve + e + Qe + ye(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
1920
+ return ye + e + Qe + Oe(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
1921
1921
  case 108:
1922
- return ve + e + Qe + ye(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
1922
+ return ye + e + Qe + Oe(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
1923
1923
  case 45:
1924
- return ve + e + Qe + ye(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
1924
+ return ye + e + Qe + Oe(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
1925
1925
  }
1926
- return ve + e + Qe + e + e;
1926
+ return ye + e + Qe + e + e;
1927
1927
  }
1928
1928
  return e;
1929
1929
  }
@@ -1935,7 +1935,7 @@ var xg = /* @__PURE__ */ o(function(t, r, n, i) {
1935
1935
  break;
1936
1936
  case Iu:
1937
1937
  return Hr([vo(t, {
1938
- value: ye(t.value, "@", "@" + ve)
1938
+ value: Oe(t.value, "@", "@" + ye)
1939
1939
  })], i);
1940
1940
  case Ni:
1941
1941
  if (t.length) return Jh(t.props, function(l) {
@@ -1943,15 +1943,15 @@ var xg = /* @__PURE__ */ o(function(t, r, n, i) {
1943
1943
  case ":read-only":
1944
1944
  case ":read-write":
1945
1945
  return Hr([vo(t, {
1946
- props: [ye(l, /:(read-\w+)/, ":" + Mn + "$1")]
1946
+ props: [Oe(l, /:(read-\w+)/, ":" + Mn + "$1")]
1947
1947
  })], i);
1948
1948
  case "::placeholder":
1949
1949
  return Hr([vo(t, {
1950
- props: [ye(l, /:(plac\w+)/, ":" + ve + "input-$1")]
1950
+ props: [Oe(l, /:(plac\w+)/, ":" + ye + "input-$1")]
1951
1951
  }), vo(t, {
1952
- props: [ye(l, /:(plac\w+)/, ":" + Mn + "$1")]
1952
+ props: [Oe(l, /:(plac\w+)/, ":" + Mn + "$1")]
1953
1953
  }), vo(t, {
1954
- props: [ye(l, /:(plac\w+)/, Qe + "input-$1")]
1954
+ props: [Oe(l, /:(plac\w+)/, Qe + "input-$1")]
1955
1955
  })], i);
1956
1956
  }
1957
1957
  return "";
@@ -1997,10 +1997,10 @@ If multiple caches share the same key they might "fight" for each other's style
1997
1997
  })], m = cg(d.concat(i, h)), b = /* @__PURE__ */ o(function(y) {
1998
1998
  return Hr(ig(y), m);
1999
1999
  }, "stylis");
2000
- u = /* @__PURE__ */ o(function(y, T, F, E) {
2001
- p = F, process.env.NODE_ENV !== "production" && T.map !== void 0 && (p = {
2000
+ u = /* @__PURE__ */ o(function(y, T, C, E) {
2001
+ p = C, process.env.NODE_ENV !== "production" && T.map !== void 0 && (p = {
2002
2002
  insert: /* @__PURE__ */ o(function(O) {
2003
- F.insert(O + T.map);
2003
+ C.insert(O + T.map);
2004
2004
  }, "insert")
2005
2005
  }), b(y ? y + "{" + T.styles + "}" : T.styles), E && (v.inserted[T.name] = !0);
2006
2006
  }, "insert");
@@ -2034,7 +2034,7 @@ var Cs;
2034
2034
  function Eg() {
2035
2035
  if (Cs) return Ee;
2036
2036
  Cs = 1;
2037
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = 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, b = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, F = e ? Symbol.for("react.scope") : 60119;
2037
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = 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, b = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, C = e ? Symbol.for("react.scope") : 60119;
2038
2038
  function E(O) {
2039
2039
  if (typeof O == "object" && O !== null) {
2040
2040
  var w = O.$$typeof;
@@ -2094,7 +2094,7 @@ function Eg() {
2094
2094
  }, Ee.isSuspense = function(O) {
2095
2095
  return E(O) === h;
2096
2096
  }, Ee.isValidElementType = function(O) {
2097
- return typeof O == "string" || typeof O == "function" || O === n || O === d || O === l || O === i || O === h || O === m || typeof O == "object" && O !== null && (O.$$typeof === v || O.$$typeof === b || O.$$typeof === s || O.$$typeof === c || O.$$typeof === p || O.$$typeof === y || O.$$typeof === T || O.$$typeof === F || O.$$typeof === g);
2097
+ return typeof O == "string" || typeof O == "function" || O === n || O === d || O === l || O === i || O === h || O === m || typeof O == "object" && O !== null && (O.$$typeof === v || O.$$typeof === b || O.$$typeof === s || O.$$typeof === c || O.$$typeof === p || O.$$typeof === y || O.$$typeof === T || O.$$typeof === C || O.$$typeof === g);
2098
2098
  }, Ee.typeOf = E, Ee;
2099
2099
  }
2100
2100
  o(Eg, "requireReactIs_production_min");
@@ -2110,10 +2110,10 @@ var Pe = {};
2110
2110
  var Fs;
2111
2111
  function Pg() {
2112
2112
  return Fs || (Fs = 1, process.env.NODE_ENV !== "production" && function() {
2113
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = 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, b = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, F = e ? Symbol.for("react.scope") : 60119;
2113
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = 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, b = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, C = e ? Symbol.for("react.scope") : 60119;
2114
2114
  function E(z) {
2115
2115
  return typeof z == "string" || typeof z == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
2116
- z === n || z === d || z === l || z === i || z === h || z === m || typeof z == "object" && z !== null && (z.$$typeof === v || z.$$typeof === b || z.$$typeof === s || z.$$typeof === c || z.$$typeof === p || z.$$typeof === y || z.$$typeof === T || z.$$typeof === F || z.$$typeof === g);
2116
+ z === n || z === d || z === l || z === i || z === h || z === m || typeof z == "object" && z !== null && (z.$$typeof === v || z.$$typeof === b || z.$$typeof === s || z.$$typeof === c || z.$$typeof === p || z.$$typeof === y || z.$$typeof === T || z.$$typeof === C || z.$$typeof === g);
2117
2117
  }
2118
2118
  o(E, "isValidElementType");
2119
2119
  function x(z) {
@@ -2131,14 +2131,14 @@ function Pg() {
2131
2131
  case h:
2132
2132
  return D;
2133
2133
  default:
2134
- var ne = D && D.$$typeof;
2135
- switch (ne) {
2134
+ var re = D && D.$$typeof;
2135
+ switch (re) {
2136
2136
  case c:
2137
2137
  case p:
2138
2138
  case v:
2139
2139
  case b:
2140
2140
  case s:
2141
- return ne;
2141
+ return re;
2142
2142
  default:
2143
2143
  return X;
2144
2144
  }
@@ -2149,59 +2149,59 @@ function Pg() {
2149
2149
  }
2150
2150
  }
2151
2151
  o(x, "typeOf");
2152
- var O = u, w = d, C = c, L = s, R = t, k = p, $ = n, N = v, A = b, _ = r, j = l, I = i, V = h, M = !1;
2152
+ var O = u, w = d, F = c, L = s, R = t, M = p, $ = n, N = v, A = b, _ = r, j = l, I = i, V = h, k = !1;
2153
2153
  function H(z) {
2154
- 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.")), te(z) || x(z) === u;
2154
+ return k || (k = !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.")), te(z) || x(z) === u;
2155
2155
  }
2156
2156
  o(H, "isAsyncMode");
2157
2157
  function te(z) {
2158
2158
  return x(z) === d;
2159
2159
  }
2160
2160
  o(te, "isConcurrentMode");
2161
- function ue(z) {
2161
+ function he(z) {
2162
2162
  return x(z) === c;
2163
2163
  }
2164
- o(ue, "isContextConsumer");
2165
- function le(z) {
2164
+ o(he, "isContextConsumer");
2165
+ function ne(z) {
2166
2166
  return x(z) === s;
2167
2167
  }
2168
- o(le, "isContextProvider");
2168
+ o(ne, "isContextProvider");
2169
2169
  function Re(z) {
2170
2170
  return typeof z == "object" && z !== null && z.$$typeof === t;
2171
2171
  }
2172
2172
  o(Re, "isElement");
2173
- function U(z) {
2173
+ function ae(z) {
2174
2174
  return x(z) === p;
2175
2175
  }
2176
- o(U, "isForwardRef");
2177
- function re(z) {
2176
+ o(ae, "isForwardRef");
2177
+ function U(z) {
2178
2178
  return x(z) === n;
2179
2179
  }
2180
- o(re, "isFragment");
2181
- function ae(z) {
2180
+ o(U, "isFragment");
2181
+ function oe(z) {
2182
2182
  return x(z) === v;
2183
2183
  }
2184
- o(ae, "isLazy");
2185
- function Oe(z) {
2184
+ o(oe, "isLazy");
2185
+ function ve(z) {
2186
2186
  return x(z) === b;
2187
2187
  }
2188
- o(Oe, "isMemo");
2189
- function oe(z) {
2188
+ o(ve, "isMemo");
2189
+ function ie(z) {
2190
2190
  return x(z) === r;
2191
2191
  }
2192
- o(oe, "isPortal");
2192
+ o(ie, "isPortal");
2193
2193
  function ee(z) {
2194
2194
  return x(z) === l;
2195
2195
  }
2196
2196
  o(ee, "isProfiler");
2197
- function he(z) {
2197
+ function ue(z) {
2198
2198
  return x(z) === i;
2199
2199
  }
2200
- o(he, "isStrictMode");
2200
+ o(ue, "isStrictMode");
2201
2201
  function Q(z) {
2202
2202
  return x(z) === h;
2203
2203
  }
2204
- o(Q, "isSuspense"), Pe.AsyncMode = O, Pe.ConcurrentMode = w, Pe.ContextConsumer = C, Pe.ContextProvider = L, Pe.Element = R, Pe.ForwardRef = k, Pe.Fragment = $, Pe.Lazy = N, Pe.Memo = A, Pe.Portal = _, Pe.Profiler = j, Pe.StrictMode = I, Pe.Suspense = V, Pe.isAsyncMode = H, Pe.isConcurrentMode = te, Pe.isContextConsumer = ue, Pe.isContextProvider = le, Pe.isElement = Re, Pe.isForwardRef = U, Pe.isFragment = re, Pe.isLazy = ae, Pe.isMemo = Oe, Pe.isPortal = oe, Pe.isProfiler = ee, Pe.isStrictMode = he, Pe.isSuspense = Q, Pe.isValidElementType = E, Pe.typeOf = x;
2204
+ o(Q, "isSuspense"), Pe.AsyncMode = O, Pe.ConcurrentMode = w, Pe.ContextConsumer = F, Pe.ContextProvider = L, Pe.Element = R, Pe.ForwardRef = M, Pe.Fragment = $, Pe.Lazy = N, Pe.Memo = A, Pe.Portal = _, Pe.Profiler = j, Pe.StrictMode = I, Pe.Suspense = V, Pe.isAsyncMode = H, Pe.isConcurrentMode = te, Pe.isContextConsumer = he, Pe.isContextProvider = ne, Pe.isElement = Re, Pe.isForwardRef = ae, Pe.isFragment = U, Pe.isLazy = oe, Pe.isMemo = ve, Pe.isPortal = ie, Pe.isProfiler = ee, Pe.isStrictMode = ue, Pe.isSuspense = Q, Pe.isValidElementType = E, Pe.typeOf = x;
2205
2205
  }()), Pe;
2206
2206
  }
2207
2207
  o(Pg, "requireReactIs_development");
@@ -2500,8 +2500,8 @@ var Bg = Hi.Provider, ca = /* @__PURE__ */ o(function(t) {
2500
2500
  var i = Te(Hi);
2501
2501
  return t(r, i, n);
2502
2502
  });
2503
- }, "withEmotionCache"), cr = /* @__PURE__ */ S.createContext({});
2504
- process.env.NODE_ENV !== "production" && (cr.displayName = "EmotionThemeContext");
2503
+ }, "withEmotionCache"), ur = /* @__PURE__ */ S.createContext({});
2504
+ process.env.NODE_ENV !== "production" && (ur.displayName = "EmotionThemeContext");
2505
2505
  var Ls = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", As = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__", zg = /* @__PURE__ */ o(function(t) {
2506
2506
  var r = t.cache, n = t.serialized, i = t.isStringTag;
2507
2507
  return la(r, n, i), zi(function() {
@@ -2512,7 +2512,7 @@ var Ls = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", As = "__EMOTION_LABEL_PLEASE_DO_N
2512
2512
  typeof n == "string" && t.registered[n] !== void 0 && (n = t.registered[n]);
2513
2513
  var i = e[Ls], l = [n], s = "";
2514
2514
  typeof e.className == "string" ? s = Vi(t.registered, l, e.className) : e.className != null && (s = e.className + " ");
2515
- var c = Qr(l, void 0, S.useContext(cr));
2515
+ var c = Qr(l, void 0, S.useContext(ur));
2516
2516
  if (process.env.NODE_ENV !== "production" && c.name.indexOf("-") === -1) {
2517
2517
  var u = e[As];
2518
2518
  u && (c = Qr([c, "label:" + u + ";"]));
@@ -2682,7 +2682,7 @@ var Wg = {
2682
2682
  // means it will be turned into a className prop
2683
2683
  // $FlowFixMe I don't really want to add it to the type since it shouldn't be used
2684
2684
  (e.className || e.css) && (console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"), Ds = !0);
2685
- var r = e.styles, n = Qr([r], void 0, S.useContext(cr)), i = S.useRef();
2685
+ var r = e.styles, n = Qr([r], void 0, S.useContext(ur)), i = S.useRef();
2686
2686
  return $s(function() {
2687
2687
  var l = t.key + "-global", s = new t.sheet.constructor({
2688
2688
  key: l,
@@ -2777,7 +2777,7 @@ var qg = /* @__PURE__ */ o(function(t) {
2777
2777
  }, "cx"), s = {
2778
2778
  css: i,
2779
2779
  cx: l,
2780
- theme: S.useContext(cr)
2780
+ theme: S.useContext(ur)
2781
2781
  }, c = e.children(s);
2782
2782
  return r = !0, /* @__PURE__ */ S.createElement(S.Fragment, null, /* @__PURE__ */ S.createElement(qg, {
2783
2783
  cache: t,
@@ -2836,25 +2836,25 @@ You may have forgotten to import it.`);
2836
2836
  process.env.NODE_ENV !== "production" && p[0][b] === void 0 && console.error(zs), h.push(p[b], p[0][b]);
2837
2837
  }
2838
2838
  var v = ca(function(g, y, T) {
2839
- var F = d && g.as || i, E = "", x = [], O = g;
2839
+ var C = d && g.as || i, E = "", x = [], O = g;
2840
2840
  if (g.theme == null) {
2841
2841
  O = {};
2842
2842
  for (var w in g)
2843
2843
  O[w] = g[w];
2844
- O.theme = S.useContext(cr);
2844
+ O.theme = S.useContext(ur);
2845
2845
  }
2846
2846
  typeof g.className == "string" ? E = Vi(y.registered, x, g.className) : g.className != null && (E = g.className + " ");
2847
- var C = Qr(h.concat(x), y.registered, O);
2848
- E += y.key + "-" + C.name, s !== void 0 && (E += " " + s);
2849
- var L = d && c === void 0 ? Vs(F) : u, R = {};
2850
- for (var k in g)
2851
- d && k === "as" || // $FlowFixMe
2852
- L(k) && (R[k] = g[k]);
2847
+ var F = Qr(h.concat(x), y.registered, O);
2848
+ E += y.key + "-" + F.name, s !== void 0 && (E += " " + s);
2849
+ var L = d && c === void 0 ? Vs(C) : u, R = {};
2850
+ for (var M in g)
2851
+ d && M === "as" || // $FlowFixMe
2852
+ L(M) && (R[M] = g[M]);
2853
2853
  return R.className = E, R.ref = T, /* @__PURE__ */ S.createElement(S.Fragment, null, /* @__PURE__ */ S.createElement(Zg, {
2854
2854
  cache: y,
2855
- serialized: C,
2856
- isStringTag: typeof F == "string"
2857
- }), /* @__PURE__ */ S.createElement(F, R));
2855
+ serialized: F,
2856
+ isStringTag: typeof C == "string"
2857
+ }), /* @__PURE__ */ S.createElement(C, R));
2858
2858
  });
2859
2859
  return v.displayName = l !== void 0 ? l : "Styled(" + (typeof i == "string" ? i : i.displayName || i.name || "Component") + ")", v.defaultProps = t.defaultProps, v.__emotion_real = v, v.__emotion_base = i, v.__emotion_styles = h, v.__emotion_forwardProp = c, Object.defineProperty(v, "toString", {
2860
2860
  value: /* @__PURE__ */ o(function() {
@@ -3074,7 +3074,7 @@ const Ju = /* @__PURE__ */ o((e, t) => {
3074
3074
  __proto__: null,
3075
3075
  GlobalStyles: Zu,
3076
3076
  StyledEngineProvider: Xu,
3077
- ThemeContext: cr,
3077
+ ThemeContext: ur,
3078
3078
  css: ua,
3079
3079
  default: Wi,
3080
3080
  internal_processStyles: Ju,
@@ -3085,7 +3085,7 @@ function ob(e) {
3085
3085
  }
3086
3086
  o(ob, "isObjectEmpty$1");
3087
3087
  function ed(e = null) {
3088
- const t = S.useContext(cr);
3088
+ const t = S.useContext(ur);
3089
3089
  return !t || ob(t) ? e : t;
3090
3090
  }
3091
3091
  o(ed, "useTheme$4");
@@ -3655,7 +3655,7 @@ function Ab(e) {
3655
3655
  color: g,
3656
3656
  name: y,
3657
3657
  mainShade: T = 500,
3658
- lightShade: F = 300,
3658
+ lightShade: C = 300,
3659
3659
  darkShade: E = 700
3660
3660
  }) => {
3661
3661
  if (g = P({}, g), !g.main && g[T] && (g.main = g[T]), !g.hasOwnProperty("main"))
@@ -3676,7 +3676,7 @@ const theme1 = createTheme({ palette: {
3676
3676
  const theme2 = createTheme({ palette: {
3677
3677
  primary: { main: green[500] },
3678
3678
  } });` : xr(12, y ? ` (${y})` : "", JSON.stringify(g.main)));
3679
- return qs(g, "light", F, n), qs(g, "dark", E, n), g.contrastText || (g.contrastText = h(g.main)), g;
3679
+ return qs(g, "light", C, n), qs(g, "dark", E, n), g.contrastText || (g.contrastText = h(g.main)), g;
3680
3680
  }, "augmentColor"), b = {
3681
3681
  dark: La,
3682
3682
  light: Gs
@@ -3762,14 +3762,14 @@ function Nb(e, t) {
3762
3762
  pxToRem: h
3763
3763
  } = r, m = G(r, Ib);
3764
3764
  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."));
3765
- const b = i / 14, v = h || ((T) => `${T / d * b}rem`), g = /* @__PURE__ */ o((T, F, E, x, O) => P({
3765
+ const b = i / 14, v = h || ((T) => `${T / d * b}rem`), g = /* @__PURE__ */ o((T, C, E, x, O) => P({
3766
3766
  fontFamily: n,
3767
3767
  fontWeight: T,
3768
- fontSize: v(F),
3768
+ fontSize: v(C),
3769
3769
  // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
3770
3770
  lineHeight: E
3771
3771
  }, n === Ys ? {
3772
- letterSpacing: `${Db(x / F)}em`
3772
+ letterSpacing: `${Db(x / C)}em`
3773
3773
  } : {}, O, p), "buildVariant"), y = {
3774
3774
  h1: g(l, 96, 1.167, -1.5),
3775
3775
  h2: g(l, 60, 1.2, -0.5),
@@ -4118,7 +4118,7 @@ function bv(e = {}) {
4118
4118
  process.env.NODE_ENV !== "production" && u && (y = `${u}-${ec(d || "Root")}`);
4119
4119
  let T = Pn;
4120
4120
  d === "Root" || d === "root" ? T = n : d ? T = i : mv(s) && (T = void 0);
4121
- const F = (0, Js.default)(s, (0, ht.default)({
4121
+ const C = (0, Js.default)(s, (0, ht.default)({
4122
4122
  shouldForwardProp: T,
4123
4123
  label: y
4124
4124
  }, b)), E = /* @__PURE__ */ o((O) => typeof O == "function" && O.__emotion_real !== O || (0, nv.isPlainObject)(O) ? (w) => Tn(O, (0, ht.default)({}, w, {
@@ -4128,7 +4128,7 @@ function bv(e = {}) {
4128
4128
  themeId: t
4129
4129
  })
4130
4130
  })) : O, "transformStyleArg"), x = /* @__PURE__ */ o((O, ...w) => {
4131
- let C = E(O);
4131
+ let F = E(O);
4132
4132
  const L = w ? w.map(E) : [];
4133
4133
  u && m && L.push(($) => {
4134
4134
  const N = dn((0, ht.default)({}, $, {
@@ -4158,16 +4158,16 @@ function bv(e = {}) {
4158
4158
  const R = L.length - w.length;
4159
4159
  if (Array.isArray(O) && R > 0) {
4160
4160
  const $ = new Array(R).fill("");
4161
- C = [...O, ...$], C.raw = [...O.raw, ...$];
4161
+ F = [...O, ...$], F.raw = [...O.raw, ...$];
4162
4162
  }
4163
- const k = F(C, ...L);
4163
+ const M = C(F, ...L);
4164
4164
  if (process.env.NODE_ENV !== "production") {
4165
4165
  let $;
4166
- u && ($ = `${u}${(0, av.default)(d || "")}`), $ === void 0 && ($ = `Styled(${(0, iv.default)(s)})`), k.displayName = $;
4166
+ u && ($ = `${u}${(0, av.default)(d || "")}`), $ === void 0 && ($ = `Styled(${(0, iv.default)(s)})`), M.displayName = $;
4167
4167
  }
4168
- return s.muiName && (k.muiName = s.muiName), k;
4168
+ return s.muiName && (M.muiName = s.muiName), M;
4169
4169
  }, "muiStyledResolver");
4170
- return F.withConfig && (x.withConfig = F.withConfig), x;
4170
+ return C.withConfig && (x.withConfig = C.withConfig), x;
4171
4171
  };
4172
4172
  }
4173
4173
  o(bv, "createStyled$1");
@@ -4825,7 +4825,7 @@ function ny(e = {}) {
4825
4825
  process.env.NODE_ENV !== "production" && u && (y = `${u}-${ac(d || "Root")}`);
4826
4826
  let T = Da;
4827
4827
  d === "Root" || d === "root" ? T = n : d ? T = i : ty(s) && (T = void 0);
4828
- const F = Wi(s, P({
4828
+ const C = Wi(s, P({
4829
4829
  shouldForwardProp: T,
4830
4830
  label: y
4831
4831
  }, b)), E = /* @__PURE__ */ o((O) => typeof O == "function" && O.__emotion_real !== O || Zt(O) ? (w) => Cn(O, P({}, w, {
@@ -4835,7 +4835,7 @@ function ny(e = {}) {
4835
4835
  themeId: t
4836
4836
  })
4837
4837
  })) : O, "transformStyleArg"), x = /* @__PURE__ */ o((O, ...w) => {
4838
- let C = E(O);
4838
+ let F = E(O);
4839
4839
  const L = w ? w.map(E) : [];
4840
4840
  u && m && L.push(($) => {
4841
4841
  const N = pn(P({}, $, {
@@ -4865,16 +4865,16 @@ function ny(e = {}) {
4865
4865
  const R = L.length - w.length;
4866
4866
  if (Array.isArray(O) && R > 0) {
4867
4867
  const $ = new Array(R).fill("");
4868
- C = [...O, ...$], C.raw = [...O.raw, ...$];
4868
+ F = [...O, ...$], F.raw = [...O.raw, ...$];
4869
4869
  }
4870
- const k = F(C, ...L);
4870
+ const M = C(F, ...L);
4871
4871
  if (process.env.NODE_ENV !== "production") {
4872
4872
  let $;
4873
- u && ($ = `${u}${J(d || "")}`), $ === void 0 && ($ = `Styled(${md(s)})`), k.displayName = $;
4873
+ u && ($ = `${u}${J(d || "")}`), $ === void 0 && ($ = `Styled(${md(s)})`), M.displayName = $;
4874
4874
  }
4875
- return s.muiName && (k.muiName = s.muiName), k;
4875
+ return s.muiName && (M.muiName = s.muiName), M;
4876
4876
  }, "muiStyledResolver");
4877
- return F.withConfig && (x.withConfig = F.withConfig), x;
4877
+ return C.withConfig && (x.withConfig = C.withConfig), x;
4878
4878
  };
4879
4879
  }
4880
4880
  o(ny, "createStyled");
@@ -5037,7 +5037,7 @@ function Dn(e) {
5037
5037
  const s = lc(n, i, r), c = lc(n, l, r, !0), u = s.direction === "rtl";
5038
5038
  return /* @__PURE__ */ f(In, {
5039
5039
  theme: c,
5040
- children: /* @__PURE__ */ f(cr.Provider, {
5040
+ children: /* @__PURE__ */ f(ur.Provider, {
5041
5041
  value: s,
5042
5042
  children: /* @__PURE__ */ f(Ed, {
5043
5043
  value: u,
@@ -5152,11 +5152,11 @@ function Ty(e = {}) {
5152
5152
  divider: g,
5153
5153
  children: y,
5154
5154
  className: T,
5155
- useFlexGap: F = !1
5155
+ useFlexGap: C = !1
5156
5156
  } = h, E = G(h, vy), x = {
5157
5157
  direction: b,
5158
5158
  spacing: v,
5159
- useFlexGap: F
5159
+ useFlexGap: C
5160
5160
  }, O = i();
5161
5161
  return /* @__PURE__ */ f(l, P({
5162
5162
  as: m,
@@ -5477,43 +5477,43 @@ function Yy(e) {
5477
5477
  onClose: d,
5478
5478
  open: p,
5479
5479
  rootRef: h
5480
- } = e, m = S.useRef({}), b = S.useRef(null), v = S.useRef(null), g = qr(v, h), [y, T] = S.useState(!p), F = qy(u);
5480
+ } = e, m = S.useRef({}), b = S.useRef(null), v = S.useRef(null), g = qr(v, h), [y, T] = S.useState(!p), C = qy(u);
5481
5481
  let E = !0;
5482
5482
  (e["aria-hidden"] === "false" || e["aria-hidden"] === !1) && (E = !1);
5483
5483
  const x = /* @__PURE__ */ o(() => zt(b.current), "getDoc"), O = /* @__PURE__ */ o(() => (m.current.modalRef = v.current, m.current.mount = b.current, m.current), "getModal"), w = /* @__PURE__ */ o(() => {
5484
5484
  i.mount(O(), {
5485
5485
  disableScrollLock: n
5486
5486
  }), v.current && (v.current.scrollTop = 0);
5487
- }, "handleMounted"), C = ys(() => {
5487
+ }, "handleMounted"), F = ys(() => {
5488
5488
  const I = Gy(t) || x().body;
5489
5489
  i.add(O(), I), v.current && w();
5490
5490
  }), L = S.useCallback(() => i.isTopModal(O()), [i]), R = ys((I) => {
5491
5491
  b.current = I, I && (p && L() ? w() : v.current && Co(v.current, E));
5492
- }), k = S.useCallback(() => {
5492
+ }), M = S.useCallback(() => {
5493
5493
  i.remove(O(), E);
5494
5494
  }, [E, i]);
5495
5495
  S.useEffect(() => () => {
5496
- k();
5497
- }, [k]), S.useEffect(() => {
5498
- p ? C() : (!F || !l) && k();
5499
- }, [p, k, F, l, C]);
5496
+ M();
5497
+ }, [M]), S.useEffect(() => {
5498
+ p ? F() : (!C || !l) && M();
5499
+ }, [p, M, C, l, F]);
5500
5500
  const $ = /* @__PURE__ */ o((I) => (V) => {
5501
- var M;
5502
- (M = I.onKeyDown) == null || M.call(I, V), !(V.key !== "Escape" || V.which === 229 || // Wait until IME is settled.
5501
+ var k;
5502
+ (k = I.onKeyDown) == null || k.call(I, V), !(V.key !== "Escape" || V.which === 229 || // Wait until IME is settled.
5503
5503
  !L()) && (r || (V.stopPropagation(), d && d(V, "escapeKeyDown")));
5504
5504
  }, "createHandleKeyDown"), N = /* @__PURE__ */ o((I) => (V) => {
5505
- var M;
5506
- (M = I.onClick) == null || M.call(I, V), V.target === V.currentTarget && d && d(V, "backdropClick");
5505
+ var k;
5506
+ (k = I.onClick) == null || k.call(I, V), V.target === V.currentTarget && d && d(V, "backdropClick");
5507
5507
  }, "createHandleBackdropClick");
5508
5508
  return {
5509
5509
  getRootProps: /* @__PURE__ */ o((I = {}) => {
5510
5510
  const V = Fd(e);
5511
5511
  delete V.onTransitionEnter, delete V.onTransitionExited;
5512
- const M = P({}, V, I);
5512
+ const k = P({}, V, I);
5513
5513
  return P({
5514
5514
  role: "presentation"
5515
- }, M, {
5516
- onKeyDown: $(M),
5515
+ }, k, {
5516
+ onKeyDown: $(k),
5517
5517
  ref: g
5518
5518
  });
5519
5519
  }, "getRootProps"),
@@ -5530,7 +5530,7 @@ function Yy(e) {
5530
5530
  const I = /* @__PURE__ */ o(() => {
5531
5531
  T(!1), s && s();
5532
5532
  }, "handleEnter"), V = /* @__PURE__ */ o(() => {
5533
- T(!0), c && c(), l && k();
5533
+ T(!0), c && c(), l && M();
5534
5534
  }, "handleExited");
5535
5535
  return {
5536
5536
  onEnter: vs(I, u == null ? void 0 : u.props.onEnter),
@@ -5541,7 +5541,7 @@ function Yy(e) {
5541
5541
  portalRef: R,
5542
5542
  isTopModal: L,
5543
5543
  exited: y,
5544
- hasTransition: F
5544
+ hasTransition: C
5545
5545
  };
5546
5546
  }
5547
5547
  o(Yy, "useModal");
@@ -5637,17 +5637,17 @@ function Nn(e) {
5637
5637
  }, [c]), S.useEffect(() => {
5638
5638
  if (!c || !v.current)
5639
5639
  return;
5640
- const E = zt(v.current), x = /* @__PURE__ */ o((C) => {
5641
- y.current = C, !(n || !s() || C.key !== "Tab") && E.activeElement === v.current && C.shiftKey && (u.current = !0, p.current && p.current.focus());
5640
+ const E = zt(v.current), x = /* @__PURE__ */ o((F) => {
5641
+ y.current = F, !(n || !s() || F.key !== "Tab") && E.activeElement === v.current && F.shiftKey && (u.current = !0, p.current && p.current.focus());
5642
5642
  }, "loopFocus"), O = /* @__PURE__ */ o(() => {
5643
- const C = v.current;
5644
- if (C === null)
5643
+ const F = v.current;
5644
+ if (F === null)
5645
5645
  return;
5646
5646
  if (!E.hasFocus() || !s() || u.current) {
5647
5647
  u.current = !1;
5648
5648
  return;
5649
5649
  }
5650
- if (C.contains(E.activeElement) || n && E.activeElement !== d.current && E.activeElement !== p.current)
5650
+ if (F.contains(E.activeElement) || n && E.activeElement !== d.current && E.activeElement !== p.current)
5651
5651
  return;
5652
5652
  if (E.activeElement !== m.current)
5653
5653
  m.current = null;
@@ -5657,11 +5657,11 @@ function Nn(e) {
5657
5657
  return;
5658
5658
  let L = [];
5659
5659
  if ((E.activeElement === d.current || E.activeElement === p.current) && (L = l(v.current)), L.length > 0) {
5660
- var R, k;
5661
- const $ = !!((R = y.current) != null && R.shiftKey && ((k = y.current) == null ? void 0 : k.key) === "Tab"), N = L[0], A = L[L.length - 1];
5660
+ var R, M;
5661
+ const $ = !!((R = y.current) != null && R.shiftKey && ((M = y.current) == null ? void 0 : M.key) === "Tab"), N = L[0], A = L[L.length - 1];
5662
5662
  typeof N != "string" && typeof A != "string" && ($ ? A.focus() : N.focus());
5663
5663
  } else
5664
- C.focus();
5664
+ F.focus();
5665
5665
  }, "contain");
5666
5666
  E.addEventListener("focusin", O), E.addEventListener("keydown", x, !0);
5667
5667
  const w = setInterval(() => {
@@ -5675,13 +5675,13 @@ function Nn(e) {
5675
5675
  h.current === null && (h.current = E.relatedTarget), b.current = !0, m.current = E.target;
5676
5676
  const x = t.props.onFocus;
5677
5677
  x && x(E);
5678
- }, "onFocus"), F = /* @__PURE__ */ o((E) => {
5678
+ }, "onFocus"), C = /* @__PURE__ */ o((E) => {
5679
5679
  h.current === null && (h.current = E.relatedTarget), b.current = !0;
5680
5680
  }, "handleFocusSentinel");
5681
5681
  return /* @__PURE__ */ B(S.Fragment, {
5682
5682
  children: [/* @__PURE__ */ f("div", {
5683
5683
  tabIndex: c ? 0 : -1,
5684
- onFocus: F,
5684
+ onFocus: C,
5685
5685
  ref: d,
5686
5686
  "data-testid": "sentinelStart"
5687
5687
  }), /* @__PURE__ */ S.cloneElement(t, {
@@ -5689,7 +5689,7 @@ function Nn(e) {
5689
5689
  onFocus: T
5690
5690
  }), /* @__PURE__ */ f("div", {
5691
5691
  tabIndex: c ? 0 : -1,
5692
- onFocus: F,
5692
+ onFocus: C,
5693
5693
  ref: p,
5694
5694
  "data-testid": "sentinelEnd"
5695
5695
  })]
@@ -5843,20 +5843,20 @@ process.env.NODE_ENV !== "production" && a.oneOfType([a.string, a.shape({
5843
5843
  const _n = Vt.createContext(null);
5844
5844
  var aO = /* @__PURE__ */ o(function(t) {
5845
5845
  return t.scrollTop;
5846
- }, "forceReflow"), Po = "unmounted", mr = "exited", hr = "entering", _r = "entered", li = "exiting", Lt = /* @__PURE__ */ function(e) {
5846
+ }, "forceReflow"), Po = "unmounted", hr = "exited", gr = "entering", _r = "entered", li = "exiting", Lt = /* @__PURE__ */ function(e) {
5847
5847
  Md(t, e);
5848
5848
  function t(n, i) {
5849
5849
  var l;
5850
5850
  l = e.call(this, n, i) || this;
5851
5851
  var s = i, c = s && !s.isMounting ? n.enter : n.appear, u;
5852
- return l.appearStatus = null, n.in ? c ? (u = mr, l.appearStatus = hr) : u = _r : n.unmountOnExit || n.mountOnEnter ? u = Po : u = mr, l.state = {
5852
+ return l.appearStatus = null, n.in ? c ? (u = hr, l.appearStatus = gr) : u = _r : n.unmountOnExit || n.mountOnEnter ? u = Po : u = hr, l.state = {
5853
5853
  status: u
5854
5854
  }, l.nextCallback = null, l;
5855
5855
  }
5856
5856
  o(t, "Transition"), t.getDerivedStateFromProps = /* @__PURE__ */ o(function(i, l) {
5857
5857
  var s = i.in;
5858
5858
  return s && l.status === Po ? {
5859
- status: mr
5859
+ status: hr
5860
5860
  } : null;
5861
5861
  }, "getDerivedStateFromProps");
5862
5862
  var r = t.prototype;
@@ -5866,7 +5866,7 @@ var aO = /* @__PURE__ */ o(function(t) {
5866
5866
  var l = null;
5867
5867
  if (i !== this.props) {
5868
5868
  var s = this.state.status;
5869
- this.props.in ? s !== hr && s !== _r && (l = hr) : (s === hr || s === _r) && (l = li);
5869
+ this.props.in ? s !== gr && s !== _r && (l = gr) : (s === gr || s === _r) && (l = li);
5870
5870
  }
5871
5871
  this.updateStatus(!1, l);
5872
5872
  }, "componentDidUpdate"), r.componentWillUnmount = /* @__PURE__ */ o(function() {
@@ -5880,7 +5880,7 @@ var aO = /* @__PURE__ */ o(function(t) {
5880
5880
  };
5881
5881
  }, "getTimeouts"), r.updateStatus = /* @__PURE__ */ o(function(i, l) {
5882
5882
  if (i === void 0 && (i = !1), l !== null)
5883
- if (this.cancelNextCallback(), l === hr) {
5883
+ if (this.cancelNextCallback(), l === gr) {
5884
5884
  if (this.props.unmountOnExit || this.props.mountOnEnter) {
5885
5885
  var s = this.props.nodeRef ? this.props.nodeRef.current : cn.findDOMNode(this);
5886
5886
  s && aO(s);
@@ -5888,7 +5888,7 @@ var aO = /* @__PURE__ */ o(function(t) {
5888
5888
  this.performEnter(i);
5889
5889
  } else
5890
5890
  this.performExit();
5891
- else this.props.unmountOnExit && this.state.status === mr && this.setState({
5891
+ else this.props.unmountOnExit && this.state.status === hr && this.setState({
5892
5892
  status: Po
5893
5893
  });
5894
5894
  }, "updateStatus"), r.performEnter = /* @__PURE__ */ o(function(i) {
@@ -5902,7 +5902,7 @@ var aO = /* @__PURE__ */ o(function(t) {
5902
5902
  return;
5903
5903
  }
5904
5904
  this.props.onEnter(d, p), this.safeSetState({
5905
- status: hr
5905
+ status: gr
5906
5906
  }, function() {
5907
5907
  l.props.onEntering(d, p), l.onTransitionEnd(m, function() {
5908
5908
  l.safeSetState({
@@ -5916,7 +5916,7 @@ var aO = /* @__PURE__ */ o(function(t) {
5916
5916
  var i = this, l = this.props.exit, s = this.getTimeouts(), c = this.props.nodeRef ? void 0 : cn.findDOMNode(this);
5917
5917
  if (!l || pc.disabled) {
5918
5918
  this.safeSetState({
5919
- status: mr
5919
+ status: hr
5920
5920
  }, function() {
5921
5921
  i.props.onExited(c);
5922
5922
  });
@@ -5927,7 +5927,7 @@ var aO = /* @__PURE__ */ o(function(t) {
5927
5927
  }, function() {
5928
5928
  i.props.onExiting(c), i.onTransitionEnd(s.exit, function() {
5929
5929
  i.safeSetState({
5930
- status: mr
5930
+ status: hr
5931
5931
  }, function() {
5932
5932
  i.props.onExited(c);
5933
5933
  });
@@ -6159,8 +6159,8 @@ Lt.defaultProps = {
6159
6159
  onExited: Dr
6160
6160
  };
6161
6161
  Lt.UNMOUNTED = Po;
6162
- Lt.EXITED = mr;
6163
- Lt.ENTERING = hr;
6162
+ Lt.EXITED = hr;
6163
+ Lt.ENTERING = gr;
6164
6164
  Lt.ENTERED = _r;
6165
6165
  Lt.EXITING = li;
6166
6166
  function iO(e) {
@@ -6171,7 +6171,7 @@ function iO(e) {
6171
6171
  o(iO, "_assertThisInitialized");
6172
6172
  function al(e, t) {
6173
6173
  var r = /* @__PURE__ */ o(function(l) {
6174
- return t && br(l) ? t(l) : l;
6174
+ return t && vr(l) ? t(l) : l;
6175
6175
  }, "mapper"), n = /* @__PURE__ */ Object.create(null);
6176
6176
  return e && Wn.map(e, function(i) {
6177
6177
  return i;
@@ -6203,18 +6203,18 @@ function lO(e, t) {
6203
6203
  return c;
6204
6204
  }
6205
6205
  o(lO, "mergeChildMappings");
6206
- function gr(e, t, r) {
6206
+ function br(e, t, r) {
6207
6207
  return r[t] != null ? r[t] : e.props[t];
6208
6208
  }
6209
- o(gr, "getProp");
6209
+ o(br, "getProp");
6210
6210
  function sO(e, t) {
6211
6211
  return al(e.children, function(r) {
6212
6212
  return Jt(r, {
6213
6213
  onExited: t.bind(null, r),
6214
6214
  in: !0,
6215
- appear: gr(r, "appear", e),
6216
- enter: gr(r, "enter", e),
6217
- exit: gr(r, "exit", e)
6215
+ appear: br(r, "appear", e),
6216
+ enter: br(r, "enter", e),
6217
+ exit: br(r, "exit", e)
6218
6218
  });
6219
6219
  });
6220
6220
  }
@@ -6223,20 +6223,20 @@ function cO(e, t, r) {
6223
6223
  var n = al(e.children), i = lO(t, n);
6224
6224
  return Object.keys(i).forEach(function(l) {
6225
6225
  var s = i[l];
6226
- if (br(s)) {
6227
- var c = l in t, u = l in n, d = t[l], p = br(d) && !d.props.in;
6226
+ if (vr(s)) {
6227
+ var c = l in t, u = l in n, d = t[l], p = vr(d) && !d.props.in;
6228
6228
  u && (!c || p) ? i[l] = Jt(s, {
6229
6229
  onExited: r.bind(null, s),
6230
6230
  in: !0,
6231
- exit: gr(s, "exit", e),
6232
- enter: gr(s, "enter", e)
6231
+ exit: br(s, "exit", e),
6232
+ enter: br(s, "enter", e)
6233
6233
  }) : !u && c && !p ? i[l] = Jt(s, {
6234
6234
  in: !1
6235
- }) : u && c && br(d) && (i[l] = Jt(s, {
6235
+ }) : u && c && vr(d) && (i[l] = Jt(s, {
6236
6236
  onExited: r.bind(null, s),
6237
6237
  in: d.props.in,
6238
- exit: gr(s, "exit", e),
6239
- enter: gr(s, "enter", e)
6238
+ exit: br(s, "exit", e),
6239
+ enter: br(s, "enter", e)
6240
6240
  }));
6241
6241
  }
6242
6242
  }), i;
@@ -6393,13 +6393,13 @@ const pO = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
6393
6393
  style: y,
6394
6394
  timeout: T = i,
6395
6395
  // eslint-disable-next-line react/prop-types
6396
- TransitionComponent: F = Lt
6396
+ TransitionComponent: C = Lt
6397
6397
  } = t, E = G(t, pO), x = S.useRef(null), O = xt(x, c.ref, r), w = /* @__PURE__ */ o((_) => (j) => {
6398
6398
  if (_) {
6399
6399
  const I = x.current;
6400
6400
  j === void 0 ? _(I) : _(I, j);
6401
6401
  }
6402
- }, "normalizedTransitionCallback"), C = w(m), L = w((_, j) => {
6402
+ }, "normalizedTransitionCallback"), F = w(m), L = w((_, j) => {
6403
6403
  ll(_);
6404
6404
  const I = Zr({
6405
6405
  style: y,
@@ -6409,7 +6409,7 @@ const pO = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
6409
6409
  mode: "enter"
6410
6410
  });
6411
6411
  _.style.webkitTransition = n.transitions.create("opacity", I), _.style.transition = n.transitions.create("opacity", I), p && p(_, j);
6412
- }), R = w(h), k = w(g), $ = w((_) => {
6412
+ }), R = w(h), M = w(g), $ = w((_) => {
6413
6413
  const j = Zr({
6414
6414
  style: y,
6415
6415
  timeout: T,
@@ -6419,16 +6419,16 @@ const pO = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
6419
6419
  });
6420
6420
  _.style.webkitTransition = n.transitions.create("opacity", j), _.style.transition = n.transitions.create("opacity", j), b && b(_);
6421
6421
  }), N = w(v);
6422
- return /* @__PURE__ */ f(F, P({
6422
+ return /* @__PURE__ */ f(C, P({
6423
6423
  appear: s,
6424
6424
  in: d,
6425
6425
  nodeRef: x,
6426
6426
  onEnter: L,
6427
6427
  onEntered: R,
6428
- onEntering: C,
6428
+ onEntering: F,
6429
6429
  onExit: $,
6430
6430
  onExited: N,
6431
- onExiting: k,
6431
+ onExiting: M,
6432
6432
  addEndListener: /* @__PURE__ */ o((_) => {
6433
6433
  l && l(x.current, _);
6434
6434
  }, "handleAddEndListener"),
@@ -6572,14 +6572,14 @@ const hO = ["children", "className", "component", "components", "componentsProps
6572
6572
  slots: g = {},
6573
6573
  TransitionComponent: y = sl,
6574
6574
  transitionDuration: T
6575
- } = s, F = G(s, hO), E = P({}, s, {
6575
+ } = s, C = G(s, hO), E = P({}, s, {
6576
6576
  component: d,
6577
6577
  invisible: m
6578
6578
  }), x = gO(E), O = (n = v.root) != null ? n : h.root;
6579
6579
  return /* @__PURE__ */ f(y, P({
6580
6580
  in: b,
6581
6581
  timeout: T
6582
- }, F, {
6582
+ }, C, {
6583
6583
  children: /* @__PURE__ */ f(bO, P({
6584
6584
  "aria-hidden": !0
6585
6585
  }, O, {
@@ -6744,15 +6744,15 @@ const yO = ["BackdropComponent", "BackdropProps", "classes", "className", "close
6744
6744
  container: g,
6745
6745
  component: y,
6746
6746
  components: T = {},
6747
- componentsProps: F = {},
6747
+ componentsProps: C = {},
6748
6748
  disableAutoFocus: E = !1,
6749
6749
  disableEnforceFocus: x = !1,
6750
6750
  disableEscapeKeyDown: O = !1,
6751
6751
  disablePortal: w = !1,
6752
- disableRestoreFocus: C = !1,
6752
+ disableRestoreFocus: F = !1,
6753
6753
  disableScrollLock: L = !1,
6754
6754
  hideBackdrop: R = !1,
6755
- keepMounted: k = !1,
6755
+ keepMounted: M = !1,
6756
6756
  onBackdropClick: $,
6757
6757
  open: N,
6758
6758
  slotProps: A,
@@ -6764,32 +6764,32 @@ const yO = ["BackdropComponent", "BackdropProps", "classes", "className", "close
6764
6764
  disableEnforceFocus: x,
6765
6765
  disableEscapeKeyDown: O,
6766
6766
  disablePortal: w,
6767
- disableRestoreFocus: C,
6767
+ disableRestoreFocus: F,
6768
6768
  disableScrollLock: L,
6769
6769
  hideBackdrop: R,
6770
- keepMounted: k
6770
+ keepMounted: M
6771
6771
  }), {
6772
6772
  getRootProps: V,
6773
- getBackdropProps: M,
6773
+ getBackdropProps: k,
6774
6774
  getTransitionProps: H,
6775
6775
  portalRef: te,
6776
- isTopModal: ue,
6777
- exited: le,
6776
+ isTopModal: he,
6777
+ exited: ne,
6778
6778
  hasTransition: Re
6779
6779
  } = Yy(P({}, I, {
6780
6780
  rootRef: r
6781
- })), U = P({}, I, {
6782
- exited: le
6783
- }), re = OO(U), ae = {};
6784
- if (v.props.tabIndex === void 0 && (ae.tabIndex = "-1"), Re) {
6781
+ })), ae = P({}, I, {
6782
+ exited: ne
6783
+ }), U = OO(ae), oe = {};
6784
+ if (v.props.tabIndex === void 0 && (oe.tabIndex = "-1"), Re) {
6785
6785
  const {
6786
6786
  onEnter: X,
6787
6787
  onExited: D
6788
6788
  } = H();
6789
- ae.onEnter = X, ae.onExited = D;
6789
+ oe.onEnter = X, oe.onExited = D;
6790
6790
  }
6791
- const Oe = (n = (i = _ == null ? void 0 : _.root) != null ? i : T.Root) != null ? n : xO, oe = (l = (s = _ == null ? void 0 : _.backdrop) != null ? s : T.Backdrop) != null ? l : p, ee = (c = A == null ? void 0 : A.root) != null ? c : F.root, he = (u = A == null ? void 0 : A.backdrop) != null ? u : F.backdrop, Q = kt({
6792
- elementType: Oe,
6791
+ const ve = (n = (i = _ == null ? void 0 : _.root) != null ? i : T.Root) != null ? n : xO, ie = (l = (s = _ == null ? void 0 : _.backdrop) != null ? s : T.Backdrop) != null ? l : p, ee = (c = A == null ? void 0 : A.root) != null ? c : C.root, ue = (u = A == null ? void 0 : A.backdrop) != null ? u : C.backdrop, Q = kt({
6792
+ elementType: ve,
6793
6793
  externalSlotProps: ee,
6794
6794
  externalForwardedProps: j,
6795
6795
  getSlotProps: V,
@@ -6797,32 +6797,32 @@ const yO = ["BackdropComponent", "BackdropProps", "classes", "className", "close
6797
6797
  ref: r,
6798
6798
  as: y
6799
6799
  },
6800
- ownerState: U,
6801
- className: K(m, ee == null ? void 0 : ee.className, re == null ? void 0 : re.root, !U.open && U.exited && (re == null ? void 0 : re.hidden))
6800
+ ownerState: ae,
6801
+ className: K(m, ee == null ? void 0 : ee.className, U == null ? void 0 : U.root, !ae.open && ae.exited && (U == null ? void 0 : U.hidden))
6802
6802
  }), z = kt({
6803
- elementType: oe,
6804
- externalSlotProps: he,
6803
+ elementType: ie,
6804
+ externalSlotProps: ue,
6805
6805
  additionalProps: h,
6806
- getSlotProps: /* @__PURE__ */ o((X) => M(P({}, X, {
6806
+ getSlotProps: /* @__PURE__ */ o((X) => k(P({}, X, {
6807
6807
  onClick: /* @__PURE__ */ o((D) => {
6808
6808
  $ && $(D), X != null && X.onClick && X.onClick(D);
6809
6809
  }, "onClick")
6810
6810
  })), "getSlotProps"),
6811
- className: K(he == null ? void 0 : he.className, h == null ? void 0 : h.className, re == null ? void 0 : re.backdrop),
6812
- ownerState: U
6811
+ className: K(ue == null ? void 0 : ue.className, h == null ? void 0 : h.className, U == null ? void 0 : U.backdrop),
6812
+ ownerState: ae
6813
6813
  });
6814
- return !k && !N && (!Re || le) ? null : /* @__PURE__ */ f(_o, {
6814
+ return !M && !N && (!Re || ne) ? null : /* @__PURE__ */ f(_o, {
6815
6815
  ref: te,
6816
6816
  container: g,
6817
6817
  disablePortal: w,
6818
- children: /* @__PURE__ */ B(Oe, P({}, Q, {
6819
- children: [!R && p ? /* @__PURE__ */ f(oe, P({}, z)) : null, /* @__PURE__ */ f(Nn, {
6818
+ children: /* @__PURE__ */ B(ve, P({}, Q, {
6819
+ children: [!R && p ? /* @__PURE__ */ f(ie, P({}, z)) : null, /* @__PURE__ */ f(Nn, {
6820
6820
  disableEnforceFocus: x,
6821
6821
  disableAutoFocus: E,
6822
- disableRestoreFocus: C,
6823
- isEnabled: ue,
6822
+ disableRestoreFocus: F,
6823
+ isEnabled: he,
6824
6824
  open: N,
6825
- children: /* @__PURE__ */ S.cloneElement(v, ae)
6825
+ children: /* @__PURE__ */ S.cloneElement(v, oe)
6826
6826
  })]
6827
6827
  }))
6828
6828
  });
@@ -7089,7 +7089,7 @@ const FO = ["className", "component", "elevation", "square", "variant"], wO = /*
7089
7089
  }, e.vars && {
7090
7090
  backgroundImage: (r = e.vars.overlays) == null ? void 0 : r[t.elevation]
7091
7091
  }));
7092
- }), ur = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
7092
+ }), dr = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
7093
7093
  const n = be({
7094
7094
  props: t,
7095
7095
  name: "MuiPaper"
@@ -7113,7 +7113,7 @@ const FO = ["className", "component", "elevation", "square", "variant"], wO = /*
7113
7113
  ref: r
7114
7114
  }, d));
7115
7115
  }, "Paper"));
7116
- process.env.NODE_ENV !== "production" && (ur.propTypes = {
7116
+ process.env.NODE_ENV !== "production" && (dr.propTypes = {
7117
7117
  // ┌────────────────────────────── Warning ──────────────────────────────┐
7118
7118
  // │ These PropTypes are generated from the TypeScript type definitions. │
7119
7119
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -7230,7 +7230,7 @@ const MO = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
7230
7230
  height: "100%",
7231
7231
  width: "0"
7232
7232
  }
7233
- })), DO = q(ur, {
7233
+ })), DO = q(dr, {
7234
7234
  name: "MuiDialog",
7235
7235
  slot: "Paper",
7236
7236
  overridesResolver: /* @__PURE__ */ o((e, t) => {
@@ -7309,24 +7309,24 @@ const MO = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
7309
7309
  maxWidth: g = "sm",
7310
7310
  onBackdropClick: y,
7311
7311
  onClick: T,
7312
- onClose: F,
7312
+ onClose: C,
7313
7313
  open: E,
7314
- PaperComponent: x = ur,
7314
+ PaperComponent: x = dr,
7315
7315
  PaperProps: O = {},
7316
7316
  scroll: w = "paper",
7317
- TransitionComponent: C = sl,
7317
+ TransitionComponent: F = sl,
7318
7318
  transitionDuration: L = l,
7319
7319
  TransitionProps: R
7320
- } = n, k = G(n, MO), $ = P({}, n, {
7320
+ } = n, M = G(n, MO), $ = P({}, n, {
7321
7321
  disableEscapeKeyDown: m,
7322
7322
  fullScreen: b,
7323
7323
  fullWidth: v,
7324
7324
  maxWidth: g,
7325
7325
  scroll: w
7326
- }), N = LO($), A = S.useRef(), _ = /* @__PURE__ */ o((M) => {
7327
- A.current = M.target === M.currentTarget;
7328
- }, "handleMouseDown"), j = /* @__PURE__ */ o((M) => {
7329
- T && T(M), A.current && (A.current = null, y && y(M), F && F(M, "backdropClick"));
7326
+ }), N = LO($), A = S.useRef(), _ = /* @__PURE__ */ o((k) => {
7327
+ A.current = k.target === k.currentTarget;
7328
+ }, "handleMouseDown"), j = /* @__PURE__ */ o((k) => {
7329
+ T && T(k), A.current && (A.current = null, y && y(k), C && C(k, "backdropClick"));
7330
7330
  }, "handleBackdropClick"), I = Qi(c), V = S.useMemo(() => ({
7331
7331
  titleId: I
7332
7332
  }), [I]);
@@ -7343,13 +7343,13 @@ const MO = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
7343
7343
  }, d)
7344
7344
  },
7345
7345
  disableEscapeKeyDown: m,
7346
- onClose: F,
7346
+ onClose: C,
7347
7347
  open: E,
7348
7348
  ref: r,
7349
7349
  onClick: j,
7350
7350
  ownerState: $
7351
- }, k, {
7352
- children: /* @__PURE__ */ f(C, P({
7351
+ }, M, {
7352
+ children: /* @__PURE__ */ f(F, P({
7353
7353
  appear: !0,
7354
7354
  in: E,
7355
7355
  timeout: L,
@@ -7734,7 +7734,7 @@ const KO = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
7734
7734
  secondary: "secondary.main",
7735
7735
  textSecondary: "text.secondary",
7736
7736
  error: "error.main"
7737
- }, ZO = /* @__PURE__ */ o((e) => XO[e] || e, "transformDeprecatedColors$1"), lr = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
7737
+ }, ZO = /* @__PURE__ */ o((e) => XO[e] || e, "transformDeprecatedColors$1"), sr = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
7738
7738
  const n = be({
7739
7739
  props: t,
7740
7740
  name: "MuiTypography"
@@ -7767,7 +7767,7 @@ const KO = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
7767
7767
  className: K(T.root, c)
7768
7768
  }, v));
7769
7769
  }, "Typography"));
7770
- process.env.NODE_ENV !== "production" && (lr.propTypes = {
7770
+ process.env.NODE_ENV !== "production" && (sr.propTypes = {
7771
7771
  // ┌────────────────────────────── Warning ──────────────────────────────┐
7772
7772
  // │ These PropTypes are generated from the TypeScript type definitions. │
7773
7773
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -7854,7 +7854,7 @@ const ex = ["children", "className"], tx = /* @__PURE__ */ o((e) => {
7854
7854
  root: ["root"]
7855
7855
  }, JO, t);
7856
7856
  return P({}, t, n);
7857
- }, "useUtilityClasses$l"), rx = q(lr, {
7857
+ }, "useUtilityClasses$l"), rx = q(sr, {
7858
7858
  shouldForwardProp: /* @__PURE__ */ o((e) => Xo(e) || e === "classes", "shouldForwardProp"),
7859
7859
  name: "MuiDialogContentText",
7860
7860
  slot: "Root",
@@ -7906,7 +7906,7 @@ const ox = ["className", "id"], nx = /* @__PURE__ */ o((e) => {
7906
7906
  return Ce({
7907
7907
  root: ["root"]
7908
7908
  }, zO, t);
7909
- }, "useUtilityClasses$k"), ax = q(lr, {
7909
+ }, "useUtilityClasses$k"), ax = q(sr, {
7910
7910
  name: "MuiDialogTitle",
7911
7911
  slot: "Root",
7912
7912
  overridesResolver: /* @__PURE__ */ o((e, t) => t.root, "overridesResolver")
@@ -14617,7 +14617,7 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
14617
14617
  ),
14618
14618
  []
14619
14619
  ), n];
14620
- }, "useAjax"), dr = /* @__PURE__ */ o((e) => ({}), "useDefaultHook"), Oa = /* @__PURE__ */ o((e) => {
14620
+ }, "useAjax"), pr = /* @__PURE__ */ o((e) => ({}), "useDefaultHook"), Oa = /* @__PURE__ */ o((e) => {
14621
14621
  const t = Gr(e), r = tr(), n = Wo(), i = Lf(), l = qe(e), s = Af(l), c = ya(), u = ml(), d = Ze(), [p] = hl(l);
14622
14622
  return {
14623
14623
  ajax: p,
@@ -14649,7 +14649,7 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
14649
14649
  etrs: g
14650
14650
  };
14651
14651
  }, "useUtilsSubmit"), Qt = /* @__PURE__ */ o((e) => {
14652
- const t = _d(), r = jd(), n = Vd(), i = Bd(), l = zd(), s = Hd(), c = an(), u = tr(), d = Wo(), p = $t(), h = qe(e), m = ya(), { propsContenidos: b, setPropsContenidos: v } = bl(), [g] = hl(h), y = e.etrs || {}, T = e.asisEtr || {}, F = p == null ? void 0 : p.trigger;
14652
+ const t = _d(), r = jd(), n = Vd(), i = Bd(), l = zd(), s = Hd(), c = an(), u = tr(), d = Wo(), p = $t(), h = qe(e), m = ya(), { propsContenidos: b, setPropsContenidos: v } = bl(), [g] = hl(h), y = e.etrs || {}, T = e.asisEtr || {}, C = p == null ? void 0 : p.trigger;
14653
14653
  return {
14654
14654
  form: p,
14655
14655
  ajax: g,
@@ -14662,42 +14662,42 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
14662
14662
  setHidden: we(
14663
14663
  (E, x) => {
14664
14664
  r(E, x), setTimeout(() => {
14665
- F(E);
14665
+ C(E);
14666
14666
  });
14667
14667
  },
14668
- [r, F]
14668
+ [r, C]
14669
14669
  ),
14670
14670
  setDisable: we(
14671
14671
  (E, x) => {
14672
14672
  n(E, x), setTimeout(() => {
14673
- F(E);
14673
+ C(E);
14674
14674
  });
14675
14675
  },
14676
- [n, F]
14676
+ [n, C]
14677
14677
  ),
14678
14678
  setRequire: we(
14679
14679
  (E, x) => {
14680
14680
  i(E, x), setTimeout(() => {
14681
- F(E);
14681
+ C(E);
14682
14682
  });
14683
14683
  },
14684
- [i, F]
14684
+ [i, C]
14685
14685
  ),
14686
14686
  setError: we(
14687
14687
  (E, x) => {
14688
14688
  l(E, x), setTimeout(() => {
14689
- F(E);
14689
+ C(E);
14690
14690
  });
14691
14691
  },
14692
- [l, F]
14692
+ [l, C]
14693
14693
  ),
14694
14694
  setLabel: we(
14695
14695
  (E, x) => {
14696
14696
  s(E, x), setTimeout(() => {
14697
- F(E);
14697
+ C(E);
14698
14698
  });
14699
14699
  },
14700
- [s, F]
14700
+ [s, C]
14701
14701
  ),
14702
14702
  etrs: y,
14703
14703
  asisEtr: T
@@ -14727,7 +14727,7 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
14727
14727
  }, "FichaProvider"), bl = /* @__PURE__ */ o(() => Te(Ge), "useFicha"), Wd = /* @__PURE__ */ o((e) => {
14728
14728
  const { estado: t, isLoading: r, fichaProps: n = {} } = Te(Ge), { [e.source]: i = {} } = n, { hidden: l = !1, ...s } = e, {
14729
14729
  hidden: c,
14730
- useContenido: u = dr,
14730
+ useContenido: u = pr,
14731
14731
  ...d
14732
14732
  } = i, p = c !== void 0 ? c : l, h = u({
14733
14733
  ...s,
@@ -15006,17 +15006,17 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
15006
15006
  } = Te(Ge), b = an(), v = Te(fo), { onAfterRenderAsistente: g, ...y } = h, T = Qt({ resource: r, etrs: m, asisEtr: v });
15007
15007
  return at(() => {
15008
15008
  u && typeof g == "function" && g({ ...T, form: t }, n);
15009
- }, [u]), /* @__PURE__ */ B(yr, { children: [
15009
+ }, [u]), /* @__PURE__ */ B(lr, { children: [
15010
15010
  /* @__PURE__ */ f(on, { children: /* @__PURE__ */ f(Jc, { spacing: 4, children: Wn.map(
15011
15011
  i,
15012
- (F, E) => Jt(F, {
15012
+ (C, E) => Jt(C, {
15013
15013
  resource: r,
15014
15014
  estado: n,
15015
- defaultValue: l[F.props.source] || "",
15015
+ defaultValue: l[C.props.source] || "",
15016
15016
  fullWidth: !0,
15017
15017
  sx: { margin: 0 },
15018
- disabled: n !== "N" && (s.indexOf(F.props.source) !== -1 || F.props.disabled),
15019
- ...y[F.props.source]
15018
+ disabled: n !== "N" && (s.indexOf(C.props.source) !== -1 || C.props.disabled),
15019
+ ...y[C.props.source]
15020
15020
  /*InputLabelProps: { shrink: true },*/
15021
15021
  })
15022
15022
  ) }) }),
@@ -15031,8 +15031,8 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
15031
15031
  ut,
15032
15032
  {
15033
15033
  label: "ra.action.cancel",
15034
- onClick: /* @__PURE__ */ o((F) => {
15035
- c(!1), F.stopPropagation();
15034
+ onClick: /* @__PURE__ */ o((C) => {
15035
+ c(!1), C.stopPropagation();
15036
15036
  }, "onClick"),
15037
15037
  children: /* @__PURE__ */ f(No, {})
15038
15038
  }
@@ -15053,13 +15053,13 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
15053
15053
  } = e, [d, p] = Si(!1), h = qe(e), m = $t(), b = Fi(), v = Gd({ apiRef: b, source: l, enviarTodo: s }), g = "N", {
15054
15054
  estado: y,
15055
15055
  fichaProps: { etrs: T }
15056
- } = Te(Ge), F = Te(fo), E = Qt({ etrs: T, asisEtr: F }), O = Ze()("ra.action.create");
15057
- return /* @__PURE__ */ B(yr, { children: [
15056
+ } = Te(Ge), C = Te(fo), E = Qt({ etrs: T, asisEtr: C }), O = Ze()("ra.action.create");
15057
+ return /* @__PURE__ */ B(lr, { children: [
15058
15058
  /* @__PURE__ */ f(
15059
15059
  ut,
15060
15060
  {
15061
- onClick: /* @__PURE__ */ o((C) => {
15062
- p(!0), C.stopPropagation();
15061
+ onClick: /* @__PURE__ */ o((F) => {
15062
+ p(!0), F.stopPropagation();
15063
15063
  }, "onClick"),
15064
15064
  children: /* @__PURE__ */ f(en, {})
15065
15065
  }
@@ -15068,20 +15068,20 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
15068
15068
  Yd,
15069
15069
  {
15070
15070
  open: d,
15071
- onClose: /* @__PURE__ */ o((C) => {
15072
- p(!1), C.stopPropagation();
15071
+ onClose: /* @__PURE__ */ o((F) => {
15072
+ p(!1), F.stopPropagation();
15073
15073
  }, "onClose"),
15074
15074
  labelEstado: O,
15075
15075
  label: i,
15076
15076
  resource: h,
15077
- onSubmit: /* @__PURE__ */ o(async (C, L) => {
15077
+ onSubmit: /* @__PURE__ */ o(async (F, L) => {
15078
15078
  const R = await c(
15079
15079
  E,
15080
- C,
15080
+ F,
15081
15081
  g,
15082
15082
  y
15083
15083
  );
15084
- R !== !1 && (v(typeof R == "object" ? R : C, m), p(!1), u(E, C, g, y));
15084
+ R !== !1 && (v(typeof R == "object" ? R : F, m), p(!1), u(E, F, g, y));
15085
15085
  }, "handleSubmit"),
15086
15086
  children: /* @__PURE__ */ f(
15087
15087
  Qd,
@@ -15115,14 +15115,14 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
15115
15115
  onAfterSubmitAsistente: d = Jr
15116
15116
  } = e, p = Ze(), [h, m] = Si(!1), b = Fi(), v = $t(), g = qd({ apiRef: b, source: l, enviarTodo: c }), y = "M", {
15117
15117
  estado: T,
15118
- fichaProps: { etrs: F }
15119
- } = Te(Ge), E = Te(fo), x = Qt({ etrs: F, asisEtr: E }), O = p("ra.action.edit");
15120
- return /* @__PURE__ */ B(yr, { children: [
15118
+ fichaProps: { etrs: C }
15119
+ } = Te(Ge), E = Te(fo), x = Qt({ etrs: C, asisEtr: E }), O = p("ra.action.edit");
15120
+ return /* @__PURE__ */ B(lr, { children: [
15121
15121
  /* @__PURE__ */ f(
15122
15122
  ut,
15123
15123
  {
15124
- onClick: /* @__PURE__ */ o((C) => {
15125
- m(!0), C.stopPropagation();
15124
+ onClick: /* @__PURE__ */ o((F) => {
15125
+ m(!0), F.stopPropagation();
15126
15126
  }, "onClick"),
15127
15127
  children: /* @__PURE__ */ f(Pd, {})
15128
15128
  }
@@ -15131,20 +15131,20 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
15131
15131
  Yd,
15132
15132
  {
15133
15133
  open: h,
15134
- onClose: /* @__PURE__ */ o((C) => {
15135
- m(!1), C.stopPropagation();
15134
+ onClose: /* @__PURE__ */ o((F) => {
15135
+ m(!1), F.stopPropagation();
15136
15136
  }, "onClose"),
15137
15137
  labelEstado: O,
15138
15138
  label: i,
15139
15139
  resource: n,
15140
- onSubmit: /* @__PURE__ */ o(async (C, L) => {
15140
+ onSubmit: /* @__PURE__ */ o(async (F, L) => {
15141
15141
  const R = await u(
15142
15142
  x,
15143
- C,
15143
+ F,
15144
15144
  y,
15145
15145
  T
15146
15146
  );
15147
- R !== !1 && (g(s.id, typeof R == "object" ? R : C, v), m(!1), d(x, C, y, T));
15147
+ R !== !1 && (g(s.id, typeof R == "object" ? R : F, v), m(!1), d(x, F, y, T));
15148
15148
  }, "handleSubmit"),
15149
15149
  children: /* @__PURE__ */ f(
15150
15150
  Qd,
@@ -15222,29 +15222,29 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
15222
15222
  sxContainer: b = {},
15223
15223
  filter: v,
15224
15224
  ...g
15225
- } = e, [y, T] = Ue([]), F = Kt(e), E = $t(), { field: x } = nu({ defaultValue: "", ...e }), {
15225
+ } = e, [y, T] = Ue([]), C = Kt(e), E = $t(), { field: x } = nu({ defaultValue: "", ...e }), {
15226
15226
  isLoading: O,
15227
15227
  fichaProps: { [m]: w }
15228
- } = Te(Ge), C = wi((Q) => {
15228
+ } = Te(Ge), F = wi((Q) => {
15229
15229
  const z = Q.configInputs ? Q.configInputs.filter((X) => X.id === m) : [];
15230
15230
  return z[0] ? z[0] : null;
15231
- }), { hidden: L } = C || {}, {
15231
+ }), { hidden: L } = F || {}, {
15232
15232
  enviarTodo: R = !1,
15233
- disabled: k,
15233
+ disabled: M,
15234
15234
  hidden: $,
15235
- useContenido: N = dr,
15235
+ useContenido: N = pr,
15236
15236
  onBeforeSubmitAsistente: A,
15237
15237
  onAfterSubmitAsistente: _,
15238
15238
  allowAdd: j,
15239
15239
  allowRemove: I
15240
- } = w || {}, [V, M] = Ue(n), [{ field: H, sort: te }] = n, ue = d || k, le = L !== void 0 ? L : $ !== void 0 ? $ : p, Re = j ?? s, U = I ?? c;
15241
- let re = { ...v };
15242
- F && t.split(",").forEach((Q) => {
15243
- Q && (re[Q] = [
15240
+ } = w || {}, [V, k] = Ue(n), [{ field: H, sort: te }] = n, he = d || M, ne = L !== void 0 ? L : $ !== void 0 ? $ : p, Re = j ?? s, ae = I ?? c;
15241
+ let U = { ...v };
15242
+ C && t.split(",").forEach((Q) => {
15243
+ Q && (U[Q] = [
15244
15244
  {
15245
15245
  type: "string",
15246
15246
  comparison: "eq",
15247
- value: F[Q],
15247
+ value: C[Q],
15248
15248
  field: Q
15249
15249
  }
15250
15250
  ]);
@@ -15253,12 +15253,12 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
15253
15253
  E.setValue(m, "");
15254
15254
  }, 1e3);
15255
15255
  }, [u]);
15256
- const { isLoading: ae, refetch: Oe } = au(
15256
+ const { isLoading: oe, refetch: ve } = au(
15257
15257
  l,
15258
15258
  {
15259
15259
  pagination: { page: 1, perPage: 200 },
15260
15260
  sort: { field: H, order: te },
15261
- filter: re
15261
+ filter: U
15262
15262
  },
15263
15263
  {
15264
15264
  enabled: u && !O,
@@ -15268,17 +15268,17 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
15268
15268
  }, 1e3), T((Q == null ? void 0 : Q.data) || []);
15269
15269
  }, "onSuccess")
15270
15270
  }
15271
- ), oe = N({
15271
+ ), ie = N({
15272
15272
  ...e,
15273
- refetch: Oe
15273
+ refetch: ve
15274
15274
  });
15275
- if (oe === void 0)
15275
+ if (ie === void 0)
15276
15276
  throw new Error(
15277
15277
  `useContenido está devolviendo undefined para el contenido ${m}
15278
15278
  Asegúrese de incluir una instrucción return al final de la función`
15279
15279
  );
15280
15280
  const ee = i;
15281
- ue || (ee.push({
15281
+ he || (ee.push({
15282
15282
  field: " ",
15283
15283
  width: 80,
15284
15284
  headerName: "",
@@ -15316,7 +15316,7 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
15316
15316
  camposClaveFila: r
15317
15317
  }
15318
15318
  ), "renderHeader")
15319
- }), U && ee.push({
15319
+ }), ae && ee.push({
15320
15320
  field: " ",
15321
15321
  headerName: "",
15322
15322
  headerAlign: "center",
@@ -15338,9 +15338,9 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
15338
15338
  );
15339
15339
  }, "renderCell")
15340
15340
  }));
15341
- const he = Mt(() => ee, [JSON.stringify(ee)]);
15342
- return le ? null : /* @__PURE__ */ f(
15343
- ur,
15341
+ const ue = Mt(() => ee, [JSON.stringify(ee)]);
15342
+ return ne ? null : /* @__PURE__ */ f(
15343
+ dr,
15344
15344
  {
15345
15345
  sx: {
15346
15346
  width: "100%",
@@ -15354,7 +15354,7 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
15354
15354
  Ci,
15355
15355
  {
15356
15356
  apiRef: h,
15357
- loading: ae || O,
15357
+ loading: oe || O,
15358
15358
  sx: {
15359
15359
  "& .MuiDataGrid-columnsContainer": {
15360
15360
  backgroundColor: /* @__PURE__ */ o((Q) => Q.palette.mode === "light" ? "#fafafa" : "#1d1d1d", "backgroundColor")
@@ -15367,9 +15367,9 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
15367
15367
  paginationModel: { page: 1, pageSize: 50 },
15368
15368
  hideFooter: !0,
15369
15369
  rows: y,
15370
- columns: he,
15370
+ columns: ue,
15371
15371
  sortModel: V,
15372
- onSortModelChange: /* @__PURE__ */ o((Q) => M(Q), "onSortModelChange"),
15372
+ onSortModelChange: /* @__PURE__ */ o((Q) => k(Q), "onSortModelChange"),
15373
15373
  sortable: !1,
15374
15374
  resizable: !1,
15375
15375
  disableReorder: !0,
@@ -15381,7 +15381,7 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
15381
15381
  noRowsOverlay: vl
15382
15382
  },
15383
15383
  ...g,
15384
- ...oe
15384
+ ...ie
15385
15385
  }
15386
15386
  ),
15387
15387
  /* @__PURE__ */ f("input", { type: "hidden", ...x })
@@ -15415,9 +15415,9 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
15415
15415
  const {
15416
15416
  estado: y,
15417
15417
  isLoading: T,
15418
- fichaProps: F = {}
15419
- } = Te(Ge), E = Qt(e), { [e.source]: x = {} } = F, { useContenido: O = dr, ...w } = x, {
15420
- data: C = [],
15418
+ fichaProps: C = {}
15419
+ } = Te(Ge), E = Qt(e), { [e.source]: x = {} } = C, { useContenido: O = pr, ...w } = x, {
15420
+ data: F = [],
15421
15421
  isLoading: L,
15422
15422
  refetch: R
15423
15423
  } = au(
@@ -15428,8 +15428,8 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
15428
15428
  filter: g
15429
15429
  },
15430
15430
  { enabled: l && !u }
15431
- ), k = bu(), $ = vu({
15432
- apiRef: k,
15431
+ ), M = bu(), $ = vu({
15432
+ apiRef: M,
15433
15433
  initialState: s
15434
15434
  });
15435
15435
  return O({
@@ -15440,9 +15440,9 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
15440
15440
  utils: E,
15441
15441
  ...w,
15442
15442
  refetch: R,
15443
- apiRef: k
15443
+ apiRef: M
15444
15444
  }), /* @__PURE__ */ f(
15445
- ur,
15445
+ dr,
15446
15446
  {
15447
15447
  sx: {
15448
15448
  width: "100%",
@@ -15453,8 +15453,8 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
15453
15453
  children: /* @__PURE__ */ f(Zc, { injectFirst: !0, children: /* @__PURE__ */ f(el, { theme: E0, children: /* @__PURE__ */ f(
15454
15454
  Ci,
15455
15455
  {
15456
- apiRef: k,
15457
- rows: C,
15456
+ apiRef: M,
15457
+ rows: F,
15458
15458
  columns: v,
15459
15459
  loading: L || u,
15460
15460
  sx: {
@@ -15519,7 +15519,7 @@ const M0 = ["className", "color", "enableColorOnDark", "position"], $0 = /* @__P
15519
15519
  root: ["root", `color${J(t)}`, `position${J(r)}`]
15520
15520
  };
15521
15521
  return Ce(i, k0, n);
15522
- }, "useUtilityClasses$j"), fn = /* @__PURE__ */ o((e, t) => e ? `${e == null ? void 0 : e.replace(")", "")}, ${t})` : t, "joinVars"), L0 = q(ur, {
15522
+ }, "useUtilityClasses$j"), fn = /* @__PURE__ */ o((e, t) => e ? `${e == null ? void 0 : e.replace(")", "")}, ${t})` : t, "joinVars"), L0 = q(dr, {
15523
15523
  name: "MuiAppBar",
15524
15524
  slot: "Root",
15525
15525
  overridesResolver: /* @__PURE__ */ o((e, t) => {
@@ -15708,16 +15708,16 @@ const ep = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
15708
15708
  onEntering: g,
15709
15709
  onExit: y,
15710
15710
  onExited: T,
15711
- onExiting: F,
15711
+ onExiting: C,
15712
15712
  style: E,
15713
15713
  timeout: x = l,
15714
15714
  // eslint-disable-next-line react/prop-types
15715
15715
  TransitionComponent: O = Lt
15716
- } = t, w = G(t, A0), C = S.useRef(null), L = xt(u.ref, C, r), R = /* @__PURE__ */ o((M) => (H) => {
15717
- M && (H === void 0 ? M(C.current) : M(C.current, H));
15718
- }, "normalizedTransitionCallback"), k = R((M, H) => {
15719
- mn(p, M, d), ll(M), b && b(M, H);
15720
- }), $ = R((M, H) => {
15716
+ } = t, w = G(t, A0), F = S.useRef(null), L = xt(u.ref, F, r), R = /* @__PURE__ */ o((k) => (H) => {
15717
+ k && (H === void 0 ? k(F.current) : k(F.current, H));
15718
+ }, "normalizedTransitionCallback"), M = R((k, H) => {
15719
+ mn(p, k, d), ll(k), b && b(k, H);
15720
+ }), $ = R((k, H) => {
15721
15721
  const te = Zr({
15722
15722
  timeout: x,
15723
15723
  style: E,
@@ -15725,8 +15725,8 @@ const ep = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
15725
15725
  }, {
15726
15726
  mode: "enter"
15727
15727
  });
15728
- M.style.webkitTransition = n.transitions.create("-webkit-transform", P({}, te)), M.style.transition = n.transitions.create("transform", P({}, te)), M.style.webkitTransform = "none", M.style.transform = "none", g && g(M, H);
15729
- }), N = R(v), A = R(F), _ = R((M) => {
15728
+ k.style.webkitTransition = n.transitions.create("-webkit-transform", P({}, te)), k.style.transition = n.transitions.create("transform", P({}, te)), k.style.webkitTransform = "none", k.style.transform = "none", g && g(k, H);
15729
+ }), N = R(v), A = R(C), _ = R((k) => {
15730
15730
  const H = Zr({
15731
15731
  timeout: x,
15732
15732
  style: E,
@@ -15734,28 +15734,28 @@ const ep = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
15734
15734
  }, {
15735
15735
  mode: "exit"
15736
15736
  });
15737
- M.style.webkitTransition = n.transitions.create("-webkit-transform", H), M.style.transition = n.transitions.create("transform", H), mn(p, M, d), y && y(M);
15738
- }), j = R((M) => {
15739
- M.style.webkitTransition = "", M.style.transition = "", T && T(M);
15740
- }), I = /* @__PURE__ */ o((M) => {
15741
- s && s(C.current, M);
15737
+ k.style.webkitTransition = n.transitions.create("-webkit-transform", H), k.style.transition = n.transitions.create("transform", H), mn(p, k, d), y && y(k);
15738
+ }), j = R((k) => {
15739
+ k.style.webkitTransition = "", k.style.transition = "", T && T(k);
15740
+ }), I = /* @__PURE__ */ o((k) => {
15741
+ s && s(F.current, k);
15742
15742
  }, "handleAddEndListener"), V = S.useCallback(() => {
15743
- C.current && mn(p, C.current, d);
15743
+ F.current && mn(p, F.current, d);
15744
15744
  }, [p, d]);
15745
15745
  return S.useEffect(() => {
15746
15746
  if (m || p === "down" || p === "right")
15747
15747
  return;
15748
- const M = Zo(() => {
15749
- C.current && mn(p, C.current, d);
15750
- }), H = Pr(C.current);
15751
- return H.addEventListener("resize", M), () => {
15752
- M.clear(), H.removeEventListener("resize", M);
15748
+ const k = Zo(() => {
15749
+ F.current && mn(p, F.current, d);
15750
+ }), H = Pr(F.current);
15751
+ return H.addEventListener("resize", k), () => {
15752
+ k.clear(), H.removeEventListener("resize", k);
15753
15753
  };
15754
15754
  }, [p, m, d]), S.useEffect(() => {
15755
15755
  m || V();
15756
15756
  }, [m, V]), /* @__PURE__ */ f(O, P({
15757
- nodeRef: C,
15758
- onEnter: k,
15757
+ nodeRef: F,
15758
+ onEnter: M,
15759
15759
  onEntered: N,
15760
15760
  onEntering: $,
15761
15761
  onExit: _,
@@ -15766,10 +15766,10 @@ const ep = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
15766
15766
  in: m,
15767
15767
  timeout: x
15768
15768
  }, w, {
15769
- children: /* @__PURE__ */ o((M, H) => /* @__PURE__ */ S.cloneElement(u, P({
15769
+ children: /* @__PURE__ */ o((k, H) => /* @__PURE__ */ S.cloneElement(u, P({
15770
15770
  ref: L,
15771
15771
  style: P({
15772
- visibility: M === "exited" && !m ? "hidden" : void 0
15772
+ visibility: k === "exited" && !m ? "hidden" : void 0
15773
15773
  }, E, u.props.style)
15774
15774
  }, H)), "children")
15775
15775
  }));
@@ -16028,7 +16028,7 @@ const V0 = S.forwardRef(/* @__PURE__ */ o(function(t, r) {
16028
16028
  label: x = "",
16029
16029
  icon: O = /* @__PURE__ */ f(ui, {}),
16030
16030
  handler: w
16031
- }, C) => /* @__PURE__ */ f(
16031
+ }, F) => /* @__PURE__ */ f(
16032
16032
  ut,
16033
16033
  {
16034
16034
  label: x,
@@ -16036,7 +16036,7 @@ const V0 = S.forwardRef(/* @__PURE__ */ o(function(t, r) {
16036
16036
  onClick: w,
16037
16037
  children: O
16038
16038
  },
16039
- `extra_${C}`
16039
+ `extra_${F}`
16040
16040
  )
16041
16041
  ),
16042
16042
  b && /* @__PURE__ */ f(
@@ -16060,7 +16060,7 @@ const V0 = S.forwardRef(/* @__PURE__ */ o(function(t, r) {
16060
16060
  ] }), "getDialogForm"))() : (/* @__PURE__ */ o(() => /* @__PURE__ */ B(Gt, { children: [
16061
16061
  /* @__PURE__ */ f(Zd, { sx: { position: "relative" }, children: /* @__PURE__ */ B(tp, { disableGutters: !0, variant: "dense", children: [
16062
16062
  /* @__PURE__ */ f(
16063
- lr,
16063
+ sr,
16064
16064
  {
16065
16065
  sx: { ml: 2, flex: 1 },
16066
16066
  variant: "h6",
@@ -16073,7 +16073,7 @@ const V0 = S.forwardRef(/* @__PURE__ */ o(function(t, r) {
16073
16073
  label: x = "",
16074
16074
  icon: O = /* @__PURE__ */ f(ui, {}),
16075
16075
  handler: w
16076
- }, C) => /* @__PURE__ */ f(
16076
+ }, F) => /* @__PURE__ */ f(
16077
16077
  ut,
16078
16078
  {
16079
16079
  label: x,
@@ -16081,7 +16081,7 @@ const V0 = S.forwardRef(/* @__PURE__ */ o(function(t, r) {
16081
16081
  onClick: w,
16082
16082
  children: O
16083
16083
  },
16084
- `extra_${C}`
16084
+ `extra_${F}`
16085
16085
  )
16086
16086
  ),
16087
16087
  /* @__PURE__ */ f(
@@ -16268,37 +16268,38 @@ const rE = /* @__PURE__ */ o((e) => {
16268
16268
  ), sE = /* @__PURE__ */ o((e) => e.items.reduce((t, r) => (typeof r.field < "u" && r.operator && (hc.has(r.operator) ? t[`${r.field}_${hc.get(r.operator)}`] = r.value : t[r.field] = r.value), t), {}), "defaultConvertFilterModelToFilterValues"), cE = /* @__PURE__ */ o((e) => {
16269
16269
  const {
16270
16270
  actionButtons: t = [],
16271
- bulkActionButtons: r,
16272
- sx: n,
16273
- columns: i,
16274
- isRowEditable: l,
16275
- primaryText: s,
16276
- secondaryText: c,
16277
- desktopSize: u = !1,
16278
- onRenderGrilla: d,
16279
- onLoadGrilla: p,
16280
- hasEdit: h,
16281
- initialState: m,
16282
- convertFilterModelToFilterValues: b = sE,
16283
- claveNuevo: v,
16284
- mobileColumns: g = "",
16285
- hasVerFicha: y = !1,
16286
- disableMultipleRowSelection: T = !0,
16287
- borra: F = !0,
16288
- ...E
16289
- } = e, x = Oa(e), O = Ze(), w = qe(e), {
16290
- props: { hasBulkActionButtons: C = !0, ...L }
16271
+ actionButtonsHeader: r,
16272
+ bulkActionButtons: n,
16273
+ sx: i,
16274
+ columns: l,
16275
+ isRowEditable: s,
16276
+ primaryText: c,
16277
+ secondaryText: u,
16278
+ desktopSize: d = !1,
16279
+ onRenderGrilla: p,
16280
+ onLoadGrilla: h,
16281
+ hasEdit: m,
16282
+ initialState: b,
16283
+ convertFilterModelToFilterValues: v = sE,
16284
+ claveNuevo: g,
16285
+ mobileColumns: y = "",
16286
+ hasVerFicha: T = !1,
16287
+ disableMultipleRowSelection: C = !0,
16288
+ borra: E = !0,
16289
+ ...x
16290
+ } = e, O = Oa(e), w = Ze(), F = qe(e), {
16291
+ props: { hasBulkActionButtons: L = !0, ...R }
16291
16292
  } = ml(), {
16292
- data: R = [],
16293
- isLoading: k,
16294
- selectedIds: $,
16295
- onSelect: N,
16296
- displayedFilters: A,
16297
- setFilters: _
16298
- } = Gr(), j = Yn(), I = Rm(), V = bu(), M = vu({
16299
- apiRef: V,
16293
+ data: M = [],
16294
+ isLoading: $,
16295
+ selectedIds: N,
16296
+ onSelect: A,
16297
+ displayedFilters: _,
16298
+ setFilters: j
16299
+ } = Gr(), I = Yn(), V = Rm(), k = bu(), H = vu({
16300
+ apiRef: k,
16300
16301
  initialState: {
16301
- ...m,
16302
+ ...b,
16302
16303
  pinnedColumns: { right: ["actions"] }
16303
16304
  //filter: {
16304
16305
  // filterModel: {
@@ -16308,60 +16309,61 @@ const rE = /* @__PURE__ */ o((e) => {
16308
16309
  //},
16309
16310
  }
16310
16311
  });
16311
- Xd({ apiRef: V, ...e });
16312
- const H = i.map((U, re) => ({
16312
+ Xd({ apiRef: k, ...e });
16313
+ const te = l.map((U, oe) => ({
16313
16314
  ...U,
16314
- headerName: U.headerName !== "" ? O(`resources.${w}.fields.${U.field}`, {
16315
+ headerName: U.headerName !== "" ? w(`resources.${F}.fields.${U.field}`, {
16315
16316
  _: U.headerName
16316
16317
  }) : U.headerName
16317
- })), te = t.length > 0 || h ? H.concat([
16318
+ })), he = t.length > 0 || m ? te.concat([
16318
16319
  {
16319
16320
  field: "actions",
16320
16321
  type: "actions",
16321
16322
  width: 100,
16322
16323
  hideable: !1,
16324
+ renderHeader: /* @__PURE__ */ o(() => /* @__PURE__ */ f(lr, { children: r }), "renderHeader"),
16323
16325
  getActions: /* @__PURE__ */ o((U) => {
16324
- const re = V.current.getRowNode(U.id), ae = !np(
16326
+ const oe = k.current.getRowNode(U.id), ve = !np(
16325
16327
  U.row,
16326
- l
16327
- ), Oe = y && ae, oe = t.filter((ee) => !!ee).map((ee, he) => {
16328
- const { handler: Q, key: z, ...X } = ee;
16328
+ s
16329
+ ), ie = T && ve, ee = t.filter((ue) => !!ue).map((ue, Q) => {
16330
+ const { handler: z, key: X, ...D } = ue;
16329
16331
  return /* @__PURE__ */ f(
16330
16332
  hs,
16331
16333
  {
16332
16334
  showInMenu: !0,
16333
- onClick: /* @__PURE__ */ o((D) => typeof Q == "function" ? Q(
16335
+ onClick: /* @__PURE__ */ o((re) => typeof z == "function" ? z(
16334
16336
  {
16335
- ...x,
16337
+ ...O,
16336
16338
  record: U.row
16337
16339
  },
16338
- z
16340
+ X
16339
16341
  ) : !1, "onClick"),
16340
- ...X
16342
+ ...D
16341
16343
  },
16342
- `gaci-${he}`
16344
+ `gaci-${Q}`
16343
16345
  );
16344
16346
  });
16345
- if (F) {
16346
- const ee = /* @__PURE__ */ o(() => {
16347
- const he = j({
16347
+ if (E) {
16348
+ const ue = /* @__PURE__ */ o(() => {
16349
+ const Q = I({
16348
16350
  type: "edit",
16349
- resource: w,
16351
+ resource: F,
16350
16352
  id: U.row.id
16351
16353
  });
16352
- I(he, {
16354
+ V(Q, {
16353
16355
  state: {
16354
16356
  estado: "B",
16355
16357
  _scrollToTop: !0
16356
16358
  }
16357
16359
  });
16358
16360
  }, "handleClick");
16359
- oe.unshift(
16361
+ ee.unshift(
16360
16362
  /* @__PURE__ */ f(
16361
16363
  hs,
16362
16364
  {
16363
- onClick: ee,
16364
- label: O("ra.action.delete"),
16365
+ onClick: ue,
16366
+ label: w("ra.action.delete"),
16365
16367
  icon: /* @__PURE__ */ f(ga, {}),
16366
16368
  showInMenu: !0
16367
16369
  },
@@ -16370,8 +16372,8 @@ const rE = /* @__PURE__ */ o((e) => {
16370
16372
  );
16371
16373
  }
16372
16374
  return U.row.id ? [
16373
- ...h ? [
16374
- Oe ? /* @__PURE__ */ f(
16375
+ ...m ? [
16376
+ ie ? /* @__PURE__ */ f(
16375
16377
  mc,
16376
16378
  {
16377
16379
  record: U.row
@@ -16380,10 +16382,10 @@ const rE = /* @__PURE__ */ o((e) => {
16380
16382
  Z0,
16381
16383
  {
16382
16384
  record: U.row,
16383
- disabled: ae
16385
+ disabled: ve
16384
16386
  }
16385
16387
  )
16386
- ] : y ? [
16388
+ ] : T ? [
16387
16389
  /* @__PURE__ */ f(
16388
16390
  mc,
16389
16391
  {
@@ -16392,14 +16394,14 @@ const rE = /* @__PURE__ */ o((e) => {
16392
16394
  `show-${U.row.id}`
16393
16395
  )
16394
16396
  ] : [],
16395
- ...oe
16396
- ] : re.children[0].indexOf(`${v}=`) !== -1 ? [
16397
+ ...ee
16398
+ ] : oe.children[0].indexOf(`${g}=`) !== -1 ? [
16397
16399
  /* @__PURE__ */ f(
16398
16400
  U0,
16399
16401
  {
16400
- record: v ? {
16401
- [v]: re.children[0].split(
16402
- `${v}=`
16402
+ record: g ? {
16403
+ [g]: oe.children[0].split(
16404
+ `${g}=`
16403
16405
  )[1].replaceAll(
16404
16406
  "[",
16405
16407
  ""
@@ -16411,15 +16413,15 @@ const rE = /* @__PURE__ */ o((e) => {
16411
16413
  ] : [];
16412
16414
  }, "getActions")
16413
16415
  }
16414
- ]) : H, ue = C && br(r), le = /* @__PURE__ */ o((U) => {
16415
- k || (ue && !T ? N(U) : V.current.isRowSelected(U[0]) ? N([]) : N(U));
16416
- }, "handleSelectionChange"), Re = /* @__PURE__ */ o((U) => {
16417
- _(b(U), A);
16416
+ ]) : te, ne = L && vr(n), Re = /* @__PURE__ */ o((U) => {
16417
+ $ || (ne && !C ? A(U) : k.current.isRowSelected(U[0]) ? A([]) : A(U));
16418
+ }, "handleSelectionChange"), ae = /* @__PURE__ */ o((U) => {
16419
+ j(v(U), _);
16418
16420
  }, "handleFilterChange");
16419
16421
  return /* @__PURE__ */ B(Gt, { children: [
16420
- /* @__PURE__ */ f(xl, { isLoading: k }),
16421
- /* @__PURE__ */ B(Nf, { sx: n, className: ms.root, children: [
16422
- ue ? /* @__PURE__ */ f(_f, { selectedIds: $, children: r }) : null,
16422
+ /* @__PURE__ */ f(xl, { isLoading: $ }),
16423
+ /* @__PURE__ */ B(Nf, { sx: i, className: ms.root, children: [
16424
+ ne ? /* @__PURE__ */ f(_f, { selectedIds: N, children: n }) : null,
16423
16425
  /* @__PURE__ */ f(
16424
16426
  $e,
16425
16427
  {
@@ -16436,22 +16438,22 @@ const rE = /* @__PURE__ */ o((e) => {
16436
16438
  //toolbar: GridToolbar,
16437
16439
  noRowsOverlay: vl
16438
16440
  },
16439
- columns: te,
16440
- rows: R,
16441
- apiRef: V,
16442
- loading: k,
16441
+ columns: he,
16442
+ rows: M,
16443
+ apiRef: k,
16444
+ loading: $,
16443
16445
  hideFooterSelectedRowCount: !0,
16444
16446
  hideFooter: !0,
16445
- disableMultipleRowSelection: T,
16446
- checkboxSelection: ue,
16447
+ disableMultipleRowSelection: C,
16448
+ checkboxSelection: ne,
16447
16449
  filterMode: "server",
16448
- onFilterModelChange: Re,
16449
- rowSelectionModel: $,
16450
- onRowSelectionModelChange: le,
16450
+ onFilterModelChange: ae,
16451
+ rowSelectionModel: N,
16452
+ onRowSelectionModelChange: Re,
16451
16453
  isRowSelectable: /* @__PURE__ */ o((U) => U.row.id, "isRowSelectable"),
16452
- initialState: M,
16453
- ...E,
16454
- ...L
16454
+ initialState: H,
16455
+ ...x,
16456
+ ...R
16455
16457
  }
16456
16458
  ) })
16457
16459
  }
@@ -16485,7 +16487,7 @@ const rE = /* @__PURE__ */ o((e) => {
16485
16487
  const {
16486
16488
  field: y,
16487
16489
  headerName: T,
16488
- valueGetter: F,
16490
+ valueGetter: C,
16489
16491
  type: E = "string",
16490
16492
  jsxMobile: x
16491
16493
  } = g;
@@ -16494,7 +16496,7 @@ const rE = /* @__PURE__ */ o((e) => {
16494
16496
  {
16495
16497
  component: "span",
16496
16498
  sx: {
16497
- color: F({
16499
+ color: C({
16498
16500
  value: v[y]
16499
16501
  }) ? "green" : "red"
16500
16502
  },
@@ -16505,14 +16507,14 @@ const rE = /* @__PURE__ */ o((e) => {
16505
16507
  /* @__PURE__ */ f($e, { children: n.filter((g) => !!g).map((g, y) => {
16506
16508
  const {
16507
16509
  key: T,
16508
- handler: F,
16510
+ handler: C,
16509
16511
  icon: E = /* @__PURE__ */ f(jo, {}),
16510
16512
  ...x
16511
16513
  } = g;
16512
16514
  return /* @__PURE__ */ f(
16513
16515
  ut,
16514
16516
  {
16515
- onClick: /* @__PURE__ */ o((O) => (O.preventDefault(), typeof F == "function" ? F({ ...d, record: v }, T) : !1), "onClick"),
16517
+ onClick: /* @__PURE__ */ o((O) => (O.preventDefault(), typeof C == "function" ? C({ ...d, record: v }, T) : !1), "onClick"),
16516
16518
  ...x,
16517
16519
  children: E
16518
16520
  },
@@ -16971,11 +16973,11 @@ const di = 550, OE = 80, xE = so(bc || (bc = Sa`
16971
16973
  const {
16972
16974
  pulsate: O,
16973
16975
  rippleX: w,
16974
- rippleY: C,
16976
+ rippleY: F,
16975
16977
  rippleSize: L,
16976
16978
  cb: R
16977
16979
  } = x;
16978
- d((k) => [...k, /* @__PURE__ */ f(TE, {
16980
+ d((M) => [...M, /* @__PURE__ */ f(TE, {
16979
16981
  classes: {
16980
16982
  ripple: K(l.ripple, gt.ripple),
16981
16983
  rippleVisible: K(l.rippleVisible, gt.rippleVisible),
@@ -16987,13 +16989,13 @@ const di = 550, OE = 80, xE = so(bc || (bc = Sa`
16987
16989
  timeout: di,
16988
16990
  pulsate: O,
16989
16991
  rippleX: w,
16990
- rippleY: C,
16992
+ rippleY: F,
16991
16993
  rippleSize: L
16992
16994
  }, p.current)]), p.current += 1, h.current = R;
16993
16995
  }, [l]), T = S.useCallback((x = {}, O = {}, w = () => {
16994
16996
  }) => {
16995
16997
  const {
16996
- pulsate: C = !1,
16998
+ pulsate: F = !1,
16997
16999
  center: L = i || O.pulsate,
16998
17000
  fakeElement: R = !1
16999
17001
  // For test purposes
@@ -17003,7 +17005,7 @@ const di = 550, OE = 80, xE = so(bc || (bc = Sa`
17003
17005
  return;
17004
17006
  }
17005
17007
  (x == null ? void 0 : x.type) === "touchstart" && (m.current = !0);
17006
- const k = R ? null : g.current, $ = k ? k.getBoundingClientRect() : {
17008
+ const M = R ? null : g.current, $ = M ? M.getBoundingClientRect() : {
17007
17009
  width: 0,
17008
17010
  height: 0,
17009
17011
  left: 0,
@@ -17022,12 +17024,12 @@ const di = 550, OE = 80, xE = so(bc || (bc = Sa`
17022
17024
  if (L)
17023
17025
  _ = Math.sqrt((2 * $.width ** 2 + $.height ** 2) / 3), _ % 2 === 0 && (_ += 1);
17024
17026
  else {
17025
- const j = Math.max(Math.abs((k ? k.clientWidth : 0) - N), N) * 2 + 2, I = Math.max(Math.abs((k ? k.clientHeight : 0) - A), A) * 2 + 2;
17027
+ const j = Math.max(Math.abs((M ? M.clientWidth : 0) - N), N) * 2 + 2, I = Math.max(Math.abs((M ? M.clientHeight : 0) - A), A) * 2 + 2;
17026
17028
  _ = Math.sqrt(j ** 2 + I ** 2);
17027
17029
  }
17028
17030
  x != null && x.touches ? v.current === null && (v.current = () => {
17029
17031
  y({
17030
- pulsate: C,
17032
+ pulsate: F,
17031
17033
  rippleX: N,
17032
17034
  rippleY: A,
17033
17035
  rippleSize: _,
@@ -17036,13 +17038,13 @@ const di = 550, OE = 80, xE = so(bc || (bc = Sa`
17036
17038
  }, b.start(OE, () => {
17037
17039
  v.current && (v.current(), v.current = null);
17038
17040
  })) : y({
17039
- pulsate: C,
17041
+ pulsate: F,
17040
17042
  rippleX: N,
17041
17043
  rippleY: A,
17042
17044
  rippleSize: _,
17043
17045
  cb: w
17044
17046
  });
17045
- }, [i, y, b]), F = S.useCallback(() => {
17047
+ }, [i, y, b]), C = S.useCallback(() => {
17046
17048
  T({}, {
17047
17049
  pulsate: !0
17048
17050
  });
@@ -17056,10 +17058,10 @@ const di = 550, OE = 80, xE = so(bc || (bc = Sa`
17056
17058
  v.current = null, d((w) => w.length > 0 ? w.slice(1) : w), h.current = O;
17057
17059
  }, [b]);
17058
17060
  return S.useImperativeHandle(r, () => ({
17059
- pulsate: F,
17061
+ pulsate: C,
17060
17062
  start: T,
17061
17063
  stop: E
17062
- }), [F, T, E]), /* @__PURE__ */ f(PE, P({
17064
+ }), [C, T, E]), /* @__PURE__ */ f(PE, P({
17063
17065
  className: K(gt.root, l.root, s),
17064
17066
  ref: g
17065
17067
  }, c, {
@@ -17161,59 +17163,59 @@ const FE = me("MuiButtonBase", ["root", "disabled", "focusVisible"]), wE = ["act
17161
17163
  onClick: g,
17162
17164
  onContextMenu: y,
17163
17165
  onDragLeave: T,
17164
- onFocus: F,
17166
+ onFocus: C,
17165
17167
  onFocusVisible: E,
17166
17168
  onKeyDown: x,
17167
17169
  onKeyUp: O,
17168
17170
  onMouseDown: w,
17169
- onMouseLeave: C,
17171
+ onMouseLeave: F,
17170
17172
  onMouseUp: L,
17171
17173
  onTouchEnd: R,
17172
- onTouchMove: k,
17174
+ onTouchMove: M,
17173
17175
  onTouchStart: $,
17174
17176
  tabIndex: N = 0,
17175
17177
  TouchRippleProps: A,
17176
17178
  touchRippleRef: _,
17177
17179
  type: j
17178
- } = n, I = G(n, wE), V = S.useRef(null), M = S.useRef(null), H = xt(M, _), {
17180
+ } = n, I = G(n, wE), V = S.useRef(null), k = S.useRef(null), H = xt(k, _), {
17179
17181
  isFocusVisibleRef: te,
17180
- onFocus: ue,
17181
- onBlur: le,
17182
+ onFocus: he,
17183
+ onBlur: ne,
17182
17184
  ref: Re
17183
- } = ma(), [U, re] = S.useState(!1);
17184
- d && U && re(!1), S.useImperativeHandle(i, () => ({
17185
+ } = ma(), [ae, U] = S.useState(!1);
17186
+ d && ae && U(!1), S.useImperativeHandle(i, () => ({
17185
17187
  focusVisible: /* @__PURE__ */ o(() => {
17186
- re(!0), V.current.focus();
17188
+ U(!0), V.current.focus();
17187
17189
  }, "focusVisible")
17188
17190
  }), []);
17189
- const [ae, Oe] = S.useState(!1);
17191
+ const [oe, ve] = S.useState(!1);
17190
17192
  S.useEffect(() => {
17191
- Oe(!0);
17193
+ ve(!0);
17192
17194
  }, []);
17193
- const oe = ae && !p && !d;
17195
+ const ie = oe && !p && !d;
17194
17196
  S.useEffect(() => {
17195
- U && m && !p && ae && M.current.pulsate();
17196
- }, [p, m, U, ae]);
17197
+ ae && m && !p && oe && k.current.pulsate();
17198
+ }, [p, m, ae, oe]);
17197
17199
  function ee(Z, Je, It = h) {
17198
- return Bt((Dt) => (Je && Je(Dt), !It && M.current && M.current[Z](Dt), !0));
17200
+ return Bt((Dt) => (Je && Je(Dt), !It && k.current && k.current[Z](Dt), !0));
17199
17201
  }
17200
17202
  o(ee, "useRippleHandler");
17201
- const he = ee("start", w), Q = ee("stop", y), z = ee("stop", T), X = ee("stop", L), D = ee("stop", (Z) => {
17202
- U && Z.preventDefault(), C && C(Z);
17203
- }), ne = ee("start", $), ke = ee("stop", R), Fe = ee("stop", k), fe = ee("stop", (Z) => {
17204
- le(Z), te.current === !1 && re(!1), v && v(Z);
17203
+ const ue = ee("start", w), Q = ee("stop", y), z = ee("stop", T), X = ee("stop", L), D = ee("stop", (Z) => {
17204
+ ae && Z.preventDefault(), F && F(Z);
17205
+ }), re = ee("start", $), ke = ee("stop", R), Fe = ee("stop", M), fe = ee("stop", (Z) => {
17206
+ ne(Z), te.current === !1 && U(!1), v && v(Z);
17205
17207
  }, !1), et = Bt((Z) => {
17206
- V.current || (V.current = Z.currentTarget), ue(Z), te.current === !0 && (re(!0), E && E(Z)), F && F(Z);
17208
+ V.current || (V.current = Z.currentTarget), he(Z), te.current === !0 && (U(!0), E && E(Z)), C && C(Z);
17207
17209
  }), se = /* @__PURE__ */ o(() => {
17208
17210
  const Z = V.current;
17209
17211
  return u && u !== "button" && !(Z.tagName === "A" && Z.href);
17210
17212
  }, "isNonNativeButton"), ze = S.useRef(!1), He = Bt((Z) => {
17211
- m && !ze.current && U && M.current && Z.key === " " && (ze.current = !0, M.current.stop(Z, () => {
17212
- M.current.start(Z);
17213
+ m && !ze.current && ae && k.current && Z.key === " " && (ze.current = !0, k.current.stop(Z, () => {
17214
+ k.current.start(Z);
17213
17215
  })), Z.target === Z.currentTarget && se() && Z.key === " " && Z.preventDefault(), x && x(Z), Z.target === Z.currentTarget && se() && Z.key === "Enter" && !d && (Z.preventDefault(), g && g(Z));
17214
17216
  }), tt = Bt((Z) => {
17215
- m && Z.key === " " && M.current && U && !Z.defaultPrevented && (ze.current = !1, M.current.stop(Z, () => {
17216
- M.current.pulsate(Z);
17217
+ m && Z.key === " " && k.current && ae && !Z.defaultPrevented && (ze.current = !1, k.current.stop(Z, () => {
17218
+ k.current.pulsate(Z);
17217
17219
  })), O && O(Z), g && Z.target === Z.currentTarget && se() && Z.key === " " && !Z.defaultPrevented && g(Z);
17218
17220
  });
17219
17221
  let Me = u;
@@ -17222,9 +17224,9 @@ const FE = me("MuiButtonBase", ["root", "disabled", "focusVisible"]), wE = ["act
17222
17224
  Me === "button" ? (rt.type = j === void 0 ? "button" : j, rt.disabled = d) : (!I.href && !I.to && (rt.role = "button"), d && (rt["aria-disabled"] = d));
17223
17225
  const Ct = xt(r, Re, V);
17224
17226
  process.env.NODE_ENV !== "production" && S.useEffect(() => {
17225
- oe && !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(`
17227
+ ie && !k.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(`
17226
17228
  `));
17227
- }, [oe]);
17229
+ }, [ie]);
17228
17230
  const At = P({}, n, {
17229
17231
  centerRipple: l,
17230
17232
  component: u,
@@ -17233,7 +17235,7 @@ const FE = me("MuiButtonBase", ["root", "disabled", "focusVisible"]), wE = ["act
17233
17235
  disableTouchRipple: h,
17234
17236
  focusRipple: m,
17235
17237
  tabIndex: N,
17236
- focusVisible: U
17238
+ focusVisible: ae
17237
17239
  }), Xt = RE(At);
17238
17240
  return /* @__PURE__ */ B(kE, P({
17239
17241
  as: Me,
@@ -17245,18 +17247,18 @@ const FE = me("MuiButtonBase", ["root", "disabled", "focusVisible"]), wE = ["act
17245
17247
  onFocus: et,
17246
17248
  onKeyDown: He,
17247
17249
  onKeyUp: tt,
17248
- onMouseDown: he,
17250
+ onMouseDown: ue,
17249
17251
  onMouseLeave: D,
17250
17252
  onMouseUp: X,
17251
17253
  onDragLeave: z,
17252
17254
  onTouchEnd: ke,
17253
17255
  onTouchMove: Fe,
17254
- onTouchStart: ne,
17256
+ onTouchStart: re,
17255
17257
  ref: Ct,
17256
17258
  tabIndex: d ? -1 : N,
17257
17259
  type: j
17258
17260
  }, rt, I, {
17259
- children: [s, oe ? (
17261
+ children: [s, ie ? (
17260
17262
  /* TouchRipple is only needed client-side, x2 boost on the server. */
17261
17263
  /* @__PURE__ */ f(ip, P({
17262
17264
  ref: H,
@@ -17540,7 +17542,7 @@ const nr = me("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
17540
17542
  selectionFollowsFocus: y,
17541
17543
  // eslint-disable-next-line react/prop-types
17542
17544
  textColor: T = "inherit",
17543
- value: F,
17545
+ value: C,
17544
17546
  wrapped: E = !1
17545
17547
  } = n, x = G(n, $E), O = P({}, n, {
17546
17548
  disabled: l,
@@ -17552,12 +17554,12 @@ const nr = me("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
17552
17554
  fullWidth: c,
17553
17555
  textColor: T,
17554
17556
  wrapped: E
17555
- }), w = LE(O), C = u && h && /* @__PURE__ */ S.isValidElement(u) ? /* @__PURE__ */ S.cloneElement(u, {
17557
+ }), w = LE(O), F = u && h && /* @__PURE__ */ S.isValidElement(u) ? /* @__PURE__ */ S.cloneElement(u, {
17556
17558
  className: K(w.iconWrapper, u.props.className)
17557
- }) : u, L = /* @__PURE__ */ o((k) => {
17558
- !g && m && m(k, F), b && b(k);
17559
- }, "handleClick"), R = /* @__PURE__ */ o((k) => {
17560
- y && !g && m && m(k, F), v && v(k);
17559
+ }) : u, L = /* @__PURE__ */ o((M) => {
17560
+ !g && m && m(M, C), b && b(M);
17561
+ }, "handleClick"), R = /* @__PURE__ */ o((M) => {
17562
+ y && !g && m && m(M, C), v && v(M);
17561
17563
  }, "handleFocus");
17562
17564
  return /* @__PURE__ */ B(AE, P({
17563
17565
  focusRipple: !s,
@@ -17572,9 +17574,9 @@ const nr = me("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
17572
17574
  tabIndex: g ? 0 : -1
17573
17575
  }, x, {
17574
17576
  children: [d === "top" || d === "start" ? /* @__PURE__ */ B(S.Fragment, {
17575
- children: [C, h]
17577
+ children: [F, h]
17576
17578
  }) : /* @__PURE__ */ B(S.Fragment, {
17577
- children: [h, C]
17579
+ children: [h, F]
17578
17580
  }), p]
17579
17581
  }));
17580
17582
  }, "Tab"));
@@ -18049,25 +18051,25 @@ const dp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
18049
18051
  onChange: g,
18050
18052
  orientation: y = "horizontal",
18051
18053
  ScrollButtonComponent: T = up,
18052
- scrollButtons: F = "auto",
18054
+ scrollButtons: C = "auto",
18053
18055
  selectionFollowsFocus: E,
18054
18056
  slots: x = {},
18055
18057
  slotProps: O = {},
18056
18058
  TabIndicatorProps: w = {},
18057
- TabScrollButtonProps: C = {},
18059
+ TabScrollButtonProps: F = {},
18058
18060
  textColor: L = "primary",
18059
18061
  value: R,
18060
- variant: k = "standard",
18062
+ variant: M = "standard",
18061
18063
  visibleScrollbar: $ = !1
18062
- } = n, N = G(n, YE), A = k === "scrollable", _ = y === "vertical", j = _ ? "scrollTop" : "scrollLeft", I = _ ? "top" : "left", V = _ ? "bottom" : "right", M = _ ? "clientHeight" : "clientWidth", H = _ ? "height" : "width", te = P({}, n, {
18064
+ } = n, N = G(n, YE), A = M === "scrollable", _ = y === "vertical", j = _ ? "scrollTop" : "scrollLeft", I = _ ? "top" : "left", V = _ ? "bottom" : "right", k = _ ? "clientHeight" : "clientWidth", H = _ ? "height" : "width", te = P({}, n, {
18063
18065
  component: m,
18064
18066
  allowScrollButtonsMobile: b,
18065
18067
  indicatorColor: v,
18066
18068
  orientation: y,
18067
18069
  vertical: _,
18068
- scrollButtons: F,
18070
+ scrollButtons: C,
18069
18071
  textColor: L,
18070
- variant: k,
18072
+ variant: M,
18071
18073
  visibleScrollbar: $,
18072
18074
  fixed: !A,
18073
18075
  hideScrollbar: A && !$,
@@ -18075,7 +18077,7 @@ const dp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
18075
18077
  scrollableY: A && _,
18076
18078
  centered: d && !A,
18077
18079
  scrollButtonsHideMobile: !b
18078
- }), ue = QE(te), le = kt({
18080
+ }), he = QE(te), ne = kt({
18079
18081
  elementType: x.StartScrollButtonIcon,
18080
18082
  externalSlotProps: O.startScrollButtonIcon,
18081
18083
  ownerState: te
@@ -18085,7 +18087,7 @@ const dp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
18085
18087
  ownerState: te
18086
18088
  });
18087
18089
  process.env.NODE_ENV !== "production" && d && A && console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties at the same time on a `Tabs` component.');
18088
- const [U, re] = S.useState(!1), [ae, Oe] = S.useState(Ec), [oe, ee] = S.useState(!1), [he, Q] = S.useState(!1), [z, X] = S.useState(!1), [D, ne] = S.useState({
18090
+ const [ae, U] = S.useState(!1), [oe, ve] = S.useState(Ec), [ie, ee] = S.useState(!1), [ue, Q] = S.useState(!1), [z, X] = S.useState(!1), [D, re] = S.useState({
18089
18091
  overflow: "hidden",
18090
18092
  scrollbarWidth: 0
18091
18093
  }), ke = /* @__PURE__ */ new Map(), Fe = S.useRef(null), fe = S.useRef(null), et = /* @__PURE__ */ o(() => {
@@ -18137,11 +18139,11 @@ const dp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
18137
18139
  // May be wrong until the font is loaded.
18138
18140
  [H]: Y ? Y[H] : 0
18139
18141
  };
18140
- if (isNaN(ae[de]) || isNaN(ae[H]))
18141
- Oe(Ie);
18142
+ if (isNaN(oe[de]) || isNaN(oe[H]))
18143
+ ve(Ie);
18142
18144
  else {
18143
- const Ke = Math.abs(ae[de] - Ie[de]), ft = Math.abs(ae[H] - Ie[H]);
18144
- (Ke >= 1 || ft >= 1) && Oe(Ie);
18145
+ const Ke = Math.abs(oe[de] - Ie[de]), ft = Math.abs(oe[H] - Ie[H]);
18146
+ (Ke >= 1 || ft >= 1) && ve(Ie);
18145
18147
  }
18146
18148
  }), ze = /* @__PURE__ */ o((W, {
18147
18149
  animation: Y = !0
@@ -18153,16 +18155,16 @@ const dp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
18153
18155
  let Y = Fe.current[j];
18154
18156
  _ ? Y += W : (Y += W * (l ? -1 : 1), Y *= l && sp() === "reverse" ? -1 : 1), ze(Y);
18155
18157
  }, "moveTabsScroll"), tt = /* @__PURE__ */ o(() => {
18156
- const W = Fe.current[M];
18158
+ const W = Fe.current[k];
18157
18159
  let Y = 0;
18158
18160
  const ce = Array.from(fe.current.children);
18159
18161
  for (let de = 0; de < ce.length; de += 1) {
18160
18162
  const Ie = ce[de];
18161
- if (Y + Ie[M] > W) {
18163
+ if (Y + Ie[k] > W) {
18162
18164
  de === 0 && (Y = W);
18163
18165
  break;
18164
18166
  }
18165
- Y += Ie[M];
18167
+ Y += Ie[k];
18166
18168
  }
18167
18169
  return Y;
18168
18170
  }, "getScrollSize"), Me = /* @__PURE__ */ o(() => {
@@ -18170,7 +18172,7 @@ const dp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
18170
18172
  }, "handleStartScrollClick"), rt = /* @__PURE__ */ o(() => {
18171
18173
  He(tt());
18172
18174
  }, "handleEndScrollClick"), Ct = S.useCallback((W) => {
18173
- ne({
18175
+ re({
18174
18176
  overflow: null,
18175
18177
  scrollbarWidth: W
18176
18178
  });
@@ -18178,22 +18180,22 @@ const dp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
18178
18180
  const W = {};
18179
18181
  W.scrollbarSizeListener = A ? /* @__PURE__ */ f(tP, {
18180
18182
  onChange: Ct,
18181
- className: K(ue.scrollableX, ue.hideScrollbar)
18183
+ className: K(he.scrollableX, he.hideScrollbar)
18182
18184
  }) : null;
18183
- const ce = A && (F === "auto" && (oe || he) || F === !0);
18185
+ const ce = A && (C === "auto" && (ie || ue) || C === !0);
18184
18186
  return W.scrollButtonStart = ce ? /* @__PURE__ */ f(T, P({
18185
18187
  slots: {
18186
18188
  StartScrollButtonIcon: x.StartScrollButtonIcon
18187
18189
  },
18188
18190
  slotProps: {
18189
- startScrollButtonIcon: le
18191
+ startScrollButtonIcon: ne
18190
18192
  },
18191
18193
  orientation: y,
18192
18194
  direction: l ? "right" : "left",
18193
18195
  onClick: Me,
18194
- disabled: !oe
18195
- }, C, {
18196
- className: K(ue.scrollButtons, C.className)
18196
+ disabled: !ie
18197
+ }, F, {
18198
+ className: K(he.scrollButtons, F.className)
18197
18199
  })) : null, W.scrollButtonEnd = ce ? /* @__PURE__ */ f(T, P({
18198
18200
  slots: {
18199
18201
  EndScrollButtonIcon: x.EndScrollButtonIcon
@@ -18204,9 +18206,9 @@ const dp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
18204
18206
  orientation: y,
18205
18207
  direction: l ? "left" : "right",
18206
18208
  onClick: rt,
18207
- disabled: !he
18208
- }, C, {
18209
- className: K(ue.scrollButtons, C.className)
18209
+ disabled: !ue
18210
+ }, F, {
18211
+ className: K(he.scrollButtons, F.className)
18210
18212
  })) : null, W;
18211
18213
  }, "getConditionalElements"), Xt = Bt((W) => {
18212
18214
  const {
@@ -18227,7 +18229,7 @@ const dp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
18227
18229
  }
18228
18230
  }
18229
18231
  }), Z = Bt(() => {
18230
- A && F !== !1 && X(!z);
18232
+ A && C !== !1 && X(!z);
18231
18233
  });
18232
18234
  S.useEffect(() => {
18233
18235
  const W = Zo(() => {
@@ -18257,7 +18259,7 @@ const dp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
18257
18259
  };
18258
18260
  }, [se, Z]), S.useEffect(() => {
18259
18261
  const W = Array.from(fe.current.children), Y = W.length;
18260
- if (typeof IntersectionObserver < "u" && Y > 0 && A && F !== !1) {
18262
+ if (typeof IntersectionObserver < "u" && Y > 0 && A && C !== !1) {
18261
18263
  const ce = W[0], de = W[Y - 1], Ie = {
18262
18264
  root: Fe.current,
18263
18265
  threshold: 0.99
@@ -18272,20 +18274,20 @@ const dp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
18272
18274
  ft.disconnect(), Ft.disconnect();
18273
18275
  };
18274
18276
  }
18275
- }, [A, F, z, p == null ? void 0 : p.length]), S.useEffect(() => {
18276
- re(!0);
18277
+ }, [A, C, z, p == null ? void 0 : p.length]), S.useEffect(() => {
18278
+ U(!0);
18277
18279
  }, []), S.useEffect(() => {
18278
18280
  se();
18279
18281
  }), S.useEffect(() => {
18280
- Xt(Ec !== ae);
18281
- }, [Xt, ae]), S.useImperativeHandle(u, () => ({
18282
+ Xt(Ec !== oe);
18283
+ }, [Xt, oe]), S.useImperativeHandle(u, () => ({
18282
18284
  updateIndicator: se,
18283
18285
  updateScrollButtons: Z
18284
18286
  }), [se, Z]);
18285
18287
  const Je = /* @__PURE__ */ f(eP, P({}, w, {
18286
- className: K(ue.indicator, w.className),
18288
+ className: K(he.indicator, w.className),
18287
18289
  ownerState: te,
18288
- style: P({}, ae, w.style)
18290
+ style: P({}, oe, w.style)
18289
18291
  }));
18290
18292
  let It = 0;
18291
18293
  const Dt = S.Children.map(p, (W) => {
@@ -18297,8 +18299,8 @@ const dp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
18297
18299
  ke.set(Y, It);
18298
18300
  const ce = Y === R;
18299
18301
  return It += 1, /* @__PURE__ */ S.cloneElement(W, P({
18300
- fullWidth: k === "fullWidth",
18301
- indicator: ce && !U && Je,
18302
+ fullWidth: M === "fullWidth",
18303
+ indicator: ce && !ae && Je,
18302
18304
  selected: ce,
18303
18305
  selectionFollowsFocus: E,
18304
18306
  onChange: g,
@@ -18307,7 +18309,7 @@ const dp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
18307
18309
  }, It === 1 && R === !1 && !W.props.tabIndex ? {
18308
18310
  tabIndex: 0
18309
18311
  } : {}));
18310
- }), fr = /* @__PURE__ */ o((W) => {
18312
+ }), mr = /* @__PURE__ */ o((W) => {
18311
18313
  const Y = fe.current, ce = Er(Y).activeElement;
18312
18314
  if (ce.getAttribute("role") !== "tab")
18313
18315
  return;
@@ -18328,13 +18330,13 @@ const dp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
18328
18330
  }
18329
18331
  }, "handleKeyDown"), Rr = At();
18330
18332
  return /* @__PURE__ */ B(XE, P({
18331
- className: K(ue.root, h),
18333
+ className: K(he.root, h),
18332
18334
  ownerState: te,
18333
18335
  ref: r,
18334
18336
  as: m
18335
18337
  }, N, {
18336
18338
  children: [Rr.scrollButtonStart, Rr.scrollbarSizeListener, /* @__PURE__ */ B(ZE, {
18337
- className: ue.scroller,
18339
+ className: he.scroller,
18338
18340
  ownerState: te,
18339
18341
  style: {
18340
18342
  overflow: D.overflow,
@@ -18345,13 +18347,13 @@ const dp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
18345
18347
  "aria-label": s,
18346
18348
  "aria-labelledby": c,
18347
18349
  "aria-orientation": y === "vertical" ? "vertical" : null,
18348
- className: ue.flexContainer,
18350
+ className: he.flexContainer,
18349
18351
  ownerState: te,
18350
- onKeyDown: fr,
18352
+ onKeyDown: mr,
18351
18353
  ref: fe,
18352
18354
  role: "tablist",
18353
18355
  children: Dt
18354
- }), U && Je]
18356
+ }), ae && Je]
18355
18357
  }), Rr.scrollButtonEnd]
18356
18358
  }));
18357
18359
  }, "Tabs"));
@@ -18535,7 +18537,7 @@ const OR = /* @__PURE__ */ o((e) => {
18535
18537
  /* @__PURE__ */ f(l, { ...s, ...i[c] })
18536
18538
  ] });
18537
18539
  }, "TabbedGrillaEtriek"), Cl = /* @__PURE__ */ o((e) => {
18538
- const { useFormulario: t = dr, ...r } = e;
18540
+ const { useFormulario: t = pr, ...r } = e;
18539
18541
  return { fichaProps: { ...t(r), etrs: r.etrs } };
18540
18542
  }, "useInitFicha"), rP = /* @__PURE__ */ o((e, t) => lu(e, { id: "-1" }, t), "useNuevo");
18541
18543
  var Fl = {}, oP = Le;
@@ -19361,45 +19363,45 @@ const PP = /^(\d+)(th|st|nd|rd)?/i, TP = /\d+/i, CP = {
19361
19363
  label: m
19362
19364
  } = c || {}, b = p === !0 ? mp : void 0, v = typeof h == "function" ? h : () => h, { [t]: g = {}, etrs: y } = i, {
19363
19365
  onFocus: T,
19364
- onChange: F,
19366
+ onChange: C,
19365
19367
  onBlur: E,
19366
19368
  hidden: x = !1,
19367
19369
  disabled: O = !1,
19368
19370
  validate: w,
19369
- ...C
19371
+ ...F
19370
19372
  } = e, { field: L } = nu(e), {
19371
19373
  onFocus: R,
19372
- onBlur: k,
19374
+ onBlur: M,
19373
19375
  onChange: $,
19374
19376
  hidden: N,
19375
19377
  disabled: A,
19376
- useContenido: _ = dr,
19378
+ useContenido: _ = pr,
19377
19379
  validate: j,
19378
19380
  ...I
19379
- } = g, V = s || N === void 0 ? x : N, M = s || A === void 0 ? O : A, H = s || R === void 0 ? T : R, te = s || k === void 0 ? E : k, ue = s || $ === void 0 ? F : $, le = Qt({ ...e, etrs: y, asisEtr: l }), Re = _({
19380
- ...C,
19381
+ } = g, V = s || N === void 0 ? x : N, k = s || A === void 0 ? O : A, H = s || R === void 0 ? T : R, te = s || M === void 0 ? E : M, he = s || $ === void 0 ? C : $, ne = Qt({ ...e, etrs: y, asisEtr: l }), Re = _({
19382
+ ...F,
19381
19383
  estado: r,
19382
19384
  hidden: V,
19383
19385
  isLoading: n,
19384
- utils: le,
19386
+ utils: ne,
19385
19387
  ...I
19386
- }), U = Un(L.value);
19388
+ }), ae = Un(L.value);
19387
19389
  if (at(() => {
19388
- (u || d || p || h || m) && L.onBlur(le, r);
19390
+ (u || d || p || h || m) && L.onBlur(ne, r);
19389
19391
  }, [p, u, d, h, m]), Re === void 0)
19390
19392
  throw new Error(
19391
19393
  `useContenido está devolviendo undefined para el contenido ${t}
19392
19394
  Asegúrese de incluir una instrucción return al final de la función`
19393
19395
  );
19394
19396
  const {
19395
- hidden: re,
19396
- disabled: ae,
19397
- onFocus: Oe,
19398
- onChange: oe,
19397
+ hidden: U,
19398
+ disabled: oe,
19399
+ onFocus: ve,
19400
+ onChange: ie,
19399
19401
  onBlur: ee,
19400
- validate: he,
19402
+ validate: ue,
19401
19403
  ...Q
19402
- } = Re, z = Oe || H, X = ee || te, D = oe || ue, ne = { ...le, prev: U.current }, ke = Array.isArray(w) ? w : [w], Fe = Array.isArray(j) ? j : [j], fe = Array.isArray(he) ? he : [he], et = [
19404
+ } = Re, z = ve || H, X = ee || te, D = ie || he, re = { ...ne, prev: ae.current }, ke = Array.isArray(w) ? w : [w], Fe = Array.isArray(j) ? j : [j], fe = Array.isArray(ue) ? ue : [ue], et = [
19403
19405
  ...ke,
19404
19406
  ...Fe,
19405
19407
  ...fe,
@@ -19410,19 +19412,19 @@ const PP = /^(\d+)(th|st|nd|rd)?/i, TP = /\d+/i, CP = {
19410
19412
  propsContenido: {
19411
19413
  sx: { mt: 1, mb: 1, ml: { xs: 0, md: 1 }, mr: { xs: 0, md: 1 } },
19412
19414
  onFocus: /* @__PURE__ */ o((se) => {
19413
- z && H(le, r, se), U.current = se.target.value;
19415
+ z && H(ne, r, se), ae.current = se.target.value;
19414
19416
  }, "onFocus"),
19415
- onBlur: /* @__PURE__ */ o((se) => X && X(ne, r, se), "onBlur"),
19416
- onChange: /* @__PURE__ */ o((se) => D && D(ne, r, se), "onChange"),
19417
+ onBlur: /* @__PURE__ */ o((se) => X && X(re, r, se), "onBlur"),
19418
+ onChange: /* @__PURE__ */ o((se) => D && D(re, r, se), "onChange"),
19417
19419
  helperText: !1,
19418
19420
  validate: et,
19419
- ...C,
19421
+ ...F,
19420
19422
  ...I,
19421
19423
  ...Q,
19422
- disabled: u !== void 0 ? u : ae !== void 0 ? ae : M,
19424
+ disabled: u !== void 0 ? u : oe !== void 0 ? oe : k,
19423
19425
  ...m ? { label: m } : {}
19424
19426
  },
19425
- hidden: d !== void 0 ? d : re !== void 0 ? re : V
19427
+ hidden: d !== void 0 ? d : U !== void 0 ? U : V
19426
19428
  };
19427
19429
  }, "useContenidoController"), hT = /* @__PURE__ */ o((e) => e.split("_")[1], "getFormcodFromResource"), gT = /^\d{2}\/\d{2}\/\d{4}$/, jn = /* @__PURE__ */ o((e) => {
19428
19430
  if (!(e instanceof Date) || isNaN(e.getDate())) return "";
@@ -19493,16 +19495,16 @@ const PP = /^(\d+)(th|st|nd|rd)?/i, TP = /\d+/i, CP = {
19493
19495
  onUnselectItems: g,
19494
19496
  onToggleItem: y,
19495
19497
  isLoading: T,
19496
- exporter: F,
19498
+ exporter: C,
19497
19499
  hideFilter: E,
19498
19500
  hasCreate: x,
19499
19501
  filterValues: O,
19500
19502
  displayedFilters: w,
19501
- sort: C,
19503
+ sort: F,
19502
19504
  ...L
19503
19505
  }) => L, "sanitizeRestProps$5"), FR = /* @__PURE__ */ o((e) => {
19504
19506
  const { hidden: t } = lt(e);
19505
- return !t && /* @__PURE__ */ f(lr, { variant: "h6", gutterBottom: !0, id: e.source, children: e.children });
19507
+ return !t && /* @__PURE__ */ f(sr, { variant: "h6", gutterBottom: !0, id: e.source, children: e.children });
19506
19508
  }, "Separador"), wR = /* @__PURE__ */ o(({
19507
19509
  children: e,
19508
19510
  className: t,
@@ -19582,7 +19584,7 @@ hp = wl.default = (0, xT.default)(/* @__PURE__ */ (0, ST.jsx)("path", {
19582
19584
  const gp = /* @__PURE__ */ o((e) => {
19583
19585
  const t = Ze(), { defaultTitle: r, onClose: n, record: i, title: l } = e;
19584
19586
  return /* @__PURE__ */ B(ET, { id: "edit-dialog-title", children: [
19585
- br(l) ? Jt(l, { record: i }) : l ? t(l, { _: l }) : r,
19587
+ vr(l) ? Jt(l, { record: i }) : l ? t(l, { _: l }) : r,
19586
19588
  /* @__PURE__ */ f(
19587
19589
  Rn,
19588
19590
  {
@@ -19802,7 +19804,7 @@ const Sp = /* @__PURE__ */ o((e) => {
19802
19804
  return typeof t == "function" ? c : void 0;
19803
19805
  }, "useFormSubmit"), $T = /* @__PURE__ */ o((e) => {
19804
19806
  const {
19805
- useFormulario: t = dr,
19807
+ useFormulario: t = pr,
19806
19808
  enableLoad: r = !0,
19807
19809
  tipo: n,
19808
19810
  ...i
@@ -20130,16 +20132,16 @@ const HT = {
20130
20132
  timeout: g = "auto",
20131
20133
  // eslint-disable-next-line react/prop-types
20132
20134
  TransitionComponent: y = Lt
20133
- } = t, T = G(t, zT), F = jr(), E = S.useRef(), x = wr(), O = S.useRef(null), w = xt(O, l.ref, r), C = /* @__PURE__ */ o((j) => (I) => {
20135
+ } = t, T = G(t, zT), C = jr(), E = S.useRef(), x = wr(), O = S.useRef(null), w = xt(O, l.ref, r), F = /* @__PURE__ */ o((j) => (I) => {
20134
20136
  if (j) {
20135
20137
  const V = O.current;
20136
20138
  I === void 0 ? j(V) : j(V, I);
20137
20139
  }
20138
- }, "normalizedTransitionCallback"), L = C(p), R = C((j, I) => {
20140
+ }, "normalizedTransitionCallback"), L = F(p), R = F((j, I) => {
20139
20141
  ll(j);
20140
20142
  const {
20141
20143
  duration: V,
20142
- delay: M,
20144
+ delay: k,
20143
20145
  easing: H
20144
20146
  } = Zr({
20145
20147
  style: v,
@@ -20151,17 +20153,17 @@ const HT = {
20151
20153
  let te;
20152
20154
  g === "auto" ? (te = x.transitions.getAutoHeightDuration(j.clientHeight), E.current = te) : te = V, j.style.transition = [x.transitions.create("opacity", {
20153
20155
  duration: te,
20154
- delay: M
20156
+ delay: k
20155
20157
  }), x.transitions.create("transform", {
20156
20158
  duration: Wa ? te : te * 0.666,
20157
- delay: M,
20159
+ delay: k,
20158
20160
  easing: H
20159
20161
  })].join(","), u && u(j, I);
20160
- }), k = C(d), $ = C(b), N = C((j) => {
20162
+ }), M = F(d), $ = F(b), N = F((j) => {
20161
20163
  const {
20162
20164
  duration: I,
20163
20165
  delay: V,
20164
- easing: M
20166
+ easing: k
20165
20167
  } = Zr({
20166
20168
  style: v,
20167
20169
  timeout: g,
@@ -20176,21 +20178,21 @@ const HT = {
20176
20178
  }), x.transitions.create("transform", {
20177
20179
  duration: Wa ? H : H * 0.666,
20178
20180
  delay: Wa ? V : V || H * 0.333,
20179
- easing: M
20181
+ easing: k
20180
20182
  })].join(","), j.style.opacity = 0, j.style.transform = pi(0.75), h && h(j);
20181
- }), A = C(m);
20183
+ }), A = F(m);
20182
20184
  return /* @__PURE__ */ f(y, P({
20183
20185
  appear: i,
20184
20186
  in: c,
20185
20187
  nodeRef: O,
20186
20188
  onEnter: R,
20187
- onEntered: k,
20189
+ onEntered: M,
20188
20190
  onEntering: L,
20189
20191
  onExit: N,
20190
20192
  onExited: A,
20191
20193
  onExiting: $,
20192
20194
  addEndListener: /* @__PURE__ */ o((j) => {
20193
- g === "auto" && F.start(E.current || 0, j), n && n(O.current, j);
20195
+ g === "auto" && C.start(E.current || 0, j), n && n(O.current, j);
20194
20196
  }, "handleAddEndListener"),
20195
20197
  timeout: g === "auto" ? null : g
20196
20198
  }, T, {
@@ -20363,7 +20365,7 @@ function Ut(e) {
20363
20365
  return e.split("-")[0];
20364
20366
  }
20365
20367
  o(Ut, "getBasePlacement");
20366
- var vr = Math.max, Vn = Math.min, to = Math.round;
20368
+ var yr = Math.max, Vn = Math.min, to = Math.round;
20367
20369
  function fi() {
20368
20370
  var e = navigator.userAgentData;
20369
20371
  return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
@@ -20425,13 +20427,13 @@ function aC(e) {
20425
20427
  return ["table", "td", "th"].indexOf(qt(e)) >= 0;
20426
20428
  }
20427
20429
  o(aC, "isTableElement");
20428
- function pr(e) {
20430
+ function fr(e) {
20429
20431
  return ((Cr(e) ? e.ownerDocument : (
20430
20432
  // $FlowFixMe[prop-missing]
20431
20433
  e.document
20432
20434
  )) || window.document).documentElement;
20433
20435
  }
20434
- o(pr, "getDocumentElement");
20436
+ o(fr, "getDocumentElement");
20435
20437
  function Ea(e) {
20436
20438
  return qt(e) === "html" ? e : (
20437
20439
  // this is a quicker (but less type safe) way to save quite some bytes from the bundle
@@ -20441,7 +20443,7 @@ function Ea(e) {
20441
20443
  e.parentNode || // DOM Element detected
20442
20444
  ($l(e) ? e.host : null) || // ShadowRoot detected
20443
20445
  // $FlowFixMe[incompatible-call]: HTMLElement is a Node
20444
- pr(e)
20446
+ fr(e)
20445
20447
  );
20446
20448
  }
20447
20449
  o(Ea, "getParentNode");
@@ -20478,7 +20480,7 @@ function Al(e) {
20478
20480
  }
20479
20481
  o(Al, "getMainAxisFromPlacement");
20480
20482
  function Fo(e, t, r) {
20481
- return vr(e, Vn(t, r));
20483
+ return yr(e, Vn(t, r));
20482
20484
  }
20483
20485
  o(Fo, "within");
20484
20486
  function lC(e, t, r) {
@@ -20513,8 +20515,8 @@ var sC = /* @__PURE__ */ o(function(t, r) {
20513
20515
  function cC(e) {
20514
20516
  var t, r = e.state, n = e.name, i = e.options, l = r.elements.arrow, s = r.modifiersData.popperOffsets, c = Ut(r.placement), u = Al(c), d = [nt, Et].indexOf(c) >= 0, p = d ? "height" : "width";
20515
20517
  if (!(!l || !s)) {
20516
- var h = sC(i.padding, r), m = Ll(l), b = u === "y" ? ot : nt, v = u === "y" ? St : Et, g = r.rects.reference[p] + r.rects.reference[u] - s[u] - r.rects.popper[p], y = s[u] - r.rects.reference[u], T = sn(l), F = T ? u === "y" ? T.clientHeight || 0 : T.clientWidth || 0 : 0, E = g / 2 - y / 2, x = h[b], O = F - m[p] - h[v], w = F / 2 - m[p] / 2 + E, C = Fo(x, w, O), L = u;
20517
- r.modifiersData[n] = (t = {}, t[L] = C, t.centerOffset = C - w, t);
20518
+ var h = sC(i.padding, r), m = Ll(l), b = u === "y" ? ot : nt, v = u === "y" ? St : Et, g = r.rects.reference[p] + r.rects.reference[u] - s[u] - r.rects.popper[p], y = s[u] - r.rects.reference[u], T = sn(l), C = T ? u === "y" ? T.clientHeight || 0 : T.clientWidth || 0 : 0, E = g / 2 - y / 2, x = h[b], O = C - m[p] - h[v], w = C / 2 - m[p] / 2 + E, F = Fo(x, w, O), L = u;
20519
+ r.modifiersData[n] = (t = {}, t[L] = F, t.centerOffset = F - w, t);
20518
20520
  }
20519
20521
  }
20520
20522
  o(cC, "arrow");
@@ -20559,24 +20561,24 @@ function Rc(e) {
20559
20561
  y: g
20560
20562
  };
20561
20563
  b = y.x, g = y.y;
20562
- var T = s.hasOwnProperty("x"), F = s.hasOwnProperty("y"), E = nt, x = ot, O = window;
20564
+ var T = s.hasOwnProperty("x"), C = s.hasOwnProperty("y"), E = nt, x = ot, O = window;
20563
20565
  if (d) {
20564
- var w = sn(r), C = "clientHeight", L = "clientWidth";
20565
- if (w === pt(r) && (w = pr(r), er(w).position !== "static" && c === "absolute" && (C = "scrollHeight", L = "scrollWidth")), w = w, i === ot || (i === nt || i === Et) && l === zo) {
20566
+ var w = sn(r), F = "clientHeight", L = "clientWidth";
20567
+ if (w === pt(r) && (w = fr(r), er(w).position !== "static" && c === "absolute" && (F = "scrollHeight", L = "scrollWidth")), w = w, i === ot || (i === nt || i === Et) && l === zo) {
20566
20568
  x = St;
20567
20569
  var R = h && w === O && O.visualViewport ? O.visualViewport.height : (
20568
20570
  // $FlowFixMe[prop-missing]
20569
- w[C]
20571
+ w[F]
20570
20572
  );
20571
20573
  g -= R - n.height, g *= u ? 1 : -1;
20572
20574
  }
20573
20575
  if (i === nt || (i === ot || i === St) && l === zo) {
20574
20576
  E = Et;
20575
- var k = h && w === O && O.visualViewport ? O.visualViewport.width : (
20577
+ var M = h && w === O && O.visualViewport ? O.visualViewport.width : (
20576
20578
  // $FlowFixMe[prop-missing]
20577
20579
  w[L]
20578
20580
  );
20579
- b -= k - n.width, b *= u ? 1 : -1;
20581
+ b -= M - n.width, b *= u ? 1 : -1;
20580
20582
  }
20581
20583
  }
20582
20584
  var $ = Object.assign({
@@ -20590,9 +20592,9 @@ function Rc(e) {
20590
20592
  };
20591
20593
  if (b = N.x, g = N.y, u) {
20592
20594
  var A;
20593
- return Object.assign({}, $, (A = {}, A[x] = F ? "0" : "", A[E] = T ? "0" : "", A.transform = (O.devicePixelRatio || 1) <= 1 ? "translate(" + b + "px, " + g + "px)" : "translate3d(" + b + "px, " + g + "px, 0)", A));
20595
+ return Object.assign({}, $, (A = {}, A[x] = C ? "0" : "", A[E] = T ? "0" : "", A.transform = (O.devicePixelRatio || 1) <= 1 ? "translate(" + b + "px, " + g + "px)" : "translate3d(" + b + "px, " + g + "px, 0)", A));
20594
20596
  }
20595
- return Object.assign({}, $, (t = {}, t[x] = F ? g + "px" : "", t[E] = T ? b + "px" : "", t.transform = "", t));
20597
+ return Object.assign({}, $, (t = {}, t[x] = C ? g + "px" : "", t[E] = T ? b + "px" : "", t.transform = "", t));
20596
20598
  }
20597
20599
  o(Rc, "mapToStyles");
20598
20600
  function mC(e) {
@@ -20680,11 +20682,11 @@ function Il(e) {
20680
20682
  }
20681
20683
  o(Il, "getWindowScroll");
20682
20684
  function Dl(e) {
20683
- return ro(pr(e)).left + Il(e).scrollLeft;
20685
+ return ro(fr(e)).left + Il(e).scrollLeft;
20684
20686
  }
20685
20687
  o(Dl, "getWindowScrollBarX");
20686
20688
  function OC(e, t) {
20687
- var r = pt(e), n = pr(e), i = r.visualViewport, l = n.clientWidth, s = n.clientHeight, c = 0, u = 0;
20689
+ var r = pt(e), n = fr(e), i = r.visualViewport, l = n.clientWidth, s = n.clientHeight, c = 0, u = 0;
20688
20690
  if (i) {
20689
20691
  l = i.width, s = i.height;
20690
20692
  var d = Cp();
@@ -20699,8 +20701,8 @@ function OC(e, t) {
20699
20701
  }
20700
20702
  o(OC, "getViewportRect");
20701
20703
  function xC(e) {
20702
- var t, r = pr(e), n = Il(e), i = (t = e.ownerDocument) == null ? void 0 : t.body, l = vr(r.scrollWidth, r.clientWidth, i ? i.scrollWidth : 0, i ? i.clientWidth : 0), s = vr(r.scrollHeight, r.clientHeight, i ? i.scrollHeight : 0, i ? i.clientHeight : 0), c = -n.scrollLeft + Dl(e), u = -n.scrollTop;
20703
- return er(i || r).direction === "rtl" && (c += vr(r.clientWidth, i ? i.clientWidth : 0) - l), {
20704
+ var t, r = fr(e), n = Il(e), i = (t = e.ownerDocument) == null ? void 0 : t.body, l = yr(r.scrollWidth, r.clientWidth, i ? i.scrollWidth : 0, i ? i.clientWidth : 0), s = yr(r.scrollHeight, r.clientHeight, i ? i.scrollHeight : 0, i ? i.clientHeight : 0), c = -n.scrollLeft + Dl(e), u = -n.scrollTop;
20705
+ return er(i || r).direction === "rtl" && (c += yr(r.clientWidth, i ? i.clientWidth : 0) - l), {
20704
20706
  width: l,
20705
20707
  height: s,
20706
20708
  x: c,
@@ -20742,7 +20744,7 @@ function SC(e, t) {
20742
20744
  }
20743
20745
  o(SC, "getInnerBoundingClientRect");
20744
20746
  function Mc(e, t, r) {
20745
- return t === Pp ? mi(OC(e, r)) : Cr(t) ? SC(t, r) : mi(xC(pr(e)));
20747
+ return t === Pp ? mi(OC(e, r)) : Cr(t) ? SC(t, r) : mi(xC(fr(e)));
20746
20748
  }
20747
20749
  o(Mc, "getClientRectFromMixedType");
20748
20750
  function EC(e) {
@@ -20755,7 +20757,7 @@ o(EC, "getClippingParents");
20755
20757
  function PC(e, t, r, n) {
20756
20758
  var i = t === "clippingParents" ? EC(e) : [].concat(t), l = [].concat(i, [r]), s = l[0], c = l.reduce(function(u, d) {
20757
20759
  var p = Mc(e, d, n);
20758
- return u.top = vr(p.top, u.top), u.right = Vn(p.right, u.right), u.bottom = Vn(p.bottom, u.bottom), u.left = vr(p.left, u.left), u;
20760
+ return u.top = yr(p.top, u.top), u.right = Vn(p.right, u.right), u.bottom = Vn(p.bottom, u.bottom), u.left = yr(p.left, u.left), u;
20759
20761
  }, Mc(e, s, n));
20760
20762
  return c.width = c.right - c.left, c.height = c.bottom - c.top, c.x = c.left, c.y = c.top, c;
20761
20763
  }
@@ -20810,12 +20812,12 @@ function $p(e) {
20810
20812
  o($p, "computeOffsets");
20811
20813
  function Ho(e, t) {
20812
20814
  t === void 0 && (t = {});
20813
- var r = t, n = r.placement, i = n === void 0 ? e.placement : n, l = r.strategy, s = l === void 0 ? e.strategy : l, c = r.boundary, u = c === void 0 ? WT : c, d = r.rootBoundary, p = d === void 0 ? Pp : d, h = r.elementContext, m = h === void 0 ? Oo : h, b = r.altBoundary, v = b === void 0 ? !1 : b, g = r.padding, y = g === void 0 ? 0 : g, T = Rp(typeof y != "number" ? y : kp(y, ln)), F = m === Oo ? UT : Oo, E = e.rects.popper, x = e.elements[v ? F : m], O = PC(Cr(x) ? x : x.contextElement || pr(e.elements.popper), u, p, s), w = ro(e.elements.reference), C = $p({
20815
+ var r = t, n = r.placement, i = n === void 0 ? e.placement : n, l = r.strategy, s = l === void 0 ? e.strategy : l, c = r.boundary, u = c === void 0 ? WT : c, d = r.rootBoundary, p = d === void 0 ? Pp : d, h = r.elementContext, m = h === void 0 ? Oo : h, b = r.altBoundary, v = b === void 0 ? !1 : b, g = r.padding, y = g === void 0 ? 0 : g, T = Rp(typeof y != "number" ? y : kp(y, ln)), C = m === Oo ? UT : Oo, E = e.rects.popper, x = e.elements[v ? C : m], O = PC(Cr(x) ? x : x.contextElement || fr(e.elements.popper), u, p, s), w = ro(e.elements.reference), F = $p({
20814
20816
  reference: w,
20815
20817
  element: E,
20816
20818
  strategy: "absolute",
20817
20819
  placement: i
20818
- }), L = mi(Object.assign({}, E, C)), R = m === Oo ? L : w, k = {
20820
+ }), L = mi(Object.assign({}, E, F)), R = m === Oo ? L : w, M = {
20819
20821
  top: O.top - R.top + T.top,
20820
20822
  bottom: R.bottom - O.bottom + T.bottom,
20821
20823
  left: O.left - R.left + T.left,
@@ -20823,12 +20825,12 @@ function Ho(e, t) {
20823
20825
  }, $ = e.modifiersData.offset;
20824
20826
  if (m === Oo && $) {
20825
20827
  var N = $[i];
20826
- Object.keys(k).forEach(function(A) {
20828
+ Object.keys(M).forEach(function(A) {
20827
20829
  var _ = [Et, St].indexOf(A) >= 0 ? 1 : -1, j = [ot, St].indexOf(A) >= 0 ? "y" : "x";
20828
- k[A] += N[j] * _;
20830
+ M[A] += N[j] * _;
20829
20831
  });
20830
20832
  }
20831
- return k;
20833
+ return M;
20832
20834
  }
20833
20835
  o(Ho, "detectOverflow");
20834
20836
  function TC(e, t) {
@@ -20862,17 +20864,17 @@ o(CC, "getExpandedFallbackPlacements");
20862
20864
  function FC(e) {
20863
20865
  var t = e.state, r = e.options, n = e.name;
20864
20866
  if (!t.modifiersData[n]._skip) {
20865
- 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, b = r.flipVariations, v = b === void 0 ? !0 : b, g = r.allowedAutoPlacements, y = t.options.placement, T = Ut(y), F = T === y, E = u || (F || !v ? [Fn(y)] : CC(y)), x = [y].concat(E).reduce(function(U, re) {
20866
- return U.concat(Ut(re) === Ml ? TC(t, {
20867
- placement: re,
20867
+ 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, b = r.flipVariations, v = b === void 0 ? !0 : b, g = r.allowedAutoPlacements, y = t.options.placement, T = Ut(y), C = T === y, E = u || (C || !v ? [Fn(y)] : CC(y)), x = [y].concat(E).reduce(function(ae, U) {
20868
+ return ae.concat(Ut(U) === Ml ? TC(t, {
20869
+ placement: U,
20868
20870
  boundary: p,
20869
20871
  rootBoundary: h,
20870
20872
  padding: d,
20871
20873
  flipVariations: v,
20872
20874
  allowedAutoPlacements: g
20873
- }) : re);
20874
- }, []), O = t.rects.reference, w = t.rects.popper, C = /* @__PURE__ */ new Map(), L = !0, R = x[0], k = 0; k < x.length; k++) {
20875
- var $ = x[k], N = Ut($), A = oo($) === eo, _ = [ot, St].indexOf(N) >= 0, j = _ ? "width" : "height", I = Ho(t, {
20875
+ }) : U);
20876
+ }, []), O = t.rects.reference, w = t.rects.popper, F = /* @__PURE__ */ new Map(), L = !0, R = x[0], M = 0; M < x.length; M++) {
20877
+ var $ = x[M], N = Ut($), A = oo($) === eo, _ = [ot, St].indexOf(N) >= 0, j = _ ? "width" : "height", I = Ho(t, {
20876
20878
  placement: $,
20877
20879
  boundary: p,
20878
20880
  rootBoundary: h,
@@ -20880,28 +20882,28 @@ function FC(e) {
20880
20882
  padding: d
20881
20883
  }), V = _ ? A ? Et : nt : A ? St : ot;
20882
20884
  O[j] > w[j] && (V = Fn(V));
20883
- var M = Fn(V), H = [];
20884
- if (l && H.push(I[N] <= 0), c && H.push(I[V] <= 0, I[M] <= 0), H.every(function(U) {
20885
- return U;
20885
+ var k = Fn(V), H = [];
20886
+ if (l && H.push(I[N] <= 0), c && H.push(I[V] <= 0, I[k] <= 0), H.every(function(ae) {
20887
+ return ae;
20886
20888
  })) {
20887
20889
  R = $, L = !1;
20888
20890
  break;
20889
20891
  }
20890
- C.set($, H);
20892
+ F.set($, H);
20891
20893
  }
20892
20894
  if (L)
20893
- for (var te = v ? 3 : 1, ue = /* @__PURE__ */ o(function(re) {
20894
- var ae = x.find(function(Oe) {
20895
- var oe = C.get(Oe);
20896
- if (oe)
20897
- return oe.slice(0, re).every(function(ee) {
20895
+ for (var te = v ? 3 : 1, he = /* @__PURE__ */ o(function(U) {
20896
+ var oe = x.find(function(ve) {
20897
+ var ie = F.get(ve);
20898
+ if (ie)
20899
+ return ie.slice(0, U).every(function(ee) {
20898
20900
  return ee;
20899
20901
  });
20900
20902
  });
20901
- if (ae)
20902
- return R = ae, "break";
20903
- }, "_loop"), le = te; le > 0; le--) {
20904
- var Re = ue(le);
20903
+ if (oe)
20904
+ return R = oe, "break";
20905
+ }, "_loop"), ne = te; ne > 0; ne--) {
20906
+ var Re = he(ne);
20905
20907
  if (Re === "break") break;
20906
20908
  }
20907
20909
  t.placement !== R && (t.modifiersData[n]._skip = !0, t.placement = R, t.reset = !0);
@@ -21014,9 +21016,9 @@ function NC(e) {
21014
21016
  rootBoundary: d,
21015
21017
  padding: h,
21016
21018
  altBoundary: p
21017
- }), T = Ut(t.placement), F = oo(t.placement), E = !F, x = Al(T), O = DC(x), w = t.modifiersData.popperOffsets, C = t.rects.reference, L = t.rects.popper, R = typeof g == "function" ? g(Object.assign({}, t.rects, {
21019
+ }), T = Ut(t.placement), C = oo(t.placement), E = !C, x = Al(T), O = DC(x), w = t.modifiersData.popperOffsets, F = t.rects.reference, L = t.rects.popper, R = typeof g == "function" ? g(Object.assign({}, t.rects, {
21018
21020
  placement: t.placement
21019
- })) : g, k = typeof R == "number" ? {
21021
+ })) : g, M = typeof R == "number" ? {
21020
21022
  mainAxis: R,
21021
21023
  altAxis: R
21022
21024
  } : Object.assign({
@@ -21028,14 +21030,14 @@ function NC(e) {
21028
21030
  };
21029
21031
  if (w) {
21030
21032
  if (l) {
21031
- var A, _ = x === "y" ? ot : nt, j = x === "y" ? St : Et, I = x === "y" ? "height" : "width", V = w[x], M = V + y[_], H = V - y[j], te = b ? -L[I] / 2 : 0, ue = F === eo ? C[I] : L[I], le = F === eo ? -L[I] : -C[I], Re = t.elements.arrow, U = b && Re ? Ll(Re) : {
21033
+ var A, _ = x === "y" ? ot : nt, j = x === "y" ? St : Et, I = x === "y" ? "height" : "width", V = w[x], k = V + y[_], H = V - y[j], te = b ? -L[I] / 2 : 0, he = C === eo ? F[I] : L[I], ne = C === eo ? -L[I] : -F[I], Re = t.elements.arrow, ae = b && Re ? Ll(Re) : {
21032
21034
  width: 0,
21033
21035
  height: 0
21034
- }, re = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : wp(), ae = re[_], Oe = re[j], oe = Fo(0, C[I], U[I]), ee = E ? C[I] / 2 - te - oe - ae - k.mainAxis : ue - oe - ae - k.mainAxis, he = E ? -C[I] / 2 + te + oe + Oe + k.mainAxis : le + oe + Oe + k.mainAxis, Q = t.elements.arrow && sn(t.elements.arrow), z = Q ? x === "y" ? Q.clientTop || 0 : Q.clientLeft || 0 : 0, X = (A = $ == null ? void 0 : $[x]) != null ? A : 0, D = V + ee - X - z, ne = V + he - X, ke = Fo(b ? Vn(M, D) : M, V, b ? vr(H, ne) : H);
21036
+ }, U = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : wp(), oe = U[_], ve = U[j], ie = Fo(0, F[I], ae[I]), ee = E ? F[I] / 2 - te - ie - oe - M.mainAxis : he - ie - oe - M.mainAxis, ue = E ? -F[I] / 2 + te + ie + ve + M.mainAxis : ne + ie + ve + M.mainAxis, Q = t.elements.arrow && sn(t.elements.arrow), z = Q ? x === "y" ? Q.clientTop || 0 : Q.clientLeft || 0 : 0, X = (A = $ == null ? void 0 : $[x]) != null ? A : 0, D = V + ee - X - z, re = V + ue - X, ke = Fo(b ? Vn(k, D) : k, V, b ? yr(H, re) : H);
21035
21037
  w[x] = ke, N[x] = ke - V;
21036
21038
  }
21037
21039
  if (c) {
21038
- var Fe, fe = x === "x" ? ot : nt, et = x === "x" ? St : Et, se = w[O], ze = O === "y" ? "height" : "width", He = se + y[fe], tt = se - y[et], Me = [ot, nt].indexOf(T) !== -1, rt = (Fe = $ == null ? void 0 : $[O]) != null ? Fe : 0, Ct = Me ? He : se - C[ze] - L[ze] - rt + k.altAxis, At = Me ? se + C[ze] + L[ze] - rt - k.altAxis : tt, Xt = b && Me ? lC(Ct, se, At) : Fo(b ? Ct : He, se, b ? At : tt);
21040
+ var Fe, fe = x === "x" ? ot : nt, et = x === "x" ? St : Et, se = w[O], ze = O === "y" ? "height" : "width", He = se + y[fe], tt = se - y[et], Me = [ot, nt].indexOf(T) !== -1, rt = (Fe = $ == null ? void 0 : $[O]) != null ? Fe : 0, Ct = Me ? He : se - F[ze] - L[ze] - rt + M.altAxis, At = Me ? se + F[ze] + L[ze] - rt - M.altAxis : tt, Xt = b && Me ? lC(Ct, se, At) : Fo(b ? Ct : He, se, b ? At : tt);
21039
21041
  w[O] = Xt, N[O] = Xt - se;
21040
21042
  }
21041
21043
  t.modifiersData[n] = N;
@@ -21067,7 +21069,7 @@ function BC(e) {
21067
21069
  o(BC, "isElementScaled");
21068
21070
  function zC(e, t, r) {
21069
21071
  r === void 0 && (r = !1);
21070
- var n = yt(t), i = yt(t) && BC(t), l = pr(t), s = ro(e, i, r), c = {
21072
+ var n = yt(t), i = yt(t) && BC(t), l = fr(t), s = ro(e, i, r), c = {
21071
21073
  scrollLeft: 0,
21072
21074
  scrollTop: 0
21073
21075
  }, u = {
@@ -21168,8 +21170,8 @@ function qC(e) {
21168
21170
  }, h = [], m = !1, b = {
21169
21171
  state: p,
21170
21172
  setOptions: /* @__PURE__ */ o(function(T) {
21171
- var F = typeof T == "function" ? T(p.options) : T;
21172
- g(), p.options = Object.assign({}, l, p.options, F), p.scrollParents = {
21173
+ var C = typeof T == "function" ? T(p.options) : T;
21174
+ g(), p.options = Object.assign({}, l, p.options, C), p.scrollParents = {
21173
21175
  reference: Cr(c) ? wo(c) : c.contextElement ? wo(c.contextElement) : [],
21174
21176
  popper: wo(u)
21175
21177
  };
@@ -21185,20 +21187,20 @@ function qC(e) {
21185
21187
  // prefer the async Popper#update method
21186
21188
  forceUpdate: /* @__PURE__ */ o(function() {
21187
21189
  if (!m) {
21188
- var T = p.elements, F = T.reference, E = T.popper;
21189
- if (Ic(F, E)) {
21190
+ var T = p.elements, C = T.reference, E = T.popper;
21191
+ if (Ic(C, E)) {
21190
21192
  p.rects = {
21191
- reference: zC(F, sn(E), p.options.strategy === "fixed"),
21193
+ reference: zC(C, sn(E), p.options.strategy === "fixed"),
21192
21194
  popper: Ll(E)
21193
- }, p.reset = !1, p.placement = p.options.placement, p.orderedModifiers.forEach(function(k) {
21194
- return p.modifiersData[k.name] = Object.assign({}, k.data);
21195
+ }, p.reset = !1, p.placement = p.options.placement, p.orderedModifiers.forEach(function(M) {
21196
+ return p.modifiersData[M.name] = Object.assign({}, M.data);
21195
21197
  });
21196
21198
  for (var x = 0; x < p.orderedModifiers.length; x++) {
21197
21199
  if (p.reset === !0) {
21198
21200
  p.reset = !1, x = -1;
21199
21201
  continue;
21200
21202
  }
21201
- var O = p.orderedModifiers[x], w = O.fn, C = O.options, L = C === void 0 ? {} : C, R = O.name;
21203
+ var O = p.orderedModifiers[x], w = O.fn, F = O.options, L = F === void 0 ? {} : F, R = O.name;
21202
21204
  typeof w == "function" && (p = w({
21203
21205
  state: p,
21204
21206
  options: L,
@@ -21227,7 +21229,7 @@ function qC(e) {
21227
21229
  });
21228
21230
  function v() {
21229
21231
  p.orderedModifiers.forEach(function(y) {
21230
- var T = y.name, F = y.options, E = F === void 0 ? {} : F, x = y.effect;
21232
+ var T = y.name, C = y.options, E = C === void 0 ? {} : C, x = y.effect;
21231
21233
  if (typeof x == "function") {
21232
21234
  var O = x({
21233
21235
  state: p,
@@ -21329,24 +21331,24 @@ const n1 = /* @__PURE__ */ o(() => zm({
21329
21331
  TransitionProps: g
21330
21332
  // @ts-ignore internal logic
21331
21333
  // prevent from spreading to DOM, it can come from the parent component e.g. Select.
21332
- } = t, y = G(t, e1), T = S.useRef(null), F = qr(T, r), E = S.useRef(null), x = qr(E, m), O = S.useRef(x);
21334
+ } = t, y = G(t, e1), T = S.useRef(null), C = qr(T, r), E = S.useRef(null), x = qr(E, m), O = S.useRef(x);
21333
21335
  Mo(() => {
21334
21336
  O.current = x;
21335
21337
  }, [x]), S.useImperativeHandle(m, () => E.current, []);
21336
- const w = r1(p, s), [C, L] = S.useState(w), [R, k] = S.useState(Bn(i));
21338
+ const w = r1(p, s), [F, L] = S.useState(w), [R, M] = S.useState(Bn(i));
21337
21339
  S.useEffect(() => {
21338
21340
  E.current && E.current.forceUpdate();
21339
21341
  }), S.useEffect(() => {
21340
- i && k(Bn(i));
21342
+ i && M(Bn(i));
21341
21343
  }, [i]), Mo(() => {
21342
21344
  if (!R || !d)
21343
21345
  return;
21344
- const j = /* @__PURE__ */ o((M) => {
21345
- L(M.placement);
21346
+ const j = /* @__PURE__ */ o((k) => {
21347
+ L(k.placement);
21346
21348
  }, "handlePopperUpdate");
21347
21349
  if (process.env.NODE_ENV !== "production" && R && Pa(R) && R.nodeType === 1) {
21348
- const M = R.getBoundingClientRect();
21349
- 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(`
21350
+ const k = R.getBoundingClientRect();
21351
+ process.env.NODE_ENV !== "test" && k.top === 0 && k.left === 0 && k.right === 0 && k.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(`
21350
21352
  `));
21351
21353
  }
21352
21354
  let I = [{
@@ -21364,9 +21366,9 @@ const n1 = /* @__PURE__ */ o(() => zm({
21364
21366
  enabled: !0,
21365
21367
  phase: "afterWrite",
21366
21368
  fn: /* @__PURE__ */ o(({
21367
- state: M
21369
+ state: k
21368
21370
  }) => {
21369
- j(M);
21371
+ j(k);
21370
21372
  }, "fn")
21371
21373
  }];
21372
21374
  u != null && (I = I.concat(u)), h && h.modifiers != null && (I = I.concat(h.modifiers));
@@ -21380,7 +21382,7 @@ const n1 = /* @__PURE__ */ o(() => zm({
21380
21382
  };
21381
21383
  }, [R, c, u, d, h, w]);
21382
21384
  const $ = {
21383
- placement: C
21385
+ placement: F
21384
21386
  };
21385
21387
  g !== null && ($.TransitionProps = g);
21386
21388
  const N = n1(), A = (n = v.root) != null ? n : "div", _ = kt({
@@ -21389,7 +21391,7 @@ const n1 = /* @__PURE__ */ o(() => zm({
21389
21391
  externalForwardedProps: y,
21390
21392
  additionalProps: {
21391
21393
  role: "tooltip",
21392
- ref: F
21394
+ ref: C
21393
21395
  },
21394
21396
  ownerState: t,
21395
21397
  className: N.root
@@ -21414,19 +21416,19 @@ const n1 = /* @__PURE__ */ o(() => zm({
21414
21416
  transition: g = !1,
21415
21417
  slotProps: y = {},
21416
21418
  slots: T = {}
21417
- } = t, F = G(t, t1), [E, x] = S.useState(!0), O = /* @__PURE__ */ o(() => {
21419
+ } = t, C = G(t, t1), [E, x] = S.useState(!0), O = /* @__PURE__ */ o(() => {
21418
21420
  x(!1);
21419
21421
  }, "handleEnter"), w = /* @__PURE__ */ o(() => {
21420
21422
  x(!0);
21421
21423
  }, "handleExited");
21422
21424
  if (!u && !p && (!g || E))
21423
21425
  return null;
21424
- let C;
21426
+ let F;
21425
21427
  if (l)
21426
- C = l;
21428
+ F = l;
21427
21429
  else if (n) {
21428
- const k = Bn(n);
21429
- C = k && Pa(k) ? zt(k).body : zt(null).body;
21430
+ const M = Bn(n);
21431
+ F = M && Pa(M) ? zt(M).body : zt(null).body;
21430
21432
  }
21431
21433
  const L = !p && u && (!g || E) ? "none" : void 0, R = g ? {
21432
21434
  in: p,
@@ -21435,7 +21437,7 @@ const n1 = /* @__PURE__ */ o(() => zm({
21435
21437
  } : void 0;
21436
21438
  return /* @__PURE__ */ f(_o, {
21437
21439
  disablePortal: c,
21438
- container: C,
21440
+ container: F,
21439
21441
  children: /* @__PURE__ */ f(i1, P({
21440
21442
  anchorEl: n,
21441
21443
  direction: s,
@@ -21448,7 +21450,7 @@ const n1 = /* @__PURE__ */ o(() => zm({
21448
21450
  popperRef: b,
21449
21451
  slotProps: y,
21450
21452
  slots: T
21451
- }, F, {
21453
+ }, C, {
21452
21454
  style: P({
21453
21455
  // Prevents scroll issue, waiting for Popper.js to add this style once initiated.
21454
21456
  position: "fixed",
@@ -21641,10 +21643,10 @@ const p1 = ["anchorEl", "component", "components", "componentsProps", "container
21641
21643
  placement: g,
21642
21644
  popperOptions: y,
21643
21645
  popperRef: T,
21644
- transition: F,
21646
+ transition: C,
21645
21647
  slots: E,
21646
21648
  slotProps: x
21647
- } = l, O = G(l, p1), w = (n = E == null ? void 0 : E.root) != null ? n : u == null ? void 0 : u.Root, C = P({
21649
+ } = l, O = G(l, p1), w = (n = E == null ? void 0 : E.root) != null ? n : u == null ? void 0 : u.Root, F = P({
21648
21650
  anchorEl: s,
21649
21651
  container: p,
21650
21652
  disablePortal: h,
@@ -21654,7 +21656,7 @@ const p1 = ["anchorEl", "component", "components", "componentsProps", "container
21654
21656
  placement: g,
21655
21657
  popperOptions: y,
21656
21658
  popperRef: T,
21657
- transition: F
21659
+ transition: C
21658
21660
  }, O);
21659
21661
  return /* @__PURE__ */ f(f1, P({
21660
21662
  as: c,
@@ -21663,7 +21665,7 @@ const p1 = ["anchorEl", "component", "components", "componentsProps", "container
21663
21665
  root: w
21664
21666
  },
21665
21667
  slotProps: x ?? d
21666
- }, C, {
21668
+ }, F, {
21667
21669
  ref: r
21668
21670
  }));
21669
21671
  }, "Popper"));
@@ -21979,15 +21981,15 @@ function vn(e, t) {
21979
21981
  }
21980
21982
  o(vn, "composeEventHandler");
21981
21983
  const Vl = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
21982
- var n, i, l, s, c, u, d, p, h, m, b, v, g, y, T, F, E, x, O;
21984
+ var n, i, l, s, c, u, d, p, h, m, b, v, g, y, T, C, E, x, O;
21983
21985
  const w = be({
21984
21986
  props: t,
21985
21987
  name: "MuiTooltip"
21986
21988
  }), {
21987
- arrow: C = !1,
21989
+ arrow: F = !1,
21988
21990
  children: L,
21989
21991
  components: R = {},
21990
- componentsProps: k = {},
21992
+ componentsProps: M = {},
21991
21993
  describeChild: $ = !1,
21992
21994
  disableFocusListener: N = !1,
21993
21995
  disableHoverListener: A = !1,
@@ -21995,26 +21997,26 @@ const Vl = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
21995
21997
  disableTouchListener: j = !1,
21996
21998
  enterDelay: I = 100,
21997
21999
  enterNextDelay: V = 0,
21998
- enterTouchDelay: M = 700,
22000
+ enterTouchDelay: k = 700,
21999
22001
  followCursor: H = !1,
22000
22002
  id: te,
22001
- leaveDelay: ue = 0,
22002
- leaveTouchDelay: le = 1500,
22003
+ leaveDelay: he = 0,
22004
+ leaveTouchDelay: ne = 1500,
22003
22005
  onClose: Re,
22004
- onOpen: U,
22005
- open: re,
22006
- placement: ae = "bottom",
22007
- PopperComponent: Oe,
22008
- PopperProps: oe = {},
22006
+ onOpen: ae,
22007
+ open: U,
22008
+ placement: oe = "bottom",
22009
+ PopperComponent: ve,
22010
+ PopperProps: ie = {},
22009
22011
  slotProps: ee = {},
22010
- slots: he = {},
22012
+ slots: ue = {},
22011
22013
  title: Q,
22012
22014
  TransitionComponent: z = Bo,
22013
22015
  TransitionProps: X
22014
- } = w, D = G(w, h1), ne = /* @__PURE__ */ S.isValidElement(L) ? L : /* @__PURE__ */ f("span", {
22016
+ } = w, D = G(w, h1), re = /* @__PURE__ */ S.isValidElement(L) ? L : /* @__PURE__ */ f("span", {
22015
22017
  children: L
22016
22018
  }), ke = wr(), Fe = ha(), [fe, et] = S.useState(), [se, ze] = S.useState(null), He = S.useRef(!1), tt = _ || H, Me = jr(), rt = jr(), Ct = jr(), At = jr(), [Xt, Z] = vd({
22017
- controlled: re,
22019
+ controlled: U,
22018
22020
  default: !1,
22019
22021
  name: "Tooltip",
22020
22022
  state: "open"
@@ -22022,82 +22024,82 @@ const Vl = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
22022
22024
  let Je = Xt;
22023
22025
  if (process.env.NODE_ENV !== "production") {
22024
22026
  const {
22025
- current: ie
22026
- } = S.useRef(re !== void 0);
22027
+ current: le
22028
+ } = S.useRef(U !== void 0);
22027
22029
  S.useEffect(() => {
22028
- fe && fe.disabled && !ie && Q !== "" && fe.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(`
22030
+ fe && fe.disabled && !le && Q !== "" && fe.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(`
22029
22031
  `));
22030
- }, [Q, fe, ie]);
22032
+ }, [Q, fe, le]);
22031
22033
  }
22032
- const It = Qi(te), Dt = S.useRef(), fr = Bt(() => {
22034
+ const It = Qi(te), Dt = S.useRef(), mr = Bt(() => {
22033
22035
  Dt.current !== void 0 && (document.body.style.WebkitUserSelect = Dt.current, Dt.current = void 0), At.clear();
22034
22036
  });
22035
- S.useEffect(() => fr, [fr]);
22036
- const Rr = /* @__PURE__ */ o((ie) => {
22037
- Dc.clear(), bn = !0, Z(!0), U && !Je && U(ie);
22037
+ S.useEffect(() => mr, [mr]);
22038
+ const Rr = /* @__PURE__ */ o((le) => {
22039
+ Dc.clear(), bn = !0, Z(!0), ae && !Je && ae(le);
22038
22040
  }, "handleOpen"), W = Bt(
22039
22041
  /**
22040
22042
  * @param {React.SyntheticEvent | Event} event
22041
22043
  */
22042
- (ie) => {
22043
- Dc.start(800 + ue, () => {
22044
+ (le) => {
22045
+ Dc.start(800 + he, () => {
22044
22046
  bn = !1;
22045
- }), Z(!1), Re && Je && Re(ie), Me.start(ke.transitions.duration.shortest, () => {
22047
+ }), Z(!1), Re && Je && Re(le), Me.start(ke.transitions.duration.shortest, () => {
22046
22048
  He.current = !1;
22047
22049
  });
22048
22050
  }
22049
- ), Y = /* @__PURE__ */ o((ie) => {
22050
- He.current && ie.type !== "touchstart" || (fe && fe.removeAttribute("title"), rt.clear(), Ct.clear(), I || bn && V ? rt.start(bn ? V : I, () => {
22051
- Rr(ie);
22052
- }) : Rr(ie));
22053
- }, "handleMouseOver"), ce = /* @__PURE__ */ o((ie) => {
22054
- rt.clear(), Ct.start(ue, () => {
22055
- W(ie);
22051
+ ), Y = /* @__PURE__ */ o((le) => {
22052
+ He.current && le.type !== "touchstart" || (fe && fe.removeAttribute("title"), rt.clear(), Ct.clear(), I || bn && V ? rt.start(bn ? V : I, () => {
22053
+ Rr(le);
22054
+ }) : Rr(le));
22055
+ }, "handleMouseOver"), ce = /* @__PURE__ */ o((le) => {
22056
+ rt.clear(), Ct.start(he, () => {
22057
+ W(le);
22056
22058
  });
22057
22059
  }, "handleMouseLeave"), {
22058
22060
  isFocusVisibleRef: de,
22059
22061
  onBlur: Ie,
22060
22062
  onFocus: Ke,
22061
22063
  ref: ft
22062
- } = ma(), [, or] = S.useState(!1), Ft = /* @__PURE__ */ o((ie) => {
22063
- Ie(ie), de.current === !1 && (or(!1), ce(ie));
22064
- }, "handleBlur"), kr = /* @__PURE__ */ o((ie) => {
22065
- fe || et(ie.currentTarget), Ke(ie), de.current === !0 && (or(!0), Y(ie));
22066
- }, "handleFocus"), as = /* @__PURE__ */ o((ie) => {
22064
+ } = ma(), [, or] = S.useState(!1), Ft = /* @__PURE__ */ o((le) => {
22065
+ Ie(le), de.current === !1 && (or(!1), ce(le));
22066
+ }, "handleBlur"), kr = /* @__PURE__ */ o((le) => {
22067
+ fe || et(le.currentTarget), Ke(le), de.current === !0 && (or(!0), Y(le));
22068
+ }, "handleFocus"), as = /* @__PURE__ */ o((le) => {
22067
22069
  He.current = !0;
22068
- const st = ne.props;
22069
- st.onTouchStart && st.onTouchStart(ie);
22070
- }, "detectTouchStart"), cf = /* @__PURE__ */ o((ie) => {
22071
- as(ie), Ct.clear(), Me.clear(), fr(), Dt.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", At.start(M, () => {
22072
- document.body.style.WebkitUserSelect = Dt.current, Y(ie);
22070
+ const st = re.props;
22071
+ st.onTouchStart && st.onTouchStart(le);
22072
+ }, "detectTouchStart"), cf = /* @__PURE__ */ o((le) => {
22073
+ as(le), Ct.clear(), Me.clear(), mr(), Dt.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", At.start(k, () => {
22074
+ document.body.style.WebkitUserSelect = Dt.current, Y(le);
22073
22075
  });
22074
- }, "handleTouchStart"), uf = /* @__PURE__ */ o((ie) => {
22075
- ne.props.onTouchEnd && ne.props.onTouchEnd(ie), fr(), Ct.start(le, () => {
22076
- W(ie);
22076
+ }, "handleTouchStart"), uf = /* @__PURE__ */ o((le) => {
22077
+ re.props.onTouchEnd && re.props.onTouchEnd(le), mr(), Ct.start(ne, () => {
22078
+ W(le);
22077
22079
  });
22078
22080
  }, "handleTouchEnd");
22079
22081
  S.useEffect(() => {
22080
22082
  if (!Je)
22081
22083
  return;
22082
- function ie(st) {
22084
+ function le(st) {
22083
22085
  (st.key === "Escape" || st.key === "Esc") && W(st);
22084
22086
  }
22085
- return o(ie, "handleKeyDown"), document.addEventListener("keydown", ie), () => {
22086
- document.removeEventListener("keydown", ie);
22087
+ return o(le, "handleKeyDown"), document.addEventListener("keydown", le), () => {
22088
+ document.removeEventListener("keydown", le);
22087
22089
  };
22088
22090
  }, [W, Je]);
22089
- const df = xt(ne.ref, ft, et, r);
22091
+ const df = xt(re.ref, ft, et, r);
22090
22092
  !Q && Q !== 0 && (Je = !1);
22091
- const Ca = S.useRef(), pf = /* @__PURE__ */ o((ie) => {
22092
- const st = ne.props;
22093
- st.onMouseMove && st.onMouseMove(ie), xo = {
22094
- x: ie.clientX,
22095
- y: ie.clientY
22093
+ const Ca = S.useRef(), pf = /* @__PURE__ */ o((le) => {
22094
+ const st = re.props;
22095
+ st.onMouseMove && st.onMouseMove(le), xo = {
22096
+ x: le.clientX,
22097
+ y: le.clientY
22096
22098
  }, Ca.current && Ca.current.update();
22097
22099
  }, "handleMouseMove"), ho = {}, Fa = typeof Q == "string";
22098
22100
  $ ? (ho.title = !Je && Fa && !A ? Q : null, ho["aria-describedby"] = Je ? It : null) : (ho["aria-label"] = Fa ? Q : null, ho["aria-labelledby"] = Je && !Fa ? It : null);
22099
- const mt = P({}, ho, D, ne.props, {
22100
- className: K(D.className, ne.props.className),
22101
+ const mt = P({}, ho, D, re.props, {
22102
+ className: K(D.className, re.props.className),
22101
22103
  onTouchStart: as,
22102
22104
  ref: df
22103
22105
  }, H ? {
@@ -22108,10 +22110,10 @@ const Vl = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
22108
22110
  `));
22109
22111
  }, [fe]));
22110
22112
  const go = {};
22111
- j || (mt.onTouchStart = cf, mt.onTouchEnd = uf), A || (mt.onMouseOver = vn(Y, mt.onMouseOver), mt.onMouseLeave = vn(ce, mt.onMouseLeave), tt || (go.onMouseOver = Y, go.onMouseLeave = ce)), N || (mt.onFocus = vn(kr, mt.onFocus), mt.onBlur = vn(Ft, mt.onBlur), tt || (go.onFocus = kr, go.onBlur = Ft)), 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(`
22113
+ j || (mt.onTouchStart = cf, mt.onTouchEnd = uf), A || (mt.onMouseOver = vn(Y, mt.onMouseOver), mt.onMouseLeave = vn(ce, mt.onMouseLeave), tt || (go.onMouseOver = Y, go.onMouseLeave = ce)), N || (mt.onFocus = vn(kr, mt.onFocus), mt.onBlur = vn(Ft, mt.onBlur), tt || (go.onFocus = kr, go.onBlur = Ft)), process.env.NODE_ENV !== "production" && re.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${re.props.title}\` or the Tooltip component.`].join(`
22112
22114
  `));
22113
22115
  const ff = S.useMemo(() => {
22114
- var ie;
22116
+ var le;
22115
22117
  let st = [{
22116
22118
  name: "arrow",
22117
22119
  enabled: !!se,
@@ -22120,27 +22122,27 @@ const Vl = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
22120
22122
  padding: 4
22121
22123
  }
22122
22124
  }];
22123
- return (ie = oe.popperOptions) != null && ie.modifiers && (st = st.concat(oe.popperOptions.modifiers)), P({}, oe.popperOptions, {
22125
+ return (le = ie.popperOptions) != null && le.modifiers && (st = st.concat(ie.popperOptions.modifiers)), P({}, ie.popperOptions, {
22124
22126
  modifiers: st
22125
22127
  });
22126
- }, [se, oe]), bo = P({}, w, {
22128
+ }, [se, ie]), bo = P({}, w, {
22127
22129
  isRtl: Fe,
22128
- arrow: C,
22130
+ arrow: F,
22129
22131
  disableInteractive: tt,
22130
- placement: ae,
22131
- PopperComponentProp: Oe,
22132
+ placement: oe,
22133
+ PopperComponentProp: ve,
22132
22134
  touch: He.current
22133
- }), wa = b1(bo), is = (n = (i = he.popper) != null ? i : R.Popper) != null ? n : v1, ls = (l = (s = (c = he.transition) != null ? c : R.Transition) != null ? s : z) != null ? l : Bo, ss = (u = (d = he.tooltip) != null ? d : R.Tooltip) != null ? u : y1, cs = (p = (h = he.arrow) != null ? h : R.Arrow) != null ? p : O1, mf = Vr(is, P({}, oe, (m = ee.popper) != null ? m : k.popper, {
22134
- className: K(wa.popper, oe == null ? void 0 : oe.className, (b = (v = ee.popper) != null ? v : k.popper) == null ? void 0 : b.className)
22135
- }), bo), hf = Vr(ls, P({}, X, (g = ee.transition) != null ? g : k.transition), bo), gf = Vr(ss, P({}, (y = ee.tooltip) != null ? y : k.tooltip, {
22136
- className: K(wa.tooltip, (T = (F = ee.tooltip) != null ? F : k.tooltip) == null ? void 0 : T.className)
22137
- }), bo), bf = Vr(cs, P({}, (E = ee.arrow) != null ? E : k.arrow, {
22138
- className: K(wa.arrow, (x = (O = ee.arrow) != null ? O : k.arrow) == null ? void 0 : x.className)
22135
+ }), wa = b1(bo), is = (n = (i = ue.popper) != null ? i : R.Popper) != null ? n : v1, ls = (l = (s = (c = ue.transition) != null ? c : R.Transition) != null ? s : z) != null ? l : Bo, ss = (u = (d = ue.tooltip) != null ? d : R.Tooltip) != null ? u : y1, cs = (p = (h = ue.arrow) != null ? h : R.Arrow) != null ? p : O1, mf = Vr(is, P({}, ie, (m = ee.popper) != null ? m : M.popper, {
22136
+ className: K(wa.popper, ie == null ? void 0 : ie.className, (b = (v = ee.popper) != null ? v : M.popper) == null ? void 0 : b.className)
22137
+ }), bo), hf = Vr(ls, P({}, X, (g = ee.transition) != null ? g : M.transition), bo), gf = Vr(ss, P({}, (y = ee.tooltip) != null ? y : M.tooltip, {
22138
+ className: K(wa.tooltip, (T = (C = ee.tooltip) != null ? C : M.tooltip) == null ? void 0 : T.className)
22139
+ }), bo), bf = Vr(cs, P({}, (E = ee.arrow) != null ? E : M.arrow, {
22140
+ className: K(wa.arrow, (x = (O = ee.arrow) != null ? O : M.arrow) == null ? void 0 : x.className)
22139
22141
  }), bo);
22140
22142
  return /* @__PURE__ */ B(S.Fragment, {
22141
- children: [/* @__PURE__ */ S.cloneElement(ne, mt), /* @__PURE__ */ f(is, P({
22142
- as: Oe ?? jl,
22143
- placement: ae,
22143
+ children: [/* @__PURE__ */ S.cloneElement(re, mt), /* @__PURE__ */ f(is, P({
22144
+ as: ve ?? jl,
22145
+ placement: oe,
22144
22146
  anchorEl: H ? {
22145
22147
  getBoundingClientRect: /* @__PURE__ */ o(() => ({
22146
22148
  top: xo.y,
@@ -22158,12 +22160,12 @@ const Vl = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
22158
22160
  }, go, mf, {
22159
22161
  popperOptions: ff,
22160
22162
  children: /* @__PURE__ */ o(({
22161
- TransitionProps: ie
22163
+ TransitionProps: le
22162
22164
  }) => /* @__PURE__ */ f(ls, P({
22163
22165
  timeout: ke.transitions.duration.shorter
22164
- }, ie, hf, {
22166
+ }, le, hf, {
22165
22167
  children: /* @__PURE__ */ B(ss, P({}, gf, {
22166
- children: [Q, C ? /* @__PURE__ */ f(cs, P({}, bf, {
22168
+ children: [Q, F ? /* @__PURE__ */ f(cs, P({}, bf, {
22167
22169
  ref: ze
22168
22170
  })) : null]
22169
22171
  }))
@@ -22404,7 +22406,7 @@ const x1 = /* @__PURE__ */ o(({
22404
22406
  return t;
22405
22407
  }, "defaultTransform"), E1 = /* @__PURE__ */ o((e) => {
22406
22408
  const {
22407
- useFormulario: t = dr,
22409
+ useFormulario: t = pr,
22408
22410
  mutationMode: r = "pessimistic",
22409
22411
  ...n
22410
22412
  } = e, i = Xf({ mutationMode: r, ...n }), { record: l, isFetching: s } = i, { fichaProps: c } = Cl(e), u = Mt(
@@ -22720,8 +22722,8 @@ const $1 = /* @__PURE__ */ o((e) => {
22720
22722
  },
22721
22723
  options: x.props.options ? x.props.options.map((w) => ({
22722
22724
  ...w,
22723
- onClick: /* @__PURE__ */ o((C) => {
22724
- x.props.onClick && x.props.onClick(C), s(E, w.key);
22725
+ onClick: /* @__PURE__ */ o((F) => {
22726
+ x.props.onClick && x.props.onClick(F), s(E, w.key);
22725
22727
  }, "onClick")
22726
22728
  })) : null
22727
22729
  })
@@ -22785,13 +22787,13 @@ function z1(e, t) {
22785
22787
  component: g
22786
22788
  },
22787
22789
  internalRef: y
22788
- } = v, T = G(v.props, B1), F = xt(y, b == null ? void 0 : b.ref, t.ref), E = s ? s(T) : {}, x = P({}, i, E), O = g, w = Vr(m, P({}, e === "root", !p[e] && c, T, O && {
22790
+ } = v, T = G(v.props, B1), C = xt(y, b == null ? void 0 : b.ref, t.ref), E = s ? s(T) : {}, x = P({}, i, E), O = g, w = Vr(m, P({}, e === "root", !p[e] && c, T, O && {
22789
22791
  as: O
22790
22792
  }, {
22791
- ref: F
22793
+ ref: C
22792
22794
  }), x);
22793
- return Object.keys(E).forEach((C) => {
22794
- delete w[C];
22795
+ return Object.keys(E).forEach((F) => {
22796
+ delete w[F];
22795
22797
  }), [m, w];
22796
22798
  }
22797
22799
  o(z1, "useSlot");
@@ -22925,11 +22927,11 @@ const Hl = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
22925
22927
  const T = Y1(P({}, p, {
22926
22928
  src: m,
22927
22929
  srcSet: b
22928
- })), F = m || b, E = F && T !== "error", x = P({}, n, {
22930
+ })), C = m || b, E = C && T !== "error", x = P({}, n, {
22929
22931
  colorDefault: !E,
22930
22932
  component: c,
22931
22933
  variant: v
22932
- }), O = U1(x), [w, C] = z1("img", {
22934
+ }), O = U1(x), [w, F] = z1("img", {
22933
22935
  className: O.img,
22934
22936
  elementType: q1,
22935
22937
  externalForwardedProps: {
@@ -22946,7 +22948,7 @@ const Hl = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
22946
22948
  },
22947
22949
  ownerState: x
22948
22950
  });
22949
- return E ? y = /* @__PURE__ */ f(w, P({}, C)) : l || l === 0 ? y = l : F && i ? y = i[0] : y = /* @__PURE__ */ f(K1, {
22951
+ return E ? y = /* @__PURE__ */ f(w, P({}, F)) : l || l === 0 ? y = l : C && i ? y = i[0] : y = /* @__PURE__ */ f(K1, {
22950
22952
  ownerState: x,
22951
22953
  className: O.fallback
22952
22954
  }), /* @__PURE__ */ f(G1, P({
@@ -23247,7 +23249,7 @@ const X1 = ["children", "color", "component", "className", "disabled", "disableE
23247
23249
  focusVisibleClassName: g,
23248
23250
  fullWidth: y = !1,
23249
23251
  size: T = "medium",
23250
- startIcon: F,
23252
+ startIcon: C,
23251
23253
  type: E,
23252
23254
  variant: x = "text"
23253
23255
  } = s, O = G(s, X1), w = P({}, s, {
@@ -23260,26 +23262,26 @@ const X1 = ["children", "color", "component", "className", "disabled", "disableE
23260
23262
  size: T,
23261
23263
  type: E,
23262
23264
  variant: x
23263
- }), C = Z1(w), L = F && /* @__PURE__ */ f(eF, {
23264
- className: C.startIcon,
23265
+ }), F = Z1(w), L = C && /* @__PURE__ */ f(eF, {
23266
+ className: F.startIcon,
23265
23267
  ownerState: w,
23266
- children: F
23268
+ children: C
23267
23269
  }), R = v && /* @__PURE__ */ f(tF, {
23268
- className: C.endIcon,
23270
+ className: F.endIcon,
23269
23271
  ownerState: w,
23270
23272
  children: v
23271
- }), k = i || "";
23273
+ }), M = i || "";
23272
23274
  return /* @__PURE__ */ B(J1, P({
23273
23275
  ownerState: w,
23274
- className: K(n.className, C.root, p, k),
23276
+ className: K(n.className, F.root, p, M),
23275
23277
  component: d,
23276
23278
  disabled: h,
23277
23279
  focusRipple: !b,
23278
- focusVisibleClassName: K(C.focusVisible, g),
23280
+ focusVisibleClassName: K(F.focusVisible, g),
23279
23281
  ref: r,
23280
23282
  type: E
23281
23283
  }, O, {
23282
- classes: C,
23284
+ classes: F,
23283
23285
  children: [L, c, R]
23284
23286
  }));
23285
23287
  }, "Button"));
@@ -23389,7 +23391,7 @@ const oF = ["className", "raised"], nF = /* @__PURE__ */ o((e) => {
23389
23391
  return Ce({
23390
23392
  root: ["root"]
23391
23393
  }, rF, t);
23392
- }, "useUtilityClasses$7"), aF = q(ur, {
23394
+ }, "useUtilityClasses$7"), aF = q(dr, {
23393
23395
  name: "MuiCard",
23394
23396
  slot: "Root",
23395
23397
  overridesResolver: /* @__PURE__ */ o((e, t) => t.root, "overridesResolver")
@@ -23632,8 +23634,8 @@ const ar = 44, pF = so(Nc || (Nc = Ta`
23632
23634
  variant: h
23633
23635
  }), v = mF(b), g = {}, y = {}, T = {};
23634
23636
  if (h === "determinate") {
23635
- const F = 2 * Math.PI * ((ar - d) / 2);
23636
- g.strokeDasharray = F.toFixed(3), T["aria-valuenow"] = Math.round(p), g.strokeDashoffset = `${((100 - p) / 100 * F).toFixed(3)}px`, y.transform = "rotate(-90deg)";
23637
+ const C = 2 * Math.PI * ((ar - d) / 2);
23638
+ g.strokeDasharray = C.toFixed(3), T["aria-valuenow"] = Math.round(p), g.strokeDashoffset = `${((100 - p) / 100 * C).toFixed(3)}px`, y.transform = "rotate(-90deg)";
23637
23639
  }
23638
23640
  return /* @__PURE__ */ f(hF, P({
23639
23641
  className: K(v.root, i),
@@ -24023,10 +24025,10 @@ const Qp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
24023
24025
  else if (O === "End")
24024
24026
  E.preventDefault(), So(x, null, d, u, Bc);
24025
24027
  else if (O.length === 1) {
24026
- const C = v.current, L = O.toLowerCase(), R = performance.now();
24027
- C.keys.length > 0 && (R - C.lastTime > 500 ? (C.keys = [], C.repeating = !0, C.previousKeyMatched = !0) : C.repeating && L !== C.keys[0] && (C.repeating = !1)), C.lastTime = R, C.keys.push(L);
24028
- const k = w && !C.repeating && Yp(w, C);
24029
- C.previousKeyMatched && (k || So(x, w, !1, u, Ua, C)) ? E.preventDefault() : C.previousKeyMatched = !1;
24028
+ const F = v.current, L = O.toLowerCase(), R = performance.now();
24029
+ F.keys.length > 0 && (R - F.lastTime > 500 ? (F.keys = [], F.repeating = !0, F.previousKeyMatched = !0) : F.repeating && L !== F.keys[0] && (F.repeating = !1)), F.lastTime = R, F.keys.push(L);
24030
+ const M = w && !F.repeating && Yp(w, F);
24031
+ F.previousKeyMatched && (M || So(x, w, !1, u, Ua, F)) ? E.preventDefault() : F.previousKeyMatched = !1;
24030
24032
  }
24031
24033
  p && p(E);
24032
24034
  }, "handleKeyDown"), y = xt(b, r);
@@ -24039,7 +24041,7 @@ const Qp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
24039
24041
  process.env.NODE_ENV !== "production" && ko.isFragment(E) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
24040
24042
  `)), E.props.disabled || (h === "selectedMenu" && E.props.selected || T === -1) && (T = x), T === x && (E.props.disabled || E.props.muiSkipListHighlight || E.type.muiSkipListHighlight) && (T += 1, T >= s.length && (T = -1));
24041
24043
  });
24042
- const F = S.Children.map(s, (E, x) => {
24044
+ const C = S.Children.map(s, (E, x) => {
24043
24045
  if (x === T) {
24044
24046
  const O = {};
24045
24047
  return l && (O.autoFocus = !0), E.props.tabIndex === void 0 && h === "selectedMenu" && (O.tabIndex = 0), /* @__PURE__ */ S.cloneElement(E, O);
@@ -24053,7 +24055,7 @@ const Qp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
24053
24055
  onKeyDown: g,
24054
24056
  tabIndex: i ? 0 : -1
24055
24057
  }, m, {
24056
- children: F
24058
+ children: C
24057
24059
  }));
24058
24060
  }, "MenuList"));
24059
24061
  process.env.NODE_ENV !== "production" && (Qp.propTypes = {
@@ -24137,7 +24139,7 @@ const FF = /* @__PURE__ */ o((e) => {
24137
24139
  name: "MuiPopover",
24138
24140
  slot: "Root",
24139
24141
  overridesResolver: /* @__PURE__ */ o((e, t) => t.root, "overridesResolver")
24140
- })({}), Xp = q(ur, {
24142
+ })({}), Xp = q(dr, {
24141
24143
  name: "MuiPopover",
24142
24144
  slot: "Paper",
24143
24145
  overridesResolver: /* @__PURE__ */ o((e, t) => t.paper, "overridesResolver")
@@ -24173,7 +24175,7 @@ const FF = /* @__PURE__ */ o((e) => {
24173
24175
  elevation: g = 8,
24174
24176
  marginThreshold: y = 16,
24175
24177
  open: T,
24176
- PaperProps: F = {},
24178
+ PaperProps: C = {},
24177
24179
  slots: E,
24178
24180
  slotProps: x,
24179
24181
  transformOrigin: O = {
@@ -24181,12 +24183,12 @@ const FF = /* @__PURE__ */ o((e) => {
24181
24183
  horizontal: "left"
24182
24184
  },
24183
24185
  TransitionComponent: w = Bo,
24184
- transitionDuration: C = "auto",
24186
+ transitionDuration: F = "auto",
24185
24187
  TransitionProps: {
24186
24188
  onEntering: L
24187
24189
  } = {},
24188
24190
  disableScrollLock: R = !1
24189
- } = s, k = G(s.TransitionProps, PF), $ = G(s, TF), N = (n = x == null ? void 0 : x.paper) != null ? n : F, A = S.useRef(), _ = xt(A, N.ref), j = P({}, s, {
24191
+ } = s, M = G(s.TransitionProps, PF), $ = G(s, TF), N = (n = x == null ? void 0 : x.paper) != null ? n : C, A = S.useRef(), _ = xt(A, N.ref), j = P({}, s, {
24190
24192
  anchorOrigin: d,
24191
24193
  anchorReference: h,
24192
24194
  elevation: g,
@@ -24194,91 +24196,91 @@ const FF = /* @__PURE__ */ o((e) => {
24194
24196
  externalPaperSlotProps: N,
24195
24197
  transformOrigin: O,
24196
24198
  TransitionComponent: w,
24197
- transitionDuration: C,
24198
- TransitionProps: k
24199
+ transitionDuration: F,
24200
+ TransitionProps: M
24199
24201
  }), I = FF(j), V = S.useCallback(() => {
24200
24202
  if (h === "anchorPosition")
24201
24203
  return process.env.NODE_ENV !== "production" && (p || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), p;
24202
- const X = wn(u), D = X && X.nodeType === 1 ? X : Er(A.current).body, ne = D.getBoundingClientRect();
24204
+ const X = wn(u), D = X && X.nodeType === 1 ? X : Er(A.current).body, re = D.getBoundingClientRect();
24203
24205
  if (process.env.NODE_ENV !== "production") {
24204
24206
  const ke = D.getBoundingClientRect();
24205
24207
  process.env.NODE_ENV !== "test" && ke.top === 0 && ke.left === 0 && ke.right === 0 && ke.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(`
24206
24208
  `));
24207
24209
  }
24208
24210
  return {
24209
- top: ne.top + zc(ne, d.vertical),
24210
- left: ne.left + Hc(ne, d.horizontal)
24211
+ top: re.top + zc(re, d.vertical),
24212
+ left: re.left + Hc(re, d.horizontal)
24211
24213
  };
24212
- }, [u, d.horizontal, d.vertical, p, h]), M = S.useCallback((X) => ({
24214
+ }, [u, d.horizontal, d.vertical, p, h]), k = S.useCallback((X) => ({
24213
24215
  vertical: zc(X, O.vertical),
24214
24216
  horizontal: Hc(X, O.horizontal)
24215
24217
  }), [O.horizontal, O.vertical]), H = S.useCallback((X) => {
24216
24218
  const D = {
24217
24219
  width: X.offsetWidth,
24218
24220
  height: X.offsetHeight
24219
- }, ne = M(D);
24221
+ }, re = k(D);
24220
24222
  if (h === "none")
24221
24223
  return {
24222
24224
  top: null,
24223
24225
  left: null,
24224
- transformOrigin: Wc(ne)
24226
+ transformOrigin: Wc(re)
24225
24227
  };
24226
24228
  const ke = V();
24227
- let Fe = ke.top - ne.vertical, fe = ke.left - ne.horizontal;
24229
+ let Fe = ke.top - re.vertical, fe = ke.left - re.horizontal;
24228
24230
  const et = Fe + D.height, se = fe + D.width, ze = Pr(wn(u)), He = ze.innerHeight - y, tt = ze.innerWidth - y;
24229
24231
  if (y !== null && Fe < y) {
24230
24232
  const Me = Fe - y;
24231
- Fe -= Me, ne.vertical += Me;
24233
+ Fe -= Me, re.vertical += Me;
24232
24234
  } else if (y !== null && et > He) {
24233
24235
  const Me = et - He;
24234
- Fe -= Me, ne.vertical += Me;
24236
+ Fe -= Me, re.vertical += Me;
24235
24237
  }
24236
24238
  if (process.env.NODE_ENV !== "production" && D.height > He && D.height && He && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${D.height - He}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
24237
24239
  `)), y !== null && fe < y) {
24238
24240
  const Me = fe - y;
24239
- fe -= Me, ne.horizontal += Me;
24241
+ fe -= Me, re.horizontal += Me;
24240
24242
  } else if (se > tt) {
24241
24243
  const Me = se - tt;
24242
- fe -= Me, ne.horizontal += Me;
24244
+ fe -= Me, re.horizontal += Me;
24243
24245
  }
24244
24246
  return {
24245
24247
  top: `${Math.round(Fe)}px`,
24246
24248
  left: `${Math.round(fe)}px`,
24247
- transformOrigin: Wc(ne)
24249
+ transformOrigin: Wc(re)
24248
24250
  };
24249
- }, [u, h, V, M, y]), [te, ue] = S.useState(T), le = S.useCallback(() => {
24251
+ }, [u, h, V, k, y]), [te, he] = S.useState(T), ne = S.useCallback(() => {
24250
24252
  const X = A.current;
24251
24253
  if (!X)
24252
24254
  return;
24253
24255
  const D = H(X);
24254
- D.top !== null && (X.style.top = D.top), D.left !== null && (X.style.left = D.left), X.style.transformOrigin = D.transformOrigin, ue(!0);
24256
+ D.top !== null && (X.style.top = D.top), D.left !== null && (X.style.left = D.left), X.style.transformOrigin = D.transformOrigin, he(!0);
24255
24257
  }, [H]);
24256
- S.useEffect(() => (R && window.addEventListener("scroll", le), () => window.removeEventListener("scroll", le)), [u, R, le]);
24258
+ S.useEffect(() => (R && window.addEventListener("scroll", ne), () => window.removeEventListener("scroll", ne)), [u, R, ne]);
24257
24259
  const Re = /* @__PURE__ */ o((X, D) => {
24258
- L && L(X, D), le();
24259
- }, "handleEntering"), U = /* @__PURE__ */ o(() => {
24260
- ue(!1);
24260
+ L && L(X, D), ne();
24261
+ }, "handleEntering"), ae = /* @__PURE__ */ o(() => {
24262
+ he(!1);
24261
24263
  }, "handleExited");
24262
24264
  S.useEffect(() => {
24263
- T && le();
24265
+ T && ne();
24264
24266
  }), S.useImperativeHandle(c, () => T ? {
24265
24267
  updatePosition: /* @__PURE__ */ o(() => {
24266
- le();
24268
+ ne();
24267
24269
  }, "updatePosition")
24268
- } : null, [T, le]), S.useEffect(() => {
24270
+ } : null, [T, ne]), S.useEffect(() => {
24269
24271
  if (!T)
24270
24272
  return;
24271
24273
  const X = Zo(() => {
24272
- le();
24274
+ ne();
24273
24275
  }), D = Pr(u);
24274
24276
  return D.addEventListener("resize", X), () => {
24275
24277
  X.clear(), D.removeEventListener("resize", X);
24276
24278
  };
24277
- }, [u, T, le]);
24278
- let re = C;
24279
- C === "auto" && !w.muiSupportAuto && (re = void 0);
24280
- const ae = v || (u ? Er(wn(u)).body : void 0), Oe = (i = E == null ? void 0 : E.root) != null ? i : wF, oe = (l = E == null ? void 0 : E.paper) != null ? l : Xp, ee = kt({
24281
- elementType: oe,
24279
+ }, [u, T, ne]);
24280
+ let U = F;
24281
+ F === "auto" && !w.muiSupportAuto && (U = void 0);
24282
+ const oe = v || (u ? Er(wn(u)).body : void 0), ve = (i = E == null ? void 0 : E.root) != null ? i : wF, ie = (l = E == null ? void 0 : E.paper) != null ? l : Xp, ee = kt({
24283
+ elementType: ie,
24282
24284
  externalSlotProps: P({}, N, {
24283
24285
  style: te ? N.style : P({}, N.style, {
24284
24286
  opacity: 0
@@ -24290,8 +24292,8 @@ const FF = /* @__PURE__ */ o((e) => {
24290
24292
  },
24291
24293
  ownerState: j,
24292
24294
  className: K(I.paper, N == null ? void 0 : N.className)
24293
- }), he = kt({
24294
- elementType: Oe,
24295
+ }), ue = kt({
24296
+ elementType: ve,
24295
24297
  externalSlotProps: (x == null ? void 0 : x.root) || {},
24296
24298
  externalForwardedProps: $,
24297
24299
  additionalProps: {
@@ -24301,15 +24303,15 @@ const FF = /* @__PURE__ */ o((e) => {
24301
24303
  invisible: !0
24302
24304
  }
24303
24305
  },
24304
- container: ae,
24306
+ container: oe,
24305
24307
  open: T
24306
24308
  },
24307
24309
  ownerState: j,
24308
24310
  className: K(I.root, b)
24309
24311
  }), {
24310
24312
  slotProps: Q
24311
- } = he, z = G(he, CF);
24312
- return /* @__PURE__ */ f(Oe, P({}, z, !Td(Oe) && {
24313
+ } = ue, z = G(ue, CF);
24314
+ return /* @__PURE__ */ f(ve, P({}, z, !Td(ve) && {
24313
24315
  slotProps: Q,
24314
24316
  disableScrollLock: R
24315
24317
  }, {
@@ -24317,10 +24319,10 @@ const FF = /* @__PURE__ */ o((e) => {
24317
24319
  appear: !0,
24318
24320
  in: T,
24319
24321
  onEntering: Re,
24320
- onExited: U,
24321
- timeout: re
24322
- }, k, {
24323
- children: /* @__PURE__ */ f(oe, P({}, ee, {
24322
+ onExited: ae,
24323
+ timeout: U
24324
+ }, M, {
24325
+ children: /* @__PURE__ */ f(ie, P({}, ee, {
24324
24326
  children: m
24325
24327
  }))
24326
24328
  }))
@@ -24566,9 +24568,9 @@ const kF = ["onEntering"], MF = ["autoFocus", "children", "className", "disableA
24566
24568
  onEntering: y
24567
24569
  } = {},
24568
24570
  variant: T = "selectedMenu",
24569
- slots: F = {},
24571
+ slots: C = {},
24570
24572
  slotProps: E = {}
24571
- } = l, x = G(l.TransitionProps, kF), O = G(l, MF), w = ha(), C = P({}, l, {
24573
+ } = l, x = G(l.TransitionProps, kF), O = G(l, MF), w = ha(), F = P({}, l, {
24572
24574
  autoFocus: s,
24573
24575
  disableAutoFocusItem: d,
24574
24576
  MenuListProps: p,
@@ -24577,27 +24579,27 @@ const kF = ["onEntering"], MF = ["autoFocus", "children", "className", "disableA
24577
24579
  transitionDuration: g,
24578
24580
  TransitionProps: x,
24579
24581
  variant: T
24580
- }), L = AF(C), R = s && !d && m, k = S.useRef(null), $ = /* @__PURE__ */ o((M, H) => {
24581
- k.current && k.current.adjustStyleForScrollbar(M, {
24582
+ }), L = AF(F), R = s && !d && m, M = S.useRef(null), $ = /* @__PURE__ */ o((k, H) => {
24583
+ M.current && M.current.adjustStyleForScrollbar(k, {
24582
24584
  direction: w ? "rtl" : "ltr"
24583
- }), y && y(M, H);
24584
- }, "handleEntering"), N = /* @__PURE__ */ o((M) => {
24585
- M.key === "Tab" && (M.preventDefault(), h && h(M, "tabKeyDown"));
24585
+ }), y && y(k, H);
24586
+ }, "handleEntering"), N = /* @__PURE__ */ o((k) => {
24587
+ k.key === "Tab" && (k.preventDefault(), h && h(k, "tabKeyDown"));
24586
24588
  }, "handleListKeyDown");
24587
24589
  let A = -1;
24588
- S.Children.map(c, (M, H) => {
24589
- /* @__PURE__ */ S.isValidElement(M) && (process.env.NODE_ENV !== "production" && ko.isFragment(M) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
24590
- `)), M.props.disabled || (T === "selectedMenu" && M.props.selected || A === -1) && (A = H));
24590
+ S.Children.map(c, (k, H) => {
24591
+ /* @__PURE__ */ S.isValidElement(k) && (process.env.NODE_ENV !== "production" && ko.isFragment(k) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
24592
+ `)), k.props.disabled || (T === "selectedMenu" && k.props.selected || A === -1) && (A = H));
24591
24593
  });
24592
- const _ = (n = F.paper) != null ? n : DF, j = (i = E.paper) != null ? i : b, I = kt({
24593
- elementType: F.root,
24594
+ const _ = (n = C.paper) != null ? n : DF, j = (i = E.paper) != null ? i : b, I = kt({
24595
+ elementType: C.root,
24594
24596
  externalSlotProps: E.root,
24595
- ownerState: C,
24597
+ ownerState: F,
24596
24598
  className: [L.root, u]
24597
24599
  }), V = kt({
24598
24600
  elementType: _,
24599
24601
  externalSlotProps: j,
24600
- ownerState: C,
24602
+ ownerState: F,
24601
24603
  className: L.paper
24602
24604
  });
24603
24605
  return /* @__PURE__ */ f(IF, P({
@@ -24609,7 +24611,7 @@ const kF = ["onEntering"], MF = ["autoFocus", "children", "className", "disableA
24609
24611
  transformOrigin: w ? $F : LF,
24610
24612
  slots: {
24611
24613
  paper: _,
24612
- root: F.root
24614
+ root: C.root
24613
24615
  },
24614
24616
  slotProps: {
24615
24617
  root: I,
@@ -24621,12 +24623,12 @@ const kF = ["onEntering"], MF = ["autoFocus", "children", "className", "disableA
24621
24623
  TransitionProps: P({
24622
24624
  onEntering: $
24623
24625
  }, x),
24624
- ownerState: C
24626
+ ownerState: F
24625
24627
  }, O, {
24626
24628
  classes: v,
24627
24629
  children: /* @__PURE__ */ f(NF, P({
24628
24630
  onKeyDown: N,
24629
- actions: k,
24631
+ actions: M,
24630
24632
  autoFocus: s && (A === -1 || d),
24631
24633
  autoFocusItem: R,
24632
24634
  variant: T
@@ -24872,7 +24874,7 @@ const Eo = me("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi
24872
24874
  dense: g.dense,
24873
24875
  divider: c,
24874
24876
  disableGutters: u
24875
- }), F = BF(n), E = xt(y, r);
24877
+ }), C = BF(n), E = xt(y, r);
24876
24878
  let x;
24877
24879
  return n.disabled || (x = h !== void 0 ? h : -1), /* @__PURE__ */ f(zn.Provider, {
24878
24880
  value: g,
@@ -24881,11 +24883,11 @@ const Eo = me("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi
24881
24883
  role: p,
24882
24884
  tabIndex: x,
24883
24885
  component: l,
24884
- focusVisibleClassName: K(F.focusVisible, d),
24885
- className: K(F.root, m)
24886
+ focusVisibleClassName: K(C.focusVisible, d),
24887
+ className: K(C.root, m)
24886
24888
  }, b, {
24887
24889
  ownerState: T,
24888
- classes: F
24890
+ classes: C
24889
24891
  }))
24890
24892
  });
24891
24893
  }, "MenuItem"));
@@ -24970,7 +24972,6 @@ const HF = /* @__PURE__ */ o(({
24970
24972
  showFilter: r,
24971
24973
  ...n
24972
24974
  }) => n, "sanitizeRestProps$1"), KR = /* @__PURE__ */ o((e) => {
24973
- var F;
24974
24975
  const {
24975
24976
  className: t,
24976
24977
  options: r = [],
@@ -24984,18 +24985,18 @@ const HF = /* @__PURE__ */ o(({
24984
24985
  E.preventDefault(), p(!0), h.current = E.currentTarget;
24985
24986
  }, "handleToggle"), T = /* @__PURE__ */ o((E) => {
24986
24987
  h.current && h.current.contains(E.target) || p(!1);
24987
- }, "handleClose");
24988
+ }, "handleClose"), C = r[m];
24988
24989
  return /* @__PURE__ */ B($e, { sx: { display: "inline-block" }, ...HF(u), children: [
24989
24990
  /* @__PURE__ */ f(
24990
24991
  ut,
24991
24992
  {
24992
24993
  size: "large",
24993
24994
  className: "add-filter",
24994
- label: s ? r[m].label : i,
24995
+ label: s && C ? C.label : i,
24995
24996
  onClick: y,
24996
- title: r[m].label,
24997
+ title: C == null ? void 0 : C.label,
24997
24998
  disabled: l,
24998
- children: ((F = r[m]) == null ? void 0 : F.icon) || n
24999
+ children: (C == null ? void 0 : C.icon) || n
24999
25000
  }
25000
25001
  ),
25001
25002
  /* @__PURE__ */ f(Jp, { open: d, anchorEl: h.current, onClose: T, children: r.map((E, x) => /* @__PURE__ */ B(
@@ -25025,10 +25026,10 @@ const HF = /* @__PURE__ */ o(({
25025
25026
  ] });
25026
25027
  }, "MenuButton"), YR = /* @__PURE__ */ o((e) => {
25027
25028
  const { fields: t, className: r, textAlign: n, sortable: i, ...l } = e, { campos: s, separador: c = "", secundario: u = [], hasSecundario: d } = t, p = Kt(), h = s.map((m) => p[m] !== void 0 ? p[m] : m).join(`${c}`);
25028
- return /* @__PURE__ */ B(lr, { noWrap: !0, variant: "inherit", className: r, ...l, children: [
25029
+ return /* @__PURE__ */ B(sr, { noWrap: !0, variant: "inherit", className: r, ...l, children: [
25029
25030
  h,
25030
25031
  d && /* @__PURE__ */ f(
25031
- lr,
25032
+ sr,
25032
25033
  {
25033
25034
  component: "span",
25034
25035
  display: "block",
@@ -25041,7 +25042,7 @@ const HF = /* @__PURE__ */ o(({
25041
25042
  )
25042
25043
  ] });
25043
25044
  }, "MultiTextField"), WF = /* @__PURE__ */ o((e) => {
25044
- const { useFormulario: t = dr, ...r } = e, n = um(r), { record: i, isFetching: l } = n, { fichaProps: s } = Cl(e), c = Mt(
25045
+ const { useFormulario: t = pr, ...r } = e, n = um(r), { record: i, isFetching: l } = n, { fichaProps: s } = Cl(e), c = Mt(
25045
25046
  () => ({
25046
25047
  estado: "M",
25047
25048
  initialValues: i,
@@ -25070,7 +25071,7 @@ const HF = /* @__PURE__ */ o(({
25070
25071
  ...d
25071
25072
  } = e, p = Qn(), h = km(""), m = qe(e), [b, v] = Ue(0), {
25072
25073
  fichaProps: { etrs: g }
25073
- } = Te(Ge), y = Qt({ ...e, etrs: g }), { estado: T } = Te(Ge), F = /* @__PURE__ */ o((x, O) => {
25074
+ } = Te(Ge), y = Qt({ ...e, etrs: g }), { estado: T } = Te(Ge), C = /* @__PURE__ */ o((x, O) => {
25074
25075
  l || (v(O), u && u(
25075
25076
  y,
25076
25077
  T,
@@ -25084,7 +25085,7 @@ const HF = /* @__PURE__ */ o(({
25084
25085
  }, "handleTabChange"), E = /* @__PURE__ */ o(() => Jt(
25085
25086
  s,
25086
25087
  {
25087
- onChange: F,
25088
+ onChange: C,
25088
25089
  syncWithLocation: l,
25089
25090
  url: i,
25090
25091
  value: b
@@ -25102,14 +25103,14 @@ const HF = /* @__PURE__ */ o(({
25102
25103
  /* @__PURE__ */ f(n, { children: Wn.map(t, (x, O) => {
25103
25104
  if (!x)
25104
25105
  return null;
25105
- const w = fm(x, O), C = l ? !Ka(
25106
+ const w = fm(x, O), F = l ? !Ka(
25106
25107
  `${h.pathname}/${w}`,
25107
25108
  p.pathname
25108
25109
  ) : b !== O;
25109
- return br(x) ? S.cloneElement(x, {
25110
+ return vr(x) ? S.cloneElement(x, {
25110
25111
  intent: "content",
25111
25112
  resource: m,
25112
- hidden: C,
25113
+ hidden: F,
25113
25114
  value: l ? w : O
25114
25115
  }) : null;
25115
25116
  }) }),
@@ -25488,7 +25489,7 @@ const cw = me("MuiLink", ["root", "underlineNone", "underlineHover", "underlineA
25488
25489
  root: ["root", `underline${J(i)}`, r === "button" && "button", n && "focusVisible"]
25489
25490
  };
25490
25491
  return Ce(l, sw, t);
25491
- }, "useUtilityClasses"), mw = q(lr, {
25492
+ }, "useUtilityClasses"), mw = q(sr, {
25492
25493
  name: "MuiLink",
25493
25494
  slot: "Root",
25494
25495
  overridesResolver: /* @__PURE__ */ o((e, t) => {
@@ -25564,17 +25565,17 @@ const cw = me("MuiLink", ["root", "underlineNone", "underlineHover", "underlineA
25564
25565
  onBlur: g,
25565
25566
  onFocus: y,
25566
25567
  ref: T
25567
- } = ma(), [F, E] = S.useState(!1), x = xt(r, T), O = /* @__PURE__ */ o((R) => {
25568
+ } = ma(), [C, E] = S.useState(!1), x = xt(r, T), O = /* @__PURE__ */ o((R) => {
25568
25569
  g(R), v.current === !1 && E(!1), c && c(R);
25569
25570
  }, "handleBlur"), w = /* @__PURE__ */ o((R) => {
25570
25571
  y(R), v.current === !0 && E(!0), u && u(R);
25571
- }, "handleFocus"), C = P({}, n, {
25572
+ }, "handleFocus"), F = P({}, n, {
25572
25573
  color: l,
25573
25574
  component: s,
25574
- focusVisible: F,
25575
+ focusVisible: C,
25575
25576
  underline: p,
25576
25577
  variant: h
25577
- }), L = fw(C);
25578
+ }), L = fw(F);
25578
25579
  return /* @__PURE__ */ f(mw, P({
25579
25580
  color: l,
25580
25581
  className: K(L.root, i),
@@ -25583,7 +25584,7 @@ const cw = me("MuiLink", ["root", "underlineNone", "underlineHover", "underlineA
25583
25584
  onBlur: O,
25584
25585
  onFocus: w,
25585
25586
  ref: x,
25586
- ownerState: C,
25587
+ ownerState: F,
25587
25588
  variant: h,
25588
25589
  sx: [...Object.keys(af).includes(l) ? [] : [{
25589
25590
  color: l
@@ -25778,12 +25779,12 @@ const Kc = /* @__PURE__ */ o((e) => {
25778
25779
  );
25779
25780
  if (!g)
25780
25781
  return null;
25781
- const F = g.getValues()[h.source], E = y ?? "#";
25782
+ const C = g.getValues()[h.source], E = y ?? "#";
25782
25783
  return at(() => {
25783
- u && F && (F != null && F.src ? T(F.src) : u(F).then((x) => {
25784
+ u && C && (C != null && C.src ? T(C.src) : u(C).then((x) => {
25784
25785
  T(x);
25785
25786
  }));
25786
- }, [F]), !r && (l === "image" ? /* @__PURE__ */ B(
25787
+ }, [C]), !r && (l === "image" ? /* @__PURE__ */ B(
25787
25788
  hi,
25788
25789
  {
25789
25790
  direction: "row",
@@ -25914,7 +25915,7 @@ const Kc = /* @__PURE__ */ o((e) => {
25914
25915
  asistantResource: c,
25915
25916
  ...u
25916
25917
  } = t, { source: d, reference: p } = e, h = wi((y) => {
25917
- const T = y.reload_cb ? y.reload_cb.filter((F) => F.id === d) : [];
25918
+ const T = y.reload_cb ? y.reload_cb.filter((C) => C.id === d) : [];
25918
25919
  return T[0] ? T[0] : null;
25919
25920
  }), m = Un(h), b = h === null && m.current ? m.current : h;
25920
25921
  let v, g;
@@ -26104,9 +26105,9 @@ const _w = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26104
26105
  }, []);
26105
26106
  const b = we(() => {
26106
26107
  c(!1);
26107
- }, [c]), v = /* @__PURE__ */ o((T, F) => {
26108
+ }, [c]), v = /* @__PURE__ */ o((T, C) => {
26108
26109
  c(!1), m.setValue(n, {
26109
- seleccion: F,
26110
+ seleccion: C,
26110
26111
  all: !1,
26111
26112
  none: !1
26112
26113
  }), h(T);
@@ -26123,7 +26124,7 @@ const _w = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26123
26124
  none: !1
26124
26125
  }), h(T);
26125
26126
  }, "handleTodos");
26126
- return u ? null : /* @__PURE__ */ B(yr, { children: [
26127
+ return u ? null : /* @__PURE__ */ B(lr, { children: [
26127
26128
  /* @__PURE__ */ f(
26128
26129
  $e,
26129
26130
  {
@@ -26142,7 +26143,7 @@ const _w = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26142
26143
  format: Hw,
26143
26144
  helperText: !1,
26144
26145
  InputProps: {
26145
- endAdornment: /* @__PURE__ */ B(yr, { children: [
26146
+ endAdornment: /* @__PURE__ */ B(lr, { children: [
26146
26147
  /* @__PURE__ */ f(
26147
26148
  Wt,
26148
26149
  {
@@ -26324,12 +26325,12 @@ const _w = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26324
26325
  ...u
26325
26326
  } = e, [d] = gu("form_224"), [p, h] = Ue(!1), m = $t(), { estado: b, fichaProps: v = {} } = Te(Ge), g = Te(fo), {
26326
26327
  hidden: y,
26327
- propsContenido: { disabled: T, label: F = "Funcionarios" }
26328
+ propsContenido: { disabled: T, label: C = "Funcionarios" }
26328
26329
  } = lt(e), { [l]: E = {}, etrs: x } = v, O = Qt({ ...e, etrs: x, asisEtr: g }), w = E.onChange === void 0 ? c : E.onChange;
26329
26330
  at(() => {
26330
26331
  m.setValue(l, Qc);
26331
26332
  }, []);
26332
- const C = we(() => {
26333
+ const F = we(() => {
26333
26334
  h(!1);
26334
26335
  }, [h]), L = /* @__PURE__ */ o(($, N) => {
26335
26336
  h(!1), m.setValue(l, {
@@ -26343,14 +26344,14 @@ const _w = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26343
26344
  all: !1,
26344
26345
  none: !0
26345
26346
  }), w && w(O, b, $);
26346
- }, "handleNinguno"), k = /* @__PURE__ */ o(($) => {
26347
+ }, "handleNinguno"), M = /* @__PURE__ */ o(($) => {
26347
26348
  m.setValue(l, {
26348
26349
  seleccion: [],
26349
26350
  all: !0,
26350
26351
  none: !1
26351
26352
  }), w && w(O, b, $);
26352
26353
  }, "handleTodos");
26353
- return y ? null : /* @__PURE__ */ B(yr, { children: [
26354
+ return y ? null : /* @__PURE__ */ B(lr, { children: [
26354
26355
  /* @__PURE__ */ f(
26355
26356
  $e,
26356
26357
  {
@@ -26363,13 +26364,13 @@ const _w = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26363
26364
  defaultValue: Qc,
26364
26365
  ...u,
26365
26366
  source: l,
26366
- label: F,
26367
+ label: C,
26367
26368
  disabled: !0,
26368
26369
  parse: Zw,
26369
26370
  format: Xw,
26370
26371
  helperText: !1,
26371
26372
  InputProps: {
26372
- endAdornment: /* @__PURE__ */ B(yr, { children: [
26373
+ endAdornment: /* @__PURE__ */ B(lr, { children: [
26373
26374
  n && /* @__PURE__ */ f(
26374
26375
  Wt,
26375
26376
  {
@@ -26384,7 +26385,7 @@ const _w = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26384
26385
  i && /* @__PURE__ */ f(
26385
26386
  Wt,
26386
26387
  {
26387
- onClick: k,
26388
+ onClick: M,
26388
26389
  disabled: T,
26389
26390
  "aria-label": "Todos",
26390
26391
  size: "small",
@@ -26413,9 +26414,9 @@ const _w = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26413
26414
  Qw,
26414
26415
  {
26415
26416
  isOpen: p,
26416
- title: `Selección de ${F}`,
26417
+ title: `Selección de ${C}`,
26417
26418
  onConfirm: L,
26418
- onClose: C
26419
+ onClose: F
26419
26420
  }
26420
26421
  )
26421
26422
  ] });