commerce-toolkit 0.0.13 → 0.0.15

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,53 +1,53 @@
1
- import { jsx as c, jsxs as W } from "react/jsx-runtime";
2
- import * as m from "react";
3
- import N, { useState as Ot, useEffect as Lt, createContext as Ce, useMemo as Ae, use as Re, forwardRef as Je, createElement as he } from "react";
1
+ import { jsx as i, jsxs as B, Fragment as Ut } from "react/jsx-runtime";
2
+ import * as f from "react";
3
+ import _, { useState as ke, useEffect as et, createContext as ee, useMemo as te, use as oe, forwardRef as tt, createElement as Ce, useCallback as Ft } from "react";
4
4
  import "react-dom";
5
- function Sr({ className: e, colorScheme: t = "light", items: o, ...r }) {
6
- return /* @__PURE__ */ c(sr, { colorScheme: t, items: o, children: /* @__PURE__ */ c(nr, { className: e, ...r, children: o.map((n) => /* @__PURE__ */ c(
7
- ir,
5
+ function Jr({ className: e, colorScheme: t = "light", items: o, ...r }) {
6
+ return /* @__PURE__ */ i(pr, { colorScheme: t, items: o, children: /* @__PURE__ */ i(mr, { className: e, ...r, children: o.map((n) => /* @__PURE__ */ i(
7
+ gr,
8
8
  {
9
9
  content: n.content,
10
10
  title: n.title,
11
11
  value: n.value,
12
- children: /* @__PURE__ */ W(rr, { children: [
13
- /* @__PURE__ */ c(lr, {}),
14
- /* @__PURE__ */ c(ar, {})
12
+ children: /* @__PURE__ */ B(ur, { children: [
13
+ /* @__PURE__ */ i(br, {}),
14
+ /* @__PURE__ */ i(fr, {})
15
15
  ] })
16
16
  },
17
17
  n.value
18
18
  )) }) });
19
19
  }
20
- function Ie(e, t = []) {
20
+ function Re(e, t = []) {
21
21
  let o = [];
22
22
  function r(a, s) {
23
- const i = m.createContext(s), l = o.length;
23
+ const l = f.createContext(s), c = o.length;
24
24
  o = [...o, s];
25
- const f = (h) => {
26
- const { scope: A, children: w, ...C } = h, y = A?.[e]?.[l] || i, k = m.useMemo(() => C, Object.values(C));
27
- return /* @__PURE__ */ c(y.Provider, { value: k, children: w });
25
+ const m = (h) => {
26
+ const { scope: N, children: k, ...A } = h, w = N?.[e]?.[c] || l, C = f.useMemo(() => A, Object.values(A));
27
+ return /* @__PURE__ */ i(w.Provider, { value: C, children: k });
28
28
  };
29
- f.displayName = a + "Provider";
30
- function p(h, A) {
31
- const w = A?.[e]?.[l] || i, C = m.useContext(w);
32
- if (C) return C;
29
+ m.displayName = a + "Provider";
30
+ function p(h, N) {
31
+ const k = N?.[e]?.[c] || l, A = f.useContext(k);
32
+ if (A) return A;
33
33
  if (s !== void 0) return s;
34
34
  throw new Error(`\`${h}\` must be used within \`${a}\``);
35
35
  }
36
- return [f, p];
36
+ return [m, p];
37
37
  }
38
38
  const n = () => {
39
- const a = o.map((s) => m.createContext(s));
40
- return function(i) {
41
- const l = i?.[e] || a;
42
- return m.useMemo(
43
- () => ({ [`__scope${e}`]: { ...i, [e]: l } }),
44
- [i, l]
39
+ const a = o.map((s) => f.createContext(s));
40
+ return function(l) {
41
+ const c = l?.[e] || a;
42
+ return f.useMemo(
43
+ () => ({ [`__scope${e}`]: { ...l, [e]: c } }),
44
+ [l, c]
45
45
  );
46
46
  };
47
47
  };
48
- return n.scopeName = e, [r, $t(n, ...t)];
48
+ return n.scopeName = e, [r, Wt(n, ...t)];
49
49
  }
50
- function $t(...e) {
50
+ function Wt(...e) {
51
51
  const t = e[0];
52
52
  if (e.length === 1) return t;
53
53
  const o = () => {
@@ -56,177 +56,177 @@ function $t(...e) {
56
56
  scopeName: n.scopeName
57
57
  }));
58
58
  return function(a) {
59
- const s = r.reduce((i, { useScope: l, scopeName: f }) => {
60
- const h = l(a)[`__scope${f}`];
61
- return { ...i, ...h };
59
+ const s = r.reduce((l, { useScope: c, scopeName: m }) => {
60
+ const h = c(a)[`__scope${m}`];
61
+ return { ...l, ...h };
62
62
  }, {});
63
- return m.useMemo(() => ({ [`__scope${t.scopeName}`]: s }), [s]);
63
+ return f.useMemo(() => ({ [`__scope${t.scopeName}`]: s }), [s]);
64
64
  };
65
65
  };
66
66
  return o.scopeName = t.scopeName, o;
67
67
  }
68
- function Be(e, t) {
68
+ function Ke(e, t) {
69
69
  if (typeof e == "function")
70
70
  return e(t);
71
71
  e != null && (e.current = t);
72
72
  }
73
- function Ye(...e) {
73
+ function ot(...e) {
74
74
  return (t) => {
75
75
  let o = !1;
76
76
  const r = e.map((n) => {
77
- const a = Be(n, t);
77
+ const a = Ke(n, t);
78
78
  return !o && typeof a == "function" && (o = !0), a;
79
79
  });
80
80
  if (o)
81
81
  return () => {
82
82
  for (let n = 0; n < r.length; n++) {
83
83
  const a = r[n];
84
- typeof a == "function" ? a() : Be(e[n], null);
84
+ typeof a == "function" ? a() : Ke(e[n], null);
85
85
  }
86
86
  };
87
87
  };
88
88
  }
89
- function X(...e) {
90
- return m.useCallback(Ye(...e), e);
89
+ function Y(...e) {
90
+ return f.useCallback(ot(...e), e);
91
91
  }
92
92
  // @__NO_SIDE_EFFECTS__
93
- function ve(e) {
94
- const t = /* @__PURE__ */ Gt(e), o = m.forwardRef((r, n) => {
95
- const { children: a, ...s } = r, i = m.Children.toArray(a), l = i.find(Dt);
96
- if (l) {
97
- const f = l.props.children, p = i.map((h) => h === l ? m.Children.count(f) > 1 ? m.Children.only(null) : m.isValidElement(f) ? f.props.children : null : h);
98
- return /* @__PURE__ */ c(t, { ...s, ref: n, children: m.isValidElement(f) ? m.cloneElement(f, void 0, p) : null });
93
+ function Ae(e) {
94
+ const t = /* @__PURE__ */ Ht(e), o = f.forwardRef((r, n) => {
95
+ const { children: a, ...s } = r, l = f.Children.toArray(a), c = l.find(Kt);
96
+ if (c) {
97
+ const m = c.props.children, p = l.map((h) => h === c ? f.Children.count(m) > 1 ? f.Children.only(null) : f.isValidElement(m) ? m.props.children : null : h);
98
+ return /* @__PURE__ */ i(t, { ...s, ref: n, children: f.isValidElement(m) ? f.cloneElement(m, void 0, p) : null });
99
99
  }
100
- return /* @__PURE__ */ c(t, { ...s, ref: n, children: a });
100
+ return /* @__PURE__ */ i(t, { ...s, ref: n, children: a });
101
101
  });
102
102
  return o.displayName = `${e}.Slot`, o;
103
103
  }
104
104
  // @__NO_SIDE_EFFECTS__
105
- function Gt(e) {
106
- const t = m.forwardRef((o, r) => {
105
+ function Ht(e) {
106
+ const t = f.forwardRef((o, r) => {
107
107
  const { children: n, ...a } = o;
108
- if (m.isValidElement(n)) {
109
- const s = Ut(n), i = jt(a, n.props);
110
- return n.type !== m.Fragment && (i.ref = r ? Ye(r, s) : s), m.cloneElement(n, i);
108
+ if (f.isValidElement(n)) {
109
+ const s = Xt(n), l = Zt(a, n.props);
110
+ return n.type !== f.Fragment && (l.ref = r ? ot(r, s) : s), f.cloneElement(n, l);
111
111
  }
112
- return m.Children.count(n) > 1 ? m.Children.only(null) : null;
112
+ return f.Children.count(n) > 1 ? f.Children.only(null) : null;
113
113
  });
114
114
  return t.displayName = `${e}.SlotClone`, t;
115
115
  }
116
- var Vt = Symbol("radix.slottable");
117
- function Dt(e) {
118
- return m.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Vt;
116
+ var qt = Symbol("radix.slottable");
117
+ function Kt(e) {
118
+ return f.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === qt;
119
119
  }
120
- function jt(e, t) {
120
+ function Zt(e, t) {
121
121
  const o = { ...t };
122
122
  for (const r in t) {
123
123
  const n = e[r], a = t[r];
124
- /^on[A-Z]/.test(r) ? n && a ? o[r] = (...i) => {
125
- const l = a(...i);
126
- return n(...i), l;
124
+ /^on[A-Z]/.test(r) ? n && a ? o[r] = (...l) => {
125
+ const c = a(...l);
126
+ return n(...l), c;
127
127
  } : n && (o[r] = n) : r === "style" ? o[r] = { ...n, ...a } : r === "className" && (o[r] = [n, a].filter(Boolean).join(" "));
128
128
  }
129
129
  return { ...e, ...o };
130
130
  }
131
- function Ut(e) {
131
+ function Xt(e) {
132
132
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, o = t && "isReactWarning" in t && t.isReactWarning;
133
133
  return o ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, o = t && "isReactWarning" in t && t.isReactWarning, o ? e.props.ref : e.props.ref || e.ref);
134
134
  }
135
- function Ft(e) {
136
- const t = e + "CollectionProvider", [o, r] = Ie(t), [n, a] = o(
135
+ function Jt(e) {
136
+ const t = e + "CollectionProvider", [o, r] = Re(t), [n, a] = o(
137
137
  t,
138
138
  { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
139
- ), s = (y) => {
140
- const { scope: k, children: R } = y, x = N.useRef(null), I = N.useRef(/* @__PURE__ */ new Map()).current;
141
- return /* @__PURE__ */ c(n, { scope: k, itemMap: I, collectionRef: x, children: R });
139
+ ), s = (w) => {
140
+ const { scope: C, children: P } = w, y = _.useRef(null), I = _.useRef(/* @__PURE__ */ new Map()).current;
141
+ return /* @__PURE__ */ i(n, { scope: C, itemMap: I, collectionRef: y, children: P });
142
142
  };
143
143
  s.displayName = t;
144
- const i = e + "CollectionSlot", l = /* @__PURE__ */ ve(i), f = N.forwardRef(
145
- (y, k) => {
146
- const { scope: R, children: x } = y, I = a(i, R), S = X(k, I.collectionRef);
147
- return /* @__PURE__ */ c(l, { ref: S, children: x });
144
+ const l = e + "CollectionSlot", c = /* @__PURE__ */ Ae(l), m = _.forwardRef(
145
+ (w, C) => {
146
+ const { scope: P, children: y } = w, I = a(l, P), S = Y(C, I.collectionRef);
147
+ return /* @__PURE__ */ i(c, { ref: S, children: y });
148
148
  }
149
149
  );
150
- f.displayName = i;
151
- const p = e + "CollectionItemSlot", h = "data-radix-collection-item", A = /* @__PURE__ */ ve(p), w = N.forwardRef(
152
- (y, k) => {
153
- const { scope: R, children: x, ...I } = y, S = N.useRef(null), T = X(k, S), E = a(p, R);
154
- return N.useEffect(() => (E.itemMap.set(S, { ref: S, ...I }), () => void E.itemMap.delete(S))), /* @__PURE__ */ c(A, { [h]: "", ref: T, children: x });
150
+ m.displayName = l;
151
+ const p = e + "CollectionItemSlot", h = "data-radix-collection-item", N = /* @__PURE__ */ Ae(p), k = _.forwardRef(
152
+ (w, C) => {
153
+ const { scope: P, children: y, ...I } = w, S = _.useRef(null), T = Y(C, S), E = a(p, P);
154
+ return _.useEffect(() => (E.itemMap.set(S, { ref: S, ...I }), () => void E.itemMap.delete(S))), /* @__PURE__ */ i(N, { [h]: "", ref: T, children: y });
155
155
  }
156
156
  );
157
- w.displayName = p;
158
- function C(y) {
159
- const k = a(e + "CollectionConsumer", y);
160
- return N.useCallback(() => {
161
- const x = k.collectionRef.current;
162
- if (!x) return [];
163
- const I = Array.from(x.querySelectorAll(`[${h}]`));
164
- return Array.from(k.itemMap.values()).sort(
165
- (E, $) => I.indexOf(E.ref.current) - I.indexOf($.ref.current)
157
+ k.displayName = p;
158
+ function A(w) {
159
+ const C = a(e + "CollectionConsumer", w);
160
+ return _.useCallback(() => {
161
+ const y = C.collectionRef.current;
162
+ if (!y) return [];
163
+ const I = Array.from(y.querySelectorAll(`[${h}]`));
164
+ return Array.from(C.itemMap.values()).sort(
165
+ (E, D) => I.indexOf(E.ref.current) - I.indexOf(D.ref.current)
166
166
  );
167
- }, [k.collectionRef, k.itemMap]);
167
+ }, [C.collectionRef, C.itemMap]);
168
168
  }
169
169
  return [
170
- { Provider: s, Slot: f, ItemSlot: w },
171
- C,
170
+ { Provider: s, Slot: m, ItemSlot: k },
171
+ A,
172
172
  r
173
173
  ];
174
174
  }
175
- function Qe(e, t, { checkForDefaultPrevented: o = !0 } = {}) {
175
+ function rt(e, t, { checkForDefaultPrevented: o = !0 } = {}) {
176
176
  return function(n) {
177
177
  if (e?.(n), o === !1 || !n.defaultPrevented)
178
178
  return t?.(n);
179
179
  };
180
180
  }
181
- var J = globalThis?.document ? m.useLayoutEffect : () => {
182
- }, Wt = m[" useInsertionEffect ".trim().toString()] || J;
183
- function Ne({
181
+ var Q = globalThis?.document ? f.useLayoutEffect : () => {
182
+ }, Yt = f[" useInsertionEffect ".trim().toString()] || Q;
183
+ function Se({
184
184
  prop: e,
185
185
  defaultProp: t,
186
186
  onChange: o = () => {
187
187
  },
188
188
  caller: r
189
189
  }) {
190
- const [n, a, s] = Bt({
190
+ const [n, a, s] = Qt({
191
191
  defaultProp: t,
192
192
  onChange: o
193
- }), i = e !== void 0, l = i ? e : n;
193
+ }), l = e !== void 0, c = l ? e : n;
194
194
  {
195
- const p = m.useRef(e !== void 0);
196
- m.useEffect(() => {
195
+ const p = f.useRef(e !== void 0);
196
+ f.useEffect(() => {
197
197
  const h = p.current;
198
- h !== i && console.warn(
199
- `${r} is changing from ${h ? "controlled" : "uncontrolled"} to ${i ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
200
- ), p.current = i;
201
- }, [i, r]);
198
+ h !== l && console.warn(
199
+ `${r} is changing from ${h ? "controlled" : "uncontrolled"} to ${l ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
200
+ ), p.current = l;
201
+ }, [l, r]);
202
202
  }
203
- const f = m.useCallback(
203
+ const m = f.useCallback(
204
204
  (p) => {
205
- if (i) {
206
- const h = Ht(p) ? p(e) : p;
205
+ if (l) {
206
+ const h = eo(p) ? p(e) : p;
207
207
  h !== e && s.current?.(h);
208
208
  } else
209
209
  a(p);
210
210
  },
211
- [i, e, a, s]
211
+ [l, e, a, s]
212
212
  );
213
- return [l, f];
213
+ return [c, m];
214
214
  }
215
- function Bt({
215
+ function Qt({
216
216
  defaultProp: e,
217
217
  onChange: t
218
218
  }) {
219
- const [o, r] = m.useState(e), n = m.useRef(o), a = m.useRef(t);
220
- return Wt(() => {
219
+ const [o, r] = f.useState(e), n = f.useRef(o), a = f.useRef(t);
220
+ return Yt(() => {
221
221
  a.current = t;
222
- }, [t]), m.useEffect(() => {
222
+ }, [t]), f.useEffect(() => {
223
223
  n.current !== o && (a.current?.(o), n.current = o);
224
224
  }, [o, n]), [o, r, a];
225
225
  }
226
- function Ht(e) {
226
+ function eo(e) {
227
227
  return typeof e == "function";
228
228
  }
229
- var qt = [
229
+ var to = [
230
230
  "a",
231
231
  "button",
232
232
  "div",
@@ -244,23 +244,23 @@ var qt = [
244
244
  "span",
245
245
  "svg",
246
246
  "ul"
247
- ], Y = qt.reduce((e, t) => {
248
- const o = /* @__PURE__ */ ve(`Primitive.${t}`), r = m.forwardRef((n, a) => {
249
- const { asChild: s, ...i } = n, l = s ? o : t;
250
- return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ c(l, { ...i, ref: a });
247
+ ], re = to.reduce((e, t) => {
248
+ const o = /* @__PURE__ */ Ae(`Primitive.${t}`), r = f.forwardRef((n, a) => {
249
+ const { asChild: s, ...l } = n, c = s ? o : t;
250
+ return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ i(c, { ...l, ref: a });
251
251
  });
252
252
  return r.displayName = `Primitive.${t}`, { ...e, [t]: r };
253
253
  }, {});
254
- function Kt(e, t) {
255
- return m.useReducer((o, r) => t[o][r] ?? o, e);
254
+ function oo(e, t) {
255
+ return f.useReducer((o, r) => t[o][r] ?? o, e);
256
256
  }
257
- var et = (e) => {
258
- const { present: t, children: o } = e, r = Zt(t), n = typeof o == "function" ? o({ present: r.isPresent }) : m.Children.only(o), a = X(r.ref, Xt(n));
259
- return typeof o == "function" || r.isPresent ? m.cloneElement(n, { ref: a }) : null;
257
+ var nt = (e) => {
258
+ const { present: t, children: o } = e, r = ro(t), n = typeof o == "function" ? o({ present: r.isPresent }) : f.Children.only(o), a = Y(r.ref, no(n));
259
+ return typeof o == "function" || r.isPresent ? f.cloneElement(n, { ref: a }) : null;
260
260
  };
261
- et.displayName = "Presence";
262
- function Zt(e) {
263
- const [t, o] = m.useState(), r = m.useRef(null), n = m.useRef(e), a = m.useRef("none"), s = e ? "mounted" : "unmounted", [i, l] = Kt(s, {
261
+ nt.displayName = "Presence";
262
+ function ro(e) {
263
+ const [t, o] = f.useState(), r = f.useRef(null), n = f.useRef(e), a = f.useRef("none"), s = e ? "mounted" : "unmounted", [l, c] = oo(s, {
264
264
  mounted: {
265
265
  UNMOUNT: "unmounted",
266
266
  ANIMATION_OUT: "unmountSuspended"
@@ -273,57 +273,57 @@ function Zt(e) {
273
273
  MOUNT: "mounted"
274
274
  }
275
275
  });
276
- return m.useEffect(() => {
277
- const f = ae(r.current);
278
- a.current = i === "mounted" ? f : "none";
279
- }, [i]), J(() => {
280
- const f = r.current, p = n.current;
276
+ return f.useEffect(() => {
277
+ const m = de(r.current);
278
+ a.current = l === "mounted" ? m : "none";
279
+ }, [l]), Q(() => {
280
+ const m = r.current, p = n.current;
281
281
  if (p !== e) {
282
- const A = a.current, w = ae(f);
283
- e ? l("MOUNT") : w === "none" || f?.display === "none" ? l("UNMOUNT") : l(p && A !== w ? "ANIMATION_OUT" : "UNMOUNT"), n.current = e;
282
+ const N = a.current, k = de(m);
283
+ e ? c("MOUNT") : k === "none" || m?.display === "none" ? c("UNMOUNT") : c(p && N !== k ? "ANIMATION_OUT" : "UNMOUNT"), n.current = e;
284
284
  }
285
- }, [e, l]), J(() => {
285
+ }, [e, c]), Q(() => {
286
286
  if (t) {
287
- let f;
288
- const p = t.ownerDocument.defaultView ?? window, h = (w) => {
289
- const y = ae(r.current).includes(CSS.escape(w.animationName));
290
- if (w.target === t && y && (l("ANIMATION_END"), !n.current)) {
291
- const k = t.style.animationFillMode;
292
- t.style.animationFillMode = "forwards", f = p.setTimeout(() => {
293
- t.style.animationFillMode === "forwards" && (t.style.animationFillMode = k);
287
+ let m;
288
+ const p = t.ownerDocument.defaultView ?? window, h = (k) => {
289
+ const w = de(r.current).includes(CSS.escape(k.animationName));
290
+ if (k.target === t && w && (c("ANIMATION_END"), !n.current)) {
291
+ const C = t.style.animationFillMode;
292
+ t.style.animationFillMode = "forwards", m = p.setTimeout(() => {
293
+ t.style.animationFillMode === "forwards" && (t.style.animationFillMode = C);
294
294
  });
295
295
  }
296
- }, A = (w) => {
297
- w.target === t && (a.current = ae(r.current));
296
+ }, N = (k) => {
297
+ k.target === t && (a.current = de(r.current));
298
298
  };
299
- return t.addEventListener("animationstart", A), t.addEventListener("animationcancel", h), t.addEventListener("animationend", h), () => {
300
- p.clearTimeout(f), t.removeEventListener("animationstart", A), t.removeEventListener("animationcancel", h), t.removeEventListener("animationend", h);
299
+ return t.addEventListener("animationstart", N), t.addEventListener("animationcancel", h), t.addEventListener("animationend", h), () => {
300
+ p.clearTimeout(m), t.removeEventListener("animationstart", N), t.removeEventListener("animationcancel", h), t.removeEventListener("animationend", h);
301
301
  };
302
302
  } else
303
- l("ANIMATION_END");
304
- }, [t, l]), {
305
- isPresent: ["mounted", "unmountSuspended"].includes(i),
306
- ref: m.useCallback((f) => {
307
- r.current = f ? getComputedStyle(f) : null, o(f);
303
+ c("ANIMATION_END");
304
+ }, [t, c]), {
305
+ isPresent: ["mounted", "unmountSuspended"].includes(l),
306
+ ref: f.useCallback((m) => {
307
+ r.current = m ? getComputedStyle(m) : null, o(m);
308
308
  }, [])
309
309
  };
310
310
  }
311
- function ae(e) {
311
+ function de(e) {
312
312
  return e?.animationName || "none";
313
313
  }
314
- function Xt(e) {
314
+ function no(e) {
315
315
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, o = t && "isReactWarning" in t && t.isReactWarning;
316
316
  return o ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, o = t && "isReactWarning" in t && t.isReactWarning, o ? e.props.ref : e.props.ref || e.ref);
317
317
  }
318
- var Jt = m[" useId ".trim().toString()] || (() => {
319
- }), Yt = 0;
320
- function tt(e) {
321
- const [t, o] = m.useState(Jt());
322
- return J(() => {
323
- o((r) => r ?? String(Yt++));
318
+ var ao = f[" useId ".trim().toString()] || (() => {
319
+ }), so = 0;
320
+ function at(e) {
321
+ const [t, o] = f.useState(ao());
322
+ return Q(() => {
323
+ o((r) => r ?? String(so++));
324
324
  }, [e]), t ? `radix-${t}` : "";
325
325
  }
326
- var ce = "Collapsible", [Qt, ot] = Ie(ce), [eo, _e] = Qt(ce), rt = m.forwardRef(
326
+ var pe = "Collapsible", [io, st] = Re(pe), [lo, Me] = io(pe), it = f.forwardRef(
327
327
  (e, t) => {
328
328
  const {
329
329
  __scopeCollapsible: o,
@@ -331,27 +331,27 @@ var ce = "Collapsible", [Qt, ot] = Ie(ce), [eo, _e] = Qt(ce), rt = m.forwardRef(
331
331
  defaultOpen: n,
332
332
  disabled: a,
333
333
  onOpenChange: s,
334
- ...i
335
- } = e, [l, f] = Ne({
334
+ ...l
335
+ } = e, [c, m] = Se({
336
336
  prop: r,
337
337
  defaultProp: n ?? !1,
338
338
  onChange: s,
339
- caller: ce
339
+ caller: pe
340
340
  });
341
- return /* @__PURE__ */ c(
342
- eo,
341
+ return /* @__PURE__ */ i(
342
+ lo,
343
343
  {
344
344
  scope: o,
345
345
  disabled: a,
346
- contentId: tt(),
347
- open: l,
348
- onOpenToggle: m.useCallback(() => f((p) => !p), [f]),
349
- children: /* @__PURE__ */ c(
350
- Y.div,
346
+ contentId: at(),
347
+ open: c,
348
+ onOpenToggle: f.useCallback(() => m((p) => !p), [m]),
349
+ children: /* @__PURE__ */ i(
350
+ re.div,
351
351
  {
352
- "data-state": Pe(l),
352
+ "data-state": ze(c),
353
353
  "data-disabled": a ? "" : void 0,
354
- ...i,
354
+ ...l,
355
355
  ref: t
356
356
  }
357
357
  )
@@ -359,89 +359,89 @@ var ce = "Collapsible", [Qt, ot] = Ie(ce), [eo, _e] = Qt(ce), rt = m.forwardRef(
359
359
  );
360
360
  }
361
361
  );
362
- rt.displayName = ce;
363
- var nt = "CollapsibleTrigger", at = m.forwardRef(
362
+ it.displayName = pe;
363
+ var lt = "CollapsibleTrigger", ct = f.forwardRef(
364
364
  (e, t) => {
365
- const { __scopeCollapsible: o, ...r } = e, n = _e(nt, o);
366
- return /* @__PURE__ */ c(
367
- Y.button,
365
+ const { __scopeCollapsible: o, ...r } = e, n = Me(lt, o);
366
+ return /* @__PURE__ */ i(
367
+ re.button,
368
368
  {
369
369
  type: "button",
370
370
  "aria-controls": n.contentId,
371
371
  "aria-expanded": n.open || !1,
372
- "data-state": Pe(n.open),
372
+ "data-state": ze(n.open),
373
373
  "data-disabled": n.disabled ? "" : void 0,
374
374
  disabled: n.disabled,
375
375
  ...r,
376
376
  ref: t,
377
- onClick: Qe(e.onClick, n.onOpenToggle)
377
+ onClick: rt(e.onClick, n.onOpenToggle)
378
378
  }
379
379
  );
380
380
  }
381
381
  );
382
- at.displayName = nt;
383
- var Se = "CollapsibleContent", st = m.forwardRef(
382
+ ct.displayName = lt;
383
+ var Ee = "CollapsibleContent", dt = f.forwardRef(
384
384
  (e, t) => {
385
- const { forceMount: o, ...r } = e, n = _e(Se, e.__scopeCollapsible);
386
- return /* @__PURE__ */ c(et, { present: o || n.open, children: ({ present: a }) => /* @__PURE__ */ c(to, { ...r, ref: t, present: a }) });
385
+ const { forceMount: o, ...r } = e, n = Me(Ee, e.__scopeCollapsible);
386
+ return /* @__PURE__ */ i(nt, { present: o || n.open, children: ({ present: a }) => /* @__PURE__ */ i(co, { ...r, ref: t, present: a }) });
387
387
  }
388
388
  );
389
- st.displayName = Se;
390
- var to = m.forwardRef((e, t) => {
391
- const { __scopeCollapsible: o, present: r, children: n, ...a } = e, s = _e(Se, o), [i, l] = m.useState(r), f = m.useRef(null), p = X(t, f), h = m.useRef(0), A = h.current, w = m.useRef(0), C = w.current, y = s.open || i, k = m.useRef(y), R = m.useRef(void 0);
392
- return m.useEffect(() => {
393
- const x = requestAnimationFrame(() => k.current = !1);
394
- return () => cancelAnimationFrame(x);
395
- }, []), J(() => {
396
- const x = f.current;
397
- if (x) {
398
- R.current = R.current || {
399
- transitionDuration: x.style.transitionDuration,
400
- animationName: x.style.animationName
401
- }, x.style.transitionDuration = "0s", x.style.animationName = "none";
402
- const I = x.getBoundingClientRect();
403
- h.current = I.height, w.current = I.width, k.current || (x.style.transitionDuration = R.current.transitionDuration, x.style.animationName = R.current.animationName), l(r);
389
+ dt.displayName = Ee;
390
+ var co = f.forwardRef((e, t) => {
391
+ const { __scopeCollapsible: o, present: r, children: n, ...a } = e, s = Me(Ee, o), [l, c] = f.useState(r), m = f.useRef(null), p = Y(t, m), h = f.useRef(0), N = h.current, k = f.useRef(0), A = k.current, w = s.open || l, C = f.useRef(w), P = f.useRef(void 0);
392
+ return f.useEffect(() => {
393
+ const y = requestAnimationFrame(() => C.current = !1);
394
+ return () => cancelAnimationFrame(y);
395
+ }, []), Q(() => {
396
+ const y = m.current;
397
+ if (y) {
398
+ P.current = P.current || {
399
+ transitionDuration: y.style.transitionDuration,
400
+ animationName: y.style.animationName
401
+ }, y.style.transitionDuration = "0s", y.style.animationName = "none";
402
+ const I = y.getBoundingClientRect();
403
+ h.current = I.height, k.current = I.width, C.current || (y.style.transitionDuration = P.current.transitionDuration, y.style.animationName = P.current.animationName), c(r);
404
404
  }
405
- }, [s.open, r]), /* @__PURE__ */ c(
406
- Y.div,
405
+ }, [s.open, r]), /* @__PURE__ */ i(
406
+ re.div,
407
407
  {
408
- "data-state": Pe(s.open),
408
+ "data-state": ze(s.open),
409
409
  "data-disabled": s.disabled ? "" : void 0,
410
410
  id: s.contentId,
411
- hidden: !y,
411
+ hidden: !w,
412
412
  ...a,
413
413
  ref: p,
414
414
  style: {
415
- "--radix-collapsible-content-height": A ? `${A}px` : void 0,
416
- "--radix-collapsible-content-width": C ? `${C}px` : void 0,
415
+ "--radix-collapsible-content-height": N ? `${N}px` : void 0,
416
+ "--radix-collapsible-content-width": A ? `${A}px` : void 0,
417
417
  ...e.style
418
418
  },
419
- children: y && n
419
+ children: w && n
420
420
  }
421
421
  );
422
422
  });
423
- function Pe(e) {
423
+ function ze(e) {
424
424
  return e ? "open" : "closed";
425
425
  }
426
- var oo = rt, ro = at, no = st, ao = m.createContext(void 0);
427
- function so(e) {
428
- const t = m.useContext(ao);
426
+ var uo = it, mo = ct, fo = dt, po = f.createContext(void 0);
427
+ function go(e) {
428
+ const t = f.useContext(po);
429
429
  return e || t || "ltr";
430
430
  }
431
- var L = "Accordion", io = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [Me, lo, co] = Ft(L), [de] = Ie(L, [
432
- co,
433
- ot
434
- ]), Ee = ot(), it = N.forwardRef(
431
+ var L = "Accordion", bo = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [Te, ho, vo] = Jt(L), [ge] = Re(L, [
432
+ vo,
433
+ st
434
+ ]), Oe = st(), ut = _.forwardRef(
435
435
  (e, t) => {
436
436
  const { type: o, ...r } = e, n = r, a = r;
437
- return /* @__PURE__ */ c(Me.Provider, { scope: e.__scopeAccordion, children: o === "multiple" ? /* @__PURE__ */ c(po, { ...a, ref: t }) : /* @__PURE__ */ c(mo, { ...n, ref: t }) });
437
+ return /* @__PURE__ */ i(Te.Provider, { scope: e.__scopeAccordion, children: o === "multiple" ? /* @__PURE__ */ i(ko, { ...a, ref: t }) : /* @__PURE__ */ i(wo, { ...n, ref: t }) });
438
438
  }
439
439
  );
440
- it.displayName = L;
441
- var [lt, uo] = de(L), [ct, fo] = de(
440
+ ut.displayName = L;
441
+ var [mt, xo] = ge(L), [ft, yo] = ge(
442
442
  L,
443
443
  { collapsible: !1 }
444
- ), mo = N.forwardRef(
444
+ ), wo = _.forwardRef(
445
445
  (e, t) => {
446
446
  const {
447
447
  value: o,
@@ -450,71 +450,71 @@ var [lt, uo] = de(L), [ct, fo] = de(
450
450
  },
451
451
  collapsible: a = !1,
452
452
  ...s
453
- } = e, [i, l] = Ne({
453
+ } = e, [l, c] = Se({
454
454
  prop: o,
455
455
  defaultProp: r ?? "",
456
456
  onChange: n,
457
457
  caller: L
458
458
  });
459
- return /* @__PURE__ */ c(
460
- lt,
459
+ return /* @__PURE__ */ i(
460
+ mt,
461
461
  {
462
462
  scope: e.__scopeAccordion,
463
- value: N.useMemo(() => i ? [i] : [], [i]),
464
- onItemOpen: l,
465
- onItemClose: N.useCallback(() => a && l(""), [a, l]),
466
- children: /* @__PURE__ */ c(ct, { scope: e.__scopeAccordion, collapsible: a, children: /* @__PURE__ */ c(dt, { ...s, ref: t }) })
463
+ value: _.useMemo(() => l ? [l] : [], [l]),
464
+ onItemOpen: c,
465
+ onItemClose: _.useCallback(() => a && c(""), [a, c]),
466
+ children: /* @__PURE__ */ i(ft, { scope: e.__scopeAccordion, collapsible: a, children: /* @__PURE__ */ i(pt, { ...s, ref: t }) })
467
467
  }
468
468
  );
469
469
  }
470
- ), po = N.forwardRef((e, t) => {
470
+ ), ko = _.forwardRef((e, t) => {
471
471
  const {
472
472
  value: o,
473
473
  defaultValue: r,
474
474
  onValueChange: n = () => {
475
475
  },
476
476
  ...a
477
- } = e, [s, i] = Ne({
477
+ } = e, [s, l] = Se({
478
478
  prop: o,
479
479
  defaultProp: r ?? [],
480
480
  onChange: n,
481
481
  caller: L
482
- }), l = N.useCallback(
483
- (p) => i((h = []) => [...h, p]),
484
- [i]
485
- ), f = N.useCallback(
486
- (p) => i((h = []) => h.filter((A) => A !== p)),
487
- [i]
482
+ }), c = _.useCallback(
483
+ (p) => l((h = []) => [...h, p]),
484
+ [l]
485
+ ), m = _.useCallback(
486
+ (p) => l((h = []) => h.filter((N) => N !== p)),
487
+ [l]
488
488
  );
489
- return /* @__PURE__ */ c(
490
- lt,
489
+ return /* @__PURE__ */ i(
490
+ mt,
491
491
  {
492
492
  scope: e.__scopeAccordion,
493
493
  value: s,
494
- onItemOpen: l,
495
- onItemClose: f,
496
- children: /* @__PURE__ */ c(ct, { scope: e.__scopeAccordion, collapsible: !0, children: /* @__PURE__ */ c(dt, { ...a, ref: t }) })
494
+ onItemOpen: c,
495
+ onItemClose: m,
496
+ children: /* @__PURE__ */ i(ft, { scope: e.__scopeAccordion, collapsible: !0, children: /* @__PURE__ */ i(pt, { ...a, ref: t }) })
497
497
  }
498
498
  );
499
- }), [go, ue] = de(L), dt = N.forwardRef(
499
+ }), [Co, be] = ge(L), pt = _.forwardRef(
500
500
  (e, t) => {
501
- const { __scopeAccordion: o, disabled: r, dir: n, orientation: a = "vertical", ...s } = e, i = N.useRef(null), l = X(i, t), f = lo(o), h = so(n) === "ltr", A = Qe(e.onKeyDown, (w) => {
502
- if (!io.includes(w.key)) return;
503
- const C = w.target, y = f().filter((b) => !b.ref.current?.disabled), k = y.findIndex((b) => b.ref.current === C), R = y.length;
504
- if (k === -1) return;
505
- w.preventDefault();
506
- let x = k;
507
- const I = 0, S = R - 1, T = () => {
508
- x = k + 1, x > S && (x = I);
501
+ const { __scopeAccordion: o, disabled: r, dir: n, orientation: a = "vertical", ...s } = e, l = _.useRef(null), c = Y(l, t), m = ho(o), h = go(n) === "ltr", N = rt(e.onKeyDown, (k) => {
502
+ if (!bo.includes(k.key)) return;
503
+ const A = k.target, w = m().filter((b) => !b.ref.current?.disabled), C = w.findIndex((b) => b.ref.current === A), P = w.length;
504
+ if (C === -1) return;
505
+ k.preventDefault();
506
+ let y = C;
507
+ const I = 0, S = P - 1, T = () => {
508
+ y = C + 1, y > S && (y = I);
509
509
  }, E = () => {
510
- x = k - 1, x < I && (x = S);
510
+ y = C - 1, y < I && (y = S);
511
511
  };
512
- switch (w.key) {
512
+ switch (k.key) {
513
513
  case "Home":
514
- x = I;
514
+ y = I;
515
515
  break;
516
516
  case "End":
517
- x = S;
517
+ y = S;
518
518
  break;
519
519
  case "ArrowRight":
520
520
  a === "horizontal" && (h ? T() : E());
@@ -529,48 +529,48 @@ var [lt, uo] = de(L), [ct, fo] = de(
529
529
  a === "vertical" && E();
530
530
  break;
531
531
  }
532
- const $ = x % R;
533
- y[$].ref.current?.focus();
532
+ const D = y % P;
533
+ w[D].ref.current?.focus();
534
534
  });
535
- return /* @__PURE__ */ c(
536
- go,
535
+ return /* @__PURE__ */ i(
536
+ Co,
537
537
  {
538
538
  scope: o,
539
539
  disabled: r,
540
540
  direction: n,
541
541
  orientation: a,
542
- children: /* @__PURE__ */ c(Me.Slot, { scope: o, children: /* @__PURE__ */ c(
543
- Y.div,
542
+ children: /* @__PURE__ */ i(Te.Slot, { scope: o, children: /* @__PURE__ */ i(
543
+ re.div,
544
544
  {
545
545
  ...s,
546
546
  "data-orientation": a,
547
- ref: l,
548
- onKeyDown: r ? void 0 : A
547
+ ref: c,
548
+ onKeyDown: r ? void 0 : N
549
549
  }
550
550
  ) })
551
551
  }
552
552
  );
553
553
  }
554
- ), le = "AccordionItem", [bo, ze] = de(le), ut = N.forwardRef(
554
+ ), fe = "AccordionItem", [Ao, Be] = ge(fe), gt = _.forwardRef(
555
555
  (e, t) => {
556
- const { __scopeAccordion: o, value: r, ...n } = e, a = ue(le, o), s = uo(le, o), i = Ee(o), l = tt(), f = r && s.value.includes(r) || !1, p = a.disabled || e.disabled;
557
- return /* @__PURE__ */ c(
558
- bo,
556
+ const { __scopeAccordion: o, value: r, ...n } = e, a = be(fe, o), s = xo(fe, o), l = Oe(o), c = at(), m = r && s.value.includes(r) || !1, p = a.disabled || e.disabled;
557
+ return /* @__PURE__ */ i(
558
+ Ao,
559
559
  {
560
560
  scope: o,
561
- open: f,
561
+ open: m,
562
562
  disabled: p,
563
- triggerId: l,
564
- children: /* @__PURE__ */ c(
565
- oo,
563
+ triggerId: c,
564
+ children: /* @__PURE__ */ i(
565
+ uo,
566
566
  {
567
567
  "data-orientation": a.orientation,
568
- "data-state": ht(f),
569
- ...i,
568
+ "data-state": wt(m),
569
+ ...l,
570
570
  ...n,
571
571
  ref: t,
572
572
  disabled: p,
573
- open: f,
573
+ open: m,
574
574
  onOpenChange: (h) => {
575
575
  h ? s.onItemOpen(r) : s.onItemClose(r);
576
576
  }
@@ -580,15 +580,15 @@ var [lt, uo] = de(L), [ct, fo] = de(
580
580
  );
581
581
  }
582
582
  );
583
- ut.displayName = le;
584
- var ft = "AccordionHeader", mt = N.forwardRef(
583
+ gt.displayName = fe;
584
+ var bt = "AccordionHeader", ht = _.forwardRef(
585
585
  (e, t) => {
586
- const { __scopeAccordion: o, ...r } = e, n = ue(L, o), a = ze(ft, o);
587
- return /* @__PURE__ */ c(
588
- Y.h3,
586
+ const { __scopeAccordion: o, ...r } = e, n = be(L, o), a = Be(bt, o);
587
+ return /* @__PURE__ */ i(
588
+ re.h3,
589
589
  {
590
590
  "data-orientation": n.orientation,
591
- "data-state": ht(a.open),
591
+ "data-state": wt(a.open),
592
592
  "data-disabled": a.disabled ? "" : void 0,
593
593
  ...r,
594
594
  ref: t
@@ -596,29 +596,29 @@ var ft = "AccordionHeader", mt = N.forwardRef(
596
596
  );
597
597
  }
598
598
  );
599
- mt.displayName = ft;
600
- var xe = "AccordionTrigger", pt = N.forwardRef(
599
+ ht.displayName = bt;
600
+ var Ne = "AccordionTrigger", vt = _.forwardRef(
601
601
  (e, t) => {
602
- const { __scopeAccordion: o, ...r } = e, n = ue(L, o), a = ze(xe, o), s = fo(xe, o), i = Ee(o);
603
- return /* @__PURE__ */ c(Me.ItemSlot, { scope: o, children: /* @__PURE__ */ c(
604
- ro,
602
+ const { __scopeAccordion: o, ...r } = e, n = be(L, o), a = Be(Ne, o), s = yo(Ne, o), l = Oe(o);
603
+ return /* @__PURE__ */ i(Te.ItemSlot, { scope: o, children: /* @__PURE__ */ i(
604
+ mo,
605
605
  {
606
606
  "aria-disabled": a.open && !s.collapsible || void 0,
607
607
  "data-orientation": n.orientation,
608
608
  id: a.triggerId,
609
- ...i,
609
+ ...l,
610
610
  ...r,
611
611
  ref: t
612
612
  }
613
613
  ) });
614
614
  }
615
615
  );
616
- pt.displayName = xe;
617
- var gt = "AccordionContent", bt = N.forwardRef(
616
+ vt.displayName = Ne;
617
+ var xt = "AccordionContent", yt = _.forwardRef(
618
618
  (e, t) => {
619
- const { __scopeAccordion: o, ...r } = e, n = ue(L, o), a = ze(gt, o), s = Ee(o);
620
- return /* @__PURE__ */ c(
621
- no,
619
+ const { __scopeAccordion: o, ...r } = e, n = be(L, o), a = Be(xt, o), s = Oe(o);
620
+ return /* @__PURE__ */ i(
621
+ fo,
622
622
  {
623
623
  role: "region",
624
624
  "aria-labelledby": a.triggerId,
@@ -635,58 +635,58 @@ var gt = "AccordionContent", bt = N.forwardRef(
635
635
  );
636
636
  }
637
637
  );
638
- bt.displayName = gt;
639
- function ht(e) {
638
+ yt.displayName = xt;
639
+ function wt(e) {
640
640
  return e ? "open" : "closed";
641
641
  }
642
- var ho = it, vo = ut, xo = mt, yo = pt, wo = bt;
643
- function vt(e) {
642
+ var No = ut, Po = gt, Io = ht, _o = vt, Ro = yt;
643
+ function kt(e) {
644
644
  var t, o, r = "";
645
645
  if (typeof e == "string" || typeof e == "number") r += 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] && (o = vt(e[t])) && (r && (r += " "), r += o);
648
+ for (t = 0; t < n; t++) e[t] && (o = kt(e[t])) && (r && (r += " "), r += o);
649
649
  } else for (o in e) e[o] && (r && (r += " "), r += o);
650
650
  return r;
651
651
  }
652
- function ko() {
653
- for (var e, t, o = 0, r = "", n = arguments.length; o < n; o++) (e = arguments[o]) && (t = vt(e)) && (r && (r += " "), r += t);
652
+ function So() {
653
+ for (var e, t, o = 0, r = "", n = arguments.length; o < n; o++) (e = arguments[o]) && (t = kt(e)) && (r && (r += " "), r += t);
654
654
  return r;
655
655
  }
656
- const Te = "-", Co = (e) => {
657
- const t = Ro(e), {
656
+ const Le = "-", Mo = (e) => {
657
+ const t = zo(e), {
658
658
  conflictingClassGroups: o,
659
659
  conflictingClassGroupModifiers: r
660
660
  } = e;
661
661
  return {
662
662
  getClassGroupId: (s) => {
663
- const i = s.split(Te);
664
- return i[0] === "" && i.length !== 1 && i.shift(), xt(i, t) || Ao(s);
663
+ const l = s.split(Le);
664
+ return l[0] === "" && l.length !== 1 && l.shift(), Ct(l, t) || Eo(s);
665
665
  },
666
- getConflictingClassGroupIds: (s, i) => {
667
- const l = o[s] || [];
668
- return i && r[s] ? [...l, ...r[s]] : l;
666
+ getConflictingClassGroupIds: (s, l) => {
667
+ const c = o[s] || [];
668
+ return l && r[s] ? [...c, ...r[s]] : c;
669
669
  }
670
670
  };
671
- }, xt = (e, t) => {
671
+ }, Ct = (e, t) => {
672
672
  if (e.length === 0)
673
673
  return t.classGroupId;
674
- const o = e[0], r = t.nextPart.get(o), n = r ? xt(e.slice(1), r) : void 0;
674
+ const o = e[0], r = t.nextPart.get(o), n = r ? Ct(e.slice(1), r) : void 0;
675
675
  if (n)
676
676
  return n;
677
677
  if (t.validators.length === 0)
678
678
  return;
679
- const a = e.join(Te);
679
+ const a = e.join(Le);
680
680
  return t.validators.find(({
681
681
  validator: s
682
682
  }) => s(a))?.classGroupId;
683
- }, He = /^\[(.+)\]$/, Ao = (e) => {
684
- if (He.test(e)) {
685
- const t = He.exec(e)[1], o = t?.substring(0, t.indexOf(":"));
683
+ }, Ze = /^\[(.+)\]$/, Eo = (e) => {
684
+ if (Ze.test(e)) {
685
+ const t = Ze.exec(e)[1], o = t?.substring(0, t.indexOf(":"));
686
686
  if (o)
687
687
  return "arbitrary.." + o;
688
688
  }
689
- }, Ro = (e) => {
689
+ }, zo = (e) => {
690
690
  const {
691
691
  theme: t,
692
692
  classGroups: o
@@ -695,18 +695,18 @@ const Te = "-", Co = (e) => {
695
695
  validators: []
696
696
  };
697
697
  for (const n in o)
698
- ye(o[n], r, n, t);
698
+ Pe(o[n], r, n, t);
699
699
  return r;
700
- }, ye = (e, t, o, r) => {
700
+ }, Pe = (e, t, o, r) => {
701
701
  e.forEach((n) => {
702
702
  if (typeof n == "string") {
703
- const a = n === "" ? t : qe(t, n);
703
+ const a = n === "" ? t : Xe(t, n);
704
704
  a.classGroupId = o;
705
705
  return;
706
706
  }
707
707
  if (typeof n == "function") {
708
- if (Io(n)) {
709
- ye(n(r), t, o, r);
708
+ if (To(n)) {
709
+ Pe(n(r), t, o, r);
710
710
  return;
711
711
  }
712
712
  t.validators.push({
@@ -716,18 +716,18 @@ const Te = "-", Co = (e) => {
716
716
  return;
717
717
  }
718
718
  Object.entries(n).forEach(([a, s]) => {
719
- ye(s, qe(t, a), o, r);
719
+ Pe(s, Xe(t, a), o, r);
720
720
  });
721
721
  });
722
- }, qe = (e, t) => {
722
+ }, Xe = (e, t) => {
723
723
  let o = e;
724
- return t.split(Te).forEach((r) => {
724
+ return t.split(Le).forEach((r) => {
725
725
  o.nextPart.has(r) || o.nextPart.set(r, {
726
726
  nextPart: /* @__PURE__ */ new Map(),
727
727
  validators: []
728
728
  }), o = o.nextPart.get(r);
729
729
  }), o;
730
- }, Io = (e) => e.isThemeGetter, No = (e) => {
730
+ }, To = (e) => e.isThemeGetter, Oo = (e) => {
731
731
  if (e < 1)
732
732
  return {
733
733
  get: () => {
@@ -751,38 +751,38 @@ const Te = "-", Co = (e) => {
751
751
  o.has(a) ? o.set(a, s) : n(a, s);
752
752
  }
753
753
  };
754
- }, we = "!", ke = ":", _o = ke.length, So = (e) => {
754
+ }, Ie = "!", _e = ":", Bo = _e.length, Lo = (e) => {
755
755
  const {
756
756
  prefix: t,
757
757
  experimentalParseClassName: o
758
758
  } = e;
759
759
  let r = (n) => {
760
760
  const a = [];
761
- let s = 0, i = 0, l = 0, f;
762
- for (let C = 0; C < n.length; C++) {
763
- let y = n[C];
764
- if (s === 0 && i === 0) {
765
- if (y === ke) {
766
- a.push(n.slice(l, C)), l = C + _o;
761
+ let s = 0, l = 0, c = 0, m;
762
+ for (let A = 0; A < n.length; A++) {
763
+ let w = n[A];
764
+ if (s === 0 && l === 0) {
765
+ if (w === _e) {
766
+ a.push(n.slice(c, A)), c = A + Bo;
767
767
  continue;
768
768
  }
769
- if (y === "/") {
770
- f = C;
769
+ if (w === "/") {
770
+ m = A;
771
771
  continue;
772
772
  }
773
773
  }
774
- y === "[" ? s++ : y === "]" ? s-- : y === "(" ? i++ : y === ")" && i--;
774
+ w === "[" ? s++ : w === "]" ? s-- : w === "(" ? l++ : w === ")" && l--;
775
775
  }
776
- const p = a.length === 0 ? n : n.substring(l), h = Po(p), A = h !== p, w = f && f > l ? f - l : void 0;
776
+ const p = a.length === 0 ? n : n.substring(c), h = Do(p), N = h !== p, k = m && m > c ? m - c : void 0;
777
777
  return {
778
778
  modifiers: a,
779
- hasImportantModifier: A,
779
+ hasImportantModifier: N,
780
780
  baseClassName: h,
781
- maybePostfixModifierPosition: w
781
+ maybePostfixModifierPosition: k
782
782
  };
783
783
  };
784
784
  if (t) {
785
- const n = t + ke, a = r;
785
+ const n = t + _e, a = r;
786
786
  r = (s) => s.startsWith(n) ? a(s.substring(n.length)) : {
787
787
  isExternal: !0,
788
788
  modifiers: [],
@@ -799,7 +799,7 @@ const Te = "-", Co = (e) => {
799
799
  });
800
800
  }
801
801
  return r;
802
- }, Po = (e) => e.endsWith(we) ? e.substring(0, e.length - 1) : e.startsWith(we) ? e.substring(1) : e, Mo = (e) => {
802
+ }, Do = (e) => e.endsWith(Ie) ? e.substring(0, e.length - 1) : e.startsWith(Ie) ? e.substring(1) : e, $o = (e) => {
803
803
  const t = Object.fromEntries(e.orderSensitiveModifiers.map((r) => [r, !0]));
804
804
  return (r) => {
805
805
  if (r.length <= 1)
@@ -810,103 +810,103 @@ const Te = "-", Co = (e) => {
810
810
  s[0] === "[" || t[s] ? (n.push(...a.sort(), s), a = []) : a.push(s);
811
811
  }), n.push(...a.sort()), n;
812
812
  };
813
- }, Eo = (e) => ({
814
- cache: No(e.cacheSize),
815
- parseClassName: So(e),
816
- sortModifiers: Mo(e),
817
- ...Co(e)
818
- }), zo = /\s+/, To = (e, t) => {
813
+ }, Vo = (e) => ({
814
+ cache: Oo(e.cacheSize),
815
+ parseClassName: Lo(e),
816
+ sortModifiers: $o(e),
817
+ ...Mo(e)
818
+ }), Go = /\s+/, jo = (e, t) => {
819
819
  const {
820
820
  parseClassName: o,
821
821
  getClassGroupId: r,
822
822
  getConflictingClassGroupIds: n,
823
823
  sortModifiers: a
824
- } = t, s = [], i = e.trim().split(zo);
825
- let l = "";
826
- for (let f = i.length - 1; f >= 0; f -= 1) {
827
- const p = i[f], {
824
+ } = t, s = [], l = e.trim().split(Go);
825
+ let c = "";
826
+ for (let m = l.length - 1; m >= 0; m -= 1) {
827
+ const p = l[m], {
828
828
  isExternal: h,
829
- modifiers: A,
830
- hasImportantModifier: w,
831
- baseClassName: C,
832
- maybePostfixModifierPosition: y
829
+ modifiers: N,
830
+ hasImportantModifier: k,
831
+ baseClassName: A,
832
+ maybePostfixModifierPosition: w
833
833
  } = o(p);
834
834
  if (h) {
835
- l = p + (l.length > 0 ? " " + l : l);
835
+ c = p + (c.length > 0 ? " " + c : c);
836
836
  continue;
837
837
  }
838
- let k = !!y, R = r(k ? C.substring(0, y) : C);
839
- if (!R) {
840
- if (!k) {
841
- l = p + (l.length > 0 ? " " + l : l);
838
+ let C = !!w, P = r(C ? A.substring(0, w) : A);
839
+ if (!P) {
840
+ if (!C) {
841
+ c = p + (c.length > 0 ? " " + c : c);
842
842
  continue;
843
843
  }
844
- if (R = r(C), !R) {
845
- l = p + (l.length > 0 ? " " + l : l);
844
+ if (P = r(A), !P) {
845
+ c = p + (c.length > 0 ? " " + c : c);
846
846
  continue;
847
847
  }
848
- k = !1;
848
+ C = !1;
849
849
  }
850
- const x = a(A).join(":"), I = w ? x + we : x, S = I + R;
850
+ const y = a(N).join(":"), I = k ? y + Ie : y, S = I + P;
851
851
  if (s.includes(S))
852
852
  continue;
853
853
  s.push(S);
854
- const T = n(R, k);
854
+ const T = n(P, C);
855
855
  for (let E = 0; E < T.length; ++E) {
856
- const $ = T[E];
857
- s.push(I + $);
856
+ const D = T[E];
857
+ s.push(I + D);
858
858
  }
859
- l = p + (l.length > 0 ? " " + l : l);
859
+ c = p + (c.length > 0 ? " " + c : c);
860
860
  }
861
- return l;
861
+ return c;
862
862
  };
863
- function Oo() {
863
+ function Uo() {
864
864
  let e = 0, t, o, r = "";
865
865
  for (; e < arguments.length; )
866
- (t = arguments[e++]) && (o = yt(t)) && (r && (r += " "), r += o);
866
+ (t = arguments[e++]) && (o = At(t)) && (r && (r += " "), r += o);
867
867
  return r;
868
868
  }
869
- const yt = (e) => {
869
+ const At = (e) => {
870
870
  if (typeof e == "string")
871
871
  return e;
872
872
  let t, o = "";
873
873
  for (let r = 0; r < e.length; r++)
874
- e[r] && (t = yt(e[r])) && (o && (o += " "), o += t);
874
+ e[r] && (t = At(e[r])) && (o && (o += " "), o += t);
875
875
  return o;
876
876
  };
877
- function Lo(e, ...t) {
877
+ function Fo(e, ...t) {
878
878
  let o, r, n, a = s;
879
- function s(l) {
880
- const f = t.reduce((p, h) => h(p), e());
881
- return o = Eo(f), r = o.cache.get, n = o.cache.set, a = i, i(l);
879
+ function s(c) {
880
+ const m = t.reduce((p, h) => h(p), e());
881
+ return o = Vo(m), r = o.cache.get, n = o.cache.set, a = l, l(c);
882
882
  }
883
- function i(l) {
884
- const f = r(l);
885
- if (f)
886
- return f;
887
- const p = To(l, o);
888
- return n(l, p), p;
883
+ function l(c) {
884
+ const m = r(c);
885
+ if (m)
886
+ return m;
887
+ const p = jo(c, o);
888
+ return n(c, p), p;
889
889
  }
890
890
  return function() {
891
- return a(Oo.apply(null, arguments));
891
+ return a(Uo.apply(null, arguments));
892
892
  };
893
893
  }
894
- const _ = (e) => {
894
+ const R = (e) => {
895
895
  const t = (o) => o[e] || [];
896
896
  return t.isThemeGetter = !0, t;
897
- }, wt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, kt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, $o = /^\d+\/\d+$/, Go = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Vo = /\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$/, Do = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, jo = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Uo = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, H = (e) => $o.test(e), v = (e) => !!e && !Number.isNaN(Number(e)), j = (e) => !!e && Number.isInteger(Number(e)), ge = (e) => e.endsWith("%") && v(e.slice(0, -1)), D = (e) => Go.test(e), Fo = () => !0, Wo = (e) => (
897
+ }, Nt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Pt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Wo = /^\d+\/\d+$/, Ho = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, qo = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Ko = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Zo = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Xo = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, H = (e) => Wo.test(e), v = (e) => !!e && !Number.isNaN(Number(e)), j = (e) => !!e && Number.isInteger(Number(e)), ye = (e) => e.endsWith("%") && v(e.slice(0, -1)), G = (e) => Ho.test(e), Jo = () => !0, Yo = (e) => (
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
- Vo.test(e) && !Do.test(e)
902
- ), Ct = () => !1, Bo = (e) => jo.test(e), Ho = (e) => Uo.test(e), qo = (e) => !d(e) && !u(e), Ko = (e) => q(e, It, Ct), d = (e) => wt.test(e), F = (e) => q(e, Nt, Wo), be = (e) => q(e, Qo, v), Ke = (e) => q(e, At, Ct), Zo = (e) => q(e, Rt, Ho), se = (e) => q(e, _t, Bo), u = (e) => kt.test(e), Z = (e) => K(e, Nt), Xo = (e) => K(e, er), Ze = (e) => K(e, At), Jo = (e) => K(e, It), Yo = (e) => K(e, Rt), ie = (e) => K(e, _t, !0), q = (e, t, o) => {
903
- const r = wt.exec(e);
901
+ qo.test(e) && !Ko.test(e)
902
+ ), It = () => !1, Qo = (e) => Zo.test(e), er = (e) => Xo.test(e), tr = (e) => !d(e) && !u(e), or = (e) => q(e, St, It), d = (e) => Nt.test(e), F = (e) => q(e, Mt, Yo), we = (e) => q(e, ir, v), Je = (e) => q(e, _t, It), rr = (e) => q(e, Rt, er), ue = (e) => q(e, Et, Qo), u = (e) => Pt.test(e), X = (e) => K(e, Mt), nr = (e) => K(e, lr), Ye = (e) => K(e, _t), ar = (e) => K(e, St), sr = (e) => K(e, Rt), me = (e) => K(e, Et, !0), q = (e, t, o) => {
903
+ const r = Nt.exec(e);
904
904
  return r ? r[1] ? t(r[1]) : o(r[2]) : !1;
905
905
  }, K = (e, t, o = !1) => {
906
- const r = kt.exec(e);
906
+ const r = Pt.exec(e);
907
907
  return r ? r[1] ? t(r[1]) : o : !1;
908
- }, At = (e) => e === "position" || e === "percentage", Rt = (e) => e === "image" || e === "url", It = (e) => e === "length" || e === "size" || e === "bg-size", Nt = (e) => e === "length", Qo = (e) => e === "number", er = (e) => e === "family-name", _t = (e) => e === "shadow", tr = () => {
909
- const e = _("color"), t = _("font"), o = _("text"), r = _("font-weight"), n = _("tracking"), a = _("leading"), s = _("breakpoint"), i = _("container"), l = _("spacing"), f = _("radius"), p = _("shadow"), h = _("inset-shadow"), A = _("text-shadow"), w = _("drop-shadow"), C = _("blur"), y = _("perspective"), k = _("aspect"), R = _("ease"), x = _("animate"), I = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], S = () => [
908
+ }, _t = (e) => e === "position" || e === "percentage", Rt = (e) => e === "image" || e === "url", St = (e) => e === "length" || e === "size" || e === "bg-size", Mt = (e) => e === "length", ir = (e) => e === "number", lr = (e) => e === "family-name", Et = (e) => e === "shadow", cr = () => {
909
+ const e = R("color"), t = R("font"), o = R("text"), r = R("font-weight"), n = R("tracking"), a = R("leading"), s = R("breakpoint"), l = R("container"), c = R("spacing"), m = R("radius"), p = R("shadow"), h = R("inset-shadow"), N = R("text-shadow"), k = R("drop-shadow"), A = R("blur"), w = R("perspective"), C = R("aspect"), P = R("ease"), y = R("animate"), I = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], S = () => [
910
910
  "center",
911
911
  "top",
912
912
  "bottom",
@@ -924,51 +924,51 @@ const _ = (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 = () => [...S(), u, d], E = () => ["auto", "hidden", "clip", "visible", "scroll"], $ = () => ["auto", "contain", "none"], b = () => [u, d, l], G = () => [H, "full", "auto", ...b()], $e = () => [j, "none", "subgrid", u, d], Ge = () => ["auto", {
927
+ ], T = () => [...S(), u, d], E = () => ["auto", "hidden", "clip", "visible", "scroll"], D = () => ["auto", "contain", "none"], b = () => [u, d, c], $ = () => [H, "full", "auto", ...b()], Ve = () => [j, "none", "subgrid", u, d], Ge = () => ["auto", {
928
928
  span: ["full", j, u, d]
929
- }, j, u, d], ee = () => [j, "auto", u, d], Ve = () => ["auto", "min", "max", "fr", u, d], fe = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], B = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], V = () => ["auto", ...b()], U = () => [H, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...b()], g = () => [e, u, d], De = () => [...S(), Ze, Ke, {
929
+ }, j, u, d], ae = () => [j, "auto", u, d], je = () => ["auto", "min", "max", "fr", u, d], he = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], W = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], V = () => ["auto", ...b()], U = () => [H, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...b()], g = () => [e, u, d], Ue = () => [...S(), Ye, Je, {
930
930
  position: [u, d]
931
- }], je = () => ["no-repeat", {
931
+ }], Fe = () => ["no-repeat", {
932
932
  repeat: ["", "x", "y", "space", "round"]
933
- }], Ue = () => ["auto", "cover", "contain", Jo, Ko, {
933
+ }], We = () => ["auto", "cover", "contain", ar, or, {
934
934
  size: [u, d]
935
- }], me = () => [ge, Z, F], z = () => [
935
+ }], ve = () => [ye, X, F], z = () => [
936
936
  // Deprecated since Tailwind CSS v4.0.0
937
937
  "",
938
938
  "none",
939
939
  "full",
940
- f,
940
+ m,
941
941
  u,
942
942
  d
943
- ], O = () => ["", v, Z, F], te = () => ["solid", "dashed", "dotted", "double"], Fe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], P = () => [v, ge, Ze, Ke], We = () => [
943
+ ], O = () => ["", v, X, F], se = () => ["solid", "dashed", "dotted", "double"], He = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], M = () => [v, ye, Ye, Je], qe = () => [
944
944
  // Deprecated since Tailwind CSS v4.0.0
945
945
  "",
946
946
  "none",
947
- C,
947
+ A,
948
948
  u,
949
949
  d
950
- ], oe = () => ["none", v, u, d], re = () => ["none", v, u, d], pe = () => [v, u, d], ne = () => [H, "full", ...b()];
950
+ ], ie = () => ["none", v, u, d], le = () => ["none", v, u, d], xe = () => [v, u, d], ce = () => [H, "full", ...b()];
951
951
  return {
952
952
  cacheSize: 500,
953
953
  theme: {
954
954
  animate: ["spin", "ping", "pulse", "bounce"],
955
955
  aspect: ["video"],
956
- blur: [D],
957
- breakpoint: [D],
958
- color: [Fo],
959
- container: [D],
960
- "drop-shadow": [D],
956
+ blur: [G],
957
+ breakpoint: [G],
958
+ color: [Jo],
959
+ container: [G],
960
+ "drop-shadow": [G],
961
961
  ease: ["in", "out", "in-out"],
962
- font: [qo],
962
+ font: [tr],
963
963
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
964
- "inset-shadow": [D],
964
+ "inset-shadow": [G],
965
965
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
966
966
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
967
- radius: [D],
968
- shadow: [D],
967
+ radius: [G],
968
+ shadow: [G],
969
969
  spacing: ["px", v],
970
- text: [D],
971
- "text-shadow": [D],
970
+ text: [G],
971
+ "text-shadow": [G],
972
972
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
973
973
  },
974
974
  classGroups: {
@@ -980,7 +980,7 @@ const _ = (e) => {
980
980
  * @see https://tailwindcss.com/docs/aspect-ratio
981
981
  */
982
982
  aspect: [{
983
- aspect: ["auto", "square", H, d, u, k]
983
+ aspect: ["auto", "square", H, d, u, C]
984
984
  }],
985
985
  /**
986
986
  * Container
@@ -993,7 +993,7 @@ const _ = (e) => {
993
993
  * @see https://tailwindcss.com/docs/columns
994
994
  */
995
995
  columns: [{
996
- columns: [v, d, u, i]
996
+ columns: [v, d, u, l]
997
997
  }],
998
998
  /**
999
999
  * Break After
@@ -1099,21 +1099,21 @@ const _ = (e) => {
1099
1099
  * @see https://tailwindcss.com/docs/overscroll-behavior
1100
1100
  */
1101
1101
  overscroll: [{
1102
- overscroll: $()
1102
+ overscroll: D()
1103
1103
  }],
1104
1104
  /**
1105
1105
  * Overscroll Behavior X
1106
1106
  * @see https://tailwindcss.com/docs/overscroll-behavior
1107
1107
  */
1108
1108
  "overscroll-x": [{
1109
- "overscroll-x": $()
1109
+ "overscroll-x": D()
1110
1110
  }],
1111
1111
  /**
1112
1112
  * Overscroll Behavior Y
1113
1113
  * @see https://tailwindcss.com/docs/overscroll-behavior
1114
1114
  */
1115
1115
  "overscroll-y": [{
1116
- "overscroll-y": $()
1116
+ "overscroll-y": D()
1117
1117
  }],
1118
1118
  /**
1119
1119
  * Position
@@ -1125,63 +1125,63 @@ const _ = (e) => {
1125
1125
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1126
1126
  */
1127
1127
  inset: [{
1128
- inset: G()
1128
+ inset: $()
1129
1129
  }],
1130
1130
  /**
1131
1131
  * Right / Left
1132
1132
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1133
1133
  */
1134
1134
  "inset-x": [{
1135
- "inset-x": G()
1135
+ "inset-x": $()
1136
1136
  }],
1137
1137
  /**
1138
1138
  * Top / Bottom
1139
1139
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1140
1140
  */
1141
1141
  "inset-y": [{
1142
- "inset-y": G()
1142
+ "inset-y": $()
1143
1143
  }],
1144
1144
  /**
1145
1145
  * Start
1146
1146
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1147
1147
  */
1148
1148
  start: [{
1149
- start: G()
1149
+ start: $()
1150
1150
  }],
1151
1151
  /**
1152
1152
  * End
1153
1153
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1154
1154
  */
1155
1155
  end: [{
1156
- end: G()
1156
+ end: $()
1157
1157
  }],
1158
1158
  /**
1159
1159
  * Top
1160
1160
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1161
1161
  */
1162
1162
  top: [{
1163
- top: G()
1163
+ top: $()
1164
1164
  }],
1165
1165
  /**
1166
1166
  * Right
1167
1167
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1168
1168
  */
1169
1169
  right: [{
1170
- right: G()
1170
+ right: $()
1171
1171
  }],
1172
1172
  /**
1173
1173
  * Bottom
1174
1174
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1175
1175
  */
1176
1176
  bottom: [{
1177
- bottom: G()
1177
+ bottom: $()
1178
1178
  }],
1179
1179
  /**
1180
1180
  * Left
1181
1181
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1182
1182
  */
1183
1183
  left: [{
1184
- left: G()
1184
+ left: $()
1185
1185
  }],
1186
1186
  /**
1187
1187
  * Visibility
@@ -1203,7 +1203,7 @@ const _ = (e) => {
1203
1203
  * @see https://tailwindcss.com/docs/flex-basis
1204
1204
  */
1205
1205
  basis: [{
1206
- basis: [H, "full", "auto", i, ...b()]
1206
+ basis: [H, "full", "auto", l, ...b()]
1207
1207
  }],
1208
1208
  /**
1209
1209
  * Flex Direction
@@ -1252,7 +1252,7 @@ const _ = (e) => {
1252
1252
  * @see https://tailwindcss.com/docs/grid-template-columns
1253
1253
  */
1254
1254
  "grid-cols": [{
1255
- "grid-cols": $e()
1255
+ "grid-cols": Ve()
1256
1256
  }],
1257
1257
  /**
1258
1258
  * Grid Column Start / End
@@ -1266,21 +1266,21 @@ const _ = (e) => {
1266
1266
  * @see https://tailwindcss.com/docs/grid-column
1267
1267
  */
1268
1268
  "col-start": [{
1269
- "col-start": ee()
1269
+ "col-start": ae()
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": ee()
1276
+ "col-end": ae()
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": $e()
1283
+ "grid-rows": Ve()
1284
1284
  }],
1285
1285
  /**
1286
1286
  * Grid Row Start / End
@@ -1294,14 +1294,14 @@ const _ = (e) => {
1294
1294
  * @see https://tailwindcss.com/docs/grid-row
1295
1295
  */
1296
1296
  "row-start": [{
1297
- "row-start": ee()
1297
+ "row-start": ae()
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": ee()
1304
+ "row-end": ae()
1305
1305
  }],
1306
1306
  /**
1307
1307
  * Grid Auto Flow
@@ -1315,14 +1315,14 @@ const _ = (e) => {
1315
1315
  * @see https://tailwindcss.com/docs/grid-auto-columns
1316
1316
  */
1317
1317
  "auto-cols": [{
1318
- "auto-cols": Ve()
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": Ve()
1325
+ "auto-rows": je()
1326
1326
  }],
1327
1327
  /**
1328
1328
  * Gap
@@ -1350,35 +1350,35 @@ const _ = (e) => {
1350
1350
  * @see https://tailwindcss.com/docs/justify-content
1351
1351
  */
1352
1352
  "justify-content": [{
1353
- justify: [...fe(), "normal"]
1353
+ justify: [...he(), "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": [...B(), "normal"]
1360
+ "justify-items": [...W(), "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", ...B()]
1367
+ "justify-self": ["auto", ...W()]
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", ...fe()]
1374
+ content: ["normal", ...he()]
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: [...B(), {
1381
+ items: [...W(), {
1382
1382
  baseline: ["", "last"]
1383
1383
  }]
1384
1384
  }],
@@ -1387,7 +1387,7 @@ const _ = (e) => {
1387
1387
  * @see https://tailwindcss.com/docs/align-self
1388
1388
  */
1389
1389
  "align-self": [{
1390
- self: ["auto", ...B(), {
1390
+ self: ["auto", ...W(), {
1391
1391
  baseline: ["", "last"]
1392
1392
  }]
1393
1393
  }],
@@ -1396,21 +1396,21 @@ const _ = (e) => {
1396
1396
  * @see https://tailwindcss.com/docs/place-content
1397
1397
  */
1398
1398
  "place-content": [{
1399
- "place-content": fe()
1399
+ "place-content": he()
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": [...B(), "baseline"]
1406
+ "place-items": [...W(), "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", ...B()]
1413
+ "place-self": ["auto", ...W()]
1414
1414
  }],
1415
1415
  // Spacing
1416
1416
  /**
@@ -1578,7 +1578,7 @@ const _ = (e) => {
1578
1578
  * @see https://tailwindcss.com/docs/width
1579
1579
  */
1580
1580
  w: [{
1581
- w: [i, "screen", ...U()]
1581
+ w: [l, "screen", ...U()]
1582
1582
  }],
1583
1583
  /**
1584
1584
  * Min-Width
@@ -1586,7 +1586,7 @@ const _ = (e) => {
1586
1586
  */
1587
1587
  "min-w": [{
1588
1588
  "min-w": [
1589
- i,
1589
+ l,
1590
1590
  "screen",
1591
1591
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1592
1592
  "none",
@@ -1599,7 +1599,7 @@ const _ = (e) => {
1599
1599
  */
1600
1600
  "max-w": [{
1601
1601
  "max-w": [
1602
- i,
1602
+ l,
1603
1603
  "screen",
1604
1604
  "none",
1605
1605
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
@@ -1640,7 +1640,7 @@ const _ = (e) => {
1640
1640
  * @see https://tailwindcss.com/docs/font-size
1641
1641
  */
1642
1642
  "font-size": [{
1643
- text: ["base", o, Z, F]
1643
+ text: ["base", o, X, F]
1644
1644
  }],
1645
1645
  /**
1646
1646
  * Font Smoothing
@@ -1657,21 +1657,21 @@ const _ = (e) => {
1657
1657
  * @see https://tailwindcss.com/docs/font-weight
1658
1658
  */
1659
1659
  "font-weight": [{
1660
- font: [r, u, be]
1660
+ font: [r, u, we]
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", ge, d]
1667
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ye, d]
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: [Xo, d, t]
1674
+ font: [nr, d, t]
1675
1675
  }],
1676
1676
  /**
1677
1677
  * Font Variant Numeric
@@ -1715,7 +1715,7 @@ const _ = (e) => {
1715
1715
  * @see https://tailwindcss.com/docs/line-clamp
1716
1716
  */
1717
1717
  "line-clamp": [{
1718
- "line-clamp": [v, "none", u, be]
1718
+ "line-clamp": [v, "none", u, we]
1719
1719
  }],
1720
1720
  /**
1721
1721
  * Line Height
@@ -1781,7 +1781,7 @@ const _ = (e) => {
1781
1781
  * @see https://tailwindcss.com/docs/text-decoration-style
1782
1782
  */
1783
1783
  "text-decoration-style": [{
1784
- decoration: [...te(), "wavy"]
1784
+ decoration: [...se(), "wavy"]
1785
1785
  }],
1786
1786
  /**
1787
1787
  * Text Decoration Thickness
@@ -1899,21 +1899,21 @@ const _ = (e) => {
1899
1899
  * @see https://tailwindcss.com/docs/background-position
1900
1900
  */
1901
1901
  "bg-position": [{
1902
- bg: De()
1902
+ bg: Ue()
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: je()
1909
+ bg: Fe()
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: Ue()
1916
+ bg: We()
1917
1917
  }],
1918
1918
  /**
1919
1919
  * Background Image
@@ -1926,7 +1926,7 @@ const _ = (e) => {
1926
1926
  }, j, u, d],
1927
1927
  radial: ["", u, d],
1928
1928
  conic: [j, u, d]
1929
- }, Yo, Zo]
1929
+ }, sr, rr]
1930
1930
  }],
1931
1931
  /**
1932
1932
  * Background Color
@@ -1940,21 +1940,21 @@ const _ = (e) => {
1940
1940
  * @see https://tailwindcss.com/docs/gradient-color-stops
1941
1941
  */
1942
1942
  "gradient-from-pos": [{
1943
- from: me()
1943
+ from: ve()
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: me()
1950
+ via: ve()
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: me()
1957
+ to: ve()
1958
1958
  }],
1959
1959
  /**
1960
1960
  * Gradient Color Stops From
@@ -2177,14 +2177,14 @@ const _ = (e) => {
2177
2177
  * @see https://tailwindcss.com/docs/border-style
2178
2178
  */
2179
2179
  "border-style": [{
2180
- border: [...te(), "hidden", "none"]
2180
+ border: [...se(), "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: [...te(), "hidden", "none"]
2187
+ divide: [...se(), "hidden", "none"]
2188
2188
  }],
2189
2189
  /**
2190
2190
  * Border Color
@@ -2261,7 +2261,7 @@ const _ = (e) => {
2261
2261
  * @see https://tailwindcss.com/docs/outline-style
2262
2262
  */
2263
2263
  "outline-style": [{
2264
- outline: [...te(), "none", "hidden"]
2264
+ outline: [...se(), "none", "hidden"]
2265
2265
  }],
2266
2266
  /**
2267
2267
  * Outline Offset
@@ -2275,7 +2275,7 @@ const _ = (e) => {
2275
2275
  * @see https://tailwindcss.com/docs/outline-width
2276
2276
  */
2277
2277
  "outline-w": [{
2278
- outline: ["", v, Z, F]
2278
+ outline: ["", v, X, F]
2279
2279
  }],
2280
2280
  /**
2281
2281
  * Outline Color
@@ -2297,8 +2297,8 @@ const _ = (e) => {
2297
2297
  "",
2298
2298
  "none",
2299
2299
  p,
2300
- ie,
2301
- se
2300
+ me,
2301
+ ue
2302
2302
  ]
2303
2303
  }],
2304
2304
  /**
@@ -2313,7 +2313,7 @@ const _ = (e) => {
2313
2313
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
2314
2314
  */
2315
2315
  "inset-shadow": [{
2316
- "inset-shadow": ["none", h, ie, se]
2316
+ "inset-shadow": ["none", h, me, ue]
2317
2317
  }],
2318
2318
  /**
2319
2319
  * Inset Box Shadow Color
@@ -2380,7 +2380,7 @@ const _ = (e) => {
2380
2380
  * @see https://tailwindcss.com/docs/text-shadow
2381
2381
  */
2382
2382
  "text-shadow": [{
2383
- "text-shadow": ["none", A, ie, se]
2383
+ "text-shadow": ["none", N, me, ue]
2384
2384
  }],
2385
2385
  /**
2386
2386
  * Text Shadow Color
@@ -2401,14 +2401,14 @@ const _ = (e) => {
2401
2401
  * @see https://tailwindcss.com/docs/mix-blend-mode
2402
2402
  */
2403
2403
  "mix-blend": [{
2404
- "mix-blend": [...Fe(), "plus-darker", "plus-lighter"]
2404
+ "mix-blend": [...He(), "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": Fe()
2411
+ "bg-blend": He()
2412
2412
  }],
2413
2413
  /**
2414
2414
  * Mask Clip
@@ -2432,10 +2432,10 @@ const _ = (e) => {
2432
2432
  "mask-linear": [v]
2433
2433
  }],
2434
2434
  "mask-image-linear-from-pos": [{
2435
- "mask-linear-from": P()
2435
+ "mask-linear-from": M()
2436
2436
  }],
2437
2437
  "mask-image-linear-to-pos": [{
2438
- "mask-linear-to": P()
2438
+ "mask-linear-to": M()
2439
2439
  }],
2440
2440
  "mask-image-linear-from-color": [{
2441
2441
  "mask-linear-from": g()
@@ -2444,10 +2444,10 @@ const _ = (e) => {
2444
2444
  "mask-linear-to": g()
2445
2445
  }],
2446
2446
  "mask-image-t-from-pos": [{
2447
- "mask-t-from": P()
2447
+ "mask-t-from": M()
2448
2448
  }],
2449
2449
  "mask-image-t-to-pos": [{
2450
- "mask-t-to": P()
2450
+ "mask-t-to": M()
2451
2451
  }],
2452
2452
  "mask-image-t-from-color": [{
2453
2453
  "mask-t-from": g()
@@ -2456,10 +2456,10 @@ const _ = (e) => {
2456
2456
  "mask-t-to": g()
2457
2457
  }],
2458
2458
  "mask-image-r-from-pos": [{
2459
- "mask-r-from": P()
2459
+ "mask-r-from": M()
2460
2460
  }],
2461
2461
  "mask-image-r-to-pos": [{
2462
- "mask-r-to": P()
2462
+ "mask-r-to": M()
2463
2463
  }],
2464
2464
  "mask-image-r-from-color": [{
2465
2465
  "mask-r-from": g()
@@ -2468,10 +2468,10 @@ const _ = (e) => {
2468
2468
  "mask-r-to": g()
2469
2469
  }],
2470
2470
  "mask-image-b-from-pos": [{
2471
- "mask-b-from": P()
2471
+ "mask-b-from": M()
2472
2472
  }],
2473
2473
  "mask-image-b-to-pos": [{
2474
- "mask-b-to": P()
2474
+ "mask-b-to": M()
2475
2475
  }],
2476
2476
  "mask-image-b-from-color": [{
2477
2477
  "mask-b-from": g()
@@ -2480,10 +2480,10 @@ const _ = (e) => {
2480
2480
  "mask-b-to": g()
2481
2481
  }],
2482
2482
  "mask-image-l-from-pos": [{
2483
- "mask-l-from": P()
2483
+ "mask-l-from": M()
2484
2484
  }],
2485
2485
  "mask-image-l-to-pos": [{
2486
- "mask-l-to": P()
2486
+ "mask-l-to": M()
2487
2487
  }],
2488
2488
  "mask-image-l-from-color": [{
2489
2489
  "mask-l-from": g()
@@ -2492,10 +2492,10 @@ const _ = (e) => {
2492
2492
  "mask-l-to": g()
2493
2493
  }],
2494
2494
  "mask-image-x-from-pos": [{
2495
- "mask-x-from": P()
2495
+ "mask-x-from": M()
2496
2496
  }],
2497
2497
  "mask-image-x-to-pos": [{
2498
- "mask-x-to": P()
2498
+ "mask-x-to": M()
2499
2499
  }],
2500
2500
  "mask-image-x-from-color": [{
2501
2501
  "mask-x-from": g()
@@ -2504,10 +2504,10 @@ const _ = (e) => {
2504
2504
  "mask-x-to": g()
2505
2505
  }],
2506
2506
  "mask-image-y-from-pos": [{
2507
- "mask-y-from": P()
2507
+ "mask-y-from": M()
2508
2508
  }],
2509
2509
  "mask-image-y-to-pos": [{
2510
- "mask-y-to": P()
2510
+ "mask-y-to": M()
2511
2511
  }],
2512
2512
  "mask-image-y-from-color": [{
2513
2513
  "mask-y-from": g()
@@ -2519,10 +2519,10 @@ const _ = (e) => {
2519
2519
  "mask-radial": [u, d]
2520
2520
  }],
2521
2521
  "mask-image-radial-from-pos": [{
2522
- "mask-radial-from": P()
2522
+ "mask-radial-from": M()
2523
2523
  }],
2524
2524
  "mask-image-radial-to-pos": [{
2525
- "mask-radial-to": P()
2525
+ "mask-radial-to": M()
2526
2526
  }],
2527
2527
  "mask-image-radial-from-color": [{
2528
2528
  "mask-radial-from": g()
@@ -2546,10 +2546,10 @@ const _ = (e) => {
2546
2546
  "mask-conic": [v]
2547
2547
  }],
2548
2548
  "mask-image-conic-from-pos": [{
2549
- "mask-conic-from": P()
2549
+ "mask-conic-from": M()
2550
2550
  }],
2551
2551
  "mask-image-conic-to-pos": [{
2552
- "mask-conic-to": P()
2552
+ "mask-conic-to": M()
2553
2553
  }],
2554
2554
  "mask-image-conic-from-color": [{
2555
2555
  "mask-conic-from": g()
@@ -2576,21 +2576,21 @@ const _ = (e) => {
2576
2576
  * @see https://tailwindcss.com/docs/mask-position
2577
2577
  */
2578
2578
  "mask-position": [{
2579
- mask: De()
2579
+ mask: Ue()
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: je()
2586
+ mask: Fe()
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: Ue()
2593
+ mask: We()
2594
2594
  }],
2595
2595
  /**
2596
2596
  * Mask Type
@@ -2627,7 +2627,7 @@ const _ = (e) => {
2627
2627
  * @see https://tailwindcss.com/docs/blur
2628
2628
  */
2629
2629
  blur: [{
2630
- blur: We()
2630
+ blur: qe()
2631
2631
  }],
2632
2632
  /**
2633
2633
  * Brightness
@@ -2652,9 +2652,9 @@ const _ = (e) => {
2652
2652
  // Deprecated since Tailwind CSS v4.0.0
2653
2653
  "",
2654
2654
  "none",
2655
- w,
2656
- ie,
2657
- se
2655
+ k,
2656
+ me,
2657
+ ue
2658
2658
  ]
2659
2659
  }],
2660
2660
  /**
@@ -2717,7 +2717,7 @@ const _ = (e) => {
2717
2717
  * @see https://tailwindcss.com/docs/backdrop-blur
2718
2718
  */
2719
2719
  "backdrop-blur": [{
2720
- "backdrop-blur": We()
2720
+ "backdrop-blur": qe()
2721
2721
  }],
2722
2722
  /**
2723
2723
  * Backdrop Brightness
@@ -2849,7 +2849,7 @@ const _ = (e) => {
2849
2849
  * @see https://tailwindcss.com/docs/transition-timing-function
2850
2850
  */
2851
2851
  ease: [{
2852
- ease: ["linear", "initial", R, u, d]
2852
+ ease: ["linear", "initial", P, u, d]
2853
2853
  }],
2854
2854
  /**
2855
2855
  * Transition Delay
@@ -2863,7 +2863,7 @@ const _ = (e) => {
2863
2863
  * @see https://tailwindcss.com/docs/animation
2864
2864
  */
2865
2865
  animate: [{
2866
- animate: ["none", x, u, d]
2866
+ animate: ["none", y, u, d]
2867
2867
  }],
2868
2868
  // ------------------
2869
2869
  // --- Transforms ---
@@ -2880,7 +2880,7 @@ const _ = (e) => {
2880
2880
  * @see https://tailwindcss.com/docs/perspective
2881
2881
  */
2882
2882
  perspective: [{
2883
- perspective: [y, u, d]
2883
+ perspective: [w, u, d]
2884
2884
  }],
2885
2885
  /**
2886
2886
  * Perspective Origin
@@ -2894,56 +2894,56 @@ const _ = (e) => {
2894
2894
  * @see https://tailwindcss.com/docs/rotate
2895
2895
  */
2896
2896
  rotate: [{
2897
- rotate: oe()
2897
+ rotate: ie()
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": oe()
2904
+ "rotate-x": ie()
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": oe()
2911
+ "rotate-y": ie()
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": oe()
2918
+ "rotate-z": ie()
2919
2919
  }],
2920
2920
  /**
2921
2921
  * Scale
2922
2922
  * @see https://tailwindcss.com/docs/scale
2923
2923
  */
2924
2924
  scale: [{
2925
- scale: re()
2925
+ scale: le()
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": re()
2932
+ "scale-x": le()
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": re()
2939
+ "scale-y": le()
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": re()
2946
+ "scale-z": le()
2947
2947
  }],
2948
2948
  /**
2949
2949
  * Scale 3D
@@ -2955,21 +2955,21 @@ const _ = (e) => {
2955
2955
  * @see https://tailwindcss.com/docs/skew
2956
2956
  */
2957
2957
  skew: [{
2958
- skew: pe()
2958
+ skew: xe()
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": pe()
2965
+ "skew-x": xe()
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": pe()
2972
+ "skew-y": xe()
2973
2973
  }],
2974
2974
  /**
2975
2975
  * Transform
@@ -2997,28 +2997,28 @@ const _ = (e) => {
2997
2997
  * @see https://tailwindcss.com/docs/translate
2998
2998
  */
2999
2999
  translate: [{
3000
- translate: ne()
3000
+ translate: ce()
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": ne()
3007
+ "translate-x": ce()
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": ne()
3014
+ "translate-y": ce()
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": ne()
3021
+ "translate-z": ce()
3022
3022
  }],
3023
3023
  /**
3024
3024
  * Translate None
@@ -3300,7 +3300,7 @@ const _ = (e) => {
3300
3300
  * @see https://tailwindcss.com/docs/stroke-width
3301
3301
  */
3302
3302
  "stroke-w": [{
3303
- stroke: [v, Z, F, be]
3303
+ stroke: [v, X, F, we]
3304
3304
  }],
3305
3305
  /**
3306
3306
  * Stroke
@@ -3375,16 +3375,16 @@ const _ = (e) => {
3375
3375
  },
3376
3376
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3377
3377
  };
3378
- }, or = /* @__PURE__ */ Lo(tr);
3379
- function M(...e) {
3380
- return or(ko(e));
3381
- }
3382
- function rr({ children: e, className: t, ...o }) {
3383
- const { colorScheme: r } = Oe(), { value: n } = Le();
3384
- return /* @__PURE__ */ c(
3385
- vo,
3378
+ }, dr = /* @__PURE__ */ Fo(cr);
3379
+ function x(...e) {
3380
+ return dr(So(e));
3381
+ }
3382
+ function ur({ children: e, className: t, ...o }) {
3383
+ const { colorScheme: r } = De(), { value: n } = $e();
3384
+ return /* @__PURE__ */ i(
3385
+ Po,
3386
3386
  {
3387
- className: M(
3387
+ className: x(
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",
3389
3389
  {
3390
3390
  light: "ring-offset-[var(--acordion-light-offset,hsl(var(--background)))]",
@@ -3399,26 +3399,26 @@ function rr({ children: e, className: t, ...o }) {
3399
3399
  }
3400
3400
  );
3401
3401
  }
3402
- function nr({ className: e, ...t }) {
3403
- return /* @__PURE__ */ c(ho, { className: M(e), ...t, "data-slot": "accordion-root" });
3402
+ function mr({ className: e, ...t }) {
3403
+ return /* @__PURE__ */ i(No, { className: x(e), ...t, "data-slot": "accordion-root" });
3404
3404
  }
3405
- function ar({ className: e, ...t }) {
3406
- const { colorScheme: o } = Oe(), { content: r } = Le(), [n, a] = Ot(!1);
3407
- return Lt(() => {
3405
+ function fr({ className: e, ...t }) {
3406
+ const { colorScheme: o } = De(), { content: r } = $e(), [n, a] = ke(!1);
3407
+ return et(() => {
3408
3408
  a(!0);
3409
- }, []), /* @__PURE__ */ c(
3410
- wo,
3409
+ }, []), /* @__PURE__ */ i(
3410
+ Ro,
3411
3411
  {
3412
- className: M(
3412
+ className: x(
3413
3413
  "overflow-hidden",
3414
3414
  // We need to delay the animation until the component is mounted to avoid the animation from being triggered when the component is first rendered.
3415
3415
  n && "data-[state=closed]:animate-collapse data-[state=open]:animate-expand"
3416
3416
  ),
3417
3417
  ...t,
3418
- children: /* @__PURE__ */ c(
3418
+ children: /* @__PURE__ */ i(
3419
3419
  "div",
3420
3420
  {
3421
- className: M(
3421
+ className: x(
3422
3422
  "py-3 text-base font-light leading-normal [font-family:var(--accordion-content-font-family,var(--font-family-body))]",
3423
3423
  {
3424
3424
  light: "text-[var(--accordion-light-content-text,hsl(var(--foreground)))]",
@@ -3433,35 +3433,35 @@ function ar({ className: e, ...t }) {
3433
3433
  }
3434
3434
  );
3435
3435
  }
3436
- const St = Ce(void 0);
3437
- function sr({
3436
+ const zt = ee(void 0);
3437
+ function pr({
3438
3438
  children: e,
3439
3439
  colorScheme: t = "light",
3440
3440
  items: o
3441
3441
  }) {
3442
- const r = Ae(
3442
+ const r = te(
3443
3443
  () => ({
3444
3444
  colorScheme: t,
3445
3445
  items: o
3446
3446
  }),
3447
3447
  [t, o]
3448
3448
  );
3449
- return /* @__PURE__ */ c(St.Provider, { value: r, children: e });
3449
+ return /* @__PURE__ */ i(zt.Provider, { value: r, children: e });
3450
3450
  }
3451
- function Oe() {
3452
- const e = Re(St);
3451
+ function De() {
3452
+ const e = oe(zt);
3453
3453
  if (e === void 0)
3454
3454
  throw new Error("useAccordion must be used within an AccordionProvider");
3455
3455
  return e;
3456
3456
  }
3457
- const Pt = Ce(void 0);
3458
- function ir({
3457
+ const Tt = ee(void 0);
3458
+ function gr({
3459
3459
  children: e,
3460
3460
  title: t,
3461
3461
  content: o,
3462
3462
  value: r
3463
3463
  }) {
3464
- const n = Ae(
3464
+ const n = te(
3465
3465
  () => ({
3466
3466
  title: t,
3467
3467
  content: o,
@@ -3469,30 +3469,30 @@ function ir({
3469
3469
  }),
3470
3470
  [t, o, r]
3471
3471
  );
3472
- return /* @__PURE__ */ c(Pt.Provider, { value: n, children: e });
3472
+ return /* @__PURE__ */ i(Tt.Provider, { value: n, children: e });
3473
3473
  }
3474
- function Le() {
3475
- const e = Re(Pt);
3474
+ function $e() {
3475
+ const e = oe(Tt);
3476
3476
  if (e === void 0)
3477
3477
  throw new Error("useAccordionItem must be used within an AccordionItemProvider");
3478
3478
  return e;
3479
3479
  }
3480
- function lr({ className: e, ...t }) {
3481
- const { colorScheme: o } = Oe(), { title: r } = Le();
3482
- return /* @__PURE__ */ c(xo, { children: /* @__PURE__ */ W(
3483
- yo,
3480
+ function br({ className: e, ...t }) {
3481
+ const { colorScheme: o } = De(), { title: r } = $e();
3482
+ return /* @__PURE__ */ i(Io, { children: /* @__PURE__ */ B(
3483
+ _o,
3484
3484
  {
3485
- className: M(
3485
+ className: x(
3486
3486
  "group flex w-full cursor-pointer items-start gap-8 border-none py-3 text-start focus:outline-none @md:py-4",
3487
3487
  e
3488
3488
  ),
3489
3489
  "data-slot": "accordion-trigger",
3490
3490
  ...t,
3491
3491
  children: [
3492
- /* @__PURE__ */ c(
3492
+ /* @__PURE__ */ i(
3493
3493
  "div",
3494
3494
  {
3495
- className: M(
3495
+ className: x(
3496
3496
  "flex-1 select-none text-sm font-normal uppercase transition-colors duration-300 ease-out [font-family:var(--accordion-title-font-family,var(--font-family-mono))]",
3497
3497
  {
3498
3498
  light: "text-[var(--accordion-light-title-text,hsl(var(--contrast-400)))] group-hover:text-[var(--accordion-light-title-text-hover,hsl(var(--foreground)))]",
@@ -3502,10 +3502,10 @@ function lr({ className: e, ...t }) {
3502
3502
  children: r
3503
3503
  }
3504
3504
  ),
3505
- /* @__PURE__ */ W(
3505
+ /* @__PURE__ */ B(
3506
3506
  "svg",
3507
3507
  {
3508
- className: M(
3508
+ className: x(
3509
3509
  "mt-1 shrink-0 [&>line]:origin-center [&>line]:transition [&>line]:duration-300 [&>line]:ease-out",
3510
3510
  {
3511
3511
  light: "stroke-[var(--accordion-light-title-icon,hsl(var(--contrast-500)))] group-hover:stroke-[var(--accordion-light-title-icon-hover,hsl(var(--foreground)))]",
@@ -3516,7 +3516,7 @@ function lr({ className: e, ...t }) {
3516
3516
  viewBox: "0 0 10 10",
3517
3517
  width: 16,
3518
3518
  children: [
3519
- /* @__PURE__ */ c(
3519
+ /* @__PURE__ */ i(
3520
3520
  "line",
3521
3521
  {
3522
3522
  className: "group-data-[state=open]:-translate-y-[3px] group-data-[state=open]:-rotate-90",
@@ -3527,7 +3527,7 @@ function lr({ className: e, ...t }) {
3527
3527
  y2: 5
3528
3528
  }
3529
3529
  ),
3530
- /* @__PURE__ */ c(
3530
+ /* @__PURE__ */ i(
3531
3531
  "line",
3532
3532
  {
3533
3533
  className: "group-data-[state=open]:-translate-y-[3px] group-data-[state=open]:rotate-90",
@@ -3545,34 +3545,34 @@ function lr({ className: e, ...t }) {
3545
3545
  }
3546
3546
  ) });
3547
3547
  }
3548
- function Pr({ className: e, variant: t, message: o, description: r, action: n, dismiss: a }) {
3549
- return /* @__PURE__ */ c(
3550
- dr,
3548
+ function Yr({ className: e, variant: t, message: o, description: r, action: n, dismiss: a }) {
3549
+ return /* @__PURE__ */ i(
3550
+ vr,
3551
3551
  {
3552
3552
  action: n,
3553
3553
  description: r,
3554
3554
  dismiss: a,
3555
3555
  message: o,
3556
3556
  variant: t,
3557
- children: /* @__PURE__ */ W(cr, { className: e, children: [
3558
- /* @__PURE__ */ W(ur, { children: [
3559
- /* @__PURE__ */ c(fr, {}),
3560
- /* @__PURE__ */ c(mr, {})
3557
+ children: /* @__PURE__ */ B(hr, { className: e, children: [
3558
+ /* @__PURE__ */ B(xr, { children: [
3559
+ /* @__PURE__ */ i(yr, {}),
3560
+ /* @__PURE__ */ i(wr, {})
3561
3561
  ] }),
3562
- /* @__PURE__ */ W(pr, { children: [
3563
- /* @__PURE__ */ c(Ar, {}),
3564
- /* @__PURE__ */ c(Rr, {})
3562
+ /* @__PURE__ */ B(kr, { children: [
3563
+ /* @__PURE__ */ i(Mr, {}),
3564
+ /* @__PURE__ */ i(Er, {})
3565
3565
  ] })
3566
3566
  ] })
3567
3567
  }
3568
3568
  );
3569
3569
  }
3570
- function cr({ className: e, children: t, ...o }) {
3571
- const { variant: r } = Q();
3572
- return /* @__PURE__ */ c(
3570
+ function hr({ className: e, children: t, ...o }) {
3571
+ const { variant: r } = ne();
3572
+ return /* @__PURE__ */ i(
3573
3573
  "div",
3574
3574
  {
3575
- className: M(
3575
+ className: x(
3576
3576
  "flex max-w-[356px] items-center justify-between gap-2 rounded-xl border border-[var(--alert-border,color-mix(in_oklab,hsl(var(--foreground))_10%,transparent))] py-3 pe-3 ps-4 shadow",
3577
3577
  {
3578
3578
  success: "bg-[var(--alert-success-background,color-mix(in_oklab,hsl(var(--success)),white_75%))]",
@@ -3589,8 +3589,8 @@ function cr({ className: e, children: t, ...o }) {
3589
3589
  }
3590
3590
  );
3591
3591
  }
3592
- const Mt = Ce(void 0);
3593
- function dr({
3592
+ const Ot = ee(void 0);
3593
+ function vr({
3594
3594
  children: e,
3595
3595
  message: t,
3596
3596
  description: o,
@@ -3598,7 +3598,7 @@ function dr({
3598
3598
  dismiss: n,
3599
3599
  variant: a
3600
3600
  }) {
3601
- const s = Ae(
3601
+ const s = te(
3602
3602
  () => ({
3603
3603
  message: t,
3604
3604
  description: o,
@@ -3608,31 +3608,31 @@ function dr({
3608
3608
  }),
3609
3609
  [t, o, r, n, a]
3610
3610
  );
3611
- return /* @__PURE__ */ c(Mt.Provider, { value: s, children: e });
3611
+ return /* @__PURE__ */ i(Ot.Provider, { value: s, children: e });
3612
3612
  }
3613
- function Q() {
3614
- const e = Re(Mt);
3613
+ function ne() {
3614
+ const e = oe(Ot);
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 ur({ children: e, className: t, ...o }) {
3620
- return /* @__PURE__ */ c(
3619
+ function xr({ children: e, className: t, ...o }) {
3620
+ return /* @__PURE__ */ i(
3621
3621
  "div",
3622
3622
  {
3623
- className: M("[font-family:var(--alert-font-family,var(--font-family-body))]", t),
3623
+ className: x("[font-family:var(--alert-font-family,var(--font-family-body))]", t),
3624
3624
  "data-slot": "alert-header",
3625
3625
  ...o,
3626
3626
  children: e
3627
3627
  }
3628
3628
  );
3629
3629
  }
3630
- function fr({ children: e, className: t, ...o }) {
3631
- const { message: r } = Q();
3632
- return /* @__PURE__ */ c(
3630
+ function yr({ children: e, className: t, ...o }) {
3631
+ const { message: r } = ne();
3632
+ return /* @__PURE__ */ i(
3633
3633
  "h5",
3634
3634
  {
3635
- className: M(
3635
+ className: x(
3636
3636
  "text-sm font-normal text-[var(--alert-message-text,hsl(var(--foreground)))]",
3637
3637
  t
3638
3638
  ),
@@ -3642,12 +3642,12 @@ function fr({ children: e, className: t, ...o }) {
3642
3642
  }
3643
3643
  );
3644
3644
  }
3645
- function mr({ className: e, ...t }) {
3646
- const { description: o } = Q();
3647
- return /* @__PURE__ */ c(
3645
+ function wr({ className: e, ...t }) {
3646
+ const { description: o } = ne();
3647
+ return /* @__PURE__ */ i(
3648
3648
  "p",
3649
3649
  {
3650
- className: M(
3650
+ className: x(
3651
3651
  "text-xs font-medium text-[color:var(--alert-description-text,color-mix(in_oklab,hsl(var(--foreground))_50%,transparent))]",
3652
3652
  e
3653
3653
  ),
@@ -3657,8 +3657,8 @@ function mr({ className: e, ...t }) {
3657
3657
  }
3658
3658
  );
3659
3659
  }
3660
- function pr({ children: e, className: t, ...o }) {
3661
- return /* @__PURE__ */ c("div", { className: M("flex items-center gap-1", t), "data-slot": "alert-actions", ...o, children: e });
3660
+ function kr({ children: e, className: t, ...o }) {
3661
+ return /* @__PURE__ */ i("div", { className: x("flex items-center gap-1", t), "data-slot": "alert-actions", ...o, children: e });
3662
3662
  }
3663
3663
  /**
3664
3664
  * @license lucide-react v0.545.0 - ISC
@@ -3666,13 +3666,13 @@ function pr({ children: e, className: t, ...o }) {
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 gr = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), br = (e) => e.replace(
3669
+ const Cr = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Ar = (e) => e.replace(
3670
3670
  /^([A-Z])|[\s-_]+(\w)/g,
3671
3671
  (t, o, r) => r ? r.toUpperCase() : o.toLowerCase()
3672
- ), Xe = (e) => {
3673
- const t = br(e);
3672
+ ), Qe = (e) => {
3673
+ const t = Ar(e);
3674
3674
  return t.charAt(0).toUpperCase() + t.slice(1);
3675
- }, Et = (...e) => e.filter((t, o, r) => !!t && t.trim() !== "" && r.indexOf(t) === o).join(" ").trim(), hr = (e) => {
3675
+ }, Bt = (...e) => e.filter((t, o, r) => !!t && t.trim() !== "" && r.indexOf(t) === o).join(" ").trim(), Nr = (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 gr = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), br = (
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 vr = {
3686
+ var Pr = {
3687
3687
  xmlns: "http://www.w3.org/2000/svg",
3688
3688
  width: 24,
3689
3689
  height: 24,
@@ -3700,7 +3700,7 @@ var vr = {
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 xr = Je(
3703
+ const Ir = tt(
3704
3704
  ({
3705
3705
  color: e = "currentColor",
3706
3706
  size: t = 24,
@@ -3709,22 +3709,22 @@ const xr = Je(
3709
3709
  className: n = "",
3710
3710
  children: a,
3711
3711
  iconNode: s,
3712
- ...i
3713
- }, l) => he(
3712
+ ...l
3713
+ }, c) => Ce(
3714
3714
  "svg",
3715
3715
  {
3716
- ref: l,
3717
- ...vr,
3716
+ ref: c,
3717
+ ...Pr,
3718
3718
  width: t,
3719
3719
  height: t,
3720
3720
  stroke: e,
3721
3721
  strokeWidth: r ? Number(o) * 24 / Number(t) : o,
3722
- className: Et("lucide", n),
3723
- ...!a && !hr(i) && { "aria-hidden": "true" },
3724
- ...i
3722
+ className: Bt("lucide", n),
3723
+ ...!a && !Nr(l) && { "aria-hidden": "true" },
3724
+ ...l
3725
3725
  },
3726
3726
  [
3727
- ...s.map(([f, p]) => he(f, p)),
3727
+ ...s.map(([m, p]) => Ce(m, p)),
3728
3728
  ...Array.isArray(a) ? a : [a]
3729
3729
  ]
3730
3730
  )
@@ -3735,20 +3735,20 @@ const xr = Je(
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 zt = (e, t) => {
3739
- const o = Je(
3740
- ({ className: r, ...n }, a) => he(xr, {
3738
+ const Lt = (e, t) => {
3739
+ const o = tt(
3740
+ ({ className: r, ...n }, a) => Ce(Ir, {
3741
3741
  ref: a,
3742
3742
  iconNode: t,
3743
- className: Et(
3744
- `lucide-${gr(Xe(e))}`,
3743
+ className: Bt(
3744
+ `lucide-${Cr(Qe(e))}`,
3745
3745
  `lucide-${e}`,
3746
3746
  r
3747
3747
  ),
3748
3748
  ...n
3749
3749
  })
3750
3750
  );
3751
- return o.displayName = Xe(e), o;
3751
+ return o.displayName = Qe(e), o;
3752
3752
  };
3753
3753
  /**
3754
3754
  * @license lucide-react v0.545.0 - ISC
@@ -3756,18 +3756,18 @@ const zt = (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 yr = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], wr = zt("loader-circle", yr);
3759
+ const _r = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], Rr = Lt("loader-circle", _r);
3760
3760
  /**
3761
3761
  * @license lucide-react v0.545.0 - ISC
3762
3762
  *
3763
3763
  * This source code is licensed under the ISC license.
3764
3764
  * See the LICENSE file in the root directory of this source tree.
3765
3765
  */
3766
- const kr = [
3766
+ const Sr = [
3767
3767
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
3768
3768
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
3769
- ], Cr = zt("x", kr);
3770
- function Tt({
3769
+ ], Dt = Lt("x", Sr);
3770
+ function $t({
3771
3771
  variant: e = "primary",
3772
3772
  size: t = "large",
3773
3773
  shape: o = "pill",
@@ -3775,14 +3775,14 @@ function Tt({
3775
3775
  type: n = "button",
3776
3776
  disabled: a = !1,
3777
3777
  className: s,
3778
- children: i,
3779
- ...l
3778
+ children: l,
3779
+ ...c
3780
3780
  }) {
3781
- return /* @__PURE__ */ W(
3781
+ return /* @__PURE__ */ B(
3782
3782
  "button",
3783
3783
  {
3784
3784
  "aria-busy": r,
3785
- className: M(
3785
+ className: x(
3786
3786
  "after:ease-[cubic-bezier(0,0.25,0,1)] relative z-0 inline-flex h-fit select-none items-center justify-center overflow-hidden border text-center font-body font-semibold leading-normal after:absolute after:inset-0 after:-z-10 after:-translate-x-[105%] after:transition-[opacity,transform] after:duration-300 focus-visible:outline-2 focus-visible:outline-[var(--button-focus,hsl(var(--primary)))] disabled:pointer-events-none disabled:opacity-30",
3787
3787
  {
3788
3788
  primary: "border-[var(--button-primary-border,hsl(var(--primary)))] bg-[var(--button-primary-background,hsl(var(--primary)))] text-[var(--button-primary-text,hsl(var(--foreground)))] after:bg-[var(--button-primary-background-hover,color-mix(in_oklab,hsl(var(--primary)),white_75%))] focus-visible:outline-offset-2",
@@ -3804,12 +3804,12 @@ function Tt({
3804
3804
  "data-slot": "button",
3805
3805
  disabled: a,
3806
3806
  type: n,
3807
- ...l,
3807
+ ...c,
3808
3808
  children: [
3809
- /* @__PURE__ */ c(
3809
+ /* @__PURE__ */ i(
3810
3810
  "span",
3811
3811
  {
3812
- className: M(
3812
+ className: x(
3813
3813
  "inline-flex items-center justify-center transition-all duration-300 ease-in-out",
3814
3814
  r ? "-translate-y-10 opacity-0" : "translate-y-0 opacity-100",
3815
3815
  o === "circle" && "aspect-square",
@@ -3827,20 +3827,20 @@ function Tt({
3827
3827
  }[t],
3828
3828
  e === "secondary" && "mix-blend-difference"
3829
3829
  ),
3830
- children: i
3830
+ children: l
3831
3831
  }
3832
3832
  ),
3833
- /* @__PURE__ */ c(
3833
+ /* @__PURE__ */ i(
3834
3834
  "span",
3835
3835
  {
3836
- className: M(
3836
+ className: x(
3837
3837
  "absolute inset-0 grid place-content-center transition-all duration-300 ease-in-out",
3838
3838
  r ? "translate-y-0 opacity-100" : "translate-y-10 opacity-0"
3839
3839
  ),
3840
- children: /* @__PURE__ */ c(
3841
- wr,
3840
+ children: /* @__PURE__ */ i(
3841
+ Rr,
3842
3842
  {
3843
- className: M(
3843
+ className: x(
3844
3844
  "animate-spin",
3845
3845
  e === "tertiary" && "text-[var(--button-loader-icon,hsl(var(--foreground)))]"
3846
3846
  )
@@ -3852,16 +3852,16 @@ function Tt({
3852
3852
  }
3853
3853
  );
3854
3854
  }
3855
- function Ar({ children: e, ...t }) {
3856
- const { action: o } = Q();
3855
+ function Mr({ children: e, ...t }) {
3856
+ const { action: o } = ne();
3857
3857
  if (!o) return null;
3858
3858
  const { label: r, onClick: n } = o;
3859
- return /* @__PURE__ */ c(Tt, { "data-slot": "alert-button", onClick: n, size: "x-small", variant: "ghost", ...t, children: r });
3859
+ return /* @__PURE__ */ i($t, { "data-slot": "alert-button", onClick: n, size: "x-small", variant: "ghost", ...t, children: r });
3860
3860
  }
3861
- function Rr({ ...e }) {
3862
- const { dismiss: t } = Q(), { label: o, onClick: r } = t;
3863
- return /* @__PURE__ */ c(
3864
- Tt,
3861
+ function Er({ ...e }) {
3862
+ const { dismiss: t } = ne(), { label: o, onClick: r } = t;
3863
+ return /* @__PURE__ */ i(
3864
+ $t,
3865
3865
  {
3866
3866
  "aria-label": o,
3867
3867
  "data-slot": "alert-close-button",
@@ -3870,15 +3870,15 @@ function Rr({ ...e }) {
3870
3870
  size: "x-small",
3871
3871
  variant: "ghost",
3872
3872
  ...e,
3873
- children: /* @__PURE__ */ c(Cr, { size: 20, strokeWidth: 1 })
3873
+ children: /* @__PURE__ */ i(Dt, { size: 20, strokeWidth: 1 })
3874
3874
  }
3875
3875
  );
3876
3876
  }
3877
- function Mr({ className: e, children: t, ...o }) {
3878
- return /* @__PURE__ */ c(
3877
+ function Qr({ className: e, children: t, ...o }) {
3878
+ return /* @__PURE__ */ i(
3879
3879
  "span",
3880
3880
  {
3881
- className: M(
3881
+ className: x(
3882
3882
  "origin-left font-semibold leading-normal text-[var(--animated-underline-text,hsl(var(--foreground)))] transition-[background-size] duration-300 [background:linear-gradient(0deg,var(--animated-underline-hover,hsl(var(--primary))),var(--animated-underline-hover,hsl(var(--primary))))_no-repeat_left_bottom_/_0_2px] [font-family:var(--animated-underline-font-family,var(--font-family-body))] hover:bg-[size:100%_2px] group-focus/underline:bg-[size:100%_2px]",
3883
3883
  e
3884
3884
  ),
@@ -3887,17 +3887,17 @@ function Mr({ className: e, children: t, ...o }) {
3887
3887
  }
3888
3888
  );
3889
3889
  }
3890
- function Er({
3890
+ function en({
3891
3891
  children: e,
3892
3892
  shape: t = "rounded",
3893
3893
  className: o,
3894
3894
  variant: r = "primary",
3895
3895
  ...n
3896
3896
  }) {
3897
- return /* @__PURE__ */ c(
3897
+ return /* @__PURE__ */ i(
3898
3898
  "span",
3899
3899
  {
3900
- className: M(
3900
+ className: x(
3901
3901
  "px-2 py-0.5 text-xs uppercase tracking-tighter text-[var(--badge-text,hsl(var(--foreground)))] [font-family:var(--badge-font-family,var(--font-family-mono))]",
3902
3902
  {
3903
3903
  pill: "rounded-full",
@@ -3917,26 +3917,400 @@ function Er({
3917
3917
  }
3918
3918
  );
3919
3919
  }
3920
+ const tn = ({
3921
+ id: e,
3922
+ children: t,
3923
+ hideDismiss: o = !1,
3924
+ className: r,
3925
+ onDismiss: n
3926
+ }) => /* @__PURE__ */ i(zr, { hideDismiss: o, id: e, onDismiss: n, children: /* @__PURE__ */ i(Tr, { className: r, children: /* @__PURE__ */ B(Or, { children: [
3927
+ /* @__PURE__ */ i(Br, { children: t }),
3928
+ /* @__PURE__ */ i(Lr, {})
3929
+ ] }) }) }), Vt = ee(void 0);
3930
+ function zr({ id: e, hideDismiss: t, onDismiss: o, children: r }) {
3931
+ const [n, a] = ke(!1), [s, l] = ke(!1);
3932
+ et(() => {
3933
+ const p = localStorage.getItem(`${e}-hidden-banner`) === "true";
3934
+ a(p), l(!0);
3935
+ }, [e]);
3936
+ const c = Ft(() => {
3937
+ a(!0), localStorage.setItem(`${e}-hidden-banner`, "true"), o?.();
3938
+ }, [e, o]), m = te(
3939
+ () => ({
3940
+ id: e,
3941
+ isInitialized: s,
3942
+ isDismissed: n,
3943
+ hideDismiss: t,
3944
+ handleDismiss: c
3945
+ }),
3946
+ [e, s, n, t, c]
3947
+ );
3948
+ return /* @__PURE__ */ i(Vt.Provider, { value: m, children: s ? r : null });
3949
+ }
3950
+ function Gt() {
3951
+ const e = oe(Vt);
3952
+ if (e === void 0)
3953
+ throw new Error("useBanner must be used within a BannerProvider");
3954
+ return e;
3955
+ }
3956
+ function Tr({ children: e, className: t, ...o }) {
3957
+ const { id: r, isDismissed: n } = Gt();
3958
+ return /* @__PURE__ */ i(
3959
+ "div",
3960
+ {
3961
+ className: x(
3962
+ "overflow-hidden bg-[var(--banner-background,hsl(var(--primary)))] transition-all duration-300 ease-in @container",
3963
+ n ? "pointer-events-none max-h-0" : "max-h-32",
3964
+ t
3965
+ ),
3966
+ "data-slot": "banner-root",
3967
+ id: r,
3968
+ ...o,
3969
+ children: e
3970
+ }
3971
+ );
3972
+ }
3973
+ function Or({ className: e, children: t }) {
3974
+ return /* @__PURE__ */ i(
3975
+ "div",
3976
+ {
3977
+ className: x("flex items-center justify-between gap-4 px-8 py-3", e),
3978
+ "data-slot": "banner-content",
3979
+ children: t
3980
+ }
3981
+ );
3982
+ }
3983
+ function Br({ children: e, className: t, ...o }) {
3984
+ return /* @__PURE__ */ i(
3985
+ "div",
3986
+ {
3987
+ className: x(
3988
+ "flex-1 text-sm text-[var(--banner-text,hsl(var(--foreground)))] [font-family:var(--banner-font-family,var(--font-family-body))] @xl:text-center @xl:text-base",
3989
+ t
3990
+ ),
3991
+ "data-slot": "banner-text",
3992
+ ...o,
3993
+ children: e
3994
+ }
3995
+ );
3996
+ }
3997
+ function Lr({ className: e, ...t }) {
3998
+ const { hideDismiss: o, handleDismiss: r } = Gt();
3999
+ return o ? null : /* @__PURE__ */ i(
4000
+ "button",
4001
+ {
4002
+ "aria-label": "Dismiss banner",
4003
+ className: x(
4004
+ "flex h-8 w-8 items-center justify-center rounded-full bg-[var(--banner-close-background,transparent)] text-[var(--banner-close-icon,color-mix(in_oklab,hsl(var(--foreground))_50%,transparent))] transition-colors duration-300 hover:bg-[var(--banner-close-background-hover,color-mix(in_oklab,hsl(var(--background))_40%,transparent))] hover:text-[var(--banner-close-icon-hover,hsl(var(--foreground)))] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--banner-focus,hsl(var(--foreground)))]",
4005
+ e
4006
+ ),
4007
+ "data-slot": "banner-dismiss",
4008
+ onClick: (n) => {
4009
+ n.preventDefault(), r();
4010
+ },
4011
+ ...t,
4012
+ children: /* @__PURE__ */ i(Dt, { absoluteStrokeWidth: !0, size: 20, strokeWidth: 1.5 })
4013
+ }
4014
+ );
4015
+ }
4016
+ function on({
4017
+ author: e,
4018
+ content: t,
4019
+ date: o,
4020
+ link: r,
4021
+ image: n,
4022
+ title: a,
4023
+ className: s
4024
+ }) {
4025
+ return /* @__PURE__ */ i(
4026
+ Dr,
4027
+ {
4028
+ author: e,
4029
+ content: t,
4030
+ date: o,
4031
+ image: n,
4032
+ link: r,
4033
+ title: a,
4034
+ children: /* @__PURE__ */ B($r, { className: s, children: [
4035
+ /* @__PURE__ */ i(Vr, {}),
4036
+ /* @__PURE__ */ i(jr, {}),
4037
+ /* @__PURE__ */ i(Ur, {}),
4038
+ /* @__PURE__ */ B(Fr, { children: [
4039
+ /* @__PURE__ */ i(Wr, {}),
4040
+ /* @__PURE__ */ i(Hr, {})
4041
+ ] }),
4042
+ /* @__PURE__ */ i(Gr, {})
4043
+ ] })
4044
+ }
4045
+ );
4046
+ }
4047
+ const jt = ee(void 0);
4048
+ function Dr({
4049
+ children: e,
4050
+ title: t,
4051
+ author: o,
4052
+ content: r,
4053
+ date: n,
4054
+ image: a,
4055
+ link: s
4056
+ }) {
4057
+ const l = te(
4058
+ () => ({
4059
+ title: t,
4060
+ author: o,
4061
+ content: r,
4062
+ date: n,
4063
+ image: a,
4064
+ link: s
4065
+ }),
4066
+ [t, o, r, n, a, s]
4067
+ );
4068
+ return /* @__PURE__ */ i(jt.Provider, { value: l, children: e });
4069
+ }
4070
+ function Z() {
4071
+ const e = oe(jt);
4072
+ if (e === void 0)
4073
+ throw new Error("useBlogPostCard must be used within a BlogPostCardProvider");
4074
+ return e;
4075
+ }
4076
+ function $r({
4077
+ as: e,
4078
+ className: t,
4079
+ children: o,
4080
+ ...r
4081
+ }) {
4082
+ return /* @__PURE__ */ i(
4083
+ e ?? "article",
4084
+ {
4085
+ className: x(
4086
+ "group relative w-full max-w-md @container [font-family:var(--blog-post-card-font-family,var(--font-family-body))]",
4087
+ t
4088
+ ),
4089
+ "data-slot": "blog-post-card-root",
4090
+ ...r,
4091
+ children: o
4092
+ }
4093
+ );
4094
+ }
4095
+ function rn({ children: e, className: t, ...o }) {
4096
+ return /* @__PURE__ */ i(
4097
+ "div",
4098
+ {
4099
+ className: x(
4100
+ "p-4 text-5xl font-bold leading-none tracking-tighter [color:var(--blog-post-card-empty-text,color-mix(in_oklab,hsl(var(--foreground))_15%,transparent))]",
4101
+ t
4102
+ ),
4103
+ ...o,
4104
+ children: e
4105
+ }
4106
+ );
4107
+ }
4108
+ function Vr({ className: e, ...t }) {
4109
+ const { image: o, title: r } = Z(), n = "h-full w-full object-cover transition-transform duration-500 ease-out group-hover:scale-110", a = () => {
4110
+ if (!o)
4111
+ return /* @__PURE__ */ i(
4112
+ "div",
4113
+ {
4114
+ className: x(
4115
+ "p-4 text-5xl font-bold leading-none tracking-tighter [color:var(--blog-post-card-empty-text,color-mix(in_oklab,hsl(var(--foreground))_15%,transparent))]",
4116
+ e
4117
+ ),
4118
+ ...t,
4119
+ children: r
4120
+ }
4121
+ );
4122
+ const { src: s, alt: l, render: c } = o;
4123
+ return c ? c({ src: s, alt: l, className: n }) : /* @__PURE__ */ i("img", { alt: l, className: n, src: s });
4124
+ };
4125
+ return /* @__PURE__ */ i(
4126
+ "div",
4127
+ {
4128
+ className: x(
4129
+ "relative aspect-[4/3] w-full overflow-hidden rounded-2xl bg-[var(--blog-post-card-image-background,hsl(var(--contrast-100)))]",
4130
+ e
4131
+ ),
4132
+ ...t,
4133
+ children: a()
4134
+ }
4135
+ );
4136
+ }
4137
+ function Gr({ className: e, ...t }) {
4138
+ const {
4139
+ link: { href: o, ariaLabel: r, render: n }
4140
+ } = Z(), a = x(
4141
+ "absolute inset-0 rounded-b-lg rounded-t-2xl focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--blog-post-card-focus,hsl(var(--primary)))] focus-visible:ring-offset-4",
4142
+ e
4143
+ );
4144
+ return n ? n({ href: o, ariaLabel: r, className: a, ...t }) : /* @__PURE__ */ i("a", { className: a, href: o, ...t, children: /* @__PURE__ */ i("span", { className: "sr-only", children: r }) });
4145
+ }
4146
+ function jr({ className: e, ...t }) {
4147
+ const { title: o } = Z();
4148
+ return /* @__PURE__ */ i(
4149
+ "h5",
4150
+ {
4151
+ className: x(
4152
+ "mt-4 text-lg font-medium leading-snug text-[var(--blog-post-card-title-text,hsl(var(--foreground)))]",
4153
+ e
4154
+ ),
4155
+ "data-slot": "blog-post-card-title",
4156
+ ...t,
4157
+ children: o
4158
+ }
4159
+ );
4160
+ }
4161
+ function Ur({ className: e, ...t }) {
4162
+ const { content: o } = Z();
4163
+ return /* @__PURE__ */ i(
4164
+ "p",
4165
+ {
4166
+ className: x(
4167
+ "mt-1.5 line-clamp-3 text-sm font-normal text-[var(--blog-post-card-content-text,hsl(var(--contrast-400)))]",
4168
+ e
4169
+ ),
4170
+ "data-slot": "blog-post-card-content",
4171
+ ...t,
4172
+ children: o
4173
+ }
4174
+ );
4175
+ }
4176
+ function Fr({ children: e, className: t, ...o }) {
4177
+ return /* @__PURE__ */ i(
4178
+ "div",
4179
+ {
4180
+ className: x(
4181
+ "mt-3 text-sm text-[var(--blog-post-card-author-date-text,hsl(var(--foreground)))]",
4182
+ t
4183
+ ),
4184
+ "data-slot": "blog-post-card-details",
4185
+ ...o,
4186
+ children: e
4187
+ }
4188
+ );
4189
+ }
4190
+ function Wr({ className: e, ...t }) {
4191
+ const { date: o } = Z();
4192
+ return /* @__PURE__ */ i("time", { dateTime: o, ...t, "data-slot": "blog-post-card-date", children: new Date(o).toLocaleDateString("en-US", {
4193
+ year: "numeric",
4194
+ month: "long",
4195
+ day: "numeric"
4196
+ }) });
4197
+ }
4198
+ function Hr({ className: e, ...t }) {
4199
+ const { author: o } = Z();
4200
+ if (o != null)
4201
+ return /* @__PURE__ */ B(Ut, { children: [
4202
+ /* @__PURE__ */ i(
4203
+ "span",
4204
+ {
4205
+ className: x("after:mx-2 after:content-['•']", e),
4206
+ "data-slot": "blog-post-card-author",
4207
+ ...t
4208
+ }
4209
+ ),
4210
+ /* @__PURE__ */ i("span", { children: o })
4211
+ ] });
4212
+ }
4213
+ function qr({ className: e, ...t }) {
4214
+ return /* @__PURE__ */ i(
4215
+ "div",
4216
+ {
4217
+ className: x(
4218
+ "bg-[var(--skeleton,color-mix(in_oklab,hsl(var(--contrast-300))_15%,transparent))]",
4219
+ e
4220
+ ),
4221
+ "data-slot": "skeleton-box",
4222
+ ...t
4223
+ }
4224
+ );
4225
+ }
4226
+ function J({ characterCount: e = 10, className: t, ...o }) {
4227
+ return /* @__PURE__ */ i(
4228
+ "div",
4229
+ {
4230
+ className: x("flex h-[1lh] items-center", t),
4231
+ "data-slot": "skeleton-text",
4232
+ ...o,
4233
+ children: /* @__PURE__ */ i(
4234
+ "div",
4235
+ {
4236
+ className: x(
4237
+ "h-[1ex] max-w-full rounded-[inherit] bg-[var(--skeleton,color-mix(in_oklab,hsl(var(--contrast-300))_15%,transparent))]"
4238
+ ),
4239
+ style: { width: e === "full" ? "100%" : `${e}ch` }
4240
+ }
4241
+ )
4242
+ }
4243
+ );
4244
+ }
4245
+ function nn({
4246
+ className: e,
4247
+ aspectRatio: t = "4:3",
4248
+ ...o
4249
+ }) {
4250
+ return /* @__PURE__ */ B("div", { className: x("w-full max-w-md", e), ...o, children: [
4251
+ /* @__PURE__ */ i(
4252
+ qr,
4253
+ {
4254
+ className: x(
4255
+ "mb-4 w-full rounded-2xl",
4256
+ {
4257
+ "5:6": "aspect-[5/6]",
4258
+ "3:4": "aspect-[3/4]",
4259
+ "4:3": "aspect-[4/3]",
4260
+ "1:1": "aspect-square"
4261
+ }[t]
4262
+ )
4263
+ }
4264
+ ),
4265
+ /* @__PURE__ */ i(J, { characterCount: 25, className: "mt-4 rounded text-lg" }),
4266
+ /* @__PURE__ */ B("div", { className: "mt-1.5", children: [
4267
+ /* @__PURE__ */ i(J, { characterCount: "full", className: "rounded text-sm" }),
4268
+ /* @__PURE__ */ i(J, { characterCount: "full", className: "rounded text-sm" }),
4269
+ /* @__PURE__ */ i(J, { characterCount: 15, className: "rounded text-sm" })
4270
+ ] }),
4271
+ /* @__PURE__ */ i(J, { characterCount: 10, className: "mt-3 rounded text-sm" })
4272
+ ] });
4273
+ }
3920
4274
  export {
3921
- Sr as Accordion,
3922
- ar as AccordionContent,
3923
- rr as AccordionItem,
3924
- ir as AccordionItemProvider,
3925
- sr as AccordionProvider,
3926
- nr as AccordionRoot,
3927
- lr as AccordionTrigger,
3928
- Pr as Alert,
3929
- pr as AlertActions,
3930
- Ar as AlertButton,
3931
- Rr as AlertCloseButton,
3932
- mr as AlertDescription,
3933
- ur as AlertHeader,
3934
- cr as AlertRoot,
3935
- fr as AlertTitle,
3936
- Mr as AnimatedUnderline,
3937
- Er as Badge,
3938
- Tt as Button,
3939
- Oe as useAccordion,
3940
- Le as useAccordionItem
4275
+ Jr as Accordion,
4276
+ fr as AccordionContent,
4277
+ ur as AccordionItem,
4278
+ gr as AccordionItemProvider,
4279
+ pr as AccordionProvider,
4280
+ mr as AccordionRoot,
4281
+ br as AccordionTrigger,
4282
+ Yr as Alert,
4283
+ kr as AlertActions,
4284
+ Mr as AlertButton,
4285
+ Er as AlertCloseButton,
4286
+ wr as AlertDescription,
4287
+ xr as AlertHeader,
4288
+ hr as AlertRoot,
4289
+ yr as AlertTitle,
4290
+ Qr as AnimatedUnderline,
4291
+ en as Badge,
4292
+ tn as Banner,
4293
+ Or as BannerContent,
4294
+ Lr as BannerDismiss,
4295
+ zr as BannerProvider,
4296
+ Tr as BannerRoot,
4297
+ Br as BannerText,
4298
+ on as BlogPostCard,
4299
+ Hr as BlogPostCardAuthor,
4300
+ Ur as BlogPostCardContent,
4301
+ Wr as BlogPostCardDate,
4302
+ Fr as BlogPostCardDetails,
4303
+ rn as BlogPostCardFallback,
4304
+ Vr as BlogPostCardImage,
4305
+ Gr as BlogPostCardLink,
4306
+ Dr as BlogPostCardProvider,
4307
+ $r as BlogPostCardRoot,
4308
+ nn as BlogPostCardSkeleton,
4309
+ jr as BlogPostCardTitle,
4310
+ $t as Button,
4311
+ De as useAccordion,
4312
+ $e as useAccordionItem,
4313
+ Gt as useBanner,
4314
+ Z as useBlogPostCard
3941
4315
  };
3942
4316
  //# sourceMappingURL=index.js.map