commerce-toolkit 0.0.22 → 0.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,37 +1,37 @@
1
- import { jsx as s, jsxs as S, Fragment as pe } from "react/jsx-runtime";
1
+ import { jsx as s, jsxs as _, Fragment as se } from "react/jsx-runtime";
2
2
  import * as p from "react";
3
- import _, { useState as Ae, useEffect as st, createContext as q, useMemo as Z, use as K, forwardRef as it, createElement as Ne, useCallback as Re, useRef as Xt } from "react";
3
+ import I, { useState as re, useEffect as Me, createContext as U, useMemo as H, use as q, forwardRef as ct, createElement as Re, useCallback as oe, useRef as dt } from "react";
4
4
  import "react-dom";
5
- function hn({ className: e, colorScheme: t = "light", items: r, ...o }) {
6
- return /* @__PURE__ */ s(ko, { colorScheme: t, items: r, children: /* @__PURE__ */ s(vo, { className: e, ...o, children: r.map((n) => /* @__PURE__ */ s(
7
- wo,
5
+ function An({ className: e, colorScheme: t = "light", items: r, ...o }) {
6
+ return /* @__PURE__ */ s(Co, { colorScheme: t, items: r, children: /* @__PURE__ */ s(yo, { className: e, ...o, children: r.map((n) => /* @__PURE__ */ s(
7
+ No,
8
8
  {
9
9
  content: n.content,
10
10
  title: n.title,
11
11
  value: n.value,
12
- children: /* @__PURE__ */ S(ho, { children: [
13
- /* @__PURE__ */ s(yo, {}),
14
- /* @__PURE__ */ s(xo, {})
12
+ children: /* @__PURE__ */ _(xo, { children: [
13
+ /* @__PURE__ */ s(wo, {}),
14
+ /* @__PURE__ */ s(ko, {})
15
15
  ] })
16
16
  },
17
17
  n.value
18
18
  )) }) });
19
19
  }
20
- function Me(e, t = []) {
20
+ function Ee(e, t = []) {
21
21
  let r = [];
22
22
  function o(a, i) {
23
23
  const l = p.createContext(i), c = r.length;
24
24
  r = [...r, i];
25
- const d = (v) => {
26
- const { scope: N, children: w, ...A } = v, k = N?.[e]?.[c] || l, C = p.useMemo(() => A, Object.values(A));
27
- return /* @__PURE__ */ s(k.Provider, { value: C, children: w });
25
+ const d = (b) => {
26
+ const { scope: A, children: C, ...k } = b, y = A?.[e]?.[c] || l, N = p.useMemo(() => k, Object.values(k));
27
+ return /* @__PURE__ */ s(y.Provider, { value: N, children: C });
28
28
  };
29
29
  d.displayName = a + "Provider";
30
- function m(v, N) {
31
- const w = N?.[e]?.[c] || l, A = p.useContext(w);
32
- if (A) return A;
30
+ function m(b, A) {
31
+ const C = A?.[e]?.[c] || l, k = p.useContext(C);
32
+ if (k) return k;
33
33
  if (i !== void 0) return i;
34
- throw new Error(`\`${v}\` must be used within \`${a}\``);
34
+ throw new Error(`\`${b}\` must be used within \`${a}\``);
35
35
  }
36
36
  return [d, m];
37
37
  }
@@ -45,9 +45,9 @@ function Me(e, t = []) {
45
45
  );
46
46
  };
47
47
  };
48
- return n.scopeName = e, [o, Jt(n, ...t)];
48
+ return n.scopeName = e, [o, Qt(n, ...t)];
49
49
  }
50
- function Jt(...e) {
50
+ function Qt(...e) {
51
51
  const t = e[0];
52
52
  if (e.length === 1) return t;
53
53
  const r = () => {
@@ -57,44 +57,44 @@ function Jt(...e) {
57
57
  }));
58
58
  return function(a) {
59
59
  const i = o.reduce((l, { useScope: c, scopeName: d }) => {
60
- const v = c(a)[`__scope${d}`];
61
- return { ...l, ...v };
60
+ const b = c(a)[`__scope${d}`];
61
+ return { ...l, ...b };
62
62
  }, {});
63
63
  return p.useMemo(() => ({ [`__scope${t.scopeName}`]: i }), [i]);
64
64
  };
65
65
  };
66
66
  return r.scopeName = t.scopeName, r;
67
67
  }
68
- function et(e, t) {
68
+ function ot(e, t) {
69
69
  if (typeof e == "function")
70
70
  return e(t);
71
71
  e != null && (e.current = t);
72
72
  }
73
- function lt(...e) {
73
+ function ut(...e) {
74
74
  return (t) => {
75
75
  let r = !1;
76
76
  const o = e.map((n) => {
77
- const a = et(n, t);
77
+ const a = ot(n, t);
78
78
  return !r && typeof a == "function" && (r = !0), a;
79
79
  });
80
80
  if (r)
81
81
  return () => {
82
82
  for (let n = 0; n < o.length; n++) {
83
83
  const a = o[n];
84
- typeof a == "function" ? a() : et(e[n], null);
84
+ typeof a == "function" ? a() : ot(e[n], null);
85
85
  }
86
86
  };
87
87
  };
88
88
  }
89
- function re(...e) {
90
- return p.useCallback(lt(...e), e);
89
+ function ne(...e) {
90
+ return p.useCallback(ut(...e), e);
91
91
  }
92
92
  // @__NO_SIDE_EFFECTS__
93
93
  function Pe(e) {
94
- const t = /* @__PURE__ */ Yt(e), r = p.forwardRef((o, n) => {
95
- const { children: a, ...i } = o, l = p.Children.toArray(a), c = l.find(er);
94
+ const t = /* @__PURE__ */ er(e), r = p.forwardRef((o, n) => {
95
+ const { children: a, ...i } = o, l = p.Children.toArray(a), c = l.find(rr);
96
96
  if (c) {
97
- const d = c.props.children, m = l.map((v) => v === c ? p.Children.count(d) > 1 ? p.Children.only(null) : p.isValidElement(d) ? d.props.children : null : v);
97
+ const d = c.props.children, m = l.map((b) => b === c ? p.Children.count(d) > 1 ? p.Children.only(null) : p.isValidElement(d) ? d.props.children : null : b);
98
98
  return /* @__PURE__ */ s(t, { ...i, ref: n, children: p.isValidElement(d) ? p.cloneElement(d, void 0, m) : null });
99
99
  }
100
100
  return /* @__PURE__ */ s(t, { ...i, ref: n, children: a });
@@ -102,22 +102,22 @@ function Pe(e) {
102
102
  return r.displayName = `${e}.Slot`, r;
103
103
  }
104
104
  // @__NO_SIDE_EFFECTS__
105
- function Yt(e) {
105
+ function er(e) {
106
106
  const t = p.forwardRef((r, o) => {
107
107
  const { children: n, ...a } = r;
108
108
  if (p.isValidElement(n)) {
109
- const i = rr(n), l = tr(a, n.props);
110
- return n.type !== p.Fragment && (l.ref = o ? lt(o, i) : i), p.cloneElement(n, l);
109
+ const i = nr(n), l = or(a, n.props);
110
+ return n.type !== p.Fragment && (l.ref = o ? ut(o, i) : i), p.cloneElement(n, l);
111
111
  }
112
112
  return p.Children.count(n) > 1 ? p.Children.only(null) : null;
113
113
  });
114
114
  return t.displayName = `${e}.SlotClone`, t;
115
115
  }
116
- var Qt = Symbol("radix.slottable");
117
- function er(e) {
118
- return p.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Qt;
116
+ var tr = Symbol("radix.slottable");
117
+ function rr(e) {
118
+ return p.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === tr;
119
119
  }
120
- function tr(e, t) {
120
+ function or(e, t) {
121
121
  const r = { ...t };
122
122
  for (const o in t) {
123
123
  const n = e[o], a = t[o];
@@ -128,83 +128,83 @@ function tr(e, t) {
128
128
  }
129
129
  return { ...e, ...r };
130
130
  }
131
- function rr(e) {
131
+ function nr(e) {
132
132
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
133
133
  return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
134
134
  }
135
- function or(e) {
136
- const t = e + "CollectionProvider", [r, o] = Me(t), [n, a] = r(
135
+ function ar(e) {
136
+ const t = e + "CollectionProvider", [r, o] = Ee(t), [n, a] = r(
137
137
  t,
138
138
  { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
139
- ), i = (k) => {
140
- const { scope: C, children: R } = k, y = _.useRef(null), P = _.useRef(/* @__PURE__ */ new Map()).current;
141
- return /* @__PURE__ */ s(n, { scope: C, itemMap: P, collectionRef: y, children: R });
139
+ ), i = (y) => {
140
+ const { scope: N, children: R } = y, w = I.useRef(null), P = I.useRef(/* @__PURE__ */ new Map()).current;
141
+ return /* @__PURE__ */ s(n, { scope: N, itemMap: P, collectionRef: w, children: R });
142
142
  };
143
143
  i.displayName = t;
144
- const l = e + "CollectionSlot", c = /* @__PURE__ */ Pe(l), d = _.forwardRef(
145
- (k, C) => {
146
- const { scope: R, children: y } = k, P = a(l, R), L = re(C, P.collectionRef);
147
- return /* @__PURE__ */ s(c, { ref: L, children: y });
144
+ const l = e + "CollectionSlot", c = /* @__PURE__ */ Pe(l), d = I.forwardRef(
145
+ (y, N) => {
146
+ const { scope: R, children: w } = y, P = a(l, R), L = ne(N, P.collectionRef);
147
+ return /* @__PURE__ */ s(c, { ref: L, children: w });
148
148
  }
149
149
  );
150
150
  d.displayName = l;
151
- const m = e + "CollectionItemSlot", v = "data-radix-collection-item", N = /* @__PURE__ */ Pe(m), w = _.forwardRef(
152
- (k, C) => {
153
- const { scope: R, children: y, ...P } = k, L = _.useRef(null), T = re(C, L), E = a(m, R);
154
- return _.useEffect(() => (E.itemMap.set(L, { ref: L, ...P }), () => void E.itemMap.delete(L))), /* @__PURE__ */ s(N, { [v]: "", ref: T, children: y });
151
+ const m = e + "CollectionItemSlot", b = "data-radix-collection-item", A = /* @__PURE__ */ Pe(m), C = I.forwardRef(
152
+ (y, N) => {
153
+ const { scope: R, children: w, ...P } = y, L = I.useRef(null), T = ne(N, L), E = a(m, R);
154
+ return I.useEffect(() => (E.itemMap.set(L, { ref: L, ...P }), () => void E.itemMap.delete(L))), /* @__PURE__ */ s(A, { [b]: "", ref: T, children: w });
155
155
  }
156
156
  );
157
- w.displayName = m;
158
- function A(k) {
159
- const C = a(e + "CollectionConsumer", k);
160
- return _.useCallback(() => {
161
- const y = C.collectionRef.current;
162
- if (!y) return [];
163
- const P = Array.from(y.querySelectorAll(`[${v}]`));
164
- return Array.from(C.itemMap.values()).sort(
157
+ C.displayName = m;
158
+ function k(y) {
159
+ const N = a(e + "CollectionConsumer", y);
160
+ return I.useCallback(() => {
161
+ const w = N.collectionRef.current;
162
+ if (!w) return [];
163
+ const P = Array.from(w.querySelectorAll(`[${b}]`));
164
+ return Array.from(N.itemMap.values()).sort(
165
165
  (E, D) => P.indexOf(E.ref.current) - P.indexOf(D.ref.current)
166
166
  );
167
- }, [C.collectionRef, C.itemMap]);
167
+ }, [N.collectionRef, N.itemMap]);
168
168
  }
169
169
  return [
170
- { Provider: i, Slot: d, ItemSlot: w },
171
- A,
170
+ { Provider: i, Slot: d, ItemSlot: C },
171
+ k,
172
172
  o
173
173
  ];
174
174
  }
175
- function Ee(e, t, { checkForDefaultPrevented: r = !0 } = {}) {
175
+ function ze(e, t, { checkForDefaultPrevented: r = !0 } = {}) {
176
176
  return function(n) {
177
177
  if (e?.(n), r === !1 || !n.defaultPrevented)
178
178
  return t?.(n);
179
179
  };
180
180
  }
181
- var oe = globalThis?.document ? p.useLayoutEffect : () => {
182
- }, nr = p[" useInsertionEffect ".trim().toString()] || oe;
183
- function ge({
181
+ var ae = globalThis?.document ? p.useLayoutEffect : () => {
182
+ }, sr = p[" useInsertionEffect ".trim().toString()] || ae;
183
+ function he({
184
184
  prop: e,
185
185
  defaultProp: t,
186
186
  onChange: r = () => {
187
187
  },
188
188
  caller: o
189
189
  }) {
190
- const [n, a, i] = ar({
190
+ const [n, a, i] = ir({
191
191
  defaultProp: t,
192
192
  onChange: r
193
193
  }), l = e !== void 0, c = l ? e : n;
194
194
  {
195
195
  const m = p.useRef(e !== void 0);
196
196
  p.useEffect(() => {
197
- const v = m.current;
198
- v !== l && console.warn(
199
- `${o} is changing from ${v ? "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.`
197
+ const b = m.current;
198
+ b !== l && console.warn(
199
+ `${o} is changing from ${b ? "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
200
  ), m.current = l;
201
201
  }, [l, o]);
202
202
  }
203
203
  const d = p.useCallback(
204
204
  (m) => {
205
205
  if (l) {
206
- const v = sr(m) ? m(e) : m;
207
- v !== e && i.current?.(v);
206
+ const b = lr(m) ? m(e) : m;
207
+ b !== e && i.current?.(b);
208
208
  } else
209
209
  a(m);
210
210
  },
@@ -212,21 +212,21 @@ function ge({
212
212
  );
213
213
  return [c, d];
214
214
  }
215
- function ar({
215
+ function ir({
216
216
  defaultProp: e,
217
217
  onChange: t
218
218
  }) {
219
219
  const [r, o] = p.useState(e), n = p.useRef(r), a = p.useRef(t);
220
- return nr(() => {
220
+ return sr(() => {
221
221
  a.current = t;
222
222
  }, [t]), p.useEffect(() => {
223
223
  n.current !== r && (a.current?.(r), n.current = r);
224
224
  }, [r, n]), [r, o, a];
225
225
  }
226
- function sr(e) {
226
+ function lr(e) {
227
227
  return typeof e == "function";
228
228
  }
229
- var ir = [
229
+ var cr = [
230
230
  "a",
231
231
  "button",
232
232
  "div",
@@ -244,23 +244,23 @@ var ir = [
244
244
  "span",
245
245
  "svg",
246
246
  "ul"
247
- ], X = ir.reduce((e, t) => {
247
+ ], X = cr.reduce((e, t) => {
248
248
  const r = /* @__PURE__ */ Pe(`Primitive.${t}`), o = p.forwardRef((n, a) => {
249
249
  const { asChild: i, ...l } = n, c = i ? r : t;
250
250
  return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ s(c, { ...l, ref: a });
251
251
  });
252
252
  return o.displayName = `Primitive.${t}`, { ...e, [t]: o };
253
253
  }, {});
254
- function lr(e, t) {
254
+ function dr(e, t) {
255
255
  return p.useReducer((r, o) => t[r][o] ?? r, e);
256
256
  }
257
- var ct = (e) => {
258
- const { present: t, children: r } = e, o = cr(t), n = typeof r == "function" ? r({ present: o.isPresent }) : p.Children.only(r), a = re(o.ref, dr(n));
257
+ var ft = (e) => {
258
+ const { present: t, children: r } = e, o = ur(t), n = typeof r == "function" ? r({ present: o.isPresent }) : p.Children.only(r), a = ne(o.ref, fr(n));
259
259
  return typeof r == "function" || o.isPresent ? p.cloneElement(n, { ref: a }) : null;
260
260
  };
261
- ct.displayName = "Presence";
262
- function cr(e) {
263
- const [t, r] = p.useState(), o = p.useRef(null), n = p.useRef(e), a = p.useRef("none"), i = e ? "mounted" : "unmounted", [l, c] = lr(i, {
261
+ ft.displayName = "Presence";
262
+ function ur(e) {
263
+ const [t, r] = p.useState(), o = p.useRef(null), n = p.useRef(e), a = p.useRef("none"), i = e ? "mounted" : "unmounted", [l, c] = dr(i, {
264
264
  mounted: {
265
265
  UNMOUNT: "unmounted",
266
266
  ANIMATION_OUT: "unmountSuspended"
@@ -274,30 +274,30 @@ function cr(e) {
274
274
  }
275
275
  });
276
276
  return p.useEffect(() => {
277
- const d = de(o.current);
277
+ const d = me(o.current);
278
278
  a.current = l === "mounted" ? d : "none";
279
- }, [l]), oe(() => {
279
+ }, [l]), ae(() => {
280
280
  const d = o.current, m = n.current;
281
281
  if (m !== e) {
282
- const N = a.current, w = de(d);
283
- e ? c("MOUNT") : w === "none" || d?.display === "none" ? c("UNMOUNT") : c(m && N !== w ? "ANIMATION_OUT" : "UNMOUNT"), n.current = e;
282
+ const A = a.current, C = me(d);
283
+ e ? c("MOUNT") : C === "none" || d?.display === "none" ? c("UNMOUNT") : c(m && A !== C ? "ANIMATION_OUT" : "UNMOUNT"), n.current = e;
284
284
  }
285
- }, [e, c]), oe(() => {
285
+ }, [e, c]), ae(() => {
286
286
  if (t) {
287
287
  let d;
288
- const m = t.ownerDocument.defaultView ?? window, v = (w) => {
289
- const k = de(o.current).includes(CSS.escape(w.animationName));
290
- if (w.target === t && k && (c("ANIMATION_END"), !n.current)) {
291
- const C = t.style.animationFillMode;
288
+ const m = t.ownerDocument.defaultView ?? window, b = (C) => {
289
+ const y = me(o.current).includes(CSS.escape(C.animationName));
290
+ if (C.target === t && y && (c("ANIMATION_END"), !n.current)) {
291
+ const N = t.style.animationFillMode;
292
292
  t.style.animationFillMode = "forwards", d = m.setTimeout(() => {
293
- t.style.animationFillMode === "forwards" && (t.style.animationFillMode = C);
293
+ t.style.animationFillMode === "forwards" && (t.style.animationFillMode = N);
294
294
  });
295
295
  }
296
- }, N = (w) => {
297
- w.target === t && (a.current = de(o.current));
296
+ }, A = (C) => {
297
+ C.target === t && (a.current = me(o.current));
298
298
  };
299
- return t.addEventListener("animationstart", N), t.addEventListener("animationcancel", v), t.addEventListener("animationend", v), () => {
300
- m.clearTimeout(d), t.removeEventListener("animationstart", N), t.removeEventListener("animationcancel", v), t.removeEventListener("animationend", v);
299
+ return t.addEventListener("animationstart", A), t.addEventListener("animationcancel", b), t.addEventListener("animationend", b), () => {
300
+ m.clearTimeout(d), t.removeEventListener("animationstart", A), t.removeEventListener("animationcancel", b), t.removeEventListener("animationend", b);
301
301
  };
302
302
  } else
303
303
  c("ANIMATION_END");
@@ -308,22 +308,22 @@ function cr(e) {
308
308
  }, [])
309
309
  };
310
310
  }
311
- function de(e) {
311
+ function me(e) {
312
312
  return e?.animationName || "none";
313
313
  }
314
- function dr(e) {
314
+ function fr(e) {
315
315
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
316
316
  return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
317
317
  }
318
- var ur = p[" useId ".trim().toString()] || (() => {
319
- }), fr = 0;
320
- function dt(e) {
321
- const [t, r] = p.useState(ur());
322
- return oe(() => {
323
- r((o) => o ?? String(fr++));
318
+ var mr = p[" useId ".trim().toString()] || (() => {
319
+ }), pr = 0;
320
+ function mt(e) {
321
+ const [t, r] = p.useState(mr());
322
+ return ae(() => {
323
+ r((o) => o ?? String(pr++));
324
324
  }, [e]), t ? `radix-${t}` : "";
325
325
  }
326
- var be = "Collapsible", [mr, ut] = Me(be), [pr, ze] = mr(be), ft = p.forwardRef(
326
+ var ve = "Collapsible", [gr, pt] = Ee(ve), [br, Te] = gr(ve), gt = p.forwardRef(
327
327
  (e, t) => {
328
328
  const {
329
329
  __scopeCollapsible: r,
@@ -332,24 +332,24 @@ var be = "Collapsible", [mr, ut] = Me(be), [pr, ze] = mr(be), ft = p.forwardRef(
332
332
  disabled: a,
333
333
  onOpenChange: i,
334
334
  ...l
335
- } = e, [c, d] = ge({
335
+ } = e, [c, d] = he({
336
336
  prop: o,
337
337
  defaultProp: n ?? !1,
338
338
  onChange: i,
339
- caller: be
339
+ caller: ve
340
340
  });
341
341
  return /* @__PURE__ */ s(
342
- pr,
342
+ br,
343
343
  {
344
344
  scope: r,
345
345
  disabled: a,
346
- contentId: dt(),
346
+ contentId: mt(),
347
347
  open: c,
348
348
  onOpenToggle: p.useCallback(() => d((m) => !m), [d]),
349
349
  children: /* @__PURE__ */ s(
350
350
  X.div,
351
351
  {
352
- "data-state": Oe(c),
352
+ "data-state": Be(c),
353
353
  "data-disabled": a ? "" : void 0,
354
354
  ...l,
355
355
  ref: t
@@ -359,89 +359,89 @@ var be = "Collapsible", [mr, ut] = Me(be), [pr, ze] = mr(be), ft = p.forwardRef(
359
359
  );
360
360
  }
361
361
  );
362
- ft.displayName = be;
363
- var mt = "CollapsibleTrigger", pt = p.forwardRef(
362
+ gt.displayName = ve;
363
+ var bt = "CollapsibleTrigger", ht = p.forwardRef(
364
364
  (e, t) => {
365
- const { __scopeCollapsible: r, ...o } = e, n = ze(mt, r);
365
+ const { __scopeCollapsible: r, ...o } = e, n = Te(bt, r);
366
366
  return /* @__PURE__ */ s(
367
367
  X.button,
368
368
  {
369
369
  type: "button",
370
370
  "aria-controls": n.contentId,
371
371
  "aria-expanded": n.open || !1,
372
- "data-state": Oe(n.open),
372
+ "data-state": Be(n.open),
373
373
  "data-disabled": n.disabled ? "" : void 0,
374
374
  disabled: n.disabled,
375
375
  ...o,
376
376
  ref: t,
377
- onClick: Ee(e.onClick, n.onOpenToggle)
377
+ onClick: ze(e.onClick, n.onOpenToggle)
378
378
  }
379
379
  );
380
380
  }
381
381
  );
382
- pt.displayName = mt;
383
- var Te = "CollapsibleContent", gt = p.forwardRef(
382
+ ht.displayName = bt;
383
+ var Oe = "CollapsibleContent", vt = p.forwardRef(
384
384
  (e, t) => {
385
- const { forceMount: r, ...o } = e, n = ze(Te, e.__scopeCollapsible);
386
- return /* @__PURE__ */ s(ct, { present: r || n.open, children: ({ present: a }) => /* @__PURE__ */ s(gr, { ...o, ref: t, present: a }) });
385
+ const { forceMount: r, ...o } = e, n = Te(Oe, e.__scopeCollapsible);
386
+ return /* @__PURE__ */ s(ft, { present: r || n.open, children: ({ present: a }) => /* @__PURE__ */ s(hr, { ...o, ref: t, present: a }) });
387
387
  }
388
388
  );
389
- gt.displayName = Te;
390
- var gr = p.forwardRef((e, t) => {
391
- const { __scopeCollapsible: r, present: o, children: n, ...a } = e, i = ze(Te, r), [l, c] = p.useState(o), d = p.useRef(null), m = re(t, d), v = p.useRef(0), N = v.current, w = p.useRef(0), A = w.current, k = i.open || l, C = p.useRef(k), R = p.useRef(void 0);
389
+ vt.displayName = Oe;
390
+ var hr = p.forwardRef((e, t) => {
391
+ const { __scopeCollapsible: r, present: o, children: n, ...a } = e, i = Te(Oe, r), [l, c] = p.useState(o), d = p.useRef(null), m = ne(t, d), b = p.useRef(0), A = b.current, C = p.useRef(0), k = C.current, y = i.open || l, N = p.useRef(y), R = p.useRef(void 0);
392
392
  return p.useEffect(() => {
393
- const y = requestAnimationFrame(() => C.current = !1);
394
- return () => cancelAnimationFrame(y);
395
- }, []), oe(() => {
396
- const y = d.current;
397
- if (y) {
393
+ const w = requestAnimationFrame(() => N.current = !1);
394
+ return () => cancelAnimationFrame(w);
395
+ }, []), ae(() => {
396
+ const w = d.current;
397
+ if (w) {
398
398
  R.current = R.current || {
399
- transitionDuration: y.style.transitionDuration,
400
- animationName: y.style.animationName
401
- }, y.style.transitionDuration = "0s", y.style.animationName = "none";
402
- const P = y.getBoundingClientRect();
403
- v.current = P.height, w.current = P.width, C.current || (y.style.transitionDuration = R.current.transitionDuration, y.style.animationName = R.current.animationName), c(o);
399
+ transitionDuration: w.style.transitionDuration,
400
+ animationName: w.style.animationName
401
+ }, w.style.transitionDuration = "0s", w.style.animationName = "none";
402
+ const P = w.getBoundingClientRect();
403
+ b.current = P.height, C.current = P.width, N.current || (w.style.transitionDuration = R.current.transitionDuration, w.style.animationName = R.current.animationName), c(o);
404
404
  }
405
405
  }, [i.open, o]), /* @__PURE__ */ s(
406
406
  X.div,
407
407
  {
408
- "data-state": Oe(i.open),
408
+ "data-state": Be(i.open),
409
409
  "data-disabled": i.disabled ? "" : void 0,
410
410
  id: i.contentId,
411
- hidden: !k,
411
+ hidden: !y,
412
412
  ...a,
413
413
  ref: m,
414
414
  style: {
415
- "--radix-collapsible-content-height": N ? `${N}px` : void 0,
416
- "--radix-collapsible-content-width": A ? `${A}px` : void 0,
415
+ "--radix-collapsible-content-height": A ? `${A}px` : void 0,
416
+ "--radix-collapsible-content-width": k ? `${k}px` : void 0,
417
417
  ...e.style
418
418
  },
419
- children: k && n
419
+ children: y && n
420
420
  }
421
421
  );
422
422
  });
423
- function Oe(e) {
423
+ function Be(e) {
424
424
  return e ? "open" : "closed";
425
425
  }
426
- var br = ft, hr = pt, vr = gt, xr = p.createContext(void 0);
427
- function yr(e) {
428
- const t = p.useContext(xr);
426
+ var vr = gt, xr = ht, yr = vt, kr = p.createContext(void 0);
427
+ function wr(e) {
428
+ const t = p.useContext(kr);
429
429
  return e || t || "ltr";
430
430
  }
431
- var B = "Accordion", kr = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [Be, wr, Cr] = or(B), [he] = Me(B, [
432
- Cr,
433
- ut
434
- ]), De = ut(), bt = _.forwardRef(
431
+ var B = "Accordion", Cr = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [De, Nr, Ar] = ar(B), [xe] = Ee(B, [
432
+ Ar,
433
+ pt
434
+ ]), $e = pt(), xt = I.forwardRef(
435
435
  (e, t) => {
436
436
  const { type: r, ...o } = e, n = o, a = o;
437
- return /* @__PURE__ */ s(Be.Provider, { scope: e.__scopeAccordion, children: r === "multiple" ? /* @__PURE__ */ s(Pr, { ...a, ref: t }) : /* @__PURE__ */ s(Rr, { ...n, ref: t }) });
437
+ return /* @__PURE__ */ s(De.Provider, { scope: e.__scopeAccordion, children: r === "multiple" ? /* @__PURE__ */ s(Ir, { ...a, ref: t }) : /* @__PURE__ */ s(_r, { ...n, ref: t }) });
438
438
  }
439
439
  );
440
- bt.displayName = B;
441
- var [ht, Ar] = he(B), [vt, Nr] = he(
440
+ xt.displayName = B;
441
+ var [yt, Rr] = xe(B), [kt, Pr] = xe(
442
442
  B,
443
443
  { collapsible: !1 }
444
- ), Rr = _.forwardRef(
444
+ ), _r = I.forwardRef(
445
445
  (e, t) => {
446
446
  const {
447
447
  value: r,
@@ -450,129 +450,129 @@ var [ht, Ar] = he(B), [vt, Nr] = he(
450
450
  },
451
451
  collapsible: a = !1,
452
452
  ...i
453
- } = e, [l, c] = ge({
453
+ } = e, [l, c] = he({
454
454
  prop: r,
455
455
  defaultProp: o ?? "",
456
456
  onChange: n,
457
457
  caller: B
458
458
  });
459
459
  return /* @__PURE__ */ s(
460
- ht,
460
+ yt,
461
461
  {
462
462
  scope: e.__scopeAccordion,
463
- value: _.useMemo(() => l ? [l] : [], [l]),
463
+ value: I.useMemo(() => l ? [l] : [], [l]),
464
464
  onItemOpen: c,
465
- onItemClose: _.useCallback(() => a && c(""), [a, c]),
466
- children: /* @__PURE__ */ s(vt, { scope: e.__scopeAccordion, collapsible: a, children: /* @__PURE__ */ s(xt, { ...i, ref: t }) })
465
+ onItemClose: I.useCallback(() => a && c(""), [a, c]),
466
+ children: /* @__PURE__ */ s(kt, { scope: e.__scopeAccordion, collapsible: a, children: /* @__PURE__ */ s(wt, { ...i, ref: t }) })
467
467
  }
468
468
  );
469
469
  }
470
- ), Pr = _.forwardRef((e, t) => {
470
+ ), Ir = I.forwardRef((e, t) => {
471
471
  const {
472
472
  value: r,
473
473
  defaultValue: o,
474
474
  onValueChange: n = () => {
475
475
  },
476
476
  ...a
477
- } = e, [i, l] = ge({
477
+ } = e, [i, l] = he({
478
478
  prop: r,
479
479
  defaultProp: o ?? [],
480
480
  onChange: n,
481
481
  caller: B
482
- }), c = _.useCallback(
483
- (m) => l((v = []) => [...v, m]),
482
+ }), c = I.useCallback(
483
+ (m) => l((b = []) => [...b, m]),
484
484
  [l]
485
- ), d = _.useCallback(
486
- (m) => l((v = []) => v.filter((N) => N !== m)),
485
+ ), d = I.useCallback(
486
+ (m) => l((b = []) => b.filter((A) => A !== m)),
487
487
  [l]
488
488
  );
489
489
  return /* @__PURE__ */ s(
490
- ht,
490
+ yt,
491
491
  {
492
492
  scope: e.__scopeAccordion,
493
493
  value: i,
494
494
  onItemOpen: c,
495
495
  onItemClose: d,
496
- children: /* @__PURE__ */ s(vt, { scope: e.__scopeAccordion, collapsible: !0, children: /* @__PURE__ */ s(xt, { ...a, ref: t }) })
496
+ children: /* @__PURE__ */ s(kt, { scope: e.__scopeAccordion, collapsible: !0, children: /* @__PURE__ */ s(wt, { ...a, ref: t }) })
497
497
  }
498
498
  );
499
- }), [_r, ve] = he(B), xt = _.forwardRef(
499
+ }), [Sr, ye] = xe(B), wt = I.forwardRef(
500
500
  (e, t) => {
501
- const { __scopeAccordion: r, disabled: o, dir: n, orientation: a = "vertical", ...i } = e, l = _.useRef(null), c = re(l, t), d = wr(r), v = yr(n) === "ltr", N = Ee(e.onKeyDown, (w) => {
502
- if (!kr.includes(w.key)) return;
503
- const A = w.target, k = d().filter((h) => !h.ref.current?.disabled), C = k.findIndex((h) => h.ref.current === A), R = k.length;
504
- if (C === -1) return;
505
- w.preventDefault();
506
- let y = C;
501
+ const { __scopeAccordion: r, disabled: o, dir: n, orientation: a = "vertical", ...i } = e, l = I.useRef(null), c = ne(l, t), d = Nr(r), b = wr(n) === "ltr", A = ze(e.onKeyDown, (C) => {
502
+ if (!Cr.includes(C.key)) return;
503
+ const k = C.target, y = d().filter((v) => !v.ref.current?.disabled), N = y.findIndex((v) => v.ref.current === k), R = y.length;
504
+ if (N === -1) return;
505
+ C.preventDefault();
506
+ let w = N;
507
507
  const P = 0, L = R - 1, T = () => {
508
- y = C + 1, y > L && (y = P);
508
+ w = N + 1, w > L && (w = P);
509
509
  }, E = () => {
510
- y = C - 1, y < P && (y = L);
510
+ w = N - 1, w < P && (w = L);
511
511
  };
512
- switch (w.key) {
512
+ switch (C.key) {
513
513
  case "Home":
514
- y = P;
514
+ w = P;
515
515
  break;
516
516
  case "End":
517
- y = L;
517
+ w = L;
518
518
  break;
519
519
  case "ArrowRight":
520
- a === "horizontal" && (v ? T() : E());
520
+ a === "horizontal" && (b ? T() : E());
521
521
  break;
522
522
  case "ArrowDown":
523
523
  a === "vertical" && T();
524
524
  break;
525
525
  case "ArrowLeft":
526
- a === "horizontal" && (v ? E() : T());
526
+ a === "horizontal" && (b ? E() : T());
527
527
  break;
528
528
  case "ArrowUp":
529
529
  a === "vertical" && E();
530
530
  break;
531
531
  }
532
- const D = y % R;
533
- k[D].ref.current?.focus();
532
+ const D = w % R;
533
+ y[D].ref.current?.focus();
534
534
  });
535
535
  return /* @__PURE__ */ s(
536
- _r,
536
+ Sr,
537
537
  {
538
538
  scope: r,
539
539
  disabled: o,
540
540
  direction: n,
541
541
  orientation: a,
542
- children: /* @__PURE__ */ s(Be.Slot, { scope: r, children: /* @__PURE__ */ s(
542
+ children: /* @__PURE__ */ s(De.Slot, { scope: r, children: /* @__PURE__ */ s(
543
543
  X.div,
544
544
  {
545
545
  ...i,
546
546
  "data-orientation": a,
547
547
  ref: c,
548
- onKeyDown: o ? void 0 : N
548
+ onKeyDown: o ? void 0 : A
549
549
  }
550
550
  ) })
551
551
  }
552
552
  );
553
553
  }
554
- ), me = "AccordionItem", [Ir, $e] = he(me), yt = _.forwardRef(
554
+ ), be = "AccordionItem", [Lr, je] = xe(be), Ct = I.forwardRef(
555
555
  (e, t) => {
556
- const { __scopeAccordion: r, value: o, ...n } = e, a = ve(me, r), i = Ar(me, r), l = De(r), c = dt(), d = o && i.value.includes(o) || !1, m = a.disabled || e.disabled;
556
+ const { __scopeAccordion: r, value: o, ...n } = e, a = ye(be, r), i = Rr(be, r), l = $e(r), c = mt(), d = o && i.value.includes(o) || !1, m = a.disabled || e.disabled;
557
557
  return /* @__PURE__ */ s(
558
- Ir,
558
+ Lr,
559
559
  {
560
560
  scope: r,
561
561
  open: d,
562
562
  disabled: m,
563
563
  triggerId: c,
564
564
  children: /* @__PURE__ */ s(
565
- br,
565
+ vr,
566
566
  {
567
567
  "data-orientation": a.orientation,
568
- "data-state": Rt(d),
568
+ "data-state": It(d),
569
569
  ...l,
570
570
  ...n,
571
571
  ref: t,
572
572
  disabled: m,
573
573
  open: d,
574
- onOpenChange: (v) => {
575
- v ? i.onItemOpen(o) : i.onItemClose(o);
574
+ onOpenChange: (b) => {
575
+ b ? i.onItemOpen(o) : i.onItemClose(o);
576
576
  }
577
577
  }
578
578
  )
@@ -580,15 +580,15 @@ var [ht, Ar] = he(B), [vt, Nr] = he(
580
580
  );
581
581
  }
582
582
  );
583
- yt.displayName = me;
584
- var kt = "AccordionHeader", wt = _.forwardRef(
583
+ Ct.displayName = be;
584
+ var Nt = "AccordionHeader", At = I.forwardRef(
585
585
  (e, t) => {
586
- const { __scopeAccordion: r, ...o } = e, n = ve(B, r), a = $e(kt, r);
586
+ const { __scopeAccordion: r, ...o } = e, n = ye(B, r), a = je(Nt, r);
587
587
  return /* @__PURE__ */ s(
588
588
  X.h3,
589
589
  {
590
590
  "data-orientation": n.orientation,
591
- "data-state": Rt(a.open),
591
+ "data-state": It(a.open),
592
592
  "data-disabled": a.disabled ? "" : void 0,
593
593
  ...o,
594
594
  ref: t
@@ -596,12 +596,12 @@ var kt = "AccordionHeader", wt = _.forwardRef(
596
596
  );
597
597
  }
598
598
  );
599
- wt.displayName = kt;
600
- var _e = "AccordionTrigger", Ct = _.forwardRef(
599
+ At.displayName = Nt;
600
+ var _e = "AccordionTrigger", Rt = I.forwardRef(
601
601
  (e, t) => {
602
- const { __scopeAccordion: r, ...o } = e, n = ve(B, r), a = $e(_e, r), i = Nr(_e, r), l = De(r);
603
- return /* @__PURE__ */ s(Be.ItemSlot, { scope: r, children: /* @__PURE__ */ s(
604
- hr,
602
+ const { __scopeAccordion: r, ...o } = e, n = ye(B, r), a = je(_e, r), i = Pr(_e, r), l = $e(r);
603
+ return /* @__PURE__ */ s(De.ItemSlot, { scope: r, children: /* @__PURE__ */ s(
604
+ xr,
605
605
  {
606
606
  "aria-disabled": a.open && !i.collapsible || void 0,
607
607
  "data-orientation": n.orientation,
@@ -613,12 +613,12 @@ var _e = "AccordionTrigger", Ct = _.forwardRef(
613
613
  ) });
614
614
  }
615
615
  );
616
- Ct.displayName = _e;
617
- var At = "AccordionContent", Nt = _.forwardRef(
616
+ Rt.displayName = _e;
617
+ var Pt = "AccordionContent", _t = I.forwardRef(
618
618
  (e, t) => {
619
- const { __scopeAccordion: r, ...o } = e, n = ve(B, r), a = $e(At, r), i = De(r);
619
+ const { __scopeAccordion: r, ...o } = e, n = ye(B, r), a = je(Pt, r), i = $e(r);
620
620
  return /* @__PURE__ */ s(
621
- vr,
621
+ yr,
622
622
  {
623
623
  role: "region",
624
624
  "aria-labelledby": a.triggerId,
@@ -635,58 +635,58 @@ var At = "AccordionContent", Nt = _.forwardRef(
635
635
  );
636
636
  }
637
637
  );
638
- Nt.displayName = At;
639
- function Rt(e) {
638
+ _t.displayName = Pt;
639
+ function It(e) {
640
640
  return e ? "open" : "closed";
641
641
  }
642
- var Sr = bt, Lr = yt, Mr = wt, Er = Ct, zr = Nt;
643
- function Pt(e) {
642
+ var Mr = xt, Er = Ct, zr = At, Tr = Rt, Or = _t;
643
+ function St(e) {
644
644
  var t, r, o = "";
645
645
  if (typeof e == "string" || typeof e == "number") o += e;
646
646
  else if (typeof e == "object") if (Array.isArray(e)) {
647
647
  var n = e.length;
648
- for (t = 0; t < n; t++) e[t] && (r = Pt(e[t])) && (o && (o += " "), o += r);
648
+ for (t = 0; t < n; t++) e[t] && (r = St(e[t])) && (o && (o += " "), o += r);
649
649
  } else for (r in e) e[r] && (o && (o += " "), o += r);
650
650
  return o;
651
651
  }
652
- function Tr() {
653
- for (var e, t, r = 0, o = "", n = arguments.length; r < n; r++) (e = arguments[r]) && (t = Pt(e)) && (o && (o += " "), o += t);
652
+ function Br() {
653
+ for (var e, t, r = 0, o = "", n = arguments.length; r < n; r++) (e = arguments[r]) && (t = St(e)) && (o && (o += " "), o += t);
654
654
  return o;
655
655
  }
656
- const je = "-", Or = (e) => {
657
- const t = Dr(e), {
656
+ const Ve = "-", Dr = (e) => {
657
+ const t = jr(e), {
658
658
  conflictingClassGroups: r,
659
659
  conflictingClassGroupModifiers: o
660
660
  } = e;
661
661
  return {
662
662
  getClassGroupId: (i) => {
663
- const l = i.split(je);
664
- return l[0] === "" && l.length !== 1 && l.shift(), _t(l, t) || Br(i);
663
+ const l = i.split(Ve);
664
+ return l[0] === "" && l.length !== 1 && l.shift(), Lt(l, t) || $r(i);
665
665
  },
666
666
  getConflictingClassGroupIds: (i, l) => {
667
667
  const c = r[i] || [];
668
668
  return l && o[i] ? [...c, ...o[i]] : c;
669
669
  }
670
670
  };
671
- }, _t = (e, t) => {
671
+ }, Lt = (e, t) => {
672
672
  if (e.length === 0)
673
673
  return t.classGroupId;
674
- const r = e[0], o = t.nextPart.get(r), n = o ? _t(e.slice(1), o) : void 0;
674
+ const r = e[0], o = t.nextPart.get(r), n = o ? Lt(e.slice(1), o) : void 0;
675
675
  if (n)
676
676
  return n;
677
677
  if (t.validators.length === 0)
678
678
  return;
679
- const a = e.join(je);
679
+ const a = e.join(Ve);
680
680
  return t.validators.find(({
681
681
  validator: i
682
682
  }) => i(a))?.classGroupId;
683
- }, tt = /^\[(.+)\]$/, Br = (e) => {
684
- if (tt.test(e)) {
685
- const t = tt.exec(e)[1], r = t?.substring(0, t.indexOf(":"));
683
+ }, nt = /^\[(.+)\]$/, $r = (e) => {
684
+ if (nt.test(e)) {
685
+ const t = nt.exec(e)[1], r = t?.substring(0, t.indexOf(":"));
686
686
  if (r)
687
687
  return "arbitrary.." + r;
688
688
  }
689
- }, Dr = (e) => {
689
+ }, jr = (e) => {
690
690
  const {
691
691
  theme: t,
692
692
  classGroups: r
@@ -700,12 +700,12 @@ const je = "-", Or = (e) => {
700
700
  }, Ie = (e, t, r, o) => {
701
701
  e.forEach((n) => {
702
702
  if (typeof n == "string") {
703
- const a = n === "" ? t : rt(t, n);
703
+ const a = n === "" ? t : at(t, n);
704
704
  a.classGroupId = r;
705
705
  return;
706
706
  }
707
707
  if (typeof n == "function") {
708
- if ($r(n)) {
708
+ if (Vr(n)) {
709
709
  Ie(n(o), t, r, o);
710
710
  return;
711
711
  }
@@ -716,18 +716,18 @@ const je = "-", Or = (e) => {
716
716
  return;
717
717
  }
718
718
  Object.entries(n).forEach(([a, i]) => {
719
- Ie(i, rt(t, a), r, o);
719
+ Ie(i, at(t, a), r, o);
720
720
  });
721
721
  });
722
- }, rt = (e, t) => {
722
+ }, at = (e, t) => {
723
723
  let r = e;
724
- return t.split(je).forEach((o) => {
724
+ return t.split(Ve).forEach((o) => {
725
725
  r.nextPart.has(o) || r.nextPart.set(o, {
726
726
  nextPart: /* @__PURE__ */ new Map(),
727
727
  validators: []
728
728
  }), r = r.nextPart.get(o);
729
729
  }), r;
730
- }, $r = (e) => e.isThemeGetter, jr = (e) => {
730
+ }, Vr = (e) => e.isThemeGetter, Gr = (e) => {
731
731
  if (e < 1)
732
732
  return {
733
733
  get: () => {
@@ -751,7 +751,7 @@ const je = "-", Or = (e) => {
751
751
  r.has(a) ? r.set(a, i) : n(a, i);
752
752
  }
753
753
  };
754
- }, Se = "!", Le = ":", Vr = Le.length, Gr = (e) => {
754
+ }, Se = "!", Le = ":", Fr = Le.length, Wr = (e) => {
755
755
  const {
756
756
  prefix: t,
757
757
  experimentalParseClassName: r
@@ -759,26 +759,26 @@ const je = "-", Or = (e) => {
759
759
  let o = (n) => {
760
760
  const a = [];
761
761
  let i = 0, l = 0, c = 0, d;
762
- for (let A = 0; A < n.length; A++) {
763
- let k = n[A];
762
+ for (let k = 0; k < n.length; k++) {
763
+ let y = n[k];
764
764
  if (i === 0 && l === 0) {
765
- if (k === Le) {
766
- a.push(n.slice(c, A)), c = A + Vr;
765
+ if (y === Le) {
766
+ a.push(n.slice(c, k)), c = k + Fr;
767
767
  continue;
768
768
  }
769
- if (k === "/") {
770
- d = A;
769
+ if (y === "/") {
770
+ d = k;
771
771
  continue;
772
772
  }
773
773
  }
774
- k === "[" ? i++ : k === "]" ? i-- : k === "(" ? l++ : k === ")" && l--;
774
+ y === "[" ? i++ : y === "]" ? i-- : y === "(" ? l++ : y === ")" && l--;
775
775
  }
776
- const m = a.length === 0 ? n : n.substring(c), v = Fr(m), N = v !== m, w = d && d > c ? d - c : void 0;
776
+ const m = a.length === 0 ? n : n.substring(c), b = Ur(m), A = b !== m, C = d && d > c ? d - c : void 0;
777
777
  return {
778
778
  modifiers: a,
779
- hasImportantModifier: N,
780
- baseClassName: v,
781
- maybePostfixModifierPosition: w
779
+ hasImportantModifier: A,
780
+ baseClassName: b,
781
+ maybePostfixModifierPosition: C
782
782
  };
783
783
  };
784
784
  if (t) {
@@ -799,7 +799,7 @@ const je = "-", Or = (e) => {
799
799
  });
800
800
  }
801
801
  return o;
802
- }, Fr = (e) => e.endsWith(Se) ? e.substring(0, e.length - 1) : e.startsWith(Se) ? e.substring(1) : e, Ur = (e) => {
802
+ }, Ur = (e) => e.endsWith(Se) ? e.substring(0, e.length - 1) : e.startsWith(Se) ? e.substring(1) : e, Hr = (e) => {
803
803
  const t = Object.fromEntries(e.orderSensitiveModifiers.map((o) => [o, !0]));
804
804
  return (o) => {
805
805
  if (o.length <= 1)
@@ -810,48 +810,48 @@ const je = "-", Or = (e) => {
810
810
  i[0] === "[" || t[i] ? (n.push(...a.sort(), i), a = []) : a.push(i);
811
811
  }), n.push(...a.sort()), n;
812
812
  };
813
- }, Wr = (e) => ({
814
- cache: jr(e.cacheSize),
815
- parseClassName: Gr(e),
816
- sortModifiers: Ur(e),
817
- ...Or(e)
818
- }), Hr = /\s+/, qr = (e, t) => {
813
+ }, qr = (e) => ({
814
+ cache: Gr(e.cacheSize),
815
+ parseClassName: Wr(e),
816
+ sortModifiers: Hr(e),
817
+ ...Dr(e)
818
+ }), Zr = /\s+/, Kr = (e, t) => {
819
819
  const {
820
820
  parseClassName: r,
821
821
  getClassGroupId: o,
822
822
  getConflictingClassGroupIds: n,
823
823
  sortModifiers: a
824
- } = t, i = [], l = e.trim().split(Hr);
824
+ } = t, i = [], l = e.trim().split(Zr);
825
825
  let c = "";
826
826
  for (let d = l.length - 1; d >= 0; d -= 1) {
827
827
  const m = l[d], {
828
- isExternal: v,
829
- modifiers: N,
830
- hasImportantModifier: w,
831
- baseClassName: A,
832
- maybePostfixModifierPosition: k
828
+ isExternal: b,
829
+ modifiers: A,
830
+ hasImportantModifier: C,
831
+ baseClassName: k,
832
+ maybePostfixModifierPosition: y
833
833
  } = r(m);
834
- if (v) {
834
+ if (b) {
835
835
  c = m + (c.length > 0 ? " " + c : c);
836
836
  continue;
837
837
  }
838
- let C = !!k, R = o(C ? A.substring(0, k) : A);
838
+ let N = !!y, R = o(N ? k.substring(0, y) : k);
839
839
  if (!R) {
840
- if (!C) {
840
+ if (!N) {
841
841
  c = m + (c.length > 0 ? " " + c : c);
842
842
  continue;
843
843
  }
844
- if (R = o(A), !R) {
844
+ if (R = o(k), !R) {
845
845
  c = m + (c.length > 0 ? " " + c : c);
846
846
  continue;
847
847
  }
848
- C = !1;
848
+ N = !1;
849
849
  }
850
- const y = a(N).join(":"), P = w ? y + Se : y, L = P + R;
850
+ const w = a(A).join(":"), P = C ? w + Se : w, L = P + R;
851
851
  if (i.includes(L))
852
852
  continue;
853
853
  i.push(L);
854
- const T = n(R, C);
854
+ const T = n(R, N);
855
855
  for (let E = 0; E < T.length; ++E) {
856
856
  const D = T[E];
857
857
  i.push(P + D);
@@ -860,53 +860,53 @@ const je = "-", Or = (e) => {
860
860
  }
861
861
  return c;
862
862
  };
863
- function Zr() {
863
+ function Xr() {
864
864
  let e = 0, t, r, o = "";
865
865
  for (; e < arguments.length; )
866
- (t = arguments[e++]) && (r = It(t)) && (o && (o += " "), o += r);
866
+ (t = arguments[e++]) && (r = Mt(t)) && (o && (o += " "), o += r);
867
867
  return o;
868
868
  }
869
- const It = (e) => {
869
+ const Mt = (e) => {
870
870
  if (typeof e == "string")
871
871
  return e;
872
872
  let t, r = "";
873
873
  for (let o = 0; o < e.length; o++)
874
- e[o] && (t = It(e[o])) && (r && (r += " "), r += t);
874
+ e[o] && (t = Mt(e[o])) && (r && (r += " "), r += t);
875
875
  return r;
876
876
  };
877
- function Kr(e, ...t) {
877
+ function Jr(e, ...t) {
878
878
  let r, o, n, a = i;
879
879
  function i(c) {
880
- const d = t.reduce((m, v) => v(m), e());
881
- return r = Wr(d), o = r.cache.get, n = r.cache.set, a = l, l(c);
880
+ const d = t.reduce((m, b) => b(m), e());
881
+ return r = qr(d), o = r.cache.get, n = r.cache.set, a = l, l(c);
882
882
  }
883
883
  function l(c) {
884
884
  const d = o(c);
885
885
  if (d)
886
886
  return d;
887
- const m = qr(c, r);
887
+ const m = Kr(c, r);
888
888
  return n(c, m), m;
889
889
  }
890
890
  return function() {
891
- return a(Zr.apply(null, arguments));
891
+ return a(Xr.apply(null, arguments));
892
892
  };
893
893
  }
894
- const I = (e) => {
894
+ const S = (e) => {
895
895
  const t = (r) => r[e] || [];
896
896
  return t.isThemeGetter = !0, t;
897
- }, St = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Lt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Xr = /^\d+\/\d+$/, Jr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Yr = /\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$/, Qr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, eo = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, to = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, H = (e) => Xr.test(e), x = (e) => !!e && !Number.isNaN(Number(e)), G = (e) => !!e && Number.isInteger(Number(e)), we = (e) => e.endsWith("%") && x(e.slice(0, -1)), V = (e) => Jr.test(e), ro = () => !0, oo = (e) => (
897
+ }, Et = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, zt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Yr = /^\d+\/\d+$/, Qr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, eo = /\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$/, to = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, ro = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, oo = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, K = (e) => Yr.test(e), x = (e) => !!e && !Number.isNaN(Number(e)), G = (e) => !!e && Number.isInteger(Number(e)), Ne = (e) => e.endsWith("%") && x(e.slice(0, -1)), V = (e) => Qr.test(e), no = () => !0, ao = (e) => (
898
898
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
899
899
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
900
900
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
901
- Yr.test(e) && !Qr.test(e)
902
- ), Mt = () => !1, no = (e) => eo.test(e), ao = (e) => to.test(e), so = (e) => !u(e) && !f(e), io = (e) => J(e, Tt, Mt), u = (e) => St.test(e), U = (e) => J(e, Ot, oo), Ce = (e) => J(e, mo, x), ot = (e) => J(e, Et, Mt), lo = (e) => J(e, zt, ao), ue = (e) => J(e, Bt, no), f = (e) => Lt.test(e), ee = (e) => Y(e, Ot), co = (e) => Y(e, po), nt = (e) => Y(e, Et), uo = (e) => Y(e, Tt), fo = (e) => Y(e, zt), fe = (e) => Y(e, Bt, !0), J = (e, t, r) => {
903
- const o = St.exec(e);
901
+ eo.test(e) && !to.test(e)
902
+ ), Tt = () => !1, so = (e) => ro.test(e), io = (e) => oo.test(e), lo = (e) => !u(e) && !f(e), co = (e) => J(e, Dt, Tt), u = (e) => Et.test(e), W = (e) => J(e, $t, ao), Ae = (e) => J(e, go, x), st = (e) => J(e, Ot, Tt), uo = (e) => J(e, Bt, io), pe = (e) => J(e, jt, so), f = (e) => zt.test(e), ee = (e) => Y(e, $t), fo = (e) => Y(e, bo), it = (e) => Y(e, Ot), mo = (e) => Y(e, Dt), po = (e) => Y(e, Bt), ge = (e) => Y(e, jt, !0), J = (e, t, r) => {
903
+ const o = Et.exec(e);
904
904
  return o ? o[1] ? t(o[1]) : r(o[2]) : !1;
905
905
  }, Y = (e, t, r = !1) => {
906
- const o = Lt.exec(e);
906
+ const o = zt.exec(e);
907
907
  return o ? o[1] ? t(o[1]) : r : !1;
908
- }, Et = (e) => e === "position" || e === "percentage", zt = (e) => e === "image" || e === "url", Tt = (e) => e === "length" || e === "size" || e === "bg-size", Ot = (e) => e === "length", mo = (e) => e === "number", po = (e) => e === "family-name", Bt = (e) => e === "shadow", go = () => {
909
- const e = I("color"), t = I("font"), r = I("text"), o = I("font-weight"), n = I("tracking"), a = I("leading"), i = I("breakpoint"), l = I("container"), c = I("spacing"), d = I("radius"), m = I("shadow"), v = I("inset-shadow"), N = I("text-shadow"), w = I("drop-shadow"), A = I("blur"), k = I("perspective"), C = I("aspect"), R = I("ease"), y = I("animate"), P = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], L = () => [
908
+ }, Ot = (e) => e === "position" || e === "percentage", Bt = (e) => e === "image" || e === "url", Dt = (e) => e === "length" || e === "size" || e === "bg-size", $t = (e) => e === "length", go = (e) => e === "number", bo = (e) => e === "family-name", jt = (e) => e === "shadow", ho = () => {
909
+ const e = S("color"), t = S("font"), r = S("text"), o = S("font-weight"), n = S("tracking"), a = S("leading"), i = S("breakpoint"), l = S("container"), c = S("spacing"), d = S("radius"), m = S("shadow"), b = S("inset-shadow"), A = S("text-shadow"), C = S("drop-shadow"), k = S("blur"), y = S("perspective"), N = S("aspect"), R = S("ease"), w = S("animate"), P = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], L = () => [
910
910
  "center",
911
911
  "top",
912
912
  "bottom",
@@ -924,15 +924,15 @@ const I = (e) => {
924
924
  "bottom-left",
925
925
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
926
926
  "left-bottom"
927
- ], T = () => [...L(), f, u], E = () => ["auto", "hidden", "clip", "visible", "scroll"], D = () => ["auto", "contain", "none"], h = () => [f, u, c], $ = () => [H, "full", "auto", ...h()], He = () => [G, "none", "subgrid", f, u], qe = () => ["auto", {
927
+ ], T = () => [...L(), f, u], E = () => ["auto", "hidden", "clip", "visible", "scroll"], D = () => ["auto", "contain", "none"], v = () => [f, u, c], $ = () => [K, "full", "auto", ...v()], Ke = () => [G, "none", "subgrid", f, u], Xe = () => ["auto", {
928
928
  span: ["full", G, f, u]
929
- }, G, f, u], ae = () => [G, "auto", f, u], Ze = () => ["auto", "min", "max", "fr", f, u], xe = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], W = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], j = () => ["auto", ...h()], F = () => [H, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...h()], b = () => [e, f, u], Ke = () => [...L(), nt, ot, {
929
+ }, G, f, u], le = () => [G, "auto", f, u], Je = () => ["auto", "min", "max", "fr", f, u], ke = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Z = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], j = () => ["auto", ...v()], F = () => [K, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...v()], h = () => [e, f, u], Ye = () => [...L(), it, st, {
930
930
  position: [f, u]
931
- }], Xe = () => ["no-repeat", {
931
+ }], Qe = () => ["no-repeat", {
932
932
  repeat: ["", "x", "y", "space", "round"]
933
- }], Je = () => ["auto", "cover", "contain", uo, io, {
933
+ }], et = () => ["auto", "cover", "contain", mo, co, {
934
934
  size: [f, u]
935
- }], ye = () => [we, ee, U], z = () => [
935
+ }], we = () => [Ne, ee, W], z = () => [
936
936
  // Deprecated since Tailwind CSS v4.0.0
937
937
  "",
938
938
  "none",
@@ -940,14 +940,14 @@ const I = (e) => {
940
940
  d,
941
941
  f,
942
942
  u
943
- ], O = () => ["", x, ee, U], se = () => ["solid", "dashed", "dotted", "double"], Ye = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], M = () => [x, we, nt, ot], Qe = () => [
943
+ ], O = () => ["", x, ee, W], ce = () => ["solid", "dashed", "dotted", "double"], tt = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], M = () => [x, Ne, it, st], rt = () => [
944
944
  // Deprecated since Tailwind CSS v4.0.0
945
945
  "",
946
946
  "none",
947
- A,
947
+ k,
948
948
  f,
949
949
  u
950
- ], ie = () => ["none", x, f, u], le = () => ["none", x, f, u], ke = () => [x, f, u], ce = () => [H, "full", ...h()];
950
+ ], de = () => ["none", x, f, u], ue = () => ["none", x, f, u], Ce = () => [x, f, u], fe = () => [K, "full", ...v()];
951
951
  return {
952
952
  cacheSize: 500,
953
953
  theme: {
@@ -955,11 +955,11 @@ const I = (e) => {
955
955
  aspect: ["video"],
956
956
  blur: [V],
957
957
  breakpoint: [V],
958
- color: [ro],
958
+ color: [no],
959
959
  container: [V],
960
960
  "drop-shadow": [V],
961
961
  ease: ["in", "out", "in-out"],
962
- font: [so],
962
+ font: [lo],
963
963
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
964
964
  "inset-shadow": [V],
965
965
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
@@ -980,7 +980,7 @@ const I = (e) => {
980
980
  * @see https://tailwindcss.com/docs/aspect-ratio
981
981
  */
982
982
  aspect: [{
983
- aspect: ["auto", "square", H, u, f, C]
983
+ aspect: ["auto", "square", K, u, f, N]
984
984
  }],
985
985
  /**
986
986
  * Container
@@ -1203,7 +1203,7 @@ const I = (e) => {
1203
1203
  * @see https://tailwindcss.com/docs/flex-basis
1204
1204
  */
1205
1205
  basis: [{
1206
- basis: [H, "full", "auto", l, ...h()]
1206
+ basis: [K, "full", "auto", l, ...v()]
1207
1207
  }],
1208
1208
  /**
1209
1209
  * Flex Direction
@@ -1224,7 +1224,7 @@ const I = (e) => {
1224
1224
  * @see https://tailwindcss.com/docs/flex
1225
1225
  */
1226
1226
  flex: [{
1227
- flex: [x, H, "auto", "initial", "none", u]
1227
+ flex: [x, K, "auto", "initial", "none", u]
1228
1228
  }],
1229
1229
  /**
1230
1230
  * Flex Grow
@@ -1252,56 +1252,56 @@ const I = (e) => {
1252
1252
  * @see https://tailwindcss.com/docs/grid-template-columns
1253
1253
  */
1254
1254
  "grid-cols": [{
1255
- "grid-cols": He()
1255
+ "grid-cols": Ke()
1256
1256
  }],
1257
1257
  /**
1258
1258
  * Grid Column Start / End
1259
1259
  * @see https://tailwindcss.com/docs/grid-column
1260
1260
  */
1261
1261
  "col-start-end": [{
1262
- col: qe()
1262
+ col: Xe()
1263
1263
  }],
1264
1264
  /**
1265
1265
  * Grid Column Start
1266
1266
  * @see https://tailwindcss.com/docs/grid-column
1267
1267
  */
1268
1268
  "col-start": [{
1269
- "col-start": ae()
1269
+ "col-start": le()
1270
1270
  }],
1271
1271
  /**
1272
1272
  * Grid Column End
1273
1273
  * @see https://tailwindcss.com/docs/grid-column
1274
1274
  */
1275
1275
  "col-end": [{
1276
- "col-end": ae()
1276
+ "col-end": le()
1277
1277
  }],
1278
1278
  /**
1279
1279
  * Grid Template Rows
1280
1280
  * @see https://tailwindcss.com/docs/grid-template-rows
1281
1281
  */
1282
1282
  "grid-rows": [{
1283
- "grid-rows": He()
1283
+ "grid-rows": Ke()
1284
1284
  }],
1285
1285
  /**
1286
1286
  * Grid Row Start / End
1287
1287
  * @see https://tailwindcss.com/docs/grid-row
1288
1288
  */
1289
1289
  "row-start-end": [{
1290
- row: qe()
1290
+ row: Xe()
1291
1291
  }],
1292
1292
  /**
1293
1293
  * Grid Row Start
1294
1294
  * @see https://tailwindcss.com/docs/grid-row
1295
1295
  */
1296
1296
  "row-start": [{
1297
- "row-start": ae()
1297
+ "row-start": le()
1298
1298
  }],
1299
1299
  /**
1300
1300
  * Grid Row End
1301
1301
  * @see https://tailwindcss.com/docs/grid-row
1302
1302
  */
1303
1303
  "row-end": [{
1304
- "row-end": ae()
1304
+ "row-end": le()
1305
1305
  }],
1306
1306
  /**
1307
1307
  * Grid Auto Flow
@@ -1315,70 +1315,70 @@ const I = (e) => {
1315
1315
  * @see https://tailwindcss.com/docs/grid-auto-columns
1316
1316
  */
1317
1317
  "auto-cols": [{
1318
- "auto-cols": Ze()
1318
+ "auto-cols": Je()
1319
1319
  }],
1320
1320
  /**
1321
1321
  * Grid Auto Rows
1322
1322
  * @see https://tailwindcss.com/docs/grid-auto-rows
1323
1323
  */
1324
1324
  "auto-rows": [{
1325
- "auto-rows": Ze()
1325
+ "auto-rows": Je()
1326
1326
  }],
1327
1327
  /**
1328
1328
  * Gap
1329
1329
  * @see https://tailwindcss.com/docs/gap
1330
1330
  */
1331
1331
  gap: [{
1332
- gap: h()
1332
+ gap: v()
1333
1333
  }],
1334
1334
  /**
1335
1335
  * Gap X
1336
1336
  * @see https://tailwindcss.com/docs/gap
1337
1337
  */
1338
1338
  "gap-x": [{
1339
- "gap-x": h()
1339
+ "gap-x": v()
1340
1340
  }],
1341
1341
  /**
1342
1342
  * Gap Y
1343
1343
  * @see https://tailwindcss.com/docs/gap
1344
1344
  */
1345
1345
  "gap-y": [{
1346
- "gap-y": h()
1346
+ "gap-y": v()
1347
1347
  }],
1348
1348
  /**
1349
1349
  * Justify Content
1350
1350
  * @see https://tailwindcss.com/docs/justify-content
1351
1351
  */
1352
1352
  "justify-content": [{
1353
- justify: [...xe(), "normal"]
1353
+ justify: [...ke(), "normal"]
1354
1354
  }],
1355
1355
  /**
1356
1356
  * Justify Items
1357
1357
  * @see https://tailwindcss.com/docs/justify-items
1358
1358
  */
1359
1359
  "justify-items": [{
1360
- "justify-items": [...W(), "normal"]
1360
+ "justify-items": [...Z(), "normal"]
1361
1361
  }],
1362
1362
  /**
1363
1363
  * Justify Self
1364
1364
  * @see https://tailwindcss.com/docs/justify-self
1365
1365
  */
1366
1366
  "justify-self": [{
1367
- "justify-self": ["auto", ...W()]
1367
+ "justify-self": ["auto", ...Z()]
1368
1368
  }],
1369
1369
  /**
1370
1370
  * Align Content
1371
1371
  * @see https://tailwindcss.com/docs/align-content
1372
1372
  */
1373
1373
  "align-content": [{
1374
- content: ["normal", ...xe()]
1374
+ content: ["normal", ...ke()]
1375
1375
  }],
1376
1376
  /**
1377
1377
  * Align Items
1378
1378
  * @see https://tailwindcss.com/docs/align-items
1379
1379
  */
1380
1380
  "align-items": [{
1381
- items: [...W(), {
1381
+ items: [...Z(), {
1382
1382
  baseline: ["", "last"]
1383
1383
  }]
1384
1384
  }],
@@ -1387,7 +1387,7 @@ const I = (e) => {
1387
1387
  * @see https://tailwindcss.com/docs/align-self
1388
1388
  */
1389
1389
  "align-self": [{
1390
- self: ["auto", ...W(), {
1390
+ self: ["auto", ...Z(), {
1391
1391
  baseline: ["", "last"]
1392
1392
  }]
1393
1393
  }],
@@ -1396,21 +1396,21 @@ const I = (e) => {
1396
1396
  * @see https://tailwindcss.com/docs/place-content
1397
1397
  */
1398
1398
  "place-content": [{
1399
- "place-content": xe()
1399
+ "place-content": ke()
1400
1400
  }],
1401
1401
  /**
1402
1402
  * Place Items
1403
1403
  * @see https://tailwindcss.com/docs/place-items
1404
1404
  */
1405
1405
  "place-items": [{
1406
- "place-items": [...W(), "baseline"]
1406
+ "place-items": [...Z(), "baseline"]
1407
1407
  }],
1408
1408
  /**
1409
1409
  * Place Self
1410
1410
  * @see https://tailwindcss.com/docs/place-self
1411
1411
  */
1412
1412
  "place-self": [{
1413
- "place-self": ["auto", ...W()]
1413
+ "place-self": ["auto", ...Z()]
1414
1414
  }],
1415
1415
  // Spacing
1416
1416
  /**
@@ -1418,63 +1418,63 @@ const I = (e) => {
1418
1418
  * @see https://tailwindcss.com/docs/padding
1419
1419
  */
1420
1420
  p: [{
1421
- p: h()
1421
+ p: v()
1422
1422
  }],
1423
1423
  /**
1424
1424
  * Padding X
1425
1425
  * @see https://tailwindcss.com/docs/padding
1426
1426
  */
1427
1427
  px: [{
1428
- px: h()
1428
+ px: v()
1429
1429
  }],
1430
1430
  /**
1431
1431
  * Padding Y
1432
1432
  * @see https://tailwindcss.com/docs/padding
1433
1433
  */
1434
1434
  py: [{
1435
- py: h()
1435
+ py: v()
1436
1436
  }],
1437
1437
  /**
1438
1438
  * Padding Start
1439
1439
  * @see https://tailwindcss.com/docs/padding
1440
1440
  */
1441
1441
  ps: [{
1442
- ps: h()
1442
+ ps: v()
1443
1443
  }],
1444
1444
  /**
1445
1445
  * Padding End
1446
1446
  * @see https://tailwindcss.com/docs/padding
1447
1447
  */
1448
1448
  pe: [{
1449
- pe: h()
1449
+ pe: v()
1450
1450
  }],
1451
1451
  /**
1452
1452
  * Padding Top
1453
1453
  * @see https://tailwindcss.com/docs/padding
1454
1454
  */
1455
1455
  pt: [{
1456
- pt: h()
1456
+ pt: v()
1457
1457
  }],
1458
1458
  /**
1459
1459
  * Padding Right
1460
1460
  * @see https://tailwindcss.com/docs/padding
1461
1461
  */
1462
1462
  pr: [{
1463
- pr: h()
1463
+ pr: v()
1464
1464
  }],
1465
1465
  /**
1466
1466
  * Padding Bottom
1467
1467
  * @see https://tailwindcss.com/docs/padding
1468
1468
  */
1469
1469
  pb: [{
1470
- pb: h()
1470
+ pb: v()
1471
1471
  }],
1472
1472
  /**
1473
1473
  * Padding Left
1474
1474
  * @see https://tailwindcss.com/docs/padding
1475
1475
  */
1476
1476
  pl: [{
1477
- pl: h()
1477
+ pl: v()
1478
1478
  }],
1479
1479
  /**
1480
1480
  * Margin
@@ -1544,7 +1544,7 @@ const I = (e) => {
1544
1544
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1545
1545
  */
1546
1546
  "space-x": [{
1547
- "space-x": h()
1547
+ "space-x": v()
1548
1548
  }],
1549
1549
  /**
1550
1550
  * Space Between X Reverse
@@ -1556,7 +1556,7 @@ const I = (e) => {
1556
1556
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1557
1557
  */
1558
1558
  "space-y": [{
1559
- "space-y": h()
1559
+ "space-y": v()
1560
1560
  }],
1561
1561
  /**
1562
1562
  * Space Between Y Reverse
@@ -1640,7 +1640,7 @@ const I = (e) => {
1640
1640
  * @see https://tailwindcss.com/docs/font-size
1641
1641
  */
1642
1642
  "font-size": [{
1643
- text: ["base", r, ee, U]
1643
+ text: ["base", r, ee, W]
1644
1644
  }],
1645
1645
  /**
1646
1646
  * Font Smoothing
@@ -1657,21 +1657,21 @@ const I = (e) => {
1657
1657
  * @see https://tailwindcss.com/docs/font-weight
1658
1658
  */
1659
1659
  "font-weight": [{
1660
- font: [o, f, Ce]
1660
+ font: [o, f, Ae]
1661
1661
  }],
1662
1662
  /**
1663
1663
  * Font Stretch
1664
1664
  * @see https://tailwindcss.com/docs/font-stretch
1665
1665
  */
1666
1666
  "font-stretch": [{
1667
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", we, u]
1667
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Ne, u]
1668
1668
  }],
1669
1669
  /**
1670
1670
  * Font Family
1671
1671
  * @see https://tailwindcss.com/docs/font-family
1672
1672
  */
1673
1673
  "font-family": [{
1674
- font: [co, u, t]
1674
+ font: [fo, u, t]
1675
1675
  }],
1676
1676
  /**
1677
1677
  * Font Variant Numeric
@@ -1715,7 +1715,7 @@ const I = (e) => {
1715
1715
  * @see https://tailwindcss.com/docs/line-clamp
1716
1716
  */
1717
1717
  "line-clamp": [{
1718
- "line-clamp": [x, "none", f, Ce]
1718
+ "line-clamp": [x, "none", f, Ae]
1719
1719
  }],
1720
1720
  /**
1721
1721
  * Line Height
@@ -1725,7 +1725,7 @@ const I = (e) => {
1725
1725
  leading: [
1726
1726
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1727
1727
  a,
1728
- ...h()
1728
+ ...v()
1729
1729
  ]
1730
1730
  }],
1731
1731
  /**
@@ -1762,14 +1762,14 @@ const I = (e) => {
1762
1762
  * @see https://v3.tailwindcss.com/docs/placeholder-color
1763
1763
  */
1764
1764
  "placeholder-color": [{
1765
- placeholder: b()
1765
+ placeholder: h()
1766
1766
  }],
1767
1767
  /**
1768
1768
  * Text Color
1769
1769
  * @see https://tailwindcss.com/docs/text-color
1770
1770
  */
1771
1771
  "text-color": [{
1772
- text: b()
1772
+ text: h()
1773
1773
  }],
1774
1774
  /**
1775
1775
  * Text Decoration
@@ -1781,21 +1781,21 @@ const I = (e) => {
1781
1781
  * @see https://tailwindcss.com/docs/text-decoration-style
1782
1782
  */
1783
1783
  "text-decoration-style": [{
1784
- decoration: [...se(), "wavy"]
1784
+ decoration: [...ce(), "wavy"]
1785
1785
  }],
1786
1786
  /**
1787
1787
  * Text Decoration Thickness
1788
1788
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1789
1789
  */
1790
1790
  "text-decoration-thickness": [{
1791
- decoration: [x, "from-font", "auto", f, U]
1791
+ decoration: [x, "from-font", "auto", f, W]
1792
1792
  }],
1793
1793
  /**
1794
1794
  * Text Decoration Color
1795
1795
  * @see https://tailwindcss.com/docs/text-decoration-color
1796
1796
  */
1797
1797
  "text-decoration-color": [{
1798
- decoration: b()
1798
+ decoration: h()
1799
1799
  }],
1800
1800
  /**
1801
1801
  * Text Underline Offset
@@ -1826,7 +1826,7 @@ const I = (e) => {
1826
1826
  * @see https://tailwindcss.com/docs/text-indent
1827
1827
  */
1828
1828
  indent: [{
1829
- indent: h()
1829
+ indent: v()
1830
1830
  }],
1831
1831
  /**
1832
1832
  * Vertical Alignment
@@ -1899,21 +1899,21 @@ const I = (e) => {
1899
1899
  * @see https://tailwindcss.com/docs/background-position
1900
1900
  */
1901
1901
  "bg-position": [{
1902
- bg: Ke()
1902
+ bg: Ye()
1903
1903
  }],
1904
1904
  /**
1905
1905
  * Background Repeat
1906
1906
  * @see https://tailwindcss.com/docs/background-repeat
1907
1907
  */
1908
1908
  "bg-repeat": [{
1909
- bg: Xe()
1909
+ bg: Qe()
1910
1910
  }],
1911
1911
  /**
1912
1912
  * Background Size
1913
1913
  * @see https://tailwindcss.com/docs/background-size
1914
1914
  */
1915
1915
  "bg-size": [{
1916
- bg: Je()
1916
+ bg: et()
1917
1917
  }],
1918
1918
  /**
1919
1919
  * Background Image
@@ -1926,56 +1926,56 @@ const I = (e) => {
1926
1926
  }, G, f, u],
1927
1927
  radial: ["", f, u],
1928
1928
  conic: [G, f, u]
1929
- }, fo, lo]
1929
+ }, po, uo]
1930
1930
  }],
1931
1931
  /**
1932
1932
  * Background Color
1933
1933
  * @see https://tailwindcss.com/docs/background-color
1934
1934
  */
1935
1935
  "bg-color": [{
1936
- bg: b()
1936
+ bg: h()
1937
1937
  }],
1938
1938
  /**
1939
1939
  * Gradient Color Stops From Position
1940
1940
  * @see https://tailwindcss.com/docs/gradient-color-stops
1941
1941
  */
1942
1942
  "gradient-from-pos": [{
1943
- from: ye()
1943
+ from: we()
1944
1944
  }],
1945
1945
  /**
1946
1946
  * Gradient Color Stops Via Position
1947
1947
  * @see https://tailwindcss.com/docs/gradient-color-stops
1948
1948
  */
1949
1949
  "gradient-via-pos": [{
1950
- via: ye()
1950
+ via: we()
1951
1951
  }],
1952
1952
  /**
1953
1953
  * Gradient Color Stops To Position
1954
1954
  * @see https://tailwindcss.com/docs/gradient-color-stops
1955
1955
  */
1956
1956
  "gradient-to-pos": [{
1957
- to: ye()
1957
+ to: we()
1958
1958
  }],
1959
1959
  /**
1960
1960
  * Gradient Color Stops From
1961
1961
  * @see https://tailwindcss.com/docs/gradient-color-stops
1962
1962
  */
1963
1963
  "gradient-from": [{
1964
- from: b()
1964
+ from: h()
1965
1965
  }],
1966
1966
  /**
1967
1967
  * Gradient Color Stops Via
1968
1968
  * @see https://tailwindcss.com/docs/gradient-color-stops
1969
1969
  */
1970
1970
  "gradient-via": [{
1971
- via: b()
1971
+ via: h()
1972
1972
  }],
1973
1973
  /**
1974
1974
  * Gradient Color Stops To
1975
1975
  * @see https://tailwindcss.com/docs/gradient-color-stops
1976
1976
  */
1977
1977
  "gradient-to": [{
1978
- to: b()
1978
+ to: h()
1979
1979
  }],
1980
1980
  // ---------------
1981
1981
  // --- Borders ---
@@ -2177,91 +2177,91 @@ const I = (e) => {
2177
2177
  * @see https://tailwindcss.com/docs/border-style
2178
2178
  */
2179
2179
  "border-style": [{
2180
- border: [...se(), "hidden", "none"]
2180
+ border: [...ce(), "hidden", "none"]
2181
2181
  }],
2182
2182
  /**
2183
2183
  * Divide Style
2184
2184
  * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
2185
2185
  */
2186
2186
  "divide-style": [{
2187
- divide: [...se(), "hidden", "none"]
2187
+ divide: [...ce(), "hidden", "none"]
2188
2188
  }],
2189
2189
  /**
2190
2190
  * Border Color
2191
2191
  * @see https://tailwindcss.com/docs/border-color
2192
2192
  */
2193
2193
  "border-color": [{
2194
- border: b()
2194
+ border: h()
2195
2195
  }],
2196
2196
  /**
2197
2197
  * Border Color X
2198
2198
  * @see https://tailwindcss.com/docs/border-color
2199
2199
  */
2200
2200
  "border-color-x": [{
2201
- "border-x": b()
2201
+ "border-x": h()
2202
2202
  }],
2203
2203
  /**
2204
2204
  * Border Color Y
2205
2205
  * @see https://tailwindcss.com/docs/border-color
2206
2206
  */
2207
2207
  "border-color-y": [{
2208
- "border-y": b()
2208
+ "border-y": h()
2209
2209
  }],
2210
2210
  /**
2211
2211
  * Border Color S
2212
2212
  * @see https://tailwindcss.com/docs/border-color
2213
2213
  */
2214
2214
  "border-color-s": [{
2215
- "border-s": b()
2215
+ "border-s": h()
2216
2216
  }],
2217
2217
  /**
2218
2218
  * Border Color E
2219
2219
  * @see https://tailwindcss.com/docs/border-color
2220
2220
  */
2221
2221
  "border-color-e": [{
2222
- "border-e": b()
2222
+ "border-e": h()
2223
2223
  }],
2224
2224
  /**
2225
2225
  * Border Color Top
2226
2226
  * @see https://tailwindcss.com/docs/border-color
2227
2227
  */
2228
2228
  "border-color-t": [{
2229
- "border-t": b()
2229
+ "border-t": h()
2230
2230
  }],
2231
2231
  /**
2232
2232
  * Border Color Right
2233
2233
  * @see https://tailwindcss.com/docs/border-color
2234
2234
  */
2235
2235
  "border-color-r": [{
2236
- "border-r": b()
2236
+ "border-r": h()
2237
2237
  }],
2238
2238
  /**
2239
2239
  * Border Color Bottom
2240
2240
  * @see https://tailwindcss.com/docs/border-color
2241
2241
  */
2242
2242
  "border-color-b": [{
2243
- "border-b": b()
2243
+ "border-b": h()
2244
2244
  }],
2245
2245
  /**
2246
2246
  * Border Color Left
2247
2247
  * @see https://tailwindcss.com/docs/border-color
2248
2248
  */
2249
2249
  "border-color-l": [{
2250
- "border-l": b()
2250
+ "border-l": h()
2251
2251
  }],
2252
2252
  /**
2253
2253
  * Divide Color
2254
2254
  * @see https://tailwindcss.com/docs/divide-color
2255
2255
  */
2256
2256
  "divide-color": [{
2257
- divide: b()
2257
+ divide: h()
2258
2258
  }],
2259
2259
  /**
2260
2260
  * Outline Style
2261
2261
  * @see https://tailwindcss.com/docs/outline-style
2262
2262
  */
2263
2263
  "outline-style": [{
2264
- outline: [...se(), "none", "hidden"]
2264
+ outline: [...ce(), "none", "hidden"]
2265
2265
  }],
2266
2266
  /**
2267
2267
  * Outline Offset
@@ -2275,14 +2275,14 @@ const I = (e) => {
2275
2275
  * @see https://tailwindcss.com/docs/outline-width
2276
2276
  */
2277
2277
  "outline-w": [{
2278
- outline: ["", x, ee, U]
2278
+ outline: ["", x, ee, W]
2279
2279
  }],
2280
2280
  /**
2281
2281
  * Outline Color
2282
2282
  * @see https://tailwindcss.com/docs/outline-color
2283
2283
  */
2284
2284
  "outline-color": [{
2285
- outline: b()
2285
+ outline: h()
2286
2286
  }],
2287
2287
  // ---------------
2288
2288
  // --- Effects ---
@@ -2297,8 +2297,8 @@ const I = (e) => {
2297
2297
  "",
2298
2298
  "none",
2299
2299
  m,
2300
- fe,
2301
- ue
2300
+ ge,
2301
+ pe
2302
2302
  ]
2303
2303
  }],
2304
2304
  /**
@@ -2306,21 +2306,21 @@ const I = (e) => {
2306
2306
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
2307
2307
  */
2308
2308
  "shadow-color": [{
2309
- shadow: b()
2309
+ shadow: h()
2310
2310
  }],
2311
2311
  /**
2312
2312
  * Inset Box Shadow
2313
2313
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
2314
2314
  */
2315
2315
  "inset-shadow": [{
2316
- "inset-shadow": ["none", v, fe, ue]
2316
+ "inset-shadow": ["none", b, ge, pe]
2317
2317
  }],
2318
2318
  /**
2319
2319
  * Inset Box Shadow Color
2320
2320
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
2321
2321
  */
2322
2322
  "inset-shadow-color": [{
2323
- "inset-shadow": b()
2323
+ "inset-shadow": h()
2324
2324
  }],
2325
2325
  /**
2326
2326
  * Ring Width
@@ -2341,7 +2341,7 @@ const I = (e) => {
2341
2341
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
2342
2342
  */
2343
2343
  "ring-color": [{
2344
- ring: b()
2344
+ ring: h()
2345
2345
  }],
2346
2346
  /**
2347
2347
  * Ring Offset Width
@@ -2350,7 +2350,7 @@ const I = (e) => {
2350
2350
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2351
2351
  */
2352
2352
  "ring-offset-w": [{
2353
- "ring-offset": [x, U]
2353
+ "ring-offset": [x, W]
2354
2354
  }],
2355
2355
  /**
2356
2356
  * Ring Offset Color
@@ -2359,7 +2359,7 @@ const I = (e) => {
2359
2359
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2360
2360
  */
2361
2361
  "ring-offset-color": [{
2362
- "ring-offset": b()
2362
+ "ring-offset": h()
2363
2363
  }],
2364
2364
  /**
2365
2365
  * Inset Ring Width
@@ -2373,21 +2373,21 @@ const I = (e) => {
2373
2373
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
2374
2374
  */
2375
2375
  "inset-ring-color": [{
2376
- "inset-ring": b()
2376
+ "inset-ring": h()
2377
2377
  }],
2378
2378
  /**
2379
2379
  * Text Shadow
2380
2380
  * @see https://tailwindcss.com/docs/text-shadow
2381
2381
  */
2382
2382
  "text-shadow": [{
2383
- "text-shadow": ["none", N, fe, ue]
2383
+ "text-shadow": ["none", A, ge, pe]
2384
2384
  }],
2385
2385
  /**
2386
2386
  * Text Shadow Color
2387
2387
  * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
2388
2388
  */
2389
2389
  "text-shadow-color": [{
2390
- "text-shadow": b()
2390
+ "text-shadow": h()
2391
2391
  }],
2392
2392
  /**
2393
2393
  * Opacity
@@ -2401,14 +2401,14 @@ const I = (e) => {
2401
2401
  * @see https://tailwindcss.com/docs/mix-blend-mode
2402
2402
  */
2403
2403
  "mix-blend": [{
2404
- "mix-blend": [...Ye(), "plus-darker", "plus-lighter"]
2404
+ "mix-blend": [...tt(), "plus-darker", "plus-lighter"]
2405
2405
  }],
2406
2406
  /**
2407
2407
  * Background Blend Mode
2408
2408
  * @see https://tailwindcss.com/docs/background-blend-mode
2409
2409
  */
2410
2410
  "bg-blend": [{
2411
- "bg-blend": Ye()
2411
+ "bg-blend": tt()
2412
2412
  }],
2413
2413
  /**
2414
2414
  * Mask Clip
@@ -2438,10 +2438,10 @@ const I = (e) => {
2438
2438
  "mask-linear-to": M()
2439
2439
  }],
2440
2440
  "mask-image-linear-from-color": [{
2441
- "mask-linear-from": b()
2441
+ "mask-linear-from": h()
2442
2442
  }],
2443
2443
  "mask-image-linear-to-color": [{
2444
- "mask-linear-to": b()
2444
+ "mask-linear-to": h()
2445
2445
  }],
2446
2446
  "mask-image-t-from-pos": [{
2447
2447
  "mask-t-from": M()
@@ -2450,10 +2450,10 @@ const I = (e) => {
2450
2450
  "mask-t-to": M()
2451
2451
  }],
2452
2452
  "mask-image-t-from-color": [{
2453
- "mask-t-from": b()
2453
+ "mask-t-from": h()
2454
2454
  }],
2455
2455
  "mask-image-t-to-color": [{
2456
- "mask-t-to": b()
2456
+ "mask-t-to": h()
2457
2457
  }],
2458
2458
  "mask-image-r-from-pos": [{
2459
2459
  "mask-r-from": M()
@@ -2462,10 +2462,10 @@ const I = (e) => {
2462
2462
  "mask-r-to": M()
2463
2463
  }],
2464
2464
  "mask-image-r-from-color": [{
2465
- "mask-r-from": b()
2465
+ "mask-r-from": h()
2466
2466
  }],
2467
2467
  "mask-image-r-to-color": [{
2468
- "mask-r-to": b()
2468
+ "mask-r-to": h()
2469
2469
  }],
2470
2470
  "mask-image-b-from-pos": [{
2471
2471
  "mask-b-from": M()
@@ -2474,10 +2474,10 @@ const I = (e) => {
2474
2474
  "mask-b-to": M()
2475
2475
  }],
2476
2476
  "mask-image-b-from-color": [{
2477
- "mask-b-from": b()
2477
+ "mask-b-from": h()
2478
2478
  }],
2479
2479
  "mask-image-b-to-color": [{
2480
- "mask-b-to": b()
2480
+ "mask-b-to": h()
2481
2481
  }],
2482
2482
  "mask-image-l-from-pos": [{
2483
2483
  "mask-l-from": M()
@@ -2486,10 +2486,10 @@ const I = (e) => {
2486
2486
  "mask-l-to": M()
2487
2487
  }],
2488
2488
  "mask-image-l-from-color": [{
2489
- "mask-l-from": b()
2489
+ "mask-l-from": h()
2490
2490
  }],
2491
2491
  "mask-image-l-to-color": [{
2492
- "mask-l-to": b()
2492
+ "mask-l-to": h()
2493
2493
  }],
2494
2494
  "mask-image-x-from-pos": [{
2495
2495
  "mask-x-from": M()
@@ -2498,10 +2498,10 @@ const I = (e) => {
2498
2498
  "mask-x-to": M()
2499
2499
  }],
2500
2500
  "mask-image-x-from-color": [{
2501
- "mask-x-from": b()
2501
+ "mask-x-from": h()
2502
2502
  }],
2503
2503
  "mask-image-x-to-color": [{
2504
- "mask-x-to": b()
2504
+ "mask-x-to": h()
2505
2505
  }],
2506
2506
  "mask-image-y-from-pos": [{
2507
2507
  "mask-y-from": M()
@@ -2510,10 +2510,10 @@ const I = (e) => {
2510
2510
  "mask-y-to": M()
2511
2511
  }],
2512
2512
  "mask-image-y-from-color": [{
2513
- "mask-y-from": b()
2513
+ "mask-y-from": h()
2514
2514
  }],
2515
2515
  "mask-image-y-to-color": [{
2516
- "mask-y-to": b()
2516
+ "mask-y-to": h()
2517
2517
  }],
2518
2518
  "mask-image-radial": [{
2519
2519
  "mask-radial": [f, u]
@@ -2525,10 +2525,10 @@ const I = (e) => {
2525
2525
  "mask-radial-to": M()
2526
2526
  }],
2527
2527
  "mask-image-radial-from-color": [{
2528
- "mask-radial-from": b()
2528
+ "mask-radial-from": h()
2529
2529
  }],
2530
2530
  "mask-image-radial-to-color": [{
2531
- "mask-radial-to": b()
2531
+ "mask-radial-to": h()
2532
2532
  }],
2533
2533
  "mask-image-radial-shape": [{
2534
2534
  "mask-radial": ["circle", "ellipse"]
@@ -2552,10 +2552,10 @@ const I = (e) => {
2552
2552
  "mask-conic-to": M()
2553
2553
  }],
2554
2554
  "mask-image-conic-from-color": [{
2555
- "mask-conic-from": b()
2555
+ "mask-conic-from": h()
2556
2556
  }],
2557
2557
  "mask-image-conic-to-color": [{
2558
- "mask-conic-to": b()
2558
+ "mask-conic-to": h()
2559
2559
  }],
2560
2560
  /**
2561
2561
  * Mask Mode
@@ -2576,21 +2576,21 @@ const I = (e) => {
2576
2576
  * @see https://tailwindcss.com/docs/mask-position
2577
2577
  */
2578
2578
  "mask-position": [{
2579
- mask: Ke()
2579
+ mask: Ye()
2580
2580
  }],
2581
2581
  /**
2582
2582
  * Mask Repeat
2583
2583
  * @see https://tailwindcss.com/docs/mask-repeat
2584
2584
  */
2585
2585
  "mask-repeat": [{
2586
- mask: Xe()
2586
+ mask: Qe()
2587
2587
  }],
2588
2588
  /**
2589
2589
  * Mask Size
2590
2590
  * @see https://tailwindcss.com/docs/mask-size
2591
2591
  */
2592
2592
  "mask-size": [{
2593
- mask: Je()
2593
+ mask: et()
2594
2594
  }],
2595
2595
  /**
2596
2596
  * Mask Type
@@ -2627,7 +2627,7 @@ const I = (e) => {
2627
2627
  * @see https://tailwindcss.com/docs/blur
2628
2628
  */
2629
2629
  blur: [{
2630
- blur: Qe()
2630
+ blur: rt()
2631
2631
  }],
2632
2632
  /**
2633
2633
  * Brightness
@@ -2652,9 +2652,9 @@ const I = (e) => {
2652
2652
  // Deprecated since Tailwind CSS v4.0.0
2653
2653
  "",
2654
2654
  "none",
2655
- w,
2656
- fe,
2657
- ue
2655
+ C,
2656
+ ge,
2657
+ pe
2658
2658
  ]
2659
2659
  }],
2660
2660
  /**
@@ -2662,7 +2662,7 @@ const I = (e) => {
2662
2662
  * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2663
2663
  */
2664
2664
  "drop-shadow-color": [{
2665
- "drop-shadow": b()
2665
+ "drop-shadow": h()
2666
2666
  }],
2667
2667
  /**
2668
2668
  * Grayscale
@@ -2717,7 +2717,7 @@ const I = (e) => {
2717
2717
  * @see https://tailwindcss.com/docs/backdrop-blur
2718
2718
  */
2719
2719
  "backdrop-blur": [{
2720
- "backdrop-blur": Qe()
2720
+ "backdrop-blur": rt()
2721
2721
  }],
2722
2722
  /**
2723
2723
  * Backdrop Brightness
@@ -2790,21 +2790,21 @@ const I = (e) => {
2790
2790
  * @see https://tailwindcss.com/docs/border-spacing
2791
2791
  */
2792
2792
  "border-spacing": [{
2793
- "border-spacing": h()
2793
+ "border-spacing": v()
2794
2794
  }],
2795
2795
  /**
2796
2796
  * Border Spacing X
2797
2797
  * @see https://tailwindcss.com/docs/border-spacing
2798
2798
  */
2799
2799
  "border-spacing-x": [{
2800
- "border-spacing-x": h()
2800
+ "border-spacing-x": v()
2801
2801
  }],
2802
2802
  /**
2803
2803
  * Border Spacing Y
2804
2804
  * @see https://tailwindcss.com/docs/border-spacing
2805
2805
  */
2806
2806
  "border-spacing-y": [{
2807
- "border-spacing-y": h()
2807
+ "border-spacing-y": v()
2808
2808
  }],
2809
2809
  /**
2810
2810
  * Table Layout
@@ -2863,7 +2863,7 @@ const I = (e) => {
2863
2863
  * @see https://tailwindcss.com/docs/animation
2864
2864
  */
2865
2865
  animate: [{
2866
- animate: ["none", y, f, u]
2866
+ animate: ["none", w, f, u]
2867
2867
  }],
2868
2868
  // ------------------
2869
2869
  // --- Transforms ---
@@ -2880,7 +2880,7 @@ const I = (e) => {
2880
2880
  * @see https://tailwindcss.com/docs/perspective
2881
2881
  */
2882
2882
  perspective: [{
2883
- perspective: [k, f, u]
2883
+ perspective: [y, f, u]
2884
2884
  }],
2885
2885
  /**
2886
2886
  * Perspective Origin
@@ -2894,56 +2894,56 @@ const I = (e) => {
2894
2894
  * @see https://tailwindcss.com/docs/rotate
2895
2895
  */
2896
2896
  rotate: [{
2897
- rotate: ie()
2897
+ rotate: de()
2898
2898
  }],
2899
2899
  /**
2900
2900
  * Rotate X
2901
2901
  * @see https://tailwindcss.com/docs/rotate
2902
2902
  */
2903
2903
  "rotate-x": [{
2904
- "rotate-x": ie()
2904
+ "rotate-x": de()
2905
2905
  }],
2906
2906
  /**
2907
2907
  * Rotate Y
2908
2908
  * @see https://tailwindcss.com/docs/rotate
2909
2909
  */
2910
2910
  "rotate-y": [{
2911
- "rotate-y": ie()
2911
+ "rotate-y": de()
2912
2912
  }],
2913
2913
  /**
2914
2914
  * Rotate Z
2915
2915
  * @see https://tailwindcss.com/docs/rotate
2916
2916
  */
2917
2917
  "rotate-z": [{
2918
- "rotate-z": ie()
2918
+ "rotate-z": de()
2919
2919
  }],
2920
2920
  /**
2921
2921
  * Scale
2922
2922
  * @see https://tailwindcss.com/docs/scale
2923
2923
  */
2924
2924
  scale: [{
2925
- scale: le()
2925
+ scale: ue()
2926
2926
  }],
2927
2927
  /**
2928
2928
  * Scale X
2929
2929
  * @see https://tailwindcss.com/docs/scale
2930
2930
  */
2931
2931
  "scale-x": [{
2932
- "scale-x": le()
2932
+ "scale-x": ue()
2933
2933
  }],
2934
2934
  /**
2935
2935
  * Scale Y
2936
2936
  * @see https://tailwindcss.com/docs/scale
2937
2937
  */
2938
2938
  "scale-y": [{
2939
- "scale-y": le()
2939
+ "scale-y": ue()
2940
2940
  }],
2941
2941
  /**
2942
2942
  * Scale Z
2943
2943
  * @see https://tailwindcss.com/docs/scale
2944
2944
  */
2945
2945
  "scale-z": [{
2946
- "scale-z": le()
2946
+ "scale-z": ue()
2947
2947
  }],
2948
2948
  /**
2949
2949
  * Scale 3D
@@ -2955,21 +2955,21 @@ const I = (e) => {
2955
2955
  * @see https://tailwindcss.com/docs/skew
2956
2956
  */
2957
2957
  skew: [{
2958
- skew: ke()
2958
+ skew: Ce()
2959
2959
  }],
2960
2960
  /**
2961
2961
  * Skew X
2962
2962
  * @see https://tailwindcss.com/docs/skew
2963
2963
  */
2964
2964
  "skew-x": [{
2965
- "skew-x": ke()
2965
+ "skew-x": Ce()
2966
2966
  }],
2967
2967
  /**
2968
2968
  * Skew Y
2969
2969
  * @see https://tailwindcss.com/docs/skew
2970
2970
  */
2971
2971
  "skew-y": [{
2972
- "skew-y": ke()
2972
+ "skew-y": Ce()
2973
2973
  }],
2974
2974
  /**
2975
2975
  * Transform
@@ -2997,28 +2997,28 @@ const I = (e) => {
2997
2997
  * @see https://tailwindcss.com/docs/translate
2998
2998
  */
2999
2999
  translate: [{
3000
- translate: ce()
3000
+ translate: fe()
3001
3001
  }],
3002
3002
  /**
3003
3003
  * Translate X
3004
3004
  * @see https://tailwindcss.com/docs/translate
3005
3005
  */
3006
3006
  "translate-x": [{
3007
- "translate-x": ce()
3007
+ "translate-x": fe()
3008
3008
  }],
3009
3009
  /**
3010
3010
  * Translate Y
3011
3011
  * @see https://tailwindcss.com/docs/translate
3012
3012
  */
3013
3013
  "translate-y": [{
3014
- "translate-y": ce()
3014
+ "translate-y": fe()
3015
3015
  }],
3016
3016
  /**
3017
3017
  * Translate Z
3018
3018
  * @see https://tailwindcss.com/docs/translate
3019
3019
  */
3020
3020
  "translate-z": [{
3021
- "translate-z": ce()
3021
+ "translate-z": fe()
3022
3022
  }],
3023
3023
  /**
3024
3024
  * Translate None
@@ -3033,7 +3033,7 @@ const I = (e) => {
3033
3033
  * @see https://tailwindcss.com/docs/accent-color
3034
3034
  */
3035
3035
  accent: [{
3036
- accent: b()
3036
+ accent: h()
3037
3037
  }],
3038
3038
  /**
3039
3039
  * Appearance
@@ -3047,7 +3047,7 @@ const I = (e) => {
3047
3047
  * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
3048
3048
  */
3049
3049
  "caret-color": [{
3050
- caret: b()
3050
+ caret: h()
3051
3051
  }],
3052
3052
  /**
3053
3053
  * Color Scheme
@@ -3096,126 +3096,126 @@ const I = (e) => {
3096
3096
  * @see https://tailwindcss.com/docs/scroll-margin
3097
3097
  */
3098
3098
  "scroll-m": [{
3099
- "scroll-m": h()
3099
+ "scroll-m": v()
3100
3100
  }],
3101
3101
  /**
3102
3102
  * Scroll Margin X
3103
3103
  * @see https://tailwindcss.com/docs/scroll-margin
3104
3104
  */
3105
3105
  "scroll-mx": [{
3106
- "scroll-mx": h()
3106
+ "scroll-mx": v()
3107
3107
  }],
3108
3108
  /**
3109
3109
  * Scroll Margin Y
3110
3110
  * @see https://tailwindcss.com/docs/scroll-margin
3111
3111
  */
3112
3112
  "scroll-my": [{
3113
- "scroll-my": h()
3113
+ "scroll-my": v()
3114
3114
  }],
3115
3115
  /**
3116
3116
  * Scroll Margin Start
3117
3117
  * @see https://tailwindcss.com/docs/scroll-margin
3118
3118
  */
3119
3119
  "scroll-ms": [{
3120
- "scroll-ms": h()
3120
+ "scroll-ms": v()
3121
3121
  }],
3122
3122
  /**
3123
3123
  * Scroll Margin End
3124
3124
  * @see https://tailwindcss.com/docs/scroll-margin
3125
3125
  */
3126
3126
  "scroll-me": [{
3127
- "scroll-me": h()
3127
+ "scroll-me": v()
3128
3128
  }],
3129
3129
  /**
3130
3130
  * Scroll Margin Top
3131
3131
  * @see https://tailwindcss.com/docs/scroll-margin
3132
3132
  */
3133
3133
  "scroll-mt": [{
3134
- "scroll-mt": h()
3134
+ "scroll-mt": v()
3135
3135
  }],
3136
3136
  /**
3137
3137
  * Scroll Margin Right
3138
3138
  * @see https://tailwindcss.com/docs/scroll-margin
3139
3139
  */
3140
3140
  "scroll-mr": [{
3141
- "scroll-mr": h()
3141
+ "scroll-mr": v()
3142
3142
  }],
3143
3143
  /**
3144
3144
  * Scroll Margin Bottom
3145
3145
  * @see https://tailwindcss.com/docs/scroll-margin
3146
3146
  */
3147
3147
  "scroll-mb": [{
3148
- "scroll-mb": h()
3148
+ "scroll-mb": v()
3149
3149
  }],
3150
3150
  /**
3151
3151
  * Scroll Margin Left
3152
3152
  * @see https://tailwindcss.com/docs/scroll-margin
3153
3153
  */
3154
3154
  "scroll-ml": [{
3155
- "scroll-ml": h()
3155
+ "scroll-ml": v()
3156
3156
  }],
3157
3157
  /**
3158
3158
  * Scroll Padding
3159
3159
  * @see https://tailwindcss.com/docs/scroll-padding
3160
3160
  */
3161
3161
  "scroll-p": [{
3162
- "scroll-p": h()
3162
+ "scroll-p": v()
3163
3163
  }],
3164
3164
  /**
3165
3165
  * Scroll Padding X
3166
3166
  * @see https://tailwindcss.com/docs/scroll-padding
3167
3167
  */
3168
3168
  "scroll-px": [{
3169
- "scroll-px": h()
3169
+ "scroll-px": v()
3170
3170
  }],
3171
3171
  /**
3172
3172
  * Scroll Padding Y
3173
3173
  * @see https://tailwindcss.com/docs/scroll-padding
3174
3174
  */
3175
3175
  "scroll-py": [{
3176
- "scroll-py": h()
3176
+ "scroll-py": v()
3177
3177
  }],
3178
3178
  /**
3179
3179
  * Scroll Padding Start
3180
3180
  * @see https://tailwindcss.com/docs/scroll-padding
3181
3181
  */
3182
3182
  "scroll-ps": [{
3183
- "scroll-ps": h()
3183
+ "scroll-ps": v()
3184
3184
  }],
3185
3185
  /**
3186
3186
  * Scroll Padding End
3187
3187
  * @see https://tailwindcss.com/docs/scroll-padding
3188
3188
  */
3189
3189
  "scroll-pe": [{
3190
- "scroll-pe": h()
3190
+ "scroll-pe": v()
3191
3191
  }],
3192
3192
  /**
3193
3193
  * Scroll Padding Top
3194
3194
  * @see https://tailwindcss.com/docs/scroll-padding
3195
3195
  */
3196
3196
  "scroll-pt": [{
3197
- "scroll-pt": h()
3197
+ "scroll-pt": v()
3198
3198
  }],
3199
3199
  /**
3200
3200
  * Scroll Padding Right
3201
3201
  * @see https://tailwindcss.com/docs/scroll-padding
3202
3202
  */
3203
3203
  "scroll-pr": [{
3204
- "scroll-pr": h()
3204
+ "scroll-pr": v()
3205
3205
  }],
3206
3206
  /**
3207
3207
  * Scroll Padding Bottom
3208
3208
  * @see https://tailwindcss.com/docs/scroll-padding
3209
3209
  */
3210
3210
  "scroll-pb": [{
3211
- "scroll-pb": h()
3211
+ "scroll-pb": v()
3212
3212
  }],
3213
3213
  /**
3214
3214
  * Scroll Padding Left
3215
3215
  * @see https://tailwindcss.com/docs/scroll-padding
3216
3216
  */
3217
3217
  "scroll-pl": [{
3218
- "scroll-pl": h()
3218
+ "scroll-pl": v()
3219
3219
  }],
3220
3220
  /**
3221
3221
  * Scroll Snap Align
@@ -3293,21 +3293,21 @@ const I = (e) => {
3293
3293
  * @see https://tailwindcss.com/docs/fill
3294
3294
  */
3295
3295
  fill: [{
3296
- fill: ["none", ...b()]
3296
+ fill: ["none", ...h()]
3297
3297
  }],
3298
3298
  /**
3299
3299
  * Stroke Width
3300
3300
  * @see https://tailwindcss.com/docs/stroke-width
3301
3301
  */
3302
3302
  "stroke-w": [{
3303
- stroke: [x, ee, U, Ce]
3303
+ stroke: [x, ee, W, Ae]
3304
3304
  }],
3305
3305
  /**
3306
3306
  * Stroke
3307
3307
  * @see https://tailwindcss.com/docs/stroke
3308
3308
  */
3309
3309
  stroke: [{
3310
- stroke: ["none", ...b()]
3310
+ stroke: ["none", ...h()]
3311
3311
  }],
3312
3312
  // ---------------------
3313
3313
  // --- Accessibility ---
@@ -3375,14 +3375,14 @@ const I = (e) => {
3375
3375
  },
3376
3376
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3377
3377
  };
3378
- }, bo = /* @__PURE__ */ Kr(go);
3378
+ }, vo = /* @__PURE__ */ Jr(ho);
3379
3379
  function g(...e) {
3380
- return bo(Tr(e));
3380
+ return vo(Br(e));
3381
3381
  }
3382
- function ho({ children: e, className: t, ...r }) {
3383
- const { colorScheme: o } = Ve(), { value: n } = Ge();
3382
+ function xo({ children: e, className: t, ...r }) {
3383
+ const { colorScheme: o } = Ge(), { value: n } = Fe();
3384
3384
  return /* @__PURE__ */ s(
3385
- Lr,
3385
+ Er,
3386
3386
  {
3387
3387
  className: g(
3388
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",
@@ -3399,15 +3399,15 @@ function ho({ children: e, className: t, ...r }) {
3399
3399
  }
3400
3400
  );
3401
3401
  }
3402
- function vo({ className: e, ...t }) {
3403
- return /* @__PURE__ */ s(Sr, { className: g(e), ...t, "data-slot": "accordion-root" });
3402
+ function yo({ className: e, ...t }) {
3403
+ return /* @__PURE__ */ s(Mr, { className: g(e), ...t, "data-slot": "accordion-root" });
3404
3404
  }
3405
- function xo({ className: e, ...t }) {
3406
- const { colorScheme: r } = Ve(), { content: o } = Ge(), [n, a] = Ae(!1);
3407
- return st(() => {
3405
+ function ko({ className: e, ...t }) {
3406
+ const { colorScheme: r } = Ge(), { content: o } = Fe(), [n, a] = re(!1);
3407
+ return Me(() => {
3408
3408
  a(!0);
3409
3409
  }, []), /* @__PURE__ */ s(
3410
- zr,
3410
+ Or,
3411
3411
  {
3412
3412
  className: g(
3413
3413
  "overflow-hidden",
@@ -3433,10 +3433,10 @@ function xo({ className: e, ...t }) {
3433
3433
  }
3434
3434
  );
3435
3435
  }
3436
- function yo({ className: e, ...t }) {
3437
- const { colorScheme: r } = Ve(), { title: o } = Ge();
3438
- return /* @__PURE__ */ s(Mr, { children: /* @__PURE__ */ S(
3439
- Er,
3436
+ function wo({ className: e, ...t }) {
3437
+ const { colorScheme: r } = Ge(), { title: o } = Fe();
3438
+ return /* @__PURE__ */ s(zr, { children: /* @__PURE__ */ _(
3439
+ Tr,
3440
3440
  {
3441
3441
  className: g(
3442
3442
  "group flex w-full cursor-pointer items-start gap-8 border-none py-3 text-start focus:outline-none @md:py-4",
@@ -3458,7 +3458,7 @@ function yo({ className: e, ...t }) {
3458
3458
  children: o
3459
3459
  }
3460
3460
  ),
3461
- /* @__PURE__ */ S(
3461
+ /* @__PURE__ */ _(
3462
3462
  "svg",
3463
3463
  {
3464
3464
  className: g(
@@ -3501,35 +3501,35 @@ function yo({ className: e, ...t }) {
3501
3501
  }
3502
3502
  ) });
3503
3503
  }
3504
- const Dt = q(void 0);
3505
- function ko({
3504
+ const Vt = U(void 0);
3505
+ function Co({
3506
3506
  children: e,
3507
3507
  colorScheme: t = "light",
3508
3508
  items: r
3509
3509
  }) {
3510
- const o = Z(
3510
+ const o = H(
3511
3511
  () => ({
3512
3512
  colorScheme: t,
3513
3513
  items: r
3514
3514
  }),
3515
3515
  [t, r]
3516
3516
  );
3517
- return /* @__PURE__ */ s(Dt.Provider, { value: o, children: e });
3517
+ return /* @__PURE__ */ s(Vt.Provider, { value: o, children: e });
3518
3518
  }
3519
- function Ve() {
3520
- const e = K(Dt);
3519
+ function Ge() {
3520
+ const e = q(Vt);
3521
3521
  if (e === void 0)
3522
3522
  throw new Error("useAccordion must be used within an AccordionProvider");
3523
3523
  return e;
3524
3524
  }
3525
- const $t = q(void 0);
3526
- function wo({
3525
+ const Gt = U(void 0);
3526
+ function No({
3527
3527
  children: e,
3528
3528
  title: t,
3529
3529
  content: r,
3530
3530
  value: o
3531
3531
  }) {
3532
- const n = Z(
3532
+ const n = H(
3533
3533
  () => ({
3534
3534
  title: t,
3535
3535
  content: r,
@@ -3537,38 +3537,38 @@ function wo({
3537
3537
  }),
3538
3538
  [t, r, o]
3539
3539
  );
3540
- return /* @__PURE__ */ s($t.Provider, { value: n, children: e });
3540
+ return /* @__PURE__ */ s(Gt.Provider, { value: n, children: e });
3541
3541
  }
3542
- function Ge() {
3543
- const e = K($t);
3542
+ function Fe() {
3543
+ const e = q(Gt);
3544
3544
  if (e === void 0)
3545
3545
  throw new Error("useAccordionItem must be used within an AccordionItemProvider");
3546
3546
  return e;
3547
3547
  }
3548
- function vn({ className: e, variant: t, message: r, description: o, action: n, dismiss: a }) {
3548
+ function Rn({ className: e, variant: t, message: r, description: o, action: n, dismiss: a }) {
3549
3549
  return /* @__PURE__ */ s(
3550
- Ao,
3550
+ Ro,
3551
3551
  {
3552
3552
  action: n,
3553
3553
  description: o,
3554
3554
  dismiss: a,
3555
3555
  message: r,
3556
3556
  variant: t,
3557
- children: /* @__PURE__ */ S(Co, { className: e, children: [
3558
- /* @__PURE__ */ S(No, { children: [
3559
- /* @__PURE__ */ s(Ro, {}),
3560
- /* @__PURE__ */ s(Po, {})
3557
+ children: /* @__PURE__ */ _(Ao, { className: e, children: [
3558
+ /* @__PURE__ */ _(Po, { children: [
3559
+ /* @__PURE__ */ s(_o, {}),
3560
+ /* @__PURE__ */ s(Io, {})
3561
3561
  ] }),
3562
- /* @__PURE__ */ S(_o, { children: [
3563
- /* @__PURE__ */ s($o, {}),
3564
- /* @__PURE__ */ s(jo, {})
3562
+ /* @__PURE__ */ _(So, { children: [
3563
+ /* @__PURE__ */ s(Vo, {}),
3564
+ /* @__PURE__ */ s(Go, {})
3565
3565
  ] })
3566
3566
  ] })
3567
3567
  }
3568
3568
  );
3569
3569
  }
3570
- function Co({ className: e, children: t, ...r }) {
3571
- const { variant: o } = ne();
3570
+ function Ao({ className: e, children: t, ...r }) {
3571
+ const { variant: o } = ie();
3572
3572
  return /* @__PURE__ */ s(
3573
3573
  "div",
3574
3574
  {
@@ -3589,8 +3589,8 @@ function Co({ className: e, children: t, ...r }) {
3589
3589
  }
3590
3590
  );
3591
3591
  }
3592
- const jt = q(void 0);
3593
- function Ao({
3592
+ const Ft = U(void 0);
3593
+ function Ro({
3594
3594
  children: e,
3595
3595
  message: t,
3596
3596
  description: r,
@@ -3598,7 +3598,7 @@ function Ao({
3598
3598
  dismiss: n,
3599
3599
  variant: a
3600
3600
  }) {
3601
- const i = Z(
3601
+ const i = H(
3602
3602
  () => ({
3603
3603
  message: t,
3604
3604
  description: r,
@@ -3608,15 +3608,15 @@ function Ao({
3608
3608
  }),
3609
3609
  [t, r, o, n, a]
3610
3610
  );
3611
- return /* @__PURE__ */ s(jt.Provider, { value: i, children: e });
3611
+ return /* @__PURE__ */ s(Ft.Provider, { value: i, children: e });
3612
3612
  }
3613
- function ne() {
3614
- const e = K(jt);
3613
+ function ie() {
3614
+ const e = q(Ft);
3615
3615
  if (e === void 0)
3616
3616
  throw new Error("useAlert must be used within a AlertProvider");
3617
3617
  return e;
3618
3618
  }
3619
- function No({ children: e, className: t, ...r }) {
3619
+ function Po({ children: e, className: t, ...r }) {
3620
3620
  return /* @__PURE__ */ s(
3621
3621
  "div",
3622
3622
  {
@@ -3627,8 +3627,8 @@ function No({ children: e, className: t, ...r }) {
3627
3627
  }
3628
3628
  );
3629
3629
  }
3630
- function Ro({ children: e, className: t, ...r }) {
3631
- const { message: o } = ne();
3630
+ function _o({ children: e, className: t, ...r }) {
3631
+ const { message: o } = ie();
3632
3632
  return /* @__PURE__ */ s(
3633
3633
  "h5",
3634
3634
  {
@@ -3642,8 +3642,8 @@ function Ro({ children: e, className: t, ...r }) {
3642
3642
  }
3643
3643
  );
3644
3644
  }
3645
- function Po({ className: e, ...t }) {
3646
- const { description: r } = ne();
3645
+ function Io({ className: e, ...t }) {
3646
+ const { description: r } = ie();
3647
3647
  return /* @__PURE__ */ s(
3648
3648
  "p",
3649
3649
  {
@@ -3657,7 +3657,7 @@ function Po({ className: e, ...t }) {
3657
3657
  }
3658
3658
  );
3659
3659
  }
3660
- function _o({ children: e, className: t, ...r }) {
3660
+ function So({ children: e, className: t, ...r }) {
3661
3661
  return /* @__PURE__ */ s("div", { className: g("flex items-center gap-1", t), "data-slot": "alert-actions", ...r, children: e });
3662
3662
  }
3663
3663
  /**
@@ -3666,13 +3666,13 @@ function _o({ children: e, className: t, ...r }) {
3666
3666
  * This source code is licensed under the ISC license.
3667
3667
  * See the LICENSE file in the root directory of this source tree.
3668
3668
  */
3669
- const Io = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), So = (e) => e.replace(
3669
+ const Lo = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Mo = (e) => e.replace(
3670
3670
  /^([A-Z])|[\s-_]+(\w)/g,
3671
3671
  (t, r, o) => o ? o.toUpperCase() : r.toLowerCase()
3672
- ), at = (e) => {
3673
- const t = So(e);
3672
+ ), lt = (e) => {
3673
+ const t = Mo(e);
3674
3674
  return t.charAt(0).toUpperCase() + t.slice(1);
3675
- }, Vt = (...e) => e.filter((t, r, o) => !!t && t.trim() !== "" && o.indexOf(t) === r).join(" ").trim(), Lo = (e) => {
3675
+ }, Wt = (...e) => e.filter((t, r, o) => !!t && t.trim() !== "" && o.indexOf(t) === r).join(" ").trim(), Eo = (e) => {
3676
3676
  for (const t in e)
3677
3677
  if (t.startsWith("aria-") || t === "role" || t === "title")
3678
3678
  return !0;
@@ -3683,7 +3683,7 @@ const Io = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), So = (
3683
3683
  * This source code is licensed under the ISC license.
3684
3684
  * See the LICENSE file in the root directory of this source tree.
3685
3685
  */
3686
- var Mo = {
3686
+ var zo = {
3687
3687
  xmlns: "http://www.w3.org/2000/svg",
3688
3688
  width: 24,
3689
3689
  height: 24,
@@ -3700,7 +3700,7 @@ var Mo = {
3700
3700
  * This source code is licensed under the ISC license.
3701
3701
  * See the LICENSE file in the root directory of this source tree.
3702
3702
  */
3703
- const Eo = it(
3703
+ const To = ct(
3704
3704
  ({
3705
3705
  color: e = "currentColor",
3706
3706
  size: t = 24,
@@ -3710,21 +3710,21 @@ const Eo = it(
3710
3710
  children: a,
3711
3711
  iconNode: i,
3712
3712
  ...l
3713
- }, c) => Ne(
3713
+ }, c) => Re(
3714
3714
  "svg",
3715
3715
  {
3716
3716
  ref: c,
3717
- ...Mo,
3717
+ ...zo,
3718
3718
  width: t,
3719
3719
  height: t,
3720
3720
  stroke: e,
3721
3721
  strokeWidth: o ? Number(r) * 24 / Number(t) : r,
3722
- className: Vt("lucide", n),
3723
- ...!a && !Lo(l) && { "aria-hidden": "true" },
3722
+ className: Wt("lucide", n),
3723
+ ...!a && !Eo(l) && { "aria-hidden": "true" },
3724
3724
  ...l
3725
3725
  },
3726
3726
  [
3727
- ...i.map(([d, m]) => Ne(d, m)),
3727
+ ...i.map(([d, m]) => Re(d, m)),
3728
3728
  ...Array.isArray(a) ? a : [a]
3729
3729
  ]
3730
3730
  )
@@ -3735,20 +3735,20 @@ const Eo = it(
3735
3735
  * This source code is licensed under the ISC license.
3736
3736
  * See the LICENSE file in the root directory of this source tree.
3737
3737
  */
3738
- const Fe = (e, t) => {
3739
- const r = it(
3740
- ({ className: o, ...n }, a) => Ne(Eo, {
3738
+ const We = (e, t) => {
3739
+ const r = ct(
3740
+ ({ className: o, ...n }, a) => Re(To, {
3741
3741
  ref: a,
3742
3742
  iconNode: t,
3743
- className: Vt(
3744
- `lucide-${Io(at(e))}`,
3743
+ className: Wt(
3744
+ `lucide-${Lo(lt(e))}`,
3745
3745
  `lucide-${e}`,
3746
3746
  o
3747
3747
  ),
3748
3748
  ...n
3749
3749
  })
3750
3750
  );
3751
- return r.displayName = at(e), r;
3751
+ return r.displayName = lt(e), r;
3752
3752
  };
3753
3753
  /**
3754
3754
  * @license lucide-react v0.545.0 - ISC
@@ -3756,29 +3756,29 @@ const Fe = (e, t) => {
3756
3756
  * This source code is licensed under the ISC license.
3757
3757
  * See the LICENSE file in the root directory of this source tree.
3758
3758
  */
3759
- const zo = [
3759
+ const Oo = [
3760
3760
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
3761
3761
  ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
3762
3762
  ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
3763
- ], To = Fe("circle-alert", zo);
3763
+ ], Bo = We("circle-alert", Oo);
3764
3764
  /**
3765
3765
  * @license lucide-react v0.545.0 - ISC
3766
3766
  *
3767
3767
  * This source code is licensed under the ISC license.
3768
3768
  * See the LICENSE file in the root directory of this source tree.
3769
3769
  */
3770
- const Oo = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], Bo = Fe("loader-circle", Oo);
3770
+ const Do = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], $o = We("loader-circle", Do);
3771
3771
  /**
3772
3772
  * @license lucide-react v0.545.0 - ISC
3773
3773
  *
3774
3774
  * This source code is licensed under the ISC license.
3775
3775
  * See the LICENSE file in the root directory of this source tree.
3776
3776
  */
3777
- const Do = [
3777
+ const jo = [
3778
3778
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
3779
3779
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
3780
- ], Ue = Fe("x", Do);
3781
- function Gt({
3780
+ ], Ue = We("x", jo);
3781
+ function He({
3782
3782
  variant: e = "primary",
3783
3783
  size: t = "large",
3784
3784
  shape: r = "pill",
@@ -3789,7 +3789,7 @@ function Gt({
3789
3789
  children: l,
3790
3790
  ...c
3791
3791
  }) {
3792
- return /* @__PURE__ */ S(
3792
+ return /* @__PURE__ */ _(
3793
3793
  "button",
3794
3794
  {
3795
3795
  "aria-busy": o,
@@ -3849,7 +3849,7 @@ function Gt({
3849
3849
  o ? "translate-y-0 opacity-100" : "translate-y-10 opacity-0"
3850
3850
  ),
3851
3851
  children: /* @__PURE__ */ s(
3852
- Bo,
3852
+ $o,
3853
3853
  {
3854
3854
  className: g(
3855
3855
  "animate-spin",
@@ -3863,16 +3863,16 @@ function Gt({
3863
3863
  }
3864
3864
  );
3865
3865
  }
3866
- function $o({ children: e, ...t }) {
3867
- const { action: r } = ne();
3866
+ function Vo({ children: e, ...t }) {
3867
+ const { action: r } = ie();
3868
3868
  if (!r) return null;
3869
3869
  const { label: o, onClick: n } = r;
3870
- return /* @__PURE__ */ s(Gt, { "data-slot": "alert-button", onClick: n, size: "x-small", variant: "ghost", ...t, children: o });
3870
+ return /* @__PURE__ */ s(He, { "data-slot": "alert-button", onClick: n, size: "x-small", variant: "ghost", ...t, children: o });
3871
3871
  }
3872
- function jo({ ...e }) {
3873
- const { dismiss: t } = ne(), { label: r, onClick: o } = t;
3872
+ function Go({ ...e }) {
3873
+ const { dismiss: t } = ie(), { label: r, onClick: o } = t;
3874
3874
  return /* @__PURE__ */ s(
3875
- Gt,
3875
+ He,
3876
3876
  {
3877
3877
  "aria-label": r,
3878
3878
  "data-slot": "alert-close-button",
@@ -3885,7 +3885,7 @@ function jo({ ...e }) {
3885
3885
  }
3886
3886
  );
3887
3887
  }
3888
- function xn({ className: e, children: t, ...r }) {
3888
+ function Fo({ className: e, children: t, ...r }) {
3889
3889
  return /* @__PURE__ */ s(
3890
3890
  "span",
3891
3891
  {
@@ -3898,7 +3898,7 @@ function xn({ className: e, children: t, ...r }) {
3898
3898
  }
3899
3899
  );
3900
3900
  }
3901
- function yn({
3901
+ function Pn({
3902
3902
  children: e,
3903
3903
  shape: t = "rounded",
3904
3904
  className: r,
@@ -3928,25 +3928,25 @@ function yn({
3928
3928
  }
3929
3929
  );
3930
3930
  }
3931
- const kn = ({
3931
+ const _n = ({
3932
3932
  id: e,
3933
3933
  children: t,
3934
3934
  hideDismiss: r = !1,
3935
3935
  className: o,
3936
3936
  onDismiss: n
3937
- }) => /* @__PURE__ */ s(Vo, { hideDismiss: r, id: e, onDismiss: n, children: /* @__PURE__ */ s(Go, { className: o, children: /* @__PURE__ */ S(Fo, { children: [
3938
- /* @__PURE__ */ s(Uo, { children: t }),
3939
- /* @__PURE__ */ s(Wo, {})
3940
- ] }) }) }), Ft = q(void 0);
3941
- function Vo({ id: e, hideDismiss: t, onDismiss: r, children: o }) {
3942
- const [n, a] = Ae(!1), [i, l] = Ae(!1);
3943
- st(() => {
3937
+ }) => /* @__PURE__ */ s(Wo, { hideDismiss: r, id: e, onDismiss: n, children: /* @__PURE__ */ s(Uo, { className: o, children: /* @__PURE__ */ _(Ho, { children: [
3938
+ /* @__PURE__ */ s(qo, { children: t }),
3939
+ /* @__PURE__ */ s(Zo, {})
3940
+ ] }) }) }), Ut = U(void 0);
3941
+ function Wo({ id: e, hideDismiss: t, onDismiss: r, children: o }) {
3942
+ const [n, a] = re(!1), [i, l] = re(!1);
3943
+ Me(() => {
3944
3944
  const m = localStorage.getItem(`${e}-hidden-banner`) === "true";
3945
3945
  a(m), l(!0);
3946
3946
  }, [e]);
3947
- const c = Re(() => {
3947
+ const c = oe(() => {
3948
3948
  a(!0), localStorage.setItem(`${e}-hidden-banner`, "true"), r?.();
3949
- }, [e, r]), d = Z(
3949
+ }, [e, r]), d = H(
3950
3950
  () => ({
3951
3951
  id: e,
3952
3952
  isInitialized: i,
@@ -3956,16 +3956,16 @@ function Vo({ id: e, hideDismiss: t, onDismiss: r, children: o }) {
3956
3956
  }),
3957
3957
  [e, i, n, t, c]
3958
3958
  );
3959
- return /* @__PURE__ */ s(Ft.Provider, { value: d, children: i ? o : null });
3959
+ return /* @__PURE__ */ s(Ut.Provider, { value: d, children: i ? o : null });
3960
3960
  }
3961
- function Ut() {
3962
- const e = K(Ft);
3961
+ function Ht() {
3962
+ const e = q(Ut);
3963
3963
  if (e === void 0)
3964
3964
  throw new Error("useBanner must be used within a BannerProvider");
3965
3965
  return e;
3966
3966
  }
3967
- function Go({ children: e, className: t, ...r }) {
3968
- const { id: o, isDismissed: n } = Ut();
3967
+ function Uo({ children: e, className: t, ...r }) {
3968
+ const { id: o, isDismissed: n } = Ht();
3969
3969
  return /* @__PURE__ */ s(
3970
3970
  "div",
3971
3971
  {
@@ -3981,7 +3981,7 @@ function Go({ children: e, className: t, ...r }) {
3981
3981
  }
3982
3982
  );
3983
3983
  }
3984
- function Fo({ className: e, children: t }) {
3984
+ function Ho({ className: e, children: t }) {
3985
3985
  return /* @__PURE__ */ s(
3986
3986
  "div",
3987
3987
  {
@@ -3991,7 +3991,7 @@ function Fo({ className: e, children: t }) {
3991
3991
  }
3992
3992
  );
3993
3993
  }
3994
- function Uo({ children: e, className: t, ...r }) {
3994
+ function qo({ children: e, className: t, ...r }) {
3995
3995
  return /* @__PURE__ */ s(
3996
3996
  "div",
3997
3997
  {
@@ -4005,8 +4005,8 @@ function Uo({ children: e, className: t, ...r }) {
4005
4005
  }
4006
4006
  );
4007
4007
  }
4008
- function Wo({ className: e, ...t }) {
4009
- const { hideDismiss: r, handleDismiss: o } = Ut();
4008
+ function Zo({ className: e, ...t }) {
4009
+ const { hideDismiss: r, handleDismiss: o } = Ht();
4010
4010
  return r ? null : /* @__PURE__ */ s(
4011
4011
  "button",
4012
4012
  {
@@ -4024,7 +4024,7 @@ function Wo({ className: e, ...t }) {
4024
4024
  }
4025
4025
  );
4026
4026
  }
4027
- function wn({
4027
+ function In({
4028
4028
  author: e,
4029
4029
  content: t,
4030
4030
  date: r,
@@ -4034,7 +4034,7 @@ function wn({
4034
4034
  className: i
4035
4035
  }) {
4036
4036
  return /* @__PURE__ */ s(
4037
- Ho,
4037
+ Ko,
4038
4038
  {
4039
4039
  author: e,
4040
4040
  content: t,
@@ -4042,21 +4042,21 @@ function wn({
4042
4042
  image: n,
4043
4043
  link: o,
4044
4044
  title: a,
4045
- children: /* @__PURE__ */ S(qo, { className: i, children: [
4046
- /* @__PURE__ */ s(Zo, {}),
4047
- /* @__PURE__ */ s(Xo, {}),
4045
+ children: /* @__PURE__ */ _(Xo, { className: i, children: [
4048
4046
  /* @__PURE__ */ s(Jo, {}),
4049
- /* @__PURE__ */ S(Yo, { children: [
4050
- /* @__PURE__ */ s(Qo, {}),
4051
- /* @__PURE__ */ s(en, {})
4047
+ /* @__PURE__ */ s(Qo, {}),
4048
+ /* @__PURE__ */ s(en, {}),
4049
+ /* @__PURE__ */ _(tn, { children: [
4050
+ /* @__PURE__ */ s(rn, {}),
4051
+ /* @__PURE__ */ s(on, {})
4052
4052
  ] }),
4053
- /* @__PURE__ */ s(Ko, {})
4053
+ /* @__PURE__ */ s(Yo, {})
4054
4054
  ] })
4055
4055
  }
4056
4056
  );
4057
4057
  }
4058
- const Wt = q(void 0);
4059
- function Ho({
4058
+ const qt = U(void 0);
4059
+ function Ko({
4060
4060
  children: e,
4061
4061
  title: t,
4062
4062
  author: r,
@@ -4065,7 +4065,7 @@ function Ho({
4065
4065
  image: a,
4066
4066
  link: i
4067
4067
  }) {
4068
- const l = Z(
4068
+ const l = H(
4069
4069
  () => ({
4070
4070
  title: t,
4071
4071
  author: r,
@@ -4076,15 +4076,15 @@ function Ho({
4076
4076
  }),
4077
4077
  [t, r, o, n, a, i]
4078
4078
  );
4079
- return /* @__PURE__ */ s(Wt.Provider, { value: l, children: e });
4079
+ return /* @__PURE__ */ s(qt.Provider, { value: l, children: e });
4080
4080
  }
4081
4081
  function Q() {
4082
- const e = K(Wt);
4082
+ const e = q(qt);
4083
4083
  if (e === void 0)
4084
4084
  throw new Error("useBlogPostCard must be used within a BlogPostCardProvider");
4085
4085
  return e;
4086
4086
  }
4087
- function qo({
4087
+ function Xo({
4088
4088
  as: e,
4089
4089
  className: t,
4090
4090
  children: r,
@@ -4103,7 +4103,7 @@ function qo({
4103
4103
  }
4104
4104
  );
4105
4105
  }
4106
- function Cn({ children: e, className: t, ...r }) {
4106
+ function Sn({ children: e, className: t, ...r }) {
4107
4107
  return /* @__PURE__ */ s(
4108
4108
  "div",
4109
4109
  {
@@ -4116,7 +4116,7 @@ function Cn({ children: e, className: t, ...r }) {
4116
4116
  }
4117
4117
  );
4118
4118
  }
4119
- function Zo({ className: e, ...t }) {
4119
+ function Jo({ className: e, ...t }) {
4120
4120
  const { image: r, title: o } = Q(), n = "h-full w-full object-cover transition-transform duration-500 ease-out group-hover:scale-110", a = () => {
4121
4121
  if (!r)
4122
4122
  return /* @__PURE__ */ s(
@@ -4145,7 +4145,7 @@ function Zo({ className: e, ...t }) {
4145
4145
  }
4146
4146
  );
4147
4147
  }
4148
- function Ko({ className: e, ...t }) {
4148
+ function Yo({ className: e, ...t }) {
4149
4149
  const {
4150
4150
  link: { href: r, ariaLabel: o, render: n }
4151
4151
  } = Q(), a = g(
@@ -4154,7 +4154,7 @@ function Ko({ className: e, ...t }) {
4154
4154
  );
4155
4155
  return n ? n({ href: r, ariaLabel: o, className: a, ...t }) : /* @__PURE__ */ s("a", { className: a, href: r, ...t, children: /* @__PURE__ */ s("span", { className: "sr-only", children: o }) });
4156
4156
  }
4157
- function Xo({ className: e, ...t }) {
4157
+ function Qo({ className: e, ...t }) {
4158
4158
  const { title: r } = Q();
4159
4159
  return /* @__PURE__ */ s(
4160
4160
  "h5",
@@ -4169,7 +4169,7 @@ function Xo({ className: e, ...t }) {
4169
4169
  }
4170
4170
  );
4171
4171
  }
4172
- function Jo({ className: e, ...t }) {
4172
+ function en({ className: e, ...t }) {
4173
4173
  const { content: r } = Q();
4174
4174
  return /* @__PURE__ */ s(
4175
4175
  "p",
@@ -4184,7 +4184,7 @@ function Jo({ className: e, ...t }) {
4184
4184
  }
4185
4185
  );
4186
4186
  }
4187
- function Yo({ children: e, className: t, ...r }) {
4187
+ function tn({ children: e, className: t, ...r }) {
4188
4188
  return /* @__PURE__ */ s(
4189
4189
  "div",
4190
4190
  {
@@ -4198,7 +4198,7 @@ function Yo({ children: e, className: t, ...r }) {
4198
4198
  }
4199
4199
  );
4200
4200
  }
4201
- function Qo({ className: e, ...t }) {
4201
+ function rn({ className: e, ...t }) {
4202
4202
  const { date: r } = Q();
4203
4203
  return /* @__PURE__ */ s("time", { dateTime: r, ...t, "data-slot": "blog-post-card-date", children: new Date(r).toLocaleDateString("en-US", {
4204
4204
  year: "numeric",
@@ -4206,10 +4206,10 @@ function Qo({ className: e, ...t }) {
4206
4206
  day: "numeric"
4207
4207
  }) });
4208
4208
  }
4209
- function en({ className: e, ...t }) {
4209
+ function on({ className: e, ...t }) {
4210
4210
  const { author: r } = Q();
4211
4211
  if (r != null)
4212
- return /* @__PURE__ */ S(pe, { children: [
4212
+ return /* @__PURE__ */ _(se, { children: [
4213
4213
  /* @__PURE__ */ s(
4214
4214
  "span",
4215
4215
  {
@@ -4221,7 +4221,7 @@ function en({ className: e, ...t }) {
4221
4221
  /* @__PURE__ */ s("span", { children: r })
4222
4222
  ] });
4223
4223
  }
4224
- function Ht({ className: e, ...t }) {
4224
+ function Zt({ className: e, ...t }) {
4225
4225
  return /* @__PURE__ */ s(
4226
4226
  "div",
4227
4227
  {
@@ -4253,14 +4253,14 @@ function te({ characterCount: e = 10, className: t, ...r }) {
4253
4253
  }
4254
4254
  );
4255
4255
  }
4256
- function An({
4256
+ function Ln({
4257
4257
  className: e,
4258
4258
  aspectRatio: t = "4:3",
4259
4259
  ...r
4260
4260
  }) {
4261
- return /* @__PURE__ */ S("div", { className: g("w-full max-w-md @container", e), ...r, children: [
4261
+ return /* @__PURE__ */ _("div", { className: g("w-full max-w-md @container", e), ...r, children: [
4262
4262
  /* @__PURE__ */ s(
4263
- Ht,
4263
+ Zt,
4264
4264
  {
4265
4265
  className: g(
4266
4266
  "mb-4 w-full rounded-2xl",
@@ -4274,7 +4274,7 @@ function An({
4274
4274
  }
4275
4275
  ),
4276
4276
  /* @__PURE__ */ s(te, { characterCount: 25, className: "mt-4 rounded text-lg" }),
4277
- /* @__PURE__ */ S("div", { className: "mt-1.5", children: [
4277
+ /* @__PURE__ */ _("div", { className: "mt-1.5", children: [
4278
4278
  /* @__PURE__ */ s(te, { characterCount: "full", className: "rounded text-sm" }),
4279
4279
  /* @__PURE__ */ s(te, { characterCount: "full", className: "rounded text-sm" }),
4280
4280
  /* @__PURE__ */ s(te, { characterCount: 15, className: "rounded text-sm" })
@@ -4282,7 +4282,7 @@ function An({
4282
4282
  /* @__PURE__ */ s(te, { characterCount: 10, className: "mt-3 rounded text-sm" })
4283
4283
  ] });
4284
4284
  }
4285
- function Nn({
4285
+ function Mn({
4286
4286
  variant: e = "primary",
4287
4287
  size: t = "large",
4288
4288
  shape: r = "pill",
@@ -4336,15 +4336,15 @@ function Nn({
4336
4336
  children: c
4337
4337
  }) : /* @__PURE__ */ s("a", { ...i, className: l, children: c });
4338
4338
  }
4339
- return /* @__PURE__ */ s(pe, { children: d() });
4339
+ return /* @__PURE__ */ s(se, { children: d() });
4340
4340
  }
4341
- function Rn({ as: e, className: t, children: r, link: o, ...n }) {
4342
- return /* @__PURE__ */ S(rn, { as: e, className: t, ...n, children: [
4341
+ function En({ as: e, className: t, children: r, link: o, ...n }) {
4342
+ return /* @__PURE__ */ _(an, { as: e, className: t, ...n, children: [
4343
4343
  r,
4344
- /* @__PURE__ */ s(tn, { link: o })
4344
+ /* @__PURE__ */ s(nn, { link: o })
4345
4345
  ] });
4346
4346
  }
4347
- function tn({ link: e }) {
4347
+ function nn({ link: e }) {
4348
4348
  if (!e) return null;
4349
4349
  const { href: t, ariaLabel: r, render: o } = e, n = g(
4350
4350
  "absolute inset-0 rounded-2xl",
@@ -4352,7 +4352,7 @@ function tn({ link: e }) {
4352
4352
  );
4353
4353
  return o ? o({ href: t, ariaLabel: r, className: n }) : /* @__PURE__ */ s("a", { className: n, "data-slot": "card-link", href: t, children: /* @__PURE__ */ s("span", { className: "sr-only", children: r }) });
4354
4354
  }
4355
- function rn({
4355
+ function an({
4356
4356
  as: e,
4357
4357
  className: t,
4358
4358
  children: r
@@ -4371,16 +4371,16 @@ function rn({
4371
4371
  }
4372
4372
  );
4373
4373
  }
4374
- function Pn({ className: e, ...t }) {
4375
- return /* @__PURE__ */ s("div", { className: g("@container", e), ...t, children: /* @__PURE__ */ s(Ht, {}) });
4374
+ function zn({ className: e, ...t }) {
4375
+ return /* @__PURE__ */ s("div", { className: g("@container", e), ...t, children: /* @__PURE__ */ s(Zt, {}) });
4376
4376
  }
4377
- function _n({ className: e, children: t, removeLabel: r = "Remove", ...o }) {
4378
- return /* @__PURE__ */ S(on, { className: e, children: [
4377
+ function Tn({ className: e, children: t, removeLabel: r = "Remove", ...o }) {
4378
+ return /* @__PURE__ */ _(sn, { className: e, children: [
4379
4379
  t,
4380
- /* @__PURE__ */ s(nn, { title: r, ...o })
4380
+ /* @__PURE__ */ s(ln, { title: r, ...o })
4381
4381
  ] });
4382
4382
  }
4383
- function on({ children: e, className: t, ...r }) {
4383
+ function sn({ children: e, className: t, ...r }) {
4384
4384
  return /* @__PURE__ */ s(
4385
4385
  "span",
4386
4386
  {
@@ -4393,7 +4393,7 @@ function on({ children: e, className: t, ...r }) {
4393
4393
  }
4394
4394
  );
4395
4395
  }
4396
- function nn({ className: e, ...t }) {
4396
+ function ln({ className: e, ...t }) {
4397
4397
  return /* @__PURE__ */ s(
4398
4398
  "button",
4399
4399
  {
@@ -4406,15 +4406,15 @@ function nn({ className: e, ...t }) {
4406
4406
  }
4407
4407
  );
4408
4408
  }
4409
- function In({ checked: e = !1, setChecked: t }) {
4410
- return /* @__PURE__ */ s(sn, { onPressedChange: t, pressed: e, children: /* @__PURE__ */ s(ln, { filled: e }) });
4409
+ function On({ checked: e = !1, setChecked: t }) {
4410
+ return /* @__PURE__ */ s(dn, { onPressedChange: t, pressed: e, children: /* @__PURE__ */ s(un, { filled: e }) });
4411
4411
  }
4412
- var qt = "Toggle", Zt = p.forwardRef((e, t) => {
4413
- const { pressed: r, defaultPressed: o, onPressedChange: n, ...a } = e, [i, l] = ge({
4412
+ var Kt = "Toggle", Xt = p.forwardRef((e, t) => {
4413
+ const { pressed: r, defaultPressed: o, onPressedChange: n, ...a } = e, [i, l] = he({
4414
4414
  prop: r,
4415
4415
  onChange: n,
4416
4416
  defaultProp: o ?? !1,
4417
- caller: qt
4417
+ caller: Kt
4418
4418
  });
4419
4419
  return /* @__PURE__ */ s(
4420
4420
  X.button,
@@ -4425,17 +4425,17 @@ var qt = "Toggle", Zt = p.forwardRef((e, t) => {
4425
4425
  "data-disabled": e.disabled ? "" : void 0,
4426
4426
  ...a,
4427
4427
  ref: t,
4428
- onClick: Ee(e.onClick, () => {
4428
+ onClick: ze(e.onClick, () => {
4429
4429
  e.disabled || l(!i);
4430
4430
  })
4431
4431
  }
4432
4432
  );
4433
4433
  });
4434
- Zt.displayName = qt;
4435
- var an = Zt;
4436
- function sn({ children: e, className: t, ...r }) {
4434
+ Xt.displayName = Kt;
4435
+ var cn = Xt;
4436
+ function dn({ children: e, className: t, ...r }) {
4437
4437
  return /* @__PURE__ */ s(
4438
- an,
4438
+ cn,
4439
4439
  {
4440
4440
  className: g(
4441
4441
  "group relative flex h-[50px] w-[50px] shrink-0 cursor-pointer items-center justify-center rounded-full border border-[var(--favorite-border,hsl(var(--contrast-100)))] text-[var(--favorite-icon,hsl(var(--foreground)))] ring-[var(--favorite-focus,hsl(var(--primary)))] transition duration-300 focus-within:outline-none focus-within:ring-2 data-[state=on]:bg-[var(--favorite-on-background,hsl(var(--contrast-100)))] data-[state=off]:hover:border-[var(--favorite-off-border,hsl(var(--contrast-200)))]",
@@ -4446,8 +4446,8 @@ function sn({ children: e, className: t, ...r }) {
4446
4446
  }
4447
4447
  );
4448
4448
  }
4449
- function ln({ filled: e = !1, className: t, ...r }) {
4450
- return /* @__PURE__ */ S(
4449
+ function un({ filled: e = !1, className: t, ...r }) {
4450
+ return /* @__PURE__ */ _(
4451
4451
  "svg",
4452
4452
  {
4453
4453
  className: g(
@@ -4487,8 +4487,8 @@ function ln({ filled: e = !1, className: t, ...r }) {
4487
4487
  }
4488
4488
  );
4489
4489
  }
4490
- function Sn({ className: e, children: t, ...r }) {
4491
- return /* @__PURE__ */ S(
4490
+ function Bn({ className: e, children: t, ...r }) {
4491
+ return /* @__PURE__ */ _(
4492
4492
  "div",
4493
4493
  {
4494
4494
  className: g(
@@ -4497,26 +4497,26 @@ function Sn({ className: e, children: t, ...r }) {
4497
4497
  ),
4498
4498
  ...r,
4499
4499
  children: [
4500
- /* @__PURE__ */ s(To, { size: 20, strokeWidth: 1.5 }),
4500
+ /* @__PURE__ */ s(Bo, { size: 20, strokeWidth: 1.5 }),
4501
4501
  t
4502
4502
  ]
4503
4503
  }
4504
4504
  );
4505
4505
  }
4506
- function Ln({ showRating: e = !0, rating: t, className: r }) {
4507
- return /* @__PURE__ */ s(cn, { rating: t, showRating: e, children: /* @__PURE__ */ S(dn, { className: r, children: [
4508
- /* @__PURE__ */ s(fn, {}),
4509
- /* @__PURE__ */ s(mn, {})
4506
+ function Dn({ showRating: e = !0, rating: t, className: r }) {
4507
+ return /* @__PURE__ */ s(fn, { rating: t, showRating: e, children: /* @__PURE__ */ _(mn, { className: r, children: [
4508
+ /* @__PURE__ */ s(gn, {}),
4509
+ /* @__PURE__ */ s(bn, {})
4510
4510
  ] }) });
4511
4511
  }
4512
- const Kt = q(void 0);
4513
- function cn({ children: e, rating: t, showRating: r = !0 }) {
4514
- const o = Xt(0), n = Re(() => {
4512
+ const Jt = U(void 0);
4513
+ function fn({ children: e, rating: t, showRating: r = !0 }) {
4514
+ const o = dt(0), n = oe(() => {
4515
4515
  const l = o.current;
4516
4516
  return o.current += 1, l;
4517
- }, []), a = Re(() => {
4517
+ }, []), a = oe(() => {
4518
4518
  o.current = 0;
4519
- }, []), i = Z(() => {
4519
+ }, []), i = H(() => {
4520
4520
  const l = Math.min(t, 5), c = Array.from({ length: 5 }, (d, m) => m < Math.floor(l) ? "full" : m < Math.ceil(l) ? "half" : "empty");
4521
4521
  return {
4522
4522
  rating: t,
@@ -4527,19 +4527,19 @@ function cn({ children: e, rating: t, showRating: r = !0 }) {
4527
4527
  resetStarIndex: a
4528
4528
  };
4529
4529
  }, [t, r]);
4530
- return /* @__PURE__ */ s(Kt.Provider, { value: i, children: e });
4530
+ return /* @__PURE__ */ s(Jt.Provider, { value: i, children: e });
4531
4531
  }
4532
- function We() {
4533
- const e = K(Kt);
4532
+ function qe() {
4533
+ const e = q(Jt);
4534
4534
  if (e === void 0)
4535
4535
  throw new Error("useRating must be used within a RatingProvider");
4536
4536
  return e;
4537
4537
  }
4538
- function dn({ children: e, className: t, ...r }) {
4538
+ function mn({ children: e, className: t, ...r }) {
4539
4539
  return /* @__PURE__ */ s("div", { className: g("flex items-center", t), ...r, children: e });
4540
4540
  }
4541
- function un({ className: e, ...t }) {
4542
- const { stars: r, getNextStarIndex: o } = We(), n = o(), a = r[n] ?? "empty", i = {
4541
+ function pn({ className: e, ...t }) {
4542
+ const { stars: r, getNextStarIndex: o } = qe(), n = o(), a = r[n] ?? "empty", i = {
4543
4543
  empty: /* @__PURE__ */ s(
4544
4544
  "path",
4545
4545
  {
@@ -4550,7 +4550,7 @@ function un({ className: e, ...t }) {
4550
4550
  strokeOpacity: "0.4"
4551
4551
  }
4552
4552
  ),
4553
- half: /* @__PURE__ */ S(pe, { children: [
4553
+ half: /* @__PURE__ */ _(se, { children: [
4554
4554
  /* @__PURE__ */ s(
4555
4555
  "path",
4556
4556
  {
@@ -4592,12 +4592,12 @@ function un({ className: e, ...t }) {
4592
4592
  }
4593
4593
  );
4594
4594
  }
4595
- function fn() {
4596
- const { resetStarIndex: e } = We();
4597
- return e(), /* @__PURE__ */ s(pe, { children: [0, 1, 2, 3, 4].map((t) => /* @__PURE__ */ s(un, {}, t)) });
4595
+ function gn() {
4596
+ const { resetStarIndex: e } = qe();
4597
+ return e(), /* @__PURE__ */ s(se, { children: [0, 1, 2, 3, 4].map((t) => /* @__PURE__ */ s(pn, {}, t)) });
4598
4598
  }
4599
- function mn({ className: e, ...t }) {
4600
- const { adjustedRating: r, showRating: o } = We();
4599
+ function bn({ className: e, ...t }) {
4600
+ const { adjustedRating: r, showRating: o } = qe();
4601
4601
  return o ? /* @__PURE__ */ s(
4602
4602
  "span",
4603
4603
  {
@@ -4610,63 +4610,193 @@ function mn({ className: e, ...t }) {
4610
4610
  }
4611
4611
  ) : null;
4612
4612
  }
4613
+ function $n({
4614
+ className: e,
4615
+ variant: t = "underline",
4616
+ showLabel: r = "Show more",
4617
+ hideLabel: o = "Show less",
4618
+ defaultOpen: n = !1,
4619
+ maxHeight: a = "10rem",
4620
+ children: i
4621
+ }) {
4622
+ return /* @__PURE__ */ s(
4623
+ vn,
4624
+ {
4625
+ variant: t,
4626
+ showLabel: r,
4627
+ hideLabel: o,
4628
+ defaultOpen: n,
4629
+ maxHeight: a,
4630
+ children: /* @__PURE__ */ _(hn, { className: e, children: [
4631
+ /* @__PURE__ */ s(xn, { children: i }),
4632
+ /* @__PURE__ */ s(yn, { children: /* @__PURE__ */ s(kn, {}) })
4633
+ ] })
4634
+ }
4635
+ );
4636
+ }
4637
+ function hn({ children: e, className: t, ...r }) {
4638
+ return /* @__PURE__ */ s("div", { className: g("relative", t), ...r, children: e });
4639
+ }
4640
+ const Yt = U(void 0);
4641
+ function vn({
4642
+ children: e,
4643
+ variant: t = "underline",
4644
+ showLabel: r = "Show more",
4645
+ hideLabel: o = "Show less",
4646
+ defaultOpen: n = !1,
4647
+ maxHeight: a = "10rem"
4648
+ }) {
4649
+ const [i, l] = re(n), [c, d] = re(!0), m = dt(null), b = oe((k) => {
4650
+ const y = parseFloat(k);
4651
+ return k.endsWith("rem") ? y * 16 : (k.endsWith("px"), y);
4652
+ }, []);
4653
+ Me(() => {
4654
+ function k() {
4655
+ if (m.current) {
4656
+ const N = m.current.scrollHeight, R = b(a);
4657
+ d(N > R);
4658
+ }
4659
+ }
4660
+ k();
4661
+ const y = new ResizeObserver(k);
4662
+ return m.current && y.observe(m.current), () => {
4663
+ y.disconnect();
4664
+ };
4665
+ }, [a, b]);
4666
+ const A = oe(() => {
4667
+ l((k) => !k);
4668
+ }, []), C = H(
4669
+ () => ({
4670
+ isOpen: i,
4671
+ hasOverflow: c,
4672
+ variant: t,
4673
+ showLabel: r,
4674
+ hideLabel: o,
4675
+ maxHeight: a,
4676
+ contentRef: m,
4677
+ toggleOpen: A
4678
+ }),
4679
+ [i, c, t, r, o, a, A]
4680
+ );
4681
+ return /* @__PURE__ */ s(Yt.Provider, { value: C, children: e });
4682
+ }
4683
+ function Ze() {
4684
+ const e = q(Yt);
4685
+ if (e === void 0)
4686
+ throw new Error("useReveal must be used within a RevealProvider");
4687
+ return e;
4688
+ }
4689
+ function xn({ children: e, className: t, ...r }) {
4690
+ const { hasOverflow: o, isOpen: n, maxHeight: a, contentRef: i } = Ze();
4691
+ return /* @__PURE__ */ s(
4692
+ "div",
4693
+ {
4694
+ className: g(
4695
+ o && !n && "[mask-image:linear-gradient(to_top,transparent,black_50px,black_calc(100%-50px))]",
4696
+ "overflow-hidden",
4697
+ t
4698
+ ),
4699
+ ref: i,
4700
+ style: { maxHeight: n ? "none" : a },
4701
+ ...r,
4702
+ children: e
4703
+ }
4704
+ );
4705
+ }
4706
+ function yn({ children: e, className: t, ...r }) {
4707
+ const { hasOverflow: o } = Ze();
4708
+ return o ? /* @__PURE__ */ s("div", { className: g("flex w-full items-end pt-4", t), ...r, children: e }) : null;
4709
+ }
4710
+ function kn({ children: e, className: t, ...r }) {
4711
+ const { variant: o, showLabel: n, hideLabel: a, isOpen: i, toggleOpen: l } = Ze();
4712
+ return /* @__PURE__ */ _(se, { children: [
4713
+ o === "underline" && /* @__PURE__ */ s(
4714
+ "button",
4715
+ {
4716
+ className: g("group/underline text-sm focus:outline-none", t),
4717
+ onClick: () => l(),
4718
+ type: "button",
4719
+ ...r,
4720
+ children: /* @__PURE__ */ s(Fo, { children: i ? a : n })
4721
+ }
4722
+ ),
4723
+ o === "button" && /* @__PURE__ */ s(
4724
+ He,
4725
+ {
4726
+ className: t,
4727
+ onClick: () => l(),
4728
+ size: "x-small",
4729
+ type: "button",
4730
+ variant: "tertiary",
4731
+ ...r,
4732
+ children: i ? a : n
4733
+ }
4734
+ )
4735
+ ] });
4736
+ }
4613
4737
  export {
4614
- hn as Accordion,
4615
- xo as AccordionContent,
4616
- ho as AccordionItem,
4617
- wo as AccordionItemProvider,
4618
- ko as AccordionProvider,
4619
- vo as AccordionRoot,
4620
- yo as AccordionTrigger,
4621
- vn as Alert,
4622
- _o as AlertActions,
4623
- $o as AlertButton,
4624
- jo as AlertCloseButton,
4625
- Po as AlertDescription,
4626
- No as AlertHeader,
4627
- Co as AlertRoot,
4628
- Ro as AlertTitle,
4629
- xn as AnimatedUnderline,
4630
- yn as Badge,
4631
- kn as Banner,
4632
- Fo as BannerContent,
4633
- Wo as BannerDismiss,
4634
- Vo as BannerProvider,
4635
- Go as BannerRoot,
4636
- Uo as BannerText,
4637
- wn as BlogPostCard,
4638
- en as BlogPostCardAuthor,
4639
- Jo as BlogPostCardContent,
4640
- Qo as BlogPostCardDate,
4641
- Yo as BlogPostCardDetails,
4642
- Cn as BlogPostCardFallback,
4643
- Zo as BlogPostCardImage,
4644
- Ko as BlogPostCardLink,
4645
- Ho as BlogPostCardProvider,
4646
- qo as BlogPostCardRoot,
4647
- An as BlogPostCardSkeleton,
4648
- Xo as BlogPostCardTitle,
4649
- Gt as Button,
4650
- Nn as ButtonLink,
4651
- Rn as Card,
4652
- tn as CardLink,
4653
- rn as CardRoot,
4654
- Pn as CardSkeleton,
4655
- _n as Chip,
4656
- nn as ChipButton,
4657
- on as ChipRoot,
4658
- In as Favorite,
4659
- ln as FavoriteHeart,
4660
- sn as FavoriteRoot,
4661
- Sn as FieldError,
4662
- Ln as Rating,
4663
- cn as RatingProvider,
4664
- dn as RatingRoot,
4665
- fn as RatingStars,
4666
- mn as RatingValue,
4667
- Ve as useAccordion,
4668
- Ge as useAccordionItem,
4669
- Ut as useBanner,
4738
+ An as Accordion,
4739
+ ko as AccordionContent,
4740
+ xo as AccordionItem,
4741
+ No as AccordionItemProvider,
4742
+ Co as AccordionProvider,
4743
+ yo as AccordionRoot,
4744
+ wo as AccordionTrigger,
4745
+ Rn as Alert,
4746
+ So as AlertActions,
4747
+ Vo as AlertButton,
4748
+ Go as AlertCloseButton,
4749
+ Io as AlertDescription,
4750
+ Po as AlertHeader,
4751
+ Ao as AlertRoot,
4752
+ _o as AlertTitle,
4753
+ Fo as AnimatedUnderline,
4754
+ Pn as Badge,
4755
+ _n as Banner,
4756
+ Ho as BannerContent,
4757
+ Zo as BannerDismiss,
4758
+ Wo as BannerProvider,
4759
+ Uo as BannerRoot,
4760
+ qo as BannerText,
4761
+ In as BlogPostCard,
4762
+ on as BlogPostCardAuthor,
4763
+ en as BlogPostCardContent,
4764
+ rn as BlogPostCardDate,
4765
+ tn as BlogPostCardDetails,
4766
+ Sn as BlogPostCardFallback,
4767
+ Jo as BlogPostCardImage,
4768
+ Yo as BlogPostCardLink,
4769
+ Ko as BlogPostCardProvider,
4770
+ Xo as BlogPostCardRoot,
4771
+ Ln as BlogPostCardSkeleton,
4772
+ Qo as BlogPostCardTitle,
4773
+ He as Button,
4774
+ Mn as ButtonLink,
4775
+ En as Card,
4776
+ nn as CardLink,
4777
+ an as CardRoot,
4778
+ zn as CardSkeleton,
4779
+ Tn as Chip,
4780
+ ln as ChipButton,
4781
+ sn as ChipRoot,
4782
+ On as Favorite,
4783
+ un as FavoriteHeart,
4784
+ dn as FavoriteRoot,
4785
+ Bn as FieldError,
4786
+ Dn as Rating,
4787
+ fn as RatingProvider,
4788
+ mn as RatingRoot,
4789
+ gn as RatingStars,
4790
+ bn as RatingValue,
4791
+ $n as Reveal,
4792
+ yn as RevealControls,
4793
+ vn as RevealProvider,
4794
+ hn as RevealRoot,
4795
+ kn as RevealTrigger,
4796
+ xn as RevealViewport,
4797
+ Ge as useAccordion,
4798
+ Fe as useAccordionItem,
4799
+ Ht as useBanner,
4670
4800
  Q as useBlogPostCard
4671
4801
  };
4672
4802
  //# sourceMappingURL=index.js.map