ixc-library-portal 1.1.33 → 1.1.35

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.
@@ -26,11 +26,11 @@ var Kr;
26
26
  function Fi() {
27
27
  if (Kr) return ye;
28
28
  Kr = 1;
29
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, i = 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, x = e ? Symbol.for("react.memo") : 60115, v = 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
- function T(w) {
29
+ var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, i = 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, x = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, j = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, N = e ? Symbol.for("react.scope") : 60119;
30
+ function C(w) {
31
31
  if (typeof w == "object" && w !== null) {
32
- var E = w.$$typeof;
33
- switch (E) {
32
+ var D = w.$$typeof;
33
+ switch (D) {
34
34
  case r:
35
35
  switch (w = w.type, w) {
36
36
  case d:
@@ -49,44 +49,44 @@ function Fi() {
49
49
  case a:
50
50
  return w;
51
51
  default:
52
- return E;
52
+ return D;
53
53
  }
54
54
  }
55
55
  case s:
56
- return E;
56
+ return D;
57
57
  }
58
58
  }
59
59
  }
60
60
  function k(w) {
61
- return T(w) === u;
61
+ return C(w) === u;
62
62
  }
63
63
  return ye.AsyncMode = d, ye.ConcurrentMode = u, ye.ContextConsumer = c, ye.ContextProvider = a, ye.Element = r, ye.ForwardRef = g, ye.Fragment = o, ye.Lazy = v, ye.Memo = x, ye.Portal = s, ye.Profiler = l, ye.StrictMode = i, ye.Suspense = p, ye.isAsyncMode = function(w) {
64
- return k(w) || T(w) === d;
64
+ return k(w) || C(w) === d;
65
65
  }, ye.isConcurrentMode = k, ye.isContextConsumer = function(w) {
66
- return T(w) === c;
66
+ return C(w) === c;
67
67
  }, ye.isContextProvider = function(w) {
68
- return T(w) === a;
68
+ return C(w) === a;
69
69
  }, ye.isElement = function(w) {
70
70
  return typeof w == "object" && w !== null && w.$$typeof === r;
71
71
  }, ye.isForwardRef = function(w) {
72
- return T(w) === g;
72
+ return C(w) === g;
73
73
  }, ye.isFragment = function(w) {
74
- return T(w) === o;
74
+ return C(w) === o;
75
75
  }, ye.isLazy = function(w) {
76
- return T(w) === v;
76
+ return C(w) === v;
77
77
  }, ye.isMemo = function(w) {
78
- return T(w) === x;
78
+ return C(w) === x;
79
79
  }, ye.isPortal = function(w) {
80
- return T(w) === s;
80
+ return C(w) === s;
81
81
  }, ye.isProfiler = function(w) {
82
- return T(w) === l;
82
+ return C(w) === l;
83
83
  }, ye.isStrictMode = function(w) {
84
- return T(w) === i;
84
+ return C(w) === i;
85
85
  }, ye.isSuspense = function(w) {
86
- return T(w) === p;
86
+ return C(w) === p;
87
87
  }, ye.isValidElementType = function(w) {
88
- return typeof w == "string" || typeof w == "function" || w === o || w === u || w === l || w === i || w === p || w === m || typeof w == "object" && w !== null && (w.$$typeof === v || w.$$typeof === x || w.$$typeof === a || w.$$typeof === c || w.$$typeof === g || w.$$typeof === j || w.$$typeof === S || w.$$typeof === N || w.$$typeof === h);
89
- }, ye.typeOf = T, ye;
88
+ return typeof w == "string" || typeof w == "function" || w === o || w === u || w === l || w === i || w === p || w === m || typeof w == "object" && w !== null && (w.$$typeof === v || w.$$typeof === x || w.$$typeof === a || w.$$typeof === c || w.$$typeof === g || w.$$typeof === j || w.$$typeof === T || w.$$typeof === N || w.$$typeof === h);
89
+ }, ye.typeOf = C, ye;
90
90
  }
91
91
  var xe = {};
92
92
  /** @license React v16.13.1
@@ -100,10 +100,10 @@ var xe = {};
100
100
  var Xr;
101
101
  function Bi() {
102
102
  return Xr || (Xr = 1, process.env.NODE_ENV !== "production" && function() {
103
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, i = 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, x = e ? Symbol.for("react.memo") : 60115, v = 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;
104
- function T(U) {
103
+ var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, i = 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, x = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, j = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, N = e ? Symbol.for("react.scope") : 60119;
104
+ function C(U) {
105
105
  return typeof U == "string" || typeof U == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
106
- U === o || U === u || U === l || U === i || U === p || U === m || typeof U == "object" && U !== null && (U.$$typeof === v || U.$$typeof === x || U.$$typeof === a || U.$$typeof === c || U.$$typeof === g || U.$$typeof === j || U.$$typeof === S || U.$$typeof === N || U.$$typeof === h);
106
+ U === o || U === u || U === l || U === i || U === p || U === m || typeof U == "object" && U !== null && (U.$$typeof === v || U.$$typeof === x || U.$$typeof === a || U.$$typeof === c || U.$$typeof === g || U.$$typeof === j || U.$$typeof === T || U.$$typeof === N || U.$$typeof === h);
107
107
  }
108
108
  function k(U) {
109
109
  if (typeof U == "object" && U !== null) {
@@ -137,47 +137,47 @@ function Bi() {
137
137
  }
138
138
  }
139
139
  }
140
- var w = d, E = u, F = c, Y = a, B = r, f = g, W = o, L = v, H = x, X = s, q = l, Q = i, V = p, $ = !1;
141
- function O(U) {
142
- return $ || ($ = !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.")), y(U) || k(U) === d;
140
+ var w = d, D = u, F = c, Y = a, B = r, f = g, _ = o, L = v, H = x, X = s, q = l, Q = i, V = p, P = !1;
141
+ function A(U) {
142
+ return P || (P = !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.")), y(U) || k(U) === d;
143
143
  }
144
144
  function y(U) {
145
145
  return k(U) === u;
146
146
  }
147
- function z(U) {
147
+ function M(U) {
148
148
  return k(U) === c;
149
149
  }
150
150
  function R(U) {
151
151
  return k(U) === a;
152
152
  }
153
- function C(U) {
153
+ function z(U) {
154
154
  return typeof U == "object" && U !== null && U.$$typeof === r;
155
155
  }
156
- function D(U) {
156
+ function E(U) {
157
157
  return k(U) === g;
158
158
  }
159
- function M(U) {
159
+ function S(U) {
160
160
  return k(U) === o;
161
161
  }
162
- function _(U) {
162
+ function W(U) {
163
163
  return k(U) === v;
164
164
  }
165
165
  function I(U) {
166
166
  return k(U) === x;
167
167
  }
168
- function A(U) {
168
+ function O(U) {
169
169
  return k(U) === s;
170
170
  }
171
- function G(U) {
171
+ function K(U) {
172
172
  return k(U) === l;
173
173
  }
174
- function K(U) {
174
+ function G(U) {
175
175
  return k(U) === i;
176
176
  }
177
177
  function re(U) {
178
178
  return k(U) === p;
179
179
  }
180
- xe.AsyncMode = w, xe.ConcurrentMode = E, xe.ContextConsumer = F, xe.ContextProvider = Y, xe.Element = B, xe.ForwardRef = f, xe.Fragment = W, xe.Lazy = L, xe.Memo = H, xe.Portal = X, xe.Profiler = q, xe.StrictMode = Q, xe.Suspense = V, xe.isAsyncMode = O, xe.isConcurrentMode = y, xe.isContextConsumer = z, xe.isContextProvider = R, xe.isElement = C, xe.isForwardRef = D, xe.isFragment = M, xe.isLazy = _, xe.isMemo = I, xe.isPortal = A, xe.isProfiler = G, xe.isStrictMode = K, xe.isSuspense = re, xe.isValidElementType = T, xe.typeOf = k;
180
+ xe.AsyncMode = w, xe.ConcurrentMode = D, xe.ContextConsumer = F, xe.ContextProvider = Y, xe.Element = B, xe.ForwardRef = f, xe.Fragment = _, xe.Lazy = L, xe.Memo = H, xe.Portal = X, xe.Profiler = q, xe.StrictMode = Q, xe.Suspense = V, xe.isAsyncMode = A, xe.isConcurrentMode = y, xe.isContextConsumer = M, xe.isContextProvider = R, xe.isElement = z, xe.isForwardRef = E, xe.isFragment = S, xe.isLazy = W, xe.isMemo = I, xe.isPortal = O, xe.isProfiler = K, xe.isStrictMode = G, xe.isSuspense = re, xe.isValidElementType = C, xe.typeOf = k;
181
181
  }()), xe;
182
182
  }
183
183
  var Jr;
@@ -315,24 +315,24 @@ function Zi() {
315
315
  return Fn = function(c, d) {
316
316
  var u = typeof Symbol == "function" && Symbol.iterator, g = "@@iterator";
317
317
  function p(y) {
318
- var z = y && (u && y[u] || y[g]);
319
- if (typeof z == "function")
320
- return z;
318
+ var M = y && (u && y[u] || y[g]);
319
+ if (typeof M == "function")
320
+ return M;
321
321
  }
322
322
  var m = "<<anonymous>>", x = {
323
- array: S("array"),
324
- bigint: S("bigint"),
325
- bool: S("boolean"),
326
- func: S("function"),
327
- number: S("number"),
328
- object: S("object"),
329
- string: S("string"),
330
- symbol: S("symbol"),
323
+ array: T("array"),
324
+ bigint: T("bigint"),
325
+ bool: T("boolean"),
326
+ func: T("function"),
327
+ number: T("number"),
328
+ object: T("object"),
329
+ string: T("string"),
330
+ symbol: T("symbol"),
331
331
  any: N(),
332
- arrayOf: T,
332
+ arrayOf: C,
333
333
  element: k(),
334
334
  elementType: w(),
335
- instanceOf: E,
335
+ instanceOf: D,
336
336
  node: f(),
337
337
  objectOf: Y,
338
338
  oneOf: F,
@@ -340,209 +340,209 @@ function Zi() {
340
340
  shape: L,
341
341
  exact: H
342
342
  };
343
- function v(y, z) {
344
- return y === z ? y !== 0 || 1 / y === 1 / z : y !== y && z !== z;
343
+ function v(y, M) {
344
+ return y === M ? y !== 0 || 1 / y === 1 / M : y !== y && M !== M;
345
345
  }
346
- function h(y, z) {
347
- this.message = y, this.data = z && typeof z == "object" ? z : {}, this.stack = "";
346
+ function h(y, M) {
347
+ this.message = y, this.data = M && typeof M == "object" ? M : {}, this.stack = "";
348
348
  }
349
349
  h.prototype = Error.prototype;
350
350
  function j(y) {
351
351
  if (process.env.NODE_ENV !== "production")
352
- var z = {}, R = 0;
353
- function C(M, _, I, A, G, K, re) {
354
- if (A = A || m, K = K || I, re !== s) {
352
+ var M = {}, R = 0;
353
+ function z(S, W, I, O, K, G, re) {
354
+ if (O = O || m, G = G || I, re !== s) {
355
355
  if (d) {
356
356
  var U = 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 U.name = "Invariant Violation", U;
360
360
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
361
- var he = A + ":" + I;
362
- !z[he] && // Avoid spamming the console because they are often not actionable except for lib authors
361
+ var he = O + ":" + I;
362
+ !M[he] && // Avoid spamming the console because they are often not actionable except for lib authors
363
363
  R < 3 && (l(
364
- "You are manually calling a React.PropTypes validation function for the `" + K + "` 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
- ), z[he] = !0, R++);
364
+ "You are manually calling a React.PropTypes validation function for the `" + G + "` prop on `" + O + "`. 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
+ ), M[he] = !0, R++);
366
366
  }
367
367
  }
368
- return _[I] == null ? M ? _[I] === null ? new h("The " + G + " `" + K + "` is marked as required " + ("in `" + A + "`, but its value is `null`.")) : new h("The " + G + " `" + K + "` is marked as required in " + ("`" + A + "`, but its value is `undefined`.")) : null : y(_, I, A, G, K);
368
+ return W[I] == null ? S ? W[I] === null ? new h("The " + K + " `" + G + "` is marked as required " + ("in `" + O + "`, but its value is `null`.")) : new h("The " + K + " `" + G + "` is marked as required in " + ("`" + O + "`, but its value is `undefined`.")) : null : y(W, I, O, K, G);
369
369
  }
370
- var D = C.bind(null, !1);
371
- return D.isRequired = C.bind(null, !0), D;
370
+ var E = z.bind(null, !1);
371
+ return E.isRequired = z.bind(null, !0), E;
372
372
  }
373
- function S(y) {
374
- function z(R, C, D, M, _, I) {
375
- var A = R[C], G = Q(A);
376
- if (G !== y) {
377
- var K = V(A);
373
+ function T(y) {
374
+ function M(R, z, E, S, W, I) {
375
+ var O = R[z], K = Q(O);
376
+ if (K !== y) {
377
+ var G = V(O);
378
378
  return new h(
379
- "Invalid " + M + " `" + _ + "` of type " + ("`" + K + "` supplied to `" + D + "`, expected ") + ("`" + y + "`."),
379
+ "Invalid " + S + " `" + W + "` of type " + ("`" + G + "` supplied to `" + E + "`, expected ") + ("`" + y + "`."),
380
380
  { expectedType: y }
381
381
  );
382
382
  }
383
383
  return null;
384
384
  }
385
- return j(z);
385
+ return j(M);
386
386
  }
387
387
  function N() {
388
388
  return j(a);
389
389
  }
390
- function T(y) {
391
- function z(R, C, D, M, _) {
390
+ function C(y) {
391
+ function M(R, z, E, S, W) {
392
392
  if (typeof y != "function")
393
- return new h("Property `" + _ + "` of component `" + D + "` has invalid PropType notation inside arrayOf.");
394
- var I = R[C];
393
+ return new h("Property `" + W + "` of component `" + E + "` has invalid PropType notation inside arrayOf.");
394
+ var I = R[z];
395
395
  if (!Array.isArray(I)) {
396
- var A = Q(I);
397
- return new h("Invalid " + M + " `" + _ + "` of type " + ("`" + A + "` supplied to `" + D + "`, expected an array."));
396
+ var O = Q(I);
397
+ return new h("Invalid " + S + " `" + W + "` of type " + ("`" + O + "` supplied to `" + E + "`, expected an array."));
398
398
  }
399
- for (var G = 0; G < I.length; G++) {
400
- var K = y(I, G, D, M, _ + "[" + G + "]", s);
401
- if (K instanceof Error)
402
- return K;
399
+ for (var K = 0; K < I.length; K++) {
400
+ var G = y(I, K, E, S, W + "[" + K + "]", s);
401
+ if (G instanceof Error)
402
+ return G;
403
403
  }
404
404
  return null;
405
405
  }
406
- return j(z);
406
+ return j(M);
407
407
  }
408
408
  function k() {
409
- function y(z, R, C, D, M) {
410
- var _ = z[R];
411
- if (!c(_)) {
412
- var I = Q(_);
413
- return new h("Invalid " + D + " `" + M + "` of type " + ("`" + I + "` supplied to `" + C + "`, expected a single ReactElement."));
409
+ function y(M, R, z, E, S) {
410
+ var W = M[R];
411
+ if (!c(W)) {
412
+ var I = Q(W);
413
+ return new h("Invalid " + E + " `" + S + "` of type " + ("`" + I + "` supplied to `" + z + "`, expected a single ReactElement."));
414
414
  }
415
415
  return null;
416
416
  }
417
417
  return j(y);
418
418
  }
419
419
  function w() {
420
- function y(z, R, C, D, M) {
421
- var _ = z[R];
422
- if (!e.isValidElementType(_)) {
423
- var I = Q(_);
424
- return new h("Invalid " + D + " `" + M + "` of type " + ("`" + I + "` supplied to `" + C + "`, expected a single ReactElement type."));
420
+ function y(M, R, z, E, S) {
421
+ var W = M[R];
422
+ if (!e.isValidElementType(W)) {
423
+ var I = Q(W);
424
+ return new h("Invalid " + E + " `" + S + "` of type " + ("`" + I + "` supplied to `" + z + "`, expected a single ReactElement type."));
425
425
  }
426
426
  return null;
427
427
  }
428
428
  return j(y);
429
429
  }
430
- function E(y) {
431
- function z(R, C, D, M, _) {
432
- if (!(R[C] instanceof y)) {
433
- var I = y.name || m, A = O(R[C]);
434
- return new h("Invalid " + M + " `" + _ + "` of type " + ("`" + A + "` supplied to `" + D + "`, expected ") + ("instance of `" + I + "`."));
430
+ function D(y) {
431
+ function M(R, z, E, S, W) {
432
+ if (!(R[z] instanceof y)) {
433
+ var I = y.name || m, O = A(R[z]);
434
+ return new h("Invalid " + S + " `" + W + "` of type " + ("`" + O + "` supplied to `" + E + "`, expected ") + ("instance of `" + I + "`."));
435
435
  }
436
436
  return null;
437
437
  }
438
- return j(z);
438
+ return j(M);
439
439
  }
440
440
  function F(y) {
441
441
  if (!Array.isArray(y))
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 z(R, C, D, M, _) {
446
- for (var I = R[C], A = 0; A < y.length; A++)
447
- if (v(I, y[A]))
445
+ function M(R, z, E, S, W) {
446
+ for (var I = R[z], O = 0; O < y.length; O++)
447
+ if (v(I, y[O]))
448
448
  return null;
449
- var G = JSON.stringify(y, function(re, U) {
449
+ var K = JSON.stringify(y, function(re, U) {
450
450
  var he = V(U);
451
451
  return he === "symbol" ? String(U) : U;
452
452
  });
453
- return new h("Invalid " + M + " `" + _ + "` of value `" + String(I) + "` " + ("supplied to `" + D + "`, expected one of " + G + "."));
453
+ return new h("Invalid " + S + " `" + W + "` of value `" + String(I) + "` " + ("supplied to `" + E + "`, expected one of " + K + "."));
454
454
  }
455
- return j(z);
455
+ return j(M);
456
456
  }
457
457
  function Y(y) {
458
- function z(R, C, D, M, _) {
458
+ function M(R, z, E, S, W) {
459
459
  if (typeof y != "function")
460
- return new h("Property `" + _ + "` of component `" + D + "` has invalid PropType notation inside objectOf.");
461
- var I = R[C], A = Q(I);
462
- if (A !== "object")
463
- return new h("Invalid " + M + " `" + _ + "` of type " + ("`" + A + "` supplied to `" + D + "`, expected an object."));
464
- for (var G in I)
465
- if (o(I, G)) {
466
- var K = y(I, G, D, M, _ + "." + G, s);
467
- if (K instanceof Error)
468
- return K;
460
+ return new h("Property `" + W + "` of component `" + E + "` has invalid PropType notation inside objectOf.");
461
+ var I = R[z], O = Q(I);
462
+ if (O !== "object")
463
+ return new h("Invalid " + S + " `" + W + "` of type " + ("`" + O + "` supplied to `" + E + "`, expected an object."));
464
+ for (var K in I)
465
+ if (o(I, K)) {
466
+ var G = y(I, K, E, S, W + "." + K, s);
467
+ if (G instanceof Error)
468
+ return G;
469
469
  }
470
470
  return null;
471
471
  }
472
- return j(z);
472
+ return j(M);
473
473
  }
474
474
  function B(y) {
475
475
  if (!Array.isArray(y))
476
476
  return process.env.NODE_ENV !== "production" && l("Invalid argument supplied to oneOfType, expected an instance of array."), a;
477
- for (var z = 0; z < y.length; z++) {
478
- var R = y[z];
477
+ for (var M = 0; M < y.length; M++) {
478
+ var R = y[M];
479
479
  if (typeof R != "function")
480
480
  return l(
481
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + $(R) + " at index " + z + "."
481
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + P(R) + " at index " + M + "."
482
482
  ), a;
483
483
  }
484
- function C(D, M, _, I, A) {
485
- for (var G = [], K = 0; K < y.length; K++) {
486
- var re = y[K], U = re(D, M, _, I, A, s);
484
+ function z(E, S, W, I, O) {
485
+ for (var K = [], G = 0; G < y.length; G++) {
486
+ var re = y[G], U = re(E, S, W, I, O, s);
487
487
  if (U == null)
488
488
  return null;
489
- U.data && o(U.data, "expectedType") && G.push(U.data.expectedType);
489
+ U.data && o(U.data, "expectedType") && K.push(U.data.expectedType);
490
490
  }
491
- var he = G.length > 0 ? ", expected one of type [" + G.join(", ") + "]" : "";
492
- return new h("Invalid " + I + " `" + A + "` supplied to " + ("`" + _ + "`" + he + "."));
491
+ var he = K.length > 0 ? ", expected one of type [" + K.join(", ") + "]" : "";
492
+ return new h("Invalid " + I + " `" + O + "` supplied to " + ("`" + W + "`" + he + "."));
493
493
  }
494
- return j(C);
494
+ return j(z);
495
495
  }
496
496
  function f() {
497
- function y(z, R, C, D, M) {
498
- return X(z[R]) ? null : new h("Invalid " + D + " `" + M + "` supplied to " + ("`" + C + "`, expected a ReactNode."));
497
+ function y(M, R, z, E, S) {
498
+ return X(M[R]) ? null : new h("Invalid " + E + " `" + S + "` supplied to " + ("`" + z + "`, expected a ReactNode."));
499
499
  }
500
500
  return j(y);
501
501
  }
502
- function W(y, z, R, C, D) {
502
+ function _(y, M, R, z, E) {
503
503
  return new h(
504
- (y || "React class") + ": " + z + " type `" + R + "." + C + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + D + "`."
504
+ (y || "React class") + ": " + M + " type `" + R + "." + z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + E + "`."
505
505
  );
506
506
  }
507
507
  function L(y) {
508
- function z(R, C, D, M, _) {
509
- var I = R[C], A = Q(I);
510
- if (A !== "object")
511
- return new h("Invalid " + M + " `" + _ + "` of type `" + A + "` " + ("supplied to `" + D + "`, expected `object`."));
512
- for (var G in y) {
513
- var K = y[G];
514
- if (typeof K != "function")
515
- return W(D, M, _, G, V(K));
516
- var re = K(I, G, D, M, _ + "." + G, s);
508
+ function M(R, z, E, S, W) {
509
+ var I = R[z], O = Q(I);
510
+ if (O !== "object")
511
+ return new h("Invalid " + S + " `" + W + "` of type `" + O + "` " + ("supplied to `" + E + "`, expected `object`."));
512
+ for (var K in y) {
513
+ var G = y[K];
514
+ if (typeof G != "function")
515
+ return _(E, S, W, K, V(G));
516
+ var re = G(I, K, E, S, W + "." + K, s);
517
517
  if (re)
518
518
  return re;
519
519
  }
520
520
  return null;
521
521
  }
522
- return j(z);
522
+ return j(M);
523
523
  }
524
524
  function H(y) {
525
- function z(R, C, D, M, _) {
526
- var I = R[C], A = Q(I);
527
- if (A !== "object")
528
- return new h("Invalid " + M + " `" + _ + "` of type `" + A + "` " + ("supplied to `" + D + "`, expected `object`."));
529
- var G = r({}, R[C], y);
530
- for (var K in G) {
531
- var re = y[K];
532
- if (o(y, K) && typeof re != "function")
533
- return W(D, M, _, K, V(re));
525
+ function M(R, z, E, S, W) {
526
+ var I = R[z], O = Q(I);
527
+ if (O !== "object")
528
+ return new h("Invalid " + S + " `" + W + "` of type `" + O + "` " + ("supplied to `" + E + "`, expected `object`."));
529
+ var K = r({}, R[z], y);
530
+ for (var G in K) {
531
+ var re = y[G];
532
+ if (o(y, G) && typeof re != "function")
533
+ return _(E, S, W, G, V(re));
534
534
  if (!re)
535
535
  return new h(
536
- "Invalid " + M + " `" + _ + "` key `" + K + "` supplied to `" + D + "`.\nBad object: " + JSON.stringify(R[C], null, " ") + `
536
+ "Invalid " + S + " `" + W + "` key `" + G + "` supplied to `" + E + "`.\nBad object: " + JSON.stringify(R[z], null, " ") + `
537
537
  Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
538
538
  );
539
- var U = re(I, K, D, M, _ + "." + K, s);
539
+ var U = re(I, G, E, S, W + "." + G, s);
540
540
  if (U)
541
541
  return U;
542
542
  }
543
543
  return null;
544
544
  }
545
- return j(z);
545
+ return j(M);
546
546
  }
547
547
  function X(y) {
548
548
  switch (typeof y) {
@@ -557,17 +557,17 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
557
557
  return y.every(X);
558
558
  if (y === null || c(y))
559
559
  return !0;
560
- var z = p(y);
561
- if (z) {
562
- var R = z.call(y), C;
563
- if (z !== y.entries) {
564
- for (; !(C = R.next()).done; )
565
- if (!X(C.value))
560
+ var M = p(y);
561
+ if (M) {
562
+ var R = M.call(y), z;
563
+ if (M !== y.entries) {
564
+ for (; !(z = R.next()).done; )
565
+ if (!X(z.value))
566
566
  return !1;
567
567
  } else
568
- for (; !(C = R.next()).done; ) {
569
- var D = C.value;
570
- if (D && !X(D[1]))
568
+ for (; !(z = R.next()).done; ) {
569
+ var E = z.value;
570
+ if (E && !X(E[1]))
571
571
  return !1;
572
572
  }
573
573
  } else
@@ -577,40 +577,40 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
577
577
  return !1;
578
578
  }
579
579
  }
580
- function q(y, z) {
581
- return y === "symbol" ? !0 : z ? z["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && z instanceof Symbol : !1;
580
+ function q(y, M) {
581
+ return y === "symbol" ? !0 : M ? M["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && M instanceof Symbol : !1;
582
582
  }
583
583
  function Q(y) {
584
- var z = typeof y;
585
- return Array.isArray(y) ? "array" : y instanceof RegExp ? "object" : q(z, y) ? "symbol" : z;
584
+ var M = typeof y;
585
+ return Array.isArray(y) ? "array" : y instanceof RegExp ? "object" : q(M, y) ? "symbol" : M;
586
586
  }
587
587
  function V(y) {
588
588
  if (typeof y > "u" || y === null)
589
589
  return "" + y;
590
- var z = Q(y);
591
- if (z === "object") {
590
+ var M = Q(y);
591
+ if (M === "object") {
592
592
  if (y instanceof Date)
593
593
  return "date";
594
594
  if (y instanceof RegExp)
595
595
  return "regexp";
596
596
  }
597
- return z;
597
+ return M;
598
598
  }
599
- function $(y) {
600
- var z = V(y);
601
- switch (z) {
599
+ function P(y) {
600
+ var M = V(y);
601
+ switch (M) {
602
602
  case "array":
603
603
  case "object":
604
- return "an " + z;
604
+ return "an " + M;
605
605
  case "boolean":
606
606
  case "date":
607
607
  case "regexp":
608
- return "a " + z;
608
+ return "a " + M;
609
609
  default:
610
- return z;
610
+ return M;
611
611
  }
612
612
  }
613
- function O(y) {
613
+ function A(y) {
614
614
  return !y.constructor || !y.constructor.name ? m : y.constructor.name;
615
615
  }
616
616
  return x.checkPropTypes = i, x.resetWarningCache = i.resetWarningCache, x.PropTypes = x, x;
@@ -715,17 +715,17 @@ function Xi() {
715
715
  var Z = v && b[v] || b[h];
716
716
  return typeof Z == "function" ? Z : null;
717
717
  }
718
- var S = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
718
+ var T = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
719
719
  function N(b) {
720
720
  {
721
721
  for (var Z = arguments.length, te = new Array(Z > 1 ? Z - 1 : 0), de = 1; de < Z; de++)
722
722
  te[de - 1] = arguments[de];
723
- T("error", b, te);
723
+ C("error", b, te);
724
724
  }
725
725
  }
726
- function T(b, Z, te) {
726
+ function C(b, Z, te) {
727
727
  {
728
- var de = S.ReactDebugCurrentFrame, me = de.getStackAddendum();
728
+ var de = T.ReactDebugCurrentFrame, me = de.getStackAddendum();
729
729
  me !== "" && (Z += "%s", te = te.concat([me]));
730
730
  var ke = te.map(function(ge) {
731
731
  return String(ge);
@@ -733,16 +733,16 @@ function Xi() {
733
733
  ke.unshift("Warning: " + Z), Function.prototype.apply.call(console[b], console, ke);
734
734
  }
735
735
  }
736
- var k = !1, w = !1, E = !1, F = !1, Y = !1, B;
736
+ var k = !1, w = !1, D = !1, F = !1, Y = !1, B;
737
737
  B = Symbol.for("react.module.reference");
738
738
  function f(b) {
739
- return !!(typeof b == "string" || typeof b == "function" || b === o || b === l || Y || b === i || b === u || b === g || F || b === x || k || w || E || typeof b == "object" && b !== null && (b.$$typeof === m || b.$$typeof === p || b.$$typeof === a || b.$$typeof === c || b.$$typeof === d || // This needs to include all possible module reference object
739
+ return !!(typeof b == "string" || typeof b == "function" || b === o || b === l || Y || b === i || b === u || b === g || F || b === x || k || w || D || typeof b == "object" && b !== null && (b.$$typeof === m || b.$$typeof === p || b.$$typeof === a || b.$$typeof === c || b.$$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
743
  b.$$typeof === B || b.getModuleId !== void 0));
744
744
  }
745
- function W(b, Z, te) {
745
+ function _(b, Z, te) {
746
746
  var de = b.displayName;
747
747
  if (de)
748
748
  return de;
@@ -782,7 +782,7 @@ function Xi() {
782
782
  var te = b;
783
783
  return L(te._context) + ".Provider";
784
784
  case d:
785
- return W(b, b.render, "ForwardRef");
785
+ return _(b, b.render, "ForwardRef");
786
786
  case p:
787
787
  var de = b.displayName || null;
788
788
  return de !== null ? de : H(b.type) || "Memo";
@@ -797,18 +797,18 @@ function Xi() {
797
797
  }
798
798
  return null;
799
799
  }
800
- var X = Object.assign, q = 0, Q, V, $, O, y, z, R;
801
- function C() {
800
+ var X = Object.assign, q = 0, Q, V, P, A, y, M, R;
801
+ function z() {
802
802
  }
803
- C.__reactDisabledLog = !0;
804
- function D() {
803
+ z.__reactDisabledLog = !0;
804
+ function E() {
805
805
  {
806
806
  if (q === 0) {
807
- Q = console.log, V = console.info, $ = console.warn, O = console.error, y = console.group, z = console.groupCollapsed, R = console.groupEnd;
807
+ Q = console.log, V = console.info, P = console.warn, A = console.error, y = console.group, M = console.groupCollapsed, R = console.groupEnd;
808
808
  var b = {
809
809
  configurable: !0,
810
810
  enumerable: !0,
811
- value: C,
811
+ value: z,
812
812
  writable: !0
813
813
  };
814
814
  Object.defineProperties(console, {
@@ -824,7 +824,7 @@ function Xi() {
824
824
  q++;
825
825
  }
826
826
  }
827
- function M() {
827
+ function S() {
828
828
  {
829
829
  if (q--, q === 0) {
830
830
  var b = {
@@ -840,16 +840,16 @@ function Xi() {
840
840
  value: V
841
841
  }),
842
842
  warn: X({}, b, {
843
- value: $
843
+ value: P
844
844
  }),
845
845
  error: X({}, b, {
846
- value: O
846
+ value: A
847
847
  }),
848
848
  group: X({}, b, {
849
849
  value: y
850
850
  }),
851
851
  groupCollapsed: X({}, b, {
852
- value: z
852
+ value: M
853
853
  }),
854
854
  groupEnd: X({}, b, {
855
855
  value: R
@@ -859,8 +859,8 @@ function Xi() {
859
859
  q < 0 && N("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
860
860
  }
861
861
  }
862
- var _ = S.ReactCurrentDispatcher, I;
863
- function A(b, Z, te) {
862
+ var W = T.ReactCurrentDispatcher, I;
863
+ function O(b, Z, te) {
864
864
  {
865
865
  if (I === void 0)
866
866
  try {
@@ -873,25 +873,25 @@ function Xi() {
873
873
  ` + I + b;
874
874
  }
875
875
  }
876
- var G = !1, K;
876
+ var K = !1, G;
877
877
  {
878
878
  var re = typeof WeakMap == "function" ? WeakMap : Map;
879
- K = new re();
879
+ G = new re();
880
880
  }
881
881
  function U(b, Z) {
882
- if (!b || G)
882
+ if (!b || K)
883
883
  return "";
884
884
  {
885
- var te = K.get(b);
885
+ var te = G.get(b);
886
886
  if (te !== void 0)
887
887
  return te;
888
888
  }
889
889
  var de;
890
- G = !0;
890
+ K = !0;
891
891
  var me = Error.prepareStackTrace;
892
892
  Error.prepareStackTrace = void 0;
893
893
  var ke;
894
- ke = _.current, _.current = null, D();
894
+ ke = W.current, W.current = null, E();
895
895
  try {
896
896
  if (Z) {
897
897
  var ge = function() {
@@ -937,17 +937,17 @@ function Xi() {
937
937
  if (Re--, We--, We < 0 || pe[Re] !== Be[We]) {
938
938
  var Ge = `
939
939
  ` + pe[Re].replace(" at new ", " at ");
940
- return b.displayName && Ge.includes("<anonymous>") && (Ge = Ge.replace("<anonymous>", b.displayName)), typeof b == "function" && K.set(b, Ge), Ge;
940
+ return b.displayName && Ge.includes("<anonymous>") && (Ge = Ge.replace("<anonymous>", b.displayName)), typeof b == "function" && G.set(b, Ge), Ge;
941
941
  }
942
942
  while (Re >= 1 && We >= 0);
943
943
  break;
944
944
  }
945
945
  }
946
946
  } finally {
947
- G = !1, _.current = ke, M(), Error.prepareStackTrace = me;
947
+ K = !1, W.current = ke, S(), Error.prepareStackTrace = me;
948
948
  }
949
- var St = b ? b.displayName || b.name : "", mt = St ? A(St) : "";
950
- return typeof b == "function" && K.set(b, mt), mt;
949
+ var St = b ? b.displayName || b.name : "", mt = St ? O(St) : "";
950
+ return typeof b == "function" && G.set(b, mt), mt;
951
951
  }
952
952
  function he(b, Z, te) {
953
953
  return U(b, !1);
@@ -962,12 +962,12 @@ function Xi() {
962
962
  if (typeof b == "function")
963
963
  return U(b, ie(b));
964
964
  if (typeof b == "string")
965
- return A(b);
965
+ return O(b);
966
966
  switch (b) {
967
967
  case u:
968
- return A("Suspense");
968
+ return O("Suspense");
969
969
  case g:
970
- return A("SuspenseList");
970
+ return O("SuspenseList");
971
971
  }
972
972
  if (typeof b == "object")
973
973
  switch (b.$$typeof) {
@@ -985,7 +985,7 @@ function Xi() {
985
985
  }
986
986
  return "";
987
987
  }
988
- var Fe = Object.prototype.hasOwnProperty, ve = {}, Ae = S.ReactDebugCurrentFrame;
988
+ var Fe = Object.prototype.hasOwnProperty, ve = {}, Ae = T.ReactDebugCurrentFrame;
989
989
  function ae(b) {
990
990
  if (b) {
991
991
  var Z = b._owner, te = fe(b.type, b._source, Z ? Z.type : null);
@@ -1036,7 +1036,7 @@ function Xi() {
1036
1036
  if (Me(b))
1037
1037
  return N("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", se(b)), ze(b);
1038
1038
  }
1039
- var le = S.ReactCurrentOwner, we = {
1039
+ var le = T.ReactCurrentOwner, we = {
1040
1040
  key: !0,
1041
1041
  ref: !0,
1042
1042
  __self: !0,
@@ -1134,7 +1134,7 @@ function Xi() {
1134
1134
  return xi(b, pe, Be, me, de, le.current, ge);
1135
1135
  }
1136
1136
  }
1137
- var An = S.ReactCurrentOwner, Hr = S.ReactDebugCurrentFrame;
1137
+ var An = T.ReactCurrentOwner, Hr = T.ReactDebugCurrentFrame;
1138
1138
  function Tt(b) {
1139
1139
  if (b) {
1140
1140
  var Z = b._owner, te = fe(b.type, b._source, Z ? Z.type : null);
@@ -3169,7 +3169,7 @@ function Fa(e = {}) {
3169
3169
  La(c, r, s);
3170
3170
  }
3171
3171
  return (c, d = {}) => {
3172
- Aa(c, (E) => E.filter((F) => F !== At));
3172
+ Aa(c, (D) => D.filter((F) => F !== At));
3173
3173
  const {
3174
3174
  name: u,
3175
3175
  slot: g,
@@ -3183,51 +3183,51 @@ function Fa(e = {}) {
3183
3183
  // TODO v6: remove `Root` in the next major release
3184
3184
  // For more details: https://github.com/mui/material-ui/pull/37908
3185
3185
  g && g !== "Root" && g !== "root" || !1
3186
- ), S = m || !1;
3186
+ ), T = m || !1;
3187
3187
  let N = Vn;
3188
3188
  g === "Root" || g === "root" ? N = o : g ? N = i : Za(c) && (N = void 0);
3189
- const T = Oa(c, {
3189
+ const C = Oa(c, {
3190
3190
  shouldForwardProp: N,
3191
3191
  label: Ha(u, g),
3192
3192
  ...v
3193
- }), k = (E) => {
3194
- if (E.__emotion_real === E)
3195
- return E;
3196
- if (typeof E == "function")
3193
+ }), k = (D) => {
3194
+ if (D.__emotion_real === D)
3195
+ return D;
3196
+ if (typeof D == "function")
3197
3197
  return function(Y) {
3198
- return an(Y, E, Y.theme.modularCssLayers ? h : void 0);
3198
+ return an(Y, D, Y.theme.modularCssLayers ? h : void 0);
3199
3199
  };
3200
- if (nt(E)) {
3201
- const F = ro(E);
3200
+ if (nt(D)) {
3201
+ const F = ro(D);
3202
3202
  return function(B) {
3203
3203
  return F.variants ? an(B, F, B.theme.modularCssLayers ? h : void 0) : B.theme.modularCssLayers ? xt(F.style, h) : F.style;
3204
3204
  };
3205
3205
  }
3206
- return E;
3207
- }, w = (...E) => {
3208
- const F = [], Y = E.map(k), B = [];
3206
+ return D;
3207
+ }, w = (...D) => {
3208
+ const F = [], Y = D.map(k), B = [];
3209
3209
  if (F.push(l), u && x && B.push(function(H) {
3210
- var V, $;
3211
- const q = ($ = (V = H.theme.components) == null ? void 0 : V[u]) == null ? void 0 : $.styleOverrides;
3210
+ var V, P;
3211
+ const q = (P = (V = H.theme.components) == null ? void 0 : V[u]) == null ? void 0 : P.styleOverrides;
3212
3212
  if (!q)
3213
3213
  return null;
3214
3214
  const Q = {};
3215
- for (const O in q)
3216
- Q[O] = an(H, q[O], H.theme.modularCssLayers ? "theme" : void 0);
3215
+ for (const A in q)
3216
+ Q[A] = an(H, q[A], H.theme.modularCssLayers ? "theme" : void 0);
3217
3217
  return x(H, Q);
3218
3218
  }), u && !j && B.push(function(H) {
3219
3219
  var Q, V;
3220
3220
  const X = H.theme, q = (V = (Q = X == null ? void 0 : X.components) == null ? void 0 : Q[u]) == null ? void 0 : V.variants;
3221
3221
  return q ? so(H, q, [], H.theme.modularCssLayers ? "theme" : void 0) : null;
3222
- }), S || B.push(At), Array.isArray(Y[0])) {
3222
+ }), T || B.push(At), Array.isArray(Y[0])) {
3223
3223
  const L = Y.shift(), H = new Array(F.length).fill(""), X = new Array(B.length).fill("");
3224
3224
  let q;
3225
3225
  q = [...H, ...L, ...X], q.raw = [...H, ...L.raw, ...X], F.unshift(q);
3226
3226
  }
3227
- const f = [...F, ...Y, ...B], W = T(...f);
3228
- return c.muiName && (W.muiName = c.muiName), process.env.NODE_ENV !== "production" && (W.displayName = Ba(u, g, c)), W;
3227
+ const f = [...F, ...Y, ...B], _ = C(...f);
3228
+ return c.muiName && (_.muiName = c.muiName), process.env.NODE_ENV !== "production" && (_.displayName = Ba(u, g, c)), _;
3229
3229
  };
3230
- return T.withConfig && (w.withConfig = T.withConfig), w;
3230
+ return C.withConfig && (w.withConfig = C.withConfig), w;
3231
3231
  };
3232
3232
  }
3233
3233
  function Ba(e, r, s) {
@@ -3477,61 +3477,61 @@ function nc(e, r = {}) {
3477
3477
  [c]: v,
3478
3478
  ...h
3479
3479
  } = l;
3480
- if (Object.entries(h || {}).forEach(([T, k]) => {
3480
+ if (Object.entries(h || {}).forEach(([C, k]) => {
3481
3481
  const {
3482
3482
  vars: w,
3483
- css: E,
3483
+ css: D,
3484
3484
  varsWithDefaults: F
3485
3485
  } = Zn(k, r);
3486
- m = qe(m, F), x[T] = {
3487
- css: E,
3486
+ m = qe(m, F), x[C] = {
3487
+ css: D,
3488
3488
  vars: w
3489
3489
  };
3490
3490
  }), v) {
3491
3491
  const {
3492
- css: T,
3492
+ css: C,
3493
3493
  vars: k,
3494
3494
  varsWithDefaults: w
3495
3495
  } = Zn(v, r);
3496
3496
  m = qe(m, w), x[c] = {
3497
- css: T,
3497
+ css: C,
3498
3498
  vars: k
3499
3499
  };
3500
3500
  }
3501
- function j(T, k) {
3502
- var E, F;
3501
+ function j(C, k) {
3502
+ var D, F;
3503
3503
  let w = i;
3504
- if (i === "class" && (w = ".%s"), i === "data" && (w = "[data-%s]"), i != null && i.startsWith("data-") && !i.includes("%s") && (w = `[${i}="%s"]`), T) {
3504
+ if (i === "class" && (w = ".%s"), i === "data" && (w = "[data-%s]"), i != null && i.startsWith("data-") && !i.includes("%s") && (w = `[${i}="%s"]`), C) {
3505
3505
  if (w === "media")
3506
- return e.defaultColorScheme === T ? ":root" : {
3507
- [`@media (prefers-color-scheme: ${((F = (E = l[T]) == null ? void 0 : E.palette) == null ? void 0 : F.mode) || T})`]: {
3506
+ return e.defaultColorScheme === C ? ":root" : {
3507
+ [`@media (prefers-color-scheme: ${((F = (D = l[C]) == null ? void 0 : D.palette) == null ? void 0 : F.mode) || C})`]: {
3508
3508
  ":root": k
3509
3509
  }
3510
3510
  };
3511
3511
  if (w)
3512
- return e.defaultColorScheme === T ? `:root, ${w.replace("%s", String(T))}` : w.replace("%s", String(T));
3512
+ return e.defaultColorScheme === C ? `:root, ${w.replace("%s", String(C))}` : w.replace("%s", String(C));
3513
3513
  }
3514
3514
  return ":root";
3515
3515
  }
3516
3516
  return {
3517
3517
  vars: m,
3518
3518
  generateThemeVars: () => {
3519
- let T = {
3519
+ let C = {
3520
3520
  ...u
3521
3521
  };
3522
3522
  return Object.entries(x).forEach(([, {
3523
3523
  vars: k
3524
3524
  }]) => {
3525
- T = qe(T, k);
3526
- }), T;
3525
+ C = qe(C, k);
3526
+ }), C;
3527
3527
  },
3528
3528
  generateStyleSheets: () => {
3529
3529
  var Y, B;
3530
- const T = [], k = e.defaultColorScheme || "light";
3531
- function w(f, W) {
3532
- Object.keys(W).length && T.push(typeof f == "string" ? {
3530
+ const C = [], k = e.defaultColorScheme || "light";
3531
+ function w(f, _) {
3532
+ Object.keys(_).length && C.push(typeof f == "string" ? {
3533
3533
  [f]: {
3534
- ...W
3534
+ ..._
3535
3535
  }
3536
3536
  } : f);
3537
3537
  }
@@ -3539,14 +3539,14 @@ function nc(e, r = {}) {
3539
3539
  ...g
3540
3540
  }), g);
3541
3541
  const {
3542
- [k]: E,
3542
+ [k]: D,
3543
3543
  ...F
3544
3544
  } = x;
3545
- if (E) {
3545
+ if (D) {
3546
3546
  const {
3547
3547
  css: f
3548
- } = E, W = (B = (Y = l[k]) == null ? void 0 : Y.palette) == null ? void 0 : B.mode, L = !o && W ? {
3549
- colorScheme: W,
3548
+ } = D, _ = (B = (Y = l[k]) == null ? void 0 : Y.palette) == null ? void 0 : B.mode, L = !o && _ ? {
3549
+ colorScheme: _,
3550
3550
  ...f
3551
3551
  } : {
3552
3552
  ...f
@@ -3556,19 +3556,19 @@ function nc(e, r = {}) {
3556
3556
  }), L);
3557
3557
  }
3558
3558
  return Object.entries(F).forEach(([f, {
3559
- css: W
3559
+ css: _
3560
3560
  }]) => {
3561
3561
  var X, q;
3562
3562
  const L = (q = (X = l[f]) == null ? void 0 : X.palette) == null ? void 0 : q.mode, H = !o && L ? {
3563
3563
  colorScheme: L,
3564
- ...W
3564
+ ..._
3565
3565
  } : {
3566
- ...W
3566
+ ..._
3567
3567
  };
3568
3568
  w(s(f, {
3569
3569
  ...H
3570
3570
  }), H);
3571
- }), T;
3571
+ }), C;
3572
3572
  }
3573
3573
  };
3574
3574
  }
@@ -3837,8 +3837,8 @@ function xr(e) {
3837
3837
  function p(h) {
3838
3838
  const j = Cs(h, Ms.text.primary) >= s ? Ms.text.primary : oc.text.primary;
3839
3839
  if (process.env.NODE_ENV !== "production") {
3840
- const S = Cs(h, j);
3841
- S < 3 && console.error([`MUI: The contrast ratio of ${S}:1 for ${j} on ${h}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
3840
+ const T = Cs(h, j);
3841
+ T < 3 && console.error([`MUI: The contrast ratio of ${T}:1 for ${j} on ${h}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
3842
3842
  `));
3843
3843
  }
3844
3844
  return j;
@@ -3846,15 +3846,15 @@ function xr(e) {
3846
3846
  const m = ({
3847
3847
  color: h,
3848
3848
  name: j,
3849
- mainShade: S = 500,
3849
+ mainShade: T = 500,
3850
3850
  lightShade: N = 300,
3851
- darkShade: T = 700
3851
+ darkShade: C = 700
3852
3852
  }) => {
3853
3853
  if (h = {
3854
3854
  ...h
3855
- }, !h.main && h[S] && (h.main = h[S]), !h.hasOwnProperty("main"))
3855
+ }, !h.main && h[T] && (h.main = h[T]), !h.hasOwnProperty("main"))
3856
3856
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${j ? ` (${j})` : ""} provided to augmentColor(color) is invalid.
3857
- The color object needs to have a \`main\` property or a \`${S}\` property.` : dt(11, j ? ` (${j})` : "", S));
3857
+ The color object needs to have a \`main\` property or a \`${T}\` property.` : dt(11, j ? ` (${j})` : "", T));
3858
3858
  if (typeof h.main != "string")
3859
3859
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${j ? ` (${j})` : ""} provided to augmentColor(color) is invalid.
3860
3860
  \`color.main\` should be a string, but \`${JSON.stringify(h.main)}\` was provided instead.
@@ -3870,7 +3870,7 @@ const theme1 = createTheme({ palette: {
3870
3870
  const theme2 = createTheme({ palette: {
3871
3871
  primary: { main: green[500] },
3872
3872
  } });` : dt(12, j ? ` (${j})` : "", JSON.stringify(h.main)));
3873
- return zs(h, "light", N, o), zs(h, "dark", T, o), h.contrastText || (h.contrastText = p(h.main)), h;
3873
+ return zs(h, "light", N, o), zs(h, "dark", C, o), h.contrastText || (h.contrastText = p(h.main)), h;
3874
3874
  };
3875
3875
  let x;
3876
3876
  return r === "light" ? x = lo() : r === "dark" && (x = ao()), process.env.NODE_ENV !== "production" && (x || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), qe({
@@ -3979,16 +3979,16 @@ function gc(e, r) {
3979
3979
  ...p
3980
3980
  } = typeof r == "function" ? r(e) : r;
3981
3981
  process.env.NODE_ENV !== "production" && (typeof o != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof d != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
3982
- const m = o / 14, x = g || ((j) => `${j / d * m}rem`), v = (j, S, N, T, k) => ({
3982
+ const m = o / 14, x = g || ((j) => `${j / d * m}rem`), v = (j, T, N, C, k) => ({
3983
3983
  fontFamily: s,
3984
3984
  fontWeight: j,
3985
- fontSize: x(S),
3985
+ fontSize: x(T),
3986
3986
  // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
3987
3987
  lineHeight: N,
3988
3988
  // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
3989
3989
  // across font-families can cause issues with the kerning.
3990
3990
  ...s === Es ? {
3991
- letterSpacing: `${pc(T / S)}em`
3991
+ letterSpacing: `${pc(C / T)}em`
3992
3992
  } : {},
3993
3993
  ...k,
3994
3994
  ...u
@@ -4159,20 +4159,20 @@ function sr(e = {}, ...r) {
4159
4159
  });
4160
4160
  if (m = qe(m, u), m = r.reduce((x, v) => qe(x, v), m), process.env.NODE_ENV !== "production") {
4161
4161
  const x = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], v = (h, j) => {
4162
- let S;
4163
- for (S in h) {
4164
- const N = h[S];
4165
- if (x.includes(S) && Object.keys(N).length > 0) {
4162
+ let T;
4163
+ for (T in h) {
4164
+ const N = h[T];
4165
+ if (x.includes(T) && Object.keys(N).length > 0) {
4166
4166
  if (process.env.NODE_ENV !== "production") {
4167
- const T = at("", S);
4168
- console.error([`MUI: The \`${j}\` component increases the CSS specificity of the \`${S}\` internal state.`, "You can not override it like this: ", JSON.stringify(h, null, 2), "", `Instead, you need to use the '&.${T}' syntax:`, JSON.stringify({
4167
+ const C = at("", T);
4168
+ console.error([`MUI: The \`${j}\` component increases the CSS specificity of the \`${T}\` internal state.`, "You can not override it like this: ", JSON.stringify(h, null, 2), "", `Instead, you need to use the '&.${C}' syntax:`, JSON.stringify({
4169
4169
  root: {
4170
- [`&.${T}`]: N
4170
+ [`&.${C}`]: N
4171
4171
  }
4172
4172
  }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
4173
4173
  `));
4174
4174
  }
4175
- h[S] = {};
4175
+ h[T] = {};
4176
4176
  }
4177
4177
  }
4178
4178
  };
@@ -4279,7 +4279,7 @@ function Oc(e, r) {
4279
4279
  e[s] || (e[s] = {});
4280
4280
  });
4281
4281
  }
4282
- function P(e, r, s) {
4282
+ function $(e, r, s) {
4283
4283
  !e[r] && s && (e[r] = s);
4284
4284
  }
4285
4285
  function _t(e) {
@@ -4350,46 +4350,46 @@ function Ic(e = {}, ...r) {
4350
4350
  light: v,
4351
4351
  dark: h,
4352
4352
  ...j
4353
- } = s, S = {
4353
+ } = s, T = {
4354
4354
  ...j
4355
4355
  };
4356
4356
  let N = x;
4357
4357
  if ((p === "dark" && !("dark" in s) || p === "light" && !("light" in s)) && (N = !0), !N)
4358
4358
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${p}\` option is either missing or invalid.` : dt(21, p));
4359
- const T = Un(S, N, u, p);
4360
- v && !S.light && Un(S, v, void 0, "light"), h && !S.dark && Un(S, h, void 0, "dark");
4359
+ const C = Un(T, N, u, p);
4360
+ v && !T.light && Un(T, v, void 0, "light"), h && !T.dark && Un(T, h, void 0, "dark");
4361
4361
  let k = {
4362
4362
  defaultColorScheme: p,
4363
- ...T,
4363
+ ...C,
4364
4364
  cssVarPrefix: l,
4365
4365
  colorSchemeSelector: c,
4366
4366
  rootSelector: d,
4367
4367
  getCssVar: m,
4368
- colorSchemes: S,
4368
+ colorSchemes: T,
4369
4369
  font: {
4370
- ...uc(T.typography),
4371
- ...T.font
4370
+ ...uc(C.typography),
4371
+ ...C.font
4372
4372
  },
4373
4373
  spacing: Ac(u.spacing)
4374
4374
  };
4375
4375
  Object.keys(k.colorSchemes).forEach((B) => {
4376
- const f = k.colorSchemes[B].palette, W = (L) => {
4376
+ const f = k.colorSchemes[B].palette, _ = (L) => {
4377
4377
  const H = L.split("-"), X = H[1], q = H[2];
4378
4378
  return m(L, f[X][q]);
4379
4379
  };
4380
- if (f.mode === "light" && (P(f.common, "background", "#fff"), P(f.common, "onBackground", "#000")), f.mode === "dark" && (P(f.common, "background", "#000"), P(f.common, "onBackground", "#fff")), Oc(f, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), f.mode === "light") {
4381
- P(f.Alert, "errorColor", Ce(f.error.light, 0.6)), P(f.Alert, "infoColor", Ce(f.info.light, 0.6)), P(f.Alert, "successColor", Ce(f.success.light, 0.6)), P(f.Alert, "warningColor", Ce(f.warning.light, 0.6)), P(f.Alert, "errorFilledBg", W("palette-error-main")), P(f.Alert, "infoFilledBg", W("palette-info-main")), P(f.Alert, "successFilledBg", W("palette-success-main")), P(f.Alert, "warningFilledBg", W("palette-warning-main")), P(f.Alert, "errorFilledColor", tt(() => f.getContrastText(f.error.main))), P(f.Alert, "infoFilledColor", tt(() => f.getContrastText(f.info.main))), P(f.Alert, "successFilledColor", tt(() => f.getContrastText(f.success.main))), P(f.Alert, "warningFilledColor", tt(() => f.getContrastText(f.warning.main))), P(f.Alert, "errorStandardBg", Te(f.error.light, 0.9)), P(f.Alert, "infoStandardBg", Te(f.info.light, 0.9)), P(f.Alert, "successStandardBg", Te(f.success.light, 0.9)), P(f.Alert, "warningStandardBg", Te(f.warning.light, 0.9)), P(f.Alert, "errorIconColor", W("palette-error-main")), P(f.Alert, "infoIconColor", W("palette-info-main")), P(f.Alert, "successIconColor", W("palette-success-main")), P(f.Alert, "warningIconColor", W("palette-warning-main")), P(f.AppBar, "defaultBg", W("palette-grey-100")), P(f.Avatar, "defaultBg", W("palette-grey-400")), P(f.Button, "inheritContainedBg", W("palette-grey-300")), P(f.Button, "inheritContainedHoverBg", W("palette-grey-A100")), P(f.Chip, "defaultBorder", W("palette-grey-400")), P(f.Chip, "defaultAvatarColor", W("palette-grey-700")), P(f.Chip, "defaultIconColor", W("palette-grey-700")), P(f.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), P(f.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), P(f.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), P(f.LinearProgress, "primaryBg", Te(f.primary.main, 0.62)), P(f.LinearProgress, "secondaryBg", Te(f.secondary.main, 0.62)), P(f.LinearProgress, "errorBg", Te(f.error.main, 0.62)), P(f.LinearProgress, "infoBg", Te(f.info.main, 0.62)), P(f.LinearProgress, "successBg", Te(f.success.main, 0.62)), P(f.LinearProgress, "warningBg", Te(f.warning.main, 0.62)), P(f.Skeleton, "bg", `rgba(${W("palette-text-primaryChannel")} / 0.11)`), P(f.Slider, "primaryTrack", Te(f.primary.main, 0.62)), P(f.Slider, "secondaryTrack", Te(f.secondary.main, 0.62)), P(f.Slider, "errorTrack", Te(f.error.main, 0.62)), P(f.Slider, "infoTrack", Te(f.info.main, 0.62)), P(f.Slider, "successTrack", Te(f.success.main, 0.62)), P(f.Slider, "warningTrack", Te(f.warning.main, 0.62));
4380
+ if (f.mode === "light" && ($(f.common, "background", "#fff"), $(f.common, "onBackground", "#000")), f.mode === "dark" && ($(f.common, "background", "#000"), $(f.common, "onBackground", "#fff")), Oc(f, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), f.mode === "light") {
4381
+ $(f.Alert, "errorColor", Ce(f.error.light, 0.6)), $(f.Alert, "infoColor", Ce(f.info.light, 0.6)), $(f.Alert, "successColor", Ce(f.success.light, 0.6)), $(f.Alert, "warningColor", Ce(f.warning.light, 0.6)), $(f.Alert, "errorFilledBg", _("palette-error-main")), $(f.Alert, "infoFilledBg", _("palette-info-main")), $(f.Alert, "successFilledBg", _("palette-success-main")), $(f.Alert, "warningFilledBg", _("palette-warning-main")), $(f.Alert, "errorFilledColor", tt(() => f.getContrastText(f.error.main))), $(f.Alert, "infoFilledColor", tt(() => f.getContrastText(f.info.main))), $(f.Alert, "successFilledColor", tt(() => f.getContrastText(f.success.main))), $(f.Alert, "warningFilledColor", tt(() => f.getContrastText(f.warning.main))), $(f.Alert, "errorStandardBg", Te(f.error.light, 0.9)), $(f.Alert, "infoStandardBg", Te(f.info.light, 0.9)), $(f.Alert, "successStandardBg", Te(f.success.light, 0.9)), $(f.Alert, "warningStandardBg", Te(f.warning.light, 0.9)), $(f.Alert, "errorIconColor", _("palette-error-main")), $(f.Alert, "infoIconColor", _("palette-info-main")), $(f.Alert, "successIconColor", _("palette-success-main")), $(f.Alert, "warningIconColor", _("palette-warning-main")), $(f.AppBar, "defaultBg", _("palette-grey-100")), $(f.Avatar, "defaultBg", _("palette-grey-400")), $(f.Button, "inheritContainedBg", _("palette-grey-300")), $(f.Button, "inheritContainedHoverBg", _("palette-grey-A100")), $(f.Chip, "defaultBorder", _("palette-grey-400")), $(f.Chip, "defaultAvatarColor", _("palette-grey-700")), $(f.Chip, "defaultIconColor", _("palette-grey-700")), $(f.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), $(f.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), $(f.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), $(f.LinearProgress, "primaryBg", Te(f.primary.main, 0.62)), $(f.LinearProgress, "secondaryBg", Te(f.secondary.main, 0.62)), $(f.LinearProgress, "errorBg", Te(f.error.main, 0.62)), $(f.LinearProgress, "infoBg", Te(f.info.main, 0.62)), $(f.LinearProgress, "successBg", Te(f.success.main, 0.62)), $(f.LinearProgress, "warningBg", Te(f.warning.main, 0.62)), $(f.Skeleton, "bg", `rgba(${_("palette-text-primaryChannel")} / 0.11)`), $(f.Slider, "primaryTrack", Te(f.primary.main, 0.62)), $(f.Slider, "secondaryTrack", Te(f.secondary.main, 0.62)), $(f.Slider, "errorTrack", Te(f.error.main, 0.62)), $(f.Slider, "infoTrack", Te(f.info.main, 0.62)), $(f.Slider, "successTrack", Te(f.success.main, 0.62)), $(f.Slider, "warningTrack", Te(f.warning.main, 0.62));
4382
4382
  const L = rn(f.background.default, 0.8);
4383
- P(f.SnackbarContent, "bg", L), P(f.SnackbarContent, "color", tt(() => f.getContrastText(L))), P(f.SpeedDialAction, "fabHoverBg", rn(f.background.paper, 0.15)), P(f.StepConnector, "border", W("palette-grey-400")), P(f.StepContent, "border", W("palette-grey-400")), P(f.Switch, "defaultColor", W("palette-common-white")), P(f.Switch, "defaultDisabledColor", W("palette-grey-100")), P(f.Switch, "primaryDisabledColor", Te(f.primary.main, 0.62)), P(f.Switch, "secondaryDisabledColor", Te(f.secondary.main, 0.62)), P(f.Switch, "errorDisabledColor", Te(f.error.main, 0.62)), P(f.Switch, "infoDisabledColor", Te(f.info.main, 0.62)), P(f.Switch, "successDisabledColor", Te(f.success.main, 0.62)), P(f.Switch, "warningDisabledColor", Te(f.warning.main, 0.62)), P(f.TableCell, "border", Te(nn(f.divider, 1), 0.88)), P(f.Tooltip, "bg", nn(f.grey[700], 0.92));
4383
+ $(f.SnackbarContent, "bg", L), $(f.SnackbarContent, "color", tt(() => f.getContrastText(L))), $(f.SpeedDialAction, "fabHoverBg", rn(f.background.paper, 0.15)), $(f.StepConnector, "border", _("palette-grey-400")), $(f.StepContent, "border", _("palette-grey-400")), $(f.Switch, "defaultColor", _("palette-common-white")), $(f.Switch, "defaultDisabledColor", _("palette-grey-100")), $(f.Switch, "primaryDisabledColor", Te(f.primary.main, 0.62)), $(f.Switch, "secondaryDisabledColor", Te(f.secondary.main, 0.62)), $(f.Switch, "errorDisabledColor", Te(f.error.main, 0.62)), $(f.Switch, "infoDisabledColor", Te(f.info.main, 0.62)), $(f.Switch, "successDisabledColor", Te(f.success.main, 0.62)), $(f.Switch, "warningDisabledColor", Te(f.warning.main, 0.62)), $(f.TableCell, "border", Te(nn(f.divider, 1), 0.88)), $(f.Tooltip, "bg", nn(f.grey[700], 0.92));
4384
4384
  }
4385
4385
  if (f.mode === "dark") {
4386
- P(f.Alert, "errorColor", Te(f.error.light, 0.6)), P(f.Alert, "infoColor", Te(f.info.light, 0.6)), P(f.Alert, "successColor", Te(f.success.light, 0.6)), P(f.Alert, "warningColor", Te(f.warning.light, 0.6)), P(f.Alert, "errorFilledBg", W("palette-error-dark")), P(f.Alert, "infoFilledBg", W("palette-info-dark")), P(f.Alert, "successFilledBg", W("palette-success-dark")), P(f.Alert, "warningFilledBg", W("palette-warning-dark")), P(f.Alert, "errorFilledColor", tt(() => f.getContrastText(f.error.dark))), P(f.Alert, "infoFilledColor", tt(() => f.getContrastText(f.info.dark))), P(f.Alert, "successFilledColor", tt(() => f.getContrastText(f.success.dark))), P(f.Alert, "warningFilledColor", tt(() => f.getContrastText(f.warning.dark))), P(f.Alert, "errorStandardBg", Ce(f.error.light, 0.9)), P(f.Alert, "infoStandardBg", Ce(f.info.light, 0.9)), P(f.Alert, "successStandardBg", Ce(f.success.light, 0.9)), P(f.Alert, "warningStandardBg", Ce(f.warning.light, 0.9)), P(f.Alert, "errorIconColor", W("palette-error-main")), P(f.Alert, "infoIconColor", W("palette-info-main")), P(f.Alert, "successIconColor", W("palette-success-main")), P(f.Alert, "warningIconColor", W("palette-warning-main")), P(f.AppBar, "defaultBg", W("palette-grey-900")), P(f.AppBar, "darkBg", W("palette-background-paper")), P(f.AppBar, "darkColor", W("palette-text-primary")), P(f.Avatar, "defaultBg", W("palette-grey-600")), P(f.Button, "inheritContainedBg", W("palette-grey-800")), P(f.Button, "inheritContainedHoverBg", W("palette-grey-700")), P(f.Chip, "defaultBorder", W("palette-grey-700")), P(f.Chip, "defaultAvatarColor", W("palette-grey-300")), P(f.Chip, "defaultIconColor", W("palette-grey-300")), P(f.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), P(f.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), P(f.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), P(f.LinearProgress, "primaryBg", Ce(f.primary.main, 0.5)), P(f.LinearProgress, "secondaryBg", Ce(f.secondary.main, 0.5)), P(f.LinearProgress, "errorBg", Ce(f.error.main, 0.5)), P(f.LinearProgress, "infoBg", Ce(f.info.main, 0.5)), P(f.LinearProgress, "successBg", Ce(f.success.main, 0.5)), P(f.LinearProgress, "warningBg", Ce(f.warning.main, 0.5)), P(f.Skeleton, "bg", `rgba(${W("palette-text-primaryChannel")} / 0.13)`), P(f.Slider, "primaryTrack", Ce(f.primary.main, 0.5)), P(f.Slider, "secondaryTrack", Ce(f.secondary.main, 0.5)), P(f.Slider, "errorTrack", Ce(f.error.main, 0.5)), P(f.Slider, "infoTrack", Ce(f.info.main, 0.5)), P(f.Slider, "successTrack", Ce(f.success.main, 0.5)), P(f.Slider, "warningTrack", Ce(f.warning.main, 0.5));
4386
+ $(f.Alert, "errorColor", Te(f.error.light, 0.6)), $(f.Alert, "infoColor", Te(f.info.light, 0.6)), $(f.Alert, "successColor", Te(f.success.light, 0.6)), $(f.Alert, "warningColor", Te(f.warning.light, 0.6)), $(f.Alert, "errorFilledBg", _("palette-error-dark")), $(f.Alert, "infoFilledBg", _("palette-info-dark")), $(f.Alert, "successFilledBg", _("palette-success-dark")), $(f.Alert, "warningFilledBg", _("palette-warning-dark")), $(f.Alert, "errorFilledColor", tt(() => f.getContrastText(f.error.dark))), $(f.Alert, "infoFilledColor", tt(() => f.getContrastText(f.info.dark))), $(f.Alert, "successFilledColor", tt(() => f.getContrastText(f.success.dark))), $(f.Alert, "warningFilledColor", tt(() => f.getContrastText(f.warning.dark))), $(f.Alert, "errorStandardBg", Ce(f.error.light, 0.9)), $(f.Alert, "infoStandardBg", Ce(f.info.light, 0.9)), $(f.Alert, "successStandardBg", Ce(f.success.light, 0.9)), $(f.Alert, "warningStandardBg", Ce(f.warning.light, 0.9)), $(f.Alert, "errorIconColor", _("palette-error-main")), $(f.Alert, "infoIconColor", _("palette-info-main")), $(f.Alert, "successIconColor", _("palette-success-main")), $(f.Alert, "warningIconColor", _("palette-warning-main")), $(f.AppBar, "defaultBg", _("palette-grey-900")), $(f.AppBar, "darkBg", _("palette-background-paper")), $(f.AppBar, "darkColor", _("palette-text-primary")), $(f.Avatar, "defaultBg", _("palette-grey-600")), $(f.Button, "inheritContainedBg", _("palette-grey-800")), $(f.Button, "inheritContainedHoverBg", _("palette-grey-700")), $(f.Chip, "defaultBorder", _("palette-grey-700")), $(f.Chip, "defaultAvatarColor", _("palette-grey-300")), $(f.Chip, "defaultIconColor", _("palette-grey-300")), $(f.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), $(f.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), $(f.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), $(f.LinearProgress, "primaryBg", Ce(f.primary.main, 0.5)), $(f.LinearProgress, "secondaryBg", Ce(f.secondary.main, 0.5)), $(f.LinearProgress, "errorBg", Ce(f.error.main, 0.5)), $(f.LinearProgress, "infoBg", Ce(f.info.main, 0.5)), $(f.LinearProgress, "successBg", Ce(f.success.main, 0.5)), $(f.LinearProgress, "warningBg", Ce(f.warning.main, 0.5)), $(f.Skeleton, "bg", `rgba(${_("palette-text-primaryChannel")} / 0.13)`), $(f.Slider, "primaryTrack", Ce(f.primary.main, 0.5)), $(f.Slider, "secondaryTrack", Ce(f.secondary.main, 0.5)), $(f.Slider, "errorTrack", Ce(f.error.main, 0.5)), $(f.Slider, "infoTrack", Ce(f.info.main, 0.5)), $(f.Slider, "successTrack", Ce(f.success.main, 0.5)), $(f.Slider, "warningTrack", Ce(f.warning.main, 0.5));
4387
4387
  const L = rn(f.background.default, 0.98);
4388
- P(f.SnackbarContent, "bg", L), P(f.SnackbarContent, "color", tt(() => f.getContrastText(L))), P(f.SpeedDialAction, "fabHoverBg", rn(f.background.paper, 0.15)), P(f.StepConnector, "border", W("palette-grey-600")), P(f.StepContent, "border", W("palette-grey-600")), P(f.Switch, "defaultColor", W("palette-grey-300")), P(f.Switch, "defaultDisabledColor", W("palette-grey-600")), P(f.Switch, "primaryDisabledColor", Ce(f.primary.main, 0.55)), P(f.Switch, "secondaryDisabledColor", Ce(f.secondary.main, 0.55)), P(f.Switch, "errorDisabledColor", Ce(f.error.main, 0.55)), P(f.Switch, "infoDisabledColor", Ce(f.info.main, 0.55)), P(f.Switch, "successDisabledColor", Ce(f.success.main, 0.55)), P(f.Switch, "warningDisabledColor", Ce(f.warning.main, 0.55)), P(f.TableCell, "border", Ce(nn(f.divider, 1), 0.68)), P(f.Tooltip, "bg", nn(f.grey[700], 0.92));
4388
+ $(f.SnackbarContent, "bg", L), $(f.SnackbarContent, "color", tt(() => f.getContrastText(L))), $(f.SpeedDialAction, "fabHoverBg", rn(f.background.paper, 0.15)), $(f.StepConnector, "border", _("palette-grey-600")), $(f.StepContent, "border", _("palette-grey-600")), $(f.Switch, "defaultColor", _("palette-grey-300")), $(f.Switch, "defaultDisabledColor", _("palette-grey-600")), $(f.Switch, "primaryDisabledColor", Ce(f.primary.main, 0.55)), $(f.Switch, "secondaryDisabledColor", Ce(f.secondary.main, 0.55)), $(f.Switch, "errorDisabledColor", Ce(f.error.main, 0.55)), $(f.Switch, "infoDisabledColor", Ce(f.info.main, 0.55)), $(f.Switch, "successDisabledColor", Ce(f.success.main, 0.55)), $(f.Switch, "warningDisabledColor", Ce(f.warning.main, 0.55)), $(f.TableCell, "border", Ce(nn(f.divider, 1), 0.68)), $(f.Tooltip, "bg", nn(f.grey[700], 0.92));
4389
4389
  }
4390
4390
  st(f.background, "default"), st(f.background, "paper"), st(f.common, "background"), st(f.common, "onBackground"), st(f, "divider"), Object.keys(f).forEach((L) => {
4391
4391
  const H = f[L];
4392
- L !== "tonalOffset" && H && typeof H == "object" && (H.main && P(f[L], "mainChannel", Wt(_t(H.main))), H.light && P(f[L], "lightChannel", Wt(_t(H.light))), H.dark && P(f[L], "darkChannel", Wt(_t(H.dark))), H.contrastText && P(f[L], "contrastTextChannel", Wt(_t(H.contrastText))), L === "text" && (st(f[L], "primary"), st(f[L], "secondary")), L === "action" && (H.active && st(f[L], "active"), H.selected && st(f[L], "selected")));
4392
+ L !== "tonalOffset" && H && typeof H == "object" && (H.main && $(f[L], "mainChannel", Wt(_t(H.main))), H.light && $(f[L], "lightChannel", Wt(_t(H.light))), H.dark && $(f[L], "darkChannel", Wt(_t(H.dark))), H.contrastText && $(f[L], "contrastTextChannel", Wt(_t(H.contrastText))), L === "text" && (st(f[L], "primary"), st(f[L], "secondary")), L === "action" && (H.active && st(f[L], "active"), H.selected && st(f[L], "selected")));
4393
4393
  });
4394
4394
  }), k = r.reduce((B, f) => qe(B, f), k);
4395
4395
  const w = {
@@ -4398,11 +4398,11 @@ function Ic(e = {}, ...r) {
4398
4398
  shouldSkipGeneratingVar: a,
4399
4399
  getSelector: Dc(k)
4400
4400
  }, {
4401
- vars: E,
4401
+ vars: D,
4402
4402
  generateThemeVars: F,
4403
4403
  generateStyleSheets: Y
4404
4404
  } = nc(k, w);
4405
- return k.vars = E, Object.entries(k.colorSchemes[k.defaultColorScheme]).forEach(([B, f]) => {
4405
+ return k.vars = D, Object.entries(k.colorSchemes[k.defaultColorScheme]).forEach(([B, f]) => {
4406
4406
  k[B] = f;
4407
4407
  }), k.generateThemeVars = F, k.generateStyleSheets = Y, k.generateSpacing = function() {
4408
4408
  return to(u.spacing, fr(this));
@@ -4565,13 +4565,13 @@ const Bc = (e) => {
4565
4565
  },
4566
4566
  // TODO v5 deprecate color prop, v6 remove for sx
4567
4567
  ...Object.entries((e.vars ?? e).palette).filter(([, h]) => h && h.main).map(([h]) => {
4568
- var j, S;
4568
+ var j, T;
4569
4569
  return {
4570
4570
  props: {
4571
4571
  color: h
4572
4572
  },
4573
4573
  style: {
4574
- color: (S = (j = (e.vars ?? e).palette) == null ? void 0 : j[h]) == null ? void 0 : S.main
4574
+ color: (T = (j = (e.vars ?? e).palette) == null ? void 0 : j[h]) == null ? void 0 : T.main
4575
4575
  }
4576
4576
  };
4577
4577
  }),
@@ -4627,10 +4627,10 @@ const Bc = (e) => {
4627
4627
  hasSvgAsChild: v
4628
4628
  }, j = {};
4629
4629
  g || (j.viewBox = m);
4630
- const S = Bc(h);
4630
+ const T = Bc(h);
4631
4631
  return /* @__PURE__ */ t.jsxs(Hc, {
4632
4632
  as: c,
4633
- className: _e(S.root, l),
4633
+ className: _e(T.root, l),
4634
4634
  focusable: "false",
4635
4635
  color: u,
4636
4636
  "aria-hidden": p ? void 0 : !0,
@@ -9805,12 +9805,12 @@ const Nn = ({
9805
9805
  subTitle: v,
9806
9806
  htmlFor: h
9807
9807
  }) => {
9808
- const [j, S] = ee(
9808
+ const [j, T] = ee(
9809
9809
  p || !1
9810
9810
  ), N = () => {
9811
- S(!0);
9812
- }, T = () => {
9813
- S(!1);
9811
+ T(!0);
9812
+ }, C = () => {
9813
+ T(!1);
9814
9814
  };
9815
9815
  return /* @__PURE__ */ t.jsxs(
9816
9816
  "label",
@@ -9861,7 +9861,7 @@ const Nn = ({
9861
9861
  justifyContent: "center"
9862
9862
  },
9863
9863
  onMouseEnter: N,
9864
- onMouseLeave: T,
9864
+ onMouseLeave: C,
9865
9865
  children: [
9866
9866
  /* @__PURE__ */ t.jsx(
9867
9867
  "svg",
@@ -9947,13 +9947,13 @@ const Dd = ({
9947
9947
  fontSizeTooltip: v,
9948
9948
  heightTooltip: h,
9949
9949
  leftTooltip: j,
9950
- tooltip: S,
9950
+ tooltip: T,
9951
9951
  topTooltip: N,
9952
- widthTooltip: T,
9952
+ widthTooltip: C,
9953
9953
  isTooltipVisible: k,
9954
9954
  onChangeFunction: w
9955
9955
  }) => {
9956
- const E = (F) => {
9956
+ const D = (F) => {
9957
9957
  const { name: Y, value: B } = F.target;
9958
9958
  c && c({ name: Y, value: B, id: i }), w && w(F);
9959
9959
  };
@@ -9976,9 +9976,9 @@ const Dd = ({
9976
9976
  left: j,
9977
9977
  subTitle: u,
9978
9978
  title: d,
9979
- tooltip: S,
9979
+ tooltip: T,
9980
9980
  top: N,
9981
- widthTooltip: T,
9981
+ widthTooltip: C,
9982
9982
  isTooltipVisibleProp: k,
9983
9983
  marginBottom: "5px",
9984
9984
  htmlFor: i
@@ -9990,7 +9990,7 @@ const Dd = ({
9990
9990
  name: l,
9991
9991
  id: i,
9992
9992
  value: a,
9993
- onChange: E,
9993
+ onChange: D,
9994
9994
  placeholder: g,
9995
9995
  className: "text-area-library",
9996
9996
  maxLength: p,
@@ -10538,7 +10538,7 @@ const Ke = ft("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
10538
10538
  const m = ne.useRef(!1), x = bl(), v = ne.useRef(null), h = ne.useRef(null), j = ne.useCallback((k) => {
10539
10539
  const {
10540
10540
  pulsate: w,
10541
- rippleX: E,
10541
+ rippleX: D,
10542
10542
  rippleY: F,
10543
10543
  rippleSize: Y,
10544
10544
  cb: B
@@ -10554,11 +10554,11 @@ const Ke = ft("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
10554
10554
  },
10555
10555
  timeout: lr,
10556
10556
  pulsate: w,
10557
- rippleX: E,
10557
+ rippleX: D,
10558
10558
  rippleY: F,
10559
10559
  rippleSize: Y
10560
10560
  }, g.current)]), g.current += 1, p.current = B;
10561
- }, [l]), S = ne.useCallback((k = {}, w = {}, E = () => {
10561
+ }, [l]), T = ne.useCallback((k = {}, w = {}, D = () => {
10562
10562
  }) => {
10563
10563
  const {
10564
10564
  pulsate: F = !1,
@@ -10571,7 +10571,7 @@ const Ke = ft("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
10571
10571
  return;
10572
10572
  }
10573
10573
  (k == null ? void 0 : k.type) === "touchstart" && (m.current = !0);
10574
- const f = B ? null : h.current, W = f ? f.getBoundingClientRect() : {
10574
+ const f = B ? null : h.current, _ = f ? f.getBoundingClientRect() : {
10575
10575
  width: 0,
10576
10576
  height: 0,
10577
10577
  left: 0,
@@ -10579,16 +10579,16 @@ const Ke = ft("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
10579
10579
  };
10580
10580
  let L, H, X;
10581
10581
  if (Y || k === void 0 || k.clientX === 0 && k.clientY === 0 || !k.clientX && !k.touches)
10582
- L = Math.round(W.width / 2), H = Math.round(W.height / 2);
10582
+ L = Math.round(_.width / 2), H = Math.round(_.height / 2);
10583
10583
  else {
10584
10584
  const {
10585
10585
  clientX: q,
10586
10586
  clientY: Q
10587
10587
  } = k.touches && k.touches.length > 0 ? k.touches[0] : k;
10588
- L = Math.round(q - W.left), H = Math.round(Q - W.top);
10588
+ L = Math.round(q - _.left), H = Math.round(Q - _.top);
10589
10589
  }
10590
10590
  if (Y)
10591
- X = Math.sqrt((2 * W.width ** 2 + W.height ** 2) / 3), X % 2 === 0 && (X += 1);
10591
+ X = Math.sqrt((2 * _.width ** 2 + _.height ** 2) / 3), X % 2 === 0 && (X += 1);
10592
10592
  else {
10593
10593
  const q = Math.max(Math.abs((f ? f.clientWidth : 0) - L), L) * 2 + 2, Q = Math.max(Math.abs((f ? f.clientHeight : 0) - H), H) * 2 + 2;
10594
10594
  X = Math.sqrt(q ** 2 + Q ** 2);
@@ -10599,7 +10599,7 @@ const Ke = ft("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
10599
10599
  rippleX: L,
10600
10600
  rippleY: H,
10601
10601
  rippleSize: X,
10602
- cb: E
10602
+ cb: D
10603
10603
  });
10604
10604
  }, x.start(Hd, () => {
10605
10605
  v.current && (v.current(), v.current = null);
@@ -10608,26 +10608,26 @@ const Ke = ft("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
10608
10608
  rippleX: L,
10609
10609
  rippleY: H,
10610
10610
  rippleSize: X,
10611
- cb: E
10611
+ cb: D
10612
10612
  });
10613
10613
  }, [i, j, x]), N = ne.useCallback(() => {
10614
- S({}, {
10614
+ T({}, {
10615
10615
  pulsate: !0
10616
10616
  });
10617
- }, [S]), T = ne.useCallback((k, w) => {
10617
+ }, [T]), C = ne.useCallback((k, w) => {
10618
10618
  if (x.clear(), (k == null ? void 0 : k.type) === "touchend" && v.current) {
10619
10619
  v.current(), v.current = null, x.start(0, () => {
10620
- T(k, w);
10620
+ C(k, w);
10621
10621
  });
10622
10622
  return;
10623
10623
  }
10624
- v.current = null, u((E) => E.length > 0 ? E.slice(1) : E), p.current = w;
10624
+ v.current = null, u((D) => D.length > 0 ? D.slice(1) : D), p.current = w;
10625
10625
  }, [x]);
10626
10626
  return ne.useImperativeHandle(s, () => ({
10627
10627
  pulsate: N,
10628
- start: S,
10629
- stop: T
10630
- }), [N, S, T]), /* @__PURE__ */ t.jsx(Yd, {
10628
+ start: T,
10629
+ stop: C
10630
+ }), [N, T, C]), /* @__PURE__ */ t.jsx(Yd, {
10631
10631
  className: _e(Ke.root, l.root, a),
10632
10632
  ref: h,
10633
10633
  ...c,
@@ -10727,56 +10727,56 @@ const Kd = ft("MuiButtonBase", ["root", "disabled", "focusVisible"]), Xd = (e) =
10727
10727
  LinkComponent: v = "a",
10728
10728
  onBlur: h,
10729
10729
  onClick: j,
10730
- onContextMenu: S,
10730
+ onContextMenu: T,
10731
10731
  onDragLeave: N,
10732
- onFocus: T,
10732
+ onFocus: C,
10733
10733
  onFocusVisible: k,
10734
10734
  onKeyDown: w,
10735
- onKeyUp: E,
10735
+ onKeyUp: D,
10736
10736
  onMouseDown: F,
10737
10737
  onMouseLeave: Y,
10738
10738
  onMouseUp: B,
10739
10739
  onTouchEnd: f,
10740
- onTouchMove: W,
10740
+ onTouchMove: _,
10741
10741
  onTouchStart: L,
10742
10742
  tabIndex: H = 0,
10743
10743
  TouchRippleProps: X,
10744
10744
  touchRippleRef: q,
10745
10745
  type: Q,
10746
10746
  ...V
10747
- } = o, $ = ne.useRef(null), O = Ad(), y = tr(O.ref, q), [z, R] = ne.useState(!1);
10748
- u && z && R(!1), ne.useImperativeHandle(i, () => ({
10747
+ } = o, P = ne.useRef(null), A = Ad(), y = tr(A.ref, q), [M, R] = ne.useState(!1);
10748
+ u && M && R(!1), ne.useImperativeHandle(i, () => ({
10749
10749
  focusVisible: () => {
10750
- R(!0), $.current.focus();
10750
+ R(!0), P.current.focus();
10751
10751
  }
10752
10752
  }), []);
10753
- const C = O.shouldMount && !g && !u;
10753
+ const z = A.shouldMount && !g && !u;
10754
10754
  ne.useEffect(() => {
10755
- z && m && !g && O.pulsate();
10756
- }, [g, m, z, O]);
10757
- const D = ot(O, "start", F, p), M = ot(O, "stop", S, p), _ = ot(O, "stop", N, p), I = ot(O, "stop", B, p), A = ot(O, "stop", (J) => {
10758
- z && J.preventDefault(), Y && Y(J);
10759
- }, p), G = ot(O, "start", L, p), K = ot(O, "stop", f, p), re = ot(O, "stop", W, p), U = ot(O, "stop", (J) => {
10755
+ M && m && !g && A.pulsate();
10756
+ }, [g, m, M, A]);
10757
+ const E = ot(A, "start", F, p), S = ot(A, "stop", T, p), W = ot(A, "stop", N, p), I = ot(A, "stop", B, p), O = ot(A, "stop", (J) => {
10758
+ M && J.preventDefault(), Y && Y(J);
10759
+ }, p), K = ot(A, "start", L, p), G = ot(A, "stop", f, p), re = ot(A, "stop", _, p), U = ot(A, "stop", (J) => {
10760
10760
  fs(J.target) || R(!1), h && h(J);
10761
10761
  }, !1), he = ln((J) => {
10762
- $.current || ($.current = J.currentTarget), fs(J.target) && (R(!0), k && k(J)), T && T(J);
10762
+ P.current || (P.current = J.currentTarget), fs(J.target) && (R(!0), k && k(J)), C && C(J);
10763
10763
  }), ie = () => {
10764
- const J = $.current;
10764
+ const J = P.current;
10765
10765
  return d && d !== "button" && !(J.tagName === "A" && J.href);
10766
10766
  }, fe = ln((J) => {
10767
- m && !J.repeat && z && J.key === " " && O.stop(J, () => {
10768
- O.start(J);
10767
+ m && !J.repeat && M && J.key === " " && A.stop(J, () => {
10768
+ A.start(J);
10769
10769
  }), J.target === J.currentTarget && ie() && J.key === " " && J.preventDefault(), w && w(J), J.target === J.currentTarget && ie() && J.key === "Enter" && !u && (J.preventDefault(), j && j(J));
10770
10770
  }), Fe = ln((J) => {
10771
- m && J.key === " " && z && !J.defaultPrevented && O.stop(J, () => {
10772
- O.pulsate(J);
10773
- }), E && E(J), j && J.target === J.currentTarget && ie() && J.key === " " && !J.defaultPrevented && j(J);
10771
+ m && J.key === " " && M && !J.defaultPrevented && A.stop(J, () => {
10772
+ A.pulsate(J);
10773
+ }), D && D(J), j && J.target === J.currentTarget && ie() && J.key === " " && !J.defaultPrevented && j(J);
10774
10774
  });
10775
10775
  let ve = d;
10776
10776
  ve === "button" && (V.href || V.to) && (ve = v);
10777
10777
  const Ae = {};
10778
10778
  ve === "button" ? (Ae.type = Q === void 0 ? "button" : Q, Ae.disabled = u) : (!V.href && !V.to && (Ae.role = "button"), u && (Ae["aria-disabled"] = u));
10779
- const ae = tr(s, $), oe = {
10779
+ const ae = tr(s, P), oe = {
10780
10780
  ...o,
10781
10781
  centerRipple: l,
10782
10782
  component: d,
@@ -10785,7 +10785,7 @@ const Kd = ft("MuiButtonBase", ["root", "disabled", "focusVisible"]), Xd = (e) =
10785
10785
  disableTouchRipple: p,
10786
10786
  focusRipple: m,
10787
10787
  tabIndex: H,
10788
- focusVisible: z
10788
+ focusVisible: M
10789
10789
  }, ce = Xd(oe);
10790
10790
  return /* @__PURE__ */ t.jsxs(Jd, {
10791
10791
  as: ve,
@@ -10793,23 +10793,23 @@ const Kd = ft("MuiButtonBase", ["root", "disabled", "focusVisible"]), Xd = (e) =
10793
10793
  ownerState: oe,
10794
10794
  onBlur: U,
10795
10795
  onClick: j,
10796
- onContextMenu: M,
10796
+ onContextMenu: S,
10797
10797
  onFocus: he,
10798
10798
  onKeyDown: fe,
10799
10799
  onKeyUp: Fe,
10800
- onMouseDown: D,
10801
- onMouseLeave: A,
10800
+ onMouseDown: E,
10801
+ onMouseLeave: O,
10802
10802
  onMouseUp: I,
10803
- onDragLeave: _,
10804
- onTouchEnd: K,
10803
+ onDragLeave: W,
10804
+ onTouchEnd: G,
10805
10805
  onTouchMove: re,
10806
- onTouchStart: G,
10806
+ onTouchStart: K,
10807
10807
  ref: ae,
10808
10808
  tabIndex: u ? -1 : H,
10809
10809
  type: Q,
10810
10810
  ...Ae,
10811
10811
  ...V,
10812
- children: [a, C ? /* @__PURE__ */ t.jsx($o, {
10812
+ children: [a, z ? /* @__PURE__ */ t.jsx($o, {
10813
10813
  ref: y,
10814
10814
  center: l,
10815
10815
  ...X
@@ -11004,21 +11004,21 @@ function Ut(e, r) {
11004
11004
  component: h,
11005
11005
  ...j
11006
11006
  },
11007
- internalRef: S
11007
+ internalRef: T
11008
11008
  } = zl({
11009
11009
  className: s,
11010
11010
  ...d,
11011
11011
  externalForwardedProps: e === "root" ? m : void 0,
11012
11012
  externalSlotProps: v
11013
- }), N = tr(S, v == null ? void 0 : v.ref, r.ref), T = e === "root" ? h || u : h, k = Sl(x, {
11013
+ }), N = tr(T, v == null ? void 0 : v.ref, r.ref), C = e === "root" ? h || u : h, k = Sl(x, {
11014
11014
  ...e === "root" && !u && !g[e] && a,
11015
11015
  ...e !== "root" && !g[e] && a,
11016
11016
  ...j,
11017
- ...T && !c && {
11018
- as: T
11017
+ ...C && !c && {
11018
+ as: C
11019
11019
  },
11020
- ...T && c && {
11021
- component: T
11020
+ ...C && c && {
11021
+ component: C
11022
11022
  },
11023
11023
  ref: N
11024
11024
  }, i);
@@ -11103,66 +11103,66 @@ const e1 = (e) => {
11103
11103
  name: v,
11104
11104
  onBlur: h,
11105
11105
  onChange: j,
11106
- onFocus: S,
11106
+ onFocus: T,
11107
11107
  readOnly: N,
11108
- required: T = !1,
11108
+ required: C = !1,
11109
11109
  tabIndex: k,
11110
11110
  type: w,
11111
- value: E,
11111
+ value: D,
11112
11112
  slots: F = {},
11113
11113
  slotProps: Y = {},
11114
11114
  ...B
11115
- } = r, [f, W] = yl({
11115
+ } = r, [f, _] = yl({
11116
11116
  controlled: i,
11117
11117
  default: !!a,
11118
11118
  name: "SwitchBase",
11119
11119
  state: "checked"
11120
- }), L = Or(), H = (M) => {
11121
- S && S(M), L && L.onFocus && L.onFocus(M);
11122
- }, X = (M) => {
11123
- h && h(M), L && L.onBlur && L.onBlur(M);
11124
- }, q = (M) => {
11125
- if (M.nativeEvent.defaultPrevented)
11120
+ }), L = Or(), H = (S) => {
11121
+ T && T(S), L && L.onFocus && L.onFocus(S);
11122
+ }, X = (S) => {
11123
+ h && h(S), L && L.onBlur && L.onBlur(S);
11124
+ }, q = (S) => {
11125
+ if (S.nativeEvent.defaultPrevented)
11126
11126
  return;
11127
- const _ = M.target.checked;
11128
- W(_), j && j(M, _);
11127
+ const W = S.target.checked;
11128
+ _(W), j && j(S, W);
11129
11129
  };
11130
11130
  let Q = c;
11131
11131
  L && typeof Q > "u" && (Q = L.disabled);
11132
- const V = w === "checkbox" || w === "radio", $ = {
11132
+ const V = w === "checkbox" || w === "radio", P = {
11133
11133
  ...r,
11134
11134
  checked: f,
11135
11135
  disabled: Q,
11136
11136
  disableFocusRipple: d,
11137
11137
  edge: u
11138
- }, O = e1($), y = {
11138
+ }, A = e1(P), y = {
11139
11139
  slots: F,
11140
11140
  slotProps: {
11141
11141
  input: m,
11142
11142
  ...Y
11143
11143
  }
11144
- }, [z, R] = Ut("root", {
11144
+ }, [M, R] = Ut("root", {
11145
11145
  ref: s,
11146
11146
  elementType: t1,
11147
- className: O.root,
11147
+ className: A.root,
11148
11148
  shouldForwardComponentProp: !0,
11149
11149
  externalForwardedProps: {
11150
11150
  ...y,
11151
11151
  component: "span",
11152
11152
  ...B
11153
11153
  },
11154
- getSlotProps: (M) => ({
11155
- ...M,
11156
- onFocus: (_) => {
11154
+ getSlotProps: (S) => ({
11155
+ ...S,
11156
+ onFocus: (W) => {
11157
11157
  var I;
11158
- (I = M.onFocus) == null || I.call(M, _), H(_);
11158
+ (I = S.onFocus) == null || I.call(S, W), H(W);
11159
11159
  },
11160
- onBlur: (_) => {
11160
+ onBlur: (W) => {
11161
11161
  var I;
11162
- (I = M.onBlur) == null || I.call(M, _), X(_);
11162
+ (I = S.onBlur) == null || I.call(S, W), X(W);
11163
11163
  }
11164
11164
  }),
11165
- ownerState: $,
11165
+ ownerState: P,
11166
11166
  additionalProps: {
11167
11167
  centerRipple: !0,
11168
11168
  focusRipple: !d,
@@ -11170,18 +11170,18 @@ const e1 = (e) => {
11170
11170
  role: void 0,
11171
11171
  tabIndex: null
11172
11172
  }
11173
- }), [C, D] = Ut("input", {
11173
+ }), [z, E] = Ut("input", {
11174
11174
  ref: x,
11175
11175
  elementType: n1,
11176
- className: O.input,
11176
+ className: A.input,
11177
11177
  externalForwardedProps: y,
11178
- getSlotProps: (M) => ({
11179
- onChange: (_) => {
11178
+ getSlotProps: (S) => ({
11179
+ onChange: (W) => {
11180
11180
  var I;
11181
- (I = M.onChange) == null || I.call(M, _), q(_);
11181
+ (I = S.onChange) == null || I.call(S, W), q(W);
11182
11182
  }
11183
11183
  }),
11184
- ownerState: $,
11184
+ ownerState: P,
11185
11185
  additionalProps: {
11186
11186
  autoFocus: o,
11187
11187
  checked: i,
@@ -11190,18 +11190,18 @@ const e1 = (e) => {
11190
11190
  id: V ? p : void 0,
11191
11191
  name: v,
11192
11192
  readOnly: N,
11193
- required: T,
11193
+ required: C,
11194
11194
  tabIndex: k,
11195
11195
  type: w,
11196
- ...w === "checkbox" && E === void 0 ? {} : {
11197
- value: E
11196
+ ...w === "checkbox" && D === void 0 ? {} : {
11197
+ value: D
11198
11198
  }
11199
11199
  }
11200
11200
  });
11201
- return /* @__PURE__ */ t.jsxs(z, {
11201
+ return /* @__PURE__ */ t.jsxs(M, {
11202
11202
  ...R,
11203
- children: [/* @__PURE__ */ t.jsx(C, {
11204
- ...D
11203
+ children: [/* @__PURE__ */ t.jsx(z, {
11204
+ ...E
11205
11205
  }), f ? l : g]
11206
11206
  });
11207
11207
  });
@@ -11524,22 +11524,22 @@ const g1 = /* @__PURE__ */ t.jsx(Pr, {
11524
11524
  slots: v = {},
11525
11525
  slotProps: h = {},
11526
11526
  inputProps: j,
11527
- ...S
11527
+ ...T
11528
11528
  } = o, N = Or();
11529
- let T = m;
11530
- N && typeof T > "u" && (T = N.disabled), T ?? (T = !1);
11529
+ let C = m;
11530
+ N && typeof C > "u" && (C = N.disabled), C ?? (C = !1);
11531
11531
  const k = {
11532
11532
  ...o,
11533
- disabled: T,
11533
+ disabled: C,
11534
11534
  disableRipple: x,
11535
11535
  color: a,
11536
11536
  size: g
11537
- }, w = u1(k), E = a1();
11537
+ }, w = u1(k), D = a1();
11538
11538
  let F = i;
11539
- const Y = gl(u, E && E.onChange);
11539
+ const Y = gl(u, D && D.onChange);
11540
11540
  let B = d;
11541
- E && (typeof F > "u" && (F = p1(E.value, o.value)), typeof B > "u" && (B = E.name));
11542
- const f = h.input ?? j, [W, L] = Ut("root", {
11541
+ D && (typeof F > "u" && (F = p1(D.value, o.value)), typeof B > "u" && (B = D.name));
11542
+ const f = h.input ?? j, [_, L] = Ut("root", {
11543
11543
  ref: s,
11544
11544
  elementType: f1,
11545
11545
  className: _e(w.root, p),
@@ -11547,7 +11547,7 @@ const g1 = /* @__PURE__ */ t.jsx(Pr, {
11547
11547
  externalForwardedProps: {
11548
11548
  slots: v,
11549
11549
  slotProps: h,
11550
- ...S
11550
+ ...T
11551
11551
  },
11552
11552
  getSlotProps: (H) => ({
11553
11553
  ...H,
@@ -11565,7 +11565,7 @@ const g1 = /* @__PURE__ */ t.jsx(Pr, {
11565
11565
  checkedIcon: /* @__PURE__ */ ne.cloneElement(l, {
11566
11566
  fontSize: l.props.fontSize ?? g
11567
11567
  }),
11568
- disabled: T,
11568
+ disabled: C,
11569
11569
  name: B,
11570
11570
  checked: F,
11571
11571
  slots: v,
@@ -11575,7 +11575,7 @@ const g1 = /* @__PURE__ */ t.jsx(Pr, {
11575
11575
  }
11576
11576
  }
11577
11577
  });
11578
- return /* @__PURE__ */ t.jsx(W, {
11578
+ return /* @__PURE__ */ t.jsx(_, {
11579
11579
  ...L,
11580
11580
  classes: w
11581
11581
  });
@@ -11832,9 +11832,9 @@ const x1 = {
11832
11832
  paragraph: m,
11833
11833
  variant: x,
11834
11834
  variantMapping: v
11835
- }, S = u || (m ? "p" : v[x] || $s[x]) || "span", N = b1(j);
11835
+ }, T = u || (m ? "p" : v[x] || $s[x]) || "span", N = b1(j);
11836
11836
  return /* @__PURE__ */ t.jsx(j1, {
11837
- as: S,
11837
+ as: T,
11838
11838
  ref: s,
11839
11839
  className: _e(N.root, d),
11840
11840
  ...h,
@@ -12047,12 +12047,12 @@ const C1 = (e) => {
12047
12047
  onChange: v,
12048
12048
  required: h,
12049
12049
  slots: j = {},
12050
- slotProps: S = {},
12050
+ slotProps: T = {},
12051
12051
  value: N,
12052
- ...T
12053
- } = o, k = Or(), w = d ?? c.props.disabled ?? (k == null ? void 0 : k.disabled), E = h ?? c.props.required, F = {
12052
+ ...C
12053
+ } = o, k = Or(), w = d ?? c.props.disabled ?? (k == null ? void 0 : k.disabled), D = h ?? c.props.required, F = {
12054
12054
  disabled: w,
12055
- required: E
12055
+ required: D
12056
12056
  };
12057
12057
  ["checked", "name", "onChange", "value", "inputRef"].forEach((q) => {
12058
12058
  typeof c.props[q] > "u" && typeof o[q] < "u" && (F[q] = o[q]);
@@ -12065,17 +12065,17 @@ const C1 = (e) => {
12065
12065
  ...o,
12066
12066
  disabled: w,
12067
12067
  labelPlacement: m,
12068
- required: E,
12068
+ required: D,
12069
12069
  error: Y.error
12070
- }, f = C1(B), W = {
12070
+ }, f = C1(B), _ = {
12071
12071
  slots: j,
12072
12072
  slotProps: {
12073
12073
  ...a,
12074
- ...S
12074
+ ...T
12075
12075
  }
12076
12076
  }, [L, H] = Ut("typography", {
12077
12077
  elementType: ar,
12078
- externalForwardedProps: W,
12078
+ externalForwardedProps: _,
12079
12079
  ownerState: B
12080
12080
  });
12081
12081
  let X = p;
@@ -12088,8 +12088,8 @@ const C1 = (e) => {
12088
12088
  className: _e(f.root, l),
12089
12089
  ownerState: B,
12090
12090
  ref: s,
12091
- ...T,
12092
- children: [/* @__PURE__ */ ne.cloneElement(c, F), E ? /* @__PURE__ */ t.jsxs("div", {
12091
+ ...C,
12092
+ children: [/* @__PURE__ */ ne.cloneElement(c, F), D ? /* @__PURE__ */ t.jsxs("div", {
12093
12093
  children: [X, /* @__PURE__ */ t.jsxs(S1, {
12094
12094
  ownerState: B,
12095
12095
  "aria-hidden": !0,
@@ -12258,36 +12258,36 @@ const $r = 4, rt = (e) => {
12258
12258
  value: v,
12259
12259
  color: h = "white",
12260
12260
  fontSizeLabel: j = "1vw",
12261
- fontSizeOptions: S = "0.9vw",
12261
+ fontSizeOptions: T = "0.9vw",
12262
12262
  border: N,
12263
- backgroundColor: T,
12263
+ backgroundColor: C,
12264
12264
  disableColorOpen: k,
12265
12265
  disabled: w = !1,
12266
- Icon: E,
12266
+ Icon: D,
12267
12267
  displayOptions: F,
12268
12268
  height: Y,
12269
12269
  paddingDropdownHeader: B,
12270
12270
  widthIcon: f,
12271
- heightIcon: W,
12271
+ heightIcon: _,
12272
12272
  placeholderInputSearch: L = "Buscar...",
12273
12273
  borderRadiusRight: H = "4px",
12274
12274
  borderRadiusLeft: X = "4px",
12275
12275
  labelText: q,
12276
12276
  subLabelText: Q,
12277
12277
  gap: V = "0",
12278
- justifyContent: $ = "flex-start",
12279
- id: O,
12278
+ justifyContent: P = "flex-start",
12279
+ id: A,
12280
12280
  fontSizeLabelText: y,
12281
- fontSizeTooltip: z,
12281
+ fontSizeTooltip: M,
12282
12282
  heightTooltip: R,
12283
- leftTooltip: C,
12284
- tooltip: D,
12285
- topTooltip: M,
12286
- widthTooltip: _,
12283
+ leftTooltip: z,
12284
+ tooltip: E,
12285
+ topTooltip: S,
12286
+ widthTooltip: W,
12287
12287
  isTooltipVisible: I,
12288
- position: A = "absolute",
12289
- withoutOptions: G = !1,
12290
- sortAlphabetically: K = !0
12288
+ position: O = "absolute",
12289
+ withoutOptions: K = !1,
12290
+ sortAlphabetically: G = !0
12291
12291
  } = e, [re, U] = ee(o), [he, ie] = ee(o), [fe, Fe] = ee(!1), ve = g !== void 0 ? g : fe, Ae = p !== void 0 ? p : Fe, [ae, oe] = ee(""), ce = Ie(null), J = () => !w && Ae(!ve);
12292
12292
  ue(() => {
12293
12293
  if (v != null)
@@ -12299,20 +12299,20 @@ const $r = 4, rt = (e) => {
12299
12299
  } else
12300
12300
  oe("");
12301
12301
  }, [v, o]), ue(() => {
12302
- const le = K ? [...o].sort((we, Ue) => {
12302
+ const le = G ? [...o].sort((we, Ue) => {
12303
12303
  var et;
12304
12304
  return (et = we.label) == null ? void 0 : et.localeCompare(Ue.label);
12305
12305
  }) : [...o];
12306
12306
  U(le), ie(le);
12307
- }, [o, K]);
12307
+ }, [o, G]);
12308
12308
  const se = (le) => {
12309
- oe(le.label), Ae(!1), i && i({ ...le, id: O });
12309
+ oe(le.label), Ae(!1), i && i({ ...le, id: A });
12310
12310
  }, [Me, ze] = ee(""), Ne = (le) => {
12311
12311
  const we = le.target.value;
12312
12312
  ze(we);
12313
12313
  const Ue = re.filter(
12314
12314
  (gt) => gt.label.toLowerCase().includes(we.toLowerCase())
12315
- ), et = K ? Ue.sort((gt, On) => {
12315
+ ), et = G ? Ue.sort((gt, On) => {
12316
12316
  var en;
12317
12317
  return (en = gt.label) == null ? void 0 : en.localeCompare(On.label);
12318
12318
  }) : Ue;
@@ -12337,21 +12337,21 @@ const $r = 4, rt = (e) => {
12337
12337
  display: "flex",
12338
12338
  flexDirection: "column",
12339
12339
  gap: V,
12340
- justifyContent: $
12340
+ justifyContent: P
12341
12341
  },
12342
12342
  children: [
12343
12343
  q && /* @__PURE__ */ t.jsx(
12344
12344
  Nn,
12345
12345
  {
12346
12346
  fontSizeTitle: y,
12347
- fontSizeTooltip: z,
12347
+ fontSizeTooltip: M,
12348
12348
  heightTooltip: R,
12349
- left: C,
12349
+ left: z,
12350
12350
  subTitle: Q,
12351
12351
  title: q,
12352
- tooltip: D,
12353
- top: M,
12354
- widthTooltip: _,
12352
+ tooltip: E,
12353
+ top: S,
12354
+ widthTooltip: W,
12355
12355
  isTooltipVisibleProp: I,
12356
12356
  marginBottom: "5px"
12357
12357
  }
@@ -12373,7 +12373,7 @@ const $r = 4, rt = (e) => {
12373
12373
  "aria-expanded": ve,
12374
12374
  style: {
12375
12375
  border: N,
12376
- backgroundColor: T,
12376
+ backgroundColor: C,
12377
12377
  cursor: w ? "not-allowed" : "pointer",
12378
12378
  opacity: w ? 0.5 : 1,
12379
12379
  padding: B,
@@ -12385,22 +12385,22 @@ const $r = 4, rt = (e) => {
12385
12385
  },
12386
12386
  children: [
12387
12387
  /* @__PURE__ */ t.jsx("span", { style: { fontSize: j }, children: ae || s }),
12388
- E ? /* @__PURE__ */ t.jsx(
12389
- E,
12388
+ D ? /* @__PURE__ */ t.jsx(
12389
+ D,
12390
12390
  {
12391
12391
  className: `icon-basicSelect ${ve ? "up" : "down"}`,
12392
- style: { width: f, height: W }
12392
+ style: { width: f, height: _ }
12393
12393
  }
12394
12394
  ) : /* @__PURE__ */ t.jsx("i", { className: `arrow-${h} ${ve ? "up" : "down"}` })
12395
12395
  ]
12396
12396
  }
12397
12397
  ),
12398
- ve && !G && /* @__PURE__ */ t.jsxs(
12398
+ ve && !K && /* @__PURE__ */ t.jsxs(
12399
12399
  "ul",
12400
12400
  {
12401
- className: `dropdown-options ${h} ${A}`,
12401
+ className: `dropdown-options ${h} ${O}`,
12402
12402
  role: "listbox",
12403
- id: `dropdown-options-basicSelect ${O}`,
12403
+ id: `dropdown-options-basicSelect ${A}`,
12404
12404
  style: {
12405
12405
  width: c || "100%",
12406
12406
  height: d,
@@ -12434,14 +12434,14 @@ const $r = 4, rt = (e) => {
12434
12434
  )
12435
12435
  }
12436
12436
  ),
12437
- o.length === 0 && !G && /* @__PURE__ */ t.jsx(
12437
+ o.length === 0 && !K && /* @__PURE__ */ t.jsx(
12438
12438
  "li",
12439
12439
  {
12440
12440
  style: {
12441
12441
  padding: "15px",
12442
12442
  textAlign: "center",
12443
12443
  color: "#8598ad",
12444
- fontSize: S,
12444
+ fontSize: T,
12445
12445
  cursor: "default",
12446
12446
  overflowWrap: "break-word"
12447
12447
  },
@@ -12455,7 +12455,7 @@ const $r = 4, rt = (e) => {
12455
12455
  padding: "15px",
12456
12456
  textAlign: "center",
12457
12457
  color: "#8598ad",
12458
- fontSize: S,
12458
+ fontSize: T,
12459
12459
  cursor: "default",
12460
12460
  overflowWrap: "break-word"
12461
12461
  },
@@ -12472,7 +12472,7 @@ const $r = 4, rt = (e) => {
12472
12472
  role: "option",
12473
12473
  style: {
12474
12474
  padding: a ? "5px 0" : "15px",
12475
- fontSize: S
12475
+ fontSize: T
12476
12476
  },
12477
12477
  className: "flex align-center flex-wrap",
12478
12478
  children: [
@@ -12693,17 +12693,17 @@ const Vo = ({
12693
12693
  textOverflow: v = !0,
12694
12694
  widthDropdown: h,
12695
12695
  error: j,
12696
- fontSizeLabelText: S,
12696
+ fontSizeLabelText: T,
12697
12697
  fontSizeTooltip: N,
12698
- heightTooltip: T,
12698
+ heightTooltip: C,
12699
12699
  leftTooltip: k,
12700
12700
  tooltip: w,
12701
- topTooltip: E,
12701
+ topTooltip: D,
12702
12702
  widthTooltip: F,
12703
12703
  isTooltipVisible: Y,
12704
12704
  subLabelText: B,
12705
12705
  labelText: f,
12706
- language: W = "es",
12706
+ language: _ = "es",
12707
12707
  textSelectAll: L = "Seleccionar Todo",
12708
12708
  placeholderSearch: H = "Buscar...",
12709
12709
  isRelative: X = !1,
@@ -12711,11 +12711,11 @@ const Vo = ({
12711
12711
  fontSizeLabel: Q,
12712
12712
  fontSizeOptions: V = "1vw"
12713
12713
  }) => {
12714
- const [$, O] = ee([]), [y, z] = ee(""), [R, C] = ee(!1), D = Ie(null), M = Ie(!1), _ = Ie(q !== void 0);
12714
+ const [P, A] = ee([]), [y, M] = ee(""), [R, z] = ee(!1), E = Ie(null), S = Ie(!1), W = Ie(q !== void 0);
12715
12715
  ue(() => {
12716
- q !== void 0 && (O(q), _.current = !0);
12716
+ q !== void 0 && (A(q), W.current = !0);
12717
12717
  }, [q]);
12718
- const I = M1(e, r), G = Object.values(I).flat().length >= $r, K = () => {
12718
+ const I = M1(e, r), K = Object.values(I).flat().length >= $r, G = () => {
12719
12719
  if (y.trim() === "")
12720
12720
  return Object.values(I).flat();
12721
12721
  const ae = y.toLowerCase(), oe = [];
@@ -12731,7 +12731,7 @@ const Vo = ({
12731
12731
  oe.push(...Me);
12732
12732
  }
12733
12733
  }), oe;
12734
- }, U = K().length > 0, he = (ae) => ae.map((oe) => {
12734
+ }, U = G().length > 0, he = (ae) => ae.map((oe) => {
12735
12735
  let ce = null;
12736
12736
  if (r && typeof e == "object" && !Array.isArray(e)) {
12737
12737
  for (const J of Object.values(e))
@@ -12746,25 +12746,25 @@ const Vo = ({
12746
12746
  }
12747
12747
  return null;
12748
12748
  }).filter(Boolean), ie = (ae) => {
12749
- if (M.current = !0, ae.target.checked) {
12750
- const oe = K(), ce = oe.map((Me) => Me.id), se = [...$.filter((Me) => !oe.some(
12749
+ if (S.current = !0, ae.target.checked) {
12750
+ const oe = G(), ce = oe.map((Me) => Me.id), se = [...P.filter((Me) => !oe.some(
12751
12751
  (Ne) => Ne.id === Me
12752
12752
  )), ...ce];
12753
- if (O(se), i && i(se), l) {
12753
+ if (A(se), i && i(se), l) {
12754
12754
  const Me = he(se);
12755
12755
  l(Me);
12756
12756
  }
12757
12757
  } else {
12758
- const ce = K().map((se) => se.id), J = $.filter(
12758
+ const ce = G().map((se) => se.id), J = P.filter(
12759
12759
  (se) => !ce.includes(se)
12760
12760
  );
12761
- if (O(J), i && i(J), l) {
12761
+ if (A(J), i && i(J), l) {
12762
12762
  const se = he(J);
12763
12763
  l(se);
12764
12764
  }
12765
12765
  }
12766
12766
  }, fe = (ae) => {
12767
- M.current = !0, O((oe) => {
12767
+ S.current = !0, A((oe) => {
12768
12768
  const ce = oe.includes(ae) ? oe.filter((J) => J !== ae) : [...oe, ae];
12769
12769
  if (i && i(ce), l) {
12770
12770
  const J = he(ce);
@@ -12773,23 +12773,23 @@ const Vo = ({
12773
12773
  return ce;
12774
12774
  });
12775
12775
  }, Fe = () => {
12776
- if (i && i($), l) {
12777
- const ae = he($);
12776
+ if (i && i(P), l) {
12777
+ const ae = he(P);
12778
12778
  l(ae);
12779
12779
  }
12780
- C(!1);
12780
+ z(!1);
12781
12781
  };
12782
12782
  ue(() => {
12783
12783
  const ae = (oe) => {
12784
- D.current && !D.current.contains(oe.target) && C(!1);
12784
+ E.current && !E.current.contains(oe.target) && z(!1);
12785
12785
  };
12786
12786
  return document.addEventListener("mousedown", ae), () => {
12787
12787
  document.removeEventListener("mousedown", ae);
12788
12788
  };
12789
- }, [D]), ue(() => {
12790
- R || z("");
12789
+ }, [E]), ue(() => {
12790
+ R || M("");
12791
12791
  }, [R]);
12792
- const ve = () => $.map((oe) => {
12792
+ const ve = () => P.map((oe) => {
12793
12793
  for (const ce of Object.values(I)) {
12794
12794
  const J = ce.find((se) => se.id === oe);
12795
12795
  if (J) return J.name;
@@ -12797,42 +12797,43 @@ const Vo = ({
12797
12797
  return null;
12798
12798
  }).filter(Boolean).join(", ");
12799
12799
  ue(() => {
12800
- O([]), M.current = !1, q === void 0 && (_.current = !1);
12800
+ A([]), S.current = !1, q === void 0 && (W.current = !1);
12801
12801
  }, [g, q]), ue(() => {
12802
- if (_.current && !M.current) {
12802
+ if (W.current && !S.current) {
12803
12803
  const ae = q || [];
12804
- O((oe) => JSON.stringify(oe.sort()) !== JSON.stringify(ae.sort()) ? ae : oe);
12804
+ A((oe) => JSON.stringify(oe.sort()) !== JSON.stringify(ae.sort()) ? ae : oe);
12805
12805
  }
12806
- M.current = !1;
12806
+ S.current = !1;
12807
12807
  }, [q]);
12808
12808
  const Ae = Object.values(I).every(
12809
12809
  (ae) => Array.isArray(ae) && ae.length === 0
12810
12810
  );
12811
- return /* @__PURE__ */ t.jsxs("div", { className: "relative", ref: D, children: [
12811
+ return /* @__PURE__ */ t.jsxs("div", { className: "relative", ref: E, children: [
12812
12812
  /* @__PURE__ */ t.jsx(
12813
12813
  rt,
12814
12814
  {
12815
- label: $.length > 0 ? ve() : a,
12815
+ label: P.length > 0 ? ve() : a,
12816
12816
  onchange: () => {
12817
12817
  },
12818
12818
  options: [],
12819
12819
  size: c,
12820
12820
  isOpen: R,
12821
- setIsOpen: C,
12821
+ setIsOpen: z,
12822
12822
  disabledClickOutside: !0,
12823
12823
  disabled: x,
12824
12824
  error: j,
12825
- fontSizeLabelText: S,
12825
+ fontSizeLabelText: T,
12826
12826
  fontSizeTooltip: N,
12827
- heightTooltip: T,
12827
+ heightTooltip: C,
12828
12828
  leftTooltip: k,
12829
12829
  tooltip: w,
12830
- topTooltip: E,
12830
+ topTooltip: D,
12831
12831
  widthTooltip: F,
12832
12832
  isTooltipVisible: Y,
12833
12833
  labelText: f,
12834
12834
  subLabelText: B,
12835
- fontSizeLabel: Q
12835
+ fontSizeLabel: Q,
12836
+ withoutOptions: !0
12836
12837
  }
12837
12838
  ),
12838
12839
  R && /* @__PURE__ */ t.jsxs(
@@ -12849,7 +12850,7 @@ const Vo = ({
12849
12850
  },
12850
12851
  children: [
12851
12852
  /* @__PURE__ */ t.jsxs("div", { children: [
12852
- G && /* @__PURE__ */ t.jsx(
12853
+ K && /* @__PURE__ */ t.jsx(
12853
12854
  "div",
12854
12855
  {
12855
12856
  style: {
@@ -12868,7 +12869,7 @@ const Vo = ({
12868
12869
  height: "28px"
12869
12870
  },
12870
12871
  type: "text",
12871
- onChange: (ae) => z(ae.target.value),
12872
+ onChange: (ae) => M(ae.target.value),
12872
12873
  fontStyle: "italic"
12873
12874
  }
12874
12875
  }
@@ -12883,9 +12884,9 @@ const Vo = ({
12883
12884
  fontSize: V,
12884
12885
  borderBottom: "1px solid #D0D0CE",
12885
12886
  backgroundColor: (() => {
12886
- const ae = K();
12887
+ const ae = G();
12887
12888
  return ae.length > 0 && ae.every(
12888
- (ce) => $.includes(ce.id)
12889
+ (ce) => P.includes(ce.id)
12889
12890
  ) ? "#f4f4f4" : "transparent";
12890
12891
  })()
12891
12892
  },
@@ -12896,9 +12897,9 @@ const Vo = ({
12896
12897
  Bt,
12897
12898
  {
12898
12899
  checked: (() => {
12899
- const ae = K();
12900
+ const ae = G();
12900
12901
  return ae.length > 0 && (ae == null ? void 0 : ae.every(
12901
- (oe) => $ == null ? void 0 : $.includes(oe.id)
12902
+ (oe) => P == null ? void 0 : P.includes(oe.id)
12902
12903
  ));
12903
12904
  })(),
12904
12905
  onChange: ie,
@@ -12998,7 +12999,7 @@ const Vo = ({
12998
12999
  }
12999
13000
  );
13000
13001
  return (se == null ? void 0 : se.length) > 0 && (se == null ? void 0 : se.every(
13001
- (ze) => $ == null ? void 0 : $.includes(ze.id)
13002
+ (ze) => P == null ? void 0 : P.includes(ze.id)
13002
13003
  )) ? "#f4f4f4" : "transparent";
13003
13004
  })()
13004
13005
  },
@@ -13019,11 +13020,11 @@ const Vo = ({
13019
13020
  }
13020
13021
  );
13021
13022
  return (se == null ? void 0 : se.length) > 0 && (se == null ? void 0 : se.every(
13022
- (Me) => $ == null ? void 0 : $.includes(Me.id)
13023
+ (Me) => P == null ? void 0 : P.includes(Me.id)
13023
13024
  ));
13024
13025
  })(),
13025
13026
  onChange: (se) => {
13026
- M.current = !0;
13027
+ S.current = !0;
13027
13028
  const ze = ce.filter(
13028
13029
  (Ne) => {
13029
13030
  if (y.trim() === "")
@@ -13036,20 +13037,20 @@ const Vo = ({
13036
13037
  );
13037
13038
  if (se.target.checked) {
13038
13039
  const Ne = ze.filter(
13039
- (we) => !$.includes(we)
13040
+ (we) => !P.includes(we)
13040
13041
  ), le = [
13041
- ...$,
13042
+ ...P,
13042
13043
  ...Ne
13043
13044
  ];
13044
- if (O(le), i && i(le), l) {
13045
+ if (A(le), i && i(le), l) {
13045
13046
  const we = he(le);
13046
13047
  l(we);
13047
13048
  }
13048
13049
  } else {
13049
- const Ne = $.filter(
13050
+ const Ne = P.filter(
13050
13051
  (le) => !ze.includes(le)
13051
13052
  );
13052
- if (O(Ne), i && i(Ne), l) {
13053
+ if (A(Ne), i && i(Ne), l) {
13053
13054
  const le = he(Ne);
13054
13055
  l(le);
13055
13056
  }
@@ -13097,7 +13098,7 @@ const Vo = ({
13097
13098
  {
13098
13099
  className: "item",
13099
13100
  style: {
13100
- backgroundColor: $.includes(se.id) ? "#f4f4f4" : "transparent"
13101
+ backgroundColor: P.includes(se.id) ? "#f4f4f4" : "transparent"
13101
13102
  },
13102
13103
  children: /* @__PURE__ */ t.jsx(
13103
13104
  Ft,
@@ -13105,7 +13106,7 @@ const Vo = ({
13105
13106
  control: /* @__PURE__ */ t.jsx(
13106
13107
  Bt,
13107
13108
  {
13108
- checked: $.includes(se.id),
13109
+ checked: P.includes(se.id),
13109
13110
  onChange: () => fe(se.id),
13110
13111
  sx: {
13111
13112
  color: "#CCD2DD",
@@ -13304,16 +13305,16 @@ const Kn = ft("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "c
13304
13305
  slots: x = {},
13305
13306
  slotProps: v = {},
13306
13307
  ...h
13307
- } = o, j = c ? d : a, S = c ? d : i, N = {
13308
+ } = o, j = c ? d : a, T = c ? d : i, N = {
13308
13309
  ...o,
13309
13310
  disableRipple: p,
13310
13311
  color: l,
13311
13312
  indeterminate: c,
13312
13313
  size: g
13313
- }, T = I1(N), k = v.input ?? u, [w, E] = Ut("root", {
13314
+ }, C = I1(N), k = v.input ?? u, [w, D] = Ut("root", {
13314
13315
  ref: s,
13315
13316
  elementType: P1,
13316
- className: _e(T.root, m),
13317
+ className: _e(C.root, m),
13317
13318
  shouldForwardComponentProp: !0,
13318
13319
  externalForwardedProps: {
13319
13320
  slots: x,
@@ -13326,8 +13327,8 @@ const Kn = ft("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "c
13326
13327
  icon: /* @__PURE__ */ ne.cloneElement(j, {
13327
13328
  fontSize: j.props.fontSize ?? g
13328
13329
  }),
13329
- checkedIcon: /* @__PURE__ */ ne.cloneElement(S, {
13330
- fontSize: S.props.fontSize ?? g
13330
+ checkedIcon: /* @__PURE__ */ ne.cloneElement(T, {
13331
+ fontSize: T.props.fontSize ?? g
13331
13332
  }),
13332
13333
  disableRipple: p,
13333
13334
  slots: x,
@@ -13339,8 +13340,8 @@ const Kn = ft("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "c
13339
13340
  }
13340
13341
  });
13341
13342
  return /* @__PURE__ */ t.jsx(w, {
13342
- ...E,
13343
- classes: T
13343
+ ...D,
13344
+ classes: C
13344
13345
  });
13345
13346
  });
13346
13347
  process.env.NODE_ENV !== "production" && (Zo.propTypes = {
@@ -13470,72 +13471,75 @@ const L1 = (e) => {
13470
13471
  maxHeightOptions: v,
13471
13472
  labelText: h,
13472
13473
  subLabelText: j,
13473
- gap: S = "0",
13474
+ gap: T = "0",
13474
13475
  fontSizeLabel: N = "0.9vw",
13475
- onChangeFunction: T,
13476
+ onChangeFunction: C,
13476
13477
  id: k,
13477
13478
  fontSizeLabelText: w,
13478
- fontSizeTooltip: E,
13479
+ fontSizeTooltip: D,
13479
13480
  heightTooltip: F,
13480
13481
  leftTooltip: Y,
13481
13482
  tooltip: B,
13482
13483
  topTooltip: f,
13483
- widthTooltip: W,
13484
+ widthTooltip: _,
13484
13485
  isTooltipVisible: L,
13485
13486
  placeholderInputSearch: H = "Buscar...",
13486
- sortAlphabetically: X = !0
13487
- } = e, [q, Q] = ee(a);
13487
+ sortAlphabetically: X = !0,
13488
+ value: q
13489
+ } = e, [Q, V] = ee(a);
13488
13490
  ue(() => {
13489
- const C = X ? [...a].sort((D, M) => {
13490
- var _;
13491
- return (_ = D.label) == null ? void 0 : _.localeCompare(M.label);
13491
+ const E = X ? [...a].sort((S, W) => {
13492
+ var I;
13493
+ return (I = S.label) == null ? void 0 : I.localeCompare(W.label);
13492
13494
  }) : [...a];
13493
- Q(C);
13495
+ V(E);
13494
13496
  }, [a, X]);
13495
- const V = (C) => {
13496
- i((D) => D.some((M) => yt.isEqual(M, C)) ? (c && c(D.filter((M) => !yt.isEqual(M, C))), T && T({
13497
+ const P = (E) => {
13498
+ console.log({ value: E }), i((S) => S.some((W) => yt.isEqual(W, E)) ? (c && c(S.filter((W) => !yt.isEqual(W, E))), C && C({
13497
13499
  id: k,
13498
- value: D.filter((M) => !yt.isEqual(M, C))
13499
- }), D.filter((M) => !yt.isEqual(M, C))) : (c && c([...D, C]), T && T({ id: k, value: [...D, C] }), [...D, C]));
13500
- }, $ = () => o.length === 0 ? d : o.map((C) => {
13501
- const D = a.find(
13502
- (M) => yt.isEqual(M.value, C)
13500
+ value: S.filter((W) => !yt.isEqual(W, E))
13501
+ }), S.filter((W) => !yt.isEqual(W, E))) : (c && c([...S, E]), C && C({ id: k, value: [...S, E] }), [...S, E]));
13502
+ }, A = () => o.length === 0 ? d : o.map((E) => {
13503
+ const S = a.find(
13504
+ (W) => yt.isEqual(W.value, E)
13503
13505
  );
13504
- return D ? D.label : "";
13506
+ return S ? S.label : "";
13505
13507
  }).filter(Boolean).join(", ");
13506
13508
  ue(() => {
13507
13509
  i([]);
13508
- }, [p]);
13509
- const O = (C) => {
13510
- l.current && !l.current.contains(C.target) && s(!1);
13510
+ }, [p]), ue(() => {
13511
+ q != null && (Array.isArray(q) ? i(q) : i([]));
13512
+ }, [q]);
13513
+ const y = (E) => {
13514
+ l.current && !l.current.contains(E.target) && s(!1);
13511
13515
  };
13512
- ue(() => (document.addEventListener("mousedown", O), () => {
13513
- document.removeEventListener("mousedown", O);
13516
+ ue(() => (document.addEventListener("mousedown", y), () => {
13517
+ document.removeEventListener("mousedown", y);
13514
13518
  }), []), ue(() => {
13515
13519
  if (!r) {
13516
- const C = X ? [...a].sort((D, M) => {
13517
- var _;
13518
- return (_ = D.label) == null ? void 0 : _.localeCompare(M.label);
13520
+ const E = X ? [...a].sort((S, W) => {
13521
+ var I;
13522
+ return (I = S.label) == null ? void 0 : I.localeCompare(W.label);
13519
13523
  }) : [...a];
13520
- Q(C), z("");
13524
+ V(E), R("");
13521
13525
  }
13522
13526
  }, [r, a, X]);
13523
- const [y, z] = ee(""), R = (C) => {
13524
- const D = C.target.value;
13525
- z(D);
13526
- const M = a.filter(
13527
- (I) => I.label.toLowerCase().includes(D.toLowerCase())
13528
- ), _ = X ? M.sort((I, A) => {
13527
+ const [M, R] = ee(""), z = (E) => {
13528
+ const S = E.target.value;
13529
+ R(S);
13530
+ const W = a.filter(
13531
+ (O) => O.label.toLowerCase().includes(S.toLowerCase())
13532
+ ), I = X ? W.sort((O, K) => {
13529
13533
  var G;
13530
- return (G = I.label) == null ? void 0 : G.localeCompare(A.label);
13531
- }) : M;
13532
- Q(_);
13534
+ return (G = O.label) == null ? void 0 : G.localeCompare(K.label);
13535
+ }) : W;
13536
+ V(I);
13533
13537
  };
13534
13538
  return /* @__PURE__ */ t.jsxs("div", { ref: l, className: "relative", style: { width: u }, children: [
13535
13539
  /* @__PURE__ */ t.jsx(
13536
13540
  rt,
13537
13541
  {
13538
- label: $(),
13542
+ label: A(),
13539
13543
  onchange: () => {
13540
13544
  },
13541
13545
  options: [],
@@ -13546,17 +13550,18 @@ const L1 = (e) => {
13546
13550
  disabled: x,
13547
13551
  error: g,
13548
13552
  labelText: h,
13549
- gap: S,
13553
+ gap: T,
13550
13554
  subLabelText: j,
13551
13555
  fontSizeLabel: N,
13552
13556
  fontSizeLabelText: w,
13553
- fontSizeTooltip: E,
13557
+ fontSizeTooltip: D,
13554
13558
  heightTooltip: F,
13555
13559
  leftTooltip: Y,
13556
13560
  tooltip: B,
13557
13561
  topTooltip: f,
13558
- widthTooltip: W,
13559
- isTooltipVisible: L
13562
+ widthTooltip: _,
13563
+ isTooltipVisible: L,
13564
+ withoutOptions: !0
13560
13565
  }
13561
13566
  ),
13562
13567
  r && /* @__PURE__ */ t.jsxs(
@@ -13584,14 +13589,14 @@ const L1 = (e) => {
13584
13589
  height: "28px"
13585
13590
  },
13586
13591
  type: "text",
13587
- onChange: (C) => R(C),
13592
+ onChange: (E) => z(E),
13588
13593
  fontStyle: "italic"
13589
13594
  }
13590
13595
  }
13591
13596
  )
13592
13597
  }
13593
13598
  ),
13594
- q.length === 0 && y.trim() !== "" ? /* @__PURE__ */ t.jsxs(
13599
+ Q.length === 0 && M.trim() !== "" ? /* @__PURE__ */ t.jsxs(
13595
13600
  "li",
13596
13601
  {
13597
13602
  style: {
@@ -13604,27 +13609,27 @@ const L1 = (e) => {
13604
13609
  },
13605
13610
  children: [
13606
13611
  'No se encontraron resultados para "',
13607
- y,
13612
+ M,
13608
13613
  '"'
13609
13614
  ]
13610
13615
  }
13611
- ) : q.map((C) => /* @__PURE__ */ t.jsxs(
13616
+ ) : Q.map((E) => /* @__PURE__ */ t.jsxs(
13612
13617
  "li",
13613
13618
  {
13614
- onClick: () => V(C.value),
13615
- className: o.some((D) => yt.isEqual(D, C.value)) ? "selected" : "",
13619
+ onClick: () => P(E.value),
13620
+ className: o.some((S) => yt.isEqual(S, E.value)) ? "selected" : "",
13616
13621
  style: { fontSize: m },
13617
13622
  children: [
13618
13623
  /* @__PURE__ */ t.jsx(
13619
13624
  Zo,
13620
13625
  {
13621
13626
  checked: o.some(
13622
- (D) => yt.isEqual(D, C.value)
13627
+ (S) => yt.isEqual(S, E.value)
13623
13628
  ),
13624
- onChange: (D) => {
13625
- D.stopPropagation(), V(C.value);
13629
+ onChange: (S) => {
13630
+ S.stopPropagation(), P(E.value);
13626
13631
  },
13627
- onClick: () => V(C.value),
13632
+ onClick: () => P(E.value),
13628
13633
  sx: {
13629
13634
  color: "#CCD2DD",
13630
13635
  "&.Mui-checked": {
@@ -13634,10 +13639,10 @@ const L1 = (e) => {
13634
13639
  size: "small"
13635
13640
  }
13636
13641
  ),
13637
- C.label
13642
+ E.label
13638
13643
  ]
13639
13644
  },
13640
- C.value.title || C.value
13645
+ E.value.title || E.value
13641
13646
  )),
13642
13647
  a.length === 0 && /* @__PURE__ */ t.jsx(
13643
13648
  "li",
@@ -13684,7 +13689,8 @@ L1.propTypes = {
13684
13689
  isTooltipVisible: n.bool,
13685
13690
  placeholderInputSearch: n.string,
13686
13691
  inputProperties: n.object,
13687
- sortAlphabetically: n.bool
13692
+ sortAlphabetically: n.bool,
13693
+ value: n.array
13688
13694
  };
13689
13695
  const F1 = (e) => /* @__PURE__ */ t.jsx(rt, { ...e, inputRadio: !0 });
13690
13696
  F1.propTypes = {
@@ -13802,27 +13808,27 @@ const Z1 = ({
13802
13808
  subLabelText: l,
13803
13809
  fontSize: a
13804
13810
  }) => {
13805
- const [c, d] = ee("00"), [u, g] = ee("00"), [p, m] = ee(!1), [x, v] = ee(e ?? "Hora Inicio"), h = Ie(), j = Ie(), S = Array.from(
13811
+ const [c, d] = ee("00"), [u, g] = ee("00"), [p, m] = ee(!1), [x, v] = ee(e ?? "Hora Inicio"), h = Ie(), j = Ie(), T = Array.from(
13806
13812
  { length: 24 },
13807
- (E, F) => F.toString().padStart(2, "0")
13813
+ (D, F) => F.toString().padStart(2, "0")
13808
13814
  ), N = Array.from(
13809
13815
  { length: 60 },
13810
- (E, F) => F.toString().padStart(2, "0")
13816
+ (D, F) => F.toString().padStart(2, "0")
13811
13817
  );
13812
13818
  ue(() => {
13813
- const E = (F) => {
13819
+ const D = (F) => {
13814
13820
  j.current && !j.current.contains(F.target) && m(!1);
13815
13821
  };
13816
- return document.addEventListener("mousedown", E), () => {
13817
- document.removeEventListener("mousedown", E);
13822
+ return document.addEventListener("mousedown", D), () => {
13823
+ document.removeEventListener("mousedown", D);
13818
13824
  };
13819
13825
  }, []);
13820
- const T = () => {
13826
+ const C = () => {
13821
13827
  m(!1);
13822
- const E = `${c}:${u}`;
13823
- v(E), r(E);
13824
- }, k = (E) => {
13825
- let F = E.target.value.replace(/\D/g, "");
13828
+ const D = `${c}:${u}`;
13829
+ v(D), r(D);
13830
+ }, k = (D) => {
13831
+ let F = D.target.value.replace(/\D/g, "");
13826
13832
  F.length > 4 && (F = F.slice(0, 4));
13827
13833
  let Y = F;
13828
13834
  if (F.length >= 3 && (Y = `${F.slice(0, 2)}:${F.slice(2)}`), v(Y), Y.length === 5) {
@@ -13870,26 +13876,26 @@ const Z1 = ({
13870
13876
  ] }),
13871
13877
  p && /* @__PURE__ */ t.jsxs("div", { className: "time-picker-dropdown", children: [
13872
13878
  /* @__PURE__ */ t.jsxs("div", { className: "time-columns", children: [
13873
- /* @__PURE__ */ t.jsx("div", { className: "time-column", children: S.map((E) => /* @__PURE__ */ t.jsx(
13879
+ /* @__PURE__ */ t.jsx("div", { className: "time-column", children: T.map((D) => /* @__PURE__ */ t.jsx(
13874
13880
  "div",
13875
13881
  {
13876
- className: `time-option ${c === E ? "selected" : ""}`,
13877
- onClick: () => d(E),
13878
- children: E
13882
+ className: `time-option ${c === D ? "selected" : ""}`,
13883
+ onClick: () => d(D),
13884
+ children: D
13879
13885
  },
13880
- E
13886
+ D
13881
13887
  )) }),
13882
- /* @__PURE__ */ t.jsx("div", { className: "time-column", children: N.map((E) => /* @__PURE__ */ t.jsx(
13888
+ /* @__PURE__ */ t.jsx("div", { className: "time-column", children: N.map((D) => /* @__PURE__ */ t.jsx(
13883
13889
  "div",
13884
13890
  {
13885
- className: `time-option ${u === E ? "selected" : ""}`,
13886
- onClick: () => g(E),
13887
- children: E
13891
+ className: `time-option ${u === D ? "selected" : ""}`,
13892
+ onClick: () => g(D),
13893
+ children: D
13888
13894
  },
13889
- E
13895
+ D
13890
13896
  )) })
13891
13897
  ] }),
13892
- /* @__PURE__ */ t.jsx("button", { className: "ok-button", onClick: T, children: s ?? "Seleccionar" })
13898
+ /* @__PURE__ */ t.jsx("button", { className: "ok-button", onClick: C, children: s ?? "Seleccionar" })
13893
13899
  ] })
13894
13900
  ]
13895
13901
  }
@@ -13922,20 +13928,20 @@ const U1 = (e) => {
13922
13928
  topTooltip: v,
13923
13929
  widthTooltip: h,
13924
13930
  isTooltipVisible: j,
13925
- keyReset: S
13931
+ keyReset: T
13926
13932
  } = e, N = (Y) => {
13927
13933
  i.handleChange && i.handleChange(Y);
13928
- }, T = { ...i };
13929
- if (T.style && T.style.width) {
13930
- const { width: Y, ...B } = T.style;
13931
- T.style = B;
13934
+ }, C = { ...i };
13935
+ if (C.style && C.style.width) {
13936
+ const { width: Y, ...B } = C.style;
13937
+ C.style = B;
13932
13938
  }
13933
- const k = i == null ? void 0 : i.value, [w, E] = ee(k ?? "");
13939
+ const k = i == null ? void 0 : i.value, [w, D] = ee(k ?? "");
13934
13940
  return ue(() => {
13935
- k !== void 0 && E(k);
13941
+ k !== void 0 && D(k);
13936
13942
  }, [k]), ue(() => {
13937
- S && E("");
13938
- }, [S]), /* @__PURE__ */ t.jsxs("div", { style: { width: (F = i == null ? void 0 : i.style) == null ? void 0 : F.width }, children: [
13943
+ T && D("");
13944
+ }, [T]), /* @__PURE__ */ t.jsxs("div", { style: { width: (F = i == null ? void 0 : i.style) == null ? void 0 : F.width }, children: [
13939
13945
  o && /* @__PURE__ */ t.jsx(
13940
13946
  Nn,
13941
13947
  {
@@ -13970,7 +13976,7 @@ const U1 = (e) => {
13970
13976
  ...k !== void 0 ? { value: w } : {},
13971
13977
  disabled: u,
13972
13978
  style: { width: "90%" },
13973
- ...T
13979
+ ...C
13974
13980
  }
13975
13981
  )
13976
13982
  }
@@ -14167,14 +14173,14 @@ const K1 = (e) => {
14167
14173
  fontSizeLabelText: v,
14168
14174
  fontSizeTooltip: h,
14169
14175
  heightTooltip: j,
14170
- leftTooltip: S,
14176
+ leftTooltip: T,
14171
14177
  tooltip: N,
14172
- topTooltip: T,
14178
+ topTooltip: C,
14173
14179
  widthTooltip: k,
14174
14180
  isTooltipVisible: w,
14175
- labelText: E,
14181
+ labelText: D,
14176
14182
  subLabelText: F
14177
- } = e, [Y, B] = ee(!1), f = Ie(null), [W, L] = ee(m || ""), H = (q) => {
14183
+ } = e, [Y, B] = ee(!1), f = Ie(null), [_, L] = ee(m || ""), H = (q) => {
14178
14184
  L(q), B(!1), s && s(q);
14179
14185
  };
14180
14186
  ue(() => {
@@ -14189,7 +14195,7 @@ const K1 = (e) => {
14189
14195
  /* @__PURE__ */ t.jsx(
14190
14196
  rt,
14191
14197
  {
14192
- label: W.label || o,
14198
+ label: _.label || o,
14193
14199
  onchange: () => {
14194
14200
  },
14195
14201
  options: [],
@@ -14203,12 +14209,12 @@ const K1 = (e) => {
14203
14209
  fontSizeLabelText: v,
14204
14210
  fontSizeTooltip: h,
14205
14211
  heightTooltip: j,
14206
- leftTooltip: S,
14212
+ leftTooltip: T,
14207
14213
  tooltip: N,
14208
- topTooltip: T,
14214
+ topTooltip: C,
14209
14215
  widthTooltip: k,
14210
14216
  isTooltipVisible: w,
14211
- labelText: E,
14217
+ labelText: D,
14212
14218
  subLabelText: F
14213
14219
  }
14214
14220
  ),
@@ -15974,40 +15980,40 @@ const _r = Le(/* @__PURE__ */ t.jsx("path", {
15974
15980
  disableFutureDates: a,
15975
15981
  disablePastDaysCount: c
15976
15982
  }) => {
15977
- const [d, u] = Bs((y) => y + 1, 0), g = e === "es" ? Fr : Br, [p, m] = ee(null), [x, v] = ee(null), [h, j] = ee(null), [S, N] = ee(/* @__PURE__ */ new Date()), [T, k] = ee(
15983
+ const [d, u] = Bs((y) => y + 1, 0), g = e === "es" ? Fr : Br, [p, m] = ee(null), [x, v] = ee(null), [h, j] = ee(null), [T, N] = ee(/* @__PURE__ */ new Date()), [C, k] = ee(
15978
15984
  new Date((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() + 1))
15979
- ), [w, E] = ee(!1), F = (y, z) => {
15985
+ ), [w, D] = ee(!1), F = (y, M) => {
15980
15986
  const R = /* @__PURE__ */ new Date();
15981
15987
  if (R.setHours(0, 0, 0, 0), c) {
15982
- const C = new Date(R);
15983
- if (C.setDate(R.getDate() + c), y > C)
15988
+ const z = new Date(R);
15989
+ if (z.setDate(R.getDate() + c), y > z)
15984
15990
  return !0;
15985
15991
  }
15986
- return z && r && y < R || !z && a && y > R || r && y < R || a && y > R ? !0 : l > 0 && p ? oi(y, p, l) : !1;
15992
+ return M && r && y < R || !M && a && y > R || r && y < R || a && y > R ? !0 : l > 0 && p ? oi(y, p, l) : !1;
15987
15993
  }, Y = (y) => {
15988
- const z = y.getFullYear(), R = y.getMonth(), D = new Date(z, R, 1).getDay(), M = new Date(z, R + 1, 0), _ = [], I = new Date(z, R, 0).getDate();
15989
- for (let K = D - 1; K >= 0; K--)
15990
- _.push(new Date(z, R - 1, I - K));
15991
- for (let K = 1; K <= M.getDate(); K++)
15992
- _.push(new Date(z, R, K));
15993
- const G = 42 - _.length;
15994
- for (let K = 1; K <= G; K++)
15995
- _.push(new Date(z, R + 1, K));
15996
- return _;
15997
- }, B = (y) => !p || !x ? !1 : y >= p && y <= x, f = (y) => !p || !h ? !1 : y >= p && y <= h || y <= p && y >= h, W = (y) => {
15998
- !p || x ? (m(y), v(null)) : y < p ? (v(p), m(y), o && O(y, p)) : (v(y), o && O(p, y));
15994
+ const M = y.getFullYear(), R = y.getMonth(), E = new Date(M, R, 1).getDay(), S = new Date(M, R + 1, 0), W = [], I = new Date(M, R, 0).getDate();
15995
+ for (let G = E - 1; G >= 0; G--)
15996
+ W.push(new Date(M, R - 1, I - G));
15997
+ for (let G = 1; G <= S.getDate(); G++)
15998
+ W.push(new Date(M, R, G));
15999
+ const K = 42 - W.length;
16000
+ for (let G = 1; G <= K; G++)
16001
+ W.push(new Date(M, R + 1, G));
16002
+ return W;
16003
+ }, B = (y) => !p || !x ? !1 : y >= p && y <= x, f = (y) => !p || !h ? !1 : y >= p && y <= h || y <= p && y >= h, _ = (y) => {
16004
+ !p || x ? (m(y), v(null)) : y < p ? (v(p), m(y), o && A(y, p)) : (v(y), o && A(p, y));
15999
16005
  }, L = (y) => {
16000
16006
  j(y);
16001
16007
  }, H = () => !p || !x ? 0 : Math.round(
16002
16008
  (x.getTime() - p.getTime()) / (1e3 * 60 * 60 * 24)
16003
- ) + 1, X = (y, z) => {
16009
+ ) + 1, X = (y, M) => {
16004
16010
  const R = new Date(y.getFullYear(), y.getMonth() - 1, 1);
16005
- r && R < new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1) && z || (z ? N(R) : (k(R), R.getMonth() === S.getMonth() && N(
16011
+ r && R < new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1) && M || (M ? N(R) : (k(R), R.getMonth() === T.getMonth() && N(
16006
16012
  new Date(R.getFullYear(), R.getMonth() - 1, 1)
16007
16013
  )));
16008
- }, q = (y, z) => {
16014
+ }, q = (y, M) => {
16009
16015
  const R = new Date(y.getFullYear(), y.getMonth() + 1, 1);
16010
- z ? (N(R), R.getMonth() === T.getMonth() && k(
16016
+ M ? (N(R), R.getMonth() === C.getMonth() && k(
16011
16017
  new Date(R.getFullYear(), R.getMonth() + 1, 1)
16012
16018
  )) : k(R);
16013
16019
  }, Q = (y) => {
@@ -16016,45 +16022,45 @@ const _r = Le(/* @__PURE__ */ t.jsx("path", {
16016
16022
  day: "numeric",
16017
16023
  month: "short",
16018
16024
  year: "2-digit"
16019
- }).split(" "), C = R[0].charAt(0).toUpperCase() + R[0].slice(1), D = R[1], M = R[2].charAt(0).toUpperCase() + R[2].slice(1), _ = R[3];
16020
- return `${C} ${D} de ${M} ${_}`;
16025
+ }).split(" "), z = R[0].charAt(0).toUpperCase() + R[0].slice(1), E = R[1], S = R[2].charAt(0).toUpperCase() + R[2].slice(1), W = R[3];
16026
+ return `${z} ${E} de ${S} ${W}`;
16021
16027
  }, V = () => {
16022
16028
  const y = /* @__PURE__ */ new Date();
16023
- m(null), v(null), N(y), k(new Date((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() + 1))), E(!1), i({
16029
+ m(null), v(null), N(y), k(new Date((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() + 1))), D(!1), i({
16024
16030
  startDate: null,
16025
16031
  endDate: null
16026
16032
  }), u();
16027
- }, $ = () => {
16028
- E(!1);
16029
- const y = it(p), z = it(x);
16033
+ }, P = () => {
16034
+ D(!1);
16035
+ const y = it(p), M = it(x);
16030
16036
  s({
16031
16037
  startDate: y,
16032
- endDate: z
16038
+ endDate: M
16033
16039
  });
16034
- }, O = (y, z) => {
16035
- m(y), v(z), E(!1);
16036
- const R = it(y), C = it(z);
16040
+ }, A = (y, M) => {
16041
+ m(y), v(M), D(!1);
16042
+ const R = it(y), z = it(M);
16037
16043
  s({
16038
16044
  startDate: R,
16039
- endDate: C
16045
+ endDate: z
16040
16046
  });
16041
16047
  };
16042
16048
  return {
16043
16049
  isOpen: w,
16044
16050
  endDate: x,
16045
16051
  language: g,
16046
- leftMonth: S,
16052
+ leftMonth: T,
16047
16053
  startDate: p,
16048
- setIsOpen: E,
16054
+ setIsOpen: D,
16049
16055
  hoverDate: h,
16050
- rightMonth: T,
16056
+ rightMonth: C,
16051
16057
  formatDate: Q,
16052
- handleSearch: $,
16058
+ handleSearch: P,
16053
16059
  handleCancel: V,
16054
16060
  isDateInRange: B,
16055
16061
  getDaysInMonth: Y,
16056
16062
  isDateDisabled: F,
16057
- handleDateClick: W,
16063
+ handleDateClick: _,
16058
16064
  handleDateHover: L,
16059
16065
  handlePrevClick: X,
16060
16066
  handleNextClick: q,
@@ -16090,17 +16096,17 @@ const _r = Le(/* @__PURE__ */ t.jsx("path", {
16090
16096
  keyReset: v,
16091
16097
  isOpen: h,
16092
16098
  endDate: j,
16093
- language: S,
16099
+ language: T,
16094
16100
  leftMonth: N,
16095
- startDate: T,
16101
+ startDate: C,
16096
16102
  setIsOpen: k,
16097
16103
  rightMonth: w,
16098
- formatDate: E,
16104
+ formatDate: D,
16099
16105
  handleSearch: F,
16100
16106
  handleCancel: Y,
16101
16107
  isDateInRange: B,
16102
16108
  getDaysInMonth: f,
16103
- isDateDisabled: W,
16109
+ isDateDisabled: _,
16104
16110
  handleDateClick: L,
16105
16111
  handleDateHover: H,
16106
16112
  handlePrevClick: X,
@@ -16116,27 +16122,27 @@ const _r = Le(/* @__PURE__ */ t.jsx("path", {
16116
16122
  limitRange: o,
16117
16123
  disableFutureDates: g,
16118
16124
  disablePastDaysCount: m
16119
- }), $ = (x == null ? void 0 : x.startDate) instanceof Date ? x.startDate : T, O = (x == null ? void 0 : x.endDate) instanceof Date ? x.endDate : j, y = Ie(null);
16125
+ }), P = (x == null ? void 0 : x.startDate) instanceof Date ? x.startDate : C, A = (x == null ? void 0 : x.endDate) instanceof Date ? x.endDate : j, y = Ie(null);
16120
16126
  ue(() => {
16121
- const R = (C) => {
16122
- y.current && !y.current.contains(C.target) && h && (k(!1), i || Y());
16127
+ const R = (z) => {
16128
+ y.current && !y.current.contains(z.target) && h && (k(!1), i || Y());
16123
16129
  };
16124
16130
  return document.addEventListener("mousedown", R), () => {
16125
16131
  document.removeEventListener("mousedown", R);
16126
16132
  };
16127
- }, [j, Y, h, k, T, i]);
16128
- const z = (R, C = !0) => {
16129
- const D = f(R), M = R.getMonth(), _ = (A, G) => [
16130
- A && A.getMonth() !== M ? "other-month" : "",
16133
+ }, [j, Y, h, k, C, i]);
16134
+ const M = (R, z = !0) => {
16135
+ const E = f(R), S = R.getMonth(), W = (O, K) => [
16136
+ O && O.getMonth() !== S ? "other-month" : "",
16131
16137
  // Use internal helpers but compare with effective dates for selection states
16132
- A && B(A) ? "in-range" : "",
16133
- A && V(A) ? "hover-range" : "",
16134
- A && (A.getTime() === ($ == null ? void 0 : $.getTime()) || A.getTime() === (O == null ? void 0 : O.getTime())) ? "selected" : "",
16135
- W(A, G) ? "disabled" : ""
16138
+ O && B(O) ? "in-range" : "",
16139
+ O && V(O) ? "hover-range" : "",
16140
+ O && (O.getTime() === (P == null ? void 0 : P.getTime()) || O.getTime() === (A == null ? void 0 : A.getTime())) ? "selected" : "",
16141
+ _(O, K) ? "disabled" : ""
16136
16142
  ].join(" "), I = ({
16137
- date: A,
16138
- isLeftCalendar: G,
16139
- disablePastDates: K,
16143
+ date: O,
16144
+ isLeftCalendar: K,
16145
+ disablePastDates: G,
16140
16146
  leftMonth: re
16141
16147
  }) => {
16142
16148
  const U = new Date(
@@ -16144,11 +16150,11 @@ const _r = Le(/* @__PURE__ */ t.jsx("path", {
16144
16150
  (/* @__PURE__ */ new Date()).getMonth(),
16145
16151
  1
16146
16152
  ).getTime(), he = new Date(
16147
- A.getFullYear(),
16148
- A.getMonth() - 1,
16153
+ O.getFullYear(),
16154
+ O.getMonth() - 1,
16149
16155
  1
16150
16156
  ).getTime();
16151
- return !!(K && (he < U || !G && new Date(
16157
+ return !!(G && (he < U || !K && new Date(
16152
16158
  re.getFullYear(),
16153
16159
  re.getMonth(),
16154
16160
  1
@@ -16160,15 +16166,15 @@ const _r = Le(/* @__PURE__ */ t.jsx("path", {
16160
16166
  "button",
16161
16167
  {
16162
16168
  className: "calendar-nav-button",
16163
- onClick: () => X(R, C),
16169
+ onClick: () => X(R, z),
16164
16170
  disabled: mn(
16165
16171
  new Date(R.getFullYear(), R.getMonth() - 1, 1),
16166
16172
  !0,
16167
- T,
16173
+ C,
16168
16174
  o
16169
16175
  ) || I({
16170
16176
  date: R,
16171
- isLeftCalendar: C,
16177
+ isLeftCalendar: z,
16172
16178
  disablePastDates: s,
16173
16179
  leftMonth: N
16174
16180
  }),
@@ -16176,18 +16182,18 @@ const _r = Le(/* @__PURE__ */ t.jsx("path", {
16176
16182
  }
16177
16183
  ),
16178
16184
  /* @__PURE__ */ t.jsxs("h2", { className: "calendar-title", children: [
16179
- S.MONTHS[R.getMonth()],
16185
+ T.MONTHS[R.getMonth()],
16180
16186
  /* @__PURE__ */ t.jsx("p", { children: R.getFullYear() })
16181
16187
  ] }),
16182
16188
  /* @__PURE__ */ t.jsx(
16183
16189
  "button",
16184
16190
  {
16185
16191
  className: "calendar-nav-button",
16186
- onClick: () => q(R, C),
16192
+ onClick: () => q(R, z),
16187
16193
  disabled: mn(
16188
16194
  new Date(R.getFullYear(), R.getMonth() + 1, 1),
16189
16195
  !1,
16190
- T,
16196
+ C,
16191
16197
  o
16192
16198
  ) || g && new Date(R.getFullYear(), R.getMonth(), 1).getTime() >= new Date(
16193
16199
  (/* @__PURE__ */ new Date()).getFullYear(),
@@ -16205,36 +16211,36 @@ const _r = Le(/* @__PURE__ */ t.jsx("path", {
16205
16211
  style: { gridTemplateColumns: `repeat(7, ${c})` },
16206
16212
  children: [
16207
16213
  /* @__PURE__ */ t.jsx("div", { className: "background-days" }),
16208
- S.DAYS.map((A) => /* @__PURE__ */ t.jsx(
16214
+ T.DAYS.map((O) => /* @__PURE__ */ t.jsx(
16209
16215
  "div",
16210
16216
  {
16211
16217
  className: "calendar-day-header",
16212
16218
  style: { fontSize: d },
16213
- children: A
16219
+ children: O
16214
16220
  },
16215
- A
16221
+ O
16216
16222
  )),
16217
- D.map((A, G) => /* @__PURE__ */ t.jsx("div", { className: "calendar-day-wrapper", children: /* @__PURE__ */ t.jsx(
16223
+ E.map((O, K) => /* @__PURE__ */ t.jsx("div", { className: "calendar-day-wrapper", children: /* @__PURE__ */ t.jsx(
16218
16224
  "button",
16219
16225
  {
16220
- className: `calendar-day ${_(
16221
- A,
16222
- C
16226
+ className: `calendar-day ${W(
16227
+ O,
16228
+ z
16223
16229
  )}`,
16224
- disabled: !A || W(A),
16225
- onClick: () => A && !W(A) && L(A),
16226
- onMouseEnter: () => A && !W(A) && H(A),
16230
+ disabled: !O || _(O),
16231
+ onClick: () => O && !_(O) && L(O),
16232
+ onMouseEnter: () => O && !_(O) && H(O),
16227
16233
  onMouseLeave: () => H(null),
16228
16234
  children: /* @__PURE__ */ t.jsx(
16229
16235
  "span",
16230
16236
  {
16231
- className: `day-text ${A ? "" : "text-muted"}`,
16237
+ className: `day-text ${O ? "" : "text-muted"}`,
16232
16238
  style: { fontSize: d },
16233
- children: A ? A.getDate() : ""
16239
+ children: O ? O.getDate() : ""
16234
16240
  }
16235
16241
  )
16236
16242
  }
16237
- ) }, `${A}_${G}`))
16243
+ ) }, `${O}_${K}`))
16238
16244
  ]
16239
16245
  }
16240
16246
  )
@@ -16255,7 +16261,7 @@ const _r = Le(/* @__PURE__ */ t.jsx("path", {
16255
16261
  className: `date-picker-toggle ${u ? "disabled" : ""}`,
16256
16262
  disabled: u,
16257
16263
  onClick: () => k(!h),
16258
- children: $ && O ? /* @__PURE__ */ t.jsxs("div", { className: "container-formate", children: [
16264
+ children: P && A ? /* @__PURE__ */ t.jsxs("div", { className: "container-formate", children: [
16259
16265
  /* @__PURE__ */ t.jsxs(
16260
16266
  "p",
16261
16267
  {
@@ -16264,7 +16270,7 @@ const _r = Le(/* @__PURE__ */ t.jsx("path", {
16264
16270
  borderRight: "1px solid #9c9ca0"
16265
16271
  },
16266
16272
  children: [
16267
- E($),
16273
+ D(P),
16268
16274
  " ",
16269
16275
  /* @__PURE__ */ t.jsx(
16270
16276
  Ws,
@@ -16277,7 +16283,7 @@ const _r = Le(/* @__PURE__ */ t.jsx("path", {
16277
16283
  }
16278
16284
  ),
16279
16285
  /* @__PURE__ */ t.jsxs("p", { className: `p-formate-date ${u ? "disabled" : ""}`, children: [
16280
- E(O),
16286
+ D(A),
16281
16287
  /* @__PURE__ */ t.jsx(
16282
16288
  Ws,
16283
16289
  {
@@ -16292,7 +16298,7 @@ const _r = Le(/* @__PURE__ */ t.jsx("path", {
16292
16298
  {
16293
16299
  className: `p-formate-date ${u ? "disabled" : ""}`,
16294
16300
  style: { height: "34px", fontSize: d },
16295
- children: S.selectRange
16301
+ children: T.selectRange
16296
16302
  }
16297
16303
  ),
16298
16304
  /* @__PURE__ */ t.jsx(No, { width: "10%", height: "50%" })
@@ -16312,10 +16318,10 @@ const _r = Le(/* @__PURE__ */ t.jsx("path", {
16312
16318
  },
16313
16319
  children: [
16314
16320
  /* @__PURE__ */ t.jsxs("div", { className: "calendars-wrapper", children: [
16315
- z(N, !0),
16316
- z(w, !1)
16321
+ M(N, !0),
16322
+ M(w, !1)
16317
16323
  ] }),
16318
- !p && /* @__PURE__ */ t.jsx("div", { className: "date-picker-footer", children: $ && O && /* @__PURE__ */ t.jsxs(
16324
+ !p && /* @__PURE__ */ t.jsx("div", { className: "date-picker-footer", children: P && A && /* @__PURE__ */ t.jsxs(
16319
16325
  "div",
16320
16326
  {
16321
16327
  style: {
@@ -16328,7 +16334,7 @@ const _r = Le(/* @__PURE__ */ t.jsx("path", {
16328
16334
  /* @__PURE__ */ t.jsxs("div", { className: "days-selected", children: [
16329
16335
  Q(),
16330
16336
  " ",
16331
- S.days
16337
+ T.days
16332
16338
  ] }),
16333
16339
  /* @__PURE__ */ t.jsxs("div", { className: "date-picker-actions", children: [
16334
16340
  /* @__PURE__ */ t.jsx(
@@ -16341,7 +16347,7 @@ const _r = Le(/* @__PURE__ */ t.jsx("path", {
16341
16347
  textAlign: "center"
16342
16348
  }
16343
16349
  },
16344
- children: S.cancel
16350
+ children: T.cancel
16345
16351
  }
16346
16352
  ),
16347
16353
  /* @__PURE__ */ t.jsx(
@@ -16354,7 +16360,7 @@ const _r = Le(/* @__PURE__ */ t.jsx("path", {
16354
16360
  textAlign: "center"
16355
16361
  }
16356
16362
  },
16357
- children: S.search
16363
+ children: T.search
16358
16364
  }
16359
16365
  )
16360
16366
  ] })
@@ -16367,7 +16373,7 @@ const _r = Le(/* @__PURE__ */ t.jsx("path", {
16367
16373
  ]
16368
16374
  }
16369
16375
  ),
16370
- $ && O && i && /* @__PURE__ */ t.jsx("button", { className: "button-reset", onClick: () => Y(), children: /* @__PURE__ */ t.jsx(wr, {}) })
16376
+ P && A && i && /* @__PURE__ */ t.jsx("button", { className: "button-reset", onClick: () => Y(), children: /* @__PURE__ */ t.jsx(wr, {}) })
16371
16377
  ] });
16372
16378
  };
16373
16379
  $0.propTypes = {
@@ -16466,28 +16472,28 @@ const _s = (e, { disablePastDates: r, disableBusinessDays: s }) => {
16466
16472
  hourDisableDaysBasedOnHour: p,
16467
16473
  id: m
16468
16474
  }) => {
16469
- const x = e === "es" ? Fr : Br, [v, h] = ee(/* @__PURE__ */ new Date()), [j, S] = ee(/* @__PURE__ */ new Date()), [N, T] = ee(!1), [k, w] = ee(null), E = Ie(null), F = (V) => {
16470
- const $ = V.getFullYear(), O = V.getMonth(), z = new Date($, O, 1).getDay(), R = new Date($, O + 1, 0), C = [], D = new Date($, O, 0).getDate();
16471
- for (let I = z - 1; I >= 0; I--)
16472
- C.push(new Date($, O - 1, D - I));
16475
+ const x = e === "es" ? Fr : Br, [v, h] = ee(/* @__PURE__ */ new Date()), [j, T] = ee(/* @__PURE__ */ new Date()), [N, C] = ee(!1), [k, w] = ee(null), D = Ie(null), F = (V) => {
16476
+ const P = V.getFullYear(), A = V.getMonth(), M = new Date(P, A, 1).getDay(), R = new Date(P, A + 1, 0), z = [], E = new Date(P, A, 0).getDate();
16477
+ for (let I = M - 1; I >= 0; I--)
16478
+ z.push(new Date(P, A - 1, E - I));
16473
16479
  for (let I = 1; I <= R.getDate(); I++)
16474
- C.push(new Date($, O, I));
16475
- const _ = 42 - C.length;
16476
- for (let I = 1; I <= _; I++)
16477
- C.push(new Date($, O + 1, I));
16478
- return C;
16480
+ z.push(new Date(P, A, I));
16481
+ const W = 42 - z.length;
16482
+ for (let I = 1; I <= W; I++)
16483
+ z.push(new Date(P, A + 1, I));
16484
+ return z;
16479
16485
  };
16480
16486
  ue(() => {
16481
16487
  if (i && typeof i == "number" && i > 0) {
16482
16488
  let V = /* @__PURE__ */ new Date();
16483
16489
  V.setHours(0, 0, 0, 0);
16484
- let $ = new Date(V), O = 0;
16485
- for (; O < i; ) {
16486
- $.setDate($.getDate() + 1);
16487
- const y = $.getDay();
16488
- y !== 0 && y !== 6 && O++;
16490
+ let P = new Date(V), A = 0;
16491
+ for (; A < i; ) {
16492
+ P.setDate(P.getDate() + 1);
16493
+ const y = P.getDay();
16494
+ y !== 0 && y !== 6 && A++;
16489
16495
  }
16490
- $.getMonth() > V.getMonth() && S($);
16496
+ P.getMonth() > V.getMonth() && T(P);
16491
16497
  }
16492
16498
  }, [o, i]);
16493
16499
  const Y = Ri(
@@ -16507,69 +16513,69 @@ const _s = (e, { disablePastDates: r, disableBusinessDays: s }) => {
16507
16513
  p
16508
16514
  ]
16509
16515
  ), B = (V) => {
16510
- const $ = /* @__PURE__ */ new Date(), O = new Date(
16511
- $.getFullYear(),
16512
- $.getMonth(),
16516
+ const P = /* @__PURE__ */ new Date(), A = new Date(
16517
+ P.getFullYear(),
16518
+ P.getMonth(),
16513
16519
  1
16514
16520
  ).setHours(0, 0, 0, 0);
16515
- if (o && V < O)
16521
+ if (o && V < A)
16516
16522
  return !0;
16517
16523
  if (a) {
16518
16524
  const y = new Date(a).setHours(0, 0, 0, 0);
16519
16525
  return V < y;
16520
16526
  }
16521
16527
  return !1;
16522
- }, f = (V) => v && V.getTime() === v.getTime(), W = (V) => {
16523
- const $ = V.getMonth(), O = j.getMonth();
16524
- $ !== O && S(new Date(V.getFullYear(), $, 1)), w(X(V)), h(V);
16528
+ }, f = (V) => v && V.getTime() === v.getTime(), _ = (V) => {
16529
+ const P = V.getMonth(), A = j.getMonth();
16530
+ P !== A && T(new Date(V.getFullYear(), P, 1)), w(X(V)), h(V);
16525
16531
  const y = it(V);
16526
- r && r(y), s && s({ id: m, date: y }), T(!1);
16532
+ r && r(y), s && s({ id: m, date: y }), C(!1);
16527
16533
  }, L = (V) => {
16528
- const $ = new Date(V.getFullYear(), V.getMonth() - 1, 1), O = /* @__PURE__ */ new Date();
16529
- O.setHours(0, 0, 0, 0), !(o && $ < new Date(O.getFullYear(), O.getMonth(), 1)) && S($);
16534
+ const P = new Date(V.getFullYear(), V.getMonth() - 1, 1), A = /* @__PURE__ */ new Date();
16535
+ A.setHours(0, 0, 0, 0), !(o && P < new Date(A.getFullYear(), A.getMonth(), 1)) && T(P);
16530
16536
  }, H = (V) => {
16531
- const $ = new Date(V.getFullYear(), V.getMonth() + 1, 1);
16532
- S($);
16537
+ const P = new Date(V.getFullYear(), V.getMonth() + 1, 1);
16538
+ T(P);
16533
16539
  }, X = (V) => {
16534
- const O = V.toLocaleDateString(x.code, {
16540
+ const A = V.toLocaleDateString(x.code, {
16535
16541
  weekday: "short",
16536
16542
  day: "numeric",
16537
16543
  month: "short",
16538
16544
  year: "2-digit"
16539
- }).split(" "), y = O[0].charAt(0).toUpperCase() + O[0].slice(1), z = O[1], R = O[2].charAt(0).toUpperCase() + O[2].slice(1), C = O[3];
16540
- return `${y} ${z} de ${R} ${C}`;
16545
+ }).split(" "), y = A[0].charAt(0).toUpperCase() + A[0].slice(1), M = A[1], R = A[2].charAt(0).toUpperCase() + A[2].slice(1), z = A[3];
16546
+ return `${y} ${M} de ${R} ${z}`;
16541
16547
  }, q = () => {
16542
- h(/* @__PURE__ */ new Date()), T(!1);
16548
+ h(/* @__PURE__ */ new Date()), C(!1);
16543
16549
  }, Q = () => {
16544
- T(!1), r && r(v), s && s({ id: m, date: v });
16550
+ C(!1), r && r(v), s && s({ id: m, date: v });
16545
16551
  };
16546
16552
  return ue(() => {
16547
- const V = ($) => {
16548
- E.current && !E.current.contains($.target) && T(!1);
16553
+ const V = (P) => {
16554
+ D.current && !D.current.contains(P.target) && C(!1);
16549
16555
  };
16550
16556
  return document.addEventListener("mousedown", V), () => {
16551
16557
  document.removeEventListener("mousedown", V);
16552
16558
  };
16553
- }, [E]), {
16559
+ }, [D]), {
16554
16560
  date: k,
16555
16561
  isOpen: N,
16556
16562
  setDate: w,
16557
16563
  language: x,
16558
16564
  leftMonth: j,
16559
- setIsOpen: T,
16565
+ setIsOpen: C,
16560
16566
  formatDate: X,
16561
- setLeftMonth: S,
16567
+ setLeftMonth: T,
16562
16568
  handleSearch: Q,
16563
16569
  disablePrev: B,
16564
16570
  handleCancel: q,
16565
16571
  selectedDate: v,
16566
16572
  isDateInRange: f,
16567
- datePickerRef: E,
16573
+ datePickerRef: D,
16568
16574
  getDaysInMonth: F,
16569
16575
  isDateDisabled: Y,
16570
16576
  handlePrevClick: L,
16571
16577
  handleNextClick: H,
16572
- handleDateClick: W,
16578
+ handleDateClick: _,
16573
16579
  setSelectedDate: h
16574
16580
  };
16575
16581
  }, K0 = ({
@@ -16590,31 +16596,31 @@ const _s = (e, { disablePastDates: r, disableBusinessDays: s }) => {
16590
16596
  disableFiveBusinessDays: v,
16591
16597
  disableNextBusinessDayAfter: h,
16592
16598
  hourDisableDaysBasedOnHour: j,
16593
- heightBoxes: S = "40px",
16599
+ heightBoxes: T = "40px",
16594
16600
  labelText: N,
16595
- subLabelText: T,
16601
+ subLabelText: C,
16596
16602
  id: k,
16597
16603
  value: w,
16598
- fontSize: E
16604
+ fontSize: D
16599
16605
  }) => {
16600
16606
  const {
16601
16607
  date: F,
16602
16608
  isOpen: Y,
16603
16609
  setDate: B,
16604
16610
  language: f,
16605
- leftMonth: W,
16611
+ leftMonth: _,
16606
16612
  setIsOpen: L,
16607
16613
  disablePrev: H,
16608
16614
  isDateInRange: X,
16609
16615
  getDaysInMonth: q,
16610
16616
  isDateDisabled: Q,
16611
16617
  handleDateClick: V,
16612
- handlePrevClick: $,
16613
- handleNextClick: O,
16618
+ handlePrevClick: P,
16619
+ handleNextClick: A,
16614
16620
  datePickerRef: y,
16615
- setSelectedDate: z,
16621
+ setSelectedDate: M,
16616
16622
  setLeftMonth: R,
16617
- selectedDate: C
16623
+ selectedDate: z
16618
16624
  } = G0({
16619
16625
  locale: s,
16620
16626
  onDateChange: l,
@@ -16629,40 +16635,40 @@ const _s = (e, { disablePastDates: r, disableBusinessDays: s }) => {
16629
16635
  disableNextBusinessDayAfter: h,
16630
16636
  hourDisableDaysBasedOnHour: j,
16631
16637
  id: k
16632
- }), D = w instanceof Date ? w : void 0, M = (I) => {
16638
+ }), E = w instanceof Date ? w : void 0, S = (I) => {
16633
16639
  if (!I) return null;
16634
- const G = I.toLocaleDateString(f.code, {
16640
+ const K = I.toLocaleDateString(f.code, {
16635
16641
  weekday: "short",
16636
16642
  day: "numeric",
16637
16643
  month: "short",
16638
16644
  year: "2-digit"
16639
- }).split(" "), K = G[0].charAt(0).toUpperCase() + G[0].slice(1), re = G[1], U = G[2].charAt(0).toUpperCase() + G[2].slice(1), he = G[3];
16640
- return `${K} ${re} de ${U} ${he}`;
16645
+ }).split(" "), G = K[0].charAt(0).toUpperCase() + K[0].slice(1), re = K[1], U = K[2].charAt(0).toUpperCase() + K[2].slice(1), he = K[3];
16646
+ return `${G} ${re} de ${U} ${he}`;
16641
16647
  };
16642
16648
  ue(() => {
16643
- B(null), z(null);
16644
- }, [d, B, z]), ue(() => {
16645
- if (D) {
16646
- (W.getMonth() !== D.getMonth() || W.getFullYear() !== D.getFullYear()) && R(
16647
- new Date(D.getFullYear(), D.getMonth(), 1)
16649
+ B(null), M(null);
16650
+ }, [d, B, M]), ue(() => {
16651
+ if (E) {
16652
+ (_.getMonth() !== E.getMonth() || _.getFullYear() !== E.getFullYear()) && R(
16653
+ new Date(E.getFullYear(), E.getMonth(), 1)
16648
16654
  );
16649
16655
  const I = new Date(
16650
- D.getFullYear(),
16651
- D.getMonth(),
16652
- D.getDate()
16653
- ), A = C ? new Date(
16654
- C.getFullYear(),
16655
- C.getMonth(),
16656
- C.getDate()
16656
+ E.getFullYear(),
16657
+ E.getMonth(),
16658
+ E.getDate()
16659
+ ), O = z ? new Date(
16660
+ z.getFullYear(),
16661
+ z.getMonth(),
16662
+ z.getDate()
16657
16663
  ) : null;
16658
- (!A || I.getTime() !== A.getTime()) && z(I);
16664
+ (!O || I.getTime() !== O.getTime()) && M(I);
16659
16665
  }
16660
- }, [D, W, C, R, z]);
16661
- const _ = (I) => {
16662
- const A = q(I), G = I.getMonth(), K = (re) => {
16663
- const U = !!D && re && re.getFullYear() === D.getFullYear() && re.getMonth() === D.getMonth() && re.getDate() === D.getDate();
16666
+ }, [E, _, z, R, M]);
16667
+ const W = (I) => {
16668
+ const O = q(I), K = I.getMonth(), G = (re) => {
16669
+ const U = !!E && re && re.getFullYear() === E.getFullYear() && re.getMonth() === E.getMonth() && re.getDate() === E.getDate();
16664
16670
  return [
16665
- re && re.getMonth() !== G ? "other-month" : "",
16671
+ re && re.getMonth() !== K ? "other-month" : "",
16666
16672
  re && (X(re) || U) ? "selected" : "",
16667
16673
  Q(re) ? "disabled" : ""
16668
16674
  ].join(" ");
@@ -16673,7 +16679,7 @@ const _s = (e, { disablePastDates: r, disableBusinessDays: s }) => {
16673
16679
  "button",
16674
16680
  {
16675
16681
  className: "calendar-nav-button",
16676
- onClick: () => $(I),
16682
+ onClick: () => P(I),
16677
16683
  disabled: H(
16678
16684
  new Date(I.getFullYear(), I.getMonth() - 1, 1)
16679
16685
  ),
@@ -16688,7 +16694,7 @@ const _s = (e, { disablePastDates: r, disableBusinessDays: s }) => {
16688
16694
  "button",
16689
16695
  {
16690
16696
  className: "calendar-nav-button",
16691
- onClick: () => O(I),
16697
+ onClick: () => A(I),
16692
16698
  children: /* @__PURE__ */ t.jsx("span", { className: "sr-only", children: /* @__PURE__ */ t.jsx(Lr, { style: { width: "15px" } }) })
16693
16699
  }
16694
16700
  )
@@ -16697,14 +16703,14 @@ const _s = (e, { disablePastDates: r, disableBusinessDays: s }) => {
16697
16703
  "div",
16698
16704
  {
16699
16705
  className: "calendar-grid",
16700
- style: { gridTemplateColumns: `repeat(7, ${S})` },
16706
+ style: { gridTemplateColumns: `repeat(7, ${T})` },
16701
16707
  children: [
16702
16708
  /* @__PURE__ */ t.jsx("div", { className: "background-days" }),
16703
16709
  f.DAYS.map((re) => /* @__PURE__ */ t.jsx("div", { className: "calendar-day-header", children: re }, re)),
16704
- A.map((re, U) => /* @__PURE__ */ t.jsx("div", { className: "calendar-day-wrapper", children: /* @__PURE__ */ t.jsx(
16710
+ O.map((re, U) => /* @__PURE__ */ t.jsx("div", { className: "calendar-day-wrapper", children: /* @__PURE__ */ t.jsx(
16705
16711
  "button",
16706
16712
  {
16707
- className: `calendar-day ${K(re)}`,
16713
+ className: `calendar-day ${G(re)}`,
16708
16714
  disabled: !re || Q(re),
16709
16715
  onClick: () => re && !Q(re) && V(re),
16710
16716
  children: /* @__PURE__ */ t.jsx("span", { className: `day-text ${re ? "" : "text-muted"}`, children: re ? re.getDate() : "" })
@@ -16719,7 +16725,7 @@ const _s = (e, { disablePastDates: r, disableBusinessDays: s }) => {
16719
16725
  /* @__PURE__ */ t.jsx(
16720
16726
  rt,
16721
16727
  {
16722
- label: D ? M(D) : F ?? e,
16728
+ label: E ? S(E) : F ?? e,
16723
16729
  onchange: () => {
16724
16730
  },
16725
16731
  options: [],
@@ -16732,12 +16738,12 @@ const _s = (e, { disablePastDates: r, disableBusinessDays: s }) => {
16732
16738
  keyReset: d,
16733
16739
  Icon: od,
16734
16740
  labelText: N,
16735
- subLabelText: T,
16736
- fontSizeLabel: E,
16741
+ subLabelText: C,
16742
+ fontSizeLabel: D,
16737
16743
  withoutOptions: !0
16738
16744
  }
16739
16745
  ),
16740
- Y && /* @__PURE__ */ t.jsx("div", { className: "date-picker-dropdown date-picker-individual", children: /* @__PURE__ */ t.jsx("div", { className: "calendars-wrapper", children: _(W) }) })
16746
+ Y && /* @__PURE__ */ t.jsx("div", { className: "date-picker-dropdown date-picker-individual", children: /* @__PURE__ */ t.jsx("div", { className: "calendars-wrapper", children: W(_) }) })
16741
16747
  ] });
16742
16748
  };
16743
16749
  K0.propTypes = {
@@ -16817,50 +16823,50 @@ const Xn = (e) => e.map((r) => ({
16817
16823
  optionsSelect: []
16818
16824
  })), J0 = (e, r) => {
16819
16825
  const [s, o] = ee([]), [i, l] = ee(Xn(e)), [a, c] = ee(!1), d = Ie(null), u = Ie(!1), g = (j) => {
16820
- const S = {};
16826
+ const T = {};
16821
16827
  return e.forEach((N) => {
16822
- const T = j.find((k) => k.id === N.id);
16823
- T ? S[N.id] = {
16824
- value: T.optionsSelect.map((k) => k.id),
16825
- allData: T.optionsSelect
16826
- } : S[N.id] = {
16828
+ const C = j.find((k) => k.id === N.id);
16829
+ C ? T[N.id] = {
16830
+ value: C.optionsSelect.map((k) => k.id),
16831
+ allData: C.optionsSelect
16832
+ } : T[N.id] = {
16827
16833
  value: [],
16828
16834
  allData: []
16829
16835
  };
16830
- }), S;
16836
+ }), T;
16831
16837
  }, p = (j) => {
16832
16838
  o(
16833
- (S) => S.includes(j) ? S.filter((N) => N !== j) : [...S, j]
16839
+ (T) => T.includes(j) ? T.filter((N) => N !== j) : [...T, j]
16834
16840
  );
16835
- }, m = (j, S) => {
16841
+ }, m = (j, T) => {
16836
16842
  u.current = !0, l((N) => {
16837
16843
  var Y;
16838
- const T = N.findIndex((B) => B.id === j);
16844
+ const C = N.findIndex((B) => B.id === j);
16839
16845
  let k = [...N], w = [];
16840
- const E = e.find((B) => B.id === j) || {};
16841
- if (E.multiple !== !1)
16842
- if (T === -1)
16843
- w = [S], k.push({
16846
+ const D = e.find((B) => B.id === j) || {};
16847
+ if (D.multiple !== !1)
16848
+ if (C === -1)
16849
+ w = [T], k.push({
16844
16850
  id: j,
16845
- title: E.title || "",
16851
+ title: D.title || "",
16846
16852
  optionsSelect: w
16847
16853
  });
16848
16854
  else {
16849
- const B = N[T].optionsSelect;
16850
- B.some((W) => W.id === S.id) ? w = B.filter((W) => W.id !== S.id) : w = [...B, S], w.length === 0 ? k.splice(T, 1) : (w.sort((W, L) => {
16855
+ const B = N[C].optionsSelect;
16856
+ B.some((_) => _.id === T.id) ? w = B.filter((_) => _.id !== T.id) : w = [...B, T], w.length === 0 ? k.splice(C, 1) : (w.sort((_, L) => {
16851
16857
  var H;
16852
- return (H = W.label) == null ? void 0 : H.localeCompare(L.label);
16853
- }), k[T].optionsSelect = w);
16858
+ return (H = _.label) == null ? void 0 : H.localeCompare(L.label);
16859
+ }), k[C].optionsSelect = w);
16854
16860
  }
16855
- else if (T === -1 || ((Y = N[T].optionsSelect[0]) == null ? void 0 : Y.id) !== S.id ? w = [S] : w = [], w.length === 0)
16856
- T > -1 && k.splice(T, 1);
16861
+ else if (C === -1 || ((Y = N[C].optionsSelect[0]) == null ? void 0 : Y.id) !== T.id ? w = [T] : w = [], w.length === 0)
16862
+ C > -1 && k.splice(C, 1);
16857
16863
  else {
16858
16864
  const B = {
16859
16865
  id: j,
16860
- title: E.title || "",
16866
+ title: D.title || "",
16861
16867
  optionsSelect: w
16862
16868
  };
16863
- T === -1 ? k.push(B) : k[T] = B;
16869
+ C === -1 ? k.push(B) : k[C] = B;
16864
16870
  }
16865
16871
  if (r) {
16866
16872
  const B = g(k);
@@ -16872,17 +16878,17 @@ const Xn = (e) => e.map((r) => ({
16872
16878
  u.current = !0;
16873
16879
  const j = Xn(e);
16874
16880
  if (l(j), r) {
16875
- const S = g(j);
16876
- r(S);
16881
+ const T = g(j);
16882
+ r(T);
16877
16883
  }
16878
16884
  }, v = Hs((j) => {
16879
16885
  u.current = !0, l(j);
16880
- }, []), h = () => i.reduce((j, S) => j + S.optionsSelect.length, 0);
16886
+ }, []), h = () => i.reduce((j, T) => j + T.optionsSelect.length, 0);
16881
16887
  return ue(() => {
16882
16888
  u.current || l(Xn(e));
16883
16889
  }, [e]), ue(() => {
16884
- const j = (S) => {
16885
- d.current && !d.current.contains(S.target) && c(!1);
16890
+ const j = (T) => {
16891
+ d.current && !d.current.contains(T.target) && c(!1);
16886
16892
  };
16887
16893
  return document.addEventListener("mousedown", j), () => document.removeEventListener("mousedown", j);
16888
16894
  }, []), {
@@ -16920,122 +16926,122 @@ const Xn = (e) => e.map((r) => ({
16920
16926
  toggleFilter: v,
16921
16927
  toggleSection: h,
16922
16928
  selectedFilters: j,
16923
- clearAllFilters: S,
16929
+ clearAllFilters: T,
16924
16930
  getLengthFilters: N,
16925
- expandedSections: T,
16931
+ expandedSections: C,
16926
16932
  filterRef: k,
16927
16933
  setSelectedFilters: w
16928
- } = J0(e, r), [E, F] = ee({}), [Y, B] = ee({}), f = Ie({}), W = Ie(!0), L = 132, H = 220, X = (O) => {
16934
+ } = J0(e, r), [D, F] = ee({}), [Y, B] = ee({}), f = Ie({}), _ = Ie(!0), L = 132, H = 220, X = (A) => {
16929
16935
  F((y) => ({
16930
16936
  ...y,
16931
- [O]: !y[O]
16937
+ [A]: !y[A]
16932
16938
  }));
16933
16939
  };
16934
16940
  ue(() => {
16935
- e.forEach((O) => {
16936
- (O.selectAll || O.basicSelect) && !(T != null && T.includes(O == null ? void 0 : O.id)) && h(O == null ? void 0 : O.id);
16941
+ e.forEach((A) => {
16942
+ (A.selectAll || A.basicSelect) && !(C != null && C.includes(A == null ? void 0 : A.id)) && h(A == null ? void 0 : A.id);
16937
16943
  });
16938
- }, [e, T, h]);
16939
- const q = (O, y, z, R) => {
16940
- const C = z == null ? void 0 : z.filter(
16941
- (M) => R.includes(M.id)
16942
- ), D = i !== void 0 ? i : j;
16944
+ }, [e, C, h]);
16945
+ const q = (A, y, M, R) => {
16946
+ const z = M == null ? void 0 : M.filter(
16947
+ (S) => R.includes(S.id)
16948
+ ), E = i !== void 0 ? i : j;
16943
16949
  w(() => {
16944
- const M = D == null ? void 0 : D.findIndex((I) => (I == null ? void 0 : I.id) === O);
16945
- let _ = [...D];
16946
- if (C.length === 0)
16947
- M > -1 && _.splice(M, 1);
16950
+ const S = E == null ? void 0 : E.findIndex((I) => (I == null ? void 0 : I.id) === A);
16951
+ let W = [...E];
16952
+ if (z.length === 0)
16953
+ S > -1 && W.splice(S, 1);
16948
16954
  else {
16949
16955
  const I = {
16950
- id: O,
16956
+ id: A,
16951
16957
  title: y,
16952
- optionsSelect: C
16958
+ optionsSelect: z
16953
16959
  };
16954
- M === -1 ? _.push(I) : _[M] = I;
16960
+ S === -1 ? W.push(I) : W[S] = I;
16955
16961
  }
16956
16962
  if (r) {
16957
16963
  const I = {};
16958
- e.forEach((A) => {
16959
- if ((A == null ? void 0 : A.id) === O)
16960
- I[A == null ? void 0 : A.id] = {
16964
+ e.forEach((O) => {
16965
+ if ((O == null ? void 0 : O.id) === A)
16966
+ I[O == null ? void 0 : O.id] = {
16961
16967
  value: R,
16962
- allData: C
16968
+ allData: z
16963
16969
  };
16964
16970
  else {
16965
- const G = _ == null ? void 0 : _.find((K) => (K == null ? void 0 : K.id) === (A == null ? void 0 : A.id));
16966
- G && G.optionsSelect.length > 0 ? I[A == null ? void 0 : A.id] = {
16967
- value: G.optionsSelect.map((K) => K.id),
16968
- allData: G.optionsSelect
16969
- } : I[A == null ? void 0 : A.id] = {
16971
+ const K = W == null ? void 0 : W.find((G) => (G == null ? void 0 : G.id) === (O == null ? void 0 : O.id));
16972
+ K && K.optionsSelect.length > 0 ? I[O == null ? void 0 : O.id] = {
16973
+ value: K.optionsSelect.map((G) => G.id),
16974
+ allData: K.optionsSelect
16975
+ } : I[O == null ? void 0 : O.id] = {
16970
16976
  value: [],
16971
16977
  allData: []
16972
16978
  };
16973
16979
  }
16974
16980
  }), r(I);
16975
16981
  }
16976
- return _;
16982
+ return W;
16977
16983
  });
16978
- }, Q = (O, y, z, R) => {
16979
- const C = z == null ? void 0 : z.find(
16980
- (M) => M.value === R || M.label === R
16981
- ), D = i !== void 0 ? i : j;
16984
+ }, Q = (A, y, M, R) => {
16985
+ const z = M == null ? void 0 : M.find(
16986
+ (S) => S.value === R || S.label === R
16987
+ ), E = i !== void 0 ? i : j;
16982
16988
  w(() => {
16983
- const M = D == null ? void 0 : D.findIndex((I) => (I == null ? void 0 : I.id) === O);
16984
- let _ = [...D];
16985
- if (!C)
16986
- M > -1 && _.splice(M, 1);
16989
+ const S = E == null ? void 0 : E.findIndex((I) => (I == null ? void 0 : I.id) === A);
16990
+ let W = [...E];
16991
+ if (!z)
16992
+ S > -1 && W.splice(S, 1);
16987
16993
  else {
16988
16994
  const I = {
16989
- id: O,
16995
+ id: A,
16990
16996
  title: y,
16991
- optionsSelect: [C]
16997
+ optionsSelect: [z]
16992
16998
  };
16993
- M === -1 ? _.push(I) : _[M] = I;
16999
+ S === -1 ? W.push(I) : W[S] = I;
16994
17000
  }
16995
17001
  if (r) {
16996
17002
  const I = {};
16997
- e.forEach((A) => {
16998
- if ((A == null ? void 0 : A.id) === O)
16999
- I[A == null ? void 0 : A.id] = {
17003
+ e.forEach((O) => {
17004
+ if ((O == null ? void 0 : O.id) === A)
17005
+ I[O == null ? void 0 : O.id] = {
17000
17006
  value: R,
17001
- allData: C ? [C] : []
17007
+ allData: z ? [z] : []
17002
17008
  };
17003
17009
  else {
17004
- const G = _ == null ? void 0 : _.find((K) => (K == null ? void 0 : K.id) === (A == null ? void 0 : A.id));
17005
- G && G.optionsSelect.length > 0 ? I[A == null ? void 0 : A.id] = {
17006
- value: G.optionsSelect.map((K) => K.value || K.id),
17007
- allData: G.optionsSelect
17008
- } : I[A == null ? void 0 : A.id] = {
17010
+ const K = W == null ? void 0 : W.find((G) => (G == null ? void 0 : G.id) === (O == null ? void 0 : O.id));
17011
+ K && K.optionsSelect.length > 0 ? I[O == null ? void 0 : O.id] = {
17012
+ value: K.optionsSelect.map((G) => G.value || G.id),
17013
+ allData: K.optionsSelect
17014
+ } : I[O == null ? void 0 : O.id] = {
17009
17015
  value: [],
17010
17016
  allData: []
17011
17017
  };
17012
17018
  }
17013
17019
  }), r(I);
17014
17020
  }
17015
- return _;
17021
+ return W;
17016
17022
  });
17017
17023
  };
17018
17024
  ue(() => {
17019
- const O = {};
17020
- T == null || T.forEach((y) => {
17021
- const z = f.current[y];
17022
- z && z.scrollHeight > L && (O[y] = !0);
17023
- }), B(O);
17024
- }, [T, e]);
17025
+ const A = {};
17026
+ C == null || C.forEach((y) => {
17027
+ const M = f.current[y];
17028
+ M && M.scrollHeight > L && (A[y] = !0);
17029
+ }), B(A);
17030
+ }, [C, e]);
17025
17031
  const V = i !== void 0 ? i : j;
17026
17032
  ue(() => {
17027
- if (W.current) {
17028
- W.current = !1;
17033
+ if (_.current) {
17034
+ _.current = !1;
17029
17035
  return;
17030
17036
  }
17031
17037
  w(i === void 0 ? [] : i);
17032
17038
  }, [o, w, i]), ue(() => {
17033
- i !== void 0 && !W.current && w(i);
17039
+ i !== void 0 && !_.current && w(i);
17034
17040
  }, [i, w]);
17035
- const $ = i !== void 0 ? V == null ? void 0 : V.reduce(
17036
- (O, y) => {
17037
- var z;
17038
- return O + ((z = y == null ? void 0 : y.optionsSelect) == null ? void 0 : z.length);
17041
+ const P = i !== void 0 ? V == null ? void 0 : V.reduce(
17042
+ (A, y) => {
17043
+ var M;
17044
+ return A + ((M = y == null ? void 0 : y.optionsSelect) == null ? void 0 : M.length);
17039
17045
  },
17040
17046
  0
17041
17047
  ) : N();
@@ -17049,7 +17055,7 @@ const Xn = (e) => e.map((r) => ({
17049
17055
  style: { fontSize: a },
17050
17056
  children: [
17051
17057
  "Filtro ",
17052
- $ ? `(${$})` : "",
17058
+ P ? `(${P})` : "",
17053
17059
  /* @__PURE__ */ t.jsx(pd, {})
17054
17060
  ]
17055
17061
  }
@@ -17069,16 +17075,16 @@ const Xn = (e) => e.map((r) => ({
17069
17075
  /* @__PURE__ */ t.jsx("h2", { className: "filter-title", style: { fontSize: a }, children: "Filtros" }),
17070
17076
  /* @__PURE__ */ t.jsxs("div", { className: "filter-header-buttons", children: [
17071
17077
  (i !== void 0 ? V.reduce(
17072
- (y, z) => {
17078
+ (y, M) => {
17073
17079
  var R;
17074
- return y + ((R = z == null ? void 0 : z.optionsSelect) == null ? void 0 : R.length);
17080
+ return y + ((R = M == null ? void 0 : M.optionsSelect) == null ? void 0 : R.length);
17075
17081
  },
17076
17082
  0
17077
17083
  ) : N()) > 0 && /* @__PURE__ */ t.jsxs(
17078
17084
  "button",
17079
17085
  {
17080
17086
  className: "clear-all",
17081
- onClick: S,
17087
+ onClick: T,
17082
17088
  style: { fontSize: a },
17083
17089
  children: [
17084
17090
  "Borrar todo",
@@ -17098,26 +17104,26 @@ const Xn = (e) => e.map((r) => ({
17098
17104
  ] }),
17099
17105
  e.map(
17100
17106
  ({
17101
- id: O,
17107
+ id: A,
17102
17108
  title: y,
17103
- options: z,
17109
+ options: M,
17104
17110
  selectAll: R,
17105
- basicSelect: C,
17106
- placeholderInput: D,
17107
- label: M,
17108
- textSelectAll: _,
17111
+ basicSelect: z,
17112
+ placeholderInput: E,
17113
+ label: S,
17114
+ textSelectAll: W,
17109
17115
  grouped: I,
17110
- disabledSection: A
17116
+ disabledSection: O
17111
17117
  }) => {
17112
- var G, K, re, U, he, ie;
17118
+ var K, G, re, U, he, ie;
17113
17119
  return /* @__PURE__ */ t.jsxs("div", { className: "filter-section", children: [
17114
17120
  /* @__PURE__ */ t.jsxs(
17115
17121
  "button",
17116
17122
  {
17117
17123
  className: "section-header",
17118
- onClick: () => !(R || C) && h(O),
17124
+ onClick: () => !(R || z) && h(A),
17119
17125
  style: {
17120
- cursor: R || C ? "default" : "pointer"
17126
+ cursor: R || z ? "default" : "pointer"
17121
17127
  },
17122
17128
  children: [
17123
17129
  /* @__PURE__ */ t.jsxs(
@@ -17131,10 +17137,10 @@ const Xn = (e) => e.map((r) => ({
17131
17137
  ]
17132
17138
  }
17133
17139
  ),
17134
- !(R || C) && (T == null ? void 0 : T.includes(O)) && /* @__PURE__ */ t.jsx("span", { className: "filter-container-icon", children: /* @__PURE__ */ t.jsx(
17140
+ !(R || z) && (C == null ? void 0 : C.includes(A)) && /* @__PURE__ */ t.jsx("span", { className: "filter-container-icon", children: /* @__PURE__ */ t.jsx(
17135
17141
  qo,
17136
17142
  {
17137
- isOpen: T == null ? void 0 : T.includes(O),
17143
+ isOpen: C == null ? void 0 : C.includes(A),
17138
17144
  onChange: () => {
17139
17145
  },
17140
17146
  color: "#8598AD",
@@ -17147,50 +17153,50 @@ const Xn = (e) => e.map((r) => ({
17147
17153
  ]
17148
17154
  }
17149
17155
  ),
17150
- (T == null ? void 0 : T.includes(O)) && /* @__PURE__ */ t.jsx(t.Fragment, { children: R ? /* @__PURE__ */ t.jsx("div", { style: { padding: "8px 15px" }, children: /* @__PURE__ */ t.jsx(
17156
+ (C == null ? void 0 : C.includes(A)) && /* @__PURE__ */ t.jsx(t.Fragment, { children: R ? /* @__PURE__ */ t.jsx("div", { style: { padding: "8px 15px" }, children: /* @__PURE__ */ t.jsx(
17151
17157
  Vo,
17152
17158
  {
17153
- data: Q0(z, I),
17159
+ data: Q0(M, I),
17154
17160
  grouped: I || !1,
17155
- label: M || y,
17161
+ label: S || y,
17156
17162
  maxheight: "200px",
17157
17163
  onChange: (fe) => {
17158
17164
  q(
17159
- O,
17165
+ A,
17160
17166
  y,
17161
- sn(z, I),
17167
+ sn(M, I),
17162
17168
  fe
17163
17169
  );
17164
17170
  },
17165
- placeholderSearch: D || `Buscar ${y == null ? void 0 : y.toLowerCase()}`,
17166
- textSelectAll: _ || `Todos los ${y == null ? void 0 : y.toLowerCase()}`,
17171
+ placeholderSearch: E || `Buscar ${y == null ? void 0 : y.toLowerCase()}`,
17172
+ textSelectAll: W || `Todos los ${y == null ? void 0 : y.toLowerCase()}`,
17167
17173
  width: "100%",
17168
17174
  widthDropdown: "100%",
17169
17175
  isRelative: !0,
17170
- selectedValues: ((K = (G = V.find((fe) => (fe == null ? void 0 : fe.id) === O)) == null ? void 0 : G.optionsSelect) == null ? void 0 : K.map((fe) => fe.id)) || [],
17176
+ selectedValues: ((G = (K = V.find((fe) => (fe == null ? void 0 : fe.id) === A)) == null ? void 0 : K.optionsSelect) == null ? void 0 : G.map((fe) => fe.id)) || [],
17171
17177
  fontSizeLabel: l,
17172
- disabled: A,
17178
+ disabled: O,
17173
17179
  fontSizeOptions: c
17174
17180
  }
17175
- ) }) : C ? /* @__PURE__ */ t.jsx("div", { style: { padding: "8px 15px" }, children: /* @__PURE__ */ t.jsx(
17181
+ ) }) : z ? /* @__PURE__ */ t.jsx("div", { style: { padding: "8px 15px" }, children: /* @__PURE__ */ t.jsx(
17176
17182
  rt,
17177
17183
  {
17178
- label: M || y,
17179
- options: sn(z, I),
17184
+ label: S || y,
17185
+ options: sn(M, I),
17180
17186
  onchange: (fe) => {
17181
17187
  Q(
17182
- O,
17188
+ A,
17183
17189
  y,
17184
- sn(z, I),
17190
+ sn(M, I),
17185
17191
  fe.value
17186
17192
  );
17187
17193
  },
17188
- placeholderInputSearch: D || `Buscar ${y == null ? void 0 : y.toLowerCase()}`,
17194
+ placeholderInputSearch: E || `Buscar ${y == null ? void 0 : y.toLowerCase()}`,
17189
17195
  size: "100%",
17190
- value: ((he = (U = (re = V == null ? void 0 : V.find((fe) => (fe == null ? void 0 : fe.id) === O)) == null ? void 0 : re.optionsSelect) == null ? void 0 : U[0]) == null ? void 0 : he.value) || "",
17196
+ value: ((he = (U = (re = V == null ? void 0 : V.find((fe) => (fe == null ? void 0 : fe.id) === A)) == null ? void 0 : re.optionsSelect) == null ? void 0 : U[0]) == null ? void 0 : he.value) || "",
17191
17197
  position: "relative",
17192
17198
  fontSizeLabel: l,
17193
- disabled: A,
17199
+ disabled: O,
17194
17200
  fontSizeOptions: c
17195
17201
  }
17196
17202
  ) }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
@@ -17198,19 +17204,19 @@ const Xn = (e) => e.map((r) => ({
17198
17204
  "div",
17199
17205
  {
17200
17206
  className: "section-content",
17201
- ref: (fe) => f.current[O] = fe,
17202
- style: Y[O] ? E[O] ? {
17207
+ ref: (fe) => f.current[A] = fe,
17208
+ style: Y[A] ? D[A] ? {
17203
17209
  maxHeight: H,
17204
17210
  overflowY: "scroll"
17205
17211
  } : {
17206
17212
  maxHeight: L,
17207
17213
  overflow: "hidden"
17208
17214
  } : {},
17209
- children: (ie = sn(z, I)) == null ? void 0 : ie.map((fe) => {
17215
+ children: (ie = sn(M, I)) == null ? void 0 : ie.map((fe) => {
17210
17216
  const Fe = V == null ? void 0 : V.some(
17211
17217
  (ve) => {
17212
17218
  var Ae;
17213
- return (ve == null ? void 0 : ve.id) === O && ((Ae = ve == null ? void 0 : ve.optionsSelect) == null ? void 0 : Ae.some(
17219
+ return (ve == null ? void 0 : ve.id) === A && ((Ae = ve == null ? void 0 : ve.optionsSelect) == null ? void 0 : Ae.some(
17214
17220
  (ae) => ae.id === fe.id
17215
17221
  ));
17216
17222
  }
@@ -17219,7 +17225,7 @@ const Xn = (e) => e.map((r) => ({
17219
17225
  ei,
17220
17226
  {
17221
17227
  height: "27px",
17222
- onChange: () => v(O, fe),
17228
+ onChange: () => v(A, fe),
17223
17229
  isSelect: Fe,
17224
17230
  children: fe.label
17225
17231
  },
@@ -17237,18 +17243,18 @@ const Xn = (e) => e.map((r) => ({
17237
17243
  padding: "0 8%",
17238
17244
  marginTop: "10px"
17239
17245
  },
17240
- children: (Y == null ? void 0 : Y[O]) && /* @__PURE__ */ t.jsx(
17246
+ children: (Y == null ? void 0 : Y[A]) && /* @__PURE__ */ t.jsx(
17241
17247
  "button",
17242
17248
  {
17243
17249
  className: "view-more",
17244
- onClick: () => X(O),
17245
- children: E[O] ? "Ver menos" : "Ver más"
17250
+ onClick: () => X(A),
17251
+ children: D[A] ? "Ver menos" : "Ver más"
17246
17252
  }
17247
17253
  )
17248
17254
  }
17249
17255
  )
17250
17256
  ] }) })
17251
- ] }, O);
17257
+ ] }, A);
17252
17258
  }
17253
17259
  )
17254
17260
  ]
@@ -17407,14 +17413,14 @@ const nh = ({
17407
17413
  const [x, v] = ee({
17408
17414
  isSelected: c || !1,
17409
17415
  value: d || null
17410
- }), h = (N) => d === N.title, j = ({ item: N, from: T }) => {
17416
+ }), h = (N) => d === N.title, j = ({ item: N, from: C }) => {
17411
17417
  const k = {
17412
17418
  isSelected: x.value !== N.title,
17413
17419
  value: x.value === N.title ? null : N.title
17414
17420
  };
17415
17421
  v(k), a({
17416
17422
  item: N,
17417
- from: T,
17423
+ from: C,
17418
17424
  title: r,
17419
17425
  selected: k.value,
17420
17426
  isSelected: k.isSelected
@@ -17423,7 +17429,7 @@ const nh = ({
17423
17429
  ue(() => {
17424
17430
  v({ isSelected: !1, value: null });
17425
17431
  }, [g]);
17426
- const S = (N) => !!(Number(N.quantity) === 0 || u);
17432
+ const T = (N) => !!(Number(N.quantity) === 0 || u);
17427
17433
  return /* @__PURE__ */ t.jsxs(
17428
17434
  "div",
17429
17435
  {
@@ -17447,8 +17453,8 @@ const nh = ({
17447
17453
  /* @__PURE__ */ t.jsx("div", { className: "ProcessFilter-mainData", children: s.map((N) => /* @__PURE__ */ t.jsxs(
17448
17454
  "div",
17449
17455
  {
17450
- onClick: () => S(N) ? null : j({ item: N, from: "main" }),
17451
- className: `ProcessFilter-item-wrapper ${h(N) ? "selected" : ""} ${S(N) ? "disabled" : ""}`,
17456
+ onClick: () => T(N) ? null : j({ item: N, from: "main" }),
17457
+ className: `ProcessFilter-item-wrapper ${h(N) ? "selected" : ""} ${T(N) ? "disabled" : ""}`,
17452
17458
  children: [
17453
17459
  /* @__PURE__ */ t.jsxs("div", { className: "ProcessFilter-item-content-icon-title", children: [
17454
17460
  /* @__PURE__ */ t.jsx(
@@ -17478,7 +17484,7 @@ const nh = ({
17478
17484
  /* @__PURE__ */ t.jsxs("h3", { className: "ProcessFilter-newsTitle", children: [
17479
17485
  "Novedades (",
17480
17486
  o.reduce(
17481
- (N, T) => N + (parseInt(T.quantity) || 0),
17487
+ (N, C) => N + (parseInt(C.quantity) || 0),
17482
17488
  0
17483
17489
  ),
17484
17490
  ")"
@@ -17486,8 +17492,8 @@ const nh = ({
17486
17492
  o.map((N) => /* @__PURE__ */ t.jsxs(
17487
17493
  "div",
17488
17494
  {
17489
- onClick: () => S(N) ? null : j({ item: N, from: "news" }),
17490
- className: `ProcessFilter-item-wrapper ${h(N) ? "selected" : ""} ${S(N) ? "disabled" : ""}`,
17495
+ onClick: () => T(N) ? null : j({ item: N, from: "news" }),
17496
+ className: `ProcessFilter-item-wrapper ${h(N) ? "selected" : ""} ${T(N) ? "disabled" : ""}`,
17491
17497
  children: [
17492
17498
  /* @__PURE__ */ t.jsxs("div", { className: "ProcessFilter-item-content-icon-title", children: [
17493
17499
  /* @__PURE__ */ t.jsx(
@@ -17543,84 +17549,84 @@ const rh = ({
17543
17549
  disableFutureDates: a,
17544
17550
  disablePastDaysCount: c
17545
17551
  }) => {
17546
- const [d, u] = ee(!1), [g, p] = Bs((C) => C + 1, 0), m = e === "es" ? Fr : Br, [x, v] = ee(null), [h, j] = ee(null), [S, N] = ee(null), [T, k] = ee(/* @__PURE__ */ new Date()), [w, E] = ee(
17552
+ const [d, u] = ee(!1), [g, p] = Bs((z) => z + 1, 0), m = e === "es" ? Fr : Br, [x, v] = ee(null), [h, j] = ee(null), [T, N] = ee(null), [C, k] = ee(/* @__PURE__ */ new Date()), [w, D] = ee(
17547
17553
  new Date((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() + 1))
17548
- ), [F, Y] = ee(!1), B = (C, D) => {
17549
- const M = /* @__PURE__ */ new Date();
17550
- if (M.setHours(0, 0, 0, 0), c) {
17551
- const _ = new Date(M);
17552
- if (_.setDate(M.getDate() - c), C < _ || C > M)
17554
+ ), [F, Y] = ee(!1), B = (z, E) => {
17555
+ const S = /* @__PURE__ */ new Date();
17556
+ if (S.setHours(0, 0, 0, 0), c) {
17557
+ const W = new Date(S);
17558
+ if (W.setDate(S.getDate() - c), z < W || z > S)
17553
17559
  return !0;
17554
17560
  }
17555
- return D && r && C < M || !D && a && C > M || r && C < M || a && C > M ? !0 : l > 0 && x ? oi(C, x, l) : !1;
17556
- }, f = (C) => {
17557
- const D = C.getFullYear(), M = C.getMonth(), I = new Date(D, M, 1).getDay(), A = new Date(D, M + 1, 0), G = [], K = new Date(D, M, 0).getDate();
17561
+ return E && r && z < S || !E && a && z > S || r && z < S || a && z > S ? !0 : l > 0 && x ? oi(z, x, l) : !1;
17562
+ }, f = (z) => {
17563
+ const E = z.getFullYear(), S = z.getMonth(), I = new Date(E, S, 1).getDay(), O = new Date(E, S + 1, 0), K = [], G = new Date(E, S, 0).getDate();
17558
17564
  for (let he = I - 1; he >= 0; he--)
17559
- G.push(new Date(D, M - 1, K - he));
17560
- for (let he = 1; he <= A.getDate(); he++)
17561
- G.push(new Date(D, M, he));
17562
- const U = 42 - G.length;
17565
+ K.push(new Date(E, S - 1, G - he));
17566
+ for (let he = 1; he <= O.getDate(); he++)
17567
+ K.push(new Date(E, S, he));
17568
+ const U = 42 - K.length;
17563
17569
  for (let he = 1; he <= U; he++)
17564
- G.push(new Date(D, M + 1, he));
17565
- return G;
17566
- }, W = (C) => !x || !h ? !1 : C >= x && C <= h, L = (C) => !x || !S ? !1 : C >= x && C <= S || C <= x && C >= S, H = (C) => {
17567
- !x || h ? (v(C), j(null)) : C < x ? (j(x), v(C), o && z(C, x)) : (j(C), o && z(x, C));
17568
- }, X = (C) => {
17569
- N(C);
17570
+ K.push(new Date(E, S + 1, he));
17571
+ return K;
17572
+ }, _ = (z) => !x || !h ? !1 : z >= x && z <= h, L = (z) => !x || !T ? !1 : z >= x && z <= T || z <= x && z >= T, H = (z) => {
17573
+ !x || h ? (v(z), j(null)) : z < x ? (j(x), v(z), o && M(z, x)) : (j(z), o && M(x, z));
17574
+ }, X = (z) => {
17575
+ N(z);
17570
17576
  }, q = () => !x || !h ? 0 : Math.round(
17571
17577
  (h.getTime() - x.getTime()) / (1e3 * 60 * 60 * 24)
17572
- ) + 1, Q = (C, D) => {
17573
- const M = new Date(C.getFullYear(), C.getMonth() - 1, 1);
17574
- r && M < new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1) && D || (D ? k(M) : (E(M), M.getMonth() === T.getMonth() && k(
17575
- new Date(M.getFullYear(), M.getMonth() - 1, 1)
17578
+ ) + 1, Q = (z, E) => {
17579
+ const S = new Date(z.getFullYear(), z.getMonth() - 1, 1);
17580
+ r && S < new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1) && E || (E ? k(S) : (D(S), S.getMonth() === C.getMonth() && k(
17581
+ new Date(S.getFullYear(), S.getMonth() - 1, 1)
17576
17582
  )));
17577
- }, V = (C, D) => {
17578
- const M = new Date(C.getFullYear(), C.getMonth() + 1, 1);
17579
- D ? (k(M), M.getMonth() === w.getMonth() && E(
17580
- new Date(M.getFullYear(), M.getMonth() + 1, 1)
17581
- )) : E(M);
17582
- }, $ = (C) => {
17583
- const M = C.toLocaleDateString(m.code, {
17583
+ }, V = (z, E) => {
17584
+ const S = new Date(z.getFullYear(), z.getMonth() + 1, 1);
17585
+ E ? (k(S), S.getMonth() === w.getMonth() && D(
17586
+ new Date(S.getFullYear(), S.getMonth() + 1, 1)
17587
+ )) : D(S);
17588
+ }, P = (z) => {
17589
+ const S = z.toLocaleDateString(m.code, {
17584
17590
  weekday: "short",
17585
17591
  day: "numeric",
17586
17592
  month: "short",
17587
17593
  year: "2-digit"
17588
- }).split(" "), _ = M[0].charAt(0).toUpperCase() + M[0].slice(1), I = M[1], A = M[2].charAt(0).toUpperCase() + M[2].slice(1), G = M[3];
17589
- return `${_} ${I} de ${A} ${G}`;
17590
- }, O = () => {
17591
- const C = /* @__PURE__ */ new Date();
17592
- v(null), j(null), k(C), E(new Date((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() + 1))), Y(!1), i({
17594
+ }).split(" "), W = S[0].charAt(0).toUpperCase() + S[0].slice(1), I = S[1], O = S[2].charAt(0).toUpperCase() + S[2].slice(1), K = S[3];
17595
+ return `${W} ${I} de ${O} ${K}`;
17596
+ }, A = () => {
17597
+ const z = /* @__PURE__ */ new Date();
17598
+ v(null), j(null), k(z), D(new Date((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() + 1))), Y(!1), i({
17593
17599
  startDate: null,
17594
17600
  endDate: null
17595
17601
  }), p();
17596
17602
  }, y = () => {
17597
17603
  Y(!1);
17598
- const C = it(x), D = it(h);
17604
+ const z = it(x), E = it(h);
17599
17605
  s({
17600
- startDate: C,
17601
- endDate: D
17606
+ startDate: z,
17607
+ endDate: E
17602
17608
  }), u(!1);
17603
- }, z = (C, D) => {
17604
- v(C), j(D), Y(!1);
17605
- const M = it(C), _ = it(D);
17609
+ }, M = (z, E) => {
17610
+ v(z), j(E), Y(!1);
17611
+ const S = it(z), W = it(E);
17606
17612
  s({
17607
- startDate: M,
17608
- endDate: _
17613
+ startDate: S,
17614
+ endDate: W
17609
17615
  }), u(!1);
17610
17616
  };
17611
17617
  return {
17612
17618
  isOpen: F,
17613
17619
  endDate: h,
17614
17620
  language: m,
17615
- leftMonth: T,
17621
+ leftMonth: C,
17616
17622
  startDate: x,
17617
17623
  setIsOpen: Y,
17618
- hoverDate: S,
17624
+ hoverDate: T,
17619
17625
  rightMonth: w,
17620
- formatDate: $,
17626
+ formatDate: P,
17621
17627
  handleSearch: y,
17622
- handleCancel: O,
17623
- isDateInRange: W,
17628
+ handleCancel: A,
17629
+ isDateInRange: _,
17624
17630
  getDaysInMonth: f,
17625
17631
  isDateDisabled: B,
17626
17632
  handleDateClick: H,
@@ -17631,8 +17637,8 @@ const rh = ({
17631
17637
  isDateInHoverRange: L,
17632
17638
  keyReset: g,
17633
17639
  resetSelect: p,
17634
- handleBasicSelect: ({ value: C }) => {
17635
- C === "custom" ? (u(!0), Y(!1)) : s({ value: C });
17640
+ handleBasicSelect: ({ value: z }) => {
17641
+ z === "custom" ? (u(!0), Y(!1)) : s({ value: z });
17636
17642
  },
17637
17643
  isOpenCalendar: d,
17638
17644
  setIsOpenCalendar: u
@@ -17655,33 +17661,33 @@ const rh = ({
17655
17661
  fontSizeLabelBasicSelect: v,
17656
17662
  fontSizeOptionsBasicSelect: h,
17657
17663
  labelText: j,
17658
- subLabelText: S,
17664
+ subLabelText: T,
17659
17665
  disablePastDaysCount: N,
17660
- keyResetBasicSelect: T
17666
+ keyResetBasicSelect: C
17661
17667
  }) => {
17662
17668
  const {
17663
17669
  keyReset: k,
17664
17670
  isOpen: w,
17665
- endDate: E,
17671
+ endDate: D,
17666
17672
  language: F,
17667
17673
  leftMonth: Y,
17668
17674
  startDate: B,
17669
17675
  setIsOpen: f,
17670
- rightMonth: W,
17676
+ rightMonth: _,
17671
17677
  handleSearch: L,
17672
17678
  handleCancel: H,
17673
17679
  isDateInRange: X,
17674
17680
  getDaysInMonth: q,
17675
17681
  isDateDisabled: Q,
17676
17682
  handleDateClick: V,
17677
- handleDateHover: $,
17678
- handlePrevClick: O,
17683
+ handleDateHover: P,
17684
+ handlePrevClick: A,
17679
17685
  handleNextClick: y,
17680
- getDaysSelected: z,
17686
+ getDaysSelected: M,
17681
17687
  isDateInHoverRange: R,
17682
- handleBasicSelect: C,
17683
- isOpenCalendar: D,
17684
- setIsOpenCalendar: M
17688
+ handleBasicSelect: z,
17689
+ isOpenCalendar: E,
17690
+ setIsOpenCalendar: S
17685
17691
  } = rh({
17686
17692
  locale: e,
17687
17693
  onReset: l,
@@ -17691,21 +17697,21 @@ const rh = ({
17691
17697
  limitRange: o,
17692
17698
  disableFutureDates: g,
17693
17699
  disablePastDaysCount: N
17694
- }), _ = Ie(null);
17700
+ }), W = Ie(null);
17695
17701
  ue(() => {
17696
- const A = (G) => {
17697
- _.current && !_.current.contains(G.target) && (w || D) && (f(!1), M(!1), i || H());
17702
+ const O = (K) => {
17703
+ W.current && !W.current.contains(K.target) && (w || E) && (f(!1), S(!1), i || H());
17698
17704
  };
17699
- return document.addEventListener("mousedown", A), () => {
17700
- document.removeEventListener("mousedown", A);
17705
+ return document.addEventListener("mousedown", O), () => {
17706
+ document.removeEventListener("mousedown", O);
17701
17707
  };
17702
- }, [E, H, w, f, B, i, D, M]);
17703
- const I = (A, G = !0) => {
17704
- const K = q(A), re = A.getMonth(), U = (ie, fe) => [
17708
+ }, [D, H, w, f, B, i, E, S]);
17709
+ const I = (O, K = !0) => {
17710
+ const G = q(O), re = O.getMonth(), U = (ie, fe) => [
17705
17711
  ie && ie.getMonth() !== re ? "other-month" : "",
17706
17712
  ie && X(ie) ? "in-range" : "",
17707
17713
  ie && R(ie) ? "hover-range" : "",
17708
- ie && (ie.getTime() === (B == null ? void 0 : B.getTime()) || ie.getTime() === (E == null ? void 0 : E.getTime())) ? "selected" : "",
17714
+ ie && (ie.getTime() === (B == null ? void 0 : B.getTime()) || ie.getTime() === (D == null ? void 0 : D.getTime())) ? "selected" : "",
17709
17715
  Q(ie, fe) ? "disabled" : ""
17710
17716
  ].join(" "), he = ({
17711
17717
  date: ie,
@@ -17734,15 +17740,15 @@ const rh = ({
17734
17740
  "button",
17735
17741
  {
17736
17742
  className: "calendar-nav-button",
17737
- onClick: () => O(A, G),
17743
+ onClick: () => A(O, K),
17738
17744
  disabled: mn(
17739
- new Date(A.getFullYear(), A.getMonth() - 1, 1),
17745
+ new Date(O.getFullYear(), O.getMonth() - 1, 1),
17740
17746
  !0,
17741
17747
  B,
17742
17748
  o
17743
17749
  ) || he({
17744
- date: A,
17745
- isLeftCalendar: G,
17750
+ date: O,
17751
+ isLeftCalendar: K,
17746
17752
  disablePastDates: s,
17747
17753
  leftMonth: Y
17748
17754
  }),
@@ -17750,20 +17756,20 @@ const rh = ({
17750
17756
  }
17751
17757
  ),
17752
17758
  /* @__PURE__ */ t.jsxs("h2", { className: "calendar-title", children: [
17753
- F.MONTHS[A.getMonth()],
17754
- /* @__PURE__ */ t.jsx("p", { children: A.getFullYear() })
17759
+ F.MONTHS[O.getMonth()],
17760
+ /* @__PURE__ */ t.jsx("p", { children: O.getFullYear() })
17755
17761
  ] }),
17756
17762
  /* @__PURE__ */ t.jsx(
17757
17763
  "button",
17758
17764
  {
17759
17765
  className: "calendar-nav-button",
17760
- onClick: () => y(A, G),
17766
+ onClick: () => y(O, K),
17761
17767
  disabled: mn(
17762
- new Date(A.getFullYear(), A.getMonth() + 1, 1),
17768
+ new Date(O.getFullYear(), O.getMonth() + 1, 1),
17763
17769
  !1,
17764
17770
  B,
17765
17771
  o
17766
- ) || g && new Date(A.getFullYear(), A.getMonth(), 1).getTime() >= new Date(
17772
+ ) || g && new Date(O.getFullYear(), O.getMonth(), 1).getTime() >= new Date(
17767
17773
  (/* @__PURE__ */ new Date()).getFullYear(),
17768
17774
  (/* @__PURE__ */ new Date()).getMonth(),
17769
17775
  1
@@ -17788,17 +17794,17 @@ const rh = ({
17788
17794
  },
17789
17795
  ie
17790
17796
  )),
17791
- K.map((ie, fe) => /* @__PURE__ */ t.jsx("div", { className: "calendar-day-wrapper", children: /* @__PURE__ */ t.jsx(
17797
+ G.map((ie, fe) => /* @__PURE__ */ t.jsx("div", { className: "calendar-day-wrapper", children: /* @__PURE__ */ t.jsx(
17792
17798
  "button",
17793
17799
  {
17794
17800
  className: `calendar-day ${U(
17795
17801
  ie,
17796
- G
17802
+ K
17797
17803
  )}`,
17798
17804
  disabled: !ie || Q(ie),
17799
17805
  onClick: () => ie && !Q(ie) && V(ie),
17800
- onMouseEnter: () => ie && !Q(ie) && $(ie),
17801
- onMouseLeave: () => $(null),
17806
+ onMouseEnter: () => ie && !Q(ie) && P(ie),
17807
+ onMouseLeave: () => P(null),
17802
17808
  children: /* @__PURE__ */ t.jsx(
17803
17809
  "span",
17804
17810
  {
@@ -17815,15 +17821,15 @@ const rh = ({
17815
17821
  ] });
17816
17822
  };
17817
17823
  return ue(() => {
17818
- T && H();
17819
- }, [T]), ue(() => {
17820
- w && M(!1);
17824
+ C && H();
17825
+ }, [C]), ue(() => {
17826
+ w && S(!1);
17821
17827
  }, [w]), /* @__PURE__ */ t.jsxs("div", { className: "container-date-range-picker", children: [
17822
17828
  /* @__PURE__ */ t.jsxs(
17823
17829
  "div",
17824
17830
  {
17825
17831
  className: "date-range-picker",
17826
- ref: _,
17832
+ ref: W,
17827
17833
  style: { width: x },
17828
17834
  children: [
17829
17835
  /* @__PURE__ */ t.jsx(
@@ -17836,16 +17842,16 @@ const rh = ({
17836
17842
  setIsOpen: f,
17837
17843
  disabledClickOutside: !0,
17838
17844
  disabled: u,
17839
- onchange: C,
17845
+ onchange: z,
17840
17846
  fontSizeLabel: v,
17841
17847
  fontSizeOptions: h,
17842
17848
  keyReset: k,
17843
17849
  labelText: j,
17844
- subLabelText: S,
17850
+ subLabelText: T,
17845
17851
  sortAlphabetically: !1
17846
17852
  }
17847
17853
  ),
17848
- D && /* @__PURE__ */ t.jsxs(
17854
+ E && /* @__PURE__ */ t.jsxs(
17849
17855
  "div",
17850
17856
  {
17851
17857
  className: "date-picker-dropdown",
@@ -17857,9 +17863,9 @@ const rh = ({
17857
17863
  children: [
17858
17864
  /* @__PURE__ */ t.jsxs("div", { className: "calendars-wrapper", children: [
17859
17865
  I(Y, !0),
17860
- I(W, !1)
17866
+ I(_, !1)
17861
17867
  ] }),
17862
- !m && /* @__PURE__ */ t.jsx("div", { className: "date-picker-footer", children: B && E && /* @__PURE__ */ t.jsxs(
17868
+ !m && /* @__PURE__ */ t.jsx("div", { className: "date-picker-footer", children: B && D && /* @__PURE__ */ t.jsxs(
17863
17869
  "div",
17864
17870
  {
17865
17871
  style: {
@@ -17870,7 +17876,7 @@ const rh = ({
17870
17876
  },
17871
17877
  children: [
17872
17878
  /* @__PURE__ */ t.jsxs("div", { className: "days-selected", children: [
17873
- z(),
17879
+ M(),
17874
17880
  " ",
17875
17881
  F.days
17876
17882
  ] }),
@@ -17911,7 +17917,7 @@ const rh = ({
17911
17917
  ]
17912
17918
  }
17913
17919
  ),
17914
- B && E && i && /* @__PURE__ */ t.jsx("button", { className: "button-reset", onClick: () => H(), children: /* @__PURE__ */ t.jsx(wr, {}) })
17920
+ B && D && i && /* @__PURE__ */ t.jsx("button", { className: "button-reset", onClick: () => H(), children: /* @__PURE__ */ t.jsx(wr, {}) })
17915
17921
  ] });
17916
17922
  };
17917
17923
  sh.propTypes = {
@@ -18384,47 +18390,47 @@ const cr = (e, r = "100px", s, o, i) => ({
18384
18390
  subMessage: v,
18385
18391
  onClickOptions: h,
18386
18392
  onClickSubOptions: j,
18387
- fontSizeTHead: S,
18393
+ fontSizeTHead: T,
18388
18394
  fontSizeTBody: N,
18389
- widthOptions: T,
18395
+ widthOptions: C,
18390
18396
  fontSizeOptions: k,
18391
18397
  nameOfKeyState: w = "Estado",
18392
- texAlignTHead: E = "start",
18398
+ texAlignTHead: D = "start",
18393
18399
  textAlignTBody: F = "start",
18394
18400
  fontSizeState: Y,
18395
18401
  fontStyleTBody: B = "normal",
18396
18402
  fontStyleTHead: f = "normal"
18397
18403
  }) => {
18398
- const [W, L] = ee({}), H = ($) => {
18399
- L((O) => ({ ...O, [$]: !O[$] }));
18400
- }, X = ($) => {
18401
- r($);
18402
- }, q = ($) => {
18403
- m($);
18404
+ const [_, L] = ee({}), H = (P) => {
18405
+ L((A) => ({ ...A, [P]: !A[P] }));
18406
+ }, X = (P) => {
18407
+ r(P);
18408
+ }, q = (P) => {
18409
+ m(P);
18404
18410
  }, Q = e.length > 0 ? Object.keys(e[0]).filter(
18405
- ($) => $ !== "subData" && !o.includes($)
18406
- ) : [], V = ($) => $ !== "Inactivo" ? "#8598ad" : "#7c7c7c";
18411
+ (P) => P !== "subData" && !o.includes(P)
18412
+ ) : [], V = (P) => P !== "Inactivo" ? "#8598ad" : "#7c7c7c";
18407
18413
  return /* @__PURE__ */ t.jsxs("table", { className: "table-ixc", style: { width: s, minHeight: d }, children: [
18408
18414
  /* @__PURE__ */ t.jsx("thead", { children: /* @__PURE__ */ t.jsxs("tr", { children: [
18409
18415
  /* @__PURE__ */ t.jsx("th", {}),
18410
- Q.map(($, O) => /* @__PURE__ */ t.jsx(
18416
+ Q.map((P, A) => /* @__PURE__ */ t.jsx(
18411
18417
  "th",
18412
18418
  {
18413
18419
  style: {
18414
- fontSize: S,
18415
- textAlign: E,
18420
+ fontSize: T,
18421
+ textAlign: D,
18416
18422
  fontStyle: f
18417
18423
  },
18418
- children: $.replace(/_/g, " ")
18424
+ children: P.replace(/_/g, " ")
18419
18425
  },
18420
- O
18426
+ A
18421
18427
  )),
18422
18428
  Q.length > 0 ? /* @__PURE__ */ t.jsx(
18423
18429
  "th",
18424
18430
  {
18425
18431
  style: {
18426
- fontSize: S,
18427
- textAlign: E,
18432
+ fontSize: T,
18433
+ textAlign: D,
18428
18434
  fontStyle: f
18429
18435
  },
18430
18436
  children: l
@@ -18444,59 +18450,59 @@ const cr = (e, r = "100px", s, o, i) => ({
18444
18450
  children: a
18445
18451
  }
18446
18452
  ) }),
18447
- e == null ? void 0 : e.map(($) => {
18448
- var O;
18453
+ e == null ? void 0 : e.map((P) => {
18454
+ var A;
18449
18455
  return /* @__PURE__ */ t.jsxs(He.Fragment, { children: [
18450
18456
  /* @__PURE__ */ t.jsxs("tr", { className: "main-row", children: [
18451
18457
  /* @__PURE__ */ t.jsx("td", { children: /* @__PURE__ */ t.jsx(
18452
18458
  "button",
18453
18459
  {
18454
- onClick: () => H($.id),
18460
+ onClick: () => H(P.id),
18455
18461
  className: "reset-styles-button",
18456
18462
  style: { width: "100%" },
18457
18463
  children: /* @__PURE__ */ t.jsx(
18458
18464
  "i",
18459
18465
  {
18460
- className: `arrow-grey-container ${W[$.id] ? "up" : "down"}`
18466
+ className: `arrow-grey-container ${_[P.id] ? "up" : "down"}`
18461
18467
  }
18462
18468
  )
18463
18469
  }
18464
18470
  ) }),
18465
- Q.map((y, z) => /* @__PURE__ */ t.jsx(
18471
+ Q.map((y, M) => /* @__PURE__ */ t.jsx(
18466
18472
  "td",
18467
18473
  {
18468
18474
  style: {
18469
- color: y !== w ? V($.Estado) : "black",
18475
+ color: y !== w ? V(P.Estado) : "black",
18470
18476
  padding: y === w ? "0 9px" : "10px",
18471
18477
  fontSize: N,
18472
18478
  textAlign: F,
18473
18479
  fontStyle: B
18474
18480
  },
18475
18481
  children: y === w ? cr(
18476
- $[y],
18482
+ P[y],
18477
18483
  p,
18478
18484
  Y,
18479
18485
  F === "center"
18480
- ) : $[y] || "-"
18486
+ ) : P[y] || "-"
18481
18487
  },
18482
- z
18488
+ M
18483
18489
  )),
18484
- ((O = $ == null ? void 0 : $.options) == null ? void 0 : O.length) > 0 ? /* @__PURE__ */ t.jsx("td", { style: { overflow: "visible" }, children: /* @__PURE__ */ t.jsx(
18490
+ ((A = P == null ? void 0 : P.options) == null ? void 0 : A.length) > 0 ? /* @__PURE__ */ t.jsx("td", { style: { overflow: "visible" }, children: /* @__PURE__ */ t.jsx(
18485
18491
  qt,
18486
18492
  {
18487
18493
  onClick: (y) => {
18488
- h({ option: y, row: $ });
18494
+ h({ option: y, row: P });
18489
18495
  },
18490
- options: [...$.options],
18496
+ options: [...P.options],
18491
18497
  fontSize: k,
18492
- width: T
18498
+ width: C
18493
18499
  }
18494
18500
  ) }) : /* @__PURE__ */ t.jsx("td", { children: /* @__PURE__ */ t.jsxs("div", { className: "action-icon", children: [
18495
18501
  i && /* @__PURE__ */ t.jsx(
18496
18502
  "button",
18497
18503
  {
18498
18504
  className: "edit-button",
18499
- onClick: () => X($),
18505
+ onClick: () => X(P),
18500
18506
  style: {
18501
18507
  fontSize: N,
18502
18508
  fontStyle: B
@@ -18504,51 +18510,51 @@ const cr = (e, r = "100px", s, o, i) => ({
18504
18510
  children: i
18505
18511
  }
18506
18512
  ),
18507
- /* @__PURE__ */ t.jsx("button", { className: "edit-icon", onClick: () => u($), children: g })
18513
+ /* @__PURE__ */ t.jsx("button", { className: "edit-icon", onClick: () => u(P), children: g })
18508
18514
  ] }) })
18509
18515
  ] }),
18510
- W[$.id] && /* @__PURE__ */ t.jsx("tr", { className: "sub-row", style: { fontStyle: "italic" }, children: Array.from({ length: Q.length + 2 }, (y, z) => /* @__PURE__ */ t.jsx(
18516
+ _[P.id] && /* @__PURE__ */ t.jsx("tr", { className: "sub-row", style: { fontStyle: "italic" }, children: Array.from({ length: Q.length + 2 }, (y, M) => /* @__PURE__ */ t.jsx(
18511
18517
  "td",
18512
18518
  {
18513
18519
  className: "td-empty",
18514
18520
  style: { fontWeight: "600" },
18515
- children: z === 1 ? `${v}` : ""
18521
+ children: M === 1 ? `${v}` : ""
18516
18522
  },
18517
- z
18523
+ M
18518
18524
  )) }),
18519
- W[$.id] && $.subData.length > 0 && $.subData.map((y, z) => {
18525
+ _[P.id] && P.subData.length > 0 && P.subData.map((y, M) => {
18520
18526
  var R;
18521
18527
  return /* @__PURE__ */ t.jsxs("tr", { className: "sub-row", children: [
18522
18528
  /* @__PURE__ */ t.jsx("td", {}),
18523
18529
  " ",
18524
- Q.map((C, D) => /* @__PURE__ */ t.jsx(
18530
+ Q.map((z, E) => /* @__PURE__ */ t.jsx(
18525
18531
  "td",
18526
18532
  {
18527
18533
  style: {
18528
- color: C !== w ? V(y.Estado) : "black",
18529
- padding: C === w ? "0 9px" : "10px",
18534
+ color: z !== w ? V(y.Estado) : "black",
18535
+ padding: z === w ? "0 9px" : "10px",
18530
18536
  fontSize: N,
18531
18537
  textAlign: F,
18532
18538
  fontStyle: B
18533
18539
  },
18534
- children: C === w ? cr(
18535
- y[C],
18540
+ children: z === w ? cr(
18541
+ y[z],
18536
18542
  p,
18537
18543
  Y,
18538
18544
  F === "center"
18539
- ) : y[C] || "-"
18545
+ ) : y[z] || "-"
18540
18546
  },
18541
- D
18547
+ E
18542
18548
  )),
18543
18549
  ((R = y == null ? void 0 : y.options) == null ? void 0 : R.length) > 0 ? /* @__PURE__ */ t.jsx("td", { style: { overflow: "visible" }, children: /* @__PURE__ */ t.jsx(
18544
18550
  qt,
18545
18551
  {
18546
- onClick: (C) => {
18547
- j({ option: C, row: y });
18552
+ onClick: (z) => {
18553
+ j({ option: z, row: y });
18548
18554
  },
18549
18555
  options: [...y.options],
18550
18556
  fontSize: k,
18551
- width: T
18557
+ width: C
18552
18558
  }
18553
18559
  ) }) : /* @__PURE__ */ t.jsx("td", { children: /* @__PURE__ */ t.jsxs("div", { className: "action-icon", children: [
18554
18560
  i && /* @__PURE__ */ t.jsx(
@@ -18572,9 +18578,9 @@ const cr = (e, r = "100px", s, o, i) => ({
18572
18578
  }
18573
18579
  )
18574
18580
  ] }) })
18575
- ] }, z);
18581
+ ] }, M);
18576
18582
  })
18577
- ] }, $.id);
18583
+ ] }, P.id);
18578
18584
  })
18579
18585
  ] })
18580
18586
  ] });
@@ -18673,10 +18679,10 @@ const fh = ({
18673
18679
  isWrap: v = !1,
18674
18680
  width: h = "100%"
18675
18681
  }) => {
18676
- const [j, S] = ee(null), N = (w) => {
18677
- S(w);
18678
- }, T = () => {
18679
- S(null);
18682
+ const [j, T] = ee(null), N = (w) => {
18683
+ T(w);
18684
+ }, C = () => {
18685
+ T(null);
18680
18686
  }, k = e.length > 0 ? Object.keys(e[0]).filter(
18681
18687
  (w) => !s.includes(w)
18682
18688
  ) : [];
@@ -18691,12 +18697,12 @@ const fh = ({
18691
18697
  },
18692
18698
  children: [
18693
18699
  /* @__PURE__ */ t.jsx("thead", { children: /* @__PURE__ */ t.jsxs("tr", { children: [
18694
- k.map((w, E) => /* @__PURE__ */ t.jsxs(
18700
+ k.map((w, D) => /* @__PURE__ */ t.jsxs(
18695
18701
  "th",
18696
18702
  {
18697
18703
  className: "relative",
18698
18704
  onMouseEnter: () => N(w),
18699
- onMouseLeave: T,
18705
+ onMouseLeave: C,
18700
18706
  style: { height: x },
18701
18707
  children: [
18702
18708
  /* @__PURE__ */ t.jsx(
@@ -18715,7 +18721,7 @@ const fh = ({
18715
18721
  i && i[w] && j === w && /* @__PURE__ */ t.jsx("div", { className: "tooltipTable", style: { top: o }, children: /* @__PURE__ */ t.jsx(Oo, { fontSize: l, children: i[w] }) })
18716
18722
  ]
18717
18723
  },
18718
- E
18724
+ D
18719
18725
  )),
18720
18726
  k.length === 0 && /* @__PURE__ */ t.jsx("th", { className: "messageEmpty", children: "." })
18721
18727
  ] }) }),
@@ -18734,7 +18740,7 @@ const fh = ({
18734
18740
  children: a
18735
18741
  }
18736
18742
  ) }),
18737
- e.map((w, E) => /* @__PURE__ */ t.jsx("tr", { children: k.map((F, Y) => /* @__PURE__ */ t.jsx(
18743
+ e.map((w, D) => /* @__PURE__ */ t.jsx("tr", { children: k.map((F, Y) => /* @__PURE__ */ t.jsx(
18738
18744
  "td",
18739
18745
  {
18740
18746
  style: {
@@ -18748,7 +18754,7 @@ const fh = ({
18748
18754
  children: w[F]
18749
18755
  },
18750
18756
  Y
18751
- )) }, (w == null ? void 0 : w.id) || E))
18757
+ )) }, (w == null ? void 0 : w.id) || D))
18752
18758
  ] })
18753
18759
  ]
18754
18760
  }
@@ -18790,16 +18796,16 @@ const ph = ({
18790
18796
  texAlignTHead: v = "start",
18791
18797
  textAlignTBody: h = "start",
18792
18798
  fontSizeTHead: j,
18793
- fontSizeTBody: S
18799
+ fontSizeTBody: T
18794
18800
  }) => {
18795
18801
  const N = (k) => {
18796
18802
  r(k);
18797
- }, T = e.length > 0 ? Object.keys(e[0]).filter(
18803
+ }, C = e.length > 0 ? Object.keys(e[0]).filter(
18798
18804
  (k) => k !== "options" && !o.includes(k)
18799
18805
  ) : [];
18800
18806
  return /* @__PURE__ */ t.jsxs("table", { className: "table-ixc", style: { width: s, minHeight: d }, children: [
18801
18807
  /* @__PURE__ */ t.jsx("thead", { children: /* @__PURE__ */ t.jsxs("tr", { children: [
18802
- T.map((k, w) => /* @__PURE__ */ t.jsx(
18808
+ C.map((k, w) => /* @__PURE__ */ t.jsx(
18803
18809
  "th",
18804
18810
  {
18805
18811
  style: { textAlign: v, fontSize: j },
@@ -18807,29 +18813,29 @@ const ph = ({
18807
18813
  },
18808
18814
  w
18809
18815
  )),
18810
- T.length > 0 ? /* @__PURE__ */ t.jsx("th", { style: { textAlign: v, fontSize: j }, children: l }) : /* @__PURE__ */ t.jsx("th", { className: "messageEmpty", children: "." })
18816
+ C.length > 0 ? /* @__PURE__ */ t.jsx("th", { style: { textAlign: v, fontSize: j }, children: l }) : /* @__PURE__ */ t.jsx("th", { className: "messageEmpty", children: "." })
18811
18817
  ] }) }),
18812
18818
  /* @__PURE__ */ t.jsxs("tbody", { children: [
18813
18819
  e.length === 0 && /* @__PURE__ */ t.jsx("tr", { children: /* @__PURE__ */ t.jsx(
18814
18820
  "td",
18815
18821
  {
18816
- colSpan: T.length + 1,
18822
+ colSpan: C.length + 1,
18817
18823
  style: { fontSize: c, textAlign: "center" },
18818
18824
  children: a
18819
18825
  }
18820
18826
  ) }),
18821
18827
  e.map((k, w) => {
18822
- var E;
18828
+ var D;
18823
18829
  return /* @__PURE__ */ t.jsxs("tr", { children: [
18824
- T.map((F, Y) => /* @__PURE__ */ t.jsx(
18830
+ C.map((F, Y) => /* @__PURE__ */ t.jsx(
18825
18831
  "td",
18826
18832
  {
18827
- style: { textAlign: h, fontSize: S },
18833
+ style: { textAlign: h, fontSize: T },
18828
18834
  children: k[F]
18829
18835
  },
18830
18836
  Y
18831
18837
  )),
18832
- ((E = k == null ? void 0 : k.options) == null ? void 0 : E.length) > 0 ? /* @__PURE__ */ t.jsx("td", { style: { overflow: "visible" }, children: /* @__PURE__ */ t.jsx(
18838
+ ((D = k == null ? void 0 : k.options) == null ? void 0 : D.length) > 0 ? /* @__PURE__ */ t.jsx("td", { style: { overflow: "visible" }, children: /* @__PURE__ */ t.jsx(
18833
18839
  qt,
18834
18840
  {
18835
18841
  onClick: (F) => {
@@ -18846,7 +18852,7 @@ const ph = ({
18846
18852
  className: "edit-button",
18847
18853
  onClick: () => N(k),
18848
18854
  style: {
18849
- fontSize: S,
18855
+ fontSize: T,
18850
18856
  textAlign: h
18851
18857
  },
18852
18858
  children: i
@@ -18913,13 +18919,13 @@ const gh = ({
18913
18919
  ) : [];
18914
18920
  return /* @__PURE__ */ t.jsxs("table", { className: "table-ixc", style: { width: s, minHeight: d }, children: [
18915
18921
  /* @__PURE__ */ t.jsx("thead", { children: /* @__PURE__ */ t.jsxs("tr", { children: [
18916
- h.map((j, S) => /* @__PURE__ */ t.jsx(
18922
+ h.map((j, T) => /* @__PURE__ */ t.jsx(
18917
18923
  "th",
18918
18924
  {
18919
18925
  style: { textAlign: u, fontSize: p },
18920
18926
  children: j
18921
18927
  },
18922
- S
18928
+ T
18923
18929
  )),
18924
18930
  h.length > 0 ? /* @__PURE__ */ t.jsx(
18925
18931
  "th",
@@ -18938,14 +18944,14 @@ const gh = ({
18938
18944
  children: a
18939
18945
  }
18940
18946
  ) }),
18941
- e.map((j, S) => /* @__PURE__ */ t.jsxs("tr", { children: [
18942
- h.map((N, T) => /* @__PURE__ */ t.jsx(
18947
+ e.map((j, T) => /* @__PURE__ */ t.jsxs("tr", { children: [
18948
+ h.map((N, C) => /* @__PURE__ */ t.jsx(
18943
18949
  "td",
18944
18950
  {
18945
18951
  style: { textAlign: g, fontSize: m },
18946
18952
  children: j[N]
18947
18953
  },
18948
- T
18954
+ C
18949
18955
  )),
18950
18956
  /* @__PURE__ */ t.jsx("td", { children: /* @__PURE__ */ t.jsx(
18951
18957
  "button",
@@ -18956,7 +18962,7 @@ const gh = ({
18956
18962
  children: i
18957
18963
  }
18958
18964
  ) })
18959
- ] }, (j == null ? void 0 : j.id) || S))
18965
+ ] }, (j == null ? void 0 : j.id) || T))
18960
18966
  ] })
18961
18967
  ] });
18962
18968
  };
@@ -18996,22 +19002,22 @@ const mh = ({
18996
19002
  (h) => !o.includes(h)
18997
19003
  ) : [], v = (h) => {
18998
19004
  if (!r) return null;
18999
- const j = (S) => {
19000
- if (!S.props.onClick) return S;
19001
- const N = S.props.onClick, T = (k) => {
19005
+ const j = (T) => {
19006
+ if (!T.props.onClick) return T;
19007
+ const N = T.props.onClick, C = (k) => {
19002
19008
  k.rowData = h, N(k);
19003
19009
  };
19004
- return bt(S, {
19005
- ...S.props,
19006
- onClick: T
19010
+ return bt(T, {
19011
+ ...T.props,
19012
+ onClick: C
19007
19013
  });
19008
19014
  };
19009
19015
  return Array.isArray(r) ? r.map(
19010
- (S, N) => j(
19011
- bt(S, {
19016
+ (T, N) => j(
19017
+ bt(T, {
19012
19018
  key: N,
19013
19019
  rowData: h,
19014
- ...S.props
19020
+ ...T.props
19015
19021
  })
19016
19022
  )
19017
19023
  ) : j(
@@ -19040,11 +19046,11 @@ const mh = ({
19040
19046
  }
19041
19047
  ) }),
19042
19048
  e.map((h, j) => /* @__PURE__ */ t.jsxs("tr", { children: [
19043
- x.map((S, N) => /* @__PURE__ */ t.jsx(
19049
+ x.map((T, N) => /* @__PURE__ */ t.jsx(
19044
19050
  "td",
19045
19051
  {
19046
19052
  style: { textAlign: u, fontSize: p },
19047
- children: h[S]
19053
+ children: h[T]
19048
19054
  },
19049
19055
  N
19050
19056
  )),
@@ -19101,12 +19107,12 @@ const yh = ({
19101
19107
  widthOptions: v,
19102
19108
  fontSizeOptions: h,
19103
19109
  dataKeysNotToRender: j = [],
19104
- nameOfKeyState: S = "Estado",
19110
+ nameOfKeyState: T = "Estado",
19105
19111
  texAlignTHead: N = "start",
19106
- textAlignTBody: T = "start",
19112
+ textAlignTBody: C = "start",
19107
19113
  fontSizeState: k,
19108
19114
  heightStates: w = "18px",
19109
- heightTd: E = "30px",
19115
+ heightTd: D = "30px",
19110
19116
  fontStyleTBody: F = "normal",
19111
19117
  fontStyleTHead: Y = "normal"
19112
19118
  }) => {
@@ -19114,7 +19120,7 @@ const yh = ({
19114
19120
  r(L);
19115
19121
  }, f = (e == null ? void 0 : e.length) > 0 ? Object.keys(e[0]).filter(
19116
19122
  (L) => L !== "options" && !j.includes(L)
19117
- ) : [], W = (L) => L !== "Inactivo" ? "#8598ad" : "#7c7c7c";
19123
+ ) : [], _ = (L) => L !== "Inactivo" ? "#8598ad" : "#7c7c7c";
19118
19124
  return /* @__PURE__ */ t.jsxs(
19119
19125
  "table",
19120
19126
  {
@@ -19167,16 +19173,16 @@ const yh = ({
19167
19173
  {
19168
19174
  style: {
19169
19175
  fontSize: x,
19170
- textAlign: T,
19171
- color: q !== S ? W(L.Estado) : "black",
19172
- height: E,
19176
+ textAlign: C,
19177
+ color: q !== T ? _(L.Estado) : "black",
19178
+ height: D,
19173
19179
  fontStyle: F
19174
19180
  },
19175
- children: q === S ? cr(
19181
+ children: q === T ? cr(
19176
19182
  L[q],
19177
19183
  g,
19178
19184
  k,
19179
- T === "center",
19185
+ C === "center",
19180
19186
  w
19181
19187
  ) : L[q]
19182
19188
  },
@@ -19187,7 +19193,7 @@ const yh = ({
19187
19193
  {
19188
19194
  style: {
19189
19195
  overflow: "visible",
19190
- height: E,
19196
+ height: D,
19191
19197
  fontStyle: F
19192
19198
  },
19193
19199
  children: /* @__PURE__ */ t.jsx(
@@ -19202,7 +19208,7 @@ const yh = ({
19202
19208
  }
19203
19209
  )
19204
19210
  }
19205
- ) : /* @__PURE__ */ t.jsx("td", { style: { height: E, fontStyle: F }, children: /* @__PURE__ */ t.jsxs("div", { className: "action-icon", children: [
19211
+ ) : /* @__PURE__ */ t.jsx("td", { style: { height: D, fontStyle: F }, children: /* @__PURE__ */ t.jsxs("div", { className: "action-icon", children: [
19206
19212
  o && /* @__PURE__ */ t.jsx(
19207
19213
  "button",
19208
19214
  {
@@ -19210,7 +19216,7 @@ const yh = ({
19210
19216
  onClick: () => B(L),
19211
19217
  style: {
19212
19218
  fontSize: x,
19213
- textAlign: T,
19219
+ textAlign: C,
19214
19220
  fontStyle: F
19215
19221
  },
19216
19222
  children: o
@@ -19756,9 +19762,9 @@ const zh = (e = []) => {
19756
19762
  },
19757
19763
  onMouseEnter: () => g(!0),
19758
19764
  onMouseLeave: (h) => {
19759
- var S;
19765
+ var T;
19760
19766
  const j = h.relatedTarget;
19761
- j && typeof j.closest == "function" && ((S = c.current) != null && S.contains(j)) || g(!1);
19767
+ j && typeof j.closest == "function" && ((T = c.current) != null && T.contains(j)) || g(!1);
19762
19768
  },
19763
19769
  children: e
19764
19770
  }