Your Name 1912bcd25b
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
chore: sync all remaining local workspace changes
2026-05-08 11:26:57 +08:00

1275 lines
46 KiB
JavaScript

/*
* Extracted from browser-delivered Turbopack chunk: 60c7eb4c6762ec24.6c55d0b7b7.js
* Module id: 249398
* For reading/searching only; this factory depends on the original Turbopack runtime.
*/
const moduleFactory = (e) => {
"use strict";
let o = (e, r) => {
if (0 === e.length) return r.classGroupId;
let t = e[0],
a = r.nextPart.get(t),
s = a ? o(e.slice(1), a) : void 0;
if (s) return s;
if (0 === r.validators.length) return;
let n = e.join("-");
return r.validators.find(({ validator: e }) => e(n))?.classGroupId;
},
r = /^\[(.+)\]$/,
t = (e, o, r, n) => {
e.forEach((e) => {
if ("string" == typeof e) {
("" === e ? o : a(o, e)).classGroupId = r;
return;
}
"function" == typeof e
? s(e)
? t(e(n), o, r, n)
: o.validators.push({ validator: e, classGroupId: r })
: Object.entries(e).forEach(([e, s]) => {
t(s, a(o, e), r, n);
});
});
},
a = (e, o) => {
let r = e;
return (
o.split("-").forEach((e) => {
r.nextPart.has(e) ||
r.nextPart.set(e, { nextPart: new Map(), validators: [] }),
(r = r.nextPart.get(e));
}),
r
);
},
s = (e) => e.isThemeGetter,
n = /\s+/;
function l() {
let e,
o,
r = 0,
t = "";
for (; r < arguments.length; )
(e = arguments[r++]) && (o = i(e)) && (t && (t += " "), (t += o));
return t;
}
let i = (e) => {
let o;
if ("string" == typeof e) return e;
let r = "";
for (let t = 0; t < e.length; t++)
e[t] && (o = i(e[t])) && (r && (r += " "), (r += o));
return r;
};
function d(e, ...a) {
let s,
i,
c,
m = function (n) {
var l;
let d;
return (
(i = (s = {
cache: ((e) => {
if (e < 1) return { get: () => void 0, set: () => {} };
let o = 0,
r = new Map(),
t = new Map(),
a = (a, s) => {
r.set(a, s), ++o > e && ((o = 0), (t = r), (r = new Map()));
};
return {
get(e) {
let o = r.get(e);
return void 0 !== o
? o
: void 0 !== (o = t.get(e))
? (a(e, o), o)
: void 0;
},
set(e, o) {
r.has(e) ? r.set(e, o) : a(e, o);
},
};
})((l = a.reduce((e, o) => o(e), e())).cacheSize),
parseClassName: ((e) => {
let { prefix: o, experimentalParseClassName: r } = e,
t = (e) => {
let o,
r,
t = [],
a = 0,
s = 0,
n = 0;
for (let o = 0; o < e.length; o++) {
let l = e[o];
if (0 === a && 0 === s) {
if (":" === l) {
t.push(e.slice(n, o)), (n = o + 1);
continue;
}
if ("/" === l) {
r = o;
continue;
}
}
"[" === l
? a++
: "]" === l
? a--
: "(" === l
? s++
: ")" === l && s--;
}
let l = 0 === t.length ? e : e.substring(n),
i = (o = l).endsWith("!")
? o.substring(0, o.length - 1)
: o.startsWith("!")
? o.substring(1)
: o;
return {
modifiers: t,
hasImportantModifier: i !== l,
baseClassName: i,
maybePostfixModifierPosition: r && r > n ? r - n : void 0,
};
};
if (o) {
let e = o + ":",
r = t;
t = (o) =>
o.startsWith(e)
? r(o.substring(e.length))
: {
isExternal: !0,
modifiers: [],
hasImportantModifier: !1,
baseClassName: o,
maybePostfixModifierPosition: void 0,
};
}
if (r) {
let e = t;
t = (o) => r({ className: o, parseClassName: e });
}
return t;
})(l),
sortModifiers:
((d = Object.fromEntries(
l.orderSensitiveModifiers.map((e) => [e, !0]),
)),
(e) => {
if (e.length <= 1) return e;
let o = [],
r = [];
return (
e.forEach((e) => {
"[" === e[0] || d[e]
? (o.push(...r.sort(), e), (r = []))
: r.push(e);
}),
o.push(...r.sort()),
o
);
}),
...((e) => {
let a = ((e) => {
let { theme: o, classGroups: r } = e,
a = { nextPart: new Map(), validators: [] };
for (let e in r) t(r[e], a, e, o);
return a;
})(e),
{
conflictingClassGroups: s,
conflictingClassGroupModifiers: n,
} = e;
return {
getClassGroupId: (e) => {
let t = e.split("-");
return (
"" === t[0] && 1 !== t.length && t.shift(),
o(t, a) ||
((e) => {
if (r.test(e)) {
let o = r.exec(e)[1],
t = o?.substring(0, o.indexOf(":"));
if (t) return "arbitrary.." + t;
}
})(e)
);
},
getConflictingClassGroupIds: (e, o) => {
let r = s[e] || [];
return o && n[e] ? [...r, ...n[e]] : r;
},
};
})(l),
}).cache.get),
(c = s.cache.set),
(m = p),
p(n)
);
};
function p(e) {
let o = i(e);
if (o) return o;
let r = ((e, o) => {
let {
parseClassName: r,
getClassGroupId: t,
getConflictingClassGroupIds: a,
sortModifiers: s,
} = o,
l = [],
i = e.trim().split(n),
d = "";
for (let e = i.length - 1; e >= 0; e -= 1) {
let o = i[e],
{
isExternal: n,
modifiers: c,
hasImportantModifier: m,
baseClassName: p,
maybePostfixModifierPosition: u,
} = r(o);
if (n) {
d = o + (d.length > 0 ? " " + d : d);
continue;
}
let b = !!u,
f = t(b ? p.substring(0, u) : p);
if (!f) {
if (!b || !(f = t(p))) {
d = o + (d.length > 0 ? " " + d : d);
continue;
}
b = !1;
}
let g = s(c).join(":"),
h = m ? g + "!" : g,
k = h + f;
if (l.includes(k)) continue;
l.push(k);
let x = a(f, b);
for (let e = 0; e < x.length; ++e) {
let o = x[e];
l.push(h + o);
}
d = o + (d.length > 0 ? " " + d : d);
}
return d;
})(e, s);
return c(e, r), r;
}
return function () {
return m(l.apply(null, arguments));
};
}
let c = (e) => {
let o = (o) => o[e] || [];
return (o.isThemeGetter = !0), o;
},
m = /^\[(?:(\w[\w-]*):)?(.+)\]$/i,
p = /^\((?:(\w[\w-]*):)?(.+)\)$/i,
u = /^\d+\/\d+$/,
b = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,
f =
/\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$/,
g = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,
h = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,
k =
/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,
x = (e) => u.test(e),
w = (e) => !!e && !Number.isNaN(Number(e)),
y = (e) => !!e && Number.isInteger(Number(e)),
v = (e) => e.endsWith("%") && w(e.slice(0, -1)),
z = (e) => b.test(e),
G = () => !0,
M = (e) => f.test(e) && !g.test(e),
C = () => !1,
j = (e) => h.test(e),
P = (e) => k.test(e),
N = (e) => !I(e) && !q(e),
S = (e) => D(e, L, C),
I = (e) => m.test(e),
$ = (e) => D(e, Q, M),
T = (e) => D(e, V, w),
E = (e) => D(e, H, C),
O = (e) => D(e, J, P),
W = (e) => D(e, Y, j),
q = (e) => p.test(e),
A = (e) => F(e, Q),
B = (e) => F(e, X),
K = (e) => F(e, H),
R = (e) => F(e, L),
U = (e) => F(e, J),
_ = (e) => F(e, Y, !0),
D = (e, o, r) => {
let t = m.exec(e);
return !!t && (t[1] ? o(t[1]) : r(t[2]));
},
F = (e, o, r = !1) => {
let t = p.exec(e);
return !!t && (t[1] ? o(t[1]) : r);
},
H = (e) => "position" === e || "percentage" === e,
J = (e) => "image" === e || "url" === e,
L = (e) => "length" === e || "size" === e || "bg-size" === e,
Q = (e) => "length" === e,
V = (e) => "number" === e,
X = (e) => "family-name" === e,
Y = (e) => "shadow" === e,
Z = () => {
let e = c("color"),
o = c("font"),
r = c("text"),
t = c("font-weight"),
a = c("tracking"),
s = c("leading"),
n = c("breakpoint"),
l = c("container"),
i = c("spacing"),
d = c("radius"),
m = c("shadow"),
p = c("inset-shadow"),
u = c("text-shadow"),
b = c("drop-shadow"),
f = c("blur"),
g = c("perspective"),
h = c("aspect"),
k = c("ease"),
M = c("animate"),
C = () => [
"auto",
"avoid",
"all",
"avoid-page",
"page",
"left",
"right",
"column",
],
j = () => [
"center",
"top",
"bottom",
"left",
"right",
"top-left",
"left-top",
"top-right",
"right-top",
"bottom-right",
"right-bottom",
"bottom-left",
"left-bottom",
],
P = () => [...j(), q, I],
D = () => ["auto", "hidden", "clip", "visible", "scroll"],
F = () => ["auto", "contain", "none"],
H = () => [q, I, i],
J = () => [x, "full", "auto", ...H()],
L = () => [y, "none", "subgrid", q, I],
Q = () => ["auto", { span: ["full", y, q, I] }, y, q, I],
V = () => [y, "auto", q, I],
X = () => ["auto", "min", "max", "fr", q, I],
Y = () => [
"start",
"end",
"center",
"between",
"around",
"evenly",
"stretch",
"baseline",
"center-safe",
"end-safe",
],
Z = () => [
"start",
"end",
"center",
"stretch",
"center-safe",
"end-safe",
],
ee = () => ["auto", ...H()],
eo = () => [
x,
"auto",
"full",
"dvw",
"dvh",
"lvw",
"lvh",
"svw",
"svh",
"min",
"max",
"fit",
...H(),
],
er = () => [e, q, I],
et = () => [...j(), K, E, { position: [q, I] }],
ea = () => [
"no-repeat",
{ repeat: ["", "x", "y", "space", "round"] },
],
es = () => ["auto", "cover", "contain", R, S, { size: [q, I] }],
en = () => [v, A, $],
el = () => ["", "none", "full", d, q, I],
ei = () => ["", w, A, $],
ed = () => ["solid", "dashed", "dotted", "double"],
ec = () => [
"normal",
"multiply",
"screen",
"overlay",
"darken",
"lighten",
"color-dodge",
"color-burn",
"hard-light",
"soft-light",
"difference",
"exclusion",
"hue",
"saturation",
"color",
"luminosity",
],
em = () => [w, v, K, E],
ep = () => ["", "none", f, q, I],
eu = () => ["none", w, q, I],
eb = () => ["none", w, q, I],
ef = () => [w, q, I],
eg = () => [x, "full", ...H()];
return {
cacheSize: 500,
theme: {
animate: ["spin", "ping", "pulse", "bounce"],
aspect: ["video"],
blur: [z],
breakpoint: [z],
color: [G],
container: [z],
"drop-shadow": [z],
ease: ["in", "out", "in-out"],
font: [N],
"font-weight": [
"thin",
"extralight",
"light",
"normal",
"medium",
"semibold",
"bold",
"extrabold",
"black",
],
"inset-shadow": [z],
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
perspective: [
"dramatic",
"near",
"normal",
"midrange",
"distant",
"none",
],
radius: [z],
shadow: [z],
spacing: ["px", w],
text: [z],
"text-shadow": [z],
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"],
},
classGroups: {
aspect: [{ aspect: ["auto", "square", x, I, q, h] }],
container: ["container"],
columns: [{ columns: [w, I, q, l] }],
"break-after": [{ "break-after": C() }],
"break-before": [{ "break-before": C() }],
"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: P() }],
overflow: [{ overflow: D() }],
"overflow-x": [{ "overflow-x": D() }],
"overflow-y": [{ "overflow-y": D() }],
overscroll: [{ overscroll: F() }],
"overscroll-x": [{ "overscroll-x": F() }],
"overscroll-y": [{ "overscroll-y": F() }],
position: ["static", "fixed", "absolute", "relative", "sticky"],
inset: [{ inset: J() }],
"inset-x": [{ "inset-x": J() }],
"inset-y": [{ "inset-y": J() }],
start: [{ start: J() }],
end: [{ end: J() }],
top: [{ top: J() }],
right: [{ right: J() }],
bottom: [{ bottom: J() }],
left: [{ left: J() }],
visibility: ["visible", "invisible", "collapse"],
z: [{ z: [y, "auto", q, I] }],
basis: [{ basis: [x, "full", "auto", l, ...H()] }],
"flex-direction": [
{ flex: ["row", "row-reverse", "col", "col-reverse"] },
],
"flex-wrap": [{ flex: ["nowrap", "wrap", "wrap-reverse"] }],
flex: [{ flex: [w, x, "auto", "initial", "none", I] }],
grow: [{ grow: ["", w, q, I] }],
shrink: [{ shrink: ["", w, q, I] }],
order: [{ order: [y, "first", "last", "none", q, I] }],
"grid-cols": [{ "grid-cols": L() }],
"col-start-end": [{ col: Q() }],
"col-start": [{ "col-start": V() }],
"col-end": [{ "col-end": V() }],
"grid-rows": [{ "grid-rows": L() }],
"row-start-end": [{ row: Q() }],
"row-start": [{ "row-start": V() }],
"row-end": [{ "row-end": V() }],
"grid-flow": [
{
"grid-flow": ["row", "col", "dense", "row-dense", "col-dense"],
},
],
"auto-cols": [{ "auto-cols": X() }],
"auto-rows": [{ "auto-rows": X() }],
gap: [{ gap: H() }],
"gap-x": [{ "gap-x": H() }],
"gap-y": [{ "gap-y": H() }],
"justify-content": [{ justify: [...Y(), "normal"] }],
"justify-items": [{ "justify-items": [...Z(), "normal"] }],
"justify-self": [{ "justify-self": ["auto", ...Z()] }],
"align-content": [{ content: ["normal", ...Y()] }],
"align-items": [{ items: [...Z(), { baseline: ["", "last"] }] }],
"align-self": [
{ self: ["auto", ...Z(), { baseline: ["", "last"] }] },
],
"place-content": [{ "place-content": Y() }],
"place-items": [{ "place-items": [...Z(), "baseline"] }],
"place-self": [{ "place-self": ["auto", ...Z()] }],
p: [{ p: H() }],
px: [{ px: H() }],
py: [{ py: H() }],
ps: [{ ps: H() }],
pe: [{ pe: H() }],
pt: [{ pt: H() }],
pr: [{ pr: H() }],
pb: [{ pb: H() }],
pl: [{ pl: H() }],
m: [{ m: ee() }],
mx: [{ mx: ee() }],
my: [{ my: ee() }],
ms: [{ ms: ee() }],
me: [{ me: ee() }],
mt: [{ mt: ee() }],
mr: [{ mr: ee() }],
mb: [{ mb: ee() }],
ml: [{ ml: ee() }],
"space-x": [{ "space-x": H() }],
"space-x-reverse": ["space-x-reverse"],
"space-y": [{ "space-y": H() }],
"space-y-reverse": ["space-y-reverse"],
size: [{ size: eo() }],
w: [{ w: [l, "screen", ...eo()] }],
"min-w": [{ "min-w": [l, "screen", "none", ...eo()] }],
"max-w": [
{
"max-w": [
l,
"screen",
"none",
"prose",
{ screen: [n] },
...eo(),
],
},
],
h: [{ h: ["screen", "lh", ...eo()] }],
"min-h": [{ "min-h": ["screen", "lh", "none", ...eo()] }],
"max-h": [{ "max-h": ["screen", "lh", ...eo()] }],
"font-size": [{ text: ["base", r, A, $] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [t, q, T] }],
"font-stretch": [
{
"font-stretch": [
"ultra-condensed",
"extra-condensed",
"condensed",
"semi-condensed",
"normal",
"semi-expanded",
"expanded",
"extra-expanded",
"ultra-expanded",
v,
I,
],
},
],
"font-family": [{ font: [B, I, o] }],
"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, q, I] }],
"line-clamp": [{ "line-clamp": [w, "none", q, T] }],
leading: [{ leading: [s, ...H()] }],
"list-image": [{ "list-image": ["none", q, I] }],
"list-style-position": [{ list: ["inside", "outside"] }],
"list-style-type": [{ list: ["disc", "decimal", "none", q, I] }],
"text-alignment": [
{ text: ["left", "center", "right", "justify", "start", "end"] },
],
"placeholder-color": [{ placeholder: er() }],
"text-color": [{ text: er() }],
"text-decoration": [
"underline",
"overline",
"line-through",
"no-underline",
],
"text-decoration-style": [{ decoration: [...ed(), "wavy"] }],
"text-decoration-thickness": [
{ decoration: [w, "from-font", "auto", q, $] },
],
"text-decoration-color": [{ decoration: er() }],
"underline-offset": [{ "underline-offset": [w, "auto", q, I] }],
"text-transform": [
"uppercase",
"lowercase",
"capitalize",
"normal-case",
],
"text-overflow": ["truncate", "text-ellipsis", "text-clip"],
"text-wrap": [{ text: ["wrap", "nowrap", "balance", "pretty"] }],
indent: [{ indent: H() }],
"vertical-align": [
{
align: [
"baseline",
"top",
"middle",
"bottom",
"text-top",
"text-bottom",
"sub",
"super",
q,
I,
],
},
],
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", q, I] }],
"bg-attachment": [{ bg: ["fixed", "local", "scroll"] }],
"bg-clip": [
{ "bg-clip": ["border", "padding", "content", "text"] },
],
"bg-origin": [{ "bg-origin": ["border", "padding", "content"] }],
"bg-position": [{ bg: et() }],
"bg-repeat": [{ bg: ea() }],
"bg-size": [{ bg: es() }],
"bg-image": [
{
bg: [
"none",
{
linear: [
{ to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"] },
y,
q,
I,
],
radial: ["", q, I],
conic: [y, q, I],
},
U,
O,
],
},
],
"bg-color": [{ bg: er() }],
"gradient-from-pos": [{ from: en() }],
"gradient-via-pos": [{ via: en() }],
"gradient-to-pos": [{ to: en() }],
"gradient-from": [{ from: er() }],
"gradient-via": [{ via: er() }],
"gradient-to": [{ to: er() }],
rounded: [{ rounded: el() }],
"rounded-s": [{ "rounded-s": el() }],
"rounded-e": [{ "rounded-e": el() }],
"rounded-t": [{ "rounded-t": el() }],
"rounded-r": [{ "rounded-r": el() }],
"rounded-b": [{ "rounded-b": el() }],
"rounded-l": [{ "rounded-l": el() }],
"rounded-ss": [{ "rounded-ss": el() }],
"rounded-se": [{ "rounded-se": el() }],
"rounded-ee": [{ "rounded-ee": el() }],
"rounded-es": [{ "rounded-es": el() }],
"rounded-tl": [{ "rounded-tl": el() }],
"rounded-tr": [{ "rounded-tr": el() }],
"rounded-br": [{ "rounded-br": el() }],
"rounded-bl": [{ "rounded-bl": el() }],
"border-w": [{ border: ei() }],
"border-w-x": [{ "border-x": ei() }],
"border-w-y": [{ "border-y": ei() }],
"border-w-s": [{ "border-s": ei() }],
"border-w-e": [{ "border-e": ei() }],
"border-w-t": [{ "border-t": ei() }],
"border-w-r": [{ "border-r": ei() }],
"border-w-b": [{ "border-b": ei() }],
"border-w-l": [{ "border-l": ei() }],
"divide-x": [{ "divide-x": ei() }],
"divide-x-reverse": ["divide-x-reverse"],
"divide-y": [{ "divide-y": ei() }],
"divide-y-reverse": ["divide-y-reverse"],
"border-style": [{ border: [...ed(), "hidden", "none"] }],
"divide-style": [{ divide: [...ed(), "hidden", "none"] }],
"border-color": [{ border: er() }],
"border-color-x": [{ "border-x": er() }],
"border-color-y": [{ "border-y": er() }],
"border-color-s": [{ "border-s": er() }],
"border-color-e": [{ "border-e": er() }],
"border-color-t": [{ "border-t": er() }],
"border-color-r": [{ "border-r": er() }],
"border-color-b": [{ "border-b": er() }],
"border-color-l": [{ "border-l": er() }],
"divide-color": [{ divide: er() }],
"outline-style": [{ outline: [...ed(), "none", "hidden"] }],
"outline-offset": [{ "outline-offset": [w, q, I] }],
"outline-w": [{ outline: ["", w, A, $] }],
"outline-color": [{ outline: er() }],
shadow: [{ shadow: ["", "none", m, _, W] }],
"shadow-color": [{ shadow: er() }],
"inset-shadow": [{ "inset-shadow": ["none", p, _, W] }],
"inset-shadow-color": [{ "inset-shadow": er() }],
"ring-w": [{ ring: ei() }],
"ring-w-inset": ["ring-inset"],
"ring-color": [{ ring: er() }],
"ring-offset-w": [{ "ring-offset": [w, $] }],
"ring-offset-color": [{ "ring-offset": er() }],
"inset-ring-w": [{ "inset-ring": ei() }],
"inset-ring-color": [{ "inset-ring": er() }],
"text-shadow": [{ "text-shadow": ["none", u, _, W] }],
"text-shadow-color": [{ "text-shadow": er() }],
opacity: [{ opacity: [w, q, I] }],
"mix-blend": [
{ "mix-blend": [...ec(), "plus-darker", "plus-lighter"] },
],
"bg-blend": [{ "bg-blend": ec() }],
"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": [w] }],
"mask-image-linear-from-pos": [{ "mask-linear-from": em() }],
"mask-image-linear-to-pos": [{ "mask-linear-to": em() }],
"mask-image-linear-from-color": [{ "mask-linear-from": er() }],
"mask-image-linear-to-color": [{ "mask-linear-to": er() }],
"mask-image-t-from-pos": [{ "mask-t-from": em() }],
"mask-image-t-to-pos": [{ "mask-t-to": em() }],
"mask-image-t-from-color": [{ "mask-t-from": er() }],
"mask-image-t-to-color": [{ "mask-t-to": er() }],
"mask-image-r-from-pos": [{ "mask-r-from": em() }],
"mask-image-r-to-pos": [{ "mask-r-to": em() }],
"mask-image-r-from-color": [{ "mask-r-from": er() }],
"mask-image-r-to-color": [{ "mask-r-to": er() }],
"mask-image-b-from-pos": [{ "mask-b-from": em() }],
"mask-image-b-to-pos": [{ "mask-b-to": em() }],
"mask-image-b-from-color": [{ "mask-b-from": er() }],
"mask-image-b-to-color": [{ "mask-b-to": er() }],
"mask-image-l-from-pos": [{ "mask-l-from": em() }],
"mask-image-l-to-pos": [{ "mask-l-to": em() }],
"mask-image-l-from-color": [{ "mask-l-from": er() }],
"mask-image-l-to-color": [{ "mask-l-to": er() }],
"mask-image-x-from-pos": [{ "mask-x-from": em() }],
"mask-image-x-to-pos": [{ "mask-x-to": em() }],
"mask-image-x-from-color": [{ "mask-x-from": er() }],
"mask-image-x-to-color": [{ "mask-x-to": er() }],
"mask-image-y-from-pos": [{ "mask-y-from": em() }],
"mask-image-y-to-pos": [{ "mask-y-to": em() }],
"mask-image-y-from-color": [{ "mask-y-from": er() }],
"mask-image-y-to-color": [{ "mask-y-to": er() }],
"mask-image-radial": [{ "mask-radial": [q, I] }],
"mask-image-radial-from-pos": [{ "mask-radial-from": em() }],
"mask-image-radial-to-pos": [{ "mask-radial-to": em() }],
"mask-image-radial-from-color": [{ "mask-radial-from": er() }],
"mask-image-radial-to-color": [{ "mask-radial-to": er() }],
"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": j() }],
"mask-image-conic-pos": [{ "mask-conic": [w] }],
"mask-image-conic-from-pos": [{ "mask-conic-from": em() }],
"mask-image-conic-to-pos": [{ "mask-conic-to": em() }],
"mask-image-conic-from-color": [{ "mask-conic-from": er() }],
"mask-image-conic-to-color": [{ "mask-conic-to": er() }],
"mask-mode": [{ mask: ["alpha", "luminance", "match"] }],
"mask-origin": [
{
"mask-origin": [
"border",
"padding",
"content",
"fill",
"stroke",
"view",
],
},
],
"mask-position": [{ mask: et() }],
"mask-repeat": [{ mask: ea() }],
"mask-size": [{ mask: es() }],
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
"mask-image": [{ mask: ["none", q, I] }],
filter: [{ filter: ["", "none", q, I] }],
blur: [{ blur: ep() }],
brightness: [{ brightness: [w, q, I] }],
contrast: [{ contrast: [w, q, I] }],
"drop-shadow": [{ "drop-shadow": ["", "none", b, _, W] }],
"drop-shadow-color": [{ "drop-shadow": er() }],
grayscale: [{ grayscale: ["", w, q, I] }],
"hue-rotate": [{ "hue-rotate": [w, q, I] }],
invert: [{ invert: ["", w, q, I] }],
saturate: [{ saturate: [w, q, I] }],
sepia: [{ sepia: ["", w, q, I] }],
"backdrop-filter": [{ "backdrop-filter": ["", "none", q, I] }],
"backdrop-blur": [{ "backdrop-blur": ep() }],
"backdrop-brightness": [{ "backdrop-brightness": [w, q, I] }],
"backdrop-contrast": [{ "backdrop-contrast": [w, q, I] }],
"backdrop-grayscale": [{ "backdrop-grayscale": ["", w, q, I] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [w, q, I] }],
"backdrop-invert": [{ "backdrop-invert": ["", w, q, I] }],
"backdrop-opacity": [{ "backdrop-opacity": [w, q, I] }],
"backdrop-saturate": [{ "backdrop-saturate": [w, q, I] }],
"backdrop-sepia": [{ "backdrop-sepia": ["", w, q, I] }],
"border-collapse": [{ border: ["collapse", "separate"] }],
"border-spacing": [{ "border-spacing": H() }],
"border-spacing-x": [{ "border-spacing-x": H() }],
"border-spacing-y": [{ "border-spacing-y": H() }],
"table-layout": [{ table: ["auto", "fixed"] }],
caption: [{ caption: ["top", "bottom"] }],
transition: [
{
transition: [
"",
"all",
"colors",
"opacity",
"shadow",
"transform",
"none",
q,
I,
],
},
],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [w, "initial", q, I] }],
ease: [{ ease: ["linear", "initial", k, q, I] }],
delay: [{ delay: [w, q, I] }],
animate: [{ animate: ["none", M, q, I] }],
backface: [{ backface: ["hidden", "visible"] }],
perspective: [{ perspective: [g, q, I] }],
"perspective-origin": [{ "perspective-origin": P() }],
rotate: [{ rotate: eu() }],
"rotate-x": [{ "rotate-x": eu() }],
"rotate-y": [{ "rotate-y": eu() }],
"rotate-z": [{ "rotate-z": eu() }],
scale: [{ scale: eb() }],
"scale-x": [{ "scale-x": eb() }],
"scale-y": [{ "scale-y": eb() }],
"scale-z": [{ "scale-z": eb() }],
"scale-3d": ["scale-3d"],
skew: [{ skew: ef() }],
"skew-x": [{ "skew-x": ef() }],
"skew-y": [{ "skew-y": ef() }],
transform: [{ transform: [q, I, "", "none", "gpu", "cpu"] }],
"transform-origin": [{ origin: P() }],
"transform-style": [{ transform: ["3d", "flat"] }],
translate: [{ translate: eg() }],
"translate-x": [{ "translate-x": eg() }],
"translate-y": [{ "translate-y": eg() }],
"translate-z": [{ "translate-z": eg() }],
"translate-none": ["translate-none"],
accent: [{ accent: er() }],
appearance: [{ appearance: ["none", "auto"] }],
"caret-color": [{ caret: er() }],
"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",
q,
I,
],
},
],
"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": H() }],
"scroll-mx": [{ "scroll-mx": H() }],
"scroll-my": [{ "scroll-my": H() }],
"scroll-ms": [{ "scroll-ms": H() }],
"scroll-me": [{ "scroll-me": H() }],
"scroll-mt": [{ "scroll-mt": H() }],
"scroll-mr": [{ "scroll-mr": H() }],
"scroll-mb": [{ "scroll-mb": H() }],
"scroll-ml": [{ "scroll-ml": H() }],
"scroll-p": [{ "scroll-p": H() }],
"scroll-px": [{ "scroll-px": H() }],
"scroll-py": [{ "scroll-py": H() }],
"scroll-ps": [{ "scroll-ps": H() }],
"scroll-pe": [{ "scroll-pe": H() }],
"scroll-pt": [{ "scroll-pt": H() }],
"scroll-pr": [{ "scroll-pr": H() }],
"scroll-pb": [{ "scroll-pb": H() }],
"scroll-pl": [{ "scroll-pl": H() }],
"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",
q,
I,
],
},
],
fill: [{ fill: ["none", ...er()] }],
"stroke-w": [{ stroke: [w, A, $, T] }],
stroke: [{ stroke: ["none", ...er()] }],
"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",
],
};
},
ee = (e, o, r) => {
void 0 !== r && (e[o] = r);
},
eo = (e, o) => {
if (o) for (let r in o) ee(e, r, o[r]);
},
er = (e, o) => {
if (o) for (let r in o) et(e, o, r);
},
et = (e, o, r) => {
let t = o[r];
void 0 !== t && (e[r] = e[r] ? e[r].concat(t) : t);
},
ea = (e, ...o) =>
"function" == typeof e
? d(Z, e, ...o)
: d(
() =>
((
e,
{
cacheSize: o,
prefix: r,
experimentalParseClassName: t,
extend: a = {},
override: s = {},
},
) => (
ee(e, "cacheSize", o),
ee(e, "prefix", r),
ee(e, "experimentalParseClassName", t),
eo(e.theme, s.theme),
eo(e.classGroups, s.classGroups),
eo(e.conflictingClassGroups, s.conflictingClassGroups),
eo(
e.conflictingClassGroupModifiers,
s.conflictingClassGroupModifiers,
),
ee(e, "orderSensitiveModifiers", s.orderSensitiveModifiers),
er(e.theme, a.theme),
er(e.classGroups, a.classGroups),
er(e.conflictingClassGroups, a.conflictingClassGroups),
er(
e.conflictingClassGroupModifiers,
a.conflictingClassGroupModifiers,
),
et(e, a, "orderSensitiveModifiers"),
e
))(Z(), e),
...o,
),
es = d(Z);
e.s(["extendTailwindMerge", () => ea, "twMerge", () => es]);
};
export default moduleFactory;