@service_laboratory/ui 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ui.js DELETED
@@ -1,4321 +0,0 @@
1
- import * as S from "react";
2
- import O from "react";
3
- var ye = { exports: {} }, de = {};
4
- /**
5
- * @license React
6
- * react-jsx-runtime.production.js
7
- *
8
- * Copyright (c) Meta Platforms, Inc. and affiliates.
9
- *
10
- * This source code is licensed under the MIT license found in the
11
- * LICENSE file in the root directory of this source tree.
12
- */
13
- var ze;
14
- function Ir() {
15
- if (ze) return de;
16
- ze = 1;
17
- var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
18
- function r(n, o, i) {
19
- var d = null;
20
- if (i !== void 0 && (d = "" + i), o.key !== void 0 && (d = "" + o.key), "key" in o) {
21
- i = {};
22
- for (var u in o)
23
- u !== "key" && (i[u] = o[u]);
24
- } else i = o;
25
- return o = i.ref, {
26
- $$typeof: e,
27
- type: n,
28
- key: d,
29
- ref: o !== void 0 ? o : null,
30
- props: i
31
- };
32
- }
33
- return de.Fragment = t, de.jsx = r, de.jsxs = r, de;
34
- }
35
- var ue = {};
36
- /**
37
- * @license React
38
- * react-jsx-runtime.development.js
39
- *
40
- * Copyright (c) Meta Platforms, Inc. and affiliates.
41
- *
42
- * This source code is licensed under the MIT license found in the
43
- * LICENSE file in the root directory of this source tree.
44
- */
45
- var Ge;
46
- function Dr() {
47
- return Ge || (Ge = 1, process.env.NODE_ENV !== "production" && (function() {
48
- function e(f) {
49
- if (f == null) return null;
50
- if (typeof f == "function")
51
- return f.$$typeof === pe ? null : f.displayName || f.name || null;
52
- if (typeof f == "string") return f;
53
- switch (f) {
54
- case v:
55
- return "Fragment";
56
- case N:
57
- return "Profiler";
58
- case k:
59
- return "StrictMode";
60
- case U:
61
- return "Suspense";
62
- case z:
63
- return "SuspenseList";
64
- case H:
65
- return "Activity";
66
- }
67
- if (typeof f == "object")
68
- switch (typeof f.tag == "number" && console.error(
69
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
70
- ), f.$$typeof) {
71
- case y:
72
- return "Portal";
73
- case P:
74
- return (f.displayName || "Context") + ".Provider";
75
- case $:
76
- return (f._context.displayName || "Context") + ".Consumer";
77
- case V:
78
- var w = f.render;
79
- return f = f.displayName, f || (f = w.displayName || w.name || "", f = f !== "" ? "ForwardRef(" + f + ")" : "ForwardRef"), f;
80
- case q:
81
- return w = f.displayName || null, w !== null ? w : e(f.type) || "Memo";
82
- case x:
83
- w = f._payload, f = f._init;
84
- try {
85
- return e(f(w));
86
- } catch {
87
- }
88
- }
89
- return null;
90
- }
91
- function t(f) {
92
- return "" + f;
93
- }
94
- function r(f) {
95
- try {
96
- t(f);
97
- var w = !1;
98
- } catch {
99
- w = !0;
100
- }
101
- if (w) {
102
- w = console;
103
- var T = w.error, E = typeof Symbol == "function" && Symbol.toStringTag && f[Symbol.toStringTag] || f.constructor.name || "Object";
104
- return T.call(
105
- w,
106
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
107
- E
108
- ), t(f);
109
- }
110
- }
111
- function n(f) {
112
- if (f === v) return "<>";
113
- if (typeof f == "object" && f !== null && f.$$typeof === x)
114
- return "<...>";
115
- try {
116
- var w = e(f);
117
- return w ? "<" + w + ">" : "<...>";
118
- } catch {
119
- return "<...>";
120
- }
121
- }
122
- function o() {
123
- var f = ne.A;
124
- return f === null ? null : f.getOwner();
125
- }
126
- function i() {
127
- return Error("react-stack-top-frame");
128
- }
129
- function d(f) {
130
- if (Q.call(f, "key")) {
131
- var w = Object.getOwnPropertyDescriptor(f, "key").get;
132
- if (w && w.isReactWarning) return !1;
133
- }
134
- return f.key !== void 0;
135
- }
136
- function u(f, w) {
137
- function T() {
138
- K || (K = !0, console.error(
139
- "%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
- w
141
- ));
142
- }
143
- T.isReactWarning = !0, Object.defineProperty(f, "key", {
144
- get: T,
145
- configurable: !0
146
- });
147
- }
148
- function c() {
149
- var f = e(this.type);
150
- return B[f] || (B[f] = !0, console.error(
151
- "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
- )), f = this.props.ref, f !== void 0 ? f : null;
153
- }
154
- function a(f, w, T, E, A, F, oe, C) {
155
- return T = F.ref, f = {
156
- $$typeof: m,
157
- type: f,
158
- key: w,
159
- props: F,
160
- _owner: A
161
- }, (T !== void 0 ? T : null) !== null ? Object.defineProperty(f, "ref", {
162
- enumerable: !1,
163
- get: c
164
- }) : Object.defineProperty(f, "ref", { enumerable: !1, value: null }), f._store = {}, Object.defineProperty(f._store, "validated", {
165
- configurable: !1,
166
- enumerable: !1,
167
- writable: !0,
168
- value: 0
169
- }), Object.defineProperty(f, "_debugInfo", {
170
- configurable: !1,
171
- enumerable: !1,
172
- writable: !0,
173
- value: null
174
- }), Object.defineProperty(f, "_debugStack", {
175
- configurable: !1,
176
- enumerable: !1,
177
- writable: !0,
178
- value: oe
179
- }), Object.defineProperty(f, "_debugTask", {
180
- configurable: !1,
181
- enumerable: !1,
182
- writable: !0,
183
- value: C
184
- }), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
185
- }
186
- function p(f, w, T, E, A, F, oe, C) {
187
- var M = w.children;
188
- if (M !== void 0)
189
- if (E)
190
- if (ge(M)) {
191
- for (E = 0; E < M.length; E++)
192
- l(M[E]);
193
- Object.freeze && Object.freeze(M);
194
- } else
195
- console.error(
196
- "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
- );
198
- else l(M);
199
- if (Q.call(w, "key")) {
200
- M = e(f);
201
- var W = Object.keys(w).filter(function(ce) {
202
- return ce !== "key";
203
- });
204
- E = 0 < W.length ? "{key: someKey, " + W.join(": ..., ") + ": ...}" : "{key: someKey}", le[M + E] || (W = 0 < W.length ? "{" + W.join(": ..., ") + ": ...}" : "{}", console.error(
205
- `A props object containing a "key" prop is being spread into JSX:
206
- let props = %s;
207
- <%s {...props} />
208
- React keys must be passed directly to JSX without using spread:
209
- let props = %s;
210
- <%s key={someKey} {...props} />`,
211
- E,
212
- M,
213
- W,
214
- M
215
- ), le[M + E] = !0);
216
- }
217
- if (M = null, T !== void 0 && (r(T), M = "" + T), d(w) && (r(w.key), M = "" + w.key), "key" in w) {
218
- T = {};
219
- for (var J in w)
220
- J !== "key" && (T[J] = w[J]);
221
- } else T = w;
222
- return M && u(
223
- T,
224
- typeof f == "function" ? f.displayName || f.name || "Unknown" : f
225
- ), a(
226
- f,
227
- M,
228
- F,
229
- A,
230
- o(),
231
- T,
232
- oe,
233
- C
234
- );
235
- }
236
- function l(f) {
237
- typeof f == "object" && f !== null && f.$$typeof === m && f._store && (f._store.validated = 1);
238
- }
239
- var s = O, m = Symbol.for("react.transitional.element"), y = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), k = Symbol.for("react.strict_mode"), N = Symbol.for("react.profiler"), $ = Symbol.for("react.consumer"), P = Symbol.for("react.context"), V = Symbol.for("react.forward_ref"), U = Symbol.for("react.suspense"), z = Symbol.for("react.suspense_list"), q = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), H = Symbol.for("react.activity"), pe = Symbol.for("react.client.reference"), ne = s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Q = Object.prototype.hasOwnProperty, ge = Array.isArray, ee = console.createTask ? console.createTask : function() {
240
- return null;
241
- };
242
- s = {
243
- react_stack_bottom_frame: function(f) {
244
- return f();
245
- }
246
- };
247
- var K, B = {}, Y = s.react_stack_bottom_frame.bind(
248
- s,
249
- i
250
- )(), h = ee(n(i)), le = {};
251
- ue.Fragment = v, ue.jsx = function(f, w, T, E, A) {
252
- var F = 1e4 > ne.recentlyCreatedOwnerStacks++;
253
- return p(
254
- f,
255
- w,
256
- T,
257
- !1,
258
- E,
259
- A,
260
- F ? Error("react-stack-top-frame") : Y,
261
- F ? ee(n(f)) : h
262
- );
263
- }, ue.jsxs = function(f, w, T, E, A) {
264
- var F = 1e4 > ne.recentlyCreatedOwnerStacks++;
265
- return p(
266
- f,
267
- w,
268
- T,
269
- !0,
270
- E,
271
- A,
272
- F ? Error("react-stack-top-frame") : Y,
273
- F ? ee(n(f)) : h
274
- );
275
- };
276
- })()), ue;
277
- }
278
- var $e;
279
- function jr() {
280
- return $e || ($e = 1, process.env.NODE_ENV === "production" ? ye.exports = Ir() : ye.exports = Dr()), ye.exports;
281
- }
282
- var R = jr();
283
- function Vr(e, t = []) {
284
- let r = [];
285
- function n(i, d) {
286
- const u = S.createContext(d), c = r.length;
287
- r = [...r, d];
288
- const a = (l) => {
289
- const { scope: s, children: m, ...y } = l, v = s?.[e]?.[c] || u, k = S.useMemo(() => y, Object.values(y));
290
- return /* @__PURE__ */ R.jsx(v.Provider, { value: k, children: m });
291
- };
292
- a.displayName = i + "Provider";
293
- function p(l, s) {
294
- const m = s?.[e]?.[c] || u, y = S.useContext(m);
295
- if (y) return y;
296
- if (d !== void 0) return d;
297
- throw new Error(`\`${l}\` must be used within \`${i}\``);
298
- }
299
- return [a, p];
300
- }
301
- const o = () => {
302
- const i = r.map((d) => S.createContext(d));
303
- return function(u) {
304
- const c = u?.[e] || i;
305
- return S.useMemo(
306
- () => ({ [`__scope${e}`]: { ...u, [e]: c } }),
307
- [u, c]
308
- );
309
- };
310
- };
311
- return o.scopeName = e, [n, Fr(o, ...t)];
312
- }
313
- function Fr(...e) {
314
- const t = e[0];
315
- if (e.length === 1) return t;
316
- const r = () => {
317
- const n = e.map((o) => ({
318
- useScope: o(),
319
- scopeName: o.scopeName
320
- }));
321
- return function(i) {
322
- const d = n.reduce((u, { useScope: c, scopeName: a }) => {
323
- const l = c(i)[`__scope${a}`];
324
- return { ...u, ...l };
325
- }, {});
326
- return S.useMemo(() => ({ [`__scope${t.scopeName}`]: d }), [d]);
327
- };
328
- };
329
- return r.scopeName = t.scopeName, r;
330
- }
331
- function zr(e) {
332
- const t = S.useRef(e);
333
- return S.useEffect(() => {
334
- t.current = e;
335
- }), S.useMemo(() => (...r) => t.current?.(...r), []);
336
- }
337
- var Ce = globalThis?.document ? S.useLayoutEffect : () => {
338
- }, ve = { exports: {} }, I = {};
339
- /**
340
- * @license React
341
- * react-dom.production.js
342
- *
343
- * Copyright (c) Meta Platforms, Inc. and affiliates.
344
- *
345
- * This source code is licensed under the MIT license found in the
346
- * LICENSE file in the root directory of this source tree.
347
- */
348
- var Ue;
349
- function Gr() {
350
- if (Ue) return I;
351
- Ue = 1;
352
- var e = O;
353
- function t(c) {
354
- var a = "https://react.dev/errors/" + c;
355
- if (1 < arguments.length) {
356
- a += "?args[]=" + encodeURIComponent(arguments[1]);
357
- for (var p = 2; p < arguments.length; p++)
358
- a += "&args[]=" + encodeURIComponent(arguments[p]);
359
- }
360
- return "Minified React error #" + c + "; visit " + a + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
361
- }
362
- function r() {
363
- }
364
- var n = {
365
- d: {
366
- f: r,
367
- r: function() {
368
- throw Error(t(522));
369
- },
370
- D: r,
371
- C: r,
372
- L: r,
373
- m: r,
374
- X: r,
375
- S: r,
376
- M: r
377
- },
378
- p: 0,
379
- findDOMNode: null
380
- }, o = Symbol.for("react.portal");
381
- function i(c, a, p) {
382
- var l = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
383
- return {
384
- $$typeof: o,
385
- key: l == null ? null : "" + l,
386
- children: c,
387
- containerInfo: a,
388
- implementation: p
389
- };
390
- }
391
- var d = e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
392
- function u(c, a) {
393
- if (c === "font") return "";
394
- if (typeof a == "string")
395
- return a === "use-credentials" ? a : "";
396
- }
397
- return I.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = n, I.createPortal = function(c, a) {
398
- var p = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
399
- if (!a || a.nodeType !== 1 && a.nodeType !== 9 && a.nodeType !== 11)
400
- throw Error(t(299));
401
- return i(c, a, null, p);
402
- }, I.flushSync = function(c) {
403
- var a = d.T, p = n.p;
404
- try {
405
- if (d.T = null, n.p = 2, c) return c();
406
- } finally {
407
- d.T = a, n.p = p, n.d.f();
408
- }
409
- }, I.preconnect = function(c, a) {
410
- typeof c == "string" && (a ? (a = a.crossOrigin, a = typeof a == "string" ? a === "use-credentials" ? a : "" : void 0) : a = null, n.d.C(c, a));
411
- }, I.prefetchDNS = function(c) {
412
- typeof c == "string" && n.d.D(c);
413
- }, I.preinit = function(c, a) {
414
- if (typeof c == "string" && a && typeof a.as == "string") {
415
- var p = a.as, l = u(p, a.crossOrigin), s = typeof a.integrity == "string" ? a.integrity : void 0, m = typeof a.fetchPriority == "string" ? a.fetchPriority : void 0;
416
- p === "style" ? n.d.S(
417
- c,
418
- typeof a.precedence == "string" ? a.precedence : void 0,
419
- {
420
- crossOrigin: l,
421
- integrity: s,
422
- fetchPriority: m
423
- }
424
- ) : p === "script" && n.d.X(c, {
425
- crossOrigin: l,
426
- integrity: s,
427
- fetchPriority: m,
428
- nonce: typeof a.nonce == "string" ? a.nonce : void 0
429
- });
430
- }
431
- }, I.preinitModule = function(c, a) {
432
- if (typeof c == "string")
433
- if (typeof a == "object" && a !== null) {
434
- if (a.as == null || a.as === "script") {
435
- var p = u(
436
- a.as,
437
- a.crossOrigin
438
- );
439
- n.d.M(c, {
440
- crossOrigin: p,
441
- integrity: typeof a.integrity == "string" ? a.integrity : void 0,
442
- nonce: typeof a.nonce == "string" ? a.nonce : void 0
443
- });
444
- }
445
- } else a == null && n.d.M(c);
446
- }, I.preload = function(c, a) {
447
- if (typeof c == "string" && typeof a == "object" && a !== null && typeof a.as == "string") {
448
- var p = a.as, l = u(p, a.crossOrigin);
449
- n.d.L(c, p, {
450
- crossOrigin: l,
451
- integrity: typeof a.integrity == "string" ? a.integrity : void 0,
452
- nonce: typeof a.nonce == "string" ? a.nonce : void 0,
453
- type: typeof a.type == "string" ? a.type : void 0,
454
- fetchPriority: typeof a.fetchPriority == "string" ? a.fetchPriority : void 0,
455
- referrerPolicy: typeof a.referrerPolicy == "string" ? a.referrerPolicy : void 0,
456
- imageSrcSet: typeof a.imageSrcSet == "string" ? a.imageSrcSet : void 0,
457
- imageSizes: typeof a.imageSizes == "string" ? a.imageSizes : void 0,
458
- media: typeof a.media == "string" ? a.media : void 0
459
- });
460
- }
461
- }, I.preloadModule = function(c, a) {
462
- if (typeof c == "string")
463
- if (a) {
464
- var p = u(a.as, a.crossOrigin);
465
- n.d.m(c, {
466
- as: typeof a.as == "string" && a.as !== "script" ? a.as : void 0,
467
- crossOrigin: p,
468
- integrity: typeof a.integrity == "string" ? a.integrity : void 0
469
- });
470
- } else n.d.m(c);
471
- }, I.requestFormReset = function(c) {
472
- n.d.r(c);
473
- }, I.unstable_batchedUpdates = function(c, a) {
474
- return c(a);
475
- }, I.useFormState = function(c, a, p) {
476
- return d.H.useFormState(c, a, p);
477
- }, I.useFormStatus = function() {
478
- return d.H.useHostTransitionStatus();
479
- }, I.version = "19.1.1", I;
480
- }
481
- var D = {};
482
- /**
483
- * @license React
484
- * react-dom.development.js
485
- *
486
- * Copyright (c) Meta Platforms, Inc. and affiliates.
487
- *
488
- * This source code is licensed under the MIT license found in the
489
- * LICENSE file in the root directory of this source tree.
490
- */
491
- var Be;
492
- function $r() {
493
- return Be || (Be = 1, process.env.NODE_ENV !== "production" && (function() {
494
- function e() {
495
- }
496
- function t(l) {
497
- return "" + l;
498
- }
499
- function r(l, s, m) {
500
- var y = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
501
- try {
502
- t(y);
503
- var v = !1;
504
- } catch {
505
- v = !0;
506
- }
507
- return v && (console.error(
508
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
509
- typeof Symbol == "function" && Symbol.toStringTag && y[Symbol.toStringTag] || y.constructor.name || "Object"
510
- ), t(y)), {
511
- $$typeof: a,
512
- key: y == null ? null : "" + y,
513
- children: l,
514
- containerInfo: s,
515
- implementation: m
516
- };
517
- }
518
- function n(l, s) {
519
- if (l === "font") return "";
520
- if (typeof s == "string")
521
- return s === "use-credentials" ? s : "";
522
- }
523
- function o(l) {
524
- return l === null ? "`null`" : l === void 0 ? "`undefined`" : l === "" ? "an empty string" : 'something with type "' + typeof l + '"';
525
- }
526
- function i(l) {
527
- return l === null ? "`null`" : l === void 0 ? "`undefined`" : l === "" ? "an empty string" : typeof l == "string" ? JSON.stringify(l) : typeof l == "number" ? "`" + l + "`" : 'something with type "' + typeof l + '"';
528
- }
529
- function d() {
530
- var l = p.H;
531
- return l === null && console.error(
532
- `Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
533
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
534
- 2. You might be breaking the Rules of Hooks
535
- 3. You might have more than one copy of React in the same app
536
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
537
- ), l;
538
- }
539
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
540
- var u = O, c = {
541
- d: {
542
- f: e,
543
- r: function() {
544
- throw Error(
545
- "Invalid form element. requestFormReset must be passed a form that was rendered by React."
546
- );
547
- },
548
- D: e,
549
- C: e,
550
- L: e,
551
- m: e,
552
- X: e,
553
- S: e,
554
- M: e
555
- },
556
- p: 0,
557
- findDOMNode: null
558
- }, a = Symbol.for("react.portal"), p = u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
559
- typeof Map == "function" && Map.prototype != null && typeof Map.prototype.forEach == "function" && typeof Set == "function" && Set.prototype != null && typeof Set.prototype.clear == "function" && typeof Set.prototype.forEach == "function" || console.error(
560
- "React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
561
- ), D.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = c, D.createPortal = function(l, s) {
562
- var m = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
563
- if (!s || s.nodeType !== 1 && s.nodeType !== 9 && s.nodeType !== 11)
564
- throw Error("Target container is not a DOM element.");
565
- return r(l, s, null, m);
566
- }, D.flushSync = function(l) {
567
- var s = p.T, m = c.p;
568
- try {
569
- if (p.T = null, c.p = 2, l)
570
- return l();
571
- } finally {
572
- p.T = s, c.p = m, c.d.f() && console.error(
573
- "flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."
574
- );
575
- }
576
- }, D.preconnect = function(l, s) {
577
- typeof l == "string" && l ? s != null && typeof s != "object" ? console.error(
578
- "ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",
579
- i(s)
580
- ) : s != null && typeof s.crossOrigin != "string" && console.error(
581
- "ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",
582
- o(s.crossOrigin)
583
- ) : console.error(
584
- "ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
585
- o(l)
586
- ), typeof l == "string" && (s ? (s = s.crossOrigin, s = typeof s == "string" ? s === "use-credentials" ? s : "" : void 0) : s = null, c.d.C(l, s));
587
- }, D.prefetchDNS = function(l) {
588
- if (typeof l != "string" || !l)
589
- console.error(
590
- "ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
591
- o(l)
592
- );
593
- else if (1 < arguments.length) {
594
- var s = arguments[1];
595
- typeof s == "object" && s.hasOwnProperty("crossOrigin") ? console.error(
596
- "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
597
- i(s)
598
- ) : console.error(
599
- "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
600
- i(s)
601
- );
602
- }
603
- typeof l == "string" && c.d.D(l);
604
- }, D.preinit = function(l, s) {
605
- if (typeof l == "string" && l ? s == null || typeof s != "object" ? console.error(
606
- "ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",
607
- i(s)
608
- ) : s.as !== "style" && s.as !== "script" && console.error(
609
- 'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',
610
- i(s.as)
611
- ) : console.error(
612
- "ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
613
- o(l)
614
- ), typeof l == "string" && s && typeof s.as == "string") {
615
- var m = s.as, y = n(m, s.crossOrigin), v = typeof s.integrity == "string" ? s.integrity : void 0, k = typeof s.fetchPriority == "string" ? s.fetchPriority : void 0;
616
- m === "style" ? c.d.S(
617
- l,
618
- typeof s.precedence == "string" ? s.precedence : void 0,
619
- {
620
- crossOrigin: y,
621
- integrity: v,
622
- fetchPriority: k
623
- }
624
- ) : m === "script" && c.d.X(l, {
625
- crossOrigin: y,
626
- integrity: v,
627
- fetchPriority: k,
628
- nonce: typeof s.nonce == "string" ? s.nonce : void 0
629
- });
630
- }
631
- }, D.preinitModule = function(l, s) {
632
- var m = "";
633
- if (typeof l == "string" && l || (m += " The `href` argument encountered was " + o(l) + "."), s !== void 0 && typeof s != "object" ? m += " The `options` argument encountered was " + o(s) + "." : s && "as" in s && s.as !== "script" && (m += " The `as` option encountered was " + i(s.as) + "."), m)
634
- console.error(
635
- "ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",
636
- m
637
- );
638
- else
639
- switch (m = s && typeof s.as == "string" ? s.as : "script", m) {
640
- case "script":
641
- break;
642
- default:
643
- m = i(m), console.error(
644
- 'ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',
645
- m,
646
- l
647
- );
648
- }
649
- typeof l == "string" && (typeof s == "object" && s !== null ? (s.as == null || s.as === "script") && (m = n(
650
- s.as,
651
- s.crossOrigin
652
- ), c.d.M(l, {
653
- crossOrigin: m,
654
- integrity: typeof s.integrity == "string" ? s.integrity : void 0,
655
- nonce: typeof s.nonce == "string" ? s.nonce : void 0
656
- })) : s == null && c.d.M(l));
657
- }, D.preload = function(l, s) {
658
- var m = "";
659
- if (typeof l == "string" && l || (m += " The `href` argument encountered was " + o(l) + "."), s == null || typeof s != "object" ? m += " The `options` argument encountered was " + o(s) + "." : typeof s.as == "string" && s.as || (m += " The `as` option encountered was " + o(s.as) + "."), m && console.error(
660
- 'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',
661
- m
662
- ), typeof l == "string" && typeof s == "object" && s !== null && typeof s.as == "string") {
663
- m = s.as;
664
- var y = n(
665
- m,
666
- s.crossOrigin
667
- );
668
- c.d.L(l, m, {
669
- crossOrigin: y,
670
- integrity: typeof s.integrity == "string" ? s.integrity : void 0,
671
- nonce: typeof s.nonce == "string" ? s.nonce : void 0,
672
- type: typeof s.type == "string" ? s.type : void 0,
673
- fetchPriority: typeof s.fetchPriority == "string" ? s.fetchPriority : void 0,
674
- referrerPolicy: typeof s.referrerPolicy == "string" ? s.referrerPolicy : void 0,
675
- imageSrcSet: typeof s.imageSrcSet == "string" ? s.imageSrcSet : void 0,
676
- imageSizes: typeof s.imageSizes == "string" ? s.imageSizes : void 0,
677
- media: typeof s.media == "string" ? s.media : void 0
678
- });
679
- }
680
- }, D.preloadModule = function(l, s) {
681
- var m = "";
682
- typeof l == "string" && l || (m += " The `href` argument encountered was " + o(l) + "."), s !== void 0 && typeof s != "object" ? m += " The `options` argument encountered was " + o(s) + "." : s && "as" in s && typeof s.as != "string" && (m += " The `as` option encountered was " + o(s.as) + "."), m && console.error(
683
- 'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',
684
- m
685
- ), typeof l == "string" && (s ? (m = n(
686
- s.as,
687
- s.crossOrigin
688
- ), c.d.m(l, {
689
- as: typeof s.as == "string" && s.as !== "script" ? s.as : void 0,
690
- crossOrigin: m,
691
- integrity: typeof s.integrity == "string" ? s.integrity : void 0
692
- })) : c.d.m(l));
693
- }, D.requestFormReset = function(l) {
694
- c.d.r(l);
695
- }, D.unstable_batchedUpdates = function(l, s) {
696
- return l(s);
697
- }, D.useFormState = function(l, s, m) {
698
- return d().useFormState(l, s, m);
699
- }, D.useFormStatus = function() {
700
- return d().useHostTransitionStatus();
701
- }, D.version = "19.1.1", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
702
- })()), D;
703
- }
704
- var He;
705
- function Ur() {
706
- if (He) return ve.exports;
707
- He = 1;
708
- function e() {
709
- if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) {
710
- if (process.env.NODE_ENV !== "production")
711
- throw new Error("^_^");
712
- try {
713
- __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e);
714
- } catch (t) {
715
- console.error(t);
716
- }
717
- }
718
- }
719
- return process.env.NODE_ENV === "production" ? (e(), ve.exports = Gr()) : ve.exports = $r(), ve.exports;
720
- }
721
- Ur();
722
- function We(e, t) {
723
- if (typeof e == "function")
724
- return e(t);
725
- e != null && (e.current = t);
726
- }
727
- function Br(...e) {
728
- return (t) => {
729
- let r = !1;
730
- const n = e.map((o) => {
731
- const i = We(o, t);
732
- return !r && typeof i == "function" && (r = !0), i;
733
- });
734
- if (r)
735
- return () => {
736
- for (let o = 0; o < n.length; o++) {
737
- const i = n[o];
738
- typeof i == "function" ? i() : We(e[o], null);
739
- }
740
- };
741
- };
742
- }
743
- // @__NO_SIDE_EFFECTS__
744
- function ir(e) {
745
- const t = /* @__PURE__ */ Hr(e), r = S.forwardRef((n, o) => {
746
- const { children: i, ...d } = n, u = S.Children.toArray(i), c = u.find(Yr);
747
- if (c) {
748
- const a = c.props.children, p = u.map((l) => l === c ? S.Children.count(a) > 1 ? S.Children.only(null) : S.isValidElement(a) ? a.props.children : null : l);
749
- return /* @__PURE__ */ R.jsx(t, { ...d, ref: o, children: S.isValidElement(a) ? S.cloneElement(a, void 0, p) : null });
750
- }
751
- return /* @__PURE__ */ R.jsx(t, { ...d, ref: o, children: i });
752
- });
753
- return r.displayName = `${e}.Slot`, r;
754
- }
755
- var Ie = /* @__PURE__ */ ir("Slot");
756
- // @__NO_SIDE_EFFECTS__
757
- function Hr(e) {
758
- const t = S.forwardRef((r, n) => {
759
- const { children: o, ...i } = r;
760
- if (S.isValidElement(o)) {
761
- const d = Kr(o), u = qr(i, o.props);
762
- return o.type !== S.Fragment && (u.ref = n ? Br(n, d) : d), S.cloneElement(o, u);
763
- }
764
- return S.Children.count(o) > 1 ? S.Children.only(null) : null;
765
- });
766
- return t.displayName = `${e}.SlotClone`, t;
767
- }
768
- var Wr = Symbol("radix.slottable");
769
- function Yr(e) {
770
- return S.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Wr;
771
- }
772
- function qr(e, t) {
773
- const r = { ...t };
774
- for (const n in t) {
775
- const o = e[n], i = t[n];
776
- /^on[A-Z]/.test(n) ? o && i ? r[n] = (...u) => {
777
- const c = i(...u);
778
- return o(...u), c;
779
- } : o && (r[n] = o) : n === "style" ? r[n] = { ...o, ...i } : n === "className" && (r[n] = [o, i].filter(Boolean).join(" "));
780
- }
781
- return { ...e, ...r };
782
- }
783
- function Kr(e) {
784
- let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
785
- return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
786
- }
787
- var Xr = [
788
- "a",
789
- "button",
790
- "div",
791
- "form",
792
- "h2",
793
- "h3",
794
- "img",
795
- "input",
796
- "label",
797
- "li",
798
- "nav",
799
- "ol",
800
- "p",
801
- "select",
802
- "span",
803
- "svg",
804
- "ul"
805
- ], _e = Xr.reduce((e, t) => {
806
- const r = /* @__PURE__ */ ir(`Primitive.${t}`), n = S.forwardRef((o, i) => {
807
- const { asChild: d, ...u } = o, c = d ? r : t;
808
- return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ R.jsx(c, { ...u, ref: i });
809
- });
810
- return n.displayName = `Primitive.${t}`, { ...e, [t]: n };
811
- }, {}), he = { exports: {} }, Ee = {};
812
- /**
813
- * @license React
814
- * use-sync-external-store-shim.production.js
815
- *
816
- * Copyright (c) Meta Platforms, Inc. and affiliates.
817
- *
818
- * This source code is licensed under the MIT license found in the
819
- * LICENSE file in the root directory of this source tree.
820
- */
821
- var Ye;
822
- function Jr() {
823
- if (Ye) return Ee;
824
- Ye = 1;
825
- var e = O;
826
- function t(l, s) {
827
- return l === s && (l !== 0 || 1 / l === 1 / s) || l !== l && s !== s;
828
- }
829
- var r = typeof Object.is == "function" ? Object.is : t, n = e.useState, o = e.useEffect, i = e.useLayoutEffect, d = e.useDebugValue;
830
- function u(l, s) {
831
- var m = s(), y = n({ inst: { value: m, getSnapshot: s } }), v = y[0].inst, k = y[1];
832
- return i(
833
- function() {
834
- v.value = m, v.getSnapshot = s, c(v) && k({ inst: v });
835
- },
836
- [l, m, s]
837
- ), o(
838
- function() {
839
- return c(v) && k({ inst: v }), l(function() {
840
- c(v) && k({ inst: v });
841
- });
842
- },
843
- [l]
844
- ), d(m), m;
845
- }
846
- function c(l) {
847
- var s = l.getSnapshot;
848
- l = l.value;
849
- try {
850
- var m = s();
851
- return !r(l, m);
852
- } catch {
853
- return !0;
854
- }
855
- }
856
- function a(l, s) {
857
- return s();
858
- }
859
- var p = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? a : u;
860
- return Ee.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : p, Ee;
861
- }
862
- var Oe = {};
863
- /**
864
- * @license React
865
- * use-sync-external-store-shim.development.js
866
- *
867
- * Copyright (c) Meta Platforms, Inc. and affiliates.
868
- *
869
- * This source code is licensed under the MIT license found in the
870
- * LICENSE file in the root directory of this source tree.
871
- */
872
- var qe;
873
- function Zr() {
874
- return qe || (qe = 1, process.env.NODE_ENV !== "production" && (function() {
875
- function e(m, y) {
876
- return m === y && (m !== 0 || 1 / m === 1 / y) || m !== m && y !== y;
877
- }
878
- function t(m, y) {
879
- p || o.startTransition === void 0 || (p = !0, console.error(
880
- "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
881
- ));
882
- var v = y();
883
- if (!l) {
884
- var k = y();
885
- i(v, k) || (console.error(
886
- "The result of getSnapshot should be cached to avoid an infinite loop"
887
- ), l = !0);
888
- }
889
- k = d({
890
- inst: { value: v, getSnapshot: y }
891
- });
892
- var N = k[0].inst, $ = k[1];
893
- return c(
894
- function() {
895
- N.value = v, N.getSnapshot = y, r(N) && $({ inst: N });
896
- },
897
- [m, v, y]
898
- ), u(
899
- function() {
900
- return r(N) && $({ inst: N }), m(function() {
901
- r(N) && $({ inst: N });
902
- });
903
- },
904
- [m]
905
- ), a(v), v;
906
- }
907
- function r(m) {
908
- var y = m.getSnapshot;
909
- m = m.value;
910
- try {
911
- var v = y();
912
- return !i(m, v);
913
- } catch {
914
- return !0;
915
- }
916
- }
917
- function n(m, y) {
918
- return y();
919
- }
920
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
921
- var o = O, i = typeof Object.is == "function" ? Object.is : e, d = o.useState, u = o.useEffect, c = o.useLayoutEffect, a = o.useDebugValue, p = !1, l = !1, s = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? n : t;
922
- Oe.useSyncExternalStore = o.useSyncExternalStore !== void 0 ? o.useSyncExternalStore : s, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
923
- })()), Oe;
924
- }
925
- var Ke;
926
- function Qr() {
927
- return Ke || (Ke = 1, process.env.NODE_ENV === "production" ? he.exports = Jr() : he.exports = Zr()), he.exports;
928
- }
929
- var et = Qr();
930
- function rt() {
931
- return et.useSyncExternalStore(
932
- tt,
933
- () => !0,
934
- () => !1
935
- );
936
- }
937
- function tt() {
938
- return () => {
939
- };
940
- }
941
- var De = "Avatar", [nt, dn] = Vr(De), [ot, lr] = nt(De), cr = S.forwardRef(
942
- (e, t) => {
943
- const { __scopeAvatar: r, ...n } = e, [o, i] = S.useState("idle");
944
- return /* @__PURE__ */ R.jsx(
945
- ot,
946
- {
947
- scope: r,
948
- imageLoadingStatus: o,
949
- onImageLoadingStatusChange: i,
950
- children: /* @__PURE__ */ R.jsx(_e.span, { ...n, ref: t })
951
- }
952
- );
953
- }
954
- );
955
- cr.displayName = De;
956
- var dr = "AvatarImage", st = S.forwardRef(
957
- (e, t) => {
958
- const { __scopeAvatar: r, src: n, onLoadingStatusChange: o = () => {
959
- }, ...i } = e, d = lr(dr, r), u = it(n, i), c = zr((a) => {
960
- o(a), d.onImageLoadingStatusChange(a);
961
- });
962
- return Ce(() => {
963
- u !== "idle" && c(u);
964
- }, [u, c]), u === "loaded" ? /* @__PURE__ */ R.jsx(_e.img, { ...i, ref: t, src: n }) : null;
965
- }
966
- );
967
- st.displayName = dr;
968
- var ur = "AvatarFallback", at = S.forwardRef(
969
- (e, t) => {
970
- const { __scopeAvatar: r, delayMs: n, ...o } = e, i = lr(ur, r), [d, u] = S.useState(n === void 0);
971
- return S.useEffect(() => {
972
- if (n !== void 0) {
973
- const c = window.setTimeout(() => u(!0), n);
974
- return () => window.clearTimeout(c);
975
- }
976
- }, [n]), d && i.imageLoadingStatus !== "loaded" ? /* @__PURE__ */ R.jsx(_e.span, { ...o, ref: t }) : null;
977
- }
978
- );
979
- at.displayName = ur;
980
- function Xe(e, t) {
981
- return e ? t ? (e.src !== t && (e.src = t), e.complete && e.naturalWidth > 0 ? "loaded" : "loading") : "error" : "idle";
982
- }
983
- function it(e, { referrerPolicy: t, crossOrigin: r }) {
984
- const n = rt(), o = S.useRef(null), i = n ? (o.current || (o.current = new window.Image()), o.current) : null, [d, u] = S.useState(
985
- () => Xe(i, e)
986
- );
987
- return Ce(() => {
988
- u(Xe(i, e));
989
- }, [i, e]), Ce(() => {
990
- const c = (l) => () => {
991
- u(l);
992
- };
993
- if (!i) return;
994
- const a = c("loaded"), p = c("error");
995
- return i.addEventListener("load", a), i.addEventListener("error", p), t && (i.referrerPolicy = t), typeof r == "string" && (i.crossOrigin = r), () => {
996
- i.removeEventListener("load", a), i.removeEventListener("error", p);
997
- };
998
- }, [i, r, t]), d;
999
- }
1000
- var lt = cr;
1001
- function fr(e) {
1002
- var t, r, n = "";
1003
- if (typeof e == "string" || typeof e == "number") n += e;
1004
- else if (typeof e == "object") if (Array.isArray(e)) {
1005
- var o = e.length;
1006
- for (t = 0; t < o; t++) e[t] && (r = fr(e[t])) && (n && (n += " "), n += r);
1007
- } else for (r in e) e[r] && (n && (n += " "), n += r);
1008
- return n;
1009
- }
1010
- function mr() {
1011
- for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t = fr(e)) && (n && (n += " "), n += t);
1012
- return n;
1013
- }
1014
- const je = "-", ct = (e) => {
1015
- const t = ut(e), {
1016
- conflictingClassGroups: r,
1017
- conflictingClassGroupModifiers: n
1018
- } = e;
1019
- return {
1020
- getClassGroupId: (d) => {
1021
- const u = d.split(je);
1022
- return u[0] === "" && u.length !== 1 && u.shift(), pr(u, t) || dt(d);
1023
- },
1024
- getConflictingClassGroupIds: (d, u) => {
1025
- const c = r[d] || [];
1026
- return u && n[d] ? [...c, ...n[d]] : c;
1027
- }
1028
- };
1029
- }, pr = (e, t) => {
1030
- if (e.length === 0)
1031
- return t.classGroupId;
1032
- const r = e[0], n = t.nextPart.get(r), o = n ? pr(e.slice(1), n) : void 0;
1033
- if (o)
1034
- return o;
1035
- if (t.validators.length === 0)
1036
- return;
1037
- const i = e.join(je);
1038
- return t.validators.find(({
1039
- validator: d
1040
- }) => d(i))?.classGroupId;
1041
- }, Je = /^\[(.+)\]$/, dt = (e) => {
1042
- if (Je.test(e)) {
1043
- const t = Je.exec(e)[1], r = t?.substring(0, t.indexOf(":"));
1044
- if (r)
1045
- return "arbitrary.." + r;
1046
- }
1047
- }, ut = (e) => {
1048
- const {
1049
- theme: t,
1050
- classGroups: r
1051
- } = e, n = {
1052
- nextPart: /* @__PURE__ */ new Map(),
1053
- validators: []
1054
- };
1055
- for (const o in r)
1056
- Ne(r[o], n, o, t);
1057
- return n;
1058
- }, Ne = (e, t, r, n) => {
1059
- e.forEach((o) => {
1060
- if (typeof o == "string") {
1061
- const i = o === "" ? t : Ze(t, o);
1062
- i.classGroupId = r;
1063
- return;
1064
- }
1065
- if (typeof o == "function") {
1066
- if (ft(o)) {
1067
- Ne(o(n), t, r, n);
1068
- return;
1069
- }
1070
- t.validators.push({
1071
- validator: o,
1072
- classGroupId: r
1073
- });
1074
- return;
1075
- }
1076
- Object.entries(o).forEach(([i, d]) => {
1077
- Ne(d, Ze(t, i), r, n);
1078
- });
1079
- });
1080
- }, Ze = (e, t) => {
1081
- let r = e;
1082
- return t.split(je).forEach((n) => {
1083
- r.nextPart.has(n) || r.nextPart.set(n, {
1084
- nextPart: /* @__PURE__ */ new Map(),
1085
- validators: []
1086
- }), r = r.nextPart.get(n);
1087
- }), r;
1088
- }, ft = (e) => e.isThemeGetter, mt = (e) => {
1089
- if (e < 1)
1090
- return {
1091
- get: () => {
1092
- },
1093
- set: () => {
1094
- }
1095
- };
1096
- let t = 0, r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
1097
- const o = (i, d) => {
1098
- r.set(i, d), t++, t > e && (t = 0, n = r, r = /* @__PURE__ */ new Map());
1099
- };
1100
- return {
1101
- get(i) {
1102
- let d = r.get(i);
1103
- if (d !== void 0)
1104
- return d;
1105
- if ((d = n.get(i)) !== void 0)
1106
- return o(i, d), d;
1107
- },
1108
- set(i, d) {
1109
- r.has(i) ? r.set(i, d) : o(i, d);
1110
- }
1111
- };
1112
- }, Pe = "!", Me = ":", pt = Me.length, gt = (e) => {
1113
- const {
1114
- prefix: t,
1115
- experimentalParseClassName: r
1116
- } = e;
1117
- let n = (o) => {
1118
- const i = [];
1119
- let d = 0, u = 0, c = 0, a;
1120
- for (let y = 0; y < o.length; y++) {
1121
- let v = o[y];
1122
- if (d === 0 && u === 0) {
1123
- if (v === Me) {
1124
- i.push(o.slice(c, y)), c = y + pt;
1125
- continue;
1126
- }
1127
- if (v === "/") {
1128
- a = y;
1129
- continue;
1130
- }
1131
- }
1132
- v === "[" ? d++ : v === "]" ? d-- : v === "(" ? u++ : v === ")" && u--;
1133
- }
1134
- const p = i.length === 0 ? o : o.substring(c), l = bt(p), s = l !== p, m = a && a > c ? a - c : void 0;
1135
- return {
1136
- modifiers: i,
1137
- hasImportantModifier: s,
1138
- baseClassName: l,
1139
- maybePostfixModifierPosition: m
1140
- };
1141
- };
1142
- if (t) {
1143
- const o = t + Me, i = n;
1144
- n = (d) => d.startsWith(o) ? i(d.substring(o.length)) : {
1145
- isExternal: !0,
1146
- modifiers: [],
1147
- hasImportantModifier: !1,
1148
- baseClassName: d,
1149
- maybePostfixModifierPosition: void 0
1150
- };
1151
- }
1152
- if (r) {
1153
- const o = n;
1154
- n = (i) => r({
1155
- className: i,
1156
- parseClassName: o
1157
- });
1158
- }
1159
- return n;
1160
- }, bt = (e) => e.endsWith(Pe) ? e.substring(0, e.length - 1) : e.startsWith(Pe) ? e.substring(1) : e, yt = (e) => {
1161
- const t = Object.fromEntries(e.orderSensitiveModifiers.map((n) => [n, !0]));
1162
- return (n) => {
1163
- if (n.length <= 1)
1164
- return n;
1165
- const o = [];
1166
- let i = [];
1167
- return n.forEach((d) => {
1168
- d[0] === "[" || t[d] ? (o.push(...i.sort(), d), i = []) : i.push(d);
1169
- }), o.push(...i.sort()), o;
1170
- };
1171
- }, vt = (e) => ({
1172
- cache: mt(e.cacheSize),
1173
- parseClassName: gt(e),
1174
- sortModifiers: yt(e),
1175
- ...ct(e)
1176
- }), ht = /\s+/, xt = (e, t) => {
1177
- const {
1178
- parseClassName: r,
1179
- getClassGroupId: n,
1180
- getConflictingClassGroupIds: o,
1181
- sortModifiers: i
1182
- } = t, d = [], u = e.trim().split(ht);
1183
- let c = "";
1184
- for (let a = u.length - 1; a >= 0; a -= 1) {
1185
- const p = u[a], {
1186
- isExternal: l,
1187
- modifiers: s,
1188
- hasImportantModifier: m,
1189
- baseClassName: y,
1190
- maybePostfixModifierPosition: v
1191
- } = r(p);
1192
- if (l) {
1193
- c = p + (c.length > 0 ? " " + c : c);
1194
- continue;
1195
- }
1196
- let k = !!v, N = n(k ? y.substring(0, v) : y);
1197
- if (!N) {
1198
- if (!k) {
1199
- c = p + (c.length > 0 ? " " + c : c);
1200
- continue;
1201
- }
1202
- if (N = n(y), !N) {
1203
- c = p + (c.length > 0 ? " " + c : c);
1204
- continue;
1205
- }
1206
- k = !1;
1207
- }
1208
- const $ = i(s).join(":"), P = m ? $ + Pe : $, V = P + N;
1209
- if (d.includes(V))
1210
- continue;
1211
- d.push(V);
1212
- const U = o(N, k);
1213
- for (let z = 0; z < U.length; ++z) {
1214
- const q = U[z];
1215
- d.push(P + q);
1216
- }
1217
- c = p + (c.length > 0 ? " " + c : c);
1218
- }
1219
- return c;
1220
- };
1221
- function wt() {
1222
- let e = 0, t, r, n = "";
1223
- for (; e < arguments.length; )
1224
- (t = arguments[e++]) && (r = gr(t)) && (n && (n += " "), n += r);
1225
- return n;
1226
- }
1227
- const gr = (e) => {
1228
- if (typeof e == "string")
1229
- return e;
1230
- let t, r = "";
1231
- for (let n = 0; n < e.length; n++)
1232
- e[n] && (t = gr(e[n])) && (r && (r += " "), r += t);
1233
- return r;
1234
- };
1235
- function _t(e, ...t) {
1236
- let r, n, o, i = d;
1237
- function d(c) {
1238
- const a = t.reduce((p, l) => l(p), e());
1239
- return r = vt(a), n = r.cache.get, o = r.cache.set, i = u, u(c);
1240
- }
1241
- function u(c) {
1242
- const a = n(c);
1243
- if (a)
1244
- return a;
1245
- const p = xt(c, r);
1246
- return o(c, p), p;
1247
- }
1248
- return function() {
1249
- return i(wt.apply(null, arguments));
1250
- };
1251
- }
1252
- const L = (e) => {
1253
- const t = (r) => r[e] || [];
1254
- return t.isThemeGetter = !0, t;
1255
- }, br = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, yr = /^\((?:(\w[\w-]*):)?(.+)\)$/i, St = /^\d+\/\d+$/, kt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Et = /\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$/, Ot = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Rt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Tt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, se = (e) => St.test(e), _ = (e) => !!e && !Number.isNaN(Number(e)), Z = (e) => !!e && Number.isInteger(Number(e)), Re = (e) => e.endsWith("%") && _(e.slice(0, -1)), X = (e) => kt.test(e), At = () => !0, Ct = (e) => (
1256
- // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
1257
- // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
1258
- // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
1259
- Et.test(e) && !Ot.test(e)
1260
- ), vr = () => !1, Nt = (e) => Rt.test(e), Pt = (e) => Tt.test(e), Mt = (e) => !g(e) && !b(e), Lt = (e) => ae(e, wr, vr), g = (e) => br.test(e), re = (e) => ae(e, _r, Ct), Te = (e) => ae(e, Ft, _), Qe = (e) => ae(e, hr, vr), It = (e) => ae(e, xr, Pt), xe = (e) => ae(e, Sr, Nt), b = (e) => yr.test(e), fe = (e) => ie(e, _r), Dt = (e) => ie(e, zt), er = (e) => ie(e, hr), jt = (e) => ie(e, wr), Vt = (e) => ie(e, xr), we = (e) => ie(e, Sr, !0), ae = (e, t, r) => {
1261
- const n = br.exec(e);
1262
- return n ? n[1] ? t(n[1]) : r(n[2]) : !1;
1263
- }, ie = (e, t, r = !1) => {
1264
- const n = yr.exec(e);
1265
- return n ? n[1] ? t(n[1]) : r : !1;
1266
- }, hr = (e) => e === "position" || e === "percentage", xr = (e) => e === "image" || e === "url", wr = (e) => e === "length" || e === "size" || e === "bg-size", _r = (e) => e === "length", Ft = (e) => e === "number", zt = (e) => e === "family-name", Sr = (e) => e === "shadow", Gt = () => {
1267
- const e = L("color"), t = L("font"), r = L("text"), n = L("font-weight"), o = L("tracking"), i = L("leading"), d = L("breakpoint"), u = L("container"), c = L("spacing"), a = L("radius"), p = L("shadow"), l = L("inset-shadow"), s = L("text-shadow"), m = L("drop-shadow"), y = L("blur"), v = L("perspective"), k = L("aspect"), N = L("ease"), $ = L("animate"), P = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], V = () => [
1268
- "center",
1269
- "top",
1270
- "bottom",
1271
- "left",
1272
- "right",
1273
- "top-left",
1274
- // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
1275
- "left-top",
1276
- "top-right",
1277
- // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
1278
- "right-top",
1279
- "bottom-right",
1280
- // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
1281
- "right-bottom",
1282
- "bottom-left",
1283
- // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
1284
- "left-bottom"
1285
- ], U = () => [...V(), b, g], z = () => ["auto", "hidden", "clip", "visible", "scroll"], q = () => ["auto", "contain", "none"], x = () => [b, g, c], H = () => [se, "full", "auto", ...x()], pe = () => [Z, "none", "subgrid", b, g], ne = () => ["auto", {
1286
- span: ["full", Z, b, g]
1287
- }, Z, b, g], Q = () => [Z, "auto", b, g], ge = () => ["auto", "min", "max", "fr", b, g], ee = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], K = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], B = () => ["auto", ...x()], Y = () => [se, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...x()], h = () => [e, b, g], le = () => [...V(), er, Qe, {
1288
- position: [b, g]
1289
- }], f = () => ["no-repeat", {
1290
- repeat: ["", "x", "y", "space", "round"]
1291
- }], w = () => ["auto", "cover", "contain", jt, Lt, {
1292
- size: [b, g]
1293
- }], T = () => [Re, fe, re], E = () => [
1294
- // Deprecated since Tailwind CSS v4.0.0
1295
- "",
1296
- "none",
1297
- "full",
1298
- a,
1299
- b,
1300
- g
1301
- ], A = () => ["", _, fe, re], F = () => ["solid", "dashed", "dotted", "double"], oe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], C = () => [_, Re, er, Qe], M = () => [
1302
- // Deprecated since Tailwind CSS v4.0.0
1303
- "",
1304
- "none",
1305
- y,
1306
- b,
1307
- g
1308
- ], W = () => ["none", _, b, g], J = () => ["none", _, b, g], ce = () => [_, b, g], be = () => [se, "full", ...x()];
1309
- return {
1310
- cacheSize: 500,
1311
- theme: {
1312
- animate: ["spin", "ping", "pulse", "bounce"],
1313
- aspect: ["video"],
1314
- blur: [X],
1315
- breakpoint: [X],
1316
- color: [At],
1317
- container: [X],
1318
- "drop-shadow": [X],
1319
- ease: ["in", "out", "in-out"],
1320
- font: [Mt],
1321
- "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
1322
- "inset-shadow": [X],
1323
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
1324
- perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
1325
- radius: [X],
1326
- shadow: [X],
1327
- spacing: ["px", _],
1328
- text: [X],
1329
- "text-shadow": [X],
1330
- tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
1331
- },
1332
- classGroups: {
1333
- // --------------
1334
- // --- Layout ---
1335
- // --------------
1336
- /**
1337
- * Aspect Ratio
1338
- * @see https://tailwindcss.com/docs/aspect-ratio
1339
- */
1340
- aspect: [{
1341
- aspect: ["auto", "square", se, g, b, k]
1342
- }],
1343
- /**
1344
- * Container
1345
- * @see https://tailwindcss.com/docs/container
1346
- * @deprecated since Tailwind CSS v4.0.0
1347
- */
1348
- container: ["container"],
1349
- /**
1350
- * Columns
1351
- * @see https://tailwindcss.com/docs/columns
1352
- */
1353
- columns: [{
1354
- columns: [_, g, b, u]
1355
- }],
1356
- /**
1357
- * Break After
1358
- * @see https://tailwindcss.com/docs/break-after
1359
- */
1360
- "break-after": [{
1361
- "break-after": P()
1362
- }],
1363
- /**
1364
- * Break Before
1365
- * @see https://tailwindcss.com/docs/break-before
1366
- */
1367
- "break-before": [{
1368
- "break-before": P()
1369
- }],
1370
- /**
1371
- * Break Inside
1372
- * @see https://tailwindcss.com/docs/break-inside
1373
- */
1374
- "break-inside": [{
1375
- "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
1376
- }],
1377
- /**
1378
- * Box Decoration Break
1379
- * @see https://tailwindcss.com/docs/box-decoration-break
1380
- */
1381
- "box-decoration": [{
1382
- "box-decoration": ["slice", "clone"]
1383
- }],
1384
- /**
1385
- * Box Sizing
1386
- * @see https://tailwindcss.com/docs/box-sizing
1387
- */
1388
- box: [{
1389
- box: ["border", "content"]
1390
- }],
1391
- /**
1392
- * Display
1393
- * @see https://tailwindcss.com/docs/display
1394
- */
1395
- display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
1396
- /**
1397
- * Screen Reader Only
1398
- * @see https://tailwindcss.com/docs/display#screen-reader-only
1399
- */
1400
- sr: ["sr-only", "not-sr-only"],
1401
- /**
1402
- * Floats
1403
- * @see https://tailwindcss.com/docs/float
1404
- */
1405
- float: [{
1406
- float: ["right", "left", "none", "start", "end"]
1407
- }],
1408
- /**
1409
- * Clear
1410
- * @see https://tailwindcss.com/docs/clear
1411
- */
1412
- clear: [{
1413
- clear: ["left", "right", "both", "none", "start", "end"]
1414
- }],
1415
- /**
1416
- * Isolation
1417
- * @see https://tailwindcss.com/docs/isolation
1418
- */
1419
- isolation: ["isolate", "isolation-auto"],
1420
- /**
1421
- * Object Fit
1422
- * @see https://tailwindcss.com/docs/object-fit
1423
- */
1424
- "object-fit": [{
1425
- object: ["contain", "cover", "fill", "none", "scale-down"]
1426
- }],
1427
- /**
1428
- * Object Position
1429
- * @see https://tailwindcss.com/docs/object-position
1430
- */
1431
- "object-position": [{
1432
- object: U()
1433
- }],
1434
- /**
1435
- * Overflow
1436
- * @see https://tailwindcss.com/docs/overflow
1437
- */
1438
- overflow: [{
1439
- overflow: z()
1440
- }],
1441
- /**
1442
- * Overflow X
1443
- * @see https://tailwindcss.com/docs/overflow
1444
- */
1445
- "overflow-x": [{
1446
- "overflow-x": z()
1447
- }],
1448
- /**
1449
- * Overflow Y
1450
- * @see https://tailwindcss.com/docs/overflow
1451
- */
1452
- "overflow-y": [{
1453
- "overflow-y": z()
1454
- }],
1455
- /**
1456
- * Overscroll Behavior
1457
- * @see https://tailwindcss.com/docs/overscroll-behavior
1458
- */
1459
- overscroll: [{
1460
- overscroll: q()
1461
- }],
1462
- /**
1463
- * Overscroll Behavior X
1464
- * @see https://tailwindcss.com/docs/overscroll-behavior
1465
- */
1466
- "overscroll-x": [{
1467
- "overscroll-x": q()
1468
- }],
1469
- /**
1470
- * Overscroll Behavior Y
1471
- * @see https://tailwindcss.com/docs/overscroll-behavior
1472
- */
1473
- "overscroll-y": [{
1474
- "overscroll-y": q()
1475
- }],
1476
- /**
1477
- * Position
1478
- * @see https://tailwindcss.com/docs/position
1479
- */
1480
- position: ["static", "fixed", "absolute", "relative", "sticky"],
1481
- /**
1482
- * Top / Right / Bottom / Left
1483
- * @see https://tailwindcss.com/docs/top-right-bottom-left
1484
- */
1485
- inset: [{
1486
- inset: H()
1487
- }],
1488
- /**
1489
- * Right / Left
1490
- * @see https://tailwindcss.com/docs/top-right-bottom-left
1491
- */
1492
- "inset-x": [{
1493
- "inset-x": H()
1494
- }],
1495
- /**
1496
- * Top / Bottom
1497
- * @see https://tailwindcss.com/docs/top-right-bottom-left
1498
- */
1499
- "inset-y": [{
1500
- "inset-y": H()
1501
- }],
1502
- /**
1503
- * Start
1504
- * @see https://tailwindcss.com/docs/top-right-bottom-left
1505
- */
1506
- start: [{
1507
- start: H()
1508
- }],
1509
- /**
1510
- * End
1511
- * @see https://tailwindcss.com/docs/top-right-bottom-left
1512
- */
1513
- end: [{
1514
- end: H()
1515
- }],
1516
- /**
1517
- * Top
1518
- * @see https://tailwindcss.com/docs/top-right-bottom-left
1519
- */
1520
- top: [{
1521
- top: H()
1522
- }],
1523
- /**
1524
- * Right
1525
- * @see https://tailwindcss.com/docs/top-right-bottom-left
1526
- */
1527
- right: [{
1528
- right: H()
1529
- }],
1530
- /**
1531
- * Bottom
1532
- * @see https://tailwindcss.com/docs/top-right-bottom-left
1533
- */
1534
- bottom: [{
1535
- bottom: H()
1536
- }],
1537
- /**
1538
- * Left
1539
- * @see https://tailwindcss.com/docs/top-right-bottom-left
1540
- */
1541
- left: [{
1542
- left: H()
1543
- }],
1544
- /**
1545
- * Visibility
1546
- * @see https://tailwindcss.com/docs/visibility
1547
- */
1548
- visibility: ["visible", "invisible", "collapse"],
1549
- /**
1550
- * Z-Index
1551
- * @see https://tailwindcss.com/docs/z-index
1552
- */
1553
- z: [{
1554
- z: [Z, "auto", b, g]
1555
- }],
1556
- // ------------------------
1557
- // --- Flexbox and Grid ---
1558
- // ------------------------
1559
- /**
1560
- * Flex Basis
1561
- * @see https://tailwindcss.com/docs/flex-basis
1562
- */
1563
- basis: [{
1564
- basis: [se, "full", "auto", u, ...x()]
1565
- }],
1566
- /**
1567
- * Flex Direction
1568
- * @see https://tailwindcss.com/docs/flex-direction
1569
- */
1570
- "flex-direction": [{
1571
- flex: ["row", "row-reverse", "col", "col-reverse"]
1572
- }],
1573
- /**
1574
- * Flex Wrap
1575
- * @see https://tailwindcss.com/docs/flex-wrap
1576
- */
1577
- "flex-wrap": [{
1578
- flex: ["nowrap", "wrap", "wrap-reverse"]
1579
- }],
1580
- /**
1581
- * Flex
1582
- * @see https://tailwindcss.com/docs/flex
1583
- */
1584
- flex: [{
1585
- flex: [_, se, "auto", "initial", "none", g]
1586
- }],
1587
- /**
1588
- * Flex Grow
1589
- * @see https://tailwindcss.com/docs/flex-grow
1590
- */
1591
- grow: [{
1592
- grow: ["", _, b, g]
1593
- }],
1594
- /**
1595
- * Flex Shrink
1596
- * @see https://tailwindcss.com/docs/flex-shrink
1597
- */
1598
- shrink: [{
1599
- shrink: ["", _, b, g]
1600
- }],
1601
- /**
1602
- * Order
1603
- * @see https://tailwindcss.com/docs/order
1604
- */
1605
- order: [{
1606
- order: [Z, "first", "last", "none", b, g]
1607
- }],
1608
- /**
1609
- * Grid Template Columns
1610
- * @see https://tailwindcss.com/docs/grid-template-columns
1611
- */
1612
- "grid-cols": [{
1613
- "grid-cols": pe()
1614
- }],
1615
- /**
1616
- * Grid Column Start / End
1617
- * @see https://tailwindcss.com/docs/grid-column
1618
- */
1619
- "col-start-end": [{
1620
- col: ne()
1621
- }],
1622
- /**
1623
- * Grid Column Start
1624
- * @see https://tailwindcss.com/docs/grid-column
1625
- */
1626
- "col-start": [{
1627
- "col-start": Q()
1628
- }],
1629
- /**
1630
- * Grid Column End
1631
- * @see https://tailwindcss.com/docs/grid-column
1632
- */
1633
- "col-end": [{
1634
- "col-end": Q()
1635
- }],
1636
- /**
1637
- * Grid Template Rows
1638
- * @see https://tailwindcss.com/docs/grid-template-rows
1639
- */
1640
- "grid-rows": [{
1641
- "grid-rows": pe()
1642
- }],
1643
- /**
1644
- * Grid Row Start / End
1645
- * @see https://tailwindcss.com/docs/grid-row
1646
- */
1647
- "row-start-end": [{
1648
- row: ne()
1649
- }],
1650
- /**
1651
- * Grid Row Start
1652
- * @see https://tailwindcss.com/docs/grid-row
1653
- */
1654
- "row-start": [{
1655
- "row-start": Q()
1656
- }],
1657
- /**
1658
- * Grid Row End
1659
- * @see https://tailwindcss.com/docs/grid-row
1660
- */
1661
- "row-end": [{
1662
- "row-end": Q()
1663
- }],
1664
- /**
1665
- * Grid Auto Flow
1666
- * @see https://tailwindcss.com/docs/grid-auto-flow
1667
- */
1668
- "grid-flow": [{
1669
- "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
1670
- }],
1671
- /**
1672
- * Grid Auto Columns
1673
- * @see https://tailwindcss.com/docs/grid-auto-columns
1674
- */
1675
- "auto-cols": [{
1676
- "auto-cols": ge()
1677
- }],
1678
- /**
1679
- * Grid Auto Rows
1680
- * @see https://tailwindcss.com/docs/grid-auto-rows
1681
- */
1682
- "auto-rows": [{
1683
- "auto-rows": ge()
1684
- }],
1685
- /**
1686
- * Gap
1687
- * @see https://tailwindcss.com/docs/gap
1688
- */
1689
- gap: [{
1690
- gap: x()
1691
- }],
1692
- /**
1693
- * Gap X
1694
- * @see https://tailwindcss.com/docs/gap
1695
- */
1696
- "gap-x": [{
1697
- "gap-x": x()
1698
- }],
1699
- /**
1700
- * Gap Y
1701
- * @see https://tailwindcss.com/docs/gap
1702
- */
1703
- "gap-y": [{
1704
- "gap-y": x()
1705
- }],
1706
- /**
1707
- * Justify Content
1708
- * @see https://tailwindcss.com/docs/justify-content
1709
- */
1710
- "justify-content": [{
1711
- justify: [...ee(), "normal"]
1712
- }],
1713
- /**
1714
- * Justify Items
1715
- * @see https://tailwindcss.com/docs/justify-items
1716
- */
1717
- "justify-items": [{
1718
- "justify-items": [...K(), "normal"]
1719
- }],
1720
- /**
1721
- * Justify Self
1722
- * @see https://tailwindcss.com/docs/justify-self
1723
- */
1724
- "justify-self": [{
1725
- "justify-self": ["auto", ...K()]
1726
- }],
1727
- /**
1728
- * Align Content
1729
- * @see https://tailwindcss.com/docs/align-content
1730
- */
1731
- "align-content": [{
1732
- content: ["normal", ...ee()]
1733
- }],
1734
- /**
1735
- * Align Items
1736
- * @see https://tailwindcss.com/docs/align-items
1737
- */
1738
- "align-items": [{
1739
- items: [...K(), {
1740
- baseline: ["", "last"]
1741
- }]
1742
- }],
1743
- /**
1744
- * Align Self
1745
- * @see https://tailwindcss.com/docs/align-self
1746
- */
1747
- "align-self": [{
1748
- self: ["auto", ...K(), {
1749
- baseline: ["", "last"]
1750
- }]
1751
- }],
1752
- /**
1753
- * Place Content
1754
- * @see https://tailwindcss.com/docs/place-content
1755
- */
1756
- "place-content": [{
1757
- "place-content": ee()
1758
- }],
1759
- /**
1760
- * Place Items
1761
- * @see https://tailwindcss.com/docs/place-items
1762
- */
1763
- "place-items": [{
1764
- "place-items": [...K(), "baseline"]
1765
- }],
1766
- /**
1767
- * Place Self
1768
- * @see https://tailwindcss.com/docs/place-self
1769
- */
1770
- "place-self": [{
1771
- "place-self": ["auto", ...K()]
1772
- }],
1773
- // Spacing
1774
- /**
1775
- * Padding
1776
- * @see https://tailwindcss.com/docs/padding
1777
- */
1778
- p: [{
1779
- p: x()
1780
- }],
1781
- /**
1782
- * Padding X
1783
- * @see https://tailwindcss.com/docs/padding
1784
- */
1785
- px: [{
1786
- px: x()
1787
- }],
1788
- /**
1789
- * Padding Y
1790
- * @see https://tailwindcss.com/docs/padding
1791
- */
1792
- py: [{
1793
- py: x()
1794
- }],
1795
- /**
1796
- * Padding Start
1797
- * @see https://tailwindcss.com/docs/padding
1798
- */
1799
- ps: [{
1800
- ps: x()
1801
- }],
1802
- /**
1803
- * Padding End
1804
- * @see https://tailwindcss.com/docs/padding
1805
- */
1806
- pe: [{
1807
- pe: x()
1808
- }],
1809
- /**
1810
- * Padding Top
1811
- * @see https://tailwindcss.com/docs/padding
1812
- */
1813
- pt: [{
1814
- pt: x()
1815
- }],
1816
- /**
1817
- * Padding Right
1818
- * @see https://tailwindcss.com/docs/padding
1819
- */
1820
- pr: [{
1821
- pr: x()
1822
- }],
1823
- /**
1824
- * Padding Bottom
1825
- * @see https://tailwindcss.com/docs/padding
1826
- */
1827
- pb: [{
1828
- pb: x()
1829
- }],
1830
- /**
1831
- * Padding Left
1832
- * @see https://tailwindcss.com/docs/padding
1833
- */
1834
- pl: [{
1835
- pl: x()
1836
- }],
1837
- /**
1838
- * Margin
1839
- * @see https://tailwindcss.com/docs/margin
1840
- */
1841
- m: [{
1842
- m: B()
1843
- }],
1844
- /**
1845
- * Margin X
1846
- * @see https://tailwindcss.com/docs/margin
1847
- */
1848
- mx: [{
1849
- mx: B()
1850
- }],
1851
- /**
1852
- * Margin Y
1853
- * @see https://tailwindcss.com/docs/margin
1854
- */
1855
- my: [{
1856
- my: B()
1857
- }],
1858
- /**
1859
- * Margin Start
1860
- * @see https://tailwindcss.com/docs/margin
1861
- */
1862
- ms: [{
1863
- ms: B()
1864
- }],
1865
- /**
1866
- * Margin End
1867
- * @see https://tailwindcss.com/docs/margin
1868
- */
1869
- me: [{
1870
- me: B()
1871
- }],
1872
- /**
1873
- * Margin Top
1874
- * @see https://tailwindcss.com/docs/margin
1875
- */
1876
- mt: [{
1877
- mt: B()
1878
- }],
1879
- /**
1880
- * Margin Right
1881
- * @see https://tailwindcss.com/docs/margin
1882
- */
1883
- mr: [{
1884
- mr: B()
1885
- }],
1886
- /**
1887
- * Margin Bottom
1888
- * @see https://tailwindcss.com/docs/margin
1889
- */
1890
- mb: [{
1891
- mb: B()
1892
- }],
1893
- /**
1894
- * Margin Left
1895
- * @see https://tailwindcss.com/docs/margin
1896
- */
1897
- ml: [{
1898
- ml: B()
1899
- }],
1900
- /**
1901
- * Space Between X
1902
- * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1903
- */
1904
- "space-x": [{
1905
- "space-x": x()
1906
- }],
1907
- /**
1908
- * Space Between X Reverse
1909
- * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1910
- */
1911
- "space-x-reverse": ["space-x-reverse"],
1912
- /**
1913
- * Space Between Y
1914
- * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1915
- */
1916
- "space-y": [{
1917
- "space-y": x()
1918
- }],
1919
- /**
1920
- * Space Between Y Reverse
1921
- * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1922
- */
1923
- "space-y-reverse": ["space-y-reverse"],
1924
- // --------------
1925
- // --- Sizing ---
1926
- // --------------
1927
- /**
1928
- * Size
1929
- * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
1930
- */
1931
- size: [{
1932
- size: Y()
1933
- }],
1934
- /**
1935
- * Width
1936
- * @see https://tailwindcss.com/docs/width
1937
- */
1938
- w: [{
1939
- w: [u, "screen", ...Y()]
1940
- }],
1941
- /**
1942
- * Min-Width
1943
- * @see https://tailwindcss.com/docs/min-width
1944
- */
1945
- "min-w": [{
1946
- "min-w": [
1947
- u,
1948
- "screen",
1949
- /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1950
- "none",
1951
- ...Y()
1952
- ]
1953
- }],
1954
- /**
1955
- * Max-Width
1956
- * @see https://tailwindcss.com/docs/max-width
1957
- */
1958
- "max-w": [{
1959
- "max-w": [
1960
- u,
1961
- "screen",
1962
- "none",
1963
- /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1964
- "prose",
1965
- /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1966
- {
1967
- screen: [d]
1968
- },
1969
- ...Y()
1970
- ]
1971
- }],
1972
- /**
1973
- * Height
1974
- * @see https://tailwindcss.com/docs/height
1975
- */
1976
- h: [{
1977
- h: ["screen", "lh", ...Y()]
1978
- }],
1979
- /**
1980
- * Min-Height
1981
- * @see https://tailwindcss.com/docs/min-height
1982
- */
1983
- "min-h": [{
1984
- "min-h": ["screen", "lh", "none", ...Y()]
1985
- }],
1986
- /**
1987
- * Max-Height
1988
- * @see https://tailwindcss.com/docs/max-height
1989
- */
1990
- "max-h": [{
1991
- "max-h": ["screen", "lh", ...Y()]
1992
- }],
1993
- // ------------------
1994
- // --- Typography ---
1995
- // ------------------
1996
- /**
1997
- * Font Size
1998
- * @see https://tailwindcss.com/docs/font-size
1999
- */
2000
- "font-size": [{
2001
- text: ["base", r, fe, re]
2002
- }],
2003
- /**
2004
- * Font Smoothing
2005
- * @see https://tailwindcss.com/docs/font-smoothing
2006
- */
2007
- "font-smoothing": ["antialiased", "subpixel-antialiased"],
2008
- /**
2009
- * Font Style
2010
- * @see https://tailwindcss.com/docs/font-style
2011
- */
2012
- "font-style": ["italic", "not-italic"],
2013
- /**
2014
- * Font Weight
2015
- * @see https://tailwindcss.com/docs/font-weight
2016
- */
2017
- "font-weight": [{
2018
- font: [n, b, Te]
2019
- }],
2020
- /**
2021
- * Font Stretch
2022
- * @see https://tailwindcss.com/docs/font-stretch
2023
- */
2024
- "font-stretch": [{
2025
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Re, g]
2026
- }],
2027
- /**
2028
- * Font Family
2029
- * @see https://tailwindcss.com/docs/font-family
2030
- */
2031
- "font-family": [{
2032
- font: [Dt, g, t]
2033
- }],
2034
- /**
2035
- * Font Variant Numeric
2036
- * @see https://tailwindcss.com/docs/font-variant-numeric
2037
- */
2038
- "fvn-normal": ["normal-nums"],
2039
- /**
2040
- * Font Variant Numeric
2041
- * @see https://tailwindcss.com/docs/font-variant-numeric
2042
- */
2043
- "fvn-ordinal": ["ordinal"],
2044
- /**
2045
- * Font Variant Numeric
2046
- * @see https://tailwindcss.com/docs/font-variant-numeric
2047
- */
2048
- "fvn-slashed-zero": ["slashed-zero"],
2049
- /**
2050
- * Font Variant Numeric
2051
- * @see https://tailwindcss.com/docs/font-variant-numeric
2052
- */
2053
- "fvn-figure": ["lining-nums", "oldstyle-nums"],
2054
- /**
2055
- * Font Variant Numeric
2056
- * @see https://tailwindcss.com/docs/font-variant-numeric
2057
- */
2058
- "fvn-spacing": ["proportional-nums", "tabular-nums"],
2059
- /**
2060
- * Font Variant Numeric
2061
- * @see https://tailwindcss.com/docs/font-variant-numeric
2062
- */
2063
- "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
2064
- /**
2065
- * Letter Spacing
2066
- * @see https://tailwindcss.com/docs/letter-spacing
2067
- */
2068
- tracking: [{
2069
- tracking: [o, b, g]
2070
- }],
2071
- /**
2072
- * Line Clamp
2073
- * @see https://tailwindcss.com/docs/line-clamp
2074
- */
2075
- "line-clamp": [{
2076
- "line-clamp": [_, "none", b, Te]
2077
- }],
2078
- /**
2079
- * Line Height
2080
- * @see https://tailwindcss.com/docs/line-height
2081
- */
2082
- leading: [{
2083
- leading: [
2084
- /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
2085
- i,
2086
- ...x()
2087
- ]
2088
- }],
2089
- /**
2090
- * List Style Image
2091
- * @see https://tailwindcss.com/docs/list-style-image
2092
- */
2093
- "list-image": [{
2094
- "list-image": ["none", b, g]
2095
- }],
2096
- /**
2097
- * List Style Position
2098
- * @see https://tailwindcss.com/docs/list-style-position
2099
- */
2100
- "list-style-position": [{
2101
- list: ["inside", "outside"]
2102
- }],
2103
- /**
2104
- * List Style Type
2105
- * @see https://tailwindcss.com/docs/list-style-type
2106
- */
2107
- "list-style-type": [{
2108
- list: ["disc", "decimal", "none", b, g]
2109
- }],
2110
- /**
2111
- * Text Alignment
2112
- * @see https://tailwindcss.com/docs/text-align
2113
- */
2114
- "text-alignment": [{
2115
- text: ["left", "center", "right", "justify", "start", "end"]
2116
- }],
2117
- /**
2118
- * Placeholder Color
2119
- * @deprecated since Tailwind CSS v3.0.0
2120
- * @see https://v3.tailwindcss.com/docs/placeholder-color
2121
- */
2122
- "placeholder-color": [{
2123
- placeholder: h()
2124
- }],
2125
- /**
2126
- * Text Color
2127
- * @see https://tailwindcss.com/docs/text-color
2128
- */
2129
- "text-color": [{
2130
- text: h()
2131
- }],
2132
- /**
2133
- * Text Decoration
2134
- * @see https://tailwindcss.com/docs/text-decoration
2135
- */
2136
- "text-decoration": ["underline", "overline", "line-through", "no-underline"],
2137
- /**
2138
- * Text Decoration Style
2139
- * @see https://tailwindcss.com/docs/text-decoration-style
2140
- */
2141
- "text-decoration-style": [{
2142
- decoration: [...F(), "wavy"]
2143
- }],
2144
- /**
2145
- * Text Decoration Thickness
2146
- * @see https://tailwindcss.com/docs/text-decoration-thickness
2147
- */
2148
- "text-decoration-thickness": [{
2149
- decoration: [_, "from-font", "auto", b, re]
2150
- }],
2151
- /**
2152
- * Text Decoration Color
2153
- * @see https://tailwindcss.com/docs/text-decoration-color
2154
- */
2155
- "text-decoration-color": [{
2156
- decoration: h()
2157
- }],
2158
- /**
2159
- * Text Underline Offset
2160
- * @see https://tailwindcss.com/docs/text-underline-offset
2161
- */
2162
- "underline-offset": [{
2163
- "underline-offset": [_, "auto", b, g]
2164
- }],
2165
- /**
2166
- * Text Transform
2167
- * @see https://tailwindcss.com/docs/text-transform
2168
- */
2169
- "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
2170
- /**
2171
- * Text Overflow
2172
- * @see https://tailwindcss.com/docs/text-overflow
2173
- */
2174
- "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
2175
- /**
2176
- * Text Wrap
2177
- * @see https://tailwindcss.com/docs/text-wrap
2178
- */
2179
- "text-wrap": [{
2180
- text: ["wrap", "nowrap", "balance", "pretty"]
2181
- }],
2182
- /**
2183
- * Text Indent
2184
- * @see https://tailwindcss.com/docs/text-indent
2185
- */
2186
- indent: [{
2187
- indent: x()
2188
- }],
2189
- /**
2190
- * Vertical Alignment
2191
- * @see https://tailwindcss.com/docs/vertical-align
2192
- */
2193
- "vertical-align": [{
2194
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", b, g]
2195
- }],
2196
- /**
2197
- * Whitespace
2198
- * @see https://tailwindcss.com/docs/whitespace
2199
- */
2200
- whitespace: [{
2201
- whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
2202
- }],
2203
- /**
2204
- * Word Break
2205
- * @see https://tailwindcss.com/docs/word-break
2206
- */
2207
- break: [{
2208
- break: ["normal", "words", "all", "keep"]
2209
- }],
2210
- /**
2211
- * Overflow Wrap
2212
- * @see https://tailwindcss.com/docs/overflow-wrap
2213
- */
2214
- wrap: [{
2215
- wrap: ["break-word", "anywhere", "normal"]
2216
- }],
2217
- /**
2218
- * Hyphens
2219
- * @see https://tailwindcss.com/docs/hyphens
2220
- */
2221
- hyphens: [{
2222
- hyphens: ["none", "manual", "auto"]
2223
- }],
2224
- /**
2225
- * Content
2226
- * @see https://tailwindcss.com/docs/content
2227
- */
2228
- content: [{
2229
- content: ["none", b, g]
2230
- }],
2231
- // -------------------
2232
- // --- Backgrounds ---
2233
- // -------------------
2234
- /**
2235
- * Background Attachment
2236
- * @see https://tailwindcss.com/docs/background-attachment
2237
- */
2238
- "bg-attachment": [{
2239
- bg: ["fixed", "local", "scroll"]
2240
- }],
2241
- /**
2242
- * Background Clip
2243
- * @see https://tailwindcss.com/docs/background-clip
2244
- */
2245
- "bg-clip": [{
2246
- "bg-clip": ["border", "padding", "content", "text"]
2247
- }],
2248
- /**
2249
- * Background Origin
2250
- * @see https://tailwindcss.com/docs/background-origin
2251
- */
2252
- "bg-origin": [{
2253
- "bg-origin": ["border", "padding", "content"]
2254
- }],
2255
- /**
2256
- * Background Position
2257
- * @see https://tailwindcss.com/docs/background-position
2258
- */
2259
- "bg-position": [{
2260
- bg: le()
2261
- }],
2262
- /**
2263
- * Background Repeat
2264
- * @see https://tailwindcss.com/docs/background-repeat
2265
- */
2266
- "bg-repeat": [{
2267
- bg: f()
2268
- }],
2269
- /**
2270
- * Background Size
2271
- * @see https://tailwindcss.com/docs/background-size
2272
- */
2273
- "bg-size": [{
2274
- bg: w()
2275
- }],
2276
- /**
2277
- * Background Image
2278
- * @see https://tailwindcss.com/docs/background-image
2279
- */
2280
- "bg-image": [{
2281
- bg: ["none", {
2282
- linear: [{
2283
- to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
2284
- }, Z, b, g],
2285
- radial: ["", b, g],
2286
- conic: [Z, b, g]
2287
- }, Vt, It]
2288
- }],
2289
- /**
2290
- * Background Color
2291
- * @see https://tailwindcss.com/docs/background-color
2292
- */
2293
- "bg-color": [{
2294
- bg: h()
2295
- }],
2296
- /**
2297
- * Gradient Color Stops From Position
2298
- * @see https://tailwindcss.com/docs/gradient-color-stops
2299
- */
2300
- "gradient-from-pos": [{
2301
- from: T()
2302
- }],
2303
- /**
2304
- * Gradient Color Stops Via Position
2305
- * @see https://tailwindcss.com/docs/gradient-color-stops
2306
- */
2307
- "gradient-via-pos": [{
2308
- via: T()
2309
- }],
2310
- /**
2311
- * Gradient Color Stops To Position
2312
- * @see https://tailwindcss.com/docs/gradient-color-stops
2313
- */
2314
- "gradient-to-pos": [{
2315
- to: T()
2316
- }],
2317
- /**
2318
- * Gradient Color Stops From
2319
- * @see https://tailwindcss.com/docs/gradient-color-stops
2320
- */
2321
- "gradient-from": [{
2322
- from: h()
2323
- }],
2324
- /**
2325
- * Gradient Color Stops Via
2326
- * @see https://tailwindcss.com/docs/gradient-color-stops
2327
- */
2328
- "gradient-via": [{
2329
- via: h()
2330
- }],
2331
- /**
2332
- * Gradient Color Stops To
2333
- * @see https://tailwindcss.com/docs/gradient-color-stops
2334
- */
2335
- "gradient-to": [{
2336
- to: h()
2337
- }],
2338
- // ---------------
2339
- // --- Borders ---
2340
- // ---------------
2341
- /**
2342
- * Border Radius
2343
- * @see https://tailwindcss.com/docs/border-radius
2344
- */
2345
- rounded: [{
2346
- rounded: E()
2347
- }],
2348
- /**
2349
- * Border Radius Start
2350
- * @see https://tailwindcss.com/docs/border-radius
2351
- */
2352
- "rounded-s": [{
2353
- "rounded-s": E()
2354
- }],
2355
- /**
2356
- * Border Radius End
2357
- * @see https://tailwindcss.com/docs/border-radius
2358
- */
2359
- "rounded-e": [{
2360
- "rounded-e": E()
2361
- }],
2362
- /**
2363
- * Border Radius Top
2364
- * @see https://tailwindcss.com/docs/border-radius
2365
- */
2366
- "rounded-t": [{
2367
- "rounded-t": E()
2368
- }],
2369
- /**
2370
- * Border Radius Right
2371
- * @see https://tailwindcss.com/docs/border-radius
2372
- */
2373
- "rounded-r": [{
2374
- "rounded-r": E()
2375
- }],
2376
- /**
2377
- * Border Radius Bottom
2378
- * @see https://tailwindcss.com/docs/border-radius
2379
- */
2380
- "rounded-b": [{
2381
- "rounded-b": E()
2382
- }],
2383
- /**
2384
- * Border Radius Left
2385
- * @see https://tailwindcss.com/docs/border-radius
2386
- */
2387
- "rounded-l": [{
2388
- "rounded-l": E()
2389
- }],
2390
- /**
2391
- * Border Radius Start Start
2392
- * @see https://tailwindcss.com/docs/border-radius
2393
- */
2394
- "rounded-ss": [{
2395
- "rounded-ss": E()
2396
- }],
2397
- /**
2398
- * Border Radius Start End
2399
- * @see https://tailwindcss.com/docs/border-radius
2400
- */
2401
- "rounded-se": [{
2402
- "rounded-se": E()
2403
- }],
2404
- /**
2405
- * Border Radius End End
2406
- * @see https://tailwindcss.com/docs/border-radius
2407
- */
2408
- "rounded-ee": [{
2409
- "rounded-ee": E()
2410
- }],
2411
- /**
2412
- * Border Radius End Start
2413
- * @see https://tailwindcss.com/docs/border-radius
2414
- */
2415
- "rounded-es": [{
2416
- "rounded-es": E()
2417
- }],
2418
- /**
2419
- * Border Radius Top Left
2420
- * @see https://tailwindcss.com/docs/border-radius
2421
- */
2422
- "rounded-tl": [{
2423
- "rounded-tl": E()
2424
- }],
2425
- /**
2426
- * Border Radius Top Right
2427
- * @see https://tailwindcss.com/docs/border-radius
2428
- */
2429
- "rounded-tr": [{
2430
- "rounded-tr": E()
2431
- }],
2432
- /**
2433
- * Border Radius Bottom Right
2434
- * @see https://tailwindcss.com/docs/border-radius
2435
- */
2436
- "rounded-br": [{
2437
- "rounded-br": E()
2438
- }],
2439
- /**
2440
- * Border Radius Bottom Left
2441
- * @see https://tailwindcss.com/docs/border-radius
2442
- */
2443
- "rounded-bl": [{
2444
- "rounded-bl": E()
2445
- }],
2446
- /**
2447
- * Border Width
2448
- * @see https://tailwindcss.com/docs/border-width
2449
- */
2450
- "border-w": [{
2451
- border: A()
2452
- }],
2453
- /**
2454
- * Border Width X
2455
- * @see https://tailwindcss.com/docs/border-width
2456
- */
2457
- "border-w-x": [{
2458
- "border-x": A()
2459
- }],
2460
- /**
2461
- * Border Width Y
2462
- * @see https://tailwindcss.com/docs/border-width
2463
- */
2464
- "border-w-y": [{
2465
- "border-y": A()
2466
- }],
2467
- /**
2468
- * Border Width Start
2469
- * @see https://tailwindcss.com/docs/border-width
2470
- */
2471
- "border-w-s": [{
2472
- "border-s": A()
2473
- }],
2474
- /**
2475
- * Border Width End
2476
- * @see https://tailwindcss.com/docs/border-width
2477
- */
2478
- "border-w-e": [{
2479
- "border-e": A()
2480
- }],
2481
- /**
2482
- * Border Width Top
2483
- * @see https://tailwindcss.com/docs/border-width
2484
- */
2485
- "border-w-t": [{
2486
- "border-t": A()
2487
- }],
2488
- /**
2489
- * Border Width Right
2490
- * @see https://tailwindcss.com/docs/border-width
2491
- */
2492
- "border-w-r": [{
2493
- "border-r": A()
2494
- }],
2495
- /**
2496
- * Border Width Bottom
2497
- * @see https://tailwindcss.com/docs/border-width
2498
- */
2499
- "border-w-b": [{
2500
- "border-b": A()
2501
- }],
2502
- /**
2503
- * Border Width Left
2504
- * @see https://tailwindcss.com/docs/border-width
2505
- */
2506
- "border-w-l": [{
2507
- "border-l": A()
2508
- }],
2509
- /**
2510
- * Divide Width X
2511
- * @see https://tailwindcss.com/docs/border-width#between-children
2512
- */
2513
- "divide-x": [{
2514
- "divide-x": A()
2515
- }],
2516
- /**
2517
- * Divide Width X Reverse
2518
- * @see https://tailwindcss.com/docs/border-width#between-children
2519
- */
2520
- "divide-x-reverse": ["divide-x-reverse"],
2521
- /**
2522
- * Divide Width Y
2523
- * @see https://tailwindcss.com/docs/border-width#between-children
2524
- */
2525
- "divide-y": [{
2526
- "divide-y": A()
2527
- }],
2528
- /**
2529
- * Divide Width Y Reverse
2530
- * @see https://tailwindcss.com/docs/border-width#between-children
2531
- */
2532
- "divide-y-reverse": ["divide-y-reverse"],
2533
- /**
2534
- * Border Style
2535
- * @see https://tailwindcss.com/docs/border-style
2536
- */
2537
- "border-style": [{
2538
- border: [...F(), "hidden", "none"]
2539
- }],
2540
- /**
2541
- * Divide Style
2542
- * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
2543
- */
2544
- "divide-style": [{
2545
- divide: [...F(), "hidden", "none"]
2546
- }],
2547
- /**
2548
- * Border Color
2549
- * @see https://tailwindcss.com/docs/border-color
2550
- */
2551
- "border-color": [{
2552
- border: h()
2553
- }],
2554
- /**
2555
- * Border Color X
2556
- * @see https://tailwindcss.com/docs/border-color
2557
- */
2558
- "border-color-x": [{
2559
- "border-x": h()
2560
- }],
2561
- /**
2562
- * Border Color Y
2563
- * @see https://tailwindcss.com/docs/border-color
2564
- */
2565
- "border-color-y": [{
2566
- "border-y": h()
2567
- }],
2568
- /**
2569
- * Border Color S
2570
- * @see https://tailwindcss.com/docs/border-color
2571
- */
2572
- "border-color-s": [{
2573
- "border-s": h()
2574
- }],
2575
- /**
2576
- * Border Color E
2577
- * @see https://tailwindcss.com/docs/border-color
2578
- */
2579
- "border-color-e": [{
2580
- "border-e": h()
2581
- }],
2582
- /**
2583
- * Border Color Top
2584
- * @see https://tailwindcss.com/docs/border-color
2585
- */
2586
- "border-color-t": [{
2587
- "border-t": h()
2588
- }],
2589
- /**
2590
- * Border Color Right
2591
- * @see https://tailwindcss.com/docs/border-color
2592
- */
2593
- "border-color-r": [{
2594
- "border-r": h()
2595
- }],
2596
- /**
2597
- * Border Color Bottom
2598
- * @see https://tailwindcss.com/docs/border-color
2599
- */
2600
- "border-color-b": [{
2601
- "border-b": h()
2602
- }],
2603
- /**
2604
- * Border Color Left
2605
- * @see https://tailwindcss.com/docs/border-color
2606
- */
2607
- "border-color-l": [{
2608
- "border-l": h()
2609
- }],
2610
- /**
2611
- * Divide Color
2612
- * @see https://tailwindcss.com/docs/divide-color
2613
- */
2614
- "divide-color": [{
2615
- divide: h()
2616
- }],
2617
- /**
2618
- * Outline Style
2619
- * @see https://tailwindcss.com/docs/outline-style
2620
- */
2621
- "outline-style": [{
2622
- outline: [...F(), "none", "hidden"]
2623
- }],
2624
- /**
2625
- * Outline Offset
2626
- * @see https://tailwindcss.com/docs/outline-offset
2627
- */
2628
- "outline-offset": [{
2629
- "outline-offset": [_, b, g]
2630
- }],
2631
- /**
2632
- * Outline Width
2633
- * @see https://tailwindcss.com/docs/outline-width
2634
- */
2635
- "outline-w": [{
2636
- outline: ["", _, fe, re]
2637
- }],
2638
- /**
2639
- * Outline Color
2640
- * @see https://tailwindcss.com/docs/outline-color
2641
- */
2642
- "outline-color": [{
2643
- outline: h()
2644
- }],
2645
- // ---------------
2646
- // --- Effects ---
2647
- // ---------------
2648
- /**
2649
- * Box Shadow
2650
- * @see https://tailwindcss.com/docs/box-shadow
2651
- */
2652
- shadow: [{
2653
- shadow: [
2654
- // Deprecated since Tailwind CSS v4.0.0
2655
- "",
2656
- "none",
2657
- p,
2658
- we,
2659
- xe
2660
- ]
2661
- }],
2662
- /**
2663
- * Box Shadow Color
2664
- * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
2665
- */
2666
- "shadow-color": [{
2667
- shadow: h()
2668
- }],
2669
- /**
2670
- * Inset Box Shadow
2671
- * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
2672
- */
2673
- "inset-shadow": [{
2674
- "inset-shadow": ["none", l, we, xe]
2675
- }],
2676
- /**
2677
- * Inset Box Shadow Color
2678
- * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
2679
- */
2680
- "inset-shadow-color": [{
2681
- "inset-shadow": h()
2682
- }],
2683
- /**
2684
- * Ring Width
2685
- * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
2686
- */
2687
- "ring-w": [{
2688
- ring: A()
2689
- }],
2690
- /**
2691
- * Ring Width Inset
2692
- * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
2693
- * @deprecated since Tailwind CSS v4.0.0
2694
- * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2695
- */
2696
- "ring-w-inset": ["ring-inset"],
2697
- /**
2698
- * Ring Color
2699
- * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
2700
- */
2701
- "ring-color": [{
2702
- ring: h()
2703
- }],
2704
- /**
2705
- * Ring Offset Width
2706
- * @see https://v3.tailwindcss.com/docs/ring-offset-width
2707
- * @deprecated since Tailwind CSS v4.0.0
2708
- * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2709
- */
2710
- "ring-offset-w": [{
2711
- "ring-offset": [_, re]
2712
- }],
2713
- /**
2714
- * Ring Offset Color
2715
- * @see https://v3.tailwindcss.com/docs/ring-offset-color
2716
- * @deprecated since Tailwind CSS v4.0.0
2717
- * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2718
- */
2719
- "ring-offset-color": [{
2720
- "ring-offset": h()
2721
- }],
2722
- /**
2723
- * Inset Ring Width
2724
- * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
2725
- */
2726
- "inset-ring-w": [{
2727
- "inset-ring": A()
2728
- }],
2729
- /**
2730
- * Inset Ring Color
2731
- * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
2732
- */
2733
- "inset-ring-color": [{
2734
- "inset-ring": h()
2735
- }],
2736
- /**
2737
- * Text Shadow
2738
- * @see https://tailwindcss.com/docs/text-shadow
2739
- */
2740
- "text-shadow": [{
2741
- "text-shadow": ["none", s, we, xe]
2742
- }],
2743
- /**
2744
- * Text Shadow Color
2745
- * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
2746
- */
2747
- "text-shadow-color": [{
2748
- "text-shadow": h()
2749
- }],
2750
- /**
2751
- * Opacity
2752
- * @see https://tailwindcss.com/docs/opacity
2753
- */
2754
- opacity: [{
2755
- opacity: [_, b, g]
2756
- }],
2757
- /**
2758
- * Mix Blend Mode
2759
- * @see https://tailwindcss.com/docs/mix-blend-mode
2760
- */
2761
- "mix-blend": [{
2762
- "mix-blend": [...oe(), "plus-darker", "plus-lighter"]
2763
- }],
2764
- /**
2765
- * Background Blend Mode
2766
- * @see https://tailwindcss.com/docs/background-blend-mode
2767
- */
2768
- "bg-blend": [{
2769
- "bg-blend": oe()
2770
- }],
2771
- /**
2772
- * Mask Clip
2773
- * @see https://tailwindcss.com/docs/mask-clip
2774
- */
2775
- "mask-clip": [{
2776
- "mask-clip": ["border", "padding", "content", "fill", "stroke", "view"]
2777
- }, "mask-no-clip"],
2778
- /**
2779
- * Mask Composite
2780
- * @see https://tailwindcss.com/docs/mask-composite
2781
- */
2782
- "mask-composite": [{
2783
- mask: ["add", "subtract", "intersect", "exclude"]
2784
- }],
2785
- /**
2786
- * Mask Image
2787
- * @see https://tailwindcss.com/docs/mask-image
2788
- */
2789
- "mask-image-linear-pos": [{
2790
- "mask-linear": [_]
2791
- }],
2792
- "mask-image-linear-from-pos": [{
2793
- "mask-linear-from": C()
2794
- }],
2795
- "mask-image-linear-to-pos": [{
2796
- "mask-linear-to": C()
2797
- }],
2798
- "mask-image-linear-from-color": [{
2799
- "mask-linear-from": h()
2800
- }],
2801
- "mask-image-linear-to-color": [{
2802
- "mask-linear-to": h()
2803
- }],
2804
- "mask-image-t-from-pos": [{
2805
- "mask-t-from": C()
2806
- }],
2807
- "mask-image-t-to-pos": [{
2808
- "mask-t-to": C()
2809
- }],
2810
- "mask-image-t-from-color": [{
2811
- "mask-t-from": h()
2812
- }],
2813
- "mask-image-t-to-color": [{
2814
- "mask-t-to": h()
2815
- }],
2816
- "mask-image-r-from-pos": [{
2817
- "mask-r-from": C()
2818
- }],
2819
- "mask-image-r-to-pos": [{
2820
- "mask-r-to": C()
2821
- }],
2822
- "mask-image-r-from-color": [{
2823
- "mask-r-from": h()
2824
- }],
2825
- "mask-image-r-to-color": [{
2826
- "mask-r-to": h()
2827
- }],
2828
- "mask-image-b-from-pos": [{
2829
- "mask-b-from": C()
2830
- }],
2831
- "mask-image-b-to-pos": [{
2832
- "mask-b-to": C()
2833
- }],
2834
- "mask-image-b-from-color": [{
2835
- "mask-b-from": h()
2836
- }],
2837
- "mask-image-b-to-color": [{
2838
- "mask-b-to": h()
2839
- }],
2840
- "mask-image-l-from-pos": [{
2841
- "mask-l-from": C()
2842
- }],
2843
- "mask-image-l-to-pos": [{
2844
- "mask-l-to": C()
2845
- }],
2846
- "mask-image-l-from-color": [{
2847
- "mask-l-from": h()
2848
- }],
2849
- "mask-image-l-to-color": [{
2850
- "mask-l-to": h()
2851
- }],
2852
- "mask-image-x-from-pos": [{
2853
- "mask-x-from": C()
2854
- }],
2855
- "mask-image-x-to-pos": [{
2856
- "mask-x-to": C()
2857
- }],
2858
- "mask-image-x-from-color": [{
2859
- "mask-x-from": h()
2860
- }],
2861
- "mask-image-x-to-color": [{
2862
- "mask-x-to": h()
2863
- }],
2864
- "mask-image-y-from-pos": [{
2865
- "mask-y-from": C()
2866
- }],
2867
- "mask-image-y-to-pos": [{
2868
- "mask-y-to": C()
2869
- }],
2870
- "mask-image-y-from-color": [{
2871
- "mask-y-from": h()
2872
- }],
2873
- "mask-image-y-to-color": [{
2874
- "mask-y-to": h()
2875
- }],
2876
- "mask-image-radial": [{
2877
- "mask-radial": [b, g]
2878
- }],
2879
- "mask-image-radial-from-pos": [{
2880
- "mask-radial-from": C()
2881
- }],
2882
- "mask-image-radial-to-pos": [{
2883
- "mask-radial-to": C()
2884
- }],
2885
- "mask-image-radial-from-color": [{
2886
- "mask-radial-from": h()
2887
- }],
2888
- "mask-image-radial-to-color": [{
2889
- "mask-radial-to": h()
2890
- }],
2891
- "mask-image-radial-shape": [{
2892
- "mask-radial": ["circle", "ellipse"]
2893
- }],
2894
- "mask-image-radial-size": [{
2895
- "mask-radial": [{
2896
- closest: ["side", "corner"],
2897
- farthest: ["side", "corner"]
2898
- }]
2899
- }],
2900
- "mask-image-radial-pos": [{
2901
- "mask-radial-at": V()
2902
- }],
2903
- "mask-image-conic-pos": [{
2904
- "mask-conic": [_]
2905
- }],
2906
- "mask-image-conic-from-pos": [{
2907
- "mask-conic-from": C()
2908
- }],
2909
- "mask-image-conic-to-pos": [{
2910
- "mask-conic-to": C()
2911
- }],
2912
- "mask-image-conic-from-color": [{
2913
- "mask-conic-from": h()
2914
- }],
2915
- "mask-image-conic-to-color": [{
2916
- "mask-conic-to": h()
2917
- }],
2918
- /**
2919
- * Mask Mode
2920
- * @see https://tailwindcss.com/docs/mask-mode
2921
- */
2922
- "mask-mode": [{
2923
- mask: ["alpha", "luminance", "match"]
2924
- }],
2925
- /**
2926
- * Mask Origin
2927
- * @see https://tailwindcss.com/docs/mask-origin
2928
- */
2929
- "mask-origin": [{
2930
- "mask-origin": ["border", "padding", "content", "fill", "stroke", "view"]
2931
- }],
2932
- /**
2933
- * Mask Position
2934
- * @see https://tailwindcss.com/docs/mask-position
2935
- */
2936
- "mask-position": [{
2937
- mask: le()
2938
- }],
2939
- /**
2940
- * Mask Repeat
2941
- * @see https://tailwindcss.com/docs/mask-repeat
2942
- */
2943
- "mask-repeat": [{
2944
- mask: f()
2945
- }],
2946
- /**
2947
- * Mask Size
2948
- * @see https://tailwindcss.com/docs/mask-size
2949
- */
2950
- "mask-size": [{
2951
- mask: w()
2952
- }],
2953
- /**
2954
- * Mask Type
2955
- * @see https://tailwindcss.com/docs/mask-type
2956
- */
2957
- "mask-type": [{
2958
- "mask-type": ["alpha", "luminance"]
2959
- }],
2960
- /**
2961
- * Mask Image
2962
- * @see https://tailwindcss.com/docs/mask-image
2963
- */
2964
- "mask-image": [{
2965
- mask: ["none", b, g]
2966
- }],
2967
- // ---------------
2968
- // --- Filters ---
2969
- // ---------------
2970
- /**
2971
- * Filter
2972
- * @see https://tailwindcss.com/docs/filter
2973
- */
2974
- filter: [{
2975
- filter: [
2976
- // Deprecated since Tailwind CSS v3.0.0
2977
- "",
2978
- "none",
2979
- b,
2980
- g
2981
- ]
2982
- }],
2983
- /**
2984
- * Blur
2985
- * @see https://tailwindcss.com/docs/blur
2986
- */
2987
- blur: [{
2988
- blur: M()
2989
- }],
2990
- /**
2991
- * Brightness
2992
- * @see https://tailwindcss.com/docs/brightness
2993
- */
2994
- brightness: [{
2995
- brightness: [_, b, g]
2996
- }],
2997
- /**
2998
- * Contrast
2999
- * @see https://tailwindcss.com/docs/contrast
3000
- */
3001
- contrast: [{
3002
- contrast: [_, b, g]
3003
- }],
3004
- /**
3005
- * Drop Shadow
3006
- * @see https://tailwindcss.com/docs/drop-shadow
3007
- */
3008
- "drop-shadow": [{
3009
- "drop-shadow": [
3010
- // Deprecated since Tailwind CSS v4.0.0
3011
- "",
3012
- "none",
3013
- m,
3014
- we,
3015
- xe
3016
- ]
3017
- }],
3018
- /**
3019
- * Drop Shadow Color
3020
- * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
3021
- */
3022
- "drop-shadow-color": [{
3023
- "drop-shadow": h()
3024
- }],
3025
- /**
3026
- * Grayscale
3027
- * @see https://tailwindcss.com/docs/grayscale
3028
- */
3029
- grayscale: [{
3030
- grayscale: ["", _, b, g]
3031
- }],
3032
- /**
3033
- * Hue Rotate
3034
- * @see https://tailwindcss.com/docs/hue-rotate
3035
- */
3036
- "hue-rotate": [{
3037
- "hue-rotate": [_, b, g]
3038
- }],
3039
- /**
3040
- * Invert
3041
- * @see https://tailwindcss.com/docs/invert
3042
- */
3043
- invert: [{
3044
- invert: ["", _, b, g]
3045
- }],
3046
- /**
3047
- * Saturate
3048
- * @see https://tailwindcss.com/docs/saturate
3049
- */
3050
- saturate: [{
3051
- saturate: [_, b, g]
3052
- }],
3053
- /**
3054
- * Sepia
3055
- * @see https://tailwindcss.com/docs/sepia
3056
- */
3057
- sepia: [{
3058
- sepia: ["", _, b, g]
3059
- }],
3060
- /**
3061
- * Backdrop Filter
3062
- * @see https://tailwindcss.com/docs/backdrop-filter
3063
- */
3064
- "backdrop-filter": [{
3065
- "backdrop-filter": [
3066
- // Deprecated since Tailwind CSS v3.0.0
3067
- "",
3068
- "none",
3069
- b,
3070
- g
3071
- ]
3072
- }],
3073
- /**
3074
- * Backdrop Blur
3075
- * @see https://tailwindcss.com/docs/backdrop-blur
3076
- */
3077
- "backdrop-blur": [{
3078
- "backdrop-blur": M()
3079
- }],
3080
- /**
3081
- * Backdrop Brightness
3082
- * @see https://tailwindcss.com/docs/backdrop-brightness
3083
- */
3084
- "backdrop-brightness": [{
3085
- "backdrop-brightness": [_, b, g]
3086
- }],
3087
- /**
3088
- * Backdrop Contrast
3089
- * @see https://tailwindcss.com/docs/backdrop-contrast
3090
- */
3091
- "backdrop-contrast": [{
3092
- "backdrop-contrast": [_, b, g]
3093
- }],
3094
- /**
3095
- * Backdrop Grayscale
3096
- * @see https://tailwindcss.com/docs/backdrop-grayscale
3097
- */
3098
- "backdrop-grayscale": [{
3099
- "backdrop-grayscale": ["", _, b, g]
3100
- }],
3101
- /**
3102
- * Backdrop Hue Rotate
3103
- * @see https://tailwindcss.com/docs/backdrop-hue-rotate
3104
- */
3105
- "backdrop-hue-rotate": [{
3106
- "backdrop-hue-rotate": [_, b, g]
3107
- }],
3108
- /**
3109
- * Backdrop Invert
3110
- * @see https://tailwindcss.com/docs/backdrop-invert
3111
- */
3112
- "backdrop-invert": [{
3113
- "backdrop-invert": ["", _, b, g]
3114
- }],
3115
- /**
3116
- * Backdrop Opacity
3117
- * @see https://tailwindcss.com/docs/backdrop-opacity
3118
- */
3119
- "backdrop-opacity": [{
3120
- "backdrop-opacity": [_, b, g]
3121
- }],
3122
- /**
3123
- * Backdrop Saturate
3124
- * @see https://tailwindcss.com/docs/backdrop-saturate
3125
- */
3126
- "backdrop-saturate": [{
3127
- "backdrop-saturate": [_, b, g]
3128
- }],
3129
- /**
3130
- * Backdrop Sepia
3131
- * @see https://tailwindcss.com/docs/backdrop-sepia
3132
- */
3133
- "backdrop-sepia": [{
3134
- "backdrop-sepia": ["", _, b, g]
3135
- }],
3136
- // --------------
3137
- // --- Tables ---
3138
- // --------------
3139
- /**
3140
- * Border Collapse
3141
- * @see https://tailwindcss.com/docs/border-collapse
3142
- */
3143
- "border-collapse": [{
3144
- border: ["collapse", "separate"]
3145
- }],
3146
- /**
3147
- * Border Spacing
3148
- * @see https://tailwindcss.com/docs/border-spacing
3149
- */
3150
- "border-spacing": [{
3151
- "border-spacing": x()
3152
- }],
3153
- /**
3154
- * Border Spacing X
3155
- * @see https://tailwindcss.com/docs/border-spacing
3156
- */
3157
- "border-spacing-x": [{
3158
- "border-spacing-x": x()
3159
- }],
3160
- /**
3161
- * Border Spacing Y
3162
- * @see https://tailwindcss.com/docs/border-spacing
3163
- */
3164
- "border-spacing-y": [{
3165
- "border-spacing-y": x()
3166
- }],
3167
- /**
3168
- * Table Layout
3169
- * @see https://tailwindcss.com/docs/table-layout
3170
- */
3171
- "table-layout": [{
3172
- table: ["auto", "fixed"]
3173
- }],
3174
- /**
3175
- * Caption Side
3176
- * @see https://tailwindcss.com/docs/caption-side
3177
- */
3178
- caption: [{
3179
- caption: ["top", "bottom"]
3180
- }],
3181
- // ---------------------------------
3182
- // --- Transitions and Animation ---
3183
- // ---------------------------------
3184
- /**
3185
- * Transition Property
3186
- * @see https://tailwindcss.com/docs/transition-property
3187
- */
3188
- transition: [{
3189
- transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", b, g]
3190
- }],
3191
- /**
3192
- * Transition Behavior
3193
- * @see https://tailwindcss.com/docs/transition-behavior
3194
- */
3195
- "transition-behavior": [{
3196
- transition: ["normal", "discrete"]
3197
- }],
3198
- /**
3199
- * Transition Duration
3200
- * @see https://tailwindcss.com/docs/transition-duration
3201
- */
3202
- duration: [{
3203
- duration: [_, "initial", b, g]
3204
- }],
3205
- /**
3206
- * Transition Timing Function
3207
- * @see https://tailwindcss.com/docs/transition-timing-function
3208
- */
3209
- ease: [{
3210
- ease: ["linear", "initial", N, b, g]
3211
- }],
3212
- /**
3213
- * Transition Delay
3214
- * @see https://tailwindcss.com/docs/transition-delay
3215
- */
3216
- delay: [{
3217
- delay: [_, b, g]
3218
- }],
3219
- /**
3220
- * Animation
3221
- * @see https://tailwindcss.com/docs/animation
3222
- */
3223
- animate: [{
3224
- animate: ["none", $, b, g]
3225
- }],
3226
- // ------------------
3227
- // --- Transforms ---
3228
- // ------------------
3229
- /**
3230
- * Backface Visibility
3231
- * @see https://tailwindcss.com/docs/backface-visibility
3232
- */
3233
- backface: [{
3234
- backface: ["hidden", "visible"]
3235
- }],
3236
- /**
3237
- * Perspective
3238
- * @see https://tailwindcss.com/docs/perspective
3239
- */
3240
- perspective: [{
3241
- perspective: [v, b, g]
3242
- }],
3243
- /**
3244
- * Perspective Origin
3245
- * @see https://tailwindcss.com/docs/perspective-origin
3246
- */
3247
- "perspective-origin": [{
3248
- "perspective-origin": U()
3249
- }],
3250
- /**
3251
- * Rotate
3252
- * @see https://tailwindcss.com/docs/rotate
3253
- */
3254
- rotate: [{
3255
- rotate: W()
3256
- }],
3257
- /**
3258
- * Rotate X
3259
- * @see https://tailwindcss.com/docs/rotate
3260
- */
3261
- "rotate-x": [{
3262
- "rotate-x": W()
3263
- }],
3264
- /**
3265
- * Rotate Y
3266
- * @see https://tailwindcss.com/docs/rotate
3267
- */
3268
- "rotate-y": [{
3269
- "rotate-y": W()
3270
- }],
3271
- /**
3272
- * Rotate Z
3273
- * @see https://tailwindcss.com/docs/rotate
3274
- */
3275
- "rotate-z": [{
3276
- "rotate-z": W()
3277
- }],
3278
- /**
3279
- * Scale
3280
- * @see https://tailwindcss.com/docs/scale
3281
- */
3282
- scale: [{
3283
- scale: J()
3284
- }],
3285
- /**
3286
- * Scale X
3287
- * @see https://tailwindcss.com/docs/scale
3288
- */
3289
- "scale-x": [{
3290
- "scale-x": J()
3291
- }],
3292
- /**
3293
- * Scale Y
3294
- * @see https://tailwindcss.com/docs/scale
3295
- */
3296
- "scale-y": [{
3297
- "scale-y": J()
3298
- }],
3299
- /**
3300
- * Scale Z
3301
- * @see https://tailwindcss.com/docs/scale
3302
- */
3303
- "scale-z": [{
3304
- "scale-z": J()
3305
- }],
3306
- /**
3307
- * Scale 3D
3308
- * @see https://tailwindcss.com/docs/scale
3309
- */
3310
- "scale-3d": ["scale-3d"],
3311
- /**
3312
- * Skew
3313
- * @see https://tailwindcss.com/docs/skew
3314
- */
3315
- skew: [{
3316
- skew: ce()
3317
- }],
3318
- /**
3319
- * Skew X
3320
- * @see https://tailwindcss.com/docs/skew
3321
- */
3322
- "skew-x": [{
3323
- "skew-x": ce()
3324
- }],
3325
- /**
3326
- * Skew Y
3327
- * @see https://tailwindcss.com/docs/skew
3328
- */
3329
- "skew-y": [{
3330
- "skew-y": ce()
3331
- }],
3332
- /**
3333
- * Transform
3334
- * @see https://tailwindcss.com/docs/transform
3335
- */
3336
- transform: [{
3337
- transform: [b, g, "", "none", "gpu", "cpu"]
3338
- }],
3339
- /**
3340
- * Transform Origin
3341
- * @see https://tailwindcss.com/docs/transform-origin
3342
- */
3343
- "transform-origin": [{
3344
- origin: U()
3345
- }],
3346
- /**
3347
- * Transform Style
3348
- * @see https://tailwindcss.com/docs/transform-style
3349
- */
3350
- "transform-style": [{
3351
- transform: ["3d", "flat"]
3352
- }],
3353
- /**
3354
- * Translate
3355
- * @see https://tailwindcss.com/docs/translate
3356
- */
3357
- translate: [{
3358
- translate: be()
3359
- }],
3360
- /**
3361
- * Translate X
3362
- * @see https://tailwindcss.com/docs/translate
3363
- */
3364
- "translate-x": [{
3365
- "translate-x": be()
3366
- }],
3367
- /**
3368
- * Translate Y
3369
- * @see https://tailwindcss.com/docs/translate
3370
- */
3371
- "translate-y": [{
3372
- "translate-y": be()
3373
- }],
3374
- /**
3375
- * Translate Z
3376
- * @see https://tailwindcss.com/docs/translate
3377
- */
3378
- "translate-z": [{
3379
- "translate-z": be()
3380
- }],
3381
- /**
3382
- * Translate None
3383
- * @see https://tailwindcss.com/docs/translate
3384
- */
3385
- "translate-none": ["translate-none"],
3386
- // ---------------------
3387
- // --- Interactivity ---
3388
- // ---------------------
3389
- /**
3390
- * Accent Color
3391
- * @see https://tailwindcss.com/docs/accent-color
3392
- */
3393
- accent: [{
3394
- accent: h()
3395
- }],
3396
- /**
3397
- * Appearance
3398
- * @see https://tailwindcss.com/docs/appearance
3399
- */
3400
- appearance: [{
3401
- appearance: ["none", "auto"]
3402
- }],
3403
- /**
3404
- * Caret Color
3405
- * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
3406
- */
3407
- "caret-color": [{
3408
- caret: h()
3409
- }],
3410
- /**
3411
- * Color Scheme
3412
- * @see https://tailwindcss.com/docs/color-scheme
3413
- */
3414
- "color-scheme": [{
3415
- scheme: ["normal", "dark", "light", "light-dark", "only-dark", "only-light"]
3416
- }],
3417
- /**
3418
- * Cursor
3419
- * @see https://tailwindcss.com/docs/cursor
3420
- */
3421
- cursor: [{
3422
- cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", b, g]
3423
- }],
3424
- /**
3425
- * Field Sizing
3426
- * @see https://tailwindcss.com/docs/field-sizing
3427
- */
3428
- "field-sizing": [{
3429
- "field-sizing": ["fixed", "content"]
3430
- }],
3431
- /**
3432
- * Pointer Events
3433
- * @see https://tailwindcss.com/docs/pointer-events
3434
- */
3435
- "pointer-events": [{
3436
- "pointer-events": ["auto", "none"]
3437
- }],
3438
- /**
3439
- * Resize
3440
- * @see https://tailwindcss.com/docs/resize
3441
- */
3442
- resize: [{
3443
- resize: ["none", "", "y", "x"]
3444
- }],
3445
- /**
3446
- * Scroll Behavior
3447
- * @see https://tailwindcss.com/docs/scroll-behavior
3448
- */
3449
- "scroll-behavior": [{
3450
- scroll: ["auto", "smooth"]
3451
- }],
3452
- /**
3453
- * Scroll Margin
3454
- * @see https://tailwindcss.com/docs/scroll-margin
3455
- */
3456
- "scroll-m": [{
3457
- "scroll-m": x()
3458
- }],
3459
- /**
3460
- * Scroll Margin X
3461
- * @see https://tailwindcss.com/docs/scroll-margin
3462
- */
3463
- "scroll-mx": [{
3464
- "scroll-mx": x()
3465
- }],
3466
- /**
3467
- * Scroll Margin Y
3468
- * @see https://tailwindcss.com/docs/scroll-margin
3469
- */
3470
- "scroll-my": [{
3471
- "scroll-my": x()
3472
- }],
3473
- /**
3474
- * Scroll Margin Start
3475
- * @see https://tailwindcss.com/docs/scroll-margin
3476
- */
3477
- "scroll-ms": [{
3478
- "scroll-ms": x()
3479
- }],
3480
- /**
3481
- * Scroll Margin End
3482
- * @see https://tailwindcss.com/docs/scroll-margin
3483
- */
3484
- "scroll-me": [{
3485
- "scroll-me": x()
3486
- }],
3487
- /**
3488
- * Scroll Margin Top
3489
- * @see https://tailwindcss.com/docs/scroll-margin
3490
- */
3491
- "scroll-mt": [{
3492
- "scroll-mt": x()
3493
- }],
3494
- /**
3495
- * Scroll Margin Right
3496
- * @see https://tailwindcss.com/docs/scroll-margin
3497
- */
3498
- "scroll-mr": [{
3499
- "scroll-mr": x()
3500
- }],
3501
- /**
3502
- * Scroll Margin Bottom
3503
- * @see https://tailwindcss.com/docs/scroll-margin
3504
- */
3505
- "scroll-mb": [{
3506
- "scroll-mb": x()
3507
- }],
3508
- /**
3509
- * Scroll Margin Left
3510
- * @see https://tailwindcss.com/docs/scroll-margin
3511
- */
3512
- "scroll-ml": [{
3513
- "scroll-ml": x()
3514
- }],
3515
- /**
3516
- * Scroll Padding
3517
- * @see https://tailwindcss.com/docs/scroll-padding
3518
- */
3519
- "scroll-p": [{
3520
- "scroll-p": x()
3521
- }],
3522
- /**
3523
- * Scroll Padding X
3524
- * @see https://tailwindcss.com/docs/scroll-padding
3525
- */
3526
- "scroll-px": [{
3527
- "scroll-px": x()
3528
- }],
3529
- /**
3530
- * Scroll Padding Y
3531
- * @see https://tailwindcss.com/docs/scroll-padding
3532
- */
3533
- "scroll-py": [{
3534
- "scroll-py": x()
3535
- }],
3536
- /**
3537
- * Scroll Padding Start
3538
- * @see https://tailwindcss.com/docs/scroll-padding
3539
- */
3540
- "scroll-ps": [{
3541
- "scroll-ps": x()
3542
- }],
3543
- /**
3544
- * Scroll Padding End
3545
- * @see https://tailwindcss.com/docs/scroll-padding
3546
- */
3547
- "scroll-pe": [{
3548
- "scroll-pe": x()
3549
- }],
3550
- /**
3551
- * Scroll Padding Top
3552
- * @see https://tailwindcss.com/docs/scroll-padding
3553
- */
3554
- "scroll-pt": [{
3555
- "scroll-pt": x()
3556
- }],
3557
- /**
3558
- * Scroll Padding Right
3559
- * @see https://tailwindcss.com/docs/scroll-padding
3560
- */
3561
- "scroll-pr": [{
3562
- "scroll-pr": x()
3563
- }],
3564
- /**
3565
- * Scroll Padding Bottom
3566
- * @see https://tailwindcss.com/docs/scroll-padding
3567
- */
3568
- "scroll-pb": [{
3569
- "scroll-pb": x()
3570
- }],
3571
- /**
3572
- * Scroll Padding Left
3573
- * @see https://tailwindcss.com/docs/scroll-padding
3574
- */
3575
- "scroll-pl": [{
3576
- "scroll-pl": x()
3577
- }],
3578
- /**
3579
- * Scroll Snap Align
3580
- * @see https://tailwindcss.com/docs/scroll-snap-align
3581
- */
3582
- "snap-align": [{
3583
- snap: ["start", "end", "center", "align-none"]
3584
- }],
3585
- /**
3586
- * Scroll Snap Stop
3587
- * @see https://tailwindcss.com/docs/scroll-snap-stop
3588
- */
3589
- "snap-stop": [{
3590
- snap: ["normal", "always"]
3591
- }],
3592
- /**
3593
- * Scroll Snap Type
3594
- * @see https://tailwindcss.com/docs/scroll-snap-type
3595
- */
3596
- "snap-type": [{
3597
- snap: ["none", "x", "y", "both"]
3598
- }],
3599
- /**
3600
- * Scroll Snap Type Strictness
3601
- * @see https://tailwindcss.com/docs/scroll-snap-type
3602
- */
3603
- "snap-strictness": [{
3604
- snap: ["mandatory", "proximity"]
3605
- }],
3606
- /**
3607
- * Touch Action
3608
- * @see https://tailwindcss.com/docs/touch-action
3609
- */
3610
- touch: [{
3611
- touch: ["auto", "none", "manipulation"]
3612
- }],
3613
- /**
3614
- * Touch Action X
3615
- * @see https://tailwindcss.com/docs/touch-action
3616
- */
3617
- "touch-x": [{
3618
- "touch-pan": ["x", "left", "right"]
3619
- }],
3620
- /**
3621
- * Touch Action Y
3622
- * @see https://tailwindcss.com/docs/touch-action
3623
- */
3624
- "touch-y": [{
3625
- "touch-pan": ["y", "up", "down"]
3626
- }],
3627
- /**
3628
- * Touch Action Pinch Zoom
3629
- * @see https://tailwindcss.com/docs/touch-action
3630
- */
3631
- "touch-pz": ["touch-pinch-zoom"],
3632
- /**
3633
- * User Select
3634
- * @see https://tailwindcss.com/docs/user-select
3635
- */
3636
- select: [{
3637
- select: ["none", "text", "all", "auto"]
3638
- }],
3639
- /**
3640
- * Will Change
3641
- * @see https://tailwindcss.com/docs/will-change
3642
- */
3643
- "will-change": [{
3644
- "will-change": ["auto", "scroll", "contents", "transform", b, g]
3645
- }],
3646
- // -----------
3647
- // --- SVG ---
3648
- // -----------
3649
- /**
3650
- * Fill
3651
- * @see https://tailwindcss.com/docs/fill
3652
- */
3653
- fill: [{
3654
- fill: ["none", ...h()]
3655
- }],
3656
- /**
3657
- * Stroke Width
3658
- * @see https://tailwindcss.com/docs/stroke-width
3659
- */
3660
- "stroke-w": [{
3661
- stroke: [_, fe, re, Te]
3662
- }],
3663
- /**
3664
- * Stroke
3665
- * @see https://tailwindcss.com/docs/stroke
3666
- */
3667
- stroke: [{
3668
- stroke: ["none", ...h()]
3669
- }],
3670
- // ---------------------
3671
- // --- Accessibility ---
3672
- // ---------------------
3673
- /**
3674
- * Forced Color Adjust
3675
- * @see https://tailwindcss.com/docs/forced-color-adjust
3676
- */
3677
- "forced-color-adjust": [{
3678
- "forced-color-adjust": ["auto", "none"]
3679
- }]
3680
- },
3681
- conflictingClassGroups: {
3682
- overflow: ["overflow-x", "overflow-y"],
3683
- overscroll: ["overscroll-x", "overscroll-y"],
3684
- inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
3685
- "inset-x": ["right", "left"],
3686
- "inset-y": ["top", "bottom"],
3687
- flex: ["basis", "grow", "shrink"],
3688
- gap: ["gap-x", "gap-y"],
3689
- p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
3690
- px: ["pr", "pl"],
3691
- py: ["pt", "pb"],
3692
- m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
3693
- mx: ["mr", "ml"],
3694
- my: ["mt", "mb"],
3695
- size: ["w", "h"],
3696
- "font-size": ["leading"],
3697
- "fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
3698
- "fvn-ordinal": ["fvn-normal"],
3699
- "fvn-slashed-zero": ["fvn-normal"],
3700
- "fvn-figure": ["fvn-normal"],
3701
- "fvn-spacing": ["fvn-normal"],
3702
- "fvn-fraction": ["fvn-normal"],
3703
- "line-clamp": ["display", "overflow"],
3704
- rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l", "rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr", "rounded-br", "rounded-bl"],
3705
- "rounded-s": ["rounded-ss", "rounded-es"],
3706
- "rounded-e": ["rounded-se", "rounded-ee"],
3707
- "rounded-t": ["rounded-tl", "rounded-tr"],
3708
- "rounded-r": ["rounded-tr", "rounded-br"],
3709
- "rounded-b": ["rounded-br", "rounded-bl"],
3710
- "rounded-l": ["rounded-tl", "rounded-bl"],
3711
- "border-spacing": ["border-spacing-x", "border-spacing-y"],
3712
- "border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
3713
- "border-w-x": ["border-w-r", "border-w-l"],
3714
- "border-w-y": ["border-w-t", "border-w-b"],
3715
- "border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
3716
- "border-color-x": ["border-color-r", "border-color-l"],
3717
- "border-color-y": ["border-color-t", "border-color-b"],
3718
- translate: ["translate-x", "translate-y", "translate-none"],
3719
- "translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
3720
- "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
3721
- "scroll-mx": ["scroll-mr", "scroll-ml"],
3722
- "scroll-my": ["scroll-mt", "scroll-mb"],
3723
- "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
3724
- "scroll-px": ["scroll-pr", "scroll-pl"],
3725
- "scroll-py": ["scroll-pt", "scroll-pb"],
3726
- touch: ["touch-x", "touch-y", "touch-pz"],
3727
- "touch-x": ["touch"],
3728
- "touch-y": ["touch"],
3729
- "touch-pz": ["touch"]
3730
- },
3731
- conflictingClassGroupModifiers: {
3732
- "font-size": ["leading"]
3733
- },
3734
- orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3735
- };
3736
- }, $t = /* @__PURE__ */ _t(Gt);
3737
- function j(...e) {
3738
- return $t(mr(e));
3739
- }
3740
- function un({
3741
- className: e,
3742
- ...t
3743
- }) {
3744
- return /* @__PURE__ */ R.jsx(
3745
- lt,
3746
- {
3747
- "data-slot": "avatar",
3748
- className: j(
3749
- "relative flex size-8 shrink-0 overflow-hidden rounded-full",
3750
- e
3751
- ),
3752
- ...t
3753
- }
3754
- );
3755
- }
3756
- const rr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, tr = mr, kr = (e, t) => (r) => {
3757
- var n;
3758
- if (t?.variants == null) return tr(e, r?.class, r?.className);
3759
- const { variants: o, defaultVariants: i } = t, d = Object.keys(o).map((a) => {
3760
- const p = r?.[a], l = i?.[a];
3761
- if (p === null) return null;
3762
- const s = rr(p) || rr(l);
3763
- return o[a][s];
3764
- }), u = r && Object.entries(r).reduce((a, p) => {
3765
- let [l, s] = p;
3766
- return s === void 0 || (a[l] = s), a;
3767
- }, {}), c = t == null || (n = t.compoundVariants) === null || n === void 0 ? void 0 : n.reduce((a, p) => {
3768
- let { class: l, className: s, ...m } = p;
3769
- return Object.entries(m).every((y) => {
3770
- let [v, k] = y;
3771
- return Array.isArray(k) ? k.includes({
3772
- ...i,
3773
- ...u
3774
- }[v]) : {
3775
- ...i,
3776
- ...u
3777
- }[v] === k;
3778
- }) ? [
3779
- ...a,
3780
- l,
3781
- s
3782
- ] : a;
3783
- }, []);
3784
- return tr(e, d, c, r?.class, r?.className);
3785
- }, Ut = kr(
3786
- "inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",
3787
- {
3788
- variants: {
3789
- variant: {
3790
- default: "border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
3791
- secondary: "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
3792
- destructive: "border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
3793
- outline: "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"
3794
- }
3795
- },
3796
- defaultVariants: {
3797
- variant: "default"
3798
- }
3799
- }
3800
- );
3801
- function fn({
3802
- className: e,
3803
- variant: t,
3804
- asChild: r = !1,
3805
- ...n
3806
- }) {
3807
- const o = r ? Ie : "span";
3808
- return /* @__PURE__ */ R.jsx(
3809
- o,
3810
- {
3811
- "data-slot": "badge",
3812
- className: j(Ut({ variant: t }), e),
3813
- ...n
3814
- }
3815
- );
3816
- }
3817
- const Bt = kr(
3818
- "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:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
3819
- {
3820
- variants: {
3821
- variant: {
3822
- default: "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
3823
- destructive: "bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
3824
- outline: "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
3825
- secondary: "bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",
3826
- ghost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
3827
- link: "text-primary underline-offset-4 hover:underline"
3828
- },
3829
- size: {
3830
- default: "h-9 px-4 py-2 has-[>svg]:px-3",
3831
- sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
3832
- lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
3833
- icon: "size-9"
3834
- }
3835
- },
3836
- defaultVariants: {
3837
- variant: "default",
3838
- size: "default"
3839
- }
3840
- }
3841
- );
3842
- function mn({
3843
- className: e,
3844
- variant: t,
3845
- size: r,
3846
- asChild: n = !1,
3847
- ...o
3848
- }) {
3849
- const i = n ? Ie : "button";
3850
- return /* @__PURE__ */ R.jsx(
3851
- i,
3852
- {
3853
- "data-slot": "button",
3854
- className: j(Bt({ variant: t, size: r, className: e })),
3855
- ...o
3856
- }
3857
- );
3858
- }
3859
- function pn({ className: e, ...t }) {
3860
- return /* @__PURE__ */ R.jsx(
3861
- "div",
3862
- {
3863
- "data-slot": "card",
3864
- className: j(
3865
- "bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",
3866
- e
3867
- ),
3868
- ...t
3869
- }
3870
- );
3871
- }
3872
- function gn({ className: e, ...t }) {
3873
- return /* @__PURE__ */ R.jsx(
3874
- "div",
3875
- {
3876
- "data-slot": "card-header",
3877
- className: j(
3878
- "@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",
3879
- e
3880
- ),
3881
- ...t
3882
- }
3883
- );
3884
- }
3885
- function bn({ className: e, ...t }) {
3886
- return /* @__PURE__ */ R.jsx(
3887
- "div",
3888
- {
3889
- "data-slot": "card-title",
3890
- className: j("leading-none font-semibold", e),
3891
- ...t
3892
- }
3893
- );
3894
- }
3895
- function yn({ className: e, ...t }) {
3896
- return /* @__PURE__ */ R.jsx(
3897
- "div",
3898
- {
3899
- "data-slot": "card-description",
3900
- className: j("text-muted-foreground text-sm", e),
3901
- ...t
3902
- }
3903
- );
3904
- }
3905
- function vn({ className: e, ...t }) {
3906
- return /* @__PURE__ */ R.jsx(
3907
- "div",
3908
- {
3909
- "data-slot": "card-action",
3910
- className: j(
3911
- "col-start-2 row-span-2 row-start-1 self-start justify-self-end",
3912
- e
3913
- ),
3914
- ...t
3915
- }
3916
- );
3917
- }
3918
- function hn({ className: e, ...t }) {
3919
- return /* @__PURE__ */ R.jsx(
3920
- "div",
3921
- {
3922
- "data-slot": "card-content",
3923
- className: j("px-6", e),
3924
- ...t
3925
- }
3926
- );
3927
- }
3928
- function xn({ className: e, ...t }) {
3929
- return /* @__PURE__ */ R.jsx(
3930
- "div",
3931
- {
3932
- "data-slot": "card-footer",
3933
- className: j("flex items-center px-6 [.border-t]:pt-6", e),
3934
- ...t
3935
- }
3936
- );
3937
- }
3938
- var Ht = "Label", Er = S.forwardRef((e, t) => /* @__PURE__ */ R.jsx(
3939
- _e.label,
3940
- {
3941
- ...e,
3942
- ref: t,
3943
- onMouseDown: (r) => {
3944
- r.target.closest("button, input, select, textarea") || (e.onMouseDown?.(r), !r.defaultPrevented && r.detail > 1 && r.preventDefault());
3945
- }
3946
- }
3947
- ));
3948
- Er.displayName = Ht;
3949
- var Wt = Er, Yt = (e) => e.type === "checkbox", me = (e) => e instanceof Date, Ve = (e) => e == null;
3950
- const Or = (e) => typeof e == "object";
3951
- var te = (e) => !Ve(e) && !Array.isArray(e) && Or(e) && !me(e), qt = (e) => te(e) && e.target ? Yt(e.target) ? e.target.checked : e.target.value : e, Kt = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, Xt = (e, t) => e.has(Kt(t)), Jt = (e) => {
3952
- const t = e.constructor && e.constructor.prototype;
3953
- return te(t) && t.hasOwnProperty("isPrototypeOf");
3954
- }, Zt = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
3955
- function Rr(e) {
3956
- let t;
3957
- const r = Array.isArray(e), n = typeof FileList < "u" ? e instanceof FileList : !1;
3958
- if (e instanceof Date)
3959
- t = new Date(e);
3960
- else if (!(Zt && (e instanceof Blob || n)) && (r || te(e)))
3961
- if (t = r ? [] : Object.create(Object.getPrototypeOf(e)), !r && !Jt(e))
3962
- t = e;
3963
- else
3964
- for (const o in e)
3965
- e.hasOwnProperty(o) && (t[o] = Rr(e[o]));
3966
- else
3967
- return e;
3968
- return t;
3969
- }
3970
- var Tr = (e) => /^\w*$/.test(e), Le = (e) => e === void 0, Qt = (e) => Array.isArray(e) ? e.filter(Boolean) : [], Ar = (e) => Qt(e.replace(/["|']|\]/g, "").split(/\.|\[/)), G = (e, t, r) => {
3971
- if (!t || !te(e))
3972
- return r;
3973
- const n = (Tr(t) ? [t] : Ar(t)).reduce((o, i) => Ve(o) ? o : o[i], e);
3974
- return Le(n) || n === e ? Le(e[t]) ? r : e[t] : n;
3975
- }, Ae = (e) => typeof e == "boolean", nr = (e, t, r) => {
3976
- let n = -1;
3977
- const o = Tr(t) ? [t] : Ar(t), i = o.length, d = i - 1;
3978
- for (; ++n < i; ) {
3979
- const u = o[n];
3980
- let c = r;
3981
- if (n !== d) {
3982
- const a = e[u];
3983
- c = te(a) || Array.isArray(a) ? a : isNaN(+o[n + 1]) ? {} : [];
3984
- }
3985
- if (u === "__proto__" || u === "constructor" || u === "prototype")
3986
- return;
3987
- e[u] = c, e = e[u];
3988
- }
3989
- };
3990
- const or = {
3991
- BLUR: "blur",
3992
- CHANGE: "change"
3993
- }, sr = {
3994
- all: "all"
3995
- }, Fe = O.createContext(null);
3996
- Fe.displayName = "HookFormContext";
3997
- const Se = () => O.useContext(Fe), en = (e) => {
3998
- const { children: t, ...r } = e;
3999
- return O.createElement(Fe.Provider, { value: r }, t);
4000
- };
4001
- var rn = (e, t, r, n = !0) => {
4002
- const o = {
4003
- defaultValues: t._defaultValues
4004
- };
4005
- for (const i in e)
4006
- Object.defineProperty(o, i, {
4007
- get: () => {
4008
- const d = i;
4009
- return t._proxyFormState[d] !== sr.all && (t._proxyFormState[d] = !n || sr.all), r && (r[d] = !0), e[d];
4010
- }
4011
- });
4012
- return o;
4013
- };
4014
- const Cr = typeof window < "u" ? O.useLayoutEffect : O.useEffect;
4015
- function Nr(e) {
4016
- const t = Se(), { control: r = t.control, disabled: n, name: o, exact: i } = e || {}, [d, u] = O.useState(r._formState), c = O.useRef({
4017
- isDirty: !1,
4018
- isLoading: !1,
4019
- dirtyFields: !1,
4020
- touchedFields: !1,
4021
- validatingFields: !1,
4022
- isValidating: !1,
4023
- isValid: !1,
4024
- errors: !1
4025
- });
4026
- return Cr(() => r._subscribe({
4027
- name: o,
4028
- formState: c.current,
4029
- exact: i,
4030
- callback: (a) => {
4031
- !n && u({
4032
- ...r._formState,
4033
- ...a
4034
- });
4035
- }
4036
- }), [o, n, i]), O.useEffect(() => {
4037
- c.current.isValid && r._setValid(!0);
4038
- }, [r]), O.useMemo(() => rn(d, r, c.current, !1), [d, r]);
4039
- }
4040
- var tn = (e) => typeof e == "string", nn = (e, t, r, n, o) => tn(e) ? G(r, e, o) : Array.isArray(e) ? e.map((i) => G(r, i)) : r, ar = (e) => Ve(e) || !Or(e);
4041
- function Pr(e, t, r = /* @__PURE__ */ new WeakSet()) {
4042
- if (ar(e) || ar(t))
4043
- return e === t;
4044
- if (me(e) && me(t))
4045
- return e.getTime() === t.getTime();
4046
- const n = Object.keys(e), o = Object.keys(t);
4047
- if (n.length !== o.length)
4048
- return !1;
4049
- if (r.has(e) || r.has(t))
4050
- return !0;
4051
- r.add(e), r.add(t);
4052
- for (const i of n) {
4053
- const d = e[i];
4054
- if (!o.includes(i))
4055
- return !1;
4056
- if (i !== "ref") {
4057
- const u = t[i];
4058
- if (me(d) && me(u) || te(d) && te(u) || Array.isArray(d) && Array.isArray(u) ? !Pr(d, u, r) : d !== u)
4059
- return !1;
4060
- }
4061
- }
4062
- return !0;
4063
- }
4064
- function on(e) {
4065
- const t = Se(), { control: r = t.control, name: n, defaultValue: o, disabled: i, exact: d, compute: u } = e || {}, c = O.useRef(o), a = O.useRef(u), p = O.useRef(void 0);
4066
- a.current = u;
4067
- const l = O.useMemo(() => r._getWatch(n, c.current), [r, n]), [s, m] = O.useState(a.current ? a.current(l) : l);
4068
- return Cr(() => r._subscribe({
4069
- name: n,
4070
- formState: {
4071
- values: !0
4072
- },
4073
- exact: d,
4074
- callback: (y) => {
4075
- if (!i) {
4076
- const v = nn(n, r._names, y.values || r._formValues, !1, c.current);
4077
- if (a.current) {
4078
- const k = a.current(v);
4079
- Pr(k, p.current) || (m(k), p.current = k);
4080
- } else
4081
- m(v);
4082
- }
4083
- }
4084
- }), [r, i, n, d]), O.useEffect(() => r._removeUnmounted()), s;
4085
- }
4086
- function sn(e) {
4087
- const t = Se(), { name: r, disabled: n, control: o = t.control, shouldUnregister: i, defaultValue: d } = e, u = Xt(o._names.array, r), c = O.useMemo(() => G(o._formValues, r, G(o._defaultValues, r, d)), [o, r, d]), a = on({
4088
- control: o,
4089
- name: r,
4090
- defaultValue: c,
4091
- exact: !0
4092
- }), p = Nr({
4093
- control: o,
4094
- name: r,
4095
- exact: !0
4096
- }), l = O.useRef(e), s = O.useRef(void 0), m = O.useRef(o.register(r, {
4097
- ...e.rules,
4098
- value: a,
4099
- ...Ae(e.disabled) ? { disabled: e.disabled } : {}
4100
- }));
4101
- l.current = e;
4102
- const y = O.useMemo(() => Object.defineProperties({}, {
4103
- invalid: {
4104
- enumerable: !0,
4105
- get: () => !!G(p.errors, r)
4106
- },
4107
- isDirty: {
4108
- enumerable: !0,
4109
- get: () => !!G(p.dirtyFields, r)
4110
- },
4111
- isTouched: {
4112
- enumerable: !0,
4113
- get: () => !!G(p.touchedFields, r)
4114
- },
4115
- isValidating: {
4116
- enumerable: !0,
4117
- get: () => !!G(p.validatingFields, r)
4118
- },
4119
- error: {
4120
- enumerable: !0,
4121
- get: () => G(p.errors, r)
4122
- }
4123
- }), [p, r]), v = O.useCallback((P) => m.current.onChange({
4124
- target: {
4125
- value: qt(P),
4126
- name: r
4127
- },
4128
- type: or.CHANGE
4129
- }), [r]), k = O.useCallback(() => m.current.onBlur({
4130
- target: {
4131
- value: G(o._formValues, r),
4132
- name: r
4133
- },
4134
- type: or.BLUR
4135
- }), [r, o._formValues]), N = O.useCallback((P) => {
4136
- const V = G(o._fields, r);
4137
- V && P && (V._f.ref = {
4138
- focus: () => P.focus && P.focus(),
4139
- select: () => P.select && P.select(),
4140
- setCustomValidity: (U) => P.setCustomValidity(U),
4141
- reportValidity: () => P.reportValidity()
4142
- });
4143
- }, [o._fields, r]), $ = O.useMemo(() => ({
4144
- name: r,
4145
- value: a,
4146
- ...Ae(n) || p.disabled ? { disabled: p.disabled || n } : {},
4147
- onChange: v,
4148
- onBlur: k,
4149
- ref: N
4150
- }), [r, n, p.disabled, v, k, N, a]);
4151
- return O.useEffect(() => {
4152
- const P = o._options.shouldUnregister || i, V = s.current;
4153
- V && V !== r && !u && o.unregister(V), o.register(r, {
4154
- ...l.current.rules,
4155
- ...Ae(l.current.disabled) ? { disabled: l.current.disabled } : {}
4156
- });
4157
- const U = (z, q) => {
4158
- const x = G(o._fields, z);
4159
- x && x._f && (x._f.mount = q);
4160
- };
4161
- if (U(r, !0), P) {
4162
- const z = Rr(G(o._options.defaultValues, r));
4163
- nr(o._defaultValues, r, z), Le(G(o._formValues, r)) && nr(o._formValues, r, z);
4164
- }
4165
- return !u && o.register(r), s.current = r, () => {
4166
- (u ? P && !o._state.action : P) ? o.unregister(r) : U(r, !1);
4167
- };
4168
- }, [r, o, u, i]), O.useEffect(() => {
4169
- o._setDisabledField({
4170
- disabled: n,
4171
- name: r
4172
- });
4173
- }, [n, r, o]), O.useMemo(() => ({
4174
- field: $,
4175
- formState: p,
4176
- fieldState: y
4177
- }), [$, p, y]);
4178
- }
4179
- const an = (e) => e.render(sn(e));
4180
- function ln({
4181
- className: e,
4182
- ...t
4183
- }) {
4184
- return /* @__PURE__ */ R.jsx(
4185
- Wt,
4186
- {
4187
- "data-slot": "label",
4188
- className: j(
4189
- "flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
4190
- e
4191
- ),
4192
- ...t
4193
- }
4194
- );
4195
- }
4196
- const wn = en, Mr = S.createContext(
4197
- {}
4198
- ), _n = ({
4199
- ...e
4200
- }) => /* @__PURE__ */ R.jsx(Mr.Provider, { value: { name: e.name }, children: /* @__PURE__ */ R.jsx(an, { ...e }) }), ke = () => {
4201
- const e = S.useContext(Mr), t = S.useContext(Lr), { getFieldState: r } = Se(), n = Nr({ name: e.name }), o = r(e.name, n);
4202
- if (!e)
4203
- throw new Error("useFormField should be used within <FormField>");
4204
- const { id: i } = t;
4205
- return {
4206
- id: i,
4207
- name: e.name,
4208
- formItemId: `${i}-form-item`,
4209
- formDescriptionId: `${i}-form-item-description`,
4210
- formMessageId: `${i}-form-item-message`,
4211
- ...o
4212
- };
4213
- }, Lr = S.createContext(
4214
- {}
4215
- );
4216
- function Sn({ className: e, ...t }) {
4217
- const r = S.useId();
4218
- return /* @__PURE__ */ R.jsx(Lr.Provider, { value: { id: r }, children: /* @__PURE__ */ R.jsx(
4219
- "div",
4220
- {
4221
- "data-slot": "form-item",
4222
- className: j("grid gap-2", e),
4223
- ...t
4224
- }
4225
- ) });
4226
- }
4227
- function kn({
4228
- className: e,
4229
- ...t
4230
- }) {
4231
- const { error: r, formItemId: n } = ke();
4232
- return /* @__PURE__ */ R.jsx(
4233
- ln,
4234
- {
4235
- "data-slot": "form-label",
4236
- "data-error": !!r,
4237
- className: j("data-[error=true]:text-destructive", e),
4238
- htmlFor: n,
4239
- ...t
4240
- }
4241
- );
4242
- }
4243
- function En({ ...e }) {
4244
- const { error: t, formItemId: r, formDescriptionId: n, formMessageId: o } = ke();
4245
- return /* @__PURE__ */ R.jsx(
4246
- Ie,
4247
- {
4248
- "data-slot": "form-control",
4249
- id: r,
4250
- "aria-describedby": t ? `${n} ${o}` : `${n}`,
4251
- "aria-invalid": !!t,
4252
- ...e
4253
- }
4254
- );
4255
- }
4256
- function On({ className: e, ...t }) {
4257
- const { formDescriptionId: r } = ke();
4258
- return /* @__PURE__ */ R.jsx(
4259
- "p",
4260
- {
4261
- "data-slot": "form-description",
4262
- id: r,
4263
- className: j("text-muted-foreground text-sm", e),
4264
- ...t
4265
- }
4266
- );
4267
- }
4268
- function Rn({ className: e, ...t }) {
4269
- const { error: r, formMessageId: n } = ke(), o = r ? String(r?.message ?? "") : t.children;
4270
- return o ? /* @__PURE__ */ R.jsx(
4271
- "p",
4272
- {
4273
- "data-slot": "form-message",
4274
- id: n,
4275
- className: j("text-destructive text-sm", e),
4276
- ...t,
4277
- children: o
4278
- }
4279
- ) : null;
4280
- }
4281
- function Tn({ className: e, type: t, ...r }) {
4282
- return /* @__PURE__ */ R.jsx(
4283
- "input",
4284
- {
4285
- type: t,
4286
- "data-slot": "input",
4287
- className: j(
4288
- "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
4289
- "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
4290
- "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
4291
- e
4292
- ),
4293
- ...r
4294
- }
4295
- );
4296
- }
4297
- export {
4298
- un as Avatar,
4299
- fn as Badge,
4300
- mn as Button,
4301
- pn as Card,
4302
- vn as CardAction,
4303
- hn as CardContent,
4304
- yn as CardDescription,
4305
- xn as CardFooter,
4306
- gn as CardHeader,
4307
- bn as CardTitle,
4308
- wn as Form,
4309
- En as FormControl,
4310
- On as FormDescription,
4311
- _n as FormField,
4312
- Sn as FormItem,
4313
- kn as FormLabel,
4314
- Rn as FormMessage,
4315
- Tn as Input,
4316
- ln as Label,
4317
- Ut as badgeVariants,
4318
- Bt as buttonVariants,
4319
- j as cn,
4320
- ke as useFormField
4321
- };