@blakesteve/roster 4.9.0 → 4.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +129 -11
- package/dist/{Table-C1JbdA7q.js → Table-D-C0ivz2.js} +2 -2
- package/dist/{Table-CoQRmik0.cjs → Table-pfb9MJtO.cjs} +2 -2
- package/dist/data-table.cjs.js +1 -1
- package/dist/data-table.es.js +2 -2
- package/dist/meta.json +3 -3
- package/dist/roster.cjs.js +3 -3
- package/dist/roster.css +1 -1
- package/dist/roster.es.js +99 -36
- package/dist/{utils-C7BfXGiM.cjs → utils-B4q42wBM.cjs} +1 -1
- package/dist/{utils-hNxf9HpA.js → utils-koxKGlVV.js} +19 -1
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +1 -1
- package/package.json +4 -3
package/dist/roster.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { o as D, Y as J, K as rt, p as Wt, m as da, n as se, q as at, r as it, $ as de, s as fe, w as Ke, V as It, t as jt, u as Ie, v as ht, x as Ae, y as Jt, z as Te, A as je, C as yr, D as ln, E as Lt, G as Rl, H as Oe, I as Al, J as fa, L as st, j as f, F as gt, M as $l, N as pa, O as Jr, P as Qn, Q as Dl, R as Ml, S as xe, B as oe, U as Fl, W as Hs, X as Ce, Z as cn, _ as ma, a0 as ga, a1 as Ll, a2 as _l, a3 as Vl, a4 as Bl, a5 as zl } from "./Table-
|
|
3
|
-
import { T as Uh, e as Gh, a6 as Yh, g as Kh, a7 as qh, c as Xh, a as Qh, b as Zh, a8 as Jh, a9 as tb, aa as eb, ab as rb, ac as sb, ad as nb, ae as ob } from "./Table-
|
|
2
|
+
import { o as D, Y as J, K as rt, p as Wt, m as da, n as se, q as at, r as it, $ as de, s as fe, w as Ke, V as It, t as jt, u as Ie, v as ht, x as Ae, y as Jt, z as Te, A as je, C as yr, D as ln, E as Lt, G as Rl, H as Oe, I as Al, J as fa, L as st, j as f, F as gt, M as $l, N as pa, O as Jr, P as Qn, Q as Dl, R as Ml, S as xe, B as oe, U as Fl, W as Hs, X as Ce, Z as cn, _ as ma, a0 as ga, a1 as Ll, a2 as _l, a3 as Vl, a4 as Bl, a5 as zl } from "./Table-D-C0ivz2.js";
|
|
3
|
+
import { T as Uh, e as Gh, a6 as Yh, g as Kh, a7 as qh, c as Xh, a as Qh, b as Zh, a8 as Jh, a9 as tb, aa as eb, ab as rb, ac as sb, ad as nb, ae as ob } from "./Table-D-C0ivz2.js";
|
|
4
4
|
import * as w from "react";
|
|
5
5
|
import S, { useState as tt, useRef as W, isValidElement as ha, useEffect as ut, useContext as lt, createContext as bt, useMemo as dt, useId as ft, useCallback as et, useSyncExternalStore as ba, useLayoutEffect as va, cloneElement as Hl, Fragment as yt, useReducer as Wl, createRef as Ul, forwardRef as xa } from "react";
|
|
6
|
-
import { c as C } from "./utils-
|
|
6
|
+
import { c as C } from "./utils-koxKGlVV.js";
|
|
7
7
|
import * as ur from "react-dom";
|
|
8
8
|
import Gl, { flushSync as Pt, createPortal as ya } from "react-dom";
|
|
9
9
|
import { toast as Vt, Toaster as Yl, resolveValue as Kl } from "react-hot-toast";
|
|
@@ -5284,7 +5284,7 @@ const k0 = st(
|
|
|
5284
5284
|
{
|
|
5285
5285
|
anchor: "bottom",
|
|
5286
5286
|
className: C(
|
|
5287
|
-
"rst:z-50 rst:mt-2 rst:rounded-md rst:px-3 rst:py-1.5 rst:text-xs rst:font-medium rst:
|
|
5287
|
+
"rst:z-50 rst:mt-2 rst:rounded-md rst:px-3 rst:py-1.5 rst:text-xs rst:font-medium rst:elevation-anchored rst:backdrop-blur-md rst:ring-1",
|
|
5288
5288
|
"rst:bg-gray-900/95 rst:text-white rst:ring-black/5 rst:dark:bg-gray-100/95 rst:dark:text-gray-900 rst:dark:ring-white/20",
|
|
5289
5289
|
"rst:transition rst:duration-200 rst:ease-in-out rst:data-closed:opacity-0 rst:data-closed:translate-y-1"
|
|
5290
5290
|
),
|
|
@@ -5415,19 +5415,19 @@ const E0 = st(
|
|
|
5415
5415
|
// surface without per-usage overrides. The tokens flip under `.dark`,
|
|
5416
5416
|
// so no dark: variants are needed. Defaults match the previous
|
|
5417
5417
|
// white / gray-900 pair exactly.
|
|
5418
|
-
white: "rst:bg-[var(--roster-card-bg)] rst:border rst:border-[var(--roster-card-border)] rst:text-[var(--roster-card-text)] rst:
|
|
5418
|
+
white: "rst:bg-[var(--roster-card-bg)] rst:border rst:border-[var(--roster-card-border)] rst:text-[var(--roster-card-text)] rst:elevation-raised",
|
|
5419
5419
|
// crisp light mode (gray-50) and translucent stained-glass dark mode
|
|
5420
5420
|
soft: "rst:bg-gray-50 rst:border rst:border-gray-100 rst:text-gray-900 rst:dark:bg-gray-900/40 rst:dark:border-gray-800/50 rst:dark:text-gray-100",
|
|
5421
5421
|
// Moody slate, baby.
|
|
5422
|
-
slate: "rst:bg-gray-700 rst:border rst:border-gray-600 rst:text-gray-100 rst:
|
|
5422
|
+
slate: "rst:bg-gray-700 rst:border rst:border-gray-600 rst:text-gray-100 rst:elevation-raised rst:dark:bg-gray-800 rst:dark:border-gray-700 rst:dark:text-gray-100",
|
|
5423
5423
|
// Primary: Fully drenched in brand color.
|
|
5424
|
-
primary: "rst:bg-primary-600 rst:border rst:border-primary-700 rst:text-white rst:
|
|
5424
|
+
primary: "rst:bg-primary-600 rst:border rst:border-primary-700 rst:text-white rst:elevation-raised rst:dark:bg-primary-900 rst:dark:border-primary-800 rst:dark:text-primary-50",
|
|
5425
5425
|
// Outline: Transparent background, just the structural border.
|
|
5426
5426
|
outline: "rst:bg-transparent rst:border rst:border-gray-200 rst:text-gray-900 rst:dark:border-gray-800 rst:dark:text-gray-100",
|
|
5427
5427
|
// Ghost: Completely invisible structure until hovered (great for clickable cards).
|
|
5428
5428
|
ghost: "rst:bg-transparent rst:border rst:border-transparent rst:text-gray-900 rst:hover:bg-gray-50 rst:dark:text-gray-100 rst:dark:hover:bg-gray-800/50",
|
|
5429
5429
|
// Upgraded to match the ActionBar's exact /50 frosted glass formula
|
|
5430
|
-
glass: "rst:bg-white/50 rst:border rst:border-white/20 rst:backdrop-blur-md rst:text-gray-900 rst:
|
|
5430
|
+
glass: "rst:bg-white/50 rst:border rst:border-white/20 rst:backdrop-blur-md rst:text-gray-900 rst:elevation-raised rst:dark:bg-gray-950/50 rst:dark:border-white/10 rst:dark:text-gray-100"
|
|
5431
5431
|
},
|
|
5432
5432
|
padding: {
|
|
5433
5433
|
none: "rst:p-0",
|
|
@@ -6149,7 +6149,7 @@ const zn = [
|
|
|
6149
6149
|
anything else in the panel — the empty message rendered in the host's
|
|
6150
6150
|
prose face while the options beside it did not. */
|
|
6151
6151
|
"rst:font-ui",
|
|
6152
|
-
"rst:z-50 rst:rounded-md rst:py-1 rst:
|
|
6152
|
+
"rst:z-50 rst:rounded-md rst:py-1 rst:elevation-anchored rst:ring-1 rst:focus:outline-hidden",
|
|
6153
6153
|
"rst:bg-[var(--roster-popover-bg)] rst:text-[var(--roster-popover-text)] rst:ring-[var(--roster-popover-border)]",
|
|
6154
6154
|
"rst:[--anchor-gap:4px]"
|
|
6155
6155
|
].join(" ");
|
|
@@ -8532,7 +8532,7 @@ function Ph({
|
|
|
8532
8532
|
collisionPadding: 8,
|
|
8533
8533
|
"data-testid": "tooltip-content",
|
|
8534
8534
|
className: C(
|
|
8535
|
-
"rst:font-ui rst:z-50 rst:max-w-60 rst:rounded-lg rst:px-3 rst:py-2 rst:text-xs rst:leading-snug rst:
|
|
8535
|
+
"rst:font-ui rst:z-50 rst:max-w-60 rst:rounded-lg rst:px-3 rst:py-2 rst:text-xs rst:leading-snug rst:elevation-anchored",
|
|
8536
8536
|
"rst:animate-in rst:fade-in-0 rst:zoom-in-95",
|
|
8537
8537
|
"rst:data-[side=bottom]:slide-in-from-top-2",
|
|
8538
8538
|
"rst:data-[side=top]:slide-in-from-bottom-2",
|
|
@@ -8671,7 +8671,7 @@ function Th({
|
|
|
8671
8671
|
] });
|
|
8672
8672
|
}
|
|
8673
8673
|
const dg = st(
|
|
8674
|
-
"rst:font-ui rst:pointer-events-auto rst:flex rst:items-start rst:gap-2.5 rst:rounded-lg rst:border rst:px-4 rst:py-3 rst:text-sm
|
|
8674
|
+
"rst:font-ui rst:pointer-events-auto rst:flex rst:items-start rst:gap-2.5 rst:rounded-lg rst:border rst:elevation-overlay rst:px-4 rst:py-3 rst:text-sm",
|
|
8675
8675
|
{
|
|
8676
8676
|
variants: {
|
|
8677
8677
|
colorScheme: {
|
|
@@ -8691,7 +8691,7 @@ const dg = st(
|
|
|
8691
8691
|
4.69:1 in dark over a white backdrop, and 55% takes that to 4.00.
|
|
8692
8692
|
The blur is what makes even this safe, by muddying the backdrop
|
|
8693
8693
|
before it shows through. */
|
|
8694
|
-
glass: "rst:bg-white/60 rst:text-gray-900 rst:backdrop-blur-xl rst:
|
|
8694
|
+
glass: "rst:bg-white/60 rst:text-gray-900 rst:backdrop-blur-xl rst:dark:bg-slate-900/60 rst:dark:text-white"
|
|
8695
8695
|
}
|
|
8696
8696
|
},
|
|
8697
8697
|
compoundVariants: [
|
|
@@ -9395,16 +9395,66 @@ const Eg = st("rst:flex rst:flex-col rst:text-left", {
|
|
|
9395
9395
|
})
|
|
9396
9396
|
] }) });
|
|
9397
9397
|
}, Pg = st(
|
|
9398
|
-
|
|
9398
|
+
/* `@container` on the card itself, with the flex layout moved to an inner
|
|
9399
|
+
element. The row/column switch is a CONTAINER query, not `md:`: `md:`
|
|
9400
|
+
asks how wide the WINDOW is, so a 228px card on a 1200px page laid itself
|
|
9401
|
+
out as a row, put the action beside the content, and squeezed the text
|
|
9402
|
+
column until it overflowed the `overflow-hidden` here.
|
|
9403
|
+
|
|
9404
|
+
An element cannot query itself, which is why the layout is one level in
|
|
9405
|
+
rather than on this element. An earlier pass wrapped the card in a
|
|
9406
|
+
container instead — that worked, and made the card a grandchild, so a
|
|
9407
|
+
consumer's `className` with `col-span-2` or `flex-1` landed on something
|
|
9408
|
+
that was no longer the grid or flex item. */
|
|
9409
|
+
"rst:@container rst:font-ui rst:relative rst:overflow-hidden rst:rounded-lg rst:border rst:p-6 rst:elevation-raised rst:transition-all",
|
|
9399
9410
|
{
|
|
9400
9411
|
variants: {
|
|
9412
|
+
/* Light-mode fills moved -50 -> -100 and borders -200 -> -600.
|
|
9413
|
+
Reported as "light mode is too white", and measured: the old surface
|
|
9414
|
+
was primary-50 on a gray-50 page at 1.03:1, with a 1.30:1 border. A
|
|
9415
|
+
call to action that cannot be seen as a distinct block is not one.
|
|
9416
|
+
|
|
9417
|
+
The fill is the smaller half. Nothing in the -50 to -100 range
|
|
9418
|
+
separates from a near-white page by ratio — -100 only reaches 1.12:1 —
|
|
9419
|
+
so it buys colour, and the BORDER is what makes the surface exist.
|
|
9420
|
+
|
|
9421
|
+
Why -600 rather than the -200/-300 the rest of the library uses on
|
|
9422
|
+
filled surfaces: NOT 1.4.11, which does not reach a tinted banner any
|
|
9423
|
+
more than it reaches `Pill`. This is a prominence decision. A call to
|
|
9424
|
+
action is the one component whose job is to be looked at first, so it
|
|
9425
|
+
is deliberately the most defined bordered block on the page, and being
|
|
9426
|
+
louder than `Card` or `ErrorState` is the intent rather than a
|
|
9427
|
+
drift. -500 was the alternative and was rejected for being uneven
|
|
9428
|
+
across schemes: amber lands at 2.06 there while primary is at 6.10.
|
|
9429
|
+
|
|
9430
|
+
Measured against the gray-50 page, every figure read from
|
|
9431
|
+
`src/tokens.css` rather than assumed — an earlier pass quoted
|
|
9432
|
+
Tailwind's ramp for `error` and `success` and was wrong by a third:
|
|
9433
|
+
|
|
9434
|
+
border -600 primary 8.34 error 7.96 gray 7.30
|
|
9435
|
+
success 4.80 info 3.92 amber 3.05
|
|
9436
|
+
text -900 on its own -100 fill
|
|
9437
|
+
gray 16.03 primary 14.02 error 13.22
|
|
9438
|
+
success 8.30 info 8.24 amber 8.15
|
|
9439
|
+
|
|
9440
|
+
`neutral` keeps `bg-white`. Deepening it to gray-100 measured 1.04:1
|
|
9441
|
+
against the page — exactly what white already measured — so it changed
|
|
9442
|
+
the "raised white card" reading for no contrast at all.
|
|
9443
|
+
|
|
9444
|
+
`info` takes `info-*`, not Tailwind's stock `blue-*` it used before.
|
|
9445
|
+
Roster ships `--roster-info-600`, and the old classes resolved to a
|
|
9446
|
+
palette a consumer cannot retheme through `--roster-*`, which is the
|
|
9447
|
+
one thing every other variant here allows.
|
|
9448
|
+
|
|
9449
|
+
Dark mode is untouched. The complaint was specific to light, and the
|
|
9450
|
+
dark surfaces already separate from a dark page. */
|
|
9401
9451
|
variant: {
|
|
9402
|
-
primary: "rst:border-primary-
|
|
9403
|
-
neutral: "rst:border-gray-
|
|
9404
|
-
warning: "rst:border-amber-
|
|
9405
|
-
error: "rst:border-error-
|
|
9406
|
-
success: "rst:border-success-
|
|
9407
|
-
info: "rst:border-
|
|
9452
|
+
primary: "rst:border-primary-600 rst:bg-primary-100 rst:text-primary-900 rst:dark:border-primary-800 rst:dark:bg-primary-900/30 rst:dark:text-primary-200",
|
|
9453
|
+
neutral: "rst:border-gray-600 rst:bg-white rst:text-gray-900 rst:dark:border-gray-700 rst:dark:bg-gray-800 rst:dark:text-gray-100",
|
|
9454
|
+
warning: "rst:border-amber-600 rst:bg-amber-100 rst:text-amber-900 rst:dark:border-amber-800 rst:dark:bg-amber-900/30 rst:dark:text-amber-200",
|
|
9455
|
+
error: "rst:border-error-600 rst:bg-error-100 rst:text-error-900 rst:dark:border-error-800 rst:dark:bg-error-900/30 rst:dark:text-error-200",
|
|
9456
|
+
success: "rst:border-success-600 rst:bg-success-100 rst:text-success-900 rst:dark:border-success-800 rst:dark:bg-success-900/30 rst:dark:text-success-200",
|
|
9457
|
+
info: "rst:border-info-600 rst:bg-info-100 rst:text-info-900 rst:dark:border-info-800 rst:dark:bg-info-900/30 rst:dark:text-info-200"
|
|
9408
9458
|
}
|
|
9409
9459
|
},
|
|
9410
9460
|
defaultVariants: {
|
|
@@ -9420,15 +9470,15 @@ const Eg = st("rst:flex rst:flex-col rst:text-left", {
|
|
|
9420
9470
|
onDismiss: o,
|
|
9421
9471
|
className: a,
|
|
9422
9472
|
...i
|
|
9423
|
-
}) => /* @__PURE__ */ f.
|
|
9424
|
-
/* @__PURE__ */ f.jsxs("div", { className: "rst:flex rst:items-
|
|
9425
|
-
s && /* @__PURE__ */ f.jsx("div", { className: "rst:
|
|
9426
|
-
/* @__PURE__ */ f.jsxs("div", { className: "rst:flex rst:flex-col rst:gap-1.5 rst:w-full", children: [
|
|
9473
|
+
}) => /* @__PURE__ */ f.jsx("div", { className: C(Pg({ variant: n }), a), ...i, children: /* @__PURE__ */ f.jsxs("div", { className: "rst:flex rst:flex-col rst:gap-4 rst:@[32rem]:flex-row rst:@[32rem]:items-center rst:@[32rem]:justify-between", children: [
|
|
9474
|
+
/* @__PURE__ */ f.jsxs("div", { className: "rst:flex rst:flex-col rst:items-center rst:gap-4 rst:@[32rem]:flex-row rst:@[32rem]:items-start", children: [
|
|
9475
|
+
s && /* @__PURE__ */ f.jsx("div", { className: "rst:shrink-0 rst:text-current rst:@[32rem]:mt-1", children: s }),
|
|
9476
|
+
/* @__PURE__ */ f.jsxs("div", { className: "rst:flex rst:min-w-0 rst:flex-col rst:gap-1.5 rst:w-full", children: [
|
|
9427
9477
|
/* @__PURE__ */ f.jsx("h3", { className: "rst:text-lg rst:font-bold rst:leading-tight rst:tracking-tight rst:text-current", children: t }),
|
|
9428
9478
|
r && /* @__PURE__ */ f.jsx("div", { className: "rst:max-w-prose rst:text-sm rst:leading-relaxed rst:text-current rst:opacity-90 rst:dark:opacity-80", children: r })
|
|
9429
9479
|
] })
|
|
9430
9480
|
] }),
|
|
9431
|
-
e && /* @__PURE__ */ f.jsx("div", { className: "rst:shrink-0 rst:pt-2 rst:
|
|
9481
|
+
e && /* @__PURE__ */ f.jsx("div", { className: "rst:flex rst:w-full rst:shrink-0 rst:pt-2 rst:[&>*]:w-full rst:@[32rem]:w-auto rst:@[32rem]:pt-0 rst:@[32rem]:[&>*]:w-auto", children: e }),
|
|
9432
9482
|
o && /* @__PURE__ */ f.jsx("div", { className: "rst:absolute rst:right-2 rst:top-2", children: /* @__PURE__ */ f.jsx(
|
|
9433
9483
|
oe,
|
|
9434
9484
|
{
|
|
@@ -9440,7 +9490,7 @@ const Eg = st("rst:flex rst:flex-col rst:text-left", {
|
|
|
9440
9490
|
children: /* @__PURE__ */ f.jsx(gt, { icon: xe, className: "rst:h-4 rst:w-4" })
|
|
9441
9491
|
}
|
|
9442
9492
|
) })
|
|
9443
|
-
] }), Ig = st(
|
|
9493
|
+
] }) }), Ig = st(
|
|
9444
9494
|
"rst:font-ui rst:flex rst:flex-col rst:items-center rst:justify-center rst:text-center rst:p-8 rst:rounded-lg rst:transition-colors",
|
|
9445
9495
|
{
|
|
9446
9496
|
variants: {
|
|
@@ -9611,7 +9661,7 @@ const Eg = st("rst:flex rst:flex-col rst:text-left", {
|
|
|
9611
9661
|
);
|
|
9612
9662
|
jg.displayName = "MatchupCard";
|
|
9613
9663
|
const Rg = st(
|
|
9614
|
-
"rst:font-ui rst:w-full rst:z-40 rst:
|
|
9664
|
+
"rst:font-ui rst:w-full rst:z-40 rst:elevation-anchored rst:backdrop-blur-md rst:transition-all",
|
|
9615
9665
|
{
|
|
9616
9666
|
variants: {
|
|
9617
9667
|
variant: {
|
|
@@ -9917,7 +9967,11 @@ const th = (t) => {
|
|
|
9917
9967
|
}
|
|
9918
9968
|
}
|
|
9919
9969
|
), rh = st(
|
|
9920
|
-
|
|
9970
|
+
/* Tracking steps down in a narrow container. The labels are what set each column's
|
|
9971
|
+
width — "SECONDS" is wider than any digit pair — and dropping 0.1em to
|
|
9972
|
+
0.025em across those 23 characters recovers about 17px, measured. The
|
|
9973
|
+
tracked-out look is kept everywhere it fits. */
|
|
9974
|
+
"rst:uppercase rst:tracking-wide rst:@[22rem]:tracking-widest rst:mt-1 rst:transition-colors rst:text-gray-500 rst:dark:text-gray-400",
|
|
9921
9975
|
{
|
|
9922
9976
|
variants: {
|
|
9923
9977
|
size: {
|
|
@@ -9934,7 +9988,16 @@ const th = (t) => {
|
|
|
9934
9988
|
}
|
|
9935
9989
|
), Br = ({ value: t, label: r, size: e, variant: s }) => /* @__PURE__ */ f.jsxs("div", { className: "rst:flex rst:flex-col rst:items-center", children: [
|
|
9936
9990
|
/* @__PURE__ */ f.jsx("span", { className: C(eh({ size: e, variant: s })), children: String(t).padStart(2, "0") }),
|
|
9937
|
-
/* @__PURE__ */ f.jsx(
|
|
9991
|
+
/* @__PURE__ */ f.jsx(
|
|
9992
|
+
"span",
|
|
9993
|
+
{
|
|
9994
|
+
className: C(
|
|
9995
|
+
rh({ size: e }),
|
|
9996
|
+
"rst:@max-[22rem]:text-[9px]"
|
|
9997
|
+
),
|
|
9998
|
+
children: r
|
|
9999
|
+
}
|
|
10000
|
+
)
|
|
9938
10001
|
] }), sh = S.forwardRef(
|
|
9939
10002
|
({
|
|
9940
10003
|
targetDate: t,
|
|
@@ -9957,7 +10020,7 @@ const th = (t) => {
|
|
|
9957
10020
|
...a,
|
|
9958
10021
|
children: /* @__PURE__ */ f.jsx("h3", { className: C(ca({ size: e }), "rst:mb-0"), children: o })
|
|
9959
10022
|
}
|
|
9960
|
-
) : null : /* @__PURE__ */ f.
|
|
10023
|
+
) : null : /* @__PURE__ */ f.jsx(
|
|
9961
10024
|
"div",
|
|
9962
10025
|
{
|
|
9963
10026
|
ref: i,
|
|
@@ -9966,9 +10029,9 @@ const th = (t) => {
|
|
|
9966
10029
|
n
|
|
9967
10030
|
),
|
|
9968
10031
|
...a,
|
|
9969
|
-
children: [
|
|
10032
|
+
children: /* @__PURE__ */ f.jsxs("div", { className: "rst:@container rst:w-full", children: [
|
|
9970
10033
|
r && /* @__PURE__ */ f.jsx("h3", { className: C(ca({ size: e })), children: r }),
|
|
9971
|
-
/* @__PURE__ */ f.jsxs("div", { className: "rst:flex rst:justify-center rst:gap-
|
|
10034
|
+
/* @__PURE__ */ f.jsxs("div", { className: "rst:flex rst:justify-center rst:gap-3 rst:@[22rem]:gap-6 rst:@[35rem]:gap-8", children: [
|
|
9972
10035
|
/* @__PURE__ */ f.jsx(
|
|
9973
10036
|
Br,
|
|
9974
10037
|
{
|
|
@@ -10006,14 +10069,14 @@ const th = (t) => {
|
|
|
10006
10069
|
}
|
|
10007
10070
|
)
|
|
10008
10071
|
] })
|
|
10009
|
-
]
|
|
10072
|
+
] })
|
|
10010
10073
|
}
|
|
10011
10074
|
);
|
|
10012
10075
|
}
|
|
10013
10076
|
);
|
|
10014
10077
|
sh.displayName = "Countdown";
|
|
10015
10078
|
const nh = st(
|
|
10016
|
-
"rst:relative rst:w-full rst:transform rst:overflow-hidden rst:rounded-2xl rst:p-6 rst:text-left rst:align-middle rst:
|
|
10079
|
+
"rst:relative rst:w-full rst:transform rst:overflow-hidden rst:rounded-2xl rst:p-6 rst:text-left rst:align-middle rst:elevation-overlay rst:transition-all rst:border",
|
|
10017
10080
|
{
|
|
10018
10081
|
variants: {
|
|
10019
10082
|
size: {
|
|
@@ -10063,7 +10126,7 @@ const nh = st(
|
|
|
10063
10126
|
scheme, so the page-level tokens are already right for them. */
|
|
10064
10127
|
slate: "rst:bg-gray-700 rst:border-gray-600 rst:text-gray-100 rst:dark:bg-gray-900 rst:dark:border-gray-800 rst:[--roster-ring:var(--roster-primary-400,#5ea3de)] rst:[--roster-ring-offset:var(--roster-gray-700,#44403c)] rst:dark:[--roster-ring-offset:var(--roster-gray-900,#1c1917)] rst:[--roster-control-text:var(--roster-gray-100,#f5f5f4)] rst:[--roster-control-border:var(--roster-gray-400,#a8a29e)] rst:[--roster-control-border-focus:var(--roster-primary-400,#5ea3de)]",
|
|
10065
10128
|
primary: "rst:bg-primary-700 rst:border-primary-600 rst:text-white rst:dark:bg-primary-950 rst:dark:border-primary-900 rst:[--roster-ring:var(--roster-primary-400,#5ea3de)] rst:[--roster-ring-offset:var(--roster-primary-700,#084063)] rst:dark:[--roster-ring-offset:var(--roster-primary-950,#021724)] rst:[--roster-control-text:var(--roster-gray-100,#f5f5f4)] rst:[--roster-control-border:var(--roster-gray-400,#a8a29e)] rst:[--roster-control-border-focus:var(--roster-primary-400,#5ea3de)]",
|
|
10066
|
-
glass: "rst:bg-white/80 rst:border-white/20 rst:backdrop-blur-xl rst:text-gray-900 rst:dark:bg-slate-900/80 rst:dark:border-slate-700/50 rst:dark:text-white
|
|
10129
|
+
glass: "rst:bg-white/80 rst:border-white/20 rst:backdrop-blur-xl rst:text-gray-900 rst:dark:bg-slate-900/80 rst:dark:border-slate-700/50 rst:dark:text-white"
|
|
10067
10130
|
},
|
|
10068
10131
|
status: {
|
|
10069
10132
|
default: "",
|
|
@@ -10393,7 +10456,7 @@ const Vh = ({
|
|
|
10393
10456
|
leave: "rst:transition rst:ease-in rst:duration-75",
|
|
10394
10457
|
leaveFrom: "rst:transform rst:opacity-100 rst:scale-100",
|
|
10395
10458
|
leaveTo: "rst:transform rst:opacity-0 rst:scale-95",
|
|
10396
|
-
children: /* @__PURE__ */ f.jsxs(Gi, { className: "rst:absolute rst:right-0 rst:z-50 rst:mt-2 rst:w-48 rst:origin-top-right rst:rounded-md rst:bg-white rst:dark:bg-gray-800 rst:py-1 rst:
|
|
10459
|
+
children: /* @__PURE__ */ f.jsxs(Gi, { className: "rst:absolute rst:right-0 rst:z-50 rst:mt-2 rst:w-48 rst:origin-top-right rst:rounded-md rst:bg-white rst:dark:bg-gray-800 rst:py-1 rst:elevation-anchored rst:ring-1 rst:ring-black/5 rst:dark:ring-white/10 rst:focus:outline-hidden rst:divide-y rst:divide-gray-100 rst:dark:divide-gray-700", children: [
|
|
10397
10460
|
/* @__PURE__ */ f.jsxs("div", { className: "rst:py-1", children: [
|
|
10398
10461
|
O && u && /* @__PURE__ */ f.jsx(ar, { children: ({ focus: R }) => /* @__PURE__ */ f.jsxs(
|
|
10399
10462
|
oe,
|
|
@@ -10556,7 +10619,7 @@ const Vh = ({
|
|
|
10556
10619
|
{
|
|
10557
10620
|
focus: !0,
|
|
10558
10621
|
className: "rst:absolute rst:top-0 rst:inset-x-0 rst:z-50 rst:origin-top-right rst:transform rst:p-2 rst:transition rst:md:hidden",
|
|
10559
|
-
children: /* @__PURE__ */ f.jsxs("div", { "data-roster-mobile-panel": !0, className: "rst:rounded-lg rst:
|
|
10622
|
+
children: /* @__PURE__ */ f.jsxs("div", { "data-roster-mobile-panel": !0, className: "rst:rounded-lg rst:elevation-anchored rst:ring-1 rst:ring-black/5 rst:dark:ring-white/10 rst:divide-y rst:divide-gray-100 rst:dark:divide-gray-700 rst:bg-white rst:dark:bg-gray-800", children: [
|
|
10560
10623
|
/* @__PURE__ */ f.jsxs("div", { className: "rst:px-5 rst:pt-5 rst:pb-6", children: [
|
|
10561
10624
|
/* @__PURE__ */ f.jsxs("div", { className: "rst:flex rst:items-center rst:justify-between", children: [
|
|
10562
10625
|
/* @__PURE__ */ f.jsxs("div", { className: "rst:flex rst:items-center rst:gap-3", children: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function ze(e){var r,o,t="";if(typeof e=="string"||typeof e=="number")t+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(r=0;r<a;r++)e[r]&&(o=ze(e[r]))&&(t&&(t+=" "),t+=o)}else for(o in e)e[o]&&(t&&(t+=" "),t+=o);return t}function Ce(){for(var e,r,o=0,t="",a=arguments.length;o<a;o++)(e=arguments[o])&&(r=ze(e))&&(t&&(t+=" "),t+=r);return t}const je=(e,r)=>{const o=new Array(e.length+r.length);for(let t=0;t<e.length;t++)o[t]=e[t];for(let t=0;t<r.length;t++)o[e.length+t]=r[t];return o},Fe=(e,r)=>({classGroupId:e,validator:r}),Ae=(e=new Map,r=null,o)=>({nextPart:e,validators:r,classGroupId:o}),ee="-",be=[],_e="arbitrary..",We=e=>{const r=$e(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return Be(i);const u=i.split(ee),d=u[0]===""&&u.length>1?1:0;return Se(u,d,r)},getConflictingClassGroupIds:(i,u)=>{if(u){const d=t[i],f=o[i];return d?f?je(f,d):d:f||be}return o[i]||be}}},Se=(e,r,o)=>{if(e.length-r===0)return o.classGroupId;const a=e[r],l=o.nextPart.get(a);if(l){const f=Se(e,r+1,l);if(f)return f}const i=o.validators;if(i===null)return;const u=r===0?e.join(ee):e.slice(r).join(ee),d=i.length;for(let f=0;f<d;f++){const h=i[f];if(h.validator(u))return h.classGroupId}},Be=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const r=e.slice(1,-1),o=r.indexOf(":"),t=r.slice(0,o);return t?_e+t:void 0})(),$e=e=>{const{theme:r,classGroups:o}=e;return Ue(o,r)},Ue=(e,r)=>{const o=Ae();for(const t in e){const a=e[t];ie(a,o,t,r)}return o},ie=(e,r,o,t)=>{const a=e.length;for(let l=0;l<a;l++){const i=e[l];De(i,r,o,t)}},De=(e,r,o,t)=>{if(typeof e=="string"){Ye(e,r,o);return}if(typeof e=="function"){qe(e,r,o,t);return}Xe(e,r,o,t)},Ye=(e,r,o)=>{const t=e===""?r:Ge(r,e);t.classGroupId=o},qe=(e,r,o,t)=>{if(Je(e)){ie(e(t),r,o,t);return}r.validators===null&&(r.validators=[]),r.validators.push(Fe(o,e))},Xe=(e,r,o,t)=>{const a=Object.entries(e),l=a.length;for(let i=0;i<l;i++){const[u,d]=a[i];ie(d,Ge(r,u),o,t)}},Ge=(e,r)=>{let o=e;const t=r.split(ee),a=t.length;for(let l=0;l<a;l++){const i=t[l];let u=o.nextPart.get(i);u||(u=Ae(),o.nextPart.set(i,u)),o=u}return o},Je=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,He=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,o=Object.create(null),t=Object.create(null);const a=(l,i)=>{o[l]=i,r++,r>e&&(r=0,t=o,o=Object.create(null))};return{get(l){let i=o[l];if(i!==void 0)return i;if((i=t[l])!==void 0)return a(l,i),i},set(l,i){l in o?o[l]=i:a(l,i)}}},ae="!",he=":",Ke=[],we=(e,r,o,t,a)=>({modifiers:e,hasImportantModifier:r,baseClassName:o,maybePostfixModifierPosition:t,isExternal:a}),Qe=e=>{const{prefix:r,experimentalParseClassName:o}=e;let t=a=>{const l=[];let i=0,u=0,d=0,f;const h=a.length;for(let v=0;v<h;v++){const x=a[v];if(i===0&&u===0){if(x===he){l.push(a.slice(d,v)),d=v+1;continue}if(x==="/"){f=v;continue}}x==="["?i++:x==="]"?i--:x==="("?u++:x===")"&&u--}const y=l.length===0?a:a.slice(d);let z=y,M=!1;y.endsWith(ae)?(z=y.slice(0,-1),M=!0):y.startsWith(ae)&&(z=y.slice(1),M=!0);const R=f&&f>d?f-d:void 0;return we(l,M,z,R)};if(r){const a=r+he,l=t;t=i=>i.startsWith(a)?l(i.slice(a.length)):we(Ke,!1,i,void 0,!0)}if(o){const a=t;t=l=>o({className:l,parseClassName:a})}return t},Ze=e=>{const r=new Map;return e.orderSensitiveModifiers.forEach((o,t)=>{r.set(o,1e6+t)}),o=>{const t=[];let a=[];for(let l=0;l<o.length;l++){const i=o[l],u=i[0]==="[",d=r.has(i);u||d?(a.length>0&&(a.sort(),t.push(...a),a=[]),t.push(i)):a.push(i)}return a.length>0&&(a.sort(),t.push(...a)),t}},eo=e=>({cache:He(e.cacheSize),parseClassName:Qe(e),sortModifiers:Ze(e),...We(e)}),oo=/\s+/,ro=(e,r)=>{const{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:a,sortModifiers:l}=r,i=[],u=e.trim().split(oo);let d="";for(let f=u.length-1;f>=0;f-=1){const h=u[f],{isExternal:y,modifiers:z,hasImportantModifier:M,baseClassName:R,maybePostfixModifierPosition:v}=o(h);if(y){d=h+(d.length>0?" "+d:d);continue}let x=!!v,P=t(x?R.substring(0,v):R);if(!P){if(!x){d=h+(d.length>0?" "+d:d);continue}if(P=t(R),!P){d=h+(d.length>0?" "+d:d);continue}x=!1}const U=z.length===0?"":z.length===1?z[0]:l(z).join(":"),_=M?U+ae:U,N=_+P;if(i.indexOf(N)>-1)continue;i.push(N);const E=a(P,x);for(let I=0;I<E.length;++I){const W=E[I];i.push(_+W)}d=h+(d.length>0?" "+d:d)}return d},to=(...e)=>{let r=0,o,t,a="";for(;r<e.length;)(o=e[r++])&&(t=Me(o))&&(a&&(a+=" "),a+=t);return a},Me=e=>{if(typeof e=="string")return e;let r,o="";for(let t=0;t<e.length;t++)e[t]&&(r=Me(e[t]))&&(o&&(o+=" "),o+=r);return o},xe=(e,...r)=>{let o,t,a,l;const i=d=>{const f=r.reduce((h,y)=>y(h),e());return o=eo(f),t=o.cache.get,a=o.cache.set,l=u,u(d)},u=d=>{const f=t(d);if(f)return f;const h=ro(d,o);return a(d,h),h};return l=i,(...d)=>l(to(...d))},so=[],g=e=>{const r=o=>o[e]||so;return r.isThemeGetter=!0,r},Re=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Pe=/^\((?:(\w[\w-]*):)?(.+)\)$/i,no=/^\d+\/\d+$/,ao=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,io=/\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$/,lo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,co=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,mo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,O=e=>no.test(e),p=e=>!!e&&!Number.isNaN(Number(e)),G=e=>!!e&&Number.isInteger(Number(e)),se=e=>e.endsWith("%")&&p(e.slice(0,-1)),S=e=>ao.test(e),po=()=>!0,uo=e=>io.test(e)&&!lo.test(e),Ie=()=>!1,fo=e=>co.test(e),go=e=>mo.test(e),bo=e=>!s(e)&&!n(e),ho=e=>j(e,Ne,Ie),s=e=>Re.test(e),L=e=>j(e,Ee,uo),ne=e=>j(e,vo,p),ke=e=>j(e,Te,Ie),wo=e=>j(e,Le,go),H=e=>j(e,Ve,fo),n=e=>Pe.test(e),B=e=>F(e,Ee),xo=e=>F(e,zo),ye=e=>F(e,Te),ko=e=>F(e,Ne),yo=e=>F(e,Le),K=e=>F(e,Ve,!0),j=(e,r,o)=>{const t=Re.exec(e);return t?t[1]?r(t[1]):o(t[2]):!1},F=(e,r,o=!1)=>{const t=Pe.exec(e);return t?t[1]?r(t[1]):o:!1},Te=e=>e==="position"||e==="percentage",Le=e=>e==="image"||e==="url",Ne=e=>e==="length"||e==="size"||e==="bg-size",Ee=e=>e==="length",vo=e=>e==="number",zo=e=>e==="family-name",Ve=e=>e==="shadow",ve=()=>{const e=g("color"),r=g("font"),o=g("text"),t=g("font-weight"),a=g("tracking"),l=g("leading"),i=g("breakpoint"),u=g("container"),d=g("spacing"),f=g("radius"),h=g("shadow"),y=g("inset-shadow"),z=g("text-shadow"),M=g("drop-shadow"),R=g("blur"),v=g("perspective"),x=g("aspect"),P=g("ease"),U=g("animate"),_=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],E=()=>[...N(),n,s],I=()=>["auto","hidden","clip","visible","scroll"],W=()=>["auto","contain","none"],m=()=>[n,s,d],C=()=>[O,"full","auto",...m()],le=()=>[G,"none","subgrid",n,s],ce=()=>["auto",{span:["full",G,n,s]},G,n,s],D=()=>[G,"auto",n,s],de=()=>["auto","min","max","fr",n,s],oe=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],V=()=>["start","end","center","stretch","center-safe","end-safe"],A=()=>["auto",...m()],T=()=>[O,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...m()],c=()=>[e,n,s],me=()=>[...N(),ye,ke,{position:[n,s]}],pe=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ue=()=>["auto","cover","contain",ko,ho,{size:[n,s]}],re=()=>[se,B,L],w=()=>["","none","full",f,n,s],k=()=>["",p,B,L],Y=()=>["solid","dashed","dotted","double"],fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],b=()=>[p,se,ye,ke],ge=()=>["","none",R,n,s],q=()=>["none",p,n,s],X=()=>["none",p,n,s],te=()=>[p,n,s],J=()=>[O,"full",...m()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[S],breakpoint:[S],color:[po],container:[S],"drop-shadow":[S],ease:["in","out","in-out"],font:[bo],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[S],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[S],shadow:[S],spacing:["px",p],text:[S],"text-shadow":[S],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",O,s,n,x]}],container:["container"],columns:[{columns:[p,s,n,u]}],"break-after":[{"break-after":_()}],"break-before":[{"break-before":_()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],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"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:E()}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:C()}],"inset-x":[{"inset-x":C()}],"inset-y":[{"inset-y":C()}],start:[{start:C()}],end:[{end:C()}],top:[{top:C()}],right:[{right:C()}],bottom:[{bottom:C()}],left:[{left:C()}],visibility:["visible","invisible","collapse"],z:[{z:[G,"auto",n,s]}],basis:[{basis:[O,"full","auto",u,...m()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[p,O,"auto","initial","none",s]}],grow:[{grow:["",p,n,s]}],shrink:[{shrink:["",p,n,s]}],order:[{order:[G,"first","last","none",n,s]}],"grid-cols":[{"grid-cols":le()}],"col-start-end":[{col:ce()}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":le()}],"row-start-end":[{row:ce()}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":de()}],"auto-rows":[{"auto-rows":de()}],gap:[{gap:m()}],"gap-x":[{"gap-x":m()}],"gap-y":[{"gap-y":m()}],"justify-content":[{justify:[...oe(),"normal"]}],"justify-items":[{"justify-items":[...V(),"normal"]}],"justify-self":[{"justify-self":["auto",...V()]}],"align-content":[{content:["normal",...oe()]}],"align-items":[{items:[...V(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...V(),{baseline:["","last"]}]}],"place-content":[{"place-content":oe()}],"place-items":[{"place-items":[...V(),"baseline"]}],"place-self":[{"place-self":["auto",...V()]}],p:[{p:m()}],px:[{px:m()}],py:[{py:m()}],ps:[{ps:m()}],pe:[{pe:m()}],pt:[{pt:m()}],pr:[{pr:m()}],pb:[{pb:m()}],pl:[{pl:m()}],m:[{m:A()}],mx:[{mx:A()}],my:[{my:A()}],ms:[{ms:A()}],me:[{me:A()}],mt:[{mt:A()}],mr:[{mr:A()}],mb:[{mb:A()}],ml:[{ml:A()}],"space-x":[{"space-x":m()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":m()}],"space-y-reverse":["space-y-reverse"],size:[{size:T()}],w:[{w:[u,"screen",...T()]}],"min-w":[{"min-w":[u,"screen","none",...T()]}],"max-w":[{"max-w":[u,"screen","none","prose",{screen:[i]},...T()]}],h:[{h:["screen","lh",...T()]}],"min-h":[{"min-h":["screen","lh","none",...T()]}],"max-h":[{"max-h":["screen","lh",...T()]}],"font-size":[{text:["base",o,B,L]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,n,ne]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",se,s]}],"font-family":[{font:[xo,s,r]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,n,s]}],"line-clamp":[{"line-clamp":[p,"none",n,ne]}],leading:[{leading:[l,...m()]}],"list-image":[{"list-image":["none",n,s]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",n,s]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:c()}],"text-color":[{text:c()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:[p,"from-font","auto",n,L]}],"text-decoration-color":[{decoration:c()}],"underline-offset":[{"underline-offset":[p,"auto",n,s]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:m()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",n,s]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",n,s]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:me()}],"bg-repeat":[{bg:pe()}],"bg-size":[{bg:ue()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},G,n,s],radial:["",n,s],conic:[G,n,s]},yo,wo]}],"bg-color":[{bg:c()}],"gradient-from-pos":[{from:re()}],"gradient-via-pos":[{via:re()}],"gradient-to-pos":[{to:re()}],"gradient-from":[{from:c()}],"gradient-via":[{via:c()}],"gradient-to":[{to:c()}],rounded:[{rounded:w()}],"rounded-s":[{"rounded-s":w()}],"rounded-e":[{"rounded-e":w()}],"rounded-t":[{"rounded-t":w()}],"rounded-r":[{"rounded-r":w()}],"rounded-b":[{"rounded-b":w()}],"rounded-l":[{"rounded-l":w()}],"rounded-ss":[{"rounded-ss":w()}],"rounded-se":[{"rounded-se":w()}],"rounded-ee":[{"rounded-ee":w()}],"rounded-es":[{"rounded-es":w()}],"rounded-tl":[{"rounded-tl":w()}],"rounded-tr":[{"rounded-tr":w()}],"rounded-br":[{"rounded-br":w()}],"rounded-bl":[{"rounded-bl":w()}],"border-w":[{border:k()}],"border-w-x":[{"border-x":k()}],"border-w-y":[{"border-y":k()}],"border-w-s":[{"border-s":k()}],"border-w-e":[{"border-e":k()}],"border-w-t":[{"border-t":k()}],"border-w-r":[{"border-r":k()}],"border-w-b":[{"border-b":k()}],"border-w-l":[{"border-l":k()}],"divide-x":[{"divide-x":k()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":k()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Y(),"hidden","none"]}],"divide-style":[{divide:[...Y(),"hidden","none"]}],"border-color":[{border:c()}],"border-color-x":[{"border-x":c()}],"border-color-y":[{"border-y":c()}],"border-color-s":[{"border-s":c()}],"border-color-e":[{"border-e":c()}],"border-color-t":[{"border-t":c()}],"border-color-r":[{"border-r":c()}],"border-color-b":[{"border-b":c()}],"border-color-l":[{"border-l":c()}],"divide-color":[{divide:c()}],"outline-style":[{outline:[...Y(),"none","hidden"]}],"outline-offset":[{"outline-offset":[p,n,s]}],"outline-w":[{outline:["",p,B,L]}],"outline-color":[{outline:c()}],shadow:[{shadow:["","none",h,K,H]}],"shadow-color":[{shadow:c()}],"inset-shadow":[{"inset-shadow":["none",y,K,H]}],"inset-shadow-color":[{"inset-shadow":c()}],"ring-w":[{ring:k()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:c()}],"ring-offset-w":[{"ring-offset":[p,L]}],"ring-offset-color":[{"ring-offset":c()}],"inset-ring-w":[{"inset-ring":k()}],"inset-ring-color":[{"inset-ring":c()}],"text-shadow":[{"text-shadow":["none",z,K,H]}],"text-shadow-color":[{"text-shadow":c()}],opacity:[{opacity:[p,n,s]}],"mix-blend":[{"mix-blend":[...fe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":fe()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[p]}],"mask-image-linear-from-pos":[{"mask-linear-from":b()}],"mask-image-linear-to-pos":[{"mask-linear-to":b()}],"mask-image-linear-from-color":[{"mask-linear-from":c()}],"mask-image-linear-to-color":[{"mask-linear-to":c()}],"mask-image-t-from-pos":[{"mask-t-from":b()}],"mask-image-t-to-pos":[{"mask-t-to":b()}],"mask-image-t-from-color":[{"mask-t-from":c()}],"mask-image-t-to-color":[{"mask-t-to":c()}],"mask-image-r-from-pos":[{"mask-r-from":b()}],"mask-image-r-to-pos":[{"mask-r-to":b()}],"mask-image-r-from-color":[{"mask-r-from":c()}],"mask-image-r-to-color":[{"mask-r-to":c()}],"mask-image-b-from-pos":[{"mask-b-from":b()}],"mask-image-b-to-pos":[{"mask-b-to":b()}],"mask-image-b-from-color":[{"mask-b-from":c()}],"mask-image-b-to-color":[{"mask-b-to":c()}],"mask-image-l-from-pos":[{"mask-l-from":b()}],"mask-image-l-to-pos":[{"mask-l-to":b()}],"mask-image-l-from-color":[{"mask-l-from":c()}],"mask-image-l-to-color":[{"mask-l-to":c()}],"mask-image-x-from-pos":[{"mask-x-from":b()}],"mask-image-x-to-pos":[{"mask-x-to":b()}],"mask-image-x-from-color":[{"mask-x-from":c()}],"mask-image-x-to-color":[{"mask-x-to":c()}],"mask-image-y-from-pos":[{"mask-y-from":b()}],"mask-image-y-to-pos":[{"mask-y-to":b()}],"mask-image-y-from-color":[{"mask-y-from":c()}],"mask-image-y-to-color":[{"mask-y-to":c()}],"mask-image-radial":[{"mask-radial":[n,s]}],"mask-image-radial-from-pos":[{"mask-radial-from":b()}],"mask-image-radial-to-pos":[{"mask-radial-to":b()}],"mask-image-radial-from-color":[{"mask-radial-from":c()}],"mask-image-radial-to-color":[{"mask-radial-to":c()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":N()}],"mask-image-conic-pos":[{"mask-conic":[p]}],"mask-image-conic-from-pos":[{"mask-conic-from":b()}],"mask-image-conic-to-pos":[{"mask-conic-to":b()}],"mask-image-conic-from-color":[{"mask-conic-from":c()}],"mask-image-conic-to-color":[{"mask-conic-to":c()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:me()}],"mask-repeat":[{mask:pe()}],"mask-size":[{mask:ue()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",n,s]}],filter:[{filter:["","none",n,s]}],blur:[{blur:ge()}],brightness:[{brightness:[p,n,s]}],contrast:[{contrast:[p,n,s]}],"drop-shadow":[{"drop-shadow":["","none",M,K,H]}],"drop-shadow-color":[{"drop-shadow":c()}],grayscale:[{grayscale:["",p,n,s]}],"hue-rotate":[{"hue-rotate":[p,n,s]}],invert:[{invert:["",p,n,s]}],saturate:[{saturate:[p,n,s]}],sepia:[{sepia:["",p,n,s]}],"backdrop-filter":[{"backdrop-filter":["","none",n,s]}],"backdrop-blur":[{"backdrop-blur":ge()}],"backdrop-brightness":[{"backdrop-brightness":[p,n,s]}],"backdrop-contrast":[{"backdrop-contrast":[p,n,s]}],"backdrop-grayscale":[{"backdrop-grayscale":["",p,n,s]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p,n,s]}],"backdrop-invert":[{"backdrop-invert":["",p,n,s]}],"backdrop-opacity":[{"backdrop-opacity":[p,n,s]}],"backdrop-saturate":[{"backdrop-saturate":[p,n,s]}],"backdrop-sepia":[{"backdrop-sepia":["",p,n,s]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":m()}],"border-spacing-x":[{"border-spacing-x":m()}],"border-spacing-y":[{"border-spacing-y":m()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",n,s]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[p,"initial",n,s]}],ease:[{ease:["linear","initial",P,n,s]}],delay:[{delay:[p,n,s]}],animate:[{animate:["none",U,n,s]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[v,n,s]}],"perspective-origin":[{"perspective-origin":E()}],rotate:[{rotate:q()}],"rotate-x":[{"rotate-x":q()}],"rotate-y":[{"rotate-y":q()}],"rotate-z":[{"rotate-z":q()}],scale:[{scale:X()}],"scale-x":[{"scale-x":X()}],"scale-y":[{"scale-y":X()}],"scale-z":[{"scale-z":X()}],"scale-3d":["scale-3d"],skew:[{skew:te()}],"skew-x":[{"skew-x":te()}],"skew-y":[{"skew-y":te()}],transform:[{transform:[n,s,"","none","gpu","cpu"]}],"transform-origin":[{origin:E()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:J()}],"translate-x":[{"translate-x":J()}],"translate-y":[{"translate-y":J()}],"translate-z":[{"translate-z":J()}],"translate-none":["translate-none"],accent:[{accent:c()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:c()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{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",n,s]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":m()}],"scroll-mx":[{"scroll-mx":m()}],"scroll-my":[{"scroll-my":m()}],"scroll-ms":[{"scroll-ms":m()}],"scroll-me":[{"scroll-me":m()}],"scroll-mt":[{"scroll-mt":m()}],"scroll-mr":[{"scroll-mr":m()}],"scroll-mb":[{"scroll-mb":m()}],"scroll-ml":[{"scroll-ml":m()}],"scroll-p":[{"scroll-p":m()}],"scroll-px":[{"scroll-px":m()}],"scroll-py":[{"scroll-py":m()}],"scroll-ps":[{"scroll-ps":m()}],"scroll-pe":[{"scroll-pe":m()}],"scroll-pt":[{"scroll-pt":m()}],"scroll-pr":[{"scroll-pr":m()}],"scroll-pb":[{"scroll-pb":m()}],"scroll-pl":[{"scroll-pl":m()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",n,s]}],fill:[{fill:["none",...c()]}],"stroke-w":[{stroke:[p,B,L,ne]}],stroke:[{stroke:["none",...c()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],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"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"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"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"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"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Co=(e,{cacheSize:r,prefix:o,experimentalParseClassName:t,extend:a={},override:l={}})=>($(e,"cacheSize",r),$(e,"prefix",o),$(e,"experimentalParseClassName",t),Q(e.theme,l.theme),Q(e.classGroups,l.classGroups),Q(e.conflictingClassGroups,l.conflictingClassGroups),Q(e.conflictingClassGroupModifiers,l.conflictingClassGroupModifiers),$(e,"orderSensitiveModifiers",l.orderSensitiveModifiers),Z(e.theme,a.theme),Z(e.classGroups,a.classGroups),Z(e.conflictingClassGroups,a.conflictingClassGroups),Z(e.conflictingClassGroupModifiers,a.conflictingClassGroupModifiers),Oe(e,a,"orderSensitiveModifiers"),e),$=(e,r,o)=>{o!==void 0&&(e[r]=o)},Q=(e,r)=>{if(r)for(const o in r)$(e,o,r[o])},Z=(e,r)=>{if(r)for(const o in r)Oe(e,r,o)},Oe=(e,r,o)=>{const t=r[o];t!==void 0&&(e[o]=e[o]?e[o].concat(t):t)},Ao=(e,...r)=>typeof e=="function"?xe(ve,e,...r):xe(()=>Co(ve(),e),...r),So=Ao({prefix:"rst"});function Go(...e){return So(Ce(e))}exports.clsx=Ce;exports.cn=Go;
|
|
1
|
+
"use strict";function ze(e){var r,o,t="";if(typeof e=="string"||typeof e=="number")t+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(r=0;r<a;r++)e[r]&&(o=ze(e[r]))&&(t&&(t+=" "),t+=o)}else for(o in e)e[o]&&(t&&(t+=" "),t+=o);return t}function Ce(){for(var e,r,o=0,t="",a=arguments.length;o<a;o++)(e=arguments[o])&&(r=ze(e))&&(t&&(t+=" "),t+=r);return t}const je=(e,r)=>{const o=new Array(e.length+r.length);for(let t=0;t<e.length;t++)o[t]=e[t];for(let t=0;t<r.length;t++)o[e.length+t]=r[t];return o},Fe=(e,r)=>({classGroupId:e,validator:r}),Ae=(e=new Map,r=null,o)=>({nextPart:e,validators:r,classGroupId:o}),ee="-",be=[],_e="arbitrary..",We=e=>{const r=$e(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return Be(i);const u=i.split(ee),d=u[0]===""&&u.length>1?1:0;return Se(u,d,r)},getConflictingClassGroupIds:(i,u)=>{if(u){const d=t[i],f=o[i];return d?f?je(f,d):d:f||be}return o[i]||be}}},Se=(e,r,o)=>{if(e.length-r===0)return o.classGroupId;const a=e[r],l=o.nextPart.get(a);if(l){const f=Se(e,r+1,l);if(f)return f}const i=o.validators;if(i===null)return;const u=r===0?e.join(ee):e.slice(r).join(ee),d=i.length;for(let f=0;f<d;f++){const h=i[f];if(h.validator(u))return h.classGroupId}},Be=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const r=e.slice(1,-1),o=r.indexOf(":"),t=r.slice(0,o);return t?_e+t:void 0})(),$e=e=>{const{theme:r,classGroups:o}=e;return Ue(o,r)},Ue=(e,r)=>{const o=Ae();for(const t in e){const a=e[t];ie(a,o,t,r)}return o},ie=(e,r,o,t)=>{const a=e.length;for(let l=0;l<a;l++){const i=e[l];De(i,r,o,t)}},De=(e,r,o,t)=>{if(typeof e=="string"){Ye(e,r,o);return}if(typeof e=="function"){qe(e,r,o,t);return}Xe(e,r,o,t)},Ye=(e,r,o)=>{const t=e===""?r:Ge(r,e);t.classGroupId=o},qe=(e,r,o,t)=>{if(Je(e)){ie(e(t),r,o,t);return}r.validators===null&&(r.validators=[]),r.validators.push(Fe(o,e))},Xe=(e,r,o,t)=>{const a=Object.entries(e),l=a.length;for(let i=0;i<l;i++){const[u,d]=a[i];ie(d,Ge(r,u),o,t)}},Ge=(e,r)=>{let o=e;const t=r.split(ee),a=t.length;for(let l=0;l<a;l++){const i=t[l];let u=o.nextPart.get(i);u||(u=Ae(),o.nextPart.set(i,u)),o=u}return o},Je=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,He=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,o=Object.create(null),t=Object.create(null);const a=(l,i)=>{o[l]=i,r++,r>e&&(r=0,t=o,o=Object.create(null))};return{get(l){let i=o[l];if(i!==void 0)return i;if((i=t[l])!==void 0)return a(l,i),i},set(l,i){l in o?o[l]=i:a(l,i)}}},ae="!",he=":",Ke=[],we=(e,r,o,t,a)=>({modifiers:e,hasImportantModifier:r,baseClassName:o,maybePostfixModifierPosition:t,isExternal:a}),Qe=e=>{const{prefix:r,experimentalParseClassName:o}=e;let t=a=>{const l=[];let i=0,u=0,d=0,f;const h=a.length;for(let v=0;v<h;v++){const x=a[v];if(i===0&&u===0){if(x===he){l.push(a.slice(d,v)),d=v+1;continue}if(x==="/"){f=v;continue}}x==="["?i++:x==="]"?i--:x==="("?u++:x===")"&&u--}const y=l.length===0?a:a.slice(d);let z=y,M=!1;y.endsWith(ae)?(z=y.slice(0,-1),M=!0):y.startsWith(ae)&&(z=y.slice(1),M=!0);const R=f&&f>d?f-d:void 0;return we(l,M,z,R)};if(r){const a=r+he,l=t;t=i=>i.startsWith(a)?l(i.slice(a.length)):we(Ke,!1,i,void 0,!0)}if(o){const a=t;t=l=>o({className:l,parseClassName:a})}return t},Ze=e=>{const r=new Map;return e.orderSensitiveModifiers.forEach((o,t)=>{r.set(o,1e6+t)}),o=>{const t=[];let a=[];for(let l=0;l<o.length;l++){const i=o[l],u=i[0]==="[",d=r.has(i);u||d?(a.length>0&&(a.sort(),t.push(...a),a=[]),t.push(i)):a.push(i)}return a.length>0&&(a.sort(),t.push(...a)),t}},eo=e=>({cache:He(e.cacheSize),parseClassName:Qe(e),sortModifiers:Ze(e),...We(e)}),oo=/\s+/,ro=(e,r)=>{const{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:a,sortModifiers:l}=r,i=[],u=e.trim().split(oo);let d="";for(let f=u.length-1;f>=0;f-=1){const h=u[f],{isExternal:y,modifiers:z,hasImportantModifier:M,baseClassName:R,maybePostfixModifierPosition:v}=o(h);if(y){d=h+(d.length>0?" "+d:d);continue}let x=!!v,P=t(x?R.substring(0,v):R);if(!P){if(!x){d=h+(d.length>0?" "+d:d);continue}if(P=t(R),!P){d=h+(d.length>0?" "+d:d);continue}x=!1}const U=z.length===0?"":z.length===1?z[0]:l(z).join(":"),_=M?U+ae:U,N=_+P;if(i.indexOf(N)>-1)continue;i.push(N);const E=a(P,x);for(let I=0;I<E.length;++I){const W=E[I];i.push(_+W)}d=h+(d.length>0?" "+d:d)}return d},to=(...e)=>{let r=0,o,t,a="";for(;r<e.length;)(o=e[r++])&&(t=Me(o))&&(a&&(a+=" "),a+=t);return a},Me=e=>{if(typeof e=="string")return e;let r,o="";for(let t=0;t<e.length;t++)e[t]&&(r=Me(e[t]))&&(o&&(o+=" "),o+=r);return o},xe=(e,...r)=>{let o,t,a,l;const i=d=>{const f=r.reduce((h,y)=>y(h),e());return o=eo(f),t=o.cache.get,a=o.cache.set,l=u,u(d)},u=d=>{const f=t(d);if(f)return f;const h=ro(d,o);return a(d,h),h};return l=i,(...d)=>l(to(...d))},so=[],g=e=>{const r=o=>o[e]||so;return r.isThemeGetter=!0,r},Re=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Pe=/^\((?:(\w[\w-]*):)?(.+)\)$/i,no=/^\d+\/\d+$/,ao=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,io=/\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$/,lo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,co=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,mo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,O=e=>no.test(e),p=e=>!!e&&!Number.isNaN(Number(e)),G=e=>!!e&&Number.isInteger(Number(e)),se=e=>e.endsWith("%")&&p(e.slice(0,-1)),S=e=>ao.test(e),po=()=>!0,uo=e=>io.test(e)&&!lo.test(e),Ie=()=>!1,fo=e=>co.test(e),go=e=>mo.test(e),bo=e=>!s(e)&&!n(e),ho=e=>j(e,Ne,Ie),s=e=>Re.test(e),L=e=>j(e,Ee,uo),ne=e=>j(e,vo,p),ke=e=>j(e,Te,Ie),wo=e=>j(e,Le,go),H=e=>j(e,Ve,fo),n=e=>Pe.test(e),B=e=>F(e,Ee),xo=e=>F(e,zo),ye=e=>F(e,Te),ko=e=>F(e,Ne),yo=e=>F(e,Le),K=e=>F(e,Ve,!0),j=(e,r,o)=>{const t=Re.exec(e);return t?t[1]?r(t[1]):o(t[2]):!1},F=(e,r,o=!1)=>{const t=Pe.exec(e);return t?t[1]?r(t[1]):o:!1},Te=e=>e==="position"||e==="percentage",Le=e=>e==="image"||e==="url",Ne=e=>e==="length"||e==="size"||e==="bg-size",Ee=e=>e==="length",vo=e=>e==="number",zo=e=>e==="family-name",Ve=e=>e==="shadow",ve=()=>{const e=g("color"),r=g("font"),o=g("text"),t=g("font-weight"),a=g("tracking"),l=g("leading"),i=g("breakpoint"),u=g("container"),d=g("spacing"),f=g("radius"),h=g("shadow"),y=g("inset-shadow"),z=g("text-shadow"),M=g("drop-shadow"),R=g("blur"),v=g("perspective"),x=g("aspect"),P=g("ease"),U=g("animate"),_=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],E=()=>[...N(),n,s],I=()=>["auto","hidden","clip","visible","scroll"],W=()=>["auto","contain","none"],m=()=>[n,s,d],C=()=>[O,"full","auto",...m()],le=()=>[G,"none","subgrid",n,s],ce=()=>["auto",{span:["full",G,n,s]},G,n,s],D=()=>[G,"auto",n,s],de=()=>["auto","min","max","fr",n,s],oe=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],V=()=>["start","end","center","stretch","center-safe","end-safe"],A=()=>["auto",...m()],T=()=>[O,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...m()],c=()=>[e,n,s],me=()=>[...N(),ye,ke,{position:[n,s]}],pe=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ue=()=>["auto","cover","contain",ko,ho,{size:[n,s]}],re=()=>[se,B,L],w=()=>["","none","full",f,n,s],k=()=>["",p,B,L],Y=()=>["solid","dashed","dotted","double"],fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],b=()=>[p,se,ye,ke],ge=()=>["","none",R,n,s],q=()=>["none",p,n,s],X=()=>["none",p,n,s],te=()=>[p,n,s],J=()=>[O,"full",...m()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[S],breakpoint:[S],color:[po],container:[S],"drop-shadow":[S],ease:["in","out","in-out"],font:[bo],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[S],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[S],shadow:[S],spacing:["px",p],text:[S],"text-shadow":[S],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",O,s,n,x]}],container:["container"],columns:[{columns:[p,s,n,u]}],"break-after":[{"break-after":_()}],"break-before":[{"break-before":_()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],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"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:E()}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:C()}],"inset-x":[{"inset-x":C()}],"inset-y":[{"inset-y":C()}],start:[{start:C()}],end:[{end:C()}],top:[{top:C()}],right:[{right:C()}],bottom:[{bottom:C()}],left:[{left:C()}],visibility:["visible","invisible","collapse"],z:[{z:[G,"auto",n,s]}],basis:[{basis:[O,"full","auto",u,...m()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[p,O,"auto","initial","none",s]}],grow:[{grow:["",p,n,s]}],shrink:[{shrink:["",p,n,s]}],order:[{order:[G,"first","last","none",n,s]}],"grid-cols":[{"grid-cols":le()}],"col-start-end":[{col:ce()}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":le()}],"row-start-end":[{row:ce()}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":de()}],"auto-rows":[{"auto-rows":de()}],gap:[{gap:m()}],"gap-x":[{"gap-x":m()}],"gap-y":[{"gap-y":m()}],"justify-content":[{justify:[...oe(),"normal"]}],"justify-items":[{"justify-items":[...V(),"normal"]}],"justify-self":[{"justify-self":["auto",...V()]}],"align-content":[{content:["normal",...oe()]}],"align-items":[{items:[...V(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...V(),{baseline:["","last"]}]}],"place-content":[{"place-content":oe()}],"place-items":[{"place-items":[...V(),"baseline"]}],"place-self":[{"place-self":["auto",...V()]}],p:[{p:m()}],px:[{px:m()}],py:[{py:m()}],ps:[{ps:m()}],pe:[{pe:m()}],pt:[{pt:m()}],pr:[{pr:m()}],pb:[{pb:m()}],pl:[{pl:m()}],m:[{m:A()}],mx:[{mx:A()}],my:[{my:A()}],ms:[{ms:A()}],me:[{me:A()}],mt:[{mt:A()}],mr:[{mr:A()}],mb:[{mb:A()}],ml:[{ml:A()}],"space-x":[{"space-x":m()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":m()}],"space-y-reverse":["space-y-reverse"],size:[{size:T()}],w:[{w:[u,"screen",...T()]}],"min-w":[{"min-w":[u,"screen","none",...T()]}],"max-w":[{"max-w":[u,"screen","none","prose",{screen:[i]},...T()]}],h:[{h:["screen","lh",...T()]}],"min-h":[{"min-h":["screen","lh","none",...T()]}],"max-h":[{"max-h":["screen","lh",...T()]}],"font-size":[{text:["base",o,B,L]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,n,ne]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",se,s]}],"font-family":[{font:[xo,s,r]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,n,s]}],"line-clamp":[{"line-clamp":[p,"none",n,ne]}],leading:[{leading:[l,...m()]}],"list-image":[{"list-image":["none",n,s]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",n,s]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:c()}],"text-color":[{text:c()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:[p,"from-font","auto",n,L]}],"text-decoration-color":[{decoration:c()}],"underline-offset":[{"underline-offset":[p,"auto",n,s]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:m()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",n,s]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",n,s]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:me()}],"bg-repeat":[{bg:pe()}],"bg-size":[{bg:ue()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},G,n,s],radial:["",n,s],conic:[G,n,s]},yo,wo]}],"bg-color":[{bg:c()}],"gradient-from-pos":[{from:re()}],"gradient-via-pos":[{via:re()}],"gradient-to-pos":[{to:re()}],"gradient-from":[{from:c()}],"gradient-via":[{via:c()}],"gradient-to":[{to:c()}],rounded:[{rounded:w()}],"rounded-s":[{"rounded-s":w()}],"rounded-e":[{"rounded-e":w()}],"rounded-t":[{"rounded-t":w()}],"rounded-r":[{"rounded-r":w()}],"rounded-b":[{"rounded-b":w()}],"rounded-l":[{"rounded-l":w()}],"rounded-ss":[{"rounded-ss":w()}],"rounded-se":[{"rounded-se":w()}],"rounded-ee":[{"rounded-ee":w()}],"rounded-es":[{"rounded-es":w()}],"rounded-tl":[{"rounded-tl":w()}],"rounded-tr":[{"rounded-tr":w()}],"rounded-br":[{"rounded-br":w()}],"rounded-bl":[{"rounded-bl":w()}],"border-w":[{border:k()}],"border-w-x":[{"border-x":k()}],"border-w-y":[{"border-y":k()}],"border-w-s":[{"border-s":k()}],"border-w-e":[{"border-e":k()}],"border-w-t":[{"border-t":k()}],"border-w-r":[{"border-r":k()}],"border-w-b":[{"border-b":k()}],"border-w-l":[{"border-l":k()}],"divide-x":[{"divide-x":k()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":k()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Y(),"hidden","none"]}],"divide-style":[{divide:[...Y(),"hidden","none"]}],"border-color":[{border:c()}],"border-color-x":[{"border-x":c()}],"border-color-y":[{"border-y":c()}],"border-color-s":[{"border-s":c()}],"border-color-e":[{"border-e":c()}],"border-color-t":[{"border-t":c()}],"border-color-r":[{"border-r":c()}],"border-color-b":[{"border-b":c()}],"border-color-l":[{"border-l":c()}],"divide-color":[{divide:c()}],"outline-style":[{outline:[...Y(),"none","hidden"]}],"outline-offset":[{"outline-offset":[p,n,s]}],"outline-w":[{outline:["",p,B,L]}],"outline-color":[{outline:c()}],shadow:[{shadow:["","none",h,K,H]}],"shadow-color":[{shadow:c()}],"inset-shadow":[{"inset-shadow":["none",y,K,H]}],"inset-shadow-color":[{"inset-shadow":c()}],"ring-w":[{ring:k()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:c()}],"ring-offset-w":[{"ring-offset":[p,L]}],"ring-offset-color":[{"ring-offset":c()}],"inset-ring-w":[{"inset-ring":k()}],"inset-ring-color":[{"inset-ring":c()}],"text-shadow":[{"text-shadow":["none",z,K,H]}],"text-shadow-color":[{"text-shadow":c()}],opacity:[{opacity:[p,n,s]}],"mix-blend":[{"mix-blend":[...fe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":fe()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[p]}],"mask-image-linear-from-pos":[{"mask-linear-from":b()}],"mask-image-linear-to-pos":[{"mask-linear-to":b()}],"mask-image-linear-from-color":[{"mask-linear-from":c()}],"mask-image-linear-to-color":[{"mask-linear-to":c()}],"mask-image-t-from-pos":[{"mask-t-from":b()}],"mask-image-t-to-pos":[{"mask-t-to":b()}],"mask-image-t-from-color":[{"mask-t-from":c()}],"mask-image-t-to-color":[{"mask-t-to":c()}],"mask-image-r-from-pos":[{"mask-r-from":b()}],"mask-image-r-to-pos":[{"mask-r-to":b()}],"mask-image-r-from-color":[{"mask-r-from":c()}],"mask-image-r-to-color":[{"mask-r-to":c()}],"mask-image-b-from-pos":[{"mask-b-from":b()}],"mask-image-b-to-pos":[{"mask-b-to":b()}],"mask-image-b-from-color":[{"mask-b-from":c()}],"mask-image-b-to-color":[{"mask-b-to":c()}],"mask-image-l-from-pos":[{"mask-l-from":b()}],"mask-image-l-to-pos":[{"mask-l-to":b()}],"mask-image-l-from-color":[{"mask-l-from":c()}],"mask-image-l-to-color":[{"mask-l-to":c()}],"mask-image-x-from-pos":[{"mask-x-from":b()}],"mask-image-x-to-pos":[{"mask-x-to":b()}],"mask-image-x-from-color":[{"mask-x-from":c()}],"mask-image-x-to-color":[{"mask-x-to":c()}],"mask-image-y-from-pos":[{"mask-y-from":b()}],"mask-image-y-to-pos":[{"mask-y-to":b()}],"mask-image-y-from-color":[{"mask-y-from":c()}],"mask-image-y-to-color":[{"mask-y-to":c()}],"mask-image-radial":[{"mask-radial":[n,s]}],"mask-image-radial-from-pos":[{"mask-radial-from":b()}],"mask-image-radial-to-pos":[{"mask-radial-to":b()}],"mask-image-radial-from-color":[{"mask-radial-from":c()}],"mask-image-radial-to-color":[{"mask-radial-to":c()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":N()}],"mask-image-conic-pos":[{"mask-conic":[p]}],"mask-image-conic-from-pos":[{"mask-conic-from":b()}],"mask-image-conic-to-pos":[{"mask-conic-to":b()}],"mask-image-conic-from-color":[{"mask-conic-from":c()}],"mask-image-conic-to-color":[{"mask-conic-to":c()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:me()}],"mask-repeat":[{mask:pe()}],"mask-size":[{mask:ue()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",n,s]}],filter:[{filter:["","none",n,s]}],blur:[{blur:ge()}],brightness:[{brightness:[p,n,s]}],contrast:[{contrast:[p,n,s]}],"drop-shadow":[{"drop-shadow":["","none",M,K,H]}],"drop-shadow-color":[{"drop-shadow":c()}],grayscale:[{grayscale:["",p,n,s]}],"hue-rotate":[{"hue-rotate":[p,n,s]}],invert:[{invert:["",p,n,s]}],saturate:[{saturate:[p,n,s]}],sepia:[{sepia:["",p,n,s]}],"backdrop-filter":[{"backdrop-filter":["","none",n,s]}],"backdrop-blur":[{"backdrop-blur":ge()}],"backdrop-brightness":[{"backdrop-brightness":[p,n,s]}],"backdrop-contrast":[{"backdrop-contrast":[p,n,s]}],"backdrop-grayscale":[{"backdrop-grayscale":["",p,n,s]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p,n,s]}],"backdrop-invert":[{"backdrop-invert":["",p,n,s]}],"backdrop-opacity":[{"backdrop-opacity":[p,n,s]}],"backdrop-saturate":[{"backdrop-saturate":[p,n,s]}],"backdrop-sepia":[{"backdrop-sepia":["",p,n,s]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":m()}],"border-spacing-x":[{"border-spacing-x":m()}],"border-spacing-y":[{"border-spacing-y":m()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",n,s]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[p,"initial",n,s]}],ease:[{ease:["linear","initial",P,n,s]}],delay:[{delay:[p,n,s]}],animate:[{animate:["none",U,n,s]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[v,n,s]}],"perspective-origin":[{"perspective-origin":E()}],rotate:[{rotate:q()}],"rotate-x":[{"rotate-x":q()}],"rotate-y":[{"rotate-y":q()}],"rotate-z":[{"rotate-z":q()}],scale:[{scale:X()}],"scale-x":[{"scale-x":X()}],"scale-y":[{"scale-y":X()}],"scale-z":[{"scale-z":X()}],"scale-3d":["scale-3d"],skew:[{skew:te()}],"skew-x":[{"skew-x":te()}],"skew-y":[{"skew-y":te()}],transform:[{transform:[n,s,"","none","gpu","cpu"]}],"transform-origin":[{origin:E()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:J()}],"translate-x":[{"translate-x":J()}],"translate-y":[{"translate-y":J()}],"translate-z":[{"translate-z":J()}],"translate-none":["translate-none"],accent:[{accent:c()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:c()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{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",n,s]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":m()}],"scroll-mx":[{"scroll-mx":m()}],"scroll-my":[{"scroll-my":m()}],"scroll-ms":[{"scroll-ms":m()}],"scroll-me":[{"scroll-me":m()}],"scroll-mt":[{"scroll-mt":m()}],"scroll-mr":[{"scroll-mr":m()}],"scroll-mb":[{"scroll-mb":m()}],"scroll-ml":[{"scroll-ml":m()}],"scroll-p":[{"scroll-p":m()}],"scroll-px":[{"scroll-px":m()}],"scroll-py":[{"scroll-py":m()}],"scroll-ps":[{"scroll-ps":m()}],"scroll-pe":[{"scroll-pe":m()}],"scroll-pt":[{"scroll-pt":m()}],"scroll-pr":[{"scroll-pr":m()}],"scroll-pb":[{"scroll-pb":m()}],"scroll-pl":[{"scroll-pl":m()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",n,s]}],fill:[{fill:["none",...c()]}],"stroke-w":[{stroke:[p,B,L,ne]}],stroke:[{stroke:["none",...c()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],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"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"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"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"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"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Co=(e,{cacheSize:r,prefix:o,experimentalParseClassName:t,extend:a={},override:l={}})=>($(e,"cacheSize",r),$(e,"prefix",o),$(e,"experimentalParseClassName",t),Q(e.theme,l.theme),Q(e.classGroups,l.classGroups),Q(e.conflictingClassGroups,l.conflictingClassGroups),Q(e.conflictingClassGroupModifiers,l.conflictingClassGroupModifiers),$(e,"orderSensitiveModifiers",l.orderSensitiveModifiers),Z(e.theme,a.theme),Z(e.classGroups,a.classGroups),Z(e.conflictingClassGroups,a.conflictingClassGroups),Z(e.conflictingClassGroupModifiers,a.conflictingClassGroupModifiers),Oe(e,a,"orderSensitiveModifiers"),e),$=(e,r,o)=>{o!==void 0&&(e[r]=o)},Q=(e,r)=>{if(r)for(const o in r)$(e,o,r[o])},Z=(e,r)=>{if(r)for(const o in r)Oe(e,r,o)},Oe=(e,r,o)=>{const t=r[o];t!==void 0&&(e[o]=e[o]?e[o].concat(t):t)},Ao=(e,...r)=>typeof e=="function"?xe(ve,e,...r):xe(()=>Co(ve(),e),...r),So=Ao({prefix:"rst",extend:{classGroups:{shadow:["elevation-raised","elevation-anchored","elevation-overlay"]}}});function Go(...e){return So(Ce(e))}exports.clsx=Ce;exports.cn=Go;
|
|
@@ -2785,7 +2785,25 @@ const je = (e, r) => {
|
|
|
2785
2785
|
}, Ve = (e, r, o) => {
|
|
2786
2786
|
const t = r[o];
|
|
2787
2787
|
t !== void 0 && (e[o] = e[o] ? e[o].concat(t) : t);
|
|
2788
|
-
}, Ao = (e, ...r) => typeof e == "function" ? xe(ve, e, ...r) : xe(() => Co(ve(), e), ...r), So = Ao({
|
|
2788
|
+
}, Ao = (e, ...r) => typeof e == "function" ? xe(ve, e, ...r) : xe(() => Co(ve(), e), ...r), So = Ao({
|
|
2789
|
+
prefix: "rst",
|
|
2790
|
+
extend: {
|
|
2791
|
+
classGroups: {
|
|
2792
|
+
/* The elevation levels are custom utilities, so tailwind-merge does not
|
|
2793
|
+
know they set `box-shadow` and conflict with `shadow-*` and with each
|
|
2794
|
+
other. Without this, `cn(cardVariants(), "rst:elevation-overlay")`
|
|
2795
|
+
kept BOTH and the winner fell to stylesheet order — which emits
|
|
2796
|
+
anchored, overlay, raised, so the family resolved in the inverse of
|
|
2797
|
+
its own depth order and a consumer's override was a no-op. Exactly the
|
|
2798
|
+
degradation the comment above describes, on the newest utility. */
|
|
2799
|
+
shadow: [
|
|
2800
|
+
"elevation-raised",
|
|
2801
|
+
"elevation-anchored",
|
|
2802
|
+
"elevation-overlay"
|
|
2803
|
+
]
|
|
2804
|
+
}
|
|
2805
|
+
}
|
|
2806
|
+
});
|
|
2789
2807
|
function Go(...e) {
|
|
2790
2808
|
return So(Oe(e));
|
|
2791
2809
|
}
|
package/dist/utils.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./utils-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./utils-B4q42wBM.cjs");exports.cn=e.cn;
|
package/dist/utils.es.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blakesteve/roster",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.11.0",
|
|
4
4
|
"description": "A production-grade atomic component library: accessible, theme-aware, and documented in Storybook. React 19, TypeScript, Tailwind CSS v4.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"dev": "vite",
|
|
55
|
-
"build": "tsc -b && vite build && node scripts/check-prefix.mjs && node scripts/check-classes-emit.mjs",
|
|
55
|
+
"build": "tsc -b && vite build && node scripts/check-prefix.mjs && node scripts/check-classes-emit.mjs && node scripts/check-tokens.mjs",
|
|
56
56
|
"lint": "eslint .",
|
|
57
57
|
"preview": "vite preview",
|
|
58
58
|
"storybook": "storybook dev -p 6006",
|
|
@@ -62,7 +62,8 @@
|
|
|
62
62
|
"test:run": "vitest run",
|
|
63
63
|
"check:prefix": "node scripts/check-prefix.mjs",
|
|
64
64
|
"check:classes-emit": "node scripts/check-classes-emit.mjs",
|
|
65
|
-
"prepack": "npm run build && node scripts/write-meta.mjs"
|
|
65
|
+
"prepack": "npm run build && node scripts/write-meta.mjs",
|
|
66
|
+
"check:tokens": "node scripts/check-tokens.mjs"
|
|
66
67
|
},
|
|
67
68
|
"peerDependencies": {
|
|
68
69
|
"@tanstack/react-table": "^9.1.2",
|