tvuikit 0.8.2 → 0.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import He, { createContext as Je, useContext as Xe, Activity as pt, useState as ie, useRef as Y, useEffect as le, useCallback as ae, useLayoutEffect as qe } from "react";
1
+ import He, { createContext as Je, useContext as Xe, Activity as gt, useState as Q, useRef as J, useEffect as le, useCallback as C, useLayoutEffect as qe } from "react";
2
2
  import { createPortal as Ae } from "react-dom";
3
3
  const bt = {
4
4
  default: "#0A0A0A",
@@ -16,14 +16,14 @@ const bt = {
16
16
  danger: "#FF0000",
17
17
  secondary: "#000000",
18
18
  tetriary: "#000000"
19
- }, gt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19
+ }, ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20
20
  __proto__: null,
21
21
  BACKGROUND: bt,
22
22
  BUTTONS: Ke,
23
23
  FOREGROUND: Ze
24
24
  }, Symbol.toStringTag, { value: "Module" }));
25
- var X = /* @__PURE__ */ ((e) => (e.h1 = "36px", e.h2 = "32px", e.h3 = "24px", e.h4 = "20px", e.h5 = "18px", e.base = "16px", e.mini = "14px", e))(X || {});
26
- const ht = {
25
+ var K = /* @__PURE__ */ ((e) => (e.h1 = "36px", e.h2 = "32px", e.h3 = "24px", e.h4 = "20px", e.h5 = "18px", e.base = "16px", e.mini = "14px", e))(K || {});
26
+ const xt = {
27
27
  h1: "36px",
28
28
  h2: "32px",
29
29
  h3: "24px",
@@ -32,136 +32,136 @@ const ht = {
32
32
  base: "16px",
33
33
  mini: "14px"
34
34
  /* mini */
35
- }, xt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
35
+ }, yt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
36
36
  __proto__: null,
37
- FONT_SIZE: ht,
38
- FontSize: X
39
- }, Symbol.toStringTag, { value: "Module" })), zr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
37
+ FONT_SIZE: xt,
38
+ FontSize: K
39
+ }, Symbol.toStringTag, { value: "Module" })), Dr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
40
40
  __proto__: null,
41
- COLORS: gt,
42
- FONTS: xt
41
+ COLORS: ht,
42
+ FONTS: yt
43
43
  }, Symbol.toStringTag, { value: "Module" }));
44
44
  function Qe(e) {
45
- var r, n, o = "";
46
- if (typeof e == "string" || typeof e == "number") o += e;
45
+ var r, o, n = "";
46
+ if (typeof e == "string" || typeof e == "number") n += e;
47
47
  else if (typeof e == "object") if (Array.isArray(e)) {
48
48
  var s = e.length;
49
- for (r = 0; r < s; r++) e[r] && (n = Qe(e[r])) && (o && (o += " "), o += n);
50
- } else for (n in e) e[n] && (o && (o += " "), o += n);
51
- return o;
52
- }
53
- function yt() {
54
- for (var e, r, n = 0, o = "", s = arguments.length; n < s; n++) (e = arguments[n]) && (r = Qe(e)) && (o && (o += " "), o += r);
55
- return o;
49
+ for (r = 0; r < s; r++) e[r] && (o = Qe(e[r])) && (n && (n += " "), n += o);
50
+ } else for (o in e) e[o] && (n && (n += " "), n += o);
51
+ return n;
56
52
  }
57
- const wt = (e, r) => {
58
- const n = new Array(e.length + r.length);
59
- for (let o = 0; o < e.length; o++)
60
- n[o] = e[o];
61
- for (let o = 0; o < r.length; o++)
62
- n[e.length + o] = r[o];
53
+ function wt() {
54
+ for (var e, r, o = 0, n = "", s = arguments.length; o < s; o++) (e = arguments[o]) && (r = Qe(e)) && (n && (n += " "), n += r);
63
55
  return n;
64
- }, vt = (e, r) => ({
56
+ }
57
+ const vt = (e, r) => {
58
+ const o = new Array(e.length + r.length);
59
+ for (let n = 0; n < e.length; n++)
60
+ o[n] = e[n];
61
+ for (let n = 0; n < r.length; n++)
62
+ o[e.length + n] = r[n];
63
+ return o;
64
+ }, kt = (e, r) => ({
65
65
  classGroupId: e,
66
66
  validator: r
67
- }), et = (e = /* @__PURE__ */ new Map(), r = null, n) => ({
67
+ }), et = (e = /* @__PURE__ */ new Map(), r = null, o) => ({
68
68
  nextPart: e,
69
69
  validators: r,
70
- classGroupId: n
71
- }), ve = "-", Pe = [], kt = "arbitrary..", jt = (e) => {
72
- const r = Rt(e), {
73
- conflictingClassGroups: n,
74
- conflictingClassGroupModifiers: o
70
+ classGroupId: o
71
+ }), ve = "-", Ie = [], jt = "arbitrary..", Et = (e) => {
72
+ const r = _t(e), {
73
+ conflictingClassGroups: o,
74
+ conflictingClassGroupModifiers: n
75
75
  } = e;
76
76
  return {
77
77
  getClassGroupId: (i) => {
78
78
  if (i.startsWith("[") && i.endsWith("]"))
79
- return Et(i);
80
- const u = i.split(ve), l = u[0] === "" && u.length > 1 ? 1 : 0;
81
- return tt(u, l, r);
79
+ return Rt(i);
80
+ const u = i.split(ve), c = u[0] === "" && u.length > 1 ? 1 : 0;
81
+ return tt(u, c, r);
82
82
  },
83
83
  getConflictingClassGroupIds: (i, u) => {
84
84
  if (u) {
85
- const l = o[i], f = n[i];
86
- return l ? f ? wt(f, l) : l : f || Pe;
85
+ const c = n[i], f = o[i];
86
+ return c ? f ? vt(f, c) : c : f || Ie;
87
87
  }
88
- return n[i] || Pe;
88
+ return o[i] || Ie;
89
89
  }
90
90
  };
91
- }, tt = (e, r, n) => {
91
+ }, tt = (e, r, o) => {
92
92
  if (e.length - r === 0)
93
- return n.classGroupId;
94
- const s = e[r], a = n.nextPart.get(s);
93
+ return o.classGroupId;
94
+ const s = e[r], a = o.nextPart.get(s);
95
95
  if (a) {
96
96
  const f = tt(e, r + 1, a);
97
97
  if (f) return f;
98
98
  }
99
- const i = n.validators;
99
+ const i = o.validators;
100
100
  if (i === null)
101
101
  return;
102
- const u = r === 0 ? e.join(ve) : e.slice(r).join(ve), l = i.length;
103
- for (let f = 0; f < l; f++) {
104
- const v = i[f];
105
- if (v.validator(u))
106
- return v.classGroupId;
102
+ const u = r === 0 ? e.join(ve) : e.slice(r).join(ve), c = i.length;
103
+ for (let f = 0; f < c; f++) {
104
+ const w = i[f];
105
+ if (w.validator(u))
106
+ return w.classGroupId;
107
107
  }
108
- }, Et = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
109
- const r = e.slice(1, -1), n = r.indexOf(":"), o = r.slice(0, n);
110
- return o ? kt + o : void 0;
111
- })(), Rt = (e) => {
108
+ }, Rt = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
109
+ const r = e.slice(1, -1), o = r.indexOf(":"), n = r.slice(0, o);
110
+ return n ? jt + n : void 0;
111
+ })(), _t = (e) => {
112
112
  const {
113
113
  theme: r,
114
- classGroups: n
114
+ classGroups: o
115
115
  } = e;
116
- return _t(n, r);
117
- }, _t = (e, r) => {
118
- const n = et();
119
- for (const o in e) {
120
- const s = e[o];
121
- Ne(s, n, o, r);
116
+ return St(o, r);
117
+ }, St = (e, r) => {
118
+ const o = et();
119
+ for (const n in e) {
120
+ const s = e[n];
121
+ Oe(s, o, n, r);
122
122
  }
123
- return n;
124
- }, Ne = (e, r, n, o) => {
123
+ return o;
124
+ }, Oe = (e, r, o, n) => {
125
125
  const s = e.length;
126
126
  for (let a = 0; a < s; a++) {
127
127
  const i = e[a];
128
- St(i, r, n, o);
128
+ Nt(i, r, o, n);
129
129
  }
130
- }, St = (e, r, n, o) => {
130
+ }, Nt = (e, r, o, n) => {
131
131
  if (typeof e == "string") {
132
- Tt(e, r, n);
132
+ Tt(e, r, o);
133
133
  return;
134
134
  }
135
135
  if (typeof e == "function") {
136
- Ct(e, r, n, o);
136
+ Ct(e, r, o, n);
137
137
  return;
138
138
  }
139
- At(e, r, n, o);
140
- }, Tt = (e, r, n) => {
141
- const o = e === "" ? r : rt(r, e);
142
- o.classGroupId = n;
143
- }, Ct = (e, r, n, o) => {
144
- if (Nt(e)) {
145
- Ne(e(o), r, n, o);
139
+ At(e, r, o, n);
140
+ }, Tt = (e, r, o) => {
141
+ const n = e === "" ? r : rt(r, e);
142
+ n.classGroupId = o;
143
+ }, Ct = (e, r, o, n) => {
144
+ if (Ot(e)) {
145
+ Oe(e(n), r, o, n);
146
146
  return;
147
147
  }
148
- r.validators === null && (r.validators = []), r.validators.push(vt(n, e));
149
- }, At = (e, r, n, o) => {
148
+ r.validators === null && (r.validators = []), r.validators.push(kt(o, e));
149
+ }, At = (e, r, o, n) => {
150
150
  const s = Object.entries(e), a = s.length;
151
151
  for (let i = 0; i < a; i++) {
152
- const [u, l] = s[i];
153
- Ne(l, rt(r, u), n, o);
152
+ const [u, c] = s[i];
153
+ Oe(c, rt(r, u), o, n);
154
154
  }
155
155
  }, rt = (e, r) => {
156
- let n = e;
157
- const o = r.split(ve), s = o.length;
156
+ let o = e;
157
+ const n = r.split(ve), s = n.length;
158
158
  for (let a = 0; a < s; a++) {
159
- const i = o[a];
160
- let u = n.nextPart.get(i);
161
- u || (u = et(), n.nextPart.set(i, u)), n = u;
159
+ const i = n[a];
160
+ let u = o.nextPart.get(i);
161
+ u || (u = et(), o.nextPart.set(i, u)), o = u;
162
162
  }
163
- return n;
164
- }, Nt = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Ot = (e) => {
163
+ return o;
164
+ }, Ot = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Pt = (e) => {
165
165
  if (e < 1)
166
166
  return {
167
167
  get: () => {
@@ -169,178 +169,178 @@ const wt = (e, r) => {
169
169
  set: () => {
170
170
  }
171
171
  };
172
- let r = 0, n = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
172
+ let r = 0, o = /* @__PURE__ */ Object.create(null), n = /* @__PURE__ */ Object.create(null);
173
173
  const s = (a, i) => {
174
- n[a] = i, r++, r > e && (r = 0, o = n, n = /* @__PURE__ */ Object.create(null));
174
+ o[a] = i, r++, r > e && (r = 0, n = o, o = /* @__PURE__ */ Object.create(null));
175
175
  };
176
176
  return {
177
177
  get(a) {
178
- let i = n[a];
178
+ let i = o[a];
179
179
  if (i !== void 0)
180
180
  return i;
181
- if ((i = o[a]) !== void 0)
181
+ if ((i = n[a]) !== void 0)
182
182
  return s(a, i), i;
183
183
  },
184
184
  set(a, i) {
185
- a in n ? n[a] = i : s(a, i);
185
+ a in o ? o[a] = i : s(a, i);
186
186
  }
187
187
  };
188
- }, Ce = "!", ze = ":", Pt = [], $e = (e, r, n, o, s) => ({
188
+ }, Te = "!", $e = ":", It = [], ze = (e, r, o, n, s) => ({
189
189
  modifiers: e,
190
190
  hasImportantModifier: r,
191
- baseClassName: n,
192
- maybePostfixModifierPosition: o,
191
+ baseClassName: o,
192
+ maybePostfixModifierPosition: n,
193
193
  isExternal: s
194
- }), zt = (e) => {
194
+ }), $t = (e) => {
195
195
  const {
196
196
  prefix: r,
197
- experimentalParseClassName: n
197
+ experimentalParseClassName: o
198
198
  } = e;
199
- let o = (s) => {
199
+ let n = (s) => {
200
200
  const a = [];
201
- let i = 0, u = 0, l = 0, f;
202
- const v = s.length;
203
- for (let _ = 0; _ < v; _++) {
204
- const S = s[_];
201
+ let i = 0, u = 0, c = 0, f;
202
+ const w = s.length;
203
+ for (let N = 0; N < w; N++) {
204
+ const R = s[N];
205
205
  if (i === 0 && u === 0) {
206
- if (S === ze) {
207
- a.push(s.slice(l, _)), l = _ + 1;
206
+ if (R === $e) {
207
+ a.push(s.slice(c, N)), c = N + 1;
208
208
  continue;
209
209
  }
210
- if (S === "/") {
211
- f = _;
210
+ if (R === "/") {
211
+ f = N;
212
212
  continue;
213
213
  }
214
214
  }
215
- S === "[" ? i++ : S === "]" ? i-- : S === "(" ? u++ : S === ")" && u--;
215
+ R === "[" ? i++ : R === "]" ? i-- : R === "(" ? u++ : R === ")" && u--;
216
216
  }
217
- const k = a.length === 0 ? s : s.slice(l);
218
- let j = k, g = !1;
219
- k.endsWith(Ce) ? (j = k.slice(0, -1), g = !0) : (
217
+ const m = a.length === 0 ? s : s.slice(c);
218
+ let p = m, y = !1;
219
+ m.endsWith(Te) ? (p = m.slice(0, -1), y = !0) : (
220
220
  /**
221
221
  * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
222
222
  * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
223
223
  */
224
- k.startsWith(Ce) && (j = k.slice(1), g = !0)
224
+ m.startsWith(Te) && (p = m.slice(1), y = !0)
225
225
  );
226
- const R = f && f > l ? f - l : void 0;
227
- return $e(a, g, j, R);
226
+ const E = f && f > c ? f - c : void 0;
227
+ return ze(a, y, p, E);
228
228
  };
229
229
  if (r) {
230
- const s = r + ze, a = o;
231
- o = (i) => i.startsWith(s) ? a(i.slice(s.length)) : $e(Pt, !1, i, void 0, !0);
230
+ const s = r + $e, a = n;
231
+ n = (i) => i.startsWith(s) ? a(i.slice(s.length)) : ze(It, !1, i, void 0, !0);
232
232
  }
233
- if (n) {
234
- const s = o;
235
- o = (a) => n({
233
+ if (o) {
234
+ const s = n;
235
+ n = (a) => o({
236
236
  className: a,
237
237
  parseClassName: s
238
238
  });
239
239
  }
240
- return o;
241
- }, $t = (e) => {
240
+ return n;
241
+ }, zt = (e) => {
242
242
  const r = /* @__PURE__ */ new Map();
243
- return e.orderSensitiveModifiers.forEach((n, o) => {
244
- r.set(n, 1e6 + o);
245
- }), (n) => {
246
- const o = [];
243
+ return e.orderSensitiveModifiers.forEach((o, n) => {
244
+ r.set(o, 1e6 + n);
245
+ }), (o) => {
246
+ const n = [];
247
247
  let s = [];
248
- for (let a = 0; a < n.length; a++) {
249
- const i = n[a], u = i[0] === "[", l = r.has(i);
250
- u || l ? (s.length > 0 && (s.sort(), o.push(...s), s = []), o.push(i)) : s.push(i);
248
+ for (let a = 0; a < o.length; a++) {
249
+ const i = o[a], u = i[0] === "[", c = r.has(i);
250
+ u || c ? (s.length > 0 && (s.sort(), n.push(...s), s = []), n.push(i)) : s.push(i);
251
251
  }
252
- return s.length > 0 && (s.sort(), o.push(...s)), o;
252
+ return s.length > 0 && (s.sort(), n.push(...s)), n;
253
253
  };
254
- }, It = (e) => ({
255
- cache: Ot(e.cacheSize),
256
- parseClassName: zt(e),
257
- sortModifiers: $t(e),
258
- ...jt(e)
259
- }), Dt = /\s+/, Mt = (e, r) => {
254
+ }, Dt = (e) => ({
255
+ cache: Pt(e.cacheSize),
256
+ parseClassName: $t(e),
257
+ sortModifiers: zt(e),
258
+ ...Et(e)
259
+ }), Mt = /\s+/, Lt = (e, r) => {
260
260
  const {
261
- parseClassName: n,
262
- getClassGroupId: o,
261
+ parseClassName: o,
262
+ getClassGroupId: n,
263
263
  getConflictingClassGroupIds: s,
264
264
  sortModifiers: a
265
- } = r, i = [], u = e.trim().split(Dt);
266
- let l = "";
265
+ } = r, i = [], u = e.trim().split(Mt);
266
+ let c = "";
267
267
  for (let f = u.length - 1; f >= 0; f -= 1) {
268
- const v = u[f], {
269
- isExternal: k,
270
- modifiers: j,
271
- hasImportantModifier: g,
272
- baseClassName: R,
273
- maybePostfixModifierPosition: _
274
- } = n(v);
275
- if (k) {
276
- l = v + (l.length > 0 ? " " + l : l);
268
+ const w = u[f], {
269
+ isExternal: m,
270
+ modifiers: p,
271
+ hasImportantModifier: y,
272
+ baseClassName: E,
273
+ maybePostfixModifierPosition: N
274
+ } = o(w);
275
+ if (m) {
276
+ c = w + (c.length > 0 ? " " + c : c);
277
277
  continue;
278
278
  }
279
- let S = !!_, T = o(S ? R.substring(0, _) : R);
279
+ let R = !!N, T = n(R ? E.substring(0, N) : E);
280
280
  if (!T) {
281
- if (!S) {
282
- l = v + (l.length > 0 ? " " + l : l);
281
+ if (!R) {
282
+ c = w + (c.length > 0 ? " " + c : c);
283
283
  continue;
284
284
  }
285
- if (T = o(R), !T) {
286
- l = v + (l.length > 0 ? " " + l : l);
285
+ if (T = n(E), !T) {
286
+ c = w + (c.length > 0 ? " " + c : c);
287
287
  continue;
288
288
  }
289
- S = !1;
289
+ R = !1;
290
290
  }
291
- const $ = j.length === 0 ? "" : j.length === 1 ? j[0] : a(j).join(":"), I = g ? $ + Ce : $, L = I + T;
292
- if (i.indexOf(L) > -1)
291
+ const M = p.length === 0 ? "" : p.length === 1 ? p[0] : a(p).join(":"), F = y ? M + Te : M, G = F + T;
292
+ if (i.indexOf(G) > -1)
293
293
  continue;
294
- i.push(L);
295
- const C = s(T, S);
296
- for (let N = 0; N < C.length; ++N) {
297
- const D = C[N];
298
- i.push(I + D);
294
+ i.push(G);
295
+ const V = s(T, R);
296
+ for (let A = 0; A < V.length; ++A) {
297
+ const U = V[A];
298
+ i.push(F + U);
299
299
  }
300
- l = v + (l.length > 0 ? " " + l : l);
300
+ c = w + (c.length > 0 ? " " + c : c);
301
301
  }
302
- return l;
303
- }, Lt = (...e) => {
304
- let r = 0, n, o, s = "";
302
+ return c;
303
+ }, Ft = (...e) => {
304
+ let r = 0, o, n, s = "";
305
305
  for (; r < e.length; )
306
- (n = e[r++]) && (o = ot(n)) && (s && (s += " "), s += o);
306
+ (o = e[r++]) && (n = ot(o)) && (s && (s += " "), s += n);
307
307
  return s;
308
308
  }, ot = (e) => {
309
309
  if (typeof e == "string")
310
310
  return e;
311
- let r, n = "";
312
- for (let o = 0; o < e.length; o++)
313
- e[o] && (r = ot(e[o])) && (n && (n += " "), n += r);
314
- return n;
315
- }, Ft = (e, ...r) => {
316
- let n, o, s, a;
317
- const i = (l) => {
318
- const f = r.reduce((v, k) => k(v), e());
319
- return n = It(f), o = n.cache.get, s = n.cache.set, a = u, u(l);
320
- }, u = (l) => {
321
- const f = o(l);
311
+ let r, o = "";
312
+ for (let n = 0; n < e.length; n++)
313
+ e[n] && (r = ot(e[n])) && (o && (o += " "), o += r);
314
+ return o;
315
+ }, Gt = (e, ...r) => {
316
+ let o, n, s, a;
317
+ const i = (c) => {
318
+ const f = r.reduce((w, m) => m(w), e());
319
+ return o = Dt(f), n = o.cache.get, s = o.cache.set, a = u, u(c);
320
+ }, u = (c) => {
321
+ const f = n(c);
322
322
  if (f)
323
323
  return f;
324
- const v = Mt(l, n);
325
- return s(l, v), v;
324
+ const w = Lt(c, o);
325
+ return s(c, w), w;
326
326
  };
327
- return a = i, (...l) => a(Lt(...l));
328
- }, Gt = [], A = (e) => {
329
- const r = (n) => n[e] || Gt;
327
+ return a = i, (...c) => a(Ft(...c));
328
+ }, Bt = [], $ = (e) => {
329
+ const r = (o) => o[e] || Bt;
330
330
  return r.isThemeGetter = !0, r;
331
- }, nt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, st = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Bt = /^\d+\/\d+$/, Ut = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Vt = /\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)/, Ht = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, se = (e) => Bt.test(e), E = (e) => !!e && !Number.isNaN(Number(e)), ee = (e) => !!e && Number.isInteger(Number(e)), Ee = (e) => e.endsWith("%") && E(e.slice(0, -1)), J = (e) => Ut.test(e), Jt = () => !0, Xt = (e) => (
331
+ }, nt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, st = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Vt = /^\d+\/\d+$/, Ut = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Wt = /\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$/, Yt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ht = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Jt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ie = (e) => Vt.test(e), _ = (e) => !!e && !Number.isNaN(Number(e)), ne = (e) => !!e && Number.isInteger(Number(e)), Ee = (e) => e.endsWith("%") && _(e.slice(0, -1)), Z = (e) => Ut.test(e), Xt = () => !0, qt = (e) => (
332
332
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
333
333
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
334
334
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
335
- Vt.test(e) && !Wt.test(e)
336
- ), at = () => !1, qt = (e) => Yt.test(e), Zt = (e) => Ht.test(e), Kt = (e) => !m(e) && !p(e), Qt = (e) => de(e, ct, at), m = (e) => nt.test(e), re = (e) => de(e, dt, Xt), Re = (e) => de(e, nr, E), Ie = (e) => de(e, it, at), er = (e) => de(e, lt, Zt), he = (e) => de(e, ut, qt), p = (e) => st.test(e), fe = (e) => ue(e, dt), tr = (e) => ue(e, sr), De = (e) => ue(e, it), rr = (e) => ue(e, ct), or = (e) => ue(e, lt), xe = (e) => ue(e, ut, !0), de = (e, r, n) => {
337
- const o = nt.exec(e);
338
- return o ? o[1] ? r(o[1]) : n(o[2]) : !1;
339
- }, ue = (e, r, n = !1) => {
340
- const o = st.exec(e);
341
- return o ? o[1] ? r(o[1]) : n : !1;
342
- }, it = (e) => e === "position" || e === "percentage", lt = (e) => e === "image" || e === "url", ct = (e) => e === "length" || e === "size" || e === "bg-size", dt = (e) => e === "length", nr = (e) => e === "number", sr = (e) => e === "family-name", ut = (e) => e === "shadow", ar = () => {
343
- const e = A("color"), r = A("font"), n = A("text"), o = A("font-weight"), s = A("tracking"), a = A("leading"), i = A("breakpoint"), u = A("container"), l = A("spacing"), f = A("radius"), v = A("shadow"), k = A("inset-shadow"), j = A("text-shadow"), g = A("drop-shadow"), R = A("blur"), _ = A("perspective"), S = A("aspect"), T = A("ease"), $ = A("animate"), I = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], L = () => [
335
+ Wt.test(e) && !Yt.test(e)
336
+ ), at = () => !1, Zt = (e) => Ht.test(e), Kt = (e) => Jt.test(e), Qt = (e) => !g(e) && !b(e), er = (e) => de(e, ct, at), g = (e) => nt.test(e), ae = (e) => de(e, dt, qt), Re = (e) => de(e, sr, _), De = (e) => de(e, it, at), tr = (e) => de(e, lt, Kt), he = (e) => de(e, ut, Zt), b = (e) => st.test(e), fe = (e) => ue(e, dt), rr = (e) => ue(e, ar), Me = (e) => ue(e, it), or = (e) => ue(e, ct), nr = (e) => ue(e, lt), xe = (e) => ue(e, ut, !0), de = (e, r, o) => {
337
+ const n = nt.exec(e);
338
+ return n ? n[1] ? r(n[1]) : o(n[2]) : !1;
339
+ }, ue = (e, r, o = !1) => {
340
+ const n = st.exec(e);
341
+ return n ? n[1] ? r(n[1]) : o : !1;
342
+ }, it = (e) => e === "position" || e === "percentage", lt = (e) => e === "image" || e === "url", ct = (e) => e === "length" || e === "size" || e === "bg-size", dt = (e) => e === "length", sr = (e) => e === "number", ar = (e) => e === "family-name", ut = (e) => e === "shadow", ir = () => {
343
+ const e = $("color"), r = $("font"), o = $("text"), n = $("font-weight"), s = $("tracking"), a = $("leading"), i = $("breakpoint"), u = $("container"), c = $("spacing"), f = $("radius"), w = $("shadow"), m = $("inset-shadow"), p = $("text-shadow"), y = $("drop-shadow"), E = $("blur"), N = $("perspective"), R = $("aspect"), T = $("ease"), M = $("animate"), F = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], G = () => [
344
344
  "center",
345
345
  "top",
346
346
  "bottom",
@@ -358,51 +358,51 @@ const wt = (e, r) => {
358
358
  "bottom-left",
359
359
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
360
360
  "left-bottom"
361
- ], C = () => [...L(), p, m], N = () => ["auto", "hidden", "clip", "visible", "scroll"], D = () => ["auto", "contain", "none"], w = () => [p, m, l], O = () => [se, "full", "auto", ...w()], oe = () => [ee, "none", "subgrid", p, m], ne = () => ["auto", {
362
- span: ["full", ee, p, m]
363
- }, ee, p, m], V = () => [ee, "auto", p, m], q = () => ["auto", "min", "max", "fr", p, m], te = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], F = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], M = () => ["auto", ...w()], B = () => [se, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...w()], x = () => [e, p, m], Z = () => [...L(), De, Ie, {
364
- position: [p, m]
365
- }], K = () => ["no-repeat", {
361
+ ], V = () => [...G(), b, g], A = () => ["auto", "hidden", "clip", "visible", "scroll"], U = () => ["auto", "contain", "none"], j = () => [b, g, c], I = () => [ie, "full", "auto", ...j()], ee = () => [ne, "none", "subgrid", b, g], se = () => ["auto", {
362
+ span: ["full", ne, b, g]
363
+ }, ne, b, g], S = () => [ne, "auto", b, g], z = () => ["auto", "min", "max", "fr", b, g], D = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], O = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], W = () => ["auto", ...j()], Y = () => [ie, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...j()], v = () => [e, b, g], te = () => [...G(), Me, De, {
364
+ position: [b, g]
365
+ }], re = () => ["no-repeat", {
366
366
  repeat: ["", "x", "y", "space", "round"]
367
- }], t = () => ["auto", "cover", "contain", rr, Qt, {
368
- size: [p, m]
369
- }], c = () => [Ee, fe, re], b = () => [
367
+ }], t = () => ["auto", "cover", "contain", or, er, {
368
+ size: [b, g]
369
+ }], d = () => [Ee, fe, ae], h = () => [
370
370
  // Deprecated since Tailwind CSS v4.0.0
371
371
  "",
372
372
  "none",
373
373
  "full",
374
374
  f,
375
- p,
376
- m
377
- ], y = () => ["", E, fe, re], U = () => ["solid", "dashed", "dotted", "double"], H = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], h = () => [E, Ee, De, Ie], z = () => [
375
+ b,
376
+ g
377
+ ], k = () => ["", _, fe, ae], H = () => ["solid", "dashed", "dotted", "double"], q = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], x = () => [_, Ee, Me, De], B = () => [
378
378
  // Deprecated since Tailwind CSS v4.0.0
379
379
  "",
380
380
  "none",
381
- R,
382
- p,
383
- m
384
- ], W = () => ["none", E, p, m], Q = () => ["none", E, p, m], je = () => [E, p, m], ge = () => [se, "full", ...w()];
381
+ E,
382
+ b,
383
+ g
384
+ ], X = () => ["none", _, b, g], oe = () => ["none", _, b, g], je = () => [_, b, g], be = () => [ie, "full", ...j()];
385
385
  return {
386
386
  cacheSize: 500,
387
387
  theme: {
388
388
  animate: ["spin", "ping", "pulse", "bounce"],
389
389
  aspect: ["video"],
390
- blur: [J],
391
- breakpoint: [J],
392
- color: [Jt],
393
- container: [J],
394
- "drop-shadow": [J],
390
+ blur: [Z],
391
+ breakpoint: [Z],
392
+ color: [Xt],
393
+ container: [Z],
394
+ "drop-shadow": [Z],
395
395
  ease: ["in", "out", "in-out"],
396
- font: [Kt],
396
+ font: [Qt],
397
397
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
398
- "inset-shadow": [J],
398
+ "inset-shadow": [Z],
399
399
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
400
400
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
401
- radius: [J],
402
- shadow: [J],
403
- spacing: ["px", E],
404
- text: [J],
405
- "text-shadow": [J],
401
+ radius: [Z],
402
+ shadow: [Z],
403
+ spacing: ["px", _],
404
+ text: [Z],
405
+ "text-shadow": [Z],
406
406
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
407
407
  },
408
408
  classGroups: {
@@ -414,7 +414,7 @@ const wt = (e, r) => {
414
414
  * @see https://tailwindcss.com/docs/aspect-ratio
415
415
  */
416
416
  aspect: [{
417
- aspect: ["auto", "square", se, m, p, S]
417
+ aspect: ["auto", "square", ie, g, b, R]
418
418
  }],
419
419
  /**
420
420
  * Container
@@ -427,21 +427,21 @@ const wt = (e, r) => {
427
427
  * @see https://tailwindcss.com/docs/columns
428
428
  */
429
429
  columns: [{
430
- columns: [E, m, p, u]
430
+ columns: [_, g, b, u]
431
431
  }],
432
432
  /**
433
433
  * Break After
434
434
  * @see https://tailwindcss.com/docs/break-after
435
435
  */
436
436
  "break-after": [{
437
- "break-after": I()
437
+ "break-after": F()
438
438
  }],
439
439
  /**
440
440
  * Break Before
441
441
  * @see https://tailwindcss.com/docs/break-before
442
442
  */
443
443
  "break-before": [{
444
- "break-before": I()
444
+ "break-before": F()
445
445
  }],
446
446
  /**
447
447
  * Break Inside
@@ -505,49 +505,49 @@ const wt = (e, r) => {
505
505
  * @see https://tailwindcss.com/docs/object-position
506
506
  */
507
507
  "object-position": [{
508
- object: C()
508
+ object: V()
509
509
  }],
510
510
  /**
511
511
  * Overflow
512
512
  * @see https://tailwindcss.com/docs/overflow
513
513
  */
514
514
  overflow: [{
515
- overflow: N()
515
+ overflow: A()
516
516
  }],
517
517
  /**
518
518
  * Overflow X
519
519
  * @see https://tailwindcss.com/docs/overflow
520
520
  */
521
521
  "overflow-x": [{
522
- "overflow-x": N()
522
+ "overflow-x": A()
523
523
  }],
524
524
  /**
525
525
  * Overflow Y
526
526
  * @see https://tailwindcss.com/docs/overflow
527
527
  */
528
528
  "overflow-y": [{
529
- "overflow-y": N()
529
+ "overflow-y": A()
530
530
  }],
531
531
  /**
532
532
  * Overscroll Behavior
533
533
  * @see https://tailwindcss.com/docs/overscroll-behavior
534
534
  */
535
535
  overscroll: [{
536
- overscroll: D()
536
+ overscroll: U()
537
537
  }],
538
538
  /**
539
539
  * Overscroll Behavior X
540
540
  * @see https://tailwindcss.com/docs/overscroll-behavior
541
541
  */
542
542
  "overscroll-x": [{
543
- "overscroll-x": D()
543
+ "overscroll-x": U()
544
544
  }],
545
545
  /**
546
546
  * Overscroll Behavior Y
547
547
  * @see https://tailwindcss.com/docs/overscroll-behavior
548
548
  */
549
549
  "overscroll-y": [{
550
- "overscroll-y": D()
550
+ "overscroll-y": U()
551
551
  }],
552
552
  /**
553
553
  * Position
@@ -559,63 +559,63 @@ const wt = (e, r) => {
559
559
  * @see https://tailwindcss.com/docs/top-right-bottom-left
560
560
  */
561
561
  inset: [{
562
- inset: O()
562
+ inset: I()
563
563
  }],
564
564
  /**
565
565
  * Right / Left
566
566
  * @see https://tailwindcss.com/docs/top-right-bottom-left
567
567
  */
568
568
  "inset-x": [{
569
- "inset-x": O()
569
+ "inset-x": I()
570
570
  }],
571
571
  /**
572
572
  * Top / Bottom
573
573
  * @see https://tailwindcss.com/docs/top-right-bottom-left
574
574
  */
575
575
  "inset-y": [{
576
- "inset-y": O()
576
+ "inset-y": I()
577
577
  }],
578
578
  /**
579
579
  * Start
580
580
  * @see https://tailwindcss.com/docs/top-right-bottom-left
581
581
  */
582
582
  start: [{
583
- start: O()
583
+ start: I()
584
584
  }],
585
585
  /**
586
586
  * End
587
587
  * @see https://tailwindcss.com/docs/top-right-bottom-left
588
588
  */
589
589
  end: [{
590
- end: O()
590
+ end: I()
591
591
  }],
592
592
  /**
593
593
  * Top
594
594
  * @see https://tailwindcss.com/docs/top-right-bottom-left
595
595
  */
596
596
  top: [{
597
- top: O()
597
+ top: I()
598
598
  }],
599
599
  /**
600
600
  * Right
601
601
  * @see https://tailwindcss.com/docs/top-right-bottom-left
602
602
  */
603
603
  right: [{
604
- right: O()
604
+ right: I()
605
605
  }],
606
606
  /**
607
607
  * Bottom
608
608
  * @see https://tailwindcss.com/docs/top-right-bottom-left
609
609
  */
610
610
  bottom: [{
611
- bottom: O()
611
+ bottom: I()
612
612
  }],
613
613
  /**
614
614
  * Left
615
615
  * @see https://tailwindcss.com/docs/top-right-bottom-left
616
616
  */
617
617
  left: [{
618
- left: O()
618
+ left: I()
619
619
  }],
620
620
  /**
621
621
  * Visibility
@@ -627,7 +627,7 @@ const wt = (e, r) => {
627
627
  * @see https://tailwindcss.com/docs/z-index
628
628
  */
629
629
  z: [{
630
- z: [ee, "auto", p, m]
630
+ z: [ne, "auto", b, g]
631
631
  }],
632
632
  // ------------------------
633
633
  // --- Flexbox and Grid ---
@@ -637,7 +637,7 @@ const wt = (e, r) => {
637
637
  * @see https://tailwindcss.com/docs/flex-basis
638
638
  */
639
639
  basis: [{
640
- basis: [se, "full", "auto", u, ...w()]
640
+ basis: [ie, "full", "auto", u, ...j()]
641
641
  }],
642
642
  /**
643
643
  * Flex Direction
@@ -658,84 +658,84 @@ const wt = (e, r) => {
658
658
  * @see https://tailwindcss.com/docs/flex
659
659
  */
660
660
  flex: [{
661
- flex: [E, se, "auto", "initial", "none", m]
661
+ flex: [_, ie, "auto", "initial", "none", g]
662
662
  }],
663
663
  /**
664
664
  * Flex Grow
665
665
  * @see https://tailwindcss.com/docs/flex-grow
666
666
  */
667
667
  grow: [{
668
- grow: ["", E, p, m]
668
+ grow: ["", _, b, g]
669
669
  }],
670
670
  /**
671
671
  * Flex Shrink
672
672
  * @see https://tailwindcss.com/docs/flex-shrink
673
673
  */
674
674
  shrink: [{
675
- shrink: ["", E, p, m]
675
+ shrink: ["", _, b, g]
676
676
  }],
677
677
  /**
678
678
  * Order
679
679
  * @see https://tailwindcss.com/docs/order
680
680
  */
681
681
  order: [{
682
- order: [ee, "first", "last", "none", p, m]
682
+ order: [ne, "first", "last", "none", b, g]
683
683
  }],
684
684
  /**
685
685
  * Grid Template Columns
686
686
  * @see https://tailwindcss.com/docs/grid-template-columns
687
687
  */
688
688
  "grid-cols": [{
689
- "grid-cols": oe()
689
+ "grid-cols": ee()
690
690
  }],
691
691
  /**
692
692
  * Grid Column Start / End
693
693
  * @see https://tailwindcss.com/docs/grid-column
694
694
  */
695
695
  "col-start-end": [{
696
- col: ne()
696
+ col: se()
697
697
  }],
698
698
  /**
699
699
  * Grid Column Start
700
700
  * @see https://tailwindcss.com/docs/grid-column
701
701
  */
702
702
  "col-start": [{
703
- "col-start": V()
703
+ "col-start": S()
704
704
  }],
705
705
  /**
706
706
  * Grid Column End
707
707
  * @see https://tailwindcss.com/docs/grid-column
708
708
  */
709
709
  "col-end": [{
710
- "col-end": V()
710
+ "col-end": S()
711
711
  }],
712
712
  /**
713
713
  * Grid Template Rows
714
714
  * @see https://tailwindcss.com/docs/grid-template-rows
715
715
  */
716
716
  "grid-rows": [{
717
- "grid-rows": oe()
717
+ "grid-rows": ee()
718
718
  }],
719
719
  /**
720
720
  * Grid Row Start / End
721
721
  * @see https://tailwindcss.com/docs/grid-row
722
722
  */
723
723
  "row-start-end": [{
724
- row: ne()
724
+ row: se()
725
725
  }],
726
726
  /**
727
727
  * Grid Row Start
728
728
  * @see https://tailwindcss.com/docs/grid-row
729
729
  */
730
730
  "row-start": [{
731
- "row-start": V()
731
+ "row-start": S()
732
732
  }],
733
733
  /**
734
734
  * Grid Row End
735
735
  * @see https://tailwindcss.com/docs/grid-row
736
736
  */
737
737
  "row-end": [{
738
- "row-end": V()
738
+ "row-end": S()
739
739
  }],
740
740
  /**
741
741
  * Grid Auto Flow
@@ -749,70 +749,70 @@ const wt = (e, r) => {
749
749
  * @see https://tailwindcss.com/docs/grid-auto-columns
750
750
  */
751
751
  "auto-cols": [{
752
- "auto-cols": q()
752
+ "auto-cols": z()
753
753
  }],
754
754
  /**
755
755
  * Grid Auto Rows
756
756
  * @see https://tailwindcss.com/docs/grid-auto-rows
757
757
  */
758
758
  "auto-rows": [{
759
- "auto-rows": q()
759
+ "auto-rows": z()
760
760
  }],
761
761
  /**
762
762
  * Gap
763
763
  * @see https://tailwindcss.com/docs/gap
764
764
  */
765
765
  gap: [{
766
- gap: w()
766
+ gap: j()
767
767
  }],
768
768
  /**
769
769
  * Gap X
770
770
  * @see https://tailwindcss.com/docs/gap
771
771
  */
772
772
  "gap-x": [{
773
- "gap-x": w()
773
+ "gap-x": j()
774
774
  }],
775
775
  /**
776
776
  * Gap Y
777
777
  * @see https://tailwindcss.com/docs/gap
778
778
  */
779
779
  "gap-y": [{
780
- "gap-y": w()
780
+ "gap-y": j()
781
781
  }],
782
782
  /**
783
783
  * Justify Content
784
784
  * @see https://tailwindcss.com/docs/justify-content
785
785
  */
786
786
  "justify-content": [{
787
- justify: [...te(), "normal"]
787
+ justify: [...D(), "normal"]
788
788
  }],
789
789
  /**
790
790
  * Justify Items
791
791
  * @see https://tailwindcss.com/docs/justify-items
792
792
  */
793
793
  "justify-items": [{
794
- "justify-items": [...F(), "normal"]
794
+ "justify-items": [...O(), "normal"]
795
795
  }],
796
796
  /**
797
797
  * Justify Self
798
798
  * @see https://tailwindcss.com/docs/justify-self
799
799
  */
800
800
  "justify-self": [{
801
- "justify-self": ["auto", ...F()]
801
+ "justify-self": ["auto", ...O()]
802
802
  }],
803
803
  /**
804
804
  * Align Content
805
805
  * @see https://tailwindcss.com/docs/align-content
806
806
  */
807
807
  "align-content": [{
808
- content: ["normal", ...te()]
808
+ content: ["normal", ...D()]
809
809
  }],
810
810
  /**
811
811
  * Align Items
812
812
  * @see https://tailwindcss.com/docs/align-items
813
813
  */
814
814
  "align-items": [{
815
- items: [...F(), {
815
+ items: [...O(), {
816
816
  baseline: ["", "last"]
817
817
  }]
818
818
  }],
@@ -821,7 +821,7 @@ const wt = (e, r) => {
821
821
  * @see https://tailwindcss.com/docs/align-self
822
822
  */
823
823
  "align-self": [{
824
- self: ["auto", ...F(), {
824
+ self: ["auto", ...O(), {
825
825
  baseline: ["", "last"]
826
826
  }]
827
827
  }],
@@ -830,21 +830,21 @@ const wt = (e, r) => {
830
830
  * @see https://tailwindcss.com/docs/place-content
831
831
  */
832
832
  "place-content": [{
833
- "place-content": te()
833
+ "place-content": D()
834
834
  }],
835
835
  /**
836
836
  * Place Items
837
837
  * @see https://tailwindcss.com/docs/place-items
838
838
  */
839
839
  "place-items": [{
840
- "place-items": [...F(), "baseline"]
840
+ "place-items": [...O(), "baseline"]
841
841
  }],
842
842
  /**
843
843
  * Place Self
844
844
  * @see https://tailwindcss.com/docs/place-self
845
845
  */
846
846
  "place-self": [{
847
- "place-self": ["auto", ...F()]
847
+ "place-self": ["auto", ...O()]
848
848
  }],
849
849
  // Spacing
850
850
  /**
@@ -852,133 +852,133 @@ const wt = (e, r) => {
852
852
  * @see https://tailwindcss.com/docs/padding
853
853
  */
854
854
  p: [{
855
- p: w()
855
+ p: j()
856
856
  }],
857
857
  /**
858
858
  * Padding X
859
859
  * @see https://tailwindcss.com/docs/padding
860
860
  */
861
861
  px: [{
862
- px: w()
862
+ px: j()
863
863
  }],
864
864
  /**
865
865
  * Padding Y
866
866
  * @see https://tailwindcss.com/docs/padding
867
867
  */
868
868
  py: [{
869
- py: w()
869
+ py: j()
870
870
  }],
871
871
  /**
872
872
  * Padding Start
873
873
  * @see https://tailwindcss.com/docs/padding
874
874
  */
875
875
  ps: [{
876
- ps: w()
876
+ ps: j()
877
877
  }],
878
878
  /**
879
879
  * Padding End
880
880
  * @see https://tailwindcss.com/docs/padding
881
881
  */
882
882
  pe: [{
883
- pe: w()
883
+ pe: j()
884
884
  }],
885
885
  /**
886
886
  * Padding Top
887
887
  * @see https://tailwindcss.com/docs/padding
888
888
  */
889
889
  pt: [{
890
- pt: w()
890
+ pt: j()
891
891
  }],
892
892
  /**
893
893
  * Padding Right
894
894
  * @see https://tailwindcss.com/docs/padding
895
895
  */
896
896
  pr: [{
897
- pr: w()
897
+ pr: j()
898
898
  }],
899
899
  /**
900
900
  * Padding Bottom
901
901
  * @see https://tailwindcss.com/docs/padding
902
902
  */
903
903
  pb: [{
904
- pb: w()
904
+ pb: j()
905
905
  }],
906
906
  /**
907
907
  * Padding Left
908
908
  * @see https://tailwindcss.com/docs/padding
909
909
  */
910
910
  pl: [{
911
- pl: w()
911
+ pl: j()
912
912
  }],
913
913
  /**
914
914
  * Margin
915
915
  * @see https://tailwindcss.com/docs/margin
916
916
  */
917
917
  m: [{
918
- m: M()
918
+ m: W()
919
919
  }],
920
920
  /**
921
921
  * Margin X
922
922
  * @see https://tailwindcss.com/docs/margin
923
923
  */
924
924
  mx: [{
925
- mx: M()
925
+ mx: W()
926
926
  }],
927
927
  /**
928
928
  * Margin Y
929
929
  * @see https://tailwindcss.com/docs/margin
930
930
  */
931
931
  my: [{
932
- my: M()
932
+ my: W()
933
933
  }],
934
934
  /**
935
935
  * Margin Start
936
936
  * @see https://tailwindcss.com/docs/margin
937
937
  */
938
938
  ms: [{
939
- ms: M()
939
+ ms: W()
940
940
  }],
941
941
  /**
942
942
  * Margin End
943
943
  * @see https://tailwindcss.com/docs/margin
944
944
  */
945
945
  me: [{
946
- me: M()
946
+ me: W()
947
947
  }],
948
948
  /**
949
949
  * Margin Top
950
950
  * @see https://tailwindcss.com/docs/margin
951
951
  */
952
952
  mt: [{
953
- mt: M()
953
+ mt: W()
954
954
  }],
955
955
  /**
956
956
  * Margin Right
957
957
  * @see https://tailwindcss.com/docs/margin
958
958
  */
959
959
  mr: [{
960
- mr: M()
960
+ mr: W()
961
961
  }],
962
962
  /**
963
963
  * Margin Bottom
964
964
  * @see https://tailwindcss.com/docs/margin
965
965
  */
966
966
  mb: [{
967
- mb: M()
967
+ mb: W()
968
968
  }],
969
969
  /**
970
970
  * Margin Left
971
971
  * @see https://tailwindcss.com/docs/margin
972
972
  */
973
973
  ml: [{
974
- ml: M()
974
+ ml: W()
975
975
  }],
976
976
  /**
977
977
  * Space Between X
978
978
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
979
979
  */
980
980
  "space-x": [{
981
- "space-x": w()
981
+ "space-x": j()
982
982
  }],
983
983
  /**
984
984
  * Space Between X Reverse
@@ -990,7 +990,7 @@ const wt = (e, r) => {
990
990
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
991
991
  */
992
992
  "space-y": [{
993
- "space-y": w()
993
+ "space-y": j()
994
994
  }],
995
995
  /**
996
996
  * Space Between Y Reverse
@@ -1005,14 +1005,14 @@ const wt = (e, r) => {
1005
1005
  * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
1006
1006
  */
1007
1007
  size: [{
1008
- size: B()
1008
+ size: Y()
1009
1009
  }],
1010
1010
  /**
1011
1011
  * Width
1012
1012
  * @see https://tailwindcss.com/docs/width
1013
1013
  */
1014
1014
  w: [{
1015
- w: [u, "screen", ...B()]
1015
+ w: [u, "screen", ...Y()]
1016
1016
  }],
1017
1017
  /**
1018
1018
  * Min-Width
@@ -1024,7 +1024,7 @@ const wt = (e, r) => {
1024
1024
  "screen",
1025
1025
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1026
1026
  "none",
1027
- ...B()
1027
+ ...Y()
1028
1028
  ]
1029
1029
  }],
1030
1030
  /**
@@ -1042,7 +1042,7 @@ const wt = (e, r) => {
1042
1042
  {
1043
1043
  screen: [i]
1044
1044
  },
1045
- ...B()
1045
+ ...Y()
1046
1046
  ]
1047
1047
  }],
1048
1048
  /**
@@ -1050,21 +1050,21 @@ const wt = (e, r) => {
1050
1050
  * @see https://tailwindcss.com/docs/height
1051
1051
  */
1052
1052
  h: [{
1053
- h: ["screen", "lh", ...B()]
1053
+ h: ["screen", "lh", ...Y()]
1054
1054
  }],
1055
1055
  /**
1056
1056
  * Min-Height
1057
1057
  * @see https://tailwindcss.com/docs/min-height
1058
1058
  */
1059
1059
  "min-h": [{
1060
- "min-h": ["screen", "lh", "none", ...B()]
1060
+ "min-h": ["screen", "lh", "none", ...Y()]
1061
1061
  }],
1062
1062
  /**
1063
1063
  * Max-Height
1064
1064
  * @see https://tailwindcss.com/docs/max-height
1065
1065
  */
1066
1066
  "max-h": [{
1067
- "max-h": ["screen", "lh", ...B()]
1067
+ "max-h": ["screen", "lh", ...Y()]
1068
1068
  }],
1069
1069
  // ------------------
1070
1070
  // --- Typography ---
@@ -1074,7 +1074,7 @@ const wt = (e, r) => {
1074
1074
  * @see https://tailwindcss.com/docs/font-size
1075
1075
  */
1076
1076
  "font-size": [{
1077
- text: ["base", n, fe, re]
1077
+ text: ["base", o, fe, ae]
1078
1078
  }],
1079
1079
  /**
1080
1080
  * Font Smoothing
@@ -1091,21 +1091,21 @@ const wt = (e, r) => {
1091
1091
  * @see https://tailwindcss.com/docs/font-weight
1092
1092
  */
1093
1093
  "font-weight": [{
1094
- font: [o, p, Re]
1094
+ font: [n, b, Re]
1095
1095
  }],
1096
1096
  /**
1097
1097
  * Font Stretch
1098
1098
  * @see https://tailwindcss.com/docs/font-stretch
1099
1099
  */
1100
1100
  "font-stretch": [{
1101
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Ee, m]
1101
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Ee, g]
1102
1102
  }],
1103
1103
  /**
1104
1104
  * Font Family
1105
1105
  * @see https://tailwindcss.com/docs/font-family
1106
1106
  */
1107
1107
  "font-family": [{
1108
- font: [tr, m, r]
1108
+ font: [rr, g, r]
1109
1109
  }],
1110
1110
  /**
1111
1111
  * Font Variant Numeric
@@ -1142,14 +1142,14 @@ const wt = (e, r) => {
1142
1142
  * @see https://tailwindcss.com/docs/letter-spacing
1143
1143
  */
1144
1144
  tracking: [{
1145
- tracking: [s, p, m]
1145
+ tracking: [s, b, g]
1146
1146
  }],
1147
1147
  /**
1148
1148
  * Line Clamp
1149
1149
  * @see https://tailwindcss.com/docs/line-clamp
1150
1150
  */
1151
1151
  "line-clamp": [{
1152
- "line-clamp": [E, "none", p, Re]
1152
+ "line-clamp": [_, "none", b, Re]
1153
1153
  }],
1154
1154
  /**
1155
1155
  * Line Height
@@ -1159,7 +1159,7 @@ const wt = (e, r) => {
1159
1159
  leading: [
1160
1160
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1161
1161
  a,
1162
- ...w()
1162
+ ...j()
1163
1163
  ]
1164
1164
  }],
1165
1165
  /**
@@ -1167,7 +1167,7 @@ const wt = (e, r) => {
1167
1167
  * @see https://tailwindcss.com/docs/list-style-image
1168
1168
  */
1169
1169
  "list-image": [{
1170
- "list-image": ["none", p, m]
1170
+ "list-image": ["none", b, g]
1171
1171
  }],
1172
1172
  /**
1173
1173
  * List Style Position
@@ -1181,7 +1181,7 @@ const wt = (e, r) => {
1181
1181
  * @see https://tailwindcss.com/docs/list-style-type
1182
1182
  */
1183
1183
  "list-style-type": [{
1184
- list: ["disc", "decimal", "none", p, m]
1184
+ list: ["disc", "decimal", "none", b, g]
1185
1185
  }],
1186
1186
  /**
1187
1187
  * Text Alignment
@@ -1196,14 +1196,14 @@ const wt = (e, r) => {
1196
1196
  * @see https://v3.tailwindcss.com/docs/placeholder-color
1197
1197
  */
1198
1198
  "placeholder-color": [{
1199
- placeholder: x()
1199
+ placeholder: v()
1200
1200
  }],
1201
1201
  /**
1202
1202
  * Text Color
1203
1203
  * @see https://tailwindcss.com/docs/text-color
1204
1204
  */
1205
1205
  "text-color": [{
1206
- text: x()
1206
+ text: v()
1207
1207
  }],
1208
1208
  /**
1209
1209
  * Text Decoration
@@ -1215,28 +1215,28 @@ const wt = (e, r) => {
1215
1215
  * @see https://tailwindcss.com/docs/text-decoration-style
1216
1216
  */
1217
1217
  "text-decoration-style": [{
1218
- decoration: [...U(), "wavy"]
1218
+ decoration: [...H(), "wavy"]
1219
1219
  }],
1220
1220
  /**
1221
1221
  * Text Decoration Thickness
1222
1222
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1223
1223
  */
1224
1224
  "text-decoration-thickness": [{
1225
- decoration: [E, "from-font", "auto", p, re]
1225
+ decoration: [_, "from-font", "auto", b, ae]
1226
1226
  }],
1227
1227
  /**
1228
1228
  * Text Decoration Color
1229
1229
  * @see https://tailwindcss.com/docs/text-decoration-color
1230
1230
  */
1231
1231
  "text-decoration-color": [{
1232
- decoration: x()
1232
+ decoration: v()
1233
1233
  }],
1234
1234
  /**
1235
1235
  * Text Underline Offset
1236
1236
  * @see https://tailwindcss.com/docs/text-underline-offset
1237
1237
  */
1238
1238
  "underline-offset": [{
1239
- "underline-offset": [E, "auto", p, m]
1239
+ "underline-offset": [_, "auto", b, g]
1240
1240
  }],
1241
1241
  /**
1242
1242
  * Text Transform
@@ -1260,14 +1260,14 @@ const wt = (e, r) => {
1260
1260
  * @see https://tailwindcss.com/docs/text-indent
1261
1261
  */
1262
1262
  indent: [{
1263
- indent: w()
1263
+ indent: j()
1264
1264
  }],
1265
1265
  /**
1266
1266
  * Vertical Alignment
1267
1267
  * @see https://tailwindcss.com/docs/vertical-align
1268
1268
  */
1269
1269
  "vertical-align": [{
1270
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", p, m]
1270
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", b, g]
1271
1271
  }],
1272
1272
  /**
1273
1273
  * Whitespace
@@ -1302,7 +1302,7 @@ const wt = (e, r) => {
1302
1302
  * @see https://tailwindcss.com/docs/content
1303
1303
  */
1304
1304
  content: [{
1305
- content: ["none", p, m]
1305
+ content: ["none", b, g]
1306
1306
  }],
1307
1307
  // -------------------
1308
1308
  // --- Backgrounds ---
@@ -1333,14 +1333,14 @@ const wt = (e, r) => {
1333
1333
  * @see https://tailwindcss.com/docs/background-position
1334
1334
  */
1335
1335
  "bg-position": [{
1336
- bg: Z()
1336
+ bg: te()
1337
1337
  }],
1338
1338
  /**
1339
1339
  * Background Repeat
1340
1340
  * @see https://tailwindcss.com/docs/background-repeat
1341
1341
  */
1342
1342
  "bg-repeat": [{
1343
- bg: K()
1343
+ bg: re()
1344
1344
  }],
1345
1345
  /**
1346
1346
  * Background Size
@@ -1357,59 +1357,59 @@ const wt = (e, r) => {
1357
1357
  bg: ["none", {
1358
1358
  linear: [{
1359
1359
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1360
- }, ee, p, m],
1361
- radial: ["", p, m],
1362
- conic: [ee, p, m]
1363
- }, or, er]
1360
+ }, ne, b, g],
1361
+ radial: ["", b, g],
1362
+ conic: [ne, b, g]
1363
+ }, nr, tr]
1364
1364
  }],
1365
1365
  /**
1366
1366
  * Background Color
1367
1367
  * @see https://tailwindcss.com/docs/background-color
1368
1368
  */
1369
1369
  "bg-color": [{
1370
- bg: x()
1370
+ bg: v()
1371
1371
  }],
1372
1372
  /**
1373
1373
  * Gradient Color Stops From Position
1374
1374
  * @see https://tailwindcss.com/docs/gradient-color-stops
1375
1375
  */
1376
1376
  "gradient-from-pos": [{
1377
- from: c()
1377
+ from: d()
1378
1378
  }],
1379
1379
  /**
1380
1380
  * Gradient Color Stops Via Position
1381
1381
  * @see https://tailwindcss.com/docs/gradient-color-stops
1382
1382
  */
1383
1383
  "gradient-via-pos": [{
1384
- via: c()
1384
+ via: d()
1385
1385
  }],
1386
1386
  /**
1387
1387
  * Gradient Color Stops To Position
1388
1388
  * @see https://tailwindcss.com/docs/gradient-color-stops
1389
1389
  */
1390
1390
  "gradient-to-pos": [{
1391
- to: c()
1391
+ to: d()
1392
1392
  }],
1393
1393
  /**
1394
1394
  * Gradient Color Stops From
1395
1395
  * @see https://tailwindcss.com/docs/gradient-color-stops
1396
1396
  */
1397
1397
  "gradient-from": [{
1398
- from: x()
1398
+ from: v()
1399
1399
  }],
1400
1400
  /**
1401
1401
  * Gradient Color Stops Via
1402
1402
  * @see https://tailwindcss.com/docs/gradient-color-stops
1403
1403
  */
1404
1404
  "gradient-via": [{
1405
- via: x()
1405
+ via: v()
1406
1406
  }],
1407
1407
  /**
1408
1408
  * Gradient Color Stops To
1409
1409
  * @see https://tailwindcss.com/docs/gradient-color-stops
1410
1410
  */
1411
1411
  "gradient-to": [{
1412
- to: x()
1412
+ to: v()
1413
1413
  }],
1414
1414
  // ---------------
1415
1415
  // --- Borders ---
@@ -1419,175 +1419,175 @@ const wt = (e, r) => {
1419
1419
  * @see https://tailwindcss.com/docs/border-radius
1420
1420
  */
1421
1421
  rounded: [{
1422
- rounded: b()
1422
+ rounded: h()
1423
1423
  }],
1424
1424
  /**
1425
1425
  * Border Radius Start
1426
1426
  * @see https://tailwindcss.com/docs/border-radius
1427
1427
  */
1428
1428
  "rounded-s": [{
1429
- "rounded-s": b()
1429
+ "rounded-s": h()
1430
1430
  }],
1431
1431
  /**
1432
1432
  * Border Radius End
1433
1433
  * @see https://tailwindcss.com/docs/border-radius
1434
1434
  */
1435
1435
  "rounded-e": [{
1436
- "rounded-e": b()
1436
+ "rounded-e": h()
1437
1437
  }],
1438
1438
  /**
1439
1439
  * Border Radius Top
1440
1440
  * @see https://tailwindcss.com/docs/border-radius
1441
1441
  */
1442
1442
  "rounded-t": [{
1443
- "rounded-t": b()
1443
+ "rounded-t": h()
1444
1444
  }],
1445
1445
  /**
1446
1446
  * Border Radius Right
1447
1447
  * @see https://tailwindcss.com/docs/border-radius
1448
1448
  */
1449
1449
  "rounded-r": [{
1450
- "rounded-r": b()
1450
+ "rounded-r": h()
1451
1451
  }],
1452
1452
  /**
1453
1453
  * Border Radius Bottom
1454
1454
  * @see https://tailwindcss.com/docs/border-radius
1455
1455
  */
1456
1456
  "rounded-b": [{
1457
- "rounded-b": b()
1457
+ "rounded-b": h()
1458
1458
  }],
1459
1459
  /**
1460
1460
  * Border Radius Left
1461
1461
  * @see https://tailwindcss.com/docs/border-radius
1462
1462
  */
1463
1463
  "rounded-l": [{
1464
- "rounded-l": b()
1464
+ "rounded-l": h()
1465
1465
  }],
1466
1466
  /**
1467
1467
  * Border Radius Start Start
1468
1468
  * @see https://tailwindcss.com/docs/border-radius
1469
1469
  */
1470
1470
  "rounded-ss": [{
1471
- "rounded-ss": b()
1471
+ "rounded-ss": h()
1472
1472
  }],
1473
1473
  /**
1474
1474
  * Border Radius Start End
1475
1475
  * @see https://tailwindcss.com/docs/border-radius
1476
1476
  */
1477
1477
  "rounded-se": [{
1478
- "rounded-se": b()
1478
+ "rounded-se": h()
1479
1479
  }],
1480
1480
  /**
1481
1481
  * Border Radius End End
1482
1482
  * @see https://tailwindcss.com/docs/border-radius
1483
1483
  */
1484
1484
  "rounded-ee": [{
1485
- "rounded-ee": b()
1485
+ "rounded-ee": h()
1486
1486
  }],
1487
1487
  /**
1488
1488
  * Border Radius End Start
1489
1489
  * @see https://tailwindcss.com/docs/border-radius
1490
1490
  */
1491
1491
  "rounded-es": [{
1492
- "rounded-es": b()
1492
+ "rounded-es": h()
1493
1493
  }],
1494
1494
  /**
1495
1495
  * Border Radius Top Left
1496
1496
  * @see https://tailwindcss.com/docs/border-radius
1497
1497
  */
1498
1498
  "rounded-tl": [{
1499
- "rounded-tl": b()
1499
+ "rounded-tl": h()
1500
1500
  }],
1501
1501
  /**
1502
1502
  * Border Radius Top Right
1503
1503
  * @see https://tailwindcss.com/docs/border-radius
1504
1504
  */
1505
1505
  "rounded-tr": [{
1506
- "rounded-tr": b()
1506
+ "rounded-tr": h()
1507
1507
  }],
1508
1508
  /**
1509
1509
  * Border Radius Bottom Right
1510
1510
  * @see https://tailwindcss.com/docs/border-radius
1511
1511
  */
1512
1512
  "rounded-br": [{
1513
- "rounded-br": b()
1513
+ "rounded-br": h()
1514
1514
  }],
1515
1515
  /**
1516
1516
  * Border Radius Bottom Left
1517
1517
  * @see https://tailwindcss.com/docs/border-radius
1518
1518
  */
1519
1519
  "rounded-bl": [{
1520
- "rounded-bl": b()
1520
+ "rounded-bl": h()
1521
1521
  }],
1522
1522
  /**
1523
1523
  * Border Width
1524
1524
  * @see https://tailwindcss.com/docs/border-width
1525
1525
  */
1526
1526
  "border-w": [{
1527
- border: y()
1527
+ border: k()
1528
1528
  }],
1529
1529
  /**
1530
1530
  * Border Width X
1531
1531
  * @see https://tailwindcss.com/docs/border-width
1532
1532
  */
1533
1533
  "border-w-x": [{
1534
- "border-x": y()
1534
+ "border-x": k()
1535
1535
  }],
1536
1536
  /**
1537
1537
  * Border Width Y
1538
1538
  * @see https://tailwindcss.com/docs/border-width
1539
1539
  */
1540
1540
  "border-w-y": [{
1541
- "border-y": y()
1541
+ "border-y": k()
1542
1542
  }],
1543
1543
  /**
1544
1544
  * Border Width Start
1545
1545
  * @see https://tailwindcss.com/docs/border-width
1546
1546
  */
1547
1547
  "border-w-s": [{
1548
- "border-s": y()
1548
+ "border-s": k()
1549
1549
  }],
1550
1550
  /**
1551
1551
  * Border Width End
1552
1552
  * @see https://tailwindcss.com/docs/border-width
1553
1553
  */
1554
1554
  "border-w-e": [{
1555
- "border-e": y()
1555
+ "border-e": k()
1556
1556
  }],
1557
1557
  /**
1558
1558
  * Border Width Top
1559
1559
  * @see https://tailwindcss.com/docs/border-width
1560
1560
  */
1561
1561
  "border-w-t": [{
1562
- "border-t": y()
1562
+ "border-t": k()
1563
1563
  }],
1564
1564
  /**
1565
1565
  * Border Width Right
1566
1566
  * @see https://tailwindcss.com/docs/border-width
1567
1567
  */
1568
1568
  "border-w-r": [{
1569
- "border-r": y()
1569
+ "border-r": k()
1570
1570
  }],
1571
1571
  /**
1572
1572
  * Border Width Bottom
1573
1573
  * @see https://tailwindcss.com/docs/border-width
1574
1574
  */
1575
1575
  "border-w-b": [{
1576
- "border-b": y()
1576
+ "border-b": k()
1577
1577
  }],
1578
1578
  /**
1579
1579
  * Border Width Left
1580
1580
  * @see https://tailwindcss.com/docs/border-width
1581
1581
  */
1582
1582
  "border-w-l": [{
1583
- "border-l": y()
1583
+ "border-l": k()
1584
1584
  }],
1585
1585
  /**
1586
1586
  * Divide Width X
1587
1587
  * @see https://tailwindcss.com/docs/border-width#between-children
1588
1588
  */
1589
1589
  "divide-x": [{
1590
- "divide-x": y()
1590
+ "divide-x": k()
1591
1591
  }],
1592
1592
  /**
1593
1593
  * Divide Width X Reverse
@@ -1599,7 +1599,7 @@ const wt = (e, r) => {
1599
1599
  * @see https://tailwindcss.com/docs/border-width#between-children
1600
1600
  */
1601
1601
  "divide-y": [{
1602
- "divide-y": y()
1602
+ "divide-y": k()
1603
1603
  }],
1604
1604
  /**
1605
1605
  * Divide Width Y Reverse
@@ -1611,112 +1611,112 @@ const wt = (e, r) => {
1611
1611
  * @see https://tailwindcss.com/docs/border-style
1612
1612
  */
1613
1613
  "border-style": [{
1614
- border: [...U(), "hidden", "none"]
1614
+ border: [...H(), "hidden", "none"]
1615
1615
  }],
1616
1616
  /**
1617
1617
  * Divide Style
1618
1618
  * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1619
1619
  */
1620
1620
  "divide-style": [{
1621
- divide: [...U(), "hidden", "none"]
1621
+ divide: [...H(), "hidden", "none"]
1622
1622
  }],
1623
1623
  /**
1624
1624
  * Border Color
1625
1625
  * @see https://tailwindcss.com/docs/border-color
1626
1626
  */
1627
1627
  "border-color": [{
1628
- border: x()
1628
+ border: v()
1629
1629
  }],
1630
1630
  /**
1631
1631
  * Border Color X
1632
1632
  * @see https://tailwindcss.com/docs/border-color
1633
1633
  */
1634
1634
  "border-color-x": [{
1635
- "border-x": x()
1635
+ "border-x": v()
1636
1636
  }],
1637
1637
  /**
1638
1638
  * Border Color Y
1639
1639
  * @see https://tailwindcss.com/docs/border-color
1640
1640
  */
1641
1641
  "border-color-y": [{
1642
- "border-y": x()
1642
+ "border-y": v()
1643
1643
  }],
1644
1644
  /**
1645
1645
  * Border Color S
1646
1646
  * @see https://tailwindcss.com/docs/border-color
1647
1647
  */
1648
1648
  "border-color-s": [{
1649
- "border-s": x()
1649
+ "border-s": v()
1650
1650
  }],
1651
1651
  /**
1652
1652
  * Border Color E
1653
1653
  * @see https://tailwindcss.com/docs/border-color
1654
1654
  */
1655
1655
  "border-color-e": [{
1656
- "border-e": x()
1656
+ "border-e": v()
1657
1657
  }],
1658
1658
  /**
1659
1659
  * Border Color Top
1660
1660
  * @see https://tailwindcss.com/docs/border-color
1661
1661
  */
1662
1662
  "border-color-t": [{
1663
- "border-t": x()
1663
+ "border-t": v()
1664
1664
  }],
1665
1665
  /**
1666
1666
  * Border Color Right
1667
1667
  * @see https://tailwindcss.com/docs/border-color
1668
1668
  */
1669
1669
  "border-color-r": [{
1670
- "border-r": x()
1670
+ "border-r": v()
1671
1671
  }],
1672
1672
  /**
1673
1673
  * Border Color Bottom
1674
1674
  * @see https://tailwindcss.com/docs/border-color
1675
1675
  */
1676
1676
  "border-color-b": [{
1677
- "border-b": x()
1677
+ "border-b": v()
1678
1678
  }],
1679
1679
  /**
1680
1680
  * Border Color Left
1681
1681
  * @see https://tailwindcss.com/docs/border-color
1682
1682
  */
1683
1683
  "border-color-l": [{
1684
- "border-l": x()
1684
+ "border-l": v()
1685
1685
  }],
1686
1686
  /**
1687
1687
  * Divide Color
1688
1688
  * @see https://tailwindcss.com/docs/divide-color
1689
1689
  */
1690
1690
  "divide-color": [{
1691
- divide: x()
1691
+ divide: v()
1692
1692
  }],
1693
1693
  /**
1694
1694
  * Outline Style
1695
1695
  * @see https://tailwindcss.com/docs/outline-style
1696
1696
  */
1697
1697
  "outline-style": [{
1698
- outline: [...U(), "none", "hidden"]
1698
+ outline: [...H(), "none", "hidden"]
1699
1699
  }],
1700
1700
  /**
1701
1701
  * Outline Offset
1702
1702
  * @see https://tailwindcss.com/docs/outline-offset
1703
1703
  */
1704
1704
  "outline-offset": [{
1705
- "outline-offset": [E, p, m]
1705
+ "outline-offset": [_, b, g]
1706
1706
  }],
1707
1707
  /**
1708
1708
  * Outline Width
1709
1709
  * @see https://tailwindcss.com/docs/outline-width
1710
1710
  */
1711
1711
  "outline-w": [{
1712
- outline: ["", E, fe, re]
1712
+ outline: ["", _, fe, ae]
1713
1713
  }],
1714
1714
  /**
1715
1715
  * Outline Color
1716
1716
  * @see https://tailwindcss.com/docs/outline-color
1717
1717
  */
1718
1718
  "outline-color": [{
1719
- outline: x()
1719
+ outline: v()
1720
1720
  }],
1721
1721
  // ---------------
1722
1722
  // --- Effects ---
@@ -1730,7 +1730,7 @@ const wt = (e, r) => {
1730
1730
  // Deprecated since Tailwind CSS v4.0.0
1731
1731
  "",
1732
1732
  "none",
1733
- v,
1733
+ w,
1734
1734
  xe,
1735
1735
  he
1736
1736
  ]
@@ -1740,28 +1740,28 @@ const wt = (e, r) => {
1740
1740
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
1741
1741
  */
1742
1742
  "shadow-color": [{
1743
- shadow: x()
1743
+ shadow: v()
1744
1744
  }],
1745
1745
  /**
1746
1746
  * Inset Box Shadow
1747
1747
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
1748
1748
  */
1749
1749
  "inset-shadow": [{
1750
- "inset-shadow": ["none", k, xe, he]
1750
+ "inset-shadow": ["none", m, xe, he]
1751
1751
  }],
1752
1752
  /**
1753
1753
  * Inset Box Shadow Color
1754
1754
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
1755
1755
  */
1756
1756
  "inset-shadow-color": [{
1757
- "inset-shadow": x()
1757
+ "inset-shadow": v()
1758
1758
  }],
1759
1759
  /**
1760
1760
  * Ring Width
1761
1761
  * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
1762
1762
  */
1763
1763
  "ring-w": [{
1764
- ring: y()
1764
+ ring: k()
1765
1765
  }],
1766
1766
  /**
1767
1767
  * Ring Width Inset
@@ -1775,7 +1775,7 @@ const wt = (e, r) => {
1775
1775
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
1776
1776
  */
1777
1777
  "ring-color": [{
1778
- ring: x()
1778
+ ring: v()
1779
1779
  }],
1780
1780
  /**
1781
1781
  * Ring Offset Width
@@ -1784,7 +1784,7 @@ const wt = (e, r) => {
1784
1784
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1785
1785
  */
1786
1786
  "ring-offset-w": [{
1787
- "ring-offset": [E, re]
1787
+ "ring-offset": [_, ae]
1788
1788
  }],
1789
1789
  /**
1790
1790
  * Ring Offset Color
@@ -1793,56 +1793,56 @@ const wt = (e, r) => {
1793
1793
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1794
1794
  */
1795
1795
  "ring-offset-color": [{
1796
- "ring-offset": x()
1796
+ "ring-offset": v()
1797
1797
  }],
1798
1798
  /**
1799
1799
  * Inset Ring Width
1800
1800
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
1801
1801
  */
1802
1802
  "inset-ring-w": [{
1803
- "inset-ring": y()
1803
+ "inset-ring": k()
1804
1804
  }],
1805
1805
  /**
1806
1806
  * Inset Ring Color
1807
1807
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
1808
1808
  */
1809
1809
  "inset-ring-color": [{
1810
- "inset-ring": x()
1810
+ "inset-ring": v()
1811
1811
  }],
1812
1812
  /**
1813
1813
  * Text Shadow
1814
1814
  * @see https://tailwindcss.com/docs/text-shadow
1815
1815
  */
1816
1816
  "text-shadow": [{
1817
- "text-shadow": ["none", j, xe, he]
1817
+ "text-shadow": ["none", p, xe, he]
1818
1818
  }],
1819
1819
  /**
1820
1820
  * Text Shadow Color
1821
1821
  * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
1822
1822
  */
1823
1823
  "text-shadow-color": [{
1824
- "text-shadow": x()
1824
+ "text-shadow": v()
1825
1825
  }],
1826
1826
  /**
1827
1827
  * Opacity
1828
1828
  * @see https://tailwindcss.com/docs/opacity
1829
1829
  */
1830
1830
  opacity: [{
1831
- opacity: [E, p, m]
1831
+ opacity: [_, b, g]
1832
1832
  }],
1833
1833
  /**
1834
1834
  * Mix Blend Mode
1835
1835
  * @see https://tailwindcss.com/docs/mix-blend-mode
1836
1836
  */
1837
1837
  "mix-blend": [{
1838
- "mix-blend": [...H(), "plus-darker", "plus-lighter"]
1838
+ "mix-blend": [...q(), "plus-darker", "plus-lighter"]
1839
1839
  }],
1840
1840
  /**
1841
1841
  * Background Blend Mode
1842
1842
  * @see https://tailwindcss.com/docs/background-blend-mode
1843
1843
  */
1844
1844
  "bg-blend": [{
1845
- "bg-blend": H()
1845
+ "bg-blend": q()
1846
1846
  }],
1847
1847
  /**
1848
1848
  * Mask Clip
@@ -1863,106 +1863,106 @@ const wt = (e, r) => {
1863
1863
  * @see https://tailwindcss.com/docs/mask-image
1864
1864
  */
1865
1865
  "mask-image-linear-pos": [{
1866
- "mask-linear": [E]
1866
+ "mask-linear": [_]
1867
1867
  }],
1868
1868
  "mask-image-linear-from-pos": [{
1869
- "mask-linear-from": h()
1869
+ "mask-linear-from": x()
1870
1870
  }],
1871
1871
  "mask-image-linear-to-pos": [{
1872
- "mask-linear-to": h()
1872
+ "mask-linear-to": x()
1873
1873
  }],
1874
1874
  "mask-image-linear-from-color": [{
1875
- "mask-linear-from": x()
1875
+ "mask-linear-from": v()
1876
1876
  }],
1877
1877
  "mask-image-linear-to-color": [{
1878
- "mask-linear-to": x()
1878
+ "mask-linear-to": v()
1879
1879
  }],
1880
1880
  "mask-image-t-from-pos": [{
1881
- "mask-t-from": h()
1881
+ "mask-t-from": x()
1882
1882
  }],
1883
1883
  "mask-image-t-to-pos": [{
1884
- "mask-t-to": h()
1884
+ "mask-t-to": x()
1885
1885
  }],
1886
1886
  "mask-image-t-from-color": [{
1887
- "mask-t-from": x()
1887
+ "mask-t-from": v()
1888
1888
  }],
1889
1889
  "mask-image-t-to-color": [{
1890
- "mask-t-to": x()
1890
+ "mask-t-to": v()
1891
1891
  }],
1892
1892
  "mask-image-r-from-pos": [{
1893
- "mask-r-from": h()
1893
+ "mask-r-from": x()
1894
1894
  }],
1895
1895
  "mask-image-r-to-pos": [{
1896
- "mask-r-to": h()
1896
+ "mask-r-to": x()
1897
1897
  }],
1898
1898
  "mask-image-r-from-color": [{
1899
- "mask-r-from": x()
1899
+ "mask-r-from": v()
1900
1900
  }],
1901
1901
  "mask-image-r-to-color": [{
1902
- "mask-r-to": x()
1902
+ "mask-r-to": v()
1903
1903
  }],
1904
1904
  "mask-image-b-from-pos": [{
1905
- "mask-b-from": h()
1905
+ "mask-b-from": x()
1906
1906
  }],
1907
1907
  "mask-image-b-to-pos": [{
1908
- "mask-b-to": h()
1908
+ "mask-b-to": x()
1909
1909
  }],
1910
1910
  "mask-image-b-from-color": [{
1911
- "mask-b-from": x()
1911
+ "mask-b-from": v()
1912
1912
  }],
1913
1913
  "mask-image-b-to-color": [{
1914
- "mask-b-to": x()
1914
+ "mask-b-to": v()
1915
1915
  }],
1916
1916
  "mask-image-l-from-pos": [{
1917
- "mask-l-from": h()
1917
+ "mask-l-from": x()
1918
1918
  }],
1919
1919
  "mask-image-l-to-pos": [{
1920
- "mask-l-to": h()
1920
+ "mask-l-to": x()
1921
1921
  }],
1922
1922
  "mask-image-l-from-color": [{
1923
- "mask-l-from": x()
1923
+ "mask-l-from": v()
1924
1924
  }],
1925
1925
  "mask-image-l-to-color": [{
1926
- "mask-l-to": x()
1926
+ "mask-l-to": v()
1927
1927
  }],
1928
1928
  "mask-image-x-from-pos": [{
1929
- "mask-x-from": h()
1929
+ "mask-x-from": x()
1930
1930
  }],
1931
1931
  "mask-image-x-to-pos": [{
1932
- "mask-x-to": h()
1932
+ "mask-x-to": x()
1933
1933
  }],
1934
1934
  "mask-image-x-from-color": [{
1935
- "mask-x-from": x()
1935
+ "mask-x-from": v()
1936
1936
  }],
1937
1937
  "mask-image-x-to-color": [{
1938
- "mask-x-to": x()
1938
+ "mask-x-to": v()
1939
1939
  }],
1940
1940
  "mask-image-y-from-pos": [{
1941
- "mask-y-from": h()
1941
+ "mask-y-from": x()
1942
1942
  }],
1943
1943
  "mask-image-y-to-pos": [{
1944
- "mask-y-to": h()
1944
+ "mask-y-to": x()
1945
1945
  }],
1946
1946
  "mask-image-y-from-color": [{
1947
- "mask-y-from": x()
1947
+ "mask-y-from": v()
1948
1948
  }],
1949
1949
  "mask-image-y-to-color": [{
1950
- "mask-y-to": x()
1950
+ "mask-y-to": v()
1951
1951
  }],
1952
1952
  "mask-image-radial": [{
1953
- "mask-radial": [p, m]
1953
+ "mask-radial": [b, g]
1954
1954
  }],
1955
1955
  "mask-image-radial-from-pos": [{
1956
- "mask-radial-from": h()
1956
+ "mask-radial-from": x()
1957
1957
  }],
1958
1958
  "mask-image-radial-to-pos": [{
1959
- "mask-radial-to": h()
1959
+ "mask-radial-to": x()
1960
1960
  }],
1961
1961
  "mask-image-radial-from-color": [{
1962
- "mask-radial-from": x()
1962
+ "mask-radial-from": v()
1963
1963
  }],
1964
1964
  "mask-image-radial-to-color": [{
1965
- "mask-radial-to": x()
1965
+ "mask-radial-to": v()
1966
1966
  }],
1967
1967
  "mask-image-radial-shape": [{
1968
1968
  "mask-radial": ["circle", "ellipse"]
@@ -1974,22 +1974,22 @@ const wt = (e, r) => {
1974
1974
  }]
1975
1975
  }],
1976
1976
  "mask-image-radial-pos": [{
1977
- "mask-radial-at": L()
1977
+ "mask-radial-at": G()
1978
1978
  }],
1979
1979
  "mask-image-conic-pos": [{
1980
- "mask-conic": [E]
1980
+ "mask-conic": [_]
1981
1981
  }],
1982
1982
  "mask-image-conic-from-pos": [{
1983
- "mask-conic-from": h()
1983
+ "mask-conic-from": x()
1984
1984
  }],
1985
1985
  "mask-image-conic-to-pos": [{
1986
- "mask-conic-to": h()
1986
+ "mask-conic-to": x()
1987
1987
  }],
1988
1988
  "mask-image-conic-from-color": [{
1989
- "mask-conic-from": x()
1989
+ "mask-conic-from": v()
1990
1990
  }],
1991
1991
  "mask-image-conic-to-color": [{
1992
- "mask-conic-to": x()
1992
+ "mask-conic-to": v()
1993
1993
  }],
1994
1994
  /**
1995
1995
  * Mask Mode
@@ -2010,14 +2010,14 @@ const wt = (e, r) => {
2010
2010
  * @see https://tailwindcss.com/docs/mask-position
2011
2011
  */
2012
2012
  "mask-position": [{
2013
- mask: Z()
2013
+ mask: te()
2014
2014
  }],
2015
2015
  /**
2016
2016
  * Mask Repeat
2017
2017
  * @see https://tailwindcss.com/docs/mask-repeat
2018
2018
  */
2019
2019
  "mask-repeat": [{
2020
- mask: K()
2020
+ mask: re()
2021
2021
  }],
2022
2022
  /**
2023
2023
  * Mask Size
@@ -2038,7 +2038,7 @@ const wt = (e, r) => {
2038
2038
  * @see https://tailwindcss.com/docs/mask-image
2039
2039
  */
2040
2040
  "mask-image": [{
2041
- mask: ["none", p, m]
2041
+ mask: ["none", b, g]
2042
2042
  }],
2043
2043
  // ---------------
2044
2044
  // --- Filters ---
@@ -2052,8 +2052,8 @@ const wt = (e, r) => {
2052
2052
  // Deprecated since Tailwind CSS v3.0.0
2053
2053
  "",
2054
2054
  "none",
2055
- p,
2056
- m
2055
+ b,
2056
+ g
2057
2057
  ]
2058
2058
  }],
2059
2059
  /**
@@ -2061,21 +2061,21 @@ const wt = (e, r) => {
2061
2061
  * @see https://tailwindcss.com/docs/blur
2062
2062
  */
2063
2063
  blur: [{
2064
- blur: z()
2064
+ blur: B()
2065
2065
  }],
2066
2066
  /**
2067
2067
  * Brightness
2068
2068
  * @see https://tailwindcss.com/docs/brightness
2069
2069
  */
2070
2070
  brightness: [{
2071
- brightness: [E, p, m]
2071
+ brightness: [_, b, g]
2072
2072
  }],
2073
2073
  /**
2074
2074
  * Contrast
2075
2075
  * @see https://tailwindcss.com/docs/contrast
2076
2076
  */
2077
2077
  contrast: [{
2078
- contrast: [E, p, m]
2078
+ contrast: [_, b, g]
2079
2079
  }],
2080
2080
  /**
2081
2081
  * Drop Shadow
@@ -2086,7 +2086,7 @@ const wt = (e, r) => {
2086
2086
  // Deprecated since Tailwind CSS v4.0.0
2087
2087
  "",
2088
2088
  "none",
2089
- g,
2089
+ y,
2090
2090
  xe,
2091
2091
  he
2092
2092
  ]
@@ -2096,42 +2096,42 @@ const wt = (e, r) => {
2096
2096
  * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2097
2097
  */
2098
2098
  "drop-shadow-color": [{
2099
- "drop-shadow": x()
2099
+ "drop-shadow": v()
2100
2100
  }],
2101
2101
  /**
2102
2102
  * Grayscale
2103
2103
  * @see https://tailwindcss.com/docs/grayscale
2104
2104
  */
2105
2105
  grayscale: [{
2106
- grayscale: ["", E, p, m]
2106
+ grayscale: ["", _, b, g]
2107
2107
  }],
2108
2108
  /**
2109
2109
  * Hue Rotate
2110
2110
  * @see https://tailwindcss.com/docs/hue-rotate
2111
2111
  */
2112
2112
  "hue-rotate": [{
2113
- "hue-rotate": [E, p, m]
2113
+ "hue-rotate": [_, b, g]
2114
2114
  }],
2115
2115
  /**
2116
2116
  * Invert
2117
2117
  * @see https://tailwindcss.com/docs/invert
2118
2118
  */
2119
2119
  invert: [{
2120
- invert: ["", E, p, m]
2120
+ invert: ["", _, b, g]
2121
2121
  }],
2122
2122
  /**
2123
2123
  * Saturate
2124
2124
  * @see https://tailwindcss.com/docs/saturate
2125
2125
  */
2126
2126
  saturate: [{
2127
- saturate: [E, p, m]
2127
+ saturate: [_, b, g]
2128
2128
  }],
2129
2129
  /**
2130
2130
  * Sepia
2131
2131
  * @see https://tailwindcss.com/docs/sepia
2132
2132
  */
2133
2133
  sepia: [{
2134
- sepia: ["", E, p, m]
2134
+ sepia: ["", _, b, g]
2135
2135
  }],
2136
2136
  /**
2137
2137
  * Backdrop Filter
@@ -2142,8 +2142,8 @@ const wt = (e, r) => {
2142
2142
  // Deprecated since Tailwind CSS v3.0.0
2143
2143
  "",
2144
2144
  "none",
2145
- p,
2146
- m
2145
+ b,
2146
+ g
2147
2147
  ]
2148
2148
  }],
2149
2149
  /**
@@ -2151,63 +2151,63 @@ const wt = (e, r) => {
2151
2151
  * @see https://tailwindcss.com/docs/backdrop-blur
2152
2152
  */
2153
2153
  "backdrop-blur": [{
2154
- "backdrop-blur": z()
2154
+ "backdrop-blur": B()
2155
2155
  }],
2156
2156
  /**
2157
2157
  * Backdrop Brightness
2158
2158
  * @see https://tailwindcss.com/docs/backdrop-brightness
2159
2159
  */
2160
2160
  "backdrop-brightness": [{
2161
- "backdrop-brightness": [E, p, m]
2161
+ "backdrop-brightness": [_, b, g]
2162
2162
  }],
2163
2163
  /**
2164
2164
  * Backdrop Contrast
2165
2165
  * @see https://tailwindcss.com/docs/backdrop-contrast
2166
2166
  */
2167
2167
  "backdrop-contrast": [{
2168
- "backdrop-contrast": [E, p, m]
2168
+ "backdrop-contrast": [_, b, g]
2169
2169
  }],
2170
2170
  /**
2171
2171
  * Backdrop Grayscale
2172
2172
  * @see https://tailwindcss.com/docs/backdrop-grayscale
2173
2173
  */
2174
2174
  "backdrop-grayscale": [{
2175
- "backdrop-grayscale": ["", E, p, m]
2175
+ "backdrop-grayscale": ["", _, b, g]
2176
2176
  }],
2177
2177
  /**
2178
2178
  * Backdrop Hue Rotate
2179
2179
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2180
2180
  */
2181
2181
  "backdrop-hue-rotate": [{
2182
- "backdrop-hue-rotate": [E, p, m]
2182
+ "backdrop-hue-rotate": [_, b, g]
2183
2183
  }],
2184
2184
  /**
2185
2185
  * Backdrop Invert
2186
2186
  * @see https://tailwindcss.com/docs/backdrop-invert
2187
2187
  */
2188
2188
  "backdrop-invert": [{
2189
- "backdrop-invert": ["", E, p, m]
2189
+ "backdrop-invert": ["", _, b, g]
2190
2190
  }],
2191
2191
  /**
2192
2192
  * Backdrop Opacity
2193
2193
  * @see https://tailwindcss.com/docs/backdrop-opacity
2194
2194
  */
2195
2195
  "backdrop-opacity": [{
2196
- "backdrop-opacity": [E, p, m]
2196
+ "backdrop-opacity": [_, b, g]
2197
2197
  }],
2198
2198
  /**
2199
2199
  * Backdrop Saturate
2200
2200
  * @see https://tailwindcss.com/docs/backdrop-saturate
2201
2201
  */
2202
2202
  "backdrop-saturate": [{
2203
- "backdrop-saturate": [E, p, m]
2203
+ "backdrop-saturate": [_, b, g]
2204
2204
  }],
2205
2205
  /**
2206
2206
  * Backdrop Sepia
2207
2207
  * @see https://tailwindcss.com/docs/backdrop-sepia
2208
2208
  */
2209
2209
  "backdrop-sepia": [{
2210
- "backdrop-sepia": ["", E, p, m]
2210
+ "backdrop-sepia": ["", _, b, g]
2211
2211
  }],
2212
2212
  // --------------
2213
2213
  // --- Tables ---
@@ -2224,21 +2224,21 @@ const wt = (e, r) => {
2224
2224
  * @see https://tailwindcss.com/docs/border-spacing
2225
2225
  */
2226
2226
  "border-spacing": [{
2227
- "border-spacing": w()
2227
+ "border-spacing": j()
2228
2228
  }],
2229
2229
  /**
2230
2230
  * Border Spacing X
2231
2231
  * @see https://tailwindcss.com/docs/border-spacing
2232
2232
  */
2233
2233
  "border-spacing-x": [{
2234
- "border-spacing-x": w()
2234
+ "border-spacing-x": j()
2235
2235
  }],
2236
2236
  /**
2237
2237
  * Border Spacing Y
2238
2238
  * @see https://tailwindcss.com/docs/border-spacing
2239
2239
  */
2240
2240
  "border-spacing-y": [{
2241
- "border-spacing-y": w()
2241
+ "border-spacing-y": j()
2242
2242
  }],
2243
2243
  /**
2244
2244
  * Table Layout
@@ -2262,7 +2262,7 @@ const wt = (e, r) => {
2262
2262
  * @see https://tailwindcss.com/docs/transition-property
2263
2263
  */
2264
2264
  transition: [{
2265
- transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", p, m]
2265
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", b, g]
2266
2266
  }],
2267
2267
  /**
2268
2268
  * Transition Behavior
@@ -2276,28 +2276,28 @@ const wt = (e, r) => {
2276
2276
  * @see https://tailwindcss.com/docs/transition-duration
2277
2277
  */
2278
2278
  duration: [{
2279
- duration: [E, "initial", p, m]
2279
+ duration: [_, "initial", b, g]
2280
2280
  }],
2281
2281
  /**
2282
2282
  * Transition Timing Function
2283
2283
  * @see https://tailwindcss.com/docs/transition-timing-function
2284
2284
  */
2285
2285
  ease: [{
2286
- ease: ["linear", "initial", T, p, m]
2286
+ ease: ["linear", "initial", T, b, g]
2287
2287
  }],
2288
2288
  /**
2289
2289
  * Transition Delay
2290
2290
  * @see https://tailwindcss.com/docs/transition-delay
2291
2291
  */
2292
2292
  delay: [{
2293
- delay: [E, p, m]
2293
+ delay: [_, b, g]
2294
2294
  }],
2295
2295
  /**
2296
2296
  * Animation
2297
2297
  * @see https://tailwindcss.com/docs/animation
2298
2298
  */
2299
2299
  animate: [{
2300
- animate: ["none", $, p, m]
2300
+ animate: ["none", M, b, g]
2301
2301
  }],
2302
2302
  // ------------------
2303
2303
  // --- Transforms ---
@@ -2314,70 +2314,70 @@ const wt = (e, r) => {
2314
2314
  * @see https://tailwindcss.com/docs/perspective
2315
2315
  */
2316
2316
  perspective: [{
2317
- perspective: [_, p, m]
2317
+ perspective: [N, b, g]
2318
2318
  }],
2319
2319
  /**
2320
2320
  * Perspective Origin
2321
2321
  * @see https://tailwindcss.com/docs/perspective-origin
2322
2322
  */
2323
2323
  "perspective-origin": [{
2324
- "perspective-origin": C()
2324
+ "perspective-origin": V()
2325
2325
  }],
2326
2326
  /**
2327
2327
  * Rotate
2328
2328
  * @see https://tailwindcss.com/docs/rotate
2329
2329
  */
2330
2330
  rotate: [{
2331
- rotate: W()
2331
+ rotate: X()
2332
2332
  }],
2333
2333
  /**
2334
2334
  * Rotate X
2335
2335
  * @see https://tailwindcss.com/docs/rotate
2336
2336
  */
2337
2337
  "rotate-x": [{
2338
- "rotate-x": W()
2338
+ "rotate-x": X()
2339
2339
  }],
2340
2340
  /**
2341
2341
  * Rotate Y
2342
2342
  * @see https://tailwindcss.com/docs/rotate
2343
2343
  */
2344
2344
  "rotate-y": [{
2345
- "rotate-y": W()
2345
+ "rotate-y": X()
2346
2346
  }],
2347
2347
  /**
2348
2348
  * Rotate Z
2349
2349
  * @see https://tailwindcss.com/docs/rotate
2350
2350
  */
2351
2351
  "rotate-z": [{
2352
- "rotate-z": W()
2352
+ "rotate-z": X()
2353
2353
  }],
2354
2354
  /**
2355
2355
  * Scale
2356
2356
  * @see https://tailwindcss.com/docs/scale
2357
2357
  */
2358
2358
  scale: [{
2359
- scale: Q()
2359
+ scale: oe()
2360
2360
  }],
2361
2361
  /**
2362
2362
  * Scale X
2363
2363
  * @see https://tailwindcss.com/docs/scale
2364
2364
  */
2365
2365
  "scale-x": [{
2366
- "scale-x": Q()
2366
+ "scale-x": oe()
2367
2367
  }],
2368
2368
  /**
2369
2369
  * Scale Y
2370
2370
  * @see https://tailwindcss.com/docs/scale
2371
2371
  */
2372
2372
  "scale-y": [{
2373
- "scale-y": Q()
2373
+ "scale-y": oe()
2374
2374
  }],
2375
2375
  /**
2376
2376
  * Scale Z
2377
2377
  * @see https://tailwindcss.com/docs/scale
2378
2378
  */
2379
2379
  "scale-z": [{
2380
- "scale-z": Q()
2380
+ "scale-z": oe()
2381
2381
  }],
2382
2382
  /**
2383
2383
  * Scale 3D
@@ -2410,14 +2410,14 @@ const wt = (e, r) => {
2410
2410
  * @see https://tailwindcss.com/docs/transform
2411
2411
  */
2412
2412
  transform: [{
2413
- transform: [p, m, "", "none", "gpu", "cpu"]
2413
+ transform: [b, g, "", "none", "gpu", "cpu"]
2414
2414
  }],
2415
2415
  /**
2416
2416
  * Transform Origin
2417
2417
  * @see https://tailwindcss.com/docs/transform-origin
2418
2418
  */
2419
2419
  "transform-origin": [{
2420
- origin: C()
2420
+ origin: V()
2421
2421
  }],
2422
2422
  /**
2423
2423
  * Transform Style
@@ -2431,28 +2431,28 @@ const wt = (e, r) => {
2431
2431
  * @see https://tailwindcss.com/docs/translate
2432
2432
  */
2433
2433
  translate: [{
2434
- translate: ge()
2434
+ translate: be()
2435
2435
  }],
2436
2436
  /**
2437
2437
  * Translate X
2438
2438
  * @see https://tailwindcss.com/docs/translate
2439
2439
  */
2440
2440
  "translate-x": [{
2441
- "translate-x": ge()
2441
+ "translate-x": be()
2442
2442
  }],
2443
2443
  /**
2444
2444
  * Translate Y
2445
2445
  * @see https://tailwindcss.com/docs/translate
2446
2446
  */
2447
2447
  "translate-y": [{
2448
- "translate-y": ge()
2448
+ "translate-y": be()
2449
2449
  }],
2450
2450
  /**
2451
2451
  * Translate Z
2452
2452
  * @see https://tailwindcss.com/docs/translate
2453
2453
  */
2454
2454
  "translate-z": [{
2455
- "translate-z": ge()
2455
+ "translate-z": be()
2456
2456
  }],
2457
2457
  /**
2458
2458
  * Translate None
@@ -2467,7 +2467,7 @@ const wt = (e, r) => {
2467
2467
  * @see https://tailwindcss.com/docs/accent-color
2468
2468
  */
2469
2469
  accent: [{
2470
- accent: x()
2470
+ accent: v()
2471
2471
  }],
2472
2472
  /**
2473
2473
  * Appearance
@@ -2481,7 +2481,7 @@ const wt = (e, r) => {
2481
2481
  * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2482
2482
  */
2483
2483
  "caret-color": [{
2484
- caret: x()
2484
+ caret: v()
2485
2485
  }],
2486
2486
  /**
2487
2487
  * Color Scheme
@@ -2495,7 +2495,7 @@ const wt = (e, r) => {
2495
2495
  * @see https://tailwindcss.com/docs/cursor
2496
2496
  */
2497
2497
  cursor: [{
2498
- 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", p, m]
2498
+ 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", b, g]
2499
2499
  }],
2500
2500
  /**
2501
2501
  * Field Sizing
@@ -2530,126 +2530,126 @@ const wt = (e, r) => {
2530
2530
  * @see https://tailwindcss.com/docs/scroll-margin
2531
2531
  */
2532
2532
  "scroll-m": [{
2533
- "scroll-m": w()
2533
+ "scroll-m": j()
2534
2534
  }],
2535
2535
  /**
2536
2536
  * Scroll Margin X
2537
2537
  * @see https://tailwindcss.com/docs/scroll-margin
2538
2538
  */
2539
2539
  "scroll-mx": [{
2540
- "scroll-mx": w()
2540
+ "scroll-mx": j()
2541
2541
  }],
2542
2542
  /**
2543
2543
  * Scroll Margin Y
2544
2544
  * @see https://tailwindcss.com/docs/scroll-margin
2545
2545
  */
2546
2546
  "scroll-my": [{
2547
- "scroll-my": w()
2547
+ "scroll-my": j()
2548
2548
  }],
2549
2549
  /**
2550
2550
  * Scroll Margin Start
2551
2551
  * @see https://tailwindcss.com/docs/scroll-margin
2552
2552
  */
2553
2553
  "scroll-ms": [{
2554
- "scroll-ms": w()
2554
+ "scroll-ms": j()
2555
2555
  }],
2556
2556
  /**
2557
2557
  * Scroll Margin End
2558
2558
  * @see https://tailwindcss.com/docs/scroll-margin
2559
2559
  */
2560
2560
  "scroll-me": [{
2561
- "scroll-me": w()
2561
+ "scroll-me": j()
2562
2562
  }],
2563
2563
  /**
2564
2564
  * Scroll Margin Top
2565
2565
  * @see https://tailwindcss.com/docs/scroll-margin
2566
2566
  */
2567
2567
  "scroll-mt": [{
2568
- "scroll-mt": w()
2568
+ "scroll-mt": j()
2569
2569
  }],
2570
2570
  /**
2571
2571
  * Scroll Margin Right
2572
2572
  * @see https://tailwindcss.com/docs/scroll-margin
2573
2573
  */
2574
2574
  "scroll-mr": [{
2575
- "scroll-mr": w()
2575
+ "scroll-mr": j()
2576
2576
  }],
2577
2577
  /**
2578
2578
  * Scroll Margin Bottom
2579
2579
  * @see https://tailwindcss.com/docs/scroll-margin
2580
2580
  */
2581
2581
  "scroll-mb": [{
2582
- "scroll-mb": w()
2582
+ "scroll-mb": j()
2583
2583
  }],
2584
2584
  /**
2585
2585
  * Scroll Margin Left
2586
2586
  * @see https://tailwindcss.com/docs/scroll-margin
2587
2587
  */
2588
2588
  "scroll-ml": [{
2589
- "scroll-ml": w()
2589
+ "scroll-ml": j()
2590
2590
  }],
2591
2591
  /**
2592
2592
  * Scroll Padding
2593
2593
  * @see https://tailwindcss.com/docs/scroll-padding
2594
2594
  */
2595
2595
  "scroll-p": [{
2596
- "scroll-p": w()
2596
+ "scroll-p": j()
2597
2597
  }],
2598
2598
  /**
2599
2599
  * Scroll Padding X
2600
2600
  * @see https://tailwindcss.com/docs/scroll-padding
2601
2601
  */
2602
2602
  "scroll-px": [{
2603
- "scroll-px": w()
2603
+ "scroll-px": j()
2604
2604
  }],
2605
2605
  /**
2606
2606
  * Scroll Padding Y
2607
2607
  * @see https://tailwindcss.com/docs/scroll-padding
2608
2608
  */
2609
2609
  "scroll-py": [{
2610
- "scroll-py": w()
2610
+ "scroll-py": j()
2611
2611
  }],
2612
2612
  /**
2613
2613
  * Scroll Padding Start
2614
2614
  * @see https://tailwindcss.com/docs/scroll-padding
2615
2615
  */
2616
2616
  "scroll-ps": [{
2617
- "scroll-ps": w()
2617
+ "scroll-ps": j()
2618
2618
  }],
2619
2619
  /**
2620
2620
  * Scroll Padding End
2621
2621
  * @see https://tailwindcss.com/docs/scroll-padding
2622
2622
  */
2623
2623
  "scroll-pe": [{
2624
- "scroll-pe": w()
2624
+ "scroll-pe": j()
2625
2625
  }],
2626
2626
  /**
2627
2627
  * Scroll Padding Top
2628
2628
  * @see https://tailwindcss.com/docs/scroll-padding
2629
2629
  */
2630
2630
  "scroll-pt": [{
2631
- "scroll-pt": w()
2631
+ "scroll-pt": j()
2632
2632
  }],
2633
2633
  /**
2634
2634
  * Scroll Padding Right
2635
2635
  * @see https://tailwindcss.com/docs/scroll-padding
2636
2636
  */
2637
2637
  "scroll-pr": [{
2638
- "scroll-pr": w()
2638
+ "scroll-pr": j()
2639
2639
  }],
2640
2640
  /**
2641
2641
  * Scroll Padding Bottom
2642
2642
  * @see https://tailwindcss.com/docs/scroll-padding
2643
2643
  */
2644
2644
  "scroll-pb": [{
2645
- "scroll-pb": w()
2645
+ "scroll-pb": j()
2646
2646
  }],
2647
2647
  /**
2648
2648
  * Scroll Padding Left
2649
2649
  * @see https://tailwindcss.com/docs/scroll-padding
2650
2650
  */
2651
2651
  "scroll-pl": [{
2652
- "scroll-pl": w()
2652
+ "scroll-pl": j()
2653
2653
  }],
2654
2654
  /**
2655
2655
  * Scroll Snap Align
@@ -2717,7 +2717,7 @@ const wt = (e, r) => {
2717
2717
  * @see https://tailwindcss.com/docs/will-change
2718
2718
  */
2719
2719
  "will-change": [{
2720
- "will-change": ["auto", "scroll", "contents", "transform", p, m]
2720
+ "will-change": ["auto", "scroll", "contents", "transform", b, g]
2721
2721
  }],
2722
2722
  // -----------
2723
2723
  // --- SVG ---
@@ -2727,21 +2727,21 @@ const wt = (e, r) => {
2727
2727
  * @see https://tailwindcss.com/docs/fill
2728
2728
  */
2729
2729
  fill: [{
2730
- fill: ["none", ...x()]
2730
+ fill: ["none", ...v()]
2731
2731
  }],
2732
2732
  /**
2733
2733
  * Stroke Width
2734
2734
  * @see https://tailwindcss.com/docs/stroke-width
2735
2735
  */
2736
2736
  "stroke-w": [{
2737
- stroke: [E, fe, re, Re]
2737
+ stroke: [_, fe, ae, Re]
2738
2738
  }],
2739
2739
  /**
2740
2740
  * Stroke
2741
2741
  * @see https://tailwindcss.com/docs/stroke
2742
2742
  */
2743
2743
  stroke: [{
2744
- stroke: ["none", ...x()]
2744
+ stroke: ["none", ...v()]
2745
2745
  }],
2746
2746
  // ---------------------
2747
2747
  // --- Accessibility ---
@@ -2809,22 +2809,22 @@ const wt = (e, r) => {
2809
2809
  },
2810
2810
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
2811
2811
  };
2812
- }, ir = /* @__PURE__ */ Ft(ar), G = (...e) => ir(yt(e)), $r = (e = "context") => {
2812
+ }, lr = /* @__PURE__ */ Gt(ir), P = (...e) => lr(wt(e)), Mr = (e = "context") => {
2813
2813
  const r = Je(null);
2814
2814
  return [r, () => {
2815
- const o = Xe(r);
2816
- if (!o)
2815
+ const n = Xe(r);
2816
+ if (!n)
2817
2817
  throw new Error(e + " must be used within ChatProvider");
2818
- return o;
2818
+ return n;
2819
2819
  }];
2820
2820
  };
2821
2821
  var ye = { exports: {} }, me = {};
2822
- var Me;
2823
- function lr() {
2824
- if (Me) return me;
2825
- Me = 1;
2822
+ var Le;
2823
+ function cr() {
2824
+ if (Le) return me;
2825
+ Le = 1;
2826
2826
  var e = /* @__PURE__ */ Symbol.for("react.transitional.element"), r = /* @__PURE__ */ Symbol.for("react.fragment");
2827
- function n(o, s, a) {
2827
+ function o(n, s, a) {
2828
2828
  var i = null;
2829
2829
  if (a !== void 0 && (i = "" + a), s.key !== void 0 && (i = "" + s.key), "key" in s) {
2830
2830
  a = {};
@@ -2833,56 +2833,56 @@ function lr() {
2833
2833
  } else a = s;
2834
2834
  return s = a.ref, {
2835
2835
  $$typeof: e,
2836
- type: o,
2836
+ type: n,
2837
2837
  key: i,
2838
2838
  ref: s !== void 0 ? s : null,
2839
2839
  props: a
2840
2840
  };
2841
2841
  }
2842
- return me.Fragment = r, me.jsx = n, me.jsxs = n, me;
2842
+ return me.Fragment = r, me.jsx = o, me.jsxs = o, me;
2843
2843
  }
2844
2844
  var pe = {};
2845
- var Le;
2846
- function cr() {
2847
- return Le || (Le = 1, process.env.NODE_ENV !== "production" && (function() {
2845
+ var Fe;
2846
+ function dr() {
2847
+ return Fe || (Fe = 1, process.env.NODE_ENV !== "production" && (function() {
2848
2848
  function e(t) {
2849
2849
  if (t == null) return null;
2850
2850
  if (typeof t == "function")
2851
- return t.$$typeof === ne ? null : t.displayName || t.name || null;
2851
+ return t.$$typeof === se ? null : t.displayName || t.name || null;
2852
2852
  if (typeof t == "string") return t;
2853
2853
  switch (t) {
2854
- case S:
2854
+ case R:
2855
2855
  return "Fragment";
2856
- case $:
2856
+ case M:
2857
2857
  return "Profiler";
2858
2858
  case T:
2859
2859
  return "StrictMode";
2860
- case N:
2860
+ case A:
2861
2861
  return "Suspense";
2862
- case D:
2862
+ case U:
2863
2863
  return "SuspenseList";
2864
- case oe:
2864
+ case ee:
2865
2865
  return "Activity";
2866
2866
  }
2867
2867
  if (typeof t == "object")
2868
2868
  switch (typeof t.tag == "number" && console.error(
2869
2869
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
2870
2870
  ), t.$$typeof) {
2871
- case _:
2871
+ case N:
2872
2872
  return "Portal";
2873
- case L:
2873
+ case G:
2874
2874
  return t.displayName || "Context";
2875
- case I:
2875
+ case F:
2876
2876
  return (t._context.displayName || "Context") + ".Consumer";
2877
- case C:
2878
- var c = t.render;
2879
- return t = t.displayName, t || (t = c.displayName || c.name || "", t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef"), t;
2880
- case w:
2881
- return c = t.displayName || null, c !== null ? c : e(t.type) || "Memo";
2882
- case O:
2883
- c = t._payload, t = t._init;
2877
+ case V:
2878
+ var d = t.render;
2879
+ return t = t.displayName, t || (t = d.displayName || d.name || "", t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef"), t;
2880
+ case j:
2881
+ return d = t.displayName || null, d !== null ? d : e(t.type) || "Memo";
2882
+ case I:
2883
+ d = t._payload, t = t._init;
2884
2884
  try {
2885
- return e(t(c));
2885
+ return e(t(d));
2886
2886
  } catch {
2887
2887
  }
2888
2888
  }
@@ -2891,77 +2891,77 @@ function cr() {
2891
2891
  function r(t) {
2892
2892
  return "" + t;
2893
2893
  }
2894
- function n(t) {
2894
+ function o(t) {
2895
2895
  try {
2896
2896
  r(t);
2897
- var c = !1;
2897
+ var d = !1;
2898
2898
  } catch {
2899
- c = !0;
2899
+ d = !0;
2900
2900
  }
2901
- if (c) {
2902
- c = console;
2903
- var b = c.error, y = typeof Symbol == "function" && Symbol.toStringTag && t[Symbol.toStringTag] || t.constructor.name || "Object";
2904
- return b.call(
2905
- c,
2901
+ if (d) {
2902
+ d = console;
2903
+ var h = d.error, k = typeof Symbol == "function" && Symbol.toStringTag && t[Symbol.toStringTag] || t.constructor.name || "Object";
2904
+ return h.call(
2905
+ d,
2906
2906
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
2907
- y
2907
+ k
2908
2908
  ), r(t);
2909
2909
  }
2910
2910
  }
2911
- function o(t) {
2912
- if (t === S) return "<>";
2913
- if (typeof t == "object" && t !== null && t.$$typeof === O)
2911
+ function n(t) {
2912
+ if (t === R) return "<>";
2913
+ if (typeof t == "object" && t !== null && t.$$typeof === I)
2914
2914
  return "<...>";
2915
2915
  try {
2916
- var c = e(t);
2917
- return c ? "<" + c + ">" : "<...>";
2916
+ var d = e(t);
2917
+ return d ? "<" + d + ">" : "<...>";
2918
2918
  } catch {
2919
2919
  return "<...>";
2920
2920
  }
2921
2921
  }
2922
2922
  function s() {
2923
- var t = V.A;
2923
+ var t = S.A;
2924
2924
  return t === null ? null : t.getOwner();
2925
2925
  }
2926
2926
  function a() {
2927
2927
  return Error("react-stack-top-frame");
2928
2928
  }
2929
2929
  function i(t) {
2930
- if (q.call(t, "key")) {
2931
- var c = Object.getOwnPropertyDescriptor(t, "key").get;
2932
- if (c && c.isReactWarning) return !1;
2930
+ if (z.call(t, "key")) {
2931
+ var d = Object.getOwnPropertyDescriptor(t, "key").get;
2932
+ if (d && d.isReactWarning) return !1;
2933
2933
  }
2934
2934
  return t.key !== void 0;
2935
2935
  }
2936
- function u(t, c) {
2937
- function b() {
2938
- M || (M = !0, console.error(
2936
+ function u(t, d) {
2937
+ function h() {
2938
+ W || (W = !0, console.error(
2939
2939
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
2940
- c
2940
+ d
2941
2941
  ));
2942
2942
  }
2943
- b.isReactWarning = !0, Object.defineProperty(t, "key", {
2944
- get: b,
2943
+ h.isReactWarning = !0, Object.defineProperty(t, "key", {
2944
+ get: h,
2945
2945
  configurable: !0
2946
2946
  });
2947
2947
  }
2948
- function l() {
2948
+ function c() {
2949
2949
  var t = e(this.type);
2950
- return B[t] || (B[t] = !0, console.error(
2950
+ return Y[t] || (Y[t] = !0, console.error(
2951
2951
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
2952
2952
  )), t = this.props.ref, t !== void 0 ? t : null;
2953
2953
  }
2954
- function f(t, c, b, y, U, H) {
2955
- var h = b.ref;
2954
+ function f(t, d, h, k, H, q) {
2955
+ var x = h.ref;
2956
2956
  return t = {
2957
- $$typeof: R,
2957
+ $$typeof: E,
2958
2958
  type: t,
2959
- key: c,
2960
- props: b,
2961
- _owner: y
2962
- }, (h !== void 0 ? h : null) !== null ? Object.defineProperty(t, "ref", {
2959
+ key: d,
2960
+ props: h,
2961
+ _owner: k
2962
+ }, (x !== void 0 ? x : null) !== null ? Object.defineProperty(t, "ref", {
2963
2963
  enumerable: !1,
2964
- get: l
2964
+ get: c
2965
2965
  }) : Object.defineProperty(t, "ref", { enumerable: !1, value: null }), t._store = {}, Object.defineProperty(t._store, "validated", {
2966
2966
  configurable: !1,
2967
2967
  enumerable: !1,
@@ -2976,120 +2976,125 @@ function cr() {
2976
2976
  configurable: !1,
2977
2977
  enumerable: !1,
2978
2978
  writable: !0,
2979
- value: U
2979
+ value: H
2980
2980
  }), Object.defineProperty(t, "_debugTask", {
2981
2981
  configurable: !1,
2982
2982
  enumerable: !1,
2983
2983
  writable: !0,
2984
- value: H
2984
+ value: q
2985
2985
  }), Object.freeze && (Object.freeze(t.props), Object.freeze(t)), t;
2986
2986
  }
2987
- function v(t, c, b, y, U, H) {
2988
- var h = c.children;
2989
- if (h !== void 0)
2990
- if (y)
2991
- if (te(h)) {
2992
- for (y = 0; y < h.length; y++)
2993
- k(h[y]);
2994
- Object.freeze && Object.freeze(h);
2987
+ function w(t, d, h, k, H, q) {
2988
+ var x = d.children;
2989
+ if (x !== void 0)
2990
+ if (k)
2991
+ if (D(x)) {
2992
+ for (k = 0; k < x.length; k++)
2993
+ m(x[k]);
2994
+ Object.freeze && Object.freeze(x);
2995
2995
  } else
2996
2996
  console.error(
2997
2997
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
2998
2998
  );
2999
- else k(h);
3000
- if (q.call(c, "key")) {
3001
- h = e(t);
3002
- var z = Object.keys(c).filter(function(Q) {
3003
- return Q !== "key";
2999
+ else m(x);
3000
+ if (z.call(d, "key")) {
3001
+ x = e(t);
3002
+ var B = Object.keys(d).filter(function(oe) {
3003
+ return oe !== "key";
3004
3004
  });
3005
- y = 0 < z.length ? "{key: someKey, " + z.join(": ..., ") + ": ...}" : "{key: someKey}", K[h + y] || (z = 0 < z.length ? "{" + z.join(": ..., ") + ": ...}" : "{}", console.error(
3005
+ k = 0 < B.length ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}", re[x + k] || (B = 0 < B.length ? "{" + B.join(": ..., ") + ": ...}" : "{}", console.error(
3006
3006
  `A props object containing a "key" prop is being spread into JSX:
3007
3007
  let props = %s;
3008
3008
  <%s {...props} />
3009
3009
  React keys must be passed directly to JSX without using spread:
3010
3010
  let props = %s;
3011
3011
  <%s key={someKey} {...props} />`,
3012
- y,
3013
- h,
3014
- z,
3015
- h
3016
- ), K[h + y] = !0);
3012
+ k,
3013
+ x,
3014
+ B,
3015
+ x
3016
+ ), re[x + k] = !0);
3017
3017
  }
3018
- if (h = null, b !== void 0 && (n(b), h = "" + b), i(c) && (n(c.key), h = "" + c.key), "key" in c) {
3019
- b = {};
3020
- for (var W in c)
3021
- W !== "key" && (b[W] = c[W]);
3022
- } else b = c;
3023
- return h && u(
3024
- b,
3018
+ if (x = null, h !== void 0 && (o(h), x = "" + h), i(d) && (o(d.key), x = "" + d.key), "key" in d) {
3019
+ h = {};
3020
+ for (var X in d)
3021
+ X !== "key" && (h[X] = d[X]);
3022
+ } else h = d;
3023
+ return x && u(
3024
+ h,
3025
3025
  typeof t == "function" ? t.displayName || t.name || "Unknown" : t
3026
3026
  ), f(
3027
3027
  t,
3028
+ x,
3028
3029
  h,
3029
- b,
3030
3030
  s(),
3031
- U,
3032
- H
3031
+ H,
3032
+ q
3033
3033
  );
3034
3034
  }
3035
- function k(t) {
3036
- j(t) ? t._store && (t._store.validated = 1) : typeof t == "object" && t !== null && t.$$typeof === O && (t._payload.status === "fulfilled" ? j(t._payload.value) && t._payload.value._store && (t._payload.value._store.validated = 1) : t._store && (t._store.validated = 1));
3035
+ function m(t) {
3036
+ p(t) ? t._store && (t._store.validated = 1) : typeof t == "object" && t !== null && t.$$typeof === I && (t._payload.status === "fulfilled" ? p(t._payload.value) && t._payload.value._store && (t._payload.value._store.validated = 1) : t._store && (t._store.validated = 1));
3037
3037
  }
3038
- function j(t) {
3039
- return typeof t == "object" && t !== null && t.$$typeof === R;
3038
+ function p(t) {
3039
+ return typeof t == "object" && t !== null && t.$$typeof === E;
3040
3040
  }
3041
- var g = He, R = /* @__PURE__ */ Symbol.for("react.transitional.element"), _ = /* @__PURE__ */ Symbol.for("react.portal"), S = /* @__PURE__ */ Symbol.for("react.fragment"), T = /* @__PURE__ */ Symbol.for("react.strict_mode"), $ = /* @__PURE__ */ Symbol.for("react.profiler"), I = /* @__PURE__ */ Symbol.for("react.consumer"), L = /* @__PURE__ */ Symbol.for("react.context"), C = /* @__PURE__ */ Symbol.for("react.forward_ref"), N = /* @__PURE__ */ Symbol.for("react.suspense"), D = /* @__PURE__ */ Symbol.for("react.suspense_list"), w = /* @__PURE__ */ Symbol.for("react.memo"), O = /* @__PURE__ */ Symbol.for("react.lazy"), oe = /* @__PURE__ */ Symbol.for("react.activity"), ne = /* @__PURE__ */ Symbol.for("react.client.reference"), V = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, q = Object.prototype.hasOwnProperty, te = Array.isArray, F = console.createTask ? console.createTask : function() {
3041
+ var y = He, E = /* @__PURE__ */ Symbol.for("react.transitional.element"), N = /* @__PURE__ */ Symbol.for("react.portal"), R = /* @__PURE__ */ Symbol.for("react.fragment"), T = /* @__PURE__ */ Symbol.for("react.strict_mode"), M = /* @__PURE__ */ Symbol.for("react.profiler"), F = /* @__PURE__ */ Symbol.for("react.consumer"), G = /* @__PURE__ */ Symbol.for("react.context"), V = /* @__PURE__ */ Symbol.for("react.forward_ref"), A = /* @__PURE__ */ Symbol.for("react.suspense"), U = /* @__PURE__ */ Symbol.for("react.suspense_list"), j = /* @__PURE__ */ Symbol.for("react.memo"), I = /* @__PURE__ */ Symbol.for("react.lazy"), ee = /* @__PURE__ */ Symbol.for("react.activity"), se = /* @__PURE__ */ Symbol.for("react.client.reference"), S = y.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, z = Object.prototype.hasOwnProperty, D = Array.isArray, O = console.createTask ? console.createTask : function() {
3042
3042
  return null;
3043
3043
  };
3044
- g = {
3044
+ y = {
3045
3045
  react_stack_bottom_frame: function(t) {
3046
3046
  return t();
3047
3047
  }
3048
3048
  };
3049
- var M, B = {}, x = g.react_stack_bottom_frame.bind(
3050
- g,
3049
+ var W, Y = {}, v = y.react_stack_bottom_frame.bind(
3050
+ y,
3051
3051
  a
3052
- )(), Z = F(o(a)), K = {};
3053
- pe.Fragment = S, pe.jsx = function(t, c, b) {
3054
- var y = 1e4 > V.recentlyCreatedOwnerStacks++;
3055
- return v(
3052
+ )(), te = O(n(a)), re = {};
3053
+ pe.Fragment = R, pe.jsx = function(t, d, h) {
3054
+ var k = 1e4 > S.recentlyCreatedOwnerStacks++;
3055
+ return w(
3056
3056
  t,
3057
- c,
3058
- b,
3057
+ d,
3058
+ h,
3059
3059
  !1,
3060
- y ? Error("react-stack-top-frame") : x,
3061
- y ? F(o(t)) : Z
3060
+ k ? Error("react-stack-top-frame") : v,
3061
+ k ? O(n(t)) : te
3062
3062
  );
3063
- }, pe.jsxs = function(t, c, b) {
3064
- var y = 1e4 > V.recentlyCreatedOwnerStacks++;
3065
- return v(
3063
+ }, pe.jsxs = function(t, d, h) {
3064
+ var k = 1e4 > S.recentlyCreatedOwnerStacks++;
3065
+ return w(
3066
3066
  t,
3067
- c,
3068
- b,
3067
+ d,
3068
+ h,
3069
3069
  !0,
3070
- y ? Error("react-stack-top-frame") : x,
3071
- y ? F(o(t)) : Z
3070
+ k ? Error("react-stack-top-frame") : v,
3071
+ k ? O(n(t)) : te
3072
3072
  );
3073
3073
  };
3074
3074
  })()), pe;
3075
3075
  }
3076
- var Fe;
3077
- function dr() {
3078
- return Fe || (Fe = 1, process.env.NODE_ENV === "production" ? ye.exports = lr() : ye.exports = cr()), ye.exports;
3076
+ var Ge;
3077
+ function ur() {
3078
+ return Ge || (Ge = 1, process.env.NODE_ENV === "production" ? ye.exports = cr() : ye.exports = dr()), ye.exports;
3079
3079
  }
3080
- var d = dr();
3081
- const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(pt, { name: n, mode: e ? "visible" : "hidden", children: r }), Dr = ({
3080
+ var l = ur();
3081
+ const Lr = ({
3082
+ actived: e,
3083
+ children: r,
3084
+ name: o,
3085
+ disableReactActivity: n = !1
3086
+ }) => n ? e ? r : null : /* @__PURE__ */ l.jsx(gt, { name: o, mode: e ? "visible" : "hidden", children: r }), Fr = ({
3082
3087
  style: e,
3083
3088
  imageVar: r,
3084
- className: n = "",
3085
- ...o
3089
+ className: o = "",
3090
+ ...n
3086
3091
  }) => {
3087
3092
  const s = `bg-(image:${r})`;
3088
- return /* @__PURE__ */ d.jsx(
3093
+ return /* @__PURE__ */ l.jsx(
3089
3094
  "div",
3090
3095
  {
3091
- ...o,
3092
- className: G(n, s),
3096
+ ...n,
3097
+ className: P(o, s),
3093
3098
  style: {
3094
3099
  ...e,
3095
3100
  backgroundSize: "cover",
@@ -3100,23 +3105,23 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(pt, {
3100
3105
  }, ke = ({
3101
3106
  variant: e = "default",
3102
3107
  children: r,
3103
- className: n,
3104
- overwriteClassName: o = !1,
3108
+ className: o,
3109
+ overwriteClassName: n = !1,
3105
3110
  ...s
3106
3111
  }) => {
3107
3112
  const a = {
3108
3113
  diabled: s.disabled ? "bg-(--bg-smooth) text-(--fg-mini-text)" : `bg-(--bg-card) color-${e} cursor-pointer`,
3109
3114
  "hover:disabled": s.disabled ? "" : "hover:transform-[scale(1.1)]",
3110
3115
  "active:disabled": s.disabled ? "" : "active:transform-[scale(0.9)] active:bg-(--fg-component) active:opacity-[0.7]"
3111
- }, i = o ? n : G(
3116
+ }, i = n ? o : P(
3112
3117
  "px-4 py-2 w-fit rounded-lg page duration-200",
3113
3118
  a.diabled,
3114
3119
  a["hover:disabled"],
3115
3120
  a["active:disabled"],
3116
- n
3121
+ o
3117
3122
  );
3118
- return /* @__PURE__ */ d.jsx("button", { className: i, ...s, children: r });
3119
- }, ur = ({ size: e, ref: r, className: n }) => /* @__PURE__ */ d.jsx(
3123
+ return /* @__PURE__ */ l.jsx("button", { className: i, ...s, children: r });
3124
+ }, fr = ({ size: e, ref: r, className: o }) => /* @__PURE__ */ l.jsx(
3120
3125
  "svg",
3121
3126
  {
3122
3127
  ref: r,
@@ -3124,9 +3129,9 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(pt, {
3124
3129
  height: e,
3125
3130
  viewBox: "0 0 24 24",
3126
3131
  fill: "none",
3127
- className: n,
3132
+ className: o,
3128
3133
  xmlns: "http://www.w3.org/2000/svg",
3129
- children: /* @__PURE__ */ d.jsx("g", { transform: "translate(4 6)", children: /* @__PURE__ */ d.jsx(
3134
+ children: /* @__PURE__ */ l.jsx("g", { transform: "translate(4 6)", children: /* @__PURE__ */ l.jsx(
3130
3135
  "path",
3131
3136
  {
3132
3137
  d: "M1 6L6 11L16 1",
@@ -3140,10 +3145,10 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(pt, {
3140
3145
  ), ft = ({
3141
3146
  size: e,
3142
3147
  ref: r,
3143
- className: n,
3144
- fill: o = "#EDEDED",
3148
+ className: o,
3149
+ fill: n = "#EDEDED",
3145
3150
  ...s
3146
- }) => /* @__PURE__ */ d.jsx(
3151
+ }) => /* @__PURE__ */ l.jsx(
3147
3152
  "svg",
3148
3153
  {
3149
3154
  ref: r,
@@ -3151,51 +3156,51 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(pt, {
3151
3156
  height: e,
3152
3157
  viewBox: "0 0 12 12",
3153
3158
  fill: "none",
3154
- className: n,
3159
+ className: o,
3155
3160
  xmlns: "http://www.w3.org/2000/svg",
3156
3161
  ...s,
3157
- children: /* @__PURE__ */ d.jsx("circle", { cx: "6", cy: "6", r: "6", fill: o })
3162
+ children: /* @__PURE__ */ l.jsx("circle", { cx: "6", cy: "6", r: "6", fill: n })
3158
3163
  }
3159
- ), fr = 8, mr = 1, pr = (fr + mr) * 2, br = ({
3164
+ ), mr = 8, pr = 1, gr = (mr + pr) * 2, br = ({
3160
3165
  inputName: e,
3161
3166
  inputId: r,
3162
- className: n,
3163
- style: o,
3167
+ className: o,
3168
+ style: n,
3164
3169
  onClick: s,
3165
3170
  size: a = 24,
3166
3171
  checked: i = !1,
3167
3172
  type: u,
3168
- ...l
3173
+ ...c
3169
3174
  }) => {
3170
- const [f, v] = ie(i), k = Y(null), j = Y(null), g = `${a + pr}px`;
3175
+ const [f, w] = Q(i), m = J(null), p = J(null), y = `${a + gr}px`;
3171
3176
  return le(() => {
3172
- k.current && (j.current && (j.current.checked = f), f ? k.current.style.display = o?.display || "block" : k.current.style.opacity = "0", setTimeout(() => {
3173
- k.current && (f ? k.current.style.opacity = "1" : k.current.style.display = "none");
3177
+ m.current && (p.current && (p.current.checked = f), f ? m.current.style.display = n?.display || "block" : m.current.style.opacity = "0", setTimeout(() => {
3178
+ m.current && (f ? m.current.style.opacity = "1" : m.current.style.display = "none");
3174
3179
  }, 100));
3175
- }, [f, o?.display]), /* @__PURE__ */ d.jsxs(
3180
+ }, [f, n?.display]), /* @__PURE__ */ l.jsxs(
3176
3181
  "div",
3177
3182
  {
3178
3183
  className: [
3179
3184
  "bg-(--bg-card) border-(--fg-mini-text) border-1 p-[8px] cursor-pointer duration-300",
3180
3185
  u === "checkbox" ? "rounded-[20%]" : "rounded-[100%]",
3181
3186
  "hover:bg-(--fg-card)",
3182
- n
3187
+ o
3183
3188
  ].join(" "),
3184
3189
  style: {
3185
- height: g,
3186
- width: g,
3187
- ...o
3190
+ height: y,
3191
+ width: y,
3192
+ ...n
3188
3193
  },
3189
- onClick: (R) => {
3190
- s?.(R), v(!f);
3194
+ onClick: (E) => {
3195
+ s?.(E), w(!f);
3191
3196
  },
3192
- ...l,
3197
+ ...c,
3193
3198
  children: [
3194
- u === "checkbox" ? /* @__PURE__ */ d.jsx(ur, { className: "duration-300", ref: k, size: a }) : /* @__PURE__ */ d.jsx(ft, { className: "duration-300", ref: k, size: a }),
3195
- /* @__PURE__ */ d.jsx(
3199
+ u === "checkbox" ? /* @__PURE__ */ l.jsx(fr, { className: "duration-300", ref: m, size: a }) : /* @__PURE__ */ l.jsx(ft, { className: "duration-300", ref: m, size: a }),
3200
+ /* @__PURE__ */ l.jsx(
3196
3201
  "input",
3197
3202
  {
3198
- ref: j,
3203
+ ref: p,
3199
3204
  name: e,
3200
3205
  id: r,
3201
3206
  type: "checkbox",
@@ -3205,110 +3210,110 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(pt, {
3205
3210
  ]
3206
3211
  }
3207
3212
  );
3208
- }, Mr = (e) => /* @__PURE__ */ d.jsx(br, { type: "checkbox", ...e }), mt = Je(null), Oe = () => {
3213
+ }, Gr = (e) => /* @__PURE__ */ l.jsx(br, { type: "checkbox", ...e }), mt = Je(null), Pe = () => {
3209
3214
  const e = Xe(mt);
3210
3215
  if (!e)
3211
3216
  throw new Error("useDropdown must be used within DropdownProvider");
3212
3217
  return e;
3213
- }, gr = (e, r) => {
3218
+ }, hr = (e, r) => {
3214
3219
  le(() => {
3215
- const n = (o) => {
3216
- e.current && (e.current.contains(o.target) || r(o));
3220
+ const o = (n) => {
3221
+ e.current && (e.current.contains(n.target) || r(n));
3217
3222
  };
3218
- return document.addEventListener("mousedown", n), document.addEventListener("touchstart", n), () => {
3219
- document.removeEventListener("mousedown", n), document.removeEventListener("touchstart", n);
3223
+ return document.addEventListener("mousedown", o), document.addEventListener("touchstart", o), () => {
3224
+ document.removeEventListener("mousedown", o), document.removeEventListener("touchstart", o);
3220
3225
  };
3221
3226
  }, [e, r]);
3222
- }, Lr = ({
3227
+ }, Br = ({
3223
3228
  children: e,
3224
3229
  onChangeState: r,
3225
- closeOnClickOutside: n = !0,
3226
- openToOtherSide: o = !0,
3230
+ closeOnClickOutside: o = !0,
3231
+ openToOtherSide: n = !0,
3227
3232
  defaultHorizontalPosition: s = "right",
3228
3233
  defaultVertialPosition: a = "bottom",
3229
3234
  menuAlign: i = "center",
3230
3235
  className: u,
3231
- ...l
3236
+ ...c
3232
3237
  }) => {
3233
- const [f, v] = ie(!1), k = Y(null), j = Y(null), g = Y(null), R = ae(
3234
- (_) => {
3235
- if (_) {
3236
- v(_), r?.(_);
3238
+ const [f, w] = Q(!1), m = J(null), p = J(null), y = J(null), E = C(
3239
+ (N) => {
3240
+ if (N) {
3241
+ w(N), r?.(N);
3237
3242
  return;
3238
3243
  }
3239
- v((S) => {
3240
- const T = !S;
3244
+ w((R) => {
3245
+ const T = !R;
3241
3246
  return r?.(T), T;
3242
3247
  });
3243
3248
  },
3244
- [v, r]
3249
+ [w, r]
3245
3250
  );
3246
- return gr(j, () => {
3247
- n && f && R(!1);
3251
+ return hr(p, () => {
3252
+ o && f && E(!1);
3248
3253
  }), le(() => {
3249
- const _ = (S) => {
3250
- f && S.key === "Escape" && R(!1);
3254
+ const N = (R) => {
3255
+ f && R.key === "Escape" && E(!1);
3251
3256
  };
3252
- return document.addEventListener("keydown", _), () => {
3253
- document.removeEventListener("keydown", _);
3257
+ return document.addEventListener("keydown", N), () => {
3258
+ document.removeEventListener("keydown", N);
3254
3259
  };
3255
- }, [f, R]), /* @__PURE__ */ d.jsx(
3260
+ }, [f, E]), /* @__PURE__ */ l.jsx(
3256
3261
  mt.Provider,
3257
3262
  {
3258
3263
  value: {
3259
3264
  opened: f,
3260
- toggle: R,
3261
- dropdownRef: k,
3262
- menuRef: j,
3263
- triggerRef: g,
3264
- openToOtherSide: o,
3265
+ toggle: E,
3266
+ dropdownRef: m,
3267
+ menuRef: p,
3268
+ triggerRef: y,
3269
+ openToOtherSide: n,
3265
3270
  defaultHorizontalPosition: s,
3266
3271
  defaultVertialPosition: a,
3267
3272
  menuAlign: i
3268
3273
  },
3269
- children: /* @__PURE__ */ d.jsx(
3274
+ children: /* @__PURE__ */ l.jsx(
3270
3275
  "div",
3271
3276
  {
3272
- ref: k,
3273
- className: G("relative inline-block", u),
3274
- ...l,
3277
+ ref: m,
3278
+ className: P("relative inline-block", u),
3279
+ ...c,
3275
3280
  children: e
3276
3281
  }
3277
3282
  )
3278
3283
  }
3279
3284
  );
3280
- }, Fr = ({
3285
+ }, Vr = ({
3281
3286
  children: e,
3282
3287
  className: r,
3283
- style: n,
3284
- ...o
3288
+ style: o,
3289
+ ...n
3285
3290
  }) => {
3286
3291
  const {
3287
3292
  opened: s,
3288
3293
  menuRef: a,
3289
3294
  triggerRef: i,
3290
3295
  defaultHorizontalPosition: u,
3291
- defaultVertialPosition: l,
3296
+ defaultVertialPosition: c,
3292
3297
  openToOtherSide: f,
3293
- menuAlign: v
3294
- } = Oe(), k = ae(
3295
- (g) => {
3296
- const R = g === "x" ? "innerWidth" : "innerHeight", _ = g === "x" ? "width" : "height", S = g === "x" ? "right" : "bottom";
3297
- return (T, $) => {
3298
- if (!a.current || T[S] < window[R])
3298
+ menuAlign: w
3299
+ } = Pe(), m = C(
3300
+ (y) => {
3301
+ const E = y === "x" ? "innerWidth" : "innerHeight", N = y === "x" ? "width" : "height", R = y === "x" ? "right" : "bottom";
3302
+ return (T, M) => {
3303
+ if (!a.current || T[R] < window[E])
3299
3304
  return;
3300
- const I = T[S] - window[R];
3305
+ const F = T[R] - window[E];
3301
3306
  if (f) {
3302
- const C = g === "y" ? $ : 0;
3303
- a.current.style[g] = `${T[g] - I - C}px`;
3307
+ const V = y === "y" ? M : 0;
3308
+ a.current.style[y] = `${T[y] - F - V}px`;
3304
3309
  return;
3305
3310
  }
3306
- const L = T[g] - T[_];
3307
- if (L >= 0) {
3308
- a.current.style[g] = `${L}px`;
3311
+ const G = T[y] - T[N];
3312
+ if (G >= 0) {
3313
+ a.current.style[y] = `${G}px`;
3309
3314
  return;
3310
3315
  }
3311
- a.current.style[g] = `${T[g] - I}px`;
3316
+ a.current.style[y] = `${T[y] - F}px`;
3312
3317
  };
3313
3318
  },
3314
3319
  [a, f]
@@ -3316,58 +3321,58 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(pt, {
3316
3321
  if (qe(() => {
3317
3322
  if (!a.current || !i.current || !s)
3318
3323
  return;
3319
- const g = i.current.getBoundingClientRect(), R = a.current.getBoundingClientRect(), _ = v === "center" ? g.width / 2 : v === "right" ? g.width : 0, S = g.left + window.scrollX + _, T = g.top + g.height + window.scrollY;
3320
- u === "right" ? a.current.style.left = `${S}px` : a.current.style.left = `${S - R.width}px`, l === "bottom" ? a.current.style.top = `${T}px` : a.current.style.top = `${T - R.height - g.height}px`;
3321
- const $ = a.current.getBoundingClientRect();
3322
- k("x")($, g.height), k("y")($, g.height);
3324
+ const y = i.current.getBoundingClientRect(), E = a.current.getBoundingClientRect(), N = w === "center" ? y.width / 2 : w === "right" ? y.width : 0, R = y.left + window.scrollX + N, T = y.top + y.height + window.scrollY;
3325
+ u === "right" ? a.current.style.left = `${R}px` : a.current.style.left = `${R - E.width}px`, c === "bottom" ? a.current.style.top = `${T}px` : a.current.style.top = `${T - E.height - y.height}px`;
3326
+ const M = a.current.getBoundingClientRect();
3327
+ m("x")(M, y.height), m("y")(M, y.height);
3323
3328
  }, [
3324
3329
  s,
3325
- k,
3330
+ m,
3326
3331
  a,
3327
3332
  i,
3328
3333
  u,
3329
- l,
3330
- v
3334
+ c,
3335
+ w
3331
3336
  ]), !s)
3332
3337
  return null;
3333
- const j = /* @__PURE__ */ d.jsx(
3338
+ const p = /* @__PURE__ */ l.jsx(
3334
3339
  "div",
3335
3340
  {
3336
3341
  ref: a,
3337
- className: G(
3342
+ className: P(
3338
3343
  "bg-(--bg-smooth-light) absolute z-100 rounded-lg shadow-lg",
3339
3344
  "flex flex-col min-w-40",
3340
3345
  r
3341
3346
  ),
3342
3347
  style: {
3343
- ...n
3348
+ ...o
3344
3349
  },
3345
3350
  role: "menu",
3346
3351
  "aria-orientation": "vertical",
3347
- ...o,
3352
+ ...n,
3348
3353
  children: e
3349
3354
  }
3350
3355
  );
3351
- return Ae(j, document.body);
3352
- }, Gr = ({
3356
+ return Ae(p, document.body);
3357
+ }, Ur = ({
3353
3358
  children: e,
3354
3359
  onClick: r,
3355
- className: n,
3356
- variant: o,
3360
+ className: o,
3361
+ variant: n,
3357
3362
  ...s
3358
3363
  }) => {
3359
- const { toggle: a } = Oe(), i = (u) => {
3364
+ const { toggle: a } = Pe(), i = (u) => {
3360
3365
  s.disabled || (r?.(u), a(!1));
3361
3366
  };
3362
- return /* @__PURE__ */ d.jsx(
3367
+ return /* @__PURE__ */ l.jsx(
3363
3368
  ke,
3364
3369
  {
3365
3370
  onClick: i,
3366
- className: G(
3371
+ className: P(
3367
3372
  "px-4 py-2 w-full text-left rounded-lg page duration-300",
3368
- s.disabled ? "text-(--fg-mini-text)" : `color-${o} cursor-pointer`,
3373
+ s.disabled ? "text-(--fg-mini-text)" : `color-${n} cursor-pointer`,
3369
3374
  "hover:bg-(--fg-mini-text-30)",
3370
- n
3375
+ o
3371
3376
  ),
3372
3377
  overwriteClassName: !0,
3373
3378
  role: "menuitem",
@@ -3375,15 +3380,15 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(pt, {
3375
3380
  children: e
3376
3381
  }
3377
3382
  );
3378
- }, Br = ({
3383
+ }, Wr = ({
3379
3384
  children: e,
3380
3385
  className: r,
3381
- ...n
3386
+ ...o
3382
3387
  }) => {
3383
- const { toggle: o, opened: s, triggerRef: a } = Oe(), i = () => {
3384
- o();
3388
+ const { toggle: n, opened: s, triggerRef: a } = Pe(), i = () => {
3389
+ n();
3385
3390
  };
3386
- return /* @__PURE__ */ d.jsx(
3391
+ return /* @__PURE__ */ l.jsx(
3387
3392
  ke,
3388
3393
  {
3389
3394
  ref: a,
@@ -3391,43 +3396,43 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(pt, {
3391
3396
  "aria-expanded": s,
3392
3397
  "aria-haspopup": "true",
3393
3398
  className: r,
3394
- ...n,
3399
+ ...o,
3395
3400
  children: e
3396
3401
  }
3397
3402
  );
3398
- }, Ur = ({
3403
+ }, Yr = ({
3399
3404
  className: e,
3400
3405
  overwriteClassName: r,
3401
- ...n
3406
+ ...o
3402
3407
  }) => {
3403
- const o = r ? e : G(
3408
+ const n = r ? e : P(
3404
3409
  "bg-(--bg-card) px-4 py-2 rounded-lg min-w-30 max-w-60",
3405
3410
  "focus:outline-0",
3406
3411
  e
3407
3412
  );
3408
- return /* @__PURE__ */ d.jsx("input", { placeholder: "input here...", ...n, className: o });
3409
- }, Vr = ({
3413
+ return /* @__PURE__ */ l.jsx("input", { placeholder: "input here...", ...o, className: n });
3414
+ }, Hr = ({
3410
3415
  className: e,
3411
3416
  overwriteClassName: r = !1,
3412
- minimalRowsHeight: n = 1,
3413
- maximalRowsHeight: o = 10,
3417
+ minimalRowsHeight: o = 1,
3418
+ maximalRowsHeight: n = 10,
3414
3419
  onChange: s,
3415
3420
  ...a
3416
3421
  }) => {
3417
- const i = r ? e : G(
3422
+ const i = r ? e : P(
3418
3423
  "bg-(--bg-card) px-4 py-2 rounded-lg min-w-30 max-w-150 min-h-10 resize",
3419
3424
  "focus:outline-0",
3420
3425
  e
3421
- ), u = (l) => {
3422
- const f = l.currentTarget;
3426
+ ), u = (c) => {
3427
+ const f = c.currentTarget;
3423
3428
  f.style.height = "auto";
3424
- const v = parseInt(getComputedStyle(f).lineHeight), k = Math.min(
3425
- Math.max(f.scrollHeight, n * v),
3426
- o * v
3429
+ const w = parseInt(getComputedStyle(f).lineHeight), m = Math.min(
3430
+ Math.max(f.scrollHeight, o * w),
3431
+ n * w
3427
3432
  );
3428
- f.style.height = `${k}px`, s?.(l);
3433
+ f.style.height = `${m}px`, s?.(c);
3429
3434
  };
3430
- return /* @__PURE__ */ d.jsx(
3435
+ return /* @__PURE__ */ l.jsx(
3431
3436
  "textarea",
3432
3437
  {
3433
3438
  placeholder: "write here...",
@@ -3436,22 +3441,56 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(pt, {
3436
3441
  ...a
3437
3442
  }
3438
3443
  );
3439
- }, Wr = ({
3444
+ }, L = [];
3445
+ for (let e = 0; e < 256; ++e)
3446
+ L.push((e + 256).toString(16).slice(1));
3447
+ function xr(e, r = 0) {
3448
+ return (L[e[r + 0]] + L[e[r + 1]] + L[e[r + 2]] + L[e[r + 3]] + "-" + L[e[r + 4]] + L[e[r + 5]] + "-" + L[e[r + 6]] + L[e[r + 7]] + "-" + L[e[r + 8]] + L[e[r + 9]] + "-" + L[e[r + 10]] + L[e[r + 11]] + L[e[r + 12]] + L[e[r + 13]] + L[e[r + 14]] + L[e[r + 15]]).toLowerCase();
3449
+ }
3450
+ let _e;
3451
+ const yr = new Uint8Array(16);
3452
+ function wr() {
3453
+ if (!_e) {
3454
+ if (typeof crypto > "u" || !crypto.getRandomValues)
3455
+ throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
3456
+ _e = crypto.getRandomValues.bind(crypto);
3457
+ }
3458
+ return _e(yr);
3459
+ }
3460
+ const vr = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Be = { randomUUID: vr };
3461
+ function kr(e, r, o) {
3462
+ e = e || {};
3463
+ const n = e.random ?? e.rng?.() ?? wr();
3464
+ if (n.length < 16)
3465
+ throw new Error("Random bytes length must be >= 16");
3466
+ return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, xr(n);
3467
+ }
3468
+ function pt(e, r, o) {
3469
+ return Be.randomUUID && !e ? Be.randomUUID() : kr(e);
3470
+ }
3471
+ const Jr = ({
3440
3472
  container: e,
3441
3473
  children: r,
3442
- portalKey: n,
3443
- className: o = "",
3474
+ portalKey: o,
3475
+ className: n = "",
3444
3476
  zIndex: s,
3445
3477
  style: a,
3446
- ...i
3478
+ id: i,
3479
+ onClick: u,
3480
+ onModalElementClick: c,
3481
+ ...f
3447
3482
  }) => {
3448
- const u = s ? "" : "z-100";
3483
+ const w = s ? "" : "z-100", m = i || pt();
3449
3484
  return Ae(
3450
- /* @__PURE__ */ d.jsx(
3485
+ /* @__PURE__ */ l.jsx(
3451
3486
  "div",
3452
3487
  {
3453
- className: G("fixed top-0 h-screen w-screen", u, o),
3454
- ...i,
3488
+ id: m,
3489
+ className: P("fixed top-0 h-screen w-screen", w, n),
3490
+ onClick: (p) => {
3491
+ u?.(p), p.target.id === m && c(p);
3492
+ },
3493
+ ...f,
3455
3494
  style: {
3456
3495
  zIndex: s,
3457
3496
  ...a
@@ -3460,12 +3499,12 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(pt, {
3460
3499
  }
3461
3500
  ),
3462
3501
  e,
3463
- n
3502
+ o
3464
3503
  );
3465
- }, Yr = ({ size: e = 48, className: r = "" }) => /* @__PURE__ */ d.jsxs(
3504
+ }, Xr = ({ size: e = 48, className: r = "" }) => /* @__PURE__ */ l.jsxs(
3466
3505
  "svg",
3467
3506
  {
3468
- className: G("animate-spin text-(--bg-smooth-light)", r),
3507
+ className: P("animate-spin text-(--bg-smooth-light)", r),
3469
3508
  style: {
3470
3509
  height: e + "px",
3471
3510
  width: e + "px"
@@ -3474,8 +3513,8 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(pt, {
3474
3513
  fill: "none",
3475
3514
  viewBox: "0 0 24 24",
3476
3515
  children: [
3477
- /* @__PURE__ */ d.jsx("circle", { cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "4" }),
3478
- /* @__PURE__ */ d.jsx(
3516
+ /* @__PURE__ */ l.jsx("circle", { cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "4" }),
3517
+ /* @__PURE__ */ l.jsx(
3479
3518
  "path",
3480
3519
  {
3481
3520
  fill: "var(--fg-text)",
@@ -3484,15 +3523,15 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(pt, {
3484
3523
  )
3485
3524
  ]
3486
3525
  }
3487
- ), ce = 8, Hr = ({
3526
+ ), ce = 8, qr = ({
3488
3527
  value: e,
3489
3528
  height: r = 24,
3490
- showPercentage: n = !1,
3491
- className: o
3529
+ showPercentage: o = !1,
3530
+ className: n
3492
3531
  }) => {
3493
3532
  const s = Math.round(e);
3494
- return /* @__PURE__ */ d.jsx("div", { className: G("w-full", o), children: /* @__PURE__ */ d.jsxs("div", { className: "relative w-full", style: { height: r }, children: [
3495
- /* @__PURE__ */ d.jsx(
3533
+ return /* @__PURE__ */ l.jsx("div", { className: P("w-full", n), children: /* @__PURE__ */ l.jsxs("div", { className: "relative w-full", style: { height: r }, children: [
3534
+ /* @__PURE__ */ l.jsx(
3496
3535
  "svg",
3497
3536
  {
3498
3537
  width: "100%",
@@ -3501,10 +3540,10 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(pt, {
3501
3540
  viewBox: `0 0 100 ${r}`,
3502
3541
  preserveAspectRatio: "none",
3503
3542
  className: "absolute top-0 left-0",
3504
- children: /* @__PURE__ */ d.jsx("rect", { width: "100", height: r, fill: "var(--bg-smooth-ce)" })
3543
+ children: /* @__PURE__ */ l.jsx("rect", { width: "100", height: r, fill: "var(--bg-smooth-ce)" })
3505
3544
  }
3506
3545
  ),
3507
- /* @__PURE__ */ d.jsx(
3546
+ /* @__PURE__ */ l.jsx(
3508
3547
  "div",
3509
3548
  {
3510
3549
  className: "absolute top-0 left-0 h-full overflow-hidden transition-all duration-300",
@@ -3512,14 +3551,14 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(pt, {
3512
3551
  width: `${e}%`,
3513
3552
  borderRadius: ce
3514
3553
  },
3515
- children: /* @__PURE__ */ d.jsx(
3554
+ children: /* @__PURE__ */ l.jsx(
3516
3555
  "svg",
3517
3556
  {
3518
3557
  width: "100%",
3519
3558
  height: r,
3520
3559
  viewBox: `0 0 100 ${r}`,
3521
3560
  preserveAspectRatio: "none",
3522
- children: /* @__PURE__ */ d.jsx(
3561
+ children: /* @__PURE__ */ l.jsx(
3523
3562
  "rect",
3524
3563
  {
3525
3564
  width: "100",
@@ -3532,16 +3571,16 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(pt, {
3532
3571
  )
3533
3572
  }
3534
3573
  ),
3535
- n && /* @__PURE__ */ d.jsx("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ d.jsxs("span", { className: "bg-(--fg-card) py-1 px-3 rounded text-(--fg-text)", children: [
3574
+ o && /* @__PURE__ */ l.jsx("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ l.jsxs("span", { className: "bg-(--fg-card) py-1 px-3 rounded text-(--fg-text)", children: [
3536
3575
  s,
3537
3576
  "%"
3538
3577
  ] }) })
3539
3578
  ] }) });
3540
- }, Jr = ({
3579
+ }, Zr = ({
3541
3580
  className: e,
3542
3581
  height: r
3543
- }) => /* @__PURE__ */ d.jsx("div", { className: G("w-full", e), children: /* @__PURE__ */ d.jsxs("div", { className: "relative w-full", style: { height: r }, children: [
3544
- /* @__PURE__ */ d.jsx(
3582
+ }) => /* @__PURE__ */ l.jsx("div", { className: P("w-full", e), children: /* @__PURE__ */ l.jsxs("div", { className: "relative w-full", style: { height: r }, children: [
3583
+ /* @__PURE__ */ l.jsx(
3545
3584
  "svg",
3546
3585
  {
3547
3586
  width: "100%",
@@ -3550,10 +3589,10 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(pt, {
3550
3589
  viewBox: `0 0 100 ${r}`,
3551
3590
  preserveAspectRatio: "none",
3552
3591
  className: "absolute top-0 left-0",
3553
- children: /* @__PURE__ */ d.jsx("rect", { width: "100", height: r, fill: "var(--bg-smooth-ce)" })
3592
+ children: /* @__PURE__ */ l.jsx("rect", { width: "100", height: r, fill: "var(--bg-smooth-ce)" })
3554
3593
  }
3555
3594
  ),
3556
- /* @__PURE__ */ d.jsx(
3595
+ /* @__PURE__ */ l.jsx(
3557
3596
  "div",
3558
3597
  {
3559
3598
  className: "animate-(--animate-indeterminate-3s) h-full overflow-hidden transition-all duration-300",
@@ -3561,14 +3600,14 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(pt, {
3561
3600
  width: "20%",
3562
3601
  borderRadius: ce
3563
3602
  },
3564
- children: /* @__PURE__ */ d.jsx(
3603
+ children: /* @__PURE__ */ l.jsx(
3565
3604
  "svg",
3566
3605
  {
3567
3606
  width: "100%",
3568
3607
  height: r,
3569
3608
  viewBox: `0 0 100 ${r}`,
3570
3609
  preserveAspectRatio: "none",
3571
- children: /* @__PURE__ */ d.jsx(
3610
+ children: /* @__PURE__ */ l.jsx(
3572
3611
  "rect",
3573
3612
  {
3574
3613
  width: "100",
@@ -3581,86 +3620,86 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(pt, {
3581
3620
  )
3582
3621
  }
3583
3622
  )
3584
- ] }) }), Xr = ({
3623
+ ] }) }), Kr = ({
3585
3624
  type: e = "pulse",
3586
3625
  size: r = 6,
3587
- elements: n = 3,
3588
- duration: o = 1,
3626
+ elements: o = 3,
3627
+ duration: n = 1,
3589
3628
  color: s = "var(--bg-smooth)",
3590
3629
  animation: a,
3591
3630
  delay: i = 0.1,
3592
3631
  container: u,
3593
- autoPaddingDisabled: l = !1
3632
+ autoPaddingDisabled: c = !1
3594
3633
  }) => {
3595
- const f = e === "orbit" ? "absolute" : "", v = l ? {} : { padding: r * 2 }, k = a ? `var(${a})` : `var(--animate-ellipse-${e})`;
3596
- if (n <= 0)
3634
+ const f = e === "orbit" ? "absolute" : "", w = c ? {} : { padding: r * 2 }, m = a ? `var(${a})` : `var(--animate-ellipse-${e})`;
3635
+ if (o <= 0)
3597
3636
  throw new Error("Elements can not be zero");
3598
- if (n > 12)
3637
+ if (o > 12)
3599
3638
  throw new Error("Element can not be more than 12");
3600
- const j = new Array(n).fill(n).map((g, R) => /* @__PURE__ */ d.jsx(
3639
+ const p = new Array(o).fill(o).map((y, E) => /* @__PURE__ */ l.jsx(
3601
3640
  ft,
3602
3641
  {
3603
3642
  size: r,
3604
3643
  fill: s,
3605
3644
  style: {
3606
- animation: k,
3607
- animationDuration: o + "s",
3608
- animationDelay: `${i * R}s`
3645
+ animation: m,
3646
+ animationDuration: n + "s",
3647
+ animationDelay: `${i * E}s`
3609
3648
  },
3610
3649
  className: f
3611
3650
  },
3612
- g + R
3651
+ y + E
3613
3652
  ));
3614
- return u ? /* @__PURE__ */ d.jsx(u, { children: j }) : /* @__PURE__ */ d.jsx("div", { className: "flex flex-row gap-2 w-fit h-fit", style: v, children: j });
3615
- }, hr = 12, xr = 8, qr = ({
3653
+ return u ? /* @__PURE__ */ l.jsx(u, { children: p }) : /* @__PURE__ */ l.jsx("div", { className: "flex flex-row gap-2 w-fit h-fit", style: w, children: p });
3654
+ }, jr = 12, Er = 8, Qr = ({
3616
3655
  inputId: e,
3617
3656
  inputName: r,
3618
- dangerousDisableError: n = !1,
3619
- style: o,
3657
+ dangerousDisableError: o = !1,
3658
+ style: n,
3620
3659
  className: s,
3621
3660
  onClick: a,
3622
3661
  radioSize: i = 24,
3623
3662
  checked: u = !1,
3624
- ...l
3663
+ ...c
3625
3664
  }) => {
3626
- const [f, v] = ie(u);
3627
- i < hr && !n && console.error(
3665
+ const [f, w] = Q(u);
3666
+ i < jr && !o && console.error(
3628
3667
  "radio size less than minimal, set radioSize = 12 or more too resolve"
3629
3668
  );
3630
- const k = i * 4, j = k - xr * 2 - i, g = f ? "bg-(--bg-card)" : "bg-(--bg-section)", R = f ? "bg-(--fg-default)" : "bg-(--fg-mini-text)", _ = f ? j : 0;
3631
- return /* @__PURE__ */ d.jsxs(
3669
+ const m = i * 4, p = m - Er * 2 - i, y = f ? "bg-(--bg-card)" : "bg-(--bg-section)", E = f ? "bg-(--fg-default)" : "bg-(--fg-mini-text)", N = f ? p : 0;
3670
+ return /* @__PURE__ */ l.jsxs(
3632
3671
  "div",
3633
3672
  {
3634
3673
  style: {
3635
- width: `${k}px`,
3636
- ...o
3674
+ width: `${m}px`,
3675
+ ...n
3637
3676
  },
3638
- className: G(
3677
+ className: P(
3639
3678
  "rounded-[200px] py-[6px] px-[8px] cursor-pointer duration-300",
3640
- g,
3679
+ y,
3641
3680
  "hover:bg-(--fg-card)",
3642
3681
  s
3643
3682
  ),
3644
- onClick: (S) => {
3645
- v(!f), a?.(S);
3683
+ onClick: (R) => {
3684
+ w(!f), a?.(R);
3646
3685
  },
3647
- ...l,
3686
+ ...c,
3648
3687
  children: [
3649
- /* @__PURE__ */ d.jsx(
3688
+ /* @__PURE__ */ l.jsx(
3650
3689
  "div",
3651
3690
  {
3652
3691
  className: [
3653
3692
  "relative duration-300 rounded-[100%]",
3654
- R
3693
+ E
3655
3694
  ].join(" "),
3656
3695
  style: {
3657
3696
  height: `${i}px`,
3658
3697
  width: `${i}px`,
3659
- left: `${_}px`
3698
+ left: `${N}px`
3660
3699
  }
3661
3700
  }
3662
3701
  ),
3663
- /* @__PURE__ */ d.jsx(
3702
+ /* @__PURE__ */ l.jsx(
3664
3703
  "input",
3665
3704
  {
3666
3705
  name: r,
@@ -3672,56 +3711,30 @@ const Ir = ({ actived: e, children: r, name: n }) => /* @__PURE__ */ d.jsx(pt, {
3672
3711
  ]
3673
3712
  }
3674
3713
  );
3675
- }, Zr = ({
3714
+ }, eo = ({
3676
3715
  flexDirection: e = "row",
3677
3716
  className: r,
3678
- ...n
3717
+ ...o
3679
3718
  }) => {
3680
- const o = e === "col" ? "flex-col" : "flex-row";
3681
- return /* @__PURE__ */ d.jsx(
3719
+ const n = e === "col" ? "flex-col" : "flex-row";
3720
+ return /* @__PURE__ */ l.jsx(
3682
3721
  "div",
3683
3722
  {
3684
- ...n,
3685
- className: G(
3723
+ ...o,
3724
+ className: P(
3686
3725
  "bg-(image:--image-bg) flex gap-8 px-12 py-4 rounded-lg page",
3687
- o,
3726
+ n,
3688
3727
  r
3689
3728
  )
3690
3729
  }
3691
3730
  );
3692
- }, P = [];
3693
- for (let e = 0; e < 256; ++e)
3694
- P.push((e + 256).toString(16).slice(1));
3695
- function yr(e, r = 0) {
3696
- return (P[e[r + 0]] + P[e[r + 1]] + P[e[r + 2]] + P[e[r + 3]] + "-" + P[e[r + 4]] + P[e[r + 5]] + "-" + P[e[r + 6]] + P[e[r + 7]] + "-" + P[e[r + 8]] + P[e[r + 9]] + "-" + P[e[r + 10]] + P[e[r + 11]] + P[e[r + 12]] + P[e[r + 13]] + P[e[r + 14]] + P[e[r + 15]]).toLowerCase();
3697
- }
3698
- let _e;
3699
- const wr = new Uint8Array(16);
3700
- function vr() {
3701
- if (!_e) {
3702
- if (typeof crypto > "u" || !crypto.getRandomValues)
3703
- throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
3704
- _e = crypto.getRandomValues.bind(crypto);
3705
- }
3706
- return _e(wr);
3707
- }
3708
- const kr = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Ge = { randomUUID: kr };
3709
- function jr(e, r, n) {
3710
- e = e || {};
3711
- const o = e.random ?? e.rng?.() ?? vr();
3712
- if (o.length < 16)
3713
- throw new Error("Random bytes length must be >= 16");
3714
- return o[6] = o[6] & 15 | 64, o[8] = o[8] & 63 | 128, yr(o);
3715
- }
3716
- function Er(e, r, n) {
3717
- return Ge.randomUUID && !e ? Ge.randomUUID() : jr(e);
3718
- }
3719
- var Se = { exports: {} }, be = {}, Be;
3731
+ };
3732
+ var Se = { exports: {} }, ge = {}, Ve;
3720
3733
  function Rr() {
3721
- if (Be) return be;
3722
- Be = 1;
3734
+ if (Ve) return ge;
3735
+ Ve = 1;
3723
3736
  var e = /* @__PURE__ */ Symbol.for("react.transitional.element"), r = /* @__PURE__ */ Symbol.for("react.fragment");
3724
- function n(o, s, a) {
3737
+ function o(n, s, a) {
3725
3738
  var i = null;
3726
3739
  if (a !== void 0 && (i = "" + a), s.key !== void 0 && (i = "" + s.key), "key" in s) {
3727
3740
  a = {};
@@ -3730,13 +3743,13 @@ function Rr() {
3730
3743
  } else a = s;
3731
3744
  return s = a.ref, {
3732
3745
  $$typeof: e,
3733
- type: o,
3746
+ type: n,
3734
3747
  key: i,
3735
3748
  ref: s !== void 0 ? s : null,
3736
3749
  props: a
3737
3750
  };
3738
3751
  }
3739
- return be.Fragment = r, be.jsx = n, be.jsxs = n, be;
3752
+ return ge.Fragment = r, ge.jsx = o, ge.jsxs = o, ge;
3740
3753
  }
3741
3754
  var we = {}, Ue;
3742
3755
  function _r() {
@@ -3744,41 +3757,41 @@ function _r() {
3744
3757
  function e(t) {
3745
3758
  if (t == null) return null;
3746
3759
  if (typeof t == "function")
3747
- return t.$$typeof === ne ? null : t.displayName || t.name || null;
3760
+ return t.$$typeof === se ? null : t.displayName || t.name || null;
3748
3761
  if (typeof t == "string") return t;
3749
3762
  switch (t) {
3750
- case S:
3763
+ case R:
3751
3764
  return "Fragment";
3752
- case $:
3765
+ case M:
3753
3766
  return "Profiler";
3754
3767
  case T:
3755
3768
  return "StrictMode";
3756
- case N:
3769
+ case A:
3757
3770
  return "Suspense";
3758
- case D:
3771
+ case U:
3759
3772
  return "SuspenseList";
3760
- case oe:
3773
+ case ee:
3761
3774
  return "Activity";
3762
3775
  }
3763
3776
  if (typeof t == "object")
3764
3777
  switch (typeof t.tag == "number" && console.error(
3765
3778
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
3766
3779
  ), t.$$typeof) {
3767
- case _:
3780
+ case N:
3768
3781
  return "Portal";
3769
- case L:
3782
+ case G:
3770
3783
  return t.displayName || "Context";
3771
- case I:
3784
+ case F:
3772
3785
  return (t._context.displayName || "Context") + ".Consumer";
3773
- case C:
3774
- var c = t.render;
3775
- return t = t.displayName, t || (t = c.displayName || c.name || "", t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef"), t;
3776
- case w:
3777
- return c = t.displayName || null, c !== null ? c : e(t.type) || "Memo";
3778
- case O:
3779
- c = t._payload, t = t._init;
3786
+ case V:
3787
+ var d = t.render;
3788
+ return t = t.displayName, t || (t = d.displayName || d.name || "", t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef"), t;
3789
+ case j:
3790
+ return d = t.displayName || null, d !== null ? d : e(t.type) || "Memo";
3791
+ case I:
3792
+ d = t._payload, t = t._init;
3780
3793
  try {
3781
- return e(t(c));
3794
+ return e(t(d));
3782
3795
  } catch {
3783
3796
  }
3784
3797
  }
@@ -3787,77 +3800,77 @@ function _r() {
3787
3800
  function r(t) {
3788
3801
  return "" + t;
3789
3802
  }
3790
- function n(t) {
3803
+ function o(t) {
3791
3804
  try {
3792
3805
  r(t);
3793
- var c = !1;
3806
+ var d = !1;
3794
3807
  } catch {
3795
- c = !0;
3808
+ d = !0;
3796
3809
  }
3797
- if (c) {
3798
- c = console;
3799
- var b = c.error, y = typeof Symbol == "function" && Symbol.toStringTag && t[Symbol.toStringTag] || t.constructor.name || "Object";
3800
- return b.call(
3801
- c,
3810
+ if (d) {
3811
+ d = console;
3812
+ var h = d.error, k = typeof Symbol == "function" && Symbol.toStringTag && t[Symbol.toStringTag] || t.constructor.name || "Object";
3813
+ return h.call(
3814
+ d,
3802
3815
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
3803
- y
3816
+ k
3804
3817
  ), r(t);
3805
3818
  }
3806
3819
  }
3807
- function o(t) {
3808
- if (t === S) return "<>";
3809
- if (typeof t == "object" && t !== null && t.$$typeof === O)
3820
+ function n(t) {
3821
+ if (t === R) return "<>";
3822
+ if (typeof t == "object" && t !== null && t.$$typeof === I)
3810
3823
  return "<...>";
3811
3824
  try {
3812
- var c = e(t);
3813
- return c ? "<" + c + ">" : "<...>";
3825
+ var d = e(t);
3826
+ return d ? "<" + d + ">" : "<...>";
3814
3827
  } catch {
3815
3828
  return "<...>";
3816
3829
  }
3817
3830
  }
3818
3831
  function s() {
3819
- var t = V.A;
3832
+ var t = S.A;
3820
3833
  return t === null ? null : t.getOwner();
3821
3834
  }
3822
3835
  function a() {
3823
3836
  return Error("react-stack-top-frame");
3824
3837
  }
3825
3838
  function i(t) {
3826
- if (q.call(t, "key")) {
3827
- var c = Object.getOwnPropertyDescriptor(t, "key").get;
3828
- if (c && c.isReactWarning) return !1;
3839
+ if (z.call(t, "key")) {
3840
+ var d = Object.getOwnPropertyDescriptor(t, "key").get;
3841
+ if (d && d.isReactWarning) return !1;
3829
3842
  }
3830
3843
  return t.key !== void 0;
3831
3844
  }
3832
- function u(t, c) {
3833
- function b() {
3834
- M || (M = !0, console.error(
3845
+ function u(t, d) {
3846
+ function h() {
3847
+ W || (W = !0, console.error(
3835
3848
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
3836
- c
3849
+ d
3837
3850
  ));
3838
3851
  }
3839
- b.isReactWarning = !0, Object.defineProperty(t, "key", {
3840
- get: b,
3852
+ h.isReactWarning = !0, Object.defineProperty(t, "key", {
3853
+ get: h,
3841
3854
  configurable: !0
3842
3855
  });
3843
3856
  }
3844
- function l() {
3857
+ function c() {
3845
3858
  var t = e(this.type);
3846
- return B[t] || (B[t] = !0, console.error(
3859
+ return Y[t] || (Y[t] = !0, console.error(
3847
3860
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
3848
3861
  )), t = this.props.ref, t !== void 0 ? t : null;
3849
3862
  }
3850
- function f(t, c, b, y, U, H) {
3851
- var h = b.ref;
3863
+ function f(t, d, h, k, H, q) {
3864
+ var x = h.ref;
3852
3865
  return t = {
3853
- $$typeof: R,
3866
+ $$typeof: E,
3854
3867
  type: t,
3855
- key: c,
3856
- props: b,
3857
- _owner: y
3858
- }, (h !== void 0 ? h : null) !== null ? Object.defineProperty(t, "ref", {
3868
+ key: d,
3869
+ props: h,
3870
+ _owner: k
3871
+ }, (x !== void 0 ? x : null) !== null ? Object.defineProperty(t, "ref", {
3859
3872
  enumerable: !1,
3860
- get: l
3873
+ get: c
3861
3874
  }) : Object.defineProperty(t, "ref", { enumerable: !1, value: null }), t._store = {}, Object.defineProperty(t._store, "validated", {
3862
3875
  configurable: !1,
3863
3876
  enumerable: !1,
@@ -3872,140 +3885,138 @@ function _r() {
3872
3885
  configurable: !1,
3873
3886
  enumerable: !1,
3874
3887
  writable: !0,
3875
- value: U
3888
+ value: H
3876
3889
  }), Object.defineProperty(t, "_debugTask", {
3877
3890
  configurable: !1,
3878
3891
  enumerable: !1,
3879
3892
  writable: !0,
3880
- value: H
3893
+ value: q
3881
3894
  }), Object.freeze && (Object.freeze(t.props), Object.freeze(t)), t;
3882
3895
  }
3883
- function v(t, c, b, y, U, H) {
3884
- var h = c.children;
3885
- if (h !== void 0)
3886
- if (y)
3887
- if (te(h)) {
3888
- for (y = 0; y < h.length; y++)
3889
- k(h[y]);
3890
- Object.freeze && Object.freeze(h);
3896
+ function w(t, d, h, k, H, q) {
3897
+ var x = d.children;
3898
+ if (x !== void 0)
3899
+ if (k)
3900
+ if (D(x)) {
3901
+ for (k = 0; k < x.length; k++)
3902
+ m(x[k]);
3903
+ Object.freeze && Object.freeze(x);
3891
3904
  } else
3892
3905
  console.error(
3893
3906
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
3894
3907
  );
3895
- else k(h);
3896
- if (q.call(c, "key")) {
3897
- h = e(t);
3898
- var z = Object.keys(c).filter(function(Q) {
3899
- return Q !== "key";
3908
+ else m(x);
3909
+ if (z.call(d, "key")) {
3910
+ x = e(t);
3911
+ var B = Object.keys(d).filter(function(oe) {
3912
+ return oe !== "key";
3900
3913
  });
3901
- y = 0 < z.length ? "{key: someKey, " + z.join(": ..., ") + ": ...}" : "{key: someKey}", K[h + y] || (z = 0 < z.length ? "{" + z.join(": ..., ") + ": ...}" : "{}", console.error(
3914
+ k = 0 < B.length ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}", re[x + k] || (B = 0 < B.length ? "{" + B.join(": ..., ") + ": ...}" : "{}", console.error(
3902
3915
  `A props object containing a "key" prop is being spread into JSX:
3903
3916
  let props = %s;
3904
3917
  <%s {...props} />
3905
3918
  React keys must be passed directly to JSX without using spread:
3906
3919
  let props = %s;
3907
3920
  <%s key={someKey} {...props} />`,
3908
- y,
3909
- h,
3910
- z,
3911
- h
3912
- ), K[h + y] = !0);
3921
+ k,
3922
+ x,
3923
+ B,
3924
+ x
3925
+ ), re[x + k] = !0);
3913
3926
  }
3914
- if (h = null, b !== void 0 && (n(b), h = "" + b), i(c) && (n(c.key), h = "" + c.key), "key" in c) {
3915
- b = {};
3916
- for (var W in c)
3917
- W !== "key" && (b[W] = c[W]);
3918
- } else b = c;
3919
- return h && u(
3920
- b,
3927
+ if (x = null, h !== void 0 && (o(h), x = "" + h), i(d) && (o(d.key), x = "" + d.key), "key" in d) {
3928
+ h = {};
3929
+ for (var X in d)
3930
+ X !== "key" && (h[X] = d[X]);
3931
+ } else h = d;
3932
+ return x && u(
3933
+ h,
3921
3934
  typeof t == "function" ? t.displayName || t.name || "Unknown" : t
3922
3935
  ), f(
3923
3936
  t,
3937
+ x,
3924
3938
  h,
3925
- b,
3926
3939
  s(),
3927
- U,
3928
- H
3940
+ H,
3941
+ q
3929
3942
  );
3930
3943
  }
3931
- function k(t) {
3932
- j(t) ? t._store && (t._store.validated = 1) : typeof t == "object" && t !== null && t.$$typeof === O && (t._payload.status === "fulfilled" ? j(t._payload.value) && t._payload.value._store && (t._payload.value._store.validated = 1) : t._store && (t._store.validated = 1));
3944
+ function m(t) {
3945
+ p(t) ? t._store && (t._store.validated = 1) : typeof t == "object" && t !== null && t.$$typeof === I && (t._payload.status === "fulfilled" ? p(t._payload.value) && t._payload.value._store && (t._payload.value._store.validated = 1) : t._store && (t._store.validated = 1));
3933
3946
  }
3934
- function j(t) {
3935
- return typeof t == "object" && t !== null && t.$$typeof === R;
3947
+ function p(t) {
3948
+ return typeof t == "object" && t !== null && t.$$typeof === E;
3936
3949
  }
3937
- var g = He, R = /* @__PURE__ */ Symbol.for("react.transitional.element"), _ = /* @__PURE__ */ Symbol.for("react.portal"), S = /* @__PURE__ */ Symbol.for("react.fragment"), T = /* @__PURE__ */ Symbol.for("react.strict_mode"), $ = /* @__PURE__ */ Symbol.for("react.profiler"), I = /* @__PURE__ */ Symbol.for("react.consumer"), L = /* @__PURE__ */ Symbol.for("react.context"), C = /* @__PURE__ */ Symbol.for("react.forward_ref"), N = /* @__PURE__ */ Symbol.for("react.suspense"), D = /* @__PURE__ */ Symbol.for("react.suspense_list"), w = /* @__PURE__ */ Symbol.for("react.memo"), O = /* @__PURE__ */ Symbol.for("react.lazy"), oe = /* @__PURE__ */ Symbol.for("react.activity"), ne = /* @__PURE__ */ Symbol.for("react.client.reference"), V = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, q = Object.prototype.hasOwnProperty, te = Array.isArray, F = console.createTask ? console.createTask : function() {
3950
+ var y = He, E = /* @__PURE__ */ Symbol.for("react.transitional.element"), N = /* @__PURE__ */ Symbol.for("react.portal"), R = /* @__PURE__ */ Symbol.for("react.fragment"), T = /* @__PURE__ */ Symbol.for("react.strict_mode"), M = /* @__PURE__ */ Symbol.for("react.profiler"), F = /* @__PURE__ */ Symbol.for("react.consumer"), G = /* @__PURE__ */ Symbol.for("react.context"), V = /* @__PURE__ */ Symbol.for("react.forward_ref"), A = /* @__PURE__ */ Symbol.for("react.suspense"), U = /* @__PURE__ */ Symbol.for("react.suspense_list"), j = /* @__PURE__ */ Symbol.for("react.memo"), I = /* @__PURE__ */ Symbol.for("react.lazy"), ee = /* @__PURE__ */ Symbol.for("react.activity"), se = /* @__PURE__ */ Symbol.for("react.client.reference"), S = y.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, z = Object.prototype.hasOwnProperty, D = Array.isArray, O = console.createTask ? console.createTask : function() {
3938
3951
  return null;
3939
3952
  };
3940
- g = {
3953
+ y = {
3941
3954
  react_stack_bottom_frame: function(t) {
3942
3955
  return t();
3943
3956
  }
3944
3957
  };
3945
- var M, B = {}, x = g.react_stack_bottom_frame.bind(
3946
- g,
3958
+ var W, Y = {}, v = y.react_stack_bottom_frame.bind(
3959
+ y,
3947
3960
  a
3948
- )(), Z = F(o(a)), K = {};
3949
- we.Fragment = S, we.jsx = function(t, c, b) {
3950
- var y = 1e4 > V.recentlyCreatedOwnerStacks++;
3951
- return v(
3961
+ )(), te = O(n(a)), re = {};
3962
+ we.Fragment = R, we.jsx = function(t, d, h) {
3963
+ var k = 1e4 > S.recentlyCreatedOwnerStacks++;
3964
+ return w(
3952
3965
  t,
3953
- c,
3954
- b,
3966
+ d,
3967
+ h,
3955
3968
  !1,
3956
- y ? Error("react-stack-top-frame") : x,
3957
- y ? F(o(t)) : Z
3969
+ k ? Error("react-stack-top-frame") : v,
3970
+ k ? O(n(t)) : te
3958
3971
  );
3959
- }, we.jsxs = function(t, c, b) {
3960
- var y = 1e4 > V.recentlyCreatedOwnerStacks++;
3961
- return v(
3972
+ }, we.jsxs = function(t, d, h) {
3973
+ var k = 1e4 > S.recentlyCreatedOwnerStacks++;
3974
+ return w(
3962
3975
  t,
3963
- c,
3964
- b,
3976
+ d,
3977
+ h,
3965
3978
  !0,
3966
- y ? Error("react-stack-top-frame") : x,
3967
- y ? F(o(t)) : Z
3979
+ k ? Error("react-stack-top-frame") : v,
3980
+ k ? O(n(t)) : te
3968
3981
  );
3969
3982
  };
3970
3983
  })()), we;
3971
3984
  }
3972
- var Ve;
3985
+ var We;
3973
3986
  function Sr() {
3974
- return Ve || (Ve = 1, process.env.NODE_ENV === "production" ? Se.exports = Rr() : Se.exports = _r()), Se.exports;
3987
+ return We || (We = 1, process.env.NODE_ENV === "production" ? Se.exports = Rr() : Se.exports = _r()), Se.exports;
3975
3988
  }
3976
- var Te = Sr();
3977
- const We = 2, Ye = 2, Tr = ({
3989
+ var Ne = Sr();
3990
+ const Ye = 2, Nr = 2, Ce = ({
3978
3991
  size: e = 24,
3979
3992
  color: r = "#D9D9D9",
3980
- constantStrokeWidth: n = !1,
3981
- dangerousIgnoreError: o = !1,
3982
- className: s,
3993
+ constantStrokeWidth: o = !1,
3994
+ className: n,
3995
+ stokeWidth: s = Nr,
3983
3996
  ...a
3984
3997
  }) => {
3985
- const i = e - We, u = i + We, l = u / 2, f = n || i >= 24 ? Ye : Ye / 2, v = (i - f) / 2, k = l - v, j = l - f / 2;
3986
- if (i < 12 && !o)
3987
- throw new Error("size of X can not be less than 12");
3988
- const g = (R) => /* @__PURE__ */ Te.jsx(
3998
+ const i = e - Ye, u = i + Ye, c = u / 2, f = o || i > 24 ? s : s / 2, w = (i - f) / 2, m = c - w, p = c - f / 2, y = (E) => /* @__PURE__ */ Ne.jsx(
3989
3999
  "rect",
3990
4000
  {
3991
- x: k,
3992
- y: j,
3993
- width: i,
3994
- height: f,
4001
+ x: m,
4002
+ y: p,
4003
+ ry: f / 2,
3995
4004
  rx: f / 2,
3996
- transform: `rotate(${R} ${l} ${l})`,
4005
+ width: i / 2,
4006
+ height: f,
4007
+ transform: `rotate(${E} ${c} ${c})`,
3997
4008
  fill: r
3998
4009
  }
3999
4010
  );
4000
- return /* @__PURE__ */ Te.jsx(
4011
+ return /* @__PURE__ */ Ne.jsx(
4001
4012
  "div",
4002
4013
  {
4003
4014
  className: [
4004
4015
  "block h-fit w-fit",
4005
- s
4016
+ n
4006
4017
  ].join(" "),
4007
4018
  ...a,
4008
- children: /* @__PURE__ */ Te.jsxs(
4019
+ children: /* @__PURE__ */ Ne.jsxs(
4009
4020
  "svg",
4010
4021
  {
4011
4022
  width: u,
@@ -4014,198 +4025,426 @@ const We = 2, Ye = 2, Tr = ({
4014
4025
  fill: "none",
4015
4026
  xmlns: "http://www.w3.org/2000/svg",
4016
4027
  children: [
4017
- g(45),
4018
- g(-45)
4028
+ y(45),
4029
+ y(135),
4030
+ y(-135),
4031
+ y(-45)
4019
4032
  ]
4020
4033
  }
4021
4034
  )
4022
4035
  }
4023
4036
  );
4024
- }, Cr = ({
4037
+ }, Tr = ({
4025
4038
  text: e,
4026
4039
  closed: r = !1,
4027
- className: n = "",
4028
- disablePositionAndInset: o = !1,
4029
- id: s = Er(),
4040
+ className: o = "",
4041
+ disablePositionAndInset: n = !1,
4042
+ id: s = pt(),
4030
4043
  close: a,
4031
- ...i
4032
- }) => /* @__PURE__ */ d.jsxs(
4044
+ closeAll: i,
4045
+ showAll: u,
4046
+ openListButtonVisible: c = !1,
4047
+ count: f,
4048
+ ...w
4049
+ }) => {
4050
+ const m = f && i ? /* @__PURE__ */ l.jsxs(
4051
+ "div",
4052
+ {
4053
+ className: P(
4054
+ "bg-(--bg-card) rounded-lg py-1 px-5",
4055
+ "flex gap-1",
4056
+ "w-fit h-fit text-mini",
4057
+ "noselect"
4058
+ ),
4059
+ children: [
4060
+ /* @__PURE__ */ l.jsxs("span", { children: [
4061
+ "Уведомлений: ",
4062
+ f
4063
+ ] }),
4064
+ /* @__PURE__ */ l.jsx("span", { onClick: i, className: "cursor-pointer", children: "Закрыть всё? ×" })
4065
+ ]
4066
+ }
4067
+ ) : null, p = c && u ? /* @__PURE__ */ l.jsx("div", { className: P("bg-(--bg-card) rounded-lg py-1 px-5", "text-mini"), children: /* @__PURE__ */ l.jsx("span", { className: "cursor-pointer", onClick: u, children: "Открыть список" }) }) : null;
4068
+ return /* @__PURE__ */ l.jsxs(
4069
+ "div",
4070
+ {
4071
+ className: P(
4072
+ !n && "fixed left-1/2 -translate-x-1/2 top-3/4",
4073
+ "transition-all duration-500 ease-out",
4074
+ "flex flex-col gap-2",
4075
+ r ? "opacity-0 scale-95 -translate-y-2 pointer-events-none" : "opacity-100 scale-100 translate-y-0",
4076
+ o
4077
+ ),
4078
+ ...w,
4079
+ children: [
4080
+ /* @__PURE__ */ l.jsxs(
4081
+ "div",
4082
+ {
4083
+ className: P(
4084
+ "bg-(--bg-card) text-base rounded-lg py-2 px-5",
4085
+ "flex gap-3 items-center shadow-lg"
4086
+ ),
4087
+ children: [
4088
+ typeof e == "string" ? /* @__PURE__ */ l.jsx("span", { children: e }) : e,
4089
+ /* @__PURE__ */ l.jsx(
4090
+ Ce,
4091
+ {
4092
+ className: "cursor-pointer hover:opacity-70 transition-opacity",
4093
+ onClick: () => a(s)
4094
+ }
4095
+ )
4096
+ ]
4097
+ }
4098
+ ),
4099
+ /* @__PURE__ */ l.jsxs("div", { className: "flex justify-center items-center gap-1 self-end", children: [
4100
+ p,
4101
+ m
4102
+ ] })
4103
+ ]
4104
+ }
4105
+ );
4106
+ }, Cr = ({
4107
+ showed: e,
4108
+ notifications: r,
4109
+ close: o,
4110
+ setShowed: n,
4111
+ className: s,
4112
+ heightMultipliyer: a = 4.5,
4113
+ maxHeightTwClass: i = "max-h-100",
4114
+ maxWidthTwClass: u = "max-w-160",
4115
+ notificationComponentClassName: c,
4116
+ ...f
4117
+ }) => /* @__PURE__ */ l.jsxs(
4033
4118
  "div",
4034
4119
  {
4035
- className: G(
4036
- !o && "fixed left-1/2 -translate-x-1/2 top-3/4",
4037
- "bg-(--bg-card) text-base rounded-lg py-2 px-5",
4038
- "flex gap-3 items-center shadow-lg",
4039
- "transition-all duration-500 ease-out",
4040
- r ? "opacity-0 scale-95 -translate-y-2 pointer-events-none" : "opacity-100 scale-100 translate-y-0",
4041
- n
4120
+ className: P(
4121
+ "bg-(--bg-smooth) py-2 px-4 rounded-xl text-base",
4122
+ "fixed left-1 bottom-1",
4123
+ "transition-all duration-400 ease-out",
4124
+ e ? "opacity-100 scale-100 translate-x-0" : "opacity-0 scale-95 -translate-x-20 pointer-events-none",
4125
+ s
4042
4126
  ),
4043
- ...i,
4127
+ ...f,
4044
4128
  children: [
4045
- typeof e == "string" ? /* @__PURE__ */ d.jsx("span", { children: e }) : e,
4046
- /* @__PURE__ */ d.jsx(
4047
- Tr,
4129
+ /* @__PURE__ */ l.jsxs("div", { className: "flex gap-2 items-center", children: [
4130
+ /* @__PURE__ */ l.jsx("h3", { children: "Ваши уведомления" }),
4131
+ /* @__PURE__ */ l.jsx(
4132
+ Ce,
4133
+ {
4134
+ className: "cursor-pointer",
4135
+ onClick: () => n(!1)
4136
+ }
4137
+ )
4138
+ ] }),
4139
+ /* @__PURE__ */ l.jsx(
4140
+ "div",
4048
4141
  {
4049
- className: "cursor-pointer hover:opacity-70 transition-opacity",
4050
- onClick: () => a(s)
4142
+ className: P(
4143
+ "transition-[height] duration-400 ease-in-out",
4144
+ "w-120 overflow-auto pr-2",
4145
+ "flex flex-col gap-2",
4146
+ "min-h-30 min-w-40",
4147
+ "resize",
4148
+ i,
4149
+ u,
4150
+ c
4151
+ ),
4152
+ style: {
4153
+ height: `calc(var(--spacing) * ${r.length <= 3 ? 3 : r.length} * ${a})`
4154
+ },
4155
+ children: r.map((w, m) => /* @__PURE__ */ l.jsxs(
4156
+ "div",
4157
+ {
4158
+ className: P(
4159
+ "bg-(--bg-card) py-1 px-2 rounded-lg",
4160
+ "flex gap-2 w-full justify-between"
4161
+ ),
4162
+ children: [
4163
+ /* @__PURE__ */ l.jsxs("span", { children: [
4164
+ w.position,
4165
+ "."
4166
+ ] }),
4167
+ /* @__PURE__ */ l.jsx("div", { children: w.text }),
4168
+ /* @__PURE__ */ l.jsx(
4169
+ Ce,
4170
+ {
4171
+ className: "cursor-pointer",
4172
+ onClick: () => o(w.id)
4173
+ }
4174
+ )
4175
+ ]
4176
+ },
4177
+ m
4178
+ ))
4051
4179
  }
4052
4180
  )
4053
4181
  ]
4054
4182
  }
4055
- ), Kr = ({
4183
+ ), to = ({
4056
4184
  duration: e,
4057
4185
  delay: r = 1e3,
4058
- usePortal: n = !0
4186
+ allNotificationsEnabled: o = !0
4059
4187
  }) => {
4060
- const o = Y({}), [s, a] = ie([]), [i, u] = ie(!0), [l, f] = ie(null), v = Y(l), k = Y(0), j = Y(/* @__PURE__ */ new Map()), g = Y(null), R = Y(null), _ = ae(
4061
- (C) => {
4062
- if (!v.current)
4188
+ const n = J({}), [s, a] = Q([]), [i, u] = Q(!1), [c, f] = Q([]), [w, m] = Q(!0), [p, y] = Q(null), E = J(p), N = J(0), R = J(/* @__PURE__ */ new Map()), T = J(null), M = J(null), F = C(
4189
+ (S) => S.text instanceof Function ? S.text({ count: N.current, current: S, queue: c }) : S.text,
4190
+ [c]
4191
+ ), G = C(
4192
+ (S) => {
4193
+ const z = F(S);
4194
+ a((D) => [
4195
+ ...D,
4196
+ { id: S.id, text: z, position: N.current }
4197
+ ]);
4198
+ },
4199
+ [F]
4200
+ ), V = C((S) => {
4201
+ a((z) => z.filter((D) => D.id !== S));
4202
+ }, []), A = C(
4203
+ (S) => {
4204
+ if (!E.current)
4063
4205
  return;
4064
- if (v.current.id !== C)
4065
- return a((D) => D.filter((w) => w.id !== C)), j.current.delete(C);
4066
- u(!0);
4067
- const N = j.current.get(C);
4068
- N && (window.clearTimeout(N), j.current.delete(C)), g.current && window.clearTimeout(g.current), g.current = window.setTimeout(() => {
4069
- a((D) => D.filter((w) => w.id !== C)), f(null), g.current = null;
4206
+ if (E.current.id !== S)
4207
+ return f((D) => D.filter((O) => O.id !== S)), R.current.delete(S);
4208
+ m(!0);
4209
+ const z = R.current.get(S);
4210
+ z && (window.clearTimeout(z), R.current.delete(S)), T.current && window.clearTimeout(T.current), T.current = window.setTimeout(() => {
4211
+ f((D) => D.filter((O) => O.id !== S)), y(null), T.current = null;
4070
4212
  }, r);
4071
4213
  },
4072
- [v, r]
4073
- ), S = ae(() => {
4074
- j.current.forEach(window.clearTimeout), g.current && window.clearTimeout(g.current), l && _(l.id), a([]), u(!0);
4075
- }, [_, l]), T = ae(() => {
4076
- if (s.length === 0)
4077
- return f(null);
4078
- const C = s[0];
4079
- f(C), u(!1);
4080
- const N = window.setTimeout(() => {
4081
- _(C.id);
4214
+ [E, r]
4215
+ ), U = C(() => {
4216
+ R.current.forEach(window.clearTimeout), T.current && window.clearTimeout(T.current), p && A(p.id), f([]), m(!0);
4217
+ }, [A, p]), j = C(() => {
4218
+ if (c.length === 0)
4219
+ return y(null);
4220
+ const S = c[0];
4221
+ y(S), m(!1);
4222
+ const z = window.setTimeout(() => {
4223
+ A(S.id);
4082
4224
  }, e);
4083
- j.current.set(C.id, N);
4084
- }, [_, e, s]), $ = ae(
4085
- (C) => {
4086
- k.current++;
4225
+ R.current.set(S.id, z);
4226
+ }, [A, e, c]), I = C(
4227
+ (S) => {
4228
+ N.current++;
4087
4229
  const D = {
4088
- id: String(k.current),
4089
- text: C,
4090
- close: _
4230
+ id: String(N.current),
4231
+ text: S,
4232
+ close: A,
4233
+ closeAll: U,
4234
+ showAll: () => u(!0),
4235
+ openListButtonVisible: !0
4091
4236
  };
4092
- a((w) => [...w, D]);
4237
+ G(D), f((O) => [...O, D]);
4093
4238
  },
4094
- [_]
4239
+ [G, A, U]
4095
4240
  );
4096
4241
  le(() => {
4097
- v.current = l;
4098
- }, [l]), le(() => {
4099
- !l && s.length > 0 && T();
4100
- }, [l, s, T]), le(() => () => {
4101
- j.current.forEach(window.clearTimeout), g.current && window.clearTimeout(g.current);
4242
+ E.current = p;
4243
+ }, [p]), le(() => {
4244
+ !p && c.length > 0 && j();
4245
+ }, [p, c, j]), le(() => () => {
4246
+ R.current.forEach(window.clearTimeout), T.current && window.clearTimeout(T.current);
4247
+ }, []), qe(() => {
4248
+ M.current = document;
4102
4249
  }, []);
4103
- const I = /* @__PURE__ */ d.jsx("div", { className: "fixed w-0 h-0", children: /* @__PURE__ */ d.jsx(
4104
- Cr,
4105
- {
4106
- ...l || {},
4107
- close: _,
4108
- closed: i,
4109
- text: l ? l.text instanceof Function ? l.text({ count: k.current, current: l, queue: s }) : l.text : null
4110
- }
4111
- ) });
4112
- return qe(() => {
4113
- R.current = document;
4114
- }, []), {
4115
- NotificationComponent: n ? R.current ? Ae(I, R.current.body) : null : I,
4116
- notifications: o,
4117
- notificate: $,
4118
- count: k,
4119
- queue: s,
4120
- current: l,
4121
- closeAll: S,
4122
- close: _
4250
+ const ee = /* @__PURE__ */ l.jsxs("div", { className: "fixed w-0 h-0", children: [
4251
+ /* @__PURE__ */ l.jsx(
4252
+ Tr,
4253
+ {
4254
+ ...p || {},
4255
+ close: A,
4256
+ closed: w,
4257
+ count: c.length,
4258
+ closeAll: U,
4259
+ text: p ? F(p) : null
4260
+ }
4261
+ ),
4262
+ o && /* @__PURE__ */ l.jsx(
4263
+ Cr,
4264
+ {
4265
+ notifications: s,
4266
+ showed: i,
4267
+ closeAll: U,
4268
+ setShowed: (S) => u(S),
4269
+ close: V
4270
+ }
4271
+ )
4272
+ ] });
4273
+ return {
4274
+ NotificationComponent: M.current ? Ae(ee, M.current.body) : null,
4275
+ notifications: n,
4276
+ notificate: I,
4277
+ count: N,
4278
+ queue: c,
4279
+ current: p,
4280
+ setLastNotificationsShowed: u,
4281
+ closeLastNotification: V,
4282
+ closeAll: U,
4283
+ close: A
4123
4284
  };
4124
- }, Ar = () => /* @__PURE__ */ d.jsxs("div", { className: "flex flex-col justify-center gap-4", children: [
4125
- Object.keys(Ke).map((e) => /* @__PURE__ */ d.jsxs(ke, { variant: e, children: [
4285
+ }, Ar = () => /* @__PURE__ */ l.jsxs("div", { className: "flex flex-col justify-center gap-4", children: [
4286
+ Object.keys(Ke).map((e) => /* @__PURE__ */ l.jsxs(ke, { variant: e, children: [
4126
4287
  "Button ",
4127
4288
  e
4128
4289
  ] }, e)),
4129
- /* @__PURE__ */ d.jsx(ke, { disabled: !0, children: "Button Disabled" })
4130
- ] }), Nr = () => /* @__PURE__ */ d.jsxs("div", { className: "flex flex-col gap-2 rounded-lg", children: [
4131
- /* @__PURE__ */ d.jsxs("div", { children: [
4132
- /* @__PURE__ */ d.jsxs("h1", { children: [
4290
+ /* @__PURE__ */ l.jsx(ke, { disabled: !0, children: "Button Disabled" })
4291
+ ] }), Or = () => /* @__PURE__ */ l.jsxs("div", { className: "flex flex-col gap-2 rounded-lg", children: [
4292
+ /* @__PURE__ */ l.jsxs("div", { children: [
4293
+ /* @__PURE__ */ l.jsxs("h1", { children: [
4133
4294
  "H1 text, ",
4134
- X.h1
4295
+ K.h1
4135
4296
  ] }),
4136
- /* @__PURE__ */ d.jsx("span", { children: "Пока не знаю" })
4297
+ /* @__PURE__ */ l.jsx("span", { children: "Пока не знаю" })
4137
4298
  ] }),
4138
- /* @__PURE__ */ d.jsxs("div", { children: [
4139
- /* @__PURE__ */ d.jsxs("h2", { children: [
4299
+ /* @__PURE__ */ l.jsxs("div", { children: [
4300
+ /* @__PURE__ */ l.jsxs("h2", { children: [
4140
4301
  "H2 text, ",
4141
- X.h2
4302
+ K.h2
4142
4303
  ] }),
4143
- /* @__PURE__ */ d.jsx("span", { children: "Пока не знаю" })
4304
+ /* @__PURE__ */ l.jsx("span", { children: "Пока не знаю" })
4144
4305
  ] }),
4145
- /* @__PURE__ */ d.jsxs("div", { children: [
4146
- /* @__PURE__ */ d.jsxs("h3", { children: [
4306
+ /* @__PURE__ */ l.jsxs("div", { children: [
4307
+ /* @__PURE__ */ l.jsxs("h3", { children: [
4147
4308
  "H3 text, ",
4148
- X.h3
4309
+ K.h3
4149
4310
  ] }),
4150
- /* @__PURE__ */ d.jsx("span", { children: "Пока не знаю" })
4311
+ /* @__PURE__ */ l.jsx("span", { children: "Пока не знаю" })
4151
4312
  ] }),
4152
- /* @__PURE__ */ d.jsxs("div", { children: [
4153
- /* @__PURE__ */ d.jsxs("h4", { children: [
4313
+ /* @__PURE__ */ l.jsxs("div", { children: [
4314
+ /* @__PURE__ */ l.jsxs("h4", { children: [
4154
4315
  "H4 text, ",
4155
- X.h4
4316
+ K.h4
4156
4317
  ] }),
4157
- /* @__PURE__ */ d.jsx("span", { children: "Пока не знаю" })
4318
+ /* @__PURE__ */ l.jsx("span", { children: "Пока не знаю" })
4158
4319
  ] }),
4159
- /* @__PURE__ */ d.jsxs("div", { children: [
4160
- /* @__PURE__ */ d.jsxs("h5", { children: [
4320
+ /* @__PURE__ */ l.jsxs("div", { children: [
4321
+ /* @__PURE__ */ l.jsxs("h5", { children: [
4161
4322
  "H5 text, ",
4162
- X.h5
4323
+ K.h5
4163
4324
  ] }),
4164
- /* @__PURE__ */ d.jsx("span", { children: "Пока не знаю" })
4325
+ /* @__PURE__ */ l.jsx("span", { children: "Пока не знаю" })
4165
4326
  ] }),
4166
- /* @__PURE__ */ d.jsxs("div", { className: "flex flex-col", children: [
4167
- /* @__PURE__ */ d.jsxs("span", { children: [
4327
+ /* @__PURE__ */ l.jsxs("div", { className: "flex flex-col", children: [
4328
+ /* @__PURE__ */ l.jsxs("span", { children: [
4168
4329
  "Base text, ",
4169
- X.base
4330
+ K.base
4170
4331
  ] }),
4171
- /* @__PURE__ */ d.jsx("span", { children: "Пока не знаю" })
4332
+ /* @__PURE__ */ l.jsx("span", { children: "Пока не знаю" })
4172
4333
  ] }),
4173
- /* @__PURE__ */ d.jsxs("div", { className: "flex flex-col", children: [
4174
- /* @__PURE__ */ d.jsxs("span", { className: "text-mini", children: [
4334
+ /* @__PURE__ */ l.jsxs("div", { className: "flex flex-col", children: [
4335
+ /* @__PURE__ */ l.jsxs("span", { className: "text-mini", children: [
4175
4336
  "Mini text, ",
4176
- X.mini
4337
+ K.mini
4177
4338
  ] }),
4178
- /* @__PURE__ */ d.jsx("span", { children: "Пока не знаю" })
4339
+ /* @__PURE__ */ l.jsx("span", { children: "Пока не знаю" })
4179
4340
  ] })
4180
- ] }), Qr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4341
+ ] }), ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4181
4342
  __proto__: null,
4182
4343
  Button: Ar,
4183
- Text: Nr
4184
- }, Symbol.toStringTag, { value: "Module" }));
4344
+ Text: Or
4345
+ }, Symbol.toStringTag, { value: "Module" })), Pr = (...e) => {
4346
+ const r = J({}), o = C(
4347
+ (m) => {
4348
+ const p = e[m];
4349
+ if (!p)
4350
+ throw new Error("out of array range");
4351
+ return p;
4352
+ },
4353
+ [e]
4354
+ ), n = (m) => r.current[m], s = C(
4355
+ (m, p) => o(m)[1]((E) => [...E, p.id]),
4356
+ [o]
4357
+ ), a = C(
4358
+ (m, p) => (r.current[p.id] = p, s(m, p)),
4359
+ [s]
4360
+ ), i = C(
4361
+ (m, p) => o(m)[1]((E) => E.filter((N) => N !== p)),
4362
+ [o]
4363
+ ), u = C(
4364
+ (m, p) => (delete r.current[p], i(m, p)),
4365
+ [i]
4366
+ ), c = C(
4367
+ (m) => o(m)[1]([]),
4368
+ [o]
4369
+ ), f = C(() => {
4370
+ r.current = {};
4371
+ }, []), w = C(() => {
4372
+ e.forEach((m) => m[1]([])), f();
4373
+ }, [f, e]);
4374
+ return {
4375
+ addItemToState: s,
4376
+ addNewItem: a,
4377
+ removeItemFromState: i,
4378
+ remoteItem: u,
4379
+ clearState: c,
4380
+ clearItems: f,
4381
+ clearAll: w,
4382
+ getItem: n,
4383
+ states: e,
4384
+ items: r
4385
+ };
4386
+ }, Ir = () => {
4387
+ const e = Q([]), r = Pr(e), o = C(
4388
+ (i) => r.getItem(i),
4389
+ [r]
4390
+ ), n = C(
4391
+ (i) => r.addNewItem(0, i),
4392
+ [r]
4393
+ ), s = C(
4394
+ (i) => r.remoteItem(0, i),
4395
+ [r]
4396
+ ), a = C(() => r.clearAll(), [r]);
4397
+ return {
4398
+ getItem: o,
4399
+ addItem: n,
4400
+ remoteItem: s,
4401
+ clear: a,
4402
+ store: e[0],
4403
+ items: r.items
4404
+ };
4405
+ }, oo = () => {
4406
+ const e = Ir(), r = J(0), o = C(
4407
+ (s) => {
4408
+ const a = String(r.current);
4409
+ return r.current++, e.addItem({ id: a, item: s });
4410
+ },
4411
+ [e]
4412
+ ), n = C(
4413
+ (s) => e.getItem(s)?.item,
4414
+ [e]
4415
+ );
4416
+ return {
4417
+ ...e,
4418
+ addItem: o,
4419
+ getItem: n
4420
+ };
4421
+ };
4185
4422
  export {
4186
- Ir as Active,
4187
- Dr as Background,
4423
+ Lr as Active,
4424
+ Fr as Background,
4188
4425
  ke as Button,
4189
- Mr as Checkbox,
4190
- Yr as CircleProgress,
4191
- Lr as Dropdown,
4192
- Gr as DropdownItem,
4193
- Fr as DropdownMenu,
4194
- Br as DropdownTrigger,
4195
- Xr as EllipsisProgress,
4196
- Qr as Guildline,
4197
- Jr as IndeterminateLinearProgress,
4198
- Ur as Input,
4199
- Hr as LinearProgress,
4200
- Wr as Modal,
4201
- Cr as Notification,
4202
- qr as Switch,
4203
- Vr as Textarea,
4204
- zr as VARIABLES,
4205
- Zr as Wrapper,
4426
+ Gr as Checkbox,
4427
+ Xr as CircleProgress,
4428
+ Br as Dropdown,
4429
+ Ur as DropdownItem,
4430
+ Vr as DropdownMenu,
4431
+ Wr as DropdownTrigger,
4432
+ Kr as EllipsisProgress,
4433
+ ro as Guildline,
4434
+ Zr as IndeterminateLinearProgress,
4435
+ Yr as Input,
4436
+ qr as LinearProgress,
4437
+ Jr as Modal,
4438
+ Tr as Notification,
4439
+ Qr as Switch,
4440
+ Hr as Textarea,
4441
+ Dr as VARIABLES,
4442
+ eo as Wrapper,
4206
4443
  ce as borderRadius,
4207
- G as cn,
4208
- $r as createContext,
4209
- Kr as useNotifications
4444
+ P as cn,
4445
+ Mr as createContext,
4446
+ oo as useIdStore,
4447
+ to as useNotifications,
4448
+ Ir as useStore
4210
4449
  };
4211
4450
  //# sourceMappingURL=tvuikit.es.js.map