@sudobility/subscription-components 1.0.20 → 1.0.22

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,81 +1,81 @@
1
- import { jsxs as D, jsx as p, Fragment as We } from "react/jsx-runtime";
1
+ import { jsxs as O, jsx as g, Fragment as Be } from "react/jsx-runtime";
2
2
  import { textVariants as he } from "@sudobility/design";
3
- import { Card as Be, CardContent as Ue, Button as ve } from "@sudobility/components";
4
- import { createContext as Ke, useState as Y, useCallback as q, useEffect as Ye, useContext as qe } from "react";
5
- function Ie(e) {
3
+ import { Button as ke } from "@sudobility/components";
4
+ import { createContext as We, useState as Y, useCallback as q, useEffect as Ue, useContext as Ke } from "react";
5
+ function Ne(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 = Ie(e[o])) && (t && (t += " "), t += r);
10
+ for (o = 0; o < n; o++) e[o] && (r = Ne(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
- function Xe() {
15
- for (var e, o, r = 0, t = "", n = arguments.length; r < n; r++) (e = arguments[r]) && (o = Ie(e)) && (t && (t += " "), t += o);
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);
16
16
  return t;
17
17
  }
18
- const Je = (e, o) => {
18
+ const qe = (e, o) => {
19
19
  const r = new Array(e.length + o.length);
20
20
  for (let t = 0; t < e.length; t++)
21
21
  r[t] = e[t];
22
22
  for (let t = 0; t < o.length; t++)
23
23
  r[e.length + t] = o[t];
24
24
  return r;
25
- }, He = (e, o) => ({
25
+ }, Xe = (e, o) => ({
26
26
  classGroupId: e,
27
27
  validator: o
28
28
  }), Re = (e = /* @__PURE__ */ new Map(), o = null, r) => ({
29
29
  nextPart: e,
30
30
  validators: o,
31
31
  classGroupId: r
32
- }), me = "-", Ce = [], Qe = "arbitrary..", Ze = (e) => {
33
- const o = tt(e), {
32
+ }), ue = "-", Ce = [], Je = "arbitrary..", He = (e) => {
33
+ const o = Ze(e), {
34
34
  conflictingClassGroups: r,
35
35
  conflictingClassGroupModifiers: t
36
36
  } = e;
37
37
  return {
38
- getClassGroupId: (a) => {
39
- if (a.startsWith("[") && a.endsWith("]"))
40
- return et(a);
41
- const u = a.split(me), d = u[0] === "" && u.length > 1 ? 1 : 0;
42
- return Me(u, d, o);
38
+ getClassGroupId: (i) => {
39
+ if (i.startsWith("[") && i.endsWith("]"))
40
+ return Qe(i);
41
+ const f = i.split(ue), c = f[0] === "" && f.length > 1 ? 1 : 0;
42
+ return De(f, c, o);
43
43
  },
44
- getConflictingClassGroupIds: (a, u) => {
45
- if (u) {
46
- const d = t[a], x = r[a];
47
- return d ? x ? Je(x, d) : d : x || Ce;
44
+ getConflictingClassGroupIds: (i, f) => {
45
+ if (f) {
46
+ const c = t[i], x = r[i];
47
+ return c ? x ? qe(x, c) : c : x || Ce;
48
48
  }
49
- return r[a] || Ce;
49
+ return r[i] || Ce;
50
50
  }
51
51
  };
52
- }, Me = (e, o, r) => {
52
+ }, De = (e, o, r) => {
53
53
  if (e.length - o === 0)
54
54
  return r.classGroupId;
55
55
  const n = e[o], s = r.nextPart.get(n);
56
56
  if (s) {
57
- const x = Me(e, o + 1, s);
57
+ const x = De(e, o + 1, s);
58
58
  if (x) return x;
59
59
  }
60
- const a = r.validators;
61
- if (a === null)
60
+ const i = r.validators;
61
+ if (i === null)
62
62
  return;
63
- const u = o === 0 ? e.join(me) : e.slice(o).join(me), d = a.length;
64
- for (let x = 0; x < d; x++) {
65
- const w = a[x];
66
- if (w.validator(u))
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
67
  return w.classGroupId;
68
68
  }
69
- }, et = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
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);
71
- return t ? Qe + t : void 0;
72
- })(), tt = (e) => {
71
+ return t ? Je + t : void 0;
72
+ })(), Ze = (e) => {
73
73
  const {
74
74
  theme: o,
75
75
  classGroups: r
76
76
  } = e;
77
- return rt(r, o);
78
- }, rt = (e, o) => {
77
+ return et(r, o);
78
+ }, et = (e, o) => {
79
79
  const r = Re();
80
80
  for (const t in e) {
81
81
  const n = e[t];
@@ -85,44 +85,44 @@ const Je = (e, o) => {
85
85
  }, we = (e, o, r, t) => {
86
86
  const n = e.length;
87
87
  for (let s = 0; s < n; s++) {
88
- const a = e[s];
89
- ot(a, o, r, t);
88
+ const i = e[s];
89
+ tt(i, o, r, t);
90
90
  }
91
- }, ot = (e, o, r, t) => {
91
+ }, tt = (e, o, r, t) => {
92
92
  if (typeof e == "string") {
93
- nt(e, o, r);
93
+ rt(e, o, r);
94
94
  return;
95
95
  }
96
96
  if (typeof e == "function") {
97
- st(e, o, r, t);
97
+ ot(e, o, r, t);
98
98
  return;
99
99
  }
100
- at(e, o, r, t);
101
- }, nt = (e, o, r) => {
102
- const t = e === "" ? o : De(o, e);
100
+ nt(e, o, r, t);
101
+ }, rt = (e, o, r) => {
102
+ const t = e === "" ? o : Oe(o, e);
103
103
  t.classGroupId = r;
104
- }, st = (e, o, r, t) => {
105
- if (it(e)) {
104
+ }, ot = (e, o, r, t) => {
105
+ if (st(e)) {
106
106
  we(e(t), o, r, t);
107
107
  return;
108
108
  }
109
- o.validators === null && (o.validators = []), o.validators.push(He(r, e));
110
- }, at = (e, o, r, t) => {
109
+ o.validators === null && (o.validators = []), o.validators.push(Xe(r, e));
110
+ }, nt = (e, o, r, t) => {
111
111
  const n = Object.entries(e), s = n.length;
112
- for (let a = 0; a < s; a++) {
113
- const [u, d] = n[a];
114
- we(d, De(o, u), r, t);
112
+ for (let i = 0; i < s; i++) {
113
+ const [f, c] = n[i];
114
+ we(c, Oe(o, f), r, t);
115
115
  }
116
- }, De = (e, o) => {
116
+ }, Oe = (e, o) => {
117
117
  let r = e;
118
- const t = o.split(me), n = t.length;
118
+ const t = o.split(ue), n = t.length;
119
119
  for (let s = 0; s < n; s++) {
120
- const a = t[s];
121
- let u = r.nextPart.get(a);
122
- u || (u = Re(), r.nextPart.set(a, u)), r = u;
120
+ const i = t[s];
121
+ let f = r.nextPart.get(i);
122
+ f || (f = Re(), r.nextPart.set(i, f)), r = f;
123
123
  }
124
124
  return r;
125
- }, it = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, lt = (e) => {
125
+ }, st = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, it = (e) => {
126
126
  if (e < 1)
127
127
  return {
128
128
  get: () => {
@@ -131,65 +131,65 @@ const Je = (e, o) => {
131
131
  }
132
132
  };
133
133
  let o = 0, r = /* @__PURE__ */ Object.create(null), t = /* @__PURE__ */ Object.create(null);
134
- const n = (s, a) => {
135
- r[s] = a, o++, o > e && (o = 0, t = r, r = /* @__PURE__ */ Object.create(null));
134
+ const n = (s, i) => {
135
+ r[s] = i, o++, o > e && (o = 0, t = r, r = /* @__PURE__ */ Object.create(null));
136
136
  };
137
137
  return {
138
138
  get(s) {
139
- let a = r[s];
140
- if (a !== void 0)
141
- return a;
142
- if ((a = t[s]) !== void 0)
143
- return n(s, a), a;
139
+ let i = r[s];
140
+ if (i !== void 0)
141
+ return i;
142
+ if ((i = t[s]) !== void 0)
143
+ return n(s, i), i;
144
144
  },
145
- set(s, a) {
146
- s in r ? r[s] = a : n(s, a);
145
+ set(s, i) {
146
+ s in r ? r[s] = i : n(s, i);
147
147
  }
148
148
  };
149
- }, xe = "!", Pe = ":", ct = [], ze = (e, o, r, t, n) => ({
149
+ }, xe = "!", Pe = ":", at = [], Se = (e, o, r, t, n) => ({
150
150
  modifiers: e,
151
151
  hasImportantModifier: o,
152
152
  baseClassName: r,
153
153
  maybePostfixModifierPosition: t,
154
154
  isExternal: n
155
- }), dt = (e) => {
155
+ }), lt = (e) => {
156
156
  const {
157
157
  prefix: o,
158
158
  experimentalParseClassName: r
159
159
  } = e;
160
160
  let t = (n) => {
161
161
  const s = [];
162
- let a = 0, u = 0, d = 0, x;
162
+ let i = 0, f = 0, c = 0, x;
163
163
  const w = n.length;
164
- for (let z = 0; z < w; z++) {
165
- const v = n[z];
166
- if (a === 0 && u === 0) {
167
- if (v === Pe) {
168
- s.push(n.slice(d, z)), d = z + 1;
164
+ for (let S = 0; S < w; S++) {
165
+ const z = n[S];
166
+ if (i === 0 && f === 0) {
167
+ if (z === Pe) {
168
+ s.push(n.slice(c, S)), c = S + 1;
169
169
  continue;
170
170
  }
171
- if (v === "/") {
172
- x = z;
171
+ if (z === "/") {
172
+ x = S;
173
173
  continue;
174
174
  }
175
175
  }
176
- v === "[" ? a++ : v === "]" ? a-- : v === "(" ? u++ : v === ")" && u--;
176
+ z === "[" ? i++ : z === "]" ? i-- : z === "(" ? f++ : z === ")" && f--;
177
177
  }
178
- const S = s.length === 0 ? n : n.slice(d);
179
- let y = S, k = !1;
180
- S.endsWith(xe) ? (y = S.slice(0, -1), k = !0) : (
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) : (
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
- S.startsWith(xe) && (y = S.slice(1), k = !0)
185
+ N.startsWith(xe) && (y = N.slice(1), C = !0)
186
186
  );
187
- const G = x && x > d ? x - d : void 0;
188
- return ze(s, k, y, G);
187
+ const P = x && x > c ? x - c : void 0;
188
+ return Se(s, C, y, P);
189
189
  };
190
190
  if (o) {
191
191
  const n = o + Pe, s = t;
192
- t = (a) => a.startsWith(n) ? s(a.slice(n.length)) : ze(ct, !1, a, void 0, !0);
192
+ t = (i) => i.startsWith(n) ? s(i.slice(n.length)) : Se(at, !1, i, void 0, !0);
193
193
  }
194
194
  if (r) {
195
195
  const n = t;
@@ -199,7 +199,7 @@ const Je = (e, o) => {
199
199
  });
200
200
  }
201
201
  return t;
202
- }, mt = (e) => {
202
+ }, ct = (e) => {
203
203
  const o = /* @__PURE__ */ new Map();
204
204
  return e.orderSensitiveModifiers.forEach((r, t) => {
205
205
  o.set(r, 1e6 + t);
@@ -207,101 +207,101 @@ const Je = (e, o) => {
207
207
  const t = [];
208
208
  let n = [];
209
209
  for (let s = 0; s < r.length; s++) {
210
- const a = r[s], u = a[0] === "[", d = o.has(a);
211
- u || d ? (n.length > 0 && (n.sort(), t.push(...n), n = []), t.push(a)) : n.push(a);
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);
212
212
  }
213
213
  return n.length > 0 && (n.sort(), t.push(...n)), t;
214
214
  };
215
- }, ut = (e) => ({
216
- cache: lt(e.cacheSize),
217
- parseClassName: dt(e),
218
- sortModifiers: mt(e),
219
- ...Ze(e)
220
- }), ft = /\s+/, pt = (e, o) => {
215
+ }, dt = (e) => ({
216
+ cache: it(e.cacheSize),
217
+ parseClassName: lt(e),
218
+ sortModifiers: ct(e),
219
+ ...He(e)
220
+ }), ut = /\s+/, mt = (e, o) => {
221
221
  const {
222
222
  parseClassName: r,
223
223
  getClassGroupId: t,
224
224
  getConflictingClassGroupIds: n,
225
225
  sortModifiers: s
226
- } = o, a = [], u = e.trim().split(ft);
227
- let d = "";
228
- for (let x = u.length - 1; x >= 0; x -= 1) {
229
- const w = u[x], {
230
- isExternal: S,
226
+ } = o, i = [], f = e.trim().split(ut);
227
+ let c = "";
228
+ for (let x = f.length - 1; x >= 0; x -= 1) {
229
+ const w = f[x], {
230
+ isExternal: N,
231
231
  modifiers: y,
232
- hasImportantModifier: k,
233
- baseClassName: G,
234
- maybePostfixModifierPosition: z
232
+ hasImportantModifier: C,
233
+ baseClassName: P,
234
+ maybePostfixModifierPosition: S
235
235
  } = r(w);
236
- if (S) {
237
- d = w + (d.length > 0 ? " " + d : d);
236
+ if (N) {
237
+ c = w + (c.length > 0 ? " " + c : c);
238
238
  continue;
239
239
  }
240
- let v = !!z, E = t(v ? G.substring(0, z) : G);
241
- if (!E) {
242
- if (!v) {
243
- d = w + (d.length > 0 ? " " + d : d);
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);
244
244
  continue;
245
245
  }
246
- if (E = t(G), !E) {
247
- d = w + (d.length > 0 ? " " + d : d);
246
+ if (A = t(P), !A) {
247
+ c = w + (c.length > 0 ? " " + c : c);
248
248
  continue;
249
249
  }
250
- v = !1;
250
+ z = !1;
251
251
  }
252
- const F = y.length === 0 ? "" : y.length === 1 ? y[0] : s(y).join(":"), M = k ? F + xe : F, j = M + E;
253
- if (a.indexOf(j) > -1)
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)
254
254
  continue;
255
- a.push(j);
256
- const N = n(E, v);
257
- for (let C = 0; C < N.length; ++C) {
258
- const L = N[C];
259
- a.push(M + L);
255
+ i.push(T);
256
+ const v = n(A, z);
257
+ for (let D = 0; D < v.length; ++D) {
258
+ const L = v[D];
259
+ i.push(j + L);
260
260
  }
261
- d = w + (d.length > 0 ? " " + d : d);
261
+ c = w + (c.length > 0 ? " " + c : c);
262
262
  }
263
- return d;
264
- }, gt = (...e) => {
263
+ return c;
264
+ }, ft = (...e) => {
265
265
  let o = 0, r, t, n = "";
266
266
  for (; o < e.length; )
267
- (r = e[o++]) && (t = Ee(r)) && (n && (n += " "), n += t);
267
+ (r = e[o++]) && (t = Me(r)) && (n && (n += " "), n += t);
268
268
  return n;
269
- }, Ee = (e) => {
269
+ }, Me = (e) => {
270
270
  if (typeof e == "string")
271
271
  return e;
272
272
  let o, r = "";
273
273
  for (let t = 0; t < e.length; t++)
274
- e[t] && (o = Ee(e[t])) && (r && (r += " "), r += o);
274
+ e[t] && (o = Me(e[t])) && (r && (r += " "), r += o);
275
275
  return r;
276
- }, bt = (e, ...o) => {
276
+ }, pt = (e, ...o) => {
277
277
  let r, t, n, s;
278
- const a = (d) => {
279
- const x = o.reduce((w, S) => S(w), e());
280
- return r = ut(x), t = r.cache.get, n = r.cache.set, s = u, u(d);
281
- }, u = (d) => {
282
- const x = t(d);
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);
283
283
  if (x)
284
284
  return x;
285
- const w = pt(d, r);
286
- return n(d, w), w;
285
+ const w = mt(c, r);
286
+ return n(c, w), w;
287
287
  };
288
- return s = a, (...d) => s(gt(...d));
289
- }, ht = [], A = (e) => {
290
- const o = (r) => r[e] || ht;
288
+ return s = i, (...c) => s(ft(...c));
289
+ }, bt = [], I = (e) => {
290
+ const o = (r) => r[e] || bt;
291
291
  return o.isThemeGetter = !0, o;
292
- }, Oe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Te = /^\((?:(\w[\w-]*):)?(.+)\)$/i, xt = /^\d+\/\d+$/, wt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, yt = /\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$/, kt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, vt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ct = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ee = (e) => xt.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) => wt.test(e), Pt = () => !0, zt = (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)\(.+\)$/, 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) => (
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
- yt.test(e) && !kt.test(e)
297
- ), Ge = () => !1, Nt = (e) => vt.test(e), At = (e) => Ct.test(e), St = (e) => !i(e) && !l(e), It = (e) => te(e, _e, Ge), i = (e) => Oe.test(e), H = (e) => te(e, Fe, zt), pe = (e) => te(e, Ot, g), Ne = (e) => te(e, je, Ge), Rt = (e) => te(e, Le, At), ce = (e) => te(e, Ve, Nt), l = (e) => Te.test(e), ne = (e) => re(e, Fe), Mt = (e) => re(e, Tt), Ae = (e) => re(e, je), Dt = (e) => re(e, _e), Et = (e) => re(e, Le), de = (e) => re(e, Ve, !0), te = (e, o, r) => {
298
- const t = Oe.exec(e);
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) => {
298
+ const t = Ee.exec(e);
299
299
  return t ? t[1] ? o(t[1]) : r(t[2]) : !1;
300
- }, re = (e, o, r = !1) => {
301
- const t = Te.exec(e);
300
+ }, oe = (e, o, r = !1) => {
301
+ const t = je.exec(e);
302
302
  return t ? t[1] ? o(t[1]) : r : !1;
303
- }, je = (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", Tt = (e) => e === "family-name", Ve = (e) => e === "shadow", Gt = () => {
304
- const e = A("color"), o = A("font"), r = A("text"), t = A("font-weight"), n = A("tracking"), s = A("leading"), a = A("breakpoint"), u = A("container"), d = A("spacing"), x = A("radius"), w = A("shadow"), S = A("inset-shadow"), y = A("text-shadow"), k = A("drop-shadow"), G = A("blur"), z = A("perspective"), v = A("aspect"), E = A("ease"), F = A("animate"), M = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], j = () => [
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 = () => [
305
305
  "center",
306
306
  "top",
307
307
  "bottom",
@@ -319,30 +319,30 @@ const Je = (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
- ], N = () => [...j(), l, i], C = () => ["auto", "hidden", "clip", "visible", "scroll"], L = () => ["auto", "contain", "none"], m = () => [l, i, d], V = () => [ee, "full", "auto", ...m()], Q = () => [X, "none", "subgrid", l, i], Z = () => ["auto", {
323
- span: ["full", X, l, i]
324
- }, X, l, i], I = () => [X, "auto", l, i], K = () => ["auto", "min", "max", "fr", l, i], oe = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], f = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], h = () => ["auto", ...m()], b = () => [ee, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...m()], c = () => [e, l, i], O = () => [...j(), Ae, Ne, {
325
- position: [l, i]
326
- }], B = () => ["no-repeat", {
322
+ ], v = () => [...T(), l, a], D = () => ["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", {
327
327
  repeat: ["", "x", "y", "space", "round"]
328
- }], W = () => ["auto", "cover", "contain", Dt, It, {
329
- size: [l, i]
330
- }], J = () => [fe, ne, H], _ = () => [
328
+ }], $ = () => ["auto", "cover", "contain", Rt, At, {
329
+ size: [l, a]
330
+ }], H = () => [fe, ne, Q], G = () => [
331
331
  // Deprecated since Tailwind CSS v4.0.0
332
332
  "",
333
333
  "none",
334
334
  "full",
335
335
  x,
336
336
  l,
337
- i
338
- ], $ = () => ["", g, ne, H], 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"], R = () => [g, fe, Ae, Ne], ke = () => [
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"], R = () => [b, fe, Ae, ze], ve = () => [
339
339
  // Deprecated since Tailwind CSS v4.0.0
340
340
  "",
341
341
  "none",
342
- G,
342
+ P,
343
343
  l,
344
- i
345
- ], ae = () => ["none", g, l, i], ie = () => ["none", g, l, i], ue = () => [g, l, i], le = () => [ee, "full", ...m()];
344
+ a
345
+ ], ie = () => ["none", b, l, a], ae = () => ["none", b, l, a], me = () => [b, l, a], le = () => [te, "full", ...u()];
346
346
  return {
347
347
  cacheSize: 500,
348
348
  theme: {
@@ -350,18 +350,18 @@ const Je = (e, o) => {
350
350
  aspect: ["video"],
351
351
  blur: [U],
352
352
  breakpoint: [U],
353
- color: [Pt],
353
+ color: [kt],
354
354
  container: [U],
355
355
  "drop-shadow": [U],
356
356
  ease: ["in", "out", "in-out"],
357
- font: [St],
357
+ font: [zt],
358
358
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
359
359
  "inset-shadow": [U],
360
360
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
361
361
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
362
362
  radius: [U],
363
363
  shadow: [U],
364
- spacing: ["px", g],
364
+ spacing: ["px", b],
365
365
  text: [U],
366
366
  "text-shadow": [U],
367
367
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
@@ -375,7 +375,7 @@ const Je = (e, o) => {
375
375
  * @see https://tailwindcss.com/docs/aspect-ratio
376
376
  */
377
377
  aspect: [{
378
- aspect: ["auto", "square", ee, i, l, v]
378
+ aspect: ["auto", "square", te, a, l, z]
379
379
  }],
380
380
  /**
381
381
  * Container
@@ -388,21 +388,21 @@ const Je = (e, o) => {
388
388
  * @see https://tailwindcss.com/docs/columns
389
389
  */
390
390
  columns: [{
391
- columns: [g, i, l, u]
391
+ columns: [b, a, l, 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": M()
398
+ "break-after": j()
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": M()
405
+ "break-before": j()
406
406
  }],
407
407
  /**
408
408
  * Break Inside
@@ -466,28 +466,28 @@ const Je = (e, o) => {
466
466
  * @see https://tailwindcss.com/docs/object-position
467
467
  */
468
468
  "object-position": [{
469
- object: N()
469
+ object: v()
470
470
  }],
471
471
  /**
472
472
  * Overflow
473
473
  * @see https://tailwindcss.com/docs/overflow
474
474
  */
475
475
  overflow: [{
476
- overflow: C()
476
+ overflow: D()
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": C()
483
+ "overflow-x": D()
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": C()
490
+ "overflow-y": D()
491
491
  }],
492
492
  /**
493
493
  * Overscroll Behavior
@@ -520,63 +520,63 @@ const Je = (e, o) => {
520
520
  * @see https://tailwindcss.com/docs/top-right-bottom-left
521
521
  */
522
522
  inset: [{
523
- inset: V()
523
+ inset: _()
524
524
  }],
525
525
  /**
526
526
  * Right / Left
527
527
  * @see https://tailwindcss.com/docs/top-right-bottom-left
528
528
  */
529
529
  "inset-x": [{
530
- "inset-x": V()
530
+ "inset-x": _()
531
531
  }],
532
532
  /**
533
533
  * Top / Bottom
534
534
  * @see https://tailwindcss.com/docs/top-right-bottom-left
535
535
  */
536
536
  "inset-y": [{
537
- "inset-y": V()
537
+ "inset-y": _()
538
538
  }],
539
539
  /**
540
540
  * Start
541
541
  * @see https://tailwindcss.com/docs/top-right-bottom-left
542
542
  */
543
543
  start: [{
544
- start: V()
544
+ start: _()
545
545
  }],
546
546
  /**
547
547
  * End
548
548
  * @see https://tailwindcss.com/docs/top-right-bottom-left
549
549
  */
550
550
  end: [{
551
- end: V()
551
+ end: _()
552
552
  }],
553
553
  /**
554
554
  * Top
555
555
  * @see https://tailwindcss.com/docs/top-right-bottom-left
556
556
  */
557
557
  top: [{
558
- top: V()
558
+ top: _()
559
559
  }],
560
560
  /**
561
561
  * Right
562
562
  * @see https://tailwindcss.com/docs/top-right-bottom-left
563
563
  */
564
564
  right: [{
565
- right: V()
565
+ right: _()
566
566
  }],
567
567
  /**
568
568
  * Bottom
569
569
  * @see https://tailwindcss.com/docs/top-right-bottom-left
570
570
  */
571
571
  bottom: [{
572
- bottom: V()
572
+ bottom: _()
573
573
  }],
574
574
  /**
575
575
  * Left
576
576
  * @see https://tailwindcss.com/docs/top-right-bottom-left
577
577
  */
578
578
  left: [{
579
- left: V()
579
+ left: _()
580
580
  }],
581
581
  /**
582
582
  * Visibility
@@ -588,7 +588,7 @@ const Je = (e, o) => {
588
588
  * @see https://tailwindcss.com/docs/z-index
589
589
  */
590
590
  z: [{
591
- z: [X, "auto", l, i]
591
+ z: [X, "auto", l, a]
592
592
  }],
593
593
  // ------------------------
594
594
  // --- Flexbox and Grid ---
@@ -598,7 +598,7 @@ const Je = (e, o) => {
598
598
  * @see https://tailwindcss.com/docs/flex-basis
599
599
  */
600
600
  basis: [{
601
- basis: [ee, "full", "auto", u, ...m()]
601
+ basis: [te, "full", "auto", f, ...u()]
602
602
  }],
603
603
  /**
604
604
  * Flex Direction
@@ -619,35 +619,35 @@ const Je = (e, o) => {
619
619
  * @see https://tailwindcss.com/docs/flex
620
620
  */
621
621
  flex: [{
622
- flex: [g, ee, "auto", "initial", "none", i]
622
+ flex: [b, te, "auto", "initial", "none", a]
623
623
  }],
624
624
  /**
625
625
  * Flex Grow
626
626
  * @see https://tailwindcss.com/docs/flex-grow
627
627
  */
628
628
  grow: [{
629
- grow: ["", g, l, i]
629
+ grow: ["", b, l, a]
630
630
  }],
631
631
  /**
632
632
  * Flex Shrink
633
633
  * @see https://tailwindcss.com/docs/flex-shrink
634
634
  */
635
635
  shrink: [{
636
- shrink: ["", g, l, i]
636
+ shrink: ["", b, l, a]
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, i]
643
+ order: [X, "first", "last", "none", l, a]
644
644
  }],
645
645
  /**
646
646
  * Grid Template Columns
647
647
  * @see https://tailwindcss.com/docs/grid-template-columns
648
648
  */
649
649
  "grid-cols": [{
650
- "grid-cols": Q()
650
+ "grid-cols": B()
651
651
  }],
652
652
  /**
653
653
  * Grid Column Start / End
@@ -661,21 +661,21 @@ const Je = (e, o) => {
661
661
  * @see https://tailwindcss.com/docs/grid-column
662
662
  */
663
663
  "col-start": [{
664
- "col-start": I()
664
+ "col-start": K()
665
665
  }],
666
666
  /**
667
667
  * Grid Column End
668
668
  * @see https://tailwindcss.com/docs/grid-column
669
669
  */
670
670
  "col-end": [{
671
- "col-end": I()
671
+ "col-end": K()
672
672
  }],
673
673
  /**
674
674
  * Grid Template Rows
675
675
  * @see https://tailwindcss.com/docs/grid-template-rows
676
676
  */
677
677
  "grid-rows": [{
678
- "grid-rows": Q()
678
+ "grid-rows": B()
679
679
  }],
680
680
  /**
681
681
  * Grid Row Start / End
@@ -689,14 +689,14 @@ const Je = (e, o) => {
689
689
  * @see https://tailwindcss.com/docs/grid-row
690
690
  */
691
691
  "row-start": [{
692
- "row-start": I()
692
+ "row-start": K()
693
693
  }],
694
694
  /**
695
695
  * Grid Row End
696
696
  * @see https://tailwindcss.com/docs/grid-row
697
697
  */
698
698
  "row-end": [{
699
- "row-end": I()
699
+ "row-end": K()
700
700
  }],
701
701
  /**
702
702
  * Grid Auto Flow
@@ -710,70 +710,70 @@ const Je = (e, o) => {
710
710
  * @see https://tailwindcss.com/docs/grid-auto-columns
711
711
  */
712
712
  "auto-cols": [{
713
- "auto-cols": K()
713
+ "auto-cols": ee()
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": K()
720
+ "auto-rows": ee()
721
721
  }],
722
722
  /**
723
723
  * Gap
724
724
  * @see https://tailwindcss.com/docs/gap
725
725
  */
726
726
  gap: [{
727
- gap: m()
727
+ gap: u()
728
728
  }],
729
729
  /**
730
730
  * Gap X
731
731
  * @see https://tailwindcss.com/docs/gap
732
732
  */
733
733
  "gap-x": [{
734
- "gap-x": m()
734
+ "gap-x": u()
735
735
  }],
736
736
  /**
737
737
  * Gap Y
738
738
  * @see https://tailwindcss.com/docs/gap
739
739
  */
740
740
  "gap-y": [{
741
- "gap-y": m()
741
+ "gap-y": u()
742
742
  }],
743
743
  /**
744
744
  * Justify Content
745
745
  * @see https://tailwindcss.com/docs/justify-content
746
746
  */
747
747
  "justify-content": [{
748
- justify: [...oe(), "normal"]
748
+ justify: [...J(), "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": [...f(), "normal"]
755
+ "justify-items": [...m(), "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", ...f()]
762
+ "justify-self": ["auto", ...m()]
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", ...oe()]
769
+ content: ["normal", ...J()]
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: [...f(), {
776
+ items: [...m(), {
777
777
  baseline: ["", "last"]
778
778
  }]
779
779
  }],
@@ -782,7 +782,7 @@ const Je = (e, o) => {
782
782
  * @see https://tailwindcss.com/docs/align-self
783
783
  */
784
784
  "align-self": [{
785
- self: ["auto", ...f(), {
785
+ self: ["auto", ...m(), {
786
786
  baseline: ["", "last"]
787
787
  }]
788
788
  }],
@@ -791,21 +791,21 @@ const Je = (e, o) => {
791
791
  * @see https://tailwindcss.com/docs/place-content
792
792
  */
793
793
  "place-content": [{
794
- "place-content": oe()
794
+ "place-content": J()
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": [...f(), "baseline"]
801
+ "place-items": [...m(), "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", ...f()]
808
+ "place-self": ["auto", ...m()]
809
809
  }],
810
810
  // Spacing
811
811
  /**
@@ -813,133 +813,133 @@ const Je = (e, o) => {
813
813
  * @see https://tailwindcss.com/docs/padding
814
814
  */
815
815
  p: [{
816
- p: m()
816
+ p: u()
817
817
  }],
818
818
  /**
819
819
  * Padding X
820
820
  * @see https://tailwindcss.com/docs/padding
821
821
  */
822
822
  px: [{
823
- px: m()
823
+ px: u()
824
824
  }],
825
825
  /**
826
826
  * Padding Y
827
827
  * @see https://tailwindcss.com/docs/padding
828
828
  */
829
829
  py: [{
830
- py: m()
830
+ py: u()
831
831
  }],
832
832
  /**
833
833
  * Padding Start
834
834
  * @see https://tailwindcss.com/docs/padding
835
835
  */
836
836
  ps: [{
837
- ps: m()
837
+ ps: u()
838
838
  }],
839
839
  /**
840
840
  * Padding End
841
841
  * @see https://tailwindcss.com/docs/padding
842
842
  */
843
843
  pe: [{
844
- pe: m()
844
+ pe: u()
845
845
  }],
846
846
  /**
847
847
  * Padding Top
848
848
  * @see https://tailwindcss.com/docs/padding
849
849
  */
850
850
  pt: [{
851
- pt: m()
851
+ pt: u()
852
852
  }],
853
853
  /**
854
854
  * Padding Right
855
855
  * @see https://tailwindcss.com/docs/padding
856
856
  */
857
857
  pr: [{
858
- pr: m()
858
+ pr: u()
859
859
  }],
860
860
  /**
861
861
  * Padding Bottom
862
862
  * @see https://tailwindcss.com/docs/padding
863
863
  */
864
864
  pb: [{
865
- pb: m()
865
+ pb: u()
866
866
  }],
867
867
  /**
868
868
  * Padding Left
869
869
  * @see https://tailwindcss.com/docs/padding
870
870
  */
871
871
  pl: [{
872
- pl: m()
872
+ pl: u()
873
873
  }],
874
874
  /**
875
875
  * Margin
876
876
  * @see https://tailwindcss.com/docs/margin
877
877
  */
878
878
  m: [{
879
- m: h()
879
+ m: p()
880
880
  }],
881
881
  /**
882
882
  * Margin X
883
883
  * @see https://tailwindcss.com/docs/margin
884
884
  */
885
885
  mx: [{
886
- mx: h()
886
+ mx: p()
887
887
  }],
888
888
  /**
889
889
  * Margin Y
890
890
  * @see https://tailwindcss.com/docs/margin
891
891
  */
892
892
  my: [{
893
- my: h()
893
+ my: p()
894
894
  }],
895
895
  /**
896
896
  * Margin Start
897
897
  * @see https://tailwindcss.com/docs/margin
898
898
  */
899
899
  ms: [{
900
- ms: h()
900
+ ms: p()
901
901
  }],
902
902
  /**
903
903
  * Margin End
904
904
  * @see https://tailwindcss.com/docs/margin
905
905
  */
906
906
  me: [{
907
- me: h()
907
+ me: p()
908
908
  }],
909
909
  /**
910
910
  * Margin Top
911
911
  * @see https://tailwindcss.com/docs/margin
912
912
  */
913
913
  mt: [{
914
- mt: h()
914
+ mt: p()
915
915
  }],
916
916
  /**
917
917
  * Margin Right
918
918
  * @see https://tailwindcss.com/docs/margin
919
919
  */
920
920
  mr: [{
921
- mr: h()
921
+ mr: p()
922
922
  }],
923
923
  /**
924
924
  * Margin Bottom
925
925
  * @see https://tailwindcss.com/docs/margin
926
926
  */
927
927
  mb: [{
928
- mb: h()
928
+ mb: p()
929
929
  }],
930
930
  /**
931
931
  * Margin Left
932
932
  * @see https://tailwindcss.com/docs/margin
933
933
  */
934
934
  ml: [{
935
- ml: h()
935
+ ml: p()
936
936
  }],
937
937
  /**
938
938
  * Space Between X
939
939
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
940
940
  */
941
941
  "space-x": [{
942
- "space-x": m()
942
+ "space-x": u()
943
943
  }],
944
944
  /**
945
945
  * Space Between X Reverse
@@ -951,7 +951,7 @@ const Je = (e, o) => {
951
951
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
952
952
  */
953
953
  "space-y": [{
954
- "space-y": m()
954
+ "space-y": u()
955
955
  }],
956
956
  /**
957
957
  * Space Between Y Reverse
@@ -966,14 +966,14 @@ const Je = (e, o) => {
966
966
  * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
967
967
  */
968
968
  size: [{
969
- size: b()
969
+ size: h()
970
970
  }],
971
971
  /**
972
972
  * Width
973
973
  * @see https://tailwindcss.com/docs/width
974
974
  */
975
975
  w: [{
976
- w: [u, "screen", ...b()]
976
+ w: [f, "screen", ...h()]
977
977
  }],
978
978
  /**
979
979
  * Min-Width
@@ -981,11 +981,11 @@ const Je = (e, o) => {
981
981
  */
982
982
  "min-w": [{
983
983
  "min-w": [
984
- u,
984
+ f,
985
985
  "screen",
986
986
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
987
987
  "none",
988
- ...b()
988
+ ...h()
989
989
  ]
990
990
  }],
991
991
  /**
@@ -994,16 +994,16 @@ const Je = (e, o) => {
994
994
  */
995
995
  "max-w": [{
996
996
  "max-w": [
997
- u,
997
+ f,
998
998
  "screen",
999
999
  "none",
1000
1000
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1001
1001
  "prose",
1002
1002
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1003
1003
  {
1004
- screen: [a]
1004
+ screen: [i]
1005
1005
  },
1006
- ...b()
1006
+ ...h()
1007
1007
  ]
1008
1008
  }],
1009
1009
  /**
@@ -1011,21 +1011,21 @@ const Je = (e, o) => {
1011
1011
  * @see https://tailwindcss.com/docs/height
1012
1012
  */
1013
1013
  h: [{
1014
- h: ["screen", "lh", ...b()]
1014
+ h: ["screen", "lh", ...h()]
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", ...b()]
1021
+ "min-h": ["screen", "lh", "none", ...h()]
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", ...b()]
1028
+ "max-h": ["screen", "lh", ...h()]
1029
1029
  }],
1030
1030
  // ------------------
1031
1031
  // --- Typography ---
@@ -1035,7 +1035,7 @@ const Je = (e, o) => {
1035
1035
  * @see https://tailwindcss.com/docs/font-size
1036
1036
  */
1037
1037
  "font-size": [{
1038
- text: ["base", r, ne, H]
1038
+ text: ["base", r, ne, Q]
1039
1039
  }],
1040
1040
  /**
1041
1041
  * Font Smoothing
@@ -1059,14 +1059,14 @@ const Je = (e, o) => {
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, i]
1062
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", fe, a]
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: [Mt, i, o]
1069
+ font: [Nt, a, o]
1070
1070
  }],
1071
1071
  /**
1072
1072
  * Font Variant Numeric
@@ -1103,14 +1103,14 @@ const Je = (e, o) => {
1103
1103
  * @see https://tailwindcss.com/docs/letter-spacing
1104
1104
  */
1105
1105
  tracking: [{
1106
- tracking: [n, l, i]
1106
+ tracking: [n, l, a]
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": [g, "none", l, pe]
1113
+ "line-clamp": [b, "none", l, pe]
1114
1114
  }],
1115
1115
  /**
1116
1116
  * Line Height
@@ -1120,7 +1120,7 @@ const Je = (e, o) => {
1120
1120
  leading: [
1121
1121
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1122
1122
  s,
1123
- ...m()
1123
+ ...u()
1124
1124
  ]
1125
1125
  }],
1126
1126
  /**
@@ -1128,7 +1128,7 @@ const Je = (e, o) => {
1128
1128
  * @see https://tailwindcss.com/docs/list-style-image
1129
1129
  */
1130
1130
  "list-image": [{
1131
- "list-image": ["none", l, i]
1131
+ "list-image": ["none", l, a]
1132
1132
  }],
1133
1133
  /**
1134
1134
  * List Style Position
@@ -1142,7 +1142,7 @@ const Je = (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, i]
1145
+ list: ["disc", "decimal", "none", l, a]
1146
1146
  }],
1147
1147
  /**
1148
1148
  * Text Alignment
@@ -1157,14 +1157,14 @@ const Je = (e, o) => {
1157
1157
  * @see https://v3.tailwindcss.com/docs/placeholder-color
1158
1158
  */
1159
1159
  "placeholder-color": [{
1160
- placeholder: c()
1160
+ placeholder: d()
1161
1161
  }],
1162
1162
  /**
1163
1163
  * Text Color
1164
1164
  * @see https://tailwindcss.com/docs/text-color
1165
1165
  */
1166
1166
  "text-color": [{
1167
- text: c()
1167
+ text: d()
1168
1168
  }],
1169
1169
  /**
1170
1170
  * Text Decoration
@@ -1183,21 +1183,21 @@ const Je = (e, o) => {
1183
1183
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1184
1184
  */
1185
1185
  "text-decoration-thickness": [{
1186
- decoration: [g, "from-font", "auto", l, H]
1186
+ decoration: [b, "from-font", "auto", l, Q]
1187
1187
  }],
1188
1188
  /**
1189
1189
  * Text Decoration Color
1190
1190
  * @see https://tailwindcss.com/docs/text-decoration-color
1191
1191
  */
1192
1192
  "text-decoration-color": [{
1193
- decoration: c()
1193
+ decoration: d()
1194
1194
  }],
1195
1195
  /**
1196
1196
  * Text Underline Offset
1197
1197
  * @see https://tailwindcss.com/docs/text-underline-offset
1198
1198
  */
1199
1199
  "underline-offset": [{
1200
- "underline-offset": [g, "auto", l, i]
1200
+ "underline-offset": [b, "auto", l, a]
1201
1201
  }],
1202
1202
  /**
1203
1203
  * Text Transform
@@ -1221,14 +1221,14 @@ const Je = (e, o) => {
1221
1221
  * @see https://tailwindcss.com/docs/text-indent
1222
1222
  */
1223
1223
  indent: [{
1224
- indent: m()
1224
+ indent: u()
1225
1225
  }],
1226
1226
  /**
1227
1227
  * Vertical Alignment
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, i]
1231
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", l, a]
1232
1232
  }],
1233
1233
  /**
1234
1234
  * Whitespace
@@ -1263,7 +1263,7 @@ const Je = (e, o) => {
1263
1263
  * @see https://tailwindcss.com/docs/content
1264
1264
  */
1265
1265
  content: [{
1266
- content: ["none", l, i]
1266
+ content: ["none", l, a]
1267
1267
  }],
1268
1268
  // -------------------
1269
1269
  // --- Backgrounds ---
@@ -1294,21 +1294,21 @@ const Je = (e, o) => {
1294
1294
  * @see https://tailwindcss.com/docs/background-position
1295
1295
  */
1296
1296
  "bg-position": [{
1297
- bg: O()
1297
+ bg: M()
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: B()
1304
+ bg: W()
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: W()
1311
+ bg: $()
1312
1312
  }],
1313
1313
  /**
1314
1314
  * Background Image
@@ -1318,59 +1318,59 @@ const Je = (e, o) => {
1318
1318
  bg: ["none", {
1319
1319
  linear: [{
1320
1320
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1321
- }, X, l, i],
1322
- radial: ["", l, i],
1323
- conic: [X, l, i]
1324
- }, Et, Rt]
1321
+ }, X, l, a],
1322
+ radial: ["", l, a],
1323
+ conic: [X, l, a]
1324
+ }, Dt, It]
1325
1325
  }],
1326
1326
  /**
1327
1327
  * Background Color
1328
1328
  * @see https://tailwindcss.com/docs/background-color
1329
1329
  */
1330
1330
  "bg-color": [{
1331
- bg: c()
1331
+ bg: d()
1332
1332
  }],
1333
1333
  /**
1334
1334
  * Gradient Color Stops From Position
1335
1335
  * @see https://tailwindcss.com/docs/gradient-color-stops
1336
1336
  */
1337
1337
  "gradient-from-pos": [{
1338
- from: J()
1338
+ from: H()
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: J()
1345
+ via: H()
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: J()
1352
+ to: H()
1353
1353
  }],
1354
1354
  /**
1355
1355
  * Gradient Color Stops From
1356
1356
  * @see https://tailwindcss.com/docs/gradient-color-stops
1357
1357
  */
1358
1358
  "gradient-from": [{
1359
- from: c()
1359
+ from: d()
1360
1360
  }],
1361
1361
  /**
1362
1362
  * Gradient Color Stops Via
1363
1363
  * @see https://tailwindcss.com/docs/gradient-color-stops
1364
1364
  */
1365
1365
  "gradient-via": [{
1366
- via: c()
1366
+ via: d()
1367
1367
  }],
1368
1368
  /**
1369
1369
  * Gradient Color Stops To
1370
1370
  * @see https://tailwindcss.com/docs/gradient-color-stops
1371
1371
  */
1372
1372
  "gradient-to": [{
1373
- to: c()
1373
+ to: d()
1374
1374
  }],
1375
1375
  // ---------------
1376
1376
  // --- Borders ---
@@ -1380,175 +1380,175 @@ const Je = (e, o) => {
1380
1380
  * @see https://tailwindcss.com/docs/border-radius
1381
1381
  */
1382
1382
  rounded: [{
1383
- rounded: _()
1383
+ rounded: G()
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": _()
1390
+ "rounded-s": G()
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": _()
1397
+ "rounded-e": G()
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": _()
1404
+ "rounded-t": G()
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": _()
1411
+ "rounded-r": G()
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": _()
1418
+ "rounded-b": G()
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": _()
1425
+ "rounded-l": G()
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": _()
1432
+ "rounded-ss": G()
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": _()
1439
+ "rounded-se": G()
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": _()
1446
+ "rounded-ee": G()
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": _()
1453
+ "rounded-es": G()
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": _()
1460
+ "rounded-tl": G()
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": _()
1467
+ "rounded-tr": G()
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": _()
1474
+ "rounded-br": G()
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": _()
1481
+ "rounded-bl": G()
1482
1482
  }],
1483
1483
  /**
1484
1484
  * Border Width
1485
1485
  * @see https://tailwindcss.com/docs/border-width
1486
1486
  */
1487
1487
  "border-w": [{
1488
- border: $()
1488
+ border: V()
1489
1489
  }],
1490
1490
  /**
1491
1491
  * Border Width X
1492
1492
  * @see https://tailwindcss.com/docs/border-width
1493
1493
  */
1494
1494
  "border-w-x": [{
1495
- "border-x": $()
1495
+ "border-x": V()
1496
1496
  }],
1497
1497
  /**
1498
1498
  * Border Width Y
1499
1499
  * @see https://tailwindcss.com/docs/border-width
1500
1500
  */
1501
1501
  "border-w-y": [{
1502
- "border-y": $()
1502
+ "border-y": V()
1503
1503
  }],
1504
1504
  /**
1505
1505
  * Border Width Start
1506
1506
  * @see https://tailwindcss.com/docs/border-width
1507
1507
  */
1508
1508
  "border-w-s": [{
1509
- "border-s": $()
1509
+ "border-s": V()
1510
1510
  }],
1511
1511
  /**
1512
1512
  * Border Width End
1513
1513
  * @see https://tailwindcss.com/docs/border-width
1514
1514
  */
1515
1515
  "border-w-e": [{
1516
- "border-e": $()
1516
+ "border-e": V()
1517
1517
  }],
1518
1518
  /**
1519
1519
  * Border Width Top
1520
1520
  * @see https://tailwindcss.com/docs/border-width
1521
1521
  */
1522
1522
  "border-w-t": [{
1523
- "border-t": $()
1523
+ "border-t": V()
1524
1524
  }],
1525
1525
  /**
1526
1526
  * Border Width Right
1527
1527
  * @see https://tailwindcss.com/docs/border-width
1528
1528
  */
1529
1529
  "border-w-r": [{
1530
- "border-r": $()
1530
+ "border-r": V()
1531
1531
  }],
1532
1532
  /**
1533
1533
  * Border Width Bottom
1534
1534
  * @see https://tailwindcss.com/docs/border-width
1535
1535
  */
1536
1536
  "border-w-b": [{
1537
- "border-b": $()
1537
+ "border-b": V()
1538
1538
  }],
1539
1539
  /**
1540
1540
  * Border Width Left
1541
1541
  * @see https://tailwindcss.com/docs/border-width
1542
1542
  */
1543
1543
  "border-w-l": [{
1544
- "border-l": $()
1544
+ "border-l": V()
1545
1545
  }],
1546
1546
  /**
1547
1547
  * Divide Width X
1548
1548
  * @see https://tailwindcss.com/docs/border-width#between-children
1549
1549
  */
1550
1550
  "divide-x": [{
1551
- "divide-x": $()
1551
+ "divide-x": V()
1552
1552
  }],
1553
1553
  /**
1554
1554
  * Divide Width X Reverse
@@ -1560,7 +1560,7 @@ const Je = (e, o) => {
1560
1560
  * @see https://tailwindcss.com/docs/border-width#between-children
1561
1561
  */
1562
1562
  "divide-y": [{
1563
- "divide-y": $()
1563
+ "divide-y": V()
1564
1564
  }],
1565
1565
  /**
1566
1566
  * Divide Width Y Reverse
@@ -1586,70 +1586,70 @@ const Je = (e, o) => {
1586
1586
  * @see https://tailwindcss.com/docs/border-color
1587
1587
  */
1588
1588
  "border-color": [{
1589
- border: c()
1589
+ border: d()
1590
1590
  }],
1591
1591
  /**
1592
1592
  * Border Color X
1593
1593
  * @see https://tailwindcss.com/docs/border-color
1594
1594
  */
1595
1595
  "border-color-x": [{
1596
- "border-x": c()
1596
+ "border-x": d()
1597
1597
  }],
1598
1598
  /**
1599
1599
  * Border Color Y
1600
1600
  * @see https://tailwindcss.com/docs/border-color
1601
1601
  */
1602
1602
  "border-color-y": [{
1603
- "border-y": c()
1603
+ "border-y": d()
1604
1604
  }],
1605
1605
  /**
1606
1606
  * Border Color S
1607
1607
  * @see https://tailwindcss.com/docs/border-color
1608
1608
  */
1609
1609
  "border-color-s": [{
1610
- "border-s": c()
1610
+ "border-s": d()
1611
1611
  }],
1612
1612
  /**
1613
1613
  * Border Color E
1614
1614
  * @see https://tailwindcss.com/docs/border-color
1615
1615
  */
1616
1616
  "border-color-e": [{
1617
- "border-e": c()
1617
+ "border-e": d()
1618
1618
  }],
1619
1619
  /**
1620
1620
  * Border Color Top
1621
1621
  * @see https://tailwindcss.com/docs/border-color
1622
1622
  */
1623
1623
  "border-color-t": [{
1624
- "border-t": c()
1624
+ "border-t": d()
1625
1625
  }],
1626
1626
  /**
1627
1627
  * Border Color Right
1628
1628
  * @see https://tailwindcss.com/docs/border-color
1629
1629
  */
1630
1630
  "border-color-r": [{
1631
- "border-r": c()
1631
+ "border-r": d()
1632
1632
  }],
1633
1633
  /**
1634
1634
  * Border Color Bottom
1635
1635
  * @see https://tailwindcss.com/docs/border-color
1636
1636
  */
1637
1637
  "border-color-b": [{
1638
- "border-b": c()
1638
+ "border-b": d()
1639
1639
  }],
1640
1640
  /**
1641
1641
  * Border Color Left
1642
1642
  * @see https://tailwindcss.com/docs/border-color
1643
1643
  */
1644
1644
  "border-color-l": [{
1645
- "border-l": c()
1645
+ "border-l": d()
1646
1646
  }],
1647
1647
  /**
1648
1648
  * Divide Color
1649
1649
  * @see https://tailwindcss.com/docs/divide-color
1650
1650
  */
1651
1651
  "divide-color": [{
1652
- divide: c()
1652
+ divide: d()
1653
1653
  }],
1654
1654
  /**
1655
1655
  * Outline Style
@@ -1663,21 +1663,21 @@ const Je = (e, o) => {
1663
1663
  * @see https://tailwindcss.com/docs/outline-offset
1664
1664
  */
1665
1665
  "outline-offset": [{
1666
- "outline-offset": [g, l, i]
1666
+ "outline-offset": [b, l, a]
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: ["", g, ne, H]
1673
+ outline: ["", b, ne, Q]
1674
1674
  }],
1675
1675
  /**
1676
1676
  * Outline Color
1677
1677
  * @see https://tailwindcss.com/docs/outline-color
1678
1678
  */
1679
1679
  "outline-color": [{
1680
- outline: c()
1680
+ outline: d()
1681
1681
  }],
1682
1682
  // ---------------
1683
1683
  // --- Effects ---
@@ -1701,28 +1701,28 @@ const Je = (e, o) => {
1701
1701
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
1702
1702
  */
1703
1703
  "shadow-color": [{
1704
- shadow: c()
1704
+ shadow: d()
1705
1705
  }],
1706
1706
  /**
1707
1707
  * Inset Box Shadow
1708
1708
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
1709
1709
  */
1710
1710
  "inset-shadow": [{
1711
- "inset-shadow": ["none", S, de, ce]
1711
+ "inset-shadow": ["none", N, de, ce]
1712
1712
  }],
1713
1713
  /**
1714
1714
  * Inset Box Shadow Color
1715
1715
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
1716
1716
  */
1717
1717
  "inset-shadow-color": [{
1718
- "inset-shadow": c()
1718
+ "inset-shadow": d()
1719
1719
  }],
1720
1720
  /**
1721
1721
  * Ring Width
1722
1722
  * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
1723
1723
  */
1724
1724
  "ring-w": [{
1725
- ring: $()
1725
+ ring: V()
1726
1726
  }],
1727
1727
  /**
1728
1728
  * Ring Width Inset
@@ -1736,7 +1736,7 @@ const Je = (e, o) => {
1736
1736
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
1737
1737
  */
1738
1738
  "ring-color": [{
1739
- ring: c()
1739
+ ring: d()
1740
1740
  }],
1741
1741
  /**
1742
1742
  * Ring Offset Width
@@ -1745,7 +1745,7 @@ const Je = (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": [g, H]
1748
+ "ring-offset": [b, Q]
1749
1749
  }],
1750
1750
  /**
1751
1751
  * Ring Offset Color
@@ -1754,21 +1754,21 @@ const Je = (e, o) => {
1754
1754
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1755
1755
  */
1756
1756
  "ring-offset-color": [{
1757
- "ring-offset": c()
1757
+ "ring-offset": d()
1758
1758
  }],
1759
1759
  /**
1760
1760
  * Inset Ring Width
1761
1761
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
1762
1762
  */
1763
1763
  "inset-ring-w": [{
1764
- "inset-ring": $()
1764
+ "inset-ring": V()
1765
1765
  }],
1766
1766
  /**
1767
1767
  * Inset Ring Color
1768
1768
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
1769
1769
  */
1770
1770
  "inset-ring-color": [{
1771
- "inset-ring": c()
1771
+ "inset-ring": d()
1772
1772
  }],
1773
1773
  /**
1774
1774
  * Text Shadow
@@ -1782,14 +1782,14 @@ const Je = (e, o) => {
1782
1782
  * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
1783
1783
  */
1784
1784
  "text-shadow-color": [{
1785
- "text-shadow": c()
1785
+ "text-shadow": d()
1786
1786
  }],
1787
1787
  /**
1788
1788
  * Opacity
1789
1789
  * @see https://tailwindcss.com/docs/opacity
1790
1790
  */
1791
1791
  opacity: [{
1792
- opacity: [g, l, i]
1792
+ opacity: [b, l, a]
1793
1793
  }],
1794
1794
  /**
1795
1795
  * Mix Blend Mode
@@ -1824,7 +1824,7 @@ const Je = (e, o) => {
1824
1824
  * @see https://tailwindcss.com/docs/mask-image
1825
1825
  */
1826
1826
  "mask-image-linear-pos": [{
1827
- "mask-linear": [g]
1827
+ "mask-linear": [b]
1828
1828
  }],
1829
1829
  "mask-image-linear-from-pos": [{
1830
1830
  "mask-linear-from": R()
@@ -1833,10 +1833,10 @@ const Je = (e, o) => {
1833
1833
  "mask-linear-to": R()
1834
1834
  }],
1835
1835
  "mask-image-linear-from-color": [{
1836
- "mask-linear-from": c()
1836
+ "mask-linear-from": d()
1837
1837
  }],
1838
1838
  "mask-image-linear-to-color": [{
1839
- "mask-linear-to": c()
1839
+ "mask-linear-to": d()
1840
1840
  }],
1841
1841
  "mask-image-t-from-pos": [{
1842
1842
  "mask-t-from": R()
@@ -1845,10 +1845,10 @@ const Je = (e, o) => {
1845
1845
  "mask-t-to": R()
1846
1846
  }],
1847
1847
  "mask-image-t-from-color": [{
1848
- "mask-t-from": c()
1848
+ "mask-t-from": d()
1849
1849
  }],
1850
1850
  "mask-image-t-to-color": [{
1851
- "mask-t-to": c()
1851
+ "mask-t-to": d()
1852
1852
  }],
1853
1853
  "mask-image-r-from-pos": [{
1854
1854
  "mask-r-from": R()
@@ -1857,10 +1857,10 @@ const Je = (e, o) => {
1857
1857
  "mask-r-to": R()
1858
1858
  }],
1859
1859
  "mask-image-r-from-color": [{
1860
- "mask-r-from": c()
1860
+ "mask-r-from": d()
1861
1861
  }],
1862
1862
  "mask-image-r-to-color": [{
1863
- "mask-r-to": c()
1863
+ "mask-r-to": d()
1864
1864
  }],
1865
1865
  "mask-image-b-from-pos": [{
1866
1866
  "mask-b-from": R()
@@ -1869,10 +1869,10 @@ const Je = (e, o) => {
1869
1869
  "mask-b-to": R()
1870
1870
  }],
1871
1871
  "mask-image-b-from-color": [{
1872
- "mask-b-from": c()
1872
+ "mask-b-from": d()
1873
1873
  }],
1874
1874
  "mask-image-b-to-color": [{
1875
- "mask-b-to": c()
1875
+ "mask-b-to": d()
1876
1876
  }],
1877
1877
  "mask-image-l-from-pos": [{
1878
1878
  "mask-l-from": R()
@@ -1881,10 +1881,10 @@ const Je = (e, o) => {
1881
1881
  "mask-l-to": R()
1882
1882
  }],
1883
1883
  "mask-image-l-from-color": [{
1884
- "mask-l-from": c()
1884
+ "mask-l-from": d()
1885
1885
  }],
1886
1886
  "mask-image-l-to-color": [{
1887
- "mask-l-to": c()
1887
+ "mask-l-to": d()
1888
1888
  }],
1889
1889
  "mask-image-x-from-pos": [{
1890
1890
  "mask-x-from": R()
@@ -1893,10 +1893,10 @@ const Je = (e, o) => {
1893
1893
  "mask-x-to": R()
1894
1894
  }],
1895
1895
  "mask-image-x-from-color": [{
1896
- "mask-x-from": c()
1896
+ "mask-x-from": d()
1897
1897
  }],
1898
1898
  "mask-image-x-to-color": [{
1899
- "mask-x-to": c()
1899
+ "mask-x-to": d()
1900
1900
  }],
1901
1901
  "mask-image-y-from-pos": [{
1902
1902
  "mask-y-from": R()
@@ -1905,13 +1905,13 @@ const Je = (e, o) => {
1905
1905
  "mask-y-to": R()
1906
1906
  }],
1907
1907
  "mask-image-y-from-color": [{
1908
- "mask-y-from": c()
1908
+ "mask-y-from": d()
1909
1909
  }],
1910
1910
  "mask-image-y-to-color": [{
1911
- "mask-y-to": c()
1911
+ "mask-y-to": d()
1912
1912
  }],
1913
1913
  "mask-image-radial": [{
1914
- "mask-radial": [l, i]
1914
+ "mask-radial": [l, a]
1915
1915
  }],
1916
1916
  "mask-image-radial-from-pos": [{
1917
1917
  "mask-radial-from": R()
@@ -1920,10 +1920,10 @@ const Je = (e, o) => {
1920
1920
  "mask-radial-to": R()
1921
1921
  }],
1922
1922
  "mask-image-radial-from-color": [{
1923
- "mask-radial-from": c()
1923
+ "mask-radial-from": d()
1924
1924
  }],
1925
1925
  "mask-image-radial-to-color": [{
1926
- "mask-radial-to": c()
1926
+ "mask-radial-to": d()
1927
1927
  }],
1928
1928
  "mask-image-radial-shape": [{
1929
1929
  "mask-radial": ["circle", "ellipse"]
@@ -1935,10 +1935,10 @@ const Je = (e, o) => {
1935
1935
  }]
1936
1936
  }],
1937
1937
  "mask-image-radial-pos": [{
1938
- "mask-radial-at": j()
1938
+ "mask-radial-at": T()
1939
1939
  }],
1940
1940
  "mask-image-conic-pos": [{
1941
- "mask-conic": [g]
1941
+ "mask-conic": [b]
1942
1942
  }],
1943
1943
  "mask-image-conic-from-pos": [{
1944
1944
  "mask-conic-from": R()
@@ -1947,10 +1947,10 @@ const Je = (e, o) => {
1947
1947
  "mask-conic-to": R()
1948
1948
  }],
1949
1949
  "mask-image-conic-from-color": [{
1950
- "mask-conic-from": c()
1950
+ "mask-conic-from": d()
1951
1951
  }],
1952
1952
  "mask-image-conic-to-color": [{
1953
- "mask-conic-to": c()
1953
+ "mask-conic-to": d()
1954
1954
  }],
1955
1955
  /**
1956
1956
  * Mask Mode
@@ -1971,21 +1971,21 @@ const Je = (e, o) => {
1971
1971
  * @see https://tailwindcss.com/docs/mask-position
1972
1972
  */
1973
1973
  "mask-position": [{
1974
- mask: O()
1974
+ mask: M()
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: B()
1981
+ mask: W()
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: W()
1988
+ mask: $()
1989
1989
  }],
1990
1990
  /**
1991
1991
  * Mask Type
@@ -1999,7 +1999,7 @@ const Je = (e, o) => {
1999
1999
  * @see https://tailwindcss.com/docs/mask-image
2000
2000
  */
2001
2001
  "mask-image": [{
2002
- mask: ["none", l, i]
2002
+ mask: ["none", l, a]
2003
2003
  }],
2004
2004
  // ---------------
2005
2005
  // --- Filters ---
@@ -2014,7 +2014,7 @@ const Je = (e, o) => {
2014
2014
  "",
2015
2015
  "none",
2016
2016
  l,
2017
- i
2017
+ a
2018
2018
  ]
2019
2019
  }],
2020
2020
  /**
@@ -2022,21 +2022,21 @@ const Je = (e, o) => {
2022
2022
  * @see https://tailwindcss.com/docs/blur
2023
2023
  */
2024
2024
  blur: [{
2025
- blur: ke()
2025
+ blur: ve()
2026
2026
  }],
2027
2027
  /**
2028
2028
  * Brightness
2029
2029
  * @see https://tailwindcss.com/docs/brightness
2030
2030
  */
2031
2031
  brightness: [{
2032
- brightness: [g, l, i]
2032
+ brightness: [b, l, a]
2033
2033
  }],
2034
2034
  /**
2035
2035
  * Contrast
2036
2036
  * @see https://tailwindcss.com/docs/contrast
2037
2037
  */
2038
2038
  contrast: [{
2039
- contrast: [g, l, i]
2039
+ contrast: [b, l, a]
2040
2040
  }],
2041
2041
  /**
2042
2042
  * Drop Shadow
@@ -2047,7 +2047,7 @@ const Je = (e, o) => {
2047
2047
  // Deprecated since Tailwind CSS v4.0.0
2048
2048
  "",
2049
2049
  "none",
2050
- k,
2050
+ C,
2051
2051
  de,
2052
2052
  ce
2053
2053
  ]
@@ -2057,42 +2057,42 @@ const Je = (e, o) => {
2057
2057
  * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2058
2058
  */
2059
2059
  "drop-shadow-color": [{
2060
- "drop-shadow": c()
2060
+ "drop-shadow": d()
2061
2061
  }],
2062
2062
  /**
2063
2063
  * Grayscale
2064
2064
  * @see https://tailwindcss.com/docs/grayscale
2065
2065
  */
2066
2066
  grayscale: [{
2067
- grayscale: ["", g, l, i]
2067
+ grayscale: ["", b, l, a]
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": [g, l, i]
2074
+ "hue-rotate": [b, l, a]
2075
2075
  }],
2076
2076
  /**
2077
2077
  * Invert
2078
2078
  * @see https://tailwindcss.com/docs/invert
2079
2079
  */
2080
2080
  invert: [{
2081
- invert: ["", g, l, i]
2081
+ invert: ["", b, l, a]
2082
2082
  }],
2083
2083
  /**
2084
2084
  * Saturate
2085
2085
  * @see https://tailwindcss.com/docs/saturate
2086
2086
  */
2087
2087
  saturate: [{
2088
- saturate: [g, l, i]
2088
+ saturate: [b, l, a]
2089
2089
  }],
2090
2090
  /**
2091
2091
  * Sepia
2092
2092
  * @see https://tailwindcss.com/docs/sepia
2093
2093
  */
2094
2094
  sepia: [{
2095
- sepia: ["", g, l, i]
2095
+ sepia: ["", b, l, a]
2096
2096
  }],
2097
2097
  /**
2098
2098
  * Backdrop Filter
@@ -2104,7 +2104,7 @@ const Je = (e, o) => {
2104
2104
  "",
2105
2105
  "none",
2106
2106
  l,
2107
- i
2107
+ a
2108
2108
  ]
2109
2109
  }],
2110
2110
  /**
@@ -2112,63 +2112,63 @@ const Je = (e, o) => {
2112
2112
  * @see https://tailwindcss.com/docs/backdrop-blur
2113
2113
  */
2114
2114
  "backdrop-blur": [{
2115
- "backdrop-blur": ke()
2115
+ "backdrop-blur": ve()
2116
2116
  }],
2117
2117
  /**
2118
2118
  * Backdrop Brightness
2119
2119
  * @see https://tailwindcss.com/docs/backdrop-brightness
2120
2120
  */
2121
2121
  "backdrop-brightness": [{
2122
- "backdrop-brightness": [g, l, i]
2122
+ "backdrop-brightness": [b, l, a]
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": [g, l, i]
2129
+ "backdrop-contrast": [b, l, a]
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": ["", g, l, i]
2136
+ "backdrop-grayscale": ["", b, l, a]
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": [g, l, i]
2143
+ "backdrop-hue-rotate": [b, l, a]
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": ["", g, l, i]
2150
+ "backdrop-invert": ["", b, l, a]
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": [g, l, i]
2157
+ "backdrop-opacity": [b, l, a]
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": [g, l, i]
2164
+ "backdrop-saturate": [b, l, a]
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": ["", g, l, i]
2171
+ "backdrop-sepia": ["", b, l, a]
2172
2172
  }],
2173
2173
  // --------------
2174
2174
  // --- Tables ---
@@ -2185,21 +2185,21 @@ const Je = (e, o) => {
2185
2185
  * @see https://tailwindcss.com/docs/border-spacing
2186
2186
  */
2187
2187
  "border-spacing": [{
2188
- "border-spacing": m()
2188
+ "border-spacing": u()
2189
2189
  }],
2190
2190
  /**
2191
2191
  * Border Spacing X
2192
2192
  * @see https://tailwindcss.com/docs/border-spacing
2193
2193
  */
2194
2194
  "border-spacing-x": [{
2195
- "border-spacing-x": m()
2195
+ "border-spacing-x": u()
2196
2196
  }],
2197
2197
  /**
2198
2198
  * Border Spacing Y
2199
2199
  * @see https://tailwindcss.com/docs/border-spacing
2200
2200
  */
2201
2201
  "border-spacing-y": [{
2202
- "border-spacing-y": m()
2202
+ "border-spacing-y": u()
2203
2203
  }],
2204
2204
  /**
2205
2205
  * Table Layout
@@ -2223,7 +2223,7 @@ const Je = (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, i]
2226
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", l, a]
2227
2227
  }],
2228
2228
  /**
2229
2229
  * Transition Behavior
@@ -2237,28 +2237,28 @@ const Je = (e, o) => {
2237
2237
  * @see https://tailwindcss.com/docs/transition-duration
2238
2238
  */
2239
2239
  duration: [{
2240
- duration: [g, "initial", l, i]
2240
+ duration: [b, "initial", l, a]
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", E, l, i]
2247
+ ease: ["linear", "initial", A, l, a]
2248
2248
  }],
2249
2249
  /**
2250
2250
  * Transition Delay
2251
2251
  * @see https://tailwindcss.com/docs/transition-delay
2252
2252
  */
2253
2253
  delay: [{
2254
- delay: [g, l, i]
2254
+ delay: [b, l, a]
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, i]
2261
+ animate: ["none", F, l, a]
2262
2262
  }],
2263
2263
  // ------------------
2264
2264
  // --- Transforms ---
@@ -2275,70 +2275,70 @@ const Je = (e, o) => {
2275
2275
  * @see https://tailwindcss.com/docs/perspective
2276
2276
  */
2277
2277
  perspective: [{
2278
- perspective: [z, l, i]
2278
+ perspective: [S, l, a]
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": N()
2285
+ "perspective-origin": v()
2286
2286
  }],
2287
2287
  /**
2288
2288
  * Rotate
2289
2289
  * @see https://tailwindcss.com/docs/rotate
2290
2290
  */
2291
2291
  rotate: [{
2292
- rotate: ae()
2292
+ rotate: ie()
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": ae()
2299
+ "rotate-x": ie()
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": ae()
2306
+ "rotate-y": ie()
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": ae()
2313
+ "rotate-z": ie()
2314
2314
  }],
2315
2315
  /**
2316
2316
  * Scale
2317
2317
  * @see https://tailwindcss.com/docs/scale
2318
2318
  */
2319
2319
  scale: [{
2320
- scale: ie()
2320
+ scale: ae()
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": ie()
2327
+ "scale-x": ae()
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": ie()
2334
+ "scale-y": ae()
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": ie()
2341
+ "scale-z": ae()
2342
2342
  }],
2343
2343
  /**
2344
2344
  * Scale 3D
@@ -2350,35 +2350,35 @@ const Je = (e, o) => {
2350
2350
  * @see https://tailwindcss.com/docs/skew
2351
2351
  */
2352
2352
  skew: [{
2353
- skew: ue()
2353
+ skew: me()
2354
2354
  }],
2355
2355
  /**
2356
2356
  * Skew X
2357
2357
  * @see https://tailwindcss.com/docs/skew
2358
2358
  */
2359
2359
  "skew-x": [{
2360
- "skew-x": ue()
2360
+ "skew-x": me()
2361
2361
  }],
2362
2362
  /**
2363
2363
  * Skew Y
2364
2364
  * @see https://tailwindcss.com/docs/skew
2365
2365
  */
2366
2366
  "skew-y": [{
2367
- "skew-y": ue()
2367
+ "skew-y": me()
2368
2368
  }],
2369
2369
  /**
2370
2370
  * Transform
2371
2371
  * @see https://tailwindcss.com/docs/transform
2372
2372
  */
2373
2373
  transform: [{
2374
- transform: [l, i, "", "none", "gpu", "cpu"]
2374
+ transform: [l, a, "", "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: N()
2381
+ origin: v()
2382
2382
  }],
2383
2383
  /**
2384
2384
  * Transform Style
@@ -2428,7 +2428,7 @@ const Je = (e, o) => {
2428
2428
  * @see https://tailwindcss.com/docs/accent-color
2429
2429
  */
2430
2430
  accent: [{
2431
- accent: c()
2431
+ accent: d()
2432
2432
  }],
2433
2433
  /**
2434
2434
  * Appearance
@@ -2442,7 +2442,7 @@ const Je = (e, o) => {
2442
2442
  * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2443
2443
  */
2444
2444
  "caret-color": [{
2445
- caret: c()
2445
+ caret: d()
2446
2446
  }],
2447
2447
  /**
2448
2448
  * Color Scheme
@@ -2456,7 +2456,7 @@ const Je = (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, i]
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]
2460
2460
  }],
2461
2461
  /**
2462
2462
  * Field Sizing
@@ -2491,126 +2491,126 @@ const Je = (e, o) => {
2491
2491
  * @see https://tailwindcss.com/docs/scroll-margin
2492
2492
  */
2493
2493
  "scroll-m": [{
2494
- "scroll-m": m()
2494
+ "scroll-m": u()
2495
2495
  }],
2496
2496
  /**
2497
2497
  * Scroll Margin X
2498
2498
  * @see https://tailwindcss.com/docs/scroll-margin
2499
2499
  */
2500
2500
  "scroll-mx": [{
2501
- "scroll-mx": m()
2501
+ "scroll-mx": u()
2502
2502
  }],
2503
2503
  /**
2504
2504
  * Scroll Margin Y
2505
2505
  * @see https://tailwindcss.com/docs/scroll-margin
2506
2506
  */
2507
2507
  "scroll-my": [{
2508
- "scroll-my": m()
2508
+ "scroll-my": u()
2509
2509
  }],
2510
2510
  /**
2511
2511
  * Scroll Margin Start
2512
2512
  * @see https://tailwindcss.com/docs/scroll-margin
2513
2513
  */
2514
2514
  "scroll-ms": [{
2515
- "scroll-ms": m()
2515
+ "scroll-ms": u()
2516
2516
  }],
2517
2517
  /**
2518
2518
  * Scroll Margin End
2519
2519
  * @see https://tailwindcss.com/docs/scroll-margin
2520
2520
  */
2521
2521
  "scroll-me": [{
2522
- "scroll-me": m()
2522
+ "scroll-me": u()
2523
2523
  }],
2524
2524
  /**
2525
2525
  * Scroll Margin Top
2526
2526
  * @see https://tailwindcss.com/docs/scroll-margin
2527
2527
  */
2528
2528
  "scroll-mt": [{
2529
- "scroll-mt": m()
2529
+ "scroll-mt": u()
2530
2530
  }],
2531
2531
  /**
2532
2532
  * Scroll Margin Right
2533
2533
  * @see https://tailwindcss.com/docs/scroll-margin
2534
2534
  */
2535
2535
  "scroll-mr": [{
2536
- "scroll-mr": m()
2536
+ "scroll-mr": u()
2537
2537
  }],
2538
2538
  /**
2539
2539
  * Scroll Margin Bottom
2540
2540
  * @see https://tailwindcss.com/docs/scroll-margin
2541
2541
  */
2542
2542
  "scroll-mb": [{
2543
- "scroll-mb": m()
2543
+ "scroll-mb": u()
2544
2544
  }],
2545
2545
  /**
2546
2546
  * Scroll Margin Left
2547
2547
  * @see https://tailwindcss.com/docs/scroll-margin
2548
2548
  */
2549
2549
  "scroll-ml": [{
2550
- "scroll-ml": m()
2550
+ "scroll-ml": u()
2551
2551
  }],
2552
2552
  /**
2553
2553
  * Scroll Padding
2554
2554
  * @see https://tailwindcss.com/docs/scroll-padding
2555
2555
  */
2556
2556
  "scroll-p": [{
2557
- "scroll-p": m()
2557
+ "scroll-p": u()
2558
2558
  }],
2559
2559
  /**
2560
2560
  * Scroll Padding X
2561
2561
  * @see https://tailwindcss.com/docs/scroll-padding
2562
2562
  */
2563
2563
  "scroll-px": [{
2564
- "scroll-px": m()
2564
+ "scroll-px": u()
2565
2565
  }],
2566
2566
  /**
2567
2567
  * Scroll Padding Y
2568
2568
  * @see https://tailwindcss.com/docs/scroll-padding
2569
2569
  */
2570
2570
  "scroll-py": [{
2571
- "scroll-py": m()
2571
+ "scroll-py": u()
2572
2572
  }],
2573
2573
  /**
2574
2574
  * Scroll Padding Start
2575
2575
  * @see https://tailwindcss.com/docs/scroll-padding
2576
2576
  */
2577
2577
  "scroll-ps": [{
2578
- "scroll-ps": m()
2578
+ "scroll-ps": u()
2579
2579
  }],
2580
2580
  /**
2581
2581
  * Scroll Padding End
2582
2582
  * @see https://tailwindcss.com/docs/scroll-padding
2583
2583
  */
2584
2584
  "scroll-pe": [{
2585
- "scroll-pe": m()
2585
+ "scroll-pe": u()
2586
2586
  }],
2587
2587
  /**
2588
2588
  * Scroll Padding Top
2589
2589
  * @see https://tailwindcss.com/docs/scroll-padding
2590
2590
  */
2591
2591
  "scroll-pt": [{
2592
- "scroll-pt": m()
2592
+ "scroll-pt": u()
2593
2593
  }],
2594
2594
  /**
2595
2595
  * Scroll Padding Right
2596
2596
  * @see https://tailwindcss.com/docs/scroll-padding
2597
2597
  */
2598
2598
  "scroll-pr": [{
2599
- "scroll-pr": m()
2599
+ "scroll-pr": u()
2600
2600
  }],
2601
2601
  /**
2602
2602
  * Scroll Padding Bottom
2603
2603
  * @see https://tailwindcss.com/docs/scroll-padding
2604
2604
  */
2605
2605
  "scroll-pb": [{
2606
- "scroll-pb": m()
2606
+ "scroll-pb": u()
2607
2607
  }],
2608
2608
  /**
2609
2609
  * Scroll Padding Left
2610
2610
  * @see https://tailwindcss.com/docs/scroll-padding
2611
2611
  */
2612
2612
  "scroll-pl": [{
2613
- "scroll-pl": m()
2613
+ "scroll-pl": u()
2614
2614
  }],
2615
2615
  /**
2616
2616
  * Scroll Snap Align
@@ -2678,7 +2678,7 @@ const Je = (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, i]
2681
+ "will-change": ["auto", "scroll", "contents", "transform", l, a]
2682
2682
  }],
2683
2683
  // -----------
2684
2684
  // --- SVG ---
@@ -2688,21 +2688,21 @@ const Je = (e, o) => {
2688
2688
  * @see https://tailwindcss.com/docs/fill
2689
2689
  */
2690
2690
  fill: [{
2691
- fill: ["none", ...c()]
2691
+ fill: ["none", ...d()]
2692
2692
  }],
2693
2693
  /**
2694
2694
  * Stroke Width
2695
2695
  * @see https://tailwindcss.com/docs/stroke-width
2696
2696
  */
2697
2697
  "stroke-w": [{
2698
- stroke: [g, ne, H, pe]
2698
+ stroke: [b, ne, Q, pe]
2699
2699
  }],
2700
2700
  /**
2701
2701
  * Stroke
2702
2702
  * @see https://tailwindcss.com/docs/stroke
2703
2703
  */
2704
2704
  stroke: [{
2705
- stroke: ["none", ...c()]
2705
+ stroke: ["none", ...d()]
2706
2706
  }],
2707
2707
  // ---------------------
2708
2708
  // --- Accessibility ---
@@ -2770,80 +2770,83 @@ const Je = (e, o) => {
2770
2770
  },
2771
2771
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
2772
2772
  };
2773
- }, jt = /* @__PURE__ */ bt(Gt);
2774
- function P(...e) {
2775
- return jt(Xe(e));
2773
+ }, jt = /* @__PURE__ */ pt(Et);
2774
+ function k(...e) {
2775
+ return jt(Ye(e));
2776
2776
  }
2777
- const Lt = {
2777
+ const Tt = {
2778
2778
  purple: "bg-purple-500",
2779
2779
  green: "bg-green-500",
2780
2780
  blue: "bg-blue-500",
2781
2781
  yellow: "bg-yellow-400 !text-yellow-900",
2782
2782
  red: "bg-red-500"
2783
- }, _t = ({
2783
+ }, Gt = ({
2784
2784
  id: e,
2785
2785
  title: o,
2786
2786
  price: r,
2787
2787
  periodLabel: t,
2788
2788
  features: n,
2789
2789
  isSelected: s,
2790
- onSelect: a,
2791
- topBadge: u,
2792
- discountBadge: d,
2793
- premiumCallout: x,
2794
- bottomNote: w,
2795
- introPriceNote: S,
2796
- isBestValue: y = !1,
2797
- ctaButton: k,
2798
- className: G,
2790
+ onSelect: i,
2791
+ isCurrentPlan: f = !1,
2792
+ topBadge: c,
2793
+ discountBadge: x,
2794
+ premiumCallout: w,
2795
+ bottomNote: N,
2796
+ introPriceNote: y,
2797
+ isBestValue: C = !1,
2798
+ ctaButton: P,
2799
+ className: S,
2799
2800
  children: z,
2800
- disabled: v = !1,
2801
- ariaLabel: E,
2802
- onTrack: F,
2803
- trackingLabel: M,
2804
- componentName: j = "SubscriptionTile",
2805
- hideSelectionIndicator: N = !1
2801
+ disabled: A = !1,
2802
+ enabled: F = !0,
2803
+ ariaLabel: j,
2804
+ onTrack: T,
2805
+ trackingLabel: v,
2806
+ componentName: D = "SubscriptionTile",
2807
+ hideSelectionIndicator: L = !1
2806
2808
  }) => {
2807
- const C = !!k, L = !N, m = s ? "bg-blue-600 text-white ring-4 ring-blue-600 ring-offset-4 ring-offset-white dark:ring-offset-gray-900 border-transparent" : "bg-gray-100 dark:bg-gray-800 border border-gray-200 dark:border-gray-700 hover:border-gray-300 dark:hover:border-gray-600 hover:shadow-md", V = () => {
2808
- !v && !C && (F?.({ action: "select", trackingLabel: M, componentName: j }), a());
2809
- }, Q = (I) => {
2810
- !v && !C && (I.key === "Enter" || I.key === " ") && (I.preventDefault(), F?.({ action: "select", trackingLabel: M, componentName: j }), a());
2811
- }, Z = (I) => {
2812
- I.stopPropagation(), F?.({ action: "cta_click", trackingLabel: M, componentName: j }), k?.onClick && k.onClick();
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: D }), i());
2811
+ }, ee = (m) => {
2812
+ B && !u && (m.key === "Enter" || m.key === " ") && (m.preventDefault(), T?.({ action: "select", trackingLabel: v, componentName: D }), i());
2813
+ }, J = (m) => {
2814
+ m.stopPropagation(), T?.({ action: "cta_click", trackingLabel: v, componentName: D }), P?.onClick && P.onClick();
2813
2815
  };
2814
- return /* @__PURE__ */ D(
2816
+ return /* @__PURE__ */ O(
2815
2817
  "div",
2816
2818
  {
2817
- className: P(
2819
+ className: k(
2818
2820
  "relative rounded-2xl p-6 transition-all flex flex-col h-full",
2819
- v ? "opacity-50 cursor-not-allowed" : C ? "cursor-default" : "cursor-pointer",
2820
- m,
2821
- G
2821
+ !B || u ? "cursor-default" : "cursor-pointer",
2822
+ A && "cursor-not-allowed",
2823
+ Z,
2824
+ S
2822
2825
  ),
2823
- onClick: V,
2824
- onKeyDown: Q,
2825
- role: C ? "article" : "radio",
2826
- "aria-checked": C ? void 0 : s,
2827
- "aria-label": E || `${o} - ${r}${t || ""}`,
2828
- "aria-disabled": v,
2829
- tabIndex: C || v ? -1 : 0,
2826
+ onClick: K,
2827
+ onKeyDown: ee,
2828
+ role: u ? "article" : "radio",
2829
+ "aria-checked": u ? void 0 : s,
2830
+ "aria-label": j || `${o} - ${r}${t || ""}`,
2831
+ "aria-disabled": !B,
2832
+ tabIndex: u || !B ? -1 : 0,
2830
2833
  children: [
2831
- u && /* @__PURE__ */ p("div", { className: "absolute top-0 left-1/2 -translate-x-1/2 -translate-y-1/2 z-10", children: /* @__PURE__ */ p(
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(
2832
2835
  "span",
2833
2836
  {
2834
- className: P(
2835
- Lt[u.color],
2837
+ className: k(
2838
+ Tt[c.color],
2836
2839
  "text-white px-4 py-1.5 rounded-full text-sm font-semibold shadow-lg whitespace-nowrap"
2837
2840
  ),
2838
- children: u.text
2841
+ children: c.text
2839
2842
  }
2840
2843
  ) }),
2841
- /* @__PURE__ */ D("div", { className: "flex-1 flex flex-col", children: [
2842
- /* @__PURE__ */ D("div", { className: P("text-center mb-6", u && "mt-2"), children: [
2843
- /* @__PURE__ */ p(
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
2847
  "h3",
2845
2848
  {
2846
- className: P(
2849
+ className: k(
2847
2850
  he.heading.h4(),
2848
2851
  "mb-2",
2849
2852
  s ? "text-white" : ""
@@ -2851,21 +2854,21 @@ const Lt = {
2851
2854
  children: o
2852
2855
  }
2853
2856
  ),
2854
- /* @__PURE__ */ D("div", { className: "mb-3", children: [
2855
- /* @__PURE__ */ p(
2857
+ /* @__PURE__ */ O("div", { className: "mb-3", children: [
2858
+ /* @__PURE__ */ g(
2856
2859
  "span",
2857
2860
  {
2858
- className: P(
2861
+ className: k(
2859
2862
  "text-4xl font-bold",
2860
2863
  s ? "text-white" : "text-gray-900 dark:text-gray-100"
2861
2864
  ),
2862
2865
  children: r
2863
2866
  }
2864
2867
  ),
2865
- t && /* @__PURE__ */ p(
2868
+ t && /* @__PURE__ */ g(
2866
2869
  "span",
2867
2870
  {
2868
- className: P(
2871
+ className: k(
2869
2872
  "text-lg",
2870
2873
  s ? "text-blue-100" : "text-gray-500 dark:text-gray-400"
2871
2874
  ),
@@ -2873,30 +2876,30 @@ const Lt = {
2873
2876
  }
2874
2877
  )
2875
2878
  ] }),
2876
- d && /* @__PURE__ */ p(
2879
+ x && /* @__PURE__ */ g(
2877
2880
  "div",
2878
2881
  {
2879
- className: P(
2882
+ className: k(
2880
2883
  "inline-flex items-center px-2 py-1 rounded-full text-sm font-semibold",
2881
2884
  s ? "bg-blue-500 text-white" : "bg-green-100 text-green-700 dark:bg-green-900/50 dark:text-green-300"
2882
2885
  ),
2883
- children: d.text
2886
+ children: x.text
2884
2887
  }
2885
2888
  )
2886
2889
  ] }),
2887
2890
  z,
2888
- n.length > 0 && /* @__PURE__ */ p("div", { className: "space-y-3 mb-6", children: n.map((I, K) => /* @__PURE__ */ D("div", { className: "flex items-start", children: [
2889
- /* @__PURE__ */ p(
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
2893
  "svg",
2891
2894
  {
2892
- className: P(
2895
+ className: k(
2893
2896
  "w-5 h-5 mr-3 flex-shrink-0",
2894
2897
  s ? "text-blue-200" : "text-green-500"
2895
2898
  ),
2896
2899
  fill: "none",
2897
2900
  stroke: "currentColor",
2898
2901
  viewBox: "0 0 24 24",
2899
- children: /* @__PURE__ */ p(
2902
+ children: /* @__PURE__ */ g(
2900
2903
  "path",
2901
2904
  {
2902
2905
  strokeLinecap: "round",
@@ -2907,206 +2910,204 @@ const Lt = {
2907
2910
  )
2908
2911
  }
2909
2912
  ),
2910
- /* @__PURE__ */ p(
2913
+ /* @__PURE__ */ g(
2911
2914
  "span",
2912
2915
  {
2913
- className: P(
2916
+ className: k(
2914
2917
  "text-sm text-left",
2915
2918
  s ? "text-white" : "text-gray-700 dark:text-gray-300"
2916
2919
  ),
2917
- children: I.replace(/^✓\s*/, "")
2920
+ children: m.replace(/^✓\s*/, "")
2918
2921
  }
2919
2922
  )
2920
- ] }, K)) }),
2921
- x && /* @__PURE__ */ D(
2923
+ ] }, p)) }),
2924
+ w && /* @__PURE__ */ O(
2922
2925
  "div",
2923
2926
  {
2924
- className: P(
2927
+ className: k(
2925
2928
  "rounded-lg p-4 mb-4",
2926
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"
2927
2930
  ),
2928
2931
  children: [
2929
- /* @__PURE__ */ p("div", { className: "flex items-center mb-2", children: /* @__PURE__ */ p(
2932
+ /* @__PURE__ */ g("div", { className: "flex items-center mb-2", children: /* @__PURE__ */ g(
2930
2933
  "span",
2931
2934
  {
2932
- className: P(
2935
+ className: k(
2933
2936
  "font-semibold text-sm",
2934
2937
  s ? "text-white" : "text-purple-600 dark:text-purple-400"
2935
2938
  ),
2936
- children: x.title
2939
+ children: w.title
2937
2940
  }
2938
2941
  ) }),
2939
- /* @__PURE__ */ p(
2942
+ /* @__PURE__ */ g(
2940
2943
  "ul",
2941
2944
  {
2942
- className: P(
2945
+ className: k(
2943
2946
  "text-xs space-y-1",
2944
2947
  s ? "text-blue-100" : "text-gray-600 dark:text-gray-400"
2945
2948
  ),
2946
- children: x.features.map((I, K) => /* @__PURE__ */ D("li", { children: [
2949
+ children: w.features.map((m, p) => /* @__PURE__ */ O("li", { children: [
2947
2950
  "• ",
2948
- I
2949
- ] }, K))
2951
+ m
2952
+ ] }, p))
2950
2953
  }
2951
2954
  )
2952
2955
  ]
2953
2956
  }
2954
2957
  ),
2955
- w && /* @__PURE__ */ p(
2958
+ N && /* @__PURE__ */ g(
2956
2959
  "div",
2957
2960
  {
2958
- className: P(
2961
+ className: k(
2959
2962
  "text-center text-sm font-medium mb-4",
2960
2963
  s ? "text-blue-100" : "text-blue-600 dark:text-blue-400"
2961
2964
  ),
2962
- children: w
2965
+ children: N
2963
2966
  }
2964
2967
  ),
2965
- S && /* @__PURE__ */ p(
2968
+ y && /* @__PURE__ */ g(
2966
2969
  "div",
2967
2970
  {
2968
- className: P(
2971
+ className: k(
2969
2972
  "p-3 rounded-lg",
2970
2973
  s ? "bg-blue-500/30" : "bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800"
2971
2974
  ),
2972
- children: /* @__PURE__ */ p(
2975
+ children: /* @__PURE__ */ g(
2973
2976
  "p",
2974
2977
  {
2975
- className: P(
2978
+ className: k(
2976
2979
  "text-sm font-semibold text-center",
2977
2980
  s ? "text-white" : "text-yellow-700 dark:text-yellow-300"
2978
2981
  ),
2979
- children: S
2982
+ children: y
2980
2983
  }
2981
2984
  )
2982
2985
  }
2983
2986
  )
2984
2987
  ] }),
2985
- /* @__PURE__ */ D("div", { className: "h-14 flex-shrink-0 flex items-end justify-center", children: [
2986
- L && C && /* @__PURE__ */ p("div", { className: "w-full", children: k.href ? /* @__PURE__ */ p(
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(
2987
2990
  "a",
2988
2991
  {
2989
- href: k.href,
2990
- className: P(
2992
+ href: P.href,
2993
+ className: k(
2991
2994
  "block w-full py-3 font-semibold rounded-lg text-center transition-colors",
2992
2995
  s ? "bg-white text-blue-600 hover:bg-gray-100" : "bg-blue-600 text-white hover:bg-blue-700"
2993
2996
  ),
2994
- onClick: (I) => I.stopPropagation(),
2995
- children: k.label
2997
+ onClick: (m) => m.stopPropagation(),
2998
+ children: P.label
2996
2999
  }
2997
- ) : /* @__PURE__ */ p(
3000
+ ) : /* @__PURE__ */ g(
2998
3001
  "button",
2999
3002
  {
3000
- onClick: Z,
3001
- disabled: v,
3002
- className: P(
3003
+ onClick: J,
3004
+ disabled: A,
3005
+ className: k(
3003
3006
  "w-full py-3 font-semibold rounded-lg transition-colors",
3004
3007
  s ? "bg-white text-blue-600 hover:bg-gray-100" : "bg-blue-600 text-white hover:bg-blue-700",
3005
- v && "opacity-50 cursor-not-allowed"
3008
+ A && "opacity-50 cursor-not-allowed"
3006
3009
  ),
3007
- children: k.label
3010
+ children: P.label
3008
3011
  }
3009
3012
  ) }),
3010
- L && !C && /* @__PURE__ */ p(
3013
+ _ && !u && /* @__PURE__ */ g(
3011
3014
  "div",
3012
3015
  {
3013
- className: P(
3016
+ className: k(
3014
3017
  "w-5 h-5 rounded-full border-2 flex items-center justify-center",
3015
3018
  s ? "border-white bg-white" : "border-gray-300 dark:border-gray-600"
3016
3019
  ),
3017
- children: s && /* @__PURE__ */ p("div", { className: "w-2 h-2 rounded-full bg-blue-600" })
3020
+ children: s && /* @__PURE__ */ g("div", { className: "w-2 h-2 rounded-full bg-blue-600" })
3018
3021
  }
3019
3022
  )
3020
3023
  ] })
3021
3024
  ]
3022
3025
  }
3023
3026
  );
3024
- }, Kt = ({
3027
+ }, Ut = ({
3025
3028
  title: e,
3026
3029
  children: o,
3027
3030
  error: r,
3028
3031
  variant: t = "selection",
3029
3032
  currentStatus: n,
3030
3033
  primaryAction: s,
3031
- secondaryAction: a,
3032
- minTileWidth: u = 240,
3033
- className: d,
3034
+ secondaryAction: i,
3035
+ minTileWidth: f = 240,
3036
+ className: c,
3034
3037
  headerContent: x,
3035
3038
  aboveProducts: w,
3036
- footerContent: S,
3039
+ footerContent: N,
3037
3040
  currentStatusLabel: y = "Current Status",
3038
- freeTileConfig: k,
3039
- onTrack: G,
3040
- trackingLabel: z,
3041
- componentName: v = "SubscriptionLayout"
3041
+ freeTileConfig: C,
3042
+ onTrack: P,
3043
+ trackingLabel: S,
3044
+ componentName: z = "SubscriptionLayout"
3042
3045
  }) => {
3043
- const E = t === "selection" && s, F = () => {
3044
- G?.({ action: "primary_action", trackingLabel: z, componentName: v }), s?.onClick();
3045
- }, M = () => {
3046
- G?.({ action: "secondary_action", trackingLabel: z, componentName: v }), a?.onClick();
3047
- }, j = t === "cta" && k, N = {
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 = {
3048
3051
  display: "grid",
3049
- gridTemplateColumns: `repeat(auto-fit, minmax(min(100%, ${u}px), 1fr))`,
3052
+ gridTemplateColumns: `repeat(auto-fit, minmax(min(100%, ${f}px), 1fr))`,
3050
3053
  gap: "1.5rem"
3051
3054
  };
3052
- return /* @__PURE__ */ p(Be, { className: d, children: /* @__PURE__ */ D(Ue, { className: "pt-6", children: [
3055
+ return /* @__PURE__ */ O("div", { className: c, children: [
3053
3056
  x,
3054
- n && /* @__PURE__ */ D(We, { children: [
3055
- /* @__PURE__ */ p("h2", { className: P(he.heading.h3(), "mb-4"), children: y }),
3056
- n.isActive ? /* @__PURE__ */ D("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: [
3057
- /* @__PURE__ */ D("div", { className: "flex items-center mb-2", children: [
3058
- /* @__PURE__ */ p("div", { className: "w-3 h-3 bg-green-500 rounded-full mr-3" }),
3059
- /* @__PURE__ */ p("span", { className: "font-semibold text-green-800 dark:text-green-300", children: n.activeContent?.title || "Active Subscription" })
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" })
3060
3063
  ] }),
3061
- n.activeContent?.fields && n.activeContent.fields.length > 0 && /* @__PURE__ */ p("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4 mt-4", children: n.activeContent.fields.map(
3062
- (C, L) => /* @__PURE__ */ D("div", { children: [
3063
- /* @__PURE__ */ p("p", { className: "text-sm text-green-600 dark:text-green-400", children: C.label }),
3064
- /* @__PURE__ */ p("p", { className: "font-semibold text-green-800 dark:text-green-300", children: C.value })
3065
- ] }, L)
3066
- ) })
3067
- ] }) : /* @__PURE__ */ D("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: [
3068
- /* @__PURE__ */ D("div", { className: "flex items-center mb-2", children: [
3069
- /* @__PURE__ */ p("div", { className: "w-3 h-3 bg-yellow-500 rounded-full mr-3" }),
3070
- /* @__PURE__ */ p("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__ */ g("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4 mt-4", children: n.activeContent.fields.map((D, L) => /* @__PURE__ */ O("div", { children: [
3065
+ /* @__PURE__ */ g("p", { className: "text-sm text-green-600 dark:text-green-400", children: D.label }),
3066
+ /* @__PURE__ */ g("p", { className: "font-semibold text-green-800 dark:text-green-300", children: D.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" })
3071
3072
  ] }),
3072
- n.inactiveContent?.message && /* @__PURE__ */ p("p", { className: "text-yellow-700 dark:text-yellow-400", children: n.inactiveContent.message })
3073
+ n.inactiveContent?.message && /* @__PURE__ */ g("p", { className: "text-yellow-700 dark:text-yellow-400", children: n.inactiveContent.message })
3073
3074
  ] })
3074
3075
  ] }),
3075
- /* @__PURE__ */ p("h2", { className: P(he.heading.h3(), "mb-4"), children: e }),
3076
+ /* @__PURE__ */ g("h2", { className: k(he.heading.h3(), "mb-4"), children: e }),
3076
3077
  w,
3077
- /* @__PURE__ */ D("div", { style: N, children: [
3078
- j && /* @__PURE__ */ p(
3079
- _t,
3078
+ /* @__PURE__ */ O("div", { style: v, children: [
3079
+ T && /* @__PURE__ */ g(
3080
+ Gt,
3080
3081
  {
3081
3082
  id: "free",
3082
- title: k.title,
3083
- price: k.price,
3084
- periodLabel: k.periodLabel,
3085
- features: k.features,
3083
+ title: C.title,
3084
+ price: C.price,
3085
+ periodLabel: C.periodLabel,
3086
+ features: C.features,
3086
3087
  isSelected: !1,
3087
3088
  onSelect: () => {
3088
3089
  },
3089
- topBadge: k.topBadge,
3090
- ctaButton: k.ctaButton
3090
+ topBadge: C.topBadge,
3091
+ ctaButton: C.ctaButton
3091
3092
  }
3092
3093
  ),
3093
3094
  o
3094
3095
  ] }),
3095
- S,
3096
- r && /* @__PURE__ */ p("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__ */ p("p", { className: "text-red-600 dark:text-red-400", children: r }) }),
3097
- E && /* @__PURE__ */ D("div", { className: "flex flex-col sm:flex-row gap-3 mt-6", children: [
3098
- a && /* @__PURE__ */ p(
3099
- ve,
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(
3100
+ ke,
3100
3101
  {
3101
- onClick: M,
3102
- disabled: a.disabled || a.loading,
3102
+ onClick: j,
3103
+ disabled: i.disabled || i.loading,
3103
3104
  variant: "outline",
3104
3105
  className: "sm:flex-shrink-0",
3105
- children: a.label
3106
+ children: i.label
3106
3107
  }
3107
3108
  ),
3108
- /* @__PURE__ */ p(
3109
- ve,
3109
+ /* @__PURE__ */ g(
3110
+ ke,
3110
3111
  {
3111
3112
  onClick: F,
3112
3113
  disabled: s.disabled || s.loading,
@@ -3115,9 +3116,9 @@ const Lt = {
3115
3116
  }
3116
3117
  )
3117
3118
  ] })
3118
- ] }) });
3119
+ ] });
3119
3120
  };
3120
- function Yt({
3121
+ function Kt({
3121
3122
  options: e,
3122
3123
  value: o,
3123
3124
  onChange: r,
@@ -3125,48 +3126,48 @@ function Yt({
3125
3126
  disabled: n = !1,
3126
3127
  size: s = "md"
3127
3128
  }) {
3128
- const a = {
3129
+ const i = {
3129
3130
  sm: "px-3 py-1.5 text-xs",
3130
3131
  md: "px-4 py-2 text-sm",
3131
3132
  lg: "px-6 py-3 text-base"
3132
3133
  };
3133
- return /* @__PURE__ */ p(
3134
+ return /* @__PURE__ */ g(
3134
3135
  "div",
3135
3136
  {
3136
- className: P(
3137
+ className: k(
3137
3138
  "inline-flex rounded-lg bg-gray-100 dark:bg-gray-800 p-1",
3138
3139
  n && "opacity-50",
3139
3140
  t
3140
3141
  ),
3141
3142
  role: "radiogroup",
3142
- children: e.map((u) => {
3143
- const d = o === u.value;
3144
- return /* @__PURE__ */ p(
3143
+ children: e.map((f) => {
3144
+ const c = o === f.value;
3145
+ return /* @__PURE__ */ g(
3145
3146
  "button",
3146
3147
  {
3147
3148
  type: "button",
3148
3149
  role: "radio",
3149
- "aria-checked": d,
3150
+ "aria-checked": c,
3150
3151
  disabled: n,
3151
- onClick: () => !n && r(u.value),
3152
- className: P(
3153
- a[s],
3152
+ onClick: () => !n && r(f.value),
3153
+ className: k(
3154
+ i[s],
3154
3155
  "font-medium rounded-md transition-all focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2",
3155
- d ? "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
+ 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
3157
  n && "cursor-not-allowed"
3157
3158
  ),
3158
- children: u.label
3159
+ children: f.label
3159
3160
  },
3160
- u.value
3161
+ f.value
3161
3162
  );
3162
3163
  })
3163
3164
  }
3164
3165
  );
3165
3166
  }
3166
- let ge = null;
3167
- const Ft = async () => (ge || (ge = await import("@revenuecat/purchases-js")), ge);
3168
- let T = null;
3169
- const Se = (e, o) => {
3167
+ let be = null;
3168
+ const Lt = async () => (be || (be = await import("@revenuecat/purchases-js")), be);
3169
+ let E = null;
3170
+ const Ie = (e, o) => {
3170
3171
  const r = e.rcBillingProduct, t = r?.defaultSubscriptionOption, n = typeof o?.entitlement == "string" ? o.entitlement : void 0;
3171
3172
  return {
3172
3173
  identifier: e.identifier,
@@ -3183,7 +3184,7 @@ const Se = (e, o) => {
3183
3184
  freeTrialPeriod: t?.trial?.periodDuration || void 0,
3184
3185
  entitlement: n
3185
3186
  };
3186
- }, be = (e) => {
3187
+ }, ge = (e) => {
3187
3188
  const o = Object.keys(e.entitlements.active);
3188
3189
  if (o.length > 0) {
3189
3190
  const r = o[0], t = e.entitlements.active[r];
@@ -3200,205 +3201,205 @@ const Se = (e, o) => {
3200
3201
  };
3201
3202
  }
3202
3203
  return { isActive: !1 };
3203
- }, $e = Ke(
3204
+ }, $e = We(
3204
3205
  void 0
3205
- ), qt = ({
3206
+ ), Yt = ({
3206
3207
  apiKey: e,
3207
3208
  userEmail: o,
3208
3209
  onError: r,
3209
3210
  onPurchaseSuccess: t,
3210
3211
  children: n
3211
3212
  }) => {
3212
- const [s, a] = Y([]), [u, d] = Y(null), [x, w] = Y(!1), [S, y] = Y(null), [k, G] = Y(!1), [z, v] = Y(null), [E, F] = Y(null), [M, j] = Y(null), N = !e || e === "your_revenuecat_api_key_here", C = q(() => {
3213
- a([]), d(null), F(null), j(null), y(null), G(!1), v(null), T = null;
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", D = q(() => {
3214
+ i([]), c(null), F(null), T(null), y(null), P(!1), z(null), E = null;
3214
3215
  }, []), L = q(async () => {
3215
- if (T)
3216
+ if (E)
3216
3217
  try {
3217
- const f = await T.getOfferings();
3218
- f.current && F(f.current);
3219
- const h = f.all;
3220
- if (h) {
3221
- j(h);
3222
- const b = [];
3223
- for (const c of Object.keys(h)) {
3224
- const O = h[c];
3225
- if (O?.availablePackages) {
3226
- const B = O.metadata, W = O.availablePackages.map(
3227
- (J) => Se(J, B)
3218
+ const m = await E.getOfferings();
3219
+ m.current && F(m.current);
3220
+ const p = m.all;
3221
+ 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)
3228
3229
  );
3229
- b.push(...W);
3230
+ h.push(...$);
3230
3231
  }
3231
3232
  }
3232
- a(b);
3233
- } else if (f.current) {
3234
- const b = f.current.metadata, c = f.current.availablePackages.map(
3235
- (O) => Se(O, b)
3233
+ i(h);
3234
+ } else if (m.current) {
3235
+ const h = m.current.metadata, d = m.current.availablePackages.map(
3236
+ (M) => Ie(M, h)
3236
3237
  );
3237
- a(c);
3238
+ i(d);
3238
3239
  }
3239
- } catch (f) {
3240
- const h = f instanceof Error ? f.message : "Failed to load offerings";
3241
- y(h), r?.(f instanceof Error ? f : new Error(h));
3240
+ } catch (m) {
3241
+ const p = m instanceof Error ? m.message : "Failed to load offerings";
3242
+ y(p), r?.(m instanceof Error ? m : new Error(p));
3242
3243
  }
3243
- }, [r]), m = q(async () => {
3244
- if (T)
3244
+ }, [r]), u = q(async () => {
3245
+ if (E)
3245
3246
  try {
3246
- const f = await T.getCustomerInfo(), h = be(f);
3247
- d(h.isActive ? h : null);
3248
- } catch (f) {
3249
- const h = f instanceof Error ? f.message : "Failed to load subscription status";
3250
- y(h), r?.(f instanceof Error ? f : new Error(h));
3247
+ const m = await E.getCustomerInfo(), p = ge(m);
3248
+ c(p.isActive ? p : null);
3249
+ } catch (m) {
3250
+ const p = m instanceof Error ? m.message : "Failed to load subscription status";
3251
+ y(p), r?.(m instanceof Error ? m : new Error(p));
3251
3252
  }
3252
- }, [r]), V = q(
3253
- async (f, h) => {
3254
- if (z && z !== f && C(), !(k && z === f))
3253
+ }, [r]), _ = q(
3254
+ async (m, p) => {
3255
+ if (S && S !== m && D(), !(C && S === m))
3255
3256
  try {
3256
- if (w(!0), y(null), N)
3257
+ if (w(!0), y(null), v)
3257
3258
  console.warn(
3258
3259
  "[SubscriptionProvider] RevenueCat API key not configured"
3259
- ), a([]), d(null);
3260
+ ), i([]), c(null);
3260
3261
  else {
3261
- const b = await Ft(), c = {
3262
+ const h = await Lt(), d = {
3262
3263
  apiKey: e,
3263
- appUserId: f
3264
+ appUserId: m
3264
3265
  };
3265
- T = b.Purchases.configure(c);
3266
- const O = h || o;
3267
- if (O && T)
3266
+ E = h.Purchases.configure(d);
3267
+ const M = p || o;
3268
+ if (M && E)
3268
3269
  try {
3269
- await T.setAttributes({ email: O });
3270
+ await E.setAttributes({ email: M });
3270
3271
  } catch {
3271
3272
  }
3272
- await Promise.all([L(), m()]);
3273
+ await Promise.all([L(), u()]);
3273
3274
  }
3274
- v(f), G(!0);
3275
- } catch (b) {
3276
- const c = b instanceof Error ? b.message : "Failed to initialize";
3277
- y(c), d(null), a([]), r?.(b instanceof Error ? b : new Error(c));
3275
+ z(m), P(!0);
3276
+ } catch (h) {
3277
+ const d = h instanceof Error ? h.message : "Failed to initialize";
3278
+ y(d), c(null), i([]), r?.(h instanceof Error ? h : new Error(d));
3278
3279
  } finally {
3279
3280
  w(!1);
3280
3281
  }
3281
3282
  },
3282
3283
  [
3283
- z,
3284
- k,
3285
- N,
3284
+ S,
3285
+ C,
3286
+ v,
3286
3287
  e,
3287
3288
  o,
3288
3289
  L,
3289
- m,
3290
+ u,
3290
3291
  r,
3291
- C
3292
+ D
3292
3293
  ]
3293
- ), Q = q(
3294
- async (f, h) => {
3294
+ ), B = q(
3295
+ async (m, p) => {
3295
3296
  try {
3296
- if (w(!0), y(null), N) {
3297
- await new Promise((W) => setTimeout(W, 2e3));
3298
- const B = {
3297
+ if (w(!0), y(null), v) {
3298
+ await new Promise(($) => setTimeout($, 2e3));
3299
+ const W = {
3299
3300
  isActive: !0,
3300
3301
  expirationDate: new Date(Date.now() + 365 * 24 * 60 * 60 * 1e3),
3301
3302
  purchaseDate: /* @__PURE__ */ new Date(),
3302
- productIdentifier: f,
3303
+ productIdentifier: m,
3303
3304
  willRenew: !0
3304
3305
  };
3305
- return d(B), t?.(f), !0;
3306
+ return c(W), t?.(m), !0;
3306
3307
  }
3307
- if (!T || !E && !M)
3308
+ if (!E || !A && !j)
3308
3309
  throw new Error("Subscription service not initialized");
3309
- let b;
3310
- if (M)
3311
- for (const B of Object.keys(M)) {
3312
- const W = M[B];
3313
- if (W?.availablePackages && (b = W.availablePackages.find(
3314
- (J) => J.identifier === f
3315
- ), b))
3310
+ let h;
3311
+ if (j)
3312
+ for (const W of Object.keys(j)) {
3313
+ const $ = j[W];
3314
+ if ($?.availablePackages && (h = $.availablePackages.find(
3315
+ (H) => H.identifier === m
3316
+ ), h))
3316
3317
  break;
3317
3318
  }
3318
- else E && (b = E.availablePackages.find(
3319
- (W) => W.identifier === f
3319
+ else A && (h = A.availablePackages.find(
3320
+ ($) => $.identifier === m
3320
3321
  ));
3321
- if (!b)
3322
- throw new Error(`Package not found: ${f}`);
3323
- const c = await T.purchase({
3324
- rcPackage: b,
3322
+ if (!h)
3323
+ throw new Error(`Package not found: ${m}`);
3324
+ const d = await E.purchase({
3325
+ rcPackage: h,
3325
3326
  ...o ? { customerEmail: o } : {}
3326
- }), O = be(c.customerInfo);
3327
- return d(O.isActive ? O : null), O.isActive && t?.(f), O.isActive;
3328
- } catch (b) {
3329
- const c = b instanceof Error ? b.message : "Purchase failed";
3330
- return y(c), r?.(b instanceof Error ? b : new Error(c)), !1;
3327
+ }), M = ge(d.customerInfo);
3328
+ return c(M.isActive ? M : null), M.isActive && t?.(m), M.isActive;
3329
+ } catch (h) {
3330
+ const d = h instanceof Error ? h.message : "Purchase failed";
3331
+ return y(d), r?.(h instanceof Error ? h : new Error(d)), !1;
3331
3332
  } finally {
3332
3333
  w(!1);
3333
3334
  }
3334
3335
  },
3335
3336
  [
3336
- N,
3337
- E,
3338
- M,
3337
+ v,
3338
+ A,
3339
+ j,
3339
3340
  o,
3340
3341
  t,
3341
3342
  r
3342
3343
  ]
3343
3344
  ), Z = q(
3344
- async (f) => {
3345
+ async (m) => {
3345
3346
  try {
3346
- if (w(!0), y(null), N)
3347
- return await new Promise((c) => setTimeout(c, 1e3)), y("No previous purchases found"), !1;
3348
- if (!T)
3347
+ if (w(!0), y(null), v)
3348
+ return await new Promise((d) => setTimeout(d, 1e3)), y("No previous purchases found"), !1;
3349
+ if (!E)
3349
3350
  throw new Error("Subscription service not initialized");
3350
- const h = await T.getCustomerInfo(), b = be(h);
3351
- return d(b.isActive ? b : null), b.isActive || y("No previous purchases found"), b.isActive;
3352
- } catch (h) {
3353
- const b = h instanceof Error ? h.message : "Restore failed";
3354
- return y(b), r?.(h instanceof Error ? h : new Error(b)), !1;
3351
+ const p = await E.getCustomerInfo(), h = ge(p);
3352
+ return c(h.isActive ? h : null), h.isActive || y("No previous purchases found"), h.isActive;
3353
+ } catch (p) {
3354
+ const h = p instanceof Error ? p.message : "Restore failed";
3355
+ return y(h), r?.(p instanceof Error ? p : new Error(h)), !1;
3355
3356
  } finally {
3356
3357
  w(!1);
3357
3358
  }
3358
3359
  },
3359
- [N, r]
3360
- ), I = q(async () => {
3361
- if (!N)
3360
+ [v, r]
3361
+ ), K = q(async () => {
3362
+ if (!v)
3362
3363
  try {
3363
- y(null), await Promise.all([m(), L()]);
3364
- } catch (f) {
3365
- const h = f instanceof Error ? f.message : "Refresh failed";
3366
- y(h), r?.(f instanceof Error ? f : new Error(h));
3364
+ y(null), await Promise.all([u(), L()]);
3365
+ } catch (m) {
3366
+ const p = m instanceof Error ? m.message : "Refresh failed";
3367
+ y(p), r?.(m instanceof Error ? m : new Error(p));
3367
3368
  }
3368
- }, [N, m, L, r]), K = q(() => {
3369
+ }, [v, u, L, r]), ee = q(() => {
3369
3370
  y(null);
3370
3371
  }, []);
3371
- Ye(() => {
3372
- if (!k || N || !T) return;
3373
- const f = setInterval(
3372
+ Ue(() => {
3373
+ if (!C || v || !E) return;
3374
+ const m = setInterval(
3374
3375
  () => {
3375
- m().catch(() => {
3376
+ u().catch(() => {
3376
3377
  });
3377
3378
  },
3378
3379
  300 * 1e3
3379
3380
  );
3380
- return () => clearInterval(f);
3381
- }, [k, N, m]);
3382
- const oe = {
3381
+ return () => clearInterval(m);
3382
+ }, [C, v, u]);
3383
+ const J = {
3383
3384
  products: s,
3384
- currentSubscription: u,
3385
+ currentSubscription: f,
3385
3386
  isLoading: x,
3386
- error: S,
3387
- initialize: V,
3388
- purchase: Q,
3387
+ error: N,
3388
+ initialize: _,
3389
+ purchase: B,
3389
3390
  restore: Z,
3390
- refresh: I,
3391
- clearError: K
3391
+ refresh: K,
3392
+ clearError: ee
3392
3393
  };
3393
- return /* @__PURE__ */ p($e.Provider, { value: oe, children: n });
3394
- }, Xt = () => {
3395
- const e = qe($e);
3394
+ return /* @__PURE__ */ g($e.Provider, { value: J, children: n });
3395
+ }, qt = () => {
3396
+ const e = Ke($e);
3396
3397
  if (!e)
3397
3398
  throw new Error(
3398
3399
  "useSubscriptionContext must be used within a SubscriptionProvider"
3399
3400
  );
3400
3401
  return e;
3401
- }, Vt = () => {
3402
+ }, _t = () => {
3402
3403
  try {
3403
3404
  const e = [];
3404
3405
  for (let r = 0; r < localStorage.length; r++) {
@@ -3414,19 +3415,139 @@ const Se = (e, o) => {
3414
3415
  o.forEach((r) => sessionStorage.removeItem(r));
3415
3416
  } catch {
3416
3417
  }
3417
- }, Jt = () => {
3418
+ }, Xt = () => {
3418
3419
  try {
3419
- T && (T.close(), T = null), Vt();
3420
+ E && (E.close(), E = null), _t();
3420
3421
  } catch {
3421
3422
  }
3422
3423
  };
3424
+ class Ft {
3425
+ constructor() {
3426
+ this.offersCache = /* @__PURE__ */ new Map(), this.currentSubscription = null;
3427
+ }
3428
+ // ---------------------------------------------------------------------------
3429
+ // Data Loading
3430
+ // ---------------------------------------------------------------------------
3431
+ /**
3432
+ * Load offerings from RevenueCat response
3433
+ */
3434
+ loadOfferings(o) {
3435
+ this.offersCache.clear();
3436
+ const r = o.all;
3437
+ if (r)
3438
+ for (const [t, n] of Object.entries(r)) {
3439
+ const s = this.parseOffer(t, n);
3440
+ this.offersCache.set(t, s);
3441
+ }
3442
+ else if (o.current) {
3443
+ const t = this.parseOffer("default", o.current);
3444
+ this.offersCache.set("default", t);
3445
+ }
3446
+ }
3447
+ /**
3448
+ * Load customer info from RevenueCat response
3449
+ */
3450
+ loadCustomerInfo(o) {
3451
+ const r = Object.keys(o.entitlements.active);
3452
+ if (r.length === 0) {
3453
+ this.currentSubscription = {
3454
+ isActive: !1,
3455
+ entitlements: []
3456
+ };
3457
+ return;
3458
+ }
3459
+ const t = r.map(
3460
+ (s) => ({ identifier: s })
3461
+ ), n = o.entitlements.active[r[0]];
3462
+ this.currentSubscription = {
3463
+ isActive: !0,
3464
+ entitlements: t,
3465
+ productId: n.productIdentifier,
3466
+ expirationDate: n.expirationDate ? new Date(n.expirationDate) : void 0,
3467
+ willRenew: n.willRenew
3468
+ };
3469
+ }
3470
+ // ---------------------------------------------------------------------------
3471
+ // Public API
3472
+ // ---------------------------------------------------------------------------
3473
+ /**
3474
+ * Get offer by ID with complete hierarchy (packages → product → entitlements)
3475
+ */
3476
+ getOffer(o) {
3477
+ return this.offersCache.get(o) ?? null;
3478
+ }
3479
+ /**
3480
+ * Get all offer IDs
3481
+ */
3482
+ getOfferIds() {
3483
+ return Array.from(this.offersCache.keys());
3484
+ }
3485
+ /**
3486
+ * Get current subscription info
3487
+ */
3488
+ getCurrentSubscription() {
3489
+ return this.currentSubscription;
3490
+ }
3491
+ // ---------------------------------------------------------------------------
3492
+ // Private Helpers
3493
+ // ---------------------------------------------------------------------------
3494
+ parseOffer(o, r) {
3495
+ const t = r, n = t.metadata, s = [];
3496
+ if (t.availablePackages)
3497
+ for (const i of t.availablePackages)
3498
+ s.push(this.parsePackage(i, n));
3499
+ return {
3500
+ offerId: o,
3501
+ metadata: n,
3502
+ packages: s
3503
+ };
3504
+ }
3505
+ parsePackage(o, r) {
3506
+ const t = o.rcBillingProduct, n = t?.defaultSubscriptionOption, s = this.extractEntitlements(r), i = {
3507
+ productId: t?.identifier ?? o.identifier,
3508
+ name: t?.title ?? o.identifier,
3509
+ description: t?.description ?? void 0,
3510
+ price: t?.currentPrice?.amountMicros ? t.currentPrice.amountMicros / 1e6 : 0,
3511
+ priceString: t?.currentPrice?.formattedPrice ?? "$0",
3512
+ currency: t?.currentPrice?.currency ?? void 0,
3513
+ billingCycle: t?.normalPeriodDuration ?? void 0,
3514
+ trialPeriod: n?.trial?.periodDuration ?? void 0,
3515
+ introPrice: n?.introPrice?.price?.formattedPrice ?? void 0,
3516
+ introPricePeriod: n?.introPrice?.periodDuration ?? void 0,
3517
+ introPriceCycles: n?.introPrice?.cycleCount ?? void 0
3518
+ };
3519
+ return {
3520
+ packageId: o.identifier,
3521
+ name: t?.title ?? o.identifier,
3522
+ product: i,
3523
+ entitlements: s
3524
+ };
3525
+ }
3526
+ extractEntitlements(o) {
3527
+ const r = [];
3528
+ if (!o) return r;
3529
+ if (o.entitlement && typeof o.entitlement == "string" && r.push({
3530
+ identifier: o.entitlement
3531
+ }), Array.isArray(o.entitlements))
3532
+ for (const t of o.entitlements)
3533
+ typeof t == "string" ? r.push({ identifier: t }) : typeof t == "object" && t !== null && typeof t.identifier == "string" && r.push({
3534
+ identifier: t.identifier
3535
+ });
3536
+ return r;
3537
+ }
3538
+ }
3539
+ function Jt() {
3540
+ return new Ft();
3541
+ }
3423
3542
  export {
3424
- Yt as SegmentedControl,
3425
- Kt as SubscriptionLayout,
3426
- qt as SubscriptionProvider,
3427
- _t as SubscriptionTile,
3428
- Vt as clearRevenueCatCheckoutSessions,
3429
- Jt as closeRevenueCatInstance,
3430
- P as cn,
3431
- Xt as useSubscriptionContext
3543
+ Kt as SegmentedControl,
3544
+ Ut as SubscriptionLayout,
3545
+ Yt as SubscriptionProvider,
3546
+ Ft as SubscriptionService,
3547
+ Gt as SubscriptionTile,
3548
+ _t as clearRevenueCatCheckoutSessions,
3549
+ Xt as closeRevenueCatInstance,
3550
+ k as cn,
3551
+ Jt as createSubscriptionService,
3552
+ qt as useSubscriptionContext
3432
3553
  };