@sudobility/subscription-components 1.0.24 → 1.0.26

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,18 +1,18 @@
1
- import { jsxs as O, jsx as g, Fragment as Be } from "react/jsx-runtime";
1
+ import { jsxs as M, jsx as h, Fragment as Be } from "react/jsx-runtime";
2
2
  import { textVariants as he } from "@sudobility/design";
3
3
  import { Button as ke } from "@sudobility/components";
4
4
  import { createContext as We, useState as Y, useCallback as q, useEffect as Ue, useContext as Ke } from "react";
5
- function Ne(e) {
5
+ function Ie(e) {
6
6
  var o, r, t = "";
7
7
  if (typeof e == "string" || typeof e == "number") t += e;
8
8
  else if (typeof e == "object") if (Array.isArray(e)) {
9
9
  var n = e.length;
10
- for (o = 0; o < n; o++) e[o] && (r = Ne(e[o])) && (t && (t += " "), t += r);
10
+ for (o = 0; o < n; o++) e[o] && (r = Ie(e[o])) && (t && (t += " "), t += r);
11
11
  } else for (r in e) e[r] && (t && (t += " "), t += r);
12
12
  return t;
13
13
  }
14
14
  function Ye() {
15
- for (var e, o, r = 0, t = "", n = arguments.length; r < n; r++) (e = arguments[r]) && (o = Ne(e)) && (t && (t += " "), t += o);
15
+ for (var e, o, r = 0, t = "", n = arguments.length; r < n; r++) (e = arguments[r]) && (o = Ie(e)) && (t && (t += " "), t += o);
16
16
  return t;
17
17
  }
18
18
  const qe = (e, o) => {
@@ -29,7 +29,7 @@ const qe = (e, o) => {
29
29
  nextPart: e,
30
30
  validators: o,
31
31
  classGroupId: r
32
- }), ue = "-", Ce = [], Je = "arbitrary..", He = (e) => {
32
+ }), de = "-", Ce = [], Je = "arbitrary..", He = (e) => {
33
33
  const o = Ze(e), {
34
34
  conflictingClassGroups: r,
35
35
  conflictingClassGroupModifiers: t
@@ -38,13 +38,13 @@ const qe = (e, o) => {
38
38
  getClassGroupId: (i) => {
39
39
  if (i.startsWith("[") && i.endsWith("]"))
40
40
  return Qe(i);
41
- const f = i.split(ue), c = f[0] === "" && f.length > 1 ? 1 : 0;
42
- return De(f, c, o);
41
+ const f = i.split(de), a = f[0] === "" && f.length > 1 ? 1 : 0;
42
+ return De(f, a, o);
43
43
  },
44
44
  getConflictingClassGroupIds: (i, f) => {
45
45
  if (f) {
46
- const c = t[i], x = r[i];
47
- return c ? x ? qe(x, c) : c : x || Ce;
46
+ const a = t[i], x = r[i];
47
+ return a ? x ? qe(x, a) : a : x || Ce;
48
48
  }
49
49
  return r[i] || Ce;
50
50
  }
@@ -60,11 +60,11 @@ const qe = (e, o) => {
60
60
  const i = r.validators;
61
61
  if (i === null)
62
62
  return;
63
- const f = o === 0 ? e.join(ue) : e.slice(o).join(ue), c = i.length;
64
- for (let x = 0; x < c; x++) {
65
- const w = i[x];
66
- if (w.validator(f))
67
- return w.classGroupId;
63
+ const f = o === 0 ? e.join(de) : e.slice(o).join(de), a = i.length;
64
+ for (let x = 0; x < a; x++) {
65
+ const y = i[x];
66
+ if (y.validator(f))
67
+ return y.classGroupId;
68
68
  }
69
69
  }, Qe = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
70
70
  const o = e.slice(1, -1), r = o.indexOf(":"), t = o.slice(0, r);
@@ -110,12 +110,12 @@ const qe = (e, o) => {
110
110
  }, nt = (e, o, r, t) => {
111
111
  const n = Object.entries(e), s = n.length;
112
112
  for (let i = 0; i < s; i++) {
113
- const [f, c] = n[i];
114
- we(c, Oe(o, f), r, t);
113
+ const [f, a] = n[i];
114
+ we(a, Oe(o, f), r, t);
115
115
  }
116
116
  }, Oe = (e, o) => {
117
117
  let r = e;
118
- const t = o.split(ue), n = t.length;
118
+ const t = o.split(de), n = t.length;
119
119
  for (let s = 0; s < n; s++) {
120
120
  const i = t[s];
121
121
  let f = r.nextPart.get(i);
@@ -159,33 +159,33 @@ const qe = (e, o) => {
159
159
  } = e;
160
160
  let t = (n) => {
161
161
  const s = [];
162
- let i = 0, f = 0, c = 0, x;
163
- const w = n.length;
164
- for (let S = 0; S < w; S++) {
165
- const z = n[S];
162
+ let i = 0, f = 0, a = 0, x;
163
+ const y = n.length;
164
+ for (let z = 0; z < y; z++) {
165
+ const A = n[z];
166
166
  if (i === 0 && f === 0) {
167
- if (z === Pe) {
168
- s.push(n.slice(c, S)), c = S + 1;
167
+ if (A === Pe) {
168
+ s.push(n.slice(a, z)), a = z + 1;
169
169
  continue;
170
170
  }
171
- if (z === "/") {
172
- x = S;
171
+ if (A === "/") {
172
+ x = z;
173
173
  continue;
174
174
  }
175
175
  }
176
- z === "[" ? i++ : z === "]" ? i-- : z === "(" ? f++ : z === ")" && f--;
176
+ A === "[" ? i++ : A === "]" ? i-- : A === "(" ? f++ : A === ")" && f--;
177
177
  }
178
- const N = s.length === 0 ? n : n.slice(c);
179
- let y = N, C = !1;
180
- N.endsWith(xe) ? (y = N.slice(0, -1), C = !0) : (
178
+ const D = s.length === 0 ? n : n.slice(a);
179
+ let w = D, P = !1;
180
+ D.endsWith(xe) ? (w = D.slice(0, -1), P = !0) : (
181
181
  /**
182
182
  * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
183
183
  * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
184
184
  */
185
- N.startsWith(xe) && (y = N.slice(1), C = !0)
185
+ D.startsWith(xe) && (w = D.slice(1), P = !0)
186
186
  );
187
- const P = x && x > c ? x - c : void 0;
188
- return Se(s, C, y, P);
187
+ const S = x && x > a ? x - a : void 0;
188
+ return Se(s, P, w, S);
189
189
  };
190
190
  if (o) {
191
191
  const n = o + Pe, s = t;
@@ -207,8 +207,8 @@ const qe = (e, o) => {
207
207
  const t = [];
208
208
  let n = [];
209
209
  for (let s = 0; s < r.length; s++) {
210
- const i = r[s], f = i[0] === "[", c = o.has(i);
211
- f || c ? (n.length > 0 && (n.sort(), t.push(...n), n = []), t.push(i)) : n.push(i);
210
+ const i = r[s], f = i[0] === "[", a = o.has(i);
211
+ f || a ? (n.length > 0 && (n.sort(), t.push(...n), n = []), t.push(i)) : n.push(i);
212
212
  }
213
213
  return n.length > 0 && (n.sort(), t.push(...n)), t;
214
214
  };
@@ -224,43 +224,43 @@ const qe = (e, o) => {
224
224
  getConflictingClassGroupIds: n,
225
225
  sortModifiers: s
226
226
  } = o, i = [], f = e.trim().split(ut);
227
- let c = "";
227
+ let a = "";
228
228
  for (let x = f.length - 1; x >= 0; x -= 1) {
229
- const w = f[x], {
230
- isExternal: N,
231
- modifiers: y,
232
- hasImportantModifier: C,
233
- baseClassName: P,
234
- maybePostfixModifierPosition: S
235
- } = r(w);
236
- if (N) {
237
- c = w + (c.length > 0 ? " " + c : c);
229
+ const y = f[x], {
230
+ isExternal: D,
231
+ modifiers: w,
232
+ hasImportantModifier: P,
233
+ baseClassName: S,
234
+ maybePostfixModifierPosition: z
235
+ } = r(y);
236
+ if (D) {
237
+ a = y + (a.length > 0 ? " " + a : a);
238
238
  continue;
239
239
  }
240
- let z = !!S, A = t(z ? P.substring(0, S) : P);
241
- if (!A) {
242
- if (!z) {
243
- c = w + (c.length > 0 ? " " + c : c);
240
+ let A = !!z, I = t(A ? S.substring(0, z) : S);
241
+ if (!I) {
242
+ if (!A) {
243
+ a = y + (a.length > 0 ? " " + a : a);
244
244
  continue;
245
245
  }
246
- if (A = t(P), !A) {
247
- c = w + (c.length > 0 ? " " + c : c);
246
+ if (I = t(S), !I) {
247
+ a = y + (a.length > 0 ? " " + a : a);
248
248
  continue;
249
249
  }
250
- z = !1;
250
+ A = !1;
251
251
  }
252
- const F = y.length === 0 ? "" : y.length === 1 ? y[0] : s(y).join(":"), j = C ? F + xe : F, T = j + A;
253
- if (i.indexOf(T) > -1)
252
+ const F = w.length === 0 ? "" : w.length === 1 ? w[0] : s(w).join(":"), T = P ? F + xe : F, G = T + I;
253
+ if (i.indexOf(G) > -1)
254
254
  continue;
255
- i.push(T);
256
- const v = n(A, z);
257
- for (let R = 0; R < v.length; ++R) {
258
- const L = v[R];
259
- i.push(j + L);
255
+ i.push(G);
256
+ const k = n(I, A);
257
+ for (let N = 0; N < k.length; ++N) {
258
+ const E = k[N];
259
+ i.push(T + E);
260
260
  }
261
- c = w + (c.length > 0 ? " " + c : c);
261
+ a = y + (a.length > 0 ? " " + a : a);
262
262
  }
263
- return c;
263
+ return a;
264
264
  }, ft = (...e) => {
265
265
  let o = 0, r, t, n = "";
266
266
  for (; o < e.length; )
@@ -275,33 +275,33 @@ const qe = (e, o) => {
275
275
  return r;
276
276
  }, pt = (e, ...o) => {
277
277
  let r, t, n, s;
278
- const i = (c) => {
279
- const x = o.reduce((w, N) => N(w), e());
280
- return r = dt(x), t = r.cache.get, n = r.cache.set, s = f, f(c);
281
- }, f = (c) => {
282
- const x = t(c);
278
+ const i = (a) => {
279
+ const x = o.reduce((y, D) => D(y), e());
280
+ return r = dt(x), t = r.cache.get, n = r.cache.set, s = f, f(a);
281
+ }, f = (a) => {
282
+ const x = t(a);
283
283
  if (x)
284
284
  return x;
285
- const w = mt(c, r);
286
- return n(c, w), w;
285
+ const y = mt(a, r);
286
+ return n(a, y), y;
287
287
  };
288
- return s = i, (...c) => s(ft(...c));
289
- }, bt = [], I = (e) => {
288
+ return s = i, (...a) => s(ft(...a));
289
+ }, bt = [], R = (e) => {
290
290
  const o = (r) => r[e] || bt;
291
291
  return o.isThemeGetter = !0, o;
292
- }, Ee = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, je = /^\((?:(\w[\w-]*):)?(.+)\)$/i, gt = /^\d+\/\d+$/, ht = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, xt = /\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)\(.+\)$/, yt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, vt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, te = (e) => gt.test(e), b = (e) => !!e && !Number.isNaN(Number(e)), X = (e) => !!e && Number.isInteger(Number(e)), fe = (e) => e.endsWith("%") && b(e.slice(0, -1)), U = (e) => ht.test(e), kt = () => !0, Ct = (e) => (
292
+ }, Ee = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, je = /^\((?:(\w[\w-]*):)?(.+)\)$/i, gt = /^\d+\/\d+$/, ht = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, xt = /\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)\(.+\)$/, yt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, vt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ee = (e) => gt.test(e), g = (e) => !!e && !Number.isNaN(Number(e)), X = (e) => !!e && Number.isInteger(Number(e)), fe = (e) => e.endsWith("%") && g(e.slice(0, -1)), U = (e) => ht.test(e), kt = () => !0, Ct = (e) => (
293
293
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
294
294
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
295
295
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
296
296
  xt.test(e) && !wt.test(e)
297
- ), Te = () => !1, Pt = (e) => yt.test(e), St = (e) => vt.test(e), zt = (e) => !a(e) && !l(e), At = (e) => re(e, _e, Te), a = (e) => Ee.test(e), Q = (e) => re(e, Fe, Ct), pe = (e) => re(e, Ot, b), ze = (e) => re(e, Ge, Te), It = (e) => re(e, Le, St), ce = (e) => re(e, Ve, Pt), l = (e) => je.test(e), ne = (e) => oe(e, Fe), Nt = (e) => oe(e, Mt), Ae = (e) => oe(e, Ge), Rt = (e) => oe(e, _e), Dt = (e) => oe(e, Le), de = (e) => oe(e, Ve, !0), re = (e, o, r) => {
297
+ ), Te = () => !1, Pt = (e) => yt.test(e), St = (e) => vt.test(e), zt = (e) => !l(e) && !c(e), At = (e) => te(e, _e, Te), l = (e) => Ee.test(e), J = (e) => te(e, Fe, Ct), pe = (e) => te(e, Ot, g), ze = (e) => te(e, Ge, Te), Nt = (e) => te(e, Le, St), le = (e) => te(e, Ve, Pt), c = (e) => je.test(e), oe = (e) => re(e, Fe), It = (e) => re(e, Mt), Ae = (e) => re(e, Ge), Rt = (e) => re(e, _e), Dt = (e) => re(e, Le), ce = (e) => re(e, Ve, !0), te = (e, o, r) => {
298
298
  const t = Ee.exec(e);
299
299
  return t ? t[1] ? o(t[1]) : r(t[2]) : !1;
300
- }, oe = (e, o, r = !1) => {
300
+ }, re = (e, o, r = !1) => {
301
301
  const t = je.exec(e);
302
302
  return t ? t[1] ? o(t[1]) : r : !1;
303
303
  }, Ge = (e) => e === "position" || e === "percentage", Le = (e) => e === "image" || e === "url", _e = (e) => e === "length" || e === "size" || e === "bg-size", Fe = (e) => e === "length", Ot = (e) => e === "number", Mt = (e) => e === "family-name", Ve = (e) => e === "shadow", Et = () => {
304
- const e = I("color"), o = I("font"), r = I("text"), t = I("font-weight"), n = I("tracking"), s = I("leading"), i = I("breakpoint"), f = I("container"), c = I("spacing"), x = I("radius"), w = I("shadow"), N = I("inset-shadow"), y = I("text-shadow"), C = I("drop-shadow"), P = I("blur"), S = I("perspective"), z = I("aspect"), A = I("ease"), F = I("animate"), j = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], T = () => [
304
+ const e = R("color"), o = R("font"), r = R("text"), t = R("font-weight"), n = R("tracking"), s = R("leading"), i = R("breakpoint"), f = R("container"), a = R("spacing"), x = R("radius"), y = R("shadow"), D = R("inset-shadow"), w = R("text-shadow"), P = R("drop-shadow"), S = R("blur"), z = R("perspective"), A = R("aspect"), I = R("ease"), F = R("animate"), T = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], G = () => [
305
305
  "center",
306
306
  "top",
307
307
  "bottom",
@@ -319,30 +319,30 @@ const qe = (e, o) => {
319
319
  "bottom-left",
320
320
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
321
321
  "left-bottom"
322
- ], v = () => [...T(), l, a], R = () => ["auto", "hidden", "clip", "visible", "scroll"], L = () => ["auto", "contain", "none"], u = () => [l, a, c], _ = () => [te, "full", "auto", ...u()], B = () => [X, "none", "subgrid", l, a], Z = () => ["auto", {
323
- span: ["full", X, l, a]
324
- }, X, l, a], K = () => [X, "auto", l, a], ee = () => ["auto", "min", "max", "fr", l, a], J = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], m = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], p = () => ["auto", ...u()], h = () => [te, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...u()], d = () => [e, l, a], M = () => [...T(), Ae, ze, {
325
- position: [l, a]
326
- }], W = () => ["no-repeat", {
322
+ ], k = () => [...G(), c, l], N = () => ["auto", "hidden", "clip", "visible", "scroll"], E = () => ["auto", "contain", "none"], u = () => [c, l, a], _ = () => [ee, "full", "auto", ...u()], B = () => [X, "none", "subgrid", c, l], H = () => ["auto", {
323
+ span: ["full", X, c, l]
324
+ }, X, c, l], K = () => [X, "auto", c, l], Q = () => ["auto", "min", "max", "fr", c, l], m = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], p = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], b = () => ["auto", ...u()], v = () => [ee, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...u()], d = () => [e, c, l], W = () => [...G(), Ae, ze, {
325
+ position: [c, l]
326
+ }], $ = () => ["no-repeat", {
327
327
  repeat: ["", "x", "y", "space", "round"]
328
- }], $ = () => ["auto", "cover", "contain", Rt, At, {
329
- size: [l, a]
330
- }], H = () => [fe, ne, Q], G = () => [
328
+ }], Z = () => ["auto", "cover", "contain", Rt, At, {
329
+ size: [c, l]
330
+ }], ue = () => [fe, oe, J], L = () => [
331
331
  // Deprecated since Tailwind CSS v4.0.0
332
332
  "",
333
333
  "none",
334
334
  "full",
335
335
  x,
336
- l,
337
- a
338
- ], V = () => ["", b, ne, Q], se = () => ["solid", "dashed", "dotted", "double"], ye = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], D = () => [b, fe, Ae, ze], ve = () => [
336
+ c,
337
+ l
338
+ ], V = () => ["", g, oe, J], ne = () => ["solid", "dashed", "dotted", "double"], ye = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], O = () => [g, fe, Ae, ze], ve = () => [
339
339
  // Deprecated since Tailwind CSS v4.0.0
340
340
  "",
341
341
  "none",
342
- P,
343
- l,
344
- a
345
- ], ie = () => ["none", b, l, a], ae = () => ["none", b, l, a], me = () => [b, l, a], le = () => [te, "full", ...u()];
342
+ S,
343
+ c,
344
+ l
345
+ ], se = () => ["none", g, c, l], ie = () => ["none", g, c, l], me = () => [g, c, l], ae = () => [ee, "full", ...u()];
346
346
  return {
347
347
  cacheSize: 500,
348
348
  theme: {
@@ -361,7 +361,7 @@ const qe = (e, o) => {
361
361
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
362
362
  radius: [U],
363
363
  shadow: [U],
364
- spacing: ["px", b],
364
+ spacing: ["px", g],
365
365
  text: [U],
366
366
  "text-shadow": [U],
367
367
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
@@ -375,7 +375,7 @@ const qe = (e, o) => {
375
375
  * @see https://tailwindcss.com/docs/aspect-ratio
376
376
  */
377
377
  aspect: [{
378
- aspect: ["auto", "square", te, a, l, z]
378
+ aspect: ["auto", "square", ee, l, c, A]
379
379
  }],
380
380
  /**
381
381
  * Container
@@ -388,21 +388,21 @@ const qe = (e, o) => {
388
388
  * @see https://tailwindcss.com/docs/columns
389
389
  */
390
390
  columns: [{
391
- columns: [b, a, l, f]
391
+ columns: [g, l, c, f]
392
392
  }],
393
393
  /**
394
394
  * Break After
395
395
  * @see https://tailwindcss.com/docs/break-after
396
396
  */
397
397
  "break-after": [{
398
- "break-after": j()
398
+ "break-after": T()
399
399
  }],
400
400
  /**
401
401
  * Break Before
402
402
  * @see https://tailwindcss.com/docs/break-before
403
403
  */
404
404
  "break-before": [{
405
- "break-before": j()
405
+ "break-before": T()
406
406
  }],
407
407
  /**
408
408
  * Break Inside
@@ -466,49 +466,49 @@ const qe = (e, o) => {
466
466
  * @see https://tailwindcss.com/docs/object-position
467
467
  */
468
468
  "object-position": [{
469
- object: v()
469
+ object: k()
470
470
  }],
471
471
  /**
472
472
  * Overflow
473
473
  * @see https://tailwindcss.com/docs/overflow
474
474
  */
475
475
  overflow: [{
476
- overflow: R()
476
+ overflow: N()
477
477
  }],
478
478
  /**
479
479
  * Overflow X
480
480
  * @see https://tailwindcss.com/docs/overflow
481
481
  */
482
482
  "overflow-x": [{
483
- "overflow-x": R()
483
+ "overflow-x": N()
484
484
  }],
485
485
  /**
486
486
  * Overflow Y
487
487
  * @see https://tailwindcss.com/docs/overflow
488
488
  */
489
489
  "overflow-y": [{
490
- "overflow-y": R()
490
+ "overflow-y": N()
491
491
  }],
492
492
  /**
493
493
  * Overscroll Behavior
494
494
  * @see https://tailwindcss.com/docs/overscroll-behavior
495
495
  */
496
496
  overscroll: [{
497
- overscroll: L()
497
+ overscroll: E()
498
498
  }],
499
499
  /**
500
500
  * Overscroll Behavior X
501
501
  * @see https://tailwindcss.com/docs/overscroll-behavior
502
502
  */
503
503
  "overscroll-x": [{
504
- "overscroll-x": L()
504
+ "overscroll-x": E()
505
505
  }],
506
506
  /**
507
507
  * Overscroll Behavior Y
508
508
  * @see https://tailwindcss.com/docs/overscroll-behavior
509
509
  */
510
510
  "overscroll-y": [{
511
- "overscroll-y": L()
511
+ "overscroll-y": E()
512
512
  }],
513
513
  /**
514
514
  * Position
@@ -588,7 +588,7 @@ const qe = (e, o) => {
588
588
  * @see https://tailwindcss.com/docs/z-index
589
589
  */
590
590
  z: [{
591
- z: [X, "auto", l, a]
591
+ z: [X, "auto", c, l]
592
592
  }],
593
593
  // ------------------------
594
594
  // --- Flexbox and Grid ---
@@ -598,7 +598,7 @@ const qe = (e, o) => {
598
598
  * @see https://tailwindcss.com/docs/flex-basis
599
599
  */
600
600
  basis: [{
601
- basis: [te, "full", "auto", f, ...u()]
601
+ basis: [ee, "full", "auto", f, ...u()]
602
602
  }],
603
603
  /**
604
604
  * Flex Direction
@@ -619,28 +619,28 @@ const qe = (e, o) => {
619
619
  * @see https://tailwindcss.com/docs/flex
620
620
  */
621
621
  flex: [{
622
- flex: [b, te, "auto", "initial", "none", a]
622
+ flex: [g, ee, "auto", "initial", "none", l]
623
623
  }],
624
624
  /**
625
625
  * Flex Grow
626
626
  * @see https://tailwindcss.com/docs/flex-grow
627
627
  */
628
628
  grow: [{
629
- grow: ["", b, l, a]
629
+ grow: ["", g, c, l]
630
630
  }],
631
631
  /**
632
632
  * Flex Shrink
633
633
  * @see https://tailwindcss.com/docs/flex-shrink
634
634
  */
635
635
  shrink: [{
636
- shrink: ["", b, l, a]
636
+ shrink: ["", g, c, l]
637
637
  }],
638
638
  /**
639
639
  * Order
640
640
  * @see https://tailwindcss.com/docs/order
641
641
  */
642
642
  order: [{
643
- order: [X, "first", "last", "none", l, a]
643
+ order: [X, "first", "last", "none", c, l]
644
644
  }],
645
645
  /**
646
646
  * Grid Template Columns
@@ -654,7 +654,7 @@ const qe = (e, o) => {
654
654
  * @see https://tailwindcss.com/docs/grid-column
655
655
  */
656
656
  "col-start-end": [{
657
- col: Z()
657
+ col: H()
658
658
  }],
659
659
  /**
660
660
  * Grid Column Start
@@ -682,7 +682,7 @@ const qe = (e, o) => {
682
682
  * @see https://tailwindcss.com/docs/grid-row
683
683
  */
684
684
  "row-start-end": [{
685
- row: Z()
685
+ row: H()
686
686
  }],
687
687
  /**
688
688
  * Grid Row Start
@@ -710,14 +710,14 @@ const qe = (e, o) => {
710
710
  * @see https://tailwindcss.com/docs/grid-auto-columns
711
711
  */
712
712
  "auto-cols": [{
713
- "auto-cols": ee()
713
+ "auto-cols": Q()
714
714
  }],
715
715
  /**
716
716
  * Grid Auto Rows
717
717
  * @see https://tailwindcss.com/docs/grid-auto-rows
718
718
  */
719
719
  "auto-rows": [{
720
- "auto-rows": ee()
720
+ "auto-rows": Q()
721
721
  }],
722
722
  /**
723
723
  * Gap
@@ -745,35 +745,35 @@ const qe = (e, o) => {
745
745
  * @see https://tailwindcss.com/docs/justify-content
746
746
  */
747
747
  "justify-content": [{
748
- justify: [...J(), "normal"]
748
+ justify: [...m(), "normal"]
749
749
  }],
750
750
  /**
751
751
  * Justify Items
752
752
  * @see https://tailwindcss.com/docs/justify-items
753
753
  */
754
754
  "justify-items": [{
755
- "justify-items": [...m(), "normal"]
755
+ "justify-items": [...p(), "normal"]
756
756
  }],
757
757
  /**
758
758
  * Justify Self
759
759
  * @see https://tailwindcss.com/docs/justify-self
760
760
  */
761
761
  "justify-self": [{
762
- "justify-self": ["auto", ...m()]
762
+ "justify-self": ["auto", ...p()]
763
763
  }],
764
764
  /**
765
765
  * Align Content
766
766
  * @see https://tailwindcss.com/docs/align-content
767
767
  */
768
768
  "align-content": [{
769
- content: ["normal", ...J()]
769
+ content: ["normal", ...m()]
770
770
  }],
771
771
  /**
772
772
  * Align Items
773
773
  * @see https://tailwindcss.com/docs/align-items
774
774
  */
775
775
  "align-items": [{
776
- items: [...m(), {
776
+ items: [...p(), {
777
777
  baseline: ["", "last"]
778
778
  }]
779
779
  }],
@@ -782,7 +782,7 @@ const qe = (e, o) => {
782
782
  * @see https://tailwindcss.com/docs/align-self
783
783
  */
784
784
  "align-self": [{
785
- self: ["auto", ...m(), {
785
+ self: ["auto", ...p(), {
786
786
  baseline: ["", "last"]
787
787
  }]
788
788
  }],
@@ -791,21 +791,21 @@ const qe = (e, o) => {
791
791
  * @see https://tailwindcss.com/docs/place-content
792
792
  */
793
793
  "place-content": [{
794
- "place-content": J()
794
+ "place-content": m()
795
795
  }],
796
796
  /**
797
797
  * Place Items
798
798
  * @see https://tailwindcss.com/docs/place-items
799
799
  */
800
800
  "place-items": [{
801
- "place-items": [...m(), "baseline"]
801
+ "place-items": [...p(), "baseline"]
802
802
  }],
803
803
  /**
804
804
  * Place Self
805
805
  * @see https://tailwindcss.com/docs/place-self
806
806
  */
807
807
  "place-self": [{
808
- "place-self": ["auto", ...m()]
808
+ "place-self": ["auto", ...p()]
809
809
  }],
810
810
  // Spacing
811
811
  /**
@@ -876,63 +876,63 @@ const qe = (e, o) => {
876
876
  * @see https://tailwindcss.com/docs/margin
877
877
  */
878
878
  m: [{
879
- m: p()
879
+ m: b()
880
880
  }],
881
881
  /**
882
882
  * Margin X
883
883
  * @see https://tailwindcss.com/docs/margin
884
884
  */
885
885
  mx: [{
886
- mx: p()
886
+ mx: b()
887
887
  }],
888
888
  /**
889
889
  * Margin Y
890
890
  * @see https://tailwindcss.com/docs/margin
891
891
  */
892
892
  my: [{
893
- my: p()
893
+ my: b()
894
894
  }],
895
895
  /**
896
896
  * Margin Start
897
897
  * @see https://tailwindcss.com/docs/margin
898
898
  */
899
899
  ms: [{
900
- ms: p()
900
+ ms: b()
901
901
  }],
902
902
  /**
903
903
  * Margin End
904
904
  * @see https://tailwindcss.com/docs/margin
905
905
  */
906
906
  me: [{
907
- me: p()
907
+ me: b()
908
908
  }],
909
909
  /**
910
910
  * Margin Top
911
911
  * @see https://tailwindcss.com/docs/margin
912
912
  */
913
913
  mt: [{
914
- mt: p()
914
+ mt: b()
915
915
  }],
916
916
  /**
917
917
  * Margin Right
918
918
  * @see https://tailwindcss.com/docs/margin
919
919
  */
920
920
  mr: [{
921
- mr: p()
921
+ mr: b()
922
922
  }],
923
923
  /**
924
924
  * Margin Bottom
925
925
  * @see https://tailwindcss.com/docs/margin
926
926
  */
927
927
  mb: [{
928
- mb: p()
928
+ mb: b()
929
929
  }],
930
930
  /**
931
931
  * Margin Left
932
932
  * @see https://tailwindcss.com/docs/margin
933
933
  */
934
934
  ml: [{
935
- ml: p()
935
+ ml: b()
936
936
  }],
937
937
  /**
938
938
  * Space Between X
@@ -966,14 +966,14 @@ const qe = (e, o) => {
966
966
  * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
967
967
  */
968
968
  size: [{
969
- size: h()
969
+ size: v()
970
970
  }],
971
971
  /**
972
972
  * Width
973
973
  * @see https://tailwindcss.com/docs/width
974
974
  */
975
975
  w: [{
976
- w: [f, "screen", ...h()]
976
+ w: [f, "screen", ...v()]
977
977
  }],
978
978
  /**
979
979
  * Min-Width
@@ -985,7 +985,7 @@ const qe = (e, o) => {
985
985
  "screen",
986
986
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
987
987
  "none",
988
- ...h()
988
+ ...v()
989
989
  ]
990
990
  }],
991
991
  /**
@@ -1003,7 +1003,7 @@ const qe = (e, o) => {
1003
1003
  {
1004
1004
  screen: [i]
1005
1005
  },
1006
- ...h()
1006
+ ...v()
1007
1007
  ]
1008
1008
  }],
1009
1009
  /**
@@ -1011,21 +1011,21 @@ const qe = (e, o) => {
1011
1011
  * @see https://tailwindcss.com/docs/height
1012
1012
  */
1013
1013
  h: [{
1014
- h: ["screen", "lh", ...h()]
1014
+ h: ["screen", "lh", ...v()]
1015
1015
  }],
1016
1016
  /**
1017
1017
  * Min-Height
1018
1018
  * @see https://tailwindcss.com/docs/min-height
1019
1019
  */
1020
1020
  "min-h": [{
1021
- "min-h": ["screen", "lh", "none", ...h()]
1021
+ "min-h": ["screen", "lh", "none", ...v()]
1022
1022
  }],
1023
1023
  /**
1024
1024
  * Max-Height
1025
1025
  * @see https://tailwindcss.com/docs/max-height
1026
1026
  */
1027
1027
  "max-h": [{
1028
- "max-h": ["screen", "lh", ...h()]
1028
+ "max-h": ["screen", "lh", ...v()]
1029
1029
  }],
1030
1030
  // ------------------
1031
1031
  // --- Typography ---
@@ -1035,7 +1035,7 @@ const qe = (e, o) => {
1035
1035
  * @see https://tailwindcss.com/docs/font-size
1036
1036
  */
1037
1037
  "font-size": [{
1038
- text: ["base", r, ne, Q]
1038
+ text: ["base", r, oe, J]
1039
1039
  }],
1040
1040
  /**
1041
1041
  * Font Smoothing
@@ -1052,21 +1052,21 @@ const qe = (e, o) => {
1052
1052
  * @see https://tailwindcss.com/docs/font-weight
1053
1053
  */
1054
1054
  "font-weight": [{
1055
- font: [t, l, pe]
1055
+ font: [t, c, pe]
1056
1056
  }],
1057
1057
  /**
1058
1058
  * Font Stretch
1059
1059
  * @see https://tailwindcss.com/docs/font-stretch
1060
1060
  */
1061
1061
  "font-stretch": [{
1062
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", fe, a]
1062
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", fe, l]
1063
1063
  }],
1064
1064
  /**
1065
1065
  * Font Family
1066
1066
  * @see https://tailwindcss.com/docs/font-family
1067
1067
  */
1068
1068
  "font-family": [{
1069
- font: [Nt, a, o]
1069
+ font: [It, l, o]
1070
1070
  }],
1071
1071
  /**
1072
1072
  * Font Variant Numeric
@@ -1103,14 +1103,14 @@ const qe = (e, o) => {
1103
1103
  * @see https://tailwindcss.com/docs/letter-spacing
1104
1104
  */
1105
1105
  tracking: [{
1106
- tracking: [n, l, a]
1106
+ tracking: [n, c, l]
1107
1107
  }],
1108
1108
  /**
1109
1109
  * Line Clamp
1110
1110
  * @see https://tailwindcss.com/docs/line-clamp
1111
1111
  */
1112
1112
  "line-clamp": [{
1113
- "line-clamp": [b, "none", l, pe]
1113
+ "line-clamp": [g, "none", c, pe]
1114
1114
  }],
1115
1115
  /**
1116
1116
  * Line Height
@@ -1128,7 +1128,7 @@ const qe = (e, o) => {
1128
1128
  * @see https://tailwindcss.com/docs/list-style-image
1129
1129
  */
1130
1130
  "list-image": [{
1131
- "list-image": ["none", l, a]
1131
+ "list-image": ["none", c, l]
1132
1132
  }],
1133
1133
  /**
1134
1134
  * List Style Position
@@ -1142,7 +1142,7 @@ const qe = (e, o) => {
1142
1142
  * @see https://tailwindcss.com/docs/list-style-type
1143
1143
  */
1144
1144
  "list-style-type": [{
1145
- list: ["disc", "decimal", "none", l, a]
1145
+ list: ["disc", "decimal", "none", c, l]
1146
1146
  }],
1147
1147
  /**
1148
1148
  * Text Alignment
@@ -1176,14 +1176,14 @@ const qe = (e, o) => {
1176
1176
  * @see https://tailwindcss.com/docs/text-decoration-style
1177
1177
  */
1178
1178
  "text-decoration-style": [{
1179
- decoration: [...se(), "wavy"]
1179
+ decoration: [...ne(), "wavy"]
1180
1180
  }],
1181
1181
  /**
1182
1182
  * Text Decoration Thickness
1183
1183
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1184
1184
  */
1185
1185
  "text-decoration-thickness": [{
1186
- decoration: [b, "from-font", "auto", l, Q]
1186
+ decoration: [g, "from-font", "auto", c, J]
1187
1187
  }],
1188
1188
  /**
1189
1189
  * Text Decoration Color
@@ -1197,7 +1197,7 @@ const qe = (e, o) => {
1197
1197
  * @see https://tailwindcss.com/docs/text-underline-offset
1198
1198
  */
1199
1199
  "underline-offset": [{
1200
- "underline-offset": [b, "auto", l, a]
1200
+ "underline-offset": [g, "auto", c, l]
1201
1201
  }],
1202
1202
  /**
1203
1203
  * Text Transform
@@ -1228,7 +1228,7 @@ const qe = (e, o) => {
1228
1228
  * @see https://tailwindcss.com/docs/vertical-align
1229
1229
  */
1230
1230
  "vertical-align": [{
1231
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", l, a]
1231
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", c, l]
1232
1232
  }],
1233
1233
  /**
1234
1234
  * Whitespace
@@ -1263,7 +1263,7 @@ const qe = (e, o) => {
1263
1263
  * @see https://tailwindcss.com/docs/content
1264
1264
  */
1265
1265
  content: [{
1266
- content: ["none", l, a]
1266
+ content: ["none", c, l]
1267
1267
  }],
1268
1268
  // -------------------
1269
1269
  // --- Backgrounds ---
@@ -1294,21 +1294,21 @@ const qe = (e, o) => {
1294
1294
  * @see https://tailwindcss.com/docs/background-position
1295
1295
  */
1296
1296
  "bg-position": [{
1297
- bg: M()
1297
+ bg: W()
1298
1298
  }],
1299
1299
  /**
1300
1300
  * Background Repeat
1301
1301
  * @see https://tailwindcss.com/docs/background-repeat
1302
1302
  */
1303
1303
  "bg-repeat": [{
1304
- bg: W()
1304
+ bg: $()
1305
1305
  }],
1306
1306
  /**
1307
1307
  * Background Size
1308
1308
  * @see https://tailwindcss.com/docs/background-size
1309
1309
  */
1310
1310
  "bg-size": [{
1311
- bg: $()
1311
+ bg: Z()
1312
1312
  }],
1313
1313
  /**
1314
1314
  * Background Image
@@ -1318,10 +1318,10 @@ const qe = (e, o) => {
1318
1318
  bg: ["none", {
1319
1319
  linear: [{
1320
1320
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1321
- }, X, l, a],
1322
- radial: ["", l, a],
1323
- conic: [X, l, a]
1324
- }, Dt, It]
1321
+ }, X, c, l],
1322
+ radial: ["", c, l],
1323
+ conic: [X, c, l]
1324
+ }, Dt, Nt]
1325
1325
  }],
1326
1326
  /**
1327
1327
  * Background Color
@@ -1335,21 +1335,21 @@ const qe = (e, o) => {
1335
1335
  * @see https://tailwindcss.com/docs/gradient-color-stops
1336
1336
  */
1337
1337
  "gradient-from-pos": [{
1338
- from: H()
1338
+ from: ue()
1339
1339
  }],
1340
1340
  /**
1341
1341
  * Gradient Color Stops Via Position
1342
1342
  * @see https://tailwindcss.com/docs/gradient-color-stops
1343
1343
  */
1344
1344
  "gradient-via-pos": [{
1345
- via: H()
1345
+ via: ue()
1346
1346
  }],
1347
1347
  /**
1348
1348
  * Gradient Color Stops To Position
1349
1349
  * @see https://tailwindcss.com/docs/gradient-color-stops
1350
1350
  */
1351
1351
  "gradient-to-pos": [{
1352
- to: H()
1352
+ to: ue()
1353
1353
  }],
1354
1354
  /**
1355
1355
  * Gradient Color Stops From
@@ -1380,105 +1380,105 @@ const qe = (e, o) => {
1380
1380
  * @see https://tailwindcss.com/docs/border-radius
1381
1381
  */
1382
1382
  rounded: [{
1383
- rounded: G()
1383
+ rounded: L()
1384
1384
  }],
1385
1385
  /**
1386
1386
  * Border Radius Start
1387
1387
  * @see https://tailwindcss.com/docs/border-radius
1388
1388
  */
1389
1389
  "rounded-s": [{
1390
- "rounded-s": G()
1390
+ "rounded-s": L()
1391
1391
  }],
1392
1392
  /**
1393
1393
  * Border Radius End
1394
1394
  * @see https://tailwindcss.com/docs/border-radius
1395
1395
  */
1396
1396
  "rounded-e": [{
1397
- "rounded-e": G()
1397
+ "rounded-e": L()
1398
1398
  }],
1399
1399
  /**
1400
1400
  * Border Radius Top
1401
1401
  * @see https://tailwindcss.com/docs/border-radius
1402
1402
  */
1403
1403
  "rounded-t": [{
1404
- "rounded-t": G()
1404
+ "rounded-t": L()
1405
1405
  }],
1406
1406
  /**
1407
1407
  * Border Radius Right
1408
1408
  * @see https://tailwindcss.com/docs/border-radius
1409
1409
  */
1410
1410
  "rounded-r": [{
1411
- "rounded-r": G()
1411
+ "rounded-r": L()
1412
1412
  }],
1413
1413
  /**
1414
1414
  * Border Radius Bottom
1415
1415
  * @see https://tailwindcss.com/docs/border-radius
1416
1416
  */
1417
1417
  "rounded-b": [{
1418
- "rounded-b": G()
1418
+ "rounded-b": L()
1419
1419
  }],
1420
1420
  /**
1421
1421
  * Border Radius Left
1422
1422
  * @see https://tailwindcss.com/docs/border-radius
1423
1423
  */
1424
1424
  "rounded-l": [{
1425
- "rounded-l": G()
1425
+ "rounded-l": L()
1426
1426
  }],
1427
1427
  /**
1428
1428
  * Border Radius Start Start
1429
1429
  * @see https://tailwindcss.com/docs/border-radius
1430
1430
  */
1431
1431
  "rounded-ss": [{
1432
- "rounded-ss": G()
1432
+ "rounded-ss": L()
1433
1433
  }],
1434
1434
  /**
1435
1435
  * Border Radius Start End
1436
1436
  * @see https://tailwindcss.com/docs/border-radius
1437
1437
  */
1438
1438
  "rounded-se": [{
1439
- "rounded-se": G()
1439
+ "rounded-se": L()
1440
1440
  }],
1441
1441
  /**
1442
1442
  * Border Radius End End
1443
1443
  * @see https://tailwindcss.com/docs/border-radius
1444
1444
  */
1445
1445
  "rounded-ee": [{
1446
- "rounded-ee": G()
1446
+ "rounded-ee": L()
1447
1447
  }],
1448
1448
  /**
1449
1449
  * Border Radius End Start
1450
1450
  * @see https://tailwindcss.com/docs/border-radius
1451
1451
  */
1452
1452
  "rounded-es": [{
1453
- "rounded-es": G()
1453
+ "rounded-es": L()
1454
1454
  }],
1455
1455
  /**
1456
1456
  * Border Radius Top Left
1457
1457
  * @see https://tailwindcss.com/docs/border-radius
1458
1458
  */
1459
1459
  "rounded-tl": [{
1460
- "rounded-tl": G()
1460
+ "rounded-tl": L()
1461
1461
  }],
1462
1462
  /**
1463
1463
  * Border Radius Top Right
1464
1464
  * @see https://tailwindcss.com/docs/border-radius
1465
1465
  */
1466
1466
  "rounded-tr": [{
1467
- "rounded-tr": G()
1467
+ "rounded-tr": L()
1468
1468
  }],
1469
1469
  /**
1470
1470
  * Border Radius Bottom Right
1471
1471
  * @see https://tailwindcss.com/docs/border-radius
1472
1472
  */
1473
1473
  "rounded-br": [{
1474
- "rounded-br": G()
1474
+ "rounded-br": L()
1475
1475
  }],
1476
1476
  /**
1477
1477
  * Border Radius Bottom Left
1478
1478
  * @see https://tailwindcss.com/docs/border-radius
1479
1479
  */
1480
1480
  "rounded-bl": [{
1481
- "rounded-bl": G()
1481
+ "rounded-bl": L()
1482
1482
  }],
1483
1483
  /**
1484
1484
  * Border Width
@@ -1572,14 +1572,14 @@ const qe = (e, o) => {
1572
1572
  * @see https://tailwindcss.com/docs/border-style
1573
1573
  */
1574
1574
  "border-style": [{
1575
- border: [...se(), "hidden", "none"]
1575
+ border: [...ne(), "hidden", "none"]
1576
1576
  }],
1577
1577
  /**
1578
1578
  * Divide Style
1579
1579
  * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1580
1580
  */
1581
1581
  "divide-style": [{
1582
- divide: [...se(), "hidden", "none"]
1582
+ divide: [...ne(), "hidden", "none"]
1583
1583
  }],
1584
1584
  /**
1585
1585
  * Border Color
@@ -1656,21 +1656,21 @@ const qe = (e, o) => {
1656
1656
  * @see https://tailwindcss.com/docs/outline-style
1657
1657
  */
1658
1658
  "outline-style": [{
1659
- outline: [...se(), "none", "hidden"]
1659
+ outline: [...ne(), "none", "hidden"]
1660
1660
  }],
1661
1661
  /**
1662
1662
  * Outline Offset
1663
1663
  * @see https://tailwindcss.com/docs/outline-offset
1664
1664
  */
1665
1665
  "outline-offset": [{
1666
- "outline-offset": [b, l, a]
1666
+ "outline-offset": [g, c, l]
1667
1667
  }],
1668
1668
  /**
1669
1669
  * Outline Width
1670
1670
  * @see https://tailwindcss.com/docs/outline-width
1671
1671
  */
1672
1672
  "outline-w": [{
1673
- outline: ["", b, ne, Q]
1673
+ outline: ["", g, oe, J]
1674
1674
  }],
1675
1675
  /**
1676
1676
  * Outline Color
@@ -1691,9 +1691,9 @@ const qe = (e, o) => {
1691
1691
  // Deprecated since Tailwind CSS v4.0.0
1692
1692
  "",
1693
1693
  "none",
1694
- w,
1695
- de,
1696
- ce
1694
+ y,
1695
+ ce,
1696
+ le
1697
1697
  ]
1698
1698
  }],
1699
1699
  /**
@@ -1708,7 +1708,7 @@ const qe = (e, o) => {
1708
1708
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
1709
1709
  */
1710
1710
  "inset-shadow": [{
1711
- "inset-shadow": ["none", N, de, ce]
1711
+ "inset-shadow": ["none", D, ce, le]
1712
1712
  }],
1713
1713
  /**
1714
1714
  * Inset Box Shadow Color
@@ -1745,7 +1745,7 @@ const qe = (e, o) => {
1745
1745
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1746
1746
  */
1747
1747
  "ring-offset-w": [{
1748
- "ring-offset": [b, Q]
1748
+ "ring-offset": [g, J]
1749
1749
  }],
1750
1750
  /**
1751
1751
  * Ring Offset Color
@@ -1775,7 +1775,7 @@ const qe = (e, o) => {
1775
1775
  * @see https://tailwindcss.com/docs/text-shadow
1776
1776
  */
1777
1777
  "text-shadow": [{
1778
- "text-shadow": ["none", y, de, ce]
1778
+ "text-shadow": ["none", w, ce, le]
1779
1779
  }],
1780
1780
  /**
1781
1781
  * Text Shadow Color
@@ -1789,7 +1789,7 @@ const qe = (e, o) => {
1789
1789
  * @see https://tailwindcss.com/docs/opacity
1790
1790
  */
1791
1791
  opacity: [{
1792
- opacity: [b, l, a]
1792
+ opacity: [g, c, l]
1793
1793
  }],
1794
1794
  /**
1795
1795
  * Mix Blend Mode
@@ -1824,13 +1824,13 @@ const qe = (e, o) => {
1824
1824
  * @see https://tailwindcss.com/docs/mask-image
1825
1825
  */
1826
1826
  "mask-image-linear-pos": [{
1827
- "mask-linear": [b]
1827
+ "mask-linear": [g]
1828
1828
  }],
1829
1829
  "mask-image-linear-from-pos": [{
1830
- "mask-linear-from": D()
1830
+ "mask-linear-from": O()
1831
1831
  }],
1832
1832
  "mask-image-linear-to-pos": [{
1833
- "mask-linear-to": D()
1833
+ "mask-linear-to": O()
1834
1834
  }],
1835
1835
  "mask-image-linear-from-color": [{
1836
1836
  "mask-linear-from": d()
@@ -1839,10 +1839,10 @@ const qe = (e, o) => {
1839
1839
  "mask-linear-to": d()
1840
1840
  }],
1841
1841
  "mask-image-t-from-pos": [{
1842
- "mask-t-from": D()
1842
+ "mask-t-from": O()
1843
1843
  }],
1844
1844
  "mask-image-t-to-pos": [{
1845
- "mask-t-to": D()
1845
+ "mask-t-to": O()
1846
1846
  }],
1847
1847
  "mask-image-t-from-color": [{
1848
1848
  "mask-t-from": d()
@@ -1851,10 +1851,10 @@ const qe = (e, o) => {
1851
1851
  "mask-t-to": d()
1852
1852
  }],
1853
1853
  "mask-image-r-from-pos": [{
1854
- "mask-r-from": D()
1854
+ "mask-r-from": O()
1855
1855
  }],
1856
1856
  "mask-image-r-to-pos": [{
1857
- "mask-r-to": D()
1857
+ "mask-r-to": O()
1858
1858
  }],
1859
1859
  "mask-image-r-from-color": [{
1860
1860
  "mask-r-from": d()
@@ -1863,10 +1863,10 @@ const qe = (e, o) => {
1863
1863
  "mask-r-to": d()
1864
1864
  }],
1865
1865
  "mask-image-b-from-pos": [{
1866
- "mask-b-from": D()
1866
+ "mask-b-from": O()
1867
1867
  }],
1868
1868
  "mask-image-b-to-pos": [{
1869
- "mask-b-to": D()
1869
+ "mask-b-to": O()
1870
1870
  }],
1871
1871
  "mask-image-b-from-color": [{
1872
1872
  "mask-b-from": d()
@@ -1875,10 +1875,10 @@ const qe = (e, o) => {
1875
1875
  "mask-b-to": d()
1876
1876
  }],
1877
1877
  "mask-image-l-from-pos": [{
1878
- "mask-l-from": D()
1878
+ "mask-l-from": O()
1879
1879
  }],
1880
1880
  "mask-image-l-to-pos": [{
1881
- "mask-l-to": D()
1881
+ "mask-l-to": O()
1882
1882
  }],
1883
1883
  "mask-image-l-from-color": [{
1884
1884
  "mask-l-from": d()
@@ -1887,10 +1887,10 @@ const qe = (e, o) => {
1887
1887
  "mask-l-to": d()
1888
1888
  }],
1889
1889
  "mask-image-x-from-pos": [{
1890
- "mask-x-from": D()
1890
+ "mask-x-from": O()
1891
1891
  }],
1892
1892
  "mask-image-x-to-pos": [{
1893
- "mask-x-to": D()
1893
+ "mask-x-to": O()
1894
1894
  }],
1895
1895
  "mask-image-x-from-color": [{
1896
1896
  "mask-x-from": d()
@@ -1899,10 +1899,10 @@ const qe = (e, o) => {
1899
1899
  "mask-x-to": d()
1900
1900
  }],
1901
1901
  "mask-image-y-from-pos": [{
1902
- "mask-y-from": D()
1902
+ "mask-y-from": O()
1903
1903
  }],
1904
1904
  "mask-image-y-to-pos": [{
1905
- "mask-y-to": D()
1905
+ "mask-y-to": O()
1906
1906
  }],
1907
1907
  "mask-image-y-from-color": [{
1908
1908
  "mask-y-from": d()
@@ -1911,13 +1911,13 @@ const qe = (e, o) => {
1911
1911
  "mask-y-to": d()
1912
1912
  }],
1913
1913
  "mask-image-radial": [{
1914
- "mask-radial": [l, a]
1914
+ "mask-radial": [c, l]
1915
1915
  }],
1916
1916
  "mask-image-radial-from-pos": [{
1917
- "mask-radial-from": D()
1917
+ "mask-radial-from": O()
1918
1918
  }],
1919
1919
  "mask-image-radial-to-pos": [{
1920
- "mask-radial-to": D()
1920
+ "mask-radial-to": O()
1921
1921
  }],
1922
1922
  "mask-image-radial-from-color": [{
1923
1923
  "mask-radial-from": d()
@@ -1935,16 +1935,16 @@ const qe = (e, o) => {
1935
1935
  }]
1936
1936
  }],
1937
1937
  "mask-image-radial-pos": [{
1938
- "mask-radial-at": T()
1938
+ "mask-radial-at": G()
1939
1939
  }],
1940
1940
  "mask-image-conic-pos": [{
1941
- "mask-conic": [b]
1941
+ "mask-conic": [g]
1942
1942
  }],
1943
1943
  "mask-image-conic-from-pos": [{
1944
- "mask-conic-from": D()
1944
+ "mask-conic-from": O()
1945
1945
  }],
1946
1946
  "mask-image-conic-to-pos": [{
1947
- "mask-conic-to": D()
1947
+ "mask-conic-to": O()
1948
1948
  }],
1949
1949
  "mask-image-conic-from-color": [{
1950
1950
  "mask-conic-from": d()
@@ -1971,21 +1971,21 @@ const qe = (e, o) => {
1971
1971
  * @see https://tailwindcss.com/docs/mask-position
1972
1972
  */
1973
1973
  "mask-position": [{
1974
- mask: M()
1974
+ mask: W()
1975
1975
  }],
1976
1976
  /**
1977
1977
  * Mask Repeat
1978
1978
  * @see https://tailwindcss.com/docs/mask-repeat
1979
1979
  */
1980
1980
  "mask-repeat": [{
1981
- mask: W()
1981
+ mask: $()
1982
1982
  }],
1983
1983
  /**
1984
1984
  * Mask Size
1985
1985
  * @see https://tailwindcss.com/docs/mask-size
1986
1986
  */
1987
1987
  "mask-size": [{
1988
- mask: $()
1988
+ mask: Z()
1989
1989
  }],
1990
1990
  /**
1991
1991
  * Mask Type
@@ -1999,7 +1999,7 @@ const qe = (e, o) => {
1999
1999
  * @see https://tailwindcss.com/docs/mask-image
2000
2000
  */
2001
2001
  "mask-image": [{
2002
- mask: ["none", l, a]
2002
+ mask: ["none", c, l]
2003
2003
  }],
2004
2004
  // ---------------
2005
2005
  // --- Filters ---
@@ -2013,8 +2013,8 @@ const qe = (e, o) => {
2013
2013
  // Deprecated since Tailwind CSS v3.0.0
2014
2014
  "",
2015
2015
  "none",
2016
- l,
2017
- a
2016
+ c,
2017
+ l
2018
2018
  ]
2019
2019
  }],
2020
2020
  /**
@@ -2029,14 +2029,14 @@ const qe = (e, o) => {
2029
2029
  * @see https://tailwindcss.com/docs/brightness
2030
2030
  */
2031
2031
  brightness: [{
2032
- brightness: [b, l, a]
2032
+ brightness: [g, c, l]
2033
2033
  }],
2034
2034
  /**
2035
2035
  * Contrast
2036
2036
  * @see https://tailwindcss.com/docs/contrast
2037
2037
  */
2038
2038
  contrast: [{
2039
- contrast: [b, l, a]
2039
+ contrast: [g, c, l]
2040
2040
  }],
2041
2041
  /**
2042
2042
  * Drop Shadow
@@ -2047,9 +2047,9 @@ const qe = (e, o) => {
2047
2047
  // Deprecated since Tailwind CSS v4.0.0
2048
2048
  "",
2049
2049
  "none",
2050
- C,
2051
- de,
2052
- ce
2050
+ P,
2051
+ ce,
2052
+ le
2053
2053
  ]
2054
2054
  }],
2055
2055
  /**
@@ -2064,35 +2064,35 @@ const qe = (e, o) => {
2064
2064
  * @see https://tailwindcss.com/docs/grayscale
2065
2065
  */
2066
2066
  grayscale: [{
2067
- grayscale: ["", b, l, a]
2067
+ grayscale: ["", g, c, l]
2068
2068
  }],
2069
2069
  /**
2070
2070
  * Hue Rotate
2071
2071
  * @see https://tailwindcss.com/docs/hue-rotate
2072
2072
  */
2073
2073
  "hue-rotate": [{
2074
- "hue-rotate": [b, l, a]
2074
+ "hue-rotate": [g, c, l]
2075
2075
  }],
2076
2076
  /**
2077
2077
  * Invert
2078
2078
  * @see https://tailwindcss.com/docs/invert
2079
2079
  */
2080
2080
  invert: [{
2081
- invert: ["", b, l, a]
2081
+ invert: ["", g, c, l]
2082
2082
  }],
2083
2083
  /**
2084
2084
  * Saturate
2085
2085
  * @see https://tailwindcss.com/docs/saturate
2086
2086
  */
2087
2087
  saturate: [{
2088
- saturate: [b, l, a]
2088
+ saturate: [g, c, l]
2089
2089
  }],
2090
2090
  /**
2091
2091
  * Sepia
2092
2092
  * @see https://tailwindcss.com/docs/sepia
2093
2093
  */
2094
2094
  sepia: [{
2095
- sepia: ["", b, l, a]
2095
+ sepia: ["", g, c, l]
2096
2096
  }],
2097
2097
  /**
2098
2098
  * Backdrop Filter
@@ -2103,8 +2103,8 @@ const qe = (e, o) => {
2103
2103
  // Deprecated since Tailwind CSS v3.0.0
2104
2104
  "",
2105
2105
  "none",
2106
- l,
2107
- a
2106
+ c,
2107
+ l
2108
2108
  ]
2109
2109
  }],
2110
2110
  /**
@@ -2119,56 +2119,56 @@ const qe = (e, o) => {
2119
2119
  * @see https://tailwindcss.com/docs/backdrop-brightness
2120
2120
  */
2121
2121
  "backdrop-brightness": [{
2122
- "backdrop-brightness": [b, l, a]
2122
+ "backdrop-brightness": [g, c, l]
2123
2123
  }],
2124
2124
  /**
2125
2125
  * Backdrop Contrast
2126
2126
  * @see https://tailwindcss.com/docs/backdrop-contrast
2127
2127
  */
2128
2128
  "backdrop-contrast": [{
2129
- "backdrop-contrast": [b, l, a]
2129
+ "backdrop-contrast": [g, c, l]
2130
2130
  }],
2131
2131
  /**
2132
2132
  * Backdrop Grayscale
2133
2133
  * @see https://tailwindcss.com/docs/backdrop-grayscale
2134
2134
  */
2135
2135
  "backdrop-grayscale": [{
2136
- "backdrop-grayscale": ["", b, l, a]
2136
+ "backdrop-grayscale": ["", g, c, l]
2137
2137
  }],
2138
2138
  /**
2139
2139
  * Backdrop Hue Rotate
2140
2140
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2141
2141
  */
2142
2142
  "backdrop-hue-rotate": [{
2143
- "backdrop-hue-rotate": [b, l, a]
2143
+ "backdrop-hue-rotate": [g, c, l]
2144
2144
  }],
2145
2145
  /**
2146
2146
  * Backdrop Invert
2147
2147
  * @see https://tailwindcss.com/docs/backdrop-invert
2148
2148
  */
2149
2149
  "backdrop-invert": [{
2150
- "backdrop-invert": ["", b, l, a]
2150
+ "backdrop-invert": ["", g, c, l]
2151
2151
  }],
2152
2152
  /**
2153
2153
  * Backdrop Opacity
2154
2154
  * @see https://tailwindcss.com/docs/backdrop-opacity
2155
2155
  */
2156
2156
  "backdrop-opacity": [{
2157
- "backdrop-opacity": [b, l, a]
2157
+ "backdrop-opacity": [g, c, l]
2158
2158
  }],
2159
2159
  /**
2160
2160
  * Backdrop Saturate
2161
2161
  * @see https://tailwindcss.com/docs/backdrop-saturate
2162
2162
  */
2163
2163
  "backdrop-saturate": [{
2164
- "backdrop-saturate": [b, l, a]
2164
+ "backdrop-saturate": [g, c, l]
2165
2165
  }],
2166
2166
  /**
2167
2167
  * Backdrop Sepia
2168
2168
  * @see https://tailwindcss.com/docs/backdrop-sepia
2169
2169
  */
2170
2170
  "backdrop-sepia": [{
2171
- "backdrop-sepia": ["", b, l, a]
2171
+ "backdrop-sepia": ["", g, c, l]
2172
2172
  }],
2173
2173
  // --------------
2174
2174
  // --- Tables ---
@@ -2223,7 +2223,7 @@ const qe = (e, o) => {
2223
2223
  * @see https://tailwindcss.com/docs/transition-property
2224
2224
  */
2225
2225
  transition: [{
2226
- transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", l, a]
2226
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", c, l]
2227
2227
  }],
2228
2228
  /**
2229
2229
  * Transition Behavior
@@ -2237,28 +2237,28 @@ const qe = (e, o) => {
2237
2237
  * @see https://tailwindcss.com/docs/transition-duration
2238
2238
  */
2239
2239
  duration: [{
2240
- duration: [b, "initial", l, a]
2240
+ duration: [g, "initial", c, l]
2241
2241
  }],
2242
2242
  /**
2243
2243
  * Transition Timing Function
2244
2244
  * @see https://tailwindcss.com/docs/transition-timing-function
2245
2245
  */
2246
2246
  ease: [{
2247
- ease: ["linear", "initial", A, l, a]
2247
+ ease: ["linear", "initial", I, c, l]
2248
2248
  }],
2249
2249
  /**
2250
2250
  * Transition Delay
2251
2251
  * @see https://tailwindcss.com/docs/transition-delay
2252
2252
  */
2253
2253
  delay: [{
2254
- delay: [b, l, a]
2254
+ delay: [g, c, l]
2255
2255
  }],
2256
2256
  /**
2257
2257
  * Animation
2258
2258
  * @see https://tailwindcss.com/docs/animation
2259
2259
  */
2260
2260
  animate: [{
2261
- animate: ["none", F, l, a]
2261
+ animate: ["none", F, c, l]
2262
2262
  }],
2263
2263
  // ------------------
2264
2264
  // --- Transforms ---
@@ -2275,70 +2275,70 @@ const qe = (e, o) => {
2275
2275
  * @see https://tailwindcss.com/docs/perspective
2276
2276
  */
2277
2277
  perspective: [{
2278
- perspective: [S, l, a]
2278
+ perspective: [z, c, l]
2279
2279
  }],
2280
2280
  /**
2281
2281
  * Perspective Origin
2282
2282
  * @see https://tailwindcss.com/docs/perspective-origin
2283
2283
  */
2284
2284
  "perspective-origin": [{
2285
- "perspective-origin": v()
2285
+ "perspective-origin": k()
2286
2286
  }],
2287
2287
  /**
2288
2288
  * Rotate
2289
2289
  * @see https://tailwindcss.com/docs/rotate
2290
2290
  */
2291
2291
  rotate: [{
2292
- rotate: ie()
2292
+ rotate: se()
2293
2293
  }],
2294
2294
  /**
2295
2295
  * Rotate X
2296
2296
  * @see https://tailwindcss.com/docs/rotate
2297
2297
  */
2298
2298
  "rotate-x": [{
2299
- "rotate-x": ie()
2299
+ "rotate-x": se()
2300
2300
  }],
2301
2301
  /**
2302
2302
  * Rotate Y
2303
2303
  * @see https://tailwindcss.com/docs/rotate
2304
2304
  */
2305
2305
  "rotate-y": [{
2306
- "rotate-y": ie()
2306
+ "rotate-y": se()
2307
2307
  }],
2308
2308
  /**
2309
2309
  * Rotate Z
2310
2310
  * @see https://tailwindcss.com/docs/rotate
2311
2311
  */
2312
2312
  "rotate-z": [{
2313
- "rotate-z": ie()
2313
+ "rotate-z": se()
2314
2314
  }],
2315
2315
  /**
2316
2316
  * Scale
2317
2317
  * @see https://tailwindcss.com/docs/scale
2318
2318
  */
2319
2319
  scale: [{
2320
- scale: ae()
2320
+ scale: ie()
2321
2321
  }],
2322
2322
  /**
2323
2323
  * Scale X
2324
2324
  * @see https://tailwindcss.com/docs/scale
2325
2325
  */
2326
2326
  "scale-x": [{
2327
- "scale-x": ae()
2327
+ "scale-x": ie()
2328
2328
  }],
2329
2329
  /**
2330
2330
  * Scale Y
2331
2331
  * @see https://tailwindcss.com/docs/scale
2332
2332
  */
2333
2333
  "scale-y": [{
2334
- "scale-y": ae()
2334
+ "scale-y": ie()
2335
2335
  }],
2336
2336
  /**
2337
2337
  * Scale Z
2338
2338
  * @see https://tailwindcss.com/docs/scale
2339
2339
  */
2340
2340
  "scale-z": [{
2341
- "scale-z": ae()
2341
+ "scale-z": ie()
2342
2342
  }],
2343
2343
  /**
2344
2344
  * Scale 3D
@@ -2371,14 +2371,14 @@ const qe = (e, o) => {
2371
2371
  * @see https://tailwindcss.com/docs/transform
2372
2372
  */
2373
2373
  transform: [{
2374
- transform: [l, a, "", "none", "gpu", "cpu"]
2374
+ transform: [c, l, "", "none", "gpu", "cpu"]
2375
2375
  }],
2376
2376
  /**
2377
2377
  * Transform Origin
2378
2378
  * @see https://tailwindcss.com/docs/transform-origin
2379
2379
  */
2380
2380
  "transform-origin": [{
2381
- origin: v()
2381
+ origin: k()
2382
2382
  }],
2383
2383
  /**
2384
2384
  * Transform Style
@@ -2392,28 +2392,28 @@ const qe = (e, o) => {
2392
2392
  * @see https://tailwindcss.com/docs/translate
2393
2393
  */
2394
2394
  translate: [{
2395
- translate: le()
2395
+ translate: ae()
2396
2396
  }],
2397
2397
  /**
2398
2398
  * Translate X
2399
2399
  * @see https://tailwindcss.com/docs/translate
2400
2400
  */
2401
2401
  "translate-x": [{
2402
- "translate-x": le()
2402
+ "translate-x": ae()
2403
2403
  }],
2404
2404
  /**
2405
2405
  * Translate Y
2406
2406
  * @see https://tailwindcss.com/docs/translate
2407
2407
  */
2408
2408
  "translate-y": [{
2409
- "translate-y": le()
2409
+ "translate-y": ae()
2410
2410
  }],
2411
2411
  /**
2412
2412
  * Translate Z
2413
2413
  * @see https://tailwindcss.com/docs/translate
2414
2414
  */
2415
2415
  "translate-z": [{
2416
- "translate-z": le()
2416
+ "translate-z": ae()
2417
2417
  }],
2418
2418
  /**
2419
2419
  * Translate None
@@ -2456,7 +2456,7 @@ const qe = (e, o) => {
2456
2456
  * @see https://tailwindcss.com/docs/cursor
2457
2457
  */
2458
2458
  cursor: [{
2459
- 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", l, a]
2459
+ 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, l]
2460
2460
  }],
2461
2461
  /**
2462
2462
  * Field Sizing
@@ -2678,7 +2678,7 @@ const qe = (e, o) => {
2678
2678
  * @see https://tailwindcss.com/docs/will-change
2679
2679
  */
2680
2680
  "will-change": [{
2681
- "will-change": ["auto", "scroll", "contents", "transform", l, a]
2681
+ "will-change": ["auto", "scroll", "contents", "transform", c, l]
2682
2682
  }],
2683
2683
  // -----------
2684
2684
  // --- SVG ---
@@ -2695,7 +2695,7 @@ const qe = (e, o) => {
2695
2695
  * @see https://tailwindcss.com/docs/stroke-width
2696
2696
  */
2697
2697
  "stroke-w": [{
2698
- stroke: [b, ne, Q, pe]
2698
+ stroke: [g, oe, J, pe]
2699
2699
  }],
2700
2700
  /**
2701
2701
  * Stroke
@@ -2771,7 +2771,7 @@ const qe = (e, o) => {
2771
2771
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
2772
2772
  };
2773
2773
  }, jt = /* @__PURE__ */ pt(Et);
2774
- function k(...e) {
2774
+ function C(...e) {
2775
2775
  return jt(Ye(e));
2776
2776
  }
2777
2777
  const Tt = {
@@ -2789,64 +2789,64 @@ const Tt = {
2789
2789
  isSelected: s,
2790
2790
  onSelect: i,
2791
2791
  isCurrentPlan: f = !1,
2792
- topBadge: c,
2792
+ topBadge: a,
2793
2793
  discountBadge: x,
2794
- premiumCallout: w,
2795
- bottomNote: N,
2796
- introPriceNote: y,
2797
- isBestValue: C = !1,
2798
- ctaButton: P,
2799
- className: S,
2800
- children: z,
2801
- disabled: A = !1,
2794
+ premiumCallout: y,
2795
+ bottomNote: D,
2796
+ introPriceNote: w,
2797
+ isBestValue: P = !1,
2798
+ ctaButton: S,
2799
+ className: z,
2800
+ children: A,
2801
+ disabled: I = !1,
2802
2802
  enabled: F = !0,
2803
- ariaLabel: j,
2804
- onTrack: T,
2805
- trackingLabel: v,
2806
- componentName: R = "SubscriptionTile",
2807
- hideSelectionIndicator: L = !1
2803
+ ariaLabel: T,
2804
+ onTrack: G,
2805
+ trackingLabel: k,
2806
+ componentName: N = "SubscriptionTile",
2807
+ hideSelectionIndicator: E = !1
2808
2808
  }) => {
2809
- const u = !!P, _ = !L && !f && F, B = F && !f && !A, Z = s ? "bg-blue-600 text-white border-2 border-blue-600 shadow-md" : f ? "bg-gray-100 dark:bg-gray-800 border-2 border-blue-500 dark:border-blue-400 shadow-md" : F ? "bg-gray-100 dark:bg-gray-800 border-2 border-gray-200 dark:border-gray-700 shadow-md hover:border-gray-300 dark:hover:border-gray-600" : "bg-gray-100 dark:bg-gray-800 border-2 border-gray-200 dark:border-gray-700 opacity-50 shadow-md", K = () => {
2810
- B && !u && (T?.({ action: "select", trackingLabel: v, componentName: R }), i());
2811
- }, ee = (m) => {
2812
- B && !u && (m.key === "Enter" || m.key === " ") && (m.preventDefault(), T?.({ action: "select", trackingLabel: v, componentName: R }), i());
2813
- }, J = (m) => {
2814
- m.stopPropagation(), T?.({ action: "cta_click", trackingLabel: v, componentName: R }), P?.onClick && P.onClick();
2809
+ const u = !!S, _ = !E && !f && F, B = F && !f && !I, H = s ? "bg-blue-600 text-white border-2 border-blue-600 shadow-md" : f ? "bg-gray-100 dark:bg-gray-800 border-2 border-blue-500 dark:border-blue-400 shadow-md" : F ? "bg-gray-100 dark:bg-gray-800 border-2 border-gray-200 dark:border-gray-700 shadow-md hover:border-gray-300 dark:hover:border-gray-600" : "bg-gray-100 dark:bg-gray-800 border-2 border-gray-200 dark:border-gray-700 opacity-50 shadow-md", K = () => {
2810
+ B && !u && (G?.({ action: "select", trackingLabel: k, componentName: N }), i());
2811
+ }, Q = (p) => {
2812
+ B && !u && (p.key === "Enter" || p.key === " ") && (p.preventDefault(), G?.({ action: "select", trackingLabel: k, componentName: N }), i());
2813
+ }, m = (p) => {
2814
+ p.stopPropagation(), G?.({ action: "cta_click", trackingLabel: k, componentName: N }), S?.onClick && S.onClick();
2815
2815
  };
2816
- return /* @__PURE__ */ O(
2816
+ return /* @__PURE__ */ M(
2817
2817
  "div",
2818
2818
  {
2819
- className: k(
2819
+ className: C(
2820
2820
  "relative rounded-2xl p-6 transition-all flex flex-col h-full",
2821
2821
  !B || u ? "cursor-default" : "cursor-pointer",
2822
- A && "cursor-not-allowed",
2823
- Z,
2824
- S
2822
+ I && "cursor-not-allowed",
2823
+ H,
2824
+ z
2825
2825
  ),
2826
2826
  onClick: K,
2827
- onKeyDown: ee,
2827
+ onKeyDown: Q,
2828
2828
  role: u ? "article" : "radio",
2829
2829
  "aria-checked": u ? void 0 : s,
2830
- "aria-label": j || `${o} - ${r}${t || ""}`,
2830
+ "aria-label": T || `${o} - ${r}${t || ""}`,
2831
2831
  "aria-disabled": !B,
2832
2832
  tabIndex: u || !B ? -1 : 0,
2833
2833
  children: [
2834
- c && /* @__PURE__ */ g("div", { className: "absolute top-0 left-1/2 -translate-x-1/2 -translate-y-1/2 z-10", children: /* @__PURE__ */ g(
2834
+ a && /* @__PURE__ */ h("div", { className: "absolute top-0 left-1/2 -translate-x-1/2 -translate-y-1/2 z-10", children: /* @__PURE__ */ h(
2835
2835
  "span",
2836
2836
  {
2837
- className: k(
2838
- Tt[c.color],
2837
+ className: C(
2838
+ Tt[a.color],
2839
2839
  "text-white px-4 py-1.5 rounded-full text-sm font-semibold shadow-lg whitespace-nowrap"
2840
2840
  ),
2841
- children: c.text
2841
+ children: a.text
2842
2842
  }
2843
2843
  ) }),
2844
- /* @__PURE__ */ O("div", { className: "flex-1 flex flex-col", children: [
2845
- /* @__PURE__ */ O("div", { className: k("text-center mb-6", c && "mt-2"), children: [
2846
- /* @__PURE__ */ g(
2844
+ /* @__PURE__ */ M("div", { className: "flex-1 flex flex-col", children: [
2845
+ /* @__PURE__ */ M("div", { className: C("text-center mb-6", a && "mt-2"), children: [
2846
+ /* @__PURE__ */ h(
2847
2847
  "h3",
2848
2848
  {
2849
- className: k(
2849
+ className: C(
2850
2850
  he.heading.h4(),
2851
2851
  "mb-2",
2852
2852
  s ? "text-white" : ""
@@ -2854,21 +2854,21 @@ const Tt = {
2854
2854
  children: o
2855
2855
  }
2856
2856
  ),
2857
- /* @__PURE__ */ O("div", { className: "mb-3", children: [
2858
- /* @__PURE__ */ g(
2857
+ /* @__PURE__ */ M("div", { className: "mb-3", children: [
2858
+ /* @__PURE__ */ h(
2859
2859
  "span",
2860
2860
  {
2861
- className: k(
2861
+ className: C(
2862
2862
  "text-4xl font-bold",
2863
2863
  s ? "text-white" : "text-gray-900 dark:text-gray-100"
2864
2864
  ),
2865
2865
  children: r
2866
2866
  }
2867
2867
  ),
2868
- t && /* @__PURE__ */ g(
2868
+ t && /* @__PURE__ */ h(
2869
2869
  "span",
2870
2870
  {
2871
- className: k(
2871
+ className: C(
2872
2872
  "text-lg",
2873
2873
  s ? "text-blue-100" : "text-gray-500 dark:text-gray-400"
2874
2874
  ),
@@ -2876,10 +2876,10 @@ const Tt = {
2876
2876
  }
2877
2877
  )
2878
2878
  ] }),
2879
- x && /* @__PURE__ */ g(
2879
+ x && /* @__PURE__ */ h(
2880
2880
  "div",
2881
2881
  {
2882
- className: k(
2882
+ className: C(
2883
2883
  "inline-flex items-center px-2 py-1 rounded-full text-sm font-semibold",
2884
2884
  s ? "bg-blue-500 text-white" : "bg-green-100 text-green-700 dark:bg-green-900/50 dark:text-green-300"
2885
2885
  ),
@@ -2887,19 +2887,19 @@ const Tt = {
2887
2887
  }
2888
2888
  )
2889
2889
  ] }),
2890
- z,
2891
- n.length > 0 && /* @__PURE__ */ g("div", { className: "space-y-3 mb-6", children: n.map((m, p) => /* @__PURE__ */ O("div", { className: "flex items-start", children: [
2892
- /* @__PURE__ */ g(
2890
+ A,
2891
+ n.length > 0 && /* @__PURE__ */ h("div", { className: "space-y-3 mb-6", children: n.map((p, b) => /* @__PURE__ */ M("div", { className: "flex items-start", children: [
2892
+ /* @__PURE__ */ h(
2893
2893
  "svg",
2894
2894
  {
2895
- className: k(
2895
+ className: C(
2896
2896
  "w-5 h-5 mr-3 flex-shrink-0",
2897
2897
  s ? "text-blue-200" : "text-green-500"
2898
2898
  ),
2899
2899
  fill: "none",
2900
2900
  stroke: "currentColor",
2901
2901
  viewBox: "0 0 24 24",
2902
- children: /* @__PURE__ */ g(
2902
+ children: /* @__PURE__ */ h(
2903
2903
  "path",
2904
2904
  {
2905
2905
  strokeLinecap: "round",
@@ -2910,114 +2910,114 @@ const Tt = {
2910
2910
  )
2911
2911
  }
2912
2912
  ),
2913
- /* @__PURE__ */ g(
2913
+ /* @__PURE__ */ h(
2914
2914
  "span",
2915
2915
  {
2916
- className: k(
2916
+ className: C(
2917
2917
  "text-sm text-left",
2918
2918
  s ? "text-white" : "text-gray-700 dark:text-gray-300"
2919
2919
  ),
2920
- children: m.replace(/^✓\s*/, "")
2920
+ children: p.replace(/^✓\s*/, "")
2921
2921
  }
2922
2922
  )
2923
- ] }, p)) }),
2924
- w && /* @__PURE__ */ O(
2923
+ ] }, b)) }),
2924
+ y && /* @__PURE__ */ M(
2925
2925
  "div",
2926
2926
  {
2927
- className: k(
2927
+ className: C(
2928
2928
  "rounded-lg p-4 mb-4",
2929
2929
  s ? "bg-blue-500/30" : "bg-gradient-to-r from-purple-50 to-blue-50 dark:from-purple-900/20 dark:to-blue-900/20"
2930
2930
  ),
2931
2931
  children: [
2932
- /* @__PURE__ */ g("div", { className: "flex items-center mb-2", children: /* @__PURE__ */ g(
2932
+ /* @__PURE__ */ h("div", { className: "flex items-center mb-2", children: /* @__PURE__ */ h(
2933
2933
  "span",
2934
2934
  {
2935
- className: k(
2935
+ className: C(
2936
2936
  "font-semibold text-sm",
2937
2937
  s ? "text-white" : "text-purple-600 dark:text-purple-400"
2938
2938
  ),
2939
- children: w.title
2939
+ children: y.title
2940
2940
  }
2941
2941
  ) }),
2942
- /* @__PURE__ */ g(
2942
+ /* @__PURE__ */ h(
2943
2943
  "ul",
2944
2944
  {
2945
- className: k(
2945
+ className: C(
2946
2946
  "text-xs space-y-1",
2947
2947
  s ? "text-blue-100" : "text-gray-600 dark:text-gray-400"
2948
2948
  ),
2949
- children: w.features.map((m, p) => /* @__PURE__ */ O("li", { children: [
2949
+ children: y.features.map((p, b) => /* @__PURE__ */ M("li", { children: [
2950
2950
  "• ",
2951
- m
2952
- ] }, p))
2951
+ p
2952
+ ] }, b))
2953
2953
  }
2954
2954
  )
2955
2955
  ]
2956
2956
  }
2957
2957
  ),
2958
- N && /* @__PURE__ */ g(
2958
+ D && /* @__PURE__ */ h(
2959
2959
  "div",
2960
2960
  {
2961
- className: k(
2961
+ className: C(
2962
2962
  "text-center text-sm font-medium mb-4",
2963
2963
  s ? "text-blue-100" : "text-blue-600 dark:text-blue-400"
2964
2964
  ),
2965
- children: N
2965
+ children: D
2966
2966
  }
2967
2967
  ),
2968
- y && /* @__PURE__ */ g(
2968
+ w && /* @__PURE__ */ h(
2969
2969
  "div",
2970
2970
  {
2971
- className: k(
2971
+ className: C(
2972
2972
  "p-3 rounded-lg",
2973
2973
  s ? "bg-blue-500/30" : "bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800"
2974
2974
  ),
2975
- children: /* @__PURE__ */ g(
2975
+ children: /* @__PURE__ */ h(
2976
2976
  "p",
2977
2977
  {
2978
- className: k(
2978
+ className: C(
2979
2979
  "text-sm font-semibold text-center",
2980
2980
  s ? "text-white" : "text-yellow-700 dark:text-yellow-300"
2981
2981
  ),
2982
- children: y
2982
+ children: w
2983
2983
  }
2984
2984
  )
2985
2985
  }
2986
2986
  )
2987
2987
  ] }),
2988
- /* @__PURE__ */ O("div", { className: "h-14 flex-shrink-0 flex items-end justify-center", children: [
2989
- _ && u && /* @__PURE__ */ g("div", { className: "w-full", children: P.href ? /* @__PURE__ */ g(
2988
+ /* @__PURE__ */ M("div", { className: "h-14 flex-shrink-0 flex items-end justify-center", children: [
2989
+ _ && u && /* @__PURE__ */ h("div", { className: "w-full", children: S.href ? /* @__PURE__ */ h(
2990
2990
  "a",
2991
2991
  {
2992
- href: P.href,
2993
- className: k(
2992
+ href: S.href,
2993
+ className: C(
2994
2994
  "block w-full py-3 font-semibold rounded-lg text-center transition-colors",
2995
2995
  s ? "bg-white text-blue-600 hover:bg-gray-100" : "bg-blue-600 text-white hover:bg-blue-700"
2996
2996
  ),
2997
- onClick: (m) => m.stopPropagation(),
2998
- children: P.label
2997
+ onClick: (p) => p.stopPropagation(),
2998
+ children: S.label
2999
2999
  }
3000
- ) : /* @__PURE__ */ g(
3000
+ ) : /* @__PURE__ */ h(
3001
3001
  "button",
3002
3002
  {
3003
- onClick: J,
3004
- disabled: A,
3005
- className: k(
3003
+ onClick: m,
3004
+ disabled: I,
3005
+ className: C(
3006
3006
  "w-full py-3 font-semibold rounded-lg transition-colors",
3007
3007
  s ? "bg-white text-blue-600 hover:bg-gray-100" : "bg-blue-600 text-white hover:bg-blue-700",
3008
- A && "opacity-50 cursor-not-allowed"
3008
+ I && "opacity-50 cursor-not-allowed"
3009
3009
  ),
3010
- children: P.label
3010
+ children: S.label
3011
3011
  }
3012
3012
  ) }),
3013
- _ && !u && /* @__PURE__ */ g(
3013
+ _ && !u && /* @__PURE__ */ h(
3014
3014
  "div",
3015
3015
  {
3016
- className: k(
3016
+ className: C(
3017
3017
  "w-5 h-5 rounded-full border-2 flex items-center justify-center",
3018
3018
  s ? "border-white bg-white" : "border-gray-300 dark:border-gray-600"
3019
3019
  ),
3020
- children: s && /* @__PURE__ */ g("div", { className: "w-2 h-2 rounded-full bg-blue-600" })
3020
+ children: s && /* @__PURE__ */ h("div", { className: "w-2 h-2 rounded-full bg-blue-600" })
3021
3021
  }
3022
3022
  )
3023
3023
  ] })
@@ -3033,80 +3033,80 @@ const Tt = {
3033
3033
  primaryAction: s,
3034
3034
  secondaryAction: i,
3035
3035
  minTileWidth: f = 240,
3036
- className: c,
3036
+ className: a,
3037
3037
  headerContent: x,
3038
- aboveProducts: w,
3039
- footerContent: N,
3040
- currentStatusLabel: y = "Current Status",
3041
- freeTileConfig: C,
3042
- onTrack: P,
3043
- trackingLabel: S,
3044
- componentName: z = "SubscriptionLayout"
3038
+ aboveProducts: y,
3039
+ footerContent: D,
3040
+ currentStatusLabel: w = "Current Status",
3041
+ freeTileConfig: P,
3042
+ onTrack: S,
3043
+ trackingLabel: z,
3044
+ componentName: A = "SubscriptionLayout"
3045
3045
  }) => {
3046
- const A = t === "selection" && s, F = () => {
3047
- P?.({ action: "primary_action", trackingLabel: S, componentName: z }), s?.onClick();
3048
- }, j = () => {
3049
- P?.({ action: "secondary_action", trackingLabel: S, componentName: z }), i?.onClick();
3050
- }, T = t === "cta" && C, v = {
3046
+ const I = t === "selection" && s, F = () => {
3047
+ S?.({ action: "primary_action", trackingLabel: z, componentName: A }), s?.onClick();
3048
+ }, T = () => {
3049
+ S?.({ action: "secondary_action", trackingLabel: z, componentName: A }), i?.onClick();
3050
+ }, G = t === "cta" && P, k = {
3051
3051
  display: "grid",
3052
3052
  gridTemplateColumns: `repeat(auto-fit, minmax(min(100%, ${f}px), 1fr))`,
3053
3053
  gap: "1.5rem"
3054
3054
  };
3055
- return /* @__PURE__ */ O("div", { className: c, children: [
3055
+ return /* @__PURE__ */ M("div", { className: a, children: [
3056
3056
  x,
3057
- n && /* @__PURE__ */ O(Be, { children: [
3058
- /* @__PURE__ */ g("h2", { className: k(he.heading.h3(), "mb-4"), children: y }),
3059
- n.isActive ? /* @__PURE__ */ O("div", { className: "bg-green-50 dark:bg-green-900/20 border border-green-200 dark:border-green-800 rounded-lg p-4 mb-6", children: [
3060
- /* @__PURE__ */ O("div", { className: "flex items-center mb-2", children: [
3061
- /* @__PURE__ */ g("div", { className: "w-3 h-3 bg-green-500 rounded-full mr-3" }),
3062
- /* @__PURE__ */ g("span", { className: "font-semibold text-green-800 dark:text-green-300", children: n.activeContent?.title || "Active Subscription" })
3057
+ n && /* @__PURE__ */ M(Be, { children: [
3058
+ /* @__PURE__ */ h("h2", { className: C(he.heading.h3(), "mb-4"), children: w }),
3059
+ n.isActive ? /* @__PURE__ */ M("div", { className: "bg-green-50 dark:bg-green-900/20 border border-green-200 dark:border-green-800 rounded-lg p-4 mb-6", children: [
3060
+ /* @__PURE__ */ M("div", { className: "flex items-center mb-2", children: [
3061
+ /* @__PURE__ */ h("div", { className: "w-3 h-3 bg-green-500 rounded-full mr-3" }),
3062
+ /* @__PURE__ */ h("span", { className: "font-semibold text-green-800 dark:text-green-300", children: n.activeContent?.title || "Active Subscription" })
3063
3063
  ] }),
3064
- n.activeContent?.fields && n.activeContent.fields.length > 0 && /* @__PURE__ */ g("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4 mt-4", children: n.activeContent.fields.map((R, L) => /* @__PURE__ */ O("div", { children: [
3065
- /* @__PURE__ */ g("p", { className: "text-sm text-green-600 dark:text-green-400", children: R.label }),
3066
- /* @__PURE__ */ g("p", { className: "font-semibold text-green-800 dark:text-green-300", children: R.value })
3067
- ] }, L)) })
3068
- ] }) : /* @__PURE__ */ O("div", { className: "bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg p-4 mb-6", children: [
3069
- /* @__PURE__ */ O("div", { className: "flex items-center mb-2", children: [
3070
- /* @__PURE__ */ g("div", { className: "w-3 h-3 bg-yellow-500 rounded-full mr-3" }),
3071
- /* @__PURE__ */ g("span", { className: "font-semibold text-yellow-800 dark:text-yellow-300", children: n.inactiveContent?.title || "No Active Subscription" })
3064
+ n.activeContent?.fields && n.activeContent.fields.length > 0 && /* @__PURE__ */ h("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4 mt-4", children: n.activeContent.fields.map((N, E) => /* @__PURE__ */ M("div", { children: [
3065
+ /* @__PURE__ */ h("p", { className: "text-sm text-green-600 dark:text-green-400", children: N.label }),
3066
+ /* @__PURE__ */ h("p", { className: "font-semibold text-green-800 dark:text-green-300", children: N.value })
3067
+ ] }, E)) })
3068
+ ] }) : /* @__PURE__ */ M("div", { className: "bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg p-4 mb-6", children: [
3069
+ /* @__PURE__ */ M("div", { className: "flex items-center mb-2", children: [
3070
+ /* @__PURE__ */ h("div", { className: "w-3 h-3 bg-yellow-500 rounded-full mr-3" }),
3071
+ /* @__PURE__ */ h("span", { className: "font-semibold text-yellow-800 dark:text-yellow-300", children: n.inactiveContent?.title || "No Active Subscription" })
3072
3072
  ] }),
3073
- n.inactiveContent?.message && /* @__PURE__ */ g("p", { className: "text-yellow-700 dark:text-yellow-400", children: n.inactiveContent.message })
3073
+ n.inactiveContent?.message && /* @__PURE__ */ h("p", { className: "text-yellow-700 dark:text-yellow-400", children: n.inactiveContent.message })
3074
3074
  ] })
3075
3075
  ] }),
3076
- /* @__PURE__ */ g("h2", { className: k(he.heading.h3(), "mb-4"), children: e }),
3077
- w,
3078
- /* @__PURE__ */ O("div", { style: v, children: [
3079
- T && /* @__PURE__ */ g(
3076
+ /* @__PURE__ */ h("h2", { className: C(he.heading.h3(), "mb-4"), children: e }),
3077
+ y,
3078
+ /* @__PURE__ */ M("div", { style: k, children: [
3079
+ G && /* @__PURE__ */ h(
3080
3080
  Gt,
3081
3081
  {
3082
3082
  id: "free",
3083
- title: C.title,
3084
- price: C.price,
3085
- periodLabel: C.periodLabel,
3086
- features: C.features,
3083
+ title: P.title,
3084
+ price: P.price,
3085
+ periodLabel: P.periodLabel,
3086
+ features: P.features,
3087
3087
  isSelected: !1,
3088
3088
  onSelect: () => {
3089
3089
  },
3090
- topBadge: C.topBadge,
3091
- ctaButton: C.ctaButton
3090
+ topBadge: P.topBadge,
3091
+ ctaButton: P.ctaButton
3092
3092
  }
3093
3093
  ),
3094
3094
  o
3095
3095
  ] }),
3096
- N,
3097
- r && /* @__PURE__ */ g("div", { className: "bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 rounded-lg p-4 mt-6", children: /* @__PURE__ */ g("p", { className: "text-red-600 dark:text-red-400", children: r }) }),
3098
- A && /* @__PURE__ */ O("div", { className: "flex flex-col sm:flex-row gap-3 mt-6", children: [
3099
- i && /* @__PURE__ */ g(
3096
+ D,
3097
+ r && /* @__PURE__ */ h("div", { className: "bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 rounded-lg p-4 mt-6", children: /* @__PURE__ */ h("p", { className: "text-red-600 dark:text-red-400", children: r }) }),
3098
+ I && /* @__PURE__ */ M("div", { className: "flex flex-col sm:flex-row gap-3 mt-6", children: [
3099
+ i && /* @__PURE__ */ h(
3100
3100
  ke,
3101
3101
  {
3102
- onClick: j,
3102
+ onClick: T,
3103
3103
  disabled: i.disabled || i.loading,
3104
3104
  variant: "outline",
3105
3105
  className: "sm:flex-shrink-0",
3106
3106
  children: i.label
3107
3107
  }
3108
3108
  ),
3109
- /* @__PURE__ */ g(
3109
+ /* @__PURE__ */ h(
3110
3110
  ke,
3111
3111
  {
3112
3112
  onClick: F,
@@ -3131,29 +3131,29 @@ function Kt({
3131
3131
  md: "px-4 py-2 text-sm",
3132
3132
  lg: "px-6 py-3 text-base"
3133
3133
  };
3134
- return /* @__PURE__ */ g(
3134
+ return /* @__PURE__ */ h(
3135
3135
  "div",
3136
3136
  {
3137
- className: k(
3137
+ className: C(
3138
3138
  "inline-flex rounded-lg bg-gray-100 dark:bg-gray-800 p-1",
3139
3139
  n && "opacity-50",
3140
3140
  t
3141
3141
  ),
3142
3142
  role: "radiogroup",
3143
3143
  children: e.map((f) => {
3144
- const c = o === f.value;
3145
- return /* @__PURE__ */ g(
3144
+ const a = o === f.value;
3145
+ return /* @__PURE__ */ h(
3146
3146
  "button",
3147
3147
  {
3148
3148
  type: "button",
3149
3149
  role: "radio",
3150
- "aria-checked": c,
3150
+ "aria-checked": a,
3151
3151
  disabled: n,
3152
3152
  onClick: () => !n && r(f.value),
3153
- className: k(
3153
+ className: C(
3154
3154
  i[s],
3155
3155
  "font-medium rounded-md transition-all focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2",
3156
- c ? "bg-white dark:bg-gray-700 text-gray-900 dark:text-white shadow-sm" : "text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white",
3156
+ a ? "bg-white dark:bg-gray-700 text-gray-900 dark:text-white shadow-sm" : "text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white",
3157
3157
  n && "cursor-not-allowed"
3158
3158
  ),
3159
3159
  children: f.label
@@ -3166,8 +3166,8 @@ function Kt({
3166
3166
  }
3167
3167
  let be = null;
3168
3168
  const Lt = async () => (be || (be = await import("@revenuecat/purchases-js")), be);
3169
- let E = null;
3170
- const Ie = (e, o) => {
3169
+ let j = null;
3170
+ const Ne = (e, o) => {
3171
3171
  const r = e.rcBillingProduct, t = r?.defaultSubscriptionOption, n = typeof o?.entitlement == "string" ? o.entitlement : void 0;
3172
3172
  return {
3173
3173
  identifier: e.identifier,
@@ -3210,95 +3210,90 @@ const Ie = (e, o) => {
3210
3210
  onPurchaseSuccess: t,
3211
3211
  children: n
3212
3212
  }) => {
3213
- const [s, i] = Y([]), [f, c] = Y(null), [x, w] = Y(!1), [N, y] = Y(null), [C, P] = Y(!1), [S, z] = Y(null), [A, F] = Y(null), [j, T] = Y(null), v = !e || e === "your_revenuecat_api_key_here", R = q(() => {
3214
- i([]), c(null), F(null), T(null), y(null), P(!1), z(null), E = null;
3215
- }, []), L = q(async () => {
3216
- if (E)
3213
+ const [s, i] = Y([]), [f, a] = Y(null), [x, y] = Y(!1), [D, w] = Y(null), [P, S] = Y(!1), [z, A] = Y(null), [I, F] = Y(null), [T, G] = Y(null), k = !e || e === "your_revenuecat_api_key_here";
3214
+ q(() => {
3215
+ i([]), a(null), F(null), G(null), w(null), S(!1), A(null), j = null;
3216
+ }, []);
3217
+ const N = q(async () => {
3218
+ if (j)
3217
3219
  try {
3218
- const m = await E.getOfferings();
3220
+ const m = await j.getOfferings();
3219
3221
  m.current && F(m.current);
3220
3222
  const p = m.all;
3221
3223
  if (p) {
3222
- T(p);
3223
- const h = [];
3224
- for (const d of Object.keys(p)) {
3225
- const M = p[d];
3226
- if (M?.availablePackages) {
3227
- const W = M.metadata, $ = M.availablePackages.map(
3228
- (H) => Ie(H, W)
3224
+ G(p);
3225
+ const b = [];
3226
+ for (const v of Object.keys(p)) {
3227
+ const d = p[v];
3228
+ if (d?.availablePackages) {
3229
+ const W = d.metadata, $ = d.availablePackages.map(
3230
+ (Z) => Ne(Z, W)
3229
3231
  );
3230
- h.push(...$);
3232
+ b.push(...$);
3231
3233
  }
3232
3234
  }
3233
- i(h);
3235
+ i(b);
3234
3236
  } else if (m.current) {
3235
- const h = m.current.metadata, d = m.current.availablePackages.map(
3236
- (M) => Ie(M, h)
3237
+ const b = m.current.metadata, v = m.current.availablePackages.map(
3238
+ (d) => Ne(d, b)
3237
3239
  );
3238
- i(d);
3240
+ i(v);
3239
3241
  }
3240
3242
  } catch (m) {
3241
3243
  const p = m instanceof Error ? m.message : "Failed to load offerings";
3242
- y(p), r?.(m instanceof Error ? m : new Error(p));
3244
+ w(p), r?.(m instanceof Error ? m : new Error(p));
3243
3245
  }
3244
- }, [r]), u = q(async () => {
3245
- if (E)
3246
+ }, [r]), E = q(async () => {
3247
+ if (j)
3246
3248
  try {
3247
- const m = await E.getCustomerInfo(), p = ge(m);
3248
- c(p.isActive ? p : null);
3249
+ const m = await j.getCustomerInfo(), p = ge(m);
3250
+ a(p.isActive ? p : null);
3249
3251
  } catch (m) {
3250
3252
  const p = m instanceof Error ? m.message : "Failed to load subscription status";
3251
- y(p), r?.(m instanceof Error ? m : new Error(p));
3253
+ w(p), r?.(m instanceof Error ? m : new Error(p));
3252
3254
  }
3253
- }, [r]), _ = q(
3255
+ }, [r]), u = q(
3254
3256
  async (m, p) => {
3255
- if (!m) {
3256
- R();
3257
- return;
3258
- }
3259
- if (S && S !== m && R(), !(C && S === m))
3257
+ if (z !== m && z && (a(null), w(null)), !(P && z === m))
3260
3258
  try {
3261
- if (w(!0), y(null), v)
3259
+ if (y(!0), w(null), k)
3262
3260
  console.warn(
3263
3261
  "[SubscriptionProvider] RevenueCat API key not configured"
3264
- ), i([]), c(null);
3262
+ ), i([]), a(null);
3265
3263
  else {
3266
- const h = await Lt(), d = {
3267
- apiKey: e,
3268
- appUserId: m
3269
- };
3270
- E = h.Purchases.configure(d);
3271
- const M = p || o;
3272
- if (M && E)
3264
+ j = (await Lt()).Purchases.configure(
3265
+ m ? { apiKey: e, appUserId: m } : { apiKey: e }
3266
+ );
3267
+ const v = p || o;
3268
+ if (v && j)
3273
3269
  try {
3274
- await E.setAttributes({ email: M });
3270
+ await j.setAttributes({ email: v });
3275
3271
  } catch {
3276
3272
  }
3277
- await Promise.all([L(), u()]);
3273
+ m ? await Promise.all([N(), E()]) : await N();
3278
3274
  }
3279
- z(m), P(!0);
3280
- } catch (h) {
3281
- const d = h instanceof Error ? h.message : "Failed to initialize";
3282
- y(d), c(null), i([]), r?.(h instanceof Error ? h : new Error(d));
3275
+ A(m ?? null), S(!0);
3276
+ } catch (b) {
3277
+ const v = b instanceof Error ? b.message : "Failed to initialize";
3278
+ w(v), a(null), i([]), r?.(b instanceof Error ? b : new Error(v));
3283
3279
  } finally {
3284
- w(!1);
3280
+ y(!1);
3285
3281
  }
3286
3282
  },
3287
3283
  [
3288
- S,
3289
- C,
3290
- v,
3284
+ z,
3285
+ P,
3286
+ k,
3291
3287
  e,
3292
3288
  o,
3293
- L,
3294
- u,
3295
- r,
3296
- R
3289
+ N,
3290
+ E,
3291
+ r
3297
3292
  ]
3298
- ), B = q(
3293
+ ), _ = q(
3299
3294
  async (m, p) => {
3300
3295
  try {
3301
- if (w(!0), y(null), v) {
3296
+ if (y(!0), w(null), k) {
3302
3297
  await new Promise(($) => setTimeout($, 2e3));
3303
3298
  const W = {
3304
3299
  isActive: !0,
@@ -3307,95 +3302,95 @@ const Ie = (e, o) => {
3307
3302
  productIdentifier: m,
3308
3303
  willRenew: !0
3309
3304
  };
3310
- return c(W), t?.(m), !0;
3305
+ return a(W), t?.(m), !0;
3311
3306
  }
3312
- if (!E || !A && !j)
3307
+ if (!j || !I && !T)
3313
3308
  throw new Error("Subscription service not initialized");
3314
- let h;
3315
- if (j)
3316
- for (const W of Object.keys(j)) {
3317
- const $ = j[W];
3318
- if ($?.availablePackages && (h = $.availablePackages.find(
3319
- (H) => H.identifier === m
3320
- ), h))
3309
+ let b;
3310
+ if (T)
3311
+ for (const W of Object.keys(T)) {
3312
+ const $ = T[W];
3313
+ if ($?.availablePackages && (b = $.availablePackages.find(
3314
+ (Z) => Z.identifier === m
3315
+ ), b))
3321
3316
  break;
3322
3317
  }
3323
- else A && (h = A.availablePackages.find(
3318
+ else I && (b = I.availablePackages.find(
3324
3319
  ($) => $.identifier === m
3325
3320
  ));
3326
- if (!h)
3321
+ if (!b)
3327
3322
  throw new Error(`Package not found: ${m}`);
3328
- const d = await E.purchase({
3329
- rcPackage: h,
3323
+ const v = await j.purchase({
3324
+ rcPackage: b,
3330
3325
  ...o ? { customerEmail: o } : {}
3331
- }), M = ge(d.customerInfo);
3332
- return c(M.isActive ? M : null), M.isActive && t?.(m), M.isActive;
3333
- } catch (h) {
3334
- const d = h instanceof Error ? h.message : "Purchase failed";
3335
- return y(d), r?.(h instanceof Error ? h : new Error(d)), !1;
3326
+ }), d = ge(v.customerInfo);
3327
+ return a(d.isActive ? d : null), d.isActive && t?.(m), d.isActive;
3328
+ } catch (b) {
3329
+ const v = b instanceof Error ? b.message : "Purchase failed";
3330
+ return w(v), r?.(b instanceof Error ? b : new Error(v)), !1;
3336
3331
  } finally {
3337
- w(!1);
3332
+ y(!1);
3338
3333
  }
3339
3334
  },
3340
3335
  [
3341
- v,
3342
- A,
3343
- j,
3336
+ k,
3337
+ I,
3338
+ T,
3344
3339
  o,
3345
3340
  t,
3346
3341
  r
3347
3342
  ]
3348
- ), Z = q(
3343
+ ), B = q(
3349
3344
  async (m) => {
3350
3345
  try {
3351
- if (w(!0), y(null), v)
3352
- return await new Promise((d) => setTimeout(d, 1e3)), y("No previous purchases found"), !1;
3353
- if (!E)
3346
+ if (y(!0), w(null), k)
3347
+ return await new Promise((v) => setTimeout(v, 1e3)), w("No previous purchases found"), !1;
3348
+ if (!j)
3354
3349
  throw new Error("Subscription service not initialized");
3355
- const p = await E.getCustomerInfo(), h = ge(p);
3356
- return c(h.isActive ? h : null), h.isActive || y("No previous purchases found"), h.isActive;
3350
+ const p = await j.getCustomerInfo(), b = ge(p);
3351
+ return a(b.isActive ? b : null), b.isActive || w("No previous purchases found"), b.isActive;
3357
3352
  } catch (p) {
3358
- const h = p instanceof Error ? p.message : "Restore failed";
3359
- return y(h), r?.(p instanceof Error ? p : new Error(h)), !1;
3353
+ const b = p instanceof Error ? p.message : "Restore failed";
3354
+ return w(b), r?.(p instanceof Error ? p : new Error(b)), !1;
3360
3355
  } finally {
3361
- w(!1);
3356
+ y(!1);
3362
3357
  }
3363
3358
  },
3364
- [v, r]
3365
- ), K = q(async () => {
3366
- if (!v)
3359
+ [k, r]
3360
+ ), H = q(async () => {
3361
+ if (!k)
3367
3362
  try {
3368
- y(null), await Promise.all([u(), L()]);
3363
+ w(null), await Promise.all([E(), N()]);
3369
3364
  } catch (m) {
3370
3365
  const p = m instanceof Error ? m.message : "Refresh failed";
3371
- y(p), r?.(m instanceof Error ? m : new Error(p));
3366
+ w(p), r?.(m instanceof Error ? m : new Error(p));
3372
3367
  }
3373
- }, [v, u, L, r]), ee = q(() => {
3374
- y(null);
3368
+ }, [k, E, N, r]), K = q(() => {
3369
+ w(null);
3375
3370
  }, []);
3376
3371
  Ue(() => {
3377
- if (!C || v || !E) return;
3372
+ if (!P || k || !j) return;
3378
3373
  const m = setInterval(
3379
3374
  () => {
3380
- u().catch(() => {
3375
+ E().catch(() => {
3381
3376
  });
3382
3377
  },
3383
3378
  300 * 1e3
3384
3379
  );
3385
3380
  return () => clearInterval(m);
3386
- }, [C, v, u]);
3387
- const J = {
3381
+ }, [P, k, E]);
3382
+ const Q = {
3388
3383
  products: s,
3389
3384
  currentSubscription: f,
3390
3385
  isLoading: x,
3391
- error: N,
3392
- initialize: _,
3393
- purchase: B,
3394
- restore: Z,
3395
- refresh: K,
3396
- clearError: ee
3386
+ error: D,
3387
+ initialize: u,
3388
+ purchase: _,
3389
+ restore: B,
3390
+ refresh: H,
3391
+ clearError: K
3397
3392
  };
3398
- return /* @__PURE__ */ g($e.Provider, { value: J, children: n });
3393
+ return /* @__PURE__ */ h($e.Provider, { value: Q, children: n });
3399
3394
  }, qt = () => {
3400
3395
  const e = Ke($e);
3401
3396
  if (!e)
@@ -3421,7 +3416,7 @@ const Ie = (e, o) => {
3421
3416
  }
3422
3417
  }, Xt = () => {
3423
3418
  try {
3424
- E && (E.close(), E = null), _t();
3419
+ j && (j.close(), j = null), _t();
3425
3420
  } catch {
3426
3421
  }
3427
3422
  };
@@ -3551,7 +3546,7 @@ export {
3551
3546
  Gt as SubscriptionTile,
3552
3547
  _t as clearRevenueCatCheckoutSessions,
3553
3548
  Xt as closeRevenueCatInstance,
3554
- k as cn,
3549
+ C as cn,
3555
3550
  Jt as createSubscriptionService,
3556
3551
  qt as useSubscriptionContext
3557
3552
  };