biblio-react 3.0.30 → 3.0.31

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
@@ -188,10 +188,10 @@ function ZC() {
188
188
  return typeof B == "object" && B !== null && B.$$typeof === t;
189
189
  }
190
190
  i(Q, "isElement");
191
- function U(B) {
191
+ function q(B) {
192
192
  return x(B) === u;
193
193
  }
194
- i(U, "isForwardRef");
194
+ i(q, "isForwardRef");
195
195
  function K(B) {
196
196
  return x(B) === n;
197
197
  }
@@ -204,10 +204,10 @@ function ZC() {
204
204
  return x(B) === m;
205
205
  }
206
206
  i(z, "isMemo");
207
- function G(B) {
207
+ function U(B) {
208
208
  return x(B) === o;
209
209
  }
210
- i(G, "isPortal");
210
+ i(U, "isPortal");
211
211
  function Z(B) {
212
212
  return x(B) === a;
213
213
  }
@@ -219,7 +219,7 @@ function ZC() {
219
219
  function se(B) {
220
220
  return x(B) === g;
221
221
  }
222
- i(se, "isSuspense"), lt.AsyncMode = C, lt.ConcurrentMode = E, lt.ContextConsumer = O, lt.ContextProvider = A, lt.Element = k, lt.ForwardRef = $, lt.Fragment = D, lt.Lazy = I, lt.Memo = M, lt.Portal = N, lt.Profiler = _, lt.StrictMode = R, lt.Suspense = V, lt.isAsyncMode = j, lt.isConcurrentMode = L, lt.isContextConsumer = F, lt.isContextProvider = W, lt.isElement = Q, lt.isForwardRef = U, lt.isFragment = K, lt.isLazy = te, lt.isMemo = z, lt.isPortal = G, lt.isProfiler = Z, lt.isStrictMode = ee, lt.isSuspense = se, lt.isValidElementType = w, lt.typeOf = x;
222
+ i(se, "isSuspense"), lt.AsyncMode = C, lt.ConcurrentMode = E, lt.ContextConsumer = O, lt.ContextProvider = A, lt.Element = k, lt.ForwardRef = $, lt.Fragment = D, lt.Lazy = I, lt.Memo = M, lt.Portal = N, lt.Profiler = _, lt.StrictMode = R, lt.Suspense = V, lt.isAsyncMode = j, lt.isConcurrentMode = L, lt.isContextConsumer = F, lt.isContextProvider = W, lt.isElement = Q, lt.isForwardRef = q, lt.isFragment = K, lt.isLazy = te, lt.isMemo = z, lt.isPortal = U, lt.isProfiler = Z, lt.isStrictMode = ee, lt.isSuspense = se, lt.isValidElementType = w, lt.typeOf = x;
223
223
  })()), lt;
224
224
  }
225
225
  i(ZC, "requireReactIs_development$3");
@@ -396,35 +396,35 @@ function o1() {
396
396
  function v(L) {
397
397
  if (process.env.NODE_ENV !== "production")
398
398
  var F = {}, W = 0;
399
- function Q(K, te, z, G, Z, ee, se) {
400
- if (G = G || b, ee = ee || z, se !== o) {
399
+ function Q(K, te, z, U, Z, ee, se) {
400
+ if (U = U || b, ee = ee || z, se !== o) {
401
401
  if (d) {
402
402
  var B = new Error(
403
403
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
404
404
  );
405
405
  throw B.name = "Invariant Violation", B;
406
406
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
407
- var fe = G + ":" + z;
407
+ var fe = U + ":" + z;
408
408
  !F[fe] && // Avoid spamming the console because they are often not actionable except for lib authors
409
409
  W < 3 && (a(
410
- "You are manually calling a React.PropTypes validation function for the `" + ee + "` prop on `" + G + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
410
+ "You are manually calling a React.PropTypes validation function for the `" + ee + "` prop on `" + U + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
411
411
  ), F[fe] = !0, W++);
412
412
  }
413
413
  }
414
- return te[z] == null ? K ? te[z] === null ? new h("The " + Z + " `" + ee + "` is marked as required " + ("in `" + G + "`, but its value is `null`.")) : new h("The " + Z + " `" + ee + "` is marked as required in " + ("`" + G + "`, but its value is `undefined`.")) : null : L(te, z, G, Z, ee);
414
+ return te[z] == null ? K ? te[z] === null ? new h("The " + Z + " `" + ee + "` is marked as required " + ("in `" + U + "`, but its value is `null`.")) : new h("The " + Z + " `" + ee + "` is marked as required in " + ("`" + U + "`, but its value is `undefined`.")) : null : L(te, z, U, Z, ee);
415
415
  }
416
416
  i(Q, "checkType");
417
- var U = Q.bind(null, !1);
418
- return U.isRequired = Q.bind(null, !0), U;
417
+ var q = Q.bind(null, !1);
418
+ return q.isRequired = Q.bind(null, !0), q;
419
419
  }
420
420
  i(v, "createChainableTypeChecker");
421
421
  function T(L) {
422
- function F(W, Q, U, K, te, z) {
423
- var G = W[Q], Z = R(G);
422
+ function F(W, Q, q, K, te, z) {
423
+ var U = W[Q], Z = R(U);
424
424
  if (Z !== L) {
425
- var ee = V(G);
425
+ var ee = V(U);
426
426
  return new h(
427
- "Invalid " + K + " `" + te + "` of type " + ("`" + ee + "` supplied to `" + U + "`, expected ") + ("`" + L + "`."),
427
+ "Invalid " + K + " `" + te + "` of type " + ("`" + ee + "` supplied to `" + q + "`, expected ") + ("`" + L + "`."),
428
428
  { expectedType: L }
429
429
  );
430
430
  }
@@ -438,16 +438,16 @@ function o1() {
438
438
  }
439
439
  i(P, "createAnyTypeChecker");
440
440
  function w(L) {
441
- function F(W, Q, U, K, te) {
441
+ function F(W, Q, q, K, te) {
442
442
  if (typeof L != "function")
443
- return new h("Property `" + te + "` of component `" + U + "` has invalid PropType notation inside arrayOf.");
443
+ return new h("Property `" + te + "` of component `" + q + "` has invalid PropType notation inside arrayOf.");
444
444
  var z = W[Q];
445
445
  if (!Array.isArray(z)) {
446
- var G = R(z);
447
- return new h("Invalid " + K + " `" + te + "` of type " + ("`" + G + "` supplied to `" + U + "`, expected an array."));
446
+ var U = R(z);
447
+ return new h("Invalid " + K + " `" + te + "` of type " + ("`" + U + "` supplied to `" + q + "`, expected an array."));
448
448
  }
449
449
  for (var Z = 0; Z < z.length; Z++) {
450
- var ee = L(z, Z, U, K, te + "[" + Z + "]", o);
450
+ var ee = L(z, Z, q, K, te + "[" + Z + "]", o);
451
451
  if (ee instanceof Error)
452
452
  return ee;
453
453
  }
@@ -457,11 +457,11 @@ function o1() {
457
457
  }
458
458
  i(w, "createArrayOfTypeChecker");
459
459
  function x() {
460
- function L(F, W, Q, U, K) {
460
+ function L(F, W, Q, q, K) {
461
461
  var te = F[W];
462
462
  if (!c(te)) {
463
463
  var z = R(te);
464
- return new h("Invalid " + U + " `" + K + "` of type " + ("`" + z + "` supplied to `" + Q + "`, expected a single ReactElement."));
464
+ return new h("Invalid " + q + " `" + K + "` of type " + ("`" + z + "` supplied to `" + Q + "`, expected a single ReactElement."));
465
465
  }
466
466
  return null;
467
467
  }
@@ -469,11 +469,11 @@ function o1() {
469
469
  }
470
470
  i(x, "createElementTypeChecker");
471
471
  function C() {
472
- function L(F, W, Q, U, K) {
472
+ function L(F, W, Q, q, K) {
473
473
  var te = F[W];
474
474
  if (!e.isValidElementType(te)) {
475
475
  var z = R(te);
476
- return new h("Invalid " + U + " `" + K + "` of type " + ("`" + z + "` supplied to `" + Q + "`, expected a single ReactElement type."));
476
+ return new h("Invalid " + q + " `" + K + "` of type " + ("`" + z + "` supplied to `" + Q + "`, expected a single ReactElement type."));
477
477
  }
478
478
  return null;
479
479
  }
@@ -481,10 +481,10 @@ function o1() {
481
481
  }
482
482
  i(C, "createElementTypeTypeChecker");
483
483
  function E(L) {
484
- function F(W, Q, U, K, te) {
484
+ function F(W, Q, q, K, te) {
485
485
  if (!(W[Q] instanceof L)) {
486
- var z = L.name || b, G = j(W[Q]);
487
- return new h("Invalid " + K + " `" + te + "` of type " + ("`" + G + "` supplied to `" + U + "`, expected ") + ("instance of `" + z + "`."));
486
+ var z = L.name || b, U = j(W[Q]);
487
+ return new h("Invalid " + K + " `" + te + "` of type " + ("`" + U + "` supplied to `" + q + "`, expected ") + ("instance of `" + z + "`."));
488
488
  }
489
489
  return null;
490
490
  }
@@ -496,29 +496,29 @@ function o1() {
496
496
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
497
497
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
498
498
  ) : a("Invalid argument supplied to oneOf, expected an array.")), l;
499
- function F(W, Q, U, K, te) {
500
- for (var z = W[Q], G = 0; G < L.length; G++)
501
- if (y(z, L[G]))
499
+ function F(W, Q, q, K, te) {
500
+ for (var z = W[Q], U = 0; U < L.length; U++)
501
+ if (y(z, L[U]))
502
502
  return null;
503
503
  var Z = JSON.stringify(L, /* @__PURE__ */ i(function(se, B) {
504
504
  var fe = V(B);
505
505
  return fe === "symbol" ? String(B) : B;
506
506
  }, "replacer"));
507
- return new h("Invalid " + K + " `" + te + "` of value `" + String(z) + "` " + ("supplied to `" + U + "`, expected one of " + Z + "."));
507
+ return new h("Invalid " + K + " `" + te + "` of value `" + String(z) + "` " + ("supplied to `" + q + "`, expected one of " + Z + "."));
508
508
  }
509
509
  return i(F, "validate"), v(F);
510
510
  }
511
511
  i(O, "createEnumTypeChecker");
512
512
  function A(L) {
513
- function F(W, Q, U, K, te) {
513
+ function F(W, Q, q, K, te) {
514
514
  if (typeof L != "function")
515
- return new h("Property `" + te + "` of component `" + U + "` has invalid PropType notation inside objectOf.");
516
- var z = W[Q], G = R(z);
517
- if (G !== "object")
518
- return new h("Invalid " + K + " `" + te + "` of type " + ("`" + G + "` supplied to `" + U + "`, expected an object."));
515
+ return new h("Property `" + te + "` of component `" + q + "` has invalid PropType notation inside objectOf.");
516
+ var z = W[Q], U = R(z);
517
+ if (U !== "object")
518
+ return new h("Invalid " + K + " `" + te + "` of type " + ("`" + U + "` supplied to `" + q + "`, expected an object."));
519
519
  for (var Z in z)
520
520
  if (n(z, Z)) {
521
- var ee = L(z, Z, U, K, te + "." + Z, o);
521
+ var ee = L(z, Z, q, K, te + "." + Z, o);
522
522
  if (ee instanceof Error)
523
523
  return ee;
524
524
  }
@@ -537,42 +537,42 @@ function o1() {
537
537
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + H(W) + " at index " + F + "."
538
538
  ), l;
539
539
  }
540
- function Q(U, K, te, z, G) {
540
+ function Q(q, K, te, z, U) {
541
541
  for (var Z = [], ee = 0; ee < L.length; ee++) {
542
- var se = L[ee], B = se(U, K, te, z, G, o);
542
+ var se = L[ee], B = se(q, K, te, z, U, o);
543
543
  if (B == null)
544
544
  return null;
545
545
  B.data && n(B.data, "expectedType") && Z.push(B.data.expectedType);
546
546
  }
547
547
  var fe = Z.length > 0 ? ", expected one of type [" + Z.join(", ") + "]" : "";
548
- return new h("Invalid " + z + " `" + G + "` supplied to " + ("`" + te + "`" + fe + "."));
548
+ return new h("Invalid " + z + " `" + U + "` supplied to " + ("`" + te + "`" + fe + "."));
549
549
  }
550
550
  return i(Q, "validate"), v(Q);
551
551
  }
552
552
  i(k, "createUnionTypeChecker");
553
553
  function $() {
554
- function L(F, W, Q, U, K) {
555
- return N(F[W]) ? null : new h("Invalid " + U + " `" + K + "` supplied to " + ("`" + Q + "`, expected a ReactNode."));
554
+ function L(F, W, Q, q, K) {
555
+ return N(F[W]) ? null : new h("Invalid " + q + " `" + K + "` supplied to " + ("`" + Q + "`, expected a ReactNode."));
556
556
  }
557
557
  return i(L, "validate"), v(L);
558
558
  }
559
559
  i($, "createNodeChecker");
560
- function D(L, F, W, Q, U) {
560
+ function D(L, F, W, Q, q) {
561
561
  return new h(
562
- (L || "React class") + ": " + F + " type `" + W + "." + Q + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + U + "`."
562
+ (L || "React class") + ": " + F + " type `" + W + "." + Q + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + q + "`."
563
563
  );
564
564
  }
565
565
  i(D, "invalidValidatorError");
566
566
  function I(L) {
567
- function F(W, Q, U, K, te) {
568
- var z = W[Q], G = R(z);
569
- if (G !== "object")
570
- return new h("Invalid " + K + " `" + te + "` of type `" + G + "` " + ("supplied to `" + U + "`, expected `object`."));
567
+ function F(W, Q, q, K, te) {
568
+ var z = W[Q], U = R(z);
569
+ if (U !== "object")
570
+ return new h("Invalid " + K + " `" + te + "` of type `" + U + "` " + ("supplied to `" + q + "`, expected `object`."));
571
571
  for (var Z in L) {
572
572
  var ee = L[Z];
573
573
  if (typeof ee != "function")
574
- return D(U, K, te, Z, V(ee));
575
- var se = ee(z, Z, U, K, te + "." + Z, o);
574
+ return D(q, K, te, Z, V(ee));
575
+ var se = ee(z, Z, q, K, te + "." + Z, o);
576
576
  if (se)
577
577
  return se;
578
578
  }
@@ -582,21 +582,21 @@ function o1() {
582
582
  }
583
583
  i(I, "createShapeTypeChecker");
584
584
  function M(L) {
585
- function F(W, Q, U, K, te) {
586
- var z = W[Q], G = R(z);
587
- if (G !== "object")
588
- return new h("Invalid " + K + " `" + te + "` of type `" + G + "` " + ("supplied to `" + U + "`, expected `object`."));
585
+ function F(W, Q, q, K, te) {
586
+ var z = W[Q], U = R(z);
587
+ if (U !== "object")
588
+ return new h("Invalid " + K + " `" + te + "` of type `" + U + "` " + ("supplied to `" + q + "`, expected `object`."));
589
589
  var Z = t({}, W[Q], L);
590
590
  for (var ee in Z) {
591
591
  var se = L[ee];
592
592
  if (n(L, ee) && typeof se != "function")
593
- return D(U, K, te, ee, V(se));
593
+ return D(q, K, te, ee, V(se));
594
594
  if (!se)
595
595
  return new h(
596
- "Invalid " + K + " `" + te + "` key `" + ee + "` supplied to `" + U + "`.\nBad object: " + JSON.stringify(W[Q], null, " ") + `
596
+ "Invalid " + K + " `" + te + "` key `" + ee + "` supplied to `" + q + "`.\nBad object: " + JSON.stringify(W[Q], null, " ") + `
597
597
  Valid keys: ` + JSON.stringify(Object.keys(L), null, " ")
598
598
  );
599
- var B = se(z, ee, U, K, te + "." + ee, o);
599
+ var B = se(z, ee, q, K, te + "." + ee, o);
600
600
  if (B)
601
601
  return B;
602
602
  }
@@ -627,8 +627,8 @@ Valid keys: ` + JSON.stringify(Object.keys(L), null, " ")
627
627
  return !1;
628
628
  } else
629
629
  for (; !(Q = W.next()).done; ) {
630
- var U = Q.value;
631
- if (U && !N(U[1]))
630
+ var q = Q.value;
631
+ if (q && !N(q[1]))
632
632
  return !1;
633
633
  }
634
634
  } else
@@ -2589,10 +2589,10 @@ function Aw() {
2589
2589
  return typeof B == "object" && B !== null && B.$$typeof === t;
2590
2590
  }
2591
2591
  i(Q, "isElement");
2592
- function U(B) {
2592
+ function q(B) {
2593
2593
  return x(B) === u;
2594
2594
  }
2595
- i(U, "isForwardRef");
2595
+ i(q, "isForwardRef");
2596
2596
  function K(B) {
2597
2597
  return x(B) === n;
2598
2598
  }
@@ -2605,10 +2605,10 @@ function Aw() {
2605
2605
  return x(B) === m;
2606
2606
  }
2607
2607
  i(z, "isMemo");
2608
- function G(B) {
2608
+ function U(B) {
2609
2609
  return x(B) === o;
2610
2610
  }
2611
- i(G, "isPortal");
2611
+ i(U, "isPortal");
2612
2612
  function Z(B) {
2613
2613
  return x(B) === a;
2614
2614
  }
@@ -2620,7 +2620,7 @@ function Aw() {
2620
2620
  function se(B) {
2621
2621
  return x(B) === g;
2622
2622
  }
2623
- i(se, "isSuspense"), dt.AsyncMode = C, dt.ConcurrentMode = E, dt.ContextConsumer = O, dt.ContextProvider = A, dt.Element = k, dt.ForwardRef = $, dt.Fragment = D, dt.Lazy = I, dt.Memo = M, dt.Portal = N, dt.Profiler = _, dt.StrictMode = R, dt.Suspense = V, dt.isAsyncMode = j, dt.isConcurrentMode = L, dt.isContextConsumer = F, dt.isContextProvider = W, dt.isElement = Q, dt.isForwardRef = U, dt.isFragment = K, dt.isLazy = te, dt.isMemo = z, dt.isPortal = G, dt.isProfiler = Z, dt.isStrictMode = ee, dt.isSuspense = se, dt.isValidElementType = w, dt.typeOf = x;
2623
+ i(se, "isSuspense"), dt.AsyncMode = C, dt.ConcurrentMode = E, dt.ContextConsumer = O, dt.ContextProvider = A, dt.Element = k, dt.ForwardRef = $, dt.Fragment = D, dt.Lazy = I, dt.Memo = M, dt.Portal = N, dt.Profiler = _, dt.StrictMode = R, dt.Suspense = V, dt.isAsyncMode = j, dt.isConcurrentMode = L, dt.isContextConsumer = F, dt.isContextProvider = W, dt.isElement = Q, dt.isForwardRef = q, dt.isFragment = K, dt.isLazy = te, dt.isMemo = z, dt.isPortal = U, dt.isProfiler = Z, dt.isStrictMode = ee, dt.isSuspense = se, dt.isValidElementType = w, dt.typeOf = x;
2624
2624
  })()), dt;
2625
2625
  }
2626
2626
  i(Aw, "requireReactIs_development$1");
@@ -4488,9 +4488,9 @@ function HT(e) {
4488
4488
  noSsr: _
4489
4489
  } = T, R = S.useRef(!1), V = bp(), H = S.useContext(p), j = !!H && !D, L = S.useMemo(() => w || (typeof o == "function" ? o() : o), [w]), F = L[t], W = F || L, {
4490
4490
  colorSchemes: Q = g,
4491
- components: U = b,
4491
+ components: q = b,
4492
4492
  cssVarPrefix: K
4493
- } = W, te = Object.keys(Q).filter((Ge) => !!Q[Ge]).join(","), z = S.useMemo(() => te.split(","), [te]), G = typeof l == "string" ? l : l.light, Z = typeof l == "string" ? l : l.dark, ee = Q[G] && Q[Z] ? M : Q[W.defaultColorScheme]?.palette?.mode || W.palette?.mode, {
4493
+ } = W, te = Object.keys(Q).filter((Ge) => !!Q[Ge]).join(","), z = S.useMemo(() => te.split(","), [te]), U = typeof l == "string" ? l : l.light, Z = typeof l == "string" ? l : l.dark, ee = Q[U] && Q[Z] ? M : Q[W.defaultColorScheme]?.palette?.mode || W.palette?.mode, {
4494
4494
  mode: se,
4495
4495
  setMode: B,
4496
4496
  systemMode: fe,
@@ -4500,7 +4500,7 @@ function HT(e) {
4500
4500
  setColorScheme: ie
4501
4501
  } = jT({
4502
4502
  supportedColorSchemes: z,
4503
- defaultLightColorScheme: G,
4503
+ defaultLightColorScheme: U,
4504
4504
  defaultDarkColorScheme: Z,
4505
4505
  modeStorageKey: x,
4506
4506
  colorSchemeStorageKey: C,
@@ -4517,7 +4517,7 @@ function HT(e) {
4517
4517
  const Ce = S.useMemo(() => {
4518
4518
  const Ge = W.generateThemeVars?.() || W.vars, de = {
4519
4519
  ...W,
4520
- components: U,
4520
+ components: q,
4521
4521
  colorSchemes: Q,
4522
4522
  cssVarPrefix: K,
4523
4523
  vars: Ge
@@ -4532,7 +4532,7 @@ function HT(e) {
4532
4532
  });
4533
4533
  }
4534
4534
  return c ? c(de) : de;
4535
- }, [W, Oe, U, Q, K]), ge = W.colorSchemeSelector;
4535
+ }, [W, Oe, q, Q, K]), ge = W.colorSchemeSelector;
4536
4536
  eo(() => {
4537
4537
  if (Ee && $ && ge && ge !== "media") {
4538
4538
  const Ge = ge;
@@ -8442,13 +8442,13 @@ const VP = /* @__PURE__ */ i((e) => {
8442
8442
  }), W = {
8443
8443
  ...N,
8444
8444
  exited: L
8445
- }, Q = VP(W), U = {};
8446
- if (p.props.tabIndex === void 0 && (U.tabIndex = "-1"), F) {
8445
+ }, Q = VP(W), q = {};
8446
+ if (p.props.tabIndex === void 0 && (q.tabIndex = "-1"), F) {
8447
8447
  const {
8448
8448
  onEnter: ee,
8449
8449
  onExited: se
8450
8450
  } = V();
8451
- U.onEnter = ee, U.onExited = se;
8451
+ q.onEnter = ee, q.onExited = se;
8452
8452
  }
8453
8453
  const K = {
8454
8454
  slots: {
@@ -8471,7 +8471,7 @@ const VP = /* @__PURE__ */ i((e) => {
8471
8471
  getSlotProps: _,
8472
8472
  ownerState: W,
8473
8473
  className: ce(c, Q?.root, !W.open && W.exited && Q?.hidden)
8474
- }), [G, Z] = Fe("backdrop", {
8474
+ }), [U, Z] = Fe("backdrop", {
8475
8475
  ref: a?.ref,
8476
8476
  elementType: s,
8477
8477
  externalForwardedProps: K,
@@ -8492,7 +8492,7 @@ const VP = /* @__PURE__ */ i((e) => {
8492
8492
  disablePortal: T,
8493
8493
  children: /* @__PURE__ */ Y(te, {
8494
8494
  ...z,
8495
- children: [!x && s ? /* @__PURE__ */ f(G, {
8495
+ children: [!x && s ? /* @__PURE__ */ f(U, {
8496
8496
  ...Z
8497
8497
  }) : null, /* @__PURE__ */ f(pl, {
8498
8498
  disableEnforceFocus: h,
@@ -8500,7 +8500,7 @@ const VP = /* @__PURE__ */ i((e) => {
8500
8500
  disableRestoreFocus: P,
8501
8501
  isEnabled: j,
8502
8502
  open: k,
8503
- children: /* @__PURE__ */ S.cloneElement(p, U)
8503
+ children: /* @__PURE__ */ S.cloneElement(p, q)
8504
8504
  })]
8505
8505
  })
8506
8506
  });
@@ -9076,7 +9076,7 @@ const KP = ne(Pp, {
9076
9076
  }, W = {
9077
9077
  slots: L,
9078
9078
  slotProps: F
9079
- }, [Q, U] = Fe("root", {
9079
+ }, [Q, q] = Fe("root", {
9080
9080
  elementType: XP,
9081
9081
  shouldForwardComponentProp: !0,
9082
9082
  externalForwardedProps: W,
@@ -9089,7 +9089,7 @@ const KP = ne(Pp, {
9089
9089
  externalForwardedProps: W,
9090
9090
  ownerState: M,
9091
9091
  className: N.backdrop
9092
- }), [z, G] = Fe("paper", {
9092
+ }), [z, U] = Fe("paper", {
9093
9093
  elementType: QP,
9094
9094
  shouldForwardComponentProp: !0,
9095
9095
  externalForwardedProps: W,
@@ -9127,7 +9127,7 @@ const KP = ne(Pp, {
9127
9127
  onClose: P,
9128
9128
  open: w,
9129
9129
  onClick: V,
9130
- ...U,
9130
+ ...q,
9131
9131
  ...I,
9132
9132
  children: /* @__PURE__ */ f(se, {
9133
9133
  ...B,
@@ -9141,7 +9141,7 @@ const KP = ne(Pp, {
9141
9141
  "aria-describedby": l,
9142
9142
  "aria-labelledby": H,
9143
9143
  "aria-modal": d,
9144
- ...G,
9144
+ ...U,
9145
9145
  children: /* @__PURE__ */ f(Op.Provider, {
9146
9146
  value: j,
9147
9147
  children: g
@@ -10934,10 +10934,10 @@ const au = /* @__PURE__ */ i((e = "scope") => (hh += 1, `${e}-${hh}`), "createRe
10934
10934
  validate: F,
10935
10935
  required: W,
10936
10936
  ...Q
10937
- } = C, U = c || H === void 0 ? $ : H, K = c || j === void 0 ? D : j, te = c || _ === void 0 ? O : _, z = c || R === void 0 ? k : R, G = c || V === void 0 ? A : V, Z = sn(e), ee = L({
10937
+ } = C, q = c || H === void 0 ? $ : H, K = c || j === void 0 ? D : j, te = c || _ === void 0 ? O : _, z = c || R === void 0 ? k : R, U = c || V === void 0 ? A : V, Z = sn(e), ee = L({
10938
10938
  ...N,
10939
10939
  estado: o,
10940
- hidden: U,
10940
+ hidden: q,
10941
10941
  isLoading: n,
10942
10942
  utils: Z,
10943
10943
  ...Q
@@ -10950,7 +10950,7 @@ const au = /* @__PURE__ */ i((e = "scope") => (hh += 1, `${e}-${hh}`), "createRe
10950
10950
  validate: ue,
10951
10951
  required: ie,
10952
10952
  ...me
10953
- } = ee, Ee = fe || te, Oe = J || z, Ce = ae || G, ge = [I, F, ue].flat().some((Se) => Se?.isRequired), He = T !== void 0 ? T : ie !== void 0 ? ie : b ? !0 : c || W === void 0 ? M ?? ge : W, ze = v !== void 0 ? v : se !== void 0 ? se : g ? !0 : U, mt = h !== void 0 ? h : B !== void 0 ? B : m ? !0 : K, Ge = We(() => {
10953
+ } = ee, Ee = fe || te, Oe = J || z, Ce = ae || U, ge = [I, F, ue].flat().some((Se) => Se?.isRequired), He = T !== void 0 ? T : ie !== void 0 ? ie : b ? !0 : c || W === void 0 ? M ?? ge : W, ze = v !== void 0 ? v : se !== void 0 ? se : g ? !0 : q, mt = h !== void 0 ? h : B !== void 0 ? B : m ? !0 : K, Ge = We(() => {
10954
10954
  const Se = Array.isArray(I) ? I : [I], St = Array.isArray(F) ? F : [F], Xe = Array.isArray(ue) ? ue : [ue];
10955
10955
  let st = [
10956
10956
  ...Se,
@@ -13299,8 +13299,8 @@ i(wM, "getExpandedFallbackPlacements");
13299
13299
  function TM(e) {
13300
13300
  var t = e.state, o = e.options, n = e.name;
13301
13301
  if (!t.modifiersData[n]._skip) {
13302
- for (var s = o.mainAxis, a = s === void 0 ? !0 : s, l = o.altAxis, c = l === void 0 ? !0 : l, d = o.fallbackPlacements, p = o.padding, u = o.boundary, g = o.rootBoundary, b = o.altBoundary, m = o.flipVariations, y = m === void 0 ? !0 : m, h = o.allowedAutoPlacements, v = t.options.placement, T = Sn(v), P = T === v, w = d || (P || !y ? [Qa(v)] : wM(v)), x = [v].concat(w).reduce(function(U, K) {
13303
- return U.concat(Sn(K) === _p ? CM(t, {
13302
+ for (var s = o.mainAxis, a = s === void 0 ? !0 : s, l = o.altAxis, c = l === void 0 ? !0 : l, d = o.fallbackPlacements, p = o.padding, u = o.boundary, g = o.rootBoundary, b = o.altBoundary, m = o.flipVariations, y = m === void 0 ? !0 : m, h = o.allowedAutoPlacements, v = t.options.placement, T = Sn(v), P = T === v, w = d || (P || !y ? [Qa(v)] : wM(v)), x = [v].concat(w).reduce(function(q, K) {
13303
+ return q.concat(Sn(K) === _p ? CM(t, {
13304
13304
  placement: K,
13305
13305
  boundary: u,
13306
13306
  rootBoundary: g,
@@ -13318,8 +13318,8 @@ function TM(e) {
13318
13318
  }), V = N ? M ? jo : go : M ? zo : ho;
13319
13319
  C[_] > E[_] && (V = Qa(V));
13320
13320
  var H = Qa(V), j = [];
13321
- if (a && j.push(R[I] <= 0), c && j.push(R[V] <= 0, R[H] <= 0), j.every(function(U) {
13322
- return U;
13321
+ if (a && j.push(R[I] <= 0), c && j.push(R[V] <= 0, R[H] <= 0), j.every(function(q) {
13322
+ return q;
13323
13323
  })) {
13324
13324
  k = D, A = !1;
13325
13325
  break;
@@ -13329,9 +13329,9 @@ function TM(e) {
13329
13329
  if (A)
13330
13330
  for (var L = y ? 3 : 1, F = /* @__PURE__ */ i(function(K) {
13331
13331
  var te = x.find(function(z) {
13332
- var G = O.get(z);
13333
- if (G)
13334
- return G.slice(0, K).every(function(Z) {
13332
+ var U = O.get(z);
13333
+ if (U)
13334
+ return U.slice(0, K).every(function(Z) {
13335
13335
  return Z;
13336
13336
  });
13337
13337
  });
@@ -13464,10 +13464,10 @@ function NM(e) {
13464
13464
  };
13465
13465
  if (E) {
13466
13466
  if (a) {
13467
- var M, N = x === "y" ? ho : go, _ = x === "y" ? zo : jo, R = x === "y" ? "height" : "width", V = E[x], H = V + v[N], j = V - v[_], L = m ? -A[R] / 2 : 0, F = P === di ? O[R] : A[R], W = P === di ? -A[R] : -O[R], Q = t.elements.arrow, U = m && Q ? Bp(Q) : {
13467
+ var M, N = x === "y" ? ho : go, _ = x === "y" ? zo : jo, R = x === "y" ? "height" : "width", V = E[x], H = V + v[N], j = V - v[_], L = m ? -A[R] / 2 : 0, F = P === di ? O[R] : A[R], W = P === di ? -A[R] : -O[R], Q = t.elements.arrow, q = m && Q ? Bp(Q) : {
13468
13468
  width: 0,
13469
13469
  height: 0
13470
- }, K = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Vv(), te = K[N], z = K[_], G = ss(0, O[R], U[R]), Z = w ? O[R] / 2 - L - G - te - $.mainAxis : F - G - te - $.mainAxis, ee = w ? -O[R] / 2 + L + G + z + $.mainAxis : W + G + z + $.mainAxis, se = t.elements.arrow && Zs(t.elements.arrow), B = se ? x === "y" ? se.clientTop || 0 : se.clientLeft || 0 : 0, fe = (M = D?.[x]) != null ? M : 0, ae = V + Z - fe - B, J = V + ee - fe, ue = ss(m ? Sl(H, ae) : H, V, m ? Cr(j, J) : j);
13470
+ }, K = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Vv(), te = K[N], z = K[_], U = ss(0, O[R], q[R]), Z = w ? O[R] / 2 - L - U - te - $.mainAxis : F - U - te - $.mainAxis, ee = w ? -O[R] / 2 + L + U + z + $.mainAxis : W + U + z + $.mainAxis, se = t.elements.arrow && Zs(t.elements.arrow), B = se ? x === "y" ? se.clientTop || 0 : se.clientLeft || 0 : 0, fe = (M = D?.[x]) != null ? M : 0, ae = V + Z - fe - B, J = V + ee - fe, ue = ss(m ? Sl(H, ae) : H, V, m ? Cr(j, J) : j);
13471
13471
  E[x] = ue, I[x] = ue - V;
13472
13472
  }
13473
13473
  if (c) {
@@ -14722,7 +14722,7 @@ const f2 = ke("MuiButtonBase", ["root", "disabled", "focusVisible"]), m2 = /* @_
14722
14722
  S.useEffect(() => {
14723
14723
  F && b && !u && j.pulsate();
14724
14724
  }, [u, b, F, j]);
14725
- const U = In(j, "start", O, g), K = In(j, "stop", T, g), te = In(j, "stop", P, g), z = In(j, "stop", k, g), G = In(j, "stop", (ge) => {
14725
+ const q = In(j, "start", O, g), K = In(j, "stop", T, g), te = In(j, "stop", P, g), z = In(j, "stop", k, g), U = In(j, "stop", (ge) => {
14726
14726
  F && ge.preventDefault(), A && A(ge);
14727
14727
  }, g), Z = In(j, "start", I, g), ee = In(j, "stop", $, g), se = In(j, "stop", D, g), B = In(j, "stop", (ge) => {
14728
14728
  hi(ge.target) || W(!1), h && h(ge);
@@ -14769,8 +14769,8 @@ const f2 = ke("MuiButtonBase", ["root", "disabled", "focusVisible"]), m2 = /* @_
14769
14769
  onFocus: fe,
14770
14770
  onKeyDown: J,
14771
14771
  onKeyUp: ue,
14772
- onMouseDown: U,
14773
- onMouseLeave: G,
14772
+ onMouseDown: q,
14773
+ onMouseLeave: U,
14774
14774
  onMouseUp: z,
14775
14775
  onDragLeave: te,
14776
14776
  onTouchEnd: ee,
@@ -15666,11 +15666,11 @@ const gc = /* @__PURE__ */ i((e, t) => {
15666
15666
  slotProps: F = {},
15667
15667
  slots: W = {},
15668
15668
  startAdornment: Q,
15669
- type: U = "text",
15669
+ type: q = "text",
15670
15670
  value: K,
15671
15671
  ...te
15672
15672
  } = n, z = w.value != null ? w.value : K, {
15673
- current: G
15673
+ current: U
15674
15674
  } = S.useRef(z != null), Z = S.useRef(), ee = S.useCallback((Se) => {
15675
15675
  process.env.NODE_ENV !== "production" && Se && Se.nodeName !== "INPUT" && !Se.focus && console.error(["MUI: You have provided a `inputComponent` to the input component", "that does not correctly handle the `ref` prop.", "Make sure the `ref` prop is called with a HTMLInputElement."].join(`
15676
15676
  `));
@@ -15691,16 +15691,16 @@ const gc = /* @__PURE__ */ i((e, t) => {
15691
15691
  wl(Se) ? ue && ue() : ie && ie();
15692
15692
  }, [ue, ie]);
15693
15693
  eo(() => {
15694
- G && me({
15694
+ U && me({
15695
15695
  value: z
15696
15696
  });
15697
- }, [z, me, G]);
15697
+ }, [z, me, U]);
15698
15698
  const Ee = /* @__PURE__ */ i((Se) => {
15699
15699
  M && M(Se), w.onFocus && w.onFocus(Se), ae && ae.onFocus ? ae.onFocus(Se) : fe(!0);
15700
15700
  }, "handleFocus"), Oe = /* @__PURE__ */ i((Se) => {
15701
15701
  $ && $(Se), w.onBlur && w.onBlur(Se), ae && ae.onBlur ? ae.onBlur(Se) : fe(!1);
15702
15702
  }, "handleBlur"), Ce = /* @__PURE__ */ i((Se, ...St) => {
15703
- if (!G) {
15703
+ if (!U) {
15704
15704
  const Xe = Se.target || Z.current;
15705
15705
  if (Xe == null)
15706
15706
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : $n(1));
@@ -15749,7 +15749,7 @@ const gc = /* @__PURE__ */ i((e, t) => {
15749
15749
  multiline: A,
15750
15750
  size: J.size,
15751
15751
  startAdornment: Q,
15752
- type: U
15752
+ type: q
15753
15753
  }, de = T2(Ge), X = W.root || p.Root || yc, he = F.root || u.root || {}, je = W.input || p.Input || vc;
15754
15754
  return ze = {
15755
15755
  ...ze,
@@ -15788,7 +15788,7 @@ const gc = /* @__PURE__ */ i((e, t) => {
15788
15788
  value: z,
15789
15789
  onKeyDown: N,
15790
15790
  onKeyUp: _,
15791
- type: U,
15791
+ type: q,
15792
15792
  ...ze,
15793
15793
  ...!li(je) && {
15794
15794
  as: He,
@@ -16584,7 +16584,7 @@ const F2 = /* @__PURE__ */ i((e) => {
16584
16584
  role: void 0,
16585
16585
  tabIndex: null
16586
16586
  }
16587
- }), [Q, U] = Fe("input", {
16587
+ }), [Q, q] = Fe("input", {
16588
16588
  ref: m,
16589
16589
  elementType: L2,
16590
16590
  className: j.input,
@@ -16615,7 +16615,7 @@ const F2 = /* @__PURE__ */ i((e) => {
16615
16615
  return /* @__PURE__ */ Y(F, {
16616
16616
  ...W,
16617
16617
  children: [/* @__PURE__ */ f(Q, {
16618
- ...U
16618
+ ...q
16619
16619
  }), $ ? a : u]
16620
16620
  });
16621
16621
  }, "SwitchBase"));
@@ -20787,7 +20787,7 @@ const zk = /* @__PURE__ */ i((e) => {
20787
20787
  }
20788
20788
  });
20789
20789
  x === "auto" && !F.muiSupportAuto && (j = void 0);
20790
- const Q = g || (a ? Gt(Zi(a)).body : void 0), [U, {
20790
+ const Q = g || (a ? Gt(Zi(a)).body : void 0), [q, {
20791
20791
  slots: K,
20792
20792
  slotProps: te,
20793
20793
  ...z
@@ -20813,7 +20813,7 @@ const zk = /* @__PURE__ */ i((e) => {
20813
20813
  },
20814
20814
  ownerState: k,
20815
20815
  className: ce($.root, u)
20816
- }), [G, Z] = Fe("paper", {
20816
+ }), [U, Z] = Fe("paper", {
20817
20817
  ref: A,
20818
20818
  className: $.paper,
20819
20819
  elementType: r0,
@@ -20827,9 +20827,9 @@ const zk = /* @__PURE__ */ i((e) => {
20827
20827
  },
20828
20828
  ownerState: k
20829
20829
  });
20830
- return /* @__PURE__ */ f(U, {
20830
+ return /* @__PURE__ */ f(q, {
20831
20831
  ...z,
20832
- ...!li(U) && {
20832
+ ...!li(q) && {
20833
20833
  slots: K,
20834
20834
  slotProps: te,
20835
20835
  disableScrollLock: E
@@ -20837,7 +20837,7 @@ const zk = /* @__PURE__ */ i((e) => {
20837
20837
  children: /* @__PURE__ */ f(F, {
20838
20838
  ...W,
20839
20839
  timeout: j,
20840
- children: /* @__PURE__ */ f(G, {
20840
+ children: /* @__PURE__ */ f(U, {
20841
20841
  ...Z,
20842
20842
  children: p
20843
20843
  })
@@ -21666,14 +21666,14 @@ const rA = /* @__PURE__ */ i((e) => {
21666
21666
  controlled: H,
21667
21667
  default: u,
21668
21668
  name: "Select"
21669
- }), [Q, U] = ul({
21669
+ }), [Q, q] = ul({
21670
21670
  controlled: D,
21671
21671
  default: p,
21672
21672
  name: "Select"
21673
- }), K = S.useRef(null), te = S.useRef(null), [z, G] = S.useState(null), {
21673
+ }), K = S.useRef(null), te = S.useRef(null), [z, U] = S.useState(null), {
21674
21674
  current: Z
21675
21675
  } = S.useRef(D != null), [ee, se] = S.useState(), B = Rt(o, h), fe = S.useCallback((xe) => {
21676
- te.current = xe, xe && G(xe);
21676
+ te.current = xe, xe && U(xe);
21677
21677
  }, []), ae = z?.parentNode;
21678
21678
  S.useImperativeHandle(B, () => ({
21679
21679
  focus: /* @__PURE__ */ i(() => {
@@ -21710,7 +21710,7 @@ const rA = /* @__PURE__ */ i((e) => {
21710
21710
  }
21711
21711
  }, [v]);
21712
21712
  const ue = /* @__PURE__ */ i((xe, _e) => {
21713
- xe ? $ && $(_e) : E && E(_e), Z || (se(l ? null : ae.clientWidth), U(xe));
21713
+ xe ? $ && $(_e) : E && E(_e), Z || (se(l ? null : ae.clientWidth), q(xe));
21714
21714
  }, "update"), ie = /* @__PURE__ */ i((xe) => {
21715
21715
  k?.(xe), xe.button === 0 && (xe.preventDefault(), te.current.focus(), ue(!0, xe));
21716
21716
  }, "handleMouseDown"), me = /* @__PURE__ */ i((xe) => {
@@ -22376,9 +22376,9 @@ const dA = {
22376
22376
  required: M,
22377
22377
  select: _,
22378
22378
  variant: F
22379
- }, U = uA(Q);
22379
+ }, q = uA(Q);
22380
22380
  process.env.NODE_ENV !== "production" && _ && !l && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
22381
- const K = Or(h), te = y && K ? `${K}-helper-text` : void 0, z = x && K ? `${K}-label` : void 0, G = dA[F], Z = {
22381
+ const K = Or(h), te = y && K ? `${K}-helper-text` : void 0, z = x && K ? `${K}-label` : void 0, U = dA[F], Z = {
22382
22382
  slots: V,
22383
22383
  slotProps: {
22384
22384
  input: P,
@@ -22398,7 +22398,7 @@ const dA = {
22398
22398
  ...W
22399
22399
  },
22400
22400
  ownerState: Q,
22401
- className: ce(U.root, c),
22401
+ className: ce(q.root, c),
22402
22402
  ref: o,
22403
22403
  additionalProps: {
22404
22404
  disabled: u,
@@ -22409,7 +22409,7 @@ const dA = {
22409
22409
  variant: F
22410
22410
  }
22411
22411
  }), [ae, J] = Fe("input", {
22412
- elementType: G,
22412
+ elementType: U,
22413
22413
  externalForwardedProps: Z,
22414
22414
  additionalProps: ee,
22415
22415
  ownerState: Q
@@ -23643,7 +23643,7 @@ const ea = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ i(function(t, o) {
23643
23643
  ...R
23644
23644
  } = n, V = /* @__PURE__ */ S.isValidElement(a) ? a : /* @__PURE__ */ f("span", {
23645
23645
  children: a
23646
- }), H = Eo(), j = Ir(), [L, F] = S.useState(), [W, Q] = S.useState(null), U = S.useRef(!1), K = b || T, te = Sr(), z = Sr(), G = Sr(), Z = Sr(), [ee, se] = ul({
23646
+ }), H = Eo(), j = Ir(), [L, F] = S.useState(), [W, Q] = S.useState(null), q = S.useRef(!1), K = b || T, te = Sr(), z = Sr(), U = Sr(), Z = Sr(), [ee, se] = ul({
23647
23647
  controlled: O,
23648
23648
  default: !1,
23649
23649
  name: "Tooltip",
@@ -23673,15 +23673,15 @@ const ea = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ i(function(t, o) {
23673
23673
  Kh.start(800 + w, () => {
23674
23674
  Pa = !1;
23675
23675
  }), se(!1), C && B && C(Ne), te.start(H.transitions.duration.shortest, () => {
23676
- U.current = !1;
23676
+ q.current = !1;
23677
23677
  });
23678
23678
  }
23679
23679
  ), me = /* @__PURE__ */ i((Ne) => {
23680
- U.current && Ne.type !== "touchstart" || (L && L.removeAttribute("title"), z.clear(), G.clear(), y || Pa && h ? z.start(Pa ? h : y, () => {
23680
+ q.current && Ne.type !== "touchstart" || (L && L.removeAttribute("title"), z.clear(), U.clear(), y || Pa && h ? z.start(Pa ? h : y, () => {
23681
23681
  ue(Ne);
23682
23682
  }) : ue(Ne));
23683
23683
  }, "handleMouseOver"), Ee = /* @__PURE__ */ i((Ne) => {
23684
- z.clear(), G.start(w, () => {
23684
+ z.clear(), U.start(w, () => {
23685
23685
  ie(Ne);
23686
23686
  });
23687
23687
  }, "handleMouseLeave"), [, Oe] = S.useState(!1), Ce = /* @__PURE__ */ i((Ne) => {
@@ -23698,15 +23698,15 @@ const ea = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ i(function(t, o) {
23698
23698
  }, "handleBlur"), ge = /* @__PURE__ */ i((Ne) => {
23699
23699
  L || F(Ne.currentTarget), hi(Ne.target) && (Oe(!0), me(Ne));
23700
23700
  }, "handleFocus"), He = /* @__PURE__ */ i((Ne) => {
23701
- U.current = !0;
23701
+ q.current = !0;
23702
23702
  const Tt = V.props;
23703
23703
  Tt.onTouchStart && Tt.onTouchStart(Ne);
23704
23704
  }, "detectTouchStart"), ze = /* @__PURE__ */ i((Ne) => {
23705
- He(Ne), G.clear(), te.clear(), J(), ae.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", Z.start(v, () => {
23705
+ He(Ne), U.clear(), te.clear(), J(), ae.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", Z.start(v, () => {
23706
23706
  document.body.style.WebkitUserSelect = ae.current, me(Ne);
23707
23707
  });
23708
23708
  }, "handleTouchStart"), mt = /* @__PURE__ */ i((Ne) => {
23709
- V.props.onTouchEnd && V.props.onTouchEnd(Ne), J(), G.start(x, () => {
23709
+ V.props.onTouchEnd && V.props.onTouchEnd(Ne), J(), U.start(x, () => {
23710
23710
  ie(Ne);
23711
23711
  });
23712
23712
  }, "handleTouchEnd");
@@ -23755,7 +23755,7 @@ const ea = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ i(function(t, o) {
23755
23755
  disableInteractive: K,
23756
23756
  placement: A,
23757
23757
  PopperComponentProp: k,
23758
- touch: U.current
23758
+ touch: q.current
23759
23759
  }, st = typeof D.popper == "function" ? D.popper(Xe) : D.popper, wt = S.useMemo(() => {
23760
23760
  let Ne = [{
23761
23761
  name: "arrow",
@@ -24636,7 +24636,7 @@ const b0 = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ i(function(t, o) {
24636
24636
  ownerState: L
24637
24637
  });
24638
24638
  process.env.NODE_ENV !== "production" && p && M && console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties at the same time on a `Tabs` component.');
24639
- const [U, K] = S.useState(!1), [te, z] = S.useState(Jh), [G, Z] = S.useState(!1), [ee, se] = S.useState(!1), [B, fe] = S.useState(!1), [ae, J] = S.useState({
24639
+ const [q, K] = S.useState(!1), [te, z] = S.useState(Jh), [U, Z] = S.useState(!1), [ee, se] = S.useState(!1), [B, fe] = S.useState(!1), [ae, J] = S.useState({
24640
24640
  overflow: "hidden",
24641
24641
  scrollbarWidth: 0
24642
24642
  }), ue = /* @__PURE__ */ new Map(), ie = S.useRef(null), me = S.useRef(null), Ee = {
@@ -24757,11 +24757,11 @@ const b0 = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ i(function(t, o) {
24757
24757
  ...he,
24758
24758
  onChange: je
24759
24759
  }) : null;
24760
- const Be = M && (P === "auto" && (G || ee) || P === !0);
24760
+ const Be = M && (P === "auto" && (U || ee) || P === !0);
24761
24761
  return be.scrollButtonStart = Be ? /* @__PURE__ */ f(Se, {
24762
24762
  direction: a ? "right" : "left",
24763
24763
  onClick: mt,
24764
- disabled: !G,
24764
+ disabled: !U,
24765
24765
  ...St
24766
24766
  }) : null, be.scrollButtonEnd = Be ? /* @__PURE__ */ f(Se, {
24767
24767
  direction: a ? "left" : "right",
@@ -24862,7 +24862,7 @@ const b0 = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ i(function(t, o) {
24862
24862
  const Be = le === k;
24863
24863
  return _e += 1, /* @__PURE__ */ S.cloneElement(be, {
24864
24864
  fullWidth: $ === "fullWidth",
24865
- indicator: Be && !U && xe,
24865
+ indicator: Be && !q && xe,
24866
24866
  selected: Be,
24867
24867
  selectionFollowsFocus: w,
24868
24868
  onChange: h,
@@ -24939,7 +24939,7 @@ const b0 = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ i(function(t, o) {
24939
24939
  role: "tablist",
24940
24940
  ...Tt,
24941
24941
  children: Ze
24942
- }), U && xe]
24942
+ }), q && xe]
24943
24943
  }), Xt.scrollButtonEnd]
24944
24944
  });
24945
24945
  }, "Tabs"));
@@ -27856,16 +27856,16 @@ const B0 = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ i(function(t, o) {
27856
27856
  ...L,
27857
27857
  children: Q
27858
27858
  });
27859
- const U = /* @__PURE__ */ f(F, {
27859
+ const q = /* @__PURE__ */ f(F, {
27860
27860
  ...W,
27861
27861
  children: Q
27862
27862
  });
27863
27863
  return C === "persistent" ? /* @__PURE__ */ f(j, {
27864
27864
  ...L,
27865
- children: U
27865
+ children: q
27866
27866
  }) : /* @__PURE__ */ f(_, {
27867
27867
  ...R,
27868
- children: U
27868
+ children: q
27869
27869
  });
27870
27870
  }, "Drawer"));
27871
27871
  process.env.NODE_ENV !== "production" && (B0.propTypes = {
@@ -28160,11 +28160,11 @@ const hN = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
28160
28160
  eo(() => {
28161
28161
  j.current = null;
28162
28162
  }, [P]);
28163
- const L = S.useCallback((z, G = {}) => {
28163
+ const L = S.useCallback((z, U = {}) => {
28164
28164
  const {
28165
28165
  mode: Z = null,
28166
28166
  changeTransition: ee = !0
28167
- } = G, se = es(s, l), B = ["right", "bottom"].includes(se) ? 1 : -1, fe = gr(l), ae = fe ? `translate(${B * z}px, 0)` : `translate(0, ${B * z}px)`, J = R.current.style;
28167
+ } = U, se = es(s, l), B = ["right", "bottom"].includes(se) ? 1 : -1, fe = gr(l), ae = fe ? `translate(${B * z}px, 0)` : `translate(0, ${B * z}px)`, J = R.current.style;
28168
28168
  J.webkitTransform = ae, J.transform = ae;
28169
28169
  let ue = "";
28170
28170
  if (Z && (ue = s.transitions.create("all", Nn({
@@ -28187,9 +28187,9 @@ const hN = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
28187
28187
  return;
28188
28188
  }
28189
28189
  M.current.isSwiping = null;
28190
- const G = es(s, l), Z = gr(l);
28190
+ const U = es(s, l), Z = gr(l);
28191
28191
  let ee;
28192
- Z ? ee = Sd(G, z.changedTouches, Gt(z.currentTarget)) : ee = xd(G, z.changedTouches, Zt(z.currentTarget));
28192
+ Z ? ee = Sd(U, z.changedTouches, Gt(z.currentTarget)) : ee = xd(U, z.changedTouches, Zt(z.currentTarget));
28193
28193
  const se = Z ? M.current.startX : M.current.startY, B = Ui(Z, R.current), fe = cg(ee, se, P, B), ae = fe / B;
28194
28194
  if (Math.abs(M.current.velocity) > m && (j.current = Math.abs((B - fe) / M.current.velocity) * 1e3), P) {
28195
28195
  M.current.velocity > m || ae > g ? v() : L(0, {
@@ -28205,8 +28205,8 @@ const hN = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
28205
28205
  (z || !(d && b)) && Wd.flushSync(() => {
28206
28206
  I(!0);
28207
28207
  });
28208
- const G = gr(l);
28209
- !P && R.current && L(Ui(G, R.current) + (d ? 15 : -vd), {
28208
+ const U = gr(l);
28209
+ !P && R.current && L(Ui(U, R.current) + (d ? 15 : -vd), {
28210
28210
  changeTransition: !1
28211
28211
  }), M.current.velocity = 0, M.current.lastTime = null, M.current.lastTranslate = null, M.current.paperHit = !1, H.current = !0;
28212
28212
  }
@@ -28214,7 +28214,7 @@ const hN = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
28214
28214
  if (!R.current || !H.current || On !== null && On !== M.current)
28215
28215
  return;
28216
28216
  W(!0);
28217
- const G = es(s, l), Z = gr(l), ee = Sd(G, z.touches, Gt(z.currentTarget)), se = xd(G, z.touches, Zt(z.currentTarget));
28217
+ const U = es(s, l), Z = gr(l), ee = Sd(U, z.touches, Gt(z.currentTarget)), se = xd(U, z.touches, Zt(z.currentTarget));
28218
28218
  if (P && R.current.contains(z.target) && On === null) {
28219
28219
  const ue = fN(z.target, R.current);
28220
28220
  if (mN({
@@ -28254,10 +28254,10 @@ const hN = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
28254
28254
  M.current.lastTranslate === null && (M.current.lastTranslate = ae, M.current.lastTime = performance.now() + 1);
28255
28255
  const J = (ae - M.current.lastTranslate) / (performance.now() - M.current.lastTime) * 1e3;
28256
28256
  M.current.velocity = M.current.velocity * 0.4 + J * 0.6, M.current.lastTranslate = ae, M.current.lastTime = performance.now(), z.cancelable && z.preventDefault(), L(ae);
28257
- }), U = ao((z) => {
28257
+ }), q = ao((z) => {
28258
28258
  if (z.defaultPrevented || z.defaultMuiPrevented || P && (u || !_.current.contains(z.target)) && !R.current.contains(z.target))
28259
28259
  return;
28260
- const G = es(s, l), Z = gr(l), ee = Sd(G, z.touches, Gt(z.currentTarget)), se = xd(G, z.touches, Zt(z.currentTarget));
28260
+ const U = es(s, l), Z = gr(l), ee = Sd(U, z.touches, Gt(z.currentTarget)), se = xd(U, z.touches, Zt(z.currentTarget));
28261
28261
  if (!P) {
28262
28262
  if (p || !(z.target === N.current || R.current?.contains(z.target) && (typeof b == "function" ? b(z, N.current, R.current) : b)))
28263
28263
  return;
@@ -28272,15 +28272,15 @@ const hN = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
28272
28272
  S.useEffect(() => {
28273
28273
  if (O === "temporary") {
28274
28274
  const z = Gt(R.current);
28275
- return z.addEventListener("touchstart", U), z.addEventListener("touchmove", Q, {
28275
+ return z.addEventListener("touchstart", q), z.addEventListener("touchmove", Q, {
28276
28276
  passive: !P
28277
28277
  }), z.addEventListener("touchend", F), () => {
28278
- z.removeEventListener("touchstart", U), z.removeEventListener("touchmove", Q, {
28278
+ z.removeEventListener("touchstart", q), z.removeEventListener("touchmove", Q, {
28279
28279
  passive: !P
28280
28280
  }), z.removeEventListener("touchend", F);
28281
28281
  };
28282
28282
  }
28283
- }, [O, P, U, Q, F]), S.useEffect(() => () => {
28283
+ }, [O, P, q, Q, F]), S.useEffect(() => () => {
28284
28284
  On === M.current && (On = null);
28285
28285
  }, []), S.useEffect(() => {
28286
28286
  P || I(!1);
@@ -30444,7 +30444,7 @@ const bD = S.memo(/* @__PURE__ */ i(function({
30444
30444
  slots: N,
30445
30445
  slotProps: _,
30446
30446
  ...R
30447
- } = e, [V, H] = S.useState(0), j = S.useRef(null), [L, F] = S.useState({ top: 2, left: 8, h: 28 }), W = Bo((q) => q.breakpoints.down("md")), Q = dc(e), U = Qe(), [K] = Yu(), te = (K === "en" ? rf : sf).components.MuiDataGrid.defaultProps.localeText, z = QN(), G = tt(e), {
30447
+ } = e, [V, H] = S.useState(0), j = S.useRef(null), [L, F] = S.useState({ top: 2, left: 8, h: 28 }), W = Bo((G) => G.breakpoints.down("md")), Q = dc(e), q = Qe(), [K] = Yu(), te = (K === "en" ? rf : sf).components.MuiDataGrid.defaultProps.localeText, z = QN(), U = tt(e), {
30448
30448
  props: {
30449
30449
  bulkActionButtons: Z = n,
30450
30450
  hasCreate: ee,
@@ -30462,13 +30462,13 @@ const bD = S.memo(/* @__PURE__ */ i(function({
30462
30462
  },
30463
30463
  setProps: ge
30464
30464
  } = Vn(), He = A ?? me, ze = k ?? Ee, mt = S.useCallback(
30465
- (q) => {
30466
- if (j.current = q, !!J) {
30465
+ (G) => {
30466
+ if (j.current = G, !!J) {
30467
30467
  if (typeof J == "function") {
30468
- J(q);
30468
+ J(G);
30469
30469
  return;
30470
30470
  }
30471
- J.current = q;
30471
+ J.current = G;
30472
30472
  }
30473
30473
  },
30474
30474
  [J]
@@ -30477,18 +30477,18 @@ const bD = S.memo(/* @__PURE__ */ i(function({
30477
30477
  ), Se = S.useCallback(() => {
30478
30478
  je(Cg());
30479
30479
  }, []), St = R?.dataSource ?? Ce?.dataSource, Xe = S.useMemo(() => {
30480
- const q = { ...R };
30481
- return delete q.dataSource, delete q.pivotingColDef, q;
30480
+ const G = { ...R };
30481
+ return delete G.dataSource, delete G.pivotingColDef, G;
30482
30482
  }, [R]), st = S.useMemo(() => {
30483
- const q = { ...Ce };
30484
- return delete q.dataSource, delete q.pivotingColDef, q;
30483
+ const G = { ...Ce };
30484
+ return delete G.dataSource, delete G.pivotingColDef, G;
30485
30485
  }, [Ce]), wt = S.useRef(null), Bt = S.useRef(null), ln = S.useMemo(() => {
30486
- const q = {
30486
+ const G = {
30487
30487
  ...wg,
30488
30488
  ...R?.aggregationFunctions || {},
30489
30489
  ...Ce?.aggregationFunctions || {}
30490
30490
  };
30491
- return q.count || (q.count = wg.count), q;
30491
+ return G.count || (G.count = wg.count), G;
30492
30492
  }, [R?.aggregationFunctions, Ce?.aggregationFunctions]), xe = Fn(), {
30493
30493
  data: _e = [],
30494
30494
  isFetching: Ze,
@@ -30506,22 +30506,22 @@ const bD = S.memo(/* @__PURE__ */ i(function({
30506
30506
  le.current && !B && Nt.length && (Xt([]), z?.([])), le.current = B;
30507
30507
  }, [B, Xt, z, Nt.length]);
30508
30508
  const Be = S.useCallback(
30509
- (q) => {
30509
+ (G) => {
30510
30510
  if (Ze)
30511
30511
  return;
30512
- const re = [q];
30512
+ const re = [G];
30513
30513
  Xt(re), z?.(re);
30514
30514
  },
30515
30515
  [Ze, Xt, z]
30516
30516
  ), qe = Ge || !ie || be !== !1 || de, It = S.useCallback(async () => typeof Tt != "function" ? _e : Tt(), [_e, Tt]), Io = de ? void 0 : It, wn = S.useMemo(() => {
30517
- const q = {
30517
+ const G = {
30518
30518
  loadingOverlay: rR,
30519
30519
  noRowsOverlay: Np,
30520
30520
  baseIconButton: nS,
30521
30521
  toolbar: bD,
30522
30522
  ...N
30523
30523
  };
30524
- return typeof q.toolbar == "boolean" && (q.toolbar = void 0), q;
30524
+ return typeof G.toolbar == "boolean" && (G.toolbar = void 0), G;
30525
30525
  }, [N]), Tn = S.useRef({ key: null, promise: null }), Oi = S.useRef({ rows: [] }), [, Ar] = S.useState({
30526
30526
  rows: [],
30527
30527
  columns: [],
@@ -30529,7 +30529,7 @@ const bD = S.memo(/* @__PURE__ */ i(function({
30529
30529
  }), [, Nf] = S.useState({}), Dc = $ && de, ra = S.useMemo(() => {
30530
30530
  if (!de)
30531
30531
  return St;
30532
- const q = /* @__PURE__ */ i((re) => {
30532
+ const G = /* @__PURE__ */ i((re) => {
30533
30533
  if (!re)
30534
30534
  return re;
30535
30535
  const we = typeof re.getRows == "function" ? (...ye) => re.getRows(...ye) : re.getRows, Ue = typeof re.getGroupKey == "function" ? (...ye) => re.getGroupKey(...ye) : null, Je = /* @__PURE__ */ i((ye) => {
@@ -30577,7 +30577,7 @@ const bD = S.memo(/* @__PURE__ */ i(function({
30577
30577
  }, "getAggregatedValue")
30578
30578
  };
30579
30579
  }, "ensureDataSourceGrouping");
30580
- return q(St || {
30580
+ return G(St || {
30581
30581
  getRows: /* @__PURE__ */ i(async (re) => {
30582
30582
  const we = re.pivotModel || {};
30583
30583
  Oi.current = we;
@@ -30609,7 +30609,7 @@ const bD = S.memo(/* @__PURE__ */ i(function({
30609
30609
  ),
30610
30610
  groupFields: JSON.stringify(re.groupFields ?? []),
30611
30611
  groupKeys: JSON.stringify(re.groupKeys ?? [])
30612
- }, vo = xe.getList(G, {
30612
+ }, vo = xe.getList(U, {
30613
30613
  pagination: { page: ot, perPage: Dt },
30614
30614
  sort: { field: En, order: ye },
30615
30615
  filter: Ye,
@@ -30685,21 +30685,21 @@ const bD = S.memo(/* @__PURE__ */ i(function({
30685
30685
  xe,
30686
30686
  St,
30687
30687
  de,
30688
- G,
30688
+ U,
30689
30689
  R?.meta,
30690
30690
  Ce?.meta,
30691
30691
  jt.field,
30692
30692
  jt.order
30693
30693
  ]), ex = S.useCallback(
30694
- (q, re) => {
30694
+ (G, re) => {
30695
30695
  const Ue = (Array.isArray(re) ? re : []).map((Je) => Og(Je && typeof Je == "object" ? Je.key ?? Je.group : Je));
30696
30696
  return {
30697
- field: Ue.length ? `${q}__${Ue.join("__")}` : q,
30697
+ field: Ue.length ? `${G}__${Ue.join("__")}` : G,
30698
30698
  minWidth: 120
30699
30699
  };
30700
30700
  },
30701
30701
  []
30702
- ), tx = D ?? (ra ? ex : void 0), { showCreate: Df, showEdit: Fc, showShow: ox } = nf({ resource: G }), Ri = it(ro) || {}, {
30702
+ ), tx = D ?? (ra ? ex : void 0), { showCreate: Df, showEdit: Fc, showShow: ox } = nf({ resource: U }), Ri = it(ro) || {}, {
30703
30703
  user: ia = [],
30704
30704
  lang: Ff = []
30705
30705
  } = Ri, nx = Ts(Ri, "borrar") || Ts(Ri, "delete"), sa = E && !nx, _c = it(av), Wn = af(), aa = (X.current?.state?.rowGrouping?.model?.length ?? 0) > 0, _f = aa && !de ? `${L.h + 4}px` : 0;
@@ -30711,10 +30711,15 @@ const bD = S.memo(/* @__PURE__ */ i(function({
30711
30711
  });
30712
30712
  return () => cancelAnimationFrame(re);
30713
30713
  }, [X, ze, de]), Le(() => {
30714
- _c && (_c.current.activePanel.params.apiRef = X);
30715
- }, [_c]), Le(() => {
30716
- const q = {};
30717
- Oe !== X && (q.apiRef = X), me !== He && (q.pivotEnabled = He), Ee !== ze && (q.pivotUi = ze), Object.keys(q).length > 0 && ge?.(q);
30714
+ if (_c) {
30715
+ const G = _c.current.panels.find(
30716
+ (re) => re.id === `win_${U}`
30717
+ );
30718
+ G && (G.params.apiRef = X);
30719
+ }
30720
+ }, [X, U, _c]), Le(() => {
30721
+ const G = {};
30722
+ Oe !== X && (G.apiRef = X), me !== He && (G.pivotEnabled = He), Ee !== ze && (G.pivotUi = ze), Object.keys(G).length > 0 && ge?.(G);
30718
30723
  }, [
30719
30724
  X,
30720
30725
  Oe,
@@ -30735,16 +30740,16 @@ const bD = S.memo(/* @__PURE__ */ i(function({
30735
30740
  disableColumnMenu: !0,
30736
30741
  flex: 0,
30737
30742
  colSpan: /* @__PURE__ */ i(() => 1, "colSpan"),
30738
- renderCell: /* @__PURE__ */ i((q) => {
30739
- if (!q?.rowNode || q.rowNode.type !== "group")
30743
+ renderCell: /* @__PURE__ */ i((G) => {
30744
+ if (!G?.rowNode || G.rowNode.type !== "group")
30740
30745
  return null;
30741
- const re = !!q.rowNode.childrenExpanded;
30746
+ const re = !!G.rowNode.childrenExpanded;
30742
30747
  return /* @__PURE__ */ f(
30743
30748
  no,
30744
30749
  {
30745
30750
  size: "small",
30746
30751
  onClick: /* @__PURE__ */ i((Ue) => {
30747
- Ue.stopPropagation(), X.current?.setRowChildrenExpansion(q.id, !re);
30752
+ Ue.stopPropagation(), X.current?.setRowChildrenExpansion(G.id, !re);
30748
30753
  }, "toggle"),
30749
30754
  tabIndex: -1,
30750
30755
  sx: { "& svg": { fontSize: 20 } },
@@ -30754,20 +30759,20 @@ const bD = S.memo(/* @__PURE__ */ i(function({
30754
30759
  }, "renderCell")
30755
30760
  }),
30756
30761
  [X]
30757
- ), Mi = S.useMemo(() => `metiri_rowGrouping_${(G || "").toString().trim() || "default"}`, [G]), $r = S.useMemo(() => {
30762
+ ), Mi = S.useMemo(() => `metiri_rowGrouping_${(U || "").toString().trim() || "default"}`, [U]), $r = S.useMemo(() => {
30758
30763
  try {
30759
- const q = localStorage.getItem(Mi), re = q ? JSON.parse(q) : [];
30764
+ const G = localStorage.getItem(Mi), re = G ? JSON.parse(G) : [];
30760
30765
  return Array.isArray(re) ? re : [];
30761
30766
  } catch {
30762
30767
  return [];
30763
30768
  }
30764
30769
  }, [Mi]), Lf = S.useMemo(
30765
- () => a.map((q) => {
30766
- const re = ia[q.field.replace("_lis", "")];
30767
- return re ? { ...q, ...re } : q;
30770
+ () => a.map((G) => {
30771
+ const re = ia[G.field.replace("_lis", "")];
30772
+ return re ? { ...G, ...re } : G;
30768
30773
  }).sort(
30769
- (q, re) => parseInt(
30770
- ia[q.field.replace("_lis", "")]?.orden
30774
+ (G, re) => parseInt(
30775
+ ia[G.field.replace("_lis", "")]?.orden
30771
30776
  ) - parseInt(ia[re.field.replace("_lis", "")]?.orden)
30772
30777
  ),
30773
30778
  [a, ia]
@@ -30775,15 +30780,15 @@ const bD = S.memo(/* @__PURE__ */ i(function({
30775
30780
  columns: { columnVisibilityModel: Bf = {} },
30776
30781
  ...la
30777
30782
  } = v, { columnVisibilityModel: Vf, columnOrder: zf, columnasConfiguradas: jf } = S.useMemo(() => {
30778
- const q = {}, re = [], we = [];
30783
+ const G = {}, re = [], we = [];
30779
30784
  return Lf.forEach((Ue) => {
30780
- q[Ue.field] = Ue.oculto !== void 0 ? !Ue.oculto : Bf[Ue.field] ?? !0, re.push(Ue.field), we.push({
30785
+ G[Ue.field] = Ue.oculto !== void 0 ? !Ue.oculto : Bf[Ue.field] ?? !0, re.push(Ue.field), we.push({
30781
30786
  ...Ue,
30782
30787
  width: Ue.ancho ? parseInt(Ue.ancho) : Ue.width
30783
30788
  // Usar el ancho de las configuraciones si está disponible
30784
30789
  });
30785
30790
  }), {
30786
- columnVisibilityModel: q,
30791
+ columnVisibilityModel: G,
30787
30792
  columnOrder: re,
30788
30793
  columnasConfiguradas: we
30789
30794
  };
@@ -30800,14 +30805,14 @@ const bD = S.memo(/* @__PURE__ */ i(function({
30800
30805
  if (Hn?.sorting?.sortModel?.length)
30801
30806
  return Hn.sorting;
30802
30807
  if (jt.field) {
30803
- const q = jt.order?.toLowerCase?.();
30804
- return { sortModel: [{ field: jt.field, sort: q }] };
30808
+ const G = jt.order?.toLowerCase?.();
30809
+ return { sortModel: [{ field: jt.field, sort: G }] };
30805
30810
  }
30806
30811
  }, [Hn?.sorting, jt.field, jt.order]), ix = S.useCallback(
30807
- (q = []) => {
30812
+ (G = []) => {
30808
30813
  if (!de) {
30809
30814
  try {
30810
- localStorage.setItem(Mi, JSON.stringify(q));
30815
+ localStorage.setItem(Mi, JSON.stringify(G));
30811
30816
  } catch {
30812
30817
  }
30813
30818
  H((re) => re + 1);
@@ -30818,8 +30823,8 @@ const bD = S.memo(/* @__PURE__ */ i(function({
30818
30823
  S.useEffect(() => {
30819
30824
  if (!(!X.current || de || W))
30820
30825
  try {
30821
- const q = X.current.state?.rowGrouping?.model ?? [];
30822
- $r.length && JSON.stringify(q) !== JSON.stringify($r) && X.current.setRowGroupingModel($r);
30826
+ const G = X.current.state?.rowGrouping?.model ?? [];
30827
+ $r.length && JSON.stringify(G) !== JSON.stringify($r) && X.current.setRowGroupingModel($r);
30823
30828
  } catch {
30824
30829
  }
30825
30830
  }, [de, W]), S.useEffect(() => {
@@ -30849,9 +30854,9 @@ const bD = S.memo(/* @__PURE__ */ i(function({
30849
30854
  Uf.current = Q;
30850
30855
  }, [Q]);
30851
30856
  const Nr = S.useMemo(
30852
- () => jf.map((q) => ({
30853
- ...q,
30854
- headerName: Ff[q.field.replace("_lis", "")] ?? q.headerName
30857
+ () => jf.map((G) => ({
30858
+ ...G,
30859
+ headerName: Ff[G.field.replace("_lis", "")] ?? G.headerName
30855
30860
  })),
30856
30861
  [jf, Ff]
30857
30862
  ), Gf = S.useMemo(() => de || !(t.length > 0 || m || x || O || sa) ? Nr : Nr.concat([
@@ -30861,17 +30866,17 @@ const bD = S.memo(/* @__PURE__ */ i(function({
30861
30866
  width: 100,
30862
30867
  hideable: !1,
30863
30868
  renderHeader: /* @__PURE__ */ i(() => /* @__PURE__ */ f(mo, { children: o }), "renderHeader"),
30864
- getActions: /* @__PURE__ */ i((q) => {
30865
- const re = X.current.getRowNode(q.id), we = re?.children?.[0], Ue = !!w && typeof we == "string" && we.indexOf(`${w}=`) !== -1, Je = !Pu(q.row, l), Dt = !J0(
30866
- q.row,
30869
+ getActions: /* @__PURE__ */ i((G) => {
30870
+ const re = X.current.getRowNode(G.id), we = re?.children?.[0], Ue = !!w && typeof we == "string" && we.indexOf(`${w}=`) !== -1, Je = !Pu(G.row, l), Dt = !J0(
30871
+ G.row,
30867
30872
  c
30868
- ), ot = x && Je, Wt = Uf.current, En = (q.row?.id == null || q.row?.id === "") && Ue, ye = re?.type === "group" || En ? void 0 : q.row?.id ?? q.id, ht = ye ? /* @__PURE__ */ f(
30873
+ ), ot = x && Je, Wt = Uf.current, En = (G.row?.id == null || G.row?.id === "") && Ue, ye = re?.type === "group" || En ? void 0 : G.row?.id ?? G.id, ht = ye ? /* @__PURE__ */ f(
30869
30874
  Fr,
30870
30875
  {
30871
- label: U("ra.action.show"),
30876
+ label: q("ra.action.show"),
30872
30877
  icon: /* @__PURE__ */ f(yl, { color: "primary" }),
30873
30878
  onClick: /* @__PURE__ */ i((Ye) => {
30874
- Ye && (Ye.defaultMuiPrevented = !0, Ye.stopPropagation()), ox({ id: ye, record: q.row });
30879
+ Ye && (Ye.defaultMuiPrevented = !0, Ye.stopPropagation()), ox({ id: ye, record: G.row });
30875
30880
  }, "onClick")
30876
30881
  },
30877
30882
  `show-${ye}`
@@ -30890,7 +30895,7 @@ const bD = S.memo(/* @__PURE__ */ i(function({
30890
30895
  onClick: /* @__PURE__ */ i((jc) => typeof Ft == "function" ? Ft(
30891
30896
  {
30892
30897
  ...Wt,
30893
- record: q.row
30898
+ record: G.row
30894
30899
  },
30895
30900
  vo
30896
30901
  ) : !1, "onClick"),
@@ -30904,7 +30909,7 @@ const bD = S.memo(/* @__PURE__ */ i(function({
30904
30909
  Fc({
30905
30910
  id: ye,
30906
30911
  estado: "B",
30907
- record: q.row
30912
+ record: G.row
30908
30913
  });
30909
30914
  }, "handleClick");
30910
30915
  Ut.unshift(
@@ -30913,7 +30918,7 @@ const bD = S.memo(/* @__PURE__ */ i(function({
30913
30918
  {
30914
30919
  sx: Ou,
30915
30920
  onClick: Ye,
30916
- label: U("ra.action.delete"),
30921
+ label: q("ra.action.delete"),
30917
30922
  icon: oS(
30918
30923
  h,
30919
30924
  /* @__PURE__ */ f(Us, {})
@@ -30929,7 +30934,7 @@ const bD = S.memo(/* @__PURE__ */ i(function({
30929
30934
  Df({
30930
30935
  id: ye,
30931
30936
  estado: "ND",
30932
- record: q.row
30937
+ record: G.row
30933
30938
  });
30934
30939
  }, "handleClick");
30935
30940
  Ut.unshift(
@@ -30938,7 +30943,7 @@ const bD = S.memo(/* @__PURE__ */ i(function({
30938
30943
  {
30939
30944
  sx: Ou,
30940
30945
  onClick: Ye,
30941
- label: U("pos.create_from"),
30946
+ label: q("pos.create_from"),
30942
30947
  icon: /* @__PURE__ */ f(bl, {}),
30943
30948
  showInMenu: !0
30944
30949
  },
@@ -30951,7 +30956,7 @@ const bD = S.memo(/* @__PURE__ */ i(function({
30951
30956
  ot ? ht : /* @__PURE__ */ f(
30952
30957
  Fr,
30953
30958
  {
30954
- label: U("ra.action.edit"),
30959
+ label: q("ra.action.edit"),
30955
30960
  icon: mD(
30956
30961
  y,
30957
30962
  /* @__PURE__ */ f(
@@ -30966,7 +30971,7 @@ const bD = S.memo(/* @__PURE__ */ i(function({
30966
30971
  onClick: /* @__PURE__ */ i((Ye) => {
30967
30972
  Ye && (Ye.defaultMuiPrevented = !0, Ye.stopPropagation()), Fc({
30968
30973
  id: ye,
30969
- record: q.row
30974
+ record: G.row
30970
30975
  });
30971
30976
  }, "onClick")
30972
30977
  },
@@ -30978,7 +30983,7 @@ const bD = S.memo(/* @__PURE__ */ i(function({
30978
30983
  /* @__PURE__ */ f(
30979
30984
  Fr,
30980
30985
  {
30981
- label: U("ra.action.create"),
30986
+ label: q("ra.action.create"),
30982
30987
  icon: /* @__PURE__ */ f(Hs, { color: "primary" }),
30983
30988
  onClick: /* @__PURE__ */ i((Ye) => {
30984
30989
  Ye && (Ye.defaultMuiPrevented = !0, Ye.stopPropagation());
@@ -31010,8 +31015,8 @@ const bD = S.memo(/* @__PURE__ */ i(function({
31010
31015
  x,
31011
31016
  l,
31012
31017
  O,
31013
- G,
31014
31018
  U,
31019
+ q,
31015
31020
  Nr,
31016
31021
  de
31017
31022
  ]), uo = tD({
@@ -31019,18 +31024,18 @@ const bD = S.memo(/* @__PURE__ */ i(function({
31019
31024
  columns: Gf,
31020
31025
  enabled: !de
31021
31026
  }), lx = S.useCallback(
31022
- (q, re, we) => {
31023
- uo.onColumnWidthChange(q), Xe?.onColumnWidthChange?.(q, re, we), st?.onColumnWidthChange?.(
31024
- q,
31027
+ (G, re, we) => {
31028
+ uo.onColumnWidthChange(G), Xe?.onColumnWidthChange?.(G, re, we), st?.onColumnWidthChange?.(
31029
+ G,
31025
31030
  re,
31026
31031
  we
31027
31032
  );
31028
31033
  },
31029
31034
  [uo, st, Xe]
31030
31035
  ), cx = S.useCallback(
31031
- (q, re, we) => {
31032
- uo.onColumnOrderChange(q), Xe?.onColumnOrderChange?.(q, re, we), st?.onColumnOrderChange?.(
31033
- q,
31036
+ (G, re, we) => {
31037
+ uo.onColumnOrderChange(G), Xe?.onColumnOrderChange?.(G, re, we), st?.onColumnOrderChange?.(
31038
+ G,
31034
31039
  re,
31035
31040
  we
31036
31041
  );
@@ -31038,23 +31043,23 @@ const bD = S.memo(/* @__PURE__ */ i(function({
31038
31043
  [uo, st, Xe]
31039
31044
  ), Bc = S.useMemo(
31040
31045
  () => uo.columns.find(
31041
- (q) => q?.field === "actions" && typeof q?.getActions == "function"
31046
+ (G) => G?.field === "actions" && typeof G?.getActions == "function"
31042
31047
  ) ?? null,
31043
31048
  [uo.columns]
31044
- ), qf = S.useCallback((q) => {
31045
- const we = (q.currentTarget instanceof HTMLDivElement ? q.currentTarget : null)?.getAttribute("data-id");
31046
- return we || (typeof document > "u" ? null : document.elementsFromPoint(q.clientX, q.clientY).find(
31049
+ ), qf = S.useCallback((G) => {
31050
+ const we = (G.currentTarget instanceof HTMLDivElement ? G.currentTarget : null)?.getAttribute("data-id");
31051
+ return we || (typeof document > "u" ? null : document.elementsFromPoint(G.clientX, G.clientY).find(
31047
31052
  (Dt) => Dt instanceof Element && Dt.matches(iD)
31048
31053
  )?.getAttribute("data-id") ?? null);
31049
31054
  }, []), Kf = S.useCallback(
31050
- (q) => {
31051
- if ((q.target instanceof Element ? q.target : null)?.closest(xg)) {
31052
- q.preventDefault(), q.stopPropagation();
31055
+ (G) => {
31056
+ if ((G.target instanceof Element ? G.target : null)?.closest(xg)) {
31057
+ G.preventDefault(), G.stopPropagation();
31053
31058
  return;
31054
31059
  }
31055
31060
  if (W || de || !Bc)
31056
31061
  return;
31057
- const we = qf(q);
31062
+ const we = qf(G);
31058
31063
  if (!we)
31059
31064
  return;
31060
31065
  let Ue = we;
@@ -31082,9 +31087,9 @@ const bD = S.memo(/* @__PURE__ */ i(function({
31082
31087
  inert: ot.props?.inert,
31083
31088
  onClick: ot.props?.onClick
31084
31089
  }));
31085
- Dt.length !== 0 && (q.preventDefault(), q.stopPropagation(), Be(Ue), je({
31086
- mouseX: q.clientX,
31087
- mouseY: q.clientY,
31090
+ Dt.length !== 0 && (G.preventDefault(), G.stopPropagation(), Be(Ue), je({
31091
+ mouseX: G.clientX,
31092
+ mouseY: G.clientY,
31088
31093
  actions: Dt
31089
31094
  }));
31090
31095
  },
@@ -31097,17 +31102,17 @@ const bD = S.memo(/* @__PURE__ */ i(function({
31097
31102
  Be
31098
31103
  ]
31099
31104
  ), Yf = he.mouseX !== null && he.mouseY !== null, Xf = S.useCallback(
31100
- (q) => (Hn?.columns?.columnVisibilityModel || {})[q] !== !1,
31105
+ (G) => (Hn?.columns?.columnVisibilityModel || {})[G] !== !1,
31101
31106
  [Hn]
31102
31107
  );
31103
31108
  S.useEffect(() => {
31104
31109
  if (!$r.length) {
31105
- const q = la?.rowGrouping?.model ?? Hn?.rowGrouping?.model ?? [];
31106
- if (Array.isArray(q) && q.length)
31110
+ const G = la?.rowGrouping?.model ?? Hn?.rowGrouping?.model ?? [];
31111
+ if (Array.isArray(G) && G.length)
31107
31112
  try {
31108
31113
  localStorage.setItem(
31109
31114
  Mi,
31110
- JSON.stringify(q)
31115
+ JSON.stringify(G)
31111
31116
  );
31112
31117
  } catch {
31113
31118
  }
@@ -31131,13 +31136,13 @@ const bD = S.memo(/* @__PURE__ */ i(function({
31131
31136
  V
31132
31137
  ]);
31133
31138
  const Vc = S.useCallback(() => {
31134
- const q = X?.current?.getVisibleColumns?.() || [];
31135
- return q.length ? q.map((re) => re.field) : uo.columns.filter((re) => Xf(re.field)).map((re) => re.field);
31139
+ const G = X?.current?.getVisibleColumns?.() || [];
31140
+ return G.length ? G.map((re) => re.field) : uo.columns.filter((re) => Xf(re.field)).map((re) => re.field);
31136
31141
  }, [X, uo.columns, Xf, V]), Jf = S.useMemo(() => Vc().find((we) => !el.has(we)) ?? uo.columns.find((we) => !el.has(we.field))?.field ?? uo.columns[0]?.field, [uo.columns, Vc, V]), ki = S.useMemo(
31137
31142
  () => uo.columns,
31138
31143
  [uo.columns]
31139
31144
  ), zc = S.useMemo(() => {
31140
- const q = Jf;
31145
+ const G = Jf;
31141
31146
  return ki.map((re) => {
31142
31147
  const we = re.type === "boolean" ? {
31143
31148
  ...re,
@@ -31157,14 +31162,14 @@ const bD = S.memo(/* @__PURE__ */ i(function({
31157
31162
  formattedValue: ye?.formattedValue,
31158
31163
  row: ye?.row,
31159
31164
  columns: ki,
31160
- primaryField: q,
31165
+ primaryField: G,
31161
31166
  children: ht
31162
31167
  }
31163
31168
  ), "renderTypedCell"), Wt = we.renderCell, En = Fp(we, {
31164
31169
  columns: ki,
31165
- primaryField: q
31170
+ primaryField: G
31166
31171
  });
31167
- return we.field !== q ? {
31172
+ return we.field !== G ? {
31168
31173
  ...we,
31169
31174
  filterOperators: Ue,
31170
31175
  valueFormatter: Dt,
@@ -31190,7 +31195,7 @@ const bD = S.memo(/* @__PURE__ */ i(function({
31190
31195
  right: []
31191
31196
  }, Ye = new Set(Ut.left || []), Ct = new Set(Ut.right || []), Ft = Ht.filter(
31192
31197
  (Oo) => !Ye.has(Oo.field) && !Ct.has(Oo.field)
31193
- ), vo = Ft.findIndex((Oo) => Oo.field === q);
31198
+ ), vo = Ft.findIndex((Oo) => Oo.field === G);
31194
31199
  return vo === -1 ? Ft.length : Ft.length - vo;
31195
31200
  }, "colSpan"),
31196
31201
  renderCell: /* @__PURE__ */ i((ye) => {
@@ -31229,8 +31234,8 @@ const bD = S.memo(/* @__PURE__ */ i(function({
31229
31234
  S.useEffect(() => {
31230
31235
  if (de || !X.current)
31231
31236
  return;
31232
- const q = Bt.current;
31233
- q && _a(Dr, q) && (Bt.current = null);
31237
+ const G = Bt.current;
31238
+ G && _a(Dr, G) && (Bt.current = null);
31234
31239
  const re = X.current.state?.filter?.filterModel;
31235
31240
  Bt.current && !_a(
31236
31241
  Dr,
@@ -31243,13 +31248,13 @@ const bD = S.memo(/* @__PURE__ */ i(function({
31243
31248
  []
31244
31249
  );
31245
31250
  const dx = se && Qo(Z), ux = /* @__PURE__ */ i(() => {
31246
- const q = Array.from(
31251
+ const G = Array.from(
31247
31252
  /* @__PURE__ */ new Set([...Nt, ..._e.map((re) => re.id)])
31248
31253
  );
31249
- Xt(q), z?.(q);
31250
- }, "selectAllVisibleRows"), px = /* @__PURE__ */ i((q) => Array.from(q?.ids ?? []), "normalizeRowSelectionModel"), fx = /* @__PURE__ */ i((q) => {
31254
+ Xt(G), z?.(G);
31255
+ }, "selectAllVisibleRows"), px = /* @__PURE__ */ i((G) => Array.from(G?.ids ?? []), "normalizeRowSelectionModel"), fx = /* @__PURE__ */ i((G) => {
31251
31256
  if (!Ze) {
31252
- const re = px(q);
31257
+ const re = px(G);
31253
31258
  Xt(re), z?.(re);
31254
31259
  }
31255
31260
  }, "handleSelectionChange"), mx = S.useMemo(
@@ -31258,41 +31263,41 @@ const bD = S.memo(/* @__PURE__ */ i(function({
31258
31263
  ids: new Set(Nt)
31259
31264
  }),
31260
31265
  [Nt]
31261
- ), hx = /* @__PURE__ */ i((q) => {
31262
- if (de && ra || (Bt.current = q, wt.current && clearTimeout(wt.current), Pg(q)) || _a(q, Dr))
31266
+ ), hx = /* @__PURE__ */ i((G) => {
31267
+ if (de && ra || (Bt.current = G, wt.current && clearTimeout(wt.current), Pg(G)) || _a(G, Dr))
31263
31268
  return;
31264
31269
  const Ue = (X.current.state.rowGrouping?.model || [])[0], Je = T({
31265
31270
  groupingField: Ue,
31266
- ...q
31271
+ ...G
31267
31272
  });
31268
31273
  wt.current = setTimeout(() => {
31269
31274
  cn(Je, Xo), wt.current = null;
31270
31275
  }, sD);
31271
- }, "handleFilterChange"), gx = /* @__PURE__ */ i((q) => {
31276
+ }, "handleFilterChange"), gx = /* @__PURE__ */ i((G) => {
31272
31277
  if (!(de && ra))
31273
- if (q.length > 0) {
31274
- const { field: re } = q[0];
31278
+ if (G.length > 0) {
31279
+ const { field: re } = G[0];
31275
31280
  let we;
31276
31281
  jt.field === re ? we = jt.order === "ASC" ? "DESC" : jt.order === "DESC" ? "" : "ASC" : we = "ASC", Ne({ field: re, order: we });
31277
31282
  } else
31278
31283
  Ne({ field: "", order: "" });
31279
- }, "handleSortModelChange"), bx = S.useCallback((q) => {
31284
+ }, "handleSortModelChange"), bx = S.useCallback((G) => {
31280
31285
  Ar(
31281
- q || {
31286
+ G || {
31282
31287
  rows: [],
31283
31288
  columns: [],
31284
31289
  values: []
31285
31290
  }
31286
31291
  ), I?.(
31287
- q || {
31292
+ G || {
31288
31293
  rows: [],
31289
31294
  columns: [],
31290
31295
  values: []
31291
31296
  }
31292
31297
  );
31293
31298
  }, [I]), yx = S.useCallback(
31294
- (q) => {
31295
- const re = q || {};
31299
+ (G) => {
31300
+ const re = G || {};
31296
31301
  Nf(re), M?.(re);
31297
31302
  },
31298
31303
  [M]
@@ -31304,26 +31309,26 @@ const bD = S.memo(/* @__PURE__ */ i(function({
31304
31309
  values: []
31305
31310
  }), Nf({}));
31306
31311
  }, [de]);
31307
- const vx = /* @__PURE__ */ i((q, re) => {
31312
+ const vx = /* @__PURE__ */ i((G, re) => {
31308
31313
  if (de) {
31309
31314
  re && (re.defaultMuiPrevented = !0);
31310
31315
  return;
31311
31316
  }
31312
- !q?.id?.startsWith("auto-generated-row") && m && Pu(q.row, l) && Fc({ id: q.id, record: q.row });
31317
+ !G?.id?.startsWith("auto-generated-row") && m && Pu(G.row, l) && Fc({ id: G.id, record: G.row });
31313
31318
  }, "handleRowDoubleClick"), Sx = S.useCallback(
31314
- (q, re, we) => {
31315
- Xe?.onCellDoubleClick?.(q, re, we), st?.onCellDoubleClick?.(q, re, we), de && (re.defaultMuiPrevented = !0);
31319
+ (G, re, we) => {
31320
+ Xe?.onCellDoubleClick?.(G, re, we), st?.onCellDoubleClick?.(G, re, we), de && (re.defaultMuiPrevented = !0);
31316
31321
  },
31317
31322
  [de, st, Xe]
31318
31323
  ), xx = S.useCallback(
31319
- (q) => {
31324
+ (G) => {
31320
31325
  if (de)
31321
31326
  return !1;
31322
31327
  const re = st?.isCellEditable;
31323
31328
  if (typeof re == "function")
31324
- return re(q);
31329
+ return re(G);
31325
31330
  const we = Xe?.isCellEditable;
31326
- return typeof we == "function" ? we(q) : !0;
31331
+ return typeof we == "function" ? we(G) : !0;
31327
31332
  },
31328
31333
  [de, st, Xe]
31329
31334
  ), Cx = {
@@ -31345,10 +31350,10 @@ const bD = S.memo(/* @__PURE__ */ i(function({
31345
31350
  borderColor: Wn.palette.divider
31346
31351
  }
31347
31352
  },
31348
- "& .metiri-group-row .MuiDataGrid-cell": /* @__PURE__ */ i((q) => ({
31349
- backgroundColor: q.palette.action.hover,
31350
- borderBottom: `1px solid ${q.palette.divider}`,
31351
- borderTop: `1px solid ${q.palette.divider}`
31353
+ "& .metiri-group-row .MuiDataGrid-cell": /* @__PURE__ */ i((G) => ({
31354
+ backgroundColor: G.palette.action.hover,
31355
+ borderBottom: `1px solid ${G.palette.divider}`,
31356
+ borderTop: `1px solid ${G.palette.divider}`
31352
31357
  }), "& .metiri-group-row .MuiDataGrid-cell"),
31353
31358
  '& .metiri-group-row .MuiDataGrid-cell[data-field="__check__"]': {
31354
31359
  display: "none"
@@ -31424,10 +31429,10 @@ const bD = S.memo(/* @__PURE__ */ i(function({
31424
31429
  Cb,
31425
31430
  {
31426
31431
  selectedIds: Nt,
31427
- selectAllButton: W && _e.some((q) => !Nt.includes(q.id)) ? /* @__PURE__ */ f(on, { title: U("pos.select_all"), children: /* @__PURE__ */ f(
31432
+ selectAllButton: W && _e.some((G) => !Nt.includes(G.id)) ? /* @__PURE__ */ f(on, { title: q("pos.select_all"), children: /* @__PURE__ */ f(
31428
31433
  no,
31429
31434
  {
31430
- "aria-label": U("pos.select_all"),
31435
+ "aria-label": q("pos.select_all"),
31431
31436
  color: "primary",
31432
31437
  size: "small",
31433
31438
  onClick: ux,
@@ -31485,10 +31490,10 @@ const bD = S.memo(/* @__PURE__ */ i(function({
31485
31490
  spacing: 0.5,
31486
31491
  sx: { flexWrap: "wrap" },
31487
31492
  children: [
31488
- (X.current?.state?.rowGrouping?.model || []).map((q) => {
31493
+ (X.current?.state?.rowGrouping?.model || []).map((G) => {
31489
31494
  const re = Gf.find(
31490
- (we) => we.field === q
31491
- )?.headerName ?? q;
31495
+ (we) => we.field === G
31496
+ )?.headerName ?? G;
31492
31497
  return /* @__PURE__ */ f(
31493
31498
  Ld,
31494
31499
  {
@@ -31498,17 +31503,17 @@ const bD = S.memo(/* @__PURE__ */ i(function({
31498
31503
  onDelete: /* @__PURE__ */ i((we) => {
31499
31504
  we.stopPropagation();
31500
31505
  const Je = (X.current?.state?.rowGrouping?.model || []).filter(
31501
- (Dt) => Dt !== q
31506
+ (Dt) => Dt !== G
31502
31507
  );
31503
31508
  X.current?.setRowGroupingModel(
31504
31509
  Je
31505
31510
  ), X.current?.setColumnVisibility?.(
31506
- q,
31511
+ G,
31507
31512
  !0
31508
31513
  );
31509
31514
  }, "onDelete")
31510
31515
  },
31511
- q
31516
+ G
31512
31517
  );
31513
31518
  }),
31514
31519
  /* @__PURE__ */ f(
@@ -31518,8 +31523,8 @@ const bD = S.memo(/* @__PURE__ */ i(function({
31518
31523
  variant: "outlined",
31519
31524
  label: K === "en" ? "Ungroup" : "Desagrupar",
31520
31525
  sx: { pointerEvents: "auto" },
31521
- onClick: /* @__PURE__ */ i((q) => {
31522
- q.stopPropagation();
31526
+ onClick: /* @__PURE__ */ i((G) => {
31527
+ G.stopPropagation();
31523
31528
  const re = X.current?.state?.rowGrouping?.model || [];
31524
31529
  X.current?.setRowGroupingModel([]), re.forEach(
31525
31530
  (we) => X.current?.setColumnVisibility?.(
@@ -31539,7 +31544,7 @@ const bD = S.memo(/* @__PURE__ */ i(function({
31539
31544
  Qu,
31540
31545
  {
31541
31546
  sx: Cx,
31542
- getRowClassName: /* @__PURE__ */ i((q) => fa(q.row) ? "metiri-group-row" : "", "getRowClassName"),
31547
+ getRowClassName: /* @__PURE__ */ i((G) => fa(G.row) ? "metiri-group-row" : "", "getRowClassName"),
31543
31548
  localeText: {
31544
31549
  ...te,
31545
31550
  toolbarExportCSV: "CSV",
@@ -31561,8 +31566,8 @@ const bD = S.memo(/* @__PURE__ */ i(function({
31561
31566
  },
31562
31567
  row: {
31563
31568
  ..._?.row,
31564
- onContextMenu: /* @__PURE__ */ i((q) => {
31565
- _?.row?.onContextMenu?.(q), q.defaultPrevented || Kf(q);
31569
+ onContextMenu: /* @__PURE__ */ i((G) => {
31570
+ _?.row?.onContextMenu?.(G), G.defaultPrevented || Kf(G);
31566
31571
  }, "onContextMenu")
31567
31572
  }
31568
31573
  },
@@ -31582,8 +31587,8 @@ const bD = S.memo(/* @__PURE__ */ i(function({
31582
31587
  onRowGroupingModelChange: ix,
31583
31588
  disableRowGrouping: W || Ce?.disableRowGrouping || R?.disableRowGrouping,
31584
31589
  onRowSelectionModelChange: fx,
31585
- isRowSelectable: /* @__PURE__ */ i((q) => {
31586
- const re = q?.id;
31590
+ isRowSelectable: /* @__PURE__ */ i((G) => {
31591
+ const re = G?.id;
31587
31592
  return typeof re == "string" ? !re.startsWith("auto-generated-row") : !0;
31588
31593
  }, "isRowSelectable"),
31589
31594
  onRowDoubleClick: vx,
@@ -31624,14 +31629,14 @@ const bD = S.memo(/* @__PURE__ */ i(function({
31624
31629
  onClose: Se,
31625
31630
  slotProps: {
31626
31631
  root: {
31627
- onContextMenu: /* @__PURE__ */ i((q) => {
31628
- if ((q.target instanceof Element ? q.target : null)?.closest(
31632
+ onContextMenu: /* @__PURE__ */ i((G) => {
31633
+ if ((G.target instanceof Element ? G.target : null)?.closest(
31629
31634
  xg
31630
31635
  )) {
31631
- q.preventDefault(), q.stopPropagation();
31636
+ G.preventDefault(), G.stopPropagation();
31632
31637
  return;
31633
31638
  }
31634
- q.preventDefault(), q.stopPropagation(), Kf(q);
31639
+ G.preventDefault(), G.stopPropagation(), Kf(G);
31635
31640
  }, "onContextMenu")
31636
31641
  },
31637
31642
  paper: {
@@ -31653,7 +31658,7 @@ const bD = S.memo(/* @__PURE__ */ i(function({
31653
31658
  autoFocusItem: !0,
31654
31659
  className: jd.menuList
31655
31660
  },
31656
- children: he.actions.map((q, re) => {
31661
+ children: he.actions.map((G, re) => {
31657
31662
  const {
31658
31663
  key: we,
31659
31664
  label: Ue,
@@ -31664,7 +31669,7 @@ const bD = S.memo(/* @__PURE__ */ i(function({
31664
31669
  closeMenuOnClick: En,
31665
31670
  inert: ye,
31666
31671
  onClick: ht
31667
- } = q || {};
31672
+ } = G || {};
31668
31673
  return /* @__PURE__ */ Y(
31669
31674
  kn,
31670
31675
  {
@@ -31725,7 +31730,7 @@ const bD = S.memo(/* @__PURE__ */ i(function({
31725
31730
  )?.[0] ?? W;
31726
31731
  } catch {
31727
31732
  }
31728
- const Q = t.find((B) => B.field === W), U = Q ? (B) => Q.groupingValueGetter?.(
31733
+ const Q = t.find((B) => B.field === W), q = Q ? (B) => Q.groupingValueGetter?.(
31729
31734
  B?.[W],
31730
31735
  B
31731
31736
  ) ?? B?.[W] : void 0, K = l ? l.split(",").map((B) => B.trim()).filter(Boolean) : [], z = (K.length ? K.map(
@@ -31735,7 +31740,7 @@ const bD = S.memo(/* @__PURE__ */ i(function({
31735
31740
  ).filter(Boolean) : t).map((B) => ({
31736
31741
  ...B,
31737
31742
  headerName: x[B.field.replace("_lis", "")] ?? B.headerName
31738
- })), G = /* @__PURE__ */ i(() => {
31743
+ })), U = /* @__PURE__ */ i(() => {
31739
31744
  F({ overlay: null, params: null });
31740
31745
  }, "handleCloseOverlay"), Z = S.useMemo(
31741
31746
  () => ({
@@ -31748,7 +31753,7 @@ const bD = S.memo(/* @__PURE__ */ i(function({
31748
31753
  apiRef: V,
31749
31754
  showAction: A,
31750
31755
  primaryText: o,
31751
- primaryTextPrefix: U,
31756
+ primaryTextPrefix: q,
31752
31757
  secondaryText: n ?? Q?.headerName
31753
31758
  }
31754
31759
  ), "renderCell")
@@ -31896,7 +31901,7 @@ const bD = S.memo(/* @__PURE__ */ i(function({
31896
31901
  {
31897
31902
  open: L.overlay === "actions",
31898
31903
  container: D,
31899
- onClose: G,
31904
+ onClose: U,
31900
31905
  params: L.params,
31901
31906
  actions: O,
31902
31907
  hasEdit: h ? !1 : c,
@@ -32253,11 +32258,11 @@ const bD = S.memo(/* @__PURE__ */ i(function({
32253
32258
  label: void 0
32254
32259
  }, { hidden: W } = V || {}, {
32255
32260
  enviarTodo: Q = !1,
32256
- disabled: U,
32261
+ disabled: q,
32257
32262
  hidden: K,
32258
32263
  enableLoad: te,
32259
32264
  useContenido: z = Js,
32260
- onBeforeSubmitAsistente: G,
32265
+ onBeforeSubmitAsistente: U,
32261
32266
  onAfterSubmitAsistente: Z,
32262
32267
  allowEdit: ee,
32263
32268
  allowAdd: se,
@@ -32267,7 +32272,7 @@ const bD = S.memo(/* @__PURE__ */ i(function({
32267
32272
  slotProps: J,
32268
32273
  initialState: ue,
32269
32274
  validateAllowAdd: ie
32270
- } = N || {}, me = `${m}_enviartodo`, [Ee, Oe] = S.useState(n), [{ field: Ce, sort: ge }] = n, He = L || u || U, ze = W !== void 0 ? W : j ? !0 : K !== void 0 ? K : g, mt = _.enableLoad ?? te ?? p, Ge = ee ?? l, de = se ?? c, X = B ?? d;
32275
+ } = N || {}, me = `${m}_enviartodo`, [Ee, Oe] = S.useState(n), [{ field: Ce, sort: ge }] = n, He = L || u || q, ze = W !== void 0 ? W : j ? !0 : K !== void 0 ? K : g, mt = _.enableLoad ?? te ?? p, Ge = ee ?? l, de = se ?? c, X = B ?? d;
32271
32276
  let he = { ...h };
32272
32277
  E && t.split(",").forEach((le) => {
32273
32278
  le && (he[le] = [
@@ -32386,7 +32391,7 @@ const bD = S.memo(/* @__PURE__ */ i(function({
32386
32391
  {
32387
32392
  ...w,
32388
32393
  source: m,
32389
- onBeforeSubmitAsistente: G,
32394
+ onBeforeSubmitAsistente: U,
32390
32395
  onAfterSubmitAsistente: Z,
32391
32396
  enviarTodo: Q,
32392
32397
  camposClaveFila: o,
@@ -32405,7 +32410,7 @@ const bD = S.memo(/* @__PURE__ */ i(function({
32405
32410
  ...w,
32406
32411
  validateAllowAdd: ie,
32407
32412
  source: m,
32408
- onBeforeSubmitAsistente: G,
32413
+ onBeforeSubmitAsistente: U,
32409
32414
  onAfterSubmitAsistente: Z,
32410
32415
  enviarTodo: Q,
32411
32416
  camposClaveFila: o
@@ -32424,7 +32429,7 @@ const bD = S.memo(/* @__PURE__ */ i(function({
32424
32429
  {
32425
32430
  ...w,
32426
32431
  source: m,
32427
- onBeforeSubmitAsistente: G,
32432
+ onBeforeSubmitAsistente: U,
32428
32433
  onAfterSubmitAsistente: Z,
32429
32434
  enviarTodo: Q,
32430
32435
  camposClaveFila: o,
@@ -33509,7 +33514,7 @@ const mS = /* @__PURE__ */ i(() => {
33509
33514
  let W = null;
33510
33515
  const Q = typeof ResizeObserver < "u" ? new ResizeObserver(() => {
33511
33516
  K();
33512
- }) : null, U = typeof MutationObserver < "u" ? new MutationObserver(() => {
33517
+ }) : null, q = typeof MutationObserver < "u" ? new MutationObserver(() => {
33513
33518
  K();
33514
33519
  }) : null;
33515
33520
  function K() {
@@ -33519,14 +33524,14 @@ const mS = /* @__PURE__ */ i(() => {
33519
33524
  W !== te && (W && Q && Q.unobserve(W), W = te, W && Q && Q.observe(W));
33520
33525
  const z = W ? Math.ceil(W.getBoundingClientRect().height) : Ng;
33521
33526
  I(
33522
- (G) => G === z ? G : z
33527
+ (U) => U === z ? U : z
33523
33528
  );
33524
33529
  }
33525
- return i(K, "syncPaginationHeight"), U?.observe(F, {
33530
+ return i(K, "syncPaginationHeight"), q?.observe(F, {
33526
33531
  childList: !0,
33527
33532
  subtree: !0
33528
33533
  }), K(), () => {
33529
- U?.disconnect(), W && Q && Q.unobserve(W), Q?.disconnect();
33534
+ q?.disconnect(), W && Q && Q.unobserve(W), Q?.disconnect();
33530
33535
  };
33531
33536
  }, []), T === null)
33532
33537
  return /* @__PURE__ */ f(Pr, { loadingPrimary: "", loadingSecondary: "", timeout: 0 });
@@ -34294,9 +34299,9 @@ const mS = /* @__PURE__ */ i(() => {
34294
34299
  pivotUi: W = "mui",
34295
34300
  apiRef: Q
34296
34301
  }
34297
- } = Vn(), U = !F && H === "pivot" ? "grilla" : H, { showCreate: K } = nf({ resource: O }), te = Bo((J) => J.breakpoints.down("md"));
34302
+ } = Vn(), q = !F && H === "pivot" ? "grilla" : H, { showCreate: K } = nf({ resource: O }), te = Bo((J) => J.breakpoints.down("md"));
34298
34303
  Rx(t, () => R.current);
34299
- const z = { ...$, ...P }, G = /* @__PURE__ */ i((J) => {
34304
+ const z = { ...$, ...P }, U = /* @__PURE__ */ i((J) => {
34300
34305
  b(J.currentTarget);
34301
34306
  }, "handleOpenMenu"), Z = /* @__PURE__ */ i(() => {
34302
34307
  b(null), y(null);
@@ -34394,7 +34399,7 @@ const mS = /* @__PURE__ */ i(() => {
34394
34399
  onClick: /* @__PURE__ */ i(() => j("pivot"), "onClick")
34395
34400
  }), [{
34396
34401
  type: "MenuButton",
34397
- label: U === "pivot" ? "Pivot" : T(U === "grilla" ? "pos.view_grid" : "pos.view_card"),
34402
+ label: q === "pivot" ? "Pivot" : T(q === "grilla" ? "pos.view_grid" : "pos.view_card"),
34398
34403
  icon: /* @__PURE__ */ f(Lg, {}),
34399
34404
  options: ue,
34400
34405
  selectOnClick: !0,
@@ -34405,7 +34410,7 @@ const mS = /* @__PURE__ */ i(() => {
34405
34410
  return J;
34406
34411
  }, [
34407
34412
  D,
34408
- U,
34413
+ q,
34409
34414
  L,
34410
34415
  te,
34411
34416
  F,
@@ -34459,8 +34464,8 @@ const mS = /* @__PURE__ */ i(() => {
34459
34464
  }
34460
34465
  ),
34461
34466
  p !== !1 && /* @__PURE__ */ f(vF, { resource: O }),
34462
- F && W !== "custom" && U === "pivot" && /* @__PURE__ */ f(no, { onClick: se, children: /* @__PURE__ */ f(bl, {}) }),
34463
- !c && ae.length > 0 && /* @__PURE__ */ f(no, { onClick: G, children: /* @__PURE__ */ f(gF, {}) }),
34467
+ F && W !== "custom" && q === "pivot" && /* @__PURE__ */ f(no, { onClick: se, children: /* @__PURE__ */ f(bl, {}) }),
34468
+ !c && ae.length > 0 && /* @__PURE__ */ f(no, { onClick: U, children: /* @__PURE__ */ f(gF, {}) }),
34464
34469
  !c && ae.length > 0 && /* @__PURE__ */ f(
34465
34470
  fs,
34466
34471
  {
@@ -35563,7 +35568,7 @@ const P4 = /* @__PURE__ */ i((e) => {
35563
35568
  W < C ? E(W) : W >= F && E(W - x + 1), M.current = $;
35564
35569
  }, [D, x, C]);
35565
35570
  const N = We(() => k.map(({ tab: F, tabIndex: W }) => {
35566
- const Q = l ? pa(F, W) : W, U = P || W >= C && W < C + x, K = F.props?.style ?? {}, te = U ? K : {
35571
+ const Q = l ? pa(F, W) : W, q = P || W >= C && W < C + x, K = F.props?.style ?? {}, te = q ? K : {
35567
35572
  ...K,
35568
35573
  minWidth: 0,
35569
35574
  maxWidth: 0,
@@ -36490,14 +36495,14 @@ const Ug = S.forwardRef(/* @__PURE__ */ i(function(t, o) {
36490
36495
  ...W,
36491
36496
  ...j.sx || {}
36492
36497
  }
36493
- }, U = /* @__PURE__ */ i((K, te) => {
36498
+ }, q = /* @__PURE__ */ i((K, te) => {
36494
36499
  T && te !== "backdropClick" && E();
36495
36500
  }, "handleClose");
36496
36501
  return O === "confirm" ? /* @__PURE__ */ f(
36497
36502
  rl,
36498
36503
  {
36499
36504
  open: !0,
36500
- onClose: U,
36505
+ onClose: q,
36501
36506
  fullWidth: !0,
36502
36507
  maxWidth: "sm",
36503
36508
  TransitionComponent: Ug,
@@ -36520,7 +36525,7 @@ const Ug = S.forwardRef(/* @__PURE__ */ i(function(t, o) {
36520
36525
  rl,
36521
36526
  {
36522
36527
  open: !0,
36523
- onClose: U,
36528
+ onClose: q,
36524
36529
  fullWidth: !0,
36525
36530
  fullScreen: O === "vista",
36526
36531
  maxWidth: O === "vista" ? "lg" : "sm",
@@ -38007,8 +38012,8 @@ const m_ = Pe([/* @__PURE__ */ f("circle", {
38007
38012
  const j = c.indexOf(R), L = [...c];
38008
38013
  if (H.shiftKey && p !== null) {
38009
38014
  const F = Math.min(p, V), W = Math.max(p, V);
38010
- O.slice(F, W + 1).map((U) => U.id).forEach((U) => {
38011
- L.includes(U) || L.push(U);
38015
+ O.slice(F, W + 1).map((q) => q.id).forEach((q) => {
38016
+ L.includes(q) || L.push(q);
38012
38017
  });
38013
38018
  } else
38014
38019
  j === -1 ? L.push(R) : L.splice(j, 1);
@@ -38123,7 +38128,7 @@ const m_ = Pe([/* @__PURE__ */ f("circle", {
38123
38128
  overflow: "auto"
38124
38129
  },
38125
38130
  children: F.map((W, Q) => {
38126
- const U = `transfer-list-item-${W.id}-label`;
38131
+ const q = `transfer-list-item-${W.id}-label`;
38127
38132
  return /* @__PURE__ */ Y(
38128
38133
  Mn,
38129
38134
  {
@@ -38144,7 +38149,7 @@ const m_ = Pe([/* @__PURE__ */ f("circle", {
38144
38149
  tabIndex: -1,
38145
38150
  disableRipple: !0,
38146
38151
  inputProps: {
38147
- "aria-labelledby": U
38152
+ "aria-labelledby": q
38148
38153
  },
38149
38154
  sx: /* @__PURE__ */ i((K) => ({
38150
38155
  color: K.palette.primary.main,
@@ -38157,7 +38162,7 @@ const m_ = Pe([/* @__PURE__ */ f("circle", {
38157
38162
  /* @__PURE__ */ f(
38158
38163
  yn,
38159
38164
  {
38160
- id: U,
38165
+ id: q,
38161
38166
  primary: W.etiqueta || W.name || `Item ${W.id}`,
38162
38167
  primaryTypographyProps: {
38163
38168
  variant: "body2",
@@ -41076,7 +41081,7 @@ const RL = /* @__PURE__ */ i((e) => {
41076
41081
  J.style[R] = `${ie}px`, J.style.transitionTimingFunction = Ee, m && m(J, ue);
41077
41082
  }), Q = j((J, ue) => {
41078
41083
  J.style[R] = "auto", b && b(J, ue);
41079
- }), U = j((J) => {
41084
+ }), q = j((J) => {
41080
41085
  J.style[R] = `${L()}px`, y && y(J);
41081
41086
  }), K = j(h), te = j((J) => {
41082
41087
  const ue = L(), {
@@ -41097,7 +41102,7 @@ const RL = /* @__PURE__ */ i((e) => {
41097
41102
  J.style[R] = N, J.style.transitionTimingFunction = me, v && v(J);
41098
41103
  }), z = /* @__PURE__ */ i((J) => {
41099
41104
  C === "auto" && D.start(M.current || 0, J), s && s(V.current, J);
41100
- }, "handleAddEndListener"), G = {
41105
+ }, "handleAddEndListener"), U = {
41101
41106
  slots: P,
41102
41107
  slotProps: w,
41103
41108
  component: d
@@ -41105,7 +41110,7 @@ const RL = /* @__PURE__ */ i((e) => {
41105
41110
  ref: H,
41106
41111
  className: ce(k.root, l),
41107
41112
  elementType: ML,
41108
- externalForwardedProps: G,
41113
+ externalForwardedProps: U,
41109
41114
  ownerState: A,
41110
41115
  additionalProps: {
41111
41116
  style: {
@@ -41117,12 +41122,12 @@ const RL = /* @__PURE__ */ i((e) => {
41117
41122
  ref: I,
41118
41123
  className: k.wrapper,
41119
41124
  elementType: kL,
41120
- externalForwardedProps: G,
41125
+ externalForwardedProps: U,
41121
41126
  ownerState: A
41122
41127
  }), [fe, ae] = Fe("wrapperInner", {
41123
41128
  className: k.wrapperInner,
41124
41129
  elementType: AL,
41125
- externalForwardedProps: G,
41130
+ externalForwardedProps: U,
41126
41131
  ownerState: A
41127
41132
  });
41128
41133
  return /* @__PURE__ */ f(E, {
@@ -41130,7 +41135,7 @@ const RL = /* @__PURE__ */ i((e) => {
41130
41135
  onEnter: F,
41131
41136
  onEntered: Q,
41132
41137
  onEntering: W,
41133
- onExit: U,
41138
+ onExit: q,
41134
41139
  onExited: K,
41135
41140
  onExiting: te,
41136
41141
  addEndListener: z,
@@ -41305,25 +41310,25 @@ const $L = /* @__PURE__ */ i((e, t, o) => typeof o == "function" ? o(e, t) : o,
41305
41310
  rootRefObject: v,
41306
41311
  contentRefObject: T,
41307
41312
  interactions: y
41308
- }, k = /* @__PURE__ */ i((z) => (G) => {
41309
- z.onFocus?.(G), !G.defaultMuiPrevented && !h.focused && Te.canItemBeFocused(n.state, c) && G.currentTarget === G.target && n.focus.focusItem(G, c);
41310
- }, "createRootHandleFocus"), $ = /* @__PURE__ */ i((z) => (G) => {
41311
- if (z.onBlur?.(G), G.defaultMuiPrevented)
41313
+ }, k = /* @__PURE__ */ i((z) => (U) => {
41314
+ z.onFocus?.(U), !U.defaultMuiPrevented && !h.focused && Te.canItemBeFocused(n.state, c) && U.currentTarget === U.target && n.focus.focusItem(U, c);
41315
+ }, "createRootHandleFocus"), $ = /* @__PURE__ */ i((z) => (U) => {
41316
+ if (z.onBlur?.(U), U.defaultMuiPrevented)
41312
41317
  return;
41313
41318
  const Z = n.items.getItemDOMElement(c);
41314
41319
  h.editing || // we can exit the editing state by clicking outside the input (within the Tree Item) or by pressing Enter or Escape -> we don't want to remove the focused item from the state in these cases
41315
41320
  // we can also exit the editing state by clicking on the root itself -> want to remove the focused item from the state in this case
41316
- G.relatedTarget && _u(G.relatedTarget, Z) && (G.target && G.target?.dataset?.element === "labelInput" && _u(G.target, Z) || G.relatedTarget?.dataset?.element === "labelInput") || n.focus.removeFocusedItem();
41317
- }, "createRootHandleBlur"), D = /* @__PURE__ */ i((z) => (G) => {
41318
- z.onKeyDown?.(G), !(G.defaultMuiPrevented || G.target?.dataset?.element === "labelInput") && n.keyboardNavigation.handleItemKeyDown(G, c);
41319
- }, "createRootHandleKeyDown"), I = /* @__PURE__ */ i((z) => (G) => {
41320
- z.onDoubleClick?.(G), !G.defaultMuiPrevented && y.toggleItemEditing();
41321
- }, "createLabelHandleDoubleClick"), M = /* @__PURE__ */ i((z) => (G) => {
41322
- z.onClick?.(G), n.items.handleItemClick(G, c), !(G.defaultMuiPrevented || x.current?.contains(G.target)) && (_t.triggerSlot(n.state) === "content" && y.handleExpansion(G), C || y.handleSelection(G));
41323
- }, "createContentHandleClick"), N = /* @__PURE__ */ i((z) => (G) => {
41324
- z.onMouseDown?.(G), !G.defaultMuiPrevented && (G.shiftKey || G.ctrlKey || G.metaKey || h.disabled) && G.preventDefault();
41325
- }, "createContentHandleMouseDown"), _ = /* @__PURE__ */ i((z) => (G) => {
41326
- z.onClick?.(G), !G.defaultMuiPrevented && _t.triggerSlot(n.state) === "iconContainer" && y.handleExpansion(G);
41321
+ U.relatedTarget && _u(U.relatedTarget, Z) && (U.target && U.target?.dataset?.element === "labelInput" && _u(U.target, Z) || U.relatedTarget?.dataset?.element === "labelInput") || n.focus.removeFocusedItem();
41322
+ }, "createRootHandleBlur"), D = /* @__PURE__ */ i((z) => (U) => {
41323
+ z.onKeyDown?.(U), !(U.defaultMuiPrevented || U.target?.dataset?.element === "labelInput") && n.keyboardNavigation.handleItemKeyDown(U, c);
41324
+ }, "createRootHandleKeyDown"), I = /* @__PURE__ */ i((z) => (U) => {
41325
+ z.onDoubleClick?.(U), !U.defaultMuiPrevented && y.toggleItemEditing();
41326
+ }, "createLabelHandleDoubleClick"), M = /* @__PURE__ */ i((z) => (U) => {
41327
+ z.onClick?.(U), n.items.handleItemClick(U, c), !(U.defaultMuiPrevented || x.current?.contains(U.target)) && (_t.triggerSlot(n.state) === "content" && y.handleExpansion(U), C || y.handleSelection(U));
41328
+ }, "createContentHandleClick"), N = /* @__PURE__ */ i((z) => (U) => {
41329
+ z.onMouseDown?.(U), !U.defaultMuiPrevented && (U.shiftKey || U.ctrlKey || U.metaKey || h.disabled) && U.preventDefault();
41330
+ }, "createContentHandleMouseDown"), _ = /* @__PURE__ */ i((z) => (U) => {
41331
+ z.onClick?.(U), !U.defaultMuiPrevented && _t.triggerSlot(n.state) === "iconContainer" && y.handleExpansion(U);
41327
41332
  }, "createIconContainerHandleClick");
41328
41333
  return {
41329
41334
  getContextProviderProps: /* @__PURE__ */ i(() => ({
@@ -41331,7 +41336,7 @@ const $L = /* @__PURE__ */ i((e, t, o) => typeof o == "function" ? o(e, t) : o,
41331
41336
  id: l
41332
41337
  }), "getContextProviderProps"),
41333
41338
  getRootProps: /* @__PURE__ */ i((z = {}) => {
41334
- const G = ve({}, Mo(e), Mo(z)), Z = ve({}, G, {
41339
+ const U = ve({}, Mo(e), Mo(z)), Z = ve({}, U, {
41335
41340
  ref: P,
41336
41341
  role: "treeitem",
41337
41342
  tabIndex: O ? 0 : -1,
@@ -41342,32 +41347,32 @@ const $L = /* @__PURE__ */ i((e, t, o) => typeof o == "function" ? o(e, t) : o,
41342
41347
  style: ve({}, z.style ?? {}, {
41343
41348
  "--TreeView-itemDepth": a
41344
41349
  }),
41345
- onFocus: k(G),
41346
- onBlur: $(G),
41347
- onKeyDown: D(G)
41350
+ onFocus: k(U),
41351
+ onBlur: $(U),
41352
+ onKeyDown: D(U)
41348
41353
  }), ee = m.root?.(ve({}, A, {
41349
- externalEventHandlers: G
41354
+ externalEventHandlers: U
41350
41355
  })) ?? {};
41351
41356
  return ve({}, Z, ee);
41352
41357
  }, "getRootProps"),
41353
41358
  getContentProps: /* @__PURE__ */ i((z = {}) => {
41354
- const G = Mo(z), Z = ve({}, G, z, {
41359
+ const U = Mo(z), Z = ve({}, U, z, {
41355
41360
  ref: w,
41356
- onClick: M(G),
41357
- onMouseDown: N(G),
41361
+ onClick: M(U),
41362
+ onMouseDown: N(U),
41358
41363
  status: h
41359
41364
  });
41360
41365
  ["expanded", "selected", "focused", "disabled", "editing", "editable"].forEach((se) => {
41361
41366
  h[se] && (Z[`data-${se}`] = "");
41362
41367
  });
41363
41368
  const ee = m.content?.(ve({}, A, {
41364
- externalEventHandlers: G
41369
+ externalEventHandlers: U
41365
41370
  })) ?? {};
41366
41371
  return ve({}, Z, ee);
41367
41372
  }, "getContentProps"),
41368
41373
  getGroupTransitionProps: /* @__PURE__ */ i((z = {}) => {
41369
- const G = Mo(z);
41370
- return ve({}, G, {
41374
+ const U = Mo(z);
41375
+ return ve({}, U, {
41371
41376
  unmountOnExit: !0,
41372
41377
  component: "ul",
41373
41378
  role: "group",
@@ -41376,52 +41381,52 @@ const $L = /* @__PURE__ */ i((e, t, o) => typeof o == "function" ? o(e, t) : o,
41376
41381
  }, z);
41377
41382
  }, "getGroupTransitionProps"),
41378
41383
  getIconContainerProps: /* @__PURE__ */ i((z = {}) => {
41379
- const G = Mo(z);
41380
- return ve({}, G, z, {
41381
- onClick: _(G)
41384
+ const U = Mo(z);
41385
+ return ve({}, U, z, {
41386
+ onClick: _(U)
41382
41387
  });
41383
41388
  }, "getIconContainerProps"),
41384
41389
  getCheckboxProps: /* @__PURE__ */ i((z = {}) => {
41385
- const G = Mo(z), Z = ve({}, G, {
41390
+ const U = Mo(z), Z = ve({}, U, {
41386
41391
  ref: x,
41387
41392
  "aria-hidden": !0
41388
41393
  }, z), ee = m.checkbox?.(ve({}, A, {
41389
- externalEventHandlers: G
41394
+ externalEventHandlers: U
41390
41395
  })) ?? {};
41391
41396
  return ve({}, Z, ee);
41392
41397
  }, "getCheckboxProps"),
41393
41398
  getLabelProps: /* @__PURE__ */ i((z = {}) => {
41394
- const G = ve({}, Mo(z)), Z = ve({}, G, {
41399
+ const U = ve({}, Mo(z)), Z = ve({}, U, {
41395
41400
  children: d
41396
41401
  }, z, {
41397
- onDoubleClick: I(G)
41402
+ onDoubleClick: I(U)
41398
41403
  }), ee = m.label?.(ve({}, A, {
41399
- externalEventHandlers: G
41404
+ externalEventHandlers: U
41400
41405
  })) ?? {};
41401
41406
  return ve({}, ee, Z);
41402
41407
  }, "getLabelProps"),
41403
41408
  getLabelInputProps: /* @__PURE__ */ i((z = {}) => {
41404
- const G = Mo(z), Z = m.labelInput?.(ve({}, A, {
41405
- externalEventHandlers: G
41409
+ const U = Mo(z), Z = m.labelInput?.(ve({}, A, {
41410
+ externalEventHandlers: U
41406
41411
  })) ?? {};
41407
41412
  return ve({}, z, Z);
41408
41413
  }, "getLabelInputProps"),
41409
41414
  getDragAndDropOverlayProps: /* @__PURE__ */ i((z = {}) => {
41410
- const G = Mo(z), Z = m.dragAndDropOverlay?.(ve({}, A, {
41411
- externalEventHandlers: G
41415
+ const U = Mo(z), Z = m.dragAndDropOverlay?.(ve({}, A, {
41416
+ externalEventHandlers: U
41412
41417
  })) ?? {};
41413
41418
  return ve({}, z, Z);
41414
41419
  }, "getDragAndDropOverlayProps"),
41415
41420
  getErrorContainerProps: /* @__PURE__ */ i((z = {}) => {
41416
- const G = Mo(z);
41417
- return ve({}, G, z);
41421
+ const U = Mo(z);
41422
+ return ve({}, U, z);
41418
41423
  }, "getErrorContainerProps"),
41419
41424
  getLoadingContainerProps: /* @__PURE__ */ i((z = {}) => {
41420
- const G = Mo(z);
41425
+ const U = Mo(z);
41421
41426
  return ve({
41422
41427
  size: "12px",
41423
41428
  thickness: 6
41424
- }, G, z);
41429
+ }, U, z);
41425
41430
  }, "getLoadingContainerProps"),
41426
41431
  rootRef: P,
41427
41432
  status: h,
@@ -41850,7 +41855,7 @@ const JL = /* @__PURE__ */ i((e) => {
41850
41855
  externalSlotProps: g.groupTransition,
41851
41856
  ownerState: {},
41852
41857
  className: $.groupTransition
41853
- }), Q = u.labelInput ?? VL, U = ko({
41858
+ }), Q = u.labelInput ?? VL, q = ko({
41854
41859
  elementType: Q,
41855
41860
  getSlotProps: C,
41856
41861
  externalSlotProps: g.labelInput,
@@ -41862,7 +41867,7 @@ const JL = /* @__PURE__ */ i((e) => {
41862
41867
  externalSlotProps: g.dragAndDropOverlay,
41863
41868
  ownerState: {},
41864
41869
  className: $.dragAndDropOverlay
41865
- }), z = u.errorIcon ?? YL, G = ko({
41870
+ }), z = u.errorIcon ?? YL, U = ko({
41866
41871
  elementType: z,
41867
41872
  getSlotProps: O,
41868
41873
  externalSlotProps: g.errorIcon,
@@ -41879,12 +41884,12 @@ const JL = /* @__PURE__ */ i((e) => {
41879
41884
  children: /* @__PURE__ */ Y(D, ve({}, I, {
41880
41885
  children: [/* @__PURE__ */ Y(M, ve({}, N, {
41881
41886
  children: [/* @__PURE__ */ Y(_, ve({}, R, {
41882
- children: [k.error && /* @__PURE__ */ f(z, ve({}, G)), k.loading ? /* @__PURE__ */ f(Z, ve({}, ee)) : /* @__PURE__ */ f(WS, {
41887
+ children: [k.error && /* @__PURE__ */ f(z, ve({}, U)), k.loading ? /* @__PURE__ */ f(Z, ve({}, ee)) : /* @__PURE__ */ f(WS, {
41883
41888
  status: k,
41884
41889
  slots: u,
41885
41890
  slotProps: g
41886
41891
  })]
41887
- })), /* @__PURE__ */ f(j, ve({}, L)), k.editing ? /* @__PURE__ */ f(Q, ve({}, U)) : /* @__PURE__ */ f(V, ve({}, H)), /* @__PURE__ */ f(K, ve({}, te))]
41892
+ })), /* @__PURE__ */ f(j, ve({}, L)), k.editing ? /* @__PURE__ */ f(Q, ve({}, q)) : /* @__PURE__ */ f(V, ve({}, H)), /* @__PURE__ */ f(K, ve({}, te))]
41888
41893
  })), p && /* @__PURE__ */ f(KL, ve({
41889
41894
  as: F
41890
41895
  }, W))]
@@ -42224,9 +42229,9 @@ const hr = /* @__PURE__ */ i((e) => e === "E" ? "E" : e === "T" ? "T" : "A", "no
42224
42229
  initialFilterKey: d = Ki[0].key,
42225
42230
  filterOptionKeys: p
42226
42231
  } = e, u = We(() => !Array.isArray(p) || p.length === 0 ? Ki : Ki.filter(
42227
- (U) => p.includes(U.key)
42232
+ (q) => p.includes(q.key)
42228
42233
  ), [p]), [g, b] = $e(l5), [m, y] = $e([]), [h, v] = $e(null), [T, P] = $e(!0), [w, x] = $e(!1), [C, E] = $e(
42229
- u.find((U) => U.key === d) || u[0] || Ki[0]
42234
+ u.find((q) => q.key === d) || u[0] || Ki[0]
42230
42235
  ), O = Fn(), A = Eo(), k = !!h, $ = We(
42231
42236
  () => o5(o),
42232
42237
  [o]
@@ -42245,10 +42250,10 @@ const hr = /* @__PURE__ */ i((e) => e === "E" ? "E" : e === "T" ? "T" : "A", "no
42245
42250
  [g, C.key, D]
42246
42251
  );
42247
42252
  Le(() => {
42248
- const U = u.find(
42253
+ const q = u.find(
42249
42254
  (K) => K.key === d
42250
42255
  ) || u[0] || Ki[0];
42251
- E(U), P(!0);
42256
+ E(q), P(!0);
42252
42257
  }, [u, d]), Le(() => {
42253
42258
  a && a({
42254
42259
  filter: g,
@@ -42261,7 +42266,7 @@ const hr = /* @__PURE__ */ i((e) => e === "E" ? "E" : e === "T" ? "T" : "A", "no
42261
42266
  }, "loadInitialData"))();
42262
42267
  }, []);
42263
42268
  const M = De(
42264
- (U, K) => {
42269
+ (q, K) => {
42265
42270
  if (String(K).endsWith("-placeholder"))
42266
42271
  return;
42267
42272
  const te = XS(m, K), z = K === Ga.id ? {
@@ -42282,21 +42287,21 @@ const hr = /* @__PURE__ */ i((e) => e === "E" ? "E" : e === "T" ? "T" : "A", "no
42282
42287
  },
42283
42288
  [$, D, l, m]
42284
42289
  ), N = De(
42285
- (U) => {
42286
- P(!1), s && s(U);
42290
+ (q) => {
42291
+ P(!1), s && s(q);
42287
42292
  },
42288
42293
  [s]
42289
- ), _ = /* @__PURE__ */ i(async (U) => {
42294
+ ), _ = /* @__PURE__ */ i(async (q) => {
42290
42295
  try {
42291
42296
  return (await O.getChildNodes("form_224", {
42292
- parentId: U
42297
+ parentId: q
42293
42298
  })).data.map(YS);
42294
42299
  } catch {
42295
42300
  throw new Error("Data Loading Error");
42296
42301
  }
42297
- }, "fetchData"), R = /* @__PURE__ */ i(async (U, K) => {
42298
- const te = /* @__PURE__ */ i(async (G) => Promise.all(
42299
- G.map(async (Z) => {
42302
+ }, "fetchData"), R = /* @__PURE__ */ i(async (q, K) => {
42303
+ const te = /* @__PURE__ */ i(async (U) => Promise.all(
42304
+ U.map(async (Z) => {
42300
42305
  if (Z.id === K && Z.children.length === 0 && Z.hasItems) {
42301
42306
  const ee = await _(K);
42302
42307
  return { ...Z, children: ee };
@@ -42309,8 +42314,8 @@ const hr = /* @__PURE__ */ i((e) => e === "E" ? "E" : e === "T" ? "T" : "A", "no
42309
42314
  })
42310
42315
  ), "updateNodeChildren"), z = await te(m);
42311
42316
  y(z);
42312
- }, "handleItemExpansionToggle"), V = /* @__PURE__ */ i((U) => {
42313
- const K = U.Icon || (U.children.length > 0 || U.hasItems ? F_ : null);
42317
+ }, "handleItemExpansionToggle"), V = /* @__PURE__ */ i((q) => {
42318
+ const K = q.Icon || (q.children.length > 0 || q.hasItems ? F_ : null);
42314
42319
  return K ? /* @__PURE__ */ Y(
42315
42320
  Ie,
42316
42321
  {
@@ -42327,11 +42332,11 @@ const hr = /* @__PURE__ */ i((e) => e === "E" ? "E" : e === "T" ? "T" : "A", "no
42327
42332
  sx: { color: A.palette.primary.main }
42328
42333
  }
42329
42334
  ),
42330
- /* @__PURE__ */ f("span", { children: U.id === Ga.id ? t(U.text) : U.text })
42335
+ /* @__PURE__ */ f("span", { children: q.id === Ga.id ? t(q.text) : q.text })
42331
42336
  ]
42332
42337
  }
42333
- ) : U.id === Ga.id ? t(U.text) : U.text;
42334
- }, "renderNodeLabel"), H = /* @__PURE__ */ i((U) => U.map((K) => /* @__PURE__ */ f(
42338
+ ) : q.id === Ga.id ? t(q.text) : q.text;
42339
+ }, "renderNodeLabel"), H = /* @__PURE__ */ i((q) => q.map((K) => /* @__PURE__ */ f(
42335
42340
  $l,
42336
42341
  {
42337
42342
  itemId: K.id,
@@ -42359,14 +42364,14 @@ const hr = /* @__PURE__ */ i((e) => e === "E" ? "E" : e === "T" ? "T" : "A", "no
42359
42364
  ) : null
42360
42365
  },
42361
42366
  K.id
42362
- )), "renderTreeItems"), j = /* @__PURE__ */ i((U) => {
42363
- v(U.currentTarget);
42367
+ )), "renderTreeItems"), j = /* @__PURE__ */ i((q) => {
42368
+ v(q.currentTarget);
42364
42369
  }, "handleMenuOpen"), L = /* @__PURE__ */ i(() => {
42365
42370
  v(null);
42366
- }, "handleMenuClose"), F = /* @__PURE__ */ i((U) => {
42367
- P(!0), E(U), c?.(U), L();
42371
+ }, "handleMenuClose"), F = /* @__PURE__ */ i((q) => {
42372
+ P(!0), E(q), c?.(q), L();
42368
42373
  }, "handleFiltroFuncionarios"), W = /* @__PURE__ */ i(() => {
42369
- x((U) => !U);
42374
+ x((q) => !q);
42370
42375
  }, "toggleTreePanel"), Q = C.Icon;
42371
42376
  return /* @__PURE__ */ Y(
42372
42377
  Ie,
@@ -42395,10 +42400,10 @@ const hr = /* @__PURE__ */ i((e) => e === "E" ? "E" : e === "T" ? "T" : "A", "no
42395
42400
  xs: "100%",
42396
42401
  md: w ? "36px" : "300px"
42397
42402
  },
42398
- transition: /* @__PURE__ */ i((U) => U.transitions.create(["width", "flex-basis"], {
42399
- duration: U.transitions.duration.shorter
42403
+ transition: /* @__PURE__ */ i((q) => q.transitions.create(["width", "flex-basis"], {
42404
+ duration: q.transitions.duration.shorter
42400
42405
  }), "transition"),
42401
- borderRight: /* @__PURE__ */ i((U) => `1px solid ${U.palette.divider}`, "borderRight")
42406
+ borderRight: /* @__PURE__ */ i((q) => `1px solid ${q.palette.divider}`, "borderRight")
42402
42407
  },
42403
42408
  children: [
42404
42409
  /* @__PURE__ */ f(
@@ -42415,8 +42420,8 @@ const hr = /* @__PURE__ */ i((e) => e === "E" ? "E" : e === "T" ? "T" : "A", "no
42415
42420
  width: 28,
42416
42421
  height: 28,
42417
42422
  backgroundColor: "background.paper",
42418
- border: /* @__PURE__ */ i((U) => `1px solid ${U.palette.divider}`, "border"),
42419
- boxShadow: /* @__PURE__ */ i((U) => U.shadows[1], "boxShadow"),
42423
+ border: /* @__PURE__ */ i((q) => `1px solid ${q.palette.divider}`, "border"),
42424
+ boxShadow: /* @__PURE__ */ i((q) => q.shadows[1], "boxShadow"),
42420
42425
  "&:hover": {
42421
42426
  backgroundColor: "background.paper"
42422
42427
  }
@@ -42451,13 +42456,13 @@ const hr = /* @__PURE__ */ i((e) => e === "E" ? "E" : e === "T" ? "T" : "A", "no
42451
42456
  anchorEl: h,
42452
42457
  open: k,
42453
42458
  onClose: L,
42454
- children: u.map((U) => {
42455
- const K = U.Icon;
42459
+ children: u.map((q) => {
42460
+ const K = q.Icon;
42456
42461
  return /* @__PURE__ */ Y(
42457
42462
  kn,
42458
42463
  {
42459
- selected: U.key === C.key,
42460
- onClick: /* @__PURE__ */ i(() => F(U), "onClick"),
42464
+ selected: q.key === C.key,
42465
+ onClick: /* @__PURE__ */ i(() => F(q), "onClick"),
42461
42466
  children: [
42462
42467
  /* @__PURE__ */ f(
42463
42468
  K,
@@ -42466,10 +42471,10 @@ const hr = /* @__PURE__ */ i((e) => e === "E" ? "E" : e === "T" ? "T" : "A", "no
42466
42471
  style: { marginRight: 8 }
42467
42472
  }
42468
42473
  ),
42469
- t(U.label)
42474
+ t(q.label)
42470
42475
  ]
42471
42476
  },
42472
- U.key
42477
+ q.key
42473
42478
  );
42474
42479
  })
42475
42480
  }
@@ -42486,7 +42491,7 @@ const hr = /* @__PURE__ */ i((e) => e === "E" ? "E" : e === "T" ? "T" : "A", "no
42486
42491
  minHeight: 30
42487
42492
  },
42488
42493
  "& .MuiTreeItem-label": {
42489
- fontSize: /* @__PURE__ */ i((U) => U.typography.caption.fontSize, "fontSize")
42494
+ fontSize: /* @__PURE__ */ i((q) => q.typography.caption.fontSize, "fontSize")
42490
42495
  },
42491
42496
  "& .MuiSvgIcon-root": {
42492
42497
  fontSize: 18
@@ -42742,7 +42747,7 @@ const hr = /* @__PURE__ */ i((e) => e === "E" ? "E" : e === "T" ? "T" : "A", "no
42742
42747
  name: t,
42743
42748
  control: y.control,
42744
42749
  rules: H
42745
- }), { [t]: F = {} } = v, W = sn(e), Q = F.onChange === void 0 ? o : F.onChange, U = A !== !1 && I !== !1, [K, te] = $e(
42750
+ }), { [t]: F = {} } = v, W = sn(e), Q = F.onChange === void 0 ? o : F.onChange, q = A !== !1 && I !== !1, [K, te] = $e(
42746
42751
  hr(I)
42747
42752
  ), z = We(
42748
42753
  () => Fd.find((X) => X.value === K) || Fd[0],
@@ -42753,7 +42758,7 @@ const hr = /* @__PURE__ */ i((e) => e === "E" ? "E" : e === "T" ? "T" : "A", "no
42753
42758
  }, [I]), Le(() => {
42754
42759
  T.current || (setTimeout(() => {
42755
42760
  const X = y.getValues(t);
42756
- if (U ? db(X) : X == null || X === "") {
42761
+ if (q ? db(X) : X == null || X === "") {
42757
42762
  const he = qS({
42758
42763
  soloActivos: hr(I)
42759
42764
  });
@@ -42763,10 +42768,10 @@ const hr = /* @__PURE__ */ i((e) => e === "E" ? "E" : e === "T" ? "T" : "A", "no
42763
42768
  );
42764
42769
  }
42765
42770
  }, 0), T.current = !0);
42766
- }, [O, y, I, t, U]);
42767
- const G = De(
42771
+ }, [O, y, I, t, q]);
42772
+ const U = De(
42768
42773
  (X) => {
42769
- if (U && db(X))
42774
+ if (q && db(X))
42770
42775
  return m(z.label);
42771
42776
  const he = Ua(X, {
42772
42777
  soloActivos: K
@@ -42780,11 +42785,11 @@ const hr = /* @__PURE__ */ i((e) => e === "E" ? "E" : e === "T" ? "T" : "A", "no
42780
42785
  z.label,
42781
42786
  O,
42782
42787
  m,
42783
- U
42788
+ q
42784
42789
  ]
42785
42790
  ), Z = j.value, ee = We(
42786
- () => G(Z),
42787
- [Z, G]
42791
+ () => U(Z),
42792
+ [Z, U]
42788
42793
  ), se = We(() => {
42789
42794
  const X = Ua(Z, {
42790
42795
  soloActivos: K
@@ -43092,7 +43097,7 @@ const hr = /* @__PURE__ */ i((e) => e === "E" ? "E" : e === "T" ? "T" : "A", "no
43092
43097
  pl: 0.5
43093
43098
  },
43094
43099
  children: [
43095
- U ? /* @__PURE__ */ Y(mo, { children: [
43100
+ q ? /* @__PURE__ */ Y(mo, { children: [
43096
43101
  E && /* @__PURE__ */ f(
43097
43102
  no,
43098
43103
  {
@@ -43269,12 +43274,12 @@ const hr = /* @__PURE__ */ i((e) => e === "E" ? "E" : e === "T" ? "T" : "A", "no
43269
43274
  subscription: F,
43270
43275
  textAlign: W,
43271
43276
  translate: Q,
43272
- translateChoice: U,
43277
+ translateChoice: q,
43273
43278
  validate: K,
43274
43279
  validateFields: te,
43275
43280
  value: z,
43276
- ...G
43277
- }) => G, "sanitizeInputRestProps"), b5 = /* @__PURE__ */ i(({
43281
+ ...U
43282
+ }) => U, "sanitizeInputRestProps"), b5 = /* @__PURE__ */ i(({
43278
43283
  className: e,
43279
43284
  defaultValue: t,
43280
43285
  format: o = S5,