commerce-toolkit 0.0.12 → 0.0.14

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 (54) hide show
  1. package/dist/components/accordion/accordion.d.ts +19 -10
  2. package/dist/components/accordion/accordion.d.ts.map +1 -1
  3. package/dist/components/accordion/index.d.ts +1 -1
  4. package/dist/components/accordion/index.d.ts.map +1 -1
  5. package/dist/components/accordion/primitives/accordion-content.d.ts +1 -1
  6. package/dist/components/accordion/primitives/accordion-content.d.ts.map +1 -1
  7. package/dist/components/accordion/primitives/accordion-item.d.ts +2 -2
  8. package/dist/components/accordion/primitives/accordion-item.d.ts.map +1 -1
  9. package/dist/components/accordion/primitives/accordion-provider.d.ts +20 -4
  10. package/dist/components/accordion/primitives/accordion-provider.d.ts.map +1 -1
  11. package/dist/components/accordion/primitives/accordion-root.d.ts +1 -1
  12. package/dist/components/accordion/primitives/accordion-root.d.ts.map +1 -1
  13. package/dist/components/accordion/primitives/accordion-trigger.d.ts +2 -2
  14. package/dist/components/accordion/primitives/accordion-trigger.d.ts.map +1 -1
  15. package/dist/components/alert/alert.d.ts +8 -8
  16. package/dist/components/alert/alert.d.ts.map +1 -1
  17. package/dist/components/alert/index.d.ts +1 -0
  18. package/dist/components/alert/index.d.ts.map +1 -1
  19. package/dist/components/alert/primitives/alert-button.d.ts +1 -1
  20. package/dist/components/alert/primitives/alert-button.d.ts.map +1 -1
  21. package/dist/components/alert/primitives/alert-close-button.d.ts.map +1 -1
  22. package/dist/components/alert/primitives/alert-description.d.ts +1 -1
  23. package/dist/components/alert/primitives/alert-description.d.ts.map +1 -1
  24. package/dist/components/alert/primitives/alert-provider.d.ts +21 -0
  25. package/dist/components/alert/primitives/alert-provider.d.ts.map +1 -0
  26. package/dist/components/alert/primitives/alert-root.d.ts +2 -4
  27. package/dist/components/alert/primitives/alert-root.d.ts.map +1 -1
  28. package/dist/components/alert/primitives/alert-title.d.ts.map +1 -1
  29. package/dist/components/banner/banner.d.ts +8 -2
  30. package/dist/components/banner/banner.d.ts.map +1 -1
  31. package/dist/components/banner/index.d.ts +1 -1
  32. package/dist/components/banner/index.d.ts.map +1 -1
  33. package/dist/components/banner/primitives/banner-provider.d.ts +8 -11
  34. package/dist/components/banner/primitives/banner-provider.d.ts.map +1 -1
  35. package/dist/components/banner/primitives/banner-root.d.ts.map +1 -1
  36. package/dist/components/blog-post-card/blog-post-card.d.ts +26 -2
  37. package/dist/components/blog-post-card/blog-post-card.d.ts.map +1 -1
  38. package/dist/components/blog-post-card/index.d.ts +2 -1
  39. package/dist/components/blog-post-card/index.d.ts.map +1 -1
  40. package/dist/components/blog-post-card/primitives/blog-post-card-author.d.ts +1 -1
  41. package/dist/components/blog-post-card/primitives/blog-post-card-author.d.ts.map +1 -1
  42. package/dist/components/blog-post-card/primitives/blog-post-card-fallback.d.ts +4 -0
  43. package/dist/components/blog-post-card/primitives/blog-post-card-fallback.d.ts.map +1 -0
  44. package/dist/components/blog-post-card/primitives/blog-post-card-link.d.ts.map +1 -1
  45. package/dist/components/blog-post-card/primitives/blog-post-card-provider.d.ts +2 -25
  46. package/dist/components/blog-post-card/primitives/blog-post-card-provider.d.ts.map +1 -1
  47. package/dist/components/blog-post-card/primitives/blog-post-card-title.d.ts.map +1 -1
  48. package/dist/index.cjs +7 -7
  49. package/dist/index.cjs.map +1 -1
  50. package/dist/index.d.ts +3 -1
  51. package/dist/index.d.ts.map +1 -1
  52. package/dist/index.js +1186 -710
  53. package/dist/index.js.map +1 -1
  54. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,44 +1,53 @@
1
- import { jsx as u, jsxs as W } from "react/jsx-runtime";
2
- import * as m from "react";
3
- import I, { useState as St, useEffect as _t, createContext as Pt, useContext as Mt, forwardRef as He, createElement as be } from "react";
1
+ import { jsx as i, jsxs as B, Fragment as Ut } from "react/jsx-runtime";
2
+ import * as f from "react";
3
+ import _, { useState as ke, useEffect as et, createContext as ee, useMemo as te, use as oe, forwardRef as tt, createElement as Ce, useCallback as Ft } from "react";
4
4
  import "react-dom";
5
- function kr({ colorScheme: e = "light", items: t, ...o }) {
6
- return /* @__PURE__ */ u(or, { colorScheme: e, children: /* @__PURE__ */ u(Qo, { ...o, children: t.map((r, n) => /* @__PURE__ */ W(Yo, { value: r.title, children: [
7
- /* @__PURE__ */ u(tr, { children: r.title }),
8
- /* @__PURE__ */ u(er, { children: r.content })
9
- ] }, n)) }) });
5
+ function Jr({ className: e, colorScheme: t = "light", items: o, ...r }) {
6
+ return /* @__PURE__ */ i(pr, { colorScheme: t, items: o, children: /* @__PURE__ */ i(mr, { className: e, ...r, children: o.map((n) => /* @__PURE__ */ i(
7
+ gr,
8
+ {
9
+ content: n.content,
10
+ title: n.title,
11
+ value: n.value,
12
+ children: /* @__PURE__ */ B(ur, { children: [
13
+ /* @__PURE__ */ i(br, {}),
14
+ /* @__PURE__ */ i(fr, {})
15
+ ] })
16
+ },
17
+ n.value
18
+ )) }) });
10
19
  }
11
- function ke(e, t = []) {
20
+ function Re(e, t = []) {
12
21
  let o = [];
13
22
  function r(a, s) {
14
- const i = m.createContext(s), l = o.length;
23
+ const l = f.createContext(s), c = o.length;
15
24
  o = [...o, s];
16
- const f = (h) => {
17
- const { scope: A, children: w, ...C } = h, y = A?.[e]?.[l] || i, k = m.useMemo(() => C, Object.values(C));
18
- return /* @__PURE__ */ u(y.Provider, { value: k, children: w });
25
+ const m = (h) => {
26
+ const { scope: N, children: k, ...A } = h, w = N?.[e]?.[c] || l, C = f.useMemo(() => A, Object.values(A));
27
+ return /* @__PURE__ */ i(w.Provider, { value: C, children: k });
19
28
  };
20
- f.displayName = a + "Provider";
21
- function p(h, A) {
22
- const w = A?.[e]?.[l] || i, C = m.useContext(w);
23
- if (C) return C;
29
+ m.displayName = a + "Provider";
30
+ function p(h, N) {
31
+ const k = N?.[e]?.[c] || l, A = f.useContext(k);
32
+ if (A) return A;
24
33
  if (s !== void 0) return s;
25
34
  throw new Error(`\`${h}\` must be used within \`${a}\``);
26
35
  }
27
- return [f, p];
36
+ return [m, p];
28
37
  }
29
38
  const n = () => {
30
- const a = o.map((s) => m.createContext(s));
31
- return function(i) {
32
- const l = i?.[e] || a;
33
- return m.useMemo(
34
- () => ({ [`__scope${e}`]: { ...i, [e]: l } }),
35
- [i, l]
39
+ const a = o.map((s) => f.createContext(s));
40
+ return function(l) {
41
+ const c = l?.[e] || a;
42
+ return f.useMemo(
43
+ () => ({ [`__scope${e}`]: { ...l, [e]: c } }),
44
+ [l, c]
36
45
  );
37
46
  };
38
47
  };
39
- return n.scopeName = e, [r, Et(n, ...t)];
48
+ return n.scopeName = e, [r, Wt(n, ...t)];
40
49
  }
41
- function Et(...e) {
50
+ function Wt(...e) {
42
51
  const t = e[0];
43
52
  if (e.length === 1) return t;
44
53
  const o = () => {
@@ -47,177 +56,177 @@ function Et(...e) {
47
56
  scopeName: n.scopeName
48
57
  }));
49
58
  return function(a) {
50
- const s = r.reduce((i, { useScope: l, scopeName: f }) => {
51
- const h = l(a)[`__scope${f}`];
52
- return { ...i, ...h };
59
+ const s = r.reduce((l, { useScope: c, scopeName: m }) => {
60
+ const h = c(a)[`__scope${m}`];
61
+ return { ...l, ...h };
53
62
  }, {});
54
- return m.useMemo(() => ({ [`__scope${t.scopeName}`]: s }), [s]);
63
+ return f.useMemo(() => ({ [`__scope${t.scopeName}`]: s }), [s]);
55
64
  };
56
65
  };
57
66
  return o.scopeName = t.scopeName, o;
58
67
  }
59
- function Ve(e, t) {
68
+ function Ke(e, t) {
60
69
  if (typeof e == "function")
61
70
  return e(t);
62
71
  e != null && (e.current = t);
63
72
  }
64
- function qe(...e) {
73
+ function ot(...e) {
65
74
  return (t) => {
66
75
  let o = !1;
67
76
  const r = e.map((n) => {
68
- const a = Ve(n, t);
77
+ const a = Ke(n, t);
69
78
  return !o && typeof a == "function" && (o = !0), a;
70
79
  });
71
80
  if (o)
72
81
  return () => {
73
82
  for (let n = 0; n < r.length; n++) {
74
83
  const a = r[n];
75
- typeof a == "function" ? a() : Ve(e[n], null);
84
+ typeof a == "function" ? a() : Ke(e[n], null);
76
85
  }
77
86
  };
78
87
  };
79
88
  }
80
- function X(...e) {
81
- return m.useCallback(qe(...e), e);
89
+ function Y(...e) {
90
+ return f.useCallback(ot(...e), e);
82
91
  }
83
92
  // @__NO_SIDE_EFFECTS__
84
- function he(e) {
85
- const t = /* @__PURE__ */ zt(e), o = m.forwardRef((r, n) => {
86
- const { children: a, ...s } = r, i = m.Children.toArray(a), l = i.find(Ot);
87
- if (l) {
88
- const f = l.props.children, p = i.map((h) => h === l ? m.Children.count(f) > 1 ? m.Children.only(null) : m.isValidElement(f) ? f.props.children : null : h);
89
- return /* @__PURE__ */ u(t, { ...s, ref: n, children: m.isValidElement(f) ? m.cloneElement(f, void 0, p) : null });
93
+ function Ae(e) {
94
+ const t = /* @__PURE__ */ Ht(e), o = f.forwardRef((r, n) => {
95
+ const { children: a, ...s } = r, l = f.Children.toArray(a), c = l.find(Kt);
96
+ if (c) {
97
+ const m = c.props.children, p = l.map((h) => h === c ? f.Children.count(m) > 1 ? f.Children.only(null) : f.isValidElement(m) ? m.props.children : null : h);
98
+ return /* @__PURE__ */ i(t, { ...s, ref: n, children: f.isValidElement(m) ? f.cloneElement(m, void 0, p) : null });
90
99
  }
91
- return /* @__PURE__ */ u(t, { ...s, ref: n, children: a });
100
+ return /* @__PURE__ */ i(t, { ...s, ref: n, children: a });
92
101
  });
93
102
  return o.displayName = `${e}.Slot`, o;
94
103
  }
95
104
  // @__NO_SIDE_EFFECTS__
96
- function zt(e) {
97
- const t = m.forwardRef((o, r) => {
105
+ function Ht(e) {
106
+ const t = f.forwardRef((o, r) => {
98
107
  const { children: n, ...a } = o;
99
- if (m.isValidElement(n)) {
100
- const s = $t(n), i = Lt(a, n.props);
101
- return n.type !== m.Fragment && (i.ref = r ? qe(r, s) : s), m.cloneElement(n, i);
108
+ if (f.isValidElement(n)) {
109
+ const s = Xt(n), l = Zt(a, n.props);
110
+ return n.type !== f.Fragment && (l.ref = r ? ot(r, s) : s), f.cloneElement(n, l);
102
111
  }
103
- return m.Children.count(n) > 1 ? m.Children.only(null) : null;
112
+ return f.Children.count(n) > 1 ? f.Children.only(null) : null;
104
113
  });
105
114
  return t.displayName = `${e}.SlotClone`, t;
106
115
  }
107
- var Tt = Symbol("radix.slottable");
108
- function Ot(e) {
109
- return m.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Tt;
116
+ var qt = Symbol("radix.slottable");
117
+ function Kt(e) {
118
+ return f.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === qt;
110
119
  }
111
- function Lt(e, t) {
120
+ function Zt(e, t) {
112
121
  const o = { ...t };
113
122
  for (const r in t) {
114
123
  const n = e[r], a = t[r];
115
- /^on[A-Z]/.test(r) ? n && a ? o[r] = (...i) => {
116
- const l = a(...i);
117
- return n(...i), l;
124
+ /^on[A-Z]/.test(r) ? n && a ? o[r] = (...l) => {
125
+ const c = a(...l);
126
+ return n(...l), c;
118
127
  } : n && (o[r] = n) : r === "style" ? o[r] = { ...n, ...a } : r === "className" && (o[r] = [n, a].filter(Boolean).join(" "));
119
128
  }
120
129
  return { ...e, ...o };
121
130
  }
122
- function $t(e) {
131
+ function Xt(e) {
123
132
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, o = t && "isReactWarning" in t && t.isReactWarning;
124
133
  return o ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, o = t && "isReactWarning" in t && t.isReactWarning, o ? e.props.ref : e.props.ref || e.ref);
125
134
  }
126
- function Gt(e) {
127
- const t = e + "CollectionProvider", [o, r] = ke(t), [n, a] = o(
135
+ function Jt(e) {
136
+ const t = e + "CollectionProvider", [o, r] = Re(t), [n, a] = o(
128
137
  t,
129
138
  { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
130
- ), s = (y) => {
131
- const { scope: k, children: R } = y, x = I.useRef(null), N = I.useRef(/* @__PURE__ */ new Map()).current;
132
- return /* @__PURE__ */ u(n, { scope: k, itemMap: N, collectionRef: x, children: R });
139
+ ), s = (w) => {
140
+ const { scope: C, children: P } = w, y = _.useRef(null), I = _.useRef(/* @__PURE__ */ new Map()).current;
141
+ return /* @__PURE__ */ i(n, { scope: C, itemMap: I, collectionRef: y, children: P });
133
142
  };
134
143
  s.displayName = t;
135
- const i = e + "CollectionSlot", l = /* @__PURE__ */ he(i), f = I.forwardRef(
136
- (y, k) => {
137
- const { scope: R, children: x } = y, N = a(i, R), _ = X(k, N.collectionRef);
138
- return /* @__PURE__ */ u(l, { ref: _, children: x });
144
+ const l = e + "CollectionSlot", c = /* @__PURE__ */ Ae(l), m = _.forwardRef(
145
+ (w, C) => {
146
+ const { scope: P, children: y } = w, I = a(l, P), S = Y(C, I.collectionRef);
147
+ return /* @__PURE__ */ i(c, { ref: S, children: y });
139
148
  }
140
149
  );
141
- f.displayName = i;
142
- const p = e + "CollectionItemSlot", h = "data-radix-collection-item", A = /* @__PURE__ */ he(p), w = I.forwardRef(
143
- (y, k) => {
144
- const { scope: R, children: x, ...N } = y, _ = I.useRef(null), T = X(k, _), E = a(p, R);
145
- return I.useEffect(() => (E.itemMap.set(_, { ref: _, ...N }), () => void E.itemMap.delete(_))), /* @__PURE__ */ u(A, { [h]: "", ref: T, children: x });
150
+ m.displayName = l;
151
+ const p = e + "CollectionItemSlot", h = "data-radix-collection-item", N = /* @__PURE__ */ Ae(p), k = _.forwardRef(
152
+ (w, C) => {
153
+ const { scope: P, children: y, ...I } = w, S = _.useRef(null), T = Y(C, S), E = a(p, P);
154
+ return _.useEffect(() => (E.itemMap.set(S, { ref: S, ...I }), () => void E.itemMap.delete(S))), /* @__PURE__ */ i(N, { [h]: "", ref: T, children: y });
146
155
  }
147
156
  );
148
- w.displayName = p;
149
- function C(y) {
150
- const k = a(e + "CollectionConsumer", y);
151
- return I.useCallback(() => {
152
- const x = k.collectionRef.current;
153
- if (!x) return [];
154
- const N = Array.from(x.querySelectorAll(`[${h}]`));
155
- return Array.from(k.itemMap.values()).sort(
156
- (E, $) => N.indexOf(E.ref.current) - N.indexOf($.ref.current)
157
+ k.displayName = p;
158
+ function A(w) {
159
+ const C = a(e + "CollectionConsumer", w);
160
+ return _.useCallback(() => {
161
+ const y = C.collectionRef.current;
162
+ if (!y) return [];
163
+ const I = Array.from(y.querySelectorAll(`[${h}]`));
164
+ return Array.from(C.itemMap.values()).sort(
165
+ (E, D) => I.indexOf(E.ref.current) - I.indexOf(D.ref.current)
157
166
  );
158
- }, [k.collectionRef, k.itemMap]);
167
+ }, [C.collectionRef, C.itemMap]);
159
168
  }
160
169
  return [
161
- { Provider: s, Slot: f, ItemSlot: w },
162
- C,
170
+ { Provider: s, Slot: m, ItemSlot: k },
171
+ A,
163
172
  r
164
173
  ];
165
174
  }
166
- function Ke(e, t, { checkForDefaultPrevented: o = !0 } = {}) {
175
+ function rt(e, t, { checkForDefaultPrevented: o = !0 } = {}) {
167
176
  return function(n) {
168
177
  if (e?.(n), o === !1 || !n.defaultPrevented)
169
178
  return t?.(n);
170
179
  };
171
180
  }
172
- var J = globalThis?.document ? m.useLayoutEffect : () => {
173
- }, Dt = m[" useInsertionEffect ".trim().toString()] || J;
174
- function Ce({
181
+ var Q = globalThis?.document ? f.useLayoutEffect : () => {
182
+ }, Yt = f[" useInsertionEffect ".trim().toString()] || Q;
183
+ function Se({
175
184
  prop: e,
176
185
  defaultProp: t,
177
186
  onChange: o = () => {
178
187
  },
179
188
  caller: r
180
189
  }) {
181
- const [n, a, s] = Vt({
190
+ const [n, a, s] = Qt({
182
191
  defaultProp: t,
183
192
  onChange: o
184
- }), i = e !== void 0, l = i ? e : n;
193
+ }), l = e !== void 0, c = l ? e : n;
185
194
  {
186
- const p = m.useRef(e !== void 0);
187
- m.useEffect(() => {
195
+ const p = f.useRef(e !== void 0);
196
+ f.useEffect(() => {
188
197
  const h = p.current;
189
- h !== i && console.warn(
190
- `${r} is changing from ${h ? "controlled" : "uncontrolled"} to ${i ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
191
- ), p.current = i;
192
- }, [i, r]);
198
+ h !== l && console.warn(
199
+ `${r} is changing from ${h ? "controlled" : "uncontrolled"} to ${l ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
200
+ ), p.current = l;
201
+ }, [l, r]);
193
202
  }
194
- const f = m.useCallback(
203
+ const m = f.useCallback(
195
204
  (p) => {
196
- if (i) {
197
- const h = jt(p) ? p(e) : p;
205
+ if (l) {
206
+ const h = eo(p) ? p(e) : p;
198
207
  h !== e && s.current?.(h);
199
208
  } else
200
209
  a(p);
201
210
  },
202
- [i, e, a, s]
211
+ [l, e, a, s]
203
212
  );
204
- return [l, f];
213
+ return [c, m];
205
214
  }
206
- function Vt({
215
+ function Qt({
207
216
  defaultProp: e,
208
217
  onChange: t
209
218
  }) {
210
- const [o, r] = m.useState(e), n = m.useRef(o), a = m.useRef(t);
211
- return Dt(() => {
219
+ const [o, r] = f.useState(e), n = f.useRef(o), a = f.useRef(t);
220
+ return Yt(() => {
212
221
  a.current = t;
213
- }, [t]), m.useEffect(() => {
222
+ }, [t]), f.useEffect(() => {
214
223
  n.current !== o && (a.current?.(o), n.current = o);
215
224
  }, [o, n]), [o, r, a];
216
225
  }
217
- function jt(e) {
226
+ function eo(e) {
218
227
  return typeof e == "function";
219
228
  }
220
- var Ut = [
229
+ var to = [
221
230
  "a",
222
231
  "button",
223
232
  "div",
@@ -235,23 +244,23 @@ var Ut = [
235
244
  "span",
236
245
  "svg",
237
246
  "ul"
238
- ], Y = Ut.reduce((e, t) => {
239
- const o = /* @__PURE__ */ he(`Primitive.${t}`), r = m.forwardRef((n, a) => {
240
- const { asChild: s, ...i } = n, l = s ? o : t;
241
- return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u(l, { ...i, ref: a });
247
+ ], re = to.reduce((e, t) => {
248
+ const o = /* @__PURE__ */ Ae(`Primitive.${t}`), r = f.forwardRef((n, a) => {
249
+ const { asChild: s, ...l } = n, c = s ? o : t;
250
+ return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ i(c, { ...l, ref: a });
242
251
  });
243
252
  return r.displayName = `Primitive.${t}`, { ...e, [t]: r };
244
253
  }, {});
245
- function Ft(e, t) {
246
- return m.useReducer((o, r) => t[o][r] ?? o, e);
254
+ function oo(e, t) {
255
+ return f.useReducer((o, r) => t[o][r] ?? o, e);
247
256
  }
248
- var Ze = (e) => {
249
- const { present: t, children: o } = e, r = Wt(t), n = typeof o == "function" ? o({ present: r.isPresent }) : m.Children.only(o), a = X(r.ref, Bt(n));
250
- return typeof o == "function" || r.isPresent ? m.cloneElement(n, { ref: a }) : null;
257
+ var nt = (e) => {
258
+ const { present: t, children: o } = e, r = ro(t), n = typeof o == "function" ? o({ present: r.isPresent }) : f.Children.only(o), a = Y(r.ref, no(n));
259
+ return typeof o == "function" || r.isPresent ? f.cloneElement(n, { ref: a }) : null;
251
260
  };
252
- Ze.displayName = "Presence";
253
- function Wt(e) {
254
- const [t, o] = m.useState(), r = m.useRef(null), n = m.useRef(e), a = m.useRef("none"), s = e ? "mounted" : "unmounted", [i, l] = Ft(s, {
261
+ nt.displayName = "Presence";
262
+ function ro(e) {
263
+ const [t, o] = f.useState(), r = f.useRef(null), n = f.useRef(e), a = f.useRef("none"), s = e ? "mounted" : "unmounted", [l, c] = oo(s, {
255
264
  mounted: {
256
265
  UNMOUNT: "unmounted",
257
266
  ANIMATION_OUT: "unmountSuspended"
@@ -264,57 +273,57 @@ function Wt(e) {
264
273
  MOUNT: "mounted"
265
274
  }
266
275
  });
267
- return m.useEffect(() => {
268
- const f = ne(r.current);
269
- a.current = i === "mounted" ? f : "none";
270
- }, [i]), J(() => {
271
- const f = r.current, p = n.current;
276
+ return f.useEffect(() => {
277
+ const m = de(r.current);
278
+ a.current = l === "mounted" ? m : "none";
279
+ }, [l]), Q(() => {
280
+ const m = r.current, p = n.current;
272
281
  if (p !== e) {
273
- const A = a.current, w = ne(f);
274
- e ? l("MOUNT") : w === "none" || f?.display === "none" ? l("UNMOUNT") : l(p && A !== w ? "ANIMATION_OUT" : "UNMOUNT"), n.current = e;
282
+ const N = a.current, k = de(m);
283
+ e ? c("MOUNT") : k === "none" || m?.display === "none" ? c("UNMOUNT") : c(p && N !== k ? "ANIMATION_OUT" : "UNMOUNT"), n.current = e;
275
284
  }
276
- }, [e, l]), J(() => {
285
+ }, [e, c]), Q(() => {
277
286
  if (t) {
278
- let f;
279
- const p = t.ownerDocument.defaultView ?? window, h = (w) => {
280
- const y = ne(r.current).includes(CSS.escape(w.animationName));
281
- if (w.target === t && y && (l("ANIMATION_END"), !n.current)) {
282
- const k = t.style.animationFillMode;
283
- t.style.animationFillMode = "forwards", f = p.setTimeout(() => {
284
- t.style.animationFillMode === "forwards" && (t.style.animationFillMode = k);
287
+ let m;
288
+ const p = t.ownerDocument.defaultView ?? window, h = (k) => {
289
+ const w = de(r.current).includes(CSS.escape(k.animationName));
290
+ if (k.target === t && w && (c("ANIMATION_END"), !n.current)) {
291
+ const C = t.style.animationFillMode;
292
+ t.style.animationFillMode = "forwards", m = p.setTimeout(() => {
293
+ t.style.animationFillMode === "forwards" && (t.style.animationFillMode = C);
285
294
  });
286
295
  }
287
- }, A = (w) => {
288
- w.target === t && (a.current = ne(r.current));
296
+ }, N = (k) => {
297
+ k.target === t && (a.current = de(r.current));
289
298
  };
290
- return t.addEventListener("animationstart", A), t.addEventListener("animationcancel", h), t.addEventListener("animationend", h), () => {
291
- p.clearTimeout(f), t.removeEventListener("animationstart", A), t.removeEventListener("animationcancel", h), t.removeEventListener("animationend", h);
299
+ return t.addEventListener("animationstart", N), t.addEventListener("animationcancel", h), t.addEventListener("animationend", h), () => {
300
+ p.clearTimeout(m), t.removeEventListener("animationstart", N), t.removeEventListener("animationcancel", h), t.removeEventListener("animationend", h);
292
301
  };
293
302
  } else
294
- l("ANIMATION_END");
295
- }, [t, l]), {
296
- isPresent: ["mounted", "unmountSuspended"].includes(i),
297
- ref: m.useCallback((f) => {
298
- r.current = f ? getComputedStyle(f) : null, o(f);
303
+ c("ANIMATION_END");
304
+ }, [t, c]), {
305
+ isPresent: ["mounted", "unmountSuspended"].includes(l),
306
+ ref: f.useCallback((m) => {
307
+ r.current = m ? getComputedStyle(m) : null, o(m);
299
308
  }, [])
300
309
  };
301
310
  }
302
- function ne(e) {
311
+ function de(e) {
303
312
  return e?.animationName || "none";
304
313
  }
305
- function Bt(e) {
314
+ function no(e) {
306
315
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, o = t && "isReactWarning" in t && t.isReactWarning;
307
316
  return o ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, o = t && "isReactWarning" in t && t.isReactWarning, o ? e.props.ref : e.props.ref || e.ref);
308
317
  }
309
- var Ht = m[" useId ".trim().toString()] || (() => {
310
- }), qt = 0;
311
- function Xe(e) {
312
- const [t, o] = m.useState(Ht());
313
- return J(() => {
314
- o((r) => r ?? String(qt++));
318
+ var ao = f[" useId ".trim().toString()] || (() => {
319
+ }), so = 0;
320
+ function at(e) {
321
+ const [t, o] = f.useState(ao());
322
+ return Q(() => {
323
+ o((r) => r ?? String(so++));
315
324
  }, [e]), t ? `radix-${t}` : "";
316
325
  }
317
- var le = "Collapsible", [Kt, Je] = ke(le), [Zt, Ae] = Kt(le), Ye = m.forwardRef(
326
+ var pe = "Collapsible", [io, st] = Re(pe), [lo, Me] = io(pe), it = f.forwardRef(
318
327
  (e, t) => {
319
328
  const {
320
329
  __scopeCollapsible: o,
@@ -322,27 +331,27 @@ var le = "Collapsible", [Kt, Je] = ke(le), [Zt, Ae] = Kt(le), Ye = m.forwardRef(
322
331
  defaultOpen: n,
323
332
  disabled: a,
324
333
  onOpenChange: s,
325
- ...i
326
- } = e, [l, f] = Ce({
334
+ ...l
335
+ } = e, [c, m] = Se({
327
336
  prop: r,
328
337
  defaultProp: n ?? !1,
329
338
  onChange: s,
330
- caller: le
339
+ caller: pe
331
340
  });
332
- return /* @__PURE__ */ u(
333
- Zt,
341
+ return /* @__PURE__ */ i(
342
+ lo,
334
343
  {
335
344
  scope: o,
336
345
  disabled: a,
337
- contentId: Xe(),
338
- open: l,
339
- onOpenToggle: m.useCallback(() => f((p) => !p), [f]),
340
- children: /* @__PURE__ */ u(
341
- Y.div,
346
+ contentId: at(),
347
+ open: c,
348
+ onOpenToggle: f.useCallback(() => m((p) => !p), [m]),
349
+ children: /* @__PURE__ */ i(
350
+ re.div,
342
351
  {
343
- "data-state": Ne(l),
352
+ "data-state": ze(c),
344
353
  "data-disabled": a ? "" : void 0,
345
- ...i,
354
+ ...l,
346
355
  ref: t
347
356
  }
348
357
  )
@@ -350,89 +359,89 @@ var le = "Collapsible", [Kt, Je] = ke(le), [Zt, Ae] = Kt(le), Ye = m.forwardRef(
350
359
  );
351
360
  }
352
361
  );
353
- Ye.displayName = le;
354
- var Qe = "CollapsibleTrigger", et = m.forwardRef(
362
+ it.displayName = pe;
363
+ var lt = "CollapsibleTrigger", ct = f.forwardRef(
355
364
  (e, t) => {
356
- const { __scopeCollapsible: o, ...r } = e, n = Ae(Qe, o);
357
- return /* @__PURE__ */ u(
358
- Y.button,
365
+ const { __scopeCollapsible: o, ...r } = e, n = Me(lt, o);
366
+ return /* @__PURE__ */ i(
367
+ re.button,
359
368
  {
360
369
  type: "button",
361
370
  "aria-controls": n.contentId,
362
371
  "aria-expanded": n.open || !1,
363
- "data-state": Ne(n.open),
372
+ "data-state": ze(n.open),
364
373
  "data-disabled": n.disabled ? "" : void 0,
365
374
  disabled: n.disabled,
366
375
  ...r,
367
376
  ref: t,
368
- onClick: Ke(e.onClick, n.onOpenToggle)
377
+ onClick: rt(e.onClick, n.onOpenToggle)
369
378
  }
370
379
  );
371
380
  }
372
381
  );
373
- et.displayName = Qe;
374
- var Re = "CollapsibleContent", tt = m.forwardRef(
382
+ ct.displayName = lt;
383
+ var Ee = "CollapsibleContent", dt = f.forwardRef(
375
384
  (e, t) => {
376
- const { forceMount: o, ...r } = e, n = Ae(Re, e.__scopeCollapsible);
377
- return /* @__PURE__ */ u(Ze, { present: o || n.open, children: ({ present: a }) => /* @__PURE__ */ u(Xt, { ...r, ref: t, present: a }) });
385
+ const { forceMount: o, ...r } = e, n = Me(Ee, e.__scopeCollapsible);
386
+ return /* @__PURE__ */ i(nt, { present: o || n.open, children: ({ present: a }) => /* @__PURE__ */ i(co, { ...r, ref: t, present: a }) });
378
387
  }
379
388
  );
380
- tt.displayName = Re;
381
- var Xt = m.forwardRef((e, t) => {
382
- const { __scopeCollapsible: o, present: r, children: n, ...a } = e, s = Ae(Re, o), [i, l] = m.useState(r), f = m.useRef(null), p = X(t, f), h = m.useRef(0), A = h.current, w = m.useRef(0), C = w.current, y = s.open || i, k = m.useRef(y), R = m.useRef(void 0);
383
- return m.useEffect(() => {
384
- const x = requestAnimationFrame(() => k.current = !1);
385
- return () => cancelAnimationFrame(x);
386
- }, []), J(() => {
387
- const x = f.current;
388
- if (x) {
389
- R.current = R.current || {
390
- transitionDuration: x.style.transitionDuration,
391
- animationName: x.style.animationName
392
- }, x.style.transitionDuration = "0s", x.style.animationName = "none";
393
- const N = x.getBoundingClientRect();
394
- h.current = N.height, w.current = N.width, k.current || (x.style.transitionDuration = R.current.transitionDuration, x.style.animationName = R.current.animationName), l(r);
389
+ dt.displayName = Ee;
390
+ var co = f.forwardRef((e, t) => {
391
+ const { __scopeCollapsible: o, present: r, children: n, ...a } = e, s = Me(Ee, o), [l, c] = f.useState(r), m = f.useRef(null), p = Y(t, m), h = f.useRef(0), N = h.current, k = f.useRef(0), A = k.current, w = s.open || l, C = f.useRef(w), P = f.useRef(void 0);
392
+ return f.useEffect(() => {
393
+ const y = requestAnimationFrame(() => C.current = !1);
394
+ return () => cancelAnimationFrame(y);
395
+ }, []), Q(() => {
396
+ const y = m.current;
397
+ if (y) {
398
+ P.current = P.current || {
399
+ transitionDuration: y.style.transitionDuration,
400
+ animationName: y.style.animationName
401
+ }, y.style.transitionDuration = "0s", y.style.animationName = "none";
402
+ const I = y.getBoundingClientRect();
403
+ h.current = I.height, k.current = I.width, C.current || (y.style.transitionDuration = P.current.transitionDuration, y.style.animationName = P.current.animationName), c(r);
395
404
  }
396
- }, [s.open, r]), /* @__PURE__ */ u(
397
- Y.div,
405
+ }, [s.open, r]), /* @__PURE__ */ i(
406
+ re.div,
398
407
  {
399
- "data-state": Ne(s.open),
408
+ "data-state": ze(s.open),
400
409
  "data-disabled": s.disabled ? "" : void 0,
401
410
  id: s.contentId,
402
- hidden: !y,
411
+ hidden: !w,
403
412
  ...a,
404
413
  ref: p,
405
414
  style: {
406
- "--radix-collapsible-content-height": A ? `${A}px` : void 0,
407
- "--radix-collapsible-content-width": C ? `${C}px` : void 0,
415
+ "--radix-collapsible-content-height": N ? `${N}px` : void 0,
416
+ "--radix-collapsible-content-width": A ? `${A}px` : void 0,
408
417
  ...e.style
409
418
  },
410
- children: y && n
419
+ children: w && n
411
420
  }
412
421
  );
413
422
  });
414
- function Ne(e) {
423
+ function ze(e) {
415
424
  return e ? "open" : "closed";
416
425
  }
417
- var Jt = Ye, Yt = et, Qt = tt, eo = m.createContext(void 0);
418
- function to(e) {
419
- const t = m.useContext(eo);
426
+ var uo = it, mo = ct, fo = dt, po = f.createContext(void 0);
427
+ function go(e) {
428
+ const t = f.useContext(po);
420
429
  return e || t || "ltr";
421
430
  }
422
- var L = "Accordion", oo = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [Ie, ro, no] = Gt(L), [ce] = ke(L, [
423
- no,
424
- Je
425
- ]), Se = Je(), ot = I.forwardRef(
431
+ var L = "Accordion", bo = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [Te, ho, vo] = Jt(L), [ge] = Re(L, [
432
+ vo,
433
+ st
434
+ ]), Oe = st(), ut = _.forwardRef(
426
435
  (e, t) => {
427
436
  const { type: o, ...r } = e, n = r, a = r;
428
- return /* @__PURE__ */ u(Ie.Provider, { scope: e.__scopeAccordion, children: o === "multiple" ? /* @__PURE__ */ u(lo, { ...a, ref: t }) : /* @__PURE__ */ u(io, { ...n, ref: t }) });
437
+ return /* @__PURE__ */ i(Te.Provider, { scope: e.__scopeAccordion, children: o === "multiple" ? /* @__PURE__ */ i(ko, { ...a, ref: t }) : /* @__PURE__ */ i(wo, { ...n, ref: t }) });
429
438
  }
430
439
  );
431
- ot.displayName = L;
432
- var [rt, ao] = ce(L), [nt, so] = ce(
440
+ ut.displayName = L;
441
+ var [mt, xo] = ge(L), [ft, yo] = ge(
433
442
  L,
434
443
  { collapsible: !1 }
435
- ), io = I.forwardRef(
444
+ ), wo = _.forwardRef(
436
445
  (e, t) => {
437
446
  const {
438
447
  value: o,
@@ -441,71 +450,71 @@ var [rt, ao] = ce(L), [nt, so] = ce(
441
450
  },
442
451
  collapsible: a = !1,
443
452
  ...s
444
- } = e, [i, l] = Ce({
453
+ } = e, [l, c] = Se({
445
454
  prop: o,
446
455
  defaultProp: r ?? "",
447
456
  onChange: n,
448
457
  caller: L
449
458
  });
450
- return /* @__PURE__ */ u(
451
- rt,
459
+ return /* @__PURE__ */ i(
460
+ mt,
452
461
  {
453
462
  scope: e.__scopeAccordion,
454
- value: I.useMemo(() => i ? [i] : [], [i]),
455
- onItemOpen: l,
456
- onItemClose: I.useCallback(() => a && l(""), [a, l]),
457
- children: /* @__PURE__ */ u(nt, { scope: e.__scopeAccordion, collapsible: a, children: /* @__PURE__ */ u(at, { ...s, ref: t }) })
463
+ value: _.useMemo(() => l ? [l] : [], [l]),
464
+ onItemOpen: c,
465
+ onItemClose: _.useCallback(() => a && c(""), [a, c]),
466
+ children: /* @__PURE__ */ i(ft, { scope: e.__scopeAccordion, collapsible: a, children: /* @__PURE__ */ i(pt, { ...s, ref: t }) })
458
467
  }
459
468
  );
460
469
  }
461
- ), lo = I.forwardRef((e, t) => {
470
+ ), ko = _.forwardRef((e, t) => {
462
471
  const {
463
472
  value: o,
464
473
  defaultValue: r,
465
474
  onValueChange: n = () => {
466
475
  },
467
476
  ...a
468
- } = e, [s, i] = Ce({
477
+ } = e, [s, l] = Se({
469
478
  prop: o,
470
479
  defaultProp: r ?? [],
471
480
  onChange: n,
472
481
  caller: L
473
- }), l = I.useCallback(
474
- (p) => i((h = []) => [...h, p]),
475
- [i]
476
- ), f = I.useCallback(
477
- (p) => i((h = []) => h.filter((A) => A !== p)),
478
- [i]
482
+ }), c = _.useCallback(
483
+ (p) => l((h = []) => [...h, p]),
484
+ [l]
485
+ ), m = _.useCallback(
486
+ (p) => l((h = []) => h.filter((N) => N !== p)),
487
+ [l]
479
488
  );
480
- return /* @__PURE__ */ u(
481
- rt,
489
+ return /* @__PURE__ */ i(
490
+ mt,
482
491
  {
483
492
  scope: e.__scopeAccordion,
484
493
  value: s,
485
- onItemOpen: l,
486
- onItemClose: f,
487
- children: /* @__PURE__ */ u(nt, { scope: e.__scopeAccordion, collapsible: !0, children: /* @__PURE__ */ u(at, { ...a, ref: t }) })
494
+ onItemOpen: c,
495
+ onItemClose: m,
496
+ children: /* @__PURE__ */ i(ft, { scope: e.__scopeAccordion, collapsible: !0, children: /* @__PURE__ */ i(pt, { ...a, ref: t }) })
488
497
  }
489
498
  );
490
- }), [co, de] = ce(L), at = I.forwardRef(
499
+ }), [Co, be] = ge(L), pt = _.forwardRef(
491
500
  (e, t) => {
492
- const { __scopeAccordion: o, disabled: r, dir: n, orientation: a = "vertical", ...s } = e, i = I.useRef(null), l = X(i, t), f = ro(o), h = to(n) === "ltr", A = Ke(e.onKeyDown, (w) => {
493
- if (!oo.includes(w.key)) return;
494
- const C = w.target, y = f().filter((b) => !b.ref.current?.disabled), k = y.findIndex((b) => b.ref.current === C), R = y.length;
495
- if (k === -1) return;
496
- w.preventDefault();
497
- let x = k;
498
- const N = 0, _ = R - 1, T = () => {
499
- x = k + 1, x > _ && (x = N);
501
+ const { __scopeAccordion: o, disabled: r, dir: n, orientation: a = "vertical", ...s } = e, l = _.useRef(null), c = Y(l, t), m = ho(o), h = go(n) === "ltr", N = rt(e.onKeyDown, (k) => {
502
+ if (!bo.includes(k.key)) return;
503
+ const A = k.target, w = m().filter((b) => !b.ref.current?.disabled), C = w.findIndex((b) => b.ref.current === A), P = w.length;
504
+ if (C === -1) return;
505
+ k.preventDefault();
506
+ let y = C;
507
+ const I = 0, S = P - 1, T = () => {
508
+ y = C + 1, y > S && (y = I);
500
509
  }, E = () => {
501
- x = k - 1, x < N && (x = _);
510
+ y = C - 1, y < I && (y = S);
502
511
  };
503
- switch (w.key) {
512
+ switch (k.key) {
504
513
  case "Home":
505
- x = N;
514
+ y = I;
506
515
  break;
507
516
  case "End":
508
- x = _;
517
+ y = S;
509
518
  break;
510
519
  case "ArrowRight":
511
520
  a === "horizontal" && (h ? T() : E());
@@ -520,48 +529,48 @@ var [rt, ao] = ce(L), [nt, so] = ce(
520
529
  a === "vertical" && E();
521
530
  break;
522
531
  }
523
- const $ = x % R;
524
- y[$].ref.current?.focus();
532
+ const D = y % P;
533
+ w[D].ref.current?.focus();
525
534
  });
526
- return /* @__PURE__ */ u(
527
- co,
535
+ return /* @__PURE__ */ i(
536
+ Co,
528
537
  {
529
538
  scope: o,
530
539
  disabled: r,
531
540
  direction: n,
532
541
  orientation: a,
533
- children: /* @__PURE__ */ u(Ie.Slot, { scope: o, children: /* @__PURE__ */ u(
534
- Y.div,
542
+ children: /* @__PURE__ */ i(Te.Slot, { scope: o, children: /* @__PURE__ */ i(
543
+ re.div,
535
544
  {
536
545
  ...s,
537
546
  "data-orientation": a,
538
- ref: l,
539
- onKeyDown: r ? void 0 : A
547
+ ref: c,
548
+ onKeyDown: r ? void 0 : N
540
549
  }
541
550
  ) })
542
551
  }
543
552
  );
544
553
  }
545
- ), ie = "AccordionItem", [uo, _e] = ce(ie), st = I.forwardRef(
554
+ ), fe = "AccordionItem", [Ao, Be] = ge(fe), gt = _.forwardRef(
546
555
  (e, t) => {
547
- const { __scopeAccordion: o, value: r, ...n } = e, a = de(ie, o), s = ao(ie, o), i = Se(o), l = Xe(), f = r && s.value.includes(r) || !1, p = a.disabled || e.disabled;
548
- return /* @__PURE__ */ u(
549
- uo,
556
+ const { __scopeAccordion: o, value: r, ...n } = e, a = be(fe, o), s = xo(fe, o), l = Oe(o), c = at(), m = r && s.value.includes(r) || !1, p = a.disabled || e.disabled;
557
+ return /* @__PURE__ */ i(
558
+ Ao,
550
559
  {
551
560
  scope: o,
552
- open: f,
561
+ open: m,
553
562
  disabled: p,
554
- triggerId: l,
555
- children: /* @__PURE__ */ u(
556
- Jt,
563
+ triggerId: c,
564
+ children: /* @__PURE__ */ i(
565
+ uo,
557
566
  {
558
567
  "data-orientation": a.orientation,
559
- "data-state": ft(f),
560
- ...i,
568
+ "data-state": wt(m),
569
+ ...l,
561
570
  ...n,
562
571
  ref: t,
563
572
  disabled: p,
564
- open: f,
573
+ open: m,
565
574
  onOpenChange: (h) => {
566
575
  h ? s.onItemOpen(r) : s.onItemClose(r);
567
576
  }
@@ -571,15 +580,15 @@ var [rt, ao] = ce(L), [nt, so] = ce(
571
580
  );
572
581
  }
573
582
  );
574
- st.displayName = ie;
575
- var it = "AccordionHeader", lt = I.forwardRef(
583
+ gt.displayName = fe;
584
+ var bt = "AccordionHeader", ht = _.forwardRef(
576
585
  (e, t) => {
577
- const { __scopeAccordion: o, ...r } = e, n = de(L, o), a = _e(it, o);
578
- return /* @__PURE__ */ u(
579
- Y.h3,
586
+ const { __scopeAccordion: o, ...r } = e, n = be(L, o), a = Be(bt, o);
587
+ return /* @__PURE__ */ i(
588
+ re.h3,
580
589
  {
581
590
  "data-orientation": n.orientation,
582
- "data-state": ft(a.open),
591
+ "data-state": wt(a.open),
583
592
  "data-disabled": a.disabled ? "" : void 0,
584
593
  ...r,
585
594
  ref: t
@@ -587,29 +596,29 @@ var it = "AccordionHeader", lt = I.forwardRef(
587
596
  );
588
597
  }
589
598
  );
590
- lt.displayName = it;
591
- var ve = "AccordionTrigger", ct = I.forwardRef(
599
+ ht.displayName = bt;
600
+ var Ne = "AccordionTrigger", vt = _.forwardRef(
592
601
  (e, t) => {
593
- const { __scopeAccordion: o, ...r } = e, n = de(L, o), a = _e(ve, o), s = so(ve, o), i = Se(o);
594
- return /* @__PURE__ */ u(Ie.ItemSlot, { scope: o, children: /* @__PURE__ */ u(
595
- Yt,
602
+ const { __scopeAccordion: o, ...r } = e, n = be(L, o), a = Be(Ne, o), s = yo(Ne, o), l = Oe(o);
603
+ return /* @__PURE__ */ i(Te.ItemSlot, { scope: o, children: /* @__PURE__ */ i(
604
+ mo,
596
605
  {
597
606
  "aria-disabled": a.open && !s.collapsible || void 0,
598
607
  "data-orientation": n.orientation,
599
608
  id: a.triggerId,
600
- ...i,
609
+ ...l,
601
610
  ...r,
602
611
  ref: t
603
612
  }
604
613
  ) });
605
614
  }
606
615
  );
607
- ct.displayName = ve;
608
- var dt = "AccordionContent", ut = I.forwardRef(
616
+ vt.displayName = Ne;
617
+ var xt = "AccordionContent", yt = _.forwardRef(
609
618
  (e, t) => {
610
- const { __scopeAccordion: o, ...r } = e, n = de(L, o), a = _e(dt, o), s = Se(o);
611
- return /* @__PURE__ */ u(
612
- Qt,
619
+ const { __scopeAccordion: o, ...r } = e, n = be(L, o), a = Be(xt, o), s = Oe(o);
620
+ return /* @__PURE__ */ i(
621
+ fo,
613
622
  {
614
623
  role: "region",
615
624
  "aria-labelledby": a.triggerId,
@@ -626,58 +635,58 @@ var dt = "AccordionContent", ut = I.forwardRef(
626
635
  );
627
636
  }
628
637
  );
629
- ut.displayName = dt;
630
- function ft(e) {
638
+ yt.displayName = xt;
639
+ function wt(e) {
631
640
  return e ? "open" : "closed";
632
641
  }
633
- var fo = ot, mo = st, po = lt, go = ct, bo = ut;
634
- function mt(e) {
642
+ var No = ut, Po = gt, Io = ht, _o = vt, Ro = yt;
643
+ function kt(e) {
635
644
  var t, o, r = "";
636
645
  if (typeof e == "string" || typeof e == "number") r += e;
637
646
  else if (typeof e == "object") if (Array.isArray(e)) {
638
647
  var n = e.length;
639
- for (t = 0; t < n; t++) e[t] && (o = mt(e[t])) && (r && (r += " "), r += o);
648
+ for (t = 0; t < n; t++) e[t] && (o = kt(e[t])) && (r && (r += " "), r += o);
640
649
  } else for (o in e) e[o] && (r && (r += " "), r += o);
641
650
  return r;
642
651
  }
643
- function ho() {
644
- for (var e, t, o = 0, r = "", n = arguments.length; o < n; o++) (e = arguments[o]) && (t = mt(e)) && (r && (r += " "), r += t);
652
+ function So() {
653
+ for (var e, t, o = 0, r = "", n = arguments.length; o < n; o++) (e = arguments[o]) && (t = kt(e)) && (r && (r += " "), r += t);
645
654
  return r;
646
655
  }
647
- const Pe = "-", vo = (e) => {
648
- const t = yo(e), {
656
+ const Le = "-", Mo = (e) => {
657
+ const t = zo(e), {
649
658
  conflictingClassGroups: o,
650
659
  conflictingClassGroupModifiers: r
651
660
  } = e;
652
661
  return {
653
662
  getClassGroupId: (s) => {
654
- const i = s.split(Pe);
655
- return i[0] === "" && i.length !== 1 && i.shift(), pt(i, t) || xo(s);
663
+ const l = s.split(Le);
664
+ return l[0] === "" && l.length !== 1 && l.shift(), Ct(l, t) || Eo(s);
656
665
  },
657
- getConflictingClassGroupIds: (s, i) => {
658
- const l = o[s] || [];
659
- return i && r[s] ? [...l, ...r[s]] : l;
666
+ getConflictingClassGroupIds: (s, l) => {
667
+ const c = o[s] || [];
668
+ return l && r[s] ? [...c, ...r[s]] : c;
660
669
  }
661
670
  };
662
- }, pt = (e, t) => {
671
+ }, Ct = (e, t) => {
663
672
  if (e.length === 0)
664
673
  return t.classGroupId;
665
- const o = e[0], r = t.nextPart.get(o), n = r ? pt(e.slice(1), r) : void 0;
674
+ const o = e[0], r = t.nextPart.get(o), n = r ? Ct(e.slice(1), r) : void 0;
666
675
  if (n)
667
676
  return n;
668
677
  if (t.validators.length === 0)
669
678
  return;
670
- const a = e.join(Pe);
679
+ const a = e.join(Le);
671
680
  return t.validators.find(({
672
681
  validator: s
673
682
  }) => s(a))?.classGroupId;
674
- }, je = /^\[(.+)\]$/, xo = (e) => {
675
- if (je.test(e)) {
676
- const t = je.exec(e)[1], o = t?.substring(0, t.indexOf(":"));
683
+ }, Ze = /^\[(.+)\]$/, Eo = (e) => {
684
+ if (Ze.test(e)) {
685
+ const t = Ze.exec(e)[1], o = t?.substring(0, t.indexOf(":"));
677
686
  if (o)
678
687
  return "arbitrary.." + o;
679
688
  }
680
- }, yo = (e) => {
689
+ }, zo = (e) => {
681
690
  const {
682
691
  theme: t,
683
692
  classGroups: o
@@ -686,18 +695,18 @@ const Pe = "-", vo = (e) => {
686
695
  validators: []
687
696
  };
688
697
  for (const n in o)
689
- xe(o[n], r, n, t);
698
+ Pe(o[n], r, n, t);
690
699
  return r;
691
- }, xe = (e, t, o, r) => {
700
+ }, Pe = (e, t, o, r) => {
692
701
  e.forEach((n) => {
693
702
  if (typeof n == "string") {
694
- const a = n === "" ? t : Ue(t, n);
703
+ const a = n === "" ? t : Xe(t, n);
695
704
  a.classGroupId = o;
696
705
  return;
697
706
  }
698
707
  if (typeof n == "function") {
699
- if (wo(n)) {
700
- xe(n(r), t, o, r);
708
+ if (To(n)) {
709
+ Pe(n(r), t, o, r);
701
710
  return;
702
711
  }
703
712
  t.validators.push({
@@ -707,18 +716,18 @@ const Pe = "-", vo = (e) => {
707
716
  return;
708
717
  }
709
718
  Object.entries(n).forEach(([a, s]) => {
710
- xe(s, Ue(t, a), o, r);
719
+ Pe(s, Xe(t, a), o, r);
711
720
  });
712
721
  });
713
- }, Ue = (e, t) => {
722
+ }, Xe = (e, t) => {
714
723
  let o = e;
715
- return t.split(Pe).forEach((r) => {
724
+ return t.split(Le).forEach((r) => {
716
725
  o.nextPart.has(r) || o.nextPart.set(r, {
717
726
  nextPart: /* @__PURE__ */ new Map(),
718
727
  validators: []
719
728
  }), o = o.nextPart.get(r);
720
729
  }), o;
721
- }, wo = (e) => e.isThemeGetter, ko = (e) => {
730
+ }, To = (e) => e.isThemeGetter, Oo = (e) => {
722
731
  if (e < 1)
723
732
  return {
724
733
  get: () => {
@@ -742,38 +751,38 @@ const Pe = "-", vo = (e) => {
742
751
  o.has(a) ? o.set(a, s) : n(a, s);
743
752
  }
744
753
  };
745
- }, ye = "!", we = ":", Co = we.length, Ao = (e) => {
754
+ }, Ie = "!", _e = ":", Bo = _e.length, Lo = (e) => {
746
755
  const {
747
756
  prefix: t,
748
757
  experimentalParseClassName: o
749
758
  } = e;
750
759
  let r = (n) => {
751
760
  const a = [];
752
- let s = 0, i = 0, l = 0, f;
753
- for (let C = 0; C < n.length; C++) {
754
- let y = n[C];
755
- if (s === 0 && i === 0) {
756
- if (y === we) {
757
- a.push(n.slice(l, C)), l = C + Co;
761
+ let s = 0, l = 0, c = 0, m;
762
+ for (let A = 0; A < n.length; A++) {
763
+ let w = n[A];
764
+ if (s === 0 && l === 0) {
765
+ if (w === _e) {
766
+ a.push(n.slice(c, A)), c = A + Bo;
758
767
  continue;
759
768
  }
760
- if (y === "/") {
761
- f = C;
769
+ if (w === "/") {
770
+ m = A;
762
771
  continue;
763
772
  }
764
773
  }
765
- y === "[" ? s++ : y === "]" ? s-- : y === "(" ? i++ : y === ")" && i--;
774
+ w === "[" ? s++ : w === "]" ? s-- : w === "(" ? l++ : w === ")" && l--;
766
775
  }
767
- const p = a.length === 0 ? n : n.substring(l), h = Ro(p), A = h !== p, w = f && f > l ? f - l : void 0;
776
+ const p = a.length === 0 ? n : n.substring(c), h = Do(p), N = h !== p, k = m && m > c ? m - c : void 0;
768
777
  return {
769
778
  modifiers: a,
770
- hasImportantModifier: A,
779
+ hasImportantModifier: N,
771
780
  baseClassName: h,
772
- maybePostfixModifierPosition: w
781
+ maybePostfixModifierPosition: k
773
782
  };
774
783
  };
775
784
  if (t) {
776
- const n = t + we, a = r;
785
+ const n = t + _e, a = r;
777
786
  r = (s) => s.startsWith(n) ? a(s.substring(n.length)) : {
778
787
  isExternal: !0,
779
788
  modifiers: [],
@@ -790,7 +799,7 @@ const Pe = "-", vo = (e) => {
790
799
  });
791
800
  }
792
801
  return r;
793
- }, Ro = (e) => e.endsWith(ye) ? e.substring(0, e.length - 1) : e.startsWith(ye) ? e.substring(1) : e, No = (e) => {
802
+ }, Do = (e) => e.endsWith(Ie) ? e.substring(0, e.length - 1) : e.startsWith(Ie) ? e.substring(1) : e, $o = (e) => {
794
803
  const t = Object.fromEntries(e.orderSensitiveModifiers.map((r) => [r, !0]));
795
804
  return (r) => {
796
805
  if (r.length <= 1)
@@ -801,103 +810,103 @@ const Pe = "-", vo = (e) => {
801
810
  s[0] === "[" || t[s] ? (n.push(...a.sort(), s), a = []) : a.push(s);
802
811
  }), n.push(...a.sort()), n;
803
812
  };
804
- }, Io = (e) => ({
805
- cache: ko(e.cacheSize),
806
- parseClassName: Ao(e),
807
- sortModifiers: No(e),
808
- ...vo(e)
809
- }), So = /\s+/, _o = (e, t) => {
813
+ }, Vo = (e) => ({
814
+ cache: Oo(e.cacheSize),
815
+ parseClassName: Lo(e),
816
+ sortModifiers: $o(e),
817
+ ...Mo(e)
818
+ }), Go = /\s+/, jo = (e, t) => {
810
819
  const {
811
820
  parseClassName: o,
812
821
  getClassGroupId: r,
813
822
  getConflictingClassGroupIds: n,
814
823
  sortModifiers: a
815
- } = t, s = [], i = e.trim().split(So);
816
- let l = "";
817
- for (let f = i.length - 1; f >= 0; f -= 1) {
818
- const p = i[f], {
824
+ } = t, s = [], l = e.trim().split(Go);
825
+ let c = "";
826
+ for (let m = l.length - 1; m >= 0; m -= 1) {
827
+ const p = l[m], {
819
828
  isExternal: h,
820
- modifiers: A,
821
- hasImportantModifier: w,
822
- baseClassName: C,
823
- maybePostfixModifierPosition: y
829
+ modifiers: N,
830
+ hasImportantModifier: k,
831
+ baseClassName: A,
832
+ maybePostfixModifierPosition: w
824
833
  } = o(p);
825
834
  if (h) {
826
- l = p + (l.length > 0 ? " " + l : l);
835
+ c = p + (c.length > 0 ? " " + c : c);
827
836
  continue;
828
837
  }
829
- let k = !!y, R = r(k ? C.substring(0, y) : C);
830
- if (!R) {
831
- if (!k) {
832
- l = p + (l.length > 0 ? " " + l : l);
838
+ let C = !!w, P = r(C ? A.substring(0, w) : A);
839
+ if (!P) {
840
+ if (!C) {
841
+ c = p + (c.length > 0 ? " " + c : c);
833
842
  continue;
834
843
  }
835
- if (R = r(C), !R) {
836
- l = p + (l.length > 0 ? " " + l : l);
844
+ if (P = r(A), !P) {
845
+ c = p + (c.length > 0 ? " " + c : c);
837
846
  continue;
838
847
  }
839
- k = !1;
848
+ C = !1;
840
849
  }
841
- const x = a(A).join(":"), N = w ? x + ye : x, _ = N + R;
842
- if (s.includes(_))
850
+ const y = a(N).join(":"), I = k ? y + Ie : y, S = I + P;
851
+ if (s.includes(S))
843
852
  continue;
844
- s.push(_);
845
- const T = n(R, k);
853
+ s.push(S);
854
+ const T = n(P, C);
846
855
  for (let E = 0; E < T.length; ++E) {
847
- const $ = T[E];
848
- s.push(N + $);
856
+ const D = T[E];
857
+ s.push(I + D);
849
858
  }
850
- l = p + (l.length > 0 ? " " + l : l);
859
+ c = p + (c.length > 0 ? " " + c : c);
851
860
  }
852
- return l;
861
+ return c;
853
862
  };
854
- function Po() {
863
+ function Uo() {
855
864
  let e = 0, t, o, r = "";
856
865
  for (; e < arguments.length; )
857
- (t = arguments[e++]) && (o = gt(t)) && (r && (r += " "), r += o);
866
+ (t = arguments[e++]) && (o = At(t)) && (r && (r += " "), r += o);
858
867
  return r;
859
868
  }
860
- const gt = (e) => {
869
+ const At = (e) => {
861
870
  if (typeof e == "string")
862
871
  return e;
863
872
  let t, o = "";
864
873
  for (let r = 0; r < e.length; r++)
865
- e[r] && (t = gt(e[r])) && (o && (o += " "), o += t);
874
+ e[r] && (t = At(e[r])) && (o && (o += " "), o += t);
866
875
  return o;
867
876
  };
868
- function Mo(e, ...t) {
877
+ function Fo(e, ...t) {
869
878
  let o, r, n, a = s;
870
- function s(l) {
871
- const f = t.reduce((p, h) => h(p), e());
872
- return o = Io(f), r = o.cache.get, n = o.cache.set, a = i, i(l);
879
+ function s(c) {
880
+ const m = t.reduce((p, h) => h(p), e());
881
+ return o = Vo(m), r = o.cache.get, n = o.cache.set, a = l, l(c);
873
882
  }
874
- function i(l) {
875
- const f = r(l);
876
- if (f)
877
- return f;
878
- const p = _o(l, o);
879
- return n(l, p), p;
883
+ function l(c) {
884
+ const m = r(c);
885
+ if (m)
886
+ return m;
887
+ const p = jo(c, o);
888
+ return n(c, p), p;
880
889
  }
881
890
  return function() {
882
- return a(Po.apply(null, arguments));
891
+ return a(Uo.apply(null, arguments));
883
892
  };
884
893
  }
885
- const S = (e) => {
894
+ const R = (e) => {
886
895
  const t = (o) => o[e] || [];
887
896
  return t.isThemeGetter = !0, t;
888
- }, bt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, ht = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Eo = /^\d+\/\d+$/, zo = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, To = /\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$/, Oo = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Lo = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, $o = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, H = (e) => Eo.test(e), v = (e) => !!e && !Number.isNaN(Number(e)), j = (e) => !!e && Number.isInteger(Number(e)), pe = (e) => e.endsWith("%") && v(e.slice(0, -1)), V = (e) => zo.test(e), Go = () => !0, Do = (e) => (
897
+ }, Nt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Pt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Wo = /^\d+\/\d+$/, Ho = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, qo = /\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$/, Ko = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Zo = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Xo = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, H = (e) => Wo.test(e), v = (e) => !!e && !Number.isNaN(Number(e)), j = (e) => !!e && Number.isInteger(Number(e)), ye = (e) => e.endsWith("%") && v(e.slice(0, -1)), G = (e) => Ho.test(e), Jo = () => !0, Yo = (e) => (
889
898
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
890
899
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
891
900
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
892
- To.test(e) && !Oo.test(e)
893
- ), vt = () => !1, Vo = (e) => Lo.test(e), jo = (e) => $o.test(e), Uo = (e) => !c(e) && !d(e), Fo = (e) => q(e, wt, vt), c = (e) => bt.test(e), F = (e) => q(e, kt, Do), ge = (e) => q(e, Ko, v), Fe = (e) => q(e, xt, vt), Wo = (e) => q(e, yt, jo), ae = (e) => q(e, Ct, Vo), d = (e) => ht.test(e), Z = (e) => K(e, kt), Bo = (e) => K(e, Zo), We = (e) => K(e, xt), Ho = (e) => K(e, wt), qo = (e) => K(e, yt), se = (e) => K(e, Ct, !0), q = (e, t, o) => {
894
- const r = bt.exec(e);
901
+ qo.test(e) && !Ko.test(e)
902
+ ), It = () => !1, Qo = (e) => Zo.test(e), er = (e) => Xo.test(e), tr = (e) => !d(e) && !u(e), or = (e) => q(e, St, It), d = (e) => Nt.test(e), F = (e) => q(e, Mt, Yo), we = (e) => q(e, ir, v), Je = (e) => q(e, _t, It), rr = (e) => q(e, Rt, er), ue = (e) => q(e, Et, Qo), u = (e) => Pt.test(e), X = (e) => K(e, Mt), nr = (e) => K(e, lr), Ye = (e) => K(e, _t), ar = (e) => K(e, St), sr = (e) => K(e, Rt), me = (e) => K(e, Et, !0), q = (e, t, o) => {
903
+ const r = Nt.exec(e);
895
904
  return r ? r[1] ? t(r[1]) : o(r[2]) : !1;
896
905
  }, K = (e, t, o = !1) => {
897
- const r = ht.exec(e);
906
+ const r = Pt.exec(e);
898
907
  return r ? r[1] ? t(r[1]) : o : !1;
899
- }, xt = (e) => e === "position" || e === "percentage", yt = (e) => e === "image" || e === "url", wt = (e) => e === "length" || e === "size" || e === "bg-size", kt = (e) => e === "length", Ko = (e) => e === "number", Zo = (e) => e === "family-name", Ct = (e) => e === "shadow", Xo = () => {
900
- const e = S("color"), t = S("font"), o = S("text"), r = S("font-weight"), n = S("tracking"), a = S("leading"), s = S("breakpoint"), i = S("container"), l = S("spacing"), f = S("radius"), p = S("shadow"), h = S("inset-shadow"), A = S("text-shadow"), w = S("drop-shadow"), C = S("blur"), y = S("perspective"), k = S("aspect"), R = S("ease"), x = S("animate"), N = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], _ = () => [
908
+ }, _t = (e) => e === "position" || e === "percentage", Rt = (e) => e === "image" || e === "url", St = (e) => e === "length" || e === "size" || e === "bg-size", Mt = (e) => e === "length", ir = (e) => e === "number", lr = (e) => e === "family-name", Et = (e) => e === "shadow", cr = () => {
909
+ const e = R("color"), t = R("font"), o = R("text"), r = R("font-weight"), n = R("tracking"), a = R("leading"), s = R("breakpoint"), l = R("container"), c = R("spacing"), m = R("radius"), p = R("shadow"), h = R("inset-shadow"), N = R("text-shadow"), k = R("drop-shadow"), A = R("blur"), w = R("perspective"), C = R("aspect"), P = R("ease"), y = R("animate"), I = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], S = () => [
901
910
  "center",
902
911
  "top",
903
912
  "bottom",
@@ -915,51 +924,51 @@ const S = (e) => {
915
924
  "bottom-left",
916
925
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
917
926
  "left-bottom"
918
- ], T = () => [..._(), d, c], E = () => ["auto", "hidden", "clip", "visible", "scroll"], $ = () => ["auto", "contain", "none"], b = () => [d, c, l], G = () => [H, "full", "auto", ...b()], Ee = () => [j, "none", "subgrid", d, c], ze = () => ["auto", {
919
- span: ["full", j, d, c]
920
- }, j, d, c], Q = () => [j, "auto", d, c], Te = () => ["auto", "min", "max", "fr", d, c], ue = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], B = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], D = () => ["auto", ...b()], U = () => [H, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...b()], g = () => [e, d, c], Oe = () => [..._(), We, Fe, {
921
- position: [d, c]
922
- }], Le = () => ["no-repeat", {
927
+ ], T = () => [...S(), u, d], E = () => ["auto", "hidden", "clip", "visible", "scroll"], D = () => ["auto", "contain", "none"], b = () => [u, d, c], $ = () => [H, "full", "auto", ...b()], Ve = () => [j, "none", "subgrid", u, d], Ge = () => ["auto", {
928
+ span: ["full", j, u, d]
929
+ }, j, u, d], ae = () => [j, "auto", u, d], je = () => ["auto", "min", "max", "fr", u, d], he = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], W = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], V = () => ["auto", ...b()], U = () => [H, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...b()], g = () => [e, u, d], Ue = () => [...S(), Ye, Je, {
930
+ position: [u, d]
931
+ }], Fe = () => ["no-repeat", {
923
932
  repeat: ["", "x", "y", "space", "round"]
924
- }], $e = () => ["auto", "cover", "contain", Ho, Fo, {
925
- size: [d, c]
926
- }], fe = () => [pe, Z, F], z = () => [
933
+ }], We = () => ["auto", "cover", "contain", ar, or, {
934
+ size: [u, d]
935
+ }], ve = () => [ye, X, F], z = () => [
927
936
  // Deprecated since Tailwind CSS v4.0.0
928
937
  "",
929
938
  "none",
930
939
  "full",
931
- f,
932
- d,
933
- c
934
- ], O = () => ["", v, Z, F], ee = () => ["solid", "dashed", "dotted", "double"], Ge = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], P = () => [v, pe, We, Fe], De = () => [
940
+ m,
941
+ u,
942
+ d
943
+ ], O = () => ["", v, X, F], se = () => ["solid", "dashed", "dotted", "double"], He = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], M = () => [v, ye, Ye, Je], qe = () => [
935
944
  // Deprecated since Tailwind CSS v4.0.0
936
945
  "",
937
946
  "none",
938
- C,
939
- d,
940
- c
941
- ], te = () => ["none", v, d, c], oe = () => ["none", v, d, c], me = () => [v, d, c], re = () => [H, "full", ...b()];
947
+ A,
948
+ u,
949
+ d
950
+ ], ie = () => ["none", v, u, d], le = () => ["none", v, u, d], xe = () => [v, u, d], ce = () => [H, "full", ...b()];
942
951
  return {
943
952
  cacheSize: 500,
944
953
  theme: {
945
954
  animate: ["spin", "ping", "pulse", "bounce"],
946
955
  aspect: ["video"],
947
- blur: [V],
948
- breakpoint: [V],
949
- color: [Go],
950
- container: [V],
951
- "drop-shadow": [V],
956
+ blur: [G],
957
+ breakpoint: [G],
958
+ color: [Jo],
959
+ container: [G],
960
+ "drop-shadow": [G],
952
961
  ease: ["in", "out", "in-out"],
953
- font: [Uo],
962
+ font: [tr],
954
963
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
955
- "inset-shadow": [V],
964
+ "inset-shadow": [G],
956
965
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
957
966
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
958
- radius: [V],
959
- shadow: [V],
967
+ radius: [G],
968
+ shadow: [G],
960
969
  spacing: ["px", v],
961
- text: [V],
962
- "text-shadow": [V],
970
+ text: [G],
971
+ "text-shadow": [G],
963
972
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
964
973
  },
965
974
  classGroups: {
@@ -971,7 +980,7 @@ const S = (e) => {
971
980
  * @see https://tailwindcss.com/docs/aspect-ratio
972
981
  */
973
982
  aspect: [{
974
- aspect: ["auto", "square", H, c, d, k]
983
+ aspect: ["auto", "square", H, d, u, C]
975
984
  }],
976
985
  /**
977
986
  * Container
@@ -984,21 +993,21 @@ const S = (e) => {
984
993
  * @see https://tailwindcss.com/docs/columns
985
994
  */
986
995
  columns: [{
987
- columns: [v, c, d, i]
996
+ columns: [v, d, u, l]
988
997
  }],
989
998
  /**
990
999
  * Break After
991
1000
  * @see https://tailwindcss.com/docs/break-after
992
1001
  */
993
1002
  "break-after": [{
994
- "break-after": N()
1003
+ "break-after": I()
995
1004
  }],
996
1005
  /**
997
1006
  * Break Before
998
1007
  * @see https://tailwindcss.com/docs/break-before
999
1008
  */
1000
1009
  "break-before": [{
1001
- "break-before": N()
1010
+ "break-before": I()
1002
1011
  }],
1003
1012
  /**
1004
1013
  * Break Inside
@@ -1090,21 +1099,21 @@ const S = (e) => {
1090
1099
  * @see https://tailwindcss.com/docs/overscroll-behavior
1091
1100
  */
1092
1101
  overscroll: [{
1093
- overscroll: $()
1102
+ overscroll: D()
1094
1103
  }],
1095
1104
  /**
1096
1105
  * Overscroll Behavior X
1097
1106
  * @see https://tailwindcss.com/docs/overscroll-behavior
1098
1107
  */
1099
1108
  "overscroll-x": [{
1100
- "overscroll-x": $()
1109
+ "overscroll-x": D()
1101
1110
  }],
1102
1111
  /**
1103
1112
  * Overscroll Behavior Y
1104
1113
  * @see https://tailwindcss.com/docs/overscroll-behavior
1105
1114
  */
1106
1115
  "overscroll-y": [{
1107
- "overscroll-y": $()
1116
+ "overscroll-y": D()
1108
1117
  }],
1109
1118
  /**
1110
1119
  * Position
@@ -1116,63 +1125,63 @@ const S = (e) => {
1116
1125
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1117
1126
  */
1118
1127
  inset: [{
1119
- inset: G()
1128
+ inset: $()
1120
1129
  }],
1121
1130
  /**
1122
1131
  * Right / Left
1123
1132
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1124
1133
  */
1125
1134
  "inset-x": [{
1126
- "inset-x": G()
1135
+ "inset-x": $()
1127
1136
  }],
1128
1137
  /**
1129
1138
  * Top / Bottom
1130
1139
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1131
1140
  */
1132
1141
  "inset-y": [{
1133
- "inset-y": G()
1142
+ "inset-y": $()
1134
1143
  }],
1135
1144
  /**
1136
1145
  * Start
1137
1146
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1138
1147
  */
1139
1148
  start: [{
1140
- start: G()
1149
+ start: $()
1141
1150
  }],
1142
1151
  /**
1143
1152
  * End
1144
1153
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1145
1154
  */
1146
1155
  end: [{
1147
- end: G()
1156
+ end: $()
1148
1157
  }],
1149
1158
  /**
1150
1159
  * Top
1151
1160
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1152
1161
  */
1153
1162
  top: [{
1154
- top: G()
1163
+ top: $()
1155
1164
  }],
1156
1165
  /**
1157
1166
  * Right
1158
1167
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1159
1168
  */
1160
1169
  right: [{
1161
- right: G()
1170
+ right: $()
1162
1171
  }],
1163
1172
  /**
1164
1173
  * Bottom
1165
1174
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1166
1175
  */
1167
1176
  bottom: [{
1168
- bottom: G()
1177
+ bottom: $()
1169
1178
  }],
1170
1179
  /**
1171
1180
  * Left
1172
1181
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1173
1182
  */
1174
1183
  left: [{
1175
- left: G()
1184
+ left: $()
1176
1185
  }],
1177
1186
  /**
1178
1187
  * Visibility
@@ -1184,7 +1193,7 @@ const S = (e) => {
1184
1193
  * @see https://tailwindcss.com/docs/z-index
1185
1194
  */
1186
1195
  z: [{
1187
- z: [j, "auto", d, c]
1196
+ z: [j, "auto", u, d]
1188
1197
  }],
1189
1198
  // ------------------------
1190
1199
  // --- Flexbox and Grid ---
@@ -1194,7 +1203,7 @@ const S = (e) => {
1194
1203
  * @see https://tailwindcss.com/docs/flex-basis
1195
1204
  */
1196
1205
  basis: [{
1197
- basis: [H, "full", "auto", i, ...b()]
1206
+ basis: [H, "full", "auto", l, ...b()]
1198
1207
  }],
1199
1208
  /**
1200
1209
  * Flex Direction
@@ -1215,84 +1224,84 @@ const S = (e) => {
1215
1224
  * @see https://tailwindcss.com/docs/flex
1216
1225
  */
1217
1226
  flex: [{
1218
- flex: [v, H, "auto", "initial", "none", c]
1227
+ flex: [v, H, "auto", "initial", "none", d]
1219
1228
  }],
1220
1229
  /**
1221
1230
  * Flex Grow
1222
1231
  * @see https://tailwindcss.com/docs/flex-grow
1223
1232
  */
1224
1233
  grow: [{
1225
- grow: ["", v, d, c]
1234
+ grow: ["", v, u, d]
1226
1235
  }],
1227
1236
  /**
1228
1237
  * Flex Shrink
1229
1238
  * @see https://tailwindcss.com/docs/flex-shrink
1230
1239
  */
1231
1240
  shrink: [{
1232
- shrink: ["", v, d, c]
1241
+ shrink: ["", v, u, d]
1233
1242
  }],
1234
1243
  /**
1235
1244
  * Order
1236
1245
  * @see https://tailwindcss.com/docs/order
1237
1246
  */
1238
1247
  order: [{
1239
- order: [j, "first", "last", "none", d, c]
1248
+ order: [j, "first", "last", "none", u, d]
1240
1249
  }],
1241
1250
  /**
1242
1251
  * Grid Template Columns
1243
1252
  * @see https://tailwindcss.com/docs/grid-template-columns
1244
1253
  */
1245
1254
  "grid-cols": [{
1246
- "grid-cols": Ee()
1255
+ "grid-cols": Ve()
1247
1256
  }],
1248
1257
  /**
1249
1258
  * Grid Column Start / End
1250
1259
  * @see https://tailwindcss.com/docs/grid-column
1251
1260
  */
1252
1261
  "col-start-end": [{
1253
- col: ze()
1262
+ col: Ge()
1254
1263
  }],
1255
1264
  /**
1256
1265
  * Grid Column Start
1257
1266
  * @see https://tailwindcss.com/docs/grid-column
1258
1267
  */
1259
1268
  "col-start": [{
1260
- "col-start": Q()
1269
+ "col-start": ae()
1261
1270
  }],
1262
1271
  /**
1263
1272
  * Grid Column End
1264
1273
  * @see https://tailwindcss.com/docs/grid-column
1265
1274
  */
1266
1275
  "col-end": [{
1267
- "col-end": Q()
1276
+ "col-end": ae()
1268
1277
  }],
1269
1278
  /**
1270
1279
  * Grid Template Rows
1271
1280
  * @see https://tailwindcss.com/docs/grid-template-rows
1272
1281
  */
1273
1282
  "grid-rows": [{
1274
- "grid-rows": Ee()
1283
+ "grid-rows": Ve()
1275
1284
  }],
1276
1285
  /**
1277
1286
  * Grid Row Start / End
1278
1287
  * @see https://tailwindcss.com/docs/grid-row
1279
1288
  */
1280
1289
  "row-start-end": [{
1281
- row: ze()
1290
+ row: Ge()
1282
1291
  }],
1283
1292
  /**
1284
1293
  * Grid Row Start
1285
1294
  * @see https://tailwindcss.com/docs/grid-row
1286
1295
  */
1287
1296
  "row-start": [{
1288
- "row-start": Q()
1297
+ "row-start": ae()
1289
1298
  }],
1290
1299
  /**
1291
1300
  * Grid Row End
1292
1301
  * @see https://tailwindcss.com/docs/grid-row
1293
1302
  */
1294
1303
  "row-end": [{
1295
- "row-end": Q()
1304
+ "row-end": ae()
1296
1305
  }],
1297
1306
  /**
1298
1307
  * Grid Auto Flow
@@ -1306,14 +1315,14 @@ const S = (e) => {
1306
1315
  * @see https://tailwindcss.com/docs/grid-auto-columns
1307
1316
  */
1308
1317
  "auto-cols": [{
1309
- "auto-cols": Te()
1318
+ "auto-cols": je()
1310
1319
  }],
1311
1320
  /**
1312
1321
  * Grid Auto Rows
1313
1322
  * @see https://tailwindcss.com/docs/grid-auto-rows
1314
1323
  */
1315
1324
  "auto-rows": [{
1316
- "auto-rows": Te()
1325
+ "auto-rows": je()
1317
1326
  }],
1318
1327
  /**
1319
1328
  * Gap
@@ -1341,35 +1350,35 @@ const S = (e) => {
1341
1350
  * @see https://tailwindcss.com/docs/justify-content
1342
1351
  */
1343
1352
  "justify-content": [{
1344
- justify: [...ue(), "normal"]
1353
+ justify: [...he(), "normal"]
1345
1354
  }],
1346
1355
  /**
1347
1356
  * Justify Items
1348
1357
  * @see https://tailwindcss.com/docs/justify-items
1349
1358
  */
1350
1359
  "justify-items": [{
1351
- "justify-items": [...B(), "normal"]
1360
+ "justify-items": [...W(), "normal"]
1352
1361
  }],
1353
1362
  /**
1354
1363
  * Justify Self
1355
1364
  * @see https://tailwindcss.com/docs/justify-self
1356
1365
  */
1357
1366
  "justify-self": [{
1358
- "justify-self": ["auto", ...B()]
1367
+ "justify-self": ["auto", ...W()]
1359
1368
  }],
1360
1369
  /**
1361
1370
  * Align Content
1362
1371
  * @see https://tailwindcss.com/docs/align-content
1363
1372
  */
1364
1373
  "align-content": [{
1365
- content: ["normal", ...ue()]
1374
+ content: ["normal", ...he()]
1366
1375
  }],
1367
1376
  /**
1368
1377
  * Align Items
1369
1378
  * @see https://tailwindcss.com/docs/align-items
1370
1379
  */
1371
1380
  "align-items": [{
1372
- items: [...B(), {
1381
+ items: [...W(), {
1373
1382
  baseline: ["", "last"]
1374
1383
  }]
1375
1384
  }],
@@ -1378,7 +1387,7 @@ const S = (e) => {
1378
1387
  * @see https://tailwindcss.com/docs/align-self
1379
1388
  */
1380
1389
  "align-self": [{
1381
- self: ["auto", ...B(), {
1390
+ self: ["auto", ...W(), {
1382
1391
  baseline: ["", "last"]
1383
1392
  }]
1384
1393
  }],
@@ -1387,21 +1396,21 @@ const S = (e) => {
1387
1396
  * @see https://tailwindcss.com/docs/place-content
1388
1397
  */
1389
1398
  "place-content": [{
1390
- "place-content": ue()
1399
+ "place-content": he()
1391
1400
  }],
1392
1401
  /**
1393
1402
  * Place Items
1394
1403
  * @see https://tailwindcss.com/docs/place-items
1395
1404
  */
1396
1405
  "place-items": [{
1397
- "place-items": [...B(), "baseline"]
1406
+ "place-items": [...W(), "baseline"]
1398
1407
  }],
1399
1408
  /**
1400
1409
  * Place Self
1401
1410
  * @see https://tailwindcss.com/docs/place-self
1402
1411
  */
1403
1412
  "place-self": [{
1404
- "place-self": ["auto", ...B()]
1413
+ "place-self": ["auto", ...W()]
1405
1414
  }],
1406
1415
  // Spacing
1407
1416
  /**
@@ -1472,63 +1481,63 @@ const S = (e) => {
1472
1481
  * @see https://tailwindcss.com/docs/margin
1473
1482
  */
1474
1483
  m: [{
1475
- m: D()
1484
+ m: V()
1476
1485
  }],
1477
1486
  /**
1478
1487
  * Margin X
1479
1488
  * @see https://tailwindcss.com/docs/margin
1480
1489
  */
1481
1490
  mx: [{
1482
- mx: D()
1491
+ mx: V()
1483
1492
  }],
1484
1493
  /**
1485
1494
  * Margin Y
1486
1495
  * @see https://tailwindcss.com/docs/margin
1487
1496
  */
1488
1497
  my: [{
1489
- my: D()
1498
+ my: V()
1490
1499
  }],
1491
1500
  /**
1492
1501
  * Margin Start
1493
1502
  * @see https://tailwindcss.com/docs/margin
1494
1503
  */
1495
1504
  ms: [{
1496
- ms: D()
1505
+ ms: V()
1497
1506
  }],
1498
1507
  /**
1499
1508
  * Margin End
1500
1509
  * @see https://tailwindcss.com/docs/margin
1501
1510
  */
1502
1511
  me: [{
1503
- me: D()
1512
+ me: V()
1504
1513
  }],
1505
1514
  /**
1506
1515
  * Margin Top
1507
1516
  * @see https://tailwindcss.com/docs/margin
1508
1517
  */
1509
1518
  mt: [{
1510
- mt: D()
1519
+ mt: V()
1511
1520
  }],
1512
1521
  /**
1513
1522
  * Margin Right
1514
1523
  * @see https://tailwindcss.com/docs/margin
1515
1524
  */
1516
1525
  mr: [{
1517
- mr: D()
1526
+ mr: V()
1518
1527
  }],
1519
1528
  /**
1520
1529
  * Margin Bottom
1521
1530
  * @see https://tailwindcss.com/docs/margin
1522
1531
  */
1523
1532
  mb: [{
1524
- mb: D()
1533
+ mb: V()
1525
1534
  }],
1526
1535
  /**
1527
1536
  * Margin Left
1528
1537
  * @see https://tailwindcss.com/docs/margin
1529
1538
  */
1530
1539
  ml: [{
1531
- ml: D()
1540
+ ml: V()
1532
1541
  }],
1533
1542
  /**
1534
1543
  * Space Between X
@@ -1569,7 +1578,7 @@ const S = (e) => {
1569
1578
  * @see https://tailwindcss.com/docs/width
1570
1579
  */
1571
1580
  w: [{
1572
- w: [i, "screen", ...U()]
1581
+ w: [l, "screen", ...U()]
1573
1582
  }],
1574
1583
  /**
1575
1584
  * Min-Width
@@ -1577,7 +1586,7 @@ const S = (e) => {
1577
1586
  */
1578
1587
  "min-w": [{
1579
1588
  "min-w": [
1580
- i,
1589
+ l,
1581
1590
  "screen",
1582
1591
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1583
1592
  "none",
@@ -1590,7 +1599,7 @@ const S = (e) => {
1590
1599
  */
1591
1600
  "max-w": [{
1592
1601
  "max-w": [
1593
- i,
1602
+ l,
1594
1603
  "screen",
1595
1604
  "none",
1596
1605
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
@@ -1631,7 +1640,7 @@ const S = (e) => {
1631
1640
  * @see https://tailwindcss.com/docs/font-size
1632
1641
  */
1633
1642
  "font-size": [{
1634
- text: ["base", o, Z, F]
1643
+ text: ["base", o, X, F]
1635
1644
  }],
1636
1645
  /**
1637
1646
  * Font Smoothing
@@ -1648,21 +1657,21 @@ const S = (e) => {
1648
1657
  * @see https://tailwindcss.com/docs/font-weight
1649
1658
  */
1650
1659
  "font-weight": [{
1651
- font: [r, d, ge]
1660
+ font: [r, u, we]
1652
1661
  }],
1653
1662
  /**
1654
1663
  * Font Stretch
1655
1664
  * @see https://tailwindcss.com/docs/font-stretch
1656
1665
  */
1657
1666
  "font-stretch": [{
1658
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", pe, c]
1667
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ye, d]
1659
1668
  }],
1660
1669
  /**
1661
1670
  * Font Family
1662
1671
  * @see https://tailwindcss.com/docs/font-family
1663
1672
  */
1664
1673
  "font-family": [{
1665
- font: [Bo, c, t]
1674
+ font: [nr, d, t]
1666
1675
  }],
1667
1676
  /**
1668
1677
  * Font Variant Numeric
@@ -1699,14 +1708,14 @@ const S = (e) => {
1699
1708
  * @see https://tailwindcss.com/docs/letter-spacing
1700
1709
  */
1701
1710
  tracking: [{
1702
- tracking: [n, d, c]
1711
+ tracking: [n, u, d]
1703
1712
  }],
1704
1713
  /**
1705
1714
  * Line Clamp
1706
1715
  * @see https://tailwindcss.com/docs/line-clamp
1707
1716
  */
1708
1717
  "line-clamp": [{
1709
- "line-clamp": [v, "none", d, ge]
1718
+ "line-clamp": [v, "none", u, we]
1710
1719
  }],
1711
1720
  /**
1712
1721
  * Line Height
@@ -1724,7 +1733,7 @@ const S = (e) => {
1724
1733
  * @see https://tailwindcss.com/docs/list-style-image
1725
1734
  */
1726
1735
  "list-image": [{
1727
- "list-image": ["none", d, c]
1736
+ "list-image": ["none", u, d]
1728
1737
  }],
1729
1738
  /**
1730
1739
  * List Style Position
@@ -1738,7 +1747,7 @@ const S = (e) => {
1738
1747
  * @see https://tailwindcss.com/docs/list-style-type
1739
1748
  */
1740
1749
  "list-style-type": [{
1741
- list: ["disc", "decimal", "none", d, c]
1750
+ list: ["disc", "decimal", "none", u, d]
1742
1751
  }],
1743
1752
  /**
1744
1753
  * Text Alignment
@@ -1772,14 +1781,14 @@ const S = (e) => {
1772
1781
  * @see https://tailwindcss.com/docs/text-decoration-style
1773
1782
  */
1774
1783
  "text-decoration-style": [{
1775
- decoration: [...ee(), "wavy"]
1784
+ decoration: [...se(), "wavy"]
1776
1785
  }],
1777
1786
  /**
1778
1787
  * Text Decoration Thickness
1779
1788
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1780
1789
  */
1781
1790
  "text-decoration-thickness": [{
1782
- decoration: [v, "from-font", "auto", d, F]
1791
+ decoration: [v, "from-font", "auto", u, F]
1783
1792
  }],
1784
1793
  /**
1785
1794
  * Text Decoration Color
@@ -1793,7 +1802,7 @@ const S = (e) => {
1793
1802
  * @see https://tailwindcss.com/docs/text-underline-offset
1794
1803
  */
1795
1804
  "underline-offset": [{
1796
- "underline-offset": [v, "auto", d, c]
1805
+ "underline-offset": [v, "auto", u, d]
1797
1806
  }],
1798
1807
  /**
1799
1808
  * Text Transform
@@ -1824,7 +1833,7 @@ const S = (e) => {
1824
1833
  * @see https://tailwindcss.com/docs/vertical-align
1825
1834
  */
1826
1835
  "vertical-align": [{
1827
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", d, c]
1836
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", u, d]
1828
1837
  }],
1829
1838
  /**
1830
1839
  * Whitespace
@@ -1859,7 +1868,7 @@ const S = (e) => {
1859
1868
  * @see https://tailwindcss.com/docs/content
1860
1869
  */
1861
1870
  content: [{
1862
- content: ["none", d, c]
1871
+ content: ["none", u, d]
1863
1872
  }],
1864
1873
  // -------------------
1865
1874
  // --- Backgrounds ---
@@ -1890,21 +1899,21 @@ const S = (e) => {
1890
1899
  * @see https://tailwindcss.com/docs/background-position
1891
1900
  */
1892
1901
  "bg-position": [{
1893
- bg: Oe()
1902
+ bg: Ue()
1894
1903
  }],
1895
1904
  /**
1896
1905
  * Background Repeat
1897
1906
  * @see https://tailwindcss.com/docs/background-repeat
1898
1907
  */
1899
1908
  "bg-repeat": [{
1900
- bg: Le()
1909
+ bg: Fe()
1901
1910
  }],
1902
1911
  /**
1903
1912
  * Background Size
1904
1913
  * @see https://tailwindcss.com/docs/background-size
1905
1914
  */
1906
1915
  "bg-size": [{
1907
- bg: $e()
1916
+ bg: We()
1908
1917
  }],
1909
1918
  /**
1910
1919
  * Background Image
@@ -1914,10 +1923,10 @@ const S = (e) => {
1914
1923
  bg: ["none", {
1915
1924
  linear: [{
1916
1925
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1917
- }, j, d, c],
1918
- radial: ["", d, c],
1919
- conic: [j, d, c]
1920
- }, qo, Wo]
1926
+ }, j, u, d],
1927
+ radial: ["", u, d],
1928
+ conic: [j, u, d]
1929
+ }, sr, rr]
1921
1930
  }],
1922
1931
  /**
1923
1932
  * Background Color
@@ -1931,21 +1940,21 @@ const S = (e) => {
1931
1940
  * @see https://tailwindcss.com/docs/gradient-color-stops
1932
1941
  */
1933
1942
  "gradient-from-pos": [{
1934
- from: fe()
1943
+ from: ve()
1935
1944
  }],
1936
1945
  /**
1937
1946
  * Gradient Color Stops Via Position
1938
1947
  * @see https://tailwindcss.com/docs/gradient-color-stops
1939
1948
  */
1940
1949
  "gradient-via-pos": [{
1941
- via: fe()
1950
+ via: ve()
1942
1951
  }],
1943
1952
  /**
1944
1953
  * Gradient Color Stops To Position
1945
1954
  * @see https://tailwindcss.com/docs/gradient-color-stops
1946
1955
  */
1947
1956
  "gradient-to-pos": [{
1948
- to: fe()
1957
+ to: ve()
1949
1958
  }],
1950
1959
  /**
1951
1960
  * Gradient Color Stops From
@@ -2168,14 +2177,14 @@ const S = (e) => {
2168
2177
  * @see https://tailwindcss.com/docs/border-style
2169
2178
  */
2170
2179
  "border-style": [{
2171
- border: [...ee(), "hidden", "none"]
2180
+ border: [...se(), "hidden", "none"]
2172
2181
  }],
2173
2182
  /**
2174
2183
  * Divide Style
2175
2184
  * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
2176
2185
  */
2177
2186
  "divide-style": [{
2178
- divide: [...ee(), "hidden", "none"]
2187
+ divide: [...se(), "hidden", "none"]
2179
2188
  }],
2180
2189
  /**
2181
2190
  * Border Color
@@ -2252,21 +2261,21 @@ const S = (e) => {
2252
2261
  * @see https://tailwindcss.com/docs/outline-style
2253
2262
  */
2254
2263
  "outline-style": [{
2255
- outline: [...ee(), "none", "hidden"]
2264
+ outline: [...se(), "none", "hidden"]
2256
2265
  }],
2257
2266
  /**
2258
2267
  * Outline Offset
2259
2268
  * @see https://tailwindcss.com/docs/outline-offset
2260
2269
  */
2261
2270
  "outline-offset": [{
2262
- "outline-offset": [v, d, c]
2271
+ "outline-offset": [v, u, d]
2263
2272
  }],
2264
2273
  /**
2265
2274
  * Outline Width
2266
2275
  * @see https://tailwindcss.com/docs/outline-width
2267
2276
  */
2268
2277
  "outline-w": [{
2269
- outline: ["", v, Z, F]
2278
+ outline: ["", v, X, F]
2270
2279
  }],
2271
2280
  /**
2272
2281
  * Outline Color
@@ -2288,8 +2297,8 @@ const S = (e) => {
2288
2297
  "",
2289
2298
  "none",
2290
2299
  p,
2291
- se,
2292
- ae
2300
+ me,
2301
+ ue
2293
2302
  ]
2294
2303
  }],
2295
2304
  /**
@@ -2304,7 +2313,7 @@ const S = (e) => {
2304
2313
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
2305
2314
  */
2306
2315
  "inset-shadow": [{
2307
- "inset-shadow": ["none", h, se, ae]
2316
+ "inset-shadow": ["none", h, me, ue]
2308
2317
  }],
2309
2318
  /**
2310
2319
  * Inset Box Shadow Color
@@ -2371,7 +2380,7 @@ const S = (e) => {
2371
2380
  * @see https://tailwindcss.com/docs/text-shadow
2372
2381
  */
2373
2382
  "text-shadow": [{
2374
- "text-shadow": ["none", A, se, ae]
2383
+ "text-shadow": ["none", N, me, ue]
2375
2384
  }],
2376
2385
  /**
2377
2386
  * Text Shadow Color
@@ -2385,21 +2394,21 @@ const S = (e) => {
2385
2394
  * @see https://tailwindcss.com/docs/opacity
2386
2395
  */
2387
2396
  opacity: [{
2388
- opacity: [v, d, c]
2397
+ opacity: [v, u, d]
2389
2398
  }],
2390
2399
  /**
2391
2400
  * Mix Blend Mode
2392
2401
  * @see https://tailwindcss.com/docs/mix-blend-mode
2393
2402
  */
2394
2403
  "mix-blend": [{
2395
- "mix-blend": [...Ge(), "plus-darker", "plus-lighter"]
2404
+ "mix-blend": [...He(), "plus-darker", "plus-lighter"]
2396
2405
  }],
2397
2406
  /**
2398
2407
  * Background Blend Mode
2399
2408
  * @see https://tailwindcss.com/docs/background-blend-mode
2400
2409
  */
2401
2410
  "bg-blend": [{
2402
- "bg-blend": Ge()
2411
+ "bg-blend": He()
2403
2412
  }],
2404
2413
  /**
2405
2414
  * Mask Clip
@@ -2423,10 +2432,10 @@ const S = (e) => {
2423
2432
  "mask-linear": [v]
2424
2433
  }],
2425
2434
  "mask-image-linear-from-pos": [{
2426
- "mask-linear-from": P()
2435
+ "mask-linear-from": M()
2427
2436
  }],
2428
2437
  "mask-image-linear-to-pos": [{
2429
- "mask-linear-to": P()
2438
+ "mask-linear-to": M()
2430
2439
  }],
2431
2440
  "mask-image-linear-from-color": [{
2432
2441
  "mask-linear-from": g()
@@ -2435,10 +2444,10 @@ const S = (e) => {
2435
2444
  "mask-linear-to": g()
2436
2445
  }],
2437
2446
  "mask-image-t-from-pos": [{
2438
- "mask-t-from": P()
2447
+ "mask-t-from": M()
2439
2448
  }],
2440
2449
  "mask-image-t-to-pos": [{
2441
- "mask-t-to": P()
2450
+ "mask-t-to": M()
2442
2451
  }],
2443
2452
  "mask-image-t-from-color": [{
2444
2453
  "mask-t-from": g()
@@ -2447,10 +2456,10 @@ const S = (e) => {
2447
2456
  "mask-t-to": g()
2448
2457
  }],
2449
2458
  "mask-image-r-from-pos": [{
2450
- "mask-r-from": P()
2459
+ "mask-r-from": M()
2451
2460
  }],
2452
2461
  "mask-image-r-to-pos": [{
2453
- "mask-r-to": P()
2462
+ "mask-r-to": M()
2454
2463
  }],
2455
2464
  "mask-image-r-from-color": [{
2456
2465
  "mask-r-from": g()
@@ -2459,10 +2468,10 @@ const S = (e) => {
2459
2468
  "mask-r-to": g()
2460
2469
  }],
2461
2470
  "mask-image-b-from-pos": [{
2462
- "mask-b-from": P()
2471
+ "mask-b-from": M()
2463
2472
  }],
2464
2473
  "mask-image-b-to-pos": [{
2465
- "mask-b-to": P()
2474
+ "mask-b-to": M()
2466
2475
  }],
2467
2476
  "mask-image-b-from-color": [{
2468
2477
  "mask-b-from": g()
@@ -2471,10 +2480,10 @@ const S = (e) => {
2471
2480
  "mask-b-to": g()
2472
2481
  }],
2473
2482
  "mask-image-l-from-pos": [{
2474
- "mask-l-from": P()
2483
+ "mask-l-from": M()
2475
2484
  }],
2476
2485
  "mask-image-l-to-pos": [{
2477
- "mask-l-to": P()
2486
+ "mask-l-to": M()
2478
2487
  }],
2479
2488
  "mask-image-l-from-color": [{
2480
2489
  "mask-l-from": g()
@@ -2483,10 +2492,10 @@ const S = (e) => {
2483
2492
  "mask-l-to": g()
2484
2493
  }],
2485
2494
  "mask-image-x-from-pos": [{
2486
- "mask-x-from": P()
2495
+ "mask-x-from": M()
2487
2496
  }],
2488
2497
  "mask-image-x-to-pos": [{
2489
- "mask-x-to": P()
2498
+ "mask-x-to": M()
2490
2499
  }],
2491
2500
  "mask-image-x-from-color": [{
2492
2501
  "mask-x-from": g()
@@ -2495,10 +2504,10 @@ const S = (e) => {
2495
2504
  "mask-x-to": g()
2496
2505
  }],
2497
2506
  "mask-image-y-from-pos": [{
2498
- "mask-y-from": P()
2507
+ "mask-y-from": M()
2499
2508
  }],
2500
2509
  "mask-image-y-to-pos": [{
2501
- "mask-y-to": P()
2510
+ "mask-y-to": M()
2502
2511
  }],
2503
2512
  "mask-image-y-from-color": [{
2504
2513
  "mask-y-from": g()
@@ -2507,13 +2516,13 @@ const S = (e) => {
2507
2516
  "mask-y-to": g()
2508
2517
  }],
2509
2518
  "mask-image-radial": [{
2510
- "mask-radial": [d, c]
2519
+ "mask-radial": [u, d]
2511
2520
  }],
2512
2521
  "mask-image-radial-from-pos": [{
2513
- "mask-radial-from": P()
2522
+ "mask-radial-from": M()
2514
2523
  }],
2515
2524
  "mask-image-radial-to-pos": [{
2516
- "mask-radial-to": P()
2525
+ "mask-radial-to": M()
2517
2526
  }],
2518
2527
  "mask-image-radial-from-color": [{
2519
2528
  "mask-radial-from": g()
@@ -2531,16 +2540,16 @@ const S = (e) => {
2531
2540
  }]
2532
2541
  }],
2533
2542
  "mask-image-radial-pos": [{
2534
- "mask-radial-at": _()
2543
+ "mask-radial-at": S()
2535
2544
  }],
2536
2545
  "mask-image-conic-pos": [{
2537
2546
  "mask-conic": [v]
2538
2547
  }],
2539
2548
  "mask-image-conic-from-pos": [{
2540
- "mask-conic-from": P()
2549
+ "mask-conic-from": M()
2541
2550
  }],
2542
2551
  "mask-image-conic-to-pos": [{
2543
- "mask-conic-to": P()
2552
+ "mask-conic-to": M()
2544
2553
  }],
2545
2554
  "mask-image-conic-from-color": [{
2546
2555
  "mask-conic-from": g()
@@ -2567,21 +2576,21 @@ const S = (e) => {
2567
2576
  * @see https://tailwindcss.com/docs/mask-position
2568
2577
  */
2569
2578
  "mask-position": [{
2570
- mask: Oe()
2579
+ mask: Ue()
2571
2580
  }],
2572
2581
  /**
2573
2582
  * Mask Repeat
2574
2583
  * @see https://tailwindcss.com/docs/mask-repeat
2575
2584
  */
2576
2585
  "mask-repeat": [{
2577
- mask: Le()
2586
+ mask: Fe()
2578
2587
  }],
2579
2588
  /**
2580
2589
  * Mask Size
2581
2590
  * @see https://tailwindcss.com/docs/mask-size
2582
2591
  */
2583
2592
  "mask-size": [{
2584
- mask: $e()
2593
+ mask: We()
2585
2594
  }],
2586
2595
  /**
2587
2596
  * Mask Type
@@ -2595,7 +2604,7 @@ const S = (e) => {
2595
2604
  * @see https://tailwindcss.com/docs/mask-image
2596
2605
  */
2597
2606
  "mask-image": [{
2598
- mask: ["none", d, c]
2607
+ mask: ["none", u, d]
2599
2608
  }],
2600
2609
  // ---------------
2601
2610
  // --- Filters ---
@@ -2609,8 +2618,8 @@ const S = (e) => {
2609
2618
  // Deprecated since Tailwind CSS v3.0.0
2610
2619
  "",
2611
2620
  "none",
2612
- d,
2613
- c
2621
+ u,
2622
+ d
2614
2623
  ]
2615
2624
  }],
2616
2625
  /**
@@ -2618,21 +2627,21 @@ const S = (e) => {
2618
2627
  * @see https://tailwindcss.com/docs/blur
2619
2628
  */
2620
2629
  blur: [{
2621
- blur: De()
2630
+ blur: qe()
2622
2631
  }],
2623
2632
  /**
2624
2633
  * Brightness
2625
2634
  * @see https://tailwindcss.com/docs/brightness
2626
2635
  */
2627
2636
  brightness: [{
2628
- brightness: [v, d, c]
2637
+ brightness: [v, u, d]
2629
2638
  }],
2630
2639
  /**
2631
2640
  * Contrast
2632
2641
  * @see https://tailwindcss.com/docs/contrast
2633
2642
  */
2634
2643
  contrast: [{
2635
- contrast: [v, d, c]
2644
+ contrast: [v, u, d]
2636
2645
  }],
2637
2646
  /**
2638
2647
  * Drop Shadow
@@ -2643,9 +2652,9 @@ const S = (e) => {
2643
2652
  // Deprecated since Tailwind CSS v4.0.0
2644
2653
  "",
2645
2654
  "none",
2646
- w,
2647
- se,
2648
- ae
2655
+ k,
2656
+ me,
2657
+ ue
2649
2658
  ]
2650
2659
  }],
2651
2660
  /**
@@ -2660,35 +2669,35 @@ const S = (e) => {
2660
2669
  * @see https://tailwindcss.com/docs/grayscale
2661
2670
  */
2662
2671
  grayscale: [{
2663
- grayscale: ["", v, d, c]
2672
+ grayscale: ["", v, u, d]
2664
2673
  }],
2665
2674
  /**
2666
2675
  * Hue Rotate
2667
2676
  * @see https://tailwindcss.com/docs/hue-rotate
2668
2677
  */
2669
2678
  "hue-rotate": [{
2670
- "hue-rotate": [v, d, c]
2679
+ "hue-rotate": [v, u, d]
2671
2680
  }],
2672
2681
  /**
2673
2682
  * Invert
2674
2683
  * @see https://tailwindcss.com/docs/invert
2675
2684
  */
2676
2685
  invert: [{
2677
- invert: ["", v, d, c]
2686
+ invert: ["", v, u, d]
2678
2687
  }],
2679
2688
  /**
2680
2689
  * Saturate
2681
2690
  * @see https://tailwindcss.com/docs/saturate
2682
2691
  */
2683
2692
  saturate: [{
2684
- saturate: [v, d, c]
2693
+ saturate: [v, u, d]
2685
2694
  }],
2686
2695
  /**
2687
2696
  * Sepia
2688
2697
  * @see https://tailwindcss.com/docs/sepia
2689
2698
  */
2690
2699
  sepia: [{
2691
- sepia: ["", v, d, c]
2700
+ sepia: ["", v, u, d]
2692
2701
  }],
2693
2702
  /**
2694
2703
  * Backdrop Filter
@@ -2699,8 +2708,8 @@ const S = (e) => {
2699
2708
  // Deprecated since Tailwind CSS v3.0.0
2700
2709
  "",
2701
2710
  "none",
2702
- d,
2703
- c
2711
+ u,
2712
+ d
2704
2713
  ]
2705
2714
  }],
2706
2715
  /**
@@ -2708,63 +2717,63 @@ const S = (e) => {
2708
2717
  * @see https://tailwindcss.com/docs/backdrop-blur
2709
2718
  */
2710
2719
  "backdrop-blur": [{
2711
- "backdrop-blur": De()
2720
+ "backdrop-blur": qe()
2712
2721
  }],
2713
2722
  /**
2714
2723
  * Backdrop Brightness
2715
2724
  * @see https://tailwindcss.com/docs/backdrop-brightness
2716
2725
  */
2717
2726
  "backdrop-brightness": [{
2718
- "backdrop-brightness": [v, d, c]
2727
+ "backdrop-brightness": [v, u, d]
2719
2728
  }],
2720
2729
  /**
2721
2730
  * Backdrop Contrast
2722
2731
  * @see https://tailwindcss.com/docs/backdrop-contrast
2723
2732
  */
2724
2733
  "backdrop-contrast": [{
2725
- "backdrop-contrast": [v, d, c]
2734
+ "backdrop-contrast": [v, u, d]
2726
2735
  }],
2727
2736
  /**
2728
2737
  * Backdrop Grayscale
2729
2738
  * @see https://tailwindcss.com/docs/backdrop-grayscale
2730
2739
  */
2731
2740
  "backdrop-grayscale": [{
2732
- "backdrop-grayscale": ["", v, d, c]
2741
+ "backdrop-grayscale": ["", v, u, d]
2733
2742
  }],
2734
2743
  /**
2735
2744
  * Backdrop Hue Rotate
2736
2745
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2737
2746
  */
2738
2747
  "backdrop-hue-rotate": [{
2739
- "backdrop-hue-rotate": [v, d, c]
2748
+ "backdrop-hue-rotate": [v, u, d]
2740
2749
  }],
2741
2750
  /**
2742
2751
  * Backdrop Invert
2743
2752
  * @see https://tailwindcss.com/docs/backdrop-invert
2744
2753
  */
2745
2754
  "backdrop-invert": [{
2746
- "backdrop-invert": ["", v, d, c]
2755
+ "backdrop-invert": ["", v, u, d]
2747
2756
  }],
2748
2757
  /**
2749
2758
  * Backdrop Opacity
2750
2759
  * @see https://tailwindcss.com/docs/backdrop-opacity
2751
2760
  */
2752
2761
  "backdrop-opacity": [{
2753
- "backdrop-opacity": [v, d, c]
2762
+ "backdrop-opacity": [v, u, d]
2754
2763
  }],
2755
2764
  /**
2756
2765
  * Backdrop Saturate
2757
2766
  * @see https://tailwindcss.com/docs/backdrop-saturate
2758
2767
  */
2759
2768
  "backdrop-saturate": [{
2760
- "backdrop-saturate": [v, d, c]
2769
+ "backdrop-saturate": [v, u, d]
2761
2770
  }],
2762
2771
  /**
2763
2772
  * Backdrop Sepia
2764
2773
  * @see https://tailwindcss.com/docs/backdrop-sepia
2765
2774
  */
2766
2775
  "backdrop-sepia": [{
2767
- "backdrop-sepia": ["", v, d, c]
2776
+ "backdrop-sepia": ["", v, u, d]
2768
2777
  }],
2769
2778
  // --------------
2770
2779
  // --- Tables ---
@@ -2819,7 +2828,7 @@ const S = (e) => {
2819
2828
  * @see https://tailwindcss.com/docs/transition-property
2820
2829
  */
2821
2830
  transition: [{
2822
- transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", d, c]
2831
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", u, d]
2823
2832
  }],
2824
2833
  /**
2825
2834
  * Transition Behavior
@@ -2833,28 +2842,28 @@ const S = (e) => {
2833
2842
  * @see https://tailwindcss.com/docs/transition-duration
2834
2843
  */
2835
2844
  duration: [{
2836
- duration: [v, "initial", d, c]
2845
+ duration: [v, "initial", u, d]
2837
2846
  }],
2838
2847
  /**
2839
2848
  * Transition Timing Function
2840
2849
  * @see https://tailwindcss.com/docs/transition-timing-function
2841
2850
  */
2842
2851
  ease: [{
2843
- ease: ["linear", "initial", R, d, c]
2852
+ ease: ["linear", "initial", P, u, d]
2844
2853
  }],
2845
2854
  /**
2846
2855
  * Transition Delay
2847
2856
  * @see https://tailwindcss.com/docs/transition-delay
2848
2857
  */
2849
2858
  delay: [{
2850
- delay: [v, d, c]
2859
+ delay: [v, u, d]
2851
2860
  }],
2852
2861
  /**
2853
2862
  * Animation
2854
2863
  * @see https://tailwindcss.com/docs/animation
2855
2864
  */
2856
2865
  animate: [{
2857
- animate: ["none", x, d, c]
2866
+ animate: ["none", y, u, d]
2858
2867
  }],
2859
2868
  // ------------------
2860
2869
  // --- Transforms ---
@@ -2871,7 +2880,7 @@ const S = (e) => {
2871
2880
  * @see https://tailwindcss.com/docs/perspective
2872
2881
  */
2873
2882
  perspective: [{
2874
- perspective: [y, d, c]
2883
+ perspective: [w, u, d]
2875
2884
  }],
2876
2885
  /**
2877
2886
  * Perspective Origin
@@ -2885,56 +2894,56 @@ const S = (e) => {
2885
2894
  * @see https://tailwindcss.com/docs/rotate
2886
2895
  */
2887
2896
  rotate: [{
2888
- rotate: te()
2897
+ rotate: ie()
2889
2898
  }],
2890
2899
  /**
2891
2900
  * Rotate X
2892
2901
  * @see https://tailwindcss.com/docs/rotate
2893
2902
  */
2894
2903
  "rotate-x": [{
2895
- "rotate-x": te()
2904
+ "rotate-x": ie()
2896
2905
  }],
2897
2906
  /**
2898
2907
  * Rotate Y
2899
2908
  * @see https://tailwindcss.com/docs/rotate
2900
2909
  */
2901
2910
  "rotate-y": [{
2902
- "rotate-y": te()
2911
+ "rotate-y": ie()
2903
2912
  }],
2904
2913
  /**
2905
2914
  * Rotate Z
2906
2915
  * @see https://tailwindcss.com/docs/rotate
2907
2916
  */
2908
2917
  "rotate-z": [{
2909
- "rotate-z": te()
2918
+ "rotate-z": ie()
2910
2919
  }],
2911
2920
  /**
2912
2921
  * Scale
2913
2922
  * @see https://tailwindcss.com/docs/scale
2914
2923
  */
2915
2924
  scale: [{
2916
- scale: oe()
2925
+ scale: le()
2917
2926
  }],
2918
2927
  /**
2919
2928
  * Scale X
2920
2929
  * @see https://tailwindcss.com/docs/scale
2921
2930
  */
2922
2931
  "scale-x": [{
2923
- "scale-x": oe()
2932
+ "scale-x": le()
2924
2933
  }],
2925
2934
  /**
2926
2935
  * Scale Y
2927
2936
  * @see https://tailwindcss.com/docs/scale
2928
2937
  */
2929
2938
  "scale-y": [{
2930
- "scale-y": oe()
2939
+ "scale-y": le()
2931
2940
  }],
2932
2941
  /**
2933
2942
  * Scale Z
2934
2943
  * @see https://tailwindcss.com/docs/scale
2935
2944
  */
2936
2945
  "scale-z": [{
2937
- "scale-z": oe()
2946
+ "scale-z": le()
2938
2947
  }],
2939
2948
  /**
2940
2949
  * Scale 3D
@@ -2946,28 +2955,28 @@ const S = (e) => {
2946
2955
  * @see https://tailwindcss.com/docs/skew
2947
2956
  */
2948
2957
  skew: [{
2949
- skew: me()
2958
+ skew: xe()
2950
2959
  }],
2951
2960
  /**
2952
2961
  * Skew X
2953
2962
  * @see https://tailwindcss.com/docs/skew
2954
2963
  */
2955
2964
  "skew-x": [{
2956
- "skew-x": me()
2965
+ "skew-x": xe()
2957
2966
  }],
2958
2967
  /**
2959
2968
  * Skew Y
2960
2969
  * @see https://tailwindcss.com/docs/skew
2961
2970
  */
2962
2971
  "skew-y": [{
2963
- "skew-y": me()
2972
+ "skew-y": xe()
2964
2973
  }],
2965
2974
  /**
2966
2975
  * Transform
2967
2976
  * @see https://tailwindcss.com/docs/transform
2968
2977
  */
2969
2978
  transform: [{
2970
- transform: [d, c, "", "none", "gpu", "cpu"]
2979
+ transform: [u, d, "", "none", "gpu", "cpu"]
2971
2980
  }],
2972
2981
  /**
2973
2982
  * Transform Origin
@@ -2988,28 +2997,28 @@ const S = (e) => {
2988
2997
  * @see https://tailwindcss.com/docs/translate
2989
2998
  */
2990
2999
  translate: [{
2991
- translate: re()
3000
+ translate: ce()
2992
3001
  }],
2993
3002
  /**
2994
3003
  * Translate X
2995
3004
  * @see https://tailwindcss.com/docs/translate
2996
3005
  */
2997
3006
  "translate-x": [{
2998
- "translate-x": re()
3007
+ "translate-x": ce()
2999
3008
  }],
3000
3009
  /**
3001
3010
  * Translate Y
3002
3011
  * @see https://tailwindcss.com/docs/translate
3003
3012
  */
3004
3013
  "translate-y": [{
3005
- "translate-y": re()
3014
+ "translate-y": ce()
3006
3015
  }],
3007
3016
  /**
3008
3017
  * Translate Z
3009
3018
  * @see https://tailwindcss.com/docs/translate
3010
3019
  */
3011
3020
  "translate-z": [{
3012
- "translate-z": re()
3021
+ "translate-z": ce()
3013
3022
  }],
3014
3023
  /**
3015
3024
  * Translate None
@@ -3052,7 +3061,7 @@ const S = (e) => {
3052
3061
  * @see https://tailwindcss.com/docs/cursor
3053
3062
  */
3054
3063
  cursor: [{
3055
- 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", d, c]
3064
+ 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", u, d]
3056
3065
  }],
3057
3066
  /**
3058
3067
  * Field Sizing
@@ -3274,7 +3283,7 @@ const S = (e) => {
3274
3283
  * @see https://tailwindcss.com/docs/will-change
3275
3284
  */
3276
3285
  "will-change": [{
3277
- "will-change": ["auto", "scroll", "contents", "transform", d, c]
3286
+ "will-change": ["auto", "scroll", "contents", "transform", u, d]
3278
3287
  }],
3279
3288
  // -----------
3280
3289
  // --- SVG ---
@@ -3291,7 +3300,7 @@ const S = (e) => {
3291
3300
  * @see https://tailwindcss.com/docs/stroke-width
3292
3301
  */
3293
3302
  "stroke-w": [{
3294
- stroke: [v, Z, F, ge]
3303
+ stroke: [v, X, F, we]
3295
3304
  }],
3296
3305
  /**
3297
3306
  * Stroke
@@ -3366,16 +3375,16 @@ const S = (e) => {
3366
3375
  },
3367
3376
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3368
3377
  };
3369
- }, Jo = /* @__PURE__ */ Mo(Xo);
3370
- function M(...e) {
3371
- return Jo(ho(e));
3372
- }
3373
- function Yo({ children: e, className: t, ...o }) {
3374
- const { colorScheme: r } = Me();
3375
- return /* @__PURE__ */ u(
3376
- mo,
3378
+ }, dr = /* @__PURE__ */ Fo(cr);
3379
+ function x(...e) {
3380
+ return dr(So(e));
3381
+ }
3382
+ function ur({ children: e, className: t, ...o }) {
3383
+ const { colorScheme: r } = De(), { value: n } = $e();
3384
+ return /* @__PURE__ */ i(
3385
+ Po,
3377
3386
  {
3378
- className: M(
3387
+ className: x(
3379
3388
  "focus:outline-2 has-[:focus-visible]:ring-2 has-[:focus-visible]:ring-[var(--accordion-focus,hsl(var(--primary)))] has-[:focus-visible]:ring-offset-4",
3380
3389
  {
3381
3390
  light: "ring-offset-[var(--acordion-light-offset,hsl(var(--background)))]",
@@ -3384,85 +3393,130 @@ function Yo({ children: e, className: t, ...o }) {
3384
3393
  t
3385
3394
  ),
3386
3395
  "data-slot": "accordion-item",
3396
+ value: n,
3387
3397
  ...o,
3388
3398
  children: e
3389
3399
  }
3390
3400
  );
3391
3401
  }
3392
- function Qo({ ...e }) {
3393
- return /* @__PURE__ */ u(fo, { "data-slot": "accordion-root", ...e });
3402
+ function mr({ className: e, ...t }) {
3403
+ return /* @__PURE__ */ i(No, { className: x(e), ...t, "data-slot": "accordion-root" });
3394
3404
  }
3395
- function er({ children: e, className: t, ...o }) {
3396
- const { colorScheme: r } = Me(), [n, a] = St(!1);
3397
- return _t(() => {
3405
+ function fr({ className: e, ...t }) {
3406
+ const { colorScheme: o } = De(), { content: r } = $e(), [n, a] = ke(!1);
3407
+ return et(() => {
3398
3408
  a(!0);
3399
- }, []), /* @__PURE__ */ u(
3400
- bo,
3409
+ }, []), /* @__PURE__ */ i(
3410
+ Ro,
3401
3411
  {
3402
- className: M(
3412
+ className: x(
3403
3413
  "overflow-hidden",
3404
3414
  // We need to delay the animation until the component is mounted to avoid the animation from being triggered when the component is first rendered.
3405
3415
  n && "data-[state=closed]:animate-collapse data-[state=open]:animate-expand"
3406
3416
  ),
3407
- ...o,
3408
- children: /* @__PURE__ */ u(
3417
+ ...t,
3418
+ children: /* @__PURE__ */ i(
3409
3419
  "div",
3410
3420
  {
3411
- className: M(
3421
+ className: x(
3412
3422
  "py-3 text-base font-light leading-normal [font-family:var(--accordion-content-font-family,var(--font-family-body))]",
3413
3423
  {
3414
3424
  light: "text-[var(--accordion-light-content-text,hsl(var(--foreground)))]",
3415
3425
  dark: "text-[var(--accordion-dark-content-text,hsl(var(--background)))]"
3416
- }[r],
3417
- t
3426
+ }[o],
3427
+ e
3418
3428
  ),
3419
3429
  "data-slot": "accordion-content",
3420
- children: e
3430
+ children: r
3421
3431
  }
3422
3432
  )
3423
3433
  }
3424
3434
  );
3425
3435
  }
3426
- function tr({ children: e, className: t, ...o }) {
3427
- const { colorScheme: r } = Me();
3428
- return /* @__PURE__ */ u(po, { children: /* @__PURE__ */ W(
3429
- go,
3436
+ const zt = ee(void 0);
3437
+ function pr({
3438
+ children: e,
3439
+ colorScheme: t = "light",
3440
+ items: o
3441
+ }) {
3442
+ const r = te(
3443
+ () => ({
3444
+ colorScheme: t,
3445
+ items: o
3446
+ }),
3447
+ [t, o]
3448
+ );
3449
+ return /* @__PURE__ */ i(zt.Provider, { value: r, children: e });
3450
+ }
3451
+ function De() {
3452
+ const e = oe(zt);
3453
+ if (e === void 0)
3454
+ throw new Error("useAccordion must be used within an AccordionProvider");
3455
+ return e;
3456
+ }
3457
+ const Tt = ee(void 0);
3458
+ function gr({
3459
+ children: e,
3460
+ title: t,
3461
+ content: o,
3462
+ value: r
3463
+ }) {
3464
+ const n = te(
3465
+ () => ({
3466
+ title: t,
3467
+ content: o,
3468
+ value: r
3469
+ }),
3470
+ [t, o, r]
3471
+ );
3472
+ return /* @__PURE__ */ i(Tt.Provider, { value: n, children: e });
3473
+ }
3474
+ function $e() {
3475
+ const e = oe(Tt);
3476
+ if (e === void 0)
3477
+ throw new Error("useAccordionItem must be used within an AccordionItemProvider");
3478
+ return e;
3479
+ }
3480
+ function br({ className: e, ...t }) {
3481
+ const { colorScheme: o } = De(), { title: r } = $e();
3482
+ return /* @__PURE__ */ i(Io, { children: /* @__PURE__ */ B(
3483
+ _o,
3430
3484
  {
3431
- className: M(
3485
+ className: x(
3432
3486
  "group flex w-full cursor-pointer items-start gap-8 border-none py-3 text-start focus:outline-none @md:py-4",
3433
- t
3487
+ e
3434
3488
  ),
3435
3489
  "data-slot": "accordion-trigger",
3436
- ...o,
3490
+ ...t,
3437
3491
  children: [
3438
- /* @__PURE__ */ u(
3492
+ /* @__PURE__ */ i(
3439
3493
  "div",
3440
3494
  {
3441
- className: M(
3495
+ className: x(
3442
3496
  "flex-1 select-none text-sm font-normal uppercase transition-colors duration-300 ease-out [font-family:var(--accordion-title-font-family,var(--font-family-mono))]",
3443
3497
  {
3444
3498
  light: "text-[var(--accordion-light-title-text,hsl(var(--contrast-400)))] group-hover:text-[var(--accordion-light-title-text-hover,hsl(var(--foreground)))]",
3445
3499
  dark: "text-[var(--accordion-dark-title-text,hsl(var(--contrast-200)))] group-hover:text-[var(--accordion-dark-title-text-hover,hsl(var(--background)))]"
3446
- }[r]
3500
+ }[o]
3447
3501
  ),
3448
- children: e
3502
+ children: r
3449
3503
  }
3450
3504
  ),
3451
- /* @__PURE__ */ W(
3505
+ /* @__PURE__ */ B(
3452
3506
  "svg",
3453
3507
  {
3454
- className: M(
3508
+ className: x(
3455
3509
  "mt-1 shrink-0 [&>line]:origin-center [&>line]:transition [&>line]:duration-300 [&>line]:ease-out",
3456
3510
  {
3457
3511
  light: "stroke-[var(--accordion-light-title-icon,hsl(var(--contrast-500)))] group-hover:stroke-[var(--accordion-light-title-icon-hover,hsl(var(--foreground)))]",
3458
3512
  dark: "stroke-[var(--accordion-dark-title-icon,hsl(var(--contrast-200)))] group-hover:stroke-[var(--accordion-dark-title-icon-hover,hsl(var(--background)))]"
3459
- }[r]
3513
+ }[o]
3460
3514
  ),
3461
3515
  "data-slot": "accordion-chevron",
3462
3516
  viewBox: "0 0 10 10",
3463
3517
  width: 16,
3464
3518
  children: [
3465
- /* @__PURE__ */ u(
3519
+ /* @__PURE__ */ i(
3466
3520
  "line",
3467
3521
  {
3468
3522
  className: "group-data-[state=open]:-translate-y-[3px] group-data-[state=open]:-rotate-90",
@@ -3473,7 +3527,7 @@ function tr({ children: e, className: t, ...o }) {
3473
3527
  y2: 5
3474
3528
  }
3475
3529
  ),
3476
- /* @__PURE__ */ u(
3530
+ /* @__PURE__ */ i(
3477
3531
  "line",
3478
3532
  {
3479
3533
  className: "group-data-[state=open]:-translate-y-[3px] group-data-[state=open]:rotate-90",
@@ -3491,90 +3545,120 @@ function tr({ children: e, className: t, ...o }) {
3491
3545
  }
3492
3546
  ) });
3493
3547
  }
3494
- const At = Pt(void 0);
3495
- function or({ children: e, colorScheme: t = "light" }) {
3496
- return /* @__PURE__ */ u(At.Provider, { value: { colorScheme: t }, children: e });
3497
- }
3498
- function Me() {
3499
- const e = Mt(At);
3500
- if (e === void 0)
3501
- throw new Error("useAccordionContext must be used within an AccordionProvider");
3502
- return e;
3503
- }
3504
- function Cr({ variant: e, message: t, description: o, action: r, dismiss: n }) {
3505
- return /* @__PURE__ */ W(rr, { variant: e, children: [
3506
- /* @__PURE__ */ W(nr, { children: [
3507
- /* @__PURE__ */ u(ar, { children: t }),
3508
- o != null && /* @__PURE__ */ u(sr, { children: o })
3509
- ] }),
3510
- /* @__PURE__ */ W(ir, { children: [
3511
- r && /* @__PURE__ */ u(hr, { onClick: r.onClick, children: r.label }),
3512
- /* @__PURE__ */ u(vr, { "aria-label": n.label, onClick: n.onClick })
3513
- ] })
3514
- ] });
3548
+ function Yr({ className: e, variant: t, message: o, description: r, action: n, dismiss: a }) {
3549
+ return /* @__PURE__ */ i(
3550
+ vr,
3551
+ {
3552
+ action: n,
3553
+ description: r,
3554
+ dismiss: a,
3555
+ message: o,
3556
+ variant: t,
3557
+ children: /* @__PURE__ */ B(hr, { className: e, children: [
3558
+ /* @__PURE__ */ B(xr, { children: [
3559
+ /* @__PURE__ */ i(yr, {}),
3560
+ /* @__PURE__ */ i(wr, {})
3561
+ ] }),
3562
+ /* @__PURE__ */ B(kr, { children: [
3563
+ /* @__PURE__ */ i(Mr, {}),
3564
+ /* @__PURE__ */ i(Er, {})
3565
+ ] })
3566
+ ] })
3567
+ }
3568
+ );
3515
3569
  }
3516
- function rr({ variant: e, className: t, children: o, ...r }) {
3517
- return /* @__PURE__ */ u(
3570
+ function hr({ className: e, children: t, ...o }) {
3571
+ const { variant: r } = ne();
3572
+ return /* @__PURE__ */ i(
3518
3573
  "div",
3519
3574
  {
3520
- className: M(
3575
+ className: x(
3521
3576
  "flex max-w-[356px] items-center justify-between gap-2 rounded-xl border border-[var(--alert-border,color-mix(in_oklab,hsl(var(--foreground))_10%,transparent))] py-3 pe-3 ps-4 shadow",
3522
3577
  {
3523
3578
  success: "bg-[var(--alert-success-background,color-mix(in_oklab,hsl(var(--success)),white_75%))]",
3524
3579
  warning: "bg-[var(--alert-warning-background,color-mix(in_oklab,hsl(var(--warning)),white_75%))]",
3525
3580
  error: "bg-[var(--alert-error-background,color-mix(in_oklab,hsl(var(--error)),white_75%))]",
3526
3581
  info: "bg-[var(--alert-info-background,hsl(var(--background)))]"
3527
- }[e],
3528
- t
3582
+ }[r],
3583
+ e
3529
3584
  ),
3530
3585
  "data-slot": "alert-root",
3531
3586
  role: "alert",
3532
- ...r,
3533
- children: o
3587
+ ...o,
3588
+ children: t
3534
3589
  }
3535
3590
  );
3536
3591
  }
3537
- function nr({ children: e, className: t, ...o }) {
3538
- return /* @__PURE__ */ u(
3592
+ const Ot = ee(void 0);
3593
+ function vr({
3594
+ children: e,
3595
+ message: t,
3596
+ description: o,
3597
+ action: r,
3598
+ dismiss: n,
3599
+ variant: a
3600
+ }) {
3601
+ const s = te(
3602
+ () => ({
3603
+ message: t,
3604
+ description: o,
3605
+ action: r,
3606
+ dismiss: n,
3607
+ variant: a
3608
+ }),
3609
+ [t, o, r, n, a]
3610
+ );
3611
+ return /* @__PURE__ */ i(Ot.Provider, { value: s, children: e });
3612
+ }
3613
+ function ne() {
3614
+ const e = oe(Ot);
3615
+ if (e === void 0)
3616
+ throw new Error("useAlert must be used within a AlertProvider");
3617
+ return e;
3618
+ }
3619
+ function xr({ children: e, className: t, ...o }) {
3620
+ return /* @__PURE__ */ i(
3539
3621
  "div",
3540
3622
  {
3541
- className: M("[font-family:var(--alert-font-family,var(--font-family-body))]", t),
3623
+ className: x("[font-family:var(--alert-font-family,var(--font-family-body))]", t),
3542
3624
  "data-slot": "alert-header",
3543
3625
  ...o,
3544
3626
  children: e
3545
3627
  }
3546
3628
  );
3547
3629
  }
3548
- function ar({ children: e, className: t, ...o }) {
3549
- return /* @__PURE__ */ u(
3630
+ function yr({ children: e, className: t, ...o }) {
3631
+ const { message: r } = ne();
3632
+ return /* @__PURE__ */ i(
3550
3633
  "h5",
3551
3634
  {
3552
- className: M(
3635
+ className: x(
3553
3636
  "text-sm font-normal text-[var(--alert-message-text,hsl(var(--foreground)))]",
3554
3637
  t
3555
3638
  ),
3556
3639
  "data-slot": "alert-title",
3557
3640
  ...o,
3558
- children: e
3641
+ children: r
3559
3642
  }
3560
3643
  );
3561
3644
  }
3562
- function sr({ children: e, className: t, ...o }) {
3563
- return /* @__PURE__ */ u(
3645
+ function wr({ className: e, ...t }) {
3646
+ const { description: o } = ne();
3647
+ return /* @__PURE__ */ i(
3564
3648
  "p",
3565
3649
  {
3566
- className: M(
3650
+ className: x(
3567
3651
  "text-xs font-medium text-[color:var(--alert-description-text,color-mix(in_oklab,hsl(var(--foreground))_50%,transparent))]",
3568
- t
3652
+ e
3569
3653
  ),
3570
3654
  "data-slot": "alert-description",
3571
- ...o,
3572
- children: e
3655
+ ...t,
3656
+ children: o
3573
3657
  }
3574
3658
  );
3575
3659
  }
3576
- function ir({ children: e, className: t, ...o }) {
3577
- return /* @__PURE__ */ u("div", { className: M("flex items-center gap-1", t), "data-slot": "alert-actions", ...o, children: e });
3660
+ function kr({ children: e, className: t, ...o }) {
3661
+ return /* @__PURE__ */ i("div", { className: x("flex items-center gap-1", t), "data-slot": "alert-actions", ...o, children: e });
3578
3662
  }
3579
3663
  /**
3580
3664
  * @license lucide-react v0.545.0 - ISC
@@ -3582,13 +3666,13 @@ function ir({ children: e, className: t, ...o }) {
3582
3666
  * This source code is licensed under the ISC license.
3583
3667
  * See the LICENSE file in the root directory of this source tree.
3584
3668
  */
3585
- const lr = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), cr = (e) => e.replace(
3669
+ const Cr = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Ar = (e) => e.replace(
3586
3670
  /^([A-Z])|[\s-_]+(\w)/g,
3587
3671
  (t, o, r) => r ? r.toUpperCase() : o.toLowerCase()
3588
- ), Be = (e) => {
3589
- const t = cr(e);
3672
+ ), Qe = (e) => {
3673
+ const t = Ar(e);
3590
3674
  return t.charAt(0).toUpperCase() + t.slice(1);
3591
- }, Rt = (...e) => e.filter((t, o, r) => !!t && t.trim() !== "" && r.indexOf(t) === o).join(" ").trim(), dr = (e) => {
3675
+ }, Bt = (...e) => e.filter((t, o, r) => !!t && t.trim() !== "" && r.indexOf(t) === o).join(" ").trim(), Nr = (e) => {
3592
3676
  for (const t in e)
3593
3677
  if (t.startsWith("aria-") || t === "role" || t === "title")
3594
3678
  return !0;
@@ -3599,7 +3683,7 @@ const lr = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), cr = (
3599
3683
  * This source code is licensed under the ISC license.
3600
3684
  * See the LICENSE file in the root directory of this source tree.
3601
3685
  */
3602
- var ur = {
3686
+ var Pr = {
3603
3687
  xmlns: "http://www.w3.org/2000/svg",
3604
3688
  width: 24,
3605
3689
  height: 24,
@@ -3616,7 +3700,7 @@ var ur = {
3616
3700
  * This source code is licensed under the ISC license.
3617
3701
  * See the LICENSE file in the root directory of this source tree.
3618
3702
  */
3619
- const fr = He(
3703
+ const Ir = tt(
3620
3704
  ({
3621
3705
  color: e = "currentColor",
3622
3706
  size: t = 24,
@@ -3625,22 +3709,22 @@ const fr = He(
3625
3709
  className: n = "",
3626
3710
  children: a,
3627
3711
  iconNode: s,
3628
- ...i
3629
- }, l) => be(
3712
+ ...l
3713
+ }, c) => Ce(
3630
3714
  "svg",
3631
3715
  {
3632
- ref: l,
3633
- ...ur,
3716
+ ref: c,
3717
+ ...Pr,
3634
3718
  width: t,
3635
3719
  height: t,
3636
3720
  stroke: e,
3637
3721
  strokeWidth: r ? Number(o) * 24 / Number(t) : o,
3638
- className: Rt("lucide", n),
3639
- ...!a && !dr(i) && { "aria-hidden": "true" },
3640
- ...i
3722
+ className: Bt("lucide", n),
3723
+ ...!a && !Nr(l) && { "aria-hidden": "true" },
3724
+ ...l
3641
3725
  },
3642
3726
  [
3643
- ...s.map(([f, p]) => be(f, p)),
3727
+ ...s.map(([m, p]) => Ce(m, p)),
3644
3728
  ...Array.isArray(a) ? a : [a]
3645
3729
  ]
3646
3730
  )
@@ -3651,20 +3735,20 @@ const fr = He(
3651
3735
  * This source code is licensed under the ISC license.
3652
3736
  * See the LICENSE file in the root directory of this source tree.
3653
3737
  */
3654
- const Nt = (e, t) => {
3655
- const o = He(
3656
- ({ className: r, ...n }, a) => be(fr, {
3738
+ const Lt = (e, t) => {
3739
+ const o = tt(
3740
+ ({ className: r, ...n }, a) => Ce(Ir, {
3657
3741
  ref: a,
3658
3742
  iconNode: t,
3659
- className: Rt(
3660
- `lucide-${lr(Be(e))}`,
3743
+ className: Bt(
3744
+ `lucide-${Cr(Qe(e))}`,
3661
3745
  `lucide-${e}`,
3662
3746
  r
3663
3747
  ),
3664
3748
  ...n
3665
3749
  })
3666
3750
  );
3667
- return o.displayName = Be(e), o;
3751
+ return o.displayName = Qe(e), o;
3668
3752
  };
3669
3753
  /**
3670
3754
  * @license lucide-react v0.545.0 - ISC
@@ -3672,18 +3756,18 @@ const Nt = (e, t) => {
3672
3756
  * This source code is licensed under the ISC license.
3673
3757
  * See the LICENSE file in the root directory of this source tree.
3674
3758
  */
3675
- const mr = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], pr = Nt("loader-circle", mr);
3759
+ const _r = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], Rr = Lt("loader-circle", _r);
3676
3760
  /**
3677
3761
  * @license lucide-react v0.545.0 - ISC
3678
3762
  *
3679
3763
  * This source code is licensed under the ISC license.
3680
3764
  * See the LICENSE file in the root directory of this source tree.
3681
3765
  */
3682
- const gr = [
3766
+ const Sr = [
3683
3767
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
3684
3768
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
3685
- ], br = Nt("x", gr);
3686
- function It({
3769
+ ], Dt = Lt("x", Sr);
3770
+ function $t({
3687
3771
  variant: e = "primary",
3688
3772
  size: t = "large",
3689
3773
  shape: o = "pill",
@@ -3691,14 +3775,14 @@ function It({
3691
3775
  type: n = "button",
3692
3776
  disabled: a = !1,
3693
3777
  className: s,
3694
- children: i,
3695
- ...l
3778
+ children: l,
3779
+ ...c
3696
3780
  }) {
3697
- return /* @__PURE__ */ W(
3781
+ return /* @__PURE__ */ B(
3698
3782
  "button",
3699
3783
  {
3700
3784
  "aria-busy": r,
3701
- className: M(
3785
+ className: x(
3702
3786
  "after:ease-[cubic-bezier(0,0.25,0,1)] relative z-0 inline-flex h-fit select-none items-center justify-center overflow-hidden border text-center font-body font-semibold leading-normal after:absolute after:inset-0 after:-z-10 after:-translate-x-[105%] after:transition-[opacity,transform] after:duration-300 focus-visible:outline-2 focus-visible:outline-[var(--button-focus,hsl(var(--primary)))] disabled:pointer-events-none disabled:opacity-30",
3703
3787
  {
3704
3788
  primary: "border-[var(--button-primary-border,hsl(var(--primary)))] bg-[var(--button-primary-background,hsl(var(--primary)))] text-[var(--button-primary-text,hsl(var(--foreground)))] after:bg-[var(--button-primary-background-hover,color-mix(in_oklab,hsl(var(--primary)),white_75%))] focus-visible:outline-offset-2",
@@ -3720,12 +3804,12 @@ function It({
3720
3804
  "data-slot": "button",
3721
3805
  disabled: a,
3722
3806
  type: n,
3723
- ...l,
3807
+ ...c,
3724
3808
  children: [
3725
- /* @__PURE__ */ u(
3809
+ /* @__PURE__ */ i(
3726
3810
  "span",
3727
3811
  {
3728
- className: M(
3812
+ className: x(
3729
3813
  "inline-flex items-center justify-center transition-all duration-300 ease-in-out",
3730
3814
  r ? "-translate-y-10 opacity-0" : "translate-y-0 opacity-100",
3731
3815
  o === "circle" && "aspect-square",
@@ -3743,20 +3827,20 @@ function It({
3743
3827
  }[t],
3744
3828
  e === "secondary" && "mix-blend-difference"
3745
3829
  ),
3746
- children: i
3830
+ children: l
3747
3831
  }
3748
3832
  ),
3749
- /* @__PURE__ */ u(
3833
+ /* @__PURE__ */ i(
3750
3834
  "span",
3751
3835
  {
3752
- className: M(
3836
+ className: x(
3753
3837
  "absolute inset-0 grid place-content-center transition-all duration-300 ease-in-out",
3754
3838
  r ? "translate-y-0 opacity-100" : "translate-y-10 opacity-0"
3755
3839
  ),
3756
- children: /* @__PURE__ */ u(
3757
- pr,
3840
+ children: /* @__PURE__ */ i(
3841
+ Rr,
3758
3842
  {
3759
- className: M(
3843
+ className: x(
3760
3844
  "animate-spin",
3761
3845
  e === "tertiary" && "text-[var(--button-loader-icon,hsl(var(--foreground)))]"
3762
3846
  )
@@ -3768,17 +3852,33 @@ function It({
3768
3852
  }
3769
3853
  );
3770
3854
  }
3771
- function hr({ children: e, ...t }) {
3772
- return /* @__PURE__ */ u(It, { "data-slot": "alert-button", size: "x-small", variant: "ghost", ...t, children: e });
3855
+ function Mr({ children: e, ...t }) {
3856
+ const { action: o } = ne();
3857
+ if (!o) return null;
3858
+ const { label: r, onClick: n } = o;
3859
+ return /* @__PURE__ */ i($t, { "data-slot": "alert-button", onClick: n, size: "x-small", variant: "ghost", ...t, children: r });
3773
3860
  }
3774
- function vr({ ...e }) {
3775
- return /* @__PURE__ */ u(It, { "data-slot": "alert-close-button", shape: "circle", size: "x-small", variant: "ghost", ...e, children: /* @__PURE__ */ u(br, { size: 20, strokeWidth: 1 }) });
3861
+ function Er({ ...e }) {
3862
+ const { dismiss: t } = ne(), { label: o, onClick: r } = t;
3863
+ return /* @__PURE__ */ i(
3864
+ $t,
3865
+ {
3866
+ "aria-label": o,
3867
+ "data-slot": "alert-close-button",
3868
+ onClick: r,
3869
+ shape: "circle",
3870
+ size: "x-small",
3871
+ variant: "ghost",
3872
+ ...e,
3873
+ children: /* @__PURE__ */ i(Dt, { size: 20, strokeWidth: 1 })
3874
+ }
3875
+ );
3776
3876
  }
3777
- function Ar({ className: e, children: t, ...o }) {
3778
- return /* @__PURE__ */ u(
3877
+ function Qr({ className: e, children: t, ...o }) {
3878
+ return /* @__PURE__ */ i(
3779
3879
  "span",
3780
3880
  {
3781
- className: M(
3881
+ className: x(
3782
3882
  "origin-left font-semibold leading-normal text-[var(--animated-underline-text,hsl(var(--foreground)))] transition-[background-size] duration-300 [background:linear-gradient(0deg,var(--animated-underline-hover,hsl(var(--primary))),var(--animated-underline-hover,hsl(var(--primary))))_no-repeat_left_bottom_/_0_2px] [font-family:var(--animated-underline-font-family,var(--font-family-body))] hover:bg-[size:100%_2px] group-focus/underline:bg-[size:100%_2px]",
3783
3883
  e
3784
3884
  ),
@@ -3787,17 +3887,17 @@ function Ar({ className: e, children: t, ...o }) {
3787
3887
  }
3788
3888
  );
3789
3889
  }
3790
- function Rr({
3890
+ function en({
3791
3891
  children: e,
3792
3892
  shape: t = "rounded",
3793
3893
  className: o,
3794
3894
  variant: r = "primary",
3795
3895
  ...n
3796
3896
  }) {
3797
- return /* @__PURE__ */ u(
3897
+ return /* @__PURE__ */ i(
3798
3898
  "span",
3799
3899
  {
3800
- className: M(
3900
+ className: x(
3801
3901
  "px-2 py-0.5 text-xs uppercase tracking-tighter text-[var(--badge-text,hsl(var(--foreground)))] [font-family:var(--badge-font-family,var(--font-family-mono))]",
3802
3902
  {
3803
3903
  pill: "rounded-full",
@@ -3817,24 +3917,400 @@ function Rr({
3817
3917
  }
3818
3918
  );
3819
3919
  }
3920
+ const tn = ({
3921
+ id: e,
3922
+ children: t,
3923
+ hideDismiss: o = !1,
3924
+ className: r,
3925
+ onDismiss: n
3926
+ }) => /* @__PURE__ */ i(zr, { hideDismiss: o, id: e, onDismiss: n, children: /* @__PURE__ */ i(Tr, { className: r, children: /* @__PURE__ */ B(Or, { children: [
3927
+ /* @__PURE__ */ i(Br, { children: t }),
3928
+ /* @__PURE__ */ i(Lr, {})
3929
+ ] }) }) }), Vt = ee(void 0);
3930
+ function zr({ id: e, hideDismiss: t, onDismiss: o, children: r }) {
3931
+ const [n, a] = ke(!1), [s, l] = ke(!1);
3932
+ et(() => {
3933
+ const p = localStorage.getItem(`${e}-hidden-banner`) === "true";
3934
+ a(p), l(!0);
3935
+ }, [e]);
3936
+ const c = Ft(() => {
3937
+ a(!0), localStorage.setItem(`${e}-hidden-banner`, "true"), o?.();
3938
+ }, [e, o]), m = te(
3939
+ () => ({
3940
+ id: e,
3941
+ isInitialized: s,
3942
+ isDismissed: n,
3943
+ hideDismiss: t,
3944
+ handleDismiss: c
3945
+ }),
3946
+ [e, s, n, t, c]
3947
+ );
3948
+ return /* @__PURE__ */ i(Vt.Provider, { value: m, children: s ? r : null });
3949
+ }
3950
+ function Gt() {
3951
+ const e = oe(Vt);
3952
+ if (e === void 0)
3953
+ throw new Error("useBanner must be used within a BannerProvider");
3954
+ return e;
3955
+ }
3956
+ function Tr({ children: e, className: t, ...o }) {
3957
+ const { id: r, isDismissed: n } = Gt();
3958
+ return /* @__PURE__ */ i(
3959
+ "div",
3960
+ {
3961
+ className: x(
3962
+ "overflow-hidden bg-[var(--banner-background,hsl(var(--primary)))] transition-all duration-300 ease-in @container",
3963
+ n ? "pointer-events-none max-h-0" : "max-h-32",
3964
+ t
3965
+ ),
3966
+ "data-slot": "banner-root",
3967
+ id: r,
3968
+ ...o,
3969
+ children: e
3970
+ }
3971
+ );
3972
+ }
3973
+ function Or({ className: e, children: t }) {
3974
+ return /* @__PURE__ */ i(
3975
+ "div",
3976
+ {
3977
+ className: x("flex items-center justify-between gap-4 px-8 py-3", e),
3978
+ "data-slot": "banner-content",
3979
+ children: t
3980
+ }
3981
+ );
3982
+ }
3983
+ function Br({ children: e, className: t, ...o }) {
3984
+ return /* @__PURE__ */ i(
3985
+ "div",
3986
+ {
3987
+ className: x(
3988
+ "flex-1 text-sm text-[var(--banner-text,hsl(var(--foreground)))] [font-family:var(--banner-font-family,var(--font-family-body))] @xl:text-center @xl:text-base",
3989
+ t
3990
+ ),
3991
+ "data-slot": "banner-text",
3992
+ ...o,
3993
+ children: e
3994
+ }
3995
+ );
3996
+ }
3997
+ function Lr({ className: e, ...t }) {
3998
+ const { hideDismiss: o, handleDismiss: r } = Gt();
3999
+ return o ? null : /* @__PURE__ */ i(
4000
+ "button",
4001
+ {
4002
+ "aria-label": "Dismiss banner",
4003
+ className: x(
4004
+ "flex h-8 w-8 items-center justify-center rounded-full bg-[var(--banner-close-background,transparent)] text-[var(--banner-close-icon,color-mix(in_oklab,hsl(var(--foreground))_50%,transparent))] transition-colors duration-300 hover:bg-[var(--banner-close-background-hover,color-mix(in_oklab,hsl(var(--background))_40%,transparent))] hover:text-[var(--banner-close-icon-hover,hsl(var(--foreground)))] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--banner-focus,hsl(var(--foreground)))]",
4005
+ e
4006
+ ),
4007
+ "data-slot": "banner-dismiss",
4008
+ onClick: (n) => {
4009
+ n.preventDefault(), r();
4010
+ },
4011
+ ...t,
4012
+ children: /* @__PURE__ */ i(Dt, { absoluteStrokeWidth: !0, size: 20, strokeWidth: 1.5 })
4013
+ }
4014
+ );
4015
+ }
4016
+ function on({
4017
+ author: e,
4018
+ content: t,
4019
+ date: o,
4020
+ link: r,
4021
+ image: n,
4022
+ title: a,
4023
+ className: s
4024
+ }) {
4025
+ return /* @__PURE__ */ i(
4026
+ Dr,
4027
+ {
4028
+ author: e,
4029
+ content: t,
4030
+ date: o,
4031
+ image: n,
4032
+ link: r,
4033
+ title: a,
4034
+ children: /* @__PURE__ */ B($r, { className: s, children: [
4035
+ /* @__PURE__ */ i(Vr, {}),
4036
+ /* @__PURE__ */ i(jr, {}),
4037
+ /* @__PURE__ */ i(Ur, {}),
4038
+ /* @__PURE__ */ B(Fr, { children: [
4039
+ /* @__PURE__ */ i(Wr, {}),
4040
+ /* @__PURE__ */ i(Hr, {})
4041
+ ] }),
4042
+ /* @__PURE__ */ i(Gr, {})
4043
+ ] })
4044
+ }
4045
+ );
4046
+ }
4047
+ const jt = ee(void 0);
4048
+ function Dr({
4049
+ children: e,
4050
+ title: t,
4051
+ author: o,
4052
+ content: r,
4053
+ date: n,
4054
+ image: a,
4055
+ link: s
4056
+ }) {
4057
+ const l = te(
4058
+ () => ({
4059
+ title: t,
4060
+ author: o,
4061
+ content: r,
4062
+ date: n,
4063
+ image: a,
4064
+ link: s
4065
+ }),
4066
+ [t, o, r, n, a, s]
4067
+ );
4068
+ return /* @__PURE__ */ i(jt.Provider, { value: l, children: e });
4069
+ }
4070
+ function Z() {
4071
+ const e = oe(jt);
4072
+ if (e === void 0)
4073
+ throw new Error("useBlogPostCard must be used within a BlogPostCardProvider");
4074
+ return e;
4075
+ }
4076
+ function $r({
4077
+ as: e,
4078
+ className: t,
4079
+ children: o,
4080
+ ...r
4081
+ }) {
4082
+ return /* @__PURE__ */ i(
4083
+ e ?? "article",
4084
+ {
4085
+ className: x(
4086
+ "group relative w-full max-w-md @container [font-family:var(--blog-post-card-font-family,var(--font-family-body))]",
4087
+ t
4088
+ ),
4089
+ "data-slot": "blog-post-card-root",
4090
+ ...r,
4091
+ children: o
4092
+ }
4093
+ );
4094
+ }
4095
+ function rn({ children: e, className: t, ...o }) {
4096
+ return /* @__PURE__ */ i(
4097
+ "div",
4098
+ {
4099
+ className: x(
4100
+ "p-4 text-5xl font-bold leading-none tracking-tighter [color:var(--blog-post-card-empty-text,color-mix(in_oklab,hsl(var(--foreground))_15%,transparent))]",
4101
+ t
4102
+ ),
4103
+ ...o,
4104
+ children: e
4105
+ }
4106
+ );
4107
+ }
4108
+ function Vr({ className: e, ...t }) {
4109
+ const { image: o, title: r } = Z(), n = "h-full w-full object-cover transition-transform duration-500 ease-out group-hover:scale-110", a = () => {
4110
+ if (!o)
4111
+ return /* @__PURE__ */ i(
4112
+ "div",
4113
+ {
4114
+ className: x(
4115
+ "p-4 text-5xl font-bold leading-none tracking-tighter [color:var(--blog-post-card-empty-text,color-mix(in_oklab,hsl(var(--foreground))_15%,transparent))]",
4116
+ e
4117
+ ),
4118
+ ...t,
4119
+ children: r
4120
+ }
4121
+ );
4122
+ const { src: s, alt: l, render: c } = o;
4123
+ return c ? c({ src: s, alt: l, className: n }) : /* @__PURE__ */ i("img", { alt: l, className: n, src: s });
4124
+ };
4125
+ return /* @__PURE__ */ i(
4126
+ "div",
4127
+ {
4128
+ className: x(
4129
+ "relative aspect-[4/3] w-full overflow-hidden rounded-2xl bg-[var(--blog-post-card-image-background,hsl(var(--contrast-100)))]",
4130
+ e
4131
+ ),
4132
+ ...t,
4133
+ children: a()
4134
+ }
4135
+ );
4136
+ }
4137
+ function Gr({ className: e, ...t }) {
4138
+ const {
4139
+ link: { href: o, ariaLabel: r, render: n }
4140
+ } = Z(), a = x(
4141
+ "absolute inset-0 rounded-b-lg rounded-t-2xl focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--blog-post-card-focus,hsl(var(--primary)))] focus-visible:ring-offset-4",
4142
+ e
4143
+ );
4144
+ return n ? n({ href: o, ariaLabel: r, className: a, ...t }) : /* @__PURE__ */ i("a", { className: a, href: o, ...t, children: /* @__PURE__ */ i("span", { className: "sr-only", children: r }) });
4145
+ }
4146
+ function jr({ className: e, ...t }) {
4147
+ const { title: o } = Z();
4148
+ return /* @__PURE__ */ i(
4149
+ "h5",
4150
+ {
4151
+ className: x(
4152
+ "mt-4 text-lg font-medium leading-snug text-[var(--blog-post-card-title-text,hsl(var(--foreground)))]",
4153
+ e
4154
+ ),
4155
+ "data-slot": "blog-post-card-title",
4156
+ ...t,
4157
+ children: o
4158
+ }
4159
+ );
4160
+ }
4161
+ function Ur({ className: e, ...t }) {
4162
+ const { content: o } = Z();
4163
+ return /* @__PURE__ */ i(
4164
+ "p",
4165
+ {
4166
+ className: x(
4167
+ "mt-1.5 line-clamp-3 text-sm font-normal text-[var(--blog-post-card-content-text,hsl(var(--contrast-400)))]",
4168
+ e
4169
+ ),
4170
+ "data-slot": "blog-post-card-content",
4171
+ ...t,
4172
+ children: o
4173
+ }
4174
+ );
4175
+ }
4176
+ function Fr({ children: e, className: t, ...o }) {
4177
+ return /* @__PURE__ */ i(
4178
+ "div",
4179
+ {
4180
+ className: x(
4181
+ "mt-3 text-sm text-[var(--blog-post-card-author-date-text,hsl(var(--foreground)))]",
4182
+ t
4183
+ ),
4184
+ "data-slot": "blog-post-card-details",
4185
+ ...o,
4186
+ children: e
4187
+ }
4188
+ );
4189
+ }
4190
+ function Wr({ className: e, ...t }) {
4191
+ const { date: o } = Z();
4192
+ return /* @__PURE__ */ i("time", { dateTime: o, ...t, "data-slot": "blog-post-card-date", children: new Date(o).toLocaleDateString("en-US", {
4193
+ year: "numeric",
4194
+ month: "long",
4195
+ day: "numeric"
4196
+ }) });
4197
+ }
4198
+ function Hr({ className: e, ...t }) {
4199
+ const { author: o } = Z();
4200
+ if (o != null)
4201
+ return /* @__PURE__ */ B(Ut, { children: [
4202
+ /* @__PURE__ */ i(
4203
+ "span",
4204
+ {
4205
+ className: x("after:mx-2 after:content-['•']", e),
4206
+ "data-slot": "blog-post-card-author",
4207
+ ...t
4208
+ }
4209
+ ),
4210
+ /* @__PURE__ */ i("span", { children: o })
4211
+ ] });
4212
+ }
4213
+ function qr({ className: e, ...t }) {
4214
+ return /* @__PURE__ */ i(
4215
+ "div",
4216
+ {
4217
+ className: x(
4218
+ "bg-[var(--skeleton,color-mix(in_oklab,hsl(var(--contrast-300))_15%,transparent))]",
4219
+ e
4220
+ ),
4221
+ "data-slot": "skeleton-box",
4222
+ ...t
4223
+ }
4224
+ );
4225
+ }
4226
+ function J({ characterCount: e = 10, className: t, ...o }) {
4227
+ return /* @__PURE__ */ i(
4228
+ "div",
4229
+ {
4230
+ className: x("flex h-[1lh] items-center", t),
4231
+ "data-slot": "skeleton-text",
4232
+ ...o,
4233
+ children: /* @__PURE__ */ i(
4234
+ "div",
4235
+ {
4236
+ className: x(
4237
+ "h-[1ex] max-w-full rounded-[inherit] bg-[var(--skeleton,color-mix(in_oklab,hsl(var(--contrast-300))_15%,transparent))]"
4238
+ ),
4239
+ style: { width: e === "full" ? "100%" : `${e}ch` }
4240
+ }
4241
+ )
4242
+ }
4243
+ );
4244
+ }
4245
+ function nn({
4246
+ className: e,
4247
+ aspectRatio: t = "4:3",
4248
+ ...o
4249
+ }) {
4250
+ return /* @__PURE__ */ B("div", { className: x("w-full max-w-md", e), ...o, children: [
4251
+ /* @__PURE__ */ i(
4252
+ qr,
4253
+ {
4254
+ className: x(
4255
+ "mb-4 w-full rounded-2xl",
4256
+ {
4257
+ "5:6": "aspect-[5/6]",
4258
+ "3:4": "aspect-[3/4]",
4259
+ "4:3": "aspect-[4/3]",
4260
+ "1:1": "aspect-square"
4261
+ }[t]
4262
+ )
4263
+ }
4264
+ ),
4265
+ /* @__PURE__ */ i(J, { characterCount: 25, className: "mt-4 rounded text-lg" }),
4266
+ /* @__PURE__ */ B("div", { className: "mt-1.5", children: [
4267
+ /* @__PURE__ */ i(J, { characterCount: "full", className: "rounded text-sm" }),
4268
+ /* @__PURE__ */ i(J, { characterCount: "full", className: "rounded text-sm" }),
4269
+ /* @__PURE__ */ i(J, { characterCount: 15, className: "rounded text-sm" })
4270
+ ] }),
4271
+ /* @__PURE__ */ i(J, { characterCount: 10, className: "mt-3 rounded text-sm" })
4272
+ ] });
4273
+ }
3820
4274
  export {
3821
- kr as Accordion,
3822
- er as AccordionContent,
3823
- Yo as AccordionItem,
3824
- or as AccordionProvider,
3825
- Qo as AccordionRoot,
3826
- tr as AccordionTrigger,
3827
- Cr as Alert,
3828
- ir as AlertActions,
3829
- hr as AlertButton,
3830
- vr as AlertCloseButton,
3831
- sr as AlertDescription,
3832
- nr as AlertHeader,
3833
- rr as AlertRoot,
3834
- ar as AlertTitle,
3835
- Ar as AnimatedUnderline,
3836
- Rr as Badge,
3837
- It as Button,
3838
- Me as useAccordionContext
4275
+ Jr as Accordion,
4276
+ fr as AccordionContent,
4277
+ ur as AccordionItem,
4278
+ gr as AccordionItemProvider,
4279
+ pr as AccordionProvider,
4280
+ mr as AccordionRoot,
4281
+ br as AccordionTrigger,
4282
+ Yr as Alert,
4283
+ kr as AlertActions,
4284
+ Mr as AlertButton,
4285
+ Er as AlertCloseButton,
4286
+ wr as AlertDescription,
4287
+ xr as AlertHeader,
4288
+ hr as AlertRoot,
4289
+ yr as AlertTitle,
4290
+ Qr as AnimatedUnderline,
4291
+ en as Badge,
4292
+ tn as Banner,
4293
+ Or as BannerContent,
4294
+ Lr as BannerDismiss,
4295
+ zr as BannerProvider,
4296
+ Tr as BannerRoot,
4297
+ Br as BannerText,
4298
+ on as BlogPostCard,
4299
+ Hr as BlogPostCardAuthor,
4300
+ Ur as BlogPostCardContent,
4301
+ Wr as BlogPostCardDate,
4302
+ Fr as BlogPostCardDetails,
4303
+ rn as BlogPostCardFallback,
4304
+ Vr as BlogPostCardImage,
4305
+ Gr as BlogPostCardLink,
4306
+ Dr as BlogPostCardProvider,
4307
+ $r as BlogPostCardRoot,
4308
+ nn as BlogPostCardSkeleton,
4309
+ jr as BlogPostCardTitle,
4310
+ $t as Button,
4311
+ De as useAccordion,
4312
+ $e as useAccordionItem,
4313
+ Gt as useBanner,
4314
+ Z as useBlogPostCard
3839
4315
  };
3840
4316
  //# sourceMappingURL=index.js.map