@sudobility/ratelimit-components 1.0.0 → 1.0.3

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.esm.js CHANGED
@@ -1,48 +1,48 @@
1
- import { jsxs as x, jsx as g } from "react/jsx-runtime";
1
+ import { jsxs as k, jsx as g } from "react/jsx-runtime";
2
2
  import { useMemo as ne } from "react";
3
- import { ResponsiveContainer as Be, BarChart as $e, CartesianGrid as De, XAxis as We, YAxis as _e, Tooltip as He, Bar as qe, ReferenceLine as Ye } from "recharts";
3
+ import { ResponsiveContainer as Be, BarChart as De, CartesianGrid as _e, XAxis as $e, YAxis as We, Tooltip as He, Bar as qe, ReferenceLine as Ye } from "recharts";
4
4
  function ze(e) {
5
5
  var r, t, o = "";
6
6
  if (typeof e == "string" || typeof e == "number") o += e;
7
7
  else if (typeof e == "object") if (Array.isArray(e)) {
8
- var l = e.length;
9
- for (r = 0; r < l; r++) e[r] && (t = ze(e[r])) && (o && (o += " "), o += t);
8
+ var n = e.length;
9
+ for (r = 0; r < n; r++) e[r] && (t = ze(e[r])) && (o && (o += " "), o += t);
10
10
  } else for (t in e) e[t] && (o && (o += " "), o += t);
11
11
  return o;
12
12
  }
13
13
  function Se() {
14
- for (var e, r, t = 0, o = "", l = arguments.length; t < l; t++) (e = arguments[t]) && (r = ze(e)) && (o && (o += " "), o += r);
14
+ for (var e, r, t = 0, o = "", n = arguments.length; t < n; t++) (e = arguments[t]) && (r = ze(e)) && (o && (o += " "), o += r);
15
15
  return o;
16
16
  }
17
17
  const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, Ke = (e, r) => (t) => {
18
18
  var o;
19
19
  if (r?.variants == null) return ye(e, t?.class, t?.className);
20
- const { variants: l, defaultVariants: n } = r, s = Object.keys(l).map((d) => {
21
- const f = t?.[d], h = n?.[d];
22
- if (f === null) return null;
23
- const y = xe(f) || xe(h);
24
- return l[d][y];
25
- }), m = t && Object.entries(t).reduce((d, f) => {
26
- let [h, y] = f;
27
- return y === void 0 || (d[h] = y), d;
28
- }, {}), a = r == null || (o = r.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((d, f) => {
29
- let { class: h, className: y, ...w } = f;
30
- return Object.entries(w).every((S) => {
31
- let [C, N] = S;
20
+ const { variants: n, defaultVariants: c } = r, a = Object.keys(n).map((d) => {
21
+ const x = t?.[d], f = c?.[d];
22
+ if (x === null) return null;
23
+ const p = xe(x) || xe(f);
24
+ return n[d][p];
25
+ }), u = t && Object.entries(t).reduce((d, x) => {
26
+ let [f, p] = x;
27
+ return p === void 0 || (d[f] = p), d;
28
+ }, {}), s = r == null || (o = r.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((d, x) => {
29
+ let { class: f, className: p, ...y } = x;
30
+ return Object.entries(y).every((z) => {
31
+ let [C, N] = z;
32
32
  return Array.isArray(N) ? N.includes({
33
- ...n,
34
- ...m
33
+ ...c,
34
+ ...u
35
35
  }[C]) : {
36
- ...n,
37
- ...m
36
+ ...c,
37
+ ...u
38
38
  }[C] === N;
39
39
  }) ? [
40
40
  ...d,
41
- h,
42
- y
41
+ f,
42
+ p
43
43
  ] : d;
44
44
  }, []);
45
- return ye(e, s, a, t?.class, t?.className);
45
+ return ye(e, a, s, t?.class, t?.className);
46
46
  }, Xe = (e, r) => {
47
47
  const t = new Array(e.length + r.length);
48
48
  for (let o = 0; o < e.length; o++)
@@ -63,36 +63,36 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
63
63
  conflictingClassGroupModifiers: o
64
64
  } = e;
65
65
  return {
66
- getClassGroupId: (s) => {
67
- if (s.startsWith("[") && s.endsWith("]"))
68
- return et(s);
69
- const m = s.split(te), a = m[0] === "" && m.length > 1 ? 1 : 0;
70
- return Re(m, a, r);
66
+ getClassGroupId: (a) => {
67
+ if (a.startsWith("[") && a.endsWith("]"))
68
+ return et(a);
69
+ const u = a.split(te), s = u[0] === "" && u.length > 1 ? 1 : 0;
70
+ return Re(u, s, r);
71
71
  },
72
- getConflictingClassGroupIds: (s, m) => {
73
- if (m) {
74
- const a = o[s], d = t[s];
75
- return a ? d ? Xe(d, a) : a : d || ke;
72
+ getConflictingClassGroupIds: (a, u) => {
73
+ if (u) {
74
+ const s = o[a], d = t[a];
75
+ return s ? d ? Xe(d, s) : s : d || ke;
76
76
  }
77
- return t[s] || ke;
77
+ return t[a] || ke;
78
78
  }
79
79
  };
80
80
  }, Re = (e, r, t) => {
81
81
  if (e.length - r === 0)
82
82
  return t.classGroupId;
83
- const l = e[r], n = t.nextPart.get(l);
84
- if (n) {
85
- const d = Re(e, r + 1, n);
83
+ const n = e[r], c = t.nextPart.get(n);
84
+ if (c) {
85
+ const d = Re(e, r + 1, c);
86
86
  if (d) return d;
87
87
  }
88
- const s = t.validators;
89
- if (s === null)
88
+ const a = t.validators;
89
+ if (a === null)
90
90
  return;
91
- const m = r === 0 ? e.join(te) : e.slice(r).join(te), a = s.length;
92
- for (let d = 0; d < a; d++) {
93
- const f = s[d];
94
- if (f.validator(m))
95
- return f.classGroupId;
91
+ const u = r === 0 ? e.join(te) : e.slice(r).join(te), s = a.length;
92
+ for (let d = 0; d < s; d++) {
93
+ const x = a[d];
94
+ if (x.validator(u))
95
+ return x.classGroupId;
96
96
  }
97
97
  }, et = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
98
98
  const r = e.slice(1, -1), t = r.indexOf(":"), o = r.slice(0, t);
@@ -106,15 +106,15 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
106
106
  }, rt = (e, r) => {
107
107
  const t = Ae();
108
108
  for (const o in e) {
109
- const l = e[o];
110
- ce(l, t, o, r);
109
+ const n = e[o];
110
+ ce(n, t, o, r);
111
111
  }
112
112
  return t;
113
113
  }, ce = (e, r, t, o) => {
114
- const l = e.length;
115
- for (let n = 0; n < l; n++) {
116
- const s = e[n];
117
- ot(s, r, t, o);
114
+ const n = e.length;
115
+ for (let c = 0; c < n; c++) {
116
+ const a = e[c];
117
+ ot(a, r, t, o);
118
118
  }
119
119
  }, ot = (e, r, t, o) => {
120
120
  if (typeof e == "string") {
@@ -136,18 +136,18 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
136
136
  }
137
137
  r.validators === null && (r.validators = []), r.validators.push(Je(t, e));
138
138
  }, st = (e, r, t, o) => {
139
- const l = Object.entries(e), n = l.length;
140
- for (let s = 0; s < n; s++) {
141
- const [m, a] = l[s];
142
- ce(a, Me(r, m), t, o);
139
+ const n = Object.entries(e), c = n.length;
140
+ for (let a = 0; a < c; a++) {
141
+ const [u, s] = n[a];
142
+ ce(s, Me(r, u), t, o);
143
143
  }
144
144
  }, Me = (e, r) => {
145
145
  let t = e;
146
- const o = r.split(te), l = o.length;
147
- for (let n = 0; n < l; n++) {
148
- const s = o[n];
149
- let m = t.nextPart.get(s);
150
- m || (m = Ae(), t.nextPart.set(s, m)), t = m;
146
+ const o = r.split(te), n = o.length;
147
+ for (let c = 0; c < n; c++) {
148
+ const a = o[c];
149
+ let u = t.nextPart.get(a);
150
+ u || (u = Ae(), t.nextPart.set(a, u)), t = u;
151
151
  }
152
152
  return t;
153
153
  }, lt = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, it = (e) => {
@@ -159,41 +159,41 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
159
159
  }
160
160
  };
161
161
  let r = 0, t = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
162
- const l = (n, s) => {
163
- t[n] = s, r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ Object.create(null));
162
+ const n = (c, a) => {
163
+ t[c] = a, r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ Object.create(null));
164
164
  };
165
165
  return {
166
- get(n) {
167
- let s = t[n];
168
- if (s !== void 0)
169
- return s;
170
- if ((s = o[n]) !== void 0)
171
- return l(n, s), s;
166
+ get(c) {
167
+ let a = t[c];
168
+ if (a !== void 0)
169
+ return a;
170
+ if ((a = o[c]) !== void 0)
171
+ return n(c, a), a;
172
172
  },
173
- set(n, s) {
174
- n in t ? t[n] = s : l(n, s);
173
+ set(c, a) {
174
+ c in t ? t[c] = a : n(c, a);
175
175
  }
176
176
  };
177
- }, ie = "!", we = ":", ct = [], ve = (e, r, t, o, l) => ({
177
+ }, ie = "!", we = ":", ct = [], ve = (e, r, t, o, n) => ({
178
178
  modifiers: e,
179
179
  hasImportantModifier: r,
180
180
  baseClassName: t,
181
181
  maybePostfixModifierPosition: o,
182
- isExternal: l
182
+ isExternal: n
183
183
  }), dt = (e) => {
184
184
  const {
185
185
  prefix: r,
186
186
  experimentalParseClassName: t
187
187
  } = e;
188
- let o = (l) => {
189
- const n = [];
190
- let s = 0, m = 0, a = 0, d;
191
- const f = l.length;
192
- for (let C = 0; C < f; C++) {
193
- const N = l[C];
194
- if (s === 0 && m === 0) {
188
+ let o = (n) => {
189
+ const c = [];
190
+ let a = 0, u = 0, s = 0, d;
191
+ const x = n.length;
192
+ for (let C = 0; C < x; C++) {
193
+ const N = n[C];
194
+ if (a === 0 && u === 0) {
195
195
  if (N === we) {
196
- n.push(l.slice(a, C)), a = C + 1;
196
+ c.push(n.slice(s, C)), s = C + 1;
197
197
  continue;
198
198
  }
199
199
  if (N === "/") {
@@ -201,29 +201,29 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
201
201
  continue;
202
202
  }
203
203
  }
204
- N === "[" ? s++ : N === "]" ? s-- : N === "(" ? m++ : N === ")" && m--;
204
+ N === "[" ? a++ : N === "]" ? a-- : N === "(" ? u++ : N === ")" && u--;
205
205
  }
206
- const h = n.length === 0 ? l : l.slice(a);
207
- let y = h, w = !1;
208
- h.endsWith(ie) ? (y = h.slice(0, -1), w = !0) : (
206
+ const f = c.length === 0 ? n : n.slice(s);
207
+ let p = f, y = !1;
208
+ f.endsWith(ie) ? (p = f.slice(0, -1), y = !0) : (
209
209
  /**
210
210
  * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
211
211
  * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
212
212
  */
213
- h.startsWith(ie) && (y = h.slice(1), w = !0)
213
+ f.startsWith(ie) && (p = f.slice(1), y = !0)
214
214
  );
215
- const S = d && d > a ? d - a : void 0;
216
- return ve(n, w, y, S);
215
+ const z = d && d > s ? d - s : void 0;
216
+ return ve(c, y, p, z);
217
217
  };
218
218
  if (r) {
219
- const l = r + we, n = o;
220
- o = (s) => s.startsWith(l) ? n(s.slice(l.length)) : ve(ct, !1, s, void 0, !0);
219
+ const n = r + we, c = o;
220
+ o = (a) => a.startsWith(n) ? c(a.slice(n.length)) : ve(ct, !1, a, void 0, !0);
221
221
  }
222
222
  if (t) {
223
- const l = o;
224
- o = (n) => t({
225
- className: n,
226
- parseClassName: l
223
+ const n = o;
224
+ o = (c) => t({
225
+ className: c,
226
+ parseClassName: n
227
227
  });
228
228
  }
229
229
  return o;
@@ -233,12 +233,12 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
233
233
  r.set(t, 1e6 + o);
234
234
  }), (t) => {
235
235
  const o = [];
236
- let l = [];
237
- for (let n = 0; n < t.length; n++) {
238
- const s = t[n], m = s[0] === "[", a = r.has(s);
239
- m || a ? (l.length > 0 && (l.sort(), o.push(...l), l = []), o.push(s)) : l.push(s);
236
+ let n = [];
237
+ for (let c = 0; c < t.length; c++) {
238
+ const a = t[c], u = a[0] === "[", s = r.has(a);
239
+ u || s ? (n.length > 0 && (n.sort(), o.push(...n), n = []), o.push(a)) : n.push(a);
240
240
  }
241
- return l.length > 0 && (l.sort(), o.push(...l)), o;
241
+ return n.length > 0 && (n.sort(), o.push(...n)), o;
242
242
  };
243
243
  }, ut = (e) => ({
244
244
  cache: it(e.cacheSize),
@@ -249,51 +249,51 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
249
249
  const {
250
250
  parseClassName: t,
251
251
  getClassGroupId: o,
252
- getConflictingClassGroupIds: l,
253
- sortModifiers: n
254
- } = r, s = [], m = e.trim().split(gt);
255
- let a = "";
256
- for (let d = m.length - 1; d >= 0; d -= 1) {
257
- const f = m[d], {
258
- isExternal: h,
259
- modifiers: y,
260
- hasImportantModifier: w,
261
- baseClassName: S,
252
+ getConflictingClassGroupIds: n,
253
+ sortModifiers: c
254
+ } = r, a = [], u = e.trim().split(gt);
255
+ let s = "";
256
+ for (let d = u.length - 1; d >= 0; d -= 1) {
257
+ const x = u[d], {
258
+ isExternal: f,
259
+ modifiers: p,
260
+ hasImportantModifier: y,
261
+ baseClassName: z,
262
262
  maybePostfixModifierPosition: C
263
- } = t(f);
264
- if (h) {
265
- a = f + (a.length > 0 ? " " + a : a);
263
+ } = t(x);
264
+ if (f) {
265
+ s = x + (s.length > 0 ? " " + s : s);
266
266
  continue;
267
267
  }
268
- let N = !!C, T = o(N ? S.substring(0, C) : S);
269
- if (!T) {
268
+ let N = !!C, I = o(N ? z.substring(0, C) : z);
269
+ if (!I) {
270
270
  if (!N) {
271
- a = f + (a.length > 0 ? " " + a : a);
271
+ s = x + (s.length > 0 ? " " + s : s);
272
272
  continue;
273
273
  }
274
- if (T = o(S), !T) {
275
- a = f + (a.length > 0 ? " " + a : a);
274
+ if (I = o(z), !I) {
275
+ s = x + (s.length > 0 ? " " + s : s);
276
276
  continue;
277
277
  }
278
278
  N = !1;
279
279
  }
280
- const q = y.length === 0 ? "" : y.length === 1 ? y[0] : n(y).join(":"), D = w ? q + ie : q, O = D + T;
281
- if (s.indexOf(O) > -1)
280
+ const q = p.length === 0 ? "" : p.length === 1 ? p[0] : c(p).join(":"), _ = y ? q + ie : q, O = _ + I;
281
+ if (a.indexOf(O) > -1)
282
282
  continue;
283
- s.push(O);
284
- const E = l(T, N);
285
- for (let j = 0; j < E.length; ++j) {
286
- const W = E[j];
287
- s.push(D + W);
283
+ a.push(O);
284
+ const U = n(I, N);
285
+ for (let j = 0; j < U.length; ++j) {
286
+ const $ = U[j];
287
+ a.push(_ + $);
288
288
  }
289
- a = f + (a.length > 0 ? " " + a : a);
289
+ s = x + (s.length > 0 ? " " + s : s);
290
290
  }
291
- return a;
291
+ return s;
292
292
  }, pt = (...e) => {
293
- let r = 0, t, o, l = "";
293
+ let r = 0, t, o, n = "";
294
294
  for (; r < e.length; )
295
- (t = e[r++]) && (o = Pe(t)) && (l && (l += " "), l += o);
296
- return l;
295
+ (t = e[r++]) && (o = Pe(t)) && (n && (n += " "), n += o);
296
+ return n;
297
297
  }, Pe = (e) => {
298
298
  if (typeof e == "string")
299
299
  return e;
@@ -302,34 +302,34 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
302
302
  e[o] && (r = Pe(e[o])) && (t && (t += " "), t += r);
303
303
  return t;
304
304
  }, ft = (e, ...r) => {
305
- let t, o, l, n;
306
- const s = (a) => {
307
- const d = r.reduce((f, h) => h(f), e());
308
- return t = ut(d), o = t.cache.get, l = t.cache.set, n = m, m(a);
309
- }, m = (a) => {
310
- const d = o(a);
305
+ let t, o, n, c;
306
+ const a = (s) => {
307
+ const d = r.reduce((x, f) => f(x), e());
308
+ return t = ut(d), o = t.cache.get, n = t.cache.set, c = u, u(s);
309
+ }, u = (s) => {
310
+ const d = o(s);
311
311
  if (d)
312
312
  return d;
313
- const f = bt(a, t);
314
- return l(a, f), f;
313
+ const x = bt(s, t);
314
+ return n(s, x), x;
315
315
  };
316
- return n = s, (...a) => n(pt(...a));
317
- }, ht = [], k = (e) => {
316
+ return c = a, (...s) => c(pt(...s));
317
+ }, ht = [], w = (e) => {
318
318
  const r = (t) => t[e] || ht;
319
319
  return r.isThemeGetter = !0, r;
320
- }, Ie = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Te = /^\((?:(\w[\w-]*):)?(.+)\)$/i, xt = /^\d+\/\d+$/, yt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, kt = /\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$/, wt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, vt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Nt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, U = (e) => xt.test(e), p = (e) => !!e && !Number.isNaN(Number(e)), P = (e) => !!e && Number.isInteger(Number(e)), se = (e) => e.endsWith("%") && p(e.slice(0, -1)), M = (e) => yt.test(e), Ct = () => !0, Lt = (e) => (
320
+ }, Te = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ie = /^\((?:(\w[\w-]*):)?(.+)\)$/i, xt = /^\d+\/\d+$/, yt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, kt = /\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$/, wt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, vt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Nt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, F = (e) => xt.test(e), h = (e) => !!e && !Number.isNaN(Number(e)), P = (e) => !!e && Number.isInteger(Number(e)), se = (e) => e.endsWith("%") && h(e.slice(0, -1)), M = (e) => yt.test(e), Ct = () => !0, Lt = (e) => (
321
321
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
322
322
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
323
323
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
324
324
  kt.test(e) && !wt.test(e)
325
- ), je = () => !1, zt = (e) => vt.test(e), St = (e) => Nt.test(e), At = (e) => !i(e) && !c(e), Rt = (e) => B(e, Oe, je), i = (e) => Ie.test(e), V = (e) => B(e, Ee, Lt), le = (e) => B(e, jt, p), Ne = (e) => B(e, Ge, je), Mt = (e) => B(e, Ve, St), Z = (e) => B(e, Fe, zt), c = (e) => Te.test(e), _ = (e) => $(e, Ee), Pt = (e) => $(e, Gt), Ce = (e) => $(e, Ge), It = (e) => $(e, Oe), Tt = (e) => $(e, Ve), ee = (e) => $(e, Fe, !0), B = (e, r, t) => {
326
- const o = Ie.exec(e);
327
- return o ? o[1] ? r(o[1]) : t(o[2]) : !1;
328
- }, $ = (e, r, t = !1) => {
325
+ ), je = () => !1, zt = (e) => vt.test(e), St = (e) => Nt.test(e), At = (e) => !l(e) && !i(e), Rt = (e) => B(e, Oe, je), l = (e) => Te.test(e), V = (e) => B(e, Ue, Lt), le = (e) => B(e, jt, h), Ne = (e) => B(e, Ge, je), Mt = (e) => B(e, Ve, St), Z = (e) => B(e, Ee, zt), i = (e) => Ie.test(e), W = (e) => D(e, Ue), Pt = (e) => D(e, Gt), Ce = (e) => D(e, Ge), Tt = (e) => D(e, Oe), It = (e) => D(e, Ve), ee = (e) => D(e, Ee, !0), B = (e, r, t) => {
329
326
  const o = Te.exec(e);
327
+ return o ? o[1] ? r(o[1]) : t(o[2]) : !1;
328
+ }, D = (e, r, t = !1) => {
329
+ const o = Ie.exec(e);
330
330
  return o ? o[1] ? r(o[1]) : t : !1;
331
- }, Ge = (e) => e === "position" || e === "percentage", Ve = (e) => e === "image" || e === "url", Oe = (e) => e === "length" || e === "size" || e === "bg-size", Ee = (e) => e === "length", jt = (e) => e === "number", Gt = (e) => e === "family-name", Fe = (e) => e === "shadow", Vt = () => {
332
- const e = k("color"), r = k("font"), t = k("text"), o = k("font-weight"), l = k("tracking"), n = k("leading"), s = k("breakpoint"), m = k("container"), a = k("spacing"), d = k("radius"), f = k("shadow"), h = k("inset-shadow"), y = k("text-shadow"), w = k("drop-shadow"), S = k("blur"), C = k("perspective"), N = k("aspect"), T = k("ease"), q = k("animate"), D = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], O = () => [
331
+ }, Ge = (e) => e === "position" || e === "percentage", Ve = (e) => e === "image" || e === "url", Oe = (e) => e === "length" || e === "size" || e === "bg-size", Ue = (e) => e === "length", jt = (e) => e === "number", Gt = (e) => e === "family-name", Ee = (e) => e === "shadow", Vt = () => {
332
+ const e = w("color"), r = w("font"), t = w("text"), o = w("font-weight"), n = w("tracking"), c = w("leading"), a = w("breakpoint"), u = w("container"), s = w("spacing"), d = w("radius"), x = w("shadow"), f = w("inset-shadow"), p = w("text-shadow"), y = w("drop-shadow"), z = w("blur"), C = w("perspective"), N = w("aspect"), I = w("ease"), q = w("animate"), _ = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], O = () => [
333
333
  "center",
334
334
  "top",
335
335
  "bottom",
@@ -347,30 +347,30 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
347
347
  "bottom-left",
348
348
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
349
349
  "left-bottom"
350
- ], E = () => [...O(), c, i], j = () => ["auto", "hidden", "clip", "visible", "scroll"], W = () => ["auto", "contain", "none"], b = () => [c, i, a], A = () => [U, "full", "auto", ...b()], de = () => [P, "none", "subgrid", c, i], me = () => ["auto", {
351
- span: ["full", P, c, i]
352
- }, P, c, i], Y = () => [P, "auto", c, i], ue = () => ["auto", "min", "max", "fr", c, i], re = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], F = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], R = () => ["auto", ...b()], G = () => [U, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...b()], u = () => [e, c, i], ge = () => [...O(), Ce, Ne, {
353
- position: [c, i]
350
+ ], U = () => [...O(), i, l], j = () => ["auto", "hidden", "clip", "visible", "scroll"], $ = () => ["auto", "contain", "none"], b = () => [i, l, s], A = () => [F, "full", "auto", ...b()], de = () => [P, "none", "subgrid", i, l], me = () => ["auto", {
351
+ span: ["full", P, i, l]
352
+ }, P, i, l], Y = () => [P, "auto", i, l], ue = () => ["auto", "min", "max", "fr", i, l], re = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], E = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], R = () => ["auto", ...b()], G = () => [F, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...b()], m = () => [e, i, l], ge = () => [...O(), Ce, Ne, {
353
+ position: [i, l]
354
354
  }], be = () => ["no-repeat", {
355
355
  repeat: ["", "x", "y", "space", "round"]
356
- }], pe = () => ["auto", "cover", "contain", It, Rt, {
357
- size: [c, i]
358
- }], oe = () => [se, _, V], L = () => [
356
+ }], pe = () => ["auto", "cover", "contain", Tt, Rt, {
357
+ size: [i, l]
358
+ }], oe = () => [se, W, V], L = () => [
359
359
  // Deprecated since Tailwind CSS v4.0.0
360
360
  "",
361
361
  "none",
362
362
  "full",
363
363
  d,
364
- c,
365
- i
366
- ], z = () => ["", p, _, V], K = () => ["solid", "dashed", "dotted", "double"], fe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], v = () => [p, se, Ce, Ne], he = () => [
364
+ i,
365
+ l
366
+ ], S = () => ["", h, W, V], K = () => ["solid", "dashed", "dotted", "double"], fe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], v = () => [h, se, Ce, Ne], he = () => [
367
367
  // Deprecated since Tailwind CSS v4.0.0
368
368
  "",
369
369
  "none",
370
- S,
371
- c,
372
- i
373
- ], X = () => ["none", p, c, i], J = () => ["none", p, c, i], ae = () => [p, c, i], Q = () => [U, "full", ...b()];
370
+ z,
371
+ i,
372
+ l
373
+ ], X = () => ["none", h, i, l], J = () => ["none", h, i, l], ae = () => [h, i, l], Q = () => [F, "full", ...b()];
374
374
  return {
375
375
  cacheSize: 500,
376
376
  theme: {
@@ -389,7 +389,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
389
389
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
390
390
  radius: [M],
391
391
  shadow: [M],
392
- spacing: ["px", p],
392
+ spacing: ["px", h],
393
393
  text: [M],
394
394
  "text-shadow": [M],
395
395
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
@@ -403,7 +403,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
403
403
  * @see https://tailwindcss.com/docs/aspect-ratio
404
404
  */
405
405
  aspect: [{
406
- aspect: ["auto", "square", U, i, c, N]
406
+ aspect: ["auto", "square", F, l, i, N]
407
407
  }],
408
408
  /**
409
409
  * Container
@@ -416,21 +416,21 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
416
416
  * @see https://tailwindcss.com/docs/columns
417
417
  */
418
418
  columns: [{
419
- columns: [p, i, c, m]
419
+ columns: [h, l, i, u]
420
420
  }],
421
421
  /**
422
422
  * Break After
423
423
  * @see https://tailwindcss.com/docs/break-after
424
424
  */
425
425
  "break-after": [{
426
- "break-after": D()
426
+ "break-after": _()
427
427
  }],
428
428
  /**
429
429
  * Break Before
430
430
  * @see https://tailwindcss.com/docs/break-before
431
431
  */
432
432
  "break-before": [{
433
- "break-before": D()
433
+ "break-before": _()
434
434
  }],
435
435
  /**
436
436
  * Break Inside
@@ -494,7 +494,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
494
494
  * @see https://tailwindcss.com/docs/object-position
495
495
  */
496
496
  "object-position": [{
497
- object: E()
497
+ object: U()
498
498
  }],
499
499
  /**
500
500
  * Overflow
@@ -522,21 +522,21 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
522
522
  * @see https://tailwindcss.com/docs/overscroll-behavior
523
523
  */
524
524
  overscroll: [{
525
- overscroll: W()
525
+ overscroll: $()
526
526
  }],
527
527
  /**
528
528
  * Overscroll Behavior X
529
529
  * @see https://tailwindcss.com/docs/overscroll-behavior
530
530
  */
531
531
  "overscroll-x": [{
532
- "overscroll-x": W()
532
+ "overscroll-x": $()
533
533
  }],
534
534
  /**
535
535
  * Overscroll Behavior Y
536
536
  * @see https://tailwindcss.com/docs/overscroll-behavior
537
537
  */
538
538
  "overscroll-y": [{
539
- "overscroll-y": W()
539
+ "overscroll-y": $()
540
540
  }],
541
541
  /**
542
542
  * Position
@@ -616,7 +616,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
616
616
  * @see https://tailwindcss.com/docs/z-index
617
617
  */
618
618
  z: [{
619
- z: [P, "auto", c, i]
619
+ z: [P, "auto", i, l]
620
620
  }],
621
621
  // ------------------------
622
622
  // --- Flexbox and Grid ---
@@ -626,7 +626,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
626
626
  * @see https://tailwindcss.com/docs/flex-basis
627
627
  */
628
628
  basis: [{
629
- basis: [U, "full", "auto", m, ...b()]
629
+ basis: [F, "full", "auto", u, ...b()]
630
630
  }],
631
631
  /**
632
632
  * Flex Direction
@@ -647,28 +647,28 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
647
647
  * @see https://tailwindcss.com/docs/flex
648
648
  */
649
649
  flex: [{
650
- flex: [p, U, "auto", "initial", "none", i]
650
+ flex: [h, F, "auto", "initial", "none", l]
651
651
  }],
652
652
  /**
653
653
  * Flex Grow
654
654
  * @see https://tailwindcss.com/docs/flex-grow
655
655
  */
656
656
  grow: [{
657
- grow: ["", p, c, i]
657
+ grow: ["", h, i, l]
658
658
  }],
659
659
  /**
660
660
  * Flex Shrink
661
661
  * @see https://tailwindcss.com/docs/flex-shrink
662
662
  */
663
663
  shrink: [{
664
- shrink: ["", p, c, i]
664
+ shrink: ["", h, i, l]
665
665
  }],
666
666
  /**
667
667
  * Order
668
668
  * @see https://tailwindcss.com/docs/order
669
669
  */
670
670
  order: [{
671
- order: [P, "first", "last", "none", c, i]
671
+ order: [P, "first", "last", "none", i, l]
672
672
  }],
673
673
  /**
674
674
  * Grid Template Columns
@@ -780,14 +780,14 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
780
780
  * @see https://tailwindcss.com/docs/justify-items
781
781
  */
782
782
  "justify-items": [{
783
- "justify-items": [...F(), "normal"]
783
+ "justify-items": [...E(), "normal"]
784
784
  }],
785
785
  /**
786
786
  * Justify Self
787
787
  * @see https://tailwindcss.com/docs/justify-self
788
788
  */
789
789
  "justify-self": [{
790
- "justify-self": ["auto", ...F()]
790
+ "justify-self": ["auto", ...E()]
791
791
  }],
792
792
  /**
793
793
  * Align Content
@@ -801,7 +801,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
801
801
  * @see https://tailwindcss.com/docs/align-items
802
802
  */
803
803
  "align-items": [{
804
- items: [...F(), {
804
+ items: [...E(), {
805
805
  baseline: ["", "last"]
806
806
  }]
807
807
  }],
@@ -810,7 +810,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
810
810
  * @see https://tailwindcss.com/docs/align-self
811
811
  */
812
812
  "align-self": [{
813
- self: ["auto", ...F(), {
813
+ self: ["auto", ...E(), {
814
814
  baseline: ["", "last"]
815
815
  }]
816
816
  }],
@@ -826,14 +826,14 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
826
826
  * @see https://tailwindcss.com/docs/place-items
827
827
  */
828
828
  "place-items": [{
829
- "place-items": [...F(), "baseline"]
829
+ "place-items": [...E(), "baseline"]
830
830
  }],
831
831
  /**
832
832
  * Place Self
833
833
  * @see https://tailwindcss.com/docs/place-self
834
834
  */
835
835
  "place-self": [{
836
- "place-self": ["auto", ...F()]
836
+ "place-self": ["auto", ...E()]
837
837
  }],
838
838
  // Spacing
839
839
  /**
@@ -1001,7 +1001,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1001
1001
  * @see https://tailwindcss.com/docs/width
1002
1002
  */
1003
1003
  w: [{
1004
- w: [m, "screen", ...G()]
1004
+ w: [u, "screen", ...G()]
1005
1005
  }],
1006
1006
  /**
1007
1007
  * Min-Width
@@ -1009,7 +1009,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1009
1009
  */
1010
1010
  "min-w": [{
1011
1011
  "min-w": [
1012
- m,
1012
+ u,
1013
1013
  "screen",
1014
1014
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1015
1015
  "none",
@@ -1022,14 +1022,14 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1022
1022
  */
1023
1023
  "max-w": [{
1024
1024
  "max-w": [
1025
- m,
1025
+ u,
1026
1026
  "screen",
1027
1027
  "none",
1028
1028
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1029
1029
  "prose",
1030
1030
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1031
1031
  {
1032
- screen: [s]
1032
+ screen: [a]
1033
1033
  },
1034
1034
  ...G()
1035
1035
  ]
@@ -1063,7 +1063,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1063
1063
  * @see https://tailwindcss.com/docs/font-size
1064
1064
  */
1065
1065
  "font-size": [{
1066
- text: ["base", t, _, V]
1066
+ text: ["base", t, W, V]
1067
1067
  }],
1068
1068
  /**
1069
1069
  * Font Smoothing
@@ -1080,21 +1080,21 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1080
1080
  * @see https://tailwindcss.com/docs/font-weight
1081
1081
  */
1082
1082
  "font-weight": [{
1083
- font: [o, c, le]
1083
+ font: [o, i, le]
1084
1084
  }],
1085
1085
  /**
1086
1086
  * Font Stretch
1087
1087
  * @see https://tailwindcss.com/docs/font-stretch
1088
1088
  */
1089
1089
  "font-stretch": [{
1090
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", se, i]
1090
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", se, l]
1091
1091
  }],
1092
1092
  /**
1093
1093
  * Font Family
1094
1094
  * @see https://tailwindcss.com/docs/font-family
1095
1095
  */
1096
1096
  "font-family": [{
1097
- font: [Pt, i, r]
1097
+ font: [Pt, l, r]
1098
1098
  }],
1099
1099
  /**
1100
1100
  * Font Variant Numeric
@@ -1131,14 +1131,14 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1131
1131
  * @see https://tailwindcss.com/docs/letter-spacing
1132
1132
  */
1133
1133
  tracking: [{
1134
- tracking: [l, c, i]
1134
+ tracking: [n, i, l]
1135
1135
  }],
1136
1136
  /**
1137
1137
  * Line Clamp
1138
1138
  * @see https://tailwindcss.com/docs/line-clamp
1139
1139
  */
1140
1140
  "line-clamp": [{
1141
- "line-clamp": [p, "none", c, le]
1141
+ "line-clamp": [h, "none", i, le]
1142
1142
  }],
1143
1143
  /**
1144
1144
  * Line Height
@@ -1147,7 +1147,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1147
1147
  leading: [{
1148
1148
  leading: [
1149
1149
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1150
- n,
1150
+ c,
1151
1151
  ...b()
1152
1152
  ]
1153
1153
  }],
@@ -1156,7 +1156,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1156
1156
  * @see https://tailwindcss.com/docs/list-style-image
1157
1157
  */
1158
1158
  "list-image": [{
1159
- "list-image": ["none", c, i]
1159
+ "list-image": ["none", i, l]
1160
1160
  }],
1161
1161
  /**
1162
1162
  * List Style Position
@@ -1170,7 +1170,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1170
1170
  * @see https://tailwindcss.com/docs/list-style-type
1171
1171
  */
1172
1172
  "list-style-type": [{
1173
- list: ["disc", "decimal", "none", c, i]
1173
+ list: ["disc", "decimal", "none", i, l]
1174
1174
  }],
1175
1175
  /**
1176
1176
  * Text Alignment
@@ -1185,14 +1185,14 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1185
1185
  * @see https://v3.tailwindcss.com/docs/placeholder-color
1186
1186
  */
1187
1187
  "placeholder-color": [{
1188
- placeholder: u()
1188
+ placeholder: m()
1189
1189
  }],
1190
1190
  /**
1191
1191
  * Text Color
1192
1192
  * @see https://tailwindcss.com/docs/text-color
1193
1193
  */
1194
1194
  "text-color": [{
1195
- text: u()
1195
+ text: m()
1196
1196
  }],
1197
1197
  /**
1198
1198
  * Text Decoration
@@ -1211,21 +1211,21 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1211
1211
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1212
1212
  */
1213
1213
  "text-decoration-thickness": [{
1214
- decoration: [p, "from-font", "auto", c, V]
1214
+ decoration: [h, "from-font", "auto", i, V]
1215
1215
  }],
1216
1216
  /**
1217
1217
  * Text Decoration Color
1218
1218
  * @see https://tailwindcss.com/docs/text-decoration-color
1219
1219
  */
1220
1220
  "text-decoration-color": [{
1221
- decoration: u()
1221
+ decoration: m()
1222
1222
  }],
1223
1223
  /**
1224
1224
  * Text Underline Offset
1225
1225
  * @see https://tailwindcss.com/docs/text-underline-offset
1226
1226
  */
1227
1227
  "underline-offset": [{
1228
- "underline-offset": [p, "auto", c, i]
1228
+ "underline-offset": [h, "auto", i, l]
1229
1229
  }],
1230
1230
  /**
1231
1231
  * Text Transform
@@ -1256,7 +1256,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1256
1256
  * @see https://tailwindcss.com/docs/vertical-align
1257
1257
  */
1258
1258
  "vertical-align": [{
1259
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", c, i]
1259
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", i, l]
1260
1260
  }],
1261
1261
  /**
1262
1262
  * Whitespace
@@ -1291,7 +1291,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1291
1291
  * @see https://tailwindcss.com/docs/content
1292
1292
  */
1293
1293
  content: [{
1294
- content: ["none", c, i]
1294
+ content: ["none", i, l]
1295
1295
  }],
1296
1296
  // -------------------
1297
1297
  // --- Backgrounds ---
@@ -1346,17 +1346,17 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1346
1346
  bg: ["none", {
1347
1347
  linear: [{
1348
1348
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1349
- }, P, c, i],
1350
- radial: ["", c, i],
1351
- conic: [P, c, i]
1352
- }, Tt, Mt]
1349
+ }, P, i, l],
1350
+ radial: ["", i, l],
1351
+ conic: [P, i, l]
1352
+ }, It, Mt]
1353
1353
  }],
1354
1354
  /**
1355
1355
  * Background Color
1356
1356
  * @see https://tailwindcss.com/docs/background-color
1357
1357
  */
1358
1358
  "bg-color": [{
1359
- bg: u()
1359
+ bg: m()
1360
1360
  }],
1361
1361
  /**
1362
1362
  * Gradient Color Stops From Position
@@ -1384,21 +1384,21 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1384
1384
  * @see https://tailwindcss.com/docs/gradient-color-stops
1385
1385
  */
1386
1386
  "gradient-from": [{
1387
- from: u()
1387
+ from: m()
1388
1388
  }],
1389
1389
  /**
1390
1390
  * Gradient Color Stops Via
1391
1391
  * @see https://tailwindcss.com/docs/gradient-color-stops
1392
1392
  */
1393
1393
  "gradient-via": [{
1394
- via: u()
1394
+ via: m()
1395
1395
  }],
1396
1396
  /**
1397
1397
  * Gradient Color Stops To
1398
1398
  * @see https://tailwindcss.com/docs/gradient-color-stops
1399
1399
  */
1400
1400
  "gradient-to": [{
1401
- to: u()
1401
+ to: m()
1402
1402
  }],
1403
1403
  // ---------------
1404
1404
  // --- Borders ---
@@ -1513,70 +1513,70 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1513
1513
  * @see https://tailwindcss.com/docs/border-width
1514
1514
  */
1515
1515
  "border-w": [{
1516
- border: z()
1516
+ border: S()
1517
1517
  }],
1518
1518
  /**
1519
1519
  * Border Width X
1520
1520
  * @see https://tailwindcss.com/docs/border-width
1521
1521
  */
1522
1522
  "border-w-x": [{
1523
- "border-x": z()
1523
+ "border-x": S()
1524
1524
  }],
1525
1525
  /**
1526
1526
  * Border Width Y
1527
1527
  * @see https://tailwindcss.com/docs/border-width
1528
1528
  */
1529
1529
  "border-w-y": [{
1530
- "border-y": z()
1530
+ "border-y": S()
1531
1531
  }],
1532
1532
  /**
1533
1533
  * Border Width Start
1534
1534
  * @see https://tailwindcss.com/docs/border-width
1535
1535
  */
1536
1536
  "border-w-s": [{
1537
- "border-s": z()
1537
+ "border-s": S()
1538
1538
  }],
1539
1539
  /**
1540
1540
  * Border Width End
1541
1541
  * @see https://tailwindcss.com/docs/border-width
1542
1542
  */
1543
1543
  "border-w-e": [{
1544
- "border-e": z()
1544
+ "border-e": S()
1545
1545
  }],
1546
1546
  /**
1547
1547
  * Border Width Top
1548
1548
  * @see https://tailwindcss.com/docs/border-width
1549
1549
  */
1550
1550
  "border-w-t": [{
1551
- "border-t": z()
1551
+ "border-t": S()
1552
1552
  }],
1553
1553
  /**
1554
1554
  * Border Width Right
1555
1555
  * @see https://tailwindcss.com/docs/border-width
1556
1556
  */
1557
1557
  "border-w-r": [{
1558
- "border-r": z()
1558
+ "border-r": S()
1559
1559
  }],
1560
1560
  /**
1561
1561
  * Border Width Bottom
1562
1562
  * @see https://tailwindcss.com/docs/border-width
1563
1563
  */
1564
1564
  "border-w-b": [{
1565
- "border-b": z()
1565
+ "border-b": S()
1566
1566
  }],
1567
1567
  /**
1568
1568
  * Border Width Left
1569
1569
  * @see https://tailwindcss.com/docs/border-width
1570
1570
  */
1571
1571
  "border-w-l": [{
1572
- "border-l": z()
1572
+ "border-l": S()
1573
1573
  }],
1574
1574
  /**
1575
1575
  * Divide Width X
1576
1576
  * @see https://tailwindcss.com/docs/border-width#between-children
1577
1577
  */
1578
1578
  "divide-x": [{
1579
- "divide-x": z()
1579
+ "divide-x": S()
1580
1580
  }],
1581
1581
  /**
1582
1582
  * Divide Width X Reverse
@@ -1588,7 +1588,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1588
1588
  * @see https://tailwindcss.com/docs/border-width#between-children
1589
1589
  */
1590
1590
  "divide-y": [{
1591
- "divide-y": z()
1591
+ "divide-y": S()
1592
1592
  }],
1593
1593
  /**
1594
1594
  * Divide Width Y Reverse
@@ -1614,70 +1614,70 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1614
1614
  * @see https://tailwindcss.com/docs/border-color
1615
1615
  */
1616
1616
  "border-color": [{
1617
- border: u()
1617
+ border: m()
1618
1618
  }],
1619
1619
  /**
1620
1620
  * Border Color X
1621
1621
  * @see https://tailwindcss.com/docs/border-color
1622
1622
  */
1623
1623
  "border-color-x": [{
1624
- "border-x": u()
1624
+ "border-x": m()
1625
1625
  }],
1626
1626
  /**
1627
1627
  * Border Color Y
1628
1628
  * @see https://tailwindcss.com/docs/border-color
1629
1629
  */
1630
1630
  "border-color-y": [{
1631
- "border-y": u()
1631
+ "border-y": m()
1632
1632
  }],
1633
1633
  /**
1634
1634
  * Border Color S
1635
1635
  * @see https://tailwindcss.com/docs/border-color
1636
1636
  */
1637
1637
  "border-color-s": [{
1638
- "border-s": u()
1638
+ "border-s": m()
1639
1639
  }],
1640
1640
  /**
1641
1641
  * Border Color E
1642
1642
  * @see https://tailwindcss.com/docs/border-color
1643
1643
  */
1644
1644
  "border-color-e": [{
1645
- "border-e": u()
1645
+ "border-e": m()
1646
1646
  }],
1647
1647
  /**
1648
1648
  * Border Color Top
1649
1649
  * @see https://tailwindcss.com/docs/border-color
1650
1650
  */
1651
1651
  "border-color-t": [{
1652
- "border-t": u()
1652
+ "border-t": m()
1653
1653
  }],
1654
1654
  /**
1655
1655
  * Border Color Right
1656
1656
  * @see https://tailwindcss.com/docs/border-color
1657
1657
  */
1658
1658
  "border-color-r": [{
1659
- "border-r": u()
1659
+ "border-r": m()
1660
1660
  }],
1661
1661
  /**
1662
1662
  * Border Color Bottom
1663
1663
  * @see https://tailwindcss.com/docs/border-color
1664
1664
  */
1665
1665
  "border-color-b": [{
1666
- "border-b": u()
1666
+ "border-b": m()
1667
1667
  }],
1668
1668
  /**
1669
1669
  * Border Color Left
1670
1670
  * @see https://tailwindcss.com/docs/border-color
1671
1671
  */
1672
1672
  "border-color-l": [{
1673
- "border-l": u()
1673
+ "border-l": m()
1674
1674
  }],
1675
1675
  /**
1676
1676
  * Divide Color
1677
1677
  * @see https://tailwindcss.com/docs/divide-color
1678
1678
  */
1679
1679
  "divide-color": [{
1680
- divide: u()
1680
+ divide: m()
1681
1681
  }],
1682
1682
  /**
1683
1683
  * Outline Style
@@ -1691,21 +1691,21 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1691
1691
  * @see https://tailwindcss.com/docs/outline-offset
1692
1692
  */
1693
1693
  "outline-offset": [{
1694
- "outline-offset": [p, c, i]
1694
+ "outline-offset": [h, i, l]
1695
1695
  }],
1696
1696
  /**
1697
1697
  * Outline Width
1698
1698
  * @see https://tailwindcss.com/docs/outline-width
1699
1699
  */
1700
1700
  "outline-w": [{
1701
- outline: ["", p, _, V]
1701
+ outline: ["", h, W, V]
1702
1702
  }],
1703
1703
  /**
1704
1704
  * Outline Color
1705
1705
  * @see https://tailwindcss.com/docs/outline-color
1706
1706
  */
1707
1707
  "outline-color": [{
1708
- outline: u()
1708
+ outline: m()
1709
1709
  }],
1710
1710
  // ---------------
1711
1711
  // --- Effects ---
@@ -1719,7 +1719,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1719
1719
  // Deprecated since Tailwind CSS v4.0.0
1720
1720
  "",
1721
1721
  "none",
1722
- f,
1722
+ x,
1723
1723
  ee,
1724
1724
  Z
1725
1725
  ]
@@ -1729,28 +1729,28 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1729
1729
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
1730
1730
  */
1731
1731
  "shadow-color": [{
1732
- shadow: u()
1732
+ shadow: m()
1733
1733
  }],
1734
1734
  /**
1735
1735
  * Inset Box Shadow
1736
1736
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
1737
1737
  */
1738
1738
  "inset-shadow": [{
1739
- "inset-shadow": ["none", h, ee, Z]
1739
+ "inset-shadow": ["none", f, ee, Z]
1740
1740
  }],
1741
1741
  /**
1742
1742
  * Inset Box Shadow Color
1743
1743
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
1744
1744
  */
1745
1745
  "inset-shadow-color": [{
1746
- "inset-shadow": u()
1746
+ "inset-shadow": m()
1747
1747
  }],
1748
1748
  /**
1749
1749
  * Ring Width
1750
1750
  * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
1751
1751
  */
1752
1752
  "ring-w": [{
1753
- ring: z()
1753
+ ring: S()
1754
1754
  }],
1755
1755
  /**
1756
1756
  * Ring Width Inset
@@ -1764,7 +1764,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1764
1764
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
1765
1765
  */
1766
1766
  "ring-color": [{
1767
- ring: u()
1767
+ ring: m()
1768
1768
  }],
1769
1769
  /**
1770
1770
  * Ring Offset Width
@@ -1773,7 +1773,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1773
1773
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1774
1774
  */
1775
1775
  "ring-offset-w": [{
1776
- "ring-offset": [p, V]
1776
+ "ring-offset": [h, V]
1777
1777
  }],
1778
1778
  /**
1779
1779
  * Ring Offset Color
@@ -1782,42 +1782,42 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1782
1782
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1783
1783
  */
1784
1784
  "ring-offset-color": [{
1785
- "ring-offset": u()
1785
+ "ring-offset": m()
1786
1786
  }],
1787
1787
  /**
1788
1788
  * Inset Ring Width
1789
1789
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
1790
1790
  */
1791
1791
  "inset-ring-w": [{
1792
- "inset-ring": z()
1792
+ "inset-ring": S()
1793
1793
  }],
1794
1794
  /**
1795
1795
  * Inset Ring Color
1796
1796
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
1797
1797
  */
1798
1798
  "inset-ring-color": [{
1799
- "inset-ring": u()
1799
+ "inset-ring": m()
1800
1800
  }],
1801
1801
  /**
1802
1802
  * Text Shadow
1803
1803
  * @see https://tailwindcss.com/docs/text-shadow
1804
1804
  */
1805
1805
  "text-shadow": [{
1806
- "text-shadow": ["none", y, ee, Z]
1806
+ "text-shadow": ["none", p, ee, Z]
1807
1807
  }],
1808
1808
  /**
1809
1809
  * Text Shadow Color
1810
1810
  * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
1811
1811
  */
1812
1812
  "text-shadow-color": [{
1813
- "text-shadow": u()
1813
+ "text-shadow": m()
1814
1814
  }],
1815
1815
  /**
1816
1816
  * Opacity
1817
1817
  * @see https://tailwindcss.com/docs/opacity
1818
1818
  */
1819
1819
  opacity: [{
1820
- opacity: [p, c, i]
1820
+ opacity: [h, i, l]
1821
1821
  }],
1822
1822
  /**
1823
1823
  * Mix Blend Mode
@@ -1852,7 +1852,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1852
1852
  * @see https://tailwindcss.com/docs/mask-image
1853
1853
  */
1854
1854
  "mask-image-linear-pos": [{
1855
- "mask-linear": [p]
1855
+ "mask-linear": [h]
1856
1856
  }],
1857
1857
  "mask-image-linear-from-pos": [{
1858
1858
  "mask-linear-from": v()
@@ -1861,10 +1861,10 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1861
1861
  "mask-linear-to": v()
1862
1862
  }],
1863
1863
  "mask-image-linear-from-color": [{
1864
- "mask-linear-from": u()
1864
+ "mask-linear-from": m()
1865
1865
  }],
1866
1866
  "mask-image-linear-to-color": [{
1867
- "mask-linear-to": u()
1867
+ "mask-linear-to": m()
1868
1868
  }],
1869
1869
  "mask-image-t-from-pos": [{
1870
1870
  "mask-t-from": v()
@@ -1873,10 +1873,10 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1873
1873
  "mask-t-to": v()
1874
1874
  }],
1875
1875
  "mask-image-t-from-color": [{
1876
- "mask-t-from": u()
1876
+ "mask-t-from": m()
1877
1877
  }],
1878
1878
  "mask-image-t-to-color": [{
1879
- "mask-t-to": u()
1879
+ "mask-t-to": m()
1880
1880
  }],
1881
1881
  "mask-image-r-from-pos": [{
1882
1882
  "mask-r-from": v()
@@ -1885,10 +1885,10 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1885
1885
  "mask-r-to": v()
1886
1886
  }],
1887
1887
  "mask-image-r-from-color": [{
1888
- "mask-r-from": u()
1888
+ "mask-r-from": m()
1889
1889
  }],
1890
1890
  "mask-image-r-to-color": [{
1891
- "mask-r-to": u()
1891
+ "mask-r-to": m()
1892
1892
  }],
1893
1893
  "mask-image-b-from-pos": [{
1894
1894
  "mask-b-from": v()
@@ -1897,10 +1897,10 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1897
1897
  "mask-b-to": v()
1898
1898
  }],
1899
1899
  "mask-image-b-from-color": [{
1900
- "mask-b-from": u()
1900
+ "mask-b-from": m()
1901
1901
  }],
1902
1902
  "mask-image-b-to-color": [{
1903
- "mask-b-to": u()
1903
+ "mask-b-to": m()
1904
1904
  }],
1905
1905
  "mask-image-l-from-pos": [{
1906
1906
  "mask-l-from": v()
@@ -1909,10 +1909,10 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1909
1909
  "mask-l-to": v()
1910
1910
  }],
1911
1911
  "mask-image-l-from-color": [{
1912
- "mask-l-from": u()
1912
+ "mask-l-from": m()
1913
1913
  }],
1914
1914
  "mask-image-l-to-color": [{
1915
- "mask-l-to": u()
1915
+ "mask-l-to": m()
1916
1916
  }],
1917
1917
  "mask-image-x-from-pos": [{
1918
1918
  "mask-x-from": v()
@@ -1921,10 +1921,10 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1921
1921
  "mask-x-to": v()
1922
1922
  }],
1923
1923
  "mask-image-x-from-color": [{
1924
- "mask-x-from": u()
1924
+ "mask-x-from": m()
1925
1925
  }],
1926
1926
  "mask-image-x-to-color": [{
1927
- "mask-x-to": u()
1927
+ "mask-x-to": m()
1928
1928
  }],
1929
1929
  "mask-image-y-from-pos": [{
1930
1930
  "mask-y-from": v()
@@ -1933,13 +1933,13 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1933
1933
  "mask-y-to": v()
1934
1934
  }],
1935
1935
  "mask-image-y-from-color": [{
1936
- "mask-y-from": u()
1936
+ "mask-y-from": m()
1937
1937
  }],
1938
1938
  "mask-image-y-to-color": [{
1939
- "mask-y-to": u()
1939
+ "mask-y-to": m()
1940
1940
  }],
1941
1941
  "mask-image-radial": [{
1942
- "mask-radial": [c, i]
1942
+ "mask-radial": [i, l]
1943
1943
  }],
1944
1944
  "mask-image-radial-from-pos": [{
1945
1945
  "mask-radial-from": v()
@@ -1948,10 +1948,10 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1948
1948
  "mask-radial-to": v()
1949
1949
  }],
1950
1950
  "mask-image-radial-from-color": [{
1951
- "mask-radial-from": u()
1951
+ "mask-radial-from": m()
1952
1952
  }],
1953
1953
  "mask-image-radial-to-color": [{
1954
- "mask-radial-to": u()
1954
+ "mask-radial-to": m()
1955
1955
  }],
1956
1956
  "mask-image-radial-shape": [{
1957
1957
  "mask-radial": ["circle", "ellipse"]
@@ -1966,7 +1966,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1966
1966
  "mask-radial-at": O()
1967
1967
  }],
1968
1968
  "mask-image-conic-pos": [{
1969
- "mask-conic": [p]
1969
+ "mask-conic": [h]
1970
1970
  }],
1971
1971
  "mask-image-conic-from-pos": [{
1972
1972
  "mask-conic-from": v()
@@ -1975,10 +1975,10 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
1975
1975
  "mask-conic-to": v()
1976
1976
  }],
1977
1977
  "mask-image-conic-from-color": [{
1978
- "mask-conic-from": u()
1978
+ "mask-conic-from": m()
1979
1979
  }],
1980
1980
  "mask-image-conic-to-color": [{
1981
- "mask-conic-to": u()
1981
+ "mask-conic-to": m()
1982
1982
  }],
1983
1983
  /**
1984
1984
  * Mask Mode
@@ -2027,7 +2027,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
2027
2027
  * @see https://tailwindcss.com/docs/mask-image
2028
2028
  */
2029
2029
  "mask-image": [{
2030
- mask: ["none", c, i]
2030
+ mask: ["none", i, l]
2031
2031
  }],
2032
2032
  // ---------------
2033
2033
  // --- Filters ---
@@ -2041,8 +2041,8 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
2041
2041
  // Deprecated since Tailwind CSS v3.0.0
2042
2042
  "",
2043
2043
  "none",
2044
- c,
2045
- i
2044
+ i,
2045
+ l
2046
2046
  ]
2047
2047
  }],
2048
2048
  /**
@@ -2057,14 +2057,14 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
2057
2057
  * @see https://tailwindcss.com/docs/brightness
2058
2058
  */
2059
2059
  brightness: [{
2060
- brightness: [p, c, i]
2060
+ brightness: [h, i, l]
2061
2061
  }],
2062
2062
  /**
2063
2063
  * Contrast
2064
2064
  * @see https://tailwindcss.com/docs/contrast
2065
2065
  */
2066
2066
  contrast: [{
2067
- contrast: [p, c, i]
2067
+ contrast: [h, i, l]
2068
2068
  }],
2069
2069
  /**
2070
2070
  * Drop Shadow
@@ -2075,7 +2075,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
2075
2075
  // Deprecated since Tailwind CSS v4.0.0
2076
2076
  "",
2077
2077
  "none",
2078
- w,
2078
+ y,
2079
2079
  ee,
2080
2080
  Z
2081
2081
  ]
@@ -2085,42 +2085,42 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
2085
2085
  * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2086
2086
  */
2087
2087
  "drop-shadow-color": [{
2088
- "drop-shadow": u()
2088
+ "drop-shadow": m()
2089
2089
  }],
2090
2090
  /**
2091
2091
  * Grayscale
2092
2092
  * @see https://tailwindcss.com/docs/grayscale
2093
2093
  */
2094
2094
  grayscale: [{
2095
- grayscale: ["", p, c, i]
2095
+ grayscale: ["", h, i, l]
2096
2096
  }],
2097
2097
  /**
2098
2098
  * Hue Rotate
2099
2099
  * @see https://tailwindcss.com/docs/hue-rotate
2100
2100
  */
2101
2101
  "hue-rotate": [{
2102
- "hue-rotate": [p, c, i]
2102
+ "hue-rotate": [h, i, l]
2103
2103
  }],
2104
2104
  /**
2105
2105
  * Invert
2106
2106
  * @see https://tailwindcss.com/docs/invert
2107
2107
  */
2108
2108
  invert: [{
2109
- invert: ["", p, c, i]
2109
+ invert: ["", h, i, l]
2110
2110
  }],
2111
2111
  /**
2112
2112
  * Saturate
2113
2113
  * @see https://tailwindcss.com/docs/saturate
2114
2114
  */
2115
2115
  saturate: [{
2116
- saturate: [p, c, i]
2116
+ saturate: [h, i, l]
2117
2117
  }],
2118
2118
  /**
2119
2119
  * Sepia
2120
2120
  * @see https://tailwindcss.com/docs/sepia
2121
2121
  */
2122
2122
  sepia: [{
2123
- sepia: ["", p, c, i]
2123
+ sepia: ["", h, i, l]
2124
2124
  }],
2125
2125
  /**
2126
2126
  * Backdrop Filter
@@ -2131,8 +2131,8 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
2131
2131
  // Deprecated since Tailwind CSS v3.0.0
2132
2132
  "",
2133
2133
  "none",
2134
- c,
2135
- i
2134
+ i,
2135
+ l
2136
2136
  ]
2137
2137
  }],
2138
2138
  /**
@@ -2147,56 +2147,56 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
2147
2147
  * @see https://tailwindcss.com/docs/backdrop-brightness
2148
2148
  */
2149
2149
  "backdrop-brightness": [{
2150
- "backdrop-brightness": [p, c, i]
2150
+ "backdrop-brightness": [h, i, l]
2151
2151
  }],
2152
2152
  /**
2153
2153
  * Backdrop Contrast
2154
2154
  * @see https://tailwindcss.com/docs/backdrop-contrast
2155
2155
  */
2156
2156
  "backdrop-contrast": [{
2157
- "backdrop-contrast": [p, c, i]
2157
+ "backdrop-contrast": [h, i, l]
2158
2158
  }],
2159
2159
  /**
2160
2160
  * Backdrop Grayscale
2161
2161
  * @see https://tailwindcss.com/docs/backdrop-grayscale
2162
2162
  */
2163
2163
  "backdrop-grayscale": [{
2164
- "backdrop-grayscale": ["", p, c, i]
2164
+ "backdrop-grayscale": ["", h, i, l]
2165
2165
  }],
2166
2166
  /**
2167
2167
  * Backdrop Hue Rotate
2168
2168
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2169
2169
  */
2170
2170
  "backdrop-hue-rotate": [{
2171
- "backdrop-hue-rotate": [p, c, i]
2171
+ "backdrop-hue-rotate": [h, i, l]
2172
2172
  }],
2173
2173
  /**
2174
2174
  * Backdrop Invert
2175
2175
  * @see https://tailwindcss.com/docs/backdrop-invert
2176
2176
  */
2177
2177
  "backdrop-invert": [{
2178
- "backdrop-invert": ["", p, c, i]
2178
+ "backdrop-invert": ["", h, i, l]
2179
2179
  }],
2180
2180
  /**
2181
2181
  * Backdrop Opacity
2182
2182
  * @see https://tailwindcss.com/docs/backdrop-opacity
2183
2183
  */
2184
2184
  "backdrop-opacity": [{
2185
- "backdrop-opacity": [p, c, i]
2185
+ "backdrop-opacity": [h, i, l]
2186
2186
  }],
2187
2187
  /**
2188
2188
  * Backdrop Saturate
2189
2189
  * @see https://tailwindcss.com/docs/backdrop-saturate
2190
2190
  */
2191
2191
  "backdrop-saturate": [{
2192
- "backdrop-saturate": [p, c, i]
2192
+ "backdrop-saturate": [h, i, l]
2193
2193
  }],
2194
2194
  /**
2195
2195
  * Backdrop Sepia
2196
2196
  * @see https://tailwindcss.com/docs/backdrop-sepia
2197
2197
  */
2198
2198
  "backdrop-sepia": [{
2199
- "backdrop-sepia": ["", p, c, i]
2199
+ "backdrop-sepia": ["", h, i, l]
2200
2200
  }],
2201
2201
  // --------------
2202
2202
  // --- Tables ---
@@ -2251,7 +2251,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
2251
2251
  * @see https://tailwindcss.com/docs/transition-property
2252
2252
  */
2253
2253
  transition: [{
2254
- transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", c, i]
2254
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", i, l]
2255
2255
  }],
2256
2256
  /**
2257
2257
  * Transition Behavior
@@ -2265,28 +2265,28 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
2265
2265
  * @see https://tailwindcss.com/docs/transition-duration
2266
2266
  */
2267
2267
  duration: [{
2268
- duration: [p, "initial", c, i]
2268
+ duration: [h, "initial", i, l]
2269
2269
  }],
2270
2270
  /**
2271
2271
  * Transition Timing Function
2272
2272
  * @see https://tailwindcss.com/docs/transition-timing-function
2273
2273
  */
2274
2274
  ease: [{
2275
- ease: ["linear", "initial", T, c, i]
2275
+ ease: ["linear", "initial", I, i, l]
2276
2276
  }],
2277
2277
  /**
2278
2278
  * Transition Delay
2279
2279
  * @see https://tailwindcss.com/docs/transition-delay
2280
2280
  */
2281
2281
  delay: [{
2282
- delay: [p, c, i]
2282
+ delay: [h, i, l]
2283
2283
  }],
2284
2284
  /**
2285
2285
  * Animation
2286
2286
  * @see https://tailwindcss.com/docs/animation
2287
2287
  */
2288
2288
  animate: [{
2289
- animate: ["none", q, c, i]
2289
+ animate: ["none", q, i, l]
2290
2290
  }],
2291
2291
  // ------------------
2292
2292
  // --- Transforms ---
@@ -2303,14 +2303,14 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
2303
2303
  * @see https://tailwindcss.com/docs/perspective
2304
2304
  */
2305
2305
  perspective: [{
2306
- perspective: [C, c, i]
2306
+ perspective: [C, i, l]
2307
2307
  }],
2308
2308
  /**
2309
2309
  * Perspective Origin
2310
2310
  * @see https://tailwindcss.com/docs/perspective-origin
2311
2311
  */
2312
2312
  "perspective-origin": [{
2313
- "perspective-origin": E()
2313
+ "perspective-origin": U()
2314
2314
  }],
2315
2315
  /**
2316
2316
  * Rotate
@@ -2399,14 +2399,14 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
2399
2399
  * @see https://tailwindcss.com/docs/transform
2400
2400
  */
2401
2401
  transform: [{
2402
- transform: [c, i, "", "none", "gpu", "cpu"]
2402
+ transform: [i, l, "", "none", "gpu", "cpu"]
2403
2403
  }],
2404
2404
  /**
2405
2405
  * Transform Origin
2406
2406
  * @see https://tailwindcss.com/docs/transform-origin
2407
2407
  */
2408
2408
  "transform-origin": [{
2409
- origin: E()
2409
+ origin: U()
2410
2410
  }],
2411
2411
  /**
2412
2412
  * Transform Style
@@ -2456,7 +2456,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
2456
2456
  * @see https://tailwindcss.com/docs/accent-color
2457
2457
  */
2458
2458
  accent: [{
2459
- accent: u()
2459
+ accent: m()
2460
2460
  }],
2461
2461
  /**
2462
2462
  * Appearance
@@ -2470,7 +2470,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
2470
2470
  * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2471
2471
  */
2472
2472
  "caret-color": [{
2473
- caret: u()
2473
+ caret: m()
2474
2474
  }],
2475
2475
  /**
2476
2476
  * Color Scheme
@@ -2484,7 +2484,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
2484
2484
  * @see https://tailwindcss.com/docs/cursor
2485
2485
  */
2486
2486
  cursor: [{
2487
- cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", c, i]
2487
+ 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", i, l]
2488
2488
  }],
2489
2489
  /**
2490
2490
  * Field Sizing
@@ -2706,7 +2706,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
2706
2706
  * @see https://tailwindcss.com/docs/will-change
2707
2707
  */
2708
2708
  "will-change": [{
2709
- "will-change": ["auto", "scroll", "contents", "transform", c, i]
2709
+ "will-change": ["auto", "scroll", "contents", "transform", i, l]
2710
2710
  }],
2711
2711
  // -----------
2712
2712
  // --- SVG ---
@@ -2716,21 +2716,21 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
2716
2716
  * @see https://tailwindcss.com/docs/fill
2717
2717
  */
2718
2718
  fill: [{
2719
- fill: ["none", ...u()]
2719
+ fill: ["none", ...m()]
2720
2720
  }],
2721
2721
  /**
2722
2722
  * Stroke Width
2723
2723
  * @see https://tailwindcss.com/docs/stroke-width
2724
2724
  */
2725
2725
  "stroke-w": [{
2726
- stroke: [p, _, V, le]
2726
+ stroke: [h, W, V, le]
2727
2727
  }],
2728
2728
  /**
2729
2729
  * Stroke
2730
2730
  * @see https://tailwindcss.com/docs/stroke
2731
2731
  */
2732
2732
  stroke: [{
2733
- stroke: ["none", ...u()]
2733
+ stroke: ["none", ...m()]
2734
2734
  }],
2735
2735
  // ---------------------
2736
2736
  // --- Accessibility ---
@@ -2799,10 +2799,10 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Se, K
2799
2799
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
2800
2800
  };
2801
2801
  }, Ot = /* @__PURE__ */ ft(Vt);
2802
- function I(...e) {
2802
+ function T(...e) {
2803
2803
  return Ot(Se(e));
2804
2804
  }
2805
- const Et = Ke(
2805
+ const Ut = Ke(
2806
2806
  "h-full rounded-full transition-all duration-300",
2807
2807
  {
2808
2808
  variants: {
@@ -2819,48 +2819,48 @@ const Et = Ke(
2819
2819
  }
2820
2820
  }
2821
2821
  );
2822
- function Ue(e, r) {
2822
+ function Fe(e, r) {
2823
2823
  return r === null || r === 0 ? 0 : Math.min(100, e / r * 100);
2824
2824
  }
2825
- function Ft(e, r) {
2825
+ function Et(e, r) {
2826
2826
  if (r === null) return "green";
2827
- const t = Ue(e, r);
2827
+ const t = Fe(e, r);
2828
2828
  return t >= 90 ? "red" : t >= 70 ? "yellow" : "blue";
2829
2829
  }
2830
- const Ut = ({
2830
+ const Ft = ({
2831
2831
  config: e,
2832
2832
  showPercentage: r = !0,
2833
2833
  showRemaining: t = !0,
2834
2834
  labels: o
2835
2835
  }) => {
2836
- const { label: l, used: n, limit: s, color: m } = e, a = Ue(n, s), d = m ?? Ft(n, s), f = s !== null ? Math.max(0, s - n) : null, h = s === null;
2837
- return /* @__PURE__ */ x("div", { className: "space-y-2", children: [
2838
- /* @__PURE__ */ x("div", { className: "flex items-center justify-between", children: [
2839
- /* @__PURE__ */ g("span", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: l }),
2840
- /* @__PURE__ */ x("span", { className: "text-sm text-gray-500 dark:text-gray-400", children: [
2841
- n.toLocaleString(),
2836
+ const { label: n, used: c, limit: a, color: u } = e, s = Fe(c, a), d = u ?? Et(c, a), x = a !== null ? Math.max(0, a - c) : null, f = a === null;
2837
+ return /* @__PURE__ */ k("div", { className: "space-y-2", children: [
2838
+ /* @__PURE__ */ k("div", { className: "flex items-center justify-between", children: [
2839
+ /* @__PURE__ */ g("span", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: n }),
2840
+ /* @__PURE__ */ k("span", { className: "text-sm text-gray-500 dark:text-gray-400", children: [
2841
+ c.toLocaleString(),
2842
2842
  " ",
2843
2843
  o.usedLabel,
2844
- !h && ` / ${s.toLocaleString()} ${o.limitLabel}`,
2845
- h && ` (${o.unlimitedLabel})`
2844
+ !f && ` / ${a.toLocaleString()} ${o.limitLabel}`,
2845
+ f && ` (${o.unlimitedLabel})`
2846
2846
  ] })
2847
2847
  ] }),
2848
- !h && /* @__PURE__ */ x("div", { className: "relative", children: [
2848
+ !f && /* @__PURE__ */ k("div", { className: "relative", children: [
2849
2849
  /* @__PURE__ */ g("div", { className: "h-3 w-full rounded-full bg-gray-200 dark:bg-gray-700", children: /* @__PURE__ */ g(
2850
2850
  "div",
2851
2851
  {
2852
- className: I(Et({ color: d })),
2853
- style: { width: `${a}%` }
2852
+ className: T(Ut({ color: d })),
2853
+ style: { width: `${s}%` }
2854
2854
  }
2855
2855
  ) }),
2856
- r && /* @__PURE__ */ x("span", { className: "absolute right-0 top-4 text-xs text-gray-500 dark:text-gray-400", children: [
2857
- a.toFixed(0),
2856
+ r && /* @__PURE__ */ k("span", { className: "absolute right-0 top-4 text-xs text-gray-500 dark:text-gray-400", children: [
2857
+ s.toFixed(0),
2858
2858
  "%"
2859
2859
  ] })
2860
2860
  ] }),
2861
- h && /* @__PURE__ */ g("div", { className: "h-3 w-full rounded-full bg-green-100 dark:bg-green-900/30", children: /* @__PURE__ */ g("div", { className: "h-full w-full rounded-full bg-green-500/20" }) }),
2862
- t && f !== null && /* @__PURE__ */ x("p", { className: "text-xs text-gray-500 dark:text-gray-400", children: [
2863
- f.toLocaleString(),
2861
+ f && /* @__PURE__ */ g("div", { className: "h-3 w-full rounded-full bg-green-100 dark:bg-green-900/30", children: /* @__PURE__ */ g("div", { className: "h-full w-full rounded-full bg-green-500/20" }) }),
2862
+ t && x !== null && /* @__PURE__ */ k("p", { className: "text-xs text-gray-500 dark:text-gray-400", children: [
2863
+ x.toLocaleString(),
2864
2864
  " ",
2865
2865
  o.remainingLabel
2866
2866
  ] })
@@ -2876,48 +2876,53 @@ const Ut = ({
2876
2876
  currentTierName: r,
2877
2877
  labels: t,
2878
2878
  onUpgradeClick: o,
2879
- upgradeButtonLabel: l = "Upgrade",
2880
- className: n,
2881
- showPercentage: s = !0,
2882
- showRemaining: m = !0
2879
+ upgradeButtonLabel: n = "Upgrade",
2880
+ className: c,
2881
+ showPercentage: a = !0,
2882
+ showRemaining: u = !0,
2883
+ onTrack: s,
2884
+ trackingLabel: d,
2885
+ componentName: x = "UsageDashboard"
2883
2886
  }) => {
2884
- const a = { ...H, ...t };
2885
- return /* @__PURE__ */ x(
2887
+ const f = { ...H, ...t }, p = () => {
2888
+ s?.({ action: "upgrade_click", trackingLabel: d, componentName: x }), o?.();
2889
+ };
2890
+ return /* @__PURE__ */ k(
2886
2891
  "div",
2887
2892
  {
2888
- className: I(
2893
+ className: T(
2889
2894
  "rounded-lg border border-gray-200 bg-white p-6 dark:border-gray-700 dark:bg-gray-800",
2890
- n
2895
+ c
2891
2896
  ),
2892
2897
  children: [
2893
- /* @__PURE__ */ x("div", { className: "mb-6 flex items-center justify-between", children: [
2894
- /* @__PURE__ */ x("div", { children: [
2895
- /* @__PURE__ */ g("h3", { className: "text-lg font-semibold text-gray-900 dark:text-white", children: a.title }),
2898
+ /* @__PURE__ */ k("div", { className: "mb-6 flex items-center justify-between", children: [
2899
+ /* @__PURE__ */ k("div", { children: [
2900
+ /* @__PURE__ */ g("h3", { className: "text-lg font-semibold text-gray-900 dark:text-white", children: f.title }),
2896
2901
  r && /* @__PURE__ */ g("p", { className: "text-sm text-gray-500 dark:text-gray-400", children: r })
2897
2902
  ] }),
2898
2903
  o && /* @__PURE__ */ g(
2899
2904
  "button",
2900
2905
  {
2901
- onClick: o,
2906
+ onClick: p,
2902
2907
  className: "rounded-md bg-blue-600 px-4 py-2 text-sm font-medium text-white transition-colors hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 dark:focus:ring-offset-gray-800",
2903
- children: l
2908
+ children: n
2904
2909
  }
2905
2910
  )
2906
2911
  ] }),
2907
- /* @__PURE__ */ g("div", { className: "space-y-6", children: e.map((d, f) => /* @__PURE__ */ g(
2908
- Ut,
2912
+ /* @__PURE__ */ g("div", { className: "space-y-6", children: e.map((y, z) => /* @__PURE__ */ g(
2913
+ Ft,
2909
2914
  {
2910
- config: d,
2911
- showPercentage: s,
2912
- showRemaining: m,
2915
+ config: y,
2916
+ showPercentage: a,
2917
+ showRemaining: u,
2913
2918
  labels: {
2914
- usedLabel: a.usedLabel ?? H.usedLabel,
2915
- limitLabel: a.limitLabel ?? H.limitLabel,
2916
- unlimitedLabel: a.unlimitedLabel ?? H.unlimitedLabel,
2917
- remainingLabel: a.remainingLabel ?? H.remainingLabel
2919
+ usedLabel: f.usedLabel ?? H.usedLabel,
2920
+ limitLabel: f.limitLabel ?? H.limitLabel,
2921
+ unlimitedLabel: f.unlimitedLabel ?? H.unlimitedLabel,
2922
+ remainingLabel: f.remainingLabel ?? H.remainingLabel
2918
2923
  }
2919
2924
  },
2920
- `${d.label}-${f}`
2925
+ `${y.label}-${z}`
2921
2926
  )) })
2922
2927
  ]
2923
2928
  }
@@ -2939,77 +2944,82 @@ const Kt = ({
2939
2944
  labels: r,
2940
2945
  onTierSelect: t,
2941
2946
  className: o,
2942
- formatNumber: l = Bt
2947
+ formatNumber: n = Bt,
2948
+ onTrack: c,
2949
+ trackingLabel: a,
2950
+ componentName: u = "TierComparisonTable"
2943
2951
  }) => {
2944
- const n = { ...Le, ...r }, s = (a) => a === null ? n.unlimitedLabel ?? Le.unlimitedLabel : l(a), m = (a) => /* @__PURE__ */ g(
2952
+ const s = { ...Le, ...r }, d = (p) => {
2953
+ c?.({ action: "tier_select", trackingLabel: a, componentName: u }), t?.(p);
2954
+ }, x = (p) => p === null ? s.unlimitedLabel ?? Le.unlimitedLabel : n(p), f = (p) => /* @__PURE__ */ g(
2945
2955
  "span",
2946
2956
  {
2947
- className: I(
2957
+ className: T(
2948
2958
  "text-sm",
2949
- a === null ? "font-medium text-green-600 dark:text-green-400" : "text-gray-700 dark:text-gray-300"
2959
+ p === null ? "font-medium text-green-600 dark:text-green-400" : "text-gray-700 dark:text-gray-300"
2950
2960
  ),
2951
- children: s(a)
2961
+ children: x(p)
2952
2962
  }
2953
2963
  );
2954
- return /* @__PURE__ */ x(
2964
+ return /* @__PURE__ */ k(
2955
2965
  "div",
2956
2966
  {
2957
- className: I(
2967
+ className: T(
2958
2968
  "rounded-lg border border-gray-200 bg-white dark:border-gray-700 dark:bg-gray-800",
2959
2969
  o
2960
2970
  ),
2961
2971
  children: [
2962
- n.title && /* @__PURE__ */ g("div", { className: "border-b border-gray-200 px-6 py-4 dark:border-gray-700", children: /* @__PURE__ */ g("h3", { className: "text-lg font-semibold text-gray-900 dark:text-white", children: n.title }) }),
2963
- /* @__PURE__ */ g("div", { className: "overflow-x-auto", children: /* @__PURE__ */ x("table", { className: "w-full", children: [
2964
- /* @__PURE__ */ g("thead", { children: /* @__PURE__ */ x("tr", { className: "border-b border-gray-200 bg-gray-50 dark:border-gray-700 dark:bg-gray-900/50", children: [
2965
- /* @__PURE__ */ g("th", { className: "px-6 py-3 text-left text-xs font-medium uppercase tracking-wider text-gray-500 dark:text-gray-400", children: n.tierHeader }),
2966
- /* @__PURE__ */ g("th", { className: "px-6 py-3 text-right text-xs font-medium uppercase tracking-wider text-gray-500 dark:text-gray-400", children: n.hourlyHeader }),
2967
- /* @__PURE__ */ g("th", { className: "px-6 py-3 text-right text-xs font-medium uppercase tracking-wider text-gray-500 dark:text-gray-400", children: n.dailyHeader }),
2968
- /* @__PURE__ */ g("th", { className: "px-6 py-3 text-right text-xs font-medium uppercase tracking-wider text-gray-500 dark:text-gray-400", children: n.monthlyHeader })
2972
+ s.title && /* @__PURE__ */ g("div", { className: "border-b border-gray-200 px-6 py-4 dark:border-gray-700", children: /* @__PURE__ */ g("h3", { className: "text-lg font-semibold text-gray-900 dark:text-white", children: s.title }) }),
2973
+ /* @__PURE__ */ g("div", { className: "overflow-x-auto", children: /* @__PURE__ */ k("table", { className: "w-full", children: [
2974
+ /* @__PURE__ */ g("thead", { children: /* @__PURE__ */ k("tr", { className: "border-b border-gray-200 bg-gray-50 dark:border-gray-700 dark:bg-gray-900/50", children: [
2975
+ /* @__PURE__ */ g("th", { className: "px-6 py-3 text-left text-xs font-medium uppercase tracking-wider text-gray-500 dark:text-gray-400", children: s.tierHeader }),
2976
+ /* @__PURE__ */ g("th", { className: "px-6 py-3 text-right text-xs font-medium uppercase tracking-wider text-gray-500 dark:text-gray-400", children: s.hourlyHeader }),
2977
+ /* @__PURE__ */ g("th", { className: "px-6 py-3 text-right text-xs font-medium uppercase tracking-wider text-gray-500 dark:text-gray-400", children: s.dailyHeader }),
2978
+ /* @__PURE__ */ g("th", { className: "px-6 py-3 text-right text-xs font-medium uppercase tracking-wider text-gray-500 dark:text-gray-400", children: s.monthlyHeader })
2969
2979
  ] }) }),
2970
- /* @__PURE__ */ g("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: e.map((a) => /* @__PURE__ */ x(
2980
+ /* @__PURE__ */ g("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: e.map((p) => /* @__PURE__ */ k(
2971
2981
  "tr",
2972
2982
  {
2973
- onClick: () => t?.(a.id),
2974
- className: I(
2983
+ onClick: () => d(p.id),
2984
+ className: T(
2975
2985
  "transition-colors",
2976
- a.isHighlighted && "bg-blue-50 dark:bg-blue-900/20",
2977
- a.isCurrent && "bg-green-50 dark:bg-green-900/20",
2986
+ p.isHighlighted && "bg-blue-50 dark:bg-blue-900/20",
2987
+ p.isCurrent && "bg-green-50 dark:bg-green-900/20",
2978
2988
  t && "cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-700/50"
2979
2989
  ),
2980
2990
  children: [
2981
- /* @__PURE__ */ g("td", { className: "whitespace-nowrap px-6 py-4", children: /* @__PURE__ */ x("div", { className: "flex items-center gap-2", children: [
2991
+ /* @__PURE__ */ g("td", { className: "whitespace-nowrap px-6 py-4", children: /* @__PURE__ */ k("div", { className: "flex items-center gap-2", children: [
2982
2992
  /* @__PURE__ */ g(
2983
2993
  "span",
2984
2994
  {
2985
- className: I(
2995
+ className: T(
2986
2996
  "text-sm font-medium",
2987
- a.isCurrent ? "text-green-700 dark:text-green-400" : a.isHighlighted ? "text-blue-700 dark:text-blue-400" : "text-gray-900 dark:text-white"
2997
+ p.isCurrent ? "text-green-700 dark:text-green-400" : p.isHighlighted ? "text-blue-700 dark:text-blue-400" : "text-gray-900 dark:text-white"
2988
2998
  ),
2989
- children: a.name
2999
+ children: p.name
2990
3000
  }
2991
3001
  ),
2992
- a.isCurrent && /* @__PURE__ */ g("span", { className: "inline-flex items-center rounded-full bg-green-100 px-2 py-0.5 text-xs font-medium text-green-700 dark:bg-green-900/50 dark:text-green-400", children: n.currentTierBadge })
3002
+ p.isCurrent && /* @__PURE__ */ g("span", { className: "inline-flex items-center rounded-full bg-green-100 px-2 py-0.5 text-xs font-medium text-green-700 dark:bg-green-900/50 dark:text-green-400", children: s.currentTierBadge })
2993
3003
  ] }) }),
2994
- /* @__PURE__ */ g("td", { className: "whitespace-nowrap px-6 py-4 text-right", children: m(a.hourlyLimit) }),
2995
- /* @__PURE__ */ g("td", { className: "whitespace-nowrap px-6 py-4 text-right", children: m(a.dailyLimit) }),
2996
- /* @__PURE__ */ g("td", { className: "whitespace-nowrap px-6 py-4 text-right", children: m(a.monthlyLimit) })
3004
+ /* @__PURE__ */ g("td", { className: "whitespace-nowrap px-6 py-4 text-right", children: f(p.hourlyLimit) }),
3005
+ /* @__PURE__ */ g("td", { className: "whitespace-nowrap px-6 py-4 text-right", children: f(p.dailyLimit) }),
3006
+ /* @__PURE__ */ g("td", { className: "whitespace-nowrap px-6 py-4 text-right", children: f(p.monthlyLimit) })
2997
3007
  ]
2998
3008
  },
2999
- a.id
3009
+ p.id
3000
3010
  )) })
3001
3011
  ] }) })
3002
3012
  ]
3003
3013
  }
3004
3014
  );
3005
- }, $t = {
3015
+ }, Dt = {
3006
3016
  title: "Usage History",
3007
3017
  requestsLabel: "Requests",
3008
3018
  limitLabel: "Limit",
3009
3019
  periodLabel: "Period",
3010
3020
  noDataLabel: "No usage data available"
3011
3021
  };
3012
- function Dt(e, r) {
3022
+ function _t(e, r) {
3013
3023
  const t = new Date(e);
3014
3024
  switch (r) {
3015
3025
  case "hour":
@@ -3031,28 +3041,28 @@ function Dt(e, r) {
3031
3041
  return e;
3032
3042
  }
3033
3043
  }
3034
- const Wt = ({
3044
+ const $t = ({
3035
3045
  active: e,
3036
3046
  payload: r,
3037
3047
  label: t,
3038
3048
  labels: o,
3039
- limit: l
3049
+ limit: n
3040
3050
  }) => {
3041
3051
  if (!e || !r || r.length === 0) return null;
3042
- const n = r[0].value;
3043
- return /* @__PURE__ */ x("div", { className: "rounded-lg border border-gray-200 bg-white p-3 shadow-lg dark:border-gray-700 dark:bg-gray-800", children: [
3052
+ const c = r[0].value;
3053
+ return /* @__PURE__ */ k("div", { className: "rounded-lg border border-gray-200 bg-white p-3 shadow-lg dark:border-gray-700 dark:bg-gray-800", children: [
3044
3054
  /* @__PURE__ */ g("p", { className: "mb-1 text-sm font-medium text-gray-900 dark:text-white", children: t }),
3045
- /* @__PURE__ */ x("p", { className: "text-sm text-gray-600 dark:text-gray-400", children: [
3055
+ /* @__PURE__ */ k("p", { className: "text-sm text-gray-600 dark:text-gray-400", children: [
3046
3056
  o.requestsLabel,
3047
3057
  ":",
3048
3058
  " ",
3049
- /* @__PURE__ */ g("span", { className: "font-medium", children: n.toLocaleString() })
3059
+ /* @__PURE__ */ g("span", { className: "font-medium", children: c.toLocaleString() })
3050
3060
  ] }),
3051
- l !== null && /* @__PURE__ */ x("p", { className: "text-sm text-gray-600 dark:text-gray-400", children: [
3061
+ n !== null && /* @__PURE__ */ k("p", { className: "text-sm text-gray-600 dark:text-gray-400", children: [
3052
3062
  o.limitLabel,
3053
3063
  ":",
3054
3064
  " ",
3055
- /* @__PURE__ */ g("span", { className: "font-medium", children: l.toLocaleString() })
3065
+ /* @__PURE__ */ g("span", { className: "font-medium", children: n.toLocaleString() })
3056
3066
  ] })
3057
3067
  ] });
3058
3068
  }, Xt = ({
@@ -3060,54 +3070,54 @@ const Wt = ({
3060
3070
  periodType: r,
3061
3071
  labels: t,
3062
3072
  height: o = 300,
3063
- className: l,
3064
- formatDate: n = Dt,
3065
- barColor: s = "#3b82f6",
3066
- limitLineColor: m = "#ef4444",
3067
- showLimitLine: a = !0
3073
+ className: n,
3074
+ formatDate: c = _t,
3075
+ barColor: a = "#3b82f6",
3076
+ limitLineColor: u = "#ef4444",
3077
+ showLimitLine: s = !0
3068
3078
  }) => {
3069
- const d = { ...$t, ...t }, f = ne(() => e.map((w) => ({
3070
- name: n(w.periodStart, r),
3071
- requests: w.requestCount,
3072
- limit: w.limit
3073
- })), [e, n, r]), h = ne(() => e.find((S) => S.limit !== null)?.limit ?? null, [e]), y = ne(() => {
3074
- const w = Math.max(...e.map((C) => C.requestCount), 0);
3075
- return Math.max(w, h ?? 0) * 1.1;
3076
- }, [e, h]);
3079
+ const d = { ...Dt, ...t }, x = ne(() => e.map((y) => ({
3080
+ name: c(y.periodStart, r),
3081
+ requests: y.requestCount,
3082
+ limit: y.limit
3083
+ })), [e, c, r]), f = ne(() => e.find((z) => z.limit !== null)?.limit ?? null, [e]), p = ne(() => {
3084
+ const y = Math.max(...e.map((C) => C.requestCount), 0);
3085
+ return Math.max(y, f ?? 0) * 1.1;
3086
+ }, [e, f]);
3077
3087
  return e.length === 0 ? /* @__PURE__ */ g(
3078
3088
  "div",
3079
3089
  {
3080
- className: I(
3090
+ className: T(
3081
3091
  "flex items-center justify-center rounded-lg border border-gray-200 bg-white p-6 dark:border-gray-700 dark:bg-gray-800",
3082
- l
3092
+ n
3083
3093
  ),
3084
3094
  style: { height: o },
3085
3095
  children: /* @__PURE__ */ g("p", { className: "text-gray-500 dark:text-gray-400", children: d.noDataLabel })
3086
3096
  }
3087
- ) : /* @__PURE__ */ x(
3097
+ ) : /* @__PURE__ */ k(
3088
3098
  "div",
3089
3099
  {
3090
- className: I(
3100
+ className: T(
3091
3101
  "rounded-lg border border-gray-200 bg-white p-6 dark:border-gray-700 dark:bg-gray-800",
3092
- l
3102
+ n
3093
3103
  ),
3094
3104
  children: [
3095
3105
  d.title && /* @__PURE__ */ g("h3", { className: "mb-4 text-lg font-semibold text-gray-900 dark:text-white", children: d.title }),
3096
- /* @__PURE__ */ g(Be, { width: "100%", height: o, children: /* @__PURE__ */ x(
3097
- $e,
3106
+ /* @__PURE__ */ g(Be, { width: "100%", height: o, children: /* @__PURE__ */ k(
3107
+ De,
3098
3108
  {
3099
- data: f,
3109
+ data: x,
3100
3110
  margin: { top: 20, right: 30, left: 20, bottom: 5 },
3101
3111
  children: [
3102
3112
  /* @__PURE__ */ g(
3103
- De,
3113
+ _e,
3104
3114
  {
3105
3115
  strokeDasharray: "3 3",
3106
3116
  className: "stroke-gray-200 dark:stroke-gray-700"
3107
3117
  }
3108
3118
  ),
3109
3119
  /* @__PURE__ */ g(
3110
- We,
3120
+ $e,
3111
3121
  {
3112
3122
  dataKey: "name",
3113
3123
  tick: { fontSize: 12 },
@@ -3115,40 +3125,40 @@ const Wt = ({
3115
3125
  }
3116
3126
  ),
3117
3127
  /* @__PURE__ */ g(
3118
- _e,
3128
+ We,
3119
3129
  {
3120
- domain: [0, y],
3130
+ domain: [0, p],
3121
3131
  tick: { fontSize: 12 },
3122
3132
  className: "text-gray-600 dark:text-gray-400",
3123
- tickFormatter: (w) => w.toLocaleString()
3133
+ tickFormatter: (y) => y.toLocaleString()
3124
3134
  }
3125
3135
  ),
3126
3136
  /* @__PURE__ */ g(
3127
3137
  He,
3128
3138
  {
3129
- content: /* @__PURE__ */ g(Wt, { labels: d, limit: h })
3139
+ content: /* @__PURE__ */ g($t, { labels: d, limit: f })
3130
3140
  }
3131
3141
  ),
3132
3142
  /* @__PURE__ */ g(
3133
3143
  qe,
3134
3144
  {
3135
3145
  dataKey: "requests",
3136
- fill: s,
3146
+ fill: a,
3137
3147
  radius: [4, 4, 0, 0],
3138
3148
  name: d.requestsLabel
3139
3149
  }
3140
3150
  ),
3141
- a && h !== null && /* @__PURE__ */ g(
3151
+ s && f !== null && /* @__PURE__ */ g(
3142
3152
  Ye,
3143
3153
  {
3144
- y: h,
3145
- stroke: m,
3154
+ y: f,
3155
+ stroke: u,
3146
3156
  strokeDasharray: "5 5",
3147
3157
  strokeWidth: 2,
3148
3158
  label: {
3149
3159
  value: d.limitLabel,
3150
3160
  position: "right",
3151
- fill: m,
3161
+ fill: u,
3152
3162
  fontSize: 12
3153
3163
  }
3154
3164
  }
@@ -3156,24 +3166,24 @@ const Wt = ({
3156
3166
  ]
3157
3167
  }
3158
3168
  ) }),
3159
- /* @__PURE__ */ x("div", { className: "mt-4 flex items-center justify-center gap-6", children: [
3160
- /* @__PURE__ */ x("div", { className: "flex items-center gap-2", children: [
3169
+ /* @__PURE__ */ k("div", { className: "mt-4 flex items-center justify-center gap-6", children: [
3170
+ /* @__PURE__ */ k("div", { className: "flex items-center gap-2", children: [
3161
3171
  /* @__PURE__ */ g(
3162
3172
  "div",
3163
3173
  {
3164
3174
  className: "h-3 w-3 rounded",
3165
- style: { backgroundColor: s }
3175
+ style: { backgroundColor: a }
3166
3176
  }
3167
3177
  ),
3168
3178
  /* @__PURE__ */ g("span", { className: "text-sm text-gray-600 dark:text-gray-400", children: d.requestsLabel })
3169
3179
  ] }),
3170
- a && h !== null && /* @__PURE__ */ x("div", { className: "flex items-center gap-2", children: [
3180
+ s && f !== null && /* @__PURE__ */ k("div", { className: "flex items-center gap-2", children: [
3171
3181
  /* @__PURE__ */ g(
3172
3182
  "div",
3173
3183
  {
3174
3184
  className: "h-0.5 w-4",
3175
3185
  style: {
3176
- backgroundColor: m,
3186
+ backgroundColor: u,
3177
3187
  borderStyle: "dashed"
3178
3188
  }
3179
3189
  }
@@ -3189,5 +3199,5 @@ export {
3189
3199
  Kt as TierComparisonTable,
3190
3200
  Yt as UsageDashboard,
3191
3201
  Xt as UsageHistoryChart,
3192
- I as cn
3202
+ T as cn
3193
3203
  };