biblio-react 3.0.0-alpha196 → 3.0.0-alpha197

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,9 +2,9 @@ var Nw = Object.defineProperty;
2
2
  var a = (e, t) => Nw(e, "name", { value: t, configurable: !0 });
3
3
  import we, { jsx as v, jsxs as W, Fragment as Ur } from "react/jsx-runtime";
4
4
  import * as O from "react";
5
- import ht, { forwardRef as Pl, useContext as gt, createElement as mv, Children as Pd, isValidElement as Un, cloneElement as rn, createContext as Bt, useState as Be, useMemo as Jr, useRef as Bi, useCallback as et, useEffect as Ge, Fragment as Pn, memo as n1, useImperativeHandle as Dw, useDebugValue as o1, useId as _w } from "react";
6
- import { unstable_ClassNameGenerator as i1, exactProp as Md, unstable_getScrollbarSize as zw, unstable_ownerDocument as qn, unstable_ownerWindow as el, unstable_useForkRef as Ea, elementAcceptingRef as Bw, unstable_useEnhancedEffect as Ci, unstable_setRef as gv, HTMLElementType as Df, unstable_useEventCallback as bv, unstable_createChainedFunction as yv, unstable_debounce as jw, usePreviousProps as Vw, unstable_getNormalizedScrollLeft as Hw, unstable_detectScrollType as Ww, chainPropTypes as Uw, refType as qw, deepmerge as a1 } from "@mui/utils";
7
- import { MenuItem as ui, ListItemIcon as ha, ListItemText as ma, useMediaQuery as ji, Typography as Tm, Box as st, Grid as vv, Dialog as Em, DialogTitle as s1, DialogContent as l1, Stack as Rd, DialogActions as Gw, Tooltip as $d, IconButton as ka, useTheme as c1, createTheme as Kw, ThemeProvider as Jw, Chip as xv, alpha as Yw, StyledEngineProvider as u1, Card as d1, CircularProgress as Qw, CardContent as p1, Collapse as Xw, List as f1, Menu as _f, Switch as Zw, Divider as eP, Button as Ov, Paper as h1, ToggleButtonGroup as Fd, ToggleButton as Gt, ListItem as tP, FormHelperText as rP } from "@mui/material";
5
+ import ht, { forwardRef as Pl, useContext as gt, createElement as mv, Children as Pd, isValidElement as Wn, cloneElement as rn, createContext as Bt, useState as Be, useMemo as Jr, useRef as Bi, useCallback as tt, useEffect as Ge, Fragment as Kn, memo as n1, useImperativeHandle as Dw, useDebugValue as o1, useId as _w } from "react";
6
+ import { unstable_ClassNameGenerator as i1, exactProp as Md, unstable_getScrollbarSize as zw, unstable_ownerDocument as Un, unstable_ownerWindow as el, unstable_useForkRef as Ea, elementAcceptingRef as Bw, unstable_useEnhancedEffect as Ci, unstable_setRef as gv, HTMLElementType as Df, unstable_useEventCallback as bv, unstable_createChainedFunction as yv, unstable_debounce as jw, usePreviousProps as Vw, unstable_getNormalizedScrollLeft as Hw, unstable_detectScrollType as Ww, chainPropTypes as Uw, refType as qw, deepmerge as a1 } from "@mui/utils";
7
+ import { MenuItem as ui, ListItemIcon as ha, ListItemText as ma, useMediaQuery as ji, Typography as Tm, Box as et, Grid as vv, Dialog as Em, DialogTitle as s1, DialogContent as l1, Stack as Rd, DialogActions as Gw, Tooltip as $d, IconButton as ka, useTheme as c1, createTheme as Kw, ThemeProvider as Jw, Chip as xv, alpha as Yw, StyledEngineProvider as u1, Card as d1, CircularProgress as Qw, CardContent as p1, Collapse as Xw, List as f1, Menu as _f, Switch as Zw, Divider as eP, Button as Ov, Paper as h1, ToggleButtonGroup as Fd, ToggleButton as Gt, ListItem as tP, FormHelperText as rP } from "@mui/material";
8
8
  import { useTranslate as Lt, useUserMenu as nP, useResourceDefinitions as oP, AppBar as iP, UserMenu as aP, Logout as sP, useResourceContext as pt, useRecordContext as vr, useDeleteWithConfirmController as lP, Button as Cr, Confirm as Ml, useResourceDefinition as km, Toolbar as wm, ToolbarClasses as cP, SaveButton as Rl, useRedirect as Vi, useDelete as m1, useSaveContext as uP, required as dP, minValue as pP, TopToolbar as g1, RefreshButton as fP, ListButton as hP, ShowButton as mP, useNotify as b1, useDataProvider as Ja, useListContext as Ti, useUnselectAll as gP, useStoreContext as bP, NumberField as yP, DateField as Sv, TextField as Ac, ReferenceField as vP, useCreatePath as $l, Form as Fl, BulkActionsToolbar as xP, useInput as Ad, useGetList as y1, Labeled as v1, useSafeSetState as Pm, useGetOne as x1, useGetResourceLabel as OP, useCreateController as SP, ResourceContextProvider as CP, CreateContextProvider as TP, Loading as Hi, Create as EP, useListController as kP, ListContextProvider as wP, List as O1, Edit as PP, useEditContext as MP, SimpleForm as RP, useSidebarState as S1, Menu as $P, DashboardMenuItem as FP, MenuItemLink as C1, Layout as AP, FilterContext as IP, sanitizeListRestProps as LP, FilterButton as NP, CreateButton as DP, useLogin as _P, TextInput as En, PasswordInput as T1, Show as zP, useShowContext as BP, FormTab as jP, useSplatPathBase as VP, getTabbedFormTabFullPath as HP, TabbedFormTabs as E1, defaultTheme as k1, BooleanField as WP, ImageInput as UP, ImageField as qP, FileInput as GP, BooleanInput as KP, ReferenceInput as w1, useChoicesContext as P1, AutocompleteInput as JP, SelectInput as YP, ReferenceArrayInput as QP, AutocompleteArrayInput as XP, SearchInput as ZP, RadioButtonGroupInput as M1, useRecordSelection as R1, ListActions as eM, Datagrid as tM, ValidationError as rM, FieldTitle as $1 } from "react-admin";
9
9
  import { Link as tl, useNavigate as Ya, useLocation as Mo, Routes as F1, Route as A1, matchPath as zf } from "react-router-dom";
10
10
  import { useGridApiContext as Wi, useGridSelector as wa, gridColumnVisibilityModelSelector as I1, gridColumnDefinitionsSelector as L1, GridColumnIcon as nM, gridSortModelSelector as oM, GridArrowUpwardIcon as iM, GridArrowDownwardIcon as aM, GridToolbarExport as sM, selectedGridRowsSelector as lM, GridToolbarContainer as cM, GridClearIcon as uM, GridToolbarQuickFilter as dM, useGridApiRef as Mm, useKeepGroupedColumnsHidden as N1, GridActionsCellItem as $p, isAutogeneratedRow as ic, DataGridPremium as Rm, gridClasses as Cv } from "@mui/x-data-grid-premium";
@@ -24,7 +24,7 @@ function Fm(e) {
24
24
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
25
25
  }
26
26
  a(Fm, "getDefaultExportFromCjs$1");
27
- function Fn(e) {
27
+ function $n(e) {
28
28
  if (e.__esModule) return e;
29
29
  var t = e.default;
30
30
  if (typeof t == "function") {
@@ -43,7 +43,7 @@ function Fn(e) {
43
43
  });
44
44
  }), r;
45
45
  }
46
- a(Fn, "getAugmentedNamespace");
46
+ a($n, "getAugmentedNamespace");
47
47
  var Am = {}, B1 = { exports: {} };
48
48
  (function(e) {
49
49
  function t(r) {
@@ -104,7 +104,7 @@ function ie(e, t) {
104
104
  return r;
105
105
  }
106
106
  a(ie, "_objectWithoutPropertiesLoose");
107
- var jf = { exports: {} }, sc = { exports: {} }, tt = {};
107
+ var jf = { exports: {} }, sc = { exports: {} }, rt = {};
108
108
  /** @license React v16.13.1
109
109
  * react-is.production.min.js
110
110
  *
@@ -115,7 +115,7 @@ var jf = { exports: {} }, sc = { exports: {} }, tt = {};
115
115
  */
116
116
  var Ev;
117
117
  function CM() {
118
- if (Ev) return tt;
118
+ if (Ev) return rt;
119
119
  Ev = 1;
120
120
  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, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, l = 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, f = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
121
121
  function T(S) {
@@ -152,36 +152,36 @@ function CM() {
152
152
  function C(S) {
153
153
  return T(S) === d;
154
154
  }
155
- return a(C, "A"), tt.AsyncMode = u, tt.ConcurrentMode = d, tt.ContextConsumer = l, tt.ContextProvider = s, tt.Element = t, tt.ForwardRef = p, tt.Fragment = n, tt.Lazy = m, tt.Memo = g, tt.Portal = r, tt.Profiler = i, tt.StrictMode = o, tt.Suspense = f, tt.isAsyncMode = function(S) {
155
+ return a(C, "A"), rt.AsyncMode = u, rt.ConcurrentMode = d, rt.ContextConsumer = l, rt.ContextProvider = s, rt.Element = t, rt.ForwardRef = p, rt.Fragment = n, rt.Lazy = m, rt.Memo = g, rt.Portal = r, rt.Profiler = i, rt.StrictMode = o, rt.Suspense = f, rt.isAsyncMode = function(S) {
156
156
  return C(S) || T(S) === u;
157
- }, tt.isConcurrentMode = C, tt.isContextConsumer = function(S) {
157
+ }, rt.isConcurrentMode = C, rt.isContextConsumer = function(S) {
158
158
  return T(S) === l;
159
- }, tt.isContextProvider = function(S) {
159
+ }, rt.isContextProvider = function(S) {
160
160
  return T(S) === s;
161
- }, tt.isElement = function(S) {
161
+ }, rt.isElement = function(S) {
162
162
  return typeof S == "object" && S !== null && S.$$typeof === t;
163
- }, tt.isForwardRef = function(S) {
163
+ }, rt.isForwardRef = function(S) {
164
164
  return T(S) === p;
165
- }, tt.isFragment = function(S) {
165
+ }, rt.isFragment = function(S) {
166
166
  return T(S) === n;
167
- }, tt.isLazy = function(S) {
167
+ }, rt.isLazy = function(S) {
168
168
  return T(S) === m;
169
- }, tt.isMemo = function(S) {
169
+ }, rt.isMemo = function(S) {
170
170
  return T(S) === g;
171
- }, tt.isPortal = function(S) {
171
+ }, rt.isPortal = function(S) {
172
172
  return T(S) === r;
173
- }, tt.isProfiler = function(S) {
173
+ }, rt.isProfiler = function(S) {
174
174
  return T(S) === i;
175
- }, tt.isStrictMode = function(S) {
175
+ }, rt.isStrictMode = function(S) {
176
176
  return T(S) === o;
177
- }, tt.isSuspense = function(S) {
177
+ }, rt.isSuspense = function(S) {
178
178
  return T(S) === f;
179
- }, tt.isValidElementType = function(S) {
179
+ }, rt.isValidElementType = function(S) {
180
180
  return typeof S == "string" || typeof S == "function" || S === n || S === d || S === i || S === o || S === f || S === h || typeof S == "object" && S !== null && (S.$$typeof === m || S.$$typeof === g || S.$$typeof === s || S.$$typeof === l || S.$$typeof === p || S.$$typeof === y || S.$$typeof === x || S.$$typeof === k || S.$$typeof === b);
181
- }, tt.typeOf = T, tt;
181
+ }, rt.typeOf = T, rt;
182
182
  }
183
183
  a(CM, "requireReactIs_production_min$2");
184
- var rt = {};
184
+ var nt = {};
185
185
  /** @license React v16.13.1
186
186
  * react-is.development.js
187
187
  *
@@ -284,8 +284,8 @@ function TM() {
284
284
  function le(_) {
285
285
  return C(_) === f;
286
286
  }
287
- a(le, "isSuspense"), rt.AsyncMode = S, rt.ConcurrentMode = w, rt.ContextConsumer = P, rt.ContextProvider = F, rt.Element = $, rt.ForwardRef = A, rt.Fragment = M, rt.Lazy = R, rt.Memo = I, rt.Portal = L, rt.Profiler = z, rt.StrictMode = B, rt.Suspense = j, rt.isAsyncMode = K, rt.isConcurrentMode = D, rt.isContextConsumer = V, rt.isContextProvider = Z, rt.isElement = H, rt.isForwardRef = U, rt.isFragment = J, rt.isLazy = G, rt.isMemo = re, rt.isPortal = Q, rt.isProfiler = ae, rt.isStrictMode = de, rt.isSuspense = le, rt.isValidElementType = T, rt.typeOf = C;
288
- }()), rt;
287
+ a(le, "isSuspense"), nt.AsyncMode = S, nt.ConcurrentMode = w, nt.ContextConsumer = P, nt.ContextProvider = F, nt.Element = $, nt.ForwardRef = A, nt.Fragment = M, nt.Lazy = R, nt.Memo = I, nt.Portal = L, nt.Profiler = z, nt.StrictMode = B, nt.Suspense = j, nt.isAsyncMode = K, nt.isConcurrentMode = D, nt.isContextConsumer = V, nt.isContextProvider = Z, nt.isElement = H, nt.isForwardRef = U, nt.isFragment = J, nt.isLazy = G, nt.isMemo = re, nt.isPortal = Q, nt.isProfiler = ae, nt.isStrictMode = de, nt.isSuspense = le, nt.isValidElementType = T, nt.typeOf = C;
288
+ }()), nt;
289
289
  }
290
290
  a(TM, "requireReactIs_development$2");
291
291
  var wv;
@@ -1547,7 +1547,7 @@ var tR = /* @__PURE__ */ a(function(t, r, n, o) {
1547
1547
  insert: u
1548
1548
  };
1549
1549
  return m.sheet.hydrate(l), m;
1550
- }, "createCache"), Hf = { exports: {} }, nt = {};
1550
+ }, "createCache"), Hf = { exports: {} }, ot = {};
1551
1551
  /** @license React v16.13.1
1552
1552
  * react-is.production.min.js
1553
1553
  *
@@ -1558,7 +1558,7 @@ var tR = /* @__PURE__ */ a(function(t, r, n, o) {
1558
1558
  */
1559
1559
  var zv;
1560
1560
  function oR() {
1561
- if (zv) return nt;
1561
+ if (zv) return ot;
1562
1562
  zv = 1;
1563
1563
  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, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, l = 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, f = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
1564
1564
  function T(S) {
@@ -1595,36 +1595,36 @@ function oR() {
1595
1595
  function C(S) {
1596
1596
  return T(S) === d;
1597
1597
  }
1598
- return a(C, "A"), nt.AsyncMode = u, nt.ConcurrentMode = d, nt.ContextConsumer = l, nt.ContextProvider = s, nt.Element = t, nt.ForwardRef = p, nt.Fragment = n, nt.Lazy = m, nt.Memo = g, nt.Portal = r, nt.Profiler = i, nt.StrictMode = o, nt.Suspense = f, nt.isAsyncMode = function(S) {
1598
+ return a(C, "A"), ot.AsyncMode = u, ot.ConcurrentMode = d, ot.ContextConsumer = l, ot.ContextProvider = s, ot.Element = t, ot.ForwardRef = p, ot.Fragment = n, ot.Lazy = m, ot.Memo = g, ot.Portal = r, ot.Profiler = i, ot.StrictMode = o, ot.Suspense = f, ot.isAsyncMode = function(S) {
1599
1599
  return C(S) || T(S) === u;
1600
- }, nt.isConcurrentMode = C, nt.isContextConsumer = function(S) {
1600
+ }, ot.isConcurrentMode = C, ot.isContextConsumer = function(S) {
1601
1601
  return T(S) === l;
1602
- }, nt.isContextProvider = function(S) {
1602
+ }, ot.isContextProvider = function(S) {
1603
1603
  return T(S) === s;
1604
- }, nt.isElement = function(S) {
1604
+ }, ot.isElement = function(S) {
1605
1605
  return typeof S == "object" && S !== null && S.$$typeof === t;
1606
- }, nt.isForwardRef = function(S) {
1606
+ }, ot.isForwardRef = function(S) {
1607
1607
  return T(S) === p;
1608
- }, nt.isFragment = function(S) {
1608
+ }, ot.isFragment = function(S) {
1609
1609
  return T(S) === n;
1610
- }, nt.isLazy = function(S) {
1610
+ }, ot.isLazy = function(S) {
1611
1611
  return T(S) === m;
1612
- }, nt.isMemo = function(S) {
1612
+ }, ot.isMemo = function(S) {
1613
1613
  return T(S) === g;
1614
- }, nt.isPortal = function(S) {
1614
+ }, ot.isPortal = function(S) {
1615
1615
  return T(S) === r;
1616
- }, nt.isProfiler = function(S) {
1616
+ }, ot.isProfiler = function(S) {
1617
1617
  return T(S) === i;
1618
- }, nt.isStrictMode = function(S) {
1618
+ }, ot.isStrictMode = function(S) {
1619
1619
  return T(S) === o;
1620
- }, nt.isSuspense = function(S) {
1620
+ }, ot.isSuspense = function(S) {
1621
1621
  return T(S) === f;
1622
- }, nt.isValidElementType = function(S) {
1622
+ }, ot.isValidElementType = function(S) {
1623
1623
  return typeof S == "string" || typeof S == "function" || S === n || S === d || S === i || S === o || S === f || S === h || typeof S == "object" && S !== null && (S.$$typeof === m || S.$$typeof === g || S.$$typeof === s || S.$$typeof === l || S.$$typeof === p || S.$$typeof === y || S.$$typeof === x || S.$$typeof === k || S.$$typeof === b);
1624
- }, nt.typeOf = T, nt;
1624
+ }, ot.typeOf = T, ot;
1625
1625
  }
1626
1626
  a(oR, "requireReactIs_production_min$1");
1627
- var ot = {};
1627
+ var it = {};
1628
1628
  /** @license React v16.13.1
1629
1629
  * react-is.development.js
1630
1630
  *
@@ -1727,8 +1727,8 @@ function iR() {
1727
1727
  function le(_) {
1728
1728
  return C(_) === f;
1729
1729
  }
1730
- a(le, "isSuspense"), ot.AsyncMode = S, ot.ConcurrentMode = w, ot.ContextConsumer = P, ot.ContextProvider = F, ot.Element = $, ot.ForwardRef = A, ot.Fragment = M, ot.Lazy = R, ot.Memo = I, ot.Portal = L, ot.Profiler = z, ot.StrictMode = B, ot.Suspense = j, ot.isAsyncMode = K, ot.isConcurrentMode = D, ot.isContextConsumer = V, ot.isContextProvider = Z, ot.isElement = H, ot.isForwardRef = U, ot.isFragment = J, ot.isLazy = G, ot.isMemo = re, ot.isPortal = Q, ot.isProfiler = ae, ot.isStrictMode = de, ot.isSuspense = le, ot.isValidElementType = T, ot.typeOf = C;
1731
- }()), ot;
1730
+ a(le, "isSuspense"), it.AsyncMode = S, it.ConcurrentMode = w, it.ContextConsumer = P, it.ContextProvider = F, it.Element = $, it.ForwardRef = A, it.Fragment = M, it.Lazy = R, it.Memo = I, it.Portal = L, it.Profiler = z, it.StrictMode = B, it.Suspense = j, it.isAsyncMode = K, it.isConcurrentMode = D, it.isContextConsumer = V, it.isContextProvider = Z, it.isElement = H, it.isForwardRef = U, it.isFragment = J, it.isLazy = G, it.isMemo = re, it.isPortal = Q, it.isProfiler = ae, it.isStrictMode = de, it.isSuspense = le, it.isValidElementType = T, it.typeOf = C;
1731
+ }()), it;
1732
1732
  }
1733
1733
  a(iR, "requireReactIs_development$1");
1734
1734
  process.env.NODE_ENV === "production" ? Hf.exports = oR() : Hf.exports = iR();
@@ -2701,16 +2701,16 @@ const hS = /* @__PURE__ */ a((e, t) => {
2701
2701
  default: Um,
2702
2702
  internal_processStyles: hS,
2703
2703
  keyframes: es
2704
- }, Symbol.toStringTag, { value: "Module" })), mS = /* @__PURE__ */ Fn(YR);
2705
- function Hn(e) {
2704
+ }, Symbol.toStringTag, { value: "Module" })), mS = /* @__PURE__ */ $n(YR);
2705
+ function Vn(e) {
2706
2706
  if (typeof e != "object" || e === null)
2707
2707
  return !1;
2708
2708
  const t = Object.getPrototypeOf(e);
2709
2709
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
2710
2710
  }
2711
- a(Hn, "isPlainObject$1");
2711
+ a(Vn, "isPlainObject$1");
2712
2712
  function gS(e) {
2713
- if (!Hn(e))
2713
+ if (!Vn(e))
2714
2714
  return e;
2715
2715
  const t = {};
2716
2716
  return Object.keys(e).forEach((r) => {
@@ -2722,18 +2722,18 @@ function or(e, t, r = {
2722
2722
  clone: !0
2723
2723
  }) {
2724
2724
  const n = r.clone ? E({}, e) : e;
2725
- return Hn(e) && Hn(t) && Object.keys(t).forEach((o) => {
2726
- Hn(t[o]) && // Avoid prototype pollution
2727
- Object.prototype.hasOwnProperty.call(e, o) && Hn(e[o]) ? n[o] = or(e[o], t[o], r) : r.clone ? n[o] = Hn(t[o]) ? gS(t[o]) : t[o] : n[o] = t[o];
2725
+ return Vn(e) && Vn(t) && Object.keys(t).forEach((o) => {
2726
+ Vn(t[o]) && // Avoid prototype pollution
2727
+ Object.prototype.hasOwnProperty.call(e, o) && Vn(e[o]) ? n[o] = or(e[o], t[o], r) : r.clone ? n[o] = Vn(t[o]) ? gS(t[o]) : t[o] : n[o] = t[o];
2728
2728
  }), n;
2729
2729
  }
2730
2730
  a(or, "deepmerge$1");
2731
2731
  const QR = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2732
2732
  __proto__: null,
2733
2733
  default: or,
2734
- isPlainObject: Hn
2735
- }, Symbol.toStringTag, { value: "Module" })), XR = /* @__PURE__ */ Fn(QR), ZR = /* @__PURE__ */ Fn(OM);
2736
- var Gf = { exports: {} }, it = {};
2734
+ isPlainObject: Vn
2735
+ }, Symbol.toStringTag, { value: "Module" })), XR = /* @__PURE__ */ $n(QR), ZR = /* @__PURE__ */ $n(OM);
2736
+ var Gf = { exports: {} }, at = {};
2737
2737
  /**
2738
2738
  * @license React
2739
2739
  * react-is.production.min.js
@@ -2745,7 +2745,7 @@ var Gf = { exports: {} }, it = {};
2745
2745
  */
2746
2746
  var Yv;
2747
2747
  function e$() {
2748
- if (Yv) return it;
2748
+ if (Yv) return at;
2749
2749
  Yv = 1;
2750
2750
  var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), s = Symbol.for("react.context"), l = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), m;
2751
2751
  m = Symbol.for("react.module.reference");
@@ -2779,40 +2779,40 @@ function e$() {
2779
2779
  }
2780
2780
  }
2781
2781
  }
2782
- return a(b, "v"), it.ContextConsumer = s, it.ContextProvider = i, it.Element = e, it.ForwardRef = u, it.Fragment = r, it.Lazy = h, it.Memo = f, it.Portal = t, it.Profiler = o, it.StrictMode = n, it.Suspense = d, it.SuspenseList = p, it.isAsyncMode = function() {
2782
+ return a(b, "v"), at.ContextConsumer = s, at.ContextProvider = i, at.Element = e, at.ForwardRef = u, at.Fragment = r, at.Lazy = h, at.Memo = f, at.Portal = t, at.Profiler = o, at.StrictMode = n, at.Suspense = d, at.SuspenseList = p, at.isAsyncMode = function() {
2783
2783
  return !1;
2784
- }, it.isConcurrentMode = function() {
2784
+ }, at.isConcurrentMode = function() {
2785
2785
  return !1;
2786
- }, it.isContextConsumer = function(y) {
2786
+ }, at.isContextConsumer = function(y) {
2787
2787
  return b(y) === s;
2788
- }, it.isContextProvider = function(y) {
2788
+ }, at.isContextProvider = function(y) {
2789
2789
  return b(y) === i;
2790
- }, it.isElement = function(y) {
2790
+ }, at.isElement = function(y) {
2791
2791
  return typeof y == "object" && y !== null && y.$$typeof === e;
2792
- }, it.isForwardRef = function(y) {
2792
+ }, at.isForwardRef = function(y) {
2793
2793
  return b(y) === u;
2794
- }, it.isFragment = function(y) {
2794
+ }, at.isFragment = function(y) {
2795
2795
  return b(y) === r;
2796
- }, it.isLazy = function(y) {
2796
+ }, at.isLazy = function(y) {
2797
2797
  return b(y) === h;
2798
- }, it.isMemo = function(y) {
2798
+ }, at.isMemo = function(y) {
2799
2799
  return b(y) === f;
2800
- }, it.isPortal = function(y) {
2800
+ }, at.isPortal = function(y) {
2801
2801
  return b(y) === t;
2802
- }, it.isProfiler = function(y) {
2802
+ }, at.isProfiler = function(y) {
2803
2803
  return b(y) === o;
2804
- }, it.isStrictMode = function(y) {
2804
+ }, at.isStrictMode = function(y) {
2805
2805
  return b(y) === n;
2806
- }, it.isSuspense = function(y) {
2806
+ }, at.isSuspense = function(y) {
2807
2807
  return b(y) === d;
2808
- }, it.isSuspenseList = function(y) {
2808
+ }, at.isSuspenseList = function(y) {
2809
2809
  return b(y) === p;
2810
- }, it.isValidElementType = function(y) {
2810
+ }, at.isValidElementType = function(y) {
2811
2811
  return typeof y == "string" || typeof y == "function" || y === r || y === o || y === n || y === d || y === p || y === g || typeof y == "object" && y !== null && (y.$$typeof === h || y.$$typeof === f || y.$$typeof === i || y.$$typeof === s || y.$$typeof === u || y.$$typeof === m || y.getModuleId !== void 0);
2812
- }, it.typeOf = b, it;
2812
+ }, at.typeOf = b, at;
2813
2813
  }
2814
2814
  a(e$, "requireReactIs_production_min");
2815
- var at = {};
2815
+ var st = {};
2816
2816
  /**
2817
2817
  * @license React
2818
2818
  * react-is.development.js
@@ -2924,8 +2924,8 @@ function t$() {
2924
2924
  function ee(Y) {
2925
2925
  return S(Y) === p;
2926
2926
  }
2927
- a(ee, "isSuspenseList"), at.ContextConsumer = w, at.ContextProvider = P, at.Element = F, at.ForwardRef = $, at.Fragment = A, at.Lazy = M, at.Memo = R, at.Portal = I, at.Profiler = L, at.StrictMode = z, at.Suspense = B, at.SuspenseList = j, at.isAsyncMode = D, at.isConcurrentMode = V, at.isContextConsumer = Z, at.isContextProvider = H, at.isElement = U, at.isForwardRef = J, at.isFragment = G, at.isLazy = re, at.isMemo = Q, at.isPortal = ae, at.isProfiler = de, at.isStrictMode = le, at.isSuspense = _, at.isSuspenseList = ee, at.isValidElementType = C, at.typeOf = S;
2928
- }()), at;
2927
+ a(ee, "isSuspenseList"), st.ContextConsumer = w, st.ContextProvider = P, st.Element = F, st.ForwardRef = $, st.Fragment = A, st.Lazy = M, st.Memo = R, st.Portal = I, st.Profiler = L, st.StrictMode = z, st.Suspense = B, st.SuspenseList = j, st.isAsyncMode = D, st.isConcurrentMode = V, st.isContextConsumer = Z, st.isContextProvider = H, st.isElement = U, st.isForwardRef = J, st.isFragment = G, st.isLazy = re, st.isMemo = Q, st.isPortal = ae, st.isProfiler = de, st.isStrictMode = le, st.isSuspense = _, st.isSuspenseList = ee, st.isValidElementType = C, st.typeOf = S;
2928
+ }()), st;
2929
2929
  }
2930
2930
  a(t$, "requireReactIs_development");
2931
2931
  process.env.NODE_ENV === "production" ? Gf.exports = e$() : Gf.exports = t$();
@@ -2967,7 +2967,7 @@ const n$ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2967
2967
  __proto__: null,
2968
2968
  default: vS,
2969
2969
  getFunctionName: bS
2970
- }, Symbol.toStringTag, { value: "Module" })), o$ = /* @__PURE__ */ Fn(n$), i$ = ["values", "unit", "step"], a$ = /* @__PURE__ */ a((e) => {
2970
+ }, Symbol.toStringTag, { value: "Module" })), o$ = /* @__PURE__ */ $n(n$), i$ = ["values", "unit", "step"], a$ = /* @__PURE__ */ a((e) => {
2971
2971
  const t = Object.keys(e).map((r) => ({
2972
2972
  key: r,
2973
2973
  val: e[r]
@@ -3823,7 +3823,7 @@ const Q$ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3823
3823
  default: Dl,
3824
3824
  private_createBreakpoints: xS,
3825
3825
  unstable_applyStyles: ES
3826
- }, Symbol.toStringTag, { value: "Module" })), X$ = /* @__PURE__ */ Fn(Q$), Z$ = ["sx"], eF = /* @__PURE__ */ a((e) => {
3826
+ }, Symbol.toStringTag, { value: "Module" })), X$ = /* @__PURE__ */ $n(Q$), Z$ = ["sx"], eF = /* @__PURE__ */ a((e) => {
3827
3827
  var t, r;
3828
3828
  const n = {
3829
3829
  systemProps: {},
@@ -3843,7 +3843,7 @@ function _l(e) {
3843
3843
  let i;
3844
3844
  return Array.isArray(t) ? i = [n, ...t] : typeof t == "function" ? i = /* @__PURE__ */ a((...s) => {
3845
3845
  const l = t(...s);
3846
- return Hn(l) ? E({}, n, l) : n;
3846
+ return Vn(l) ? E({}, n, l) : n;
3847
3847
  }, "finalSx") : i = E({}, n, t), E({}, o, {
3848
3848
  sx: i
3849
3849
  });
@@ -3855,7 +3855,7 @@ const tF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3855
3855
  extendSxProp: _l,
3856
3856
  unstable_createStyleFunctionSx: TS,
3857
3857
  unstable_defaultSxConfig: Nl
3858
- }, Symbol.toStringTag, { value: "Module" })), rF = /* @__PURE__ */ Fn(tF);
3858
+ }, Symbol.toStringTag, { value: "Module" })), rF = /* @__PURE__ */ $n(tF);
3859
3859
  var rs = ke;
3860
3860
  Object.defineProperty(Al, "__esModule", {
3861
3861
  value: !0
@@ -4077,7 +4077,7 @@ function OF(e, t) {
4077
4077
  }
4078
4078
  a(OF, "createMixins");
4079
4079
  var Rt = {};
4080
- const SF = /* @__PURE__ */ Fn(xM);
4080
+ const SF = /* @__PURE__ */ $n(xM);
4081
4081
  function wS(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
4082
4082
  return Math.max(t, Math.min(e, r));
4083
4083
  }
@@ -4085,7 +4085,7 @@ a(wS, "clamp$1");
4085
4085
  const CF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4086
4086
  __proto__: null,
4087
4087
  default: wS
4088
- }, Symbol.toStringTag, { value: "Module" })), TF = /* @__PURE__ */ Fn(CF);
4088
+ }, Symbol.toStringTag, { value: "Module" })), TF = /* @__PURE__ */ $n(CF);
4089
4089
  var PS = ke;
4090
4090
  Object.defineProperty(Rt, "__esModule", {
4091
4091
  value: !0
@@ -5071,7 +5071,7 @@ function DS(e, t) {
5071
5071
  typeof e == "function" ? e(t) : e && (e.current = t);
5072
5072
  }
5073
5073
  a(DS, "setRef");
5074
- const An = typeof window < "u" ? O.useLayoutEffect : O.useEffect;
5074
+ const Fn = typeof window < "u" ? O.useLayoutEffect : O.useEffect;
5075
5075
  let d0 = 0;
5076
5076
  function uA(e) {
5077
5077
  const [t, r] = O.useState(e), n = e || t;
@@ -5126,7 +5126,7 @@ function sl({
5126
5126
  a(sl, "useControlled");
5127
5127
  function Tr(e) {
5128
5128
  const t = O.useRef(e);
5129
- return An(() => {
5129
+ return Fn(() => {
5130
5130
  t.current = e;
5131
5131
  }), O.useRef((...r) => (
5132
5132
  // @ts-expect-error hide `this`
@@ -5268,14 +5268,14 @@ const OA = {
5268
5268
  requirePropFactory: NS,
5269
5269
  setRef: DS,
5270
5270
  unstable_ClassNameGenerator: OA,
5271
- unstable_useEnhancedEffect: An,
5271
+ unstable_useEnhancedEffect: Fn,
5272
5272
  unstable_useId: Bl,
5273
5273
  unsupportedProp: _S,
5274
5274
  useControlled: sl,
5275
5275
  useEventCallback: Tr,
5276
5276
  useForkRef: At,
5277
5277
  useIsFocusVisible: Jd
5278
- }, Symbol.toStringTag, { value: "Module" })), CA = /* @__PURE__ */ Fn(SA);
5278
+ }, Symbol.toStringTag, { value: "Module" })), CA = /* @__PURE__ */ $n(SA);
5279
5279
  var h0;
5280
5280
  function Pe() {
5281
5281
  return h0 || (h0 = 1, function(e) {
@@ -5358,7 +5358,7 @@ const RA = Pl((e, t) => {
5358
5358
  id: "react-admin-title"
5359
5359
  }
5360
5360
  ),
5361
- t && /* @__PURE__ */ v(st, { component: "span", sx: { flex: 1 } })
5361
+ t && /* @__PURE__ */ v(et, { component: "span", sx: { flex: 1 } })
5362
5362
  ] });
5363
5363
  }, "CustomAppBar");
5364
5364
  function AA(e) {
@@ -5521,7 +5521,7 @@ function WA(e = {}) {
5521
5521
  const k = Um(s, E({
5522
5522
  shouldForwardProp: x,
5523
5523
  label: y
5524
- }, g)), T = /* @__PURE__ */ a((S) => typeof S == "function" && S.__emotion_real !== S || Hn(S) ? (w) => _c(S, E({}, w, {
5524
+ }, g)), T = /* @__PURE__ */ a((S) => typeof S == "function" && S.__emotion_real !== S || Vn(S) ? (w) => _c(S, E({}, w, {
5525
5525
  theme: uc({
5526
5526
  theme: w.theme,
5527
5527
  defaultTheme: r,
@@ -5597,7 +5597,7 @@ function VS({
5597
5597
  a(VS, "useThemeProps$1");
5598
5598
  function qA(e, t, r, n, o) {
5599
5599
  const [i, s] = O.useState(() => o && r ? r(e).matches : n ? n(e).matches : t);
5600
- return An(() => {
5600
+ return Fn(() => {
5601
5601
  let l = !0;
5602
5602
  if (!r)
5603
5603
  return;
@@ -5945,11 +5945,11 @@ function dI(e = {}) {
5945
5945
  }), s;
5946
5946
  }
5947
5947
  a(dI, "createStack");
5948
- function In() {
5948
+ function An() {
5949
5949
  const e = Yd(Gd);
5950
5950
  return process.env.NODE_ENV !== "production" && O.useDebugValue(e), e[wi] || e;
5951
5951
  }
5952
- a(In, "useTheme$1");
5952
+ a(An, "useTheme$1");
5953
5953
  function pI({
5954
5954
  props: e,
5955
5955
  name: t
@@ -6021,7 +6021,7 @@ JS = sg.default = (0, TI.default)(/* @__PURE__ */ (0, EI.jsx)("path", {
6021
6021
  d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"
6022
6022
  }), "Edit");
6023
6023
  function kI(e) {
6024
- const t = qn(e);
6024
+ const t = Un(e);
6025
6025
  return t.body === e ? el(e).innerWidth > t.documentElement.clientWidth : e.scrollHeight > e.clientHeight;
6026
6026
  }
6027
6027
  a(kI, "isOverflowing");
@@ -6055,13 +6055,13 @@ function PI(e, t) {
6055
6055
  const r = [], n = e.container;
6056
6056
  if (!t.disableScrollLock) {
6057
6057
  if (kI(n)) {
6058
- const s = zw(qn(n));
6058
+ const s = zw(Un(n));
6059
6059
  r.push({
6060
6060
  value: n.style.paddingRight,
6061
6061
  property: "padding-right",
6062
6062
  el: n
6063
6063
  }), n.style.paddingRight = `${v0(n) + s}px`;
6064
- const l = qn(n).querySelectorAll(".mui-fixed");
6064
+ const l = Un(n).querySelectorAll(".mui-fixed");
6065
6065
  [].forEach.call(l, (u) => {
6066
6066
  r.push({
6067
6067
  value: u.style.paddingRight,
@@ -6072,7 +6072,7 @@ function PI(e, t) {
6072
6072
  }
6073
6073
  let i;
6074
6074
  if (n.parentNode instanceof DocumentFragment)
6075
- i = qn(n).body;
6075
+ i = Un(n).body;
6076
6076
  else {
6077
6077
  const s = n.parentElement, l = el(n);
6078
6078
  i = (s == null ? void 0 : s.nodeName) === "HTML" && l.getComputedStyle(s).overflowY === "scroll" ? s : n;
@@ -6158,12 +6158,12 @@ function Pi(e, t, r, n, o) {
6158
6158
  return i == null ? null : i && i.nodeType !== 1 ? new Error(`Invalid ${n} \`${s}\` supplied to \`${r}\`. Expected an HTMLElement.`) : null;
6159
6159
  }
6160
6160
  a(Pi, "HTMLElementType");
6161
- function Ln(e, t) {
6161
+ function In(e, t) {
6162
6162
  return process.env.NODE_ENV === "production" ? () => null : /* @__PURE__ */ a(function(...n) {
6163
6163
  return e(...n) || t(...n);
6164
6164
  }, "validate");
6165
6165
  }
6166
- a(Ln, "chainPropTypes");
6166
+ a(In, "chainPropTypes");
6167
6167
  function RI(e) {
6168
6168
  const {
6169
6169
  prototype: t = {}
@@ -6184,8 +6184,8 @@ function YS(e, t, r, n, o) {
6184
6184
  return typeof u == "function" && !RI(u) && (l = "Did you accidentally use a plain function component for an element instead?"), l !== void 0 ? new Error(`Invalid ${n} \`${s}\` supplied to \`${r}\`. Expected an element that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
6185
6185
  }
6186
6186
  a(YS, "acceptingRef");
6187
- const as = Ln(c.element, YS);
6188
- as.isRequired = Ln(c.element.isRequired, YS);
6187
+ const as = In(c.element, YS);
6188
+ as.isRequired = In(c.element.isRequired, YS);
6189
6189
  function $a(e) {
6190
6190
  return typeof e == "string";
6191
6191
  }
@@ -6308,7 +6308,7 @@ function eu(e) {
6308
6308
  }, [r, l]), O.useEffect(() => {
6309
6309
  if (!l || !m.current)
6310
6310
  return;
6311
- const T = qn(m.current);
6311
+ const T = Un(m.current);
6312
6312
  return m.current.contains(T.activeElement) || (m.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(`
6313
6313
  `)), m.current.setAttribute("tabIndex", "-1")), g.current && m.current.focus()), () => {
6314
6314
  o || (f.current && f.current.focus && (u.current = !0, f.current.focus()), f.current = null);
@@ -6316,7 +6316,7 @@ function eu(e) {
6316
6316
  }, [l]), O.useEffect(() => {
6317
6317
  if (!l || !m.current)
6318
6318
  return;
6319
- const T = qn(m.current), C = /* @__PURE__ */ a((P) => {
6319
+ const T = Un(m.current), C = /* @__PURE__ */ a((P) => {
6320
6320
  y.current = P, !(n || !s() || P.key !== "Tab") && T.activeElement === m.current && P.shiftKey && (u.current = !0, p.current && p.current.focus());
6321
6321
  }, "loopFocus"), S = /* @__PURE__ */ a(() => {
6322
6322
  const P = m.current;
@@ -6850,7 +6850,7 @@ function jI(e) {
6850
6850
  a(jI, "_assertThisInitialized");
6851
6851
  function lg(e, t) {
6852
6852
  var r = /* @__PURE__ */ a(function(i) {
6853
- return t && Un(i) ? t(i) : i;
6853
+ return t && Wn(i) ? t(i) : i;
6854
6854
  }, "mapper"), n = /* @__PURE__ */ Object.create(null);
6855
6855
  return e && Pd.map(e, function(o) {
6856
6856
  return o;
@@ -6902,8 +6902,8 @@ function WI(e, t, r) {
6902
6902
  var n = lg(e.children), o = VI(t, n);
6903
6903
  return Object.keys(o).forEach(function(i) {
6904
6904
  var s = o[i];
6905
- if (Un(s)) {
6906
- var l = i in t, u = i in n, d = t[i], p = Un(d) && !d.props.in;
6905
+ if (Wn(s)) {
6906
+ var l = i in t, u = i in n, d = t[i], p = Wn(d) && !d.props.in;
6907
6907
  u && (!l || p) ? o[i] = rn(s, {
6908
6908
  onExited: r.bind(null, s),
6909
6909
  in: !0,
@@ -6911,7 +6911,7 @@ function WI(e, t, r) {
6911
6911
  enter: oi(s, "enter", e)
6912
6912
  }) : !u && l && !p ? o[i] = rn(s, {
6913
6913
  in: !1
6914
- }) : u && l && Un(d) && (o[i] = rn(s, {
6914
+ }) : u && l && Wn(d) && (o[i] = rn(s, {
6915
6915
  onExited: r.bind(null, s),
6916
6916
  in: d.props.in,
6917
6917
  exit: oi(s, "exit", e),
@@ -7054,7 +7054,7 @@ const GI = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
7054
7054
  opacity: 1
7055
7055
  }
7056
7056
  }, dg = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
7057
- const n = In(), o = {
7057
+ const n = An(), o = {
7058
7058
  enter: n.transitions.duration.enteringScreen,
7059
7059
  exit: n.transitions.duration.leavingScreen
7060
7060
  }, {
@@ -7393,7 +7393,7 @@ function rL(e) {
7393
7393
  } = e, h = O.useRef({}), g = O.useRef(null), m = O.useRef(null), b = Ea(m, f), [y, x] = O.useState(!p), k = eL(u);
7394
7394
  let T = !0;
7395
7395
  (e["aria-hidden"] === "false" || e["aria-hidden"] === !1) && (T = !1);
7396
- const C = /* @__PURE__ */ a(() => qn(g.current), "getDoc"), S = /* @__PURE__ */ a(() => (h.current.modalRef = m.current, h.current.mount = g.current, h.current), "getModal"), w = /* @__PURE__ */ a(() => {
7396
+ const C = /* @__PURE__ */ a(() => Un(g.current), "getDoc"), S = /* @__PURE__ */ a(() => (h.current.modalRef = m.current, h.current.mount = g.current, h.current), "getModal"), w = /* @__PURE__ */ a(() => {
7397
7397
  o.mount(S(), {
7398
7398
  disableScrollLock: n
7399
7399
  }), m.current && (m.current.scrollTop = 0);
@@ -7875,7 +7875,7 @@ const pL = ["className", "component", "elevation", "square", "variant"], fL = /*
7875
7875
  square: l,
7876
7876
  variant: u
7877
7877
  }), f = fL(p);
7878
- return process.env.NODE_ENV !== "production" && In().shadows[s] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${s}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${s}]\` is defined.`].join(`
7878
+ return process.env.NODE_ENV !== "production" && An().shadows[s] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${s}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${s}]\` is defined.`].join(`
7879
7879
  `)), /* @__PURE__ */ v(hL, E({
7880
7880
  as: i,
7881
7881
  ownerState: p,
@@ -7910,7 +7910,7 @@ process.env.NODE_ENV !== "production" && (ln.propTypes = {
7910
7910
  * It accepts values between 0 and 24 inclusive.
7911
7911
  * @default 1
7912
7912
  */
7913
- elevation: Ln(fg, (e) => {
7913
+ elevation: In(fg, (e) => {
7914
7914
  const {
7915
7915
  elevation: t,
7916
7916
  variant: r
@@ -8063,7 +8063,7 @@ const gL = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
8063
8063
  const n = Ce({
8064
8064
  props: t,
8065
8065
  name: "MuiDialog"
8066
- }), o = In(), i = {
8066
+ }), o = An(), i = {
8067
8067
  enter: o.transitions.duration.enteringScreen,
8068
8068
  exit: o.transitions.duration.leavingScreen
8069
8069
  }, {
@@ -9762,7 +9762,7 @@ const xN = /^(\d+)(th|st|nd|rd)?/i, ON = /\d+/i, SN = {
9762
9762
  }, "useContenidoController"), dD = /* @__PURE__ */ a((e) => {
9763
9763
  const { validateDelete: t, className: r } = e, n = pt(e), o = vr(), i = Zn(), { mutationOptions: { onError: s } = {} } = kt(), { open: l, isLoading: u, handleDialogOpen: d, handleDialogClose: p } = lP({ record: o, resource: n }), f = /* @__PURE__ */ a((g) => {
9764
9764
  d(g);
9765
- }, "handleClick"), h = et(
9765
+ }, "handleClick"), h = tt(
9766
9766
  async (g) => {
9767
9767
  if (o)
9768
9768
  try {
@@ -9874,7 +9874,7 @@ const xN = /^(\d+)(th|st|nd|rd)?/i, ON = /\d+/i, SN = {
9874
9874
  );
9875
9875
  }, "onError")
9876
9876
  }
9877
- ), { save: h } = uP(), g = et(
9877
+ ), { save: h } = uP(), g = tt(
9878
9878
  async (m) => {
9879
9879
  const b = d && await d(
9880
9880
  {
@@ -10075,7 +10075,7 @@ const pC = /* @__PURE__ */ a(() => {
10075
10075
  }, "abrirVentanaSistema");
10076
10076
  }, "useAbrirVentanaSistema"), gC = /* @__PURE__ */ a(() => {
10077
10077
  const e = Ui();
10078
- return et(
10078
+ return tt(
10079
10079
  (t, r, n, o) => {
10080
10080
  e(qL(t, r, n, o));
10081
10081
  },
@@ -10083,7 +10083,7 @@ const pC = /* @__PURE__ */ a(() => {
10083
10083
  );
10084
10084
  }, "useRecargarComboBox"), bC = /* @__PURE__ */ a(() => {
10085
10085
  const e = Ui();
10086
- return et(
10086
+ return tt(
10087
10087
  (t, r) => {
10088
10088
  e(KL(t, r));
10089
10089
  },
@@ -10091,7 +10091,7 @@ const pC = /* @__PURE__ */ a(() => {
10091
10091
  );
10092
10092
  }, "useSetHidden"), yC = /* @__PURE__ */ a(() => {
10093
10093
  const e = Ui();
10094
- return et(
10094
+ return tt(
10095
10095
  (t, r) => {
10096
10096
  e(JL(t, r));
10097
10097
  },
@@ -10099,7 +10099,7 @@ const pC = /* @__PURE__ */ a(() => {
10099
10099
  );
10100
10100
  }, "useSetDisable"), vC = /* @__PURE__ */ a(() => {
10101
10101
  const e = Ui();
10102
- return et(
10102
+ return tt(
10103
10103
  (t, r) => {
10104
10104
  e(YL(t, r));
10105
10105
  },
@@ -10107,7 +10107,7 @@ const pC = /* @__PURE__ */ a(() => {
10107
10107
  );
10108
10108
  }, "useSetRequire"), xC = /* @__PURE__ */ a(() => {
10109
10109
  const e = Ui();
10110
- return et(
10110
+ return tt(
10111
10111
  (t, r) => {
10112
10112
  e(QL(t, r));
10113
10113
  },
@@ -10115,7 +10115,7 @@ const pC = /* @__PURE__ */ a(() => {
10115
10115
  );
10116
10116
  }, "useSetError"), OC = /* @__PURE__ */ a(() => {
10117
10117
  const e = Ui();
10118
- return et(
10118
+ return tt(
10119
10119
  (t, r) => {
10120
10120
  e(XL(t, r));
10121
10121
  },
@@ -10146,7 +10146,7 @@ const pC = /* @__PURE__ */ a(() => {
10146
10146
  return { mutateAsync: o, isLoading: i };
10147
10147
  }, "useGetJson"), xg = /* @__PURE__ */ a((e, t) => {
10148
10148
  const { mutateAsync: r, isLoading: n } = vD(e, void 0, t);
10149
- return [et(
10149
+ return [tt(
10150
10150
  (i, s, l) => r(
10151
10151
  { method: i, params: s },
10152
10152
  { onSuccess: l, onError: l }
@@ -10169,7 +10169,7 @@ const pC = /* @__PURE__ */ a(() => {
10169
10169
  return /* @__PURE__ */ v(SC.Provider, { value: o, children: e });
10170
10170
  }, "FormToolbarProvider"), TC = /* @__PURE__ */ a(() => gt(SC), "useFormToolbar"), EC = /* @__PURE__ */ a((e) => {
10171
10171
  const t = pt(e), r = D1();
10172
- return et(() => {
10172
+ return tt(() => {
10173
10173
  r.refetchQueries({ queryKey: [t], type: "active" });
10174
10174
  }, [r, t]);
10175
10175
  }, "useResourceRefresh"), Kl = /* @__PURE__ */ a(() => ({}), "useDefaultHook"), rp = /* @__PURE__ */ a((e) => {
@@ -10307,7 +10307,7 @@ const pC = /* @__PURE__ */ a(() => {
10307
10307
  return delete t.id, t;
10308
10308
  }, "getSubmitValues"), PC = /* @__PURE__ */ a((e) => {
10309
10309
  const { apiRef: t, source: r, enviarTodo: n } = e, o = "N";
10310
- return et(
10310
+ return tt(
10311
10311
  (i, s) => {
10312
10312
  const l = wC(i), u = Math.max(
10313
10313
  0,
@@ -10330,7 +10330,7 @@ const pC = /* @__PURE__ */ a(() => {
10330
10330
  );
10331
10331
  }, "useAddRow"), MC = /* @__PURE__ */ a((e) => {
10332
10332
  const { apiRef: t, source: r, enviarTodo: n } = e, o = "M";
10333
- return et(
10333
+ return tt(
10334
10334
  (i, s, l) => {
10335
10335
  var g, m;
10336
10336
  const u = typeof i == "number" ? "N" : o, d = wC(s);
@@ -10354,7 +10354,7 @@ const pC = /* @__PURE__ */ a(() => {
10354
10354
  );
10355
10355
  }, "useEditRow"), RC = /* @__PURE__ */ a((e) => {
10356
10356
  const { apiRef: t, source: r, enviarTodo: n } = e, o = "B";
10357
- return et(
10357
+ return tt(
10358
10358
  (i, s) => {
10359
10359
  const l = t.current.getRowModels().get(i);
10360
10360
  t.current.updateRows([{ id: i, _action: "delete" }]);
@@ -10566,7 +10566,7 @@ process.env.NODE_ENV !== "production" && (Og.propTypes = {
10566
10566
  * This only works if variant is `indeterminate`.
10567
10567
  * @default false
10568
10568
  */
10569
- disableShrink: Ln(c.bool, (e) => e.disableShrink && e.variant && e.variant !== "indeterminate" ? new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect.") : null),
10569
+ disableShrink: In(c.bool, (e) => e.disableShrink && e.variant && e.variant !== "indeterminate" ? new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect.") : null),
10570
10570
  /**
10571
10571
  * The size of the component.
10572
10572
  * If using a number, the pixel unit is assumed.
@@ -10686,7 +10686,7 @@ const MD = X("div")(({ theme: e }) => ({
10686
10686
  ] })
10687
10687
  }
10688
10688
  ),
10689
- /* @__PURE__ */ v(st, { sx: { mt: 1 }, children: "No hay registros" })
10689
+ /* @__PURE__ */ v(et, { sx: { mt: 1 }, children: "No hay registros" })
10690
10690
  ] }), "CustomNoRowsOverlay"), RD = X("div")(({ theme: e }) => ({
10691
10691
  display: "flex",
10692
10692
  flexDirection: "column",
@@ -10699,7 +10699,7 @@ const MD = X("div")(({ theme: e }) => ({
10699
10699
  })
10700
10700
  })), $D = /* @__PURE__ */ a((e) => /* @__PURE__ */ W(RD, { children: [
10701
10701
  /* @__PURE__ */ v(Og, {}),
10702
- /* @__PURE__ */ v(st, { sx: { mt: 2 }, children: e.mensaje || "" })
10702
+ /* @__PURE__ */ v(et, { sx: { mt: 2 }, children: e.mensaje || "" })
10703
10703
  ] }), "CustomLoadingOverlay");
10704
10704
  var Cg = {}, FD = ke;
10705
10705
  Object.defineProperty(Cg, "__esModule", {
@@ -11020,7 +11020,7 @@ function KD(e, t, r, n, o) {
11020
11020
  return typeof i == "function" && !GD(i) && (l = "Did you accidentally provide a plain function component instead?"), l !== void 0 ? new Error(`Invalid ${n} \`${s}\` supplied to \`${r}\`. Expected an element type that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
11021
11021
  }
11022
11022
  a(KD, "elementTypeAcceptingRef");
11023
- const Ri = Ln(c.elementType, KD), JD = ["onChange", "maxRows", "minRows", "style", "value"];
11023
+ const Ri = In(c.elementType, KD), JD = ["onChange", "maxRows", "minRows", "style", "value"];
11024
11024
  function dc(e) {
11025
11025
  return parseInt(e, 10) || 0;
11026
11026
  }
@@ -11422,7 +11422,7 @@ const Ia = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
11422
11422
  const ee = le && le.onFilled, Y = le && le.onEmpty, ge = O.useCallback((Le) => {
11423
11423
  nu(Le) ? ee && ee() : Y && Y();
11424
11424
  }, [ee, Y]);
11425
- An(() => {
11425
+ Fn(() => {
11426
11426
  J && ge({
11427
11427
  value: U
11428
11428
  });
@@ -12836,7 +12836,7 @@ process.env.NODE_ENV !== "production" && (jr.propTypes = {
12836
12836
  /**
12837
12837
  * The icon to display.
12838
12838
  */
12839
- children: Ln(c.node, (e) => O.Children.toArray(e.children).some((r) => /* @__PURE__ */ O.isValidElement(r) && r.props.onClick) ? new Error(["MUI: You are providing an onClick event listener to a child of a button element.", "Prefer applying it to the IconButton directly.", "This guarantees that the whole <button> will be responsive to click events."].join(`
12839
+ children: In(c.node, (e) => O.Children.toArray(e.children).some((r) => /* @__PURE__ */ O.isValidElement(r) && r.props.onClick) ? new Error(["MUI: You are providing an onClick event listener to a child of a button element.", "Prefer applying it to the IconButton directly.", "This guarantees that the whole <button> will be responsive to click events."].join(`
12840
12840
  `)) : null),
12841
12841
  /**
12842
12842
  * Override or extend the styles applied to the component.
@@ -13125,7 +13125,7 @@ const na = Oe("MuiListItemButton", ["root", "focusVisible", "dense", "alignItems
13125
13125
  alignItems: o,
13126
13126
  disableGutters: d
13127
13127
  }), [o, b.dense, u, d]), x = O.useRef(null);
13128
- An(() => {
13128
+ Fn(() => {
13129
13129
  i && (x.current ? x.current.focus() : process.env.NODE_ENV !== "production" && console.error("MUI: Unable to set focus to a ListItemButton whose component has not been rendered."));
13130
13130
  }, [i]);
13131
13131
  const k = E({}, n, {
@@ -13431,7 +13431,7 @@ const U2 = ["className"], q2 = ["alignItems", "autoFocus", "button", "children",
13431
13431
  alignItems: o,
13432
13432
  disableGutters: y
13433
13433
  }), [o, A.dense, m, y]), R = O.useRef(null);
13434
- An(() => {
13434
+ Fn(() => {
13435
13435
  i && (R.current ? R.current.focus() : process.env.NODE_ENV !== "production" && console.error("MUI: Unable to set focus to a ListItem whose component has not been rendered."));
13436
13436
  }, [i]);
13437
13437
  const I = O.Children.toArray(l), L = I.length && ba(I[I.length - 1], ["ListItemSecondaryAction"]), z = E({}, n, {
@@ -13507,7 +13507,7 @@ process.env.NODE_ENV !== "production" && (Fg.propTypes = {
13507
13507
  * The content of the component if a `ListItemSecondaryAction` is used it must
13508
13508
  * be the last child.
13509
13509
  */
13510
- children: Ln(c.node, (e) => {
13510
+ children: In(c.node, (e) => {
13511
13511
  const t = O.Children.toArray(e.children);
13512
13512
  let r = -1;
13513
13513
  for (let n = t.length - 1; n >= 0; n -= 1) {
@@ -13915,7 +13915,7 @@ function pc(e, t, r) {
13915
13915
  }
13916
13916
  a(pc, "setTranslateValue");
13917
13917
  const Ig = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
13918
- const n = In(), o = {
13918
+ const n = An(), o = {
13919
13919
  enter: n.transitions.easing.easeOut,
13920
13920
  exit: n.transitions.easing.sharp
13921
13921
  }, i = {
@@ -14025,7 +14025,7 @@ process.env.NODE_ENV !== "production" && (Ig.propTypes = {
14025
14025
  * An HTML element, or a function that returns one.
14026
14026
  * It's used to set the container the Slide is transitioning from.
14027
14027
  */
14028
- container: Ln(c.oneOfType([Pi, c.func]), (e) => {
14028
+ container: In(c.oneOfType([Pi, c.func]), (e) => {
14029
14029
  if (e.open) {
14030
14030
  const t = jC(e.container);
14031
14031
  if (t && t.nodeType === 1) {
@@ -14213,7 +14213,7 @@ const WC = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
14213
14213
  const n = Ce({
14214
14214
  props: t,
14215
14215
  name: "MuiDrawer"
14216
- }), o = In(), i = jl(), s = {
14216
+ }), o = An(), i = jl(), s = {
14217
14217
  enter: o.transitions.duration.enteringScreen,
14218
14218
  exit: o.transitions.duration.leavingScreen
14219
14219
  }, {
@@ -14439,7 +14439,7 @@ process.env.NODE_ENV !== "production" && (UC.propTypes = {
14439
14439
  width: c.number.isRequired
14440
14440
  });
14441
14441
  const m_ = ["BackdropProps"], g_ = ["anchor", "disableBackdropTransition", "disableDiscovery", "disableSwipeToOpen", "hideBackdrop", "hysteresis", "allowSwipeInChildren", "minFlingVelocity", "ModalProps", "onClose", "onOpen", "open", "PaperProps", "SwipeAreaProps", "swipeAreaWidth", "transitionDuration", "variant"], fc = 3, Kp = 20;
14442
- let _n = null;
14442
+ let Dn = null;
14443
14443
  function Jp(e, t, r) {
14444
14444
  return e === "right" ? r.body.offsetWidth - t[0].pageX : t[0].pageX;
14445
14445
  }
@@ -14499,7 +14499,7 @@ const v_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
14499
14499
  const n = Ce({
14500
14500
  name: "MuiSwipeableDrawer",
14501
14501
  props: t
14502
- }), o = In(), i = {
14502
+ }), o = An(), i = {
14503
14503
  enter: o.transitions.duration.enteringScreen,
14504
14504
  exit: o.transitions.duration.leavingScreen
14505
14505
  }, {
@@ -14526,7 +14526,7 @@ const v_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
14526
14526
  } = n, P = ie(n.ModalProps, m_), F = ie(n, g_), [$, A] = O.useState(!1), M = O.useRef({
14527
14527
  isSwiping: null
14528
14528
  }), R = O.useRef(), I = O.useRef(), L = O.useRef(), z = At(k.ref, L), B = O.useRef(!1), j = O.useRef();
14529
- An(() => {
14529
+ Fn(() => {
14530
14530
  j.current = null;
14531
14531
  }, [x]);
14532
14532
  const N = O.useCallback((H, U = {}) => {
@@ -14549,7 +14549,7 @@ const v_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
14549
14549
  }, [s, l, p, o, S]), K = Tr((H) => {
14550
14550
  if (!B.current)
14551
14551
  return;
14552
- if (_n = null, B.current = !1, Bf.flushSync(() => {
14552
+ if (Dn = null, B.current = !1, Bf.flushSync(() => {
14553
14553
  A(!1);
14554
14554
  }), !M.current.isSwiping) {
14555
14555
  M.current.isSwiping = null;
@@ -14580,11 +14580,11 @@ const v_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
14580
14580
  }), M.current.velocity = 0, M.current.lastTime = null, M.current.lastTranslate = null, M.current.paperHit = !1, B.current = !0;
14581
14581
  }
14582
14582
  }, "startMaybeSwiping"), V = Tr((H) => {
14583
- if (!L.current || !B.current || _n !== null && _n !== M.current)
14583
+ if (!L.current || !B.current || Dn !== null && Dn !== M.current)
14584
14584
  return;
14585
14585
  D(!0);
14586
14586
  const U = ws(o, s), J = qo(s), G = Jp(U, H.touches, Br(H.currentTarget)), re = Yp(U, H.touches, nn(H.currentTarget));
14587
- if (x && L.current.contains(H.target) && _n === null) {
14587
+ if (x && L.current.contains(H.target) && Dn === null) {
14588
14588
  const _ = b_(H.target, L.current);
14589
14589
  if (y_({
14590
14590
  domTreeShapes: _,
@@ -14592,10 +14592,10 @@ const v_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
14592
14592
  current: J ? G : re,
14593
14593
  anchor: s
14594
14594
  })) {
14595
- _n = !0;
14595
+ Dn = !0;
14596
14596
  return;
14597
14597
  }
14598
- _n = M.current;
14598
+ Dn = M.current;
14599
14599
  }
14600
14600
  if (M.current.isSwiping == null) {
14601
14601
  const _ = Math.abs(G - M.current.startX), ee = Math.abs(re - M.current.startY), Y = J ? _ > ee && _ > fc : ee > _ && ee > fc;
@@ -14637,7 +14637,7 @@ const v_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
14637
14637
  } else if (re > C)
14638
14638
  return;
14639
14639
  }
14640
- H.defaultMuiPrevented = !0, _n = null, M.current.startX = G, M.current.startY = re, D();
14640
+ H.defaultMuiPrevented = !0, Dn = null, M.current.startX = G, M.current.startY = re, D();
14641
14641
  });
14642
14642
  return O.useEffect(() => {
14643
14643
  if (w === "temporary") {
@@ -14651,7 +14651,7 @@ const v_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
14651
14651
  };
14652
14652
  }
14653
14653
  }, [w, x, Z, V, K]), O.useEffect(() => () => {
14654
- _n === M.current && (_n = null);
14654
+ Dn === M.current && (Dn = null);
14655
14655
  }, []), O.useEffect(() => {
14656
14656
  x || A(!1);
14657
14657
  }, [x]), /* @__PURE__ */ W(O.Fragment, {
@@ -15579,7 +15579,7 @@ const j_ = /* @__PURE__ */ a((e) => {
15579
15579
  } = e, u = pt(e), d = Lt(), p = $l(), f = Ya(), h = rp(e), g = !ih(t.row, i), m = o && g;
15580
15580
  return /* @__PURE__ */ W(O.Fragment, { children: [
15581
15581
  /* @__PURE__ */ v(
15582
- st,
15582
+ et,
15583
15583
  {
15584
15584
  sx: {
15585
15585
  width: "100%",
@@ -15670,7 +15670,7 @@ const j_ = /* @__PURE__ */ a((e) => {
15670
15670
  ] })
15671
15671
  }
15672
15672
  ),
15673
- /* @__PURE__ */ v(st, { sx: { width: "100%" }, children: /* @__PURE__ */ v($i, { sx: { p: 2 }, children: r.map((b) => /* @__PURE__ */ W(
15673
+ /* @__PURE__ */ v(et, { sx: { width: "100%" }, children: /* @__PURE__ */ v($i, { sx: { p: 2 }, children: r.map((b) => /* @__PURE__ */ W(
15674
15674
  bo,
15675
15675
  {
15676
15676
  onClick: /* @__PURE__ */ a(() => typeof b.handler == "function" ? b.handler(
@@ -22590,7 +22590,7 @@ const EB = {
22590
22590
  zhCN: FB,
22591
22591
  zhHK: BB,
22592
22592
  zhTW: IB
22593
- }, Symbol.toStringTag, { value: "Module" })), WB = /* @__PURE__ */ Fn(HB);
22593
+ }, Symbol.toStringTag, { value: "Module" })), WB = /* @__PURE__ */ $n(HB);
22594
22594
  (function(e) {
22595
22595
  Object.defineProperty(e, "__esModule", {
22596
22596
  value: !0
@@ -22927,9 +22927,9 @@ const nj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
22927
22927
  children: p === "form" ? (/* @__PURE__ */ a(() => {
22928
22928
  var F, $, A;
22929
22929
  const w = O.isValidElement(l) && ((F = l.type.name) == null ? void 0 : F.startsWith("Form")) && ((($ = l.type.name) == null ? void 0 : $.endsWith("Create")) || ((A = l.type.name) == null ? void 0 : A.endsWith("Edit")));
22930
- return /* @__PURE__ */ W(Pn, { children: [
22930
+ return /* @__PURE__ */ W(Kn, { children: [
22931
22931
  /* @__PURE__ */ v(s1, { id: "draggable-dialog-title", children: s }),
22932
- /* @__PURE__ */ W(w ? st : Fl, { resource: r, onSubmit: u, children: [
22932
+ /* @__PURE__ */ W(w ? et : Fl, { resource: r, onSubmit: u, children: [
22933
22933
  /* @__PURE__ */ v(l1, { dividers: m, variant: "dense", children: /* @__PURE__ */ v(Rd, { spacing: 2, children: l }) }),
22934
22934
  /* @__PURE__ */ W(Gw, { children: [
22935
22935
  f.map(
@@ -22968,7 +22968,7 @@ const nj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
22968
22968
  ] })
22969
22969
  ] })
22970
22970
  ] });
22971
- }, "getDialogForm"))() : (/* @__PURE__ */ a(() => /* @__PURE__ */ W(Pn, { children: [
22971
+ }, "getDialogForm"))() : (/* @__PURE__ */ a(() => /* @__PURE__ */ W(Kn, { children: [
22972
22972
  /* @__PURE__ */ v(YC, { sx: { position: "relative" }, color: "inherit", children: /* @__PURE__ */ W(QC, { disableGutters: !0, variant: "dense", children: [
22973
22973
  /* @__PURE__ */ v(
22974
22974
  Nt,
@@ -23166,7 +23166,7 @@ const nj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
23166
23166
  }
23167
23167
  return t;
23168
23168
  }, {}), "defaultConvertFilterModelToFilterValues"), ZC = /* @__PURE__ */ a((e) => {
23169
- var pr, Dn, fs, Zl, ec, tc, Ki;
23169
+ var pr, Nn, fs, Zl, ec, tc, Ki;
23170
23170
  const {
23171
23171
  actionButtons: t = [],
23172
23172
  actionButtonsHeader: r,
@@ -23215,7 +23215,7 @@ const nj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
23215
23215
  hiddenactions: Y = [],
23216
23216
  user: ge = [],
23217
23217
  lang: Ue = []
23218
- } = gt(qi), Ae = gt(hC), _e = Hg(), Te = (((Zl = (fs = (Dn = (pr = ee.current) == null ? void 0 : pr.state) == null ? void 0 : Dn.rowGrouping) == null ? void 0 : fs.model) == null ? void 0 : Zl.length) ?? 0) > 0;
23218
+ } = gt(qi), Ae = gt(hC), _e = Hg(), Te = (((Zl = (fs = (Nn = (pr = ee.current) == null ? void 0 : pr.state) == null ? void 0 : Nn.rowGrouping) == null ? void 0 : fs.model) == null ? void 0 : Zl.length) ?? 0) > 0;
23219
23219
  Ge(() => {
23220
23220
  Ae && (Ae.current.activePanel.params.apiRef = ee);
23221
23221
  }, [Ae]);
@@ -23536,7 +23536,7 @@ const nj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
23536
23536
  }, "renderCell")
23537
23537
  };
23538
23538
  });
23539
- }, [ft, be, ur]), pe = N && Un(B), Re = /* @__PURE__ */ a((oe) => {
23539
+ }, [ft, be, ur]), pe = N && Wn(B), Re = /* @__PURE__ */ a((oe) => {
23540
23540
  H || (N || !x ? J(oe) : ee.current.isRowSelected(oe[0]) ? J([]) : J(oe));
23541
23541
  }, "handleSelectionChange"), He = /* @__PURE__ */ a((oe) => {
23542
23542
  var dt;
@@ -23598,11 +23598,11 @@ const nj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
23598
23598
  }
23599
23599
  }
23600
23600
  };
23601
- return /* @__PURE__ */ W(Pn, { children: [
23601
+ return /* @__PURE__ */ W(Kn, { children: [
23602
23602
  /* @__PURE__ */ v(XC, { isLoading: H }),
23603
23603
  pe && K ? /* @__PURE__ */ v(xP, { selectedIds: U, children: B }) : null,
23604
23604
  /* @__PURE__ */ v(Jw, { theme: _e, children: /* @__PURE__ */ W(
23605
- st,
23605
+ et,
23606
23606
  {
23607
23607
  sx: e.unstable_listView ? {
23608
23608
  display: "flex",
@@ -24113,7 +24113,7 @@ const nj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
24113
24113
  onBeforeSubmitAsistente: s = La,
24114
24114
  onAfterSubmitAsistente: l = La
24115
24115
  } = e, [u, d] = Pm(!1), p = Wi(), f = cr(), h = RC({ apiRef: p, source: o, enviarTodo: i }), { estado: g } = kt(), m = cn();
24116
- return /* @__PURE__ */ W(Pn, { children: [
24116
+ return /* @__PURE__ */ W(Kn, { children: [
24117
24117
  /* @__PURE__ */ v(
24118
24118
  Oj,
24119
24119
  {
@@ -24298,7 +24298,7 @@ const nj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
24298
24298
  marginTop: 1,
24299
24299
  ...g
24300
24300
  },
24301
- children: /* @__PURE__ */ v(u1, { injectFirst: !0, children: /* @__PURE__ */ v(ng, { theme: S, children: /* @__PURE__ */ W(Pn, { children: [
24301
+ children: /* @__PURE__ */ v(u1, { injectFirst: !0, children: /* @__PURE__ */ v(ng, { theme: S, children: /* @__PURE__ */ W(Kn, { children: [
24302
24302
  /* @__PURE__ */ v(
24303
24303
  v1,
24304
24304
  {
@@ -24952,7 +24952,7 @@ function nT(e) {
24952
24952
  } = e, r = ie(e, Bj), n = O.useRef(), o = O.useRef(null), i = /* @__PURE__ */ a(() => {
24953
24953
  n.current = o.current.offsetHeight - o.current.clientHeight;
24954
24954
  }, "setMeasurements");
24955
- return An(() => {
24955
+ return Fn(() => {
24956
24956
  const s = zl(() => {
24957
24957
  const u = n.current;
24958
24958
  i(), u !== n.current && t(n.current);
@@ -25260,7 +25260,7 @@ const iT = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
25260
25260
  const n = Ce({
25261
25261
  props: t,
25262
25262
  name: "MuiTabs"
25263
- }), o = In(), i = jl(), {
25263
+ }), o = An(), i = jl(), {
25264
25264
  "aria-label": s,
25265
25265
  "aria-labelledby": l,
25266
25266
  action: u,
@@ -25485,12 +25485,12 @@ const iT = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
25485
25485
  const Re = te[0], He = te[pe - 1], vt = {
25486
25486
  root: Ae.current,
25487
25487
  threshold: 0.99
25488
- }, Ft = /* @__PURE__ */ a((Dn) => {
25489
- ae(!Dn[0].isIntersecting);
25488
+ }, Ft = /* @__PURE__ */ a((Nn) => {
25489
+ ae(!Nn[0].isIntersecting);
25490
25490
  }, "handleScrollButtonStart"), dr = new IntersectionObserver(Ft, vt);
25491
25491
  dr.observe(Re);
25492
- const un = /* @__PURE__ */ a((Dn) => {
25493
- le(!Dn[0].isIntersecting);
25492
+ const un = /* @__PURE__ */ a((Nn) => {
25493
+ le(!Nn[0].isIntersecting);
25494
25494
  }, "handleScrollButtonEnd"), pr = new IntersectionObserver(un, vt);
25495
25495
  return pr.observe(He), () => {
25496
25496
  dr.disconnect(), pr.disconnect();
@@ -25736,7 +25736,7 @@ const Tee = /* @__PURE__ */ a((e) => {
25736
25736
  GridComponent: i = xj,
25737
25737
  ...s
25738
25738
  } = e, l = t.id;
25739
- return /* @__PURE__ */ W(Pn, { children: [
25739
+ return /* @__PURE__ */ W(Kn, { children: [
25740
25740
  /* @__PURE__ */ v(
25741
25741
  iT,
25742
25742
  {
@@ -25782,7 +25782,7 @@ aT = Ug.default = (0, i5.default)(/* @__PURE__ */ (0, a5.jsx)("path", {
25782
25782
  const sT = /* @__PURE__ */ a((e) => {
25783
25783
  const t = Lt(), { defaultTitle: r, onClose: n, record: o, title: i } = e;
25784
25784
  return /* @__PURE__ */ W(s5, { id: "edit-dialog-title", children: [
25785
- Un(i) ? rn(i, { record: o }) : i ? t(i, { _: i }) : r,
25785
+ Wn(i) ? rn(i, { record: o }) : i ? t(i, { _: i }) : r,
25786
25786
  /* @__PURE__ */ v(
25787
25787
  ka,
25788
25788
  {
@@ -25907,7 +25907,7 @@ const sT = /* @__PURE__ */ a((e) => {
25907
25907
  }
25908
25908
  ),
25909
25909
  /* @__PURE__ */ v(l1, { dividers: !0, sx: { p: 0 }, children: /* @__PURE__ */ v(
25910
- st,
25910
+ et,
25911
25911
  {
25912
25912
  sx: {
25913
25913
  p: 2,
@@ -25930,9 +25930,9 @@ pT = qg.default = (0, p5.default)(/* @__PURE__ */ (0, f5.jsx)("path", {
25930
25930
  d: "M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"
25931
25931
  }), "OpenInNew");
25932
25932
  const fT = /* @__PURE__ */ a((e) => {
25933
- const t = Lt(), [r, n] = Be(!1), o = et(() => {
25933
+ const t = Lt(), [r, n] = Be(!1), o = tt(() => {
25934
25934
  n(!0);
25935
- }, []), i = et(() => {
25935
+ }, []), i = tt(() => {
25936
25936
  n(!1);
25937
25937
  }, []), s = Jr(
25938
25938
  () => ({
@@ -25947,7 +25947,7 @@ const fT = /* @__PURE__ */ a((e) => {
25947
25947
  inline: d,
25948
25948
  dialog: p,
25949
25949
  ButtonProps: f
25950
- } = e, h = et(
25950
+ } = e, h = tt(
25951
25951
  (b) => {
25952
25952
  o(), b.stopPropagation();
25953
25953
  },
@@ -26216,7 +26216,7 @@ const T5 = {
26216
26216
  timeout: b = "auto",
26217
26217
  // eslint-disable-next-line react/prop-types
26218
26218
  TransitionComponent: y = sn
26219
- } = t, x = ie(t, C5), k = sa(), T = O.useRef(), C = In(), S = O.useRef(null), w = At(S, i.ref, r), P = /* @__PURE__ */ a((z) => (B) => {
26219
+ } = t, x = ie(t, C5), k = sa(), T = O.useRef(), C = An(), S = O.useRef(null), w = At(S, i.ref, r), P = /* @__PURE__ */ a((z) => (B) => {
26220
26220
  if (z) {
26221
26221
  const j = S.current;
26222
26222
  B === void 0 ? z(j) : z(j, B);
@@ -26406,10 +26406,10 @@ var hr = "top", Gr = "bottom", Kr = "right", mr = "left", Kg = "auto", Jl = [hr,
26406
26406
  }, []), bT = /* @__PURE__ */ [].concat(Jl, [Kg]).reduce(function(e, t) {
26407
26407
  return e.concat([t, t + "-" + Na, t + "-" + fl]);
26408
26408
  }, []), F5 = "beforeRead", A5 = "read", I5 = "afterRead", L5 = "beforeMain", N5 = "main", D5 = "afterMain", _5 = "beforeWrite", z5 = "write", B5 = "afterWrite", j5 = [F5, A5, I5, L5, N5, D5, _5, z5, B5];
26409
- function Mn(e) {
26409
+ function Pn(e) {
26410
26410
  return e ? (e.nodeName || "").toLowerCase() : null;
26411
26411
  }
26412
- a(Mn, "getNodeName");
26412
+ a(Pn, "getNodeName");
26413
26413
  function Pr(e) {
26414
26414
  if (e == null)
26415
26415
  return window;
@@ -26441,7 +26441,7 @@ function V5(e) {
26441
26441
  var t = e.state;
26442
26442
  Object.keys(t.elements).forEach(function(r) {
26443
26443
  var n = t.styles[r] || {}, o = t.attributes[r] || {}, i = t.elements[r];
26444
- !Hr(i) || !Mn(i) || (Object.assign(i.style, n), Object.keys(o).forEach(function(s) {
26444
+ !Hr(i) || !Pn(i) || (Object.assign(i.style, n), Object.keys(o).forEach(function(s) {
26445
26445
  var l = o[s];
26446
26446
  l === !1 ? i.removeAttribute(s) : i.setAttribute(s, l === !0 ? "" : l);
26447
26447
  }));
@@ -26466,7 +26466,7 @@ function H5(e) {
26466
26466
  var o = t.elements[n], i = t.attributes[n] || {}, s = Object.keys(t.styles.hasOwnProperty(n) ? t.styles[n] : r[n]), l = s.reduce(function(u, d) {
26467
26467
  return u[d] = "", u;
26468
26468
  }, {});
26469
- !Hr(o) || !Mn(o) || (Object.assign(o.style, l), Object.keys(i).forEach(function(u) {
26469
+ !Hr(o) || !Pn(o) || (Object.assign(o.style, l), Object.keys(i).forEach(function(u) {
26470
26470
  o.removeAttribute(u);
26471
26471
  }));
26472
26472
  });
@@ -26544,7 +26544,7 @@ function Yn(e) {
26544
26544
  }
26545
26545
  a(Yn, "getComputedStyle$1");
26546
26546
  function U5(e) {
26547
- return ["table", "td", "th"].indexOf(Mn(e)) >= 0;
26547
+ return ["table", "td", "th"].indexOf(Pn(e)) >= 0;
26548
26548
  }
26549
26549
  a(U5, "isTableElement");
26550
26550
  function Fo(e) {
@@ -26555,7 +26555,7 @@ function Fo(e) {
26555
26555
  }
26556
26556
  a(Fo, "getDocumentElement");
26557
26557
  function dp(e) {
26558
- return Mn(e) === "html" ? e : (
26558
+ return Pn(e) === "html" ? e : (
26559
26559
  // this is a quicker (but less type safe) way to save quite some bytes from the bundle
26560
26560
  // $FlowFixMe[incompatible-return]
26561
26561
  // $FlowFixMe[prop-missing]
@@ -26580,7 +26580,7 @@ function q5(e) {
26580
26580
  return null;
26581
26581
  }
26582
26582
  var o = dp(e);
26583
- for (Jg(o) && (o = o.host); Hr(o) && ["html", "body"].indexOf(Mn(o)) < 0; ) {
26583
+ for (Jg(o) && (o = o.host); Hr(o) && ["html", "body"].indexOf(Pn(o)) < 0; ) {
26584
26584
  var i = Yn(o);
26585
26585
  if (i.transform !== "none" || i.perspective !== "none" || i.contain === "paint" || ["transform", "perspective"].indexOf(i.willChange) !== -1 || t && i.willChange === "filter" || t && i.filter && i.filter !== "none")
26586
26586
  return o;
@@ -26592,7 +26592,7 @@ a(q5, "getContainingBlock");
26592
26592
  function Yl(e) {
26593
26593
  for (var t = Pr(e), r = K0(e); r && U5(r) && Yn(r).position === "static"; )
26594
26594
  r = K0(r);
26595
- return r && (Mn(r) === "html" || Mn(r) === "body" && Yn(r).position === "static") ? t : r || q5(e) || t;
26595
+ return r && (Pn(r) === "html" || Pn(r) === "body" && Yn(r).position === "static") ? t : r || q5(e) || t;
26596
26596
  }
26597
26597
  a(Yl, "getOffsetParent");
26598
26598
  function Qg(e) {
@@ -26836,7 +26836,7 @@ function eb(e) {
26836
26836
  }
26837
26837
  a(eb, "isScrollParent");
26838
26838
  function CT(e) {
26839
- return ["html", "body", "#document"].indexOf(Mn(e)) >= 0 ? e.ownerDocument.body : Hr(e) && eb(e) ? e : CT(dp(e));
26839
+ return ["html", "body", "#document"].indexOf(Pn(e)) >= 0 ? e.ownerDocument.body : Hr(e) && eb(e) ? e : CT(dp(e));
26840
26840
  }
26841
26841
  a(CT, "getScrollParent");
26842
26842
  function Is(e, t) {
@@ -26870,7 +26870,7 @@ a(Q0, "getClientRectFromMixedType");
26870
26870
  function cV(e) {
26871
26871
  var t = Is(dp(e)), r = ["absolute", "fixed"].indexOf(Yn(e).position) >= 0, n = r && Hr(e) ? Yl(e) : e;
26872
26872
  return Fi(n) ? t.filter(function(o) {
26873
- return Fi(o) && vT(o, n) && Mn(o) !== "body";
26873
+ return Fi(o) && vT(o, n) && Pn(o) !== "body";
26874
26874
  }) : [];
26875
26875
  }
26876
26876
  a(cV, "getClippingParents");
@@ -27196,7 +27196,7 @@ function PV(e, t, r) {
27196
27196
  x: 0,
27197
27197
  y: 0
27198
27198
  };
27199
- return (n || !n && !r) && ((Mn(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
27199
+ return (n || !n && !r) && ((Pn(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
27200
27200
  eb(i)) && (l = kV(t)), Hr(t) ? (u = _a(t, !0), u.x += t.clientLeft, u.y += t.clientTop) : i && (u.x = Zg(i))), {
27201
27201
  x: s.left + l.scrollLeft - u.x,
27202
27202
  y: s.top + l.scrollTop - u.y,
@@ -27531,7 +27531,7 @@ const jV = /* @__PURE__ */ a((e) => {
27531
27531
  P = i;
27532
27532
  else if (n) {
27533
27533
  const A = lu(n);
27534
- P = A && pp(A) ? qn(A).body : qn(null).body;
27534
+ P = A && pp(A) ? Un(A).body : Un(null).body;
27535
27535
  }
27536
27536
  const F = !p && u && (!b || T) ? "none" : void 0, $ = b ? {
27537
27537
  in: p,
@@ -28082,7 +28082,7 @@ const fp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
28082
28082
  TransitionProps: ee
28083
28083
  } = w, Y = ie(w, GV), ge = /* @__PURE__ */ O.isValidElement(F) ? F : /* @__PURE__ */ v("span", {
28084
28084
  children: F
28085
- }), Ue = In(), Ae = jl(), [_e, Te] = O.useState(), [Ve, Ie] = O.useState(null), lt = O.useRef(!1), ct = L || K, qe = sa(), ut = sa(), Qe = sa(), yt = sa(), [Le, ve] = sl({
28085
+ }), Ue = An(), Ae = jl(), [_e, Te] = O.useState(), [Ve, Ie] = O.useState(null), lt = O.useRef(!1), ct = L || K, qe = sa(), ut = sa(), Qe = sa(), yt = sa(), [Le, ve] = sl({
28086
28086
  controlled: J,
28087
28087
  default: !1,
28088
28088
  name: "Tooltip",
@@ -28130,7 +28130,7 @@ const fp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
28130
28130
  ref: dr
28131
28131
  } = Jd(), [, un] = O.useState(!1), pr = /* @__PURE__ */ a((De) => {
28132
28132
  vt(De), He.current === !1 && (un(!1), Re(De));
28133
- }, "handleBlur"), Dn = /* @__PURE__ */ a((De) => {
28133
+ }, "handleBlur"), Nn = /* @__PURE__ */ a((De) => {
28134
28134
  _e || Te(De.currentTarget), Ft(De), He.current === !0 && (un(!0), pe(De));
28135
28135
  }, "handleFocus"), fs = /* @__PURE__ */ a((De) => {
28136
28136
  lt.current = !0;
@@ -28177,7 +28177,7 @@ const fp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
28177
28177
  `));
28178
28178
  }, [_e]));
28179
28179
  const dt = {};
28180
- z || (Ne.onTouchStart = Zl, Ne.onTouchEnd = ec), I || (Ne.onMouseOver = yc(pe, Ne.onMouseOver), Ne.onMouseLeave = yc(Re, Ne.onMouseLeave), ct || (dt.onMouseOver = pe, dt.onMouseLeave = Re)), R || (Ne.onFocus = yc(Dn, Ne.onFocus), Ne.onBlur = yc(pr, Ne.onBlur), ct || (dt.onFocus = Dn, dt.onBlur = pr)), process.env.NODE_ENV !== "production" && ge.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${ge.props.title}\` or the Tooltip component.`].join(`
28180
+ z || (Ne.onTouchStart = Zl, Ne.onTouchEnd = ec), I || (Ne.onMouseOver = yc(pe, Ne.onMouseOver), Ne.onMouseLeave = yc(Re, Ne.onMouseLeave), ct || (dt.onMouseOver = pe, dt.onMouseLeave = Re)), R || (Ne.onFocus = yc(Nn, Ne.onFocus), Ne.onBlur = yc(pr, Ne.onBlur), ct || (dt.onFocus = Nn, dt.onBlur = pr)), process.env.NODE_ENV !== "production" && ge.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${ge.props.title}\` or the Tooltip component.`].join(`
28181
28181
  `));
28182
28182
  const $e = O.useMemo(() => {
28183
28183
  var De;
@@ -28611,7 +28611,7 @@ const ZV = /* @__PURE__ */ a(({
28611
28611
  }
28612
28612
  ),
28613
28613
  /* @__PURE__ */ v(
28614
- st,
28614
+ et,
28615
28615
  {
28616
28616
  sx: {
28617
28617
  opacity: u ? 0.6 : 1,
@@ -28745,7 +28745,7 @@ const l3 = /* @__PURE__ */ a((e) => {
28745
28745
  translate: t
28746
28746
  });
28747
28747
  return /* @__PURE__ */ v(
28748
- st,
28748
+ et,
28749
28749
  {
28750
28750
  sx: {
28751
28751
  width: i ? 230 : 50,
@@ -28791,7 +28791,7 @@ const f3 = /* @__PURE__ */ a((e) => {
28791
28791
  icon: r = h3,
28792
28792
  onClick: n,
28793
28793
  ...o
28794
- } = e, i = EC(e), s = et(
28794
+ } = e, i = EC(e), s = tt(
28795
28795
  (l) => {
28796
28796
  l.preventDefault(), i(), typeof n == "function" && n(l);
28797
28797
  },
@@ -29710,7 +29710,7 @@ process.env.NODE_ENV !== "production" && (AT.propTypes = {
29710
29710
  * If `true`, the card will use raised styling.
29711
29711
  * @default false
29712
29712
  */
29713
- raised: Ln(c.bool, (e) => e.raised && e.variant === "outlined" ? new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.') : null),
29713
+ raised: In(c.bool, (e) => e.raised && e.variant === "outlined" ? new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.') : null),
29714
29714
  /**
29715
29715
  * The system prop that allows defining system overrides as well as additional CSS styles.
29716
29716
  */
@@ -29815,7 +29815,7 @@ const Aee = /* @__PURE__ */ a((e) => {
29815
29815
  const m = {};
29816
29816
  return g[r] || (m[r] = s("ra.validation.required")), g[n] || (m[n] = s("ra.validation.required")), m;
29817
29817
  }, "validate"), children: /* @__PURE__ */ v(
29818
- st,
29818
+ et,
29819
29819
  {
29820
29820
  sx: {
29821
29821
  display: "flex",
@@ -29829,7 +29829,7 @@ const Aee = /* @__PURE__ */ a((e) => {
29829
29829
  },
29830
29830
  children: /* @__PURE__ */ W(AT, { sx: { minWidth: 300, marginTop: "6em" }, children: [
29831
29831
  /* @__PURE__ */ v(
29832
- st,
29832
+ et,
29833
29833
  {
29834
29834
  sx: {
29835
29835
  margin: "1em",
@@ -29848,7 +29848,7 @@ const Aee = /* @__PURE__ */ a((e) => {
29848
29848
  }
29849
29849
  ),
29850
29850
  /* @__PURE__ */ v(
29851
- st,
29851
+ et,
29852
29852
  {
29853
29853
  sx: {
29854
29854
  marginTop: "1em",
@@ -29860,8 +29860,8 @@ const Aee = /* @__PURE__ */ a((e) => {
29860
29860
  children: "Inicio de Sesión"
29861
29861
  }
29862
29862
  ),
29863
- /* @__PURE__ */ W(st, { sx: { padding: "0 1em 1em 1em" }, children: [
29864
- /* @__PURE__ */ v(st, { sx: { marginTop: 0 }, children: /* @__PURE__ */ v(
29863
+ /* @__PURE__ */ W(et, { sx: { padding: "0 1em 1em 1em" }, children: [
29864
+ /* @__PURE__ */ v(et, { sx: { marginTop: 0 }, children: /* @__PURE__ */ v(
29865
29865
  En,
29866
29866
  {
29867
29867
  autoFocus: !0,
@@ -29871,7 +29871,7 @@ const Aee = /* @__PURE__ */ a((e) => {
29871
29871
  disabled: o
29872
29872
  }
29873
29873
  ) }),
29874
- /* @__PURE__ */ v(st, { sx: { marginTop: 0 }, children: /* @__PURE__ */ v(
29874
+ /* @__PURE__ */ v(et, { sx: { marginTop: 0 }, children: /* @__PURE__ */ v(
29875
29875
  T1,
29876
29876
  {
29877
29877
  name: n,
@@ -29963,7 +29963,7 @@ const NT = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
29963
29963
  previousKeyMatched: !0,
29964
29964
  lastTime: null
29965
29965
  });
29966
- An(() => {
29966
+ Fn(() => {
29967
29967
  o && g.current.focus();
29968
29968
  }, [o]), O.useImperativeHandle(n, () => ({
29969
29969
  adjustStyleForScrollbar: /* @__PURE__ */ a((T, {
@@ -30306,7 +30306,7 @@ process.env.NODE_ENV !== "production" && (_T.propTypes = {
30306
30306
  * or a function that returns either.
30307
30307
  * It's used to set the position of the popover.
30308
30308
  */
30309
- anchorEl: Ln(c.oneOfType([Pi, c.func]), (e) => {
30309
+ anchorEl: In(c.oneOfType([Pi, c.func]), (e) => {
30310
30310
  if (e.open && (!e.anchorReference || e.anchorReference === "anchorEl")) {
30311
30311
  const t = jc(e.anchorEl);
30312
30312
  if (t && t.nodeType === 1) {
@@ -30829,7 +30829,7 @@ const vs = Oe("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi
30829
30829
  dense: s || m.dense || !1,
30830
30830
  disableGutters: u
30831
30831
  }), [m.dense, s, u]), y = O.useRef(null);
30832
- An(() => {
30832
+ Fn(() => {
30833
30833
  o && (y.current ? y.current.focus() : process.env.NODE_ENV !== "production" && console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."));
30834
30834
  }, [o]);
30835
30835
  const x = E({}, n, {
@@ -30942,7 +30942,7 @@ const Iee = /* @__PURE__ */ a((e) => {
30942
30942
  }, "handleToggle"), b = /* @__PURE__ */ a((k) => {
30943
30943
  d.current && d.current.contains(k.target) || u(!1);
30944
30944
  }, "handleClose"), y = t[p], x = (y == null ? void 0 : y.icon) || r;
30945
- return /* @__PURE__ */ W(Pn, { children: [
30945
+ return /* @__PURE__ */ W(Kn, { children: [
30946
30946
  /* @__PURE__ */ v(fp, { title: y == null ? void 0 : y.label, children: /* @__PURE__ */ W(
30947
30947
  jr,
30948
30948
  {
@@ -30969,7 +30969,7 @@ const Iee = /* @__PURE__ */ a((e) => {
30969
30969
  O.cloneElement(k.icon, {
30970
30970
  fontSize: "medium"
30971
30971
  }),
30972
- /* @__PURE__ */ v(st, { component: "span", sx: { paddingRight: "1em" } }),
30972
+ /* @__PURE__ */ v(et, { component: "span", sx: { paddingRight: "1em" } }),
30973
30973
  /* @__PURE__ */ v(Nt, { fontSize: "small", color: "textPrimary", children: k.label })
30974
30974
  ]
30975
30975
  },
@@ -31070,7 +31070,7 @@ const Iee = /* @__PURE__ */ a((e) => {
31070
31070
  `${b}/${w}`,
31071
31071
  f.pathname
31072
31072
  ) : g !== S;
31073
- return Un(C) ? O.cloneElement(C, {
31073
+ return Wn(C) ? O.cloneElement(C, {
31074
31074
  intent: "content",
31075
31075
  resource: h,
31076
31076
  hidden: P,
@@ -31244,7 +31244,7 @@ const O4 = /* @__PURE__ */ a(({
31244
31244
  incluyeAcciones: o = !1,
31245
31245
  saveButtonProps: i,
31246
31246
  ...s
31247
- } = e, [l, u] = Be(!1), d = cn(s), p = Zn(), { trigger: f } = cr(), { hidden: h } = TC(), g = et(
31247
+ } = e, [l, u] = Be(!1), d = cn(s), p = Zn(), { trigger: f } = cr(), { hidden: h } = TC(), g = tt(
31248
31248
  async (m, b, y) => {
31249
31249
  typeof t == "function" ? await f() ? (u(!0), t(d, b, y, m).finally(() => {
31250
31250
  u(!1);
@@ -31595,7 +31595,7 @@ const lx = /* @__PURE__ */ a((e) => {
31595
31595
  s(h.message, { type: "error" }), r(!1);
31596
31596
  }
31597
31597
  }, "openCamera"))();
31598
- }, [t]), /* @__PURE__ */ W(Pn, { children: [
31598
+ }, [t]), /* @__PURE__ */ W(Kn, { children: [
31599
31599
  /* @__PURE__ */ v(
31600
31600
  Ml,
31601
31601
  {
@@ -31603,7 +31603,7 @@ const lx = /* @__PURE__ */ a((e) => {
31603
31603
  loading: !t,
31604
31604
  maxWidth: "sm",
31605
31605
  title: "",
31606
- content: /* @__PURE__ */ W(st, { display: "flex", flexDirection: "column", children: [
31606
+ content: /* @__PURE__ */ W(et, { display: "flex", flexDirection: "column", children: [
31607
31607
  /* @__PURE__ */ v(
31608
31608
  Ov,
31609
31609
  {
@@ -31858,7 +31858,7 @@ const lx = /* @__PURE__ */ a((e) => {
31858
31858
  }, "Camino"), Uee = /* @__PURE__ */ a((e) => {
31859
31859
  const { propsContenido: t, hidden: r } = xr(e);
31860
31860
  return !r && /* @__PURE__ */ v(
31861
- st,
31861
+ et,
31862
31862
  {
31863
31863
  sx: {
31864
31864
  display: "inline-flex",
@@ -31888,7 +31888,7 @@ const lx = /* @__PURE__ */ a((e) => {
31888
31888
  return Ge(() => {
31889
31889
  s || typeof t == "function" && t(Object.values([l]));
31890
31890
  }, [l, t, s]), /* @__PURE__ */ v(U4, { title: ((p = d.current) == null ? void 0 : p.value) || "", placement: "top", arrow: !0, children: /* @__PURE__ */ v(
31891
- st,
31891
+ et,
31892
31892
  {
31893
31893
  sx: n ? { marginLeft: 1, ...r } : {
31894
31894
  display: { xs: "inherit", md: "inline-flex" },
@@ -31936,37 +31936,49 @@ const lx = /* @__PURE__ */ a((e) => {
31936
31936
  }
31937
31937
  return Ge(() => {
31938
31938
  h !== null && (g.current = h, n(GL(p)));
31939
- }, [JSON.stringify(h)]), !r && !o ? /* @__PURE__ */ W(Pn, { children: [
31940
- /* @__PURE__ */ v(
31941
- w1,
31942
- {
31943
- reference: f,
31944
- source: p,
31945
- perPage: u,
31946
- filter: y,
31947
- queryOptions: i,
31948
- children: /* @__PURE__ */ v(
31949
- q4,
31939
+ }, [JSON.stringify(h)]), !r && !o ? /* @__PURE__ */ W(
31940
+ et,
31941
+ {
31942
+ sx: {
31943
+ display: "flex",
31944
+ alignItems: "flex-start",
31945
+ gap: 1,
31946
+ width: "100%"
31947
+ },
31948
+ children: [
31949
+ /* @__PURE__ */ v(et, { sx: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ v(
31950
+ w1,
31950
31951
  {
31951
- ...d,
31952
- callback: b,
31953
- optionText: "etiqueta"
31952
+ reference: f,
31953
+ source: p,
31954
+ perPage: u,
31955
+ filter: y,
31956
+ queryOptions: i,
31957
+ children: /* @__PURE__ */ v(
31958
+ q4,
31959
+ {
31960
+ ...d,
31961
+ callback: b,
31962
+ optionText: "etiqueta",
31963
+ sx: { width: "100% !important" }
31964
+ }
31965
+ )
31954
31966
  }
31955
- )
31956
- }
31957
- ),
31958
- s ? /* @__PURE__ */ v(
31959
- s,
31960
- {
31961
- panel: {
31962
- resource: l,
31963
- tipo: "ventana",
31964
- inline: !0,
31965
- ButtonProps: { size: "small", sx: { mt: 1 } }
31966
- }
31967
- }
31968
- ) : null
31969
- ] }) : null;
31967
+ ) }),
31968
+ s ? /* @__PURE__ */ v(
31969
+ s,
31970
+ {
31971
+ panel: {
31972
+ resource: l,
31973
+ tipo: "ventana",
31974
+ inline: !0,
31975
+ ButtonProps: { size: "small", sx: { mt: 1 } }
31976
+ }
31977
+ }
31978
+ ) : null
31979
+ ]
31980
+ }
31981
+ ) : null;
31970
31982
  }, "ComboBox"), qee = /* @__PURE__ */ a((e) => {
31971
31983
  const { propsContenido: t, hidden: r } = xr(e);
31972
31984
  return !r && /* @__PURE__ */ v(YP, { ...t });
@@ -32254,13 +32266,13 @@ const aH = /* @__PURE__ */ a((e) => {
32254
32266
  root: ["root", r && "container", o && "item", l && "zeroMinWidth", ...d, n !== "row" && `direction-xs-${String(n)}`, s !== "wrap" && `wrap-xs-${String(s)}`, ...p]
32255
32267
  };
32256
32268
  return Se(f, K4, t);
32257
- }, "useUtilityClasses$c"), Wn = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
32269
+ }, "useUtilityClasses$c"), Hn = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
32258
32270
  const n = Ce({
32259
32271
  props: t,
32260
32272
  name: "MuiGrid"
32261
32273
  }), {
32262
32274
  breakpoints: o
32263
- } = In(), i = _l(n), {
32275
+ } = An(), i = _l(n), {
32264
32276
  className: s,
32265
32277
  columns: l,
32266
32278
  columnSpacing: u,
@@ -32299,7 +32311,7 @@ const aH = /* @__PURE__ */ a((e) => {
32299
32311
  }, P))
32300
32312
  });
32301
32313
  }, "Grid"));
32302
- process.env.NODE_ENV !== "production" && (Wn.propTypes = {
32314
+ process.env.NODE_ENV !== "production" && (Hn.propTypes = {
32303
32315
  // ┌────────────────────────────── Warning ──────────────────────────────┐
32304
32316
  // │ These PropTypes are generated from the TypeScript type definitions. │
32305
32317
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -32428,8 +32440,8 @@ process.env.NODE_ENV !== "production" && (Wn.propTypes = {
32428
32440
  zeroMinWidth: c.bool
32429
32441
  });
32430
32442
  if (process.env.NODE_ENV !== "production") {
32431
- const e = NS("Grid", Wn);
32432
- Wn.propTypes = E({}, Wn.propTypes, {
32443
+ const e = NS("Grid", Hn);
32444
+ Hn.propTypes = E({}, Hn.propTypes, {
32433
32445
  direction: e("container"),
32434
32446
  lg: e("item"),
32435
32447
  md: e("item"),
@@ -33004,7 +33016,7 @@ const ux = /* @__PURE__ */ a((e, t) => e.filter((r) => !t.includes(r)), "not"),
33004
33016
  );
33005
33017
  }, "customList");
33006
33018
  return /* @__PURE__ */ W(
33007
- Wn,
33019
+ Hn,
33008
33020
  {
33009
33021
  container: !0,
33010
33022
  spacing: 4,
@@ -33015,7 +33027,7 @@ const ux = /* @__PURE__ */ a((e, t) => e.filter((r) => !t.includes(r)), "not"),
33015
33027
  marginLeft: R.spacing(-4)
33016
33028
  }), "sx"),
33017
33029
  children: [
33018
- /* @__PURE__ */ v(Wn, { item: !0, children: /* @__PURE__ */ v(
33030
+ /* @__PURE__ */ v(Hn, { item: !0, children: /* @__PURE__ */ v(
33019
33031
  v1,
33020
33032
  {
33021
33033
  label: e.label,
@@ -33025,8 +33037,8 @@ const ux = /* @__PURE__ */ a((e, t) => e.filter((r) => !t.includes(r)), "not"),
33025
33037
  children: M(d, !0)
33026
33038
  }
33027
33039
  ) }),
33028
- /* @__PURE__ */ v(Wn, { item: !0, children: /* @__PURE__ */ W(
33029
- Wn,
33040
+ /* @__PURE__ */ v(Hn, { item: !0, children: /* @__PURE__ */ W(
33041
+ Hn,
33030
33042
  {
33031
33043
  container: !0,
33032
33044
  direction: "column",
@@ -33140,7 +33152,7 @@ const ux = /* @__PURE__ */ a((e, t) => e.filter((r) => !t.includes(r)), "not"),
33140
33152
  ]
33141
33153
  }
33142
33154
  ) }),
33143
- /* @__PURE__ */ v(Wn, { item: !0, children: M(f, !1, { mt: 2.5 }) })
33155
+ /* @__PURE__ */ v(Hn, { item: !0, children: M(f, !1, { mt: 2.5 }) })
33144
33156
  ]
33145
33157
  }
33146
33158
  );
@@ -33275,12 +33287,12 @@ const _H = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
33275
33287
  onConfirm: d,
33276
33288
  contentResource: p,
33277
33289
  translateOptions: f = {}
33278
- } = e, h = Lt(), [g] = R1({ resource: p }), m = et(
33290
+ } = e, h = Lt(), [g] = R1({ resource: p }), m = tt(
33279
33291
  (y, x) => {
33280
33292
  y.stopPropagation(), d(y, g);
33281
33293
  },
33282
33294
  [g, d]
33283
- ), b = et((y) => {
33295
+ ), b = tt((y) => {
33284
33296
  y.stopPropagation();
33285
33297
  }, []);
33286
33298
  return /* @__PURE__ */ W(
@@ -33316,7 +33328,7 @@ const _H = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
33316
33328
  ]
33317
33329
  }
33318
33330
  );
33319
- }, "FiltroAsig"), jH = /* @__PURE__ */ a(() => /* @__PURE__ */ v(Pn, {}), "BulkActions"), VH = {
33331
+ }, "FiltroAsig"), jH = /* @__PURE__ */ a(() => /* @__PURE__ */ v(Kn, {}), "BulkActions"), VH = {
33320
33332
  seleccion: "",
33321
33333
  all: !0,
33322
33334
  none: !1
@@ -33339,7 +33351,7 @@ const _H = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
33339
33351
  g.setValue(f, VH);
33340
33352
  }, 0), n.current = !0);
33341
33353
  }, [g, f]);
33342
- const m = et(() => {
33354
+ const m = tt(() => {
33343
33355
  r(!1);
33344
33356
  }, [r]), b = /* @__PURE__ */ a((k, T) => {
33345
33357
  r(!1), g.setValue(f, {
@@ -33362,7 +33374,7 @@ const _H = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
33362
33374
  }, "handleTodos");
33363
33375
  return o ? null : /* @__PURE__ */ W(Ur, { children: [
33364
33376
  /* @__PURE__ */ v(
33365
- st,
33377
+ et,
33366
33378
  {
33367
33379
  display: "flex",
33368
33380
  alignItems: "center",
@@ -33495,7 +33507,7 @@ const _H = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
33495
33507
  s(g);
33496
33508
  }, "loadInitialData"))();
33497
33509
  }, []);
33498
- const u = et(
33510
+ const u = tt(
33499
33511
  (h, g) => {
33500
33512
  o({
33501
33513
  fillista: g,
@@ -33541,7 +33553,7 @@ const _H = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
33541
33553
  `${g.id}-placeholder`
33542
33554
  ) : null }, g.id)), "renderTreeItems");
33543
33555
  return /* @__PURE__ */ W(
33544
- st,
33556
+ et,
33545
33557
  {
33546
33558
  display: "flex",
33547
33559
  flex: 1,
@@ -33552,7 +33564,7 @@ const _H = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
33552
33564
  },
33553
33565
  children: [
33554
33566
  /* @__PURE__ */ v(
33555
- st,
33567
+ et,
33556
33568
  {
33557
33569
  flex: { xs: "1 0 auto", md: "0 0 300px" },
33558
33570
  sx: {
@@ -33573,7 +33585,7 @@ const _H = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
33573
33585
  }
33574
33586
  ),
33575
33587
  /* @__PURE__ */ v(
33576
- st,
33588
+ et,
33577
33589
  {
33578
33590
  flexGrow: 1,
33579
33591
  sx: {
@@ -33615,12 +33627,12 @@ const _H = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
33615
33627
  translateOptions: d = {},
33616
33628
  filgrilla: p,
33617
33629
  meta: f
33618
- } = e, h = Lt(), g = et(
33630
+ } = e, h = Lt(), g = tt(
33619
33631
  (b, y) => {
33620
33632
  b.stopPropagation(), u(b, y);
33621
33633
  },
33622
33634
  [u]
33623
- ), m = et((b) => {
33635
+ ), m = tt((b) => {
33624
33636
  b.stopPropagation();
33625
33637
  }, []);
33626
33638
  return /* @__PURE__ */ W(
@@ -33680,7 +33692,7 @@ const _H = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
33680
33692
  s.setValue(t, QH);
33681
33693
  }, 0), d.current = !0);
33682
33694
  }, [s, t]);
33683
- const w = et(() => {
33695
+ const w = tt(() => {
33684
33696
  i(!1);
33685
33697
  }, [i]), P = /* @__PURE__ */ a((A, M) => {
33686
33698
  i(!1), s.setValue(t, {
@@ -33703,7 +33715,7 @@ const _H = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
33703
33715
  }, "handleTodos");
33704
33716
  return p ? null : /* @__PURE__ */ W(Ur, { children: [
33705
33717
  /* @__PURE__ */ v(
33706
- st,
33718
+ et,
33707
33719
  {
33708
33720
  display: "flex",
33709
33721
  alignItems: "center",
@@ -37183,7 +37195,7 @@ const Gs = class Gs extends _t {
37183
37195
  a(Gs, "RemoveNodeMarkStep");
37184
37196
  let vl = Gs;
37185
37197
  _t.jsonID("removeNodeMark", vl);
37186
- const Vn = class Vn extends _t {
37198
+ const jn = class jn extends _t {
37187
37199
  /**
37188
37200
  The given `slice` should fit the 'gap' between `from` and
37189
37201
  `to`—the depths must line up, and the surrounding nodes must be
@@ -37203,21 +37215,21 @@ const Vn = class Vn extends _t {
37203
37215
  return new Qn([this.from, this.to - this.from, this.slice.size]);
37204
37216
  }
37205
37217
  invert(t) {
37206
- return new Vn(this.from, this.from + this.slice.size, t.slice(this.from, this.to));
37218
+ return new jn(this.from, this.from + this.slice.size, t.slice(this.from, this.to));
37207
37219
  }
37208
37220
  map(t) {
37209
37221
  let r = t.mapResult(this.from, 1), n = t.mapResult(this.to, -1);
37210
- return r.deletedAcross && n.deletedAcross ? null : new Vn(r.pos, Math.max(r.pos, n.pos), this.slice);
37222
+ return r.deletedAcross && n.deletedAcross ? null : new jn(r.pos, Math.max(r.pos, n.pos), this.slice);
37211
37223
  }
37212
37224
  merge(t) {
37213
- if (!(t instanceof Vn) || t.structure || this.structure)
37225
+ if (!(t instanceof jn) || t.structure || this.structure)
37214
37226
  return null;
37215
37227
  if (this.from + this.slice.size == t.from && !this.slice.openEnd && !t.slice.openStart) {
37216
37228
  let r = this.slice.size + t.slice.size == 0 ? fe.empty : new fe(this.slice.content.append(t.slice.content), this.slice.openStart, t.slice.openEnd);
37217
- return new Vn(this.from, this.to + (t.to - t.from), r, this.structure);
37229
+ return new jn(this.from, this.to + (t.to - t.from), r, this.structure);
37218
37230
  } else if (t.to == this.from && !this.slice.openStart && !t.slice.openEnd) {
37219
37231
  let r = this.slice.size + t.slice.size == 0 ? fe.empty : new fe(t.slice.content.append(this.slice.content), t.slice.openStart, this.slice.openEnd);
37220
- return new Vn(t.from, this.to, r, this.structure);
37232
+ return new jn(t.from, this.to, r, this.structure);
37221
37233
  } else
37222
37234
  return null;
37223
37235
  }
@@ -37231,11 +37243,11 @@ const Vn = class Vn extends _t {
37231
37243
  static fromJSON(t, r) {
37232
37244
  if (typeof r.from != "number" || typeof r.to != "number")
37233
37245
  throw new RangeError("Invalid input for ReplaceStep.fromJSON");
37234
- return new Vn(r.from, r.to, fe.fromJSON(t, r.slice), !!r.structure);
37246
+ return new jn(r.from, r.to, fe.fromJSON(t, r.slice), !!r.structure);
37235
37247
  }
37236
37248
  };
37237
- a(Vn, "ReplaceStep");
37238
- let Mr = Vn;
37249
+ a(jn, "ReplaceStep");
37250
+ let Mr = jn;
37239
37251
  _t.jsonID("replace", Mr);
37240
37252
  const da = class da extends _t {
37241
37253
  /**
@@ -38342,7 +38354,7 @@ const ff = /* @__PURE__ */ Object.create(null), _y = class _y {
38342
38354
  negative, it will search backwards first.
38343
38355
  */
38344
38356
  static near(t, r = 1) {
38345
- return this.findFrom(t, r) || this.findFrom(t, -r) || new Gn(t.node(0));
38357
+ return this.findFrom(t, r) || this.findFrom(t, -r) || new qn(t.node(0));
38346
38358
  }
38347
38359
  /**
38348
38360
  Find the cursor or leaf node selection closest to the start of
@@ -38351,14 +38363,14 @@ const ff = /* @__PURE__ */ Object.create(null), _y = class _y {
38351
38363
  exists.
38352
38364
  */
38353
38365
  static atStart(t) {
38354
- return oa(t, t, 0, 0, 1) || new Gn(t);
38366
+ return oa(t, t, 0, 0, 1) || new qn(t);
38355
38367
  }
38356
38368
  /**
38357
38369
  Find the cursor or leaf node selection closest to the end of the
38358
38370
  given document.
38359
38371
  */
38360
38372
  static atEnd(t) {
38361
- return oa(t, t, t.content.size, t.childCount, -1) || new Gn(t);
38373
+ return oa(t, t, t.content.size, t.childCount, -1) || new qn(t);
38362
38374
  }
38363
38375
  /**
38364
38376
  Deserialize the JSON representation of a selection. Must be
@@ -38601,14 +38613,14 @@ const fa = class fa extends Fe {
38601
38613
  }
38602
38614
  };
38603
38615
  a(fa, "AllSelection");
38604
- let Gn = fa;
38605
- Fe.jsonID("all", Gn);
38616
+ let qn = fa;
38617
+ Fe.jsonID("all", qn);
38606
38618
  const jW = {
38607
38619
  map() {
38608
38620
  return this;
38609
38621
  },
38610
38622
  resolve(e) {
38611
- return new Gn(e);
38623
+ return new qn(e);
38612
38624
  }
38613
38625
  };
38614
38626
  function oa(e, t, r, n, o, i = !1) {
@@ -39078,7 +39090,7 @@ const Ut = /* @__PURE__ */ a(function(e) {
39078
39090
  return t && t.nodeType == 11 ? t.host : t;
39079
39091
  }, "parentNode");
39080
39092
  let Ch = null;
39081
- const jn = /* @__PURE__ */ a(function(e, t, r) {
39093
+ const Bn = /* @__PURE__ */ a(function(e, t, r) {
39082
39094
  let n = Ch || (Ch = document.createRange());
39083
39095
  return n.setEnd(e, r ?? e.nodeValue.length), n.setStart(e, t || 0), n;
39084
39096
  }, "textRange"), HW = /* @__PURE__ */ a(function() {
@@ -39186,9 +39198,9 @@ function JW(e, t, r) {
39186
39198
  }
39187
39199
  }
39188
39200
  a(JW, "caretFromPoint");
39189
- const Rn = typeof navigator < "u" ? navigator : null, Rx = typeof document < "u" ? document : null, Io = Rn && Rn.userAgent || "", Th = /Edge\/(\d+)/.exec(Io), kE = /MSIE \d/.exec(Io), Eh = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Io), gr = !!(kE || Eh || Th), So = kE ? document.documentMode : Eh ? +Eh[1] : Th ? +Th[1] : 0, on = !gr && /gecko\/(\d+)/i.test(Io);
39201
+ const Mn = typeof navigator < "u" ? navigator : null, Rx = typeof document < "u" ? document : null, Io = Mn && Mn.userAgent || "", Th = /Edge\/(\d+)/.exec(Io), kE = /MSIE \d/.exec(Io), Eh = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Io), gr = !!(kE || Eh || Th), So = kE ? document.documentMode : Eh ? +Eh[1] : Th ? +Th[1] : 0, on = !gr && /gecko\/(\d+)/i.test(Io);
39190
39202
  on && +(/Firefox\/(\d+)/.exec(Io) || [0, 0])[1];
39191
- const kh = !gr && /Chrome\/(\d+)/.exec(Io), Xt = !!kh, wE = kh ? +kh[1] : 0, ar = !gr && !!Rn && /Apple Computer/.test(Rn.vendor), Ha = ar && (/Mobile\/\w+/.test(Io) || !!Rn && Rn.maxTouchPoints > 2), Nr = Ha || (Rn ? /Mac/.test(Rn.platform) : !1), YW = Rn ? /Win/.test(Rn.platform) : !1, tn = /Android \d/.test(Io), Xl = !!Rx && "webkitFontSmoothing" in Rx.documentElement.style, QW = Xl ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
39203
+ const kh = !gr && /Chrome\/(\d+)/.exec(Io), Xt = !!kh, wE = kh ? +kh[1] : 0, ar = !gr && !!Mn && /Apple Computer/.test(Mn.vendor), Ha = ar && (/Mobile\/\w+/.test(Io) || !!Mn && Mn.maxTouchPoints > 2), Nr = Ha || (Mn ? /Mac/.test(Mn.platform) : !1), YW = Mn ? /Win/.test(Mn.platform) : !1, tn = /Android \d/.test(Io), Xl = !!Rx && "webkitFontSmoothing" in Rx.documentElement.style, QW = Xl ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
39192
39204
  function XW(e) {
39193
39205
  let t = e.defaultView && e.defaultView.visualViewport;
39194
39206
  return t ? {
@@ -39204,10 +39216,10 @@ function XW(e) {
39204
39216
  };
39205
39217
  }
39206
39218
  a(XW, "windowRect");
39207
- function zn(e, t) {
39219
+ function _n(e, t) {
39208
39220
  return typeof e == "number" ? e : e[t];
39209
39221
  }
39210
- a(zn, "getSide");
39222
+ a(_n, "getSide");
39211
39223
  function ZW(e) {
39212
39224
  let t = e.getBoundingClientRect(), r = t.width / e.offsetWidth || 1, n = t.height / e.offsetHeight || 1;
39213
39225
  return {
@@ -39224,7 +39236,7 @@ function $x(e, t, r) {
39224
39236
  if (s.nodeType != 1)
39225
39237
  continue;
39226
39238
  let l = s, u = l == i.body, d = u ? XW(i) : ZW(l), p = 0, f = 0;
39227
- if (t.top < d.top + zn(n, "top") ? f = -(d.top - t.top + zn(o, "top")) : t.bottom > d.bottom - zn(n, "bottom") && (f = t.bottom - t.top > d.bottom - d.top ? t.top + zn(o, "top") - d.top : t.bottom - d.bottom + zn(o, "bottom")), t.left < d.left + zn(n, "left") ? p = -(d.left - t.left + zn(o, "left")) : t.right > d.right - zn(n, "right") && (p = t.right - d.right + zn(o, "right")), p || f)
39239
+ if (t.top < d.top + _n(n, "top") ? f = -(d.top - t.top + _n(o, "top")) : t.bottom > d.bottom - _n(n, "bottom") && (f = t.bottom - t.top > d.bottom - d.top ? t.top + _n(o, "top") - d.top : t.bottom - d.bottom + _n(o, "bottom")), t.left < d.left + _n(n, "left") ? p = -(d.left - t.left + _n(o, "left")) : t.right > d.right - _n(n, "right") && (p = t.right - d.right + _n(o, "right")), p || f)
39228
39240
  if (u)
39229
39241
  i.defaultView.scrollBy(p, f);
39230
39242
  else {
@@ -39293,7 +39305,7 @@ function RE(e, t) {
39293
39305
  if (p.nodeType == 1)
39294
39306
  h = p.getClientRects();
39295
39307
  else if (p.nodeType == 3)
39296
- h = jn(p).getClientRects();
39308
+ h = Bn(p).getClientRects();
39297
39309
  else
39298
39310
  continue;
39299
39311
  for (let g = 0; g < h.length; g++) {
@@ -39423,11 +39435,11 @@ function FE(e, t, r) {
39423
39435
  let { node: n, offset: o, atom: i } = e.docView.domFromPos(t, r < 0 ? -1 : 1), s = Xl || on;
39424
39436
  if (n.nodeType == 3)
39425
39437
  if (s && (l6.test(n.nodeValue) || (r < 0 ? !o : o == n.nodeValue.length))) {
39426
- let u = so(jn(n, o, o), r);
39438
+ let u = so(Bn(n, o, o), r);
39427
39439
  if (on && o && /\s/.test(n.nodeValue[o - 1]) && o < n.nodeValue.length) {
39428
- let d = so(jn(n, o - 1, o - 1), -1);
39440
+ let d = so(Bn(n, o - 1, o - 1), -1);
39429
39441
  if (d.top == u.top) {
39430
- let p = so(jn(n, o, o + 1), -1);
39442
+ let p = so(Bn(n, o, o + 1), -1);
39431
39443
  if (p.top != u.top)
39432
39444
  return Os(p, p.left < d.left);
39433
39445
  }
@@ -39435,7 +39447,7 @@ function FE(e, t, r) {
39435
39447
  return u;
39436
39448
  } else {
39437
39449
  let u = o, d = o, p = r < 0 ? 1 : -1;
39438
- return r < 0 && !o ? (d++, p = -1) : r >= 0 && o == n.nodeValue.length ? (u--, p = 1) : r < 0 ? u-- : d++, Os(so(jn(n, u, d), p), p < 0);
39450
+ return r < 0 && !o ? (d++, p = -1) : r >= 0 && o == n.nodeValue.length ? (u--, p = 1) : r < 0 ? u-- : d++, Os(so(Bn(n, u, d), p), p < 0);
39439
39451
  }
39440
39452
  if (!e.state.doc.resolve(t - (i || 0)).parent.inlineContent) {
39441
39453
  if (i == null && o && (r < 0 || o == zr(n))) {
@@ -39451,7 +39463,7 @@ function FE(e, t, r) {
39451
39463
  return mf(n.getBoundingClientRect(), r >= 0);
39452
39464
  }
39453
39465
  if (i == null && o && (r < 0 || o == zr(n))) {
39454
- let u = n.childNodes[o - 1], d = u.nodeType == 3 ? jn(u, zr(u) - (s ? 0 : 1)) : u.nodeType == 1 && (u.nodeName != "BR" || !u.nextSibling) ? u : null;
39466
+ let u = n.childNodes[o - 1], d = u.nodeType == 3 ? Bn(u, zr(u) - (s ? 0 : 1)) : u.nodeType == 1 && (u.nodeName != "BR" || !u.nextSibling) ? u : null;
39455
39467
  if (d)
39456
39468
  return Os(so(d, 1), !1);
39457
39469
  }
@@ -39459,11 +39471,11 @@ function FE(e, t, r) {
39459
39471
  let u = n.childNodes[o];
39460
39472
  for (; u.pmViewDesc && u.pmViewDesc.ignoreForCoords; )
39461
39473
  u = u.nextSibling;
39462
- let d = u ? u.nodeType == 3 ? jn(u, 0, s ? 0 : 1) : u.nodeType == 1 ? u : null : null;
39474
+ let d = u ? u.nodeType == 3 ? Bn(u, 0, s ? 0 : 1) : u.nodeType == 1 ? u : null : null;
39463
39475
  if (d)
39464
39476
  return Os(so(d, -1), !0);
39465
39477
  }
39466
- return Os(so(n.nodeType == 3 ? jn(n) : n, -r), r >= 0);
39478
+ return Os(so(n.nodeType == 3 ? Bn(n) : n, -r), r >= 0);
39467
39479
  }
39468
39480
  a(FE, "coordsAtPos");
39469
39481
  function Os(e, t) {
@@ -39510,7 +39522,7 @@ function c6(e, t, r) {
39510
39522
  if (l.nodeType == 1)
39511
39523
  u = l.getClientRects();
39512
39524
  else if (l.nodeType == 3)
39513
- u = jn(l, 0, l.nodeValue.length).getClientRects();
39525
+ u = Bn(l, 0, l.nodeValue.length).getClientRects();
39514
39526
  else
39515
39527
  continue;
39516
39528
  for (let d = 0; d < u.length; d++) {
@@ -39546,7 +39558,7 @@ function p6(e, t, r) {
39546
39558
  return Ax == t && Ix == r ? Lx : (Ax = t, Ix = r, Lx = r == "up" || r == "down" ? c6(e, t, r) : d6(e, t, r));
39547
39559
  }
39548
39560
  a(p6, "endOfTextblock");
39549
- const Wr = 0, Nx = 1, ai = 2, $n = 3, Uy = class Uy {
39561
+ const Wr = 0, Nx = 1, ai = 2, Rn = 3, Uy = class Uy {
39550
39562
  constructor(t, r, n, o) {
39551
39563
  this.parent = t, this.children = r, this.dom = n, this.contentDOM = o, this.dirty = Wr, n.pmViewDesc = this;
39552
39564
  }
@@ -39855,10 +39867,10 @@ const Wr = 0, Nx = 1, ai = 2, $n = 3, Uy = class Uy {
39855
39867
  if (n == s ? t <= s && r >= n : t < s && r > n) {
39856
39868
  let l = n + i.border, u = s - i.border;
39857
39869
  if (t >= l && r <= u) {
39858
- this.dirty = t == n || r == s ? ai : Nx, t == l && r == u && (i.contentLost || i.dom.parentNode != this.contentDOM) ? i.dirty = $n : i.markDirty(t - l, r - l);
39870
+ this.dirty = t == n || r == s ? ai : Nx, t == l && r == u && (i.contentLost || i.dom.parentNode != this.contentDOM) ? i.dirty = Rn : i.markDirty(t - l, r - l);
39859
39871
  return;
39860
39872
  } else
39861
- i.dirty = i.dom == i.contentDOM && i.dom.parentNode == this.contentDOM && !i.children.length ? ai : $n;
39873
+ i.dirty = i.dom == i.contentDOM && i.dom.parentNode == this.contentDOM && !i.children.length ? ai : Rn;
39862
39874
  }
39863
39875
  n = s;
39864
39876
  }
@@ -39953,10 +39965,10 @@ const Js = class Js extends Di {
39953
39965
  return (!s || !s.dom) && (s = Ii.renderSpec(document, r.type.spec.toDOM(r, n), null, r.attrs)), new Js(t, r, s.dom, s.contentDOM || s.dom);
39954
39966
  }
39955
39967
  parseRule() {
39956
- return this.dirty & $n || this.mark.type.spec.reparseInView ? null : { mark: this.mark.type.name, attrs: this.mark.attrs, contentElement: this.contentDOM };
39968
+ return this.dirty & Rn || this.mark.type.spec.reparseInView ? null : { mark: this.mark.type.name, attrs: this.mark.attrs, contentElement: this.contentDOM };
39957
39969
  }
39958
39970
  matchesMark(t) {
39959
- return this.dirty != $n && this.mark.eq(t);
39971
+ return this.dirty != Rn && this.mark.eq(t);
39960
39972
  }
39961
39973
  markDirty(t, r) {
39962
39974
  if (super.markDirty(t, r), this.dirty != Wr) {
@@ -40079,7 +40091,7 @@ const Sd = class Sd extends Di {
40079
40091
  // If this desc must be updated to match the given node decoration,
40080
40092
  // do so and return true.
40081
40093
  update(t, r, n, o) {
40082
- return this.dirty == $n || !t.sameMarkup(this.node) ? !1 : (this.updateInner(t, r, n, o), !0);
40094
+ return this.dirty == Rn || !t.sameMarkup(this.node) ? !1 : (this.updateInner(t, r, n, o), !0);
40083
40095
  }
40084
40096
  updateInner(t, r, n, o) {
40085
40097
  this.updateOuterDeco(r), this.node = t, this.innerDeco = n, this.contentDOM && this.updateChildren(o, this.posAtStart), this.dirty = Wr;
@@ -40121,7 +40133,7 @@ const Cd = class Cd extends Co {
40121
40133
  return { skip: t || !0 };
40122
40134
  }
40123
40135
  update(t, r, n, o) {
40124
- return this.dirty == $n || this.dirty != Wr && !this.inParent() || !t.sameMarkup(this.node) ? !1 : (this.updateOuterDeco(r), (this.dirty != Wr || t.text != this.node.text) && t.text != this.nodeDOM.nodeValue && (this.nodeDOM.nodeValue = t.text, o.trackWrites == this.nodeDOM && (o.trackWrites = null)), this.node = t, this.dirty = Wr, !0);
40136
+ return this.dirty == Rn || this.dirty != Wr && !this.inParent() || !t.sameMarkup(this.node) ? !1 : (this.updateOuterDeco(r), (this.dirty != Wr || t.text != this.node.text) && t.text != this.nodeDOM.nodeValue && (this.nodeDOM.nodeValue = t.text, o.trackWrites == this.nodeDOM && (o.trackWrites = null)), this.node = t, this.dirty = Wr, !0);
40125
40137
  }
40126
40138
  inParent() {
40127
40139
  let t = this.parent.contentDOM;
@@ -40144,7 +40156,7 @@ const Cd = class Cd extends Co {
40144
40156
  return new Cd(this.parent, o, this.outerDeco, this.innerDeco, i, i, n);
40145
40157
  }
40146
40158
  markDirty(t, r) {
40147
- super.markDirty(t, r), this.dom != this.nodeDOM && (t == 0 || r == this.nodeDOM.nodeValue.length) && (this.dirty = $n);
40159
+ super.markDirty(t, r), this.dom != this.nodeDOM && (t == 0 || r == this.nodeDOM.nodeValue.length) && (this.dirty = Rn);
40148
40160
  }
40149
40161
  get domAtom() {
40150
40162
  return !1;
@@ -40179,7 +40191,7 @@ const Jy = class Jy extends Co {
40179
40191
  // through. If it does, and there's a `contentDOM` node, our logic
40180
40192
  // updates the children.
40181
40193
  update(t, r, n, o) {
40182
- if (this.dirty == $n)
40194
+ if (this.dirty == Rn)
40183
40195
  return !1;
40184
40196
  if (this.spec.update && (this.node.type == t.type || this.spec.multiType)) {
40185
40197
  let i = this.spec.update(t, r, n);
@@ -40367,7 +40379,7 @@ const Yy = class Yy {
40367
40379
  }
40368
40380
  updateNodeAt(t, r, n, o, i) {
40369
40381
  let s = this.top.children[o];
40370
- return s.dirty == $n && s.dom == s.contentDOM && (s.dirty = ai), s.update(t, r, n, i) ? (this.destroyBetween(this.index, o), this.index++, !0) : !1;
40382
+ return s.dirty == Rn && s.dom == s.contentDOM && (s.dirty = ai), s.update(t, r, n, i) ? (this.destroyBetween(this.index, o), this.index++, !0) : !1;
40371
40383
  }
40372
40384
  findIndexWithChild(t) {
40373
40385
  for (; ; ) {
@@ -40395,7 +40407,7 @@ const Yy = class Yy {
40395
40407
  let d = this.preMatch.matched.get(u);
40396
40408
  if (d != null && d != i)
40397
40409
  return !1;
40398
- let p = u.dom, f, h = this.isLocked(p) && !(t.isText && u.node && u.node.isText && u.nodeDOM.nodeValue == t.text && u.dirty != $n && ku(r, u.outerDeco));
40410
+ let p = u.dom, f, h = this.isLocked(p) && !(t.isText && u.node && u.node.isText && u.nodeDOM.nodeValue == t.text && u.dirty != Rn && ku(r, u.outerDeco));
40399
40411
  if (!h && u.update(t, r, n, o))
40400
40412
  return this.destroyBetween(this.index, l), u.dom != p && (this.changed = !0), this.index++, !0;
40401
40413
  if (!h && (f = this.recreateWrapper(u, t, r, n, o, s)))
@@ -40622,7 +40634,7 @@ function DE(e) {
40622
40634
  return e.editable ? e.hasFocus() : zE(e) && document.activeElement && document.activeElement.contains(e.dom);
40623
40635
  }
40624
40636
  a(DE, "editorOwnsSelection");
40625
- function Kn(e, t = !1) {
40637
+ function Gn(e, t = !1) {
40626
40638
  let r = e.state.selection;
40627
40639
  if (_E(e, r), !!DE(e)) {
40628
40640
  if (!t && e.input.mouseDown && e.input.mouseDown.allowDefault && Xt) {
@@ -40641,7 +40653,7 @@ function Kn(e, t = !1) {
40641
40653
  e.domObserver.setCurSelection(), e.domObserver.connectSelection();
40642
40654
  }
40643
40655
  }
40644
- a(Kn, "selectionToDOM");
40656
+ a(Gn, "selectionToDOM");
40645
40657
  const zx = ar || Xt && wE < 63;
40646
40658
  function Bx(e, t) {
40647
40659
  let { node: r, offset: n } = e.docView.domFromPos(t, 0), o = n < r.childNodes.length ? r.childNodes[n] : null, i = n ? r.childNodes[n - 1] : null;
@@ -40887,7 +40899,7 @@ function Ah(e, t, r) {
40887
40899
  e.domObserver.setCurSelection();
40888
40900
  let { state: o } = e;
40889
40901
  setTimeout(() => {
40890
- e.state == o && Kn(e);
40902
+ e.state == o && Gn(e);
40891
40903
  }, 50);
40892
40904
  }
40893
40905
  a(Ah, "setSelFocus");
@@ -40920,7 +40932,7 @@ function qx(e, t, r) {
40920
40932
  return lo(e, s);
40921
40933
  }
40922
40934
  if (!o.parent.inlineContent) {
40923
- let s = t < 0 ? o : i, l = n instanceof Gn ? Fe.near(s, t) : Fe.findFrom(s, t);
40935
+ let s = t < 0 ? o : i, l = n instanceof qn ? Fe.near(s, t) : Fe.findFrom(s, t);
40924
40936
  return l ? lo(e, l) : !1;
40925
40937
  }
40926
40938
  return !1;
@@ -41389,7 +41401,7 @@ const Xy = class Xy {
41389
41401
  }, 20), this.view.domObserver.start()), t.root.addEventListener("mouseup", this.up = this.up.bind(this)), t.root.addEventListener("mousemove", this.move = this.move.bind(this)), Oo(t, "pointer");
41390
41402
  }
41391
41403
  done() {
41392
- this.view.root.removeEventListener("mouseup", this.up), this.view.root.removeEventListener("mousemove", this.move), this.mightDrag && this.target && (this.view.domObserver.stop(), this.mightDrag.addAttr && this.target.removeAttribute("draggable"), this.mightDrag.setUneditable && this.target.removeAttribute("contentEditable"), this.view.domObserver.start()), this.delayedSelectionSync && setTimeout(() => Kn(this.view)), this.view.input.mouseDown = null;
41404
+ this.view.root.removeEventListener("mouseup", this.up), this.view.root.removeEventListener("mousemove", this.move), this.mightDrag && this.target && (this.view.domObserver.stop(), this.mightDrag.addAttr && this.target.removeAttribute("draggable"), this.mightDrag.setUneditable && this.target.removeAttribute("contentEditable"), this.view.domObserver.start()), this.delayedSelectionSync && setTimeout(() => Gn(this.view)), this.view.input.mouseDown = null;
41393
41405
  }
41394
41406
  up(t) {
41395
41407
  if (this.done(), !this.view.dom.contains(t.target))
@@ -41627,7 +41639,7 @@ lr.drop = (e, t) => {
41627
41639
  };
41628
41640
  sr.focus = (e) => {
41629
41641
  e.input.lastFocus = Date.now(), e.focused || (e.domObserver.stop(), e.dom.classList.add("ProseMirror-focused"), e.domObserver.start(), e.focused = !0, setTimeout(() => {
41630
- e.docView && e.hasFocus() && !e.domObserver.currentSelection.eq(e.domSelectionRange()) && Kn(e);
41642
+ e.docView && e.hasFocus() && !e.domObserver.currentSelection.eq(e.domSelectionRange()) && Gn(e);
41631
41643
  }, 20));
41632
41644
  };
41633
41645
  sr.blur = (e, t) => {
@@ -42246,7 +42258,7 @@ const tv = class tv {
42246
42258
  onSelectionChange() {
42247
42259
  if (Hx(this.view)) {
42248
42260
  if (this.suppressingSelectionUpdates)
42249
- return Kn(this.view);
42261
+ return Gn(this.view);
42250
42262
  if (gr && So <= 11 && !this.view.state.selection.empty) {
42251
42263
  let t = this.view.domSelectionRange();
42252
42264
  if (t.focusNode && Ni(t.focusNode, t.focusOffset, t.anchorNode, t.anchorOffset))
@@ -42308,7 +42320,7 @@ const tv = class tv {
42308
42320
  }
42309
42321
  }
42310
42322
  let d = null;
42311
- i < 0 && o && t.input.lastFocus > Date.now() - 200 && Math.max(t.input.lastTouch, t.input.lastClick.time) < Date.now() - 300 && gp(n) && (d = Eb(t)) && d.eq(Fe.near(t.state.doc.resolve(0), 1)) ? (t.input.lastFocus = 0, Kn(t), this.currentSelection.set(n), t.scrollToSelection()) : (i > -1 || o) && (i > -1 && (t.docView.markDirty(i, s), n9(t)), this.handleDOMChange(i, s, l, u), t.docView && t.docView.dirty ? t.updateState(t.state) : this.currentSelection.eq(n) || Kn(t), this.currentSelection.set(n));
42323
+ i < 0 && o && t.input.lastFocus > Date.now() - 200 && Math.max(t.input.lastTouch, t.input.lastClick.time) < Date.now() - 300 && gp(n) && (d = Eb(t)) && d.eq(Fe.near(t.state.doc.resolve(0), 1)) ? (t.input.lastFocus = 0, Gn(t), this.currentSelection.set(n), t.scrollToSelection()) : (i > -1 || o) && (i > -1 && (t.docView.markDirty(i, s), n9(t)), this.handleDOMChange(i, s, l, u), t.docView && t.docView.dirty ? t.updateState(t.state) : this.currentSelection.eq(n) || Gn(t), this.currentSelection.set(n));
42312
42324
  }
42313
42325
  registerMutation(t, r) {
42314
42326
  if (r.indexOf(t.target) > -1)
@@ -42478,7 +42490,7 @@ function c9(e, t, r, n, o) {
42478
42490
  let C = m.start, S = m.endA, w, P, F;
42479
42491
  if (k) {
42480
42492
  if (b.pos == y.pos)
42481
- gr && So <= 11 && b.parentOffset == 0 && (e.domObserver.suppressSelectionUpdates(), setTimeout(() => Kn(e), 20)), w = e.state.tr.delete(C, S), P = p.resolve(m.start).marksAcross(p.resolve(m.endA));
42493
+ gr && So <= 11 && b.parentOffset == 0 && (e.domObserver.suppressSelectionUpdates(), setTimeout(() => Gn(e), 20)), w = e.state.tr.delete(C, S), P = p.resolve(m.start).marksAcross(p.resolve(m.endA));
42482
42494
  else if (
42483
42495
  // Adding or removing a mark
42484
42496
  m.endA == m.endB && (F = u9(b.parent.content.cut(b.parentOffset, y.parentOffset), x.parent.content.cut(x.parentOffset, m.endA - x.start())))
@@ -42659,7 +42671,7 @@ const rv = class rv {
42659
42671
  let m = Xt ? this.trackWrites = this.domSelectionRange().focusNode : null;
42660
42672
  this.composing && (this.input.compositionNode = K6(this)), (i || !this.docView.update(t.doc, d, u, this)) && (this.docView.updateOuterDeco(d), this.docView.destroy(), this.docView = Dx(t.doc, d, u, this.dom, this)), m && !this.trackWrites && (g = !0);
42661
42673
  }
42662
- g || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && O6(this)) ? Kn(this, g) : (_E(this, t.selection), this.domObserver.setCurSelection()), this.domObserver.start();
42674
+ g || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && O6(this)) ? Gn(this, g) : (_E(this, t.selection), this.domObserver.setCurSelection()), this.domObserver.start();
42663
42675
  }
42664
42676
  this.updatePluginViews(o), !((n = this.dragging) === null || n === void 0) && n.node && !o.doc.eq(t.doc) && this.updateDraggedNode(this.dragging, o), p == "reset" ? this.dom.scrollTop = 0 : p == "to selection" ? this.scrollToSelection() : h && t6(h);
42665
42677
  }
@@ -42746,7 +42758,7 @@ const rv = class rv {
42746
42758
  Focus the editor.
42747
42759
  */
42748
42760
  focus() {
42749
- this.domObserver.stop(), this.editable && r6(this.dom), Kn(this), this.domObserver.start();
42761
+ this.domObserver.stop(), this.editable && r6(this.dom), Gn(this), this.domObserver.start();
42750
42762
  }
42751
42763
  /**
42752
42764
  Get the document root in which the editor exists. This will
@@ -43322,7 +43334,7 @@ const A9 = /* @__PURE__ */ a((e, t) => {
43322
43334
  return !0;
43323
43335
  }, "exitCode$1"), I9 = /* @__PURE__ */ a((e, t) => {
43324
43336
  let r = e.selection, { $from: n, $to: o } = r;
43325
- if (r instanceof Gn || n.parent.inlineContent || o.parent.inlineContent)
43337
+ if (r instanceof qn || n.parent.inlineContent || o.parent.inlineContent)
43326
43338
  return !1;
43327
43339
  let i = sk(o.parent.contentMatchAt(o.indexAfter()));
43328
43340
  if (!i || !i.isTextblock)
@@ -46589,10 +46601,10 @@ fr.prototype = {
46589
46601
  return o.j[e] = s, s;
46590
46602
  }
46591
46603
  };
46592
- const je = /* @__PURE__ */ a((e, t, r, n, o) => e.ta(t, r, n, o), "ta"), $r = /* @__PURE__ */ a((e, t, r, n, o) => e.tr(t, r, n, o), "tr"), gO = /* @__PURE__ */ a((e, t, r, n, o) => e.ts(t, r, n, o), "ts"), ue = /* @__PURE__ */ a((e, t, r, n, o) => e.tt(t, r, n, o), "tt"), Bn = "WORD", rm = "UWORD", kl = "LOCALHOST", nm = "TLD", om = "UTLD", qc = "SCHEME", aa = "SLASH_SCHEME", Bb = "NUM", Ok = "WS", jb = "NL", Bs = "OPENBRACE", js = "CLOSEBRACE", Nu = "OPENBRACKET", Du = "CLOSEBRACKET", _u = "OPENPAREN", zu = "CLOSEPAREN", Bu = "OPENANGLEBRACKET", ju = "CLOSEANGLEBRACKET", Vu = "FULLWIDTHLEFTPAREN", Hu = "FULLWIDTHRIGHTPAREN", Wu = "LEFTCORNERBRACKET", Uu = "RIGHTCORNERBRACKET", qu = "LEFTWHITECORNERBRACKET", Gu = "RIGHTWHITECORNERBRACKET", Ku = "FULLWIDTHLESSTHAN", Ju = "FULLWIDTHGREATERTHAN", Yu = "AMPERSAND", Qu = "APOSTROPHE", Xu = "ASTERISK", co = "AT", Zu = "BACKSLASH", ed = "BACKTICK", td = "CARET", go = "COLON", Vb = "COMMA", rd = "DOLLAR", pn = "DOT", nd = "EQUALS", Hb = "EXCLAMATION", fn = "HYPHEN", od = "PERCENT", id = "PIPE", ad = "PLUS", sd = "POUND", ld = "QUERY", Wb = "QUOTE", Ub = "SEMI", hn = "SLASH", Vs = "TILDE", cd = "UNDERSCORE", Sk = "EMOJI", ud = "SYM";
46604
+ const je = /* @__PURE__ */ a((e, t, r, n, o) => e.ta(t, r, n, o), "ta"), $r = /* @__PURE__ */ a((e, t, r, n, o) => e.tr(t, r, n, o), "tr"), gO = /* @__PURE__ */ a((e, t, r, n, o) => e.ts(t, r, n, o), "ts"), ue = /* @__PURE__ */ a((e, t, r, n, o) => e.tt(t, r, n, o), "tt"), zn = "WORD", rm = "UWORD", kl = "LOCALHOST", nm = "TLD", om = "UTLD", qc = "SCHEME", aa = "SLASH_SCHEME", Bb = "NUM", Ok = "WS", jb = "NL", Bs = "OPENBRACE", js = "CLOSEBRACE", Nu = "OPENBRACKET", Du = "CLOSEBRACKET", _u = "OPENPAREN", zu = "CLOSEPAREN", Bu = "OPENANGLEBRACKET", ju = "CLOSEANGLEBRACKET", Vu = "FULLWIDTHLEFTPAREN", Hu = "FULLWIDTHRIGHTPAREN", Wu = "LEFTCORNERBRACKET", Uu = "RIGHTCORNERBRACKET", qu = "LEFTWHITECORNERBRACKET", Gu = "RIGHTWHITECORNERBRACKET", Ku = "FULLWIDTHLESSTHAN", Ju = "FULLWIDTHGREATERTHAN", Yu = "AMPERSAND", Qu = "APOSTROPHE", Xu = "ASTERISK", co = "AT", Zu = "BACKSLASH", ed = "BACKTICK", td = "CARET", go = "COLON", Vb = "COMMA", rd = "DOLLAR", pn = "DOT", nd = "EQUALS", Hb = "EXCLAMATION", fn = "HYPHEN", od = "PERCENT", id = "PIPE", ad = "PLUS", sd = "POUND", ld = "QUERY", Wb = "QUOTE", Ub = "SEMI", hn = "SLASH", Vs = "TILDE", cd = "UNDERSCORE", Sk = "EMOJI", ud = "SYM";
46593
46605
  var Ck = /* @__PURE__ */ Object.freeze({
46594
46606
  __proto__: null,
46595
- WORD: Bn,
46607
+ WORD: zn,
46596
46608
  UWORD: rm,
46597
46609
  LOCALHOST: kl,
46598
46610
  TLD: nm,
@@ -46658,7 +46670,7 @@ function Zq(e) {
46658
46670
  [Xh]: !0
46659
46671
  });
46660
46672
  $r(n, kf, n);
46661
- const o = $r(r, Zi, Bn, {
46673
+ const o = $r(r, Zi, zn, {
46662
46674
  [Zh]: !0
46663
46675
  });
46664
46676
  $r(o, Zi, o);
@@ -46680,7 +46692,7 @@ function Zq(e) {
46680
46692
  $r(u, Ef, l);
46681
46693
  const d = [[Zi, o]], p = [[Zi, null], [Tf, i]];
46682
46694
  for (let f = 0; f < kc.length; f++)
46683
- ao(r, kc[f], nm, Bn, d);
46695
+ ao(r, kc[f], nm, zn, d);
46684
46696
  for (let f = 0; f < wc.length; f++)
46685
46697
  ao(r, wc[f], om, rm, p);
46686
46698
  ci(nm, {
@@ -46689,7 +46701,7 @@ function Zq(e) {
46689
46701
  }, t), ci(om, {
46690
46702
  utld: !0,
46691
46703
  alpha: !0
46692
- }, t), ao(r, "file", qc, Bn, d), ao(r, "mailto", qc, Bn, d), ao(r, "http", aa, Bn, d), ao(r, "https", aa, Bn, d), ao(r, "ftp", aa, Bn, d), ao(r, "ftps", aa, Bn, d), ci(qc, {
46704
+ }, t), ao(r, "file", qc, zn, d), ao(r, "mailto", qc, zn, d), ao(r, "http", aa, zn, d), ao(r, "https", aa, zn, d), ao(r, "ftp", aa, zn, d), ao(r, "ftps", aa, zn, d), ci(qc, {
46693
46705
  scheme: !0,
46694
46706
  ascii: !0
46695
46707
  }, t), ci(aa, {
@@ -49842,7 +49854,7 @@ zk.displayName = "I18nContext";
49842
49854
  var uY = /* @__PURE__ */ a(function() {
49843
49855
  return gt(zk);
49844
49856
  }, "useI18nProvider"), Xr = /* @__PURE__ */ a(function() {
49845
- var e = uY(), t = et(
49857
+ var e = uY(), t = tt(
49846
49858
  function(r, n) {
49847
49859
  return e.translate(r, n);
49848
49860
  },
@@ -50830,7 +50842,7 @@ var ew = /* @__PURE__ */ a(function(e) {
50830
50842
  return t.getSource(e);
50831
50843
  }, "useWrappedSource"), UY = /* @__PURE__ */ a(function() {
50832
50844
  var e = Xr(), t = Bk(), r = NY();
50833
- return et(function(n) {
50845
+ return tt(function(n) {
50834
50846
  var o = n.source, i = n.label, s = n.resource;
50835
50847
  return i === !1 || i === "" ? null : i && typeof i != "string" ? i : e.apply(void 0, GY({
50836
50848
  label: i,
@@ -50895,7 +50907,7 @@ var GY = /* @__PURE__ */ a(function(e) {
50895
50907
  });
50896
50908
  return YY(function() {
50897
50909
  t.current = e;
50898
- }), et(function() {
50910
+ }), tt(function() {
50899
50911
  for (var r = [], n = 0; n < arguments.length; n++)
50900
50912
  r[n] = arguments[n];
50901
50913
  return t.current.apply(t, r);
@@ -50910,7 +50922,7 @@ rw = ny.default = (0, XY.default)(/* @__PURE__ */ (0, ZY.jsx)("path", {
50910
50922
  }), "ArrowDropDown");
50911
50923
  var eQ = /* @__PURE__ */ a(function(e) {
50912
50924
  var t = e.helperText, r = e.error, n = Xr();
50913
- return r ? O.createElement(wY, { error: r }) : t === !1 ? null : Un(t) ? t : typeof t == "string" ? O.createElement(O.Fragment, null, n(t, { _: t })) : O.createElement("span", { dangerouslySetInnerHTML: tQ });
50925
+ return r ? O.createElement(wY, { error: r }) : t === !1 ? null : Wn(t) ? t : typeof t == "string" ? O.createElement(O.Fragment, null, n(t, { _: t })) : O.createElement("span", { dangerouslySetInnerHTML: tQ });
50914
50926
  }, "InputHelperText$1"), tQ = { __html: "&#8203;" }, hm = function() {
50915
50927
  return hm = Object.assign || function(e) {
50916
50928
  for (var t, r = 1, n = arguments.length; r < n; r++) {
@@ -53616,7 +53628,7 @@ var gw = py.default = void 0, hX = fX(Pe()), mX = we;
53616
53628
  gw = py.default = (0, hX.default)(/* @__PURE__ */ (0, mX.jsx)("path", {
53617
53629
  d: "M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z"
53618
53630
  }), "Code");
53619
- var bw = Bt(void 0), Nn = /* @__PURE__ */ a(function() {
53631
+ var bw = Bt(void 0), Ln = /* @__PURE__ */ a(function() {
53620
53632
  var e = Be(!1), t = e[0], r = e[1], n = gt(bw);
53621
53633
  return Ge(function() {
53622
53634
  var o = /* @__PURE__ */ a(function() {
@@ -53635,7 +53647,7 @@ var bw = Bt(void 0), Nn = /* @__PURE__ */ a(function() {
53635
53647
  return e;
53636
53648
  }, gm.apply(this, arguments);
53637
53649
  }, gX = /* @__PURE__ */ a(function(e) {
53638
- var t = Nn(), r = Xr(), n = Be([]), o = n[0], i = n[1], s = r("ra.tiptap.bold", {
53650
+ var t = Ln(), r = Xr(), n = Be([]), o = n[0], i = n[1], s = r("ra.tiptap.bold", {
53639
53651
  _: "Bold"
53640
53652
  }), l = r("ra.tiptap.italic", {
53641
53653
  _: "Italic"
@@ -53734,7 +53746,7 @@ var bm = function() {
53734
53746
  return e;
53735
53747
  }, bm.apply(this, arguments);
53736
53748
  }, TX = /* @__PURE__ */ a(function(e) {
53737
- var t = Nn(), r = Xr(), n = r("ra.tiptap.list_bulleted", {
53749
+ var t = Ln(), r = Xr(), n = r("ra.tiptap.list_bulleted", {
53738
53750
  _: "Bulleted list"
53739
53751
  }), o = r("ra.tiptap.list_numbered", {
53740
53752
  _: "Numbered list"
@@ -53817,7 +53829,7 @@ var ym = function() {
53817
53829
  return e;
53818
53830
  }, ym.apply(this, arguments);
53819
53831
  }, _X = /* @__PURE__ */ a(function(e) {
53820
- var t = Nn(), r = Xr(), n = Be("left"), o = n[0], i = n[1], s = r("ra.tiptap.align_left", { _: "Align left" }), l = r("ra.tiptap.align_right", { _: "Align right" }), u = r("ra.tiptap.align_center", { _: "Center" }), d = r("ra.tiptap.align_justify", { _: "Justify" });
53832
+ var t = Ln(), r = Xr(), n = Be("left"), o = n[0], i = n[1], s = r("ra.tiptap.align_left", { _: "Align left" }), l = r("ra.tiptap.align_right", { _: "Align right" }), u = r("ra.tiptap.align_center", { _: "Center" }), d = r("ra.tiptap.align_justify", { _: "Justify" });
53821
53833
  Ge(function() {
53822
53834
  var f = /* @__PURE__ */ a(function() {
53823
53835
  i(function(h) {
@@ -53879,7 +53891,7 @@ Tw = vy.default = (0, jX.default)(/* @__PURE__ */ (0, VX.jsx)("path", {
53879
53891
  d: "M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"
53880
53892
  }), "InsertLink");
53881
53893
  var HX = /* @__PURE__ */ a(function() {
53882
- var e = Nn(), t = Be(e ? e.state.doc.textBetween(e.state.selection.from, e.state.selection.to) : null), r = t[0], n = t[1];
53894
+ var e = Ln(), t = Be(e ? e.state.doc.textBetween(e.state.selection.from, e.state.selection.to) : null), r = t[0], n = t[1];
53883
53895
  return Ge(function() {
53884
53896
  var o = /* @__PURE__ */ a(function() {
53885
53897
  n(e ? e.state.doc.textBetween(e.state.selection.from, e.state.selection.to) : null);
@@ -53897,7 +53909,7 @@ var HX = /* @__PURE__ */ a(function() {
53897
53909
  return e;
53898
53910
  }, vm.apply(this, arguments);
53899
53911
  }, WX = /* @__PURE__ */ a(function(e) {
53900
- var t = Nn(), r = Xr(), n = HX(), o = r("ra.tiptap.link", {
53912
+ var t = Ln(), r = Xr(), n = HX(), o = r("ra.tiptap.link", {
53901
53913
  _: "Add a link"
53902
53914
  }), i = /* @__PURE__ */ a(function() {
53903
53915
  if (t.can().setLink({ href: "" })) {
@@ -53927,7 +53939,7 @@ var xm = function() {
53927
53939
  return e;
53928
53940
  }, xm.apply(this, arguments);
53929
53941
  }, KX = /* @__PURE__ */ a(function(e) {
53930
- var t = Nn(), r = Xr(), n = Be(!1), o = n[0], i = n[1], s = r("ra.tiptap.blockquote", {
53942
+ var t = Ln(), r = Xr(), n = Be(!1), o = n[0], i = n[1], s = r("ra.tiptap.blockquote", {
53931
53943
  _: "Blockquote"
53932
53944
  });
53933
53945
  return Ge(function() {
@@ -53961,7 +53973,7 @@ var Om = function() {
53961
53973
  return e;
53962
53974
  }, Om.apply(this, arguments);
53963
53975
  }, XX = /* @__PURE__ */ a(function(e) {
53964
- var t = Nn(), r = Xr(), n = r("ra.tiptap.clear_format", {
53976
+ var t = Ln(), r = Xr(), n = r("ra.tiptap.clear_format", {
53965
53977
  _: "Clear format"
53966
53978
  });
53967
53979
  return O.createElement(
@@ -53972,7 +53984,7 @@ var Om = function() {
53972
53984
  O.createElement(kw, { fontSize: "inherit" })
53973
53985
  );
53974
53986
  }, "ClearButtons"), ZX = /* @__PURE__ */ a(function(e) {
53975
- var t, r = Xr(), n = Nn(), o = Be(null), i = o[0], s = o[1], l = e.size, u = Be($c[0]), d = u[0], p = u[1], f = /* @__PURE__ */ a(function(m, b) {
53987
+ var t, r = Xr(), n = Ln(), o = Be(null), i = o[0], s = o[1], l = e.size, u = Be($c[0]), d = u[0], p = u[1], f = /* @__PURE__ */ a(function(m, b) {
53976
53988
  s(null);
53977
53989
  var y = $c[b];
53978
53990
  y.value === "paragraph" ? n.chain().focus().setParagraph().run() : y.value === "heading" && n.chain().focus().setHeading({ level: y.level }).run();
@@ -54100,7 +54112,7 @@ var Sm = function() {
54100
54112
  return e;
54101
54113
  }, Sm.apply(this, arguments);
54102
54114
  }, oZ = /* @__PURE__ */ a(function(e) {
54103
- var t = Xr(), r = Nn(), n = t("ra.tiptap.image", { _: "Image" }), o = O.useCallback(function() {
54115
+ var t = Xr(), r = Ln(), n = t("ra.tiptap.image", { _: "Image" }), o = O.useCallback(function() {
54104
54116
  var i = window.prompt(t("ra.tiptap.image_dialog", { _: "Image URL" }));
54105
54117
  i && r.chain().focus().setImage({ src: i }).run();
54106
54118
  }, [r, t]);
@@ -54138,11 +54150,11 @@ var md = function() {
54138
54150
  e.FONT = "font", e.BACKGROUND = "background";
54139
54151
  })(Oi || (Oi = {}));
54140
54152
  var dZ = /* @__PURE__ */ a(function(e) {
54141
- var t = Xr(), r = Nn(), n = O.useState(!1), o = n[0], i = n[1], s = O.useState(Oi.FONT), l = s[0], u = s[1], d = t("ra.tiptap.color", { _: "Color" }), p = t("ra.tiptap.highlight", { _: "Highlight" }), f = /* @__PURE__ */ a(function(h) {
54153
+ var t = Xr(), r = Ln(), n = O.useState(!1), o = n[0], i = n[1], s = O.useState(Oi.FONT), l = s[0], u = s[1], d = t("ra.tiptap.color", { _: "Color" }), p = t("ra.tiptap.highlight", { _: "Highlight" }), f = /* @__PURE__ */ a(function(h) {
54142
54154
  i(!0), u(h);
54143
54155
  }, "displayColorChoiceDialog");
54144
54156
  return O.createElement(
54145
- st,
54157
+ et,
54146
54158
  { sx: { position: "relative" } },
54147
54159
  O.createElement(
54148
54160
  fZ,
@@ -54187,8 +54199,8 @@ var dZ = /* @__PURE__ */ a(function(e) {
54187
54199
  gap: 1,
54188
54200
  zIndex: 1
54189
54201
  } }, u.map(function(p, f) {
54190
- return O.createElement(st, { key: "shade-".concat(p), sx: { display: "flex", flexDirection: "row", gap: 1 } }, l.map(function(h, g) {
54191
- return O.createElement(st, {
54202
+ return O.createElement(et, { key: "shade-".concat(p), sx: { display: "flex", flexDirection: "row", gap: 1 } }, l.map(function(h, g) {
54203
+ return O.createElement(et, {
54192
54204
  key: "color-".concat(f * l.length + g + 1),
54193
54205
  sx: {
54194
54206
  width: 16,
@@ -54397,7 +54409,7 @@ const ete = /* @__PURE__ */ a((e) => {
54397
54409
  return n ? null : t ? /* @__PURE__ */ v(xZ, { ...r, className: "" }) : /* @__PURE__ */ v(En, { multiline: !0, ...r });
54398
54410
  }, "TextArea"), Aw = /* @__PURE__ */ a((e) => {
54399
54411
  const { helperText: t, error: r } = e, n = Lt();
54400
- return r ? /* @__PURE__ */ v(rM, { error: r }) : t === !1 ? null : Un(t) ? t : typeof t == "string" ? /* @__PURE__ */ v(Ur, { children: n(t, { _: t }) }) : /* @__PURE__ */ v("span", { dangerouslySetInnerHTML: TZ });
54412
+ return r ? /* @__PURE__ */ v(rM, { error: r }) : t === !1 ? null : Wn(t) ? t : typeof t == "string" ? /* @__PURE__ */ v(Ur, { children: n(t, { _: t }) }) : /* @__PURE__ */ v("span", { dangerouslySetInnerHTML: TZ });
54401
54413
  }, "InputHelperText"), TZ = { __html: "&#8203;" }, Iw = /* @__PURE__ */ a(({
54402
54414
  afterSubmit: e,
54403
54415
  allowNull: t,
@@ -54593,7 +54605,7 @@ const ete = /* @__PURE__ */ a((e) => {
54593
54605
  allowNegative: n = !0,
54594
54606
  ...o
54595
54607
  }) => {
54596
- const i = et(
54608
+ const i = tt(
54597
54609
  (d) => {
54598
54610
  if (!d)
54599
54611
  return "";
@@ -54608,7 +54620,7 @@ const ete = /* @__PURE__ */ a((e) => {
54608
54620
  return f + (p.includes(".") && x.length < 1 && y > 0 ? `${b}.` : p.includes(".") && y > 0 ? `${b}.${x}` : b);
54609
54621
  },
54610
54622
  [e, t, n]
54611
- ), s = et(
54623
+ ), s = tt(
54612
54624
  (d) => {
54613
54625
  d.target.value = i(d.target.value);
54614
54626
  },
@@ -54630,7 +54642,7 @@ const ete = /* @__PURE__ */ a((e) => {
54630
54642
  }
54631
54643
  );
54632
54644
  }, "DecimalInput"), NZ = /* @__PURE__ */ a(({ maxLength: e = 10, allowNegative: t = !0, ...r }) => {
54633
- const n = et(
54645
+ const n = tt(
54634
54646
  (s) => {
54635
54647
  if (!s) return "";
54636
54648
  let l = String(s).replace(/[^0-9-]/g, ""), u = "";
@@ -54679,7 +54691,7 @@ const ete = /* @__PURE__ */ a((e) => {
54679
54691
  propsContenido: { helperText: o, sx: i, readOnly: s }
54680
54692
  } = xr(e);
54681
54693
  return n ? null : /* @__PURE__ */ W(
54682
- st,
54694
+ et,
54683
54695
  {
54684
54696
  sx: {
54685
54697
  ...r,