ixc-library-portal 1.1.47 → 1.1.48

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.
@@ -29,8 +29,8 @@ function Ko() {
29
29
  var e = typeof Symbol == "function" && Symbol.for, s = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, l = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, j = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, N = e ? Symbol.for("react.scope") : 60119;
30
30
  function M(w) {
31
31
  if (typeof w == "object" && w !== null) {
32
- var R = w.$$typeof;
33
- switch (R) {
32
+ var $ = w.$$typeof;
33
+ switch ($) {
34
34
  case s:
35
35
  switch (w = w.type, w) {
36
36
  case d:
@@ -49,11 +49,11 @@ function Ko() {
49
49
  case a:
50
50
  return w;
51
51
  default:
52
- return R;
52
+ return $;
53
53
  }
54
54
  }
55
55
  case r:
56
- return R;
56
+ return $;
57
57
  }
58
58
  }
59
59
  }
@@ -137,7 +137,7 @@ function Go() {
137
137
  }
138
138
  }
139
139
  }
140
- var w = d, R = u, _ = c, B = a, L = s, f = g, F = i, V = b, P = y, Z = r, Y = l, J = o, W = p, z = !1;
140
+ var w = d, $ = u, P = c, L = a, B = s, f = g, F = i, V = b, W = y, Z = r, Y = l, J = o, _ = p, z = !1;
141
141
  function v(K) {
142
142
  return z || (z = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), x(K) || k(K) === d;
143
143
  }
@@ -147,7 +147,7 @@ function Go() {
147
147
  function O(K) {
148
148
  return k(K) === c;
149
149
  }
150
- function A(K) {
150
+ function R(K) {
151
151
  return k(K) === a;
152
152
  }
153
153
  function E(K) {
@@ -162,10 +162,10 @@ function Go() {
162
162
  function H(K) {
163
163
  return k(K) === b;
164
164
  }
165
- function $(K) {
165
+ function I(K) {
166
166
  return k(K) === y;
167
167
  }
168
- function I(K) {
168
+ function A(K) {
169
169
  return k(K) === r;
170
170
  }
171
171
  function G(K) {
@@ -177,7 +177,7 @@ function Go() {
177
177
  function ne(K) {
178
178
  return k(K) === p;
179
179
  }
180
- ve.AsyncMode = w, ve.ConcurrentMode = R, ve.ContextConsumer = _, ve.ContextProvider = B, ve.Element = L, ve.ForwardRef = f, ve.Fragment = F, ve.Lazy = V, ve.Memo = P, ve.Portal = Z, ve.Profiler = Y, ve.StrictMode = J, ve.Suspense = W, ve.isAsyncMode = v, ve.isConcurrentMode = x, ve.isContextConsumer = O, ve.isContextProvider = A, ve.isElement = E, ve.isForwardRef = T, ve.isFragment = D, ve.isLazy = H, ve.isMemo = $, ve.isPortal = I, ve.isProfiler = G, ve.isStrictMode = U, ve.isSuspense = ne, ve.isValidElementType = M, ve.typeOf = k;
180
+ ve.AsyncMode = w, ve.ConcurrentMode = $, ve.ContextConsumer = P, ve.ContextProvider = L, ve.Element = B, ve.ForwardRef = f, ve.Fragment = F, ve.Lazy = V, ve.Memo = W, ve.Portal = Z, ve.Profiler = Y, ve.StrictMode = J, ve.Suspense = _, ve.isAsyncMode = v, ve.isConcurrentMode = x, ve.isContextConsumer = O, ve.isContextProvider = R, ve.isElement = E, ve.isForwardRef = T, ve.isFragment = D, ve.isLazy = H, ve.isMemo = I, ve.isPortal = A, ve.isProfiler = G, ve.isStrictMode = U, ve.isSuspense = ne, ve.isValidElementType = M, ve.typeOf = k;
181
181
  }()), ve;
182
182
  }
183
183
  var cr;
@@ -332,13 +332,13 @@ function Jo() {
332
332
  arrayOf: M,
333
333
  element: k(),
334
334
  elementType: w(),
335
- instanceOf: R,
335
+ instanceOf: $,
336
336
  node: f(),
337
- objectOf: B,
338
- oneOf: _,
339
- oneOfType: L,
337
+ objectOf: L,
338
+ oneOf: P,
339
+ oneOfType: B,
340
340
  shape: V,
341
- exact: P
341
+ exact: W
342
342
  };
343
343
  function b(x, O) {
344
344
  return x === O ? x !== 0 || 1 / x === 1 / O : x !== x && O !== O;
@@ -349,32 +349,32 @@ function Jo() {
349
349
  h.prototype = Error.prototype;
350
350
  function j(x) {
351
351
  if (process.env.NODE_ENV !== "production")
352
- var O = {}, A = 0;
353
- function E(D, H, $, I, G, U, ne) {
354
- if (I = I || m, U = U || $, ne !== r) {
352
+ var O = {}, R = 0;
353
+ function E(D, H, I, A, G, U, ne) {
354
+ if (A = A || m, U = U || I, ne !== r) {
355
355
  if (d) {
356
356
  var K = new Error(
357
357
  "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"
358
358
  );
359
359
  throw K.name = "Invariant Violation", K;
360
360
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
361
- var ue = I + ":" + $;
361
+ var ue = A + ":" + I;
362
362
  !O[ue] && // Avoid spamming the console because they are often not actionable except for lib authors
363
- A < 3 && (l(
364
- "You are manually calling a React.PropTypes validation function for the `" + U + "` prop on `" + I + "`. 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."
365
- ), O[ue] = !0, A++);
363
+ R < 3 && (l(
364
+ "You are manually calling a React.PropTypes validation function for the `" + U + "` prop on `" + A + "`. 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."
365
+ ), O[ue] = !0, R++);
366
366
  }
367
367
  }
368
- return H[$] == null ? D ? H[$] === null ? new h("The " + G + " `" + U + "` is marked as required " + ("in `" + I + "`, but its value is `null`.")) : new h("The " + G + " `" + U + "` is marked as required in " + ("`" + I + "`, but its value is `undefined`.")) : null : x(H, $, I, G, U);
368
+ return H[I] == null ? D ? H[I] === null ? new h("The " + G + " `" + U + "` is marked as required " + ("in `" + A + "`, but its value is `null`.")) : new h("The " + G + " `" + U + "` is marked as required in " + ("`" + A + "`, but its value is `undefined`.")) : null : x(H, I, A, G, U);
369
369
  }
370
370
  var T = E.bind(null, !1);
371
371
  return T.isRequired = E.bind(null, !0), T;
372
372
  }
373
373
  function S(x) {
374
- function O(A, E, T, D, H, $) {
375
- var I = A[E], G = J(I);
374
+ function O(R, E, T, D, H, I) {
375
+ var A = R[E], G = J(A);
376
376
  if (G !== x) {
377
- var U = W(I);
377
+ var U = _(A);
378
378
  return new h(
379
379
  "Invalid " + D + " `" + H + "` of type " + ("`" + U + "` supplied to `" + T + "`, expected ") + ("`" + x + "`."),
380
380
  { expectedType: x }
@@ -388,16 +388,16 @@ function Jo() {
388
388
  return j(a);
389
389
  }
390
390
  function M(x) {
391
- function O(A, E, T, D, H) {
391
+ function O(R, E, T, D, H) {
392
392
  if (typeof x != "function")
393
393
  return new h("Property `" + H + "` of component `" + T + "` has invalid PropType notation inside arrayOf.");
394
- var $ = A[E];
395
- if (!Array.isArray($)) {
396
- var I = J($);
397
- return new h("Invalid " + D + " `" + H + "` of type " + ("`" + I + "` supplied to `" + T + "`, expected an array."));
394
+ var I = R[E];
395
+ if (!Array.isArray(I)) {
396
+ var A = J(I);
397
+ return new h("Invalid " + D + " `" + H + "` of type " + ("`" + A + "` supplied to `" + T + "`, expected an array."));
398
398
  }
399
- for (var G = 0; G < $.length; G++) {
400
- var U = x($, G, T, D, H + "[" + G + "]", r);
399
+ for (var G = 0; G < I.length; G++) {
400
+ var U = x(I, G, T, D, H + "[" + G + "]", r);
401
401
  if (U instanceof Error)
402
402
  return U;
403
403
  }
@@ -406,64 +406,64 @@ function Jo() {
406
406
  return j(O);
407
407
  }
408
408
  function k() {
409
- function x(O, A, E, T, D) {
410
- var H = O[A];
409
+ function x(O, R, E, T, D) {
410
+ var H = O[R];
411
411
  if (!c(H)) {
412
- var $ = J(H);
413
- return new h("Invalid " + T + " `" + D + "` of type " + ("`" + $ + "` supplied to `" + E + "`, expected a single ReactElement."));
412
+ var I = J(H);
413
+ return new h("Invalid " + T + " `" + D + "` of type " + ("`" + I + "` supplied to `" + E + "`, expected a single ReactElement."));
414
414
  }
415
415
  return null;
416
416
  }
417
417
  return j(x);
418
418
  }
419
419
  function w() {
420
- function x(O, A, E, T, D) {
421
- var H = O[A];
420
+ function x(O, R, E, T, D) {
421
+ var H = O[R];
422
422
  if (!e.isValidElementType(H)) {
423
- var $ = J(H);
424
- return new h("Invalid " + T + " `" + D + "` of type " + ("`" + $ + "` supplied to `" + E + "`, expected a single ReactElement type."));
423
+ var I = J(H);
424
+ return new h("Invalid " + T + " `" + D + "` of type " + ("`" + I + "` supplied to `" + E + "`, expected a single ReactElement type."));
425
425
  }
426
426
  return null;
427
427
  }
428
428
  return j(x);
429
429
  }
430
- function R(x) {
431
- function O(A, E, T, D, H) {
432
- if (!(A[E] instanceof x)) {
433
- var $ = x.name || m, I = v(A[E]);
434
- return new h("Invalid " + D + " `" + H + "` of type " + ("`" + I + "` supplied to `" + T + "`, expected ") + ("instance of `" + $ + "`."));
430
+ function $(x) {
431
+ function O(R, E, T, D, H) {
432
+ if (!(R[E] instanceof x)) {
433
+ var I = x.name || m, A = v(R[E]);
434
+ return new h("Invalid " + D + " `" + H + "` of type " + ("`" + A + "` supplied to `" + T + "`, expected ") + ("instance of `" + I + "`."));
435
435
  }
436
436
  return null;
437
437
  }
438
438
  return j(O);
439
439
  }
440
- function _(x) {
440
+ function P(x) {
441
441
  if (!Array.isArray(x))
442
442
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? l(
443
443
  "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])."
444
444
  ) : l("Invalid argument supplied to oneOf, expected an array.")), a;
445
- function O(A, E, T, D, H) {
446
- for (var $ = A[E], I = 0; I < x.length; I++)
447
- if (b($, x[I]))
445
+ function O(R, E, T, D, H) {
446
+ for (var I = R[E], A = 0; A < x.length; A++)
447
+ if (b(I, x[A]))
448
448
  return null;
449
449
  var G = JSON.stringify(x, function(ne, K) {
450
- var ue = W(K);
450
+ var ue = _(K);
451
451
  return ue === "symbol" ? String(K) : K;
452
452
  });
453
- return new h("Invalid " + D + " `" + H + "` of value `" + String($) + "` " + ("supplied to `" + T + "`, expected one of " + G + "."));
453
+ return new h("Invalid " + D + " `" + H + "` of value `" + String(I) + "` " + ("supplied to `" + T + "`, expected one of " + G + "."));
454
454
  }
455
455
  return j(O);
456
456
  }
457
- function B(x) {
458
- function O(A, E, T, D, H) {
457
+ function L(x) {
458
+ function O(R, E, T, D, H) {
459
459
  if (typeof x != "function")
460
460
  return new h("Property `" + H + "` of component `" + T + "` has invalid PropType notation inside objectOf.");
461
- var $ = A[E], I = J($);
462
- if (I !== "object")
463
- return new h("Invalid " + D + " `" + H + "` of type " + ("`" + I + "` supplied to `" + T + "`, expected an object."));
464
- for (var G in $)
465
- if (i($, G)) {
466
- var U = x($, G, T, D, H + "." + G, r);
461
+ var I = R[E], A = J(I);
462
+ if (A !== "object")
463
+ return new h("Invalid " + D + " `" + H + "` of type " + ("`" + A + "` supplied to `" + T + "`, expected an object."));
464
+ for (var G in I)
465
+ if (i(I, G)) {
466
+ var U = x(I, G, T, D, H + "." + G, r);
467
467
  if (U instanceof Error)
468
468
  return U;
469
469
  }
@@ -471,49 +471,49 @@ function Jo() {
471
471
  }
472
472
  return j(O);
473
473
  }
474
- function L(x) {
474
+ function B(x) {
475
475
  if (!Array.isArray(x))
476
476
  return process.env.NODE_ENV !== "production" && l("Invalid argument supplied to oneOfType, expected an instance of array."), a;
477
477
  for (var O = 0; O < x.length; O++) {
478
- var A = x[O];
479
- if (typeof A != "function")
478
+ var R = x[O];
479
+ if (typeof R != "function")
480
480
  return l(
481
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + z(A) + " at index " + O + "."
481
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + z(R) + " at index " + O + "."
482
482
  ), a;
483
483
  }
484
- function E(T, D, H, $, I) {
484
+ function E(T, D, H, I, A) {
485
485
  for (var G = [], U = 0; U < x.length; U++) {
486
- var ne = x[U], K = ne(T, D, H, $, I, r);
486
+ var ne = x[U], K = ne(T, D, H, I, A, r);
487
487
  if (K == null)
488
488
  return null;
489
489
  K.data && i(K.data, "expectedType") && G.push(K.data.expectedType);
490
490
  }
491
491
  var ue = G.length > 0 ? ", expected one of type [" + G.join(", ") + "]" : "";
492
- return new h("Invalid " + $ + " `" + I + "` supplied to " + ("`" + H + "`" + ue + "."));
492
+ return new h("Invalid " + I + " `" + A + "` supplied to " + ("`" + H + "`" + ue + "."));
493
493
  }
494
494
  return j(E);
495
495
  }
496
496
  function f() {
497
- function x(O, A, E, T, D) {
498
- return Z(O[A]) ? null : new h("Invalid " + T + " `" + D + "` supplied to " + ("`" + E + "`, expected a ReactNode."));
497
+ function x(O, R, E, T, D) {
498
+ return Z(O[R]) ? null : new h("Invalid " + T + " `" + D + "` supplied to " + ("`" + E + "`, expected a ReactNode."));
499
499
  }
500
500
  return j(x);
501
501
  }
502
- function F(x, O, A, E, T) {
502
+ function F(x, O, R, E, T) {
503
503
  return new h(
504
- (x || "React class") + ": " + O + " type `" + A + "." + E + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + T + "`."
504
+ (x || "React class") + ": " + O + " type `" + R + "." + E + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + T + "`."
505
505
  );
506
506
  }
507
507
  function V(x) {
508
- function O(A, E, T, D, H) {
509
- var $ = A[E], I = J($);
510
- if (I !== "object")
511
- return new h("Invalid " + D + " `" + H + "` of type `" + I + "` " + ("supplied to `" + T + "`, expected `object`."));
508
+ function O(R, E, T, D, H) {
509
+ var I = R[E], A = J(I);
510
+ if (A !== "object")
511
+ return new h("Invalid " + D + " `" + H + "` of type `" + A + "` " + ("supplied to `" + T + "`, expected `object`."));
512
512
  for (var G in x) {
513
513
  var U = x[G];
514
514
  if (typeof U != "function")
515
- return F(T, D, H, G, W(U));
516
- var ne = U($, G, T, D, H + "." + G, r);
515
+ return F(T, D, H, G, _(U));
516
+ var ne = U(I, G, T, D, H + "." + G, r);
517
517
  if (ne)
518
518
  return ne;
519
519
  }
@@ -521,22 +521,22 @@ function Jo() {
521
521
  }
522
522
  return j(O);
523
523
  }
524
- function P(x) {
525
- function O(A, E, T, D, H) {
526
- var $ = A[E], I = J($);
527
- if (I !== "object")
528
- return new h("Invalid " + D + " `" + H + "` of type `" + I + "` " + ("supplied to `" + T + "`, expected `object`."));
529
- var G = s({}, A[E], x);
524
+ function W(x) {
525
+ function O(R, E, T, D, H) {
526
+ var I = R[E], A = J(I);
527
+ if (A !== "object")
528
+ return new h("Invalid " + D + " `" + H + "` of type `" + A + "` " + ("supplied to `" + T + "`, expected `object`."));
529
+ var G = s({}, R[E], x);
530
530
  for (var U in G) {
531
531
  var ne = x[U];
532
532
  if (i(x, U) && typeof ne != "function")
533
- return F(T, D, H, U, W(ne));
533
+ return F(T, D, H, U, _(ne));
534
534
  if (!ne)
535
535
  return new h(
536
- "Invalid " + D + " `" + H + "` key `" + U + "` supplied to `" + T + "`.\nBad object: " + JSON.stringify(A[E], null, " ") + `
536
+ "Invalid " + D + " `" + H + "` key `" + U + "` supplied to `" + T + "`.\nBad object: " + JSON.stringify(R[E], null, " ") + `
537
537
  Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
538
538
  );
539
- var K = ne($, U, T, D, H + "." + U, r);
539
+ var K = ne(I, U, T, D, H + "." + U, r);
540
540
  if (K)
541
541
  return K;
542
542
  }
@@ -559,13 +559,13 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
559
559
  return !0;
560
560
  var O = p(x);
561
561
  if (O) {
562
- var A = O.call(x), E;
562
+ var R = O.call(x), E;
563
563
  if (O !== x.entries) {
564
- for (; !(E = A.next()).done; )
564
+ for (; !(E = R.next()).done; )
565
565
  if (!Z(E.value))
566
566
  return !1;
567
567
  } else
568
- for (; !(E = A.next()).done; ) {
568
+ for (; !(E = R.next()).done; ) {
569
569
  var T = E.value;
570
570
  if (T && !Z(T[1]))
571
571
  return !1;
@@ -584,7 +584,7 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
584
584
  var O = typeof x;
585
585
  return Array.isArray(x) ? "array" : x instanceof RegExp ? "object" : Y(O, x) ? "symbol" : O;
586
586
  }
587
- function W(x) {
587
+ function _(x) {
588
588
  if (typeof x > "u" || x === null)
589
589
  return "" + x;
590
590
  var O = J(x);
@@ -597,7 +597,7 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
597
597
  return O;
598
598
  }
599
599
  function z(x) {
600
- var O = W(x);
600
+ var O = _(x);
601
601
  switch (O) {
602
602
  case "array":
603
603
  case "object":
@@ -733,14 +733,14 @@ function il() {
733
733
  Te.unshift("Warning: " + Q), Function.prototype.apply.call(console[C], console, Te);
734
734
  }
735
735
  }
736
- var k = !1, w = !1, R = !1, _ = !1, B = !1, L;
737
- L = Symbol.for("react.module.reference");
736
+ var k = !1, w = !1, $ = !1, P = !1, L = !1, B;
737
+ B = Symbol.for("react.module.reference");
738
738
  function f(C) {
739
- return !!(typeof C == "string" || typeof C == "function" || C === i || C === l || B || C === o || C === u || C === g || _ || C === y || k || w || R || typeof C == "object" && C !== null && (C.$$typeof === m || C.$$typeof === p || C.$$typeof === a || C.$$typeof === c || C.$$typeof === d || // This needs to include all possible module reference object
739
+ return !!(typeof C == "string" || typeof C == "function" || C === i || C === l || L || C === o || C === u || C === g || P || C === y || k || w || $ || typeof C == "object" && C !== null && (C.$$typeof === m || C.$$typeof === p || C.$$typeof === a || C.$$typeof === c || C.$$typeof === d || // This needs to include all possible module reference object
740
740
  // types supported by any Flight configuration anywhere since
741
741
  // we don't know which Flight build this will end up being used
742
742
  // with.
743
- C.$$typeof === L || C.getModuleId !== void 0));
743
+ C.$$typeof === B || C.getModuleId !== void 0));
744
744
  }
745
745
  function F(C, Q, te) {
746
746
  var he = C.displayName;
@@ -752,7 +752,7 @@ function il() {
752
752
  function V(C) {
753
753
  return C.displayName || "Context";
754
754
  }
755
- function P(C) {
755
+ function W(C) {
756
756
  if (C == null)
757
757
  return null;
758
758
  if (typeof C.tag == "number" && N("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof C == "function")
@@ -785,11 +785,11 @@ function il() {
785
785
  return F(C, C.render, "ForwardRef");
786
786
  case p:
787
787
  var he = C.displayName || null;
788
- return he !== null ? he : P(C.type) || "Memo";
788
+ return he !== null ? he : W(C.type) || "Memo";
789
789
  case m: {
790
790
  var ye = C, Te = ye._payload, me = ye._init;
791
791
  try {
792
- return P(me(Te));
792
+ return W(me(Te));
793
793
  } catch {
794
794
  return null;
795
795
  }
@@ -797,14 +797,14 @@ function il() {
797
797
  }
798
798
  return null;
799
799
  }
800
- var Z = Object.assign, Y = 0, J, W, z, v, x, O, A;
800
+ var Z = Object.assign, Y = 0, J, _, z, v, x, O, R;
801
801
  function E() {
802
802
  }
803
803
  E.__reactDisabledLog = !0;
804
804
  function T() {
805
805
  {
806
806
  if (Y === 0) {
807
- J = console.log, W = console.info, z = console.warn, v = console.error, x = console.group, O = console.groupCollapsed, A = console.groupEnd;
807
+ J = console.log, _ = console.info, z = console.warn, v = console.error, x = console.group, O = console.groupCollapsed, R = console.groupEnd;
808
808
  var C = {
809
809
  configurable: !0,
810
810
  enumerable: !0,
@@ -837,7 +837,7 @@ function il() {
837
837
  value: J
838
838
  }),
839
839
  info: Z({}, C, {
840
- value: W
840
+ value: _
841
841
  }),
842
842
  warn: Z({}, C, {
843
843
  value: z
@@ -852,25 +852,25 @@ function il() {
852
852
  value: O
853
853
  }),
854
854
  groupEnd: Z({}, C, {
855
- value: A
855
+ value: R
856
856
  })
857
857
  });
858
858
  }
859
859
  Y < 0 && N("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
860
860
  }
861
861
  }
862
- var H = S.ReactCurrentDispatcher, $;
863
- function I(C, Q, te) {
862
+ var H = S.ReactCurrentDispatcher, I;
863
+ function A(C, Q, te) {
864
864
  {
865
- if ($ === void 0)
865
+ if (I === void 0)
866
866
  try {
867
867
  throw Error();
868
868
  } catch (ye) {
869
869
  var he = ye.stack.trim().match(/\n( *(at )?)/);
870
- $ = he && he[1] || "";
870
+ I = he && he[1] || "";
871
871
  }
872
872
  return `
873
- ` + $ + C;
873
+ ` + I + C;
874
874
  }
875
875
  }
876
876
  var G = !1, U;
@@ -946,7 +946,7 @@ function il() {
946
946
  } finally {
947
947
  G = !1, H.current = Te, D(), Error.prepareStackTrace = ye;
948
948
  }
949
- var zt = C ? C.displayName || C.name : "", bt = zt ? I(zt) : "";
949
+ var zt = C ? C.displayName || C.name : "", bt = zt ? A(zt) : "";
950
950
  return typeof C == "function" && U.set(C, bt), bt;
951
951
  }
952
952
  function ue(C, Q, te) {
@@ -962,12 +962,12 @@ function il() {
962
962
  if (typeof C == "function")
963
963
  return K(C, le(C));
964
964
  if (typeof C == "string")
965
- return I(C);
965
+ return A(C);
966
966
  switch (C) {
967
967
  case u:
968
- return I("Suspense");
968
+ return A("Suspense");
969
969
  case g:
970
- return I("SuspenseList");
970
+ return A("SuspenseList");
971
971
  }
972
972
  if (typeof C == "object")
973
973
  switch (C.$$typeof) {
@@ -1061,8 +1061,8 @@ function il() {
1061
1061
  }
1062
1062
  function Co(C, Q) {
1063
1063
  if (typeof C.ref == "string" && ae.current && Q && ae.current.stateNode !== Q) {
1064
- var te = P(ae.current.type);
1065
- yt[te] || (N('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', P(ae.current.type), C.ref), yt[te] = !0);
1064
+ var te = W(ae.current.type);
1065
+ yt[te] || (N('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', W(ae.current.type), C.ref), yt[te] = !0);
1066
1066
  }
1067
1067
  }
1068
1068
  function So(C, Q) {
@@ -1150,7 +1150,7 @@ function il() {
1150
1150
  function tr() {
1151
1151
  {
1152
1152
  if (Wn.current) {
1153
- var C = P(Wn.current.type);
1153
+ var C = W(Wn.current.type);
1154
1154
  if (C)
1155
1155
  return `
1156
1156
 
@@ -1185,7 +1185,7 @@ Check the top-level render call using <` + te + ">.");
1185
1185
  return;
1186
1186
  nr[te] = !0;
1187
1187
  var he = "";
1188
- C && C._owner && C._owner !== Wn.current && (he = " It was passed a child from " + P(C._owner.type) + "."), Mt(C), N('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', te, he), Mt(null);
1188
+ C && C._owner && C._owner !== Wn.current && (he = " It was passed a child from " + W(C._owner.type) + "."), Mt(C), N('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', te, he), Mt(null);
1189
1189
  }
1190
1190
  }
1191
1191
  function rr(C, Q) {
@@ -1222,11 +1222,11 @@ Check the top-level render call using <` + te + ">.");
1222
1222
  else
1223
1223
  return;
1224
1224
  if (te) {
1225
- var he = P(Q);
1225
+ var he = W(Q);
1226
1226
  oe(te, C.props, "prop", he, C);
1227
1227
  } else if (Q.PropTypes !== void 0 && !_n) {
1228
1228
  _n = !0;
1229
- var ye = P(Q);
1229
+ var ye = W(Q);
1230
1230
  N("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ye || "Unknown");
1231
1231
  }
1232
1232
  typeof Q.getDefaultProps == "function" && !Q.getDefaultProps.isReactClassApproved && N("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
@@ -1254,7 +1254,7 @@ Check the top-level render call using <` + te + ">.");
1254
1254
  var He = No();
1255
1255
  He ? ge += He : ge += tr();
1256
1256
  var $e;
1257
- C === null ? $e = "null" : ee(C) ? $e = "array" : C !== void 0 && C.$$typeof === s ? ($e = "<" + (P(C.type) || "Unknown") + " />", ge = " Did you accidentally export a JSX literal instead of a component?") : $e = typeof C, N("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", $e, ge);
1257
+ C === null ? $e = "null" : ee(C) ? $e = "array" : C !== void 0 && C.$$typeof === s ? ($e = "<" + (W(C.type) || "Unknown") + " />", ge = " Did you accidentally export a JSX literal instead of a component?") : $e = typeof C, N("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", $e, ge);
1258
1258
  }
1259
1259
  var _e = zo(C, Q, te, ye, Te);
1260
1260
  if (_e == null)
@@ -1273,7 +1273,7 @@ Check the top-level render call using <` + te + ">.");
1273
1273
  rr(Ge, C);
1274
1274
  }
1275
1275
  if (Be.call(Q, "key")) {
1276
- var bt = P(C), Ze = Object.keys(Q).filter(function(Wo) {
1276
+ var bt = W(C), Ze = Object.keys(Q).filter(function(Wo) {
1277
1277
  return Wo !== "key";
1278
1278
  }), Fn = Ze.length > 0 ? "{key: someKey, " + Ze.join(": ..., ") + ": ...}" : "{key: someKey}";
1279
1279
  if (!ir[bt + Fn]) {
@@ -3169,7 +3169,7 @@ function Ka(e = {}) {
3169
3169
  Ya(c, s, r);
3170
3170
  }
3171
3171
  return (c, d = {}) => {
3172
- Fa(c, (R) => R.filter((_) => _ !== It));
3172
+ Fa(c, ($) => $.filter((P) => P !== It));
3173
3173
  const {
3174
3174
  name: u,
3175
3175
  slot: g,
@@ -3190,41 +3190,41 @@ function Ka(e = {}) {
3190
3190
  shouldForwardProp: N,
3191
3191
  label: Qa(u, g),
3192
3192
  ...b
3193
- }), k = (R) => {
3194
- if (R.__emotion_real === R)
3195
- return R;
3196
- if (typeof R == "function")
3197
- return function(B) {
3198
- return fn(B, R, B.theme.modularCssLayers ? h : void 0);
3199
- };
3200
- if (st(R)) {
3201
- const _ = ui(R);
3193
+ }), k = ($) => {
3194
+ if ($.__emotion_real === $)
3195
+ return $;
3196
+ if (typeof $ == "function")
3202
3197
  return function(L) {
3203
- return _.variants ? fn(L, _, L.theme.modularCssLayers ? h : void 0) : L.theme.modularCssLayers ? vt(_.style, h) : _.style;
3198
+ return fn(L, $, L.theme.modularCssLayers ? h : void 0);
3199
+ };
3200
+ if (st($)) {
3201
+ const P = ui($);
3202
+ return function(B) {
3203
+ return P.variants ? fn(B, P, B.theme.modularCssLayers ? h : void 0) : B.theme.modularCssLayers ? vt(P.style, h) : P.style;
3204
3204
  };
3205
3205
  }
3206
- return R;
3207
- }, w = (...R) => {
3208
- const _ = [], B = R.map(k), L = [];
3209
- if (_.push(l), u && y && L.push(function(P) {
3210
- var W, z;
3211
- const Y = (z = (W = P.theme.components) == null ? void 0 : W[u]) == null ? void 0 : z.styleOverrides;
3206
+ return $;
3207
+ }, w = (...$) => {
3208
+ const P = [], L = $.map(k), B = [];
3209
+ if (P.push(l), u && y && B.push(function(W) {
3210
+ var _, z;
3211
+ const Y = (z = (_ = W.theme.components) == null ? void 0 : _[u]) == null ? void 0 : z.styleOverrides;
3212
3212
  if (!Y)
3213
3213
  return null;
3214
3214
  const J = {};
3215
3215
  for (const v in Y)
3216
- J[v] = fn(P, Y[v], P.theme.modularCssLayers ? "theme" : void 0);
3217
- return y(P, J);
3218
- }), u && !j && L.push(function(P) {
3219
- var J, W;
3220
- const Z = P.theme, Y = (W = (J = Z == null ? void 0 : Z.components) == null ? void 0 : J[u]) == null ? void 0 : W.variants;
3221
- return Y ? fi(P, Y, [], P.theme.modularCssLayers ? "theme" : void 0) : null;
3222
- }), S || L.push(It), Array.isArray(B[0])) {
3223
- const V = B.shift(), P = new Array(_.length).fill(""), Z = new Array(L.length).fill("");
3216
+ J[v] = fn(W, Y[v], W.theme.modularCssLayers ? "theme" : void 0);
3217
+ return y(W, J);
3218
+ }), u && !j && B.push(function(W) {
3219
+ var J, _;
3220
+ const Z = W.theme, Y = (_ = (J = Z == null ? void 0 : Z.components) == null ? void 0 : J[u]) == null ? void 0 : _.variants;
3221
+ return Y ? fi(W, Y, [], W.theme.modularCssLayers ? "theme" : void 0) : null;
3222
+ }), S || B.push(It), Array.isArray(L[0])) {
3223
+ const V = L.shift(), W = new Array(P.length).fill(""), Z = new Array(B.length).fill("");
3224
3224
  let Y;
3225
- Y = [...P, ...V, ...Z], Y.raw = [...P, ...V.raw, ...Z], _.unshift(Y);
3225
+ Y = [...W, ...V, ...Z], Y.raw = [...W, ...V.raw, ...Z], P.unshift(Y);
3226
3226
  }
3227
- const f = [..._, ...B, ...L], F = M(...f);
3227
+ const f = [...P, ...L, ...B], F = M(...f);
3228
3228
  return c.muiName && (F.muiName = c.muiName), process.env.NODE_ENV !== "production" && (F.displayName = Ga(u, g, c)), F;
3229
3229
  };
3230
3230
  return M.withConfig && (w.withConfig = M.withConfig), w;
@@ -3480,11 +3480,11 @@ function dc(e, s = {}) {
3480
3480
  if (Object.entries(h || {}).forEach(([M, k]) => {
3481
3481
  const {
3482
3482
  vars: w,
3483
- css: R,
3484
- varsWithDefaults: _
3483
+ css: $,
3484
+ varsWithDefaults: P
3485
3485
  } = Gn(k, s);
3486
- m = Ke(m, _), y[M] = {
3487
- css: R,
3486
+ m = Ke(m, P), y[M] = {
3487
+ css: $,
3488
3488
  vars: w
3489
3489
  };
3490
3490
  }), b) {
@@ -3499,12 +3499,12 @@ function dc(e, s = {}) {
3499
3499
  };
3500
3500
  }
3501
3501
  function j(M, k) {
3502
- var R, _;
3502
+ var $, P;
3503
3503
  let w = o;
3504
3504
  if (o === "class" && (w = ".%s"), o === "data" && (w = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (w = `[${o}="%s"]`), M) {
3505
3505
  if (w === "media")
3506
3506
  return e.defaultColorScheme === M ? ":root" : {
3507
- [`@media (prefers-color-scheme: ${((_ = (R = l[M]) == null ? void 0 : R.palette) == null ? void 0 : _.mode) || M})`]: {
3507
+ [`@media (prefers-color-scheme: ${((P = ($ = l[M]) == null ? void 0 : $.palette) == null ? void 0 : P.mode) || M})`]: {
3508
3508
  ":root": k
3509
3509
  }
3510
3510
  };
@@ -3526,7 +3526,7 @@ function dc(e, s = {}) {
3526
3526
  }), M;
3527
3527
  },
3528
3528
  generateStyleSheets: () => {
3529
- var B, L;
3529
+ var L, B;
3530
3530
  const M = [], k = e.defaultColorScheme || "light";
3531
3531
  function w(f, F) {
3532
3532
  Object.keys(F).length && M.push(typeof f == "string" ? {
@@ -3539,13 +3539,13 @@ function dc(e, s = {}) {
3539
3539
  ...g
3540
3540
  }), g);
3541
3541
  const {
3542
- [k]: R,
3543
- ..._
3542
+ [k]: $,
3543
+ ...P
3544
3544
  } = y;
3545
- if (R) {
3545
+ if ($) {
3546
3546
  const {
3547
3547
  css: f
3548
- } = R, F = (L = (B = l[k]) == null ? void 0 : B.palette) == null ? void 0 : L.mode, V = !i && F ? {
3548
+ } = $, F = (B = (L = l[k]) == null ? void 0 : L.palette) == null ? void 0 : B.mode, V = !i && F ? {
3549
3549
  colorScheme: F,
3550
3550
  ...f
3551
3551
  } : {
@@ -3555,19 +3555,19 @@ function dc(e, s = {}) {
3555
3555
  ...V
3556
3556
  }), V);
3557
3557
  }
3558
- return Object.entries(_).forEach(([f, {
3558
+ return Object.entries(P).forEach(([f, {
3559
3559
  css: F
3560
3560
  }]) => {
3561
3561
  var Z, Y;
3562
- const V = (Y = (Z = l[f]) == null ? void 0 : Z.palette) == null ? void 0 : Y.mode, P = !i && V ? {
3562
+ const V = (Y = (Z = l[f]) == null ? void 0 : Z.palette) == null ? void 0 : Y.mode, W = !i && V ? {
3563
3563
  colorScheme: V,
3564
3564
  ...F
3565
3565
  } : {
3566
3566
  ...F
3567
3567
  };
3568
3568
  w(r(f, {
3569
- ...P
3570
- }), P);
3569
+ ...W
3570
+ }), W);
3571
3571
  }), M;
3572
3572
  }
3573
3573
  };
@@ -4372,9 +4372,9 @@ function Hc(e = {}, ...s) {
4372
4372
  },
4373
4373
  spacing: Fc(u.spacing)
4374
4374
  };
4375
- Object.keys(k.colorSchemes).forEach((L) => {
4376
- const f = k.colorSchemes[L].palette, F = (V) => {
4377
- const P = V.split("-"), Z = P[1], Y = P[2];
4375
+ Object.keys(k.colorSchemes).forEach((B) => {
4376
+ const f = k.colorSchemes[B].palette, F = (V) => {
4377
+ const W = V.split("-"), Z = W[1], Y = W[2];
4378
4378
  return m(V, f[Z][Y]);
4379
4379
  };
4380
4380
  if (f.mode === "light" && (q(f.common, "background", "#fff"), q(f.common, "onBackground", "#000")), f.mode === "dark" && (q(f.common, "background", "#000"), q(f.common, "onBackground", "#fff")), Lc(f, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), f.mode === "light") {
@@ -4388,23 +4388,23 @@ function Hc(e = {}, ...s) {
4388
4388
  q(f.SnackbarContent, "bg", V), q(f.SnackbarContent, "color", nt(() => f.getContrastText(V))), q(f.SpeedDialAction, "fabHoverBg", cn(f.background.paper, 0.15)), q(f.StepConnector, "border", F("palette-grey-600")), q(f.StepContent, "border", F("palette-grey-600")), q(f.Switch, "defaultColor", F("palette-grey-300")), q(f.Switch, "defaultDisabledColor", F("palette-grey-600")), q(f.Switch, "primaryDisabledColor", Me(f.primary.main, 0.55)), q(f.Switch, "secondaryDisabledColor", Me(f.secondary.main, 0.55)), q(f.Switch, "errorDisabledColor", Me(f.error.main, 0.55)), q(f.Switch, "infoDisabledColor", Me(f.info.main, 0.55)), q(f.Switch, "successDisabledColor", Me(f.success.main, 0.55)), q(f.Switch, "warningDisabledColor", Me(f.warning.main, 0.55)), q(f.TableCell, "border", Me(an(f.divider, 1), 0.68)), q(f.Tooltip, "bg", an(f.grey[700], 0.92));
4389
4389
  }
4390
4390
  it(f.background, "default"), it(f.background, "paper"), it(f.common, "background"), it(f.common, "onBackground"), it(f, "divider"), Object.keys(f).forEach((V) => {
4391
- const P = f[V];
4392
- V !== "tonalOffset" && P && typeof P == "object" && (P.main && q(f[V], "mainChannel", Ft(Bt(P.main))), P.light && q(f[V], "lightChannel", Ft(Bt(P.light))), P.dark && q(f[V], "darkChannel", Ft(Bt(P.dark))), P.contrastText && q(f[V], "contrastTextChannel", Ft(Bt(P.contrastText))), V === "text" && (it(f[V], "primary"), it(f[V], "secondary")), V === "action" && (P.active && it(f[V], "active"), P.selected && it(f[V], "selected")));
4391
+ const W = f[V];
4392
+ V !== "tonalOffset" && W && typeof W == "object" && (W.main && q(f[V], "mainChannel", Ft(Bt(W.main))), W.light && q(f[V], "lightChannel", Ft(Bt(W.light))), W.dark && q(f[V], "darkChannel", Ft(Bt(W.dark))), W.contrastText && q(f[V], "contrastTextChannel", Ft(Bt(W.contrastText))), V === "text" && (it(f[V], "primary"), it(f[V], "secondary")), V === "action" && (W.active && it(f[V], "active"), W.selected && it(f[V], "selected")));
4393
4393
  });
4394
- }), k = s.reduce((L, f) => Ke(L, f), k);
4394
+ }), k = s.reduce((B, f) => Ke(B, f), k);
4395
4395
  const w = {
4396
4396
  prefix: l,
4397
4397
  disableCssColorScheme: o,
4398
4398
  shouldSkipGeneratingVar: a,
4399
4399
  getSelector: _c(k)
4400
4400
  }, {
4401
- vars: R,
4402
- generateThemeVars: _,
4403
- generateStyleSheets: B
4401
+ vars: $,
4402
+ generateThemeVars: P,
4403
+ generateStyleSheets: L
4404
4404
  } = dc(k, w);
4405
- return k.vars = R, Object.entries(k.colorSchemes[k.defaultColorScheme]).forEach(([L, f]) => {
4406
- k[L] = f;
4407
- }), k.generateThemeVars = _, k.generateStyleSheets = B, k.generateSpacing = function() {
4405
+ return k.vars = $, Object.entries(k.colorSchemes[k.defaultColorScheme]).forEach(([B, f]) => {
4406
+ k[B] = f;
4407
+ }), k.generateThemeVars = P, k.generateStyleSheets = L, k.generateSpacing = function() {
4408
4408
  return di(u.spacing, bs(this));
4409
4409
  }, k.getColorSchemeSelector = hc(c), k.spacing = k.generateSpacing(), k.shouldSkipGeneratingVar = a, k.unstable_sxConfig = {
4410
4410
  ...nn,
@@ -10342,10 +10342,10 @@ const Qe = gt("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
10342
10342
  const m = re.useRef(!1), y = zl(), b = re.useRef(null), h = re.useRef(null), j = re.useCallback((k) => {
10343
10343
  const {
10344
10344
  pulsate: w,
10345
- rippleX: R,
10346
- rippleY: _,
10347
- rippleSize: B,
10348
- cb: L
10345
+ rippleX: $,
10346
+ rippleY: P,
10347
+ rippleSize: L,
10348
+ cb: B
10349
10349
  } = k;
10350
10350
  u((f) => [...f, /* @__PURE__ */ t.jsx(t1, {
10351
10351
  classes: {
@@ -10358,16 +10358,16 @@ const Qe = gt("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
10358
10358
  },
10359
10359
  timeout: fs,
10360
10360
  pulsate: w,
10361
- rippleX: R,
10362
- rippleY: _,
10363
- rippleSize: B
10364
- }, g.current)]), g.current += 1, p.current = L;
10365
- }, [l]), S = re.useCallback((k = {}, w = {}, R = () => {
10361
+ rippleX: $,
10362
+ rippleY: P,
10363
+ rippleSize: L
10364
+ }, g.current)]), g.current += 1, p.current = B;
10365
+ }, [l]), S = re.useCallback((k = {}, w = {}, $ = () => {
10366
10366
  }) => {
10367
10367
  const {
10368
- pulsate: _ = !1,
10369
- center: B = o || w.pulsate,
10370
- fakeElement: L = !1
10368
+ pulsate: P = !1,
10369
+ center: L = o || w.pulsate,
10370
+ fakeElement: B = !1
10371
10371
  // For test purposes
10372
10372
  } = w;
10373
10373
  if ((k == null ? void 0 : k.type) === "mousedown" && m.current) {
@@ -10375,44 +10375,44 @@ const Qe = gt("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
10375
10375
  return;
10376
10376
  }
10377
10377
  (k == null ? void 0 : k.type) === "touchstart" && (m.current = !0);
10378
- const f = L ? null : h.current, F = f ? f.getBoundingClientRect() : {
10378
+ const f = B ? null : h.current, F = f ? f.getBoundingClientRect() : {
10379
10379
  width: 0,
10380
10380
  height: 0,
10381
10381
  left: 0,
10382
10382
  top: 0
10383
10383
  };
10384
- let V, P, Z;
10385
- if (B || k === void 0 || k.clientX === 0 && k.clientY === 0 || !k.clientX && !k.touches)
10386
- V = Math.round(F.width / 2), P = Math.round(F.height / 2);
10384
+ let V, W, Z;
10385
+ if (L || k === void 0 || k.clientX === 0 && k.clientY === 0 || !k.clientX && !k.touches)
10386
+ V = Math.round(F.width / 2), W = Math.round(F.height / 2);
10387
10387
  else {
10388
10388
  const {
10389
10389
  clientX: Y,
10390
10390
  clientY: J
10391
10391
  } = k.touches && k.touches.length > 0 ? k.touches[0] : k;
10392
- V = Math.round(Y - F.left), P = Math.round(J - F.top);
10392
+ V = Math.round(Y - F.left), W = Math.round(J - F.top);
10393
10393
  }
10394
- if (B)
10394
+ if (L)
10395
10395
  Z = Math.sqrt((2 * F.width ** 2 + F.height ** 2) / 3), Z % 2 === 0 && (Z += 1);
10396
10396
  else {
10397
- const Y = Math.max(Math.abs((f ? f.clientWidth : 0) - V), V) * 2 + 2, J = Math.max(Math.abs((f ? f.clientHeight : 0) - P), P) * 2 + 2;
10397
+ const Y = Math.max(Math.abs((f ? f.clientWidth : 0) - V), V) * 2 + 2, J = Math.max(Math.abs((f ? f.clientHeight : 0) - W), W) * 2 + 2;
10398
10398
  Z = Math.sqrt(Y ** 2 + J ** 2);
10399
10399
  }
10400
10400
  k != null && k.touches ? b.current === null && (b.current = () => {
10401
10401
  j({
10402
- pulsate: _,
10402
+ pulsate: P,
10403
10403
  rippleX: V,
10404
- rippleY: P,
10404
+ rippleY: W,
10405
10405
  rippleSize: Z,
10406
- cb: R
10406
+ cb: $
10407
10407
  });
10408
10408
  }, y.start(Gd, () => {
10409
10409
  b.current && (b.current(), b.current = null);
10410
10410
  })) : j({
10411
- pulsate: _,
10411
+ pulsate: P,
10412
10412
  rippleX: V,
10413
- rippleY: P,
10413
+ rippleY: W,
10414
10414
  rippleSize: Z,
10415
- cb: R
10415
+ cb: $
10416
10416
  });
10417
10417
  }, [o, j, y]), N = re.useCallback(() => {
10418
10418
  S({}, {
@@ -10425,7 +10425,7 @@ const Qe = gt("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
10425
10425
  });
10426
10426
  return;
10427
10427
  }
10428
- b.current = null, u((R) => R.length > 0 ? R.slice(1) : R), p.current = w;
10428
+ b.current = null, u(($) => $.length > 0 ? $.slice(1) : $), p.current = w;
10429
10429
  }, [y]);
10430
10430
  return re.useImperativeHandle(r, () => ({
10431
10431
  pulsate: N,
@@ -10536,34 +10536,34 @@ const s1 = gt("MuiButtonBase", ["root", "disabled", "focusVisible"]), r1 = (e) =
10536
10536
  onFocus: M,
10537
10537
  onFocusVisible: k,
10538
10538
  onKeyDown: w,
10539
- onKeyUp: R,
10540
- onMouseDown: _,
10541
- onMouseLeave: B,
10542
- onMouseUp: L,
10539
+ onKeyUp: $,
10540
+ onMouseDown: P,
10541
+ onMouseLeave: L,
10542
+ onMouseUp: B,
10543
10543
  onTouchEnd: f,
10544
10544
  onTouchMove: F,
10545
10545
  onTouchStart: V,
10546
- tabIndex: P = 0,
10546
+ tabIndex: W = 0,
10547
10547
  TouchRippleProps: Z,
10548
10548
  touchRippleRef: Y,
10549
10549
  type: J,
10550
- ...W
10551
- } = i, z = re.useRef(null), v = Ld(), x = os(v.ref, Y), [O, A] = re.useState(!1);
10552
- u && O && A(!1), re.useImperativeHandle(o, () => ({
10550
+ ..._
10551
+ } = i, z = re.useRef(null), v = Ld(), x = os(v.ref, Y), [O, R] = re.useState(!1);
10552
+ u && O && R(!1), re.useImperativeHandle(o, () => ({
10553
10553
  focusVisible: () => {
10554
- A(!0), z.current.focus();
10554
+ R(!0), z.current.focus();
10555
10555
  }
10556
10556
  }), []);
10557
10557
  const E = v.shouldMount && !g && !u;
10558
10558
  re.useEffect(() => {
10559
10559
  O && m && !g && v.pulsate();
10560
10560
  }, [g, m, O, v]);
10561
- const T = ot(v, "start", _, p), D = ot(v, "stop", S, p), H = ot(v, "stop", N, p), $ = ot(v, "stop", L, p), I = ot(v, "stop", (ee) => {
10562
- O && ee.preventDefault(), B && B(ee);
10561
+ const T = ot(v, "start", P, p), D = ot(v, "stop", S, p), H = ot(v, "stop", N, p), I = ot(v, "stop", B, p), A = ot(v, "stop", (ee) => {
10562
+ O && ee.preventDefault(), L && L(ee);
10563
10563
  }, p), G = ot(v, "start", V, p), U = ot(v, "stop", f, p), ne = ot(v, "stop", F, p), K = ot(v, "stop", (ee) => {
10564
- Cr(ee.target) || A(!1), h && h(ee);
10564
+ Cr(ee.target) || R(!1), h && h(ee);
10565
10565
  }, !1), ue = un((ee) => {
10566
- z.current || (z.current = ee.currentTarget), Cr(ee.target) && (A(!0), k && k(ee)), M && M(ee);
10566
+ z.current || (z.current = ee.currentTarget), Cr(ee.target) && (R(!0), k && k(ee)), M && M(ee);
10567
10567
  }), le = () => {
10568
10568
  const ee = z.current;
10569
10569
  return d && d !== "button" && !(ee.tagName === "A" && ee.href);
@@ -10574,12 +10574,12 @@ const s1 = gt("MuiButtonBase", ["root", "disabled", "focusVisible"]), r1 = (e) =
10574
10574
  }), Be = un((ee) => {
10575
10575
  m && ee.key === " " && O && !ee.defaultPrevented && v.stop(ee, () => {
10576
10576
  v.pulsate(ee);
10577
- }), R && R(ee), j && ee.target === ee.currentTarget && le() && ee.key === " " && !ee.defaultPrevented && j(ee);
10577
+ }), $ && $(ee), j && ee.target === ee.currentTarget && le() && ee.key === " " && !ee.defaultPrevented && j(ee);
10578
10578
  });
10579
10579
  let we = d;
10580
- we === "button" && (W.href || W.to) && (we = b);
10580
+ we === "button" && (_.href || _.to) && (we = b);
10581
10581
  const Ie = {};
10582
- we === "button" ? (Ie.type = J === void 0 ? "button" : J, Ie.disabled = u) : (!W.href && !W.to && (Ie.role = "button"), u && (Ie["aria-disabled"] = u));
10582
+ we === "button" ? (Ie.type = J === void 0 ? "button" : J, Ie.disabled = u) : (!_.href && !_.to && (Ie.role = "button"), u && (Ie["aria-disabled"] = u));
10583
10583
  const ce = os(r, z), oe = {
10584
10584
  ...i,
10585
10585
  centerRipple: l,
@@ -10588,7 +10588,7 @@ const s1 = gt("MuiButtonBase", ["root", "disabled", "focusVisible"]), r1 = (e) =
10588
10588
  disableRipple: g,
10589
10589
  disableTouchRipple: p,
10590
10590
  focusRipple: m,
10591
- tabIndex: P,
10591
+ tabIndex: W,
10592
10592
  focusVisible: O
10593
10593
  }, de = r1(oe);
10594
10594
  return /* @__PURE__ */ t.jsxs(i1, {
@@ -10602,17 +10602,17 @@ const s1 = gt("MuiButtonBase", ["root", "disabled", "focusVisible"]), r1 = (e) =
10602
10602
  onKeyDown: fe,
10603
10603
  onKeyUp: Be,
10604
10604
  onMouseDown: T,
10605
- onMouseLeave: I,
10606
- onMouseUp: $,
10605
+ onMouseLeave: A,
10606
+ onMouseUp: I,
10607
10607
  onDragLeave: H,
10608
10608
  onTouchEnd: U,
10609
10609
  onTouchMove: ne,
10610
10610
  onTouchStart: G,
10611
10611
  ref: ce,
10612
- tabIndex: u ? -1 : P,
10612
+ tabIndex: u ? -1 : W,
10613
10613
  type: J,
10614
10614
  ...Ie,
10615
- ...W,
10615
+ ..._,
10616
10616
  children: [a, E ? /* @__PURE__ */ t.jsx(Vi, {
10617
10617
  ref: x,
10618
10618
  center: l,
@@ -10912,16 +10912,16 @@ const l1 = (e) => {
10912
10912
  required: M = !1,
10913
10913
  tabIndex: k,
10914
10914
  type: w,
10915
- value: R,
10916
- slots: _ = {},
10917
- slotProps: B = {},
10918
- ...L
10915
+ value: $,
10916
+ slots: P = {},
10917
+ slotProps: L = {},
10918
+ ...B
10919
10919
  } = s, [f, F] = Sl({
10920
10920
  controlled: o,
10921
10921
  default: !!a,
10922
10922
  name: "SwitchBase",
10923
10923
  state: "checked"
10924
- }), V = Ls(), P = (D) => {
10924
+ }), V = Ls(), W = (D) => {
10925
10925
  S && S(D), V && V.onFocus && V.onFocus(D);
10926
10926
  }, Z = (D) => {
10927
10927
  h && h(D), V && V.onBlur && V.onBlur(D);
@@ -10933,19 +10933,19 @@ const l1 = (e) => {
10933
10933
  };
10934
10934
  let J = c;
10935
10935
  V && typeof J > "u" && (J = V.disabled);
10936
- const W = w === "checkbox" || w === "radio", z = {
10936
+ const _ = w === "checkbox" || w === "radio", z = {
10937
10937
  ...s,
10938
10938
  checked: f,
10939
10939
  disabled: J,
10940
10940
  disableFocusRipple: d,
10941
10941
  edge: u
10942
10942
  }, v = l1(z), x = {
10943
- slots: _,
10943
+ slots: P,
10944
10944
  slotProps: {
10945
10945
  input: m,
10946
- ...B
10946
+ ...L
10947
10947
  }
10948
- }, [O, A] = Gt("root", {
10948
+ }, [O, R] = Gt("root", {
10949
10949
  ref: r,
10950
10950
  elementType: a1,
10951
10951
  className: v.root,
@@ -10953,17 +10953,17 @@ const l1 = (e) => {
10953
10953
  externalForwardedProps: {
10954
10954
  ...x,
10955
10955
  component: "span",
10956
- ...L
10956
+ ...B
10957
10957
  },
10958
10958
  getSlotProps: (D) => ({
10959
10959
  ...D,
10960
10960
  onFocus: (H) => {
10961
- var $;
10962
- ($ = D.onFocus) == null || $.call(D, H), P(H);
10961
+ var I;
10962
+ (I = D.onFocus) == null || I.call(D, H), W(H);
10963
10963
  },
10964
10964
  onBlur: (H) => {
10965
- var $;
10966
- ($ = D.onBlur) == null || $.call(D, H), Z(H);
10965
+ var I;
10966
+ (I = D.onBlur) == null || I.call(D, H), Z(H);
10967
10967
  }
10968
10968
  }),
10969
10969
  ownerState: z,
@@ -10981,8 +10981,8 @@ const l1 = (e) => {
10981
10981
  externalForwardedProps: x,
10982
10982
  getSlotProps: (D) => ({
10983
10983
  onChange: (H) => {
10984
- var $;
10985
- ($ = D.onChange) == null || $.call(D, H), Y(H);
10984
+ var I;
10985
+ (I = D.onChange) == null || I.call(D, H), Y(H);
10986
10986
  }
10987
10987
  }),
10988
10988
  ownerState: z,
@@ -10991,19 +10991,19 @@ const l1 = (e) => {
10991
10991
  checked: o,
10992
10992
  defaultChecked: a,
10993
10993
  disabled: J,
10994
- id: W ? p : void 0,
10994
+ id: _ ? p : void 0,
10995
10995
  name: b,
10996
10996
  readOnly: N,
10997
10997
  required: M,
10998
10998
  tabIndex: k,
10999
10999
  type: w,
11000
- ...w === "checkbox" && R === void 0 ? {} : {
11001
- value: R
11000
+ ...w === "checkbox" && $ === void 0 ? {} : {
11001
+ value: $
11002
11002
  }
11003
11003
  }
11004
11004
  });
11005
11005
  return /* @__PURE__ */ t.jsxs(O, {
11006
- ...A,
11006
+ ...R,
11007
11007
  children: [/* @__PURE__ */ t.jsx(E, {
11008
11008
  ...T
11009
11009
  }), f ? l : g]
@@ -11338,11 +11338,11 @@ const w1 = /* @__PURE__ */ t.jsx(Vs, {
11338
11338
  disableRipple: y,
11339
11339
  color: a,
11340
11340
  size: g
11341
- }, w = b1(k), R = g1();
11342
- let _ = o;
11343
- const B = kl(u, R && R.onChange);
11344
- let L = d;
11345
- R && (typeof _ > "u" && (_ = j1(R.value, i.value)), typeof L > "u" && (L = R.name));
11341
+ }, w = b1(k), $ = g1();
11342
+ let P = o;
11343
+ const L = kl(u, $ && $.onChange);
11344
+ let B = d;
11345
+ $ && (typeof P > "u" && (P = j1($.value, i.value)), typeof B > "u" && (B = $.name));
11346
11346
  const f = h.input ?? j, [F, V] = Gt("root", {
11347
11347
  ref: r,
11348
11348
  elementType: v1,
@@ -11353,11 +11353,11 @@ const w1 = /* @__PURE__ */ t.jsx(Vs, {
11353
11353
  slotProps: h,
11354
11354
  ...S
11355
11355
  },
11356
- getSlotProps: (P) => ({
11357
- ...P,
11356
+ getSlotProps: (W) => ({
11357
+ ...W,
11358
11358
  onChange: (Z, ...Y) => {
11359
11359
  var J;
11360
- (J = P.onChange) == null || J.call(P, Z, ...Y), B(Z, ...Y);
11360
+ (J = W.onChange) == null || J.call(W, Z, ...Y), L(Z, ...Y);
11361
11361
  }
11362
11362
  }),
11363
11363
  ownerState: k,
@@ -11370,8 +11370,8 @@ const w1 = /* @__PURE__ */ t.jsx(Vs, {
11370
11370
  fontSize: l.props.fontSize ?? g
11371
11371
  }),
11372
11372
  disabled: M,
11373
- name: L,
11374
- checked: _,
11373
+ name: B,
11374
+ checked: P,
11375
11375
  slots: b,
11376
11376
  slotProps: {
11377
11377
  // Do not forward `slotProps.root` again because it's already handled by the `RootSlot` in this file.
@@ -11854,48 +11854,48 @@ const D1 = (e) => {
11854
11854
  slotProps: S = {},
11855
11855
  value: N,
11856
11856
  ...M
11857
- } = i, k = Ls(), w = d ?? c.props.disabled ?? (k == null ? void 0 : k.disabled), R = h ?? c.props.required, _ = {
11857
+ } = i, k = Ls(), w = d ?? c.props.disabled ?? (k == null ? void 0 : k.disabled), $ = h ?? c.props.required, P = {
11858
11858
  disabled: w,
11859
- required: R
11859
+ required: $
11860
11860
  };
11861
11861
  ["checked", "name", "onChange", "value", "inputRef"].forEach((Y) => {
11862
- typeof c.props[Y] > "u" && typeof i[Y] < "u" && (_[Y] = i[Y]);
11862
+ typeof c.props[Y] > "u" && typeof i[Y] < "u" && (P[Y] = i[Y]);
11863
11863
  });
11864
- const B = E1({
11864
+ const L = E1({
11865
11865
  props: i,
11866
11866
  muiFormControl: k,
11867
11867
  states: ["error"]
11868
- }), L = {
11868
+ }), B = {
11869
11869
  ...i,
11870
11870
  disabled: w,
11871
11871
  labelPlacement: m,
11872
- required: R,
11873
- error: B.error
11874
- }, f = D1(L), F = {
11872
+ required: $,
11873
+ error: L.error
11874
+ }, f = D1(B), F = {
11875
11875
  slots: j,
11876
11876
  slotProps: {
11877
11877
  ...a,
11878
11878
  ...S
11879
11879
  }
11880
- }, [V, P] = Gt("typography", {
11880
+ }, [V, W] = Gt("typography", {
11881
11881
  elementType: ps,
11882
11882
  externalForwardedProps: F,
11883
- ownerState: L
11883
+ ownerState: B
11884
11884
  });
11885
11885
  let Z = p;
11886
11886
  return Z != null && Z.type !== ps && !u && (Z = /* @__PURE__ */ t.jsx(V, {
11887
11887
  component: "span",
11888
- ...P,
11889
- className: Le(f.label, P == null ? void 0 : P.className),
11888
+ ...W,
11889
+ className: Le(f.label, W == null ? void 0 : W.className),
11890
11890
  children: Z
11891
11891
  })), /* @__PURE__ */ t.jsxs(O1, {
11892
11892
  className: Le(f.root, l),
11893
- ownerState: L,
11893
+ ownerState: B,
11894
11894
  ref: r,
11895
11895
  ...M,
11896
- children: [/* @__PURE__ */ re.cloneElement(c, _), R ? /* @__PURE__ */ t.jsxs("div", {
11896
+ children: [/* @__PURE__ */ re.cloneElement(c, P), $ ? /* @__PURE__ */ t.jsxs("div", {
11897
11897
  children: [Z, /* @__PURE__ */ t.jsxs(R1, {
11898
- ownerState: L,
11898
+ ownerState: B,
11899
11899
  "aria-hidden": !0,
11900
11900
  className: f.asterisk,
11901
11901
  children: [" ", "*"]
@@ -12211,29 +12211,29 @@ const $t = 4, rt = (e) => {
12211
12211
  backgroundColor: M,
12212
12212
  disableColorOpen: k,
12213
12213
  disabled: w = !1,
12214
- Icon: R,
12215
- displayOptions: _,
12216
- height: B,
12217
- paddingDropdownHeader: L,
12214
+ Icon: $,
12215
+ displayOptions: P,
12216
+ height: L,
12217
+ paddingDropdownHeader: B,
12218
12218
  widthIcon: f,
12219
12219
  heightIcon: F,
12220
12220
  placeholderInputSearch: V = "Buscar...",
12221
- borderRadiusRight: P = "4px",
12221
+ borderRadiusRight: W = "4px",
12222
12222
  borderRadiusLeft: Z = "4px",
12223
12223
  labelText: Y,
12224
12224
  subLabelText: J,
12225
- gap: W = "0",
12225
+ gap: _ = "0",
12226
12226
  justifyContent: z = "flex-start",
12227
12227
  id: v,
12228
12228
  fontSizeLabelText: x,
12229
12229
  fontSizeTooltip: O,
12230
- heightTooltip: A,
12230
+ heightTooltip: R,
12231
12231
  leftTooltip: E,
12232
12232
  tooltip: T,
12233
12233
  topTooltip: D,
12234
12234
  widthTooltip: H,
12235
- isTooltipVisible: $,
12236
- position: I = "absolute",
12235
+ isTooltipVisible: I,
12236
+ position: A = "absolute",
12237
12237
  withoutOptions: G = !1,
12238
12238
  sortAlphabetically: U = !0
12239
12239
  } = e, [ne, K] = X(i), [ue, le] = X(i), [fe, Be] = X(!1), we = g !== void 0 ? g : fe, Ie = p !== void 0 ? p : Be, [ce, oe] = X(""), de = xe(null), ee = () => !w && Ie(!we);
@@ -12284,7 +12284,7 @@ const $t = 4, rt = (e) => {
12284
12284
  style: {
12285
12285
  display: "flex",
12286
12286
  flexDirection: "column",
12287
- gap: W,
12287
+ gap: _,
12288
12288
  justifyContent: z
12289
12289
  },
12290
12290
  children: [
@@ -12293,14 +12293,14 @@ const $t = 4, rt = (e) => {
12293
12293
  {
12294
12294
  fontSizeTitle: x,
12295
12295
  fontSizeTooltip: O,
12296
- heightTooltip: A,
12296
+ heightTooltip: R,
12297
12297
  left: E,
12298
12298
  subTitle: J,
12299
12299
  title: Y,
12300
12300
  tooltip: T,
12301
12301
  top: D,
12302
12302
  widthTooltip: H,
12303
- isTooltipVisibleProp: $,
12303
+ isTooltipVisibleProp: I,
12304
12304
  marginBottom: "5px"
12305
12305
  }
12306
12306
  ),
@@ -12324,17 +12324,17 @@ const $t = 4, rt = (e) => {
12324
12324
  backgroundColor: M,
12325
12325
  cursor: w ? "not-allowed" : "pointer",
12326
12326
  opacity: w ? 0.5 : 1,
12327
- padding: L,
12328
- height: B,
12329
- borderTopRightRadius: P,
12330
- borderBottomRightRadius: P,
12327
+ padding: B,
12328
+ height: L,
12329
+ borderTopRightRadius: W,
12330
+ borderBottomRightRadius: W,
12331
12331
  borderTopLeftRadius: Z,
12332
12332
  borderBottomLeftRadius: Z
12333
12333
  },
12334
12334
  children: [
12335
12335
  /* @__PURE__ */ t.jsx("span", { style: { fontSize: j }, children: ce || r }),
12336
- R ? /* @__PURE__ */ t.jsx(
12337
- R,
12336
+ $ ? /* @__PURE__ */ t.jsx(
12337
+ $,
12338
12338
  {
12339
12339
  className: `icon-basicSelect ${we ? "up" : "down"}`,
12340
12340
  style: { width: f, height: F }
@@ -12346,14 +12346,14 @@ const $t = 4, rt = (e) => {
12346
12346
  we && !G && /* @__PURE__ */ t.jsxs(
12347
12347
  "ul",
12348
12348
  {
12349
- className: `dropdown-options ${h} ${I}`,
12349
+ className: `dropdown-options ${h} ${A}`,
12350
12350
  role: "listbox",
12351
12351
  id: `dropdown-options-basicSelect ${v}`,
12352
12352
  style: {
12353
12353
  width: c || "100%",
12354
12354
  height: d,
12355
12355
  maxHeight: u,
12356
- display: _
12356
+ display: P
12357
12357
  },
12358
12358
  children: [
12359
12359
  i.length >= $t && i.length > 0 && /* @__PURE__ */ t.jsx(
@@ -12770,16 +12770,16 @@ const L1 = (e) => {
12770
12770
  onFocus: l,
12771
12771
  sortAlphabetically: a = !0,
12772
12772
  searchable: c = !0
12773
- } = e, [d, u] = X([]), [g, p] = X(!1), [m, y] = X(!1), [b, h] = X(""), [j, S] = X(null), N = xe(null), M = xe(null), k = xe(null), w = (P) => P.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase();
12773
+ } = e, [d, u] = X([]), [g, p] = X(!1), [m, y] = X(!1), [b, h] = X(""), [j, S] = X(null), N = xe(null), M = xe(null), k = xe(null), w = (W) => W.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase();
12774
12774
  se(() => {
12775
- let P = [...s];
12776
- a && P.sort(
12775
+ let W = [...s];
12776
+ a && W.sort(
12777
12777
  (Z, Y) => (Z.label || "").localeCompare(Y.label || "")
12778
- ), u(P);
12778
+ ), u(W);
12779
12779
  }, [s, a]), se(() => {
12780
12780
  if (r != null) {
12781
- const P = s.find((Z) => pe.isEqual(Z.value, r));
12782
- S(P || null);
12781
+ const W = s.find((Z) => pe.isEqual(Z.value, r));
12782
+ S(W || null);
12783
12783
  } else
12784
12784
  S(null);
12785
12785
  }, [r, s]), se(() => {
@@ -12790,27 +12790,27 @@ const L1 = (e) => {
12790
12790
  ), u(Z);
12791
12791
  return;
12792
12792
  }
12793
- const P = s.filter(
12793
+ const W = s.filter(
12794
12794
  (Z) => w(Z.label).includes(w(b))
12795
12795
  );
12796
- a && P.sort((Z, Y) => (Z.label || "").localeCompare(Y.label || "")), u(P);
12796
+ a && W.sort((Z, Y) => (Z.label || "").localeCompare(Y.label || "")), u(W);
12797
12797
  }, [b, s, a]), se(() => {
12798
12798
  m ? k.current && setTimeout(() => {
12799
- var P;
12800
- return (P = k.current) == null ? void 0 : P.focus();
12799
+ var W;
12800
+ return (W = k.current) == null ? void 0 : W.focus();
12801
12801
  }, 50) : h("");
12802
12802
  }, [m]), se(() => {
12803
- const P = (Z) => {
12803
+ const W = (Z) => {
12804
12804
  N.current && !N.current.contains(Z.target) && (y(!1), p(!1));
12805
12805
  };
12806
- return document.addEventListener("mousedown", P), () => document.removeEventListener("mousedown", P);
12806
+ return document.addEventListener("mousedown", W), () => document.removeEventListener("mousedown", W);
12807
12807
  }, []);
12808
- const R = () => {
12809
- var P;
12810
- e.disabled || (y(!m), m || (P = M.current) == null || P.focus());
12811
- }, _ = (P) => {
12808
+ const $ = () => {
12809
+ var W;
12810
+ e.disabled || (y(!m), m || (W = M.current) == null || W.focus());
12811
+ }, P = (W) => {
12812
12812
  let Z;
12813
- pe.isEqual(j == null ? void 0 : j.value, P.value) ? Z = null : Z = P, S(Z), y(!1);
12813
+ pe.isEqual(j == null ? void 0 : j.value, W.value) ? Z = null : Z = W, S(Z), y(!1);
12814
12814
  const Y = {
12815
12815
  target: {
12816
12816
  id: e.id,
@@ -12829,9 +12829,9 @@ const L1 = (e) => {
12829
12829
  }
12830
12830
  };
12831
12831
  i == null || i(Y), o == null || o(Y);
12832
- }, B = () => {
12832
+ }, L = () => {
12833
12833
  S(null), h("");
12834
- const P = {
12834
+ const W = {
12835
12835
  target: {
12836
12836
  id: e.id,
12837
12837
  name: e.name,
@@ -12847,26 +12847,26 @@ const L1 = (e) => {
12847
12847
  stopPropagation: () => {
12848
12848
  }
12849
12849
  };
12850
- i == null || i(P);
12851
- }, L = (P) => {
12852
- p(!0), l == null || l(P);
12853
- }, f = (P) => {
12850
+ i == null || i(W);
12851
+ }, B = (W) => {
12852
+ p(!0), l == null || l(W);
12853
+ }, f = (W) => {
12854
12854
  var Z;
12855
- (Z = N.current) != null && Z.contains(P.relatedTarget) || (p(!1), o == null || o(P));
12856
- }, F = (P) => {
12855
+ (Z = N.current) != null && Z.contains(W.relatedTarget) || (p(!1), o == null || o(W));
12856
+ }, F = (W) => {
12857
12857
  var Z;
12858
12858
  if (!e.disabled)
12859
- switch (P.key) {
12859
+ switch (W.key) {
12860
12860
  case "Enter":
12861
12861
  case " ":
12862
- m || (P.preventDefault(), y(!0));
12862
+ m || (W.preventDefault(), y(!0));
12863
12863
  break;
12864
12864
  case "Escape":
12865
12865
  y(!1), (Z = M.current) == null || Z.focus();
12866
12866
  break;
12867
12867
  case "ArrowDown":
12868
12868
  case "ArrowUp":
12869
- P.preventDefault(), m || y(!0);
12869
+ W.preventDefault(), m || y(!0);
12870
12870
  break;
12871
12871
  }
12872
12872
  }, V = Ut(() => c && s.length >= $t, [c, s.length]);
@@ -12880,10 +12880,10 @@ const L1 = (e) => {
12880
12880
  dropdownRef: N,
12881
12881
  inputRef: M,
12882
12882
  searchInputRef: k,
12883
- toggleDropdown: R,
12884
- handleOptionSelect: _,
12885
- handleClear: B,
12886
- handleFocus: L,
12883
+ toggleDropdown: $,
12884
+ handleOptionSelect: P,
12885
+ handleClear: L,
12886
+ handleFocus: B,
12887
12887
  handleBlur: f,
12888
12888
  handleKeyDown: F,
12889
12889
  showSearch: V
@@ -12912,18 +12912,18 @@ const L1 = (e) => {
12912
12912
  ...k
12913
12913
  } = e, {
12914
12914
  filteredOptions: w,
12915
- isFocused: R,
12916
- isOpen: _,
12917
- searchQuery: B,
12918
- setSearchQuery: L,
12915
+ isFocused: $,
12916
+ isOpen: P,
12917
+ searchQuery: L,
12918
+ setSearchQuery: B,
12919
12919
  selectedOption: f,
12920
12920
  dropdownRef: F,
12921
12921
  inputRef: V,
12922
- searchInputRef: P,
12922
+ searchInputRef: W,
12923
12923
  toggleDropdown: Z,
12924
12924
  handleOptionSelect: Y,
12925
12925
  handleClear: J,
12926
- handleFocus: W,
12926
+ handleFocus: _,
12927
12927
  handleBlur: z,
12928
12928
  handleKeyDown: v,
12929
12929
  showSearch: x
@@ -12944,10 +12944,10 @@ const L1 = (e) => {
12944
12944
  "bs-dropdown",
12945
12945
  l && "bs-error",
12946
12946
  i && "bs-disabled",
12947
- _ && "bs-open",
12948
- R && "bs-focused",
12947
+ P && "bs-open",
12948
+ $ && "bs-focused",
12949
12949
  r
12950
- ].filter(Boolean).join(" "), A = ["bs-dropdown-options", o].filter(Boolean).join(" ");
12950
+ ].filter(Boolean).join(" "), R = ["bs-dropdown-options", o].filter(Boolean).join(" ");
12951
12951
  return /* @__PURE__ */ t.jsxs(
12952
12952
  "div",
12953
12953
  {
@@ -12973,11 +12973,11 @@ const L1 = (e) => {
12973
12973
  {
12974
12974
  className: "bs-dropdown-header",
12975
12975
  onClick: Z,
12976
- onFocus: W,
12976
+ onFocus: _,
12977
12977
  onBlur: z,
12978
12978
  onKeyDown: v,
12979
12979
  role: "combobox",
12980
- "aria-expanded": _,
12980
+ "aria-expanded": P,
12981
12981
  "aria-haspopup": "listbox",
12982
12982
  "aria-labelledby": `${c}-label`,
12983
12983
  "aria-disabled": i,
@@ -12985,20 +12985,20 @@ const L1 = (e) => {
12985
12985
  style: { fontSize: S },
12986
12986
  children: [
12987
12987
  /* @__PURE__ */ t.jsx("span", { className: "bs-dropdown-value", style: { fontSize: S }, children: (f == null ? void 0 : f.label) || d }),
12988
- a ? /* @__PURE__ */ t.jsx(a, { className: `bs-icon ${_ ? "bs-icon-up" : ""}` }) : /* @__PURE__ */ t.jsx(
12988
+ a ? /* @__PURE__ */ t.jsx(a, { className: `bs-icon ${P ? "bs-icon-up" : ""}` }) : /* @__PURE__ */ t.jsx(
12989
12989
  "i",
12990
12990
  {
12991
- className: `bs-arrow ${_ ? "bs-arrow-up" : "bs-arrow-down"}`
12991
+ className: `bs-arrow ${P ? "bs-arrow-up" : "bs-arrow-down"}`
12992
12992
  }
12993
12993
  )
12994
12994
  ]
12995
12995
  }
12996
12996
  ),
12997
- _ && /* @__PURE__ */ t.jsxs("div", { className: A, role: "listbox", style: { position: M }, children: [
12997
+ P && /* @__PURE__ */ t.jsxs("div", { className: R, role: "listbox", style: { position: M }, children: [
12998
12998
  x && /* @__PURE__ */ t.jsx("div", { className: "bs-search-container", children: /* @__PURE__ */ t.jsx(
12999
12999
  xt,
13000
13000
  {
13001
- ref: P,
13001
+ ref: W,
13002
13002
  inputProperties: {
13003
13003
  placeholder: h,
13004
13004
  size: {
@@ -13006,12 +13006,12 @@ const L1 = (e) => {
13006
13006
  height: "28px"
13007
13007
  },
13008
13008
  type: "text",
13009
- onChange: (E) => L(E.target.value),
13009
+ onChange: (E) => B(E.target.value),
13010
13010
  onKeyDown: (E) => {
13011
13011
  E.key === "Enter" && w.length > 0 && Y(w[0]);
13012
13012
  },
13013
13013
  fontStyle: "italic",
13014
- value: B,
13014
+ value: L,
13015
13015
  style: {
13016
13016
  fontSize: S
13017
13017
  }
@@ -13021,7 +13021,7 @@ const L1 = (e) => {
13021
13021
  /* @__PURE__ */ t.jsx("ul", { className: "bs-options-list", style: { maxHeight: u }, children: y.length === 0 ? /* @__PURE__ */ t.jsx("li", { className: "bs-no-options", children: p }) : w.length === 0 ? /* @__PURE__ */ t.jsxs("li", { className: "bs-no-options", children: [
13022
13022
  m,
13023
13023
  " ",
13024
- B && `"${B}"`
13024
+ L && `"${L}"`
13025
13025
  ] }) : w.map((E, T) => /* @__PURE__ */ t.jsxs(
13026
13026
  "li",
13027
13027
  {
@@ -13086,14 +13086,14 @@ const F1 = (e) => {
13086
13086
  sortAlphabetically: a = !0,
13087
13087
  searchable: c = !0,
13088
13088
  textSelectAll: d = "Seleccionar Todo"
13089
- } = e, [u, g] = X([]), [p, m] = X(!1), [y, b] = X(!1), [h, j] = X(""), [S, N] = X([]), M = xe(null), k = xe(null), w = xe(null), R = Ut(() => {
13089
+ } = e, [u, g] = X([]), [p, m] = X(!1), [y, b] = X(!1), [h, j] = X(""), [S, N] = X([]), M = xe(null), k = xe(null), w = xe(null), $ = Ut(() => {
13090
13090
  const v = s;
13091
13091
  if (Array.isArray(v))
13092
13092
  return v.map((x) => ({ ...x, group: null }));
13093
13093
  if (typeof v == "object" && v !== null) {
13094
13094
  const x = [];
13095
- return Object.entries(v).forEach(([O, A]) => {
13096
- Array.isArray(A) && A.forEach((E) => {
13095
+ return Object.entries(v).forEach(([O, R]) => {
13096
+ Array.isArray(R) && R.forEach((E) => {
13097
13097
  x.push({
13098
13098
  ...E,
13099
13099
  group: O
@@ -13102,27 +13102,27 @@ const F1 = (e) => {
13102
13102
  }), x;
13103
13103
  }
13104
13104
  return [];
13105
- }, [s]), _ = (v) => v.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase();
13105
+ }, [s]), P = (v) => v.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase();
13106
13106
  se(() => {
13107
- let v = [...R];
13107
+ let v = [...$];
13108
13108
  a && v.sort(
13109
13109
  (x, O) => (x.label || "").localeCompare(O.label || "")
13110
13110
  ), g(v);
13111
- }, [R, a]), se(() => {
13111
+ }, [$, a]), se(() => {
13112
13112
  r != null ? Array.isArray(r) ? N(r) : N([]) : N([]);
13113
13113
  }, [r, s]), se(() => {
13114
13114
  if (!h.trim()) {
13115
- let x = [...R];
13115
+ let x = [...$];
13116
13116
  a && x.sort(
13117
- (O, A) => (O.label || "").localeCompare(A.label || "")
13117
+ (O, R) => (O.label || "").localeCompare(R.label || "")
13118
13118
  ), g(x);
13119
13119
  return;
13120
13120
  }
13121
- const v = R.filter(
13122
- (x) => _(x.label).includes(_(h))
13121
+ const v = $.filter(
13122
+ (x) => P(x.label).includes(P(h))
13123
13123
  );
13124
13124
  a && v.sort((x, O) => (x.label || "").localeCompare(O.label || "")), g(v);
13125
- }, [h, R, a]), se(() => {
13125
+ }, [h, $, a]), se(() => {
13126
13126
  y ? w.current && setTimeout(() => {
13127
13127
  var v;
13128
13128
  return (v = w.current) == null ? void 0 : v.focus();
@@ -13133,22 +13133,22 @@ const F1 = (e) => {
13133
13133
  };
13134
13134
  return document.addEventListener("mousedown", v), () => document.removeEventListener("mousedown", v);
13135
13135
  }, []);
13136
- const B = () => {
13136
+ const L = () => {
13137
13137
  var v;
13138
13138
  e.disabled || (b(!y), y || (v = k.current) == null || v.focus());
13139
- }, L = (v) => {
13139
+ }, B = (v) => {
13140
13140
  N((x) => {
13141
13141
  const O = x.some((T) => pe.isEqual(T, v.value));
13142
- let A;
13143
- O ? A = x.filter((T) => !pe.isEqual(T, v.value)) : A = [...x, v.value];
13142
+ let R;
13143
+ O ? R = x.filter((T) => !pe.isEqual(T, v.value)) : R = [...x, v.value];
13144
13144
  const E = {
13145
13145
  target: {
13146
13146
  id: e.id,
13147
13147
  name: e.name,
13148
- value: A,
13148
+ value: R,
13149
13149
  type: "select-multiple",
13150
13150
  checked: void 0,
13151
- selectedOptions: A
13151
+ selectedOptions: R
13152
13152
  },
13153
13153
  type: "change",
13154
13154
  preventDefault: () => {
@@ -13156,27 +13156,27 @@ const F1 = (e) => {
13156
13156
  stopPropagation: () => {
13157
13157
  }
13158
13158
  };
13159
- return i == null || i(E), o == null || o(E), A;
13159
+ return i == null || i(E), o == null || o(E), R;
13160
13160
  });
13161
13161
  }, f = () => {
13162
13162
  const v = u.map((x) => x.value);
13163
13163
  N((x) => {
13164
13164
  const O = v.every((T) => x.some((D) => pe.isEqual(D, T)));
13165
- let A;
13165
+ let R;
13166
13166
  if (O)
13167
- A = x.filter((T) => !v.some((D) => pe.isEqual(T, D)));
13167
+ R = x.filter((T) => !v.some((D) => pe.isEqual(T, D)));
13168
13168
  else {
13169
13169
  const T = v.filter((D) => !x.some((H) => pe.isEqual(H, D)));
13170
- A = [...x, ...T];
13170
+ R = [...x, ...T];
13171
13171
  }
13172
13172
  const E = {
13173
13173
  target: {
13174
13174
  id: e.id,
13175
13175
  name: e.name,
13176
- value: A,
13176
+ value: R,
13177
13177
  type: "select-multiple",
13178
13178
  checked: void 0,
13179
- selectedOptions: A
13179
+ selectedOptions: R
13180
13180
  },
13181
13181
  type: "change",
13182
13182
  preventDefault: () => {
@@ -13184,7 +13184,7 @@ const F1 = (e) => {
13184
13184
  stopPropagation: () => {
13185
13185
  }
13186
13186
  };
13187
- return i == null || i(E), o == null || o(E), A;
13187
+ return i == null || i(E), o == null || o(E), R;
13188
13188
  });
13189
13189
  }, F = () => {
13190
13190
  N([]), j("");
@@ -13206,7 +13206,7 @@ const F1 = (e) => {
13206
13206
  i == null || i(v);
13207
13207
  }, V = (v) => {
13208
13208
  m(!0), l == null || l(v);
13209
- }, P = (v) => {
13209
+ }, W = (v) => {
13210
13210
  var x;
13211
13211
  (x = M.current) != null && x.contains(v.relatedTarget) || (m(!1), o == null || o(v));
13212
13212
  }, Z = (v) => {
@@ -13225,20 +13225,20 @@ const F1 = (e) => {
13225
13225
  v.preventDefault(), y || b(!0);
13226
13226
  break;
13227
13227
  }
13228
- }, Y = Ut(() => c && R.length >= $t, [c, R.length]), J = () => S.length === 0 ? e.placeholder || "Select" : S.map((x) => {
13229
- const O = R.find((A) => pe.isEqual(A.value, x));
13228
+ }, Y = Ut(() => c && $.length >= $t, [c, $.length]), J = () => S.length === 0 ? e.placeholder || "Select" : S.map((x) => {
13229
+ const O = $.find((R) => pe.isEqual(R.value, x));
13230
13230
  return O ? O.label : "";
13231
- }).filter(Boolean).join(", "), W = (v) => {
13232
- const x = v.map((T) => T.value), A = x.every((T) => S.some((D) => pe.isEqual(D, T))) ? S.filter((T) => !x.some((D) => pe.isEqual(T, D))) : [...S, ...x.filter((T) => !S.some((D) => pe.isEqual(D, T)))];
13233
- N(A);
13231
+ }).filter(Boolean).join(", "), _ = (v) => {
13232
+ const x = v.map((T) => T.value), R = x.every((T) => S.some((D) => pe.isEqual(D, T))) ? S.filter((T) => !x.some((D) => pe.isEqual(T, D))) : [...S, ...x.filter((T) => !S.some((D) => pe.isEqual(D, T)))];
13233
+ N(R);
13234
13234
  const E = {
13235
13235
  target: {
13236
13236
  id: e.id,
13237
13237
  name: e.name,
13238
- value: A,
13238
+ value: R,
13239
13239
  type: "select-multiple",
13240
13240
  checked: void 0,
13241
- selectedOptions: A
13241
+ selectedOptions: R
13242
13242
  },
13243
13243
  type: "change",
13244
13244
  preventDefault: () => {
@@ -13258,13 +13258,13 @@ const F1 = (e) => {
13258
13258
  dropdownRef: M,
13259
13259
  inputRef: k,
13260
13260
  searchInputRef: w,
13261
- toggleDropdown: B,
13262
- handleOptionSelect: L,
13261
+ toggleDropdown: L,
13262
+ handleOptionSelect: B,
13263
13263
  handleSelectAll: f,
13264
- handleSelectGroup: W,
13264
+ handleSelectGroup: _,
13265
13265
  handleClear: F,
13266
13266
  handleFocus: V,
13267
- handleBlur: P,
13267
+ handleBlur: W,
13268
13268
  handleKeyDown: Z,
13269
13269
  showSearch: Y,
13270
13270
  getDisplayLabel: J,
@@ -13294,49 +13294,49 @@ const F1 = (e) => {
13294
13294
  } = e, {
13295
13295
  filteredOptions: k,
13296
13296
  isFocused: w,
13297
- isOpen: R,
13298
- searchQuery: _,
13299
- setSearchQuery: B,
13300
- selectedOptions: L,
13297
+ isOpen: $,
13298
+ searchQuery: P,
13299
+ setSearchQuery: L,
13300
+ selectedOptions: B,
13301
13301
  dropdownRef: f,
13302
13302
  inputRef: F,
13303
13303
  searchInputRef: V,
13304
- toggleDropdown: P,
13304
+ toggleDropdown: W,
13305
13305
  handleOptionSelect: Z,
13306
13306
  handleSelectAll: Y,
13307
13307
  handleSelectGroup: J,
13308
- handleClear: W,
13308
+ handleClear: _,
13309
13309
  handleFocus: z,
13310
13310
  handleBlur: v,
13311
13311
  handleKeyDown: x,
13312
13312
  showSearch: O,
13313
- getDisplayLabel: A,
13313
+ getDisplayLabel: R,
13314
13314
  allVisibleSelected: E,
13315
13315
  textSelectAll: T
13316
- } = F1(e), D = k.reduce((I, G) => {
13316
+ } = F1(e), D = k.reduce((A, G) => {
13317
13317
  const U = G.group || "Ungrouped";
13318
- return I[U] || (I[U] = []), I[U].push(G), I;
13318
+ return A[U] || (A[U] = []), A[U].push(G), A;
13319
13319
  }, {});
13320
13320
  wn(s, () => ({
13321
13321
  focus: () => {
13322
- var I;
13323
- return (I = F.current) == null ? void 0 : I.focus();
13322
+ var A;
13323
+ return (A = F.current) == null ? void 0 : A.focus();
13324
13324
  },
13325
13325
  blur: () => {
13326
- var I;
13327
- return (I = F.current) == null ? void 0 : I.blur();
13326
+ var A;
13327
+ return (A = F.current) == null ? void 0 : A.blur();
13328
13328
  },
13329
- value: L,
13330
- clear: () => W()
13329
+ value: B,
13330
+ clear: () => _()
13331
13331
  }));
13332
13332
  const H = [
13333
13333
  "bs-dropdown",
13334
13334
  l && "bs-error",
13335
13335
  i && "bs-disabled",
13336
- R && "bs-open",
13336
+ $ && "bs-open",
13337
13337
  w && "bs-focused",
13338
13338
  r
13339
- ].filter(Boolean).join(" "), $ = ["bs-dropdown-options", o].filter(Boolean).join(" ");
13339
+ ].filter(Boolean).join(" "), I = ["bs-dropdown-options", o].filter(Boolean).join(" ");
13340
13340
  return /* @__PURE__ */ t.jsxs(
13341
13341
  "div",
13342
13342
  {
@@ -13352,7 +13352,7 @@ const F1 = (e) => {
13352
13352
  type: "hidden",
13353
13353
  id: u,
13354
13354
  name: p,
13355
- value: JSON.stringify(L),
13355
+ value: JSON.stringify(B),
13356
13356
  required: h,
13357
13357
  disabled: i
13358
13358
  }
@@ -13361,29 +13361,29 @@ const F1 = (e) => {
13361
13361
  "div",
13362
13362
  {
13363
13363
  className: "bs-dropdown-header",
13364
- onClick: P,
13364
+ onClick: W,
13365
13365
  onFocus: z,
13366
13366
  onBlur: v,
13367
13367
  onKeyDown: x,
13368
13368
  role: "combobox",
13369
- "aria-expanded": R,
13369
+ "aria-expanded": $,
13370
13370
  "aria-haspopup": "listbox",
13371
13371
  "aria-labelledby": `${u}-label`,
13372
13372
  "aria-disabled": i,
13373
13373
  tabIndex: i ? -1 : 0,
13374
13374
  style: { fontSize: a },
13375
13375
  children: [
13376
- /* @__PURE__ */ t.jsx("span", { className: "bs-dropdown-value", style: { fontSize: a }, children: A() }),
13377
- d ? /* @__PURE__ */ t.jsx(d, { className: `bs-icon ${R ? "bs-icon-up" : ""}` }) : /* @__PURE__ */ t.jsx(
13376
+ /* @__PURE__ */ t.jsx("span", { className: "bs-dropdown-value", style: { fontSize: a }, children: R() }),
13377
+ d ? /* @__PURE__ */ t.jsx(d, { className: `bs-icon ${$ ? "bs-icon-up" : ""}` }) : /* @__PURE__ */ t.jsx(
13378
13378
  "i",
13379
13379
  {
13380
- className: `bs-arrow ${R ? "bs-arrow-up" : "bs-arrow-down"}`
13380
+ className: `bs-arrow ${$ ? "bs-arrow-up" : "bs-arrow-down"}`
13381
13381
  }
13382
13382
  )
13383
13383
  ]
13384
13384
  }
13385
13385
  ),
13386
- R && /* @__PURE__ */ t.jsxs("div", { className: $, role: "listbox", style: { position: N }, children: [
13386
+ $ && /* @__PURE__ */ t.jsxs("div", { className: I, role: "listbox", style: { position: N }, children: [
13387
13387
  O && /* @__PURE__ */ t.jsx("div", { className: "bs-search-container", children: /* @__PURE__ */ t.jsx(
13388
13388
  xt,
13389
13389
  {
@@ -13395,12 +13395,12 @@ const F1 = (e) => {
13395
13395
  height: "28px"
13396
13396
  },
13397
13397
  type: "text",
13398
- onChange: (I) => B(I.target.value),
13399
- onKeyDown: (I) => {
13400
- I.key === "Enter" && k.length > 0;
13398
+ onChange: (A) => L(A.target.value),
13399
+ onKeyDown: (A) => {
13400
+ A.key === "Enter" && k.length > 0;
13401
13401
  },
13402
13402
  fontStyle: "italic",
13403
- value: _,
13403
+ value: P,
13404
13404
  style: {
13405
13405
  fontSize: a
13406
13406
  }
@@ -13417,8 +13417,8 @@ const F1 = (e) => {
13417
13417
  lt,
13418
13418
  {
13419
13419
  checked: E,
13420
- onChange: (I) => {
13421
- I.stopPropagation(), Y();
13420
+ onChange: (A) => {
13421
+ A.stopPropagation(), Y();
13422
13422
  },
13423
13423
  size: "small",
13424
13424
  sx: {
@@ -13440,12 +13440,12 @@ const F1 = (e) => {
13440
13440
  ]
13441
13441
  }
13442
13442
  ),
13443
- /* @__PURE__ */ t.jsx("div", { className: "bs-options-list", style: { maxHeight: g }, children: Object.keys(D).length === 0 ? /* @__PURE__ */ t.jsx("div", { className: "bs-no-options", children: b.length === 0 ? m : y + (_ ? ` "${_}"` : "") }) : Object.entries(D).map(([I, G]) => /* @__PURE__ */ t.jsxs(
13443
+ /* @__PURE__ */ t.jsx("div", { className: "bs-options-list", style: { maxHeight: g }, children: Object.keys(D).length === 0 ? /* @__PURE__ */ t.jsx("div", { className: "bs-no-options", children: b.length === 0 ? m : y + (P ? ` "${P}"` : "") }) : Object.entries(D).map(([A, G]) => /* @__PURE__ */ t.jsxs(
13444
13444
  "div",
13445
13445
  {
13446
- style: { marginTop: I !== "Ungrouped" ? "8px" : "0px" },
13446
+ style: { marginTop: A !== "Ungrouped" ? "8px" : "0px" },
13447
13447
  children: [
13448
- I !== "Ungrouped" && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
13448
+ A !== "Ungrouped" && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
13449
13449
  /* @__PURE__ */ t.jsx(
13450
13450
  "div",
13451
13451
  {
@@ -13456,14 +13456,14 @@ const F1 = (e) => {
13456
13456
  marginBottom: "8px",
13457
13457
  marginLeft: "10px"
13458
13458
  },
13459
- children: I
13459
+ children: A
13460
13460
  }
13461
13461
  ),
13462
13462
  /* @__PURE__ */ t.jsxs(
13463
13463
  "div",
13464
13464
  {
13465
13465
  className: `bs-group-header ${G.every(
13466
- (U) => L.some(
13466
+ (U) => B.some(
13467
13467
  (ne) => pe.isEqual(ne, U.value)
13468
13468
  )
13469
13469
  ) ? "bs-select-all-all-header" : ""}`,
@@ -13472,7 +13472,7 @@ const F1 = (e) => {
13472
13472
  lt,
13473
13473
  {
13474
13474
  checked: G.every(
13475
- (U) => L.some(
13475
+ (U) => B.some(
13476
13476
  (ne) => pe.isEqual(ne, U.value)
13477
13477
  )
13478
13478
  ),
@@ -13498,7 +13498,7 @@ const F1 = (e) => {
13498
13498
  onClick: () => J(G),
13499
13499
  children: [
13500
13500
  "Seleccionar ",
13501
- I
13501
+ A
13502
13502
  ]
13503
13503
  }
13504
13504
  )
@@ -13508,7 +13508,7 @@ const F1 = (e) => {
13508
13508
  G.map((U, ne) => /* @__PURE__ */ t.jsxs(
13509
13509
  "div",
13510
13510
  {
13511
- className: `bs-option ${L.some(
13511
+ className: `bs-option ${B.some(
13512
13512
  (K) => pe.isEqual(K, U.value)
13513
13513
  ) ? "bs-selected" : ""}`,
13514
13514
  style: {
@@ -13518,14 +13518,14 @@ const F1 = (e) => {
13518
13518
  padding: "6px 0px"
13519
13519
  },
13520
13520
  role: "option",
13521
- "aria-selected": L.some(
13521
+ "aria-selected": B.some(
13522
13522
  (K) => pe.isEqual(K, U.value)
13523
13523
  ),
13524
13524
  children: [
13525
13525
  /* @__PURE__ */ t.jsx(
13526
13526
  lt,
13527
13527
  {
13528
- checked: L.some(
13528
+ checked: B.some(
13529
13529
  (K) => pe.isEqual(K, U.value)
13530
13530
  ),
13531
13531
  onChange: (K) => {
@@ -13565,10 +13565,10 @@ const F1 = (e) => {
13565
13565
  U.id || U.value || ne
13566
13566
  ))
13567
13567
  ] }),
13568
- I === "Ungrouped" && G.map((U, ne) => /* @__PURE__ */ t.jsxs(
13568
+ A === "Ungrouped" && G.map((U, ne) => /* @__PURE__ */ t.jsxs(
13569
13569
  "div",
13570
13570
  {
13571
- className: `bs-option ${L.some(
13571
+ className: `bs-option ${B.some(
13572
13572
  (K) => pe.isEqual(K, U.value)
13573
13573
  ) ? "bs-selected" : ""}`,
13574
13574
  role: "option",
@@ -13578,14 +13578,14 @@ const F1 = (e) => {
13578
13578
  gap: "8px",
13579
13579
  padding: "6px 0px"
13580
13580
  },
13581
- "aria-selected": L.some(
13581
+ "aria-selected": B.some(
13582
13582
  (K) => pe.isEqual(K, U.value)
13583
13583
  ),
13584
13584
  children: [
13585
13585
  /* @__PURE__ */ t.jsx(
13586
13586
  lt,
13587
13587
  {
13588
- checked: L.some(
13588
+ checked: B.some(
13589
13589
  (K) => pe.isEqual(K, U.value)
13590
13590
  ),
13591
13591
  onChange: (K) => {
@@ -13626,7 +13626,7 @@ const F1 = (e) => {
13626
13626
  ))
13627
13627
  ]
13628
13628
  },
13629
- I
13629
+ A
13630
13630
  )) })
13631
13631
  ] })
13632
13632
  ]
@@ -13681,7 +13681,7 @@ const B1 = (e) => {
13681
13681
  onFocus: l,
13682
13682
  sortAlphabetically: a = !1,
13683
13683
  searchable: c = !1
13684
- } = e, [d, u] = X(!1), [g, p] = X(""), [m, y] = X([]), [b, h] = X(null), [j, S] = X(!1), [N, M] = X(null), [k, w] = X({ top: 0, left: 0 }), R = xe(null), _ = xe(null), B = xe(null), L = (z) => z.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase();
13684
+ } = e, [d, u] = X(!1), [g, p] = X(""), [m, y] = X([]), [b, h] = X(null), [j, S] = X(!1), [N, M] = X(null), [k, w] = X({ top: 0, left: 0 }), $ = xe(null), P = xe(null), L = xe(null), B = (z) => z.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase();
13685
13685
  se(() => {
13686
13686
  let z = [...s];
13687
13687
  a && z.sort(
@@ -13702,23 +13702,23 @@ const B1 = (e) => {
13702
13702
  return;
13703
13703
  }
13704
13704
  const z = s.filter(
13705
- (v) => L(v.label).includes(L(g))
13705
+ (v) => B(v.label).includes(B(g))
13706
13706
  );
13707
13707
  a && z.sort((v, x) => (v.label || "").localeCompare(x.label || "")), y(z);
13708
13708
  }, [g, s, a]), se(() => {
13709
- d ? B.current && setTimeout(() => {
13709
+ d ? L.current && setTimeout(() => {
13710
13710
  var z;
13711
- return (z = B.current) == null ? void 0 : z.focus();
13711
+ return (z = L.current) == null ? void 0 : z.focus();
13712
13712
  }, 50) : p("");
13713
13713
  }, [d]), se(() => {
13714
13714
  const z = (v) => {
13715
- R.current && !R.current.contains(v.target) && (u(!1), S(!1), M(null));
13715
+ $.current && !$.current.contains(v.target) && (u(!1), S(!1), M(null));
13716
13716
  };
13717
13717
  return document.addEventListener("mousedown", z), () => document.removeEventListener("mousedown", z);
13718
13718
  }, []);
13719
13719
  const f = () => {
13720
13720
  var z;
13721
- e.disabled || (u(!d), d || (z = _.current) == null || z.focus());
13721
+ e.disabled || (u(!d), d || (z = P.current) == null || z.focus());
13722
13722
  }, F = (z) => {
13723
13723
  if (z.children && z.children.length > 0)
13724
13724
  return;
@@ -13755,7 +13755,7 @@ const B1 = (e) => {
13755
13755
  }
13756
13756
  else
13757
13757
  F(z);
13758
- }, P = () => {
13758
+ }, W = () => {
13759
13759
  h(null), p("");
13760
13760
  const z = {
13761
13761
  target: {
@@ -13778,7 +13778,7 @@ const B1 = (e) => {
13778
13778
  S(!0), l == null || l(z);
13779
13779
  }, Y = (z) => {
13780
13780
  var v;
13781
- (v = R.current) != null && v.contains(z.relatedTarget) || (S(!1), o == null || o(z));
13781
+ (v = $.current) != null && v.contains(z.relatedTarget) || (S(!1), o == null || o(z));
13782
13782
  }, J = (z) => {
13783
13783
  var v;
13784
13784
  if (!e.disabled)
@@ -13788,14 +13788,14 @@ const B1 = (e) => {
13788
13788
  d || (z.preventDefault(), u(!0));
13789
13789
  break;
13790
13790
  case "Escape":
13791
- u(!1), (v = _.current) == null || v.focus();
13791
+ u(!1), (v = P.current) == null || v.focus();
13792
13792
  break;
13793
13793
  case "ArrowDown":
13794
13794
  case "ArrowUp":
13795
13795
  z.preventDefault(), d || u(!0);
13796
13796
  break;
13797
13797
  }
13798
- }, W = Ut(() => c && s.length >= $t, [c, s.length]);
13798
+ }, _ = Ut(() => c && s.length >= $t, [c, s.length]);
13799
13799
  return {
13800
13800
  filteredOptions: m,
13801
13801
  isFocused: j,
@@ -13805,17 +13805,17 @@ const B1 = (e) => {
13805
13805
  selectedOption: b,
13806
13806
  activeOption: N,
13807
13807
  subMenuPosition: k,
13808
- dropdownRef: R,
13809
- inputRef: _,
13810
- searchInputRef: B,
13808
+ dropdownRef: $,
13809
+ inputRef: P,
13810
+ searchInputRef: L,
13811
13811
  toggleDropdown: f,
13812
13812
  handleOptionSelect: F,
13813
13813
  handleOptionClick: V,
13814
- handleClear: P,
13814
+ handleClear: W,
13815
13815
  handleFocus: Z,
13816
13816
  handleBlur: Y,
13817
13817
  handleKeyDown: J,
13818
- showSearch: W
13818
+ showSearch: _
13819
13819
  };
13820
13820
  }, Gi = Jt((e, s) => {
13821
13821
  const {
@@ -13840,18 +13840,18 @@ const B1 = (e) => {
13840
13840
  filteredOptions: M,
13841
13841
  isFocused: k,
13842
13842
  isOpen: w,
13843
- searchQuery: R,
13844
- setSearchQuery: _,
13845
- selectedOption: B,
13846
- activeOption: L,
13843
+ searchQuery: $,
13844
+ setSearchQuery: P,
13845
+ selectedOption: L,
13846
+ activeOption: B,
13847
13847
  subMenuPosition: f,
13848
13848
  dropdownRef: F,
13849
13849
  inputRef: V,
13850
- searchInputRef: P,
13850
+ searchInputRef: W,
13851
13851
  toggleDropdown: Z,
13852
13852
  handleOptionSelect: Y,
13853
13853
  handleOptionClick: J,
13854
- handleClear: W,
13854
+ handleClear: _,
13855
13855
  handleFocus: z,
13856
13856
  handleBlur: v,
13857
13857
  handleKeyDown: x,
@@ -13866,10 +13866,10 @@ const B1 = (e) => {
13866
13866
  var T;
13867
13867
  return (T = V.current) == null ? void 0 : T.blur();
13868
13868
  },
13869
- value: (B == null ? void 0 : B.value) || "",
13870
- clear: () => W()
13869
+ value: (L == null ? void 0 : L.value) || "",
13870
+ clear: () => _()
13871
13871
  }));
13872
- const A = [
13872
+ const R = [
13873
13873
  "bs-dropdown",
13874
13874
  c && "bs-error",
13875
13875
  a && "bs-disabled",
@@ -13881,7 +13881,7 @@ const B1 = (e) => {
13881
13881
  "div",
13882
13882
  {
13883
13883
  ref: F,
13884
- className: A,
13884
+ className: R,
13885
13885
  ...N,
13886
13886
  style: { width: b },
13887
13887
  children: [
@@ -13892,7 +13892,7 @@ const B1 = (e) => {
13892
13892
  type: "hidden",
13893
13893
  id: r,
13894
13894
  name: i,
13895
- value: (B == null ? void 0 : B.value) || "",
13895
+ value: (L == null ? void 0 : L.value) || "",
13896
13896
  required: d,
13897
13897
  disabled: a
13898
13898
  }
@@ -13913,7 +13913,7 @@ const B1 = (e) => {
13913
13913
  tabIndex: a ? -1 : 0,
13914
13914
  style: { fontSize: j },
13915
13915
  children: [
13916
- /* @__PURE__ */ t.jsx("span", { className: "bs-dropdown-value", children: (B == null ? void 0 : B.label) || o }),
13916
+ /* @__PURE__ */ t.jsx("span", { className: "bs-dropdown-value", children: (L == null ? void 0 : L.label) || o }),
13917
13917
  S ? /* @__PURE__ */ t.jsx(S, { className: `bs-icon ${w ? "bs-icon-up" : ""}` }) : /* @__PURE__ */ t.jsx(
13918
13918
  "i",
13919
13919
  {
@@ -13927,7 +13927,7 @@ const B1 = (e) => {
13927
13927
  O && /* @__PURE__ */ t.jsx("div", { className: "bs-search-container", children: /* @__PURE__ */ t.jsx(
13928
13928
  xt,
13929
13929
  {
13930
- ref: P,
13930
+ ref: W,
13931
13931
  inputProperties: {
13932
13932
  placeholder: p,
13933
13933
  size: {
@@ -13935,12 +13935,12 @@ const B1 = (e) => {
13935
13935
  height: "28px"
13936
13936
  },
13937
13937
  type: "text",
13938
- onChange: (T) => _(T.target.value),
13938
+ onChange: (T) => P(T.target.value),
13939
13939
  onKeyDown: (T) => {
13940
13940
  T.key === "Enter" && M.length > 0 && Y(M[0]);
13941
13941
  },
13942
13942
  onClick: (T) => T.stopPropagation(),
13943
- value: R,
13943
+ value: $,
13944
13944
  style: {
13945
13945
  fontSize: j
13946
13946
  }
@@ -13950,16 +13950,16 @@ const B1 = (e) => {
13950
13950
  /* @__PURE__ */ t.jsx("ul", { className: "bs-options-list", style: { maxHeight: h }, children: l.length === 0 ? /* @__PURE__ */ t.jsx("li", { className: "bs-no-options", children: m }) : M.length === 0 ? /* @__PURE__ */ t.jsxs("li", { className: "bs-no-options", children: [
13951
13951
  y,
13952
13952
  " ",
13953
- R && `"${R}"`
13953
+ $ && `"${$}"`
13954
13954
  ] }) : M.map((T, D) => /* @__PURE__ */ t.jsxs(
13955
13955
  "li",
13956
13956
  {
13957
- className: `bs-option ${pe.isEqual(B == null ? void 0 : B.value, T.value) ? "bs-selected" : ""} ${L && pe.isEqual(L.value, T.value) ? "bs-active" : ""}`,
13957
+ className: `bs-option ${pe.isEqual(L == null ? void 0 : L.value, T.value) ? "bs-selected" : ""} ${B && pe.isEqual(B.value, T.value) ? "bs-active" : ""}`,
13958
13958
  onClick: (H) => J(T, H),
13959
13959
  role: "option",
13960
- "aria-selected": pe.isEqual(B == null ? void 0 : B.value, T.value),
13960
+ "aria-selected": pe.isEqual(L == null ? void 0 : L.value, T.value),
13961
13961
  "aria-haspopup": T.children && T.children.length > 0 ? "menu" : void 0,
13962
- "aria-expanded": !!(L && pe.isEqual(L.value, T.value)),
13962
+ "aria-expanded": !!(B && pe.isEqual(B.value, T.value)),
13963
13963
  style: { fontSize: j },
13964
13964
  children: [
13965
13965
  /* @__PURE__ */ t.jsx("span", { className: "bs-option-label", children: T.label }),
@@ -13986,7 +13986,7 @@ const B1 = (e) => {
13986
13986
  },
13987
13987
  T.id || T.value || D
13988
13988
  )) }),
13989
- L && L.children && L.children.length > 0 && /* @__PURE__ */ t.jsx(
13989
+ B && B.children && B.children.length > 0 && /* @__PURE__ */ t.jsx(
13990
13990
  "div",
13991
13991
  {
13992
13992
  className: "bs-submenu",
@@ -13997,16 +13997,16 @@ const B1 = (e) => {
13997
13997
  zIndex: 9999,
13998
13998
  maxHeight: h
13999
13999
  },
14000
- children: /* @__PURE__ */ t.jsx("ul", { className: "bs-options-list", children: L.children.map((T, D) => /* @__PURE__ */ t.jsxs(
14000
+ children: /* @__PURE__ */ t.jsx("ul", { className: "bs-options-list", children: B.children.map((T, D) => /* @__PURE__ */ t.jsxs(
14001
14001
  "li",
14002
14002
  {
14003
- className: `bs-option ${pe.isEqual(B == null ? void 0 : B.value, T.value) ? "bs-selected" : ""}`,
14003
+ className: `bs-option ${pe.isEqual(L == null ? void 0 : L.value, T.value) ? "bs-selected" : ""}`,
14004
14004
  onClick: (H) => {
14005
14005
  H.stopPropagation(), Y(T);
14006
14006
  },
14007
14007
  role: "option",
14008
14008
  "aria-selected": pe.isEqual(
14009
- B == null ? void 0 : B.value,
14009
+ L == null ? void 0 : L.value,
14010
14010
  T.value
14011
14011
  ),
14012
14012
  style: { fontSize: j },
@@ -14096,16 +14096,16 @@ const V1 = (e) => {
14096
14096
  topTooltip: M,
14097
14097
  widthTooltip: k,
14098
14098
  isTooltipVisible: w,
14099
- labelText: R,
14100
- subLabelText: _
14101
- } = e, [B, L] = X(!1), f = xe(null), [F, V] = X(m || ""), P = (Y) => {
14102
- V(Y), L(!1), r && r(Y);
14099
+ labelText: $,
14100
+ subLabelText: P
14101
+ } = e, [L, B] = X(!1), f = xe(null), [F, V] = X(m || ""), W = (Y) => {
14102
+ V(Y), B(!1), r && r(Y);
14103
14103
  };
14104
14104
  se(() => {
14105
14105
  V("");
14106
14106
  }, [a]);
14107
14107
  const Z = (Y) => {
14108
- f.current && !f.current.contains(Y.target) && L(!1);
14108
+ f.current && !f.current.contains(Y.target) && B(!1);
14109
14109
  };
14110
14110
  return se(() => (document.addEventListener("mousedown", Z), () => {
14111
14111
  document.removeEventListener("mousedown", Z);
@@ -14118,8 +14118,8 @@ const V1 = (e) => {
14118
14118
  },
14119
14119
  options: [],
14120
14120
  size: o,
14121
- isOpen: B,
14122
- setIsOpen: L,
14121
+ isOpen: L,
14122
+ setIsOpen: B,
14123
14123
  disabledClickOutside: !0,
14124
14124
  disabled: g,
14125
14125
  error: l,
@@ -14132,11 +14132,11 @@ const V1 = (e) => {
14132
14132
  topTooltip: M,
14133
14133
  widthTooltip: k,
14134
14134
  isTooltipVisible: w,
14135
- labelText: R,
14136
- subLabelText: _
14135
+ labelText: $,
14136
+ subLabelText: P
14137
14137
  }
14138
14138
  ),
14139
- B && /* @__PURE__ */ t.jsx(
14139
+ L && /* @__PURE__ */ t.jsx(
14140
14140
  "ul",
14141
14141
  {
14142
14142
  className: "item-filter",
@@ -14160,7 +14160,7 @@ const V1 = (e) => {
14160
14160
  Y.options.map((J) => /* @__PURE__ */ t.jsx(
14161
14161
  "div",
14162
14162
  {
14163
- onClick: () => P(J),
14163
+ onClick: () => W(J),
14164
14164
  className: "item",
14165
14165
  style: {
14166
14166
  padding: "15px 20px",
@@ -14287,9 +14287,9 @@ const q1 = ({
14287
14287
  isTooltipVisible: k,
14288
14288
  onChangeFunction: w
14289
14289
  }) => {
14290
- const R = (_) => {
14291
- const { name: B, value: L } = _.target;
14292
- c && c({ name: B, value: L, id: o }), w && w(_);
14290
+ const $ = (P) => {
14291
+ const { name: L, value: B } = P.target;
14292
+ c && c({ name: L, value: B, id: o }), w && w(P);
14293
14293
  };
14294
14294
  return /* @__PURE__ */ t.jsxs(
14295
14295
  "div",
@@ -14324,7 +14324,7 @@ const q1 = ({
14324
14324
  name: l,
14325
14325
  id: o,
14326
14326
  value: a,
14327
- onChange: R,
14327
+ onChange: $,
14328
14328
  placeholder: g,
14329
14329
  className: "text-area-library",
14330
14330
  maxLength: p,
@@ -14376,37 +14376,43 @@ const U1 = ({
14376
14376
  width: i,
14377
14377
  labelText: o,
14378
14378
  subLabelText: l,
14379
- fontSize: a
14379
+ fontSize: a,
14380
+ value: c
14380
14381
  }) => {
14381
- const [c, d] = X("00"), [u, g] = X("00"), [p, m] = X(!1), [y, b] = X(e ?? "Hora Inicio"), h = xe(), j = xe(), S = Array.from(
14382
+ const [d, u] = X(() => c && c.includes(":") ? c.split(":")[0] : "00"), [g, p] = X(() => c && c.includes(":") ? c.split(":")[1] : "00"), [m, y] = X(!1), [b, h] = X(() => c || (e ?? "Hora Inicio")), j = xe(), S = xe(), N = Array.from(
14382
14383
  { length: 24 },
14383
- (R, _) => _.toString().padStart(2, "0")
14384
- ), N = Array.from(
14384
+ (P, L) => L.toString().padStart(2, "0")
14385
+ ), M = Array.from(
14385
14386
  { length: 60 },
14386
- (R, _) => _.toString().padStart(2, "0")
14387
+ (P, L) => L.toString().padStart(2, "0")
14387
14388
  );
14388
14389
  se(() => {
14389
- const R = (_) => {
14390
- j.current && !j.current.contains(_.target) && m(!1);
14390
+ const P = (L) => {
14391
+ S.current && !S.current.contains(L.target) && y(!1);
14391
14392
  };
14392
- return document.addEventListener("mousedown", R), () => {
14393
- document.removeEventListener("mousedown", R);
14393
+ return document.addEventListener("mousedown", P), () => {
14394
+ document.removeEventListener("mousedown", P);
14394
14395
  };
14395
- }, []);
14396
- const M = () => {
14397
- m(!1);
14398
- const R = `${c}:${u}`;
14399
- b(R), s(R);
14400
- }, k = (R) => {
14401
- let _ = R.target.value.replace(/\D/g, "");
14402
- _.length > 4 && (_ = _.slice(0, 4));
14403
- let B = _;
14404
- if (_.length >= 3 && (B = `${_.slice(0, 2)}:${_.slice(2)}`), b(B), B.length === 5) {
14405
- const [L, f] = B.split(":");
14406
- parseInt(L, 10) >= 0 && parseInt(L, 10) < 24 && parseInt(f, 10) >= 0 && parseInt(f, 10) < 60 ? (d(L), g(f), s(B)) : b(`${c}:${u}`);
14396
+ }, []), se(() => {
14397
+ if (c && c.includes(":")) {
14398
+ const [P, L] = c.split(":");
14399
+ u(P), p(L), h(c);
14400
+ }
14401
+ }, [c]);
14402
+ const k = () => {
14403
+ y(!1);
14404
+ const P = `${d}:${g}`;
14405
+ h(P), s(P);
14406
+ }, w = (P) => {
14407
+ let L = P.target.value.replace(/\D/g, "");
14408
+ L.length > 4 && (L = L.slice(0, 4));
14409
+ let B = L;
14410
+ if (L.length >= 3 && (B = `${L.slice(0, 2)}:${L.slice(2)}`), h(B), B.length === 5) {
14411
+ const [f, F] = B.split(":");
14412
+ parseInt(f, 10) >= 0 && parseInt(f, 10) < 24 && parseInt(F, 10) >= 0 && parseInt(F, 10) < 60 ? (u(f), p(F), s(B)) : h(`${d}:${g}`);
14407
14413
  }
14408
- }, w = () => {
14409
- m(!p), h.current.focus();
14414
+ }, $ = () => {
14415
+ y(!m), j.current.focus();
14410
14416
  };
14411
14417
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
14412
14418
  /* @__PURE__ */ t.jsxs("div", { style: { display: "flex", gap: "5px" }, children: [
@@ -14417,7 +14423,7 @@ const U1 = ({
14417
14423
  "div",
14418
14424
  {
14419
14425
  className: "time-picker-container",
14420
- ref: j,
14426
+ ref: S,
14421
14427
  style: { width: i },
14422
14428
  children: [
14423
14429
  /* @__PURE__ */ t.jsxs("div", { className: "time-picker-input-wrapper", children: [
@@ -14425,9 +14431,9 @@ const U1 = ({
14425
14431
  "input",
14426
14432
  {
14427
14433
  type: "text",
14428
- ref: h,
14429
- value: y,
14430
- onChange: k,
14434
+ ref: j,
14435
+ value: b,
14436
+ onChange: w,
14431
14437
  placeholder: "00:00",
14432
14438
  className: "time-picker-input",
14433
14439
  maxLength: 5,
@@ -14438,34 +14444,34 @@ const U1 = ({
14438
14444
  "button",
14439
14445
  {
14440
14446
  className: "time-picker-button",
14441
- onClick: w,
14447
+ onClick: $,
14442
14448
  "aria-label": "Abrir selector de tiempo",
14443
14449
  children: /* @__PURE__ */ t.jsx(pd, {})
14444
14450
  }
14445
14451
  )
14446
14452
  ] }),
14447
- p && /* @__PURE__ */ t.jsxs("div", { className: "time-picker-dropdown", children: [
14453
+ m && /* @__PURE__ */ t.jsxs("div", { className: "time-picker-dropdown", children: [
14448
14454
  /* @__PURE__ */ t.jsxs("div", { className: "time-columns", children: [
14449
- /* @__PURE__ */ t.jsx("div", { className: "time-column", children: S.map((R) => /* @__PURE__ */ t.jsx(
14455
+ /* @__PURE__ */ t.jsx("div", { className: "time-column", children: N.map((P) => /* @__PURE__ */ t.jsx(
14450
14456
  "div",
14451
14457
  {
14452
- className: `time-option ${c === R ? "selected" : ""}`,
14453
- onClick: () => d(R),
14454
- children: R
14458
+ className: `time-option ${d === P ? "selected" : ""}`,
14459
+ onClick: () => u(P),
14460
+ children: P
14455
14461
  },
14456
- R
14462
+ P
14457
14463
  )) }),
14458
- /* @__PURE__ */ t.jsx("div", { className: "time-column", children: N.map((R) => /* @__PURE__ */ t.jsx(
14464
+ /* @__PURE__ */ t.jsx("div", { className: "time-column", children: M.map((P) => /* @__PURE__ */ t.jsx(
14459
14465
  "div",
14460
14466
  {
14461
- className: `time-option ${u === R ? "selected" : ""}`,
14462
- onClick: () => g(R),
14463
- children: R
14467
+ className: `time-option ${g === P ? "selected" : ""}`,
14468
+ onClick: () => p(P),
14469
+ children: P
14464
14470
  },
14465
- R
14471
+ P
14466
14472
  )) })
14467
14473
  ] }),
14468
- /* @__PURE__ */ t.jsx("button", { className: "ok-button", onClick: M, children: r ?? "Seleccionar" })
14474
+ /* @__PURE__ */ t.jsx("button", { className: "ok-button", onClick: k, children: r ?? "Seleccionar" })
14469
14475
  ] })
14470
14476
  ]
14471
14477
  }
@@ -14479,7 +14485,8 @@ U1.propTypes = {
14479
14485
  width: n.string,
14480
14486
  labelText: n.string,
14481
14487
  subLabelText: n.any,
14482
- fontSize: n.string
14488
+ fontSize: n.string,
14489
+ value: n.string
14483
14490
  };
14484
14491
  const Y1 = je.div`
14485
14492
  display: flex;
@@ -14742,7 +14749,7 @@ const es = gt("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "c
14742
14749
  color: l,
14743
14750
  indeterminate: c,
14744
14751
  size: g
14745
- }, M = r0(N), k = b.input ?? u, [w, R] = Gt("root", {
14752
+ }, M = r0(N), k = b.input ?? u, [w, $] = Gt("root", {
14746
14753
  ref: r,
14747
14754
  elementType: i0,
14748
14755
  className: Le(M.root, m),
@@ -14771,7 +14778,7 @@ const es = gt("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "c
14771
14778
  }
14772
14779
  });
14773
14780
  return /* @__PURE__ */ t.jsx(w, {
14774
- ...R,
14781
+ ...$,
14775
14782
  classes: M
14776
14783
  });
14777
14784
  });
@@ -14907,23 +14914,23 @@ const c0 = (e) => {
14907
14914
  onChangeFunction: M,
14908
14915
  id: k,
14909
14916
  fontSizeLabelText: w,
14910
- fontSizeTooltip: R,
14911
- heightTooltip: _,
14912
- leftTooltip: B,
14913
- tooltip: L,
14917
+ fontSizeTooltip: $,
14918
+ heightTooltip: P,
14919
+ leftTooltip: L,
14920
+ tooltip: B,
14914
14921
  topTooltip: f,
14915
14922
  widthTooltip: F,
14916
14923
  isTooltipVisible: V,
14917
- placeholderInputSearch: P = "Buscar...",
14924
+ placeholderInputSearch: W = "Buscar...",
14918
14925
  sortAlphabetically: Z = !0,
14919
14926
  value: Y
14920
- } = e, [J, W] = X(a);
14927
+ } = e, [J, _] = X(a);
14921
14928
  se(() => {
14922
14929
  const T = Z ? [...a].sort((D, H) => {
14923
- var $;
14924
- return ($ = D.label) == null ? void 0 : $.localeCompare(H.label);
14930
+ var I;
14931
+ return (I = D.label) == null ? void 0 : I.localeCompare(H.label);
14925
14932
  }) : [...a];
14926
- W(T);
14933
+ _(T);
14927
14934
  }, [a, Z]);
14928
14935
  const z = (T) => {
14929
14936
  o((D) => D.some((H) => pe.isEqual(H, T)) ? (c && c(D.filter((H) => !pe.isEqual(H, T))), M && M({
@@ -14949,22 +14956,22 @@ const c0 = (e) => {
14949
14956
  }), []), se(() => {
14950
14957
  if (!s) {
14951
14958
  const T = Z ? [...a].sort((D, H) => {
14952
- var $;
14953
- return ($ = D.label) == null ? void 0 : $.localeCompare(H.label);
14959
+ var I;
14960
+ return (I = D.label) == null ? void 0 : I.localeCompare(H.label);
14954
14961
  }) : [...a];
14955
- W(T), A("");
14962
+ _(T), R("");
14956
14963
  }
14957
14964
  }, [s, a, Z]);
14958
- const [O, A] = X(""), E = (T) => {
14965
+ const [O, R] = X(""), E = (T) => {
14959
14966
  const D = T.target.value;
14960
- A(D);
14967
+ R(D);
14961
14968
  const H = a.filter(
14962
- (I) => I.label.toLowerCase().includes(D.toLowerCase())
14963
- ), $ = Z ? H.sort((I, G) => {
14969
+ (A) => A.label.toLowerCase().includes(D.toLowerCase())
14970
+ ), I = Z ? H.sort((A, G) => {
14964
14971
  var U;
14965
- return (U = I.label) == null ? void 0 : U.localeCompare(G.label);
14972
+ return (U = A.label) == null ? void 0 : U.localeCompare(G.label);
14966
14973
  }) : H;
14967
- W($);
14974
+ _(I);
14968
14975
  };
14969
14976
  return /* @__PURE__ */ t.jsxs("div", { ref: l, className: "relative", style: { width: u }, children: [
14970
14977
  /* @__PURE__ */ t.jsx(
@@ -14985,10 +14992,10 @@ const c0 = (e) => {
14985
14992
  subLabelText: j,
14986
14993
  fontSizeLabel: N,
14987
14994
  fontSizeLabelText: w,
14988
- fontSizeTooltip: R,
14989
- heightTooltip: _,
14990
- leftTooltip: B,
14991
- tooltip: L,
14995
+ fontSizeTooltip: $,
14996
+ heightTooltip: P,
14997
+ leftTooltip: L,
14998
+ tooltip: B,
14992
14999
  topTooltip: f,
14993
15000
  widthTooltip: F,
14994
15001
  isTooltipVisible: V,
@@ -15014,7 +15021,7 @@ const c0 = (e) => {
15014
15021
  xt,
15015
15022
  {
15016
15023
  inputProperties: {
15017
- placeholder: P,
15024
+ placeholder: W,
15018
15025
  size: {
15019
15026
  width: "100%",
15020
15027
  height: "28px"
@@ -15263,28 +15270,28 @@ const eo = ({
15263
15270
  heightTooltip: M,
15264
15271
  leftTooltip: k,
15265
15272
  tooltip: w,
15266
- topTooltip: R,
15267
- widthTooltip: _,
15268
- isTooltipVisible: B,
15269
- subLabelText: L,
15273
+ topTooltip: $,
15274
+ widthTooltip: P,
15275
+ isTooltipVisible: L,
15276
+ subLabelText: B,
15270
15277
  labelText: f,
15271
15278
  language: F = "es",
15272
15279
  textSelectAll: V = "Seleccionar Todo",
15273
- placeholderSearch: P = "Buscar...",
15280
+ placeholderSearch: W = "Buscar...",
15274
15281
  isRelative: Z = !1,
15275
15282
  selectedValues: Y,
15276
15283
  fontSizeLabel: J,
15277
- fontSizeOptions: W = "1vw"
15284
+ fontSizeOptions: _ = "1vw"
15278
15285
  }) => {
15279
- const [z, v] = X([]), [x, O] = X(""), [A, E] = X(!1), T = xe(null), D = xe(!1), H = xe(Y !== void 0);
15286
+ const [z, v] = X([]), [x, O] = X(""), [R, E] = X(!1), T = xe(null), D = xe(!1), H = xe(Y !== void 0);
15280
15287
  se(() => {
15281
15288
  Y !== void 0 && (v(Y), H.current = !0);
15282
15289
  }, [Y]);
15283
- const $ = d0(e, s), G = Object.values($).flat().length >= $t, U = () => {
15290
+ const I = d0(e, s), G = Object.values(I).flat().length >= $t, U = () => {
15284
15291
  if (x.trim() === "")
15285
- return Object.values($).flat();
15292
+ return Object.values(I).flat();
15286
15293
  const ce = x.toLowerCase(), oe = [];
15287
- return Object.entries($).forEach(([de, ee]) => {
15294
+ return Object.entries(I).forEach(([de, ee]) => {
15288
15295
  if (!Array.isArray(ee) || ee.length === 0)
15289
15296
  return;
15290
15297
  if (de.toLowerCase().includes(ce))
@@ -15352,10 +15359,10 @@ const eo = ({
15352
15359
  document.removeEventListener("mousedown", ce);
15353
15360
  };
15354
15361
  }, [T]), se(() => {
15355
- A || O("");
15356
- }, [A]);
15362
+ R || O("");
15363
+ }, [R]);
15357
15364
  const we = () => z.map((oe) => {
15358
- for (const de of Object.values($)) {
15365
+ for (const de of Object.values(I)) {
15359
15366
  const ee = de.find((ie) => ie.id === oe);
15360
15367
  if (ee) return ee.name;
15361
15368
  }
@@ -15370,7 +15377,7 @@ const eo = ({
15370
15377
  }
15371
15378
  D.current = !1;
15372
15379
  }, [Y]);
15373
- const Ie = Object.values($).every(
15380
+ const Ie = Object.values(I).every(
15374
15381
  (ce) => Array.isArray(ce) && ce.length === 0
15375
15382
  );
15376
15383
  return /* @__PURE__ */ t.jsxs("div", { className: "relative", ref: T, children: [
@@ -15382,7 +15389,7 @@ const eo = ({
15382
15389
  },
15383
15390
  options: [],
15384
15391
  size: c,
15385
- isOpen: A,
15392
+ isOpen: R,
15386
15393
  setIsOpen: E,
15387
15394
  disabledClickOutside: !0,
15388
15395
  disabled: y,
@@ -15392,16 +15399,16 @@ const eo = ({
15392
15399
  heightTooltip: M,
15393
15400
  leftTooltip: k,
15394
15401
  tooltip: w,
15395
- topTooltip: R,
15396
- widthTooltip: _,
15397
- isTooltipVisible: B,
15402
+ topTooltip: $,
15403
+ widthTooltip: P,
15404
+ isTooltipVisible: L,
15398
15405
  labelText: f,
15399
- subLabelText: L,
15406
+ subLabelText: B,
15400
15407
  fontSizeLabel: J,
15401
15408
  withoutOptions: !0
15402
15409
  }
15403
15410
  ),
15404
- A && /* @__PURE__ */ t.jsxs(
15411
+ R && /* @__PURE__ */ t.jsxs(
15405
15412
  "div",
15406
15413
  {
15407
15414
  className: "item-filter",
@@ -15420,7 +15427,7 @@ const eo = ({
15420
15427
  {
15421
15428
  style: {
15422
15429
  padding: "4px 8px",
15423
- fontSize: W,
15430
+ fontSize: _,
15424
15431
  backgroundColor: "#dde3f1",
15425
15432
  borderBottom: "1px solid #707070"
15426
15433
  },
@@ -15428,7 +15435,7 @@ const eo = ({
15428
15435
  xt,
15429
15436
  {
15430
15437
  inputProperties: {
15431
- placeholder: P,
15438
+ placeholder: W,
15432
15439
  size: {
15433
15440
  width: "100%",
15434
15441
  height: "28px"
@@ -15446,7 +15453,7 @@ const eo = ({
15446
15453
  {
15447
15454
  style: {
15448
15455
  padding: "0px 15px",
15449
- fontSize: W,
15456
+ fontSize: _,
15450
15457
  borderBottom: "1px solid #D0D0CE",
15451
15458
  backgroundColor: (() => {
15452
15459
  const ce = U();
@@ -15480,7 +15487,7 @@ const eo = ({
15480
15487
  label: V,
15481
15488
  sx: {
15482
15489
  "& .MuiFormControlLabel-label": {
15483
- fontSize: W,
15490
+ fontSize: _,
15484
15491
  whiteSpace: b ? "nowrap" : "normal",
15485
15492
  overflow: "hidden",
15486
15493
  textOverflow: b ? "ellipsis" : "clip",
@@ -15500,7 +15507,7 @@ const eo = ({
15500
15507
  padding: "15px",
15501
15508
  textAlign: "center",
15502
15509
  color: "#8598ad",
15503
- fontSize: W,
15510
+ fontSize: _,
15504
15511
  overflowWrap: "break-word"
15505
15512
  },
15506
15513
  children: [
@@ -15510,7 +15517,7 @@ const eo = ({
15510
15517
  ]
15511
15518
  }
15512
15519
  ) : (() => {
15513
- const ce = Object.entries($).filter(
15520
+ const ce = Object.entries(I).filter(
15514
15521
  ([oe, de]) => {
15515
15522
  var Ee;
15516
15523
  if (!Array.isArray(de) || de.length === 0)
@@ -15539,7 +15546,7 @@ const eo = ({
15539
15546
  "h3",
15540
15547
  {
15541
15548
  style: {
15542
- fontSize: W,
15549
+ fontSize: _,
15543
15550
  margin: "0",
15544
15551
  fontStyle: "italic",
15545
15552
  fontWeight: "600",
@@ -15640,7 +15647,7 @@ const eo = ({
15640
15647
  })(),
15641
15648
  sx: {
15642
15649
  "& .MuiFormControlLabel-label": {
15643
- fontSize: W,
15650
+ fontSize: _,
15644
15651
  fontWeight: "400",
15645
15652
  lineHeight: "22px",
15646
15653
  whiteSpace: b ? "nowrap" : "normal",
@@ -15685,7 +15692,7 @@ const eo = ({
15685
15692
  label: ie.name,
15686
15693
  sx: {
15687
15694
  "& .MuiFormControlLabel-label": {
15688
- fontSize: W,
15695
+ fontSize: _,
15689
15696
  fontWeight: "400",
15690
15697
  lineHeight: "22px",
15691
15698
  whiteSpace: b ? "nowrap" : "normal",
@@ -15710,7 +15717,7 @@ const eo = ({
15710
15717
  padding: "15px",
15711
15718
  textAlign: "center",
15712
15719
  color: "#8598ad",
15713
- fontSize: W,
15720
+ fontSize: _,
15714
15721
  cursor: "default",
15715
15722
  overflowWrap: "break-word"
15716
15723
  },
@@ -15770,7 +15777,7 @@ eo.propTypes = {
15770
15777
  fontSizeOptions: n.string
15771
15778
  };
15772
15779
  const p0 = (e) => {
15773
- var _;
15780
+ var P;
15774
15781
  const [s, r] = X(!1), {
15775
15782
  label: i,
15776
15783
  inputProperties: o,
@@ -15787,19 +15794,19 @@ const p0 = (e) => {
15787
15794
  widthTooltip: h,
15788
15795
  isTooltipVisible: j,
15789
15796
  keyReset: S
15790
- } = e, N = (B) => {
15791
- o.handleChange && o.handleChange(B);
15797
+ } = e, N = (L) => {
15798
+ o.handleChange && o.handleChange(L);
15792
15799
  }, M = { ...o };
15793
15800
  if (M.style && M.style.width) {
15794
- const { width: B, ...L } = M.style;
15795
- M.style = L;
15801
+ const { width: L, ...B } = M.style;
15802
+ M.style = B;
15796
15803
  }
15797
- const k = o == null ? void 0 : o.value, [w, R] = X(k ?? "");
15804
+ const k = o == null ? void 0 : o.value, [w, $] = X(k ?? "");
15798
15805
  return se(() => {
15799
- k !== void 0 && R(k);
15806
+ k !== void 0 && $(k);
15800
15807
  }, [k]), se(() => {
15801
- S && R("");
15802
- }, [S]), /* @__PURE__ */ t.jsxs("div", { style: { width: (_ = o == null ? void 0 : o.style) == null ? void 0 : _.width }, children: [
15808
+ S && $("");
15809
+ }, [S]), /* @__PURE__ */ t.jsxs("div", { style: { width: (P = o == null ? void 0 : o.style) == null ? void 0 : P.width }, children: [
15803
15810
  i && /* @__PURE__ */ t.jsx(
15804
15811
  In,
15805
15812
  {
@@ -16473,12 +16480,12 @@ const $0 = (e) => {
16473
16480
  } = $0(e);
16474
16481
  wn(s, () => ({
16475
16482
  focus: () => {
16476
- var _;
16477
- return (_ = S.current) == null ? void 0 : _.focus();
16483
+ var P;
16484
+ return (P = S.current) == null ? void 0 : P.focus();
16478
16485
  },
16479
16486
  blur: () => {
16480
- var _;
16481
- return (_ = S.current) == null ? void 0 : _.blur();
16487
+ var P;
16488
+ return (P = S.current) == null ? void 0 : P.blur();
16482
16489
  },
16483
16490
  close: () => N(!1)
16484
16491
  }));
@@ -16490,7 +16497,7 @@ const $0 = (e) => {
16490
16497
  o && "bs-button-disabled",
16491
16498
  h && "bs-button-open",
16492
16499
  i
16493
- ].filter(Boolean).join(" "), R = ["bs-dropdown-options", l].filter(Boolean).join(" ");
16500
+ ].filter(Boolean).join(" "), $ = ["bs-dropdown-options", l].filter(Boolean).join(" ");
16494
16501
  return /* @__PURE__ */ t.jsxs(
16495
16502
  "div",
16496
16503
  {
@@ -16524,13 +16531,13 @@ const $0 = (e) => {
16524
16531
  h && /* @__PURE__ */ t.jsx(
16525
16532
  "div",
16526
16533
  {
16527
- className: R,
16534
+ className: $,
16528
16535
  role: "menu",
16529
- children: /* @__PURE__ */ t.jsx("ul", { className: "bs-options-list", style: { maxHeight: d }, children: u.length === 0 ? /* @__PURE__ */ t.jsx("li", { className: "bs-no-options", children: "No hay opciones disponibles" }) : u.map((_, B) => /* @__PURE__ */ t.jsxs(
16536
+ children: /* @__PURE__ */ t.jsx("ul", { className: "bs-options-list", style: { maxHeight: d }, children: u.length === 0 ? /* @__PURE__ */ t.jsx("li", { className: "bs-no-options", children: "No hay opciones disponibles" }) : u.map((P, L) => /* @__PURE__ */ t.jsxs(
16530
16537
  "li",
16531
16538
  {
16532
16539
  className: "bs-option",
16533
- onClick: () => M(_),
16540
+ onClick: () => M(P),
16534
16541
  role: "menuitem",
16535
16542
  style: { fontSize: m },
16536
16543
  children: [
@@ -16539,20 +16546,20 @@ const $0 = (e) => {
16539
16546
  {
16540
16547
  className: "bs-option-label",
16541
16548
  style: { fontSize: m },
16542
- children: _.label
16549
+ children: P.label
16543
16550
  }
16544
16551
  ),
16545
- _.description && /* @__PURE__ */ t.jsx(
16552
+ P.description && /* @__PURE__ */ t.jsx(
16546
16553
  "span",
16547
16554
  {
16548
16555
  className: "bs-option-description",
16549
16556
  style: { fontSize: m },
16550
- children: _.description
16557
+ children: P.description
16551
16558
  }
16552
16559
  )
16553
16560
  ]
16554
16561
  },
16555
- _.id || _.value || B
16562
+ P.id || P.value || L
16556
16563
  )) })
16557
16564
  }
16558
16565
  )
@@ -17619,66 +17626,66 @@ const Gs = Fe(/* @__PURE__ */ t.jsx("path", {
17619
17626
  }) => {
17620
17627
  const [d, u] = Xr((x) => x + 1, 0), g = e === "es" ? Xs : Js, [p, m] = X(null), [y, b] = X(null), [h, j] = X(null), [S, N] = X(/* @__PURE__ */ new Date()), [M, k] = X(
17621
17628
  new Date((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() + 1))
17622
- ), [w, R] = X(!1), _ = (x, O) => {
17623
- const A = /* @__PURE__ */ new Date();
17624
- if (A.setHours(0, 0, 0, 0), c) {
17625
- const E = new Date(A);
17626
- if (E.setDate(A.getDate() + c), x > E)
17629
+ ), [w, $] = X(!1), P = (x, O) => {
17630
+ const R = /* @__PURE__ */ new Date();
17631
+ if (R.setHours(0, 0, 0, 0), c) {
17632
+ const E = new Date(R);
17633
+ if (E.setDate(R.getDate() + c), x > E)
17627
17634
  return !0;
17628
17635
  }
17629
- return O && s && x < A || !O && a && x > A || s && x < A || a && x > A ? !0 : l > 0 && p ? po(x, p, l) : !1;
17630
- }, B = (x) => {
17631
- const O = x.getFullYear(), A = x.getMonth(), T = new Date(O, A, 1).getDay(), D = new Date(O, A + 1, 0), H = [], $ = new Date(O, A, 0).getDate();
17636
+ return O && s && x < R || !O && a && x > R || s && x < R || a && x > R ? !0 : l > 0 && p ? po(x, p, l) : !1;
17637
+ }, L = (x) => {
17638
+ const O = x.getFullYear(), R = x.getMonth(), T = new Date(O, R, 1).getDay(), D = new Date(O, R + 1, 0), H = [], I = new Date(O, R, 0).getDate();
17632
17639
  for (let U = T - 1; U >= 0; U--)
17633
- H.push(new Date(O, A - 1, $ - U));
17640
+ H.push(new Date(O, R - 1, I - U));
17634
17641
  for (let U = 1; U <= D.getDate(); U++)
17635
- H.push(new Date(O, A, U));
17642
+ H.push(new Date(O, R, U));
17636
17643
  const G = 42 - H.length;
17637
17644
  for (let U = 1; U <= G; U++)
17638
- H.push(new Date(O, A + 1, U));
17645
+ H.push(new Date(O, R + 1, U));
17639
17646
  return H;
17640
- }, L = (x) => !p || !y ? !1 : x >= p && x <= y, f = (x) => !p || !h ? !1 : x >= p && x <= h || x <= p && x >= h, F = (x) => {
17647
+ }, B = (x) => !p || !y ? !1 : x >= p && x <= y, f = (x) => !p || !h ? !1 : x >= p && x <= h || x <= p && x >= h, F = (x) => {
17641
17648
  !p || y ? (m(x), b(null)) : x < p ? (b(p), m(x), i && v(x, p)) : (b(x), i && v(p, x));
17642
17649
  }, V = (x) => {
17643
17650
  j(x);
17644
- }, P = () => !p || !y ? 0 : Math.round(
17651
+ }, W = () => !p || !y ? 0 : Math.round(
17645
17652
  (y.getTime() - p.getTime()) / (1e3 * 60 * 60 * 24)
17646
17653
  ) + 1, Z = (x, O) => {
17647
- const A = new Date(x.getFullYear(), x.getMonth() - 1, 1);
17648
- s && A < new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1) && O || (O ? N(A) : (k(A), A.getMonth() === S.getMonth() && N(
17649
- new Date(A.getFullYear(), A.getMonth() - 1, 1)
17654
+ const R = new Date(x.getFullYear(), x.getMonth() - 1, 1);
17655
+ s && R < new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1) && O || (O ? N(R) : (k(R), R.getMonth() === S.getMonth() && N(
17656
+ new Date(R.getFullYear(), R.getMonth() - 1, 1)
17650
17657
  )));
17651
17658
  }, Y = (x, O) => {
17652
- const A = new Date(x.getFullYear(), x.getMonth() + 1, 1);
17653
- O ? (N(A), A.getMonth() === M.getMonth() && k(
17654
- new Date(A.getFullYear(), A.getMonth() + 1, 1)
17655
- )) : k(A);
17659
+ const R = new Date(x.getFullYear(), x.getMonth() + 1, 1);
17660
+ O ? (N(R), R.getMonth() === M.getMonth() && k(
17661
+ new Date(R.getFullYear(), R.getMonth() + 1, 1)
17662
+ )) : k(R);
17656
17663
  }, J = (x) => {
17657
- const A = x.toLocaleDateString(g.code, {
17664
+ const R = x.toLocaleDateString(g.code, {
17658
17665
  weekday: "short",
17659
17666
  day: "numeric",
17660
17667
  month: "short",
17661
17668
  year: "2-digit"
17662
- }).split(" "), E = A[0].charAt(0).toUpperCase() + A[0].slice(1), T = A[1], D = A[2].charAt(0).toUpperCase() + A[2].slice(1), H = A[3];
17669
+ }).split(" "), E = R[0].charAt(0).toUpperCase() + R[0].slice(1), T = R[1], D = R[2].charAt(0).toUpperCase() + R[2].slice(1), H = R[3];
17663
17670
  return `${E} ${T} de ${D} ${H}`;
17664
- }, W = () => {
17671
+ }, _ = () => {
17665
17672
  const x = /* @__PURE__ */ new Date();
17666
- m(null), b(null), N(x), k(new Date((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() + 1))), R(!1), o({
17673
+ m(null), b(null), N(x), k(new Date((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() + 1))), $(!1), o({
17667
17674
  startDate: null,
17668
17675
  endDate: null
17669
17676
  }), u();
17670
17677
  }, z = () => {
17671
- R(!1);
17678
+ $(!1);
17672
17679
  const x = at(p), O = at(y);
17673
17680
  r({
17674
17681
  startDate: x,
17675
17682
  endDate: O
17676
17683
  });
17677
17684
  }, v = (x, O) => {
17678
- m(x), b(O), R(!1);
17679
- const A = at(x), E = at(O);
17685
+ m(x), b(O), $(!1);
17686
+ const R = at(x), E = at(O);
17680
17687
  r({
17681
- startDate: A,
17688
+ startDate: R,
17682
17689
  endDate: E
17683
17690
  });
17684
17691
  };
@@ -17688,20 +17695,20 @@ const Gs = Fe(/* @__PURE__ */ t.jsx("path", {
17688
17695
  language: g,
17689
17696
  leftMonth: S,
17690
17697
  startDate: p,
17691
- setIsOpen: R,
17698
+ setIsOpen: $,
17692
17699
  hoverDate: h,
17693
17700
  rightMonth: M,
17694
17701
  formatDate: J,
17695
17702
  handleSearch: z,
17696
- handleCancel: W,
17697
- isDateInRange: L,
17698
- getDaysInMonth: B,
17699
- isDateDisabled: _,
17703
+ handleCancel: _,
17704
+ isDateInRange: B,
17705
+ getDaysInMonth: L,
17706
+ isDateDisabled: P,
17700
17707
  handleDateClick: F,
17701
17708
  handleDateHover: V,
17702
17709
  handlePrevClick: Z,
17703
17710
  handleNextClick: Y,
17704
- getDaysSelected: P,
17711
+ getDaysSelected: W,
17705
17712
  isDateInHoverRange: f,
17706
17713
  keyReset: d,
17707
17714
  resetSelect: u
@@ -17738,18 +17745,18 @@ const Gs = Fe(/* @__PURE__ */ t.jsx("path", {
17738
17745
  startDate: M,
17739
17746
  setIsOpen: k,
17740
17747
  rightMonth: w,
17741
- formatDate: R,
17742
- handleSearch: _,
17743
- handleCancel: B,
17744
- isDateInRange: L,
17748
+ formatDate: $,
17749
+ handleSearch: P,
17750
+ handleCancel: L,
17751
+ isDateInRange: B,
17745
17752
  getDaysInMonth: f,
17746
17753
  isDateDisabled: F,
17747
17754
  handleDateClick: V,
17748
- handleDateHover: P,
17755
+ handleDateHover: W,
17749
17756
  handlePrevClick: Z,
17750
17757
  handleNextClick: Y,
17751
17758
  getDaysSelected: J,
17752
- isDateInHoverRange: W
17759
+ isDateInHoverRange: _
17753
17760
  } = eh({
17754
17761
  locale: e,
17755
17762
  onReset: l,
@@ -17761,23 +17768,23 @@ const Gs = Fe(/* @__PURE__ */ t.jsx("path", {
17761
17768
  disablePastDaysCount: m
17762
17769
  }), z = (y == null ? void 0 : y.startDate) instanceof Date ? y.startDate : M, v = (y == null ? void 0 : y.endDate) instanceof Date ? y.endDate : j, x = xe(null);
17763
17770
  se(() => {
17764
- const A = (E) => {
17765
- x.current && !x.current.contains(E.target) && h && (k(!1), o || B());
17771
+ const R = (E) => {
17772
+ x.current && !x.current.contains(E.target) && h && (k(!1), o || L());
17766
17773
  };
17767
- return document.addEventListener("mousedown", A), () => {
17768
- document.removeEventListener("mousedown", A);
17774
+ return document.addEventListener("mousedown", R), () => {
17775
+ document.removeEventListener("mousedown", R);
17769
17776
  };
17770
- }, [j, B, h, k, M, o]);
17771
- const O = (A, E = !0) => {
17772
- const T = f(A), D = A.getMonth(), H = (I, G) => [
17773
- I && I.getMonth() !== D ? "other-month" : "",
17777
+ }, [j, L, h, k, M, o]);
17778
+ const O = (R, E = !0) => {
17779
+ const T = f(R), D = R.getMonth(), H = (A, G) => [
17780
+ A && A.getMonth() !== D ? "other-month" : "",
17774
17781
  // Use internal helpers but compare with effective dates for selection states
17775
- I && L(I) ? "in-range" : "",
17776
- I && W(I) ? "hover-range" : "",
17777
- I && (I.getTime() === (z == null ? void 0 : z.getTime()) || I.getTime() === (v == null ? void 0 : v.getTime())) ? "selected" : "",
17778
- F(I, G) ? "disabled" : ""
17779
- ].join(" "), $ = ({
17780
- date: I,
17782
+ A && B(A) ? "in-range" : "",
17783
+ A && _(A) ? "hover-range" : "",
17784
+ A && (A.getTime() === (z == null ? void 0 : z.getTime()) || A.getTime() === (v == null ? void 0 : v.getTime())) ? "selected" : "",
17785
+ F(A, G) ? "disabled" : ""
17786
+ ].join(" "), I = ({
17787
+ date: A,
17781
17788
  isLeftCalendar: G,
17782
17789
  disablePastDates: U,
17783
17790
  leftMonth: ne
@@ -17787,8 +17794,8 @@ const Gs = Fe(/* @__PURE__ */ t.jsx("path", {
17787
17794
  (/* @__PURE__ */ new Date()).getMonth(),
17788
17795
  1
17789
17796
  ).getTime(), ue = new Date(
17790
- I.getFullYear(),
17791
- I.getMonth() - 1,
17797
+ A.getFullYear(),
17798
+ A.getMonth() - 1,
17792
17799
  1
17793
17800
  ).getTime();
17794
17801
  return !!(U && (ue < K || !G && new Date(
@@ -17803,14 +17810,14 @@ const Gs = Fe(/* @__PURE__ */ t.jsx("path", {
17803
17810
  "button",
17804
17811
  {
17805
17812
  className: "calendar-nav-button",
17806
- onClick: () => Z(A, E),
17813
+ onClick: () => Z(R, E),
17807
17814
  disabled: jn(
17808
- new Date(A.getFullYear(), A.getMonth() - 1, 1),
17815
+ new Date(R.getFullYear(), R.getMonth() - 1, 1),
17809
17816
  !0,
17810
17817
  M,
17811
17818
  i
17812
- ) || $({
17813
- date: A,
17819
+ ) || I({
17820
+ date: R,
17814
17821
  isLeftCalendar: E,
17815
17822
  disablePastDates: r,
17816
17823
  leftMonth: N
@@ -17819,20 +17826,20 @@ const Gs = Fe(/* @__PURE__ */ t.jsx("path", {
17819
17826
  }
17820
17827
  ),
17821
17828
  /* @__PURE__ */ t.jsxs("h2", { className: "calendar-title", children: [
17822
- S.MONTHS[A.getMonth()],
17823
- /* @__PURE__ */ t.jsx("p", { children: A.getFullYear() })
17829
+ S.MONTHS[R.getMonth()],
17830
+ /* @__PURE__ */ t.jsx("p", { children: R.getFullYear() })
17824
17831
  ] }),
17825
17832
  /* @__PURE__ */ t.jsx(
17826
17833
  "button",
17827
17834
  {
17828
17835
  className: "calendar-nav-button",
17829
- onClick: () => Y(A, E),
17836
+ onClick: () => Y(R, E),
17830
17837
  disabled: jn(
17831
- new Date(A.getFullYear(), A.getMonth() + 1, 1),
17838
+ new Date(R.getFullYear(), R.getMonth() + 1, 1),
17832
17839
  !1,
17833
17840
  M,
17834
17841
  i
17835
- ) || g && new Date(A.getFullYear(), A.getMonth(), 1).getTime() >= new Date(
17842
+ ) || g && new Date(R.getFullYear(), R.getMonth(), 1).getTime() >= new Date(
17836
17843
  (/* @__PURE__ */ new Date()).getFullYear(),
17837
17844
  (/* @__PURE__ */ new Date()).getMonth(),
17838
17845
  1
@@ -17848,43 +17855,43 @@ const Gs = Fe(/* @__PURE__ */ t.jsx("path", {
17848
17855
  style: { gridTemplateColumns: `repeat(7, ${c})` },
17849
17856
  children: [
17850
17857
  /* @__PURE__ */ t.jsx("div", { className: "background-days" }),
17851
- S.DAYS.map((I) => /* @__PURE__ */ t.jsx(
17858
+ S.DAYS.map((A) => /* @__PURE__ */ t.jsx(
17852
17859
  "div",
17853
17860
  {
17854
17861
  className: "calendar-day-header",
17855
17862
  style: { fontSize: d },
17856
- children: I
17863
+ children: A
17857
17864
  },
17858
- I
17865
+ A
17859
17866
  )),
17860
- T.map((I, G) => /* @__PURE__ */ t.jsx("div", { className: "calendar-day-wrapper", children: /* @__PURE__ */ t.jsx(
17867
+ T.map((A, G) => /* @__PURE__ */ t.jsx("div", { className: "calendar-day-wrapper", children: /* @__PURE__ */ t.jsx(
17861
17868
  "button",
17862
17869
  {
17863
17870
  className: `calendar-day ${H(
17864
- I,
17871
+ A,
17865
17872
  E
17866
17873
  )}`,
17867
- disabled: !I || F(I),
17868
- onClick: () => I && !F(I) && V(I),
17869
- onMouseEnter: () => I && !F(I) && P(I),
17870
- onMouseLeave: () => P(null),
17874
+ disabled: !A || F(A),
17875
+ onClick: () => A && !F(A) && V(A),
17876
+ onMouseEnter: () => A && !F(A) && W(A),
17877
+ onMouseLeave: () => W(null),
17871
17878
  children: /* @__PURE__ */ t.jsx(
17872
17879
  "span",
17873
17880
  {
17874
- className: `day-text ${I ? "" : "text-muted"}`,
17881
+ className: `day-text ${A ? "" : "text-muted"}`,
17875
17882
  style: { fontSize: d },
17876
- children: I ? I.getDate() : ""
17883
+ children: A ? A.getDate() : ""
17877
17884
  }
17878
17885
  )
17879
17886
  }
17880
- ) }, `${I}_${G}`))
17887
+ ) }, `${A}_${G}`))
17881
17888
  ]
17882
17889
  }
17883
17890
  )
17884
17891
  ] });
17885
17892
  };
17886
17893
  return se(() => {
17887
- b && B();
17894
+ b && L();
17888
17895
  }, [b]), /* @__PURE__ */ t.jsxs("div", { className: "container-date-range-picker", children: [
17889
17896
  /* @__PURE__ */ t.jsxs(
17890
17897
  "div",
@@ -17907,7 +17914,7 @@ const Gs = Fe(/* @__PURE__ */ t.jsx("path", {
17907
17914
  borderRight: "1px solid #9c9ca0"
17908
17915
  },
17909
17916
  children: [
17910
- R(z),
17917
+ $(z),
17911
17918
  " ",
17912
17919
  /* @__PURE__ */ t.jsx(
17913
17920
  Yr,
@@ -17920,7 +17927,7 @@ const Gs = Fe(/* @__PURE__ */ t.jsx("path", {
17920
17927
  }
17921
17928
  ),
17922
17929
  /* @__PURE__ */ t.jsxs("p", { className: `p-formate-date ${u ? "disabled" : ""}`, children: [
17923
- R(v),
17930
+ $(v),
17924
17931
  /* @__PURE__ */ t.jsx(
17925
17932
  Yr,
17926
17933
  {
@@ -17978,7 +17985,7 @@ const Gs = Fe(/* @__PURE__ */ t.jsx("path", {
17978
17985
  Us,
17979
17986
  {
17980
17987
  buttonProperties: {
17981
- onClick: () => B(),
17988
+ onClick: () => L(),
17982
17989
  style: {
17983
17990
  width: "115px",
17984
17991
  textAlign: "center"
@@ -17991,7 +17998,7 @@ const Gs = Fe(/* @__PURE__ */ t.jsx("path", {
17991
17998
  et,
17992
17999
  {
17993
18000
  buttonProperties: {
17994
- onClick: () => _(),
18001
+ onClick: () => P(),
17995
18002
  style: {
17996
18003
  width: "115px",
17997
18004
  textAlign: "center"
@@ -18010,7 +18017,7 @@ const Gs = Fe(/* @__PURE__ */ t.jsx("path", {
18010
18017
  ]
18011
18018
  }
18012
18019
  ),
18013
- z && v && o && /* @__PURE__ */ t.jsx("button", { className: "button-reset", onClick: () => B(), children: /* @__PURE__ */ t.jsx(zs, {}) })
18020
+ z && v && o && /* @__PURE__ */ t.jsx("button", { className: "button-reset", onClick: () => L(), children: /* @__PURE__ */ t.jsx(zs, {}) })
18014
18021
  ] });
18015
18022
  };
18016
18023
  th.propTypes = {
@@ -18109,33 +18116,33 @@ const Kr = (e, { disablePastDates: s, disableBusinessDays: r }) => {
18109
18116
  hourDisableDaysBasedOnHour: p,
18110
18117
  id: m
18111
18118
  }) => {
18112
- const y = e === "es" ? Xs : Js, [b, h] = X(/* @__PURE__ */ new Date()), [j, S] = X(/* @__PURE__ */ new Date()), [N, M] = X(!1), [k, w] = X(null), R = xe(null), _ = (W) => {
18113
- const z = W.getFullYear(), v = W.getMonth(), O = new Date(z, v, 1).getDay(), A = new Date(z, v + 1, 0), E = [], T = new Date(z, v, 0).getDate();
18114
- for (let $ = O - 1; $ >= 0; $--)
18115
- E.push(new Date(z, v - 1, T - $));
18116
- for (let $ = 1; $ <= A.getDate(); $++)
18117
- E.push(new Date(z, v, $));
18119
+ const y = e === "es" ? Xs : Js, [b, h] = X(/* @__PURE__ */ new Date()), [j, S] = X(/* @__PURE__ */ new Date()), [N, M] = X(!1), [k, w] = X(null), $ = xe(null), P = (_) => {
18120
+ const z = _.getFullYear(), v = _.getMonth(), O = new Date(z, v, 1).getDay(), R = new Date(z, v + 1, 0), E = [], T = new Date(z, v, 0).getDate();
18121
+ for (let I = O - 1; I >= 0; I--)
18122
+ E.push(new Date(z, v - 1, T - I));
18123
+ for (let I = 1; I <= R.getDate(); I++)
18124
+ E.push(new Date(z, v, I));
18118
18125
  const H = 42 - E.length;
18119
- for (let $ = 1; $ <= H; $++)
18120
- E.push(new Date(z, v + 1, $));
18126
+ for (let I = 1; I <= H; I++)
18127
+ E.push(new Date(z, v + 1, I));
18121
18128
  return E;
18122
18129
  };
18123
18130
  se(() => {
18124
18131
  if (o && typeof o == "number" && o > 0) {
18125
- let W = /* @__PURE__ */ new Date();
18126
- W.setHours(0, 0, 0, 0);
18127
- let z = new Date(W), v = 0;
18132
+ let _ = /* @__PURE__ */ new Date();
18133
+ _.setHours(0, 0, 0, 0);
18134
+ let z = new Date(_), v = 0;
18128
18135
  for (; v < o; ) {
18129
18136
  z.setDate(z.getDate() + 1);
18130
18137
  const x = z.getDay();
18131
18138
  x !== 0 && x !== 6 && v++;
18132
18139
  }
18133
- z.getMonth() > W.getMonth() && S(z);
18140
+ z.getMonth() > _.getMonth() && S(z);
18134
18141
  }
18135
18142
  }, [i, o]);
18136
- const B = Ut(
18137
- () => (W) => W ? i && !Kr(W, { disablePastDates: i }) || o && !Kr(W, { disableBusinessDays: o }) || l && nh(W) || a && sh(W, new Date(a)) || c && ch(W, p) || d && dh(W) || u && hh(W) || g && uh(
18138
- W,
18143
+ const L = Ut(
18144
+ () => (_) => _ ? i && !Kr(_, { disablePastDates: i }) || o && !Kr(_, { disableBusinessDays: o }) || l && nh(_) || a && sh(_, new Date(a)) || c && ch(_, p) || d && dh(_) || u && hh(_) || g && uh(
18145
+ _,
18139
18146
  g
18140
18147
  ) : !1,
18141
18148
  [
@@ -18149,55 +18156,55 @@ const Kr = (e, { disablePastDates: s, disableBusinessDays: r }) => {
18149
18156
  g,
18150
18157
  p
18151
18158
  ]
18152
- ), L = (W) => {
18159
+ ), B = (_) => {
18153
18160
  const z = /* @__PURE__ */ new Date(), v = new Date(
18154
18161
  z.getFullYear(),
18155
18162
  z.getMonth(),
18156
18163
  1
18157
18164
  ).setHours(0, 0, 0, 0);
18158
- if (i && W < v)
18165
+ if (i && _ < v)
18159
18166
  return !0;
18160
18167
  if (a) {
18161
18168
  const x = new Date(a).setHours(0, 0, 0, 0);
18162
18169
  return new Date(
18163
- W.getFullYear(),
18164
- W.getMonth() + 1,
18170
+ _.getFullYear(),
18171
+ _.getMonth() + 1,
18165
18172
  0
18166
18173
  ).setHours(0, 0, 0, 0) < x;
18167
18174
  }
18168
18175
  return !1;
18169
- }, f = (W) => b && W.getTime() === b.getTime(), F = (W) => {
18170
- const z = W.getMonth(), v = j.getMonth();
18171
- z !== v && S(new Date(W.getFullYear(), z, 1)), w(Z(W)), h(W);
18172
- const x = at(W);
18176
+ }, f = (_) => b && _.getTime() === b.getTime(), F = (_) => {
18177
+ const z = _.getMonth(), v = j.getMonth();
18178
+ z !== v && S(new Date(_.getFullYear(), z, 1)), w(Z(_)), h(_);
18179
+ const x = at(_);
18173
18180
  s && s(x), r && r({ id: m, date: x }), M(!1);
18174
- }, V = (W) => {
18175
- const z = new Date(W.getFullYear(), W.getMonth() - 1, 1), v = /* @__PURE__ */ new Date();
18181
+ }, V = (_) => {
18182
+ const z = new Date(_.getFullYear(), _.getMonth() - 1, 1), v = /* @__PURE__ */ new Date();
18176
18183
  v.setHours(0, 0, 0, 0), !(i && z < new Date(v.getFullYear(), v.getMonth(), 1)) && S(z);
18177
- }, P = (W) => {
18178
- const z = new Date(W.getFullYear(), W.getMonth() + 1, 1);
18184
+ }, W = (_) => {
18185
+ const z = new Date(_.getFullYear(), _.getMonth() + 1, 1);
18179
18186
  S(z);
18180
- }, Z = (W) => {
18181
- const v = W.toLocaleDateString(y.code, {
18187
+ }, Z = (_) => {
18188
+ const v = _.toLocaleDateString(y.code, {
18182
18189
  weekday: "short",
18183
18190
  day: "numeric",
18184
18191
  month: "short",
18185
18192
  year: "2-digit"
18186
- }).split(" "), x = v[0].charAt(0).toUpperCase() + v[0].slice(1), O = v[1], A = v[2].charAt(0).toUpperCase() + v[2].slice(1), E = v[3];
18187
- return `${x} ${O} de ${A} ${E}`;
18193
+ }).split(" "), x = v[0].charAt(0).toUpperCase() + v[0].slice(1), O = v[1], R = v[2].charAt(0).toUpperCase() + v[2].slice(1), E = v[3];
18194
+ return `${x} ${O} de ${R} ${E}`;
18188
18195
  }, Y = () => {
18189
18196
  h(/* @__PURE__ */ new Date()), M(!1);
18190
18197
  }, J = () => {
18191
18198
  M(!1), s && s(b), r && r({ id: m, date: b });
18192
18199
  };
18193
18200
  return se(() => {
18194
- const W = (z) => {
18195
- R.current && !R.current.contains(z.target) && M(!1);
18201
+ const _ = (z) => {
18202
+ $.current && !$.current.contains(z.target) && M(!1);
18196
18203
  };
18197
- return document.addEventListener("mousedown", W), () => {
18198
- document.removeEventListener("mousedown", W);
18204
+ return document.addEventListener("mousedown", _), () => {
18205
+ document.removeEventListener("mousedown", _);
18199
18206
  };
18200
- }, [R]), {
18207
+ }, [$]), {
18201
18208
  date: k,
18202
18209
  isOpen: N,
18203
18210
  setDate: w,
@@ -18207,15 +18214,15 @@ const Kr = (e, { disablePastDates: s, disableBusinessDays: r }) => {
18207
18214
  formatDate: Z,
18208
18215
  setLeftMonth: S,
18209
18216
  handleSearch: J,
18210
- disablePrev: L,
18217
+ disablePrev: B,
18211
18218
  handleCancel: Y,
18212
18219
  selectedDate: b,
18213
18220
  isDateInRange: f,
18214
- datePickerRef: R,
18215
- getDaysInMonth: _,
18216
- isDateDisabled: B,
18221
+ datePickerRef: $,
18222
+ getDaysInMonth: P,
18223
+ isDateDisabled: L,
18217
18224
  handlePrevClick: V,
18218
- handleNextClick: P,
18225
+ handleNextClick: W,
18219
18226
  handleDateClick: F,
18220
18227
  setSelectedDate: h
18221
18228
  };
@@ -18242,25 +18249,25 @@ const Kr = (e, { disablePastDates: s, disableBusinessDays: r }) => {
18242
18249
  subLabelText: M,
18243
18250
  id: k,
18244
18251
  value: w,
18245
- fontSize: R
18252
+ fontSize: $
18246
18253
  }) => {
18247
18254
  const {
18248
- date: _,
18249
- isOpen: B,
18250
- setDate: L,
18255
+ date: P,
18256
+ isOpen: L,
18257
+ setDate: B,
18251
18258
  language: f,
18252
18259
  leftMonth: F,
18253
18260
  setIsOpen: V,
18254
- disablePrev: P,
18261
+ disablePrev: W,
18255
18262
  isDateInRange: Z,
18256
18263
  getDaysInMonth: Y,
18257
18264
  isDateDisabled: J,
18258
- handleDateClick: W,
18265
+ handleDateClick: _,
18259
18266
  handlePrevClick: z,
18260
18267
  handleNextClick: v,
18261
18268
  datePickerRef: x,
18262
18269
  setSelectedDate: O,
18263
- setLeftMonth: A,
18270
+ setLeftMonth: R,
18264
18271
  selectedDate: E
18265
18272
  } = fh({
18266
18273
  locale: r,
@@ -18276,9 +18283,9 @@ const Kr = (e, { disablePastDates: s, disableBusinessDays: r }) => {
18276
18283
  disableNextBusinessDayAfter: h,
18277
18284
  hourDisableDaysBasedOnHour: j,
18278
18285
  id: k
18279
- }), T = w instanceof Date ? w : void 0, D = ($) => {
18280
- if (!$) return null;
18281
- const G = $.toLocaleDateString(f.code, {
18286
+ }), T = w instanceof Date ? w : void 0, D = (I) => {
18287
+ if (!I) return null;
18288
+ const G = I.toLocaleDateString(f.code, {
18282
18289
  weekday: "short",
18283
18290
  day: "numeric",
18284
18291
  month: "short",
@@ -18287,26 +18294,26 @@ const Kr = (e, { disablePastDates: s, disableBusinessDays: r }) => {
18287
18294
  return `${U} ${ne} de ${K} ${ue}`;
18288
18295
  };
18289
18296
  se(() => {
18290
- L(null), O(null);
18291
- }, [d, L, O]), se(() => {
18297
+ B(null), O(null);
18298
+ }, [d, B, O]), se(() => {
18292
18299
  if (T) {
18293
- (F.getMonth() !== T.getMonth() || F.getFullYear() !== T.getFullYear()) && A(
18300
+ (F.getMonth() !== T.getMonth() || F.getFullYear() !== T.getFullYear()) && R(
18294
18301
  new Date(T.getFullYear(), T.getMonth(), 1)
18295
18302
  );
18296
- const $ = new Date(
18303
+ const I = new Date(
18297
18304
  T.getFullYear(),
18298
18305
  T.getMonth(),
18299
18306
  T.getDate()
18300
- ), I = E ? new Date(
18307
+ ), A = E ? new Date(
18301
18308
  E.getFullYear(),
18302
18309
  E.getMonth(),
18303
18310
  E.getDate()
18304
18311
  ) : null;
18305
- (!I || $.getTime() !== I.getTime()) && O($);
18312
+ (!A || I.getTime() !== A.getTime()) && O(I);
18306
18313
  }
18307
- }, [T, F, E, A, O]);
18308
- const H = ($) => {
18309
- const I = Y($), G = $.getMonth(), U = (ne) => {
18314
+ }, [T, F, E, R, O]);
18315
+ const H = (I) => {
18316
+ const A = Y(I), G = I.getMonth(), U = (ne) => {
18310
18317
  const K = !!T && ne && ne.getFullYear() === T.getFullYear() && ne.getMonth() === T.getMonth() && ne.getDate() === T.getDate();
18311
18318
  return [
18312
18319
  ne && ne.getMonth() !== G ? "other-month" : "",
@@ -18320,22 +18327,22 @@ const Kr = (e, { disablePastDates: s, disableBusinessDays: r }) => {
18320
18327
  "button",
18321
18328
  {
18322
18329
  className: "calendar-nav-button",
18323
- onClick: () => z($),
18324
- disabled: P(
18325
- new Date($.getFullYear(), $.getMonth() - 1, 1)
18330
+ onClick: () => z(I),
18331
+ disabled: W(
18332
+ new Date(I.getFullYear(), I.getMonth() - 1, 1)
18326
18333
  ),
18327
18334
  children: /* @__PURE__ */ t.jsx("span", { className: "sr-only", children: /* @__PURE__ */ t.jsx(Gs, { style: { width: "15px" } }) })
18328
18335
  }
18329
18336
  ),
18330
18337
  /* @__PURE__ */ t.jsxs("h2", { className: "calendar-title", children: [
18331
- f.MONTHS[$.getMonth()],
18332
- /* @__PURE__ */ t.jsx("p", { children: $.getFullYear() })
18338
+ f.MONTHS[I.getMonth()],
18339
+ /* @__PURE__ */ t.jsx("p", { children: I.getFullYear() })
18333
18340
  ] }),
18334
18341
  /* @__PURE__ */ t.jsx(
18335
18342
  "button",
18336
18343
  {
18337
18344
  className: "calendar-nav-button",
18338
- onClick: () => v($),
18345
+ onClick: () => v(I),
18339
18346
  children: /* @__PURE__ */ t.jsx("span", { className: "sr-only", children: /* @__PURE__ */ t.jsx(Qs, { style: { width: "15px" } }) })
18340
18347
  }
18341
18348
  )
@@ -18348,12 +18355,12 @@ const Kr = (e, { disablePastDates: s, disableBusinessDays: r }) => {
18348
18355
  children: [
18349
18356
  /* @__PURE__ */ t.jsx("div", { className: "background-days" }),
18350
18357
  f.DAYS.map((ne) => /* @__PURE__ */ t.jsx("div", { className: "calendar-day-header", children: ne }, ne)),
18351
- I.map((ne, K) => /* @__PURE__ */ t.jsx("div", { className: "calendar-day-wrapper", children: /* @__PURE__ */ t.jsx(
18358
+ A.map((ne, K) => /* @__PURE__ */ t.jsx("div", { className: "calendar-day-wrapper", children: /* @__PURE__ */ t.jsx(
18352
18359
  "button",
18353
18360
  {
18354
18361
  className: `calendar-day ${U(ne)}`,
18355
18362
  disabled: !ne || J(ne),
18356
- onClick: () => ne && !J(ne) && W(ne),
18363
+ onClick: () => ne && !J(ne) && _(ne),
18357
18364
  children: /* @__PURE__ */ t.jsx("span", { className: `day-text ${ne ? "" : "text-muted"}`, children: ne ? ne.getDate() : "" })
18358
18365
  }
18359
18366
  ) }, `${ne}_${K}`))
@@ -18366,12 +18373,12 @@ const Kr = (e, { disablePastDates: s, disableBusinessDays: r }) => {
18366
18373
  /* @__PURE__ */ t.jsx(
18367
18374
  rt,
18368
18375
  {
18369
- label: T ? D(T) : _ ?? e,
18376
+ label: T ? D(T) : P ?? e,
18370
18377
  onchange: () => {
18371
18378
  },
18372
18379
  options: [],
18373
18380
  size: o,
18374
- isOpen: B,
18381
+ isOpen: L,
18375
18382
  setIsOpen: V,
18376
18383
  error: s,
18377
18384
  disabledClickOutside: !0,
@@ -18380,11 +18387,11 @@ const Kr = (e, { disablePastDates: s, disableBusinessDays: r }) => {
18380
18387
  Icon: fd,
18381
18388
  labelText: N,
18382
18389
  subLabelText: M,
18383
- fontSizeLabel: R,
18390
+ fontSizeLabel: $,
18384
18391
  withoutOptions: !0
18385
18392
  }
18386
18393
  ),
18387
- B && /* @__PURE__ */ t.jsx("div", { className: "date-picker-dropdown date-picker-individual", children: /* @__PURE__ */ t.jsx("div", { className: "calendars-wrapper", children: H(F) }) })
18394
+ L && /* @__PURE__ */ t.jsx("div", { className: "date-picker-dropdown date-picker-individual", children: /* @__PURE__ */ t.jsx("div", { className: "calendars-wrapper", children: H(F) }) })
18388
18395
  ] });
18389
18396
  };
18390
18397
  ph.propTypes = {
@@ -18481,37 +18488,37 @@ const ns = (e) => e.map((s) => ({
18481
18488
  );
18482
18489
  }, m = (j, S) => {
18483
18490
  u.current = !0, l((N) => {
18484
- var B;
18485
- const M = N.findIndex((L) => L.id === j);
18491
+ var L;
18492
+ const M = N.findIndex((B) => B.id === j);
18486
18493
  let k = [...N], w = [];
18487
- const R = e.find((L) => L.id === j) || {};
18488
- if (R.multiple !== !1)
18494
+ const $ = e.find((B) => B.id === j) || {};
18495
+ if ($.multiple !== !1)
18489
18496
  if (M === -1)
18490
18497
  w = [S], k.push({
18491
18498
  id: j,
18492
- title: R.title || "",
18499
+ title: $.title || "",
18493
18500
  optionsSelect: w
18494
18501
  });
18495
18502
  else {
18496
- const L = N[M].optionsSelect;
18497
- L.some((F) => F.id === S.id) ? w = L.filter((F) => F.id !== S.id) : w = [...L, S], w.length === 0 ? k.splice(M, 1) : (w.sort((F, V) => {
18498
- var P;
18499
- return (P = F.label) == null ? void 0 : P.localeCompare(V.label);
18503
+ const B = N[M].optionsSelect;
18504
+ B.some((F) => F.id === S.id) ? w = B.filter((F) => F.id !== S.id) : w = [...B, S], w.length === 0 ? k.splice(M, 1) : (w.sort((F, V) => {
18505
+ var W;
18506
+ return (W = F.label) == null ? void 0 : W.localeCompare(V.label);
18500
18507
  }), k[M].optionsSelect = w);
18501
18508
  }
18502
- else if (M === -1 || ((B = N[M].optionsSelect[0]) == null ? void 0 : B.id) !== S.id ? w = [S] : w = [], w.length === 0)
18509
+ else if (M === -1 || ((L = N[M].optionsSelect[0]) == null ? void 0 : L.id) !== S.id ? w = [S] : w = [], w.length === 0)
18503
18510
  M > -1 && k.splice(M, 1);
18504
18511
  else {
18505
- const L = {
18512
+ const B = {
18506
18513
  id: j,
18507
- title: R.title || "",
18514
+ title: $.title || "",
18508
18515
  optionsSelect: w
18509
18516
  };
18510
- M === -1 ? k.push(L) : k[M] = L;
18517
+ M === -1 ? k.push(B) : k[M] = B;
18511
18518
  }
18512
18519
  if (s) {
18513
- const L = g(k);
18514
- s(L);
18520
+ const B = g(k);
18521
+ s(B);
18515
18522
  }
18516
18523
  return k;
18517
18524
  });
@@ -18572,8 +18579,8 @@ const ns = (e) => e.map((s) => ({
18572
18579
  expandedSections: M,
18573
18580
  filterRef: k,
18574
18581
  setSelectedFilters: w
18575
- } = mh(e, s), [R, _] = X({}), [B, L] = X({}), f = xe({}), F = xe(!0), V = 132, P = 220, Z = (v) => {
18576
- _((x) => ({
18582
+ } = mh(e, s), [$, P] = X({}), [L, B] = X({}), f = xe({}), F = xe(!0), V = 132, W = 220, Z = (v) => {
18583
+ P((x) => ({
18577
18584
  ...x,
18578
18585
  [v]: !x[v]
18579
18586
  }));
@@ -18583,81 +18590,81 @@ const ns = (e) => e.map((s) => ({
18583
18590
  (v.selectAll || v.basicSelect) && !(M != null && M.includes(v == null ? void 0 : v.id)) && h(v == null ? void 0 : v.id);
18584
18591
  });
18585
18592
  }, [e, M, h]);
18586
- const Y = (v, x, O, A) => {
18593
+ const Y = (v, x, O, R) => {
18587
18594
  const E = O == null ? void 0 : O.filter(
18588
- (D) => A.includes(D.id)
18595
+ (D) => R.includes(D.id)
18589
18596
  ), T = o !== void 0 ? o : j;
18590
18597
  w(() => {
18591
- const D = T == null ? void 0 : T.findIndex(($) => ($ == null ? void 0 : $.id) === v);
18598
+ const D = T == null ? void 0 : T.findIndex((I) => (I == null ? void 0 : I.id) === v);
18592
18599
  let H = [...T];
18593
18600
  if (E.length === 0)
18594
18601
  D > -1 && H.splice(D, 1);
18595
18602
  else {
18596
- const $ = {
18603
+ const I = {
18597
18604
  id: v,
18598
18605
  title: x,
18599
18606
  optionsSelect: E
18600
18607
  };
18601
- D === -1 ? H.push($) : H[D] = $;
18608
+ D === -1 ? H.push(I) : H[D] = I;
18602
18609
  }
18603
18610
  if (s) {
18604
- const $ = {};
18605
- e.forEach((I) => {
18606
- if ((I == null ? void 0 : I.id) === v)
18607
- $[I == null ? void 0 : I.id] = {
18608
- value: A,
18611
+ const I = {};
18612
+ e.forEach((A) => {
18613
+ if ((A == null ? void 0 : A.id) === v)
18614
+ I[A == null ? void 0 : A.id] = {
18615
+ value: R,
18609
18616
  allData: E
18610
18617
  };
18611
18618
  else {
18612
- const G = H == null ? void 0 : H.find((U) => (U == null ? void 0 : U.id) === (I == null ? void 0 : I.id));
18613
- G && G.optionsSelect.length > 0 ? $[I == null ? void 0 : I.id] = {
18619
+ const G = H == null ? void 0 : H.find((U) => (U == null ? void 0 : U.id) === (A == null ? void 0 : A.id));
18620
+ G && G.optionsSelect.length > 0 ? I[A == null ? void 0 : A.id] = {
18614
18621
  value: G.optionsSelect.map((U) => U.id),
18615
18622
  allData: G.optionsSelect
18616
- } : $[I == null ? void 0 : I.id] = {
18623
+ } : I[A == null ? void 0 : A.id] = {
18617
18624
  value: [],
18618
18625
  allData: []
18619
18626
  };
18620
18627
  }
18621
- }), s($);
18628
+ }), s(I);
18622
18629
  }
18623
18630
  return H;
18624
18631
  });
18625
- }, J = (v, x, O, A) => {
18632
+ }, J = (v, x, O, R) => {
18626
18633
  const E = O == null ? void 0 : O.find(
18627
- (D) => D.value === A || D.label === A
18634
+ (D) => D.value === R || D.label === R
18628
18635
  ), T = o !== void 0 ? o : j;
18629
18636
  w(() => {
18630
- const D = T == null ? void 0 : T.findIndex(($) => ($ == null ? void 0 : $.id) === v);
18637
+ const D = T == null ? void 0 : T.findIndex((I) => (I == null ? void 0 : I.id) === v);
18631
18638
  let H = [...T];
18632
18639
  if (!E)
18633
18640
  D > -1 && H.splice(D, 1);
18634
18641
  else {
18635
- const $ = {
18642
+ const I = {
18636
18643
  id: v,
18637
18644
  title: x,
18638
18645
  optionsSelect: [E]
18639
18646
  };
18640
- D === -1 ? H.push($) : H[D] = $;
18647
+ D === -1 ? H.push(I) : H[D] = I;
18641
18648
  }
18642
18649
  if (s) {
18643
- const $ = {};
18644
- e.forEach((I) => {
18645
- if ((I == null ? void 0 : I.id) === v)
18646
- $[I == null ? void 0 : I.id] = {
18647
- value: A,
18650
+ const I = {};
18651
+ e.forEach((A) => {
18652
+ if ((A == null ? void 0 : A.id) === v)
18653
+ I[A == null ? void 0 : A.id] = {
18654
+ value: R,
18648
18655
  allData: E ? [E] : []
18649
18656
  };
18650
18657
  else {
18651
- const G = H == null ? void 0 : H.find((U) => (U == null ? void 0 : U.id) === (I == null ? void 0 : I.id));
18652
- G && G.optionsSelect.length > 0 ? $[I == null ? void 0 : I.id] = {
18658
+ const G = H == null ? void 0 : H.find((U) => (U == null ? void 0 : U.id) === (A == null ? void 0 : A.id));
18659
+ G && G.optionsSelect.length > 0 ? I[A == null ? void 0 : A.id] = {
18653
18660
  value: G.optionsSelect.map((U) => U.value || U.id),
18654
18661
  allData: G.optionsSelect
18655
- } : $[I == null ? void 0 : I.id] = {
18662
+ } : I[A == null ? void 0 : A.id] = {
18656
18663
  value: [],
18657
18664
  allData: []
18658
18665
  };
18659
18666
  }
18660
- }), s($);
18667
+ }), s(I);
18661
18668
  }
18662
18669
  return H;
18663
18670
  });
@@ -18667,9 +18674,9 @@ const ns = (e) => e.map((s) => ({
18667
18674
  M == null || M.forEach((x) => {
18668
18675
  const O = f.current[x];
18669
18676
  O && O.scrollHeight > V && (v[x] = !0);
18670
- }), L(v);
18677
+ }), B(v);
18671
18678
  }, [M, e]);
18672
- const W = o !== void 0 ? o : j;
18679
+ const _ = o !== void 0 ? o : j;
18673
18680
  se(() => {
18674
18681
  if (F.current) {
18675
18682
  F.current = !1;
@@ -18679,7 +18686,7 @@ const ns = (e) => e.map((s) => ({
18679
18686
  }, [i, w, o]), se(() => {
18680
18687
  o !== void 0 && !F.current && w(o);
18681
18688
  }, [o, w]);
18682
- const z = o !== void 0 ? W == null ? void 0 : W.reduce(
18689
+ const z = o !== void 0 ? _ == null ? void 0 : _.reduce(
18683
18690
  (v, x) => {
18684
18691
  var O;
18685
18692
  return v + ((O = x == null ? void 0 : x.optionsSelect) == null ? void 0 : O.length);
@@ -18715,10 +18722,10 @@ const ns = (e) => e.map((s) => ({
18715
18722
  /* @__PURE__ */ t.jsxs("div", { className: "filter-header", children: [
18716
18723
  /* @__PURE__ */ t.jsx("h2", { className: "filter-title", style: { fontSize: a }, children: "Filtros" }),
18717
18724
  /* @__PURE__ */ t.jsxs("div", { className: "filter-header-buttons", children: [
18718
- (o !== void 0 ? W.reduce(
18725
+ (o !== void 0 ? _.reduce(
18719
18726
  (x, O) => {
18720
- var A;
18721
- return x + ((A = O == null ? void 0 : O.optionsSelect) == null ? void 0 : A.length);
18727
+ var R;
18728
+ return x + ((R = O == null ? void 0 : O.optionsSelect) == null ? void 0 : R.length);
18722
18729
  },
18723
18730
  0
18724
18731
  ) : N()) > 0 && /* @__PURE__ */ t.jsxs(
@@ -18748,13 +18755,13 @@ const ns = (e) => e.map((s) => ({
18748
18755
  id: v,
18749
18756
  title: x,
18750
18757
  options: O,
18751
- selectAll: A,
18758
+ selectAll: R,
18752
18759
  basicSelect: E,
18753
18760
  placeholderInput: T,
18754
18761
  label: D,
18755
18762
  textSelectAll: H,
18756
- grouped: $,
18757
- disabledSection: I
18763
+ grouped: I,
18764
+ disabledSection: A
18758
18765
  }) => {
18759
18766
  var G, U, ne, K, ue, le;
18760
18767
  return /* @__PURE__ */ t.jsxs("div", { className: "filter-section", children: [
@@ -18762,9 +18769,9 @@ const ns = (e) => e.map((s) => ({
18762
18769
  "button",
18763
18770
  {
18764
18771
  className: "section-header",
18765
- onClick: () => !(A || E) && h(v),
18772
+ onClick: () => !(R || E) && h(v),
18766
18773
  style: {
18767
- cursor: A || E ? "default" : "pointer"
18774
+ cursor: R || E ? "default" : "pointer"
18768
18775
  },
18769
18776
  children: [
18770
18777
  /* @__PURE__ */ t.jsxs(
@@ -18778,7 +18785,7 @@ const ns = (e) => e.map((s) => ({
18778
18785
  ]
18779
18786
  }
18780
18787
  ),
18781
- !(A || E) && (M == null ? void 0 : M.includes(v)) && /* @__PURE__ */ t.jsx("span", { className: "filter-container-icon", children: /* @__PURE__ */ t.jsx(
18788
+ !(R || E) && (M == null ? void 0 : M.includes(v)) && /* @__PURE__ */ t.jsx("span", { className: "filter-container-icon", children: /* @__PURE__ */ t.jsx(
18782
18789
  Ys,
18783
18790
  {
18784
18791
  isOpen: M == null ? void 0 : M.includes(v),
@@ -18794,18 +18801,18 @@ const ns = (e) => e.map((s) => ({
18794
18801
  ]
18795
18802
  }
18796
18803
  ),
18797
- (M == null ? void 0 : M.includes(v)) && /* @__PURE__ */ t.jsx(t.Fragment, { children: A ? /* @__PURE__ */ t.jsx("div", { style: { padding: "8px 15px" }, children: /* @__PURE__ */ t.jsx(
18804
+ (M == null ? void 0 : M.includes(v)) && /* @__PURE__ */ t.jsx(t.Fragment, { children: R ? /* @__PURE__ */ t.jsx("div", { style: { padding: "8px 15px" }, children: /* @__PURE__ */ t.jsx(
18798
18805
  eo,
18799
18806
  {
18800
- data: xh(O, $),
18801
- grouped: $ || !1,
18807
+ data: xh(O, I),
18808
+ grouped: I || !1,
18802
18809
  label: D || x,
18803
18810
  maxheight: "200px",
18804
18811
  onChange: (fe) => {
18805
18812
  Y(
18806
18813
  v,
18807
18814
  x,
18808
- dn(O, $),
18815
+ dn(O, I),
18809
18816
  fe
18810
18817
  );
18811
18818
  },
@@ -18814,30 +18821,30 @@ const ns = (e) => e.map((s) => ({
18814
18821
  width: "100%",
18815
18822
  widthDropdown: "100%",
18816
18823
  isRelative: !0,
18817
- selectedValues: ((U = (G = W.find((fe) => (fe == null ? void 0 : fe.id) === v)) == null ? void 0 : G.optionsSelect) == null ? void 0 : U.map((fe) => fe.id)) || [],
18824
+ selectedValues: ((U = (G = _.find((fe) => (fe == null ? void 0 : fe.id) === v)) == null ? void 0 : G.optionsSelect) == null ? void 0 : U.map((fe) => fe.id)) || [],
18818
18825
  fontSizeLabel: l,
18819
- disabled: I,
18826
+ disabled: A,
18820
18827
  fontSizeOptions: c
18821
18828
  }
18822
18829
  ) }) : E ? /* @__PURE__ */ t.jsx("div", { style: { padding: "8px 15px" }, children: /* @__PURE__ */ t.jsx(
18823
18830
  rt,
18824
18831
  {
18825
18832
  label: D || x,
18826
- options: dn(O, $),
18833
+ options: dn(O, I),
18827
18834
  onchange: (fe) => {
18828
18835
  J(
18829
18836
  v,
18830
18837
  x,
18831
- dn(O, $),
18838
+ dn(O, I),
18832
18839
  fe.value
18833
18840
  );
18834
18841
  },
18835
18842
  placeholderInputSearch: T || `Buscar ${x == null ? void 0 : x.toLowerCase()}`,
18836
18843
  size: "100%",
18837
- value: ((ue = (K = (ne = W == null ? void 0 : W.find((fe) => (fe == null ? void 0 : fe.id) === v)) == null ? void 0 : ne.optionsSelect) == null ? void 0 : K[0]) == null ? void 0 : ue.value) || "",
18844
+ value: ((ue = (K = (ne = _ == null ? void 0 : _.find((fe) => (fe == null ? void 0 : fe.id) === v)) == null ? void 0 : ne.optionsSelect) == null ? void 0 : K[0]) == null ? void 0 : ue.value) || "",
18838
18845
  position: "relative",
18839
18846
  fontSizeLabel: l,
18840
- disabled: I,
18847
+ disabled: A,
18841
18848
  fontSizeOptions: c
18842
18849
  }
18843
18850
  ) }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
@@ -18846,15 +18853,15 @@ const ns = (e) => e.map((s) => ({
18846
18853
  {
18847
18854
  className: "section-content",
18848
18855
  ref: (fe) => f.current[v] = fe,
18849
- style: B[v] ? R[v] ? {
18850
- maxHeight: P,
18856
+ style: L[v] ? $[v] ? {
18857
+ maxHeight: W,
18851
18858
  overflowY: "scroll"
18852
18859
  } : {
18853
18860
  maxHeight: V,
18854
18861
  overflow: "hidden"
18855
18862
  } : {},
18856
- children: (le = dn(O, $)) == null ? void 0 : le.map((fe) => {
18857
- const Be = W == null ? void 0 : W.some(
18863
+ children: (le = dn(O, I)) == null ? void 0 : le.map((fe) => {
18864
+ const Be = _ == null ? void 0 : _.some(
18858
18865
  (we) => {
18859
18866
  var Ie;
18860
18867
  return (we == null ? void 0 : we.id) === v && ((Ie = we == null ? void 0 : we.optionsSelect) == null ? void 0 : Ie.some(
@@ -18884,12 +18891,12 @@ const ns = (e) => e.map((s) => ({
18884
18891
  padding: "0 8%",
18885
18892
  marginTop: "10px"
18886
18893
  },
18887
- children: (B == null ? void 0 : B[v]) && /* @__PURE__ */ t.jsx(
18894
+ children: (L == null ? void 0 : L[v]) && /* @__PURE__ */ t.jsx(
18888
18895
  "button",
18889
18896
  {
18890
18897
  className: "view-more",
18891
18898
  onClick: () => Z(v),
18892
- children: R[v] ? "Ver menos" : "Ver más"
18899
+ children: $[v] ? "Ver menos" : "Ver más"
18893
18900
  }
18894
18901
  )
18895
18902
  }
@@ -18994,12 +19001,12 @@ const bh = (e, s, r) => {
18994
19001
  top: g = "0"
18995
19002
  }) => {
18996
19003
  const [p, m] = X(
18997
- e.map((W) => ({
18998
- id: W.id,
18999
- value: W.type === "multiselect" || W.type === "chips" ? [] : ""
19004
+ e.map((_) => ({
19005
+ id: _.id,
19006
+ value: _.type === "multiselect" || _.type === "chips" ? [] : ""
19000
19007
  }))
19001
- ), y = s !== void 0, b = y ? s : p, h = (W) => {
19002
- y || m(W), r && r(W);
19008
+ ), y = s !== void 0, b = y ? s : p, h = (_) => {
19009
+ y || m(_), r && r(_);
19003
19010
  }, {
19004
19011
  open: j,
19005
19012
  setOpen: S,
@@ -19007,23 +19014,23 @@ const bh = (e, s, r) => {
19007
19014
  toggleSection: M,
19008
19015
  handleFilterChange: k,
19009
19016
  clearAllFilters: w,
19010
- getTotalSelected: R,
19011
- filterRef: _
19012
- } = bh(e, b, h), [B, L] = X({}), [f, F] = X({}), V = xe({}), P = 132, Z = 220, Y = (W) => {
19013
- L((z) => ({
19017
+ getTotalSelected: $,
19018
+ filterRef: P
19019
+ } = bh(e, b, h), [L, B] = X({}), [f, F] = X({}), V = xe({}), W = 132, Z = 220, Y = (_) => {
19020
+ B((z) => ({
19014
19021
  ...z,
19015
- [W]: !z[W]
19022
+ [_]: !z[_]
19016
19023
  }));
19017
19024
  };
19018
19025
  se(() => {
19019
- const W = {};
19026
+ const _ = {};
19020
19027
  N == null || N.forEach((z) => {
19021
19028
  const v = V.current[z];
19022
- v && v.scrollHeight > P && (W[z] = !0);
19023
- }), F(W);
19029
+ v && v.scrollHeight > W && (_[z] = !0);
19030
+ }), F(_);
19024
19031
  }, [N, e]);
19025
- const J = R();
19026
- return /* @__PURE__ */ t.jsxs("div", { className: "toggle-filter-component", ref: _, children: [
19032
+ const J = $();
19033
+ return /* @__PURE__ */ t.jsxs("div", { className: "toggle-filter-component", ref: P, children: [
19027
19034
  /* @__PURE__ */ t.jsxs(
19028
19035
  "button",
19029
19036
  {
@@ -19076,12 +19083,12 @@ const bh = (e, s, r) => {
19076
19083
  ] }),
19077
19084
  e.map(
19078
19085
  ({
19079
- id: W,
19086
+ id: _,
19080
19087
  title: z,
19081
19088
  type: v = "chips",
19082
19089
  options: x = [],
19083
19090
  placeholder: O,
19084
- placeholderInput: A,
19091
+ placeholderInput: R,
19085
19092
  textSelectAll: E,
19086
19093
  disabled: T
19087
19094
  }) => {
@@ -19091,7 +19098,7 @@ const bh = (e, s, r) => {
19091
19098
  "button",
19092
19099
  {
19093
19100
  className: "section-header",
19094
- onClick: () => !(v === "select" || v === "multiselect") && M(W),
19101
+ onClick: () => !(v === "select" || v === "multiselect") && M(_),
19095
19102
  style: {
19096
19103
  cursor: v === "select" || v === "multiselect" ? "default" : "pointer"
19097
19104
  },
@@ -19110,7 +19117,7 @@ const bh = (e, s, r) => {
19110
19117
  v === "chips" && /* @__PURE__ */ t.jsx("span", { className: "filter-container-icon", children: /* @__PURE__ */ t.jsx(
19111
19118
  Ys,
19112
19119
  {
19113
- isOpen: N == null ? void 0 : N.includes(W),
19120
+ isOpen: N == null ? void 0 : N.includes(_),
19114
19121
  onChange: () => {
19115
19122
  },
19116
19123
  color: "#8598AD",
@@ -19123,19 +19130,19 @@ const bh = (e, s, r) => {
19123
19130
  ]
19124
19131
  }
19125
19132
  ),
19126
- (N == null ? void 0 : N.includes(W)) && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
19133
+ (N == null ? void 0 : N.includes(_)) && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
19127
19134
  v === "select" && /* @__PURE__ */ t.jsx("div", { style: { padding: "8px 15px" }, children: /* @__PURE__ */ t.jsx(
19128
19135
  Zs,
19129
19136
  {
19130
- id: W,
19137
+ id: _,
19131
19138
  placeholder: O || `Seleccione ${z}`,
19132
19139
  options: x,
19133
- onChange: ($) => {
19134
- k(W, $.target.value || "");
19140
+ onChange: (I) => {
19141
+ k(_, I.target.value || "");
19135
19142
  },
19136
- placeholderInput: A || `Buscar ${z == null ? void 0 : z.toLowerCase()}`,
19143
+ placeholderInput: R || `Buscar ${z == null ? void 0 : z.toLowerCase()}`,
19137
19144
  width: "100%",
19138
- value: ((D = b == null ? void 0 : b.find(($) => $.id === W)) == null ? void 0 : D.value) || "",
19145
+ value: ((D = b == null ? void 0 : b.find((I) => I.id === _)) == null ? void 0 : D.value) || "",
19139
19146
  disabled: T,
19140
19147
  fontSize: a,
19141
19148
  fontSizeOptions: a,
@@ -19145,15 +19152,15 @@ const bh = (e, s, r) => {
19145
19152
  v === "multiselect" && /* @__PURE__ */ t.jsx("div", { style: { padding: "8px 15px" }, children: /* @__PURE__ */ t.jsx(
19146
19153
  qs,
19147
19154
  {
19148
- id: W,
19155
+ id: _,
19149
19156
  placeholder: O || `Seleccione ${z}`,
19150
19157
  options: x,
19151
- onChange: ($) => {
19152
- k(W, $.target.value || []);
19158
+ onChange: (I) => {
19159
+ k(_, I.target.value || []);
19153
19160
  },
19154
- placeholderInput: A || `Buscar ${z == null ? void 0 : z.toLowerCase()}`,
19161
+ placeholderInput: R || `Buscar ${z == null ? void 0 : z.toLowerCase()}`,
19155
19162
  width: "100%",
19156
- value: ((H = b == null ? void 0 : b.find(($) => $.id === W)) == null ? void 0 : H.value) || [],
19163
+ value: ((H = b == null ? void 0 : b.find((I) => I.id === _)) == null ? void 0 : H.value) || [],
19157
19164
  disabled: T,
19158
19165
  fontSize: a,
19159
19166
  fontSizeOptions: a,
@@ -19166,33 +19173,33 @@ const bh = (e, s, r) => {
19166
19173
  "div",
19167
19174
  {
19168
19175
  className: "section-content",
19169
- ref: ($) => V.current[W] = $,
19170
- style: f[W] ? B[W] ? {
19176
+ ref: (I) => V.current[_] = I,
19177
+ style: f[_] ? L[_] ? {
19171
19178
  maxHeight: Z,
19172
19179
  overflowY: "scroll"
19173
19180
  } : {
19174
- maxHeight: P,
19181
+ maxHeight: W,
19175
19182
  overflow: "hidden"
19176
19183
  } : {},
19177
- children: x == null ? void 0 : x.map(($) => {
19184
+ children: x == null ? void 0 : x.map((I) => {
19178
19185
  var U;
19179
- const I = ((U = b == null ? void 0 : b.find((ne) => ne.id === W)) == null ? void 0 : U.value) || [], G = I.includes(
19180
- $.value
19186
+ const A = ((U = b == null ? void 0 : b.find((ne) => ne.id === _)) == null ? void 0 : U.value) || [], G = A.includes(
19187
+ I.value
19181
19188
  );
19182
19189
  return /* @__PURE__ */ t.jsx(
19183
19190
  Ks,
19184
19191
  {
19185
19192
  height: "27px",
19186
19193
  onChange: () => {
19187
- const ne = G ? I.filter(
19188
- (K) => K !== $.value
19189
- ) : [...I, $.value];
19190
- k(W, ne);
19194
+ const ne = G ? A.filter(
19195
+ (K) => K !== I.value
19196
+ ) : [...A, I.value];
19197
+ k(_, ne);
19191
19198
  },
19192
19199
  isSelect: G,
19193
- children: $.label
19200
+ children: I.label
19194
19201
  },
19195
- $.id || $.value
19202
+ I.id || I.value
19196
19203
  );
19197
19204
  })
19198
19205
  }
@@ -19206,19 +19213,19 @@ const bh = (e, s, r) => {
19206
19213
  padding: "0 8%",
19207
19214
  marginTop: "10px"
19208
19215
  },
19209
- children: (f == null ? void 0 : f[W]) && /* @__PURE__ */ t.jsx(
19216
+ children: (f == null ? void 0 : f[_]) && /* @__PURE__ */ t.jsx(
19210
19217
  "button",
19211
19218
  {
19212
19219
  className: "view-more",
19213
- onClick: () => Y(W),
19214
- children: B[W] ? "Ver menos" : "Ver más"
19220
+ onClick: () => Y(_),
19221
+ children: L[_] ? "Ver menos" : "Ver más"
19215
19222
  }
19216
19223
  )
19217
19224
  }
19218
19225
  )
19219
19226
  ] })
19220
19227
  ] })
19221
- ] }, W);
19228
+ ] }, _);
19222
19229
  }
19223
19230
  )
19224
19231
  ]
@@ -19513,9 +19520,9 @@ const kh = ({
19513
19520
  disableFutureDates: a,
19514
19521
  disablePastDaysCount: c
19515
19522
  }) => {
19516
- const [d, u] = X(!1), [g, p] = Xr((E) => E + 1, 0), m = e === "es" ? Xs : Js, [y, b] = X(null), [h, j] = X(null), [S, N] = X(null), [M, k] = X(/* @__PURE__ */ new Date()), [w, R] = X(
19523
+ const [d, u] = X(!1), [g, p] = Xr((E) => E + 1, 0), m = e === "es" ? Xs : Js, [y, b] = X(null), [h, j] = X(null), [S, N] = X(null), [M, k] = X(/* @__PURE__ */ new Date()), [w, $] = X(
19517
19524
  new Date((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() + 1))
19518
- ), [_, B] = X(!1), L = (E, T) => {
19525
+ ), [P, L] = X(!1), B = (E, T) => {
19519
19526
  const D = /* @__PURE__ */ new Date();
19520
19527
  if (D.setHours(0, 0, 0, 0), c) {
19521
19528
  const H = new Date(D);
@@ -19524,16 +19531,16 @@ const kh = ({
19524
19531
  }
19525
19532
  return T && s && E < D || !T && a && E > D || s && E < D || a && E > D ? !0 : l > 0 && y ? po(E, y, l) : !1;
19526
19533
  }, f = (E) => {
19527
- const T = E.getFullYear(), D = E.getMonth(), $ = new Date(T, D, 1).getDay(), I = new Date(T, D + 1, 0), G = [], U = new Date(T, D, 0).getDate();
19528
- for (let ue = $ - 1; ue >= 0; ue--)
19534
+ const T = E.getFullYear(), D = E.getMonth(), I = new Date(T, D, 1).getDay(), A = new Date(T, D + 1, 0), G = [], U = new Date(T, D, 0).getDate();
19535
+ for (let ue = I - 1; ue >= 0; ue--)
19529
19536
  G.push(new Date(T, D - 1, U - ue));
19530
- for (let ue = 1; ue <= I.getDate(); ue++)
19537
+ for (let ue = 1; ue <= A.getDate(); ue++)
19531
19538
  G.push(new Date(T, D, ue));
19532
19539
  const K = 42 - G.length;
19533
19540
  for (let ue = 1; ue <= K; ue++)
19534
19541
  G.push(new Date(T, D + 1, ue));
19535
19542
  return G;
19536
- }, F = (E) => !y || !h ? !1 : E >= y && E <= h, V = (E) => !y || !S ? !1 : E >= y && E <= S || E <= y && E >= S, P = (E) => {
19543
+ }, F = (E) => !y || !h ? !1 : E >= y && E <= h, V = (E) => !y || !S ? !1 : E >= y && E <= S || E <= y && E >= S, W = (E) => {
19537
19544
  !y || h ? (b(E), j(null)) : E < y ? (j(y), b(E), i && O(E, y)) : (j(E), i && O(y, E));
19538
19545
  }, Z = (E) => {
19539
19546
  N(E);
@@ -19541,37 +19548,37 @@ const kh = ({
19541
19548
  (h.getTime() - y.getTime()) / (1e3 * 60 * 60 * 24)
19542
19549
  ) + 1, J = (E, T) => {
19543
19550
  const D = new Date(E.getFullYear(), E.getMonth() - 1, 1);
19544
- s && D < new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1) && T || (T ? k(D) : (R(D), D.getMonth() === M.getMonth() && k(
19551
+ s && D < new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1) && T || (T ? k(D) : ($(D), D.getMonth() === M.getMonth() && k(
19545
19552
  new Date(D.getFullYear(), D.getMonth() - 1, 1)
19546
19553
  )));
19547
- }, W = (E, T) => {
19554
+ }, _ = (E, T) => {
19548
19555
  const D = new Date(E.getFullYear(), E.getMonth() + 1, 1);
19549
- T ? (k(D), D.getMonth() === w.getMonth() && R(
19556
+ T ? (k(D), D.getMonth() === w.getMonth() && $(
19550
19557
  new Date(D.getFullYear(), D.getMonth() + 1, 1)
19551
- )) : R(D);
19558
+ )) : $(D);
19552
19559
  }, z = (E) => {
19553
19560
  const D = E.toLocaleDateString(m.code, {
19554
19561
  weekday: "short",
19555
19562
  day: "numeric",
19556
19563
  month: "short",
19557
19564
  year: "2-digit"
19558
- }).split(" "), H = D[0].charAt(0).toUpperCase() + D[0].slice(1), $ = D[1], I = D[2].charAt(0).toUpperCase() + D[2].slice(1), G = D[3];
19559
- return `${H} ${$} de ${I} ${G}`;
19565
+ }).split(" "), H = D[0].charAt(0).toUpperCase() + D[0].slice(1), I = D[1], A = D[2].charAt(0).toUpperCase() + D[2].slice(1), G = D[3];
19566
+ return `${H} ${I} de ${A} ${G}`;
19560
19567
  }, v = () => {
19561
19568
  const E = /* @__PURE__ */ new Date();
19562
- b(null), j(null), k(E), R(new Date((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() + 1))), B(!1), o({
19569
+ b(null), j(null), k(E), $(new Date((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() + 1))), L(!1), o({
19563
19570
  startDate: null,
19564
19571
  endDate: null
19565
19572
  }), p();
19566
19573
  }, x = () => {
19567
- B(!1);
19574
+ L(!1);
19568
19575
  const E = at(y), T = at(h);
19569
19576
  r({
19570
19577
  startDate: E,
19571
19578
  endDate: T
19572
19579
  }), u(!1);
19573
19580
  }, O = (E, T) => {
19574
- b(E), j(T), B(!1);
19581
+ b(E), j(T), L(!1);
19575
19582
  const D = at(E), H = at(T);
19576
19583
  r({
19577
19584
  startDate: D,
@@ -19579,12 +19586,12 @@ const kh = ({
19579
19586
  }), u(!1);
19580
19587
  };
19581
19588
  return {
19582
- isOpen: _,
19589
+ isOpen: P,
19583
19590
  endDate: h,
19584
19591
  language: m,
19585
19592
  leftMonth: M,
19586
19593
  startDate: y,
19587
- setIsOpen: B,
19594
+ setIsOpen: L,
19588
19595
  hoverDate: S,
19589
19596
  rightMonth: w,
19590
19597
  formatDate: z,
@@ -19592,17 +19599,17 @@ const kh = ({
19592
19599
  handleCancel: v,
19593
19600
  isDateInRange: F,
19594
19601
  getDaysInMonth: f,
19595
- isDateDisabled: L,
19596
- handleDateClick: P,
19602
+ isDateDisabled: B,
19603
+ handleDateClick: W,
19597
19604
  handleDateHover: Z,
19598
19605
  handlePrevClick: J,
19599
- handleNextClick: W,
19606
+ handleNextClick: _,
19600
19607
  getDaysSelected: Y,
19601
19608
  isDateInHoverRange: V,
19602
19609
  keyReset: g,
19603
19610
  resetSelect: p,
19604
19611
  handleBasicSelect: ({ value: E }) => {
19605
- E === "custom" ? (u(!0), B(!1)) : r({ value: E });
19612
+ E === "custom" ? (u(!0), L(!1)) : r({ value: E });
19606
19613
  },
19607
19614
  isOpenCalendar: d,
19608
19615
  setIsOpenCalendar: u
@@ -19632,23 +19639,23 @@ const kh = ({
19632
19639
  const {
19633
19640
  keyReset: k,
19634
19641
  isOpen: w,
19635
- endDate: R,
19636
- language: _,
19637
- leftMonth: B,
19638
- startDate: L,
19642
+ endDate: $,
19643
+ language: P,
19644
+ leftMonth: L,
19645
+ startDate: B,
19639
19646
  setIsOpen: f,
19640
19647
  rightMonth: F,
19641
19648
  handleSearch: V,
19642
- handleCancel: P,
19649
+ handleCancel: W,
19643
19650
  isDateInRange: Z,
19644
19651
  getDaysInMonth: Y,
19645
19652
  isDateDisabled: J,
19646
- handleDateClick: W,
19653
+ handleDateClick: _,
19647
19654
  handleDateHover: z,
19648
19655
  handlePrevClick: v,
19649
19656
  handleNextClick: x,
19650
19657
  getDaysSelected: O,
19651
- isDateInHoverRange: A,
19658
+ isDateInHoverRange: R,
19652
19659
  handleBasicSelect: E,
19653
19660
  isOpenCalendar: T,
19654
19661
  setIsOpenCalendar: D
@@ -19663,19 +19670,19 @@ const kh = ({
19663
19670
  disablePastDaysCount: N
19664
19671
  }), H = xe(null);
19665
19672
  se(() => {
19666
- const I = (G) => {
19667
- H.current && !H.current.contains(G.target) && (w || T) && (f(!1), D(!1), o || P());
19673
+ const A = (G) => {
19674
+ H.current && !H.current.contains(G.target) && (w || T) && (f(!1), D(!1), o || W());
19668
19675
  };
19669
- return document.addEventListener("mousedown", I), () => {
19670
- document.removeEventListener("mousedown", I);
19676
+ return document.addEventListener("mousedown", A), () => {
19677
+ document.removeEventListener("mousedown", A);
19671
19678
  };
19672
- }, [R, P, w, f, L, o, T, D]);
19673
- const $ = (I, G = !0) => {
19674
- const U = Y(I), ne = I.getMonth(), K = (le, fe) => [
19679
+ }, [$, W, w, f, B, o, T, D]);
19680
+ const I = (A, G = !0) => {
19681
+ const U = Y(A), ne = A.getMonth(), K = (le, fe) => [
19675
19682
  le && le.getMonth() !== ne ? "other-month" : "",
19676
19683
  le && Z(le) ? "in-range" : "",
19677
- le && A(le) ? "hover-range" : "",
19678
- le && (le.getTime() === (L == null ? void 0 : L.getTime()) || le.getTime() === (R == null ? void 0 : R.getTime())) ? "selected" : "",
19684
+ le && R(le) ? "hover-range" : "",
19685
+ le && (le.getTime() === (B == null ? void 0 : B.getTime()) || le.getTime() === ($ == null ? void 0 : $.getTime())) ? "selected" : "",
19679
19686
  J(le, fe) ? "disabled" : ""
19680
19687
  ].join(" "), ue = ({
19681
19688
  date: le,
@@ -19704,36 +19711,36 @@ const kh = ({
19704
19711
  "button",
19705
19712
  {
19706
19713
  className: "calendar-nav-button",
19707
- onClick: () => v(I, G),
19714
+ onClick: () => v(A, G),
19708
19715
  disabled: jn(
19709
- new Date(I.getFullYear(), I.getMonth() - 1, 1),
19716
+ new Date(A.getFullYear(), A.getMonth() - 1, 1),
19710
19717
  !0,
19711
- L,
19718
+ B,
19712
19719
  i
19713
19720
  ) || ue({
19714
- date: I,
19721
+ date: A,
19715
19722
  isLeftCalendar: G,
19716
19723
  disablePastDates: r,
19717
- leftMonth: B
19724
+ leftMonth: L
19718
19725
  }),
19719
19726
  children: /* @__PURE__ */ t.jsx("span", { className: "sr-only", children: /* @__PURE__ */ t.jsx(Gs, { style: { width: "15px" } }) })
19720
19727
  }
19721
19728
  ),
19722
19729
  /* @__PURE__ */ t.jsxs("h2", { className: "calendar-title", children: [
19723
- _.MONTHS[I.getMonth()],
19724
- /* @__PURE__ */ t.jsx("p", { children: I.getFullYear() })
19730
+ P.MONTHS[A.getMonth()],
19731
+ /* @__PURE__ */ t.jsx("p", { children: A.getFullYear() })
19725
19732
  ] }),
19726
19733
  /* @__PURE__ */ t.jsx(
19727
19734
  "button",
19728
19735
  {
19729
19736
  className: "calendar-nav-button",
19730
- onClick: () => x(I, G),
19737
+ onClick: () => x(A, G),
19731
19738
  disabled: jn(
19732
- new Date(I.getFullYear(), I.getMonth() + 1, 1),
19739
+ new Date(A.getFullYear(), A.getMonth() + 1, 1),
19733
19740
  !1,
19734
- L,
19741
+ B,
19735
19742
  i
19736
- ) || g && new Date(I.getFullYear(), I.getMonth(), 1).getTime() >= new Date(
19743
+ ) || g && new Date(A.getFullYear(), A.getMonth(), 1).getTime() >= new Date(
19737
19744
  (/* @__PURE__ */ new Date()).getFullYear(),
19738
19745
  (/* @__PURE__ */ new Date()).getMonth(),
19739
19746
  1
@@ -19749,7 +19756,7 @@ const kh = ({
19749
19756
  style: { gridTemplateColumns: `repeat(7, ${c})` },
19750
19757
  children: [
19751
19758
  /* @__PURE__ */ t.jsx("div", { className: "background-days" }),
19752
- _.DAYS.map((le) => /* @__PURE__ */ t.jsx(
19759
+ P.DAYS.map((le) => /* @__PURE__ */ t.jsx(
19753
19760
  "div",
19754
19761
  {
19755
19762
  className: "calendar-day-header",
@@ -19766,7 +19773,7 @@ const kh = ({
19766
19773
  G
19767
19774
  )}`,
19768
19775
  disabled: !le || J(le),
19769
- onClick: () => le && !J(le) && W(le),
19776
+ onClick: () => le && !J(le) && _(le),
19770
19777
  onMouseEnter: () => le && !J(le) && z(le),
19771
19778
  onMouseLeave: () => z(null),
19772
19779
  children: /* @__PURE__ */ t.jsx(
@@ -19785,7 +19792,7 @@ const kh = ({
19785
19792
  ] });
19786
19793
  };
19787
19794
  return se(() => {
19788
- M && P();
19795
+ M && W();
19789
19796
  }, [M]), se(() => {
19790
19797
  w && D(!1);
19791
19798
  }, [w]), /* @__PURE__ */ t.jsxs("div", { className: "container-date-range-picker", children: [
@@ -19826,10 +19833,10 @@ const kh = ({
19826
19833
  },
19827
19834
  children: [
19828
19835
  /* @__PURE__ */ t.jsxs("div", { className: "calendars-wrapper", children: [
19829
- $(B, !0),
19830
- $(F, !1)
19836
+ I(L, !0),
19837
+ I(F, !1)
19831
19838
  ] }),
19832
- !m && /* @__PURE__ */ t.jsx("div", { className: "date-picker-footer", children: L && R && /* @__PURE__ */ t.jsxs(
19839
+ !m && /* @__PURE__ */ t.jsx("div", { className: "date-picker-footer", children: B && $ && /* @__PURE__ */ t.jsxs(
19833
19840
  "div",
19834
19841
  {
19835
19842
  style: {
@@ -19842,20 +19849,20 @@ const kh = ({
19842
19849
  /* @__PURE__ */ t.jsxs("div", { className: "days-selected", children: [
19843
19850
  O(),
19844
19851
  " ",
19845
- _.days
19852
+ P.days
19846
19853
  ] }),
19847
19854
  /* @__PURE__ */ t.jsxs("div", { className: "date-picker-actions", children: [
19848
19855
  /* @__PURE__ */ t.jsx(
19849
19856
  Us,
19850
19857
  {
19851
19858
  buttonProperties: {
19852
- onClick: () => P(),
19859
+ onClick: () => W(),
19853
19860
  style: {
19854
19861
  width: "115px",
19855
19862
  textAlign: "center"
19856
19863
  }
19857
19864
  },
19858
- children: _.cancel
19865
+ children: P.cancel
19859
19866
  }
19860
19867
  ),
19861
19868
  /* @__PURE__ */ t.jsx(
@@ -19868,7 +19875,7 @@ const kh = ({
19868
19875
  textAlign: "center"
19869
19876
  }
19870
19877
  },
19871
- children: _.search
19878
+ children: P.search
19872
19879
  }
19873
19880
  )
19874
19881
  ] })
@@ -19881,7 +19888,7 @@ const kh = ({
19881
19888
  ]
19882
19889
  }
19883
19890
  ),
19884
- L && R && o && /* @__PURE__ */ t.jsx("button", { className: "button-reset", onClick: () => P(), children: /* @__PURE__ */ t.jsx(zs, {}) })
19891
+ B && $ && o && /* @__PURE__ */ t.jsx("button", { className: "button-reset", onClick: () => W(), children: /* @__PURE__ */ t.jsx(zs, {}) })
19885
19892
  ] });
19886
19893
  };
19887
19894
  Ch.propTypes = {
@@ -20631,13 +20638,13 @@ const gs = (e, s = "100px", r, i, o) => ({
20631
20638
  widthOptions: M,
20632
20639
  fontSizeOptions: k,
20633
20640
  nameOfKeyState: w = "Estado",
20634
- texAlignTHead: R = "start",
20635
- textAlignTBody: _ = "start",
20636
- fontSizeState: B,
20637
- fontStyleTBody: L = "normal",
20641
+ texAlignTHead: $ = "start",
20642
+ textAlignTBody: P = "start",
20643
+ fontSizeState: L,
20644
+ fontStyleTBody: B = "normal",
20638
20645
  fontStyleTHead: f = "normal"
20639
20646
  }) => {
20640
- const [F, V] = X({}), P = (z) => {
20647
+ const [F, V] = X({}), W = (z) => {
20641
20648
  V((v) => ({ ...v, [z]: !v[z] }));
20642
20649
  }, Z = (z) => {
20643
20650
  s(z);
@@ -20645,7 +20652,7 @@ const gs = (e, s = "100px", r, i, o) => ({
20645
20652
  m(z);
20646
20653
  }, J = e.length > 0 ? Object.keys(e[0]).filter(
20647
20654
  (z) => z !== "subData" && !i.includes(z)
20648
- ) : [], W = (z) => z !== "Inactivo" ? "#8598ad" : "#7c7c7c";
20655
+ ) : [], _ = (z) => z !== "Inactivo" ? "#8598ad" : "#7c7c7c";
20649
20656
  return /* @__PURE__ */ t.jsxs("table", { className: "table-ixc", style: { width: r, minHeight: d }, children: [
20650
20657
  /* @__PURE__ */ t.jsx("thead", { children: /* @__PURE__ */ t.jsxs("tr", { children: [
20651
20658
  /* @__PURE__ */ t.jsx("th", {}),
@@ -20654,7 +20661,7 @@ const gs = (e, s = "100px", r, i, o) => ({
20654
20661
  {
20655
20662
  style: {
20656
20663
  fontSize: S,
20657
- textAlign: R,
20664
+ textAlign: $,
20658
20665
  fontStyle: f
20659
20666
  },
20660
20667
  children: z.replace(/_/g, " ")
@@ -20666,7 +20673,7 @@ const gs = (e, s = "100px", r, i, o) => ({
20666
20673
  {
20667
20674
  style: {
20668
20675
  fontSize: S,
20669
- textAlign: R,
20676
+ textAlign: $,
20670
20677
  fontStyle: f
20671
20678
  },
20672
20679
  children: l
@@ -20681,7 +20688,7 @@ const gs = (e, s = "100px", r, i, o) => ({
20681
20688
  style: {
20682
20689
  fontSize: c,
20683
20690
  textAlign: "center",
20684
- fontStyle: L
20691
+ fontStyle: B
20685
20692
  },
20686
20693
  children: a
20687
20694
  }
@@ -20693,7 +20700,7 @@ const gs = (e, s = "100px", r, i, o) => ({
20693
20700
  /* @__PURE__ */ t.jsx("td", { children: /* @__PURE__ */ t.jsx(
20694
20701
  "button",
20695
20702
  {
20696
- onClick: () => P(z.id),
20703
+ onClick: () => W(z.id),
20697
20704
  className: "reset-styles-button",
20698
20705
  style: { width: "100%" },
20699
20706
  children: /* @__PURE__ */ t.jsx(
@@ -20708,17 +20715,17 @@ const gs = (e, s = "100px", r, i, o) => ({
20708
20715
  "td",
20709
20716
  {
20710
20717
  style: {
20711
- color: x !== w ? W(z.Estado) : "black",
20718
+ color: x !== w ? _(z.Estado) : "black",
20712
20719
  padding: x === w ? "0 9px" : "10px",
20713
20720
  fontSize: N,
20714
- textAlign: _,
20715
- fontStyle: L
20721
+ textAlign: P,
20722
+ fontStyle: B
20716
20723
  },
20717
20724
  children: x === w ? gs(
20718
20725
  z[x],
20719
20726
  p,
20720
- B,
20721
- _ === "center"
20727
+ L,
20728
+ P === "center"
20722
20729
  ) : z[x] || "-"
20723
20730
  },
20724
20731
  O
@@ -20741,7 +20748,7 @@ const gs = (e, s = "100px", r, i, o) => ({
20741
20748
  onClick: () => Z(z),
20742
20749
  style: {
20743
20750
  fontSize: N,
20744
- fontStyle: L
20751
+ fontStyle: B
20745
20752
  },
20746
20753
  children: o
20747
20754
  }
@@ -20759,7 +20766,7 @@ const gs = (e, s = "100px", r, i, o) => ({
20759
20766
  O
20760
20767
  )) }),
20761
20768
  F[z.id] && z.subData.length > 0 && z.subData.map((x, O) => {
20762
- var A;
20769
+ var R;
20763
20770
  return /* @__PURE__ */ t.jsxs("tr", { className: "sub-row", children: [
20764
20771
  /* @__PURE__ */ t.jsx("td", {}),
20765
20772
  " ",
@@ -20767,22 +20774,22 @@ const gs = (e, s = "100px", r, i, o) => ({
20767
20774
  "td",
20768
20775
  {
20769
20776
  style: {
20770
- color: E !== w ? W(x.Estado) : "black",
20777
+ color: E !== w ? _(x.Estado) : "black",
20771
20778
  padding: E === w ? "0 9px" : "10px",
20772
20779
  fontSize: N,
20773
- textAlign: _,
20774
- fontStyle: L
20780
+ textAlign: P,
20781
+ fontStyle: B
20775
20782
  },
20776
20783
  children: E === w ? gs(
20777
20784
  x[E],
20778
20785
  p,
20779
- B,
20780
- _ === "center"
20786
+ L,
20787
+ P === "center"
20781
20788
  ) : x[E] || "-"
20782
20789
  },
20783
20790
  T
20784
20791
  )),
20785
- ((A = x == null ? void 0 : x.options) == null ? void 0 : A.length) > 0 ? /* @__PURE__ */ t.jsx("td", { style: { overflow: "visible" }, children: /* @__PURE__ */ t.jsx(
20792
+ ((R = x == null ? void 0 : x.options) == null ? void 0 : R.length) > 0 ? /* @__PURE__ */ t.jsx("td", { style: { overflow: "visible" }, children: /* @__PURE__ */ t.jsx(
20786
20793
  Xt,
20787
20794
  {
20788
20795
  onClick: (E) => {
@@ -20800,7 +20807,7 @@ const gs = (e, s = "100px", r, i, o) => ({
20800
20807
  onClick: () => Y(x),
20801
20808
  style: {
20802
20809
  fontSize: N,
20803
- fontStyle: L
20810
+ fontStyle: B
20804
20811
  },
20805
20812
  children: o
20806
20813
  }
@@ -20933,7 +20940,7 @@ const _h = ({
20933
20940
  },
20934
20941
  children: [
20935
20942
  /* @__PURE__ */ t.jsx("thead", { children: /* @__PURE__ */ t.jsxs("tr", { children: [
20936
- k.map((w, R) => /* @__PURE__ */ t.jsxs(
20943
+ k.map((w, $) => /* @__PURE__ */ t.jsxs(
20937
20944
  "th",
20938
20945
  {
20939
20946
  className: "relative",
@@ -20957,7 +20964,7 @@ const _h = ({
20957
20964
  o && o[w] && j === w && /* @__PURE__ */ t.jsx("div", { className: "tooltipTable", style: { top: i }, children: /* @__PURE__ */ t.jsx(_i, { fontSize: l, children: o[w] }) })
20958
20965
  ]
20959
20966
  },
20960
- R
20967
+ $
20961
20968
  )),
20962
20969
  k.length === 0 && /* @__PURE__ */ t.jsx("th", { className: "messageEmpty", children: "." })
20963
20970
  ] }) }),
@@ -20976,7 +20983,7 @@ const _h = ({
20976
20983
  children: a
20977
20984
  }
20978
20985
  ) }),
20979
- e.map((w, R) => /* @__PURE__ */ t.jsx("tr", { children: k.map((_, B) => /* @__PURE__ */ t.jsx(
20986
+ e.map((w, $) => /* @__PURE__ */ t.jsx("tr", { children: k.map((P, L) => /* @__PURE__ */ t.jsx(
20980
20987
  "td",
20981
20988
  {
20982
20989
  style: {
@@ -20987,10 +20994,10 @@ const _h = ({
20987
20994
  overflow: b ? "auto" : "hidden",
20988
20995
  height: y
20989
20996
  },
20990
- children: w[_]
20997
+ children: w[P]
20991
20998
  },
20992
- B
20993
- )) }, (w == null ? void 0 : w.id) || R))
20999
+ L
21000
+ )) }, (w == null ? void 0 : w.id) || $))
20994
21001
  ] })
20995
21002
  ]
20996
21003
  }
@@ -21061,21 +21068,21 @@ const Lh = ({
21061
21068
  }
21062
21069
  ) }),
21063
21070
  e.map((k, w) => {
21064
- var R;
21071
+ var $;
21065
21072
  return /* @__PURE__ */ t.jsxs("tr", { children: [
21066
- M.map((_, B) => /* @__PURE__ */ t.jsx(
21073
+ M.map((P, L) => /* @__PURE__ */ t.jsx(
21067
21074
  "td",
21068
21075
  {
21069
21076
  style: { textAlign: h, fontSize: S },
21070
- children: k[_]
21077
+ children: k[P]
21071
21078
  },
21072
- B
21079
+ L
21073
21080
  )),
21074
- ((R = k == null ? void 0 : k.options) == null ? void 0 : R.length) > 0 ? /* @__PURE__ */ t.jsx("td", { style: { overflow: "visible" }, children: /* @__PURE__ */ t.jsx(
21081
+ (($ = k == null ? void 0 : k.options) == null ? void 0 : $.length) > 0 ? /* @__PURE__ */ t.jsx("td", { style: { overflow: "visible" }, children: /* @__PURE__ */ t.jsx(
21075
21082
  Xt,
21076
21083
  {
21077
- onClick: (_) => {
21078
- p({ option: _, row: k });
21084
+ onClick: (P) => {
21085
+ p({ option: P, row: k });
21079
21086
  },
21080
21087
  options: [...k.options],
21081
21088
  fontSize: y,
@@ -21348,11 +21355,11 @@ const Hh = ({
21348
21355
  textAlignTBody: M = "start",
21349
21356
  fontSizeState: k,
21350
21357
  heightStates: w = "18px",
21351
- heightTd: R = "30px",
21352
- fontStyleTBody: _ = "normal",
21353
- fontStyleTHead: B = "normal"
21358
+ heightTd: $ = "30px",
21359
+ fontStyleTBody: P = "normal",
21360
+ fontStyleTHead: L = "normal"
21354
21361
  }) => {
21355
- const L = (V) => {
21362
+ const B = (V) => {
21356
21363
  s(V);
21357
21364
  }, f = (e == null ? void 0 : e.length) > 0 ? Object.keys(e[0]).filter(
21358
21365
  (V) => V !== "options" && !j.includes(V)
@@ -21361,20 +21368,20 @@ const Hh = ({
21361
21368
  "table",
21362
21369
  {
21363
21370
  className: "table-ixc",
21364
- style: { width: r, minHeight: c, fontStyle: _ },
21371
+ style: { width: r, minHeight: c, fontStyle: P },
21365
21372
  children: [
21366
21373
  /* @__PURE__ */ t.jsx("thead", { children: /* @__PURE__ */ t.jsxs("tr", { children: [
21367
- f.map((V, P) => /* @__PURE__ */ t.jsx(
21374
+ f.map((V, W) => /* @__PURE__ */ t.jsx(
21368
21375
  "th",
21369
21376
  {
21370
21377
  style: {
21371
21378
  fontSize: m,
21372
21379
  textAlign: N,
21373
- fontStyle: B
21380
+ fontStyle: L
21374
21381
  },
21375
21382
  children: V
21376
21383
  },
21377
- P
21384
+ W
21378
21385
  )),
21379
21386
  f.length > 0 ? /* @__PURE__ */ t.jsx(
21380
21387
  "th",
@@ -21382,7 +21389,7 @@ const Hh = ({
21382
21389
  style: {
21383
21390
  fontSize: m,
21384
21391
  textAlign: N,
21385
- fontStyle: B
21392
+ fontStyle: L
21386
21393
  },
21387
21394
  children: o
21388
21395
  }
@@ -21396,12 +21403,12 @@ const Hh = ({
21396
21403
  style: {
21397
21404
  fontSize: a,
21398
21405
  textAlign: "center",
21399
- fontStyle: _
21406
+ fontStyle: P
21400
21407
  },
21401
21408
  children: l
21402
21409
  }
21403
21410
  ) }),
21404
- e.map((V, P) => {
21411
+ e.map((V, W) => {
21405
21412
  var Z;
21406
21413
  return /* @__PURE__ */ t.jsxs("tr", { children: [
21407
21414
  f.map((Y, J) => /* @__PURE__ */ t.jsx(
@@ -21411,8 +21418,8 @@ const Hh = ({
21411
21418
  fontSize: y,
21412
21419
  textAlign: M,
21413
21420
  color: Y !== S ? F(V.Estado) : "black",
21414
- height: R,
21415
- fontStyle: _
21421
+ height: $,
21422
+ fontStyle: P
21416
21423
  },
21417
21424
  children: Y === S ? gs(
21418
21425
  V[Y],
@@ -21429,8 +21436,8 @@ const Hh = ({
21429
21436
  {
21430
21437
  style: {
21431
21438
  overflow: "visible",
21432
- height: R,
21433
- fontStyle: _
21439
+ height: $,
21440
+ fontStyle: P
21434
21441
  },
21435
21442
  children: /* @__PURE__ */ t.jsx(
21436
21443
  Xt,
@@ -21444,23 +21451,23 @@ const Hh = ({
21444
21451
  }
21445
21452
  )
21446
21453
  }
21447
- ) : /* @__PURE__ */ t.jsx("td", { style: { height: R, fontStyle: _ }, children: /* @__PURE__ */ t.jsxs("div", { className: "action-icon", children: [
21454
+ ) : /* @__PURE__ */ t.jsx("td", { style: { height: $, fontStyle: P }, children: /* @__PURE__ */ t.jsxs("div", { className: "action-icon", children: [
21448
21455
  i && /* @__PURE__ */ t.jsx(
21449
21456
  "button",
21450
21457
  {
21451
21458
  className: "edit-button",
21452
- onClick: () => L(V),
21459
+ onClick: () => B(V),
21453
21460
  style: {
21454
21461
  fontSize: y,
21455
21462
  textAlign: M,
21456
- fontStyle: _
21463
+ fontStyle: P
21457
21464
  },
21458
21465
  children: i
21459
21466
  }
21460
21467
  ),
21461
21468
  /* @__PURE__ */ t.jsx("button", { className: "edit-icon", onClick: () => d(V), children: u })
21462
21469
  ] }) })
21463
- ] }, (V == null ? void 0 : V.id) || P);
21470
+ ] }, (V == null ? void 0 : V.id) || W);
21464
21471
  })
21465
21472
  ] })
21466
21473
  ]