biblio-react 3.0.0-alpha149 → 3.0.0-alpha150

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,7 +2,7 @@ var VM = Object.defineProperty;
2
2
  var a = (t, e) => VM(t, "name", { value: e, configurable: !0 });
3
3
  import Me, { jsx as y, jsxs as W, Fragment as Qr } from "react/jsx-runtime";
4
4
  import * as O from "react";
5
- import Ue, { forwardRef as Ll, useContext as ot, createElement as t0, Children as zd, isValidElement as Nn, cloneElement as Yr, createContext as $t, useState as De, useMemo as Sr, useRef as Ni, useCallback as Ge, useEffect as qe, Fragment as vn, memo as Q1, useImperativeHandle as jM, useDebugValue as X1, useId as zM } from "react";
5
+ import Ue, { forwardRef as Ll, useContext as ot, createElement as t0, Children as zd, isValidElement as Nn, cloneElement as Yr, createContext as $t, useState as De, useMemo as Sr, useRef as Ni, useCallback as nt, useEffect as qe, Fragment as vn, memo as Q1, useImperativeHandle as jM, useDebugValue as X1, useId as zM } from "react";
6
6
  import { unstable_ClassNameGenerator as Z1, exactProp as Hd, unstable_getScrollbarSize as HM, unstable_ownerDocument as Dn, unstable_ownerWindow as rl, unstable_useForkRef as Ea, elementAcceptingRef as WM, unstable_useEnhancedEffect as yi, unstable_setRef as r0, HTMLElementType as nh, unstable_useEventCallback as n0, unstable_createChainedFunction as o0, unstable_debounce as UM, usePreviousProps as qM, unstable_getNormalizedScrollLeft as GM, unstable_detectScrollType as KM, chainPropTypes as YM, refType as JM, deepmerge as eS } from "@mui/utils";
7
7
  import { MenuItem as ii, ListItemIcon as pa, ListItemText as fa, useMediaQuery as Di, Typography as nl, Box as lt, Grid as i0, Dialog as Qm, DialogTitle as tS, DialogContent as QM, Stack as Xm, DialogActions as XM, Tooltip as Wd, IconButton as ol, useTheme as rS, createTheme as ZM, ThemeProvider as eP, alpha as tP, StyledEngineProvider as nS, Card as oS, CircularProgress as rP, CardContent as iS, Collapse as nP, List as aS, Menu as oh, Switch as oP, Divider as iP, Button as a0, Paper as sS, ToggleButtonGroup as Ud, ToggleButton as zt, ListItem as aP, FormHelperText as sP } from "@mui/material";
8
8
  import { useTranslate as Tt, useUserMenu as lP, useResourceDefinitions as cP, AppBar as uP, UserMenu as dP, Logout as pP, useResourceContext as pt, useRecordContext as ur, useNotify as lS, useDeleteWithConfirmController as fP, Button as mr, Confirm as Nl, Toolbar as Zm, ToolbarClasses as hP, SaveButton as Dl, useRedirect as _i, useDelete as cS, useSaveContext as mP, required as gP, minValue as bP, TopToolbar as uS, RefreshButton as yP, ListButton as vP, ShowButton as xP, useDataProvider as Qa, useListContext as xi, useUnselectAll as OP, NumberField as SP, DateField as s0, TextField as Ic, ReferenceField as CP, useCreatePath as _l, Form as Bl, useResourceDefinition as dS, BulkActionsToolbar as kP, useInput as qd, useGetList as pS, Labeled as fS, useSafeSetState as eg, useGetOne as hS, useCreateController as EP, CreateContextProvider as TP, LoadingClasses as Yc, Create as wP, useListController as MP, ListContextProvider as PP, List as mS, Edit as RP, useEditContext as AP, SimpleForm as FP, useSidebarState as gS, Menu as IP, DashboardMenuItem as $P, MenuItemLink as bS, Layout as LP, FilterContext as NP, sanitizeListRestProps as DP, FilterButton as _P, CreateButton as BP, useLogin as VP, TextInput as ho, PasswordInput as yS, Show as jP, useShowContext as zP, FormTab as HP, getTabbedFormTabFullPath as WP, TabbedFormTabs as UP, defaultTheme as vS, BooleanField as qP, ImageInput as GP, ImageField as KP, FileInput as YP, BooleanInput as JP, ReferenceInput as xS, useChoicesContext as OS, AutocompleteInput as QP, SelectInput as XP, ReferenceArrayInput as ZP, AutocompleteArrayInput as eR, SearchInput as tR, RadioButtonGroupInput as SS, useRecordSelection as CS, ListActions as rR, Datagrid as nR, ValidationError as oR, FieldTitle as kS, NumberInput as iR } from "react-admin";
@@ -104,7 +104,7 @@ function ne(t, e) {
104
104
  return r;
105
105
  }
106
106
  a(ne, "_objectWithoutPropertiesLoose");
107
- var sh = { exports: {} }, sc = { exports: {} }, Xe = {};
107
+ var sh = { exports: {} }, sc = { exports: {} }, Qe = {};
108
108
  /** @license React v16.13.1
109
109
  * react-is.production.min.js
110
110
  *
@@ -115,7 +115,7 @@ var sh = { exports: {} }, sc = { exports: {} }, Xe = {};
115
115
  */
116
116
  var u0;
117
117
  function wR() {
118
- if (u0) return Xe;
118
+ if (u0) return Qe;
119
119
  u0 = 1;
120
120
  var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, l = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, d = t ? Symbol.for("react.concurrent_mode") : 60111, p = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, h = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, g = t ? Symbol.for("react.lazy") : 60116, b = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, x = t ? Symbol.for("react.responder") : 60118, T = t ? Symbol.for("react.scope") : 60119;
121
121
  function k(S) {
@@ -152,36 +152,36 @@ function wR() {
152
152
  function C(S) {
153
153
  return k(S) === d;
154
154
  }
155
- return a(C, "A"), Xe.AsyncMode = u, Xe.ConcurrentMode = d, Xe.ContextConsumer = l, Xe.ContextProvider = s, Xe.Element = e, Xe.ForwardRef = p, Xe.Fragment = n, Xe.Lazy = g, Xe.Memo = m, Xe.Portal = r, Xe.Profiler = i, Xe.StrictMode = o, Xe.Suspense = f, Xe.isAsyncMode = function(S) {
155
+ return a(C, "A"), Qe.AsyncMode = u, Qe.ConcurrentMode = d, Qe.ContextConsumer = l, Qe.ContextProvider = s, Qe.Element = e, Qe.ForwardRef = p, Qe.Fragment = n, Qe.Lazy = g, Qe.Memo = m, Qe.Portal = r, Qe.Profiler = i, Qe.StrictMode = o, Qe.Suspense = f, Qe.isAsyncMode = function(S) {
156
156
  return C(S) || k(S) === u;
157
- }, Xe.isConcurrentMode = C, Xe.isContextConsumer = function(S) {
157
+ }, Qe.isConcurrentMode = C, Qe.isContextConsumer = function(S) {
158
158
  return k(S) === l;
159
- }, Xe.isContextProvider = function(S) {
159
+ }, Qe.isContextProvider = function(S) {
160
160
  return k(S) === s;
161
- }, Xe.isElement = function(S) {
161
+ }, Qe.isElement = function(S) {
162
162
  return typeof S == "object" && S !== null && S.$$typeof === e;
163
- }, Xe.isForwardRef = function(S) {
163
+ }, Qe.isForwardRef = function(S) {
164
164
  return k(S) === p;
165
- }, Xe.isFragment = function(S) {
165
+ }, Qe.isFragment = function(S) {
166
166
  return k(S) === n;
167
- }, Xe.isLazy = function(S) {
167
+ }, Qe.isLazy = function(S) {
168
168
  return k(S) === g;
169
- }, Xe.isMemo = function(S) {
169
+ }, Qe.isMemo = function(S) {
170
170
  return k(S) === m;
171
- }, Xe.isPortal = function(S) {
171
+ }, Qe.isPortal = function(S) {
172
172
  return k(S) === r;
173
- }, Xe.isProfiler = function(S) {
173
+ }, Qe.isProfiler = function(S) {
174
174
  return k(S) === i;
175
- }, Xe.isStrictMode = function(S) {
175
+ }, Qe.isStrictMode = function(S) {
176
176
  return k(S) === o;
177
- }, Xe.isSuspense = function(S) {
177
+ }, Qe.isSuspense = function(S) {
178
178
  return k(S) === f;
179
- }, Xe.isValidElementType = function(S) {
179
+ }, Qe.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 === g || S.$$typeof === m || S.$$typeof === s || S.$$typeof === l || S.$$typeof === p || S.$$typeof === v || S.$$typeof === x || S.$$typeof === T || S.$$typeof === b);
181
- }, Xe.typeOf = k, Xe;
181
+ }, Qe.typeOf = k, Qe;
182
182
  }
183
183
  a(wR, "requireReactIs_production_min$2");
184
- var Ze = {};
184
+ var Xe = {};
185
185
  /** @license React v16.13.1
186
186
  * react-is.development.js
187
187
  *
@@ -232,7 +232,7 @@ function MR() {
232
232
  }
233
233
  }
234
234
  a(C, "typeOf");
235
- var S = u, w = d, M = l, R = s, P = e, I = p, A = n, F = g, $ = m, L = r, j = i, B = o, V = f, N = !1;
235
+ var S = u, w = d, M = l, F = s, P = e, I = p, R = n, A = g, $ = m, L = r, j = i, B = o, V = f, N = !1;
236
236
  function K(_) {
237
237
  return N || (N = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), D(_) || C(_) === u;
238
238
  }
@@ -284,8 +284,8 @@ function MR() {
284
284
  function ie(_) {
285
285
  return C(_) === f;
286
286
  }
287
- a(ie, "isSuspense"), Ze.AsyncMode = S, Ze.ConcurrentMode = w, Ze.ContextConsumer = M, Ze.ContextProvider = R, Ze.Element = P, Ze.ForwardRef = I, Ze.Fragment = A, Ze.Lazy = F, Ze.Memo = $, Ze.Portal = L, Ze.Profiler = j, Ze.StrictMode = B, Ze.Suspense = V, Ze.isAsyncMode = K, Ze.isConcurrentMode = D, Ze.isContextConsumer = H, Ze.isContextProvider = ee, Ze.isElement = z, Ze.isForwardRef = U, Ze.isFragment = J, Ze.isLazy = G, Ze.isMemo = te, Ze.isPortal = Q, Ze.isProfiler = oe, Ze.isStrictMode = se, Ze.isSuspense = ie, Ze.isValidElementType = k, Ze.typeOf = C;
288
- }()), Ze;
287
+ a(ie, "isSuspense"), Xe.AsyncMode = S, Xe.ConcurrentMode = w, Xe.ContextConsumer = M, Xe.ContextProvider = F, Xe.Element = P, Xe.ForwardRef = I, Xe.Fragment = R, Xe.Lazy = A, Xe.Memo = $, Xe.Portal = L, Xe.Profiler = j, Xe.StrictMode = B, Xe.Suspense = V, Xe.isAsyncMode = K, Xe.isConcurrentMode = D, Xe.isContextConsumer = H, Xe.isContextProvider = ee, Xe.isElement = z, Xe.isForwardRef = U, Xe.isFragment = J, Xe.isLazy = G, Xe.isMemo = te, Xe.isPortal = Q, Xe.isProfiler = oe, Xe.isStrictMode = se, Xe.isSuspense = ie, Xe.isValidElementType = k, Xe.typeOf = C;
288
+ }()), Xe;
289
289
  }
290
290
  a(MR, "requireReactIs_development$2");
291
291
  var p0;
@@ -449,10 +449,10 @@ function AR() {
449
449
  elementType: S(),
450
450
  instanceOf: w,
451
451
  node: I(),
452
- objectOf: R,
452
+ objectOf: F,
453
453
  oneOf: M,
454
454
  oneOfType: P,
455
- shape: F,
455
+ shape: A,
456
456
  exact: $
457
457
  };
458
458
  function g(D, H) {
@@ -579,7 +579,7 @@ function AR() {
579
579
  return a(H, "validate"), v(H);
580
580
  }
581
581
  a(M, "createEnumTypeChecker");
582
- function R(D) {
582
+ function F(D) {
583
583
  function H(ee, z, U, J, G) {
584
584
  if (typeof D != "function")
585
585
  return new b("Property `" + G + "` of component `" + U + "` has invalid PropType notation inside objectOf.");
@@ -596,7 +596,7 @@ function AR() {
596
596
  }
597
597
  return a(H, "validate"), v(H);
598
598
  }
599
- a(R, "createObjectOfTypeChecker");
599
+ a(F, "createObjectOfTypeChecker");
600
600
  function P(D) {
601
601
  if (!Array.isArray(D))
602
602
  return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), s;
@@ -627,13 +627,13 @@ function AR() {
627
627
  return a(D, "validate"), v(D);
628
628
  }
629
629
  a(I, "createNodeChecker");
630
- function A(D, H, ee, z, U) {
630
+ function R(D, H, ee, z, U) {
631
631
  return new b(
632
632
  (D || "React class") + ": " + H + " type `" + ee + "." + z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + U + "`."
633
633
  );
634
634
  }
635
- a(A, "invalidValidatorError");
636
- function F(D) {
635
+ a(R, "invalidValidatorError");
636
+ function A(D) {
637
637
  function H(ee, z, U, J, G) {
638
638
  var te = ee[z], Q = B(te);
639
639
  if (Q !== "object")
@@ -641,7 +641,7 @@ function AR() {
641
641
  for (var oe in D) {
642
642
  var se = D[oe];
643
643
  if (typeof se != "function")
644
- return A(U, J, G, oe, V(se));
644
+ return R(U, J, G, oe, V(se));
645
645
  var ie = se(te, oe, U, J, G + "." + oe, r);
646
646
  if (ie)
647
647
  return ie;
@@ -650,7 +650,7 @@ function AR() {
650
650
  }
651
651
  return a(H, "validate"), v(H);
652
652
  }
653
- a(F, "createShapeTypeChecker");
653
+ a(A, "createShapeTypeChecker");
654
654
  function $(D) {
655
655
  function H(ee, z, U, J, G) {
656
656
  var te = ee[z], Q = B(te);
@@ -660,7 +660,7 @@ function AR() {
660
660
  for (var se in oe) {
661
661
  var ie = D[se];
662
662
  if (n(D, se) && typeof ie != "function")
663
- return A(U, J, G, se, V(ie));
663
+ return R(U, J, G, se, V(ie));
664
664
  if (!ie)
665
665
  return new b(
666
666
  "Invalid " + J + " `" + G + "` key `" + se + "` supplied to `" + U + "`.\nBad object: " + JSON.stringify(ee[z], null, " ") + `
@@ -1008,7 +1008,7 @@ var HR = /* @__PURE__ */ function() {
1008
1008
  return n.parentNode && n.parentNode.removeChild(n);
1009
1009
  }), this.tags = [], this.ctr = 0, process.env.NODE_ENV !== "production" && (this._alreadyInsertedOrderInsensitiveRule = !1);
1010
1010
  }, "flush"), t;
1011
- }(), Wt = "-ms-", Jc = "-moz-", Ye = "-webkit-", ug = "comm", dg = "rule", pg = "decl", WR = "@import", _S = "@keyframes", UR = "@layer", qR = Math.abs, Gd = String.fromCharCode, GR = Object.assign;
1011
+ }(), Wt = "-ms-", Jc = "-moz-", Ke = "-webkit-", ug = "comm", dg = "rule", pg = "decl", WR = "@import", _S = "@keyframes", UR = "@layer", qR = Math.abs, Gd = String.fromCharCode, GR = Object.assign;
1012
1012
  function KR(t, e) {
1013
1013
  return Bt(t, 0) ^ 45 ? (((e << 2 ^ Bt(t, 0)) << 2 ^ Bt(t, 1)) << 2 ^ Bt(t, 2)) << 2 ^ Bt(t, 3) : 0;
1014
1014
  }
@@ -1021,10 +1021,10 @@ function YR(t, e) {
1021
1021
  return (t = e.exec(t)) ? t[0] : t;
1022
1022
  }
1023
1023
  a(YR, "match$2");
1024
- function Je(t, e, r) {
1024
+ function Ye(t, e, r) {
1025
1025
  return t.replace(e, r);
1026
1026
  }
1027
- a(Je, "replace$1");
1027
+ a(Ye, "replace$1");
1028
1028
  function lh(t, e) {
1029
1029
  return t.indexOf(e);
1030
1030
  }
@@ -1184,7 +1184,7 @@ function Nc(t, e, r, n, o, i, s, l, u) {
1184
1184
  switch (g = T, T = br()) {
1185
1185
  case 40:
1186
1186
  if (g != 108 && Bt(M, f - 1) == 58) {
1187
- lh(M += Je(Lc(T), "&", "&\f"), "&\f") != -1 && (x = -1);
1187
+ lh(M += Ye(Lc(T), "&", "&\f"), "&\f") != -1 && (x = -1);
1188
1188
  break;
1189
1189
  }
1190
1190
  case 34:
@@ -1221,7 +1221,7 @@ function Nc(t, e, r, n, o, i, s, l, u) {
1221
1221
  case 125:
1222
1222
  v = 0;
1223
1223
  case 59 + p:
1224
- x == -1 && (M = Je(M, /\f/g, "")), m > 0 && pn(M) - f && lc(m > 32 ? S0(M + ";", n, r, f - 1) : S0(Je(M, " ", "") + ";", n, r, f - 2), u);
1224
+ x == -1 && (M = Ye(M, /\f/g, "")), m > 0 && pn(M) - f && lc(m > 32 ? S0(M + ";", n, r, f - 1) : S0(Ye(M, " ", "") + ";", n, r, f - 2), u);
1225
1225
  break;
1226
1226
  case 59:
1227
1227
  M += ";";
@@ -1272,7 +1272,7 @@ a(Nc, "parse$2");
1272
1272
  function O0(t, e, r, n, o, i, s, l, u, d, p) {
1273
1273
  for (var f = o - 1, h = o === 0 ? i : [""], m = fg(h), g = 0, b = 0, v = 0; g < n; ++g)
1274
1274
  for (var x = 0, T = sl(t, f + 1, f = qR(b = s[g])), k = t; x < m; ++x)
1275
- (k = BS(b > 0 ? h[x] + " " + T : Je(T, /&\f/g, h[x]))) && (u[v++] = k);
1275
+ (k = BS(b > 0 ? h[x] + " " + T : Ye(T, /&\f/g, h[x]))) && (u[v++] = k);
1276
1276
  return Yd(t, e, r, o === 0 ? dg : l, u, d, p);
1277
1277
  }
1278
1278
  a(O0, "ruleset");
@@ -1409,7 +1409,7 @@ var lA = /* @__PURE__ */ a(function(e, r, n) {
1409
1409
  function WS(t, e) {
1410
1410
  switch (KR(t, e)) {
1411
1411
  case 5103:
1412
- return Ye + "print-" + t + t;
1412
+ return Ke + "print-" + t + t;
1413
1413
  case 5737:
1414
1414
  case 4201:
1415
1415
  case 3177:
@@ -1435,44 +1435,44 @@ function WS(t, e) {
1435
1435
  case 5365:
1436
1436
  case 5621:
1437
1437
  case 3829:
1438
- return Ye + t + t;
1438
+ return Ke + t + t;
1439
1439
  case 5349:
1440
1440
  case 4246:
1441
1441
  case 4810:
1442
1442
  case 6968:
1443
1443
  case 2756:
1444
- return Ye + t + Jc + t + Wt + t + t;
1444
+ return Ke + t + Jc + t + Wt + t + t;
1445
1445
  case 6828:
1446
1446
  case 4268:
1447
- return Ye + t + Wt + t + t;
1447
+ return Ke + t + Wt + t + t;
1448
1448
  case 6165:
1449
- return Ye + t + Wt + "flex-" + t + t;
1449
+ return Ke + t + Wt + "flex-" + t + t;
1450
1450
  case 5187:
1451
- return Ye + t + Je(t, /(\w+).+(:[^]+)/, Ye + "box-$1$2" + Wt + "flex-$1$2") + t;
1451
+ return Ke + t + Ye(t, /(\w+).+(:[^]+)/, Ke + "box-$1$2" + Wt + "flex-$1$2") + t;
1452
1452
  case 5443:
1453
- return Ye + t + Wt + "flex-item-" + Je(t, /flex-|-self/, "") + t;
1453
+ return Ke + t + Wt + "flex-item-" + Ye(t, /flex-|-self/, "") + t;
1454
1454
  case 4675:
1455
- return Ye + t + Wt + "flex-line-pack" + Je(t, /align-content|flex-|-self/, "") + t;
1455
+ return Ke + t + Wt + "flex-line-pack" + Ye(t, /align-content|flex-|-self/, "") + t;
1456
1456
  case 5548:
1457
- return Ye + t + Wt + Je(t, "shrink", "negative") + t;
1457
+ return Ke + t + Wt + Ye(t, "shrink", "negative") + t;
1458
1458
  case 5292:
1459
- return Ye + t + Wt + Je(t, "basis", "preferred-size") + t;
1459
+ return Ke + t + Wt + Ye(t, "basis", "preferred-size") + t;
1460
1460
  case 6060:
1461
- return Ye + "box-" + Je(t, "-grow", "") + Ye + t + Wt + Je(t, "grow", "positive") + t;
1461
+ return Ke + "box-" + Ye(t, "-grow", "") + Ke + t + Wt + Ye(t, "grow", "positive") + t;
1462
1462
  case 4554:
1463
- return Ye + Je(t, /([^-])(transform)/g, "$1" + Ye + "$2") + t;
1463
+ return Ke + Ye(t, /([^-])(transform)/g, "$1" + Ke + "$2") + t;
1464
1464
  case 6187:
1465
- return Je(Je(Je(t, /(zoom-|grab)/, Ye + "$1"), /(image-set)/, Ye + "$1"), t, "") + t;
1465
+ return Ye(Ye(Ye(t, /(zoom-|grab)/, Ke + "$1"), /(image-set)/, Ke + "$1"), t, "") + t;
1466
1466
  case 5495:
1467
1467
  case 3959:
1468
- return Je(t, /(image-set\([^]*)/, Ye + "$1$`$1");
1468
+ return Ye(t, /(image-set\([^]*)/, Ke + "$1$`$1");
1469
1469
  case 4968:
1470
- return Je(Je(t, /(.+:)(flex-)?(.*)/, Ye + "box-pack:$3" + Wt + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + Ye + t + t;
1470
+ return Ye(Ye(t, /(.+:)(flex-)?(.*)/, Ke + "box-pack:$3" + Wt + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + Ke + t + t;
1471
1471
  case 4095:
1472
1472
  case 3583:
1473
1473
  case 4068:
1474
1474
  case 2532:
1475
- return Je(t, /(.+)-inline(.+)/, Ye + "$1$2") + t;
1475
+ return Ye(t, /(.+)-inline(.+)/, Ke + "$1$2") + t;
1476
1476
  case 8116:
1477
1477
  case 7059:
1478
1478
  case 5753:
@@ -1489,9 +1489,9 @@ function WS(t, e) {
1489
1489
  case 109:
1490
1490
  if (Bt(t, e + 4) !== 45) break;
1491
1491
  case 102:
1492
- return Je(t, /(.+:)(.+)-([^]+)/, "$1" + Ye + "$2-$3$1" + Jc + (Bt(t, e + 3) == 108 ? "$3" : "$2-$3")) + t;
1492
+ return Ye(t, /(.+:)(.+)-([^]+)/, "$1" + Ke + "$2-$3$1" + Jc + (Bt(t, e + 3) == 108 ? "$3" : "$2-$3")) + t;
1493
1493
  case 115:
1494
- return ~lh(t, "stretch") ? WS(Je(t, "stretch", "fill-available"), e) + t : t;
1494
+ return ~lh(t, "stretch") ? WS(Ye(t, "stretch", "fill-available"), e) + t : t;
1495
1495
  }
1496
1496
  break;
1497
1497
  case 4949:
@@ -1499,21 +1499,21 @@ function WS(t, e) {
1499
1499
  case 6444:
1500
1500
  switch (Bt(t, pn(t) - 3 - (~lh(t, "!important") && 10))) {
1501
1501
  case 107:
1502
- return Je(t, ":", ":" + Ye) + t;
1502
+ return Ye(t, ":", ":" + Ke) + t;
1503
1503
  case 101:
1504
- return Je(t, /(.+:)([^;!]+)(;|!.+)?/, "$1" + Ye + (Bt(t, 14) === 45 ? "inline-" : "") + "box$3$1" + Ye + "$2$3$1" + Wt + "$2box$3") + t;
1504
+ return Ye(t, /(.+:)([^;!]+)(;|!.+)?/, "$1" + Ke + (Bt(t, 14) === 45 ? "inline-" : "") + "box$3$1" + Ke + "$2$3$1" + Wt + "$2box$3") + t;
1505
1505
  }
1506
1506
  break;
1507
1507
  case 5936:
1508
1508
  switch (Bt(t, e + 11)) {
1509
1509
  case 114:
1510
- return Ye + t + Wt + Je(t, /[svh]\w+-[tblr]{2}/, "tb") + t;
1510
+ return Ke + t + Wt + Ye(t, /[svh]\w+-[tblr]{2}/, "tb") + t;
1511
1511
  case 108:
1512
- return Ye + t + Wt + Je(t, /[svh]\w+-[tblr]{2}/, "tb-rl") + t;
1512
+ return Ke + t + Wt + Ye(t, /[svh]\w+-[tblr]{2}/, "tb-rl") + t;
1513
1513
  case 45:
1514
- return Ye + t + Wt + Je(t, /[svh]\w+-[tblr]{2}/, "lr") + t;
1514
+ return Ke + t + Wt + Ye(t, /[svh]\w+-[tblr]{2}/, "lr") + t;
1515
1515
  }
1516
- return Ye + t + Wt + t + t;
1516
+ return Ke + t + Wt + t + t;
1517
1517
  }
1518
1518
  return t;
1519
1519
  }
@@ -1525,7 +1525,7 @@ var yA = /* @__PURE__ */ a(function(e, r, n, o) {
1525
1525
  break;
1526
1526
  case _S:
1527
1527
  return ha([bs(e, {
1528
- value: Je(e.value, "@", "@" + Ye)
1528
+ value: Ye(e.value, "@", "@" + Ke)
1529
1529
  })], o);
1530
1530
  case dg:
1531
1531
  if (e.length) return JR(e.props, function(i) {
@@ -1533,15 +1533,15 @@ var yA = /* @__PURE__ */ a(function(e, r, n, o) {
1533
1533
  case ":read-only":
1534
1534
  case ":read-write":
1535
1535
  return ha([bs(e, {
1536
- props: [Je(i, /:(read-\w+)/, ":" + Jc + "$1")]
1536
+ props: [Ye(i, /:(read-\w+)/, ":" + Jc + "$1")]
1537
1537
  })], o);
1538
1538
  case "::placeholder":
1539
1539
  return ha([bs(e, {
1540
- props: [Je(i, /:(plac\w+)/, ":" + Ye + "input-$1")]
1540
+ props: [Ye(i, /:(plac\w+)/, ":" + Ke + "input-$1")]
1541
1541
  }), bs(e, {
1542
- props: [Je(i, /:(plac\w+)/, ":" + Jc + "$1")]
1542
+ props: [Ye(i, /:(plac\w+)/, ":" + Jc + "$1")]
1543
1543
  }), bs(e, {
1544
- props: [Je(i, /:(plac\w+)/, Wt + "input-$1")]
1544
+ props: [Ye(i, /:(plac\w+)/, Wt + "input-$1")]
1545
1545
  })], o);
1546
1546
  }
1547
1547
  return "";
@@ -1611,7 +1611,7 @@ If multiple caches share the same key they might "fight" for each other's style
1611
1611
  insert: u
1612
1612
  };
1613
1613
  return g.sheet.hydrate(l), g;
1614
- }, "createCache"), uh = { exports: {} }, et = {};
1614
+ }, "createCache"), uh = { exports: {} }, Ze = {};
1615
1615
  /** @license React v16.13.1
1616
1616
  * react-is.production.min.js
1617
1617
  *
@@ -1622,7 +1622,7 @@ If multiple caches share the same key they might "fight" for each other's style
1622
1622
  */
1623
1623
  var E0;
1624
1624
  function xA() {
1625
- if (E0) return et;
1625
+ if (E0) return Ze;
1626
1626
  E0 = 1;
1627
1627
  var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, l = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, d = t ? Symbol.for("react.concurrent_mode") : 60111, p = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, h = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, g = t ? Symbol.for("react.lazy") : 60116, b = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, x = t ? Symbol.for("react.responder") : 60118, T = t ? Symbol.for("react.scope") : 60119;
1628
1628
  function k(S) {
@@ -1659,36 +1659,36 @@ function xA() {
1659
1659
  function C(S) {
1660
1660
  return k(S) === d;
1661
1661
  }
1662
- return a(C, "A"), et.AsyncMode = u, et.ConcurrentMode = d, et.ContextConsumer = l, et.ContextProvider = s, et.Element = e, et.ForwardRef = p, et.Fragment = n, et.Lazy = g, et.Memo = m, et.Portal = r, et.Profiler = i, et.StrictMode = o, et.Suspense = f, et.isAsyncMode = function(S) {
1662
+ return a(C, "A"), Ze.AsyncMode = u, Ze.ConcurrentMode = d, Ze.ContextConsumer = l, Ze.ContextProvider = s, Ze.Element = e, Ze.ForwardRef = p, Ze.Fragment = n, Ze.Lazy = g, Ze.Memo = m, Ze.Portal = r, Ze.Profiler = i, Ze.StrictMode = o, Ze.Suspense = f, Ze.isAsyncMode = function(S) {
1663
1663
  return C(S) || k(S) === u;
1664
- }, et.isConcurrentMode = C, et.isContextConsumer = function(S) {
1664
+ }, Ze.isConcurrentMode = C, Ze.isContextConsumer = function(S) {
1665
1665
  return k(S) === l;
1666
- }, et.isContextProvider = function(S) {
1666
+ }, Ze.isContextProvider = function(S) {
1667
1667
  return k(S) === s;
1668
- }, et.isElement = function(S) {
1668
+ }, Ze.isElement = function(S) {
1669
1669
  return typeof S == "object" && S !== null && S.$$typeof === e;
1670
- }, et.isForwardRef = function(S) {
1670
+ }, Ze.isForwardRef = function(S) {
1671
1671
  return k(S) === p;
1672
- }, et.isFragment = function(S) {
1672
+ }, Ze.isFragment = function(S) {
1673
1673
  return k(S) === n;
1674
- }, et.isLazy = function(S) {
1674
+ }, Ze.isLazy = function(S) {
1675
1675
  return k(S) === g;
1676
- }, et.isMemo = function(S) {
1676
+ }, Ze.isMemo = function(S) {
1677
1677
  return k(S) === m;
1678
- }, et.isPortal = function(S) {
1678
+ }, Ze.isPortal = function(S) {
1679
1679
  return k(S) === r;
1680
- }, et.isProfiler = function(S) {
1680
+ }, Ze.isProfiler = function(S) {
1681
1681
  return k(S) === i;
1682
- }, et.isStrictMode = function(S) {
1682
+ }, Ze.isStrictMode = function(S) {
1683
1683
  return k(S) === o;
1684
- }, et.isSuspense = function(S) {
1684
+ }, Ze.isSuspense = function(S) {
1685
1685
  return k(S) === f;
1686
- }, et.isValidElementType = function(S) {
1686
+ }, Ze.isValidElementType = function(S) {
1687
1687
  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 === g || S.$$typeof === m || S.$$typeof === s || S.$$typeof === l || S.$$typeof === p || S.$$typeof === v || S.$$typeof === x || S.$$typeof === T || S.$$typeof === b);
1688
- }, et.typeOf = k, et;
1688
+ }, Ze.typeOf = k, Ze;
1689
1689
  }
1690
1690
  a(xA, "requireReactIs_production_min$1");
1691
- var tt = {};
1691
+ var et = {};
1692
1692
  /** @license React v16.13.1
1693
1693
  * react-is.development.js
1694
1694
  *
@@ -1739,7 +1739,7 @@ function OA() {
1739
1739
  }
1740
1740
  }
1741
1741
  a(C, "typeOf");
1742
- var S = u, w = d, M = l, R = s, P = e, I = p, A = n, F = g, $ = m, L = r, j = i, B = o, V = f, N = !1;
1742
+ var S = u, w = d, M = l, F = s, P = e, I = p, R = n, A = g, $ = m, L = r, j = i, B = o, V = f, N = !1;
1743
1743
  function K(_) {
1744
1744
  return N || (N = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), D(_) || C(_) === u;
1745
1745
  }
@@ -1791,8 +1791,8 @@ function OA() {
1791
1791
  function ie(_) {
1792
1792
  return C(_) === f;
1793
1793
  }
1794
- a(ie, "isSuspense"), tt.AsyncMode = S, tt.ConcurrentMode = w, tt.ContextConsumer = M, tt.ContextProvider = R, tt.Element = P, tt.ForwardRef = I, tt.Fragment = A, tt.Lazy = F, tt.Memo = $, tt.Portal = L, tt.Profiler = j, tt.StrictMode = B, tt.Suspense = V, tt.isAsyncMode = K, tt.isConcurrentMode = D, tt.isContextConsumer = H, tt.isContextProvider = ee, tt.isElement = z, tt.isForwardRef = U, tt.isFragment = J, tt.isLazy = G, tt.isMemo = te, tt.isPortal = Q, tt.isProfiler = oe, tt.isStrictMode = se, tt.isSuspense = ie, tt.isValidElementType = k, tt.typeOf = C;
1795
- }()), tt;
1794
+ a(ie, "isSuspense"), et.AsyncMode = S, et.ConcurrentMode = w, et.ContextConsumer = M, et.ContextProvider = F, et.Element = P, et.ForwardRef = I, et.Fragment = R, et.Lazy = A, et.Memo = $, et.Portal = L, et.Profiler = j, et.StrictMode = B, et.Suspense = V, et.isAsyncMode = K, et.isConcurrentMode = D, et.isContextConsumer = H, et.isContextProvider = ee, et.isElement = z, et.isForwardRef = U, et.isFragment = J, et.isLazy = G, et.isMemo = te, et.isPortal = Q, et.isProfiler = oe, et.isStrictMode = se, et.isSuspense = ie, et.isValidElementType = k, et.typeOf = C;
1795
+ }()), et;
1796
1796
  }
1797
1797
  a(OA, "requireReactIs_development$1");
1798
1798
  process.env.NODE_ENV === "production" ? uh.exports = xA() : uh.exports = OA();
@@ -2419,10 +2419,10 @@ You may have forgotten to import it.`);
2419
2419
  typeof b.className == "string" ? k = hg(v.registered, C, b.className) : b.className != null && (k = b.className + " ");
2420
2420
  var M = Ma(f.concat(C), v.registered, S);
2421
2421
  k += v.key + "-" + M.name, s !== void 0 && (k += " " + s);
2422
- var R = d && l === void 0 ? _0(T) : u, P = {};
2422
+ var F = d && l === void 0 ? _0(T) : u, P = {};
2423
2423
  for (var I in b)
2424
2424
  d && I === "as" || // $FlowFixMe
2425
- R(I) && (P[I] = b[I]);
2425
+ F(I) && (P[I] = b[I]);
2426
2426
  return P.className = k, P.ref = x, /* @__PURE__ */ O.createElement(O.Fragment, null, /* @__PURE__ */ O.createElement(YA, {
2427
2427
  cache: v,
2428
2428
  serialized: M,
@@ -2684,7 +2684,7 @@ const eF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2684
2684
  default: Jt,
2685
2685
  isPlainObject: $n
2686
2686
  }, Symbol.toStringTag, { value: "Module" })), tF = /* @__PURE__ */ Cn(eF), rF = /* @__PURE__ */ Cn(ER);
2687
- var fh = { exports: {} }, rt = {};
2687
+ var fh = { exports: {} }, tt = {};
2688
2688
  /**
2689
2689
  * @license React
2690
2690
  * react-is.production.min.js
@@ -2696,7 +2696,7 @@ var fh = { exports: {} }, rt = {};
2696
2696
  */
2697
2697
  var j0;
2698
2698
  function nF() {
2699
- if (j0) return rt;
2699
+ if (j0) return tt;
2700
2700
  j0 = 1;
2701
2701
  var t = Symbol.for("react.element"), e = 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"), m = Symbol.for("react.offscreen"), g;
2702
2702
  g = Symbol.for("react.module.reference");
@@ -2730,40 +2730,40 @@ function nF() {
2730
2730
  }
2731
2731
  }
2732
2732
  }
2733
- return a(b, "v"), rt.ContextConsumer = s, rt.ContextProvider = i, rt.Element = t, rt.ForwardRef = u, rt.Fragment = r, rt.Lazy = h, rt.Memo = f, rt.Portal = e, rt.Profiler = o, rt.StrictMode = n, rt.Suspense = d, rt.SuspenseList = p, rt.isAsyncMode = function() {
2733
+ return a(b, "v"), tt.ContextConsumer = s, tt.ContextProvider = i, tt.Element = t, tt.ForwardRef = u, tt.Fragment = r, tt.Lazy = h, tt.Memo = f, tt.Portal = e, tt.Profiler = o, tt.StrictMode = n, tt.Suspense = d, tt.SuspenseList = p, tt.isAsyncMode = function() {
2734
2734
  return !1;
2735
- }, rt.isConcurrentMode = function() {
2735
+ }, tt.isConcurrentMode = function() {
2736
2736
  return !1;
2737
- }, rt.isContextConsumer = function(v) {
2737
+ }, tt.isContextConsumer = function(v) {
2738
2738
  return b(v) === s;
2739
- }, rt.isContextProvider = function(v) {
2739
+ }, tt.isContextProvider = function(v) {
2740
2740
  return b(v) === i;
2741
- }, rt.isElement = function(v) {
2741
+ }, tt.isElement = function(v) {
2742
2742
  return typeof v == "object" && v !== null && v.$$typeof === t;
2743
- }, rt.isForwardRef = function(v) {
2743
+ }, tt.isForwardRef = function(v) {
2744
2744
  return b(v) === u;
2745
- }, rt.isFragment = function(v) {
2745
+ }, tt.isFragment = function(v) {
2746
2746
  return b(v) === r;
2747
- }, rt.isLazy = function(v) {
2747
+ }, tt.isLazy = function(v) {
2748
2748
  return b(v) === h;
2749
- }, rt.isMemo = function(v) {
2749
+ }, tt.isMemo = function(v) {
2750
2750
  return b(v) === f;
2751
- }, rt.isPortal = function(v) {
2751
+ }, tt.isPortal = function(v) {
2752
2752
  return b(v) === e;
2753
- }, rt.isProfiler = function(v) {
2753
+ }, tt.isProfiler = function(v) {
2754
2754
  return b(v) === o;
2755
- }, rt.isStrictMode = function(v) {
2755
+ }, tt.isStrictMode = function(v) {
2756
2756
  return b(v) === n;
2757
- }, rt.isSuspense = function(v) {
2757
+ }, tt.isSuspense = function(v) {
2758
2758
  return b(v) === d;
2759
- }, rt.isSuspenseList = function(v) {
2759
+ }, tt.isSuspenseList = function(v) {
2760
2760
  return b(v) === p;
2761
- }, rt.isValidElementType = function(v) {
2761
+ }, tt.isValidElementType = function(v) {
2762
2762
  return typeof v == "string" || typeof v == "function" || v === r || v === o || v === n || v === d || v === p || v === m || typeof v == "object" && v !== null && (v.$$typeof === h || v.$$typeof === f || v.$$typeof === i || v.$$typeof === s || v.$$typeof === u || v.$$typeof === g || v.getModuleId !== void 0);
2763
- }, rt.typeOf = b, rt;
2763
+ }, tt.typeOf = b, tt;
2764
2764
  }
2765
2765
  a(nF, "requireReactIs_production_min");
2766
- var nt = {};
2766
+ var rt = {};
2767
2767
  /**
2768
2768
  * @license React
2769
2769
  * react-is.development.js
@@ -2819,7 +2819,7 @@ function oF() {
2819
2819
  }
2820
2820
  }
2821
2821
  a(S, "typeOf");
2822
- var w = s, M = i, R = t, P = u, I = r, A = h, F = f, $ = e, L = o, j = n, B = d, V = p, N = !1, K = !1;
2822
+ var w = s, M = i, F = t, P = u, I = r, R = h, A = f, $ = e, L = o, j = n, B = d, V = p, N = !1, K = !1;
2823
2823
  function D(Y) {
2824
2824
  return N || (N = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
2825
2825
  }
@@ -2875,8 +2875,8 @@ function oF() {
2875
2875
  function pe(Y) {
2876
2876
  return S(Y) === p;
2877
2877
  }
2878
- a(pe, "isSuspenseList"), nt.ContextConsumer = w, nt.ContextProvider = M, nt.Element = R, nt.ForwardRef = P, nt.Fragment = I, nt.Lazy = A, nt.Memo = F, nt.Portal = $, nt.Profiler = L, nt.StrictMode = j, nt.Suspense = B, nt.SuspenseList = V, nt.isAsyncMode = D, nt.isConcurrentMode = H, nt.isContextConsumer = ee, nt.isContextProvider = z, nt.isElement = U, nt.isForwardRef = J, nt.isFragment = G, nt.isLazy = te, nt.isMemo = Q, nt.isPortal = oe, nt.isProfiler = se, nt.isStrictMode = ie, nt.isSuspense = _, nt.isSuspenseList = pe, nt.isValidElementType = C, nt.typeOf = S;
2879
- }()), nt;
2878
+ a(pe, "isSuspenseList"), rt.ContextConsumer = w, rt.ContextProvider = M, rt.Element = F, rt.ForwardRef = P, rt.Fragment = I, rt.Lazy = R, rt.Memo = A, rt.Portal = $, rt.Profiler = L, rt.StrictMode = j, rt.Suspense = B, rt.SuspenseList = V, rt.isAsyncMode = D, rt.isConcurrentMode = H, rt.isContextConsumer = ee, rt.isContextProvider = z, rt.isElement = U, rt.isForwardRef = J, rt.isFragment = G, rt.isLazy = te, rt.isMemo = Q, rt.isPortal = oe, rt.isProfiler = se, rt.isStrictMode = ie, rt.isSuspense = _, rt.isSuspenseList = pe, rt.isValidElementType = C, rt.typeOf = S;
2879
+ }()), rt;
2880
2880
  }
2881
2881
  a(oF, "requireReactIs_development");
2882
2882
  process.env.NODE_ENV === "production" ? fh.exports = nF() : fh.exports = oF();
@@ -3937,41 +3937,41 @@ function xI(t = {}) {
3937
3937
  })
3938
3938
  })) : S, "transformStyleArg"), C = /* @__PURE__ */ a((S, ...w) => {
3939
3939
  let M = k(S);
3940
- const R = w ? w.map(k) : [];
3941
- u && h && R.push((A) => {
3942
- const F = cc((0, Mr.default)({}, A, {
3940
+ const F = w ? w.map(k) : [];
3941
+ u && h && F.push((R) => {
3942
+ const A = cc((0, Mr.default)({}, R, {
3943
3943
  defaultTheme: r,
3944
3944
  themeId: e
3945
3945
  }));
3946
- if (!F.components || !F.components[u] || !F.components[u].styleOverrides)
3946
+ if (!A.components || !A.components[u] || !A.components[u].styleOverrides)
3947
3947
  return null;
3948
- const $ = F.components[u].styleOverrides, L = {};
3948
+ const $ = A.components[u].styleOverrides, L = {};
3949
3949
  return Object.entries($).forEach(([j, B]) => {
3950
- L[j] = _c(B, (0, Mr.default)({}, A, {
3951
- theme: F
3950
+ L[j] = _c(B, (0, Mr.default)({}, R, {
3951
+ theme: A
3952
3952
  }));
3953
- }), h(A, L);
3954
- }), u && !g && R.push((A) => {
3955
- var F;
3956
- const $ = cc((0, Mr.default)({}, A, {
3953
+ }), h(R, L);
3954
+ }), u && !g && F.push((R) => {
3955
+ var A;
3956
+ const $ = cc((0, Mr.default)({}, R, {
3957
3957
  defaultTheme: r,
3958
3958
  themeId: e
3959
- })), L = $ == null || (F = $.components) == null || (F = F[u]) == null ? void 0 : F.variants;
3959
+ })), L = $ == null || (A = $.components) == null || (A = A[u]) == null ? void 0 : A.variants;
3960
3960
  return _c({
3961
3961
  variants: L
3962
- }, (0, Mr.default)({}, A, {
3962
+ }, (0, Mr.default)({}, R, {
3963
3963
  theme: $
3964
3964
  }));
3965
- }), b || R.push(i);
3966
- const P = R.length - w.length;
3965
+ }), b || F.push(i);
3966
+ const P = F.length - w.length;
3967
3967
  if (Array.isArray(S) && P > 0) {
3968
- const A = new Array(P).fill("");
3969
- M = [...S, ...A], M.raw = [...S.raw, ...A];
3968
+ const R = new Array(P).fill("");
3969
+ M = [...S, ...R], M.raw = [...S.raw, ...R];
3970
3970
  }
3971
- const I = T(M, ...R);
3971
+ const I = T(M, ...F);
3972
3972
  if (process.env.NODE_ENV !== "production") {
3973
- let A;
3974
- u && (A = `${u}${(0, lI.default)(d || "")}`), A === void 0 && (A = `Styled(${(0, cI.default)(s)})`), I.displayName = A;
3973
+ let R;
3974
+ u && (R = `${u}${(0, lI.default)(d || "")}`), R === void 0 && (R = `Styled(${(0, cI.default)(s)})`), I.displayName = R;
3975
3975
  }
3976
3976
  return s.muiName && (I.muiName = s.muiName), I;
3977
3977
  }, "muiStyledResolver");
@@ -5480,41 +5480,41 @@ function G$(t = {}) {
5480
5480
  })
5481
5481
  })) : S, "transformStyleArg"), C = /* @__PURE__ */ a((S, ...w) => {
5482
5482
  let M = k(S);
5483
- const R = w ? w.map(k) : [];
5484
- u && h && R.push((A) => {
5485
- const F = uc(E({}, A, {
5483
+ const F = w ? w.map(k) : [];
5484
+ u && h && F.push((R) => {
5485
+ const A = uc(E({}, R, {
5486
5486
  defaultTheme: r,
5487
5487
  themeId: e
5488
5488
  }));
5489
- if (!F.components || !F.components[u] || !F.components[u].styleOverrides)
5489
+ if (!A.components || !A.components[u] || !A.components[u].styleOverrides)
5490
5490
  return null;
5491
- const $ = F.components[u].styleOverrides, L = {};
5491
+ const $ = A.components[u].styleOverrides, L = {};
5492
5492
  return Object.entries($).forEach(([j, B]) => {
5493
- L[j] = Bc(B, E({}, A, {
5494
- theme: F
5493
+ L[j] = Bc(B, E({}, R, {
5494
+ theme: A
5495
5495
  }));
5496
- }), h(A, L);
5497
- }), u && !g && R.push((A) => {
5498
- var F;
5499
- const $ = uc(E({}, A, {
5496
+ }), h(R, L);
5497
+ }), u && !g && F.push((R) => {
5498
+ var A;
5499
+ const $ = uc(E({}, R, {
5500
5500
  defaultTheme: r,
5501
5501
  themeId: e
5502
- })), L = $ == null || (F = $.components) == null || (F = F[u]) == null ? void 0 : F.variants;
5502
+ })), L = $ == null || (A = $.components) == null || (A = A[u]) == null ? void 0 : A.variants;
5503
5503
  return Bc({
5504
5504
  variants: L
5505
- }, E({}, A, {
5505
+ }, E({}, R, {
5506
5506
  theme: $
5507
5507
  }));
5508
- }), b || R.push(i);
5509
- const P = R.length - w.length;
5508
+ }), b || F.push(i);
5509
+ const P = F.length - w.length;
5510
5510
  if (Array.isArray(S) && P > 0) {
5511
- const A = new Array(P).fill("");
5512
- M = [...S, ...A], M.raw = [...S.raw, ...A];
5511
+ const R = new Array(P).fill("");
5512
+ M = [...S, ...R], M.raw = [...S.raw, ...R];
5513
5513
  }
5514
- const I = T(M, ...R);
5514
+ const I = T(M, ...F);
5515
5515
  if (process.env.NODE_ENV !== "production") {
5516
- let A;
5517
- u && (A = `${u}${ce(d || "")}`), A === void 0 && (A = `Styled(${iC(s)})`), I.displayName = A;
5516
+ let R;
5517
+ u && (R = `${u}${ce(d || "")}`), R === void 0 && (R = `Styled(${iC(s)})`), I.displayName = R;
5518
5518
  }
5519
5519
  return s.muiName && (I.muiName = s.muiName), I;
5520
5520
  }, "muiStyledResolver");
@@ -6285,11 +6285,11 @@ function nu(t) {
6285
6285
  return;
6286
6286
  if (!m.current)
6287
6287
  return;
6288
- let R = [];
6289
- if ((k.activeElement === d.current || k.activeElement === p.current) && (R = i(g.current)), R.length > 0) {
6288
+ let F = [];
6289
+ if ((k.activeElement === d.current || k.activeElement === p.current) && (F = i(g.current)), F.length > 0) {
6290
6290
  var P, I;
6291
- const A = !!((P = v.current) != null && P.shiftKey && ((I = v.current) == null ? void 0 : I.key) === "Tab"), F = R[0], $ = R[R.length - 1];
6292
- typeof F != "string" && typeof $ != "string" && (A ? $.focus() : F.focus());
6291
+ const R = !!((P = v.current) != null && P.shiftKey && ((I = v.current) == null ? void 0 : I.key) === "Tab"), A = F[0], $ = F[F.length - 1];
6292
+ typeof A != "string" && typeof $ != "string" && (R ? $.focus() : A.focus());
6293
6293
  } else
6294
6294
  M.focus();
6295
6295
  }, "contain");
@@ -7029,7 +7029,7 @@ const JL = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
7029
7029
  const B = C.current;
7030
7030
  j === void 0 ? L(B) : L(B, j);
7031
7031
  }
7032
- }, "normalizedTransitionCallback"), M = w(h), R = w((L, j) => {
7032
+ }, "normalizedTransitionCallback"), M = w(h), F = w((L, j) => {
7033
7033
  _g(L);
7034
7034
  const B = ki({
7035
7035
  style: v,
@@ -7039,7 +7039,7 @@ const JL = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
7039
7039
  mode: "enter"
7040
7040
  });
7041
7041
  L.style.webkitTransition = n.transitions.create("opacity", B), L.style.transition = n.transitions.create("opacity", B), p && p(L, j);
7042
- }), P = w(f), I = w(b), A = w((L) => {
7042
+ }), P = w(f), I = w(b), R = w((L) => {
7043
7043
  const j = ki({
7044
7044
  style: v,
7045
7045
  timeout: x,
@@ -7048,16 +7048,16 @@ const JL = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
7048
7048
  mode: "exit"
7049
7049
  });
7050
7050
  L.style.webkitTransition = n.transitions.create("opacity", j), L.style.transition = n.transitions.create("opacity", j), m && m(L);
7051
- }), F = w(g);
7051
+ }), A = w(g);
7052
7052
  return /* @__PURE__ */ y(T, E({
7053
7053
  appear: s,
7054
7054
  in: d,
7055
7055
  nodeRef: C,
7056
- onEnter: R,
7056
+ onEnter: F,
7057
7057
  onEntered: P,
7058
7058
  onEntering: M,
7059
- onExit: A,
7060
- onExited: F,
7059
+ onExit: R,
7060
+ onExited: A,
7061
7061
  onExiting: I,
7062
7062
  addEndListener: /* @__PURE__ */ a((L) => {
7063
7063
  i && i(C.current, L);
@@ -7351,8 +7351,8 @@ function iN(t) {
7351
7351
  }, "handleMounted"), M = n0(() => {
7352
7352
  const B = rN(e) || C().body;
7353
7353
  o.add(S(), B), g.current && w();
7354
- }), R = O.useCallback(() => o.isTopModal(S()), [o]), P = n0((B) => {
7355
- m.current = B, B && (p && R() ? w() : g.current && $s(g.current, k));
7354
+ }), F = O.useCallback(() => o.isTopModal(S()), [o]), P = n0((B) => {
7355
+ m.current = B, B && (p && F() ? w() : g.current && $s(g.current, k));
7356
7356
  }), I = O.useCallback(() => {
7357
7357
  o.remove(S(), k);
7358
7358
  }, [k, o]);
@@ -7361,11 +7361,11 @@ function iN(t) {
7361
7361
  }, [I]), O.useEffect(() => {
7362
7362
  p ? M() : (!T || !i) && I();
7363
7363
  }, [p, I, T, i, M]);
7364
- const A = /* @__PURE__ */ a((B) => (V) => {
7364
+ const R = /* @__PURE__ */ a((B) => (V) => {
7365
7365
  var N;
7366
7366
  (N = B.onKeyDown) == null || N.call(B, V), !(V.key !== "Escape" || V.which === 229 || // Wait until IME is settled.
7367
- !R()) && (r || (V.stopPropagation(), d && d(V, "escapeKeyDown")));
7368
- }, "createHandleKeyDown"), F = /* @__PURE__ */ a((B) => (V) => {
7367
+ !F()) && (r || (V.stopPropagation(), d && d(V, "escapeKeyDown")));
7368
+ }, "createHandleKeyDown"), A = /* @__PURE__ */ a((B) => (V) => {
7369
7369
  var N;
7370
7370
  (N = B.onClick) == null || N.call(B, V), V.target === V.currentTarget && d && d(V, "backdropClick");
7371
7371
  }, "createHandleBackdropClick");
@@ -7377,7 +7377,7 @@ function iN(t) {
7377
7377
  return E({
7378
7378
  role: "presentation"
7379
7379
  }, N, {
7380
- onKeyDown: A(N),
7380
+ onKeyDown: R(N),
7381
7381
  ref: b
7382
7382
  });
7383
7383
  }, "getRootProps"),
@@ -7386,7 +7386,7 @@ function iN(t) {
7386
7386
  return E({
7387
7387
  "aria-hidden": !0
7388
7388
  }, V, {
7389
- onClick: F(V),
7389
+ onClick: A(V),
7390
7390
  open: p
7391
7391
  });
7392
7392
  }, "getBackdropProps"),
@@ -7403,7 +7403,7 @@ function iN(t) {
7403
7403
  }, "getTransitionProps"),
7404
7404
  rootRef: b,
7405
7405
  portalRef: P,
7406
- isTopModal: R,
7406
+ isTopModal: F,
7407
7407
  exited: v,
7408
7408
  hasTransition: T
7409
7409
  };
@@ -7471,11 +7471,11 @@ const sN = ["BackdropComponent", "BackdropProps", "classes", "className", "close
7471
7471
  disableEscapeKeyDown: S = !1,
7472
7472
  disablePortal: w = !1,
7473
7473
  disableRestoreFocus: M = !1,
7474
- disableScrollLock: R = !1,
7474
+ disableScrollLock: F = !1,
7475
7475
  hideBackdrop: P = !1,
7476
7476
  keepMounted: I = !1,
7477
- onBackdropClick: A,
7478
- open: F,
7477
+ onBackdropClick: R,
7478
+ open: A,
7479
7479
  slotProps: $,
7480
7480
  slots: L
7481
7481
  // eslint-disable-next-line react/prop-types
@@ -7486,7 +7486,7 @@ const sN = ["BackdropComponent", "BackdropProps", "classes", "className", "close
7486
7486
  disableEscapeKeyDown: S,
7487
7487
  disablePortal: w,
7488
7488
  disableRestoreFocus: M,
7489
- disableScrollLock: R,
7489
+ disableScrollLock: F,
7490
7490
  hideBackdrop: P,
7491
7491
  keepMounted: I
7492
7492
  }), {
@@ -7526,13 +7526,13 @@ const sN = ["BackdropComponent", "BackdropProps", "classes", "className", "close
7526
7526
  additionalProps: f,
7527
7527
  getSlotProps: /* @__PURE__ */ a((pe) => N(E({}, pe, {
7528
7528
  onClick: /* @__PURE__ */ a((Y) => {
7529
- A && A(Y), pe != null && pe.onClick && pe.onClick(Y);
7529
+ R && R(Y), pe != null && pe.onClick && pe.onClick(Y);
7530
7530
  }, "onClick")
7531
7531
  })), "getSlotProps"),
7532
7532
  className: re(se == null ? void 0 : se.className, f == null ? void 0 : f.className, J == null ? void 0 : J.backdrop),
7533
7533
  ownerState: U
7534
7534
  });
7535
- return !I && !F && (!z || ee) ? null : /* @__PURE__ */ y(hl, {
7535
+ return !I && !A && (!z || ee) ? null : /* @__PURE__ */ y(hl, {
7536
7536
  ref: D,
7537
7537
  container: b,
7538
7538
  disablePortal: w,
@@ -7542,7 +7542,7 @@ const sN = ["BackdropComponent", "BackdropProps", "classes", "className", "close
7542
7542
  disableAutoFocus: k,
7543
7543
  disableRestoreFocus: M,
7544
7544
  isEnabled: H,
7545
- open: F,
7545
+ open: A,
7546
7546
  children: /* @__PURE__ */ O.cloneElement(g, G)
7547
7547
  })]
7548
7548
  }))
@@ -8036,15 +8036,15 @@ const vN = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
8036
8036
  PaperProps: S = {},
8037
8037
  scroll: w = "paper",
8038
8038
  TransitionComponent: M = Bg,
8039
- transitionDuration: R = i,
8039
+ transitionDuration: F = i,
8040
8040
  TransitionProps: P
8041
- } = n, I = ne(n, vN), A = E({}, n, {
8041
+ } = n, I = ne(n, vN), R = E({}, n, {
8042
8042
  disableEscapeKeyDown: h,
8043
8043
  fullScreen: m,
8044
8044
  fullWidth: g,
8045
8045
  maxWidth: b,
8046
8046
  scroll: w
8047
- }), F = ON(A), $ = O.useRef(), L = /* @__PURE__ */ a((N) => {
8047
+ }), A = ON(R), $ = O.useRef(), L = /* @__PURE__ */ a((N) => {
8048
8048
  $.current = N.target === N.currentTarget;
8049
8049
  }, "handleMouseDown"), j = /* @__PURE__ */ a((N) => {
8050
8050
  x && x(N), $.current && ($.current = null, v && v(N), T && T(N, "backdropClick"));
@@ -8052,14 +8052,14 @@ const vN = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
8052
8052
  titleId: B
8053
8053
  }), [B]);
8054
8054
  return /* @__PURE__ */ y(SN, E({
8055
- className: re(F.root, f),
8055
+ className: re(A.root, f),
8056
8056
  closeAfterTransition: !0,
8057
8057
  components: {
8058
8058
  Backdrop: xN
8059
8059
  },
8060
8060
  componentsProps: {
8061
8061
  backdrop: E({
8062
- transitionDuration: R,
8062
+ transitionDuration: F,
8063
8063
  as: u
8064
8064
  }, d)
8065
8065
  },
@@ -8068,18 +8068,18 @@ const vN = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
8068
8068
  open: k,
8069
8069
  ref: r,
8070
8070
  onClick: j,
8071
- ownerState: A
8071
+ ownerState: R
8072
8072
  }, I, {
8073
8073
  children: /* @__PURE__ */ y(M, E({
8074
8074
  appear: !0,
8075
8075
  in: k,
8076
- timeout: R,
8076
+ timeout: F,
8077
8077
  role: "presentation"
8078
8078
  }, P, {
8079
8079
  children: /* @__PURE__ */ y(CN, {
8080
- className: re(F.container),
8080
+ className: re(A.container),
8081
8081
  onMouseDown: L,
8082
- ownerState: A,
8082
+ ownerState: R,
8083
8083
  children: /* @__PURE__ */ y(kN, E({
8084
8084
  as: C,
8085
8085
  elevation: 24,
@@ -8087,8 +8087,8 @@ const vN = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
8087
8087
  "aria-describedby": s,
8088
8088
  "aria-labelledby": B
8089
8089
  }, S, {
8090
- className: re(F.paper, S.className),
8091
- ownerState: A,
8090
+ className: re(A.paper, S.className),
8091
+ ownerState: R,
8092
8092
  children: /* @__PURE__ */ y(zg.Provider, {
8093
8093
  value: V,
8094
8094
  children: p
@@ -9622,8 +9622,8 @@ const CD = /^(\d+)(th|st|nd|rd)?/i, kD = /\d+/i, ED = {
9622
9622
  isLoading: n,
9623
9623
  fichaProps: o = {},
9624
9624
  propsContenidos: i = {}
9625
- } = Ot(), s = ot(ji), l = s !== void 0, u = ig((Ke) => {
9626
- const xt = Ke.configInputs ? Ke.configInputs.filter((Ae) => Ae.id === e) : [];
9625
+ } = Ot(), s = ot(ji), l = s !== void 0, u = ig((Ge) => {
9626
+ const xt = Ge.configInputs ? Ge.configInputs.filter((Ae) => Ae.id === e) : [];
9627
9627
  return xt[0] ? xt[0] : null;
9628
9628
  }), {
9629
9629
  conts: d = []
@@ -9641,11 +9641,11 @@ const CD = /^(\d+)(th|st|nd|rd)?/i, kD = /\d+/i, ED = {
9641
9641
  } = u || {}, T = typeof v == "function" ? v : () => v, { [e]: k = {}, etrs: C } = o, { [e]: S = {} } = i, {
9642
9642
  onFocus: w,
9643
9643
  onChange: M,
9644
- onBlur: R,
9644
+ onBlur: F,
9645
9645
  hidden: P = !1,
9646
9646
  disabled: I = !1,
9647
- validate: A,
9648
- required: F,
9647
+ validate: R,
9648
+ required: A,
9649
9649
  ...$
9650
9650
  } = t, {
9651
9651
  onFocus: L,
@@ -9657,7 +9657,7 @@ const CD = /^(\d+)(th|st|nd|rd)?/i, kD = /\d+/i, ED = {
9657
9657
  validate: D,
9658
9658
  required: H,
9659
9659
  ...ee
9660
- } = k, z = l || V === void 0 ? P : V, U = l || N === void 0 ? I : N, J = l || L === void 0 ? w : L, G = l || j === void 0 ? R : j, te = l || B === void 0 ? M : B, Q = wn({ ...t, etrs: C, asisEtr: s }), oe = K({
9660
+ } = k, z = l || V === void 0 ? P : V, U = l || N === void 0 ? I : N, J = l || L === void 0 ? w : L, G = l || j === void 0 ? F : j, te = l || B === void 0 ? M : B, Q = wn({ ...t, etrs: C, asisEtr: s }), oe = K({
9661
9661
  ...$,
9662
9662
  estado: r,
9663
9663
  hidden: z,
@@ -9673,14 +9673,14 @@ const CD = /^(\d+)(th|st|nd|rd)?/i, kD = /\d+/i, ED = {
9673
9673
  validate: be,
9674
9674
  required: Ie,
9675
9675
  ...He
9676
- } = oe, me = _ || J, ct = Y || G, je = pe || te, $e = b !== void 0 ? b : Ie !== void 0 ? Ie : f ? !0 : l || H === void 0 ? F : H, ut = Array.isArray(A) ? A : [A], at = Array.isArray(D) ? D : [D], ze = Array.isArray(be) ? be : [be];
9676
+ } = oe, me = _ || J, ct = Y || G, je = pe || te, $e = b !== void 0 ? b : Ie !== void 0 ? Ie : f ? !0 : l || H === void 0 ? A : H, ut = Array.isArray(R) ? R : [R], at = Array.isArray(D) ? D : [D], ze = Array.isArray(be) ? be : [be];
9677
9677
  let st = [
9678
9678
  ...ut,
9679
9679
  ...at,
9680
9680
  ...ze,
9681
9681
  T
9682
- ].filter((Ke) => Ke !== void 0);
9683
- return $e ? st.push(ZC) : st = st.filter((Ke) => !Ke.isRequired), {
9682
+ ].filter((Ge) => Ge !== void 0);
9683
+ return $e ? st.push(ZC) : st = st.filter((Ge) => !Ge.isRequired), {
9684
9684
  propsContenido: {
9685
9685
  sx: {
9686
9686
  mr: { xs: 0, md: 1 },
@@ -9690,11 +9690,11 @@ const CD = /^(\d+)(th|st|nd|rd)?/i, kD = /\d+/i, ED = {
9690
9690
  bottom: { xs: "-1.5em", md: "-1.6em" }
9691
9691
  }
9692
9692
  },
9693
- onFocus: /* @__PURE__ */ a((Ke) => {
9694
- me && J(Q, r, Ke);
9693
+ onFocus: /* @__PURE__ */ a((Ge) => {
9694
+ me && J(Q, r, Ge);
9695
9695
  }, "onFocus"),
9696
- onBlur: /* @__PURE__ */ a((Ke) => ct && ct(Q, r, Ke), "onBlur"),
9697
- onChange: /* @__PURE__ */ a((Ke) => je && je(Q, r, Ke), "onChange"),
9696
+ onBlur: /* @__PURE__ */ a((Ge) => ct && ct(Q, r, Ge), "onBlur"),
9697
+ onChange: /* @__PURE__ */ a((Ge) => je && je(Q, r, Ge), "onChange"),
9698
9698
  helperText: !1,
9699
9699
  validate: st,
9700
9700
  ...$,
@@ -9710,7 +9710,7 @@ const CD = /^(\d+)(th|st|nd|rd)?/i, kD = /\d+/i, ED = {
9710
9710
  }, "useContenidoController"), h_ = /* @__PURE__ */ a((t) => {
9711
9711
  const { validateDelete: e, className: r } = t, n = pt(t), o = ur(), i = lS(), { open: s, isLoading: l, handleDialogOpen: u, handleDialogClose: d } = fP({ record: o, resource: n }), p = /* @__PURE__ */ a((h) => {
9712
9712
  u(h);
9713
- }, "handleClick"), f = Ge(
9713
+ }, "handleClick"), f = nt(
9714
9714
  async (h) => {
9715
9715
  if (o)
9716
9716
  try {
@@ -9817,7 +9817,7 @@ const CD = /^(\d+)(th|st|nd|rd)?/i, kD = /\d+/i, ED = {
9817
9817
  );
9818
9818
  }, "onError")
9819
9819
  }
9820
- ), f = Un(), { save: h } = mP(), m = Ge(
9820
+ ), f = Un(), { save: h } = mP(), m = nt(
9821
9821
  async (g) => {
9822
9822
  const b = l && await l(
9823
9823
  {
@@ -9916,8 +9916,8 @@ const XC = /* @__PURE__ */ a(() => {
9916
9916
  filterValues: S,
9917
9917
  displayedFilters: w,
9918
9918
  sort: M,
9919
- ...R
9920
- }) => R, "sanitizeRestProps$4"), mte = /* @__PURE__ */ a((t) => {
9919
+ ...F
9920
+ }) => F, "sanitizeRestProps$4"), mte = /* @__PURE__ */ a((t) => {
9921
9921
  const { hidden: e } = pr(t);
9922
9922
  return !e && /* @__PURE__ */ y(
9923
9923
  Rt,
@@ -10019,7 +10019,7 @@ const XC = /* @__PURE__ */ a(() => {
10019
10019
  }, "abrirVentanaSistema");
10020
10020
  }, "useAbrirVentanaSistema"), rk = /* @__PURE__ */ a(() => {
10021
10021
  const t = Vi();
10022
- return Ge(
10022
+ return nt(
10023
10023
  (e, r, n, o) => {
10024
10024
  t(YN(e, r, n, o));
10025
10025
  },
@@ -10027,7 +10027,7 @@ const XC = /* @__PURE__ */ a(() => {
10027
10027
  );
10028
10028
  }, "useRecargarComboBox"), nk = /* @__PURE__ */ a(() => {
10029
10029
  const t = Vi();
10030
- return Ge(
10030
+ return nt(
10031
10031
  (e, r) => {
10032
10032
  t(QN(e, r));
10033
10033
  },
@@ -10035,7 +10035,7 @@ const XC = /* @__PURE__ */ a(() => {
10035
10035
  );
10036
10036
  }, "useSetHidden"), ok = /* @__PURE__ */ a(() => {
10037
10037
  const t = Vi();
10038
- return Ge(
10038
+ return nt(
10039
10039
  (e, r) => {
10040
10040
  t(XN(e, r));
10041
10041
  },
@@ -10043,7 +10043,7 @@ const XC = /* @__PURE__ */ a(() => {
10043
10043
  );
10044
10044
  }, "useSetDisable"), ik = /* @__PURE__ */ a(() => {
10045
10045
  const t = Vi();
10046
- return Ge(
10046
+ return nt(
10047
10047
  (e, r) => {
10048
10048
  t(ZN(e, r));
10049
10049
  },
@@ -10051,7 +10051,7 @@ const XC = /* @__PURE__ */ a(() => {
10051
10051
  );
10052
10052
  }, "useSetRequire"), ak = /* @__PURE__ */ a(() => {
10053
10053
  const t = Vi();
10054
- return Ge(
10054
+ return nt(
10055
10055
  (e, r) => {
10056
10056
  t(eD(e, r));
10057
10057
  },
@@ -10059,7 +10059,7 @@ const XC = /* @__PURE__ */ a(() => {
10059
10059
  );
10060
10060
  }, "useSetError"), sk = /* @__PURE__ */ a(() => {
10061
10061
  const t = Vi();
10062
- return Ge(
10062
+ return nt(
10063
10063
  (e, r) => {
10064
10064
  t(tD(e, r));
10065
10065
  },
@@ -10090,7 +10090,7 @@ const XC = /* @__PURE__ */ a(() => {
10090
10090
  return { mutateAsync: o, isLoading: i };
10091
10091
  }, "useGetJson"), Kg = /* @__PURE__ */ a((t, e) => {
10092
10092
  const { mutateAsync: r, isLoading: n } = S_(t, void 0, e);
10093
- return [Ge(
10093
+ return [nt(
10094
10094
  (i, s, l) => r(
10095
10095
  { method: i, params: s },
10096
10096
  { onSuccess: l, onError: l }
@@ -10113,7 +10113,7 @@ const XC = /* @__PURE__ */ a(() => {
10113
10113
  return /* @__PURE__ */ y(lk.Provider, { value: o, children: t });
10114
10114
  }, "FormToolbarProvider"), uk = /* @__PURE__ */ a(() => ot(lk), "useFormToolbar"), dk = /* @__PURE__ */ a((t) => {
10115
10115
  const e = pt(t), r = ag();
10116
- return Ge(() => {
10116
+ return nt(() => {
10117
10117
  r.refetchQueries({ queryKey: [e], type: "active" });
10118
10118
  }, [r, e]);
10119
10119
  }, "useResourceRefresh"), tc = /* @__PURE__ */ a((t) => ({}), "useDefaultHook"), mp = /* @__PURE__ */ a((t) => {
@@ -10152,61 +10152,54 @@ const XC = /* @__PURE__ */ a(() => {
10152
10152
  etrs: v
10153
10153
  };
10154
10154
  }, "useUtilsSubmit"), wn = /* @__PURE__ */ a((t) => {
10155
- const e = rk(), r = nk(), n = ok(), o = ik(), i = ak(), s = sk(), l = ss(), u = Un(), d = _i(), p = Xa(), f = dr(), h = pt(t), m = pp(), g = uk(), b = tk(), { propsContenidos: v, setPropsContenidos: x } = Ot(), [T] = Kg(h), k = t.etrs || {}, C = t.asisEtr || {}, S = f == null ? void 0 : f.trigger;
10156
- return {
10157
- form: f,
10158
- ajax: T,
10159
- notify: u,
10160
- redirect: d,
10161
- navigate: p,
10162
- recargarComboBox: e,
10163
- progress: l,
10164
- asistente: m,
10165
- abrirVentanaSistema: b,
10166
- ficha: { propsContenidos: v, setPropsContenidos: x },
10167
- setHiddenButton: g == null ? void 0 : g.setHidden,
10168
- setHidden: Ge(
10169
- (w, M) => {
10170
- r(w, M), setTimeout(() => {
10171
- S(w);
10172
- });
10173
- },
10174
- [r, S]
10175
- ),
10176
- setDisable: Ge(
10177
- (w, M) => {
10178
- n(w, M), setTimeout(() => {
10179
- S(w);
10180
- });
10181
- },
10182
- [n, S]
10183
- ),
10184
- setRequire: Ge(
10185
- (w, M) => {
10186
- o(w, M), setTimeout(() => {
10187
- S(w);
10188
- });
10189
- },
10190
- [o, S]
10191
- ),
10192
- setError: Ge(
10193
- (w, M) => {
10194
- i(w, M), setTimeout(() => {
10195
- S(w);
10196
- });
10197
- },
10198
- [i, S]
10199
- ),
10200
- setLabel: Ge(
10201
- (w, M) => {
10202
- s(w, M), setTimeout(() => {
10203
- S(w);
10204
- });
10205
- },
10206
- [s, S]
10155
+ const { etrs: e = {}, asisEtr: r = {} } = t, n = rk(), o = nk(), i = ok(), s = ik(), l = ak(), u = sk(), d = ss(), p = Un(), f = _i(), h = Xa(), m = pt(t), g = pp(), b = uk(), v = tk(), { propsContenidos: x, setPropsContenidos: T } = Ot(), [k] = Kg(m), C = dr(), S = useRef(null);
10156
+ useEffect(() => (C && (S.current = C), () => {
10157
+ S.current = null;
10158
+ }), [C]);
10159
+ const w = nt(() => C || S.current, [C]), M = nt(
10160
+ (...I) => {
10161
+ var R, A;
10162
+ return (A = (R = w()) == null ? void 0 : R.trigger) == null ? void 0 : A.call(R, ...I);
10163
+ },
10164
+ [w]
10165
+ ), F = useMemo(
10166
+ () => new Proxy(
10167
+ {},
10168
+ {
10169
+ get(I, R) {
10170
+ const A = w();
10171
+ if (!A)
10172
+ return;
10173
+ const $ = A[R];
10174
+ return typeof $ == "function" ? $.bind(A) : $;
10175
+ }
10176
+ }
10207
10177
  ),
10208
- etrs: k,
10209
- asisEtr: C
10178
+ [w]
10179
+ ), P = /* @__PURE__ */ a((I) => (R, A) => {
10180
+ I(R, A), setTimeout(() => M(R), 0);
10181
+ }, "withRevalidate");
10182
+ return {
10183
+ get form() {
10184
+ return F;
10185
+ },
10186
+ ajax: k,
10187
+ notify: p,
10188
+ redirect: f,
10189
+ navigate: h,
10190
+ recargarComboBox: n,
10191
+ progress: d,
10192
+ asistente: g,
10193
+ abrirVentanaSistema: v,
10194
+ ficha: { propsContenidos: x, setPropsContenidos: T },
10195
+ setHiddenButton: b == null ? void 0 : b.setHidden,
10196
+ setHidden: P(o),
10197
+ setDisable: P(i),
10198
+ setRequire: P(s),
10199
+ setError: P(l),
10200
+ setLabel: P(u),
10201
+ etrs: e,
10202
+ asisEtr: r
10210
10203
  };
10211
10204
  }, "useUtilsFicha"), pk = /* @__PURE__ */ a((t) => {
10212
10205
  const { estado: e, isLoading: r, fichaProps: n = {} } = Ot(), { [t.source]: o = {} } = n, { hidden: i = !1, ...s } = t, {
@@ -10252,7 +10245,7 @@ const XC = /* @__PURE__ */ a(() => {
10252
10245
  return delete e.id, e;
10253
10246
  }, "getSubmitValues"), hk = /* @__PURE__ */ a((t) => {
10254
10247
  const { apiRef: e, source: r, enviarTodo: n } = t, o = "N";
10255
- return Ge(
10248
+ return nt(
10256
10249
  (i, s) => {
10257
10250
  const l = fk(i), u = Math.max(
10258
10251
  0,
@@ -10275,7 +10268,7 @@ const XC = /* @__PURE__ */ a(() => {
10275
10268
  );
10276
10269
  }, "useAddRow"), mk = /* @__PURE__ */ a((t) => {
10277
10270
  const { apiRef: e, source: r, enviarTodo: n } = t, o = "M";
10278
- return Ge(
10271
+ return nt(
10279
10272
  (i, s, l) => {
10280
10273
  var m, g;
10281
10274
  const u = typeof i == "number" ? "N" : o, d = fk(s);
@@ -10299,7 +10292,7 @@ const XC = /* @__PURE__ */ a(() => {
10299
10292
  );
10300
10293
  }, "useEditRow"), gk = /* @__PURE__ */ a((t) => {
10301
10294
  const { apiRef: e, source: r, enviarTodo: n } = t, o = "B";
10302
- return Ge(
10295
+ return nt(
10303
10296
  (i, s) => {
10304
10297
  const l = e.current.getRowModels().get(i);
10305
10298
  e.current.updateRows([{ id: i, _action: "delete" }]);
@@ -10992,15 +10985,15 @@ const yk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
10992
10985
  const C = m.current;
10993
10986
  C.style.width = k.width, C.value = x.value || e.placeholder || "x", C.value.slice(-1) === `
10994
10987
  ` && (C.value += " ");
10995
- const S = k.boxSizing, w = dc(k.paddingBottom) + dc(k.paddingTop), M = dc(k.borderBottomWidth) + dc(k.borderTopWidth), R = C.scrollHeight;
10988
+ const S = k.boxSizing, w = dc(k.paddingBottom) + dc(k.paddingTop), M = dc(k.borderBottomWidth) + dc(k.borderTopWidth), F = C.scrollHeight;
10996
10989
  C.value = "x";
10997
10990
  const P = C.scrollHeight;
10998
- let I = R;
10991
+ let I = F;
10999
10992
  i && (I = Math.max(Number(i) * P, I)), o && (I = Math.min(Number(o) * P, I)), I = Math.max(I, P);
11000
- const A = I + (S === "border-box" ? w + M : 0), F = Math.abs(I - R) <= 1;
10993
+ const R = I + (S === "border-box" ? w + M : 0), A = Math.abs(I - F) <= 1;
11001
10994
  return {
11002
- outerHeightStyle: A,
11003
- overflowing: F
10995
+ outerHeightStyle: R,
10996
+ overflowing: A
11004
10997
  };
11005
10998
  }, [o, i, e.placeholder]), b = O.useCallback(() => {
11006
10999
  const x = g();
@@ -11315,11 +11308,11 @@ const $a = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
11315
11308
  minRows: S,
11316
11309
  multiline: w = !1,
11317
11310
  name: M,
11318
- onBlur: R,
11311
+ onBlur: F,
11319
11312
  onChange: P,
11320
11313
  onClick: I,
11321
- onFocus: A,
11322
- onKeyDown: F,
11314
+ onFocus: R,
11315
+ onKeyDown: A,
11323
11316
  onKeyUp: $,
11324
11317
  placeholder: L,
11325
11318
  readOnly: j,
@@ -11346,8 +11339,8 @@ const $a = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
11346
11339
  states: ["color", "disabled", "error", "hiddenLabel", "size", "required", "filled"]
11347
11340
  });
11348
11341
  _.focused = ie ? ie.focused : oe, O.useEffect(() => {
11349
- !ie && h && oe && (se(!1), R && R());
11350
- }, [ie, h, oe, R]);
11342
+ !ie && h && oe && (se(!1), F && F());
11343
+ }, [ie, h, oe, F]);
11351
11344
  const pe = ie && ie.onFilled, Y = ie && ie.onEmpty, be = O.useCallback((Ae) => {
11352
11345
  au(Ae) ? pe && pe() : Y && Y();
11353
11346
  }, [pe, Y]);
@@ -11361,9 +11354,9 @@ const $a = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
11361
11354
  Ae.stopPropagation();
11362
11355
  return;
11363
11356
  }
11364
- A && A(Ae), T.onFocus && T.onFocus(Ae), ie && ie.onFocus ? ie.onFocus(Ae) : se(!0);
11357
+ R && R(Ae), T.onFocus && T.onFocus(Ae), ie && ie.onFocus ? ie.onFocus(Ae) : se(!0);
11365
11358
  }, "handleFocus"), He = /* @__PURE__ */ a((Ae) => {
11366
- R && R(Ae), T.onBlur && T.onBlur(Ae), ie && ie.onBlur ? ie.onBlur(Ae) : se(!1);
11359
+ F && F(Ae), T.onBlur && T.onBlur(Ae), ie && ie.onBlur ? ie.onBlur(Ae) : se(!1);
11367
11360
  }, "handleBlur"), me = /* @__PURE__ */ a((Ae, ...ye) => {
11368
11361
  if (!J) {
11369
11362
  const de = Ae.target || G.current;
@@ -11412,15 +11405,15 @@ const $a = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
11412
11405
  size: _.size,
11413
11406
  startAdornment: D,
11414
11407
  type: H
11415
- }), ze = Z_(at), st = K.root || d.Root || Op, Ke = N.root || p.root || {}, xt = K.input || d.Input || Sp;
11408
+ }), ze = Z_(at), st = K.root || d.Root || Op, Ge = N.root || p.root || {}, xt = K.input || d.Input || Sp;
11416
11409
  return $e = E({}, $e, (n = N.input) != null ? n : p.input), /* @__PURE__ */ W(O.Fragment, {
11417
- children: [!m && e2, /* @__PURE__ */ W(st, E({}, Ke, !Aa(st) && {
11418
- ownerState: E({}, at, Ke.ownerState)
11410
+ children: [!m && e2, /* @__PURE__ */ W(st, E({}, Ge, !Aa(st) && {
11411
+ ownerState: E({}, at, Ge.ownerState)
11419
11412
  }, {
11420
11413
  ref: r,
11421
11414
  onClick: ct
11422
11415
  }, z, {
11423
- className: re(ze.root, Ke.className, u, j && "MuiInputBase-readOnly"),
11416
+ className: re(ze.root, Ge.className, u, j && "MuiInputBase-readOnly"),
11424
11417
  children: [D, /* @__PURE__ */ y(yp.Provider, {
11425
11418
  value: null,
11426
11419
  children: /* @__PURE__ */ y(xt, E({
@@ -11439,7 +11432,7 @@ const $a = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
11439
11432
  required: _.required,
11440
11433
  rows: V,
11441
11434
  value: U,
11442
- onKeyDown: F,
11435
+ onKeyDown: A,
11443
11436
  onKeyUp: $,
11444
11437
  type: H
11445
11438
  }, $e, !Aa(xt) && {
@@ -11824,13 +11817,13 @@ const Pr = E({}, $a, Oe("MuiOutlinedInput", ["root", "notchedOutline", "input"])
11824
11817
  root: w,
11825
11818
  input: M
11826
11819
  },
11827
- renderSuffix: /* @__PURE__ */ a((R) => /* @__PURE__ */ y(i2, {
11820
+ renderSuffix: /* @__PURE__ */ a((F) => /* @__PURE__ */ y(i2, {
11828
11821
  ownerState: S,
11829
11822
  className: T.notchedOutline,
11830
11823
  label: h != null && h !== "" && C.required ? l || (l = /* @__PURE__ */ W(O.Fragment, {
11831
11824
  children: [h, " ", "*"]
11832
11825
  })) : h,
11833
- notched: typeof g < "u" ? g : !!(R.startAdornment || R.filled || R.focused)
11826
+ notched: typeof g < "u" ? g : !!(F.startAdornment || F.filled || F.focused)
11834
11827
  }), "renderSuffix"),
11835
11828
  fullWidth: p,
11836
11829
  inputComponent: f,
@@ -12194,7 +12187,7 @@ const Oh = 550, l2 = 80, c2 = es(Cx || (Cx = kp`
12194
12187
  pulsate: S,
12195
12188
  rippleX: w,
12196
12189
  rippleY: M,
12197
- rippleSize: R,
12190
+ rippleSize: F,
12198
12191
  cb: P
12199
12192
  } = C;
12200
12193
  d((I) => [...I, /* @__PURE__ */ y(f2, {
@@ -12210,13 +12203,13 @@ const Oh = 550, l2 = 80, c2 = es(Cx || (Cx = kp`
12210
12203
  pulsate: S,
12211
12204
  rippleX: w,
12212
12205
  rippleY: M,
12213
- rippleSize: R
12206
+ rippleSize: F
12214
12207
  }, p.current)]), p.current += 1, f.current = P;
12215
12208
  }, [i]), x = O.useCallback((C = {}, S = {}, w = () => {
12216
12209
  }) => {
12217
12210
  const {
12218
12211
  pulsate: M = !1,
12219
- center: R = o || S.pulsate,
12212
+ center: F = o || S.pulsate,
12220
12213
  fakeElement: P = !1
12221
12214
  // For test purposes
12222
12215
  } = S;
@@ -12225,32 +12218,32 @@ const Oh = 550, l2 = 80, c2 = es(Cx || (Cx = kp`
12225
12218
  return;
12226
12219
  }
12227
12220
  (C == null ? void 0 : C.type) === "touchstart" && (h.current = !0);
12228
- const I = P ? null : b.current, A = I ? I.getBoundingClientRect() : {
12221
+ const I = P ? null : b.current, R = I ? I.getBoundingClientRect() : {
12229
12222
  width: 0,
12230
12223
  height: 0,
12231
12224
  left: 0,
12232
12225
  top: 0
12233
12226
  };
12234
- let F, $, L;
12235
- if (R || C === void 0 || C.clientX === 0 && C.clientY === 0 || !C.clientX && !C.touches)
12236
- F = Math.round(A.width / 2), $ = Math.round(A.height / 2);
12227
+ let A, $, L;
12228
+ if (F || C === void 0 || C.clientX === 0 && C.clientY === 0 || !C.clientX && !C.touches)
12229
+ A = Math.round(R.width / 2), $ = Math.round(R.height / 2);
12237
12230
  else {
12238
12231
  const {
12239
12232
  clientX: j,
12240
12233
  clientY: B
12241
12234
  } = C.touches && C.touches.length > 0 ? C.touches[0] : C;
12242
- F = Math.round(j - A.left), $ = Math.round(B - A.top);
12235
+ A = Math.round(j - R.left), $ = Math.round(B - R.top);
12243
12236
  }
12244
- if (R)
12245
- L = Math.sqrt((2 * A.width ** 2 + A.height ** 2) / 3), L % 2 === 0 && (L += 1);
12237
+ if (F)
12238
+ L = Math.sqrt((2 * R.width ** 2 + R.height ** 2) / 3), L % 2 === 0 && (L += 1);
12246
12239
  else {
12247
- const j = Math.max(Math.abs((I ? I.clientWidth : 0) - F), F) * 2 + 2, B = Math.max(Math.abs((I ? I.clientHeight : 0) - $), $) * 2 + 2;
12240
+ const j = Math.max(Math.abs((I ? I.clientWidth : 0) - A), A) * 2 + 2, B = Math.max(Math.abs((I ? I.clientHeight : 0) - $), $) * 2 + 2;
12248
12241
  L = Math.sqrt(j ** 2 + B ** 2);
12249
12242
  }
12250
12243
  C != null && C.touches ? g.current === null && (g.current = () => {
12251
12244
  v({
12252
12245
  pulsate: M,
12253
- rippleX: F,
12246
+ rippleX: A,
12254
12247
  rippleY: $,
12255
12248
  rippleSize: L,
12256
12249
  cb: w
@@ -12259,7 +12252,7 @@ const Oh = 550, l2 = 80, c2 = es(Cx || (Cx = kp`
12259
12252
  g.current && (g.current(), g.current = null);
12260
12253
  })) : v({
12261
12254
  pulsate: M,
12262
- rippleX: F,
12255
+ rippleX: A,
12263
12256
  rippleY: $,
12264
12257
  rippleSize: L,
12265
12258
  cb: w
@@ -12389,11 +12382,11 @@ const m2 = Oe("MuiButtonBase", ["root", "disabled", "focusVisible"]), g2 = ["act
12389
12382
  onKeyUp: S,
12390
12383
  onMouseDown: w,
12391
12384
  onMouseLeave: M,
12392
- onMouseUp: R,
12385
+ onMouseUp: F,
12393
12386
  onTouchEnd: P,
12394
12387
  onTouchMove: I,
12395
- onTouchStart: A,
12396
- tabIndex: F = 0,
12388
+ onTouchStart: R,
12389
+ tabIndex: A = 0,
12397
12390
  TouchRippleProps: $,
12398
12391
  touchRippleRef: L,
12399
12392
  type: j
@@ -12420,9 +12413,9 @@ const m2 = Oe("MuiButtonBase", ["root", "disabled", "focusVisible"]), g2 = ["act
12420
12413
  return gr((ft) => (de && de(ft), !it && N.current && N.current[ye](ft), !0));
12421
12414
  }
12422
12415
  a(oe, "useRippleHandler");
12423
- const se = oe("start", w), ie = oe("stop", v), _ = oe("stop", x), pe = oe("stop", R), Y = oe("stop", (ye) => {
12416
+ const se = oe("start", w), ie = oe("stop", v), _ = oe("stop", x), pe = oe("stop", F), Y = oe("stop", (ye) => {
12424
12417
  U && ye.preventDefault(), M && M(ye);
12425
- }), be = oe("start", A), Ie = oe("stop", P), He = oe("stop", I), me = oe("stop", (ye) => {
12418
+ }), be = oe("start", R), Ie = oe("stop", P), He = oe("stop", I), me = oe("stop", (ye) => {
12426
12419
  ee(ye), D.current === !1 && J(!1), g && g(ye);
12427
12420
  }, !1), ct = gr((ye) => {
12428
12421
  V.current || (V.current = ye.currentTarget), H(ye), D.current === !0 && (J(!0), k && k(ye)), T && T(ye);
@@ -12442,7 +12435,7 @@ const m2 = Oe("MuiButtonBase", ["root", "disabled", "focusVisible"]), g2 = ["act
12442
12435
  ze === "button" && (B.href || B.to) && (ze = m);
12443
12436
  const st = {};
12444
12437
  ze === "button" ? (st.type = j === void 0 ? "button" : j, st.disabled = d) : (!B.href && !B.to && (st.role = "button"), d && (st["aria-disabled"] = d));
12445
- const Ke = wt(r, z, V);
12438
+ const Ge = wt(r, z, V);
12446
12439
  process.env.NODE_ENV !== "production" && O.useEffect(() => {
12447
12440
  Q && !N.current && console.error(["MUI: The `component` prop provided to ButtonBase is invalid.", "Please make sure the children prop is rendered in this custom component."].join(`
12448
12441
  `));
@@ -12454,7 +12447,7 @@ const m2 = Oe("MuiButtonBase", ["root", "disabled", "focusVisible"]), g2 = ["act
12454
12447
  disableRipple: p,
12455
12448
  disableTouchRipple: f,
12456
12449
  focusRipple: h,
12457
- tabIndex: F,
12450
+ tabIndex: A,
12458
12451
  focusVisible: U
12459
12452
  }), Ae = b2(xt);
12460
12453
  return /* @__PURE__ */ W(y2, E({
@@ -12474,8 +12467,8 @@ const m2 = Oe("MuiButtonBase", ["root", "disabled", "focusVisible"]), g2 = ["act
12474
12467
  onTouchEnd: Ie,
12475
12468
  onTouchMove: He,
12476
12469
  onTouchStart: be,
12477
- ref: Ke,
12478
- tabIndex: d ? -1 : F,
12470
+ ref: Ge,
12471
+ tabIndex: d ? -1 : A,
12479
12472
  type: j
12480
12473
  }, st, B, {
12481
12474
  children: [s, Q ? (
@@ -13355,38 +13348,38 @@ const H2 = ["className"], W2 = ["alignItems", "autoFocus", "button", "children",
13355
13348
  selected: S = !1,
13356
13349
  slotProps: w = {},
13357
13350
  slots: M = {}
13358
- } = n, R = ne(n.ContainerProps, H2), P = ne(n, W2), I = O.useContext(Dr), A = O.useMemo(() => ({
13351
+ } = n, F = ne(n.ContainerProps, H2), P = ne(n, W2), I = O.useContext(Dr), R = O.useMemo(() => ({
13359
13352
  dense: g || I.dense || !1,
13360
13353
  alignItems: o,
13361
13354
  disableGutters: v
13362
- }), [o, I.dense, g, v]), F = O.useRef(null);
13355
+ }), [o, I.dense, g, v]), A = O.useRef(null);
13363
13356
  kn(() => {
13364
- i && (F.current ? F.current.focus() : process.env.NODE_ENV !== "production" && console.error("MUI: Unable to set focus to a ListItem whose component has not been rendered."));
13357
+ i && (A.current ? A.current.focus() : process.env.NODE_ENV !== "production" && console.error("MUI: Unable to set focus to a ListItem whose component has not been rendered."));
13365
13358
  }, [i]);
13366
13359
  const $ = O.Children.toArray(l), L = $.length && ga($[$.length - 1], ["ListItemSecondaryAction"]), j = E({}, n, {
13367
13360
  alignItems: o,
13368
13361
  autoFocus: i,
13369
13362
  button: s,
13370
- dense: A.dense,
13363
+ dense: R.dense,
13371
13364
  disabled: b,
13372
13365
  disableGutters: v,
13373
13366
  disablePadding: x,
13374
13367
  divider: T,
13375
13368
  hasSecondaryAction: L,
13376
13369
  selected: S
13377
- }), B = q2(j), V = wt(F, r), N = M.root || p.Root || G2, K = w.root || f.root || {}, D = E({
13370
+ }), B = q2(j), V = wt(A, r), N = M.root || p.Root || G2, K = w.root || f.root || {}, D = E({
13378
13371
  className: re(B.root, K.className, u),
13379
13372
  disabled: b
13380
13373
  }, P);
13381
13374
  let H = d || "li";
13382
13375
  return s && (D.component = d || "div", D.focusVisibleClassName = re(Xi.focusVisible, k), H = qn), L ? (H = !D.component && !d ? "div" : H, h === "li" && (H === "li" ? H = "div" : D.component === "li" && (D.component = "div")), /* @__PURE__ */ y(Dr.Provider, {
13383
- value: A,
13376
+ value: R,
13384
13377
  children: /* @__PURE__ */ W(K2, E({
13385
13378
  as: h,
13386
13379
  className: re(B.container, m),
13387
13380
  ref: V,
13388
13381
  ownerState: j
13389
- }, R, {
13382
+ }, F, {
13390
13383
  children: [/* @__PURE__ */ y(N, E({}, K, !Aa(N) && {
13391
13384
  as: H,
13392
13385
  ownerState: E({}, j, K.ownerState)
@@ -13395,7 +13388,7 @@ const H2 = ["className"], W2 = ["alignItems", "autoFocus", "button", "children",
13395
13388
  })), $.pop()]
13396
13389
  }))
13397
13390
  })) : /* @__PURE__ */ y(Dr.Provider, {
13398
- value: A,
13391
+ value: R,
13399
13392
  children: /* @__PURE__ */ W(N, E({}, K, {
13400
13393
  as: H,
13401
13394
  ref: V
@@ -13868,11 +13861,11 @@ const ob = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
13868
13861
  timeout: C = i,
13869
13862
  // eslint-disable-next-line react/prop-types
13870
13863
  TransitionComponent: S = en
13871
- } = e, w = ne(e, nB), M = O.useRef(null), R = wt(u.ref, M, r), P = /* @__PURE__ */ a((N) => (K) => {
13864
+ } = e, w = ne(e, nB), M = O.useRef(null), F = wt(u.ref, M, r), P = /* @__PURE__ */ a((N) => (K) => {
13872
13865
  N && (K === void 0 ? N(M.current) : N(M.current, K));
13873
13866
  }, "normalizedTransitionCallback"), I = P((N, K) => {
13874
13867
  pc(p, N, d), _g(N), m && m(N, K);
13875
- }), A = P((N, K) => {
13868
+ }), R = P((N, K) => {
13876
13869
  const D = ki({
13877
13870
  timeout: C,
13878
13871
  style: k,
@@ -13881,7 +13874,7 @@ const ob = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
13881
13874
  mode: "enter"
13882
13875
  });
13883
13876
  N.style.webkitTransition = n.transitions.create("-webkit-transform", E({}, D)), N.style.transition = n.transitions.create("transform", E({}, D)), N.style.webkitTransform = "none", N.style.transform = "none", b && b(N, K);
13884
- }), F = P(g), $ = P(T), L = P((N) => {
13877
+ }), A = P(g), $ = P(T), L = P((N) => {
13885
13878
  const K = ki({
13886
13879
  timeout: C,
13887
13880
  style: k,
@@ -13911,8 +13904,8 @@ const ob = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
13911
13904
  }, [h, V]), /* @__PURE__ */ y(S, E({
13912
13905
  nodeRef: M,
13913
13906
  onEnter: I,
13914
- onEntered: F,
13915
- onEntering: A,
13907
+ onEntered: A,
13908
+ onEntering: R,
13916
13909
  onExit: L,
13917
13910
  onExited: j,
13918
13911
  onExiting: $,
@@ -13922,7 +13915,7 @@ const ob = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
13922
13915
  timeout: C
13923
13916
  }, w, {
13924
13917
  children: /* @__PURE__ */ a((N, K) => /* @__PURE__ */ O.cloneElement(u, E({
13925
- ref: R,
13918
+ ref: F,
13926
13919
  style: E({
13927
13920
  visibility: N === "exited" && !h ? "hidden" : void 0
13928
13921
  }, k, u.props.style)
@@ -14167,39 +14160,39 @@ const Pk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
14167
14160
  O.useEffect(() => {
14168
14161
  M.current = !0;
14169
14162
  }, []);
14170
- const R = Rs({
14163
+ const F = Rs({
14171
14164
  direction: i ? "rtl" : "ltr"
14172
14165
  }, l), I = E({}, n, {
14173
14166
  anchor: l,
14174
14167
  elevation: f,
14175
14168
  open: b,
14176
14169
  variant: C
14177
- }, w), A = lB(I), F = /* @__PURE__ */ y(uB, E({
14170
+ }, w), R = lB(I), A = /* @__PURE__ */ y(uB, E({
14178
14171
  elevation: C === "temporary" ? f : 0,
14179
14172
  square: !0
14180
14173
  }, v, {
14181
- className: re(A.paper, v.className),
14174
+ className: re(R.paper, v.className),
14182
14175
  ownerState: I,
14183
14176
  children: d
14184
14177
  }));
14185
14178
  if (C === "permanent")
14186
14179
  return /* @__PURE__ */ y(Mx, E({
14187
- className: re(A.root, A.docked, p),
14180
+ className: re(R.root, R.docked, p),
14188
14181
  ownerState: I,
14189
14182
  ref: r
14190
14183
  }, w, {
14191
- children: F
14184
+ children: A
14192
14185
  }));
14193
14186
  const $ = /* @__PURE__ */ y(T, E({
14194
14187
  in: b,
14195
- direction: Mk[R],
14188
+ direction: Mk[F],
14196
14189
  timeout: k,
14197
14190
  appear: M.current
14198
14191
  }, x, {
14199
- children: F
14192
+ children: A
14200
14193
  }));
14201
14194
  return C === "persistent" ? /* @__PURE__ */ y(Mx, E({
14202
- className: re(A.root, A.docked, p),
14195
+ className: re(R.root, R.docked, p),
14203
14196
  ownerState: I,
14204
14197
  ref: r
14205
14198
  }, w, {
@@ -14208,7 +14201,7 @@ const Pk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
14208
14201
  BackdropProps: E({}, u, m, {
14209
14202
  transitionDuration: k
14210
14203
  }),
14211
- className: re(A.root, A.modal, p),
14204
+ className: re(R.root, R.modal, p),
14212
14205
  open: b,
14213
14206
  ownerState: I,
14214
14207
  onClose: g,
@@ -14452,9 +14445,9 @@ const bB = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
14452
14445
  transitionDuration: S = i,
14453
14446
  variant: w = "temporary"
14454
14447
  // Mobile first.
14455
- } = n, M = ne(n.ModalProps, fB), R = ne(n, hB), [P, I] = O.useState(!1), A = O.useRef({
14448
+ } = n, M = ne(n.ModalProps, fB), F = ne(n, hB), [P, I] = O.useState(!1), R = O.useRef({
14456
14449
  isSwiping: null
14457
- }), F = O.useRef(), $ = O.useRef(), L = O.useRef(), j = wt(T.ref, L), B = O.useRef(!1), V = O.useRef();
14450
+ }), A = O.useRef(), $ = O.useRef(), L = O.useRef(), j = wt(T.ref, L), B = O.useRef(!1), V = O.useRef();
14458
14451
  kn(() => {
14459
14452
  V.current = null;
14460
14453
  }, [x]);
@@ -14480,22 +14473,22 @@ const bB = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
14480
14473
  return;
14481
14474
  if (Pn = null, B.current = !1, ah.flushSync(() => {
14482
14475
  I(!1);
14483
- }), !A.current.isSwiping) {
14484
- A.current.isSwiping = null;
14476
+ }), !R.current.isSwiping) {
14477
+ R.current.isSwiping = null;
14485
14478
  return;
14486
14479
  }
14487
- A.current.isSwiping = null;
14480
+ R.current.isSwiping = null;
14488
14481
  const U = Rs(o, s), J = Vo(s);
14489
14482
  let G;
14490
14483
  J ? G = hf(U, z.changedTouches, $r(z.currentTarget)) : G = mf(U, z.changedTouches, Jr(z.currentTarget));
14491
- const te = J ? A.current.startX : A.current.startY, Q = ys(J, L.current), oe = Px(G, te, x, Q), se = oe / Q;
14492
- if (Math.abs(A.current.velocity) > m && (V.current = Math.abs((Q - oe) / A.current.velocity) * 1e3), x) {
14493
- A.current.velocity > m || se > f ? b() : N(0, {
14484
+ const te = J ? R.current.startX : R.current.startY, Q = ys(J, L.current), oe = Px(G, te, x, Q), se = oe / Q;
14485
+ if (Math.abs(R.current.velocity) > m && (V.current = Math.abs((Q - oe) / R.current.velocity) * 1e3), x) {
14486
+ R.current.velocity > m || se > f ? b() : N(0, {
14494
14487
  mode: "exit"
14495
14488
  });
14496
14489
  return;
14497
14490
  }
14498
- A.current.velocity < -m || 1 - se > f ? v() : N(ys(J, L.current), {
14491
+ R.current.velocity < -m || 1 - se > f ? v() : N(ys(J, L.current), {
14499
14492
  mode: "enter"
14500
14493
  });
14501
14494
  }), D = /* @__PURE__ */ a((z = !1) => {
@@ -14506,10 +14499,10 @@ const bB = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
14506
14499
  const U = Vo(s);
14507
14500
  !x && L.current && N(ys(U, L.current) + (u ? 15 : -ff), {
14508
14501
  changeTransition: !1
14509
- }), A.current.velocity = 0, A.current.lastTime = null, A.current.lastTranslate = null, A.current.paperHit = !1, B.current = !0;
14502
+ }), R.current.velocity = 0, R.current.lastTime = null, R.current.lastTranslate = null, R.current.paperHit = !1, B.current = !0;
14510
14503
  }
14511
14504
  }, "startMaybeSwiping"), H = gr((z) => {
14512
- if (!L.current || !B.current || Pn !== null && Pn !== A.current)
14505
+ if (!L.current || !B.current || Pn !== null && Pn !== R.current)
14513
14506
  return;
14514
14507
  D(!0);
14515
14508
  const U = Rs(o, s), J = Vo(s), G = hf(U, z.touches, $r(z.currentTarget)), te = mf(U, z.touches, Jr(z.currentTarget));
@@ -14517,48 +14510,48 @@ const bB = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
14517
14510
  const _ = mB(z.target, L.current);
14518
14511
  if (gB({
14519
14512
  domTreeShapes: _,
14520
- start: J ? A.current.startX : A.current.startY,
14513
+ start: J ? R.current.startX : R.current.startY,
14521
14514
  current: J ? G : te,
14522
14515
  anchor: s
14523
14516
  })) {
14524
14517
  Pn = !0;
14525
14518
  return;
14526
14519
  }
14527
- Pn = A.current;
14520
+ Pn = R.current;
14528
14521
  }
14529
- if (A.current.isSwiping == null) {
14530
- const _ = Math.abs(G - A.current.startX), pe = Math.abs(te - A.current.startY), Y = J ? _ > pe && _ > fc : pe > _ && pe > fc;
14522
+ if (R.current.isSwiping == null) {
14523
+ const _ = Math.abs(G - R.current.startX), pe = Math.abs(te - R.current.startY), Y = J ? _ > pe && _ > fc : pe > _ && pe > fc;
14531
14524
  if (Y && z.cancelable && z.preventDefault(), Y === !0 || (J ? pe > fc : _ > fc)) {
14532
- if (A.current.isSwiping = Y, !Y) {
14525
+ if (R.current.isSwiping = Y, !Y) {
14533
14526
  K(z);
14534
14527
  return;
14535
14528
  }
14536
- A.current.startX = G, A.current.startY = te, !u && !x && (J ? A.current.startX -= ff : A.current.startY -= ff);
14529
+ R.current.startX = G, R.current.startY = te, !u && !x && (J ? R.current.startX -= ff : R.current.startY -= ff);
14537
14530
  }
14538
14531
  }
14539
- if (!A.current.isSwiping)
14532
+ if (!R.current.isSwiping)
14540
14533
  return;
14541
14534
  const Q = ys(J, L.current);
14542
- let oe = J ? A.current.startX : A.current.startY;
14543
- x && !A.current.paperHit && (oe = Math.min(oe, Q));
14535
+ let oe = J ? R.current.startX : R.current.startY;
14536
+ x && !R.current.paperHit && (oe = Math.min(oe, Q));
14544
14537
  const se = Px(J ? G : te, oe, x, Q);
14545
14538
  if (x)
14546
- if (A.current.paperHit)
14547
- se === 0 && (A.current.startX = G, A.current.startY = te);
14539
+ if (R.current.paperHit)
14540
+ se === 0 && (R.current.startX = G, R.current.startY = te);
14548
14541
  else if (J ? G < Q : te < Q)
14549
- A.current.paperHit = !0, A.current.startX = G, A.current.startY = te;
14542
+ R.current.paperHit = !0, R.current.startX = G, R.current.startY = te;
14550
14543
  else
14551
14544
  return;
14552
- A.current.lastTranslate === null && (A.current.lastTranslate = se, A.current.lastTime = performance.now() + 1);
14553
- const ie = (se - A.current.lastTranslate) / (performance.now() - A.current.lastTime) * 1e3;
14554
- A.current.velocity = A.current.velocity * 0.4 + ie * 0.6, A.current.lastTranslate = se, A.current.lastTime = performance.now(), z.cancelable && z.preventDefault(), N(se);
14545
+ R.current.lastTranslate === null && (R.current.lastTranslate = se, R.current.lastTime = performance.now() + 1);
14546
+ const ie = (se - R.current.lastTranslate) / (performance.now() - R.current.lastTime) * 1e3;
14547
+ R.current.velocity = R.current.velocity * 0.4 + ie * 0.6, R.current.lastTranslate = se, R.current.lastTime = performance.now(), z.cancelable && z.preventDefault(), N(se);
14555
14548
  }), ee = gr((z) => {
14556
14549
  if (z.defaultPrevented || z.defaultMuiPrevented || x && (p || !$.current.contains(z.target)) && !L.current.contains(z.target))
14557
14550
  return;
14558
14551
  const U = Rs(o, s), J = Vo(s), G = hf(U, z.touches, $r(z.currentTarget)), te = mf(U, z.touches, Jr(z.currentTarget));
14559
14552
  if (!x) {
14560
14553
  var Q;
14561
- if (d || !(z.target === F.current || (Q = L.current) != null && Q.contains(z.target) && (typeof h == "function" ? h(z, F.current, L.current) : h)))
14554
+ if (d || !(z.target === A.current || (Q = L.current) != null && Q.contains(z.target) && (typeof h == "function" ? h(z, A.current, L.current) : h)))
14562
14555
  return;
14563
14556
  if (J) {
14564
14557
  if (G > C)
@@ -14566,7 +14559,7 @@ const bB = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
14566
14559
  } else if (te > C)
14567
14560
  return;
14568
14561
  }
14569
- z.defaultMuiPrevented = !0, Pn = null, A.current.startX = G, A.current.startY = te, D();
14562
+ z.defaultMuiPrevented = !0, Pn = null, R.current.startX = G, R.current.startY = te, D();
14570
14563
  });
14571
14564
  return O.useEffect(() => {
14572
14565
  if (w === "temporary") {
@@ -14580,7 +14573,7 @@ const bB = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
14580
14573
  };
14581
14574
  }
14582
14575
  }, [w, x, ee, H, K]), O.useEffect(() => () => {
14583
- Pn === A.current && (Pn = null);
14576
+ Pn === R.current && (Pn = null);
14584
14577
  }, []), O.useEffect(() => {
14585
14578
  x || I(!1);
14586
14579
  }, [x]), /* @__PURE__ */ W(O.Fragment, {
@@ -14605,10 +14598,10 @@ const bB = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
14605
14598
  transitionDuration: V.current || S,
14606
14599
  onClose: b,
14607
14600
  ref: r
14608
- }, R)), !d && w === "temporary" && /* @__PURE__ */ y(lu, {
14601
+ }, F)), !d && w === "temporary" && /* @__PURE__ */ y(lu, {
14609
14602
  children: /* @__PURE__ */ y(Rk, E({
14610
14603
  anchor: s,
14611
- ref: F,
14604
+ ref: A,
14612
14605
  width: C
14613
14606
  }, k))
14614
14607
  })]
@@ -15148,11 +15141,11 @@ const Yn = Oe("MuiBadge", [
15148
15141
  slots: S,
15149
15142
  slotProps: w,
15150
15143
  showZero: M = !1,
15151
- variant: R = "standard"
15144
+ variant: F = "standard"
15152
15145
  } = d, P = ne(d, TB), {
15153
15146
  badgeContent: I,
15154
- invisible: A,
15155
- max: F,
15147
+ invisible: R,
15148
+ max: A,
15156
15149
  displayValue: $
15157
15150
  } = kB({
15158
15151
  max: k,
@@ -15163,17 +15156,17 @@ const Yn = Oe("MuiBadge", [
15163
15156
  anchorOrigin: p,
15164
15157
  color: x,
15165
15158
  overlap: v,
15166
- variant: R,
15159
+ variant: F,
15167
15160
  badgeContent: C
15168
- }), j = A || I == null && R !== "dot", {
15161
+ }), j = R || I == null && F !== "dot", {
15169
15162
  color: B = x,
15170
15163
  overlap: V = v,
15171
15164
  anchorOrigin: N = p,
15172
- variant: K = R
15165
+ variant: K = F
15173
15166
  } = j ? L : d, D = K !== "dot" ? $ : void 0, H = E({}, d, {
15174
15167
  badgeContent: I,
15175
15168
  invisible: j,
15176
- max: F,
15169
+ max: A,
15177
15170
  displayValue: D,
15178
15171
  showZero: M,
15179
15172
  anchorOrigin: N,
@@ -22855,8 +22848,8 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
22855
22848
  TransitionComponent: tz,
22856
22849
  ...T,
22857
22850
  children: p === "form" ? (/* @__PURE__ */ a(() => {
22858
- var R, P, I;
22859
- const w = O.isValidElement(l) && ((R = l.type.name) == null ? void 0 : R.startsWith("Form")) && (((P = l.type.name) == null ? void 0 : P.endsWith("Create")) || ((I = l.type.name) == null ? void 0 : I.endsWith("Edit")));
22851
+ var F, P, I;
22852
+ const w = O.isValidElement(l) && ((F = l.type.name) == null ? void 0 : F.startsWith("Form")) && (((P = l.type.name) == null ? void 0 : P.endsWith("Create")) || ((I = l.type.name) == null ? void 0 : I.endsWith("Edit")));
22860
22853
  return /* @__PURE__ */ W(vn, { children: [
22861
22854
  /* @__PURE__ */ y(tS, { id: "draggable-dialog-title", children: s }),
22862
22855
  /* @__PURE__ */ W(w ? lt : Bl, { resource: r, onSubmit: u, children: [
@@ -22864,16 +22857,16 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
22864
22857
  /* @__PURE__ */ W(XM, { children: [
22865
22858
  f.map(
22866
22859
  ({
22867
- label: A = "",
22868
- icon: F = /* @__PURE__ */ y(kh, {}),
22860
+ label: R = "",
22861
+ icon: A = /* @__PURE__ */ y(kh, {}),
22869
22862
  handler: $
22870
22863
  }, L) => /* @__PURE__ */ y(
22871
22864
  mr,
22872
22865
  {
22873
- label: A,
22866
+ label: R,
22874
22867
  disabled: e,
22875
22868
  onClick: $,
22876
- children: F
22869
+ children: A
22877
22870
  },
22878
22871
  `extra_${L}`
22879
22872
  )
@@ -22913,13 +22906,13 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
22913
22906
  ({
22914
22907
  label: w = "",
22915
22908
  icon: M = /* @__PURE__ */ y(kh, {}),
22916
- handler: R
22909
+ handler: F
22917
22910
  }, P) => /* @__PURE__ */ y(
22918
22911
  mr,
22919
22912
  {
22920
22913
  label: w,
22921
22914
  disabled: e,
22922
- onClick: R,
22915
+ onClick: F,
22923
22916
  children: M
22924
22917
  },
22925
22918
  `extra_${P}`
@@ -23121,10 +23114,10 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
23121
23114
  slots: C,
23122
23115
  slotProps: S,
23123
23116
  ...w
23124
- } = t, M = Di((de) => de.breakpoints.down("md")), R = mp(t), P = Tt(), I = pt(t), {
23117
+ } = t, M = Di((de) => de.breakpoints.down("md")), F = mp(t), P = Tt(), I = pt(t), {
23125
23118
  props: {
23126
- bulkActionButtons: A = n,
23127
- hasCreate: F,
23119
+ bulkActionButtons: R = n,
23120
+ hasCreate: A,
23128
23121
  hasSeleccionMultiple: $,
23129
23122
  chkSeleccion: L,
23130
23123
  actionsContainerRef: j,
@@ -23215,7 +23208,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
23215
23208
  showInMenu: !0,
23216
23209
  onClick: /* @__PURE__ */ a((Pt) => typeof Te == "function" ? Te(
23217
23210
  {
23218
- ...R,
23211
+ ...F,
23219
23212
  record: de.row
23220
23213
  },
23221
23214
  _e
@@ -23327,9 +23320,9 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
23327
23320
  ] : [];
23328
23321
  }, "getActions")
23329
23322
  }
23330
- ]) : $e, at = Sr(() => ut, []), ze = $ && Nn(A), st = /* @__PURE__ */ a((de) => {
23323
+ ]) : $e, at = Sr(() => ut, []), ze = $ && Nn(R), st = /* @__PURE__ */ a((de) => {
23331
23324
  N || ($ || !x ? D(de) : Q.current.isRowSelected(de[0]) ? D([]) : D(de));
23332
- }, "handleSelectionChange"), Ke = /* @__PURE__ */ a((de) => {
23325
+ }, "handleSelectionChange"), Ge = /* @__PURE__ */ a((de) => {
23333
23326
  var he;
23334
23327
  const Nt = (((he = Q.current.state.rowGrouping) == null ? void 0 : he.model) || [])[0];
23335
23328
  ee(
@@ -23356,7 +23349,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
23356
23349
  } : {} : {};
23357
23350
  return /* @__PURE__ */ W(vn, { children: [
23358
23351
  /* @__PURE__ */ y(_k, { isLoading: N }),
23359
- ze && L ? /* @__PURE__ */ y(kP, { selectedIds: K, children: A }) : null,
23352
+ ze && L ? /* @__PURE__ */ y(kP, { selectedIds: K, children: R }) : null,
23360
23353
  /* @__PURE__ */ y(eP, { theme: _, children: /* @__PURE__ */ y(
23361
23354
  lt,
23362
23355
  {
@@ -23401,20 +23394,20 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
23401
23394
  },
23402
23395
  slotProps: {
23403
23396
  loadingOverlay: {
23404
- mensaje: R.progress.mensaje
23397
+ mensaje: F.progress.mensaje
23405
23398
  },
23406
23399
  ...S
23407
23400
  },
23408
23401
  columns: at,
23409
23402
  rows: V,
23410
23403
  apiRef: Q,
23411
- loading: N || R.progress.open,
23404
+ loading: N || F.progress.open,
23412
23405
  hideFooterSelectedRowCount: !0,
23413
23406
  hideFooter: !0,
23414
23407
  disableMultipleRowSelection: !$ && x,
23415
23408
  checkboxSelection: L,
23416
23409
  filterMode: "server",
23417
- onFilterModelChange: Ke,
23410
+ onFilterModelChange: Ge,
23418
23411
  rowSelectionModel: K,
23419
23412
  onRowSelectionModelChange: st,
23420
23413
  isRowSelectable: /* @__PURE__ */ a((de) => de.row.id, "isRowSelectable"),
@@ -23448,18 +23441,18 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
23448
23441
  overlay: null,
23449
23442
  params: null
23450
23443
  }), k = i ? i.split(",").map(
23451
- (R) => e.find(
23452
- (P) => P.field === R || P.field === R + "_lis"
23444
+ (F) => e.find(
23445
+ (P) => P.field === F || P.field === F + "_lis"
23453
23446
  )
23454
23447
  ).filter(Boolean) : e, C = /* @__PURE__ */ a(() => {
23455
23448
  T({ overlay: null, params: null });
23456
23449
  }, "handleCloseOverlay"), S = O.useMemo(
23457
23450
  () => ({
23458
23451
  field: "listCell",
23459
- renderCell: /* @__PURE__ */ a((R) => /* @__PURE__ */ y(
23452
+ renderCell: /* @__PURE__ */ a((F) => /* @__PURE__ */ y(
23460
23453
  B_,
23461
23454
  {
23462
- ...R
23455
+ ...F
23463
23456
  }
23464
23457
  ), "renderCell")
23465
23458
  }),
@@ -23522,8 +23515,8 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
23522
23515
  },
23523
23516
  getRowHeight: M,
23524
23517
  getEstimatedRowHeight: w,
23525
- onRowClick: /* @__PURE__ */ a((R) => {
23526
- T({ overlay: "actions", params: R });
23518
+ onRowClick: /* @__PURE__ */ a((F) => {
23519
+ T({ overlay: "actions", params: F });
23527
23520
  }, "onRowClick"),
23528
23521
  hideFooterSelectedRowCount: !0,
23529
23522
  ...f
@@ -23667,9 +23660,9 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
23667
23660
  /* @__PURE__ */ y(
23668
23661
  mr,
23669
23662
  {
23670
- onClick: /* @__PURE__ */ a((R) => {
23663
+ onClick: /* @__PURE__ */ a((F) => {
23671
23664
  const P = d ? d(C) : !0;
23672
- f(P === !0 ? P : !1), R.stopPropagation();
23665
+ f(P === !0 ? P : !1), F.stopPropagation();
23673
23666
  }, "onClick"),
23674
23667
  children: /* @__PURE__ */ y(Yl, {})
23675
23668
  }
@@ -23678,20 +23671,20 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
23678
23671
  Vk,
23679
23672
  {
23680
23673
  open: p,
23681
- onClose: /* @__PURE__ */ a((R) => {
23682
- f(!1), R.stopPropagation();
23674
+ onClose: /* @__PURE__ */ a((F) => {
23675
+ f(!1), F.stopPropagation();
23683
23676
  }, "onClose"),
23684
23677
  labelEstado: w,
23685
23678
  label: o,
23686
23679
  resource: h,
23687
- onSubmit: /* @__PURE__ */ a(async (R, P) => {
23680
+ onSubmit: /* @__PURE__ */ a(async (F, P) => {
23688
23681
  const I = await l(
23689
23682
  C,
23690
- R,
23683
+ F,
23691
23684
  v,
23692
23685
  x
23693
23686
  );
23694
- I !== !1 && (b(typeof I == "object" ? I : R, m), f(!1), u(C, R, v, x));
23687
+ I !== !1 && (b(typeof I == "object" ? I : F, m), f(!1), u(C, F, v, x));
23695
23688
  }, "handleSubmit"),
23696
23689
  children: /* @__PURE__ */ y(
23697
23690
  jk,
@@ -23744,7 +23737,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
23744
23737
  labelEstado: S,
23745
23738
  label: o,
23746
23739
  resource: n,
23747
- onSubmit: /* @__PURE__ */ a(async (M, R) => {
23740
+ onSubmit: /* @__PURE__ */ a(async (M, F) => {
23748
23741
  const P = await u(
23749
23742
  C,
23750
23743
  M,
@@ -23829,14 +23822,14 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
23829
23822
  } = t, [v, x] = De([]), T = ur(t), k = dr(), { field: C } = qd({ defaultValue: "", ...t }), S = pb(), {
23830
23823
  isLoading: w,
23831
23824
  fichaProps: { [h]: M } = {},
23832
- propsContenidos: { [h]: R = {} } = {}
23825
+ propsContenidos: { [h]: F = {} } = {}
23833
23826
  } = Ot(), P = ig((me) => {
23834
23827
  const ct = me.configInputs ? me.configInputs.filter((je) => je.id === h) : [];
23835
23828
  return ct[0] ? ct[0] : null;
23836
23829
  }), {
23837
23830
  conts: I = []
23838
23831
  //user = [],
23839
- } = ot(zi), { hidden: A, disabled: F } = I[h] || {
23832
+ } = ot(zi), { hidden: R, disabled: A } = I[h] || {
23840
23833
  hidden: 0,
23841
23834
  disabled: 0
23842
23835
  }, { hidden: $ } = P || {}, {
@@ -23850,7 +23843,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
23850
23843
  allowRemove: H,
23851
23844
  slots: ee,
23852
23845
  validateAllowAdd: z
23853
- } = M || {}, [U, J] = De(n), [{ field: G, sort: te }] = n, Q = F || d || j, oe = $ !== void 0 ? $ : A ? !0 : B !== void 0 ? B : p, se = D ?? s, ie = H ?? l;
23846
+ } = M || {}, [U, J] = De(n), [{ field: G, sort: te }] = n, Q = A || d || j, oe = $ !== void 0 ? $ : R ? !0 : B !== void 0 ? B : p, se = D ?? s, ie = H ?? l;
23854
23847
  let _ = { ...g };
23855
23848
  T && e.split(",").forEach((me) => {
23856
23849
  me && (_[me] = [
@@ -24010,7 +24003,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
24010
24003
  },
24011
24004
  ...b,
24012
24005
  ...be,
24013
- ...R
24006
+ ...F
24014
24007
  }
24015
24008
  )
24016
24009
  }
@@ -24044,7 +24037,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
24044
24037
  ]);
24045
24038
  });
24046
24039
  const { estado: v, isLoading: x, fichaProps: T = {} } = Ot(), k = pb(), C = wn(t), { [t.source]: S = {} } = T, { useContenido: w = tc, ...M } = S, {
24047
- data: R = [],
24040
+ data: F = [],
24048
24041
  isFetching: P,
24049
24042
  refetch: I
24050
24043
  } = pS(
@@ -24055,8 +24048,8 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
24055
24048
  filter: b
24056
24049
  },
24057
24050
  { enabled: i && !u }
24058
- ), A = ng(), F = wS({
24059
- apiRef: A,
24051
+ ), R = ng(), A = wS({
24052
+ apiRef: R,
24060
24053
  initialState: s
24061
24054
  });
24062
24055
  return w({
@@ -24067,7 +24060,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
24067
24060
  utils: C,
24068
24061
  ...M,
24069
24062
  refetch: I,
24070
- apiRef: A
24063
+ apiRef: R
24071
24064
  }), /* @__PURE__ */ y(
24072
24065
  tn,
24073
24066
  {
@@ -24080,8 +24073,8 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
24080
24073
  children: /* @__PURE__ */ y(nS, { injectFirst: !0, children: /* @__PURE__ */ y(Ag, { theme: k, children: /* @__PURE__ */ y(
24081
24074
  og,
24082
24075
  {
24083
- apiRef: A,
24084
- rows: R,
24076
+ apiRef: R,
24077
+ rows: F,
24085
24078
  columns: g,
24086
24079
  loading: P || u,
24087
24080
  sx: {
@@ -24101,7 +24094,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
24101
24094
  //header: <div>This is my custom Toolbar!</div>,
24102
24095
  noRowsOverlay: Yg
24103
24096
  },
24104
- initialState: F,
24097
+ initialState: A,
24105
24098
  ...l
24106
24099
  }
24107
24100
  ) }) })
@@ -24470,7 +24463,7 @@ const Jn = Oe("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
24470
24463
  wrapped: k
24471
24464
  }), w = $z(S), M = u && f && /* @__PURE__ */ O.isValidElement(u) ? /* @__PURE__ */ O.cloneElement(u, {
24472
24465
  className: re(w.iconWrapper, u.props.className)
24473
- }) : u, R = /* @__PURE__ */ a((I) => {
24466
+ }) : u, F = /* @__PURE__ */ a((I) => {
24474
24467
  !b && h && h(I, T), m && m(I);
24475
24468
  }, "handleClick"), P = /* @__PURE__ */ a((I) => {
24476
24469
  v && !b && h && h(I, T), g && g(I);
@@ -24482,7 +24475,7 @@ const Jn = Oe("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
24482
24475
  role: "tab",
24483
24476
  "aria-selected": b,
24484
24477
  disabled: i,
24485
- onClick: R,
24478
+ onClick: F,
24486
24479
  onFocus: P,
24487
24480
  ownerState: S,
24488
24481
  tabIndex: b ? 0 : -1
@@ -24944,22 +24937,22 @@ const Uk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
24944
24937
  slotProps: S = {},
24945
24938
  TabIndicatorProps: w = {},
24946
24939
  TabScrollButtonProps: M = {},
24947
- textColor: R = "primary",
24940
+ textColor: F = "primary",
24948
24941
  value: P,
24949
24942
  variant: I = "standard",
24950
- visibleScrollbar: A = !1
24951
- } = n, F = ne(n, Kz), $ = I === "scrollable", L = v === "vertical", j = L ? "scrollTop" : "scrollLeft", B = L ? "top" : "left", V = L ? "bottom" : "right", N = L ? "clientHeight" : "clientWidth", K = L ? "height" : "width", D = E({}, n, {
24943
+ visibleScrollbar: R = !1
24944
+ } = n, A = ne(n, Kz), $ = I === "scrollable", L = v === "vertical", j = L ? "scrollTop" : "scrollLeft", B = L ? "top" : "left", V = L ? "bottom" : "right", N = L ? "clientHeight" : "clientWidth", K = L ? "height" : "width", D = E({}, n, {
24952
24945
  component: h,
24953
24946
  allowScrollButtonsMobile: m,
24954
24947
  indicatorColor: g,
24955
24948
  orientation: v,
24956
24949
  vertical: L,
24957
24950
  scrollButtons: T,
24958
- textColor: R,
24951
+ textColor: F,
24959
24952
  variant: I,
24960
- visibleScrollbar: A,
24953
+ visibleScrollbar: R,
24961
24954
  fixed: !$,
24962
- hideScrollbar: $ && !A,
24955
+ hideScrollbar: $ && !R,
24963
24956
  scrollableX: $ && !L,
24964
24957
  scrollableY: $ && L,
24965
24958
  centered: d && !$,
@@ -25058,7 +25051,7 @@ const Uk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
25058
25051
  ut(-1 * at());
25059
25052
  }, "handleStartScrollClick"), st = /* @__PURE__ */ a(() => {
25060
25053
  ut(at());
25061
- }, "handleEndScrollClick"), Ke = O.useCallback((Z) => {
25054
+ }, "handleEndScrollClick"), Ge = O.useCallback((Z) => {
25062
25055
  be({
25063
25056
  overflow: null,
25064
25057
  scrollbarWidth: Z
@@ -25066,7 +25059,7 @@ const Uk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
25066
25059
  }, []), xt = /* @__PURE__ */ a(() => {
25067
25060
  const Z = {};
25068
25061
  Z.scrollbarSizeListener = $ ? /* @__PURE__ */ y(e5, {
25069
- onChange: Ke,
25062
+ onChange: Ge,
25070
25063
  className: re(H.scrollableX, H.hideScrollbar)
25071
25064
  }) : null;
25072
25065
  const Te = $ && (T === "auto" && (Q || se) || T === !0);
@@ -25191,7 +25184,7 @@ const Uk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
25191
25184
  selected: Te,
25192
25185
  selectionFollowsFocus: k,
25193
25186
  onChange: b,
25194
- textColor: R,
25187
+ textColor: F,
25195
25188
  value: le
25196
25189
  }, it === 1 && P === !1 && !Z.props.tabIndex ? {
25197
25190
  tabIndex: 0
@@ -25221,13 +25214,13 @@ const Uk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
25221
25214
  ownerState: D,
25222
25215
  ref: r,
25223
25216
  as: h
25224
- }, F, {
25217
+ }, A, {
25225
25218
  children: [he.scrollButtonStart, he.scrollbarSizeListener, /* @__PURE__ */ W(Qz, {
25226
25219
  className: H.scroller,
25227
25220
  ownerState: D,
25228
25221
  style: {
25229
25222
  overflow: Y.overflow,
25230
- [L ? `margin${i ? "Left" : "Right"}` : "marginBottom"]: A ? void 0 : -Y.scrollbarWidth
25223
+ [L ? `margin${i ? "Left" : "Right"}` : "marginBottom"]: R ? void 0 : -Y.scrollbarWidth
25231
25224
  },
25232
25225
  ref: He,
25233
25226
  children: [/* @__PURE__ */ y(Xz, {
@@ -25567,9 +25560,9 @@ Xk = mb.default = (0, c5.default)(/* @__PURE__ */ (0, u5.jsx)("path", {
25567
25560
  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"
25568
25561
  }), "OpenInNew");
25569
25562
  const Zk = /* @__PURE__ */ a((t) => {
25570
- const e = Tt(), [r, n] = De(!1), o = Ge(() => {
25563
+ const e = Tt(), [r, n] = De(!1), o = nt(() => {
25571
25564
  n(!0);
25572
- }, []), i = Ge(() => {
25565
+ }, []), i = nt(() => {
25573
25566
  n(!1);
25574
25567
  }, []), s = Sr(
25575
25568
  () => ({
@@ -25584,7 +25577,7 @@ const Zk = /* @__PURE__ */ a((t) => {
25584
25577
  inline: d,
25585
25578
  dialog: p,
25586
25579
  ButtonProps: f
25587
- } = t, h = Ge(
25580
+ } = t, h = nt(
25588
25581
  (b) => {
25589
25582
  o(), b.stopPropagation();
25590
25583
  },
@@ -25891,7 +25884,7 @@ const S5 = {
25891
25884
  const V = S.current;
25892
25885
  B === void 0 ? j(V) : j(V, B);
25893
25886
  }
25894
- }, "normalizedTransitionCallback"), R = M(p), P = M((j, B) => {
25887
+ }, "normalizedTransitionCallback"), F = M(p), P = M((j, B) => {
25895
25888
  _g(j);
25896
25889
  const {
25897
25890
  duration: V,
@@ -25913,7 +25906,7 @@ const S5 = {
25913
25906
  delay: N,
25914
25907
  easing: K
25915
25908
  })].join(","), u && u(j, B);
25916
- }), I = M(d), A = M(m), F = M((j) => {
25909
+ }), I = M(d), R = M(m), A = M((j) => {
25917
25910
  const {
25918
25911
  duration: B,
25919
25912
  delay: V,
@@ -25941,10 +25934,10 @@ const S5 = {
25941
25934
  nodeRef: S,
25942
25935
  onEnter: P,
25943
25936
  onEntered: I,
25944
- onEntering: R,
25945
- onExit: F,
25937
+ onEntering: F,
25938
+ onExit: A,
25946
25939
  onExited: $,
25947
- onExiting: A,
25940
+ onExiting: R,
25948
25941
  addEndListener: /* @__PURE__ */ a((j) => {
25949
25942
  b === "auto" && T.start(k.current || 0, j), n && n(S.current, j);
25950
25943
  }, "handleAddEndListener"),
@@ -26305,8 +26298,8 @@ var q5 = /* @__PURE__ */ a(function(e, r) {
26305
26298
  function G5(t) {
26306
26299
  var e, r = t.state, n = t.name, o = t.options, i = r.elements.arrow, s = r.modifiersData.popperOffsets, l = yn(r.placement), u = xb(l), d = [nr, zr].indexOf(l) >= 0, p = d ? "height" : "width";
26307
26300
  if (!(!i || !s)) {
26308
- var f = q5(o.padding, r), h = vb(i), m = u === "y" ? rr : nr, g = u === "y" ? jr : zr, b = r.rects.reference[p] + r.rects.reference[u] - s[u] - r.rects.popper[p], v = s[u] - r.rects.reference[u], x = nc(i), T = x ? u === "y" ? x.clientHeight || 0 : x.clientWidth || 0 : 0, k = b / 2 - v / 2, C = f[m], S = T - h[p] - f[g], w = T / 2 - h[p] / 2 + k, M = Ls(C, w, S), R = u;
26309
- r.modifiersData[n] = (e = {}, e[R] = M, e.centerOffset = M - w, e);
26301
+ var f = q5(o.padding, r), h = vb(i), m = u === "y" ? rr : nr, g = u === "y" ? jr : zr, b = r.rects.reference[p] + r.rects.reference[u] - s[u] - r.rects.popper[p], v = s[u] - r.rects.reference[u], x = nc(i), T = x ? u === "y" ? x.clientHeight || 0 : x.clientWidth || 0 : 0, k = b / 2 - v / 2, C = f[m], S = T - h[p] - f[g], w = T / 2 - h[p] / 2 + k, M = Ls(C, w, S), F = u;
26302
+ r.modifiersData[n] = (e = {}, e[F] = M, e.centerOffset = M - w, e);
26310
26303
  }
26311
26304
  }
26312
26305
  a(G5, "arrow$1");
@@ -26353,8 +26346,8 @@ function jx(t) {
26353
26346
  m = v.x, b = v.y;
26354
26347
  var x = s.hasOwnProperty("x"), T = s.hasOwnProperty("y"), k = nr, C = rr, S = window;
26355
26348
  if (d) {
26356
- var w = nc(r), M = "clientHeight", R = "clientWidth";
26357
- if (w === xr(r) && (w = To(r), jn(w).position !== "static" && l === "absolute" && (M = "scrollHeight", R = "scrollWidth")), w = w, o === rr || (o === nr || o === zr) && i === bl) {
26349
+ var w = nc(r), M = "clientHeight", F = "clientWidth";
26350
+ if (w === xr(r) && (w = To(r), jn(w).position !== "static" && l === "absolute" && (M = "scrollHeight", F = "scrollWidth")), w = w, o === rr || (o === nr || o === zr) && i === bl) {
26358
26351
  C = jr;
26359
26352
  var P = f && w === S && S.visualViewport ? S.visualViewport.height : (
26360
26353
  // $FlowFixMe[prop-missing]
@@ -26366,25 +26359,25 @@ function jx(t) {
26366
26359
  k = zr;
26367
26360
  var I = f && w === S && S.visualViewport ? S.visualViewport.width : (
26368
26361
  // $FlowFixMe[prop-missing]
26369
- w[R]
26362
+ w[F]
26370
26363
  );
26371
26364
  m -= I - n.width, m *= u ? 1 : -1;
26372
26365
  }
26373
26366
  }
26374
- var A = Object.assign({
26367
+ var R = Object.assign({
26375
26368
  position: l
26376
- }, d && J5), F = p === !0 ? Q5({
26369
+ }, d && J5), A = p === !0 ? Q5({
26377
26370
  x: m,
26378
26371
  y: b
26379
26372
  }, xr(r)) : {
26380
26373
  x: m,
26381
26374
  y: b
26382
26375
  };
26383
- if (m = F.x, b = F.y, u) {
26376
+ if (m = A.x, b = A.y, u) {
26384
26377
  var $;
26385
- return Object.assign({}, A, ($ = {}, $[C] = T ? "0" : "", $[k] = x ? "0" : "", $.transform = (S.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + b + "px)" : "translate3d(" + m + "px, " + b + "px, 0)", $));
26378
+ return Object.assign({}, R, ($ = {}, $[C] = T ? "0" : "", $[k] = x ? "0" : "", $.transform = (S.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + b + "px)" : "translate3d(" + m + "px, " + b + "px, 0)", $));
26386
26379
  }
26387
- return Object.assign({}, A, (e = {}, e[C] = T ? b + "px" : "", e[k] = x ? m + "px" : "", e.transform = "", e));
26380
+ return Object.assign({}, R, (e = {}, e[C] = T ? b + "px" : "", e[k] = x ? m + "px" : "", e.transform = "", e));
26388
26381
  }
26389
26382
  a(jx, "mapToStyles");
26390
26383
  function X5(t) {
@@ -26607,17 +26600,17 @@ function yl(t, e) {
26607
26600
  element: k,
26608
26601
  strategy: "absolute",
26609
26602
  placement: o
26610
- }), R = Mh(Object.assign({}, k, M)), P = h === vs ? R : w, I = {
26603
+ }), F = Mh(Object.assign({}, k, M)), P = h === vs ? F : w, I = {
26611
26604
  top: S.top - P.top + x.top,
26612
26605
  bottom: P.bottom - S.bottom + x.bottom,
26613
26606
  left: S.left - P.left + x.left,
26614
26607
  right: P.right - S.right + x.right
26615
- }, A = t.modifiersData.offset;
26616
- if (h === vs && A) {
26617
- var F = A[o];
26608
+ }, R = t.modifiersData.offset;
26609
+ if (h === vs && R) {
26610
+ var A = R[o];
26618
26611
  Object.keys(I).forEach(function($) {
26619
26612
  var L = [zr, jr].indexOf($) >= 0 ? 1 : -1, j = [rr, jr].indexOf($) >= 0 ? "y" : "x";
26620
- I[$] += F[j] * L;
26613
+ I[$] += A[j] * L;
26621
26614
  });
26622
26615
  }
26623
26616
  return I;
@@ -26663,9 +26656,9 @@ function d3(t) {
26663
26656
  flipVariations: g,
26664
26657
  allowedAutoPlacements: b
26665
26658
  }) : J);
26666
- }, []), S = e.rects.reference, w = e.rects.popper, M = /* @__PURE__ */ new Map(), R = !0, P = C[0], I = 0; I < C.length; I++) {
26667
- var A = C[I], F = yn(A), $ = Ba(A) === Na, L = [rr, jr].indexOf(F) >= 0, j = L ? "width" : "height", B = yl(e, {
26668
- placement: A,
26659
+ }, []), S = e.rects.reference, w = e.rects.popper, M = /* @__PURE__ */ new Map(), F = !0, P = C[0], I = 0; I < C.length; I++) {
26660
+ var R = C[I], A = yn(R), $ = Ba(R) === Na, L = [rr, jr].indexOf(A) >= 0, j = L ? "width" : "height", B = yl(e, {
26661
+ placement: R,
26669
26662
  boundary: p,
26670
26663
  rootBoundary: f,
26671
26664
  altBoundary: h,
@@ -26673,15 +26666,15 @@ function d3(t) {
26673
26666
  }), V = L ? $ ? zr : nr : $ ? jr : rr;
26674
26667
  S[j] > w[j] && (V = Vc(V));
26675
26668
  var N = Vc(V), K = [];
26676
- if (i && K.push(B[F] <= 0), l && K.push(B[V] <= 0, B[N] <= 0), K.every(function(U) {
26669
+ if (i && K.push(B[A] <= 0), l && K.push(B[V] <= 0, B[N] <= 0), K.every(function(U) {
26677
26670
  return U;
26678
26671
  })) {
26679
- P = A, R = !1;
26672
+ P = R, F = !1;
26680
26673
  break;
26681
26674
  }
26682
- M.set(A, K);
26675
+ M.set(R, K);
26683
26676
  }
26684
- if (R)
26677
+ if (F)
26685
26678
  for (var D = g ? 3 : 1, H = /* @__PURE__ */ a(function(J) {
26686
26679
  var G = C.find(function(te) {
26687
26680
  var Q = M.get(te);
@@ -26806,7 +26799,7 @@ function O3(t) {
26806
26799
  rootBoundary: d,
26807
26800
  padding: f,
26808
26801
  altBoundary: p
26809
- }), x = yn(e.placement), T = Ba(e.placement), k = !T, C = xb(x), S = x3(C), w = e.modifiersData.popperOffsets, M = e.rects.reference, R = e.rects.popper, P = typeof b == "function" ? b(Object.assign({}, e.rects, {
26802
+ }), x = yn(e.placement), T = Ba(e.placement), k = !T, C = xb(x), S = x3(C), w = e.modifiersData.popperOffsets, M = e.rects.reference, F = e.rects.popper, P = typeof b == "function" ? b(Object.assign({}, e.rects, {
26810
26803
  placement: e.placement
26811
26804
  })) : b, I = typeof P == "number" ? {
26812
26805
  mainAxis: P,
@@ -26814,23 +26807,23 @@ function O3(t) {
26814
26807
  } : Object.assign({
26815
26808
  mainAxis: 0,
26816
26809
  altAxis: 0
26817
- }, P), A = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, F = {
26810
+ }, P), R = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, A = {
26818
26811
  x: 0,
26819
26812
  y: 0
26820
26813
  };
26821
26814
  if (w) {
26822
26815
  if (i) {
26823
- var $, L = C === "y" ? rr : nr, j = C === "y" ? jr : zr, B = C === "y" ? "height" : "width", V = w[C], N = V + v[L], K = V - v[j], D = m ? -R[B] / 2 : 0, H = T === Na ? M[B] : R[B], ee = T === Na ? -R[B] : -M[B], z = e.elements.arrow, U = m && z ? vb(z) : {
26816
+ var $, L = C === "y" ? rr : nr, j = C === "y" ? jr : zr, B = C === "y" ? "height" : "width", V = w[C], N = V + v[L], K = V - v[j], D = m ? -F[B] / 2 : 0, H = T === Na ? M[B] : F[B], ee = T === Na ? -F[B] : -M[B], z = e.elements.arrow, U = m && z ? vb(z) : {
26824
26817
  width: 0,
26825
26818
  height: 0
26826
- }, J = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : sE(), G = J[L], te = J[j], Q = Ls(0, M[B], U[B]), oe = k ? M[B] / 2 - D - Q - G - I.mainAxis : H - Q - G - I.mainAxis, se = k ? -M[B] / 2 + D + Q + te + I.mainAxis : ee + Q + te + I.mainAxis, ie = e.elements.arrow && nc(e.elements.arrow), _ = ie ? C === "y" ? ie.clientTop || 0 : ie.clientLeft || 0 : 0, pe = ($ = A == null ? void 0 : A[C]) != null ? $ : 0, Y = V + oe - pe - _, be = V + se - pe, Ie = Ls(m ? uu(N, Y) : N, V, m ? si(K, be) : K);
26827
- w[C] = Ie, F[C] = Ie - V;
26819
+ }, J = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : sE(), G = J[L], te = J[j], Q = Ls(0, M[B], U[B]), oe = k ? M[B] / 2 - D - Q - G - I.mainAxis : H - Q - G - I.mainAxis, se = k ? -M[B] / 2 + D + Q + te + I.mainAxis : ee + Q + te + I.mainAxis, ie = e.elements.arrow && nc(e.elements.arrow), _ = ie ? C === "y" ? ie.clientTop || 0 : ie.clientLeft || 0 : 0, pe = ($ = R == null ? void 0 : R[C]) != null ? $ : 0, Y = V + oe - pe - _, be = V + se - pe, Ie = Ls(m ? uu(N, Y) : N, V, m ? si(K, be) : K);
26820
+ w[C] = Ie, A[C] = Ie - V;
26828
26821
  }
26829
26822
  if (l) {
26830
- var He, me = C === "x" ? rr : nr, ct = C === "x" ? jr : zr, je = w[S], $e = S === "y" ? "height" : "width", ut = je + v[me], at = je - v[ct], ze = [rr, nr].indexOf(x) !== -1, st = (He = A == null ? void 0 : A[S]) != null ? He : 0, Ke = ze ? ut : je - M[$e] - R[$e] - st + I.altAxis, xt = ze ? je + M[$e] + R[$e] - st - I.altAxis : at, Ae = m && ze ? U5(Ke, je, xt) : Ls(m ? Ke : ut, je, m ? xt : at);
26831
- w[S] = Ae, F[S] = Ae - je;
26823
+ var He, me = C === "x" ? rr : nr, ct = C === "x" ? jr : zr, je = w[S], $e = S === "y" ? "height" : "width", ut = je + v[me], at = je - v[ct], ze = [rr, nr].indexOf(x) !== -1, st = (He = R == null ? void 0 : R[S]) != null ? He : 0, Ge = ze ? ut : je - M[$e] - F[$e] - st + I.altAxis, xt = ze ? je + M[$e] + F[$e] - st - I.altAxis : at, Ae = m && ze ? U5(Ge, je, xt) : Ls(m ? Ge : ut, je, m ? xt : at);
26824
+ w[S] = Ae, A[S] = Ae - je;
26832
26825
  }
26833
- e.modifiersData[n] = F;
26826
+ e.modifiersData[n] = A;
26834
26827
  }
26835
26828
  }
26836
26829
  a(O3, "preventOverflow");
@@ -26990,10 +26983,10 @@ function A3(t) {
26990
26983
  p.reset = !1, C = -1;
26991
26984
  continue;
26992
26985
  }
26993
- var S = p.orderedModifiers[C], w = S.fn, M = S.options, R = M === void 0 ? {} : M, P = S.name;
26986
+ var S = p.orderedModifiers[C], w = S.fn, M = S.options, F = M === void 0 ? {} : M, P = S.name;
26994
26987
  typeof w == "function" && (p = w({
26995
26988
  state: p,
26996
- options: R,
26989
+ options: F,
26997
26990
  name: P,
26998
26991
  instance: m
26999
26992
  }) || p);
@@ -27108,7 +27101,7 @@ const B3 = /* @__PURE__ */ a((t) => {
27108
27101
  yi(() => {
27109
27102
  S.current = C;
27110
27103
  }, [C]), O.useImperativeHandle(h, () => k.current, []);
27111
- const w = D3(p, s), [M, R] = O.useState(w), [P, I] = O.useState(du(o));
27104
+ const w = D3(p, s), [M, F] = O.useState(w), [P, I] = O.useState(du(o));
27112
27105
  O.useEffect(() => {
27113
27106
  k.current && k.current.forceUpdate();
27114
27107
  }), O.useEffect(() => {
@@ -27117,7 +27110,7 @@ const B3 = /* @__PURE__ */ a((t) => {
27117
27110
  if (!P || !d)
27118
27111
  return;
27119
27112
  const j = /* @__PURE__ */ a((N) => {
27120
- R(N.placement);
27113
+ F(N.placement);
27121
27114
  }, "handlePopperUpdate");
27122
27115
  if (process.env.NODE_ENV !== "production" && P && Tp(P) && P.nodeType === 1) {
27123
27116
  const N = P.getBoundingClientRect();
@@ -27154,11 +27147,11 @@ const B3 = /* @__PURE__ */ a((t) => {
27154
27147
  V.destroy(), S.current(null);
27155
27148
  };
27156
27149
  }, [P, l, u, d, f, w]);
27157
- const A = {
27150
+ const R = {
27158
27151
  placement: M
27159
27152
  };
27160
- b !== null && (A.TransitionProps = b);
27161
- const F = B3(e), $ = (n = g.root) != null ? n : "div", L = vr({
27153
+ b !== null && (R.TransitionProps = b);
27154
+ const A = B3(e), $ = (n = g.root) != null ? n : "div", L = vr({
27162
27155
  elementType: $,
27163
27156
  externalSlotProps: m.root,
27164
27157
  externalForwardedProps: v,
@@ -27167,10 +27160,10 @@ const B3 = /* @__PURE__ */ a((t) => {
27167
27160
  ref: T
27168
27161
  },
27169
27162
  ownerState: e,
27170
- className: F.root
27163
+ className: A.root
27171
27164
  });
27172
27165
  return /* @__PURE__ */ y($, E({}, L, {
27173
- children: typeof i == "function" ? i(A) : i
27166
+ children: typeof i == "function" ? i(R) : i
27174
27167
  }));
27175
27168
  }, "PopperTooltip")), pE = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
27176
27169
  const {
@@ -27203,7 +27196,7 @@ const B3 = /* @__PURE__ */ a((t) => {
27203
27196
  const I = du(n);
27204
27197
  M = I && Tp(I) ? Dn(I).body : Dn(null).body;
27205
27198
  }
27206
- const R = !p && u && (!b || k) ? "none" : void 0, P = b ? {
27199
+ const F = !p && u && (!b || k) ? "none" : void 0, P = b ? {
27207
27200
  in: p,
27208
27201
  onEnter: S,
27209
27202
  onExited: w
@@ -27230,7 +27223,7 @@ const B3 = /* @__PURE__ */ a((t) => {
27230
27223
  // Fix Popper.js display issue
27231
27224
  top: 0,
27232
27225
  left: 0,
27233
- display: R
27226
+ display: F
27234
27227
  }, g),
27235
27228
  TransitionProps: P,
27236
27229
  children: o
@@ -27724,11 +27717,11 @@ const wp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
27724
27717
  name: "MuiTooltip"
27725
27718
  }), {
27726
27719
  arrow: M = !1,
27727
- children: R,
27720
+ children: F,
27728
27721
  components: P = {},
27729
27722
  componentsProps: I = {},
27730
- describeChild: A = !1,
27731
- disableFocusListener: F = !1,
27723
+ describeChild: R = !1,
27724
+ disableFocusListener: A = !1,
27732
27725
  disableHoverListener: $ = !1,
27733
27726
  disableInteractive: L = !1,
27734
27727
  disableTouchListener: j = !1,
@@ -27750,9 +27743,9 @@ const wp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
27750
27743
  title: ie,
27751
27744
  TransitionComponent: _ = gl,
27752
27745
  TransitionProps: pe
27753
- } = w, Y = ne(w, U3), be = /* @__PURE__ */ O.isValidElement(R) ? R : /* @__PURE__ */ y("span", {
27754
- children: R
27755
- }), Ie = En(), He = Kl(), [me, ct] = O.useState(), [je, $e] = O.useState(null), ut = O.useRef(!1), at = L || K, ze = na(), st = na(), Ke = na(), xt = na(), [Ae, ye] = dl({
27746
+ } = w, Y = ne(w, U3), be = /* @__PURE__ */ O.isValidElement(F) ? F : /* @__PURE__ */ y("span", {
27747
+ children: F
27748
+ }), Ie = En(), He = Kl(), [me, ct] = O.useState(), [je, $e] = O.useState(null), ut = O.useRef(!1), at = L || K, ze = na(), st = na(), Ge = na(), xt = na(), [Ae, ye] = dl({
27756
27749
  controlled: J,
27757
27750
  default: !1,
27758
27751
  name: "Tooltip",
@@ -27786,11 +27779,11 @@ const wp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
27786
27779
  });
27787
27780
  }
27788
27781
  ), le = /* @__PURE__ */ a((Be) => {
27789
- ut.current && Be.type !== "touchstart" || (me && me.removeAttribute("title"), st.clear(), Ke.clear(), B || bc && V ? st.start(bc ? V : B, () => {
27782
+ ut.current && Be.type !== "touchstart" || (me && me.removeAttribute("title"), st.clear(), Ge.clear(), B || bc && V ? st.start(bc ? V : B, () => {
27790
27783
  he(Be);
27791
27784
  }) : he(Be));
27792
27785
  }, "handleMouseOver"), Te = /* @__PURE__ */ a((Be) => {
27793
- st.clear(), Ke.start(H, () => {
27786
+ st.clear(), Ge.start(H, () => {
27794
27787
  Z(Be);
27795
27788
  });
27796
27789
  }, "handleMouseLeave"), {
@@ -27807,11 +27800,11 @@ const wp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
27807
27800
  const fr = be.props;
27808
27801
  fr.onTouchStart && fr.onTouchStart(Be);
27809
27802
  }, "detectTouchStart"), AM = /* @__PURE__ */ a((Be) => {
27810
- Jv(Be), Ke.clear(), ze.clear(), Nt(), ft.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", xt.start(N, () => {
27803
+ Jv(Be), Ge.clear(), ze.clear(), Nt(), ft.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", xt.start(N, () => {
27811
27804
  document.body.style.WebkitUserSelect = ft.current, le(Be);
27812
27805
  });
27813
27806
  }, "handleTouchStart"), FM = /* @__PURE__ */ a((Be) => {
27814
- be.props.onTouchEnd && be.props.onTouchEnd(Be), Nt(), Ke.start(ee, () => {
27807
+ be.props.onTouchEnd && be.props.onTouchEnd(Be), Nt(), Ge.start(ee, () => {
27815
27808
  Z(Be);
27816
27809
  });
27817
27810
  }, "handleTouchEnd");
@@ -27834,7 +27827,7 @@ const wp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
27834
27827
  y: Be.clientY
27835
27828
  }, Up.current && Up.current.update();
27836
27829
  }, "handleMouseMove"), hs = {}, qp = typeof ie == "string";
27837
- A ? (hs.title = !de && qp && !$ ? ie : null, hs["aria-describedby"] = de ? it : null) : (hs["aria-label"] = qp ? ie : null, hs["aria-labelledby"] = de && !qp ? it : null);
27830
+ R ? (hs.title = !de && qp && !$ ? ie : null, hs["aria-describedby"] = de ? it : null) : (hs["aria-label"] = qp ? ie : null, hs["aria-labelledby"] = de && !qp ? it : null);
27838
27831
  const Er = E({}, hs, Y, be.props, {
27839
27832
  className: re(Y.className, be.props.className),
27840
27833
  onTouchStart: Jv,
@@ -27847,7 +27840,7 @@ const wp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
27847
27840
  `));
27848
27841
  }, [me]));
27849
27842
  const ms = {};
27850
- j || (Er.onTouchStart = AM, Er.onTouchEnd = FM), $ || (Er.onMouseOver = yc(le, Er.onMouseOver), Er.onMouseLeave = yc(Te, Er.onMouseLeave), at || (ms.onMouseOver = le, ms.onMouseLeave = Te)), F || (Er.onFocus = yc(Wi, Er.onFocus), Er.onBlur = yc(qr, Er.onBlur), at || (ms.onFocus = Wi, ms.onBlur = qr)), process.env.NODE_ENV !== "production" && be.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${be.props.title}\` or the Tooltip component.`].join(`
27843
+ j || (Er.onTouchStart = AM, Er.onTouchEnd = FM), $ || (Er.onMouseOver = yc(le, Er.onMouseOver), Er.onMouseLeave = yc(Te, Er.onMouseLeave), at || (ms.onMouseOver = le, ms.onMouseLeave = Te)), A || (Er.onFocus = yc(Wi, Er.onFocus), Er.onBlur = yc(qr, Er.onBlur), at || (ms.onFocus = Wi, ms.onBlur = qr)), process.env.NODE_ENV !== "production" && be.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${be.props.title}\` or the Tooltip component.`].join(`
27851
27844
  `));
27852
27845
  const LM = O.useMemo(() => {
27853
27846
  var Be;
@@ -28452,7 +28445,7 @@ const h4 = /* @__PURE__ */ a((t) => {
28452
28445
  icon: r = m4,
28453
28446
  onClick: n,
28454
28447
  ...o
28455
- } = t, i = dk(t), s = Ge(
28448
+ } = t, i = dk(t), s = nt(
28456
28449
  (l) => {
28457
28450
  l.preventDefault(), i(), typeof n == "function" && n(l);
28458
28451
  },
@@ -28471,17 +28464,17 @@ const h4 = /* @__PURE__ */ a((t) => {
28471
28464
  jsBotonGrilla: l = g4,
28472
28465
  refresh: u = !0,
28473
28466
  ...d
28474
- } = t, [p, f] = O.useState(null), [h, m] = O.useState(null), [g, b] = O.useState({}), { displayedFilters: v, filterValues: x, exporter: T, showFilter: k, total: C } = xi(), S = pt(t), { hasCreate: w } = dS(t), M = ot(NP) || n, R = xi(t), P = mp(t), {
28467
+ } = t, [p, f] = O.useState(null), [h, m] = O.useState(null), [g, b] = O.useState({}), { displayedFilters: v, filterValues: x, exporter: T, showFilter: k, total: C } = xi(), S = pt(t), { hasCreate: w } = dS(t), M = ot(NP) || n, F = xi(t), P = mp(t), {
28475
28468
  props: {
28476
28469
  hasCreate: I,
28477
- hasSeleccionMultiple: A,
28478
- chkSeleccion: F,
28470
+ hasSeleccionMultiple: R,
28471
+ chkSeleccion: A,
28479
28472
  handleSeleccionMultiple: $,
28480
28473
  actionsContainerRef: L
28481
28474
  }
28482
28475
  } = fp();
28483
28476
  jM(e, () => L.current);
28484
- const j = { ...P, ...R }, B = /* @__PURE__ */ a((H) => {
28477
+ const j = { ...P, ...F }, B = /* @__PURE__ */ a((H) => {
28485
28478
  f(H.currentTarget);
28486
28479
  }, "handleOpenMenu"), V = /* @__PURE__ */ a(() => {
28487
28480
  f(null), m(null);
@@ -28653,12 +28646,12 @@ const h4 = /* @__PURE__ */ a((t) => {
28653
28646
  })
28654
28647
  }
28655
28648
  ),
28656
- A && /* @__PURE__ */ y(
28649
+ R && /* @__PURE__ */ y(
28657
28650
  oP,
28658
28651
  {
28659
28652
  title: "Selección múltiple",
28660
28653
  size: "medium",
28661
- checked: F,
28654
+ checked: A,
28662
28655
  onChange: $
28663
28656
  },
28664
28657
  "multiple"
@@ -28677,8 +28670,8 @@ const h4 = /* @__PURE__ */ a((t) => {
28677
28670
  T,
28678
28671
  w,
28679
28672
  I,
28673
+ R,
28680
28674
  A,
28681
- F,
28682
28675
  j.data,
28683
28676
  p,
28684
28677
  h,
@@ -29198,7 +29191,7 @@ const A4 = ["children", "color", "component", "className", "disabled", "disableE
29198
29191
  size: x,
29199
29192
  type: k,
29200
29193
  variant: C
29201
- }), M = F4(w), R = T && /* @__PURE__ */ y($4, {
29194
+ }), M = F4(w), F = T && /* @__PURE__ */ y($4, {
29202
29195
  className: M.startIcon,
29203
29196
  ownerState: w,
29204
29197
  children: T
@@ -29218,7 +29211,7 @@ const A4 = ["children", "color", "component", "className", "disabled", "disableE
29218
29211
  type: k
29219
29212
  }, S, {
29220
29213
  classes: M,
29221
- children: [R, l, P]
29214
+ children: [F, l, P]
29222
29215
  }));
29223
29216
  }, "Button"));
29224
29217
  process.env.NODE_ENV !== "production" && (gn.propTypes = {
@@ -29649,8 +29642,8 @@ const kE = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
29649
29642
  else if (S === "End")
29650
29643
  k.preventDefault(), Os(C, null, d, u, Yx);
29651
29644
  else if (S.length === 1) {
29652
- const M = g.current, R = S.toLowerCase(), P = performance.now();
29653
- M.keys.length > 0 && (P - M.lastTime > 500 ? (M.keys = [], M.repeating = !0, M.previousKeyMatched = !0) : M.repeating && R !== M.keys[0] && (M.repeating = !1)), M.lastTime = P, M.keys.push(R);
29645
+ const M = g.current, F = S.toLowerCase(), P = performance.now();
29646
+ M.keys.length > 0 && (P - M.lastTime > 500 ? (M.keys = [], M.repeating = !0, M.previousKeyMatched = !0) : M.repeating && F !== M.keys[0] && (M.repeating = !1)), M.lastTime = P, M.keys.push(F);
29654
29647
  const I = w && !M.repeating && CE(w, M);
29655
29648
  M.previousKeyMatched && (I || Os(C, w, !1, u, kf, M)) ? k.preventDefault() : M.previousKeyMatched = !1;
29656
29649
  }
@@ -29809,15 +29802,15 @@ const J4 = /* @__PURE__ */ a((t) => {
29809
29802
  TransitionComponent: w = gl,
29810
29803
  transitionDuration: M = "auto",
29811
29804
  TransitionProps: {
29812
- onEntering: R
29805
+ onEntering: F
29813
29806
  } = {},
29814
29807
  disableScrollLock: P = !1
29815
- } = s, I = ne(s.TransitionProps, G4), A = ne(s, K4), F = (n = C == null ? void 0 : C.paper) != null ? n : T, $ = O.useRef(), L = wt($, F.ref), j = E({}, s, {
29808
+ } = s, I = ne(s.TransitionProps, G4), R = ne(s, K4), A = (n = C == null ? void 0 : C.paper) != null ? n : T, $ = O.useRef(), L = wt($, A.ref), j = E({}, s, {
29816
29809
  anchorOrigin: d,
29817
29810
  anchorReference: f,
29818
29811
  elevation: b,
29819
29812
  marginThreshold: v,
29820
- externalPaperSlotProps: F,
29813
+ externalPaperSlotProps: A,
29821
29814
  transformOrigin: S,
29822
29815
  TransitionComponent: w,
29823
29816
  transitionDuration: M,
@@ -29881,7 +29874,7 @@ const J4 = /* @__PURE__ */ a((t) => {
29881
29874
  }, [K]);
29882
29875
  O.useEffect(() => (P && window.addEventListener("scroll", ee), () => window.removeEventListener("scroll", ee)), [u, P, ee]);
29883
29876
  const z = /* @__PURE__ */ a((pe, Y) => {
29884
- R && R(pe, Y), ee();
29877
+ F && F(pe, Y), ee();
29885
29878
  }, "handleEntering"), U = /* @__PURE__ */ a(() => {
29886
29879
  H(!1);
29887
29880
  }, "handleExited");
@@ -29905,8 +29898,8 @@ const J4 = /* @__PURE__ */ a((t) => {
29905
29898
  M === "auto" && !w.muiSupportAuto && (J = void 0);
29906
29899
  const G = g || (u ? $r(jc(u)).body : void 0), te = (o = k == null ? void 0 : k.root) != null ? o : Q4, Q = (i = k == null ? void 0 : k.paper) != null ? i : EE, oe = vr({
29907
29900
  elementType: Q,
29908
- externalSlotProps: E({}, F, {
29909
- style: D ? F.style : E({}, F.style, {
29901
+ externalSlotProps: E({}, A, {
29902
+ style: D ? A.style : E({}, A.style, {
29910
29903
  opacity: 0
29911
29904
  })
29912
29905
  }),
@@ -29915,11 +29908,11 @@ const J4 = /* @__PURE__ */ a((t) => {
29915
29908
  ref: L
29916
29909
  },
29917
29910
  ownerState: j,
29918
- className: re(B.paper, F == null ? void 0 : F.className)
29911
+ className: re(B.paper, A == null ? void 0 : A.className)
29919
29912
  }), se = vr({
29920
29913
  elementType: te,
29921
29914
  externalSlotProps: (C == null ? void 0 : C.root) || {},
29922
- externalForwardedProps: A,
29915
+ externalForwardedProps: R,
29923
29916
  additionalProps: {
29924
29917
  ref: r,
29925
29918
  slotProps: {
@@ -30203,11 +30196,11 @@ const Z4 = ["onEntering"], eH = ["autoFocus", "children", "className", "disableA
30203
30196
  transitionDuration: b,
30204
30197
  TransitionProps: C,
30205
30198
  variant: x
30206
- }), R = nH(M), P = s && !d && h, I = O.useRef(null), A = /* @__PURE__ */ a((N, K) => {
30199
+ }), F = nH(M), P = s && !d && h, I = O.useRef(null), R = /* @__PURE__ */ a((N, K) => {
30207
30200
  I.current && I.current.adjustStyleForScrollbar(N, {
30208
30201
  direction: w ? "rtl" : "ltr"
30209
30202
  }), v && v(N, K);
30210
- }, "handleEntering"), F = /* @__PURE__ */ a((N) => {
30203
+ }, "handleEntering"), A = /* @__PURE__ */ a((N) => {
30211
30204
  N.key === "Tab" && (N.preventDefault(), f && f(N, "tabKeyDown"));
30212
30205
  }, "handleListKeyDown");
30213
30206
  let $ = -1;
@@ -30219,12 +30212,12 @@ const Z4 = ["onEntering"], eH = ["autoFocus", "children", "className", "disableA
30219
30212
  elementType: T.root,
30220
30213
  externalSlotProps: k.root,
30221
30214
  ownerState: M,
30222
- className: [R.root, u]
30215
+ className: [F.root, u]
30223
30216
  }), V = vr({
30224
30217
  elementType: L,
30225
30218
  externalSlotProps: j,
30226
30219
  ownerState: M,
30227
- className: R.paper
30220
+ className: F.paper
30228
30221
  });
30229
30222
  return /* @__PURE__ */ y(oH, E({
30230
30223
  onClose: f,
@@ -30245,19 +30238,19 @@ const Z4 = ["onEntering"], eH = ["autoFocus", "children", "className", "disableA
30245
30238
  ref: r,
30246
30239
  transitionDuration: b,
30247
30240
  TransitionProps: E({
30248
- onEntering: A
30241
+ onEntering: R
30249
30242
  }, C),
30250
30243
  ownerState: M
30251
30244
  }, S, {
30252
30245
  classes: g,
30253
30246
  children: /* @__PURE__ */ y(aH, E({
30254
- onKeyDown: F,
30247
+ onKeyDown: A,
30255
30248
  actions: I,
30256
30249
  autoFocus: s && ($ === -1 || d),
30257
30250
  autoFocusItem: P,
30258
30251
  variant: x
30259
30252
  }, p, {
30260
- className: re(R.list, p.className),
30253
+ className: re(F.list, p.className),
30261
30254
  children: l
30262
30255
  }))
30263
30256
  }));
@@ -30907,7 +30900,7 @@ const CH = /* @__PURE__ */ a(({
30907
30900
  ...s
30908
30901
  } = t, [l, u] = De(!1), {
30909
30902
  fichaProps: { etrs: d }
30910
- } = Ot(), p = ot(ji), f = wn({ ...s, etrs: d, asisEtr: p }), h = Un(), { trigger: m } = dr(), { hidden: g } = uk(), b = Ge(
30903
+ } = Ot(), p = ot(ji), f = wn({ ...s, etrs: d, asisEtr: p }), h = Un(), { trigger: m } = dr(), { hidden: g } = uk(), b = nt(
30911
30904
  async (v, x, T) => {
30912
30905
  typeof e == "function" ? await m() ? (u(!0), e(f, x, T, v).finally(() => {
30913
30906
  u(!1);
@@ -31154,10 +31147,10 @@ const IH = Oe("MuiLink", ["root", "underlineNone", "underlineHover", "underlineA
31154
31147
  focusVisible: T,
31155
31148
  underline: p,
31156
31149
  variant: f
31157
- }), R = DH(M);
31150
+ }), F = DH(M);
31158
31151
  return /* @__PURE__ */ y(_H, E({
31159
31152
  color: i,
31160
- className: re(R.root, o),
31153
+ className: re(F.root, o),
31161
31154
  classes: d,
31162
31155
  component: s,
31163
31156
  onBlur: S,
@@ -31860,7 +31853,7 @@ const a6 = /* @__PURE__ */ a((t) => {
31860
31853
  o.keys.forEach((I) => {
31861
31854
  x[I] != null && (w[I] = x[I], delete M[I]);
31862
31855
  });
31863
- const R = E({}, i, {
31856
+ const F = E({}, i, {
31864
31857
  columns: S,
31865
31858
  container: p,
31866
31859
  direction: f,
@@ -31872,11 +31865,11 @@ const a6 = /* @__PURE__ */ a((t) => {
31872
31865
  spacing: g
31873
31866
  }, w, {
31874
31867
  breakpoints: o.keys
31875
- }), P = a6(R);
31868
+ }), P = a6(F);
31876
31869
  return /* @__PURE__ */ y(Rh.Provider, {
31877
31870
  value: S,
31878
31871
  children: /* @__PURE__ */ y(o6, E({
31879
- ownerState: R,
31872
+ ownerState: F,
31880
31873
  className: re(P.root, s),
31881
31874
  as: d,
31882
31875
  ref: r
@@ -32085,15 +32078,15 @@ const l6 = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked"
32085
32078
  tabIndex: S,
32086
32079
  type: w,
32087
32080
  value: M
32088
- } = e, R = ne(e, l6), [P, I] = dl({
32081
+ } = e, F = ne(e, l6), [P, I] = dl({
32089
32082
  controlled: o,
32090
32083
  default: !!l,
32091
32084
  name: "SwitchBase",
32092
32085
  state: "checked"
32093
- }), A = Hi(), F = /* @__PURE__ */ a((K) => {
32094
- T && T(K), A && A.onFocus && A.onFocus(K);
32086
+ }), R = Hi(), A = /* @__PURE__ */ a((K) => {
32087
+ T && T(K), R && R.onFocus && R.onFocus(K);
32095
32088
  }, "handleFocus"), $ = /* @__PURE__ */ a((K) => {
32096
- v && v(K), A && A.onBlur && A.onBlur(K);
32089
+ v && v(K), R && R.onBlur && R.onBlur(K);
32097
32090
  }, "handleBlur"), L = /* @__PURE__ */ a((K) => {
32098
32091
  if (K.nativeEvent.defaultPrevented)
32099
32092
  return;
@@ -32101,7 +32094,7 @@ const l6 = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked"
32101
32094
  I(D), x && x(K, D);
32102
32095
  }, "handleInputChange");
32103
32096
  let j = u;
32104
- A && typeof j > "u" && (j = A.disabled);
32097
+ R && typeof j > "u" && (j = R.disabled);
32105
32098
  const B = w === "checkbox" || w === "radio", V = E({}, e, {
32106
32099
  checked: P,
32107
32100
  disabled: j,
@@ -32116,11 +32109,11 @@ const l6 = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked"
32116
32109
  disabled: j,
32117
32110
  tabIndex: null,
32118
32111
  role: void 0,
32119
- onFocus: F,
32112
+ onFocus: A,
32120
32113
  onBlur: $,
32121
32114
  ownerState: V,
32122
32115
  ref: r
32123
- }, R, {
32116
+ }, F, {
32124
32117
  children: [/* @__PURE__ */ y(d6, E({
32125
32118
  autoFocus: n,
32126
32119
  checked: o,
@@ -32436,68 +32429,68 @@ process.env.NODE_ENV !== "production" && (DE.propTypes = {
32436
32429
  const rO = /* @__PURE__ */ a((t, e) => t.filter((r) => !e.includes(r)), "not"), rn = /* @__PURE__ */ a((t, e) => t.filter((r) => e.includes(r)), "intersection"), S6 = /* @__PURE__ */ a((t) => {
32437
32430
  const { source: e, record: r } = t, { allChoices: n, availableChoices: o } = OS(), [i, s] = O.useState([]), [l, u] = O.useState(null), [d, p] = O.useState([]), [f, h] = O.useState([]), [m, g] = O.useState(!1), b = r[e] || [], [v, x] = O.useState(""), T = dr(), { field: k } = qd({ defaultValue: "", ...t }), C = O.useMemo(
32438
32431
  () => Array.isArray(b) && b.length > 0 ? (o == null ? void 0 : o.filter(
32439
- (F) => !b.some(($) => $ === F.id)
32432
+ (A) => !b.some(($) => $ === A.id)
32440
32433
  )) || [] : o || [],
32441
32434
  [o, b, e]
32442
32435
  );
32443
32436
  O.useEffect(() => {
32444
32437
  T.setValue(
32445
32438
  e,
32446
- f.map((F) => F.id),
32439
+ f.map((A) => A.id),
32447
32440
  { shouldDirty: m }
32448
32441
  // Importante!
32449
32442
  );
32450
32443
  }, [f, m, T, e]), O.useEffect(() => {
32451
- !m && Array.isArray(n) && (p(C), h(() => b.map((F) => n.find(($) => $.id === F))), g(!0));
32444
+ !m && Array.isArray(n) && (p(C), h(() => b.map((A) => n.find(($) => $.id === A))), g(!0));
32452
32445
  }, [n, C, b, m]);
32453
- const S = /* @__PURE__ */ a((F, $, L) => () => {
32454
- const j = i.indexOf(F), B = [...i];
32446
+ const S = /* @__PURE__ */ a((A, $, L) => () => {
32447
+ const j = i.indexOf(A), B = [...i];
32455
32448
  if (L.shiftKey && l !== null) {
32456
32449
  const V = Math.min(l, $), N = Math.max(l, $);
32457
32450
  d.slice(V, N + 1).map((D) => D.id).forEach((D) => {
32458
32451
  B.includes(D) || B.push(D);
32459
32452
  });
32460
32453
  } else
32461
- j === -1 ? B.push(F) : B.splice(j, 1);
32454
+ j === -1 ? B.push(A) : B.splice(j, 1);
32462
32455
  s(B), u($);
32463
- }, "handleToggle"), w = /* @__PURE__ */ a((F, $) => {
32456
+ }, "handleToggle"), w = /* @__PURE__ */ a((A, $) => {
32464
32457
  if ($) {
32465
- const L = [...f, F];
32466
- h(L), p(d.filter((j) => j.id !== F.id));
32458
+ const L = [...f, A];
32459
+ h(L), p(d.filter((j) => j.id !== A.id));
32467
32460
  } else {
32468
32461
  const L = f.filter(
32469
- (j) => j.id !== F.id
32462
+ (j) => j.id !== A.id
32470
32463
  );
32471
- p([...d, F]), h(L);
32464
+ p([...d, A]), h(L);
32472
32465
  }
32473
32466
  }, "handleDoubleClick"), M = /* @__PURE__ */ a(() => {
32474
- const F = [...f, ...d];
32475
- h(F), p([]);
32476
- }, "handleAllRight"), R = /* @__PURE__ */ a(() => {
32477
- const F = [...d, ...f];
32478
- p(F), h([]);
32467
+ const A = [...f, ...d];
32468
+ h(A), p([]);
32469
+ }, "handleAllRight"), F = /* @__PURE__ */ a(() => {
32470
+ const A = [...d, ...f];
32471
+ p(A), h([]);
32479
32472
  }, "handleAllLeft"), P = /* @__PURE__ */ a(() => {
32480
- const F = rn(
32473
+ const A = rn(
32481
32474
  i,
32482
32475
  d.map((L) => L.id)
32483
32476
  ), $ = [
32484
32477
  ...f,
32485
- ...d.filter((L) => F.includes(L.id))
32478
+ ...d.filter((L) => A.includes(L.id))
32486
32479
  ];
32487
- h($), p(d.filter((L) => !F.includes(L.id))), s(rO(i, F));
32480
+ h($), p(d.filter((L) => !A.includes(L.id))), s(rO(i, A));
32488
32481
  }, "handleCheckedRight"), I = /* @__PURE__ */ a(() => {
32489
- const F = rn(
32482
+ const A = rn(
32490
32483
  i,
32491
32484
  f.map((j) => j.id)
32492
32485
  ), $ = [
32493
32486
  ...d,
32494
- ...f.filter((j) => F.includes(j.id))
32495
- ], L = f.filter((j) => !F.includes(j.id));
32496
- p($), h(L), s(rO(i, F));
32497
- }, "handleCheckedLeft"), A = /* @__PURE__ */ a((F, $, L = {}) => {
32487
+ ...f.filter((j) => A.includes(j.id))
32488
+ ], L = f.filter((j) => !A.includes(j.id));
32489
+ p($), h(L), s(rO(i, A));
32490
+ }, "handleCheckedLeft"), R = /* @__PURE__ */ a((A, $, L = {}) => {
32498
32491
  const j = /* @__PURE__ */ a((V) => {
32499
32492
  x(V === "" ? V : V.target.value);
32500
- }, "handleSearchChange"), B = F.filter(
32493
+ }, "handleSearchChange"), B = A.filter(
32501
32494
  (V) => V.etiqueta.toLowerCase().includes(v.toLowerCase())
32502
32495
  );
32503
32496
  return /* @__PURE__ */ W(
@@ -32592,11 +32585,11 @@ const rO = /* @__PURE__ */ a((t, e) => t.filter((r) => !e.includes(r)), "not"),
32592
32585
  {
32593
32586
  container: !0,
32594
32587
  spacing: 4,
32595
- sx: /* @__PURE__ */ a((F) => ({
32588
+ sx: /* @__PURE__ */ a((A) => ({
32596
32589
  justifyContent: "flex-start",
32597
32590
  alignItems: "center",
32598
- paddingTop: F.spacing(1),
32599
- marginLeft: F.spacing(-4)
32591
+ paddingTop: A.spacing(1),
32592
+ marginLeft: A.spacing(-4)
32600
32593
  }), "sx"),
32601
32594
  children: [
32602
32595
  /* @__PURE__ */ y(Ln, { item: !0, children: /* @__PURE__ */ y(
@@ -32606,7 +32599,7 @@ const rO = /* @__PURE__ */ a((t, e) => t.filter((r) => !e.includes(r)), "not"),
32606
32599
  source: e,
32607
32600
  resource: t.resource,
32608
32601
  isRequired: t.isRequired,
32609
- children: A(d, !0)
32602
+ children: R(d, !0)
32610
32603
  }
32611
32604
  ) }),
32612
32605
  /* @__PURE__ */ y(Ln, { item: !0, children: /* @__PURE__ */ W(
@@ -32614,9 +32607,9 @@ const rO = /* @__PURE__ */ a((t, e) => t.filter((r) => !e.includes(r)), "not"),
32614
32607
  {
32615
32608
  container: !0,
32616
32609
  direction: "column",
32617
- sx: /* @__PURE__ */ a((F) => ({
32610
+ sx: /* @__PURE__ */ a((A) => ({
32618
32611
  alignItems: "center",
32619
- gap: F.spacing(2),
32612
+ gap: A.spacing(2),
32620
32613
  mt: 2.25
32621
32614
  }), "sx"),
32622
32615
  children: [
@@ -32627,15 +32620,15 @@ const rO = /* @__PURE__ */ a((t, e) => t.filter((r) => !e.includes(r)), "not"),
32627
32620
  size: "small",
32628
32621
  onClick: M,
32629
32622
  disabled: d.length === 0,
32630
- sx: /* @__PURE__ */ a((F) => ({
32631
- backgroundColor: d.length === 0 ? F.palette.grey[300] : F.palette.primary.main,
32632
- color: d.length === 0 ? F.palette.grey[600] : F.palette.common.white,
32633
- boxShadow: F.shadows[2],
32623
+ sx: /* @__PURE__ */ a((A) => ({
32624
+ backgroundColor: d.length === 0 ? A.palette.grey[300] : A.palette.primary.main,
32625
+ color: d.length === 0 ? A.palette.grey[600] : A.palette.common.white,
32626
+ boxShadow: A.shadows[2],
32634
32627
  "&:hover": {
32635
- backgroundColor: d.length === 0 ? F.palette.grey[300] : F.palette.primary.dark
32628
+ backgroundColor: d.length === 0 ? A.palette.grey[300] : A.palette.primary.dark
32636
32629
  },
32637
- width: F.spacing(5),
32638
- height: F.spacing(5)
32630
+ width: A.spacing(5),
32631
+ height: A.spacing(5)
32639
32632
  }), "sx"),
32640
32633
  children: "≫"
32641
32634
  }
@@ -32648,25 +32641,25 @@ const rO = /* @__PURE__ */ a((t, e) => t.filter((r) => !e.includes(r)), "not"),
32648
32641
  onClick: P,
32649
32642
  disabled: rn(
32650
32643
  i,
32651
- d.map((F) => F.id)
32644
+ d.map((A) => A.id)
32652
32645
  ).length === 0,
32653
- sx: /* @__PURE__ */ a((F) => ({
32646
+ sx: /* @__PURE__ */ a((A) => ({
32654
32647
  backgroundColor: rn(
32655
32648
  i,
32656
32649
  d.map(($) => $.id)
32657
- ).length === 0 ? F.palette.grey[300] : F.palette.primary.main,
32650
+ ).length === 0 ? A.palette.grey[300] : A.palette.primary.main,
32658
32651
  color: rn(
32659
32652
  i,
32660
32653
  d.map(($) => $.id)
32661
- ).length === 0 ? F.palette.grey[600] : F.palette.common.white,
32654
+ ).length === 0 ? A.palette.grey[600] : A.palette.common.white,
32662
32655
  "&:hover": {
32663
32656
  backgroundColor: rn(
32664
32657
  i,
32665
32658
  d.map(($) => $.id)
32666
- ).length === 0 ? F.palette.grey[300] : F.palette.primary.dark
32659
+ ).length === 0 ? A.palette.grey[300] : A.palette.primary.dark
32667
32660
  },
32668
- width: F.spacing(5),
32669
- height: F.spacing(5)
32661
+ width: A.spacing(5),
32662
+ height: A.spacing(5)
32670
32663
  }), "sx"),
32671
32664
  children: ">"
32672
32665
  }
@@ -32679,25 +32672,25 @@ const rO = /* @__PURE__ */ a((t, e) => t.filter((r) => !e.includes(r)), "not"),
32679
32672
  onClick: I,
32680
32673
  disabled: rn(
32681
32674
  i,
32682
- f.map((F) => F.id)
32675
+ f.map((A) => A.id)
32683
32676
  ).length === 0,
32684
- sx: /* @__PURE__ */ a((F) => ({
32677
+ sx: /* @__PURE__ */ a((A) => ({
32685
32678
  backgroundColor: rn(
32686
32679
  i,
32687
32680
  f.map(($) => $.id)
32688
- ).length === 0 ? F.palette.grey[300] : F.palette.primary.main,
32681
+ ).length === 0 ? A.palette.grey[300] : A.palette.primary.main,
32689
32682
  color: rn(
32690
32683
  i,
32691
32684
  f.map(($) => $.id)
32692
- ).length === 0 ? F.palette.grey[600] : F.palette.common.white,
32685
+ ).length === 0 ? A.palette.grey[600] : A.palette.common.white,
32693
32686
  "&:hover": {
32694
32687
  backgroundColor: rn(
32695
32688
  i,
32696
32689
  f.map(($) => $.id)
32697
- ).length === 0 ? F.palette.grey[300] : F.palette.primary.dark
32690
+ ).length === 0 ? A.palette.grey[300] : A.palette.primary.dark
32698
32691
  },
32699
- width: F.spacing(5),
32700
- height: F.spacing(5)
32692
+ width: A.spacing(5),
32693
+ height: A.spacing(5)
32701
32694
  }), "sx"),
32702
32695
  children: "<"
32703
32696
  }
@@ -32707,16 +32700,16 @@ const rO = /* @__PURE__ */ a((t, e) => t.filter((r) => !e.includes(r)), "not"),
32707
32700
  {
32708
32701
  variant: "contained",
32709
32702
  size: "small",
32710
- onClick: R,
32703
+ onClick: F,
32711
32704
  disabled: f.length === 0,
32712
- sx: /* @__PURE__ */ a((F) => ({
32713
- backgroundColor: f.length === 0 ? F.palette.grey[300] : F.palette.primary.main,
32714
- color: f.length === 0 ? F.palette.grey[600] : F.palette.common.white,
32705
+ sx: /* @__PURE__ */ a((A) => ({
32706
+ backgroundColor: f.length === 0 ? A.palette.grey[300] : A.palette.primary.main,
32707
+ color: f.length === 0 ? A.palette.grey[600] : A.palette.common.white,
32715
32708
  "&:hover": {
32716
- backgroundColor: f.length === 0 ? F.palette.grey[300] : F.palette.primary.dark
32709
+ backgroundColor: f.length === 0 ? A.palette.grey[300] : A.palette.primary.dark
32717
32710
  },
32718
- width: F.spacing(5),
32719
- height: F.spacing(5)
32711
+ width: A.spacing(5),
32712
+ height: A.spacing(5)
32720
32713
  }), "sx"),
32721
32714
  children: "≪"
32722
32715
  }
@@ -32724,7 +32717,7 @@ const rO = /* @__PURE__ */ a((t, e) => t.filter((r) => !e.includes(r)), "not"),
32724
32717
  ]
32725
32718
  }
32726
32719
  ) }),
32727
- /* @__PURE__ */ y(Ln, { item: !0, children: A(f, !1, { mt: 2.5 }) })
32720
+ /* @__PURE__ */ y(Ln, { item: !0, children: R(f, !1, { mt: 2.5 }) })
32728
32721
  ]
32729
32722
  }
32730
32723
  );
@@ -32859,12 +32852,12 @@ const _6 = /* @__PURE__ */ a((t) => /* @__PURE__ */ y(
32859
32852
  onConfirm: d,
32860
32853
  contentResource: p,
32861
32854
  translateOptions: f = {}
32862
- } = t, h = Tt(), [m] = CS({ resource: p }), g = Ge(
32855
+ } = t, h = Tt(), [m] = CS({ resource: p }), g = nt(
32863
32856
  (v, x) => {
32864
32857
  v.stopPropagation(), d(v, m);
32865
32858
  },
32866
32859
  [m, d]
32867
- ), b = Ge((v) => {
32860
+ ), b = nt((v) => {
32868
32861
  v.stopPropagation();
32869
32862
  }, []);
32870
32863
  return /* @__PURE__ */ W(
@@ -32923,7 +32916,7 @@ const _6 = /* @__PURE__ */ a((t) => /* @__PURE__ */ y(
32923
32916
  m.setValue(f, z6);
32924
32917
  }, 0), n.current = !0);
32925
32918
  }, [m, f]);
32926
- const g = Ge(() => {
32919
+ const g = nt(() => {
32927
32920
  r(!1);
32928
32921
  }, [r]), b = /* @__PURE__ */ a((T, k) => {
32929
32922
  r(!1), m.setValue(f, {
@@ -33079,7 +33072,7 @@ const _6 = /* @__PURE__ */ a((t) => /* @__PURE__ */ y(
33079
33072
  o(f);
33080
33073
  }, "loadInitialData"))();
33081
33074
  }, []);
33082
- const s = Ge(
33075
+ const s = nt(
33083
33076
  (p, f) => {
33084
33077
  r({ fillista: f, mapId: ["funnro"] });
33085
33078
  },
@@ -33186,12 +33179,12 @@ const _6 = /* @__PURE__ */ a((t) => /* @__PURE__ */ y(
33186
33179
  onClose: l,
33187
33180
  onConfirm: u,
33188
33181
  translateOptions: d = {}
33189
- } = t, p = Tt(), f = Ge(
33182
+ } = t, p = Tt(), f = nt(
33190
33183
  (m, g) => {
33191
33184
  m.stopPropagation(), u(m, g);
33192
33185
  },
33193
33186
  [u]
33194
- ), h = Ge((m) => {
33187
+ ), h = nt((m) => {
33195
33188
  m.stopPropagation();
33196
33189
  }, []);
33197
33190
  return /* @__PURE__ */ W(
@@ -33249,15 +33242,15 @@ const _6 = /* @__PURE__ */ a((t) => /* @__PURE__ */ y(
33249
33242
  s.setValue(e, Q6);
33250
33243
  }, 0), p.current = !0);
33251
33244
  }, [s, e]);
33252
- const w = Ge(() => {
33245
+ const w = nt(() => {
33253
33246
  i(!1);
33254
- }, [i]), M = /* @__PURE__ */ a((I, A) => {
33247
+ }, [i]), M = /* @__PURE__ */ a((I, R) => {
33255
33248
  i(!1), s.setValue(e, {
33256
33249
  seleccion: n.join(",").replaceAll("funnro=", ""),
33257
33250
  all: !1,
33258
33251
  none: !1
33259
33252
  }), S && S(C, l, I);
33260
- }, "handleConfirm"), R = /* @__PURE__ */ a((I) => {
33253
+ }, "handleConfirm"), F = /* @__PURE__ */ a((I) => {
33261
33254
  s.setValue(e, {
33262
33255
  seleccion: "",
33263
33256
  all: !1,
@@ -33296,7 +33289,7 @@ const _6 = /* @__PURE__ */ a((t) => /* @__PURE__ */ y(
33296
33289
  b && /* @__PURE__ */ y(
33297
33290
  Nr,
33298
33291
  {
33299
- onClick: R,
33292
+ onClick: F,
33300
33293
  disabled: h,
33301
33294
  "aria-label": "Ninguno",
33302
33295
  size: "small",
@@ -41998,10 +41991,10 @@ function cU(t, e, r, n, o) {
41998
41991
  if (t.input.compositionPendingChanges = 0, e < 0) {
41999
41992
  let P = t.input.lastSelectionTime > Date.now() - 50 ? t.input.lastSelectionOrigin : null, I = Kb(t, P);
42000
41993
  if (I && !t.state.selection.eq(I)) {
42001
- if (qt && Kr && t.input.lastKeyCode === 13 && Date.now() - 100 < t.input.lastKeyCodeTime && t.someProp("handleKeyDown", (F) => F(t, jo(13, "Enter"))))
41994
+ if (qt && Kr && t.input.lastKeyCode === 13 && Date.now() - 100 < t.input.lastKeyCodeTime && t.someProp("handleKeyDown", (A) => A(t, jo(13, "Enter"))))
42002
41995
  return;
42003
- let A = t.state.tr.setSelection(I);
42004
- P == "pointer" ? A.setMeta("pointer", !0) : P == "key" && A.scrollIntoView(), i && A.setMeta("composition", i), t.dispatch(A);
41996
+ let R = t.state.tr.setSelection(I);
41997
+ P == "pointer" ? R.setMeta("pointer", !0) : P == "key" && R.scrollIntoView(), i && R.setMeta("composition", i), t.dispatch(R);
42005
41998
  }
42006
41999
  return;
42007
42000
  }
@@ -42042,15 +42035,15 @@ function cU(t, e, r, n, o) {
42042
42035
  return P(t, jo(13, "Enter"));
42043
42036
  });
42044
42037
  }, 20));
42045
- let C = g.start, S = g.endA, w, M, R;
42038
+ let C = g.start, S = g.endA, w, M, F;
42046
42039
  if (T) {
42047
42040
  if (b.pos == v.pos)
42048
42041
  or && mo <= 11 && b.parentOffset == 0 && (t.domObserver.suppressSelectionUpdates(), setTimeout(() => Bn(t), 20)), w = t.state.tr.delete(C, S), M = p.resolve(g.start).marksAcross(p.resolve(g.endA));
42049
42042
  else if (
42050
42043
  // Adding or removing a mark
42051
- g.endA == g.endB && (R = uU(b.parent.content.cut(b.parentOffset, v.parentOffset), x.parent.content.cut(x.parentOffset, g.endA - x.start())))
42044
+ g.endA == g.endB && (F = uU(b.parent.content.cut(b.parentOffset, v.parentOffset), x.parent.content.cut(x.parentOffset, g.endA - x.start())))
42052
42045
  )
42053
- w = t.state.tr, R.type == "add" ? w.addMark(C, S, R.mark) : w.removeMark(C, S, R.mark);
42046
+ w = t.state.tr, F.type == "add" ? w.addMark(C, S, F.mark) : w.removeMark(C, S, F.mark);
42054
42047
  else if (b.parent.child(b.index()).isText && b.index() == v.index() - (v.textOffset ? 0 : 1)) {
42055
42048
  let P = b.parent.textBetween(b.parentOffset, v.parentOffset);
42056
42049
  if (t.someProp("handleTextInput", (I) => I(t, C, S, P)))
@@ -43758,13 +43751,13 @@ function o7(t) {
43758
43751
  if (!b && !v && !T)
43759
43752
  return;
43760
43753
  if (T) {
43761
- const { from: S, text: w } = x, M = S + w.length, R = n7(w);
43754
+ const { from: S, text: w } = x, M = S + w.length, F = n7(w);
43762
43755
  return u({
43763
43756
  rule: p,
43764
43757
  state: m,
43765
43758
  from: S,
43766
43759
  to: { b: M },
43767
- pasteEvt: R
43760
+ pasteEvt: F
43768
43761
  });
43769
43762
  }
43770
43763
  const k = h.doc.content.findDiffStart(m.doc.content), C = h.doc.content.findDiffEnd(m.doc.content);
@@ -44769,8 +44762,8 @@ const gq = /* @__PURE__ */ a(({ keepMarks: t = !0 } = {}) => ({ tr: e, state: r,
44769
44762
  if (o) {
44770
44763
  let x = ae.empty;
44771
44764
  const T = u.index(-1) ? 1 : u.index(-2) ? 2 : 3;
44772
- for (let R = u.depth - T; R >= u.depth - 3; R -= 1)
44773
- x = ae.from(u.node(R).copy(x));
44765
+ for (let F = u.depth - T; F >= u.depth - 3; F -= 1)
44766
+ x = ae.from(u.node(F).copy(x));
44774
44767
  const k = u.indexAfter(-1) < u.node(-2).childCount ? 1 : u.indexAfter(-2) < u.node(-3).childCount ? 2 : 3, C = {
44775
44768
  ...Wc(h, u.node().type.name, u.node().attrs),
44776
44769
  ...e
@@ -44779,10 +44772,10 @@ const gq = /* @__PURE__ */ a(({ keepMarks: t = !0 } = {}) => ({ tr: e, state: r,
44779
44772
  const w = u.before(u.depth - (T - 1));
44780
44773
  r.replace(w, u.after(-k), new fe(x, 4 - T, 0));
44781
44774
  let M = -1;
44782
- r.doc.nodesBetween(w, r.doc.content.size, (R, P) => {
44775
+ r.doc.nodesBetween(w, r.doc.content.size, (F, P) => {
44783
44776
  if (M > -1)
44784
44777
  return !1;
44785
- R.isTextblock && R.content.size === 0 && (M = P + 1);
44778
+ F.isTextblock && F.content.size === 0 && (M = P + 1);
44786
44779
  }), M > -1 && r.setSelection(Fe.near(r.doc.resolve(M))), r.scrollIntoView();
44787
44780
  }
44788
44781
  return !0;
@@ -44839,7 +44832,7 @@ const gq = /* @__PURE__ */ a(({ keepMarks: t = !0 } = {}) => ({ tr: e, state: r,
44839
44832
  return u().command(() => (i.setNodeMarkup(S.pos, m), !0)).command(() => Vf(i, m)).command(() => jf(i, m)).run();
44840
44833
  }
44841
44834
  return !r || !C || !l ? u().command(() => p().wrapInList(m, n) ? !0 : d.clearNodes()).wrapInList(m, n).command(() => Vf(i, m)).command(() => jf(i, m)).run() : u().command(() => {
44842
- const w = p().wrapInList(m, n), M = C.filter((R) => h.includes(R.type.name));
44835
+ const w = p().wrapInList(m, n), M = C.filter((F) => h.includes(F.type.name));
44843
44836
  return i.ensureMarks(M), w ? !0 : d.clearNodes();
44844
44837
  }).wrapInList(m, n).command(() => Vf(i, m)).command(() => jf(i, m)).run();
44845
44838
  }, "toggleList"), vq = /* @__PURE__ */ a((t, e = {}, r = {}) => ({ state: n, commands: o }) => {
@@ -46609,9 +46602,9 @@ function n8(t) {
46609
46602
  Le(C, e.numeric, S);
46610
46603
  const w = wr(Mc), M = wr();
46611
46604
  Le(w, r, w), Le(w, n, M), Le(M, r, w), Le(M, n, M), ue(k, an, w), ue(S, an, w);
46612
- const R = ue(u, so), P = ue(d, so), I = ue(P, an), A = ue(I, an);
46613
- Le(u, e.domain, l), ue(u, nn, T), ue(u, on, x), Le(d, e.domain, l), ue(d, nn, T), ue(d, on, x), Le(R, e.domain, w), ue(R, an, w), Le(A, e.domain, w), Le(A, r, w), ue(A, an, w);
46614
- const F = [
46605
+ const F = ue(u, so), P = ue(d, so), I = ue(P, an), R = ue(I, an);
46606
+ Le(u, e.domain, l), ue(u, nn, T), ue(u, on, x), Le(d, e.domain, l), ue(d, nn, T), ue(d, on, x), Le(F, e.domain, w), ue(F, an, w), Le(R, e.domain, w), Le(R, r, w), ue(R, an, w);
46607
+ const A = [
46615
46608
  [zs, Hs],
46616
46609
  // {}
46617
46610
  [Bu, Vu],
@@ -46629,8 +46622,8 @@ function n8(t) {
46629
46622
  [Qu, Xu]
46630
46623
  // <>
46631
46624
  ];
46632
- for (let $ = 0; $ < F.length; $++) {
46633
- const [L, j] = F[$], B = ue(w, L);
46625
+ for (let $ = 0; $ < A.length; $++) {
46626
+ const [L, j] = A[$], B = ue(w, L);
46634
46627
  ue(M, L, B), ue(B, j, w);
46635
46628
  const V = wr(Mc);
46636
46629
  Le(B, r, V);
@@ -47085,10 +47078,10 @@ function v8() {
47085
47078
  {
47086
47079
  var w = e.ReactDebugCurrentFrame, M = w.getStackAddendum();
47087
47080
  M !== "" && (C += "%s", S = S.concat([M]));
47088
- var R = S.map(function(P) {
47081
+ var F = S.map(function(P) {
47089
47082
  return String(P);
47090
47083
  });
47091
- R.unshift("Warning: " + C), Function.prototype.apply.call(console[k], console, R);
47084
+ F.unshift("Warning: " + C), Function.prototype.apply.call(console[k], console, F);
47092
47085
  }
47093
47086
  }
47094
47087
  a(n, "printWarning");
@@ -47104,12 +47097,12 @@ function v8() {
47104
47097
  var M = C();
47105
47098
  i(w, M) || (r("The result of getSnapshot should be cached to avoid an infinite loop"), f = !0);
47106
47099
  }
47107
- var R = s({
47100
+ var F = s({
47108
47101
  inst: {
47109
47102
  value: w,
47110
47103
  getSnapshot: C
47111
47104
  }
47112
- }), P = R[0].inst, I = R[1];
47105
+ }), P = F[0].inst, I = F[1];
47113
47106
  return u(function() {
47114
47107
  P.value = w, P.getSnapshot = C, m(P) && I({
47115
47108
  inst: P
@@ -47118,12 +47111,12 @@ function v8() {
47118
47111
  m(P) && I({
47119
47112
  inst: P
47120
47113
  });
47121
- var A = /* @__PURE__ */ a(function() {
47114
+ var R = /* @__PURE__ */ a(function() {
47122
47115
  m(P) && I({
47123
47116
  inst: P
47124
47117
  });
47125
47118
  }, "handleStoreChange");
47126
- return k(A);
47119
+ return k(R);
47127
47120
  }, [k]), d(w), w;
47128
47121
  }
47129
47122
  a(h, "useSyncExternalStore");
@@ -47333,8 +47326,8 @@ function w8() {
47333
47326
  return C = w;
47334
47327
  }
47335
47328
  if (M = C, n(k, w)) return M;
47336
- var R = h(w);
47337
- return m !== void 0 && m(M, R) ? M : (k = w, C = R);
47329
+ var F = h(w);
47330
+ return m !== void 0 && m(M, F) ? M : (k = w, C = F);
47338
47331
  }
47339
47332
  a(x, "a");
47340
47333
  var T = !1, k, C, S = f === void 0 ? null : f;
@@ -47378,10 +47371,10 @@ function M8() {
47378
47371
  value: null
47379
47372
  }, b.current = v) : v = b.current;
47380
47373
  var x = l(function() {
47381
- var S = !1, w, M, R = /* @__PURE__ */ a(function(F) {
47374
+ var S = !1, w, M, F = /* @__PURE__ */ a(function(A) {
47382
47375
  if (!S) {
47383
- S = !0, w = F;
47384
- var $ = m(F);
47376
+ S = !0, w = A;
47377
+ var $ = m(A);
47385
47378
  if (g !== void 0 && v.hasValue) {
47386
47379
  var L = v.value;
47387
47380
  if (g(L, $))
@@ -47390,16 +47383,16 @@ function M8() {
47390
47383
  return M = $, $;
47391
47384
  }
47392
47385
  var j = w, B = M;
47393
- if (n(j, F))
47386
+ if (n(j, A))
47394
47387
  return B;
47395
- var V = m(F);
47396
- return g !== void 0 && g(B, V) ? B : (w = F, M = V, V);
47388
+ var V = m(A);
47389
+ return g !== void 0 && g(B, V) ? B : (w = A, M = V, V);
47397
47390
  }, "memoizedSelector"), P = h === void 0 ? null : h, I = /* @__PURE__ */ a(function() {
47398
- return R(f());
47399
- }, "getSnapshotWithSelector"), A = P === null ? void 0 : function() {
47400
- return R(P());
47391
+ return F(f());
47392
+ }, "getSnapshotWithSelector"), R = P === null ? void 0 : function() {
47393
+ return F(P());
47401
47394
  };
47402
- return [I, A];
47395
+ return [I, R];
47403
47396
  }, [f, h, m, g]), T = x[0], k = x[1], C = o(p, T, k);
47404
47397
  return s(function() {
47405
47398
  v.hasValue = !0, v.value = C;
@@ -49409,7 +49402,7 @@ Mw.displayName = "I18nContext";
49409
49402
  var uQ = /* @__PURE__ */ a(function() {
49410
49403
  return ot(Mw);
49411
49404
  }, "useI18nProvider"), Ur = /* @__PURE__ */ a(function() {
49412
- var t = uQ(), e = Ge(
49405
+ var t = uQ(), e = nt(
49413
49406
  function(r, n) {
49414
49407
  return t.translate(r, n);
49415
49408
  },
@@ -49690,22 +49683,22 @@ var OQ = $t(null), SQ = /* @__PURE__ */ a(function() {
49690
49683
  });
49691
49684
  });
49692
49685
  }, "validate")
49693
- } }, m)), M = w.field, R = w.fieldState, P = w.formState;
49686
+ } }, m)), M = w.field, F = w.fieldState, P = w.formState;
49694
49687
  CQ({ inputProps: t });
49695
49688
  var I = Zf(function() {
49696
49689
  for (var $ = [], L = 0; L < arguments.length; L++)
49697
49690
  $[L] = arguments[L];
49698
49691
  M.onBlur(), l && l.apply(void 0, $);
49699
- }), A = Zf(function() {
49692
+ }), R = Zf(function() {
49700
49693
  for (var $, L, j, B, V, N = [], K = 0; K < arguments.length; K++)
49701
49694
  N[K] = arguments[K];
49702
49695
  var D = t.type === "checkbox" && ((L = ($ = N[0]) === null || $ === void 0 ? void 0 : $.target) === null || L === void 0 ? void 0 : L.value) === "on" ? N[0].target.checked : (V = (B = (j = N[0]) === null || j === void 0 ? void 0 : j.target) === null || B === void 0 ? void 0 : B.value) !== null && V !== void 0 ? V : N[0];
49703
49696
  M.onChange(k ? k(D) : D), u && u.apply(void 0, N);
49704
- }), F = zo(zo({}, M), { value: n ? n(M.value) : M.value, onBlur: I, onChange: A });
49697
+ }), A = zo(zo({}, M), { value: n ? n(M.value) : M.value, onBlur: I, onChange: R });
49705
49698
  return {
49706
49699
  id: o || C,
49707
- field: F,
49708
- fieldState: R,
49700
+ field: A,
49701
+ fieldState: F,
49709
49702
  formState: P,
49710
49703
  isRequired: i || TQ(h)
49711
49704
  };
@@ -49723,7 +49716,7 @@ var LQ = /* @__PURE__ */ a(function() {
49723
49716
  return t || $Q;
49724
49717
  }, "useSourceContext"), NQ = /* @__PURE__ */ a(function() {
49725
49718
  return ot(Oy);
49726
- }, "useOptionalSourceContext"), Qe = {};
49719
+ }, "useOptionalSourceContext"), Je = {};
49727
49720
  /*!
49728
49721
  * inflection
49729
49722
  * Copyright(c) 2011 Ben Lin <ben@dreamerslab.com>
@@ -49732,8 +49725,8 @@ var LQ = /* @__PURE__ */ a(function() {
49732
49725
  * @fileoverview
49733
49726
  * A port of inflection-js to node.js module.
49734
49727
  */
49735
- Object.defineProperty(Qe, "__esModule", { value: !0 });
49736
- var Aw = Qe.transform = Qe.ordinalize = Qe.foreignKey = Qe.classify = Qe.tableize = Qe.demodulize = Qe.titleize = Qe.dasherize = Qe.capitalize = Qe.humanize = Qe.underscore = Qe.camelize = Qe.inflect = Qe.singularize = Qe.pluralize = void 0;
49728
+ Object.defineProperty(Je, "__esModule", { value: !0 });
49729
+ var Aw = Je.transform = Je.ordinalize = Je.foreignKey = Je.classify = Je.tableize = Je.demodulize = Je.titleize = Je.dasherize = Je.capitalize = Je.humanize = Je.underscore = Je.camelize = Je.inflect = Je.singularize = Je.pluralize = void 0;
49737
49730
  const md = [
49738
49731
  // 'access',
49739
49732
  "accommodation",
@@ -50264,17 +50257,17 @@ function Sy(t, e) {
50264
50257
  return gd(t, Fw, md, e);
50265
50258
  }
50266
50259
  a(Sy, "pluralize");
50267
- Qe.pluralize = Sy;
50260
+ Je.pluralize = Sy;
50268
50261
  function Cy(t, e) {
50269
50262
  return gd(t, Iw, md, e);
50270
50263
  }
50271
50264
  a(Cy, "singularize");
50272
- Qe.singularize = Cy;
50265
+ Je.singularize = Cy;
50273
50266
  function zQ(t, e, r, n) {
50274
50267
  return isNaN(e) ? t : e === 1 ? gd(t, Iw, md, r) : gd(t, Fw, md, n);
50275
50268
  }
50276
50269
  a(zQ, "inflect");
50277
- Qe.inflect = zQ;
50270
+ Je.inflect = zQ;
50278
50271
  function ky(t, e) {
50279
50272
  const r = t.split("/"), n = r.length;
50280
50273
  let o, i, s, l;
@@ -50286,7 +50279,7 @@ function ky(t, e) {
50286
50279
  return r.join("::");
50287
50280
  }
50288
50281
  a(ky, "camelize");
50289
- Qe.camelize = ky;
50282
+ Je.camelize = ky;
50290
50283
  function jp(t, e) {
50291
50284
  if (e && t === t.toUpperCase())
50292
50285
  return t;
@@ -50296,22 +50289,22 @@ function jp(t, e) {
50296
50289
  return r.join("/").toLowerCase();
50297
50290
  }
50298
50291
  a(jp, "underscore");
50299
- Qe.underscore = jp;
50292
+ Je.underscore = jp;
50300
50293
  function Lw(t, e) {
50301
50294
  return t = t.toLowerCase(), t = t.replace(_Q, ""), t = t.replace($w, " "), e || (t = zp(t)), t;
50302
50295
  }
50303
50296
  a(Lw, "humanize");
50304
- Qe.humanize = Lw;
50297
+ Je.humanize = Lw;
50305
50298
  function zp(t) {
50306
50299
  return t = t.toLowerCase(), t.substring(0, 1).toUpperCase() + t.substring(1);
50307
50300
  }
50308
50301
  a(zp, "capitalize");
50309
- Qe.capitalize = zp;
50302
+ Je.capitalize = zp;
50310
50303
  function Nw(t) {
50311
50304
  return t.replace(BQ, "-");
50312
50305
  }
50313
50306
  a(Nw, "dasherize");
50314
- Qe.dasherize = Nw;
50307
+ Je.dasherize = Nw;
50315
50308
  function Dw(t) {
50316
50309
  t = t.toLowerCase().replace($w, " ");
50317
50310
  const e = t.split(" "), r = e.length;
@@ -50325,28 +50318,28 @@ function Dw(t) {
50325
50318
  return t = e.join(" "), t = t.substring(0, 1).toUpperCase() + t.substring(1), t;
50326
50319
  }
50327
50320
  a(Dw, "titleize");
50328
- Qe.titleize = Dw;
50321
+ Je.titleize = Dw;
50329
50322
  function Ey(t) {
50330
50323
  const e = t.split("::");
50331
50324
  return e[e.length - 1];
50332
50325
  }
50333
50326
  a(Ey, "demodulize");
50334
- Qe.demodulize = Ey;
50327
+ Je.demodulize = Ey;
50335
50328
  function _w(t) {
50336
50329
  return t = jp(t), t = Sy(t), t;
50337
50330
  }
50338
50331
  a(_w, "tableize");
50339
- Qe.tableize = _w;
50332
+ Je.tableize = _w;
50340
50333
  function Bw(t) {
50341
50334
  return t = ky(t), t = Cy(t), t;
50342
50335
  }
50343
50336
  a(Bw, "classify");
50344
- Qe.classify = Bw;
50337
+ Je.classify = Bw;
50345
50338
  function Vw(t, e) {
50346
50339
  return t = Ey(t), t = jp(t) + (e ? "" : "_") + "id", t;
50347
50340
  }
50348
50341
  a(Vw, "foreignKey");
50349
- Qe.foreignKey = Vw;
50342
+ Je.foreignKey = Vw;
50350
50343
  function jw(t) {
50351
50344
  const e = t.split(" "), r = e.length;
50352
50345
  for (let n = 0; n < r; n++) {
@@ -50360,7 +50353,7 @@ function jw(t) {
50360
50353
  return e.join(" ");
50361
50354
  }
50362
50355
  a(jw, "ordinalize");
50363
- Qe.ordinalize = jw;
50356
+ Je.ordinalize = jw;
50364
50357
  const HQ = {
50365
50358
  pluralize: Sy,
50366
50359
  singularize: Cy,
@@ -50385,7 +50378,7 @@ function WQ(t, e) {
50385
50378
  return t;
50386
50379
  }
50387
50380
  a(WQ, "transform");
50388
- Aw = Qe.transform = WQ;
50381
+ Aw = Je.transform = WQ;
50389
50382
  var zw = /* @__PURE__ */ a(function(t) {
50390
50383
  var e = ot(IQ);
50391
50384
  return t && t.resource || e;
@@ -50394,7 +50387,7 @@ var zw = /* @__PURE__ */ a(function(t) {
50394
50387
  return e.getSource(t);
50395
50388
  }, "useWrappedSource"), UQ = /* @__PURE__ */ a(function() {
50396
50389
  var t = Ur(), e = zw(), r = NQ();
50397
- return Ge(function(n) {
50390
+ return nt(function(n) {
50398
50391
  var o = n.source, i = n.label, s = n.resource;
50399
50392
  return i === !1 || i === "" ? null : i && typeof i != "string" ? i : t.apply(void 0, GQ({
50400
50393
  label: i,
@@ -50459,7 +50452,7 @@ var GQ = /* @__PURE__ */ a(function(t) {
50459
50452
  });
50460
50453
  return JQ(function() {
50461
50454
  e.current = t;
50462
- }), Ge(function() {
50455
+ }), nt(function() {
50463
50456
  for (var r = [], n = 0; n < arguments.length; n++)
50464
50457
  r[n] = arguments[n];
50465
50458
  return e.current.apply(e, r);
@@ -50609,18 +50602,18 @@ const iX = ["children", "className", "color", "component", "disabled", "error",
50609
50602
  return o && O.Children.forEach(o, (L) => {
50610
50603
  ga(L, ["Input", "Select"]) && (au(L.props, !0) || au(L.props.inputProps, !0)) && ($ = !0);
50611
50604
  }), $;
50612
- }), [R, P] = O.useState(!1);
50613
- u && R && P(!1);
50614
- const I = p !== void 0 && !u ? p : R;
50615
- let A;
50605
+ }), [F, P] = O.useState(!1);
50606
+ u && F && P(!1);
50607
+ const I = p !== void 0 && !u ? p : F;
50608
+ let R;
50616
50609
  if (process.env.NODE_ENV !== "production") {
50617
50610
  const $ = O.useRef(!1);
50618
- A = /* @__PURE__ */ a(() => ($.current && console.error(["MUI: There are multiple `InputBase` components inside a FormControl.", "This creates visual inconsistencies, only use one `InputBase`."].join(`
50611
+ R = /* @__PURE__ */ a(() => ($.current && console.error(["MUI: There are multiple `InputBase` components inside a FormControl.", "This creates visual inconsistencies, only use one `InputBase`."].join(`
50619
50612
  `)), $.current = !0, () => {
50620
50613
  $.current = !1;
50621
50614
  }), "registerEffect");
50622
50615
  }
50623
- const F = O.useMemo(() => ({
50616
+ const A = O.useMemo(() => ({
50624
50617
  adornedStart: C,
50625
50618
  setAdornedStart: S,
50626
50619
  color: s,
@@ -50643,12 +50636,12 @@ const iX = ["children", "className", "color", "component", "disabled", "error",
50643
50636
  onFocus: /* @__PURE__ */ a(() => {
50644
50637
  P(!0);
50645
50638
  }, "onFocus"),
50646
- registerEffect: A,
50639
+ registerEffect: R,
50647
50640
  required: g,
50648
50641
  variant: v
50649
- }), [C, s, u, d, w, I, f, h, A, g, b, v]);
50642
+ }), [C, s, u, d, w, I, f, h, R, g, b, v]);
50650
50643
  return /* @__PURE__ */ y(yp.Provider, {
50651
- value: F,
50644
+ value: A,
50652
50645
  children: /* @__PURE__ */ y(sX, E({
50653
50646
  as: l,
50654
50647
  ownerState: T,
@@ -52236,11 +52229,11 @@ const zX = /* @__PURE__ */ a((t) => {
52236
52229
  onBlur: S,
52237
52230
  onChange: w,
52238
52231
  onClose: M,
52239
- onFocus: R,
52232
+ onFocus: F,
52240
52233
  onOpen: P,
52241
52234
  open: I,
52242
- readOnly: A,
52243
- renderValue: F,
52235
+ readOnly: R,
52236
+ renderValue: A,
52244
52237
  SelectDisplayProps: $ = {},
52245
52238
  tabIndex: L,
52246
52239
  value: j,
@@ -52312,7 +52305,7 @@ const zX = /* @__PURE__ */ a((t) => {
52312
52305
  k || _(!1, Z);
52313
52306
  }
52314
52307
  }, "handleItemClick"), me = /* @__PURE__ */ a((he) => {
52315
- A || [
52308
+ R || [
52316
52309
  " ",
52317
52310
  "ArrowUp",
52318
52311
  "ArrowDown",
@@ -52335,8 +52328,8 @@ const zX = /* @__PURE__ */ a((t) => {
52335
52328
  let ze = !1, st = !1;
52336
52329
  (au({
52337
52330
  value: N
52338
- }) || m) && (F ? $e = F(N) : ze = !0);
52339
- const Ke = be.map((he) => {
52331
+ }) || m) && (A ? $e = A(N) : ze = !0);
52332
+ const Ge = be.map((he) => {
52340
52333
  if (!/* @__PURE__ */ O.isValidElement(he))
52341
52334
  return null;
52342
52335
  process.env.NODE_ENV !== "production" && Pa.isFragment(he) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
@@ -52392,9 +52385,9 @@ const zX = /* @__PURE__ */ a((t) => {
52392
52385
  "aria-labelledby": [x, ye].filter(Boolean).join(" ") || void 0,
52393
52386
  "aria-describedby": o,
52394
52387
  onKeyDown: me,
52395
- onMouseDown: h || A ? null : pe,
52388
+ onMouseDown: h || R ? null : pe,
52396
52389
  onBlur: je,
52397
- onFocus: R
52390
+ onFocus: F
52398
52391
  }, $, {
52399
52392
  ownerState: de,
52400
52393
  className: re($.className, it.select, d),
@@ -52450,7 +52443,7 @@ const zX = /* @__PURE__ */ a((t) => {
52450
52443
  }, ft != null ? ft.style : null)
52451
52444
  })
52452
52445
  }),
52453
- children: Ke
52446
+ children: Ge
52454
52447
  }))]
52455
52448
  });
52456
52449
  }, "SelectInput"));
@@ -52635,12 +52628,12 @@ const HX = Eo(/* @__PURE__ */ y("path", {
52635
52628
  open: S,
52636
52629
  renderValue: w,
52637
52630
  SelectDisplayProps: M,
52638
- variant: R = "outlined"
52639
- } = n, P = ne(n, WX), I = T ? Zw : eM, A = Hi(), F = ls({
52631
+ variant: F = "outlined"
52632
+ } = n, P = ne(n, WX), I = T ? Zw : eM, R = Hi(), A = ls({
52640
52633
  props: n,
52641
- muiFormControl: A,
52634
+ muiFormControl: R,
52642
52635
  states: ["variant", "error"]
52643
- }), $ = F.variant || R, L = E({}, n, {
52636
+ }), $ = A.variant || F, L = E({}, n, {
52644
52637
  variant: $,
52645
52638
  classes: s
52646
52639
  }), j = qX(L), B = ne(j, UX), V = h || {
@@ -52662,7 +52655,7 @@ const HX = Eo(/* @__PURE__ */ y("path", {
52662
52655
  inputComponent: I,
52663
52656
  inputProps: E({
52664
52657
  children: i,
52665
- error: F.error,
52658
+ error: A.error,
52666
52659
  IconComponent: p,
52667
52660
  variant: $,
52668
52661
  type: void 0,
@@ -52889,11 +52882,11 @@ const QX = ["autoComplete", "autoFocus", "children", "className", "color", "defa
52889
52882
  maxRows: S,
52890
52883
  minRows: w,
52891
52884
  multiline: M = !1,
52892
- name: R,
52885
+ name: F,
52893
52886
  onBlur: P,
52894
52887
  onChange: I,
52895
- onFocus: A,
52896
- placeholder: F,
52888
+ onFocus: R,
52889
+ placeholder: A,
52897
52890
  required: $ = !1,
52898
52891
  rows: L,
52899
52892
  select: j = !1,
@@ -52922,7 +52915,7 @@ const QX = ["autoComplete", "autoFocus", "children", "className", "color", "defa
52922
52915
  defaultValue: d,
52923
52916
  fullWidth: m,
52924
52917
  multiline: M,
52925
- name: R,
52918
+ name: F,
52926
52919
  rows: L,
52927
52920
  maxRows: S,
52928
52921
  minRows: w,
@@ -52932,8 +52925,8 @@ const QX = ["autoComplete", "autoFocus", "children", "className", "color", "defa
52932
52925
  inputRef: k,
52933
52926
  onBlur: P,
52934
52927
  onChange: I,
52935
- onFocus: A,
52936
- placeholder: F,
52928
+ onFocus: R,
52929
+ placeholder: A,
52937
52930
  inputProps: x
52938
52931
  }, z, T));
52939
52932
  return /* @__PURE__ */ W(eZ, E({
@@ -53850,35 +53843,35 @@ var dee = /* @__PURE__ */ a(function(t) {
53850
53843
  return t;
53851
53844
  }, ln.apply(this, arguments);
53852
53845
  }, xee = /* @__PURE__ */ a(function(t) {
53853
- var e, r = t.className, n = t.defaultValue, o = n === void 0 ? "" : n, i = t.disabled, s = i === void 0 ? !1 : i, l = t.editorOptions, u = l === void 0 ? Oee : l, d = t.fullWidth, p = t.helperText, f = t.label, h = t.readOnly, m = h === void 0 ? !1 : h, g = t.source, b = t.sx, v = t.toolbar, x = zw(t), T = FQ(ln(ln({}, t), { source: g, defaultValue: o })), k = T.id, C = T.field, S = T.isRequired, w = T.fieldState, M = T.formState.isSubmitted, R = F8(ln(ln({}, u), { editable: !s && !m, content: C.value, editorProps: ln(ln({}, u == null ? void 0 : u.editorProps), { attributes: ln(ln({}, (e = u == null ? void 0 : u.editorProps) === null || e === void 0 ? void 0 : e.attributes), { id: k }) }) }), [s, u, m, k]), P = w.error, I = w.invalid, A = w.isTouched;
53846
+ var e, r = t.className, n = t.defaultValue, o = n === void 0 ? "" : n, i = t.disabled, s = i === void 0 ? !1 : i, l = t.editorOptions, u = l === void 0 ? Oee : l, d = t.fullWidth, p = t.helperText, f = t.label, h = t.readOnly, m = h === void 0 ? !1 : h, g = t.source, b = t.sx, v = t.toolbar, x = zw(t), T = FQ(ln(ln({}, t), { source: g, defaultValue: o })), k = T.id, C = T.field, S = T.isRequired, w = T.fieldState, M = T.formState.isSubmitted, F = F8(ln(ln({}, u), { editable: !s && !m, content: C.value, editorProps: ln(ln({}, u == null ? void 0 : u.editorProps), { attributes: ln(ln({}, (e = u == null ? void 0 : u.editorProps) === null || e === void 0 ? void 0 : e.attributes), { id: k }) }) }), [s, u, m, k]), P = w.error, I = w.invalid, R = w.isTouched;
53854
53847
  return qe(function() {
53855
- if (R) {
53856
- var F = R.state.selection, $ = F.from, L = F.to;
53857
- R.commands.setContent(C.value, !1, {
53848
+ if (F) {
53849
+ var A = F.state.selection, $ = A.from, L = A.to;
53850
+ F.commands.setContent(C.value, !1, {
53858
53851
  preserveWhitespace: !0
53859
- }), R.commands.setTextSelection({ from: $, to: L });
53852
+ }), F.commands.setTextSelection({ from: $, to: L });
53860
53853
  }
53861
- }, [R, C.value]), qe(function() {
53862
- if (R) {
53863
- var F = /* @__PURE__ */ a(function() {
53864
- if (R.isEmpty) {
53854
+ }, [F, C.value]), qe(function() {
53855
+ if (F) {
53856
+ var A = /* @__PURE__ */ a(function() {
53857
+ if (F.isEmpty) {
53865
53858
  C.onChange(""), C.onBlur();
53866
53859
  return;
53867
53860
  }
53868
- var $ = R.getHTML();
53861
+ var $ = F.getHTML();
53869
53862
  C.onChange($), C.onBlur();
53870
53863
  }, "handleEditorUpdate");
53871
- return R.on("update", F), R.on("blur", C.onBlur), function() {
53872
- R.off("update", F), R.off("blur", C.onBlur);
53864
+ return F.on("update", A), F.on("blur", C.onBlur), function() {
53865
+ F.off("update", A), F.off("blur", C.onBlur);
53873
53866
  };
53874
53867
  }
53875
- }, [R, C]), O.createElement(
53868
+ }, [F, C]), O.createElement(
53876
53869
  See,
53877
53870
  { className: re("ra-input", "ra-input-".concat(g), r, d ? "fullWidth" : ""), sx: b },
53878
53871
  O.createElement(
53879
53872
  qw,
53880
53873
  { isRequired: S, label: f, id: "".concat(k, "-label"), color: w != null && w.invalid ? "error" : void 0, source: g, resource: x, fullWidth: d },
53881
- O.createElement(Cee, { editor: R, error: P, helperText: p, id: k, isTouched: A, isSubmitted: M, invalid: I, toolbar: v || O.createElement(gee, null) })
53874
+ O.createElement(Cee, { editor: F, error: P, helperText: p, id: k, isTouched: R, isSubmitted: M, invalid: I, toolbar: v || O.createElement(gee, null) })
53882
53875
  )
53883
53876
  );
53884
53877
  }, "RichTextInput"), Oee = {
@@ -53987,11 +53980,11 @@ const are = /* @__PURE__ */ a((t) => {
53987
53980
  name: S,
53988
53981
  options: w,
53989
53982
  optionText: M,
53990
- optionValue: R,
53983
+ optionValue: F,
53991
53984
  parse: P,
53992
53985
  record: I,
53993
- ref: A,
53994
- refetch: F,
53986
+ ref: R,
53987
+ refetch: A,
53995
53988
  render: $,
53996
53989
  resource: L,
53997
53990
  setFilter: j,
@@ -54041,7 +54034,7 @@ const are = /* @__PURE__ */ a((t) => {
54041
54034
  disabled: g,
54042
54035
  readOnly: b,
54043
54036
  ...x
54044
- }), { error: w, invalid: M } = k, R = l !== !1 || M;
54037
+ }), { error: w, invalid: M } = k, F = l !== !1 || M;
54045
54038
  return /* @__PURE__ */ y(
54046
54039
  Ry,
54047
54040
  {
@@ -54055,7 +54048,7 @@ const are = /* @__PURE__ */ a((t) => {
54055
54048
  error: M,
54056
54049
  disabled: g || b,
54057
54050
  readOnly: b,
54058
- helperText: R ? /* @__PURE__ */ y(
54051
+ helperText: F ? /* @__PURE__ */ y(
54059
54052
  SM,
54060
54053
  {
54061
54054
  error: w == null ? void 0 : w.message,