commerce-toolkit 0.0.3 → 0.0.4

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,223 +1,223 @@
1
- import { jsx as l, jsxs as V } from "react/jsx-runtime";
2
- import * as i from "react";
3
- import h, { useState as Ae, useEffect as xe, createContext as be, useContext as ye } from "react";
1
+ import { jsx as h, jsxs as ge } from "react/jsx-runtime";
2
+ import * as m from "react";
3
+ import I, { useState as Co, useEffect as Ao, createContext as Ro, useContext as So } from "react";
4
4
  import "react-dom";
5
- function vt({ colorScheme: e = "light", items: t, ...o }) {
6
- return /* @__PURE__ */ l(ut, { colorScheme: e, children: /* @__PURE__ */ l(st, { ...o, children: t.map((n, r) => /* @__PURE__ */ V(at, { value: n.title, children: [
7
- /* @__PURE__ */ l(dt, { children: n.title }),
8
- /* @__PURE__ */ l(lt, { children: n.content })
9
- ] }, r)) }) });
10
- }
11
- function W(e, t = []) {
12
- let o = [];
13
- function n(c, s) {
14
- const a = i.createContext(s), d = o.length;
15
- o = [...o, s];
16
- const u = (f) => {
17
- const { scope: A, children: v, ...b } = f, C = A?.[e]?.[d] || a, g = i.useMemo(() => b, Object.values(b));
18
- return /* @__PURE__ */ l(C.Provider, { value: g, children: v });
5
+ function er({ colorScheme: e = "light", items: o, ...t }) {
6
+ return /* @__PURE__ */ h(Xt, { colorScheme: e, children: /* @__PURE__ */ h(qt, { ...t, children: o.map((r, n) => /* @__PURE__ */ ge(Ht, { value: r.title, children: [
7
+ /* @__PURE__ */ h(Jt, { children: r.title }),
8
+ /* @__PURE__ */ h(Kt, { children: r.content })
9
+ ] }, n)) }) });
10
+ }
11
+ function we(e, o = []) {
12
+ let t = [];
13
+ function r(s, a) {
14
+ const l = m.createContext(a), i = t.length;
15
+ t = [...t, a];
16
+ const u = (b) => {
17
+ const { scope: A, children: w, ...C } = b, y = A?.[e]?.[i] || l, k = m.useMemo(() => C, Object.values(C));
18
+ return /* @__PURE__ */ h(y.Provider, { value: k, children: w });
19
19
  };
20
- u.displayName = c + "Provider";
21
- function p(f, A) {
22
- const v = A?.[e]?.[d] || a, b = i.useContext(v);
23
- if (b) return b;
24
- if (s !== void 0) return s;
25
- throw new Error(`\`${f}\` must be used within \`${c}\``);
20
+ u.displayName = s + "Provider";
21
+ function p(b, A) {
22
+ const w = A?.[e]?.[i] || l, C = m.useContext(w);
23
+ if (C) return C;
24
+ if (a !== void 0) return a;
25
+ throw new Error(`\`${b}\` must be used within \`${s}\``);
26
26
  }
27
27
  return [u, p];
28
28
  }
29
- const r = () => {
30
- const c = o.map((s) => i.createContext(s));
31
- return function(a) {
32
- const d = a?.[e] || c;
33
- return i.useMemo(
34
- () => ({ [`__scope${e}`]: { ...a, [e]: d } }),
35
- [a, d]
29
+ const n = () => {
30
+ const s = t.map((a) => m.createContext(a));
31
+ return function(l) {
32
+ const i = l?.[e] || s;
33
+ return m.useMemo(
34
+ () => ({ [`__scope${e}`]: { ...l, [e]: i } }),
35
+ [l, i]
36
36
  );
37
37
  };
38
38
  };
39
- return r.scopeName = e, [n, Ne(r, ...t)];
40
- }
41
- function Ne(...e) {
42
- const t = e[0];
43
- if (e.length === 1) return t;
44
- const o = () => {
45
- const n = e.map((r) => ({
46
- useScope: r(),
47
- scopeName: r.scopeName
39
+ return n.scopeName = e, [r, Io(n, ...o)];
40
+ }
41
+ function Io(...e) {
42
+ const o = e[0];
43
+ if (e.length === 1) return o;
44
+ const t = () => {
45
+ const r = e.map((n) => ({
46
+ useScope: n(),
47
+ scopeName: n.scopeName
48
48
  }));
49
- return function(c) {
50
- const s = n.reduce((a, { useScope: d, scopeName: u }) => {
51
- const f = d(c)[`__scope${u}`];
52
- return { ...a, ...f };
49
+ return function(s) {
50
+ const a = r.reduce((l, { useScope: i, scopeName: u }) => {
51
+ const b = i(s)[`__scope${u}`];
52
+ return { ...l, ...b };
53
53
  }, {});
54
- return i.useMemo(() => ({ [`__scope${t.scopeName}`]: s }), [s]);
54
+ return m.useMemo(() => ({ [`__scope${o.scopeName}`]: a }), [a]);
55
55
  };
56
56
  };
57
- return o.scopeName = t.scopeName, o;
57
+ return t.scopeName = o.scopeName, t;
58
58
  }
59
- function Z(e, t) {
59
+ function De(e, o) {
60
60
  if (typeof e == "function")
61
- return e(t);
62
- e != null && (e.current = t);
61
+ return e(o);
62
+ e != null && (e.current = o);
63
63
  }
64
- function J(...e) {
65
- return (t) => {
66
- let o = !1;
67
- const n = e.map((r) => {
68
- const c = Z(r, t);
69
- return !o && typeof c == "function" && (o = !0), c;
64
+ function We(...e) {
65
+ return (o) => {
66
+ let t = !1;
67
+ const r = e.map((n) => {
68
+ const s = De(n, o);
69
+ return !t && typeof s == "function" && (t = !0), s;
70
70
  });
71
- if (o)
71
+ if (t)
72
72
  return () => {
73
- for (let r = 0; r < n.length; r++) {
74
- const c = n[r];
75
- typeof c == "function" ? c() : Z(e[r], null);
73
+ for (let n = 0; n < r.length; n++) {
74
+ const s = r[n];
75
+ typeof s == "function" ? s() : De(e[n], null);
76
76
  }
77
77
  };
78
78
  };
79
79
  }
80
- function w(...e) {
81
- return i.useCallback(J(...e), e);
80
+ function J(...e) {
81
+ return m.useCallback(We(...e), e);
82
82
  }
83
83
  // @__NO_SIDE_EFFECTS__
84
- function U(e) {
85
- const t = /* @__PURE__ */ Re(e), o = i.forwardRef((n, r) => {
86
- const { children: c, ...s } = n, a = i.Children.toArray(c), d = a.find(Se);
87
- if (d) {
88
- const u = d.props.children, p = a.map((f) => f === d ? i.Children.count(u) > 1 ? i.Children.only(null) : i.isValidElement(u) ? u.props.children : null : f);
89
- return /* @__PURE__ */ l(t, { ...s, ref: r, children: i.isValidElement(u) ? i.cloneElement(u, void 0, p) : null });
84
+ function be(e) {
85
+ const o = /* @__PURE__ */ No(e), t = m.forwardRef((r, n) => {
86
+ const { children: s, ...a } = r, l = m.Children.toArray(s), i = l.find(Mo);
87
+ if (i) {
88
+ const u = i.props.children, p = l.map((b) => b === i ? m.Children.count(u) > 1 ? m.Children.only(null) : m.isValidElement(u) ? u.props.children : null : b);
89
+ return /* @__PURE__ */ h(o, { ...a, ref: n, children: m.isValidElement(u) ? m.cloneElement(u, void 0, p) : null });
90
90
  }
91
- return /* @__PURE__ */ l(t, { ...s, ref: r, children: c });
91
+ return /* @__PURE__ */ h(o, { ...a, ref: n, children: s });
92
92
  });
93
- return o.displayName = `${e}.Slot`, o;
93
+ return t.displayName = `${e}.Slot`, t;
94
94
  }
95
95
  // @__NO_SIDE_EFFECTS__
96
- function Re(e) {
97
- const t = i.forwardRef((o, n) => {
98
- const { children: r, ...c } = o;
99
- if (i.isValidElement(r)) {
100
- const s = Pe(r), a = we(c, r.props);
101
- return r.type !== i.Fragment && (a.ref = n ? J(n, s) : s), i.cloneElement(r, a);
96
+ function No(e) {
97
+ const o = m.forwardRef((t, r) => {
98
+ const { children: n, ...s } = t;
99
+ if (m.isValidElement(n)) {
100
+ const a = _o(n), l = Eo(s, n.props);
101
+ return n.type !== m.Fragment && (l.ref = r ? We(r, a) : a), m.cloneElement(n, l);
102
102
  }
103
- return i.Children.count(r) > 1 ? i.Children.only(null) : null;
103
+ return m.Children.count(n) > 1 ? m.Children.only(null) : null;
104
104
  });
105
- return t.displayName = `${e}.SlotClone`, t;
106
- }
107
- var Ie = Symbol("radix.slottable");
108
- function Se(e) {
109
- return i.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Ie;
110
- }
111
- function we(e, t) {
112
- const o = { ...t };
113
- for (const n in t) {
114
- const r = e[n], c = t[n];
115
- /^on[A-Z]/.test(n) ? r && c ? o[n] = (...a) => {
116
- const d = c(...a);
117
- return r(...a), d;
118
- } : r && (o[n] = r) : n === "style" ? o[n] = { ...r, ...c } : n === "className" && (o[n] = [r, c].filter(Boolean).join(" "));
105
+ return o.displayName = `${e}.SlotClone`, o;
106
+ }
107
+ var Po = Symbol("radix.slottable");
108
+ function Mo(e) {
109
+ return m.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Po;
110
+ }
111
+ function Eo(e, o) {
112
+ const t = { ...o };
113
+ for (const r in o) {
114
+ const n = e[r], s = o[r];
115
+ /^on[A-Z]/.test(r) ? n && s ? t[r] = (...l) => {
116
+ const i = s(...l);
117
+ return n(...l), i;
118
+ } : n && (t[r] = n) : r === "style" ? t[r] = { ...n, ...s } : r === "className" && (t[r] = [n, s].filter(Boolean).join(" "));
119
119
  }
120
- return { ...e, ...o };
120
+ return { ...e, ...t };
121
121
  }
122
- function Pe(e) {
123
- let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, o = t && "isReactWarning" in t && t.isReactWarning;
124
- 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);
122
+ function _o(e) {
123
+ let o = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, t = o && "isReactWarning" in o && o.isReactWarning;
124
+ return t ? e.ref : (o = Object.getOwnPropertyDescriptor(e, "ref")?.get, t = o && "isReactWarning" in o && o.isReactWarning, t ? e.props.ref : e.props.ref || e.ref);
125
125
  }
126
- function Ee(e) {
127
- const t = e + "CollectionProvider", [o, n] = W(t), [r, c] = o(
128
- t,
126
+ function To(e) {
127
+ const o = e + "CollectionProvider", [t, r] = we(o), [n, s] = t(
128
+ o,
129
129
  { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
130
- ), s = (C) => {
131
- const { scope: g, children: y } = C, m = h.useRef(null), x = h.useRef(/* @__PURE__ */ new Map()).current;
132
- return /* @__PURE__ */ l(r, { scope: g, itemMap: x, collectionRef: m, children: y });
130
+ ), a = (y) => {
131
+ const { scope: k, children: R } = y, x = I.useRef(null), S = I.useRef(/* @__PURE__ */ new Map()).current;
132
+ return /* @__PURE__ */ h(n, { scope: k, itemMap: S, collectionRef: x, children: R });
133
133
  };
134
- s.displayName = t;
135
- const a = e + "CollectionSlot", d = /* @__PURE__ */ U(a), u = h.forwardRef(
136
- (C, g) => {
137
- const { scope: y, children: m } = C, x = c(a, y), N = w(g, x.collectionRef);
138
- return /* @__PURE__ */ l(d, { ref: N, children: m });
134
+ a.displayName = o;
135
+ const l = e + "CollectionSlot", i = /* @__PURE__ */ be(l), u = I.forwardRef(
136
+ (y, k) => {
137
+ const { scope: R, children: x } = y, S = s(l, R), P = J(k, S.collectionRef);
138
+ return /* @__PURE__ */ h(i, { ref: P, children: x });
139
139
  }
140
140
  );
141
- u.displayName = a;
142
- const p = e + "CollectionItemSlot", f = "data-radix-collection-item", A = /* @__PURE__ */ U(p), v = h.forwardRef(
143
- (C, g) => {
144
- const { scope: y, children: m, ...x } = C, N = h.useRef(null), S = w(g, N), I = c(p, y);
145
- return h.useEffect(() => (I.itemMap.set(N, { ref: N, ...x }), () => void I.itemMap.delete(N))), /* @__PURE__ */ l(A, { [f]: "", ref: S, children: m });
141
+ u.displayName = l;
142
+ const p = e + "CollectionItemSlot", b = "data-radix-collection-item", A = /* @__PURE__ */ be(p), w = I.forwardRef(
143
+ (y, k) => {
144
+ const { scope: R, children: x, ...S } = y, P = I.useRef(null), T = J(k, P), E = s(p, R);
145
+ return I.useEffect(() => (E.itemMap.set(P, { ref: P, ...S }), () => void E.itemMap.delete(P))), /* @__PURE__ */ h(A, { [b]: "", ref: T, children: x });
146
146
  }
147
147
  );
148
- v.displayName = p;
149
- function b(C) {
150
- const g = c(e + "CollectionConsumer", C);
151
- return h.useCallback(() => {
152
- const m = g.collectionRef.current;
153
- if (!m) return [];
154
- const x = Array.from(m.querySelectorAll(`[${f}]`));
155
- return Array.from(g.itemMap.values()).sort(
156
- (I, $) => x.indexOf(I.ref.current) - x.indexOf($.ref.current)
148
+ w.displayName = p;
149
+ function C(y) {
150
+ const k = s(e + "CollectionConsumer", y);
151
+ return I.useCallback(() => {
152
+ const x = k.collectionRef.current;
153
+ if (!x) return [];
154
+ const S = Array.from(x.querySelectorAll(`[${b}]`));
155
+ return Array.from(k.itemMap.values()).sort(
156
+ (E, L) => S.indexOf(E.ref.current) - S.indexOf(L.ref.current)
157
157
  );
158
- }, [g.collectionRef, g.itemMap]);
158
+ }, [k.collectionRef, k.itemMap]);
159
159
  }
160
160
  return [
161
- { Provider: s, Slot: u, ItemSlot: v },
162
- b,
163
- n
161
+ { Provider: a, Slot: u, ItemSlot: w },
162
+ C,
163
+ r
164
164
  ];
165
165
  }
166
- function Q(e, t, { checkForDefaultPrevented: o = !0 } = {}) {
167
- return function(r) {
168
- if (e?.(r), o === !1 || !r.defaultPrevented)
169
- return t?.(r);
166
+ function Be(e, o, { checkForDefaultPrevented: t = !0 } = {}) {
167
+ return function(n) {
168
+ if (e?.(n), t === !1 || !n.defaultPrevented)
169
+ return o?.(n);
170
170
  };
171
171
  }
172
- var P = globalThis?.document ? i.useLayoutEffect : () => {
173
- }, _e = i[" useInsertionEffect ".trim().toString()] || P;
174
- function H({
172
+ var X = globalThis?.document ? m.useLayoutEffect : () => {
173
+ }, zo = m[" useInsertionEffect ".trim().toString()] || X;
174
+ function ke({
175
175
  prop: e,
176
- defaultProp: t,
177
- onChange: o = () => {
176
+ defaultProp: o,
177
+ onChange: t = () => {
178
178
  },
179
- caller: n
179
+ caller: r
180
180
  }) {
181
- const [r, c, s] = Me({
182
- defaultProp: t,
183
- onChange: o
184
- }), a = e !== void 0, d = a ? e : r;
181
+ const [n, s, a] = Oo({
182
+ defaultProp: o,
183
+ onChange: t
184
+ }), l = e !== void 0, i = l ? e : n;
185
185
  {
186
- const p = i.useRef(e !== void 0);
187
- i.useEffect(() => {
188
- const f = p.current;
189
- f !== a && console.warn(
190
- `${n} is changing from ${f ? "controlled" : "uncontrolled"} to ${a ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
191
- ), p.current = a;
192
- }, [a, n]);
186
+ const p = m.useRef(e !== void 0);
187
+ m.useEffect(() => {
188
+ const b = p.current;
189
+ b !== l && console.warn(
190
+ `${r} is changing from ${b ? "controlled" : "uncontrolled"} to ${l ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
191
+ ), p.current = l;
192
+ }, [l, r]);
193
193
  }
194
- const u = i.useCallback(
194
+ const u = m.useCallback(
195
195
  (p) => {
196
- if (a) {
197
- const f = Oe(p) ? p(e) : p;
198
- f !== e && s.current?.(f);
196
+ if (l) {
197
+ const b = Lo(p) ? p(e) : p;
198
+ b !== e && a.current?.(b);
199
199
  } else
200
- c(p);
200
+ s(p);
201
201
  },
202
- [a, e, c, s]
202
+ [l, e, s, a]
203
203
  );
204
- return [d, u];
204
+ return [i, u];
205
205
  }
206
- function Me({
206
+ function Oo({
207
207
  defaultProp: e,
208
- onChange: t
208
+ onChange: o
209
209
  }) {
210
- const [o, n] = i.useState(e), r = i.useRef(o), c = i.useRef(t);
211
- return _e(() => {
212
- c.current = t;
213
- }, [t]), i.useEffect(() => {
214
- r.current !== o && (c.current?.(o), r.current = o);
215
- }, [o, r]), [o, n, c];
216
- }
217
- function Oe(e) {
210
+ const [t, r] = m.useState(e), n = m.useRef(t), s = m.useRef(o);
211
+ return zo(() => {
212
+ s.current = o;
213
+ }, [o]), m.useEffect(() => {
214
+ n.current !== t && (s.current?.(t), n.current = t);
215
+ }, [t, n]), [t, r, s];
216
+ }
217
+ function Lo(e) {
218
218
  return typeof e == "function";
219
219
  }
220
- var Te = [
220
+ var Go = [
221
221
  "a",
222
222
  "button",
223
223
  "div",
@@ -235,23 +235,23 @@ var Te = [
235
235
  "span",
236
236
  "svg",
237
237
  "ul"
238
- ], _ = Te.reduce((e, t) => {
239
- const o = /* @__PURE__ */ U(`Primitive.${t}`), n = i.forwardRef((r, c) => {
240
- const { asChild: s, ...a } = r, d = s ? o : t;
241
- return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ l(d, { ...a, ref: c });
238
+ ], Y = Go.reduce((e, o) => {
239
+ const t = /* @__PURE__ */ be(`Primitive.${o}`), r = m.forwardRef((n, s) => {
240
+ const { asChild: a, ...l } = n, i = a ? t : o;
241
+ return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ h(i, { ...l, ref: s });
242
242
  });
243
- return n.displayName = `Primitive.${t}`, { ...e, [t]: n };
243
+ return r.displayName = `Primitive.${o}`, { ...e, [o]: r };
244
244
  }, {});
245
- function ke(e, t) {
246
- return i.useReducer((o, n) => t[o][n] ?? o, e);
245
+ function $o(e, o) {
246
+ return m.useReducer((t, r) => o[t][r] ?? t, e);
247
247
  }
248
- var X = (e) => {
249
- const { present: t, children: o } = e, n = De(t), r = typeof o == "function" ? o({ present: n.isPresent }) : i.Children.only(o), c = w(n.ref, $e(r));
250
- return typeof o == "function" || n.isPresent ? i.cloneElement(r, { ref: c }) : null;
248
+ var He = (e) => {
249
+ const { present: o, children: t } = e, r = Do(o), n = typeof t == "function" ? t({ present: r.isPresent }) : m.Children.only(t), s = J(r.ref, Vo(n));
250
+ return typeof t == "function" || r.isPresent ? m.cloneElement(n, { ref: s }) : null;
251
251
  };
252
- X.displayName = "Presence";
253
- function De(e) {
254
- const [t, o] = i.useState(), n = i.useRef(null), r = i.useRef(e), c = i.useRef("none"), s = e ? "mounted" : "unmounted", [a, d] = ke(s, {
252
+ He.displayName = "Presence";
253
+ function Do(e) {
254
+ const [o, t] = m.useState(), r = m.useRef(null), n = m.useRef(e), s = m.useRef("none"), a = e ? "mounted" : "unmounted", [l, i] = $o(a, {
255
255
  mounted: {
256
256
  UNMOUNT: "unmounted",
257
257
  ANIMATION_OUT: "unmountSuspended"
@@ -264,306 +264,306 @@ function De(e) {
264
264
  MOUNT: "mounted"
265
265
  }
266
266
  });
267
- return i.useEffect(() => {
268
- const u = M(n.current);
269
- c.current = a === "mounted" ? u : "none";
270
- }, [a]), P(() => {
271
- const u = n.current, p = r.current;
267
+ return m.useEffect(() => {
268
+ const u = re(r.current);
269
+ s.current = l === "mounted" ? u : "none";
270
+ }, [l]), X(() => {
271
+ const u = r.current, p = n.current;
272
272
  if (p !== e) {
273
- const A = c.current, v = M(u);
274
- e ? d("MOUNT") : v === "none" || u?.display === "none" ? d("UNMOUNT") : d(p && A !== v ? "ANIMATION_OUT" : "UNMOUNT"), r.current = e;
273
+ const A = s.current, w = re(u);
274
+ e ? i("MOUNT") : w === "none" || u?.display === "none" ? i("UNMOUNT") : i(p && A !== w ? "ANIMATION_OUT" : "UNMOUNT"), n.current = e;
275
275
  }
276
- }, [e, d]), P(() => {
277
- if (t) {
276
+ }, [e, i]), X(() => {
277
+ if (o) {
278
278
  let u;
279
- const p = t.ownerDocument.defaultView ?? window, f = (v) => {
280
- const C = M(n.current).includes(CSS.escape(v.animationName));
281
- if (v.target === t && C && (d("ANIMATION_END"), !r.current)) {
282
- const g = t.style.animationFillMode;
283
- t.style.animationFillMode = "forwards", u = p.setTimeout(() => {
284
- t.style.animationFillMode === "forwards" && (t.style.animationFillMode = g);
279
+ const p = o.ownerDocument.defaultView ?? window, b = (w) => {
280
+ const y = re(r.current).includes(CSS.escape(w.animationName));
281
+ if (w.target === o && y && (i("ANIMATION_END"), !n.current)) {
282
+ const k = o.style.animationFillMode;
283
+ o.style.animationFillMode = "forwards", u = p.setTimeout(() => {
284
+ o.style.animationFillMode === "forwards" && (o.style.animationFillMode = k);
285
285
  });
286
286
  }
287
- }, A = (v) => {
288
- v.target === t && (c.current = M(n.current));
287
+ }, A = (w) => {
288
+ w.target === o && (s.current = re(r.current));
289
289
  };
290
- return t.addEventListener("animationstart", A), t.addEventListener("animationcancel", f), t.addEventListener("animationend", f), () => {
291
- p.clearTimeout(u), t.removeEventListener("animationstart", A), t.removeEventListener("animationcancel", f), t.removeEventListener("animationend", f);
290
+ return o.addEventListener("animationstart", A), o.addEventListener("animationcancel", b), o.addEventListener("animationend", b), () => {
291
+ p.clearTimeout(u), o.removeEventListener("animationstart", A), o.removeEventListener("animationcancel", b), o.removeEventListener("animationend", b);
292
292
  };
293
293
  } else
294
- d("ANIMATION_END");
295
- }, [t, d]), {
296
- isPresent: ["mounted", "unmountSuspended"].includes(a),
297
- ref: i.useCallback((u) => {
298
- n.current = u ? getComputedStyle(u) : null, o(u);
294
+ i("ANIMATION_END");
295
+ }, [o, i]), {
296
+ isPresent: ["mounted", "unmountSuspended"].includes(l),
297
+ ref: m.useCallback((u) => {
298
+ r.current = u ? getComputedStyle(u) : null, t(u);
299
299
  }, [])
300
300
  };
301
301
  }
302
- function M(e) {
302
+ function re(e) {
303
303
  return e?.animationName || "none";
304
304
  }
305
- function $e(e) {
306
- let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, o = t && "isReactWarning" in t && t.isReactWarning;
307
- 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);
305
+ function Vo(e) {
306
+ let o = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, t = o && "isReactWarning" in o && o.isReactWarning;
307
+ return t ? e.ref : (o = Object.getOwnPropertyDescriptor(e, "ref")?.get, t = o && "isReactWarning" in o && o.isReactWarning, t ? e.props.ref : e.props.ref || e.ref);
308
308
  }
309
- var Le = i[" useId ".trim().toString()] || (() => {
310
- }), Ve = 0;
311
- function ee(e) {
312
- const [t, o] = i.useState(Le());
313
- return P(() => {
314
- o((n) => n ?? String(Ve++));
315
- }, [e]), t ? `radix-${t}` : "";
309
+ var jo = m[" useId ".trim().toString()] || (() => {
310
+ }), Fo = 0;
311
+ function qe(e) {
312
+ const [o, t] = m.useState(jo());
313
+ return X(() => {
314
+ t((r) => r ?? String(Fo++));
315
+ }, [e]), o ? `radix-${o}` : "";
316
316
  }
317
- var T = "Collapsible", [Ue, te] = W(T), [Fe, j] = Ue(T), oe = i.forwardRef(
318
- (e, t) => {
317
+ var ie = "Collapsible", [Uo, Ke] = we(ie), [Wo, Ce] = Uo(ie), Je = m.forwardRef(
318
+ (e, o) => {
319
319
  const {
320
- __scopeCollapsible: o,
321
- open: n,
322
- defaultOpen: r,
323
- disabled: c,
324
- onOpenChange: s,
325
- ...a
326
- } = e, [d, u] = H({
327
- prop: n,
328
- defaultProp: r ?? !1,
329
- onChange: s,
330
- caller: T
320
+ __scopeCollapsible: t,
321
+ open: r,
322
+ defaultOpen: n,
323
+ disabled: s,
324
+ onOpenChange: a,
325
+ ...l
326
+ } = e, [i, u] = ke({
327
+ prop: r,
328
+ defaultProp: n ?? !1,
329
+ onChange: a,
330
+ caller: ie
331
331
  });
332
- return /* @__PURE__ */ l(
333
- Fe,
332
+ return /* @__PURE__ */ h(
333
+ Wo,
334
334
  {
335
- scope: o,
336
- disabled: c,
337
- contentId: ee(),
338
- open: d,
339
- onOpenToggle: i.useCallback(() => u((p) => !p), [u]),
340
- children: /* @__PURE__ */ l(
341
- _.div,
335
+ scope: t,
336
+ disabled: s,
337
+ contentId: qe(),
338
+ open: i,
339
+ onOpenToggle: m.useCallback(() => u((p) => !p), [u]),
340
+ children: /* @__PURE__ */ h(
341
+ Y.div,
342
342
  {
343
- "data-state": G(d),
344
- "data-disabled": c ? "" : void 0,
345
- ...a,
346
- ref: t
343
+ "data-state": Re(i),
344
+ "data-disabled": s ? "" : void 0,
345
+ ...l,
346
+ ref: o
347
347
  }
348
348
  )
349
349
  }
350
350
  );
351
351
  }
352
352
  );
353
- oe.displayName = T;
354
- var ne = "CollapsibleTrigger", re = i.forwardRef(
355
- (e, t) => {
356
- const { __scopeCollapsible: o, ...n } = e, r = j(ne, o);
357
- return /* @__PURE__ */ l(
358
- _.button,
353
+ Je.displayName = ie;
354
+ var Xe = "CollapsibleTrigger", Ye = m.forwardRef(
355
+ (e, o) => {
356
+ const { __scopeCollapsible: t, ...r } = e, n = Ce(Xe, t);
357
+ return /* @__PURE__ */ h(
358
+ Y.button,
359
359
  {
360
360
  type: "button",
361
- "aria-controls": r.contentId,
362
- "aria-expanded": r.open || !1,
363
- "data-state": G(r.open),
364
- "data-disabled": r.disabled ? "" : void 0,
365
- disabled: r.disabled,
366
- ...n,
367
- ref: t,
368
- onClick: Q(e.onClick, r.onOpenToggle)
361
+ "aria-controls": n.contentId,
362
+ "aria-expanded": n.open || !1,
363
+ "data-state": Re(n.open),
364
+ "data-disabled": n.disabled ? "" : void 0,
365
+ disabled: n.disabled,
366
+ ...r,
367
+ ref: o,
368
+ onClick: Be(e.onClick, n.onOpenToggle)
369
369
  }
370
370
  );
371
371
  }
372
372
  );
373
- re.displayName = ne;
374
- var B = "CollapsibleContent", ce = i.forwardRef(
375
- (e, t) => {
376
- const { forceMount: o, ...n } = e, r = j(B, e.__scopeCollapsible);
377
- return /* @__PURE__ */ l(X, { present: o || r.open, children: ({ present: c }) => /* @__PURE__ */ l(We, { ...n, ref: t, present: c }) });
373
+ Ye.displayName = Xe;
374
+ var Ae = "CollapsibleContent", Ze = m.forwardRef(
375
+ (e, o) => {
376
+ const { forceMount: t, ...r } = e, n = Ce(Ae, e.__scopeCollapsible);
377
+ return /* @__PURE__ */ h(He, { present: t || n.open, children: ({ present: s }) => /* @__PURE__ */ h(Bo, { ...r, ref: o, present: s }) });
378
378
  }
379
379
  );
380
- ce.displayName = B;
381
- var We = i.forwardRef((e, t) => {
382
- const { __scopeCollapsible: o, present: n, children: r, ...c } = e, s = j(B, o), [a, d] = i.useState(n), u = i.useRef(null), p = w(t, u), f = i.useRef(0), A = f.current, v = i.useRef(0), b = v.current, C = s.open || a, g = i.useRef(C), y = i.useRef(void 0);
383
- return i.useEffect(() => {
384
- const m = requestAnimationFrame(() => g.current = !1);
385
- return () => cancelAnimationFrame(m);
386
- }, []), P(() => {
387
- const m = u.current;
388
- if (m) {
389
- y.current = y.current || {
390
- transitionDuration: m.style.transitionDuration,
391
- animationName: m.style.animationName
392
- }, m.style.transitionDuration = "0s", m.style.animationName = "none";
393
- const x = m.getBoundingClientRect();
394
- f.current = x.height, v.current = x.width, g.current || (m.style.transitionDuration = y.current.transitionDuration, m.style.animationName = y.current.animationName), d(n);
380
+ Ze.displayName = Ae;
381
+ var Bo = m.forwardRef((e, o) => {
382
+ const { __scopeCollapsible: t, present: r, children: n, ...s } = e, a = Ce(Ae, t), [l, i] = m.useState(r), u = m.useRef(null), p = J(o, u), b = m.useRef(0), A = b.current, w = m.useRef(0), C = w.current, y = a.open || l, k = m.useRef(y), R = m.useRef(void 0);
383
+ return m.useEffect(() => {
384
+ const x = requestAnimationFrame(() => k.current = !1);
385
+ return () => cancelAnimationFrame(x);
386
+ }, []), X(() => {
387
+ const x = u.current;
388
+ if (x) {
389
+ R.current = R.current || {
390
+ transitionDuration: x.style.transitionDuration,
391
+ animationName: x.style.animationName
392
+ }, x.style.transitionDuration = "0s", x.style.animationName = "none";
393
+ const S = x.getBoundingClientRect();
394
+ b.current = S.height, w.current = S.width, k.current || (x.style.transitionDuration = R.current.transitionDuration, x.style.animationName = R.current.animationName), i(r);
395
395
  }
396
- }, [s.open, n]), /* @__PURE__ */ l(
397
- _.div,
396
+ }, [a.open, r]), /* @__PURE__ */ h(
397
+ Y.div,
398
398
  {
399
- "data-state": G(s.open),
400
- "data-disabled": s.disabled ? "" : void 0,
401
- id: s.contentId,
402
- hidden: !C,
403
- ...c,
399
+ "data-state": Re(a.open),
400
+ "data-disabled": a.disabled ? "" : void 0,
401
+ id: a.contentId,
402
+ hidden: !y,
403
+ ...s,
404
404
  ref: p,
405
405
  style: {
406
406
  "--radix-collapsible-content-height": A ? `${A}px` : void 0,
407
- "--radix-collapsible-content-width": b ? `${b}px` : void 0,
407
+ "--radix-collapsible-content-width": C ? `${C}px` : void 0,
408
408
  ...e.style
409
409
  },
410
- children: C && r
410
+ children: y && n
411
411
  }
412
412
  );
413
413
  });
414
- function G(e) {
414
+ function Re(e) {
415
415
  return e ? "open" : "closed";
416
416
  }
417
- var He = oe, je = re, Be = ce, Ge = i.createContext(void 0);
418
- function Ke(e) {
419
- const t = i.useContext(Ge);
420
- return e || t || "ltr";
421
- }
422
- var R = "Accordion", qe = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [K, ze, Ye] = Ee(R), [k] = W(R, [
423
- Ye,
424
- te
425
- ]), q = te(), ie = h.forwardRef(
426
- (e, t) => {
427
- const { type: o, ...n } = e, r = n, c = n;
428
- return /* @__PURE__ */ l(K.Provider, { scope: e.__scopeAccordion, children: o === "multiple" ? /* @__PURE__ */ l(Xe, { ...c, ref: t }) : /* @__PURE__ */ l(Qe, { ...r, ref: t }) });
417
+ var Ho = Je, qo = Ye, Ko = Ze, Jo = m.createContext(void 0);
418
+ function Xo(e) {
419
+ const o = m.useContext(Jo);
420
+ return e || o || "ltr";
421
+ }
422
+ var O = "Accordion", Yo = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [Se, Zo, Qo] = To(O), [le] = we(O, [
423
+ Qo,
424
+ Ke
425
+ ]), Ie = Ke(), Qe = I.forwardRef(
426
+ (e, o) => {
427
+ const { type: t, ...r } = e, n = r, s = r;
428
+ return /* @__PURE__ */ h(Se.Provider, { scope: e.__scopeAccordion, children: t === "multiple" ? /* @__PURE__ */ h(rt, { ...s, ref: o }) : /* @__PURE__ */ h(tt, { ...n, ref: o }) });
429
429
  }
430
430
  );
431
- ie.displayName = R;
432
- var [ae, Ze] = k(R), [se, Je] = k(
433
- R,
431
+ Qe.displayName = O;
432
+ var [eo, et] = le(O), [oo, ot] = le(
433
+ O,
434
434
  { collapsible: !1 }
435
- ), Qe = h.forwardRef(
436
- (e, t) => {
435
+ ), tt = I.forwardRef(
436
+ (e, o) => {
437
437
  const {
438
- value: o,
439
- defaultValue: n,
440
- onValueChange: r = () => {
438
+ value: t,
439
+ defaultValue: r,
440
+ onValueChange: n = () => {
441
441
  },
442
- collapsible: c = !1,
443
- ...s
444
- } = e, [a, d] = H({
445
- prop: o,
446
- defaultProp: n ?? "",
447
- onChange: r,
448
- caller: R
442
+ collapsible: s = !1,
443
+ ...a
444
+ } = e, [l, i] = ke({
445
+ prop: t,
446
+ defaultProp: r ?? "",
447
+ onChange: n,
448
+ caller: O
449
449
  });
450
- return /* @__PURE__ */ l(
451
- ae,
450
+ return /* @__PURE__ */ h(
451
+ eo,
452
452
  {
453
453
  scope: e.__scopeAccordion,
454
- value: h.useMemo(() => a ? [a] : [], [a]),
455
- onItemOpen: d,
456
- onItemClose: h.useCallback(() => c && d(""), [c, d]),
457
- children: /* @__PURE__ */ l(se, { scope: e.__scopeAccordion, collapsible: c, children: /* @__PURE__ */ l(le, { ...s, ref: t }) })
454
+ value: I.useMemo(() => l ? [l] : [], [l]),
455
+ onItemOpen: i,
456
+ onItemClose: I.useCallback(() => s && i(""), [s, i]),
457
+ children: /* @__PURE__ */ h(oo, { scope: e.__scopeAccordion, collapsible: s, children: /* @__PURE__ */ h(to, { ...a, ref: o }) })
458
458
  }
459
459
  );
460
460
  }
461
- ), Xe = h.forwardRef((e, t) => {
461
+ ), rt = I.forwardRef((e, o) => {
462
462
  const {
463
- value: o,
464
- defaultValue: n,
465
- onValueChange: r = () => {
463
+ value: t,
464
+ defaultValue: r,
465
+ onValueChange: n = () => {
466
466
  },
467
- ...c
468
- } = e, [s, a] = H({
469
- prop: o,
470
- defaultProp: n ?? [],
471
- onChange: r,
472
- caller: R
473
- }), d = h.useCallback(
474
- (p) => a((f = []) => [...f, p]),
475
- [a]
476
- ), u = h.useCallback(
477
- (p) => a((f = []) => f.filter((A) => A !== p)),
478
- [a]
467
+ ...s
468
+ } = e, [a, l] = ke({
469
+ prop: t,
470
+ defaultProp: r ?? [],
471
+ onChange: n,
472
+ caller: O
473
+ }), i = I.useCallback(
474
+ (p) => l((b = []) => [...b, p]),
475
+ [l]
476
+ ), u = I.useCallback(
477
+ (p) => l((b = []) => b.filter((A) => A !== p)),
478
+ [l]
479
479
  );
480
- return /* @__PURE__ */ l(
481
- ae,
480
+ return /* @__PURE__ */ h(
481
+ eo,
482
482
  {
483
483
  scope: e.__scopeAccordion,
484
- value: s,
485
- onItemOpen: d,
484
+ value: a,
485
+ onItemOpen: i,
486
486
  onItemClose: u,
487
- children: /* @__PURE__ */ l(se, { scope: e.__scopeAccordion, collapsible: !0, children: /* @__PURE__ */ l(le, { ...c, ref: t }) })
487
+ children: /* @__PURE__ */ h(oo, { scope: e.__scopeAccordion, collapsible: !0, children: /* @__PURE__ */ h(to, { ...s, ref: o }) })
488
488
  }
489
489
  );
490
- }), [et, D] = k(R), le = h.forwardRef(
491
- (e, t) => {
492
- const { __scopeAccordion: o, disabled: n, dir: r, orientation: c = "vertical", ...s } = e, a = h.useRef(null), d = w(a, t), u = ze(o), f = Ke(r) === "ltr", A = Q(e.onKeyDown, (v) => {
493
- if (!qe.includes(v.key)) return;
494
- const b = v.target, C = u().filter((L) => !L.ref.current?.disabled), g = C.findIndex((L) => L.ref.current === b), y = C.length;
495
- if (g === -1) return;
496
- v.preventDefault();
497
- let m = g;
498
- const x = 0, N = y - 1, S = () => {
499
- m = g + 1, m > N && (m = x);
500
- }, I = () => {
501
- m = g - 1, m < x && (m = N);
490
+ }), [nt, ce] = le(O), to = I.forwardRef(
491
+ (e, o) => {
492
+ const { __scopeAccordion: t, disabled: r, dir: n, orientation: s = "vertical", ...a } = e, l = I.useRef(null), i = J(l, o), u = Zo(t), b = Xo(n) === "ltr", A = Be(e.onKeyDown, (w) => {
493
+ if (!Yo.includes(w.key)) return;
494
+ const C = w.target, y = u().filter((g) => !g.ref.current?.disabled), k = y.findIndex((g) => g.ref.current === C), R = y.length;
495
+ if (k === -1) return;
496
+ w.preventDefault();
497
+ let x = k;
498
+ const S = 0, P = R - 1, T = () => {
499
+ x = k + 1, x > P && (x = S);
500
+ }, E = () => {
501
+ x = k - 1, x < S && (x = P);
502
502
  };
503
- switch (v.key) {
503
+ switch (w.key) {
504
504
  case "Home":
505
- m = x;
505
+ x = S;
506
506
  break;
507
507
  case "End":
508
- m = N;
508
+ x = P;
509
509
  break;
510
510
  case "ArrowRight":
511
- c === "horizontal" && (f ? S() : I());
511
+ s === "horizontal" && (b ? T() : E());
512
512
  break;
513
513
  case "ArrowDown":
514
- c === "vertical" && S();
514
+ s === "vertical" && T();
515
515
  break;
516
516
  case "ArrowLeft":
517
- c === "horizontal" && (f ? I() : S());
517
+ s === "horizontal" && (b ? E() : T());
518
518
  break;
519
519
  case "ArrowUp":
520
- c === "vertical" && I();
520
+ s === "vertical" && E();
521
521
  break;
522
522
  }
523
- const $ = m % y;
524
- C[$].ref.current?.focus();
523
+ const L = x % R;
524
+ y[L].ref.current?.focus();
525
525
  });
526
- return /* @__PURE__ */ l(
527
- et,
526
+ return /* @__PURE__ */ h(
527
+ nt,
528
528
  {
529
- scope: o,
530
- disabled: n,
531
- direction: r,
532
- orientation: c,
533
- children: /* @__PURE__ */ l(K.Slot, { scope: o, children: /* @__PURE__ */ l(
534
- _.div,
529
+ scope: t,
530
+ disabled: r,
531
+ direction: n,
532
+ orientation: s,
533
+ children: /* @__PURE__ */ h(Se.Slot, { scope: t, children: /* @__PURE__ */ h(
534
+ Y.div,
535
535
  {
536
- ...s,
537
- "data-orientation": c,
538
- ref: d,
539
- onKeyDown: n ? void 0 : A
536
+ ...a,
537
+ "data-orientation": s,
538
+ ref: i,
539
+ onKeyDown: r ? void 0 : A
540
540
  }
541
541
  ) })
542
542
  }
543
543
  );
544
544
  }
545
- ), O = "AccordionItem", [tt, z] = k(O), de = h.forwardRef(
546
- (e, t) => {
547
- const { __scopeAccordion: o, value: n, ...r } = e, c = D(O, o), s = Ze(O, o), a = q(o), d = ee(), u = n && s.value.includes(n) || !1, p = c.disabled || e.disabled;
548
- return /* @__PURE__ */ l(
549
- tt,
545
+ ), ae = "AccordionItem", [st, Ne] = le(ae), ro = I.forwardRef(
546
+ (e, o) => {
547
+ const { __scopeAccordion: t, value: r, ...n } = e, s = ce(ae, t), a = et(ae, t), l = Ie(t), i = qe(), u = r && a.value.includes(r) || !1, p = s.disabled || e.disabled;
548
+ return /* @__PURE__ */ h(
549
+ st,
550
550
  {
551
- scope: o,
551
+ scope: t,
552
552
  open: u,
553
553
  disabled: p,
554
- triggerId: d,
555
- children: /* @__PURE__ */ l(
556
- He,
554
+ triggerId: i,
555
+ children: /* @__PURE__ */ h(
556
+ Ho,
557
557
  {
558
- "data-orientation": c.orientation,
559
- "data-state": ge(u),
560
- ...a,
561
- ...r,
562
- ref: t,
558
+ "data-orientation": s.orientation,
559
+ "data-state": co(u),
560
+ ...l,
561
+ ...n,
562
+ ref: o,
563
563
  disabled: p,
564
564
  open: u,
565
- onOpenChange: (f) => {
566
- f ? s.onItemOpen(n) : s.onItemClose(n);
565
+ onOpenChange: (b) => {
566
+ b ? a.onItemOpen(r) : a.onItemClose(r);
567
567
  }
568
568
  }
569
569
  )
@@ -571,52 +571,52 @@ var [ae, Ze] = k(R), [se, Je] = k(
571
571
  );
572
572
  }
573
573
  );
574
- de.displayName = O;
575
- var ue = "AccordionHeader", fe = h.forwardRef(
576
- (e, t) => {
577
- const { __scopeAccordion: o, ...n } = e, r = D(R, o), c = z(ue, o);
578
- return /* @__PURE__ */ l(
579
- _.h3,
574
+ ro.displayName = ae;
575
+ var no = "AccordionHeader", so = I.forwardRef(
576
+ (e, o) => {
577
+ const { __scopeAccordion: t, ...r } = e, n = ce(O, t), s = Ne(no, t);
578
+ return /* @__PURE__ */ h(
579
+ Y.h3,
580
580
  {
581
- "data-orientation": r.orientation,
582
- "data-state": ge(c.open),
583
- "data-disabled": c.disabled ? "" : void 0,
584
- ...n,
585
- ref: t
581
+ "data-orientation": n.orientation,
582
+ "data-state": co(s.open),
583
+ "data-disabled": s.disabled ? "" : void 0,
584
+ ...r,
585
+ ref: o
586
586
  }
587
587
  );
588
588
  }
589
589
  );
590
- fe.displayName = ue;
591
- var F = "AccordionTrigger", pe = h.forwardRef(
592
- (e, t) => {
593
- const { __scopeAccordion: o, ...n } = e, r = D(R, o), c = z(F, o), s = Je(F, o), a = q(o);
594
- return /* @__PURE__ */ l(K.ItemSlot, { scope: o, children: /* @__PURE__ */ l(
595
- je,
590
+ so.displayName = no;
591
+ var he = "AccordionTrigger", ao = I.forwardRef(
592
+ (e, o) => {
593
+ const { __scopeAccordion: t, ...r } = e, n = ce(O, t), s = Ne(he, t), a = ot(he, t), l = Ie(t);
594
+ return /* @__PURE__ */ h(Se.ItemSlot, { scope: t, children: /* @__PURE__ */ h(
595
+ qo,
596
596
  {
597
- "aria-disabled": c.open && !s.collapsible || void 0,
598
- "data-orientation": r.orientation,
599
- id: c.triggerId,
600
- ...a,
601
- ...n,
602
- ref: t
597
+ "aria-disabled": s.open && !a.collapsible || void 0,
598
+ "data-orientation": n.orientation,
599
+ id: s.triggerId,
600
+ ...l,
601
+ ...r,
602
+ ref: o
603
603
  }
604
604
  ) });
605
605
  }
606
606
  );
607
- pe.displayName = F;
608
- var me = "AccordionContent", ve = h.forwardRef(
609
- (e, t) => {
610
- const { __scopeAccordion: o, ...n } = e, r = D(R, o), c = z(me, o), s = q(o);
611
- return /* @__PURE__ */ l(
612
- Be,
607
+ ao.displayName = he;
608
+ var io = "AccordionContent", lo = I.forwardRef(
609
+ (e, o) => {
610
+ const { __scopeAccordion: t, ...r } = e, n = ce(O, t), s = Ne(io, t), a = Ie(t);
611
+ return /* @__PURE__ */ h(
612
+ Ko,
613
613
  {
614
614
  role: "region",
615
- "aria-labelledby": c.triggerId,
616
- "data-orientation": r.orientation,
617
- ...s,
618
- ...n,
619
- ref: t,
615
+ "aria-labelledby": s.triggerId,
616
+ "data-orientation": n.orientation,
617
+ ...a,
618
+ ...r,
619
+ ref: o,
620
620
  style: {
621
621
  "--radix-accordion-content-height": "var(--radix-collapsible-content-height)",
622
622
  "--radix-accordion-content-width": "var(--radix-collapsible-content-width)",
@@ -626,68 +626,2796 @@ var me = "AccordionContent", ve = h.forwardRef(
626
626
  );
627
627
  }
628
628
  );
629
- ve.displayName = me;
630
- function ge(e) {
629
+ lo.displayName = io;
630
+ function co(e) {
631
631
  return e ? "open" : "closed";
632
632
  }
633
- var ot = ie, nt = de, rt = fe, ct = pe, it = ve;
634
- function he(e) {
635
- var t, o, n = "";
636
- if (typeof e == "string" || typeof e == "number") n += e;
633
+ var at = Qe, it = ro, lt = so, ct = ao, dt = lo;
634
+ function uo(e) {
635
+ var o, t, r = "";
636
+ if (typeof e == "string" || typeof e == "number") r += e;
637
637
  else if (typeof e == "object") if (Array.isArray(e)) {
638
- var r = e.length;
639
- for (t = 0; t < r; t++) e[t] && (o = he(e[t])) && (n && (n += " "), n += o);
640
- } else for (o in e) e[o] && (n && (n += " "), n += o);
641
- return n;
642
- }
643
- function E() {
644
- for (var e, t, o = 0, n = "", r = arguments.length; o < r; o++) (e = arguments[o]) && (t = he(e)) && (n && (n += " "), n += t);
645
- return n;
646
- }
647
- function at({ children: e, className: t, ...o }) {
648
- const { colorScheme: n } = Y();
649
- return /* @__PURE__ */ l(
650
- nt,
638
+ var n = e.length;
639
+ for (o = 0; o < n; o++) e[o] && (t = uo(e[o])) && (r && (r += " "), r += t);
640
+ } else for (t in e) e[t] && (r && (r += " "), r += t);
641
+ return r;
642
+ }
643
+ function ut() {
644
+ for (var e, o, t = 0, r = "", n = arguments.length; t < n; t++) (e = arguments[t]) && (o = uo(e)) && (r && (r += " "), r += o);
645
+ return r;
646
+ }
647
+ const Pe = "-", mt = (e) => {
648
+ const o = ft(e), {
649
+ conflictingClassGroups: t,
650
+ conflictingClassGroupModifiers: r
651
+ } = e;
652
+ return {
653
+ getClassGroupId: (a) => {
654
+ const l = a.split(Pe);
655
+ return l[0] === "" && l.length !== 1 && l.shift(), mo(l, o) || pt(a);
656
+ },
657
+ getConflictingClassGroupIds: (a, l) => {
658
+ const i = t[a] || [];
659
+ return l && r[a] ? [...i, ...r[a]] : i;
660
+ }
661
+ };
662
+ }, mo = (e, o) => {
663
+ if (e.length === 0)
664
+ return o.classGroupId;
665
+ const t = e[0], r = o.nextPart.get(t), n = r ? mo(e.slice(1), r) : void 0;
666
+ if (n)
667
+ return n;
668
+ if (o.validators.length === 0)
669
+ return;
670
+ const s = e.join(Pe);
671
+ return o.validators.find(({
672
+ validator: a
673
+ }) => a(s))?.classGroupId;
674
+ }, Ve = /^\[(.+)\]$/, pt = (e) => {
675
+ if (Ve.test(e)) {
676
+ const o = Ve.exec(e)[1], t = o?.substring(0, o.indexOf(":"));
677
+ if (t)
678
+ return "arbitrary.." + t;
679
+ }
680
+ }, ft = (e) => {
681
+ const {
682
+ theme: o,
683
+ classGroups: t
684
+ } = e, r = {
685
+ nextPart: /* @__PURE__ */ new Map(),
686
+ validators: []
687
+ };
688
+ for (const n in t)
689
+ ve(t[n], r, n, o);
690
+ return r;
691
+ }, ve = (e, o, t, r) => {
692
+ e.forEach((n) => {
693
+ if (typeof n == "string") {
694
+ const s = n === "" ? o : je(o, n);
695
+ s.classGroupId = t;
696
+ return;
697
+ }
698
+ if (typeof n == "function") {
699
+ if (gt(n)) {
700
+ ve(n(r), o, t, r);
701
+ return;
702
+ }
703
+ o.validators.push({
704
+ validator: n,
705
+ classGroupId: t
706
+ });
707
+ return;
708
+ }
709
+ Object.entries(n).forEach(([s, a]) => {
710
+ ve(a, je(o, s), t, r);
711
+ });
712
+ });
713
+ }, je = (e, o) => {
714
+ let t = e;
715
+ return o.split(Pe).forEach((r) => {
716
+ t.nextPart.has(r) || t.nextPart.set(r, {
717
+ nextPart: /* @__PURE__ */ new Map(),
718
+ validators: []
719
+ }), t = t.nextPart.get(r);
720
+ }), t;
721
+ }, gt = (e) => e.isThemeGetter, bt = (e) => {
722
+ if (e < 1)
723
+ return {
724
+ get: () => {
725
+ },
726
+ set: () => {
727
+ }
728
+ };
729
+ let o = 0, t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map();
730
+ const n = (s, a) => {
731
+ t.set(s, a), o++, o > e && (o = 0, r = t, t = /* @__PURE__ */ new Map());
732
+ };
733
+ return {
734
+ get(s) {
735
+ let a = t.get(s);
736
+ if (a !== void 0)
737
+ return a;
738
+ if ((a = r.get(s)) !== void 0)
739
+ return n(s, a), a;
740
+ },
741
+ set(s, a) {
742
+ t.has(s) ? t.set(s, a) : n(s, a);
743
+ }
744
+ };
745
+ }, xe = "!", ye = ":", ht = ye.length, vt = (e) => {
746
+ const {
747
+ prefix: o,
748
+ experimentalParseClassName: t
749
+ } = e;
750
+ let r = (n) => {
751
+ const s = [];
752
+ let a = 0, l = 0, i = 0, u;
753
+ for (let C = 0; C < n.length; C++) {
754
+ let y = n[C];
755
+ if (a === 0 && l === 0) {
756
+ if (y === ye) {
757
+ s.push(n.slice(i, C)), i = C + ht;
758
+ continue;
759
+ }
760
+ if (y === "/") {
761
+ u = C;
762
+ continue;
763
+ }
764
+ }
765
+ y === "[" ? a++ : y === "]" ? a-- : y === "(" ? l++ : y === ")" && l--;
766
+ }
767
+ const p = s.length === 0 ? n : n.substring(i), b = xt(p), A = b !== p, w = u && u > i ? u - i : void 0;
768
+ return {
769
+ modifiers: s,
770
+ hasImportantModifier: A,
771
+ baseClassName: b,
772
+ maybePostfixModifierPosition: w
773
+ };
774
+ };
775
+ if (o) {
776
+ const n = o + ye, s = r;
777
+ r = (a) => a.startsWith(n) ? s(a.substring(n.length)) : {
778
+ isExternal: !0,
779
+ modifiers: [],
780
+ hasImportantModifier: !1,
781
+ baseClassName: a,
782
+ maybePostfixModifierPosition: void 0
783
+ };
784
+ }
785
+ if (t) {
786
+ const n = r;
787
+ r = (s) => t({
788
+ className: s,
789
+ parseClassName: n
790
+ });
791
+ }
792
+ return r;
793
+ }, xt = (e) => e.endsWith(xe) ? e.substring(0, e.length - 1) : e.startsWith(xe) ? e.substring(1) : e, yt = (e) => {
794
+ const o = Object.fromEntries(e.orderSensitiveModifiers.map((r) => [r, !0]));
795
+ return (r) => {
796
+ if (r.length <= 1)
797
+ return r;
798
+ const n = [];
799
+ let s = [];
800
+ return r.forEach((a) => {
801
+ a[0] === "[" || o[a] ? (n.push(...s.sort(), a), s = []) : s.push(a);
802
+ }), n.push(...s.sort()), n;
803
+ };
804
+ }, wt = (e) => ({
805
+ cache: bt(e.cacheSize),
806
+ parseClassName: vt(e),
807
+ sortModifiers: yt(e),
808
+ ...mt(e)
809
+ }), kt = /\s+/, Ct = (e, o) => {
810
+ const {
811
+ parseClassName: t,
812
+ getClassGroupId: r,
813
+ getConflictingClassGroupIds: n,
814
+ sortModifiers: s
815
+ } = o, a = [], l = e.trim().split(kt);
816
+ let i = "";
817
+ for (let u = l.length - 1; u >= 0; u -= 1) {
818
+ const p = l[u], {
819
+ isExternal: b,
820
+ modifiers: A,
821
+ hasImportantModifier: w,
822
+ baseClassName: C,
823
+ maybePostfixModifierPosition: y
824
+ } = t(p);
825
+ if (b) {
826
+ i = p + (i.length > 0 ? " " + i : i);
827
+ continue;
828
+ }
829
+ let k = !!y, R = r(k ? C.substring(0, y) : C);
830
+ if (!R) {
831
+ if (!k) {
832
+ i = p + (i.length > 0 ? " " + i : i);
833
+ continue;
834
+ }
835
+ if (R = r(C), !R) {
836
+ i = p + (i.length > 0 ? " " + i : i);
837
+ continue;
838
+ }
839
+ k = !1;
840
+ }
841
+ const x = s(A).join(":"), S = w ? x + xe : x, P = S + R;
842
+ if (a.includes(P))
843
+ continue;
844
+ a.push(P);
845
+ const T = n(R, k);
846
+ for (let E = 0; E < T.length; ++E) {
847
+ const L = T[E];
848
+ a.push(S + L);
849
+ }
850
+ i = p + (i.length > 0 ? " " + i : i);
851
+ }
852
+ return i;
853
+ };
854
+ function At() {
855
+ let e = 0, o, t, r = "";
856
+ for (; e < arguments.length; )
857
+ (o = arguments[e++]) && (t = po(o)) && (r && (r += " "), r += t);
858
+ return r;
859
+ }
860
+ const po = (e) => {
861
+ if (typeof e == "string")
862
+ return e;
863
+ let o, t = "";
864
+ for (let r = 0; r < e.length; r++)
865
+ e[r] && (o = po(e[r])) && (t && (t += " "), t += o);
866
+ return t;
867
+ };
868
+ function Rt(e, ...o) {
869
+ let t, r, n, s = a;
870
+ function a(i) {
871
+ const u = o.reduce((p, b) => b(p), e());
872
+ return t = wt(u), r = t.cache.get, n = t.cache.set, s = l, l(i);
873
+ }
874
+ function l(i) {
875
+ const u = r(i);
876
+ if (u)
877
+ return u;
878
+ const p = Ct(i, t);
879
+ return n(i, p), p;
880
+ }
881
+ return function() {
882
+ return s(At.apply(null, arguments));
883
+ };
884
+ }
885
+ const N = (e) => {
886
+ const o = (t) => t[e] || [];
887
+ return o.isThemeGetter = !0, o;
888
+ }, fo = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, go = /^\((?:(\w[\w-]*):)?(.+)\)$/i, St = /^\d+\/\d+$/, It = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Nt = /\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$/, Pt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Mt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Et = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, W = (e) => St.test(e), v = (e) => !!e && !Number.isNaN(Number(e)), V = (e) => !!e && Number.isInteger(Number(e)), pe = (e) => e.endsWith("%") && v(e.slice(0, -1)), D = (e) => It.test(e), _t = () => !0, Tt = (e) => (
889
+ // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
890
+ // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
891
+ // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
892
+ Nt.test(e) && !Pt.test(e)
893
+ ), bo = () => !1, zt = (e) => Mt.test(e), Ot = (e) => Et.test(e), Lt = (e) => !c(e) && !d(e), Gt = (e) => H(e, xo, bo), c = (e) => fo.test(e), F = (e) => H(e, yo, Tt), fe = (e) => H(e, Ft, v), Fe = (e) => H(e, ho, bo), $t = (e) => H(e, vo, Ot), ne = (e) => H(e, wo, zt), d = (e) => go.test(e), K = (e) => q(e, yo), Dt = (e) => q(e, Ut), Ue = (e) => q(e, ho), Vt = (e) => q(e, xo), jt = (e) => q(e, vo), se = (e) => q(e, wo, !0), H = (e, o, t) => {
894
+ const r = fo.exec(e);
895
+ return r ? r[1] ? o(r[1]) : t(r[2]) : !1;
896
+ }, q = (e, o, t = !1) => {
897
+ const r = go.exec(e);
898
+ return r ? r[1] ? o(r[1]) : t : !1;
899
+ }, ho = (e) => e === "position" || e === "percentage", vo = (e) => e === "image" || e === "url", xo = (e) => e === "length" || e === "size" || e === "bg-size", yo = (e) => e === "length", Ft = (e) => e === "number", Ut = (e) => e === "family-name", wo = (e) => e === "shadow", Wt = () => {
900
+ const e = N("color"), o = N("font"), t = N("text"), r = N("font-weight"), n = N("tracking"), s = N("leading"), a = N("breakpoint"), l = N("container"), i = N("spacing"), u = N("radius"), p = N("shadow"), b = N("inset-shadow"), A = N("text-shadow"), w = N("drop-shadow"), C = N("blur"), y = N("perspective"), k = N("aspect"), R = N("ease"), x = N("animate"), S = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], P = () => [
901
+ "center",
902
+ "top",
903
+ "bottom",
904
+ "left",
905
+ "right",
906
+ "top-left",
907
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
908
+ "left-top",
909
+ "top-right",
910
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
911
+ "right-top",
912
+ "bottom-right",
913
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
914
+ "right-bottom",
915
+ "bottom-left",
916
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
917
+ "left-bottom"
918
+ ], T = () => [...P(), d, c], E = () => ["auto", "hidden", "clip", "visible", "scroll"], L = () => ["auto", "contain", "none"], g = () => [d, c, i], G = () => [W, "full", "auto", ...g()], Ee = () => [V, "none", "subgrid", d, c], _e = () => ["auto", {
919
+ span: ["full", V, d, c]
920
+ }, V, d, c], Z = () => [V, "auto", d, c], Te = () => ["auto", "min", "max", "fr", d, c], de = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], U = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], $ = () => ["auto", ...g()], j = () => [W, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...g()], f = () => [e, d, c], ze = () => [...P(), Ue, Fe, {
921
+ position: [d, c]
922
+ }], Oe = () => ["no-repeat", {
923
+ repeat: ["", "x", "y", "space", "round"]
924
+ }], Le = () => ["auto", "cover", "contain", Vt, Gt, {
925
+ size: [d, c]
926
+ }], ue = () => [pe, K, F], _ = () => [
927
+ // Deprecated since Tailwind CSS v4.0.0
928
+ "",
929
+ "none",
930
+ "full",
931
+ u,
932
+ d,
933
+ c
934
+ ], z = () => ["", v, K, F], Q = () => ["solid", "dashed", "dotted", "double"], Ge = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], M = () => [v, pe, Ue, Fe], $e = () => [
935
+ // Deprecated since Tailwind CSS v4.0.0
936
+ "",
937
+ "none",
938
+ C,
939
+ d,
940
+ c
941
+ ], ee = () => ["none", v, d, c], oe = () => ["none", v, d, c], me = () => [v, d, c], te = () => [W, "full", ...g()];
942
+ return {
943
+ cacheSize: 500,
944
+ theme: {
945
+ animate: ["spin", "ping", "pulse", "bounce"],
946
+ aspect: ["video"],
947
+ blur: [D],
948
+ breakpoint: [D],
949
+ color: [_t],
950
+ container: [D],
951
+ "drop-shadow": [D],
952
+ ease: ["in", "out", "in-out"],
953
+ font: [Lt],
954
+ "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
955
+ "inset-shadow": [D],
956
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
957
+ perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
958
+ radius: [D],
959
+ shadow: [D],
960
+ spacing: ["px", v],
961
+ text: [D],
962
+ "text-shadow": [D],
963
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
964
+ },
965
+ classGroups: {
966
+ // --------------
967
+ // --- Layout ---
968
+ // --------------
969
+ /**
970
+ * Aspect Ratio
971
+ * @see https://tailwindcss.com/docs/aspect-ratio
972
+ */
973
+ aspect: [{
974
+ aspect: ["auto", "square", W, c, d, k]
975
+ }],
976
+ /**
977
+ * Container
978
+ * @see https://tailwindcss.com/docs/container
979
+ * @deprecated since Tailwind CSS v4.0.0
980
+ */
981
+ container: ["container"],
982
+ /**
983
+ * Columns
984
+ * @see https://tailwindcss.com/docs/columns
985
+ */
986
+ columns: [{
987
+ columns: [v, c, d, l]
988
+ }],
989
+ /**
990
+ * Break After
991
+ * @see https://tailwindcss.com/docs/break-after
992
+ */
993
+ "break-after": [{
994
+ "break-after": S()
995
+ }],
996
+ /**
997
+ * Break Before
998
+ * @see https://tailwindcss.com/docs/break-before
999
+ */
1000
+ "break-before": [{
1001
+ "break-before": S()
1002
+ }],
1003
+ /**
1004
+ * Break Inside
1005
+ * @see https://tailwindcss.com/docs/break-inside
1006
+ */
1007
+ "break-inside": [{
1008
+ "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
1009
+ }],
1010
+ /**
1011
+ * Box Decoration Break
1012
+ * @see https://tailwindcss.com/docs/box-decoration-break
1013
+ */
1014
+ "box-decoration": [{
1015
+ "box-decoration": ["slice", "clone"]
1016
+ }],
1017
+ /**
1018
+ * Box Sizing
1019
+ * @see https://tailwindcss.com/docs/box-sizing
1020
+ */
1021
+ box: [{
1022
+ box: ["border", "content"]
1023
+ }],
1024
+ /**
1025
+ * Display
1026
+ * @see https://tailwindcss.com/docs/display
1027
+ */
1028
+ display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
1029
+ /**
1030
+ * Screen Reader Only
1031
+ * @see https://tailwindcss.com/docs/display#screen-reader-only
1032
+ */
1033
+ sr: ["sr-only", "not-sr-only"],
1034
+ /**
1035
+ * Floats
1036
+ * @see https://tailwindcss.com/docs/float
1037
+ */
1038
+ float: [{
1039
+ float: ["right", "left", "none", "start", "end"]
1040
+ }],
1041
+ /**
1042
+ * Clear
1043
+ * @see https://tailwindcss.com/docs/clear
1044
+ */
1045
+ clear: [{
1046
+ clear: ["left", "right", "both", "none", "start", "end"]
1047
+ }],
1048
+ /**
1049
+ * Isolation
1050
+ * @see https://tailwindcss.com/docs/isolation
1051
+ */
1052
+ isolation: ["isolate", "isolation-auto"],
1053
+ /**
1054
+ * Object Fit
1055
+ * @see https://tailwindcss.com/docs/object-fit
1056
+ */
1057
+ "object-fit": [{
1058
+ object: ["contain", "cover", "fill", "none", "scale-down"]
1059
+ }],
1060
+ /**
1061
+ * Object Position
1062
+ * @see https://tailwindcss.com/docs/object-position
1063
+ */
1064
+ "object-position": [{
1065
+ object: T()
1066
+ }],
1067
+ /**
1068
+ * Overflow
1069
+ * @see https://tailwindcss.com/docs/overflow
1070
+ */
1071
+ overflow: [{
1072
+ overflow: E()
1073
+ }],
1074
+ /**
1075
+ * Overflow X
1076
+ * @see https://tailwindcss.com/docs/overflow
1077
+ */
1078
+ "overflow-x": [{
1079
+ "overflow-x": E()
1080
+ }],
1081
+ /**
1082
+ * Overflow Y
1083
+ * @see https://tailwindcss.com/docs/overflow
1084
+ */
1085
+ "overflow-y": [{
1086
+ "overflow-y": E()
1087
+ }],
1088
+ /**
1089
+ * Overscroll Behavior
1090
+ * @see https://tailwindcss.com/docs/overscroll-behavior
1091
+ */
1092
+ overscroll: [{
1093
+ overscroll: L()
1094
+ }],
1095
+ /**
1096
+ * Overscroll Behavior X
1097
+ * @see https://tailwindcss.com/docs/overscroll-behavior
1098
+ */
1099
+ "overscroll-x": [{
1100
+ "overscroll-x": L()
1101
+ }],
1102
+ /**
1103
+ * Overscroll Behavior Y
1104
+ * @see https://tailwindcss.com/docs/overscroll-behavior
1105
+ */
1106
+ "overscroll-y": [{
1107
+ "overscroll-y": L()
1108
+ }],
1109
+ /**
1110
+ * Position
1111
+ * @see https://tailwindcss.com/docs/position
1112
+ */
1113
+ position: ["static", "fixed", "absolute", "relative", "sticky"],
1114
+ /**
1115
+ * Top / Right / Bottom / Left
1116
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1117
+ */
1118
+ inset: [{
1119
+ inset: G()
1120
+ }],
1121
+ /**
1122
+ * Right / Left
1123
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1124
+ */
1125
+ "inset-x": [{
1126
+ "inset-x": G()
1127
+ }],
1128
+ /**
1129
+ * Top / Bottom
1130
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1131
+ */
1132
+ "inset-y": [{
1133
+ "inset-y": G()
1134
+ }],
1135
+ /**
1136
+ * Start
1137
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1138
+ */
1139
+ start: [{
1140
+ start: G()
1141
+ }],
1142
+ /**
1143
+ * End
1144
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1145
+ */
1146
+ end: [{
1147
+ end: G()
1148
+ }],
1149
+ /**
1150
+ * Top
1151
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1152
+ */
1153
+ top: [{
1154
+ top: G()
1155
+ }],
1156
+ /**
1157
+ * Right
1158
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1159
+ */
1160
+ right: [{
1161
+ right: G()
1162
+ }],
1163
+ /**
1164
+ * Bottom
1165
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1166
+ */
1167
+ bottom: [{
1168
+ bottom: G()
1169
+ }],
1170
+ /**
1171
+ * Left
1172
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1173
+ */
1174
+ left: [{
1175
+ left: G()
1176
+ }],
1177
+ /**
1178
+ * Visibility
1179
+ * @see https://tailwindcss.com/docs/visibility
1180
+ */
1181
+ visibility: ["visible", "invisible", "collapse"],
1182
+ /**
1183
+ * Z-Index
1184
+ * @see https://tailwindcss.com/docs/z-index
1185
+ */
1186
+ z: [{
1187
+ z: [V, "auto", d, c]
1188
+ }],
1189
+ // ------------------------
1190
+ // --- Flexbox and Grid ---
1191
+ // ------------------------
1192
+ /**
1193
+ * Flex Basis
1194
+ * @see https://tailwindcss.com/docs/flex-basis
1195
+ */
1196
+ basis: [{
1197
+ basis: [W, "full", "auto", l, ...g()]
1198
+ }],
1199
+ /**
1200
+ * Flex Direction
1201
+ * @see https://tailwindcss.com/docs/flex-direction
1202
+ */
1203
+ "flex-direction": [{
1204
+ flex: ["row", "row-reverse", "col", "col-reverse"]
1205
+ }],
1206
+ /**
1207
+ * Flex Wrap
1208
+ * @see https://tailwindcss.com/docs/flex-wrap
1209
+ */
1210
+ "flex-wrap": [{
1211
+ flex: ["nowrap", "wrap", "wrap-reverse"]
1212
+ }],
1213
+ /**
1214
+ * Flex
1215
+ * @see https://tailwindcss.com/docs/flex
1216
+ */
1217
+ flex: [{
1218
+ flex: [v, W, "auto", "initial", "none", c]
1219
+ }],
1220
+ /**
1221
+ * Flex Grow
1222
+ * @see https://tailwindcss.com/docs/flex-grow
1223
+ */
1224
+ grow: [{
1225
+ grow: ["", v, d, c]
1226
+ }],
1227
+ /**
1228
+ * Flex Shrink
1229
+ * @see https://tailwindcss.com/docs/flex-shrink
1230
+ */
1231
+ shrink: [{
1232
+ shrink: ["", v, d, c]
1233
+ }],
1234
+ /**
1235
+ * Order
1236
+ * @see https://tailwindcss.com/docs/order
1237
+ */
1238
+ order: [{
1239
+ order: [V, "first", "last", "none", d, c]
1240
+ }],
1241
+ /**
1242
+ * Grid Template Columns
1243
+ * @see https://tailwindcss.com/docs/grid-template-columns
1244
+ */
1245
+ "grid-cols": [{
1246
+ "grid-cols": Ee()
1247
+ }],
1248
+ /**
1249
+ * Grid Column Start / End
1250
+ * @see https://tailwindcss.com/docs/grid-column
1251
+ */
1252
+ "col-start-end": [{
1253
+ col: _e()
1254
+ }],
1255
+ /**
1256
+ * Grid Column Start
1257
+ * @see https://tailwindcss.com/docs/grid-column
1258
+ */
1259
+ "col-start": [{
1260
+ "col-start": Z()
1261
+ }],
1262
+ /**
1263
+ * Grid Column End
1264
+ * @see https://tailwindcss.com/docs/grid-column
1265
+ */
1266
+ "col-end": [{
1267
+ "col-end": Z()
1268
+ }],
1269
+ /**
1270
+ * Grid Template Rows
1271
+ * @see https://tailwindcss.com/docs/grid-template-rows
1272
+ */
1273
+ "grid-rows": [{
1274
+ "grid-rows": Ee()
1275
+ }],
1276
+ /**
1277
+ * Grid Row Start / End
1278
+ * @see https://tailwindcss.com/docs/grid-row
1279
+ */
1280
+ "row-start-end": [{
1281
+ row: _e()
1282
+ }],
1283
+ /**
1284
+ * Grid Row Start
1285
+ * @see https://tailwindcss.com/docs/grid-row
1286
+ */
1287
+ "row-start": [{
1288
+ "row-start": Z()
1289
+ }],
1290
+ /**
1291
+ * Grid Row End
1292
+ * @see https://tailwindcss.com/docs/grid-row
1293
+ */
1294
+ "row-end": [{
1295
+ "row-end": Z()
1296
+ }],
1297
+ /**
1298
+ * Grid Auto Flow
1299
+ * @see https://tailwindcss.com/docs/grid-auto-flow
1300
+ */
1301
+ "grid-flow": [{
1302
+ "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
1303
+ }],
1304
+ /**
1305
+ * Grid Auto Columns
1306
+ * @see https://tailwindcss.com/docs/grid-auto-columns
1307
+ */
1308
+ "auto-cols": [{
1309
+ "auto-cols": Te()
1310
+ }],
1311
+ /**
1312
+ * Grid Auto Rows
1313
+ * @see https://tailwindcss.com/docs/grid-auto-rows
1314
+ */
1315
+ "auto-rows": [{
1316
+ "auto-rows": Te()
1317
+ }],
1318
+ /**
1319
+ * Gap
1320
+ * @see https://tailwindcss.com/docs/gap
1321
+ */
1322
+ gap: [{
1323
+ gap: g()
1324
+ }],
1325
+ /**
1326
+ * Gap X
1327
+ * @see https://tailwindcss.com/docs/gap
1328
+ */
1329
+ "gap-x": [{
1330
+ "gap-x": g()
1331
+ }],
1332
+ /**
1333
+ * Gap Y
1334
+ * @see https://tailwindcss.com/docs/gap
1335
+ */
1336
+ "gap-y": [{
1337
+ "gap-y": g()
1338
+ }],
1339
+ /**
1340
+ * Justify Content
1341
+ * @see https://tailwindcss.com/docs/justify-content
1342
+ */
1343
+ "justify-content": [{
1344
+ justify: [...de(), "normal"]
1345
+ }],
1346
+ /**
1347
+ * Justify Items
1348
+ * @see https://tailwindcss.com/docs/justify-items
1349
+ */
1350
+ "justify-items": [{
1351
+ "justify-items": [...U(), "normal"]
1352
+ }],
1353
+ /**
1354
+ * Justify Self
1355
+ * @see https://tailwindcss.com/docs/justify-self
1356
+ */
1357
+ "justify-self": [{
1358
+ "justify-self": ["auto", ...U()]
1359
+ }],
1360
+ /**
1361
+ * Align Content
1362
+ * @see https://tailwindcss.com/docs/align-content
1363
+ */
1364
+ "align-content": [{
1365
+ content: ["normal", ...de()]
1366
+ }],
1367
+ /**
1368
+ * Align Items
1369
+ * @see https://tailwindcss.com/docs/align-items
1370
+ */
1371
+ "align-items": [{
1372
+ items: [...U(), {
1373
+ baseline: ["", "last"]
1374
+ }]
1375
+ }],
1376
+ /**
1377
+ * Align Self
1378
+ * @see https://tailwindcss.com/docs/align-self
1379
+ */
1380
+ "align-self": [{
1381
+ self: ["auto", ...U(), {
1382
+ baseline: ["", "last"]
1383
+ }]
1384
+ }],
1385
+ /**
1386
+ * Place Content
1387
+ * @see https://tailwindcss.com/docs/place-content
1388
+ */
1389
+ "place-content": [{
1390
+ "place-content": de()
1391
+ }],
1392
+ /**
1393
+ * Place Items
1394
+ * @see https://tailwindcss.com/docs/place-items
1395
+ */
1396
+ "place-items": [{
1397
+ "place-items": [...U(), "baseline"]
1398
+ }],
1399
+ /**
1400
+ * Place Self
1401
+ * @see https://tailwindcss.com/docs/place-self
1402
+ */
1403
+ "place-self": [{
1404
+ "place-self": ["auto", ...U()]
1405
+ }],
1406
+ // Spacing
1407
+ /**
1408
+ * Padding
1409
+ * @see https://tailwindcss.com/docs/padding
1410
+ */
1411
+ p: [{
1412
+ p: g()
1413
+ }],
1414
+ /**
1415
+ * Padding X
1416
+ * @see https://tailwindcss.com/docs/padding
1417
+ */
1418
+ px: [{
1419
+ px: g()
1420
+ }],
1421
+ /**
1422
+ * Padding Y
1423
+ * @see https://tailwindcss.com/docs/padding
1424
+ */
1425
+ py: [{
1426
+ py: g()
1427
+ }],
1428
+ /**
1429
+ * Padding Start
1430
+ * @see https://tailwindcss.com/docs/padding
1431
+ */
1432
+ ps: [{
1433
+ ps: g()
1434
+ }],
1435
+ /**
1436
+ * Padding End
1437
+ * @see https://tailwindcss.com/docs/padding
1438
+ */
1439
+ pe: [{
1440
+ pe: g()
1441
+ }],
1442
+ /**
1443
+ * Padding Top
1444
+ * @see https://tailwindcss.com/docs/padding
1445
+ */
1446
+ pt: [{
1447
+ pt: g()
1448
+ }],
1449
+ /**
1450
+ * Padding Right
1451
+ * @see https://tailwindcss.com/docs/padding
1452
+ */
1453
+ pr: [{
1454
+ pr: g()
1455
+ }],
1456
+ /**
1457
+ * Padding Bottom
1458
+ * @see https://tailwindcss.com/docs/padding
1459
+ */
1460
+ pb: [{
1461
+ pb: g()
1462
+ }],
1463
+ /**
1464
+ * Padding Left
1465
+ * @see https://tailwindcss.com/docs/padding
1466
+ */
1467
+ pl: [{
1468
+ pl: g()
1469
+ }],
1470
+ /**
1471
+ * Margin
1472
+ * @see https://tailwindcss.com/docs/margin
1473
+ */
1474
+ m: [{
1475
+ m: $()
1476
+ }],
1477
+ /**
1478
+ * Margin X
1479
+ * @see https://tailwindcss.com/docs/margin
1480
+ */
1481
+ mx: [{
1482
+ mx: $()
1483
+ }],
1484
+ /**
1485
+ * Margin Y
1486
+ * @see https://tailwindcss.com/docs/margin
1487
+ */
1488
+ my: [{
1489
+ my: $()
1490
+ }],
1491
+ /**
1492
+ * Margin Start
1493
+ * @see https://tailwindcss.com/docs/margin
1494
+ */
1495
+ ms: [{
1496
+ ms: $()
1497
+ }],
1498
+ /**
1499
+ * Margin End
1500
+ * @see https://tailwindcss.com/docs/margin
1501
+ */
1502
+ me: [{
1503
+ me: $()
1504
+ }],
1505
+ /**
1506
+ * Margin Top
1507
+ * @see https://tailwindcss.com/docs/margin
1508
+ */
1509
+ mt: [{
1510
+ mt: $()
1511
+ }],
1512
+ /**
1513
+ * Margin Right
1514
+ * @see https://tailwindcss.com/docs/margin
1515
+ */
1516
+ mr: [{
1517
+ mr: $()
1518
+ }],
1519
+ /**
1520
+ * Margin Bottom
1521
+ * @see https://tailwindcss.com/docs/margin
1522
+ */
1523
+ mb: [{
1524
+ mb: $()
1525
+ }],
1526
+ /**
1527
+ * Margin Left
1528
+ * @see https://tailwindcss.com/docs/margin
1529
+ */
1530
+ ml: [{
1531
+ ml: $()
1532
+ }],
1533
+ /**
1534
+ * Space Between X
1535
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1536
+ */
1537
+ "space-x": [{
1538
+ "space-x": g()
1539
+ }],
1540
+ /**
1541
+ * Space Between X Reverse
1542
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1543
+ */
1544
+ "space-x-reverse": ["space-x-reverse"],
1545
+ /**
1546
+ * Space Between Y
1547
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1548
+ */
1549
+ "space-y": [{
1550
+ "space-y": g()
1551
+ }],
1552
+ /**
1553
+ * Space Between Y Reverse
1554
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1555
+ */
1556
+ "space-y-reverse": ["space-y-reverse"],
1557
+ // --------------
1558
+ // --- Sizing ---
1559
+ // --------------
1560
+ /**
1561
+ * Size
1562
+ * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
1563
+ */
1564
+ size: [{
1565
+ size: j()
1566
+ }],
1567
+ /**
1568
+ * Width
1569
+ * @see https://tailwindcss.com/docs/width
1570
+ */
1571
+ w: [{
1572
+ w: [l, "screen", ...j()]
1573
+ }],
1574
+ /**
1575
+ * Min-Width
1576
+ * @see https://tailwindcss.com/docs/min-width
1577
+ */
1578
+ "min-w": [{
1579
+ "min-w": [
1580
+ l,
1581
+ "screen",
1582
+ /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1583
+ "none",
1584
+ ...j()
1585
+ ]
1586
+ }],
1587
+ /**
1588
+ * Max-Width
1589
+ * @see https://tailwindcss.com/docs/max-width
1590
+ */
1591
+ "max-w": [{
1592
+ "max-w": [
1593
+ l,
1594
+ "screen",
1595
+ "none",
1596
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1597
+ "prose",
1598
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1599
+ {
1600
+ screen: [a]
1601
+ },
1602
+ ...j()
1603
+ ]
1604
+ }],
1605
+ /**
1606
+ * Height
1607
+ * @see https://tailwindcss.com/docs/height
1608
+ */
1609
+ h: [{
1610
+ h: ["screen", "lh", ...j()]
1611
+ }],
1612
+ /**
1613
+ * Min-Height
1614
+ * @see https://tailwindcss.com/docs/min-height
1615
+ */
1616
+ "min-h": [{
1617
+ "min-h": ["screen", "lh", "none", ...j()]
1618
+ }],
1619
+ /**
1620
+ * Max-Height
1621
+ * @see https://tailwindcss.com/docs/max-height
1622
+ */
1623
+ "max-h": [{
1624
+ "max-h": ["screen", "lh", ...j()]
1625
+ }],
1626
+ // ------------------
1627
+ // --- Typography ---
1628
+ // ------------------
1629
+ /**
1630
+ * Font Size
1631
+ * @see https://tailwindcss.com/docs/font-size
1632
+ */
1633
+ "font-size": [{
1634
+ text: ["base", t, K, F]
1635
+ }],
1636
+ /**
1637
+ * Font Smoothing
1638
+ * @see https://tailwindcss.com/docs/font-smoothing
1639
+ */
1640
+ "font-smoothing": ["antialiased", "subpixel-antialiased"],
1641
+ /**
1642
+ * Font Style
1643
+ * @see https://tailwindcss.com/docs/font-style
1644
+ */
1645
+ "font-style": ["italic", "not-italic"],
1646
+ /**
1647
+ * Font Weight
1648
+ * @see https://tailwindcss.com/docs/font-weight
1649
+ */
1650
+ "font-weight": [{
1651
+ font: [r, d, fe]
1652
+ }],
1653
+ /**
1654
+ * Font Stretch
1655
+ * @see https://tailwindcss.com/docs/font-stretch
1656
+ */
1657
+ "font-stretch": [{
1658
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", pe, c]
1659
+ }],
1660
+ /**
1661
+ * Font Family
1662
+ * @see https://tailwindcss.com/docs/font-family
1663
+ */
1664
+ "font-family": [{
1665
+ font: [Dt, c, o]
1666
+ }],
1667
+ /**
1668
+ * Font Variant Numeric
1669
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1670
+ */
1671
+ "fvn-normal": ["normal-nums"],
1672
+ /**
1673
+ * Font Variant Numeric
1674
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1675
+ */
1676
+ "fvn-ordinal": ["ordinal"],
1677
+ /**
1678
+ * Font Variant Numeric
1679
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1680
+ */
1681
+ "fvn-slashed-zero": ["slashed-zero"],
1682
+ /**
1683
+ * Font Variant Numeric
1684
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1685
+ */
1686
+ "fvn-figure": ["lining-nums", "oldstyle-nums"],
1687
+ /**
1688
+ * Font Variant Numeric
1689
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1690
+ */
1691
+ "fvn-spacing": ["proportional-nums", "tabular-nums"],
1692
+ /**
1693
+ * Font Variant Numeric
1694
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1695
+ */
1696
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1697
+ /**
1698
+ * Letter Spacing
1699
+ * @see https://tailwindcss.com/docs/letter-spacing
1700
+ */
1701
+ tracking: [{
1702
+ tracking: [n, d, c]
1703
+ }],
1704
+ /**
1705
+ * Line Clamp
1706
+ * @see https://tailwindcss.com/docs/line-clamp
1707
+ */
1708
+ "line-clamp": [{
1709
+ "line-clamp": [v, "none", d, fe]
1710
+ }],
1711
+ /**
1712
+ * Line Height
1713
+ * @see https://tailwindcss.com/docs/line-height
1714
+ */
1715
+ leading: [{
1716
+ leading: [
1717
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1718
+ s,
1719
+ ...g()
1720
+ ]
1721
+ }],
1722
+ /**
1723
+ * List Style Image
1724
+ * @see https://tailwindcss.com/docs/list-style-image
1725
+ */
1726
+ "list-image": [{
1727
+ "list-image": ["none", d, c]
1728
+ }],
1729
+ /**
1730
+ * List Style Position
1731
+ * @see https://tailwindcss.com/docs/list-style-position
1732
+ */
1733
+ "list-style-position": [{
1734
+ list: ["inside", "outside"]
1735
+ }],
1736
+ /**
1737
+ * List Style Type
1738
+ * @see https://tailwindcss.com/docs/list-style-type
1739
+ */
1740
+ "list-style-type": [{
1741
+ list: ["disc", "decimal", "none", d, c]
1742
+ }],
1743
+ /**
1744
+ * Text Alignment
1745
+ * @see https://tailwindcss.com/docs/text-align
1746
+ */
1747
+ "text-alignment": [{
1748
+ text: ["left", "center", "right", "justify", "start", "end"]
1749
+ }],
1750
+ /**
1751
+ * Placeholder Color
1752
+ * @deprecated since Tailwind CSS v3.0.0
1753
+ * @see https://v3.tailwindcss.com/docs/placeholder-color
1754
+ */
1755
+ "placeholder-color": [{
1756
+ placeholder: f()
1757
+ }],
1758
+ /**
1759
+ * Text Color
1760
+ * @see https://tailwindcss.com/docs/text-color
1761
+ */
1762
+ "text-color": [{
1763
+ text: f()
1764
+ }],
1765
+ /**
1766
+ * Text Decoration
1767
+ * @see https://tailwindcss.com/docs/text-decoration
1768
+ */
1769
+ "text-decoration": ["underline", "overline", "line-through", "no-underline"],
1770
+ /**
1771
+ * Text Decoration Style
1772
+ * @see https://tailwindcss.com/docs/text-decoration-style
1773
+ */
1774
+ "text-decoration-style": [{
1775
+ decoration: [...Q(), "wavy"]
1776
+ }],
1777
+ /**
1778
+ * Text Decoration Thickness
1779
+ * @see https://tailwindcss.com/docs/text-decoration-thickness
1780
+ */
1781
+ "text-decoration-thickness": [{
1782
+ decoration: [v, "from-font", "auto", d, F]
1783
+ }],
1784
+ /**
1785
+ * Text Decoration Color
1786
+ * @see https://tailwindcss.com/docs/text-decoration-color
1787
+ */
1788
+ "text-decoration-color": [{
1789
+ decoration: f()
1790
+ }],
1791
+ /**
1792
+ * Text Underline Offset
1793
+ * @see https://tailwindcss.com/docs/text-underline-offset
1794
+ */
1795
+ "underline-offset": [{
1796
+ "underline-offset": [v, "auto", d, c]
1797
+ }],
1798
+ /**
1799
+ * Text Transform
1800
+ * @see https://tailwindcss.com/docs/text-transform
1801
+ */
1802
+ "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
1803
+ /**
1804
+ * Text Overflow
1805
+ * @see https://tailwindcss.com/docs/text-overflow
1806
+ */
1807
+ "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
1808
+ /**
1809
+ * Text Wrap
1810
+ * @see https://tailwindcss.com/docs/text-wrap
1811
+ */
1812
+ "text-wrap": [{
1813
+ text: ["wrap", "nowrap", "balance", "pretty"]
1814
+ }],
1815
+ /**
1816
+ * Text Indent
1817
+ * @see https://tailwindcss.com/docs/text-indent
1818
+ */
1819
+ indent: [{
1820
+ indent: g()
1821
+ }],
1822
+ /**
1823
+ * Vertical Alignment
1824
+ * @see https://tailwindcss.com/docs/vertical-align
1825
+ */
1826
+ "vertical-align": [{
1827
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", d, c]
1828
+ }],
1829
+ /**
1830
+ * Whitespace
1831
+ * @see https://tailwindcss.com/docs/whitespace
1832
+ */
1833
+ whitespace: [{
1834
+ whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
1835
+ }],
1836
+ /**
1837
+ * Word Break
1838
+ * @see https://tailwindcss.com/docs/word-break
1839
+ */
1840
+ break: [{
1841
+ break: ["normal", "words", "all", "keep"]
1842
+ }],
1843
+ /**
1844
+ * Overflow Wrap
1845
+ * @see https://tailwindcss.com/docs/overflow-wrap
1846
+ */
1847
+ wrap: [{
1848
+ wrap: ["break-word", "anywhere", "normal"]
1849
+ }],
1850
+ /**
1851
+ * Hyphens
1852
+ * @see https://tailwindcss.com/docs/hyphens
1853
+ */
1854
+ hyphens: [{
1855
+ hyphens: ["none", "manual", "auto"]
1856
+ }],
1857
+ /**
1858
+ * Content
1859
+ * @see https://tailwindcss.com/docs/content
1860
+ */
1861
+ content: [{
1862
+ content: ["none", d, c]
1863
+ }],
1864
+ // -------------------
1865
+ // --- Backgrounds ---
1866
+ // -------------------
1867
+ /**
1868
+ * Background Attachment
1869
+ * @see https://tailwindcss.com/docs/background-attachment
1870
+ */
1871
+ "bg-attachment": [{
1872
+ bg: ["fixed", "local", "scroll"]
1873
+ }],
1874
+ /**
1875
+ * Background Clip
1876
+ * @see https://tailwindcss.com/docs/background-clip
1877
+ */
1878
+ "bg-clip": [{
1879
+ "bg-clip": ["border", "padding", "content", "text"]
1880
+ }],
1881
+ /**
1882
+ * Background Origin
1883
+ * @see https://tailwindcss.com/docs/background-origin
1884
+ */
1885
+ "bg-origin": [{
1886
+ "bg-origin": ["border", "padding", "content"]
1887
+ }],
1888
+ /**
1889
+ * Background Position
1890
+ * @see https://tailwindcss.com/docs/background-position
1891
+ */
1892
+ "bg-position": [{
1893
+ bg: ze()
1894
+ }],
1895
+ /**
1896
+ * Background Repeat
1897
+ * @see https://tailwindcss.com/docs/background-repeat
1898
+ */
1899
+ "bg-repeat": [{
1900
+ bg: Oe()
1901
+ }],
1902
+ /**
1903
+ * Background Size
1904
+ * @see https://tailwindcss.com/docs/background-size
1905
+ */
1906
+ "bg-size": [{
1907
+ bg: Le()
1908
+ }],
1909
+ /**
1910
+ * Background Image
1911
+ * @see https://tailwindcss.com/docs/background-image
1912
+ */
1913
+ "bg-image": [{
1914
+ bg: ["none", {
1915
+ linear: [{
1916
+ to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1917
+ }, V, d, c],
1918
+ radial: ["", d, c],
1919
+ conic: [V, d, c]
1920
+ }, jt, $t]
1921
+ }],
1922
+ /**
1923
+ * Background Color
1924
+ * @see https://tailwindcss.com/docs/background-color
1925
+ */
1926
+ "bg-color": [{
1927
+ bg: f()
1928
+ }],
1929
+ /**
1930
+ * Gradient Color Stops From Position
1931
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1932
+ */
1933
+ "gradient-from-pos": [{
1934
+ from: ue()
1935
+ }],
1936
+ /**
1937
+ * Gradient Color Stops Via Position
1938
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1939
+ */
1940
+ "gradient-via-pos": [{
1941
+ via: ue()
1942
+ }],
1943
+ /**
1944
+ * Gradient Color Stops To Position
1945
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1946
+ */
1947
+ "gradient-to-pos": [{
1948
+ to: ue()
1949
+ }],
1950
+ /**
1951
+ * Gradient Color Stops From
1952
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1953
+ */
1954
+ "gradient-from": [{
1955
+ from: f()
1956
+ }],
1957
+ /**
1958
+ * Gradient Color Stops Via
1959
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1960
+ */
1961
+ "gradient-via": [{
1962
+ via: f()
1963
+ }],
1964
+ /**
1965
+ * Gradient Color Stops To
1966
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1967
+ */
1968
+ "gradient-to": [{
1969
+ to: f()
1970
+ }],
1971
+ // ---------------
1972
+ // --- Borders ---
1973
+ // ---------------
1974
+ /**
1975
+ * Border Radius
1976
+ * @see https://tailwindcss.com/docs/border-radius
1977
+ */
1978
+ rounded: [{
1979
+ rounded: _()
1980
+ }],
1981
+ /**
1982
+ * Border Radius Start
1983
+ * @see https://tailwindcss.com/docs/border-radius
1984
+ */
1985
+ "rounded-s": [{
1986
+ "rounded-s": _()
1987
+ }],
1988
+ /**
1989
+ * Border Radius End
1990
+ * @see https://tailwindcss.com/docs/border-radius
1991
+ */
1992
+ "rounded-e": [{
1993
+ "rounded-e": _()
1994
+ }],
1995
+ /**
1996
+ * Border Radius Top
1997
+ * @see https://tailwindcss.com/docs/border-radius
1998
+ */
1999
+ "rounded-t": [{
2000
+ "rounded-t": _()
2001
+ }],
2002
+ /**
2003
+ * Border Radius Right
2004
+ * @see https://tailwindcss.com/docs/border-radius
2005
+ */
2006
+ "rounded-r": [{
2007
+ "rounded-r": _()
2008
+ }],
2009
+ /**
2010
+ * Border Radius Bottom
2011
+ * @see https://tailwindcss.com/docs/border-radius
2012
+ */
2013
+ "rounded-b": [{
2014
+ "rounded-b": _()
2015
+ }],
2016
+ /**
2017
+ * Border Radius Left
2018
+ * @see https://tailwindcss.com/docs/border-radius
2019
+ */
2020
+ "rounded-l": [{
2021
+ "rounded-l": _()
2022
+ }],
2023
+ /**
2024
+ * Border Radius Start Start
2025
+ * @see https://tailwindcss.com/docs/border-radius
2026
+ */
2027
+ "rounded-ss": [{
2028
+ "rounded-ss": _()
2029
+ }],
2030
+ /**
2031
+ * Border Radius Start End
2032
+ * @see https://tailwindcss.com/docs/border-radius
2033
+ */
2034
+ "rounded-se": [{
2035
+ "rounded-se": _()
2036
+ }],
2037
+ /**
2038
+ * Border Radius End End
2039
+ * @see https://tailwindcss.com/docs/border-radius
2040
+ */
2041
+ "rounded-ee": [{
2042
+ "rounded-ee": _()
2043
+ }],
2044
+ /**
2045
+ * Border Radius End Start
2046
+ * @see https://tailwindcss.com/docs/border-radius
2047
+ */
2048
+ "rounded-es": [{
2049
+ "rounded-es": _()
2050
+ }],
2051
+ /**
2052
+ * Border Radius Top Left
2053
+ * @see https://tailwindcss.com/docs/border-radius
2054
+ */
2055
+ "rounded-tl": [{
2056
+ "rounded-tl": _()
2057
+ }],
2058
+ /**
2059
+ * Border Radius Top Right
2060
+ * @see https://tailwindcss.com/docs/border-radius
2061
+ */
2062
+ "rounded-tr": [{
2063
+ "rounded-tr": _()
2064
+ }],
2065
+ /**
2066
+ * Border Radius Bottom Right
2067
+ * @see https://tailwindcss.com/docs/border-radius
2068
+ */
2069
+ "rounded-br": [{
2070
+ "rounded-br": _()
2071
+ }],
2072
+ /**
2073
+ * Border Radius Bottom Left
2074
+ * @see https://tailwindcss.com/docs/border-radius
2075
+ */
2076
+ "rounded-bl": [{
2077
+ "rounded-bl": _()
2078
+ }],
2079
+ /**
2080
+ * Border Width
2081
+ * @see https://tailwindcss.com/docs/border-width
2082
+ */
2083
+ "border-w": [{
2084
+ border: z()
2085
+ }],
2086
+ /**
2087
+ * Border Width X
2088
+ * @see https://tailwindcss.com/docs/border-width
2089
+ */
2090
+ "border-w-x": [{
2091
+ "border-x": z()
2092
+ }],
2093
+ /**
2094
+ * Border Width Y
2095
+ * @see https://tailwindcss.com/docs/border-width
2096
+ */
2097
+ "border-w-y": [{
2098
+ "border-y": z()
2099
+ }],
2100
+ /**
2101
+ * Border Width Start
2102
+ * @see https://tailwindcss.com/docs/border-width
2103
+ */
2104
+ "border-w-s": [{
2105
+ "border-s": z()
2106
+ }],
2107
+ /**
2108
+ * Border Width End
2109
+ * @see https://tailwindcss.com/docs/border-width
2110
+ */
2111
+ "border-w-e": [{
2112
+ "border-e": z()
2113
+ }],
2114
+ /**
2115
+ * Border Width Top
2116
+ * @see https://tailwindcss.com/docs/border-width
2117
+ */
2118
+ "border-w-t": [{
2119
+ "border-t": z()
2120
+ }],
2121
+ /**
2122
+ * Border Width Right
2123
+ * @see https://tailwindcss.com/docs/border-width
2124
+ */
2125
+ "border-w-r": [{
2126
+ "border-r": z()
2127
+ }],
2128
+ /**
2129
+ * Border Width Bottom
2130
+ * @see https://tailwindcss.com/docs/border-width
2131
+ */
2132
+ "border-w-b": [{
2133
+ "border-b": z()
2134
+ }],
2135
+ /**
2136
+ * Border Width Left
2137
+ * @see https://tailwindcss.com/docs/border-width
2138
+ */
2139
+ "border-w-l": [{
2140
+ "border-l": z()
2141
+ }],
2142
+ /**
2143
+ * Divide Width X
2144
+ * @see https://tailwindcss.com/docs/border-width#between-children
2145
+ */
2146
+ "divide-x": [{
2147
+ "divide-x": z()
2148
+ }],
2149
+ /**
2150
+ * Divide Width X Reverse
2151
+ * @see https://tailwindcss.com/docs/border-width#between-children
2152
+ */
2153
+ "divide-x-reverse": ["divide-x-reverse"],
2154
+ /**
2155
+ * Divide Width Y
2156
+ * @see https://tailwindcss.com/docs/border-width#between-children
2157
+ */
2158
+ "divide-y": [{
2159
+ "divide-y": z()
2160
+ }],
2161
+ /**
2162
+ * Divide Width Y Reverse
2163
+ * @see https://tailwindcss.com/docs/border-width#between-children
2164
+ */
2165
+ "divide-y-reverse": ["divide-y-reverse"],
2166
+ /**
2167
+ * Border Style
2168
+ * @see https://tailwindcss.com/docs/border-style
2169
+ */
2170
+ "border-style": [{
2171
+ border: [...Q(), "hidden", "none"]
2172
+ }],
2173
+ /**
2174
+ * Divide Style
2175
+ * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
2176
+ */
2177
+ "divide-style": [{
2178
+ divide: [...Q(), "hidden", "none"]
2179
+ }],
2180
+ /**
2181
+ * Border Color
2182
+ * @see https://tailwindcss.com/docs/border-color
2183
+ */
2184
+ "border-color": [{
2185
+ border: f()
2186
+ }],
2187
+ /**
2188
+ * Border Color X
2189
+ * @see https://tailwindcss.com/docs/border-color
2190
+ */
2191
+ "border-color-x": [{
2192
+ "border-x": f()
2193
+ }],
2194
+ /**
2195
+ * Border Color Y
2196
+ * @see https://tailwindcss.com/docs/border-color
2197
+ */
2198
+ "border-color-y": [{
2199
+ "border-y": f()
2200
+ }],
2201
+ /**
2202
+ * Border Color S
2203
+ * @see https://tailwindcss.com/docs/border-color
2204
+ */
2205
+ "border-color-s": [{
2206
+ "border-s": f()
2207
+ }],
2208
+ /**
2209
+ * Border Color E
2210
+ * @see https://tailwindcss.com/docs/border-color
2211
+ */
2212
+ "border-color-e": [{
2213
+ "border-e": f()
2214
+ }],
2215
+ /**
2216
+ * Border Color Top
2217
+ * @see https://tailwindcss.com/docs/border-color
2218
+ */
2219
+ "border-color-t": [{
2220
+ "border-t": f()
2221
+ }],
2222
+ /**
2223
+ * Border Color Right
2224
+ * @see https://tailwindcss.com/docs/border-color
2225
+ */
2226
+ "border-color-r": [{
2227
+ "border-r": f()
2228
+ }],
2229
+ /**
2230
+ * Border Color Bottom
2231
+ * @see https://tailwindcss.com/docs/border-color
2232
+ */
2233
+ "border-color-b": [{
2234
+ "border-b": f()
2235
+ }],
2236
+ /**
2237
+ * Border Color Left
2238
+ * @see https://tailwindcss.com/docs/border-color
2239
+ */
2240
+ "border-color-l": [{
2241
+ "border-l": f()
2242
+ }],
2243
+ /**
2244
+ * Divide Color
2245
+ * @see https://tailwindcss.com/docs/divide-color
2246
+ */
2247
+ "divide-color": [{
2248
+ divide: f()
2249
+ }],
2250
+ /**
2251
+ * Outline Style
2252
+ * @see https://tailwindcss.com/docs/outline-style
2253
+ */
2254
+ "outline-style": [{
2255
+ outline: [...Q(), "none", "hidden"]
2256
+ }],
2257
+ /**
2258
+ * Outline Offset
2259
+ * @see https://tailwindcss.com/docs/outline-offset
2260
+ */
2261
+ "outline-offset": [{
2262
+ "outline-offset": [v, d, c]
2263
+ }],
2264
+ /**
2265
+ * Outline Width
2266
+ * @see https://tailwindcss.com/docs/outline-width
2267
+ */
2268
+ "outline-w": [{
2269
+ outline: ["", v, K, F]
2270
+ }],
2271
+ /**
2272
+ * Outline Color
2273
+ * @see https://tailwindcss.com/docs/outline-color
2274
+ */
2275
+ "outline-color": [{
2276
+ outline: f()
2277
+ }],
2278
+ // ---------------
2279
+ // --- Effects ---
2280
+ // ---------------
2281
+ /**
2282
+ * Box Shadow
2283
+ * @see https://tailwindcss.com/docs/box-shadow
2284
+ */
2285
+ shadow: [{
2286
+ shadow: [
2287
+ // Deprecated since Tailwind CSS v4.0.0
2288
+ "",
2289
+ "none",
2290
+ p,
2291
+ se,
2292
+ ne
2293
+ ]
2294
+ }],
2295
+ /**
2296
+ * Box Shadow Color
2297
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
2298
+ */
2299
+ "shadow-color": [{
2300
+ shadow: f()
2301
+ }],
2302
+ /**
2303
+ * Inset Box Shadow
2304
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
2305
+ */
2306
+ "inset-shadow": [{
2307
+ "inset-shadow": ["none", b, se, ne]
2308
+ }],
2309
+ /**
2310
+ * Inset Box Shadow Color
2311
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
2312
+ */
2313
+ "inset-shadow-color": [{
2314
+ "inset-shadow": f()
2315
+ }],
2316
+ /**
2317
+ * Ring Width
2318
+ * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
2319
+ */
2320
+ "ring-w": [{
2321
+ ring: z()
2322
+ }],
2323
+ /**
2324
+ * Ring Width Inset
2325
+ * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
2326
+ * @deprecated since Tailwind CSS v4.0.0
2327
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2328
+ */
2329
+ "ring-w-inset": ["ring-inset"],
2330
+ /**
2331
+ * Ring Color
2332
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
2333
+ */
2334
+ "ring-color": [{
2335
+ ring: f()
2336
+ }],
2337
+ /**
2338
+ * Ring Offset Width
2339
+ * @see https://v3.tailwindcss.com/docs/ring-offset-width
2340
+ * @deprecated since Tailwind CSS v4.0.0
2341
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2342
+ */
2343
+ "ring-offset-w": [{
2344
+ "ring-offset": [v, F]
2345
+ }],
2346
+ /**
2347
+ * Ring Offset Color
2348
+ * @see https://v3.tailwindcss.com/docs/ring-offset-color
2349
+ * @deprecated since Tailwind CSS v4.0.0
2350
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2351
+ */
2352
+ "ring-offset-color": [{
2353
+ "ring-offset": f()
2354
+ }],
2355
+ /**
2356
+ * Inset Ring Width
2357
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
2358
+ */
2359
+ "inset-ring-w": [{
2360
+ "inset-ring": z()
2361
+ }],
2362
+ /**
2363
+ * Inset Ring Color
2364
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
2365
+ */
2366
+ "inset-ring-color": [{
2367
+ "inset-ring": f()
2368
+ }],
2369
+ /**
2370
+ * Text Shadow
2371
+ * @see https://tailwindcss.com/docs/text-shadow
2372
+ */
2373
+ "text-shadow": [{
2374
+ "text-shadow": ["none", A, se, ne]
2375
+ }],
2376
+ /**
2377
+ * Text Shadow Color
2378
+ * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
2379
+ */
2380
+ "text-shadow-color": [{
2381
+ "text-shadow": f()
2382
+ }],
2383
+ /**
2384
+ * Opacity
2385
+ * @see https://tailwindcss.com/docs/opacity
2386
+ */
2387
+ opacity: [{
2388
+ opacity: [v, d, c]
2389
+ }],
2390
+ /**
2391
+ * Mix Blend Mode
2392
+ * @see https://tailwindcss.com/docs/mix-blend-mode
2393
+ */
2394
+ "mix-blend": [{
2395
+ "mix-blend": [...Ge(), "plus-darker", "plus-lighter"]
2396
+ }],
2397
+ /**
2398
+ * Background Blend Mode
2399
+ * @see https://tailwindcss.com/docs/background-blend-mode
2400
+ */
2401
+ "bg-blend": [{
2402
+ "bg-blend": Ge()
2403
+ }],
2404
+ /**
2405
+ * Mask Clip
2406
+ * @see https://tailwindcss.com/docs/mask-clip
2407
+ */
2408
+ "mask-clip": [{
2409
+ "mask-clip": ["border", "padding", "content", "fill", "stroke", "view"]
2410
+ }, "mask-no-clip"],
2411
+ /**
2412
+ * Mask Composite
2413
+ * @see https://tailwindcss.com/docs/mask-composite
2414
+ */
2415
+ "mask-composite": [{
2416
+ mask: ["add", "subtract", "intersect", "exclude"]
2417
+ }],
2418
+ /**
2419
+ * Mask Image
2420
+ * @see https://tailwindcss.com/docs/mask-image
2421
+ */
2422
+ "mask-image-linear-pos": [{
2423
+ "mask-linear": [v]
2424
+ }],
2425
+ "mask-image-linear-from-pos": [{
2426
+ "mask-linear-from": M()
2427
+ }],
2428
+ "mask-image-linear-to-pos": [{
2429
+ "mask-linear-to": M()
2430
+ }],
2431
+ "mask-image-linear-from-color": [{
2432
+ "mask-linear-from": f()
2433
+ }],
2434
+ "mask-image-linear-to-color": [{
2435
+ "mask-linear-to": f()
2436
+ }],
2437
+ "mask-image-t-from-pos": [{
2438
+ "mask-t-from": M()
2439
+ }],
2440
+ "mask-image-t-to-pos": [{
2441
+ "mask-t-to": M()
2442
+ }],
2443
+ "mask-image-t-from-color": [{
2444
+ "mask-t-from": f()
2445
+ }],
2446
+ "mask-image-t-to-color": [{
2447
+ "mask-t-to": f()
2448
+ }],
2449
+ "mask-image-r-from-pos": [{
2450
+ "mask-r-from": M()
2451
+ }],
2452
+ "mask-image-r-to-pos": [{
2453
+ "mask-r-to": M()
2454
+ }],
2455
+ "mask-image-r-from-color": [{
2456
+ "mask-r-from": f()
2457
+ }],
2458
+ "mask-image-r-to-color": [{
2459
+ "mask-r-to": f()
2460
+ }],
2461
+ "mask-image-b-from-pos": [{
2462
+ "mask-b-from": M()
2463
+ }],
2464
+ "mask-image-b-to-pos": [{
2465
+ "mask-b-to": M()
2466
+ }],
2467
+ "mask-image-b-from-color": [{
2468
+ "mask-b-from": f()
2469
+ }],
2470
+ "mask-image-b-to-color": [{
2471
+ "mask-b-to": f()
2472
+ }],
2473
+ "mask-image-l-from-pos": [{
2474
+ "mask-l-from": M()
2475
+ }],
2476
+ "mask-image-l-to-pos": [{
2477
+ "mask-l-to": M()
2478
+ }],
2479
+ "mask-image-l-from-color": [{
2480
+ "mask-l-from": f()
2481
+ }],
2482
+ "mask-image-l-to-color": [{
2483
+ "mask-l-to": f()
2484
+ }],
2485
+ "mask-image-x-from-pos": [{
2486
+ "mask-x-from": M()
2487
+ }],
2488
+ "mask-image-x-to-pos": [{
2489
+ "mask-x-to": M()
2490
+ }],
2491
+ "mask-image-x-from-color": [{
2492
+ "mask-x-from": f()
2493
+ }],
2494
+ "mask-image-x-to-color": [{
2495
+ "mask-x-to": f()
2496
+ }],
2497
+ "mask-image-y-from-pos": [{
2498
+ "mask-y-from": M()
2499
+ }],
2500
+ "mask-image-y-to-pos": [{
2501
+ "mask-y-to": M()
2502
+ }],
2503
+ "mask-image-y-from-color": [{
2504
+ "mask-y-from": f()
2505
+ }],
2506
+ "mask-image-y-to-color": [{
2507
+ "mask-y-to": f()
2508
+ }],
2509
+ "mask-image-radial": [{
2510
+ "mask-radial": [d, c]
2511
+ }],
2512
+ "mask-image-radial-from-pos": [{
2513
+ "mask-radial-from": M()
2514
+ }],
2515
+ "mask-image-radial-to-pos": [{
2516
+ "mask-radial-to": M()
2517
+ }],
2518
+ "mask-image-radial-from-color": [{
2519
+ "mask-radial-from": f()
2520
+ }],
2521
+ "mask-image-radial-to-color": [{
2522
+ "mask-radial-to": f()
2523
+ }],
2524
+ "mask-image-radial-shape": [{
2525
+ "mask-radial": ["circle", "ellipse"]
2526
+ }],
2527
+ "mask-image-radial-size": [{
2528
+ "mask-radial": [{
2529
+ closest: ["side", "corner"],
2530
+ farthest: ["side", "corner"]
2531
+ }]
2532
+ }],
2533
+ "mask-image-radial-pos": [{
2534
+ "mask-radial-at": P()
2535
+ }],
2536
+ "mask-image-conic-pos": [{
2537
+ "mask-conic": [v]
2538
+ }],
2539
+ "mask-image-conic-from-pos": [{
2540
+ "mask-conic-from": M()
2541
+ }],
2542
+ "mask-image-conic-to-pos": [{
2543
+ "mask-conic-to": M()
2544
+ }],
2545
+ "mask-image-conic-from-color": [{
2546
+ "mask-conic-from": f()
2547
+ }],
2548
+ "mask-image-conic-to-color": [{
2549
+ "mask-conic-to": f()
2550
+ }],
2551
+ /**
2552
+ * Mask Mode
2553
+ * @see https://tailwindcss.com/docs/mask-mode
2554
+ */
2555
+ "mask-mode": [{
2556
+ mask: ["alpha", "luminance", "match"]
2557
+ }],
2558
+ /**
2559
+ * Mask Origin
2560
+ * @see https://tailwindcss.com/docs/mask-origin
2561
+ */
2562
+ "mask-origin": [{
2563
+ "mask-origin": ["border", "padding", "content", "fill", "stroke", "view"]
2564
+ }],
2565
+ /**
2566
+ * Mask Position
2567
+ * @see https://tailwindcss.com/docs/mask-position
2568
+ */
2569
+ "mask-position": [{
2570
+ mask: ze()
2571
+ }],
2572
+ /**
2573
+ * Mask Repeat
2574
+ * @see https://tailwindcss.com/docs/mask-repeat
2575
+ */
2576
+ "mask-repeat": [{
2577
+ mask: Oe()
2578
+ }],
2579
+ /**
2580
+ * Mask Size
2581
+ * @see https://tailwindcss.com/docs/mask-size
2582
+ */
2583
+ "mask-size": [{
2584
+ mask: Le()
2585
+ }],
2586
+ /**
2587
+ * Mask Type
2588
+ * @see https://tailwindcss.com/docs/mask-type
2589
+ */
2590
+ "mask-type": [{
2591
+ "mask-type": ["alpha", "luminance"]
2592
+ }],
2593
+ /**
2594
+ * Mask Image
2595
+ * @see https://tailwindcss.com/docs/mask-image
2596
+ */
2597
+ "mask-image": [{
2598
+ mask: ["none", d, c]
2599
+ }],
2600
+ // ---------------
2601
+ // --- Filters ---
2602
+ // ---------------
2603
+ /**
2604
+ * Filter
2605
+ * @see https://tailwindcss.com/docs/filter
2606
+ */
2607
+ filter: [{
2608
+ filter: [
2609
+ // Deprecated since Tailwind CSS v3.0.0
2610
+ "",
2611
+ "none",
2612
+ d,
2613
+ c
2614
+ ]
2615
+ }],
2616
+ /**
2617
+ * Blur
2618
+ * @see https://tailwindcss.com/docs/blur
2619
+ */
2620
+ blur: [{
2621
+ blur: $e()
2622
+ }],
2623
+ /**
2624
+ * Brightness
2625
+ * @see https://tailwindcss.com/docs/brightness
2626
+ */
2627
+ brightness: [{
2628
+ brightness: [v, d, c]
2629
+ }],
2630
+ /**
2631
+ * Contrast
2632
+ * @see https://tailwindcss.com/docs/contrast
2633
+ */
2634
+ contrast: [{
2635
+ contrast: [v, d, c]
2636
+ }],
2637
+ /**
2638
+ * Drop Shadow
2639
+ * @see https://tailwindcss.com/docs/drop-shadow
2640
+ */
2641
+ "drop-shadow": [{
2642
+ "drop-shadow": [
2643
+ // Deprecated since Tailwind CSS v4.0.0
2644
+ "",
2645
+ "none",
2646
+ w,
2647
+ se,
2648
+ ne
2649
+ ]
2650
+ }],
2651
+ /**
2652
+ * Drop Shadow Color
2653
+ * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2654
+ */
2655
+ "drop-shadow-color": [{
2656
+ "drop-shadow": f()
2657
+ }],
2658
+ /**
2659
+ * Grayscale
2660
+ * @see https://tailwindcss.com/docs/grayscale
2661
+ */
2662
+ grayscale: [{
2663
+ grayscale: ["", v, d, c]
2664
+ }],
2665
+ /**
2666
+ * Hue Rotate
2667
+ * @see https://tailwindcss.com/docs/hue-rotate
2668
+ */
2669
+ "hue-rotate": [{
2670
+ "hue-rotate": [v, d, c]
2671
+ }],
2672
+ /**
2673
+ * Invert
2674
+ * @see https://tailwindcss.com/docs/invert
2675
+ */
2676
+ invert: [{
2677
+ invert: ["", v, d, c]
2678
+ }],
2679
+ /**
2680
+ * Saturate
2681
+ * @see https://tailwindcss.com/docs/saturate
2682
+ */
2683
+ saturate: [{
2684
+ saturate: [v, d, c]
2685
+ }],
2686
+ /**
2687
+ * Sepia
2688
+ * @see https://tailwindcss.com/docs/sepia
2689
+ */
2690
+ sepia: [{
2691
+ sepia: ["", v, d, c]
2692
+ }],
2693
+ /**
2694
+ * Backdrop Filter
2695
+ * @see https://tailwindcss.com/docs/backdrop-filter
2696
+ */
2697
+ "backdrop-filter": [{
2698
+ "backdrop-filter": [
2699
+ // Deprecated since Tailwind CSS v3.0.0
2700
+ "",
2701
+ "none",
2702
+ d,
2703
+ c
2704
+ ]
2705
+ }],
2706
+ /**
2707
+ * Backdrop Blur
2708
+ * @see https://tailwindcss.com/docs/backdrop-blur
2709
+ */
2710
+ "backdrop-blur": [{
2711
+ "backdrop-blur": $e()
2712
+ }],
2713
+ /**
2714
+ * Backdrop Brightness
2715
+ * @see https://tailwindcss.com/docs/backdrop-brightness
2716
+ */
2717
+ "backdrop-brightness": [{
2718
+ "backdrop-brightness": [v, d, c]
2719
+ }],
2720
+ /**
2721
+ * Backdrop Contrast
2722
+ * @see https://tailwindcss.com/docs/backdrop-contrast
2723
+ */
2724
+ "backdrop-contrast": [{
2725
+ "backdrop-contrast": [v, d, c]
2726
+ }],
2727
+ /**
2728
+ * Backdrop Grayscale
2729
+ * @see https://tailwindcss.com/docs/backdrop-grayscale
2730
+ */
2731
+ "backdrop-grayscale": [{
2732
+ "backdrop-grayscale": ["", v, d, c]
2733
+ }],
2734
+ /**
2735
+ * Backdrop Hue Rotate
2736
+ * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2737
+ */
2738
+ "backdrop-hue-rotate": [{
2739
+ "backdrop-hue-rotate": [v, d, c]
2740
+ }],
2741
+ /**
2742
+ * Backdrop Invert
2743
+ * @see https://tailwindcss.com/docs/backdrop-invert
2744
+ */
2745
+ "backdrop-invert": [{
2746
+ "backdrop-invert": ["", v, d, c]
2747
+ }],
2748
+ /**
2749
+ * Backdrop Opacity
2750
+ * @see https://tailwindcss.com/docs/backdrop-opacity
2751
+ */
2752
+ "backdrop-opacity": [{
2753
+ "backdrop-opacity": [v, d, c]
2754
+ }],
2755
+ /**
2756
+ * Backdrop Saturate
2757
+ * @see https://tailwindcss.com/docs/backdrop-saturate
2758
+ */
2759
+ "backdrop-saturate": [{
2760
+ "backdrop-saturate": [v, d, c]
2761
+ }],
2762
+ /**
2763
+ * Backdrop Sepia
2764
+ * @see https://tailwindcss.com/docs/backdrop-sepia
2765
+ */
2766
+ "backdrop-sepia": [{
2767
+ "backdrop-sepia": ["", v, d, c]
2768
+ }],
2769
+ // --------------
2770
+ // --- Tables ---
2771
+ // --------------
2772
+ /**
2773
+ * Border Collapse
2774
+ * @see https://tailwindcss.com/docs/border-collapse
2775
+ */
2776
+ "border-collapse": [{
2777
+ border: ["collapse", "separate"]
2778
+ }],
2779
+ /**
2780
+ * Border Spacing
2781
+ * @see https://tailwindcss.com/docs/border-spacing
2782
+ */
2783
+ "border-spacing": [{
2784
+ "border-spacing": g()
2785
+ }],
2786
+ /**
2787
+ * Border Spacing X
2788
+ * @see https://tailwindcss.com/docs/border-spacing
2789
+ */
2790
+ "border-spacing-x": [{
2791
+ "border-spacing-x": g()
2792
+ }],
2793
+ /**
2794
+ * Border Spacing Y
2795
+ * @see https://tailwindcss.com/docs/border-spacing
2796
+ */
2797
+ "border-spacing-y": [{
2798
+ "border-spacing-y": g()
2799
+ }],
2800
+ /**
2801
+ * Table Layout
2802
+ * @see https://tailwindcss.com/docs/table-layout
2803
+ */
2804
+ "table-layout": [{
2805
+ table: ["auto", "fixed"]
2806
+ }],
2807
+ /**
2808
+ * Caption Side
2809
+ * @see https://tailwindcss.com/docs/caption-side
2810
+ */
2811
+ caption: [{
2812
+ caption: ["top", "bottom"]
2813
+ }],
2814
+ // ---------------------------------
2815
+ // --- Transitions and Animation ---
2816
+ // ---------------------------------
2817
+ /**
2818
+ * Transition Property
2819
+ * @see https://tailwindcss.com/docs/transition-property
2820
+ */
2821
+ transition: [{
2822
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", d, c]
2823
+ }],
2824
+ /**
2825
+ * Transition Behavior
2826
+ * @see https://tailwindcss.com/docs/transition-behavior
2827
+ */
2828
+ "transition-behavior": [{
2829
+ transition: ["normal", "discrete"]
2830
+ }],
2831
+ /**
2832
+ * Transition Duration
2833
+ * @see https://tailwindcss.com/docs/transition-duration
2834
+ */
2835
+ duration: [{
2836
+ duration: [v, "initial", d, c]
2837
+ }],
2838
+ /**
2839
+ * Transition Timing Function
2840
+ * @see https://tailwindcss.com/docs/transition-timing-function
2841
+ */
2842
+ ease: [{
2843
+ ease: ["linear", "initial", R, d, c]
2844
+ }],
2845
+ /**
2846
+ * Transition Delay
2847
+ * @see https://tailwindcss.com/docs/transition-delay
2848
+ */
2849
+ delay: [{
2850
+ delay: [v, d, c]
2851
+ }],
2852
+ /**
2853
+ * Animation
2854
+ * @see https://tailwindcss.com/docs/animation
2855
+ */
2856
+ animate: [{
2857
+ animate: ["none", x, d, c]
2858
+ }],
2859
+ // ------------------
2860
+ // --- Transforms ---
2861
+ // ------------------
2862
+ /**
2863
+ * Backface Visibility
2864
+ * @see https://tailwindcss.com/docs/backface-visibility
2865
+ */
2866
+ backface: [{
2867
+ backface: ["hidden", "visible"]
2868
+ }],
2869
+ /**
2870
+ * Perspective
2871
+ * @see https://tailwindcss.com/docs/perspective
2872
+ */
2873
+ perspective: [{
2874
+ perspective: [y, d, c]
2875
+ }],
2876
+ /**
2877
+ * Perspective Origin
2878
+ * @see https://tailwindcss.com/docs/perspective-origin
2879
+ */
2880
+ "perspective-origin": [{
2881
+ "perspective-origin": T()
2882
+ }],
2883
+ /**
2884
+ * Rotate
2885
+ * @see https://tailwindcss.com/docs/rotate
2886
+ */
2887
+ rotate: [{
2888
+ rotate: ee()
2889
+ }],
2890
+ /**
2891
+ * Rotate X
2892
+ * @see https://tailwindcss.com/docs/rotate
2893
+ */
2894
+ "rotate-x": [{
2895
+ "rotate-x": ee()
2896
+ }],
2897
+ /**
2898
+ * Rotate Y
2899
+ * @see https://tailwindcss.com/docs/rotate
2900
+ */
2901
+ "rotate-y": [{
2902
+ "rotate-y": ee()
2903
+ }],
2904
+ /**
2905
+ * Rotate Z
2906
+ * @see https://tailwindcss.com/docs/rotate
2907
+ */
2908
+ "rotate-z": [{
2909
+ "rotate-z": ee()
2910
+ }],
2911
+ /**
2912
+ * Scale
2913
+ * @see https://tailwindcss.com/docs/scale
2914
+ */
2915
+ scale: [{
2916
+ scale: oe()
2917
+ }],
2918
+ /**
2919
+ * Scale X
2920
+ * @see https://tailwindcss.com/docs/scale
2921
+ */
2922
+ "scale-x": [{
2923
+ "scale-x": oe()
2924
+ }],
2925
+ /**
2926
+ * Scale Y
2927
+ * @see https://tailwindcss.com/docs/scale
2928
+ */
2929
+ "scale-y": [{
2930
+ "scale-y": oe()
2931
+ }],
2932
+ /**
2933
+ * Scale Z
2934
+ * @see https://tailwindcss.com/docs/scale
2935
+ */
2936
+ "scale-z": [{
2937
+ "scale-z": oe()
2938
+ }],
2939
+ /**
2940
+ * Scale 3D
2941
+ * @see https://tailwindcss.com/docs/scale
2942
+ */
2943
+ "scale-3d": ["scale-3d"],
2944
+ /**
2945
+ * Skew
2946
+ * @see https://tailwindcss.com/docs/skew
2947
+ */
2948
+ skew: [{
2949
+ skew: me()
2950
+ }],
2951
+ /**
2952
+ * Skew X
2953
+ * @see https://tailwindcss.com/docs/skew
2954
+ */
2955
+ "skew-x": [{
2956
+ "skew-x": me()
2957
+ }],
2958
+ /**
2959
+ * Skew Y
2960
+ * @see https://tailwindcss.com/docs/skew
2961
+ */
2962
+ "skew-y": [{
2963
+ "skew-y": me()
2964
+ }],
2965
+ /**
2966
+ * Transform
2967
+ * @see https://tailwindcss.com/docs/transform
2968
+ */
2969
+ transform: [{
2970
+ transform: [d, c, "", "none", "gpu", "cpu"]
2971
+ }],
2972
+ /**
2973
+ * Transform Origin
2974
+ * @see https://tailwindcss.com/docs/transform-origin
2975
+ */
2976
+ "transform-origin": [{
2977
+ origin: T()
2978
+ }],
2979
+ /**
2980
+ * Transform Style
2981
+ * @see https://tailwindcss.com/docs/transform-style
2982
+ */
2983
+ "transform-style": [{
2984
+ transform: ["3d", "flat"]
2985
+ }],
2986
+ /**
2987
+ * Translate
2988
+ * @see https://tailwindcss.com/docs/translate
2989
+ */
2990
+ translate: [{
2991
+ translate: te()
2992
+ }],
2993
+ /**
2994
+ * Translate X
2995
+ * @see https://tailwindcss.com/docs/translate
2996
+ */
2997
+ "translate-x": [{
2998
+ "translate-x": te()
2999
+ }],
3000
+ /**
3001
+ * Translate Y
3002
+ * @see https://tailwindcss.com/docs/translate
3003
+ */
3004
+ "translate-y": [{
3005
+ "translate-y": te()
3006
+ }],
3007
+ /**
3008
+ * Translate Z
3009
+ * @see https://tailwindcss.com/docs/translate
3010
+ */
3011
+ "translate-z": [{
3012
+ "translate-z": te()
3013
+ }],
3014
+ /**
3015
+ * Translate None
3016
+ * @see https://tailwindcss.com/docs/translate
3017
+ */
3018
+ "translate-none": ["translate-none"],
3019
+ // ---------------------
3020
+ // --- Interactivity ---
3021
+ // ---------------------
3022
+ /**
3023
+ * Accent Color
3024
+ * @see https://tailwindcss.com/docs/accent-color
3025
+ */
3026
+ accent: [{
3027
+ accent: f()
3028
+ }],
3029
+ /**
3030
+ * Appearance
3031
+ * @see https://tailwindcss.com/docs/appearance
3032
+ */
3033
+ appearance: [{
3034
+ appearance: ["none", "auto"]
3035
+ }],
3036
+ /**
3037
+ * Caret Color
3038
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
3039
+ */
3040
+ "caret-color": [{
3041
+ caret: f()
3042
+ }],
3043
+ /**
3044
+ * Color Scheme
3045
+ * @see https://tailwindcss.com/docs/color-scheme
3046
+ */
3047
+ "color-scheme": [{
3048
+ scheme: ["normal", "dark", "light", "light-dark", "only-dark", "only-light"]
3049
+ }],
3050
+ /**
3051
+ * Cursor
3052
+ * @see https://tailwindcss.com/docs/cursor
3053
+ */
3054
+ cursor: [{
3055
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", d, c]
3056
+ }],
3057
+ /**
3058
+ * Field Sizing
3059
+ * @see https://tailwindcss.com/docs/field-sizing
3060
+ */
3061
+ "field-sizing": [{
3062
+ "field-sizing": ["fixed", "content"]
3063
+ }],
3064
+ /**
3065
+ * Pointer Events
3066
+ * @see https://tailwindcss.com/docs/pointer-events
3067
+ */
3068
+ "pointer-events": [{
3069
+ "pointer-events": ["auto", "none"]
3070
+ }],
3071
+ /**
3072
+ * Resize
3073
+ * @see https://tailwindcss.com/docs/resize
3074
+ */
3075
+ resize: [{
3076
+ resize: ["none", "", "y", "x"]
3077
+ }],
3078
+ /**
3079
+ * Scroll Behavior
3080
+ * @see https://tailwindcss.com/docs/scroll-behavior
3081
+ */
3082
+ "scroll-behavior": [{
3083
+ scroll: ["auto", "smooth"]
3084
+ }],
3085
+ /**
3086
+ * Scroll Margin
3087
+ * @see https://tailwindcss.com/docs/scroll-margin
3088
+ */
3089
+ "scroll-m": [{
3090
+ "scroll-m": g()
3091
+ }],
3092
+ /**
3093
+ * Scroll Margin X
3094
+ * @see https://tailwindcss.com/docs/scroll-margin
3095
+ */
3096
+ "scroll-mx": [{
3097
+ "scroll-mx": g()
3098
+ }],
3099
+ /**
3100
+ * Scroll Margin Y
3101
+ * @see https://tailwindcss.com/docs/scroll-margin
3102
+ */
3103
+ "scroll-my": [{
3104
+ "scroll-my": g()
3105
+ }],
3106
+ /**
3107
+ * Scroll Margin Start
3108
+ * @see https://tailwindcss.com/docs/scroll-margin
3109
+ */
3110
+ "scroll-ms": [{
3111
+ "scroll-ms": g()
3112
+ }],
3113
+ /**
3114
+ * Scroll Margin End
3115
+ * @see https://tailwindcss.com/docs/scroll-margin
3116
+ */
3117
+ "scroll-me": [{
3118
+ "scroll-me": g()
3119
+ }],
3120
+ /**
3121
+ * Scroll Margin Top
3122
+ * @see https://tailwindcss.com/docs/scroll-margin
3123
+ */
3124
+ "scroll-mt": [{
3125
+ "scroll-mt": g()
3126
+ }],
3127
+ /**
3128
+ * Scroll Margin Right
3129
+ * @see https://tailwindcss.com/docs/scroll-margin
3130
+ */
3131
+ "scroll-mr": [{
3132
+ "scroll-mr": g()
3133
+ }],
3134
+ /**
3135
+ * Scroll Margin Bottom
3136
+ * @see https://tailwindcss.com/docs/scroll-margin
3137
+ */
3138
+ "scroll-mb": [{
3139
+ "scroll-mb": g()
3140
+ }],
3141
+ /**
3142
+ * Scroll Margin Left
3143
+ * @see https://tailwindcss.com/docs/scroll-margin
3144
+ */
3145
+ "scroll-ml": [{
3146
+ "scroll-ml": g()
3147
+ }],
3148
+ /**
3149
+ * Scroll Padding
3150
+ * @see https://tailwindcss.com/docs/scroll-padding
3151
+ */
3152
+ "scroll-p": [{
3153
+ "scroll-p": g()
3154
+ }],
3155
+ /**
3156
+ * Scroll Padding X
3157
+ * @see https://tailwindcss.com/docs/scroll-padding
3158
+ */
3159
+ "scroll-px": [{
3160
+ "scroll-px": g()
3161
+ }],
3162
+ /**
3163
+ * Scroll Padding Y
3164
+ * @see https://tailwindcss.com/docs/scroll-padding
3165
+ */
3166
+ "scroll-py": [{
3167
+ "scroll-py": g()
3168
+ }],
3169
+ /**
3170
+ * Scroll Padding Start
3171
+ * @see https://tailwindcss.com/docs/scroll-padding
3172
+ */
3173
+ "scroll-ps": [{
3174
+ "scroll-ps": g()
3175
+ }],
3176
+ /**
3177
+ * Scroll Padding End
3178
+ * @see https://tailwindcss.com/docs/scroll-padding
3179
+ */
3180
+ "scroll-pe": [{
3181
+ "scroll-pe": g()
3182
+ }],
3183
+ /**
3184
+ * Scroll Padding Top
3185
+ * @see https://tailwindcss.com/docs/scroll-padding
3186
+ */
3187
+ "scroll-pt": [{
3188
+ "scroll-pt": g()
3189
+ }],
3190
+ /**
3191
+ * Scroll Padding Right
3192
+ * @see https://tailwindcss.com/docs/scroll-padding
3193
+ */
3194
+ "scroll-pr": [{
3195
+ "scroll-pr": g()
3196
+ }],
3197
+ /**
3198
+ * Scroll Padding Bottom
3199
+ * @see https://tailwindcss.com/docs/scroll-padding
3200
+ */
3201
+ "scroll-pb": [{
3202
+ "scroll-pb": g()
3203
+ }],
3204
+ /**
3205
+ * Scroll Padding Left
3206
+ * @see https://tailwindcss.com/docs/scroll-padding
3207
+ */
3208
+ "scroll-pl": [{
3209
+ "scroll-pl": g()
3210
+ }],
3211
+ /**
3212
+ * Scroll Snap Align
3213
+ * @see https://tailwindcss.com/docs/scroll-snap-align
3214
+ */
3215
+ "snap-align": [{
3216
+ snap: ["start", "end", "center", "align-none"]
3217
+ }],
3218
+ /**
3219
+ * Scroll Snap Stop
3220
+ * @see https://tailwindcss.com/docs/scroll-snap-stop
3221
+ */
3222
+ "snap-stop": [{
3223
+ snap: ["normal", "always"]
3224
+ }],
3225
+ /**
3226
+ * Scroll Snap Type
3227
+ * @see https://tailwindcss.com/docs/scroll-snap-type
3228
+ */
3229
+ "snap-type": [{
3230
+ snap: ["none", "x", "y", "both"]
3231
+ }],
3232
+ /**
3233
+ * Scroll Snap Type Strictness
3234
+ * @see https://tailwindcss.com/docs/scroll-snap-type
3235
+ */
3236
+ "snap-strictness": [{
3237
+ snap: ["mandatory", "proximity"]
3238
+ }],
3239
+ /**
3240
+ * Touch Action
3241
+ * @see https://tailwindcss.com/docs/touch-action
3242
+ */
3243
+ touch: [{
3244
+ touch: ["auto", "none", "manipulation"]
3245
+ }],
3246
+ /**
3247
+ * Touch Action X
3248
+ * @see https://tailwindcss.com/docs/touch-action
3249
+ */
3250
+ "touch-x": [{
3251
+ "touch-pan": ["x", "left", "right"]
3252
+ }],
3253
+ /**
3254
+ * Touch Action Y
3255
+ * @see https://tailwindcss.com/docs/touch-action
3256
+ */
3257
+ "touch-y": [{
3258
+ "touch-pan": ["y", "up", "down"]
3259
+ }],
3260
+ /**
3261
+ * Touch Action Pinch Zoom
3262
+ * @see https://tailwindcss.com/docs/touch-action
3263
+ */
3264
+ "touch-pz": ["touch-pinch-zoom"],
3265
+ /**
3266
+ * User Select
3267
+ * @see https://tailwindcss.com/docs/user-select
3268
+ */
3269
+ select: [{
3270
+ select: ["none", "text", "all", "auto"]
3271
+ }],
3272
+ /**
3273
+ * Will Change
3274
+ * @see https://tailwindcss.com/docs/will-change
3275
+ */
3276
+ "will-change": [{
3277
+ "will-change": ["auto", "scroll", "contents", "transform", d, c]
3278
+ }],
3279
+ // -----------
3280
+ // --- SVG ---
3281
+ // -----------
3282
+ /**
3283
+ * Fill
3284
+ * @see https://tailwindcss.com/docs/fill
3285
+ */
3286
+ fill: [{
3287
+ fill: ["none", ...f()]
3288
+ }],
3289
+ /**
3290
+ * Stroke Width
3291
+ * @see https://tailwindcss.com/docs/stroke-width
3292
+ */
3293
+ "stroke-w": [{
3294
+ stroke: [v, K, F, fe]
3295
+ }],
3296
+ /**
3297
+ * Stroke
3298
+ * @see https://tailwindcss.com/docs/stroke
3299
+ */
3300
+ stroke: [{
3301
+ stroke: ["none", ...f()]
3302
+ }],
3303
+ // ---------------------
3304
+ // --- Accessibility ---
3305
+ // ---------------------
3306
+ /**
3307
+ * Forced Color Adjust
3308
+ * @see https://tailwindcss.com/docs/forced-color-adjust
3309
+ */
3310
+ "forced-color-adjust": [{
3311
+ "forced-color-adjust": ["auto", "none"]
3312
+ }]
3313
+ },
3314
+ conflictingClassGroups: {
3315
+ overflow: ["overflow-x", "overflow-y"],
3316
+ overscroll: ["overscroll-x", "overscroll-y"],
3317
+ inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
3318
+ "inset-x": ["right", "left"],
3319
+ "inset-y": ["top", "bottom"],
3320
+ flex: ["basis", "grow", "shrink"],
3321
+ gap: ["gap-x", "gap-y"],
3322
+ p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
3323
+ px: ["pr", "pl"],
3324
+ py: ["pt", "pb"],
3325
+ m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
3326
+ mx: ["mr", "ml"],
3327
+ my: ["mt", "mb"],
3328
+ size: ["w", "h"],
3329
+ "font-size": ["leading"],
3330
+ "fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
3331
+ "fvn-ordinal": ["fvn-normal"],
3332
+ "fvn-slashed-zero": ["fvn-normal"],
3333
+ "fvn-figure": ["fvn-normal"],
3334
+ "fvn-spacing": ["fvn-normal"],
3335
+ "fvn-fraction": ["fvn-normal"],
3336
+ "line-clamp": ["display", "overflow"],
3337
+ rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l", "rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr", "rounded-br", "rounded-bl"],
3338
+ "rounded-s": ["rounded-ss", "rounded-es"],
3339
+ "rounded-e": ["rounded-se", "rounded-ee"],
3340
+ "rounded-t": ["rounded-tl", "rounded-tr"],
3341
+ "rounded-r": ["rounded-tr", "rounded-br"],
3342
+ "rounded-b": ["rounded-br", "rounded-bl"],
3343
+ "rounded-l": ["rounded-tl", "rounded-bl"],
3344
+ "border-spacing": ["border-spacing-x", "border-spacing-y"],
3345
+ "border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
3346
+ "border-w-x": ["border-w-r", "border-w-l"],
3347
+ "border-w-y": ["border-w-t", "border-w-b"],
3348
+ "border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
3349
+ "border-color-x": ["border-color-r", "border-color-l"],
3350
+ "border-color-y": ["border-color-t", "border-color-b"],
3351
+ translate: ["translate-x", "translate-y", "translate-none"],
3352
+ "translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
3353
+ "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
3354
+ "scroll-mx": ["scroll-mr", "scroll-ml"],
3355
+ "scroll-my": ["scroll-mt", "scroll-mb"],
3356
+ "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
3357
+ "scroll-px": ["scroll-pr", "scroll-pl"],
3358
+ "scroll-py": ["scroll-pt", "scroll-pb"],
3359
+ touch: ["touch-x", "touch-y", "touch-pz"],
3360
+ "touch-x": ["touch"],
3361
+ "touch-y": ["touch"],
3362
+ "touch-pz": ["touch"]
3363
+ },
3364
+ conflictingClassGroupModifiers: {
3365
+ "font-size": ["leading"]
3366
+ },
3367
+ orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3368
+ };
3369
+ }, Bt = /* @__PURE__ */ Rt(Wt);
3370
+ function B(...e) {
3371
+ return Bt(ut(e));
3372
+ }
3373
+ function Ht({ children: e, className: o, ...t }) {
3374
+ const { colorScheme: r } = Me();
3375
+ return /* @__PURE__ */ h(
3376
+ it,
651
3377
  {
652
- className: E(
3378
+ className: B(
653
3379
  "focus:outline-2 has-[:focus-visible]:ring-2 has-[:focus-visible]:ring-[var(--accordion-focus,hsl(var(--primary)))] has-[:focus-visible]:ring-offset-4",
654
3380
  {
655
3381
  light: "ring-offset-[var(--acordion-light-offset,hsl(var(--background)))]",
656
3382
  dark: "ring-offset-[var(--acordion-dark-offset,hsl(var(--foreground)))]"
657
- }[n],
658
- t
3383
+ }[r],
3384
+ o
659
3385
  ),
660
3386
  "data-slot": "accordion-item",
661
- ...o,
3387
+ ...t,
662
3388
  children: e
663
3389
  }
664
3390
  );
665
3391
  }
666
- function st({ ...e }) {
667
- return /* @__PURE__ */ l(ot, { "data-slot": "accordion-root", ...e });
3392
+ function qt({ ...e }) {
3393
+ return /* @__PURE__ */ h(at, { "data-slot": "accordion-root", ...e });
668
3394
  }
669
- function lt({ children: e, ...t }) {
670
- const { colorScheme: o } = Y(), [n, r] = Ae(!1);
671
- return xe(() => {
672
- r(!0);
673
- }, []), /* @__PURE__ */ l(
674
- it,
3395
+ function Kt({ children: e, className: o, ...t }) {
3396
+ const { colorScheme: r } = Me(), [n, s] = Co(!1);
3397
+ return Ao(() => {
3398
+ s(!0);
3399
+ }, []), /* @__PURE__ */ h(
3400
+ dt,
675
3401
  {
676
- className: E(
3402
+ className: B(
677
3403
  "overflow-hidden",
678
3404
  // We need to delay the animation until the component is mounted to avoid the animation from being triggered when the component is first rendered.
679
3405
  n && "data-[state=closed]:animate-collapse data-[state=open]:animate-expand"
680
3406
  ),
3407
+ "data-slot": "accordion-content",
681
3408
  ...t,
682
- children: /* @__PURE__ */ l(
3409
+ children: /* @__PURE__ */ h(
683
3410
  "div",
684
3411
  {
685
- className: E(
3412
+ className: B(
686
3413
  "py-3 text-base font-[var(--accordion-content-font-family,var(--font-family-body))] font-light leading-normal",
687
3414
  {
688
3415
  light: "text-[var(--accordion-light-content-text,hsl(var(--foreground)))]",
689
3416
  dark: "text-[var(--accordion-dark-content-text,hsl(var(--background)))]"
690
- }[o]
3417
+ }[r],
3418
+ o
691
3419
  ),
692
3420
  children: e
693
3421
  }
@@ -695,43 +3423,46 @@ function lt({ children: e, ...t }) {
695
3423
  }
696
3424
  );
697
3425
  }
698
- function dt({ children: e, ...t }) {
699
- const { colorScheme: o } = Y();
700
- return /* @__PURE__ */ l(rt, { children: /* @__PURE__ */ V(
3426
+ function Jt({ children: e, className: o, ...t }) {
3427
+ const { colorScheme: r } = Me();
3428
+ return /* @__PURE__ */ h(lt, { children: /* @__PURE__ */ ge(
701
3429
  ct,
702
3430
  {
703
- className: "group flex w-full cursor-pointer items-start gap-8 border-none py-3 text-start focus:outline-none @md:py-4",
3431
+ className: B(
3432
+ "group flex w-full cursor-pointer items-start gap-8 border-none py-3 text-start focus:outline-none @md:py-4",
3433
+ o
3434
+ ),
704
3435
  "data-slot": "accordion-trigger",
705
3436
  ...t,
706
3437
  children: [
707
- /* @__PURE__ */ l(
3438
+ /* @__PURE__ */ h(
708
3439
  "div",
709
3440
  {
710
- className: E(
3441
+ className: B(
711
3442
  "flex-1 select-none text-sm font-[var(--accordion-title-font-family,var(--font-family-mono))] font-normal uppercase transition-colors duration-300 ease-out",
712
3443
  {
713
3444
  light: "text-[var(--accordion-light-title-text,hsl(var(--contrast-400)))] group-hover:text-[var(--accordion-light-title-text-hover,hsl(var(--foreground)))]",
714
3445
  dark: "text-[var(--accordion-dark-title-text,hsl(var(--contrast-200)))] group-hover:text-[var(--accordion-dark-title-text-hover,hsl(var(--background)))]"
715
- }[o]
3446
+ }[r]
716
3447
  ),
717
3448
  children: e
718
3449
  }
719
3450
  ),
720
- /* @__PURE__ */ V(
3451
+ /* @__PURE__ */ ge(
721
3452
  "svg",
722
3453
  {
723
- className: E(
3454
+ className: B(
724
3455
  "mt-1 shrink-0 [&>line]:origin-center [&>line]:transition [&>line]:duration-300 [&>line]:ease-out",
725
3456
  {
726
3457
  light: "stroke-[var(--accordion-light-title-icon,hsl(var(--contrast-500)))] group-hover:stroke-[var(--accordion-light-title-icon-hover,hsl(var(--foreground)))]",
727
3458
  dark: "stroke-[var(--accordion-dark-title-icon,hsl(var(--contrast-200)))] group-hover:stroke-[var(--accordion-dark-title-icon-hover,hsl(var(--background)))]"
728
- }[o]
3459
+ }[r]
729
3460
  ),
730
3461
  "data-slot": "accordion-chevron",
731
3462
  viewBox: "0 0 10 10",
732
3463
  width: 16,
733
3464
  children: [
734
- /* @__PURE__ */ l(
3465
+ /* @__PURE__ */ h(
735
3466
  "line",
736
3467
  {
737
3468
  className: "group-data-[state=open]:-translate-y-[3px] group-data-[state=open]:-rotate-90",
@@ -742,7 +3473,7 @@ function dt({ children: e, ...t }) {
742
3473
  y2: 5
743
3474
  }
744
3475
  ),
745
- /* @__PURE__ */ l(
3476
+ /* @__PURE__ */ h(
746
3477
  "line",
747
3478
  {
748
3479
  className: "group-data-[state=open]:-translate-y-[3px] group-data-[state=open]:rotate-90",
@@ -760,17 +3491,17 @@ function dt({ children: e, ...t }) {
760
3491
  }
761
3492
  ) });
762
3493
  }
763
- const Ce = be(void 0);
764
- function ut({ children: e, colorScheme: t = "light" }) {
765
- return /* @__PURE__ */ l(Ce, { value: { colorScheme: t }, children: e });
3494
+ const ko = Ro(void 0);
3495
+ function Xt({ children: e, colorScheme: o = "light" }) {
3496
+ return /* @__PURE__ */ h(ko, { value: { colorScheme: o }, children: e });
766
3497
  }
767
- function Y() {
768
- const e = ye(Ce);
3498
+ function Me() {
3499
+ const e = So(ko);
769
3500
  if (e === void 0)
770
3501
  throw new Error("useAccordionContext must be used within an AccordionProvider");
771
3502
  return e;
772
3503
  }
773
3504
  export {
774
- vt as Accordion
3505
+ er as Accordion
775
3506
  };
776
3507
  //# sourceMappingURL=index.js.map