@gram-ai/elements 1.13.5 → 1.13.6

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.
@@ -1,15 +1,15 @@
1
- import { jsx as te, jsxs as je } from "react/jsx-runtime";
2
- import { createContext as Ne, useContext as Oe, useRef as Le, useState as ge, useEffect as Ve } from "react";
3
- import { useAssistantState as Fe } from "@assistant-ui/react";
4
- import { parse as We, View as _e, Warn as Be } from "vega";
5
- const $e = Ne(
1
+ import { jsxs as fe, jsx as te } from "react/jsx-runtime";
2
+ import { createContext as Fe, useContext as _e, forwardRef as Ce, createElement as se, useRef as We, useState as be, useEffect as Be } from "react";
3
+ import { useAssistantState as $e } from "@assistant-ui/react";
4
+ import { parse as Ue, View as De, Warn as Je } from "vega";
5
+ const Ye = Fe(
6
6
  void 0
7
- ), we = () => {
8
- const e = Oe($e);
7
+ ), ze = () => {
8
+ const e = _e(Ye);
9
9
  if (!e)
10
10
  throw new Error("useElements must be used within a ElementsProvider");
11
11
  return e;
12
- }, Ue = {
12
+ }, qe = {
13
13
  compact: {
14
14
  // Padding - small increments (1, 1.5, 2, 2.5, 3)
15
15
  "p-xs": "p-1",
@@ -100,10 +100,10 @@ const $e = Ne(
100
100
  "text-title": "text-3xl",
101
101
  "text-subtitle": "text-lg"
102
102
  }
103
- }, De = () => {
104
- const { config: e } = we(), r = e.theme?.density ?? "normal";
105
- return (t) => Ue[r][t];
106
- }, Ye = {
103
+ }, Xe = () => {
104
+ const { config: e } = ze(), r = e.theme?.density ?? "normal";
105
+ return (t) => qe[r][t];
106
+ }, Ze = {
107
107
  sharp: {
108
108
  sm: "rounded-sm",
109
109
  md: "rounded",
@@ -125,131 +125,131 @@ const $e = Ne(
125
125
  xl: "rounded-3xl",
126
126
  full: "rounded-full"
127
127
  }
128
- }, Je = () => {
129
- const { config: e } = we(), r = e.theme?.radius ?? "soft";
130
- return (t) => Ye[r][t];
128
+ }, He = () => {
129
+ const { config: e } = ze(), r = e.theme?.radius ?? "soft";
130
+ return (t) => Ze[r][t];
131
131
  };
132
- function ke(e) {
132
+ function Ae(e) {
133
133
  var r, t, o = "";
134
134
  if (typeof e == "string" || typeof e == "number") o += e;
135
135
  else if (typeof e == "object") if (Array.isArray(e)) {
136
136
  var a = e.length;
137
- for (r = 0; r < a; r++) e[r] && (t = ke(e[r])) && (o && (o += " "), o += t);
137
+ for (r = 0; r < a; r++) e[r] && (t = Ae(e[r])) && (o && (o += " "), o += t);
138
138
  } else for (t in e) e[t] && (o && (o += " "), o += t);
139
139
  return o;
140
140
  }
141
- function qe() {
142
- for (var e, r, t = 0, o = "", a = arguments.length; t < a; t++) (e = arguments[t]) && (r = ke(e)) && (o && (o += " "), o += r);
141
+ function Ke() {
142
+ for (var e, r, t = 0, o = "", a = arguments.length; t < a; t++) (e = arguments[t]) && (r = Ae(e)) && (o && (o += " "), o += r);
143
143
  return o;
144
144
  }
145
- const Xe = (e, r) => {
145
+ const Qe = (e, r) => {
146
146
  const t = new Array(e.length + r.length);
147
147
  for (let o = 0; o < e.length; o++)
148
148
  t[o] = e[o];
149
149
  for (let o = 0; o < r.length; o++)
150
150
  t[e.length + o] = r[o];
151
151
  return t;
152
- }, He = (e, r) => ({
152
+ }, et = (e, r) => ({
153
153
  classGroupId: e,
154
154
  validator: r
155
- }), ve = (e = /* @__PURE__ */ new Map(), r = null, t) => ({
155
+ }), Se = (e = /* @__PURE__ */ new Map(), r = null, t) => ({
156
156
  nextPart: e,
157
157
  validators: r,
158
158
  classGroupId: t
159
- }), K = "-", fe = [], Ke = "arbitrary..", Qe = (e) => {
160
- const r = et(e), {
159
+ }), H = "-", he = [], tt = "arbitrary..", rt = (e) => {
160
+ const r = st(e), {
161
161
  conflictingClassGroups: t,
162
162
  conflictingClassGroupModifiers: o
163
163
  } = e;
164
164
  return {
165
165
  getClassGroupId: (i) => {
166
166
  if (i.startsWith("[") && i.endsWith("]"))
167
- return Ze(i);
168
- const u = i.split(K), l = u[0] === "" && u.length > 1 ? 1 : 0;
169
- return Ce(u, l, r);
167
+ return ot(i);
168
+ const m = i.split(H), c = m[0] === "" && m.length > 1 ? 1 : 0;
169
+ return Re(m, c, r);
170
170
  },
171
- getConflictingClassGroupIds: (i, u) => {
172
- if (u) {
173
- const l = o[i], g = t[i];
174
- return l ? g ? Xe(g, l) : l : g || fe;
171
+ getConflictingClassGroupIds: (i, m) => {
172
+ if (m) {
173
+ const c = o[i], g = t[i];
174
+ return c ? g ? Qe(g, c) : c : g || he;
175
175
  }
176
- return t[i] || fe;
176
+ return t[i] || he;
177
177
  }
178
178
  };
179
- }, Ce = (e, r, t) => {
179
+ }, Re = (e, r, t) => {
180
180
  if (e.length - r === 0)
181
181
  return t.classGroupId;
182
- const a = e[r], d = t.nextPart.get(a);
183
- if (d) {
184
- const g = Ce(e, r + 1, d);
182
+ const a = e[r], l = t.nextPart.get(a);
183
+ if (l) {
184
+ const g = Re(e, r + 1, l);
185
185
  if (g) return g;
186
186
  }
187
187
  const i = t.validators;
188
188
  if (i === null)
189
189
  return;
190
- const u = r === 0 ? e.join(K) : e.slice(r).join(K), l = i.length;
191
- for (let g = 0; g < l; g++) {
190
+ const m = r === 0 ? e.join(H) : e.slice(r).join(H), c = i.length;
191
+ for (let g = 0; g < c; g++) {
192
192
  const f = i[g];
193
- if (f.validator(u))
193
+ if (f.validator(m))
194
194
  return f.classGroupId;
195
195
  }
196
- }, Ze = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
196
+ }, ot = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
197
197
  const r = e.slice(1, -1), t = r.indexOf(":"), o = r.slice(0, t);
198
- return o ? Ke + o : void 0;
199
- })(), et = (e) => {
198
+ return o ? tt + o : void 0;
199
+ })(), st = (e) => {
200
200
  const {
201
201
  theme: r,
202
202
  classGroups: t
203
203
  } = e;
204
- return tt(t, r);
205
- }, tt = (e, r) => {
206
- const t = ve();
204
+ return nt(t, r);
205
+ }, nt = (e, r) => {
206
+ const t = Se();
207
207
  for (const o in e) {
208
208
  const a = e[o];
209
- ne(a, t, o, r);
209
+ ae(a, t, o, r);
210
210
  }
211
211
  return t;
212
- }, ne = (e, r, t, o) => {
212
+ }, ae = (e, r, t, o) => {
213
213
  const a = e.length;
214
- for (let d = 0; d < a; d++) {
215
- const i = e[d];
216
- ot(i, r, t, o);
214
+ for (let l = 0; l < a; l++) {
215
+ const i = e[l];
216
+ at(i, r, t, o);
217
217
  }
218
- }, ot = (e, r, t, o) => {
218
+ }, at = (e, r, t, o) => {
219
219
  if (typeof e == "string") {
220
- rt(e, r, t);
220
+ it(e, r, t);
221
221
  return;
222
222
  }
223
223
  if (typeof e == "function") {
224
- st(e, r, t, o);
224
+ lt(e, r, t, o);
225
225
  return;
226
226
  }
227
- nt(e, r, t, o);
228
- }, rt = (e, r, t) => {
229
- const o = e === "" ? r : ze(r, e);
227
+ ct(e, r, t, o);
228
+ }, it = (e, r, t) => {
229
+ const o = e === "" ? r : Ie(r, e);
230
230
  o.classGroupId = t;
231
- }, st = (e, r, t, o) => {
232
- if (at(e)) {
233
- ne(e(o), r, t, o);
231
+ }, lt = (e, r, t, o) => {
232
+ if (dt(e)) {
233
+ ae(e(o), r, t, o);
234
234
  return;
235
235
  }
236
- r.validators === null && (r.validators = []), r.validators.push(He(t, e));
237
- }, nt = (e, r, t, o) => {
238
- const a = Object.entries(e), d = a.length;
239
- for (let i = 0; i < d; i++) {
240
- const [u, l] = a[i];
241
- ne(l, ze(r, u), t, o);
236
+ r.validators === null && (r.validators = []), r.validators.push(et(t, e));
237
+ }, ct = (e, r, t, o) => {
238
+ const a = Object.entries(e), l = a.length;
239
+ for (let i = 0; i < l; i++) {
240
+ const [m, c] = a[i];
241
+ ae(c, Ie(r, m), t, o);
242
242
  }
243
- }, ze = (e, r) => {
243
+ }, Ie = (e, r) => {
244
244
  let t = e;
245
- const o = r.split(K), a = o.length;
246
- for (let d = 0; d < a; d++) {
247
- const i = o[d];
248
- let u = t.nextPart.get(i);
249
- u || (u = ve(), t.nextPart.set(i, u)), t = u;
245
+ const o = r.split(H), a = o.length;
246
+ for (let l = 0; l < a; l++) {
247
+ const i = o[l];
248
+ let m = t.nextPart.get(i);
249
+ m || (m = Se(), t.nextPart.set(i, m)), t = m;
250
250
  }
251
251
  return t;
252
- }, at = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, it = (e) => {
252
+ }, dt = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, pt = (e) => {
253
253
  if (e < 1)
254
254
  return {
255
255
  get: () => {
@@ -258,41 +258,41 @@ const Xe = (e, r) => {
258
258
  }
259
259
  };
260
260
  let r = 0, t = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
261
- const a = (d, i) => {
262
- t[d] = i, r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ Object.create(null));
261
+ const a = (l, i) => {
262
+ t[l] = i, r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ Object.create(null));
263
263
  };
264
264
  return {
265
- get(d) {
266
- let i = t[d];
265
+ get(l) {
266
+ let i = t[l];
267
267
  if (i !== void 0)
268
268
  return i;
269
- if ((i = o[d]) !== void 0)
270
- return a(d, i), i;
269
+ if ((i = o[l]) !== void 0)
270
+ return a(l, i), i;
271
271
  },
272
- set(d, i) {
273
- d in t ? t[d] = i : a(d, i);
272
+ set(l, i) {
273
+ l in t ? t[l] = i : a(l, i);
274
274
  }
275
275
  };
276
- }, se = "!", be = ":", lt = [], he = (e, r, t, o, a) => ({
276
+ }, ne = "!", xe = ":", mt = [], ye = (e, r, t, o, a) => ({
277
277
  modifiers: e,
278
278
  hasImportantModifier: r,
279
279
  baseClassName: t,
280
280
  maybePostfixModifierPosition: o,
281
281
  isExternal: a
282
- }), ct = (e) => {
282
+ }), ut = (e) => {
283
283
  const {
284
284
  prefix: r,
285
285
  experimentalParseClassName: t
286
286
  } = e;
287
287
  let o = (a) => {
288
- const d = [];
289
- let i = 0, u = 0, l = 0, g;
288
+ const l = [];
289
+ let i = 0, m = 0, c = 0, g;
290
290
  const f = a.length;
291
291
  for (let C = 0; C < f; C++) {
292
292
  const w = a[C];
293
- if (i === 0 && u === 0) {
294
- if (w === be) {
295
- d.push(a.slice(l, C)), l = C + 1;
293
+ if (i === 0 && m === 0) {
294
+ if (w === xe) {
295
+ l.push(a.slice(c, C)), c = C + 1;
296
296
  continue;
297
297
  }
298
298
  if (w === "/") {
@@ -300,60 +300,60 @@ const Xe = (e, r) => {
300
300
  continue;
301
301
  }
302
302
  }
303
- w === "[" ? i++ : w === "]" ? i-- : w === "(" ? u++ : w === ")" && u--;
303
+ w === "[" ? i++ : w === "]" ? i-- : w === "(" ? m++ : w === ")" && m--;
304
304
  }
305
- const v = d.length === 0 ? a : a.slice(l);
305
+ const v = l.length === 0 ? a : a.slice(c);
306
306
  let x = v, z = !1;
307
- v.endsWith(se) ? (x = v.slice(0, -1), z = !0) : (
307
+ v.endsWith(ne) ? (x = v.slice(0, -1), z = !0) : (
308
308
  /**
309
309
  * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
310
310
  * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
311
311
  */
312
- v.startsWith(se) && (x = v.slice(1), z = !0)
312
+ v.startsWith(ne) && (x = v.slice(1), z = !0)
313
313
  );
314
- const M = g && g > l ? g - l : void 0;
315
- return he(d, z, x, M);
314
+ const M = g && g > c ? g - c : void 0;
315
+ return ye(l, z, x, M);
316
316
  };
317
317
  if (r) {
318
- const a = r + be, d = o;
319
- o = (i) => i.startsWith(a) ? d(i.slice(a.length)) : he(lt, !1, i, void 0, !0);
318
+ const a = r + xe, l = o;
319
+ o = (i) => i.startsWith(a) ? l(i.slice(a.length)) : ye(mt, !1, i, void 0, !0);
320
320
  }
321
321
  if (t) {
322
322
  const a = o;
323
- o = (d) => t({
324
- className: d,
323
+ o = (l) => t({
324
+ className: l,
325
325
  parseClassName: a
326
326
  });
327
327
  }
328
328
  return o;
329
- }, dt = (e) => {
329
+ }, gt = (e) => {
330
330
  const r = /* @__PURE__ */ new Map();
331
331
  return e.orderSensitiveModifiers.forEach((t, o) => {
332
332
  r.set(t, 1e6 + o);
333
333
  }), (t) => {
334
334
  const o = [];
335
335
  let a = [];
336
- for (let d = 0; d < t.length; d++) {
337
- const i = t[d], u = i[0] === "[", l = r.has(i);
338
- u || l ? (a.length > 0 && (a.sort(), o.push(...a), a = []), o.push(i)) : a.push(i);
336
+ for (let l = 0; l < t.length; l++) {
337
+ const i = t[l], m = i[0] === "[", c = r.has(i);
338
+ m || c ? (a.length > 0 && (a.sort(), o.push(...a), a = []), o.push(i)) : a.push(i);
339
339
  }
340
340
  return a.length > 0 && (a.sort(), o.push(...a)), o;
341
341
  };
342
- }, pt = (e) => ({
343
- cache: it(e.cacheSize),
344
- parseClassName: ct(e),
345
- sortModifiers: dt(e),
346
- ...Qe(e)
347
- }), mt = /\s+/, ut = (e, r) => {
342
+ }, ft = (e) => ({
343
+ cache: pt(e.cacheSize),
344
+ parseClassName: ut(e),
345
+ sortModifiers: gt(e),
346
+ ...rt(e)
347
+ }), bt = /\s+/, ht = (e, r) => {
348
348
  const {
349
349
  parseClassName: t,
350
350
  getClassGroupId: o,
351
351
  getConflictingClassGroupIds: a,
352
- sortModifiers: d
353
- } = r, i = [], u = e.trim().split(mt);
354
- let l = "";
355
- for (let g = u.length - 1; g >= 0; g -= 1) {
356
- const f = u[g], {
352
+ sortModifiers: l
353
+ } = r, i = [], m = e.trim().split(bt);
354
+ let c = "";
355
+ for (let g = m.length - 1; g >= 0; g -= 1) {
356
+ const f = m[g], {
357
357
  isExternal: v,
358
358
  modifiers: x,
359
359
  hasImportantModifier: z,
@@ -361,74 +361,74 @@ const Xe = (e, r) => {
361
361
  maybePostfixModifierPosition: C
362
362
  } = t(f);
363
363
  if (v) {
364
- l = f + (l.length > 0 ? " " + l : l);
364
+ c = f + (c.length > 0 ? " " + c : c);
365
365
  continue;
366
366
  }
367
367
  let w = !!C, P = o(w ? M.substring(0, C) : M);
368
368
  if (!P) {
369
369
  if (!w) {
370
- l = f + (l.length > 0 ? " " + l : l);
370
+ c = f + (c.length > 0 ? " " + c : c);
371
371
  continue;
372
372
  }
373
373
  if (P = o(M), !P) {
374
- l = f + (l.length > 0 ? " " + l : l);
374
+ c = f + (c.length > 0 ? " " + c : c);
375
375
  continue;
376
376
  }
377
377
  w = !1;
378
378
  }
379
- const $ = x.length === 0 ? "" : x.length === 1 ? x[0] : d(x).join(":"), W = z ? $ + se : $, j = W + P;
380
- if (i.indexOf(j) > -1)
379
+ const $ = x.length === 0 ? "" : x.length === 1 ? x[0] : l(x).join(":"), _ = z ? $ + ne : $, G = _ + P;
380
+ if (i.indexOf(G) > -1)
381
381
  continue;
382
- i.push(j);
383
- const N = a(P, w);
384
- for (let E = 0; E < N.length; ++E) {
385
- const _ = N[E];
386
- i.push(W + _);
382
+ i.push(G);
383
+ const T = a(P, w);
384
+ for (let E = 0; E < T.length; ++E) {
385
+ const W = T[E];
386
+ i.push(_ + W);
387
387
  }
388
- l = f + (l.length > 0 ? " " + l : l);
388
+ c = f + (c.length > 0 ? " " + c : c);
389
389
  }
390
- return l;
391
- }, gt = (...e) => {
390
+ return c;
391
+ }, xt = (...e) => {
392
392
  let r = 0, t, o, a = "";
393
393
  for (; r < e.length; )
394
- (t = e[r++]) && (o = Ae(t)) && (a && (a += " "), a += o);
394
+ (t = e[r++]) && (o = Me(t)) && (a && (a += " "), a += o);
395
395
  return a;
396
- }, Ae = (e) => {
396
+ }, Me = (e) => {
397
397
  if (typeof e == "string")
398
398
  return e;
399
399
  let r, t = "";
400
400
  for (let o = 0; o < e.length; o++)
401
- e[o] && (r = Ae(e[o])) && (t && (t += " "), t += r);
401
+ e[o] && (r = Me(e[o])) && (t && (t += " "), t += r);
402
402
  return t;
403
- }, ft = (e, ...r) => {
404
- let t, o, a, d;
405
- const i = (l) => {
403
+ }, yt = (e, ...r) => {
404
+ let t, o, a, l;
405
+ const i = (c) => {
406
406
  const g = r.reduce((f, v) => v(f), e());
407
- return t = pt(g), o = t.cache.get, a = t.cache.set, d = u, u(l);
408
- }, u = (l) => {
409
- const g = o(l);
407
+ return t = ft(g), o = t.cache.get, a = t.cache.set, l = m, m(c);
408
+ }, m = (c) => {
409
+ const g = o(c);
410
410
  if (g)
411
411
  return g;
412
- const f = ut(l, t);
413
- return a(l, f), f;
412
+ const f = ht(c, t);
413
+ return a(c, f), f;
414
414
  };
415
- return d = i, (...l) => d(gt(...l));
416
- }, bt = [], b = (e) => {
417
- const r = (t) => t[e] || bt;
415
+ return l = i, (...c) => l(xt(...c));
416
+ }, wt = [], b = (e) => {
417
+ const r = (t) => t[e] || wt;
418
418
  return r.isThemeGetter = !0, r;
419
- }, Se = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Re = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ht = /^\d+\/\d+$/, xt = /^(\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$/, wt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, kt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, vt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, L = (e) => ht.test(e), m = (e) => !!e && !Number.isNaN(Number(e)), I = (e) => !!e && Number.isInteger(Number(e)), oe = (e) => e.endsWith("%") && m(e.slice(0, -1)), R = (e) => xt.test(e), Ct = () => !0, zt = (e) => (
419
+ }, Pe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ee = /^\((?:(\w[\w-]*):)?(.+)\)$/i, kt = /^\d+\/\d+$/, vt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ct = /\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$/, zt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, At = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, St = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, O = (e) => kt.test(e), u = (e) => !!e && !Number.isNaN(Number(e)), I = (e) => !!e && Number.isInteger(Number(e)), re = (e) => e.endsWith("%") && u(e.slice(0, -1)), R = (e) => vt.test(e), Rt = () => !0, It = (e) => (
420
420
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
421
421
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
422
422
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
423
- yt.test(e) && !wt.test(e)
424
- ), Ie = () => !1, At = (e) => kt.test(e), St = (e) => vt.test(e), Rt = (e) => !s(e) && !n(e), It = (e) => V(e, Ee, Ie), s = (e) => Se.test(e), T = (e) => V(e, Ge, zt), re = (e) => V(e, Tt, m), xe = (e) => V(e, Me, Ie), Mt = (e) => V(e, Pe, St), X = (e) => V(e, Te, At), n = (e) => Re.test(e), B = (e) => F(e, Ge), Pt = (e) => F(e, jt), ye = (e) => F(e, Me), Et = (e) => F(e, Ee), Gt = (e) => F(e, Pe), H = (e) => F(e, Te, !0), V = (e, r, t) => {
425
- const o = Se.exec(e);
423
+ Ct.test(e) && !zt.test(e)
424
+ ), Ne = () => !1, Mt = (e) => At.test(e), Pt = (e) => St.test(e), Et = (e) => !s(e) && !n(e), Nt = (e) => V(e, Te, Ne), s = (e) => Pe.test(e), j = (e) => V(e, Le, It), oe = (e) => V(e, Ot, u), we = (e) => V(e, je, Ne), jt = (e) => V(e, Ge, Pt), X = (e) => V(e, Oe, Mt), n = (e) => Ee.test(e), B = (e) => F(e, Le), Gt = (e) => F(e, Vt), ke = (e) => F(e, je), Tt = (e) => F(e, Te), Lt = (e) => F(e, Ge), Z = (e) => F(e, Oe, !0), V = (e, r, t) => {
425
+ const o = Pe.exec(e);
426
426
  return o ? o[1] ? r(o[1]) : t(o[2]) : !1;
427
427
  }, F = (e, r, t = !1) => {
428
- const o = Re.exec(e);
428
+ const o = Ee.exec(e);
429
429
  return o ? o[1] ? r(o[1]) : t : !1;
430
- }, Me = (e) => e === "position" || e === "percentage", Pe = (e) => e === "image" || e === "url", Ee = (e) => e === "length" || e === "size" || e === "bg-size", Ge = (e) => e === "length", Tt = (e) => e === "number", jt = (e) => e === "family-name", Te = (e) => e === "shadow", Nt = () => {
431
- const e = b("color"), r = b("font"), t = b("text"), o = b("font-weight"), a = b("tracking"), d = b("leading"), i = b("breakpoint"), u = b("container"), l = b("spacing"), g = b("radius"), f = b("shadow"), v = b("inset-shadow"), x = b("text-shadow"), z = b("drop-shadow"), M = b("blur"), C = b("perspective"), w = b("aspect"), P = b("ease"), $ = b("animate"), W = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], j = () => [
430
+ }, je = (e) => e === "position" || e === "percentage", Ge = (e) => e === "image" || e === "url", Te = (e) => e === "length" || e === "size" || e === "bg-size", Le = (e) => e === "length", Ot = (e) => e === "number", Vt = (e) => e === "family-name", Oe = (e) => e === "shadow", Ft = () => {
431
+ const e = b("color"), r = b("font"), t = b("text"), o = b("font-weight"), a = b("tracking"), l = b("leading"), i = b("breakpoint"), m = b("container"), c = b("spacing"), g = b("radius"), f = b("shadow"), v = b("inset-shadow"), x = b("text-shadow"), z = b("drop-shadow"), M = b("blur"), C = b("perspective"), w = b("aspect"), P = b("ease"), $ = b("animate"), _ = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], G = () => [
432
432
  "center",
433
433
  "top",
434
434
  "bottom",
@@ -446,15 +446,15 @@ const Xe = (e, r) => {
446
446
  "bottom-left",
447
447
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
448
448
  "left-bottom"
449
- ], N = () => [...j(), n, s], E = () => ["auto", "hidden", "clip", "visible", "scroll"], _ = () => ["auto", "contain", "none"], p = () => [n, s, l], A = () => [L, "full", "auto", ...p()], ae = () => [I, "none", "subgrid", n, s], ie = () => ["auto", {
449
+ ], T = () => [...G(), n, s], E = () => ["auto", "hidden", "clip", "visible", "scroll"], W = () => ["auto", "contain", "none"], p = () => [n, s, c], A = () => [O, "full", "auto", ...p()], ie = () => [I, "none", "subgrid", n, s], le = () => ["auto", {
450
450
  span: ["full", I, n, s]
451
- }, I, n, s], U = () => [I, "auto", n, s], le = () => ["auto", "min", "max", "fr", n, s], Q = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], O = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], S = () => ["auto", ...p()], G = () => [L, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...p()], c = () => [e, n, s], ce = () => [...j(), ye, xe, {
451
+ }, I, n, s], U = () => [I, "auto", n, s], ce = () => ["auto", "min", "max", "fr", n, s], K = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], L = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], S = () => ["auto", ...p()], N = () => [O, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...p()], d = () => [e, n, s], de = () => [...G(), ke, we, {
452
452
  position: [n, s]
453
- }], de = () => ["no-repeat", {
453
+ }], pe = () => ["no-repeat", {
454
454
  repeat: ["", "x", "y", "space", "round"]
455
- }], pe = () => ["auto", "cover", "contain", Et, It, {
455
+ }], me = () => ["auto", "cover", "contain", Tt, Nt, {
456
456
  size: [n, s]
457
- }], Z = () => [oe, B, T], y = () => [
457
+ }], Q = () => [re, B, j], y = () => [
458
458
  // Deprecated since Tailwind CSS v4.0.0
459
459
  "",
460
460
  "none",
@@ -462,14 +462,14 @@ const Xe = (e, r) => {
462
462
  g,
463
463
  n,
464
464
  s
465
- ], k = () => ["", m, B, T], D = () => ["solid", "dashed", "dotted", "double"], me = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], h = () => [m, oe, ye, xe], ue = () => [
465
+ ], k = () => ["", u, B, j], D = () => ["solid", "dashed", "dotted", "double"], ue = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], h = () => [u, re, ke, we], ge = () => [
466
466
  // Deprecated since Tailwind CSS v4.0.0
467
467
  "",
468
468
  "none",
469
469
  M,
470
470
  n,
471
471
  s
472
- ], Y = () => ["none", m, n, s], J = () => ["none", m, n, s], ee = () => [m, n, s], q = () => [L, "full", ...p()];
472
+ ], J = () => ["none", u, n, s], Y = () => ["none", u, n, s], ee = () => [u, n, s], q = () => [O, "full", ...p()];
473
473
  return {
474
474
  cacheSize: 500,
475
475
  theme: {
@@ -477,18 +477,18 @@ const Xe = (e, r) => {
477
477
  aspect: ["video"],
478
478
  blur: [R],
479
479
  breakpoint: [R],
480
- color: [Ct],
480
+ color: [Rt],
481
481
  container: [R],
482
482
  "drop-shadow": [R],
483
483
  ease: ["in", "out", "in-out"],
484
- font: [Rt],
484
+ font: [Et],
485
485
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
486
486
  "inset-shadow": [R],
487
487
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
488
488
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
489
489
  radius: [R],
490
490
  shadow: [R],
491
- spacing: ["px", m],
491
+ spacing: ["px", u],
492
492
  text: [R],
493
493
  "text-shadow": [R],
494
494
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
@@ -502,7 +502,7 @@ const Xe = (e, r) => {
502
502
  * @see https://tailwindcss.com/docs/aspect-ratio
503
503
  */
504
504
  aspect: [{
505
- aspect: ["auto", "square", L, s, n, w]
505
+ aspect: ["auto", "square", O, s, n, w]
506
506
  }],
507
507
  /**
508
508
  * Container
@@ -515,21 +515,21 @@ const Xe = (e, r) => {
515
515
  * @see https://tailwindcss.com/docs/columns
516
516
  */
517
517
  columns: [{
518
- columns: [m, s, n, u]
518
+ columns: [u, s, n, m]
519
519
  }],
520
520
  /**
521
521
  * Break After
522
522
  * @see https://tailwindcss.com/docs/break-after
523
523
  */
524
524
  "break-after": [{
525
- "break-after": W()
525
+ "break-after": _()
526
526
  }],
527
527
  /**
528
528
  * Break Before
529
529
  * @see https://tailwindcss.com/docs/break-before
530
530
  */
531
531
  "break-before": [{
532
- "break-before": W()
532
+ "break-before": _()
533
533
  }],
534
534
  /**
535
535
  * Break Inside
@@ -593,7 +593,7 @@ const Xe = (e, r) => {
593
593
  * @see https://tailwindcss.com/docs/object-position
594
594
  */
595
595
  "object-position": [{
596
- object: N()
596
+ object: T()
597
597
  }],
598
598
  /**
599
599
  * Overflow
@@ -621,21 +621,21 @@ const Xe = (e, r) => {
621
621
  * @see https://tailwindcss.com/docs/overscroll-behavior
622
622
  */
623
623
  overscroll: [{
624
- overscroll: _()
624
+ overscroll: W()
625
625
  }],
626
626
  /**
627
627
  * Overscroll Behavior X
628
628
  * @see https://tailwindcss.com/docs/overscroll-behavior
629
629
  */
630
630
  "overscroll-x": [{
631
- "overscroll-x": _()
631
+ "overscroll-x": W()
632
632
  }],
633
633
  /**
634
634
  * Overscroll Behavior Y
635
635
  * @see https://tailwindcss.com/docs/overscroll-behavior
636
636
  */
637
637
  "overscroll-y": [{
638
- "overscroll-y": _()
638
+ "overscroll-y": W()
639
639
  }],
640
640
  /**
641
641
  * Position
@@ -725,7 +725,7 @@ const Xe = (e, r) => {
725
725
  * @see https://tailwindcss.com/docs/flex-basis
726
726
  */
727
727
  basis: [{
728
- basis: [L, "full", "auto", u, ...p()]
728
+ basis: [O, "full", "auto", m, ...p()]
729
729
  }],
730
730
  /**
731
731
  * Flex Direction
@@ -746,21 +746,21 @@ const Xe = (e, r) => {
746
746
  * @see https://tailwindcss.com/docs/flex
747
747
  */
748
748
  flex: [{
749
- flex: [m, L, "auto", "initial", "none", s]
749
+ flex: [u, O, "auto", "initial", "none", s]
750
750
  }],
751
751
  /**
752
752
  * Flex Grow
753
753
  * @see https://tailwindcss.com/docs/flex-grow
754
754
  */
755
755
  grow: [{
756
- grow: ["", m, n, s]
756
+ grow: ["", u, n, s]
757
757
  }],
758
758
  /**
759
759
  * Flex Shrink
760
760
  * @see https://tailwindcss.com/docs/flex-shrink
761
761
  */
762
762
  shrink: [{
763
- shrink: ["", m, n, s]
763
+ shrink: ["", u, n, s]
764
764
  }],
765
765
  /**
766
766
  * Order
@@ -774,14 +774,14 @@ const Xe = (e, r) => {
774
774
  * @see https://tailwindcss.com/docs/grid-template-columns
775
775
  */
776
776
  "grid-cols": [{
777
- "grid-cols": ae()
777
+ "grid-cols": ie()
778
778
  }],
779
779
  /**
780
780
  * Grid Column Start / End
781
781
  * @see https://tailwindcss.com/docs/grid-column
782
782
  */
783
783
  "col-start-end": [{
784
- col: ie()
784
+ col: le()
785
785
  }],
786
786
  /**
787
787
  * Grid Column Start
@@ -802,14 +802,14 @@ const Xe = (e, r) => {
802
802
  * @see https://tailwindcss.com/docs/grid-template-rows
803
803
  */
804
804
  "grid-rows": [{
805
- "grid-rows": ae()
805
+ "grid-rows": ie()
806
806
  }],
807
807
  /**
808
808
  * Grid Row Start / End
809
809
  * @see https://tailwindcss.com/docs/grid-row
810
810
  */
811
811
  "row-start-end": [{
812
- row: ie()
812
+ row: le()
813
813
  }],
814
814
  /**
815
815
  * Grid Row Start
@@ -837,14 +837,14 @@ const Xe = (e, r) => {
837
837
  * @see https://tailwindcss.com/docs/grid-auto-columns
838
838
  */
839
839
  "auto-cols": [{
840
- "auto-cols": le()
840
+ "auto-cols": ce()
841
841
  }],
842
842
  /**
843
843
  * Grid Auto Rows
844
844
  * @see https://tailwindcss.com/docs/grid-auto-rows
845
845
  */
846
846
  "auto-rows": [{
847
- "auto-rows": le()
847
+ "auto-rows": ce()
848
848
  }],
849
849
  /**
850
850
  * Gap
@@ -872,35 +872,35 @@ const Xe = (e, r) => {
872
872
  * @see https://tailwindcss.com/docs/justify-content
873
873
  */
874
874
  "justify-content": [{
875
- justify: [...Q(), "normal"]
875
+ justify: [...K(), "normal"]
876
876
  }],
877
877
  /**
878
878
  * Justify Items
879
879
  * @see https://tailwindcss.com/docs/justify-items
880
880
  */
881
881
  "justify-items": [{
882
- "justify-items": [...O(), "normal"]
882
+ "justify-items": [...L(), "normal"]
883
883
  }],
884
884
  /**
885
885
  * Justify Self
886
886
  * @see https://tailwindcss.com/docs/justify-self
887
887
  */
888
888
  "justify-self": [{
889
- "justify-self": ["auto", ...O()]
889
+ "justify-self": ["auto", ...L()]
890
890
  }],
891
891
  /**
892
892
  * Align Content
893
893
  * @see https://tailwindcss.com/docs/align-content
894
894
  */
895
895
  "align-content": [{
896
- content: ["normal", ...Q()]
896
+ content: ["normal", ...K()]
897
897
  }],
898
898
  /**
899
899
  * Align Items
900
900
  * @see https://tailwindcss.com/docs/align-items
901
901
  */
902
902
  "align-items": [{
903
- items: [...O(), {
903
+ items: [...L(), {
904
904
  baseline: ["", "last"]
905
905
  }]
906
906
  }],
@@ -909,7 +909,7 @@ const Xe = (e, r) => {
909
909
  * @see https://tailwindcss.com/docs/align-self
910
910
  */
911
911
  "align-self": [{
912
- self: ["auto", ...O(), {
912
+ self: ["auto", ...L(), {
913
913
  baseline: ["", "last"]
914
914
  }]
915
915
  }],
@@ -918,21 +918,21 @@ const Xe = (e, r) => {
918
918
  * @see https://tailwindcss.com/docs/place-content
919
919
  */
920
920
  "place-content": [{
921
- "place-content": Q()
921
+ "place-content": K()
922
922
  }],
923
923
  /**
924
924
  * Place Items
925
925
  * @see https://tailwindcss.com/docs/place-items
926
926
  */
927
927
  "place-items": [{
928
- "place-items": [...O(), "baseline"]
928
+ "place-items": [...L(), "baseline"]
929
929
  }],
930
930
  /**
931
931
  * Place Self
932
932
  * @see https://tailwindcss.com/docs/place-self
933
933
  */
934
934
  "place-self": [{
935
- "place-self": ["auto", ...O()]
935
+ "place-self": ["auto", ...L()]
936
936
  }],
937
937
  // Spacing
938
938
  /**
@@ -1093,14 +1093,14 @@ const Xe = (e, r) => {
1093
1093
  * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
1094
1094
  */
1095
1095
  size: [{
1096
- size: G()
1096
+ size: N()
1097
1097
  }],
1098
1098
  /**
1099
1099
  * Width
1100
1100
  * @see https://tailwindcss.com/docs/width
1101
1101
  */
1102
1102
  w: [{
1103
- w: [u, "screen", ...G()]
1103
+ w: [m, "screen", ...N()]
1104
1104
  }],
1105
1105
  /**
1106
1106
  * Min-Width
@@ -1108,11 +1108,11 @@ const Xe = (e, r) => {
1108
1108
  */
1109
1109
  "min-w": [{
1110
1110
  "min-w": [
1111
- u,
1111
+ m,
1112
1112
  "screen",
1113
1113
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1114
1114
  "none",
1115
- ...G()
1115
+ ...N()
1116
1116
  ]
1117
1117
  }],
1118
1118
  /**
@@ -1121,7 +1121,7 @@ const Xe = (e, r) => {
1121
1121
  */
1122
1122
  "max-w": [{
1123
1123
  "max-w": [
1124
- u,
1124
+ m,
1125
1125
  "screen",
1126
1126
  "none",
1127
1127
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
@@ -1130,7 +1130,7 @@ const Xe = (e, r) => {
1130
1130
  {
1131
1131
  screen: [i]
1132
1132
  },
1133
- ...G()
1133
+ ...N()
1134
1134
  ]
1135
1135
  }],
1136
1136
  /**
@@ -1138,21 +1138,21 @@ const Xe = (e, r) => {
1138
1138
  * @see https://tailwindcss.com/docs/height
1139
1139
  */
1140
1140
  h: [{
1141
- h: ["screen", "lh", ...G()]
1141
+ h: ["screen", "lh", ...N()]
1142
1142
  }],
1143
1143
  /**
1144
1144
  * Min-Height
1145
1145
  * @see https://tailwindcss.com/docs/min-height
1146
1146
  */
1147
1147
  "min-h": [{
1148
- "min-h": ["screen", "lh", "none", ...G()]
1148
+ "min-h": ["screen", "lh", "none", ...N()]
1149
1149
  }],
1150
1150
  /**
1151
1151
  * Max-Height
1152
1152
  * @see https://tailwindcss.com/docs/max-height
1153
1153
  */
1154
1154
  "max-h": [{
1155
- "max-h": ["screen", "lh", ...G()]
1155
+ "max-h": ["screen", "lh", ...N()]
1156
1156
  }],
1157
1157
  // ------------------
1158
1158
  // --- Typography ---
@@ -1162,7 +1162,7 @@ const Xe = (e, r) => {
1162
1162
  * @see https://tailwindcss.com/docs/font-size
1163
1163
  */
1164
1164
  "font-size": [{
1165
- text: ["base", t, B, T]
1165
+ text: ["base", t, B, j]
1166
1166
  }],
1167
1167
  /**
1168
1168
  * Font Smoothing
@@ -1179,21 +1179,21 @@ const Xe = (e, r) => {
1179
1179
  * @see https://tailwindcss.com/docs/font-weight
1180
1180
  */
1181
1181
  "font-weight": [{
1182
- font: [o, n, re]
1182
+ font: [o, n, oe]
1183
1183
  }],
1184
1184
  /**
1185
1185
  * Font Stretch
1186
1186
  * @see https://tailwindcss.com/docs/font-stretch
1187
1187
  */
1188
1188
  "font-stretch": [{
1189
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", oe, s]
1189
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", re, s]
1190
1190
  }],
1191
1191
  /**
1192
1192
  * Font Family
1193
1193
  * @see https://tailwindcss.com/docs/font-family
1194
1194
  */
1195
1195
  "font-family": [{
1196
- font: [Pt, s, r]
1196
+ font: [Gt, s, r]
1197
1197
  }],
1198
1198
  /**
1199
1199
  * Font Variant Numeric
@@ -1237,7 +1237,7 @@ const Xe = (e, r) => {
1237
1237
  * @see https://tailwindcss.com/docs/line-clamp
1238
1238
  */
1239
1239
  "line-clamp": [{
1240
- "line-clamp": [m, "none", n, re]
1240
+ "line-clamp": [u, "none", n, oe]
1241
1241
  }],
1242
1242
  /**
1243
1243
  * Line Height
@@ -1246,7 +1246,7 @@ const Xe = (e, r) => {
1246
1246
  leading: [{
1247
1247
  leading: [
1248
1248
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1249
- d,
1249
+ l,
1250
1250
  ...p()
1251
1251
  ]
1252
1252
  }],
@@ -1284,14 +1284,14 @@ const Xe = (e, r) => {
1284
1284
  * @see https://v3.tailwindcss.com/docs/placeholder-color
1285
1285
  */
1286
1286
  "placeholder-color": [{
1287
- placeholder: c()
1287
+ placeholder: d()
1288
1288
  }],
1289
1289
  /**
1290
1290
  * Text Color
1291
1291
  * @see https://tailwindcss.com/docs/text-color
1292
1292
  */
1293
1293
  "text-color": [{
1294
- text: c()
1294
+ text: d()
1295
1295
  }],
1296
1296
  /**
1297
1297
  * Text Decoration
@@ -1310,21 +1310,21 @@ const Xe = (e, r) => {
1310
1310
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1311
1311
  */
1312
1312
  "text-decoration-thickness": [{
1313
- decoration: [m, "from-font", "auto", n, T]
1313
+ decoration: [u, "from-font", "auto", n, j]
1314
1314
  }],
1315
1315
  /**
1316
1316
  * Text Decoration Color
1317
1317
  * @see https://tailwindcss.com/docs/text-decoration-color
1318
1318
  */
1319
1319
  "text-decoration-color": [{
1320
- decoration: c()
1320
+ decoration: d()
1321
1321
  }],
1322
1322
  /**
1323
1323
  * Text Underline Offset
1324
1324
  * @see https://tailwindcss.com/docs/text-underline-offset
1325
1325
  */
1326
1326
  "underline-offset": [{
1327
- "underline-offset": [m, "auto", n, s]
1327
+ "underline-offset": [u, "auto", n, s]
1328
1328
  }],
1329
1329
  /**
1330
1330
  * Text Transform
@@ -1421,21 +1421,21 @@ const Xe = (e, r) => {
1421
1421
  * @see https://tailwindcss.com/docs/background-position
1422
1422
  */
1423
1423
  "bg-position": [{
1424
- bg: ce()
1424
+ bg: de()
1425
1425
  }],
1426
1426
  /**
1427
1427
  * Background Repeat
1428
1428
  * @see https://tailwindcss.com/docs/background-repeat
1429
1429
  */
1430
1430
  "bg-repeat": [{
1431
- bg: de()
1431
+ bg: pe()
1432
1432
  }],
1433
1433
  /**
1434
1434
  * Background Size
1435
1435
  * @see https://tailwindcss.com/docs/background-size
1436
1436
  */
1437
1437
  "bg-size": [{
1438
- bg: pe()
1438
+ bg: me()
1439
1439
  }],
1440
1440
  /**
1441
1441
  * Background Image
@@ -1448,56 +1448,56 @@ const Xe = (e, r) => {
1448
1448
  }, I, n, s],
1449
1449
  radial: ["", n, s],
1450
1450
  conic: [I, n, s]
1451
- }, Gt, Mt]
1451
+ }, Lt, jt]
1452
1452
  }],
1453
1453
  /**
1454
1454
  * Background Color
1455
1455
  * @see https://tailwindcss.com/docs/background-color
1456
1456
  */
1457
1457
  "bg-color": [{
1458
- bg: c()
1458
+ bg: d()
1459
1459
  }],
1460
1460
  /**
1461
1461
  * Gradient Color Stops From Position
1462
1462
  * @see https://tailwindcss.com/docs/gradient-color-stops
1463
1463
  */
1464
1464
  "gradient-from-pos": [{
1465
- from: Z()
1465
+ from: Q()
1466
1466
  }],
1467
1467
  /**
1468
1468
  * Gradient Color Stops Via Position
1469
1469
  * @see https://tailwindcss.com/docs/gradient-color-stops
1470
1470
  */
1471
1471
  "gradient-via-pos": [{
1472
- via: Z()
1472
+ via: Q()
1473
1473
  }],
1474
1474
  /**
1475
1475
  * Gradient Color Stops To Position
1476
1476
  * @see https://tailwindcss.com/docs/gradient-color-stops
1477
1477
  */
1478
1478
  "gradient-to-pos": [{
1479
- to: Z()
1479
+ to: Q()
1480
1480
  }],
1481
1481
  /**
1482
1482
  * Gradient Color Stops From
1483
1483
  * @see https://tailwindcss.com/docs/gradient-color-stops
1484
1484
  */
1485
1485
  "gradient-from": [{
1486
- from: c()
1486
+ from: d()
1487
1487
  }],
1488
1488
  /**
1489
1489
  * Gradient Color Stops Via
1490
1490
  * @see https://tailwindcss.com/docs/gradient-color-stops
1491
1491
  */
1492
1492
  "gradient-via": [{
1493
- via: c()
1493
+ via: d()
1494
1494
  }],
1495
1495
  /**
1496
1496
  * Gradient Color Stops To
1497
1497
  * @see https://tailwindcss.com/docs/gradient-color-stops
1498
1498
  */
1499
1499
  "gradient-to": [{
1500
- to: c()
1500
+ to: d()
1501
1501
  }],
1502
1502
  // ---------------
1503
1503
  // --- Borders ---
@@ -1713,70 +1713,70 @@ const Xe = (e, r) => {
1713
1713
  * @see https://tailwindcss.com/docs/border-color
1714
1714
  */
1715
1715
  "border-color": [{
1716
- border: c()
1716
+ border: d()
1717
1717
  }],
1718
1718
  /**
1719
1719
  * Border Color X
1720
1720
  * @see https://tailwindcss.com/docs/border-color
1721
1721
  */
1722
1722
  "border-color-x": [{
1723
- "border-x": c()
1723
+ "border-x": d()
1724
1724
  }],
1725
1725
  /**
1726
1726
  * Border Color Y
1727
1727
  * @see https://tailwindcss.com/docs/border-color
1728
1728
  */
1729
1729
  "border-color-y": [{
1730
- "border-y": c()
1730
+ "border-y": d()
1731
1731
  }],
1732
1732
  /**
1733
1733
  * Border Color S
1734
1734
  * @see https://tailwindcss.com/docs/border-color
1735
1735
  */
1736
1736
  "border-color-s": [{
1737
- "border-s": c()
1737
+ "border-s": d()
1738
1738
  }],
1739
1739
  /**
1740
1740
  * Border Color E
1741
1741
  * @see https://tailwindcss.com/docs/border-color
1742
1742
  */
1743
1743
  "border-color-e": [{
1744
- "border-e": c()
1744
+ "border-e": d()
1745
1745
  }],
1746
1746
  /**
1747
1747
  * Border Color Top
1748
1748
  * @see https://tailwindcss.com/docs/border-color
1749
1749
  */
1750
1750
  "border-color-t": [{
1751
- "border-t": c()
1751
+ "border-t": d()
1752
1752
  }],
1753
1753
  /**
1754
1754
  * Border Color Right
1755
1755
  * @see https://tailwindcss.com/docs/border-color
1756
1756
  */
1757
1757
  "border-color-r": [{
1758
- "border-r": c()
1758
+ "border-r": d()
1759
1759
  }],
1760
1760
  /**
1761
1761
  * Border Color Bottom
1762
1762
  * @see https://tailwindcss.com/docs/border-color
1763
1763
  */
1764
1764
  "border-color-b": [{
1765
- "border-b": c()
1765
+ "border-b": d()
1766
1766
  }],
1767
1767
  /**
1768
1768
  * Border Color Left
1769
1769
  * @see https://tailwindcss.com/docs/border-color
1770
1770
  */
1771
1771
  "border-color-l": [{
1772
- "border-l": c()
1772
+ "border-l": d()
1773
1773
  }],
1774
1774
  /**
1775
1775
  * Divide Color
1776
1776
  * @see https://tailwindcss.com/docs/divide-color
1777
1777
  */
1778
1778
  "divide-color": [{
1779
- divide: c()
1779
+ divide: d()
1780
1780
  }],
1781
1781
  /**
1782
1782
  * Outline Style
@@ -1790,21 +1790,21 @@ const Xe = (e, r) => {
1790
1790
  * @see https://tailwindcss.com/docs/outline-offset
1791
1791
  */
1792
1792
  "outline-offset": [{
1793
- "outline-offset": [m, n, s]
1793
+ "outline-offset": [u, n, s]
1794
1794
  }],
1795
1795
  /**
1796
1796
  * Outline Width
1797
1797
  * @see https://tailwindcss.com/docs/outline-width
1798
1798
  */
1799
1799
  "outline-w": [{
1800
- outline: ["", m, B, T]
1800
+ outline: ["", u, B, j]
1801
1801
  }],
1802
1802
  /**
1803
1803
  * Outline Color
1804
1804
  * @see https://tailwindcss.com/docs/outline-color
1805
1805
  */
1806
1806
  "outline-color": [{
1807
- outline: c()
1807
+ outline: d()
1808
1808
  }],
1809
1809
  // ---------------
1810
1810
  // --- Effects ---
@@ -1819,7 +1819,7 @@ const Xe = (e, r) => {
1819
1819
  "",
1820
1820
  "none",
1821
1821
  f,
1822
- H,
1822
+ Z,
1823
1823
  X
1824
1824
  ]
1825
1825
  }],
@@ -1828,21 +1828,21 @@ const Xe = (e, r) => {
1828
1828
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
1829
1829
  */
1830
1830
  "shadow-color": [{
1831
- shadow: c()
1831
+ shadow: d()
1832
1832
  }],
1833
1833
  /**
1834
1834
  * Inset Box Shadow
1835
1835
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
1836
1836
  */
1837
1837
  "inset-shadow": [{
1838
- "inset-shadow": ["none", v, H, X]
1838
+ "inset-shadow": ["none", v, Z, X]
1839
1839
  }],
1840
1840
  /**
1841
1841
  * Inset Box Shadow Color
1842
1842
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
1843
1843
  */
1844
1844
  "inset-shadow-color": [{
1845
- "inset-shadow": c()
1845
+ "inset-shadow": d()
1846
1846
  }],
1847
1847
  /**
1848
1848
  * Ring Width
@@ -1863,7 +1863,7 @@ const Xe = (e, r) => {
1863
1863
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
1864
1864
  */
1865
1865
  "ring-color": [{
1866
- ring: c()
1866
+ ring: d()
1867
1867
  }],
1868
1868
  /**
1869
1869
  * Ring Offset Width
@@ -1872,7 +1872,7 @@ const Xe = (e, r) => {
1872
1872
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1873
1873
  */
1874
1874
  "ring-offset-w": [{
1875
- "ring-offset": [m, T]
1875
+ "ring-offset": [u, j]
1876
1876
  }],
1877
1877
  /**
1878
1878
  * Ring Offset Color
@@ -1881,7 +1881,7 @@ const Xe = (e, r) => {
1881
1881
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1882
1882
  */
1883
1883
  "ring-offset-color": [{
1884
- "ring-offset": c()
1884
+ "ring-offset": d()
1885
1885
  }],
1886
1886
  /**
1887
1887
  * Inset Ring Width
@@ -1895,42 +1895,42 @@ const Xe = (e, r) => {
1895
1895
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
1896
1896
  */
1897
1897
  "inset-ring-color": [{
1898
- "inset-ring": c()
1898
+ "inset-ring": d()
1899
1899
  }],
1900
1900
  /**
1901
1901
  * Text Shadow
1902
1902
  * @see https://tailwindcss.com/docs/text-shadow
1903
1903
  */
1904
1904
  "text-shadow": [{
1905
- "text-shadow": ["none", x, H, X]
1905
+ "text-shadow": ["none", x, Z, X]
1906
1906
  }],
1907
1907
  /**
1908
1908
  * Text Shadow Color
1909
1909
  * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
1910
1910
  */
1911
1911
  "text-shadow-color": [{
1912
- "text-shadow": c()
1912
+ "text-shadow": d()
1913
1913
  }],
1914
1914
  /**
1915
1915
  * Opacity
1916
1916
  * @see https://tailwindcss.com/docs/opacity
1917
1917
  */
1918
1918
  opacity: [{
1919
- opacity: [m, n, s]
1919
+ opacity: [u, n, s]
1920
1920
  }],
1921
1921
  /**
1922
1922
  * Mix Blend Mode
1923
1923
  * @see https://tailwindcss.com/docs/mix-blend-mode
1924
1924
  */
1925
1925
  "mix-blend": [{
1926
- "mix-blend": [...me(), "plus-darker", "plus-lighter"]
1926
+ "mix-blend": [...ue(), "plus-darker", "plus-lighter"]
1927
1927
  }],
1928
1928
  /**
1929
1929
  * Background Blend Mode
1930
1930
  * @see https://tailwindcss.com/docs/background-blend-mode
1931
1931
  */
1932
1932
  "bg-blend": [{
1933
- "bg-blend": me()
1933
+ "bg-blend": ue()
1934
1934
  }],
1935
1935
  /**
1936
1936
  * Mask Clip
@@ -1951,7 +1951,7 @@ const Xe = (e, r) => {
1951
1951
  * @see https://tailwindcss.com/docs/mask-image
1952
1952
  */
1953
1953
  "mask-image-linear-pos": [{
1954
- "mask-linear": [m]
1954
+ "mask-linear": [u]
1955
1955
  }],
1956
1956
  "mask-image-linear-from-pos": [{
1957
1957
  "mask-linear-from": h()
@@ -1960,10 +1960,10 @@ const Xe = (e, r) => {
1960
1960
  "mask-linear-to": h()
1961
1961
  }],
1962
1962
  "mask-image-linear-from-color": [{
1963
- "mask-linear-from": c()
1963
+ "mask-linear-from": d()
1964
1964
  }],
1965
1965
  "mask-image-linear-to-color": [{
1966
- "mask-linear-to": c()
1966
+ "mask-linear-to": d()
1967
1967
  }],
1968
1968
  "mask-image-t-from-pos": [{
1969
1969
  "mask-t-from": h()
@@ -1972,10 +1972,10 @@ const Xe = (e, r) => {
1972
1972
  "mask-t-to": h()
1973
1973
  }],
1974
1974
  "mask-image-t-from-color": [{
1975
- "mask-t-from": c()
1975
+ "mask-t-from": d()
1976
1976
  }],
1977
1977
  "mask-image-t-to-color": [{
1978
- "mask-t-to": c()
1978
+ "mask-t-to": d()
1979
1979
  }],
1980
1980
  "mask-image-r-from-pos": [{
1981
1981
  "mask-r-from": h()
@@ -1984,10 +1984,10 @@ const Xe = (e, r) => {
1984
1984
  "mask-r-to": h()
1985
1985
  }],
1986
1986
  "mask-image-r-from-color": [{
1987
- "mask-r-from": c()
1987
+ "mask-r-from": d()
1988
1988
  }],
1989
1989
  "mask-image-r-to-color": [{
1990
- "mask-r-to": c()
1990
+ "mask-r-to": d()
1991
1991
  }],
1992
1992
  "mask-image-b-from-pos": [{
1993
1993
  "mask-b-from": h()
@@ -1996,10 +1996,10 @@ const Xe = (e, r) => {
1996
1996
  "mask-b-to": h()
1997
1997
  }],
1998
1998
  "mask-image-b-from-color": [{
1999
- "mask-b-from": c()
1999
+ "mask-b-from": d()
2000
2000
  }],
2001
2001
  "mask-image-b-to-color": [{
2002
- "mask-b-to": c()
2002
+ "mask-b-to": d()
2003
2003
  }],
2004
2004
  "mask-image-l-from-pos": [{
2005
2005
  "mask-l-from": h()
@@ -2008,10 +2008,10 @@ const Xe = (e, r) => {
2008
2008
  "mask-l-to": h()
2009
2009
  }],
2010
2010
  "mask-image-l-from-color": [{
2011
- "mask-l-from": c()
2011
+ "mask-l-from": d()
2012
2012
  }],
2013
2013
  "mask-image-l-to-color": [{
2014
- "mask-l-to": c()
2014
+ "mask-l-to": d()
2015
2015
  }],
2016
2016
  "mask-image-x-from-pos": [{
2017
2017
  "mask-x-from": h()
@@ -2020,10 +2020,10 @@ const Xe = (e, r) => {
2020
2020
  "mask-x-to": h()
2021
2021
  }],
2022
2022
  "mask-image-x-from-color": [{
2023
- "mask-x-from": c()
2023
+ "mask-x-from": d()
2024
2024
  }],
2025
2025
  "mask-image-x-to-color": [{
2026
- "mask-x-to": c()
2026
+ "mask-x-to": d()
2027
2027
  }],
2028
2028
  "mask-image-y-from-pos": [{
2029
2029
  "mask-y-from": h()
@@ -2032,10 +2032,10 @@ const Xe = (e, r) => {
2032
2032
  "mask-y-to": h()
2033
2033
  }],
2034
2034
  "mask-image-y-from-color": [{
2035
- "mask-y-from": c()
2035
+ "mask-y-from": d()
2036
2036
  }],
2037
2037
  "mask-image-y-to-color": [{
2038
- "mask-y-to": c()
2038
+ "mask-y-to": d()
2039
2039
  }],
2040
2040
  "mask-image-radial": [{
2041
2041
  "mask-radial": [n, s]
@@ -2047,10 +2047,10 @@ const Xe = (e, r) => {
2047
2047
  "mask-radial-to": h()
2048
2048
  }],
2049
2049
  "mask-image-radial-from-color": [{
2050
- "mask-radial-from": c()
2050
+ "mask-radial-from": d()
2051
2051
  }],
2052
2052
  "mask-image-radial-to-color": [{
2053
- "mask-radial-to": c()
2053
+ "mask-radial-to": d()
2054
2054
  }],
2055
2055
  "mask-image-radial-shape": [{
2056
2056
  "mask-radial": ["circle", "ellipse"]
@@ -2062,10 +2062,10 @@ const Xe = (e, r) => {
2062
2062
  }]
2063
2063
  }],
2064
2064
  "mask-image-radial-pos": [{
2065
- "mask-radial-at": j()
2065
+ "mask-radial-at": G()
2066
2066
  }],
2067
2067
  "mask-image-conic-pos": [{
2068
- "mask-conic": [m]
2068
+ "mask-conic": [u]
2069
2069
  }],
2070
2070
  "mask-image-conic-from-pos": [{
2071
2071
  "mask-conic-from": h()
@@ -2074,10 +2074,10 @@ const Xe = (e, r) => {
2074
2074
  "mask-conic-to": h()
2075
2075
  }],
2076
2076
  "mask-image-conic-from-color": [{
2077
- "mask-conic-from": c()
2077
+ "mask-conic-from": d()
2078
2078
  }],
2079
2079
  "mask-image-conic-to-color": [{
2080
- "mask-conic-to": c()
2080
+ "mask-conic-to": d()
2081
2081
  }],
2082
2082
  /**
2083
2083
  * Mask Mode
@@ -2098,21 +2098,21 @@ const Xe = (e, r) => {
2098
2098
  * @see https://tailwindcss.com/docs/mask-position
2099
2099
  */
2100
2100
  "mask-position": [{
2101
- mask: ce()
2101
+ mask: de()
2102
2102
  }],
2103
2103
  /**
2104
2104
  * Mask Repeat
2105
2105
  * @see https://tailwindcss.com/docs/mask-repeat
2106
2106
  */
2107
2107
  "mask-repeat": [{
2108
- mask: de()
2108
+ mask: pe()
2109
2109
  }],
2110
2110
  /**
2111
2111
  * Mask Size
2112
2112
  * @see https://tailwindcss.com/docs/mask-size
2113
2113
  */
2114
2114
  "mask-size": [{
2115
- mask: pe()
2115
+ mask: me()
2116
2116
  }],
2117
2117
  /**
2118
2118
  * Mask Type
@@ -2149,21 +2149,21 @@ const Xe = (e, r) => {
2149
2149
  * @see https://tailwindcss.com/docs/blur
2150
2150
  */
2151
2151
  blur: [{
2152
- blur: ue()
2152
+ blur: ge()
2153
2153
  }],
2154
2154
  /**
2155
2155
  * Brightness
2156
2156
  * @see https://tailwindcss.com/docs/brightness
2157
2157
  */
2158
2158
  brightness: [{
2159
- brightness: [m, n, s]
2159
+ brightness: [u, n, s]
2160
2160
  }],
2161
2161
  /**
2162
2162
  * Contrast
2163
2163
  * @see https://tailwindcss.com/docs/contrast
2164
2164
  */
2165
2165
  contrast: [{
2166
- contrast: [m, n, s]
2166
+ contrast: [u, n, s]
2167
2167
  }],
2168
2168
  /**
2169
2169
  * Drop Shadow
@@ -2175,7 +2175,7 @@ const Xe = (e, r) => {
2175
2175
  "",
2176
2176
  "none",
2177
2177
  z,
2178
- H,
2178
+ Z,
2179
2179
  X
2180
2180
  ]
2181
2181
  }],
@@ -2184,42 +2184,42 @@ const Xe = (e, r) => {
2184
2184
  * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2185
2185
  */
2186
2186
  "drop-shadow-color": [{
2187
- "drop-shadow": c()
2187
+ "drop-shadow": d()
2188
2188
  }],
2189
2189
  /**
2190
2190
  * Grayscale
2191
2191
  * @see https://tailwindcss.com/docs/grayscale
2192
2192
  */
2193
2193
  grayscale: [{
2194
- grayscale: ["", m, n, s]
2194
+ grayscale: ["", u, n, s]
2195
2195
  }],
2196
2196
  /**
2197
2197
  * Hue Rotate
2198
2198
  * @see https://tailwindcss.com/docs/hue-rotate
2199
2199
  */
2200
2200
  "hue-rotate": [{
2201
- "hue-rotate": [m, n, s]
2201
+ "hue-rotate": [u, n, s]
2202
2202
  }],
2203
2203
  /**
2204
2204
  * Invert
2205
2205
  * @see https://tailwindcss.com/docs/invert
2206
2206
  */
2207
2207
  invert: [{
2208
- invert: ["", m, n, s]
2208
+ invert: ["", u, n, s]
2209
2209
  }],
2210
2210
  /**
2211
2211
  * Saturate
2212
2212
  * @see https://tailwindcss.com/docs/saturate
2213
2213
  */
2214
2214
  saturate: [{
2215
- saturate: [m, n, s]
2215
+ saturate: [u, n, s]
2216
2216
  }],
2217
2217
  /**
2218
2218
  * Sepia
2219
2219
  * @see https://tailwindcss.com/docs/sepia
2220
2220
  */
2221
2221
  sepia: [{
2222
- sepia: ["", m, n, s]
2222
+ sepia: ["", u, n, s]
2223
2223
  }],
2224
2224
  /**
2225
2225
  * Backdrop Filter
@@ -2239,63 +2239,63 @@ const Xe = (e, r) => {
2239
2239
  * @see https://tailwindcss.com/docs/backdrop-blur
2240
2240
  */
2241
2241
  "backdrop-blur": [{
2242
- "backdrop-blur": ue()
2242
+ "backdrop-blur": ge()
2243
2243
  }],
2244
2244
  /**
2245
2245
  * Backdrop Brightness
2246
2246
  * @see https://tailwindcss.com/docs/backdrop-brightness
2247
2247
  */
2248
2248
  "backdrop-brightness": [{
2249
- "backdrop-brightness": [m, n, s]
2249
+ "backdrop-brightness": [u, n, s]
2250
2250
  }],
2251
2251
  /**
2252
2252
  * Backdrop Contrast
2253
2253
  * @see https://tailwindcss.com/docs/backdrop-contrast
2254
2254
  */
2255
2255
  "backdrop-contrast": [{
2256
- "backdrop-contrast": [m, n, s]
2256
+ "backdrop-contrast": [u, n, s]
2257
2257
  }],
2258
2258
  /**
2259
2259
  * Backdrop Grayscale
2260
2260
  * @see https://tailwindcss.com/docs/backdrop-grayscale
2261
2261
  */
2262
2262
  "backdrop-grayscale": [{
2263
- "backdrop-grayscale": ["", m, n, s]
2263
+ "backdrop-grayscale": ["", u, n, s]
2264
2264
  }],
2265
2265
  /**
2266
2266
  * Backdrop Hue Rotate
2267
2267
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2268
2268
  */
2269
2269
  "backdrop-hue-rotate": [{
2270
- "backdrop-hue-rotate": [m, n, s]
2270
+ "backdrop-hue-rotate": [u, n, s]
2271
2271
  }],
2272
2272
  /**
2273
2273
  * Backdrop Invert
2274
2274
  * @see https://tailwindcss.com/docs/backdrop-invert
2275
2275
  */
2276
2276
  "backdrop-invert": [{
2277
- "backdrop-invert": ["", m, n, s]
2277
+ "backdrop-invert": ["", u, n, s]
2278
2278
  }],
2279
2279
  /**
2280
2280
  * Backdrop Opacity
2281
2281
  * @see https://tailwindcss.com/docs/backdrop-opacity
2282
2282
  */
2283
2283
  "backdrop-opacity": [{
2284
- "backdrop-opacity": [m, n, s]
2284
+ "backdrop-opacity": [u, n, s]
2285
2285
  }],
2286
2286
  /**
2287
2287
  * Backdrop Saturate
2288
2288
  * @see https://tailwindcss.com/docs/backdrop-saturate
2289
2289
  */
2290
2290
  "backdrop-saturate": [{
2291
- "backdrop-saturate": [m, n, s]
2291
+ "backdrop-saturate": [u, n, s]
2292
2292
  }],
2293
2293
  /**
2294
2294
  * Backdrop Sepia
2295
2295
  * @see https://tailwindcss.com/docs/backdrop-sepia
2296
2296
  */
2297
2297
  "backdrop-sepia": [{
2298
- "backdrop-sepia": ["", m, n, s]
2298
+ "backdrop-sepia": ["", u, n, s]
2299
2299
  }],
2300
2300
  // --------------
2301
2301
  // --- Tables ---
@@ -2364,7 +2364,7 @@ const Xe = (e, r) => {
2364
2364
  * @see https://tailwindcss.com/docs/transition-duration
2365
2365
  */
2366
2366
  duration: [{
2367
- duration: [m, "initial", n, s]
2367
+ duration: [u, "initial", n, s]
2368
2368
  }],
2369
2369
  /**
2370
2370
  * Transition Timing Function
@@ -2378,7 +2378,7 @@ const Xe = (e, r) => {
2378
2378
  * @see https://tailwindcss.com/docs/transition-delay
2379
2379
  */
2380
2380
  delay: [{
2381
- delay: [m, n, s]
2381
+ delay: [u, n, s]
2382
2382
  }],
2383
2383
  /**
2384
2384
  * Animation
@@ -2409,63 +2409,63 @@ const Xe = (e, r) => {
2409
2409
  * @see https://tailwindcss.com/docs/perspective-origin
2410
2410
  */
2411
2411
  "perspective-origin": [{
2412
- "perspective-origin": N()
2412
+ "perspective-origin": T()
2413
2413
  }],
2414
2414
  /**
2415
2415
  * Rotate
2416
2416
  * @see https://tailwindcss.com/docs/rotate
2417
2417
  */
2418
2418
  rotate: [{
2419
- rotate: Y()
2419
+ rotate: J()
2420
2420
  }],
2421
2421
  /**
2422
2422
  * Rotate X
2423
2423
  * @see https://tailwindcss.com/docs/rotate
2424
2424
  */
2425
2425
  "rotate-x": [{
2426
- "rotate-x": Y()
2426
+ "rotate-x": J()
2427
2427
  }],
2428
2428
  /**
2429
2429
  * Rotate Y
2430
2430
  * @see https://tailwindcss.com/docs/rotate
2431
2431
  */
2432
2432
  "rotate-y": [{
2433
- "rotate-y": Y()
2433
+ "rotate-y": J()
2434
2434
  }],
2435
2435
  /**
2436
2436
  * Rotate Z
2437
2437
  * @see https://tailwindcss.com/docs/rotate
2438
2438
  */
2439
2439
  "rotate-z": [{
2440
- "rotate-z": Y()
2440
+ "rotate-z": J()
2441
2441
  }],
2442
2442
  /**
2443
2443
  * Scale
2444
2444
  * @see https://tailwindcss.com/docs/scale
2445
2445
  */
2446
2446
  scale: [{
2447
- scale: J()
2447
+ scale: Y()
2448
2448
  }],
2449
2449
  /**
2450
2450
  * Scale X
2451
2451
  * @see https://tailwindcss.com/docs/scale
2452
2452
  */
2453
2453
  "scale-x": [{
2454
- "scale-x": J()
2454
+ "scale-x": Y()
2455
2455
  }],
2456
2456
  /**
2457
2457
  * Scale Y
2458
2458
  * @see https://tailwindcss.com/docs/scale
2459
2459
  */
2460
2460
  "scale-y": [{
2461
- "scale-y": J()
2461
+ "scale-y": Y()
2462
2462
  }],
2463
2463
  /**
2464
2464
  * Scale Z
2465
2465
  * @see https://tailwindcss.com/docs/scale
2466
2466
  */
2467
2467
  "scale-z": [{
2468
- "scale-z": J()
2468
+ "scale-z": Y()
2469
2469
  }],
2470
2470
  /**
2471
2471
  * Scale 3D
@@ -2505,7 +2505,7 @@ const Xe = (e, r) => {
2505
2505
  * @see https://tailwindcss.com/docs/transform-origin
2506
2506
  */
2507
2507
  "transform-origin": [{
2508
- origin: N()
2508
+ origin: T()
2509
2509
  }],
2510
2510
  /**
2511
2511
  * Transform Style
@@ -2555,7 +2555,7 @@ const Xe = (e, r) => {
2555
2555
  * @see https://tailwindcss.com/docs/accent-color
2556
2556
  */
2557
2557
  accent: [{
2558
- accent: c()
2558
+ accent: d()
2559
2559
  }],
2560
2560
  /**
2561
2561
  * Appearance
@@ -2569,7 +2569,7 @@ const Xe = (e, r) => {
2569
2569
  * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2570
2570
  */
2571
2571
  "caret-color": [{
2572
- caret: c()
2572
+ caret: d()
2573
2573
  }],
2574
2574
  /**
2575
2575
  * Color Scheme
@@ -2815,21 +2815,21 @@ const Xe = (e, r) => {
2815
2815
  * @see https://tailwindcss.com/docs/fill
2816
2816
  */
2817
2817
  fill: [{
2818
- fill: ["none", ...c()]
2818
+ fill: ["none", ...d()]
2819
2819
  }],
2820
2820
  /**
2821
2821
  * Stroke Width
2822
2822
  * @see https://tailwindcss.com/docs/stroke-width
2823
2823
  */
2824
2824
  "stroke-w": [{
2825
- stroke: [m, B, T, re]
2825
+ stroke: [u, B, j, oe]
2826
2826
  }],
2827
2827
  /**
2828
2828
  * Stroke
2829
2829
  * @see https://tailwindcss.com/docs/stroke
2830
2830
  */
2831
2831
  stroke: [{
2832
- stroke: ["none", ...c()]
2832
+ stroke: ["none", ...d()]
2833
2833
  }],
2834
2834
  // ---------------------
2835
2835
  // --- Accessibility ---
@@ -2897,27 +2897,97 @@ const Xe = (e, r) => {
2897
2897
  },
2898
2898
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
2899
2899
  };
2900
- }, Ot = /* @__PURE__ */ ft(Nt);
2901
- function Lt(...e) {
2902
- return Ot(qe(e));
2900
+ }, _t = /* @__PURE__ */ yt(Ft);
2901
+ function Wt(...e) {
2902
+ return _t(Ke(e));
2903
2903
  }
2904
- function Ut(e) {
2904
+ function rr(e) {
2905
2905
  throw new Error(`Unexpected value: ${e}`);
2906
2906
  }
2907
- const Vt = ({ code: e }) => {
2908
- const r = Fe(({ message: f }) => f), t = Le(null), [o, a] = ge(!0), [d, i] = ge(null), u = r.status?.type === "complete", l = Je(), g = De();
2909
- return Ve(() => {
2910
- if (!u || !t.current)
2907
+ const Bt = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), $t = (e) => e.replace(
2908
+ /^([A-Z])|[\s-_]+(\w)/g,
2909
+ (r, t, o) => o ? o.toUpperCase() : t.toLowerCase()
2910
+ ), ve = (e) => {
2911
+ const r = $t(e);
2912
+ return r.charAt(0).toUpperCase() + r.slice(1);
2913
+ }, Ve = (...e) => e.filter((r, t, o) => !!r && r.trim() !== "" && o.indexOf(r) === t).join(" ").trim(), Ut = (e) => {
2914
+ for (const r in e)
2915
+ if (r.startsWith("aria-") || r === "role" || r === "title")
2916
+ return !0;
2917
+ };
2918
+ var Dt = {
2919
+ xmlns: "http://www.w3.org/2000/svg",
2920
+ width: 24,
2921
+ height: 24,
2922
+ viewBox: "0 0 24 24",
2923
+ fill: "none",
2924
+ stroke: "currentColor",
2925
+ strokeWidth: 2,
2926
+ strokeLinecap: "round",
2927
+ strokeLinejoin: "round"
2928
+ };
2929
+ const Jt = Ce(
2930
+ ({
2931
+ color: e = "currentColor",
2932
+ size: r = 24,
2933
+ strokeWidth: t = 2,
2934
+ absoluteStrokeWidth: o,
2935
+ className: a = "",
2936
+ children: l,
2937
+ iconNode: i,
2938
+ ...m
2939
+ }, c) => se(
2940
+ "svg",
2941
+ {
2942
+ ref: c,
2943
+ ...Dt,
2944
+ width: r,
2945
+ height: r,
2946
+ stroke: e,
2947
+ strokeWidth: o ? Number(t) * 24 / Number(r) : t,
2948
+ className: Ve("lucide", a),
2949
+ ...!l && !Ut(m) && { "aria-hidden": "true" },
2950
+ ...m
2951
+ },
2952
+ [
2953
+ ...i.map(([g, f]) => se(g, f)),
2954
+ ...Array.isArray(l) ? l : [l]
2955
+ ]
2956
+ )
2957
+ );
2958
+ const Yt = (e, r) => {
2959
+ const t = Ce(
2960
+ ({ className: o, ...a }, l) => se(Jt, {
2961
+ ref: l,
2962
+ iconNode: r,
2963
+ className: Ve(
2964
+ `lucide-${Bt(ve(e))}`,
2965
+ `lucide-${e}`,
2966
+ o
2967
+ ),
2968
+ ...a
2969
+ })
2970
+ );
2971
+ return t.displayName = ve(e), t;
2972
+ };
2973
+ const qt = [
2974
+ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
2975
+ ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
2976
+ ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
2977
+ ], Xt = Yt("circle-alert", qt), Zt = ({ code: e }) => {
2978
+ const r = $e(({ message: f }) => f), t = We(null), [o, a] = be(!0), [l, i] = be(null), m = r.status?.type === "complete", c = He(), g = Xe();
2979
+ return Be(() => {
2980
+ if (!m || !t.current)
2911
2981
  return;
2912
2982
  let f = null;
2913
2983
  return (async () => {
2914
2984
  try {
2915
- const x = JSON.parse(e), z = We(x);
2916
- f = new _e(z, {
2985
+ const x = JSON.parse(e), z = Ue(x);
2986
+ f = new De(z, {
2917
2987
  container: t.current ?? void 0,
2918
2988
  renderer: "svg",
2919
2989
  hover: !0,
2920
- logLevel: Be
2990
+ logLevel: Je
2921
2991
  }), await f.runAsync(), a(!1);
2922
2992
  } catch (x) {
2923
2993
  console.error("Failed to render chart:", x), i(x instanceof Error ? x.message : "Failed to render chart"), a(!1);
@@ -2925,16 +2995,21 @@ const Vt = ({ code: e }) => {
2925
2995
  })(), () => {
2926
2996
  f && f.finalize();
2927
2997
  };
2928
- }, [u, e]), d ? /* @__PURE__ */ te("div", { className: "text-red-500", children: "Error rendering chart" }) : /* @__PURE__ */ je(
2998
+ }, [m, e]), /* @__PURE__ */ fe(
2929
2999
  "div",
2930
3000
  {
2931
- className: Lt(
2932
- "relative flex min-h-[400px] max-w-fit min-w-[400px] items-center justify-center border p-6",
2933
- l("lg"),
3001
+ className: Wt(
3002
+ // the after:hidden is to prevent assistant-ui from showing its default code block loading indicator
3003
+ "relative flex min-h-[400px] max-w-xl min-w-[400px] items-center justify-center border p-6 after:hidden",
3004
+ c("lg"),
2934
3005
  g("p-lg")
2935
3006
  ),
2936
3007
  children: [
2937
- o && /* @__PURE__ */ te("div", { className: "shimmer text-muted-foreground bg-background/80 absolute inset-0 z-10 flex items-center justify-center text-lg font-semibold", children: "Rendering chart..." }),
3008
+ (o || !m) && /* @__PURE__ */ te("div", { className: "shimmer text-muted-foreground bg-background/80 absolute inset-0 z-10 flex items-center justify-center", children: "Rendering chart..." }),
3009
+ l && /* @__PURE__ */ fe("div", { className: "bg-background absolute inset-0 z-10 flex items-center justify-center gap-2 text-rose-500", children: [
3010
+ /* @__PURE__ */ te(Xt, { name: "alert-circle", className: "h-4 w-4" }),
3011
+ "Error rendering chart"
3012
+ ] }),
2938
3013
  /* @__PURE__ */ te(
2939
3014
  "div",
2940
3015
  {
@@ -2945,22 +3020,26 @@ const Vt = ({ code: e }) => {
2945
3020
  ]
2946
3021
  }
2947
3022
  );
2948
- }, Ft = {
3023
+ }, Ht = {
2949
3024
  language: "vega",
2950
3025
  prompt: `If a user asks for a chart of any kind or visualization, return only a Vega spec in JSON format (https://vega.github.io/vega/) code block with the language 'vega'.
2951
3026
 
2952
- Rather than describing the visual properties of the chart, instead describe what trends are found in the data.`,
2953
- Component: Vt,
3027
+ Rather than describing the visual properties of the chart, instead describe what trends are found in the data.
3028
+
3029
+ Make sure that the Vega spec JSON is valid and doesn't include any comments.`,
3030
+ Component: Zt,
2954
3031
  Header: void 0
2955
- }, Dt = [Ft];
3032
+ }, or = [Ht];
2956
3033
  export {
2957
- $e as E,
2958
- Lt as a,
2959
- De as b,
2960
- qe as c,
2961
- Je as d,
2962
- Ut as e,
2963
- Ft as f,
2964
- Dt as r,
2965
- we as u
3034
+ Xt as C,
3035
+ Ye as E,
3036
+ Ke as a,
3037
+ Wt as b,
3038
+ Yt as c,
3039
+ Xe as d,
3040
+ He as e,
3041
+ rr as f,
3042
+ Ht as g,
3043
+ or as r,
3044
+ ze as u
2966
3045
  };