@weapp-tailwindcss/postcss 3.1.4 → 3.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/compat/color-mix/constants.d.ts +1 -0
- package/dist/compat/color-mix/modern.d.ts +1 -0
- package/dist/compat/tailwindcss-v4.d.ts +2 -0
- package/dist/compat/web-css.d.ts +3 -0
- package/dist/generator-plugin/local-imports.d.ts +4 -1
- package/dist/generator-plugin/types.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1114 -1242
- package/dist/index.mjs +1109 -1238
- package/dist/types.d.ts +39 -2
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -5,6 +5,7 @@ import { createRequire } from "node:module";
|
|
|
5
5
|
import postcss, { Declaration, Rule, rule, default as postcss$1 } from "postcss";
|
|
6
6
|
import valueParser from "postcss-value-parser";
|
|
7
7
|
import s from "autoprefixer";
|
|
8
|
+
import { MappingChars2String, escape } from "@weapp-core/escape";
|
|
8
9
|
import path from "node:path";
|
|
9
10
|
import process$1 from "node:process";
|
|
10
11
|
import { realpathSync } from "node:fs";
|
|
@@ -18,7 +19,6 @@ import postcssCalc from "@weapp-tailwindcss/postcss-calc";
|
|
|
18
19
|
import postcssPxtrans from "postcss-pxtrans";
|
|
19
20
|
import postcssRem2rpx from "postcss-rem-to-responsive-pixel";
|
|
20
21
|
import postcssUnitConverter, { composeRules as unitConversionComposeRules, presets, presets as unitConversionPresets } from "postcss-rule-unit-converter";
|
|
21
|
-
import { MappingChars2String, escape } from "@weapp-core/escape";
|
|
22
22
|
import postcssrc from "postcss-load-config";
|
|
23
23
|
//#region \0rolldown/runtime.js
|
|
24
24
|
var __create = Object.create;
|
|
@@ -49,6 +49,13 @@ const MODERN_COLOR_FUNCTION_NAMES = /* @__PURE__ */ new Set([
|
|
|
49
49
|
"lch",
|
|
50
50
|
"lab"
|
|
51
51
|
]);
|
|
52
|
+
const MODERN_COLOR_SYNTAX_FUNCTION_NAMES = /* @__PURE__ */ new Set([
|
|
53
|
+
"rgb",
|
|
54
|
+
"rgba",
|
|
55
|
+
"hsl",
|
|
56
|
+
"hsla",
|
|
57
|
+
"hwb"
|
|
58
|
+
]);
|
|
52
59
|
const PLACEHOLDER_PREFIX = "__weapp_tw_color_mix_";
|
|
53
60
|
const DYNAMIC_ALPHA_RE = /\b(?:var|env)\(|--[\w-]+\b/;
|
|
54
61
|
const INTERNAL_TAILWIND_ALPHA_RE = /var\(\s*--tw-[^)]+-alpha\s*\)/;
|
|
@@ -61,13 +68,21 @@ const CUSTOM_PROPERTY_RE = /^--[\w-]+$/;
|
|
|
61
68
|
function isDisplayP3ColorFunction(colorSource) {
|
|
62
69
|
return /^color\(\s*display-p3\b/i.test(colorSource.trim());
|
|
63
70
|
}
|
|
71
|
+
function isModernColorSyntaxFunction(colorSource) {
|
|
72
|
+
const parsed = valueParser(colorSource.trim());
|
|
73
|
+
const node = parsed.nodes.length === 1 ? parsed.nodes[0] : void 0;
|
|
74
|
+
if (node?.type !== "function") return false;
|
|
75
|
+
const name = node.value.toLowerCase();
|
|
76
|
+
if (!MODERN_COLOR_SYNTAX_FUNCTION_NAMES.has(name)) return false;
|
|
77
|
+
return !node.nodes.some((child) => child.type === "div" && child.value === ",");
|
|
78
|
+
}
|
|
64
79
|
function hasUnsupportedModernColorFunction(value) {
|
|
65
80
|
const parsed = valueParser(value);
|
|
66
81
|
let hasUnsupported = false;
|
|
67
82
|
parsed.walk((node) => {
|
|
68
83
|
if (node.type !== "function") return;
|
|
69
84
|
const name = node.value.toLowerCase();
|
|
70
|
-
if (name === "color-mix" || MODERN_COLOR_FUNCTION_NAMES.has(name) || name === "color" && isDisplayP3ColorFunction(valueParser.stringify(node))) {
|
|
85
|
+
if (name === "color-mix" || MODERN_COLOR_FUNCTION_NAMES.has(name) || name === "color" && isDisplayP3ColorFunction(valueParser.stringify(node)) || isModernColorSyntaxFunction(valueParser.stringify(node))) {
|
|
71
86
|
hasUnsupported = true;
|
|
72
87
|
return false;
|
|
73
88
|
}
|
|
@@ -99,16 +114,16 @@ const e$28 = {
|
|
|
99
114
|
UnexpectedCharacterInURL: "Unexpected character while consuming a url token.",
|
|
100
115
|
InvalidEscapeSequenceInURL: "Invalid escape sequence while consuming a url token.",
|
|
101
116
|
InvalidEscapeSequenceAfterBackslash: "Invalid escape sequence after \"\\\""
|
|
102
|
-
}, n$
|
|
117
|
+
}, n$14 = "undefined" != typeof globalThis && "structuredClone" in globalThis;
|
|
103
118
|
function cloneTokens(e) {
|
|
104
|
-
return n$
|
|
119
|
+
return n$14 ? structuredClone(e) : JSON.parse(JSON.stringify(e));
|
|
105
120
|
}
|
|
106
121
|
function stringify$1(...e) {
|
|
107
122
|
let n = "";
|
|
108
123
|
for (let t = 0; t < e.length; t++) n += e[t][1];
|
|
109
124
|
return n;
|
|
110
125
|
}
|
|
111
|
-
const t$17 = 13, o$26 = 45, r$10 = 10, i$11 = 43, s$
|
|
126
|
+
const t$17 = 13, o$26 = 45, r$10 = 10, i$11 = 43, s$18 = 65533;
|
|
112
127
|
function checkIfFourCodePointsWouldStartCDO(e) {
|
|
113
128
|
return 60 === e.source.codePointAt(e.cursor) && 33 === e.source.codePointAt(e.cursor + 1) && e.source.codePointAt(e.cursor + 2) === o$26 && e.source.codePointAt(e.cursor + 3) === o$26;
|
|
114
129
|
}
|
|
@@ -250,22 +265,22 @@ function consumeComment$1(n, t) {
|
|
|
250
265
|
}
|
|
251
266
|
function consumeEscapedCodePoint(n, o) {
|
|
252
267
|
const i = o.readCodePoint();
|
|
253
|
-
if (void 0 === i) return n.onParseError(new ParseError$1(e$28.UnexpectedEOFInEscapedCodePoint, o.representationStart, o.representationEnd, ["4.3.7. Consume an escaped code point", "Unexpected EOF"])), s$
|
|
268
|
+
if (void 0 === i) return n.onParseError(new ParseError$1(e$28.UnexpectedEOFInEscapedCodePoint, o.representationStart, o.representationEnd, ["4.3.7. Consume an escaped code point", "Unexpected EOF"])), s$18;
|
|
254
269
|
if (isHexDigitCodePoint(i)) {
|
|
255
270
|
const e = [i];
|
|
256
271
|
let n;
|
|
257
272
|
for (; void 0 !== (n = o.source.codePointAt(o.cursor)) && isHexDigitCodePoint(n) && e.length < 6;) e.push(n), o.advanceCodePoint();
|
|
258
273
|
isWhitespace(o.source.codePointAt(o.cursor) ?? -1) && (o.source.codePointAt(o.cursor) === t$17 && o.source.codePointAt(o.cursor + 1) === r$10 && o.advanceCodePoint(), o.advanceCodePoint());
|
|
259
274
|
const c = parseInt(String.fromCodePoint(...e), 16);
|
|
260
|
-
return 0 === c || isSurrogate(c) || c > 1114111 ? s$
|
|
275
|
+
return 0 === c || isSurrogate(c) || c > 1114111 ? s$18 : c;
|
|
261
276
|
}
|
|
262
|
-
return 0 === i || isSurrogate(i) ? s$
|
|
277
|
+
return 0 === i || isSurrogate(i) ? s$18 : i;
|
|
263
278
|
}
|
|
264
279
|
function consumeIdentSequence(e, n) {
|
|
265
280
|
const t = [];
|
|
266
281
|
for (;;) {
|
|
267
282
|
const o = n.source.codePointAt(n.cursor) ?? -1;
|
|
268
|
-
if (0 === o || isSurrogate(o)) t.push(s$
|
|
283
|
+
if (0 === o || isSurrogate(o)) t.push(s$18), n.advanceCodePoint(+(o > 65535) + 1);
|
|
269
284
|
else if (isIdentCodePoint(o)) t.push(o), n.advanceCodePoint(+(o > 65535) + 1);
|
|
270
285
|
else {
|
|
271
286
|
if (!checkIfTwoCodePointsAreAValidEscape(n)) return t;
|
|
@@ -428,7 +443,7 @@ function consumeStringToken(n, o) {
|
|
|
428
443
|
o.representationEnd,
|
|
429
444
|
{ value: i }
|
|
430
445
|
];
|
|
431
|
-
if (92 !== u) 0 === u || isSurrogate(u) ? i += String.fromCodePoint(s$
|
|
446
|
+
if (92 !== u) 0 === u || isSurrogate(u) ? i += String.fromCodePoint(s$18) : i += String.fromCodePoint(u);
|
|
432
447
|
else {
|
|
433
448
|
if (void 0 === o.source.codePointAt(o.cursor)) continue;
|
|
434
449
|
if (isNewLine(o.source.codePointAt(o.cursor) ?? -1)) {
|
|
@@ -532,7 +547,7 @@ function consumeUrlToken(n, t) {
|
|
|
532
547
|
"The input stream does not start with a valid escape sequence"
|
|
533
548
|
], r)), r;
|
|
534
549
|
}
|
|
535
|
-
0 === t.source.codePointAt(t.cursor) || isSurrogate(t.source.codePointAt(t.cursor) ?? -1) ? (o += String.fromCodePoint(s$
|
|
550
|
+
0 === t.source.codePointAt(t.cursor) || isSurrogate(t.source.codePointAt(t.cursor) ?? -1) ? (o += String.fromCodePoint(s$18), t.advanceCodePoint()) : (o += t.source[t.cursor], t.advanceCodePoint());
|
|
536
551
|
}
|
|
537
552
|
}
|
|
538
553
|
function consumeIdentLikeToken(e, n) {
|
|
@@ -800,14 +815,14 @@ function mutateUnit(e, n) {
|
|
|
800
815
|
}
|
|
801
816
|
function serializeIdent(e) {
|
|
802
817
|
let n = 0;
|
|
803
|
-
if (0 === e[0]) e.splice(0, 1, s$
|
|
818
|
+
if (0 === e[0]) e.splice(0, 1, s$18), n = 1;
|
|
804
819
|
else if (e[0] === o$26 && e[1] === o$26) n = 2;
|
|
805
820
|
else if (e[0] === o$26 && e[1]) n = 2, isIdentStartCodePoint(e[1]) || (n += insertEscapedCodePoint(e, 1, e[1]));
|
|
806
821
|
else {
|
|
807
822
|
if (e[0] === o$26 && !e[1]) return [92, e[0]];
|
|
808
823
|
isIdentStartCodePoint(e[0]) ? n = 1 : (n = 1, n += insertEscapedCodePoint(e, 0, e[0]));
|
|
809
824
|
}
|
|
810
|
-
for (let t = n; t < e.length; t++) 0 !== e[t] ? isIdentCodePoint(e[t]) || (t += insertEscapedCharacter(e, t, e[t])) : (e.splice(t, 1, s$
|
|
825
|
+
for (let t = n; t < e.length; t++) 0 !== e[t] ? isIdentCodePoint(e[t]) || (t += insertEscapedCharacter(e, t, e[t])) : (e.splice(t, 1, s$18), t++);
|
|
811
826
|
return e;
|
|
812
827
|
}
|
|
813
828
|
function insertEscapedCharacter(e, n, t) {
|
|
@@ -818,9 +833,9 @@ function insertEscapedCodePoint(e, n, t) {
|
|
|
818
833
|
for (const e of o) r.push(e.codePointAt(0));
|
|
819
834
|
return e.splice(n, 1, 92, ...r, 32), 1 + r.length;
|
|
820
835
|
}
|
|
821
|
-
const d$
|
|
836
|
+
const d$2 = Object.values(c$7);
|
|
822
837
|
function isToken(e) {
|
|
823
|
-
return !!Array.isArray(e) && !(e.length < 4) && !!d$
|
|
838
|
+
return !!Array.isArray(e) && !(e.length < 4) && !!d$2.includes(e[0]) && "string" == typeof e[1] && "number" == typeof e[2] && "number" == typeof e[3];
|
|
824
839
|
}
|
|
825
840
|
function isTokenNumeric(e) {
|
|
826
841
|
if (!e) return !1;
|
|
@@ -1015,7 +1030,7 @@ function HSL_to_sRGB_channel(_, t, n, o) {
|
|
|
1015
1030
|
n
|
|
1016
1031
|
];
|
|
1017
1032
|
}
|
|
1018
|
-
const n$
|
|
1033
|
+
const n$13 = [
|
|
1019
1034
|
.3457 / .3585,
|
|
1020
1035
|
1,
|
|
1021
1036
|
.2958 / .3585
|
|
@@ -1028,9 +1043,9 @@ const n$12 = [
|
|
|
1028
1043
|
*/ function Lab_to_XYZ(_) {
|
|
1029
1044
|
const t = 24389 / 27, o = 216 / 24389, e = (_[0] + 16) / 116, r = _[1] / 500 + e, a = e - _[2] / 200;
|
|
1030
1045
|
return [
|
|
1031
|
-
(Math.pow(r, 3) > o ? Math.pow(r, 3) : (116 * r - 16) / t) * n$
|
|
1032
|
-
(_[0] > 8 ? Math.pow((_[0] + 16) / 116, 3) : _[0] / t) * n$
|
|
1033
|
-
(Math.pow(a, 3) > o ? Math.pow(a, 3) : (116 * a - 16) / t) * n$
|
|
1046
|
+
(Math.pow(r, 3) > o ? Math.pow(r, 3) : (116 * r - 16) / t) * n$13[0],
|
|
1047
|
+
(_[0] > 8 ? Math.pow((_[0] + 16) / 116, 3) : _[0] / t) * n$13[1],
|
|
1048
|
+
(Math.pow(a, 3) > o ? Math.pow(a, 3) : (116 * a - 16) / t) * n$13[2]
|
|
1034
1049
|
];
|
|
1035
1050
|
}
|
|
1036
1051
|
/**
|
|
@@ -1101,11 +1116,11 @@ function OKLab_to_XYZ(_) {
|
|
|
1101
1116
|
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
1102
1117
|
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
1103
1118
|
*/ function XYZ_to_Lab(_) {
|
|
1104
|
-
const t = compute_f(_[0] / n$
|
|
1119
|
+
const t = compute_f(_[0] / n$13[0]), o = compute_f(_[1] / n$13[1]);
|
|
1105
1120
|
return [
|
|
1106
1121
|
116 * o - 16,
|
|
1107
1122
|
500 * (t - o),
|
|
1108
|
-
200 * (o - compute_f(_[2] / n$
|
|
1123
|
+
200 * (o - compute_f(_[2] / n$13[2]))
|
|
1109
1124
|
];
|
|
1110
1125
|
}
|
|
1111
1126
|
const r$9 = 216 / 24389, a$7 = 24389 / 27;
|
|
@@ -1186,7 +1201,7 @@ const c$6 = [
|
|
|
1186
1201
|
*/ function XYZ_to_lin_P3(_) {
|
|
1187
1202
|
return multiplyMatrices(c$6, _);
|
|
1188
1203
|
}
|
|
1189
|
-
const s$
|
|
1204
|
+
const s$17 = [
|
|
1190
1205
|
1.3457868816471583,
|
|
1191
1206
|
-.25557208737979464,
|
|
1192
1207
|
-.05110186497554526,
|
|
@@ -1204,7 +1219,7 @@ const s$16 = [
|
|
|
1204
1219
|
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
1205
1220
|
* @see http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html
|
|
1206
1221
|
*/ function XYZ_to_lin_ProPhoto(_) {
|
|
1207
|
-
return multiplyMatrices(s$
|
|
1222
|
+
return multiplyMatrices(s$17, _);
|
|
1208
1223
|
}
|
|
1209
1224
|
const X = [
|
|
1210
1225
|
1829569 / 896150,
|
|
@@ -6894,7 +6909,7 @@ function normalizeModernColorValue(value, customPropertyValues = /* @__PURE__ */
|
|
|
6894
6909
|
const name = node.value.toLowerCase();
|
|
6895
6910
|
const source = valueParser.stringify(node);
|
|
6896
6911
|
let normalized;
|
|
6897
|
-
if (MODERN_COLOR_FUNCTION_NAMES.has(name) || name === "color" && isDisplayP3ColorFunction(source)) normalized = normalizeStandaloneColorFunction(source);
|
|
6912
|
+
if (MODERN_COLOR_FUNCTION_NAMES.has(name) || name === "color" && isDisplayP3ColorFunction(source) || isModernColorSyntaxFunction(source)) normalized = normalizeStandaloneColorFunction(source);
|
|
6898
6913
|
else if (name === "color-mix") normalized = tryResolveColorMix(node, customPropertyValues)?.value;
|
|
6899
6914
|
if (!normalized) return;
|
|
6900
6915
|
const mutableNode = node;
|
|
@@ -7278,10 +7293,9 @@ function createCssVarNodes(definitions) {
|
|
|
7278
7293
|
}
|
|
7279
7294
|
//#endregion
|
|
7280
7295
|
//#region src/compat/tailwindcss-v4.ts
|
|
7281
|
-
const OKLAB_SUFFIX = "in oklab";
|
|
7282
|
-
const INFINITY_CALC_REGEXP = /calc\(\s*infinity\s*\*\s*(?:\d+(?:\.\d*)?|\.\d+)r?px/;
|
|
7283
7296
|
const RADIUS_THRESHOLD = 1e5;
|
|
7284
7297
|
const CLAMP_PX = 9999;
|
|
7298
|
+
const INFINITY_CALC_VALUE_REGEXP = /^calc\(\s*infinity\s*\*\s*(?:\d+(?:\.\d*)?|\.\d+)r?px\s*\)$/i;
|
|
7285
7299
|
const MODERN_CHECK_WEBKIT_HYPHENS_RE = /-webkit-hyphens\s*:\s*none/;
|
|
7286
7300
|
const MODERN_CHECK_MARGIN_TRIM_RE = /margin-trim\s*:\s*inline/;
|
|
7287
7301
|
const MODERN_CHECK_MOZ_ORIENT_RE = /-moz-orient\s*:\s*inline/;
|
|
@@ -7419,6 +7433,9 @@ function normalizeDeclarationValue(value) {
|
|
|
7419
7433
|
function normalizeTailwindcssV4GradientPosition(value) {
|
|
7420
7434
|
return value.replace(/calc\(\s*([+-]?(?:\d+(?:\.\d+)?|\.\d+)(?:deg|grad|rad|turn))\s*\*\s*-1\s*\)/gi, "-$1").replace(/^in\s+(?:oklab|oklch|hsl|srgb)(?:\s+(?:longer|shorter|increasing|decreasing)\s+hue)?$/i, "").replace(/\s+in\s+(?:oklab|oklch|hsl|srgb)(?:\s+(?:longer|shorter|increasing|decreasing)\s+hue)?\s*$/i, "").replace(/\s+(?:longer|shorter|increasing|decreasing)\s*$/i, "").trim();
|
|
7421
7435
|
}
|
|
7436
|
+
function normalizeTailwindcssV4InfinityCalcValue(value) {
|
|
7437
|
+
return INFINITY_CALC_VALUE_REGEXP.test(value.trim()) ? `${CLAMP_PX}px` : value;
|
|
7438
|
+
}
|
|
7422
7439
|
function normalizeTailwindcssV4GradientDirectionDeclaration(rule, decl) {
|
|
7423
7440
|
const normalized = normalizeTailwindcssV4GradientPosition(decl.value);
|
|
7424
7441
|
if (normalized) return normalized;
|
|
@@ -7463,6 +7480,7 @@ function reorderTailwindcssV4GradientDirectionRule(rule) {
|
|
|
7463
7480
|
else if (node.prop === "background-image" && node.value.includes("linear-gradient(")) gradientBackgroundDecls.push(node);
|
|
7464
7481
|
}
|
|
7465
7482
|
if (gradientPositionDecls.length === 0 || gradientBackgroundDecls.length === 0) return;
|
|
7483
|
+
for (const decl of gradientPositionDecls) decl.value = normalizeTailwindcssV4GradientDirectionDeclaration(rule, decl);
|
|
7466
7484
|
const anchor = rule.nodes.find((node) => {
|
|
7467
7485
|
return node.type === "decl" && (node.prop === "--tw-gradient-position" || node.prop === "background-image" && node.value.includes("linear-gradient("));
|
|
7468
7486
|
});
|
|
@@ -7476,6 +7494,9 @@ function mergeTailwindcssV4GradientDirectionRules(root) {
|
|
|
7476
7494
|
const seen = /* @__PURE__ */ new Map();
|
|
7477
7495
|
root.walkRules((rule) => {
|
|
7478
7496
|
if (!isTailwindcssV4GradientDirectionRule(rule)) return;
|
|
7497
|
+
rule.walkDecls("--tw-gradient-position", (decl) => {
|
|
7498
|
+
decl.value = normalizeTailwindcssV4GradientDirectionDeclaration(rule, decl);
|
|
7499
|
+
});
|
|
7479
7500
|
const selector = rule.selector.trim();
|
|
7480
7501
|
const previous = seen.get(selector);
|
|
7481
7502
|
if (!previous || previous.parent !== rule.parent) {
|
|
@@ -7766,12 +7787,16 @@ function normalizeTailwindcssV4Declaration(decl) {
|
|
|
7766
7787
|
decl.value = normalizedGradientPositionFallback;
|
|
7767
7788
|
changed = true;
|
|
7768
7789
|
}
|
|
7769
|
-
if (decl.prop === "--tw-gradient-position"
|
|
7770
|
-
|
|
7771
|
-
|
|
7790
|
+
if (decl.prop === "--tw-gradient-position") {
|
|
7791
|
+
const nextValue = decl.parent?.type === "rule" ? normalizeTailwindcssV4GradientDirectionDeclaration(decl.parent, decl) : normalizeTailwindcssV4GradientPosition(decl.value);
|
|
7792
|
+
if (nextValue !== decl.value) {
|
|
7793
|
+
decl.value = nextValue;
|
|
7794
|
+
return true;
|
|
7795
|
+
}
|
|
7772
7796
|
}
|
|
7773
|
-
|
|
7774
|
-
|
|
7797
|
+
const normalizedInfinityCalcValue = normalizeTailwindcssV4InfinityCalcValue(decl.value);
|
|
7798
|
+
if (normalizedInfinityCalcValue !== decl.value) {
|
|
7799
|
+
decl.value = normalizedInfinityCalcValue;
|
|
7775
7800
|
return true;
|
|
7776
7801
|
}
|
|
7777
7802
|
if (decl.prop.includes("radius")) {
|
|
@@ -8131,23 +8156,31 @@ function mergeEquivalentHoistedRules(rules) {
|
|
|
8131
8156
|
const MINI_PROGRAM_PSEUDO_CONTENT_SELECTORS = /* @__PURE__ */ new Set(["::before", "::after"]);
|
|
8132
8157
|
function applyConfiguredPreflightDeclarations(rule, cssPreflight) {
|
|
8133
8158
|
if (!cssPreflight || typeof cssPreflight !== "object") return;
|
|
8134
|
-
const
|
|
8135
|
-
|
|
8136
|
-
|
|
8137
|
-
|
|
8138
|
-
if (
|
|
8139
|
-
|
|
8140
|
-
|
|
8159
|
+
const configuredNodes = [];
|
|
8160
|
+
const remainingNodes = [];
|
|
8161
|
+
const remainingDeclarations = /* @__PURE__ */ new Map();
|
|
8162
|
+
for (const node of rule.nodes ?? []) {
|
|
8163
|
+
if (node.type !== "decl") {
|
|
8164
|
+
remainingNodes.push(node);
|
|
8165
|
+
continue;
|
|
8141
8166
|
}
|
|
8142
|
-
|
|
8143
|
-
|
|
8167
|
+
if (Object.hasOwn(cssPreflight, node.prop)) {
|
|
8168
|
+
remainingDeclarations.set(node.prop, node);
|
|
8169
|
+
continue;
|
|
8170
|
+
}
|
|
8171
|
+
remainingNodes.push(node);
|
|
8172
|
+
}
|
|
8144
8173
|
for (const [prop, value] of Object.entries(cssPreflight)) {
|
|
8145
|
-
if (value === false
|
|
8146
|
-
|
|
8174
|
+
if (value === false) continue;
|
|
8175
|
+
const declaration = remainingDeclarations.get(prop)?.clone() ?? postcss$1.decl({
|
|
8147
8176
|
prop,
|
|
8148
8177
|
value: value.toString()
|
|
8149
8178
|
});
|
|
8179
|
+
declaration.value = value.toString();
|
|
8180
|
+
configuredNodes.push(declaration);
|
|
8150
8181
|
}
|
|
8182
|
+
rule.removeAll();
|
|
8183
|
+
rule.append([...configuredNodes, ...remainingNodes]);
|
|
8151
8184
|
}
|
|
8152
8185
|
function collectTailwindRuntimeDeclarations(rule) {
|
|
8153
8186
|
const declarations = [];
|
|
@@ -39502,7 +39535,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
39502
39535
|
};
|
|
39503
39536
|
}));
|
|
39504
39537
|
//#endregion
|
|
39505
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-initial@3.0.0_postcss@8.5.
|
|
39538
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-initial@3.0.0_postcss@8.5.16/node_modules/@csstools/postcss-initial/dist/index.mjs
|
|
39506
39539
|
var import_browserslist = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
39507
39540
|
var bbm = require_dist$2();
|
|
39508
39541
|
var jsReleases = require_envs();
|
|
@@ -40771,7 +40804,7 @@ function hasExactFallback(o, t) {
|
|
|
40771
40804
|
}
|
|
40772
40805
|
return !1;
|
|
40773
40806
|
}
|
|
40774
|
-
const e$26 = /^\s?initial\s?$/i, n$
|
|
40807
|
+
const e$26 = /^\s?initial\s?$/i, n$12 = /^font$/i, r$8 = /^all$/i, i$9 = [
|
|
40775
40808
|
"font-family",
|
|
40776
40809
|
"font-size",
|
|
40777
40810
|
"font-style",
|
|
@@ -40787,7 +40820,7 @@ const e$26 = /^\s?initial\s?$/i, n$11 = /^font$/i, r$8 = /^all$/i, i$9 = [
|
|
|
40787
40820
|
if (a.variable) return;
|
|
40788
40821
|
if (!e$26.test(a.value)) return;
|
|
40789
40822
|
let s;
|
|
40790
|
-
s = n$
|
|
40823
|
+
s = n$12.test(a.prop) ? i$9 : r$8.test(a.prop) ? t$15 : [a.prop.toLowerCase()];
|
|
40791
40824
|
let c = !1;
|
|
40792
40825
|
s.forEach((t) => {
|
|
40793
40826
|
const e = o$24.get(t);
|
|
@@ -40801,8 +40834,8 @@ const e$26 = /^\s?initial\s?$/i, n$11 = /^font$/i, r$8 = /^all$/i, i$9 = [
|
|
|
40801
40834
|
};
|
|
40802
40835
|
creator$52.postcss = !0;
|
|
40803
40836
|
//#endregion
|
|
40804
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-progressive-custom-properties@5.1.
|
|
40805
|
-
const
|
|
40837
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-progressive-custom-properties@5.1.1_postcss@8.5.16/node_modules/@csstools/postcss-progressive-custom-properties/dist/index.mjs
|
|
40838
|
+
const r$7 = [
|
|
40806
40839
|
"at",
|
|
40807
40840
|
"bottom",
|
|
40808
40841
|
"center",
|
|
@@ -40820,59 +40853,59 @@ const a$6 = [
|
|
|
40820
40853
|
"top"
|
|
40821
40854
|
];
|
|
40822
40855
|
function doublePositionGradients(e) {
|
|
40823
|
-
const
|
|
40824
|
-
if ("function" === e.type && ("conic-gradient" ===
|
|
40825
|
-
let
|
|
40826
|
-
e: for (let
|
|
40827
|
-
const
|
|
40828
|
-
if ("word" ===
|
|
40829
|
-
if ("word" !==
|
|
40856
|
+
const t = [], o = e.value.toLowerCase();
|
|
40857
|
+
if ("function" === e.type && ("conic-gradient" === o || "linear-gradient" === o || "radial-gradient" === o || "repeating-conic-gradient" === o || "repeating-linear-gradient" === o || "repeating-radial-gradient" === o)) {
|
|
40858
|
+
let o = 0, a = !1, i = !1;
|
|
40859
|
+
e: for (let s = 0; s < e.nodes.length; s++) {
|
|
40860
|
+
const n = e.nodes[s];
|
|
40861
|
+
if ("word" === n.type && r$7.includes(n.value.toLowerCase()) && (a = !0), "div" !== n.type || "," !== n.value.trim()) if ("word" !== n.type || "in" !== n.value.toLowerCase()) {
|
|
40862
|
+
if ("word" !== n.type && "function" !== n.type || o++, i) switch (e.value.toLowerCase()) {
|
|
40830
40863
|
case "conic-gradient":
|
|
40831
|
-
|
|
40864
|
+
t.push("(background: conic-gradient(in oklch, red 0deg, red 0deg 1deg, red 2deg))");
|
|
40832
40865
|
break e;
|
|
40833
40866
|
case "linear-gradient":
|
|
40834
|
-
|
|
40867
|
+
t.push("(background: linear-gradient(in oklch, red 0%, red 0% 1%, red 2%))");
|
|
40835
40868
|
break e;
|
|
40836
40869
|
case "radial-gradient":
|
|
40837
|
-
|
|
40870
|
+
t.push("(background: radial-gradient(in oklch, red, red 1px 2px, red 3px))");
|
|
40838
40871
|
break e;
|
|
40839
40872
|
case "repeating-conic-gradient":
|
|
40840
|
-
|
|
40873
|
+
t.push("(background: repeating-conic-gradient(in oklch from 0deg, red 0deg, red 0deg 1deg, red 2deg))");
|
|
40841
40874
|
break e;
|
|
40842
40875
|
case "repeating-linear-gradient":
|
|
40843
|
-
|
|
40876
|
+
t.push("(background: repeating-linear-gradient(in oklch, red 0%, red 0% 1%, red 2%))");
|
|
40844
40877
|
break e;
|
|
40845
40878
|
case "repeating-radial-gradient":
|
|
40846
|
-
|
|
40879
|
+
t.push("(background: repeating-radial-gradient(in oklch, red, red 1px 2px, red 3px))");
|
|
40847
40880
|
break e;
|
|
40848
40881
|
}
|
|
40849
|
-
if (!
|
|
40882
|
+
if (!a && 3 === o) switch (e.value.toLowerCase()) {
|
|
40850
40883
|
case "conic-gradient":
|
|
40851
|
-
|
|
40884
|
+
t.push("(background: conic-gradient(red 0deg, red 0deg 1deg, red 2deg))");
|
|
40852
40885
|
break e;
|
|
40853
40886
|
case "linear-gradient":
|
|
40854
|
-
|
|
40887
|
+
t.push("(background: linear-gradient(red 0%, red 0% 1%, red 2%))");
|
|
40855
40888
|
break e;
|
|
40856
40889
|
case "radial-gradient":
|
|
40857
|
-
|
|
40890
|
+
t.push("(background: radial-gradient(red, red 1px 2px, red 3px))");
|
|
40858
40891
|
break e;
|
|
40859
40892
|
case "repeating-conic-gradient":
|
|
40860
|
-
|
|
40893
|
+
t.push("(background: repeating-conic-gradient(from 0deg, red 0deg, red 0deg 1deg, red 2deg))");
|
|
40861
40894
|
break e;
|
|
40862
40895
|
case "repeating-linear-gradient":
|
|
40863
|
-
|
|
40896
|
+
t.push("(background: repeating-linear-gradient(red 0%, red 0% 1%, red 2%))");
|
|
40864
40897
|
break e;
|
|
40865
40898
|
case "repeating-radial-gradient":
|
|
40866
|
-
|
|
40899
|
+
t.push("(background: repeating-radial-gradient(red, red 1px 2px, red 3px))");
|
|
40867
40900
|
break e;
|
|
40868
40901
|
}
|
|
40869
40902
|
} else i = !0;
|
|
40870
|
-
else
|
|
40903
|
+
else o = 0, a = !1;
|
|
40871
40904
|
}
|
|
40872
40905
|
}
|
|
40873
|
-
return
|
|
40906
|
+
return t;
|
|
40874
40907
|
}
|
|
40875
|
-
const
|
|
40908
|
+
const t$14 = [
|
|
40876
40909
|
{
|
|
40877
40910
|
supports: "color-mix(in display-p3-linear, red, blue)",
|
|
40878
40911
|
property: "color",
|
|
@@ -43738,93 +43771,815 @@ const p$3 = [
|
|
|
43738
43771
|
}]
|
|
43739
43772
|
}
|
|
43740
43773
|
];
|
|
43741
|
-
function matches(e,
|
|
43742
|
-
if (e.isVariable &&
|
|
43743
|
-
if (e.type !==
|
|
43744
|
-
if (doesNotMatchValue(e,
|
|
43745
|
-
if (e.nodes &&
|
|
43746
|
-
for (let
|
|
43747
|
-
let
|
|
43748
|
-
for (; e.nodes[
|
|
43749
|
-
for (;
|
|
43750
|
-
if (!!e.nodes[
|
|
43751
|
-
if (e.nodes[
|
|
43752
|
-
if (!matches(e.nodes[
|
|
43774
|
+
function matches(e, r) {
|
|
43775
|
+
if (e.isVariable && r && ("word" === r.type || "string" === r.type || "function" === r.type)) return !0;
|
|
43776
|
+
if (e.type !== r.type) return !1;
|
|
43777
|
+
if (doesNotMatchValue(e, r)) return !1;
|
|
43778
|
+
if (e.nodes && r.nodes) {
|
|
43779
|
+
for (let t = 0; t < Math.max(e.nodes.length, r.nodes.length); t++) {
|
|
43780
|
+
let o = t, a = t;
|
|
43781
|
+
for (; e.nodes[o] && "space" === e.nodes[o].type;) o++;
|
|
43782
|
+
for (; r.nodes[a] && "space" === r.nodes[a].type;) a++;
|
|
43783
|
+
if (!!e.nodes[o] != !!r.nodes[a]) return !1;
|
|
43784
|
+
if (e.nodes[o].anyRemainingArguments && r.nodes[a]) return !0;
|
|
43785
|
+
if (!matches(e.nodes[o], r.nodes[a])) return !1;
|
|
43753
43786
|
}
|
|
43754
43787
|
return !0;
|
|
43755
43788
|
}
|
|
43756
43789
|
return !0;
|
|
43757
43790
|
}
|
|
43758
|
-
function doesNotMatchValue(e,
|
|
43759
|
-
return ("space" !== e.type || "space" !==
|
|
43791
|
+
function doesNotMatchValue(e, r) {
|
|
43792
|
+
return ("space" !== e.type || "space" !== r.type || e.value?.trim() !== r.value?.trim()) && (e.dimension && r.dimension ? e.dimension.unit !== r.dimension.unit : "string" === e.type ? e.value !== r.value : e.value?.toLowerCase() !== r.value?.toLowerCase());
|
|
43760
43793
|
}
|
|
43761
|
-
const
|
|
43762
|
-
function conditionsFromValue(
|
|
43763
|
-
const i =
|
|
43764
|
-
let
|
|
43794
|
+
const o$23 = /^var$/i;
|
|
43795
|
+
function conditionsFromValue(r, a = !1) {
|
|
43796
|
+
const i = r.value, s = [], n = t$14.filter((e) => i.includes(e.sniff) && (e.only_on_property ?? r.prop) === r.prop);
|
|
43797
|
+
let p = !1;
|
|
43765
43798
|
try {
|
|
43766
|
-
valueParser(i).walk((
|
|
43767
|
-
"function" ===
|
|
43799
|
+
valueParser(i).walk((r) => {
|
|
43800
|
+
"function" === r.type && o$23.test(r.value) && (p = !0);
|
|
43768
43801
|
try {
|
|
43769
|
-
const
|
|
43770
|
-
!1 !==
|
|
43802
|
+
const t = valueParser.unit(r.value);
|
|
43803
|
+
!1 !== t && (r.dimension = t);
|
|
43771
43804
|
} catch {}
|
|
43772
|
-
for (let e = 0; e <
|
|
43773
|
-
const
|
|
43774
|
-
for (let e = 0; e <
|
|
43805
|
+
for (let e = 0; e < n.length; e++) {
|
|
43806
|
+
const t = n[e];
|
|
43807
|
+
for (let e = 0; e < t.matchers.length; e++) if (matches(t.matchers[e], r)) return void s.push(`(${t.property}: ${t.supports})`);
|
|
43775
43808
|
}
|
|
43776
|
-
|
|
43809
|
+
s.push(...doublePositionGradients(r));
|
|
43777
43810
|
});
|
|
43778
43811
|
} catch {}
|
|
43779
|
-
return
|
|
43812
|
+
return a && !p ? { support: [] } : { support: Array.from(new Set(s)).sort() };
|
|
43813
|
+
}
|
|
43814
|
+
const a$6 = /* @__PURE__ */ new Map([
|
|
43815
|
+
["animation", [
|
|
43816
|
+
"animation-name",
|
|
43817
|
+
"animation-duration",
|
|
43818
|
+
"animation-timing-function",
|
|
43819
|
+
"animation-delay",
|
|
43820
|
+
"animation-iteration-count",
|
|
43821
|
+
"animation-direction",
|
|
43822
|
+
"animation-fill-mode",
|
|
43823
|
+
"animation-play-state",
|
|
43824
|
+
"animation-timeline",
|
|
43825
|
+
"animation-range",
|
|
43826
|
+
"animation-trigger",
|
|
43827
|
+
"animation-range-start",
|
|
43828
|
+
"animation-range-end"
|
|
43829
|
+
]],
|
|
43830
|
+
["animation-range", ["animation-range-start", "animation-range-end"]],
|
|
43831
|
+
["background", [
|
|
43832
|
+
"background-image",
|
|
43833
|
+
"background-position",
|
|
43834
|
+
"background-size",
|
|
43835
|
+
"background-repeat",
|
|
43836
|
+
"background-attachment",
|
|
43837
|
+
"background-origin",
|
|
43838
|
+
"background-clip",
|
|
43839
|
+
"background-color",
|
|
43840
|
+
"background-blend-mode",
|
|
43841
|
+
"background-repeat-block",
|
|
43842
|
+
"background-repeat-inline",
|
|
43843
|
+
"background-repeat-x",
|
|
43844
|
+
"background-repeat-y",
|
|
43845
|
+
"background-position-x",
|
|
43846
|
+
"background-position-y",
|
|
43847
|
+
"background-position-block",
|
|
43848
|
+
"background-position-inline"
|
|
43849
|
+
]],
|
|
43850
|
+
["background-position", [
|
|
43851
|
+
"background-position-x",
|
|
43852
|
+
"background-position-y",
|
|
43853
|
+
"background-position-block",
|
|
43854
|
+
"background-position-inline"
|
|
43855
|
+
]],
|
|
43856
|
+
["background-repeat", [
|
|
43857
|
+
"background-repeat-block",
|
|
43858
|
+
"background-repeat-inline",
|
|
43859
|
+
"background-repeat-x",
|
|
43860
|
+
"background-repeat-y"
|
|
43861
|
+
]],
|
|
43862
|
+
["size", [
|
|
43863
|
+
"block-size",
|
|
43864
|
+
"height",
|
|
43865
|
+
"inline-size",
|
|
43866
|
+
"width"
|
|
43867
|
+
]],
|
|
43868
|
+
["block-step", [
|
|
43869
|
+
"block-step-size",
|
|
43870
|
+
"block-step-insert",
|
|
43871
|
+
"block-step-align",
|
|
43872
|
+
"block-step-round"
|
|
43873
|
+
]],
|
|
43874
|
+
["border", [
|
|
43875
|
+
"border-width",
|
|
43876
|
+
"border-style",
|
|
43877
|
+
"border-color",
|
|
43878
|
+
"border-image",
|
|
43879
|
+
"border-image-source",
|
|
43880
|
+
"border-image-slice",
|
|
43881
|
+
"border-image-width",
|
|
43882
|
+
"border-image-outset",
|
|
43883
|
+
"border-image-repeat",
|
|
43884
|
+
"border-block-end-color",
|
|
43885
|
+
"border-block-start-color",
|
|
43886
|
+
"border-bottom-color",
|
|
43887
|
+
"border-top-color",
|
|
43888
|
+
"border-right-color",
|
|
43889
|
+
"border-left-color",
|
|
43890
|
+
"border-inline-end-color",
|
|
43891
|
+
"border-inline-start-color",
|
|
43892
|
+
"border-block-end-style",
|
|
43893
|
+
"border-block-start-style",
|
|
43894
|
+
"border-bottom-style",
|
|
43895
|
+
"border-inline-end-style",
|
|
43896
|
+
"border-inline-start-style",
|
|
43897
|
+
"border-left-style",
|
|
43898
|
+
"border-right-style",
|
|
43899
|
+
"border-top-style",
|
|
43900
|
+
"border-block-end-width",
|
|
43901
|
+
"border-block-start-width",
|
|
43902
|
+
"border-bottom-width",
|
|
43903
|
+
"border-inline-end-width",
|
|
43904
|
+
"border-inline-start-width",
|
|
43905
|
+
"border-left-width",
|
|
43906
|
+
"border-right-width",
|
|
43907
|
+
"border-top-width"
|
|
43908
|
+
]],
|
|
43909
|
+
["border-block", [
|
|
43910
|
+
"border-block-start",
|
|
43911
|
+
"border-block-end",
|
|
43912
|
+
"border-block-end-width",
|
|
43913
|
+
"border-block-end-style",
|
|
43914
|
+
"border-block-end-color",
|
|
43915
|
+
"border-block-start-width",
|
|
43916
|
+
"border-block-start-style",
|
|
43917
|
+
"border-block-start-color"
|
|
43918
|
+
]],
|
|
43919
|
+
["border-block-clip", ["border-block-start-clip", "border-block-end-clip"]],
|
|
43920
|
+
["border-block-color", ["border-block-start-color", "border-block-end-color"]],
|
|
43921
|
+
["border-block-end", [
|
|
43922
|
+
"border-block-end-width",
|
|
43923
|
+
"border-block-end-style",
|
|
43924
|
+
"border-block-end-color"
|
|
43925
|
+
]],
|
|
43926
|
+
["border-clip", [
|
|
43927
|
+
"border-block-end-clip",
|
|
43928
|
+
"border-block-start-clip",
|
|
43929
|
+
"border-bottom-clip",
|
|
43930
|
+
"border-top-clip",
|
|
43931
|
+
"border-right-clip",
|
|
43932
|
+
"border-left-clip",
|
|
43933
|
+
"border-inline-end-clip",
|
|
43934
|
+
"border-inline-start-clip"
|
|
43935
|
+
]],
|
|
43936
|
+
["border-color", [
|
|
43937
|
+
"border-block-end-color",
|
|
43938
|
+
"border-block-start-color",
|
|
43939
|
+
"border-bottom-color",
|
|
43940
|
+
"border-top-color",
|
|
43941
|
+
"border-right-color",
|
|
43942
|
+
"border-left-color",
|
|
43943
|
+
"border-inline-end-color",
|
|
43944
|
+
"border-inline-start-color"
|
|
43945
|
+
]],
|
|
43946
|
+
["border-block-end-radius", ["border-end-start-radius", "border-end-end-radius"]],
|
|
43947
|
+
["border-style", [
|
|
43948
|
+
"border-block-end-style",
|
|
43949
|
+
"border-block-start-style",
|
|
43950
|
+
"border-bottom-style",
|
|
43951
|
+
"border-inline-end-style",
|
|
43952
|
+
"border-inline-start-style",
|
|
43953
|
+
"border-left-style",
|
|
43954
|
+
"border-right-style",
|
|
43955
|
+
"border-top-style"
|
|
43956
|
+
]],
|
|
43957
|
+
["border-width", [
|
|
43958
|
+
"border-block-end-width",
|
|
43959
|
+
"border-block-start-width",
|
|
43960
|
+
"border-bottom-width",
|
|
43961
|
+
"border-inline-end-width",
|
|
43962
|
+
"border-inline-start-width",
|
|
43963
|
+
"border-left-width",
|
|
43964
|
+
"border-right-width",
|
|
43965
|
+
"border-top-width"
|
|
43966
|
+
]],
|
|
43967
|
+
["border-block-start", [
|
|
43968
|
+
"border-block-start-width",
|
|
43969
|
+
"border-block-start-style",
|
|
43970
|
+
"border-block-start-color"
|
|
43971
|
+
]],
|
|
43972
|
+
["border-block-start-radius", ["border-start-start-radius", "border-start-end-radius"]],
|
|
43973
|
+
["border-block-style", ["border-block-start-style", "border-block-end-style"]],
|
|
43974
|
+
["border-block-width", ["border-block-start-width", "border-block-end-width"]],
|
|
43975
|
+
["border-bottom", [
|
|
43976
|
+
"border-bottom-width",
|
|
43977
|
+
"border-bottom-style",
|
|
43978
|
+
"border-bottom-color"
|
|
43979
|
+
]],
|
|
43980
|
+
["border-radius", [
|
|
43981
|
+
"border-bottom-left-radius",
|
|
43982
|
+
"border-bottom-right-radius",
|
|
43983
|
+
"border-end-end-radius",
|
|
43984
|
+
"border-end-start-radius",
|
|
43985
|
+
"border-top-left-radius",
|
|
43986
|
+
"border-top-right-radius",
|
|
43987
|
+
"border-start-end-radius",
|
|
43988
|
+
"border-start-start-radius"
|
|
43989
|
+
]],
|
|
43990
|
+
["border-bottom-radius", ["border-bottom-left-radius", "border-bottom-right-radius"]],
|
|
43991
|
+
["border-image", [
|
|
43992
|
+
"border-image-source",
|
|
43993
|
+
"border-image-slice",
|
|
43994
|
+
"border-image-width",
|
|
43995
|
+
"border-image-outset",
|
|
43996
|
+
"border-image-repeat"
|
|
43997
|
+
]],
|
|
43998
|
+
["border-inline", [
|
|
43999
|
+
"border-inline-start",
|
|
44000
|
+
"border-inline-end",
|
|
44001
|
+
"border-inline-end-width",
|
|
44002
|
+
"border-inline-end-style",
|
|
44003
|
+
"border-inline-end-color",
|
|
44004
|
+
"border-inline-start-width",
|
|
44005
|
+
"border-inline-start-style",
|
|
44006
|
+
"border-inline-start-color"
|
|
44007
|
+
]],
|
|
44008
|
+
["border-inline-clip", ["border-inline-start-clip", "border-inline-end-clip"]],
|
|
44009
|
+
["border-inline-color", ["border-inline-start-color", "border-inline-end-color"]],
|
|
44010
|
+
["border-inline-end", [
|
|
44011
|
+
"border-inline-end-width",
|
|
44012
|
+
"border-inline-end-style",
|
|
44013
|
+
"border-inline-end-color"
|
|
44014
|
+
]],
|
|
44015
|
+
["border-inline-end-radius", ["border-start-end-radius", "border-end-end-radius"]],
|
|
44016
|
+
["border-inline-start", [
|
|
44017
|
+
"border-inline-start-width",
|
|
44018
|
+
"border-inline-start-style",
|
|
44019
|
+
"border-inline-start-color"
|
|
44020
|
+
]],
|
|
44021
|
+
["border-inline-start-radius", ["border-start-start-radius", "border-end-start-radius"]],
|
|
44022
|
+
["border-inline-style", ["border-inline-start-style", "border-inline-end-style"]],
|
|
44023
|
+
["border-inline-width", ["border-inline-start-width", "border-inline-end-width"]],
|
|
44024
|
+
["border-left", [
|
|
44025
|
+
"border-left-width",
|
|
44026
|
+
"border-left-style",
|
|
44027
|
+
"border-left-color"
|
|
44028
|
+
]],
|
|
44029
|
+
["border-left-radius", ["border-top-left-radius", "border-bottom-left-radius"]],
|
|
44030
|
+
["border-right", [
|
|
44031
|
+
"border-right-width",
|
|
44032
|
+
"border-right-style",
|
|
44033
|
+
"border-right-color"
|
|
44034
|
+
]],
|
|
44035
|
+
["border-right-radius", ["border-top-right-radius", "border-bottom-right-radius"]],
|
|
44036
|
+
["border-top", [
|
|
44037
|
+
"border-top-width",
|
|
44038
|
+
"border-top-style",
|
|
44039
|
+
"border-top-color"
|
|
44040
|
+
]],
|
|
44041
|
+
["border-top-radius", ["border-top-left-radius", "border-top-right-radius"]],
|
|
44042
|
+
["inset", [
|
|
44043
|
+
"bottom",
|
|
44044
|
+
"top",
|
|
44045
|
+
"right",
|
|
44046
|
+
"left",
|
|
44047
|
+
"inset-block-end",
|
|
44048
|
+
"inset-block-start",
|
|
44049
|
+
"inset-inline-end",
|
|
44050
|
+
"inset-inline-start"
|
|
44051
|
+
]],
|
|
44052
|
+
["box-shadow", [
|
|
44053
|
+
"box-shadow-color",
|
|
44054
|
+
"box-shadow-offset",
|
|
44055
|
+
"box-shadow-blur",
|
|
44056
|
+
"box-shadow-spread",
|
|
44057
|
+
"box-shadow-position"
|
|
44058
|
+
]],
|
|
44059
|
+
["caret", [
|
|
44060
|
+
"caret-color",
|
|
44061
|
+
"caret-animation",
|
|
44062
|
+
"caret-shape"
|
|
44063
|
+
]],
|
|
44064
|
+
["color-adjust", ["print-color-adjust"]],
|
|
44065
|
+
["column-rule", [
|
|
44066
|
+
"column-rule-width",
|
|
44067
|
+
"column-rule-style",
|
|
44068
|
+
"column-rule-color"
|
|
44069
|
+
]],
|
|
44070
|
+
["column-rule-inset", [
|
|
44071
|
+
"column-rule-inset-cap-start",
|
|
44072
|
+
"column-rule-inset-cap-end",
|
|
44073
|
+
"column-rule-inset-junction-start",
|
|
44074
|
+
"column-rule-inset-junction-end"
|
|
44075
|
+
]],
|
|
44076
|
+
["column-rule-inset-cap", ["column-rule-inset-cap-start", "column-rule-inset-cap-end"]],
|
|
44077
|
+
["column-rule-inset-end", ["column-rule-inset-cap-end", "column-rule-inset-junction-end"]],
|
|
44078
|
+
["column-rule-inset-junction", ["column-rule-inset-junction-start", "column-rule-inset-junction-end"]],
|
|
44079
|
+
["column-rule-inset-start", ["column-rule-inset-cap-start", "column-rule-inset-junction-start"]],
|
|
44080
|
+
["columns", [
|
|
44081
|
+
"column-width",
|
|
44082
|
+
"column-count",
|
|
44083
|
+
"column-height"
|
|
44084
|
+
]],
|
|
44085
|
+
["contain-intrinsic-size", [
|
|
44086
|
+
"contain-intrinsic-block-size",
|
|
44087
|
+
"contain-intrinsic-height",
|
|
44088
|
+
"contain-intrinsic-inline-size",
|
|
44089
|
+
"contain-intrinsic-width"
|
|
44090
|
+
]],
|
|
44091
|
+
["container", ["container-name", "container-type"]],
|
|
44092
|
+
["corner", [
|
|
44093
|
+
"border-radius",
|
|
44094
|
+
"corner-shape",
|
|
44095
|
+
"corner-bottom-left-shape",
|
|
44096
|
+
"corner-bottom-right-shape",
|
|
44097
|
+
"corner-end-end-shape",
|
|
44098
|
+
"corner-end-start-shape",
|
|
44099
|
+
"corner-top-left-shape",
|
|
44100
|
+
"corner-top-right-shape",
|
|
44101
|
+
"corner-start-end-shape",
|
|
44102
|
+
"corner-start-start-shape",
|
|
44103
|
+
"border-bottom-left-radius",
|
|
44104
|
+
"border-bottom-right-radius",
|
|
44105
|
+
"border-end-end-radius",
|
|
44106
|
+
"border-end-start-radius",
|
|
44107
|
+
"border-top-left-radius",
|
|
44108
|
+
"border-top-right-radius",
|
|
44109
|
+
"border-start-end-radius",
|
|
44110
|
+
"border-start-start-radius"
|
|
44111
|
+
]],
|
|
44112
|
+
["corner-block-end", [
|
|
44113
|
+
"border-block-end-radius",
|
|
44114
|
+
"corner-block-end-shape",
|
|
44115
|
+
"corner-end-start-shape",
|
|
44116
|
+
"corner-end-end-shape",
|
|
44117
|
+
"border-end-start-radius",
|
|
44118
|
+
"border-end-end-radius"
|
|
44119
|
+
]],
|
|
44120
|
+
["corner-block-end-shape", ["corner-end-start-shape", "corner-end-end-shape"]],
|
|
44121
|
+
["corner-block-start", [
|
|
44122
|
+
"border-block-start-radius",
|
|
44123
|
+
"corner-block-start-shape",
|
|
44124
|
+
"corner-start-start-shape",
|
|
44125
|
+
"corner-start-end-shape",
|
|
44126
|
+
"border-start-start-radius",
|
|
44127
|
+
"border-start-end-radius"
|
|
44128
|
+
]],
|
|
44129
|
+
["corner-block-start-shape", ["corner-start-start-shape", "corner-start-end-shape"]],
|
|
44130
|
+
["corner-bottom", [
|
|
44131
|
+
"border-bottom-radius",
|
|
44132
|
+
"corner-bottom-shape",
|
|
44133
|
+
"corner-bottom-left-shape",
|
|
44134
|
+
"corner-bottom-right-shape",
|
|
44135
|
+
"border-bottom-left-radius",
|
|
44136
|
+
"border-bottom-right-radius"
|
|
44137
|
+
]],
|
|
44138
|
+
["corner-bottom-left", ["border-bottom-left-radius", "corner-bottom-left-shape"]],
|
|
44139
|
+
["corner-shape", [
|
|
44140
|
+
"corner-bottom-left-shape",
|
|
44141
|
+
"corner-bottom-right-shape",
|
|
44142
|
+
"corner-end-end-shape",
|
|
44143
|
+
"corner-end-start-shape",
|
|
44144
|
+
"corner-top-left-shape",
|
|
44145
|
+
"corner-top-right-shape",
|
|
44146
|
+
"corner-start-end-shape",
|
|
44147
|
+
"corner-start-start-shape"
|
|
44148
|
+
]],
|
|
44149
|
+
["corner-bottom-right", ["border-bottom-right-radius", "corner-bottom-right-shape"]],
|
|
44150
|
+
["corner-bottom-shape", ["corner-bottom-left-shape", "corner-bottom-right-shape"]],
|
|
44151
|
+
["corner-end-end", ["border-end-end-radius", "corner-end-end-shape"]],
|
|
44152
|
+
["corner-end-start", ["border-end-start-radius", "corner-end-start-shape"]],
|
|
44153
|
+
["corner-inline-end", [
|
|
44154
|
+
"border-inline-end-radius",
|
|
44155
|
+
"corner-inline-end-shape",
|
|
44156
|
+
"corner-start-end-shape",
|
|
44157
|
+
"corner-end-end-shape",
|
|
44158
|
+
"border-start-end-radius",
|
|
44159
|
+
"border-end-end-radius"
|
|
44160
|
+
]],
|
|
44161
|
+
["corner-inline-end-shape", ["corner-start-end-shape", "corner-end-end-shape"]],
|
|
44162
|
+
["corner-inline-start", [
|
|
44163
|
+
"border-inline-start-radius",
|
|
44164
|
+
"corner-inline-start-shape",
|
|
44165
|
+
"corner-start-start-shape",
|
|
44166
|
+
"corner-end-start-shape",
|
|
44167
|
+
"border-start-start-radius",
|
|
44168
|
+
"border-end-start-radius"
|
|
44169
|
+
]],
|
|
44170
|
+
["corner-inline-start-shape", ["corner-start-start-shape", "corner-end-start-shape"]],
|
|
44171
|
+
["corner-left", [
|
|
44172
|
+
"border-left-radius",
|
|
44173
|
+
"corner-left-shape",
|
|
44174
|
+
"corner-top-left-shape",
|
|
44175
|
+
"corner-bottom-left-shape",
|
|
44176
|
+
"border-top-left-radius",
|
|
44177
|
+
"border-bottom-left-radius"
|
|
44178
|
+
]],
|
|
44179
|
+
["corner-left-shape", ["corner-top-left-shape", "corner-bottom-left-shape"]],
|
|
44180
|
+
["corner-right", [
|
|
44181
|
+
"border-right-radius",
|
|
44182
|
+
"corner-right-shape",
|
|
44183
|
+
"corner-top-right-shape",
|
|
44184
|
+
"corner-bottom-right-shape",
|
|
44185
|
+
"border-top-right-radius",
|
|
44186
|
+
"border-bottom-right-radius"
|
|
44187
|
+
]],
|
|
44188
|
+
["corner-right-shape", ["corner-top-right-shape", "corner-bottom-right-shape"]],
|
|
44189
|
+
["corner-start-end", ["border-start-end-radius", "corner-start-end-shape"]],
|
|
44190
|
+
["corner-start-start", ["border-start-start-radius", "corner-start-start-shape"]],
|
|
44191
|
+
["corner-top", [
|
|
44192
|
+
"border-top-radius",
|
|
44193
|
+
"corner-top-shape",
|
|
44194
|
+
"corner-top-left-shape",
|
|
44195
|
+
"corner-top-right-shape",
|
|
44196
|
+
"border-top-left-radius",
|
|
44197
|
+
"border-top-right-radius"
|
|
44198
|
+
]],
|
|
44199
|
+
["corner-top-left", ["border-top-left-radius", "corner-top-left-shape"]],
|
|
44200
|
+
["corner-top-right", ["border-top-right-radius", "corner-top-right-shape"]],
|
|
44201
|
+
["corner-top-shape", ["corner-top-left-shape", "corner-top-right-shape"]],
|
|
44202
|
+
["cue", ["cue-before", "cue-after"]],
|
|
44203
|
+
["flex", [
|
|
44204
|
+
"flex-grow",
|
|
44205
|
+
"flex-shrink",
|
|
44206
|
+
"flex-basis"
|
|
44207
|
+
]],
|
|
44208
|
+
["flex-flow", ["flex-direction", "flex-wrap"]],
|
|
44209
|
+
["font", [
|
|
44210
|
+
"font-style",
|
|
44211
|
+
"font-variant",
|
|
44212
|
+
"font-weight",
|
|
44213
|
+
"font-stretch",
|
|
44214
|
+
"font-size",
|
|
44215
|
+
"line-height",
|
|
44216
|
+
"font-family",
|
|
44217
|
+
"font-feature-settings",
|
|
44218
|
+
"font-kerning",
|
|
44219
|
+
"font-language-override",
|
|
44220
|
+
"font-optical-sizing",
|
|
44221
|
+
"font-size-adjust",
|
|
44222
|
+
"font-variation-settings",
|
|
44223
|
+
"font-variant-ligatures",
|
|
44224
|
+
"font-variant-caps",
|
|
44225
|
+
"font-variant-alternates",
|
|
44226
|
+
"font-variant-numeric",
|
|
44227
|
+
"font-variant-east-asian",
|
|
44228
|
+
"font-variant-position",
|
|
44229
|
+
"font-variant-emoji"
|
|
44230
|
+
]],
|
|
44231
|
+
["font-synthesis", [
|
|
44232
|
+
"font-synthesis-weight",
|
|
44233
|
+
"font-synthesis-style",
|
|
44234
|
+
"font-synthesis-small-caps"
|
|
44235
|
+
]],
|
|
44236
|
+
["font-variant", [
|
|
44237
|
+
"font-variant-ligatures",
|
|
44238
|
+
"font-variant-caps",
|
|
44239
|
+
"font-variant-alternates",
|
|
44240
|
+
"font-variant-numeric",
|
|
44241
|
+
"font-variant-east-asian",
|
|
44242
|
+
"font-variant-position",
|
|
44243
|
+
"font-variant-emoji"
|
|
44244
|
+
]],
|
|
44245
|
+
["gap", ["row-gap", "column-gap"]],
|
|
44246
|
+
["grid", [
|
|
44247
|
+
"grid-template-rows",
|
|
44248
|
+
"grid-template-columns",
|
|
44249
|
+
"grid-template-areas",
|
|
44250
|
+
"grid-auto-rows",
|
|
44251
|
+
"grid-auto-columns",
|
|
44252
|
+
"grid-auto-flow"
|
|
44253
|
+
]],
|
|
44254
|
+
["grid-area", [
|
|
44255
|
+
"grid-row-start",
|
|
44256
|
+
"grid-column-start",
|
|
44257
|
+
"grid-row-end",
|
|
44258
|
+
"grid-column-end"
|
|
44259
|
+
]],
|
|
44260
|
+
["grid-column", ["grid-column-start", "grid-column-end"]],
|
|
44261
|
+
["grid-gap", ["row-gap", "column-gap"]],
|
|
44262
|
+
["grid-row", ["grid-row-start", "grid-row-end"]],
|
|
44263
|
+
["grid-template", [
|
|
44264
|
+
"grid-template-rows",
|
|
44265
|
+
"grid-template-columns",
|
|
44266
|
+
"grid-template-areas"
|
|
44267
|
+
]],
|
|
44268
|
+
["inset-block", ["inset-block-start", "inset-block-end"]],
|
|
44269
|
+
["inset-inline", ["inset-inline-start", "inset-inline-end"]],
|
|
44270
|
+
["interest-delay", ["interest-delay-start", "interest-delay-end"]],
|
|
44271
|
+
["line-clamp", [
|
|
44272
|
+
"max-lines",
|
|
44273
|
+
"block-ellipsis",
|
|
44274
|
+
"continue"
|
|
44275
|
+
]],
|
|
44276
|
+
["list-style", [
|
|
44277
|
+
"list-style-type",
|
|
44278
|
+
"list-style-position",
|
|
44279
|
+
"list-style-image"
|
|
44280
|
+
]],
|
|
44281
|
+
["margin", [
|
|
44282
|
+
"margin-top",
|
|
44283
|
+
"margin-right",
|
|
44284
|
+
"margin-bottom",
|
|
44285
|
+
"margin-left",
|
|
44286
|
+
"margin-block-end",
|
|
44287
|
+
"margin-block-start",
|
|
44288
|
+
"margin-inline-end",
|
|
44289
|
+
"margin-inline-start"
|
|
44290
|
+
]],
|
|
44291
|
+
["margin-block", ["margin-block-start", "margin-block-end"]],
|
|
44292
|
+
["margin-inline", ["margin-inline-start", "margin-inline-end"]],
|
|
44293
|
+
["marker", [
|
|
44294
|
+
"marker-start",
|
|
44295
|
+
"marker-mid",
|
|
44296
|
+
"marker-end"
|
|
44297
|
+
]],
|
|
44298
|
+
["mask", [
|
|
44299
|
+
"mask-image",
|
|
44300
|
+
"mask-position",
|
|
44301
|
+
"mask-size",
|
|
44302
|
+
"mask-repeat",
|
|
44303
|
+
"mask-origin",
|
|
44304
|
+
"mask-clip",
|
|
44305
|
+
"mask-composite",
|
|
44306
|
+
"mask-mode",
|
|
44307
|
+
"mask-border",
|
|
44308
|
+
"mask-border-source",
|
|
44309
|
+
"mask-border-slice",
|
|
44310
|
+
"mask-border-width",
|
|
44311
|
+
"mask-border-outset",
|
|
44312
|
+
"mask-border-repeat",
|
|
44313
|
+
"mask-border-mode"
|
|
44314
|
+
]],
|
|
44315
|
+
["mask-border", [
|
|
44316
|
+
"mask-border-source",
|
|
44317
|
+
"mask-border-slice",
|
|
44318
|
+
"mask-border-width",
|
|
44319
|
+
"mask-border-outset",
|
|
44320
|
+
"mask-border-repeat",
|
|
44321
|
+
"mask-border-mode"
|
|
44322
|
+
]],
|
|
44323
|
+
["max-size", [
|
|
44324
|
+
"max-block-size",
|
|
44325
|
+
"max-height",
|
|
44326
|
+
"max-inline-size",
|
|
44327
|
+
"max-width"
|
|
44328
|
+
]],
|
|
44329
|
+
["min-size", [
|
|
44330
|
+
"min-block-size",
|
|
44331
|
+
"min-height",
|
|
44332
|
+
"min-inline-size",
|
|
44333
|
+
"min-width"
|
|
44334
|
+
]],
|
|
44335
|
+
["offset", [
|
|
44336
|
+
"offset-path",
|
|
44337
|
+
"offset-distance",
|
|
44338
|
+
"offset-rotate",
|
|
44339
|
+
"offset-anchor",
|
|
44340
|
+
"offset-position"
|
|
44341
|
+
]],
|
|
44342
|
+
["outline", [
|
|
44343
|
+
"outline-width",
|
|
44344
|
+
"outline-style",
|
|
44345
|
+
"outline-color"
|
|
44346
|
+
]],
|
|
44347
|
+
["overflow", [
|
|
44348
|
+
"overflow-x",
|
|
44349
|
+
"overflow-y",
|
|
44350
|
+
"overflow-block",
|
|
44351
|
+
"overflow-inline"
|
|
44352
|
+
]],
|
|
44353
|
+
["overflow-clip-margin", [
|
|
44354
|
+
"overflow-clip-margin-top",
|
|
44355
|
+
"overflow-clip-margin-right",
|
|
44356
|
+
"overflow-clip-margin-bottom",
|
|
44357
|
+
"overflow-clip-margin-left",
|
|
44358
|
+
"overflow-clip-margin-block-end",
|
|
44359
|
+
"overflow-clip-margin-block-start",
|
|
44360
|
+
"overflow-clip-margin-inline-end",
|
|
44361
|
+
"overflow-clip-margin-inline-start"
|
|
44362
|
+
]],
|
|
44363
|
+
["overflow-clip-margin-block", ["overflow-clip-margin-block-start", "overflow-clip-margin-block-end"]],
|
|
44364
|
+
["overflow-clip-margin-inline", ["overflow-clip-margin-inline-start", "overflow-clip-margin-inline-end"]],
|
|
44365
|
+
["overscroll-behavior", [
|
|
44366
|
+
"overscroll-behavior-x",
|
|
44367
|
+
"overscroll-behavior-y",
|
|
44368
|
+
"overscroll-behavior-block",
|
|
44369
|
+
"overscroll-behavior-inline"
|
|
44370
|
+
]],
|
|
44371
|
+
["padding", [
|
|
44372
|
+
"padding-top",
|
|
44373
|
+
"padding-right",
|
|
44374
|
+
"padding-bottom",
|
|
44375
|
+
"padding-left",
|
|
44376
|
+
"padding-block-end",
|
|
44377
|
+
"padding-block-start",
|
|
44378
|
+
"padding-inline-end",
|
|
44379
|
+
"padding-inline-start"
|
|
44380
|
+
]],
|
|
44381
|
+
["padding-block", ["padding-block-start", "padding-block-end"]],
|
|
44382
|
+
["padding-inline", ["padding-inline-start", "padding-inline-end"]],
|
|
44383
|
+
["pause", ["pause-before", "pause-after"]],
|
|
44384
|
+
["place-content", ["align-content", "justify-content"]],
|
|
44385
|
+
["place-items", ["align-items", "justify-items"]],
|
|
44386
|
+
["place-self", ["align-self", "justify-self"]],
|
|
44387
|
+
["pointer-timeline", ["pointer-timeline-name", "pointer-timeline-axis"]],
|
|
44388
|
+
["position-try", ["position-try-order", "position-try-fallbacks"]],
|
|
44389
|
+
["rest", ["rest-before", "rest-after"]],
|
|
44390
|
+
["row-rule", [
|
|
44391
|
+
"row-rule-width",
|
|
44392
|
+
"row-rule-style",
|
|
44393
|
+
"row-rule-color"
|
|
44394
|
+
]],
|
|
44395
|
+
["row-rule-inset", [
|
|
44396
|
+
"row-rule-inset-cap-start",
|
|
44397
|
+
"row-rule-inset-cap-end",
|
|
44398
|
+
"row-rule-inset-junction-start",
|
|
44399
|
+
"row-rule-inset-junction-end"
|
|
44400
|
+
]],
|
|
44401
|
+
["row-rule-inset-cap", ["row-rule-inset-cap-start", "row-rule-inset-cap-end"]],
|
|
44402
|
+
["row-rule-inset-end", ["row-rule-inset-cap-end", "row-rule-inset-junction-end"]],
|
|
44403
|
+
["row-rule-inset-junction", ["row-rule-inset-junction-start", "row-rule-inset-junction-end"]],
|
|
44404
|
+
["row-rule-inset-start", ["row-rule-inset-cap-start", "row-rule-inset-junction-start"]],
|
|
44405
|
+
["rule", [
|
|
44406
|
+
"column-rule",
|
|
44407
|
+
"row-rule",
|
|
44408
|
+
"row-rule-width",
|
|
44409
|
+
"row-rule-style",
|
|
44410
|
+
"row-rule-color",
|
|
44411
|
+
"column-rule-width",
|
|
44412
|
+
"column-rule-style",
|
|
44413
|
+
"column-rule-color"
|
|
44414
|
+
]],
|
|
44415
|
+
["rule-break", ["column-rule-break", "row-rule-break"]],
|
|
44416
|
+
["rule-color", ["column-rule-color", "row-rule-color"]],
|
|
44417
|
+
["rule-inset", [
|
|
44418
|
+
"column-rule-inset",
|
|
44419
|
+
"row-rule-inset",
|
|
44420
|
+
"row-rule-inset-cap-start",
|
|
44421
|
+
"row-rule-inset-cap-end",
|
|
44422
|
+
"row-rule-inset-junction-start",
|
|
44423
|
+
"row-rule-inset-junction-end",
|
|
44424
|
+
"column-rule-inset-cap-start",
|
|
44425
|
+
"column-rule-inset-cap-end",
|
|
44426
|
+
"column-rule-inset-junction-start",
|
|
44427
|
+
"column-rule-inset-junction-end"
|
|
44428
|
+
]],
|
|
44429
|
+
["rule-inset-cap", [
|
|
44430
|
+
"column-rule-inset-cap",
|
|
44431
|
+
"column-rule-inset-cap-start",
|
|
44432
|
+
"column-rule-inset-cap-end"
|
|
44433
|
+
]],
|
|
44434
|
+
["rule-inset-end", [
|
|
44435
|
+
"column-rule-inset-end",
|
|
44436
|
+
"row-rule-inset-end",
|
|
44437
|
+
"row-rule-inset-cap-end",
|
|
44438
|
+
"row-rule-inset-junction-end",
|
|
44439
|
+
"column-rule-inset-cap-end",
|
|
44440
|
+
"column-rule-inset-junction-end"
|
|
44441
|
+
]],
|
|
44442
|
+
["rule-inset-junction", [
|
|
44443
|
+
"column-rule-inset-junction",
|
|
44444
|
+
"column-rule-inset-junction-start",
|
|
44445
|
+
"column-rule-inset-junction-end"
|
|
44446
|
+
]],
|
|
44447
|
+
["rule-inset-start", [
|
|
44448
|
+
"column-rule-inset-start",
|
|
44449
|
+
"row-rule-inset-start",
|
|
44450
|
+
"row-rule-inset-cap-start",
|
|
44451
|
+
"row-rule-inset-junction-start",
|
|
44452
|
+
"column-rule-inset-cap-start",
|
|
44453
|
+
"column-rule-inset-junction-start"
|
|
44454
|
+
]],
|
|
44455
|
+
["rule-style", ["column-rule-style", "row-rule-style"]],
|
|
44456
|
+
["rule-visibility-items", ["column-rule-visibility-items"]],
|
|
44457
|
+
["rule-width", ["column-rule-width", "row-rule-width"]],
|
|
44458
|
+
["scroll-margin", [
|
|
44459
|
+
"scroll-margin-top",
|
|
44460
|
+
"scroll-margin-right",
|
|
44461
|
+
"scroll-margin-bottom",
|
|
44462
|
+
"scroll-margin-left",
|
|
44463
|
+
"scroll-margin-block-end",
|
|
44464
|
+
"scroll-margin-block-start",
|
|
44465
|
+
"scroll-margin-inline-end",
|
|
44466
|
+
"scroll-margin-inline-start"
|
|
44467
|
+
]],
|
|
44468
|
+
["scroll-margin-block", ["scroll-margin-block-start", "scroll-margin-block-end"]],
|
|
44469
|
+
["scroll-margin-inline", ["scroll-margin-inline-start", "scroll-margin-inline-end"]],
|
|
44470
|
+
["scroll-padding", [
|
|
44471
|
+
"scroll-padding-top",
|
|
44472
|
+
"scroll-padding-right",
|
|
44473
|
+
"scroll-padding-bottom",
|
|
44474
|
+
"scroll-padding-left",
|
|
44475
|
+
"scroll-padding-block-end",
|
|
44476
|
+
"scroll-padding-block-start",
|
|
44477
|
+
"scroll-padding-inline-end",
|
|
44478
|
+
"scroll-padding-inline-start"
|
|
44479
|
+
]],
|
|
44480
|
+
["scroll-padding-block", ["scroll-padding-block-start", "scroll-padding-block-end"]],
|
|
44481
|
+
["scroll-padding-inline", ["scroll-padding-inline-start", "scroll-padding-inline-end"]],
|
|
44482
|
+
["scroll-timeline", ["scroll-timeline-name", "scroll-timeline-axis"]],
|
|
44483
|
+
["text-align", ["text-align-all", "text-align-last"]],
|
|
44484
|
+
["text-decoration", [
|
|
44485
|
+
"text-decoration-line",
|
|
44486
|
+
"text-decoration-thickness",
|
|
44487
|
+
"text-decoration-style",
|
|
44488
|
+
"text-decoration-color"
|
|
44489
|
+
]],
|
|
44490
|
+
["text-decoration-skip", [
|
|
44491
|
+
"text-decoration-skip-self",
|
|
44492
|
+
"text-decoration-skip-box",
|
|
44493
|
+
"text-decoration-skip-spaces",
|
|
44494
|
+
"text-decoration-skip-ink"
|
|
44495
|
+
]],
|
|
44496
|
+
["text-emphasis", ["text-emphasis-style", "text-emphasis-color"]],
|
|
44497
|
+
["text-spacing", ["text-spacing-trim", "text-autospace"]],
|
|
44498
|
+
["text-wrap", ["text-wrap-mode", "text-wrap-style"]],
|
|
44499
|
+
["timeline-trigger", [
|
|
44500
|
+
"timeline-trigger-name",
|
|
44501
|
+
"timeline-trigger-source",
|
|
44502
|
+
"timeline-trigger-activation-range",
|
|
44503
|
+
"timeline-trigger-active-range",
|
|
44504
|
+
"timeline-trigger-active-range-start",
|
|
44505
|
+
"timeline-trigger-active-range-end",
|
|
44506
|
+
"timeline-trigger-activation-range-start",
|
|
44507
|
+
"timeline-trigger-activation-range-end"
|
|
44508
|
+
]],
|
|
44509
|
+
["timeline-trigger-activation-range", ["timeline-trigger-activation-range-start", "timeline-trigger-activation-range-end"]],
|
|
44510
|
+
["timeline-trigger-active-range", ["timeline-trigger-active-range-start", "timeline-trigger-active-range-end"]],
|
|
44511
|
+
["transition", [
|
|
44512
|
+
"transition-property",
|
|
44513
|
+
"transition-duration",
|
|
44514
|
+
"transition-timing-function",
|
|
44515
|
+
"transition-delay",
|
|
44516
|
+
"transition-behavior"
|
|
44517
|
+
]],
|
|
44518
|
+
["vertical-align", [
|
|
44519
|
+
"alignment-baseline",
|
|
44520
|
+
"baseline-shift",
|
|
44521
|
+
"baseline-source"
|
|
44522
|
+
]],
|
|
44523
|
+
["view-timeline", ["view-timeline-name", "view-timeline-axis"]],
|
|
44524
|
+
["white-space", ["white-space-collapse", "text-wrap-mode"]]
|
|
44525
|
+
]), i$8 = /var\(/i, s$16 = /^initial$/i, n$11 = /^\s*$/;
|
|
44526
|
+
function cloneDeclarations(e, r) {
|
|
44527
|
+
const t = a$6.get(r.prop.toLowerCase());
|
|
44528
|
+
if (!t?.length) return void e.append(r.clone());
|
|
44529
|
+
const o = [r];
|
|
44530
|
+
let i = r.next();
|
|
44531
|
+
for (; i;) "decl" === i.type && t.includes(i.prop) && o.push(i), i = i.next();
|
|
44532
|
+
o.forEach((r) => {
|
|
44533
|
+
e.append(r.clone());
|
|
44534
|
+
});
|
|
43780
44535
|
}
|
|
43781
|
-
const
|
|
44536
|
+
const creator$51 = () => ({
|
|
43782
44537
|
postcssPlugin: "postcss-progressive-custom-properties",
|
|
43783
44538
|
prepare() {
|
|
43784
44539
|
const e = /* @__PURE__ */ new WeakMap();
|
|
43785
44540
|
return {
|
|
43786
44541
|
postcssPlugin: "postcss-progressive-custom-properties",
|
|
43787
|
-
OnceExit(
|
|
43788
|
-
|
|
43789
|
-
if (!
|
|
43790
|
-
const
|
|
44542
|
+
OnceExit(r, { postcss: t }) {
|
|
44543
|
+
r.walkDecls((r) => {
|
|
44544
|
+
if (!r.parent) return;
|
|
44545
|
+
const o = e.get(r.parent) || {
|
|
43791
44546
|
conditionalRules: [],
|
|
43792
44547
|
propNames: /* @__PURE__ */ new Set(),
|
|
43793
44548
|
lastConditionParams: { support: void 0 },
|
|
43794
44549
|
lastConditionalRule: void 0
|
|
43795
44550
|
};
|
|
43796
|
-
if (e.set(
|
|
43797
|
-
if (!
|
|
44551
|
+
if (e.set(r.parent, o), r.variable) {
|
|
44552
|
+
if (!o.propNames.has(r.prop)) return void o.propNames.add(r.prop);
|
|
43798
44553
|
} else {
|
|
43799
|
-
const e =
|
|
43800
|
-
if (!
|
|
44554
|
+
const e = r.prop.toLowerCase();
|
|
44555
|
+
if (!o.propNames.has(e)) return void o.propNames.add(e);
|
|
43801
44556
|
}
|
|
43802
|
-
if (!
|
|
43803
|
-
if (
|
|
43804
|
-
if (
|
|
43805
|
-
const
|
|
43806
|
-
if (!
|
|
43807
|
-
if (
|
|
43808
|
-
const
|
|
43809
|
-
if (
|
|
44557
|
+
if (!r.variable && !i$8.test(r.value)) return;
|
|
44558
|
+
if (s$16.test(r.value)) return;
|
|
44559
|
+
if (n$11.test(r.value)) return;
|
|
44560
|
+
const a = conditionsFromValue(r, !r.variable).support.join(" and ");
|
|
44561
|
+
if (!a) return;
|
|
44562
|
+
if (o.lastConditionParams.support !== a && (o.lastConditionalRule = void 0), o.lastConditionalRule) return cloneDeclarations(o.lastConditionalRule, r), void r.remove();
|
|
44563
|
+
const p = [];
|
|
44564
|
+
if (a && p.push(t.atRule({
|
|
43810
44565
|
name: "supports",
|
|
43811
|
-
params:
|
|
43812
|
-
source:
|
|
44566
|
+
params: a,
|
|
44567
|
+
source: r.parent.source,
|
|
43813
44568
|
raws: {
|
|
43814
44569
|
before: "\n\n",
|
|
43815
44570
|
after: "\n"
|
|
43816
44571
|
}
|
|
43817
|
-
})), !
|
|
43818
|
-
for (let e = 0; e <
|
|
43819
|
-
const
|
|
43820
|
-
|
|
44572
|
+
})), !p.length) return;
|
|
44573
|
+
for (let e = 0; e < p.length - 1; e++) {
|
|
44574
|
+
const r = p[e], t = p[e + 1];
|
|
44575
|
+
r.append(t);
|
|
43821
44576
|
}
|
|
43822
|
-
const l =
|
|
43823
|
-
|
|
43824
|
-
}),
|
|
43825
|
-
const
|
|
43826
|
-
|
|
43827
|
-
|
|
44577
|
+
const l = p[0], d = p[p.length - 1], c = r.parent.clone();
|
|
44578
|
+
c.removeAll(), c.raws.before = "\n", cloneDeclarations(c, r), r.remove(), o.lastConditionParams.support = a, o.lastConditionalRule = c, d.append(c), o.conditionalRules.push(l);
|
|
44579
|
+
}), r.walk((r) => {
|
|
44580
|
+
const t = e.get(r);
|
|
44581
|
+
t && 0 !== t.conditionalRules.length && t.conditionalRules.reverse().forEach((e) => {
|
|
44582
|
+
r.after(e);
|
|
43828
44583
|
});
|
|
43829
44584
|
});
|
|
43830
44585
|
}
|
|
@@ -43833,7 +44588,7 @@ const t$14 = /var\(/i, i$8 = /^initial$/i, o$23 = /^\s*$/, creator$51 = () => ({
|
|
|
43833
44588
|
});
|
|
43834
44589
|
creator$51.postcss = !0;
|
|
43835
44590
|
//#endregion
|
|
43836
|
-
//#region ../../node_modules/.pnpm/@csstools+utilities@3.0.0_postcss@8.5.
|
|
44591
|
+
//#region ../../node_modules/.pnpm/@csstools+utilities@3.0.0_postcss@8.5.16/node_modules/@csstools/utilities/dist/index.mjs
|
|
43837
44592
|
function hasFallback$1(e) {
|
|
43838
44593
|
const t = e.parent;
|
|
43839
44594
|
if (!t) return !1;
|
|
@@ -43853,7 +44608,7 @@ function hasSupportsAtRuleAncestor(e, t) {
|
|
|
43853
44608
|
return !1;
|
|
43854
44609
|
}
|
|
43855
44610
|
//#endregion
|
|
43856
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-alpha-function@2.0.
|
|
44611
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-alpha-function@2.0.7_postcss@8.5.16/node_modules/@csstools/postcss-alpha-function/dist/index.mjs
|
|
43857
44612
|
const b$1 = /\balpha\(/i, m$9 = /^alpha$/i, w$3 = /* @__PURE__ */ new Set([
|
|
43858
44613
|
"srgb",
|
|
43859
44614
|
"srgb-linear",
|
|
@@ -47327,7 +48082,7 @@ var require_selectors$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
47327
48082
|
__exportStar(require_guards$1(), exports);
|
|
47328
48083
|
}));
|
|
47329
48084
|
//#endregion
|
|
47330
|
-
//#region ../../node_modules/.pnpm/postcss-pseudo-class-any-link@11.0.0_postcss@8.5.
|
|
48085
|
+
//#region ../../node_modules/.pnpm/postcss-pseudo-class-any-link@11.0.0_postcss@8.5.16/node_modules/postcss-pseudo-class-any-link/dist/index.mjs
|
|
47331
48086
|
var import_dist$1 = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
47332
48087
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
47333
48088
|
if (k2 === void 0) k2 = k;
|
|
@@ -47474,7 +48229,7 @@ const creator$50 = (e) => {
|
|
|
47474
48229
|
};
|
|
47475
48230
|
creator$50.postcss = !0;
|
|
47476
48231
|
//#endregion
|
|
47477
|
-
//#region ../../node_modules/.pnpm/css-blank-pseudo@8.0.1_postcss@8.5.
|
|
48232
|
+
//#region ../../node_modules/.pnpm/css-blank-pseudo@8.0.1_postcss@8.5.16/node_modules/css-blank-pseudo/dist/index.mjs
|
|
47478
48233
|
const s$14 = [
|
|
47479
48234
|
" ",
|
|
47480
48235
|
">",
|
|
@@ -47708,7 +48463,7 @@ function selectorNodeContainsNothingOrOnlyUniversal$1(e) {
|
|
|
47708
48463
|
return 0 === t.length || 1 === t.length && "universal" === t[0].type;
|
|
47709
48464
|
}
|
|
47710
48465
|
//#endregion
|
|
47711
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-cascade-layers@6.0.0_postcss@8.5.
|
|
48466
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-cascade-layers@6.0.0_postcss@8.5.16/node_modules/@csstools/postcss-cascade-layers/dist/index.mjs
|
|
47712
48467
|
const t$11 = "csstools-invalid-layer", a$5 = "csstools-layer-with-selector-rules", s$13 = "6efdb677-bb05-44e5-840f-29d2175862fd", n$8 = "b147acf6-11a6-4338-a4d0-80aef4cd1a2f", o$21 = ["media", "supports"], l$7 = ["keyframes"], i$7 = /^revert-layer$/i, c$5 = /^import$/i, u$8 = /^layer$/i, m$8 = /layer/i, y$3 = /* @__PURE__ */ new Set([
|
|
47713
48468
|
"layer",
|
|
47714
48469
|
"supports",
|
|
@@ -48020,7 +48775,7 @@ const creator$48 = (a) => {
|
|
|
48020
48775
|
};
|
|
48021
48776
|
creator$48.postcss = !0;
|
|
48022
48777
|
//#endregion
|
|
48023
|
-
//#region ../../node_modules/.pnpm/postcss-attribute-case-insensitive@8.0.0_postcss@8.5.
|
|
48778
|
+
//#region ../../node_modules/.pnpm/postcss-attribute-case-insensitive@8.0.0_postcss@8.5.16/node_modules/postcss-attribute-case-insensitive/dist/index.mjs
|
|
48024
48779
|
function nodeIsInsensitiveAttribute(e) {
|
|
48025
48780
|
return "attribute" === e.type && (e.insensitive ?? !1);
|
|
48026
48781
|
}
|
|
@@ -48094,7 +48849,7 @@ const creator$47 = (t) => {
|
|
|
48094
48849
|
};
|
|
48095
48850
|
creator$47.postcss = !0;
|
|
48096
48851
|
//#endregion
|
|
48097
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-color-function@5.0.
|
|
48852
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-color-function@5.0.6_postcss@8.5.16/node_modules/@csstools/postcss-color-function/dist/index.mjs
|
|
48098
48853
|
var import_postcss_clamp = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
48099
48854
|
let valueParser$1 = __require("postcss-value-parser");
|
|
48100
48855
|
function parseValue(value) {
|
|
@@ -48199,7 +48954,7 @@ const postcssPlugin$15 = (o) => {
|
|
|
48199
48954
|
};
|
|
48200
48955
|
postcssPlugin$15.postcss = !0;
|
|
48201
48956
|
//#endregion
|
|
48202
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-color-function-display-p3-linear@2.0.
|
|
48957
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-color-function-display-p3-linear@2.0.6_postcss@8.5.16/node_modules/@csstools/postcss-color-function-display-p3-linear/dist/index.mjs
|
|
48203
48958
|
const m$6 = /\bdisplay-p3-linear\b/i, f$7 = /^color$/i, basePlugin$14 = (s) => ({
|
|
48204
48959
|
postcssPlugin: "postcss-color-function-display-p3-linear",
|
|
48205
48960
|
Declaration(g) {
|
|
@@ -48228,7 +48983,7 @@ const postcssPlugin$14 = (o) => {
|
|
|
48228
48983
|
};
|
|
48229
48984
|
postcssPlugin$14.postcss = !0;
|
|
48230
48985
|
//#endregion
|
|
48231
|
-
//#region ../../node_modules/.pnpm/postcss-color-functional-notation@8.0.
|
|
48986
|
+
//#region ../../node_modules/.pnpm/postcss-color-functional-notation@8.0.6_postcss@8.5.16/node_modules/postcss-color-functional-notation/dist/index.mjs
|
|
48232
48987
|
const m$5 = /^(?:rgb|hsl)a?$/i, f$6 = /\b(?:rgb|hsl)a?\(/i, basePlugin$13 = (s) => ({
|
|
48233
48988
|
postcssPlugin: "postcss-color-functional-notation",
|
|
48234
48989
|
Declaration(v) {
|
|
@@ -48257,7 +49012,7 @@ const postcssPlugin$13 = (o) => {
|
|
|
48257
49012
|
};
|
|
48258
49013
|
postcssPlugin$13.postcss = !0;
|
|
48259
49014
|
//#endregion
|
|
48260
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-color-mix-function@4.0.
|
|
49015
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-color-mix-function@4.0.6_postcss@8.5.16/node_modules/@csstools/postcss-color-mix-function/dist/index.mjs
|
|
48261
49016
|
const f$5 = /\bcolor-mix\(/i, g$6 = /^color-mix$/i, basePlugin$12 = (s) => ({
|
|
48262
49017
|
postcssPlugin: "postcss-color-mix-function",
|
|
48263
49018
|
Declaration(v) {
|
|
@@ -48293,7 +49048,7 @@ const postcssPlugin$12 = (e) => {
|
|
|
48293
49048
|
};
|
|
48294
49049
|
postcssPlugin$12.postcss = !0;
|
|
48295
49050
|
//#endregion
|
|
48296
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-color-mix-variadic-function-arguments@2.0.
|
|
49051
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-color-mix-variadic-function-arguments@2.0.6_postcss@8.5.16/node_modules/@csstools/postcss-color-mix-variadic-function-arguments/dist/index.mjs
|
|
48297
49052
|
const f$4 = /\bcolor-mix\(/i, g$5 = /^color-mix$/i, basePlugin$11 = (s) => ({
|
|
48298
49053
|
postcssPlugin: "color-mix-variadic-function-arguments",
|
|
48299
49054
|
Declaration(v) {
|
|
@@ -48329,7 +49084,7 @@ const postcssPlugin$11 = (e) => {
|
|
|
48329
49084
|
};
|
|
48330
49085
|
postcssPlugin$11.postcss = !0;
|
|
48331
49086
|
//#endregion
|
|
48332
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-container-rule-prelude-list@1.0.1_postcss@8.5.
|
|
49087
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-container-rule-prelude-list@1.0.1_postcss@8.5.16/node_modules/@csstools/postcss-container-rule-prelude-list/dist/index.mjs
|
|
48333
49088
|
const t$10 = /^container$/i, creator$46 = (o) => {
|
|
48334
49089
|
const a = Object.assign({ preserve: !1 }, o);
|
|
48335
49090
|
return {
|
|
@@ -48346,7 +49101,7 @@ const t$10 = /^container$/i, creator$46 = (o) => {
|
|
|
48346
49101
|
};
|
|
48347
49102
|
creator$46.postcss = !0;
|
|
48348
49103
|
//#endregion
|
|
48349
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-content-alt-text@3.0.
|
|
49104
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-content-alt-text@3.0.2_postcss@8.5.16/node_modules/@csstools/postcss-content-alt-text/dist/index.mjs
|
|
48350
49105
|
function transform$3(s, t) {
|
|
48351
49106
|
const e = s[0];
|
|
48352
49107
|
if (!e.length) return "";
|
|
@@ -48391,7 +49146,7 @@ const creator$45 = (t) => {
|
|
|
48391
49146
|
};
|
|
48392
49147
|
creator$45.postcss = !0;
|
|
48393
49148
|
//#endregion
|
|
48394
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-contrast-color-function@3.0.
|
|
49149
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-contrast-color-function@3.0.6_postcss@8.5.16/node_modules/@csstools/postcss-contrast-color-function/dist/index.mjs
|
|
48395
49150
|
const u$6 = /\bcontrast-color\(/i, m$4 = /^contrast-color$/i, basePlugin$9 = (s) => ({
|
|
48396
49151
|
postcssPlugin: "postcss-contrast-color-function",
|
|
48397
49152
|
prepare: () => ({
|
|
@@ -50322,7 +51077,7 @@ var b;
|
|
|
50322
51077
|
e.All = "all", e.Print = "print", e.Screen = "screen", e.Tty = "tty", e.Tv = "tv", e.Projection = "projection", e.Handheld = "handheld", e.Braille = "braille", e.Embossed = "embossed", e.Aural = "aural", e.Speech = "speech";
|
|
50323
51078
|
})(b || (b = {}));
|
|
50324
51079
|
//#endregion
|
|
50325
|
-
//#region ../../node_modules/.pnpm/postcss-custom-media@12.0.1_postcss@8.5.
|
|
51080
|
+
//#region ../../node_modules/.pnpm/postcss-custom-media@12.0.1_postcss@8.5.16/node_modules/postcss-custom-media/dist/index.mjs
|
|
50326
51081
|
const C$2 = parse$1("csstools-implicit-layer")[0];
|
|
50327
51082
|
function collectCascadeLayerOrder$2(t) {
|
|
50328
51083
|
const n = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), o = [];
|
|
@@ -50749,7 +51504,7 @@ const creator$44 = (e) => {
|
|
|
50749
51504
|
};
|
|
50750
51505
|
creator$44.postcss = !0;
|
|
50751
51506
|
//#endregion
|
|
50752
|
-
//#region ../../node_modules/.pnpm/postcss-custom-properties@15.0.1_postcss@8.5.
|
|
51507
|
+
//#region ../../node_modules/.pnpm/postcss-custom-properties@15.0.1_postcss@8.5.16/node_modules/postcss-custom-properties/dist/index.mjs
|
|
50753
51508
|
const o$20 = parse$1("csstools-implicit-layer")[0];
|
|
50754
51509
|
function collectCascadeLayerOrder$1(r) {
|
|
50755
51510
|
const n = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), a = [];
|
|
@@ -50818,7 +51573,7 @@ function isProcessableRule(e) {
|
|
|
50818
51573
|
}
|
|
50819
51574
|
return !0;
|
|
50820
51575
|
}
|
|
50821
|
-
const l$6 = /^html$/i, u$5 = /^:where\(html\)$/i, p$1 = /^:root$/i, f$3 = /^:where\(:root\)$/i, d$
|
|
51576
|
+
const l$6 = /^html$/i, u$5 = /^:where\(html\)$/i, p$1 = /^:root$/i, f$3 = /^:where\(:root\)$/i, d$1 = /(html|:root)/i, m$3 = /^var$/i;
|
|
50822
51577
|
function isVarFunction(e) {
|
|
50823
51578
|
return "function" === e.type && m$3.test(e.value) && e.nodes?.length > 0;
|
|
50824
51579
|
}
|
|
@@ -50992,7 +51747,7 @@ function buildCustomPropertiesMap(e, t, n) {
|
|
|
50992
51747
|
function getCustomPropertiesFromRoot(e, t) {
|
|
50993
51748
|
const r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), o = collectCascadeLayerOrder$1(e);
|
|
50994
51749
|
return e.walkRules((e) => {
|
|
50995
|
-
d$
|
|
51750
|
+
d$1.test(e.selector) && e.nodes?.length && isProcessableRule(e) && (isBlockIgnored(e) || e.selectors.forEach((t) => {
|
|
50996
51751
|
let s;
|
|
50997
51752
|
if (u$5.test(t) || f$3.test(t)) s = 0;
|
|
50998
51753
|
else if (l$6.test(t)) s = 1;
|
|
@@ -51060,7 +51815,7 @@ const g$4 = /\bvar\(|\(top: var\(--f\)/i, creator$43 = (e) => {
|
|
|
51060
51815
|
};
|
|
51061
51816
|
creator$43.postcss = !0;
|
|
51062
51817
|
//#endregion
|
|
51063
|
-
//#region ../../node_modules/.pnpm/postcss-custom-selectors@9.0.1_postcss@8.5.
|
|
51818
|
+
//#region ../../node_modules/.pnpm/postcss-custom-selectors@9.0.1_postcss@8.5.16/node_modules/postcss-custom-selectors/dist/index.mjs
|
|
51064
51819
|
const s$11 = parse$1("csstools-implicit-layer")[0];
|
|
51065
51820
|
function collectCascadeLayerOrder(e) {
|
|
51066
51821
|
const o = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), a = [];
|
|
@@ -51196,7 +51951,7 @@ const creator$42 = (e) => {
|
|
|
51196
51951
|
};
|
|
51197
51952
|
creator$42.postcss = !0;
|
|
51198
51953
|
//#endregion
|
|
51199
|
-
//#region ../../node_modules/.pnpm/postcss-dir-pseudo-class@10.0.0_postcss@8.5.
|
|
51954
|
+
//#region ../../node_modules/.pnpm/postcss-dir-pseudo-class@10.0.0_postcss@8.5.16/node_modules/postcss-dir-pseudo-class/dist/index.mjs
|
|
51200
51955
|
const creator$41 = (t) => {
|
|
51201
51956
|
const r = Object.assign({
|
|
51202
51957
|
dir: null,
|
|
@@ -51267,7 +52022,7 @@ const creator$41 = (t) => {
|
|
|
51267
52022
|
};
|
|
51268
52023
|
creator$41.postcss = !0;
|
|
51269
52024
|
//#endregion
|
|
51270
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-normalize-display-values@5.0.1_postcss@8.5.
|
|
52025
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-normalize-display-values@5.0.1_postcss@8.5.16/node_modules/@csstools/postcss-normalize-display-values/dist/index.mjs
|
|
51271
52026
|
var l$5 = /* @__PURE__ */ new Map([
|
|
51272
52027
|
["flow", "block"],
|
|
51273
52028
|
["block,flow", "block"],
|
|
@@ -51335,7 +52090,7 @@ const e$18 = /^display$/i, t$9 = /\b\s\b/, creator$40 = (i) => {
|
|
|
51335
52090
|
};
|
|
51336
52091
|
creator$40.postcss = !0;
|
|
51337
52092
|
//#endregion
|
|
51338
|
-
//#region ../../node_modules/.pnpm/postcss-double-position-gradients@7.0.
|
|
52093
|
+
//#region ../../node_modules/.pnpm/postcss-double-position-gradients@7.0.2_postcss@8.5.16/node_modules/postcss-double-position-gradients/dist/index.mjs
|
|
51339
52094
|
const o$18 = /(?:repeating-)?(?:conic|linear|radial)-gradient\(/i, i$5 = /^(?:repeating-)?(?:conic|linear|radial)-gradient$/i, n$7 = [
|
|
51340
52095
|
"at",
|
|
51341
52096
|
"bottom",
|
|
@@ -51414,7 +52169,7 @@ const postcssPlugin$9 = (t) => {
|
|
|
51414
52169
|
};
|
|
51415
52170
|
postcssPlugin$9.postcss = !0;
|
|
51416
52171
|
//#endregion
|
|
51417
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-exponential-functions@3.0.3_postcss@8.5.
|
|
52172
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-exponential-functions@3.0.3_postcss@8.5.16/node_modules/@csstools/postcss-exponential-functions/dist/index.mjs
|
|
51418
52173
|
const s$10 = /(?<![-\w])(?:exp|hypot|log|pow|sqrt)\(/i, creator$39 = (o) => {
|
|
51419
52174
|
const t = Object.assign({ preserve: !1 }, o);
|
|
51420
52175
|
return {
|
|
@@ -51428,7 +52183,7 @@ const s$10 = /(?<![-\w])(?:exp|hypot|log|pow|sqrt)\(/i, creator$39 = (o) => {
|
|
|
51428
52183
|
};
|
|
51429
52184
|
creator$39.postcss = !0;
|
|
51430
52185
|
//#endregion
|
|
51431
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-logical-float-and-clear@4.0.0_postcss@8.5.
|
|
52186
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-logical-float-and-clear@4.0.0_postcss@8.5.16/node_modules/@csstools/postcss-logical-float-and-clear/dist/index.mjs
|
|
51432
52187
|
const t$8 = "inline-start", o$17 = "inline-end";
|
|
51433
52188
|
var e$17, n$6;
|
|
51434
52189
|
function directionFlowToAxes$2(t) {
|
|
@@ -51472,7 +52227,7 @@ const creator$38 = (n) => {
|
|
|
51472
52227
|
};
|
|
51473
52228
|
creator$38.postcss = !0;
|
|
51474
52229
|
//#endregion
|
|
51475
|
-
//#region ../../node_modules/.pnpm/postcss-focus-visible@11.0.0_postcss@8.5.
|
|
52230
|
+
//#region ../../node_modules/.pnpm/postcss-focus-visible@11.0.0_postcss@8.5.16/node_modules/postcss-focus-visible/dist/index.mjs
|
|
51476
52231
|
const s$9 = "js-focus-visible", o$16 = ":focus-visible", creator$37 = (t) => {
|
|
51477
52232
|
const r = Object.assign({
|
|
51478
52233
|
preserve: !0,
|
|
@@ -51526,7 +52281,7 @@ const s$9 = "js-focus-visible", o$16 = ":focus-visible", creator$37 = (t) => {
|
|
|
51526
52281
|
};
|
|
51527
52282
|
creator$37.postcss = !0;
|
|
51528
52283
|
//#endregion
|
|
51529
|
-
//#region ../../node_modules/.pnpm/postcss-focus-within@10.0.0_postcss@8.5.
|
|
52284
|
+
//#region ../../node_modules/.pnpm/postcss-focus-within@10.0.0_postcss@8.5.16/node_modules/postcss-focus-within/dist/index.mjs
|
|
51530
52285
|
const s$8 = [
|
|
51531
52286
|
" ",
|
|
51532
52287
|
">",
|
|
@@ -51601,7 +52356,7 @@ const t$7 = "js-focus-within", n$5 = ":focus-within", creator$36 = (s) => {
|
|
|
51601
52356
|
};
|
|
51602
52357
|
creator$36.postcss = !0;
|
|
51603
52358
|
//#endregion
|
|
51604
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-font-format-keywords@5.0.0_postcss@8.5.
|
|
52359
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-font-format-keywords@5.0.0_postcss@8.5.16/node_modules/@csstools/postcss-font-format-keywords/dist/index.mjs
|
|
51605
52360
|
const t$6 = [
|
|
51606
52361
|
"woff",
|
|
51607
52362
|
"truetype",
|
|
@@ -51636,7 +52391,7 @@ const t$6 = [
|
|
|
51636
52391
|
};
|
|
51637
52392
|
creator$35.postcss = !0;
|
|
51638
52393
|
//#endregion
|
|
51639
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-font-width-property@1.0.0_postcss@8.5.
|
|
52394
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-font-width-property@1.0.0_postcss@8.5.16/node_modules/@csstools/postcss-font-width-property/dist/index.mjs
|
|
51640
52395
|
var import_postcss_font_variant = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
51641
52396
|
/**
|
|
51642
52397
|
* font variant convertion map
|
|
@@ -51747,7 +52502,7 @@ function hasFallback(t) {
|
|
|
51747
52502
|
}
|
|
51748
52503
|
creator$34.postcss = !0;
|
|
51749
52504
|
//#endregion
|
|
51750
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-gamut-mapping@3.0.
|
|
52505
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-gamut-mapping@3.0.6_postcss@8.5.16/node_modules/@csstools/postcss-gamut-mapping/dist/index.mjs
|
|
51751
52506
|
const p = /\bcolor-gamut\b/i;
|
|
51752
52507
|
function hasConditionalAncestor(e) {
|
|
51753
52508
|
let o = e.parent;
|
|
@@ -51765,7 +52520,7 @@ function sameProperty(e) {
|
|
|
51765
52520
|
}
|
|
51766
52521
|
return t;
|
|
51767
52522
|
}
|
|
51768
|
-
const d
|
|
52523
|
+
const d = /\b(?:color|lab|lch|oklab|oklch)\(/i, u$4 = /^(?:color|lab|lch|oklab|oklch)$/i, creator$33 = () => ({
|
|
51769
52524
|
postcssPlugin: "postcss-gamut-mapping",
|
|
51770
52525
|
prepare() {
|
|
51771
52526
|
const p = /* @__PURE__ */ new WeakMap(), m = /* @__PURE__ */ new WeakSet();
|
|
@@ -51774,7 +52529,7 @@ const d$1 = /\b(?:color|lab|lch|oklab|oklch)\(/i, u$4 = /^(?:color|lab|lch|oklab
|
|
|
51774
52529
|
OnceExit(f, { postcss: h }) {
|
|
51775
52530
|
f.walkDecls((f) => {
|
|
51776
52531
|
if (m.has(f)) return;
|
|
51777
|
-
if (!d
|
|
52532
|
+
if (!d.test(f.value)) return;
|
|
51778
52533
|
if (!f.parent || hasConditionalAncestor(f)) return;
|
|
51779
52534
|
const g = sameProperty(f).map((p, d) => {
|
|
51780
52535
|
m.add(p);
|
|
@@ -51842,7 +52597,7 @@ const d$1 = /\b(?:color|lab|lch|oklab|oklch)\(/i, u$4 = /^(?:color|lab|lch|oklab
|
|
|
51842
52597
|
});
|
|
51843
52598
|
creator$33.postcss = !0;
|
|
51844
52599
|
//#endregion
|
|
51845
|
-
//#region ../../node_modules/.pnpm/postcss-gap-properties@7.0.0_postcss@8.5.
|
|
52600
|
+
//#region ../../node_modules/.pnpm/postcss-gap-properties@7.0.0_postcss@8.5.16/node_modules/postcss-gap-properties/dist/index.mjs
|
|
51846
52601
|
const e$13 = [
|
|
51847
52602
|
"column-gap",
|
|
51848
52603
|
"gap",
|
|
@@ -51861,7 +52616,7 @@ const e$13 = [
|
|
|
51861
52616
|
};
|
|
51862
52617
|
creator$32.postcss = !0;
|
|
51863
52618
|
//#endregion
|
|
51864
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-gradients-interpolation-method@6.0.
|
|
52619
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-gradients-interpolation-method@6.0.6_postcss@8.5.16/node_modules/@csstools/postcss-gradients-interpolation-method/dist/index.mjs
|
|
51865
52620
|
const x = /(?:repeating-)?(?:linear|radial|conic)-gradient\(/i, W = /\bin\b/i, P$1 = { test: (o) => x.test(o) && W.test(o) }, A$1 = /^(repeating-)?(linear|radial|conic)-gradient$/i;
|
|
51866
52621
|
function interpolateColorsInColorStopsList(o, e, t, s = !1) {
|
|
51867
52622
|
const l = [], a = [];
|
|
@@ -52149,7 +52904,7 @@ const postcssPlugin$8 = (e) => {
|
|
|
52149
52904
|
};
|
|
52150
52905
|
postcssPlugin$8.postcss = !0;
|
|
52151
52906
|
//#endregion
|
|
52152
|
-
//#region ../../node_modules/.pnpm/css-has-pseudo@8.0.0_postcss@8.5.
|
|
52907
|
+
//#region ../../node_modules/.pnpm/css-has-pseudo@8.0.0_postcss@8.5.16/node_modules/css-has-pseudo/dist/index.mjs
|
|
52153
52908
|
function encodeCSS(e) {
|
|
52154
52909
|
if ("" === e) return "";
|
|
52155
52910
|
let t, s = "";
|
|
@@ -52260,7 +53015,7 @@ function isWithinSupportCheck(e) {
|
|
|
52260
53015
|
}
|
|
52261
53016
|
creator$31.postcss = !0;
|
|
52262
53017
|
//#endregion
|
|
52263
|
-
//#region ../../node_modules/.pnpm/postcss-color-hex-alpha@11.0.0_postcss@8.5.
|
|
53018
|
+
//#region ../../node_modules/.pnpm/postcss-color-hex-alpha@11.0.0_postcss@8.5.16/node_modules/postcss-color-hex-alpha/dist/index.mjs
|
|
52264
53019
|
const creator$30 = (a) => {
|
|
52265
53020
|
const o = Object.assign({ preserve: !1 }, a);
|
|
52266
53021
|
return {
|
|
@@ -52290,7 +53045,7 @@ function hexa2rgba(e) {
|
|
|
52290
53045
|
e.value = `rgba(${r},${l},${n},${c})`;
|
|
52291
53046
|
}
|
|
52292
53047
|
//#endregion
|
|
52293
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-hwb-function@5.0.
|
|
53048
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-hwb-function@5.0.6_postcss@8.5.16/node_modules/@csstools/postcss-hwb-function/dist/index.mjs
|
|
52294
53049
|
const u$3 = /\bhwb\(/i, m$2 = /^hwb$/i, basePlugin$6 = (s) => ({
|
|
52295
53050
|
postcssPlugin: "postcss-hwb-function",
|
|
52296
53051
|
Declaration(f) {
|
|
@@ -52319,7 +53074,7 @@ const postcssPlugin$7 = (o) => {
|
|
|
52319
53074
|
};
|
|
52320
53075
|
postcssPlugin$7.postcss = !0;
|
|
52321
53076
|
//#endregion
|
|
52322
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-ic-unit@5.0.
|
|
53077
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-ic-unit@5.0.2_postcss@8.5.16/node_modules/@csstools/postcss-ic-unit/dist/index.mjs
|
|
52323
53078
|
const o$13 = /ic\b/i, i$4 = /\(font-size: \d+ic\)/i, basePlugin$5 = (s) => ({
|
|
52324
53079
|
postcssPlugin: "postcss-ic-unit",
|
|
52325
53080
|
Declaration(n) {
|
|
@@ -52349,7 +53104,7 @@ const postcssPlugin$6 = (e) => {
|
|
|
52349
53104
|
};
|
|
52350
53105
|
postcssPlugin$6.postcss = !0;
|
|
52351
53106
|
//#endregion
|
|
52352
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-image-function@1.0.
|
|
53107
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-image-function@1.0.1_postcss@8.5.16/node_modules/@csstools/postcss-image-function/dist/index.mjs
|
|
52353
53108
|
const u$2 = /\bimage\(/i, g$3 = /^image$/i, basePlugin$4 = (e) => ({
|
|
52354
53109
|
postcssPlugin: "postcss-image-function",
|
|
52355
53110
|
Declaration(v) {
|
|
@@ -52392,7 +53147,7 @@ const postcssPlugin$5 = (s) => {
|
|
|
52392
53147
|
};
|
|
52393
53148
|
postcssPlugin$5.postcss = !0;
|
|
52394
53149
|
//#endregion
|
|
52395
|
-
//#region ../../node_modules/.pnpm/postcss-image-set-function@8.0.0_postcss@8.5.
|
|
53150
|
+
//#region ../../node_modules/.pnpm/postcss-image-set-function@8.0.0_postcss@8.5.16/node_modules/postcss-image-set-function/dist/index.mjs
|
|
52396
53151
|
function isComma$1(e) {
|
|
52397
53152
|
return !!e && "div" === e.type && "," === e.value;
|
|
52398
53153
|
}
|
|
@@ -55572,7 +56327,7 @@ function selectorNodeContainsNothingOrOnlyUniversal(e) {
|
|
|
55572
56327
|
return 0 === t.length || 1 === t.length && "universal" === t[0].type;
|
|
55573
56328
|
}
|
|
55574
56329
|
//#endregion
|
|
55575
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-is-pseudo-class@6.0.0_postcss@8.5.
|
|
56330
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-is-pseudo-class@6.0.0_postcss@8.5.16/node_modules/@csstools/postcss-is-pseudo-class/dist/index.mjs
|
|
55576
56331
|
function alwaysValidSelector(s) {
|
|
55577
56332
|
const o = (0, import_dist.default)().astSync(s);
|
|
55578
56333
|
let n = !0;
|
|
@@ -55841,7 +56596,7 @@ const n$3 = /:is\(/i, creator$28 = (e) => {
|
|
|
55841
56596
|
};
|
|
55842
56597
|
creator$28.postcss = !0;
|
|
55843
56598
|
//#endregion
|
|
55844
|
-
//#region ../../node_modules/.pnpm/postcss-lab-function@8.0.
|
|
56599
|
+
//#region ../../node_modules/.pnpm/postcss-lab-function@8.0.6_postcss@8.5.16/node_modules/postcss-lab-function/dist/index.mjs
|
|
55845
56600
|
const g$2 = /\b(?:lab|lch)\(/i, f$2 = /^(?:lab|lch)$/i, basePlugin$3 = (s) => ({
|
|
55846
56601
|
postcssPlugin: "postcss-lab-function",
|
|
55847
56602
|
Declaration(b) {
|
|
@@ -55877,7 +56632,7 @@ const postcssPlugin$4 = (e) => {
|
|
|
55877
56632
|
};
|
|
55878
56633
|
postcssPlugin$4.postcss = !0;
|
|
55879
56634
|
//#endregion
|
|
55880
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-light-dark-function@3.0.
|
|
56635
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-light-dark-function@3.0.2_postcss@8.5.16/node_modules/@csstools/postcss-light-dark-function/dist/index.mjs
|
|
55881
56636
|
const k$1 = "--csstools-color-scheme--light", D = "initial";
|
|
55882
56637
|
function toggleNameGenerator(e) {
|
|
55883
56638
|
return `--csstools-light-dark-toggle--${e}`;
|
|
@@ -56074,7 +56829,7 @@ const postcssPlugin$3 = (r) => {
|
|
|
56074
56829
|
};
|
|
56075
56830
|
postcssPlugin$3.postcss = !0;
|
|
56076
56831
|
//#endregion
|
|
56077
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-logical-overflow@3.0.0_postcss@8.5.
|
|
56832
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-logical-overflow@3.0.0_postcss@8.5.16/node_modules/@csstools/postcss-logical-overflow/dist/index.mjs
|
|
56078
56833
|
var o$10;
|
|
56079
56834
|
function transformAxes$1(o, t) {
|
|
56080
56835
|
const e = t ? "-x" : "-y", i = t ? "-y" : "-x", n = o.prop.toLowerCase().replace("-inline", e).replace("-block", i), s = o.value;
|
|
@@ -56106,7 +56861,7 @@ const creator$27 = (t) => {
|
|
|
56106
56861
|
};
|
|
56107
56862
|
creator$27.postcss = !0;
|
|
56108
56863
|
//#endregion
|
|
56109
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-logical-overscroll-behavior@3.0.0_postcss@8.5.
|
|
56864
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-logical-overscroll-behavior@3.0.0_postcss@8.5.16/node_modules/@csstools/postcss-logical-overscroll-behavior/dist/index.mjs
|
|
56110
56865
|
var o$9;
|
|
56111
56866
|
function transformAxes(o, t) {
|
|
56112
56867
|
const e = t ? "-x" : "-y", i = t ? "-y" : "-x", r = o.prop.toLowerCase().replace("-inline", e).replace("-block", i), s = o.value;
|
|
@@ -56138,7 +56893,7 @@ const creator$26 = (t) => {
|
|
|
56138
56893
|
};
|
|
56139
56894
|
creator$26.postcss = !0;
|
|
56140
56895
|
//#endregion
|
|
56141
|
-
//#region ../../node_modules/.pnpm/postcss-logical@9.0.0_postcss@8.5.
|
|
56896
|
+
//#region ../../node_modules/.pnpm/postcss-logical@9.0.0_postcss@8.5.16/node_modules/postcss-logical/dist/index.mjs
|
|
56142
56897
|
var e$9, n$2;
|
|
56143
56898
|
(function(r) {
|
|
56144
56899
|
r.Block = "block", r.Inline = "inline";
|
|
@@ -56498,7 +57253,7 @@ const l$4 = /var\(/i, creator$25 = (r) => {
|
|
|
56498
57253
|
};
|
|
56499
57254
|
creator$25.postcss = !0;
|
|
56500
57255
|
//#endregion
|
|
56501
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-logical-resize@4.0.0_postcss@8.5.
|
|
57256
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-logical-resize@4.0.0_postcss@8.5.16/node_modules/@csstools/postcss-logical-resize/dist/index.mjs
|
|
56502
57257
|
var t$3, e$8, i$1;
|
|
56503
57258
|
function cloneDeclaration(o, t, e) {
|
|
56504
57259
|
o.parent && o.parent.some((o) => "decl" == o.type && o.prop === e && o.value === t) || o.cloneBefore({
|
|
@@ -56571,7 +57326,7 @@ const creator$24 = (o) => {
|
|
|
56571
57326
|
};
|
|
56572
57327
|
creator$24.postcss = !0;
|
|
56573
57328
|
//#endregion
|
|
56574
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-logical-viewport-units@4.0.0_postcss@8.5.
|
|
57329
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-logical-viewport-units@4.0.0_postcss@8.5.16/node_modules/@csstools/postcss-logical-viewport-units/dist/index.mjs
|
|
56575
57330
|
var s$6;
|
|
56576
57331
|
function transform$1(t, o) {
|
|
56577
57332
|
const s = tokenizer({ css: t }), c = [];
|
|
@@ -56640,7 +57395,7 @@ const c$3 = /vb|vi/i, u$1 = { test(t) {
|
|
|
56640
57395
|
};
|
|
56641
57396
|
creator$23.postcss = !0;
|
|
56642
57397
|
//#endregion
|
|
56643
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-media-queries-aspect-ratio-number-values@4.0.0_postcss@8.5.
|
|
57398
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-media-queries-aspect-ratio-number-values@4.0.0_postcss@8.5.16/node_modules/@csstools/postcss-media-queries-aspect-ratio-number-values/dist/index.mjs
|
|
56644
57399
|
const w = 1e5, h$1 = 2147483647;
|
|
56645
57400
|
function transformMediaFeatureValue(t) {
|
|
56646
57401
|
if (Array.isArray(t.value) && matchesRatioExactly(t.value)) {
|
|
@@ -56931,7 +57686,7 @@ const creator$22 = (e) => {
|
|
|
56931
57686
|
};
|
|
56932
57687
|
creator$22.postcss = !0;
|
|
56933
57688
|
//#endregion
|
|
56934
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-media-minmax@3.0.3_postcss@8.5.
|
|
57689
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-media-minmax@3.0.3_postcss@8.5.16/node_modules/@csstools/postcss-media-minmax/dist/index.mjs
|
|
56935
57690
|
const C = {
|
|
56936
57691
|
width: "px",
|
|
56937
57692
|
height: "px",
|
|
@@ -57315,7 +58070,7 @@ const creator$21 = () => ({
|
|
|
57315
58070
|
});
|
|
57316
58071
|
creator$21.postcss = !0;
|
|
57317
58072
|
//#endregion
|
|
57318
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-mixins@1.0.0_postcss@8.5.
|
|
58073
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-mixins@1.0.0_postcss@8.5.16/node_modules/@csstools/postcss-mixins/dist/index.mjs
|
|
57319
58074
|
const o$7 = /^apply$/i;
|
|
57320
58075
|
function processableApplyRule(o) {
|
|
57321
58076
|
if (!o.params || !o.params.includes("--")) return !1;
|
|
@@ -57373,7 +58128,7 @@ const creator$20 = (e) => {
|
|
|
57373
58128
|
};
|
|
57374
58129
|
creator$20.postcss = !0;
|
|
57375
58130
|
//#endregion
|
|
57376
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-nested-calc@5.0.0_postcss@8.5.
|
|
58131
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-nested-calc@5.0.0_postcss@8.5.16/node_modules/@csstools/postcss-nested-calc/dist/index.mjs
|
|
57377
58132
|
const r$4 = /calc\(/gi;
|
|
57378
58133
|
const creator$19 = (s) => {
|
|
57379
58134
|
const o = Object.assign({ preserve: !0 }, s);
|
|
@@ -57505,7 +58260,7 @@ function isCompoundSelector$1(o) {
|
|
|
57505
58260
|
return 1 === o.length && !o[0].nodes.some((o) => "combinator" === o.type || import_dist$1.default.isPseudoElement(o));
|
|
57506
58261
|
}
|
|
57507
58262
|
//#endregion
|
|
57508
|
-
//#region ../../node_modules/.pnpm/postcss-nesting@14.0.0_postcss@8.5.
|
|
58263
|
+
//#region ../../node_modules/.pnpm/postcss-nesting@14.0.0_postcss@8.5.16/node_modules/postcss-nesting/dist/index.mjs
|
|
57509
58264
|
const r$3 = import_dist$1.default.pseudo({ value: ":is" });
|
|
57510
58265
|
function sortCompoundSelectorsInsideComplexSelector(t) {
|
|
57511
58266
|
if (!t || !t.nodes) return;
|
|
@@ -57880,7 +58635,7 @@ const creator$18 = (e) => {
|
|
|
57880
58635
|
};
|
|
57881
58636
|
creator$18.postcss = !0;
|
|
57882
58637
|
//#endregion
|
|
57883
|
-
//#region ../../node_modules/.pnpm/postcss-selector-not@9.0.0_postcss@8.5.
|
|
58638
|
+
//#region ../../node_modules/.pnpm/postcss-selector-not@9.0.0_postcss@8.5.16/node_modules/postcss-selector-not/dist/index.mjs
|
|
57884
58639
|
function cleanupWhitespace(e) {
|
|
57885
58640
|
e.spaces && (e.spaces.after = "", e.spaces.before = ""), e.nodes && e.nodes.length > 0 && (e.nodes[0] && e.nodes[0].spaces && (e.nodes[0].spaces.before = ""), e.nodes[e.nodes.length - 1] && e.nodes[e.nodes.length - 1].spaces && (e.nodes[e.nodes.length - 1].spaces.after = ""));
|
|
57886
58641
|
}
|
|
@@ -57911,7 +58666,7 @@ const creator$17 = () => ({
|
|
|
57911
58666
|
});
|
|
57912
58667
|
creator$17.postcss = !0;
|
|
57913
58668
|
//#endregion
|
|
57914
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-oklab-function@5.0.
|
|
58669
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-oklab-function@5.0.6_postcss@8.5.16/node_modules/@csstools/postcss-oklab-function/dist/index.mjs
|
|
57915
58670
|
const g$1 = /\b(?:oklab|oklch)\(/i, f$1 = /^(?:oklab|oklch)$/i, basePlugin$1 = (s) => ({
|
|
57916
58671
|
postcssPlugin: "postcss-oklab-function",
|
|
57917
58672
|
Declaration(b) {
|
|
@@ -57947,7 +58702,7 @@ const postcssPlugin$2 = (e) => {
|
|
|
57947
58702
|
};
|
|
57948
58703
|
postcssPlugin$2.postcss = !0;
|
|
57949
58704
|
//#endregion
|
|
57950
|
-
//#region ../../node_modules/.pnpm/postcss-overflow-shorthand@7.0.0_postcss@8.5.
|
|
58705
|
+
//#region ../../node_modules/.pnpm/postcss-overflow-shorthand@7.0.0_postcss@8.5.16/node_modules/postcss-overflow-shorthand/dist/index.mjs
|
|
57951
58706
|
var import_postcss_opacity_percentage = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
57952
58707
|
const doNothingValues = /* @__PURE__ */ new Set([
|
|
57953
58708
|
"inherit",
|
|
@@ -57996,7 +58751,7 @@ const creator$16 = (o) => {
|
|
|
57996
58751
|
};
|
|
57997
58752
|
creator$16.postcss = !0;
|
|
57998
58753
|
//#endregion
|
|
57999
|
-
//#region ../../node_modules/.pnpm/postcss-place@11.0.0_postcss@8.5.
|
|
58754
|
+
//#region ../../node_modules/.pnpm/postcss-place@11.0.0_postcss@8.5.16/node_modules/postcss-place/dist/index.mjs
|
|
58000
58755
|
var import_postcss_replace_overflow_wrap = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
58001
58756
|
module.exports = function(opts) {
|
|
58002
58757
|
opts = opts || {};
|
|
@@ -58041,7 +58796,7 @@ const t$2 = /^place-(content|items|self)/i, creator$15 = (e) => {
|
|
|
58041
58796
|
};
|
|
58042
58797
|
creator$15.postcss = !0;
|
|
58043
58798
|
//#endregion
|
|
58044
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-position-area-property@2.0.0_postcss@8.5.
|
|
58799
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-position-area-property@2.0.0_postcss@8.5.16/node_modules/@csstools/postcss-position-area-property/dist/index.mjs
|
|
58045
58800
|
const o$4 = /^position-area$/i, creator$14 = () => ({
|
|
58046
58801
|
postcssPlugin: "postcss-position-area-property",
|
|
58047
58802
|
Declaration(s) {
|
|
@@ -58053,7 +58808,7 @@ const o$4 = /^position-area$/i, creator$14 = () => ({
|
|
|
58053
58808
|
});
|
|
58054
58809
|
creator$14.postcss = !0;
|
|
58055
58810
|
//#endregion
|
|
58056
|
-
//#region ../../node_modules/.pnpm/css-prefers-color-scheme@11.0.0_postcss@8.5.
|
|
58811
|
+
//#region ../../node_modules/.pnpm/css-prefers-color-scheme@11.0.0_postcss@8.5.16/node_modules/css-prefers-color-scheme/dist/index.mjs
|
|
58057
58812
|
const e$4 = /\(\s*prefers-color-scheme\s*:\s*(dark|light)\s*\)/gi, s$4 = "(color: 48842621)", r$2 = "(color: 70318723)", creator$13 = (o) => {
|
|
58058
58813
|
const t = Object.assign({ preserve: !0 }, o);
|
|
58059
58814
|
return {
|
|
@@ -58074,7 +58829,7 @@ const e$4 = /\(\s*prefers-color-scheme\s*:\s*(dark|light)\s*\)/gi, s$4 = "(color
|
|
|
58074
58829
|
};
|
|
58075
58830
|
creator$13.postcss = !0;
|
|
58076
58831
|
//#endregion
|
|
58077
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-property-rule-prelude-list@2.0.0_postcss@8.5.
|
|
58832
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-property-rule-prelude-list@2.0.0_postcss@8.5.16/node_modules/@csstools/postcss-property-rule-prelude-list/dist/index.mjs
|
|
58078
58833
|
const o$3 = /^property$/i, creator$12 = () => ({
|
|
58079
58834
|
postcssPlugin: "postcss-property-rule-prelude-list",
|
|
58080
58835
|
AtRule(t) {
|
|
@@ -58088,7 +58843,7 @@ const o$3 = /^property$/i, creator$12 = () => ({
|
|
|
58088
58843
|
});
|
|
58089
58844
|
creator$12.postcss = !0;
|
|
58090
58845
|
//#endregion
|
|
58091
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-random-function@3.0.3_postcss@8.5.
|
|
58846
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-random-function@3.0.3_postcss@8.5.16/node_modules/@csstools/postcss-random-function/dist/index.mjs
|
|
58092
58847
|
const o$2 = String.fromCodePoint(0);
|
|
58093
58848
|
function randomCacheKeyFromPostcssDeclaration(e) {
|
|
58094
58849
|
let r = "", t = e.parent;
|
|
@@ -58125,7 +58880,7 @@ const r$1 = /(?<![-\w])(?:random)\(/i, creator$11 = (o) => {
|
|
|
58125
58880
|
};
|
|
58126
58881
|
creator$11.postcss = !0;
|
|
58127
58882
|
//#endregion
|
|
58128
|
-
//#region ../../node_modules/.pnpm/postcss-color-rebeccapurple@11.0.0_postcss@8.5.
|
|
58883
|
+
//#region ../../node_modules/.pnpm/postcss-color-rebeccapurple@11.0.0_postcss@8.5.16/node_modules/postcss-color-rebeccapurple/dist/index.mjs
|
|
58129
58884
|
const s$3 = /rebeccapurple/i, t$1 = /^rebeccapurple$/i, creator$10 = (o) => {
|
|
58130
58885
|
const c = Object.assign({ preserve: !1 }, o);
|
|
58131
58886
|
return {
|
|
@@ -58144,7 +58899,7 @@ const s$3 = /rebeccapurple/i, t$1 = /^rebeccapurple$/i, creator$10 = (o) => {
|
|
|
58144
58899
|
};
|
|
58145
58900
|
creator$10.postcss = !0;
|
|
58146
58901
|
//#endregion
|
|
58147
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-relative-color-syntax@4.0.
|
|
58902
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-relative-color-syntax@4.0.6_postcss@8.5.16/node_modules/@csstools/postcss-relative-color-syntax/dist/index.mjs
|
|
58148
58903
|
const g = /\b(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklch|oklab|color)\(/i, h = /\b(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklch|oklab|color)\(\s*from/i, m$1 = /^(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklch|oklab|color)$/i, y = /from/i, basePlugin = (s) => ({
|
|
58149
58904
|
postcssPlugin: "postcss-relative-color-syntax",
|
|
58150
58905
|
Declaration(f) {
|
|
@@ -58180,7 +58935,7 @@ const postcssPlugin$1 = (e) => {
|
|
|
58180
58935
|
};
|
|
58181
58936
|
postcssPlugin$1.postcss = !0;
|
|
58182
58937
|
//#endregion
|
|
58183
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-scope-pseudo-class@5.0.0_postcss@8.5.
|
|
58938
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-scope-pseudo-class@5.0.0_postcss@8.5.16/node_modules/@csstools/postcss-scope-pseudo-class/dist/index.mjs
|
|
58184
58939
|
const creator$9 = (s) => {
|
|
58185
58940
|
const r = Object.assign({ preserve: !1 }, s);
|
|
58186
58941
|
return {
|
|
@@ -58218,7 +58973,7 @@ const creator$9 = (s) => {
|
|
|
58218
58973
|
};
|
|
58219
58974
|
creator$9.postcss = !0;
|
|
58220
58975
|
//#endregion
|
|
58221
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-sign-functions@2.0.3_postcss@8.5.
|
|
58976
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-sign-functions@2.0.3_postcss@8.5.16/node_modules/@csstools/postcss-sign-functions/dist/index.mjs
|
|
58222
58977
|
const m = /(?<![-\w])(?:sign|abs)\(/i, f = /(?<![-\w])(?:sign|abs)\(/i, creator$8 = (o) => {
|
|
58223
58978
|
const n = Object.assign({ preserve: !1 }, o);
|
|
58224
58979
|
return {
|
|
@@ -58328,7 +59083,7 @@ function replacer(e) {
|
|
|
58328
59083
|
}
|
|
58329
59084
|
creator$8.postcss = !0;
|
|
58330
59085
|
//#endregion
|
|
58331
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-stepped-value-functions@5.0.3_postcss@8.5.
|
|
59086
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-stepped-value-functions@5.0.3_postcss@8.5.16/node_modules/@csstools/postcss-stepped-value-functions/dist/index.mjs
|
|
58332
59087
|
const s$2 = /(?<![-\w])(?:mod|rem|round)\(/i, creator$7 = (o) => {
|
|
58333
59088
|
const t = Object.assign({ preserve: !1 }, o);
|
|
58334
59089
|
return {
|
|
@@ -58345,7 +59100,7 @@ const s$2 = /(?<![-\w])(?:mod|rem|round)\(/i, creator$7 = (o) => {
|
|
|
58345
59100
|
};
|
|
58346
59101
|
creator$7.postcss = !0;
|
|
58347
59102
|
//#endregion
|
|
58348
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-syntax-descriptor-syntax-production@2.0.0_postcss@8.5.
|
|
59103
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-syntax-descriptor-syntax-production@2.0.0_postcss@8.5.16/node_modules/@csstools/postcss-syntax-descriptor-syntax-production/dist/index.mjs
|
|
58349
59104
|
const o$1 = /^property$/i, n$1 = /^syntax$/i, creator$6 = (i) => {
|
|
58350
59105
|
const p = Object.assign({ preserve: !1 }, i);
|
|
58351
59106
|
return {
|
|
@@ -58416,7 +59171,7 @@ const o$1 = /^property$/i, n$1 = /^syntax$/i, creator$6 = (i) => {
|
|
|
58416
59171
|
};
|
|
58417
59172
|
creator$6.postcss = !0;
|
|
58418
59173
|
//#endregion
|
|
58419
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-system-ui-font-family@2.0.0_postcss@8.5.
|
|
59174
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-system-ui-font-family@2.0.0_postcss@8.5.16/node_modules/@csstools/postcss-system-ui-font-family/dist/index.mjs
|
|
58420
59175
|
const a = /^font(?:-family)?$/i, c$2 = [
|
|
58421
59176
|
"system-ui",
|
|
58422
59177
|
"-apple-system",
|
|
@@ -58470,1009 +59225,7 @@ const u = c$2.join(","), creator$5 = (p) => {
|
|
|
58470
59225
|
};
|
|
58471
59226
|
creator$5.postcss = !0;
|
|
58472
59227
|
//#endregion
|
|
58473
|
-
//#region ../../node_modules/.pnpm/@csstools+
|
|
58474
|
-
/**
|
|
58475
|
-
* Bradford chromatic adaptation from D50 to D65
|
|
58476
|
-
*
|
|
58477
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58478
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58479
|
-
*/
|
|
58480
|
-
/**
|
|
58481
|
-
* Bradford chromatic adaptation from D65 to D50
|
|
58482
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58483
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58484
|
-
* @see http://www.brucelindbloom.com/index.html?Eqn_ChromAdapt.html
|
|
58485
|
-
*/
|
|
58486
|
-
/**
|
|
58487
|
-
* @param {number} hue - Hue as degrees 0..360
|
|
58488
|
-
* @param {number} sat - Saturation as percentage 0..100
|
|
58489
|
-
* @param {number} light - Lightness as percentage 0..100
|
|
58490
|
-
* @return {number[]} Array of sRGB components; in-gamut colors in range [0..1]
|
|
58491
|
-
*
|
|
58492
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58493
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/hslToRgb.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58494
|
-
* @see https://github.com/w3c/csswg-drafts/blob/main/css-color-4/hslToRgb.js
|
|
58495
|
-
*/
|
|
58496
|
-
/**
|
|
58497
|
-
* @param {number} hue - Hue as degrees 0..360
|
|
58498
|
-
* @param {number} white - Whiteness as percentage 0..100
|
|
58499
|
-
* @param {number} black - Blackness as percentage 0..100
|
|
58500
|
-
* @return {number[]} Array of RGB components 0..1
|
|
58501
|
-
*
|
|
58502
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58503
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/hwbToRgb.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58504
|
-
* @see https://github.com/w3c/csswg-drafts/blob/main/css-color-4/hwbToRgb.js
|
|
58505
|
-
*/
|
|
58506
|
-
/**
|
|
58507
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58508
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58509
|
-
*/
|
|
58510
|
-
/**
|
|
58511
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58512
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58513
|
-
*/
|
|
58514
|
-
/**
|
|
58515
|
-
* Convert Lab to D50-adapted XYZ
|
|
58516
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58517
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58518
|
-
* @see http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html
|
|
58519
|
-
*/
|
|
58520
|
-
/**
|
|
58521
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58522
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58523
|
-
* @see https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js
|
|
58524
|
-
*/
|
|
58525
|
-
/**
|
|
58526
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58527
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58528
|
-
* @see https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js
|
|
58529
|
-
*/
|
|
58530
|
-
/**
|
|
58531
|
-
* Given OKLab, convert to XYZ relative to D65
|
|
58532
|
-
*
|
|
58533
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58534
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58535
|
-
* @see https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js
|
|
58536
|
-
*/
|
|
58537
|
-
/**
|
|
58538
|
-
* Assuming XYZ is relative to D50, convert to CIE Lab
|
|
58539
|
-
* from CIE standard, which now defines these as a rational fraction
|
|
58540
|
-
*
|
|
58541
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58542
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58543
|
-
*/
|
|
58544
|
-
/**
|
|
58545
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58546
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58547
|
-
*
|
|
58548
|
-
* XYZ <-> LMS matrices recalculated for consistent reference white
|
|
58549
|
-
* @see https://github.com/w3c/csswg-drafts/issues/6642#issuecomment-943521484
|
|
58550
|
-
*/
|
|
58551
|
-
/**
|
|
58552
|
-
* Convert XYZ to linear-light rec2020
|
|
58553
|
-
*
|
|
58554
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58555
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58556
|
-
*/
|
|
58557
|
-
/**
|
|
58558
|
-
* Convert XYZ to linear-light P3
|
|
58559
|
-
*
|
|
58560
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58561
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58562
|
-
*/
|
|
58563
|
-
/**
|
|
58564
|
-
* Convert D50 XYZ to linear-light prophoto-rgb
|
|
58565
|
-
*
|
|
58566
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58567
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58568
|
-
* @see http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html
|
|
58569
|
-
*/
|
|
58570
|
-
/**
|
|
58571
|
-
* Convert XYZ to linear-light a98-rgb
|
|
58572
|
-
*
|
|
58573
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58574
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58575
|
-
*/
|
|
58576
|
-
/**
|
|
58577
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58578
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58579
|
-
*/
|
|
58580
|
-
/**
|
|
58581
|
-
* Convert an array of linear-light rec2020 RGB in the range 0.0-1.0
|
|
58582
|
-
* to gamma corrected form ITU-R BT.2020-2 p.4
|
|
58583
|
-
*
|
|
58584
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58585
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58586
|
-
*/
|
|
58587
|
-
/**
|
|
58588
|
-
* Convert an array of linear-light sRGB values in the range 0.0-1.0 to gamma corrected form
|
|
58589
|
-
* Extended transfer function:
|
|
58590
|
-
* For negative values, linear portion extends on reflection
|
|
58591
|
-
* of axis, then uses reflected pow below that
|
|
58592
|
-
*
|
|
58593
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58594
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58595
|
-
* @see https://en.wikipedia.org/wiki/SRGB
|
|
58596
|
-
*/
|
|
58597
|
-
/**
|
|
58598
|
-
* Convert an array of linear-light display-p3 RGB in the range 0.0-1.0
|
|
58599
|
-
* to gamma corrected form
|
|
58600
|
-
*
|
|
58601
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58602
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58603
|
-
*/
|
|
58604
|
-
/**
|
|
58605
|
-
* Convert an array of linear-light prophoto-rgb in the range 0.0-1.0
|
|
58606
|
-
* to gamma corrected form.
|
|
58607
|
-
* Transfer curve is gamma 1.8 with a small linear portion.
|
|
58608
|
-
*
|
|
58609
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58610
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58611
|
-
*/
|
|
58612
|
-
/**
|
|
58613
|
-
* Convert an array of linear-light a98-rgb in the range 0.0-1.0
|
|
58614
|
-
* to gamma corrected form. Negative values are also now accepted
|
|
58615
|
-
*
|
|
58616
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58617
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58618
|
-
*/
|
|
58619
|
-
/**
|
|
58620
|
-
* Convert an array of rec2020 RGB values in the range 0.0 - 1.0
|
|
58621
|
-
* to linear light (un-companded) form.
|
|
58622
|
-
* ITU-R BT.2020-2 p.4
|
|
58623
|
-
*
|
|
58624
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58625
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58626
|
-
*/
|
|
58627
|
-
/**
|
|
58628
|
-
* Convert an array of linear-light rec2020 values to CIE XYZ
|
|
58629
|
-
* using D65 (no chromatic adaptation)
|
|
58630
|
-
*
|
|
58631
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58632
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58633
|
-
* @see http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html
|
|
58634
|
-
*/
|
|
58635
|
-
/**
|
|
58636
|
-
* Convert an array of of sRGB values where in-gamut values are in the range
|
|
58637
|
-
* [0 - 1] to linear light (un-companded) form.
|
|
58638
|
-
* Extended transfer function:
|
|
58639
|
-
* For negative values, linear portion is extended on reflection of axis,
|
|
58640
|
-
* then reflected power function is used.
|
|
58641
|
-
*
|
|
58642
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58643
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58644
|
-
* @see https://en.wikipedia.org/wiki/SRGB
|
|
58645
|
-
*/
|
|
58646
|
-
/**
|
|
58647
|
-
* Convert an array of display-p3 RGB values in the range 0.0 - 1.0
|
|
58648
|
-
* to linear light (un-companded) form.
|
|
58649
|
-
*
|
|
58650
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58651
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58652
|
-
*/
|
|
58653
|
-
/**
|
|
58654
|
-
* Convert an array of linear-light display-p3 values to CIE XYZ
|
|
58655
|
-
* using D65 (no chromatic adaptation)
|
|
58656
|
-
*
|
|
58657
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58658
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58659
|
-
* @see http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html
|
|
58660
|
-
*/
|
|
58661
|
-
/**
|
|
58662
|
-
* Convert an array of prophoto-rgb values where in-gamut Colors are in the
|
|
58663
|
-
* range [0.0 - 1.0] to linear light (un-companded) form. Transfer curve is
|
|
58664
|
-
* gamma 1.8 with a small linear portion. Extended transfer function
|
|
58665
|
-
*
|
|
58666
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58667
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58668
|
-
*/
|
|
58669
|
-
/**
|
|
58670
|
-
* Convert an array of linear-light prophoto-rgb values to CIE D50 XYZ.
|
|
58671
|
-
* Matrix cannot be expressed in rational form, but is calculated to 64 bit accuracy.
|
|
58672
|
-
*
|
|
58673
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58674
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58675
|
-
* @see see https://github.com/w3c/csswg-drafts/issues/7675
|
|
58676
|
-
*/
|
|
58677
|
-
/**
|
|
58678
|
-
* Convert an array of linear-light a98-rgb values to CIE XYZ
|
|
58679
|
-
* http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html
|
|
58680
|
-
* has greater numerical precision than section 4.3.5.3 of
|
|
58681
|
-
* https://www.adobe.com/digitalimag/pdfs/AdobeRGB1998.pdf
|
|
58682
|
-
* but the values below were calculated from first principles
|
|
58683
|
-
* from the chromaticity coordinates of R G B W
|
|
58684
|
-
*
|
|
58685
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58686
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58687
|
-
* @see http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html
|
|
58688
|
-
* @see https://www.adobe.com/digitalimag/pdfs/AdobeRGB1998.pdf
|
|
58689
|
-
* @see https://github.com/w3c/csswg-drafts/blob/main/css-color-4/matrixmaker.html
|
|
58690
|
-
*/
|
|
58691
|
-
/**
|
|
58692
|
-
* Convert an array of linear-light sRGB values to CIE XYZ
|
|
58693
|
-
* using sRGB's own white, D65 (no chromatic adaptation)
|
|
58694
|
-
*
|
|
58695
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58696
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58697
|
-
*/
|
|
58698
|
-
/**
|
|
58699
|
-
* Convert an array of gamma-corrected sRGB values in the 0.0 to 1.0 range to HSL.
|
|
58700
|
-
*
|
|
58701
|
-
* @param {Color} RGB [r, g, b]
|
|
58702
|
-
* - Red component 0..1
|
|
58703
|
-
* - Green component 0..1
|
|
58704
|
-
* - Blue component 0..1
|
|
58705
|
-
* @return {number[]} Array of HSL values: Hue as degrees 0..360, Saturation and Lightness as percentages 0..100
|
|
58706
|
-
*
|
|
58707
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58708
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/utilities.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58709
|
-
*
|
|
58710
|
-
* @see https://github.com/w3c/csswg-drafts/blob/main/css-color-4/better-rgbToHsl.js
|
|
58711
|
-
*/
|
|
58712
|
-
/**
|
|
58713
|
-
* Convert an array of a98-rgb values in the range 0.0 - 1.0
|
|
58714
|
-
* to linear light (un-companded) form. Negative values are also now accepted
|
|
58715
|
-
*
|
|
58716
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58717
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58718
|
-
*/
|
|
58719
|
-
/**
|
|
58720
|
-
* @description Calculate deltaE OK which is the simple root sum of squares
|
|
58721
|
-
* @param {number[]} reference - Array of OKLab values: L as 0..1, a and b as -1..1
|
|
58722
|
-
* @param {number[]} sample - Array of OKLab values: L as 0..1, a and b as -1..1
|
|
58723
|
-
* @return {number} How different a color sample is from reference
|
|
58724
|
-
*
|
|
58725
|
-
* @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
|
|
58726
|
-
* @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/deltaEOK.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
|
|
58727
|
-
* @see https://github.com/w3c/csswg-drafts/blob/main/css-color-4/deltaEOK.js
|
|
58728
|
-
*/
|
|
58729
|
-
/**
|
|
58730
|
-
* @license MIT https://github.com/facelessuser/coloraide/blob/main/LICENSE.md
|
|
58731
|
-
*/
|
|
58732
|
-
const d = {
|
|
58733
|
-
aliceblue: [
|
|
58734
|
-
240,
|
|
58735
|
-
248,
|
|
58736
|
-
255
|
|
58737
|
-
],
|
|
58738
|
-
antiquewhite: [
|
|
58739
|
-
250,
|
|
58740
|
-
235,
|
|
58741
|
-
215
|
|
58742
|
-
],
|
|
58743
|
-
aqua: [
|
|
58744
|
-
0,
|
|
58745
|
-
255,
|
|
58746
|
-
255
|
|
58747
|
-
],
|
|
58748
|
-
aquamarine: [
|
|
58749
|
-
127,
|
|
58750
|
-
255,
|
|
58751
|
-
212
|
|
58752
|
-
],
|
|
58753
|
-
azure: [
|
|
58754
|
-
240,
|
|
58755
|
-
255,
|
|
58756
|
-
255
|
|
58757
|
-
],
|
|
58758
|
-
beige: [
|
|
58759
|
-
245,
|
|
58760
|
-
245,
|
|
58761
|
-
220
|
|
58762
|
-
],
|
|
58763
|
-
bisque: [
|
|
58764
|
-
255,
|
|
58765
|
-
228,
|
|
58766
|
-
196
|
|
58767
|
-
],
|
|
58768
|
-
black: [
|
|
58769
|
-
0,
|
|
58770
|
-
0,
|
|
58771
|
-
0
|
|
58772
|
-
],
|
|
58773
|
-
blanchedalmond: [
|
|
58774
|
-
255,
|
|
58775
|
-
235,
|
|
58776
|
-
205
|
|
58777
|
-
],
|
|
58778
|
-
blue: [
|
|
58779
|
-
0,
|
|
58780
|
-
0,
|
|
58781
|
-
255
|
|
58782
|
-
],
|
|
58783
|
-
blueviolet: [
|
|
58784
|
-
138,
|
|
58785
|
-
43,
|
|
58786
|
-
226
|
|
58787
|
-
],
|
|
58788
|
-
brown: [
|
|
58789
|
-
165,
|
|
58790
|
-
42,
|
|
58791
|
-
42
|
|
58792
|
-
],
|
|
58793
|
-
burlywood: [
|
|
58794
|
-
222,
|
|
58795
|
-
184,
|
|
58796
|
-
135
|
|
58797
|
-
],
|
|
58798
|
-
cadetblue: [
|
|
58799
|
-
95,
|
|
58800
|
-
158,
|
|
58801
|
-
160
|
|
58802
|
-
],
|
|
58803
|
-
chartreuse: [
|
|
58804
|
-
127,
|
|
58805
|
-
255,
|
|
58806
|
-
0
|
|
58807
|
-
],
|
|
58808
|
-
chocolate: [
|
|
58809
|
-
210,
|
|
58810
|
-
105,
|
|
58811
|
-
30
|
|
58812
|
-
],
|
|
58813
|
-
coral: [
|
|
58814
|
-
255,
|
|
58815
|
-
127,
|
|
58816
|
-
80
|
|
58817
|
-
],
|
|
58818
|
-
cornflowerblue: [
|
|
58819
|
-
100,
|
|
58820
|
-
149,
|
|
58821
|
-
237
|
|
58822
|
-
],
|
|
58823
|
-
cornsilk: [
|
|
58824
|
-
255,
|
|
58825
|
-
248,
|
|
58826
|
-
220
|
|
58827
|
-
],
|
|
58828
|
-
crimson: [
|
|
58829
|
-
220,
|
|
58830
|
-
20,
|
|
58831
|
-
60
|
|
58832
|
-
],
|
|
58833
|
-
cyan: [
|
|
58834
|
-
0,
|
|
58835
|
-
255,
|
|
58836
|
-
255
|
|
58837
|
-
],
|
|
58838
|
-
darkblue: [
|
|
58839
|
-
0,
|
|
58840
|
-
0,
|
|
58841
|
-
139
|
|
58842
|
-
],
|
|
58843
|
-
darkcyan: [
|
|
58844
|
-
0,
|
|
58845
|
-
139,
|
|
58846
|
-
139
|
|
58847
|
-
],
|
|
58848
|
-
darkgoldenrod: [
|
|
58849
|
-
184,
|
|
58850
|
-
134,
|
|
58851
|
-
11
|
|
58852
|
-
],
|
|
58853
|
-
darkgray: [
|
|
58854
|
-
169,
|
|
58855
|
-
169,
|
|
58856
|
-
169
|
|
58857
|
-
],
|
|
58858
|
-
darkgreen: [
|
|
58859
|
-
0,
|
|
58860
|
-
100,
|
|
58861
|
-
0
|
|
58862
|
-
],
|
|
58863
|
-
darkgrey: [
|
|
58864
|
-
169,
|
|
58865
|
-
169,
|
|
58866
|
-
169
|
|
58867
|
-
],
|
|
58868
|
-
darkkhaki: [
|
|
58869
|
-
189,
|
|
58870
|
-
183,
|
|
58871
|
-
107
|
|
58872
|
-
],
|
|
58873
|
-
darkmagenta: [
|
|
58874
|
-
139,
|
|
58875
|
-
0,
|
|
58876
|
-
139
|
|
58877
|
-
],
|
|
58878
|
-
darkolivegreen: [
|
|
58879
|
-
85,
|
|
58880
|
-
107,
|
|
58881
|
-
47
|
|
58882
|
-
],
|
|
58883
|
-
darkorange: [
|
|
58884
|
-
255,
|
|
58885
|
-
140,
|
|
58886
|
-
0
|
|
58887
|
-
],
|
|
58888
|
-
darkorchid: [
|
|
58889
|
-
153,
|
|
58890
|
-
50,
|
|
58891
|
-
204
|
|
58892
|
-
],
|
|
58893
|
-
darkred: [
|
|
58894
|
-
139,
|
|
58895
|
-
0,
|
|
58896
|
-
0
|
|
58897
|
-
],
|
|
58898
|
-
darksalmon: [
|
|
58899
|
-
233,
|
|
58900
|
-
150,
|
|
58901
|
-
122
|
|
58902
|
-
],
|
|
58903
|
-
darkseagreen: [
|
|
58904
|
-
143,
|
|
58905
|
-
188,
|
|
58906
|
-
143
|
|
58907
|
-
],
|
|
58908
|
-
darkslateblue: [
|
|
58909
|
-
72,
|
|
58910
|
-
61,
|
|
58911
|
-
139
|
|
58912
|
-
],
|
|
58913
|
-
darkslategray: [
|
|
58914
|
-
47,
|
|
58915
|
-
79,
|
|
58916
|
-
79
|
|
58917
|
-
],
|
|
58918
|
-
darkslategrey: [
|
|
58919
|
-
47,
|
|
58920
|
-
79,
|
|
58921
|
-
79
|
|
58922
|
-
],
|
|
58923
|
-
darkturquoise: [
|
|
58924
|
-
0,
|
|
58925
|
-
206,
|
|
58926
|
-
209
|
|
58927
|
-
],
|
|
58928
|
-
darkviolet: [
|
|
58929
|
-
148,
|
|
58930
|
-
0,
|
|
58931
|
-
211
|
|
58932
|
-
],
|
|
58933
|
-
deeppink: [
|
|
58934
|
-
255,
|
|
58935
|
-
20,
|
|
58936
|
-
147
|
|
58937
|
-
],
|
|
58938
|
-
deepskyblue: [
|
|
58939
|
-
0,
|
|
58940
|
-
191,
|
|
58941
|
-
255
|
|
58942
|
-
],
|
|
58943
|
-
dimgray: [
|
|
58944
|
-
105,
|
|
58945
|
-
105,
|
|
58946
|
-
105
|
|
58947
|
-
],
|
|
58948
|
-
dimgrey: [
|
|
58949
|
-
105,
|
|
58950
|
-
105,
|
|
58951
|
-
105
|
|
58952
|
-
],
|
|
58953
|
-
dodgerblue: [
|
|
58954
|
-
30,
|
|
58955
|
-
144,
|
|
58956
|
-
255
|
|
58957
|
-
],
|
|
58958
|
-
firebrick: [
|
|
58959
|
-
178,
|
|
58960
|
-
34,
|
|
58961
|
-
34
|
|
58962
|
-
],
|
|
58963
|
-
floralwhite: [
|
|
58964
|
-
255,
|
|
58965
|
-
250,
|
|
58966
|
-
240
|
|
58967
|
-
],
|
|
58968
|
-
forestgreen: [
|
|
58969
|
-
34,
|
|
58970
|
-
139,
|
|
58971
|
-
34
|
|
58972
|
-
],
|
|
58973
|
-
fuchsia: [
|
|
58974
|
-
255,
|
|
58975
|
-
0,
|
|
58976
|
-
255
|
|
58977
|
-
],
|
|
58978
|
-
gainsboro: [
|
|
58979
|
-
220,
|
|
58980
|
-
220,
|
|
58981
|
-
220
|
|
58982
|
-
],
|
|
58983
|
-
ghostwhite: [
|
|
58984
|
-
248,
|
|
58985
|
-
248,
|
|
58986
|
-
255
|
|
58987
|
-
],
|
|
58988
|
-
gold: [
|
|
58989
|
-
255,
|
|
58990
|
-
215,
|
|
58991
|
-
0
|
|
58992
|
-
],
|
|
58993
|
-
goldenrod: [
|
|
58994
|
-
218,
|
|
58995
|
-
165,
|
|
58996
|
-
32
|
|
58997
|
-
],
|
|
58998
|
-
gray: [
|
|
58999
|
-
128,
|
|
59000
|
-
128,
|
|
59001
|
-
128
|
|
59002
|
-
],
|
|
59003
|
-
green: [
|
|
59004
|
-
0,
|
|
59005
|
-
128,
|
|
59006
|
-
0
|
|
59007
|
-
],
|
|
59008
|
-
greenyellow: [
|
|
59009
|
-
173,
|
|
59010
|
-
255,
|
|
59011
|
-
47
|
|
59012
|
-
],
|
|
59013
|
-
grey: [
|
|
59014
|
-
128,
|
|
59015
|
-
128,
|
|
59016
|
-
128
|
|
59017
|
-
],
|
|
59018
|
-
honeydew: [
|
|
59019
|
-
240,
|
|
59020
|
-
255,
|
|
59021
|
-
240
|
|
59022
|
-
],
|
|
59023
|
-
hotpink: [
|
|
59024
|
-
255,
|
|
59025
|
-
105,
|
|
59026
|
-
180
|
|
59027
|
-
],
|
|
59028
|
-
indianred: [
|
|
59029
|
-
205,
|
|
59030
|
-
92,
|
|
59031
|
-
92
|
|
59032
|
-
],
|
|
59033
|
-
indigo: [
|
|
59034
|
-
75,
|
|
59035
|
-
0,
|
|
59036
|
-
130
|
|
59037
|
-
],
|
|
59038
|
-
ivory: [
|
|
59039
|
-
255,
|
|
59040
|
-
255,
|
|
59041
|
-
240
|
|
59042
|
-
],
|
|
59043
|
-
khaki: [
|
|
59044
|
-
240,
|
|
59045
|
-
230,
|
|
59046
|
-
140
|
|
59047
|
-
],
|
|
59048
|
-
lavender: [
|
|
59049
|
-
230,
|
|
59050
|
-
230,
|
|
59051
|
-
250
|
|
59052
|
-
],
|
|
59053
|
-
lavenderblush: [
|
|
59054
|
-
255,
|
|
59055
|
-
240,
|
|
59056
|
-
245
|
|
59057
|
-
],
|
|
59058
|
-
lawngreen: [
|
|
59059
|
-
124,
|
|
59060
|
-
252,
|
|
59061
|
-
0
|
|
59062
|
-
],
|
|
59063
|
-
lemonchiffon: [
|
|
59064
|
-
255,
|
|
59065
|
-
250,
|
|
59066
|
-
205
|
|
59067
|
-
],
|
|
59068
|
-
lightblue: [
|
|
59069
|
-
173,
|
|
59070
|
-
216,
|
|
59071
|
-
230
|
|
59072
|
-
],
|
|
59073
|
-
lightcoral: [
|
|
59074
|
-
240,
|
|
59075
|
-
128,
|
|
59076
|
-
128
|
|
59077
|
-
],
|
|
59078
|
-
lightcyan: [
|
|
59079
|
-
224,
|
|
59080
|
-
255,
|
|
59081
|
-
255
|
|
59082
|
-
],
|
|
59083
|
-
lightgoldenrodyellow: [
|
|
59084
|
-
250,
|
|
59085
|
-
250,
|
|
59086
|
-
210
|
|
59087
|
-
],
|
|
59088
|
-
lightgray: [
|
|
59089
|
-
211,
|
|
59090
|
-
211,
|
|
59091
|
-
211
|
|
59092
|
-
],
|
|
59093
|
-
lightgreen: [
|
|
59094
|
-
144,
|
|
59095
|
-
238,
|
|
59096
|
-
144
|
|
59097
|
-
],
|
|
59098
|
-
lightgrey: [
|
|
59099
|
-
211,
|
|
59100
|
-
211,
|
|
59101
|
-
211
|
|
59102
|
-
],
|
|
59103
|
-
lightpink: [
|
|
59104
|
-
255,
|
|
59105
|
-
182,
|
|
59106
|
-
193
|
|
59107
|
-
],
|
|
59108
|
-
lightsalmon: [
|
|
59109
|
-
255,
|
|
59110
|
-
160,
|
|
59111
|
-
122
|
|
59112
|
-
],
|
|
59113
|
-
lightseagreen: [
|
|
59114
|
-
32,
|
|
59115
|
-
178,
|
|
59116
|
-
170
|
|
59117
|
-
],
|
|
59118
|
-
lightskyblue: [
|
|
59119
|
-
135,
|
|
59120
|
-
206,
|
|
59121
|
-
250
|
|
59122
|
-
],
|
|
59123
|
-
lightslategray: [
|
|
59124
|
-
119,
|
|
59125
|
-
136,
|
|
59126
|
-
153
|
|
59127
|
-
],
|
|
59128
|
-
lightslategrey: [
|
|
59129
|
-
119,
|
|
59130
|
-
136,
|
|
59131
|
-
153
|
|
59132
|
-
],
|
|
59133
|
-
lightsteelblue: [
|
|
59134
|
-
176,
|
|
59135
|
-
196,
|
|
59136
|
-
222
|
|
59137
|
-
],
|
|
59138
|
-
lightyellow: [
|
|
59139
|
-
255,
|
|
59140
|
-
255,
|
|
59141
|
-
224
|
|
59142
|
-
],
|
|
59143
|
-
lime: [
|
|
59144
|
-
0,
|
|
59145
|
-
255,
|
|
59146
|
-
0
|
|
59147
|
-
],
|
|
59148
|
-
limegreen: [
|
|
59149
|
-
50,
|
|
59150
|
-
205,
|
|
59151
|
-
50
|
|
59152
|
-
],
|
|
59153
|
-
linen: [
|
|
59154
|
-
250,
|
|
59155
|
-
240,
|
|
59156
|
-
230
|
|
59157
|
-
],
|
|
59158
|
-
magenta: [
|
|
59159
|
-
255,
|
|
59160
|
-
0,
|
|
59161
|
-
255
|
|
59162
|
-
],
|
|
59163
|
-
maroon: [
|
|
59164
|
-
128,
|
|
59165
|
-
0,
|
|
59166
|
-
0
|
|
59167
|
-
],
|
|
59168
|
-
mediumaquamarine: [
|
|
59169
|
-
102,
|
|
59170
|
-
205,
|
|
59171
|
-
170
|
|
59172
|
-
],
|
|
59173
|
-
mediumblue: [
|
|
59174
|
-
0,
|
|
59175
|
-
0,
|
|
59176
|
-
205
|
|
59177
|
-
],
|
|
59178
|
-
mediumorchid: [
|
|
59179
|
-
186,
|
|
59180
|
-
85,
|
|
59181
|
-
211
|
|
59182
|
-
],
|
|
59183
|
-
mediumpurple: [
|
|
59184
|
-
147,
|
|
59185
|
-
112,
|
|
59186
|
-
219
|
|
59187
|
-
],
|
|
59188
|
-
mediumseagreen: [
|
|
59189
|
-
60,
|
|
59190
|
-
179,
|
|
59191
|
-
113
|
|
59192
|
-
],
|
|
59193
|
-
mediumslateblue: [
|
|
59194
|
-
123,
|
|
59195
|
-
104,
|
|
59196
|
-
238
|
|
59197
|
-
],
|
|
59198
|
-
mediumspringgreen: [
|
|
59199
|
-
0,
|
|
59200
|
-
250,
|
|
59201
|
-
154
|
|
59202
|
-
],
|
|
59203
|
-
mediumturquoise: [
|
|
59204
|
-
72,
|
|
59205
|
-
209,
|
|
59206
|
-
204
|
|
59207
|
-
],
|
|
59208
|
-
mediumvioletred: [
|
|
59209
|
-
199,
|
|
59210
|
-
21,
|
|
59211
|
-
133
|
|
59212
|
-
],
|
|
59213
|
-
midnightblue: [
|
|
59214
|
-
25,
|
|
59215
|
-
25,
|
|
59216
|
-
112
|
|
59217
|
-
],
|
|
59218
|
-
mintcream: [
|
|
59219
|
-
245,
|
|
59220
|
-
255,
|
|
59221
|
-
250
|
|
59222
|
-
],
|
|
59223
|
-
mistyrose: [
|
|
59224
|
-
255,
|
|
59225
|
-
228,
|
|
59226
|
-
225
|
|
59227
|
-
],
|
|
59228
|
-
moccasin: [
|
|
59229
|
-
255,
|
|
59230
|
-
228,
|
|
59231
|
-
181
|
|
59232
|
-
],
|
|
59233
|
-
navajowhite: [
|
|
59234
|
-
255,
|
|
59235
|
-
222,
|
|
59236
|
-
173
|
|
59237
|
-
],
|
|
59238
|
-
navy: [
|
|
59239
|
-
0,
|
|
59240
|
-
0,
|
|
59241
|
-
128
|
|
59242
|
-
],
|
|
59243
|
-
oldlace: [
|
|
59244
|
-
253,
|
|
59245
|
-
245,
|
|
59246
|
-
230
|
|
59247
|
-
],
|
|
59248
|
-
olive: [
|
|
59249
|
-
128,
|
|
59250
|
-
128,
|
|
59251
|
-
0
|
|
59252
|
-
],
|
|
59253
|
-
olivedrab: [
|
|
59254
|
-
107,
|
|
59255
|
-
142,
|
|
59256
|
-
35
|
|
59257
|
-
],
|
|
59258
|
-
orange: [
|
|
59259
|
-
255,
|
|
59260
|
-
165,
|
|
59261
|
-
0
|
|
59262
|
-
],
|
|
59263
|
-
orangered: [
|
|
59264
|
-
255,
|
|
59265
|
-
69,
|
|
59266
|
-
0
|
|
59267
|
-
],
|
|
59268
|
-
orchid: [
|
|
59269
|
-
218,
|
|
59270
|
-
112,
|
|
59271
|
-
214
|
|
59272
|
-
],
|
|
59273
|
-
palegoldenrod: [
|
|
59274
|
-
238,
|
|
59275
|
-
232,
|
|
59276
|
-
170
|
|
59277
|
-
],
|
|
59278
|
-
palegreen: [
|
|
59279
|
-
152,
|
|
59280
|
-
251,
|
|
59281
|
-
152
|
|
59282
|
-
],
|
|
59283
|
-
paleturquoise: [
|
|
59284
|
-
175,
|
|
59285
|
-
238,
|
|
59286
|
-
238
|
|
59287
|
-
],
|
|
59288
|
-
palevioletred: [
|
|
59289
|
-
219,
|
|
59290
|
-
112,
|
|
59291
|
-
147
|
|
59292
|
-
],
|
|
59293
|
-
papayawhip: [
|
|
59294
|
-
255,
|
|
59295
|
-
239,
|
|
59296
|
-
213
|
|
59297
|
-
],
|
|
59298
|
-
peachpuff: [
|
|
59299
|
-
255,
|
|
59300
|
-
218,
|
|
59301
|
-
185
|
|
59302
|
-
],
|
|
59303
|
-
peru: [
|
|
59304
|
-
205,
|
|
59305
|
-
133,
|
|
59306
|
-
63
|
|
59307
|
-
],
|
|
59308
|
-
pink: [
|
|
59309
|
-
255,
|
|
59310
|
-
192,
|
|
59311
|
-
203
|
|
59312
|
-
],
|
|
59313
|
-
plum: [
|
|
59314
|
-
221,
|
|
59315
|
-
160,
|
|
59316
|
-
221
|
|
59317
|
-
],
|
|
59318
|
-
powderblue: [
|
|
59319
|
-
176,
|
|
59320
|
-
224,
|
|
59321
|
-
230
|
|
59322
|
-
],
|
|
59323
|
-
purple: [
|
|
59324
|
-
128,
|
|
59325
|
-
0,
|
|
59326
|
-
128
|
|
59327
|
-
],
|
|
59328
|
-
rebeccapurple: [
|
|
59329
|
-
102,
|
|
59330
|
-
51,
|
|
59331
|
-
153
|
|
59332
|
-
],
|
|
59333
|
-
red: [
|
|
59334
|
-
255,
|
|
59335
|
-
0,
|
|
59336
|
-
0
|
|
59337
|
-
],
|
|
59338
|
-
rosybrown: [
|
|
59339
|
-
188,
|
|
59340
|
-
143,
|
|
59341
|
-
143
|
|
59342
|
-
],
|
|
59343
|
-
royalblue: [
|
|
59344
|
-
65,
|
|
59345
|
-
105,
|
|
59346
|
-
225
|
|
59347
|
-
],
|
|
59348
|
-
saddlebrown: [
|
|
59349
|
-
139,
|
|
59350
|
-
69,
|
|
59351
|
-
19
|
|
59352
|
-
],
|
|
59353
|
-
salmon: [
|
|
59354
|
-
250,
|
|
59355
|
-
128,
|
|
59356
|
-
114
|
|
59357
|
-
],
|
|
59358
|
-
sandybrown: [
|
|
59359
|
-
244,
|
|
59360
|
-
164,
|
|
59361
|
-
96
|
|
59362
|
-
],
|
|
59363
|
-
seagreen: [
|
|
59364
|
-
46,
|
|
59365
|
-
139,
|
|
59366
|
-
87
|
|
59367
|
-
],
|
|
59368
|
-
seashell: [
|
|
59369
|
-
255,
|
|
59370
|
-
245,
|
|
59371
|
-
238
|
|
59372
|
-
],
|
|
59373
|
-
sienna: [
|
|
59374
|
-
160,
|
|
59375
|
-
82,
|
|
59376
|
-
45
|
|
59377
|
-
],
|
|
59378
|
-
silver: [
|
|
59379
|
-
192,
|
|
59380
|
-
192,
|
|
59381
|
-
192
|
|
59382
|
-
],
|
|
59383
|
-
skyblue: [
|
|
59384
|
-
135,
|
|
59385
|
-
206,
|
|
59386
|
-
235
|
|
59387
|
-
],
|
|
59388
|
-
slateblue: [
|
|
59389
|
-
106,
|
|
59390
|
-
90,
|
|
59391
|
-
205
|
|
59392
|
-
],
|
|
59393
|
-
slategray: [
|
|
59394
|
-
112,
|
|
59395
|
-
128,
|
|
59396
|
-
144
|
|
59397
|
-
],
|
|
59398
|
-
slategrey: [
|
|
59399
|
-
112,
|
|
59400
|
-
128,
|
|
59401
|
-
144
|
|
59402
|
-
],
|
|
59403
|
-
snow: [
|
|
59404
|
-
255,
|
|
59405
|
-
250,
|
|
59406
|
-
250
|
|
59407
|
-
],
|
|
59408
|
-
springgreen: [
|
|
59409
|
-
0,
|
|
59410
|
-
255,
|
|
59411
|
-
127
|
|
59412
|
-
],
|
|
59413
|
-
steelblue: [
|
|
59414
|
-
70,
|
|
59415
|
-
130,
|
|
59416
|
-
180
|
|
59417
|
-
],
|
|
59418
|
-
tan: [
|
|
59419
|
-
210,
|
|
59420
|
-
180,
|
|
59421
|
-
140
|
|
59422
|
-
],
|
|
59423
|
-
teal: [
|
|
59424
|
-
0,
|
|
59425
|
-
128,
|
|
59426
|
-
128
|
|
59427
|
-
],
|
|
59428
|
-
thistle: [
|
|
59429
|
-
216,
|
|
59430
|
-
191,
|
|
59431
|
-
216
|
|
59432
|
-
],
|
|
59433
|
-
tomato: [
|
|
59434
|
-
255,
|
|
59435
|
-
99,
|
|
59436
|
-
71
|
|
59437
|
-
],
|
|
59438
|
-
turquoise: [
|
|
59439
|
-
64,
|
|
59440
|
-
224,
|
|
59441
|
-
208
|
|
59442
|
-
],
|
|
59443
|
-
violet: [
|
|
59444
|
-
238,
|
|
59445
|
-
130,
|
|
59446
|
-
238
|
|
59447
|
-
],
|
|
59448
|
-
wheat: [
|
|
59449
|
-
245,
|
|
59450
|
-
222,
|
|
59451
|
-
179
|
|
59452
|
-
],
|
|
59453
|
-
white: [
|
|
59454
|
-
255,
|
|
59455
|
-
255,
|
|
59456
|
-
255
|
|
59457
|
-
],
|
|
59458
|
-
whitesmoke: [
|
|
59459
|
-
245,
|
|
59460
|
-
245,
|
|
59461
|
-
245
|
|
59462
|
-
],
|
|
59463
|
-
yellow: [
|
|
59464
|
-
255,
|
|
59465
|
-
255,
|
|
59466
|
-
0
|
|
59467
|
-
],
|
|
59468
|
-
yellowgreen: [
|
|
59469
|
-
154,
|
|
59470
|
-
205,
|
|
59471
|
-
50
|
|
59472
|
-
]
|
|
59473
|
-
};
|
|
59474
|
-
//#endregion
|
|
59475
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-text-decoration-shorthand@5.0.3_postcss@8.5.15/node_modules/@csstools/postcss-text-decoration-shorthand/dist/index.mjs
|
|
59228
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-text-decoration-shorthand@5.0.4_postcss@8.5.16/node_modules/@csstools/postcss-text-decoration-shorthand/dist/index.mjs
|
|
59476
59229
|
const o = /^text-decoration$/i, creator$4 = (t) => {
|
|
59477
59230
|
const c = Object.assign({ preserve: !0 }, t);
|
|
59478
59231
|
return {
|
|
@@ -59672,7 +59425,7 @@ const r = [
|
|
|
59672
59425
|
], i = [
|
|
59673
59426
|
"currentcolor",
|
|
59674
59427
|
"transparent",
|
|
59675
|
-
...Object.keys(
|
|
59428
|
+
...Object.keys(G$1)
|
|
59676
59429
|
];
|
|
59677
59430
|
function genericNodeParts() {
|
|
59678
59431
|
return {
|
|
@@ -59683,7 +59436,7 @@ function genericNodeParts() {
|
|
|
59683
59436
|
};
|
|
59684
59437
|
}
|
|
59685
59438
|
//#endregion
|
|
59686
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-trigonometric-functions@5.0.3_postcss@8.5.
|
|
59439
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-trigonometric-functions@5.0.3_postcss@8.5.16/node_modules/@csstools/postcss-trigonometric-functions/dist/index.mjs
|
|
59687
59440
|
const e$2 = /(?<![-\w])(?:asin|acos|atan|atan2|sin|cos|tan)\(/i, creator$3 = (o) => {
|
|
59688
59441
|
const t = Object.assign({ preserve: !1 }, o);
|
|
59689
59442
|
return {
|
|
@@ -59700,7 +59453,7 @@ const e$2 = /(?<![-\w])(?:asin|acos|atan|atan2|sin|cos|tan)\(/i, creator$3 = (o)
|
|
|
59700
59453
|
};
|
|
59701
59454
|
creator$3.postcss = !0;
|
|
59702
59455
|
//#endregion
|
|
59703
|
-
//#region ../../node_modules/.pnpm/@csstools+postcss-unset-value@5.0.0_postcss@8.5.
|
|
59456
|
+
//#region ../../node_modules/.pnpm/@csstools+postcss-unset-value@5.0.0_postcss@8.5.16/node_modules/@csstools/postcss-unset-value/dist/index.mjs
|
|
59704
59457
|
const e$1 = /* @__PURE__ */ new Set([
|
|
59705
59458
|
"block-ellipsis",
|
|
59706
59459
|
"border-boundary",
|
|
@@ -60138,7 +59891,7 @@ const e$1 = /* @__PURE__ */ new Set([
|
|
|
60138
59891
|
};
|
|
60139
59892
|
creator$2.postcss = !0;
|
|
60140
59893
|
//#endregion
|
|
60141
|
-
//#region ../../node_modules/.pnpm/postcss-preset-env@11.3.
|
|
59894
|
+
//#region ../../node_modules/.pnpm/postcss-preset-env@11.3.2_postcss@8.5.16/node_modules/postcss-preset-env/dist/index.mjs
|
|
60142
59895
|
const ks = {
|
|
60143
59896
|
"blank-pseudo-class": "https://github.com/csstools/postcss-plugins/blob/main/plugins/css-blank-pseudo/README.md#browser",
|
|
60144
59897
|
"focus-visible-pseudo-class": "https://github.com/WICG/focus-visible",
|
|
@@ -60912,6 +60665,27 @@ const creator$1 = (e) => {
|
|
|
60912
60665
|
};
|
|
60913
60666
|
creator$1.postcss = !0;
|
|
60914
60667
|
//#endregion
|
|
60668
|
+
//#region src/shared.ts
|
|
60669
|
+
const escapeOptionsCache = /* @__PURE__ */ new WeakMap();
|
|
60670
|
+
function getEscapeOptions(escapeMap) {
|
|
60671
|
+
let cached = escapeOptionsCache.get(escapeMap);
|
|
60672
|
+
if (!cached) {
|
|
60673
|
+
cached = { map: escapeMap };
|
|
60674
|
+
escapeOptionsCache.set(escapeMap, cached);
|
|
60675
|
+
}
|
|
60676
|
+
return cached;
|
|
60677
|
+
}
|
|
60678
|
+
function internalCssSelectorReplacer(selectors, options) {
|
|
60679
|
+
const escapeMap = options?.escapeMap;
|
|
60680
|
+
if (escapeMap === void 0 || escapeMap === MappingChars2String) return escape(selectors);
|
|
60681
|
+
return escape(selectors, getEscapeOptions(escapeMap));
|
|
60682
|
+
}
|
|
60683
|
+
function composeIsPseudo(strs) {
|
|
60684
|
+
if (typeof strs === "string") return strs;
|
|
60685
|
+
if (strs.length > 1) return `:is(${strs.join(",")})`;
|
|
60686
|
+
return strs.join("");
|
|
60687
|
+
}
|
|
60688
|
+
//#endregion
|
|
60915
60689
|
//#region src/compat/web-css.ts
|
|
60916
60690
|
const disabledFeatures = {
|
|
60917
60691
|
theme: false,
|
|
@@ -61035,18 +60809,29 @@ function resolveCustomPropertyVarValue(value, customPropertyValues) {
|
|
|
61035
60809
|
});
|
|
61036
60810
|
return changed ? parsed.toString() : value;
|
|
61037
60811
|
}
|
|
61038
|
-
function
|
|
61039
|
-
if (
|
|
61040
|
-
|
|
60812
|
+
function usesResolvableTailwindColorVariable(value, customPropertyValues) {
|
|
60813
|
+
if (!value.includes("var(")) return false;
|
|
60814
|
+
const parsed = valueParser(value);
|
|
60815
|
+
let usesColorVariable = false;
|
|
60816
|
+
parsed.walk((node) => {
|
|
60817
|
+
if (node.type !== "function" || node.value.toLowerCase() !== "var") return;
|
|
60818
|
+
const propertyNode = node.nodes.find((child) => child.type === "word" && child.value.startsWith("--color-"));
|
|
60819
|
+
if (propertyNode && customPropertyValues.has(propertyNode.value)) usesColorVariable = true;
|
|
60820
|
+
});
|
|
60821
|
+
return usesColorVariable;
|
|
61041
60822
|
}
|
|
61042
60823
|
function normalizeModernColorDeclarations(root, features) {
|
|
61043
60824
|
if (!features.oklch && !features.colorFunctions) return;
|
|
61044
60825
|
const customPropertyValues = collectCustomPropertyValues(root);
|
|
61045
60826
|
root.walkDecls((decl) => {
|
|
61046
|
-
const
|
|
61047
|
-
|
|
61048
|
-
if (!
|
|
61049
|
-
|
|
60827
|
+
const value = resolveCustomPropertyVarValue(decl.value, customPropertyValues);
|
|
60828
|
+
const normalized = normalizeModernColorValue(value, customPropertyValues);
|
|
60829
|
+
if (!normalized.changed) {
|
|
60830
|
+
if (value !== decl.value && usesResolvableTailwindColorVariable(decl.value, customPropertyValues)) decl.value = value;
|
|
60831
|
+
return;
|
|
60832
|
+
}
|
|
60833
|
+
if (!features.colorFunctions && !/oklch|oklab/i.test(value)) return;
|
|
60834
|
+
decl.value = normalized.value;
|
|
61050
60835
|
});
|
|
61051
60836
|
}
|
|
61052
60837
|
function removeModernColorSupports(root) {
|
|
@@ -61056,6 +60841,39 @@ function removeModernColorSupports(root) {
|
|
|
61056
60841
|
else atRule.remove();
|
|
61057
60842
|
});
|
|
61058
60843
|
}
|
|
60844
|
+
function normalizeTailwindcssV4GradientPositionDeclarations(root) {
|
|
60845
|
+
root.walkDecls("--tw-gradient-position", (decl) => {
|
|
60846
|
+
const normalized = normalizeTailwindcssV4GradientPosition(decl.value);
|
|
60847
|
+
if (normalized) {
|
|
60848
|
+
decl.value = normalized;
|
|
60849
|
+
return;
|
|
60850
|
+
}
|
|
60851
|
+
if (normalized === decl.value.trim()) return;
|
|
60852
|
+
const parent = decl.parent;
|
|
60853
|
+
if (parent?.type !== "rule") {
|
|
60854
|
+
decl.value = "to bottom";
|
|
60855
|
+
return;
|
|
60856
|
+
}
|
|
60857
|
+
const backgroundImageDecl = parent.nodes.find((node) => {
|
|
60858
|
+
return node.type === "decl" && node.prop === "background-image";
|
|
60859
|
+
});
|
|
60860
|
+
if (/^radial-gradient\(/i.test(backgroundImageDecl?.value ?? "")) {
|
|
60861
|
+
decl.value = "at center";
|
|
60862
|
+
return;
|
|
60863
|
+
}
|
|
60864
|
+
if (/^conic-gradient\(/i.test(backgroundImageDecl?.value ?? "")) {
|
|
60865
|
+
decl.value = "from 0deg";
|
|
60866
|
+
return;
|
|
60867
|
+
}
|
|
60868
|
+
decl.value = "to bottom";
|
|
60869
|
+
});
|
|
60870
|
+
}
|
|
60871
|
+
function normalizeTailwindcssV4InfinityCalcDeclarations(root) {
|
|
60872
|
+
root.walkDecls((decl) => {
|
|
60873
|
+
const normalized = normalizeTailwindcssV4InfinityCalcValue(decl.value);
|
|
60874
|
+
if (normalized !== decl.value) decl.value = normalized;
|
|
60875
|
+
});
|
|
60876
|
+
}
|
|
61059
60877
|
function removeEmptyAtRules$1(root) {
|
|
61060
60878
|
root.walkAtRules((atRule) => {
|
|
61061
60879
|
if (atRule.nodes && atRule.nodes.length === 0) atRule.remove();
|
|
@@ -61082,6 +60900,8 @@ function transformWebCssCompat(css, options) {
|
|
|
61082
60900
|
}
|
|
61083
60901
|
if (normalized.features.supports) removeModernColorSupports(root);
|
|
61084
60902
|
if (normalized.features.nesting) transformCssNesting(root);
|
|
60903
|
+
normalizeTailwindcssV4GradientPositionDeclarations(root);
|
|
60904
|
+
normalizeTailwindcssV4InfinityCalcDeclarations(root);
|
|
61085
60905
|
normalizeModernColorDeclarations(root, normalized.features);
|
|
61086
60906
|
removeEmptyAtRules$1(root);
|
|
61087
60907
|
return root.toString();
|
|
@@ -61089,6 +60909,22 @@ function transformWebCssCompat(css, options) {
|
|
|
61089
60909
|
return css;
|
|
61090
60910
|
}
|
|
61091
60911
|
}
|
|
60912
|
+
function transformWebCssSafeSelectors(css, options) {
|
|
60913
|
+
try {
|
|
60914
|
+
const root = postcss$1.parse(css);
|
|
60915
|
+
root.walkRules((rule) => {
|
|
60916
|
+
if (!rule.selector.includes(".")) return;
|
|
60917
|
+
rule.selector = (0, import_dist$1.default)((selectors) => {
|
|
60918
|
+
selectors.walkClasses((node) => {
|
|
60919
|
+
node.value = internalCssSelectorReplacer(node.value, options);
|
|
60920
|
+
});
|
|
60921
|
+
}).processSync(rule.selector);
|
|
60922
|
+
});
|
|
60923
|
+
return root.toString();
|
|
60924
|
+
} catch {
|
|
60925
|
+
return css;
|
|
60926
|
+
}
|
|
60927
|
+
}
|
|
61092
60928
|
//#endregion
|
|
61093
60929
|
//#region src/css-macro/auto.ts
|
|
61094
60930
|
const CSS_MACRO_STYLE_OPTIONS_MARKER = "__weappTailwindcssCssMacroEnabled";
|
|
@@ -62006,6 +61842,18 @@ function resolveTailwindV4PostcssSourceCss(css, sourceOptions, root) {
|
|
|
62006
61842
|
const packageName = sourceOptions.packageName ?? "tailwindcss";
|
|
62007
61843
|
return isTailwindV4ApplyOnlyCss(css, root) ? `@import "${packageName}" source(none);\n@reference "${packageName}";\n${css}` : css;
|
|
62008
61844
|
}
|
|
61845
|
+
function isMiniProgramGeneratorTarget(target) {
|
|
61846
|
+
return target !== "web";
|
|
61847
|
+
}
|
|
61848
|
+
function finalizeGeneratedCss(css, target, styleOptions, webCompat) {
|
|
61849
|
+
if (target === "web") return transformWebCssCompat(css, webCompat);
|
|
61850
|
+
if (!isMiniProgramGeneratorTarget(target)) return css;
|
|
61851
|
+
return finalizeMiniProgramCss(css, {
|
|
61852
|
+
cssSelectorReplacement: styleOptions?.cssOptions?.cssSelectorReplacement ?? styleOptions?.cssSelectorReplacement,
|
|
61853
|
+
isTailwindcssV4: true,
|
|
61854
|
+
tailwindcssV4GradientFallback: styleOptions?.cssOptions?.tailwindcssV4GradientFallback ?? styleOptions?.tailwindcssV4GradientFallback
|
|
61855
|
+
});
|
|
61856
|
+
}
|
|
62009
61857
|
function createWeappTailwindcssPostcssPlugin(adapters) {
|
|
62010
61858
|
const plugin = (options = {}) => {
|
|
62011
61859
|
return {
|
|
@@ -62030,18 +61878,19 @@ function createWeappTailwindcssPostcssPlugin(adapters) {
|
|
|
62030
61878
|
base,
|
|
62031
61879
|
projectRoot
|
|
62032
61880
|
});
|
|
62033
|
-
const
|
|
61881
|
+
const generator = adapters.createGenerator(source);
|
|
61882
|
+
const generatorStyleOptions = {
|
|
61883
|
+
...generatorOptions.styleOptions,
|
|
61884
|
+
...styleOptions
|
|
61885
|
+
};
|
|
61886
|
+
const generated = await generator.generate({
|
|
62034
61887
|
candidates: /* @__PURE__ */ new Set([...autoCandidates, ...candidates ?? []]),
|
|
62035
61888
|
scanSources: scanSources ?? false,
|
|
62036
61889
|
sources: [...collectedSources.sources, ...sources ?? []],
|
|
62037
|
-
styleOptions:
|
|
62038
|
-
...generatorOptions.styleOptions,
|
|
62039
|
-
...styleOptions
|
|
62040
|
-
},
|
|
61890
|
+
styleOptions: generatorStyleOptions,
|
|
62041
61891
|
target: generatorOptions.target
|
|
62042
61892
|
});
|
|
62043
|
-
|
|
62044
|
-
replaceRootCss(root, generated.target === "web" ? transformWebCssCompat(css, generatorOptions.webCompat) : css, result);
|
|
61893
|
+
replaceRootCss(root, finalizeGeneratedCss(isApplyOnlyTailwindV4Css ? filterApplyOnlyGeneratedCss(generated.css, applyOnlyCssSelectors ?? /* @__PURE__ */ new Set()) : generated.css, generated.target, generatorStyleOptions, generatorOptions.webCompat), result);
|
|
62045
61894
|
addDependencyMessages(result, generated);
|
|
62046
61895
|
addSourceDependencyMessages(result, collectedSources.files);
|
|
62047
61896
|
result.messages.push({
|
|
@@ -62185,9 +62034,52 @@ function splitLocalCssImports(source) {
|
|
|
62185
62034
|
return;
|
|
62186
62035
|
}
|
|
62187
62036
|
}
|
|
62188
|
-
function
|
|
62037
|
+
function normalizeOutputPath(file) {
|
|
62038
|
+
const segments = [];
|
|
62039
|
+
for (const segment of file.replace(/\\/g, "/").replace(/^\/+/, "").split("/")) {
|
|
62040
|
+
if (!segment || segment === ".") continue;
|
|
62041
|
+
if (segment === "..") {
|
|
62042
|
+
if (segments.length > 0 && segments[segments.length - 1] !== "..") segments.pop();
|
|
62043
|
+
else segments.push(segment);
|
|
62044
|
+
continue;
|
|
62045
|
+
}
|
|
62046
|
+
segments.push(segment);
|
|
62047
|
+
}
|
|
62048
|
+
return segments.join("/");
|
|
62049
|
+
}
|
|
62050
|
+
function resolveOutputImportRequest(file, request) {
|
|
62051
|
+
const { clean } = splitRequestSuffix(request.replace(/\\/g, "/"));
|
|
62052
|
+
if (clean.startsWith("/")) return normalizeOutputPath(clean);
|
|
62053
|
+
const normalizedFile = normalizeOutputPath(file);
|
|
62054
|
+
const baseDir = normalizedFile.includes("/") ? normalizedFile.slice(0, normalizedFile.lastIndexOf("/")) : "";
|
|
62055
|
+
return normalizeOutputPath(baseDir ? `${baseDir}/${clean}` : clean);
|
|
62056
|
+
}
|
|
62057
|
+
function isSelfOutputImport(outputFile, node) {
|
|
62058
|
+
if (node.type !== "atrule" || node.name !== "import") return false;
|
|
62059
|
+
const request = parseImportRequest(node.params);
|
|
62060
|
+
return request !== void 0 && isLocalCssImportRequest(request) && resolveOutputImportRequest(outputFile, request) === normalizeOutputPath(outputFile);
|
|
62061
|
+
}
|
|
62062
|
+
function filterSelfOutputImports(imports, outputFile) {
|
|
62063
|
+
if (!outputFile) return imports;
|
|
62064
|
+
try {
|
|
62065
|
+
const root = postcss.parse(imports);
|
|
62066
|
+
let changed = false;
|
|
62067
|
+
root.walk((node) => {
|
|
62068
|
+
if (isSelfOutputImport(outputFile, node)) {
|
|
62069
|
+
node.remove();
|
|
62070
|
+
changed = true;
|
|
62071
|
+
}
|
|
62072
|
+
});
|
|
62073
|
+
return changed ? root.toString() : imports;
|
|
62074
|
+
} catch {
|
|
62075
|
+
return imports;
|
|
62076
|
+
}
|
|
62077
|
+
}
|
|
62078
|
+
function restoreLocalCssImports(css, imports, options = {}) {
|
|
62189
62079
|
if (!imports?.trim()) return css;
|
|
62190
|
-
|
|
62080
|
+
const filteredImports = filterSelfOutputImports(imports, options.outputFile);
|
|
62081
|
+
if (!filteredImports.trim()) return css;
|
|
62082
|
+
return createCssSourceOrderAppend(filteredImports, css);
|
|
62191
62083
|
}
|
|
62192
62084
|
function splitRequestSuffix(request) {
|
|
62193
62085
|
const suffixIndexCandidates = [request.indexOf("?"), request.indexOf("#")].filter((index) => index >= 0);
|
|
@@ -63239,27 +63131,6 @@ function getFallbackRemove(_rule, options) {
|
|
|
63239
63131
|
return entry.parser;
|
|
63240
63132
|
}
|
|
63241
63133
|
//#endregion
|
|
63242
|
-
//#region src/shared.ts
|
|
63243
|
-
const escapeOptionsCache = /* @__PURE__ */ new WeakMap();
|
|
63244
|
-
function getEscapeOptions(escapeMap) {
|
|
63245
|
-
let cached = escapeOptionsCache.get(escapeMap);
|
|
63246
|
-
if (!cached) {
|
|
63247
|
-
cached = { map: escapeMap };
|
|
63248
|
-
escapeOptionsCache.set(escapeMap, cached);
|
|
63249
|
-
}
|
|
63250
|
-
return cached;
|
|
63251
|
-
}
|
|
63252
|
-
function internalCssSelectorReplacer(selectors, options) {
|
|
63253
|
-
const escapeMap = options?.escapeMap;
|
|
63254
|
-
if (escapeMap === void 0 || escapeMap === MappingChars2String) return escape(selectors);
|
|
63255
|
-
return escape(selectors, getEscapeOptions(escapeMap));
|
|
63256
|
-
}
|
|
63257
|
-
function composeIsPseudo(strs) {
|
|
63258
|
-
if (typeof strs === "string") return strs;
|
|
63259
|
-
if (strs.length > 1) return `:is(${strs.join(",")})`;
|
|
63260
|
-
return strs.join("");
|
|
63261
|
-
}
|
|
63262
|
-
//#endregion
|
|
63263
63134
|
//#region src/utils/decl-order.ts
|
|
63264
63135
|
/**
|
|
63265
63136
|
* 将同一规则内的声明重排,使字面量优先,带变量的声明靠后,保持各自相对顺序。
|
|
@@ -65067,4 +64938,4 @@ function containsCssAfterMinify(baseCss, css) {
|
|
|
65067
64938
|
return ruleKeys.size > 0 && [...ruleKeys].every((key) => baseRuleKeys.has(key));
|
|
65068
64939
|
}
|
|
65069
64940
|
//#endregion
|
|
65070
|
-
export { CSS_MACRO_POSTCSS_PLUGIN_NAME, CSS_MACRO_STYLE_OPTIONS_MARKER, FULL_SOURCE_SCAN_EXTENSIONS, FULL_SOURCE_SCAN_EXTENSION_RE, FULL_SOURCE_SCAN_PATTERN, analyzeTailwindCssDirectives, cleanLocalCssImportWrapperTailwindDirectives, cleanLocalCssImportWrapperTailwindDirectivesRoot, collectApplyOnlyCssSelectors, collectApplyOnlyCssSelectorsRoot, collectCssInlineSourceCandidates, compileCssMacroConditionalComments, containsCssAfterMinify, convertTailwindcssRpxDeclarationToRem, convertTailwindcssRpxDeclarationsToRem, convertTailwindcssRpxValueToRem, createCssSourceOrderAppend, createFallbackPlaceholderReplacer, createInjectPreflight, createSourceScanPattern, createStyleHandler, createStylePipeline, createTailwindSourceEntryMatcher, createWeappTailwindcssPostcssPlugin, creator as cssMacroPostcssPlugin, expandInlineSourceCandidatePattern, expandTailwindSourceEntries, filterApplyOnlyGeneratedCss, filterApplyOnlyGeneratedCssRoot, filterExistingCssRules, finalizeMiniProgramCss, getPostcssPluginName, hasCssMacroStyleOptions, hasCssMacroTailwindV4CustomVariantConditionalComments, hasCssMacroTailwindV4Directive, hasCssMacroTailwindV4InternalAtRules, hasCssMacroTailwindV4Source, hasMiniProgramCssSpecificityPlaceholders, hoistTailwindPreflightBase, internalCssSelectorReplacer, isFileExcludedByTailwindSourceEntries, isFileMatchedByTailwindSourceEntries, isLocalCssImportRequest, isPureLocalCssImportWrapper, isPureLocalCssImportWrapperRoot, isTailwindCssGenerationDirective, isTailwindCssImportAtRule, isTailwindCssImportRequest, isTailwindCssPackageJsonImportRequest, isWeappTailwindcssImportRequest, mergeCoveredCssRuleDeclarations, mergeMiniProgramPreflightRuleDeclarations, mergeMiniProgramThemeScopeRuleDeclarations, normalizeLegacyContentEntries, normalizeMiniProgramPrefixedDeclaration, normalizeModernColorValue, normalizeOutputImportRequest, normalizeTailwindCssImportRequest, normalizeTailwindcssRpxDeclaration, normalizeTailwindcssRpxDeclarations, normalizeTailwindcssWebRpxDeclarations, normalizeWebCssCompatOptions, parseConfigParam, parseSourceFileParam, parseTailwindCssConfigRequest, parseTailwindCssDirectiveRequest, postcss, postcssHtmlTransform, prefixLocalCssImportsWithWebpackIgnoreRoot, protectDynamicColorMixAlpha, pruneMiniProgramGeneratedCss, removeTailwindPostcssPlugins, removeTailwindSourceDirectivesRoot, removeUnsupportedAtSupports, removeUnsupportedCascadeLayers, removeUnsupportedMiniProgramAtRules, removeUnsupportedMiniProgramPrefixedAtRule, resolveCssSourceEntries, resolveFilteredPostcssConfig, resolveSourceScanPath, resolveTailwindSourceEntry, restoreLocalCssImports, rewriteLocalCssImportRequestsForOutput, rewriteLocalCssImportRequestsForOutputRoot, splitLocalCssImports, splitLocalCssImportsRoot, stripMiniProgramCssSpecificityPlaceholders, toPosixPath, transformCssMacroCss, transformCssMacroTailwindV4Source, transformWebCssCompat, unitConversionComposeRules, unitConversionPresets, unwrapUnsupportedCascadeLayers, withCssMacroStyleOptions };
|
|
64941
|
+
export { CSS_MACRO_POSTCSS_PLUGIN_NAME, CSS_MACRO_STYLE_OPTIONS_MARKER, FULL_SOURCE_SCAN_EXTENSIONS, FULL_SOURCE_SCAN_EXTENSION_RE, FULL_SOURCE_SCAN_PATTERN, analyzeTailwindCssDirectives, cleanLocalCssImportWrapperTailwindDirectives, cleanLocalCssImportWrapperTailwindDirectivesRoot, collectApplyOnlyCssSelectors, collectApplyOnlyCssSelectorsRoot, collectCssInlineSourceCandidates, compileCssMacroConditionalComments, containsCssAfterMinify, convertTailwindcssRpxDeclarationToRem, convertTailwindcssRpxDeclarationsToRem, convertTailwindcssRpxValueToRem, createCssSourceOrderAppend, createFallbackPlaceholderReplacer, createInjectPreflight, createSourceScanPattern, createStyleHandler, createStylePipeline, createTailwindSourceEntryMatcher, createWeappTailwindcssPostcssPlugin, creator as cssMacroPostcssPlugin, expandInlineSourceCandidatePattern, expandTailwindSourceEntries, filterApplyOnlyGeneratedCss, filterApplyOnlyGeneratedCssRoot, filterExistingCssRules, finalizeMiniProgramCss, getPostcssPluginName, hasCssMacroStyleOptions, hasCssMacroTailwindV4CustomVariantConditionalComments, hasCssMacroTailwindV4Directive, hasCssMacroTailwindV4InternalAtRules, hasCssMacroTailwindV4Source, hasMiniProgramCssSpecificityPlaceholders, hoistTailwindPreflightBase, internalCssSelectorReplacer, isFileExcludedByTailwindSourceEntries, isFileMatchedByTailwindSourceEntries, isLocalCssImportRequest, isPureLocalCssImportWrapper, isPureLocalCssImportWrapperRoot, isTailwindCssGenerationDirective, isTailwindCssImportAtRule, isTailwindCssImportRequest, isTailwindCssPackageJsonImportRequest, isWeappTailwindcssImportRequest, mergeCoveredCssRuleDeclarations, mergeMiniProgramPreflightRuleDeclarations, mergeMiniProgramThemeScopeRuleDeclarations, normalizeLegacyContentEntries, normalizeMiniProgramPrefixedDeclaration, normalizeModernColorValue, normalizeOutputImportRequest, normalizeTailwindCssImportRequest, normalizeTailwindcssRpxDeclaration, normalizeTailwindcssRpxDeclarations, normalizeTailwindcssWebRpxDeclarations, normalizeWebCssCompatOptions, parseConfigParam, parseSourceFileParam, parseTailwindCssConfigRequest, parseTailwindCssDirectiveRequest, postcss, postcssHtmlTransform, prefixLocalCssImportsWithWebpackIgnoreRoot, protectDynamicColorMixAlpha, pruneMiniProgramGeneratedCss, removeTailwindPostcssPlugins, removeTailwindSourceDirectivesRoot, removeUnsupportedAtSupports, removeUnsupportedCascadeLayers, removeUnsupportedMiniProgramAtRules, removeUnsupportedMiniProgramPrefixedAtRule, resolveCssSourceEntries, resolveFilteredPostcssConfig, resolveSourceScanPath, resolveTailwindSourceEntry, restoreLocalCssImports, rewriteLocalCssImportRequestsForOutput, rewriteLocalCssImportRequestsForOutputRoot, splitLocalCssImports, splitLocalCssImportsRoot, stripMiniProgramCssSpecificityPlaceholders, toPosixPath, transformCssMacroCss, transformCssMacroTailwindV4Source, transformWebCssCompat, transformWebCssSafeSelectors, unitConversionComposeRules, unitConversionPresets, unwrapUnsupportedCascadeLayers, withCssMacroStyleOptions };
|