@datawire-ai/busyfile-design-library 1.4.1 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,6 +1,8 @@
1
- import * as C from "react";
2
- import Fe from "react";
3
- var fe = { exports: {} }, oe = {};
1
+ import * as l from "react";
2
+ import wr, { useState as xr, forwardRef as Pt, createElement as Xe } from "react";
3
+ import * as Er from "react-dom";
4
+ import kr from "react-dom";
5
+ var He = { exports: {} }, he = {};
4
6
  /**
5
7
  * @license React
6
8
  * react-jsx-runtime.production.js
@@ -10,29 +12,29 @@ var fe = { exports: {} }, oe = {};
10
12
  * This source code is licensed under the MIT license found in the
11
13
  * LICENSE file in the root directory of this source tree.
12
14
  */
13
- var xe;
14
- function We() {
15
- if (xe) return oe;
16
- xe = 1;
17
- var e = Symbol.for("react.transitional.element"), o = Symbol.for("react.fragment");
18
- function r(t, s, a) {
19
- var c = null;
20
- if (a !== void 0 && (c = "" + a), s.key !== void 0 && (c = "" + s.key), "key" in s) {
15
+ var at;
16
+ function Cr() {
17
+ if (at) return he;
18
+ at = 1;
19
+ var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
20
+ function r(n, o, a) {
21
+ var i = null;
22
+ if (a !== void 0 && (i = "" + a), o.key !== void 0 && (i = "" + o.key), "key" in o) {
21
23
  a = {};
22
- for (var f in s)
23
- f !== "key" && (a[f] = s[f]);
24
- } else a = s;
25
- return s = a.ref, {
24
+ for (var s in o)
25
+ s !== "key" && (a[s] = o[s]);
26
+ } else a = o;
27
+ return o = a.ref, {
26
28
  $$typeof: e,
27
- type: t,
28
- key: c,
29
- ref: s !== void 0 ? s : null,
29
+ type: n,
30
+ key: i,
31
+ ref: o !== void 0 ? o : null,
30
32
  props: a
31
33
  };
32
34
  }
33
- return oe.Fragment = o, oe.jsx = r, oe.jsxs = r, oe;
35
+ return he.Fragment = t, he.jsx = r, he.jsxs = r, he;
34
36
  }
35
- var ne = {};
37
+ var be = {};
36
38
  /**
37
39
  * @license React
38
40
  * react-jsx-runtime.development.js
@@ -42,396 +44,399 @@ var ne = {};
42
44
  * This source code is licensed under the MIT license found in the
43
45
  * LICENSE file in the root directory of this source tree.
44
46
  */
45
- var ye;
46
- function $e() {
47
- return ye || (ye = 1, process.env.NODE_ENV !== "production" && function() {
48
- function e(n) {
49
- if (n == null) return null;
50
- if (typeof n == "function")
51
- return n.$$typeof === ae ? null : n.displayName || n.name || null;
52
- if (typeof n == "string") return n;
53
- switch (n) {
54
- case S:
47
+ var st;
48
+ function Sr() {
49
+ return st || (st = 1, process.env.NODE_ENV !== "production" && function() {
50
+ function e(d) {
51
+ if (d == null) return null;
52
+ if (typeof d == "function")
53
+ return d.$$typeof === K ? null : d.displayName || d.name || null;
54
+ if (typeof d == "string") return d;
55
+ switch (d) {
56
+ case f:
55
57
  return "Fragment";
56
- case M:
58
+ case k:
57
59
  return "Profiler";
58
- case P:
60
+ case y:
59
61
  return "StrictMode";
60
- case W:
62
+ case _:
61
63
  return "Suspense";
62
- case V:
64
+ case j:
63
65
  return "SuspenseList";
64
- case O:
66
+ case z:
65
67
  return "Activity";
66
68
  }
67
- if (typeof n == "object")
68
- switch (typeof n.tag == "number" && console.error(
69
+ if (typeof d == "object")
70
+ switch (typeof d.tag == "number" && console.error(
69
71
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
70
- ), n.$$typeof) {
71
- case A:
72
+ ), d.$$typeof) {
73
+ case S:
72
74
  return "Portal";
73
- case U:
74
- return (n.displayName || "Context") + ".Provider";
75
- case X:
76
- return (n._context.displayName || "Context") + ".Consumer";
77
- case F:
78
- var p = n.render;
79
- return n = n.displayName, n || (n = p.displayName || p.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
80
- case B:
81
- return p = n.displayName || null, p !== null ? p : e(n.type) || "Memo";
82
- case m:
83
- p = n._payload, n = n._init;
75
+ case O:
76
+ return (d.displayName || "Context") + ".Provider";
77
+ case N:
78
+ return (d._context.displayName || "Context") + ".Consumer";
79
+ case A:
80
+ var C = d.render;
81
+ return d = d.displayName, d || (d = C.displayName || C.name || "", d = d !== "" ? "ForwardRef(" + d + ")" : "ForwardRef"), d;
82
+ case P:
83
+ return C = d.displayName || null, C !== null ? C : e(d.type) || "Memo";
84
+ case b:
85
+ C = d._payload, d = d._init;
84
86
  try {
85
- return e(n(p));
87
+ return e(d(C));
86
88
  } catch {
87
89
  }
88
90
  }
89
91
  return null;
90
92
  }
91
- function o(n) {
92
- return "" + n;
93
+ function t(d) {
94
+ return "" + d;
93
95
  }
94
- function r(n) {
96
+ function r(d) {
95
97
  try {
96
- o(n);
97
- var p = !1;
98
+ t(d);
99
+ var C = !1;
98
100
  } catch {
99
- p = !0;
101
+ C = !0;
100
102
  }
101
- if (p) {
102
- p = console;
103
- var x = p.error, h = typeof Symbol == "function" && Symbol.toStringTag && n[Symbol.toStringTag] || n.constructor.name || "Object";
104
- return x.call(
105
- p,
103
+ if (C) {
104
+ C = console;
105
+ var M = C.error, T = typeof Symbol == "function" && Symbol.toStringTag && d[Symbol.toStringTag] || d.constructor.name || "Object";
106
+ return M.call(
107
+ C,
106
108
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
107
- h
108
- ), o(n);
109
+ T
110
+ ), t(d);
109
111
  }
110
112
  }
111
- function t(n) {
112
- if (n === S) return "<>";
113
- if (typeof n == "object" && n !== null && n.$$typeof === m)
113
+ function n(d) {
114
+ if (d === f) return "<>";
115
+ if (typeof d == "object" && d !== null && d.$$typeof === b)
114
116
  return "<...>";
115
117
  try {
116
- var p = e(n);
117
- return p ? "<" + p + ">" : "<...>";
118
+ var C = e(d);
119
+ return C ? "<" + C + ">" : "<...>";
118
120
  } catch {
119
121
  return "<...>";
120
122
  }
121
123
  }
122
- function s() {
123
- var n = H.A;
124
- return n === null ? null : n.getOwner();
124
+ function o() {
125
+ var d = se.A;
126
+ return d === null ? null : d.getOwner();
125
127
  }
126
128
  function a() {
127
129
  return Error("react-stack-top-frame");
128
130
  }
129
- function c(n) {
130
- if (D.call(n, "key")) {
131
- var p = Object.getOwnPropertyDescriptor(n, "key").get;
132
- if (p && p.isReactWarning) return !1;
131
+ function i(d) {
132
+ if (ee.call(d, "key")) {
133
+ var C = Object.getOwnPropertyDescriptor(d, "key").get;
134
+ if (C && C.isReactWarning) return !1;
133
135
  }
134
- return n.key !== void 0;
136
+ return d.key !== void 0;
135
137
  }
136
- function f(n, p) {
137
- function x() {
138
- G || (G = !0, console.error(
138
+ function s(d, C) {
139
+ function M() {
140
+ Y || (Y = !0, console.error(
139
141
  "%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)",
140
- p
142
+ C
141
143
  ));
142
144
  }
143
- x.isReactWarning = !0, Object.defineProperty(n, "key", {
144
- get: x,
145
+ M.isReactWarning = !0, Object.defineProperty(d, "key", {
146
+ get: M,
145
147
  configurable: !0
146
148
  });
147
149
  }
148
- function u() {
149
- var n = e(this.type);
150
- return z[n] || (z[n] = !0, console.error(
150
+ function c() {
151
+ var d = e(this.type);
152
+ return $[d] || ($[d] = !0, console.error(
151
153
  "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."
152
- )), n = this.props.ref, n !== void 0 ? n : null;
154
+ )), d = this.props.ref, d !== void 0 ? d : null;
153
155
  }
154
- function g(n, p, x, h, y, _, Z, k) {
155
- return x = _.ref, n = {
156
- $$typeof: N,
157
- type: n,
158
- key: p,
159
- props: _,
160
- _owner: y
161
- }, (x !== void 0 ? x : null) !== null ? Object.defineProperty(n, "ref", {
156
+ function u(d, C, M, T, D, W, ie, I) {
157
+ return M = W.ref, d = {
158
+ $$typeof: E,
159
+ type: d,
160
+ key: C,
161
+ props: W,
162
+ _owner: D
163
+ }, (M !== void 0 ? M : null) !== null ? Object.defineProperty(d, "ref", {
162
164
  enumerable: !1,
163
- get: u
164
- }) : Object.defineProperty(n, "ref", { enumerable: !1, value: null }), n._store = {}, Object.defineProperty(n._store, "validated", {
165
+ get: c
166
+ }) : Object.defineProperty(d, "ref", { enumerable: !1, value: null }), d._store = {}, Object.defineProperty(d._store, "validated", {
165
167
  configurable: !1,
166
168
  enumerable: !1,
167
169
  writable: !0,
168
170
  value: 0
169
- }), Object.defineProperty(n, "_debugInfo", {
171
+ }), Object.defineProperty(d, "_debugInfo", {
170
172
  configurable: !1,
171
173
  enumerable: !1,
172
174
  writable: !0,
173
175
  value: null
174
- }), Object.defineProperty(n, "_debugStack", {
176
+ }), Object.defineProperty(d, "_debugStack", {
175
177
  configurable: !1,
176
178
  enumerable: !1,
177
179
  writable: !0,
178
- value: Z
179
- }), Object.defineProperty(n, "_debugTask", {
180
+ value: ie
181
+ }), Object.defineProperty(d, "_debugTask", {
180
182
  configurable: !1,
181
183
  enumerable: !1,
182
184
  writable: !0,
183
- value: k
184
- }), Object.freeze && (Object.freeze(n.props), Object.freeze(n)), n;
185
+ value: I
186
+ }), Object.freeze && (Object.freeze(d.props), Object.freeze(d)), d;
185
187
  }
186
- function v(n, p, x, h, y, _, Z, k) {
187
- var R = p.children;
188
- if (R !== void 0)
189
- if (h)
190
- if (ie(R)) {
191
- for (h = 0; h < R.length; h++)
192
- w(R[h]);
193
- Object.freeze && Object.freeze(R);
188
+ function m(d, C, M, T, D, W, ie, I) {
189
+ var L = C.children;
190
+ if (L !== void 0)
191
+ if (T)
192
+ if (Ee(L)) {
193
+ for (T = 0; T < L.length; T++)
194
+ p(L[T]);
195
+ Object.freeze && Object.freeze(L);
194
196
  } else
195
197
  console.error(
196
198
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
197
199
  );
198
- else w(R);
199
- if (D.call(p, "key")) {
200
- R = e(n);
201
- var j = Object.keys(p).filter(function(te) {
202
- return te !== "key";
200
+ else p(L);
201
+ if (ee.call(C, "key")) {
202
+ L = e(d);
203
+ var U = Object.keys(C).filter(function(ve) {
204
+ return ve !== "key";
203
205
  });
204
- h = 0 < j.length ? "{key: someKey, " + j.join(": ..., ") + ": ...}" : "{key: someKey}", re[R + h] || (j = 0 < j.length ? "{" + j.join(": ..., ") + ": ...}" : "{}", console.error(
206
+ T = 0 < U.length ? "{key: someKey, " + U.join(": ..., ") + ": ...}" : "{key: someKey}", ge[L + T] || (U = 0 < U.length ? "{" + U.join(": ..., ") + ": ...}" : "{}", console.error(
205
207
  `A props object containing a "key" prop is being spread into JSX:
206
208
  let props = %s;
207
209
  <%s {...props} />
208
210
  React keys must be passed directly to JSX without using spread:
209
211
  let props = %s;
210
212
  <%s key={someKey} {...props} />`,
211
- h,
212
- R,
213
- j,
214
- R
215
- ), re[R + h] = !0);
213
+ T,
214
+ L,
215
+ U,
216
+ L
217
+ ), ge[L + T] = !0);
216
218
  }
217
- if (R = null, x !== void 0 && (r(x), R = "" + x), c(p) && (r(p.key), R = "" + p.key), "key" in p) {
218
- x = {};
219
- for (var $ in p)
220
- $ !== "key" && (x[$] = p[$]);
221
- } else x = p;
222
- return R && f(
223
- x,
224
- typeof n == "function" ? n.displayName || n.name || "Unknown" : n
225
- ), g(
226
- n,
227
- R,
228
- _,
229
- y,
230
- s(),
231
- x,
232
- Z,
233
- k
219
+ if (L = null, M !== void 0 && (r(M), L = "" + M), i(C) && (r(C.key), L = "" + C.key), "key" in C) {
220
+ M = {};
221
+ for (var Z in C)
222
+ Z !== "key" && (M[Z] = C[Z]);
223
+ } else M = C;
224
+ return L && s(
225
+ M,
226
+ typeof d == "function" ? d.displayName || d.name || "Unknown" : d
227
+ ), u(
228
+ d,
229
+ L,
230
+ W,
231
+ D,
232
+ o(),
233
+ M,
234
+ ie,
235
+ I
234
236
  );
235
237
  }
236
- function w(n) {
237
- typeof n == "object" && n !== null && n.$$typeof === N && n._store && (n._store.validated = 1);
238
+ function p(d) {
239
+ typeof d == "object" && d !== null && d.$$typeof === E && d._store && (d._store.validated = 1);
238
240
  }
239
- var T = Fe, N = Symbol.for("react.transitional.element"), A = Symbol.for("react.portal"), S = Symbol.for("react.fragment"), P = Symbol.for("react.strict_mode"), M = Symbol.for("react.profiler"), X = Symbol.for("react.consumer"), U = Symbol.for("react.context"), F = Symbol.for("react.forward_ref"), W = Symbol.for("react.suspense"), V = Symbol.for("react.suspense_list"), B = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), O = Symbol.for("react.activity"), ae = Symbol.for("react.client.reference"), H = T.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, D = Object.prototype.hasOwnProperty, ie = Array.isArray, q = console.createTask ? console.createTask : function() {
241
+ var g = wr, E = Symbol.for("react.transitional.element"), S = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), N = Symbol.for("react.consumer"), O = Symbol.for("react.context"), A = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), z = Symbol.for("react.activity"), K = Symbol.for("react.client.reference"), se = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ee = Object.prototype.hasOwnProperty, Ee = Array.isArray, te = console.createTask ? console.createTask : function() {
240
242
  return null;
241
243
  };
242
- T = {
243
- "react-stack-bottom-frame": function(n) {
244
- return n();
244
+ g = {
245
+ "react-stack-bottom-frame": function(d) {
246
+ return d();
245
247
  }
246
248
  };
247
- var G, z = {}, I = T["react-stack-bottom-frame"].bind(
248
- T,
249
+ var Y, $ = {}, V = g["react-stack-bottom-frame"].bind(
250
+ g,
249
251
  a
250
- )(), d = q(t(a)), re = {};
251
- ne.Fragment = S, ne.jsx = function(n, p, x, h, y) {
252
- var _ = 1e4 > H.recentlyCreatedOwnerStacks++;
253
- return v(
254
- n,
255
- p,
256
- x,
252
+ )(), w = te(n(a)), ge = {};
253
+ be.Fragment = f, be.jsx = function(d, C, M, T, D) {
254
+ var W = 1e4 > se.recentlyCreatedOwnerStacks++;
255
+ return m(
256
+ d,
257
+ C,
258
+ M,
257
259
  !1,
258
- h,
259
- y,
260
- _ ? Error("react-stack-top-frame") : I,
261
- _ ? q(t(n)) : d
260
+ T,
261
+ D,
262
+ W ? Error("react-stack-top-frame") : V,
263
+ W ? te(n(d)) : w
262
264
  );
263
- }, ne.jsxs = function(n, p, x, h, y) {
264
- var _ = 1e4 > H.recentlyCreatedOwnerStacks++;
265
- return v(
266
- n,
267
- p,
268
- x,
265
+ }, be.jsxs = function(d, C, M, T, D) {
266
+ var W = 1e4 > se.recentlyCreatedOwnerStacks++;
267
+ return m(
268
+ d,
269
+ C,
270
+ M,
269
271
  !0,
270
- h,
271
- y,
272
- _ ? Error("react-stack-top-frame") : I,
273
- _ ? q(t(n)) : d
272
+ T,
273
+ D,
274
+ W ? Error("react-stack-top-frame") : V,
275
+ W ? te(n(d)) : w
274
276
  );
275
277
  };
276
- }()), ne;
278
+ }()), be;
277
279
  }
278
- process.env.NODE_ENV === "production" ? fe.exports = We() : fe.exports = $e();
279
- var pe = fe.exports;
280
- function ke(e, o) {
280
+ process.env.NODE_ENV === "production" ? He.exports = Cr() : He.exports = Sr();
281
+ var x = He.exports;
282
+ function it(e, t) {
281
283
  if (typeof e == "function")
282
- return e(o);
283
- e != null && (e.current = o);
284
+ return e(t);
285
+ e != null && (e.current = t);
284
286
  }
285
- function Ye(...e) {
286
- return (o) => {
287
+ function At(...e) {
288
+ return (t) => {
287
289
  let r = !1;
288
- const t = e.map((s) => {
289
- const a = ke(s, o);
290
+ const n = e.map((o) => {
291
+ const a = it(o, t);
290
292
  return !r && typeof a == "function" && (r = !0), a;
291
293
  });
292
294
  if (r)
293
295
  return () => {
294
- for (let s = 0; s < t.length; s++) {
295
- const a = t[s];
296
- typeof a == "function" ? a() : ke(e[s], null);
296
+ for (let o = 0; o < n.length; o++) {
297
+ const a = n[o];
298
+ typeof a == "function" ? a() : it(e[o], null);
297
299
  }
298
300
  };
299
301
  };
300
302
  }
303
+ function oe(...e) {
304
+ return l.useCallback(At(...e), e);
305
+ }
301
306
  // @__NO_SIDE_EFFECTS__
302
- function Ue(e) {
303
- const o = /* @__PURE__ */ De(e), r = C.forwardRef((t, s) => {
304
- const { children: a, ...c } = t, f = C.Children.toArray(a), u = f.find(Je);
305
- if (u) {
306
- const g = u.props.children, v = f.map((w) => w === u ? C.Children.count(g) > 1 ? C.Children.only(null) : C.isValidElement(g) ? g.props.children : null : w);
307
- return /* @__PURE__ */ pe.jsx(o, { ...c, ref: s, children: C.isValidElement(g) ? C.cloneElement(g, void 0, v) : null });
307
+ function et(e) {
308
+ const t = /* @__PURE__ */ Pr(e), r = l.forwardRef((n, o) => {
309
+ const { children: a, ...i } = n, s = l.Children.toArray(a), c = s.find(Tr);
310
+ if (c) {
311
+ const u = c.props.children, m = s.map((p) => p === c ? l.Children.count(u) > 1 ? l.Children.only(null) : l.isValidElement(u) ? u.props.children : null : p);
312
+ return /* @__PURE__ */ x.jsx(t, { ...i, ref: o, children: l.isValidElement(u) ? l.cloneElement(u, void 0, m) : null });
308
313
  }
309
- return /* @__PURE__ */ pe.jsx(o, { ...c, ref: s, children: a });
314
+ return /* @__PURE__ */ x.jsx(t, { ...i, ref: o, children: a });
310
315
  });
311
316
  return r.displayName = `${e}.Slot`, r;
312
317
  }
313
- var Be = /* @__PURE__ */ Ue("Slot");
318
+ var Rr = /* @__PURE__ */ et("Slot");
314
319
  // @__NO_SIDE_EFFECTS__
315
- function De(e) {
316
- const o = C.forwardRef((r, t) => {
317
- const { children: s, ...a } = r;
318
- if (C.isValidElement(s)) {
319
- const c = He(s), f = Xe(a, s.props);
320
- return s.type !== C.Fragment && (f.ref = t ? Ye(t, c) : c), C.cloneElement(s, f);
320
+ function Pr(e) {
321
+ const t = l.forwardRef((r, n) => {
322
+ const { children: o, ...a } = r;
323
+ if (l.isValidElement(o)) {
324
+ const i = Or(o), s = Nr(a, o.props);
325
+ return o.type !== l.Fragment && (s.ref = n ? At(n, i) : i), l.cloneElement(o, s);
321
326
  }
322
- return C.Children.count(s) > 1 ? C.Children.only(null) : null;
327
+ return l.Children.count(o) > 1 ? l.Children.only(null) : null;
323
328
  });
324
- return o.displayName = `${e}.SlotClone`, o;
325
- }
326
- var qe = Symbol("radix.slottable");
327
- function Je(e) {
328
- return C.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === qe;
329
- }
330
- function Xe(e, o) {
331
- const r = { ...o };
332
- for (const t in o) {
333
- const s = e[t], a = o[t];
334
- /^on[A-Z]/.test(t) ? s && a ? r[t] = (...f) => {
335
- const u = a(...f);
336
- return s(...f), u;
337
- } : s && (r[t] = s) : t === "style" ? r[t] = { ...s, ...a } : t === "className" && (r[t] = [s, a].filter(Boolean).join(" "));
329
+ return t.displayName = `${e}.SlotClone`, t;
330
+ }
331
+ var Ar = Symbol("radix.slottable");
332
+ function Tr(e) {
333
+ return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Ar;
334
+ }
335
+ function Nr(e, t) {
336
+ const r = { ...t };
337
+ for (const n in t) {
338
+ const o = e[n], a = t[n];
339
+ /^on[A-Z]/.test(n) ? o && a ? r[n] = (...s) => {
340
+ const c = a(...s);
341
+ return o(...s), c;
342
+ } : o && (r[n] = o) : n === "style" ? r[n] = { ...o, ...a } : n === "className" && (r[n] = [o, a].filter(Boolean).join(" "));
338
343
  }
339
344
  return { ...e, ...r };
340
345
  }
341
- function He(e) {
342
- var t, s;
343
- let o = (t = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : t.get, r = o && "isReactWarning" in o && o.isReactWarning;
344
- return r ? e.ref : (o = (s = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : s.get, r = o && "isReactWarning" in o && o.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
346
+ function Or(e) {
347
+ var n, o;
348
+ let t = (n = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : n.get, r = t && "isReactWarning" in t && t.isReactWarning;
349
+ return r ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
345
350
  }
346
- function _e(e) {
347
- var o, r, t = "";
348
- if (typeof e == "string" || typeof e == "number") t += e;
351
+ function Tt(e) {
352
+ var t, r, n = "";
353
+ if (typeof e == "string" || typeof e == "number") n += e;
349
354
  else if (typeof e == "object") if (Array.isArray(e)) {
350
- var s = e.length;
351
- for (o = 0; o < s; o++) e[o] && (r = _e(e[o])) && (t && (t += " "), t += r);
352
- } else for (r in e) e[r] && (t && (t += " "), t += r);
353
- return t;
355
+ var o = e.length;
356
+ for (t = 0; t < o; t++) e[t] && (r = Tt(e[t])) && (n && (n += " "), n += r);
357
+ } else for (r in e) e[r] && (n && (n += " "), n += r);
358
+ return n;
354
359
  }
355
- function Ce() {
356
- for (var e, o, r = 0, t = "", s = arguments.length; r < s; r++) (e = arguments[r]) && (o = _e(e)) && (t && (t += " "), t += o);
357
- return t;
360
+ function Nt() {
361
+ for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t = Tt(e)) && (n && (n += " "), n += t);
362
+ return n;
358
363
  }
359
- const ve = "-", Ze = (e) => {
360
- const o = Ke(e), {
364
+ const tt = "-", _r = (e) => {
365
+ const t = Dr(e), {
361
366
  conflictingClassGroups: r,
362
- conflictingClassGroupModifiers: t
367
+ conflictingClassGroupModifiers: n
363
368
  } = e;
364
369
  return {
365
- getClassGroupId: (c) => {
366
- const f = c.split(ve);
367
- return f[0] === "" && f.length !== 1 && f.shift(), Pe(f, o) || Qe(c);
370
+ getClassGroupId: (i) => {
371
+ const s = i.split(tt);
372
+ return s[0] === "" && s.length !== 1 && s.shift(), Ot(s, t) || Mr(i);
368
373
  },
369
- getConflictingClassGroupIds: (c, f) => {
370
- const u = r[c] || [];
371
- return f && t[c] ? [...u, ...t[c]] : u;
374
+ getConflictingClassGroupIds: (i, s) => {
375
+ const c = r[i] || [];
376
+ return s && n[i] ? [...c, ...n[i]] : c;
372
377
  }
373
378
  };
374
- }, Pe = (e, o) => {
375
- var c;
379
+ }, Ot = (e, t) => {
380
+ var i;
376
381
  if (e.length === 0)
377
- return o.classGroupId;
378
- const r = e[0], t = o.nextPart.get(r), s = t ? Pe(e.slice(1), t) : void 0;
379
- if (s)
380
- return s;
381
- if (o.validators.length === 0)
382
+ return t.classGroupId;
383
+ const r = e[0], n = t.nextPart.get(r), o = n ? Ot(e.slice(1), n) : void 0;
384
+ if (o)
385
+ return o;
386
+ if (t.validators.length === 0)
382
387
  return;
383
- const a = e.join(ve);
384
- return (c = o.validators.find(({
385
- validator: f
386
- }) => f(a))) == null ? void 0 : c.classGroupId;
387
- }, we = /^\[(.+)\]$/, Qe = (e) => {
388
- if (we.test(e)) {
389
- const o = we.exec(e)[1], r = o == null ? void 0 : o.substring(0, o.indexOf(":"));
388
+ const a = e.join(tt);
389
+ return (i = t.validators.find(({
390
+ validator: s
391
+ }) => s(a))) == null ? void 0 : i.classGroupId;
392
+ }, lt = /^\[(.+)\]$/, Mr = (e) => {
393
+ if (lt.test(e)) {
394
+ const t = lt.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
390
395
  if (r)
391
396
  return "arbitrary.." + r;
392
397
  }
393
- }, Ke = (e) => {
398
+ }, Dr = (e) => {
394
399
  const {
395
- theme: o,
400
+ theme: t,
396
401
  classGroups: r
397
- } = e, t = {
402
+ } = e, n = {
398
403
  nextPart: /* @__PURE__ */ new Map(),
399
404
  validators: []
400
405
  };
401
- for (const s in r)
402
- be(r[s], t, s, o);
403
- return t;
404
- }, be = (e, o, r, t) => {
405
- e.forEach((s) => {
406
- if (typeof s == "string") {
407
- const a = s === "" ? o : Re(o, s);
406
+ for (const o in r)
407
+ Ke(r[o], n, o, t);
408
+ return n;
409
+ }, Ke = (e, t, r, n) => {
410
+ e.forEach((o) => {
411
+ if (typeof o == "string") {
412
+ const a = o === "" ? t : ct(t, o);
408
413
  a.classGroupId = r;
409
414
  return;
410
415
  }
411
- if (typeof s == "function") {
412
- if (er(s)) {
413
- be(s(t), o, r, t);
416
+ if (typeof o == "function") {
417
+ if (Ir(o)) {
418
+ Ke(o(n), t, r, n);
414
419
  return;
415
420
  }
416
- o.validators.push({
417
- validator: s,
421
+ t.validators.push({
422
+ validator: o,
418
423
  classGroupId: r
419
424
  });
420
425
  return;
421
426
  }
422
- Object.entries(s).forEach(([a, c]) => {
423
- be(c, Re(o, a), r, t);
427
+ Object.entries(o).forEach(([a, i]) => {
428
+ Ke(i, ct(t, a), r, n);
424
429
  });
425
430
  });
426
- }, Re = (e, o) => {
431
+ }, ct = (e, t) => {
427
432
  let r = e;
428
- return o.split(ve).forEach((t) => {
429
- r.nextPart.has(t) || r.nextPart.set(t, {
433
+ return t.split(tt).forEach((n) => {
434
+ r.nextPart.has(n) || r.nextPart.set(n, {
430
435
  nextPart: /* @__PURE__ */ new Map(),
431
436
  validators: []
432
- }), r = r.nextPart.get(t);
437
+ }), r = r.nextPart.get(n);
433
438
  }), r;
434
- }, er = (e) => e.isThemeGetter, rr = (e) => {
439
+ }, Ir = (e) => e.isThemeGetter, jr = (e) => {
435
440
  if (e < 1)
436
441
  return {
437
442
  get: () => {
@@ -439,178 +444,178 @@ const ve = "-", Ze = (e) => {
439
444
  set: () => {
440
445
  }
441
446
  };
442
- let o = 0, r = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map();
443
- const s = (a, c) => {
444
- r.set(a, c), o++, o > e && (o = 0, t = r, r = /* @__PURE__ */ new Map());
447
+ let t = 0, r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
448
+ const o = (a, i) => {
449
+ r.set(a, i), t++, t > e && (t = 0, n = r, r = /* @__PURE__ */ new Map());
445
450
  };
446
451
  return {
447
452
  get(a) {
448
- let c = r.get(a);
449
- if (c !== void 0)
450
- return c;
451
- if ((c = t.get(a)) !== void 0)
452
- return s(a, c), c;
453
+ let i = r.get(a);
454
+ if (i !== void 0)
455
+ return i;
456
+ if ((i = n.get(a)) !== void 0)
457
+ return o(a, i), i;
453
458
  },
454
- set(a, c) {
455
- r.has(a) ? r.set(a, c) : s(a, c);
459
+ set(a, i) {
460
+ r.has(a) ? r.set(a, i) : o(a, i);
456
461
  }
457
462
  };
458
- }, ge = "!", he = ":", tr = he.length, or = (e) => {
463
+ }, Ze = "!", qe = ":", Lr = qe.length, Fr = (e) => {
459
464
  const {
460
- prefix: o,
465
+ prefix: t,
461
466
  experimentalParseClassName: r
462
467
  } = e;
463
- let t = (s) => {
468
+ let n = (o) => {
464
469
  const a = [];
465
- let c = 0, f = 0, u = 0, g;
466
- for (let A = 0; A < s.length; A++) {
467
- let S = s[A];
468
- if (c === 0 && f === 0) {
469
- if (S === he) {
470
- a.push(s.slice(u, A)), u = A + tr;
470
+ let i = 0, s = 0, c = 0, u;
471
+ for (let S = 0; S < o.length; S++) {
472
+ let f = o[S];
473
+ if (i === 0 && s === 0) {
474
+ if (f === qe) {
475
+ a.push(o.slice(c, S)), c = S + Lr;
471
476
  continue;
472
477
  }
473
- if (S === "/") {
474
- g = A;
478
+ if (f === "/") {
479
+ u = S;
475
480
  continue;
476
481
  }
477
482
  }
478
- S === "[" ? c++ : S === "]" ? c-- : S === "(" ? f++ : S === ")" && f--;
483
+ f === "[" ? i++ : f === "]" ? i-- : f === "(" ? s++ : f === ")" && s--;
479
484
  }
480
- const v = a.length === 0 ? s : s.substring(u), w = nr(v), T = w !== v, N = g && g > u ? g - u : void 0;
485
+ const m = a.length === 0 ? o : o.substring(c), p = zr(m), g = p !== m, E = u && u > c ? u - c : void 0;
481
486
  return {
482
487
  modifiers: a,
483
- hasImportantModifier: T,
484
- baseClassName: w,
485
- maybePostfixModifierPosition: N
488
+ hasImportantModifier: g,
489
+ baseClassName: p,
490
+ maybePostfixModifierPosition: E
486
491
  };
487
492
  };
488
- if (o) {
489
- const s = o + he, a = t;
490
- t = (c) => c.startsWith(s) ? a(c.substring(s.length)) : {
493
+ if (t) {
494
+ const o = t + qe, a = n;
495
+ n = (i) => i.startsWith(o) ? a(i.substring(o.length)) : {
491
496
  isExternal: !0,
492
497
  modifiers: [],
493
498
  hasImportantModifier: !1,
494
- baseClassName: c,
499
+ baseClassName: i,
495
500
  maybePostfixModifierPosition: void 0
496
501
  };
497
502
  }
498
503
  if (r) {
499
- const s = t;
500
- t = (a) => r({
504
+ const o = n;
505
+ n = (a) => r({
501
506
  className: a,
502
- parseClassName: s
507
+ parseClassName: o
503
508
  });
504
509
  }
505
- return t;
506
- }, nr = (e) => e.endsWith(ge) ? e.substring(0, e.length - 1) : e.startsWith(ge) ? e.substring(1) : e, sr = (e) => {
507
- const o = Object.fromEntries(e.orderSensitiveModifiers.map((t) => [t, !0]));
508
- return (t) => {
509
- if (t.length <= 1)
510
- return t;
511
- const s = [];
510
+ return n;
511
+ }, zr = (e) => e.endsWith(Ze) ? e.substring(0, e.length - 1) : e.startsWith(Ze) ? e.substring(1) : e, Wr = (e) => {
512
+ const t = Object.fromEntries(e.orderSensitiveModifiers.map((n) => [n, !0]));
513
+ return (n) => {
514
+ if (n.length <= 1)
515
+ return n;
516
+ const o = [];
512
517
  let a = [];
513
- return t.forEach((c) => {
514
- c[0] === "[" || o[c] ? (s.push(...a.sort(), c), a = []) : a.push(c);
515
- }), s.push(...a.sort()), s;
518
+ return n.forEach((i) => {
519
+ i[0] === "[" || t[i] ? (o.push(...a.sort(), i), a = []) : a.push(i);
520
+ }), o.push(...a.sort()), o;
516
521
  };
517
- }, ar = (e) => ({
518
- cache: rr(e.cacheSize),
519
- parseClassName: or(e),
520
- sortModifiers: sr(e),
521
- ...Ze(e)
522
- }), ir = /\s+/, lr = (e, o) => {
522
+ }, $r = (e) => ({
523
+ cache: jr(e.cacheSize),
524
+ parseClassName: Fr(e),
525
+ sortModifiers: Wr(e),
526
+ ..._r(e)
527
+ }), Ur = /\s+/, Br = (e, t) => {
523
528
  const {
524
529
  parseClassName: r,
525
- getClassGroupId: t,
526
- getConflictingClassGroupIds: s,
530
+ getClassGroupId: n,
531
+ getConflictingClassGroupIds: o,
527
532
  sortModifiers: a
528
- } = o, c = [], f = e.trim().split(ir);
529
- let u = "";
530
- for (let g = f.length - 1; g >= 0; g -= 1) {
531
- const v = f[g], {
532
- isExternal: w,
533
- modifiers: T,
534
- hasImportantModifier: N,
535
- baseClassName: A,
536
- maybePostfixModifierPosition: S
537
- } = r(v);
538
- if (w) {
539
- u = v + (u.length > 0 ? " " + u : u);
533
+ } = t, i = [], s = e.trim().split(Ur);
534
+ let c = "";
535
+ for (let u = s.length - 1; u >= 0; u -= 1) {
536
+ const m = s[u], {
537
+ isExternal: p,
538
+ modifiers: g,
539
+ hasImportantModifier: E,
540
+ baseClassName: S,
541
+ maybePostfixModifierPosition: f
542
+ } = r(m);
543
+ if (p) {
544
+ c = m + (c.length > 0 ? " " + c : c);
540
545
  continue;
541
546
  }
542
- let P = !!S, M = t(P ? A.substring(0, S) : A);
543
- if (!M) {
544
- if (!P) {
545
- u = v + (u.length > 0 ? " " + u : u);
547
+ let y = !!f, k = n(y ? S.substring(0, f) : S);
548
+ if (!k) {
549
+ if (!y) {
550
+ c = m + (c.length > 0 ? " " + c : c);
546
551
  continue;
547
552
  }
548
- if (M = t(A), !M) {
549
- u = v + (u.length > 0 ? " " + u : u);
553
+ if (k = n(S), !k) {
554
+ c = m + (c.length > 0 ? " " + c : c);
550
555
  continue;
551
556
  }
552
- P = !1;
557
+ y = !1;
553
558
  }
554
- const X = a(T).join(":"), U = N ? X + ge : X, F = U + M;
555
- if (c.includes(F))
559
+ const N = a(g).join(":"), O = E ? N + Ze : N, A = O + k;
560
+ if (i.includes(A))
556
561
  continue;
557
- c.push(F);
558
- const W = s(M, P);
559
- for (let V = 0; V < W.length; ++V) {
560
- const B = W[V];
561
- c.push(U + B);
562
+ i.push(A);
563
+ const _ = o(k, y);
564
+ for (let j = 0; j < _.length; ++j) {
565
+ const P = _[j];
566
+ i.push(O + P);
562
567
  }
563
- u = v + (u.length > 0 ? " " + u : u);
568
+ c = m + (c.length > 0 ? " " + c : c);
564
569
  }
565
- return u;
570
+ return c;
566
571
  };
567
- function cr() {
568
- let e = 0, o, r, t = "";
572
+ function Vr() {
573
+ let e = 0, t, r, n = "";
569
574
  for (; e < arguments.length; )
570
- (o = arguments[e++]) && (r = ze(o)) && (t && (t += " "), t += r);
571
- return t;
575
+ (t = arguments[e++]) && (r = _t(t)) && (n && (n += " "), n += r);
576
+ return n;
572
577
  }
573
- const ze = (e) => {
578
+ const _t = (e) => {
574
579
  if (typeof e == "string")
575
580
  return e;
576
- let o, r = "";
577
- for (let t = 0; t < e.length; t++)
578
- e[t] && (o = ze(e[t])) && (r && (r += " "), r += o);
581
+ let t, r = "";
582
+ for (let n = 0; n < e.length; n++)
583
+ e[n] && (t = _t(e[n])) && (r && (r += " "), r += t);
579
584
  return r;
580
585
  };
581
- function dr(e, ...o) {
582
- let r, t, s, a = c;
583
- function c(u) {
584
- const g = o.reduce((v, w) => w(v), e());
585
- return r = ar(g), t = r.cache.get, s = r.cache.set, a = f, f(u);
586
+ function Gr(e, ...t) {
587
+ let r, n, o, a = i;
588
+ function i(c) {
589
+ const u = t.reduce((m, p) => p(m), e());
590
+ return r = $r(u), n = r.cache.get, o = r.cache.set, a = s, s(c);
586
591
  }
587
- function f(u) {
588
- const g = t(u);
589
- if (g)
590
- return g;
591
- const v = lr(u, r);
592
- return s(u, v), v;
592
+ function s(c) {
593
+ const u = n(c);
594
+ if (u)
595
+ return u;
596
+ const m = Br(c, r);
597
+ return o(c, m), m;
593
598
  }
594
599
  return function() {
595
- return a(cr.apply(null, arguments));
600
+ return a(Vr.apply(null, arguments));
596
601
  };
597
602
  }
598
- const E = (e) => {
599
- const o = (r) => r[e] || [];
600
- return o.isThemeGetter = !0, o;
601
- }, Oe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, je = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ur = /^\d+\/\d+$/, mr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, fr = /\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$/, pr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, br = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, gr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Q = (e) => ur.test(e), b = (e) => !!e && !Number.isNaN(Number(e)), Y = (e) => !!e && Number.isInteger(Number(e)), ue = (e) => e.endsWith("%") && b(e.slice(0, -1)), L = (e) => mr.test(e), hr = () => !0, vr = (e) => (
603
+ const F = (e) => {
604
+ const t = (r) => r[e] || [];
605
+ return t.isThemeGetter = !0, t;
606
+ }, Mt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Dt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Yr = /^\d+\/\d+$/, Xr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Hr = /\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$/, Kr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Zr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, qr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, le = (e) => Yr.test(e), R = (e) => !!e && !Number.isNaN(Number(e)), q = (e) => !!e && Number.isInteger(Number(e)), Le = (e) => e.endsWith("%") && R(e.slice(0, -1)), X = (e) => Xr.test(e), Jr = () => !0, Qr = (e) => (
602
607
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
603
608
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
604
609
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
605
- fr.test(e) && !pr.test(e)
606
- ), Ne = () => !1, xr = (e) => br.test(e), yr = (e) => gr.test(e), kr = (e) => !i(e) && !l(e), wr = (e) => K(e, Ve, Ne), i = (e) => Oe.test(e), J = (e) => K(e, Ge, vr), me = (e) => K(e, Ar, b), Ee = (e) => K(e, Ie, Ne), Rr = (e) => K(e, Me, yr), ce = (e) => K(e, Le, xr), l = (e) => je.test(e), se = (e) => ee(e, Ge), Er = (e) => ee(e, _r), Se = (e) => ee(e, Ie), Sr = (e) => ee(e, Ve), Tr = (e) => ee(e, Me), de = (e) => ee(e, Le, !0), K = (e, o, r) => {
607
- const t = Oe.exec(e);
608
- return t ? t[1] ? o(t[1]) : r(t[2]) : !1;
609
- }, ee = (e, o, r = !1) => {
610
- const t = je.exec(e);
611
- return t ? t[1] ? o(t[1]) : r : !1;
612
- }, Ie = (e) => e === "position" || e === "percentage", Me = (e) => e === "image" || e === "url", Ve = (e) => e === "length" || e === "size" || e === "bg-size", Ge = (e) => e === "length", Ar = (e) => e === "number", _r = (e) => e === "family-name", Le = (e) => e === "shadow", Cr = () => {
613
- const e = E("color"), o = E("font"), r = E("text"), t = E("font-weight"), s = E("tracking"), a = E("leading"), c = E("breakpoint"), f = E("container"), u = E("spacing"), g = E("radius"), v = E("shadow"), w = E("inset-shadow"), T = E("text-shadow"), N = E("drop-shadow"), A = E("blur"), S = E("perspective"), P = E("aspect"), M = E("ease"), X = E("animate"), U = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], F = () => [
610
+ Hr.test(e) && !Kr.test(e)
611
+ ), It = () => !1, en = (e) => Zr.test(e), tn = (e) => qr.test(e), rn = (e) => !v(e) && !h(e), nn = (e) => me(e, Ft, It), v = (e) => Mt.test(e), re = (e) => me(e, zt, Qr), Fe = (e) => me(e, cn, R), ut = (e) => me(e, jt, It), on = (e) => me(e, Lt, tn), Ce = (e) => me(e, Wt, en), h = (e) => Dt.test(e), ye = (e) => pe(e, zt), an = (e) => pe(e, un), dt = (e) => pe(e, jt), sn = (e) => pe(e, Ft), ln = (e) => pe(e, Lt), Se = (e) => pe(e, Wt, !0), me = (e, t, r) => {
612
+ const n = Mt.exec(e);
613
+ return n ? n[1] ? t(n[1]) : r(n[2]) : !1;
614
+ }, pe = (e, t, r = !1) => {
615
+ const n = Dt.exec(e);
616
+ return n ? n[1] ? t(n[1]) : r : !1;
617
+ }, jt = (e) => e === "position" || e === "percentage", Lt = (e) => e === "image" || e === "url", Ft = (e) => e === "length" || e === "size" || e === "bg-size", zt = (e) => e === "length", cn = (e) => e === "number", un = (e) => e === "family-name", Wt = (e) => e === "shadow", dn = () => {
618
+ const e = F("color"), t = F("font"), r = F("text"), n = F("font-weight"), o = F("tracking"), a = F("leading"), i = F("breakpoint"), s = F("container"), c = F("spacing"), u = F("radius"), m = F("shadow"), p = F("inset-shadow"), g = F("text-shadow"), E = F("drop-shadow"), S = F("blur"), f = F("perspective"), y = F("aspect"), k = F("ease"), N = F("animate"), O = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], A = () => [
614
619
  "center",
615
620
  "top",
616
621
  "bottom",
@@ -628,51 +633,51 @@ const E = (e) => {
628
633
  "bottom-left",
629
634
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
630
635
  "left-bottom"
631
- ], W = () => [...F(), l, i], V = () => ["auto", "hidden", "clip", "visible", "scroll"], B = () => ["auto", "contain", "none"], m = () => [l, i, u], O = () => [Q, "full", "auto", ...m()], ae = () => [Y, "none", "subgrid", l, i], H = () => ["auto", {
632
- span: ["full", Y, l, i]
633
- }, Y, l, i], D = () => [Y, "auto", l, i], ie = () => ["auto", "min", "max", "fr", l, i], q = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], G = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], z = () => ["auto", ...m()], I = () => [Q, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...m()], d = () => [e, l, i], re = () => [...F(), Se, Ee, {
634
- position: [l, i]
635
- }], n = () => ["no-repeat", {
636
+ ], _ = () => [...A(), h, v], j = () => ["auto", "hidden", "clip", "visible", "scroll"], P = () => ["auto", "contain", "none"], b = () => [h, v, c], z = () => [le, "full", "auto", ...b()], K = () => [q, "none", "subgrid", h, v], se = () => ["auto", {
637
+ span: ["full", q, h, v]
638
+ }, q, h, v], ee = () => [q, "auto", h, v], Ee = () => ["auto", "min", "max", "fr", h, v], te = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Y = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], $ = () => ["auto", ...b()], V = () => [le, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...b()], w = () => [e, h, v], ge = () => [...A(), dt, ut, {
639
+ position: [h, v]
640
+ }], d = () => ["no-repeat", {
636
641
  repeat: ["", "x", "y", "space", "round"]
637
- }], p = () => ["auto", "cover", "contain", Sr, wr, {
638
- size: [l, i]
639
- }], x = () => [ue, se, J], h = () => [
642
+ }], C = () => ["auto", "cover", "contain", sn, nn, {
643
+ size: [h, v]
644
+ }], M = () => [Le, ye, re], T = () => [
640
645
  // Deprecated since Tailwind CSS v4.0.0
641
646
  "",
642
647
  "none",
643
648
  "full",
644
- g,
645
- l,
646
- i
647
- ], y = () => ["", b, se, J], _ = () => ["solid", "dashed", "dotted", "double"], Z = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], k = () => [b, ue, Se, Ee], R = () => [
649
+ u,
650
+ h,
651
+ v
652
+ ], D = () => ["", R, ye, re], W = () => ["solid", "dashed", "dotted", "double"], ie = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], I = () => [R, Le, dt, ut], L = () => [
648
653
  // Deprecated since Tailwind CSS v4.0.0
649
654
  "",
650
655
  "none",
651
- A,
652
- l,
653
- i
654
- ], j = () => ["none", b, l, i], $ = () => ["none", b, l, i], te = () => [b, l, i], le = () => [Q, "full", ...m()];
656
+ S,
657
+ h,
658
+ v
659
+ ], U = () => ["none", R, h, v], Z = () => ["none", R, h, v], ve = () => [R, h, v], ke = () => [le, "full", ...b()];
655
660
  return {
656
661
  cacheSize: 500,
657
662
  theme: {
658
663
  animate: ["spin", "ping", "pulse", "bounce"],
659
664
  aspect: ["video"],
660
- blur: [L],
661
- breakpoint: [L],
662
- color: [hr],
663
- container: [L],
664
- "drop-shadow": [L],
665
+ blur: [X],
666
+ breakpoint: [X],
667
+ color: [Jr],
668
+ container: [X],
669
+ "drop-shadow": [X],
665
670
  ease: ["in", "out", "in-out"],
666
- font: [kr],
671
+ font: [rn],
667
672
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
668
- "inset-shadow": [L],
673
+ "inset-shadow": [X],
669
674
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
670
675
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
671
- radius: [L],
672
- shadow: [L],
673
- spacing: ["px", b],
674
- text: [L],
675
- "text-shadow": [L],
676
+ radius: [X],
677
+ shadow: [X],
678
+ spacing: ["px", R],
679
+ text: [X],
680
+ "text-shadow": [X],
676
681
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
677
682
  },
678
683
  classGroups: {
@@ -684,7 +689,7 @@ const E = (e) => {
684
689
  * @see https://tailwindcss.com/docs/aspect-ratio
685
690
  */
686
691
  aspect: [{
687
- aspect: ["auto", "square", Q, i, l, P]
692
+ aspect: ["auto", "square", le, v, h, y]
688
693
  }],
689
694
  /**
690
695
  * Container
@@ -697,21 +702,21 @@ const E = (e) => {
697
702
  * @see https://tailwindcss.com/docs/columns
698
703
  */
699
704
  columns: [{
700
- columns: [b, i, l, f]
705
+ columns: [R, v, h, s]
701
706
  }],
702
707
  /**
703
708
  * Break After
704
709
  * @see https://tailwindcss.com/docs/break-after
705
710
  */
706
711
  "break-after": [{
707
- "break-after": U()
712
+ "break-after": O()
708
713
  }],
709
714
  /**
710
715
  * Break Before
711
716
  * @see https://tailwindcss.com/docs/break-before
712
717
  */
713
718
  "break-before": [{
714
- "break-before": U()
719
+ "break-before": O()
715
720
  }],
716
721
  /**
717
722
  * Break Inside
@@ -775,49 +780,49 @@ const E = (e) => {
775
780
  * @see https://tailwindcss.com/docs/object-position
776
781
  */
777
782
  "object-position": [{
778
- object: W()
783
+ object: _()
779
784
  }],
780
785
  /**
781
786
  * Overflow
782
787
  * @see https://tailwindcss.com/docs/overflow
783
788
  */
784
789
  overflow: [{
785
- overflow: V()
790
+ overflow: j()
786
791
  }],
787
792
  /**
788
793
  * Overflow X
789
794
  * @see https://tailwindcss.com/docs/overflow
790
795
  */
791
796
  "overflow-x": [{
792
- "overflow-x": V()
797
+ "overflow-x": j()
793
798
  }],
794
799
  /**
795
800
  * Overflow Y
796
801
  * @see https://tailwindcss.com/docs/overflow
797
802
  */
798
803
  "overflow-y": [{
799
- "overflow-y": V()
804
+ "overflow-y": j()
800
805
  }],
801
806
  /**
802
807
  * Overscroll Behavior
803
808
  * @see https://tailwindcss.com/docs/overscroll-behavior
804
809
  */
805
810
  overscroll: [{
806
- overscroll: B()
811
+ overscroll: P()
807
812
  }],
808
813
  /**
809
814
  * Overscroll Behavior X
810
815
  * @see https://tailwindcss.com/docs/overscroll-behavior
811
816
  */
812
817
  "overscroll-x": [{
813
- "overscroll-x": B()
818
+ "overscroll-x": P()
814
819
  }],
815
820
  /**
816
821
  * Overscroll Behavior Y
817
822
  * @see https://tailwindcss.com/docs/overscroll-behavior
818
823
  */
819
824
  "overscroll-y": [{
820
- "overscroll-y": B()
825
+ "overscroll-y": P()
821
826
  }],
822
827
  /**
823
828
  * Position
@@ -829,63 +834,63 @@ const E = (e) => {
829
834
  * @see https://tailwindcss.com/docs/top-right-bottom-left
830
835
  */
831
836
  inset: [{
832
- inset: O()
837
+ inset: z()
833
838
  }],
834
839
  /**
835
840
  * Right / Left
836
841
  * @see https://tailwindcss.com/docs/top-right-bottom-left
837
842
  */
838
843
  "inset-x": [{
839
- "inset-x": O()
844
+ "inset-x": z()
840
845
  }],
841
846
  /**
842
847
  * Top / Bottom
843
848
  * @see https://tailwindcss.com/docs/top-right-bottom-left
844
849
  */
845
850
  "inset-y": [{
846
- "inset-y": O()
851
+ "inset-y": z()
847
852
  }],
848
853
  /**
849
854
  * Start
850
855
  * @see https://tailwindcss.com/docs/top-right-bottom-left
851
856
  */
852
857
  start: [{
853
- start: O()
858
+ start: z()
854
859
  }],
855
860
  /**
856
861
  * End
857
862
  * @see https://tailwindcss.com/docs/top-right-bottom-left
858
863
  */
859
864
  end: [{
860
- end: O()
865
+ end: z()
861
866
  }],
862
867
  /**
863
868
  * Top
864
869
  * @see https://tailwindcss.com/docs/top-right-bottom-left
865
870
  */
866
871
  top: [{
867
- top: O()
872
+ top: z()
868
873
  }],
869
874
  /**
870
875
  * Right
871
876
  * @see https://tailwindcss.com/docs/top-right-bottom-left
872
877
  */
873
878
  right: [{
874
- right: O()
879
+ right: z()
875
880
  }],
876
881
  /**
877
882
  * Bottom
878
883
  * @see https://tailwindcss.com/docs/top-right-bottom-left
879
884
  */
880
885
  bottom: [{
881
- bottom: O()
886
+ bottom: z()
882
887
  }],
883
888
  /**
884
889
  * Left
885
890
  * @see https://tailwindcss.com/docs/top-right-bottom-left
886
891
  */
887
892
  left: [{
888
- left: O()
893
+ left: z()
889
894
  }],
890
895
  /**
891
896
  * Visibility
@@ -897,7 +902,7 @@ const E = (e) => {
897
902
  * @see https://tailwindcss.com/docs/z-index
898
903
  */
899
904
  z: [{
900
- z: [Y, "auto", l, i]
905
+ z: [q, "auto", h, v]
901
906
  }],
902
907
  // ------------------------
903
908
  // --- Flexbox and Grid ---
@@ -907,7 +912,7 @@ const E = (e) => {
907
912
  * @see https://tailwindcss.com/docs/flex-basis
908
913
  */
909
914
  basis: [{
910
- basis: [Q, "full", "auto", f, ...m()]
915
+ basis: [le, "full", "auto", s, ...b()]
911
916
  }],
912
917
  /**
913
918
  * Flex Direction
@@ -928,84 +933,84 @@ const E = (e) => {
928
933
  * @see https://tailwindcss.com/docs/flex
929
934
  */
930
935
  flex: [{
931
- flex: [b, Q, "auto", "initial", "none", i]
936
+ flex: [R, le, "auto", "initial", "none", v]
932
937
  }],
933
938
  /**
934
939
  * Flex Grow
935
940
  * @see https://tailwindcss.com/docs/flex-grow
936
941
  */
937
942
  grow: [{
938
- grow: ["", b, l, i]
943
+ grow: ["", R, h, v]
939
944
  }],
940
945
  /**
941
946
  * Flex Shrink
942
947
  * @see https://tailwindcss.com/docs/flex-shrink
943
948
  */
944
949
  shrink: [{
945
- shrink: ["", b, l, i]
950
+ shrink: ["", R, h, v]
946
951
  }],
947
952
  /**
948
953
  * Order
949
954
  * @see https://tailwindcss.com/docs/order
950
955
  */
951
956
  order: [{
952
- order: [Y, "first", "last", "none", l, i]
957
+ order: [q, "first", "last", "none", h, v]
953
958
  }],
954
959
  /**
955
960
  * Grid Template Columns
956
961
  * @see https://tailwindcss.com/docs/grid-template-columns
957
962
  */
958
963
  "grid-cols": [{
959
- "grid-cols": ae()
964
+ "grid-cols": K()
960
965
  }],
961
966
  /**
962
967
  * Grid Column Start / End
963
968
  * @see https://tailwindcss.com/docs/grid-column
964
969
  */
965
970
  "col-start-end": [{
966
- col: H()
971
+ col: se()
967
972
  }],
968
973
  /**
969
974
  * Grid Column Start
970
975
  * @see https://tailwindcss.com/docs/grid-column
971
976
  */
972
977
  "col-start": [{
973
- "col-start": D()
978
+ "col-start": ee()
974
979
  }],
975
980
  /**
976
981
  * Grid Column End
977
982
  * @see https://tailwindcss.com/docs/grid-column
978
983
  */
979
984
  "col-end": [{
980
- "col-end": D()
985
+ "col-end": ee()
981
986
  }],
982
987
  /**
983
988
  * Grid Template Rows
984
989
  * @see https://tailwindcss.com/docs/grid-template-rows
985
990
  */
986
991
  "grid-rows": [{
987
- "grid-rows": ae()
992
+ "grid-rows": K()
988
993
  }],
989
994
  /**
990
995
  * Grid Row Start / End
991
996
  * @see https://tailwindcss.com/docs/grid-row
992
997
  */
993
998
  "row-start-end": [{
994
- row: H()
999
+ row: se()
995
1000
  }],
996
1001
  /**
997
1002
  * Grid Row Start
998
1003
  * @see https://tailwindcss.com/docs/grid-row
999
1004
  */
1000
1005
  "row-start": [{
1001
- "row-start": D()
1006
+ "row-start": ee()
1002
1007
  }],
1003
1008
  /**
1004
1009
  * Grid Row End
1005
1010
  * @see https://tailwindcss.com/docs/grid-row
1006
1011
  */
1007
1012
  "row-end": [{
1008
- "row-end": D()
1013
+ "row-end": ee()
1009
1014
  }],
1010
1015
  /**
1011
1016
  * Grid Auto Flow
@@ -1019,70 +1024,70 @@ const E = (e) => {
1019
1024
  * @see https://tailwindcss.com/docs/grid-auto-columns
1020
1025
  */
1021
1026
  "auto-cols": [{
1022
- "auto-cols": ie()
1027
+ "auto-cols": Ee()
1023
1028
  }],
1024
1029
  /**
1025
1030
  * Grid Auto Rows
1026
1031
  * @see https://tailwindcss.com/docs/grid-auto-rows
1027
1032
  */
1028
1033
  "auto-rows": [{
1029
- "auto-rows": ie()
1034
+ "auto-rows": Ee()
1030
1035
  }],
1031
1036
  /**
1032
1037
  * Gap
1033
1038
  * @see https://tailwindcss.com/docs/gap
1034
1039
  */
1035
1040
  gap: [{
1036
- gap: m()
1041
+ gap: b()
1037
1042
  }],
1038
1043
  /**
1039
1044
  * Gap X
1040
1045
  * @see https://tailwindcss.com/docs/gap
1041
1046
  */
1042
1047
  "gap-x": [{
1043
- "gap-x": m()
1048
+ "gap-x": b()
1044
1049
  }],
1045
1050
  /**
1046
1051
  * Gap Y
1047
1052
  * @see https://tailwindcss.com/docs/gap
1048
1053
  */
1049
1054
  "gap-y": [{
1050
- "gap-y": m()
1055
+ "gap-y": b()
1051
1056
  }],
1052
1057
  /**
1053
1058
  * Justify Content
1054
1059
  * @see https://tailwindcss.com/docs/justify-content
1055
1060
  */
1056
1061
  "justify-content": [{
1057
- justify: [...q(), "normal"]
1062
+ justify: [...te(), "normal"]
1058
1063
  }],
1059
1064
  /**
1060
1065
  * Justify Items
1061
1066
  * @see https://tailwindcss.com/docs/justify-items
1062
1067
  */
1063
1068
  "justify-items": [{
1064
- "justify-items": [...G(), "normal"]
1069
+ "justify-items": [...Y(), "normal"]
1065
1070
  }],
1066
1071
  /**
1067
1072
  * Justify Self
1068
1073
  * @see https://tailwindcss.com/docs/justify-self
1069
1074
  */
1070
1075
  "justify-self": [{
1071
- "justify-self": ["auto", ...G()]
1076
+ "justify-self": ["auto", ...Y()]
1072
1077
  }],
1073
1078
  /**
1074
1079
  * Align Content
1075
1080
  * @see https://tailwindcss.com/docs/align-content
1076
1081
  */
1077
1082
  "align-content": [{
1078
- content: ["normal", ...q()]
1083
+ content: ["normal", ...te()]
1079
1084
  }],
1080
1085
  /**
1081
1086
  * Align Items
1082
1087
  * @see https://tailwindcss.com/docs/align-items
1083
1088
  */
1084
1089
  "align-items": [{
1085
- items: [...G(), {
1090
+ items: [...Y(), {
1086
1091
  baseline: ["", "last"]
1087
1092
  }]
1088
1093
  }],
@@ -1091,7 +1096,7 @@ const E = (e) => {
1091
1096
  * @see https://tailwindcss.com/docs/align-self
1092
1097
  */
1093
1098
  "align-self": [{
1094
- self: ["auto", ...G(), {
1099
+ self: ["auto", ...Y(), {
1095
1100
  baseline: ["", "last"]
1096
1101
  }]
1097
1102
  }],
@@ -1100,21 +1105,21 @@ const E = (e) => {
1100
1105
  * @see https://tailwindcss.com/docs/place-content
1101
1106
  */
1102
1107
  "place-content": [{
1103
- "place-content": q()
1108
+ "place-content": te()
1104
1109
  }],
1105
1110
  /**
1106
1111
  * Place Items
1107
1112
  * @see https://tailwindcss.com/docs/place-items
1108
1113
  */
1109
1114
  "place-items": [{
1110
- "place-items": [...G(), "baseline"]
1115
+ "place-items": [...Y(), "baseline"]
1111
1116
  }],
1112
1117
  /**
1113
1118
  * Place Self
1114
1119
  * @see https://tailwindcss.com/docs/place-self
1115
1120
  */
1116
1121
  "place-self": [{
1117
- "place-self": ["auto", ...G()]
1122
+ "place-self": ["auto", ...Y()]
1118
1123
  }],
1119
1124
  // Spacing
1120
1125
  /**
@@ -1122,133 +1127,133 @@ const E = (e) => {
1122
1127
  * @see https://tailwindcss.com/docs/padding
1123
1128
  */
1124
1129
  p: [{
1125
- p: m()
1130
+ p: b()
1126
1131
  }],
1127
1132
  /**
1128
1133
  * Padding X
1129
1134
  * @see https://tailwindcss.com/docs/padding
1130
1135
  */
1131
1136
  px: [{
1132
- px: m()
1137
+ px: b()
1133
1138
  }],
1134
1139
  /**
1135
1140
  * Padding Y
1136
1141
  * @see https://tailwindcss.com/docs/padding
1137
1142
  */
1138
1143
  py: [{
1139
- py: m()
1144
+ py: b()
1140
1145
  }],
1141
1146
  /**
1142
1147
  * Padding Start
1143
1148
  * @see https://tailwindcss.com/docs/padding
1144
1149
  */
1145
1150
  ps: [{
1146
- ps: m()
1151
+ ps: b()
1147
1152
  }],
1148
1153
  /**
1149
1154
  * Padding End
1150
1155
  * @see https://tailwindcss.com/docs/padding
1151
1156
  */
1152
1157
  pe: [{
1153
- pe: m()
1158
+ pe: b()
1154
1159
  }],
1155
1160
  /**
1156
1161
  * Padding Top
1157
1162
  * @see https://tailwindcss.com/docs/padding
1158
1163
  */
1159
1164
  pt: [{
1160
- pt: m()
1165
+ pt: b()
1161
1166
  }],
1162
1167
  /**
1163
1168
  * Padding Right
1164
1169
  * @see https://tailwindcss.com/docs/padding
1165
1170
  */
1166
1171
  pr: [{
1167
- pr: m()
1172
+ pr: b()
1168
1173
  }],
1169
1174
  /**
1170
1175
  * Padding Bottom
1171
1176
  * @see https://tailwindcss.com/docs/padding
1172
1177
  */
1173
1178
  pb: [{
1174
- pb: m()
1179
+ pb: b()
1175
1180
  }],
1176
1181
  /**
1177
1182
  * Padding Left
1178
1183
  * @see https://tailwindcss.com/docs/padding
1179
1184
  */
1180
1185
  pl: [{
1181
- pl: m()
1186
+ pl: b()
1182
1187
  }],
1183
1188
  /**
1184
1189
  * Margin
1185
1190
  * @see https://tailwindcss.com/docs/margin
1186
1191
  */
1187
1192
  m: [{
1188
- m: z()
1193
+ m: $()
1189
1194
  }],
1190
1195
  /**
1191
1196
  * Margin X
1192
1197
  * @see https://tailwindcss.com/docs/margin
1193
1198
  */
1194
1199
  mx: [{
1195
- mx: z()
1200
+ mx: $()
1196
1201
  }],
1197
1202
  /**
1198
1203
  * Margin Y
1199
1204
  * @see https://tailwindcss.com/docs/margin
1200
1205
  */
1201
1206
  my: [{
1202
- my: z()
1207
+ my: $()
1203
1208
  }],
1204
1209
  /**
1205
1210
  * Margin Start
1206
1211
  * @see https://tailwindcss.com/docs/margin
1207
1212
  */
1208
1213
  ms: [{
1209
- ms: z()
1214
+ ms: $()
1210
1215
  }],
1211
1216
  /**
1212
1217
  * Margin End
1213
1218
  * @see https://tailwindcss.com/docs/margin
1214
1219
  */
1215
1220
  me: [{
1216
- me: z()
1221
+ me: $()
1217
1222
  }],
1218
1223
  /**
1219
1224
  * Margin Top
1220
1225
  * @see https://tailwindcss.com/docs/margin
1221
1226
  */
1222
1227
  mt: [{
1223
- mt: z()
1228
+ mt: $()
1224
1229
  }],
1225
1230
  /**
1226
1231
  * Margin Right
1227
1232
  * @see https://tailwindcss.com/docs/margin
1228
1233
  */
1229
1234
  mr: [{
1230
- mr: z()
1235
+ mr: $()
1231
1236
  }],
1232
1237
  /**
1233
1238
  * Margin Bottom
1234
1239
  * @see https://tailwindcss.com/docs/margin
1235
1240
  */
1236
1241
  mb: [{
1237
- mb: z()
1242
+ mb: $()
1238
1243
  }],
1239
1244
  /**
1240
1245
  * Margin Left
1241
1246
  * @see https://tailwindcss.com/docs/margin
1242
1247
  */
1243
1248
  ml: [{
1244
- ml: z()
1249
+ ml: $()
1245
1250
  }],
1246
1251
  /**
1247
1252
  * Space Between X
1248
1253
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1249
1254
  */
1250
1255
  "space-x": [{
1251
- "space-x": m()
1256
+ "space-x": b()
1252
1257
  }],
1253
1258
  /**
1254
1259
  * Space Between X Reverse
@@ -1260,7 +1265,7 @@ const E = (e) => {
1260
1265
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1261
1266
  */
1262
1267
  "space-y": [{
1263
- "space-y": m()
1268
+ "space-y": b()
1264
1269
  }],
1265
1270
  /**
1266
1271
  * Space Between Y Reverse
@@ -1275,14 +1280,14 @@ const E = (e) => {
1275
1280
  * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
1276
1281
  */
1277
1282
  size: [{
1278
- size: I()
1283
+ size: V()
1279
1284
  }],
1280
1285
  /**
1281
1286
  * Width
1282
1287
  * @see https://tailwindcss.com/docs/width
1283
1288
  */
1284
1289
  w: [{
1285
- w: [f, "screen", ...I()]
1290
+ w: [s, "screen", ...V()]
1286
1291
  }],
1287
1292
  /**
1288
1293
  * Min-Width
@@ -1290,11 +1295,11 @@ const E = (e) => {
1290
1295
  */
1291
1296
  "min-w": [{
1292
1297
  "min-w": [
1293
- f,
1298
+ s,
1294
1299
  "screen",
1295
1300
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1296
1301
  "none",
1297
- ...I()
1302
+ ...V()
1298
1303
  ]
1299
1304
  }],
1300
1305
  /**
@@ -1303,16 +1308,16 @@ const E = (e) => {
1303
1308
  */
1304
1309
  "max-w": [{
1305
1310
  "max-w": [
1306
- f,
1311
+ s,
1307
1312
  "screen",
1308
1313
  "none",
1309
1314
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1310
1315
  "prose",
1311
1316
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1312
1317
  {
1313
- screen: [c]
1318
+ screen: [i]
1314
1319
  },
1315
- ...I()
1320
+ ...V()
1316
1321
  ]
1317
1322
  }],
1318
1323
  /**
@@ -1320,21 +1325,21 @@ const E = (e) => {
1320
1325
  * @see https://tailwindcss.com/docs/height
1321
1326
  */
1322
1327
  h: [{
1323
- h: ["screen", "lh", ...I()]
1328
+ h: ["screen", "lh", ...V()]
1324
1329
  }],
1325
1330
  /**
1326
1331
  * Min-Height
1327
1332
  * @see https://tailwindcss.com/docs/min-height
1328
1333
  */
1329
1334
  "min-h": [{
1330
- "min-h": ["screen", "lh", "none", ...I()]
1335
+ "min-h": ["screen", "lh", "none", ...V()]
1331
1336
  }],
1332
1337
  /**
1333
1338
  * Max-Height
1334
1339
  * @see https://tailwindcss.com/docs/max-height
1335
1340
  */
1336
1341
  "max-h": [{
1337
- "max-h": ["screen", "lh", ...I()]
1342
+ "max-h": ["screen", "lh", ...V()]
1338
1343
  }],
1339
1344
  // ------------------
1340
1345
  // --- Typography ---
@@ -1344,7 +1349,7 @@ const E = (e) => {
1344
1349
  * @see https://tailwindcss.com/docs/font-size
1345
1350
  */
1346
1351
  "font-size": [{
1347
- text: ["base", r, se, J]
1352
+ text: ["base", r, ye, re]
1348
1353
  }],
1349
1354
  /**
1350
1355
  * Font Smoothing
@@ -1361,21 +1366,21 @@ const E = (e) => {
1361
1366
  * @see https://tailwindcss.com/docs/font-weight
1362
1367
  */
1363
1368
  "font-weight": [{
1364
- font: [t, l, me]
1369
+ font: [n, h, Fe]
1365
1370
  }],
1366
1371
  /**
1367
1372
  * Font Stretch
1368
1373
  * @see https://tailwindcss.com/docs/font-stretch
1369
1374
  */
1370
1375
  "font-stretch": [{
1371
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ue, i]
1376
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Le, v]
1372
1377
  }],
1373
1378
  /**
1374
1379
  * Font Family
1375
1380
  * @see https://tailwindcss.com/docs/font-family
1376
1381
  */
1377
1382
  "font-family": [{
1378
- font: [Er, i, o]
1383
+ font: [an, v, t]
1379
1384
  }],
1380
1385
  /**
1381
1386
  * Font Variant Numeric
@@ -1412,14 +1417,14 @@ const E = (e) => {
1412
1417
  * @see https://tailwindcss.com/docs/letter-spacing
1413
1418
  */
1414
1419
  tracking: [{
1415
- tracking: [s, l, i]
1420
+ tracking: [o, h, v]
1416
1421
  }],
1417
1422
  /**
1418
1423
  * Line Clamp
1419
1424
  * @see https://tailwindcss.com/docs/line-clamp
1420
1425
  */
1421
1426
  "line-clamp": [{
1422
- "line-clamp": [b, "none", l, me]
1427
+ "line-clamp": [R, "none", h, Fe]
1423
1428
  }],
1424
1429
  /**
1425
1430
  * Line Height
@@ -1429,7 +1434,7 @@ const E = (e) => {
1429
1434
  leading: [
1430
1435
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1431
1436
  a,
1432
- ...m()
1437
+ ...b()
1433
1438
  ]
1434
1439
  }],
1435
1440
  /**
@@ -1437,7 +1442,7 @@ const E = (e) => {
1437
1442
  * @see https://tailwindcss.com/docs/list-style-image
1438
1443
  */
1439
1444
  "list-image": [{
1440
- "list-image": ["none", l, i]
1445
+ "list-image": ["none", h, v]
1441
1446
  }],
1442
1447
  /**
1443
1448
  * List Style Position
@@ -1451,7 +1456,7 @@ const E = (e) => {
1451
1456
  * @see https://tailwindcss.com/docs/list-style-type
1452
1457
  */
1453
1458
  "list-style-type": [{
1454
- list: ["disc", "decimal", "none", l, i]
1459
+ list: ["disc", "decimal", "none", h, v]
1455
1460
  }],
1456
1461
  /**
1457
1462
  * Text Alignment
@@ -1466,14 +1471,14 @@ const E = (e) => {
1466
1471
  * @see https://v3.tailwindcss.com/docs/placeholder-color
1467
1472
  */
1468
1473
  "placeholder-color": [{
1469
- placeholder: d()
1474
+ placeholder: w()
1470
1475
  }],
1471
1476
  /**
1472
1477
  * Text Color
1473
1478
  * @see https://tailwindcss.com/docs/text-color
1474
1479
  */
1475
1480
  "text-color": [{
1476
- text: d()
1481
+ text: w()
1477
1482
  }],
1478
1483
  /**
1479
1484
  * Text Decoration
@@ -1485,28 +1490,28 @@ const E = (e) => {
1485
1490
  * @see https://tailwindcss.com/docs/text-decoration-style
1486
1491
  */
1487
1492
  "text-decoration-style": [{
1488
- decoration: [..._(), "wavy"]
1493
+ decoration: [...W(), "wavy"]
1489
1494
  }],
1490
1495
  /**
1491
1496
  * Text Decoration Thickness
1492
1497
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1493
1498
  */
1494
1499
  "text-decoration-thickness": [{
1495
- decoration: [b, "from-font", "auto", l, J]
1500
+ decoration: [R, "from-font", "auto", h, re]
1496
1501
  }],
1497
1502
  /**
1498
1503
  * Text Decoration Color
1499
1504
  * @see https://tailwindcss.com/docs/text-decoration-color
1500
1505
  */
1501
1506
  "text-decoration-color": [{
1502
- decoration: d()
1507
+ decoration: w()
1503
1508
  }],
1504
1509
  /**
1505
1510
  * Text Underline Offset
1506
1511
  * @see https://tailwindcss.com/docs/text-underline-offset
1507
1512
  */
1508
1513
  "underline-offset": [{
1509
- "underline-offset": [b, "auto", l, i]
1514
+ "underline-offset": [R, "auto", h, v]
1510
1515
  }],
1511
1516
  /**
1512
1517
  * Text Transform
@@ -1530,14 +1535,14 @@ const E = (e) => {
1530
1535
  * @see https://tailwindcss.com/docs/text-indent
1531
1536
  */
1532
1537
  indent: [{
1533
- indent: m()
1538
+ indent: b()
1534
1539
  }],
1535
1540
  /**
1536
1541
  * Vertical Alignment
1537
1542
  * @see https://tailwindcss.com/docs/vertical-align
1538
1543
  */
1539
1544
  "vertical-align": [{
1540
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", l, i]
1545
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", h, v]
1541
1546
  }],
1542
1547
  /**
1543
1548
  * Whitespace
@@ -1572,7 +1577,7 @@ const E = (e) => {
1572
1577
  * @see https://tailwindcss.com/docs/content
1573
1578
  */
1574
1579
  content: [{
1575
- content: ["none", l, i]
1580
+ content: ["none", h, v]
1576
1581
  }],
1577
1582
  // -------------------
1578
1583
  // --- Backgrounds ---
@@ -1603,21 +1608,21 @@ const E = (e) => {
1603
1608
  * @see https://tailwindcss.com/docs/background-position
1604
1609
  */
1605
1610
  "bg-position": [{
1606
- bg: re()
1611
+ bg: ge()
1607
1612
  }],
1608
1613
  /**
1609
1614
  * Background Repeat
1610
1615
  * @see https://tailwindcss.com/docs/background-repeat
1611
1616
  */
1612
1617
  "bg-repeat": [{
1613
- bg: n()
1618
+ bg: d()
1614
1619
  }],
1615
1620
  /**
1616
1621
  * Background Size
1617
1622
  * @see https://tailwindcss.com/docs/background-size
1618
1623
  */
1619
1624
  "bg-size": [{
1620
- bg: p()
1625
+ bg: C()
1621
1626
  }],
1622
1627
  /**
1623
1628
  * Background Image
@@ -1627,59 +1632,59 @@ const E = (e) => {
1627
1632
  bg: ["none", {
1628
1633
  linear: [{
1629
1634
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1630
- }, Y, l, i],
1631
- radial: ["", l, i],
1632
- conic: [Y, l, i]
1633
- }, Tr, Rr]
1635
+ }, q, h, v],
1636
+ radial: ["", h, v],
1637
+ conic: [q, h, v]
1638
+ }, ln, on]
1634
1639
  }],
1635
1640
  /**
1636
1641
  * Background Color
1637
1642
  * @see https://tailwindcss.com/docs/background-color
1638
1643
  */
1639
1644
  "bg-color": [{
1640
- bg: d()
1645
+ bg: w()
1641
1646
  }],
1642
1647
  /**
1643
1648
  * Gradient Color Stops From Position
1644
1649
  * @see https://tailwindcss.com/docs/gradient-color-stops
1645
1650
  */
1646
1651
  "gradient-from-pos": [{
1647
- from: x()
1652
+ from: M()
1648
1653
  }],
1649
1654
  /**
1650
1655
  * Gradient Color Stops Via Position
1651
1656
  * @see https://tailwindcss.com/docs/gradient-color-stops
1652
1657
  */
1653
1658
  "gradient-via-pos": [{
1654
- via: x()
1659
+ via: M()
1655
1660
  }],
1656
1661
  /**
1657
1662
  * Gradient Color Stops To Position
1658
1663
  * @see https://tailwindcss.com/docs/gradient-color-stops
1659
1664
  */
1660
1665
  "gradient-to-pos": [{
1661
- to: x()
1666
+ to: M()
1662
1667
  }],
1663
1668
  /**
1664
1669
  * Gradient Color Stops From
1665
1670
  * @see https://tailwindcss.com/docs/gradient-color-stops
1666
1671
  */
1667
1672
  "gradient-from": [{
1668
- from: d()
1673
+ from: w()
1669
1674
  }],
1670
1675
  /**
1671
1676
  * Gradient Color Stops Via
1672
1677
  * @see https://tailwindcss.com/docs/gradient-color-stops
1673
1678
  */
1674
1679
  "gradient-via": [{
1675
- via: d()
1680
+ via: w()
1676
1681
  }],
1677
1682
  /**
1678
1683
  * Gradient Color Stops To
1679
1684
  * @see https://tailwindcss.com/docs/gradient-color-stops
1680
1685
  */
1681
1686
  "gradient-to": [{
1682
- to: d()
1687
+ to: w()
1683
1688
  }],
1684
1689
  // ---------------
1685
1690
  // --- Borders ---
@@ -1689,175 +1694,175 @@ const E = (e) => {
1689
1694
  * @see https://tailwindcss.com/docs/border-radius
1690
1695
  */
1691
1696
  rounded: [{
1692
- rounded: h()
1697
+ rounded: T()
1693
1698
  }],
1694
1699
  /**
1695
1700
  * Border Radius Start
1696
1701
  * @see https://tailwindcss.com/docs/border-radius
1697
1702
  */
1698
1703
  "rounded-s": [{
1699
- "rounded-s": h()
1704
+ "rounded-s": T()
1700
1705
  }],
1701
1706
  /**
1702
1707
  * Border Radius End
1703
1708
  * @see https://tailwindcss.com/docs/border-radius
1704
1709
  */
1705
1710
  "rounded-e": [{
1706
- "rounded-e": h()
1711
+ "rounded-e": T()
1707
1712
  }],
1708
1713
  /**
1709
1714
  * Border Radius Top
1710
1715
  * @see https://tailwindcss.com/docs/border-radius
1711
1716
  */
1712
1717
  "rounded-t": [{
1713
- "rounded-t": h()
1718
+ "rounded-t": T()
1714
1719
  }],
1715
1720
  /**
1716
1721
  * Border Radius Right
1717
1722
  * @see https://tailwindcss.com/docs/border-radius
1718
1723
  */
1719
1724
  "rounded-r": [{
1720
- "rounded-r": h()
1725
+ "rounded-r": T()
1721
1726
  }],
1722
1727
  /**
1723
1728
  * Border Radius Bottom
1724
1729
  * @see https://tailwindcss.com/docs/border-radius
1725
1730
  */
1726
1731
  "rounded-b": [{
1727
- "rounded-b": h()
1732
+ "rounded-b": T()
1728
1733
  }],
1729
1734
  /**
1730
1735
  * Border Radius Left
1731
1736
  * @see https://tailwindcss.com/docs/border-radius
1732
1737
  */
1733
1738
  "rounded-l": [{
1734
- "rounded-l": h()
1739
+ "rounded-l": T()
1735
1740
  }],
1736
1741
  /**
1737
1742
  * Border Radius Start Start
1738
1743
  * @see https://tailwindcss.com/docs/border-radius
1739
1744
  */
1740
1745
  "rounded-ss": [{
1741
- "rounded-ss": h()
1746
+ "rounded-ss": T()
1742
1747
  }],
1743
1748
  /**
1744
1749
  * Border Radius Start End
1745
1750
  * @see https://tailwindcss.com/docs/border-radius
1746
1751
  */
1747
1752
  "rounded-se": [{
1748
- "rounded-se": h()
1753
+ "rounded-se": T()
1749
1754
  }],
1750
1755
  /**
1751
1756
  * Border Radius End End
1752
1757
  * @see https://tailwindcss.com/docs/border-radius
1753
1758
  */
1754
1759
  "rounded-ee": [{
1755
- "rounded-ee": h()
1760
+ "rounded-ee": T()
1756
1761
  }],
1757
1762
  /**
1758
1763
  * Border Radius End Start
1759
1764
  * @see https://tailwindcss.com/docs/border-radius
1760
1765
  */
1761
1766
  "rounded-es": [{
1762
- "rounded-es": h()
1767
+ "rounded-es": T()
1763
1768
  }],
1764
1769
  /**
1765
1770
  * Border Radius Top Left
1766
1771
  * @see https://tailwindcss.com/docs/border-radius
1767
1772
  */
1768
1773
  "rounded-tl": [{
1769
- "rounded-tl": h()
1774
+ "rounded-tl": T()
1770
1775
  }],
1771
1776
  /**
1772
1777
  * Border Radius Top Right
1773
1778
  * @see https://tailwindcss.com/docs/border-radius
1774
1779
  */
1775
1780
  "rounded-tr": [{
1776
- "rounded-tr": h()
1781
+ "rounded-tr": T()
1777
1782
  }],
1778
1783
  /**
1779
1784
  * Border Radius Bottom Right
1780
1785
  * @see https://tailwindcss.com/docs/border-radius
1781
1786
  */
1782
1787
  "rounded-br": [{
1783
- "rounded-br": h()
1788
+ "rounded-br": T()
1784
1789
  }],
1785
1790
  /**
1786
1791
  * Border Radius Bottom Left
1787
1792
  * @see https://tailwindcss.com/docs/border-radius
1788
1793
  */
1789
1794
  "rounded-bl": [{
1790
- "rounded-bl": h()
1795
+ "rounded-bl": T()
1791
1796
  }],
1792
1797
  /**
1793
1798
  * Border Width
1794
1799
  * @see https://tailwindcss.com/docs/border-width
1795
1800
  */
1796
1801
  "border-w": [{
1797
- border: y()
1802
+ border: D()
1798
1803
  }],
1799
1804
  /**
1800
1805
  * Border Width X
1801
1806
  * @see https://tailwindcss.com/docs/border-width
1802
1807
  */
1803
1808
  "border-w-x": [{
1804
- "border-x": y()
1809
+ "border-x": D()
1805
1810
  }],
1806
1811
  /**
1807
1812
  * Border Width Y
1808
1813
  * @see https://tailwindcss.com/docs/border-width
1809
1814
  */
1810
1815
  "border-w-y": [{
1811
- "border-y": y()
1816
+ "border-y": D()
1812
1817
  }],
1813
1818
  /**
1814
1819
  * Border Width Start
1815
1820
  * @see https://tailwindcss.com/docs/border-width
1816
1821
  */
1817
1822
  "border-w-s": [{
1818
- "border-s": y()
1823
+ "border-s": D()
1819
1824
  }],
1820
1825
  /**
1821
1826
  * Border Width End
1822
1827
  * @see https://tailwindcss.com/docs/border-width
1823
1828
  */
1824
1829
  "border-w-e": [{
1825
- "border-e": y()
1830
+ "border-e": D()
1826
1831
  }],
1827
1832
  /**
1828
1833
  * Border Width Top
1829
1834
  * @see https://tailwindcss.com/docs/border-width
1830
1835
  */
1831
1836
  "border-w-t": [{
1832
- "border-t": y()
1837
+ "border-t": D()
1833
1838
  }],
1834
1839
  /**
1835
1840
  * Border Width Right
1836
1841
  * @see https://tailwindcss.com/docs/border-width
1837
1842
  */
1838
1843
  "border-w-r": [{
1839
- "border-r": y()
1844
+ "border-r": D()
1840
1845
  }],
1841
1846
  /**
1842
1847
  * Border Width Bottom
1843
1848
  * @see https://tailwindcss.com/docs/border-width
1844
1849
  */
1845
1850
  "border-w-b": [{
1846
- "border-b": y()
1851
+ "border-b": D()
1847
1852
  }],
1848
1853
  /**
1849
1854
  * Border Width Left
1850
1855
  * @see https://tailwindcss.com/docs/border-width
1851
1856
  */
1852
1857
  "border-w-l": [{
1853
- "border-l": y()
1858
+ "border-l": D()
1854
1859
  }],
1855
1860
  /**
1856
1861
  * Divide Width X
1857
1862
  * @see https://tailwindcss.com/docs/border-width#between-children
1858
1863
  */
1859
1864
  "divide-x": [{
1860
- "divide-x": y()
1865
+ "divide-x": D()
1861
1866
  }],
1862
1867
  /**
1863
1868
  * Divide Width X Reverse
@@ -1869,7 +1874,7 @@ const E = (e) => {
1869
1874
  * @see https://tailwindcss.com/docs/border-width#between-children
1870
1875
  */
1871
1876
  "divide-y": [{
1872
- "divide-y": y()
1877
+ "divide-y": D()
1873
1878
  }],
1874
1879
  /**
1875
1880
  * Divide Width Y Reverse
@@ -1881,112 +1886,112 @@ const E = (e) => {
1881
1886
  * @see https://tailwindcss.com/docs/border-style
1882
1887
  */
1883
1888
  "border-style": [{
1884
- border: [..._(), "hidden", "none"]
1889
+ border: [...W(), "hidden", "none"]
1885
1890
  }],
1886
1891
  /**
1887
1892
  * Divide Style
1888
1893
  * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1889
1894
  */
1890
1895
  "divide-style": [{
1891
- divide: [..._(), "hidden", "none"]
1896
+ divide: [...W(), "hidden", "none"]
1892
1897
  }],
1893
1898
  /**
1894
1899
  * Border Color
1895
1900
  * @see https://tailwindcss.com/docs/border-color
1896
1901
  */
1897
1902
  "border-color": [{
1898
- border: d()
1903
+ border: w()
1899
1904
  }],
1900
1905
  /**
1901
1906
  * Border Color X
1902
1907
  * @see https://tailwindcss.com/docs/border-color
1903
1908
  */
1904
1909
  "border-color-x": [{
1905
- "border-x": d()
1910
+ "border-x": w()
1906
1911
  }],
1907
1912
  /**
1908
1913
  * Border Color Y
1909
1914
  * @see https://tailwindcss.com/docs/border-color
1910
1915
  */
1911
1916
  "border-color-y": [{
1912
- "border-y": d()
1917
+ "border-y": w()
1913
1918
  }],
1914
1919
  /**
1915
1920
  * Border Color S
1916
1921
  * @see https://tailwindcss.com/docs/border-color
1917
1922
  */
1918
1923
  "border-color-s": [{
1919
- "border-s": d()
1924
+ "border-s": w()
1920
1925
  }],
1921
1926
  /**
1922
1927
  * Border Color E
1923
1928
  * @see https://tailwindcss.com/docs/border-color
1924
1929
  */
1925
1930
  "border-color-e": [{
1926
- "border-e": d()
1931
+ "border-e": w()
1927
1932
  }],
1928
1933
  /**
1929
1934
  * Border Color Top
1930
1935
  * @see https://tailwindcss.com/docs/border-color
1931
1936
  */
1932
1937
  "border-color-t": [{
1933
- "border-t": d()
1938
+ "border-t": w()
1934
1939
  }],
1935
1940
  /**
1936
1941
  * Border Color Right
1937
1942
  * @see https://tailwindcss.com/docs/border-color
1938
1943
  */
1939
1944
  "border-color-r": [{
1940
- "border-r": d()
1945
+ "border-r": w()
1941
1946
  }],
1942
1947
  /**
1943
1948
  * Border Color Bottom
1944
1949
  * @see https://tailwindcss.com/docs/border-color
1945
1950
  */
1946
1951
  "border-color-b": [{
1947
- "border-b": d()
1952
+ "border-b": w()
1948
1953
  }],
1949
1954
  /**
1950
1955
  * Border Color Left
1951
1956
  * @see https://tailwindcss.com/docs/border-color
1952
1957
  */
1953
1958
  "border-color-l": [{
1954
- "border-l": d()
1959
+ "border-l": w()
1955
1960
  }],
1956
1961
  /**
1957
1962
  * Divide Color
1958
1963
  * @see https://tailwindcss.com/docs/divide-color
1959
1964
  */
1960
1965
  "divide-color": [{
1961
- divide: d()
1966
+ divide: w()
1962
1967
  }],
1963
1968
  /**
1964
1969
  * Outline Style
1965
1970
  * @see https://tailwindcss.com/docs/outline-style
1966
1971
  */
1967
1972
  "outline-style": [{
1968
- outline: [..._(), "none", "hidden"]
1973
+ outline: [...W(), "none", "hidden"]
1969
1974
  }],
1970
1975
  /**
1971
1976
  * Outline Offset
1972
1977
  * @see https://tailwindcss.com/docs/outline-offset
1973
1978
  */
1974
1979
  "outline-offset": [{
1975
- "outline-offset": [b, l, i]
1980
+ "outline-offset": [R, h, v]
1976
1981
  }],
1977
1982
  /**
1978
1983
  * Outline Width
1979
1984
  * @see https://tailwindcss.com/docs/outline-width
1980
1985
  */
1981
1986
  "outline-w": [{
1982
- outline: ["", b, se, J]
1987
+ outline: ["", R, ye, re]
1983
1988
  }],
1984
1989
  /**
1985
1990
  * Outline Color
1986
1991
  * @see https://tailwindcss.com/docs/outline-color
1987
1992
  */
1988
1993
  "outline-color": [{
1989
- outline: d()
1994
+ outline: w()
1990
1995
  }],
1991
1996
  // ---------------
1992
1997
  // --- Effects ---
@@ -2000,9 +2005,9 @@ const E = (e) => {
2000
2005
  // Deprecated since Tailwind CSS v4.0.0
2001
2006
  "",
2002
2007
  "none",
2003
- v,
2004
- de,
2005
- ce
2008
+ m,
2009
+ Se,
2010
+ Ce
2006
2011
  ]
2007
2012
  }],
2008
2013
  /**
@@ -2010,28 +2015,28 @@ const E = (e) => {
2010
2015
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
2011
2016
  */
2012
2017
  "shadow-color": [{
2013
- shadow: d()
2018
+ shadow: w()
2014
2019
  }],
2015
2020
  /**
2016
2021
  * Inset Box Shadow
2017
2022
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
2018
2023
  */
2019
2024
  "inset-shadow": [{
2020
- "inset-shadow": ["none", w, de, ce]
2025
+ "inset-shadow": ["none", p, Se, Ce]
2021
2026
  }],
2022
2027
  /**
2023
2028
  * Inset Box Shadow Color
2024
2029
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
2025
2030
  */
2026
2031
  "inset-shadow-color": [{
2027
- "inset-shadow": d()
2032
+ "inset-shadow": w()
2028
2033
  }],
2029
2034
  /**
2030
2035
  * Ring Width
2031
2036
  * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
2032
2037
  */
2033
2038
  "ring-w": [{
2034
- ring: y()
2039
+ ring: D()
2035
2040
  }],
2036
2041
  /**
2037
2042
  * Ring Width Inset
@@ -2045,7 +2050,7 @@ const E = (e) => {
2045
2050
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
2046
2051
  */
2047
2052
  "ring-color": [{
2048
- ring: d()
2053
+ ring: w()
2049
2054
  }],
2050
2055
  /**
2051
2056
  * Ring Offset Width
@@ -2054,7 +2059,7 @@ const E = (e) => {
2054
2059
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2055
2060
  */
2056
2061
  "ring-offset-w": [{
2057
- "ring-offset": [b, J]
2062
+ "ring-offset": [R, re]
2058
2063
  }],
2059
2064
  /**
2060
2065
  * Ring Offset Color
@@ -2063,56 +2068,56 @@ const E = (e) => {
2063
2068
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2064
2069
  */
2065
2070
  "ring-offset-color": [{
2066
- "ring-offset": d()
2071
+ "ring-offset": w()
2067
2072
  }],
2068
2073
  /**
2069
2074
  * Inset Ring Width
2070
2075
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
2071
2076
  */
2072
2077
  "inset-ring-w": [{
2073
- "inset-ring": y()
2078
+ "inset-ring": D()
2074
2079
  }],
2075
2080
  /**
2076
2081
  * Inset Ring Color
2077
2082
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
2078
2083
  */
2079
2084
  "inset-ring-color": [{
2080
- "inset-ring": d()
2085
+ "inset-ring": w()
2081
2086
  }],
2082
2087
  /**
2083
2088
  * Text Shadow
2084
2089
  * @see https://tailwindcss.com/docs/text-shadow
2085
2090
  */
2086
2091
  "text-shadow": [{
2087
- "text-shadow": ["none", T, de, ce]
2092
+ "text-shadow": ["none", g, Se, Ce]
2088
2093
  }],
2089
2094
  /**
2090
2095
  * Text Shadow Color
2091
2096
  * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
2092
2097
  */
2093
2098
  "text-shadow-color": [{
2094
- "text-shadow": d()
2099
+ "text-shadow": w()
2095
2100
  }],
2096
2101
  /**
2097
2102
  * Opacity
2098
2103
  * @see https://tailwindcss.com/docs/opacity
2099
2104
  */
2100
2105
  opacity: [{
2101
- opacity: [b, l, i]
2106
+ opacity: [R, h, v]
2102
2107
  }],
2103
2108
  /**
2104
2109
  * Mix Blend Mode
2105
2110
  * @see https://tailwindcss.com/docs/mix-blend-mode
2106
2111
  */
2107
2112
  "mix-blend": [{
2108
- "mix-blend": [...Z(), "plus-darker", "plus-lighter"]
2113
+ "mix-blend": [...ie(), "plus-darker", "plus-lighter"]
2109
2114
  }],
2110
2115
  /**
2111
2116
  * Background Blend Mode
2112
2117
  * @see https://tailwindcss.com/docs/background-blend-mode
2113
2118
  */
2114
2119
  "bg-blend": [{
2115
- "bg-blend": Z()
2120
+ "bg-blend": ie()
2116
2121
  }],
2117
2122
  /**
2118
2123
  * Mask Clip
@@ -2133,106 +2138,106 @@ const E = (e) => {
2133
2138
  * @see https://tailwindcss.com/docs/mask-image
2134
2139
  */
2135
2140
  "mask-image-linear-pos": [{
2136
- "mask-linear": [b]
2141
+ "mask-linear": [R]
2137
2142
  }],
2138
2143
  "mask-image-linear-from-pos": [{
2139
- "mask-linear-from": k()
2144
+ "mask-linear-from": I()
2140
2145
  }],
2141
2146
  "mask-image-linear-to-pos": [{
2142
- "mask-linear-to": k()
2147
+ "mask-linear-to": I()
2143
2148
  }],
2144
2149
  "mask-image-linear-from-color": [{
2145
- "mask-linear-from": d()
2150
+ "mask-linear-from": w()
2146
2151
  }],
2147
2152
  "mask-image-linear-to-color": [{
2148
- "mask-linear-to": d()
2153
+ "mask-linear-to": w()
2149
2154
  }],
2150
2155
  "mask-image-t-from-pos": [{
2151
- "mask-t-from": k()
2156
+ "mask-t-from": I()
2152
2157
  }],
2153
2158
  "mask-image-t-to-pos": [{
2154
- "mask-t-to": k()
2159
+ "mask-t-to": I()
2155
2160
  }],
2156
2161
  "mask-image-t-from-color": [{
2157
- "mask-t-from": d()
2162
+ "mask-t-from": w()
2158
2163
  }],
2159
2164
  "mask-image-t-to-color": [{
2160
- "mask-t-to": d()
2165
+ "mask-t-to": w()
2161
2166
  }],
2162
2167
  "mask-image-r-from-pos": [{
2163
- "mask-r-from": k()
2168
+ "mask-r-from": I()
2164
2169
  }],
2165
2170
  "mask-image-r-to-pos": [{
2166
- "mask-r-to": k()
2171
+ "mask-r-to": I()
2167
2172
  }],
2168
2173
  "mask-image-r-from-color": [{
2169
- "mask-r-from": d()
2174
+ "mask-r-from": w()
2170
2175
  }],
2171
2176
  "mask-image-r-to-color": [{
2172
- "mask-r-to": d()
2177
+ "mask-r-to": w()
2173
2178
  }],
2174
2179
  "mask-image-b-from-pos": [{
2175
- "mask-b-from": k()
2180
+ "mask-b-from": I()
2176
2181
  }],
2177
2182
  "mask-image-b-to-pos": [{
2178
- "mask-b-to": k()
2183
+ "mask-b-to": I()
2179
2184
  }],
2180
2185
  "mask-image-b-from-color": [{
2181
- "mask-b-from": d()
2186
+ "mask-b-from": w()
2182
2187
  }],
2183
2188
  "mask-image-b-to-color": [{
2184
- "mask-b-to": d()
2189
+ "mask-b-to": w()
2185
2190
  }],
2186
2191
  "mask-image-l-from-pos": [{
2187
- "mask-l-from": k()
2192
+ "mask-l-from": I()
2188
2193
  }],
2189
2194
  "mask-image-l-to-pos": [{
2190
- "mask-l-to": k()
2195
+ "mask-l-to": I()
2191
2196
  }],
2192
2197
  "mask-image-l-from-color": [{
2193
- "mask-l-from": d()
2198
+ "mask-l-from": w()
2194
2199
  }],
2195
2200
  "mask-image-l-to-color": [{
2196
- "mask-l-to": d()
2201
+ "mask-l-to": w()
2197
2202
  }],
2198
2203
  "mask-image-x-from-pos": [{
2199
- "mask-x-from": k()
2204
+ "mask-x-from": I()
2200
2205
  }],
2201
2206
  "mask-image-x-to-pos": [{
2202
- "mask-x-to": k()
2207
+ "mask-x-to": I()
2203
2208
  }],
2204
2209
  "mask-image-x-from-color": [{
2205
- "mask-x-from": d()
2210
+ "mask-x-from": w()
2206
2211
  }],
2207
2212
  "mask-image-x-to-color": [{
2208
- "mask-x-to": d()
2213
+ "mask-x-to": w()
2209
2214
  }],
2210
2215
  "mask-image-y-from-pos": [{
2211
- "mask-y-from": k()
2216
+ "mask-y-from": I()
2212
2217
  }],
2213
2218
  "mask-image-y-to-pos": [{
2214
- "mask-y-to": k()
2219
+ "mask-y-to": I()
2215
2220
  }],
2216
2221
  "mask-image-y-from-color": [{
2217
- "mask-y-from": d()
2222
+ "mask-y-from": w()
2218
2223
  }],
2219
2224
  "mask-image-y-to-color": [{
2220
- "mask-y-to": d()
2225
+ "mask-y-to": w()
2221
2226
  }],
2222
2227
  "mask-image-radial": [{
2223
- "mask-radial": [l, i]
2228
+ "mask-radial": [h, v]
2224
2229
  }],
2225
2230
  "mask-image-radial-from-pos": [{
2226
- "mask-radial-from": k()
2231
+ "mask-radial-from": I()
2227
2232
  }],
2228
2233
  "mask-image-radial-to-pos": [{
2229
- "mask-radial-to": k()
2234
+ "mask-radial-to": I()
2230
2235
  }],
2231
2236
  "mask-image-radial-from-color": [{
2232
- "mask-radial-from": d()
2237
+ "mask-radial-from": w()
2233
2238
  }],
2234
2239
  "mask-image-radial-to-color": [{
2235
- "mask-radial-to": d()
2240
+ "mask-radial-to": w()
2236
2241
  }],
2237
2242
  "mask-image-radial-shape": [{
2238
2243
  "mask-radial": ["circle", "ellipse"]
@@ -2244,22 +2249,22 @@ const E = (e) => {
2244
2249
  }]
2245
2250
  }],
2246
2251
  "mask-image-radial-pos": [{
2247
- "mask-radial-at": F()
2252
+ "mask-radial-at": A()
2248
2253
  }],
2249
2254
  "mask-image-conic-pos": [{
2250
- "mask-conic": [b]
2255
+ "mask-conic": [R]
2251
2256
  }],
2252
2257
  "mask-image-conic-from-pos": [{
2253
- "mask-conic-from": k()
2258
+ "mask-conic-from": I()
2254
2259
  }],
2255
2260
  "mask-image-conic-to-pos": [{
2256
- "mask-conic-to": k()
2261
+ "mask-conic-to": I()
2257
2262
  }],
2258
2263
  "mask-image-conic-from-color": [{
2259
- "mask-conic-from": d()
2264
+ "mask-conic-from": w()
2260
2265
  }],
2261
2266
  "mask-image-conic-to-color": [{
2262
- "mask-conic-to": d()
2267
+ "mask-conic-to": w()
2263
2268
  }],
2264
2269
  /**
2265
2270
  * Mask Mode
@@ -2280,21 +2285,21 @@ const E = (e) => {
2280
2285
  * @see https://tailwindcss.com/docs/mask-position
2281
2286
  */
2282
2287
  "mask-position": [{
2283
- mask: re()
2288
+ mask: ge()
2284
2289
  }],
2285
2290
  /**
2286
2291
  * Mask Repeat
2287
2292
  * @see https://tailwindcss.com/docs/mask-repeat
2288
2293
  */
2289
2294
  "mask-repeat": [{
2290
- mask: n()
2295
+ mask: d()
2291
2296
  }],
2292
2297
  /**
2293
2298
  * Mask Size
2294
2299
  * @see https://tailwindcss.com/docs/mask-size
2295
2300
  */
2296
2301
  "mask-size": [{
2297
- mask: p()
2302
+ mask: C()
2298
2303
  }],
2299
2304
  /**
2300
2305
  * Mask Type
@@ -2308,7 +2313,7 @@ const E = (e) => {
2308
2313
  * @see https://tailwindcss.com/docs/mask-image
2309
2314
  */
2310
2315
  "mask-image": [{
2311
- mask: ["none", l, i]
2316
+ mask: ["none", h, v]
2312
2317
  }],
2313
2318
  // ---------------
2314
2319
  // --- Filters ---
@@ -2322,8 +2327,8 @@ const E = (e) => {
2322
2327
  // Deprecated since Tailwind CSS v3.0.0
2323
2328
  "",
2324
2329
  "none",
2325
- l,
2326
- i
2330
+ h,
2331
+ v
2327
2332
  ]
2328
2333
  }],
2329
2334
  /**
@@ -2331,21 +2336,21 @@ const E = (e) => {
2331
2336
  * @see https://tailwindcss.com/docs/blur
2332
2337
  */
2333
2338
  blur: [{
2334
- blur: R()
2339
+ blur: L()
2335
2340
  }],
2336
2341
  /**
2337
2342
  * Brightness
2338
2343
  * @see https://tailwindcss.com/docs/brightness
2339
2344
  */
2340
2345
  brightness: [{
2341
- brightness: [b, l, i]
2346
+ brightness: [R, h, v]
2342
2347
  }],
2343
2348
  /**
2344
2349
  * Contrast
2345
2350
  * @see https://tailwindcss.com/docs/contrast
2346
2351
  */
2347
2352
  contrast: [{
2348
- contrast: [b, l, i]
2353
+ contrast: [R, h, v]
2349
2354
  }],
2350
2355
  /**
2351
2356
  * Drop Shadow
@@ -2356,9 +2361,9 @@ const E = (e) => {
2356
2361
  // Deprecated since Tailwind CSS v4.0.0
2357
2362
  "",
2358
2363
  "none",
2359
- N,
2360
- de,
2361
- ce
2364
+ E,
2365
+ Se,
2366
+ Ce
2362
2367
  ]
2363
2368
  }],
2364
2369
  /**
@@ -2366,42 +2371,42 @@ const E = (e) => {
2366
2371
  * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2367
2372
  */
2368
2373
  "drop-shadow-color": [{
2369
- "drop-shadow": d()
2374
+ "drop-shadow": w()
2370
2375
  }],
2371
2376
  /**
2372
2377
  * Grayscale
2373
2378
  * @see https://tailwindcss.com/docs/grayscale
2374
2379
  */
2375
2380
  grayscale: [{
2376
- grayscale: ["", b, l, i]
2381
+ grayscale: ["", R, h, v]
2377
2382
  }],
2378
2383
  /**
2379
2384
  * Hue Rotate
2380
2385
  * @see https://tailwindcss.com/docs/hue-rotate
2381
2386
  */
2382
2387
  "hue-rotate": [{
2383
- "hue-rotate": [b, l, i]
2388
+ "hue-rotate": [R, h, v]
2384
2389
  }],
2385
2390
  /**
2386
2391
  * Invert
2387
2392
  * @see https://tailwindcss.com/docs/invert
2388
2393
  */
2389
2394
  invert: [{
2390
- invert: ["", b, l, i]
2395
+ invert: ["", R, h, v]
2391
2396
  }],
2392
2397
  /**
2393
2398
  * Saturate
2394
2399
  * @see https://tailwindcss.com/docs/saturate
2395
2400
  */
2396
2401
  saturate: [{
2397
- saturate: [b, l, i]
2402
+ saturate: [R, h, v]
2398
2403
  }],
2399
2404
  /**
2400
2405
  * Sepia
2401
2406
  * @see https://tailwindcss.com/docs/sepia
2402
2407
  */
2403
2408
  sepia: [{
2404
- sepia: ["", b, l, i]
2409
+ sepia: ["", R, h, v]
2405
2410
  }],
2406
2411
  /**
2407
2412
  * Backdrop Filter
@@ -2412,8 +2417,8 @@ const E = (e) => {
2412
2417
  // Deprecated since Tailwind CSS v3.0.0
2413
2418
  "",
2414
2419
  "none",
2415
- l,
2416
- i
2420
+ h,
2421
+ v
2417
2422
  ]
2418
2423
  }],
2419
2424
  /**
@@ -2421,63 +2426,63 @@ const E = (e) => {
2421
2426
  * @see https://tailwindcss.com/docs/backdrop-blur
2422
2427
  */
2423
2428
  "backdrop-blur": [{
2424
- "backdrop-blur": R()
2429
+ "backdrop-blur": L()
2425
2430
  }],
2426
2431
  /**
2427
2432
  * Backdrop Brightness
2428
2433
  * @see https://tailwindcss.com/docs/backdrop-brightness
2429
2434
  */
2430
2435
  "backdrop-brightness": [{
2431
- "backdrop-brightness": [b, l, i]
2436
+ "backdrop-brightness": [R, h, v]
2432
2437
  }],
2433
2438
  /**
2434
2439
  * Backdrop Contrast
2435
2440
  * @see https://tailwindcss.com/docs/backdrop-contrast
2436
2441
  */
2437
2442
  "backdrop-contrast": [{
2438
- "backdrop-contrast": [b, l, i]
2443
+ "backdrop-contrast": [R, h, v]
2439
2444
  }],
2440
2445
  /**
2441
2446
  * Backdrop Grayscale
2442
2447
  * @see https://tailwindcss.com/docs/backdrop-grayscale
2443
2448
  */
2444
2449
  "backdrop-grayscale": [{
2445
- "backdrop-grayscale": ["", b, l, i]
2450
+ "backdrop-grayscale": ["", R, h, v]
2446
2451
  }],
2447
2452
  /**
2448
2453
  * Backdrop Hue Rotate
2449
2454
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2450
2455
  */
2451
2456
  "backdrop-hue-rotate": [{
2452
- "backdrop-hue-rotate": [b, l, i]
2457
+ "backdrop-hue-rotate": [R, h, v]
2453
2458
  }],
2454
2459
  /**
2455
2460
  * Backdrop Invert
2456
2461
  * @see https://tailwindcss.com/docs/backdrop-invert
2457
2462
  */
2458
2463
  "backdrop-invert": [{
2459
- "backdrop-invert": ["", b, l, i]
2464
+ "backdrop-invert": ["", R, h, v]
2460
2465
  }],
2461
2466
  /**
2462
2467
  * Backdrop Opacity
2463
2468
  * @see https://tailwindcss.com/docs/backdrop-opacity
2464
2469
  */
2465
2470
  "backdrop-opacity": [{
2466
- "backdrop-opacity": [b, l, i]
2471
+ "backdrop-opacity": [R, h, v]
2467
2472
  }],
2468
2473
  /**
2469
2474
  * Backdrop Saturate
2470
2475
  * @see https://tailwindcss.com/docs/backdrop-saturate
2471
2476
  */
2472
2477
  "backdrop-saturate": [{
2473
- "backdrop-saturate": [b, l, i]
2478
+ "backdrop-saturate": [R, h, v]
2474
2479
  }],
2475
2480
  /**
2476
2481
  * Backdrop Sepia
2477
2482
  * @see https://tailwindcss.com/docs/backdrop-sepia
2478
2483
  */
2479
2484
  "backdrop-sepia": [{
2480
- "backdrop-sepia": ["", b, l, i]
2485
+ "backdrop-sepia": ["", R, h, v]
2481
2486
  }],
2482
2487
  // --------------
2483
2488
  // --- Tables ---
@@ -2494,21 +2499,21 @@ const E = (e) => {
2494
2499
  * @see https://tailwindcss.com/docs/border-spacing
2495
2500
  */
2496
2501
  "border-spacing": [{
2497
- "border-spacing": m()
2502
+ "border-spacing": b()
2498
2503
  }],
2499
2504
  /**
2500
2505
  * Border Spacing X
2501
2506
  * @see https://tailwindcss.com/docs/border-spacing
2502
2507
  */
2503
2508
  "border-spacing-x": [{
2504
- "border-spacing-x": m()
2509
+ "border-spacing-x": b()
2505
2510
  }],
2506
2511
  /**
2507
2512
  * Border Spacing Y
2508
2513
  * @see https://tailwindcss.com/docs/border-spacing
2509
2514
  */
2510
2515
  "border-spacing-y": [{
2511
- "border-spacing-y": m()
2516
+ "border-spacing-y": b()
2512
2517
  }],
2513
2518
  /**
2514
2519
  * Table Layout
@@ -2532,7 +2537,7 @@ const E = (e) => {
2532
2537
  * @see https://tailwindcss.com/docs/transition-property
2533
2538
  */
2534
2539
  transition: [{
2535
- transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", l, i]
2540
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", h, v]
2536
2541
  }],
2537
2542
  /**
2538
2543
  * Transition Behavior
@@ -2546,28 +2551,28 @@ const E = (e) => {
2546
2551
  * @see https://tailwindcss.com/docs/transition-duration
2547
2552
  */
2548
2553
  duration: [{
2549
- duration: [b, "initial", l, i]
2554
+ duration: [R, "initial", h, v]
2550
2555
  }],
2551
2556
  /**
2552
2557
  * Transition Timing Function
2553
2558
  * @see https://tailwindcss.com/docs/transition-timing-function
2554
2559
  */
2555
2560
  ease: [{
2556
- ease: ["linear", "initial", M, l, i]
2561
+ ease: ["linear", "initial", k, h, v]
2557
2562
  }],
2558
2563
  /**
2559
2564
  * Transition Delay
2560
2565
  * @see https://tailwindcss.com/docs/transition-delay
2561
2566
  */
2562
2567
  delay: [{
2563
- delay: [b, l, i]
2568
+ delay: [R, h, v]
2564
2569
  }],
2565
2570
  /**
2566
2571
  * Animation
2567
2572
  * @see https://tailwindcss.com/docs/animation
2568
2573
  */
2569
2574
  animate: [{
2570
- animate: ["none", X, l, i]
2575
+ animate: ["none", N, h, v]
2571
2576
  }],
2572
2577
  // ------------------
2573
2578
  // --- Transforms ---
@@ -2584,70 +2589,70 @@ const E = (e) => {
2584
2589
  * @see https://tailwindcss.com/docs/perspective
2585
2590
  */
2586
2591
  perspective: [{
2587
- perspective: [S, l, i]
2592
+ perspective: [f, h, v]
2588
2593
  }],
2589
2594
  /**
2590
2595
  * Perspective Origin
2591
2596
  * @see https://tailwindcss.com/docs/perspective-origin
2592
2597
  */
2593
2598
  "perspective-origin": [{
2594
- "perspective-origin": W()
2599
+ "perspective-origin": _()
2595
2600
  }],
2596
2601
  /**
2597
2602
  * Rotate
2598
2603
  * @see https://tailwindcss.com/docs/rotate
2599
2604
  */
2600
2605
  rotate: [{
2601
- rotate: j()
2606
+ rotate: U()
2602
2607
  }],
2603
2608
  /**
2604
2609
  * Rotate X
2605
2610
  * @see https://tailwindcss.com/docs/rotate
2606
2611
  */
2607
2612
  "rotate-x": [{
2608
- "rotate-x": j()
2613
+ "rotate-x": U()
2609
2614
  }],
2610
2615
  /**
2611
2616
  * Rotate Y
2612
2617
  * @see https://tailwindcss.com/docs/rotate
2613
2618
  */
2614
2619
  "rotate-y": [{
2615
- "rotate-y": j()
2620
+ "rotate-y": U()
2616
2621
  }],
2617
2622
  /**
2618
2623
  * Rotate Z
2619
2624
  * @see https://tailwindcss.com/docs/rotate
2620
2625
  */
2621
2626
  "rotate-z": [{
2622
- "rotate-z": j()
2627
+ "rotate-z": U()
2623
2628
  }],
2624
2629
  /**
2625
2630
  * Scale
2626
2631
  * @see https://tailwindcss.com/docs/scale
2627
2632
  */
2628
2633
  scale: [{
2629
- scale: $()
2634
+ scale: Z()
2630
2635
  }],
2631
2636
  /**
2632
2637
  * Scale X
2633
2638
  * @see https://tailwindcss.com/docs/scale
2634
2639
  */
2635
2640
  "scale-x": [{
2636
- "scale-x": $()
2641
+ "scale-x": Z()
2637
2642
  }],
2638
2643
  /**
2639
2644
  * Scale Y
2640
2645
  * @see https://tailwindcss.com/docs/scale
2641
2646
  */
2642
2647
  "scale-y": [{
2643
- "scale-y": $()
2648
+ "scale-y": Z()
2644
2649
  }],
2645
2650
  /**
2646
2651
  * Scale Z
2647
2652
  * @see https://tailwindcss.com/docs/scale
2648
2653
  */
2649
2654
  "scale-z": [{
2650
- "scale-z": $()
2655
+ "scale-z": Z()
2651
2656
  }],
2652
2657
  /**
2653
2658
  * Scale 3D
@@ -2659,35 +2664,35 @@ const E = (e) => {
2659
2664
  * @see https://tailwindcss.com/docs/skew
2660
2665
  */
2661
2666
  skew: [{
2662
- skew: te()
2667
+ skew: ve()
2663
2668
  }],
2664
2669
  /**
2665
2670
  * Skew X
2666
2671
  * @see https://tailwindcss.com/docs/skew
2667
2672
  */
2668
2673
  "skew-x": [{
2669
- "skew-x": te()
2674
+ "skew-x": ve()
2670
2675
  }],
2671
2676
  /**
2672
2677
  * Skew Y
2673
2678
  * @see https://tailwindcss.com/docs/skew
2674
2679
  */
2675
2680
  "skew-y": [{
2676
- "skew-y": te()
2681
+ "skew-y": ve()
2677
2682
  }],
2678
2683
  /**
2679
2684
  * Transform
2680
2685
  * @see https://tailwindcss.com/docs/transform
2681
2686
  */
2682
2687
  transform: [{
2683
- transform: [l, i, "", "none", "gpu", "cpu"]
2688
+ transform: [h, v, "", "none", "gpu", "cpu"]
2684
2689
  }],
2685
2690
  /**
2686
2691
  * Transform Origin
2687
2692
  * @see https://tailwindcss.com/docs/transform-origin
2688
2693
  */
2689
2694
  "transform-origin": [{
2690
- origin: W()
2695
+ origin: _()
2691
2696
  }],
2692
2697
  /**
2693
2698
  * Transform Style
@@ -2701,28 +2706,28 @@ const E = (e) => {
2701
2706
  * @see https://tailwindcss.com/docs/translate
2702
2707
  */
2703
2708
  translate: [{
2704
- translate: le()
2709
+ translate: ke()
2705
2710
  }],
2706
2711
  /**
2707
2712
  * Translate X
2708
2713
  * @see https://tailwindcss.com/docs/translate
2709
2714
  */
2710
2715
  "translate-x": [{
2711
- "translate-x": le()
2716
+ "translate-x": ke()
2712
2717
  }],
2713
2718
  /**
2714
2719
  * Translate Y
2715
2720
  * @see https://tailwindcss.com/docs/translate
2716
2721
  */
2717
2722
  "translate-y": [{
2718
- "translate-y": le()
2723
+ "translate-y": ke()
2719
2724
  }],
2720
2725
  /**
2721
2726
  * Translate Z
2722
2727
  * @see https://tailwindcss.com/docs/translate
2723
2728
  */
2724
2729
  "translate-z": [{
2725
- "translate-z": le()
2730
+ "translate-z": ke()
2726
2731
  }],
2727
2732
  /**
2728
2733
  * Translate None
@@ -2737,7 +2742,7 @@ const E = (e) => {
2737
2742
  * @see https://tailwindcss.com/docs/accent-color
2738
2743
  */
2739
2744
  accent: [{
2740
- accent: d()
2745
+ accent: w()
2741
2746
  }],
2742
2747
  /**
2743
2748
  * Appearance
@@ -2751,7 +2756,7 @@ const E = (e) => {
2751
2756
  * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2752
2757
  */
2753
2758
  "caret-color": [{
2754
- caret: d()
2759
+ caret: w()
2755
2760
  }],
2756
2761
  /**
2757
2762
  * Color Scheme
@@ -2765,7 +2770,7 @@ const E = (e) => {
2765
2770
  * @see https://tailwindcss.com/docs/cursor
2766
2771
  */
2767
2772
  cursor: [{
2768
- cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", l, i]
2773
+ 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", h, v]
2769
2774
  }],
2770
2775
  /**
2771
2776
  * Field Sizing
@@ -2800,126 +2805,126 @@ const E = (e) => {
2800
2805
  * @see https://tailwindcss.com/docs/scroll-margin
2801
2806
  */
2802
2807
  "scroll-m": [{
2803
- "scroll-m": m()
2808
+ "scroll-m": b()
2804
2809
  }],
2805
2810
  /**
2806
2811
  * Scroll Margin X
2807
2812
  * @see https://tailwindcss.com/docs/scroll-margin
2808
2813
  */
2809
2814
  "scroll-mx": [{
2810
- "scroll-mx": m()
2815
+ "scroll-mx": b()
2811
2816
  }],
2812
2817
  /**
2813
2818
  * Scroll Margin Y
2814
2819
  * @see https://tailwindcss.com/docs/scroll-margin
2815
2820
  */
2816
2821
  "scroll-my": [{
2817
- "scroll-my": m()
2822
+ "scroll-my": b()
2818
2823
  }],
2819
2824
  /**
2820
2825
  * Scroll Margin Start
2821
2826
  * @see https://tailwindcss.com/docs/scroll-margin
2822
2827
  */
2823
2828
  "scroll-ms": [{
2824
- "scroll-ms": m()
2829
+ "scroll-ms": b()
2825
2830
  }],
2826
2831
  /**
2827
2832
  * Scroll Margin End
2828
2833
  * @see https://tailwindcss.com/docs/scroll-margin
2829
2834
  */
2830
2835
  "scroll-me": [{
2831
- "scroll-me": m()
2836
+ "scroll-me": b()
2832
2837
  }],
2833
2838
  /**
2834
2839
  * Scroll Margin Top
2835
2840
  * @see https://tailwindcss.com/docs/scroll-margin
2836
2841
  */
2837
2842
  "scroll-mt": [{
2838
- "scroll-mt": m()
2843
+ "scroll-mt": b()
2839
2844
  }],
2840
2845
  /**
2841
2846
  * Scroll Margin Right
2842
2847
  * @see https://tailwindcss.com/docs/scroll-margin
2843
2848
  */
2844
2849
  "scroll-mr": [{
2845
- "scroll-mr": m()
2850
+ "scroll-mr": b()
2846
2851
  }],
2847
2852
  /**
2848
2853
  * Scroll Margin Bottom
2849
2854
  * @see https://tailwindcss.com/docs/scroll-margin
2850
2855
  */
2851
2856
  "scroll-mb": [{
2852
- "scroll-mb": m()
2857
+ "scroll-mb": b()
2853
2858
  }],
2854
2859
  /**
2855
2860
  * Scroll Margin Left
2856
2861
  * @see https://tailwindcss.com/docs/scroll-margin
2857
2862
  */
2858
2863
  "scroll-ml": [{
2859
- "scroll-ml": m()
2864
+ "scroll-ml": b()
2860
2865
  }],
2861
2866
  /**
2862
2867
  * Scroll Padding
2863
2868
  * @see https://tailwindcss.com/docs/scroll-padding
2864
2869
  */
2865
2870
  "scroll-p": [{
2866
- "scroll-p": m()
2871
+ "scroll-p": b()
2867
2872
  }],
2868
2873
  /**
2869
2874
  * Scroll Padding X
2870
2875
  * @see https://tailwindcss.com/docs/scroll-padding
2871
2876
  */
2872
2877
  "scroll-px": [{
2873
- "scroll-px": m()
2878
+ "scroll-px": b()
2874
2879
  }],
2875
2880
  /**
2876
2881
  * Scroll Padding Y
2877
2882
  * @see https://tailwindcss.com/docs/scroll-padding
2878
2883
  */
2879
2884
  "scroll-py": [{
2880
- "scroll-py": m()
2885
+ "scroll-py": b()
2881
2886
  }],
2882
2887
  /**
2883
2888
  * Scroll Padding Start
2884
2889
  * @see https://tailwindcss.com/docs/scroll-padding
2885
2890
  */
2886
2891
  "scroll-ps": [{
2887
- "scroll-ps": m()
2892
+ "scroll-ps": b()
2888
2893
  }],
2889
2894
  /**
2890
2895
  * Scroll Padding End
2891
2896
  * @see https://tailwindcss.com/docs/scroll-padding
2892
2897
  */
2893
2898
  "scroll-pe": [{
2894
- "scroll-pe": m()
2899
+ "scroll-pe": b()
2895
2900
  }],
2896
2901
  /**
2897
2902
  * Scroll Padding Top
2898
2903
  * @see https://tailwindcss.com/docs/scroll-padding
2899
2904
  */
2900
2905
  "scroll-pt": [{
2901
- "scroll-pt": m()
2906
+ "scroll-pt": b()
2902
2907
  }],
2903
2908
  /**
2904
2909
  * Scroll Padding Right
2905
2910
  * @see https://tailwindcss.com/docs/scroll-padding
2906
2911
  */
2907
2912
  "scroll-pr": [{
2908
- "scroll-pr": m()
2913
+ "scroll-pr": b()
2909
2914
  }],
2910
2915
  /**
2911
2916
  * Scroll Padding Bottom
2912
2917
  * @see https://tailwindcss.com/docs/scroll-padding
2913
2918
  */
2914
2919
  "scroll-pb": [{
2915
- "scroll-pb": m()
2920
+ "scroll-pb": b()
2916
2921
  }],
2917
2922
  /**
2918
2923
  * Scroll Padding Left
2919
2924
  * @see https://tailwindcss.com/docs/scroll-padding
2920
2925
  */
2921
2926
  "scroll-pl": [{
2922
- "scroll-pl": m()
2927
+ "scroll-pl": b()
2923
2928
  }],
2924
2929
  /**
2925
2930
  * Scroll Snap Align
@@ -2987,7 +2992,7 @@ const E = (e) => {
2987
2992
  * @see https://tailwindcss.com/docs/will-change
2988
2993
  */
2989
2994
  "will-change": [{
2990
- "will-change": ["auto", "scroll", "contents", "transform", l, i]
2995
+ "will-change": ["auto", "scroll", "contents", "transform", h, v]
2991
2996
  }],
2992
2997
  // -----------
2993
2998
  // --- SVG ---
@@ -2997,21 +3002,21 @@ const E = (e) => {
2997
3002
  * @see https://tailwindcss.com/docs/fill
2998
3003
  */
2999
3004
  fill: [{
3000
- fill: ["none", ...d()]
3005
+ fill: ["none", ...w()]
3001
3006
  }],
3002
3007
  /**
3003
3008
  * Stroke Width
3004
3009
  * @see https://tailwindcss.com/docs/stroke-width
3005
3010
  */
3006
3011
  "stroke-w": [{
3007
- stroke: [b, se, J, me]
3012
+ stroke: [R, ye, re, Fe]
3008
3013
  }],
3009
3014
  /**
3010
3015
  * Stroke
3011
3016
  * @see https://tailwindcss.com/docs/stroke
3012
3017
  */
3013
3018
  stroke: [{
3014
- stroke: ["none", ...d()]
3019
+ stroke: ["none", ...w()]
3015
3020
  }],
3016
3021
  // ---------------------
3017
3022
  // --- Accessibility ---
@@ -3079,54 +3084,54 @@ const E = (e) => {
3079
3084
  },
3080
3085
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3081
3086
  };
3082
- }, Pr = /* @__PURE__ */ dr(Cr);
3083
- function zr(...e) {
3084
- return Pr(Ce(e));
3085
- }
3086
- const Te = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ae = Ce, Or = (e, o) => (r) => {
3087
- var t;
3088
- if ((o == null ? void 0 : o.variants) == null) return Ae(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
3089
- const { variants: s, defaultVariants: a } = o, c = Object.keys(s).map((g) => {
3090
- const v = r == null ? void 0 : r[g], w = a == null ? void 0 : a[g];
3091
- if (v === null) return null;
3092
- const T = Te(v) || Te(w);
3093
- return s[g][T];
3094
- }), f = r && Object.entries(r).reduce((g, v) => {
3095
- let [w, T] = v;
3096
- return T === void 0 || (g[w] = T), g;
3097
- }, {}), u = o == null || (t = o.compoundVariants) === null || t === void 0 ? void 0 : t.reduce((g, v) => {
3098
- let { class: w, className: T, ...N } = v;
3099
- return Object.entries(N).every((A) => {
3100
- let [S, P] = A;
3101
- return Array.isArray(P) ? P.includes({
3087
+ }, fn = /* @__PURE__ */ Gr(dn);
3088
+ function ae(...e) {
3089
+ return fn(Nt(e));
3090
+ }
3091
+ const ft = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, mt = Nt, mn = (e, t) => (r) => {
3092
+ var n;
3093
+ if ((t == null ? void 0 : t.variants) == null) return mt(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
3094
+ const { variants: o, defaultVariants: a } = t, i = Object.keys(o).map((u) => {
3095
+ const m = r == null ? void 0 : r[u], p = a == null ? void 0 : a[u];
3096
+ if (m === null) return null;
3097
+ const g = ft(m) || ft(p);
3098
+ return o[u][g];
3099
+ }), s = r && Object.entries(r).reduce((u, m) => {
3100
+ let [p, g] = m;
3101
+ return g === void 0 || (u[p] = g), u;
3102
+ }, {}), c = t == null || (n = t.compoundVariants) === null || n === void 0 ? void 0 : n.reduce((u, m) => {
3103
+ let { class: p, className: g, ...E } = m;
3104
+ return Object.entries(E).every((S) => {
3105
+ let [f, y] = S;
3106
+ return Array.isArray(y) ? y.includes({
3102
3107
  ...a,
3103
- ...f
3104
- }[S]) : {
3108
+ ...s
3109
+ }[f]) : {
3105
3110
  ...a,
3106
- ...f
3107
- }[S] === P;
3111
+ ...s
3112
+ }[f] === y;
3108
3113
  }) ? [
3109
- ...g,
3110
- w,
3111
- T
3112
- ] : g;
3114
+ ...u,
3115
+ p,
3116
+ g
3117
+ ] : u;
3113
3118
  }, []);
3114
- return Ae(e, c, u, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
3115
- }, jr = {
3119
+ return mt(e, i, c, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
3120
+ }, pn = {
3116
3121
  default: "bg-black text-sm font-normal text-white shadow-sm hover:bg-black-soft focus-visible:ring-black",
3117
3122
  primary: "bg-neutral-99 text-sm font-normal text-neutral-70 hover:bg-neutral-99 focus-visible:ring-bg-neutral-99",
3118
3123
  outline: "bg-transparent text-black hover:bg-surface focus-visible:ring-4 focus-visible:ring-bg-surface border border-black-soft"
3119
- }, Nr = {
3124
+ }, gn = {
3120
3125
  default: "h-9 px-4 py-2",
3121
3126
  sm: "h-8 px-3 text-xs",
3122
3127
  lg: "h-10 px-6",
3123
3128
  icon: "h-9 w-9"
3124
- }, Ir = Or(
3129
+ }, vn = mn(
3125
3130
  "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:ring-2 focus-visible:ring-offset-2",
3126
3131
  {
3127
3132
  variants: {
3128
- variant: jr,
3129
- size: Nr
3133
+ variant: pn,
3134
+ size: gn
3130
3135
  },
3131
3136
  defaultVariants: {
3132
3137
  variant: "default",
@@ -3134,26 +3139,1507 @@ const Te = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ae = Ce, O
3134
3139
  }
3135
3140
  }
3136
3141
  );
3137
- function Vr({
3142
+ function ca({
3138
3143
  className: e,
3139
- variant: o,
3144
+ variant: t,
3140
3145
  size: r,
3141
- asChild: t = !1,
3142
- children: s,
3146
+ asChild: n = !1,
3147
+ children: o,
3143
3148
  ...a
3144
3149
  }) {
3145
- const c = t ? Be : "button";
3146
- return /* @__PURE__ */ pe.jsx(
3147
- c,
3150
+ const i = n ? Rr : "button";
3151
+ return /* @__PURE__ */ x.jsx(
3152
+ i,
3148
3153
  {
3149
3154
  "data-slot": "button",
3150
- className: zr(Ir({ variant: o, size: r }), e),
3155
+ className: ae(vn({ variant: t, size: r }), e),
3151
3156
  ...a,
3152
- children: s
3157
+ children: o
3158
+ }
3159
+ );
3160
+ }
3161
+ function Q(e, t, { checkForDefaultPrevented: r = !0 } = {}) {
3162
+ return function(o) {
3163
+ if (e == null || e(o), r === !1 || !o.defaultPrevented)
3164
+ return t == null ? void 0 : t(o);
3165
+ };
3166
+ }
3167
+ function hn(e, t) {
3168
+ const r = l.createContext(t), n = (a) => {
3169
+ const { children: i, ...s } = a, c = l.useMemo(() => s, Object.values(s));
3170
+ return /* @__PURE__ */ x.jsx(r.Provider, { value: c, children: i });
3171
+ };
3172
+ n.displayName = e + "Provider";
3173
+ function o(a) {
3174
+ const i = l.useContext(r);
3175
+ if (i) return i;
3176
+ if (t !== void 0) return t;
3177
+ throw new Error(`\`${a}\` must be used within \`${e}\``);
3178
+ }
3179
+ return [n, o];
3180
+ }
3181
+ function bn(e, t = []) {
3182
+ let r = [];
3183
+ function n(a, i) {
3184
+ const s = l.createContext(i), c = r.length;
3185
+ r = [...r, i];
3186
+ const u = (p) => {
3187
+ var k;
3188
+ const { scope: g, children: E, ...S } = p, f = ((k = g == null ? void 0 : g[e]) == null ? void 0 : k[c]) || s, y = l.useMemo(() => S, Object.values(S));
3189
+ return /* @__PURE__ */ x.jsx(f.Provider, { value: y, children: E });
3190
+ };
3191
+ u.displayName = a + "Provider";
3192
+ function m(p, g) {
3193
+ var f;
3194
+ const E = ((f = g == null ? void 0 : g[e]) == null ? void 0 : f[c]) || s, S = l.useContext(E);
3195
+ if (S) return S;
3196
+ if (i !== void 0) return i;
3197
+ throw new Error(`\`${p}\` must be used within \`${a}\``);
3198
+ }
3199
+ return [u, m];
3200
+ }
3201
+ const o = () => {
3202
+ const a = r.map((i) => l.createContext(i));
3203
+ return function(s) {
3204
+ const c = (s == null ? void 0 : s[e]) || a;
3205
+ return l.useMemo(
3206
+ () => ({ [`__scope${e}`]: { ...s, [e]: c } }),
3207
+ [s, c]
3208
+ );
3209
+ };
3210
+ };
3211
+ return o.scopeName = e, [n, yn(o, ...t)];
3212
+ }
3213
+ function yn(...e) {
3214
+ const t = e[0];
3215
+ if (e.length === 1) return t;
3216
+ const r = () => {
3217
+ const n = e.map((o) => ({
3218
+ useScope: o(),
3219
+ scopeName: o.scopeName
3220
+ }));
3221
+ return function(a) {
3222
+ const i = n.reduce((s, { useScope: c, scopeName: u }) => {
3223
+ const p = c(a)[`__scope${u}`];
3224
+ return { ...s, ...p };
3225
+ }, {});
3226
+ return l.useMemo(() => ({ [`__scope${t.scopeName}`]: i }), [i]);
3227
+ };
3228
+ };
3229
+ return r.scopeName = t.scopeName, r;
3230
+ }
3231
+ var we = globalThis != null && globalThis.document ? l.useLayoutEffect : () => {
3232
+ }, wn = l[" useId ".trim().toString()] || (() => {
3233
+ }), xn = 0;
3234
+ function ze(e) {
3235
+ const [t, r] = l.useState(wn());
3236
+ return we(() => {
3237
+ r((n) => n ?? String(xn++));
3238
+ }, [e]), e || (t ? `radix-${t}` : "");
3239
+ }
3240
+ var En = l[" useInsertionEffect ".trim().toString()] || we;
3241
+ function kn({
3242
+ prop: e,
3243
+ defaultProp: t,
3244
+ onChange: r = () => {
3245
+ },
3246
+ caller: n
3247
+ }) {
3248
+ const [o, a, i] = Cn({
3249
+ defaultProp: t,
3250
+ onChange: r
3251
+ }), s = e !== void 0, c = s ? e : o;
3252
+ {
3253
+ const m = l.useRef(e !== void 0);
3254
+ l.useEffect(() => {
3255
+ const p = m.current;
3256
+ p !== s && console.warn(
3257
+ `${n} is changing from ${p ? "controlled" : "uncontrolled"} to ${s ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
3258
+ ), m.current = s;
3259
+ }, [s, n]);
3260
+ }
3261
+ const u = l.useCallback(
3262
+ (m) => {
3263
+ var p;
3264
+ if (s) {
3265
+ const g = Sn(m) ? m(e) : m;
3266
+ g !== e && ((p = i.current) == null || p.call(i, g));
3267
+ } else
3268
+ a(m);
3269
+ },
3270
+ [s, e, a, i]
3271
+ );
3272
+ return [c, u];
3273
+ }
3274
+ function Cn({
3275
+ defaultProp: e,
3276
+ onChange: t
3277
+ }) {
3278
+ const [r, n] = l.useState(e), o = l.useRef(r), a = l.useRef(t);
3279
+ return En(() => {
3280
+ a.current = t;
3281
+ }, [t]), l.useEffect(() => {
3282
+ var i;
3283
+ o.current !== r && ((i = a.current) == null || i.call(a, r), o.current = r);
3284
+ }, [r, o]), [r, n, a];
3285
+ }
3286
+ function Sn(e) {
3287
+ return typeof e == "function";
3288
+ }
3289
+ var Rn = [
3290
+ "a",
3291
+ "button",
3292
+ "div",
3293
+ "form",
3294
+ "h2",
3295
+ "h3",
3296
+ "img",
3297
+ "input",
3298
+ "label",
3299
+ "li",
3300
+ "nav",
3301
+ "ol",
3302
+ "p",
3303
+ "select",
3304
+ "span",
3305
+ "svg",
3306
+ "ul"
3307
+ ], H = Rn.reduce((e, t) => {
3308
+ const r = /* @__PURE__ */ et(`Primitive.${t}`), n = l.forwardRef((o, a) => {
3309
+ const { asChild: i, ...s } = o, c = i ? r : t;
3310
+ return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ x.jsx(c, { ...s, ref: a });
3311
+ });
3312
+ return n.displayName = `Primitive.${t}`, { ...e, [t]: n };
3313
+ }, {});
3314
+ function Pn(e, t) {
3315
+ e && Er.flushSync(() => e.dispatchEvent(t));
3316
+ }
3317
+ function xe(e) {
3318
+ const t = l.useRef(e);
3319
+ return l.useEffect(() => {
3320
+ t.current = e;
3321
+ }), l.useMemo(() => (...r) => {
3322
+ var n;
3323
+ return (n = t.current) == null ? void 0 : n.call(t, ...r);
3324
+ }, []);
3325
+ }
3326
+ function An(e, t = globalThis == null ? void 0 : globalThis.document) {
3327
+ const r = xe(e);
3328
+ l.useEffect(() => {
3329
+ const n = (o) => {
3330
+ o.key === "Escape" && r(o);
3331
+ };
3332
+ return t.addEventListener("keydown", n, { capture: !0 }), () => t.removeEventListener("keydown", n, { capture: !0 });
3333
+ }, [r, t]);
3334
+ }
3335
+ var Tn = "DismissableLayer", Je = "dismissableLayer.update", Nn = "dismissableLayer.pointerDownOutside", On = "dismissableLayer.focusOutside", pt, $t = l.createContext({
3336
+ layers: /* @__PURE__ */ new Set(),
3337
+ layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
3338
+ branches: /* @__PURE__ */ new Set()
3339
+ }), Ut = l.forwardRef(
3340
+ (e, t) => {
3341
+ const {
3342
+ disableOutsidePointerEvents: r = !1,
3343
+ onEscapeKeyDown: n,
3344
+ onPointerDownOutside: o,
3345
+ onFocusOutside: a,
3346
+ onInteractOutside: i,
3347
+ onDismiss: s,
3348
+ ...c
3349
+ } = e, u = l.useContext($t), [m, p] = l.useState(null), g = (m == null ? void 0 : m.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, E] = l.useState({}), S = oe(t, (P) => p(P)), f = Array.from(u.layers), [y] = [...u.layersWithOutsidePointerEventsDisabled].slice(-1), k = f.indexOf(y), N = m ? f.indexOf(m) : -1, O = u.layersWithOutsidePointerEventsDisabled.size > 0, A = N >= k, _ = Dn((P) => {
3350
+ const b = P.target, z = [...u.branches].some((K) => K.contains(b));
3351
+ !A || z || (o == null || o(P), i == null || i(P), P.defaultPrevented || s == null || s());
3352
+ }, g), j = In((P) => {
3353
+ const b = P.target;
3354
+ [...u.branches].some((K) => K.contains(b)) || (a == null || a(P), i == null || i(P), P.defaultPrevented || s == null || s());
3355
+ }, g);
3356
+ return An((P) => {
3357
+ N === u.layers.size - 1 && (n == null || n(P), !P.defaultPrevented && s && (P.preventDefault(), s()));
3358
+ }, g), l.useEffect(() => {
3359
+ if (m)
3360
+ return r && (u.layersWithOutsidePointerEventsDisabled.size === 0 && (pt = g.body.style.pointerEvents, g.body.style.pointerEvents = "none"), u.layersWithOutsidePointerEventsDisabled.add(m)), u.layers.add(m), gt(), () => {
3361
+ r && u.layersWithOutsidePointerEventsDisabled.size === 1 && (g.body.style.pointerEvents = pt);
3362
+ };
3363
+ }, [m, g, r, u]), l.useEffect(() => () => {
3364
+ m && (u.layers.delete(m), u.layersWithOutsidePointerEventsDisabled.delete(m), gt());
3365
+ }, [m, u]), l.useEffect(() => {
3366
+ const P = () => E({});
3367
+ return document.addEventListener(Je, P), () => document.removeEventListener(Je, P);
3368
+ }, []), /* @__PURE__ */ x.jsx(
3369
+ H.div,
3370
+ {
3371
+ ...c,
3372
+ ref: S,
3373
+ style: {
3374
+ pointerEvents: O ? A ? "auto" : "none" : void 0,
3375
+ ...e.style
3376
+ },
3377
+ onFocusCapture: Q(e.onFocusCapture, j.onFocusCapture),
3378
+ onBlurCapture: Q(e.onBlurCapture, j.onBlurCapture),
3379
+ onPointerDownCapture: Q(
3380
+ e.onPointerDownCapture,
3381
+ _.onPointerDownCapture
3382
+ )
3383
+ }
3384
+ );
3385
+ }
3386
+ );
3387
+ Ut.displayName = Tn;
3388
+ var _n = "DismissableLayerBranch", Mn = l.forwardRef((e, t) => {
3389
+ const r = l.useContext($t), n = l.useRef(null), o = oe(t, n);
3390
+ return l.useEffect(() => {
3391
+ const a = n.current;
3392
+ if (a)
3393
+ return r.branches.add(a), () => {
3394
+ r.branches.delete(a);
3395
+ };
3396
+ }, [r.branches]), /* @__PURE__ */ x.jsx(H.div, { ...e, ref: o });
3397
+ });
3398
+ Mn.displayName = _n;
3399
+ function Dn(e, t = globalThis == null ? void 0 : globalThis.document) {
3400
+ const r = xe(e), n = l.useRef(!1), o = l.useRef(() => {
3401
+ });
3402
+ return l.useEffect(() => {
3403
+ const a = (s) => {
3404
+ if (s.target && !n.current) {
3405
+ let c = function() {
3406
+ Bt(
3407
+ Nn,
3408
+ r,
3409
+ u,
3410
+ { discrete: !0 }
3411
+ );
3412
+ };
3413
+ const u = { originalEvent: s };
3414
+ s.pointerType === "touch" ? (t.removeEventListener("click", o.current), o.current = c, t.addEventListener("click", o.current, { once: !0 })) : c();
3415
+ } else
3416
+ t.removeEventListener("click", o.current);
3417
+ n.current = !1;
3418
+ }, i = window.setTimeout(() => {
3419
+ t.addEventListener("pointerdown", a);
3420
+ }, 0);
3421
+ return () => {
3422
+ window.clearTimeout(i), t.removeEventListener("pointerdown", a), t.removeEventListener("click", o.current);
3423
+ };
3424
+ }, [t, r]), {
3425
+ // ensures we check React component tree (not just DOM tree)
3426
+ onPointerDownCapture: () => n.current = !0
3427
+ };
3428
+ }
3429
+ function In(e, t = globalThis == null ? void 0 : globalThis.document) {
3430
+ const r = xe(e), n = l.useRef(!1);
3431
+ return l.useEffect(() => {
3432
+ const o = (a) => {
3433
+ a.target && !n.current && Bt(On, r, { originalEvent: a }, {
3434
+ discrete: !1
3435
+ });
3436
+ };
3437
+ return t.addEventListener("focusin", o), () => t.removeEventListener("focusin", o);
3438
+ }, [t, r]), {
3439
+ onFocusCapture: () => n.current = !0,
3440
+ onBlurCapture: () => n.current = !1
3441
+ };
3442
+ }
3443
+ function gt() {
3444
+ const e = new CustomEvent(Je);
3445
+ document.dispatchEvent(e);
3446
+ }
3447
+ function Bt(e, t, r, { discrete: n }) {
3448
+ const o = r.originalEvent.target, a = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: r });
3449
+ t && o.addEventListener(e, t, { once: !0 }), n ? Pn(o, a) : o.dispatchEvent(a);
3450
+ }
3451
+ var We = "focusScope.autoFocusOnMount", $e = "focusScope.autoFocusOnUnmount", vt = { bubbles: !1, cancelable: !0 }, jn = "FocusScope", Vt = l.forwardRef((e, t) => {
3452
+ const {
3453
+ loop: r = !1,
3454
+ trapped: n = !1,
3455
+ onMountAutoFocus: o,
3456
+ onUnmountAutoFocus: a,
3457
+ ...i
3458
+ } = e, [s, c] = l.useState(null), u = xe(o), m = xe(a), p = l.useRef(null), g = oe(t, (f) => c(f)), E = l.useRef({
3459
+ paused: !1,
3460
+ pause() {
3461
+ this.paused = !0;
3462
+ },
3463
+ resume() {
3464
+ this.paused = !1;
3465
+ }
3466
+ }).current;
3467
+ l.useEffect(() => {
3468
+ if (n) {
3469
+ let f = function(O) {
3470
+ if (E.paused || !s) return;
3471
+ const A = O.target;
3472
+ s.contains(A) ? p.current = A : J(p.current, { select: !0 });
3473
+ }, y = function(O) {
3474
+ if (E.paused || !s) return;
3475
+ const A = O.relatedTarget;
3476
+ A !== null && (s.contains(A) || J(p.current, { select: !0 }));
3477
+ }, k = function(O) {
3478
+ if (document.activeElement === document.body)
3479
+ for (const _ of O)
3480
+ _.removedNodes.length > 0 && J(s);
3481
+ };
3482
+ document.addEventListener("focusin", f), document.addEventListener("focusout", y);
3483
+ const N = new MutationObserver(k);
3484
+ return s && N.observe(s, { childList: !0, subtree: !0 }), () => {
3485
+ document.removeEventListener("focusin", f), document.removeEventListener("focusout", y), N.disconnect();
3486
+ };
3487
+ }
3488
+ }, [n, s, E.paused]), l.useEffect(() => {
3489
+ if (s) {
3490
+ bt.add(E);
3491
+ const f = document.activeElement;
3492
+ if (!s.contains(f)) {
3493
+ const k = new CustomEvent(We, vt);
3494
+ s.addEventListener(We, u), s.dispatchEvent(k), k.defaultPrevented || (Ln(Un(Gt(s)), { select: !0 }), document.activeElement === f && J(s));
3495
+ }
3496
+ return () => {
3497
+ s.removeEventListener(We, u), setTimeout(() => {
3498
+ const k = new CustomEvent($e, vt);
3499
+ s.addEventListener($e, m), s.dispatchEvent(k), k.defaultPrevented || J(f ?? document.body, { select: !0 }), s.removeEventListener($e, m), bt.remove(E);
3500
+ }, 0);
3501
+ };
3502
+ }
3503
+ }, [s, u, m, E]);
3504
+ const S = l.useCallback(
3505
+ (f) => {
3506
+ if (!r && !n || E.paused) return;
3507
+ const y = f.key === "Tab" && !f.altKey && !f.ctrlKey && !f.metaKey, k = document.activeElement;
3508
+ if (y && k) {
3509
+ const N = f.currentTarget, [O, A] = Fn(N);
3510
+ O && A ? !f.shiftKey && k === A ? (f.preventDefault(), r && J(O, { select: !0 })) : f.shiftKey && k === O && (f.preventDefault(), r && J(A, { select: !0 })) : k === N && f.preventDefault();
3511
+ }
3512
+ },
3513
+ [r, n, E.paused]
3514
+ );
3515
+ return /* @__PURE__ */ x.jsx(H.div, { tabIndex: -1, ...i, ref: g, onKeyDown: S });
3516
+ });
3517
+ Vt.displayName = jn;
3518
+ function Ln(e, { select: t = !1 } = {}) {
3519
+ const r = document.activeElement;
3520
+ for (const n of e)
3521
+ if (J(n, { select: t }), document.activeElement !== r) return;
3522
+ }
3523
+ function Fn(e) {
3524
+ const t = Gt(e), r = ht(t, e), n = ht(t.reverse(), e);
3525
+ return [r, n];
3526
+ }
3527
+ function Gt(e) {
3528
+ const t = [], r = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
3529
+ acceptNode: (n) => {
3530
+ const o = n.tagName === "INPUT" && n.type === "hidden";
3531
+ return n.disabled || n.hidden || o ? NodeFilter.FILTER_SKIP : n.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
3532
+ }
3533
+ });
3534
+ for (; r.nextNode(); ) t.push(r.currentNode);
3535
+ return t;
3536
+ }
3537
+ function ht(e, t) {
3538
+ for (const r of e)
3539
+ if (!zn(r, { upTo: t })) return r;
3540
+ }
3541
+ function zn(e, { upTo: t }) {
3542
+ if (getComputedStyle(e).visibility === "hidden") return !0;
3543
+ for (; e; ) {
3544
+ if (t !== void 0 && e === t) return !1;
3545
+ if (getComputedStyle(e).display === "none") return !0;
3546
+ e = e.parentElement;
3547
+ }
3548
+ return !1;
3549
+ }
3550
+ function Wn(e) {
3551
+ return e instanceof HTMLInputElement && "select" in e;
3552
+ }
3553
+ function J(e, { select: t = !1 } = {}) {
3554
+ if (e && e.focus) {
3555
+ const r = document.activeElement;
3556
+ e.focus({ preventScroll: !0 }), e !== r && Wn(e) && t && e.select();
3557
+ }
3558
+ }
3559
+ var bt = $n();
3560
+ function $n() {
3561
+ let e = [];
3562
+ return {
3563
+ add(t) {
3564
+ const r = e[0];
3565
+ t !== r && (r == null || r.pause()), e = yt(e, t), e.unshift(t);
3566
+ },
3567
+ remove(t) {
3568
+ var r;
3569
+ e = yt(e, t), (r = e[0]) == null || r.resume();
3570
+ }
3571
+ };
3572
+ }
3573
+ function yt(e, t) {
3574
+ const r = [...e], n = r.indexOf(t);
3575
+ return n !== -1 && r.splice(n, 1), r;
3576
+ }
3577
+ function Un(e) {
3578
+ return e.filter((t) => t.tagName !== "A");
3579
+ }
3580
+ var Bn = "Portal", Yt = l.forwardRef((e, t) => {
3581
+ var s;
3582
+ const { container: r, ...n } = e, [o, a] = l.useState(!1);
3583
+ we(() => a(!0), []);
3584
+ const i = r || o && ((s = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : s.body);
3585
+ return i ? kr.createPortal(/* @__PURE__ */ x.jsx(H.div, { ...n, ref: t }), i) : null;
3586
+ });
3587
+ Yt.displayName = Bn;
3588
+ function Vn(e, t) {
3589
+ return l.useReducer((r, n) => t[r][n] ?? r, e);
3590
+ }
3591
+ var De = (e) => {
3592
+ const { present: t, children: r } = e, n = Gn(t), o = typeof r == "function" ? r({ present: n.isPresent }) : l.Children.only(r), a = oe(n.ref, Yn(o));
3593
+ return typeof r == "function" || n.isPresent ? l.cloneElement(o, { ref: a }) : null;
3594
+ };
3595
+ De.displayName = "Presence";
3596
+ function Gn(e) {
3597
+ const [t, r] = l.useState(), n = l.useRef(null), o = l.useRef(e), a = l.useRef("none"), i = e ? "mounted" : "unmounted", [s, c] = Vn(i, {
3598
+ mounted: {
3599
+ UNMOUNT: "unmounted",
3600
+ ANIMATION_OUT: "unmountSuspended"
3601
+ },
3602
+ unmountSuspended: {
3603
+ MOUNT: "mounted",
3604
+ ANIMATION_END: "unmounted"
3605
+ },
3606
+ unmounted: {
3607
+ MOUNT: "mounted"
3608
+ }
3609
+ });
3610
+ return l.useEffect(() => {
3611
+ const u = Re(n.current);
3612
+ a.current = s === "mounted" ? u : "none";
3613
+ }, [s]), we(() => {
3614
+ const u = n.current, m = o.current;
3615
+ if (m !== e) {
3616
+ const g = a.current, E = Re(u);
3617
+ e ? c("MOUNT") : E === "none" || (u == null ? void 0 : u.display) === "none" ? c("UNMOUNT") : c(m && g !== E ? "ANIMATION_OUT" : "UNMOUNT"), o.current = e;
3618
+ }
3619
+ }, [e, c]), we(() => {
3620
+ if (t) {
3621
+ let u;
3622
+ const m = t.ownerDocument.defaultView ?? window, p = (E) => {
3623
+ const f = Re(n.current).includes(CSS.escape(E.animationName));
3624
+ if (E.target === t && f && (c("ANIMATION_END"), !o.current)) {
3625
+ const y = t.style.animationFillMode;
3626
+ t.style.animationFillMode = "forwards", u = m.setTimeout(() => {
3627
+ t.style.animationFillMode === "forwards" && (t.style.animationFillMode = y);
3628
+ });
3629
+ }
3630
+ }, g = (E) => {
3631
+ E.target === t && (a.current = Re(n.current));
3632
+ };
3633
+ return t.addEventListener("animationstart", g), t.addEventListener("animationcancel", p), t.addEventListener("animationend", p), () => {
3634
+ m.clearTimeout(u), t.removeEventListener("animationstart", g), t.removeEventListener("animationcancel", p), t.removeEventListener("animationend", p);
3635
+ };
3636
+ } else
3637
+ c("ANIMATION_END");
3638
+ }, [t, c]), {
3639
+ isPresent: ["mounted", "unmountSuspended"].includes(s),
3640
+ ref: l.useCallback((u) => {
3641
+ n.current = u ? getComputedStyle(u) : null, r(u);
3642
+ }, [])
3643
+ };
3644
+ }
3645
+ function Re(e) {
3646
+ return (e == null ? void 0 : e.animationName) || "none";
3647
+ }
3648
+ function Yn(e) {
3649
+ var n, o;
3650
+ let t = (n = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : n.get, r = t && "isReactWarning" in t && t.isReactWarning;
3651
+ return r ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
3652
+ }
3653
+ var Ue = 0;
3654
+ function Xn() {
3655
+ l.useEffect(() => {
3656
+ const e = document.querySelectorAll("[data-radix-focus-guard]");
3657
+ return document.body.insertAdjacentElement("afterbegin", e[0] ?? wt()), document.body.insertAdjacentElement("beforeend", e[1] ?? wt()), Ue++, () => {
3658
+ Ue === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((t) => t.remove()), Ue--;
3659
+ };
3660
+ }, []);
3661
+ }
3662
+ function wt() {
3663
+ const e = document.createElement("span");
3664
+ return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
3665
+ }
3666
+ var G = function() {
3667
+ return G = Object.assign || function(t) {
3668
+ for (var r, n = 1, o = arguments.length; n < o; n++) {
3669
+ r = arguments[n];
3670
+ for (var a in r) Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
3671
+ }
3672
+ return t;
3673
+ }, G.apply(this, arguments);
3674
+ };
3675
+ function Xt(e, t) {
3676
+ var r = {};
3677
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3678
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
3679
+ for (var o = 0, n = Object.getOwnPropertySymbols(e); o < n.length; o++)
3680
+ t.indexOf(n[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[o]) && (r[n[o]] = e[n[o]]);
3681
+ return r;
3682
+ }
3683
+ function Hn(e, t, r) {
3684
+ if (r || arguments.length === 2) for (var n = 0, o = t.length, a; n < o; n++)
3685
+ (a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
3686
+ return e.concat(a || Array.prototype.slice.call(t));
3687
+ }
3688
+ var Oe = "right-scroll-bar-position", _e = "width-before-scroll-bar", Kn = "with-scroll-bars-hidden", Zn = "--removed-body-scroll-bar-size";
3689
+ function Be(e, t) {
3690
+ return typeof e == "function" ? e(t) : e && (e.current = t), e;
3691
+ }
3692
+ function qn(e, t) {
3693
+ var r = xr(function() {
3694
+ return {
3695
+ // value
3696
+ value: e,
3697
+ // last callback
3698
+ callback: t,
3699
+ // "memoized" public interface
3700
+ facade: {
3701
+ get current() {
3702
+ return r.value;
3703
+ },
3704
+ set current(n) {
3705
+ var o = r.value;
3706
+ o !== n && (r.value = n, r.callback(n, o));
3707
+ }
3708
+ }
3709
+ };
3710
+ })[0];
3711
+ return r.callback = t, r.facade;
3712
+ }
3713
+ var Jn = typeof window < "u" ? l.useLayoutEffect : l.useEffect, xt = /* @__PURE__ */ new WeakMap();
3714
+ function Qn(e, t) {
3715
+ var r = qn(null, function(n) {
3716
+ return e.forEach(function(o) {
3717
+ return Be(o, n);
3718
+ });
3719
+ });
3720
+ return Jn(function() {
3721
+ var n = xt.get(r);
3722
+ if (n) {
3723
+ var o = new Set(n), a = new Set(e), i = r.current;
3724
+ o.forEach(function(s) {
3725
+ a.has(s) || Be(s, null);
3726
+ }), a.forEach(function(s) {
3727
+ o.has(s) || Be(s, i);
3728
+ });
3729
+ }
3730
+ xt.set(r, e);
3731
+ }, [e]), r;
3732
+ }
3733
+ function eo(e) {
3734
+ return e;
3735
+ }
3736
+ function to(e, t) {
3737
+ t === void 0 && (t = eo);
3738
+ var r = [], n = !1, o = {
3739
+ read: function() {
3740
+ if (n)
3741
+ throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
3742
+ return r.length ? r[r.length - 1] : e;
3743
+ },
3744
+ useMedium: function(a) {
3745
+ var i = t(a, n);
3746
+ return r.push(i), function() {
3747
+ r = r.filter(function(s) {
3748
+ return s !== i;
3749
+ });
3750
+ };
3751
+ },
3752
+ assignSyncMedium: function(a) {
3753
+ for (n = !0; r.length; ) {
3754
+ var i = r;
3755
+ r = [], i.forEach(a);
3756
+ }
3757
+ r = {
3758
+ push: function(s) {
3759
+ return a(s);
3760
+ },
3761
+ filter: function() {
3762
+ return r;
3763
+ }
3764
+ };
3765
+ },
3766
+ assignMedium: function(a) {
3767
+ n = !0;
3768
+ var i = [];
3769
+ if (r.length) {
3770
+ var s = r;
3771
+ r = [], s.forEach(a), i = r;
3772
+ }
3773
+ var c = function() {
3774
+ var m = i;
3775
+ i = [], m.forEach(a);
3776
+ }, u = function() {
3777
+ return Promise.resolve().then(c);
3778
+ };
3779
+ u(), r = {
3780
+ push: function(m) {
3781
+ i.push(m), u();
3782
+ },
3783
+ filter: function(m) {
3784
+ return i = i.filter(m), r;
3785
+ }
3786
+ };
3787
+ }
3788
+ };
3789
+ return o;
3790
+ }
3791
+ function ro(e) {
3792
+ e === void 0 && (e = {});
3793
+ var t = to(null);
3794
+ return t.options = G({ async: !0, ssr: !1 }, e), t;
3795
+ }
3796
+ var Ht = function(e) {
3797
+ var t = e.sideCar, r = Xt(e, ["sideCar"]);
3798
+ if (!t)
3799
+ throw new Error("Sidecar: please provide `sideCar` property to import the right car");
3800
+ var n = t.read();
3801
+ if (!n)
3802
+ throw new Error("Sidecar medium not found");
3803
+ return l.createElement(n, G({}, r));
3804
+ };
3805
+ Ht.isSideCarExport = !0;
3806
+ function no(e, t) {
3807
+ return e.useMedium(t), Ht;
3808
+ }
3809
+ var Kt = ro(), Ve = function() {
3810
+ }, Ie = l.forwardRef(function(e, t) {
3811
+ var r = l.useRef(null), n = l.useState({
3812
+ onScrollCapture: Ve,
3813
+ onWheelCapture: Ve,
3814
+ onTouchMoveCapture: Ve
3815
+ }), o = n[0], a = n[1], i = e.forwardProps, s = e.children, c = e.className, u = e.removeScrollBar, m = e.enabled, p = e.shards, g = e.sideCar, E = e.noRelative, S = e.noIsolation, f = e.inert, y = e.allowPinchZoom, k = e.as, N = k === void 0 ? "div" : k, O = e.gapMode, A = Xt(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), _ = g, j = Qn([r, t]), P = G(G({}, A), o);
3816
+ return l.createElement(
3817
+ l.Fragment,
3818
+ null,
3819
+ m && l.createElement(_, { sideCar: Kt, removeScrollBar: u, shards: p, noRelative: E, noIsolation: S, inert: f, setCallbacks: a, allowPinchZoom: !!y, lockRef: r, gapMode: O }),
3820
+ i ? l.cloneElement(l.Children.only(s), G(G({}, P), { ref: j })) : l.createElement(N, G({}, P, { className: c, ref: j }), s)
3821
+ );
3822
+ });
3823
+ Ie.defaultProps = {
3824
+ enabled: !0,
3825
+ removeScrollBar: !0,
3826
+ inert: !1
3827
+ };
3828
+ Ie.classNames = {
3829
+ fullWidth: _e,
3830
+ zeroRight: Oe
3831
+ };
3832
+ var oo = function() {
3833
+ if (typeof __webpack_nonce__ < "u")
3834
+ return __webpack_nonce__;
3835
+ };
3836
+ function ao() {
3837
+ if (!document)
3838
+ return null;
3839
+ var e = document.createElement("style");
3840
+ e.type = "text/css";
3841
+ var t = oo();
3842
+ return t && e.setAttribute("nonce", t), e;
3843
+ }
3844
+ function so(e, t) {
3845
+ e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
3846
+ }
3847
+ function io(e) {
3848
+ var t = document.head || document.getElementsByTagName("head")[0];
3849
+ t.appendChild(e);
3850
+ }
3851
+ var lo = function() {
3852
+ var e = 0, t = null;
3853
+ return {
3854
+ add: function(r) {
3855
+ e == 0 && (t = ao()) && (so(t, r), io(t)), e++;
3856
+ },
3857
+ remove: function() {
3858
+ e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
3859
+ }
3860
+ };
3861
+ }, co = function() {
3862
+ var e = lo();
3863
+ return function(t, r) {
3864
+ l.useEffect(function() {
3865
+ return e.add(t), function() {
3866
+ e.remove();
3867
+ };
3868
+ }, [t && r]);
3869
+ };
3870
+ }, Zt = function() {
3871
+ var e = co(), t = function(r) {
3872
+ var n = r.styles, o = r.dynamic;
3873
+ return e(n, o), null;
3874
+ };
3875
+ return t;
3876
+ }, uo = {
3877
+ left: 0,
3878
+ top: 0,
3879
+ right: 0,
3880
+ gap: 0
3881
+ }, Ge = function(e) {
3882
+ return parseInt(e || "", 10) || 0;
3883
+ }, fo = function(e) {
3884
+ var t = window.getComputedStyle(document.body), r = t[e === "padding" ? "paddingLeft" : "marginLeft"], n = t[e === "padding" ? "paddingTop" : "marginTop"], o = t[e === "padding" ? "paddingRight" : "marginRight"];
3885
+ return [Ge(r), Ge(n), Ge(o)];
3886
+ }, mo = function(e) {
3887
+ if (e === void 0 && (e = "margin"), typeof window > "u")
3888
+ return uo;
3889
+ var t = fo(e), r = document.documentElement.clientWidth, n = window.innerWidth;
3890
+ return {
3891
+ left: t[0],
3892
+ top: t[1],
3893
+ right: t[2],
3894
+ gap: Math.max(0, n - r + t[2] - t[0])
3895
+ };
3896
+ }, po = Zt(), fe = "data-scroll-locked", go = function(e, t, r, n) {
3897
+ var o = e.left, a = e.top, i = e.right, s = e.gap;
3898
+ return r === void 0 && (r = "margin"), `
3899
+ .`.concat(Kn, ` {
3900
+ overflow: hidden `).concat(n, `;
3901
+ padding-right: `).concat(s, "px ").concat(n, `;
3902
+ }
3903
+ body[`).concat(fe, `] {
3904
+ overflow: hidden `).concat(n, `;
3905
+ overscroll-behavior: contain;
3906
+ `).concat([
3907
+ t && "position: relative ".concat(n, ";"),
3908
+ r === "margin" && `
3909
+ padding-left: `.concat(o, `px;
3910
+ padding-top: `).concat(a, `px;
3911
+ padding-right: `).concat(i, `px;
3912
+ margin-left:0;
3913
+ margin-top:0;
3914
+ margin-right: `).concat(s, "px ").concat(n, `;
3915
+ `),
3916
+ r === "padding" && "padding-right: ".concat(s, "px ").concat(n, ";")
3917
+ ].filter(Boolean).join(""), `
3918
+ }
3919
+
3920
+ .`).concat(Oe, ` {
3921
+ right: `).concat(s, "px ").concat(n, `;
3922
+ }
3923
+
3924
+ .`).concat(_e, ` {
3925
+ margin-right: `).concat(s, "px ").concat(n, `;
3926
+ }
3927
+
3928
+ .`).concat(Oe, " .").concat(Oe, ` {
3929
+ right: 0 `).concat(n, `;
3930
+ }
3931
+
3932
+ .`).concat(_e, " .").concat(_e, ` {
3933
+ margin-right: 0 `).concat(n, `;
3934
+ }
3935
+
3936
+ body[`).concat(fe, `] {
3937
+ `).concat(Zn, ": ").concat(s, `px;
3938
+ }
3939
+ `);
3940
+ }, Et = function() {
3941
+ var e = parseInt(document.body.getAttribute(fe) || "0", 10);
3942
+ return isFinite(e) ? e : 0;
3943
+ }, vo = function() {
3944
+ l.useEffect(function() {
3945
+ return document.body.setAttribute(fe, (Et() + 1).toString()), function() {
3946
+ var e = Et() - 1;
3947
+ e <= 0 ? document.body.removeAttribute(fe) : document.body.setAttribute(fe, e.toString());
3948
+ };
3949
+ }, []);
3950
+ }, ho = function(e) {
3951
+ var t = e.noRelative, r = e.noImportant, n = e.gapMode, o = n === void 0 ? "margin" : n;
3952
+ vo();
3953
+ var a = l.useMemo(function() {
3954
+ return mo(o);
3955
+ }, [o]);
3956
+ return l.createElement(po, { styles: go(a, !t, o, r ? "" : "!important") });
3957
+ }, Qe = !1;
3958
+ if (typeof window < "u")
3959
+ try {
3960
+ var Pe = Object.defineProperty({}, "passive", {
3961
+ get: function() {
3962
+ return Qe = !0, !0;
3963
+ }
3964
+ });
3965
+ window.addEventListener("test", Pe, Pe), window.removeEventListener("test", Pe, Pe);
3966
+ } catch {
3967
+ Qe = !1;
3968
+ }
3969
+ var ce = Qe ? { passive: !1 } : !1, bo = function(e) {
3970
+ return e.tagName === "TEXTAREA";
3971
+ }, qt = function(e, t) {
3972
+ if (!(e instanceof Element))
3973
+ return !1;
3974
+ var r = window.getComputedStyle(e);
3975
+ return (
3976
+ // not-not-scrollable
3977
+ r[t] !== "hidden" && // contains scroll inside self
3978
+ !(r.overflowY === r.overflowX && !bo(e) && r[t] === "visible")
3979
+ );
3980
+ }, yo = function(e) {
3981
+ return qt(e, "overflowY");
3982
+ }, wo = function(e) {
3983
+ return qt(e, "overflowX");
3984
+ }, kt = function(e, t) {
3985
+ var r = t.ownerDocument, n = t;
3986
+ do {
3987
+ typeof ShadowRoot < "u" && n instanceof ShadowRoot && (n = n.host);
3988
+ var o = Jt(e, n);
3989
+ if (o) {
3990
+ var a = Qt(e, n), i = a[1], s = a[2];
3991
+ if (i > s)
3992
+ return !0;
3993
+ }
3994
+ n = n.parentNode;
3995
+ } while (n && n !== r.body);
3996
+ return !1;
3997
+ }, xo = function(e) {
3998
+ var t = e.scrollTop, r = e.scrollHeight, n = e.clientHeight;
3999
+ return [
4000
+ t,
4001
+ r,
4002
+ n
4003
+ ];
4004
+ }, Eo = function(e) {
4005
+ var t = e.scrollLeft, r = e.scrollWidth, n = e.clientWidth;
4006
+ return [
4007
+ t,
4008
+ r,
4009
+ n
4010
+ ];
4011
+ }, Jt = function(e, t) {
4012
+ return e === "v" ? yo(t) : wo(t);
4013
+ }, Qt = function(e, t) {
4014
+ return e === "v" ? xo(t) : Eo(t);
4015
+ }, ko = function(e, t) {
4016
+ return e === "h" && t === "rtl" ? -1 : 1;
4017
+ }, Co = function(e, t, r, n, o) {
4018
+ var a = ko(e, window.getComputedStyle(t).direction), i = a * n, s = r.target, c = t.contains(s), u = !1, m = i > 0, p = 0, g = 0;
4019
+ do {
4020
+ if (!s)
4021
+ break;
4022
+ var E = Qt(e, s), S = E[0], f = E[1], y = E[2], k = f - y - a * S;
4023
+ (S || k) && Jt(e, s) && (p += k, g += S);
4024
+ var N = s.parentNode;
4025
+ s = N && N.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? N.host : N;
4026
+ } while (
4027
+ // portaled content
4028
+ !c && s !== document.body || // self content
4029
+ c && (t.contains(s) || t === s)
4030
+ );
4031
+ return (m && Math.abs(p) < 1 || !m && Math.abs(g) < 1) && (u = !0), u;
4032
+ }, Ae = function(e) {
4033
+ return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
4034
+ }, Ct = function(e) {
4035
+ return [e.deltaX, e.deltaY];
4036
+ }, St = function(e) {
4037
+ return e && "current" in e ? e.current : e;
4038
+ }, So = function(e, t) {
4039
+ return e[0] === t[0] && e[1] === t[1];
4040
+ }, Ro = function(e) {
4041
+ return `
4042
+ .block-interactivity-`.concat(e, ` {pointer-events: none;}
4043
+ .allow-interactivity-`).concat(e, ` {pointer-events: all;}
4044
+ `);
4045
+ }, Po = 0, ue = [];
4046
+ function Ao(e) {
4047
+ var t = l.useRef([]), r = l.useRef([0, 0]), n = l.useRef(), o = l.useState(Po++)[0], a = l.useState(Zt)[0], i = l.useRef(e);
4048
+ l.useEffect(function() {
4049
+ i.current = e;
4050
+ }, [e]), l.useEffect(function() {
4051
+ if (e.inert) {
4052
+ document.body.classList.add("block-interactivity-".concat(o));
4053
+ var f = Hn([e.lockRef.current], (e.shards || []).map(St), !0).filter(Boolean);
4054
+ return f.forEach(function(y) {
4055
+ return y.classList.add("allow-interactivity-".concat(o));
4056
+ }), function() {
4057
+ document.body.classList.remove("block-interactivity-".concat(o)), f.forEach(function(y) {
4058
+ return y.classList.remove("allow-interactivity-".concat(o));
4059
+ });
4060
+ };
4061
+ }
4062
+ }, [e.inert, e.lockRef.current, e.shards]);
4063
+ var s = l.useCallback(function(f, y) {
4064
+ if ("touches" in f && f.touches.length === 2 || f.type === "wheel" && f.ctrlKey)
4065
+ return !i.current.allowPinchZoom;
4066
+ var k = Ae(f), N = r.current, O = "deltaX" in f ? f.deltaX : N[0] - k[0], A = "deltaY" in f ? f.deltaY : N[1] - k[1], _, j = f.target, P = Math.abs(O) > Math.abs(A) ? "h" : "v";
4067
+ if ("touches" in f && P === "h" && j.type === "range")
4068
+ return !1;
4069
+ var b = kt(P, j);
4070
+ if (!b)
4071
+ return !0;
4072
+ if (b ? _ = P : (_ = P === "v" ? "h" : "v", b = kt(P, j)), !b)
4073
+ return !1;
4074
+ if (!n.current && "changedTouches" in f && (O || A) && (n.current = _), !_)
4075
+ return !0;
4076
+ var z = n.current || _;
4077
+ return Co(z, y, f, z === "h" ? O : A);
4078
+ }, []), c = l.useCallback(function(f) {
4079
+ var y = f;
4080
+ if (!(!ue.length || ue[ue.length - 1] !== a)) {
4081
+ var k = "deltaY" in y ? Ct(y) : Ae(y), N = t.current.filter(function(_) {
4082
+ return _.name === y.type && (_.target === y.target || y.target === _.shadowParent) && So(_.delta, k);
4083
+ })[0];
4084
+ if (N && N.should) {
4085
+ y.cancelable && y.preventDefault();
4086
+ return;
4087
+ }
4088
+ if (!N) {
4089
+ var O = (i.current.shards || []).map(St).filter(Boolean).filter(function(_) {
4090
+ return _.contains(y.target);
4091
+ }), A = O.length > 0 ? s(y, O[0]) : !i.current.noIsolation;
4092
+ A && y.cancelable && y.preventDefault();
4093
+ }
4094
+ }
4095
+ }, []), u = l.useCallback(function(f, y, k, N) {
4096
+ var O = { name: f, delta: y, target: k, should: N, shadowParent: To(k) };
4097
+ t.current.push(O), setTimeout(function() {
4098
+ t.current = t.current.filter(function(A) {
4099
+ return A !== O;
4100
+ });
4101
+ }, 1);
4102
+ }, []), m = l.useCallback(function(f) {
4103
+ r.current = Ae(f), n.current = void 0;
4104
+ }, []), p = l.useCallback(function(f) {
4105
+ u(f.type, Ct(f), f.target, s(f, e.lockRef.current));
4106
+ }, []), g = l.useCallback(function(f) {
4107
+ u(f.type, Ae(f), f.target, s(f, e.lockRef.current));
4108
+ }, []);
4109
+ l.useEffect(function() {
4110
+ return ue.push(a), e.setCallbacks({
4111
+ onScrollCapture: p,
4112
+ onWheelCapture: p,
4113
+ onTouchMoveCapture: g
4114
+ }), document.addEventListener("wheel", c, ce), document.addEventListener("touchmove", c, ce), document.addEventListener("touchstart", m, ce), function() {
4115
+ ue = ue.filter(function(f) {
4116
+ return f !== a;
4117
+ }), document.removeEventListener("wheel", c, ce), document.removeEventListener("touchmove", c, ce), document.removeEventListener("touchstart", m, ce);
4118
+ };
4119
+ }, []);
4120
+ var E = e.removeScrollBar, S = e.inert;
4121
+ return l.createElement(
4122
+ l.Fragment,
4123
+ null,
4124
+ S ? l.createElement(a, { styles: Ro(o) }) : null,
4125
+ E ? l.createElement(ho, { noRelative: e.noRelative, gapMode: e.gapMode }) : null
4126
+ );
4127
+ }
4128
+ function To(e) {
4129
+ for (var t = null; e !== null; )
4130
+ e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
4131
+ return t;
4132
+ }
4133
+ const No = no(Kt, Ao);
4134
+ var er = l.forwardRef(function(e, t) {
4135
+ return l.createElement(Ie, G({}, e, { ref: t, sideCar: No }));
4136
+ });
4137
+ er.classNames = Ie.classNames;
4138
+ var Oo = function(e) {
4139
+ if (typeof document > "u")
4140
+ return null;
4141
+ var t = Array.isArray(e) ? e[0] : e;
4142
+ return t.ownerDocument.body;
4143
+ }, de = /* @__PURE__ */ new WeakMap(), Te = /* @__PURE__ */ new WeakMap(), Ne = {}, Ye = 0, tr = function(e) {
4144
+ return e && (e.host || tr(e.parentNode));
4145
+ }, _o = function(e, t) {
4146
+ return t.map(function(r) {
4147
+ if (e.contains(r))
4148
+ return r;
4149
+ var n = tr(r);
4150
+ return n && e.contains(n) ? n : (console.error("aria-hidden", r, "in not contained inside", e, ". Doing nothing"), null);
4151
+ }).filter(function(r) {
4152
+ return !!r;
4153
+ });
4154
+ }, Mo = function(e, t, r, n) {
4155
+ var o = _o(t, Array.isArray(e) ? e : [e]);
4156
+ Ne[r] || (Ne[r] = /* @__PURE__ */ new WeakMap());
4157
+ var a = Ne[r], i = [], s = /* @__PURE__ */ new Set(), c = new Set(o), u = function(p) {
4158
+ !p || s.has(p) || (s.add(p), u(p.parentNode));
4159
+ };
4160
+ o.forEach(u);
4161
+ var m = function(p) {
4162
+ !p || c.has(p) || Array.prototype.forEach.call(p.children, function(g) {
4163
+ if (s.has(g))
4164
+ m(g);
4165
+ else
4166
+ try {
4167
+ var E = g.getAttribute(n), S = E !== null && E !== "false", f = (de.get(g) || 0) + 1, y = (a.get(g) || 0) + 1;
4168
+ de.set(g, f), a.set(g, y), i.push(g), f === 1 && S && Te.set(g, !0), y === 1 && g.setAttribute(r, "true"), S || g.setAttribute(n, "true");
4169
+ } catch (k) {
4170
+ console.error("aria-hidden: cannot operate on ", g, k);
4171
+ }
4172
+ });
4173
+ };
4174
+ return m(t), s.clear(), Ye++, function() {
4175
+ i.forEach(function(p) {
4176
+ var g = de.get(p) - 1, E = a.get(p) - 1;
4177
+ de.set(p, g), a.set(p, E), g || (Te.has(p) || p.removeAttribute(n), Te.delete(p)), E || p.removeAttribute(r);
4178
+ }), Ye--, Ye || (de = /* @__PURE__ */ new WeakMap(), de = /* @__PURE__ */ new WeakMap(), Te = /* @__PURE__ */ new WeakMap(), Ne = {});
4179
+ };
4180
+ }, Do = function(e, t, r) {
4181
+ r === void 0 && (r = "data-aria-hidden");
4182
+ var n = Array.from(Array.isArray(e) ? e : [e]), o = Oo(e);
4183
+ return o ? (n.push.apply(n, Array.from(o.querySelectorAll("[aria-live], script"))), Mo(n, o, r, "aria-hidden")) : function() {
4184
+ return null;
4185
+ };
4186
+ }, je = "Dialog", [rr, ua] = bn(je), [Io, B] = rr(je), nr = (e) => {
4187
+ const {
4188
+ __scopeDialog: t,
4189
+ children: r,
4190
+ open: n,
4191
+ defaultOpen: o,
4192
+ onOpenChange: a,
4193
+ modal: i = !0
4194
+ } = e, s = l.useRef(null), c = l.useRef(null), [u, m] = kn({
4195
+ prop: n,
4196
+ defaultProp: o ?? !1,
4197
+ onChange: a,
4198
+ caller: je
4199
+ });
4200
+ return /* @__PURE__ */ x.jsx(
4201
+ Io,
4202
+ {
4203
+ scope: t,
4204
+ triggerRef: s,
4205
+ contentRef: c,
4206
+ contentId: ze(),
4207
+ titleId: ze(),
4208
+ descriptionId: ze(),
4209
+ open: u,
4210
+ onOpenChange: m,
4211
+ onOpenToggle: l.useCallback(() => m((p) => !p), [m]),
4212
+ modal: i,
4213
+ children: r
4214
+ }
4215
+ );
4216
+ };
4217
+ nr.displayName = je;
4218
+ var or = "DialogTrigger", ar = l.forwardRef(
4219
+ (e, t) => {
4220
+ const { __scopeDialog: r, ...n } = e, o = B(or, r), a = oe(t, o.triggerRef);
4221
+ return /* @__PURE__ */ x.jsx(
4222
+ H.button,
4223
+ {
4224
+ type: "button",
4225
+ "aria-haspopup": "dialog",
4226
+ "aria-expanded": o.open,
4227
+ "aria-controls": o.contentId,
4228
+ "data-state": ot(o.open),
4229
+ ...n,
4230
+ ref: a,
4231
+ onClick: Q(e.onClick, o.onOpenToggle)
4232
+ }
4233
+ );
4234
+ }
4235
+ );
4236
+ ar.displayName = or;
4237
+ var rt = "DialogPortal", [jo, sr] = rr(rt, {
4238
+ forceMount: void 0
4239
+ }), ir = (e) => {
4240
+ const { __scopeDialog: t, forceMount: r, children: n, container: o } = e, a = B(rt, t);
4241
+ return /* @__PURE__ */ x.jsx(jo, { scope: t, forceMount: r, children: l.Children.map(n, (i) => /* @__PURE__ */ x.jsx(De, { present: r || a.open, children: /* @__PURE__ */ x.jsx(Yt, { asChild: !0, container: o, children: i }) })) });
4242
+ };
4243
+ ir.displayName = rt;
4244
+ var Me = "DialogOverlay", lr = l.forwardRef(
4245
+ (e, t) => {
4246
+ const r = sr(Me, e.__scopeDialog), { forceMount: n = r.forceMount, ...o } = e, a = B(Me, e.__scopeDialog);
4247
+ return a.modal ? /* @__PURE__ */ x.jsx(De, { present: n || a.open, children: /* @__PURE__ */ x.jsx(Fo, { ...o, ref: t }) }) : null;
4248
+ }
4249
+ );
4250
+ lr.displayName = Me;
4251
+ var Lo = /* @__PURE__ */ et("DialogOverlay.RemoveScroll"), Fo = l.forwardRef(
4252
+ (e, t) => {
4253
+ const { __scopeDialog: r, ...n } = e, o = B(Me, r);
4254
+ return (
4255
+ // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
4256
+ // ie. when `Overlay` and `Content` are siblings
4257
+ /* @__PURE__ */ x.jsx(er, { as: Lo, allowPinchZoom: !0, shards: [o.contentRef], children: /* @__PURE__ */ x.jsx(
4258
+ H.div,
4259
+ {
4260
+ "data-state": ot(o.open),
4261
+ ...n,
4262
+ ref: t,
4263
+ style: { pointerEvents: "auto", ...n.style }
4264
+ }
4265
+ ) })
4266
+ );
4267
+ }
4268
+ ), ne = "DialogContent", cr = l.forwardRef(
4269
+ (e, t) => {
4270
+ const r = sr(ne, e.__scopeDialog), { forceMount: n = r.forceMount, ...o } = e, a = B(ne, e.__scopeDialog);
4271
+ return /* @__PURE__ */ x.jsx(De, { present: n || a.open, children: a.modal ? /* @__PURE__ */ x.jsx(zo, { ...o, ref: t }) : /* @__PURE__ */ x.jsx(Wo, { ...o, ref: t }) });
4272
+ }
4273
+ );
4274
+ cr.displayName = ne;
4275
+ var zo = l.forwardRef(
4276
+ (e, t) => {
4277
+ const r = B(ne, e.__scopeDialog), n = l.useRef(null), o = oe(t, r.contentRef, n);
4278
+ return l.useEffect(() => {
4279
+ const a = n.current;
4280
+ if (a) return Do(a);
4281
+ }, []), /* @__PURE__ */ x.jsx(
4282
+ ur,
4283
+ {
4284
+ ...e,
4285
+ ref: o,
4286
+ trapFocus: r.open,
4287
+ disableOutsidePointerEvents: !0,
4288
+ onCloseAutoFocus: Q(e.onCloseAutoFocus, (a) => {
4289
+ var i;
4290
+ a.preventDefault(), (i = r.triggerRef.current) == null || i.focus();
4291
+ }),
4292
+ onPointerDownOutside: Q(e.onPointerDownOutside, (a) => {
4293
+ const i = a.detail.originalEvent, s = i.button === 0 && i.ctrlKey === !0;
4294
+ (i.button === 2 || s) && a.preventDefault();
4295
+ }),
4296
+ onFocusOutside: Q(
4297
+ e.onFocusOutside,
4298
+ (a) => a.preventDefault()
4299
+ )
4300
+ }
4301
+ );
4302
+ }
4303
+ ), Wo = l.forwardRef(
4304
+ (e, t) => {
4305
+ const r = B(ne, e.__scopeDialog), n = l.useRef(!1), o = l.useRef(!1);
4306
+ return /* @__PURE__ */ x.jsx(
4307
+ ur,
4308
+ {
4309
+ ...e,
4310
+ ref: t,
4311
+ trapFocus: !1,
4312
+ disableOutsidePointerEvents: !1,
4313
+ onCloseAutoFocus: (a) => {
4314
+ var i, s;
4315
+ (i = e.onCloseAutoFocus) == null || i.call(e, a), a.defaultPrevented || (n.current || (s = r.triggerRef.current) == null || s.focus(), a.preventDefault()), n.current = !1, o.current = !1;
4316
+ },
4317
+ onInteractOutside: (a) => {
4318
+ var c, u;
4319
+ (c = e.onInteractOutside) == null || c.call(e, a), a.defaultPrevented || (n.current = !0, a.detail.originalEvent.type === "pointerdown" && (o.current = !0));
4320
+ const i = a.target;
4321
+ ((u = r.triggerRef.current) == null ? void 0 : u.contains(i)) && a.preventDefault(), a.detail.originalEvent.type === "focusin" && o.current && a.preventDefault();
4322
+ }
4323
+ }
4324
+ );
4325
+ }
4326
+ ), ur = l.forwardRef(
4327
+ (e, t) => {
4328
+ const { __scopeDialog: r, trapFocus: n, onOpenAutoFocus: o, onCloseAutoFocus: a, ...i } = e, s = B(ne, r), c = l.useRef(null), u = oe(t, c);
4329
+ return Xn(), /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
4330
+ /* @__PURE__ */ x.jsx(
4331
+ Vt,
4332
+ {
4333
+ asChild: !0,
4334
+ loop: !0,
4335
+ trapped: n,
4336
+ onMountAutoFocus: o,
4337
+ onUnmountAutoFocus: a,
4338
+ children: /* @__PURE__ */ x.jsx(
4339
+ Ut,
4340
+ {
4341
+ role: "dialog",
4342
+ id: s.contentId,
4343
+ "aria-describedby": s.descriptionId,
4344
+ "aria-labelledby": s.titleId,
4345
+ "data-state": ot(s.open),
4346
+ ...i,
4347
+ ref: u,
4348
+ onDismiss: () => s.onOpenChange(!1)
4349
+ }
4350
+ )
4351
+ }
4352
+ ),
4353
+ /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
4354
+ /* @__PURE__ */ x.jsx($o, { titleId: s.titleId }),
4355
+ /* @__PURE__ */ x.jsx(Bo, { contentRef: c, descriptionId: s.descriptionId })
4356
+ ] })
4357
+ ] });
4358
+ }
4359
+ ), nt = "DialogTitle", dr = l.forwardRef(
4360
+ (e, t) => {
4361
+ const { __scopeDialog: r, ...n } = e, o = B(nt, r);
4362
+ return /* @__PURE__ */ x.jsx(H.h2, { id: o.titleId, ...n, ref: t });
4363
+ }
4364
+ );
4365
+ dr.displayName = nt;
4366
+ var fr = "DialogDescription", mr = l.forwardRef(
4367
+ (e, t) => {
4368
+ const { __scopeDialog: r, ...n } = e, o = B(fr, r);
4369
+ return /* @__PURE__ */ x.jsx(H.p, { id: o.descriptionId, ...n, ref: t });
4370
+ }
4371
+ );
4372
+ mr.displayName = fr;
4373
+ var pr = "DialogClose", gr = l.forwardRef(
4374
+ (e, t) => {
4375
+ const { __scopeDialog: r, ...n } = e, o = B(pr, r);
4376
+ return /* @__PURE__ */ x.jsx(
4377
+ H.button,
4378
+ {
4379
+ type: "button",
4380
+ ...n,
4381
+ ref: t,
4382
+ onClick: Q(e.onClick, () => o.onOpenChange(!1))
4383
+ }
4384
+ );
4385
+ }
4386
+ );
4387
+ gr.displayName = pr;
4388
+ function ot(e) {
4389
+ return e ? "open" : "closed";
4390
+ }
4391
+ var vr = "DialogTitleWarning", [da, hr] = hn(vr, {
4392
+ contentName: ne,
4393
+ titleName: nt,
4394
+ docsSlug: "dialog"
4395
+ }), $o = ({ titleId: e }) => {
4396
+ const t = hr(vr), r = `\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
4397
+
4398
+ If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
4399
+
4400
+ For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;
4401
+ return l.useEffect(() => {
4402
+ e && (document.getElementById(e) || console.error(r));
4403
+ }, [r, e]), null;
4404
+ }, Uo = "DialogDescriptionWarning", Bo = ({ contentRef: e, descriptionId: t }) => {
4405
+ const n = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${hr(Uo).contentName}}.`;
4406
+ return l.useEffect(() => {
4407
+ var a;
4408
+ const o = (a = e.current) == null ? void 0 : a.getAttribute("aria-describedby");
4409
+ t && o && (document.getElementById(t) || console.warn(n));
4410
+ }, [n, e, t]), null;
4411
+ }, Vo = nr, Go = ar, Yo = ir, Xo = lr, Ho = cr, Ko = dr, Zo = mr, br = gr;
4412
+ /**
4413
+ * @license lucide-react v0.542.0 - ISC
4414
+ *
4415
+ * This source code is licensed under the ISC license.
4416
+ * See the LICENSE file in the root directory of this source tree.
4417
+ */
4418
+ const qo = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Jo = (e) => e.replace(
4419
+ /^([A-Z])|[\s-_]+(\w)/g,
4420
+ (t, r, n) => n ? n.toUpperCase() : r.toLowerCase()
4421
+ ), Rt = (e) => {
4422
+ const t = Jo(e);
4423
+ return t.charAt(0).toUpperCase() + t.slice(1);
4424
+ }, yr = (...e) => e.filter((t, r, n) => !!t && t.trim() !== "" && n.indexOf(t) === r).join(" ").trim(), Qo = (e) => {
4425
+ for (const t in e)
4426
+ if (t.startsWith("aria-") || t === "role" || t === "title")
4427
+ return !0;
4428
+ };
4429
+ /**
4430
+ * @license lucide-react v0.542.0 - ISC
4431
+ *
4432
+ * This source code is licensed under the ISC license.
4433
+ * See the LICENSE file in the root directory of this source tree.
4434
+ */
4435
+ var ea = {
4436
+ xmlns: "http://www.w3.org/2000/svg",
4437
+ width: 24,
4438
+ height: 24,
4439
+ viewBox: "0 0 24 24",
4440
+ fill: "none",
4441
+ stroke: "currentColor",
4442
+ strokeWidth: 2,
4443
+ strokeLinecap: "round",
4444
+ strokeLinejoin: "round"
4445
+ };
4446
+ /**
4447
+ * @license lucide-react v0.542.0 - ISC
4448
+ *
4449
+ * This source code is licensed under the ISC license.
4450
+ * See the LICENSE file in the root directory of this source tree.
4451
+ */
4452
+ const ta = Pt(
4453
+ ({
4454
+ color: e = "currentColor",
4455
+ size: t = 24,
4456
+ strokeWidth: r = 2,
4457
+ absoluteStrokeWidth: n,
4458
+ className: o = "",
4459
+ children: a,
4460
+ iconNode: i,
4461
+ ...s
4462
+ }, c) => Xe(
4463
+ "svg",
4464
+ {
4465
+ ref: c,
4466
+ ...ea,
4467
+ width: t,
4468
+ height: t,
4469
+ stroke: e,
4470
+ strokeWidth: n ? Number(r) * 24 / Number(t) : r,
4471
+ className: yr("lucide", o),
4472
+ ...!a && !Qo(s) && { "aria-hidden": "true" },
4473
+ ...s
4474
+ },
4475
+ [
4476
+ ...i.map(([u, m]) => Xe(u, m)),
4477
+ ...Array.isArray(a) ? a : [a]
4478
+ ]
4479
+ )
4480
+ );
4481
+ /**
4482
+ * @license lucide-react v0.542.0 - ISC
4483
+ *
4484
+ * This source code is licensed under the ISC license.
4485
+ * See the LICENSE file in the root directory of this source tree.
4486
+ */
4487
+ const ra = (e, t) => {
4488
+ const r = Pt(
4489
+ ({ className: n, ...o }, a) => Xe(ta, {
4490
+ ref: a,
4491
+ iconNode: t,
4492
+ className: yr(
4493
+ `lucide-${qo(Rt(e))}`,
4494
+ `lucide-${e}`,
4495
+ n
4496
+ ),
4497
+ ...o
4498
+ })
4499
+ );
4500
+ return r.displayName = Rt(e), r;
4501
+ };
4502
+ /**
4503
+ * @license lucide-react v0.542.0 - ISC
4504
+ *
4505
+ * This source code is licensed under the ISC license.
4506
+ * See the LICENSE file in the root directory of this source tree.
4507
+ */
4508
+ const na = [
4509
+ ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
4510
+ ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
4511
+ ], oa = ra("x", na);
4512
+ function fa({
4513
+ ...e
4514
+ }) {
4515
+ return /* @__PURE__ */ x.jsx(Vo, { "data-slot": "dialog", ...e });
4516
+ }
4517
+ function ma({
4518
+ ...e
4519
+ }) {
4520
+ return /* @__PURE__ */ x.jsx(Go, { "data-slot": "dialog-trigger", ...e });
4521
+ }
4522
+ function aa({
4523
+ ...e
4524
+ }) {
4525
+ return /* @__PURE__ */ x.jsx(Yo, { "data-slot": "dialog-portal", ...e });
4526
+ }
4527
+ function pa({
4528
+ ...e
4529
+ }) {
4530
+ return /* @__PURE__ */ x.jsx(br, { "data-slot": "dialog-close", ...e });
4531
+ }
4532
+ function sa({
4533
+ className: e,
4534
+ ...t
4535
+ }) {
4536
+ return /* @__PURE__ */ x.jsx(
4537
+ Xo,
4538
+ {
4539
+ "data-slot": "dialog-overlay",
4540
+ className: ae(
4541
+ "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
4542
+ e
4543
+ ),
4544
+ ...t
4545
+ }
4546
+ );
4547
+ }
4548
+ function ga({
4549
+ className: e,
4550
+ children: t,
4551
+ showCloseButton: r = !0,
4552
+ ...n
4553
+ }) {
4554
+ return /* @__PURE__ */ x.jsxs(aa, { "data-slot": "dialog-portal", children: [
4555
+ /* @__PURE__ */ x.jsx(sa, {}),
4556
+ /* @__PURE__ */ x.jsxs(
4557
+ Ho,
4558
+ {
4559
+ "data-slot": "dialog-content",
4560
+ className: ae(
4561
+ "bg-background bg-white data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border border-none p-6 shadow-lg duration-200 sm:max-w-lg",
4562
+ e
4563
+ ),
4564
+ ...n,
4565
+ children: [
4566
+ t,
4567
+ r && /* @__PURE__ */ x.jsxs(
4568
+ br,
4569
+ {
4570
+ "data-slot": "dialog-close",
4571
+ className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
4572
+ children: [
4573
+ /* @__PURE__ */ x.jsx(oa, {}),
4574
+ /* @__PURE__ */ x.jsx("span", { className: "sr-only", children: "Close" })
4575
+ ]
4576
+ }
4577
+ )
4578
+ ]
4579
+ }
4580
+ )
4581
+ ] });
4582
+ }
4583
+ function va({ className: e, ...t }) {
4584
+ return /* @__PURE__ */ x.jsx(
4585
+ "div",
4586
+ {
4587
+ "data-slot": "dialog-header",
4588
+ className: ae("flex flex-col gap-2 text-center sm:text-left", e),
4589
+ ...t
4590
+ }
4591
+ );
4592
+ }
4593
+ function ha({ className: e, ...t }) {
4594
+ return /* @__PURE__ */ x.jsx(
4595
+ "div",
4596
+ {
4597
+ "data-slot": "dialog-footer",
4598
+ className: ae(
4599
+ "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
4600
+ e
4601
+ ),
4602
+ ...t
4603
+ }
4604
+ );
4605
+ }
4606
+ function ba({
4607
+ className: e,
4608
+ ...t
4609
+ }) {
4610
+ return /* @__PURE__ */ x.jsx(
4611
+ Ko,
4612
+ {
4613
+ "data-slot": "dialog-title",
4614
+ className: ae("text-lg leading-none font-semibold ", e),
4615
+ ...t
4616
+ }
4617
+ );
4618
+ }
4619
+ function ya({
4620
+ className: e,
4621
+ ...t
4622
+ }) {
4623
+ return /* @__PURE__ */ x.jsx(
4624
+ Zo,
4625
+ {
4626
+ "data-slot": "dialog-description",
4627
+ className: ae("text-muted-foreground text-sm", e),
4628
+ ...t
3153
4629
  }
3154
4630
  );
3155
4631
  }
3156
4632
  export {
3157
- Vr as Button,
3158
- zr as cn
4633
+ ca as Button,
4634
+ fa as Dialog,
4635
+ pa as DialogClose,
4636
+ ga as DialogContent,
4637
+ ya as DialogDescription,
4638
+ ha as DialogFooter,
4639
+ va as DialogHeader,
4640
+ sa as DialogOverlay,
4641
+ aa as DialogPortal,
4642
+ ba as DialogTitle,
4643
+ ma as DialogTrigger,
4644
+ ae as cn
3159
4645
  };