biblio-react 2.2.12 → 2.2.13

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
@@ -2,13 +2,13 @@ var yf = Object.defineProperty;
2
2
  var o = (e, t) => yf(e, "name", { value: t, configurable: !0 });
3
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 jt, { forwardRef as bi, useContext as me, createElement as ds, Children as Wn, isValidElement as vr, cloneElement as Jt, createContext as Fr, useState as Ue, useMemo as Mt, useCallback as we, useEffect as at, Fragment as Ut, memo as Of, useRef as Un } from "react";
5
+ import Vt, { forwardRef as bi, useContext as me, createElement as ds, Children as Wn, isValidElement as vr, cloneElement as Jt, createContext as Fr, useState as Ue, useMemo as Mt, useCallback as we, useEffect as at, Fragment as Gt, memo as Of, useRef as Un } from "react";
6
6
  import a from "prop-types";
7
7
  import { MenuItem as Ga, ListItemIcon as qa, ListItemText as ps, useMediaQuery as Gn, Typography as Zc, Box as $e, alpha as xf, createTheme as yi, StyledEngineProvider as Jc, Stack as eu, Card as Sf, CircularProgress as tu, Dialog as Oi, DialogTitle as ru, DialogContent as Ef, DialogActions as Pf, Tooltip as qn, IconButton as Rn, ThemeProvider as Tf, Paper as xi, CardContent as ou, Collapse as Cf, List as Ff, Divider as wf, Button as fs } from "@mui/material";
8
- import { useTranslate as Ze, useUserMenu as Rf, useResourceDefinitions as kf, AppBar as Mf, UserMenu as $f, Logout as Lf, useDataProvider as nu, useListContext as qr, useNotify as tr, useRedirect as Wo, useRefresh as Af, useResourceContext as qe, useUnselectAll as If, NumberField as Df, DateField as ms, TextField as On, ReferenceField as Nf, Button as ut, useRecordContext as qt, useInput as au, useGetList as iu, useSafeSetState as Si, Confirm as Ei, Form as Uo, SaveButton as Kn, useCreatePath as Yn, useResourceDefinition as lu, DatagridRoot as _f, DatagridClasses as hs, BulkActionsToolbar as jf, SimpleList as Vf, useGetOne as su, required as Bf, minValue as zf, TopToolbar as cu, ListButton as Hf, ShowButton as Wf, useCreateController as Uf, CreateContextProvider as Gf, useSaveContext as qf, Create as Kf, useListController as Yf, ListContextProvider as Qf, List as uu, useDelete as Xf, useEditController as Zf, Edit as Jf, SimpleForm as em, useSidebarState as du, Menu as tm, DashboardMenuItem as rm, MenuItemLink as pu, Layout as om, FilterContext as nm, sanitizeListRestProps as am, FilterButton as im, CreateButton as lm, ExportButton as sm, useLogin as cm, TextInput as Or, PasswordInput as fu, FieldTitle as um, useShowController as dm, Show as pm, FormTab as fm, getTabbedFormTabFullPath as mm, TabbedFormTabs as hm, Toolbar as mu, defaultTheme as zr, BooleanField as gm, ImageInput as bm, ImageField as vm, FileInput as ym, BooleanInput as Om, ReferenceInput as hu, useChoicesContext as xm, AutocompleteInput as Sm, SelectInput as Em, ReferenceArrayInput as Pm, SelectArrayInput as Tm, RadioButtonGroupInput as gu, useRecordSelection as bu, Datagrid as Cm, NumberInput as Fm, DateInput as wm, DateTimeInput as Rm } from "react-admin";
8
+ import { useTranslate as Ze, useUserMenu as Rf, useResourceDefinitions as kf, AppBar as Mf, UserMenu as $f, Logout as Lf, useDataProvider as nu, useListContext as qr, useNotify as tr, useRedirect as Wo, useRefresh as Af, useResourceContext as qe, useUnselectAll as If, NumberField as Df, DateField as ms, TextField as On, ReferenceField as Nf, Button as ut, useRecordContext as Kt, useInput as au, useGetList as iu, useSafeSetState as Si, Confirm as Ei, Form as Uo, SaveButton as Kn, useCreatePath as Yn, useResourceDefinition as lu, DatagridRoot as _f, DatagridClasses as hs, BulkActionsToolbar as jf, SimpleList as Vf, useGetOne as su, required as Bf, minValue as zf, TopToolbar as cu, ListButton as Hf, ShowButton as Wf, useCreateController as Uf, CreateContextProvider as Gf, useSaveContext as qf, Create as Kf, useListController as Yf, ListContextProvider as Qf, List as uu, useDelete as Xf, useEditController as Zf, Edit as Jf, SimpleForm as em, useSidebarState as du, Menu as tm, DashboardMenuItem as rm, MenuItemLink as pu, Layout as om, FilterContext as nm, sanitizeListRestProps as am, FilterButton as im, CreateButton as lm, ExportButton as sm, useLogin as cm, TextInput as Or, PasswordInput as fu, FieldTitle as um, useShowController as dm, Show as pm, FormTab as fm, getTabbedFormTabFullPath as mm, TabbedFormTabs as hm, Toolbar as mu, defaultTheme as zr, BooleanField as gm, ImageInput as bm, ImageField as vm, FileInput as ym, BooleanInput as Om, ReferenceInput as hu, useChoicesContext as xm, AutocompleteInput as Sm, SelectInput as Em, ReferenceArrayInput as Pm, SelectArrayInput as Tm, RadioButtonGroupInput as gu, useRecordSelection as bu, Datagrid as Cm, NumberInput as Fm, DateInput as wm, DateTimeInput as Rm } from "react-admin";
9
9
  import { Link as Ro, useNavigate as km, Routes as Pi, Route as Ti, useLocation as Qn, matchPath as Ka, useResolvedPath as Mm } from "react-router-dom";
10
10
  import { DataGridPremium as Ci, useGridApiContext as Fi, useGridApiRef as vu, useKeepGroupedColumnsHidden as yu, GridActionsCellItem as gs } from "@mui/x-data-grid-premium";
11
- import { useFormContext as Kt, useFormState as $m } from "react-hook-form";
11
+ import { useFormContext as $t, useFormState as $m } from "react-hook-form";
12
12
  import { useDispatch as wr, useSelector as wi } from "react-redux";
13
13
  import { useMutation as Lm, useQueryClient as Ou } from "react-query";
14
14
  import * as Am from "react-dom";
@@ -309,12 +309,12 @@ function ys(...e) {
309
309
  });
310
310
  }
311
311
  o(ys, "createChainedFunction$1");
312
- function Bt(e) {
312
+ function zt(e) {
313
313
  return e && e.ownerDocument || document;
314
314
  }
315
- o(Bt, "ownerDocument$1");
315
+ o(zt, "ownerDocument$1");
316
316
  function Mi(e) {
317
- return Bt(e).defaultView || window;
317
+ return zt(e).defaultView || window;
318
318
  }
319
319
  o(Mi, "ownerWindow$1");
320
320
  function Xa(e, t) {
@@ -1447,10 +1447,10 @@ function $o(e, t, r) {
1447
1447
  return e.slice(t, r);
1448
1448
  }
1449
1449
  o($o, "substr");
1450
- function Dt(e) {
1450
+ function Nt(e) {
1451
1451
  return e.length;
1452
1452
  }
1453
- o(Dt, "strlen");
1453
+ o(Nt, "strlen");
1454
1454
  function ji(e) {
1455
1455
  return e.length;
1456
1456
  }
@@ -1484,10 +1484,10 @@ function dt() {
1484
1484
  return We = it < _u ? Ye(lo, it++) : 0, Qr++, We === 10 && (Qr = 1, aa++), We;
1485
1485
  }
1486
1486
  o(dt, "next");
1487
- function zt() {
1487
+ function Ht() {
1488
1488
  return Ye(lo, it);
1489
1489
  }
1490
- o(zt, "peek");
1490
+ o(Ht, "peek");
1491
1491
  function xn() {
1492
1492
  return it;
1493
1493
  }
@@ -1530,7 +1530,7 @@ function Lo(e) {
1530
1530
  }
1531
1531
  o(Lo, "token");
1532
1532
  function ju(e) {
1533
- return aa = Qr = 1, _u = Dt(lo = e), it = 0, [];
1533
+ return aa = Qr = 1, _u = Nt(lo = e), it = 0, [];
1534
1534
  }
1535
1535
  o(ju, "alloc");
1536
1536
  function Vu(e) {
@@ -1542,7 +1542,7 @@ function Sn(e) {
1542
1542
  }
1543
1543
  o(Sn, "delimit");
1544
1544
  function og(e) {
1545
- for (; (We = zt()) && We < 33; )
1545
+ for (; (We = Ht()) && We < 33; )
1546
1546
  dt();
1547
1547
  return Lo(e) > 2 || Lo(We) > 3 ? "" : " ";
1548
1548
  }
@@ -1550,7 +1550,7 @@ o(og, "whitespace");
1550
1550
  function ng(e, t) {
1551
1551
  for (; --t && dt() && !(We < 48 || We > 102 || We > 57 && We < 65 || We > 70 && We < 97); )
1552
1552
  ;
1553
- return Yo(e, xn() + (t < 6 && zt() == 32 && dt() == 32));
1553
+ return Yo(e, xn() + (t < 6 && Ht() == 32 && dt() == 32));
1554
1554
  }
1555
1555
  o(ng, "escaping");
1556
1556
  function Ja(e) {
@@ -1574,13 +1574,13 @@ function Ja(e) {
1574
1574
  o(Ja, "delimiter");
1575
1575
  function ag(e, t) {
1576
1576
  for (; dt() && e + We !== 57; )
1577
- if (e + We === 84 && zt() === 47)
1577
+ if (e + We === 84 && Ht() === 47)
1578
1578
  break;
1579
1579
  return "/*" + Yo(t, it - 1) + "*" + na(e === 47 ? e : dt());
1580
1580
  }
1581
1581
  o(ag, "commenter");
1582
1582
  function ig(e) {
1583
- for (; !Lo(zt()); )
1583
+ for (; !Lo(Ht()); )
1584
1584
  dt();
1585
1585
  return Yo(e, it);
1586
1586
  }
@@ -1612,7 +1612,7 @@ function En(e, t, r, n, i, l, s, c, u) {
1612
1612
  F += ng(xn() - 1, 7);
1613
1613
  continue;
1614
1614
  case 47:
1615
- switch (zt()) {
1615
+ switch (Ht()) {
1616
1616
  case 42:
1617
1617
  case 47:
1618
1618
  un(sg(ag(dt(), xn()), t, r), u);
@@ -1622,7 +1622,7 @@ function En(e, t, r, n, i, l, s, c, u) {
1622
1622
  }
1623
1623
  break;
1624
1624
  case 123 * g:
1625
- c[d++] = Dt(F) * T;
1625
+ c[d++] = Nt(F) * T;
1626
1626
  case 125 * g:
1627
1627
  case 59:
1628
1628
  case 0:
@@ -1631,7 +1631,7 @@ function En(e, t, r, n, i, l, s, c, u) {
1631
1631
  case 125:
1632
1632
  y = 0;
1633
1633
  case 59 + p:
1634
- T == -1 && (F = xe(F, /\f/g, "")), b > 0 && Dt(F) - h && un(b > 32 ? Ps(F + ";", n, r, h - 1) : Ps(xe(F, " ", "") + ";", n, r, h - 2), u);
1634
+ T == -1 && (F = xe(F, /\f/g, "")), b > 0 && Nt(F) - h && un(b > 32 ? Ps(F + ";", n, r, h - 1) : Ps(xe(F, " ", "") + ";", n, r, h - 2), u);
1635
1635
  break;
1636
1636
  case 59:
1637
1637
  F += ";";
@@ -1654,7 +1654,7 @@ function En(e, t, r, n, i, l, s, c, u) {
1654
1654
  d = p = b = 0, g = T = 1, E = F = "", h = s;
1655
1655
  break;
1656
1656
  case 58:
1657
- h = 1 + Dt(F), b = v;
1657
+ h = 1 + Nt(F), b = v;
1658
1658
  default:
1659
1659
  if (g < 1) {
1660
1660
  if (C == 123)
@@ -1667,13 +1667,13 @@ function En(e, t, r, n, i, l, s, c, u) {
1667
1667
  T = p > 0 ? 1 : (F += "\f", -1);
1668
1668
  break;
1669
1669
  case 44:
1670
- c[d++] = (Dt(F) - 1) * T, T = 1;
1670
+ c[d++] = (Nt(F) - 1) * T, T = 1;
1671
1671
  break;
1672
1672
  case 64:
1673
- zt() === 45 && (F += Sn(dt())), m = zt(), p = h = Dt(E = F += ig(xn())), C++;
1673
+ Ht() === 45 && (F += Sn(dt())), m = Ht(), p = h = Nt(E = F += ig(xn())), C++;
1674
1674
  break;
1675
1675
  case 45:
1676
- v === 45 && Dt(F) == 2 && (g = 0);
1676
+ v === 45 && Nt(F) == 2 && (g = 0);
1677
1677
  }
1678
1678
  }
1679
1679
  return l;
@@ -1714,7 +1714,7 @@ function cg(e, t, r, n) {
1714
1714
  case Ni:
1715
1715
  e.value = e.props.join(",");
1716
1716
  }
1717
- return Dt(r = Wr(e.children, n)) ? e.return = e.value + "{" + r + "}" : "";
1717
+ return Nt(r = Wr(e.children, n)) ? e.return = e.value + "{" + r + "}" : "";
1718
1718
  }
1719
1719
  o(cg, "stringify");
1720
1720
  function ug(e) {
@@ -1733,7 +1733,7 @@ function dg(e) {
1733
1733
  }
1734
1734
  o(dg, "rulesheet");
1735
1735
  var pg = /* @__PURE__ */ o(function(t, r, n) {
1736
- for (var i = 0, l = 0; i = l, l = zt(), i === 38 && l === 12 && (r[n] = 1), !Lo(l); )
1736
+ for (var i = 0, l = 0; i = l, l = Ht(), i === 38 && l === 12 && (r[n] = 1), !Lo(l); )
1737
1737
  dt();
1738
1738
  return Yo(t, it);
1739
1739
  }, "identifierWithPointTracking"), fg = /* @__PURE__ */ o(function(t, r) {
@@ -1741,14 +1741,14 @@ var pg = /* @__PURE__ */ o(function(t, r, n) {
1741
1741
  do
1742
1742
  switch (Lo(i)) {
1743
1743
  case 0:
1744
- i === 38 && zt() === 12 && (r[n] = 1), t[n] += pg(it - 1, r, n);
1744
+ i === 38 && Ht() === 12 && (r[n] = 1), t[n] += pg(it - 1, r, n);
1745
1745
  break;
1746
1746
  case 2:
1747
1747
  t[n] += Sn(i);
1748
1748
  break;
1749
1749
  case 4:
1750
1750
  if (i === 44) {
1751
- t[++n] = zt() === 58 ? "&\f" : "", r[n] = t[n].length;
1751
+ t[++n] = Ht() === 58 ? "&\f" : "", r[n] = t[n].length;
1752
1752
  break;
1753
1753
  }
1754
1754
  default:
@@ -1895,7 +1895,7 @@ function zu(e, t) {
1895
1895
  case 5789:
1896
1896
  case 5021:
1897
1897
  case 4765:
1898
- if (Dt(e) - 1 - t > 6) switch (Ye(e, t + 1)) {
1898
+ if (Nt(e) - 1 - t > 6) switch (Ye(e, t + 1)) {
1899
1899
  case 109:
1900
1900
  if (Ye(e, t + 4) !== 45) break;
1901
1901
  case 102:
@@ -1907,7 +1907,7 @@ function zu(e, t) {
1907
1907
  case 4949:
1908
1908
  if (Ye(e, t + 1) !== 115) break;
1909
1909
  case 6444:
1910
- switch (Ye(e, Dt(e) - 3 - (~Za(e, "!important") && 10))) {
1910
+ switch (Ye(e, Nt(e) - 3 - (~Za(e, "!important") && 10))) {
1911
1911
  case 107:
1912
1912
  return xe(e, ":", ":" + Oe) + e;
1913
1913
  case 101:
@@ -4475,7 +4475,7 @@ function yd({
4475
4475
  return [c, u];
4476
4476
  }
4477
4477
  o(yd, "useControlled");
4478
- function Vt(e) {
4478
+ function Bt(e) {
4479
4479
  const t = S.useRef(e);
4480
4480
  return Jo(() => {
4481
4481
  t.current = e;
@@ -4484,7 +4484,7 @@ function Vt(e) {
4484
4484
  (0, t.current)(...r)
4485
4485
  )).current;
4486
4486
  }
4487
- o(Vt, "useEventCallback");
4487
+ o(Bt, "useEventCallback");
4488
4488
  function xt(...e) {
4489
4489
  return S.useMemo(() => e.every((t) => t == null) ? null : (t) => {
4490
4490
  e.forEach((r) => {
@@ -4623,7 +4623,7 @@ const _v = {
4623
4623
  unstable_useId: Qi,
4624
4624
  unsupportedProp: vd,
4625
4625
  useControlled: yd,
4626
- useEventCallback: Vt,
4626
+ useEventCallback: Bt,
4627
4627
  useForkRef: xt,
4628
4628
  useIsFocusVisible: ma
4629
4629
  }, Symbol.toStringTag, { value: "Module" })), Vv = /* @__PURE__ */ Yt(jv);
@@ -5324,7 +5324,7 @@ function kt(e) {
5324
5324
  }
5325
5325
  o(kt, "useSlotProps");
5326
5326
  function Hy(e) {
5327
- const t = Bt(e);
5327
+ const t = zt(e);
5328
5328
  return t.body === e ? Mi(e).innerWidth > t.documentElement.clientWidth : e.scrollHeight > e.clientHeight;
5329
5329
  }
5330
5330
  o(Hy, "isOverflowing");
@@ -5358,13 +5358,13 @@ function Uy(e, t) {
5358
5358
  const r = [], n = e.container;
5359
5359
  if (!t.disableScrollLock) {
5360
5360
  if (Hy(n)) {
5361
- const s = zm(Bt(n));
5361
+ const s = zm(zt(n));
5362
5362
  r.push({
5363
5363
  value: n.style.paddingRight,
5364
5364
  property: "padding-right",
5365
5365
  el: n
5366
5366
  }), n.style.paddingRight = `${dc(n) + s}px`;
5367
- const c = Bt(n).querySelectorAll(".mui-fixed");
5367
+ const c = zt(n).querySelectorAll(".mui-fixed");
5368
5368
  [].forEach.call(c, (u) => {
5369
5369
  r.push({
5370
5370
  value: u.style.paddingRight,
@@ -5375,7 +5375,7 @@ function Uy(e, t) {
5375
5375
  }
5376
5376
  let l;
5377
5377
  if (n.parentNode instanceof DocumentFragment)
5378
- l = Bt(n).body;
5378
+ l = zt(n).body;
5379
5379
  else {
5380
5380
  const s = n.parentElement, c = Mi(n);
5381
5381
  l = (s == null ? void 0 : s.nodeName) === "HTML" && c.getComputedStyle(s).overflowY === "scroll" ? s : n;
@@ -5480,7 +5480,7 @@ function Qy(e) {
5480
5480
  } = e, m = S.useRef({}), b = S.useRef(null), v = S.useRef(null), g = Kr(v, h), [y, T] = S.useState(!p), C = Ky(u);
5481
5481
  let E = !0;
5482
5482
  (e["aria-hidden"] === "false" || e["aria-hidden"] === !1) && (E = !1);
5483
- const x = /* @__PURE__ */ o(() => Bt(b.current), "getDoc"), O = /* @__PURE__ */ o(() => (m.current.modalRef = v.current, m.current.mount = b.current, m.current), "getModal"), w = /* @__PURE__ */ o(() => {
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);
@@ -5629,7 +5629,7 @@ function Nn(e) {
5629
5629
  }, [r, c]), S.useEffect(() => {
5630
5630
  if (!c || !v.current)
5631
5631
  return;
5632
- const E = Bt(v.current);
5632
+ const E = zt(v.current);
5633
5633
  return v.current.contains(E.activeElement) || (v.current.hasAttribute("tabIndex") || (process.env.NODE_ENV !== "production" && console.error(["MUI: The modal content node does not accept focus.", 'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
5634
5634
  `)), v.current.setAttribute("tabIndex", "-1")), b.current && v.current.focus()), () => {
5635
5635
  i || (h.current && h.current.focus && (u.current = !0, h.current.focus()), h.current = null);
@@ -5637,7 +5637,7 @@ function Nn(e) {
5637
5637
  }, [c]), S.useEffect(() => {
5638
5638
  if (!c || !v.current)
5639
5639
  return;
5640
- const E = Bt(v.current), x = /* @__PURE__ */ o((F) => {
5640
+ const E = zt(v.current), x = /* @__PURE__ */ o((F) => {
5641
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
5643
  const F = v.current;
@@ -5840,10 +5840,10 @@ process.env.NODE_ENV !== "production" && a.oneOfType([a.string, a.shape({
5840
5840
  exitDone: a.string,
5841
5841
  exitActive: a.string
5842
5842
  })]);
5843
- const _n = jt.createContext(null);
5843
+ const _n = Vt.createContext(null);
5844
5844
  var iO = /* @__PURE__ */ o(function(t) {
5845
5845
  return t.scrollTop;
5846
- }, "forceReflow"), Po = "unmounted", hr = "exited", gr = "entering", jr = "entered", li = "exiting", $t = /* @__PURE__ */ function(e) {
5846
+ }, "forceReflow"), Po = "unmounted", hr = "exited", gr = "entering", jr = "entered", li = "exiting", Lt = /* @__PURE__ */ function(e) {
5847
5847
  $d(t, e);
5848
5848
  function t(n, i) {
5849
5849
  var l;
@@ -5965,14 +5965,14 @@ var iO = /* @__PURE__ */ o(function(t) {
5965
5965
  var c = G(l, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
5966
5966
  return (
5967
5967
  // allows for nested Transitions
5968
- /* @__PURE__ */ jt.createElement(_n.Provider, {
5968
+ /* @__PURE__ */ Vt.createElement(_n.Provider, {
5969
5969
  value: null
5970
- }, typeof s == "function" ? s(i, c) : jt.cloneElement(jt.Children.only(s), c))
5970
+ }, typeof s == "function" ? s(i, c) : Vt.cloneElement(Vt.Children.only(s), c))
5971
5971
  );
5972
5972
  }, "render"), t;
5973
- }(jt.Component);
5974
- $t.contextType = _n;
5975
- $t.propTypes = process.env.NODE_ENV !== "production" ? {
5973
+ }(Vt.Component);
5974
+ Lt.contextType = _n;
5975
+ Lt.propTypes = process.env.NODE_ENV !== "production" ? {
5976
5976
  /**
5977
5977
  * A React reference to DOM element that need to transition:
5978
5978
  * https://stackoverflow.com/a/51127130/4671932
@@ -6144,7 +6144,7 @@ $t.propTypes = process.env.NODE_ENV !== "production" ? {
6144
6144
  function Nr() {
6145
6145
  }
6146
6146
  o(Nr, "noop");
6147
- $t.defaultProps = {
6147
+ Lt.defaultProps = {
6148
6148
  in: !1,
6149
6149
  mountOnEnter: !1,
6150
6150
  unmountOnExit: !1,
@@ -6158,11 +6158,11 @@ $t.defaultProps = {
6158
6158
  onExiting: Nr,
6159
6159
  onExited: Nr
6160
6160
  };
6161
- $t.UNMOUNTED = Po;
6162
- $t.EXITED = hr;
6163
- $t.ENTERING = gr;
6164
- $t.ENTERED = jr;
6165
- $t.EXITING = li;
6161
+ Lt.UNMOUNTED = Po;
6162
+ Lt.EXITED = hr;
6163
+ Lt.ENTERING = gr;
6164
+ Lt.ENTERED = jr;
6165
+ Lt.EXITING = li;
6166
6166
  function lO(e) {
6167
6167
  if (e === void 0)
6168
6168
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
@@ -6291,13 +6291,13 @@ var dO = Object.values || function(e) {
6291
6291
  }));
6292
6292
  }, "handleExited"), r.render = /* @__PURE__ */ o(function() {
6293
6293
  var i = this.props, l = i.component, s = i.childFactory, c = G(i, ["component", "childFactory"]), u = this.state.contextValue, d = dO(this.state.children).map(s);
6294
- return delete c.appear, delete c.enter, delete c.exit, l === null ? /* @__PURE__ */ jt.createElement(_n.Provider, {
6294
+ return delete c.appear, delete c.enter, delete c.exit, l === null ? /* @__PURE__ */ Vt.createElement(_n.Provider, {
6295
6295
  value: u
6296
- }, d) : /* @__PURE__ */ jt.createElement(_n.Provider, {
6296
+ }, d) : /* @__PURE__ */ Vt.createElement(_n.Provider, {
6297
6297
  value: u
6298
- }, /* @__PURE__ */ jt.createElement(l, c, d));
6298
+ }, /* @__PURE__ */ Vt.createElement(l, c, d));
6299
6299
  }, "render"), t;
6300
- }(jt.Component);
6300
+ }(Vt.Component);
6301
6301
  il.propTypes = process.env.NODE_ENV !== "production" ? {
6302
6302
  /**
6303
6303
  * `<TransitionGroup>` renders a `<div>` by default. You can change this
@@ -6393,7 +6393,7 @@ const fO = ["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: C = $t
6396
+ TransitionComponent: C = Lt
6397
6397
  } = t, E = G(t, fO), x = S.useRef(null), O = xt(x, c.ref, r), w = /* @__PURE__ */ o((_) => (j) => {
6398
6398
  if (_) {
6399
6399
  const I = x.current;
@@ -14649,7 +14649,7 @@ const Dd = Fr(), va = /* @__PURE__ */ o(({ children: e }) => {
14649
14649
  etrs: g
14650
14650
  };
14651
14651
  }, "useUtilsSubmit"), Qt = /* @__PURE__ */ o((e) => {
14652
- const t = jd(), r = Vd(), n = Bd(), i = zd(), l = Hd(), s = Wd(), c = an(), u = tr(), d = Wo(), p = Kt(), h = qe(e), m = ya(), { propsContenidos: b, setPropsContenidos: v } = vl(), [g] = hl(h), y = e.etrs || {}, T = e.asisEtr || {}, C = p == null ? void 0 : p.trigger;
14652
+ const t = jd(), r = Vd(), n = Bd(), i = zd(), l = Hd(), s = Wd(), c = an(), u = tr(), d = Wo(), p = $t(), h = qe(e), m = ya(), { propsContenidos: b, setPropsContenidos: v } = vl(), [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,
@@ -14955,7 +14955,7 @@ const Dd = Fr(), va = /* @__PURE__ */ o(({ children: e }) => {
14955
14955
  opacity: 0.6,
14956
14956
  position: "relative"
14957
14957
  }, y0 = /* @__PURE__ */ o((e) => {
14958
- const t = Kt(), r = an(), n = r.open ? v0 : b0;
14958
+ const t = $t(), r = an(), n = r.open ? v0 : b0;
14959
14959
  return /* @__PURE__ */ f(fo.Provider, { value: { form: t }, children: /* @__PURE__ */ B(
14960
14960
  Sf,
14961
14961
  {
@@ -15050,7 +15050,7 @@ const Dd = Fr(), va = /* @__PURE__ */ o(({ children: e }) => {
15050
15050
  enviarTodo: s,
15051
15051
  onBeforeSubmitAsistente: c = eo,
15052
15052
  onAfterSubmitAsistente: u = eo
15053
- } = e, [d, p] = Si(!1), h = qe(e), m = Kt(), b = Fi(), v = qd({ apiRef: b, source: l, enviarTodo: s }), g = "N", {
15053
+ } = e, [d, p] = Si(!1), h = qe(e), m = $t(), b = Fi(), v = qd({ apiRef: b, source: l, enviarTodo: s }), g = "N", {
15054
15054
  estado: y,
15055
15055
  fichaProps: { etrs: T }
15056
15056
  } = me(Ge), C = me(fo), E = Qt({ etrs: T, asisEtr: C }), O = Ze()("ra.action.create");
@@ -15113,7 +15113,7 @@ const Dd = Fr(), va = /* @__PURE__ */ o(({ children: e }) => {
15113
15113
  enviarTodo: c,
15114
15114
  onBeforeSubmitAsistente: u = eo,
15115
15115
  onAfterSubmitAsistente: d = eo
15116
- } = e, p = Ze(), [h, m] = Si(!1), b = Fi(), v = Kt(), g = Kd({ apiRef: b, source: l, enviarTodo: c }), y = "M", {
15116
+ } = e, p = Ze(), [h, m] = Si(!1), b = Fi(), v = $t(), g = Kd({ apiRef: b, source: l, enviarTodo: c }), y = "M", {
15117
15117
  estado: T,
15118
15118
  fichaProps: { etrs: C }
15119
15119
  } = me(Ge), E = me(fo), x = Qt({ etrs: C, asisEtr: E }), O = p("ra.action.edit");
@@ -15175,11 +15175,11 @@ const Dd = Fr(), va = /* @__PURE__ */ o(({ children: e }) => {
15175
15175
  enviarTodo: l,
15176
15176
  onBeforeSubmitAsistente: s = eo,
15177
15177
  onAfterSubmitAsistente: c = eo
15178
- } = e, [u, d] = Si(!1), p = Fi(), h = Kt(), m = Yd({ apiRef: p, source: i, enviarTodo: l }), {
15178
+ } = e, [u, d] = Si(!1), p = Fi(), h = $t(), m = Yd({ apiRef: p, source: i, enviarTodo: l }), {
15179
15179
  estado: b,
15180
15180
  fichaProps: { etrs: v }
15181
15181
  } = me(Ge), g = Qt({ etrs: v });
15182
- return /* @__PURE__ */ B(Ut, { children: [
15182
+ return /* @__PURE__ */ B(Gt, { children: [
15183
15183
  /* @__PURE__ */ f(
15184
15184
  h0,
15185
15185
  {
@@ -15222,7 +15222,7 @@ const Dd = Fr(), va = /* @__PURE__ */ o(({ children: e }) => {
15222
15222
  sxContainer: b = {},
15223
15223
  filter: v,
15224
15224
  ...g
15225
- } = e, [y, T] = Ue([]), C = qt(e), E = Kt(), { field: x } = au({ defaultValue: "", ...e }), {
15225
+ } = e, [y, T] = Ue([]), C = Kt(e), E = $t(), { field: x } = au({ defaultValue: "", ...e }), {
15226
15226
  isLoading: O,
15227
15227
  fichaProps: { [m]: w }
15228
15228
  } = me(Ge), F = wi((Q) => {
@@ -15349,7 +15349,7 @@ const Dd = Fr(), va = /* @__PURE__ */ o(({ children: e }) => {
15349
15349
  marginTop: 1,
15350
15350
  ...b
15351
15351
  },
15352
- children: /* @__PURE__ */ f(Jc, { injectFirst: !0, children: /* @__PURE__ */ f(el, { theme: E0, children: /* @__PURE__ */ B(Ut, { children: [
15352
+ children: /* @__PURE__ */ f(Jc, { injectFirst: !0, children: /* @__PURE__ */ f(el, { theme: E0, children: /* @__PURE__ */ B(Gt, { children: [
15353
15353
  /* @__PURE__ */ f(
15354
15354
  Ci,
15355
15355
  {
@@ -15397,7 +15397,7 @@ const Dd = Fr(), va = /* @__PURE__ */ o(({ children: e }) => {
15397
15397
  enableLoad: l = !0,
15398
15398
  initialState: s,
15399
15399
  ...c
15400
- } = e, { isLoading: u } = me(Ge), d = qt(), [p, h] = Ue(r), [{ field: m, sort: b }] = r, v = Mt(
15400
+ } = e, { isLoading: u } = me(Ge), d = Kt(), [p, h] = Ue(r), [{ field: m, sort: b }] = r, v = Mt(
15401
15401
  () => [...n],
15402
15402
  [JSON.stringify(n)]
15403
15403
  );
@@ -15712,7 +15712,7 @@ const tp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
15712
15712
  style: E,
15713
15713
  timeout: x = l,
15714
15714
  // eslint-disable-next-line react/prop-types
15715
- TransitionComponent: O = $t
15715
+ TransitionComponent: O = Lt
15716
15716
  } = t, w = G(t, I0), F = S.useRef(null), L = xt(u.ref, F, r), R = /* @__PURE__ */ o((k) => (H) => {
15717
15717
  k && (H === void 0 ? k(F.current) : k(F.current, H));
15718
15718
  }, "normalizedTransitionCallback"), M = R((k, H) => {
@@ -16018,7 +16018,7 @@ const B0 = S.forwardRef(/* @__PURE__ */ o(function(t, r) {
16018
16018
  maxWidth: p === "vista" ? "lg" : "sm",
16019
16019
  TransitionComponent: B0,
16020
16020
  ...y,
16021
- children: p === "form" ? (/* @__PURE__ */ o(() => /* @__PURE__ */ B(Ut, { children: [
16021
+ children: p === "form" ? (/* @__PURE__ */ o(() => /* @__PURE__ */ B(Gt, { children: [
16022
16022
  /* @__PURE__ */ f(ru, { id: "draggable-dialog-title", children: s }),
16023
16023
  /* @__PURE__ */ B(Uo, { resource: r, onSubmit: u, children: [
16024
16024
  /* @__PURE__ */ f(Ef, { dividers: v, variant: "dense", children: /* @__PURE__ */ f(eu, { spacing: 2, children: c }) }),
@@ -16057,7 +16057,7 @@ const B0 = S.forwardRef(/* @__PURE__ */ o(function(t, r) {
16057
16057
  )
16058
16058
  ] })
16059
16059
  ] })
16060
- ] }), "getDialogForm"))() : (/* @__PURE__ */ o(() => /* @__PURE__ */ B(Ut, { children: [
16060
+ ] }), "getDialogForm"))() : (/* @__PURE__ */ o(() => /* @__PURE__ */ B(Gt, { children: [
16061
16061
  /* @__PURE__ */ f(Jd, { sx: { position: "relative" }, children: /* @__PURE__ */ B(rp, { disableGutters: !0, variant: "dense", children: [
16062
16062
  /* @__PURE__ */ f(
16063
16063
  sr,
@@ -16155,7 +16155,7 @@ const B0 = S.forwardRef(/* @__PURE__ */ o(function(t, r) {
16155
16155
  label: r = "ra.action.create",
16156
16156
  scrollToTop: n = !0,
16157
16157
  ...i
16158
- } = e, l = qe(e), s = qt(e), c = Yn();
16158
+ } = e, l = qe(e), s = Kt(e), c = Yn();
16159
16159
  return /* @__PURE__ */ f(
16160
16160
  El,
16161
16161
  {
@@ -16189,7 +16189,7 @@ const Q0 = /* @__PURE__ */ o((e) => e.stopPropagation(), "stopPropagation$1"), X
16189
16189
  label: r = "ra.action.edit",
16190
16190
  scrollToTop: n = !0,
16191
16191
  ...i
16192
- } = e, l = qe(e), s = qt(e), c = Yn();
16192
+ } = e, l = qe(e), s = Kt(e), c = Yn();
16193
16193
  return s ? /* @__PURE__ */ f(
16194
16194
  El,
16195
16195
  {
@@ -16219,7 +16219,7 @@ const oE = /* @__PURE__ */ o((e) => {
16219
16219
  resource: i,
16220
16220
  scrollToTop: l = !0,
16221
16221
  ...s
16222
- } = e, c = qe(e), u = qt(e), d = Yn();
16222
+ } = e, c = qe(e), u = Kt(e), d = Yn();
16223
16223
  return u ? /* @__PURE__ */ f(
16224
16224
  El,
16225
16225
  {
@@ -16418,7 +16418,7 @@ const oE = /* @__PURE__ */ o((e) => {
16418
16418
  }, "handleSelectionChange"), ae = /* @__PURE__ */ o((U) => {
16419
16419
  j(v(U), _);
16420
16420
  }, "handleFilterChange");
16421
- return /* @__PURE__ */ B(Ut, { children: [
16421
+ return /* @__PURE__ */ B(Gt, { children: [
16422
16422
  /* @__PURE__ */ f(Sl, { isLoading: $ }),
16423
16423
  /* @__PURE__ */ B(_f, { sx: i, className: hs.root, children: [
16424
16424
  ne ? /* @__PURE__ */ f(jf, { selectedIds: N, children: n }) : null,
@@ -16523,7 +16523,7 @@ const oE = /* @__PURE__ */ o((e) => {
16523
16523
  }) })
16524
16524
  ] }), "primaryText");
16525
16525
  }
16526
- return /* @__PURE__ */ B(Ut, { children: [
16526
+ return /* @__PURE__ */ B(Gt, { children: [
16527
16527
  /* @__PURE__ */ f(Sl, { isLoading: p }),
16528
16528
  /* @__PURE__ */ f(
16529
16529
  Vf,
@@ -17193,24 +17193,24 @@ const wE = he("MuiButtonBase", ["root", "disabled", "focusVisible"]), RE = ["act
17193
17193
  S.useEffect(() => {
17194
17194
  ae && m && !p && oe && k.current.pulsate();
17195
17195
  }, [p, m, ae, oe]);
17196
- function ee(Z, Je, At = h) {
17197
- return Vt((It) => (Je && Je(It), !At && k.current && k.current[Z](It), !0));
17196
+ function ee(Z, Je, It = h) {
17197
+ return Bt((Dt) => (Je && Je(Dt), !It && k.current && k.current[Z](Dt), !0));
17198
17198
  }
17199
17199
  o(ee, "useRippleHandler");
17200
17200
  const ue = ee("start", w), Q = ee("stop", y), z = ee("stop", T), X = ee("stop", L), D = ee("stop", (Z) => {
17201
17201
  ae && Z.preventDefault(), F && F(Z);
17202
17202
  }), re = ee("start", $), ke = ee("stop", R), Fe = ee("stop", M), fe = ee("stop", (Z) => {
17203
17203
  ne(Z), te.current === !1 && U(!1), v && v(Z);
17204
- }, !1), et = Vt((Z) => {
17204
+ }, !1), et = Bt((Z) => {
17205
17205
  V.current || (V.current = Z.currentTarget), ge(Z), te.current === !0 && (U(!0), E && E(Z)), C && C(Z);
17206
17206
  }), se = /* @__PURE__ */ o(() => {
17207
17207
  const Z = V.current;
17208
17208
  return u && u !== "button" && !(Z.tagName === "A" && Z.href);
17209
- }, "isNonNativeButton"), ze = S.useRef(!1), He = Vt((Z) => {
17209
+ }, "isNonNativeButton"), ze = S.useRef(!1), He = Bt((Z) => {
17210
17210
  m && !ze.current && ae && k.current && Z.key === " " && (ze.current = !0, k.current.stop(Z, () => {
17211
17211
  k.current.start(Z);
17212
17212
  })), 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));
17213
- }), tt = Vt((Z) => {
17213
+ }), tt = Bt((Z) => {
17214
17214
  m && Z.key === " " && k.current && ae && !Z.defaultPrevented && (ze.current = !1, k.current.stop(Z, () => {
17215
17215
  k.current.pulsate(Z);
17216
17216
  })), O && O(Z), g && Z.target === Z.currentTarget && se() && Z.key === " " && !Z.defaultPrevented && g(Z);
@@ -17224,7 +17224,7 @@ const wE = he("MuiButtonBase", ["root", "disabled", "focusVisible"]), RE = ["act
17224
17224
  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(`
17225
17225
  `));
17226
17226
  }, [ie]);
17227
- const Lt = P({}, n, {
17227
+ const At = P({}, n, {
17228
17228
  centerRipple: l,
17229
17229
  component: u,
17230
17230
  disabled: d,
@@ -17233,11 +17233,11 @@ const wE = he("MuiButtonBase", ["root", "disabled", "focusVisible"]), RE = ["act
17233
17233
  focusRipple: m,
17234
17234
  tabIndex: N,
17235
17235
  focusVisible: ae
17236
- }), Xt = kE(Lt);
17236
+ }), Xt = kE(At);
17237
17237
  return /* @__PURE__ */ B(ME, P({
17238
17238
  as: Me,
17239
17239
  className: K(Xt.root, c),
17240
- ownerState: Lt,
17240
+ ownerState: At,
17241
17241
  onBlur: fe,
17242
17242
  onClick: g,
17243
17243
  onContextMenu: Q,
@@ -18119,7 +18119,7 @@ const pp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
18119
18119
  tabsMeta: Y,
18120
18120
  tabMeta: ce
18121
18121
  };
18122
- }, "getTabsMeta"), se = Vt(() => {
18122
+ }, "getTabsMeta"), se = Bt(() => {
18123
18123
  const {
18124
18124
  tabsMeta: W,
18125
18125
  tabMeta: Y
@@ -18173,7 +18173,7 @@ const pp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
18173
18173
  overflow: null,
18174
18174
  scrollbarWidth: W
18175
18175
  });
18176
- }, []), Lt = /* @__PURE__ */ o(() => {
18176
+ }, []), At = /* @__PURE__ */ o(() => {
18177
18177
  const W = {};
18178
18178
  W.scrollbarSizeListener = A ? /* @__PURE__ */ f(rP, {
18179
18179
  onChange: Ct,
@@ -18207,7 +18207,7 @@ const pp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
18207
18207
  }, F, {
18208
18208
  className: K(ge.scrollButtons, F.className)
18209
18209
  })) : null, W;
18210
- }, "getConditionalElements"), Xt = Vt((W) => {
18210
+ }, "getConditionalElements"), Xt = Bt((W) => {
18211
18211
  const {
18212
18212
  tabsMeta: Y,
18213
18213
  tabMeta: ce
@@ -18225,7 +18225,7 @@ const pp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
18225
18225
  });
18226
18226
  }
18227
18227
  }
18228
- }), Z = Vt(() => {
18228
+ }), Z = Bt(() => {
18229
18229
  A && C !== !1 && X(!z);
18230
18230
  });
18231
18231
  S.useEffect(() => {
@@ -18286,16 +18286,16 @@ const pp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
18286
18286
  ownerState: te,
18287
18287
  style: P({}, oe, w.style)
18288
18288
  }));
18289
- let At = 0;
18290
- const It = S.Children.map(p, (W) => {
18289
+ let It = 0;
18290
+ const Dt = S.Children.map(p, (W) => {
18291
18291
  if (!/* @__PURE__ */ S.isValidElement(W))
18292
18292
  return null;
18293
18293
  process.env.NODE_ENV !== "production" && ko.isFragment(W) && console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
18294
18294
  `));
18295
- const Y = W.props.value === void 0 ? At : W.props.value;
18296
- ke.set(Y, At);
18295
+ const Y = W.props.value === void 0 ? It : W.props.value;
18296
+ ke.set(Y, It);
18297
18297
  const ce = Y === R;
18298
- return At += 1, /* @__PURE__ */ S.cloneElement(W, P({
18298
+ return It += 1, /* @__PURE__ */ S.cloneElement(W, P({
18299
18299
  fullWidth: M === "fullWidth",
18300
18300
  indicator: ce && !ae && Je,
18301
18301
  selected: ce,
@@ -18303,7 +18303,7 @@ const pp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
18303
18303
  onChange: g,
18304
18304
  textColor: L,
18305
18305
  value: Y
18306
- }, At === 1 && R === !1 && !W.props.tabIndex ? {
18306
+ }, It === 1 && R === !1 && !W.props.tabIndex ? {
18307
18307
  tabIndex: 0
18308
18308
  } : {}));
18309
18309
  }), mr = /* @__PURE__ */ o((W) => {
@@ -18325,7 +18325,7 @@ const pp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
18325
18325
  W.preventDefault(), hn(Y, null, Ec);
18326
18326
  break;
18327
18327
  }
18328
- }, "handleKeyDown"), kr = Lt();
18328
+ }, "handleKeyDown"), kr = At();
18329
18329
  return /* @__PURE__ */ B(ZE, P({
18330
18330
  className: K(ge.root, h),
18331
18331
  ownerState: te,
@@ -18349,7 +18349,7 @@ const pp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
18349
18349
  onKeyDown: mr,
18350
18350
  ref: fe,
18351
18351
  role: "tablist",
18352
- children: It
18352
+ children: Dt
18353
18353
  }), ae && Je]
18354
18354
  }), kr.scrollButtonEnd]
18355
18355
  }));
@@ -18511,7 +18511,7 @@ const xR = /* @__PURE__ */ o((e) => {
18511
18511
  GridComponent: l = pE,
18512
18512
  ...s
18513
18513
  } = e, c = t.id;
18514
- return /* @__PURE__ */ B(Ut, { children: [
18514
+ return /* @__PURE__ */ B(Gt, { children: [
18515
18515
  /* @__PURE__ */ f(
18516
18516
  pp,
18517
18517
  {
@@ -18655,7 +18655,7 @@ const cP = {
18655
18655
  nextWeek: "eeee 'at' p",
18656
18656
  other: "P"
18657
18657
  }, mP = /* @__PURE__ */ o((e, t, r, n) => fP[e], "formatRelative$1");
18658
- function Nt(e) {
18658
+ function _t(e) {
18659
18659
  return (t, r) => {
18660
18660
  const n = r != null && r.context ? String(r.context) : "standalone";
18661
18661
  let i;
@@ -18670,7 +18670,7 @@ function Nt(e) {
18670
18670
  return i[l];
18671
18671
  };
18672
18672
  }
18673
- o(Nt, "buildLocalizeFn");
18673
+ o(_t, "buildLocalizeFn");
18674
18674
  const hP = {
18675
18675
  narrow: ["B", "A"],
18676
18676
  abbreviated: ["BC", "AD"],
@@ -18798,31 +18798,31 @@ const hP = {
18798
18798
  return r + "th";
18799
18799
  }, "ordinalNumber$1"), SP = {
18800
18800
  ordinalNumber: xP,
18801
- era: Nt({
18801
+ era: _t({
18802
18802
  values: hP,
18803
18803
  defaultWidth: "wide"
18804
18804
  }),
18805
- quarter: Nt({
18805
+ quarter: _t({
18806
18806
  values: gP,
18807
18807
  defaultWidth: "wide",
18808
18808
  argumentCallback: /* @__PURE__ */ o((e) => e - 1, "argumentCallback")
18809
18809
  }),
18810
- month: Nt({
18810
+ month: _t({
18811
18811
  values: bP,
18812
18812
  defaultWidth: "wide"
18813
18813
  }),
18814
- day: Nt({
18814
+ day: _t({
18815
18815
  values: vP,
18816
18816
  defaultWidth: "wide"
18817
18817
  }),
18818
- dayPeriod: Nt({
18818
+ dayPeriod: _t({
18819
18819
  values: yP,
18820
18820
  defaultWidth: "wide",
18821
18821
  formattingValues: OP,
18822
18822
  defaultFormattingWidth: "wide"
18823
18823
  })
18824
18824
  };
18825
- function _t(e) {
18825
+ function jt(e) {
18826
18826
  return (t, r = {}) => {
18827
18827
  const n = r.width, i = n && e.matchPatterns[n] || e.matchPatterns[e.defaultMatchWidth], l = t.match(i);
18828
18828
  if (!l)
@@ -18840,7 +18840,7 @@ function _t(e) {
18840
18840
  return { value: d, rest: p };
18841
18841
  };
18842
18842
  }
18843
- o(_t, "buildMatchFn");
18843
+ o(jt, "buildMatchFn");
18844
18844
  function EP(e, t) {
18845
18845
  for (const r in e)
18846
18846
  if (Object.prototype.hasOwnProperty.call(e, r) && t(e[r]))
@@ -18939,32 +18939,32 @@ const TP = /^(\d+)(th|st|nd|rd)?/i, CP = /\d+/i, FP = {
18939
18939
  parsePattern: CP,
18940
18940
  valueCallback: /* @__PURE__ */ o((e) => parseInt(e, 10), "valueCallback")
18941
18941
  }),
18942
- era: _t({
18942
+ era: jt({
18943
18943
  matchPatterns: FP,
18944
18944
  defaultMatchWidth: "wide",
18945
18945
  parsePatterns: wP,
18946
18946
  defaultParseWidth: "any"
18947
18947
  }),
18948
- quarter: _t({
18948
+ quarter: jt({
18949
18949
  matchPatterns: RP,
18950
18950
  defaultMatchWidth: "wide",
18951
18951
  parsePatterns: kP,
18952
18952
  defaultParseWidth: "any",
18953
18953
  valueCallback: /* @__PURE__ */ o((e) => e + 1, "valueCallback")
18954
18954
  }),
18955
- month: _t({
18955
+ month: jt({
18956
18956
  matchPatterns: MP,
18957
18957
  defaultMatchWidth: "wide",
18958
18958
  parsePatterns: $P,
18959
18959
  defaultParseWidth: "any"
18960
18960
  }),
18961
- day: _t({
18961
+ day: jt({
18962
18962
  matchPatterns: LP,
18963
18963
  defaultMatchWidth: "wide",
18964
18964
  parsePatterns: AP,
18965
18965
  defaultParseWidth: "any"
18966
18966
  }),
18967
- dayPeriod: _t({
18967
+ dayPeriod: jt({
18968
18968
  matchPatterns: IP,
18969
18969
  defaultMatchWidth: "any",
18970
18970
  parsePatterns: DP,
@@ -19204,24 +19204,24 @@ const TP = /^(\d+)(th|st|nd|rd)?/i, CP = /\d+/i, FP = {
19204
19204
  }
19205
19205
  }, eT = /* @__PURE__ */ o((e, t) => Number(e) + "º", "ordinalNumber"), tT = {
19206
19206
  ordinalNumber: eT,
19207
- era: Nt({
19207
+ era: _t({
19208
19208
  values: KP,
19209
19209
  defaultWidth: "wide"
19210
19210
  }),
19211
- quarter: Nt({
19211
+ quarter: _t({
19212
19212
  values: YP,
19213
19213
  defaultWidth: "wide",
19214
19214
  argumentCallback: /* @__PURE__ */ o((e) => Number(e) - 1, "argumentCallback")
19215
19215
  }),
19216
- month: Nt({
19216
+ month: _t({
19217
19217
  values: QP,
19218
19218
  defaultWidth: "wide"
19219
19219
  }),
19220
- day: Nt({
19220
+ day: _t({
19221
19221
  values: XP,
19222
19222
  defaultWidth: "wide"
19223
19223
  }),
19224
- dayPeriod: Nt({
19224
+ dayPeriod: _t({
19225
19225
  values: ZP,
19226
19226
  defaultWidth: "wide",
19227
19227
  formattingValues: JP,
@@ -19306,32 +19306,32 @@ const TP = /^(\d+)(th|st|nd|rd)?/i, CP = /\d+/i, FP = {
19306
19306
  return parseInt(e, 10);
19307
19307
  }, "valueCallback")
19308
19308
  }),
19309
- era: _t({
19309
+ era: jt({
19310
19310
  matchPatterns: nT,
19311
19311
  defaultMatchWidth: "wide",
19312
19312
  parsePatterns: aT,
19313
19313
  defaultParseWidth: "any"
19314
19314
  }),
19315
- quarter: _t({
19315
+ quarter: jt({
19316
19316
  matchPatterns: iT,
19317
19317
  defaultMatchWidth: "wide",
19318
19318
  parsePatterns: lT,
19319
19319
  defaultParseWidth: "any",
19320
19320
  valueCallback: /* @__PURE__ */ o((e) => e + 1, "valueCallback")
19321
19321
  }),
19322
- month: _t({
19322
+ month: jt({
19323
19323
  matchPatterns: sT,
19324
19324
  defaultMatchWidth: "wide",
19325
19325
  parsePatterns: cT,
19326
19326
  defaultParseWidth: "any"
19327
19327
  }),
19328
- day: _t({
19328
+ day: jt({
19329
19329
  matchPatterns: uT,
19330
19330
  defaultMatchWidth: "wide",
19331
19331
  parsePatterns: dT,
19332
19332
  defaultParseWidth: "any"
19333
19333
  }),
19334
- dayPeriod: _t({
19334
+ dayPeriod: jt({
19335
19335
  matchPatterns: pT,
19336
19336
  defaultMatchWidth: "any",
19337
19337
  parsePatterns: fT,
@@ -20006,7 +20006,7 @@ const jT = he("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
20006
20006
  color: (e.vars || e).palette.action.disabled
20007
20007
  }
20008
20008
  });
20009
- }), Ht = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
20009
+ }), Wt = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
20010
20010
  const n = ve({
20011
20011
  props: t,
20012
20012
  name: "MuiIconButton"
@@ -20036,7 +20036,7 @@ const jT = he("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
20036
20036
  children: l
20037
20037
  }));
20038
20038
  }, "IconButton"));
20039
- process.env.NODE_ENV !== "production" && (Ht.propTypes = {
20039
+ process.env.NODE_ENV !== "production" && (Wt.propTypes = {
20040
20040
  // ┌────────────────────────────── Warning ──────────────────────────────┐
20041
20041
  // │ These PropTypes are generated from the TypeScript type definitions. │
20042
20042
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -20128,7 +20128,7 @@ const WT = {
20128
20128
  style: v,
20129
20129
  timeout: g = "auto",
20130
20130
  // eslint-disable-next-line react/prop-types
20131
- TransitionComponent: y = $t
20131
+ TransitionComponent: y = Lt
20132
20132
  } = t, T = G(t, HT), C = Vr(), E = S.useRef(), x = Rr(), O = S.useRef(null), w = xt(O, l.ref, r), F = /* @__PURE__ */ o((j) => (I) => {
20133
20133
  if (j) {
20134
20134
  const V = O.current;
@@ -20283,10 +20283,10 @@ var ot = "top", St = "bottom", Et = "right", nt = "left", $l = "auto", ln = [ot,
20283
20283
  }, []), Cp = /* @__PURE__ */ [].concat(ln, [$l]).reduce(function(e, t) {
20284
20284
  return e.concat([t, t + "-" + to, t + "-" + zo]);
20285
20285
  }, []), qT = "beforeRead", KT = "read", YT = "afterRead", QT = "beforeMain", XT = "main", ZT = "afterMain", JT = "beforeWrite", eC = "write", tC = "afterWrite", rC = [qT, KT, YT, QT, XT, ZT, JT, eC, tC];
20286
- function Gt(e) {
20286
+ function qt(e) {
20287
20287
  return e ? (e.nodeName || "").toLowerCase() : null;
20288
20288
  }
20289
- o(Gt, "getNodeName");
20289
+ o(qt, "getNodeName");
20290
20290
  function pt(e) {
20291
20291
  if (e == null)
20292
20292
  return window;
@@ -20318,7 +20318,7 @@ function oC(e) {
20318
20318
  var t = e.state;
20319
20319
  Object.keys(t.elements).forEach(function(r) {
20320
20320
  var n = t.styles[r] || {}, i = t.attributes[r] || {}, l = t.elements[r];
20321
- !yt(l) || !Gt(l) || (Object.assign(l.style, n), Object.keys(i).forEach(function(s) {
20321
+ !yt(l) || !qt(l) || (Object.assign(l.style, n), Object.keys(i).forEach(function(s) {
20322
20322
  var c = i[s];
20323
20323
  c === !1 ? l.removeAttribute(s) : l.setAttribute(s, c === !0 ? "" : c);
20324
20324
  }));
@@ -20343,7 +20343,7 @@ function nC(e) {
20343
20343
  var i = t.elements[n], l = t.attributes[n] || {}, s = Object.keys(t.styles.hasOwnProperty(n) ? t.styles[n] : r[n]), c = s.reduce(function(u, d) {
20344
20344
  return u[d] = "", u;
20345
20345
  }, {});
20346
- !yt(i) || !Gt(i) || (Object.assign(i.style, c), Object.keys(l).forEach(function(u) {
20346
+ !yt(i) || !qt(i) || (Object.assign(i.style, c), Object.keys(l).forEach(function(u) {
20347
20347
  i.removeAttribute(u);
20348
20348
  }));
20349
20349
  });
@@ -20358,10 +20358,10 @@ const aC = {
20358
20358
  effect: nC,
20359
20359
  requires: ["computeStyles"]
20360
20360
  };
20361
- function Wt(e) {
20361
+ function Ut(e) {
20362
20362
  return e.split("-")[0];
20363
20363
  }
20364
- o(Wt, "getBasePlacement");
20364
+ o(Ut, "getBasePlacement");
20365
20365
  var yr = Math.max, Vn = Math.min, ro = Math.round;
20366
20366
  function fi() {
20367
20367
  var e = navigator.userAgentData;
@@ -20421,7 +20421,7 @@ function er(e) {
20421
20421
  }
20422
20422
  o(er, "getComputedStyle");
20423
20423
  function iC(e) {
20424
- return ["table", "td", "th"].indexOf(Gt(e)) >= 0;
20424
+ return ["table", "td", "th"].indexOf(qt(e)) >= 0;
20425
20425
  }
20426
20426
  o(iC, "isTableElement");
20427
20427
  function fr(e) {
@@ -20432,7 +20432,7 @@ function fr(e) {
20432
20432
  }
20433
20433
  o(fr, "getDocumentElement");
20434
20434
  function Ea(e) {
20435
- return Gt(e) === "html" ? e : (
20435
+ return qt(e) === "html" ? e : (
20436
20436
  // this is a quicker (but less type safe) way to save quite some bytes from the bundle
20437
20437
  // $FlowFixMe[incompatible-return]
20438
20438
  // $FlowFixMe[prop-missing]
@@ -20457,7 +20457,7 @@ function lC(e) {
20457
20457
  return null;
20458
20458
  }
20459
20459
  var i = Ea(e);
20460
- for (Ll(i) && (i = i.host); yt(i) && ["html", "body"].indexOf(Gt(i)) < 0; ) {
20460
+ for (Ll(i) && (i = i.host); yt(i) && ["html", "body"].indexOf(qt(i)) < 0; ) {
20461
20461
  var l = er(i);
20462
20462
  if (l.transform !== "none" || l.perspective !== "none" || l.contain === "paint" || ["transform", "perspective"].indexOf(l.willChange) !== -1 || t && l.willChange === "filter" || t && l.filter && l.filter !== "none")
20463
20463
  return i;
@@ -20469,7 +20469,7 @@ o(lC, "getContainingBlock");
20469
20469
  function sn(e) {
20470
20470
  for (var t = pt(e), r = Rc(e); r && iC(r) && er(r).position === "static"; )
20471
20471
  r = Rc(r);
20472
- return r && (Gt(r) === "html" || Gt(r) === "body" && er(r).position === "static") ? t : r || lC(e) || t;
20472
+ return r && (qt(r) === "html" || qt(r) === "body" && er(r).position === "static") ? t : r || lC(e) || t;
20473
20473
  }
20474
20474
  o(sn, "getOffsetParent");
20475
20475
  function Il(e) {
@@ -20510,7 +20510,7 @@ var cC = /* @__PURE__ */ o(function(t, r) {
20510
20510
  })) : t, kp(typeof t != "number" ? t : Mp(t, ln));
20511
20511
  }, "toPaddingObject");
20512
20512
  function uC(e) {
20513
- var t, r = e.state, n = e.name, i = e.options, l = r.elements.arrow, s = r.modifiersData.popperOffsets, c = Wt(r.placement), u = Il(c), d = [nt, Et].indexOf(c) >= 0, p = d ? "height" : "width";
20513
+ var t, r = e.state, n = e.name, i = e.options, l = r.elements.arrow, s = r.modifiersData.popperOffsets, c = Ut(r.placement), u = Il(c), d = [nt, Et].indexOf(c) >= 0, p = d ? "height" : "width";
20514
20514
  if (!(!l || !s)) {
20515
20515
  var h = cC(i.padding, r), m = Al(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;
20516
20516
  r.modifiersData[n] = (t = {}, t[L] = F, t.centerOffset = F - w, t);
@@ -20596,7 +20596,7 @@ function kc(e) {
20596
20596
  o(kc, "mapToStyles");
20597
20597
  function hC(e) {
20598
20598
  var t = e.state, r = e.options, n = r.gpuAcceleration, i = n === void 0 ? !0 : n, l = r.adaptive, s = l === void 0 ? !0 : l, c = r.roundOffsets, u = c === void 0 ? !0 : c, d = {
20599
- placement: Wt(t.placement),
20599
+ placement: Ut(t.placement),
20600
20600
  variation: no(t.placement),
20601
20601
  popper: t.elements.popper,
20602
20602
  popperRect: t.rects.popper,
@@ -20713,7 +20713,7 @@ function _l(e) {
20713
20713
  }
20714
20714
  o(_l, "isScrollParent");
20715
20715
  function $p(e) {
20716
- return ["html", "body", "#document"].indexOf(Gt(e)) >= 0 ? e.ownerDocument.body : yt(e) && _l(e) ? e : $p(Ea(e));
20716
+ return ["html", "body", "#document"].indexOf(qt(e)) >= 0 ? e.ownerDocument.body : yt(e) && _l(e) ? e : $p(Ea(e));
20717
20717
  }
20718
20718
  o($p, "getScrollParent");
20719
20719
  function wo(e, t) {
@@ -20747,7 +20747,7 @@ o($c, "getClientRectFromMixedType");
20747
20747
  function PC(e) {
20748
20748
  var t = wo(Ea(e)), r = ["absolute", "fixed"].indexOf(er(e).position) >= 0, n = r && yt(e) ? sn(e) : e;
20749
20749
  return Cr(n) ? t.filter(function(i) {
20750
- return Cr(i) && wp(i, n) && Gt(i) !== "body";
20750
+ return Cr(i) && wp(i, n) && qt(i) !== "body";
20751
20751
  }) : [];
20752
20752
  }
20753
20753
  o(PC, "getClippingParents");
@@ -20760,7 +20760,7 @@ function TC(e, t, r, n) {
20760
20760
  }
20761
20761
  o(TC, "getClippingRect");
20762
20762
  function Lp(e) {
20763
- var t = e.reference, r = e.element, n = e.placement, i = n ? Wt(n) : null, l = n ? no(n) : null, s = t.x + t.width / 2 - r.width / 2, c = t.y + t.height / 2 - r.height / 2, u;
20763
+ var t = e.reference, r = e.element, n = e.placement, i = n ? Ut(n) : null, l = n ? no(n) : null, s = t.x + t.width / 2 - r.width / 2, c = t.y + t.height / 2 - r.height / 2, u;
20764
20764
  switch (i) {
20765
20765
  case ot:
20766
20766
  u = {
@@ -20844,7 +20844,7 @@ function CC(e, t) {
20844
20844
  boundary: i,
20845
20845
  rootBoundary: l,
20846
20846
  padding: s
20847
- })[Wt(g)], v;
20847
+ })[Ut(g)], v;
20848
20848
  }, {});
20849
20849
  return Object.keys(b).sort(function(v, g) {
20850
20850
  return b[v] - b[g];
@@ -20852,7 +20852,7 @@ function CC(e, t) {
20852
20852
  }
20853
20853
  o(CC, "computeAutoPlacement");
20854
20854
  function FC(e) {
20855
- if (Wt(e) === $l)
20855
+ if (Ut(e) === $l)
20856
20856
  return [];
20857
20857
  var t = Fn(e);
20858
20858
  return [Mc(e), t, Mc(t)];
@@ -20861,8 +20861,8 @@ o(FC, "getExpandedFallbackPlacements");
20861
20861
  function wC(e) {
20862
20862
  var t = e.state, r = e.options, n = e.name;
20863
20863
  if (!t.modifiersData[n]._skip) {
20864
- 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 = Wt(y), C = T === y, E = u || (C || !v ? [Fn(y)] : FC(y)), x = [y].concat(E).reduce(function(ae, U) {
20865
- return ae.concat(Wt(U) === $l ? CC(t, {
20864
+ 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)] : FC(y)), x = [y].concat(E).reduce(function(ae, U) {
20865
+ return ae.concat(Ut(U) === $l ? CC(t, {
20866
20866
  placement: U,
20867
20867
  boundary: p,
20868
20868
  rootBoundary: h,
@@ -20871,7 +20871,7 @@ function wC(e) {
20871
20871
  allowedAutoPlacements: g
20872
20872
  }) : U);
20873
20873
  }, []), O = t.rects.reference, w = t.rects.popper, F = /* @__PURE__ */ new Map(), L = !0, R = x[0], M = 0; M < x.length; M++) {
20874
- var $ = x[M], N = Wt($), A = no($) === to, _ = [ot, St].indexOf(N) >= 0, j = _ ? "width" : "height", I = Ho(t, {
20874
+ var $ = x[M], N = Ut($), A = no($) === to, _ = [ot, St].indexOf(N) >= 0, j = _ ? "width" : "height", I = Ho(t, {
20875
20875
  placement: $,
20876
20876
  boundary: p,
20877
20877
  rootBoundary: h,
@@ -20960,7 +20960,7 @@ const MC = {
20960
20960
  fn: kC
20961
20961
  };
20962
20962
  function $C(e, t, r) {
20963
- var n = Wt(e), i = [nt, ot].indexOf(n) >= 0 ? -1 : 1, l = typeof r == "function" ? r(Object.assign({}, t, {
20963
+ var n = Ut(e), i = [nt, ot].indexOf(n) >= 0 ? -1 : 1, l = typeof r == "function" ? r(Object.assign({}, t, {
20964
20964
  placement: e
20965
20965
  })) : r, s = l[0], c = l[1];
20966
20966
  return s = s || 0, c = (c || 0) * i, [nt, Et].indexOf(n) >= 0 ? {
@@ -21013,7 +21013,7 @@ function _C(e) {
21013
21013
  rootBoundary: d,
21014
21014
  padding: h,
21015
21015
  altBoundary: p
21016
- }), T = Wt(t.placement), C = no(t.placement), E = !C, x = Il(T), O = NC(x), w = t.modifiersData.popperOffsets, F = t.rects.reference, L = t.rects.popper, R = typeof g == "function" ? g(Object.assign({}, t.rects, {
21016
+ }), T = Ut(t.placement), C = no(t.placement), E = !C, x = Il(T), O = NC(x), w = t.modifiersData.popperOffsets, F = t.rects.reference, L = t.rects.popper, R = typeof g == "function" ? g(Object.assign({}, t.rects, {
21017
21017
  placement: t.placement
21018
21018
  })) : g, M = typeof R == "number" ? {
21019
21019
  mainAxis: R,
@@ -21034,7 +21034,7 @@ function _C(e) {
21034
21034
  w[x] = ke, N[x] = ke - V;
21035
21035
  }
21036
21036
  if (c) {
21037
- 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, Lt = Me ? se + F[ze] + L[ze] - rt - M.altAxis : tt, Xt = b && Me ? sC(Ct, se, Lt) : Fo(b ? Ct : He, se, b ? Lt : tt);
21037
+ 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 ? sC(Ct, se, At) : Fo(b ? Ct : He, se, b ? At : tt);
21038
21038
  w[O] = Xt, N[O] = Xt - se;
21039
21039
  }
21040
21040
  t.modifiersData[n] = N;
@@ -21073,7 +21073,7 @@ function HC(e, t, r) {
21073
21073
  x: 0,
21074
21074
  y: 0
21075
21075
  };
21076
- return (n || !n && !r) && ((Gt(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
21076
+ return (n || !n && !r) && ((qt(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
21077
21077
  _l(l)) && (c = BC(t)), yt(t) ? (u = oo(t, !0), u.x += t.clientLeft, u.y += t.clientTop) : l && (u.x = Nl(l))), {
21078
21078
  x: s.left + c.scrollLeft - u.x,
21079
21079
  y: s.top + c.scrollTop - u.y,
@@ -21425,7 +21425,7 @@ const a1 = /* @__PURE__ */ o(() => Hm({
21425
21425
  F = l;
21426
21426
  else if (n) {
21427
21427
  const M = Bn(n);
21428
- F = M && Pa(M) ? Bt(M).body : Bt(null).body;
21428
+ F = M && Pa(M) ? zt(M).body : zt(null).body;
21429
21429
  }
21430
21430
  const L = !p && u && (!g || E) ? "none" : void 0, R = g ? {
21431
21431
  in: p,
@@ -21586,7 +21586,7 @@ var jl = {};
21586
21586
  Object.defineProperty(jl, "__esModule", {
21587
21587
  value: !0
21588
21588
  });
21589
- var _p = jl.default = void 0, s1 = u1(jt), c1 = pd;
21589
+ var _p = jl.default = void 0, s1 = u1(Vt), c1 = pd;
21590
21590
  function jp(e) {
21591
21591
  if (typeof WeakMap != "function") return null;
21592
21592
  var t = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap();
@@ -22012,7 +22012,7 @@ const Bl = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
22012
22012
  TransitionProps: X
22013
22013
  } = w, D = G(w, g1), re = /* @__PURE__ */ S.isValidElement(L) ? L : /* @__PURE__ */ f("span", {
22014
22014
  children: L
22015
- }), ke = Rr(), Fe = ha(), [fe, et] = S.useState(), [se, ze] = S.useState(null), He = S.useRef(!1), tt = _ || H, Me = Vr(), rt = Vr(), Ct = Vr(), Lt = Vr(), [Xt, Z] = yd({
22015
+ }), ke = Rr(), Fe = ha(), [fe, et] = S.useState(), [se, ze] = S.useState(null), He = S.useRef(!1), tt = _ || H, Me = Vr(), rt = Vr(), Ct = Vr(), At = Vr(), [Xt, Z] = yd({
22016
22016
  controlled: U,
22017
22017
  default: !1,
22018
22018
  name: "Tooltip",
@@ -22028,13 +22028,13 @@ const Bl = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
22028
22028
  `));
22029
22029
  }, [Q, fe, le]);
22030
22030
  }
22031
- const At = Qi(te), It = S.useRef(), mr = Vt(() => {
22032
- It.current !== void 0 && (document.body.style.WebkitUserSelect = It.current, It.current = void 0), Lt.clear();
22031
+ const It = Qi(te), Dt = S.useRef(), mr = Bt(() => {
22032
+ Dt.current !== void 0 && (document.body.style.WebkitUserSelect = Dt.current, Dt.current = void 0), At.clear();
22033
22033
  });
22034
22034
  S.useEffect(() => mr, [mr]);
22035
22035
  const kr = /* @__PURE__ */ o((le) => {
22036
22036
  Nc.clear(), bn = !0, Z(!0), ae && !Je && ae(le);
22037
- }, "handleOpen"), W = Vt(
22037
+ }, "handleOpen"), W = Bt(
22038
22038
  /**
22039
22039
  * @param {React.SyntheticEvent | Event} event
22040
22040
  */
@@ -22067,8 +22067,8 @@ const Bl = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
22067
22067
  const st = re.props;
22068
22068
  st.onTouchStart && st.onTouchStart(le);
22069
22069
  }, "detectTouchStart"), uf = /* @__PURE__ */ o((le) => {
22070
- is(le), Ct.clear(), Me.clear(), mr(), It.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", Lt.start(k, () => {
22071
- document.body.style.WebkitUserSelect = It.current, Y(le);
22070
+ is(le), Ct.clear(), Me.clear(), mr(), Dt.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", At.start(k, () => {
22071
+ document.body.style.WebkitUserSelect = Dt.current, Y(le);
22072
22072
  });
22073
22073
  }, "handleTouchStart"), df = /* @__PURE__ */ o((le) => {
22074
22074
  re.props.onTouchEnd && re.props.onTouchEnd(le), mr(), Ct.start(ne, () => {
@@ -22094,7 +22094,7 @@ const Bl = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
22094
22094
  y: le.clientY
22095
22095
  }, Ca.current && Ca.current.update();
22096
22096
  }, "handleMouseMove"), ho = {}, Fa = typeof Q == "string";
22097
- $ ? (ho.title = !Je && Fa && !A ? Q : null, ho["aria-describedby"] = Je ? At : null) : (ho["aria-label"] = Fa ? Q : null, ho["aria-labelledby"] = Je && !Fa ? At : null);
22097
+ $ ? (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);
22098
22098
  const mt = P({}, ho, D, re.props, {
22099
22099
  className: K(D.className, re.props.className),
22100
22100
  onTouchStart: is,
@@ -22152,7 +22152,7 @@ const Bl = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
22152
22152
  } : fe,
22153
22153
  popperRef: Ca,
22154
22154
  open: fe ? Je : !1,
22155
- id: At,
22155
+ id: It,
22156
22156
  transition: !0
22157
22157
  }, go, hf, {
22158
22158
  popperOptions: mf,
@@ -22382,9 +22382,9 @@ const S1 = /* @__PURE__ */ o(({
22382
22382
  icon: i = /* @__PURE__ */ f(ga, {}),
22383
22383
  label: l = "ra.action.delete",
22384
22384
  ...s
22385
- } = e, c = qt(), [u, { isLoading: d }] = Xf(r, { id: c.id });
22385
+ } = e, c = Kt(), [u, { isLoading: d }] = Xf(r, { id: c.id });
22386
22386
  return /* @__PURE__ */ f(Bl, { title: t("ra.action.delete"), children: /* @__PURE__ */ f(
22387
- Ht,
22387
+ Wt,
22388
22388
  {
22389
22389
  disabled: d,
22390
22390
  onClick: /* @__PURE__ */ o(() => u(), "onClick"),
@@ -25026,7 +25026,7 @@ const WF = /* @__PURE__ */ o(({
25026
25026
  )) })
25027
25027
  ] });
25028
25028
  }, "MenuButton"), QR = /* @__PURE__ */ o((e) => {
25029
- const { fields: t, className: r, textAlign: n, sortable: i, ...l } = e, { campos: s, separador: c = "", secundario: u = [], hasSecundario: d } = t, p = qt(), h = s.map((m) => p[m] !== void 0 ? p[m] : m).join(`${c}`);
25029
+ 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}`);
25030
25030
  return /* @__PURE__ */ B(sr, { noWrap: !0, variant: "inherit", className: r, ...l, children: [
25031
25031
  h,
25032
25032
  d && /* @__PURE__ */ f(
@@ -25283,29 +25283,29 @@ const ew = /* @__PURE__ */ o(({
25283
25283
  incluyeAcciones: i = !1,
25284
25284
  resource: l,
25285
25285
  ...s
25286
- } = e, [c, u] = Ue(!1), d = Qt(s), p = tr(), h = we(
25287
- async (m, b, v) => {
25288
- typeof t == "function" ? (u(!0), t(d, b, v, m).finally(() => {
25286
+ } = e, [c, u] = Ue(!1), d = Qt(s), p = tr(), { trigger: h } = $t(), m = we(
25287
+ async (b, v, g) => {
25288
+ typeof t == "function" ? await h() ? (u(!0), t(d, v, g, b).finally(() => {
25289
25289
  u(!1);
25290
- })) : p("Falta implementar jsBotoneraPart", {
25290
+ })) : p("Formulario no válido", { type: "warning" }) : p("Falta implementar jsBotoneraPart", {
25291
25291
  type: "error"
25292
25292
  });
25293
25293
  },
25294
- [t, d, p]
25294
+ [h, t, d, p]
25295
25295
  );
25296
25296
  return /* @__PURE__ */ B(mu, { children: [
25297
25297
  i ? /* @__PURE__ */ f(Kn, { sx: { mr: 1 } }) : null,
25298
- n.map((m) => /* @__PURE__ */ f(
25298
+ n.map((b) => /* @__PURE__ */ f(
25299
25299
  ut,
25300
25300
  {
25301
- label: m.label,
25301
+ label: b.label,
25302
25302
  disabled: c,
25303
- onClick: /* @__PURE__ */ o(async (b) => {
25304
- await h(b, r, m.name);
25303
+ onClick: /* @__PURE__ */ o(async (v) => {
25304
+ await m(v, r, b.name);
25305
25305
  }, "onClick"),
25306
- children: m.icon
25306
+ children: b.icon
25307
25307
  },
25308
- m.name
25308
+ b.name
25309
25309
  ))
25310
25310
  ] });
25311
25311
  }, "FormToolbar");
@@ -25399,7 +25399,7 @@ const rk = {
25399
25399
  }
25400
25400
  //...resources
25401
25401
  }, ok = /* @__PURE__ */ o((e) => {
25402
- const { propsContenido: t, hidden: r } = Ud(e), n = qt(), i = JSON.parse(JSON.stringify(n)), l = i[e.source];
25402
+ const { propsContenido: t, hidden: r } = Ud(e), n = Kt(), i = JSON.parse(JSON.stringify(n)), l = i[e.source];
25403
25403
  return i[e.source] = l != "" && l != "0", !r && /* @__PURE__ */ f(gm, { ...t, record: i });
25404
25404
  }, "BooleanField"), hi = Cy({
25405
25405
  createStyledComponent: q("div", {
@@ -25688,7 +25688,7 @@ const Yc = /* @__PURE__ */ o((e) => {
25688
25688
  l(h.message, { type: "error" }), r(!1);
25689
25689
  }
25690
25690
  }, "openCamera"))();
25691
- }, [t]), /* @__PURE__ */ B(Ut, { children: [
25691
+ }, [t]), /* @__PURE__ */ B(Gt, { children: [
25692
25692
  /* @__PURE__ */ f(
25693
25693
  Ei,
25694
25694
  {
@@ -25783,7 +25783,7 @@ const Yc = /* @__PURE__ */ o((e) => {
25783
25783
  accept: d = "",
25784
25784
  download: p = !0,
25785
25785
  ...h
25786
- } = t, m = Ze(), b = qt(e), v = Gn((x) => x.breakpoints.down("sm")), g = Kt(), [y, T] = Ue(
25786
+ } = t, m = Ze(), b = Kt(e), v = Gn((x) => x.breakpoints.down("sm")), g = $t(), [y, T] = Ue(
25787
25787
  b && c ? `${c}/${b[h.source]}` : void 0
25788
25788
  );
25789
25789
  if (!g)
@@ -25838,7 +25838,7 @@ const Yc = /* @__PURE__ */ o((e) => {
25838
25838
  accept: d,
25839
25839
  children: /* @__PURE__ */ B(zl, { sx: { display: "inline-block", ml: 1 }, children: [
25840
25840
  /* @__PURE__ */ f(
25841
- Ht,
25841
+ Wt,
25842
25842
  {
25843
25843
  component: gi,
25844
25844
  href: E,
@@ -25849,7 +25849,7 @@ const Yc = /* @__PURE__ */ o((e) => {
25849
25849
  }
25850
25850
  ),
25851
25851
  /* @__PURE__ */ f(
25852
- Ht,
25852
+ Wt,
25853
25853
  {
25854
25854
  sx: { ml: 1 },
25855
25855
  component: gi,
@@ -25934,7 +25934,7 @@ const Yc = /* @__PURE__ */ o((e) => {
25934
25934
  }
25935
25935
  return at(() => {
25936
25936
  h !== null && (m.current = h, n(a0(d)));
25937
- }, [JSON.stringify(h)]), !r && !i ? /* @__PURE__ */ B(Ut, { children: [
25937
+ }, [JSON.stringify(h)]), !r && !i ? /* @__PURE__ */ B(Gt, { children: [
25938
25938
  /* @__PURE__ */ f(
25939
25939
  hu,
25940
25940
  {
@@ -25969,7 +25969,7 @@ const Yc = /* @__PURE__ */ o((e) => {
25969
25969
  const { propsContenido: t, hidden: r } = lt(e);
25970
25970
  return !r && /* @__PURE__ */ f(Em, { ...t });
25971
25971
  }, "ComboBoxManual"), lk = /* @__PURE__ */ o((e) => {
25972
- const { title: t, source: r, src: n } = e, i = qt(e), l = `${n}/${i[r]}`;
25972
+ const { title: t, source: r, src: n } = e, i = Kt(e), l = `${n}/${i[r]}`;
25973
25973
  return /* @__PURE__ */ f(Wl, { title: t, src: l });
25974
25974
  }, "ImageField"), sk = /* @__PURE__ */ o((e) => {
25975
25975
  const { propsContenido: t, hidden: r } = lt(e), { isLoading: n } = me(Ge), { source: i, reference: l } = e;
@@ -26100,7 +26100,7 @@ const jw = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26100
26100
  ]
26101
26101
  }
26102
26102
  );
26103
- }, "FiltroAsig"), zw = /* @__PURE__ */ o(() => /* @__PURE__ */ f(Ut, {}), "BulkActions"), Hw = {
26103
+ }, "FiltroAsig"), zw = /* @__PURE__ */ o(() => /* @__PURE__ */ f(Gt, {}), "BulkActions"), Hw = {
26104
26104
  seleccion: [],
26105
26105
  all: !0,
26106
26106
  none: !1
@@ -26108,7 +26108,7 @@ const jw = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26108
26108
  const { asistant: t, asistantResource: r, source: n, sx: i, ...l } = e, [s, c] = Ue(!1), {
26109
26109
  hidden: u,
26110
26110
  propsContenido: { disabled: d, label: p, onChange: h }
26111
- } = lt(e), m = Kt();
26111
+ } = lt(e), m = $t();
26112
26112
  at(() => {
26113
26113
  y();
26114
26114
  }, []);
@@ -26154,7 +26154,7 @@ const jw = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26154
26154
  InputProps: {
26155
26155
  endAdornment: /* @__PURE__ */ B(lr, { children: [
26156
26156
  /* @__PURE__ */ f(
26157
- Ht,
26157
+ Wt,
26158
26158
  {
26159
26159
  onClick: g,
26160
26160
  disabled: d,
@@ -26165,7 +26165,7 @@ const jw = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26165
26165
  }
26166
26166
  ),
26167
26167
  /* @__PURE__ */ f(
26168
- Ht,
26168
+ Wt,
26169
26169
  {
26170
26170
  onClick: y,
26171
26171
  disabled: d,
@@ -26176,7 +26176,7 @@ const jw = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26176
26176
  }
26177
26177
  ),
26178
26178
  /* @__PURE__ */ f(
26179
- Ht,
26179
+ Wt,
26180
26180
  {
26181
26181
  onClick: /* @__PURE__ */ o((T) => c(!0), "onClick"),
26182
26182
  disabled: d,
@@ -26386,7 +26386,7 @@ const jw = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26386
26386
  sx: s,
26387
26387
  onChange: c,
26388
26388
  ...u
26389
- } = e, [d] = bu("form_224"), [p, h] = Ue(!1), m = Kt(), { estado: b, fichaProps: v = {} } = me(Ge), g = me(fo), {
26389
+ } = e, [d] = bu("form_224"), [p, h] = Ue(!1), m = $t(), { estado: b, fichaProps: v = {} } = me(Ge), g = me(fo), {
26390
26390
  hidden: y,
26391
26391
  propsContenido: { disabled: T, label: C = "Funcionarios" }
26392
26392
  } = lt(e), { [l]: E = {}, etrs: x } = v, O = Qt({ ...e, etrs: x, asisEtr: g }), w = E.onChange === void 0 ? c : E.onChange;
@@ -26439,7 +26439,7 @@ const jw = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26439
26439
  InputProps: {
26440
26440
  endAdornment: /* @__PURE__ */ B(lr, { children: [
26441
26441
  n && /* @__PURE__ */ f(
26442
- Ht,
26442
+ Wt,
26443
26443
  {
26444
26444
  onClick: R,
26445
26445
  disabled: T,
@@ -26450,7 +26450,7 @@ const jw = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26450
26450
  }
26451
26451
  ),
26452
26452
  i && /* @__PURE__ */ f(
26453
- Ht,
26453
+ Wt,
26454
26454
  {
26455
26455
  onClick: M,
26456
26456
  disabled: T,
@@ -26461,7 +26461,7 @@ const jw = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26461
26461
  }
26462
26462
  ),
26463
26463
  /* @__PURE__ */ f(
26464
- Ht,
26464
+ Wt,
26465
26465
  {
26466
26466
  onClick: /* @__PURE__ */ o(($) => h(!0), "onClick"),
26467
26467
  disabled: T,
@@ -26491,7 +26491,7 @@ const jw = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26491
26491
  const { propsContenido: t, hidden: r } = lt(e);
26492
26492
  return !r && /* @__PURE__ */ f(Or, { multiline: !0, ...t });
26493
26493
  }, "TextArea"), hk = /* @__PURE__ */ o((e) => {
26494
- const { tipo: t, ...r } = e, { propsContenido: n, hidden: i } = lt(r), l = Kt();
26494
+ const { tipo: t, ...r } = e, { propsContenido: n, hidden: i } = lt(r), l = $t();
26495
26495
  at(() => {
26496
26496
  n.value && l.setValue(e.source, n.value);
26497
26497
  });