@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/index.js CHANGED
@@ -11,6 +11,7 @@ postcss_value_parser = require_rolldown_runtime.__toESM(postcss_value_parser);
11
11
  let autoprefixer = require("autoprefixer");
12
12
  let autoprefixer$1 = require_rolldown_runtime.__toESM(autoprefixer, 1);
13
13
  autoprefixer = require_rolldown_runtime.__toESM(autoprefixer);
14
+ let _weapp_core_escape = require("@weapp-core/escape");
14
15
  let node_path = require("node:path");
15
16
  node_path = require_rolldown_runtime.__toESM(node_path);
16
17
  let node_process = require("node:process");
@@ -31,7 +32,6 @@ let postcss_rem_to_responsive_pixel = require("postcss-rem-to-responsive-pixel")
31
32
  postcss_rem_to_responsive_pixel = require_rolldown_runtime.__toESM(postcss_rem_to_responsive_pixel);
32
33
  let postcss_rule_unit_converter = require("postcss-rule-unit-converter");
33
34
  postcss_rule_unit_converter = require_rolldown_runtime.__toESM(postcss_rule_unit_converter);
34
- let _weapp_core_escape = require("@weapp-core/escape");
35
35
  let postcss_load_config = require("postcss-load-config");
36
36
  postcss_load_config = require_rolldown_runtime.__toESM(postcss_load_config);
37
37
  const MODERN_COLOR_FUNCTION_NAMES = /* @__PURE__ */ new Set([
@@ -40,6 +40,13 @@ const MODERN_COLOR_FUNCTION_NAMES = /* @__PURE__ */ new Set([
40
40
  "lch",
41
41
  "lab"
42
42
  ]);
43
+ const MODERN_COLOR_SYNTAX_FUNCTION_NAMES = /* @__PURE__ */ new Set([
44
+ "rgb",
45
+ "rgba",
46
+ "hsl",
47
+ "hsla",
48
+ "hwb"
49
+ ]);
43
50
  const PLACEHOLDER_PREFIX = "__weapp_tw_color_mix_";
44
51
  const DYNAMIC_ALPHA_RE = /\b(?:var|env)\(|--[\w-]+\b/;
45
52
  const INTERNAL_TAILWIND_ALPHA_RE = /var\(\s*--tw-[^)]+-alpha\s*\)/;
@@ -52,13 +59,21 @@ const CUSTOM_PROPERTY_RE = /^--[\w-]+$/;
52
59
  function isDisplayP3ColorFunction(colorSource) {
53
60
  return /^color\(\s*display-p3\b/i.test(colorSource.trim());
54
61
  }
62
+ function isModernColorSyntaxFunction(colorSource) {
63
+ const parsed = (0, postcss_value_parser.default)(colorSource.trim());
64
+ const node = parsed.nodes.length === 1 ? parsed.nodes[0] : void 0;
65
+ if (node?.type !== "function") return false;
66
+ const name = node.value.toLowerCase();
67
+ if (!MODERN_COLOR_SYNTAX_FUNCTION_NAMES.has(name)) return false;
68
+ return !node.nodes.some((child) => child.type === "div" && child.value === ",");
69
+ }
55
70
  function hasUnsupportedModernColorFunction(value) {
56
71
  const parsed = (0, postcss_value_parser.default)(value);
57
72
  let hasUnsupported = false;
58
73
  parsed.walk((node) => {
59
74
  if (node.type !== "function") return;
60
75
  const name = node.value.toLowerCase();
61
- if (name === "color-mix" || MODERN_COLOR_FUNCTION_NAMES.has(name) || name === "color" && isDisplayP3ColorFunction(postcss_value_parser.default.stringify(node))) {
76
+ if (name === "color-mix" || MODERN_COLOR_FUNCTION_NAMES.has(name) || name === "color" && isDisplayP3ColorFunction(postcss_value_parser.default.stringify(node)) || isModernColorSyntaxFunction(postcss_value_parser.default.stringify(node))) {
62
77
  hasUnsupported = true;
63
78
  return false;
64
79
  }
@@ -90,16 +105,16 @@ const e$38 = {
90
105
  UnexpectedCharacterInURL: "Unexpected character while consuming a url token.",
91
106
  InvalidEscapeSequenceInURL: "Invalid escape sequence while consuming a url token.",
92
107
  InvalidEscapeSequenceAfterBackslash: "Invalid escape sequence after \"\\\""
93
- }, n$13 = "undefined" != typeof globalThis && "structuredClone" in globalThis;
108
+ }, n$14 = "undefined" != typeof globalThis && "structuredClone" in globalThis;
94
109
  function cloneTokens(e) {
95
- return n$13 ? structuredClone(e) : JSON.parse(JSON.stringify(e));
110
+ return n$14 ? structuredClone(e) : JSON.parse(JSON.stringify(e));
96
111
  }
97
112
  function stringify$1(...e) {
98
113
  let n = "";
99
114
  for (let t = 0; t < e.length; t++) n += e[t][1];
100
115
  return n;
101
116
  }
102
- const t$19 = 13, o$27 = 45, r$12 = 10, i$12 = 43, s$17 = 65533;
117
+ const t$19 = 13, o$27 = 45, r$12 = 10, i$12 = 43, s$18 = 65533;
103
118
  function checkIfFourCodePointsWouldStartCDO(e) {
104
119
  return 60 === e.source.codePointAt(e.cursor) && 33 === e.source.codePointAt(e.cursor + 1) && e.source.codePointAt(e.cursor + 2) === o$27 && e.source.codePointAt(e.cursor + 3) === o$27;
105
120
  }
@@ -241,22 +256,22 @@ function consumeComment$1(n, t) {
241
256
  }
242
257
  function consumeEscapedCodePoint(n, o) {
243
258
  const i = o.readCodePoint();
244
- if (void 0 === i) return n.onParseError(new ParseError$1(e$38.UnexpectedEOFInEscapedCodePoint, o.representationStart, o.representationEnd, ["4.3.7. Consume an escaped code point", "Unexpected EOF"])), s$17;
259
+ if (void 0 === i) return n.onParseError(new ParseError$1(e$38.UnexpectedEOFInEscapedCodePoint, o.representationStart, o.representationEnd, ["4.3.7. Consume an escaped code point", "Unexpected EOF"])), s$18;
245
260
  if (isHexDigitCodePoint(i)) {
246
261
  const e = [i];
247
262
  let n;
248
263
  for (; void 0 !== (n = o.source.codePointAt(o.cursor)) && isHexDigitCodePoint(n) && e.length < 6;) e.push(n), o.advanceCodePoint();
249
264
  isWhitespace(o.source.codePointAt(o.cursor) ?? -1) && (o.source.codePointAt(o.cursor) === t$19 && o.source.codePointAt(o.cursor + 1) === r$12 && o.advanceCodePoint(), o.advanceCodePoint());
250
265
  const c = parseInt(String.fromCodePoint(...e), 16);
251
- return 0 === c || isSurrogate(c) || c > 1114111 ? s$17 : c;
266
+ return 0 === c || isSurrogate(c) || c > 1114111 ? s$18 : c;
252
267
  }
253
- return 0 === i || isSurrogate(i) ? s$17 : i;
268
+ return 0 === i || isSurrogate(i) ? s$18 : i;
254
269
  }
255
270
  function consumeIdentSequence(e, n) {
256
271
  const t = [];
257
272
  for (;;) {
258
273
  const o = n.source.codePointAt(n.cursor) ?? -1;
259
- if (0 === o || isSurrogate(o)) t.push(s$17), n.advanceCodePoint(+(o > 65535) + 1);
274
+ if (0 === o || isSurrogate(o)) t.push(s$18), n.advanceCodePoint(+(o > 65535) + 1);
260
275
  else if (isIdentCodePoint(o)) t.push(o), n.advanceCodePoint(+(o > 65535) + 1);
261
276
  else {
262
277
  if (!checkIfTwoCodePointsAreAValidEscape(n)) return t;
@@ -419,7 +434,7 @@ function consumeStringToken(n, o) {
419
434
  o.representationEnd,
420
435
  { value: i }
421
436
  ];
422
- if (92 !== u) 0 === u || isSurrogate(u) ? i += String.fromCodePoint(s$17) : i += String.fromCodePoint(u);
437
+ if (92 !== u) 0 === u || isSurrogate(u) ? i += String.fromCodePoint(s$18) : i += String.fromCodePoint(u);
423
438
  else {
424
439
  if (void 0 === o.source.codePointAt(o.cursor)) continue;
425
440
  if (isNewLine(o.source.codePointAt(o.cursor) ?? -1)) {
@@ -523,7 +538,7 @@ function consumeUrlToken(n, t) {
523
538
  "The input stream does not start with a valid escape sequence"
524
539
  ], r)), r;
525
540
  }
526
- 0 === t.source.codePointAt(t.cursor) || isSurrogate(t.source.codePointAt(t.cursor) ?? -1) ? (o += String.fromCodePoint(s$17), t.advanceCodePoint()) : (o += t.source[t.cursor], t.advanceCodePoint());
541
+ 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());
527
542
  }
528
543
  }
529
544
  function consumeIdentLikeToken(e, n) {
@@ -791,14 +806,14 @@ function mutateUnit(e, n) {
791
806
  }
792
807
  function serializeIdent(e) {
793
808
  let n = 0;
794
- if (0 === e[0]) e.splice(0, 1, s$17), n = 1;
809
+ if (0 === e[0]) e.splice(0, 1, s$18), n = 1;
795
810
  else if (e[0] === o$27 && e[1] === o$27) n = 2;
796
811
  else if (e[0] === o$27 && e[1]) n = 2, isIdentStartCodePoint(e[1]) || (n += insertEscapedCodePoint(e, 1, e[1]));
797
812
  else {
798
813
  if (e[0] === o$27 && !e[1]) return [92, e[0]];
799
814
  isIdentStartCodePoint(e[0]) ? n = 1 : (n = 1, n += insertEscapedCodePoint(e, 0, e[0]));
800
815
  }
801
- 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$17), t++);
816
+ 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++);
802
817
  return e;
803
818
  }
804
819
  function insertEscapedCharacter(e, n, t) {
@@ -809,9 +824,9 @@ function insertEscapedCodePoint(e, n, t) {
809
824
  for (const e of o) r.push(e.codePointAt(0));
810
825
  return e.splice(n, 1, 92, ...r, 32), 1 + r.length;
811
826
  }
812
- const d$3 = Object.values(c$7);
827
+ const d$2 = Object.values(c$7);
813
828
  function isToken(e) {
814
- return !!Array.isArray(e) && !(e.length < 4) && !!d$3.includes(e[0]) && "string" == typeof e[1] && "number" == typeof e[2] && "number" == typeof e[3];
829
+ return !!Array.isArray(e) && !(e.length < 4) && !!d$2.includes(e[0]) && "string" == typeof e[1] && "number" == typeof e[2] && "number" == typeof e[3];
815
830
  }
816
831
  function isTokenNumeric(e) {
817
832
  if (!e) return !1;
@@ -1006,7 +1021,7 @@ function HSL_to_sRGB_channel(_, t, n, o) {
1006
1021
  n
1007
1022
  ];
1008
1023
  }
1009
- const n$12 = [
1024
+ const n$13 = [
1010
1025
  .3457 / .3585,
1011
1026
  1,
1012
1027
  .2958 / .3585
@@ -1019,9 +1034,9 @@ const n$12 = [
1019
1034
  */ function Lab_to_XYZ(_) {
1020
1035
  const t = 24389 / 27, o = 216 / 24389, e = (_[0] + 16) / 116, r = _[1] / 500 + e, a = e - _[2] / 200;
1021
1036
  return [
1022
- (Math.pow(r, 3) > o ? Math.pow(r, 3) : (116 * r - 16) / t) * n$12[0],
1023
- (_[0] > 8 ? Math.pow((_[0] + 16) / 116, 3) : _[0] / t) * n$12[1],
1024
- (Math.pow(a, 3) > o ? Math.pow(a, 3) : (116 * a - 16) / t) * n$12[2]
1037
+ (Math.pow(r, 3) > o ? Math.pow(r, 3) : (116 * r - 16) / t) * n$13[0],
1038
+ (_[0] > 8 ? Math.pow((_[0] + 16) / 116, 3) : _[0] / t) * n$13[1],
1039
+ (Math.pow(a, 3) > o ? Math.pow(a, 3) : (116 * a - 16) / t) * n$13[2]
1025
1040
  ];
1026
1041
  }
1027
1042
  /**
@@ -1092,11 +1107,11 @@ function OKLab_to_XYZ(_) {
1092
1107
  * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
1093
1108
  * @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).
1094
1109
  */ function XYZ_to_Lab(_) {
1095
- const t = compute_f(_[0] / n$12[0]), o = compute_f(_[1] / n$12[1]);
1110
+ const t = compute_f(_[0] / n$13[0]), o = compute_f(_[1] / n$13[1]);
1096
1111
  return [
1097
1112
  116 * o - 16,
1098
1113
  500 * (t - o),
1099
- 200 * (o - compute_f(_[2] / n$12[2]))
1114
+ 200 * (o - compute_f(_[2] / n$13[2]))
1100
1115
  ];
1101
1116
  }
1102
1117
  const r$11 = 216 / 24389, a$7 = 24389 / 27;
@@ -1177,7 +1192,7 @@ const c$6 = [
1177
1192
  */ function XYZ_to_lin_P3(_) {
1178
1193
  return multiplyMatrices(c$6, _);
1179
1194
  }
1180
- const s$16 = [
1195
+ const s$17 = [
1181
1196
  1.3457868816471583,
1182
1197
  -.25557208737979464,
1183
1198
  -.05110186497554526,
@@ -1195,7 +1210,7 @@ const s$16 = [
1195
1210
  * @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).
1196
1211
  * @see http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html
1197
1212
  */ function XYZ_to_lin_ProPhoto(_) {
1198
- return multiplyMatrices(s$16, _);
1213
+ return multiplyMatrices(s$17, _);
1199
1214
  }
1200
1215
  const X = [
1201
1216
  1829569 / 896150,
@@ -6885,7 +6900,7 @@ function normalizeModernColorValue(value, customPropertyValues = /* @__PURE__ */
6885
6900
  const name = node.value.toLowerCase();
6886
6901
  const source = postcss_value_parser.default.stringify(node);
6887
6902
  let normalized;
6888
- if (MODERN_COLOR_FUNCTION_NAMES.has(name) || name === "color" && isDisplayP3ColorFunction(source)) normalized = normalizeStandaloneColorFunction(source);
6903
+ if (MODERN_COLOR_FUNCTION_NAMES.has(name) || name === "color" && isDisplayP3ColorFunction(source) || isModernColorSyntaxFunction(source)) normalized = normalizeStandaloneColorFunction(source);
6889
6904
  else if (name === "color-mix") normalized = tryResolveColorMix(node, customPropertyValues)?.value;
6890
6905
  if (!normalized) return;
6891
6906
  const mutableNode = node;
@@ -7269,10 +7284,9 @@ function createCssVarNodes(definitions) {
7269
7284
  }
7270
7285
  //#endregion
7271
7286
  //#region src/compat/tailwindcss-v4.ts
7272
- const OKLAB_SUFFIX = "in oklab";
7273
- const INFINITY_CALC_REGEXP = /calc\(\s*infinity\s*\*\s*(?:\d+(?:\.\d*)?|\.\d+)r?px/;
7274
7287
  const RADIUS_THRESHOLD = 1e5;
7275
7288
  const CLAMP_PX = 9999;
7289
+ const INFINITY_CALC_VALUE_REGEXP = /^calc\(\s*infinity\s*\*\s*(?:\d+(?:\.\d*)?|\.\d+)r?px\s*\)$/i;
7276
7290
  const MODERN_CHECK_WEBKIT_HYPHENS_RE = /-webkit-hyphens\s*:\s*none/;
7277
7291
  const MODERN_CHECK_MARGIN_TRIM_RE = /margin-trim\s*:\s*inline/;
7278
7292
  const MODERN_CHECK_MOZ_ORIENT_RE = /-moz-orient\s*:\s*inline/;
@@ -7410,6 +7424,9 @@ function normalizeDeclarationValue(value) {
7410
7424
  function normalizeTailwindcssV4GradientPosition(value) {
7411
7425
  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();
7412
7426
  }
7427
+ function normalizeTailwindcssV4InfinityCalcValue(value) {
7428
+ return INFINITY_CALC_VALUE_REGEXP.test(value.trim()) ? `${CLAMP_PX}px` : value;
7429
+ }
7413
7430
  function normalizeTailwindcssV4GradientDirectionDeclaration(rule, decl) {
7414
7431
  const normalized = normalizeTailwindcssV4GradientPosition(decl.value);
7415
7432
  if (normalized) return normalized;
@@ -7454,6 +7471,7 @@ function reorderTailwindcssV4GradientDirectionRule(rule) {
7454
7471
  else if (node.prop === "background-image" && node.value.includes("linear-gradient(")) gradientBackgroundDecls.push(node);
7455
7472
  }
7456
7473
  if (gradientPositionDecls.length === 0 || gradientBackgroundDecls.length === 0) return;
7474
+ for (const decl of gradientPositionDecls) decl.value = normalizeTailwindcssV4GradientDirectionDeclaration(rule, decl);
7457
7475
  const anchor = rule.nodes.find((node) => {
7458
7476
  return node.type === "decl" && (node.prop === "--tw-gradient-position" || node.prop === "background-image" && node.value.includes("linear-gradient("));
7459
7477
  });
@@ -7467,6 +7485,9 @@ function mergeTailwindcssV4GradientDirectionRules(root) {
7467
7485
  const seen = /* @__PURE__ */ new Map();
7468
7486
  root.walkRules((rule) => {
7469
7487
  if (!isTailwindcssV4GradientDirectionRule(rule)) return;
7488
+ rule.walkDecls("--tw-gradient-position", (decl) => {
7489
+ decl.value = normalizeTailwindcssV4GradientDirectionDeclaration(rule, decl);
7490
+ });
7470
7491
  const selector = rule.selector.trim();
7471
7492
  const previous = seen.get(selector);
7472
7493
  if (!previous || previous.parent !== rule.parent) {
@@ -7757,12 +7778,16 @@ function normalizeTailwindcssV4Declaration(decl) {
7757
7778
  decl.value = normalizedGradientPositionFallback;
7758
7779
  changed = true;
7759
7780
  }
7760
- if (decl.prop === "--tw-gradient-position" && decl.value.endsWith(OKLAB_SUFFIX)) {
7761
- decl.value = decl.parent?.type === "rule" ? normalizeTailwindcssV4GradientDirectionDeclaration(decl.parent, decl) : normalizeTailwindcssV4GradientPosition(decl.value);
7762
- return true;
7781
+ if (decl.prop === "--tw-gradient-position") {
7782
+ const nextValue = decl.parent?.type === "rule" ? normalizeTailwindcssV4GradientDirectionDeclaration(decl.parent, decl) : normalizeTailwindcssV4GradientPosition(decl.value);
7783
+ if (nextValue !== decl.value) {
7784
+ decl.value = nextValue;
7785
+ return true;
7786
+ }
7763
7787
  }
7764
- if (INFINITY_CALC_REGEXP.test(decl.value)) {
7765
- decl.value = `${CLAMP_PX}px`;
7788
+ const normalizedInfinityCalcValue = normalizeTailwindcssV4InfinityCalcValue(decl.value);
7789
+ if (normalizedInfinityCalcValue !== decl.value) {
7790
+ decl.value = normalizedInfinityCalcValue;
7766
7791
  return true;
7767
7792
  }
7768
7793
  if (decl.prop.includes("radius")) {
@@ -8122,23 +8147,31 @@ function mergeEquivalentHoistedRules(rules) {
8122
8147
  const MINI_PROGRAM_PSEUDO_CONTENT_SELECTORS = /* @__PURE__ */ new Set(["::before", "::after"]);
8123
8148
  function applyConfiguredPreflightDeclarations(rule, cssPreflight) {
8124
8149
  if (!cssPreflight || typeof cssPreflight !== "object") return;
8125
- const configuredProps = new Set(Object.keys(cssPreflight));
8126
- rule.walkDecls((decl) => {
8127
- if (!configuredProps.has(decl.prop)) return;
8128
- const value = cssPreflight[decl.prop];
8129
- if (value === false) {
8130
- decl.remove();
8131
- return;
8150
+ const configuredNodes = [];
8151
+ const remainingNodes = [];
8152
+ const remainingDeclarations = /* @__PURE__ */ new Map();
8153
+ for (const node of rule.nodes ?? []) {
8154
+ if (node.type !== "decl") {
8155
+ remainingNodes.push(node);
8156
+ continue;
8132
8157
  }
8133
- decl.value = value.toString();
8134
- });
8158
+ if (Object.hasOwn(cssPreflight, node.prop)) {
8159
+ remainingDeclarations.set(node.prop, node);
8160
+ continue;
8161
+ }
8162
+ remainingNodes.push(node);
8163
+ }
8135
8164
  for (const [prop, value] of Object.entries(cssPreflight)) {
8136
- if (value === false || rule.nodes?.some((node) => node.type === "decl" && node.prop === prop)) continue;
8137
- rule.append({
8165
+ if (value === false) continue;
8166
+ const declaration = remainingDeclarations.get(prop)?.clone() ?? postcss.default.decl({
8138
8167
  prop,
8139
8168
  value: value.toString()
8140
8169
  });
8170
+ declaration.value = value.toString();
8171
+ configuredNodes.push(declaration);
8141
8172
  }
8173
+ rule.removeAll();
8174
+ rule.append([...configuredNodes, ...remainingNodes]);
8142
8175
  }
8143
8176
  function collectTailwindRuntimeDeclarations(rule) {
8144
8177
  const declarations = [];
@@ -40521,7 +40554,7 @@ var require_browserslist = /* @__PURE__ */ require_rolldown_runtime.__commonJSMi
40521
40554
  module.exports = browserslist;
40522
40555
  }));
40523
40556
  //#endregion
40524
- //#region ../../node_modules/.pnpm/@csstools+postcss-initial@3.0.0_postcss@8.5.15/node_modules/@csstools/postcss-initial/dist/index.mjs
40557
+ //#region ../../node_modules/.pnpm/@csstools+postcss-initial@3.0.0_postcss@8.5.16/node_modules/@csstools/postcss-initial/dist/index.mjs
40525
40558
  var import_browserslist = /* @__PURE__ */ require_rolldown_runtime.__toESM(require_browserslist(), 1);
40526
40559
  const o$25 = /* @__PURE__ */ new Map([
40527
40560
  ["animation", "none 0s ease 0s 1 normal none running"],
@@ -40765,7 +40798,7 @@ function hasExactFallback(o, t) {
40765
40798
  }
40766
40799
  return !1;
40767
40800
  }
40768
- const e$36 = /^\s?initial\s?$/i, n$11 = /^font$/i, r$10 = /^all$/i, i$10 = [
40801
+ const e$36 = /^\s?initial\s?$/i, n$12 = /^font$/i, r$10 = /^all$/i, i$10 = [
40769
40802
  "font-family",
40770
40803
  "font-size",
40771
40804
  "font-style",
@@ -40781,7 +40814,7 @@ const e$36 = /^\s?initial\s?$/i, n$11 = /^font$/i, r$10 = /^all$/i, i$10 = [
40781
40814
  if (a.variable) return;
40782
40815
  if (!e$36.test(a.value)) return;
40783
40816
  let s;
40784
- s = n$11.test(a.prop) ? i$10 : r$10.test(a.prop) ? t$17 : [a.prop.toLowerCase()];
40817
+ s = n$12.test(a.prop) ? i$10 : r$10.test(a.prop) ? t$17 : [a.prop.toLowerCase()];
40785
40818
  let c = !1;
40786
40819
  s.forEach((t) => {
40787
40820
  const e = o$25.get(t);
@@ -40795,8 +40828,8 @@ const e$36 = /^\s?initial\s?$/i, n$11 = /^font$/i, r$10 = /^all$/i, i$10 = [
40795
40828
  };
40796
40829
  creator$52.postcss = !0;
40797
40830
  //#endregion
40798
- //#region ../../node_modules/.pnpm/@csstools+postcss-progressive-custom-properties@5.1.0_postcss@8.5.15/node_modules/@csstools/postcss-progressive-custom-properties/dist/index.mjs
40799
- const a$6 = [
40831
+ //#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
40832
+ const r$9 = [
40800
40833
  "at",
40801
40834
  "bottom",
40802
40835
  "center",
@@ -40814,59 +40847,59 @@ const a$6 = [
40814
40847
  "top"
40815
40848
  ];
40816
40849
  function doublePositionGradients(e) {
40817
- const p = [], r = e.value.toLowerCase();
40818
- if ("function" === e.type && ("conic-gradient" === r || "linear-gradient" === r || "radial-gradient" === r || "repeating-conic-gradient" === r || "repeating-linear-gradient" === r || "repeating-radial-gradient" === r)) {
40819
- let r = 0, t = !1, i = !1;
40820
- e: for (let o = 0; o < e.nodes.length; o++) {
40821
- const s = e.nodes[o];
40822
- if ("word" === s.type && a$6.includes(s.value.toLowerCase()) && (t = !0), "div" !== s.type || "," !== s.value.trim()) if ("word" !== s.type || "in" !== s.value.toLowerCase()) {
40823
- if ("word" !== s.type && "function" !== s.type || r++, i) switch (e.value.toLowerCase()) {
40850
+ const t = [], o = e.value.toLowerCase();
40851
+ 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)) {
40852
+ let o = 0, a = !1, i = !1;
40853
+ e: for (let s = 0; s < e.nodes.length; s++) {
40854
+ const n = e.nodes[s];
40855
+ if ("word" === n.type && r$9.includes(n.value.toLowerCase()) && (a = !0), "div" !== n.type || "," !== n.value.trim()) if ("word" !== n.type || "in" !== n.value.toLowerCase()) {
40856
+ if ("word" !== n.type && "function" !== n.type || o++, i) switch (e.value.toLowerCase()) {
40824
40857
  case "conic-gradient":
40825
- p.push("(background: conic-gradient(in oklch, red 0deg, red 0deg 1deg, red 2deg))");
40858
+ t.push("(background: conic-gradient(in oklch, red 0deg, red 0deg 1deg, red 2deg))");
40826
40859
  break e;
40827
40860
  case "linear-gradient":
40828
- p.push("(background: linear-gradient(in oklch, red 0%, red 0% 1%, red 2%))");
40861
+ t.push("(background: linear-gradient(in oklch, red 0%, red 0% 1%, red 2%))");
40829
40862
  break e;
40830
40863
  case "radial-gradient":
40831
- p.push("(background: radial-gradient(in oklch, red, red 1px 2px, red 3px))");
40864
+ t.push("(background: radial-gradient(in oklch, red, red 1px 2px, red 3px))");
40832
40865
  break e;
40833
40866
  case "repeating-conic-gradient":
40834
- p.push("(background: repeating-conic-gradient(in oklch from 0deg, red 0deg, red 0deg 1deg, red 2deg))");
40867
+ t.push("(background: repeating-conic-gradient(in oklch from 0deg, red 0deg, red 0deg 1deg, red 2deg))");
40835
40868
  break e;
40836
40869
  case "repeating-linear-gradient":
40837
- p.push("(background: repeating-linear-gradient(in oklch, red 0%, red 0% 1%, red 2%))");
40870
+ t.push("(background: repeating-linear-gradient(in oklch, red 0%, red 0% 1%, red 2%))");
40838
40871
  break e;
40839
40872
  case "repeating-radial-gradient":
40840
- p.push("(background: repeating-radial-gradient(in oklch, red, red 1px 2px, red 3px))");
40873
+ t.push("(background: repeating-radial-gradient(in oklch, red, red 1px 2px, red 3px))");
40841
40874
  break e;
40842
40875
  }
40843
- if (!t && 3 === r) switch (e.value.toLowerCase()) {
40876
+ if (!a && 3 === o) switch (e.value.toLowerCase()) {
40844
40877
  case "conic-gradient":
40845
- p.push("(background: conic-gradient(red 0deg, red 0deg 1deg, red 2deg))");
40878
+ t.push("(background: conic-gradient(red 0deg, red 0deg 1deg, red 2deg))");
40846
40879
  break e;
40847
40880
  case "linear-gradient":
40848
- p.push("(background: linear-gradient(red 0%, red 0% 1%, red 2%))");
40881
+ t.push("(background: linear-gradient(red 0%, red 0% 1%, red 2%))");
40849
40882
  break e;
40850
40883
  case "radial-gradient":
40851
- p.push("(background: radial-gradient(red, red 1px 2px, red 3px))");
40884
+ t.push("(background: radial-gradient(red, red 1px 2px, red 3px))");
40852
40885
  break e;
40853
40886
  case "repeating-conic-gradient":
40854
- p.push("(background: repeating-conic-gradient(from 0deg, red 0deg, red 0deg 1deg, red 2deg))");
40887
+ t.push("(background: repeating-conic-gradient(from 0deg, red 0deg, red 0deg 1deg, red 2deg))");
40855
40888
  break e;
40856
40889
  case "repeating-linear-gradient":
40857
- p.push("(background: repeating-linear-gradient(red 0%, red 0% 1%, red 2%))");
40890
+ t.push("(background: repeating-linear-gradient(red 0%, red 0% 1%, red 2%))");
40858
40891
  break e;
40859
40892
  case "repeating-radial-gradient":
40860
- p.push("(background: repeating-radial-gradient(red, red 1px 2px, red 3px))");
40893
+ t.push("(background: repeating-radial-gradient(red, red 1px 2px, red 3px))");
40861
40894
  break e;
40862
40895
  }
40863
40896
  } else i = !0;
40864
- else r = 0, t = !1;
40897
+ else o = 0, a = !1;
40865
40898
  }
40866
40899
  }
40867
- return p;
40900
+ return t;
40868
40901
  }
40869
- const p$3 = [
40902
+ const t$16 = [
40870
40903
  {
40871
40904
  supports: "color-mix(in display-p3-linear, red, blue)",
40872
40905
  property: "color",
@@ -43732,93 +43765,815 @@ const p$3 = [
43732
43765
  }]
43733
43766
  }
43734
43767
  ];
43735
- function matches(e, a) {
43736
- if (e.isVariable && a && ("word" === a.type || "string" === a.type || "function" === a.type)) return !0;
43737
- if (e.type !== a.type) return !1;
43738
- if (doesNotMatchValue(e, a)) return !1;
43739
- if (e.nodes && a.nodes) {
43740
- for (let p = 0; p < Math.max(e.nodes.length, a.nodes.length); p++) {
43741
- let r = p, t = p;
43742
- for (; e.nodes[r] && "space" === e.nodes[r].type;) r++;
43743
- for (; a.nodes[t] && "space" === a.nodes[t].type;) t++;
43744
- if (!!e.nodes[r] != !!a.nodes[t]) return !1;
43745
- if (e.nodes[r].anyRemainingArguments && a.nodes[t]) return !0;
43746
- if (!matches(e.nodes[r], a.nodes[t])) return !1;
43768
+ function matches(e, r) {
43769
+ if (e.isVariable && r && ("word" === r.type || "string" === r.type || "function" === r.type)) return !0;
43770
+ if (e.type !== r.type) return !1;
43771
+ if (doesNotMatchValue(e, r)) return !1;
43772
+ if (e.nodes && r.nodes) {
43773
+ for (let t = 0; t < Math.max(e.nodes.length, r.nodes.length); t++) {
43774
+ let o = t, a = t;
43775
+ for (; e.nodes[o] && "space" === e.nodes[o].type;) o++;
43776
+ for (; r.nodes[a] && "space" === r.nodes[a].type;) a++;
43777
+ if (!!e.nodes[o] != !!r.nodes[a]) return !1;
43778
+ if (e.nodes[o].anyRemainingArguments && r.nodes[a]) return !0;
43779
+ if (!matches(e.nodes[o], r.nodes[a])) return !1;
43747
43780
  }
43748
43781
  return !0;
43749
43782
  }
43750
43783
  return !0;
43751
43784
  }
43752
- function doesNotMatchValue(e, a) {
43753
- return ("space" !== e.type || "space" !== a.type || e.value?.trim() !== a.value?.trim()) && (e.dimension && a.dimension ? e.dimension.unit !== a.dimension.unit : "string" === e.type ? e.value !== a.value : e.value?.toLowerCase() !== a.value?.toLowerCase());
43785
+ function doesNotMatchValue(e, r) {
43786
+ 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());
43754
43787
  }
43755
- const r$9 = /^var$/i;
43756
- function conditionsFromValue(a, t = !1) {
43757
- const i = a.value, o = [], s = p$3.filter((e) => i.includes(e.sniff) && (e.only_on_property ?? a.prop) === a.prop);
43758
- let y = !1;
43788
+ const o$24 = /^var$/i;
43789
+ function conditionsFromValue(r, a = !1) {
43790
+ const i = r.value, s = [], n = t$16.filter((e) => i.includes(e.sniff) && (e.only_on_property ?? r.prop) === r.prop);
43791
+ let p = !1;
43759
43792
  try {
43760
- (0, postcss_value_parser$1.default)(i).walk((a) => {
43761
- "function" === a.type && r$9.test(a.value) && (y = !0);
43793
+ (0, postcss_value_parser$1.default)(i).walk((r) => {
43794
+ "function" === r.type && o$24.test(r.value) && (p = !0);
43762
43795
  try {
43763
- const p = postcss_value_parser$1.default.unit(a.value);
43764
- !1 !== p && (a.dimension = p);
43796
+ const t = postcss_value_parser$1.default.unit(r.value);
43797
+ !1 !== t && (r.dimension = t);
43765
43798
  } catch {}
43766
- for (let e = 0; e < s.length; e++) {
43767
- const p = s[e];
43768
- for (let e = 0; e < p.matchers.length; e++) if (matches(p.matchers[e], a)) return void o.push(`(${p.property}: ${p.supports})`);
43799
+ for (let e = 0; e < n.length; e++) {
43800
+ const t = n[e];
43801
+ for (let e = 0; e < t.matchers.length; e++) if (matches(t.matchers[e], r)) return void s.push(`(${t.property}: ${t.supports})`);
43769
43802
  }
43770
- o.push(...doublePositionGradients(a));
43803
+ s.push(...doublePositionGradients(r));
43771
43804
  });
43772
43805
  } catch {}
43773
- return t && !y ? { support: [] } : { support: Array.from(new Set(o)).sort() };
43806
+ return a && !p ? { support: [] } : { support: Array.from(new Set(s)).sort() };
43807
+ }
43808
+ const a$6 = /* @__PURE__ */ new Map([
43809
+ ["animation", [
43810
+ "animation-name",
43811
+ "animation-duration",
43812
+ "animation-timing-function",
43813
+ "animation-delay",
43814
+ "animation-iteration-count",
43815
+ "animation-direction",
43816
+ "animation-fill-mode",
43817
+ "animation-play-state",
43818
+ "animation-timeline",
43819
+ "animation-range",
43820
+ "animation-trigger",
43821
+ "animation-range-start",
43822
+ "animation-range-end"
43823
+ ]],
43824
+ ["animation-range", ["animation-range-start", "animation-range-end"]],
43825
+ ["background", [
43826
+ "background-image",
43827
+ "background-position",
43828
+ "background-size",
43829
+ "background-repeat",
43830
+ "background-attachment",
43831
+ "background-origin",
43832
+ "background-clip",
43833
+ "background-color",
43834
+ "background-blend-mode",
43835
+ "background-repeat-block",
43836
+ "background-repeat-inline",
43837
+ "background-repeat-x",
43838
+ "background-repeat-y",
43839
+ "background-position-x",
43840
+ "background-position-y",
43841
+ "background-position-block",
43842
+ "background-position-inline"
43843
+ ]],
43844
+ ["background-position", [
43845
+ "background-position-x",
43846
+ "background-position-y",
43847
+ "background-position-block",
43848
+ "background-position-inline"
43849
+ ]],
43850
+ ["background-repeat", [
43851
+ "background-repeat-block",
43852
+ "background-repeat-inline",
43853
+ "background-repeat-x",
43854
+ "background-repeat-y"
43855
+ ]],
43856
+ ["size", [
43857
+ "block-size",
43858
+ "height",
43859
+ "inline-size",
43860
+ "width"
43861
+ ]],
43862
+ ["block-step", [
43863
+ "block-step-size",
43864
+ "block-step-insert",
43865
+ "block-step-align",
43866
+ "block-step-round"
43867
+ ]],
43868
+ ["border", [
43869
+ "border-width",
43870
+ "border-style",
43871
+ "border-color",
43872
+ "border-image",
43873
+ "border-image-source",
43874
+ "border-image-slice",
43875
+ "border-image-width",
43876
+ "border-image-outset",
43877
+ "border-image-repeat",
43878
+ "border-block-end-color",
43879
+ "border-block-start-color",
43880
+ "border-bottom-color",
43881
+ "border-top-color",
43882
+ "border-right-color",
43883
+ "border-left-color",
43884
+ "border-inline-end-color",
43885
+ "border-inline-start-color",
43886
+ "border-block-end-style",
43887
+ "border-block-start-style",
43888
+ "border-bottom-style",
43889
+ "border-inline-end-style",
43890
+ "border-inline-start-style",
43891
+ "border-left-style",
43892
+ "border-right-style",
43893
+ "border-top-style",
43894
+ "border-block-end-width",
43895
+ "border-block-start-width",
43896
+ "border-bottom-width",
43897
+ "border-inline-end-width",
43898
+ "border-inline-start-width",
43899
+ "border-left-width",
43900
+ "border-right-width",
43901
+ "border-top-width"
43902
+ ]],
43903
+ ["border-block", [
43904
+ "border-block-start",
43905
+ "border-block-end",
43906
+ "border-block-end-width",
43907
+ "border-block-end-style",
43908
+ "border-block-end-color",
43909
+ "border-block-start-width",
43910
+ "border-block-start-style",
43911
+ "border-block-start-color"
43912
+ ]],
43913
+ ["border-block-clip", ["border-block-start-clip", "border-block-end-clip"]],
43914
+ ["border-block-color", ["border-block-start-color", "border-block-end-color"]],
43915
+ ["border-block-end", [
43916
+ "border-block-end-width",
43917
+ "border-block-end-style",
43918
+ "border-block-end-color"
43919
+ ]],
43920
+ ["border-clip", [
43921
+ "border-block-end-clip",
43922
+ "border-block-start-clip",
43923
+ "border-bottom-clip",
43924
+ "border-top-clip",
43925
+ "border-right-clip",
43926
+ "border-left-clip",
43927
+ "border-inline-end-clip",
43928
+ "border-inline-start-clip"
43929
+ ]],
43930
+ ["border-color", [
43931
+ "border-block-end-color",
43932
+ "border-block-start-color",
43933
+ "border-bottom-color",
43934
+ "border-top-color",
43935
+ "border-right-color",
43936
+ "border-left-color",
43937
+ "border-inline-end-color",
43938
+ "border-inline-start-color"
43939
+ ]],
43940
+ ["border-block-end-radius", ["border-end-start-radius", "border-end-end-radius"]],
43941
+ ["border-style", [
43942
+ "border-block-end-style",
43943
+ "border-block-start-style",
43944
+ "border-bottom-style",
43945
+ "border-inline-end-style",
43946
+ "border-inline-start-style",
43947
+ "border-left-style",
43948
+ "border-right-style",
43949
+ "border-top-style"
43950
+ ]],
43951
+ ["border-width", [
43952
+ "border-block-end-width",
43953
+ "border-block-start-width",
43954
+ "border-bottom-width",
43955
+ "border-inline-end-width",
43956
+ "border-inline-start-width",
43957
+ "border-left-width",
43958
+ "border-right-width",
43959
+ "border-top-width"
43960
+ ]],
43961
+ ["border-block-start", [
43962
+ "border-block-start-width",
43963
+ "border-block-start-style",
43964
+ "border-block-start-color"
43965
+ ]],
43966
+ ["border-block-start-radius", ["border-start-start-radius", "border-start-end-radius"]],
43967
+ ["border-block-style", ["border-block-start-style", "border-block-end-style"]],
43968
+ ["border-block-width", ["border-block-start-width", "border-block-end-width"]],
43969
+ ["border-bottom", [
43970
+ "border-bottom-width",
43971
+ "border-bottom-style",
43972
+ "border-bottom-color"
43973
+ ]],
43974
+ ["border-radius", [
43975
+ "border-bottom-left-radius",
43976
+ "border-bottom-right-radius",
43977
+ "border-end-end-radius",
43978
+ "border-end-start-radius",
43979
+ "border-top-left-radius",
43980
+ "border-top-right-radius",
43981
+ "border-start-end-radius",
43982
+ "border-start-start-radius"
43983
+ ]],
43984
+ ["border-bottom-radius", ["border-bottom-left-radius", "border-bottom-right-radius"]],
43985
+ ["border-image", [
43986
+ "border-image-source",
43987
+ "border-image-slice",
43988
+ "border-image-width",
43989
+ "border-image-outset",
43990
+ "border-image-repeat"
43991
+ ]],
43992
+ ["border-inline", [
43993
+ "border-inline-start",
43994
+ "border-inline-end",
43995
+ "border-inline-end-width",
43996
+ "border-inline-end-style",
43997
+ "border-inline-end-color",
43998
+ "border-inline-start-width",
43999
+ "border-inline-start-style",
44000
+ "border-inline-start-color"
44001
+ ]],
44002
+ ["border-inline-clip", ["border-inline-start-clip", "border-inline-end-clip"]],
44003
+ ["border-inline-color", ["border-inline-start-color", "border-inline-end-color"]],
44004
+ ["border-inline-end", [
44005
+ "border-inline-end-width",
44006
+ "border-inline-end-style",
44007
+ "border-inline-end-color"
44008
+ ]],
44009
+ ["border-inline-end-radius", ["border-start-end-radius", "border-end-end-radius"]],
44010
+ ["border-inline-start", [
44011
+ "border-inline-start-width",
44012
+ "border-inline-start-style",
44013
+ "border-inline-start-color"
44014
+ ]],
44015
+ ["border-inline-start-radius", ["border-start-start-radius", "border-end-start-radius"]],
44016
+ ["border-inline-style", ["border-inline-start-style", "border-inline-end-style"]],
44017
+ ["border-inline-width", ["border-inline-start-width", "border-inline-end-width"]],
44018
+ ["border-left", [
44019
+ "border-left-width",
44020
+ "border-left-style",
44021
+ "border-left-color"
44022
+ ]],
44023
+ ["border-left-radius", ["border-top-left-radius", "border-bottom-left-radius"]],
44024
+ ["border-right", [
44025
+ "border-right-width",
44026
+ "border-right-style",
44027
+ "border-right-color"
44028
+ ]],
44029
+ ["border-right-radius", ["border-top-right-radius", "border-bottom-right-radius"]],
44030
+ ["border-top", [
44031
+ "border-top-width",
44032
+ "border-top-style",
44033
+ "border-top-color"
44034
+ ]],
44035
+ ["border-top-radius", ["border-top-left-radius", "border-top-right-radius"]],
44036
+ ["inset", [
44037
+ "bottom",
44038
+ "top",
44039
+ "right",
44040
+ "left",
44041
+ "inset-block-end",
44042
+ "inset-block-start",
44043
+ "inset-inline-end",
44044
+ "inset-inline-start"
44045
+ ]],
44046
+ ["box-shadow", [
44047
+ "box-shadow-color",
44048
+ "box-shadow-offset",
44049
+ "box-shadow-blur",
44050
+ "box-shadow-spread",
44051
+ "box-shadow-position"
44052
+ ]],
44053
+ ["caret", [
44054
+ "caret-color",
44055
+ "caret-animation",
44056
+ "caret-shape"
44057
+ ]],
44058
+ ["color-adjust", ["print-color-adjust"]],
44059
+ ["column-rule", [
44060
+ "column-rule-width",
44061
+ "column-rule-style",
44062
+ "column-rule-color"
44063
+ ]],
44064
+ ["column-rule-inset", [
44065
+ "column-rule-inset-cap-start",
44066
+ "column-rule-inset-cap-end",
44067
+ "column-rule-inset-junction-start",
44068
+ "column-rule-inset-junction-end"
44069
+ ]],
44070
+ ["column-rule-inset-cap", ["column-rule-inset-cap-start", "column-rule-inset-cap-end"]],
44071
+ ["column-rule-inset-end", ["column-rule-inset-cap-end", "column-rule-inset-junction-end"]],
44072
+ ["column-rule-inset-junction", ["column-rule-inset-junction-start", "column-rule-inset-junction-end"]],
44073
+ ["column-rule-inset-start", ["column-rule-inset-cap-start", "column-rule-inset-junction-start"]],
44074
+ ["columns", [
44075
+ "column-width",
44076
+ "column-count",
44077
+ "column-height"
44078
+ ]],
44079
+ ["contain-intrinsic-size", [
44080
+ "contain-intrinsic-block-size",
44081
+ "contain-intrinsic-height",
44082
+ "contain-intrinsic-inline-size",
44083
+ "contain-intrinsic-width"
44084
+ ]],
44085
+ ["container", ["container-name", "container-type"]],
44086
+ ["corner", [
44087
+ "border-radius",
44088
+ "corner-shape",
44089
+ "corner-bottom-left-shape",
44090
+ "corner-bottom-right-shape",
44091
+ "corner-end-end-shape",
44092
+ "corner-end-start-shape",
44093
+ "corner-top-left-shape",
44094
+ "corner-top-right-shape",
44095
+ "corner-start-end-shape",
44096
+ "corner-start-start-shape",
44097
+ "border-bottom-left-radius",
44098
+ "border-bottom-right-radius",
44099
+ "border-end-end-radius",
44100
+ "border-end-start-radius",
44101
+ "border-top-left-radius",
44102
+ "border-top-right-radius",
44103
+ "border-start-end-radius",
44104
+ "border-start-start-radius"
44105
+ ]],
44106
+ ["corner-block-end", [
44107
+ "border-block-end-radius",
44108
+ "corner-block-end-shape",
44109
+ "corner-end-start-shape",
44110
+ "corner-end-end-shape",
44111
+ "border-end-start-radius",
44112
+ "border-end-end-radius"
44113
+ ]],
44114
+ ["corner-block-end-shape", ["corner-end-start-shape", "corner-end-end-shape"]],
44115
+ ["corner-block-start", [
44116
+ "border-block-start-radius",
44117
+ "corner-block-start-shape",
44118
+ "corner-start-start-shape",
44119
+ "corner-start-end-shape",
44120
+ "border-start-start-radius",
44121
+ "border-start-end-radius"
44122
+ ]],
44123
+ ["corner-block-start-shape", ["corner-start-start-shape", "corner-start-end-shape"]],
44124
+ ["corner-bottom", [
44125
+ "border-bottom-radius",
44126
+ "corner-bottom-shape",
44127
+ "corner-bottom-left-shape",
44128
+ "corner-bottom-right-shape",
44129
+ "border-bottom-left-radius",
44130
+ "border-bottom-right-radius"
44131
+ ]],
44132
+ ["corner-bottom-left", ["border-bottom-left-radius", "corner-bottom-left-shape"]],
44133
+ ["corner-shape", [
44134
+ "corner-bottom-left-shape",
44135
+ "corner-bottom-right-shape",
44136
+ "corner-end-end-shape",
44137
+ "corner-end-start-shape",
44138
+ "corner-top-left-shape",
44139
+ "corner-top-right-shape",
44140
+ "corner-start-end-shape",
44141
+ "corner-start-start-shape"
44142
+ ]],
44143
+ ["corner-bottom-right", ["border-bottom-right-radius", "corner-bottom-right-shape"]],
44144
+ ["corner-bottom-shape", ["corner-bottom-left-shape", "corner-bottom-right-shape"]],
44145
+ ["corner-end-end", ["border-end-end-radius", "corner-end-end-shape"]],
44146
+ ["corner-end-start", ["border-end-start-radius", "corner-end-start-shape"]],
44147
+ ["corner-inline-end", [
44148
+ "border-inline-end-radius",
44149
+ "corner-inline-end-shape",
44150
+ "corner-start-end-shape",
44151
+ "corner-end-end-shape",
44152
+ "border-start-end-radius",
44153
+ "border-end-end-radius"
44154
+ ]],
44155
+ ["corner-inline-end-shape", ["corner-start-end-shape", "corner-end-end-shape"]],
44156
+ ["corner-inline-start", [
44157
+ "border-inline-start-radius",
44158
+ "corner-inline-start-shape",
44159
+ "corner-start-start-shape",
44160
+ "corner-end-start-shape",
44161
+ "border-start-start-radius",
44162
+ "border-end-start-radius"
44163
+ ]],
44164
+ ["corner-inline-start-shape", ["corner-start-start-shape", "corner-end-start-shape"]],
44165
+ ["corner-left", [
44166
+ "border-left-radius",
44167
+ "corner-left-shape",
44168
+ "corner-top-left-shape",
44169
+ "corner-bottom-left-shape",
44170
+ "border-top-left-radius",
44171
+ "border-bottom-left-radius"
44172
+ ]],
44173
+ ["corner-left-shape", ["corner-top-left-shape", "corner-bottom-left-shape"]],
44174
+ ["corner-right", [
44175
+ "border-right-radius",
44176
+ "corner-right-shape",
44177
+ "corner-top-right-shape",
44178
+ "corner-bottom-right-shape",
44179
+ "border-top-right-radius",
44180
+ "border-bottom-right-radius"
44181
+ ]],
44182
+ ["corner-right-shape", ["corner-top-right-shape", "corner-bottom-right-shape"]],
44183
+ ["corner-start-end", ["border-start-end-radius", "corner-start-end-shape"]],
44184
+ ["corner-start-start", ["border-start-start-radius", "corner-start-start-shape"]],
44185
+ ["corner-top", [
44186
+ "border-top-radius",
44187
+ "corner-top-shape",
44188
+ "corner-top-left-shape",
44189
+ "corner-top-right-shape",
44190
+ "border-top-left-radius",
44191
+ "border-top-right-radius"
44192
+ ]],
44193
+ ["corner-top-left", ["border-top-left-radius", "corner-top-left-shape"]],
44194
+ ["corner-top-right", ["border-top-right-radius", "corner-top-right-shape"]],
44195
+ ["corner-top-shape", ["corner-top-left-shape", "corner-top-right-shape"]],
44196
+ ["cue", ["cue-before", "cue-after"]],
44197
+ ["flex", [
44198
+ "flex-grow",
44199
+ "flex-shrink",
44200
+ "flex-basis"
44201
+ ]],
44202
+ ["flex-flow", ["flex-direction", "flex-wrap"]],
44203
+ ["font", [
44204
+ "font-style",
44205
+ "font-variant",
44206
+ "font-weight",
44207
+ "font-stretch",
44208
+ "font-size",
44209
+ "line-height",
44210
+ "font-family",
44211
+ "font-feature-settings",
44212
+ "font-kerning",
44213
+ "font-language-override",
44214
+ "font-optical-sizing",
44215
+ "font-size-adjust",
44216
+ "font-variation-settings",
44217
+ "font-variant-ligatures",
44218
+ "font-variant-caps",
44219
+ "font-variant-alternates",
44220
+ "font-variant-numeric",
44221
+ "font-variant-east-asian",
44222
+ "font-variant-position",
44223
+ "font-variant-emoji"
44224
+ ]],
44225
+ ["font-synthesis", [
44226
+ "font-synthesis-weight",
44227
+ "font-synthesis-style",
44228
+ "font-synthesis-small-caps"
44229
+ ]],
44230
+ ["font-variant", [
44231
+ "font-variant-ligatures",
44232
+ "font-variant-caps",
44233
+ "font-variant-alternates",
44234
+ "font-variant-numeric",
44235
+ "font-variant-east-asian",
44236
+ "font-variant-position",
44237
+ "font-variant-emoji"
44238
+ ]],
44239
+ ["gap", ["row-gap", "column-gap"]],
44240
+ ["grid", [
44241
+ "grid-template-rows",
44242
+ "grid-template-columns",
44243
+ "grid-template-areas",
44244
+ "grid-auto-rows",
44245
+ "grid-auto-columns",
44246
+ "grid-auto-flow"
44247
+ ]],
44248
+ ["grid-area", [
44249
+ "grid-row-start",
44250
+ "grid-column-start",
44251
+ "grid-row-end",
44252
+ "grid-column-end"
44253
+ ]],
44254
+ ["grid-column", ["grid-column-start", "grid-column-end"]],
44255
+ ["grid-gap", ["row-gap", "column-gap"]],
44256
+ ["grid-row", ["grid-row-start", "grid-row-end"]],
44257
+ ["grid-template", [
44258
+ "grid-template-rows",
44259
+ "grid-template-columns",
44260
+ "grid-template-areas"
44261
+ ]],
44262
+ ["inset-block", ["inset-block-start", "inset-block-end"]],
44263
+ ["inset-inline", ["inset-inline-start", "inset-inline-end"]],
44264
+ ["interest-delay", ["interest-delay-start", "interest-delay-end"]],
44265
+ ["line-clamp", [
44266
+ "max-lines",
44267
+ "block-ellipsis",
44268
+ "continue"
44269
+ ]],
44270
+ ["list-style", [
44271
+ "list-style-type",
44272
+ "list-style-position",
44273
+ "list-style-image"
44274
+ ]],
44275
+ ["margin", [
44276
+ "margin-top",
44277
+ "margin-right",
44278
+ "margin-bottom",
44279
+ "margin-left",
44280
+ "margin-block-end",
44281
+ "margin-block-start",
44282
+ "margin-inline-end",
44283
+ "margin-inline-start"
44284
+ ]],
44285
+ ["margin-block", ["margin-block-start", "margin-block-end"]],
44286
+ ["margin-inline", ["margin-inline-start", "margin-inline-end"]],
44287
+ ["marker", [
44288
+ "marker-start",
44289
+ "marker-mid",
44290
+ "marker-end"
44291
+ ]],
44292
+ ["mask", [
44293
+ "mask-image",
44294
+ "mask-position",
44295
+ "mask-size",
44296
+ "mask-repeat",
44297
+ "mask-origin",
44298
+ "mask-clip",
44299
+ "mask-composite",
44300
+ "mask-mode",
44301
+ "mask-border",
44302
+ "mask-border-source",
44303
+ "mask-border-slice",
44304
+ "mask-border-width",
44305
+ "mask-border-outset",
44306
+ "mask-border-repeat",
44307
+ "mask-border-mode"
44308
+ ]],
44309
+ ["mask-border", [
44310
+ "mask-border-source",
44311
+ "mask-border-slice",
44312
+ "mask-border-width",
44313
+ "mask-border-outset",
44314
+ "mask-border-repeat",
44315
+ "mask-border-mode"
44316
+ ]],
44317
+ ["max-size", [
44318
+ "max-block-size",
44319
+ "max-height",
44320
+ "max-inline-size",
44321
+ "max-width"
44322
+ ]],
44323
+ ["min-size", [
44324
+ "min-block-size",
44325
+ "min-height",
44326
+ "min-inline-size",
44327
+ "min-width"
44328
+ ]],
44329
+ ["offset", [
44330
+ "offset-path",
44331
+ "offset-distance",
44332
+ "offset-rotate",
44333
+ "offset-anchor",
44334
+ "offset-position"
44335
+ ]],
44336
+ ["outline", [
44337
+ "outline-width",
44338
+ "outline-style",
44339
+ "outline-color"
44340
+ ]],
44341
+ ["overflow", [
44342
+ "overflow-x",
44343
+ "overflow-y",
44344
+ "overflow-block",
44345
+ "overflow-inline"
44346
+ ]],
44347
+ ["overflow-clip-margin", [
44348
+ "overflow-clip-margin-top",
44349
+ "overflow-clip-margin-right",
44350
+ "overflow-clip-margin-bottom",
44351
+ "overflow-clip-margin-left",
44352
+ "overflow-clip-margin-block-end",
44353
+ "overflow-clip-margin-block-start",
44354
+ "overflow-clip-margin-inline-end",
44355
+ "overflow-clip-margin-inline-start"
44356
+ ]],
44357
+ ["overflow-clip-margin-block", ["overflow-clip-margin-block-start", "overflow-clip-margin-block-end"]],
44358
+ ["overflow-clip-margin-inline", ["overflow-clip-margin-inline-start", "overflow-clip-margin-inline-end"]],
44359
+ ["overscroll-behavior", [
44360
+ "overscroll-behavior-x",
44361
+ "overscroll-behavior-y",
44362
+ "overscroll-behavior-block",
44363
+ "overscroll-behavior-inline"
44364
+ ]],
44365
+ ["padding", [
44366
+ "padding-top",
44367
+ "padding-right",
44368
+ "padding-bottom",
44369
+ "padding-left",
44370
+ "padding-block-end",
44371
+ "padding-block-start",
44372
+ "padding-inline-end",
44373
+ "padding-inline-start"
44374
+ ]],
44375
+ ["padding-block", ["padding-block-start", "padding-block-end"]],
44376
+ ["padding-inline", ["padding-inline-start", "padding-inline-end"]],
44377
+ ["pause", ["pause-before", "pause-after"]],
44378
+ ["place-content", ["align-content", "justify-content"]],
44379
+ ["place-items", ["align-items", "justify-items"]],
44380
+ ["place-self", ["align-self", "justify-self"]],
44381
+ ["pointer-timeline", ["pointer-timeline-name", "pointer-timeline-axis"]],
44382
+ ["position-try", ["position-try-order", "position-try-fallbacks"]],
44383
+ ["rest", ["rest-before", "rest-after"]],
44384
+ ["row-rule", [
44385
+ "row-rule-width",
44386
+ "row-rule-style",
44387
+ "row-rule-color"
44388
+ ]],
44389
+ ["row-rule-inset", [
44390
+ "row-rule-inset-cap-start",
44391
+ "row-rule-inset-cap-end",
44392
+ "row-rule-inset-junction-start",
44393
+ "row-rule-inset-junction-end"
44394
+ ]],
44395
+ ["row-rule-inset-cap", ["row-rule-inset-cap-start", "row-rule-inset-cap-end"]],
44396
+ ["row-rule-inset-end", ["row-rule-inset-cap-end", "row-rule-inset-junction-end"]],
44397
+ ["row-rule-inset-junction", ["row-rule-inset-junction-start", "row-rule-inset-junction-end"]],
44398
+ ["row-rule-inset-start", ["row-rule-inset-cap-start", "row-rule-inset-junction-start"]],
44399
+ ["rule", [
44400
+ "column-rule",
44401
+ "row-rule",
44402
+ "row-rule-width",
44403
+ "row-rule-style",
44404
+ "row-rule-color",
44405
+ "column-rule-width",
44406
+ "column-rule-style",
44407
+ "column-rule-color"
44408
+ ]],
44409
+ ["rule-break", ["column-rule-break", "row-rule-break"]],
44410
+ ["rule-color", ["column-rule-color", "row-rule-color"]],
44411
+ ["rule-inset", [
44412
+ "column-rule-inset",
44413
+ "row-rule-inset",
44414
+ "row-rule-inset-cap-start",
44415
+ "row-rule-inset-cap-end",
44416
+ "row-rule-inset-junction-start",
44417
+ "row-rule-inset-junction-end",
44418
+ "column-rule-inset-cap-start",
44419
+ "column-rule-inset-cap-end",
44420
+ "column-rule-inset-junction-start",
44421
+ "column-rule-inset-junction-end"
44422
+ ]],
44423
+ ["rule-inset-cap", [
44424
+ "column-rule-inset-cap",
44425
+ "column-rule-inset-cap-start",
44426
+ "column-rule-inset-cap-end"
44427
+ ]],
44428
+ ["rule-inset-end", [
44429
+ "column-rule-inset-end",
44430
+ "row-rule-inset-end",
44431
+ "row-rule-inset-cap-end",
44432
+ "row-rule-inset-junction-end",
44433
+ "column-rule-inset-cap-end",
44434
+ "column-rule-inset-junction-end"
44435
+ ]],
44436
+ ["rule-inset-junction", [
44437
+ "column-rule-inset-junction",
44438
+ "column-rule-inset-junction-start",
44439
+ "column-rule-inset-junction-end"
44440
+ ]],
44441
+ ["rule-inset-start", [
44442
+ "column-rule-inset-start",
44443
+ "row-rule-inset-start",
44444
+ "row-rule-inset-cap-start",
44445
+ "row-rule-inset-junction-start",
44446
+ "column-rule-inset-cap-start",
44447
+ "column-rule-inset-junction-start"
44448
+ ]],
44449
+ ["rule-style", ["column-rule-style", "row-rule-style"]],
44450
+ ["rule-visibility-items", ["column-rule-visibility-items"]],
44451
+ ["rule-width", ["column-rule-width", "row-rule-width"]],
44452
+ ["scroll-margin", [
44453
+ "scroll-margin-top",
44454
+ "scroll-margin-right",
44455
+ "scroll-margin-bottom",
44456
+ "scroll-margin-left",
44457
+ "scroll-margin-block-end",
44458
+ "scroll-margin-block-start",
44459
+ "scroll-margin-inline-end",
44460
+ "scroll-margin-inline-start"
44461
+ ]],
44462
+ ["scroll-margin-block", ["scroll-margin-block-start", "scroll-margin-block-end"]],
44463
+ ["scroll-margin-inline", ["scroll-margin-inline-start", "scroll-margin-inline-end"]],
44464
+ ["scroll-padding", [
44465
+ "scroll-padding-top",
44466
+ "scroll-padding-right",
44467
+ "scroll-padding-bottom",
44468
+ "scroll-padding-left",
44469
+ "scroll-padding-block-end",
44470
+ "scroll-padding-block-start",
44471
+ "scroll-padding-inline-end",
44472
+ "scroll-padding-inline-start"
44473
+ ]],
44474
+ ["scroll-padding-block", ["scroll-padding-block-start", "scroll-padding-block-end"]],
44475
+ ["scroll-padding-inline", ["scroll-padding-inline-start", "scroll-padding-inline-end"]],
44476
+ ["scroll-timeline", ["scroll-timeline-name", "scroll-timeline-axis"]],
44477
+ ["text-align", ["text-align-all", "text-align-last"]],
44478
+ ["text-decoration", [
44479
+ "text-decoration-line",
44480
+ "text-decoration-thickness",
44481
+ "text-decoration-style",
44482
+ "text-decoration-color"
44483
+ ]],
44484
+ ["text-decoration-skip", [
44485
+ "text-decoration-skip-self",
44486
+ "text-decoration-skip-box",
44487
+ "text-decoration-skip-spaces",
44488
+ "text-decoration-skip-ink"
44489
+ ]],
44490
+ ["text-emphasis", ["text-emphasis-style", "text-emphasis-color"]],
44491
+ ["text-spacing", ["text-spacing-trim", "text-autospace"]],
44492
+ ["text-wrap", ["text-wrap-mode", "text-wrap-style"]],
44493
+ ["timeline-trigger", [
44494
+ "timeline-trigger-name",
44495
+ "timeline-trigger-source",
44496
+ "timeline-trigger-activation-range",
44497
+ "timeline-trigger-active-range",
44498
+ "timeline-trigger-active-range-start",
44499
+ "timeline-trigger-active-range-end",
44500
+ "timeline-trigger-activation-range-start",
44501
+ "timeline-trigger-activation-range-end"
44502
+ ]],
44503
+ ["timeline-trigger-activation-range", ["timeline-trigger-activation-range-start", "timeline-trigger-activation-range-end"]],
44504
+ ["timeline-trigger-active-range", ["timeline-trigger-active-range-start", "timeline-trigger-active-range-end"]],
44505
+ ["transition", [
44506
+ "transition-property",
44507
+ "transition-duration",
44508
+ "transition-timing-function",
44509
+ "transition-delay",
44510
+ "transition-behavior"
44511
+ ]],
44512
+ ["vertical-align", [
44513
+ "alignment-baseline",
44514
+ "baseline-shift",
44515
+ "baseline-source"
44516
+ ]],
44517
+ ["view-timeline", ["view-timeline-name", "view-timeline-axis"]],
44518
+ ["white-space", ["white-space-collapse", "text-wrap-mode"]]
44519
+ ]), i$9 = /var\(/i, s$16 = /^initial$/i, n$11 = /^\s*$/;
44520
+ function cloneDeclarations(e, r) {
44521
+ const t = a$6.get(r.prop.toLowerCase());
44522
+ if (!t?.length) return void e.append(r.clone());
44523
+ const o = [r];
44524
+ let i = r.next();
44525
+ for (; i;) "decl" === i.type && t.includes(i.prop) && o.push(i), i = i.next();
44526
+ o.forEach((r) => {
44527
+ e.append(r.clone());
44528
+ });
43774
44529
  }
43775
- const t$16 = /var\(/i, i$9 = /^initial$/i, o$24 = /^\s*$/, creator$51 = () => ({
44530
+ const creator$51 = () => ({
43776
44531
  postcssPlugin: "postcss-progressive-custom-properties",
43777
44532
  prepare() {
43778
44533
  const e = /* @__PURE__ */ new WeakMap();
43779
44534
  return {
43780
44535
  postcssPlugin: "postcss-progressive-custom-properties",
43781
- OnceExit(a, { postcss: p }) {
43782
- a.walkDecls((a) => {
43783
- if (!a.parent) return;
43784
- const r = e.get(a.parent) || {
44536
+ OnceExit(r, { postcss: t }) {
44537
+ r.walkDecls((r) => {
44538
+ if (!r.parent) return;
44539
+ const o = e.get(r.parent) || {
43785
44540
  conditionalRules: [],
43786
44541
  propNames: /* @__PURE__ */ new Set(),
43787
44542
  lastConditionParams: { support: void 0 },
43788
44543
  lastConditionalRule: void 0
43789
44544
  };
43790
- if (e.set(a.parent, r), a.variable) {
43791
- if (!r.propNames.has(a.prop)) return void r.propNames.add(a.prop);
44545
+ if (e.set(r.parent, o), r.variable) {
44546
+ if (!o.propNames.has(r.prop)) return void o.propNames.add(r.prop);
43792
44547
  } else {
43793
- const e = a.prop.toLowerCase();
43794
- if (!r.propNames.has(e)) return void r.propNames.add(e);
44548
+ const e = r.prop.toLowerCase();
44549
+ if (!o.propNames.has(e)) return void o.propNames.add(e);
43795
44550
  }
43796
- if (!a.variable && !t$16.test(a.value)) return;
43797
- if (i$9.test(a.value)) return;
43798
- if (o$24.test(a.value)) return;
43799
- const s = conditionsFromValue(a, !a.variable).support.join(" and ");
43800
- if (!s) return;
43801
- if (r.lastConditionParams.support !== s && (r.lastConditionalRule = void 0), r.lastConditionalRule) return r.lastConditionalRule.append(a.clone()), void a.remove();
43802
- const y = [];
43803
- if (s && y.push(p.atRule({
44551
+ if (!r.variable && !i$9.test(r.value)) return;
44552
+ if (s$16.test(r.value)) return;
44553
+ if (n$11.test(r.value)) return;
44554
+ const a = conditionsFromValue(r, !r.variable).support.join(" and ");
44555
+ if (!a) return;
44556
+ if (o.lastConditionParams.support !== a && (o.lastConditionalRule = void 0), o.lastConditionalRule) return cloneDeclarations(o.lastConditionalRule, r), void r.remove();
44557
+ const p = [];
44558
+ if (a && p.push(t.atRule({
43804
44559
  name: "supports",
43805
- params: s,
43806
- source: a.parent.source,
44560
+ params: a,
44561
+ source: r.parent.source,
43807
44562
  raws: {
43808
44563
  before: "\n\n",
43809
44564
  after: "\n"
43810
44565
  }
43811
- })), !y.length) return;
43812
- for (let e = 0; e < y.length - 1; e++) {
43813
- const a = y[e], p = y[e + 1];
43814
- a.append(p);
44566
+ })), !p.length) return;
44567
+ for (let e = 0; e < p.length - 1; e++) {
44568
+ const r = p[e], t = p[e + 1];
44569
+ r.append(t);
43815
44570
  }
43816
- const l = y[0], d = y[y.length - 1], n = a.parent.clone();
43817
- n.removeAll(), n.raws.before = "\n", n.append(a.clone()), a.remove(), r.lastConditionParams.support = s, r.lastConditionalRule = n, d.append(n), r.conditionalRules.push(l);
43818
- }), a.walk((a) => {
43819
- const p = e.get(a);
43820
- p && 0 !== p.conditionalRules.length && p.conditionalRules.reverse().forEach((e) => {
43821
- a.after(e);
44571
+ const l = p[0], d = p[p.length - 1], c = r.parent.clone();
44572
+ 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);
44573
+ }), r.walk((r) => {
44574
+ const t = e.get(r);
44575
+ t && 0 !== t.conditionalRules.length && t.conditionalRules.reverse().forEach((e) => {
44576
+ r.after(e);
43822
44577
  });
43823
44578
  });
43824
44579
  }
@@ -43827,7 +44582,7 @@ const t$16 = /var\(/i, i$9 = /^initial$/i, o$24 = /^\s*$/, creator$51 = () => ({
43827
44582
  });
43828
44583
  creator$51.postcss = !0;
43829
44584
  //#endregion
43830
- //#region ../../node_modules/.pnpm/@csstools+utilities@3.0.0_postcss@8.5.15/node_modules/@csstools/utilities/dist/index.mjs
44585
+ //#region ../../node_modules/.pnpm/@csstools+utilities@3.0.0_postcss@8.5.16/node_modules/@csstools/utilities/dist/index.mjs
43831
44586
  function hasFallback$1(e) {
43832
44587
  const t = e.parent;
43833
44588
  if (!t) return !1;
@@ -43847,7 +44602,7 @@ function hasSupportsAtRuleAncestor(e, t) {
43847
44602
  return !1;
43848
44603
  }
43849
44604
  //#endregion
43850
- //#region ../../node_modules/.pnpm/@csstools+postcss-alpha-function@2.0.6_postcss@8.5.15/node_modules/@csstools/postcss-alpha-function/dist/index.mjs
44605
+ //#region ../../node_modules/.pnpm/@csstools+postcss-alpha-function@2.0.7_postcss@8.5.16/node_modules/@csstools/postcss-alpha-function/dist/index.mjs
43851
44606
  const b$1 = /\balpha\(/i, m$9 = /^alpha$/i, w$3 = /* @__PURE__ */ new Set([
43852
44607
  "srgb",
43853
44608
  "srgb-linear",
@@ -47376,7 +48131,7 @@ var require_dist$1 = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((ex
47376
48131
  module.exports = parser;
47377
48132
  }));
47378
48133
  //#endregion
47379
- //#region ../../node_modules/.pnpm/postcss-pseudo-class-any-link@11.0.0_postcss@8.5.15/node_modules/postcss-pseudo-class-any-link/dist/index.mjs
48134
+ //#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
47380
48135
  var import_dist$1 = /* @__PURE__ */ require_rolldown_runtime.__toESM(require_dist$1(), 1);
47381
48136
  const t$15 = (0, import_dist$1.default)().astSync(":link").nodes[0], s$15 = (0, import_dist$1.default)().astSync(":visited").nodes[0], n$10 = (0, import_dist$1.default)().astSync("area[href]").nodes[0], o$23 = (0, import_dist$1.default)().astSync("[href]").nodes[0];
47382
48137
  function replaceAnyLink(e, t, s, n) {
@@ -47471,7 +48226,7 @@ const creator$50 = (e) => {
47471
48226
  };
47472
48227
  creator$50.postcss = !0;
47473
48228
  //#endregion
47474
- //#region ../../node_modules/.pnpm/css-blank-pseudo@8.0.1_postcss@8.5.15/node_modules/css-blank-pseudo/dist/index.mjs
48229
+ //#region ../../node_modules/.pnpm/css-blank-pseudo@8.0.1_postcss@8.5.16/node_modules/css-blank-pseudo/dist/index.mjs
47475
48230
  const s$14 = [
47476
48231
  " ",
47477
48232
  ">",
@@ -47546,7 +48301,7 @@ const n$9 = "js-blank-pseudo", t$14 = ":blank", creator$49 = (s) => {
47546
48301
  };
47547
48302
  creator$49.postcss = !0;
47548
48303
  //#endregion
47549
- //#region ../../node_modules/.pnpm/postcss-page-break@3.0.4_postcss@8.5.15/node_modules/postcss-page-break/index.js
48304
+ //#region ../../node_modules/.pnpm/postcss-page-break@3.0.4_postcss@8.5.16/node_modules/postcss-page-break/index.js
47550
48305
  var require_postcss_page_break = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports, module) => {
47551
48306
  module.exports = function(options) {
47552
48307
  return {
@@ -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.15/node_modules/@csstools/postcss-cascade-layers/dist/index.mjs
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$13 = "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$22 = ["media", "supports"], l$7 = ["keyframes"], i$8 = /^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.15/node_modules/postcss-attribute-case-insensitive/dist/index.mjs
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/postcss-clamp@4.1.0_postcss@8.5.15/node_modules/postcss-clamp/index.js
48852
+ //#region ../../node_modules/.pnpm/postcss-clamp@4.1.0_postcss@8.5.16/node_modules/postcss-clamp/index.js
48098
48853
  var require_postcss_clamp = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports, module) => {
48099
48854
  let valueParser$3 = require("postcss-value-parser");
48100
48855
  function parseValue(value) {
@@ -48172,7 +48927,7 @@ var require_postcss_clamp = /* @__PURE__ */ require_rolldown_runtime.__commonJSM
48172
48927
  module.exports.postcss = true;
48173
48928
  }));
48174
48929
  //#endregion
48175
- //#region ../../node_modules/.pnpm/@csstools+postcss-color-function@5.0.5_postcss@8.5.15/node_modules/@csstools/postcss-color-function/dist/index.mjs
48930
+ //#region ../../node_modules/.pnpm/@csstools+postcss-color-function@5.0.6_postcss@8.5.16/node_modules/@csstools/postcss-color-function/dist/index.mjs
48176
48931
  var import_postcss_clamp = /* @__PURE__ */ require_rolldown_runtime.__toESM(require_postcss_clamp(), 1);
48177
48932
  const u$7 = /\bcolor\(/i, m$7 = /^color$/i, basePlugin$15 = (s) => ({
48178
48933
  postcssPlugin: "postcss-color-function",
@@ -48202,7 +48957,7 @@ const postcssPlugin$15 = (o) => {
48202
48957
  };
48203
48958
  postcssPlugin$15.postcss = !0;
48204
48959
  //#endregion
48205
- //#region ../../node_modules/.pnpm/@csstools+postcss-color-function-display-p3-linear@2.0.5_postcss@8.5.15/node_modules/@csstools/postcss-color-function-display-p3-linear/dist/index.mjs
48960
+ //#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
48206
48961
  const m$6 = /\bdisplay-p3-linear\b/i, f$7 = /^color$/i, basePlugin$14 = (s) => ({
48207
48962
  postcssPlugin: "postcss-color-function-display-p3-linear",
48208
48963
  Declaration(g) {
@@ -48231,7 +48986,7 @@ const postcssPlugin$14 = (o) => {
48231
48986
  };
48232
48987
  postcssPlugin$14.postcss = !0;
48233
48988
  //#endregion
48234
- //#region ../../node_modules/.pnpm/postcss-color-functional-notation@8.0.5_postcss@8.5.15/node_modules/postcss-color-functional-notation/dist/index.mjs
48989
+ //#region ../../node_modules/.pnpm/postcss-color-functional-notation@8.0.6_postcss@8.5.16/node_modules/postcss-color-functional-notation/dist/index.mjs
48235
48990
  const m$5 = /^(?:rgb|hsl)a?$/i, f$6 = /\b(?:rgb|hsl)a?\(/i, basePlugin$13 = (s) => ({
48236
48991
  postcssPlugin: "postcss-color-functional-notation",
48237
48992
  Declaration(v) {
@@ -48260,7 +49015,7 @@ const postcssPlugin$13 = (o) => {
48260
49015
  };
48261
49016
  postcssPlugin$13.postcss = !0;
48262
49017
  //#endregion
48263
- //#region ../../node_modules/.pnpm/@csstools+postcss-color-mix-function@4.0.5_postcss@8.5.15/node_modules/@csstools/postcss-color-mix-function/dist/index.mjs
49018
+ //#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
48264
49019
  const f$5 = /\bcolor-mix\(/i, g$6 = /^color-mix$/i, basePlugin$12 = (s) => ({
48265
49020
  postcssPlugin: "postcss-color-mix-function",
48266
49021
  Declaration(v) {
@@ -48296,7 +49051,7 @@ const postcssPlugin$12 = (e) => {
48296
49051
  };
48297
49052
  postcssPlugin$12.postcss = !0;
48298
49053
  //#endregion
48299
- //#region ../../node_modules/.pnpm/@csstools+postcss-color-mix-variadic-function-arguments@2.0.5_postcss@8.5.15/node_modules/@csstools/postcss-color-mix-variadic-function-arguments/dist/index.mjs
49054
+ //#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
48300
49055
  const f$4 = /\bcolor-mix\(/i, g$5 = /^color-mix$/i, basePlugin$11 = (s) => ({
48301
49056
  postcssPlugin: "color-mix-variadic-function-arguments",
48302
49057
  Declaration(v) {
@@ -48332,7 +49087,7 @@ const postcssPlugin$11 = (e) => {
48332
49087
  };
48333
49088
  postcssPlugin$11.postcss = !0;
48334
49089
  //#endregion
48335
- //#region ../../node_modules/.pnpm/@csstools+postcss-container-rule-prelude-list@1.0.1_postcss@8.5.15/node_modules/@csstools/postcss-container-rule-prelude-list/dist/index.mjs
49090
+ //#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
48336
49091
  const t$12 = /^container$/i, creator$46 = (o) => {
48337
49092
  const a = Object.assign({ preserve: !1 }, o);
48338
49093
  return {
@@ -48349,7 +49104,7 @@ const t$12 = /^container$/i, creator$46 = (o) => {
48349
49104
  };
48350
49105
  creator$46.postcss = !0;
48351
49106
  //#endregion
48352
- //#region ../../node_modules/.pnpm/@csstools+postcss-content-alt-text@3.0.1_postcss@8.5.15/node_modules/@csstools/postcss-content-alt-text/dist/index.mjs
49107
+ //#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
48353
49108
  function transform$3(s, t) {
48354
49109
  const e = s[0];
48355
49110
  if (!e.length) return "";
@@ -48394,7 +49149,7 @@ const creator$45 = (t) => {
48394
49149
  };
48395
49150
  creator$45.postcss = !0;
48396
49151
  //#endregion
48397
- //#region ../../node_modules/.pnpm/@csstools+postcss-contrast-color-function@3.0.5_postcss@8.5.15/node_modules/@csstools/postcss-contrast-color-function/dist/index.mjs
49152
+ //#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
48398
49153
  const u$6 = /\bcontrast-color\(/i, m$4 = /^contrast-color$/i, basePlugin$9 = (s) => ({
48399
49154
  postcssPlugin: "postcss-contrast-color-function",
48400
49155
  prepare: () => ({
@@ -50325,7 +51080,7 @@ var b;
50325
51080
  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";
50326
51081
  })(b || (b = {}));
50327
51082
  //#endregion
50328
- //#region ../../node_modules/.pnpm/postcss-custom-media@12.0.1_postcss@8.5.15/node_modules/postcss-custom-media/dist/index.mjs
51083
+ //#region ../../node_modules/.pnpm/postcss-custom-media@12.0.1_postcss@8.5.16/node_modules/postcss-custom-media/dist/index.mjs
50329
51084
  const C$2 = parse$1("csstools-implicit-layer")[0];
50330
51085
  function collectCascadeLayerOrder$2(t) {
50331
51086
  const n = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), o = [];
@@ -50752,7 +51507,7 @@ const creator$44 = (e) => {
50752
51507
  };
50753
51508
  creator$44.postcss = !0;
50754
51509
  //#endregion
50755
- //#region ../../node_modules/.pnpm/postcss-custom-properties@15.0.1_postcss@8.5.15/node_modules/postcss-custom-properties/dist/index.mjs
51510
+ //#region ../../node_modules/.pnpm/postcss-custom-properties@15.0.1_postcss@8.5.16/node_modules/postcss-custom-properties/dist/index.mjs
50756
51511
  const o$21 = parse$1("csstools-implicit-layer")[0];
50757
51512
  function collectCascadeLayerOrder$1(r) {
50758
51513
  const n = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), a = [];
@@ -50821,7 +51576,7 @@ function isProcessableRule(e) {
50821
51576
  }
50822
51577
  return !0;
50823
51578
  }
50824
- const l$6 = /^html$/i, u$5 = /^:where\(html\)$/i, p$1 = /^:root$/i, f$3 = /^:where\(:root\)$/i, d$2 = /(html|:root)/i, m$3 = /^var$/i;
51579
+ 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;
50825
51580
  function isVarFunction(e) {
50826
51581
  return "function" === e.type && m$3.test(e.value) && e.nodes?.length > 0;
50827
51582
  }
@@ -50995,7 +51750,7 @@ function buildCustomPropertiesMap(e, t, n) {
50995
51750
  function getCustomPropertiesFromRoot(e, t) {
50996
51751
  const r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), o = collectCascadeLayerOrder$1(e);
50997
51752
  return e.walkRules((e) => {
50998
- d$2.test(e.selector) && e.nodes?.length && isProcessableRule(e) && (isBlockIgnored(e) || e.selectors.forEach((t) => {
51753
+ d$1.test(e.selector) && e.nodes?.length && isProcessableRule(e) && (isBlockIgnored(e) || e.selectors.forEach((t) => {
50999
51754
  let s;
51000
51755
  if (u$5.test(t) || f$3.test(t)) s = 0;
51001
51756
  else if (l$6.test(t)) s = 1;
@@ -51063,7 +51818,7 @@ const g$4 = /\bvar\(|\(top: var\(--f\)/i, creator$43 = (e) => {
51063
51818
  };
51064
51819
  creator$43.postcss = !0;
51065
51820
  //#endregion
51066
- //#region ../../node_modules/.pnpm/postcss-custom-selectors@9.0.1_postcss@8.5.15/node_modules/postcss-custom-selectors/dist/index.mjs
51821
+ //#region ../../node_modules/.pnpm/postcss-custom-selectors@9.0.1_postcss@8.5.16/node_modules/postcss-custom-selectors/dist/index.mjs
51067
51822
  const s$11 = parse$1("csstools-implicit-layer")[0];
51068
51823
  function collectCascadeLayerOrder(e) {
51069
51824
  const o = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), a = [];
@@ -51199,7 +51954,7 @@ const creator$42 = (e) => {
51199
51954
  };
51200
51955
  creator$42.postcss = !0;
51201
51956
  //#endregion
51202
- //#region ../../node_modules/.pnpm/postcss-dir-pseudo-class@10.0.0_postcss@8.5.15/node_modules/postcss-dir-pseudo-class/dist/index.mjs
51957
+ //#region ../../node_modules/.pnpm/postcss-dir-pseudo-class@10.0.0_postcss@8.5.16/node_modules/postcss-dir-pseudo-class/dist/index.mjs
51203
51958
  const creator$41 = (t) => {
51204
51959
  const r = Object.assign({
51205
51960
  dir: null,
@@ -51270,7 +52025,7 @@ const creator$41 = (t) => {
51270
52025
  };
51271
52026
  creator$41.postcss = !0;
51272
52027
  //#endregion
51273
- //#region ../../node_modules/.pnpm/@csstools+postcss-normalize-display-values@5.0.1_postcss@8.5.15/node_modules/@csstools/postcss-normalize-display-values/dist/index.mjs
52028
+ //#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
51274
52029
  var l$5 = /* @__PURE__ */ new Map([
51275
52030
  ["flow", "block"],
51276
52031
  ["block,flow", "block"],
@@ -51338,7 +52093,7 @@ const e$27 = /^display$/i, t$11 = /\b\s\b/, creator$40 = (i) => {
51338
52093
  };
51339
52094
  creator$40.postcss = !0;
51340
52095
  //#endregion
51341
- //#region ../../node_modules/.pnpm/postcss-double-position-gradients@7.0.1_postcss@8.5.15/node_modules/postcss-double-position-gradients/dist/index.mjs
52096
+ //#region ../../node_modules/.pnpm/postcss-double-position-gradients@7.0.2_postcss@8.5.16/node_modules/postcss-double-position-gradients/dist/index.mjs
51342
52097
  const o$19 = /(?:repeating-)?(?:conic|linear|radial)-gradient\(/i, i$5 = /^(?:repeating-)?(?:conic|linear|radial)-gradient$/i, n$7 = [
51343
52098
  "at",
51344
52099
  "bottom",
@@ -51417,7 +52172,7 @@ const postcssPlugin$9 = (t) => {
51417
52172
  };
51418
52173
  postcssPlugin$9.postcss = !0;
51419
52174
  //#endregion
51420
- //#region ../../node_modules/.pnpm/@csstools+postcss-exponential-functions@3.0.3_postcss@8.5.15/node_modules/@csstools/postcss-exponential-functions/dist/index.mjs
52175
+ //#region ../../node_modules/.pnpm/@csstools+postcss-exponential-functions@3.0.3_postcss@8.5.16/node_modules/@csstools/postcss-exponential-functions/dist/index.mjs
51421
52176
  const s$10 = /(?<![-\w])(?:exp|hypot|log|pow|sqrt)\(/i, creator$39 = (o) => {
51422
52177
  const t = Object.assign({ preserve: !1 }, o);
51423
52178
  return {
@@ -51431,7 +52186,7 @@ const s$10 = /(?<![-\w])(?:exp|hypot|log|pow|sqrt)\(/i, creator$39 = (o) => {
51431
52186
  };
51432
52187
  creator$39.postcss = !0;
51433
52188
  //#endregion
51434
- //#region ../../node_modules/.pnpm/@csstools+postcss-logical-float-and-clear@4.0.0_postcss@8.5.15/node_modules/@csstools/postcss-logical-float-and-clear/dist/index.mjs
52189
+ //#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
51435
52190
  const t$9 = "inline-start", o$18 = "inline-end";
51436
52191
  var e$26, n$6;
51437
52192
  function directionFlowToAxes$2(t) {
@@ -51475,7 +52230,7 @@ const creator$38 = (n) => {
51475
52230
  };
51476
52231
  creator$38.postcss = !0;
51477
52232
  //#endregion
51478
- //#region ../../node_modules/.pnpm/postcss-focus-visible@11.0.0_postcss@8.5.15/node_modules/postcss-focus-visible/dist/index.mjs
52233
+ //#region ../../node_modules/.pnpm/postcss-focus-visible@11.0.0_postcss@8.5.16/node_modules/postcss-focus-visible/dist/index.mjs
51479
52234
  const s$9 = "js-focus-visible", o$17 = ":focus-visible", creator$37 = (t) => {
51480
52235
  const r = Object.assign({
51481
52236
  preserve: !0,
@@ -51529,7 +52284,7 @@ const s$9 = "js-focus-visible", o$17 = ":focus-visible", creator$37 = (t) => {
51529
52284
  };
51530
52285
  creator$37.postcss = !0;
51531
52286
  //#endregion
51532
- //#region ../../node_modules/.pnpm/postcss-focus-within@10.0.0_postcss@8.5.15/node_modules/postcss-focus-within/dist/index.mjs
52287
+ //#region ../../node_modules/.pnpm/postcss-focus-within@10.0.0_postcss@8.5.16/node_modules/postcss-focus-within/dist/index.mjs
51533
52288
  const s$8 = [
51534
52289
  " ",
51535
52290
  ">",
@@ -51604,7 +52359,7 @@ const t$8 = "js-focus-within", n$5 = ":focus-within", creator$36 = (s) => {
51604
52359
  };
51605
52360
  creator$36.postcss = !0;
51606
52361
  //#endregion
51607
- //#region ../../node_modules/.pnpm/@csstools+postcss-font-format-keywords@5.0.0_postcss@8.5.15/node_modules/@csstools/postcss-font-format-keywords/dist/index.mjs
52362
+ //#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
51608
52363
  const t$7 = [
51609
52364
  "woff",
51610
52365
  "truetype",
@@ -51639,7 +52394,7 @@ const t$7 = [
51639
52394
  };
51640
52395
  creator$35.postcss = !0;
51641
52396
  //#endregion
51642
- //#region ../../node_modules/.pnpm/postcss-font-variant@5.0.0_postcss@8.5.15/node_modules/postcss-font-variant/index.js
52397
+ //#region ../../node_modules/.pnpm/postcss-font-variant@5.0.0_postcss@8.5.16/node_modules/postcss-font-variant/index.js
51643
52398
  var require_postcss_font_variant = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports, module) => {
51644
52399
  /**
51645
52400
  * font variant convertion map
@@ -51734,7 +52489,7 @@ var require_postcss_font_variant = /* @__PURE__ */ require_rolldown_runtime.__co
51734
52489
  module.exports.postcss = true;
51735
52490
  }));
51736
52491
  //#endregion
51737
- //#region ../../node_modules/.pnpm/@csstools+postcss-font-width-property@1.0.0_postcss@8.5.15/node_modules/@csstools/postcss-font-width-property/dist/index.mjs
52492
+ //#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
51738
52493
  var import_postcss_font_variant = /* @__PURE__ */ require_rolldown_runtime.__toESM(require_postcss_font_variant(), 1);
51739
52494
  const e$22 = /^font-width$/i, o$16 = /\bfont-width\b/i, s$7 = /^font-stretch$/i, creator$34 = (s) => {
51740
52495
  const r = Object.assign({ preserve: !1 }, s);
@@ -51753,7 +52508,7 @@ function hasFallback(t) {
51753
52508
  }
51754
52509
  creator$34.postcss = !0;
51755
52510
  //#endregion
51756
- //#region ../../node_modules/.pnpm/@csstools+postcss-gamut-mapping@3.0.5_postcss@8.5.15/node_modules/@csstools/postcss-gamut-mapping/dist/index.mjs
52511
+ //#region ../../node_modules/.pnpm/@csstools+postcss-gamut-mapping@3.0.6_postcss@8.5.16/node_modules/@csstools/postcss-gamut-mapping/dist/index.mjs
51757
52512
  const p = /\bcolor-gamut\b/i;
51758
52513
  function hasConditionalAncestor(e) {
51759
52514
  let o = e.parent;
@@ -51771,7 +52526,7 @@ function sameProperty(e) {
51771
52526
  }
51772
52527
  return t;
51773
52528
  }
51774
- const d$1 = /\b(?:color|lab|lch|oklab|oklch)\(/i, u$4 = /^(?:color|lab|lch|oklab|oklch)$/i, creator$33 = () => ({
52529
+ const d = /\b(?:color|lab|lch|oklab|oklch)\(/i, u$4 = /^(?:color|lab|lch|oklab|oklch)$/i, creator$33 = () => ({
51775
52530
  postcssPlugin: "postcss-gamut-mapping",
51776
52531
  prepare() {
51777
52532
  const p = /* @__PURE__ */ new WeakMap(), m = /* @__PURE__ */ new WeakSet();
@@ -51780,7 +52535,7 @@ const d$1 = /\b(?:color|lab|lch|oklab|oklch)\(/i, u$4 = /^(?:color|lab|lch|oklab
51780
52535
  OnceExit(f, { postcss: h }) {
51781
52536
  f.walkDecls((f) => {
51782
52537
  if (m.has(f)) return;
51783
- if (!d$1.test(f.value)) return;
52538
+ if (!d.test(f.value)) return;
51784
52539
  if (!f.parent || hasConditionalAncestor(f)) return;
51785
52540
  const g = sameProperty(f).map((p, d) => {
51786
52541
  m.add(p);
@@ -51848,7 +52603,7 @@ const d$1 = /\b(?:color|lab|lch|oklab|oklch)\(/i, u$4 = /^(?:color|lab|lch|oklab
51848
52603
  });
51849
52604
  creator$33.postcss = !0;
51850
52605
  //#endregion
51851
- //#region ../../node_modules/.pnpm/postcss-gap-properties@7.0.0_postcss@8.5.15/node_modules/postcss-gap-properties/dist/index.mjs
52606
+ //#region ../../node_modules/.pnpm/postcss-gap-properties@7.0.0_postcss@8.5.16/node_modules/postcss-gap-properties/dist/index.mjs
51852
52607
  const e$21 = [
51853
52608
  "column-gap",
51854
52609
  "gap",
@@ -51867,7 +52622,7 @@ const e$21 = [
51867
52622
  };
51868
52623
  creator$32.postcss = !0;
51869
52624
  //#endregion
51870
- //#region ../../node_modules/.pnpm/@csstools+postcss-gradients-interpolation-method@6.0.5_postcss@8.5.15/node_modules/@csstools/postcss-gradients-interpolation-method/dist/index.mjs
52625
+ //#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
51871
52626
  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;
51872
52627
  function interpolateColorsInColorStopsList(o, e, t, s = !1) {
51873
52628
  const l = [], a = [];
@@ -52155,7 +52910,7 @@ const postcssPlugin$8 = (e) => {
52155
52910
  };
52156
52911
  postcssPlugin$8.postcss = !0;
52157
52912
  //#endregion
52158
- //#region ../../node_modules/.pnpm/css-has-pseudo@8.0.0_postcss@8.5.15/node_modules/css-has-pseudo/dist/index.mjs
52913
+ //#region ../../node_modules/.pnpm/css-has-pseudo@8.0.0_postcss@8.5.16/node_modules/css-has-pseudo/dist/index.mjs
52159
52914
  function encodeCSS(e) {
52160
52915
  if ("" === e) return "";
52161
52916
  let t, s = "";
@@ -52266,7 +53021,7 @@ function isWithinSupportCheck(e) {
52266
53021
  }
52267
53022
  creator$31.postcss = !0;
52268
53023
  //#endregion
52269
- //#region ../../node_modules/.pnpm/postcss-color-hex-alpha@11.0.0_postcss@8.5.15/node_modules/postcss-color-hex-alpha/dist/index.mjs
53024
+ //#region ../../node_modules/.pnpm/postcss-color-hex-alpha@11.0.0_postcss@8.5.16/node_modules/postcss-color-hex-alpha/dist/index.mjs
52270
53025
  const creator$30 = (a) => {
52271
53026
  const o = Object.assign({ preserve: !1 }, a);
52272
53027
  return {
@@ -52296,7 +53051,7 @@ function hexa2rgba(e) {
52296
53051
  e.value = `rgba(${r},${l},${n},${c})`;
52297
53052
  }
52298
53053
  //#endregion
52299
- //#region ../../node_modules/.pnpm/@csstools+postcss-hwb-function@5.0.5_postcss@8.5.15/node_modules/@csstools/postcss-hwb-function/dist/index.mjs
53054
+ //#region ../../node_modules/.pnpm/@csstools+postcss-hwb-function@5.0.6_postcss@8.5.16/node_modules/@csstools/postcss-hwb-function/dist/index.mjs
52300
53055
  const u$3 = /\bhwb\(/i, m$2 = /^hwb$/i, basePlugin$6 = (s) => ({
52301
53056
  postcssPlugin: "postcss-hwb-function",
52302
53057
  Declaration(f) {
@@ -52325,7 +53080,7 @@ const postcssPlugin$7 = (o) => {
52325
53080
  };
52326
53081
  postcssPlugin$7.postcss = !0;
52327
53082
  //#endregion
52328
- //#region ../../node_modules/.pnpm/@csstools+postcss-ic-unit@5.0.1_postcss@8.5.15/node_modules/@csstools/postcss-ic-unit/dist/index.mjs
53083
+ //#region ../../node_modules/.pnpm/@csstools+postcss-ic-unit@5.0.2_postcss@8.5.16/node_modules/@csstools/postcss-ic-unit/dist/index.mjs
52329
53084
  const o$14 = /ic\b/i, i$4 = /\(font-size: \d+ic\)/i, basePlugin$5 = (s) => ({
52330
53085
  postcssPlugin: "postcss-ic-unit",
52331
53086
  Declaration(n) {
@@ -52355,7 +53110,7 @@ const postcssPlugin$6 = (e) => {
52355
53110
  };
52356
53111
  postcssPlugin$6.postcss = !0;
52357
53112
  //#endregion
52358
- //#region ../../node_modules/.pnpm/@csstools+postcss-image-function@1.0.0_postcss@8.5.15/node_modules/@csstools/postcss-image-function/dist/index.mjs
53113
+ //#region ../../node_modules/.pnpm/@csstools+postcss-image-function@1.0.1_postcss@8.5.16/node_modules/@csstools/postcss-image-function/dist/index.mjs
52359
53114
  const u$2 = /\bimage\(/i, g$3 = /^image$/i, basePlugin$4 = (e) => ({
52360
53115
  postcssPlugin: "postcss-image-function",
52361
53116
  Declaration(v) {
@@ -52398,7 +53153,7 @@ const postcssPlugin$5 = (s) => {
52398
53153
  };
52399
53154
  postcssPlugin$5.postcss = !0;
52400
53155
  //#endregion
52401
- //#region ../../node_modules/.pnpm/postcss-image-set-function@8.0.0_postcss@8.5.15/node_modules/postcss-image-set-function/dist/index.mjs
53156
+ //#region ../../node_modules/.pnpm/postcss-image-set-function@8.0.0_postcss@8.5.16/node_modules/postcss-image-set-function/dist/index.mjs
52402
53157
  function isComma$1(e) {
52403
53158
  return !!e && "div" === e.type && "," === e.value;
52404
53159
  }
@@ -55581,7 +56336,7 @@ function selectorNodeContainsNothingOrOnlyUniversal(e) {
55581
56336
  return 0 === t.length || 1 === t.length && "universal" === t[0].type;
55582
56337
  }
55583
56338
  //#endregion
55584
- //#region ../../node_modules/.pnpm/@csstools+postcss-is-pseudo-class@6.0.0_postcss@8.5.15/node_modules/@csstools/postcss-is-pseudo-class/dist/index.mjs
56339
+ //#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
55585
56340
  function alwaysValidSelector(s) {
55586
56341
  const o = (0, import_dist.default)().astSync(s);
55587
56342
  let n = !0;
@@ -55850,7 +56605,7 @@ const n$3 = /:is\(/i, creator$28 = (e) => {
55850
56605
  };
55851
56606
  creator$28.postcss = !0;
55852
56607
  //#endregion
55853
- //#region ../../node_modules/.pnpm/postcss-lab-function@8.0.5_postcss@8.5.15/node_modules/postcss-lab-function/dist/index.mjs
56608
+ //#region ../../node_modules/.pnpm/postcss-lab-function@8.0.6_postcss@8.5.16/node_modules/postcss-lab-function/dist/index.mjs
55854
56609
  const g$2 = /\b(?:lab|lch)\(/i, f$2 = /^(?:lab|lch)$/i, basePlugin$3 = (s) => ({
55855
56610
  postcssPlugin: "postcss-lab-function",
55856
56611
  Declaration(b) {
@@ -55886,7 +56641,7 @@ const postcssPlugin$4 = (e) => {
55886
56641
  };
55887
56642
  postcssPlugin$4.postcss = !0;
55888
56643
  //#endregion
55889
- //#region ../../node_modules/.pnpm/@csstools+postcss-light-dark-function@3.0.1_postcss@8.5.15/node_modules/@csstools/postcss-light-dark-function/dist/index.mjs
56644
+ //#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
55890
56645
  const k$1 = "--csstools-color-scheme--light", D = "initial";
55891
56646
  function toggleNameGenerator(e) {
55892
56647
  return `--csstools-light-dark-toggle--${e}`;
@@ -56083,7 +56838,7 @@ const postcssPlugin$3 = (r) => {
56083
56838
  };
56084
56839
  postcssPlugin$3.postcss = !0;
56085
56840
  //#endregion
56086
- //#region ../../node_modules/.pnpm/@csstools+postcss-logical-overflow@3.0.0_postcss@8.5.15/node_modules/@csstools/postcss-logical-overflow/dist/index.mjs
56841
+ //#region ../../node_modules/.pnpm/@csstools+postcss-logical-overflow@3.0.0_postcss@8.5.16/node_modules/@csstools/postcss-logical-overflow/dist/index.mjs
56087
56842
  var o$11;
56088
56843
  function transformAxes$1(o, t) {
56089
56844
  const e = t ? "-x" : "-y", i = t ? "-y" : "-x", n = o.prop.toLowerCase().replace("-inline", e).replace("-block", i), s = o.value;
@@ -56115,7 +56870,7 @@ const creator$27 = (t) => {
56115
56870
  };
56116
56871
  creator$27.postcss = !0;
56117
56872
  //#endregion
56118
- //#region ../../node_modules/.pnpm/@csstools+postcss-logical-overscroll-behavior@3.0.0_postcss@8.5.15/node_modules/@csstools/postcss-logical-overscroll-behavior/dist/index.mjs
56873
+ //#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
56119
56874
  var o$10;
56120
56875
  function transformAxes(o, t) {
56121
56876
  const e = t ? "-x" : "-y", i = t ? "-y" : "-x", r = o.prop.toLowerCase().replace("-inline", e).replace("-block", i), s = o.value;
@@ -56147,7 +56902,7 @@ const creator$26 = (t) => {
56147
56902
  };
56148
56903
  creator$26.postcss = !0;
56149
56904
  //#endregion
56150
- //#region ../../node_modules/.pnpm/postcss-logical@9.0.0_postcss@8.5.15/node_modules/postcss-logical/dist/index.mjs
56905
+ //#region ../../node_modules/.pnpm/postcss-logical@9.0.0_postcss@8.5.16/node_modules/postcss-logical/dist/index.mjs
56151
56906
  var e$14, n$2;
56152
56907
  (function(r) {
56153
56908
  r.Block = "block", r.Inline = "inline";
@@ -56507,7 +57262,7 @@ const l$4 = /var\(/i, creator$25 = (r) => {
56507
57262
  };
56508
57263
  creator$25.postcss = !0;
56509
57264
  //#endregion
56510
- //#region ../../node_modules/.pnpm/@csstools+postcss-logical-resize@4.0.0_postcss@8.5.15/node_modules/@csstools/postcss-logical-resize/dist/index.mjs
57265
+ //#region ../../node_modules/.pnpm/@csstools+postcss-logical-resize@4.0.0_postcss@8.5.16/node_modules/@csstools/postcss-logical-resize/dist/index.mjs
56511
57266
  var t$3, e$13, i$1;
56512
57267
  function cloneDeclaration(o, t, e) {
56513
57268
  o.parent && o.parent.some((o) => "decl" == o.type && o.prop === e && o.value === t) || o.cloneBefore({
@@ -56580,7 +57335,7 @@ const creator$24 = (o) => {
56580
57335
  };
56581
57336
  creator$24.postcss = !0;
56582
57337
  //#endregion
56583
- //#region ../../node_modules/.pnpm/@csstools+postcss-logical-viewport-units@4.0.0_postcss@8.5.15/node_modules/@csstools/postcss-logical-viewport-units/dist/index.mjs
57338
+ //#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
56584
57339
  var s$6;
56585
57340
  function transform$1(t, o) {
56586
57341
  const s = tokenizer({ css: t }), c = [];
@@ -56649,7 +57404,7 @@ const c$3 = /vb|vi/i, u$1 = { test(t) {
56649
57404
  };
56650
57405
  creator$23.postcss = !0;
56651
57406
  //#endregion
56652
- //#region ../../node_modules/.pnpm/@csstools+postcss-media-queries-aspect-ratio-number-values@4.0.0_postcss@8.5.15/node_modules/@csstools/postcss-media-queries-aspect-ratio-number-values/dist/index.mjs
57407
+ //#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
56653
57408
  const w = 1e5, h$1 = 2147483647;
56654
57409
  function transformMediaFeatureValue(t) {
56655
57410
  if (Array.isArray(t.value) && matchesRatioExactly(t.value)) {
@@ -56940,7 +57695,7 @@ const creator$22 = (e) => {
56940
57695
  };
56941
57696
  creator$22.postcss = !0;
56942
57697
  //#endregion
56943
- //#region ../../node_modules/.pnpm/@csstools+postcss-media-minmax@3.0.3_postcss@8.5.15/node_modules/@csstools/postcss-media-minmax/dist/index.mjs
57698
+ //#region ../../node_modules/.pnpm/@csstools+postcss-media-minmax@3.0.3_postcss@8.5.16/node_modules/@csstools/postcss-media-minmax/dist/index.mjs
56944
57699
  const C = {
56945
57700
  width: "px",
56946
57701
  height: "px",
@@ -57324,7 +58079,7 @@ const creator$21 = () => ({
57324
58079
  });
57325
58080
  creator$21.postcss = !0;
57326
58081
  //#endregion
57327
- //#region ../../node_modules/.pnpm/@csstools+postcss-mixins@1.0.0_postcss@8.5.15/node_modules/@csstools/postcss-mixins/dist/index.mjs
58082
+ //#region ../../node_modules/.pnpm/@csstools+postcss-mixins@1.0.0_postcss@8.5.16/node_modules/@csstools/postcss-mixins/dist/index.mjs
57328
58083
  const o$7 = /^apply$/i;
57329
58084
  function processableApplyRule(o) {
57330
58085
  if (!o.params || !o.params.includes("--")) return !1;
@@ -57382,7 +58137,7 @@ const creator$20 = (e) => {
57382
58137
  };
57383
58138
  creator$20.postcss = !0;
57384
58139
  //#endregion
57385
- //#region ../../node_modules/.pnpm/@csstools+postcss-nested-calc@5.0.0_postcss@8.5.15/node_modules/@csstools/postcss-nested-calc/dist/index.mjs
58140
+ //#region ../../node_modules/.pnpm/@csstools+postcss-nested-calc@5.0.0_postcss@8.5.16/node_modules/@csstools/postcss-nested-calc/dist/index.mjs
57386
58141
  const r$4 = /calc\(/gi;
57387
58142
  const creator$19 = (s) => {
57388
58143
  const o = Object.assign({ preserve: !0 }, s);
@@ -57514,7 +58269,7 @@ function isCompoundSelector$1(o) {
57514
58269
  return 1 === o.length && !o[0].nodes.some((o) => "combinator" === o.type || import_dist$1.default.isPseudoElement(o));
57515
58270
  }
57516
58271
  //#endregion
57517
- //#region ../../node_modules/.pnpm/postcss-nesting@14.0.0_postcss@8.5.15/node_modules/postcss-nesting/dist/index.mjs
58272
+ //#region ../../node_modules/.pnpm/postcss-nesting@14.0.0_postcss@8.5.16/node_modules/postcss-nesting/dist/index.mjs
57518
58273
  const r$3 = import_dist$1.default.pseudo({ value: ":is" });
57519
58274
  function sortCompoundSelectorsInsideComplexSelector(t) {
57520
58275
  if (!t || !t.nodes) return;
@@ -57889,7 +58644,7 @@ const creator$18 = (e) => {
57889
58644
  };
57890
58645
  creator$18.postcss = !0;
57891
58646
  //#endregion
57892
- //#region ../../node_modules/.pnpm/postcss-selector-not@9.0.0_postcss@8.5.15/node_modules/postcss-selector-not/dist/index.mjs
58647
+ //#region ../../node_modules/.pnpm/postcss-selector-not@9.0.0_postcss@8.5.16/node_modules/postcss-selector-not/dist/index.mjs
57893
58648
  function cleanupWhitespace(e) {
57894
58649
  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 = ""));
57895
58650
  }
@@ -57920,7 +58675,7 @@ const creator$17 = () => ({
57920
58675
  });
57921
58676
  creator$17.postcss = !0;
57922
58677
  //#endregion
57923
- //#region ../../node_modules/.pnpm/@csstools+postcss-oklab-function@5.0.5_postcss@8.5.15/node_modules/@csstools/postcss-oklab-function/dist/index.mjs
58678
+ //#region ../../node_modules/.pnpm/@csstools+postcss-oklab-function@5.0.6_postcss@8.5.16/node_modules/@csstools/postcss-oklab-function/dist/index.mjs
57924
58679
  const g$1 = /\b(?:oklab|oklch)\(/i, f$1 = /^(?:oklab|oklch)$/i, basePlugin$1 = (s) => ({
57925
58680
  postcssPlugin: "postcss-oklab-function",
57926
58681
  Declaration(b) {
@@ -57956,7 +58711,7 @@ const postcssPlugin$2 = (e) => {
57956
58711
  };
57957
58712
  postcssPlugin$2.postcss = !0;
57958
58713
  //#endregion
57959
- //#region ../../node_modules/.pnpm/postcss-opacity-percentage@3.0.0_postcss@8.5.15/node_modules/postcss-opacity-percentage/index.js
58714
+ //#region ../../node_modules/.pnpm/postcss-opacity-percentage@3.0.0_postcss@8.5.16/node_modules/postcss-opacity-percentage/index.js
57960
58715
  var require_postcss_opacity_percentage = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports, module) => {
57961
58716
  const doNothingValues = /* @__PURE__ */ new Set([
57962
58717
  "inherit",
@@ -57978,7 +58733,7 @@ var require_postcss_opacity_percentage = /* @__PURE__ */ require_rolldown_runtim
57978
58733
  module.exports.postcss = true;
57979
58734
  }));
57980
58735
  //#endregion
57981
- //#region ../../node_modules/.pnpm/postcss-overflow-shorthand@7.0.0_postcss@8.5.15/node_modules/postcss-overflow-shorthand/dist/index.mjs
58736
+ //#region ../../node_modules/.pnpm/postcss-overflow-shorthand@7.0.0_postcss@8.5.16/node_modules/postcss-overflow-shorthand/dist/index.mjs
57982
58737
  var import_postcss_opacity_percentage = /* @__PURE__ */ require_rolldown_runtime.__toESM(require_postcss_opacity_percentage(), 1);
57983
58738
  const creator$16 = (o) => {
57984
58739
  const r = Object.assign({ preserve: !0 }, o);
@@ -58008,7 +58763,7 @@ const creator$16 = (o) => {
58008
58763
  };
58009
58764
  creator$16.postcss = !0;
58010
58765
  //#endregion
58011
- //#region ../../node_modules/.pnpm/postcss-replace-overflow-wrap@4.0.0_postcss@8.5.15/node_modules/postcss-replace-overflow-wrap/index.js
58766
+ //#region ../../node_modules/.pnpm/postcss-replace-overflow-wrap@4.0.0_postcss@8.5.16/node_modules/postcss-replace-overflow-wrap/index.js
58012
58767
  var require_postcss_replace_overflow_wrap = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports, module) => {
58013
58768
  module.exports = function(opts) {
58014
58769
  opts = opts || {};
@@ -58024,7 +58779,7 @@ var require_postcss_replace_overflow_wrap = /* @__PURE__ */ require_rolldown_run
58024
58779
  module.exports.postcss = true;
58025
58780
  }));
58026
58781
  //#endregion
58027
- //#region ../../node_modules/.pnpm/postcss-place@11.0.0_postcss@8.5.15/node_modules/postcss-place/dist/index.mjs
58782
+ //#region ../../node_modules/.pnpm/postcss-place@11.0.0_postcss@8.5.16/node_modules/postcss-place/dist/index.mjs
58028
58783
  var import_postcss_replace_overflow_wrap = /* @__PURE__ */ require_rolldown_runtime.__toESM(require_postcss_replace_overflow_wrap(), 1);
58029
58784
  function onCSSDeclaration(o, r, s) {
58030
58785
  const n = o.prop.match(t$2)?.[1].toLowerCase();
@@ -58056,7 +58811,7 @@ const t$2 = /^place-(content|items|self)/i, creator$15 = (e) => {
58056
58811
  };
58057
58812
  creator$15.postcss = !0;
58058
58813
  //#endregion
58059
- //#region ../../node_modules/.pnpm/@csstools+postcss-position-area-property@2.0.0_postcss@8.5.15/node_modules/@csstools/postcss-position-area-property/dist/index.mjs
58814
+ //#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
58060
58815
  const o$4 = /^position-area$/i, creator$14 = () => ({
58061
58816
  postcssPlugin: "postcss-position-area-property",
58062
58817
  Declaration(s) {
@@ -58068,7 +58823,7 @@ const o$4 = /^position-area$/i, creator$14 = () => ({
58068
58823
  });
58069
58824
  creator$14.postcss = !0;
58070
58825
  //#endregion
58071
- //#region ../../node_modules/.pnpm/css-prefers-color-scheme@11.0.0_postcss@8.5.15/node_modules/css-prefers-color-scheme/dist/index.mjs
58826
+ //#region ../../node_modules/.pnpm/css-prefers-color-scheme@11.0.0_postcss@8.5.16/node_modules/css-prefers-color-scheme/dist/index.mjs
58072
58827
  const e$6 = /\(\s*prefers-color-scheme\s*:\s*(dark|light)\s*\)/gi, s$4 = "(color: 48842621)", r$2 = "(color: 70318723)", creator$13 = (o) => {
58073
58828
  const t = Object.assign({ preserve: !0 }, o);
58074
58829
  return {
@@ -58089,7 +58844,7 @@ const e$6 = /\(\s*prefers-color-scheme\s*:\s*(dark|light)\s*\)/gi, s$4 = "(color
58089
58844
  };
58090
58845
  creator$13.postcss = !0;
58091
58846
  //#endregion
58092
- //#region ../../node_modules/.pnpm/@csstools+postcss-property-rule-prelude-list@2.0.0_postcss@8.5.15/node_modules/@csstools/postcss-property-rule-prelude-list/dist/index.mjs
58847
+ //#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
58093
58848
  const o$3 = /^property$/i, creator$12 = () => ({
58094
58849
  postcssPlugin: "postcss-property-rule-prelude-list",
58095
58850
  AtRule(t) {
@@ -58103,7 +58858,7 @@ const o$3 = /^property$/i, creator$12 = () => ({
58103
58858
  });
58104
58859
  creator$12.postcss = !0;
58105
58860
  //#endregion
58106
- //#region ../../node_modules/.pnpm/@csstools+postcss-random-function@3.0.3_postcss@8.5.15/node_modules/@csstools/postcss-random-function/dist/index.mjs
58861
+ //#region ../../node_modules/.pnpm/@csstools+postcss-random-function@3.0.3_postcss@8.5.16/node_modules/@csstools/postcss-random-function/dist/index.mjs
58107
58862
  const o$2 = String.fromCodePoint(0);
58108
58863
  function randomCacheKeyFromPostcssDeclaration(e) {
58109
58864
  let r = "", t = e.parent;
@@ -58140,7 +58895,7 @@ const r$1 = /(?<![-\w])(?:random)\(/i, creator$11 = (o) => {
58140
58895
  };
58141
58896
  creator$11.postcss = !0;
58142
58897
  //#endregion
58143
- //#region ../../node_modules/.pnpm/postcss-color-rebeccapurple@11.0.0_postcss@8.5.15/node_modules/postcss-color-rebeccapurple/dist/index.mjs
58898
+ //#region ../../node_modules/.pnpm/postcss-color-rebeccapurple@11.0.0_postcss@8.5.16/node_modules/postcss-color-rebeccapurple/dist/index.mjs
58144
58899
  const s$3 = /rebeccapurple/i, t$1 = /^rebeccapurple$/i, creator$10 = (o) => {
58145
58900
  const c = Object.assign({ preserve: !1 }, o);
58146
58901
  return {
@@ -58159,7 +58914,7 @@ const s$3 = /rebeccapurple/i, t$1 = /^rebeccapurple$/i, creator$10 = (o) => {
58159
58914
  };
58160
58915
  creator$10.postcss = !0;
58161
58916
  //#endregion
58162
- //#region ../../node_modules/.pnpm/@csstools+postcss-relative-color-syntax@4.0.5_postcss@8.5.15/node_modules/@csstools/postcss-relative-color-syntax/dist/index.mjs
58917
+ //#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
58163
58918
  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) => ({
58164
58919
  postcssPlugin: "postcss-relative-color-syntax",
58165
58920
  Declaration(f) {
@@ -58195,7 +58950,7 @@ const postcssPlugin$1 = (e) => {
58195
58950
  };
58196
58951
  postcssPlugin$1.postcss = !0;
58197
58952
  //#endregion
58198
- //#region ../../node_modules/.pnpm/@csstools+postcss-scope-pseudo-class@5.0.0_postcss@8.5.15/node_modules/@csstools/postcss-scope-pseudo-class/dist/index.mjs
58953
+ //#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
58199
58954
  const creator$9 = (s) => {
58200
58955
  const r = Object.assign({ preserve: !1 }, s);
58201
58956
  return {
@@ -58233,7 +58988,7 @@ const creator$9 = (s) => {
58233
58988
  };
58234
58989
  creator$9.postcss = !0;
58235
58990
  //#endregion
58236
- //#region ../../node_modules/.pnpm/@csstools+postcss-sign-functions@2.0.3_postcss@8.5.15/node_modules/@csstools/postcss-sign-functions/dist/index.mjs
58991
+ //#region ../../node_modules/.pnpm/@csstools+postcss-sign-functions@2.0.3_postcss@8.5.16/node_modules/@csstools/postcss-sign-functions/dist/index.mjs
58237
58992
  const m = /(?<![-\w])(?:sign|abs)\(/i, f = /(?<![-\w])(?:sign|abs)\(/i, creator$8 = (o) => {
58238
58993
  const n = Object.assign({ preserve: !1 }, o);
58239
58994
  return {
@@ -58343,7 +59098,7 @@ function replacer(e) {
58343
59098
  }
58344
59099
  creator$8.postcss = !0;
58345
59100
  //#endregion
58346
- //#region ../../node_modules/.pnpm/@csstools+postcss-stepped-value-functions@5.0.3_postcss@8.5.15/node_modules/@csstools/postcss-stepped-value-functions/dist/index.mjs
59101
+ //#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
58347
59102
  const s$2 = /(?<![-\w])(?:mod|rem|round)\(/i, creator$7 = (o) => {
58348
59103
  const t = Object.assign({ preserve: !1 }, o);
58349
59104
  return {
@@ -58360,7 +59115,7 @@ const s$2 = /(?<![-\w])(?:mod|rem|round)\(/i, creator$7 = (o) => {
58360
59115
  };
58361
59116
  creator$7.postcss = !0;
58362
59117
  //#endregion
58363
- //#region ../../node_modules/.pnpm/@csstools+postcss-syntax-descriptor-syntax-production@2.0.0_postcss@8.5.15/node_modules/@csstools/postcss-syntax-descriptor-syntax-production/dist/index.mjs
59118
+ //#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
58364
59119
  const o$1 = /^property$/i, n$1 = /^syntax$/i, creator$6 = (i) => {
58365
59120
  const p = Object.assign({ preserve: !1 }, i);
58366
59121
  return {
@@ -58431,7 +59186,7 @@ const o$1 = /^property$/i, n$1 = /^syntax$/i, creator$6 = (i) => {
58431
59186
  };
58432
59187
  creator$6.postcss = !0;
58433
59188
  //#endregion
58434
- //#region ../../node_modules/.pnpm/@csstools+postcss-system-ui-font-family@2.0.0_postcss@8.5.15/node_modules/@csstools/postcss-system-ui-font-family/dist/index.mjs
59189
+ //#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
58435
59190
  const a = /^font(?:-family)?$/i, c$2 = [
58436
59191
  "system-ui",
58437
59192
  "-apple-system",
@@ -58485,1009 +59240,7 @@ const u = c$2.join(","), creator$5 = (p) => {
58485
59240
  };
58486
59241
  creator$5.postcss = !0;
58487
59242
  //#endregion
58488
- //#region ../../node_modules/.pnpm/@csstools+color-helpers@6.0.2/node_modules/@csstools/color-helpers/dist/index.mjs
58489
- /**
58490
- * Bradford chromatic adaptation from D50 to D65
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/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
58494
- */
58495
- /**
58496
- * Bradford chromatic adaptation from D65 to D50
58497
- * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
58498
- * @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).
58499
- * @see http://www.brucelindbloom.com/index.html?Eqn_ChromAdapt.html
58500
- */
58501
- /**
58502
- * @param {number} hue - Hue as degrees 0..360
58503
- * @param {number} sat - Saturation as percentage 0..100
58504
- * @param {number} light - Lightness as percentage 0..100
58505
- * @return {number[]} Array of sRGB components; in-gamut colors in range [0..1]
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/hslToRgb.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
58509
- * @see https://github.com/w3c/csswg-drafts/blob/main/css-color-4/hslToRgb.js
58510
- */
58511
- /**
58512
- * @param {number} hue - Hue as degrees 0..360
58513
- * @param {number} white - Whiteness as percentage 0..100
58514
- * @param {number} black - Blackness as percentage 0..100
58515
- * @return {number[]} Array of RGB components 0..1
58516
- *
58517
- * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
58518
- * @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).
58519
- * @see https://github.com/w3c/csswg-drafts/blob/main/css-color-4/hwbToRgb.js
58520
- */
58521
- /**
58522
- * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
58523
- * @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).
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
- */
58529
- /**
58530
- * Convert Lab to D50-adapted XYZ
58531
- * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
58532
- * @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).
58533
- * @see http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html
58534
- */
58535
- /**
58536
- * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
58537
- * @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).
58538
- * @see https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js
58539
- */
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
- * @see https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js
58544
- */
58545
- /**
58546
- * Given OKLab, convert to XYZ relative to D65
58547
- *
58548
- * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
58549
- * @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).
58550
- * @see https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js
58551
- */
58552
- /**
58553
- * Assuming XYZ is relative to D50, convert to CIE Lab
58554
- * from CIE standard, which now defines these as a rational fraction
58555
- *
58556
- * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
58557
- * @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).
58558
- */
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
- * XYZ <-> LMS matrices recalculated for consistent reference white
58564
- * @see https://github.com/w3c/csswg-drafts/issues/6642#issuecomment-943521484
58565
- */
58566
- /**
58567
- * Convert XYZ to linear-light rec2020
58568
- *
58569
- * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
58570
- * @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).
58571
- */
58572
- /**
58573
- * Convert XYZ to linear-light P3
58574
- *
58575
- * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
58576
- * @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).
58577
- */
58578
- /**
58579
- * Convert D50 XYZ to linear-light prophoto-rgb
58580
- *
58581
- * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
58582
- * @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).
58583
- * @see http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html
58584
- */
58585
- /**
58586
- * Convert XYZ to linear-light a98-rgb
58587
- *
58588
- * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
58589
- * @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).
58590
- */
58591
- /**
58592
- * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
58593
- * @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).
58594
- */
58595
- /**
58596
- * Convert an array of linear-light rec2020 RGB in the range 0.0-1.0
58597
- * to gamma corrected form ITU-R BT.2020-2 p.4
58598
- *
58599
- * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
58600
- * @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).
58601
- */
58602
- /**
58603
- * Convert an array of linear-light sRGB values in the range 0.0-1.0 to gamma corrected form
58604
- * Extended transfer function:
58605
- * For negative values, linear portion extends on reflection
58606
- * of axis, then uses reflected pow below that
58607
- *
58608
- * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
58609
- * @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).
58610
- * @see https://en.wikipedia.org/wiki/SRGB
58611
- */
58612
- /**
58613
- * Convert an array of linear-light display-p3 RGB in the range 0.0-1.0
58614
- * to gamma corrected form
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 linear-light prophoto-rgb in the range 0.0-1.0
58621
- * to gamma corrected form.
58622
- * Transfer curve is gamma 1.8 with a small linear portion.
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 a98-rgb in the range 0.0-1.0
58629
- * to gamma corrected form. Negative values are also now accepted
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
- */
58634
- /**
58635
- * Convert an array of rec2020 RGB values in the range 0.0 - 1.0
58636
- * to linear light (un-companded) form.
58637
- * ITU-R BT.2020-2 p.4
58638
- *
58639
- * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
58640
- * @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).
58641
- */
58642
- /**
58643
- * Convert an array of linear-light rec2020 values to CIE XYZ
58644
- * using D65 (no chromatic adaptation)
58645
- *
58646
- * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
58647
- * @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).
58648
- * @see http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html
58649
- */
58650
- /**
58651
- * Convert an array of of sRGB values where in-gamut values are in the range
58652
- * [0 - 1] to linear light (un-companded) form.
58653
- * Extended transfer function:
58654
- * For negative values, linear portion is extended on reflection of axis,
58655
- * then reflected power function is used.
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 https://en.wikipedia.org/wiki/SRGB
58660
- */
58661
- /**
58662
- * Convert an array of display-p3 RGB values in the range 0.0 - 1.0
58663
- * to linear light (un-companded) form.
58664
- *
58665
- * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
58666
- * @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).
58667
- */
58668
- /**
58669
- * Convert an array of linear-light display-p3 values to CIE XYZ
58670
- * using D65 (no chromatic adaptation)
58671
- *
58672
- * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
58673
- * @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).
58674
- * @see http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html
58675
- */
58676
- /**
58677
- * Convert an array of prophoto-rgb values where in-gamut Colors are in the
58678
- * range [0.0 - 1.0] to linear light (un-companded) form. Transfer curve is
58679
- * gamma 1.8 with a small linear portion. Extended transfer function
58680
- *
58681
- * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
58682
- * @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).
58683
- */
58684
- /**
58685
- * Convert an array of linear-light prophoto-rgb values to CIE D50 XYZ.
58686
- * Matrix cannot be expressed in rational form, but is calculated to 64 bit accuracy.
58687
- *
58688
- * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
58689
- * @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).
58690
- * @see see https://github.com/w3c/csswg-drafts/issues/7675
58691
- */
58692
- /**
58693
- * Convert an array of linear-light a98-rgb values to CIE XYZ
58694
- * http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html
58695
- * has greater numerical precision than section 4.3.5.3 of
58696
- * https://www.adobe.com/digitalimag/pdfs/AdobeRGB1998.pdf
58697
- * but the values below were calculated from first principles
58698
- * from the chromaticity coordinates of R G B W
58699
- *
58700
- * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
58701
- * @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).
58702
- * @see http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html
58703
- * @see https://www.adobe.com/digitalimag/pdfs/AdobeRGB1998.pdf
58704
- * @see https://github.com/w3c/csswg-drafts/blob/main/css-color-4/matrixmaker.html
58705
- */
58706
- /**
58707
- * Convert an array of linear-light sRGB values to CIE XYZ
58708
- * using sRGB's own white, D65 (no chromatic adaptation)
58709
- *
58710
- * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
58711
- * @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).
58712
- */
58713
- /**
58714
- * Convert an array of gamma-corrected sRGB values in the 0.0 to 1.0 range to HSL.
58715
- *
58716
- * @param {Color} RGB [r, g, b]
58717
- * - Red component 0..1
58718
- * - Green component 0..1
58719
- * - Blue component 0..1
58720
- * @return {number[]} Array of HSL values: Hue as degrees 0..360, Saturation and Lightness as percentages 0..100
58721
- *
58722
- * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
58723
- * @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).
58724
- *
58725
- * @see https://github.com/w3c/csswg-drafts/blob/main/css-color-4/better-rgbToHsl.js
58726
- */
58727
- /**
58728
- * Convert an array of a98-rgb values in the range 0.0 - 1.0
58729
- * to linear light (un-companded) form. Negative values are also now accepted
58730
- *
58731
- * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
58732
- * @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).
58733
- */
58734
- /**
58735
- * @description Calculate deltaE OK which is the simple root sum of squares
58736
- * @param {number[]} reference - Array of OKLab values: L as 0..1, a and b as -1..1
58737
- * @param {number[]} sample - Array of OKLab values: L as 0..1, a and b as -1..1
58738
- * @return {number} How different a color sample is from reference
58739
- *
58740
- * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
58741
- * @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).
58742
- * @see https://github.com/w3c/csswg-drafts/blob/main/css-color-4/deltaEOK.js
58743
- */
58744
- /**
58745
- * @license MIT https://github.com/facelessuser/coloraide/blob/main/LICENSE.md
58746
- */
58747
- const d = {
58748
- aliceblue: [
58749
- 240,
58750
- 248,
58751
- 255
58752
- ],
58753
- antiquewhite: [
58754
- 250,
58755
- 235,
58756
- 215
58757
- ],
58758
- aqua: [
58759
- 0,
58760
- 255,
58761
- 255
58762
- ],
58763
- aquamarine: [
58764
- 127,
58765
- 255,
58766
- 212
58767
- ],
58768
- azure: [
58769
- 240,
58770
- 255,
58771
- 255
58772
- ],
58773
- beige: [
58774
- 245,
58775
- 245,
58776
- 220
58777
- ],
58778
- bisque: [
58779
- 255,
58780
- 228,
58781
- 196
58782
- ],
58783
- black: [
58784
- 0,
58785
- 0,
58786
- 0
58787
- ],
58788
- blanchedalmond: [
58789
- 255,
58790
- 235,
58791
- 205
58792
- ],
58793
- blue: [
58794
- 0,
58795
- 0,
58796
- 255
58797
- ],
58798
- blueviolet: [
58799
- 138,
58800
- 43,
58801
- 226
58802
- ],
58803
- brown: [
58804
- 165,
58805
- 42,
58806
- 42
58807
- ],
58808
- burlywood: [
58809
- 222,
58810
- 184,
58811
- 135
58812
- ],
58813
- cadetblue: [
58814
- 95,
58815
- 158,
58816
- 160
58817
- ],
58818
- chartreuse: [
58819
- 127,
58820
- 255,
58821
- 0
58822
- ],
58823
- chocolate: [
58824
- 210,
58825
- 105,
58826
- 30
58827
- ],
58828
- coral: [
58829
- 255,
58830
- 127,
58831
- 80
58832
- ],
58833
- cornflowerblue: [
58834
- 100,
58835
- 149,
58836
- 237
58837
- ],
58838
- cornsilk: [
58839
- 255,
58840
- 248,
58841
- 220
58842
- ],
58843
- crimson: [
58844
- 220,
58845
- 20,
58846
- 60
58847
- ],
58848
- cyan: [
58849
- 0,
58850
- 255,
58851
- 255
58852
- ],
58853
- darkblue: [
58854
- 0,
58855
- 0,
58856
- 139
58857
- ],
58858
- darkcyan: [
58859
- 0,
58860
- 139,
58861
- 139
58862
- ],
58863
- darkgoldenrod: [
58864
- 184,
58865
- 134,
58866
- 11
58867
- ],
58868
- darkgray: [
58869
- 169,
58870
- 169,
58871
- 169
58872
- ],
58873
- darkgreen: [
58874
- 0,
58875
- 100,
58876
- 0
58877
- ],
58878
- darkgrey: [
58879
- 169,
58880
- 169,
58881
- 169
58882
- ],
58883
- darkkhaki: [
58884
- 189,
58885
- 183,
58886
- 107
58887
- ],
58888
- darkmagenta: [
58889
- 139,
58890
- 0,
58891
- 139
58892
- ],
58893
- darkolivegreen: [
58894
- 85,
58895
- 107,
58896
- 47
58897
- ],
58898
- darkorange: [
58899
- 255,
58900
- 140,
58901
- 0
58902
- ],
58903
- darkorchid: [
58904
- 153,
58905
- 50,
58906
- 204
58907
- ],
58908
- darkred: [
58909
- 139,
58910
- 0,
58911
- 0
58912
- ],
58913
- darksalmon: [
58914
- 233,
58915
- 150,
58916
- 122
58917
- ],
58918
- darkseagreen: [
58919
- 143,
58920
- 188,
58921
- 143
58922
- ],
58923
- darkslateblue: [
58924
- 72,
58925
- 61,
58926
- 139
58927
- ],
58928
- darkslategray: [
58929
- 47,
58930
- 79,
58931
- 79
58932
- ],
58933
- darkslategrey: [
58934
- 47,
58935
- 79,
58936
- 79
58937
- ],
58938
- darkturquoise: [
58939
- 0,
58940
- 206,
58941
- 209
58942
- ],
58943
- darkviolet: [
58944
- 148,
58945
- 0,
58946
- 211
58947
- ],
58948
- deeppink: [
58949
- 255,
58950
- 20,
58951
- 147
58952
- ],
58953
- deepskyblue: [
58954
- 0,
58955
- 191,
58956
- 255
58957
- ],
58958
- dimgray: [
58959
- 105,
58960
- 105,
58961
- 105
58962
- ],
58963
- dimgrey: [
58964
- 105,
58965
- 105,
58966
- 105
58967
- ],
58968
- dodgerblue: [
58969
- 30,
58970
- 144,
58971
- 255
58972
- ],
58973
- firebrick: [
58974
- 178,
58975
- 34,
58976
- 34
58977
- ],
58978
- floralwhite: [
58979
- 255,
58980
- 250,
58981
- 240
58982
- ],
58983
- forestgreen: [
58984
- 34,
58985
- 139,
58986
- 34
58987
- ],
58988
- fuchsia: [
58989
- 255,
58990
- 0,
58991
- 255
58992
- ],
58993
- gainsboro: [
58994
- 220,
58995
- 220,
58996
- 220
58997
- ],
58998
- ghostwhite: [
58999
- 248,
59000
- 248,
59001
- 255
59002
- ],
59003
- gold: [
59004
- 255,
59005
- 215,
59006
- 0
59007
- ],
59008
- goldenrod: [
59009
- 218,
59010
- 165,
59011
- 32
59012
- ],
59013
- gray: [
59014
- 128,
59015
- 128,
59016
- 128
59017
- ],
59018
- green: [
59019
- 0,
59020
- 128,
59021
- 0
59022
- ],
59023
- greenyellow: [
59024
- 173,
59025
- 255,
59026
- 47
59027
- ],
59028
- grey: [
59029
- 128,
59030
- 128,
59031
- 128
59032
- ],
59033
- honeydew: [
59034
- 240,
59035
- 255,
59036
- 240
59037
- ],
59038
- hotpink: [
59039
- 255,
59040
- 105,
59041
- 180
59042
- ],
59043
- indianred: [
59044
- 205,
59045
- 92,
59046
- 92
59047
- ],
59048
- indigo: [
59049
- 75,
59050
- 0,
59051
- 130
59052
- ],
59053
- ivory: [
59054
- 255,
59055
- 255,
59056
- 240
59057
- ],
59058
- khaki: [
59059
- 240,
59060
- 230,
59061
- 140
59062
- ],
59063
- lavender: [
59064
- 230,
59065
- 230,
59066
- 250
59067
- ],
59068
- lavenderblush: [
59069
- 255,
59070
- 240,
59071
- 245
59072
- ],
59073
- lawngreen: [
59074
- 124,
59075
- 252,
59076
- 0
59077
- ],
59078
- lemonchiffon: [
59079
- 255,
59080
- 250,
59081
- 205
59082
- ],
59083
- lightblue: [
59084
- 173,
59085
- 216,
59086
- 230
59087
- ],
59088
- lightcoral: [
59089
- 240,
59090
- 128,
59091
- 128
59092
- ],
59093
- lightcyan: [
59094
- 224,
59095
- 255,
59096
- 255
59097
- ],
59098
- lightgoldenrodyellow: [
59099
- 250,
59100
- 250,
59101
- 210
59102
- ],
59103
- lightgray: [
59104
- 211,
59105
- 211,
59106
- 211
59107
- ],
59108
- lightgreen: [
59109
- 144,
59110
- 238,
59111
- 144
59112
- ],
59113
- lightgrey: [
59114
- 211,
59115
- 211,
59116
- 211
59117
- ],
59118
- lightpink: [
59119
- 255,
59120
- 182,
59121
- 193
59122
- ],
59123
- lightsalmon: [
59124
- 255,
59125
- 160,
59126
- 122
59127
- ],
59128
- lightseagreen: [
59129
- 32,
59130
- 178,
59131
- 170
59132
- ],
59133
- lightskyblue: [
59134
- 135,
59135
- 206,
59136
- 250
59137
- ],
59138
- lightslategray: [
59139
- 119,
59140
- 136,
59141
- 153
59142
- ],
59143
- lightslategrey: [
59144
- 119,
59145
- 136,
59146
- 153
59147
- ],
59148
- lightsteelblue: [
59149
- 176,
59150
- 196,
59151
- 222
59152
- ],
59153
- lightyellow: [
59154
- 255,
59155
- 255,
59156
- 224
59157
- ],
59158
- lime: [
59159
- 0,
59160
- 255,
59161
- 0
59162
- ],
59163
- limegreen: [
59164
- 50,
59165
- 205,
59166
- 50
59167
- ],
59168
- linen: [
59169
- 250,
59170
- 240,
59171
- 230
59172
- ],
59173
- magenta: [
59174
- 255,
59175
- 0,
59176
- 255
59177
- ],
59178
- maroon: [
59179
- 128,
59180
- 0,
59181
- 0
59182
- ],
59183
- mediumaquamarine: [
59184
- 102,
59185
- 205,
59186
- 170
59187
- ],
59188
- mediumblue: [
59189
- 0,
59190
- 0,
59191
- 205
59192
- ],
59193
- mediumorchid: [
59194
- 186,
59195
- 85,
59196
- 211
59197
- ],
59198
- mediumpurple: [
59199
- 147,
59200
- 112,
59201
- 219
59202
- ],
59203
- mediumseagreen: [
59204
- 60,
59205
- 179,
59206
- 113
59207
- ],
59208
- mediumslateblue: [
59209
- 123,
59210
- 104,
59211
- 238
59212
- ],
59213
- mediumspringgreen: [
59214
- 0,
59215
- 250,
59216
- 154
59217
- ],
59218
- mediumturquoise: [
59219
- 72,
59220
- 209,
59221
- 204
59222
- ],
59223
- mediumvioletred: [
59224
- 199,
59225
- 21,
59226
- 133
59227
- ],
59228
- midnightblue: [
59229
- 25,
59230
- 25,
59231
- 112
59232
- ],
59233
- mintcream: [
59234
- 245,
59235
- 255,
59236
- 250
59237
- ],
59238
- mistyrose: [
59239
- 255,
59240
- 228,
59241
- 225
59242
- ],
59243
- moccasin: [
59244
- 255,
59245
- 228,
59246
- 181
59247
- ],
59248
- navajowhite: [
59249
- 255,
59250
- 222,
59251
- 173
59252
- ],
59253
- navy: [
59254
- 0,
59255
- 0,
59256
- 128
59257
- ],
59258
- oldlace: [
59259
- 253,
59260
- 245,
59261
- 230
59262
- ],
59263
- olive: [
59264
- 128,
59265
- 128,
59266
- 0
59267
- ],
59268
- olivedrab: [
59269
- 107,
59270
- 142,
59271
- 35
59272
- ],
59273
- orange: [
59274
- 255,
59275
- 165,
59276
- 0
59277
- ],
59278
- orangered: [
59279
- 255,
59280
- 69,
59281
- 0
59282
- ],
59283
- orchid: [
59284
- 218,
59285
- 112,
59286
- 214
59287
- ],
59288
- palegoldenrod: [
59289
- 238,
59290
- 232,
59291
- 170
59292
- ],
59293
- palegreen: [
59294
- 152,
59295
- 251,
59296
- 152
59297
- ],
59298
- paleturquoise: [
59299
- 175,
59300
- 238,
59301
- 238
59302
- ],
59303
- palevioletred: [
59304
- 219,
59305
- 112,
59306
- 147
59307
- ],
59308
- papayawhip: [
59309
- 255,
59310
- 239,
59311
- 213
59312
- ],
59313
- peachpuff: [
59314
- 255,
59315
- 218,
59316
- 185
59317
- ],
59318
- peru: [
59319
- 205,
59320
- 133,
59321
- 63
59322
- ],
59323
- pink: [
59324
- 255,
59325
- 192,
59326
- 203
59327
- ],
59328
- plum: [
59329
- 221,
59330
- 160,
59331
- 221
59332
- ],
59333
- powderblue: [
59334
- 176,
59335
- 224,
59336
- 230
59337
- ],
59338
- purple: [
59339
- 128,
59340
- 0,
59341
- 128
59342
- ],
59343
- rebeccapurple: [
59344
- 102,
59345
- 51,
59346
- 153
59347
- ],
59348
- red: [
59349
- 255,
59350
- 0,
59351
- 0
59352
- ],
59353
- rosybrown: [
59354
- 188,
59355
- 143,
59356
- 143
59357
- ],
59358
- royalblue: [
59359
- 65,
59360
- 105,
59361
- 225
59362
- ],
59363
- saddlebrown: [
59364
- 139,
59365
- 69,
59366
- 19
59367
- ],
59368
- salmon: [
59369
- 250,
59370
- 128,
59371
- 114
59372
- ],
59373
- sandybrown: [
59374
- 244,
59375
- 164,
59376
- 96
59377
- ],
59378
- seagreen: [
59379
- 46,
59380
- 139,
59381
- 87
59382
- ],
59383
- seashell: [
59384
- 255,
59385
- 245,
59386
- 238
59387
- ],
59388
- sienna: [
59389
- 160,
59390
- 82,
59391
- 45
59392
- ],
59393
- silver: [
59394
- 192,
59395
- 192,
59396
- 192
59397
- ],
59398
- skyblue: [
59399
- 135,
59400
- 206,
59401
- 235
59402
- ],
59403
- slateblue: [
59404
- 106,
59405
- 90,
59406
- 205
59407
- ],
59408
- slategray: [
59409
- 112,
59410
- 128,
59411
- 144
59412
- ],
59413
- slategrey: [
59414
- 112,
59415
- 128,
59416
- 144
59417
- ],
59418
- snow: [
59419
- 255,
59420
- 250,
59421
- 250
59422
- ],
59423
- springgreen: [
59424
- 0,
59425
- 255,
59426
- 127
59427
- ],
59428
- steelblue: [
59429
- 70,
59430
- 130,
59431
- 180
59432
- ],
59433
- tan: [
59434
- 210,
59435
- 180,
59436
- 140
59437
- ],
59438
- teal: [
59439
- 0,
59440
- 128,
59441
- 128
59442
- ],
59443
- thistle: [
59444
- 216,
59445
- 191,
59446
- 216
59447
- ],
59448
- tomato: [
59449
- 255,
59450
- 99,
59451
- 71
59452
- ],
59453
- turquoise: [
59454
- 64,
59455
- 224,
59456
- 208
59457
- ],
59458
- violet: [
59459
- 238,
59460
- 130,
59461
- 238
59462
- ],
59463
- wheat: [
59464
- 245,
59465
- 222,
59466
- 179
59467
- ],
59468
- white: [
59469
- 255,
59470
- 255,
59471
- 255
59472
- ],
59473
- whitesmoke: [
59474
- 245,
59475
- 245,
59476
- 245
59477
- ],
59478
- yellow: [
59479
- 255,
59480
- 255,
59481
- 0
59482
- ],
59483
- yellowgreen: [
59484
- 154,
59485
- 205,
59486
- 50
59487
- ]
59488
- };
59489
- //#endregion
59490
- //#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
59243
+ //#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
59491
59244
  const o = /^text-decoration$/i, creator$4 = (t) => {
59492
59245
  const c = Object.assign({ preserve: !0 }, t);
59493
59246
  return {
@@ -59687,7 +59440,7 @@ const r = [
59687
59440
  ], i = [
59688
59441
  "currentcolor",
59689
59442
  "transparent",
59690
- ...Object.keys(d)
59443
+ ...Object.keys(G$1)
59691
59444
  ];
59692
59445
  function genericNodeParts() {
59693
59446
  return {
@@ -59698,7 +59451,7 @@ function genericNodeParts() {
59698
59451
  };
59699
59452
  }
59700
59453
  //#endregion
59701
- //#region ../../node_modules/.pnpm/@csstools+postcss-trigonometric-functions@5.0.3_postcss@8.5.15/node_modules/@csstools/postcss-trigonometric-functions/dist/index.mjs
59454
+ //#region ../../node_modules/.pnpm/@csstools+postcss-trigonometric-functions@5.0.3_postcss@8.5.16/node_modules/@csstools/postcss-trigonometric-functions/dist/index.mjs
59702
59455
  const e$2 = /(?<![-\w])(?:asin|acos|atan|atan2|sin|cos|tan)\(/i, creator$3 = (o) => {
59703
59456
  const t = Object.assign({ preserve: !1 }, o);
59704
59457
  return {
@@ -59715,7 +59468,7 @@ const e$2 = /(?<![-\w])(?:asin|acos|atan|atan2|sin|cos|tan)\(/i, creator$3 = (o)
59715
59468
  };
59716
59469
  creator$3.postcss = !0;
59717
59470
  //#endregion
59718
- //#region ../../node_modules/.pnpm/@csstools+postcss-unset-value@5.0.0_postcss@8.5.15/node_modules/@csstools/postcss-unset-value/dist/index.mjs
59471
+ //#region ../../node_modules/.pnpm/@csstools+postcss-unset-value@5.0.0_postcss@8.5.16/node_modules/@csstools/postcss-unset-value/dist/index.mjs
59719
59472
  const e$1 = /* @__PURE__ */ new Set([
59720
59473
  "block-ellipsis",
59721
59474
  "border-boundary",
@@ -60153,7 +59906,7 @@ const e$1 = /* @__PURE__ */ new Set([
60153
59906
  };
60154
59907
  creator$2.postcss = !0;
60155
59908
  //#endregion
60156
- //#region ../../node_modules/.pnpm/postcss-preset-env@11.3.1_postcss@8.5.15/node_modules/postcss-preset-env/dist/index.mjs
59909
+ //#region ../../node_modules/.pnpm/postcss-preset-env@11.3.2_postcss@8.5.16/node_modules/postcss-preset-env/dist/index.mjs
60157
59910
  const ks = {
60158
59911
  "blank-pseudo-class": "https://github.com/csstools/postcss-plugins/blob/main/plugins/css-blank-pseudo/README.md#browser",
60159
59912
  "focus-visible-pseudo-class": "https://github.com/WICG/focus-visible",
@@ -60927,6 +60680,27 @@ const creator$1 = (e) => {
60927
60680
  };
60928
60681
  creator$1.postcss = !0;
60929
60682
  //#endregion
60683
+ //#region src/shared.ts
60684
+ const escapeOptionsCache = /* @__PURE__ */ new WeakMap();
60685
+ function getEscapeOptions(escapeMap) {
60686
+ let cached = escapeOptionsCache.get(escapeMap);
60687
+ if (!cached) {
60688
+ cached = { map: escapeMap };
60689
+ escapeOptionsCache.set(escapeMap, cached);
60690
+ }
60691
+ return cached;
60692
+ }
60693
+ function internalCssSelectorReplacer(selectors, options) {
60694
+ const escapeMap = options?.escapeMap;
60695
+ if (escapeMap === void 0 || escapeMap === _weapp_core_escape.MappingChars2String) return (0, _weapp_core_escape.escape)(selectors);
60696
+ return (0, _weapp_core_escape.escape)(selectors, getEscapeOptions(escapeMap));
60697
+ }
60698
+ function composeIsPseudo(strs) {
60699
+ if (typeof strs === "string") return strs;
60700
+ if (strs.length > 1) return `:is(${strs.join(",")})`;
60701
+ return strs.join("");
60702
+ }
60703
+ //#endregion
60930
60704
  //#region src/compat/web-css.ts
60931
60705
  const disabledFeatures = {
60932
60706
  theme: false,
@@ -61050,18 +60824,29 @@ function resolveCustomPropertyVarValue(value, customPropertyValues) {
61050
60824
  });
61051
60825
  return changed ? parsed.toString() : value;
61052
60826
  }
61053
- function insertModernColorFallbackDeclaration(decl, fallbackValue) {
61054
- if (decl.prev()?.type === "decl" && decl.prev().prop === decl.prop && decl.prev().value === fallbackValue) return;
61055
- decl.cloneBefore({ value: fallbackValue });
60827
+ function usesResolvableTailwindColorVariable(value, customPropertyValues) {
60828
+ if (!value.includes("var(")) return false;
60829
+ const parsed = (0, postcss_value_parser.default)(value);
60830
+ let usesColorVariable = false;
60831
+ parsed.walk((node) => {
60832
+ if (node.type !== "function" || node.value.toLowerCase() !== "var") return;
60833
+ const propertyNode = node.nodes.find((child) => child.type === "word" && child.value.startsWith("--color-"));
60834
+ if (propertyNode && customPropertyValues.has(propertyNode.value)) usesColorVariable = true;
60835
+ });
60836
+ return usesColorVariable;
61056
60837
  }
61057
60838
  function normalizeModernColorDeclarations(root, features) {
61058
60839
  if (!features.oklch && !features.colorFunctions) return;
61059
60840
  const customPropertyValues = collectCustomPropertyValues(root);
61060
60841
  root.walkDecls((decl) => {
61061
- const normalized = normalizeModernColorValue(resolveCustomPropertyVarValue(decl.value, customPropertyValues), customPropertyValues);
61062
- if (!normalized.changed) return;
61063
- if (!features.colorFunctions && !/oklch|oklab/i.test(decl.value)) return;
61064
- insertModernColorFallbackDeclaration(decl, normalized.value);
60842
+ const value = resolveCustomPropertyVarValue(decl.value, customPropertyValues);
60843
+ const normalized = normalizeModernColorValue(value, customPropertyValues);
60844
+ if (!normalized.changed) {
60845
+ if (value !== decl.value && usesResolvableTailwindColorVariable(decl.value, customPropertyValues)) decl.value = value;
60846
+ return;
60847
+ }
60848
+ if (!features.colorFunctions && !/oklch|oklab/i.test(value)) return;
60849
+ decl.value = normalized.value;
61065
60850
  });
61066
60851
  }
61067
60852
  function removeModernColorSupports(root) {
@@ -61071,6 +60856,39 @@ function removeModernColorSupports(root) {
61071
60856
  else atRule.remove();
61072
60857
  });
61073
60858
  }
60859
+ function normalizeTailwindcssV4GradientPositionDeclarations(root) {
60860
+ root.walkDecls("--tw-gradient-position", (decl) => {
60861
+ const normalized = normalizeTailwindcssV4GradientPosition(decl.value);
60862
+ if (normalized) {
60863
+ decl.value = normalized;
60864
+ return;
60865
+ }
60866
+ if (normalized === decl.value.trim()) return;
60867
+ const parent = decl.parent;
60868
+ if (parent?.type !== "rule") {
60869
+ decl.value = "to bottom";
60870
+ return;
60871
+ }
60872
+ const backgroundImageDecl = parent.nodes.find((node) => {
60873
+ return node.type === "decl" && node.prop === "background-image";
60874
+ });
60875
+ if (/^radial-gradient\(/i.test(backgroundImageDecl?.value ?? "")) {
60876
+ decl.value = "at center";
60877
+ return;
60878
+ }
60879
+ if (/^conic-gradient\(/i.test(backgroundImageDecl?.value ?? "")) {
60880
+ decl.value = "from 0deg";
60881
+ return;
60882
+ }
60883
+ decl.value = "to bottom";
60884
+ });
60885
+ }
60886
+ function normalizeTailwindcssV4InfinityCalcDeclarations(root) {
60887
+ root.walkDecls((decl) => {
60888
+ const normalized = normalizeTailwindcssV4InfinityCalcValue(decl.value);
60889
+ if (normalized !== decl.value) decl.value = normalized;
60890
+ });
60891
+ }
61074
60892
  function removeEmptyAtRules$1(root) {
61075
60893
  root.walkAtRules((atRule) => {
61076
60894
  if (atRule.nodes && atRule.nodes.length === 0) atRule.remove();
@@ -61097,6 +60915,8 @@ function transformWebCssCompat(css, options) {
61097
60915
  }
61098
60916
  if (normalized.features.supports) removeModernColorSupports(root);
61099
60917
  if (normalized.features.nesting) transformCssNesting(root);
60918
+ normalizeTailwindcssV4GradientPositionDeclarations(root);
60919
+ normalizeTailwindcssV4InfinityCalcDeclarations(root);
61100
60920
  normalizeModernColorDeclarations(root, normalized.features);
61101
60921
  removeEmptyAtRules$1(root);
61102
60922
  return root.toString();
@@ -61104,6 +60924,22 @@ function transformWebCssCompat(css, options) {
61104
60924
  return css;
61105
60925
  }
61106
60926
  }
60927
+ function transformWebCssSafeSelectors(css, options) {
60928
+ try {
60929
+ const root = postcss.default.parse(css);
60930
+ root.walkRules((rule) => {
60931
+ if (!rule.selector.includes(".")) return;
60932
+ rule.selector = (0, import_dist$1.default)((selectors) => {
60933
+ selectors.walkClasses((node) => {
60934
+ node.value = internalCssSelectorReplacer(node.value, options);
60935
+ });
60936
+ }).processSync(rule.selector);
60937
+ });
60938
+ return root.toString();
60939
+ } catch {
60940
+ return css;
60941
+ }
60942
+ }
61107
60943
  //#endregion
61108
60944
  //#region src/css-macro/auto.ts
61109
60945
  const CSS_MACRO_STYLE_OPTIONS_MARKER = "__weappTailwindcssCssMacroEnabled";
@@ -62021,6 +61857,18 @@ function resolveTailwindV4PostcssSourceCss(css, sourceOptions, root) {
62021
61857
  const packageName = sourceOptions.packageName ?? "tailwindcss";
62022
61858
  return isTailwindV4ApplyOnlyCss(css, root) ? `@import "${packageName}" source(none);\n@reference "${packageName}";\n${css}` : css;
62023
61859
  }
61860
+ function isMiniProgramGeneratorTarget(target) {
61861
+ return target !== "web";
61862
+ }
61863
+ function finalizeGeneratedCss(css, target, styleOptions, webCompat) {
61864
+ if (target === "web") return transformWebCssCompat(css, webCompat);
61865
+ if (!isMiniProgramGeneratorTarget(target)) return css;
61866
+ return finalizeMiniProgramCss(css, {
61867
+ cssSelectorReplacement: styleOptions?.cssOptions?.cssSelectorReplacement ?? styleOptions?.cssSelectorReplacement,
61868
+ isTailwindcssV4: true,
61869
+ tailwindcssV4GradientFallback: styleOptions?.cssOptions?.tailwindcssV4GradientFallback ?? styleOptions?.tailwindcssV4GradientFallback
61870
+ });
61871
+ }
62024
61872
  function createWeappTailwindcssPostcssPlugin(adapters) {
62025
61873
  const plugin = (options = {}) => {
62026
61874
  return {
@@ -62045,18 +61893,19 @@ function createWeappTailwindcssPostcssPlugin(adapters) {
62045
61893
  base,
62046
61894
  projectRoot
62047
61895
  });
62048
- const generated = await adapters.createGenerator(source).generate({
61896
+ const generator = adapters.createGenerator(source);
61897
+ const generatorStyleOptions = {
61898
+ ...generatorOptions.styleOptions,
61899
+ ...styleOptions
61900
+ };
61901
+ const generated = await generator.generate({
62049
61902
  candidates: /* @__PURE__ */ new Set([...autoCandidates, ...candidates ?? []]),
62050
61903
  scanSources: scanSources ?? false,
62051
61904
  sources: [...collectedSources.sources, ...sources ?? []],
62052
- styleOptions: {
62053
- ...generatorOptions.styleOptions,
62054
- ...styleOptions
62055
- },
61905
+ styleOptions: generatorStyleOptions,
62056
61906
  target: generatorOptions.target
62057
61907
  });
62058
- const css = isApplyOnlyTailwindV4Css ? filterApplyOnlyGeneratedCss(generated.css, applyOnlyCssSelectors ?? /* @__PURE__ */ new Set()) : generated.css;
62059
- replaceRootCss(root, generated.target === "web" ? transformWebCssCompat(css, generatorOptions.webCompat) : css, result);
61908
+ replaceRootCss(root, finalizeGeneratedCss(isApplyOnlyTailwindV4Css ? filterApplyOnlyGeneratedCss(generated.css, applyOnlyCssSelectors ?? /* @__PURE__ */ new Set()) : generated.css, generated.target, generatorStyleOptions, generatorOptions.webCompat), result);
62060
61909
  addDependencyMessages(result, generated);
62061
61910
  addSourceDependencyMessages(result, collectedSources.files);
62062
61911
  result.messages.push({
@@ -62200,9 +62049,52 @@ function splitLocalCssImports(source) {
62200
62049
  return;
62201
62050
  }
62202
62051
  }
62203
- function restoreLocalCssImports(css, imports) {
62052
+ function normalizeOutputPath(file) {
62053
+ const segments = [];
62054
+ for (const segment of file.replace(/\\/g, "/").replace(/^\/+/, "").split("/")) {
62055
+ if (!segment || segment === ".") continue;
62056
+ if (segment === "..") {
62057
+ if (segments.length > 0 && segments[segments.length - 1] !== "..") segments.pop();
62058
+ else segments.push(segment);
62059
+ continue;
62060
+ }
62061
+ segments.push(segment);
62062
+ }
62063
+ return segments.join("/");
62064
+ }
62065
+ function resolveOutputImportRequest(file, request) {
62066
+ const { clean } = splitRequestSuffix(request.replace(/\\/g, "/"));
62067
+ if (clean.startsWith("/")) return normalizeOutputPath(clean);
62068
+ const normalizedFile = normalizeOutputPath(file);
62069
+ const baseDir = normalizedFile.includes("/") ? normalizedFile.slice(0, normalizedFile.lastIndexOf("/")) : "";
62070
+ return normalizeOutputPath(baseDir ? `${baseDir}/${clean}` : clean);
62071
+ }
62072
+ function isSelfOutputImport(outputFile, node) {
62073
+ if (node.type !== "atrule" || node.name !== "import") return false;
62074
+ const request = parseImportRequest(node.params);
62075
+ return request !== void 0 && isLocalCssImportRequest(request) && resolveOutputImportRequest(outputFile, request) === normalizeOutputPath(outputFile);
62076
+ }
62077
+ function filterSelfOutputImports(imports, outputFile) {
62078
+ if (!outputFile) return imports;
62079
+ try {
62080
+ const root = postcss.default.parse(imports);
62081
+ let changed = false;
62082
+ root.walk((node) => {
62083
+ if (isSelfOutputImport(outputFile, node)) {
62084
+ node.remove();
62085
+ changed = true;
62086
+ }
62087
+ });
62088
+ return changed ? root.toString() : imports;
62089
+ } catch {
62090
+ return imports;
62091
+ }
62092
+ }
62093
+ function restoreLocalCssImports(css, imports, options = {}) {
62204
62094
  if (!imports?.trim()) return css;
62205
- return createCssSourceOrderAppend(imports, css);
62095
+ const filteredImports = filterSelfOutputImports(imports, options.outputFile);
62096
+ if (!filteredImports.trim()) return css;
62097
+ return createCssSourceOrderAppend(filteredImports, css);
62206
62098
  }
62207
62099
  function splitRequestSuffix(request) {
62208
62100
  const suffixIndexCandidates = [request.indexOf("?"), request.indexOf("#")].filter((index) => index >= 0);
@@ -63254,27 +63146,6 @@ function getFallbackRemove(_rule, options) {
63254
63146
  return entry.parser;
63255
63147
  }
63256
63148
  //#endregion
63257
- //#region src/shared.ts
63258
- const escapeOptionsCache = /* @__PURE__ */ new WeakMap();
63259
- function getEscapeOptions(escapeMap) {
63260
- let cached = escapeOptionsCache.get(escapeMap);
63261
- if (!cached) {
63262
- cached = { map: escapeMap };
63263
- escapeOptionsCache.set(escapeMap, cached);
63264
- }
63265
- return cached;
63266
- }
63267
- function internalCssSelectorReplacer(selectors, options) {
63268
- const escapeMap = options?.escapeMap;
63269
- if (escapeMap === void 0 || escapeMap === _weapp_core_escape.MappingChars2String) return (0, _weapp_core_escape.escape)(selectors);
63270
- return (0, _weapp_core_escape.escape)(selectors, getEscapeOptions(escapeMap));
63271
- }
63272
- function composeIsPseudo(strs) {
63273
- if (typeof strs === "string") return strs;
63274
- if (strs.length > 1) return `:is(${strs.join(",")})`;
63275
- return strs.join("");
63276
- }
63277
- //#endregion
63278
63149
  //#region src/utils/decl-order.ts
63279
63150
  /**
63280
63151
  * 将同一规则内的声明重排,使字面量优先,带变量的声明靠后,保持各自相对顺序。
@@ -65178,6 +65049,7 @@ exports.toPosixPath = toPosixPath;
65178
65049
  exports.transformCssMacroCss = transformCssMacroCss;
65179
65050
  exports.transformCssMacroTailwindV4Source = transformCssMacroTailwindV4Source;
65180
65051
  exports.transformWebCssCompat = transformWebCssCompat;
65052
+ exports.transformWebCssSafeSelectors = transformWebCssSafeSelectors;
65181
65053
  Object.defineProperty(exports, "unitConversionComposeRules", {
65182
65054
  enumerable: true,
65183
65055
  get: function() {