componentables 0.1.18 → 0.1.24

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.
Files changed (29) hide show
  1. package/dist/componentables.css +1 -1
  2. package/dist/components/Button/Button.d.ts.map +1 -1
  3. package/dist/components/Button/types.d.ts +1 -1
  4. package/dist/components/Button/types.d.ts.map +1 -1
  5. package/dist/components/Dropdown/Dropdown.d.ts +1 -1
  6. package/dist/components/Dropdown/Dropdown.d.ts.map +1 -1
  7. package/dist/components/ExpandableCard/ExpandableCard.d.ts +1 -1
  8. package/dist/components/ExpandableCard/ExpandableCard.d.ts.map +1 -1
  9. package/dist/components/Skeleton/Skeleton.d.ts +13 -0
  10. package/dist/components/Skeleton/Skeleton.d.ts.map +1 -0
  11. package/dist/components/Skeleton/SkeletonBars.d.ts +8 -0
  12. package/dist/components/Skeleton/SkeletonBars.d.ts.map +1 -0
  13. package/dist/components/Skeleton/SkeletonCardList.d.ts +9 -0
  14. package/dist/components/Skeleton/SkeletonCardList.d.ts.map +1 -0
  15. package/dist/components/Skeleton/SkeletonGrid.d.ts +9 -0
  16. package/dist/components/Skeleton/SkeletonGrid.d.ts.map +1 -0
  17. package/dist/components/Skeleton/SkeletonList.d.ts +9 -0
  18. package/dist/components/Skeleton/SkeletonList.d.ts.map +1 -0
  19. package/dist/components/Skeleton/SkeletonTable.d.ts +8 -0
  20. package/dist/components/Skeleton/SkeletonTable.d.ts.map +1 -0
  21. package/dist/components/Skeleton/types.d.ts +36 -0
  22. package/dist/components/Skeleton/types.d.ts.map +1 -0
  23. package/dist/components/index.d.ts +9 -1
  24. package/dist/components/index.d.ts.map +1 -1
  25. package/dist/index.cjs +1 -1
  26. package/dist/index.cjs.map +1 -1
  27. package/dist/index.js +1289 -1167
  28. package/dist/index.js.map +1 -1
  29. package/package.json +3 -2
package/dist/index.js CHANGED
@@ -1,55 +1,55 @@
1
- import { jsxs as y, jsx as l, Fragment as Ae } from "react/jsx-runtime";
2
- import B, { useMemo as Ie, useEffect as W, createContext as je, useContext as Oe, useState as $, useCallback as ve, useRef as ce } from "react";
3
- import { Oval as Te } from "react-loader-spinner";
4
- import { createPortal as $e } from "react-dom";
5
- import { toast as re } from "react-toastify";
6
- function we(e) {
1
+ import { jsxs as m, jsx as n, Fragment as je } from "react/jsx-runtime";
2
+ import G, { useMemo as Ie, useEffect as H, createContext as Oe, useContext as Te, useState as _, useCallback as ve, useRef as de } from "react";
3
+ import { Oval as $e } from "react-loader-spinner";
4
+ import { createPortal as _e } from "react-dom";
5
+ import { toast as te } from "react-toastify";
6
+ function ke(e) {
7
7
  var r, t, o = "";
8
8
  if (typeof e == "string" || typeof e == "number") o += e;
9
9
  else if (typeof e == "object") if (Array.isArray(e)) {
10
- var a = e.length;
11
- for (r = 0; r < a; r++) e[r] && (t = we(e[r])) && (o && (o += " "), o += t);
10
+ var s = e.length;
11
+ for (r = 0; r < s; r++) e[r] && (t = ke(e[r])) && (o && (o += " "), o += t);
12
12
  } else for (t in e) e[t] && (o && (o += " "), o += t);
13
13
  return o;
14
14
  }
15
15
  function Re() {
16
- for (var e, r, t = 0, o = "", a = arguments.length; t < a; t++) (e = arguments[t]) && (r = we(e)) && (o && (o += " "), o += r);
16
+ for (var e, r, t = 0, o = "", s = arguments.length; t < s; t++) (e = arguments[t]) && (r = ke(e)) && (o && (o += " "), o += r);
17
17
  return o;
18
18
  }
19
- const ue = "-", Fe = (e) => {
20
- const r = Ve(e), {
19
+ const pe = "-", Fe = (e) => {
20
+ const r = Be(e), {
21
21
  conflictingClassGroups: t,
22
22
  conflictingClassGroupModifiers: o
23
23
  } = e;
24
24
  return {
25
25
  getClassGroupId: (i) => {
26
- const n = i.split(ue);
27
- return n[0] === "" && n.length !== 1 && n.shift(), ke(n, r) || _e(i);
26
+ const a = i.split(pe);
27
+ return a[0] === "" && a.length !== 1 && a.shift(), Ne(a, r) || Ve(i);
28
28
  },
29
- getConflictingClassGroupIds: (i, n) => {
30
- const c = t[i] || [];
31
- return n && o[i] ? [...c, ...o[i]] : c;
29
+ getConflictingClassGroupIds: (i, a) => {
30
+ const d = t[i] || [];
31
+ return a && o[i] ? [...d, ...o[i]] : d;
32
32
  }
33
33
  };
34
- }, ke = (e, r) => {
34
+ }, Ne = (e, r) => {
35
35
  if (e.length === 0)
36
36
  return r.classGroupId;
37
- const t = e[0], o = r.nextPart.get(t), a = o ? ke(e.slice(1), o) : void 0;
38
- if (a)
39
- return a;
37
+ const t = e[0], o = r.nextPart.get(t), s = o ? Ne(e.slice(1), o) : void 0;
38
+ if (s)
39
+ return s;
40
40
  if (r.validators.length === 0)
41
41
  return;
42
- const s = e.join(ue);
42
+ const l = e.join(pe);
43
43
  return r.validators.find(({
44
44
  validator: i
45
- }) => i(s))?.classGroupId;
46
- }, pe = /^\[(.+)\]$/, _e = (e) => {
47
- if (pe.test(e)) {
48
- const r = pe.exec(e)[1], t = r?.substring(0, r.indexOf(":"));
45
+ }) => i(l))?.classGroupId;
46
+ }, me = /^\[(.+)\]$/, Ve = (e) => {
47
+ if (me.test(e)) {
48
+ const r = me.exec(e)[1], t = r?.substring(0, r.indexOf(":"));
49
49
  if (t)
50
50
  return "arbitrary.." + t;
51
51
  }
52
- }, Ve = (e) => {
52
+ }, Be = (e) => {
53
53
  const {
54
54
  theme: r,
55
55
  prefix: t
@@ -57,43 +57,43 @@ const ue = "-", Fe = (e) => {
57
57
  nextPart: /* @__PURE__ */ new Map(),
58
58
  validators: []
59
59
  };
60
- return Ge(Object.entries(e.classGroups), t).forEach(([s, i]) => {
61
- de(i, o, s, r);
60
+ return We(Object.entries(e.classGroups), t).forEach(([l, i]) => {
61
+ ue(i, o, l, r);
62
62
  }), o;
63
- }, de = (e, r, t, o) => {
64
- e.forEach((a) => {
65
- if (typeof a == "string") {
66
- const s = a === "" ? r : me(r, a);
67
- s.classGroupId = t;
63
+ }, ue = (e, r, t, o) => {
64
+ e.forEach((s) => {
65
+ if (typeof s == "string") {
66
+ const l = s === "" ? r : be(r, s);
67
+ l.classGroupId = t;
68
68
  return;
69
69
  }
70
- if (typeof a == "function") {
71
- if (Be(a)) {
72
- de(a(o), r, t, o);
70
+ if (typeof s == "function") {
71
+ if (Ge(s)) {
72
+ ue(s(o), r, t, o);
73
73
  return;
74
74
  }
75
75
  r.validators.push({
76
- validator: a,
76
+ validator: s,
77
77
  classGroupId: t
78
78
  });
79
79
  return;
80
80
  }
81
- Object.entries(a).forEach(([s, i]) => {
82
- de(i, me(r, s), t, o);
81
+ Object.entries(s).forEach(([l, i]) => {
82
+ ue(i, be(r, l), t, o);
83
83
  });
84
84
  });
85
- }, me = (e, r) => {
85
+ }, be = (e, r) => {
86
86
  let t = e;
87
- return r.split(ue).forEach((o) => {
87
+ return r.split(pe).forEach((o) => {
88
88
  t.nextPart.has(o) || t.nextPart.set(o, {
89
89
  nextPart: /* @__PURE__ */ new Map(),
90
90
  validators: []
91
91
  }), t = t.nextPart.get(o);
92
92
  }), t;
93
- }, Be = (e) => e.isThemeGetter, Ge = (e, r) => r ? e.map(([t, o]) => {
94
- const a = o.map((s) => typeof s == "string" ? r + s : typeof s == "object" ? Object.fromEntries(Object.entries(s).map(([i, n]) => [r + i, n])) : s);
95
- return [t, a];
96
- }) : e, We = (e) => {
93
+ }, Ge = (e) => e.isThemeGetter, We = (e, r) => r ? e.map(([t, o]) => {
94
+ const s = o.map((l) => typeof l == "string" ? r + l : typeof l == "object" ? Object.fromEntries(Object.entries(l).map(([i, a]) => [r + i, a])) : l);
95
+ return [t, s];
96
+ }) : e, He = (e) => {
97
97
  if (e < 1)
98
98
  return {
99
99
  get: () => {
@@ -102,55 +102,55 @@ const ue = "-", Fe = (e) => {
102
102
  }
103
103
  };
104
104
  let r = 0, t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
105
- const a = (s, i) => {
106
- t.set(s, i), r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ new Map());
105
+ const s = (l, i) => {
106
+ t.set(l, i), r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ new Map());
107
107
  };
108
108
  return {
109
- get(s) {
110
- let i = t.get(s);
109
+ get(l) {
110
+ let i = t.get(l);
111
111
  if (i !== void 0)
112
112
  return i;
113
- if ((i = o.get(s)) !== void 0)
114
- return a(s, i), i;
113
+ if ((i = o.get(l)) !== void 0)
114
+ return s(l, i), i;
115
115
  },
116
- set(s, i) {
117
- t.has(s) ? t.set(s, i) : a(s, i);
116
+ set(l, i) {
117
+ t.has(l) ? t.set(l, i) : s(l, i);
118
118
  }
119
119
  };
120
- }, Ce = "!", He = (e) => {
120
+ }, Ce = "!", Ue = (e) => {
121
121
  const {
122
122
  separator: r,
123
123
  experimentalParseClassName: t
124
- } = e, o = r.length === 1, a = r[0], s = r.length, i = (n) => {
125
- const c = [];
126
- let d = 0, b = 0, k;
127
- for (let u = 0; u < n.length; u++) {
128
- let w = n[u];
129
- if (d === 0) {
130
- if (w === a && (o || n.slice(u, u + s) === r)) {
131
- c.push(n.slice(b, u)), b = u + s;
124
+ } = e, o = r.length === 1, s = r[0], l = r.length, i = (a) => {
125
+ const d = [];
126
+ let u = 0, g = 0, k;
127
+ for (let p = 0; p < a.length; p++) {
128
+ let v = a[p];
129
+ if (u === 0) {
130
+ if (v === s && (o || a.slice(p, p + l) === r)) {
131
+ d.push(a.slice(g, p)), g = p + l;
132
132
  continue;
133
133
  }
134
- if (w === "/") {
135
- k = u;
134
+ if (v === "/") {
135
+ k = p;
136
136
  continue;
137
137
  }
138
138
  }
139
- w === "[" ? d++ : w === "]" && d--;
139
+ v === "[" ? u++ : v === "]" && u--;
140
140
  }
141
- const h = c.length === 0 ? n : n.substring(b), v = h.startsWith(Ce), m = v ? h.substring(1) : h, x = k && k > b ? k - b : void 0;
141
+ const y = d.length === 0 ? a : a.substring(g), w = y.startsWith(Ce), b = w ? y.substring(1) : y, x = k && k > g ? k - g : void 0;
142
142
  return {
143
- modifiers: c,
144
- hasImportantModifier: v,
145
- baseClassName: m,
143
+ modifiers: d,
144
+ hasImportantModifier: w,
145
+ baseClassName: b,
146
146
  maybePostfixModifierPosition: x
147
147
  };
148
148
  };
149
- return t ? (n) => t({
150
- className: n,
149
+ return t ? (a) => t({
150
+ className: a,
151
151
  parseClassName: i
152
152
  }) : i;
153
- }, Ue = (e) => {
153
+ }, Ye = (e) => {
154
154
  if (e.length <= 1)
155
155
  return e;
156
156
  const r = [];
@@ -158,122 +158,122 @@ const ue = "-", Fe = (e) => {
158
158
  return e.forEach((o) => {
159
159
  o[0] === "[" ? (r.push(...t.sort(), o), t = []) : t.push(o);
160
160
  }), r.push(...t.sort()), r;
161
- }, Ye = (e) => ({
162
- cache: We(e.cacheSize),
163
- parseClassName: He(e),
161
+ }, Je = (e) => ({
162
+ cache: He(e.cacheSize),
163
+ parseClassName: Ue(e),
164
164
  ...Fe(e)
165
- }), Je = /\s+/, Ke = (e, r) => {
165
+ }), Ke = /\s+/, Ze = (e, r) => {
166
166
  const {
167
167
  parseClassName: t,
168
168
  getClassGroupId: o,
169
- getConflictingClassGroupIds: a
170
- } = r, s = [], i = e.trim().split(Je);
171
- let n = "";
172
- for (let c = i.length - 1; c >= 0; c -= 1) {
173
- const d = i[c], {
174
- modifiers: b,
169
+ getConflictingClassGroupIds: s
170
+ } = r, l = [], i = e.trim().split(Ke);
171
+ let a = "";
172
+ for (let d = i.length - 1; d >= 0; d -= 1) {
173
+ const u = i[d], {
174
+ modifiers: g,
175
175
  hasImportantModifier: k,
176
- baseClassName: h,
177
- maybePostfixModifierPosition: v
178
- } = t(d);
179
- let m = !!v, x = o(m ? h.substring(0, v) : h);
176
+ baseClassName: y,
177
+ maybePostfixModifierPosition: w
178
+ } = t(u);
179
+ let b = !!w, x = o(b ? y.substring(0, w) : y);
180
180
  if (!x) {
181
- if (!m) {
182
- n = d + (n.length > 0 ? " " + n : n);
181
+ if (!b) {
182
+ a = u + (a.length > 0 ? " " + a : a);
183
183
  continue;
184
184
  }
185
- if (x = o(h), !x) {
186
- n = d + (n.length > 0 ? " " + n : n);
185
+ if (x = o(y), !x) {
186
+ a = u + (a.length > 0 ? " " + a : a);
187
187
  continue;
188
188
  }
189
- m = !1;
189
+ b = !1;
190
190
  }
191
- const u = Ue(b).join(":"), w = k ? u + Ce : u, f = w + x;
192
- if (s.includes(f))
191
+ const p = Ye(g).join(":"), v = k ? p + Ce : p, f = v + x;
192
+ if (l.includes(f))
193
193
  continue;
194
- s.push(f);
195
- const D = a(x, m);
196
- for (let E = 0; E < D.length; ++E) {
197
- const z = D[E];
198
- s.push(w + z);
194
+ l.push(f);
195
+ const S = s(x, b);
196
+ for (let A = 0; A < S.length; ++A) {
197
+ const z = S[A];
198
+ l.push(v + z);
199
199
  }
200
- n = d + (n.length > 0 ? " " + n : n);
200
+ a = u + (a.length > 0 ? " " + a : a);
201
201
  }
202
- return n;
202
+ return a;
203
203
  };
204
- function Ze() {
204
+ function Xe() {
205
205
  let e = 0, r, t, o = "";
206
206
  for (; e < arguments.length; )
207
- (r = arguments[e++]) && (t = Ne(r)) && (o && (o += " "), o += t);
207
+ (r = arguments[e++]) && (t = Me(r)) && (o && (o += " "), o += t);
208
208
  return o;
209
209
  }
210
- const Ne = (e) => {
210
+ const Me = (e) => {
211
211
  if (typeof e == "string")
212
212
  return e;
213
213
  let r, t = "";
214
214
  for (let o = 0; o < e.length; o++)
215
- e[o] && (r = Ne(e[o])) && (t && (t += " "), t += r);
215
+ e[o] && (r = Me(e[o])) && (t && (t += " "), t += r);
216
216
  return t;
217
217
  };
218
- function Xe(e, ...r) {
219
- let t, o, a, s = i;
220
- function i(c) {
221
- const d = r.reduce((b, k) => k(b), e());
222
- return t = Ye(d), o = t.cache.get, a = t.cache.set, s = n, n(c);
218
+ function qe(e, ...r) {
219
+ let t, o, s, l = i;
220
+ function i(d) {
221
+ const u = r.reduce((g, k) => k(g), e());
222
+ return t = Je(u), o = t.cache.get, s = t.cache.set, l = a, a(d);
223
223
  }
224
- function n(c) {
225
- const d = o(c);
226
- if (d)
227
- return d;
228
- const b = Ke(c, t);
229
- return a(c, b), b;
224
+ function a(d) {
225
+ const u = o(d);
226
+ if (u)
227
+ return u;
228
+ const g = Ze(d, t);
229
+ return s(d, g), g;
230
230
  }
231
231
  return function() {
232
- return s(Ze.apply(null, arguments));
232
+ return l(Xe.apply(null, arguments));
233
233
  };
234
234
  }
235
- const I = (e) => {
235
+ const j = (e) => {
236
236
  const r = (t) => t[e] || [];
237
237
  return r.isThemeGetter = !0, r;
238
- }, Me = /^\[(?:([a-z-]+):)?(.+)\]$/i, Qe = /^\d+\/\d+$/, qe = /* @__PURE__ */ new Set(["px", "full", "screen"]), er = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, rr = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, tr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, or = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, nr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, H = (e) => Q(e) || qe.has(e) || Qe.test(e), U = (e) => ee(e, "length", pr), Q = (e) => !!e && !Number.isNaN(Number(e)), se = (e) => ee(e, "number", Q), te = (e) => !!e && Number.isInteger(Number(e)), ar = (e) => e.endsWith("%") && Q(e.slice(0, -1)), N = (e) => Me.test(e), Y = (e) => er.test(e), sr = /* @__PURE__ */ new Set(["length", "size", "percentage"]), lr = (e) => ee(e, sr, ze), ir = (e) => ee(e, "position", ze), cr = /* @__PURE__ */ new Set(["image", "url"]), dr = (e) => ee(e, cr, br), ur = (e) => ee(e, "", mr), oe = () => !0, ee = (e, r, t) => {
239
- const o = Me.exec(e);
238
+ }, ze = /^\[(?:([a-z-]+):)?(.+)\]$/i, Qe = /^\d+\/\d+$/, er = /* @__PURE__ */ new Set(["px", "full", "screen"]), rr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, tr = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, or = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, nr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, sr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, U = (e) => Q(e) || er.has(e) || Qe.test(e), Y = (e) => re(e, "length", mr), Q = (e) => !!e && !Number.isNaN(Number(e)), le = (e) => re(e, "number", Q), oe = (e) => !!e && Number.isInteger(Number(e)), ar = (e) => e.endsWith("%") && Q(e.slice(0, -1)), C = (e) => ze.test(e), J = (e) => rr.test(e), lr = /* @__PURE__ */ new Set(["length", "size", "percentage"]), ir = (e) => re(e, lr, Le), cr = (e) => re(e, "position", Le), dr = /* @__PURE__ */ new Set(["image", "url"]), ur = (e) => re(e, dr, gr), pr = (e) => re(e, "", br), ne = () => !0, re = (e, r, t) => {
239
+ const o = ze.exec(e);
240
240
  return o ? o[1] ? typeof r == "string" ? o[1] === r : r.has(o[1]) : t(o[2]) : !1;
241
- }, pr = (e) => (
241
+ }, mr = (e) => (
242
242
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
243
243
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
244
244
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
245
- rr.test(e) && !tr.test(e)
246
- ), ze = () => !1, mr = (e) => or.test(e), br = (e) => nr.test(e), gr = () => {
247
- const e = I("colors"), r = I("spacing"), t = I("blur"), o = I("brightness"), a = I("borderColor"), s = I("borderRadius"), i = I("borderSpacing"), n = I("borderWidth"), c = I("contrast"), d = I("grayscale"), b = I("hueRotate"), k = I("invert"), h = I("gap"), v = I("gradientColorStops"), m = I("gradientColorStopPositions"), x = I("inset"), u = I("margin"), w = I("opacity"), f = I("padding"), D = I("saturate"), E = I("scale"), z = I("sepia"), P = I("skew"), g = I("space"), j = I("translate"), R = () => ["auto", "contain", "none"], G = () => ["auto", "hidden", "clip", "visible", "scroll"], K = () => ["auto", N, r], S = () => [N, r], M = () => ["", H, U], A = () => ["auto", Q, N], V = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], T = () => ["solid", "dashed", "dotted", "double", "none"], Z = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], C = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], L = () => ["", "0", N], F = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], _ = () => [Q, N];
245
+ tr.test(e) && !or.test(e)
246
+ ), Le = () => !1, br = (e) => nr.test(e), gr = (e) => sr.test(e), hr = () => {
247
+ const e = j("colors"), r = j("spacing"), t = j("blur"), o = j("brightness"), s = j("borderColor"), l = j("borderRadius"), i = j("borderSpacing"), a = j("borderWidth"), d = j("contrast"), u = j("grayscale"), g = j("hueRotate"), k = j("invert"), y = j("gap"), w = j("gradientColorStops"), b = j("gradientColorStopPositions"), x = j("inset"), p = j("margin"), v = j("opacity"), f = j("padding"), S = j("saturate"), A = j("scale"), z = j("sepia"), E = j("skew"), h = j("space"), O = j("translate"), R = () => ["auto", "contain", "none"], W = () => ["auto", "hidden", "clip", "visible", "scroll"], Z = () => ["auto", C, r], D = () => [C, r], M = () => ["", U, Y], P = () => ["auto", Q, C], B = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], $ = () => ["solid", "dashed", "dotted", "double", "none"], X = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], N = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], L = () => ["", "0", C], F = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], V = () => [Q, C];
248
248
  return {
249
249
  cacheSize: 500,
250
250
  separator: ":",
251
251
  theme: {
252
- colors: [oe],
253
- spacing: [H, U],
254
- blur: ["none", "", Y, N],
255
- brightness: _(),
252
+ colors: [ne],
253
+ spacing: [U, Y],
254
+ blur: ["none", "", J, C],
255
+ brightness: V(),
256
256
  borderColor: [e],
257
- borderRadius: ["none", "", "full", Y, N],
258
- borderSpacing: S(),
257
+ borderRadius: ["none", "", "full", J, C],
258
+ borderSpacing: D(),
259
259
  borderWidth: M(),
260
- contrast: _(),
260
+ contrast: V(),
261
261
  grayscale: L(),
262
- hueRotate: _(),
262
+ hueRotate: V(),
263
263
  invert: L(),
264
- gap: S(),
264
+ gap: D(),
265
265
  gradientColorStops: [e],
266
- gradientColorStopPositions: [ar, U],
267
- inset: K(),
268
- margin: K(),
269
- opacity: _(),
270
- padding: S(),
271
- saturate: _(),
272
- scale: _(),
266
+ gradientColorStopPositions: [ar, Y],
267
+ inset: Z(),
268
+ margin: Z(),
269
+ opacity: V(),
270
+ padding: D(),
271
+ saturate: V(),
272
+ scale: V(),
273
273
  sepia: L(),
274
- skew: _(),
275
- space: S(),
276
- translate: S()
274
+ skew: V(),
275
+ space: D(),
276
+ translate: D()
277
277
  },
278
278
  classGroups: {
279
279
  // Layout
@@ -282,7 +282,7 @@ const I = (e) => {
282
282
  * @see https://tailwindcss.com/docs/aspect-ratio
283
283
  */
284
284
  aspect: [{
285
- aspect: ["auto", "square", "video", N]
285
+ aspect: ["auto", "square", "video", C]
286
286
  }],
287
287
  /**
288
288
  * Container
@@ -294,7 +294,7 @@ const I = (e) => {
294
294
  * @see https://tailwindcss.com/docs/columns
295
295
  */
296
296
  columns: [{
297
- columns: [Y]
297
+ columns: [J]
298
298
  }],
299
299
  /**
300
300
  * Break After
@@ -367,28 +367,28 @@ const I = (e) => {
367
367
  * @see https://tailwindcss.com/docs/object-position
368
368
  */
369
369
  "object-position": [{
370
- object: [...V(), N]
370
+ object: [...B(), C]
371
371
  }],
372
372
  /**
373
373
  * Overflow
374
374
  * @see https://tailwindcss.com/docs/overflow
375
375
  */
376
376
  overflow: [{
377
- overflow: G()
377
+ overflow: W()
378
378
  }],
379
379
  /**
380
380
  * Overflow X
381
381
  * @see https://tailwindcss.com/docs/overflow
382
382
  */
383
383
  "overflow-x": [{
384
- "overflow-x": G()
384
+ "overflow-x": W()
385
385
  }],
386
386
  /**
387
387
  * Overflow Y
388
388
  * @see https://tailwindcss.com/docs/overflow
389
389
  */
390
390
  "overflow-y": [{
391
- "overflow-y": G()
391
+ "overflow-y": W()
392
392
  }],
393
393
  /**
394
394
  * Overscroll Behavior
@@ -489,7 +489,7 @@ const I = (e) => {
489
489
  * @see https://tailwindcss.com/docs/z-index
490
490
  */
491
491
  z: [{
492
- z: ["auto", te, N]
492
+ z: ["auto", oe, C]
493
493
  }],
494
494
  // Flexbox and Grid
495
495
  /**
@@ -497,7 +497,7 @@ const I = (e) => {
497
497
  * @see https://tailwindcss.com/docs/flex-basis
498
498
  */
499
499
  basis: [{
500
- basis: K()
500
+ basis: Z()
501
501
  }],
502
502
  /**
503
503
  * Flex Direction
@@ -518,7 +518,7 @@ const I = (e) => {
518
518
  * @see https://tailwindcss.com/docs/flex
519
519
  */
520
520
  flex: [{
521
- flex: ["1", "auto", "initial", "none", N]
521
+ flex: ["1", "auto", "initial", "none", C]
522
522
  }],
523
523
  /**
524
524
  * Flex Grow
@@ -539,14 +539,14 @@ const I = (e) => {
539
539
  * @see https://tailwindcss.com/docs/order
540
540
  */
541
541
  order: [{
542
- order: ["first", "last", "none", te, N]
542
+ order: ["first", "last", "none", oe, C]
543
543
  }],
544
544
  /**
545
545
  * Grid Template Columns
546
546
  * @see https://tailwindcss.com/docs/grid-template-columns
547
547
  */
548
548
  "grid-cols": [{
549
- "grid-cols": [oe]
549
+ "grid-cols": [ne]
550
550
  }],
551
551
  /**
552
552
  * Grid Column Start / End
@@ -554,29 +554,29 @@ const I = (e) => {
554
554
  */
555
555
  "col-start-end": [{
556
556
  col: ["auto", {
557
- span: ["full", te, N]
558
- }, N]
557
+ span: ["full", oe, C]
558
+ }, C]
559
559
  }],
560
560
  /**
561
561
  * Grid Column Start
562
562
  * @see https://tailwindcss.com/docs/grid-column
563
563
  */
564
564
  "col-start": [{
565
- "col-start": A()
565
+ "col-start": P()
566
566
  }],
567
567
  /**
568
568
  * Grid Column End
569
569
  * @see https://tailwindcss.com/docs/grid-column
570
570
  */
571
571
  "col-end": [{
572
- "col-end": A()
572
+ "col-end": P()
573
573
  }],
574
574
  /**
575
575
  * Grid Template Rows
576
576
  * @see https://tailwindcss.com/docs/grid-template-rows
577
577
  */
578
578
  "grid-rows": [{
579
- "grid-rows": [oe]
579
+ "grid-rows": [ne]
580
580
  }],
581
581
  /**
582
582
  * Grid Row Start / End
@@ -584,22 +584,22 @@ const I = (e) => {
584
584
  */
585
585
  "row-start-end": [{
586
586
  row: ["auto", {
587
- span: [te, N]
588
- }, N]
587
+ span: [oe, C]
588
+ }, C]
589
589
  }],
590
590
  /**
591
591
  * Grid Row Start
592
592
  * @see https://tailwindcss.com/docs/grid-row
593
593
  */
594
594
  "row-start": [{
595
- "row-start": A()
595
+ "row-start": P()
596
596
  }],
597
597
  /**
598
598
  * Grid Row End
599
599
  * @see https://tailwindcss.com/docs/grid-row
600
600
  */
601
601
  "row-end": [{
602
- "row-end": A()
602
+ "row-end": P()
603
603
  }],
604
604
  /**
605
605
  * Grid Auto Flow
@@ -613,42 +613,42 @@ const I = (e) => {
613
613
  * @see https://tailwindcss.com/docs/grid-auto-columns
614
614
  */
615
615
  "auto-cols": [{
616
- "auto-cols": ["auto", "min", "max", "fr", N]
616
+ "auto-cols": ["auto", "min", "max", "fr", C]
617
617
  }],
618
618
  /**
619
619
  * Grid Auto Rows
620
620
  * @see https://tailwindcss.com/docs/grid-auto-rows
621
621
  */
622
622
  "auto-rows": [{
623
- "auto-rows": ["auto", "min", "max", "fr", N]
623
+ "auto-rows": ["auto", "min", "max", "fr", C]
624
624
  }],
625
625
  /**
626
626
  * Gap
627
627
  * @see https://tailwindcss.com/docs/gap
628
628
  */
629
629
  gap: [{
630
- gap: [h]
630
+ gap: [y]
631
631
  }],
632
632
  /**
633
633
  * Gap X
634
634
  * @see https://tailwindcss.com/docs/gap
635
635
  */
636
636
  "gap-x": [{
637
- "gap-x": [h]
637
+ "gap-x": [y]
638
638
  }],
639
639
  /**
640
640
  * Gap Y
641
641
  * @see https://tailwindcss.com/docs/gap
642
642
  */
643
643
  "gap-y": [{
644
- "gap-y": [h]
644
+ "gap-y": [y]
645
645
  }],
646
646
  /**
647
647
  * Justify Content
648
648
  * @see https://tailwindcss.com/docs/justify-content
649
649
  */
650
650
  "justify-content": [{
651
- justify: ["normal", ...C()]
651
+ justify: ["normal", ...N()]
652
652
  }],
653
653
  /**
654
654
  * Justify Items
@@ -669,7 +669,7 @@ const I = (e) => {
669
669
  * @see https://tailwindcss.com/docs/align-content
670
670
  */
671
671
  "align-content": [{
672
- content: ["normal", ...C(), "baseline"]
672
+ content: ["normal", ...N(), "baseline"]
673
673
  }],
674
674
  /**
675
675
  * Align Items
@@ -690,7 +690,7 @@ const I = (e) => {
690
690
  * @see https://tailwindcss.com/docs/place-content
691
691
  */
692
692
  "place-content": [{
693
- "place-content": [...C(), "baseline"]
693
+ "place-content": [...N(), "baseline"]
694
694
  }],
695
695
  /**
696
696
  * Place Items
@@ -775,70 +775,70 @@ const I = (e) => {
775
775
  * @see https://tailwindcss.com/docs/margin
776
776
  */
777
777
  m: [{
778
- m: [u]
778
+ m: [p]
779
779
  }],
780
780
  /**
781
781
  * Margin X
782
782
  * @see https://tailwindcss.com/docs/margin
783
783
  */
784
784
  mx: [{
785
- mx: [u]
785
+ mx: [p]
786
786
  }],
787
787
  /**
788
788
  * Margin Y
789
789
  * @see https://tailwindcss.com/docs/margin
790
790
  */
791
791
  my: [{
792
- my: [u]
792
+ my: [p]
793
793
  }],
794
794
  /**
795
795
  * Margin Start
796
796
  * @see https://tailwindcss.com/docs/margin
797
797
  */
798
798
  ms: [{
799
- ms: [u]
799
+ ms: [p]
800
800
  }],
801
801
  /**
802
802
  * Margin End
803
803
  * @see https://tailwindcss.com/docs/margin
804
804
  */
805
805
  me: [{
806
- me: [u]
806
+ me: [p]
807
807
  }],
808
808
  /**
809
809
  * Margin Top
810
810
  * @see https://tailwindcss.com/docs/margin
811
811
  */
812
812
  mt: [{
813
- mt: [u]
813
+ mt: [p]
814
814
  }],
815
815
  /**
816
816
  * Margin Right
817
817
  * @see https://tailwindcss.com/docs/margin
818
818
  */
819
819
  mr: [{
820
- mr: [u]
820
+ mr: [p]
821
821
  }],
822
822
  /**
823
823
  * Margin Bottom
824
824
  * @see https://tailwindcss.com/docs/margin
825
825
  */
826
826
  mb: [{
827
- mb: [u]
827
+ mb: [p]
828
828
  }],
829
829
  /**
830
830
  * Margin Left
831
831
  * @see https://tailwindcss.com/docs/margin
832
832
  */
833
833
  ml: [{
834
- ml: [u]
834
+ ml: [p]
835
835
  }],
836
836
  /**
837
837
  * Space Between X
838
838
  * @see https://tailwindcss.com/docs/space
839
839
  */
840
840
  "space-x": [{
841
- "space-x": [g]
841
+ "space-x": [h]
842
842
  }],
843
843
  /**
844
844
  * Space Between X Reverse
@@ -850,7 +850,7 @@ const I = (e) => {
850
850
  * @see https://tailwindcss.com/docs/space
851
851
  */
852
852
  "space-y": [{
853
- "space-y": [g]
853
+ "space-y": [h]
854
854
  }],
855
855
  /**
856
856
  * Space Between Y Reverse
@@ -863,51 +863,51 @@ const I = (e) => {
863
863
  * @see https://tailwindcss.com/docs/width
864
864
  */
865
865
  w: [{
866
- w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", N, r]
866
+ w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", C, r]
867
867
  }],
868
868
  /**
869
869
  * Min-Width
870
870
  * @see https://tailwindcss.com/docs/min-width
871
871
  */
872
872
  "min-w": [{
873
- "min-w": [N, r, "min", "max", "fit"]
873
+ "min-w": [C, r, "min", "max", "fit"]
874
874
  }],
875
875
  /**
876
876
  * Max-Width
877
877
  * @see https://tailwindcss.com/docs/max-width
878
878
  */
879
879
  "max-w": [{
880
- "max-w": [N, r, "none", "full", "min", "max", "fit", "prose", {
881
- screen: [Y]
882
- }, Y]
880
+ "max-w": [C, r, "none", "full", "min", "max", "fit", "prose", {
881
+ screen: [J]
882
+ }, J]
883
883
  }],
884
884
  /**
885
885
  * Height
886
886
  * @see https://tailwindcss.com/docs/height
887
887
  */
888
888
  h: [{
889
- h: [N, r, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
889
+ h: [C, r, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
890
890
  }],
891
891
  /**
892
892
  * Min-Height
893
893
  * @see https://tailwindcss.com/docs/min-height
894
894
  */
895
895
  "min-h": [{
896
- "min-h": [N, r, "min", "max", "fit", "svh", "lvh", "dvh"]
896
+ "min-h": [C, r, "min", "max", "fit", "svh", "lvh", "dvh"]
897
897
  }],
898
898
  /**
899
899
  * Max-Height
900
900
  * @see https://tailwindcss.com/docs/max-height
901
901
  */
902
902
  "max-h": [{
903
- "max-h": [N, r, "min", "max", "fit", "svh", "lvh", "dvh"]
903
+ "max-h": [C, r, "min", "max", "fit", "svh", "lvh", "dvh"]
904
904
  }],
905
905
  /**
906
906
  * Size
907
907
  * @see https://tailwindcss.com/docs/size
908
908
  */
909
909
  size: [{
910
- size: [N, r, "auto", "min", "max", "fit"]
910
+ size: [C, r, "auto", "min", "max", "fit"]
911
911
  }],
912
912
  // Typography
913
913
  /**
@@ -915,7 +915,7 @@ const I = (e) => {
915
915
  * @see https://tailwindcss.com/docs/font-size
916
916
  */
917
917
  "font-size": [{
918
- text: ["base", Y, U]
918
+ text: ["base", J, Y]
919
919
  }],
920
920
  /**
921
921
  * Font Smoothing
@@ -932,14 +932,14 @@ const I = (e) => {
932
932
  * @see https://tailwindcss.com/docs/font-weight
933
933
  */
934
934
  "font-weight": [{
935
- font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", se]
935
+ font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", le]
936
936
  }],
937
937
  /**
938
938
  * Font Family
939
939
  * @see https://tailwindcss.com/docs/font-family
940
940
  */
941
941
  "font-family": [{
942
- font: [oe]
942
+ font: [ne]
943
943
  }],
944
944
  /**
945
945
  * Font Variant Numeric
@@ -976,35 +976,35 @@ const I = (e) => {
976
976
  * @see https://tailwindcss.com/docs/letter-spacing
977
977
  */
978
978
  tracking: [{
979
- tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", N]
979
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", C]
980
980
  }],
981
981
  /**
982
982
  * Line Clamp
983
983
  * @see https://tailwindcss.com/docs/line-clamp
984
984
  */
985
985
  "line-clamp": [{
986
- "line-clamp": ["none", Q, se]
986
+ "line-clamp": ["none", Q, le]
987
987
  }],
988
988
  /**
989
989
  * Line Height
990
990
  * @see https://tailwindcss.com/docs/line-height
991
991
  */
992
992
  leading: [{
993
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose", H, N]
993
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", U, C]
994
994
  }],
995
995
  /**
996
996
  * List Style Image
997
997
  * @see https://tailwindcss.com/docs/list-style-image
998
998
  */
999
999
  "list-image": [{
1000
- "list-image": ["none", N]
1000
+ "list-image": ["none", C]
1001
1001
  }],
1002
1002
  /**
1003
1003
  * List Style Type
1004
1004
  * @see https://tailwindcss.com/docs/list-style-type
1005
1005
  */
1006
1006
  "list-style-type": [{
1007
- list: ["none", "disc", "decimal", N]
1007
+ list: ["none", "disc", "decimal", C]
1008
1008
  }],
1009
1009
  /**
1010
1010
  * List Style Position
@@ -1026,7 +1026,7 @@ const I = (e) => {
1026
1026
  * @see https://tailwindcss.com/docs/placeholder-opacity
1027
1027
  */
1028
1028
  "placeholder-opacity": [{
1029
- "placeholder-opacity": [w]
1029
+ "placeholder-opacity": [v]
1030
1030
  }],
1031
1031
  /**
1032
1032
  * Text Alignment
@@ -1047,7 +1047,7 @@ const I = (e) => {
1047
1047
  * @see https://tailwindcss.com/docs/text-opacity
1048
1048
  */
1049
1049
  "text-opacity": [{
1050
- "text-opacity": [w]
1050
+ "text-opacity": [v]
1051
1051
  }],
1052
1052
  /**
1053
1053
  * Text Decoration
@@ -1059,21 +1059,21 @@ const I = (e) => {
1059
1059
  * @see https://tailwindcss.com/docs/text-decoration-style
1060
1060
  */
1061
1061
  "text-decoration-style": [{
1062
- decoration: [...T(), "wavy"]
1062
+ decoration: [...$(), "wavy"]
1063
1063
  }],
1064
1064
  /**
1065
1065
  * Text Decoration Thickness
1066
1066
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1067
1067
  */
1068
1068
  "text-decoration-thickness": [{
1069
- decoration: ["auto", "from-font", H, U]
1069
+ decoration: ["auto", "from-font", U, Y]
1070
1070
  }],
1071
1071
  /**
1072
1072
  * Text Underline Offset
1073
1073
  * @see https://tailwindcss.com/docs/text-underline-offset
1074
1074
  */
1075
1075
  "underline-offset": [{
1076
- "underline-offset": ["auto", H, N]
1076
+ "underline-offset": ["auto", U, C]
1077
1077
  }],
1078
1078
  /**
1079
1079
  * Text Decoration Color
@@ -1104,14 +1104,14 @@ const I = (e) => {
1104
1104
  * @see https://tailwindcss.com/docs/text-indent
1105
1105
  */
1106
1106
  indent: [{
1107
- indent: S()
1107
+ indent: D()
1108
1108
  }],
1109
1109
  /**
1110
1110
  * Vertical Alignment
1111
1111
  * @see https://tailwindcss.com/docs/vertical-align
1112
1112
  */
1113
1113
  "vertical-align": [{
1114
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", N]
1114
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", C]
1115
1115
  }],
1116
1116
  /**
1117
1117
  * Whitespace
@@ -1139,7 +1139,7 @@ const I = (e) => {
1139
1139
  * @see https://tailwindcss.com/docs/content
1140
1140
  */
1141
1141
  content: [{
1142
- content: ["none", N]
1142
+ content: ["none", C]
1143
1143
  }],
1144
1144
  // Backgrounds
1145
1145
  /**
@@ -1162,7 +1162,7 @@ const I = (e) => {
1162
1162
  * @see https://tailwindcss.com/docs/background-opacity
1163
1163
  */
1164
1164
  "bg-opacity": [{
1165
- "bg-opacity": [w]
1165
+ "bg-opacity": [v]
1166
1166
  }],
1167
1167
  /**
1168
1168
  * Background Origin
@@ -1176,7 +1176,7 @@ const I = (e) => {
1176
1176
  * @see https://tailwindcss.com/docs/background-position
1177
1177
  */
1178
1178
  "bg-position": [{
1179
- bg: [...V(), ir]
1179
+ bg: [...B(), cr]
1180
1180
  }],
1181
1181
  /**
1182
1182
  * Background Repeat
@@ -1192,7 +1192,7 @@ const I = (e) => {
1192
1192
  * @see https://tailwindcss.com/docs/background-size
1193
1193
  */
1194
1194
  "bg-size": [{
1195
- bg: ["auto", "cover", "contain", lr]
1195
+ bg: ["auto", "cover", "contain", ir]
1196
1196
  }],
1197
1197
  /**
1198
1198
  * Background Image
@@ -1201,7 +1201,7 @@ const I = (e) => {
1201
1201
  "bg-image": [{
1202
1202
  bg: ["none", {
1203
1203
  "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1204
- }, dr]
1204
+ }, ur]
1205
1205
  }],
1206
1206
  /**
1207
1207
  * Background Color
@@ -1215,42 +1215,42 @@ const I = (e) => {
1215
1215
  * @see https://tailwindcss.com/docs/gradient-color-stops
1216
1216
  */
1217
1217
  "gradient-from-pos": [{
1218
- from: [m]
1218
+ from: [b]
1219
1219
  }],
1220
1220
  /**
1221
1221
  * Gradient Color Stops Via Position
1222
1222
  * @see https://tailwindcss.com/docs/gradient-color-stops
1223
1223
  */
1224
1224
  "gradient-via-pos": [{
1225
- via: [m]
1225
+ via: [b]
1226
1226
  }],
1227
1227
  /**
1228
1228
  * Gradient Color Stops To Position
1229
1229
  * @see https://tailwindcss.com/docs/gradient-color-stops
1230
1230
  */
1231
1231
  "gradient-to-pos": [{
1232
- to: [m]
1232
+ to: [b]
1233
1233
  }],
1234
1234
  /**
1235
1235
  * Gradient Color Stops From
1236
1236
  * @see https://tailwindcss.com/docs/gradient-color-stops
1237
1237
  */
1238
1238
  "gradient-from": [{
1239
- from: [v]
1239
+ from: [w]
1240
1240
  }],
1241
1241
  /**
1242
1242
  * Gradient Color Stops Via
1243
1243
  * @see https://tailwindcss.com/docs/gradient-color-stops
1244
1244
  */
1245
1245
  "gradient-via": [{
1246
- via: [v]
1246
+ via: [w]
1247
1247
  }],
1248
1248
  /**
1249
1249
  * Gradient Color Stops To
1250
1250
  * @see https://tailwindcss.com/docs/gradient-color-stops
1251
1251
  */
1252
1252
  "gradient-to": [{
1253
- to: [v]
1253
+ to: [w]
1254
1254
  }],
1255
1255
  // Borders
1256
1256
  /**
@@ -1258,189 +1258,189 @@ const I = (e) => {
1258
1258
  * @see https://tailwindcss.com/docs/border-radius
1259
1259
  */
1260
1260
  rounded: [{
1261
- rounded: [s]
1261
+ rounded: [l]
1262
1262
  }],
1263
1263
  /**
1264
1264
  * Border Radius Start
1265
1265
  * @see https://tailwindcss.com/docs/border-radius
1266
1266
  */
1267
1267
  "rounded-s": [{
1268
- "rounded-s": [s]
1268
+ "rounded-s": [l]
1269
1269
  }],
1270
1270
  /**
1271
1271
  * Border Radius End
1272
1272
  * @see https://tailwindcss.com/docs/border-radius
1273
1273
  */
1274
1274
  "rounded-e": [{
1275
- "rounded-e": [s]
1275
+ "rounded-e": [l]
1276
1276
  }],
1277
1277
  /**
1278
1278
  * Border Radius Top
1279
1279
  * @see https://tailwindcss.com/docs/border-radius
1280
1280
  */
1281
1281
  "rounded-t": [{
1282
- "rounded-t": [s]
1282
+ "rounded-t": [l]
1283
1283
  }],
1284
1284
  /**
1285
1285
  * Border Radius Right
1286
1286
  * @see https://tailwindcss.com/docs/border-radius
1287
1287
  */
1288
1288
  "rounded-r": [{
1289
- "rounded-r": [s]
1289
+ "rounded-r": [l]
1290
1290
  }],
1291
1291
  /**
1292
1292
  * Border Radius Bottom
1293
1293
  * @see https://tailwindcss.com/docs/border-radius
1294
1294
  */
1295
1295
  "rounded-b": [{
1296
- "rounded-b": [s]
1296
+ "rounded-b": [l]
1297
1297
  }],
1298
1298
  /**
1299
1299
  * Border Radius Left
1300
1300
  * @see https://tailwindcss.com/docs/border-radius
1301
1301
  */
1302
1302
  "rounded-l": [{
1303
- "rounded-l": [s]
1303
+ "rounded-l": [l]
1304
1304
  }],
1305
1305
  /**
1306
1306
  * Border Radius Start Start
1307
1307
  * @see https://tailwindcss.com/docs/border-radius
1308
1308
  */
1309
1309
  "rounded-ss": [{
1310
- "rounded-ss": [s]
1310
+ "rounded-ss": [l]
1311
1311
  }],
1312
1312
  /**
1313
1313
  * Border Radius Start End
1314
1314
  * @see https://tailwindcss.com/docs/border-radius
1315
1315
  */
1316
1316
  "rounded-se": [{
1317
- "rounded-se": [s]
1317
+ "rounded-se": [l]
1318
1318
  }],
1319
1319
  /**
1320
1320
  * Border Radius End End
1321
1321
  * @see https://tailwindcss.com/docs/border-radius
1322
1322
  */
1323
1323
  "rounded-ee": [{
1324
- "rounded-ee": [s]
1324
+ "rounded-ee": [l]
1325
1325
  }],
1326
1326
  /**
1327
1327
  * Border Radius End Start
1328
1328
  * @see https://tailwindcss.com/docs/border-radius
1329
1329
  */
1330
1330
  "rounded-es": [{
1331
- "rounded-es": [s]
1331
+ "rounded-es": [l]
1332
1332
  }],
1333
1333
  /**
1334
1334
  * Border Radius Top Left
1335
1335
  * @see https://tailwindcss.com/docs/border-radius
1336
1336
  */
1337
1337
  "rounded-tl": [{
1338
- "rounded-tl": [s]
1338
+ "rounded-tl": [l]
1339
1339
  }],
1340
1340
  /**
1341
1341
  * Border Radius Top Right
1342
1342
  * @see https://tailwindcss.com/docs/border-radius
1343
1343
  */
1344
1344
  "rounded-tr": [{
1345
- "rounded-tr": [s]
1345
+ "rounded-tr": [l]
1346
1346
  }],
1347
1347
  /**
1348
1348
  * Border Radius Bottom Right
1349
1349
  * @see https://tailwindcss.com/docs/border-radius
1350
1350
  */
1351
1351
  "rounded-br": [{
1352
- "rounded-br": [s]
1352
+ "rounded-br": [l]
1353
1353
  }],
1354
1354
  /**
1355
1355
  * Border Radius Bottom Left
1356
1356
  * @see https://tailwindcss.com/docs/border-radius
1357
1357
  */
1358
1358
  "rounded-bl": [{
1359
- "rounded-bl": [s]
1359
+ "rounded-bl": [l]
1360
1360
  }],
1361
1361
  /**
1362
1362
  * Border Width
1363
1363
  * @see https://tailwindcss.com/docs/border-width
1364
1364
  */
1365
1365
  "border-w": [{
1366
- border: [n]
1366
+ border: [a]
1367
1367
  }],
1368
1368
  /**
1369
1369
  * Border Width X
1370
1370
  * @see https://tailwindcss.com/docs/border-width
1371
1371
  */
1372
1372
  "border-w-x": [{
1373
- "border-x": [n]
1373
+ "border-x": [a]
1374
1374
  }],
1375
1375
  /**
1376
1376
  * Border Width Y
1377
1377
  * @see https://tailwindcss.com/docs/border-width
1378
1378
  */
1379
1379
  "border-w-y": [{
1380
- "border-y": [n]
1380
+ "border-y": [a]
1381
1381
  }],
1382
1382
  /**
1383
1383
  * Border Width Start
1384
1384
  * @see https://tailwindcss.com/docs/border-width
1385
1385
  */
1386
1386
  "border-w-s": [{
1387
- "border-s": [n]
1387
+ "border-s": [a]
1388
1388
  }],
1389
1389
  /**
1390
1390
  * Border Width End
1391
1391
  * @see https://tailwindcss.com/docs/border-width
1392
1392
  */
1393
1393
  "border-w-e": [{
1394
- "border-e": [n]
1394
+ "border-e": [a]
1395
1395
  }],
1396
1396
  /**
1397
1397
  * Border Width Top
1398
1398
  * @see https://tailwindcss.com/docs/border-width
1399
1399
  */
1400
1400
  "border-w-t": [{
1401
- "border-t": [n]
1401
+ "border-t": [a]
1402
1402
  }],
1403
1403
  /**
1404
1404
  * Border Width Right
1405
1405
  * @see https://tailwindcss.com/docs/border-width
1406
1406
  */
1407
1407
  "border-w-r": [{
1408
- "border-r": [n]
1408
+ "border-r": [a]
1409
1409
  }],
1410
1410
  /**
1411
1411
  * Border Width Bottom
1412
1412
  * @see https://tailwindcss.com/docs/border-width
1413
1413
  */
1414
1414
  "border-w-b": [{
1415
- "border-b": [n]
1415
+ "border-b": [a]
1416
1416
  }],
1417
1417
  /**
1418
1418
  * Border Width Left
1419
1419
  * @see https://tailwindcss.com/docs/border-width
1420
1420
  */
1421
1421
  "border-w-l": [{
1422
- "border-l": [n]
1422
+ "border-l": [a]
1423
1423
  }],
1424
1424
  /**
1425
1425
  * Border Opacity
1426
1426
  * @see https://tailwindcss.com/docs/border-opacity
1427
1427
  */
1428
1428
  "border-opacity": [{
1429
- "border-opacity": [w]
1429
+ "border-opacity": [v]
1430
1430
  }],
1431
1431
  /**
1432
1432
  * Border Style
1433
1433
  * @see https://tailwindcss.com/docs/border-style
1434
1434
  */
1435
1435
  "border-style": [{
1436
- border: [...T(), "hidden"]
1436
+ border: [...$(), "hidden"]
1437
1437
  }],
1438
1438
  /**
1439
1439
  * Divide Width X
1440
1440
  * @see https://tailwindcss.com/docs/divide-width
1441
1441
  */
1442
1442
  "divide-x": [{
1443
- "divide-x": [n]
1443
+ "divide-x": [a]
1444
1444
  }],
1445
1445
  /**
1446
1446
  * Divide Width X Reverse
@@ -1452,7 +1452,7 @@ const I = (e) => {
1452
1452
  * @see https://tailwindcss.com/docs/divide-width
1453
1453
  */
1454
1454
  "divide-y": [{
1455
- "divide-y": [n]
1455
+ "divide-y": [a]
1456
1456
  }],
1457
1457
  /**
1458
1458
  * Divide Width Y Reverse
@@ -1464,105 +1464,105 @@ const I = (e) => {
1464
1464
  * @see https://tailwindcss.com/docs/divide-opacity
1465
1465
  */
1466
1466
  "divide-opacity": [{
1467
- "divide-opacity": [w]
1467
+ "divide-opacity": [v]
1468
1468
  }],
1469
1469
  /**
1470
1470
  * Divide Style
1471
1471
  * @see https://tailwindcss.com/docs/divide-style
1472
1472
  */
1473
1473
  "divide-style": [{
1474
- divide: T()
1474
+ divide: $()
1475
1475
  }],
1476
1476
  /**
1477
1477
  * Border Color
1478
1478
  * @see https://tailwindcss.com/docs/border-color
1479
1479
  */
1480
1480
  "border-color": [{
1481
- border: [a]
1481
+ border: [s]
1482
1482
  }],
1483
1483
  /**
1484
1484
  * Border Color X
1485
1485
  * @see https://tailwindcss.com/docs/border-color
1486
1486
  */
1487
1487
  "border-color-x": [{
1488
- "border-x": [a]
1488
+ "border-x": [s]
1489
1489
  }],
1490
1490
  /**
1491
1491
  * Border Color Y
1492
1492
  * @see https://tailwindcss.com/docs/border-color
1493
1493
  */
1494
1494
  "border-color-y": [{
1495
- "border-y": [a]
1495
+ "border-y": [s]
1496
1496
  }],
1497
1497
  /**
1498
1498
  * Border Color S
1499
1499
  * @see https://tailwindcss.com/docs/border-color
1500
1500
  */
1501
1501
  "border-color-s": [{
1502
- "border-s": [a]
1502
+ "border-s": [s]
1503
1503
  }],
1504
1504
  /**
1505
1505
  * Border Color E
1506
1506
  * @see https://tailwindcss.com/docs/border-color
1507
1507
  */
1508
1508
  "border-color-e": [{
1509
- "border-e": [a]
1509
+ "border-e": [s]
1510
1510
  }],
1511
1511
  /**
1512
1512
  * Border Color Top
1513
1513
  * @see https://tailwindcss.com/docs/border-color
1514
1514
  */
1515
1515
  "border-color-t": [{
1516
- "border-t": [a]
1516
+ "border-t": [s]
1517
1517
  }],
1518
1518
  /**
1519
1519
  * Border Color Right
1520
1520
  * @see https://tailwindcss.com/docs/border-color
1521
1521
  */
1522
1522
  "border-color-r": [{
1523
- "border-r": [a]
1523
+ "border-r": [s]
1524
1524
  }],
1525
1525
  /**
1526
1526
  * Border Color Bottom
1527
1527
  * @see https://tailwindcss.com/docs/border-color
1528
1528
  */
1529
1529
  "border-color-b": [{
1530
- "border-b": [a]
1530
+ "border-b": [s]
1531
1531
  }],
1532
1532
  /**
1533
1533
  * Border Color Left
1534
1534
  * @see https://tailwindcss.com/docs/border-color
1535
1535
  */
1536
1536
  "border-color-l": [{
1537
- "border-l": [a]
1537
+ "border-l": [s]
1538
1538
  }],
1539
1539
  /**
1540
1540
  * Divide Color
1541
1541
  * @see https://tailwindcss.com/docs/divide-color
1542
1542
  */
1543
1543
  "divide-color": [{
1544
- divide: [a]
1544
+ divide: [s]
1545
1545
  }],
1546
1546
  /**
1547
1547
  * Outline Style
1548
1548
  * @see https://tailwindcss.com/docs/outline-style
1549
1549
  */
1550
1550
  "outline-style": [{
1551
- outline: ["", ...T()]
1551
+ outline: ["", ...$()]
1552
1552
  }],
1553
1553
  /**
1554
1554
  * Outline Offset
1555
1555
  * @see https://tailwindcss.com/docs/outline-offset
1556
1556
  */
1557
1557
  "outline-offset": [{
1558
- "outline-offset": [H, N]
1558
+ "outline-offset": [U, C]
1559
1559
  }],
1560
1560
  /**
1561
1561
  * Outline Width
1562
1562
  * @see https://tailwindcss.com/docs/outline-width
1563
1563
  */
1564
1564
  "outline-w": [{
1565
- outline: [H, U]
1565
+ outline: [U, Y]
1566
1566
  }],
1567
1567
  /**
1568
1568
  * Outline Color
@@ -1595,14 +1595,14 @@ const I = (e) => {
1595
1595
  * @see https://tailwindcss.com/docs/ring-opacity
1596
1596
  */
1597
1597
  "ring-opacity": [{
1598
- "ring-opacity": [w]
1598
+ "ring-opacity": [v]
1599
1599
  }],
1600
1600
  /**
1601
1601
  * Ring Offset Width
1602
1602
  * @see https://tailwindcss.com/docs/ring-offset-width
1603
1603
  */
1604
1604
  "ring-offset-w": [{
1605
- "ring-offset": [H, U]
1605
+ "ring-offset": [U, Y]
1606
1606
  }],
1607
1607
  /**
1608
1608
  * Ring Offset Color
@@ -1617,35 +1617,35 @@ const I = (e) => {
1617
1617
  * @see https://tailwindcss.com/docs/box-shadow
1618
1618
  */
1619
1619
  shadow: [{
1620
- shadow: ["", "inner", "none", Y, ur]
1620
+ shadow: ["", "inner", "none", J, pr]
1621
1621
  }],
1622
1622
  /**
1623
1623
  * Box Shadow Color
1624
1624
  * @see https://tailwindcss.com/docs/box-shadow-color
1625
1625
  */
1626
1626
  "shadow-color": [{
1627
- shadow: [oe]
1627
+ shadow: [ne]
1628
1628
  }],
1629
1629
  /**
1630
1630
  * Opacity
1631
1631
  * @see https://tailwindcss.com/docs/opacity
1632
1632
  */
1633
1633
  opacity: [{
1634
- opacity: [w]
1634
+ opacity: [v]
1635
1635
  }],
1636
1636
  /**
1637
1637
  * Mix Blend Mode
1638
1638
  * @see https://tailwindcss.com/docs/mix-blend-mode
1639
1639
  */
1640
1640
  "mix-blend": [{
1641
- "mix-blend": [...Z(), "plus-lighter", "plus-darker"]
1641
+ "mix-blend": [...X(), "plus-lighter", "plus-darker"]
1642
1642
  }],
1643
1643
  /**
1644
1644
  * Background Blend Mode
1645
1645
  * @see https://tailwindcss.com/docs/background-blend-mode
1646
1646
  */
1647
1647
  "bg-blend": [{
1648
- "bg-blend": Z()
1648
+ "bg-blend": X()
1649
1649
  }],
1650
1650
  // Filters
1651
1651
  /**
@@ -1675,28 +1675,28 @@ const I = (e) => {
1675
1675
  * @see https://tailwindcss.com/docs/contrast
1676
1676
  */
1677
1677
  contrast: [{
1678
- contrast: [c]
1678
+ contrast: [d]
1679
1679
  }],
1680
1680
  /**
1681
1681
  * Drop Shadow
1682
1682
  * @see https://tailwindcss.com/docs/drop-shadow
1683
1683
  */
1684
1684
  "drop-shadow": [{
1685
- "drop-shadow": ["", "none", Y, N]
1685
+ "drop-shadow": ["", "none", J, C]
1686
1686
  }],
1687
1687
  /**
1688
1688
  * Grayscale
1689
1689
  * @see https://tailwindcss.com/docs/grayscale
1690
1690
  */
1691
1691
  grayscale: [{
1692
- grayscale: [d]
1692
+ grayscale: [u]
1693
1693
  }],
1694
1694
  /**
1695
1695
  * Hue Rotate
1696
1696
  * @see https://tailwindcss.com/docs/hue-rotate
1697
1697
  */
1698
1698
  "hue-rotate": [{
1699
- "hue-rotate": [b]
1699
+ "hue-rotate": [g]
1700
1700
  }],
1701
1701
  /**
1702
1702
  * Invert
@@ -1710,7 +1710,7 @@ const I = (e) => {
1710
1710
  * @see https://tailwindcss.com/docs/saturate
1711
1711
  */
1712
1712
  saturate: [{
1713
- saturate: [D]
1713
+ saturate: [S]
1714
1714
  }],
1715
1715
  /**
1716
1716
  * Sepia
@@ -1746,21 +1746,21 @@ const I = (e) => {
1746
1746
  * @see https://tailwindcss.com/docs/backdrop-contrast
1747
1747
  */
1748
1748
  "backdrop-contrast": [{
1749
- "backdrop-contrast": [c]
1749
+ "backdrop-contrast": [d]
1750
1750
  }],
1751
1751
  /**
1752
1752
  * Backdrop Grayscale
1753
1753
  * @see https://tailwindcss.com/docs/backdrop-grayscale
1754
1754
  */
1755
1755
  "backdrop-grayscale": [{
1756
- "backdrop-grayscale": [d]
1756
+ "backdrop-grayscale": [u]
1757
1757
  }],
1758
1758
  /**
1759
1759
  * Backdrop Hue Rotate
1760
1760
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
1761
1761
  */
1762
1762
  "backdrop-hue-rotate": [{
1763
- "backdrop-hue-rotate": [b]
1763
+ "backdrop-hue-rotate": [g]
1764
1764
  }],
1765
1765
  /**
1766
1766
  * Backdrop Invert
@@ -1774,14 +1774,14 @@ const I = (e) => {
1774
1774
  * @see https://tailwindcss.com/docs/backdrop-opacity
1775
1775
  */
1776
1776
  "backdrop-opacity": [{
1777
- "backdrop-opacity": [w]
1777
+ "backdrop-opacity": [v]
1778
1778
  }],
1779
1779
  /**
1780
1780
  * Backdrop Saturate
1781
1781
  * @see https://tailwindcss.com/docs/backdrop-saturate
1782
1782
  */
1783
1783
  "backdrop-saturate": [{
1784
- "backdrop-saturate": [D]
1784
+ "backdrop-saturate": [S]
1785
1785
  }],
1786
1786
  /**
1787
1787
  * Backdrop Sepia
@@ -1839,35 +1839,35 @@ const I = (e) => {
1839
1839
  * @see https://tailwindcss.com/docs/transition-property
1840
1840
  */
1841
1841
  transition: [{
1842
- transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", N]
1842
+ transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", C]
1843
1843
  }],
1844
1844
  /**
1845
1845
  * Transition Duration
1846
1846
  * @see https://tailwindcss.com/docs/transition-duration
1847
1847
  */
1848
1848
  duration: [{
1849
- duration: _()
1849
+ duration: V()
1850
1850
  }],
1851
1851
  /**
1852
1852
  * Transition Timing Function
1853
1853
  * @see https://tailwindcss.com/docs/transition-timing-function
1854
1854
  */
1855
1855
  ease: [{
1856
- ease: ["linear", "in", "out", "in-out", N]
1856
+ ease: ["linear", "in", "out", "in-out", C]
1857
1857
  }],
1858
1858
  /**
1859
1859
  * Transition Delay
1860
1860
  * @see https://tailwindcss.com/docs/transition-delay
1861
1861
  */
1862
1862
  delay: [{
1863
- delay: _()
1863
+ delay: V()
1864
1864
  }],
1865
1865
  /**
1866
1866
  * Animation
1867
1867
  * @see https://tailwindcss.com/docs/animation
1868
1868
  */
1869
1869
  animate: [{
1870
- animate: ["none", "spin", "ping", "pulse", "bounce", N]
1870
+ animate: ["none", "spin", "ping", "pulse", "bounce", C]
1871
1871
  }],
1872
1872
  // Transforms
1873
1873
  /**
@@ -1882,63 +1882,63 @@ const I = (e) => {
1882
1882
  * @see https://tailwindcss.com/docs/scale
1883
1883
  */
1884
1884
  scale: [{
1885
- scale: [E]
1885
+ scale: [A]
1886
1886
  }],
1887
1887
  /**
1888
1888
  * Scale X
1889
1889
  * @see https://tailwindcss.com/docs/scale
1890
1890
  */
1891
1891
  "scale-x": [{
1892
- "scale-x": [E]
1892
+ "scale-x": [A]
1893
1893
  }],
1894
1894
  /**
1895
1895
  * Scale Y
1896
1896
  * @see https://tailwindcss.com/docs/scale
1897
1897
  */
1898
1898
  "scale-y": [{
1899
- "scale-y": [E]
1899
+ "scale-y": [A]
1900
1900
  }],
1901
1901
  /**
1902
1902
  * Rotate
1903
1903
  * @see https://tailwindcss.com/docs/rotate
1904
1904
  */
1905
1905
  rotate: [{
1906
- rotate: [te, N]
1906
+ rotate: [oe, C]
1907
1907
  }],
1908
1908
  /**
1909
1909
  * Translate X
1910
1910
  * @see https://tailwindcss.com/docs/translate
1911
1911
  */
1912
1912
  "translate-x": [{
1913
- "translate-x": [j]
1913
+ "translate-x": [O]
1914
1914
  }],
1915
1915
  /**
1916
1916
  * Translate Y
1917
1917
  * @see https://tailwindcss.com/docs/translate
1918
1918
  */
1919
1919
  "translate-y": [{
1920
- "translate-y": [j]
1920
+ "translate-y": [O]
1921
1921
  }],
1922
1922
  /**
1923
1923
  * Skew X
1924
1924
  * @see https://tailwindcss.com/docs/skew
1925
1925
  */
1926
1926
  "skew-x": [{
1927
- "skew-x": [P]
1927
+ "skew-x": [E]
1928
1928
  }],
1929
1929
  /**
1930
1930
  * Skew Y
1931
1931
  * @see https://tailwindcss.com/docs/skew
1932
1932
  */
1933
1933
  "skew-y": [{
1934
- "skew-y": [P]
1934
+ "skew-y": [E]
1935
1935
  }],
1936
1936
  /**
1937
1937
  * Transform Origin
1938
1938
  * @see https://tailwindcss.com/docs/transform-origin
1939
1939
  */
1940
1940
  "transform-origin": [{
1941
- origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", N]
1941
+ origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", C]
1942
1942
  }],
1943
1943
  // Interactivity
1944
1944
  /**
@@ -1960,7 +1960,7 @@ const I = (e) => {
1960
1960
  * @see https://tailwindcss.com/docs/cursor
1961
1961
  */
1962
1962
  cursor: [{
1963
- 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", N]
1963
+ 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", C]
1964
1964
  }],
1965
1965
  /**
1966
1966
  * Caret Color
@@ -1995,126 +1995,126 @@ const I = (e) => {
1995
1995
  * @see https://tailwindcss.com/docs/scroll-margin
1996
1996
  */
1997
1997
  "scroll-m": [{
1998
- "scroll-m": S()
1998
+ "scroll-m": D()
1999
1999
  }],
2000
2000
  /**
2001
2001
  * Scroll Margin X
2002
2002
  * @see https://tailwindcss.com/docs/scroll-margin
2003
2003
  */
2004
2004
  "scroll-mx": [{
2005
- "scroll-mx": S()
2005
+ "scroll-mx": D()
2006
2006
  }],
2007
2007
  /**
2008
2008
  * Scroll Margin Y
2009
2009
  * @see https://tailwindcss.com/docs/scroll-margin
2010
2010
  */
2011
2011
  "scroll-my": [{
2012
- "scroll-my": S()
2012
+ "scroll-my": D()
2013
2013
  }],
2014
2014
  /**
2015
2015
  * Scroll Margin Start
2016
2016
  * @see https://tailwindcss.com/docs/scroll-margin
2017
2017
  */
2018
2018
  "scroll-ms": [{
2019
- "scroll-ms": S()
2019
+ "scroll-ms": D()
2020
2020
  }],
2021
2021
  /**
2022
2022
  * Scroll Margin End
2023
2023
  * @see https://tailwindcss.com/docs/scroll-margin
2024
2024
  */
2025
2025
  "scroll-me": [{
2026
- "scroll-me": S()
2026
+ "scroll-me": D()
2027
2027
  }],
2028
2028
  /**
2029
2029
  * Scroll Margin Top
2030
2030
  * @see https://tailwindcss.com/docs/scroll-margin
2031
2031
  */
2032
2032
  "scroll-mt": [{
2033
- "scroll-mt": S()
2033
+ "scroll-mt": D()
2034
2034
  }],
2035
2035
  /**
2036
2036
  * Scroll Margin Right
2037
2037
  * @see https://tailwindcss.com/docs/scroll-margin
2038
2038
  */
2039
2039
  "scroll-mr": [{
2040
- "scroll-mr": S()
2040
+ "scroll-mr": D()
2041
2041
  }],
2042
2042
  /**
2043
2043
  * Scroll Margin Bottom
2044
2044
  * @see https://tailwindcss.com/docs/scroll-margin
2045
2045
  */
2046
2046
  "scroll-mb": [{
2047
- "scroll-mb": S()
2047
+ "scroll-mb": D()
2048
2048
  }],
2049
2049
  /**
2050
2050
  * Scroll Margin Left
2051
2051
  * @see https://tailwindcss.com/docs/scroll-margin
2052
2052
  */
2053
2053
  "scroll-ml": [{
2054
- "scroll-ml": S()
2054
+ "scroll-ml": D()
2055
2055
  }],
2056
2056
  /**
2057
2057
  * Scroll Padding
2058
2058
  * @see https://tailwindcss.com/docs/scroll-padding
2059
2059
  */
2060
2060
  "scroll-p": [{
2061
- "scroll-p": S()
2061
+ "scroll-p": D()
2062
2062
  }],
2063
2063
  /**
2064
2064
  * Scroll Padding X
2065
2065
  * @see https://tailwindcss.com/docs/scroll-padding
2066
2066
  */
2067
2067
  "scroll-px": [{
2068
- "scroll-px": S()
2068
+ "scroll-px": D()
2069
2069
  }],
2070
2070
  /**
2071
2071
  * Scroll Padding Y
2072
2072
  * @see https://tailwindcss.com/docs/scroll-padding
2073
2073
  */
2074
2074
  "scroll-py": [{
2075
- "scroll-py": S()
2075
+ "scroll-py": D()
2076
2076
  }],
2077
2077
  /**
2078
2078
  * Scroll Padding Start
2079
2079
  * @see https://tailwindcss.com/docs/scroll-padding
2080
2080
  */
2081
2081
  "scroll-ps": [{
2082
- "scroll-ps": S()
2082
+ "scroll-ps": D()
2083
2083
  }],
2084
2084
  /**
2085
2085
  * Scroll Padding End
2086
2086
  * @see https://tailwindcss.com/docs/scroll-padding
2087
2087
  */
2088
2088
  "scroll-pe": [{
2089
- "scroll-pe": S()
2089
+ "scroll-pe": D()
2090
2090
  }],
2091
2091
  /**
2092
2092
  * Scroll Padding Top
2093
2093
  * @see https://tailwindcss.com/docs/scroll-padding
2094
2094
  */
2095
2095
  "scroll-pt": [{
2096
- "scroll-pt": S()
2096
+ "scroll-pt": D()
2097
2097
  }],
2098
2098
  /**
2099
2099
  * Scroll Padding Right
2100
2100
  * @see https://tailwindcss.com/docs/scroll-padding
2101
2101
  */
2102
2102
  "scroll-pr": [{
2103
- "scroll-pr": S()
2103
+ "scroll-pr": D()
2104
2104
  }],
2105
2105
  /**
2106
2106
  * Scroll Padding Bottom
2107
2107
  * @see https://tailwindcss.com/docs/scroll-padding
2108
2108
  */
2109
2109
  "scroll-pb": [{
2110
- "scroll-pb": S()
2110
+ "scroll-pb": D()
2111
2111
  }],
2112
2112
  /**
2113
2113
  * Scroll Padding Left
2114
2114
  * @see https://tailwindcss.com/docs/scroll-padding
2115
2115
  */
2116
2116
  "scroll-pl": [{
2117
- "scroll-pl": S()
2117
+ "scroll-pl": D()
2118
2118
  }],
2119
2119
  /**
2120
2120
  * Scroll Snap Align
@@ -2182,7 +2182,7 @@ const I = (e) => {
2182
2182
  * @see https://tailwindcss.com/docs/will-change
2183
2183
  */
2184
2184
  "will-change": [{
2185
- "will-change": ["auto", "scroll", "contents", "transform", N]
2185
+ "will-change": ["auto", "scroll", "contents", "transform", C]
2186
2186
  }],
2187
2187
  // SVG
2188
2188
  /**
@@ -2197,7 +2197,7 @@ const I = (e) => {
2197
2197
  * @see https://tailwindcss.com/docs/stroke-width
2198
2198
  */
2199
2199
  "stroke-w": [{
2200
- stroke: [H, U, se]
2200
+ stroke: [U, Y, le]
2201
2201
  }],
2202
2202
  /**
2203
2203
  * Stroke
@@ -2272,47 +2272,47 @@ const I = (e) => {
2272
2272
  "font-size": ["leading"]
2273
2273
  }
2274
2274
  };
2275
- }, fr = /* @__PURE__ */ Xe(gr);
2276
- function p(...e) {
2275
+ }, fr = /* @__PURE__ */ qe(hr);
2276
+ function c(...e) {
2277
2277
  return fr(Re(e));
2278
2278
  }
2279
- function hr(e) {
2280
- const r = parseInt(e.slice(1, 3), 16) / 255, t = parseInt(e.slice(3, 5), 16) / 255, o = parseInt(e.slice(5, 7), 16) / 255, a = Math.max(r, t, o), s = Math.min(r, t, o);
2281
- let i = 0, n = 0;
2282
- const c = (a + s) / 2;
2283
- if (a !== s) {
2284
- const d = a - s;
2285
- switch (n = c > 0.5 ? d / (2 - a - s) : d / (a + s), a) {
2279
+ function yr(e) {
2280
+ const r = parseInt(e.slice(1, 3), 16) / 255, t = parseInt(e.slice(3, 5), 16) / 255, o = parseInt(e.slice(5, 7), 16) / 255, s = Math.max(r, t, o), l = Math.min(r, t, o);
2281
+ let i = 0, a = 0;
2282
+ const d = (s + l) / 2;
2283
+ if (s !== l) {
2284
+ const u = s - l;
2285
+ switch (a = d > 0.5 ? u / (2 - s - l) : u / (s + l), s) {
2286
2286
  case r:
2287
- i = ((t - o) / d + (t < o ? 6 : 0)) / 6;
2287
+ i = ((t - o) / u + (t < o ? 6 : 0)) / 6;
2288
2288
  break;
2289
2289
  case t:
2290
- i = ((o - r) / d + 2) / 6;
2290
+ i = ((o - r) / u + 2) / 6;
2291
2291
  break;
2292
2292
  case o:
2293
- i = ((r - t) / d + 4) / 6;
2293
+ i = ((r - t) / u + 4) / 6;
2294
2294
  break;
2295
2295
  }
2296
2296
  }
2297
- return [i * 360, n * 100, c * 100];
2297
+ return [i * 360, a * 100, d * 100];
2298
2298
  }
2299
- function be(e, r, t) {
2299
+ function ge(e, r, t) {
2300
2300
  t /= 100;
2301
- const o = r * Math.min(t, 1 - t) / 100, a = (s) => {
2302
- const i = (s + e / 30) % 12, n = t - o * Math.max(Math.min(i - 3, 9 - i, 1), -1);
2303
- return Math.round(255 * n).toString(16).padStart(2, "0");
2301
+ const o = r * Math.min(t, 1 - t) / 100, s = (l) => {
2302
+ const i = (l + e / 30) % 12, a = t - o * Math.max(Math.min(i - 3, 9 - i, 1), -1);
2303
+ return Math.round(255 * a).toString(16).padStart(2, "0");
2304
2304
  };
2305
- return `#${a(0)}${a(8)}${a(4)}`;
2305
+ return `#${s(0)}${s(8)}${s(4)}`;
2306
2306
  }
2307
- function le(e) {
2308
- const [r, t, o] = hr(e);
2307
+ function ie(e) {
2308
+ const [r, t, o] = yr(e);
2309
2309
  return {
2310
2310
  base: e,
2311
- light: be(r, Math.max(0, t - 10), Math.min(100, o + 15)),
2312
- dark: be(r, Math.min(100, t + 10), Math.max(0, o - 15))
2311
+ light: ge(r, Math.max(0, t - 10), Math.min(100, o + 15)),
2312
+ dark: ge(r, Math.min(100, t + 10), Math.max(0, o - 15))
2313
2313
  };
2314
2314
  }
2315
- const O = {
2315
+ const T = {
2316
2316
  colors: {
2317
2317
  primary: "#6366f1",
2318
2318
  primaryLight: "#818cf8",
@@ -2335,11 +2335,11 @@ const O = {
2335
2335
  light: "#f9fafb",
2336
2336
  active: "#4338ca"
2337
2337
  }
2338
- }, Le = je(O);
2339
- function Yr() {
2340
- return Oe(Le);
2338
+ }, Se = Oe(T);
2339
+ function Qr() {
2340
+ return Te(Se);
2341
2341
  }
2342
- function ge(e) {
2342
+ function he(e) {
2343
2343
  const r = document.documentElement;
2344
2344
  r.style.setProperty("--componentables-primary", e.colors.primary), r.style.setProperty(
2345
2345
  "--componentables-primary-light",
@@ -2373,42 +2373,42 @@ function ge(e) {
2373
2373
  e.colors.backgroundLight
2374
2374
  ), r.style.setProperty("--componentables-disabled", e.colors.disabled), r.style.setProperty("--componentables-light", e.colors.light), r.style.setProperty("--componentables-active", e.colors.active);
2375
2375
  }
2376
- function Jr({
2376
+ function et({
2377
2377
  children: e,
2378
2378
  theme: r
2379
2379
  }) {
2380
2380
  const t = Ie(() => {
2381
- const o = r?.colors || {}, a = o.primary ? le(o.primary) : null, s = o.secondary ? le(o.secondary) : null, i = o.danger ? le(o.danger) : null;
2381
+ const o = r?.colors || {}, s = o.primary ? ie(o.primary) : null, l = o.secondary ? ie(o.secondary) : null, i = o.danger ? ie(o.danger) : null;
2382
2382
  return {
2383
2383
  colors: {
2384
- primary: o.primary || O.colors.primary,
2385
- primaryLight: a?.light || O.colors.primaryLight,
2386
- primaryDark: a?.dark || O.colors.primaryDark,
2387
- secondary: o.secondary || O.colors.secondary,
2388
- secondaryLight: s?.light || O.colors.secondaryLight,
2389
- secondaryDark: s?.dark || O.colors.secondaryDark,
2390
- danger: o.danger || O.colors.danger,
2391
- dangerLight: i?.light || O.colors.dangerLight,
2392
- dangerDark: i?.dark || O.colors.dangerDark,
2393
- text: o.text || O.colors.text,
2394
- textMuted: o.textMuted || O.colors.textMuted,
2395
- textLight: o.textLight || O.colors.textLight,
2396
- border: o.border || O.colors.border,
2397
- borderDark: o.borderDark || O.colors.borderDark,
2398
- background: o.background || O.colors.background,
2399
- backgroundDark: o.backgroundDark || O.colors.backgroundDark,
2400
- backgroundLight: o.backgroundLight || O.colors.backgroundLight,
2401
- disabled: o.disabled || O.colors.disabled,
2402
- light: o.light || O.colors.light,
2403
- active: o.active || O.colors.active
2384
+ primary: o.primary || T.colors.primary,
2385
+ primaryLight: s?.light || T.colors.primaryLight,
2386
+ primaryDark: s?.dark || T.colors.primaryDark,
2387
+ secondary: o.secondary || T.colors.secondary,
2388
+ secondaryLight: l?.light || T.colors.secondaryLight,
2389
+ secondaryDark: l?.dark || T.colors.secondaryDark,
2390
+ danger: o.danger || T.colors.danger,
2391
+ dangerLight: i?.light || T.colors.dangerLight,
2392
+ dangerDark: i?.dark || T.colors.dangerDark,
2393
+ text: o.text || T.colors.text,
2394
+ textMuted: o.textMuted || T.colors.textMuted,
2395
+ textLight: o.textLight || T.colors.textLight,
2396
+ border: o.border || T.colors.border,
2397
+ borderDark: o.borderDark || T.colors.borderDark,
2398
+ background: o.background || T.colors.background,
2399
+ backgroundDark: o.backgroundDark || T.colors.backgroundDark,
2400
+ backgroundLight: o.backgroundLight || T.colors.backgroundLight,
2401
+ disabled: o.disabled || T.colors.disabled,
2402
+ light: o.light || T.colors.light,
2403
+ active: o.active || T.colors.active
2404
2404
  }
2405
2405
  };
2406
2406
  }, [r]);
2407
- return typeof window < "u" && ge(t), W(() => {
2408
- ge(t);
2409
- }, [t]), B.createElement(Le.Provider, { value: t }, e);
2407
+ return typeof window < "u" && he(t), H(() => {
2408
+ he(t);
2409
+ }, [t]), G.createElement(Se.Provider, { value: t }, e);
2410
2410
  }
2411
- const yr = {
2411
+ const xr = {
2412
2412
  primary: "bg-primary text-white border-primary hover:bg-primary-dark hover:border-primary-dark active:bg-active",
2413
2413
  secondary: "bg-secondary text-white border-secondary hover:bg-secondary-dark hover:border-secondary-dark",
2414
2414
  "primary-outline": "bg-transparent text-primary border-primary hover:bg-primary hover:text-white",
@@ -2416,49 +2416,50 @@ const yr = {
2416
2416
  ghost: "bg-transparent text-primary border-transparent hover:bg-primary hover:text-white hover:border-primary",
2417
2417
  light: "bg-light text-text border-border hover:bg-background-light",
2418
2418
  danger: "bg-transparent text-danger border-danger hover:text-white hover:bg-danger hover:border-danger active:bg-danger-dark",
2419
- link: "bg-transparent text-secondary-light! underline hover:text-primary! border-0"
2420
- }, xr = {
2419
+ link: "bg-transparent text-secondary-light! underline hover:text-primary! border-0",
2420
+ dark: "bg-gray-800 text-white border-gray-800 hover:bg-gray-900 hover:border-gray-900"
2421
+ }, wr = {
2421
2422
  sm: "px-3 py-1.5 text-sm",
2422
2423
  md: "px-4 py-2 text-base",
2423
2424
  lg: "px-6 py-3 text-lg",
2424
2425
  xl: "px-8 py-4 text-xl"
2425
2426
  };
2426
- function q({
2427
+ function ee({
2427
2428
  children: e,
2428
2429
  onClick: r,
2429
2430
  disabled: t = !1,
2430
2431
  type: o = "button",
2431
- variant: a = "primary",
2432
- size: s = "md",
2432
+ variant: s = "primary",
2433
+ size: l = "md",
2433
2434
  fullWidth: i = !1,
2434
- loading: n = !1,
2435
- className: c = "",
2436
- ...d
2435
+ loading: a = !1,
2436
+ className: d = "",
2437
+ ...u
2437
2438
  }) {
2438
- return /* @__PURE__ */ y(
2439
+ return /* @__PURE__ */ m(
2439
2440
  "button",
2440
2441
  {
2441
2442
  type: o,
2442
- onClick: t || n ? void 0 : r,
2443
- disabled: t || n,
2444
- className: p(
2443
+ onClick: t || a ? void 0 : r,
2444
+ disabled: t || a,
2445
+ className: c(
2445
2446
  "inline-flex shadow-md hover:shadow-lg cursor-pointer items-center justify-center font-medium rounded-lg border transition-all duration-300 focus:outline-none focus:ring-2 focus:ring-primary focus:ring-opacity-50",
2446
- t || n ? "bg-disabled text-text-muted border-disabled cursor-not-allowed hover:bg-disabled hover:border-disabled hover:text-text-muted" : yr[a],
2447
- xr[s],
2447
+ t || a ? "bg-disabled text-text-muted border-disabled cursor-not-allowed hover:bg-disabled hover:border-disabled hover:text-text-muted" : xr[s],
2448
+ wr[l],
2448
2449
  i && "w-full",
2449
- n && "cursor-wait opacity-75",
2450
- c
2450
+ a && "cursor-wait opacity-75",
2451
+ d
2451
2452
  ),
2452
- ...d,
2453
+ ...u,
2453
2454
  children: [
2454
- n && /* @__PURE__ */ y(
2455
+ a && /* @__PURE__ */ m(
2455
2456
  "svg",
2456
2457
  {
2457
2458
  className: "w-4 h-4 mr-2 animate-spin",
2458
2459
  fill: "none",
2459
2460
  viewBox: "0 0 24 24",
2460
2461
  children: [
2461
- /* @__PURE__ */ l(
2462
+ /* @__PURE__ */ n(
2462
2463
  "circle",
2463
2464
  {
2464
2465
  className: "opacity-25",
@@ -2469,7 +2470,7 @@ function q({
2469
2470
  strokeWidth: "4"
2470
2471
  }
2471
2472
  ),
2472
- /* @__PURE__ */ l(
2473
+ /* @__PURE__ */ n(
2473
2474
  "path",
2474
2475
  {
2475
2476
  className: "opacity-75",
@@ -2490,155 +2491,155 @@ function vr({
2490
2491
  name: r,
2491
2492
  type: t = "text",
2492
2493
  value: o,
2493
- onChange: a,
2494
- placeholder: s,
2494
+ onChange: s,
2495
+ placeholder: l,
2495
2496
  label: i,
2496
- error: n,
2497
- disabled: c = !1,
2498
- required: d = !1,
2499
- colorScheme: b = "secondary",
2497
+ error: a,
2498
+ disabled: d = !1,
2499
+ required: u = !1,
2500
+ colorScheme: g = "secondary",
2500
2501
  className: k = "",
2501
- ...h
2502
+ ...y
2502
2503
  }) {
2503
- const v = () => {
2504
+ const w = () => {
2504
2505
  const x = "w-full p-4 border-2 rounded-lg text-base bg-white transition-all duration-300 focus:outline-none focus:ring-1 disabled:bg-light disabled:text-text-muted disabled:cursor-not-allowed placeholder:text-text-muted";
2505
- if (n)
2506
- return p(
2506
+ if (a)
2507
+ return c(
2507
2508
  x,
2508
2509
  "border-danger focus:border-danger focus:shadow-danger-light"
2509
2510
  );
2510
- switch (b) {
2511
+ switch (g) {
2511
2512
  case "primary":
2512
- return p(
2513
+ return c(
2513
2514
  x,
2514
2515
  "text-primary border-primary focus:border-primary"
2515
2516
  );
2516
2517
  case "secondary":
2517
2518
  default:
2518
- return p(
2519
+ return c(
2519
2520
  x,
2520
2521
  "text-secondary border-secondary focus:border-secondary"
2521
2522
  );
2522
2523
  }
2523
- }, m = () => b === "primary" ? "text-primary" : "text-secondary";
2524
- return /* @__PURE__ */ y("div", { className: p("mb-6", k), children: [
2525
- i && /* @__PURE__ */ y(
2524
+ }, b = () => g === "primary" ? "text-primary" : "text-secondary";
2525
+ return /* @__PURE__ */ m("div", { className: c("mb-6", k), children: [
2526
+ i && /* @__PURE__ */ m(
2526
2527
  "label",
2527
2528
  {
2528
2529
  htmlFor: e,
2529
- className: p("block mb-2 text-sm font-medium", m()),
2530
+ className: c("block mb-2 text-sm font-medium", b()),
2530
2531
  children: [
2531
2532
  i,
2532
- d && /* @__PURE__ */ l("span", { className: "text-danger ml-1", children: "*" })
2533
+ u && /* @__PURE__ */ n("span", { className: "text-danger ml-1", children: "*" })
2533
2534
  ]
2534
2535
  }
2535
2536
  ),
2536
- /* @__PURE__ */ l(
2537
+ /* @__PURE__ */ n(
2537
2538
  "input",
2538
2539
  {
2539
2540
  id: e,
2540
2541
  name: r,
2541
2542
  type: t,
2542
2543
  value: o,
2543
- onChange: a,
2544
- placeholder: s,
2545
- disabled: c,
2546
- required: d,
2547
- className: v(),
2548
- ...h
2544
+ onChange: s,
2545
+ placeholder: l,
2546
+ disabled: d,
2547
+ required: u,
2548
+ className: w(),
2549
+ ...y
2549
2550
  }
2550
2551
  ),
2551
- n && /* @__PURE__ */ l("span", { className: "block mt-1 text-xs text-danger font-medium", children: n })
2552
+ a && /* @__PURE__ */ n("span", { className: "block mt-1 text-xs text-danger font-medium", children: a })
2552
2553
  ] });
2553
2554
  }
2554
- function wr({
2555
+ function kr({
2555
2556
  id: e,
2556
2557
  name: r,
2557
2558
  value: t,
2558
2559
  onChange: o,
2559
- placeholder: a,
2560
- label: s,
2560
+ placeholder: s,
2561
+ label: l,
2561
2562
  error: i,
2562
- disabled: n = !1,
2563
- required: c = !1,
2564
- colorScheme: d = "secondary",
2565
- className: b = "",
2563
+ disabled: a = !1,
2564
+ required: d = !1,
2565
+ colorScheme: u = "secondary",
2566
+ className: g = "",
2566
2567
  rows: k = 4,
2567
- ...h
2568
+ ...y
2568
2569
  }) {
2569
- const v = () => {
2570
+ const w = () => {
2570
2571
  const x = "w-full p-4 border-2 rounded-lg text-base bg-white transition-all duration-300 focus:outline-none focus:ring-1 disabled:bg-light disabled:text-text-muted disabled:cursor-not-allowed placeholder:text-text-muted resize-none";
2571
2572
  if (i)
2572
- return p(
2573
+ return c(
2573
2574
  x,
2574
2575
  "border-danger focus:border-danger focus:shadow-danger-light"
2575
2576
  );
2576
- switch (d) {
2577
+ switch (u) {
2577
2578
  case "primary":
2578
- return p(
2579
+ return c(
2579
2580
  x,
2580
2581
  "text-primary border-primary focus:border-primary"
2581
2582
  );
2582
2583
  case "secondary":
2583
2584
  default:
2584
- return p(
2585
+ return c(
2585
2586
  x,
2586
2587
  "text-secondary border-secondary focus:border-secondary"
2587
2588
  );
2588
2589
  }
2589
- }, m = () => d === "primary" ? "text-primary" : "text-secondary";
2590
- return /* @__PURE__ */ y("div", { className: p("mb-6", b), children: [
2591
- s && /* @__PURE__ */ y(
2590
+ }, b = () => u === "primary" ? "text-primary" : "text-secondary";
2591
+ return /* @__PURE__ */ m("div", { className: c("mb-6", g), children: [
2592
+ l && /* @__PURE__ */ m(
2592
2593
  "label",
2593
2594
  {
2594
2595
  htmlFor: e,
2595
- className: p("block mb-2 text-sm font-medium", m()),
2596
+ className: c("block mb-2 text-sm font-medium", b()),
2596
2597
  children: [
2597
- s,
2598
- c && /* @__PURE__ */ l("span", { className: "text-danger ml-1", children: "*" })
2598
+ l,
2599
+ d && /* @__PURE__ */ n("span", { className: "text-danger ml-1", children: "*" })
2599
2600
  ]
2600
2601
  }
2601
2602
  ),
2602
- /* @__PURE__ */ l(
2603
+ /* @__PURE__ */ n(
2603
2604
  "textarea",
2604
2605
  {
2605
2606
  id: e,
2606
2607
  name: r,
2607
2608
  value: t,
2608
2609
  onChange: o,
2609
- placeholder: a,
2610
- disabled: n,
2611
- required: c,
2610
+ placeholder: s,
2611
+ disabled: a,
2612
+ required: d,
2612
2613
  rows: k,
2613
- className: v(),
2614
- ...h
2614
+ className: w(),
2615
+ ...y
2615
2616
  }
2616
2617
  ),
2617
- i && /* @__PURE__ */ l("span", { className: "block mt-1 text-xs text-danger font-medium", children: i })
2618
+ i && /* @__PURE__ */ n("span", { className: "block mt-1 text-xs text-danger font-medium", children: i })
2618
2619
  ] });
2619
2620
  }
2620
- const De = { Input: vr, InputArea: wr };
2621
- function Kr({
2621
+ const De = { Input: vr, InputArea: kr };
2622
+ function rt({
2622
2623
  id: e,
2623
2624
  name: r,
2624
2625
  checked: t = !1,
2625
2626
  onChange: o,
2626
- disabled: a = !1,
2627
- label: s,
2627
+ disabled: s = !1,
2628
+ label: l,
2628
2629
  colorScheme: i = "secondary",
2629
- size: n = "md",
2630
- className: c = "",
2631
- ...d
2630
+ size: a = "md",
2631
+ className: d = "",
2632
+ ...u
2632
2633
  }) {
2633
- const [b, k] = $(t);
2634
- W(() => {
2634
+ const [g, k] = _(t);
2635
+ H(() => {
2635
2636
  k(t);
2636
2637
  }, [t]);
2637
- const h = () => {
2638
- if (a) return;
2639
- const f = !b;
2638
+ const y = () => {
2639
+ if (s) return;
2640
+ const f = !g;
2640
2641
  k(f), o?.(f);
2641
- }, v = () => ({
2642
+ }, w = () => ({
2642
2643
  primary: {
2643
2644
  bg: "bg-primary",
2644
2645
  border: "border-primary",
@@ -2649,8 +2650,8 @@ function Kr({
2649
2650
  border: "border-secondary",
2650
2651
  text: "text-secondary"
2651
2652
  }
2652
- })[i], m = () => {
2653
- switch (n) {
2653
+ })[i], b = () => {
2654
+ switch (a) {
2654
2655
  case "sm":
2655
2656
  return "w-10 h-6";
2656
2657
  case "lg":
@@ -2660,7 +2661,7 @@ function Kr({
2660
2661
  return "w-13 h-7";
2661
2662
  }
2662
2663
  }, x = () => {
2663
- switch (n) {
2664
+ switch (a) {
2664
2665
  case "sm":
2665
2666
  return "w-5 h-5";
2666
2667
  case "lg":
@@ -2669,9 +2670,9 @@ function Kr({
2669
2670
  default:
2670
2671
  return "w-6 h-6";
2671
2672
  }
2672
- }, u = () => {
2673
- if (!b) return "translate-x-0";
2674
- switch (n) {
2673
+ }, p = () => {
2674
+ if (!g) return "translate-x-0";
2675
+ switch (a) {
2675
2676
  case "sm":
2676
2677
  return "translate-x-5";
2677
2678
  case "lg":
@@ -2680,80 +2681,80 @@ function Kr({
2680
2681
  default:
2681
2682
  return "translate-x-6";
2682
2683
  }
2683
- }, w = v();
2684
- return /* @__PURE__ */ y(
2684
+ }, v = w();
2685
+ return /* @__PURE__ */ m(
2685
2686
  "div",
2686
2687
  {
2687
- className: p(
2688
+ className: c(
2688
2689
  "flex items-center gap-3",
2689
- a ? "cursor-not-allowed" : "cursor-pointer",
2690
- c
2690
+ s ? "cursor-not-allowed" : "cursor-pointer",
2691
+ d
2691
2692
  ),
2692
- onClick: h,
2693
+ onClick: y,
2693
2694
  children: [
2694
- /* @__PURE__ */ y("div", { className: "relative", children: [
2695
- /* @__PURE__ */ l(
2695
+ /* @__PURE__ */ m("div", { className: "relative", children: [
2696
+ /* @__PURE__ */ n(
2696
2697
  "input",
2697
2698
  {
2698
2699
  type: "checkbox",
2699
2700
  id: e,
2700
2701
  name: r,
2701
- checked: b,
2702
+ checked: g,
2702
2703
  onChange: () => {
2703
2704
  },
2704
- disabled: a,
2705
+ disabled: s,
2705
2706
  className: "sr-only",
2706
- "aria-label": s || r,
2707
- ...d
2707
+ "aria-label": l || r,
2708
+ ...u
2708
2709
  }
2709
2710
  ),
2710
- /* @__PURE__ */ l(
2711
+ /* @__PURE__ */ n(
2711
2712
  "div",
2712
2713
  {
2713
- className: p(
2714
+ className: c(
2714
2715
  "block transition-all duration-300 rounded-full border-2",
2715
- m(),
2716
- b ? p(w.bg, w.border) : "bg-gray-200 border-gray-300",
2717
- a ? "opacity-50" : "hover:shadow-md"
2716
+ b(),
2717
+ g ? c(v.bg, v.border) : "bg-gray-200 border-gray-300",
2718
+ s ? "opacity-50" : "hover:shadow-md"
2718
2719
  ),
2719
- children: /* @__PURE__ */ l(
2720
+ children: /* @__PURE__ */ n(
2720
2721
  "span",
2721
2722
  {
2722
- className: p(
2723
+ className: c(
2723
2724
  "absolute top-0.5 left-0.5 inline-block rounded-full bg-white transition-all duration-300 shadow-sm",
2724
2725
  x(),
2725
- u()
2726
+ p()
2726
2727
  )
2727
2728
  }
2728
2729
  )
2729
2730
  }
2730
2731
  )
2731
2732
  ] }),
2732
- s && /* @__PURE__ */ l(
2733
+ l && /* @__PURE__ */ n(
2733
2734
  "span",
2734
2735
  {
2735
- className: p(
2736
+ className: c(
2736
2737
  "text-sm font-medium select-none",
2737
- w.text,
2738
- a && "opacity-50"
2738
+ v.text,
2739
+ s && "opacity-50"
2739
2740
  ),
2740
- children: s
2741
+ children: l
2741
2742
  }
2742
2743
  )
2743
2744
  ]
2744
2745
  }
2745
2746
  );
2746
2747
  }
2747
- const kr = ({
2748
+ const Nr = ({
2748
2749
  size: e = 40,
2749
2750
  wrapperStyle: r = {},
2750
2751
  wrapperClass: t = "",
2751
2752
  ariaLabel: o = "Cargando...",
2752
- label: a = "Cargando...",
2753
- visible: s = !0,
2753
+ label: s = "Cargando...",
2754
+ visible: l = !0,
2754
2755
  direction: i = "column"
2755
2756
  }) => {
2756
- const n = {
2757
+ const a = {
2757
2758
  display: "flex",
2758
2759
  flexDirection: i,
2759
2760
  justifyContent: "center",
@@ -2761,12 +2762,12 @@ const kr = ({
2761
2762
  minHeight: "100px",
2762
2763
  ...r
2763
2764
  };
2764
- return /* @__PURE__ */ y("div", { style: n, className: t, children: [
2765
- /* @__PURE__ */ l("label", { children: a }),
2766
- /* @__PURE__ */ l(
2767
- Te,
2765
+ return /* @__PURE__ */ m("div", { style: a, className: t, children: [
2766
+ /* @__PURE__ */ n("label", { children: s }),
2767
+ /* @__PURE__ */ n(
2768
+ $e,
2768
2769
  {
2769
- visible: s,
2770
+ visible: l,
2770
2771
  height: e,
2771
2772
  width: e,
2772
2773
  ariaLabel: o,
@@ -2777,72 +2778,72 @@ const kr = ({
2777
2778
  }
2778
2779
  )
2779
2780
  ] });
2780
- }, { Input: ie } = De, Zr = ({
2781
+ }, { Input: ce } = De, tt = ({
2781
2782
  title: e = "Iniciar Sesión",
2782
2783
  showForgotPassword: r = !0,
2783
2784
  onlyForgotPassword: t = !1,
2784
2785
  className: o = "",
2785
- onLogin: a,
2786
- onForgotPassword: s
2786
+ onLogin: s,
2787
+ onForgotPassword: l
2787
2788
  }) => {
2788
- const [i, n] = $({
2789
+ const [i, a] = _({
2789
2790
  email: "",
2790
2791
  password: ""
2791
- }), [c, d] = $({}), [b, k] = $(!1), [h, v] = $(
2792
+ }), [d, u] = _({}), [g, k] = _(!1), [y, w] = _(
2792
2793
  t ? "forgot" : "login"
2793
- ), m = (P, g) => {
2794
- switch (P) {
2794
+ ), b = (E, h) => {
2795
+ switch (E) {
2795
2796
  case "email":
2796
- return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(g) ? "" : "Por favor ingresa un email válido";
2797
+ return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(h) ? "" : "Por favor ingresa un email válido";
2797
2798
  case "password":
2798
- return g.length >= 6 ? "" : "La contraseña debe tener al menos 6 caracteres";
2799
+ return h.length >= 6 ? "" : "La contraseña debe tener al menos 6 caracteres";
2799
2800
  default:
2800
2801
  return "";
2801
2802
  }
2802
- }, x = (P) => {
2803
- const { name: g, value: j } = P.target;
2804
- n((R) => ({
2803
+ }, x = (E) => {
2804
+ const { name: h, value: O } = E.target;
2805
+ a((R) => ({
2805
2806
  ...R,
2806
- [g]: j
2807
- })), c[g] && d((R) => ({
2807
+ [h]: O
2808
+ })), d[h] && u((R) => ({
2808
2809
  ...R,
2809
- [g]: ""
2810
+ [h]: ""
2810
2811
  }));
2811
- }, u = () => {
2812
- const P = {}, g = m("email", i.email);
2813
- if (g && (P.email = g), h === "login") {
2814
- const j = m("password", i.password);
2815
- j && (P.password = j);
2812
+ }, p = () => {
2813
+ const E = {}, h = b("email", i.email);
2814
+ if (h && (E.email = h), y === "login") {
2815
+ const O = b("password", i.password);
2816
+ O && (E.password = O);
2816
2817
  }
2817
- return d(P), Object.keys(P).length === 0;
2818
- }, w = async (P) => {
2819
- if (P.preventDefault(), !!u()) {
2818
+ return u(E), Object.keys(E).length === 0;
2819
+ }, v = async (E) => {
2820
+ if (E.preventDefault(), !!p()) {
2820
2821
  k(!0);
2821
2822
  try {
2822
- switch (h) {
2823
+ switch (y) {
2823
2824
  case "login":
2824
- a && await a({
2825
+ s && await s({
2825
2826
  email: i.email,
2826
2827
  password: i.password
2827
2828
  });
2828
2829
  break;
2829
2830
  case "forgot":
2830
- s && await s(i.email);
2831
+ l && await l(i.email);
2831
2832
  break;
2832
2833
  }
2833
- } catch (g) {
2834
- console.error("Login error:", g);
2834
+ } catch (h) {
2835
+ console.error("Login error:", h);
2835
2836
  } finally {
2836
2837
  k(!1);
2837
2838
  }
2838
2839
  }
2839
- }, f = (P) => {
2840
- v(P), d({}), n({ email: i.email, password: "" });
2841
- }, D = () => {
2842
- switch (h) {
2840
+ }, f = (E) => {
2841
+ w(E), u({}), a({ email: i.email, password: "" });
2842
+ }, S = () => {
2843
+ switch (y) {
2843
2844
  case "forgot":
2844
- return /* @__PURE__ */ l(
2845
- ie,
2845
+ return /* @__PURE__ */ n(
2846
+ ce,
2846
2847
  {
2847
2848
  id: "email",
2848
2849
  type: "email",
@@ -2851,15 +2852,15 @@ const kr = ({
2851
2852
  label: "Email",
2852
2853
  value: i.email,
2853
2854
  onChange: x,
2854
- error: c.email,
2855
- disabled: b,
2855
+ error: d.email,
2856
+ disabled: g,
2856
2857
  colorScheme: "secondary"
2857
2858
  }
2858
2859
  );
2859
2860
  default:
2860
- return /* @__PURE__ */ y(Ae, { children: [
2861
- /* @__PURE__ */ l(
2862
- ie,
2861
+ return /* @__PURE__ */ m(je, { children: [
2862
+ /* @__PURE__ */ n(
2863
+ ce,
2863
2864
  {
2864
2865
  id: "email",
2865
2866
  type: "email",
@@ -2868,13 +2869,13 @@ const kr = ({
2868
2869
  label: "Email",
2869
2870
  value: i.email,
2870
2871
  onChange: x,
2871
- error: c.email,
2872
- disabled: b,
2872
+ error: d.email,
2873
+ disabled: g,
2873
2874
  colorScheme: "secondary"
2874
2875
  }
2875
2876
  ),
2876
- /* @__PURE__ */ l(
2877
- ie,
2877
+ /* @__PURE__ */ n(
2878
+ ce,
2878
2879
  {
2879
2880
  id: "password",
2880
2881
  type: "password",
@@ -2883,52 +2884,54 @@ const kr = ({
2883
2884
  label: "Contraseña",
2884
2885
  value: i.password,
2885
2886
  onChange: x,
2886
- error: c.password,
2887
- disabled: b,
2887
+ error: d.password,
2888
+ disabled: g,
2888
2889
  colorScheme: "secondary"
2889
2890
  }
2890
2891
  )
2891
2892
  ] });
2892
2893
  }
2893
- }, E = () => {
2894
- switch (h) {
2894
+ }, A = () => {
2895
+ switch (y) {
2895
2896
  case "forgot":
2896
2897
  return t ? "Cambiar Contraseña" : "Recuperar Contraseña";
2897
2898
  default:
2898
2899
  return e;
2899
2900
  }
2900
2901
  }, z = () => {
2901
- if (b)
2902
- return /* @__PURE__ */ l(kr, { size: 20, wrapperStyle: { minHeight: "auto" } });
2903
- switch (h) {
2902
+ if (g)
2903
+ return /* @__PURE__ */ n(Nr, { size: 20, wrapperStyle: { minHeight: "auto" } });
2904
+ switch (y) {
2904
2905
  case "forgot":
2905
2906
  return "Enviar Enlace";
2906
2907
  default:
2907
2908
  return "Entrar";
2908
2909
  }
2909
2910
  };
2910
- return /* @__PURE__ */ l(
2911
+ return /* @__PURE__ */ n(
2911
2912
  "div",
2912
2913
  {
2913
2914
  className: `flex justify-center items-center min-h-[90vh] p-6 bg-background sm:p-4 ${o || ""}`,
2914
- children: /* @__PURE__ */ y("div", { className: "w-full max-w-100 p-12 bg-white rounded-2xl shadow-lg animate-[fadeIn_0.3s_ease-out] sm:p-8", children: [
2915
- /* @__PURE__ */ l("h2", { className: "text-center mb-12 text-3xl font-semibold text-primary sm:text-2xl sm:mb-8", children: E() }),
2916
- /* @__PURE__ */ l("div", { className: "space-y-4 mb-6", children: D() }),
2917
- /* @__PURE__ */ l("form", { onSubmit: w, children: /* @__PURE__ */ l(
2918
- q,
2919
- {
2920
- type: "submit",
2921
- disabled: b,
2922
- loading: b,
2923
- fullWidth: !0,
2924
- variant: "primary",
2925
- size: "lg",
2926
- className: "mb-6",
2927
- children: !b && z()
2928
- }
2929
- ) }),
2930
- h === "login" && r && /* @__PURE__ */ l(
2931
- q,
2915
+ children: /* @__PURE__ */ m("div", { className: "w-full max-w-100 p-12 bg-white rounded-2xl shadow-lg animate-[fadeIn_0.3s_ease-out] sm:p-8", children: [
2916
+ /* @__PURE__ */ n("h2", { className: "text-center mb-12 text-3xl font-semibold text-primary sm:text-2xl sm:mb-8", children: A() }),
2917
+ /* @__PURE__ */ m("form", { onSubmit: v, children: [
2918
+ /* @__PURE__ */ n("div", { className: "space-y-4 mb-6", children: S() }),
2919
+ /* @__PURE__ */ n(
2920
+ ee,
2921
+ {
2922
+ type: "submit",
2923
+ disabled: g,
2924
+ loading: g,
2925
+ fullWidth: !0,
2926
+ variant: "primary",
2927
+ size: "lg",
2928
+ className: "mb-6",
2929
+ children: !g && z()
2930
+ }
2931
+ )
2932
+ ] }),
2933
+ y === "login" && r && /* @__PURE__ */ n(
2934
+ ee,
2932
2935
  {
2933
2936
  type: "button",
2934
2937
  onClick: () => f("forgot"),
@@ -2939,8 +2942,8 @@ const kr = ({
2939
2942
  children: "¿Olvidaste tu contraseña?"
2940
2943
  }
2941
2944
  ),
2942
- h === "forgot" && !t && /* @__PURE__ */ l(
2943
- q,
2945
+ y === "forgot" && !t && /* @__PURE__ */ n(
2946
+ ee,
2944
2947
  {
2945
2948
  type: "button",
2946
2949
  onClick: () => f("login"),
@@ -2955,24 +2958,24 @@ const kr = ({
2955
2958
  }
2956
2959
  );
2957
2960
  };
2958
- var Se = {
2961
+ var Ae = {
2959
2962
  color: void 0,
2960
2963
  size: void 0,
2961
2964
  className: void 0,
2962
2965
  style: void 0,
2963
2966
  attr: void 0
2964
- }, fe = B.createContext && /* @__PURE__ */ B.createContext(Se), Cr = ["attr", "size", "title"];
2965
- function Nr(e, r) {
2967
+ }, fe = G.createContext && /* @__PURE__ */ G.createContext(Ae), Cr = ["attr", "size", "title"];
2968
+ function Mr(e, r) {
2966
2969
  if (e == null) return {};
2967
- var t = Mr(e, r), o, a;
2970
+ var t = zr(e, r), o, s;
2968
2971
  if (Object.getOwnPropertySymbols) {
2969
- var s = Object.getOwnPropertySymbols(e);
2970
- for (a = 0; a < s.length; a++)
2971
- o = s[a], !(r.indexOf(o) >= 0) && Object.prototype.propertyIsEnumerable.call(e, o) && (t[o] = e[o]);
2972
+ var l = Object.getOwnPropertySymbols(e);
2973
+ for (s = 0; s < l.length; s++)
2974
+ o = l[s], !(r.indexOf(o) >= 0) && Object.prototype.propertyIsEnumerable.call(e, o) && (t[o] = e[o]);
2972
2975
  }
2973
2976
  return t;
2974
2977
  }
2975
- function Mr(e, r) {
2978
+ function zr(e, r) {
2976
2979
  if (e == null) return {};
2977
2980
  var t = {};
2978
2981
  for (var o in e)
@@ -2982,22 +2985,22 @@ function Mr(e, r) {
2982
2985
  }
2983
2986
  return t;
2984
2987
  }
2985
- function ne() {
2986
- return ne = Object.assign ? Object.assign.bind() : function(e) {
2988
+ function se() {
2989
+ return se = Object.assign ? Object.assign.bind() : function(e) {
2987
2990
  for (var r = 1; r < arguments.length; r++) {
2988
2991
  var t = arguments[r];
2989
2992
  for (var o in t)
2990
2993
  Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]);
2991
2994
  }
2992
2995
  return e;
2993
- }, ne.apply(this, arguments);
2996
+ }, se.apply(this, arguments);
2994
2997
  }
2995
- function he(e, r) {
2998
+ function ye(e, r) {
2996
2999
  var t = Object.keys(e);
2997
3000
  if (Object.getOwnPropertySymbols) {
2998
3001
  var o = Object.getOwnPropertySymbols(e);
2999
- r && (o = o.filter(function(a) {
3000
- return Object.getOwnPropertyDescriptor(e, a).enumerable;
3002
+ r && (o = o.filter(function(s) {
3003
+ return Object.getOwnPropertyDescriptor(e, s).enumerable;
3001
3004
  })), t.push.apply(t, o);
3002
3005
  }
3003
3006
  return t;
@@ -3005,18 +3008,18 @@ function he(e, r) {
3005
3008
  function ae(e) {
3006
3009
  for (var r = 1; r < arguments.length; r++) {
3007
3010
  var t = arguments[r] != null ? arguments[r] : {};
3008
- r % 2 ? he(Object(t), !0).forEach(function(o) {
3009
- zr(e, o, t[o]);
3010
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : he(Object(t)).forEach(function(o) {
3011
+ r % 2 ? ye(Object(t), !0).forEach(function(o) {
3012
+ Lr(e, o, t[o]);
3013
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ye(Object(t)).forEach(function(o) {
3011
3014
  Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(t, o));
3012
3015
  });
3013
3016
  }
3014
3017
  return e;
3015
3018
  }
3016
- function zr(e, r, t) {
3017
- return r = Lr(r), r in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;
3019
+ function Lr(e, r, t) {
3020
+ return r = Sr(r), r in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;
3018
3021
  }
3019
- function Lr(e) {
3022
+ function Sr(e) {
3020
3023
  var r = Dr(e, "string");
3021
3024
  return typeof r == "symbol" ? r : r + "";
3022
3025
  }
@@ -3031,50 +3034,50 @@ function Dr(e, r) {
3031
3034
  return (r === "string" ? String : Number)(e);
3032
3035
  }
3033
3036
  function Ee(e) {
3034
- return e && e.map((r, t) => /* @__PURE__ */ B.createElement(r.tag, ae({
3037
+ return e && e.map((r, t) => /* @__PURE__ */ G.createElement(r.tag, ae({
3035
3038
  key: t
3036
3039
  }, r.attr), Ee(r.child)));
3037
3040
  }
3038
- function J(e) {
3039
- return (r) => /* @__PURE__ */ B.createElement(Sr, ne({
3041
+ function K(e) {
3042
+ return (r) => /* @__PURE__ */ G.createElement(Ar, se({
3040
3043
  attr: ae({}, e.attr)
3041
3044
  }, r), Ee(e.child));
3042
3045
  }
3043
- function Sr(e) {
3046
+ function Ar(e) {
3044
3047
  var r = (t) => {
3045
3048
  var {
3046
3049
  attr: o,
3047
- size: a,
3048
- title: s
3049
- } = e, i = Nr(e, Cr), n = a || t.size || "1em", c;
3050
- return t.className && (c = t.className), e.className && (c = (c ? c + " " : "") + e.className), /* @__PURE__ */ B.createElement("svg", ne({
3050
+ size: s,
3051
+ title: l
3052
+ } = e, i = Mr(e, Cr), a = s || t.size || "1em", d;
3053
+ return t.className && (d = t.className), e.className && (d = (d ? d + " " : "") + e.className), /* @__PURE__ */ G.createElement("svg", se({
3051
3054
  stroke: "currentColor",
3052
3055
  fill: "currentColor",
3053
3056
  strokeWidth: "0"
3054
3057
  }, t.attr, o, i, {
3055
- className: c,
3058
+ className: d,
3056
3059
  style: ae(ae({
3057
3060
  color: e.color || t.color
3058
3061
  }, t.style), e.style),
3059
- height: n,
3060
- width: n,
3062
+ height: a,
3063
+ width: a,
3061
3064
  xmlns: "http://www.w3.org/2000/svg"
3062
- }), s && /* @__PURE__ */ B.createElement("title", null, s), e.children);
3065
+ }), l && /* @__PURE__ */ G.createElement("title", null, l), e.children);
3063
3066
  };
3064
- return fe !== void 0 ? /* @__PURE__ */ B.createElement(fe.Consumer, null, (t) => r(t)) : r(Se);
3067
+ return fe !== void 0 ? /* @__PURE__ */ G.createElement(fe.Consumer, null, (t) => r(t)) : r(Ae);
3065
3068
  }
3066
3069
  function Er(e) {
3067
- return J({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "circle", attr: { cx: "11", cy: "11", r: "8" }, child: [] }, { tag: "line", attr: { x1: "21", y1: "21", x2: "16.65", y2: "16.65" }, child: [] }] })(e);
3070
+ return K({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "circle", attr: { cx: "11", cy: "11", r: "8" }, child: [] }, { tag: "line", attr: { x1: "21", y1: "21", x2: "16.65", y2: "16.65" }, child: [] }] })(e);
3068
3071
  }
3069
3072
  const Pr = (e, r = 500) => {
3070
- const [t, o] = $(e);
3071
- return W(() => {
3072
- const a = setTimeout(() => {
3073
+ const [t, o] = _(e);
3074
+ return H(() => {
3075
+ const s = setTimeout(() => {
3073
3076
  o(e);
3074
3077
  }, r);
3075
- return () => clearTimeout(a);
3078
+ return () => clearTimeout(s);
3076
3079
  }, [e, r]), t;
3077
- }, Xr = () => ({ showToast: (r, t) => {
3080
+ }, ot = () => ({ showToast: (r, t) => {
3078
3081
  const o = {
3079
3082
  position: "bottom-right",
3080
3083
  autoClose: 2e3,
@@ -3086,25 +3089,25 @@ const Pr = (e, r = 500) => {
3086
3089
  };
3087
3090
  switch (r) {
3088
3091
  case "success":
3089
- re.success(t, o);
3092
+ te.success(t, o);
3090
3093
  break;
3091
3094
  case "error":
3092
- re.error(t, o);
3095
+ te.error(t, o);
3093
3096
  break;
3094
3097
  case "warning":
3095
- re.warning(t, o);
3098
+ te.warning(t, o);
3096
3099
  break;
3097
3100
  case "info":
3098
- re.info(t, o);
3101
+ te.info(t, o);
3099
3102
  break;
3100
3103
  default:
3101
- re(t, o);
3104
+ te(t, o);
3102
3105
  break;
3103
3106
  }
3104
3107
  } });
3105
- function Qr(e = 768) {
3106
- const [r, t] = $(() => typeof window > "u" ? !1 : window.innerWidth < e);
3107
- return W(() => {
3108
+ function nt(e = 768) {
3109
+ const [r, t] = _(() => typeof window > "u" ? !1 : window.innerWidth < e);
3110
+ return H(() => {
3108
3111
  if (typeof window > "u")
3109
3112
  return;
3110
3113
  const o = () => {
@@ -3115,256 +3118,256 @@ function Qr(e = 768) {
3115
3118
  };
3116
3119
  }, [e]), r;
3117
3120
  }
3118
- function qr({
3121
+ function st({
3119
3122
  value: e,
3120
3123
  onChange: r,
3121
3124
  placeholder: t = "Search...",
3122
3125
  disabled: o = !1,
3123
- colorScheme: a = "secondary",
3124
- label: s,
3126
+ colorScheme: s = "secondary",
3127
+ label: l,
3125
3128
  className: i = "",
3126
- debounceDelay: n = 500,
3127
- ...c
3129
+ debounceDelay: a = 500,
3130
+ ...d
3128
3131
  }) {
3129
- const [d, b] = $(e || ""), k = Pr(d, n), h = ve(r, [r]);
3130
- W(() => {
3131
- h(k);
3132
- }, [k, h]);
3133
- const v = () => {
3134
- const u = "w-full px-4 py-4 pl-10 border-2 rounded-lg text-base bg-white transition-all duration-300 focus:outline-none focus:ring-1 disabled:bg-light disabled:text-text-muted disabled:cursor-not-allowed placeholder:text-text-muted";
3135
- switch (a) {
3132
+ const [u, g] = _(e || ""), k = Pr(u, a), y = ve(r, [r]);
3133
+ H(() => {
3134
+ y(k);
3135
+ }, [k, y]);
3136
+ const w = () => {
3137
+ const p = "w-full px-4 py-2.5 pl-10 border-2 rounded-lg text-base bg-white transition-all duration-300 focus:outline-none focus:ring-1 disabled:bg-light disabled:text-text-muted disabled:cursor-not-allowed placeholder:text-text-muted";
3138
+ switch (s) {
3136
3139
  case "primary":
3137
- return p(
3138
- u,
3140
+ return c(
3141
+ p,
3139
3142
  "text-primary border-primary focus:border-primary"
3140
3143
  );
3141
3144
  case "secondary":
3142
3145
  default:
3143
- return p(
3144
- u,
3146
+ return c(
3147
+ p,
3145
3148
  "text-secondary border-secondary focus:border-secondary"
3146
3149
  );
3147
3150
  }
3148
- }, m = () => a === "primary" ? "text-primary" : "text-secondary", x = () => a === "primary" ? "text-primary" : "text-secondary";
3149
- return /* @__PURE__ */ y("div", { className: p("mb-0", i), children: [
3150
- s && /* @__PURE__ */ l(
3151
+ }, b = () => s === "primary" ? "text-primary" : "text-secondary", x = () => s === "primary" ? "text-primary" : "text-secondary";
3152
+ return /* @__PURE__ */ m("div", { className: c("mb-0", i), children: [
3153
+ l && /* @__PURE__ */ n(
3151
3154
  "label",
3152
3155
  {
3153
- className: p("block mb-2 text-sm font-medium", x()),
3154
- children: s
3156
+ className: c("block mb-2 text-sm font-medium", x()),
3157
+ children: l
3155
3158
  }
3156
3159
  ),
3157
- /* @__PURE__ */ y("div", { className: "relative w-full", children: [
3158
- /* @__PURE__ */ l(
3160
+ /* @__PURE__ */ m("div", { className: "relative w-full", children: [
3161
+ /* @__PURE__ */ n(
3159
3162
  Er,
3160
3163
  {
3161
- className: p(
3164
+ className: c(
3162
3165
  "absolute left-3 top-1/2 -translate-y-1/2 text-base pointer-events-none",
3163
- m()
3166
+ b()
3164
3167
  )
3165
3168
  }
3166
3169
  ),
3167
- /* @__PURE__ */ l(
3170
+ /* @__PURE__ */ n(
3168
3171
  "input",
3169
3172
  {
3170
3173
  type: "text",
3171
- value: d,
3172
- onChange: (u) => b(u.target.value),
3174
+ value: u,
3175
+ onChange: (p) => g(p.target.value),
3173
3176
  placeholder: t,
3174
3177
  disabled: o,
3175
- className: v(),
3176
- ...c
3178
+ className: w(),
3179
+ ...d
3177
3180
  }
3178
3181
  )
3179
3182
  ] })
3180
3183
  ] });
3181
3184
  }
3182
- function Ar(e) {
3183
- return J({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M257.5 445.1l-22.2 22.2c-9.4 9.4-24.6 9.4-33.9 0L7 273c-9.4-9.4-9.4-24.6 0-33.9L201.4 44.7c9.4-9.4 24.6-9.4 33.9 0l22.2 22.2c9.5 9.5 9.3 25-.4 34.3L136.6 216H424c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24H136.6l120.5 114.8c9.8 9.3 10 24.8.4 34.3z" }, child: [] }] })(e);
3185
+ function jr(e) {
3186
+ return K({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M257.5 445.1l-22.2 22.2c-9.4 9.4-24.6 9.4-33.9 0L7 273c-9.4-9.4-9.4-24.6 0-33.9L201.4 44.7c9.4-9.4 24.6-9.4 33.9 0l22.2 22.2c9.5 9.5 9.3 25-.4 34.3L136.6 216H424c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24H136.6l120.5 114.8c9.8 9.3 10 24.8.4 34.3z" }, child: [] }] })(e);
3184
3187
  }
3185
3188
  function Ir(e) {
3186
- return J({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z" }, child: [] }] })(e);
3189
+ return K({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z" }, child: [] }] })(e);
3187
3190
  }
3188
- function et({
3191
+ function at({
3189
3192
  labelPage: e = "Page",
3190
3193
  labelOf: r = "of",
3191
3194
  setPagination: t,
3192
3195
  totalPages: o,
3193
- currentPage: a,
3194
- showLabel: s = !0,
3196
+ currentPage: s,
3197
+ showLabel: l = !0,
3195
3198
  className: i = "",
3196
- isLoading: n = !1,
3197
- fetchPage: c
3199
+ isLoading: a = !1,
3200
+ fetchPage: d
3198
3201
  }) {
3199
- const d = parseInt(String(a)) === 1 || parseInt(String(o)) === 0 || n, b = parseInt(String(a)) === parseInt(String(o)) || parseInt(String(o)) === 0 || n, k = () => {
3200
- n || (c ? c(a - 1) : t && t((v) => ({
3201
- ...v,
3202
- page: v.page - 1
3202
+ const u = parseInt(String(s)) === 1 || parseInt(String(o)) === 0 || a, g = parseInt(String(s)) === parseInt(String(o)) || parseInt(String(o)) === 0 || a, k = () => {
3203
+ a || (d ? d(s - 1) : t && t((w) => ({
3204
+ ...w,
3205
+ page: w.page - 1
3203
3206
  })));
3204
- }, h = () => {
3205
- n || (c ? c(a + 1) : t && t((v) => ({
3206
- ...v,
3207
- page: v.page + 1
3207
+ }, y = () => {
3208
+ a || (d ? d(s + 1) : t && t((w) => ({
3209
+ ...w,
3210
+ page: w.page + 1
3208
3211
  })));
3209
3212
  };
3210
- return /* @__PURE__ */ y("div", { className: p("flex justify-center items-center mt-8", i), children: [
3211
- /* @__PURE__ */ l(
3212
- q,
3213
+ return /* @__PURE__ */ m("div", { className: c("flex justify-center items-center mt-8", i), children: [
3214
+ /* @__PURE__ */ n(
3215
+ ee,
3213
3216
  {
3214
- disabled: d,
3217
+ disabled: u,
3215
3218
  onClick: k,
3216
3219
  variant: "secondary",
3217
- children: /* @__PURE__ */ l(Ar, { size: 14 })
3220
+ children: /* @__PURE__ */ n(jr, { size: 14 })
3218
3221
  }
3219
3222
  ),
3220
- /* @__PURE__ */ l("h5", { className: "font-bold mx-2.5 text-text", children: `${s ? e : ""} ${a}${s ? ` ${r} ` : " / "}${o}` }),
3221
- /* @__PURE__ */ l(
3222
- q,
3223
+ /* @__PURE__ */ n("h5", { className: "font-bold mx-2.5 text-text", children: `${l ? e : ""} ${s}${l ? ` ${r} ` : " / "}${o}` }),
3224
+ /* @__PURE__ */ n(
3225
+ ee,
3223
3226
  {
3224
- disabled: b,
3225
- onClick: h,
3227
+ disabled: g,
3228
+ onClick: y,
3226
3229
  variant: "primary",
3227
- children: /* @__PURE__ */ l(Ir, { size: 14 })
3230
+ children: /* @__PURE__ */ n(Ir, { size: 14 })
3228
3231
  }
3229
3232
  )
3230
3233
  ] });
3231
3234
  }
3232
3235
  function Pe(e) {
3233
- return J({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { fill: "none", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "48", d: "m112 184 144 144 144-144" }, child: [] }] })(e);
3234
- }
3235
- function jr(e) {
3236
- return J({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z" }, child: [] }] })(e);
3236
+ return K({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { fill: "none", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "48", d: "m112 184 144 144 144-144" }, child: [] }] })(e);
3237
3237
  }
3238
3238
  function Or(e) {
3239
- return J({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M456.69 421.39 362.6 327.3a173.81 173.81 0 0 0 34.84-104.58C397.44 126.38 319.06 48 222.72 48S48 126.38 48 222.72s78.38 174.72 174.72 174.72A173.81 173.81 0 0 0 327.3 362.6l94.09 94.09a25 25 0 0 0 35.3-35.3zM97.92 222.72a124.8 124.8 0 1 1 124.8 124.8 124.95 124.95 0 0 1-124.8-124.8z" }, child: [] }] })(e);
3239
+ return K({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z" }, child: [] }] })(e);
3240
3240
  }
3241
- function rt({
3241
+ function Tr(e) {
3242
+ return K({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M456.69 421.39 362.6 327.3a173.81 173.81 0 0 0 34.84-104.58C397.44 126.38 319.06 48 222.72 48S48 126.38 48 222.72s78.38 174.72 174.72 174.72A173.81 173.81 0 0 0 327.3 362.6l94.09 94.09a25 25 0 0 0 35.3-35.3zM97.92 222.72a124.8 124.8 0 1 1 124.8 124.8 124.95 124.95 0 0 1-124.8-124.8z" }, child: [] }] })(e);
3243
+ }
3244
+ function lt({
3242
3245
  title: e,
3243
3246
  subtitle: r,
3244
3247
  children: t,
3245
3248
  defaultExpanded: o = !1,
3246
- expanded: a,
3247
- onToggle: s,
3249
+ expanded: s,
3250
+ onToggle: l,
3248
3251
  className: i = "",
3249
- colorScheme: n = "primary",
3250
- icon: c,
3251
- disabled: d = !1,
3252
- headerExtra: b
3252
+ colorScheme: a = "primary",
3253
+ icon: d,
3254
+ disabled: u = !1,
3255
+ headerExtra: g
3253
3256
  }) {
3254
- const [k, h] = $(o), v = a !== void 0 ? a : k, m = () => {
3255
- if (d) return;
3256
- const f = !v;
3257
- a === void 0 && h(f), s?.(f);
3258
- }, x = () => n === "primary" ? "border-primary" : "border-secondary", u = () => n === "primary" ? "text-primary" : "text-secondary", w = () => n === "primary" ? "hover:bg-primary/5" : "hover:bg-secondary/5";
3259
- return /* @__PURE__ */ y(
3257
+ const [k, y] = _(o), w = s !== void 0 ? s : k, b = () => {
3258
+ if (u) return;
3259
+ const f = !w;
3260
+ s === void 0 && y(f), l?.(f);
3261
+ }, x = () => a === "primary" ? "border-primary" : "border-secondary", p = () => a === "primary" ? "text-primary" : "text-secondary", v = () => a === "primary" ? "hover:bg-primary/5" : "hover:bg-secondary/5";
3262
+ return /* @__PURE__ */ m(
3260
3263
  "div",
3261
3264
  {
3262
- className: p(
3265
+ className: c(
3263
3266
  "w-full rounded-lg border-2 bg-background transition-all duration-300",
3264
3267
  x(),
3265
- v && "shadow-lg",
3268
+ w && "shadow-lg",
3266
3269
  i
3267
3270
  ),
3268
3271
  children: [
3269
- /* @__PURE__ */ y(
3272
+ /* @__PURE__ */ m(
3270
3273
  "button",
3271
3274
  {
3272
3275
  type: "button",
3273
- onClick: m,
3274
- disabled: d,
3275
- className: p(
3276
+ onClick: b,
3277
+ disabled: u,
3278
+ className: c(
3276
3279
  "w-full flex cursor-pointer items-center justify-between p-4 text-left transition-all duration-300 rounded-lg",
3277
- !d && w(),
3278
- d && "opacity-50"
3280
+ !u && v(),
3281
+ u && "opacity-50"
3279
3282
  ),
3280
- "aria-expanded": v,
3283
+ "aria-expanded": w,
3281
3284
  children: [
3282
- /* @__PURE__ */ y("div", { className: "flex items-center gap-3 flex-1 min-w-0", children: [
3283
- c && /* @__PURE__ */ l("div", { className: p("shrink-0", u()), children: c }),
3284
- /* @__PURE__ */ y("div", { className: "flex-1 min-w-0", children: [
3285
- /* @__PURE__ */ l(
3285
+ /* @__PURE__ */ m("div", { className: "flex items-center gap-3 flex-1 min-w-0", children: [
3286
+ d && /* @__PURE__ */ n("div", { className: c("shrink-0", p()), children: d }),
3287
+ /* @__PURE__ */ m("div", { className: "flex-1 min-w-0", children: [
3288
+ /* @__PURE__ */ n(
3286
3289
  "h3",
3287
3290
  {
3288
- className: p("text-base font-medium truncate", u()),
3291
+ className: c("text-base font-medium truncate", p()),
3289
3292
  children: e
3290
3293
  }
3291
3294
  ),
3292
- r && /* @__PURE__ */ l("p", { className: "text-sm text-text-muted truncate mt-0.5", children: r })
3295
+ r && /* @__PURE__ */ n("p", { className: "text-sm text-text-muted truncate mt-0.5", children: r })
3293
3296
  ] })
3294
3297
  ] }),
3295
- /* @__PURE__ */ y("div", { className: "flex items-center gap-3 shrink-0", children: [
3296
- b && /* @__PURE__ */ l("div", { onClick: (f) => f.stopPropagation(), children: b }),
3297
- /* @__PURE__ */ l(
3298
+ /* @__PURE__ */ m("div", { className: "flex items-center gap-3 shrink-0", children: [
3299
+ g && /* @__PURE__ */ n("div", { onClick: (f) => f.stopPropagation(), children: g }),
3300
+ /* @__PURE__ */ n(
3298
3301
  "div",
3299
3302
  {
3300
- className: p(
3303
+ className: c(
3301
3304
  "h-5 w-5 transition-transform duration-300",
3302
- u(),
3303
- v && "rotate-180"
3305
+ p(),
3306
+ w && "rotate-180"
3304
3307
  ),
3305
- children: /* @__PURE__ */ l(Pe, { className: "h-5 w-5" })
3308
+ children: /* @__PURE__ */ n(Pe, { className: "h-5 w-5" })
3306
3309
  }
3307
3310
  )
3308
3311
  ] })
3309
3312
  ]
3310
3313
  }
3311
3314
  ),
3312
- /* @__PURE__ */ l(
3315
+ /* @__PURE__ */ n(
3313
3316
  "div",
3314
3317
  {
3315
- className: p(
3318
+ className: c(
3316
3319
  "overflow-hidden transition-all duration-300 ease-in-out",
3317
- v ? "max-h-500 opacity-100" : "max-h-0 opacity-0"
3320
+ w ? "max-h-500 opacity-100" : "max-h-0 opacity-0"
3318
3321
  ),
3319
- children: /* @__PURE__ */ l("div", { className: p("p-4 pt-0 border-t-0", x()), children: /* @__PURE__ */ l("div", { className: "border-t border-border pt-4", children: t }) })
3322
+ children: /* @__PURE__ */ n("div", { className: c("p-4 pt-0 border-t-0", x()), children: /* @__PURE__ */ n("div", { className: "border-t border-border pt-4", children: t }) })
3320
3323
  }
3321
3324
  )
3322
3325
  ]
3323
3326
  }
3324
3327
  );
3325
3328
  }
3326
- function tt({ children: e, className: r = "" }) {
3327
- return /* @__PURE__ */ l("div", { className: p("py-4", r), children: e });
3329
+ function it({ children: e, className: r = "" }) {
3330
+ return /* @__PURE__ */ n("div", { className: c("py-4", r), children: e });
3328
3331
  }
3329
- function ot({
3332
+ function ct({
3330
3333
  options: e,
3331
3334
  value: r,
3332
3335
  onChange: t,
3333
3336
  children: o,
3334
- className: a = "",
3335
- colorScheme: s = "primary",
3337
+ className: s = "",
3338
+ colorScheme: l = "primary",
3336
3339
  variant: i = "underline"
3337
3340
  }) {
3338
- const [n, c] = $(
3341
+ const [a, d] = _(
3339
3342
  r ?? e[0]?.value ?? ""
3340
- ), d = r !== void 0 ? r : n, b = (m) => {
3341
- r === void 0 && c(m), t?.(m);
3342
- }, k = (m, x) => {
3343
- const u = d === m, w = "px-4 py-3 cursor-pointer text-sm font-medium transition-all duration-300 focus:outline-none disabled:opacity-50 disabled:cursor-not-allowed";
3343
+ ), u = r !== void 0 ? r : a, g = (b) => {
3344
+ r === void 0 && d(b), t?.(b);
3345
+ }, k = (b, x) => {
3346
+ const p = u === b, v = "px-4 py-3 cursor-pointer text-sm font-medium transition-all duration-300 focus:outline-none disabled:opacity-50 disabled:cursor-not-allowed";
3344
3347
  if (x)
3345
- return p(w, "text-text-muted");
3348
+ return c(v, "text-text-muted");
3346
3349
  switch (i) {
3347
3350
  case "filled":
3348
- return p(
3349
- w,
3351
+ return c(
3352
+ v,
3350
3353
  "rounded-lg",
3351
- u ? s === "primary" ? "bg-primary text-white" : "bg-secondary text-white" : "text-text-muted hover:bg-background-light"
3354
+ p ? l === "primary" ? "bg-primary text-white" : "bg-secondary text-white" : "text-text-muted hover:bg-background-light"
3352
3355
  );
3353
3356
  case "pills":
3354
- return p(
3355
- w,
3357
+ return c(
3358
+ v,
3356
3359
  "rounded-full",
3357
- u ? s === "primary" ? "bg-primary/10 text-primary border-2 border-primary" : "bg-secondary/10 text-secondary border-2 border-secondary" : "text-text-muted hover:bg-background-light border-2 border-transparent"
3360
+ p ? l === "primary" ? "bg-primary/10 text-primary border-2 border-primary" : "bg-secondary/10 text-secondary border-2 border-secondary" : "text-text-muted hover:bg-background-light border-2 border-transparent"
3358
3361
  );
3359
3362
  case "underline":
3360
3363
  default:
3361
- return p(
3362
- w,
3364
+ return c(
3365
+ v,
3363
3366
  "border-b-2 flex items-center gap-2",
3364
- u ? s === "primary" ? "border-primary text-primary" : "border-secondary text-secondary" : "border-transparent text-gray-500 hover:text-gray-700"
3367
+ p ? l === "primary" ? "border-primary text-primary" : "border-secondary text-secondary" : "border-transparent text-gray-500 hover:text-gray-700"
3365
3368
  );
3366
3369
  }
3367
- }, h = () => {
3370
+ }, y = () => {
3368
3371
  switch (i) {
3369
3372
  case "filled":
3370
3373
  return "flex gap-1 p-1 bg-background-light rounded-lg";
@@ -3374,35 +3377,35 @@ function ot({
3374
3377
  default:
3375
3378
  return "flex gap-2 border-b border-gray-200";
3376
3379
  }
3377
- }, v = B.Children.toArray(o).find((m) => B.isValidElement(m) ? m.props.value === d : !1);
3378
- return /* @__PURE__ */ y("div", { className: p("w-full", a), children: [
3379
- /* @__PURE__ */ l("div", { className: h(), role: "tablist", children: e.map((m) => /* @__PURE__ */ y(
3380
+ }, w = G.Children.toArray(o).find((b) => G.isValidElement(b) ? b.props.value === u : !1);
3381
+ return /* @__PURE__ */ m("div", { className: c("w-full", s), children: [
3382
+ /* @__PURE__ */ n("div", { className: y(), role: "tablist", children: e.map((b) => /* @__PURE__ */ m(
3380
3383
  "button",
3381
3384
  {
3382
3385
  type: "button",
3383
3386
  role: "tab",
3384
- "aria-selected": d === m.value,
3385
- "aria-controls": `tabpanel-${m.value}`,
3386
- disabled: m.disabled,
3387
- onClick: () => !m.disabled && b(m.value),
3388
- className: k(m.value, m.disabled),
3387
+ "aria-selected": u === b.value,
3388
+ "aria-controls": `tabpanel-${b.value}`,
3389
+ disabled: b.disabled,
3390
+ onClick: () => !b.disabled && g(b.value),
3391
+ className: k(b.value, b.disabled),
3389
3392
  children: [
3390
- m.icon && /* @__PURE__ */ l("span", { className: "shrink-0", children: m.icon }),
3391
- m.label
3393
+ b.icon && /* @__PURE__ */ n("span", { className: "shrink-0", children: b.icon }),
3394
+ b.label
3392
3395
  ]
3393
3396
  },
3394
- m.value
3397
+ b.value
3395
3398
  )) }),
3396
- /* @__PURE__ */ l("div", { role: "tabpanel", id: `tabpanel-${d}`, children: v })
3399
+ /* @__PURE__ */ n("div", { role: "tabpanel", id: `tabpanel-${u}`, children: w })
3397
3400
  ] });
3398
3401
  }
3399
- function ye(e) {
3400
- return J({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z" }, child: [] }] })(e);
3401
- }
3402
3402
  function xe(e) {
3403
- return J({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" }, child: [] }] })(e);
3403
+ return K({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z" }, child: [] }] })(e);
3404
+ }
3405
+ function we(e) {
3406
+ return K({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" }, child: [] }] })(e);
3404
3407
  }
3405
- const Tr = [
3408
+ const $r = [
3406
3409
  "Mon",
3407
3410
  "Tue",
3408
3411
  "Wed",
@@ -3410,7 +3413,7 @@ const Tr = [
3410
3413
  "Fri",
3411
3414
  "Sat",
3412
3415
  "Sun"
3413
- ], $r = [
3416
+ ], _r = [
3414
3417
  "Lun",
3415
3418
  "Mar",
3416
3419
  "Mié",
@@ -3445,72 +3448,72 @@ const Tr = [
3445
3448
  "Noviembre",
3446
3449
  "Diciembre"
3447
3450
  ];
3448
- function _r(e) {
3451
+ function Vr(e) {
3449
3452
  return new Date(e.getFullYear(), e.getMonth() + 1, 0).getDate();
3450
3453
  }
3451
- function Vr(e) {
3454
+ function Br(e) {
3452
3455
  const r = new Date(e.getFullYear(), e.getMonth(), 1).getDay();
3453
3456
  return r === 0 ? 6 : r - 1;
3454
3457
  }
3455
- function nt({
3458
+ function dt({
3456
3459
  value: e,
3457
3460
  onChange: r,
3458
3461
  disabled: t = !1,
3459
3462
  className: o = "",
3460
- colorScheme: a = "secondary",
3461
- lang: s = "en",
3463
+ colorScheme: s = "secondary",
3464
+ lang: l = "en",
3462
3465
  ...i
3463
3466
  }) {
3464
- const [n, c] = $(e || /* @__PURE__ */ new Date()), d = {
3467
+ const [a, d] = _(e || /* @__PURE__ */ new Date()), u = {
3465
3468
  en: "en-US",
3466
3469
  es: "es-ES"
3467
- }, b = {
3468
- en: Tr,
3469
- es: $r
3470
+ }, g = {
3471
+ en: $r,
3472
+ es: _r
3470
3473
  }, k = {
3471
3474
  en: Rr,
3472
3475
  es: Fr
3473
- }, h = _r(n), v = Vr(n), m = [];
3474
- for (let g = 0; g < v; g++)
3475
- m.push(null);
3476
- for (let g = 1; g <= h; g++) {
3477
- const j = new Date(
3478
- n.getFullYear(),
3479
- n.getMonth(),
3480
- g,
3476
+ }, y = Vr(a), w = Br(a), b = [];
3477
+ for (let h = 0; h < w; h++)
3478
+ b.push(null);
3479
+ for (let h = 1; h <= y; h++) {
3480
+ const O = new Date(
3481
+ a.getFullYear(),
3482
+ a.getMonth(),
3483
+ h,
3481
3484
  12,
3482
3485
  0,
3483
3486
  0
3484
3487
  );
3485
- m.push(j);
3488
+ b.push(O);
3486
3489
  }
3487
3490
  const x = () => {
3488
- c(
3491
+ d(
3489
3492
  new Date(
3490
- n.getFullYear(),
3491
- n.getMonth() - 1,
3493
+ a.getFullYear(),
3494
+ a.getMonth() - 1,
3492
3495
  1,
3493
3496
  12,
3494
3497
  0,
3495
3498
  0
3496
3499
  )
3497
3500
  );
3498
- }, u = () => {
3499
- c(
3501
+ }, p = () => {
3502
+ d(
3500
3503
  new Date(
3501
- n.getFullYear(),
3502
- n.getMonth() + 1,
3504
+ a.getFullYear(),
3505
+ a.getMonth() + 1,
3503
3506
  1,
3504
3507
  12,
3505
3508
  0,
3506
3509
  0
3507
3510
  )
3508
3511
  );
3509
- }, w = () => {
3510
- c(
3512
+ }, v = () => {
3513
+ d(
3511
3514
  new Date(
3512
- n.getFullYear() - 1,
3513
- n.getMonth(),
3515
+ a.getFullYear() - 1,
3516
+ a.getMonth(),
3514
3517
  1,
3515
3518
  12,
3516
3519
  0,
@@ -3518,30 +3521,30 @@ function nt({
3518
3521
  )
3519
3522
  );
3520
3523
  }, f = () => {
3521
- c(
3524
+ d(
3522
3525
  new Date(
3523
- n.getFullYear() + 1,
3524
- n.getMonth(),
3526
+ a.getFullYear() + 1,
3527
+ a.getMonth(),
3525
3528
  1,
3526
3529
  12,
3527
3530
  0,
3528
3531
  0
3529
3532
  )
3530
3533
  );
3531
- }, D = (g) => {
3532
- if (g && !t) {
3533
- const j = new Date(
3534
- g.getFullYear(),
3535
- g.getMonth(),
3536
- g.getDate(),
3534
+ }, S = (h) => {
3535
+ if (h && !t) {
3536
+ const O = new Date(
3537
+ h.getFullYear(),
3538
+ h.getMonth(),
3539
+ h.getDate(),
3537
3540
  12,
3538
3541
  0,
3539
3542
  0
3540
3543
  );
3541
- c(j), r?.(j);
3544
+ d(O), r?.(O);
3542
3545
  }
3543
3546
  }, z = (() => {
3544
- switch (a) {
3547
+ switch (s) {
3545
3548
  case "primary":
3546
3549
  return {
3547
3550
  header: "text-primary",
@@ -3558,127 +3561,127 @@ function nt({
3558
3561
  button: "text-secondary border-secondary hover:bg-secondary/20"
3559
3562
  };
3560
3563
  }
3561
- })(), P = (g) => g && e ? g.toDateString() === e.toDateString() : !1;
3562
- return /* @__PURE__ */ y(
3564
+ })(), E = (h) => h && e ? h.toDateString() === e.toDateString() : !1;
3565
+ return /* @__PURE__ */ m(
3563
3566
  "div",
3564
3567
  {
3565
- className: p(
3568
+ className: c(
3566
3569
  "w-full max-w-sm bg-background border-2 border-border rounded-lg p-6 shadow-md",
3567
3570
  o
3568
3571
  ),
3569
3572
  ...i,
3570
3573
  children: [
3571
- /* @__PURE__ */ y("div", { className: "mb-6", children: [
3572
- /* @__PURE__ */ y(
3574
+ /* @__PURE__ */ m("div", { className: "mb-6", children: [
3575
+ /* @__PURE__ */ m(
3573
3576
  "div",
3574
3577
  {
3575
- className: p(
3578
+ className: c(
3576
3579
  "flex items-center justify-between mb-4",
3577
3580
  z.header
3578
3581
  ),
3579
3582
  children: [
3580
- /* @__PURE__ */ l(
3583
+ /* @__PURE__ */ n(
3581
3584
  "button",
3582
3585
  {
3583
3586
  type: "button",
3584
- onClick: w,
3587
+ onClick: v,
3585
3588
  disabled: t,
3586
- className: p(
3589
+ className: c(
3587
3590
  "p-2 rounded-lg border transition-all duration-300",
3588
3591
  z.button,
3589
3592
  t && "opacity-50 cursor-not-allowed"
3590
3593
  ),
3591
- children: /* @__PURE__ */ l(ye, { size: 18 })
3594
+ children: /* @__PURE__ */ n(xe, { size: 18 })
3592
3595
  }
3593
3596
  ),
3594
- /* @__PURE__ */ l("h2", { className: "font-semibold text-lg", children: n.getFullYear() }),
3595
- /* @__PURE__ */ l(
3597
+ /* @__PURE__ */ n("h2", { className: "font-semibold text-lg", children: a.getFullYear() }),
3598
+ /* @__PURE__ */ n(
3596
3599
  "button",
3597
3600
  {
3598
3601
  type: "button",
3599
3602
  onClick: f,
3600
3603
  disabled: t,
3601
- className: p(
3604
+ className: c(
3602
3605
  "p-2 rounded-lg border transition-all duration-300",
3603
3606
  z.button,
3604
3607
  t && "opacity-50 cursor-not-allowed"
3605
3608
  ),
3606
- children: /* @__PURE__ */ l(xe, { size: 18 })
3609
+ children: /* @__PURE__ */ n(we, { size: 18 })
3607
3610
  }
3608
3611
  )
3609
3612
  ]
3610
3613
  }
3611
3614
  ),
3612
- /* @__PURE__ */ y("div", { className: p("flex items-center justify-between", z.header), children: [
3613
- /* @__PURE__ */ l(
3615
+ /* @__PURE__ */ m("div", { className: c("flex items-center justify-between", z.header), children: [
3616
+ /* @__PURE__ */ n(
3614
3617
  "button",
3615
3618
  {
3616
3619
  type: "button",
3617
3620
  onClick: x,
3618
3621
  disabled: t,
3619
- className: p(
3622
+ className: c(
3620
3623
  "p-2 rounded-lg border transition-all duration-300",
3621
3624
  z.button,
3622
3625
  t && "opacity-50 cursor-not-allowed"
3623
3626
  ),
3624
- children: /* @__PURE__ */ l(ye, { size: 18 })
3627
+ children: /* @__PURE__ */ n(xe, { size: 18 })
3625
3628
  }
3626
3629
  ),
3627
- /* @__PURE__ */ l("h2", { className: "font-semibold text-lg", children: k[s][n.getMonth()] }),
3628
- /* @__PURE__ */ l(
3630
+ /* @__PURE__ */ n("h2", { className: "font-semibold text-lg", children: k[l][a.getMonth()] }),
3631
+ /* @__PURE__ */ n(
3629
3632
  "button",
3630
3633
  {
3631
3634
  type: "button",
3632
- onClick: u,
3635
+ onClick: p,
3633
3636
  disabled: t,
3634
- className: p(
3637
+ className: c(
3635
3638
  "p-2 rounded-lg border transition-all duration-300",
3636
3639
  z.button,
3637
3640
  t && "opacity-50 cursor-not-allowed"
3638
3641
  ),
3639
- children: /* @__PURE__ */ l(xe, { size: 18 })
3642
+ children: /* @__PURE__ */ n(we, { size: 18 })
3640
3643
  }
3641
3644
  )
3642
3645
  ] })
3643
3646
  ] }),
3644
- /* @__PURE__ */ l("div", { className: "grid grid-cols-7 gap-2 mb-4", children: b[s].map((g) => /* @__PURE__ */ l(
3647
+ /* @__PURE__ */ n("div", { className: "grid grid-cols-7 gap-2 mb-4", children: g[l].map((h) => /* @__PURE__ */ n(
3645
3648
  "div",
3646
3649
  {
3647
- className: p(
3650
+ className: c(
3648
3651
  "text-center text-sm font-medium py-2",
3649
3652
  z.header
3650
3653
  ),
3651
- children: g
3654
+ children: h
3652
3655
  },
3653
- g
3656
+ h
3654
3657
  )) }),
3655
- /* @__PURE__ */ l("div", { className: "grid grid-cols-7 gap-2", children: m.map((g, j) => /* @__PURE__ */ l(
3658
+ /* @__PURE__ */ n("div", { className: "grid grid-cols-7 gap-2", children: b.map((h, O) => /* @__PURE__ */ n(
3656
3659
  "button",
3657
3660
  {
3658
3661
  type: "button",
3659
- onClick: () => D(g),
3660
- disabled: !g || t,
3661
- className: p(
3662
+ onClick: () => S(h),
3663
+ disabled: !h || t,
3664
+ className: c(
3662
3665
  "p-2 rounded-lg text-sm font-medium transition-all duration-300",
3663
- g ? p(
3666
+ h ? c(
3664
3667
  "cursor-pointer",
3665
3668
  z.hover,
3666
- P(g) ? z.selected : "text-text border border-transparent hover:border-border",
3669
+ E(h) ? z.selected : "text-text border border-transparent hover:border-border",
3667
3670
  t && "opacity-50 cursor-not-allowed"
3668
3671
  ) : "cursor-default"
3669
3672
  ),
3670
- children: g ? g.getDate() : ""
3673
+ children: h ? h.getDate() : ""
3671
3674
  },
3672
- j
3675
+ O
3673
3676
  )) }),
3674
- e && /* @__PURE__ */ l(
3677
+ e && /* @__PURE__ */ n(
3675
3678
  "div",
3676
3679
  {
3677
- className: p(
3680
+ className: c(
3678
3681
  "mt-6 p-3 rounded-lg bg-background-dark border border-border text-center text-sm font-medium",
3679
3682
  z.header
3680
3683
  ),
3681
- children: e.toLocaleDateString(d[s], {
3684
+ children: e.toLocaleDateString(u[l], {
3682
3685
  year: "numeric",
3683
3686
  month: "long",
3684
3687
  day: "numeric"
@@ -3689,333 +3692,333 @@ function nt({
3689
3692
  }
3690
3693
  );
3691
3694
  }
3692
- function at({
3695
+ function ut({
3693
3696
  headers: e,
3694
3697
  data: r,
3695
3698
  loading: t,
3696
3699
  loadingText: o = "Loading...",
3697
- actions: a,
3698
- actionsHeader: s = "Actions",
3700
+ actions: s,
3701
+ actionsHeader: l = "Actions",
3699
3702
  onRowClick: i,
3700
- className: n = "",
3701
- rowClassName: c = "",
3702
- cellClassName: d = "",
3703
- headerClassName: b = "",
3703
+ className: a = "",
3704
+ rowClassName: d = "",
3705
+ cellClassName: u = "",
3706
+ headerClassName: g = "",
3704
3707
  emptyText: k = "No data available",
3705
- showCount: h = !0,
3706
- countText: v = (x) => `Showing ${x} record${x !== 1 ? "s" : ""}`,
3707
- keyExtractor: m = (x, u) => x._id || x.id || u
3708
+ showCount: y = !0,
3709
+ countText: w = (x) => `Showing ${x} record${x !== 1 ? "s" : ""}`,
3710
+ keyExtractor: b = (x, p) => x._id || x.id || p
3708
3711
  }) {
3709
3712
  if (t)
3710
- return /* @__PURE__ */ l("div", { className: "flex justify-center items-center min-h-50", children: /* @__PURE__ */ l("div", { className: "text-lg text-text-light", children: o }) });
3713
+ return /* @__PURE__ */ n("div", { className: "flex justify-center items-center min-h-50", children: /* @__PURE__ */ n("div", { className: "text-lg text-text-light", children: o }) });
3711
3714
  if (r.length === 0)
3712
- return /* @__PURE__ */ l("div", { className: "flex justify-center items-center min-h-50", children: /* @__PURE__ */ l("div", { className: "text-lg text-text-muted", children: k }) });
3713
- const x = (u, w) => {
3714
- const f = w.toLowerCase().replace(/\s+/g, "_");
3715
- let D = u[f];
3716
- if (D === void 0) {
3717
- const E = [
3715
+ return /* @__PURE__ */ n("div", { className: "flex justify-center items-center min-h-50", children: /* @__PURE__ */ n("div", { className: "text-lg text-text-muted", children: k }) });
3716
+ const x = (p, v) => {
3717
+ const f = v.toLowerCase().replace(/\s+/g, "_");
3718
+ let S = p[f];
3719
+ if (S === void 0) {
3720
+ const A = [
3718
3721
  f.replace(/_/g, ""),
3719
- w.toLowerCase().replace(/\s+/g, ""),
3720
- f.replace(/_([a-z])/g, (z, P) => P.toUpperCase())
3722
+ v.toLowerCase().replace(/\s+/g, ""),
3723
+ f.replace(/_([a-z])/g, (z, E) => E.toUpperCase())
3721
3724
  ];
3722
- for (const z of E)
3723
- if (u[z] !== void 0) {
3724
- D = u[z];
3725
+ for (const z of A)
3726
+ if (p[z] !== void 0) {
3727
+ S = p[z];
3725
3728
  break;
3726
3729
  }
3727
3730
  }
3728
- if (D === void 0) {
3729
- const E = w.toLowerCase().split(" "), z = Object.keys(u).find(
3730
- (P) => E.some((g) => P.toLowerCase().includes(g))
3731
+ if (S === void 0) {
3732
+ const A = v.toLowerCase().split(" "), z = Object.keys(p).find(
3733
+ (E) => A.some((h) => E.toLowerCase().includes(h))
3731
3734
  );
3732
- z && (D = u[z]);
3735
+ z && (S = p[z]);
3733
3736
  }
3734
- return D != null ? String(D) : "N/A";
3737
+ return S != null ? String(S) : "N/A";
3735
3738
  };
3736
- return /* @__PURE__ */ y("div", { className: p("overflow-x-auto", n), children: [
3737
- /* @__PURE__ */ y("table", { className: "w-full border-collapse", children: [
3738
- /* @__PURE__ */ l("thead", { children: /* @__PURE__ */ y("tr", { className: "border-b-2 border-border", children: [
3739
- e.map((u, w) => /* @__PURE__ */ l(
3739
+ return /* @__PURE__ */ m("div", { className: c("overflow-x-auto", a), children: [
3740
+ /* @__PURE__ */ m("table", { className: "w-full border-collapse", children: [
3741
+ /* @__PURE__ */ n("thead", { children: /* @__PURE__ */ m("tr", { className: "border-b-2 border-border", children: [
3742
+ e.map((p, v) => /* @__PURE__ */ n(
3740
3743
  "th",
3741
3744
  {
3742
- className: p(
3745
+ className: c(
3743
3746
  "text-left py-3 px-4 font-semibold text-text",
3744
- b
3747
+ g
3745
3748
  ),
3746
- children: u
3749
+ children: p
3747
3750
  },
3748
- w
3751
+ v
3749
3752
  )),
3750
- a && /* @__PURE__ */ l(
3753
+ s && /* @__PURE__ */ n(
3751
3754
  "th",
3752
3755
  {
3753
- className: p(
3756
+ className: c(
3754
3757
  "text-center py-3 px-4 font-semibold text-text",
3755
- b
3758
+ g
3756
3759
  ),
3757
- children: s
3760
+ children: l
3758
3761
  }
3759
3762
  )
3760
3763
  ] }) }),
3761
- /* @__PURE__ */ l("tbody", { children: r.map((u, w) => /* @__PURE__ */ y(
3764
+ /* @__PURE__ */ n("tbody", { children: r.map((p, v) => /* @__PURE__ */ m(
3762
3765
  "tr",
3763
3766
  {
3764
- className: p(
3767
+ className: c(
3765
3768
  "border-b border-border-dark hover:bg-background-light transition-colors",
3766
3769
  i && "cursor-pointer",
3767
- c
3770
+ d
3768
3771
  ),
3769
- onClick: () => i?.(u),
3772
+ onClick: () => i?.(p),
3770
3773
  children: [
3771
- e.map((f, D) => /* @__PURE__ */ l("td", { className: p("py-4 px-4", d), children: /* @__PURE__ */ l("div", { className: "text-text-light", children: x(u, f) }) }, D)),
3772
- a && /* @__PURE__ */ l("td", { className: p("py-4 px-4", d), children: /* @__PURE__ */ l("div", { className: "flex gap-2 justify-center", children: a.map((f, D) => {
3773
- const E = (z) => {
3774
- z?.stopPropagation(), f.onClick?.(u);
3774
+ e.map((f, S) => /* @__PURE__ */ n("td", { className: c("py-4 px-4", u), children: /* @__PURE__ */ n("div", { className: "text-text-light", children: x(p, f) }) }, S)),
3775
+ s && /* @__PURE__ */ n("td", { className: c("py-4 px-4", u), children: /* @__PURE__ */ n("div", { className: "flex gap-2 justify-center", children: s.map((f, S) => {
3776
+ const A = (z) => {
3777
+ z?.stopPropagation(), f.onClick?.(p);
3775
3778
  };
3776
3779
  if (f.component) {
3777
3780
  const z = f.component;
3778
- return /* @__PURE__ */ y(
3781
+ return /* @__PURE__ */ m(
3779
3782
  z,
3780
3783
  {
3781
- onClick: E,
3784
+ onClick: A,
3782
3785
  className: f.className || "",
3783
3786
  ...f.props || {},
3784
3787
  children: [
3785
- f.icon && /* @__PURE__ */ l("span", { className: "inline-block", children: B.createElement(f.icon) }),
3788
+ f.icon && /* @__PURE__ */ n("span", { className: "inline-block", children: G.createElement(f.icon) }),
3786
3789
  f.label && f.label
3787
3790
  ]
3788
3791
  },
3789
- D
3792
+ S
3790
3793
  );
3791
3794
  }
3792
- return /* @__PURE__ */ y(
3793
- q,
3795
+ return /* @__PURE__ */ m(
3796
+ ee,
3794
3797
  {
3795
- onClick: E,
3798
+ onClick: A,
3796
3799
  className: f.className || "",
3797
3800
  ...f.props || {},
3798
3801
  children: [
3799
- f.icon && /* @__PURE__ */ l("span", { className: "inline-block", children: B.createElement(f.icon) }),
3802
+ f.icon && /* @__PURE__ */ n("span", { className: "inline-block", children: G.createElement(f.icon) }),
3800
3803
  f.label && f.label
3801
3804
  ]
3802
3805
  },
3803
- D
3806
+ S
3804
3807
  );
3805
3808
  }) }) })
3806
3809
  ]
3807
3810
  },
3808
- m(u, w)
3811
+ b(p, v)
3809
3812
  )) })
3810
3813
  ] }),
3811
- h && r.length > 0 && /* @__PURE__ */ l("div", { className: "mt-6 text-center text-text-light text-sm", children: v(r.length) })
3814
+ y && r.length > 0 && /* @__PURE__ */ n("div", { className: "mt-6 text-center text-text-light text-sm", children: w(r.length) })
3812
3815
  ] });
3813
3816
  }
3814
- function st({
3817
+ function pt({
3815
3818
  label: e,
3816
3819
  options: r,
3817
3820
  value: t = "",
3818
3821
  onChange: o,
3819
- multiple: a = !1,
3820
- className: s = "",
3822
+ multiple: s = !1,
3823
+ className: l = "",
3821
3824
  searchable: i = !1,
3822
- onSearchInputCustom: n,
3823
- placeholder: c = "Select...",
3824
- disabled: d = !1,
3825
- error: b,
3825
+ onSearchInputCustom: a,
3826
+ placeholder: d = "Select...",
3827
+ disabled: u = !1,
3828
+ error: g,
3826
3829
  required: k = !1,
3827
- colorScheme: h = "primary",
3828
- noResultsText: v = "No results found",
3829
- searchPlaceholder: m = "Search...",
3830
+ colorScheme: y = "primary",
3831
+ noResultsText: w = "No results found",
3832
+ searchPlaceholder: b = "Search...",
3830
3833
  ...x
3831
3834
  }) {
3832
- const [u, w] = $(!1), [f, D] = $(""), [E, z] = $({
3835
+ const [p, v] = _(!1), [f, S] = _(""), [A, z] = _({
3833
3836
  top: 0,
3834
3837
  left: 0,
3835
3838
  openUpward: !1
3836
- }), P = Array.isArray(t) ? t : t ? [t] : [], [g, j] = $(
3837
- P.map((C) => r.find((L) => L.value === C)).filter(Boolean)
3838
- ), R = ce(null), G = ce(null), K = () => {
3839
- const C = "w-full p-4 border-2 rounded-lg text-base bg-white transition-all duration-300 focus:outline-none focus:ring-1 disabled:bg-light disabled:text-text-muted disabled:cursor-not-allowed";
3840
- if (b)
3841
- return p(C, "border-danger focus:border-danger");
3842
- switch (h) {
3839
+ }), E = Array.isArray(t) ? t : t ? [t] : [], [h, O] = _(
3840
+ E.map((N) => r.find((L) => L.value === N)).filter(Boolean)
3841
+ ), R = de(null), W = de(null), Z = () => {
3842
+ const N = "w-full p-4 border-2 rounded-lg text-base bg-white transition-all duration-300 focus:outline-none focus:ring-1 disabled:bg-light disabled:text-text-muted disabled:cursor-not-allowed";
3843
+ if (g)
3844
+ return c(N, "border-danger focus:border-danger");
3845
+ switch (y) {
3843
3846
  case "primary":
3844
- return p(
3845
- C,
3847
+ return c(
3848
+ N,
3846
3849
  "text-primary border-primary focus:border-primary"
3847
3850
  );
3848
3851
  case "secondary":
3849
3852
  default:
3850
- return p(
3851
- C,
3853
+ return c(
3854
+ N,
3852
3855
  "text-secondary border-secondary focus:border-secondary"
3853
3856
  );
3854
3857
  }
3855
- }, S = () => h === "primary" ? "text-primary" : "text-secondary";
3856
- W(() => {
3857
- const L = (Array.isArray(t) ? t : t !== "" && t !== null && t !== void 0 ? [t] : []).map((F) => r.find((_) => _.value === F)).filter(Boolean);
3858
- j(L);
3859
- }, [t, r]), W(() => {
3860
- u && i && G.current && G.current.focus();
3861
- }, [u, i]);
3858
+ }, D = () => y === "primary" ? "text-primary" : "text-secondary";
3859
+ H(() => {
3860
+ const L = (Array.isArray(t) ? t : t !== "" && t !== null && t !== void 0 ? [t] : []).map((F) => r.find((V) => V.value === F)).filter(Boolean);
3861
+ O(L);
3862
+ }, [t, r]), H(() => {
3863
+ p && i && W.current && W.current.focus();
3864
+ }, [p, i]);
3862
3865
  const M = ve(() => {
3863
3866
  if (!R.current) return;
3864
- const C = R.current.getBoundingClientRect(), L = window.innerHeight, F = 250, X = L - C.bottom < F && C.top > F;
3867
+ const N = R.current.getBoundingClientRect(), L = window.innerHeight, F = 250, q = L - N.bottom < F && N.top > F;
3865
3868
  z({
3866
- top: X ? C.top : C.bottom,
3867
- left: C.left,
3868
- width: C.width,
3869
- openUpward: X
3869
+ top: q ? N.top : N.bottom,
3870
+ left: N.left,
3871
+ width: N.width,
3872
+ openUpward: q
3870
3873
  });
3871
3874
  }, []);
3872
- W(() => {
3873
- function C(F) {
3874
- R.current && !R.current.contains(F.target) && w(!1);
3875
+ H(() => {
3876
+ function N(F) {
3877
+ R.current && !R.current.contains(F.target) && v(!1);
3875
3878
  }
3876
3879
  function L() {
3877
- u && M();
3880
+ p && M();
3878
3881
  }
3879
- return document.addEventListener("mousedown", C), window.addEventListener("scroll", L, !0), window.addEventListener("resize", L), () => {
3880
- document.removeEventListener("mousedown", C), window.removeEventListener("scroll", L, !0), window.removeEventListener("resize", L);
3882
+ return document.addEventListener("mousedown", N), window.addEventListener("scroll", L, !0), window.addEventListener("resize", L), () => {
3883
+ document.removeEventListener("mousedown", N), window.removeEventListener("scroll", L, !0), window.removeEventListener("resize", L);
3881
3884
  };
3882
- }, [u, M]);
3883
- const A = (C) => {
3885
+ }, [p, M]);
3886
+ const P = (N) => {
3884
3887
  const L = r.find(
3885
- (_) => _.value === C
3888
+ (V) => V.value === N
3886
3889
  );
3887
3890
  if (!L) return;
3888
3891
  let F;
3889
- a ? (F = g.some((X) => X.value === C) ? g.filter((X) => X.value !== C) : [...g, L], j(F), o(F)) : (F = [L], j(F), o(L), w(!1), D(""));
3890
- }, V = (C) => {
3891
- D(C), n?.(C);
3892
- }, T = i ? r.filter(
3893
- (C) => C.label.toLowerCase().includes(f.toLowerCase())
3894
- ) : r, Z = () => g.length === 0 ? c : a ? g.length === 1 ? g[0].label : `${g.length} selected` : g[0]?.label || c;
3895
- return /* @__PURE__ */ y("div", { className: p("mb-6", s), children: [
3896
- e && /* @__PURE__ */ y(
3892
+ s ? (F = h.some((q) => q.value === N) ? h.filter((q) => q.value !== N) : [...h, L], O(F), o(F)) : (F = [L], O(F), o(L), v(!1), S(""));
3893
+ }, B = (N) => {
3894
+ S(N), a?.(N);
3895
+ }, $ = i ? r.filter(
3896
+ (N) => N.label.toLowerCase().includes(f.toLowerCase())
3897
+ ) : r, X = () => h.length === 0 ? d : s ? h.length === 1 ? h[0].label : `${h.length} selected` : h[0]?.label || d;
3898
+ return /* @__PURE__ */ m("div", { className: c("mb-6", l), children: [
3899
+ e && /* @__PURE__ */ m(
3897
3900
  "label",
3898
3901
  {
3899
- className: p("block mb-2 text-sm font-medium", S()),
3902
+ className: c("block mb-2 text-sm font-medium", D()),
3900
3903
  children: [
3901
3904
  e,
3902
- k && /* @__PURE__ */ l("span", { className: "text-danger ml-1", children: "*" })
3905
+ k && /* @__PURE__ */ n("span", { className: "text-danger ml-1", children: "*" })
3903
3906
  ]
3904
3907
  }
3905
3908
  ),
3906
- /* @__PURE__ */ y("div", { ref: R, className: "relative w-full", children: [
3907
- /* @__PURE__ */ y(
3909
+ /* @__PURE__ */ m("div", { ref: R, className: "relative w-full", children: [
3910
+ /* @__PURE__ */ m(
3908
3911
  "button",
3909
3912
  {
3910
3913
  type: "button",
3911
- onClick: (C) => {
3912
- C.preventDefault(), C.stopPropagation(), u || M(), w(!u);
3914
+ onClick: (N) => {
3915
+ N.preventDefault(), N.stopPropagation(), p || M(), v(!p);
3913
3916
  },
3914
- className: p(
3915
- K(),
3917
+ className: c(
3918
+ Z(),
3916
3919
  "inline-flex items-center justify-between cursor-pointer h-auto min-h-14",
3917
- d && "cursor-not-allowed",
3918
- u && "ring-1"
3920
+ u && "cursor-not-allowed",
3921
+ p && "ring-1"
3919
3922
  ),
3920
- disabled: d,
3923
+ disabled: u,
3921
3924
  ...x,
3922
3925
  children: [
3923
- /* @__PURE__ */ y("div", { className: "flex items-center gap-2 flex-1", children: [
3924
- g.length > 0 && g[0].hex && /* @__PURE__ */ l(
3926
+ /* @__PURE__ */ m("div", { className: "flex items-center gap-2 flex-1", children: [
3927
+ h.length > 0 && h[0].hex && /* @__PURE__ */ n(
3925
3928
  "div",
3926
3929
  {
3927
3930
  className: "h-4 w-4 rounded border border-border",
3928
- style: { backgroundColor: g[0].hex }
3931
+ style: { backgroundColor: h[0].hex }
3929
3932
  }
3930
3933
  ),
3931
- /* @__PURE__ */ l(
3934
+ /* @__PURE__ */ n(
3932
3935
  "span",
3933
3936
  {
3934
- className: g.length > 0 ? "" : "text-text-muted",
3935
- children: Z()
3937
+ className: h.length > 0 ? "" : "text-text-muted",
3938
+ children: X()
3936
3939
  }
3937
3940
  )
3938
3941
  ] }),
3939
- /* @__PURE__ */ l(
3942
+ /* @__PURE__ */ n(
3940
3943
  "div",
3941
3944
  {
3942
- className: p(
3945
+ className: c(
3943
3946
  "h-5 w-5 transition-transform duration-200",
3944
- u && "rotate-180"
3947
+ p && "rotate-180"
3945
3948
  ),
3946
- children: /* @__PURE__ */ l(Pe, { className: "h-5 w-5" })
3949
+ children: /* @__PURE__ */ n(Pe, { className: "h-5 w-5" })
3947
3950
  }
3948
3951
  )
3949
3952
  ]
3950
3953
  }
3951
3954
  ),
3952
- u && /* @__PURE__ */ y(
3955
+ p && /* @__PURE__ */ m(
3953
3956
  "div",
3954
3957
  {
3955
- className: p(
3958
+ className: c(
3956
3959
  "fixed z-9999 rounded-lg border-2 bg-white shadow-xl",
3957
- b ? "border-danger" : h === "primary" ? "border-primary" : "border-secondary"
3960
+ g ? "border-danger" : y === "primary" ? "border-primary" : "border-secondary"
3958
3961
  ),
3959
3962
  style: {
3960
- top: `${E.top + (E.openUpward ? 0 : 8)}px`,
3961
- left: `${E.left}px`,
3962
- width: `${E.width}px`,
3963
- transform: E.openUpward ? "translateY(-100%)" : "none"
3963
+ top: `${A.top + (A.openUpward ? 0 : 8)}px`,
3964
+ left: `${A.left}px`,
3965
+ width: `${A.width}px`,
3966
+ transform: A.openUpward ? "translateY(-100%)" : "none"
3964
3967
  },
3965
3968
  children: [
3966
- i && /* @__PURE__ */ l("div", { className: "border-b border-border p-3", children: /* @__PURE__ */ y("div", { className: "relative", children: [
3967
- /* @__PURE__ */ l(Or, { className: "absolute top-1/2 left-3 h-4 w-4 -translate-y-1/2 transform text-text-muted" }),
3968
- /* @__PURE__ */ l(
3969
+ i && /* @__PURE__ */ n("div", { className: "border-b border-border p-3", children: /* @__PURE__ */ m("div", { className: "relative", children: [
3970
+ /* @__PURE__ */ n(Tr, { className: "absolute top-1/2 left-3 h-4 w-4 -translate-y-1/2 transform text-text-muted" }),
3971
+ /* @__PURE__ */ n(
3969
3972
  "input",
3970
3973
  {
3971
- ref: G,
3974
+ ref: W,
3972
3975
  type: "text",
3973
3976
  value: f,
3974
- onChange: (C) => V(C.target.value),
3975
- placeholder: m,
3976
- className: p(
3977
+ onChange: (N) => B(N.target.value),
3978
+ placeholder: b,
3979
+ className: c(
3977
3980
  "w-full rounded-lg border-2 py-2 pr-10 pl-10 text-sm transition-all duration-300 focus:outline-none focus:ring-1",
3978
- h === "primary" ? "border-primary text-primary" : "border-secondary text-secondary"
3981
+ y === "primary" ? "border-primary text-primary" : "border-secondary text-secondary"
3979
3982
  )
3980
3983
  }
3981
3984
  ),
3982
- f && /* @__PURE__ */ l(
3985
+ f && /* @__PURE__ */ n(
3983
3986
  "button",
3984
3987
  {
3985
3988
  type: "button",
3986
- onClick: () => D(""),
3989
+ onClick: () => S(""),
3987
3990
  className: "absolute top-1/2 right-3 h-4 w-4 -translate-y-1/2 transform text-text-muted hover:text-text",
3988
- children: /* @__PURE__ */ l(jr, { className: "h-4 w-4" })
3991
+ children: /* @__PURE__ */ n(Or, { className: "h-4 w-4" })
3989
3992
  }
3990
3993
  )
3991
3994
  ] }) }),
3992
- /* @__PURE__ */ y("div", { className: "max-h-60 overflow-y-auto py-1", children: [
3993
- T.map((C) => /* @__PURE__ */ l(
3995
+ /* @__PURE__ */ m("div", { className: "max-h-60 overflow-y-auto py-1", children: [
3996
+ $.map((N) => /* @__PURE__ */ n(
3994
3997
  "button",
3995
3998
  {
3996
3999
  type: "button",
3997
- onClick: () => A(C.value ?? ""),
3998
- className: p(
4000
+ onClick: () => P(N.value ?? ""),
4001
+ className: c(
3999
4002
  "w-full px-4 py-3 text-left text-sm transition-colors",
4000
- g.some((L) => L.value === C.value) ? h === "primary" ? "bg-primary/10 text-primary font-medium" : "bg-secondary/10 text-secondary font-medium" : "text-text hover:bg-background-light"
4003
+ h.some((L) => L.value === N.value) ? y === "primary" ? "bg-primary/10 text-primary font-medium" : "bg-secondary/10 text-secondary font-medium" : "text-text hover:bg-background-light"
4001
4004
  ),
4002
- children: /* @__PURE__ */ y("div", { className: "flex items-center gap-3", children: [
4003
- a && /* @__PURE__ */ l(
4005
+ children: /* @__PURE__ */ m("div", { className: "flex items-center gap-3", children: [
4006
+ s && /* @__PURE__ */ n(
4004
4007
  "div",
4005
4008
  {
4006
- className: p(
4009
+ className: c(
4007
4010
  "flex h-4 w-4 items-center justify-center rounded border-2 transition-colors",
4008
- g.some((L) => L.value === C.value) ? h === "primary" ? "border-primary bg-primary" : "border-secondary bg-secondary" : "border-border"
4011
+ h.some((L) => L.value === N.value) ? y === "primary" ? "border-primary bg-primary" : "border-secondary bg-secondary" : "border-border"
4009
4012
  ),
4010
- children: g.some(
4011
- (L) => L.value === C.value
4012
- ) && /* @__PURE__ */ l(
4013
+ children: h.some(
4014
+ (L) => L.value === N.value
4015
+ ) && /* @__PURE__ */ n(
4013
4016
  "svg",
4014
4017
  {
4015
4018
  className: "h-3 w-3 text-white",
4016
4019
  fill: "currentColor",
4017
4020
  viewBox: "0 0 20 20",
4018
- children: /* @__PURE__ */ l(
4021
+ children: /* @__PURE__ */ n(
4019
4022
  "path",
4020
4023
  {
4021
4024
  fillRule: "evenodd",
@@ -4027,67 +4030,67 @@ function st({
4027
4030
  )
4028
4031
  }
4029
4032
  ),
4030
- C.hex && /* @__PURE__ */ l(
4033
+ N.hex && /* @__PURE__ */ n(
4031
4034
  "div",
4032
4035
  {
4033
4036
  className: "h-4 w-4 rounded border border-border",
4034
- style: { backgroundColor: C.hex }
4037
+ style: { backgroundColor: N.hex }
4035
4038
  }
4036
4039
  ),
4037
- /* @__PURE__ */ l("span", { children: C.label })
4040
+ /* @__PURE__ */ n("span", { children: N.label })
4038
4041
  ] })
4039
4042
  },
4040
- C.value
4043
+ N.value
4041
4044
  )),
4042
- T.length === 0 && f && r.length > 0 && /* @__PURE__ */ l("div", { className: "px-4 py-3", children: /* @__PURE__ */ l("span", { className: "text-sm text-text-muted", children: v }) })
4045
+ $.length === 0 && f && r.length > 0 && /* @__PURE__ */ n("div", { className: "px-4 py-3", children: /* @__PURE__ */ n("span", { className: "text-sm text-text-muted", children: w }) })
4043
4046
  ] })
4044
4047
  ]
4045
4048
  }
4046
4049
  )
4047
4050
  ] }),
4048
- b && /* @__PURE__ */ l("span", { className: "block mt-1 text-xs text-danger font-medium", children: b })
4051
+ g && /* @__PURE__ */ n("span", { className: "block mt-1 text-xs text-danger font-medium", children: g })
4049
4052
  ] });
4050
4053
  }
4051
- const lt = ({
4054
+ const mt = ({
4052
4055
  id: e,
4053
4056
  name: r,
4054
4057
  onFilesSelected: t,
4055
4058
  placeholder: o = "Arrastra y suelta archivos aquí o haz clic para seleccionar",
4056
- labelSelectedFiles: a = "archivo:",
4057
- label: s,
4059
+ labelSelectedFiles: s = "archivo:",
4060
+ label: l,
4058
4061
  error: i,
4059
- disabled: n = !1,
4060
- required: c = !1,
4061
- colorScheme: d = "secondary",
4062
+ disabled: a = !1,
4063
+ required: d = !1,
4064
+ colorScheme: u = "secondary",
4062
4065
  // "primary" | "secondary"
4063
- className: b = "",
4066
+ className: g = "",
4064
4067
  accept: k = "*/*",
4065
4068
  // Tipos de archivo aceptados: "image/*", "application/pdf", ".doc,.docx", etc.
4066
- multiple: h = !1,
4067
- ...v
4069
+ multiple: y = !1,
4070
+ ...w
4068
4071
  }) => {
4069
- const m = ce(null), [x, u] = $(!1), [w, f] = $([]), D = () => {
4072
+ const b = de(null), [x, p] = _(!1), [v, f] = _([]), S = () => {
4070
4073
  const M = "w-full p-4 border-2 rounded-lg text-base bg-white transition-all duration-300 focus:outline-none disabled:bg-light disabled:text-text-muted disabled:cursor-not-allowed cursor-pointer min-h-[120px]";
4071
4074
  if (i)
4072
- return p(
4075
+ return c(
4073
4076
  M,
4074
4077
  "border-danger focus:border-danger focus:ring-1 focus:ring-danger"
4075
4078
  );
4076
- switch (d) {
4079
+ switch (u) {
4077
4080
  case "primary":
4078
- return p(
4081
+ return c(
4079
4082
  M,
4080
4083
  "border-primary focus:border-primary focus:ring-1 focus:ring-primary hover:border-primary-dark"
4081
4084
  );
4082
4085
  case "secondary":
4083
4086
  default:
4084
- return p(
4087
+ return c(
4085
4088
  M,
4086
4089
  "border-secondary focus:border-secondary focus:ring-1 focus:ring-secondary hover:border-secondary-dark"
4087
4090
  );
4088
4091
  }
4089
- }, E = () => {
4090
- switch (d) {
4092
+ }, A = () => {
4093
+ switch (u) {
4091
4094
  case "primary":
4092
4095
  return "text-primary";
4093
4096
  case "secondary":
@@ -4095,87 +4098,87 @@ const lt = ({
4095
4098
  return "text-secondary";
4096
4099
  }
4097
4100
  }, z = (M) => {
4098
- M.preventDefault(), M.stopPropagation(), n || (M.type === "dragenter" || M.type === "dragover" ? u(!0) : M.type === "dragleave" && u(!1));
4099
- }, P = (M) => {
4100
- if (M.preventDefault(), M.stopPropagation(), u(!1), n) return;
4101
- const A = M.dataTransfer.files;
4102
- j(A);
4103
- }, g = (M) => {
4104
- const A = M.target.files;
4105
- A && j(A);
4106
- }, j = (M) => {
4107
- const A = Array.from(M);
4101
+ M.preventDefault(), M.stopPropagation(), a || (M.type === "dragenter" || M.type === "dragover" ? p(!0) : M.type === "dragleave" && p(!1));
4102
+ }, E = (M) => {
4103
+ if (M.preventDefault(), M.stopPropagation(), p(!1), a) return;
4104
+ const P = M.dataTransfer.files;
4105
+ O(P);
4106
+ }, h = (M) => {
4107
+ const P = M.target.files;
4108
+ P && O(P);
4109
+ }, O = (M) => {
4110
+ const P = Array.from(M);
4108
4111
  if (k !== "*/*") {
4109
- const V = A.filter((T) => R(T, k));
4110
- if (V.length === 0) {
4112
+ const B = P.filter(($) => R($, k));
4113
+ if (B.length === 0) {
4111
4114
  console.warn("No valid files selected");
4112
4115
  return;
4113
4116
  }
4114
- f(h ? V : [V[0]]), t(h ? V : [V[0]]);
4117
+ f(y ? B : [B[0]]), t(y ? B : [B[0]]);
4115
4118
  } else
4116
- f(h ? A : [A[0]]), t(h ? A : [A[0]]);
4117
- }, R = (M, A) => A.split(",").map((T) => T.trim()).some((T) => {
4118
- if (T.startsWith("."))
4119
- return M.name.toLowerCase().endsWith(T.toLowerCase());
4120
- if (T.includes("/")) {
4121
- const [Z, C] = T.split("/"), L = M.type.split("/")[0];
4122
- return C === "*" ? L === Z : M.type === T;
4119
+ f(y ? P : [P[0]]), t(y ? P : [P[0]]);
4120
+ }, R = (M, P) => P.split(",").map(($) => $.trim()).some(($) => {
4121
+ if ($.startsWith("."))
4122
+ return M.name.toLowerCase().endsWith($.toLowerCase());
4123
+ if ($.includes("/")) {
4124
+ const [X, N] = $.split("/"), L = M.type.split("/")[0];
4125
+ return N === "*" ? L === X : M.type === $;
4123
4126
  }
4124
4127
  return !1;
4125
- }), G = () => {
4126
- n || m.current?.click();
4127
- }, K = (M) => {
4128
- const A = w.filter((V, T) => T !== M);
4129
- f(A), t(A);
4130
- }, S = (M) => {
4131
- (M.key === "Enter" || M.key === " ") && (M.preventDefault(), G());
4128
+ }), W = () => {
4129
+ a || b.current?.click();
4130
+ }, Z = (M) => {
4131
+ const P = v.filter((B, $) => $ !== M);
4132
+ f(P), t(P);
4133
+ }, D = (M) => {
4134
+ (M.key === "Enter" || M.key === " ") && (M.preventDefault(), W());
4132
4135
  };
4133
- return /* @__PURE__ */ y("div", { className: `mb-6 ${b}`, children: [
4134
- s && /* @__PURE__ */ y("label", { className: `block mb-2 text-sm font-medium ${E()}`, children: [
4135
- s,
4136
- c && /* @__PURE__ */ l("span", { className: "text-danger ml-1", children: "*" })
4136
+ return /* @__PURE__ */ m("div", { className: `mb-6 ${g}`, children: [
4137
+ l && /* @__PURE__ */ m("label", { className: `block mb-2 text-sm font-medium ${A()}`, children: [
4138
+ l,
4139
+ d && /* @__PURE__ */ n("span", { className: "text-danger ml-1", children: "*" })
4137
4140
  ] }),
4138
- /* @__PURE__ */ y(
4141
+ /* @__PURE__ */ m(
4139
4142
  "div",
4140
4143
  {
4141
- className: p(
4142
- D(),
4144
+ className: c(
4145
+ S(),
4143
4146
  x && "bg-background-light border-2-dashed"
4144
4147
  ),
4145
4148
  onDragEnter: z,
4146
4149
  onDragLeave: z,
4147
4150
  onDragOver: z,
4148
- onDrop: P,
4149
- onClick: G,
4150
- onKeyDown: S,
4151
+ onDrop: E,
4152
+ onClick: W,
4153
+ onKeyDown: D,
4151
4154
  role: "button",
4152
- tabIndex: n ? -1 : 0,
4155
+ tabIndex: a ? -1 : 0,
4153
4156
  children: [
4154
- /* @__PURE__ */ l(
4157
+ /* @__PURE__ */ n(
4155
4158
  "input",
4156
4159
  {
4157
- ref: m,
4160
+ ref: b,
4158
4161
  id: e,
4159
4162
  name: r,
4160
4163
  type: "file",
4161
- onChange: g,
4162
- disabled: n,
4163
- required: c,
4164
+ onChange: h,
4165
+ disabled: a,
4166
+ required: d,
4164
4167
  accept: k,
4165
- multiple: h,
4168
+ multiple: y,
4166
4169
  className: "hidden",
4167
- ...v
4170
+ ...w
4168
4171
  }
4169
4172
  ),
4170
- /* @__PURE__ */ y("div", { className: "flex flex-col items-center justify-center py-4", children: [
4171
- /* @__PURE__ */ l(
4173
+ /* @__PURE__ */ m("div", { className: "flex flex-col items-center justify-center py-4", children: [
4174
+ /* @__PURE__ */ n(
4172
4175
  "svg",
4173
4176
  {
4174
- className: `w-8 h-8 mb-2 ${d === "primary" ? "text-primary" : "text-secondary"}`,
4177
+ className: `w-8 h-8 mb-2 ${u === "primary" ? "text-primary" : "text-secondary"}`,
4175
4178
  fill: "none",
4176
4179
  stroke: "currentColor",
4177
4180
  viewBox: "0 0 24 24",
4178
- children: /* @__PURE__ */ l(
4181
+ children: /* @__PURE__ */ n(
4179
4182
  "path",
4180
4183
  {
4181
4184
  strokeLinecap: "round",
@@ -4186,43 +4189,43 @@ const lt = ({
4186
4189
  )
4187
4190
  }
4188
4191
  ),
4189
- /* @__PURE__ */ l("p", { className: `text-sm ${E()}`, children: o })
4192
+ /* @__PURE__ */ n("p", { className: `text-sm ${A()}`, children: o })
4190
4193
  ] })
4191
4194
  ]
4192
4195
  }
4193
4196
  ),
4194
- /* @__PURE__ */ y("div", { className: "mt-4 space-y-2", children: [
4195
- /* @__PURE__ */ y("p", { className: `text-sm font-medium ${E()}`, children: [
4196
- w.length,
4197
+ /* @__PURE__ */ m("div", { className: "mt-4 space-y-2", children: [
4198
+ /* @__PURE__ */ m("p", { className: `text-sm font-medium ${A()}`, children: [
4199
+ v.length,
4197
4200
  " ",
4198
- a,
4201
+ s,
4199
4202
  "(s) seleccionado(s):"
4200
4203
  ] }),
4201
- /* @__PURE__ */ l("ul", { className: "space-y-1", children: w.map((M, A) => /* @__PURE__ */ y(
4204
+ /* @__PURE__ */ n("ul", { className: "space-y-1", children: v.map((M, P) => /* @__PURE__ */ m(
4202
4205
  "li",
4203
4206
  {
4204
4207
  className: "flex items-center justify-between p-2 bg-light rounded border border-border",
4205
4208
  children: [
4206
- /* @__PURE__ */ y("div", { className: "flex items-center gap-2 flex-1 min-w-0", children: [
4207
- /* @__PURE__ */ y(
4209
+ /* @__PURE__ */ m("div", { className: "flex items-center gap-2 flex-1 min-w-0", children: [
4210
+ /* @__PURE__ */ m(
4208
4211
  "svg",
4209
4212
  {
4210
4213
  className: "w-4 h-4 text-text-muted shrink-0",
4211
4214
  fill: "currentColor",
4212
4215
  viewBox: "0 0 20 20",
4213
4216
  children: [
4214
- /* @__PURE__ */ l("path", { d: "M8 16.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM15 16.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0z" }),
4215
- /* @__PURE__ */ l("path", { d: "M3 4a1 1 0 00-1 1v10a1 1 0 001 1h1.05a2.5 2.5 0 014.9 0H10a1 1 0 001-1V5a1 1 0 00-1-1H3zM14 7a1 1 0 00-1 1v6.05A2.5 2.5 0 0115.95 10H17a1 1 0 001-1v-3a1 1 0 00-1-1h-3z" })
4217
+ /* @__PURE__ */ n("path", { d: "M8 16.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM15 16.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0z" }),
4218
+ /* @__PURE__ */ n("path", { d: "M3 4a1 1 0 00-1 1v10a1 1 0 001 1h1.05a2.5 2.5 0 014.9 0H10a1 1 0 001-1V5a1 1 0 00-1-1H3zM14 7a1 1 0 00-1 1v6.05A2.5 2.5 0 0115.95 10H17a1 1 0 001-1v-3a1 1 0 00-1-1h-3z" })
4216
4219
  ]
4217
4220
  }
4218
4221
  ),
4219
- /* @__PURE__ */ l("span", { className: "text-sm text-text truncate", children: M.name })
4222
+ /* @__PURE__ */ n("span", { className: "text-sm text-text truncate", children: M.name })
4220
4223
  ] }),
4221
- /* @__PURE__ */ l(
4224
+ /* @__PURE__ */ n(
4222
4225
  "button",
4223
4226
  {
4224
- onClick: (V) => {
4225
- V.stopPropagation(), K(A);
4227
+ onClick: (B) => {
4228
+ B.stopPropagation(), Z(P);
4226
4229
  },
4227
4230
  className: "ml-2 text-danger hover:text-danger-dark shrink-0",
4228
4231
  type: "button",
@@ -4231,65 +4234,65 @@ const lt = ({
4231
4234
  )
4232
4235
  ]
4233
4236
  },
4234
- A
4237
+ P
4235
4238
  )) })
4236
4239
  ] }),
4237
- i && /* @__PURE__ */ l("span", { className: "block mt-1 text-xs text-danger font-medium", children: i })
4240
+ i && /* @__PURE__ */ n("span", { className: "block mt-1 text-xs text-danger font-medium", children: i })
4238
4241
  ] });
4239
- }, it = ({
4242
+ }, bt = ({
4240
4243
  text: e,
4241
4244
  className: r = "",
4242
4245
  variant: t = "default",
4243
4246
  visible: o = !0,
4244
- ...a
4247
+ ...s
4245
4248
  }) => {
4246
4249
  if (!o) return null;
4247
- const s = {
4250
+ const l = {
4248
4251
  default: "bg-gray-200 text-gray-800",
4249
4252
  primary: "bg-primary text-white",
4250
4253
  secondary: "bg-secondary text-white",
4251
4254
  secondaryDark: "bg-secondary-dark text-white",
4252
4255
  danger: "bg-danger text-white",
4253
4256
  warning: "bg-warning text-white"
4254
- }, i = "inline-flex items-center px-3 py-1 rounded-full text-xs font-bold uppercase shadow-md", n = s[t] || s.default;
4255
- return /* @__PURE__ */ l("div", { className: `${i} ${n} ${r}`, ...a, children: e });
4257
+ }, i = "inline-flex items-center px-3 py-1 rounded-full text-xs font-bold uppercase shadow-md", a = l[t] || l.default;
4258
+ return /* @__PURE__ */ n("div", { className: `${i} ${a} ${r}`, ...s, children: e });
4256
4259
  };
4257
- function ct({
4260
+ function gt({
4258
4261
  isOpen: e,
4259
4262
  onClose: r,
4260
4263
  title: t,
4261
4264
  children: o,
4262
- size: a = "md",
4263
- className: s = "",
4265
+ size: s = "md",
4266
+ className: l = "",
4264
4267
  overlayClassName: i = "",
4265
- showCloseButton: n = !0,
4266
- closeOnOverlayClick: c = !0,
4267
- closeOnEscape: d = !0
4268
+ showCloseButton: a = !0,
4269
+ closeOnOverlayClick: d = !0,
4270
+ closeOnEscape: u = !0
4268
4271
  }) {
4269
- if (W(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "unset", () => {
4272
+ if (H(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "unset", () => {
4270
4273
  document.body.style.overflow = "unset";
4271
- }), [e]), W(() => {
4272
- if (!d || !e)
4274
+ }), [e]), H(() => {
4275
+ if (!u || !e)
4273
4276
  return;
4274
- const v = (m) => {
4275
- m.key === "Escape" && r();
4277
+ const w = (b) => {
4278
+ b.key === "Escape" && r();
4276
4279
  };
4277
- return document.addEventListener("keydown", v), () => {
4278
- document.removeEventListener("keydown", v);
4280
+ return document.addEventListener("keydown", w), () => {
4281
+ document.removeEventListener("keydown", w);
4279
4282
  };
4280
- }, [e, r, d]), !e) return null;
4281
- const b = {
4283
+ }, [e, r, u]), !e) return null;
4284
+ const g = {
4282
4285
  sm: "max-w-sm",
4283
4286
  md: "max-w-md",
4284
4287
  lg: "max-w-lg",
4285
4288
  xl: "max-w-xl",
4286
4289
  "2xl": "max-w-2xl"
4287
4290
  }, k = () => {
4288
- c && r();
4289
- }, h = /* @__PURE__ */ l(
4291
+ d && r();
4292
+ }, y = /* @__PURE__ */ n(
4290
4293
  "div",
4291
4294
  {
4292
- className: p(
4295
+ className: c(
4293
4296
  "fixed inset-0 bg-black/40 flex items-center justify-center z-9999 p-4",
4294
4297
  i
4295
4298
  ),
@@ -4297,18 +4300,18 @@ function ct({
4297
4300
  role: "dialog",
4298
4301
  "aria-modal": "true",
4299
4302
  "aria-labelledby": t ? "modal-title" : void 0,
4300
- children: /* @__PURE__ */ y(
4303
+ children: /* @__PURE__ */ m(
4301
4304
  "div",
4302
4305
  {
4303
- className: p(
4306
+ className: c(
4304
4307
  "relative bg-white rounded-xl shadow-2xl max-h-[90vh] flex flex-col w-full transition-all duration-300",
4305
- b[a],
4306
- s
4308
+ g[s],
4309
+ l
4307
4310
  ),
4308
- onClick: (v) => v.stopPropagation(),
4311
+ onClick: (w) => w.stopPropagation(),
4309
4312
  children: [
4310
- (t || n) && /* @__PURE__ */ y("div", { className: "flex justify-between items-center px-6 py-5 border-b border-border rounded-t-xl shrink-0", children: [
4311
- t && /* @__PURE__ */ l(
4313
+ (t || a) && /* @__PURE__ */ m("div", { className: "flex justify-between items-center px-6 py-5 border-b border-border rounded-t-xl shrink-0", children: [
4314
+ t && /* @__PURE__ */ n(
4312
4315
  "h2",
4313
4316
  {
4314
4317
  id: "modal-title",
@@ -4316,59 +4319,59 @@ function ct({
4316
4319
  children: t
4317
4320
  }
4318
4321
  ),
4319
- n && /* @__PURE__ */ l(
4322
+ a && /* @__PURE__ */ n(
4320
4323
  "button",
4321
4324
  {
4322
4325
  className: "flex items-center justify-center w-8 h-8 text-text-muted hover:text-text hover:bg-background-light transition-colors duration-200 rounded-lg",
4323
4326
  onClick: r,
4324
4327
  "aria-label": "Cerrar modal",
4325
4328
  type: "button",
4326
- children: /* @__PURE__ */ l("span", { className: "text-2xl font-light leading-none", children: "×" })
4329
+ children: /* @__PURE__ */ n("span", { className: "text-2xl font-light leading-none", children: "×" })
4327
4330
  }
4328
4331
  )
4329
4332
  ] }),
4330
- /* @__PURE__ */ l("div", { className: "p-6 overflow-y-auto flex-1", children: o })
4333
+ /* @__PURE__ */ n("div", { className: "p-6 overflow-y-auto flex-1", children: o })
4331
4334
  ]
4332
4335
  }
4333
4336
  )
4334
4337
  }
4335
4338
  );
4336
- return $e(h, document.body);
4339
+ return _e(y, document.body);
4337
4340
  }
4338
- function dt({
4341
+ function ht({
4339
4342
  id: e,
4340
4343
  name: r,
4341
4344
  checked: t = !1,
4342
4345
  onChange: o,
4343
- disabled: a = !1,
4344
- required: s = !1,
4346
+ disabled: s = !1,
4347
+ required: l = !1,
4345
4348
  colorScheme: i = "secondary",
4346
- variant: n = "solid",
4347
- label: c,
4348
- className: d = "",
4349
- ...b
4349
+ variant: a = "solid",
4350
+ label: d,
4351
+ className: u = "",
4352
+ ...g
4350
4353
  }) {
4351
- const k = (h, v) => {
4352
- const m = "checkbox-input size-4 shrink-0 rounded transition-all duration-300 cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-opacity-50 disabled:cursor-not-allowed disabled:opacity-50";
4353
- if (h === "outline")
4354
- switch (v) {
4354
+ const k = (y, w) => {
4355
+ const b = "checkbox-input size-4 shrink-0 rounded transition-all duration-300 cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-opacity-50 disabled:cursor-not-allowed disabled:opacity-50";
4356
+ if (y === "outline")
4357
+ switch (w) {
4355
4358
  case "primary":
4356
- return `${m} checkbox-outline checkbox-primary`;
4359
+ return `${b} checkbox-outline checkbox-primary`;
4357
4360
  case "secondary":
4358
4361
  default:
4359
- return `${m} checkbox-outline checkbox-secondary`;
4362
+ return `${b} checkbox-outline checkbox-secondary`;
4360
4363
  }
4361
4364
  else
4362
- switch (v) {
4365
+ switch (w) {
4363
4366
  case "primary":
4364
- return `${m} checkbox-solid checkbox-primary`;
4367
+ return `${b} checkbox-solid checkbox-primary`;
4365
4368
  case "secondary":
4366
4369
  default:
4367
- return `${m} checkbox-solid checkbox-secondary`;
4370
+ return `${b} checkbox-solid checkbox-secondary`;
4368
4371
  }
4369
4372
  };
4370
- return c ? /* @__PURE__ */ y("div", { className: `flex items-center gap-2 ${d}`, children: [
4371
- /* @__PURE__ */ l(
4373
+ return d ? /* @__PURE__ */ m("div", { className: `flex items-center gap-2 ${u}`, children: [
4374
+ /* @__PURE__ */ n(
4372
4375
  "input",
4373
4376
  {
4374
4377
  id: e,
@@ -4376,24 +4379,24 @@ function dt({
4376
4379
  type: "checkbox",
4377
4380
  checked: t,
4378
4381
  onChange: o,
4379
- disabled: a,
4380
- required: s,
4381
- className: k(n, i),
4382
- ...b
4382
+ disabled: s,
4383
+ required: l,
4384
+ className: k(a, i),
4385
+ ...g
4383
4386
  }
4384
4387
  ),
4385
- /* @__PURE__ */ y(
4388
+ /* @__PURE__ */ m(
4386
4389
  "label",
4387
4390
  {
4388
4391
  htmlFor: e,
4389
4392
  className: "text-sm text-text cursor-pointer font-medium",
4390
4393
  children: [
4391
- c,
4392
- s && /* @__PURE__ */ l("span", { className: "text-red-500 ml-1", children: "*" })
4394
+ d,
4395
+ l && /* @__PURE__ */ n("span", { className: "text-red-500 ml-1", children: "*" })
4393
4396
  ]
4394
4397
  }
4395
4398
  )
4396
- ] }) : /* @__PURE__ */ l(
4399
+ ] }) : /* @__PURE__ */ n(
4397
4400
  "input",
4398
4401
  {
4399
4402
  id: e,
@@ -4401,49 +4404,168 @@ function dt({
4401
4404
  type: "checkbox",
4402
4405
  checked: t,
4403
4406
  onChange: o,
4404
- disabled: a,
4405
- required: s,
4406
- className: `${k(n, i)} ${d}`,
4407
+ disabled: s,
4408
+ required: l,
4409
+ className: `${k(a, i)} ${u}`,
4407
4410
  style: {
4408
4411
  accentColor: "white"
4409
4412
  },
4410
- ...b
4413
+ ...g
4411
4414
  }
4412
4415
  );
4413
4416
  }
4414
- const { Input: ut, InputArea: pt } = De;
4417
+ const Gr = {
4418
+ pulse: "cmp-skeleton-pulse",
4419
+ wave: "cmp-skeleton-wave",
4420
+ none: ""
4421
+ }, I = ({ className: e = "", animation: r = "pulse" }) => {
4422
+ const t = /(^|\s)rounded/.test(e);
4423
+ return /* @__PURE__ */ n(
4424
+ "div",
4425
+ {
4426
+ className: c(
4427
+ "bg-gray-200",
4428
+ Gr[r],
4429
+ !t && "rounded-md",
4430
+ e
4431
+ )
4432
+ }
4433
+ );
4434
+ }, ft = ({
4435
+ count: e = 6,
4436
+ className: r = "",
4437
+ animation: t = "pulse"
4438
+ }) => /* @__PURE__ */ n("div", { className: c("divide-y divide-gray-200", r), children: Array.from({ length: e }).map((o, s) => /* @__PURE__ */ m("div", { className: "flex items-center justify-between py-3", children: [
4439
+ /* @__PURE__ */ m("div", { className: "flex flex-col gap-1.5 min-w-0", children: [
4440
+ /* @__PURE__ */ n(I, { className: "h-4 w-40", animation: t }),
4441
+ /* @__PURE__ */ n(I, { className: "h-3 w-28", animation: t })
4442
+ ] }),
4443
+ /* @__PURE__ */ n(I, { className: "h-4 w-12 shrink-0 ml-3", animation: t })
4444
+ ] }, s)) }), Wr = ({ animation: e }) => /* @__PURE__ */ m("div", { className: "bg-white border border-gray-200 rounded-xl shadow-sm flex items-stretch overflow-hidden", children: [
4445
+ /* @__PURE__ */ n(
4446
+ I,
4447
+ {
4448
+ className: "shrink-0 w-36 h-[120px] rounded-none",
4449
+ animation: e
4450
+ }
4451
+ ),
4452
+ /* @__PURE__ */ m("div", { className: "flex-1 p-4 min-w-0 flex flex-col justify-center gap-2", children: [
4453
+ /* @__PURE__ */ n(I, { className: "h-5 w-1/3", animation: e }),
4454
+ /* @__PURE__ */ m("div", { className: "flex items-center gap-1.5", children: [
4455
+ /* @__PURE__ */ n(I, { className: "h-4 w-16 rounded-full", animation: e }),
4456
+ /* @__PURE__ */ n(I, { className: "h-4 w-20 rounded-full", animation: e }),
4457
+ /* @__PURE__ */ n(I, { className: "h-4 w-24 rounded-full", animation: e })
4458
+ ] }),
4459
+ /* @__PURE__ */ n(I, { className: "h-3 w-2/3", animation: e })
4460
+ ] }),
4461
+ /* @__PURE__ */ m("div", { className: "shrink-0 flex items-center gap-2 px-4 border-l border-gray-100", children: [
4462
+ /* @__PURE__ */ n(I, { className: "h-8 w-8", animation: e }),
4463
+ /* @__PURE__ */ n(I, { className: "h-8 w-8", animation: e }),
4464
+ /* @__PURE__ */ n(I, { className: "h-8 w-8", animation: e })
4465
+ ] })
4466
+ ] }), yt = ({
4467
+ count: e = 6,
4468
+ className: r = "",
4469
+ animation: t = "pulse"
4470
+ }) => /* @__PURE__ */ n("div", { className: c("flex flex-col gap-3", r), children: Array.from({ length: e }).map((o, s) => /* @__PURE__ */ n(Wr, { animation: t }, s)) }), Hr = {
4471
+ 2: "grid-cols-1 sm:grid-cols-2",
4472
+ 3: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-3",
4473
+ 4: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-4"
4474
+ }, Ur = {
4475
+ video: "aspect-video",
4476
+ square: "aspect-square",
4477
+ "4/3": "aspect-4/3",
4478
+ auto: ""
4479
+ }, Yr = ({
4480
+ aspect: e,
4481
+ animation: r
4482
+ }) => /* @__PURE__ */ m("div", { className: "bg-white border border-gray-200 rounded-xl shadow-sm overflow-hidden flex flex-col", children: [
4483
+ /* @__PURE__ */ n(
4484
+ I,
4485
+ {
4486
+ className: c("w-full rounded-none", Ur[e] || "h-40"),
4487
+ animation: r
4488
+ }
4489
+ ),
4490
+ /* @__PURE__ */ m("div", { className: "p-4 flex-1 flex flex-col", children: [
4491
+ /* @__PURE__ */ n(I, { className: "h-5 w-4/5 mb-2", animation: r }),
4492
+ /* @__PURE__ */ n(I, { className: "h-3 w-full mb-1.5", animation: r }),
4493
+ /* @__PURE__ */ n(I, { className: "h-3 w-2/3 mb-3", animation: r }),
4494
+ /* @__PURE__ */ m("div", { className: "mt-auto flex items-center justify-between", children: [
4495
+ /* @__PURE__ */ n(I, { className: "h-3 w-16", animation: r }),
4496
+ /* @__PURE__ */ n(I, { className: "h-8 w-24 rounded-lg", animation: r })
4497
+ ] })
4498
+ ] })
4499
+ ] }), xt = ({
4500
+ count: e = 6,
4501
+ columns: r = 3,
4502
+ aspect: t = "4/3",
4503
+ className: o = "",
4504
+ animation: s = "pulse"
4505
+ }) => /* @__PURE__ */ n("div", { className: c("grid gap-6", Hr[r], o), children: Array.from({ length: e }).map((l, i) => /* @__PURE__ */ n(Yr, { aspect: t, animation: s }, i)) }), wt = ({
4506
+ rows: e = 8,
4507
+ columns: r = 6,
4508
+ className: t = "",
4509
+ animation: o = "pulse"
4510
+ }) => /* @__PURE__ */ m("div", { className: c("w-full", t), children: [
4511
+ /* @__PURE__ */ n("div", { className: "flex gap-4 border-b border-gray-200 pb-3 mb-3", children: Array.from({ length: r }).map((s, l) => /* @__PURE__ */ n(I, { className: "h-4 flex-1", animation: o }, l)) }),
4512
+ Array.from({ length: e }).map((s, l) => /* @__PURE__ */ n(
4513
+ "div",
4514
+ {
4515
+ className: "flex gap-4 py-3 border-b border-gray-100 last:border-0",
4516
+ children: Array.from({ length: r }).map((i, a) => /* @__PURE__ */ n(I, { className: "h-4 flex-1", animation: o }, a))
4517
+ },
4518
+ l
4519
+ ))
4520
+ ] }), vt = ({
4521
+ count: e = 3,
4522
+ className: r = "",
4523
+ animation: t = "pulse"
4524
+ }) => /* @__PURE__ */ n("div", { className: c("space-y-4", r), children: Array.from({ length: e }).map((o, s) => /* @__PURE__ */ m("div", { children: [
4525
+ /* @__PURE__ */ m("div", { className: "flex justify-between mb-1", children: [
4526
+ /* @__PURE__ */ n(I, { className: "h-3 w-32", animation: t }),
4527
+ /* @__PURE__ */ n(I, { className: "h-3 w-10", animation: t })
4528
+ ] }),
4529
+ /* @__PURE__ */ n(I, { className: "h-2 w-full rounded-full", animation: t })
4530
+ ] }, s)) }), { Input: kt, InputArea: Nt } = De;
4415
4531
  export {
4416
- it as Badge,
4417
- q as Button,
4418
- nt as Calendar,
4419
- dt as Checkbox,
4420
- st as Dropdown,
4421
- Tr as EN_DEFAULT_DAY_NAMES,
4532
+ bt as Badge,
4533
+ ee as Button,
4534
+ dt as Calendar,
4535
+ ht as Checkbox,
4536
+ pt as Dropdown,
4537
+ $r as EN_DEFAULT_DAY_NAMES,
4422
4538
  Rr as EN_DEFAULT_MONTH_NAMES,
4423
- $r as ES_DEFAULT_DAY_NAMES,
4539
+ _r as ES_DEFAULT_DAY_NAMES,
4424
4540
  Fr as ES_DEFAULT_MONTH_NAMES,
4425
- rt as ExpandableCard,
4426
- lt as FileDropZone,
4427
- ut as Input,
4428
- pt as InputArea,
4429
- kr as Loader,
4430
- Zr as Login,
4431
- ct as Modal,
4432
- et as Pagination,
4433
- qr as SearchInput,
4434
- tt as TabPanel,
4435
- at as Table,
4436
- ot as Tabs,
4437
- Jr as ThemeProvider,
4438
- Kr as Toggle,
4439
- p as cn,
4440
- O as defaultTheme,
4441
- le as generateColorVariants,
4442
- hr as hexToHsl,
4443
- be as hslToHex,
4541
+ lt as ExpandableCard,
4542
+ mt as FileDropZone,
4543
+ kt as Input,
4544
+ Nt as InputArea,
4545
+ Nr as Loader,
4546
+ tt as Login,
4547
+ gt as Modal,
4548
+ at as Pagination,
4549
+ st as SearchInput,
4550
+ I as Skeleton,
4551
+ vt as SkeletonBars,
4552
+ yt as SkeletonCardList,
4553
+ xt as SkeletonGrid,
4554
+ ft as SkeletonList,
4555
+ wt as SkeletonTable,
4556
+ it as TabPanel,
4557
+ ut as Table,
4558
+ ct as Tabs,
4559
+ et as ThemeProvider,
4560
+ rt as Toggle,
4561
+ c as cn,
4562
+ T as defaultTheme,
4563
+ ie as generateColorVariants,
4564
+ yr as hexToHsl,
4565
+ ge as hslToHex,
4444
4566
  Pr as useDebounce,
4445
- Qr as useIsMobile,
4446
- Yr as useTheme,
4447
- Xr as useToast
4567
+ nt as useIsMobile,
4568
+ Qr as useTheme,
4569
+ ot as useToast
4448
4570
  };
4449
4571
  //# sourceMappingURL=index.js.map