@dipusevilla/componentes-iu 1.0.36 → 1.0.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -63,9 +63,9 @@ function On() {
63
63
  return "StrictMode";
64
64
  case F:
65
65
  return "Suspense";
66
- case U:
66
+ case P:
67
67
  return "SuspenseList";
68
- case O:
68
+ case M:
69
69
  return "Activity";
70
70
  }
71
71
  if (typeof j == "object")
@@ -78,7 +78,7 @@ function On() {
78
78
  return (j.displayName || "Context") + ".Provider";
79
79
  case g:
80
80
  return (j._context.displayName || "Context") + ".Consumer";
81
- case $:
81
+ case O:
82
82
  var k = j.render;
83
83
  return j = j.displayName, j || (j = k.displayName || k.name || "", j = j !== "" ? "ForwardRef(" + j + ")" : "ForwardRef"), j;
84
84
  case q:
@@ -124,14 +124,14 @@ function On() {
124
124
  }
125
125
  }
126
126
  function n() {
127
- var j = B.A;
127
+ var j = U.A;
128
128
  return j === null ? null : j.getOwner();
129
129
  }
130
130
  function a() {
131
131
  return Error("react-stack-top-frame");
132
132
  }
133
133
  function o(j) {
134
- if (M.call(j, "key")) {
134
+ if ($.call(j, "key")) {
135
135
  var k = Object.getOwnPropertyDescriptor(j, "key").get;
136
136
  if (k && k.isReactWarning) return !1;
137
137
  }
@@ -155,7 +155,7 @@ function On() {
155
155
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
156
156
  )), j = this.props.ref, j !== void 0 ? j : null;
157
157
  }
158
- function d(j, k, C, D, Q, re, ue, se) {
158
+ function u(j, k, C, D, Q, re, ue, se) {
159
159
  return C = re.ref, j = {
160
160
  $$typeof: y,
161
161
  type: j,
@@ -187,7 +187,7 @@ function On() {
187
187
  value: se
188
188
  }), Object.freeze && (Object.freeze(j.props), Object.freeze(j)), j;
189
189
  }
190
- function u(j, k, C, D, Q, re, ue, se) {
190
+ function d(j, k, C, D, Q, re, ue, se) {
191
191
  var oe = k.children;
192
192
  if (oe !== void 0)
193
193
  if (D)
@@ -200,7 +200,7 @@ function On() {
200
200
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
201
201
  );
202
202
  else p(oe);
203
- if (M.call(k, "key")) {
203
+ if ($.call(k, "key")) {
204
204
  oe = r(j);
205
205
  var xe = Object.keys(k).filter(function(te) {
206
206
  return te !== "key";
@@ -226,7 +226,7 @@ React keys must be passed directly to JSX without using spread:
226
226
  return oe && l(
227
227
  C,
228
228
  typeof j == "function" ? j.displayName || j.name || "Unknown" : j
229
- ), d(
229
+ ), u(
230
230
  j,
231
231
  oe,
232
232
  re,
@@ -240,7 +240,7 @@ React keys must be passed directly to JSX without using spread:
240
240
  function p(j) {
241
241
  typeof j == "object" && j !== null && j.$$typeof === y && j._store && (j._store.validated = 1);
242
242
  }
243
- var m = ne, y = Symbol.for("react.transitional.element"), x = Symbol.for("react.portal"), w = Symbol.for("react.fragment"), _ = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), g = Symbol.for("react.consumer"), S = Symbol.for("react.context"), $ = Symbol.for("react.forward_ref"), F = Symbol.for("react.suspense"), U = Symbol.for("react.suspense_list"), q = Symbol.for("react.memo"), N = Symbol.for("react.lazy"), O = Symbol.for("react.activity"), J = Symbol.for("react.client.reference"), B = m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, M = Object.prototype.hasOwnProperty, Y = Array.isArray, K = console.createTask ? console.createTask : function() {
243
+ var m = ne, y = Symbol.for("react.transitional.element"), x = Symbol.for("react.portal"), w = Symbol.for("react.fragment"), _ = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), g = Symbol.for("react.consumer"), S = Symbol.for("react.context"), O = Symbol.for("react.forward_ref"), F = Symbol.for("react.suspense"), P = Symbol.for("react.suspense_list"), q = Symbol.for("react.memo"), N = Symbol.for("react.lazy"), M = Symbol.for("react.activity"), J = Symbol.for("react.client.reference"), U = m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, $ = Object.prototype.hasOwnProperty, Y = Array.isArray, K = console.createTask ? console.createTask : function() {
244
244
  return null;
245
245
  };
246
246
  m = {
@@ -253,8 +253,8 @@ React keys must be passed directly to JSX without using spread:
253
253
  a
254
254
  )(), h = K(s(a)), Z = {};
255
255
  ht.Fragment = w, ht.jsx = function(j, k, C, D, Q) {
256
- var re = 1e4 > B.recentlyCreatedOwnerStacks++;
257
- return u(
256
+ var re = 1e4 > U.recentlyCreatedOwnerStacks++;
257
+ return d(
258
258
  j,
259
259
  k,
260
260
  C,
@@ -265,8 +265,8 @@ React keys must be passed directly to JSX without using spread:
265
265
  re ? K(s(j)) : h
266
266
  );
267
267
  }, ht.jsxs = function(j, k, C, D, Q) {
268
- var re = 1e4 > B.recentlyCreatedOwnerStacks++;
269
- return u(
268
+ var re = 1e4 > U.recentlyCreatedOwnerStacks++;
269
+ return d(
270
270
  j,
271
271
  k,
272
272
  C,
@@ -304,7 +304,7 @@ const Vn = {
304
304
  xl: "w-10 h-10",
305
305
  full: "w-full h-full"
306
306
  };
307
- function Be({
307
+ function Ue({
308
308
  component: r,
309
309
  size: e = "sm",
310
310
  className: t,
@@ -348,15 +348,15 @@ function He({
348
348
  iconPosition: o = "left",
349
349
  ariaLabel: l,
350
350
  children: c,
351
- onClick: d,
352
- className: u
351
+ onClick: u,
352
+ className: d
353
353
  }) {
354
354
  const p = !!a, m = p && !c, y = m ? In[t] : Dn[t];
355
355
  return /* @__PURE__ */ i.jsxs(
356
356
  "button",
357
357
  {
358
358
  type: r,
359
- onClick: d,
359
+ onClick: u,
360
360
  disabled: n,
361
361
  "aria-label": m ? l : void 0,
362
362
  style: s ? { width: s } : void 0,
@@ -365,13 +365,13 @@ function He({
365
365
  Mn[e],
366
366
  y,
367
367
  Ln,
368
- u,
368
+ d,
369
369
  p && c && "gap-2"
370
370
  ),
371
371
  children: [
372
- a && o === "left" && /* @__PURE__ */ i.jsx(Be, { component: a, size: t }),
372
+ a && o === "left" && /* @__PURE__ */ i.jsx(Ue, { component: a, size: t }),
373
373
  c,
374
- a && o === "right" && /* @__PURE__ */ i.jsx(Be, { component: a, size: t })
374
+ a && o === "right" && /* @__PURE__ */ i.jsx(Ue, { component: a, size: t })
375
375
  ]
376
376
  }
377
377
  );
@@ -400,7 +400,7 @@ function Pn({
400
400
  }));
401
401
  }
402
402
  const zn = /* @__PURE__ */ G.forwardRef(Pn);
403
- function Un({
403
+ function Bn({
404
404
  title: r,
405
405
  titleId: e,
406
406
  ...t
@@ -423,8 +423,8 @@ function Un({
423
423
  d: "m19.5 8.25-7.5 7.5-7.5-7.5"
424
424
  }));
425
425
  }
426
- const wr = /* @__PURE__ */ G.forwardRef(Un);
427
- function Bn({
426
+ const wr = /* @__PURE__ */ G.forwardRef(Bn);
427
+ function Un({
428
428
  title: r,
429
429
  titleId: e,
430
430
  ...t
@@ -447,7 +447,7 @@ function Bn({
447
447
  d: "m8.25 4.5 7.5 7.5-7.5 7.5"
448
448
  }));
449
449
  }
450
- const Zn = /* @__PURE__ */ G.forwardRef(Bn);
450
+ const Zn = /* @__PURE__ */ G.forwardRef(Un);
451
451
  function Wn({
452
452
  title: r,
453
453
  titleId: e,
@@ -726,13 +726,13 @@ function Lr({
726
726
  contentClassName: a,
727
727
  headerClassName: o
728
728
  }) {
729
- const [l, c] = ae(t), d = ke(null), [u, p] = ae(0), m = () => {
730
- d.current && p(d.current.scrollHeight);
729
+ const [l, c] = ae(t), u = ke(null), [d, p] = ae(0), m = () => {
730
+ u.current && p(u.current.scrollHeight);
731
731
  };
732
732
  Ns(() => {
733
733
  m();
734
734
  }, [l]), de(() => {
735
- const x = d.current;
735
+ const x = u.current;
736
736
  if (!x) return;
737
737
  const w = new ResizeObserver(() => m());
738
738
  return w.observe(x), () => w.disconnect();
@@ -766,11 +766,11 @@ function Lr({
766
766
  "overflow-hidden transition-all duration-300 ease-in-out",
767
767
  l ? "opacity-100" : "opacity-0"
768
768
  ),
769
- style: { maxHeight: l ? `${u}px` : "0px" },
769
+ style: { maxHeight: l ? `${d}px` : "0px" },
770
770
  children: /* @__PURE__ */ i.jsx(
771
771
  "div",
772
772
  {
773
- ref: d,
773
+ ref: u,
774
774
  className: I(y.padY, a),
775
775
  children: e
776
776
  }
@@ -885,7 +885,7 @@ const jr = "-", ca = (r) => {
885
885
  } = r;
886
886
  let s = (n) => {
887
887
  const a = [];
888
- let o = 0, l = 0, c = 0, d;
888
+ let o = 0, l = 0, c = 0, u;
889
889
  for (let x = 0; x < n.length; x++) {
890
890
  let w = n[x];
891
891
  if (o === 0 && l === 0) {
@@ -894,13 +894,13 @@ const jr = "-", ca = (r) => {
894
894
  continue;
895
895
  }
896
896
  if (w === "/") {
897
- d = x;
897
+ u = x;
898
898
  continue;
899
899
  }
900
900
  }
901
901
  w === "[" ? o++ : w === "]" ? o-- : w === "(" ? l++ : w === ")" && l--;
902
902
  }
903
- const u = a.length === 0 ? n : n.substring(c), p = xa(u), m = p !== u, y = d && d > c ? d - c : void 0;
903
+ const d = a.length === 0 ? n : n.substring(c), p = xa(d), m = p !== d, y = u && u > c ? u - c : void 0;
904
904
  return {
905
905
  modifiers: a,
906
906
  hasImportantModifier: m,
@@ -950,40 +950,40 @@ const jr = "-", ca = (r) => {
950
950
  sortModifiers: a
951
951
  } = e, o = [], l = r.trim().split(ya);
952
952
  let c = "";
953
- for (let d = l.length - 1; d >= 0; d -= 1) {
954
- const u = l[d], {
953
+ for (let u = l.length - 1; u >= 0; u -= 1) {
954
+ const d = l[u], {
955
955
  isExternal: p,
956
956
  modifiers: m,
957
957
  hasImportantModifier: y,
958
958
  baseClassName: x,
959
959
  maybePostfixModifierPosition: w
960
- } = t(u);
960
+ } = t(d);
961
961
  if (p) {
962
- c = u + (c.length > 0 ? " " + c : c);
962
+ c = d + (c.length > 0 ? " " + c : c);
963
963
  continue;
964
964
  }
965
965
  let _ = !!w, v = s(_ ? x.substring(0, w) : x);
966
966
  if (!v) {
967
967
  if (!_) {
968
- c = u + (c.length > 0 ? " " + c : c);
968
+ c = d + (c.length > 0 ? " " + c : c);
969
969
  continue;
970
970
  }
971
971
  if (v = s(x), !v) {
972
- c = u + (c.length > 0 ? " " + c : c);
972
+ c = d + (c.length > 0 ? " " + c : c);
973
973
  continue;
974
974
  }
975
975
  _ = !1;
976
976
  }
977
- const g = a(m).join(":"), S = y ? g + lr : g, $ = S + v;
978
- if (o.includes($))
977
+ const g = a(m).join(":"), S = y ? g + lr : g, O = S + v;
978
+ if (o.includes(O))
979
979
  continue;
980
- o.push($);
980
+ o.push(O);
981
981
  const F = n(v, _);
982
- for (let U = 0; U < F.length; ++U) {
983
- const q = F[U];
982
+ for (let P = 0; P < F.length; ++P) {
983
+ const q = F[P];
984
984
  o.push(S + q);
985
985
  }
986
- c = u + (c.length > 0 ? " " + c : c);
986
+ c = d + (c.length > 0 ? " " + c : c);
987
987
  }
988
988
  return c;
989
989
  };
@@ -1004,15 +1004,15 @@ const As = (r) => {
1004
1004
  function ka(r, ...e) {
1005
1005
  let t, s, n, a = o;
1006
1006
  function o(c) {
1007
- const d = e.reduce((u, p) => p(u), r());
1008
- return t = ba(d), s = t.cache.get, n = t.cache.set, a = l, l(c);
1007
+ const u = e.reduce((d, p) => p(d), r());
1008
+ return t = ba(u), s = t.cache.get, n = t.cache.set, a = l, l(c);
1009
1009
  }
1010
1010
  function l(c) {
1011
- const d = s(c);
1012
- if (d)
1013
- return d;
1014
- const u = va(c, t);
1015
- return n(c, u), u;
1011
+ const u = s(c);
1012
+ if (u)
1013
+ return u;
1014
+ const d = va(c, t);
1015
+ return n(c, d), d;
1016
1016
  }
1017
1017
  return function() {
1018
1018
  return a(wa.apply(null, arguments));
@@ -1026,14 +1026,14 @@ const ge = (r) => {
1026
1026
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
1027
1027
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
1028
1028
  Na.test(r) && !_a.test(r)
1029
- ), Rs = () => !1, Ca = (r) => Fa.test(r), Oa = (r) => Sa.test(r), Ra = (r) => !P(r) && !z(r), Va = (r) => lt(r, Ms, Rs), P = (r) => Cs.test(r), Xe = (r) => lt(r, Ds, Aa), Qt = (r) => lt(r, La, ee), Ur = (r) => lt(r, Vs, Rs), $a = (r) => lt(r, $s, Oa), Nt = (r) => lt(r, Is, Ca), z = (r) => Os.test(r), mt = (r) => ct(r, Ds), Ma = (r) => ct(r, Pa), Br = (r) => ct(r, Vs), Da = (r) => ct(r, Ms), Ia = (r) => ct(r, $s), _t = (r) => ct(r, Is, !0), lt = (r, e, t) => {
1029
+ ), Rs = () => !1, Ca = (r) => Fa.test(r), Oa = (r) => Sa.test(r), Ra = (r) => !z(r) && !B(r), Va = (r) => lt(r, Ms, Rs), z = (r) => Cs.test(r), Xe = (r) => lt(r, Ds, Aa), Qt = (r) => lt(r, La, ee), Br = (r) => lt(r, Vs, Rs), $a = (r) => lt(r, $s, Oa), Nt = (r) => lt(r, Is, Ca), B = (r) => Os.test(r), mt = (r) => ct(r, Ds), Ma = (r) => ct(r, Pa), Ur = (r) => ct(r, Vs), Da = (r) => ct(r, Ms), Ia = (r) => ct(r, $s), _t = (r) => ct(r, Is, !0), lt = (r, e, t) => {
1030
1030
  const s = Cs.exec(r);
1031
1031
  return s ? s[1] ? e(s[1]) : t(s[2]) : !1;
1032
1032
  }, ct = (r, e, t = !1) => {
1033
1033
  const s = Os.exec(r);
1034
1034
  return s ? s[1] ? e(s[1]) : t : !1;
1035
1035
  }, Vs = (r) => r === "position" || r === "percentage", $s = (r) => r === "image" || r === "url", Ms = (r) => r === "length" || r === "size" || r === "bg-size", Ds = (r) => r === "length", La = (r) => r === "number", Pa = (r) => r === "family-name", Is = (r) => r === "shadow", za = () => {
1036
- const r = ge("color"), e = ge("font"), t = ge("text"), s = ge("font-weight"), n = ge("tracking"), a = ge("leading"), o = ge("breakpoint"), l = ge("container"), c = ge("spacing"), d = ge("radius"), u = ge("shadow"), p = ge("inset-shadow"), m = ge("text-shadow"), y = ge("drop-shadow"), x = ge("blur"), w = ge("perspective"), _ = ge("aspect"), v = ge("ease"), g = ge("animate"), S = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], $ = () => [
1036
+ const r = ge("color"), e = ge("font"), t = ge("text"), s = ge("font-weight"), n = ge("tracking"), a = ge("leading"), o = ge("breakpoint"), l = ge("container"), c = ge("spacing"), u = ge("radius"), d = ge("shadow"), p = ge("inset-shadow"), m = ge("text-shadow"), y = ge("drop-shadow"), x = ge("blur"), w = ge("perspective"), _ = ge("aspect"), v = ge("ease"), g = ge("animate"), S = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], O = () => [
1037
1037
  "center",
1038
1038
  "top",
1039
1039
  "bottom",
@@ -1051,30 +1051,30 @@ const ge = (r) => {
1051
1051
  "bottom-left",
1052
1052
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
1053
1053
  "left-bottom"
1054
- ], F = () => [...$(), z, P], U = () => ["auto", "hidden", "clip", "visible", "scroll"], q = () => ["auto", "contain", "none"], N = () => [z, P, c], O = () => [rt, "full", "auto", ...N()], J = () => [qe, "none", "subgrid", z, P], B = () => ["auto", {
1055
- span: ["full", qe, z, P]
1056
- }, qe, z, P], M = () => [qe, "auto", z, P], Y = () => ["auto", "min", "max", "fr", z, P], K = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], W = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], H = () => ["auto", ...N()], A = () => [rt, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...N()], h = () => [r, z, P], Z = () => [...$(), Br, Ur, {
1057
- position: [z, P]
1054
+ ], F = () => [...O(), B, z], P = () => ["auto", "hidden", "clip", "visible", "scroll"], q = () => ["auto", "contain", "none"], N = () => [B, z, c], M = () => [rt, "full", "auto", ...N()], J = () => [qe, "none", "subgrid", B, z], U = () => ["auto", {
1055
+ span: ["full", qe, B, z]
1056
+ }, qe, B, z], $ = () => [qe, "auto", B, z], Y = () => ["auto", "min", "max", "fr", B, z], K = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], W = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], H = () => ["auto", ...N()], A = () => [rt, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...N()], h = () => [r, B, z], Z = () => [...O(), Ur, Br, {
1057
+ position: [B, z]
1058
1058
  }], j = () => ["no-repeat", {
1059
1059
  repeat: ["", "x", "y", "space", "round"]
1060
1060
  }], k = () => ["auto", "cover", "contain", Da, Va, {
1061
- size: [z, P]
1061
+ size: [B, z]
1062
1062
  }], C = () => [Jt, mt, Xe], D = () => [
1063
1063
  // Deprecated since Tailwind CSS v4.0.0
1064
1064
  "",
1065
1065
  "none",
1066
1066
  "full",
1067
- d,
1068
- z,
1069
- P
1070
- ], Q = () => ["", ee, mt, Xe], re = () => ["solid", "dashed", "dotted", "double"], ue = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], se = () => [ee, Jt, Br, Ur], oe = () => [
1067
+ u,
1068
+ B,
1069
+ z
1070
+ ], Q = () => ["", ee, mt, Xe], re = () => ["solid", "dashed", "dotted", "double"], ue = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], se = () => [ee, Jt, Ur, Br], oe = () => [
1071
1071
  // Deprecated since Tailwind CSS v4.0.0
1072
1072
  "",
1073
1073
  "none",
1074
1074
  x,
1075
- z,
1076
- P
1077
- ], xe = () => ["none", ee, z, P], ye = () => ["none", ee, z, P], te = () => [ee, z, P], fe = () => [rt, "full", ...N()];
1075
+ B,
1076
+ z
1077
+ ], xe = () => ["none", ee, B, z], ye = () => ["none", ee, B, z], te = () => [ee, B, z], fe = () => [rt, "full", ...N()];
1078
1078
  return {
1079
1079
  cacheSize: 500,
1080
1080
  theme: {
@@ -1107,7 +1107,7 @@ const ge = (r) => {
1107
1107
  * @see https://tailwindcss.com/docs/aspect-ratio
1108
1108
  */
1109
1109
  aspect: [{
1110
- aspect: ["auto", "square", rt, P, z, _]
1110
+ aspect: ["auto", "square", rt, z, B, _]
1111
1111
  }],
1112
1112
  /**
1113
1113
  * Container
@@ -1120,7 +1120,7 @@ const ge = (r) => {
1120
1120
  * @see https://tailwindcss.com/docs/columns
1121
1121
  */
1122
1122
  columns: [{
1123
- columns: [ee, P, z, l]
1123
+ columns: [ee, z, B, l]
1124
1124
  }],
1125
1125
  /**
1126
1126
  * Break After
@@ -1205,21 +1205,21 @@ const ge = (r) => {
1205
1205
  * @see https://tailwindcss.com/docs/overflow
1206
1206
  */
1207
1207
  overflow: [{
1208
- overflow: U()
1208
+ overflow: P()
1209
1209
  }],
1210
1210
  /**
1211
1211
  * Overflow X
1212
1212
  * @see https://tailwindcss.com/docs/overflow
1213
1213
  */
1214
1214
  "overflow-x": [{
1215
- "overflow-x": U()
1215
+ "overflow-x": P()
1216
1216
  }],
1217
1217
  /**
1218
1218
  * Overflow Y
1219
1219
  * @see https://tailwindcss.com/docs/overflow
1220
1220
  */
1221
1221
  "overflow-y": [{
1222
- "overflow-y": U()
1222
+ "overflow-y": P()
1223
1223
  }],
1224
1224
  /**
1225
1225
  * Overscroll Behavior
@@ -1252,63 +1252,63 @@ const ge = (r) => {
1252
1252
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1253
1253
  */
1254
1254
  inset: [{
1255
- inset: O()
1255
+ inset: M()
1256
1256
  }],
1257
1257
  /**
1258
1258
  * Right / Left
1259
1259
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1260
1260
  */
1261
1261
  "inset-x": [{
1262
- "inset-x": O()
1262
+ "inset-x": M()
1263
1263
  }],
1264
1264
  /**
1265
1265
  * Top / Bottom
1266
1266
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1267
1267
  */
1268
1268
  "inset-y": [{
1269
- "inset-y": O()
1269
+ "inset-y": M()
1270
1270
  }],
1271
1271
  /**
1272
1272
  * Start
1273
1273
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1274
1274
  */
1275
1275
  start: [{
1276
- start: O()
1276
+ start: M()
1277
1277
  }],
1278
1278
  /**
1279
1279
  * End
1280
1280
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1281
1281
  */
1282
1282
  end: [{
1283
- end: O()
1283
+ end: M()
1284
1284
  }],
1285
1285
  /**
1286
1286
  * Top
1287
1287
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1288
1288
  */
1289
1289
  top: [{
1290
- top: O()
1290
+ top: M()
1291
1291
  }],
1292
1292
  /**
1293
1293
  * Right
1294
1294
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1295
1295
  */
1296
1296
  right: [{
1297
- right: O()
1297
+ right: M()
1298
1298
  }],
1299
1299
  /**
1300
1300
  * Bottom
1301
1301
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1302
1302
  */
1303
1303
  bottom: [{
1304
- bottom: O()
1304
+ bottom: M()
1305
1305
  }],
1306
1306
  /**
1307
1307
  * Left
1308
1308
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1309
1309
  */
1310
1310
  left: [{
1311
- left: O()
1311
+ left: M()
1312
1312
  }],
1313
1313
  /**
1314
1314
  * Visibility
@@ -1320,7 +1320,7 @@ const ge = (r) => {
1320
1320
  * @see https://tailwindcss.com/docs/z-index
1321
1321
  */
1322
1322
  z: [{
1323
- z: [qe, "auto", z, P]
1323
+ z: [qe, "auto", B, z]
1324
1324
  }],
1325
1325
  // ------------------------
1326
1326
  // --- Flexbox and Grid ---
@@ -1351,28 +1351,28 @@ const ge = (r) => {
1351
1351
  * @see https://tailwindcss.com/docs/flex
1352
1352
  */
1353
1353
  flex: [{
1354
- flex: [ee, rt, "auto", "initial", "none", P]
1354
+ flex: [ee, rt, "auto", "initial", "none", z]
1355
1355
  }],
1356
1356
  /**
1357
1357
  * Flex Grow
1358
1358
  * @see https://tailwindcss.com/docs/flex-grow
1359
1359
  */
1360
1360
  grow: [{
1361
- grow: ["", ee, z, P]
1361
+ grow: ["", ee, B, z]
1362
1362
  }],
1363
1363
  /**
1364
1364
  * Flex Shrink
1365
1365
  * @see https://tailwindcss.com/docs/flex-shrink
1366
1366
  */
1367
1367
  shrink: [{
1368
- shrink: ["", ee, z, P]
1368
+ shrink: ["", ee, B, z]
1369
1369
  }],
1370
1370
  /**
1371
1371
  * Order
1372
1372
  * @see https://tailwindcss.com/docs/order
1373
1373
  */
1374
1374
  order: [{
1375
- order: [qe, "first", "last", "none", z, P]
1375
+ order: [qe, "first", "last", "none", B, z]
1376
1376
  }],
1377
1377
  /**
1378
1378
  * Grid Template Columns
@@ -1386,21 +1386,21 @@ const ge = (r) => {
1386
1386
  * @see https://tailwindcss.com/docs/grid-column
1387
1387
  */
1388
1388
  "col-start-end": [{
1389
- col: B()
1389
+ col: U()
1390
1390
  }],
1391
1391
  /**
1392
1392
  * Grid Column Start
1393
1393
  * @see https://tailwindcss.com/docs/grid-column
1394
1394
  */
1395
1395
  "col-start": [{
1396
- "col-start": M()
1396
+ "col-start": $()
1397
1397
  }],
1398
1398
  /**
1399
1399
  * Grid Column End
1400
1400
  * @see https://tailwindcss.com/docs/grid-column
1401
1401
  */
1402
1402
  "col-end": [{
1403
- "col-end": M()
1403
+ "col-end": $()
1404
1404
  }],
1405
1405
  /**
1406
1406
  * Grid Template Rows
@@ -1414,21 +1414,21 @@ const ge = (r) => {
1414
1414
  * @see https://tailwindcss.com/docs/grid-row
1415
1415
  */
1416
1416
  "row-start-end": [{
1417
- row: B()
1417
+ row: U()
1418
1418
  }],
1419
1419
  /**
1420
1420
  * Grid Row Start
1421
1421
  * @see https://tailwindcss.com/docs/grid-row
1422
1422
  */
1423
1423
  "row-start": [{
1424
- "row-start": M()
1424
+ "row-start": $()
1425
1425
  }],
1426
1426
  /**
1427
1427
  * Grid Row End
1428
1428
  * @see https://tailwindcss.com/docs/grid-row
1429
1429
  */
1430
1430
  "row-end": [{
1431
- "row-end": M()
1431
+ "row-end": $()
1432
1432
  }],
1433
1433
  /**
1434
1434
  * Grid Auto Flow
@@ -1784,21 +1784,21 @@ const ge = (r) => {
1784
1784
  * @see https://tailwindcss.com/docs/font-weight
1785
1785
  */
1786
1786
  "font-weight": [{
1787
- font: [s, z, Qt]
1787
+ font: [s, B, Qt]
1788
1788
  }],
1789
1789
  /**
1790
1790
  * Font Stretch
1791
1791
  * @see https://tailwindcss.com/docs/font-stretch
1792
1792
  */
1793
1793
  "font-stretch": [{
1794
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Jt, P]
1794
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Jt, z]
1795
1795
  }],
1796
1796
  /**
1797
1797
  * Font Family
1798
1798
  * @see https://tailwindcss.com/docs/font-family
1799
1799
  */
1800
1800
  "font-family": [{
1801
- font: [Ma, P, e]
1801
+ font: [Ma, z, e]
1802
1802
  }],
1803
1803
  /**
1804
1804
  * Font Variant Numeric
@@ -1835,14 +1835,14 @@ const ge = (r) => {
1835
1835
  * @see https://tailwindcss.com/docs/letter-spacing
1836
1836
  */
1837
1837
  tracking: [{
1838
- tracking: [n, z, P]
1838
+ tracking: [n, B, z]
1839
1839
  }],
1840
1840
  /**
1841
1841
  * Line Clamp
1842
1842
  * @see https://tailwindcss.com/docs/line-clamp
1843
1843
  */
1844
1844
  "line-clamp": [{
1845
- "line-clamp": [ee, "none", z, Qt]
1845
+ "line-clamp": [ee, "none", B, Qt]
1846
1846
  }],
1847
1847
  /**
1848
1848
  * Line Height
@@ -1860,7 +1860,7 @@ const ge = (r) => {
1860
1860
  * @see https://tailwindcss.com/docs/list-style-image
1861
1861
  */
1862
1862
  "list-image": [{
1863
- "list-image": ["none", z, P]
1863
+ "list-image": ["none", B, z]
1864
1864
  }],
1865
1865
  /**
1866
1866
  * List Style Position
@@ -1874,7 +1874,7 @@ const ge = (r) => {
1874
1874
  * @see https://tailwindcss.com/docs/list-style-type
1875
1875
  */
1876
1876
  "list-style-type": [{
1877
- list: ["disc", "decimal", "none", z, P]
1877
+ list: ["disc", "decimal", "none", B, z]
1878
1878
  }],
1879
1879
  /**
1880
1880
  * Text Alignment
@@ -1915,7 +1915,7 @@ const ge = (r) => {
1915
1915
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1916
1916
  */
1917
1917
  "text-decoration-thickness": [{
1918
- decoration: [ee, "from-font", "auto", z, Xe]
1918
+ decoration: [ee, "from-font", "auto", B, Xe]
1919
1919
  }],
1920
1920
  /**
1921
1921
  * Text Decoration Color
@@ -1929,7 +1929,7 @@ const ge = (r) => {
1929
1929
  * @see https://tailwindcss.com/docs/text-underline-offset
1930
1930
  */
1931
1931
  "underline-offset": [{
1932
- "underline-offset": [ee, "auto", z, P]
1932
+ "underline-offset": [ee, "auto", B, z]
1933
1933
  }],
1934
1934
  /**
1935
1935
  * Text Transform
@@ -1960,7 +1960,7 @@ const ge = (r) => {
1960
1960
  * @see https://tailwindcss.com/docs/vertical-align
1961
1961
  */
1962
1962
  "vertical-align": [{
1963
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", z, P]
1963
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", B, z]
1964
1964
  }],
1965
1965
  /**
1966
1966
  * Whitespace
@@ -1995,7 +1995,7 @@ const ge = (r) => {
1995
1995
  * @see https://tailwindcss.com/docs/content
1996
1996
  */
1997
1997
  content: [{
1998
- content: ["none", z, P]
1998
+ content: ["none", B, z]
1999
1999
  }],
2000
2000
  // -------------------
2001
2001
  // --- Backgrounds ---
@@ -2050,9 +2050,9 @@ const ge = (r) => {
2050
2050
  bg: ["none", {
2051
2051
  linear: [{
2052
2052
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
2053
- }, qe, z, P],
2054
- radial: ["", z, P],
2055
- conic: [qe, z, P]
2053
+ }, qe, B, z],
2054
+ radial: ["", B, z],
2055
+ conic: [qe, B, z]
2056
2056
  }, Ia, $a]
2057
2057
  }],
2058
2058
  /**
@@ -2395,7 +2395,7 @@ const ge = (r) => {
2395
2395
  * @see https://tailwindcss.com/docs/outline-offset
2396
2396
  */
2397
2397
  "outline-offset": [{
2398
- "outline-offset": [ee, z, P]
2398
+ "outline-offset": [ee, B, z]
2399
2399
  }],
2400
2400
  /**
2401
2401
  * Outline Width
@@ -2423,7 +2423,7 @@ const ge = (r) => {
2423
2423
  // Deprecated since Tailwind CSS v4.0.0
2424
2424
  "",
2425
2425
  "none",
2426
- u,
2426
+ d,
2427
2427
  _t,
2428
2428
  Nt
2429
2429
  ]
@@ -2521,7 +2521,7 @@ const ge = (r) => {
2521
2521
  * @see https://tailwindcss.com/docs/opacity
2522
2522
  */
2523
2523
  opacity: [{
2524
- opacity: [ee, z, P]
2524
+ opacity: [ee, B, z]
2525
2525
  }],
2526
2526
  /**
2527
2527
  * Mix Blend Mode
@@ -2643,7 +2643,7 @@ const ge = (r) => {
2643
2643
  "mask-y-to": h()
2644
2644
  }],
2645
2645
  "mask-image-radial": [{
2646
- "mask-radial": [z, P]
2646
+ "mask-radial": [B, z]
2647
2647
  }],
2648
2648
  "mask-image-radial-from-pos": [{
2649
2649
  "mask-radial-from": se()
@@ -2667,7 +2667,7 @@ const ge = (r) => {
2667
2667
  }]
2668
2668
  }],
2669
2669
  "mask-image-radial-pos": [{
2670
- "mask-radial-at": $()
2670
+ "mask-radial-at": O()
2671
2671
  }],
2672
2672
  "mask-image-conic-pos": [{
2673
2673
  "mask-conic": [ee]
@@ -2731,7 +2731,7 @@ const ge = (r) => {
2731
2731
  * @see https://tailwindcss.com/docs/mask-image
2732
2732
  */
2733
2733
  "mask-image": [{
2734
- mask: ["none", z, P]
2734
+ mask: ["none", B, z]
2735
2735
  }],
2736
2736
  // ---------------
2737
2737
  // --- Filters ---
@@ -2745,8 +2745,8 @@ const ge = (r) => {
2745
2745
  // Deprecated since Tailwind CSS v3.0.0
2746
2746
  "",
2747
2747
  "none",
2748
- z,
2749
- P
2748
+ B,
2749
+ z
2750
2750
  ]
2751
2751
  }],
2752
2752
  /**
@@ -2761,14 +2761,14 @@ const ge = (r) => {
2761
2761
  * @see https://tailwindcss.com/docs/brightness
2762
2762
  */
2763
2763
  brightness: [{
2764
- brightness: [ee, z, P]
2764
+ brightness: [ee, B, z]
2765
2765
  }],
2766
2766
  /**
2767
2767
  * Contrast
2768
2768
  * @see https://tailwindcss.com/docs/contrast
2769
2769
  */
2770
2770
  contrast: [{
2771
- contrast: [ee, z, P]
2771
+ contrast: [ee, B, z]
2772
2772
  }],
2773
2773
  /**
2774
2774
  * Drop Shadow
@@ -2796,35 +2796,35 @@ const ge = (r) => {
2796
2796
  * @see https://tailwindcss.com/docs/grayscale
2797
2797
  */
2798
2798
  grayscale: [{
2799
- grayscale: ["", ee, z, P]
2799
+ grayscale: ["", ee, B, z]
2800
2800
  }],
2801
2801
  /**
2802
2802
  * Hue Rotate
2803
2803
  * @see https://tailwindcss.com/docs/hue-rotate
2804
2804
  */
2805
2805
  "hue-rotate": [{
2806
- "hue-rotate": [ee, z, P]
2806
+ "hue-rotate": [ee, B, z]
2807
2807
  }],
2808
2808
  /**
2809
2809
  * Invert
2810
2810
  * @see https://tailwindcss.com/docs/invert
2811
2811
  */
2812
2812
  invert: [{
2813
- invert: ["", ee, z, P]
2813
+ invert: ["", ee, B, z]
2814
2814
  }],
2815
2815
  /**
2816
2816
  * Saturate
2817
2817
  * @see https://tailwindcss.com/docs/saturate
2818
2818
  */
2819
2819
  saturate: [{
2820
- saturate: [ee, z, P]
2820
+ saturate: [ee, B, z]
2821
2821
  }],
2822
2822
  /**
2823
2823
  * Sepia
2824
2824
  * @see https://tailwindcss.com/docs/sepia
2825
2825
  */
2826
2826
  sepia: [{
2827
- sepia: ["", ee, z, P]
2827
+ sepia: ["", ee, B, z]
2828
2828
  }],
2829
2829
  /**
2830
2830
  * Backdrop Filter
@@ -2835,8 +2835,8 @@ const ge = (r) => {
2835
2835
  // Deprecated since Tailwind CSS v3.0.0
2836
2836
  "",
2837
2837
  "none",
2838
- z,
2839
- P
2838
+ B,
2839
+ z
2840
2840
  ]
2841
2841
  }],
2842
2842
  /**
@@ -2851,56 +2851,56 @@ const ge = (r) => {
2851
2851
  * @see https://tailwindcss.com/docs/backdrop-brightness
2852
2852
  */
2853
2853
  "backdrop-brightness": [{
2854
- "backdrop-brightness": [ee, z, P]
2854
+ "backdrop-brightness": [ee, B, z]
2855
2855
  }],
2856
2856
  /**
2857
2857
  * Backdrop Contrast
2858
2858
  * @see https://tailwindcss.com/docs/backdrop-contrast
2859
2859
  */
2860
2860
  "backdrop-contrast": [{
2861
- "backdrop-contrast": [ee, z, P]
2861
+ "backdrop-contrast": [ee, B, z]
2862
2862
  }],
2863
2863
  /**
2864
2864
  * Backdrop Grayscale
2865
2865
  * @see https://tailwindcss.com/docs/backdrop-grayscale
2866
2866
  */
2867
2867
  "backdrop-grayscale": [{
2868
- "backdrop-grayscale": ["", ee, z, P]
2868
+ "backdrop-grayscale": ["", ee, B, z]
2869
2869
  }],
2870
2870
  /**
2871
2871
  * Backdrop Hue Rotate
2872
2872
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2873
2873
  */
2874
2874
  "backdrop-hue-rotate": [{
2875
- "backdrop-hue-rotate": [ee, z, P]
2875
+ "backdrop-hue-rotate": [ee, B, z]
2876
2876
  }],
2877
2877
  /**
2878
2878
  * Backdrop Invert
2879
2879
  * @see https://tailwindcss.com/docs/backdrop-invert
2880
2880
  */
2881
2881
  "backdrop-invert": [{
2882
- "backdrop-invert": ["", ee, z, P]
2882
+ "backdrop-invert": ["", ee, B, z]
2883
2883
  }],
2884
2884
  /**
2885
2885
  * Backdrop Opacity
2886
2886
  * @see https://tailwindcss.com/docs/backdrop-opacity
2887
2887
  */
2888
2888
  "backdrop-opacity": [{
2889
- "backdrop-opacity": [ee, z, P]
2889
+ "backdrop-opacity": [ee, B, z]
2890
2890
  }],
2891
2891
  /**
2892
2892
  * Backdrop Saturate
2893
2893
  * @see https://tailwindcss.com/docs/backdrop-saturate
2894
2894
  */
2895
2895
  "backdrop-saturate": [{
2896
- "backdrop-saturate": [ee, z, P]
2896
+ "backdrop-saturate": [ee, B, z]
2897
2897
  }],
2898
2898
  /**
2899
2899
  * Backdrop Sepia
2900
2900
  * @see https://tailwindcss.com/docs/backdrop-sepia
2901
2901
  */
2902
2902
  "backdrop-sepia": [{
2903
- "backdrop-sepia": ["", ee, z, P]
2903
+ "backdrop-sepia": ["", ee, B, z]
2904
2904
  }],
2905
2905
  // --------------
2906
2906
  // --- Tables ---
@@ -2955,7 +2955,7 @@ const ge = (r) => {
2955
2955
  * @see https://tailwindcss.com/docs/transition-property
2956
2956
  */
2957
2957
  transition: [{
2958
- transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", z, P]
2958
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", B, z]
2959
2959
  }],
2960
2960
  /**
2961
2961
  * Transition Behavior
@@ -2969,28 +2969,28 @@ const ge = (r) => {
2969
2969
  * @see https://tailwindcss.com/docs/transition-duration
2970
2970
  */
2971
2971
  duration: [{
2972
- duration: [ee, "initial", z, P]
2972
+ duration: [ee, "initial", B, z]
2973
2973
  }],
2974
2974
  /**
2975
2975
  * Transition Timing Function
2976
2976
  * @see https://tailwindcss.com/docs/transition-timing-function
2977
2977
  */
2978
2978
  ease: [{
2979
- ease: ["linear", "initial", v, z, P]
2979
+ ease: ["linear", "initial", v, B, z]
2980
2980
  }],
2981
2981
  /**
2982
2982
  * Transition Delay
2983
2983
  * @see https://tailwindcss.com/docs/transition-delay
2984
2984
  */
2985
2985
  delay: [{
2986
- delay: [ee, z, P]
2986
+ delay: [ee, B, z]
2987
2987
  }],
2988
2988
  /**
2989
2989
  * Animation
2990
2990
  * @see https://tailwindcss.com/docs/animation
2991
2991
  */
2992
2992
  animate: [{
2993
- animate: ["none", g, z, P]
2993
+ animate: ["none", g, B, z]
2994
2994
  }],
2995
2995
  // ------------------
2996
2996
  // --- Transforms ---
@@ -3007,7 +3007,7 @@ const ge = (r) => {
3007
3007
  * @see https://tailwindcss.com/docs/perspective
3008
3008
  */
3009
3009
  perspective: [{
3010
- perspective: [w, z, P]
3010
+ perspective: [w, B, z]
3011
3011
  }],
3012
3012
  /**
3013
3013
  * Perspective Origin
@@ -3103,7 +3103,7 @@ const ge = (r) => {
3103
3103
  * @see https://tailwindcss.com/docs/transform
3104
3104
  */
3105
3105
  transform: [{
3106
- transform: [z, P, "", "none", "gpu", "cpu"]
3106
+ transform: [B, z, "", "none", "gpu", "cpu"]
3107
3107
  }],
3108
3108
  /**
3109
3109
  * Transform Origin
@@ -3188,7 +3188,7 @@ const ge = (r) => {
3188
3188
  * @see https://tailwindcss.com/docs/cursor
3189
3189
  */
3190
3190
  cursor: [{
3191
- cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", z, P]
3191
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", B, z]
3192
3192
  }],
3193
3193
  /**
3194
3194
  * Field Sizing
@@ -3410,7 +3410,7 @@ const ge = (r) => {
3410
3410
  * @see https://tailwindcss.com/docs/will-change
3411
3411
  */
3412
3412
  "will-change": [{
3413
- "will-change": ["auto", "scroll", "contents", "transform", z, P]
3413
+ "will-change": ["auto", "scroll", "contents", "transform", B, z]
3414
3414
  }],
3415
3415
  // -----------
3416
3416
  // --- SVG ---
@@ -3502,10 +3502,10 @@ const ge = (r) => {
3502
3502
  },
3503
3503
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3504
3504
  };
3505
- }, Ua = /* @__PURE__ */ ka(za);
3505
+ }, Ba = /* @__PURE__ */ ka(za);
3506
3506
  var vt = (r) => r.type === "checkbox", Ke = (r) => r instanceof Date, Ee = (r) => r == null;
3507
3507
  const Ls = (r) => typeof r == "object";
3508
- var pe = (r) => !Ee(r) && !Array.isArray(r) && Ls(r) && !Ke(r), Ps = (r) => pe(r) && r.target ? vt(r.target) ? r.target.checked : r.target.value : r, Ba = (r) => r.substring(0, r.search(/\.\d+(\.|$)/)) || r, zs = (r, e) => r.has(Ba(e)), Za = (r) => {
3508
+ var pe = (r) => !Ee(r) && !Array.isArray(r) && Ls(r) && !Ke(r), Ps = (r) => pe(r) && r.target ? vt(r.target) ? r.target.checked : r.target.value : r, Ua = (r) => r.substring(0, r.search(/\.\d+(\.|$)/)) || r, zs = (r, e) => r.has(Ua(e)), Za = (r) => {
3509
3509
  const e = r.constructor && r.constructor.prototype;
3510
3510
  return pe(e) && e.hasOwnProperty("isPrototypeOf");
3511
3511
  }, Er = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
@@ -3531,15 +3531,15 @@ var qt = (r) => Array.isArray(r) ? r.filter(Boolean) : [], me = (r) => r === voi
3531
3531
  return t;
3532
3532
  const s = qt(e.split(/[,[\].]+?/)).reduce((n, a) => Ee(n) ? n : n[a], r);
3533
3533
  return me(s) || s === r ? me(r[e]) ? t : r[e] : s;
3534
- }, Te = (r) => typeof r == "boolean", Nr = (r) => /^\w*$/.test(r), Us = (r) => qt(r.replace(/["|']|\]/g, "").split(/\.|\[/)), ie = (r, e, t) => {
3534
+ }, Te = (r) => typeof r == "boolean", Nr = (r) => /^\w*$/.test(r), Bs = (r) => qt(r.replace(/["|']|\]/g, "").split(/\.|\[/)), ie = (r, e, t) => {
3535
3535
  let s = -1;
3536
- const n = Nr(e) ? [e] : Us(e), a = n.length, o = a - 1;
3536
+ const n = Nr(e) ? [e] : Bs(e), a = n.length, o = a - 1;
3537
3537
  for (; ++s < a; ) {
3538
3538
  const l = n[s];
3539
3539
  let c = t;
3540
3540
  if (s !== o) {
3541
- const d = r[l];
3542
- c = pe(d) || Array.isArray(d) ? d : isNaN(+n[s + 1]) ? {} : [];
3541
+ const u = r[l];
3542
+ c = pe(u) || Array.isArray(u) ? u : isNaN(+n[s + 1]) ? {} : [];
3543
3543
  }
3544
3544
  if (l === "__proto__" || l === "constructor" || l === "prototype")
3545
3545
  return;
@@ -3550,7 +3550,7 @@ const It = {
3550
3550
  BLUR: "blur",
3551
3551
  FOCUS_OUT: "focusout",
3552
3552
  CHANGE: "change"
3553
- }, Re = {
3553
+ }, Oe = {
3554
3554
  onBlur: "onBlur",
3555
3555
  onChange: "onChange",
3556
3556
  onSubmit: "onSubmit",
@@ -3564,9 +3564,9 @@ const It = {
3564
3564
  pattern: "pattern",
3565
3565
  required: "required",
3566
3566
  validate: "validate"
3567
- }, Bs = ne.createContext(null), wt = () => ne.useContext(Bs), Wa = (r) => {
3567
+ }, Us = ne.createContext(null), wt = () => ne.useContext(Us), Wa = (r) => {
3568
3568
  const { children: e, ...t } = r;
3569
- return ne.createElement(Bs.Provider, { value: t }, e);
3569
+ return ne.createElement(Us.Provider, { value: t }, e);
3570
3570
  };
3571
3571
  var Zs = (r, e, t, s = !0) => {
3572
3572
  const n = {
@@ -3576,7 +3576,7 @@ var Zs = (r, e, t, s = !0) => {
3576
3576
  Object.defineProperty(n, a, {
3577
3577
  get: () => {
3578
3578
  const o = a;
3579
- return e._proxyFormState[o] !== Re.all && (e._proxyFormState[o] = !s || Re.all), t && (t[o] = !0), r[o];
3579
+ return e._proxyFormState[o] !== Oe.all && (e._proxyFormState[o] = !s || Oe.all), t && (t[o] = !0), r[o];
3580
3580
  }
3581
3581
  });
3582
3582
  return n;
@@ -3597,10 +3597,10 @@ function qa(r) {
3597
3597
  name: n,
3598
3598
  formState: c.current,
3599
3599
  exact: a,
3600
- callback: (d) => {
3600
+ callback: (u) => {
3601
3601
  !s && l({
3602
3602
  ...t._formState,
3603
- ...d
3603
+ ...u
3604
3604
  });
3605
3605
  }
3606
3606
  }), [n, s, a]), ne.useEffect(() => {
@@ -3609,14 +3609,14 @@ function qa(r) {
3609
3609
  }
3610
3610
  var Ie = (r) => typeof r == "string", Ws = (r, e, t, s, n) => Ie(r) ? (s && e.watch.add(r), V(t, r, n)) : Array.isArray(r) ? r.map((a) => (s && e.watch.add(a), V(t, a))) : (s && (e.watchAll = !0), t);
3611
3611
  function Fr(r) {
3612
- const e = wt(), { control: t = e.control, name: s, defaultValue: n, disabled: a, exact: o } = r || {}, l = ne.useRef(n), [c, d] = ne.useState(t._getWatch(s, l.current));
3612
+ const e = wt(), { control: t = e.control, name: s, defaultValue: n, disabled: a, exact: o } = r || {}, l = ne.useRef(n), [c, u] = ne.useState(t._getWatch(s, l.current));
3613
3613
  return _r(() => t._subscribe({
3614
3614
  name: s,
3615
3615
  formState: {
3616
3616
  values: !0
3617
3617
  },
3618
3618
  exact: o,
3619
- callback: (u) => !a && d(Ws(s, t._names, u.values || t._formValues, !1, l.current))
3619
+ callback: (d) => !a && u(Ws(s, t._names, d.values || t._formValues, !1, l.current))
3620
3620
  }), [s, t, a, o]), ne.useEffect(() => t._removeUnmounted()), c;
3621
3621
  }
3622
3622
  function qs(r) {
@@ -3629,7 +3629,7 @@ function qs(r) {
3629
3629
  control: n,
3630
3630
  name: t,
3631
3631
  exact: !0
3632
- }), d = ne.useRef(r), u = ne.useRef(n.register(t, {
3632
+ }), u = ne.useRef(r), d = ne.useRef(n.register(t, {
3633
3633
  ...r.rules,
3634
3634
  value: l,
3635
3635
  ...Te(r.disabled) ? { disabled: r.disabled } : {}
@@ -3654,13 +3654,13 @@ function qs(r) {
3654
3654
  enumerable: !0,
3655
3655
  get: () => V(c.errors, t)
3656
3656
  }
3657
- }), [c, t]), m = ne.useCallback((_) => u.current.onChange({
3657
+ }), [c, t]), m = ne.useCallback((_) => d.current.onChange({
3658
3658
  target: {
3659
3659
  value: Ps(_),
3660
3660
  name: t
3661
3661
  },
3662
3662
  type: It.CHANGE
3663
- }), [t]), y = ne.useCallback(() => u.current.onBlur({
3663
+ }), [t]), y = ne.useCallback(() => d.current.onBlur({
3664
3664
  target: {
3665
3665
  value: V(n._formValues, t),
3666
3666
  name: t
@@ -3685,12 +3685,12 @@ function qs(r) {
3685
3685
  return ne.useEffect(() => {
3686
3686
  const _ = n._options.shouldUnregister || a;
3687
3687
  n.register(t, {
3688
- ...d.current.rules,
3689
- ...Te(d.current.disabled) ? { disabled: d.current.disabled } : {}
3688
+ ...u.current.rules,
3689
+ ...Te(u.current.disabled) ? { disabled: u.current.disabled } : {}
3690
3690
  });
3691
3691
  const v = (g, S) => {
3692
- const $ = V(n._fields, g);
3693
- $ && $._f && ($._f.mount = S);
3692
+ const O = V(n._fields, g);
3693
+ O && O._f && (O._f.mount = S);
3694
3694
  };
3695
3695
  if (v(t, !0), _) {
3696
3696
  const g = we(V(n._options.defaultValues, t));
@@ -3710,7 +3710,7 @@ function qs(r) {
3710
3710
  fieldState: p
3711
3711
  }), [w, c, p]);
3712
3712
  }
3713
- const Oe = (r) => r.render(qs(r));
3713
+ const Ce = (r) => r.render(qs(r));
3714
3714
  var Gs = (r, e, t, s, n) => e ? {
3715
3715
  ...t[r],
3716
3716
  types: {
@@ -3757,7 +3757,7 @@ function Ye(r, e) {
3757
3757
  }
3758
3758
  return !0;
3759
3759
  }
3760
- var je = (r) => pe(r) && !Object.keys(r).length, Sr = (r) => r.type === "file", Ve = (r) => typeof r == "function", Lt = (r) => {
3760
+ var je = (r) => pe(r) && !Object.keys(r).length, Sr = (r) => r.type === "file", Re = (r) => typeof r == "function", Lt = (r) => {
3761
3761
  if (!Er)
3762
3762
  return !1;
3763
3763
  const e = r ? r.ownerDocument : 0;
@@ -3777,12 +3777,12 @@ function Ha(r) {
3777
3777
  return !0;
3778
3778
  }
3779
3779
  function be(r, e) {
3780
- const t = Array.isArray(e) ? e : Nr(e) ? [e] : Us(e), s = t.length === 1 ? r : Ya(r, t), n = t.length - 1, a = t[n];
3780
+ const t = Array.isArray(e) ? e : Nr(e) ? [e] : Bs(e), s = t.length === 1 ? r : Ya(r, t), n = t.length - 1, a = t[n];
3781
3781
  return s && delete s[a], n !== 0 && (pe(s) && je(s) || Array.isArray(s) && Ha(s)) && be(r, t.slice(0, -1)), r;
3782
3782
  }
3783
3783
  var Hs = (r) => {
3784
3784
  for (const e in r)
3785
- if (Ve(r[e]))
3785
+ if (Re(r[e]))
3786
3786
  return !0;
3787
3787
  return !1;
3788
3788
  };
@@ -3843,14 +3843,14 @@ var Xa = (r, e, t, s) => {
3843
3843
  shouldUseNativeValidation: s
3844
3844
  };
3845
3845
  }, zt = (r) => r instanceof RegExp, xt = (r) => me(r) ? r : zt(r) ? r.source : pe(r) ? zt(r.value) ? r.value.source : r.value : r, Hr = (r) => ({
3846
- isOnSubmit: !r || r === Re.onSubmit,
3847
- isOnBlur: r === Re.onBlur,
3848
- isOnChange: r === Re.onChange,
3849
- isOnAll: r === Re.all,
3850
- isOnTouch: r === Re.onTouched
3846
+ isOnSubmit: !r || r === Oe.onSubmit,
3847
+ isOnBlur: r === Oe.onBlur,
3848
+ isOnChange: r === Oe.onChange,
3849
+ isOnAll: r === Oe.all,
3850
+ isOnTouch: r === Oe.onTouched
3851
3851
  });
3852
3852
  const Xr = "AsyncFunction";
3853
- var Ka = (r) => !!r && !!r.validate && !!(Ve(r.validate) && r.validate.constructor.name === Xr || pe(r.validate) && Object.values(r.validate).find((e) => e.constructor.name === Xr)), Ja = (r) => r.mount && (r.required || r.min || r.max || r.maxLength || r.minLength || r.pattern || r.validate), Kr = (r, e, t) => !t && (e.watchAll || e.watch.has(r) || [...e.watch].some((s) => r.startsWith(s) && /^\.\w+/.test(r.slice(s.length))));
3853
+ var Ka = (r) => !!r && !!r.validate && !!(Re(r.validate) && r.validate.constructor.name === Xr || pe(r.validate) && Object.values(r.validate).find((e) => e.constructor.name === Xr)), Ja = (r) => r.mount && (r.required || r.min || r.max || r.maxLength || r.minLength || r.pattern || r.validate), Kr = (r, e, t) => !t && (e.watchAll || e.watch.has(r) || [...e.watch].some((s) => r.startsWith(s) && /^\.\w+/.test(r.slice(s.length))));
3854
3854
  const yt = (r, e, t, s) => {
3855
3855
  for (const n of t || Object.keys(r)) {
3856
3856
  const a = V(r, n);
@@ -3894,7 +3894,7 @@ function Jr(r, e, t) {
3894
3894
  var Qa = (r, e, t, s) => {
3895
3895
  t(r);
3896
3896
  const { name: n, ...a } = r;
3897
- return je(a) || Object.keys(a).length >= Object.keys(e).length || Object.keys(a).find((o) => e[o] === (!s || Re.all));
3897
+ return je(a) || Object.keys(a).length >= Object.keys(e).length || Object.keys(a).find((o) => e[o] === (!s || Oe.all));
3898
3898
  }, eo = (r, e, t) => !r || !e || r === e || bt(r).some((s) => s && (t ? s === e : s.startsWith(e) || e.startsWith(s))), to = (r, e, t, s, n) => n.isOnAll ? !1 : !t && n.isOnTouch ? !(e || r) : (t ? s.isOnBlur : n.isOnBlur) ? !r : (t ? s.isOnChange : n.isOnChange) ? r : !0, ro = (r, e) => !qt(V(r, e)).length && be(r, e), so = (r, e, t) => {
3899
3899
  const s = bt(V(r, t));
3900
3900
  return ie(s, "root", e[t]), ie(r, t, s), r;
@@ -3911,89 +3911,89 @@ var st = (r) => pe(r) && !zt(r) ? r : {
3911
3911
  value: r,
3912
3912
  message: ""
3913
3913
  }, es = async (r, e, t, s, n, a) => {
3914
- const { ref: o, refs: l, required: c, maxLength: d, minLength: u, min: p, max: m, pattern: y, validate: x, name: w, valueAsNumber: _, mount: v } = r._f, g = V(t, w);
3914
+ const { ref: o, refs: l, required: c, maxLength: u, minLength: d, min: p, max: m, pattern: y, validate: x, name: w, valueAsNumber: _, mount: v } = r._f, g = V(t, w);
3915
3915
  if (!v || e.has(w))
3916
3916
  return {};
3917
- const S = l ? l[0] : o, $ = (M) => {
3918
- n && S.reportValidity && (S.setCustomValidity(Te(M) ? "" : M || ""), S.reportValidity());
3919
- }, F = {}, U = Tr(o), q = vt(o), N = U || q, O = (_ || Sr(o)) && me(o.value) && me(g) || Lt(o) && o.value === "" || g === "" || Array.isArray(g) && !g.length, J = Gs.bind(null, w, s, F), B = (M, Y, K, W = Pe.maxLength, H = Pe.minLength) => {
3920
- const A = M ? Y : K;
3917
+ const S = l ? l[0] : o, O = ($) => {
3918
+ n && S.reportValidity && (S.setCustomValidity(Te($) ? "" : $ || ""), S.reportValidity());
3919
+ }, F = {}, P = Tr(o), q = vt(o), N = P || q, M = (_ || Sr(o)) && me(o.value) && me(g) || Lt(o) && o.value === "" || g === "" || Array.isArray(g) && !g.length, J = Gs.bind(null, w, s, F), U = ($, Y, K, W = Pe.maxLength, H = Pe.minLength) => {
3920
+ const A = $ ? Y : K;
3921
3921
  F[w] = {
3922
- type: M ? W : H,
3922
+ type: $ ? W : H,
3923
3923
  message: A,
3924
3924
  ref: o,
3925
- ...J(M ? W : H, A)
3925
+ ...J($ ? W : H, A)
3926
3926
  };
3927
3927
  };
3928
- if (a ? !Array.isArray(g) || !g.length : c && (!N && (O || Ee(g)) || Te(g) && !g || q && !Ks(l).isValid || U && !Qs(l).isValid)) {
3929
- const { value: M, message: Y } = Vt(c) ? { value: !!c, message: c } : st(c);
3930
- if (M && (F[w] = {
3928
+ if (a ? !Array.isArray(g) || !g.length : c && (!N && (M || Ee(g)) || Te(g) && !g || q && !Ks(l).isValid || P && !Qs(l).isValid)) {
3929
+ const { value: $, message: Y } = Vt(c) ? { value: !!c, message: c } : st(c);
3930
+ if ($ && (F[w] = {
3931
3931
  type: Pe.required,
3932
3932
  message: Y,
3933
3933
  ref: S,
3934
3934
  ...J(Pe.required, Y)
3935
3935
  }, !s))
3936
- return $(Y), F;
3936
+ return O(Y), F;
3937
3937
  }
3938
- if (!O && (!Ee(p) || !Ee(m))) {
3939
- let M, Y;
3938
+ if (!M && (!Ee(p) || !Ee(m))) {
3939
+ let $, Y;
3940
3940
  const K = st(m), W = st(p);
3941
3941
  if (!Ee(g) && !isNaN(g)) {
3942
3942
  const H = o.valueAsNumber || g && +g;
3943
- Ee(K.value) || (M = H > K.value), Ee(W.value) || (Y = H < W.value);
3943
+ Ee(K.value) || ($ = H > K.value), Ee(W.value) || (Y = H < W.value);
3944
3944
  } else {
3945
3945
  const H = o.valueAsDate || new Date(g), A = (j) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + j), h = o.type == "time", Z = o.type == "week";
3946
- Ie(K.value) && g && (M = h ? A(g) > A(K.value) : Z ? g > K.value : H > new Date(K.value)), Ie(W.value) && g && (Y = h ? A(g) < A(W.value) : Z ? g < W.value : H < new Date(W.value));
3946
+ Ie(K.value) && g && ($ = h ? A(g) > A(K.value) : Z ? g > K.value : H > new Date(K.value)), Ie(W.value) && g && (Y = h ? A(g) < A(W.value) : Z ? g < W.value : H < new Date(W.value));
3947
3947
  }
3948
- if ((M || Y) && (B(!!M, K.message, W.message, Pe.max, Pe.min), !s))
3949
- return $(F[w].message), F;
3948
+ if (($ || Y) && (U(!!$, K.message, W.message, Pe.max, Pe.min), !s))
3949
+ return O(F[w].message), F;
3950
3950
  }
3951
- if ((d || u) && !O && (Ie(g) || a && Array.isArray(g))) {
3952
- const M = st(d), Y = st(u), K = !Ee(M.value) && g.length > +M.value, W = !Ee(Y.value) && g.length < +Y.value;
3953
- if ((K || W) && (B(K, M.message, Y.message), !s))
3954
- return $(F[w].message), F;
3951
+ if ((u || d) && !M && (Ie(g) || a && Array.isArray(g))) {
3952
+ const $ = st(u), Y = st(d), K = !Ee($.value) && g.length > +$.value, W = !Ee(Y.value) && g.length < +Y.value;
3953
+ if ((K || W) && (U(K, $.message, Y.message), !s))
3954
+ return O(F[w].message), F;
3955
3955
  }
3956
- if (y && !O && Ie(g)) {
3957
- const { value: M, message: Y } = st(y);
3958
- if (zt(M) && !g.match(M) && (F[w] = {
3956
+ if (y && !M && Ie(g)) {
3957
+ const { value: $, message: Y } = st(y);
3958
+ if (zt($) && !g.match($) && (F[w] = {
3959
3959
  type: Pe.pattern,
3960
3960
  message: Y,
3961
3961
  ref: o,
3962
3962
  ...J(Pe.pattern, Y)
3963
3963
  }, !s))
3964
- return $(Y), F;
3964
+ return O(Y), F;
3965
3965
  }
3966
3966
  if (x) {
3967
- if (Ve(x)) {
3968
- const M = await x(g, t), Y = Qr(M, S);
3967
+ if (Re(x)) {
3968
+ const $ = await x(g, t), Y = Qr($, S);
3969
3969
  if (Y && (F[w] = {
3970
3970
  ...Y,
3971
3971
  ...J(Pe.validate, Y.message)
3972
3972
  }, !s))
3973
- return $(Y.message), F;
3973
+ return O(Y.message), F;
3974
3974
  } else if (pe(x)) {
3975
- let M = {};
3975
+ let $ = {};
3976
3976
  for (const Y in x) {
3977
- if (!je(M) && !s)
3977
+ if (!je($) && !s)
3978
3978
  break;
3979
3979
  const K = Qr(await x[Y](g, t), S, Y);
3980
- K && (M = {
3980
+ K && ($ = {
3981
3981
  ...K,
3982
3982
  ...J(Y, K.message)
3983
- }, $(K.message), s && (F[w] = M));
3983
+ }, O(K.message), s && (F[w] = $));
3984
3984
  }
3985
- if (!je(M) && (F[w] = {
3985
+ if (!je($) && (F[w] = {
3986
3986
  ref: S,
3987
- ...M
3987
+ ...$
3988
3988
  }, !s))
3989
3989
  return F;
3990
3990
  }
3991
3991
  }
3992
- return $(!0), F;
3992
+ return O(!0), F;
3993
3993
  };
3994
3994
  const no = {
3995
- mode: Re.onSubmit,
3996
- reValidateMode: Re.onChange,
3995
+ mode: Oe.onSubmit,
3996
+ reValidateMode: Oe.onChange,
3997
3997
  shouldFocusError: !0
3998
3998
  };
3999
3999
  function ao(r = {}) {
@@ -4004,7 +4004,7 @@ function ao(r = {}) {
4004
4004
  submitCount: 0,
4005
4005
  isDirty: !1,
4006
4006
  isReady: !1,
4007
- isLoading: Ve(e.defaultValues),
4007
+ isLoading: Re(e.defaultValues),
4008
4008
  isValidating: !1,
4009
4009
  isSubmitted: !1,
4010
4010
  isSubmitting: !1,
@@ -4027,8 +4027,8 @@ function ao(r = {}) {
4027
4027
  unMount: /* @__PURE__ */ new Set(),
4028
4028
  array: /* @__PURE__ */ new Set(),
4029
4029
  watch: /* @__PURE__ */ new Set()
4030
- }, c, d = 0;
4031
- const u = {
4030
+ }, c, u = 0;
4031
+ const d = {
4032
4032
  isDirty: !1,
4033
4033
  dirtyFields: !1,
4034
4034
  validatingFields: !1,
@@ -4038,22 +4038,22 @@ function ao(r = {}) {
4038
4038
  errors: !1
4039
4039
  };
4040
4040
  let p = {
4041
- ...u
4041
+ ...d
4042
4042
  };
4043
4043
  const m = {
4044
4044
  array: Zr(),
4045
4045
  state: Zr()
4046
- }, y = e.criteriaMode === Re.all, x = (f) => (b) => {
4047
- clearTimeout(d), d = setTimeout(f, b);
4046
+ }, y = e.criteriaMode === Oe.all, x = (f) => (b) => {
4047
+ clearTimeout(u), u = setTimeout(f, b);
4048
4048
  }, w = async (f) => {
4049
- if (!e.disabled && (u.isValid || p.isValid || f)) {
4050
- const b = e.resolver ? je((await q()).errors) : await O(s, !0);
4049
+ if (!e.disabled && (d.isValid || p.isValid || f)) {
4050
+ const b = e.resolver ? je((await q()).errors) : await M(s, !0);
4051
4051
  b !== t.isValid && m.state.next({
4052
4052
  isValid: b
4053
4053
  });
4054
4054
  }
4055
4055
  }, _ = (f, b) => {
4056
- !e.disabled && (u.isValidating || u.validatingFields || p.isValidating || p.validatingFields) && ((f || Array.from(l.mount)).forEach((E) => {
4056
+ !e.disabled && (d.isValidating || d.validatingFields || p.isValidating || p.validatingFields) && ((f || Array.from(l.mount)).forEach((E) => {
4057
4057
  E && (b ? ie(t.validatingFields, E, b) : be(t.validatingFields, E));
4058
4058
  }), m.state.next({
4059
4059
  validatingFields: t.validatingFields,
@@ -4069,13 +4069,13 @@ function ao(r = {}) {
4069
4069
  const X = E(V(t.errors, f), L.argA, L.argB);
4070
4070
  R && ie(t.errors, f, X), ro(t.errors, f);
4071
4071
  }
4072
- if ((u.touchedFields || p.touchedFields) && T && Array.isArray(V(t.touchedFields, f))) {
4072
+ if ((d.touchedFields || p.touchedFields) && T && Array.isArray(V(t.touchedFields, f))) {
4073
4073
  const X = E(V(t.touchedFields, f), L.argA, L.argB);
4074
4074
  R && ie(t.touchedFields, f, X);
4075
4075
  }
4076
- (u.dirtyFields || p.dirtyFields) && (t.dirtyFields = pt(n, a)), m.state.next({
4076
+ (d.dirtyFields || p.dirtyFields) && (t.dirtyFields = pt(n, a)), m.state.next({
4077
4077
  name: f,
4078
- isDirty: B(f, b),
4078
+ isDirty: U(f, b),
4079
4079
  dirtyFields: t.dirtyFields,
4080
4080
  errors: t.errors,
4081
4081
  isValid: t.isValid
@@ -4091,7 +4091,7 @@ function ao(r = {}) {
4091
4091
  errors: t.errors,
4092
4092
  isValid: !1
4093
4093
  });
4094
- }, $ = (f, b, E, L) => {
4094
+ }, O = (f, b, E, L) => {
4095
4095
  const R = V(s, f);
4096
4096
  if (R) {
4097
4097
  const T = V(a, f, me(E) ? V(n, f) : E);
@@ -4104,20 +4104,20 @@ function ao(r = {}) {
4104
4104
  };
4105
4105
  if (!e.disabled) {
4106
4106
  if (!E || L) {
4107
- (u.isDirty || p.isDirty) && (X = t.isDirty, t.isDirty = le.isDirty = B(), T = X !== le.isDirty);
4107
+ (d.isDirty || p.isDirty) && (X = t.isDirty, t.isDirty = le.isDirty = U(), T = X !== le.isDirty);
4108
4108
  const ce = Ye(V(n, f), b);
4109
- X = !!V(t.dirtyFields, f), ce ? be(t.dirtyFields, f) : ie(t.dirtyFields, f, !0), le.dirtyFields = t.dirtyFields, T = T || (u.dirtyFields || p.dirtyFields) && X !== !ce;
4109
+ X = !!V(t.dirtyFields, f), ce ? be(t.dirtyFields, f) : ie(t.dirtyFields, f, !0), le.dirtyFields = t.dirtyFields, T = T || (d.dirtyFields || p.dirtyFields) && X !== !ce;
4110
4110
  }
4111
4111
  if (E) {
4112
4112
  const ce = V(t.touchedFields, f);
4113
- ce || (ie(t.touchedFields, f, E), le.touchedFields = t.touchedFields, T = T || (u.touchedFields || p.touchedFields) && ce !== E);
4113
+ ce || (ie(t.touchedFields, f, E), le.touchedFields = t.touchedFields, T = T || (d.touchedFields || p.touchedFields) && ce !== E);
4114
4114
  }
4115
4115
  T && R && m.state.next(le);
4116
4116
  }
4117
4117
  return T ? le : {};
4118
- }, U = (f, b, E, L) => {
4119
- const R = V(t.errors, f), T = (u.isValid || p.isValid) && Te(b) && t.isValid !== b;
4120
- if (e.delayError && E ? (c = x(() => g(f, E)), c(e.delayError)) : (clearTimeout(d), c = null, E ? ie(t.errors, f, E) : be(t.errors, f)), (E ? !Ye(R, E) : R) || !je(L) || T) {
4118
+ }, P = (f, b, E, L) => {
4119
+ const R = V(t.errors, f), T = (d.isValid || p.isValid) && Te(b) && t.isValid !== b;
4120
+ if (e.delayError && E ? (c = x(() => g(f, E)), c(e.delayError)) : (clearTimeout(u), c = null, E ? ie(t.errors, f, E) : be(t.errors, f)), (E ? !Ye(R, E) : R) || !je(L) || T) {
4121
4121
  const X = {
4122
4122
  ...L,
4123
4123
  ...T && Te(b) ? { isValid: b } : {},
@@ -4143,7 +4143,7 @@ function ao(r = {}) {
4143
4143
  else
4144
4144
  t.errors = b;
4145
4145
  return b;
4146
- }, O = async (f, b, E = {
4146
+ }, M = async (f, b, E = {
4147
4147
  valid: !0
4148
4148
  }) => {
4149
4149
  for (const L in f) {
@@ -4152,13 +4152,13 @@ function ao(r = {}) {
4152
4152
  const { _f: T, ...X } = R;
4153
4153
  if (T) {
4154
4154
  const le = l.array.has(T.name), ce = R._f && Ka(R._f);
4155
- ce && u.validatingFields && _([L], !0);
4156
- const Ce = await es(R, l.disabled, a, y, e.shouldUseNativeValidation && !b, le);
4157
- if (ce && u.validatingFields && _([L]), Ce[T.name] && (E.valid = !1, b))
4155
+ ce && d.validatingFields && _([L], !0);
4156
+ const Ae = await es(R, l.disabled, a, y, e.shouldUseNativeValidation && !b, le);
4157
+ if (ce && d.validatingFields && _([L]), Ae[T.name] && (E.valid = !1, b))
4158
4158
  break;
4159
- !b && (V(Ce, T.name) ? le ? so(t.errors, Ce, T.name) : ie(t.errors, T.name, Ce[T.name]) : be(t.errors, T.name));
4159
+ !b && (V(Ae, T.name) ? le ? so(t.errors, Ae, T.name) : ie(t.errors, T.name, Ae[T.name]) : be(t.errors, T.name));
4160
4160
  }
4161
- !je(X) && await O(X, b, E);
4161
+ !je(X) && await M(X, b, E);
4162
4162
  }
4163
4163
  }
4164
4164
  return E.valid;
@@ -4168,7 +4168,7 @@ function ao(r = {}) {
4168
4168
  b && (b._f.refs ? b._f.refs.every((E) => !er(E)) : !er(b._f.ref)) && se(f);
4169
4169
  }
4170
4170
  l.unMount = /* @__PURE__ */ new Set();
4171
- }, B = (f, b) => !e.disabled && (f && b && ie(a, f, b), !Ye(j(), n)), M = (f, b, E) => Ws(f, l, {
4171
+ }, U = (f, b) => !e.disabled && (f && b && ie(a, f, b), !Ye(j(), n)), $ = (f, b, E) => Ws(f, l, {
4172
4172
  ...o.mount ? a : me(b) ? n : Ie(f) ? { [f]: b } : b
4173
4173
  }, E, b), Y = (f) => qt(V(o.mount ? a : n, f, e.shouldUnregister ? V(n, f, []) : [])), K = (f, b, E = {}) => {
4174
4174
  const L = V(s, f);
@@ -4195,10 +4195,10 @@ function ao(r = {}) {
4195
4195
  ie(a, f, T), R ? (m.array.next({
4196
4196
  name: f,
4197
4197
  values: we(a)
4198
- }), (u.isDirty || u.dirtyFields || p.isDirty || p.dirtyFields) && E.shouldDirty && m.state.next({
4198
+ }), (d.isDirty || d.dirtyFields || p.isDirty || p.dirtyFields) && E.shouldDirty && m.state.next({
4199
4199
  name: f,
4200
4200
  dirtyFields: pt(n, a),
4201
- isDirty: B(f, T)
4201
+ isDirty: U(f, T)
4202
4202
  })) : L && !L._f && !Ee(T) ? W(f, T, E) : K(f, T, E), Kr(f, l) && m.state.next({ ...t }), m.state.next({
4203
4203
  name: o.mount ? f : void 0,
4204
4204
  values: we(a)
@@ -4211,7 +4211,7 @@ function ao(r = {}) {
4211
4211
  L = Number.isNaN(ce) || Ke(ce) && isNaN(ce.getTime()) || Ye(ce, V(a, E, ce));
4212
4212
  }, X = Hr(e.mode), le = Hr(e.reValidateMode);
4213
4213
  if (R) {
4214
- let ce, Ce;
4214
+ let ce, Ae;
4215
4215
  const jt = b.type ? Yr(R._f) : Ps(f), We = f.type === It.BLUR || f.type === It.FOCUS_OUT, Fn = !Ja(R._f) && !e.resolver && !V(t.errors, E) && !R._f.deps || to(We, V(t.touchedFields, E), t.isSubmitted, le, X), Xt = Kr(E, l, We);
4216
4216
  ie(a, E, jt), We ? (R._f.onBlur && R._f.onBlur(f), c && c(0)) : R._f.onChange && R._f.onChange(f);
4217
4217
  const Kt = F(E, jt, We), Sn = !je(Kt) || Xt;
@@ -4220,16 +4220,16 @@ function ao(r = {}) {
4220
4220
  type: f.type,
4221
4221
  values: we(a)
4222
4222
  }), Fn)
4223
- return (u.isValid || p.isValid) && (e.mode === "onBlur" ? We && w() : We || w()), Sn && m.state.next({ name: E, ...Xt ? {} : Kt });
4223
+ return (d.isValid || p.isValid) && (e.mode === "onBlur" ? We && w() : We || w()), Sn && m.state.next({ name: E, ...Xt ? {} : Kt });
4224
4224
  if (!We && Xt && m.state.next({ ...t }), e.resolver) {
4225
4225
  const { errors: Rr } = await q([E]);
4226
4226
  if (T(jt), L) {
4227
4227
  const Tn = Jr(t.errors, s, E), Vr = Jr(Rr, s, Tn.name || E);
4228
- ce = Vr.error, E = Vr.name, Ce = je(Rr);
4228
+ ce = Vr.error, E = Vr.name, Ae = je(Rr);
4229
4229
  }
4230
4230
  } else
4231
- _([E], !0), ce = (await es(R, l.disabled, a, y, e.shouldUseNativeValidation))[E], _([E]), T(jt), L && (ce ? Ce = !1 : (u.isValid || p.isValid) && (Ce = await O(s, !0)));
4232
- L && (R._f.deps && Z(R._f.deps), U(E, Ce, ce, Kt));
4231
+ _([E], !0), ce = (await es(R, l.disabled, a, y, e.shouldUseNativeValidation))[E], _([E]), T(jt), L && (ce ? Ae = !1 : (d.isValid || p.isValid) && (Ae = await M(s, !0)));
4232
+ L && (R._f.deps && Z(R._f.deps), P(E, Ae, ce, Kt));
4233
4233
  }
4234
4234
  }, h = (f, b) => {
4235
4235
  if (V(t.errors, b) && f.focus)
@@ -4242,10 +4242,10 @@ function ao(r = {}) {
4242
4242
  E = je(T), L = f ? !R.some((X) => V(T, X)) : E;
4243
4243
  } else f ? (L = (await Promise.all(R.map(async (T) => {
4244
4244
  const X = V(s, T);
4245
- return await O(X && X._f ? { [T]: X } : X);
4246
- }))).every(Boolean), !(!L && !t.isValid) && w()) : L = E = await O(s);
4245
+ return await M(X && X._f ? { [T]: X } : X);
4246
+ }))).every(Boolean), !(!L && !t.isValid) && w()) : L = E = await M(s);
4247
4247
  return m.state.next({
4248
- ...!Ie(f) || (u.isValid || p.isValid) && E !== t.isValid ? {} : { name: f },
4248
+ ...!Ie(f) || (d.isValid || p.isValid) && E !== t.isValid ? {} : { name: f },
4249
4249
  ...e.resolver || !f ? { isValid: E } : {},
4250
4250
  errors: t.errors
4251
4251
  }), b.shouldFocus && !L && yt(s, h, f ? R : l.mount), L;
@@ -4275,11 +4275,11 @@ function ao(r = {}) {
4275
4275
  errors: t.errors,
4276
4276
  isValid: !1
4277
4277
  }), E && E.shouldFocus && L && L.focus && L.focus();
4278
- }, Q = (f, b) => Ve(f) ? m.state.subscribe({
4279
- next: (E) => f(M(void 0, b), E)
4280
- }) : M(f, b, !0), re = (f) => m.state.subscribe({
4278
+ }, Q = (f, b) => Re(f) ? m.state.subscribe({
4279
+ next: (E) => f($(void 0, b), E)
4280
+ }) : $(f, b, !0), re = (f) => m.state.subscribe({
4281
4281
  next: (b) => {
4282
- eo(f.name, b.name, f.exact) && Qa(b, f.formState || u, Yt, f.reRenderRoot) && f.callback({
4282
+ eo(f.name, b.name, f.exact) && Qa(b, f.formState || d, Yt, f.reRenderRoot) && f.callback({
4283
4283
  values: { ...a },
4284
4284
  ...t,
4285
4285
  ...b
@@ -4298,7 +4298,7 @@ function ao(r = {}) {
4298
4298
  values: we(a)
4299
4299
  }), m.state.next({
4300
4300
  ...t,
4301
- ...b.keepDirty ? { isDirty: B() } : {}
4301
+ ...b.keepDirty ? { isDirty: U() } : {}
4302
4302
  }), !b.keepIsValid && w();
4303
4303
  }, oe = ({ disabled: f, name: b }) => {
4304
4304
  (Te(f) && o.mount || f || l.disabled.has(b)) && (f ? l.disabled.add(b) : l.disabled.delete(b));
@@ -4316,7 +4316,7 @@ function ao(r = {}) {
4316
4316
  }), l.mount.add(f), E ? oe({
4317
4317
  disabled: Te(b.disabled) ? b.disabled : e.disabled,
4318
4318
  name: f
4319
- }) : $(f, !0, b.value), {
4319
+ }) : O(f, !0, b.value), {
4320
4320
  ...L ? { disabled: b.disabled || e.disabled } : {},
4321
4321
  ...e.progressive ? {
4322
4322
  required: !!b.required,
@@ -4347,7 +4347,7 @@ function ao(r = {}) {
4347
4347
  ref: { type: T.type, name: f }
4348
4348
  } : { ref: T }
4349
4349
  }
4350
- }), $(f, !1, void 0, T);
4350
+ }), O(f, !1, void 0, T);
4351
4351
  } else
4352
4352
  E = V(s, f, {}), E._f && (E._f.mount = !1), (e.shouldUnregister || b.shouldUnregister) && !(zs(l.array, f) && o.action) && l.unMount.add(f);
4353
4353
  }
@@ -4369,7 +4369,7 @@ function ao(r = {}) {
4369
4369
  const { errors: T, values: X } = await q();
4370
4370
  t.errors = T, R = X;
4371
4371
  } else
4372
- await O(s);
4372
+ await M(s);
4373
4373
  if (l.disabled.size)
4374
4374
  for (const T of l.disabled)
4375
4375
  ie(R, T, void 0);
@@ -4392,8 +4392,8 @@ function ao(r = {}) {
4392
4392
  errors: t.errors
4393
4393
  }), L)
4394
4394
  throw L;
4395
- }, Ae = (f, b = {}) => {
4396
- V(s, f) && (me(b.defaultValue) ? H(f, we(V(n, f))) : (H(f, b.defaultValue), ie(n, f, we(b.defaultValue))), b.keepTouched || be(t.touchedFields, f), b.keepDirty || (be(t.dirtyFields, f), t.isDirty = b.defaultValue ? B(f, we(V(n, f))) : B()), b.keepError || (be(t.errors, f), u.isValid && w()), m.state.next({ ...t }));
4395
+ }, $e = (f, b = {}) => {
4396
+ V(s, f) && (me(b.defaultValue) ? H(f, we(V(n, f))) : (H(f, b.defaultValue), ie(n, f, we(b.defaultValue))), b.keepTouched || be(t.touchedFields, f), b.keepDirty || (be(t.dirtyFields, f), t.isDirty = b.defaultValue ? U(f, we(V(n, f))) : U()), b.keepError || (be(t.errors, f), d.isValid && w()), m.state.next({ ...t }));
4397
4397
  }, he = (f, b = {}) => {
4398
4398
  const E = f ? we(f) : n, L = we(E), R = je(f), T = R ? n : L;
4399
4399
  if (b.keepDefaultValues || (n = E), !b.keepValues) {
@@ -4411,9 +4411,9 @@ function ao(r = {}) {
4411
4411
  if (le && le._f) {
4412
4412
  const ce = Array.isArray(le._f.refs) ? le._f.refs[0] : le._f.ref;
4413
4413
  if (Lt(ce)) {
4414
- const Ce = ce.closest("form");
4415
- if (Ce) {
4416
- Ce.reset();
4414
+ const Ae = ce.closest("form");
4415
+ if (Ae) {
4416
+ Ae.reset();
4417
4417
  break;
4418
4418
  }
4419
4419
  }
@@ -4436,7 +4436,7 @@ function ao(r = {}) {
4436
4436
  watch: /* @__PURE__ */ new Set(),
4437
4437
  watchAll: !1,
4438
4438
  focus: ""
4439
- }, o.mount = !u.isValid || !!b.keepIsValid || !!b.keepDirtyValues, o.watch = !!e.shouldUnregister, m.state.next({
4439
+ }, o.mount = !d.isValid || !!b.keepIsValid || !!b.keepDirtyValues, o.watch = !!e.shouldUnregister, m.state.next({
4440
4440
  submitCount: b.keepSubmitCount ? t.submitCount : 0,
4441
4441
  isDirty: R ? !1 : b.keepDirty ? t.isDirty : !!(b.keepDefaultValues && !Ye(f, n)),
4442
4442
  isSubmitted: b.keepIsSubmitted ? t.isSubmitted : !1,
@@ -4446,11 +4446,11 @@ function ao(r = {}) {
4446
4446
  isSubmitSuccessful: b.keepIsSubmitSuccessful ? t.isSubmitSuccessful : !1,
4447
4447
  isSubmitting: !1
4448
4448
  });
4449
- }, Me = (f, b) => he(Ve(f) ? f(a) : f, b), ut = (f, b = {}) => {
4449
+ }, Me = (f, b) => he(Re(f) ? f(a) : f, b), ut = (f, b = {}) => {
4450
4450
  const E = V(s, f), L = E && E._f;
4451
4451
  if (L) {
4452
4452
  const R = L.refs ? L.refs[0] : L.ref;
4453
- R.focus && (R.focus(), b.shouldSelect && Ve(R.select) && R.select());
4453
+ R.focus && (R.focus(), b.shouldSelect && Re(R.select) && R.select());
4454
4454
  }
4455
4455
  }, Yt = (f) => {
4456
4456
  t = {
@@ -4466,15 +4466,15 @@ function ao(r = {}) {
4466
4466
  setError: D,
4467
4467
  _subscribe: re,
4468
4468
  _runSchema: q,
4469
- _getWatch: M,
4470
- _getDirty: B,
4469
+ _getWatch: $,
4470
+ _getDirty: U,
4471
4471
  _setValid: w,
4472
4472
  _setFieldArray: v,
4473
4473
  _setDisabledField: oe,
4474
4474
  _setErrors: S,
4475
4475
  _getFieldArray: Y,
4476
4476
  _reset: he,
4477
- _resetDefaultValues: () => Ve(e.defaultValues) && e.defaultValues().then((f) => {
4477
+ _resetDefaultValues: () => Re(e.defaultValues) && e.defaultValues().then((f) => {
4478
4478
  Me(f, e.resetOptions), m.state.next({
4479
4479
  isLoading: !1
4480
4480
  });
@@ -4482,7 +4482,7 @@ function ao(r = {}) {
4482
4482
  _removeUnmounted: J,
4483
4483
  _disableForm: te,
4484
4484
  _subjects: m,
4485
- _proxyFormState: u,
4485
+ _proxyFormState: d,
4486
4486
  get _fields() {
4487
4487
  return s;
4488
4488
  },
@@ -4525,7 +4525,7 @@ function ao(r = {}) {
4525
4525
  setValue: H,
4526
4526
  getValues: j,
4527
4527
  reset: Me,
4528
- resetField: Ae,
4528
+ resetField: $e,
4529
4529
  clearErrors: C,
4530
4530
  unregister: se,
4531
4531
  setError: D,
@@ -4541,7 +4541,7 @@ function oo(r = {}) {
4541
4541
  const e = ne.useRef(void 0), t = ne.useRef(void 0), [s, n] = ne.useState({
4542
4542
  isDirty: !1,
4543
4543
  isValidating: !1,
4544
- isLoading: Ve(r.defaultValues),
4544
+ isLoading: Re(r.defaultValues),
4545
4545
  isSubmitted: !1,
4546
4546
  isSubmitting: !1,
4547
4547
  isSubmitSuccessful: !1,
@@ -4553,12 +4553,12 @@ function oo(r = {}) {
4553
4553
  errors: r.errors || {},
4554
4554
  disabled: r.disabled || !1,
4555
4555
  isReady: !1,
4556
- defaultValues: Ve(r.defaultValues) ? void 0 : r.defaultValues
4556
+ defaultValues: Re(r.defaultValues) ? void 0 : r.defaultValues
4557
4557
  });
4558
4558
  e.current || (e.current = {
4559
4559
  ...r.formControl ? r.formControl : ao(r),
4560
4560
  formState: s
4561
- }, r.formControl && r.defaultValues && !Ve(r.defaultValues) && r.formControl.reset(r.defaultValues, r.resetOptions));
4561
+ }, r.formControl && r.defaultValues && !Re(r.defaultValues) && r.formControl.reset(r.defaultValues, r.resetOptions));
4562
4562
  const a = e.current.control;
4563
4563
  return a._options = r, _r(() => {
4564
4564
  const o = a._subscribe({
@@ -4609,7 +4609,7 @@ function ts(r, e, t, s, n, a, o) {
4609
4609
  io[t],
4610
4610
  lo[t],
4611
4611
  a ? "border-[var(--color-ds-border-error)]" : "border-[var(--color-ds-border-default)]"
4612
- ), p = Ua(c, n ? "bg-[var(--color-ds-background-disabled)] border-[var(--color-ds-border-muted)] text-[var(--color-ds-text-disabled)] cursor-not-allowed opacity-60" : "bg-[var(--color-ds-background-page)] text-[var(--color-ds-text-primary)]", o);
4612
+ ), p = Ba(c, n ? "bg-[var(--color-ds-background-disabled)] border-[var(--color-ds-border-muted)] text-[var(--color-ds-text-disabled)] cursor-not-allowed opacity-60" : "bg-[var(--color-ds-background-page)] text-[var(--color-ds-text-primary)]", o);
4613
4613
  return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
4614
4614
  /* @__PURE__ */ i.jsx(
4615
4615
  "input",
@@ -4636,8 +4636,8 @@ function co(r) {
4636
4636
  size: o = "sm",
4637
4637
  width: l = "100%",
4638
4638
  label: c,
4639
- labelHidden: d = !1,
4640
- hasError: u = !1,
4639
+ labelHidden: u = !1,
4640
+ hasError: d = !1,
4641
4641
  errorMessage: p = "",
4642
4642
  disabled: m = !1,
4643
4643
  className: y,
@@ -4656,7 +4656,7 @@ function co(r) {
4656
4656
  className: I(
4657
4657
  "pb-2 text-[var(--color-ds-text-primary)]",
4658
4658
  en[o],
4659
- d && "sr-only"
4659
+ u && "sr-only"
4660
4660
  ),
4661
4661
  children: c
4662
4662
  }
@@ -4666,7 +4666,7 @@ function co(r) {
4666
4666
  // Modo “controlado” con React Hook Form
4667
4667
  // ---------------------
4668
4668
  /* @__PURE__ */ i.jsx(
4669
- Oe,
4669
+ Ce,
4670
4670
  {
4671
4671
  name: t,
4672
4672
  control: e,
@@ -4700,7 +4700,7 @@ function co(r) {
4700
4700
  onChange: x
4701
4701
  },
4702
4702
  m,
4703
- u ? { message: p } : void 0,
4703
+ d ? { message: p } : void 0,
4704
4704
  y
4705
4705
  )
4706
4706
  )
@@ -4708,7 +4708,7 @@ function co(r) {
4708
4708
  }
4709
4709
  );
4710
4710
  }
4711
- const nl = ({
4711
+ const al = ({
4712
4712
  trigger: r,
4713
4713
  items: e,
4714
4714
  align: t = "left",
@@ -4716,25 +4716,25 @@ const nl = ({
4716
4716
  }) => {
4717
4717
  const [n, a] = ae(!1), o = ke(null), l = ke([]);
4718
4718
  de(() => {
4719
- const d = (u) => {
4720
- o.current && !o.current.contains(u.target) && a(!1);
4719
+ const u = (d) => {
4720
+ o.current && !o.current.contains(d.target) && a(!1);
4721
4721
  };
4722
- return document.addEventListener("mousedown", d), () => document.removeEventListener("mousedown", d);
4722
+ return document.addEventListener("mousedown", u), () => document.removeEventListener("mousedown", u);
4723
4723
  }, []);
4724
- const c = (d) => {
4724
+ const c = (u) => {
4725
4725
  var p, m;
4726
- const u = l.current.findIndex(
4726
+ const d = l.current.findIndex(
4727
4727
  (y) => y === document.activeElement
4728
4728
  );
4729
- if (d.key === "Escape")
4729
+ if (u.key === "Escape")
4730
4730
  a(!1);
4731
- else if (d.key === "ArrowDown") {
4732
- d.preventDefault();
4733
- const y = (u + 1) % e.length;
4731
+ else if (u.key === "ArrowDown") {
4732
+ u.preventDefault();
4733
+ const y = (d + 1) % e.length;
4734
4734
  (p = l.current[y]) == null || p.focus();
4735
- } else if (d.key === "ArrowUp") {
4736
- d.preventDefault();
4737
- const y = (u - 1 + e.length) % e.length;
4735
+ } else if (u.key === "ArrowUp") {
4736
+ u.preventDefault();
4737
+ const y = (d - 1 + e.length) % e.length;
4738
4738
  (m = l.current[y]) == null || m.focus();
4739
4739
  }
4740
4740
  };
@@ -4743,7 +4743,7 @@ const nl = ({
4743
4743
  "button",
4744
4744
  {
4745
4745
  type: "button",
4746
- onClick: () => a((d) => !d),
4746
+ onClick: () => a((u) => !u),
4747
4747
  className: "inline-flex items-center focus:outline-none",
4748
4748
  "aria-haspopup": "menu",
4749
4749
  "aria-expanded": n,
@@ -4761,8 +4761,8 @@ const nl = ({
4761
4761
  t === "right" ? "right-0" : "left-0"
4762
4762
  ),
4763
4763
  onKeyDown: c,
4764
- children: e.map((d, u) => {
4765
- const { label: p, onSelect: m, disabled: y, icon: x } = d;
4764
+ children: e.map((u, d) => {
4765
+ const { label: p, onSelect: m, disabled: y, icon: x } = u;
4766
4766
  return /* @__PURE__ */ i.jsxs(
4767
4767
  "button",
4768
4768
  {
@@ -4770,7 +4770,7 @@ const nl = ({
4770
4770
  type: "button",
4771
4771
  disabled: y,
4772
4772
  ref: (w) => {
4773
- l.current[u] = w;
4773
+ l.current[d] = w;
4774
4774
  },
4775
4775
  className: I(
4776
4776
  "w-full flex items-center px-4 py-2 text-[var(--color-ds-text-primary)] text-ds-md transition-colors",
@@ -4784,7 +4784,7 @@ const nl = ({
4784
4784
  p
4785
4785
  ]
4786
4786
  },
4787
- u
4787
+ d
4788
4788
  );
4789
4789
  })
4790
4790
  }
@@ -4881,7 +4881,7 @@ const Eo = (r, e) => {
4881
4881
  t.current = r;
4882
4882
  }, [r, e]), t.current;
4883
4883
  }, rn = (r, e, t, s) => r.getFixedT(e, t, s), No = (r, e, t, s) => or(rn(r, e, t, s), [r, e, t, s]), Ar = (r, e = {}) => {
4884
- var $, F, U, q;
4884
+ var O, F, P, q;
4885
4885
  const {
4886
4886
  i18n: t
4887
4887
  } = e, {
@@ -4890,10 +4890,10 @@ const Eo = (r, e) => {
4890
4890
  } = vr(ko) || {}, a = t || s || wo();
4891
4891
  if (a && !a.reportNamespaces && (a.reportNamespaces = new jo()), !a) {
4892
4892
  dr(a, "NO_I18NEXT_INSTANCE", "useTranslation: You will need to pass in an i18next instance by using initReactI18next");
4893
- const N = (J, B) => Je(B) ? B : ho(B) && Je(B.defaultValue) ? B.defaultValue : Array.isArray(J) ? J[J.length - 1] : J, O = [N, {}, !1];
4894
- return O.t = N, O.i18n = {}, O.ready = !1, O;
4893
+ const N = (J, U) => Je(U) ? U : ho(U) && Je(U.defaultValue) ? U.defaultValue : Array.isArray(J) ? J[J.length - 1] : J, M = [N, {}, !1];
4894
+ return M.t = N, M.i18n = {}, M.ready = !1, M;
4895
4895
  }
4896
- ($ = a.options.react) != null && $.wait && dr(a, "DEPRECATED_OPTION", "useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
4896
+ (O = a.options.react) != null && O.wait && dr(a, "DEPRECATED_OPTION", "useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
4897
4897
  const o = {
4898
4898
  ...yo(),
4899
4899
  ...a.options.react,
@@ -4902,35 +4902,35 @@ const Eo = (r, e) => {
4902
4902
  useSuspense: l,
4903
4903
  keyPrefix: c
4904
4904
  } = o;
4905
- let d = n || ((F = a.options) == null ? void 0 : F.defaultNS);
4906
- d = Je(d) ? [d] : d || ["translation"], (q = (U = a.reportNamespaces).addUsedNamespaces) == null || q.call(U, d);
4907
- const u = (a.isInitialized || a.initializedStoreOnce) && d.every((N) => fo(N, a, o)), p = No(a, e.lng || null, o.nsMode === "fallback" ? d : d[0], c), m = () => p, y = () => rn(a, e.lng || null, o.nsMode === "fallback" ? d : d[0], c), [x, w] = ae(m);
4908
- let _ = d.join();
4905
+ let u = n || ((F = a.options) == null ? void 0 : F.defaultNS);
4906
+ u = Je(u) ? [u] : u || ["translation"], (q = (P = a.reportNamespaces).addUsedNamespaces) == null || q.call(P, u);
4907
+ const d = (a.isInitialized || a.initializedStoreOnce) && u.every((N) => fo(N, a, o)), p = No(a, e.lng || null, o.nsMode === "fallback" ? u : u[0], c), m = () => p, y = () => rn(a, e.lng || null, o.nsMode === "fallback" ? u : u[0], c), [x, w] = ae(m);
4908
+ let _ = u.join();
4909
4909
  e.lng && (_ = `${e.lng}${_}`);
4910
4910
  const v = Eo(_), g = ke(!0);
4911
4911
  de(() => {
4912
4912
  const {
4913
4913
  bindI18n: N,
4914
- bindI18nStore: O
4914
+ bindI18nStore: M
4915
4915
  } = o;
4916
- g.current = !0, !u && !l && (e.lng ? ss(a, e.lng, d, () => {
4916
+ g.current = !0, !d && !l && (e.lng ? ss(a, e.lng, u, () => {
4917
4917
  g.current && w(y);
4918
- }) : fr(a, d, () => {
4918
+ }) : fr(a, u, () => {
4919
4919
  g.current && w(y);
4920
- })), u && v && v !== _ && g.current && w(y);
4920
+ })), d && v && v !== _ && g.current && w(y);
4921
4921
  const J = () => {
4922
4922
  g.current && w(y);
4923
4923
  };
4924
- return N && (a == null || a.on(N, J)), O && (a == null || a.store.on(O, J)), () => {
4925
- g.current = !1, a && (N == null || N.split(" ").forEach((B) => a.off(B, J))), O && a && O.split(" ").forEach((B) => a.store.off(B, J));
4924
+ return N && (a == null || a.on(N, J)), M && (a == null || a.store.on(M, J)), () => {
4925
+ g.current = !1, a && (N == null || N.split(" ").forEach((U) => a.off(U, J))), M && a && M.split(" ").forEach((U) => a.store.off(U, J));
4926
4926
  };
4927
4927
  }, [a, _]), de(() => {
4928
- g.current && u && w(m);
4929
- }, [a, c, u]);
4930
- const S = [x, a, u];
4931
- if (S.t = x, S.i18n = a, S.ready = u, u || !u && !l) return S;
4928
+ g.current && d && w(m);
4929
+ }, [a, c, d]);
4930
+ const S = [x, a, d];
4931
+ if (S.t = x, S.i18n = a, S.ready = d, d || !d && !l) return S;
4932
4932
  throw new Promise((N) => {
4933
- e.lng ? ss(a, e.lng, d, () => N()) : fr(a, d, () => N());
4933
+ e.lng ? ss(a, e.lng, u, () => N()) : fr(a, u, () => N());
4934
4934
  });
4935
4935
  }, hr = {
4936
4936
  sm: "text-sm",
@@ -4938,27 +4938,27 @@ const Eo = (r, e) => {
4938
4938
  lg: "text-lg"
4939
4939
  };
4940
4940
  function ns(r, e, t, s, n, a, o, l, c) {
4941
- const { t: d } = Ar(), u = ke(null), p = typeof s == "number" && e.length >= s, m = () => {
4941
+ const { t: u } = Ar(), d = ke(null), p = typeof s == "number" && e.length >= s, m = () => {
4942
4942
  var g;
4943
- !o && !p && ((g = u.current) == null || g.click());
4943
+ !o && !p && ((g = d.current) == null || g.click());
4944
4944
  }, y = (g) => {
4945
4945
  const S = g.target.files;
4946
4946
  if (!S) return;
4947
- const $ = Array.from(S);
4948
- let F = e.concat($);
4947
+ const O = Array.from(S);
4948
+ let F = e.concat(O);
4949
4949
  s && (F = F.slice(0, s)), t(F), g.target.value = "";
4950
4950
  }, x = (g) => {
4951
4951
  if (g.preventDefault(), o || p) return;
4952
4952
  const S = Array.from(g.dataTransfer.files);
4953
- let $ = e.concat(S);
4954
- s && ($ = $.slice(0, s)), t($);
4953
+ let O = e.concat(S);
4954
+ s && (O = O.slice(0, s)), t(O);
4955
4955
  }, w = (g) => {
4956
4956
  g.preventDefault();
4957
4957
  }, _ = (g) => {
4958
4958
  const S = URL.createObjectURL(g);
4959
4959
  window.open(S);
4960
4960
  }, v = (g) => {
4961
- const S = e.filter(($, F) => F !== g);
4961
+ const S = e.filter((O, F) => F !== g);
4962
4962
  t(S);
4963
4963
  };
4964
4964
  return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
@@ -4971,7 +4971,7 @@ function ns(r, e, t, s, n, a, o, l, c) {
4971
4971
  icon: Ir,
4972
4972
  onClick: m,
4973
4973
  disabled: o || p,
4974
- children: d("ds.fileUploader.browse", "Browse files")
4974
+ children: u("ds.fileUploader.browse", "Browse files")
4975
4975
  }
4976
4976
  ) }),
4977
4977
  !p && /* @__PURE__ */ i.jsxs(
@@ -4991,7 +4991,7 @@ function ns(r, e, t, s, n, a, o, l, c) {
4991
4991
  {
4992
4992
  id: r,
4993
4993
  type: "file",
4994
- ref: u,
4994
+ ref: d,
4995
4995
  className: "hidden",
4996
4996
  multiple: s !== 1,
4997
4997
  accept: n,
@@ -5000,14 +5000,14 @@ function ns(r, e, t, s, n, a, o, l, c) {
5000
5000
  }
5001
5001
  ),
5002
5002
  /* @__PURE__ */ i.jsx(
5003
- Be,
5003
+ Ue,
5004
5004
  {
5005
5005
  component: Yn,
5006
5006
  size: "md",
5007
5007
  className: "w-8 h-8 text-[var(--color-ds-text-secondary)]"
5008
5008
  }
5009
5009
  ),
5010
- /* @__PURE__ */ i.jsx("p", { className: "mt-3 text-[var(--color-ds-text-secondary)] text-center", children: d(
5010
+ /* @__PURE__ */ i.jsx("p", { className: "mt-3 text-[var(--color-ds-text-secondary)] text-center", children: u(
5011
5011
  "ds.fileUploader.dragDrop",
5012
5012
  "Drag & drop your files here or click to browse"
5013
5013
  ) })
@@ -5030,7 +5030,7 @@ function ns(r, e, t, s, n, a, o, l, c) {
5030
5030
  variant: "ghost",
5031
5031
  size: "sm",
5032
5032
  icon: Ss,
5033
- ariaLabel: d("ds.fileUploader.view", "View"),
5033
+ ariaLabel: u("ds.fileUploader.view", "View"),
5034
5034
  onClick: () => _(g)
5035
5035
  }
5036
5036
  ),
@@ -5040,7 +5040,7 @@ function ns(r, e, t, s, n, a, o, l, c) {
5040
5040
  variant: "ghost",
5041
5041
  size: "sm",
5042
5042
  icon: kr,
5043
- ariaLabel: d("ds.fileUploader.remove", "Remove"),
5043
+ ariaLabel: u("ds.fileUploader.remove", "Remove"),
5044
5044
  onClick: () => v(S)
5045
5045
  }
5046
5046
  )
@@ -5062,8 +5062,8 @@ function _o(r) {
5062
5062
  accept: o,
5063
5063
  size: l = "sm",
5064
5064
  width: c = "100%",
5065
- label: d,
5066
- labelHidden: u = !1,
5065
+ label: u,
5066
+ labelHidden: d = !1,
5067
5067
  disabled: p = !1,
5068
5068
  hasError: m = !1,
5069
5069
  errorMessage: y = "",
@@ -5071,26 +5071,26 @@ function _o(r) {
5071
5071
  } = r, w = et(), _ = t || w;
5072
5072
  if (e && t)
5073
5073
  return /* @__PURE__ */ i.jsxs("div", { className: I("flex flex-col", x), style: { width: c }, children: [
5074
- d && /* @__PURE__ */ i.jsx(
5074
+ u && /* @__PURE__ */ i.jsx(
5075
5075
  "label",
5076
5076
  {
5077
5077
  htmlFor: _,
5078
5078
  className: I(
5079
5079
  "pb-[10px] text-[var(--color-ds-text-primary)]",
5080
5080
  hr[l],
5081
- u && "sr-only"
5081
+ d && "sr-only"
5082
5082
  ),
5083
- children: d
5083
+ children: u
5084
5084
  }
5085
5085
  ),
5086
5086
  /* @__PURE__ */ i.jsx(
5087
- Oe,
5087
+ Ce,
5088
5088
  {
5089
5089
  name: t,
5090
5090
  control: e,
5091
5091
  rules: s,
5092
5092
  defaultValue: n instanceof FileList ? Array.from(n) : n || [],
5093
- render: ({ field: S, fieldState: $ }) => ns(
5093
+ render: ({ field: S, fieldState: O }) => ns(
5094
5094
  _,
5095
5095
  S.value,
5096
5096
  (F) => S.onChange(F),
@@ -5098,7 +5098,7 @@ function _o(r) {
5098
5098
  o,
5099
5099
  l,
5100
5100
  p,
5101
- $.error,
5101
+ O.error,
5102
5102
  x
5103
5103
  )
5104
5104
  }
@@ -5108,16 +5108,16 @@ function _o(r) {
5108
5108
  n instanceof FileList ? Array.from(n) : n || []
5109
5109
  );
5110
5110
  return /* @__PURE__ */ i.jsxs("div", { className: I("flex flex-col", x), style: { width: c }, children: [
5111
- d && /* @__PURE__ */ i.jsx(
5111
+ u && /* @__PURE__ */ i.jsx(
5112
5112
  "label",
5113
5113
  {
5114
5114
  htmlFor: _,
5115
5115
  className: I(
5116
5116
  "pb-[10px] text-[var(--color-ds-text-primary)]",
5117
5117
  hr[l],
5118
- u && "sr-only"
5118
+ d && "sr-only"
5119
5119
  ),
5120
- children: d
5120
+ children: u
5121
5121
  }
5122
5122
  ),
5123
5123
  ns(
@@ -5189,8 +5189,8 @@ function Cr({
5189
5189
  hasError: o = !1,
5190
5190
  errorMessage: l = "",
5191
5191
  prefixIcon: c,
5192
- suffixIcon: d,
5193
- separator: u,
5192
+ suffixIcon: u,
5193
+ separator: d,
5194
5194
  suffixButton: p,
5195
5195
  disabled: m = !1,
5196
5196
  control: y,
@@ -5201,10 +5201,10 @@ function Cr({
5201
5201
  disableErrorPlaceholder: g,
5202
5202
  // <- alias deprecado
5203
5203
  loading: S = !1,
5204
- className: $,
5204
+ className: O,
5205
5205
  ...F
5206
5206
  }) {
5207
- const U = et(), [q, N] = ae(!1), O = r || U, J = e === "password", M = c ?? (e === "number" ? ea : void 0), Y = J ? q ? Kn : Ss : d, K = typeof v == "boolean" ? v : typeof g == "boolean" ? !g : !!y, W = I(
5207
+ const P = et(), [q, N] = ae(!1), M = r || P, J = e === "password", $ = c ?? (e === "number" ? ea : void 0), Y = J ? q ? Kn : Ss : u, K = typeof v == "boolean" ? v : typeof g == "boolean" ? !g : !!y, W = I(
5208
5208
  "box-border w-full rounded-lg border placeholder-[var(--color-ds-text-secondary)] outline-none transition font-[var(--font-primary)] appearance-none",
5209
5209
  Ft[t],
5210
5210
  Fo[t],
@@ -5217,34 +5217,34 @@ function Cr({
5217
5217
  "disabled:cursor-not-allowed"
5218
5218
  );
5219
5219
  return S ? /* @__PURE__ */ i.jsxs("div", { className: "flex flex-col", style: { width: s, maxWidth: "100%" }, children: [
5220
- !a && n && /* @__PURE__ */ i.jsx("label", { htmlFor: O, className: I("pb-2", Ft[t]), children: n }),
5220
+ !a && n && /* @__PURE__ */ i.jsx("label", { htmlFor: M, className: I("pb-2", Ft[t]), children: n }),
5221
5221
  /* @__PURE__ */ i.jsx(it, { width: "100%", height: To[t], variant: "rect", className: "rounded-lg" }),
5222
5222
  /* @__PURE__ */ i.jsx("div", { className: "min-h-[18px] w-full", children: /* @__PURE__ */ i.jsx("span", { "aria-hidden": "true", children: " " }) })
5223
5223
  ] }) : y && x ? /* @__PURE__ */ i.jsx(
5224
- Oe,
5224
+ Ce,
5225
5225
  {
5226
5226
  name: x,
5227
5227
  control: y,
5228
5228
  rules: w,
5229
5229
  defaultValue: _,
5230
5230
  render: ({ field: H, fieldState: A }) => /* @__PURE__ */ i.jsxs("div", { className: "flex flex-col", style: { width: s }, children: [
5231
- !a && n && /* @__PURE__ */ i.jsx("label", { htmlFor: O, className: I("pb-2 text-[var(--color-ds-text-primary)]", Ft[t]), children: n }),
5231
+ !a && n && /* @__PURE__ */ i.jsx("label", { htmlFor: M, className: I("pb-2 text-[var(--color-ds-text-primary)]", Ft[t]), children: n }),
5232
5232
  /* @__PURE__ */ i.jsxs("div", { className: "relative flex items-center w-full", children: [
5233
- M && /* @__PURE__ */ i.jsx("div", { className: I("absolute left-0 flex items-center h-full", as[t]), children: /* @__PURE__ */ i.jsx(Be, { component: M, size: t, className: "text-[var(--color-ds-text-secondary)]" }) }),
5233
+ $ && /* @__PURE__ */ i.jsx("div", { className: I("absolute left-0 flex items-center h-full", as[t]), children: /* @__PURE__ */ i.jsx(Ue, { component: $, size: t, className: "text-[var(--color-ds-text-secondary)]" }) }),
5234
5234
  /* @__PURE__ */ i.jsx(
5235
5235
  "input",
5236
5236
  {
5237
5237
  ...H,
5238
- id: O,
5238
+ id: M,
5239
5239
  type: J ? q ? "text" : "password" : e,
5240
5240
  disabled: m,
5241
5241
  "aria-invalid": !!A.error,
5242
- className: I(W, M && "pl-9", Y && "pr-9", $),
5242
+ className: I(W, $ && "pl-9", Y && "pr-9", O),
5243
5243
  onInvalid: (h) => h.preventDefault(),
5244
5244
  style: J && !q ? { WebkitTextSecurity: "disc", MozTextSecurity: "disc" } : void 0
5245
5245
  }
5246
5246
  ),
5247
- u && /* @__PURE__ */ i.jsx("div", { className: "flex items-center h-full", children: u }),
5247
+ d && /* @__PURE__ */ i.jsx("div", { className: "flex items-center h-full", children: d }),
5248
5248
  p && /* @__PURE__ */ i.jsx("div", { className: "flex items-center h-full pr-2", children: p }),
5249
5249
  Y && /* @__PURE__ */ i.jsx(
5250
5250
  "button",
@@ -5253,7 +5253,7 @@ function Cr({
5253
5253
  onClick: () => N((h) => !h),
5254
5254
  className: "absolute right-0 flex items-center h-full pr-2",
5255
5255
  tabIndex: -1,
5256
- children: /* @__PURE__ */ i.jsx(Be, { component: Y, size: t, className: "text-[var(--color-ds-text-secondary)]" })
5256
+ children: /* @__PURE__ */ i.jsx(Ue, { component: Y, size: t, className: "text-[var(--color-ds-text-secondary)]" })
5257
5257
  }
5258
5258
  )
5259
5259
  ] }),
@@ -5261,23 +5261,23 @@ function Cr({
5261
5261
  ] })
5262
5262
  }
5263
5263
  ) : /* @__PURE__ */ i.jsxs("div", { className: "flex flex-col", style: { width: s }, children: [
5264
- !a && n && /* @__PURE__ */ i.jsx("label", { htmlFor: O, className: I("pb-2 text-[var(--color-ds-text-primary)]", Ft[t]), children: n }),
5264
+ !a && n && /* @__PURE__ */ i.jsx("label", { htmlFor: M, className: I("pb-2 text-[var(--color-ds-text-primary)]", Ft[t]), children: n }),
5265
5265
  /* @__PURE__ */ i.jsxs("div", { className: "relative flex items-center w-full", children: [
5266
- M && /* @__PURE__ */ i.jsx("div", { className: I("absolute left-0 flex items-center h-full", as[t]), children: /* @__PURE__ */ i.jsx(Be, { component: M, size: t, className: "text-[var(--color-ds-text-secondary)]" }) }),
5266
+ $ && /* @__PURE__ */ i.jsx("div", { className: I("absolute left-0 flex items-center h-full", as[t]), children: /* @__PURE__ */ i.jsx(Ue, { component: $, size: t, className: "text-[var(--color-ds-text-secondary)]" }) }),
5267
5267
  /* @__PURE__ */ i.jsx(
5268
5268
  "input",
5269
5269
  {
5270
5270
  ...F,
5271
- id: O,
5271
+ id: M,
5272
5272
  type: J ? q ? "text" : "password" : e,
5273
5273
  disabled: m,
5274
5274
  "aria-invalid": o,
5275
- className: I(W, M && "pl-9", Y && "pr-9", $),
5275
+ className: I(W, $ && "pl-9", Y && "pr-9", O),
5276
5276
  onInvalid: (H) => H.preventDefault(),
5277
5277
  style: J && !q ? { WebkitTextSecurity: "disc", MozTextSecurity: "disc" } : void 0
5278
5278
  }
5279
5279
  ),
5280
- u && /* @__PURE__ */ i.jsx("div", { className: "flex items-center h-full", children: u }),
5280
+ d && /* @__PURE__ */ i.jsx("div", { className: "flex items-center h-full", children: d }),
5281
5281
  p && /* @__PURE__ */ i.jsx("div", { className: "flex items-center h-full", children: p }),
5282
5282
  Y && /* @__PURE__ */ i.jsx(
5283
5283
  "button",
@@ -5286,7 +5286,7 @@ function Cr({
5286
5286
  onClick: () => N((H) => !H),
5287
5287
  className: "absolute right-0 flex items-center h-full pr-2",
5288
5288
  tabIndex: -1,
5289
- children: /* @__PURE__ */ i.jsx(Be, { component: Y, size: t, className: "text-[var(--color-ds-text-secondary)]" })
5289
+ children: /* @__PURE__ */ i.jsx(Ue, { component: Y, size: t, className: "text-[var(--color-ds-text-secondary)]" })
5290
5290
  }
5291
5291
  )
5292
5292
  ] }),
@@ -5303,7 +5303,7 @@ const Ao = {
5303
5303
  position: t = "top",
5304
5304
  className: s
5305
5305
  }) => {
5306
- const [n, a] = ae(!1), [o, l] = ae({ x: 0, y: 0 }), c = ke(null), d = et();
5306
+ const [n, a] = ae(!1), [o, l] = ae({ x: 0, y: 0 }), c = ke(null), u = et();
5307
5307
  de(() => {
5308
5308
  if (n && c.current) {
5309
5309
  const m = c.current.getBoundingClientRect();
@@ -5325,10 +5325,10 @@ const Ao = {
5325
5325
  l({ x: y, y: x });
5326
5326
  }
5327
5327
  }, [n, t]);
5328
- const u = () => typeof r == "string" ? /* @__PURE__ */ i.jsx("div", { dangerouslySetInnerHTML: { __html: r } }) : /* @__PURE__ */ i.jsx(i.Fragment, { children: r }), p = n ? /* @__PURE__ */ i.jsx(
5328
+ const d = () => typeof r == "string" ? /* @__PURE__ */ i.jsx("div", { dangerouslySetInnerHTML: { __html: r } }) : /* @__PURE__ */ i.jsx(i.Fragment, { children: r }), p = n ? /* @__PURE__ */ i.jsx(
5329
5329
  "div",
5330
5330
  {
5331
- id: d,
5331
+ id: u,
5332
5332
  role: "tooltip",
5333
5333
  className: I(
5334
5334
  "fixed z-50 w-[250px] bg-[var(--color-ds-background-page)] text-[var(--color-ds-text-primary)] text-ds-sm rounded p-2 shadow-lg",
@@ -5339,7 +5339,7 @@ const Ao = {
5339
5339
  left: `${o.x}px`,
5340
5340
  transform: t === "left" || t === "right" ? "translateY(-50%)" : t === "top" ? "translateY(-100%)" : void 0
5341
5341
  },
5342
- children: u()
5342
+ children: d()
5343
5343
  }
5344
5344
  ) : null;
5345
5345
  return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
@@ -5347,7 +5347,7 @@ const Ao = {
5347
5347
  "button",
5348
5348
  {
5349
5349
  type: "button",
5350
- "aria-describedby": d,
5350
+ "aria-describedby": u,
5351
5351
  ref: c,
5352
5352
  className: I(
5353
5353
  "inline-flex items-center justify-center focus:outline-none",
@@ -5375,19 +5375,19 @@ function Oo({
5375
5375
  validation: o,
5376
5376
  loadingDefaults: l,
5377
5377
  disabled: c,
5378
- info: d
5378
+ info: u
5379
5379
  }) {
5380
5380
  var _;
5381
5381
  const {
5382
- control: u,
5382
+ control: d,
5383
5383
  formState: { errors: p }
5384
5384
  } = wt(), m = !!p[r], y = ((_ = p[r]) == null ? void 0 : _.message) || "", x = "relative", w = n ?? "w-full";
5385
5385
  return /* @__PURE__ */ i.jsxs("div", { className: x, children: [
5386
5386
  /* @__PURE__ */ i.jsx(
5387
- Oe,
5387
+ Ce,
5388
5388
  {
5389
5389
  name: r,
5390
- control: u,
5390
+ control: d,
5391
5391
  rules: o,
5392
5392
  render: ({ field: v }) => /* @__PURE__ */ i.jsx(
5393
5393
  Cr,
@@ -5407,20 +5407,20 @@ function Oo({
5407
5407
  )
5408
5408
  }
5409
5409
  ),
5410
- d && /* @__PURE__ */ i.jsx(
5410
+ u && /* @__PURE__ */ i.jsx(
5411
5411
  Co,
5412
5412
  {
5413
5413
  size: s,
5414
5414
  position: "left",
5415
5415
  className: "absolute top-1/2 right-2 -translate-y-1/2",
5416
- children: d
5416
+ children: u
5417
5417
  }
5418
5418
  )
5419
5419
  ] });
5420
5420
  }
5421
5421
  const sn = ne.memo(Oo);
5422
5422
  sn.displayName = "FormFieldInput";
5423
- function al({
5423
+ function ol({
5424
5424
  title: r,
5425
5425
  headerButtons: e,
5426
5426
  children: t,
@@ -5477,21 +5477,21 @@ function $o(r, e, t) {
5477
5477
  try {
5478
5478
  return Promise.resolve(function(o, l) {
5479
5479
  try {
5480
- var c = (e != null && e.context && process.env.NODE_ENV === "development" && console.warn("You should not used the yup options context. Please, use the 'useForm' context object instead"), Promise.resolve(r[t.mode === "sync" ? "validateSync" : "validate"](s, Object.assign({ abortEarly: !1 }, e, { context: n }))).then(function(d) {
5481
- return a.shouldUseNativeValidation && nn({}, a), { values: t.raw ? Object.assign({}, s) : d, errors: {} };
5480
+ var c = (e != null && e.context && process.env.NODE_ENV === "development" && console.warn("You should not used the yup options context. Please, use the 'useForm' context object instead"), Promise.resolve(r[t.mode === "sync" ? "validateSync" : "validate"](s, Object.assign({ abortEarly: !1 }, e, { context: n }))).then(function(u) {
5481
+ return a.shouldUseNativeValidation && nn({}, a), { values: t.raw ? Object.assign({}, s) : u, errors: {} };
5482
5482
  }));
5483
- } catch (d) {
5484
- return l(d);
5483
+ } catch (u) {
5484
+ return l(u);
5485
5485
  }
5486
5486
  return c && c.then ? c.then(void 0, l) : c;
5487
5487
  }(0, function(o) {
5488
5488
  if (!o.inner) throw o;
5489
- return { values: {}, errors: Ro((l = o, c = !a.shouldUseNativeValidation && a.criteriaMode === "all", (l.inner || []).reduce(function(d, u) {
5490
- if (d[u.path] || (d[u.path] = { message: u.message, type: u.type }), c) {
5491
- var p = d[u.path].types, m = p && p[u.type];
5492
- d[u.path] = Gs(u.path, c, d, u.type, m ? [].concat(m, u.message) : u.message);
5489
+ return { values: {}, errors: Ro((l = o, c = !a.shouldUseNativeValidation && a.criteriaMode === "all", (l.inner || []).reduce(function(u, d) {
5490
+ if (u[d.path] || (u[d.path] = { message: d.message, type: d.type }), c) {
5491
+ var p = u[d.path].types, m = p && p[d.type];
5492
+ u[d.path] = Gs(d.path, c, u, d.type, m ? [].concat(m, d.message) : d.message);
5493
5493
  }
5494
- return d;
5494
+ return u;
5495
5495
  }, {})), a) };
5496
5496
  var l, c;
5497
5497
  }));
@@ -5514,28 +5514,28 @@ function Mo() {
5514
5514
  }, r.prototype.set = function(v, g) {
5515
5515
  return this._size >= this._maxSize && this.clear(), v in this._values || this._size++, this._values[v] = g;
5516
5516
  };
5517
- var e = /[^.^\]^[]+|(?=\[\]|\.\.)/g, t = /^\d+$/, s = /^\d/, n = /[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g, a = /^\s*(['"]?)(.*?)(\1)\s*$/, o = 512, l = new r(o), c = new r(o), d = new r(o);
5517
+ var e = /[^.^\]^[]+|(?=\[\]|\.\.)/g, t = /^\d+$/, s = /^\d/, n = /[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g, a = /^\s*(['"]?)(.*?)(\1)\s*$/, o = 512, l = new r(o), c = new r(o), u = new r(o);
5518
5518
  rr = {
5519
5519
  Cache: r,
5520
5520
  split: p,
5521
- normalizePath: u,
5521
+ normalizePath: d,
5522
5522
  setter: function(v) {
5523
- var g = u(v);
5524
- return c.get(v) || c.set(v, function($, F) {
5525
- for (var U = 0, q = g.length, N = $; U < q - 1; ) {
5526
- var O = g[U];
5527
- if (O === "__proto__" || O === "constructor" || O === "prototype")
5528
- return $;
5529
- N = N[g[U++]];
5523
+ var g = d(v);
5524
+ return c.get(v) || c.set(v, function(O, F) {
5525
+ for (var P = 0, q = g.length, N = O; P < q - 1; ) {
5526
+ var M = g[P];
5527
+ if (M === "__proto__" || M === "constructor" || M === "prototype")
5528
+ return O;
5529
+ N = N[g[P++]];
5530
5530
  }
5531
- N[g[U]] = F;
5531
+ N[g[P]] = F;
5532
5532
  });
5533
5533
  },
5534
5534
  getter: function(v, g) {
5535
- var S = u(v);
5536
- return d.get(v) || d.set(v, function(F) {
5537
- for (var U = 0, q = S.length; U < q; )
5538
- if (F != null || !g) F = F[S[U++]];
5535
+ var S = d(v);
5536
+ return u.get(v) || u.set(v, function(F) {
5537
+ for (var P = 0, q = S.length; P < q; )
5538
+ if (F != null || !g) F = F[S[P++]];
5539
5539
  else return;
5540
5540
  return F;
5541
5541
  });
@@ -5549,7 +5549,7 @@ function Mo() {
5549
5549
  m(Array.isArray(v) ? v : p(v), g, S);
5550
5550
  }
5551
5551
  };
5552
- function u(v) {
5552
+ function d(v) {
5553
5553
  return l.get(v) || l.set(
5554
5554
  v,
5555
5555
  p(v).map(function(g) {
@@ -5561,9 +5561,9 @@ function Mo() {
5561
5561
  return v.match(e) || [""];
5562
5562
  }
5563
5563
  function m(v, g, S) {
5564
- var $ = v.length, F, U, q, N;
5565
- for (U = 0; U < $; U++)
5566
- F = v[U], F && (_(F) && (F = '"' + F + '"'), N = y(F), q = !N && /^\d+$/.test(F), g.call(S, F, N, q, U, v));
5564
+ var O = v.length, F, P, q, N;
5565
+ for (P = 0; P < O; P++)
5566
+ F = v[P], F && (_(F) && (F = '"' + F + '"'), N = y(F), q = !N && /^\d+$/.test(F), g.call(S, F, N, q, P, v));
5567
5567
  }
5568
5568
  function y(v) {
5569
5569
  return typeof v == "string" && v && ["'", '"'].indexOf(v.charAt(0)) !== -1;
@@ -5583,7 +5583,7 @@ var Qe = Mo(), sr, cs;
5583
5583
  function Do() {
5584
5584
  if (cs) return sr;
5585
5585
  cs = 1;
5586
- const r = /[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g, e = (u) => u.match(r) || [], t = (u) => u[0].toUpperCase() + u.slice(1), s = (u, p) => e(u).join(p).toLowerCase(), n = (u) => e(u).reduce(
5586
+ const r = /[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g, e = (d) => d.match(r) || [], t = (d) => d[0].toUpperCase() + d.slice(1), s = (d, p) => e(d).join(p).toLowerCase(), n = (d) => e(d).reduce(
5587
5587
  (p, m) => `${p}${p ? m[0].toUpperCase() + m.slice(1).toLowerCase() : m.toLowerCase()}`,
5588
5588
  ""
5589
5589
  );
@@ -5591,11 +5591,11 @@ function Do() {
5591
5591
  words: e,
5592
5592
  upperFirst: t,
5593
5593
  camelCase: n,
5594
- pascalCase: (u) => t(n(u)),
5595
- snakeCase: (u) => s(u, "_"),
5596
- kebabCase: (u) => s(u, "-"),
5597
- sentenceCase: (u) => t(s(u, " ")),
5598
- titleCase: (u) => e(u).map(t).join(" ")
5594
+ pascalCase: (d) => t(n(d)),
5595
+ snakeCase: (d) => s(d, "_"),
5596
+ kebabCase: (d) => s(d, "-"),
5597
+ sentenceCase: (d) => t(s(d, " ")),
5598
+ titleCase: (d) => e(d).map(t).join(" ")
5599
5599
  }, sr;
5600
5600
  }
5601
5601
  var nr = Do(), Tt = { exports: {} }, us;
@@ -5605,12 +5605,12 @@ function Io() {
5605
5605
  return r(e(n), n);
5606
5606
  }, Tt.exports.array = r;
5607
5607
  function r(n, a) {
5608
- var o = n.length, l = new Array(o), c = {}, d = o, u = t(a), p = s(n);
5608
+ var o = n.length, l = new Array(o), c = {}, u = o, d = t(a), p = s(n);
5609
5609
  for (a.forEach(function(y) {
5610
5610
  if (!p.has(y[0]) || !p.has(y[1]))
5611
5611
  throw new Error("Unknown node. There is an unknown node in the supplied edges.");
5612
- }); d--; )
5613
- c[d] || m(n[d], d, /* @__PURE__ */ new Set());
5612
+ }); u--; )
5613
+ c[u] || m(n[u], u, /* @__PURE__ */ new Set());
5614
5614
  return l;
5615
5615
  function m(y, x, w) {
5616
5616
  if (w.has(y)) {
@@ -5626,7 +5626,7 @@ function Io() {
5626
5626
  throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: " + JSON.stringify(y));
5627
5627
  if (!c[x]) {
5628
5628
  c[x] = !0;
5629
- var v = u.get(y) || /* @__PURE__ */ new Set();
5629
+ var v = d.get(y) || /* @__PURE__ */ new Set();
5630
5630
  if (v = Array.from(v), x = v.length) {
5631
5631
  w.add(y);
5632
5632
  do {
@@ -5661,7 +5661,7 @@ function Io() {
5661
5661
  return Tt.exports;
5662
5662
  }
5663
5663
  var Lo = Io();
5664
- const Po = /* @__PURE__ */ An(Lo), zo = Object.prototype.toString, Uo = Error.prototype.toString, Bo = RegExp.prototype.toString, Zo = typeof Symbol < "u" ? Symbol.prototype.toString : () => "", Wo = /^Symbol\((.*)\)(.*)$/;
5664
+ const Po = /* @__PURE__ */ An(Lo), zo = Object.prototype.toString, Bo = Error.prototype.toString, Uo = RegExp.prototype.toString, Zo = typeof Symbol < "u" ? Symbol.prototype.toString : () => "", Wo = /^Symbol\((.*)\)(.*)$/;
5665
5665
  function qo(r) {
5666
5666
  return r != +r ? "NaN" : r === 0 && 1 / r < 0 ? "-0" : "" + r;
5667
5667
  }
@@ -5673,7 +5673,7 @@ function ds(r, e = !1) {
5673
5673
  if (t === "function") return "[Function " + (r.name || "anonymous") + "]";
5674
5674
  if (t === "symbol") return Zo.call(r).replace(Wo, "Symbol($1)");
5675
5675
  const s = zo.call(r).slice(8, -1);
5676
- return s === "Date" ? isNaN(r.getTime()) ? "" + r : r.toISOString(r) : s === "Error" || r instanceof Error ? "[" + Uo.call(r) + "]" : s === "RegExp" ? Bo.call(r) : null;
5676
+ return s === "Date" ? isNaN(r.getTime()) ? "" + r : r.toISOString(r) : s === "Error" || r instanceof Error ? "[" + Bo.call(r) + "]" : s === "RegExp" ? Uo.call(r) : null;
5677
5677
  }
5678
5678
  function Ze(r, e) {
5679
5679
  let t = ds(r, e);
@@ -5797,7 +5797,7 @@ Object.assign(/* @__PURE__ */ Object.create(null), {
5797
5797
  tuple: Yo
5798
5798
  });
5799
5799
  const Gt = (r) => r && r.__isYupSchema__;
5800
- class Ut {
5800
+ class Bt {
5801
5801
  static fromOptions(e, t) {
5802
5802
  if (!t.then && !t.otherwise) throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");
5803
5803
  let {
@@ -5805,10 +5805,10 @@ class Ut {
5805
5805
  then: n,
5806
5806
  otherwise: a
5807
5807
  } = t, o = typeof s == "function" ? s : (...l) => l.every((c) => c === s);
5808
- return new Ut(e, (l, c) => {
5809
- var d;
5810
- let u = o(...l) ? n : a;
5811
- return (d = u == null ? void 0 : u(c)) != null ? d : c;
5808
+ return new Bt(e, (l, c) => {
5809
+ var u;
5810
+ let d = o(...l) ? n : a;
5811
+ return (u = d == null ? void 0 : d(c)) != null ? u : c;
5812
5812
  });
5813
5813
  }
5814
5814
  constructor(e, t) {
@@ -5869,7 +5869,7 @@ class tt {
5869
5869
  }
5870
5870
  }
5871
5871
  tt.prototype.__isYupRef = !0;
5872
- const $e = (r) => r == null;
5872
+ const Ve = (r) => r == null;
5873
5873
  function nt(r) {
5874
5874
  function e({
5875
5875
  value: t,
@@ -5879,8 +5879,8 @@ function nt(r) {
5879
5879
  schema: o
5880
5880
  }, l, c) {
5881
5881
  const {
5882
- name: d,
5883
- test: u,
5882
+ name: u,
5883
+ test: d,
5884
5884
  params: p,
5885
5885
  message: m,
5886
5886
  skipAbsent: y
@@ -5891,27 +5891,27 @@ function nt(r) {
5891
5891
  abortEarly: _ = o.spec.abortEarly,
5892
5892
  disableStackTrace: v = o.spec.disableStackTrace
5893
5893
  } = n;
5894
- function g(B) {
5895
- return tt.isRef(B) ? B.getValue(t, x, w) : B;
5894
+ function g(U) {
5895
+ return tt.isRef(U) ? U.getValue(t, x, w) : U;
5896
5896
  }
5897
- function S(B = {}) {
5898
- const M = Object.assign({
5897
+ function S(U = {}) {
5898
+ const $ = Object.assign({
5899
5899
  value: t,
5900
5900
  originalValue: a,
5901
5901
  label: o.spec.label,
5902
- path: B.path || s,
5902
+ path: U.path || s,
5903
5903
  spec: o.spec,
5904
- disableStackTrace: B.disableStackTrace || v
5905
- }, p, B.params);
5906
- for (const K of Object.keys(M)) M[K] = g(M[K]);
5907
- const Y = new _e(_e.formatError(B.message || m, M), t, M.path, B.type || d, M.disableStackTrace);
5908
- return Y.params = M, Y;
5904
+ disableStackTrace: U.disableStackTrace || v
5905
+ }, p, U.params);
5906
+ for (const K of Object.keys($)) $[K] = g($[K]);
5907
+ const Y = new _e(_e.formatError(U.message || m, $), t, $.path, U.type || u, $.disableStackTrace);
5908
+ return Y.params = $, Y;
5909
5909
  }
5910
- const $ = _ ? l : c;
5910
+ const O = _ ? l : c;
5911
5911
  let F = {
5912
5912
  path: s,
5913
5913
  parent: x,
5914
- type: d,
5914
+ type: u,
5915
5915
  from: n.from,
5916
5916
  createError: S,
5917
5917
  resolve: g,
@@ -5919,50 +5919,50 @@ function nt(r) {
5919
5919
  originalValue: a,
5920
5920
  schema: o
5921
5921
  };
5922
- const U = (B) => {
5923
- _e.isError(B) ? $(B) : B ? c(null) : $(S());
5924
- }, q = (B) => {
5925
- _e.isError(B) ? $(B) : l(B);
5922
+ const P = (U) => {
5923
+ _e.isError(U) ? O(U) : U ? c(null) : O(S());
5924
+ }, q = (U) => {
5925
+ _e.isError(U) ? O(U) : l(U);
5926
5926
  };
5927
- if (y && $e(t))
5928
- return U(!0);
5929
- let O;
5927
+ if (y && Ve(t))
5928
+ return P(!0);
5929
+ let M;
5930
5930
  try {
5931
5931
  var J;
5932
- if (O = u.call(F, t, F), typeof ((J = O) == null ? void 0 : J.then) == "function") {
5932
+ if (M = d.call(F, t, F), typeof ((J = M) == null ? void 0 : J.then) == "function") {
5933
5933
  if (n.sync)
5934
5934
  throw new Error(`Validation test of type: "${F.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);
5935
- return Promise.resolve(O).then(U, q);
5935
+ return Promise.resolve(M).then(P, q);
5936
5936
  }
5937
- } catch (B) {
5938
- q(B);
5937
+ } catch (U) {
5938
+ q(U);
5939
5939
  return;
5940
5940
  }
5941
- U(O);
5941
+ P(M);
5942
5942
  }
5943
5943
  return e.OPTIONS = r, e;
5944
5944
  }
5945
5945
  function Ho(r, e, t, s = t) {
5946
5946
  let n, a, o;
5947
- return e ? (Qe.forEach(e, (l, c, d) => {
5948
- let u = c ? l.slice(1, l.length - 1) : l;
5947
+ return e ? (Qe.forEach(e, (l, c, u) => {
5948
+ let d = c ? l.slice(1, l.length - 1) : l;
5949
5949
  r = r.resolve({
5950
5950
  context: s,
5951
5951
  parent: n,
5952
5952
  value: t
5953
5953
  });
5954
- let p = r.type === "tuple", m = d ? parseInt(u, 10) : 0;
5954
+ let p = r.type === "tuple", m = u ? parseInt(d, 10) : 0;
5955
5955
  if (r.innerType || p) {
5956
- if (p && !d) throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${o}" must contain an index to the tuple element, e.g. "${o}[0]"`);
5956
+ if (p && !u) throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${o}" must contain an index to the tuple element, e.g. "${o}[0]"`);
5957
5957
  if (t && m >= t.length)
5958
5958
  throw new Error(`Yup.reach cannot resolve an array item at index: ${l}, in the path: ${e}. because there is no value at that index. `);
5959
5959
  n = t, t = t && t[m], r = p ? r.spec.types[m] : r.innerType;
5960
5960
  }
5961
- if (!d) {
5962
- if (!r.fields || !r.fields[u]) throw new Error(`The schema does not contain the path: ${e}. (failed at: ${o} which is a type: "${r.type}")`);
5963
- n = t, t = t && t[u], r = r.fields[u];
5961
+ if (!u) {
5962
+ if (!r.fields || !r.fields[d]) throw new Error(`The schema does not contain the path: ${e}. (failed at: ${o} which is a type: "${r.type}")`);
5963
+ n = t, t = t && t[d], r = r.fields[d];
5964
5964
  }
5965
- a = u, o = c ? "[" + l + "]" : "." + l;
5965
+ a = d, o = c ? "[" + l + "]" : "." + l;
5966
5966
  }), {
5967
5967
  schema: r,
5968
5968
  parent: n,
@@ -5973,7 +5973,7 @@ function Ho(r, e, t, s = t) {
5973
5973
  schema: r
5974
5974
  };
5975
5975
  }
5976
- class Bt extends Set {
5976
+ class Ut extends Set {
5977
5977
  describe() {
5978
5978
  const e = [];
5979
5979
  for (const t of this.values())
@@ -5987,7 +5987,7 @@ class Bt extends Set {
5987
5987
  return t;
5988
5988
  }
5989
5989
  clone() {
5990
- return new Bt(this.values());
5990
+ return new Ut(this.values());
5991
5991
  }
5992
5992
  merge(e, t) {
5993
5993
  const s = this.clone();
@@ -6020,7 +6020,7 @@ function ot(r, e = /* @__PURE__ */ new Map()) {
6020
6020
  }
6021
6021
  class Se {
6022
6022
  constructor(e) {
6023
- this.type = void 0, this.deps = [], this.tests = void 0, this.transforms = void 0, this.conditions = [], this._mutate = void 0, this.internalTests = {}, this._whitelist = new Bt(), this._blacklist = new Bt(), this.exclusiveTests = /* @__PURE__ */ Object.create(null), this._typeCheck = void 0, this.spec = void 0, this.tests = [], this.transforms = [], this.withMutation(() => {
6023
+ this.type = void 0, this.deps = [], this.tests = void 0, this.transforms = void 0, this.conditions = [], this._mutate = void 0, this.internalTests = {}, this._whitelist = new Ut(), this._blacklist = new Ut(), this.exclusiveTests = /* @__PURE__ */ Object.create(null), this._typeCheck = void 0, this.spec = void 0, this.tests = [], this.transforms = [], this.withMutation(() => {
6024
6024
  this.typeError(De.notType);
6025
6025
  }), this.type = e.type, this._typeCheck = e.check, this.spec = Object.assign({
6026
6026
  strip: !1,
@@ -6100,7 +6100,7 @@ class Se {
6100
6100
  value: e
6101
6101
  }, t)), n = t.assert === "ignore-optionality", a = s._cast(e, t);
6102
6102
  if (t.assert !== !1 && !s.isType(a)) {
6103
- if (n && $e(a))
6103
+ if (n && Ve(a))
6104
6104
  return a;
6105
6105
  let o = Ze(e), l = Ze(a);
6106
6106
  throw new TypeError(`The value of ${t.path || "field"} could not be cast to a value that satisfies the schema type: "${s.type}".
@@ -6123,18 +6123,18 @@ attempted value: ${o}
6123
6123
  l || (c = this._cast(c, Object.assign({
6124
6124
  assert: !1
6125
6125
  }, t)));
6126
- let d = [];
6127
- for (let u of Object.values(this.internalTests))
6128
- u && d.push(u);
6126
+ let u = [];
6127
+ for (let d of Object.values(this.internalTests))
6128
+ d && u.push(d);
6129
6129
  this.runTests({
6130
6130
  path: a,
6131
6131
  value: c,
6132
6132
  originalValue: o,
6133
6133
  options: t,
6134
- tests: d
6135
- }, s, (u) => {
6136
- if (u.length)
6137
- return n(u, c);
6134
+ tests: u
6135
+ }, s, (d) => {
6136
+ if (d.length)
6137
+ return n(d, c);
6138
6138
  this.runTests({
6139
6139
  path: a,
6140
6140
  value: c,
@@ -6154,8 +6154,8 @@ attempted value: ${o}
6154
6154
  value: o,
6155
6155
  originalValue: l,
6156
6156
  path: c,
6157
- options: d
6158
- } = e, u = (w) => {
6157
+ options: u
6158
+ } = e, d = (w) => {
6159
6159
  n || (n = !0, t(w, o));
6160
6160
  }, p = (w) => {
6161
6161
  n || (n = !0, s(w, o));
@@ -6165,12 +6165,12 @@ attempted value: ${o}
6165
6165
  value: o,
6166
6166
  originalValue: l,
6167
6167
  path: c,
6168
- options: d,
6168
+ options: u,
6169
6169
  schema: this
6170
6170
  };
6171
6171
  for (let w = 0; w < a.length; w++) {
6172
6172
  const _ = a[w];
6173
- _(x, u, function(g) {
6173
+ _(x, d, function(g) {
6174
6174
  g && (Array.isArray(g) ? y.push(...g) : y.push(g)), --m <= 0 && p(y);
6175
6175
  });
6176
6176
  }
@@ -6187,14 +6187,14 @@ attempted value: ${o}
6187
6187
  if (l == null)
6188
6188
  throw TypeError("Must include `key` or `index` for nested validations");
6189
6189
  const c = typeof l == "number";
6190
- let d = s[l];
6191
- const u = Object.assign({}, o, {
6190
+ let u = s[l];
6191
+ const d = Object.assign({}, o, {
6192
6192
  // Nested validations fields are always strict:
6193
6193
  // 1. parent isn't strict so the casting will also have cast inner values
6194
6194
  // 2. parent is strict in which case the nested values weren't cast either
6195
6195
  strict: !0,
6196
6196
  parent: s,
6197
- value: d,
6197
+ value: u,
6198
6198
  originalValue: a[l],
6199
6199
  // FIXME: tests depend on `index` being passed around deeply,
6200
6200
  // we should not let the options.key/index bleed through
@@ -6203,17 +6203,17 @@ attempted value: ${o}
6203
6203
  [c ? "index" : "key"]: l,
6204
6204
  path: c || l.includes(".") ? `${n || ""}[${c ? l : `"${l}"`}]` : (n ? `${n}.` : "") + e
6205
6205
  });
6206
- return (p, m, y) => this.resolve(u)._validate(d, u, m, y);
6206
+ return (p, m, y) => this.resolve(d)._validate(u, d, m, y);
6207
6207
  }
6208
6208
  validate(e, t) {
6209
6209
  var s;
6210
6210
  let n = this.resolve(Object.assign({}, t, {
6211
6211
  value: e
6212
6212
  })), a = (s = t == null ? void 0 : t.disableStackTrace) != null ? s : n.spec.disableStackTrace;
6213
- return new Promise((o, l) => n._validate(e, t, (c, d) => {
6214
- _e.isError(c) && (c.value = d), l(c);
6215
- }, (c, d) => {
6216
- c.length ? l(new _e(c, d, void 0, void 0, a)) : o(d);
6213
+ return new Promise((o, l) => n._validate(e, t, (c, u) => {
6214
+ _e.isError(c) && (c.value = u), l(c);
6215
+ }, (c, u) => {
6216
+ c.length ? l(new _e(c, u, void 0, void 0, a)) : o(u);
6217
6217
  }));
6218
6218
  }
6219
6219
  validateSync(e, t) {
@@ -6342,7 +6342,7 @@ attempted value: ${o}
6342
6342
  let s = this.clone(), n = an(e).map((a) => new tt(a));
6343
6343
  return n.forEach((a) => {
6344
6344
  a.isSibling && s.deps.push(a.key);
6345
- }), s.conditions.push(typeof t == "function" ? new Ut(n, t) : Ut.fromOptions(n, t)), s;
6345
+ }), s.conditions.push(typeof t == "function" ? new Bt(n, t) : Bt.fromOptions(n, t)), s;
6346
6346
  }
6347
6347
  typeError(e) {
6348
6348
  let t = this.clone();
@@ -6424,7 +6424,7 @@ attempted value: ${o}
6424
6424
  tests: t.tests.map((c) => ({
6425
6425
  name: c.OPTIONS.name,
6426
6426
  params: c.OPTIONS.params
6427
- })).filter((c, d, u) => u.findIndex((p) => p.name === c.name) === d)
6427
+ })).filter((c, u, d) => d.findIndex((p) => p.name === c.name) === u)
6428
6428
  };
6429
6429
  }
6430
6430
  }
@@ -6487,7 +6487,7 @@ class fn extends Se {
6487
6487
  value: "true"
6488
6488
  },
6489
6489
  test(t) {
6490
- return $e(t) || t === !0;
6490
+ return Ve(t) || t === !0;
6491
6491
  }
6492
6492
  });
6493
6493
  }
@@ -6500,7 +6500,7 @@ class fn extends Se {
6500
6500
  value: "false"
6501
6501
  },
6502
6502
  test(t) {
6503
- return $e(t) || t === !1;
6503
+ return Ve(t) || t === !1;
6504
6504
  }
6505
6505
  });
6506
6506
  }
@@ -6569,7 +6569,7 @@ let Qo = (
6569
6569
  ), ei = (
6570
6570
  // eslint-disable-next-line
6571
6571
  /^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i
6572
- ), ti = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i, ri = "^\\d{4}-\\d{2}-\\d{2}", si = "\\d{2}:\\d{2}:\\d{2}", ni = "(([+-]\\d{2}(:?\\d{2})?)|Z)", ai = new RegExp(`${ri}T${si}(\\.\\d+)?${ni}$`), oi = (r) => $e(r) || r === r.trim(), ii = {}.toString();
6572
+ ), ti = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i, ri = "^\\d{4}-\\d{2}-\\d{2}", si = "\\d{2}:\\d{2}:\\d{2}", ni = "(([+-]\\d{2}(:?\\d{2})?)|Z)", ai = new RegExp(`${ri}T${si}(\\.\\d+)?${ni}$`), oi = (r) => Ve(r) || r === r.trim(), ii = {}.toString();
6573
6573
  function at() {
6574
6574
  return new hn();
6575
6575
  }
@@ -6726,21 +6726,21 @@ class hn extends Se {
6726
6726
  });
6727
6727
  }
6728
6728
  lowercase(e = Ne.lowercase) {
6729
- return this.transform((t) => $e(t) ? t : t.toLowerCase()).test({
6729
+ return this.transform((t) => Ve(t) ? t : t.toLowerCase()).test({
6730
6730
  message: e,
6731
6731
  name: "string_case",
6732
6732
  exclusive: !0,
6733
6733
  skipAbsent: !0,
6734
- test: (t) => $e(t) || t === t.toLowerCase()
6734
+ test: (t) => Ve(t) || t === t.toLowerCase()
6735
6735
  });
6736
6736
  }
6737
6737
  uppercase(e = Ne.uppercase) {
6738
- return this.transform((t) => $e(t) ? t : t.toUpperCase()).test({
6738
+ return this.transform((t) => Ve(t) ? t : t.toUpperCase()).test({
6739
6739
  message: e,
6740
6740
  name: "string_case",
6741
6741
  exclusive: !0,
6742
6742
  skipAbsent: !0,
6743
- test: (t) => $e(t) || t === t.toUpperCase()
6743
+ test: (t) => Ve(t) || t === t.toUpperCase()
6744
6744
  });
6745
6745
  }
6746
6746
  }
@@ -6839,14 +6839,14 @@ class pn extends Se {
6839
6839
  });
6840
6840
  }
6841
6841
  truncate() {
6842
- return this.transform((e) => $e(e) ? e : e | 0);
6842
+ return this.transform((e) => Ve(e) ? e : e | 0);
6843
6843
  }
6844
6844
  round(e) {
6845
6845
  var t;
6846
6846
  let s = ["ceil", "floor", "round", "trunc"];
6847
6847
  if (e = ((t = e) == null ? void 0 : t.toLowerCase()) || "round", e === "trunc") return this.truncate();
6848
6848
  if (s.indexOf(e.toLowerCase()) === -1) throw new TypeError("Only valid options for round() are: " + s.join(", "));
6849
- return this.transform((n) => $e(n) ? n : Math[e](n));
6849
+ return this.transform((n) => Ve(n) ? n : Math[e](n));
6850
6850
  }
6851
6851
  }
6852
6852
  mn.prototype = pn.prototype;
@@ -6989,32 +6989,32 @@ class vn extends Se {
6989
6989
  let n = super._cast(e, t);
6990
6990
  if (n === void 0) return this.getDefault(t);
6991
6991
  if (!this._typeCheck(n)) return n;
6992
- let a = this.fields, o = (s = t.stripUnknown) != null ? s : this.spec.noUnknown, l = [].concat(this._nodes, Object.keys(n).filter((p) => !this._nodes.includes(p))), c = {}, d = Object.assign({}, t, {
6992
+ let a = this.fields, o = (s = t.stripUnknown) != null ? s : this.spec.noUnknown, l = [].concat(this._nodes, Object.keys(n).filter((p) => !this._nodes.includes(p))), c = {}, u = Object.assign({}, t, {
6993
6993
  parent: c,
6994
6994
  __validating: t.__validating || !1
6995
- }), u = !1;
6995
+ }), d = !1;
6996
6996
  for (const p of l) {
6997
6997
  let m = a[p], y = p in n;
6998
6998
  if (m) {
6999
6999
  let x, w = n[p];
7000
- d.path = (t.path ? `${t.path}.` : "") + p, m = m.resolve({
7000
+ u.path = (t.path ? `${t.path}.` : "") + p, m = m.resolve({
7001
7001
  value: w,
7002
7002
  context: t.context,
7003
7003
  parent: c
7004
7004
  });
7005
7005
  let _ = m instanceof Se ? m.spec : void 0, v = _ == null ? void 0 : _.strict;
7006
7006
  if (_ != null && _.strip) {
7007
- u = u || p in n;
7007
+ d = d || p in n;
7008
7008
  continue;
7009
7009
  }
7010
7010
  x = !t.__validating || !v ? (
7011
7011
  // TODO: use _cast, this is double resolving
7012
- m.cast(n[p], d)
7012
+ m.cast(n[p], u)
7013
7013
  ) : n[p], x !== void 0 && (c[p] = x);
7014
7014
  } else y && !o && (c[p] = n[p]);
7015
- (y !== p in c || c[p] !== n[p]) && (u = !0);
7015
+ (y !== p in c || c[p] !== n[p]) && (d = !0);
7016
7016
  }
7017
- return u ? c : n;
7017
+ return d ? c : n;
7018
7018
  }
7019
7019
  _validate(e, t = {}, s, n) {
7020
7020
  let {
@@ -7025,30 +7025,30 @@ class vn extends Se {
7025
7025
  t.from = [{
7026
7026
  schema: this,
7027
7027
  value: o
7028
- }, ...a], t.__validating = !0, t.originalValue = o, super._validate(e, t, s, (c, d) => {
7029
- if (!l || !ms(d)) {
7030
- n(c, d);
7028
+ }, ...a], t.__validating = !0, t.originalValue = o, super._validate(e, t, s, (c, u) => {
7029
+ if (!l || !ms(u)) {
7030
+ n(c, u);
7031
7031
  return;
7032
7032
  }
7033
- o = o || d;
7034
- let u = [];
7033
+ o = o || u;
7034
+ let d = [];
7035
7035
  for (let p of this._nodes) {
7036
7036
  let m = this.fields[p];
7037
- !m || tt.isRef(m) || u.push(m.asNestedTest({
7037
+ !m || tt.isRef(m) || d.push(m.asNestedTest({
7038
7038
  options: t,
7039
7039
  key: p,
7040
- parent: d,
7040
+ parent: u,
7041
7041
  parentPath: t.path,
7042
7042
  originalParent: o
7043
7043
  }));
7044
7044
  }
7045
7045
  this.runTests({
7046
- tests: u,
7047
- value: d,
7046
+ tests: d,
7047
+ value: u,
7048
7048
  originalValue: o,
7049
7049
  options: t
7050
7050
  }, s, (p) => {
7051
- n(p.sort(this._sortErrors).concat(c), d);
7051
+ n(p.sort(this._sortErrors).concat(c), u);
7052
7052
  });
7053
7053
  });
7054
7054
  }
@@ -7234,29 +7234,29 @@ class wn extends Se {
7234
7234
  _validate(e, t = {}, s, n) {
7235
7235
  var a;
7236
7236
  let o = this.innerType, l = (a = t.recursive) != null ? a : this.spec.recursive;
7237
- t.originalValue != null && t.originalValue, super._validate(e, t, s, (c, d) => {
7238
- var u;
7239
- if (!l || !o || !this._typeCheck(d)) {
7240
- n(c, d);
7237
+ t.originalValue != null && t.originalValue, super._validate(e, t, s, (c, u) => {
7238
+ var d;
7239
+ if (!l || !o || !this._typeCheck(u)) {
7240
+ n(c, u);
7241
7241
  return;
7242
7242
  }
7243
- let p = new Array(d.length);
7244
- for (let y = 0; y < d.length; y++) {
7243
+ let p = new Array(u.length);
7244
+ for (let y = 0; y < u.length; y++) {
7245
7245
  var m;
7246
7246
  p[y] = o.asNestedTest({
7247
7247
  options: t,
7248
7248
  index: y,
7249
- parent: d,
7249
+ parent: u,
7250
7250
  parentPath: t.path,
7251
7251
  originalParent: (m = t.originalValue) != null ? m : e
7252
7252
  });
7253
7253
  }
7254
7254
  this.runTests({
7255
- value: d,
7255
+ value: u,
7256
7256
  tests: p,
7257
- originalValue: (u = t.originalValue) != null ? u : e,
7257
+ originalValue: (d = t.originalValue) != null ? d : e,
7258
7258
  options: t
7259
- }, s, (y) => n(y.concat(c), d));
7259
+ }, s, (y) => n(y.concat(c), u));
7260
7260
  });
7261
7261
  }
7262
7262
  clone(e) {
@@ -7355,7 +7355,7 @@ function ar(r) {
7355
7355
  const e = r.maxFiles;
7356
7356
  return typeof e == "number" ? e : void 0;
7357
7357
  }
7358
- function Ue(r, e) {
7358
+ function Be(r, e) {
7359
7359
  return e.required ? r.required(e.requiredMessage || "Requerido") : r;
7360
7360
  }
7361
7361
  function Ct(r, e) {
@@ -7370,11 +7370,11 @@ function pi(r) {
7370
7370
  case "text":
7371
7371
  case "password": {
7372
7372
  let s = at().trim();
7373
- return s = Ct(s, e), Ue(s, e);
7373
+ return s = Ct(s, e), Be(s, e);
7374
7374
  }
7375
7375
  case "email": {
7376
7376
  let s = at().trim().email(e.emailMessage || "Email inválido");
7377
- return s = Ct(s, e), Ue(s, e);
7377
+ return s = Ct(s, e), Be(s, e);
7378
7378
  }
7379
7379
  case "number": {
7380
7380
  let s = mn().transform((n, a) => a === "" || a === null ? void 0 : n).typeError(e.typeError || "Debe ser un número");
@@ -7382,15 +7382,15 @@ function pi(r) {
7382
7382
  "pattern-number",
7383
7383
  e.pattern.message || "Formato inválido",
7384
7384
  (n) => n == null || e.pattern.value.test(String(n))
7385
- )), Ue(s, e);
7385
+ )), Be(s, e);
7386
7386
  }
7387
7387
  case "select": {
7388
7388
  if (mi(r)) {
7389
7389
  const n = br().of(at());
7390
- return Ue(n, e);
7390
+ return Be(n, e);
7391
7391
  }
7392
7392
  let s = at().trim();
7393
- return s = Ct(s, e), Ue(s, e);
7393
+ return s = Ct(s, e), Be(s, e);
7394
7394
  }
7395
7395
  case "checkbox": {
7396
7396
  let s = dn();
@@ -7398,11 +7398,11 @@ function pi(r) {
7398
7398
  }
7399
7399
  case "textarea": {
7400
7400
  let s = at().trim();
7401
- return s = Ct(s, e), Ue(s, e);
7401
+ return s = Ct(s, e), Be(s, e);
7402
7402
  }
7403
7403
  case "date": {
7404
7404
  const s = Or().typeError(e.typeError || "Fecha inválida").transform((n, a) => a ? new Date(a) : void 0);
7405
- return Ue(s, e);
7405
+ return Be(s, e);
7406
7406
  }
7407
7407
  case "file": {
7408
7408
  const s = br().of(xr()).test(
@@ -7413,11 +7413,11 @@ function pi(r) {
7413
7413
  return !Array.isArray(n) || !a || n.length <= a;
7414
7414
  }
7415
7415
  );
7416
- return Ue(s, e);
7416
+ return Be(s, e);
7417
7417
  }
7418
7418
  default: {
7419
7419
  const s = xr();
7420
- return Ue(s, e);
7420
+ return Be(s, e);
7421
7421
  }
7422
7422
  }
7423
7423
  }
@@ -7440,9 +7440,9 @@ function gi({
7440
7440
  const l = n.current;
7441
7441
  if (!l) return;
7442
7442
  const c = () => {
7443
- const d = r.findIndex((_) => _.value === e);
7444
- if (d < 0) return;
7445
- const u = l.children[d], p = u.querySelector("span"), m = (p == null ? void 0 : p.offsetWidth) ?? u.offsetWidth, y = u.offsetWidth, w = u.offsetLeft + (y - m) / 2;
7443
+ const u = r.findIndex((_) => _.value === e);
7444
+ if (u < 0) return;
7445
+ const d = l.children[u], p = d.querySelector("span"), m = (p == null ? void 0 : p.offsetWidth) ?? d.offsetWidth, y = d.offsetWidth, w = d.offsetLeft + (y - m) / 2;
7446
7446
  o({ left: w, width: m });
7447
7447
  };
7448
7448
  return c(), window.addEventListener("resize", c), l.addEventListener("scroll", c), () => {
@@ -7534,9 +7534,9 @@ function Zt(r) {
7534
7534
  reloadDeps: l = [],
7535
7535
  /* unctrl */
7536
7536
  value: c,
7537
- onChange: d,
7537
+ onChange: u,
7538
7538
  /* ui */
7539
- size: u = "sm",
7539
+ size: d = "sm",
7540
7540
  width: p = "100%",
7541
7541
  label: m,
7542
7542
  labelHidden: y = !1,
@@ -7548,13 +7548,13 @@ function Zt(r) {
7548
7548
  // alias legacy
7549
7549
  disabled: g = !1,
7550
7550
  className: S,
7551
- suffixButton: $,
7551
+ suffixButton: O,
7552
7552
  loading: F = !1,
7553
7553
  /* coerción de primera opción */
7554
- coerceFirstValid: U = !0
7555
- } = r, q = et(), N = t || q, [O, J] = ae(a), [B, M] = ae(!!o);
7554
+ coerceFirstValid: P = !0
7555
+ } = r, q = et(), N = t || q, [M, J] = ae(a), [U, $] = ae(!!o);
7556
7556
  de(() => {
7557
- o && (M(!0), o().then((W) => J(W)).finally(() => M(!1)));
7557
+ o && ($(!0), o().then((W) => J(W)).finally(() => $(!1)));
7558
7558
  }, [o, ...l]);
7559
7559
  const Y = (W) => W.find((H) => H.value !== "" && H.value !== void 0) ?? W[0], K = typeof _ == "boolean" ? _ : !!e;
7560
7560
  if (e && t) {
@@ -7565,28 +7565,28 @@ function Zt(r) {
7565
7565
  defaultValue: n
7566
7566
  });
7567
7567
  return de(() => {
7568
- if (!B && O.length > 0 && U) {
7569
- const A = W.value, h = O.some((Z) => String(Z.value) === String(A));
7570
- (A === void 0 || !h) && W.onChange(Y(O).value);
7568
+ if (!U && M.length > 0 && P) {
7569
+ const A = W.value, h = M.some((Z) => String(Z.value) === String(A));
7570
+ (A === void 0 || !h) && W.onChange(Y(M).value);
7571
7571
  }
7572
- }, [O, B, W, U]), /* @__PURE__ */ i.jsxs("div", { className: I("flex flex-col", S), style: { width: p, maxWidth: "100%" }, children: [
7572
+ }, [M, U, W, P]), /* @__PURE__ */ i.jsxs("div", { className: I("flex flex-col", S), style: { width: p, maxWidth: "100%" }, children: [
7573
7573
  m && /* @__PURE__ */ i.jsx(
7574
7574
  "label",
7575
7575
  {
7576
7576
  htmlFor: N,
7577
7577
  className: I(
7578
7578
  "pb-2 text-[var(--color-ds-text-primary)]",
7579
- Ot[u],
7579
+ Ot[d],
7580
7580
  y && "sr-only"
7581
7581
  ),
7582
7582
  children: m
7583
7583
  }
7584
7584
  ),
7585
- F || B ? /* @__PURE__ */ i.jsx(
7585
+ F || U ? /* @__PURE__ */ i.jsx(
7586
7586
  it,
7587
7587
  {
7588
7588
  width: "100%",
7589
- height: bs[u],
7589
+ height: bs[d],
7590
7590
  variant: "rect",
7591
7591
  className: "rounded-lg"
7592
7592
  }
@@ -7594,7 +7594,7 @@ function Zt(r) {
7594
7594
  ys,
7595
7595
  {
7596
7596
  id: N,
7597
- size: u,
7597
+ size: d,
7598
7598
  disabled: g,
7599
7599
  error: H.error,
7600
7600
  reserveErrorSpace: (
@@ -7602,7 +7602,7 @@ function Zt(r) {
7602
7602
  typeof v == "boolean" ? !v : K
7603
7603
  ),
7604
7604
  className: S,
7605
- suffixButton: $,
7605
+ suffixButton: O,
7606
7606
  children: /* @__PURE__ */ i.jsx(
7607
7607
  "select",
7608
7608
  {
@@ -7612,13 +7612,13 @@ function Zt(r) {
7612
7612
  disabled: g,
7613
7613
  className: I(
7614
7614
  "box-border w-full rounded-lg border bg-[var(--color-ds-background-page)] outline-none transition font-[var(--font-primary)]",
7615
- Ot[u],
7616
- xs[u],
7617
- gs[u],
7615
+ Ot[d],
7616
+ xs[d],
7617
+ gs[d],
7618
7618
  H.error ? "border-[var(--color-ds-border-error)]" : "border-[var(--color-ds-border-default)]",
7619
7619
  g ? "bg-[var(--color-ds-background-disabled)] border-[var(--color-ds-border-muted)] text-[var(--color-ds-text-primary)] cursor-not-allowed" : "text-[var(--color-ds-text-primary)]"
7620
7620
  ),
7621
- children: O.map((A) => /* @__PURE__ */ i.jsx(
7621
+ children: M.map((A) => /* @__PURE__ */ i.jsx(
7622
7622
  "option",
7623
7623
  {
7624
7624
  value: A.value,
@@ -7634,28 +7634,28 @@ function Zt(r) {
7634
7634
  ] });
7635
7635
  }
7636
7636
  return de(() => {
7637
- if (!e && O.length > 0 && U) {
7638
- const W = O.some((A) => String(A.value) === String(c));
7639
- (c === void 0 || c === "" || !W) && d && d(Y(O).value);
7637
+ if (!e && M.length > 0 && P) {
7638
+ const W = M.some((A) => String(A.value) === String(c));
7639
+ (c === void 0 || c === "" || !W) && u && u(Y(M).value);
7640
7640
  }
7641
- }, [O, c, d, e, U]), /* @__PURE__ */ i.jsxs("div", { className: I("flex flex-col", S), style: { width: p, maxWidth: "100%" }, children: [
7641
+ }, [M, c, u, e, P]), /* @__PURE__ */ i.jsxs("div", { className: I("flex flex-col", S), style: { width: p, maxWidth: "100%" }, children: [
7642
7642
  m && /* @__PURE__ */ i.jsx(
7643
7643
  "label",
7644
7644
  {
7645
7645
  htmlFor: N,
7646
7646
  className: I(
7647
7647
  "pb-2 text-[var(--color-ds-text-primary)]",
7648
- Ot[u],
7648
+ Ot[d],
7649
7649
  y && "sr-only"
7650
7650
  ),
7651
7651
  children: m
7652
7652
  }
7653
7653
  ),
7654
- F || B ? /* @__PURE__ */ i.jsx(
7654
+ F || U ? /* @__PURE__ */ i.jsx(
7655
7655
  it,
7656
7656
  {
7657
7657
  width: "100%",
7658
- height: bs[u],
7658
+ height: bs[d],
7659
7659
  variant: "rect",
7660
7660
  className: "rounded-lg"
7661
7661
  }
@@ -7663,7 +7663,7 @@ function Zt(r) {
7663
7663
  ys,
7664
7664
  {
7665
7665
  id: N,
7666
- size: u,
7666
+ size: d,
7667
7667
  disabled: g,
7668
7668
  error: x ? { message: w } : void 0,
7669
7669
  reserveErrorSpace: (
@@ -7671,23 +7671,23 @@ function Zt(r) {
7671
7671
  typeof v == "boolean" ? !v : !!(_ ?? !1)
7672
7672
  ),
7673
7673
  className: S,
7674
- suffixButton: $,
7674
+ suffixButton: O,
7675
7675
  children: /* @__PURE__ */ i.jsx(
7676
7676
  "select",
7677
7677
  {
7678
7678
  id: N,
7679
7679
  value: c,
7680
- onChange: (W) => d == null ? void 0 : d(W.target.value),
7680
+ onChange: (W) => u == null ? void 0 : u(W.target.value),
7681
7681
  disabled: g,
7682
7682
  className: I(
7683
7683
  "box-border w-full rounded-lg border bg-[var(--color-ds-background-page)] outline-none transition font-[var(--font-primary)]",
7684
- Ot[u],
7685
- xs[u],
7686
- gs[u],
7684
+ Ot[d],
7685
+ xs[d],
7686
+ gs[d],
7687
7687
  x ? "border-[var(--color-ds-border-error)]" : "border-[var(--color-ds-border-default)]",
7688
7688
  g ? "bg-[var(--color-ds-background-disabled)] border-[var(--color-ds-border-muted)] text-[var(--color-ds-text-primary)] cursor-not-allowed" : "text-[var(--color-ds-text-primary)]"
7689
7689
  ),
7690
- children: O.map((W) => /* @__PURE__ */ i.jsx(
7690
+ children: M.map((W) => /* @__PURE__ */ i.jsx(
7691
7691
  "option",
7692
7692
  {
7693
7693
  value: W.value,
@@ -7707,7 +7707,10 @@ const vs = {
7707
7707
  md: "text-ds-md",
7708
7708
  lg: "text-ds-lg"
7709
7709
  };
7710
- function bi({
7710
+ function bi(r) {
7711
+ return "options" in r || "loadOptions" in r;
7712
+ }
7713
+ function yi({
7711
7714
  groupLabel: r,
7712
7715
  inputs: e = [],
7713
7716
  separator: t = /* @__PURE__ */ i.jsx("span", { className: "px-1 select-none", children: "/" }),
@@ -7721,46 +7724,47 @@ function bi({
7721
7724
  return /* @__PURE__ */ i.jsxs("div", { className: I("flex flex-col", n), style: l ? { width: l } : void 0, children: [
7722
7725
  /* @__PURE__ */ i.jsx("label", { className: I("sr-only pb-2", vs[o]), children: r }),
7723
7726
  a && /* @__PURE__ */ i.jsx("label", { className: I("pb-2", vs[o]), children: r }),
7724
- /* @__PURE__ */ i.jsx("div", { className: "flex items-center flex-nowrap", children: e.map((d, u) => {
7725
- const {
7726
- width: p,
7727
- className: m,
7728
- options: y,
7729
- loadOptions: x,
7730
- control: w,
7731
- name: _,
7732
- ...v
7733
- } = d, g = Array.isArray(y) || typeof x == "function";
7734
- let S = "rounded-lg";
7735
- !s && c > 1 && (u === 0 ? S = "rounded-l-lg rounded-r-none" : u === c - 1 ? S = "rounded-r-lg rounded-l-none" : S = "rounded-none");
7736
- const $ = I(
7727
+ /* @__PURE__ */ i.jsx("div", { className: "flex items-center flex-nowrap", children: e.map((u, d) => {
7728
+ const { width: p, className: m, control: y, name: x, ...w } = u, _ = bi(u);
7729
+ let v = "rounded-lg";
7730
+ !s && c > 1 && (d === 0 ? v = "rounded-l-lg rounded-r-none" : d === c - 1 ? v = "rounded-r-lg rounded-l-none" : v = "rounded-none");
7731
+ const g = I(
7737
7732
  "inline-flex items-center flex-shrink-0 overflow-hidden",
7738
7733
  typeof p == "string" && p.startsWith("w-") ? p : void 0
7739
- ), F = typeof p == "string" && !p.startsWith("w-") ? { width: p } : void 0, U = I(m, S), q = (N) => w && _ ? /* @__PURE__ */ i.jsx(
7740
- Oe,
7734
+ ), S = typeof p == "string" && !p.startsWith("w-") ? { width: p } : void 0, O = I(m, v), F = (P) => y && x ? /* @__PURE__ */ i.jsx(
7735
+ Ce,
7741
7736
  {
7742
- name: _,
7743
- control: w,
7744
- render: ({ field: O }) => N({
7745
- ...v,
7746
- size: o,
7747
- className: U,
7748
- value: O.value,
7749
- onChange: O.onChange
7750
- })
7737
+ name: x,
7738
+ control: y,
7739
+ render: ({ field: q }) => {
7740
+ const N = q.value;
7741
+ return P({
7742
+ ...w,
7743
+ name: x,
7744
+ value: _ ? N === null ? void 0 : N ?? void 0 : N ?? "",
7745
+ onChange: q.onChange,
7746
+ className: O,
7747
+ size: o
7748
+ });
7749
+ }
7751
7750
  }
7752
- ) : N({ ...v, size: o, className: U });
7753
- return /* @__PURE__ */ i.jsxs("div", { className: $, style: F, children: [
7754
- q(g ? (N) => /* @__PURE__ */ i.jsx(
7751
+ ) : P({
7752
+ ...w,
7753
+ name: x,
7754
+ className: O,
7755
+ size: o
7756
+ });
7757
+ return /* @__PURE__ */ i.jsxs("div", { className: g, style: S, children: [
7758
+ F(_ ? (P) => /* @__PURE__ */ i.jsx(
7755
7759
  Zt,
7756
7760
  {
7757
- ...N,
7758
- options: y,
7759
- loadOptions: x
7761
+ ...P,
7762
+ options: u.options,
7763
+ loadOptions: u.loadOptions
7760
7764
  }
7761
- ) : (N) => /* @__PURE__ */ i.jsx(Cr, { ...N })),
7762
- s && u < c - 1 && t
7763
- ] }, u);
7765
+ ) : (P) => /* @__PURE__ */ i.jsx(Cr, { ...P })),
7766
+ s && d < c - 1 && t
7767
+ ] }, d);
7764
7768
  }) })
7765
7769
  ] });
7766
7770
  }
@@ -7768,12 +7772,12 @@ const ws = {
7768
7772
  sm: "text-ds-sm",
7769
7773
  md: "text-ds-md",
7770
7774
  lg: "text-ds-lg"
7771
- }, yi = {
7775
+ }, vi = {
7772
7776
  sm: "w-4 h-4",
7773
7777
  md: "w-5 h-5",
7774
7778
  lg: "w-6 h-6"
7775
7779
  };
7776
- function vi({
7780
+ function wi({
7777
7781
  groupLabel: r,
7778
7782
  options: e,
7779
7783
  control: t,
@@ -7783,11 +7787,11 @@ function vi({
7783
7787
  multiple: o = !0,
7784
7788
  size: l = "sm",
7785
7789
  vertical: c = !0,
7786
- className: d,
7787
- showVisibleLabel: u = !0
7790
+ className: u,
7791
+ showVisibleLabel: d = !0
7788
7792
  }) {
7789
7793
  return /* @__PURE__ */ i.jsx(
7790
- Oe,
7794
+ Ce,
7791
7795
  {
7792
7796
  name: s,
7793
7797
  control: t,
@@ -7803,7 +7807,7 @@ function vi({
7803
7807
  } else
7804
7808
  x(v);
7805
7809
  };
7806
- return /* @__PURE__ */ i.jsxs("div", { className: I("w-full", d), children: [
7810
+ return /* @__PURE__ */ i.jsxs("div", { className: I("w-full", u), children: [
7807
7811
  /* @__PURE__ */ i.jsx(
7808
7812
  "label",
7809
7813
  {
@@ -7814,7 +7818,7 @@ function vi({
7814
7818
  children: r
7815
7819
  }
7816
7820
  ),
7817
- u && /* @__PURE__ */ i.jsx(
7821
+ d && /* @__PURE__ */ i.jsx(
7818
7822
  "label",
7819
7823
  {
7820
7824
  className: I(
@@ -7844,7 +7848,7 @@ function vi({
7844
7848
  checked: w(v.value),
7845
7849
  onChange: () => _(v.value),
7846
7850
  className: I(
7847
- yi[l],
7851
+ vi[l],
7848
7852
  "text-[var(--color-ds-button-primary-bg)]",
7849
7853
  "border-[var(--color-ds-border-default)]"
7850
7854
  )
@@ -7862,16 +7866,16 @@ function vi({
7862
7866
  }
7863
7867
  );
7864
7868
  }
7865
- function wi(r) {
7869
+ function ki(r) {
7866
7870
  function e(o) {
7867
7871
  var l, c;
7868
- for (const d of Object.keys(o)) {
7869
- if ((l = o[d]) != null && l.types || (c = o[d]) != null && c.message)
7870
- return d;
7871
- if (typeof o[d] == "object") {
7872
- const u = e(o[d]);
7873
- if (u)
7874
- return `${d}.${u}`;
7872
+ for (const u of Object.keys(o)) {
7873
+ if ((l = o[u]) != null && l.types || (c = o[u]) != null && c.message)
7874
+ return u;
7875
+ if (typeof o[u] == "object") {
7876
+ const d = e(o[u]);
7877
+ if (d)
7878
+ return `${u}.${d}`;
7875
7879
  }
7876
7880
  }
7877
7881
  return null;
@@ -7881,12 +7885,12 @@ function wi(r) {
7881
7885
  const s = `[name="${t}"]`, n = `[name^="${t}["], [name^="${t}."]`, a = document.querySelector(s) ?? document.querySelector(n);
7882
7886
  a && (a.scrollIntoView({ behavior: "smooth", block: "center" }), a.focus({ preventScroll: !0 }));
7883
7887
  }
7884
- const ki = {
7888
+ const ji = {
7885
7889
  success: "bg-green-100 border-green-500 text-green-800",
7886
7890
  error: "bg-red-100 border-red-500 text-red-800",
7887
7891
  info: "bg-blue-100 border-blue-500 text-blue-800",
7888
7892
  warning: "bg-yellow-100 border-yellow-500 text-yellow-800"
7889
- }, ji = ({
7893
+ }, Ei = ({
7890
7894
  id: r,
7891
7895
  message: e,
7892
7896
  variant: t = "info",
@@ -7900,7 +7904,7 @@ const ki = {
7900
7904
  {
7901
7905
  className: I(
7902
7906
  "w-80 max-w-full border-l-4 rounded shadow-md p-4 mb-2 flex justify-between items-start",
7903
- ki[t]
7907
+ ji[t]
7904
7908
  ),
7905
7909
  role: "alert",
7906
7910
  "aria-live": "assertive",
@@ -7918,43 +7922,43 @@ const ki = {
7918
7922
  }
7919
7923
  ));
7920
7924
  let Rt;
7921
- const Ei = new Uint8Array(16);
7922
- function Ni() {
7925
+ const Ni = new Uint8Array(16);
7926
+ function _i() {
7923
7927
  if (!Rt && (Rt = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Rt))
7924
7928
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
7925
- return Rt(Ei);
7929
+ return Rt(Ni);
7926
7930
  }
7927
7931
  const ve = [];
7928
7932
  for (let r = 0; r < 256; ++r)
7929
7933
  ve.push((r + 256).toString(16).slice(1));
7930
- function _i(r, e = 0) {
7934
+ function Fi(r, e = 0) {
7931
7935
  return ve[r[e + 0]] + ve[r[e + 1]] + ve[r[e + 2]] + ve[r[e + 3]] + "-" + ve[r[e + 4]] + ve[r[e + 5]] + "-" + ve[r[e + 6]] + ve[r[e + 7]] + "-" + ve[r[e + 8]] + ve[r[e + 9]] + "-" + ve[r[e + 10]] + ve[r[e + 11]] + ve[r[e + 12]] + ve[r[e + 13]] + ve[r[e + 14]] + ve[r[e + 15]];
7932
7936
  }
7933
- const Fi = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), ks = {
7934
- randomUUID: Fi
7937
+ const Si = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), ks = {
7938
+ randomUUID: Si
7935
7939
  };
7936
- function Si(r, e, t) {
7940
+ function Ti(r, e, t) {
7937
7941
  if (ks.randomUUID && !r)
7938
7942
  return ks.randomUUID();
7939
7943
  r = r || {};
7940
- const s = r.random || (r.rng || Ni)();
7941
- return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, _i(s);
7944
+ const s = r.random || (r.rng || _i)();
7945
+ return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, Fi(s);
7942
7946
  }
7943
- const kn = yr(null), Ti = () => {
7947
+ const kn = yr(null), Ai = () => {
7944
7948
  const r = vr(kn);
7945
7949
  if (!r) throw new Error("useToast debe usarse dentro de <ToastProvider>");
7946
7950
  return r;
7947
- }, ol = ({ children: r }) => {
7951
+ }, il = ({ children: r }) => {
7948
7952
  const [e, t] = ae([]), s = (a, o = "info", l = 5e3) => {
7949
- const c = Si();
7950
- t((d) => [...d, { id: c, message: a, variant: o, duration: l }]);
7953
+ const c = Ti();
7954
+ t((u) => [...u, { id: c, message: a, variant: o, duration: l }]);
7951
7955
  }, n = (a) => {
7952
7956
  t((o) => o.filter((l) => l.id !== a));
7953
7957
  };
7954
7958
  return /* @__PURE__ */ i.jsxs(kn.Provider, { value: { show: s }, children: [
7955
7959
  r,
7956
7960
  /* @__PURE__ */ i.jsx("div", { className: "fixed top-4 right-4 z-50 flex flex-col items-end", children: e.map((a) => /* @__PURE__ */ i.jsx(
7957
- ji,
7961
+ Ei,
7958
7962
  {
7959
7963
  id: a.id,
7960
7964
  message: a.message,
@@ -7965,17 +7969,17 @@ const kn = yr(null), Ti = () => {
7965
7969
  a.id
7966
7970
  )) })
7967
7971
  ] });
7968
- }, Ai = (r) => r.type === "inputGroup", Ci = (r) => r.type === "button", Oi = (r) => !Ai(r) && !Ci(r);
7969
- function Ri(r) {
7972
+ }, Ci = (r) => r.type === "inputGroup", Oi = (r) => r.type === "button", Ri = (r) => !Ci(r) && !Oi(r);
7973
+ function Vi(r) {
7970
7974
  const e = Array.isArray(r) ? r : [];
7971
7975
  return Fe(() => {
7972
7976
  const t = {};
7973
7977
  for (const s of e)
7974
- Oi(s) && s.name && (t[s.name] = s);
7978
+ Ri(s) && s.name && (t[s.name] = s);
7975
7979
  return t;
7976
7980
  }, [e]);
7977
7981
  }
7978
- function Vi(r = [], e = []) {
7982
+ function $i(r = [], e = []) {
7979
7983
  if (r === e) return !0;
7980
7984
  if (r.length !== e.length) return !1;
7981
7985
  for (let t = 0; t < r.length; t++) {
@@ -7984,7 +7988,7 @@ function Vi(r = [], e = []) {
7984
7988
  }
7985
7989
  return !0;
7986
7990
  }
7987
- function $i(r) {
7991
+ function Mi(r) {
7988
7992
  const [e, t] = ae({}), [s, n] = ae(0), a = Fe(() => r.filter(
7989
7993
  (c) => (c == null ? void 0 : c.type) === "select" && (c == null ? void 0 : c.name) && !Array.isArray(c == null ? void 0 : c.options) && typeof (c == null ? void 0 : c.loadOptions) == "function"
7990
7994
  ).map((c) => ({ name: c.name, load: c.loadOptions })), [r]), o = Fe(
@@ -7996,14 +8000,14 @@ function $i(r) {
7996
8000
  l.current = o;
7997
8001
  let c = !1;
7998
8002
  return (async () => {
7999
- a.length && (n((u) => u + a.length), await Promise.all(
8000
- a.map(async ({ name: u, load: p }) => {
8003
+ a.length && (n((d) => d + a.length), await Promise.all(
8004
+ a.map(async ({ name: d, load: p }) => {
8001
8005
  try {
8002
8006
  const m = await p();
8003
8007
  if (c) return;
8004
8008
  t((y) => {
8005
- const x = y[u] ?? [];
8006
- return Vi(x, m) ? y : { ...y, [u]: m };
8009
+ const x = y[d] ?? [];
8010
+ return $i(x, m) ? y : { ...y, [d]: m };
8007
8011
  });
8008
8012
  } catch {
8009
8013
  } finally {
@@ -8016,19 +8020,19 @@ function $i(r) {
8016
8020
  };
8017
8021
  }, [o, a]), { optionsMap: e, loadingCount: s };
8018
8022
  }
8019
- const Mi = (r) => r.type === "inputGroup", Di = (r) => r.type === "button", Ii = (r) => !Mi(r) && !Di(r);
8020
- function Li(r) {
8023
+ const Di = (r) => r.type === "inputGroup", Ii = (r) => r.type === "button", Li = (r) => !Di(r) && !Ii(r);
8024
+ function Pi(r) {
8021
8025
  return typeof r == "object" && r !== null;
8022
8026
  }
8023
- const Pi = (r) => {
8027
+ const zi = (r) => {
8024
8028
  const e = r.disabledWhen;
8025
- if (!Li(e)) return !1;
8029
+ if (!Pi(e)) return !1;
8026
8030
  const t = "watchField" in e, s = "rule" in e;
8027
8031
  return t && !s;
8028
8032
  };
8029
- function zi(r, e) {
8033
+ function Bi(r, e) {
8030
8034
  const t = Array.isArray(r) ? r : [], s = Fe(
8031
- () => t.filter(Ii).filter(Pi),
8035
+ () => t.filter(Li).filter(zi),
8032
8036
  [t]
8033
8037
  ), n = Fe(
8034
8038
  () => s.map((c) => c.disabledWhen.watchField),
@@ -8037,9 +8041,9 @@ function zi(r, e) {
8037
8041
  control: e,
8038
8042
  ...n.length > 0 ? { name: n } : {}
8039
8043
  }), o = Array.isArray(a) ? a : [], l = {};
8040
- return s.forEach((c, d) => {
8041
- const u = o[d];
8042
- l[c.name ?? `__unnamed_${d}`] = u === c.disabledWhen.watchValue;
8044
+ return s.forEach((c, u) => {
8045
+ const d = o[u];
8046
+ l[c.name ?? `__unnamed_${u}`] = d === c.disabledWhen.watchValue;
8043
8047
  }), l;
8044
8048
  }
8045
8049
  const js = {
@@ -8061,8 +8065,8 @@ function jn({
8061
8065
  label: o,
8062
8066
  labelHidden: l = !1,
8063
8067
  hasError: c = !1,
8064
- errorMessage: d = "",
8065
- maxLength: u,
8068
+ errorMessage: u = "",
8069
+ maxLength: d,
8066
8070
  showCounter: p = !1,
8067
8071
  className: m,
8068
8072
  suffixButton: y,
@@ -8071,14 +8075,14 @@ function jn({
8071
8075
  const w = et(), _ = e || w, [v, g] = ae(s || "");
8072
8076
  if (r && e)
8073
8077
  return /* @__PURE__ */ i.jsx(
8074
- Oe,
8078
+ Ce,
8075
8079
  {
8076
8080
  name: e,
8077
8081
  control: r,
8078
8082
  rules: t,
8079
8083
  defaultValue: s || "",
8080
- render: ({ field: $, fieldState: F }) => {
8081
- var U;
8084
+ render: ({ field: O, fieldState: F }) => {
8085
+ var P;
8082
8086
  return /* @__PURE__ */ i.jsx(
8083
8087
  jn,
8084
8088
  {
@@ -8088,13 +8092,13 @@ function jn({
8088
8092
  label: o,
8089
8093
  labelHidden: l,
8090
8094
  hasError: !!F.error,
8091
- errorMessage: ((U = F.error) == null ? void 0 : U.message) || "",
8092
- maxLength: u,
8095
+ errorMessage: ((P = F.error) == null ? void 0 : P.message) || "",
8096
+ maxLength: d,
8093
8097
  showCounter: p,
8094
8098
  className: m,
8095
8099
  suffixButton: y,
8096
- value: $.value,
8097
- onChange: $.onChange
8100
+ value: O.value,
8101
+ onChange: O.onChange
8098
8102
  }
8099
8103
  );
8100
8104
  }
@@ -8103,9 +8107,9 @@ function jn({
8103
8107
  de(() => {
8104
8108
  g(s || "");
8105
8109
  }, [s]);
8106
- const S = ($) => {
8110
+ const S = (O) => {
8107
8111
  var F;
8108
- u !== void 0 && $.target.value.length > u || (g($.target.value), (F = x.onChange) == null || F.call(x, $));
8112
+ d !== void 0 && O.target.value.length > d || (g(O.target.value), (F = x.onChange) == null || F.call(x, O));
8109
8113
  };
8110
8114
  return /* @__PURE__ */ i.jsxs("div", { className: I("flex flex-col", m), style: { width: a }, children: [
8111
8115
  o && /* @__PURE__ */ i.jsx(
@@ -8134,28 +8138,28 @@ function jn({
8134
8138
  ),
8135
8139
  value: v,
8136
8140
  onChange: S,
8137
- maxLength: u,
8141
+ maxLength: d,
8138
8142
  ...x
8139
8143
  }
8140
8144
  ),
8141
8145
  y ? /* @__PURE__ */ i.jsx("div", { className: "shrink-0", children: y }) : null
8142
8146
  ] }),
8143
8147
  /* @__PURE__ */ i.jsxs("div", { className: "flex justify-between pt-1 min-h-[18px]", children: [
8144
- c && d ? /* @__PURE__ */ i.jsx("span", { className: "text-xs text-[var(--color-ds-text-error)]", children: d }) : /* @__PURE__ */ i.jsx("span", { "aria-hidden": "true", children: " " }),
8145
- p && u !== void 0 && /* @__PURE__ */ i.jsxs("span", { className: "text-xs text-[var(--color-ds-text-secondary)]", children: [
8148
+ c && u ? /* @__PURE__ */ i.jsx("span", { className: "text-xs text-[var(--color-ds-text-error)]", children: u }) : /* @__PURE__ */ i.jsx("span", { "aria-hidden": "true", children: " " }),
8149
+ p && d !== void 0 && /* @__PURE__ */ i.jsxs("span", { className: "text-xs text-[var(--color-ds-text-secondary)]", children: [
8146
8150
  v.length,
8147
8151
  "/",
8148
- u
8152
+ d
8149
8153
  ] })
8150
8154
  ] })
8151
8155
  ] });
8152
8156
  }
8153
- const Bi = {
8157
+ const Zi = {
8154
8158
  sm: "w-4 h-4",
8155
8159
  md: "w-5 h-5",
8156
8160
  lg: "w-6 h-6"
8157
8161
  };
8158
- function Zi({
8162
+ function Wi({
8159
8163
  control: r = null,
8160
8164
  name: e,
8161
8165
  rules: t,
@@ -8165,13 +8169,13 @@ function Zi({
8165
8169
  disabled: o = !1,
8166
8170
  size: l = "sm",
8167
8171
  className: c,
8168
- hasError: d = !1,
8169
- errorMessage: u = "",
8172
+ hasError: u = !1,
8173
+ errorMessage: d = "",
8170
8174
  checked: p,
8171
8175
  onChange: m
8172
8176
  }) {
8173
8177
  const y = I(
8174
- Bi[l],
8178
+ Zi[l],
8175
8179
  "text-[var(--color-ds-button-primary-bg)]",
8176
8180
  "border-[var(--color-ds-border-default)]",
8177
8181
  o && "opacity-50 cursor-not-allowed"
@@ -8181,7 +8185,7 @@ function Zi({
8181
8185
  a && "sr-only"
8182
8186
  );
8183
8187
  return r ? /* @__PURE__ */ i.jsx("div", { className: I("flex flex-col", c), children: /* @__PURE__ */ i.jsx(
8184
- Oe,
8188
+ Ce,
8185
8189
  {
8186
8190
  name: e || "",
8187
8191
  control: r,
@@ -8204,7 +8208,7 @@ function Zi({
8204
8208
  ),
8205
8209
  n && /* @__PURE__ */ i.jsx("span", { className: x, children: n })
8206
8210
  ] }),
8207
- (d || v) && ((v == null ? void 0 : v.message) || u) && /* @__PURE__ */ i.jsx("span", { className: "text-xs text-[var(--color-ds-text-error)]", children: (v == null ? void 0 : v.message) || u })
8211
+ (u || v) && ((v == null ? void 0 : v.message) || d) && /* @__PURE__ */ i.jsx("span", { className: "text-xs text-[var(--color-ds-text-error)]", children: (v == null ? void 0 : v.message) || d })
8208
8212
  ] });
8209
8213
  }
8210
8214
  }
@@ -8223,10 +8227,10 @@ function Zi({
8223
8227
  ),
8224
8228
  n && /* @__PURE__ */ i.jsx("span", { className: x, children: n })
8225
8229
  ] }),
8226
- d && !!u && /* @__PURE__ */ i.jsx("span", { className: "text-xs text-[var(--color-ds-text-error)]", children: u })
8230
+ u && !!d && /* @__PURE__ */ i.jsx("span", { className: "text-xs text-[var(--color-ds-text-error)]", children: d })
8227
8231
  ] });
8228
8232
  }
8229
- function Wi({
8233
+ function qi({
8230
8234
  name: r,
8231
8235
  control: e,
8232
8236
  searchFn: t,
@@ -8236,10 +8240,10 @@ function Wi({
8236
8240
  width: o = "100%",
8237
8241
  disabled: l = !1,
8238
8242
  searchMode: c = "button",
8239
- minChars: d = 3,
8240
- debounceMs: u = 600
8243
+ minChars: u = 3,
8244
+ debounceMs: d = 600
8241
8245
  }) {
8242
- const p = wt(), { watch: m, getValues: y, setValue: x } = p, w = Fr({ control: e, name: r }), [_, v] = ae([]), [g, S] = ae(!1), [$, F] = ae(!1), [U, q] = ae(""), N = ke(null), O = ke(null), J = ke(!1), B = ke(!1), M = ke(!0), Y = Fe(() => {
8246
+ const p = wt(), { watch: m, getValues: y, setValue: x } = p, w = Fr({ control: e, name: r }), [_, v] = ae([]), [g, S] = ae(!1), [O, F] = ae(!1), [P, q] = ae(""), N = ke(null), M = ke(null), J = ke(!1), U = ke(!1), $ = ke(!0), Y = Fe(() => {
8243
8247
  const h = /* @__PURE__ */ new Map();
8244
8248
  for (const Z of _) h.set(String(Z.value).trim(), Z.label ?? "");
8245
8249
  return h;
@@ -8261,9 +8265,9 @@ function Wi({
8261
8265
  function h(Z) {
8262
8266
  N.current && !N.current.contains(Z.target) && F(!1);
8263
8267
  }
8264
- if ($)
8268
+ if (O)
8265
8269
  return document.addEventListener("mousedown", h), () => document.removeEventListener("mousedown", h);
8266
- }, [$]), de(() => {
8270
+ }, [O]), de(() => {
8267
8271
  if (J.current) return;
8268
8272
  const Z = (w ? String(w) : "").trim();
8269
8273
  if (!Z) {
@@ -8272,7 +8276,7 @@ function Wi({
8272
8276
  }
8273
8277
  const j = Y.get(Z);
8274
8278
  if (j) {
8275
- q(j), F(!1), M.current = !0;
8279
+ q(j), F(!1), $.current = !0;
8276
8280
  return;
8277
8281
  }
8278
8282
  let k = !1;
@@ -8280,37 +8284,37 @@ function Wi({
8280
8284
  if (s)
8281
8285
  try {
8282
8286
  const C = await s(Z, { watch: m, getValues: y });
8283
- k || (q((C == null ? void 0 : C.label) ?? Z), F(!1), M.current = !0);
8287
+ k || (q((C == null ? void 0 : C.label) ?? Z), F(!1), $.current = !0);
8284
8288
  } catch {
8285
- k || (q(Z), F(!1), M.current = !0);
8289
+ k || (q(Z), F(!1), $.current = !0);
8286
8290
  }
8287
8291
  else
8288
- q(Z), F(!1), M.current = !0;
8292
+ q(Z), F(!1), $.current = !0;
8289
8293
  })(), () => {
8290
8294
  k = !0;
8291
8295
  };
8292
8296
  }, [w, Y, s, m, y]), de(() => {
8293
8297
  if (c !== "debounced" || l) return;
8294
- if (M.current) {
8295
- M.current = !1;
8298
+ if ($.current) {
8299
+ $.current = !1;
8296
8300
  return;
8297
8301
  }
8298
- if (!B.current) return;
8299
- O.current && (window.clearTimeout(O.current), O.current = null);
8300
- const h = (U || "").trim();
8301
- return h.length >= d ? O.current = window.setTimeout(() => {
8302
+ if (!U.current) return;
8303
+ M.current && (window.clearTimeout(M.current), M.current = null);
8304
+ const h = (P || "").trim();
8305
+ return h.length >= u ? M.current = window.setTimeout(() => {
8302
8306
  K(h);
8303
- }, u) : (v([]), F(!1)), () => {
8304
- O.current && (window.clearTimeout(O.current), O.current = null);
8307
+ }, d) : (v([]), F(!1)), () => {
8308
+ M.current && (window.clearTimeout(M.current), M.current = null);
8305
8309
  };
8306
- }, [U, c, d, u, l]);
8310
+ }, [P, c, u, d, l]);
8307
8311
  const W = a === "sm" ? "text-ds-sm" : a === "md" ? "text-ds-md" : "text-ds-lg", H = a === "sm" ? "h-6" : a === "md" ? "h-10" : "h-12", A = (h) => {
8308
8312
  if (l) return;
8309
- const Z = (U || "").trim();
8310
- h.key === "Enter" && (h.preventDefault(), c === "debounced" ? Z.length >= d && K(Z) : K(Z)), h.key === "Escape" && F(!1);
8313
+ const Z = (P || "").trim();
8314
+ h.key === "Enter" && (h.preventDefault(), c === "debounced" ? Z.length >= u && K(Z) : K(Z)), h.key === "Escape" && F(!1);
8311
8315
  };
8312
8316
  return /* @__PURE__ */ i.jsx(
8313
- Oe,
8317
+ Ce,
8314
8318
  {
8315
8319
  name: r,
8316
8320
  control: e,
@@ -8325,10 +8329,10 @@ function Wi({
8325
8329
  type: "text",
8326
8330
  size: a,
8327
8331
  width: "100%",
8328
- value: U,
8332
+ value: P,
8329
8333
  onChange: (k) => {
8330
8334
  const C = k.target.value;
8331
- J.current = !0, B.current = !0, q(C), (w ? String(w) : "").trim() && x(r, "", { shouldDirty: !0 });
8335
+ J.current = !0, U.current = !0, q(C), (w ? String(w) : "").trim() && x(r, "", { shouldDirty: !0 });
8332
8336
  },
8333
8337
  onKeyDown: A,
8334
8338
  onBlur: () => {
@@ -8338,8 +8342,8 @@ function Wi({
8338
8342
  hasError: Z.invalid,
8339
8343
  errorMessage: (j = Z.error) == null ? void 0 : j.message,
8340
8344
  onFocus: () => {
8341
- if (J.current = !0, c === "button" && B.current) {
8342
- const k = (U || "").trim();
8345
+ if (J.current = !0, c === "button" && U.current) {
8346
+ const k = (P || "").trim();
8343
8347
  k && K(k);
8344
8348
  }
8345
8349
  },
@@ -8350,7 +8354,7 @@ function Wi({
8350
8354
  className: "!rounded-l-none",
8351
8355
  size: a,
8352
8356
  variant: "primary",
8353
- onClick: () => K((U || "").trim()),
8357
+ onClick: () => K((P || "").trim()),
8354
8358
  disabled: l,
8355
8359
  children: "Buscar"
8356
8360
  }
@@ -8366,7 +8370,7 @@ function Wi({
8366
8370
  className: "rounded-lg"
8367
8371
  }
8368
8372
  ) }),
8369
- $ && !g && _.length > 0 && /* @__PURE__ */ i.jsx(
8373
+ O && !g && _.length > 0 && /* @__PURE__ */ i.jsx(
8370
8374
  "ul",
8371
8375
  {
8372
8376
  className: `
@@ -8383,7 +8387,7 @@ function Wi({
8383
8387
  hover:bg-[var(--color-ds-background-surface)]`,
8384
8388
  onClick: () => {
8385
8389
  const C = String(k.value).trim();
8386
- x(r, C, { shouldDirty: !0, shouldValidate: !0 }), q(k.label ?? C), J.current = !1, B.current = !1, F(!1);
8390
+ x(r, C, { shouldDirty: !0, shouldValidate: !0 }), q(k.label ?? C), J.current = !1, U.current = !1, F(!1);
8387
8391
  },
8388
8392
  children: k.label
8389
8393
  },
@@ -8397,7 +8401,7 @@ function Wi({
8397
8401
  );
8398
8402
  }
8399
8403
  const gt = (r, e) => r[e], Es = (r) => r instanceof Date ? r.getTime() : r;
8400
- function qi(r, e, t) {
8404
+ function Gi(r, e, t) {
8401
8405
  const s = Es(r), n = Es(e);
8402
8406
  return typeof s == "number" && typeof n == "number" || typeof s == "string" && typeof n == "string" ? t === "gt" ? s > n : t === "gte" ? s >= n : t === "lt" ? s < n : s <= n : !1;
8403
8407
  }
@@ -8416,7 +8420,7 @@ function Wt(r, e) {
8416
8420
  case "gte":
8417
8421
  case "lt":
8418
8422
  case "lte":
8419
- return qi(gt(e, r.field), r.value, r.op);
8423
+ return Gi(gt(e, r.field), r.value, r.op);
8420
8424
  case "and":
8421
8425
  return r.rules.every((t) => Wt(t, e));
8422
8426
  case "or":
@@ -8425,11 +8429,10 @@ function Wt(r, e) {
8425
8429
  return !1;
8426
8430
  }
8427
8431
  }
8428
- const Gi = (r) => r.type !== "inputGroup" && r.type !== "button";
8429
- function il({
8432
+ const Yi = (r) => r.type !== "inputGroup" && r.type !== "button";
8433
+ function ll({
8430
8434
  schema: r,
8431
8435
  resolver: e
8432
- // <- opcional: pasa tu yupResolver desde fuera
8433
8436
  }) {
8434
8437
  const {
8435
8438
  layout: t,
@@ -8439,18 +8442,18 @@ function il({
8439
8442
  errorMessage: o,
8440
8443
  footerButtons: l,
8441
8444
  defaultValues: c,
8442
- loadDefaultValues: d,
8443
- validationSchema: u
8445
+ loadDefaultValues: u,
8446
+ validationSchema: d
8444
8447
  // por compatibilidad con esquemas explícitos ya existentes
8445
- } = r, { show: p } = Ti(), { t: m } = Ar(), y = Fe(() => {
8448
+ } = r, { show: p } = Ai(), { t: m } = Ar(), y = Fe(() => {
8446
8449
  if (e) return e;
8447
8450
  try {
8448
- const A = u ?? xi(r);
8451
+ const A = d ?? xi(r);
8449
8452
  return $o(A);
8450
8453
  } catch {
8451
8454
  return;
8452
8455
  }
8453
- }, [e, r, u]), x = oo({
8456
+ }, [e, r, d]), x = oo({
8454
8457
  resolver: y,
8455
8458
  mode: "onBlur",
8456
8459
  reValidateMode: "onChange",
@@ -8460,19 +8463,19 @@ function il({
8460
8463
  reset: _,
8461
8464
  handleSubmit: v,
8462
8465
  formState: { errors: g, isSubmitting: S }
8463
- } = x, [$, F] = ae(!1);
8466
+ } = x, [O, F] = ae(!1);
8464
8467
  de(() => {
8465
- d && (F(!0), d().then((A) => _(A)).finally(() => F(!1)));
8466
- }, [d, _]);
8467
- const U = Fe(
8468
- () => (s ?? []).filter(Gi),
8468
+ u && (F(!0), u().then((A) => _(A)).finally(() => F(!1)));
8469
+ }, [u, _]);
8470
+ const P = Fe(
8471
+ () => (s ?? []).filter(Yi),
8469
8472
  [s]
8470
- ), { loadingCount: q, optionsMap: N } = $i(U), O = Ri(s), J = zi(s, w), B = Fe(() => {
8473
+ ), { loadingCount: q, optionsMap: N } = Mi(P), M = Vi(s), J = Bi(s, w), U = Fe(() => {
8471
8474
  const A = {};
8472
8475
  return t.forEach((h, Z) => {
8473
8476
  h.type === "tabs" && (A[Z] = h.tabs[0].key);
8474
8477
  }), A;
8475
- }, [t]), [M, Y] = ae(B), K = or(
8478
+ }, [t]), [$, Y] = ae(U), K = or(
8476
8479
  (A, h) => {
8477
8480
  if (!(A != null && A.enabled) || !A.rule) return h;
8478
8481
  try {
@@ -8521,7 +8524,7 @@ function il({
8521
8524
  var se, oe, xe, ye;
8522
8525
  let h;
8523
8526
  if (typeof A == "string") {
8524
- if (h = O[A], !h) return null;
8527
+ if (h = M[A], !h) return null;
8525
8528
  } else
8526
8529
  h = A;
8527
8530
  const Z = h.visibleWhen;
@@ -8537,12 +8540,12 @@ function il({
8537
8540
  !1
8538
8541
  );
8539
8542
  if (C != null && C.enabled && (k = D), !(C != null && C.enabled) && "name" in h && h.name && J[h.name] && (k = !0), h.type === "search") {
8540
- const te = (Ae) => h.searchFn(Ae, {
8543
+ const te = ($e) => h.searchFn($e, {
8541
8544
  getValues: x.getValues,
8542
8545
  watch: x.watch
8543
8546
  }), fe = {};
8544
8547
  return h.searchMode && (fe.searchMode = h.searchMode), h.minChars && (fe.minChars = h.minChars), h.debounceMs && (fe.debounceMs = h.debounceMs), h.resolveByValue && (fe.resolveByValue = h.resolveByValue), /* @__PURE__ */ i.jsx(
8545
- Wi,
8548
+ qi,
8546
8549
  {
8547
8550
  name: h.name,
8548
8551
  control: w,
@@ -8557,9 +8560,9 @@ function il({
8557
8560
  );
8558
8561
  }
8559
8562
  if (h.type === "inputGroup") {
8560
- const te = h, fe = te.inputs.map((Ae) => {
8563
+ const te = h, fe = te.inputs.map(($e) => {
8561
8564
  var dt;
8562
- const he = typeof Ae == "string" ? O[Ae] : Ae;
8565
+ const he = typeof $e == "string" ? M[$e] : $e;
8563
8566
  if (!he) return null;
8564
8567
  const Me = he.disabledWhen;
8565
8568
  let ut = !!he.disabled;
@@ -8568,14 +8571,13 @@ function il({
8568
8571
  const Ht = {
8569
8572
  name: he.name,
8570
8573
  control: w,
8571
- type: he.type,
8572
8574
  label: he.label,
8573
8575
  size: he.size,
8574
8576
  width: he.width,
8575
8577
  placeholder: he.placeholder,
8576
8578
  hasError: !!g[he.name],
8577
8579
  errorMessage: ((dt = g[he.name]) == null ? void 0 : dt.message) || "",
8578
- loading: $,
8580
+ loading: O,
8579
8581
  disabled: ut,
8580
8582
  suffixButton: he.suffixButton,
8581
8583
  reserveErrorSpace: !0
@@ -8584,10 +8586,13 @@ function il({
8584
8586
  ...Ht,
8585
8587
  options: he.options ?? N[he.name] ?? [],
8586
8588
  loadOptions: he.options ? void 0 : he.loadOptions
8587
- } : Ht;
8588
- }).filter((Ae) => Ae !== null);
8589
+ } : {
8590
+ ...Ht,
8591
+ type: he.type
8592
+ };
8593
+ }).filter(Boolean);
8589
8594
  return /* @__PURE__ */ i.jsx(
8590
- bi,
8595
+ yi,
8591
8596
  {
8592
8597
  groupLabel: te.groupLabel,
8593
8598
  inputs: fe,
@@ -8632,7 +8637,7 @@ function il({
8632
8637
  switch (h.type) {
8633
8638
  case "select":
8634
8639
  return /* @__PURE__ */ i.jsx(
8635
- Oe,
8640
+ Ce,
8636
8641
  {
8637
8642
  name: h.name,
8638
8643
  control: w,
@@ -8657,12 +8662,12 @@ function il({
8657
8662
  );
8658
8663
  case "textarea":
8659
8664
  return /* @__PURE__ */ i.jsx(
8660
- Oe,
8665
+ Ce,
8661
8666
  {
8662
8667
  name: h.name,
8663
8668
  control: w,
8664
8669
  render: ({ field: te, fieldState: fe }) => {
8665
- var Ae;
8670
+ var $e;
8666
8671
  return /* @__PURE__ */ i.jsx(
8667
8672
  jn,
8668
8673
  {
@@ -8672,7 +8677,7 @@ function il({
8672
8677
  maxLength: h.maxLength,
8673
8678
  showCounter: !!h.showCounter,
8674
8679
  hasError: !!fe.error,
8675
- errorMessage: ((Ae = fe.error) == null ? void 0 : Ae.message) || ""
8680
+ errorMessage: (($e = fe.error) == null ? void 0 : $e.message) || ""
8676
8681
  }
8677
8682
  );
8678
8683
  }
@@ -8694,7 +8699,7 @@ function il({
8694
8699
  );
8695
8700
  case "checkbox":
8696
8701
  return /* @__PURE__ */ i.jsx(
8697
- Zi,
8702
+ Wi,
8698
8703
  {
8699
8704
  ...ue,
8700
8705
  defaultValue: !1,
@@ -8718,7 +8723,7 @@ function il({
8718
8723
  );
8719
8724
  case "optionGroup":
8720
8725
  return /* @__PURE__ */ i.jsx(
8721
- vi,
8726
+ wi,
8722
8727
  {
8723
8728
  ...ue,
8724
8729
  options: h.options || [],
@@ -8737,7 +8742,7 @@ function il({
8737
8742
  {
8738
8743
  ...ue,
8739
8744
  type: h.type,
8740
- loadingDefaults: $,
8745
+ loadingDefaults: O,
8741
8746
  hasError: !!g[h.name],
8742
8747
  errorMessage: (ye = g[h.name]) == null ? void 0 : ye.message,
8743
8748
  suffixButton: re,
@@ -8748,11 +8753,11 @@ function il({
8748
8753
  }
8749
8754
  },
8750
8755
  [
8751
- O,
8756
+ M,
8752
8757
  w,
8753
8758
  g,
8754
8759
  S,
8755
- $,
8760
+ O,
8756
8761
  N,
8757
8762
  K,
8758
8763
  J,
@@ -8769,7 +8774,7 @@ function il({
8769
8774
  await n(A), p(a ?? m("ds.form.saveSuccess"), "success");
8770
8775
  },
8771
8776
  (A) => {
8772
- console.log("❌ errores de validación:", A), wi(A), p(o ?? m("ds.form.saveError"), "error");
8777
+ console.log("❌ errores de validación:", A), ki(A), p(o ?? m("ds.form.saveError"), "error");
8773
8778
  }
8774
8779
  ),
8775
8780
  className: "space-y-6",
@@ -8813,7 +8818,7 @@ function il({
8813
8818
  gi,
8814
8819
  {
8815
8820
  options: A.tabs.map((Z) => ({ label: Z.label, value: Z.key })),
8816
- value: M[h],
8821
+ value: $[h],
8817
8822
  onChange: (Z) => Y((j) => ({ ...j, [h]: Z })),
8818
8823
  children: Object.fromEntries(
8819
8824
  A.tabs.map((Z) => [
@@ -8849,7 +8854,7 @@ function il({
8849
8854
  variant: "primary",
8850
8855
  icon: zn,
8851
8856
  size: "sm",
8852
- disabled: S || $ || q > 0,
8857
+ disabled: S || O || q > 0,
8853
8858
  children: m(S ? "ds.form.sending" : "ds.form.submit")
8854
8859
  }
8855
8860
  ) })
@@ -8857,7 +8862,7 @@ function il({
8857
8862
  }
8858
8863
  ) });
8859
8864
  }
8860
- const Yi = {
8865
+ const Hi = {
8861
8866
  sm: "h-8 w-8",
8862
8867
  // 2rem x 2rem
8863
8868
  md: "h-10 w-10",
@@ -8865,7 +8870,7 @@ const Yi = {
8865
8870
  lg: "h-12 w-12"
8866
8871
  // 3rem x 3rem
8867
8872
  };
8868
- function Hi({
8873
+ function Xi({
8869
8874
  icon: r,
8870
8875
  size: e = "md",
8871
8876
  ariaLabel: t,
@@ -8890,7 +8895,7 @@ function Hi({
8890
8895
  "transition-transform",
8891
8896
  // para la animación de pulso
8892
8897
  "focus:outline-none",
8893
- Yi[e],
8898
+ Hi[e],
8894
8899
  s ? "opacity-50 cursor-not-allowed" : [
8895
8900
  "hover:scale-110",
8896
8901
  // ligero tamaño extra en hover
@@ -8903,7 +8908,7 @@ function Hi({
8903
8908
  }
8904
8909
  );
8905
8910
  }
8906
- function Xi({ dark: r, onToggle: e }) {
8911
+ function Ki({ dark: r, onToggle: e }) {
8907
8912
  return /* @__PURE__ */ i.jsx(
8908
8913
  "button",
8909
8914
  {
@@ -8929,7 +8934,7 @@ function Xi({ dark: r, onToggle: e }) {
8929
8934
  ),
8930
8935
  children: [
8931
8936
  /* @__PURE__ */ i.jsx(
8932
- Be,
8937
+ Ue,
8933
8938
  {
8934
8939
  component: oa,
8935
8940
  size: "sm",
@@ -8940,7 +8945,7 @@ function Xi({ dark: r, onToggle: e }) {
8940
8945
  }
8941
8946
  ),
8942
8947
  /* @__PURE__ */ i.jsx(
8943
- Be,
8948
+ Ue,
8944
8949
  {
8945
8950
  component: na,
8946
8951
  size: "sm",
@@ -8961,7 +8966,7 @@ const En = yr({
8961
8966
  toggle: () => {
8962
8967
  }
8963
8968
  });
8964
- function ll({ children: r }) {
8969
+ function cl({ children: r }) {
8965
8970
  const [e, t] = ae(!1), [s, n] = ae("light");
8966
8971
  de(() => {
8967
8972
  if (typeof window > "u") return;
@@ -8973,7 +8978,7 @@ function ll({ children: r }) {
8973
8978
  const a = () => n((o) => o === "light" ? "dark" : "light");
8974
8979
  return e ? /* @__PURE__ */ i.jsx(En.Provider, { value: { theme: s, toggle: a }, children: r }) : null;
8975
8980
  }
8976
- const Nn = () => vr(En), Ki = ({
8981
+ const Nn = () => vr(En), Ji = ({
8977
8982
  pinnedPages: r,
8978
8983
  onRemovePinned: e,
8979
8984
  onBack: t,
@@ -8983,13 +8988,13 @@ const Nn = () => vr(En), Ki = ({
8983
8988
  onChangeLocale: o,
8984
8989
  profile: l,
8985
8990
  profileOptions: c,
8986
- onChangeProfile: d
8991
+ onChangeProfile: u
8987
8992
  }) => {
8988
- const u = r.slice(0, 3), { toggle: p } = Nn(), { t: m, i18n: y } = Ar(), x = (w) => {
8993
+ const d = r.slice(0, 3), { toggle: p } = Nn(), { t: m, i18n: y } = Ar(), x = (w) => {
8989
8994
  o(w);
8990
8995
  };
8991
8996
  return /* @__PURE__ */ i.jsxs("header", { className: "flex items-center bg-[var(--color-ds-background-page)] py-2", children: [
8992
- /* @__PURE__ */ i.jsx("div", { className: "flex items-center space-x-2", children: u.map((w) => /* @__PURE__ */ i.jsxs("div", { className: "flex items-center", children: [
8997
+ /* @__PURE__ */ i.jsx("div", { className: "flex items-center space-x-2", children: d.map((w) => /* @__PURE__ */ i.jsxs("div", { className: "flex items-center", children: [
8993
8998
  /* @__PURE__ */ i.jsx(
8994
8999
  "a",
8995
9000
  {
@@ -9005,7 +9010,7 @@ const Nn = () => vr(En), Ki = ({
9005
9010
  }
9006
9011
  ),
9007
9012
  /* @__PURE__ */ i.jsx(
9008
- Hi,
9013
+ Xi,
9009
9014
  {
9010
9015
  icon: kr,
9011
9016
  size: "sm",
@@ -9034,14 +9039,14 @@ const Nn = () => vr(En), Ki = ({
9034
9039
  width: "auto",
9035
9040
  options: c,
9036
9041
  value: l,
9037
- onChange: d,
9042
+ onChange: u,
9038
9043
  disableErrorPlaceholder: !0
9039
9044
  }
9040
9045
  ),
9041
- /* @__PURE__ */ i.jsx(Xi, { dark: s, onToggle: p })
9046
+ /* @__PURE__ */ i.jsx(Ki, { dark: s, onToggle: p })
9042
9047
  ] })
9043
9048
  ] });
9044
- }, cl = ({
9049
+ }, ul = ({
9045
9050
  loading: r = !1,
9046
9051
  ariaLabel: e = "Cargando..."
9047
9052
  }) => r ? /* @__PURE__ */ i.jsxs(
@@ -9072,7 +9077,7 @@ const Nn = () => vr(En), Ki = ({
9072
9077
  /* @__PURE__ */ i.jsx("span", { className: "sr-only", children: e })
9073
9078
  ]
9074
9079
  }
9075
- ) : null, ul = ({
9080
+ ) : null, dl = ({
9076
9081
  isOpen: r,
9077
9082
  onClose: e,
9078
9083
  title: t,
@@ -9144,17 +9149,17 @@ const Nn = () => vr(En), Ki = ({
9144
9149
  };
9145
9150
  return /* @__PURE__ */ i.jsx("ul", { className: I(s > 0 ? "mt-1" : "mt-0"), children: r.map((l) => {
9146
9151
  var x;
9147
- const c = l.value === e, d = n.has(l.value), u = ["pl-2", "pl-2", "pl-2"][s] || "pl-4", p = s === 0 ? d || c ? "bg-[var(--color-ds-background-accent)] text-[var(--color-ds-text-on-accent)] rounded-r-lg" : "text-[var(--color-ds-text-primary)] hover:bg-[var(--color-ds-background-surface)]" : c ? "bg-[var(--color-ds-background-surface)] text-[var(--color-ds-text-primary)]" : "text-[var(--color-ds-text-primary)] hover:bg-[var(--color-ds-background-surface)]", m = s === 0 && (d || c) ? "text-[var(--color-ds-text-on-accent)]" : "text-[var(--color-ds-text-secondary)]", y = !!((x = l.children) != null && x.length);
9152
+ const c = l.value === e, u = n.has(l.value), d = ["pl-2", "pl-2", "pl-2"][s] || "pl-4", p = s === 0 ? u || c ? "bg-[var(--color-ds-background-accent)] text-[var(--color-ds-text-on-accent)] rounded-r-lg" : "text-[var(--color-ds-text-primary)] hover:bg-[var(--color-ds-background-surface)]" : c ? "bg-[var(--color-ds-background-surface)] text-[var(--color-ds-text-primary)]" : "text-[var(--color-ds-text-primary)] hover:bg-[var(--color-ds-background-surface)]", m = s === 0 && (u || c) ? "text-[var(--color-ds-text-on-accent)]" : "text-[var(--color-ds-text-secondary)]", y = !!((x = l.children) != null && x.length);
9148
9153
  return /* @__PURE__ */ i.jsxs("li", { children: [
9149
9154
  /* @__PURE__ */ i.jsxs(
9150
9155
  "button",
9151
9156
  {
9152
9157
  type: "button",
9153
9158
  onClick: () => y ? o(l.value) : t(l.value),
9154
- "aria-expanded": y ? d : void 0,
9159
+ "aria-expanded": y ? u : void 0,
9155
9160
  className: I(
9156
9161
  "w-full flex items-center justify-between h-8 transition-colors",
9157
- u,
9162
+ d,
9158
9163
  p
9159
9164
  ),
9160
9165
  children: [
@@ -9162,7 +9167,7 @@ const Nn = () => vr(En), Ki = ({
9162
9167
  s === 0 && l.icon && /* @__PURE__ */ i.jsx(l.icon, { className: "w-5 h-5 ml-2" }),
9163
9168
  /* @__PURE__ */ i.jsx("span", { className: "text-ds-sm", children: l.label })
9164
9169
  ] }),
9165
- y && (d ? /* @__PURE__ */ i.jsx(wr, { className: I("w-4 h-4", m) }) : /* @__PURE__ */ i.jsx(Zn, { className: I("w-4 h-4", m) }))
9170
+ y && (u ? /* @__PURE__ */ i.jsx(wr, { className: I("w-4 h-4", m) }) : /* @__PURE__ */ i.jsx(Zn, { className: I("w-4 h-4", m) }))
9166
9171
  ]
9167
9172
  }
9168
9173
  ),
@@ -9172,7 +9177,7 @@ const Nn = () => vr(En), Ki = ({
9172
9177
  className: I(
9173
9178
  "overflow-hidden transition-[max-height] duration-300 ease-in-out",
9174
9179
  "border-l-1 border-[var(--color-ds-background-accent)] ml-6",
9175
- d ? "max-h-screen" : "max-h-0"
9180
+ u ? "max-h-screen" : "max-h-0"
9176
9181
  ),
9177
9182
  children: /* @__PURE__ */ i.jsx(
9178
9183
  _n,
@@ -9187,7 +9192,7 @@ const Nn = () => vr(En), Ki = ({
9187
9192
  )
9188
9193
  ] }, l.value);
9189
9194
  }) });
9190
- }, Ji = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Capa_1'%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20viewBox='0%200%20250%20250'%3e%3c!--%20Generator:%20Adobe%20Illustrator%2029.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%202.1.0%20Build%20186)%20--%3e%3cdefs%3e%3cstyle%3e%20.st0%20{%20fill:%20%23FFFFFF;%20}%20%3c/style%3e%3c/defs%3e%3cpath%20class='st0'%20d='M101.7,82.72c1.6.57,3.25,1.09,4.98,1.53,11.93,3.07,17.85,7.44,17.85,13.01,0,2.72-1.14,5-3.43,6.86-2.29,1.86-5.14,2.79-8.57,2.79s-6.49-1.13-8.9-3.36c-2.62,6.82-6.19,13.16-10.51,18.91,5.53,3.09,11.9,4.68,19.13,4.68,10.14,0,18.64-3,25.43-9.01,3.7-3.24,6.35-6.96,8.02-11.11,1.77,3.2,4.03,6.17,6.81,8.9,7.64,7.51,17.28,11.22,28.78,11.22,9.14,0,17.21-2.43,24.21-7.22,2.24-1.55,4.24-3.27,6.05-5.14l-14.05-13.73h-.14c-2.57,4.29-8.57,7.44-15.64,7.44-8.78,0-15.5-5.22-17.85-13.58h57.06c.36-1.57.57-3.79.57-6.58,0-11.37-3.86-20.73-11.5-28.24-7.71-7.44-17.28-11.15-28.71-11.15s-21.14,3.72-28.78,11.15c-5.19,5.09-8.59,11.03-10.26,17.78-1.11-1.42-2.37-2.71-3.78-3.83-6.07-4.79-12.07-7.36-20.64-9.73-11-2.93-16.5-7.08-16.5-12.58,0-2.51,1-4.65,3.07-6.37,2.07-1.71,4.57-2.57,7.57-2.57,3.21,0,5.93,1,8,3,2.07,2,3.14,4.5,3.14,7.5h23.21c0-8.79-3.29-16.08-9.78-21.95-6.5-5.86-14.71-8.79-24.57-8.79s-17.44,2.77-23.89,8.31C74.82,12.54,53.44.47,29.27,0v24.08c27.07.77,48.86,23.04,48.86,50.32s-21.79,49.55-48.86,50.32v24.08c37.54-.72,68.34-29.42,72.44-66.08ZM181.29,67.38c8.21,0,15,5.08,17.21,13.3h-34.5c2.57-8.22,8.93-13.3,17.28-13.3Z'/%3e%3cpath%20class='st0'%20d='M29.35,160.65v29.07h10.94c4.12,0,7.57-1.38,10.31-4.16,2.74-2.76,4.12-6.21,4.12-10.39s-1.38-7.61-4.12-10.39c-2.74-2.76-6.19-4.14-10.31-4.14h-10.94ZM52.1,175.17c0,3.46-1.14,6.34-3.39,8.64-2.25,2.3-5.07,3.46-8.46,3.46h-8.36v-24.17h8.36c3.39,0,6.21,1.15,8.46,3.46,2.25,2.3,3.39,5.18,3.39,8.62Z'/%3e%3cpath%20class='st0'%20d='M60.61,161.41c0-.97-.79-1.73-1.79-1.73s-1.75.76-1.75,1.73.79,1.77,1.75,1.77,1.79-.76,1.79-1.77Z'/%3e%3crect%20class='st0'%20x='57.63'%20y='168.24'%20width='2.42'%20height='21.48'/%3e%3cpath%20class='st0'%20d='M64.15,168.24v29.48h2.41v-13.19c.85,1.77,2.09,3.17,3.69,4.18,1.6,1.01,3.41,1.52,5.44,1.52,3.11,0,5.7-1.07,7.75-3.23,2.05-2.16,3.07-4.83,3.07-8.04s-1.04-5.86-3.09-8.02c-2.05-2.14-4.63-3.21-7.73-3.21-2.03,0-3.84.49-5.44,1.5-1.6,1.01-2.84,2.41-3.69,4.18v-5.16h-2.41ZM69.06,172.62c1.64-1.69,3.73-2.53,6.23-2.53s4.57.84,6.23,2.53c1.66,1.71,2.5,3.8,2.5,6.33s-.83,4.65-2.5,6.36c-1.66,1.71-3.73,2.55-6.23,2.55s-4.59-.84-6.23-2.55c-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33Z'/%3e%3cpath%20class='st0'%20d='M107.73,189.71v-21.48h-2.42v12.59c0,2.1-.65,3.79-1.97,5.08-1.32,1.3-3.05,1.95-5.18,1.95s-3.69-.64-4.93-1.91c-1.26-1.28-1.89-2.96-1.89-5.04v-12.67h-2.4v13.35c0,2.61.79,4.69,2.35,6.27,1.56,1.58,3.61,2.37,6.15,2.37,3.65-.02,6.27-1.52,7.85-4.53v4.01h2.42Z'/%3e%3cpolygon%20class='st0'%20points='117.35%20189.71%20117.35%20170.46%20122.55%20170.46%20122.55%20168.24%20117.35%20168.24%20117.35%20161.9%20114.94%20162.38%20114.94%20168.24%20110.01%20168.24%20110.01%20170.46%20114.94%20170.46%20114.94%20189.71%20117.35%20189.71'/%3e%3cpath%20class='st0'%20d='M144.27,189.71v-21.48h-2.42v5.12c-.87-1.75-2.13-3.13-3.73-4.14-1.6-1.01-3.41-1.5-5.4-1.5-3.08,0-5.64,1.07-7.69,3.21-2.05,2.16-3.09,4.83-3.09,8.02s1.04,5.88,3.09,8.04c2.05,2.16,4.63,3.23,7.69,3.23,1.99,0,3.79-.51,5.4-1.52,1.6-1.01,2.84-2.39,3.73-4.13v5.14h2.42ZM139.36,185.31c-1.66,1.71-3.73,2.55-6.23,2.55s-4.53-.84-6.19-2.55c-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33c1.66-1.69,3.73-2.53,6.19-2.53s4.57.84,6.23,2.53c1.66,1.71,2.5,3.8,2.5,6.33s-.83,4.65-2.5,6.36Z'/%3e%3cpath%20class='st0'%20d='M158.18,170.09c2.09,0,3.9.62,5.46,1.85,1.54,1.23,2.56,2.84,3.02,4.83h2.5c-.47-2.63-1.73-4.79-3.73-6.5-2.03-1.71-4.44-2.55-7.25-2.55-3.19,0-5.84,1.07-8,3.21-2.15,2.16-3.23,4.83-3.23,8.02s1.08,5.88,3.23,8.04c2.13,2.16,4.81,3.23,8,3.23,2.8,0,5.22-.84,7.25-2.55,2.01-1.71,3.27-3.87,3.73-6.52h-2.5c-.47,2-1.48,3.62-3.02,4.85-1.56,1.23-3.37,1.85-5.46,1.85-2.5,0-4.57-.84-6.23-2.55-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33c1.66-1.69,3.73-2.53,6.23-2.53Z'/%3e%3crect%20class='st0'%20x='171.72'%20y='168.24'%20width='2.42'%20height='21.48'/%3e%3cpath%20class='st0'%20d='M174.71,161.41c0-.97-.79-1.73-1.79-1.73s-1.75.76-1.75,1.73.79,1.77,1.75,1.77,1.79-.76,1.79-1.77Z'/%3e%3cpath%20class='st0'%20d='M176.86,178.95c0,3.21,1.08,5.88,3.23,8.04,2.15,2.16,4.83,3.23,8.02,3.23s5.85-1.07,7.98-3.23c2.13-2.16,3.19-4.83,3.19-8.04s-1.06-5.86-3.19-8.02c-2.13-2.14-4.79-3.21-7.98-3.21s-5.86,1.07-8.02,3.21c-2.15,2.16-3.23,4.83-3.23,8.02ZM188.09,170.09c2.5,0,4.57.84,6.21,2.53,1.64,1.71,2.48,3.8,2.48,6.33s-.83,4.65-2.48,6.36c-1.64,1.71-3.71,2.55-6.21,2.55s-4.57-.84-6.23-2.55c-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33c1.66-1.69,3.73-2.53,6.23-2.53Z'/%3e%3cpolygon%20class='st0'%20points='194.03%20160.01%20190.83%20160.01%20186.46%20165.15%20189.08%20165.15%20194.03%20160.01'/%3e%3cpath%20class='st0'%20d='M221.5,189.71v-13.02c0-2.69-.81-4.86-2.44-6.5-1.64-1.65-3.79-2.47-6.45-2.47-3.75,0-6.68,1.67-8.22,4.71v-4.2h-2.42v21.48h2.42v-12.22c0-2.22.69-4.01,2.07-5.37,1.38-1.36,3.19-2.04,5.44-2.04s3.92.66,5.24,2c1.32,1.34,1.97,3.11,1.97,5.33v12.3h2.4Z'/%3e%3cpath%20class='st0'%20d='M57.27,225.24c-2.82-2.23-5.61-3.43-9.59-4.53-5.11-1.37-7.66-3.3-7.66-5.87,0-1.17.46-2.17,1.43-2.97.96-.8,2.12-1.2,3.52-1.2,1.49,0,2.75.47,3.72,1.4.96.93,1.46,2.1,1.46,3.5h10.78c0-4.1-1.53-7.5-4.55-10.23-3.02-2.73-6.83-4.1-11.42-4.1s-8.23,1.33-11.25,4c-3.02,2.67-4.51,6-4.51,10s1.26,7.4,3.75,9.73c2.49,2.37,5.68,4.03,9.56,5.03,5.54,1.43,8.29,3.47,8.29,6.06,0,1.27-.53,2.33-1.59,3.2-1.06.87-2.39,1.3-3.98,1.3s-3.05-.53-4.18-1.6c-1.16-1.07-1.73-2.37-1.73-3.93h-10.82c0,4.3,1.59,7.86,4.78,10.7,3.15,2.83,7.1,4.26,11.81,4.26s8.66-1.4,11.81-4.2c3.15-2.77,4.71-6.26,4.71-10.43,0-4.43-1.56-7.9-4.35-10.13Z'/%3e%3cpolygon%20class='st0'%20points='118.26%20236.54%20110.23%20214.38%2098.88%20214.38%20113.02%20249.17%20123.21%20249.17%20137.28%20214.38%20126.19%20214.38%20118.26%20236.54'/%3e%3crect%20class='st0'%20x='139.25'%20y='214.38'%20width='9.92'%20height='34.79'/%3e%3cpath%20class='st0'%20d='M144.2,199.53c-1.72,0-3.18.57-4.35,1.73-1.16,1.17-1.76,2.6-1.76,4.33s.6,3.23,1.76,4.4c1.16,1.17,2.62,1.73,4.35,1.73s3.25-.57,4.45-1.73c1.16-1.17,1.76-2.63,1.76-4.4s-.6-3.17-1.76-4.33c-1.19-1.17-2.69-1.73-4.45-1.73Z'/%3e%3crect%20class='st0'%20x='154.93'%20y='200.02'%20width='9.92'%20height='49.15'/%3e%3crect%20class='st0'%20x='170.61'%20y='200.02'%20width='9.92'%20height='49.15'/%3e%3cpath%20class='st0'%20d='M211.58,214.38v3.8c-2.82-3.1-6.34-4.63-10.49-4.63-4.75,0-8.73,1.73-11.91,5.2-3.22,3.5-4.81,7.83-4.81,13s1.59,9.53,4.81,13.03c3.19,3.5,7.17,5.23,11.91,5.23,4.18-.03,7.67-1.57,10.49-4.67v3.83h9.92v-34.79h-9.92ZM209.19,237.9c-1.63,1.63-3.65,2.47-6.11,2.47s-4.41-.83-6.01-2.47c-1.63-1.63-2.42-3.7-2.42-6.17s.8-4.5,2.42-6.13c1.59-1.63,3.58-2.43,6.01-2.43s4.45.8,6.07,2.43c1.63,1.63,2.42,3.7,2.42,6.13s-.8,4.53-2.39,6.17Z'/%3e%3cpath%20class='st0'%20d='M82.34,213.54c-5.34,0-9.82,1.73-13.37,5.2-3.55,3.5-5.34,7.83-5.34,13s1.79,9.53,5.34,13.03c3.55,3.5,8.03,5.23,13.37,5.23,4.25,0,8-1.13,11.25-3.37,1.05-.73,1.99-1.55,2.84-2.43l-6.5-6.37h-.13c-1.19,2-3.98,3.47-7.27,3.47-4.08,0-7.2-2.43-8.29-6.33h26.51c.17-.73.27-1.77.27-3.07,0-5.3-1.79-9.66-5.34-13.16-3.58-3.47-8.03-5.2-13.34-5.2ZM74.31,228.34c1.19-3.83,4.15-6.2,8.03-6.2s6.97,2.37,8,6.2h-16.03Z'/%3e%3c/svg%3e", Qi = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Capa_1'%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20viewBox='0%200%20250%20250'%3e%3c!--%20Generator:%20Adobe%20Illustrator%2029.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%202.1.0%20Build%20186)%20--%3e%3cdefs%3e%3cstyle%3e%20.st0%20{%20fill:%20%23005751;%20}%20%3c/style%3e%3c/defs%3e%3cpath%20class='st0'%20d='M101.7,82.72c1.6.57,3.25,1.09,4.98,1.53,11.93,3.07,17.85,7.44,17.85,13.01,0,2.72-1.14,5-3.43,6.86-2.29,1.86-5.14,2.79-8.57,2.79s-6.49-1.13-8.9-3.36c-2.62,6.82-6.19,13.16-10.51,18.91,5.53,3.09,11.9,4.68,19.13,4.68,10.14,0,18.64-3,25.43-9.01,3.7-3.24,6.35-6.96,8.02-11.11,1.77,3.2,4.03,6.17,6.81,8.9,7.64,7.51,17.28,11.22,28.78,11.22,9.14,0,17.21-2.43,24.21-7.22,2.24-1.55,4.24-3.27,6.05-5.14l-14.05-13.73h-.14c-2.57,4.29-8.57,7.44-15.64,7.44-8.78,0-15.5-5.22-17.85-13.58h57.06c.36-1.57.57-3.79.57-6.58,0-11.37-3.86-20.73-11.5-28.24-7.71-7.44-17.28-11.15-28.71-11.15s-21.14,3.72-28.78,11.15c-5.19,5.09-8.59,11.03-10.26,17.78-1.11-1.42-2.37-2.71-3.78-3.83-6.07-4.79-12.07-7.36-20.64-9.73-11-2.93-16.5-7.08-16.5-12.58,0-2.51,1-4.65,3.07-6.37,2.07-1.71,4.57-2.57,7.57-2.57,3.21,0,5.93,1,8,3,2.07,2,3.14,4.5,3.14,7.5h23.21c0-8.79-3.29-16.08-9.78-21.95-6.5-5.86-14.71-8.79-24.57-8.79s-17.44,2.77-23.89,8.31C74.82,12.54,53.44.47,29.27,0v24.08c27.07.77,48.86,23.04,48.86,50.32s-21.79,49.55-48.86,50.32v24.08c37.54-.72,68.34-29.42,72.44-66.08ZM181.29,67.38c8.21,0,15,5.08,17.21,13.3h-34.5c2.57-8.22,8.93-13.3,17.28-13.3Z'/%3e%3cpath%20class='st0'%20d='M29.35,160.65v29.07h10.94c4.12,0,7.57-1.38,10.31-4.16,2.74-2.76,4.12-6.21,4.12-10.39s-1.38-7.61-4.12-10.39c-2.74-2.76-6.19-4.14-10.31-4.14h-10.94ZM52.1,175.17c0,3.46-1.14,6.34-3.39,8.64-2.25,2.3-5.07,3.46-8.46,3.46h-8.36v-24.17h8.36c3.39,0,6.21,1.15,8.46,3.46,2.25,2.3,3.39,5.18,3.39,8.62Z'/%3e%3cpath%20class='st0'%20d='M60.61,161.41c0-.97-.79-1.73-1.79-1.73s-1.75.76-1.75,1.73.79,1.77,1.75,1.77,1.79-.76,1.79-1.77Z'/%3e%3crect%20class='st0'%20x='57.63'%20y='168.24'%20width='2.42'%20height='21.48'/%3e%3cpath%20class='st0'%20d='M64.15,168.24v29.48h2.41v-13.19c.85,1.77,2.09,3.17,3.69,4.18,1.6,1.01,3.41,1.52,5.44,1.52,3.11,0,5.7-1.07,7.75-3.23,2.05-2.16,3.07-4.83,3.07-8.04s-1.04-5.86-3.09-8.02c-2.05-2.14-4.63-3.21-7.73-3.21-2.03,0-3.84.49-5.44,1.5-1.6,1.01-2.84,2.41-3.69,4.18v-5.16h-2.41ZM69.06,172.62c1.64-1.69,3.73-2.53,6.23-2.53s4.57.84,6.23,2.53c1.66,1.71,2.5,3.8,2.5,6.33s-.83,4.65-2.5,6.36c-1.66,1.71-3.73,2.55-6.23,2.55s-4.59-.84-6.23-2.55c-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33Z'/%3e%3cpath%20class='st0'%20d='M107.73,189.71v-21.48h-2.42v12.59c0,2.1-.65,3.79-1.97,5.08-1.32,1.3-3.05,1.95-5.18,1.95s-3.69-.64-4.93-1.91c-1.26-1.28-1.89-2.96-1.89-5.04v-12.67h-2.4v13.35c0,2.61.79,4.69,2.35,6.27,1.56,1.58,3.61,2.37,6.15,2.37,3.65-.02,6.27-1.52,7.85-4.53v4.01h2.42Z'/%3e%3cpolygon%20class='st0'%20points='117.35%20189.71%20117.35%20170.46%20122.55%20170.46%20122.55%20168.24%20117.35%20168.24%20117.35%20161.9%20114.94%20162.38%20114.94%20168.24%20110.01%20168.24%20110.01%20170.46%20114.94%20170.46%20114.94%20189.71%20117.35%20189.71'/%3e%3cpath%20class='st0'%20d='M144.27,189.71v-21.48h-2.42v5.12c-.87-1.75-2.13-3.13-3.73-4.14-1.6-1.01-3.41-1.5-5.4-1.5-3.08,0-5.64,1.07-7.69,3.21-2.05,2.16-3.09,4.83-3.09,8.02s1.04,5.88,3.09,8.04c2.05,2.16,4.63,3.23,7.69,3.23,1.99,0,3.79-.51,5.4-1.52,1.6-1.01,2.84-2.39,3.73-4.13v5.14h2.42ZM139.36,185.31c-1.66,1.71-3.73,2.55-6.23,2.55s-4.53-.84-6.19-2.55c-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33c1.66-1.69,3.73-2.53,6.19-2.53s4.57.84,6.23,2.53c1.66,1.71,2.5,3.8,2.5,6.33s-.83,4.65-2.5,6.36Z'/%3e%3cpath%20class='st0'%20d='M158.18,170.09c2.09,0,3.9.62,5.46,1.85,1.54,1.23,2.56,2.84,3.02,4.83h2.5c-.47-2.63-1.73-4.79-3.73-6.5-2.03-1.71-4.44-2.55-7.25-2.55-3.19,0-5.84,1.07-8,3.21-2.15,2.16-3.23,4.83-3.23,8.02s1.08,5.88,3.23,8.04c2.13,2.16,4.81,3.23,8,3.23,2.8,0,5.22-.84,7.25-2.55,2.01-1.71,3.27-3.87,3.73-6.52h-2.5c-.47,2-1.48,3.62-3.02,4.85-1.56,1.23-3.37,1.85-5.46,1.85-2.5,0-4.57-.84-6.23-2.55-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33c1.66-1.69,3.73-2.53,6.23-2.53Z'/%3e%3crect%20class='st0'%20x='171.72'%20y='168.24'%20width='2.42'%20height='21.48'/%3e%3cpath%20class='st0'%20d='M174.71,161.41c0-.97-.79-1.73-1.79-1.73s-1.75.76-1.75,1.73.79,1.77,1.75,1.77,1.79-.76,1.79-1.77Z'/%3e%3cpath%20class='st0'%20d='M176.86,178.95c0,3.21,1.08,5.88,3.23,8.04,2.15,2.16,4.83,3.23,8.02,3.23s5.85-1.07,7.98-3.23c2.13-2.16,3.19-4.83,3.19-8.04s-1.06-5.86-3.19-8.02c-2.13-2.14-4.79-3.21-7.98-3.21s-5.86,1.07-8.02,3.21c-2.15,2.16-3.23,4.83-3.23,8.02ZM188.09,170.09c2.5,0,4.57.84,6.21,2.53,1.64,1.71,2.48,3.8,2.48,6.33s-.83,4.65-2.48,6.36c-1.64,1.71-3.71,2.55-6.21,2.55s-4.57-.84-6.23-2.55c-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33c1.66-1.69,3.73-2.53,6.23-2.53Z'/%3e%3cpolygon%20class='st0'%20points='194.03%20160.01%20190.83%20160.01%20186.46%20165.15%20189.08%20165.15%20194.03%20160.01'/%3e%3cpath%20class='st0'%20d='M221.5,189.71v-13.02c0-2.69-.81-4.86-2.44-6.5-1.64-1.65-3.79-2.47-6.45-2.47-3.75,0-6.68,1.67-8.22,4.71v-4.2h-2.42v21.48h2.42v-12.22c0-2.22.69-4.01,2.07-5.37,1.38-1.36,3.19-2.04,5.44-2.04s3.92.66,5.24,2c1.32,1.34,1.97,3.11,1.97,5.33v12.3h2.4Z'/%3e%3cpath%20class='st0'%20d='M57.27,225.24c-2.82-2.23-5.61-3.43-9.59-4.53-5.11-1.37-7.66-3.3-7.66-5.87,0-1.17.46-2.17,1.43-2.97.96-.8,2.12-1.2,3.52-1.2,1.49,0,2.75.47,3.72,1.4.96.93,1.46,2.1,1.46,3.5h10.78c0-4.1-1.53-7.5-4.55-10.23-3.02-2.73-6.83-4.1-11.42-4.1s-8.23,1.33-11.25,4c-3.02,2.67-4.51,6-4.51,10s1.26,7.4,3.75,9.73c2.49,2.37,5.68,4.03,9.56,5.03,5.54,1.43,8.29,3.47,8.29,6.06,0,1.27-.53,2.33-1.59,3.2-1.06.87-2.39,1.3-3.98,1.3s-3.05-.53-4.18-1.6c-1.16-1.07-1.73-2.37-1.73-3.93h-10.82c0,4.3,1.59,7.86,4.78,10.7,3.15,2.83,7.1,4.26,11.81,4.26s8.66-1.4,11.81-4.2c3.15-2.77,4.71-6.26,4.71-10.43,0-4.43-1.56-7.9-4.35-10.13Z'/%3e%3cpolygon%20class='st0'%20points='118.26%20236.54%20110.23%20214.38%2098.88%20214.38%20113.02%20249.17%20123.21%20249.17%20137.28%20214.38%20126.19%20214.38%20118.26%20236.54'/%3e%3crect%20class='st0'%20x='139.25'%20y='214.38'%20width='9.92'%20height='34.79'/%3e%3cpath%20class='st0'%20d='M144.2,199.53c-1.72,0-3.18.57-4.35,1.73-1.16,1.17-1.76,2.6-1.76,4.33s.6,3.23,1.76,4.4c1.16,1.17,2.62,1.73,4.35,1.73s3.25-.57,4.45-1.73c1.16-1.17,1.76-2.63,1.76-4.4s-.6-3.17-1.76-4.33c-1.19-1.17-2.69-1.73-4.45-1.73Z'/%3e%3crect%20class='st0'%20x='154.93'%20y='200.02'%20width='9.92'%20height='49.15'/%3e%3crect%20class='st0'%20x='170.61'%20y='200.02'%20width='9.92'%20height='49.15'/%3e%3cpath%20class='st0'%20d='M211.58,214.38v3.8c-2.82-3.1-6.34-4.63-10.49-4.63-4.75,0-8.73,1.73-11.91,5.2-3.22,3.5-4.81,7.83-4.81,13s1.59,9.53,4.81,13.03c3.19,3.5,7.17,5.23,11.91,5.23,4.18-.03,7.67-1.57,10.49-4.67v3.83h9.92v-34.79h-9.92ZM209.19,237.9c-1.63,1.63-3.65,2.47-6.11,2.47s-4.41-.83-6.01-2.47c-1.63-1.63-2.42-3.7-2.42-6.17s.8-4.5,2.42-6.13c1.59-1.63,3.58-2.43,6.01-2.43s4.45.8,6.07,2.43c1.63,1.63,2.42,3.7,2.42,6.13s-.8,4.53-2.39,6.17Z'/%3e%3cpath%20class='st0'%20d='M82.34,213.54c-5.34,0-9.82,1.73-13.37,5.2-3.55,3.5-5.34,7.83-5.34,13s1.79,9.53,5.34,13.03c3.55,3.5,8.03,5.23,13.37,5.23,4.25,0,8-1.13,11.25-3.37,1.05-.73,1.99-1.55,2.84-2.43l-6.5-6.37h-.13c-1.19,2-3.98,3.47-7.27,3.47-4.08,0-7.2-2.43-8.29-6.33h26.51c.17-.73.27-1.77.27-3.07,0-5.3-1.79-9.66-5.34-13.16-3.58-3.47-8.03-5.2-13.34-5.2ZM74.31,228.34c1.19-3.83,4.15-6.2,8.03-6.2s6.97,2.37,8,6.2h-16.03Z'/%3e%3c/svg%3e", el = ({
9195
+ }, Qi = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Capa_1'%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20viewBox='0%200%20250%20250'%3e%3c!--%20Generator:%20Adobe%20Illustrator%2029.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%202.1.0%20Build%20186)%20--%3e%3cdefs%3e%3cstyle%3e%20.st0%20{%20fill:%20%23FFFFFF;%20}%20%3c/style%3e%3c/defs%3e%3cpath%20class='st0'%20d='M101.7,82.72c1.6.57,3.25,1.09,4.98,1.53,11.93,3.07,17.85,7.44,17.85,13.01,0,2.72-1.14,5-3.43,6.86-2.29,1.86-5.14,2.79-8.57,2.79s-6.49-1.13-8.9-3.36c-2.62,6.82-6.19,13.16-10.51,18.91,5.53,3.09,11.9,4.68,19.13,4.68,10.14,0,18.64-3,25.43-9.01,3.7-3.24,6.35-6.96,8.02-11.11,1.77,3.2,4.03,6.17,6.81,8.9,7.64,7.51,17.28,11.22,28.78,11.22,9.14,0,17.21-2.43,24.21-7.22,2.24-1.55,4.24-3.27,6.05-5.14l-14.05-13.73h-.14c-2.57,4.29-8.57,7.44-15.64,7.44-8.78,0-15.5-5.22-17.85-13.58h57.06c.36-1.57.57-3.79.57-6.58,0-11.37-3.86-20.73-11.5-28.24-7.71-7.44-17.28-11.15-28.71-11.15s-21.14,3.72-28.78,11.15c-5.19,5.09-8.59,11.03-10.26,17.78-1.11-1.42-2.37-2.71-3.78-3.83-6.07-4.79-12.07-7.36-20.64-9.73-11-2.93-16.5-7.08-16.5-12.58,0-2.51,1-4.65,3.07-6.37,2.07-1.71,4.57-2.57,7.57-2.57,3.21,0,5.93,1,8,3,2.07,2,3.14,4.5,3.14,7.5h23.21c0-8.79-3.29-16.08-9.78-21.95-6.5-5.86-14.71-8.79-24.57-8.79s-17.44,2.77-23.89,8.31C74.82,12.54,53.44.47,29.27,0v24.08c27.07.77,48.86,23.04,48.86,50.32s-21.79,49.55-48.86,50.32v24.08c37.54-.72,68.34-29.42,72.44-66.08ZM181.29,67.38c8.21,0,15,5.08,17.21,13.3h-34.5c2.57-8.22,8.93-13.3,17.28-13.3Z'/%3e%3cpath%20class='st0'%20d='M29.35,160.65v29.07h10.94c4.12,0,7.57-1.38,10.31-4.16,2.74-2.76,4.12-6.21,4.12-10.39s-1.38-7.61-4.12-10.39c-2.74-2.76-6.19-4.14-10.31-4.14h-10.94ZM52.1,175.17c0,3.46-1.14,6.34-3.39,8.64-2.25,2.3-5.07,3.46-8.46,3.46h-8.36v-24.17h8.36c3.39,0,6.21,1.15,8.46,3.46,2.25,2.3,3.39,5.18,3.39,8.62Z'/%3e%3cpath%20class='st0'%20d='M60.61,161.41c0-.97-.79-1.73-1.79-1.73s-1.75.76-1.75,1.73.79,1.77,1.75,1.77,1.79-.76,1.79-1.77Z'/%3e%3crect%20class='st0'%20x='57.63'%20y='168.24'%20width='2.42'%20height='21.48'/%3e%3cpath%20class='st0'%20d='M64.15,168.24v29.48h2.41v-13.19c.85,1.77,2.09,3.17,3.69,4.18,1.6,1.01,3.41,1.52,5.44,1.52,3.11,0,5.7-1.07,7.75-3.23,2.05-2.16,3.07-4.83,3.07-8.04s-1.04-5.86-3.09-8.02c-2.05-2.14-4.63-3.21-7.73-3.21-2.03,0-3.84.49-5.44,1.5-1.6,1.01-2.84,2.41-3.69,4.18v-5.16h-2.41ZM69.06,172.62c1.64-1.69,3.73-2.53,6.23-2.53s4.57.84,6.23,2.53c1.66,1.71,2.5,3.8,2.5,6.33s-.83,4.65-2.5,6.36c-1.66,1.71-3.73,2.55-6.23,2.55s-4.59-.84-6.23-2.55c-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33Z'/%3e%3cpath%20class='st0'%20d='M107.73,189.71v-21.48h-2.42v12.59c0,2.1-.65,3.79-1.97,5.08-1.32,1.3-3.05,1.95-5.18,1.95s-3.69-.64-4.93-1.91c-1.26-1.28-1.89-2.96-1.89-5.04v-12.67h-2.4v13.35c0,2.61.79,4.69,2.35,6.27,1.56,1.58,3.61,2.37,6.15,2.37,3.65-.02,6.27-1.52,7.85-4.53v4.01h2.42Z'/%3e%3cpolygon%20class='st0'%20points='117.35%20189.71%20117.35%20170.46%20122.55%20170.46%20122.55%20168.24%20117.35%20168.24%20117.35%20161.9%20114.94%20162.38%20114.94%20168.24%20110.01%20168.24%20110.01%20170.46%20114.94%20170.46%20114.94%20189.71%20117.35%20189.71'/%3e%3cpath%20class='st0'%20d='M144.27,189.71v-21.48h-2.42v5.12c-.87-1.75-2.13-3.13-3.73-4.14-1.6-1.01-3.41-1.5-5.4-1.5-3.08,0-5.64,1.07-7.69,3.21-2.05,2.16-3.09,4.83-3.09,8.02s1.04,5.88,3.09,8.04c2.05,2.16,4.63,3.23,7.69,3.23,1.99,0,3.79-.51,5.4-1.52,1.6-1.01,2.84-2.39,3.73-4.13v5.14h2.42ZM139.36,185.31c-1.66,1.71-3.73,2.55-6.23,2.55s-4.53-.84-6.19-2.55c-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33c1.66-1.69,3.73-2.53,6.19-2.53s4.57.84,6.23,2.53c1.66,1.71,2.5,3.8,2.5,6.33s-.83,4.65-2.5,6.36Z'/%3e%3cpath%20class='st0'%20d='M158.18,170.09c2.09,0,3.9.62,5.46,1.85,1.54,1.23,2.56,2.84,3.02,4.83h2.5c-.47-2.63-1.73-4.79-3.73-6.5-2.03-1.71-4.44-2.55-7.25-2.55-3.19,0-5.84,1.07-8,3.21-2.15,2.16-3.23,4.83-3.23,8.02s1.08,5.88,3.23,8.04c2.13,2.16,4.81,3.23,8,3.23,2.8,0,5.22-.84,7.25-2.55,2.01-1.71,3.27-3.87,3.73-6.52h-2.5c-.47,2-1.48,3.62-3.02,4.85-1.56,1.23-3.37,1.85-5.46,1.85-2.5,0-4.57-.84-6.23-2.55-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33c1.66-1.69,3.73-2.53,6.23-2.53Z'/%3e%3crect%20class='st0'%20x='171.72'%20y='168.24'%20width='2.42'%20height='21.48'/%3e%3cpath%20class='st0'%20d='M174.71,161.41c0-.97-.79-1.73-1.79-1.73s-1.75.76-1.75,1.73.79,1.77,1.75,1.77,1.79-.76,1.79-1.77Z'/%3e%3cpath%20class='st0'%20d='M176.86,178.95c0,3.21,1.08,5.88,3.23,8.04,2.15,2.16,4.83,3.23,8.02,3.23s5.85-1.07,7.98-3.23c2.13-2.16,3.19-4.83,3.19-8.04s-1.06-5.86-3.19-8.02c-2.13-2.14-4.79-3.21-7.98-3.21s-5.86,1.07-8.02,3.21c-2.15,2.16-3.23,4.83-3.23,8.02ZM188.09,170.09c2.5,0,4.57.84,6.21,2.53,1.64,1.71,2.48,3.8,2.48,6.33s-.83,4.65-2.48,6.36c-1.64,1.71-3.71,2.55-6.21,2.55s-4.57-.84-6.23-2.55c-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33c1.66-1.69,3.73-2.53,6.23-2.53Z'/%3e%3cpolygon%20class='st0'%20points='194.03%20160.01%20190.83%20160.01%20186.46%20165.15%20189.08%20165.15%20194.03%20160.01'/%3e%3cpath%20class='st0'%20d='M221.5,189.71v-13.02c0-2.69-.81-4.86-2.44-6.5-1.64-1.65-3.79-2.47-6.45-2.47-3.75,0-6.68,1.67-8.22,4.71v-4.2h-2.42v21.48h2.42v-12.22c0-2.22.69-4.01,2.07-5.37,1.38-1.36,3.19-2.04,5.44-2.04s3.92.66,5.24,2c1.32,1.34,1.97,3.11,1.97,5.33v12.3h2.4Z'/%3e%3cpath%20class='st0'%20d='M57.27,225.24c-2.82-2.23-5.61-3.43-9.59-4.53-5.11-1.37-7.66-3.3-7.66-5.87,0-1.17.46-2.17,1.43-2.97.96-.8,2.12-1.2,3.52-1.2,1.49,0,2.75.47,3.72,1.4.96.93,1.46,2.1,1.46,3.5h10.78c0-4.1-1.53-7.5-4.55-10.23-3.02-2.73-6.83-4.1-11.42-4.1s-8.23,1.33-11.25,4c-3.02,2.67-4.51,6-4.51,10s1.26,7.4,3.75,9.73c2.49,2.37,5.68,4.03,9.56,5.03,5.54,1.43,8.29,3.47,8.29,6.06,0,1.27-.53,2.33-1.59,3.2-1.06.87-2.39,1.3-3.98,1.3s-3.05-.53-4.18-1.6c-1.16-1.07-1.73-2.37-1.73-3.93h-10.82c0,4.3,1.59,7.86,4.78,10.7,3.15,2.83,7.1,4.26,11.81,4.26s8.66-1.4,11.81-4.2c3.15-2.77,4.71-6.26,4.71-10.43,0-4.43-1.56-7.9-4.35-10.13Z'/%3e%3cpolygon%20class='st0'%20points='118.26%20236.54%20110.23%20214.38%2098.88%20214.38%20113.02%20249.17%20123.21%20249.17%20137.28%20214.38%20126.19%20214.38%20118.26%20236.54'/%3e%3crect%20class='st0'%20x='139.25'%20y='214.38'%20width='9.92'%20height='34.79'/%3e%3cpath%20class='st0'%20d='M144.2,199.53c-1.72,0-3.18.57-4.35,1.73-1.16,1.17-1.76,2.6-1.76,4.33s.6,3.23,1.76,4.4c1.16,1.17,2.62,1.73,4.35,1.73s3.25-.57,4.45-1.73c1.16-1.17,1.76-2.63,1.76-4.4s-.6-3.17-1.76-4.33c-1.19-1.17-2.69-1.73-4.45-1.73Z'/%3e%3crect%20class='st0'%20x='154.93'%20y='200.02'%20width='9.92'%20height='49.15'/%3e%3crect%20class='st0'%20x='170.61'%20y='200.02'%20width='9.92'%20height='49.15'/%3e%3cpath%20class='st0'%20d='M211.58,214.38v3.8c-2.82-3.1-6.34-4.63-10.49-4.63-4.75,0-8.73,1.73-11.91,5.2-3.22,3.5-4.81,7.83-4.81,13s1.59,9.53,4.81,13.03c3.19,3.5,7.17,5.23,11.91,5.23,4.18-.03,7.67-1.57,10.49-4.67v3.83h9.92v-34.79h-9.92ZM209.19,237.9c-1.63,1.63-3.65,2.47-6.11,2.47s-4.41-.83-6.01-2.47c-1.63-1.63-2.42-3.7-2.42-6.17s.8-4.5,2.42-6.13c1.59-1.63,3.58-2.43,6.01-2.43s4.45.8,6.07,2.43c1.63,1.63,2.42,3.7,2.42,6.13s-.8,4.53-2.39,6.17Z'/%3e%3cpath%20class='st0'%20d='M82.34,213.54c-5.34,0-9.82,1.73-13.37,5.2-3.55,3.5-5.34,7.83-5.34,13s1.79,9.53,5.34,13.03c3.55,3.5,8.03,5.23,13.37,5.23,4.25,0,8-1.13,11.25-3.37,1.05-.73,1.99-1.55,2.84-2.43l-6.5-6.37h-.13c-1.19,2-3.98,3.47-7.27,3.47-4.08,0-7.2-2.43-8.29-6.33h26.51c.17-.73.27-1.77.27-3.07,0-5.3-1.79-9.66-5.34-13.16-3.58-3.47-8.03-5.2-13.34-5.2ZM74.31,228.34c1.19-3.83,4.15-6.2,8.03-6.2s6.97,2.37,8,6.2h-16.03Z'/%3e%3c/svg%3e", el = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Capa_1'%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20viewBox='0%200%20250%20250'%3e%3c!--%20Generator:%20Adobe%20Illustrator%2029.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%202.1.0%20Build%20186)%20--%3e%3cdefs%3e%3cstyle%3e%20.st0%20{%20fill:%20%23005751;%20}%20%3c/style%3e%3c/defs%3e%3cpath%20class='st0'%20d='M101.7,82.72c1.6.57,3.25,1.09,4.98,1.53,11.93,3.07,17.85,7.44,17.85,13.01,0,2.72-1.14,5-3.43,6.86-2.29,1.86-5.14,2.79-8.57,2.79s-6.49-1.13-8.9-3.36c-2.62,6.82-6.19,13.16-10.51,18.91,5.53,3.09,11.9,4.68,19.13,4.68,10.14,0,18.64-3,25.43-9.01,3.7-3.24,6.35-6.96,8.02-11.11,1.77,3.2,4.03,6.17,6.81,8.9,7.64,7.51,17.28,11.22,28.78,11.22,9.14,0,17.21-2.43,24.21-7.22,2.24-1.55,4.24-3.27,6.05-5.14l-14.05-13.73h-.14c-2.57,4.29-8.57,7.44-15.64,7.44-8.78,0-15.5-5.22-17.85-13.58h57.06c.36-1.57.57-3.79.57-6.58,0-11.37-3.86-20.73-11.5-28.24-7.71-7.44-17.28-11.15-28.71-11.15s-21.14,3.72-28.78,11.15c-5.19,5.09-8.59,11.03-10.26,17.78-1.11-1.42-2.37-2.71-3.78-3.83-6.07-4.79-12.07-7.36-20.64-9.73-11-2.93-16.5-7.08-16.5-12.58,0-2.51,1-4.65,3.07-6.37,2.07-1.71,4.57-2.57,7.57-2.57,3.21,0,5.93,1,8,3,2.07,2,3.14,4.5,3.14,7.5h23.21c0-8.79-3.29-16.08-9.78-21.95-6.5-5.86-14.71-8.79-24.57-8.79s-17.44,2.77-23.89,8.31C74.82,12.54,53.44.47,29.27,0v24.08c27.07.77,48.86,23.04,48.86,50.32s-21.79,49.55-48.86,50.32v24.08c37.54-.72,68.34-29.42,72.44-66.08ZM181.29,67.38c8.21,0,15,5.08,17.21,13.3h-34.5c2.57-8.22,8.93-13.3,17.28-13.3Z'/%3e%3cpath%20class='st0'%20d='M29.35,160.65v29.07h10.94c4.12,0,7.57-1.38,10.31-4.16,2.74-2.76,4.12-6.21,4.12-10.39s-1.38-7.61-4.12-10.39c-2.74-2.76-6.19-4.14-10.31-4.14h-10.94ZM52.1,175.17c0,3.46-1.14,6.34-3.39,8.64-2.25,2.3-5.07,3.46-8.46,3.46h-8.36v-24.17h8.36c3.39,0,6.21,1.15,8.46,3.46,2.25,2.3,3.39,5.18,3.39,8.62Z'/%3e%3cpath%20class='st0'%20d='M60.61,161.41c0-.97-.79-1.73-1.79-1.73s-1.75.76-1.75,1.73.79,1.77,1.75,1.77,1.79-.76,1.79-1.77Z'/%3e%3crect%20class='st0'%20x='57.63'%20y='168.24'%20width='2.42'%20height='21.48'/%3e%3cpath%20class='st0'%20d='M64.15,168.24v29.48h2.41v-13.19c.85,1.77,2.09,3.17,3.69,4.18,1.6,1.01,3.41,1.52,5.44,1.52,3.11,0,5.7-1.07,7.75-3.23,2.05-2.16,3.07-4.83,3.07-8.04s-1.04-5.86-3.09-8.02c-2.05-2.14-4.63-3.21-7.73-3.21-2.03,0-3.84.49-5.44,1.5-1.6,1.01-2.84,2.41-3.69,4.18v-5.16h-2.41ZM69.06,172.62c1.64-1.69,3.73-2.53,6.23-2.53s4.57.84,6.23,2.53c1.66,1.71,2.5,3.8,2.5,6.33s-.83,4.65-2.5,6.36c-1.66,1.71-3.73,2.55-6.23,2.55s-4.59-.84-6.23-2.55c-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33Z'/%3e%3cpath%20class='st0'%20d='M107.73,189.71v-21.48h-2.42v12.59c0,2.1-.65,3.79-1.97,5.08-1.32,1.3-3.05,1.95-5.18,1.95s-3.69-.64-4.93-1.91c-1.26-1.28-1.89-2.96-1.89-5.04v-12.67h-2.4v13.35c0,2.61.79,4.69,2.35,6.27,1.56,1.58,3.61,2.37,6.15,2.37,3.65-.02,6.27-1.52,7.85-4.53v4.01h2.42Z'/%3e%3cpolygon%20class='st0'%20points='117.35%20189.71%20117.35%20170.46%20122.55%20170.46%20122.55%20168.24%20117.35%20168.24%20117.35%20161.9%20114.94%20162.38%20114.94%20168.24%20110.01%20168.24%20110.01%20170.46%20114.94%20170.46%20114.94%20189.71%20117.35%20189.71'/%3e%3cpath%20class='st0'%20d='M144.27,189.71v-21.48h-2.42v5.12c-.87-1.75-2.13-3.13-3.73-4.14-1.6-1.01-3.41-1.5-5.4-1.5-3.08,0-5.64,1.07-7.69,3.21-2.05,2.16-3.09,4.83-3.09,8.02s1.04,5.88,3.09,8.04c2.05,2.16,4.63,3.23,7.69,3.23,1.99,0,3.79-.51,5.4-1.52,1.6-1.01,2.84-2.39,3.73-4.13v5.14h2.42ZM139.36,185.31c-1.66,1.71-3.73,2.55-6.23,2.55s-4.53-.84-6.19-2.55c-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33c1.66-1.69,3.73-2.53,6.19-2.53s4.57.84,6.23,2.53c1.66,1.71,2.5,3.8,2.5,6.33s-.83,4.65-2.5,6.36Z'/%3e%3cpath%20class='st0'%20d='M158.18,170.09c2.09,0,3.9.62,5.46,1.85,1.54,1.23,2.56,2.84,3.02,4.83h2.5c-.47-2.63-1.73-4.79-3.73-6.5-2.03-1.71-4.44-2.55-7.25-2.55-3.19,0-5.84,1.07-8,3.21-2.15,2.16-3.23,4.83-3.23,8.02s1.08,5.88,3.23,8.04c2.13,2.16,4.81,3.23,8,3.23,2.8,0,5.22-.84,7.25-2.55,2.01-1.71,3.27-3.87,3.73-6.52h-2.5c-.47,2-1.48,3.62-3.02,4.85-1.56,1.23-3.37,1.85-5.46,1.85-2.5,0-4.57-.84-6.23-2.55-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33c1.66-1.69,3.73-2.53,6.23-2.53Z'/%3e%3crect%20class='st0'%20x='171.72'%20y='168.24'%20width='2.42'%20height='21.48'/%3e%3cpath%20class='st0'%20d='M174.71,161.41c0-.97-.79-1.73-1.79-1.73s-1.75.76-1.75,1.73.79,1.77,1.75,1.77,1.79-.76,1.79-1.77Z'/%3e%3cpath%20class='st0'%20d='M176.86,178.95c0,3.21,1.08,5.88,3.23,8.04,2.15,2.16,4.83,3.23,8.02,3.23s5.85-1.07,7.98-3.23c2.13-2.16,3.19-4.83,3.19-8.04s-1.06-5.86-3.19-8.02c-2.13-2.14-4.79-3.21-7.98-3.21s-5.86,1.07-8.02,3.21c-2.15,2.16-3.23,4.83-3.23,8.02ZM188.09,170.09c2.5,0,4.57.84,6.21,2.53,1.64,1.71,2.48,3.8,2.48,6.33s-.83,4.65-2.48,6.36c-1.64,1.71-3.71,2.55-6.21,2.55s-4.57-.84-6.23-2.55c-1.66-1.71-2.5-3.83-2.5-6.36s.83-4.63,2.5-6.33c1.66-1.69,3.73-2.53,6.23-2.53Z'/%3e%3cpolygon%20class='st0'%20points='194.03%20160.01%20190.83%20160.01%20186.46%20165.15%20189.08%20165.15%20194.03%20160.01'/%3e%3cpath%20class='st0'%20d='M221.5,189.71v-13.02c0-2.69-.81-4.86-2.44-6.5-1.64-1.65-3.79-2.47-6.45-2.47-3.75,0-6.68,1.67-8.22,4.71v-4.2h-2.42v21.48h2.42v-12.22c0-2.22.69-4.01,2.07-5.37,1.38-1.36,3.19-2.04,5.44-2.04s3.92.66,5.24,2c1.32,1.34,1.97,3.11,1.97,5.33v12.3h2.4Z'/%3e%3cpath%20class='st0'%20d='M57.27,225.24c-2.82-2.23-5.61-3.43-9.59-4.53-5.11-1.37-7.66-3.3-7.66-5.87,0-1.17.46-2.17,1.43-2.97.96-.8,2.12-1.2,3.52-1.2,1.49,0,2.75.47,3.72,1.4.96.93,1.46,2.1,1.46,3.5h10.78c0-4.1-1.53-7.5-4.55-10.23-3.02-2.73-6.83-4.1-11.42-4.1s-8.23,1.33-11.25,4c-3.02,2.67-4.51,6-4.51,10s1.26,7.4,3.75,9.73c2.49,2.37,5.68,4.03,9.56,5.03,5.54,1.43,8.29,3.47,8.29,6.06,0,1.27-.53,2.33-1.59,3.2-1.06.87-2.39,1.3-3.98,1.3s-3.05-.53-4.18-1.6c-1.16-1.07-1.73-2.37-1.73-3.93h-10.82c0,4.3,1.59,7.86,4.78,10.7,3.15,2.83,7.1,4.26,11.81,4.26s8.66-1.4,11.81-4.2c3.15-2.77,4.71-6.26,4.71-10.43,0-4.43-1.56-7.9-4.35-10.13Z'/%3e%3cpolygon%20class='st0'%20points='118.26%20236.54%20110.23%20214.38%2098.88%20214.38%20113.02%20249.17%20123.21%20249.17%20137.28%20214.38%20126.19%20214.38%20118.26%20236.54'/%3e%3crect%20class='st0'%20x='139.25'%20y='214.38'%20width='9.92'%20height='34.79'/%3e%3cpath%20class='st0'%20d='M144.2,199.53c-1.72,0-3.18.57-4.35,1.73-1.16,1.17-1.76,2.6-1.76,4.33s.6,3.23,1.76,4.4c1.16,1.17,2.62,1.73,4.35,1.73s3.25-.57,4.45-1.73c1.16-1.17,1.76-2.63,1.76-4.4s-.6-3.17-1.76-4.33c-1.19-1.17-2.69-1.73-4.45-1.73Z'/%3e%3crect%20class='st0'%20x='154.93'%20y='200.02'%20width='9.92'%20height='49.15'/%3e%3crect%20class='st0'%20x='170.61'%20y='200.02'%20width='9.92'%20height='49.15'/%3e%3cpath%20class='st0'%20d='M211.58,214.38v3.8c-2.82-3.1-6.34-4.63-10.49-4.63-4.75,0-8.73,1.73-11.91,5.2-3.22,3.5-4.81,7.83-4.81,13s1.59,9.53,4.81,13.03c3.19,3.5,7.17,5.23,11.91,5.23,4.18-.03,7.67-1.57,10.49-4.67v3.83h9.92v-34.79h-9.92ZM209.19,237.9c-1.63,1.63-3.65,2.47-6.11,2.47s-4.41-.83-6.01-2.47c-1.63-1.63-2.42-3.7-2.42-6.17s.8-4.5,2.42-6.13c1.59-1.63,3.58-2.43,6.01-2.43s4.45.8,6.07,2.43c1.63,1.63,2.42,3.7,2.42,6.13s-.8,4.53-2.39,6.17Z'/%3e%3cpath%20class='st0'%20d='M82.34,213.54c-5.34,0-9.82,1.73-13.37,5.2-3.55,3.5-5.34,7.83-5.34,13s1.79,9.53,5.34,13.03c3.55,3.5,8.03,5.23,13.37,5.23,4.25,0,8-1.13,11.25-3.37,1.05-.73,1.99-1.55,2.84-2.43l-6.5-6.37h-.13c-1.19,2-3.98,3.47-7.27,3.47-4.08,0-7.2-2.43-8.29-6.33h26.51c.17-.73.27-1.77.27-3.07,0-5.3-1.79-9.66-5.34-13.16-3.58-3.47-8.03-5.2-13.34-5.2ZM74.31,228.34c1.19-3.83,4.15-6.2,8.03-6.2s6.97,2.37,8,6.2h-16.03Z'/%3e%3c/svg%3e", tl = ({
9191
9196
  appName: r,
9192
9197
  orgName: e,
9193
9198
  username: t,
@@ -9197,7 +9202,7 @@ const Nn = () => vr(En), Ki = ({
9197
9202
  onSelectNav: o,
9198
9203
  width: l = "200px"
9199
9204
  }) => {
9200
- const { theme: c } = Nn(), d = c === "dark" ? Ji : Qi;
9205
+ const { theme: c } = Nn(), u = c === "dark" ? Qi : el;
9201
9206
  return /* @__PURE__ */ i.jsxs(
9202
9207
  "aside",
9203
9208
  {
@@ -9208,7 +9213,7 @@ const Nn = () => vr(En), Ki = ({
9208
9213
  /* @__PURE__ */ i.jsx(
9209
9214
  "img",
9210
9215
  {
9211
- src: d,
9216
+ src: u,
9212
9217
  alt: "Logo Diputación",
9213
9218
  className: "w-20 h-20"
9214
9219
  }
@@ -9231,22 +9236,22 @@ const Nn = () => vr(En), Ki = ({
9231
9236
  }
9232
9237
  );
9233
9238
  };
9234
- function dl({ hideSidebar: r = !1, sidebar: e, header: t, children: s }) {
9239
+ function fl({ hideSidebar: r = !1, sidebar: e, header: t, children: s }) {
9235
9240
  return /* @__PURE__ */ i.jsxs("div", { className: "flex h-screen overflow-hidden bg-[var(--color-ds-background-page)]", children: [
9236
- !r && /* @__PURE__ */ i.jsx(el, { ...e }),
9241
+ !r && /* @__PURE__ */ i.jsx(tl, { ...e }),
9237
9242
  /* @__PURE__ */ i.jsxs(
9238
9243
  "div",
9239
9244
  {
9240
9245
  className: `flex-1 flex flex-col overflow-auto [scrollbar-gutter:stable_both-edges] ${r ? "px-0" : "px-10"}`,
9241
9246
  children: [
9242
- /* @__PURE__ */ i.jsx(Ki, { ...t }),
9247
+ /* @__PURE__ */ i.jsx(Ji, { ...t }),
9243
9248
  /* @__PURE__ */ i.jsx("main", { className: "flex-1", children: s })
9244
9249
  ]
9245
9250
  }
9246
9251
  )
9247
9252
  ] });
9248
9253
  }
9249
- function fl({
9254
+ function hl({
9250
9255
  columns: r,
9251
9256
  data: e,
9252
9257
  loadData: t,
@@ -9256,8 +9261,8 @@ function fl({
9256
9261
  onSelectionChange: o,
9257
9262
  pageSize: l = 10,
9258
9263
  initialSort: c,
9259
- onSort: d,
9260
- className: u,
9264
+ onSort: u,
9265
+ className: d,
9261
9266
  onRowDoubleClick: p
9262
9267
  }) {
9263
9268
  const m = e !== void 0, [y, x] = ae([]), [w, _] = ae(!1), v = ke(null);
@@ -9272,7 +9277,7 @@ function fl({
9272
9277
  k.signal.aborted || _(!1);
9273
9278
  }), () => k.abort();
9274
9279
  }, [t, m]);
9275
- const g = Fe(() => m ? e : y, [e, y, m]), S = s ?? (t ? w : !1), [$, F] = ae(/* @__PURE__ */ new Set()), [U, q] = ae(1), [N, O] = ae(c == null ? void 0 : c.sortBy), [J, B] = ae((c == null ? void 0 : c.sortDir) ?? "asc"), M = (k) => typeof n == "function" ? n(k) : k[n], Y = ke(null);
9280
+ const g = Fe(() => m ? e : y, [e, y, m]), S = s ?? (t ? w : !1), [O, F] = ae(/* @__PURE__ */ new Set()), [P, q] = ae(1), [N, M] = ae(c == null ? void 0 : c.sortBy), [J, U] = ae((c == null ? void 0 : c.sortDir) ?? "asc"), $ = (k) => typeof n == "function" ? n(k) : k[n], Y = ke(null);
9276
9281
  de(() => {
9277
9282
  Y.current !== g && (F(/* @__PURE__ */ new Set()), q(1), Y.current = g);
9278
9283
  }, [g]);
@@ -9284,30 +9289,30 @@ function fl({
9284
9289
  return Q == null ? -k : re == null || Q > re ? k : Q < re ? -k : 0;
9285
9290
  });
9286
9291
  }, [g, N, J]), W = Math.max(1, Math.ceil(K.length / l)), H = Fe(() => {
9287
- const k = (U - 1) * l;
9292
+ const k = (P - 1) * l;
9288
9293
  return K.slice(k, k + l);
9289
- }, [K, U, l]), A = (k) => {
9290
- const C = new Set($);
9291
- C.has(k) ? C.delete(k) : C.add(k), F(C), o == null || o(g.filter((D) => C.has(M(D))));
9294
+ }, [K, P, l]), A = (k) => {
9295
+ const C = new Set(O);
9296
+ C.has(k) ? C.delete(k) : C.add(k), F(C), o == null || o(g.filter((D) => C.has($(D))));
9292
9297
  }, h = () => {
9293
- const k = H.every((D) => $.has(M(D))), C = new Set($);
9298
+ const k = H.every((D) => O.has($(D))), C = new Set(O);
9294
9299
  H.forEach((D) => {
9295
- k ? C.delete(M(D)) : C.add(M(D));
9296
- }), F(C), o == null || o(g.filter((D) => C.has(M(D))));
9300
+ k ? C.delete($(D)) : C.add($(D));
9301
+ }), F(C), o == null || o(g.filter((D) => C.has($(D))));
9297
9302
  }, Z = (k) => {
9298
9303
  if (!k.sortable) return;
9299
9304
  const C = typeof k.accessor == "string" ? k.accessor : k.sortKey;
9300
9305
  if (N === C) {
9301
9306
  const D = J === "asc" ? "desc" : "asc";
9302
- B(D), d == null || d(C, D);
9307
+ U(D), u == null || u(C, D);
9303
9308
  } else
9304
- O(C), B("asc"), d == null || d(C, "asc");
9309
+ M(C), U("asc"), u == null || u(C, "asc");
9305
9310
  q(1);
9306
9311
  }, j = () => S ? /* @__PURE__ */ i.jsx("tbody", { children: Array.from({ length: l }).map((k, C) => /* @__PURE__ */ i.jsxs("tr", { children: [
9307
9312
  a && /* @__PURE__ */ i.jsx("td", { children: /* @__PURE__ */ i.jsx(it, { width: "1rem", height: "1rem", variant: "circle" }) }),
9308
9313
  r.map((D, Q) => /* @__PURE__ */ i.jsx("td", { children: /* @__PURE__ */ i.jsx(it, { width: "100%", height: "1em", variant: "rect" }) }, Q))
9309
9314
  ] }, C)) }) : H.length ? /* @__PURE__ */ i.jsx("tbody", { children: H.map((k) => {
9310
- const C = M(k);
9315
+ const C = $(k);
9311
9316
  return /* @__PURE__ */ i.jsxs(
9312
9317
  "tr",
9313
9318
  {
@@ -9322,7 +9327,7 @@ function fl({
9322
9327
  "input",
9323
9328
  {
9324
9329
  type: "checkbox",
9325
- checked: $.has(C),
9330
+ checked: O.has(C),
9326
9331
  onChange: () => A(C),
9327
9332
  onDoubleClick: (D) => D.stopPropagation()
9328
9333
  }
@@ -9343,14 +9348,14 @@ function fl({
9343
9348
  C
9344
9349
  );
9345
9350
  }) }) : /* @__PURE__ */ i.jsx("tbody", { children: /* @__PURE__ */ i.jsx("tr", { children: /* @__PURE__ */ i.jsx("td", { colSpan: r.length + (a ? 1 : 0), children: "No hay datos" }) }) });
9346
- return /* @__PURE__ */ i.jsxs("div", { className: I("w-full overflow-auto", u), children: [
9351
+ return /* @__PURE__ */ i.jsxs("div", { className: I("w-full overflow-auto", d), children: [
9347
9352
  /* @__PURE__ */ i.jsxs("table", { className: "min-w-full divide-y divide-gray-200", children: [
9348
9353
  /* @__PURE__ */ i.jsx("thead", { className: "bg-gray-50", children: /* @__PURE__ */ i.jsxs("tr", { children: [
9349
9354
  a && /* @__PURE__ */ i.jsx("th", { children: /* @__PURE__ */ i.jsx(
9350
9355
  "input",
9351
9356
  {
9352
9357
  type: "checkbox",
9353
- checked: H.length > 0 && H.every((k) => $.has(M(k))),
9358
+ checked: H.length > 0 && H.every((k) => O.has($(k))),
9354
9359
  onChange: h,
9355
9360
  onDoubleClick: (k) => k.stopPropagation()
9356
9361
  }
@@ -9374,15 +9379,15 @@ function fl({
9374
9379
  j()
9375
9380
  ] }),
9376
9381
  /* @__PURE__ */ i.jsxs("div", { className: "flex items-center justify-between py-2 px-4", children: [
9377
- /* @__PURE__ */ i.jsx("span", { className: "text-sm text-gray-700", children: S ? "Cargando..." : `Página ${U} de ${W}` }),
9382
+ /* @__PURE__ */ i.jsx("span", { className: "text-sm text-gray-700", children: S ? "Cargando..." : `Página ${P} de ${W}` }),
9378
9383
  /* @__PURE__ */ i.jsxs("div", { className: "space-x-2", children: [
9379
- /* @__PURE__ */ i.jsx(He, { size: "sm", variant: "outline", disabled: S || U <= 1, onClick: () => q((k) => Math.max(1, k - 1)), children: "Prev" }),
9380
- /* @__PURE__ */ i.jsx(He, { size: "sm", variant: "outline", disabled: S || U >= W, onClick: () => q((k) => Math.min(W, k + 1)), children: "Next" })
9384
+ /* @__PURE__ */ i.jsx(He, { size: "sm", variant: "outline", disabled: S || P <= 1, onClick: () => q((k) => Math.max(1, k - 1)), children: "Prev" }),
9385
+ /* @__PURE__ */ i.jsx(He, { size: "sm", variant: "outline", disabled: S || P >= W, onClick: () => q((k) => Math.min(W, k + 1)), children: "Next" })
9381
9386
  ] })
9382
9387
  ] })
9383
9388
  ] });
9384
9389
  }
9385
- function tl({
9390
+ function rl({
9386
9391
  control: r,
9387
9392
  name: e,
9388
9393
  rules: t,
@@ -9392,13 +9397,13 @@ function tl({
9392
9397
  disabled: o = !1,
9393
9398
  label: l,
9394
9399
  labelPosition: c = "right",
9395
- errorMessage: d = "",
9396
- className: u
9400
+ errorMessage: u = "",
9401
+ className: d
9397
9402
  }) {
9398
9403
  const p = et();
9399
9404
  if (r && e)
9400
9405
  return /* @__PURE__ */ i.jsx(
9401
- Oe,
9406
+ Ce,
9402
9407
  {
9403
9408
  name: e,
9404
9409
  control: r,
@@ -9407,7 +9412,7 @@ function tl({
9407
9412
  render: ({ field: y, fieldState: x }) => {
9408
9413
  var w;
9409
9414
  return /* @__PURE__ */ i.jsx(
9410
- tl,
9415
+ rl,
9411
9416
  {
9412
9417
  checked: y.value,
9413
9418
  onChange: y.onChange,
@@ -9415,14 +9420,14 @@ function tl({
9415
9420
  label: l,
9416
9421
  labelPosition: c,
9417
9422
  errorMessage: ((w = x.error) == null ? void 0 : w.message) || "",
9418
- className: u
9423
+ className: d
9419
9424
  }
9420
9425
  );
9421
9426
  }
9422
9427
  }
9423
9428
  );
9424
9429
  const m = !!n;
9425
- return /* @__PURE__ */ i.jsxs("div", { className: I("flex flex-col", u), children: [
9430
+ return /* @__PURE__ */ i.jsxs("div", { className: I("flex flex-col", d), children: [
9426
9431
  /* @__PURE__ */ i.jsxs(
9427
9432
  "label",
9428
9433
  {
@@ -9462,10 +9467,10 @@ function tl({
9462
9467
  ]
9463
9468
  }
9464
9469
  ),
9465
- /* @__PURE__ */ i.jsx("div", { className: "pt-1 min-h-[18px] w-full", children: d ? /* @__PURE__ */ i.jsx("span", { className: "text-xs text-[var(--color-ds-text-error)]", children: d }) : /* @__PURE__ */ i.jsx("span", { "aria-hidden": "true", children: " " }) })
9470
+ /* @__PURE__ */ i.jsx("div", { className: "pt-1 min-h-[18px] w-full", children: u ? /* @__PURE__ */ i.jsx("span", { className: "text-xs text-[var(--color-ds-text-error)]", children: u }) : /* @__PURE__ */ i.jsx("span", { "aria-hidden": "true", children: " " }) })
9466
9471
  ] });
9467
9472
  }
9468
- function hl({
9473
+ function ml({
9469
9474
  items: r,
9470
9475
  value: e,
9471
9476
  onValueChange: t,
@@ -9476,15 +9481,15 @@ function hl({
9476
9481
  const o = Fe(
9477
9482
  () => r.filter((x) => x.defaultOpen && !x.disabled).map((x) => x.id),
9478
9483
  [r]
9479
- ), [l, c] = ae(o), d = e ?? l, u = (x) => {
9484
+ ), [l, c] = ae(o), u = e ?? l, d = (x) => {
9480
9485
  t ? t(x) : c(x);
9481
9486
  }, p = (x, w) => {
9482
- w && u(s ? d.includes(x) ? d.filter((_) => _ !== x) : [...d, x] : d.includes(x) ? [] : [x]);
9487
+ w && d(s ? u.includes(x) ? u.filter((_) => _ !== x) : [...u, x] : u.includes(x) ? [] : [x]);
9483
9488
  }, m = (x, w, _) => {
9484
9489
  (x.key === "Enter" || x.key === " ") && (x.preventDefault(), p(w, _));
9485
9490
  }, y = n ? "py-1" : "py-2";
9486
9491
  return /* @__PURE__ */ i.jsx("div", { className: ["divide-y", "divide-[var(--color-ds-border-default-50)]", a].filter(Boolean).join(" "), children: r.map((x) => {
9487
- const w = d.includes(x.id), _ = !x.disabled;
9492
+ const w = u.includes(x.id), _ = !x.disabled;
9488
9493
  return /* @__PURE__ */ i.jsxs("section", { "aria-disabled": x.disabled || void 0, children: [
9489
9494
  /* @__PURE__ */ i.jsxs(
9490
9495
  "button",
@@ -9526,37 +9531,37 @@ function hl({
9526
9531
  }
9527
9532
  export {
9528
9533
  He as Button,
9529
- Zi as Checkbox,
9534
+ Wi as Checkbox,
9530
9535
  Lr as CollapsibleSection,
9531
- hl as CompactAccordion,
9536
+ ml as CompactAccordion,
9532
9537
  co as DateInput,
9533
- nl as DropdownMenu,
9538
+ al as DropdownMenu,
9534
9539
  _o as FileUploader,
9535
9540
  sn as FormFieldInput,
9536
- al as FormPageLayout,
9537
- il as FormRenderer,
9538
- Ki as Header,
9539
- Be as Icon,
9540
- Hi as IconButton,
9541
+ ol as FormPageLayout,
9542
+ ll as FormRenderer,
9543
+ Ji as Header,
9544
+ Ue as Icon,
9545
+ Xi as IconButton,
9541
9546
  Co as InfoButton,
9542
9547
  Cr as Input,
9543
- bi as InputGroup,
9544
- cl as LoadingScreen,
9545
- ul as Modal,
9546
- vi as OptionGroup,
9547
- dl as PageLayout,
9548
- Wi as SearchField,
9548
+ yi as InputGroup,
9549
+ ul as LoadingScreen,
9550
+ dl as Modal,
9551
+ wi as OptionGroup,
9552
+ fl as PageLayout,
9553
+ qi as SearchField,
9549
9554
  Zt as Select,
9550
- el as Sidebar,
9555
+ tl as Sidebar,
9551
9556
  _n as SidebarNav,
9552
9557
  it as SkeletonLoader,
9553
- fl as Table,
9558
+ hl as Table,
9554
9559
  gi as Tabs,
9555
9560
  jn as TextArea,
9556
- ll as ThemeProvider,
9557
- Xi as ThemeToggle,
9558
- ji as Toast,
9559
- ol as ToastProvider,
9560
- tl as ToggleSwitch,
9561
- Ti as useToast
9561
+ cl as ThemeProvider,
9562
+ Ki as ThemeToggle,
9563
+ Ei as Toast,
9564
+ il as ToastProvider,
9565
+ rl as ToggleSwitch,
9566
+ Ai as useToast
9562
9567
  };