@tbela99/css-parser 2.2.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist/{lib/ast → ast}/arena-node.js +1 -1
- package/dist/{lib/ast → ast}/arena.js +1 -1
- package/dist/{lib/ast → ast}/cache.js +39 -23
- package/dist/{lib/ast → ast}/features/calc.js +1 -1
- package/dist/{lib/ast → ast}/features/if.js +1 -1
- package/dist/ast/features/index.d.ts +7 -0
- package/dist/{lib/ast → ast}/features/index.js +1 -1
- package/dist/{lib/ast → ast}/features/inlinecssvariables.js +1 -1
- package/dist/{lib/ast → ast}/features/mixin.js +1 -1
- package/dist/{lib/ast → ast}/features/prefix.js +1 -1
- package/dist/{lib/ast → ast}/features/shorthand.js +1 -1
- package/dist/{lib/ast → ast}/features/transform.js +1 -1
- package/dist/{lib/ast → ast}/features/type.js +1 -1
- package/dist/{lib/ast → ast}/math/expression.js +1 -1
- package/dist/{lib/ast → ast}/math/math.js +1 -1
- package/dist/{lib/ast → ast}/minify.js +1 -1
- package/dist/{lib/ast → ast}/mixins/custom-function.js +1 -1
- package/dist/{lib/ast → ast}/mixins/utils.js +1 -1
- package/dist/{lib/ast → ast}/mixins/variables.js +1 -1
- package/dist/{lib/ast → ast}/strings.js +5 -1
- package/dist/{lib/ast → ast}/transform/compute.js +1 -1
- package/dist/{lib/ast → ast}/transform/matrix.js +1 -1
- package/dist/{lib/ast → ast}/transform/minify.js +1 -1
- package/dist/{lib/ast → ast}/transform/perspective.js +1 -1
- package/dist/{lib/ast → ast}/transform/rotate.js +1 -1
- package/dist/{lib/ast → ast}/transform/scale.js +1 -1
- package/dist/{lib/ast → ast}/transform/skew.js +1 -1
- package/dist/{lib/ast → ast}/transform/translate.js +1 -1
- package/dist/{lib/ast → ast}/transform/utils.js +1 -1
- package/dist/{lib/ast → ast}/types.js +1 -1
- package/dist/{lib/ast → ast}/walk.js +1 -1
- package/dist/data/properties.json.js +1 -1
- package/dist/data/validation.json.js +26 -20
- package/dist/{lib/fs → fs}/resolve.js +1 -1
- package/dist/index-umd-web.js +2755 -126
- package/dist/index.d.ts +6 -2
- package/dist/node.js +21 -21
- package/dist/{lib/parser → parser}/declaration/list.js +1 -1
- package/dist/{lib/parser → parser}/declaration/map.js +1 -1
- package/dist/{lib/parser → parser}/declaration/set.js +1 -1
- package/dist/{lib/parser → parser}/input.js +1 -1
- package/dist/{lib/parser → parser}/linesmap.js +1 -1
- package/dist/{lib/parser → parser}/parse.js +20 -21
- package/dist/{lib/parser → parser}/source.js +2 -2
- package/dist/{lib/parser → parser}/tokenize.js +1 -1
- package/dist/{lib/parser → parser}/utils/angle.js +1 -1
- package/dist/{lib/parser → parser}/utils/at-rule-container.js +1 -1
- package/dist/{lib/parser → parser}/utils/at-rule-font-feature-values.js +1 -1
- package/dist/{lib/parser → parser}/utils/at-rule-generic.js +1 -1
- package/dist/{lib/parser → parser}/utils/at-rule-import.js +1 -1
- package/dist/{lib/parser → parser}/utils/at-rule-media.js +1 -1
- package/dist/{lib/parser → parser}/utils/at-rule-support.js +1 -1
- package/dist/{lib/parser → parser}/utils/at-rule-when-else.js +1 -1
- package/dist/{lib/parser → parser}/utils/at-rule.js +1 -1
- package/dist/{lib/parser → parser}/utils/base64.js +1 -1
- package/dist/{lib/parser → parser}/utils/cache.js +1 -1
- package/dist/{lib/parser → parser}/utils/canonical.js +1 -1
- package/dist/{lib/parser → parser}/utils/codes.js +1 -1
- package/dist/{lib/parser → parser}/utils/config.js +2 -2
- package/dist/{lib/parser → parser}/utils/declaration.js +1 -1
- package/dist/{lib/parser → parser}/utils/eq.js +1 -1
- package/dist/{lib/parser → parser}/utils/hash.js +1 -1
- package/dist/{lib/parser → parser}/utils/selector.js +38 -28
- package/dist/{lib/parser → parser}/utils/text.js +1 -1
- package/dist/{lib/parser → parser}/utils/token.js +1 -1
- package/dist/{lib/parser → parser}/utils/type.js +1 -1
- package/dist/{lib/printer/sourcemap → printer}/lib/codec.js +1 -1
- package/dist/{lib/printer → printer}/render.js +184 -23
- package/dist/{lib/printer → printer}/result.js +1 -1
- package/dist/{lib/printer/sourcemap → printer}/sourcemap.js +3 -2
- package/dist/{lib/printer → printer}/writer.js +1 -1
- package/dist/{lib/syntax → syntax}/color/a98rgb.js +1 -1
- package/dist/{lib/syntax → syntax}/color/alpha.js +1 -1
- package/dist/{lib/syntax → syntax}/color/cmyk.js +1 -1
- package/dist/{lib/syntax → syntax}/color/color-mix.js +1 -1
- package/dist/{lib/syntax → syntax}/color/color.js +1 -1
- package/dist/{lib/syntax → syntax}/color/hex.js +1 -1
- package/dist/{lib/syntax → syntax}/color/hsl.js +1 -1
- package/dist/{lib/syntax → syntax}/color/hwb.js +1 -1
- package/dist/{lib/syntax → syntax}/color/lab.js +1 -1
- package/dist/{lib/syntax → syntax}/color/lch.js +1 -1
- package/dist/{lib/syntax → syntax}/color/oklab.js +1 -1
- package/dist/{lib/syntax → syntax}/color/oklch.js +1 -1
- package/dist/{lib/syntax → syntax}/color/p3.js +1 -1
- package/dist/{lib/syntax → syntax}/color/prophotorgb.js +1 -1
- package/dist/{lib/syntax → syntax}/color/rec2020.js +1 -1
- package/dist/{lib/syntax → syntax}/color/relative-color.js +1 -1
- package/dist/{lib/syntax → syntax}/color/rgb.js +1 -1
- package/dist/{lib/syntax → syntax}/color/srgb.js +1 -1
- package/dist/{lib/syntax → syntax}/color/utils/color-type.js +1 -1
- package/dist/{lib/syntax → syntax}/color/utils/colorspace.js +1 -1
- package/dist/{lib/syntax → syntax}/color/utils/components.js +1 -1
- package/dist/{lib/syntax → syntax}/color/utils/distance.js +1 -1
- package/dist/{lib/syntax → syntax}/color/utils/make-color.js +1 -1
- package/dist/{lib/syntax → syntax}/color/utils/matrix.js +1 -1
- package/dist/{lib/syntax → syntax}/color/xyz.js +1 -1
- package/dist/{lib/syntax → syntax}/color/xyzd50.js +1 -1
- package/dist/{lib/syntax → syntax}/constants.js +2 -2
- package/dist/{lib/syntax → syntax}/syntax.js +1 -1
- package/dist/types.js +1 -1
- package/dist/utils/sync.js +3 -3
- package/dist/validation/compiled/builtins.js +32 -0
- package/dist/validation/compiled/runtime.js +705 -0
- package/dist/validation/compiled/syntaxes.js +1620 -0
- package/dist/{lib/validation → validation}/config.js +41 -7
- package/dist/{lib/validation → validation}/first.js +6 -3
- package/dist/{lib/validation → validation}/match.js +87 -14
- package/dist/{lib/validation → validation}/parser/parse.js +1 -1
- package/dist/{lib/validation → validation}/parser/typedef.js +1 -1
- package/dist/{lib/validation → validation}/utils/list.js +1 -1
- package/dist/version.js +2 -2
- package/dist/web.js +23 -23
- package/package.json +4 -2
- package/dist/types.d.ts +0 -21
- package/dist/utils/sync.d.ts +0 -16
- package/dist/version.d.ts +0 -4
package/dist/index-umd-web.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
CSS parser, minifier and validator for node, deno, bun and the browser
|
|
3
3
|
|
|
4
4
|
Author(s): Thierry Bela
|
|
5
|
-
Version: 2.
|
|
5
|
+
Version: 2.3.0
|
|
6
6
|
License: MIT
|
|
7
7
|
*/
|
|
8
8
|
(function (global, factory) {
|
|
@@ -2024,7 +2024,7 @@
|
|
|
2024
2024
|
}
|
|
2025
2025
|
},
|
|
2026
2026
|
"@container": {
|
|
2027
|
-
syntax: "@container <container-
|
|
2027
|
+
syntax: "@container <container-query-list> { <rule-list> }",
|
|
2028
2028
|
descriptors: {
|
|
2029
2029
|
"aspect-ratio": "<ratio>",
|
|
2030
2030
|
"block-size": "<length>",
|
|
@@ -2116,7 +2116,7 @@
|
|
|
2116
2116
|
}
|
|
2117
2117
|
},
|
|
2118
2118
|
"@function": {
|
|
2119
|
-
syntax: "@function <function-token> <function-parameter>#? ) [ returns <css-type> ]? { <declaration-rule-list> }",
|
|
2119
|
+
syntax: "@function <function-token> <function-parameter>#? ','? ) [ returns <css-type> ]? { <declaration-rule-list> }",
|
|
2120
2120
|
descriptors: {
|
|
2121
2121
|
result: "<declaration-value>?"
|
|
2122
2122
|
}
|
|
@@ -3390,7 +3390,7 @@
|
|
|
3390
3390
|
syntax: "<'print-color-adjust'>"
|
|
3391
3391
|
},
|
|
3392
3392
|
"color-interpolation": {
|
|
3393
|
-
syntax: "auto | sRGB | linearRGB"
|
|
3393
|
+
syntax: "auto | sRGB | linearRGB | <color-interpolation-method>"
|
|
3394
3394
|
},
|
|
3395
3395
|
"color-interpolation-filters": {
|
|
3396
3396
|
syntax: "auto | sRGB | linearRGB"
|
|
@@ -4023,7 +4023,7 @@
|
|
|
4023
4023
|
syntax: "auto | loose | normal | strict | anywhere"
|
|
4024
4024
|
},
|
|
4025
4025
|
"line-clamp": {
|
|
4026
|
-
syntax: "none | [<
|
|
4026
|
+
syntax: "none | [<integer [1,∞]> || auto || <'block-ellipsis'>] -webkit-legacy?"
|
|
4027
4027
|
},
|
|
4028
4028
|
"line-fit-edge": {
|
|
4029
4029
|
syntax: "leading | <text-edge>"
|
|
@@ -4185,7 +4185,7 @@
|
|
|
4185
4185
|
syntax: "none | <box-size> | <anchor-size()>"
|
|
4186
4186
|
},
|
|
4187
4187
|
"max-lines": {
|
|
4188
|
-
syntax: "
|
|
4188
|
+
syntax: "<integer [1,∞]> || auto"
|
|
4189
4189
|
},
|
|
4190
4190
|
"max-size": {
|
|
4191
4191
|
syntax: "<'max-width'> <'max-height'>?"
|
|
@@ -4269,7 +4269,7 @@
|
|
|
4269
4269
|
syntax: "auto | <'border-top-color'>"
|
|
4270
4270
|
},
|
|
4271
4271
|
"outline-offset": {
|
|
4272
|
-
syntax: "<length>"
|
|
4272
|
+
syntax: "<length> | inset"
|
|
4273
4273
|
},
|
|
4274
4274
|
"outline-style": {
|
|
4275
4275
|
syntax: "auto | <outline-line-style>"
|
|
@@ -4467,10 +4467,10 @@
|
|
|
4467
4467
|
syntax: "economy | exact"
|
|
4468
4468
|
},
|
|
4469
4469
|
quotes: {
|
|
4470
|
-
syntax: "auto | none |
|
|
4470
|
+
syntax: "auto | none | [ <string> <string> ]+"
|
|
4471
4471
|
},
|
|
4472
4472
|
r: {
|
|
4473
|
-
syntax: "<length-percentage>"
|
|
4473
|
+
syntax: "<length-percentage [0,∞]>"
|
|
4474
4474
|
},
|
|
4475
4475
|
"reading-flow": {
|
|
4476
4476
|
syntax: "normal | source-order | flex-visual | flex-flow | grid-rows | grid-columns | grid-order"
|
|
@@ -4596,10 +4596,10 @@
|
|
|
4596
4596
|
syntax: "<'column-rule-width'>"
|
|
4597
4597
|
},
|
|
4598
4598
|
rx: {
|
|
4599
|
-
syntax: "<length-percentage> | auto"
|
|
4599
|
+
syntax: "<length-percentage [0,∞]> | auto"
|
|
4600
4600
|
},
|
|
4601
4601
|
ry: {
|
|
4602
|
-
syntax: "<length-percentage> | auto"
|
|
4602
|
+
syntax: "<length-percentage [0,∞]> | auto"
|
|
4603
4603
|
},
|
|
4604
4604
|
scale: {
|
|
4605
4605
|
syntax: "none | [ <number> | <percentage> ]{1,3}"
|
|
@@ -4862,6 +4862,9 @@
|
|
|
4862
4862
|
"text-autospace": {
|
|
4863
4863
|
syntax: "normal | <autospace> | auto"
|
|
4864
4864
|
},
|
|
4865
|
+
"text-autospace-size": {
|
|
4866
|
+
syntax: "<number [0,∞]>"
|
|
4867
|
+
},
|
|
4865
4868
|
"text-box": {
|
|
4866
4869
|
syntax: "normal | <'text-box-trim'> || <'text-box-edge'>"
|
|
4867
4870
|
},
|
|
@@ -5830,6 +5833,9 @@
|
|
|
5830
5833
|
"::-ms-value": {
|
|
5831
5834
|
syntax: "::-ms-value"
|
|
5832
5835
|
},
|
|
5836
|
+
"::-webkit-input-placeholder": {
|
|
5837
|
+
syntax: "::-webkit-input-placeholder"
|
|
5838
|
+
},
|
|
5833
5839
|
"::-webkit-progress-bar": {
|
|
5834
5840
|
syntax: "::-webkit-progress-bar"
|
|
5835
5841
|
},
|
|
@@ -6726,6 +6732,9 @@
|
|
|
6726
6732
|
"log()": {
|
|
6727
6733
|
syntax: "log( <calc-sum>, <calc-sum>? )"
|
|
6728
6734
|
},
|
|
6735
|
+
"marker-ref": {
|
|
6736
|
+
syntax: "<url>"
|
|
6737
|
+
},
|
|
6729
6738
|
"matrix()": {
|
|
6730
6739
|
syntax: "matrix( <number>#{6} )"
|
|
6731
6740
|
},
|
|
@@ -6778,7 +6787,7 @@
|
|
|
6778
6787
|
syntax: "palette-mix( <color-interpolation-method>? , [ <'font-palette'> && <percentage [0,100]>? ]# )"
|
|
6779
6788
|
},
|
|
6780
6789
|
"param()": {
|
|
6781
|
-
syntax: "param( <param-spec>
|
|
6790
|
+
syntax: "param( <param-spec> [ ':' <declaration-value>? ]? )"
|
|
6782
6791
|
},
|
|
6783
6792
|
"path()": {
|
|
6784
6793
|
syntax: "path( <'fill-rule'>? , <string> )"
|
|
@@ -7358,6 +7367,9 @@
|
|
|
7358
7367
|
"container-query": {
|
|
7359
7368
|
syntax: "not <query-in-parens> | <query-in-parens> [ [ and <query-in-parens> ]* | [ or <query-in-parens> ]* ]"
|
|
7360
7369
|
},
|
|
7370
|
+
"container-query-list": {
|
|
7371
|
+
syntax: "<container-condition>#"
|
|
7372
|
+
},
|
|
7361
7373
|
"content-distribution": {
|
|
7362
7374
|
syntax: "space-between | space-around | space-evenly | stretch"
|
|
7363
7375
|
},
|
|
@@ -7430,14 +7442,11 @@
|
|
|
7430
7442
|
"custom-selector": {
|
|
7431
7443
|
syntax: "<custom-arg>? : <extension-name> [ ( <custom-arg>+#? ) ]?"
|
|
7432
7444
|
},
|
|
7433
|
-
dasharray: {
|
|
7434
|
-
syntax: "[ [ <length-percentage> | <number> ]+ ]#"
|
|
7435
|
-
},
|
|
7436
7445
|
"dashndashdigit-ident": {
|
|
7437
7446
|
syntax: "<ident-token>"
|
|
7438
7447
|
},
|
|
7439
7448
|
"default-value": {
|
|
7440
|
-
syntax: "<declaration-value
|
|
7449
|
+
syntax: "<declaration-value>?"
|
|
7441
7450
|
},
|
|
7442
7451
|
"deprecated-color": {
|
|
7443
7452
|
syntax: "ActiveBorder | ActiveCaption | AppWorkspace | Background | ButtonHighlight | ButtonShadow | CaptionText | InactiveBorder | InactiveCaption | InactiveCaptionText | InfoBackground | InfoText | Menu | MenuText | Scrollbar | ThreeDDarkShadow | ThreeDFace | ThreeDHighlight | ThreeDLightShadow | ThreeDShadow | Window | WindowFrame | WindowText"
|
|
@@ -7772,9 +7781,6 @@
|
|
|
7772
7781
|
"location-rule": {
|
|
7773
7782
|
syntax: "@location <dashed-ident> { <declaration-list> }"
|
|
7774
7783
|
},
|
|
7775
|
-
"marker-ref": {
|
|
7776
|
-
syntax: "<url>"
|
|
7777
|
-
},
|
|
7778
7784
|
"mask-layer": {
|
|
7779
7785
|
syntax: "<mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || <geometry-box> || [ <geometry-box> | no-clip ] || <compositing-operator> || <masking-mode>"
|
|
7780
7786
|
},
|
|
@@ -8217,7 +8223,7 @@
|
|
|
8217
8223
|
syntax: "<length> | auto"
|
|
8218
8224
|
},
|
|
8219
8225
|
"spacing-trim": {
|
|
8220
|
-
syntax: "
|
|
8226
|
+
syntax: "[ trim-start | space-start | space-first ] || [ trim-adjacent | space-adjacent ] || [ trim-end | space-end | allow-end ] | trim-both | space-all | trim-all"
|
|
8221
8227
|
},
|
|
8222
8228
|
"spread-shadow": {
|
|
8223
8229
|
syntax: "<'box-shadow-color'>? && [ [ none | <length>{2} ] [ <'box-shadow-blur'> <'box-shadow-spread'>? ]? ] && <'box-shadow-position'>?"
|
|
@@ -13839,7 +13845,7 @@
|
|
|
13839
13845
|
const parsedSyntaxes = new WeakMap();
|
|
13840
13846
|
Object.freeze(config$4);
|
|
13841
13847
|
function getSyntaxConfig() {
|
|
13842
|
-
// @ts-
|
|
13848
|
+
// @ts-ignore
|
|
13843
13849
|
return config$4;
|
|
13844
13850
|
}
|
|
13845
13851
|
/**
|
|
@@ -13912,7 +13918,7 @@
|
|
|
13912
13918
|
return obj;
|
|
13913
13919
|
}
|
|
13914
13920
|
const getParsedSyntax = memoize((group, key) => {
|
|
13915
|
-
// @ts-
|
|
13921
|
+
// @ts-ignore
|
|
13916
13922
|
const obj = findNode(group, key);
|
|
13917
13923
|
if (obj == null) {
|
|
13918
13924
|
return null;
|
|
@@ -13921,9 +13927,43 @@
|
|
|
13921
13927
|
if (syntax === undefined) {
|
|
13922
13928
|
syntax = Object.freeze(trimSyntaxArray(parseSyntax(obj.syntax)));
|
|
13923
13929
|
parsedSyntaxes.set(obj, syntax);
|
|
13930
|
+
syntaxNodes.set(syntax, obj);
|
|
13924
13931
|
}
|
|
13925
13932
|
return syntax;
|
|
13926
13933
|
});
|
|
13934
|
+
/**
|
|
13935
|
+
* the definition node of a parsed syntax, see {@link syntaxKey}
|
|
13936
|
+
*/
|
|
13937
|
+
const syntaxNodes = new WeakMap();
|
|
13938
|
+
/**
|
|
13939
|
+
* the key of the definitions that are compiled (`group/name`, see scripts/compile-syntax.ts), by definition node
|
|
13940
|
+
*/
|
|
13941
|
+
let nodeKeys = null;
|
|
13942
|
+
/**
|
|
13943
|
+
* the key of the definition of a parsed syntax (`declarations/width`, `types/color`), see scripts/compile-syntax.ts.
|
|
13944
|
+
* null if the syntax is not the syntax of a declaration, a type or a function (a descriptor, ...)
|
|
13945
|
+
* @param syntaxes a syntax returned by {@link getParsedSyntax}
|
|
13946
|
+
*/
|
|
13947
|
+
function syntaxKey(syntaxes) {
|
|
13948
|
+
const node = syntaxNodes.get(syntaxes);
|
|
13949
|
+
if (node === undefined) {
|
|
13950
|
+
return null;
|
|
13951
|
+
}
|
|
13952
|
+
if (nodeKeys === null) {
|
|
13953
|
+
nodeKeys = new Map();
|
|
13954
|
+
const groups = config$4;
|
|
13955
|
+
for (const group of [
|
|
13956
|
+
ValidationSyntaxGroupEnum.Declarations,
|
|
13957
|
+
ValidationSyntaxGroupEnum.Syntaxes,
|
|
13958
|
+
ValidationSyntaxGroupEnum.Types,
|
|
13959
|
+
]) {
|
|
13960
|
+
for (const [key, value] of Object.entries(groups[group] ?? {})) {
|
|
13961
|
+
nodeKeys.set(value, group + "/" + key);
|
|
13962
|
+
}
|
|
13963
|
+
}
|
|
13964
|
+
}
|
|
13965
|
+
return nodeKeys.get(node) ?? null;
|
|
13966
|
+
}
|
|
13927
13967
|
const getSyntaxRule = memoize((group, key) => {
|
|
13928
13968
|
const node = findNode(group, key);
|
|
13929
13969
|
if (node == null) {
|
|
@@ -13955,10 +13995,10 @@
|
|
|
13955
13995
|
let block = blockStart === -1 ? null : trimSyntaxArray(syntaxRules.slice(blockStart + 1, blockEnd));
|
|
13956
13996
|
let prelude = trimSyntaxArray(blockStart === -1 ? syntaxRules.slice() : syntaxRules.slice(0, blockStart));
|
|
13957
13997
|
let propertyDescriptors = null;
|
|
13958
|
-
// @ts-
|
|
13998
|
+
// @ts-ignore
|
|
13959
13999
|
if (node.descriptors != null) {
|
|
13960
14000
|
propertyDescriptors = {};
|
|
13961
|
-
// @ts-
|
|
14001
|
+
// @ts-ignore
|
|
13962
14002
|
for (const [key, value] of Object.entries(node.descriptors)) {
|
|
13963
14003
|
// @ts-expect-error
|
|
13964
14004
|
propertyDescriptors[key] = parseSyntax(typeof value === "string" ? value : value.syntax);
|
|
@@ -14377,8 +14417,8 @@
|
|
|
14377
14417
|
*/
|
|
14378
14418
|
const cssWideKeywords = getSyntaxConfig().declarations.all.syntax.split(/[\s|]+/g);
|
|
14379
14419
|
/**
|
|
14380
|
-
* the token may match a syntax that does not accept its type (`var()`, `env()`, `attr()`, the
|
|
14381
|
-
* wide keywords, ...): the first token sets do not apply
|
|
14420
|
+
* the token may match a syntax that does not accept its type (`var()`, `env()`, `attr()`, the custom function calls,
|
|
14421
|
+
* the math functions, the css wide keywords, ...): the first token sets do not apply
|
|
14382
14422
|
* @param arena
|
|
14383
14423
|
* @param token
|
|
14384
14424
|
* @param typ
|
|
@@ -14389,6 +14429,9 @@
|
|
|
14389
14429
|
case exports.EnumToken.WildCardFunctionTokenDefType:
|
|
14390
14430
|
case exports.EnumToken.MathFunctionTokenType:
|
|
14391
14431
|
case exports.EnumToken.MathFunctionTokenDefType:
|
|
14432
|
+
// a custom function call is substituted by its result, like var()
|
|
14433
|
+
case exports.EnumToken.CustomFunctionTokenType:
|
|
14434
|
+
case exports.EnumToken.CustomFunctionTokenDefType:
|
|
14392
14435
|
return true;
|
|
14393
14436
|
case exports.EnumToken.IdenTokenType: {
|
|
14394
14437
|
const value = arena.resolveString(arena.stringValue[token]);
|
|
@@ -14549,6 +14592,2329 @@
|
|
|
14549
14592
|
return matchesAnySyntax(arena, token, typ) || accepts(set, typ, tokenName(arena, token, typ));
|
|
14550
14593
|
}
|
|
14551
14594
|
|
|
14595
|
+
/**
|
|
14596
|
+
* the compiled definitions, `group/name`, by index
|
|
14597
|
+
*/
|
|
14598
|
+
const keys = ["declarations/-moz-appearance", "declarations/-moz-background-clip", "declarations/-moz-binding", "declarations/-moz-border-bottom-colors", "declarations/-moz-border-left-colors", "declarations/-moz-border-radius-bottomleft", "declarations/-moz-border-radius-bottomright", "declarations/-moz-border-radius-topleft", "declarations/-moz-border-radius-topright", "declarations/-moz-border-right-colors", "declarations/-moz-border-top-colors", "declarations/-moz-context-properties", "declarations/-moz-control-character-visibility", "declarations/-moz-float-edge", "declarations/-moz-force-broken-image-icon", "declarations/-moz-orient", "declarations/-moz-osx-font-smoothing", "declarations/-moz-outline-radius", "declarations/-moz-outline-radius-bottomleft", "declarations/-moz-outline-radius-bottomright", "declarations/-moz-outline-radius-topleft", "declarations/-moz-outline-radius-topright", "declarations/-moz-padding-start", "declarations/-moz-stack-sizing", "declarations/-moz-text-blink", "declarations/-moz-user-focus", "declarations/-moz-user-input", "declarations/-moz-user-modify", "declarations/-moz-user-select", "declarations/-moz-window-dragging", "declarations/-moz-window-shadow", "declarations/-ms-accelerator", "declarations/-ms-block-progression", "declarations/-ms-content-zoom-chaining", "declarations/-ms-content-zoom-limit", "declarations/-ms-content-zoom-limit-max", "declarations/-ms-content-zoom-limit-min", "declarations/-ms-content-zoom-snap", "declarations/-ms-content-zoom-snap-points", "declarations/-ms-content-zoom-snap-type", "declarations/-ms-content-zooming", "declarations/-ms-filter", "declarations/-ms-flex-align", "declarations/-ms-flex-item-align", "declarations/-ms-flex-line-pack", "declarations/-ms-flex-negative", "declarations/-ms-flex-order", "declarations/-ms-flex-pack", "declarations/-ms-flex-positive", "declarations/-ms-flex-preferred-size", "declarations/-ms-flow-from", "declarations/-ms-flow-into", "declarations/-ms-grid-column-align", "declarations/-ms-grid-columns", "declarations/-ms-grid-row-align", "declarations/-ms-grid-rows", "declarations/-ms-high-contrast-adjust", "declarations/-ms-hyphenate-limit-chars", "declarations/-ms-hyphenate-limit-last", "declarations/-ms-hyphenate-limit-lines", "declarations/-ms-hyphenate-limit-zone", "declarations/-ms-ime-align", "declarations/-ms-interpolation-mode", "declarations/-ms-overflow-style", "declarations/-ms-scroll-chaining", "declarations/-ms-scroll-limit", "declarations/-ms-scroll-limit-x-max", "declarations/-ms-scroll-limit-x-min", "declarations/-ms-scroll-limit-y-max", "declarations/-ms-scroll-limit-y-min", "declarations/-ms-scroll-rails", "declarations/-ms-scroll-snap-points-x", "declarations/-ms-scroll-snap-points-y", "declarations/-ms-scroll-snap-type", "declarations/-ms-scroll-snap-x", "declarations/-ms-scroll-snap-y", "declarations/-ms-scroll-translation", "declarations/-ms-scrollbar-3dlight-color", "declarations/-ms-scrollbar-arrow-color", "declarations/-ms-scrollbar-base-color", "declarations/-ms-scrollbar-darkshadow-color", "declarations/-ms-scrollbar-face-color", "declarations/-ms-scrollbar-highlight-color", "declarations/-ms-scrollbar-shadow-color", "declarations/-ms-scrollbar-track-color", "declarations/-ms-text-autospace", "declarations/-ms-touch-select", "declarations/-ms-user-select", "declarations/-ms-wrap-flow", "declarations/-ms-wrap-margin", "declarations/-ms-wrap-through", "declarations/-webkit-appearance", "declarations/-webkit-background-clip", "declarations/-webkit-border-after", "declarations/-webkit-border-after-color", "declarations/-webkit-border-after-style", "declarations/-webkit-border-after-width", "declarations/-webkit-border-before", "declarations/-webkit-border-before-color", "declarations/-webkit-border-before-style", "declarations/-webkit-border-before-width", "declarations/-webkit-border-end", "declarations/-webkit-border-end-color", "declarations/-webkit-border-end-style", "declarations/-webkit-border-end-width", "declarations/-webkit-border-start", "declarations/-webkit-border-start-color", "declarations/-webkit-border-start-style", "declarations/-webkit-border-start-width", "declarations/-webkit-box-reflect", "declarations/-webkit-column-break-after", "declarations/-webkit-column-break-before", "declarations/-webkit-column-break-inside", "declarations/-webkit-font-smoothing", "declarations/-webkit-line-clamp", "declarations/-webkit-margin-end", "declarations/-webkit-mask", "declarations/-webkit-mask-attachment", "declarations/-webkit-mask-box-image", "declarations/-webkit-mask-clip", "declarations/-webkit-mask-composite", "declarations/-webkit-mask-origin", "declarations/-webkit-mask-position-x", "declarations/-webkit-mask-position-y", "declarations/-webkit-mask-repeat-x", "declarations/-webkit-mask-repeat-y", "declarations/-webkit-overflow-scrolling", "declarations/-webkit-print-color-adjust", "declarations/-webkit-tap-highlight-color", "declarations/-webkit-text-fill-color", "declarations/-webkit-text-security", "declarations/-webkit-text-stroke", "declarations/-webkit-text-stroke-color", "declarations/-webkit-text-stroke-width", "declarations/-webkit-touch-callout", "declarations/-webkit-user-drag", "declarations/-webkit-user-modify", "declarations/-webkit-user-select", "declarations/accent-color", "declarations/align-content", "declarations/align-items", "declarations/align-self", "declarations/align-tracks", "declarations/alignment-baseline", "declarations/all", "declarations/anchor-name", "declarations/anchor-scope", "declarations/animation", "declarations/animation-composition", "declarations/animation-delay", "declarations/animation-delay-end", "declarations/animation-delay-start", "declarations/animation-direction", "declarations/animation-duration", "declarations/animation-fill-mode", "declarations/animation-iteration-count", "declarations/animation-name", "declarations/animation-play-state", "declarations/animation-range", "declarations/animation-range-center", "declarations/animation-range-end", "declarations/animation-range-start", "declarations/animation-timeline", "declarations/animation-timing-function", "declarations/animation-trigger", "declarations/appearance", "declarations/aspect-ratio", "declarations/backdrop-filter", "declarations/backface-visibility", "declarations/background", "declarations/background-attachment", "declarations/background-blend-mode", "declarations/background-clip", "declarations/background-color", "declarations/background-image", "declarations/background-origin", "declarations/background-position", "declarations/background-position-block", "declarations/background-position-inline", "declarations/background-position-x", "declarations/background-position-y", "declarations/background-repeat", "declarations/background-repeat-block", "declarations/background-repeat-inline", "declarations/background-repeat-x", "declarations/background-repeat-y", "declarations/background-size", "declarations/background-tbd", "declarations/baseline-shift", "declarations/baseline-source", "declarations/behavior", "declarations/block-ellipsis", "declarations/block-size", "declarations/block-step", "declarations/block-step-align", "declarations/block-step-insert", "declarations/block-step-round", "declarations/block-step-size", "declarations/bookmark-label", "declarations/bookmark-level", "declarations/bookmark-state", "declarations/border", "declarations/border-block", "declarations/border-block-clip", "declarations/border-block-color", "declarations/border-block-end", "declarations/border-block-end-clip", "declarations/border-block-end-color", "declarations/border-block-end-radius", "declarations/border-block-end-style", "declarations/border-block-end-width", "declarations/border-block-start", "declarations/border-block-start-clip", "declarations/border-block-start-color", "declarations/border-block-start-radius", "declarations/border-block-start-style", "declarations/border-block-start-width", "declarations/border-block-style", "declarations/border-block-width", "declarations/border-bottom", "declarations/border-bottom-clip", "declarations/border-bottom-color", "declarations/border-bottom-left-radius", "declarations/border-bottom-radius", "declarations/border-bottom-right-radius", "declarations/border-bottom-style", "declarations/border-bottom-width", "declarations/border-boundary", "declarations/border-clip", "declarations/border-collapse", "declarations/border-color", "declarations/border-end-end-radius", "declarations/border-end-start-radius", "declarations/border-image", "declarations/border-image-outset", "declarations/border-image-repeat", "declarations/border-image-slice", "declarations/border-image-source", "declarations/border-image-width", "declarations/border-inline", "declarations/border-inline-clip", "declarations/border-inline-color", "declarations/border-inline-end", "declarations/border-inline-end-clip", "declarations/border-inline-end-color", "declarations/border-inline-end-radius", "declarations/border-inline-end-style", "declarations/border-inline-end-width", "declarations/border-inline-start", "declarations/border-inline-start-clip", "declarations/border-inline-start-color", "declarations/border-inline-start-radius", "declarations/border-inline-start-style", "declarations/border-inline-start-width", "declarations/border-inline-style", "declarations/border-inline-width", "declarations/border-left", "declarations/border-left-clip", "declarations/border-left-color", "declarations/border-left-radius", "declarations/border-left-style", "declarations/border-left-width", "declarations/border-limit", "declarations/border-radius", "declarations/border-right", "declarations/border-right-clip", "declarations/border-right-color", "declarations/border-right-radius", "declarations/border-right-style", "declarations/border-right-width", "declarations/border-shape", "declarations/border-spacing", "declarations/border-start-end-radius", "declarations/border-start-start-radius", "declarations/border-style", "declarations/border-top", "declarations/border-top-clip", "declarations/border-top-color", "declarations/border-top-left-radius", "declarations/border-top-radius", "declarations/border-top-right-radius", "declarations/border-top-style", "declarations/border-top-width", "declarations/border-width", "declarations/bottom", "declarations/box-align", "declarations/box-decoration-break", "declarations/box-direction", "declarations/box-flex", "declarations/box-flex-group", "declarations/box-lines", "declarations/box-ordinal-group", "declarations/box-orient", "declarations/box-pack", "declarations/box-shadow", "declarations/box-shadow-blur", "declarations/box-shadow-color", "declarations/box-shadow-offset", "declarations/box-shadow-position", "declarations/box-shadow-spread", "declarations/box-sizing", "declarations/box-snap", "declarations/break-after", "declarations/break-before", "declarations/break-inside", "declarations/caption-side", "declarations/caret", "declarations/caret-animation", "declarations/caret-color", "declarations/caret-shape", "declarations/clear", "declarations/clip", "declarations/clip-path", "declarations/clip-rule", "declarations/color", "declarations/color-adjust", "declarations/color-interpolation", "declarations/color-interpolation-filters", "declarations/color-scheme", "declarations/column-count", "declarations/column-fill", "declarations/column-gap", "declarations/column-height", "declarations/column-rule", "declarations/column-rule-break", "declarations/column-rule-color", "declarations/column-rule-inset", "declarations/column-rule-inset-cap", "declarations/column-rule-inset-cap-end", "declarations/column-rule-inset-cap-start", "declarations/column-rule-inset-end", "declarations/column-rule-inset-junction", "declarations/column-rule-inset-junction-end", "declarations/column-rule-inset-junction-start", "declarations/column-rule-inset-start", "declarations/column-rule-style", "declarations/column-rule-visibility-items", "declarations/column-rule-width", "declarations/column-span", "declarations/column-width", "declarations/column-wrap", "declarations/columns", "declarations/composes", "declarations/contain", "declarations/contain-intrinsic-block-size", "declarations/contain-intrinsic-height", "declarations/contain-intrinsic-inline-size", "declarations/contain-intrinsic-size", "declarations/contain-intrinsic-width", "declarations/container", "declarations/container-name", "declarations/container-type", "declarations/content", "declarations/content-visibility", "declarations/continue", "declarations/copy-into", "declarations/corner", "declarations/corner-block-end", "declarations/corner-block-end-shape", "declarations/corner-block-start", "declarations/corner-block-start-shape", "declarations/corner-bottom", "declarations/corner-bottom-left", "declarations/corner-bottom-left-shape", "declarations/corner-bottom-right", "declarations/corner-bottom-right-shape", "declarations/corner-bottom-shape", "declarations/corner-end-end", "declarations/corner-end-end-shape", "declarations/corner-end-start", "declarations/corner-end-start-shape", "declarations/corner-inline-end", "declarations/corner-inline-end-shape", "declarations/corner-inline-start", "declarations/corner-inline-start-shape", "declarations/corner-left", "declarations/corner-left-shape", "declarations/corner-right", "declarations/corner-right-shape", "declarations/corner-shape", "declarations/corner-start-end", "declarations/corner-start-end-shape", "declarations/corner-start-start", "declarations/corner-start-start-shape", "declarations/corner-top", "declarations/corner-top-left", "declarations/corner-top-left-shape", "declarations/corner-top-right", "declarations/corner-top-right-shape", "declarations/corner-top-shape", "declarations/counter-increment", "declarations/counter-reset", "declarations/counter-set", "declarations/cue", "declarations/cue-after", "declarations/cue-before", "declarations/cursor", "declarations/cx", "declarations/cy", "declarations/d", "declarations/direction", "declarations/display", "declarations/dominant-baseline", "declarations/dynamic-range-limit", "declarations/empty-cells", "declarations/event-trigger", "declarations/event-trigger-name", "declarations/event-trigger-source", "declarations/field-sizing", "declarations/fill", "declarations/fill-break", "declarations/fill-color", "declarations/fill-image", "declarations/fill-opacity", "declarations/fill-origin", "declarations/fill-position", "declarations/fill-repeat", "declarations/fill-rule", "declarations/fill-size", "declarations/filter", "declarations/fit-tolerance", "declarations/flex", "declarations/flex-basis", "declarations/flex-direction", "declarations/flex-flow", "declarations/flex-grow", "declarations/flex-line-count", "declarations/flex-shrink", "declarations/flex-wrap", "declarations/float", "declarations/float-defer", "declarations/float-offset", "declarations/float-reference", "declarations/flood-color", "declarations/flood-opacity", "declarations/flow-from", "declarations/flow-into", "declarations/font", "declarations/font-family", "declarations/font-feature-settings", "declarations/font-kerning", "declarations/font-language-override", "declarations/font-optical-sizing", "declarations/font-palette", "declarations/font-size", "declarations/font-size-adjust", "declarations/font-smooth", "declarations/font-style", "declarations/font-synthesis", "declarations/font-synthesis-position", "declarations/font-synthesis-small-caps", "declarations/font-synthesis-style", "declarations/font-synthesis-weight", "declarations/font-variant", "declarations/font-variant-alternates", "declarations/font-variant-caps", "declarations/font-variant-east-asian", "declarations/font-variant-emoji", "declarations/font-variant-ligatures", "declarations/font-variant-numeric", "declarations/font-variant-position", "declarations/font-variation-settings", "declarations/font-weight", "declarations/font-width", "declarations/footnote-display", "declarations/footnote-policy", "declarations/forced-color-adjust", "declarations/frame-sizing", "declarations/gap", "declarations/glyph-orientation-horizontal", "declarations/glyph-orientation-vertical", "declarations/grid", "declarations/grid-area", "declarations/grid-auto-columns", "declarations/grid-auto-flow", "declarations/grid-auto-rows", "declarations/grid-column", "declarations/grid-column-end", "declarations/grid-column-start", "declarations/grid-row", "declarations/grid-row-end", "declarations/grid-row-start", "declarations/grid-template", "declarations/grid-template-areas", "declarations/grid-template-columns", "declarations/grid-template-rows", "declarations/hanging-punctuation", "declarations/height", "declarations/hyphenate-character", "declarations/hyphenate-limit-chars", "declarations/hyphenate-limit-last", "declarations/hyphenate-limit-lines", "declarations/hyphenate-limit-zone", "declarations/hyphens", "declarations/image-animation", "declarations/image-orientation", "declarations/image-rendering", "declarations/image-resolution", "declarations/ime-mode", "declarations/initial-letter", "declarations/initial-letter-align", "declarations/initial-letter-wrap", "declarations/inline-size", "declarations/inline-sizing", "declarations/input-security", "declarations/inset", "declarations/inset-block", "declarations/inset-block-end", "declarations/inset-block-start", "declarations/inset-inline", "declarations/inset-inline-end", "declarations/inset-inline-start", "declarations/interactivity", "declarations/interest-delay", "declarations/interest-delay-end", "declarations/interest-delay-start", "declarations/interpolate-size", "declarations/isolation", "declarations/justify-content", "declarations/justify-items", "declarations/justify-self", "declarations/justify-tracks", "declarations/kerning", "declarations/left", "declarations/letter-spacing", "declarations/lighting-color", "declarations/line-break", "declarations/line-clamp", "declarations/line-fit-edge", "declarations/line-grid", "declarations/line-height", "declarations/line-height-step", "declarations/line-padding", "declarations/line-snap", "declarations/link-parameters", "declarations/list-style", "declarations/list-style-image", "declarations/list-style-position", "declarations/list-style-type", "declarations/margin", "declarations/margin-block", "declarations/margin-block-end", "declarations/margin-block-start", "declarations/margin-bottom", "declarations/margin-break", "declarations/margin-inline", "declarations/margin-inline-end", "declarations/margin-inline-start", "declarations/margin-left", "declarations/margin-right", "declarations/margin-top", "declarations/margin-trim", "declarations/marker", "declarations/marker-end", "declarations/marker-mid", "declarations/marker-side", "declarations/marker-start", "declarations/mask", "declarations/mask-border", "declarations/mask-border-mode", "declarations/mask-border-outset", "declarations/mask-border-repeat", "declarations/mask-border-slice", "declarations/mask-border-source", "declarations/mask-border-width", "declarations/mask-clip", "declarations/mask-composite", "declarations/mask-image", "declarations/mask-mode", "declarations/mask-origin", "declarations/mask-position", "declarations/mask-repeat", "declarations/mask-size", "declarations/mask-type", "declarations/masonry-auto-flow", "declarations/math-depth", "declarations/math-shift", "declarations/math-style", "declarations/max-block-size", "declarations/max-height", "declarations/max-inline-size", "declarations/max-lines", "declarations/max-size", "declarations/max-width", "declarations/min-block-size", "declarations/min-height", "declarations/min-inline-size", "declarations/min-intrinsic-sizing", "declarations/min-size", "declarations/min-width", "declarations/mix-blend-mode", "declarations/nav-down", "declarations/nav-left", "declarations/nav-right", "declarations/nav-up", "declarations/object-fit", "declarations/object-position", "declarations/object-view-box", "declarations/offset", "declarations/offset-anchor", "declarations/offset-distance", "declarations/offset-path", "declarations/offset-position", "declarations/offset-rotate", "declarations/opacity", "declarations/order", "declarations/orphans", "declarations/outline", "declarations/outline-color", "declarations/outline-offset", "declarations/outline-style", "declarations/outline-width", "declarations/overflow", "declarations/overflow-anchor", "declarations/overflow-block", "declarations/overflow-clip-box", "declarations/overflow-clip-margin", "declarations/overflow-clip-margin-block", "declarations/overflow-clip-margin-block-end", "declarations/overflow-clip-margin-block-start", "declarations/overflow-clip-margin-bottom", "declarations/overflow-clip-margin-inline", "declarations/overflow-clip-margin-inline-end", "declarations/overflow-clip-margin-inline-start", "declarations/overflow-clip-margin-left", "declarations/overflow-clip-margin-right", "declarations/overflow-clip-margin-top", "declarations/overflow-inline", "declarations/overflow-wrap", "declarations/overflow-x", "declarations/overflow-y", "declarations/overlay", "declarations/overscroll-behavior", "declarations/overscroll-behavior-block", "declarations/overscroll-behavior-inline", "declarations/overscroll-behavior-x", "declarations/overscroll-behavior-y", "declarations/padding", "declarations/padding-block", "declarations/padding-block-end", "declarations/padding-block-start", "declarations/padding-bottom", "declarations/padding-inline", "declarations/padding-inline-end", "declarations/padding-inline-start", "declarations/padding-left", "declarations/padding-right", "declarations/padding-top", "declarations/page", "declarations/page-break-after", "declarations/page-break-before", "declarations/page-break-inside", "declarations/paint-order", "declarations/path-length", "declarations/pause", "declarations/pause-after", "declarations/pause-before", "declarations/perspective", "declarations/perspective-origin", "declarations/place-content", "declarations/place-items", "declarations/place-self", "declarations/pointer-events", "declarations/pointer-timeline", "declarations/pointer-timeline-axis", "declarations/pointer-timeline-name", "declarations/position", "declarations/position-anchor", "declarations/position-area", "declarations/position-try", "declarations/position-try-fallbacks", "declarations/position-try-options", "declarations/position-try-order", "declarations/position-visibility", "declarations/print-color-adjust", "declarations/quotes", "declarations/r", "declarations/reading-flow", "declarations/reading-order", "declarations/region-fragment", "declarations/resize", "declarations/rest", "declarations/rest-after", "declarations/rest-before", "declarations/right", "declarations/rotate", "declarations/row-gap", "declarations/row-rule", "declarations/row-rule-break", "declarations/row-rule-color", "declarations/row-rule-inset", "declarations/row-rule-inset-cap", "declarations/row-rule-inset-cap-end", "declarations/row-rule-inset-cap-start", "declarations/row-rule-inset-end", "declarations/row-rule-inset-junction", "declarations/row-rule-inset-junction-end", "declarations/row-rule-inset-junction-start", "declarations/row-rule-inset-start", "declarations/row-rule-style", "declarations/row-rule-visibility-items", "declarations/row-rule-width", "declarations/ruby-align", "declarations/ruby-merge", "declarations/ruby-overhang", "declarations/ruby-position", "declarations/rule", "declarations/rule-break", "declarations/rule-color", "declarations/rule-inset", "declarations/rule-inset-cap", "declarations/rule-inset-end", "declarations/rule-inset-junction", "declarations/rule-inset-start", "declarations/rule-overlap", "declarations/rule-style", "declarations/rule-visibility-items", "declarations/rule-width", "declarations/rx", "declarations/ry", "declarations/scale", "declarations/scroll-axis-lock", "declarations/scroll-behavior", "declarations/scroll-initial-target", "declarations/scroll-margin", "declarations/scroll-margin-block", "declarations/scroll-margin-block-end", "declarations/scroll-margin-block-start", "declarations/scroll-margin-bottom", "declarations/scroll-margin-inline", "declarations/scroll-margin-inline-end", "declarations/scroll-margin-inline-start", "declarations/scroll-margin-left", "declarations/scroll-margin-right", "declarations/scroll-margin-top", "declarations/scroll-marker-group", "declarations/scroll-padding", "declarations/scroll-padding-block", "declarations/scroll-padding-block-end", "declarations/scroll-padding-block-start", "declarations/scroll-padding-bottom", "declarations/scroll-padding-inline", "declarations/scroll-padding-inline-end", "declarations/scroll-padding-inline-start", "declarations/scroll-padding-left", "declarations/scroll-padding-right", "declarations/scroll-padding-top", "declarations/scroll-snap-align", "declarations/scroll-snap-coordinate", "declarations/scroll-snap-destination", "declarations/scroll-snap-points-x", "declarations/scroll-snap-points-y", "declarations/scroll-snap-stop", "declarations/scroll-snap-type", "declarations/scroll-snap-type-x", "declarations/scroll-snap-type-y", "declarations/scroll-target-group", "declarations/scroll-timeline", "declarations/scroll-timeline-axis", "declarations/scroll-timeline-name", "declarations/scrollbar-color", "declarations/scrollbar-gutter", "declarations/scrollbar-width", "declarations/shape-image-threshold", "declarations/shape-inside", "declarations/shape-margin", "declarations/shape-outside", "declarations/shape-padding", "declarations/shape-rendering", "declarations/size", "declarations/slider-orientation", "declarations/spatial-navigation-action", "declarations/spatial-navigation-contain", "declarations/spatial-navigation-function", "declarations/speak", "declarations/speak-as", "declarations/stop-color", "declarations/stop-opacity", "declarations/string-set", "declarations/stroke", "declarations/stroke-align", "declarations/stroke-alignment", "declarations/stroke-break", "declarations/stroke-color", "declarations/stroke-dash-corner", "declarations/stroke-dash-justify", "declarations/stroke-dashadjust", "declarations/stroke-dasharray", "declarations/stroke-dashcorner", "declarations/stroke-dashoffset", "declarations/stroke-image", "declarations/stroke-linecap", "declarations/stroke-linejoin", "declarations/stroke-miterlimit", "declarations/stroke-opacity", "declarations/stroke-origin", "declarations/stroke-position", "declarations/stroke-repeat", "declarations/stroke-size", "declarations/stroke-width", "declarations/tab-size", "declarations/table-layout", "declarations/text-align", "declarations/text-align-all", "declarations/text-align-last", "declarations/text-anchor", "declarations/text-autospace", "declarations/text-autospace-size", "declarations/text-box", "declarations/text-box-edge", "declarations/text-box-trim", "declarations/text-combine-upright", "declarations/text-decoration", "declarations/text-decoration-color", "declarations/text-decoration-inset", "declarations/text-decoration-line", "declarations/text-decoration-skip", "declarations/text-decoration-skip-box", "declarations/text-decoration-skip-ink", "declarations/text-decoration-skip-self", "declarations/text-decoration-skip-spaces", "declarations/text-decoration-style", "declarations/text-decoration-thickness", "declarations/text-emphasis", "declarations/text-emphasis-color", "declarations/text-emphasis-position", "declarations/text-emphasis-skip", "declarations/text-emphasis-style", "declarations/text-fit", "declarations/text-group-align", "declarations/text-indent", "declarations/text-justify", "declarations/text-orientation", "declarations/text-overflow", "declarations/text-rendering", "declarations/text-shadow", "declarations/text-size-adjust", "declarations/text-spacing", "declarations/text-spacing-trim", "declarations/text-transform", "declarations/text-underline-offset", "declarations/text-underline-position", "declarations/text-wrap", "declarations/text-wrap-mode", "declarations/text-wrap-style", "declarations/timeline-scope", "declarations/timeline-trigger", "declarations/timeline-trigger-activation-range", "declarations/timeline-trigger-activation-range-end", "declarations/timeline-trigger-activation-range-start", "declarations/timeline-trigger-active-range", "declarations/timeline-trigger-active-range-end", "declarations/timeline-trigger-active-range-start", "declarations/timeline-trigger-name", "declarations/timeline-trigger-range", "declarations/timeline-trigger-source", "declarations/top", "declarations/touch-action", "declarations/transform", "declarations/transform-box", "declarations/transform-origin", "declarations/transform-style", "declarations/transition", "declarations/transition-behavior", "declarations/transition-delay", "declarations/transition-duration", "declarations/transition-property", "declarations/transition-timing-function", "declarations/translate", "declarations/trigger-scope", "declarations/unicode-bidi", "declarations/user-select", "declarations/vector-effect", "declarations/vertical-align", "declarations/view-timeline", "declarations/view-timeline-axis", "declarations/view-timeline-inset", "declarations/view-timeline-name", "declarations/view-transition-class", "declarations/view-transition-group", "declarations/view-transition-name", "declarations/view-transition-scope", "declarations/visibility", "declarations/voice-balance", "declarations/voice-duration", "declarations/voice-family", "declarations/voice-pitch", "declarations/voice-range", "declarations/voice-rate", "declarations/voice-stress", "declarations/voice-volume", "declarations/white-space", "declarations/white-space-collapse", "declarations/white-space-trim", "declarations/widows", "declarations/width", "declarations/will-change", "declarations/window-drag", "declarations/word-break", "declarations/word-space-transform", "declarations/word-spacing", "declarations/wrap-after", "declarations/wrap-before", "declarations/wrap-flow", "declarations/wrap-inside", "declarations/wrap-through", "declarations/writing-mode", "declarations/x", "declarations/y", "declarations/z-index", "declarations/zoom", "syntaxes/-legacy-gradient", "syntaxes/-legacy-linear-gradient", "syntaxes/-legacy-linear-gradient-arguments", "syntaxes/-legacy-radial-gradient", "syntaxes/-legacy-radial-gradient-arguments", "syntaxes/-legacy-radial-gradient-shape", "syntaxes/-legacy-radial-gradient-size", "syntaxes/-legacy-repeating-linear-gradient", "syntaxes/-legacy-repeating-radial-gradient", "syntaxes/-ms-filter-function", "syntaxes/-ms-filter-function-legacy", "syntaxes/-ms-filter-function-list", "syntaxes/-ms-filter-function-progid", "syntaxes/-non-standard-color", "syntaxes/-non-standard-display", "syntaxes/-non-standard-font", "syntaxes/-non-standard-generic-family", "syntaxes/-non-standard-image-rendering", "syntaxes/-non-standard-overflow", "syntaxes/-non-standard-size", "syntaxes/-non-standard-text-align", "syntaxes/-webkit-gradient()", "syntaxes/-webkit-gradient-color-stop", "syntaxes/-webkit-gradient-point", "syntaxes/-webkit-gradient-radius", "syntaxes/-webkit-gradient-type", "syntaxes/-webkit-mask-box-repeat", "syntaxes/abs()", "syntaxes/acos()", "syntaxes/age", "syntaxes/alpha()", "syntaxes/anchor()", "syntaxes/anchor-size()", "syntaxes/animation-action", "syntaxes/asin()", "syntaxes/at-rule()", "syntaxes/atan()", "syntaxes/atan2()", "syntaxes/attr()", "syntaxes/attr-fallback", "syntaxes/blur()", "syntaxes/bottom", "syntaxes/brightness()", "syntaxes/calc()", "syntaxes/calc-interpolate()", "syntaxes/calc-mix()", "syntaxes/calc-size()", "syntaxes/change()", "syntaxes/circle()", "syntaxes/clamp()", "syntaxes/click()", "syntaxes/color()", "syntaxes/color-interpolate()", "syntaxes/color-layers()", "syntaxes/color-mix()", "syntaxes/composes-selector", "syntaxes/composite-style", "syntaxes/conic-gradient()", "syntaxes/content()", "syntaxes/contrast()", "syntaxes/contrast-color()", "syntaxes/control-value()", "syntaxes/cos()", "syntaxes/counter()", "syntaxes/counters()", "syntaxes/cross-fade()", "syntaxes/cubic-bezier()", "syntaxes/cycle()", "syntaxes/dblclick()", "syntaxes/declaration", "syntaxes/declaration-list", "syntaxes/device-cmyk()", "syntaxes/drop-shadow()", "syntaxes/dynamic-range-limit-mix()", "syntaxes/element()", "syntaxes/ellipse()", "syntaxes/env()", "syntaxes/exp()", "syntaxes/fade()", "syntaxes/family-name", "syntaxes/filter()", "syntaxes/first-valid()", "syntaxes/fit-content()", "syntaxes/focusin()", "syntaxes/focusout()", "syntaxes/font-feature-custom-ident", "syntaxes/font-feature-custom-ident-character-variant", "syntaxes/font-feature-custom-ident-list", "syntaxes/font-format()", "syntaxes/font-format-values", "syntaxes/font-src-list", "syntaxes/font-tech()", "syntaxes/font-tech-patch-values", "syntaxes/forgiving-relative-selector-list", "syntaxes/forgiving-selector-list", "syntaxes/function-name", "syntaxes/gender", "syntaxes/generic-complete", "syntaxes/generic-family", "syntaxes/generic-incomplete", "syntaxes/generic-script-specific", "syntaxes/grayscale()", "syntaxes/hdr-color()", "syntaxes/hsl()", "syntaxes/hsla()", "syntaxes/hue-rotate()", "syntaxes/hwb()", "syntaxes/hypot()", "syntaxes/ictcp()", "syntaxes/id", "syntaxes/ident()", "syntaxes/if()", "syntaxes/image()", "syntaxes/image-set()", "syntaxes/inherit()", "syntaxes/input()", "syntaxes/inset()", "syntaxes/inset-area", "syntaxes/interpolate()", "syntaxes/intrinsic-size-keyword", "syntaxes/invert()", "syntaxes/jzazbz()", "syntaxes/jzczhz()", "syntaxes/keyframe-selectors", "syntaxes/keypress()", "syntaxes/lab()", "syntaxes/lch()", "syntaxes/leader()", "syntaxes/left", "syntaxes/level", "syntaxes/light-dark()", "syntaxes/linear()", "syntaxes/linear-gradient()", "syntaxes/log()", "syntaxes/marker-ref", "syntaxes/matrix()", "syntaxes/matrix3d()", "syntaxes/max()", "syntaxes/media()", "syntaxes/media-query-list", "syntaxes/min()", "syntaxes/minmax()", "syntaxes/mod()", "syntaxes/named-feature()", "syntaxes/number-one-or-greater", "syntaxes/number-zero-one", "syntaxes/oklab()", "syntaxes/oklch()", "syntaxes/opacity()", "syntaxes/outline-radius", "syntaxes/paint()", "syntaxes/palette-mix()", "syntaxes/param()", "syntaxes/path()", "syntaxes/perspective()", "syntaxes/pointer()", "syntaxes/pointerdown()", "syntaxes/pointerenter()", "syntaxes/pointerleave()", "syntaxes/pointerup()", "syntaxes/polygon()", "syntaxes/pow()", "syntaxes/progress()", "syntaxes/radial-gradient()", "syntaxes/random()", "syntaxes/random-item()", "syntaxes/ray()", "syntaxes/rect()", "syntaxes/relative-hsl-component", "syntaxes/relative-hwb-component", "syntaxes/relative-lab-component", "syntaxes/relative-lch-component", "syntaxes/relative-rgb-component", "syntaxes/rem()", "syntaxes/repeating-conic-gradient()", "syntaxes/repeating-linear-gradient()", "syntaxes/repeating-radial-gradient()", "syntaxes/rgb()", "syntaxes/rgba()", "syntaxes/right", "syntaxes/rotate()", "syntaxes/rotate3d()", "syntaxes/rotateX()", "syntaxes/rotateY()", "syntaxes/rotateZ()", "syntaxes/round()", "syntaxes/running()", "syntaxes/saturate()", "syntaxes/scale()", "syntaxes/scale3d()", "syntaxes/scaleX()", "syntaxes/scaleY()", "syntaxes/scaleZ()", "syntaxes/scroll()", "syntaxes/scroll-state()", "syntaxes/scroll-state-feature", "syntaxes/scroll-state-feature-boolean", "syntaxes/scroll-state-feature-plain", "syntaxes/scroll-state-feature-scrollable", "syntaxes/scroll-state-feature-scrolled", "syntaxes/scroll-state-feature-snapped", "syntaxes/scroll-state-feature-stuck", "syntaxes/selector()", "syntaxes/sepia()", "syntaxes/shape()", "syntaxes/sibling-count()", "syntaxes/sibling-index()", "syntaxes/sign()", "syntaxes/sin()", "syntaxes/size-feature", "syntaxes/size-keyword", "syntaxes/skew()", "syntaxes/skewX()", "syntaxes/skewY()", "syntaxes/snap-block()", "syntaxes/snap-inline()", "syntaxes/sqrt()", "syntaxes/src()", "syntaxes/steps()", "syntaxes/string()", "syntaxes/stripes()", "syntaxes/style-condition", "syntaxes/style-feature-name", "syntaxes/superellipse()", "syntaxes/supports()", "syntaxes/supports-condition-name", "syntaxes/svg-length", "syntaxes/svg-writing-mode", "syntaxes/symbols()", "syntaxes/tan()", "syntaxes/target-counter()", "syntaxes/target-counters()", "syntaxes/target-name", "syntaxes/target-text()", "syntaxes/timeline-range-center-subject", "syntaxes/timeline-range-name", "syntaxes/top", "syntaxes/transform-interpolate()", "syntaxes/transform-mix()", "syntaxes/translate()", "syntaxes/translate3d()", "syntaxes/translateX()", "syntaxes/translateY()", "syntaxes/translateZ()", "syntaxes/type()", "syntaxes/url()", "syntaxes/url-modifier", "syntaxes/url-pattern()", "syntaxes/url-set", "syntaxes/var()", "syntaxes/view()", "syntaxes/voice-family-name", "syntaxes/whole-value", "syntaxes/x", "syntaxes/xywh()", "syntaxes/y", "types/a-n-plus-b", "types/absolute-size", "types/alpha-value", "types/alt-text", "types/anchor-name", "types/anchor-side", "types/anchor-size", "types/anchored-in-parens", "types/anchored-query", "types/angle-percentage", "types/angular-color-hint", "types/angular-color-stop", "types/angular-color-stop-list", "types/animateable-feature", "types/arc-command", "types/arc-size", "types/arc-sweep", "types/attachment", "types/attr-args", "types/attr-matcher", "types/attr-modifier", "types/attr-name", "types/attr-type", "types/attr-unit", "types/attribute-selector", "types/auto-line-color-list", "types/auto-line-style-list", "types/auto-line-width-list", "types/auto-repeat", "types/auto-repeat-line-color", "types/auto-repeat-line-style", "types/auto-repeat-line-width", "types/auto-track-list", "types/autospace", "types/axis", "types/base-descriptor", "types/baseline-metric", "types/baseline-position", "types/basic-shape", "types/basic-shape-rect", "types/bg-clip", "types/bg-image", "types/bg-layer", "types/bg-position", "types/bg-size", "types/blend-mode", "types/boolean-expr", "types/border-radius", "types/box-size", "types/calc-keyword", "types/calc-product", "types/calc-size-basis", "types/calc-sum", "types/calc-value", "types/cf-image", "types/class-selector", "types/clip-source", "types/cmyk-component", "types/color", "types/color-base", "types/color-font-tech", "types/color-function", "types/color-interpolation-method", "types/color-space", "types/color-stop", "types/color-stop-angle", "types/color-stop-length", "types/color-stop-list", "types/color-stripe", "types/colorspace-params", "types/combinator", "types/command-end-point", "types/common-lig-values", "types/compat-auto", "types/compat-special", "types/complex-real-selector", "types/complex-real-selector-list", "types/complex-selector", "types/complex-selector-list", "types/complex-selector-unit", "types/composite-mode", "types/compositing-operator", "types/compound-selector", "types/compound-selector-list", "types/conic-gradient-syntax", "types/container-condition", "types/container-name", "types/container-query", "types/container-query-list", "types/content-distribution", "types/content-level", "types/content-list", "types/content-position", "types/content-replacement", "types/contextual-alt-values", "types/control-point", "types/coord-box", "types/coordinate-pair", "types/corner-shape-value", "types/counter", "types/counter-name", "types/counter-style", "types/counter-style-name", "types/cross-origin-modifier", "types/css-type", "types/cubic-bezier-easing-function", "types/cursor-image", "types/cursor-predefined", "types/curve-command", "types/custom-arg", "types/custom-color-space", "types/custom-params", "types/custom-selector", "types/dashndashdigit-ident", "types/default-value", "types/deprecated-color", "types/discretionary-lig-values", "types/display-box", "types/display-inside", "types/display-internal", "types/display-legacy", "types/display-listitem", "types/display-outside", "types/easing-function", "types/east-asian-variant-values", "types/east-asian-width-values", "types/env-args", "types/event-function", "types/explicit-track-list", "types/feature-tag-value", "types/filter-function", "types/filter-value-list", "types/final-bg-layer", "types/fixed-breadth", "types/fixed-repeat", "types/fixed-size", "types/font-family-name", "types/font-feature-index", "types/font-feature-value-name", "types/font-features-tech", "types/font-format", "types/font-src", "types/font-tech", "types/font-variant-css2", "types/font-weight-absolute", "types/font-width-css3", "types/form-control-identifier", "types/frequency-percentage", "types/function-parameter", "types/gap-auto-repeat-rule", "types/gap-auto-rule-list", "types/gap-repeat-rule", "types/gap-rule", "types/gap-rule-list", "types/gap-rule-or-repeat", "types/general-enclosed", "types/generic-font-complete", "types/generic-font-family", "types/generic-font-incomplete", "types/generic-font-script-specific", "types/generic-voice", "types/geometry-box", "types/gradient", "types/grid-line", "types/highlight-name-selector", "types/historical-lig-values", "types/horizontal-line-command", "types/hue", "types/hue-interpolation-method", "types/id-selector", "types/ident-arg", "types/ident-args", "types/if-args", "types/if-args-branch", "types/if-branch", "types/if-condition", "types/if-test", "types/image", "types/image-1D", "types/image-set-option", "types/image-src", "types/image-tags", "types/import-conditions", "types/inflexible-breadth", "types/inherit-args", "types/init-descriptor", "types/init-descriptor-name", "types/input-position", "types/inset-value", "types/integer", "types/integrity-modifier", "types/isolation-mode", "types/keyframe-block", "types/keyframe-selector", "types/keyframes-name", "types/layer-name", "types/layout-box", "types/leader-type", "types/legacy-border-radius-syntax", "types/legacy-device-cmyk-syntax", "types/legacy-hsl-syntax", "types/legacy-hsla-syntax", "types/legacy-pseudo-element-selector", "types/legacy-rgb-syntax", "types/legacy-rgba-syntax", "types/length-percentage", "types/light-dark-color", "types/light-dark-image", "types/line-color-list", "types/line-color-or-repeat", "types/line-command", "types/line-name-list", "types/line-names", "types/line-style", "types/line-style-list", "types/line-style-or-repeat", "types/line-width", "types/line-width-list", "types/line-width-or-repeat", "types/linear-color-hint", "types/linear-color-stop", "types/linear-easing-function", "types/linear-gradient-syntax", "types/location-descriptor", "types/location-name", "types/location-rule", "types/mask-layer", "types/mask-reference", "types/mask-source", "types/masking-mode", "types/media-and", "types/media-condition", "types/media-condition-without-or", "types/media-feature", "types/media-import-condition", "types/media-in-parens", "types/media-not", "types/media-or", "types/media-query", "types/media-type", "types/mf-boolean", "types/mf-comparison", "types/mf-eq", "types/mf-gt", "types/mf-lt", "types/mf-name", "types/mf-plain", "types/mf-range", "types/mf-value", "types/modern-device-cmyk-syntax", "types/modern-hsl-syntax", "types/modern-hsla-syntax", "types/modern-rgb-syntax", "types/modern-rgba-syntax", "types/move-command", "types/mq-boolean", "types/n-dimension", "types/name-repeat", "types/named-color", "types/namespace-prefix", "types/navigation-condition", "types/navigation-in-parens", "types/navigation-location", "types/navigation-location-between-test", "types/navigation-location-test", "types/navigation-phase-keyword", "types/navigation-phase-test", "types/navigation-relation", "types/navigation-test", "types/navigation-type-keyword", "types/navigation-type-test", "types/ndash-dimension", "types/ndashdigit-dimension", "types/ndashdigit-ident", "types/ns-prefix", "types/number-optional-number", "types/numeric-figure-values", "types/numeric-fraction-values", "types/numeric-spacing-values", "types/offset-path", "types/opacity-value", "types/opentype-tag", "types/outline-line-style", "types/overflow-position", "types/page-selector", "types/page-selector-list", "types/page-size", "types/paint", "types/paint-box", "types/palette-identifier", "types/param-spec", "types/pattern-descriptor", "types/pointer-axis", "types/pointer-source", "types/points", "types/polar-color-space", "types/position", "types/position-area", "types/position-area-query", "types/position-four", "types/position-one", "types/position-three", "types/position-two", "types/predefined-rgb", "types/predefined-rgb-params", "types/progress-source", "types/pseudo-class-selector", "types/pseudo-compound-selector", "types/pseudo-element-selector", "types/pseudo-page", "types/pt-class-selector", "types/pt-name-and-class-selector", "types/pt-name-selector", "types/query-in-parens", "types/quote", "types/radial-extent", "types/radial-gradient-syntax", "types/radial-shape", "types/radial-size", "types/random-cache-key", "types/random-item-args", "types/random-key", "types/random-ua-ident", "types/ratio", "types/ray-size", "types/rectangular-color-space", "types/referrer-policy-modifier", "types/relative-control-point", "types/relative-real-selector", "types/relative-real-selector-list", "types/relative-selector", "types/relative-selector-list", "types/relative-size", "types/repeat-line-color", "types/repeat-line-style", "types/repeat-line-width", "types/repeat-style", "types/repetition", "types/request-url-modifier", "types/reversed-counter-name", "types/rounding-strategy", "types/scope-boundaries", "types/scope-end", "types/scope-start", "types/scroll-button-direction", "types/scroll-state-in-parens", "types/scroll-state-query", "types/scroller", "types/selector-list", "types/self-position", "types/shadow", "types/shape", "types/shape-box", "types/shape-command", "types/side-or-corner", "types/signed-integer", "types/signless-integer", "types/simple-selector", "types/simple-selector-list", "types/single-animation", "types/single-animation-composition", "types/single-animation-direction", "types/single-animation-fill-mode", "types/single-animation-iteration-count", "types/single-animation-play-state", "types/single-animation-timeline", "types/single-transition", "types/single-transition-property", "types/slash-separated-border-radius-syntax", "types/smooth-command", "types/source-size", "types/source-size-list", "types/source-size-value", "types/spacing-trim", "types/spread-shadow", "types/step-easing-function", "types/step-position", "types/style-feature", "types/style-feature-boolean", "types/style-feature-plain", "types/style-in-parens", "types/style-query", "types/style-range", "types/style-range-value", "types/subclass-selector", "types/supports-at-rule-fn", "types/supports-condition", "types/supports-decl", "types/supports-env-fn", "types/supports-feature", "types/supports-font-format-fn", "types/supports-font-tech-fn", "types/supports-import-condition", "types/supports-in-parens", "types/supports-named-feature-fn", "types/supports-selector-fn", "types/svg-paint", "types/symbol", "types/symbolic-glyph", "types/symbols-type", "types/syntax", "types/syntax-combinator", "types/syntax-component", "types/syntax-multiplier", "types/syntax-single-component", "types/syntax-string", "types/syntax-type-name", "types/system-color", "types/system-font-family-name", "types/target", "types/target-contrast", "types/text-edge", "types/time-percentage", "types/track-breadth", "types/track-list", "types/track-repeat", "types/track-size", "types/transform-function", "types/transform-list", "types/transition-behavior-value", "types/try-size", "types/try-tactic", "types/type", "types/type-selector", "types/url", "types/var-args", "types/vertical-line-command", "types/view-transition-type", "types/visual-box", "types/wcag2", "types/wq-name", "types/xyz-params", "types/xyz-space"];
|
|
14599
|
+
/**
|
|
14600
|
+
* the matchers of the definitions, by index. a matcher is built the first time it is used
|
|
14601
|
+
*/
|
|
14602
|
+
const builders = [
|
|
14603
|
+
/* 0 declarations/-moz-appearance */ () => seq([kws(["none", "button", "button-arrow-down", "button-arrow-next", "button-arrow-previous", "button-arrow-up", "button-bevel", "button-focus", "caret", "checkbox", "checkbox-container", "checkbox-label", "checkmenuitem", "dualbutton", "groupbox", "listbox", "listitem", "menuarrow", "menubar", "menucheckbox", "menuimage", "menuitem", "menuitemtext", "menulist", "menulist-button", "menulist-text", "menulist-textfield", "menupopup", "menuradio", "menuseparator", "meterbar", "meterchunk", "progressbar", "progressbar-vertical", "progresschunk", "progresschunk-vertical", "radio", "radio-container", "radio-label", "radiomenuitem", "range", "range-thumb", "resizer", "resizerpanel", "scale-horizontal", "scalethumbend", "scalethumb-horizontal", "scalethumbstart", "scalethumbtick", "scalethumb-vertical", "scale-vertical", "scrollbarbutton-down", "scrollbarbutton-left", "scrollbarbutton-right", "scrollbarbutton-up", "scrollbarthumb-horizontal", "scrollbarthumb-vertical", "scrollbartrack-horizontal", "scrollbartrack-vertical", "searchfield", "separator", "sheet", "spinner", "spinner-downbutton", "spinner-textfield", "spinner-upbutton", "splitter", "statusbar", "statusbarpanel", "tab", "tabpanel", "tabpanels", "tab-scroll-arrow-back", "tab-scroll-arrow-forward", "textfield", "textfield-multiline", "toolbar", "toolbarbutton", "toolbarbutton-dropdown", "toolbargripper", "toolbox", "tooltip", "treeheader", "treeheadercell", "treeheadersortarrow", "treeitem", "treeline", "treetwisty", "treetwistyopen", "treeview", "-moz-mac-unified-toolbar", "-moz-win-borderless-glass", "-moz-win-browsertabbar-toolbox", "-moz-win-communicationstext", "-moz-win-communications-toolbox", "-moz-win-exclude-glass", "-moz-win-glass", "-moz-win-mediatext", "-moz-win-media-toolbox", "-moz-window-button-box", "-moz-window-button-box-maximized", "-moz-window-button-close", "-moz-window-button-maximize", "-moz-window-button-minimize", "-moz-window-button-restore", "-moz-window-frame-bottom", "-moz-window-frame-left", "-moz-window-frame-right", "-moz-window-titlebar", "-moz-window-titlebar-maximized"])], [0]),
|
|
14604
|
+
/* 1 declarations/-moz-background-clip */ () => seq([kws(["padding", "border"])], [0]),
|
|
14605
|
+
/* 2 declarations/-moz-binding */ () => seq([alt([seq([leaf("url")], [0]), seq([kw("none")], [0])])], [0]),
|
|
14606
|
+
/* 3 declarations/-moz-border-bottom-colors */ () => seq([alt([seq([rep(seq([leaf("color")], [0]), false)], [0]), seq([kw("none")], [0])])], [0]),
|
|
14607
|
+
/* 4 declarations/-moz-border-left-colors */ () => seq([alt([seq([rep(seq([leaf("color")], [0]), false)], [0]), seq([kw("none")], [0])])], [0]),
|
|
14608
|
+
/* 5 declarations/-moz-border-radius-bottomleft */ () => seq([ref(222)], [0]),
|
|
14609
|
+
/* 6 declarations/-moz-border-radius-bottomright */ () => seq([ref(224)], [0]),
|
|
14610
|
+
/* 7 declarations/-moz-border-radius-topleft */ () => seq([ref(278)], [0]),
|
|
14611
|
+
/* 8 declarations/-moz-border-radius-topright */ () => seq([ref(224)], [0]),
|
|
14612
|
+
/* 9 declarations/-moz-border-right-colors */ () => seq([alt([seq([rep(seq([leaf("color")], [0]), false)], [0]), seq([kw("none")], [0])])], [0]),
|
|
14613
|
+
/* 10 declarations/-moz-border-top-colors */ () => seq([alt([seq([rep(seq([leaf("color")], [0]), false)], [0]), seq([kw("none")], [0])])], [0]),
|
|
14614
|
+
/* 11 declarations/-moz-context-properties */ () => seq([alt([seq([kw("none")], [0]), seq([list(seq([seq([kws(["fill", "fill-opacity", "stroke", "stroke-opacity"])], [0])], [0]), 0, Infinity, 0)], [0])])], [0]),
|
|
14615
|
+
/* 12 declarations/-moz-control-character-visibility */ () => seq([kws(["visible", "hidden"])], [0]),
|
|
14616
|
+
/* 13 declarations/-moz-float-edge */ () => seq([kws(["border-box", "content-box", "margin-box", "padding-box"])], [0]),
|
|
14617
|
+
/* 14 declarations/-moz-force-broken-image-icon */ () => seq([alt([seq([num$1(0, null, null)], [0]), seq([num$1(1, null, null)], [0])])], [0]),
|
|
14618
|
+
/* 15 declarations/-moz-orient */ () => seq([kws(["inline", "block", "horizontal", "vertical"])], [0]),
|
|
14619
|
+
/* 16 declarations/-moz-osx-font-smoothing */ () => seq([kws(["auto", "grayscale"])], [0]),
|
|
14620
|
+
/* 17 declarations/-moz-outline-radius */ () => seq([occ(seq([ref(1060)], [0]), 1, 4), opt(seq([slash, occ(seq([ref(1060)], [0]), 1, 4)], [0, 0]))], [0, 1]),
|
|
14621
|
+
/* 18 declarations/-moz-outline-radius-bottomleft */ () => seq([ref(1060)], [0]),
|
|
14622
|
+
/* 19 declarations/-moz-outline-radius-bottomright */ () => seq([ref(1060)], [0]),
|
|
14623
|
+
/* 20 declarations/-moz-outline-radius-topleft */ () => seq([ref(1060)], [0]),
|
|
14624
|
+
/* 21 declarations/-moz-outline-radius-topright */ () => seq([ref(1060)], [0]),
|
|
14625
|
+
/* 22 declarations/-moz-padding-start */ () => seq([ref(647)], [0]),
|
|
14626
|
+
/* 23 declarations/-moz-stack-sizing */ () => seq([kws(["ignore", "stretch-to-fit"])], [0]),
|
|
14627
|
+
/* 24 declarations/-moz-text-blink */ () => seq([kws(["none", "blink"])], [0]),
|
|
14628
|
+
/* 25 declarations/-moz-user-focus */ () => seq([kws(["ignore", "normal", "select-after", "select-before", "select-menu", "select-same", "select-all", "none"])], [0]),
|
|
14629
|
+
/* 26 declarations/-moz-user-input */ () => seq([kws(["auto", "none", "enabled", "disabled"])], [0]),
|
|
14630
|
+
/* 27 declarations/-moz-user-modify */ () => seq([kws(["read-only", "read-write", "write-only"])], [0]),
|
|
14631
|
+
/* 28 declarations/-moz-user-select */ () => seq([kws(["none", "text", "all", "-moz-none", "auto"])], [0]),
|
|
14632
|
+
/* 29 declarations/-moz-window-dragging */ () => seq([kws(["drag", "no-drag"])], [0]),
|
|
14633
|
+
/* 30 declarations/-moz-window-shadow */ () => seq([kws(["default", "menu", "tooltip", "sheet", "none"])], [0]),
|
|
14634
|
+
/* 31 declarations/-ms-accelerator */ () => seq([kws(["false", "true"])], [0]),
|
|
14635
|
+
/* 32 declarations/-ms-block-progression */ () => seq([kws(["tb", "rl", "bt", "lr"])], [0]),
|
|
14636
|
+
/* 33 declarations/-ms-content-zoom-chaining */ () => seq([kws(["none", "chained"])], [0]),
|
|
14637
|
+
/* 34 declarations/-ms-content-zoom-limit */ () => seq([ref(36), ref(35)], [0, 0]),
|
|
14638
|
+
/* 35 declarations/-ms-content-zoom-limit-max */ () => seq([leaf("percentage")], [0]),
|
|
14639
|
+
/* 36 declarations/-ms-content-zoom-limit-min */ () => seq([leaf("percentage")], [0]),
|
|
14640
|
+
/* 37 declarations/-ms-content-zoom-snap */ () => seq([unordered([seq([ref(39)], [0]), seq([ref(38)], [0])], [0, 0], false)], [0]),
|
|
14641
|
+
/* 38 declarations/-ms-content-zoom-snap-points */ () => seq([alt([seq([fn("snapinterval", seq([leaf("percentage"), comma$1, leaf("percentage")], [0, 0, 0]))], [0]), seq([fn("snaplist", seq([list(seq([leaf("percentage")], [0]), 0, Infinity, 0)], [0]))], [0])])], [0]),
|
|
14642
|
+
/* 39 declarations/-ms-content-zoom-snap-type */ () => seq([kws(["none", "proximity", "mandatory"])], [0]),
|
|
14643
|
+
/* 40 declarations/-ms-content-zooming */ () => seq([kws(["none", "zoom"])], [0]),
|
|
14644
|
+
/* 41 declarations/-ms-filter */ () => seq([leaf("string")], [0]),
|
|
14645
|
+
/* 42 declarations/-ms-flex-align */ () => seq([kws(["start", "end", "center", "baseline", "stretch"])], [0]),
|
|
14646
|
+
/* 43 declarations/-ms-flex-item-align */ () => seq([kws(["auto", "start", "end", "center", "baseline", "stretch"])], [0]),
|
|
14647
|
+
/* 44 declarations/-ms-flex-line-pack */ () => seq([kws(["start", "end", "center", "justify", "distribute", "stretch"])], [0]),
|
|
14648
|
+
/* 45 declarations/-ms-flex-negative */ () => seq([ref(427)], [0]),
|
|
14649
|
+
/* 46 declarations/-ms-flex-order */ () => seq([leaf("integer")], [0]),
|
|
14650
|
+
/* 47 declarations/-ms-flex-pack */ () => seq([kws(["start", "end", "center", "justify", "distribute"])], [0]),
|
|
14651
|
+
/* 48 declarations/-ms-flex-positive */ () => seq([ref(425)], [0]),
|
|
14652
|
+
/* 49 declarations/-ms-flex-preferred-size */ () => seq([ref(422)], [0]),
|
|
14653
|
+
/* 50 declarations/-ms-flow-from */ () => seq([list(seq([seq([alt([seq([kw("none")], [0]), seq([leaf("custom-ident")], [0])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
14654
|
+
/* 51 declarations/-ms-flow-into */ () => seq([list(seq([seq([alt([seq([kw("none")], [0]), seq([leaf("custom-ident")], [0])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
14655
|
+
/* 52 declarations/-ms-grid-column-align */ () => seq([kws(["start", "end", "center", "stretch"])], [0]),
|
|
14656
|
+
/* 53 declarations/-ms-grid-columns */ () => seq([alt([seq([kw("none")], [0]), seq([ref(1581)], [0]), seq([ref(1199)], [0])])], [0]),
|
|
14657
|
+
/* 54 declarations/-ms-grid-row-align */ () => seq([kws(["start", "end", "center", "stretch"])], [0]),
|
|
14658
|
+
/* 55 declarations/-ms-grid-rows */ () => seq([alt([seq([kw("none")], [0]), seq([ref(1581)], [0]), seq([ref(1199)], [0])])], [0]),
|
|
14659
|
+
/* 56 declarations/-ms-high-contrast-adjust */ () => seq([kws(["auto", "none"])], [0]),
|
|
14660
|
+
/* 57 declarations/-ms-hyphenate-limit-chars */ () => seq([alt([seq([kw("auto")], [0]), seq([occ(seq([leaf("integer")], [0]), 1, 3)], [0])])], [0]),
|
|
14661
|
+
/* 58 declarations/-ms-hyphenate-limit-last */ () => seq([kws(["none", "always", "column", "page", "spread"])], [0]),
|
|
14662
|
+
/* 59 declarations/-ms-hyphenate-limit-lines */ () => seq([alt([seq([kw("no-limit")], [0]), seq([leaf("integer")], [0])])], [0]),
|
|
14663
|
+
/* 60 declarations/-ms-hyphenate-limit-zone */ () => seq([alt([seq([leaf("percentage")], [0]), seq([leaf("length")], [0])])], [0]),
|
|
14664
|
+
/* 61 declarations/-ms-ime-align */ () => seq([kws(["auto", "after"])], [0]),
|
|
14665
|
+
/* 62 declarations/-ms-interpolation-mode */ () => seq([kws(["nearest-neighbor", "bicubic"])], [0]),
|
|
14666
|
+
/* 63 declarations/-ms-overflow-style */ () => seq([kws(["auto", "none", "scrollbar", "-ms-autohiding-scrollbar"])], [0]),
|
|
14667
|
+
/* 64 declarations/-ms-scroll-chaining */ () => seq([kws(["chained", "none"])], [0]),
|
|
14668
|
+
/* 65 declarations/-ms-scroll-limit */ () => seq([ref(67), ref(69), ref(66), ref(68)], [0, 0, 0, 0]),
|
|
14669
|
+
/* 66 declarations/-ms-scroll-limit-x-max */ () => seq([alt([seq([kw("auto")], [0]), seq([leaf("length")], [0])])], [0]),
|
|
14670
|
+
/* 67 declarations/-ms-scroll-limit-x-min */ () => seq([leaf("length")], [0]),
|
|
14671
|
+
/* 68 declarations/-ms-scroll-limit-y-max */ () => seq([alt([seq([kw("auto")], [0]), seq([leaf("length")], [0])])], [0]),
|
|
14672
|
+
/* 69 declarations/-ms-scroll-limit-y-min */ () => seq([leaf("length")], [0]),
|
|
14673
|
+
/* 70 declarations/-ms-scroll-rails */ () => seq([kws(["none", "railed"])], [0]),
|
|
14674
|
+
/* 71 declarations/-ms-scroll-snap-points-x */ () => seq([alt([seq([fn("snapinterval", seq([leaf("length-percentage"), comma$1, leaf("length-percentage")], [0, 0, 0]))], [0]), seq([fn("snaplist", seq([list(seq([leaf("length-percentage")], [0]), 0, Infinity, 0)], [0]))], [0])])], [0]),
|
|
14675
|
+
/* 72 declarations/-ms-scroll-snap-points-y */ () => seq([alt([seq([fn("snapinterval", seq([leaf("length-percentage"), comma$1, leaf("length-percentage")], [0, 0, 0]))], [0]), seq([fn("snaplist", seq([list(seq([leaf("length-percentage")], [0]), 0, Infinity, 0)], [0]))], [0])])], [0]),
|
|
14676
|
+
/* 73 declarations/-ms-scroll-snap-type */ () => seq([kws(["none", "proximity", "mandatory"])], [0]),
|
|
14677
|
+
/* 74 declarations/-ms-scroll-snap-x */ () => seq([ref(73), ref(71)], [0, 0]),
|
|
14678
|
+
/* 75 declarations/-ms-scroll-snap-y */ () => seq([ref(73), ref(72)], [0, 0]),
|
|
14679
|
+
/* 76 declarations/-ms-scroll-translation */ () => seq([kws(["none", "vertical-to-horizontal"])], [0]),
|
|
14680
|
+
/* 77 declarations/-ms-scrollbar-3dlight-color */ () => seq([leaf("color")], [0]),
|
|
14681
|
+
/* 78 declarations/-ms-scrollbar-arrow-color */ () => seq([leaf("color")], [0]),
|
|
14682
|
+
/* 79 declarations/-ms-scrollbar-base-color */ () => seq([leaf("color")], [0]),
|
|
14683
|
+
/* 80 declarations/-ms-scrollbar-darkshadow-color */ () => seq([leaf("color")], [0]),
|
|
14684
|
+
/* 81 declarations/-ms-scrollbar-face-color */ () => seq([leaf("color")], [0]),
|
|
14685
|
+
/* 82 declarations/-ms-scrollbar-highlight-color */ () => seq([leaf("color")], [0]),
|
|
14686
|
+
/* 83 declarations/-ms-scrollbar-shadow-color */ () => seq([leaf("color")], [0]),
|
|
14687
|
+
/* 84 declarations/-ms-scrollbar-track-color */ () => seq([leaf("color")], [0]),
|
|
14688
|
+
/* 85 declarations/-ms-text-autospace */ () => seq([kws(["none", "ideograph-alpha", "ideograph-numeric", "ideograph-parenthesis", "ideograph-space"])], [0]),
|
|
14689
|
+
/* 86 declarations/-ms-touch-select */ () => seq([kws(["grippers", "none"])], [0]),
|
|
14690
|
+
/* 87 declarations/-ms-user-select */ () => seq([kws(["none", "element", "text"])], [0]),
|
|
14691
|
+
/* 88 declarations/-ms-wrap-flow */ () => seq([kws(["auto", "both", "start", "end", "maximum", "clear"])], [0]),
|
|
14692
|
+
/* 89 declarations/-ms-wrap-margin */ () => seq([leaf("length")], [0]),
|
|
14693
|
+
/* 90 declarations/-ms-wrap-through */ () => seq([kws(["wrap", "none"])], [0]),
|
|
14694
|
+
/* 91 declarations/-webkit-appearance */ () => seq([alt([seq([ref(165)], [0]), seq([kw("none")], [0]), seq([kw("button")], [0]), seq([kw("button-bevel")], [0]), seq([kw("caps-lock-indicator")], [0]), seq([kw("caret")], [0]), seq([kw("checkbox")], [0]), seq([kw("default-button")], [0]), seq([kw("inner-spin-button")], [0]), seq([kw("listbox")], [0]), seq([kw("listitem")], [0]), seq([kw("media-controls-background")], [0]), seq([kw("media-controls-fullscreen-background")], [0]), seq([kw("media-current-time-display")], [0]), seq([kw("media-enter-fullscreen-button")], [0]), seq([kw("media-exit-fullscreen-button")], [0]), seq([kw("media-fullscreen-button")], [0]), seq([kw("media-mute-button")], [0]), seq([kw("media-overlay-play-button")], [0]), seq([kw("media-play-button")], [0]), seq([kw("media-seek-back-button")], [0]), seq([kw("media-seek-forward-button")], [0]), seq([kw("media-slider")], [0]), seq([kw("media-sliderthumb")], [0]), seq([kw("media-time-remaining-display")], [0]), seq([kw("media-toggle-closed-captions-button")], [0]), seq([kw("media-volume-slider")], [0]), seq([kw("media-volume-slider-container")], [0]), seq([kw("media-volume-sliderthumb")], [0]), seq([kw("menulist")], [0]), seq([kw("menulist-button")], [0]), seq([kw("menulist-text")], [0]), seq([kw("menulist-textfield")], [0]), seq([kw("meter")], [0]), seq([kw("progress-bar")], [0]), seq([kw("progress-bar-value")], [0]), seq([kw("push-button")], [0]), seq([kw("radio")], [0]), seq([kw("scrollbarbutton-down")], [0]), seq([kw("scrollbarbutton-left")], [0]), seq([kw("scrollbarbutton-right")], [0]), seq([kw("scrollbarbutton-up")], [0]), seq([kw("scrollbargripper-horizontal")], [0]), seq([kw("scrollbargripper-vertical")], [0]), seq([kw("scrollbarthumb-horizontal")], [0]), seq([kw("scrollbarthumb-vertical")], [0]), seq([kw("scrollbartrack-horizontal")], [0]), seq([kw("scrollbartrack-vertical")], [0]), seq([kw("searchfield")], [0]), seq([kw("searchfield-cancel-button")], [0]), seq([kw("searchfield-decoration")], [0]), seq([kw("searchfield-results-button")], [0]), seq([kw("searchfield-results-decoration")], [0]), seq([kw("slider-horizontal")], [0]), seq([kw("slider-vertical")], [0]), seq([kw("sliderthumb-horizontal")], [0]), seq([kw("sliderthumb-vertical")], [0]), seq([kw("square-button")], [0]), seq([kw("textarea")], [0]), seq([kw("textfield")], [0]), seq([kw("-apple-pay-button")], [0])])], [0]),
|
|
14695
|
+
/* 92 declarations/-webkit-background-clip */ () => seq([alt([seq([ref(172)], [0]), seq([list(seq([seq([alt([seq([ref(1207)], [0]), seq([kw("border")], [0]), seq([kw("padding")], [0]), seq([kw("content")], [0]), seq([kw("text")], [0])])], [0])], [0]), 0, Infinity, 0)], [0])])], [0]),
|
|
14696
|
+
/* 93 declarations/-webkit-border-after */ () => seq([ref(275)], [0]),
|
|
14697
|
+
/* 94 declarations/-webkit-border-after-color */ () => seq([ref(277)], [0]),
|
|
14698
|
+
/* 95 declarations/-webkit-border-after-style */ () => seq([ref(281)], [0]),
|
|
14699
|
+
/* 96 declarations/-webkit-border-after-width */ () => seq([ref(282)], [0]),
|
|
14700
|
+
/* 97 declarations/-webkit-border-before */ () => seq([ref(275)], [0]),
|
|
14701
|
+
/* 98 declarations/-webkit-border-before-color */ () => seq([ref(277)], [0]),
|
|
14702
|
+
/* 99 declarations/-webkit-border-before-style */ () => seq([ref(281)], [0]),
|
|
14703
|
+
/* 100 declarations/-webkit-border-before-width */ () => seq([ref(282)], [0]),
|
|
14704
|
+
/* 101 declarations/-webkit-border-end */ () => seq([ref(275)], [0]),
|
|
14705
|
+
/* 102 declarations/-webkit-border-end-color */ () => seq([ref(277)], [0]),
|
|
14706
|
+
/* 103 declarations/-webkit-border-end-style */ () => seq([ref(281)], [0]),
|
|
14707
|
+
/* 104 declarations/-webkit-border-end-width */ () => seq([ref(282)], [0]),
|
|
14708
|
+
/* 105 declarations/-webkit-border-start */ () => seq([ref(275)], [0]),
|
|
14709
|
+
/* 106 declarations/-webkit-border-start-color */ () => seq([ref(277)], [0]),
|
|
14710
|
+
/* 107 declarations/-webkit-border-start-style */ () => seq([ref(281)], [0]),
|
|
14711
|
+
/* 108 declarations/-webkit-border-start-width */ () => seq([ref(282)], [0]),
|
|
14712
|
+
/* 109 declarations/-webkit-box-reflect */ () => seq([opt(seq([kws(["above", "below", "right", "left"])], [0])), opt(leaf("length")), opt(ref(1344))], [1, 1, 1]),
|
|
14713
|
+
/* 110 declarations/-webkit-column-break-after */ () => seq([kws(["always", "auto", "avoid"])], [0]),
|
|
14714
|
+
/* 111 declarations/-webkit-column-break-before */ () => seq([kws(["always", "auto", "avoid"])], [0]),
|
|
14715
|
+
/* 112 declarations/-webkit-column-break-inside */ () => seq([kws(["always", "auto", "avoid"])], [0]),
|
|
14716
|
+
/* 113 declarations/-webkit-font-smoothing */ () => seq([kws(["auto", "none", "antialiased", "subpixel-antialiased"])], [0]),
|
|
14717
|
+
/* 114 declarations/-webkit-line-clamp */ () => seq([alt([seq([kw("none")], [0]), seq([rng(leaf("integer"), [1, Infinity, null, true], false)], [0])])], [0]),
|
|
14718
|
+
/* 115 declarations/-webkit-margin-end */ () => seq([ref(541)], [0]),
|
|
14719
|
+
/* 116 declarations/-webkit-mask */ () => seq([alt([seq([ref(557)], [0]), seq([list(seq([seq([unordered([seq([ref(1394)], [0]), seq([ref(1463), opt(seq([slash, ref(1211)], [0, 0]))], [0, 1]), seq([ref(1503)], [0]), seq([seq([alt([seq([ref(1328)], [0]), seq([kw("border")], [0]), seq([kw("padding")], [0]), seq([kw("content")], [0]), seq([kw("text")], [0])])], [0])], [0]), seq([seq([alt([seq([ref(1328)], [0]), seq([kw("no-clip")], [0]), seq([kw("border")], [0]), seq([kw("padding")], [0]), seq([kw("content")], [0]), seq([kw("text")], [0])])], [0])], [0]), seq([seq([alt([seq([ref(1248)], [0]), seq([ref(967)], [0])])], [0])], [0]), seq([ref(1396)], [0])], [0, 0, 0, 0, 0, 0, 0], false)], [0])], [0]), 0, Infinity, 0)], [0])])], [0]),
|
|
14720
|
+
/* 117 declarations/-webkit-mask-attachment */ () => seq([list(seq([ref(1184)], [0]), 0, Infinity, 0)], [0]),
|
|
14721
|
+
/* 118 declarations/-webkit-mask-box-image */ () => seq([alt([seq([ref(558)], [0]), seq([seq([alt([seq([leaf("url")], [0]), seq([ref(1329)], [0]), seq([kw("none")], [0])])], [0]), opt(seq([occ(seq([leaf("length-percentage")], [0]), 4, 4), occ(seq([ref(937)], [0]), 2, 2)], [0, 0]))], [0, 1])])], [0]),
|
|
14722
|
+
/* 119 declarations/-webkit-mask-clip */ () => seq([alt([seq([ref(565)], [0]), seq([list(seq([seq([alt([seq([ref(1263)], [0]), seq([kw("no-clip")], [0]), seq([kw("border")], [0]), seq([kw("padding")], [0]), seq([kw("content")], [0]), seq([kw("text")], [0])])], [0])], [0]), 0, Infinity, 0)], [0])])], [0]),
|
|
14723
|
+
/* 120 declarations/-webkit-mask-composite */ () => seq([alt([seq([ref(566)], [0]), seq([list(seq([seq([alt([seq([ref(1248)], [0]), seq([ref(967)], [0])])], [0])], [0]), 0, Infinity, 0)], [0])])], [0]),
|
|
14724
|
+
/* 121 declarations/-webkit-mask-origin */ () => seq([alt([seq([ref(569)], [0]), seq([list(seq([seq([alt([seq([ref(1263)], [0]), seq([kw("border")], [0]), seq([kw("padding")], [0]), seq([kw("content")], [0])])], [0])], [0]), 0, Infinity, 0)], [0])])], [0]),
|
|
14725
|
+
/* 122 declarations/-webkit-mask-position-x */ () => seq([list(seq([seq([alt([seq([leaf("length-percentage")], [0]), seq([kw("left")], [0]), seq([kw("center")], [0]), seq([kw("right")], [0])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
14726
|
+
/* 123 declarations/-webkit-mask-position-y */ () => seq([list(seq([seq([alt([seq([leaf("length-percentage")], [0]), seq([kw("top")], [0]), seq([kw("center")], [0]), seq([kw("bottom")], [0])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
14727
|
+
/* 124 declarations/-webkit-mask-repeat-x */ () => seq([kws(["repeat", "no-repeat", "space", "round"])], [0]),
|
|
14728
|
+
/* 125 declarations/-webkit-mask-repeat-y */ () => seq([kws(["repeat", "no-repeat", "space", "round"])], [0]),
|
|
14729
|
+
/* 126 declarations/-webkit-overflow-scrolling */ () => seq([kws(["auto", "touch"])], [0]),
|
|
14730
|
+
/* 127 declarations/-webkit-print-color-adjust */ () => seq([kws(["economy", "exact"])], [0]),
|
|
14731
|
+
/* 128 declarations/-webkit-tap-highlight-color */ () => seq([leaf("color")], [0]),
|
|
14732
|
+
/* 129 declarations/-webkit-text-fill-color */ () => seq([leaf("color")], [0]),
|
|
14733
|
+
/* 130 declarations/-webkit-text-security */ () => seq([kws(["none", "circle", "disc", "square"])], [0]),
|
|
14734
|
+
/* 131 declarations/-webkit-text-stroke */ () => seq([unordered([seq([ref(1383)], [0]), seq([leaf("color")], [0])], [0, 0], false)], [0]),
|
|
14735
|
+
/* 132 declarations/-webkit-text-stroke-color */ () => seq([leaf("color")], [0]),
|
|
14736
|
+
/* 133 declarations/-webkit-text-stroke-width */ () => seq([ref(1383)], [0]),
|
|
14737
|
+
/* 134 declarations/-webkit-touch-callout */ () => seq([kws(["default", "none"])], [0]),
|
|
14738
|
+
/* 135 declarations/-webkit-user-drag */ () => seq([kws(["none", "element", "auto"])], [0]),
|
|
14739
|
+
/* 136 declarations/-webkit-user-modify */ () => seq([kws(["read-only", "read-write", "read-write-plaintext-only"])], [0]),
|
|
14740
|
+
/* 137 declarations/-webkit-user-select */ () => seq([kws(["auto", "text", "none", "contain", "all"])], [0]),
|
|
14741
|
+
/* 138 declarations/accent-color */ () => seq([alt([seq([kw("auto")], [0]), seq([leaf("color")], [0])])], [0]),
|
|
14742
|
+
/* 139 declarations/align-content */ () => seq([alt([seq([kw("normal")], [0]), seq([ref(1204)], [0]), seq([ref(1256)], [0]), seq([opt(ref(1450)), leaf("content-position")], [0, 0])])], [0]),
|
|
14743
|
+
/* 140 declarations/align-items */ () => seq([alt([seq([kw("normal")], [0]), seq([kw("stretch")], [0]), seq([ref(1204)], [0]), seq([opt(ref(1450)), ref(1516)], [0, 0])])], [0]),
|
|
14744
|
+
/* 141 declarations/align-self */ () => seq([alt([seq([kw("auto")], [0]), seq([opt(ref(1450)), seq([alt([seq([kw("normal")], [0]), seq([ref(1516)], [0])])], [0])], [0, 0]), seq([kw("stretch")], [0]), seq([ref(1204)], [0]), seq([kw("anchor-center")], [0])])], [0]),
|
|
14745
|
+
/* 142 declarations/align-tracks */ () => seq([list(seq([seq([alt([seq([kw("normal")], [0]), seq([ref(1204)], [0]), seq([ref(1256)], [0]), seq([opt(ref(1450)), leaf("content-position")], [0, 0])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
14746
|
+
/* 143 declarations/alignment-baseline */ () => seq([alt([seq([kw("baseline")], [0]), seq([ref(1203)], [0])])], [0]),
|
|
14747
|
+
/* 144 declarations/all */ () => seq([kws(["initial", "inherit", "unset", "revert", "revert-layer", "revert-rule"])], [0]),
|
|
14748
|
+
/* 145 declarations/anchor-name */ () => seq([alt([seq([kw("none")], [0]), seq([list(seq([ref(1171)], [0]), 0, Infinity, 0)], [0])])], [0]),
|
|
14749
|
+
/* 146 declarations/anchor-scope */ () => seq([alt([seq([kw("none")], [0]), seq([kw("all")], [0]), seq([list(seq([ref(1171)], [0]), 0, Infinity, 0)], [0])])], [0]),
|
|
14750
|
+
/* 147 declarations/animation */ () => seq([list(seq([ref(1526)], [0]), 0, Infinity, 0)], [0]),
|
|
14751
|
+
/* 148 declarations/animation-composition */ () => seq([list(seq([ref(1527)], [0]), 0, Infinity, 0)], [0]),
|
|
14752
|
+
/* 149 declarations/animation-delay */ () => seq([list(seq([seq([ref(151), opt(ref(150))], [0, 1])], [0]), 0, Infinity, 0)], [0]),
|
|
14753
|
+
/* 150 declarations/animation-delay-end */ () => seq([list(seq([rng(leaf("time"), [0, Infinity, "Time", true], false)], [0]), 0, Infinity, 0)], [0]),
|
|
14754
|
+
/* 151 declarations/animation-delay-start */ () => seq([list(seq([leaf("time")], [0]), 0, Infinity, 0)], [0]),
|
|
14755
|
+
/* 152 declarations/animation-direction */ () => seq([list(seq([ref(1528)], [0]), 0, Infinity, 0)], [0]),
|
|
14756
|
+
/* 153 declarations/animation-duration */ () => seq([list(seq([seq([alt([seq([kw("auto")], [0]), seq([rng(leaf("time"), [0, Infinity, "Time", true], false)], [0])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
14757
|
+
/* 154 declarations/animation-fill-mode */ () => seq([list(seq([ref(1529)], [0]), 0, Infinity, 0)], [0]),
|
|
14758
|
+
/* 155 declarations/animation-iteration-count */ () => seq([list(seq([ref(1530)], [0]), 0, Infinity, 0)], [0]),
|
|
14759
|
+
/* 156 declarations/animation-name */ () => seq([list(seq([seq([alt([seq([kw("none")], [0]), seq([ref(1361)], [0])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
14760
|
+
/* 157 declarations/animation-play-state */ () => seq([list(seq([ref(1531)], [0]), 0, Infinity, 0)], [0]),
|
|
14761
|
+
/* 158 declarations/animation-range */ () => seq([list(seq([seq([ref(161), opt(ref(160))], [0, 1])], [0]), 0, Infinity, 0)], [0]),
|
|
14762
|
+
/* 159 declarations/animation-range-center */ () => seq([list(seq([seq([alt([seq([kw("normal")], [0]), seq([seq([alt([seq([leaf("length-percentage")], [0]), seq([ref(1145), opt(leaf("length-percentage"))], [0, 1])])], [0])], [0])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
14763
|
+
/* 160 declarations/animation-range-end */ () => seq([list(seq([seq([alt([seq([kw("normal")], [0]), seq([leaf("length-percentage")], [0]), seq([ref(1146), opt(leaf("length-percentage"))], [0, 1])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
14764
|
+
/* 161 declarations/animation-range-start */ () => seq([list(seq([seq([alt([seq([kw("normal")], [0]), seq([leaf("length-percentage")], [0]), seq([ref(1146), opt(leaf("length-percentage"))], [0, 1])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
14765
|
+
/* 162 declarations/animation-timeline */ () => seq([list(seq([ref(1532)], [0]), 0, Infinity, 0)], [0]),
|
|
14766
|
+
/* 163 declarations/animation-timing-function */ () => seq([list(seq([ref(1290)], [0]), 0, Infinity, 0)], [0]),
|
|
14767
|
+
/* 164 declarations/animation-trigger */ () => seq([list(seq([seq([alt([seq([kw("none")], [0]), seq([rep(seq([seq([leaf("dashed-ident"), rep(seq([ref(944)], [0]), false)], [0, 0])], [0]), false)], [0])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
14768
|
+
/* 165 declarations/appearance */ () => seq([alt([seq([kw("none")], [0]), seq([kw("auto")], [0]), seq([kw("base")], [0]), seq([kw("base-select")], [0]), seq([ref(1240)], [0]), seq([ref(1241)], [0])])], [0]),
|
|
14769
|
+
/* 166 declarations/aspect-ratio */ () => seq([unordered([seq([kw("auto")], [0]), seq([ref(1490)], [0])], [0, 0], false)], [0]),
|
|
14770
|
+
/* 167 declarations/backdrop-filter */ () => seq([alt([seq([kw("none")], [0]), seq([ref(1298)], [0])])], [0]),
|
|
14771
|
+
/* 168 declarations/backface-visibility */ () => seq([kws(["visible", "hidden"])], [0]),
|
|
14772
|
+
/* 169 declarations/background */ () => seq([optList(seq([ref(1209), comma$1], [0, 0])), ref(1299)], [0, 0]),
|
|
14773
|
+
/* 170 declarations/background-attachment */ () => seq([list(seq([ref(1184)], [0]), 0, Infinity, 0)], [0]),
|
|
14774
|
+
/* 171 declarations/background-blend-mode */ () => seq([list(seq([ref(590)], [0]), 0, Infinity, 0)], [0]),
|
|
14775
|
+
/* 172 declarations/background-clip */ () => seq([list(seq([ref(1207)], [0]), 0, Infinity, 0)], [0]),
|
|
14776
|
+
/* 173 declarations/background-color */ () => seq([leaf("color")], [0]),
|
|
14777
|
+
/* 174 declarations/background-image */ () => seq([list(seq([ref(1208)], [0]), 0, Infinity, 0)], [0]),
|
|
14778
|
+
/* 175 declarations/background-origin */ () => seq([list(seq([ref(1595)], [0]), 0, Infinity, 0)], [0]),
|
|
14779
|
+
/* 176 declarations/background-position */ () => seq([list(seq([ref(1210)], [0]), 0, Infinity, 0)], [0]),
|
|
14780
|
+
/* 177 declarations/background-position-block */ () => seq([list(seq([seq([alt([seq([kw("center")], [0]), seq([seq([opt(seq([kws(["start", "end"])], [0])), opt(leaf("length-percentage"))], [1, 1])], [0])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
14781
|
+
/* 178 declarations/background-position-inline */ () => seq([list(seq([seq([alt([seq([kw("center")], [0]), seq([seq([opt(seq([kws(["start", "end"])], [0])), opt(leaf("length-percentage"))], [1, 1])], [0])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
14782
|
+
/* 179 declarations/background-position-x */ () => seq([list(seq([seq([alt([seq([kw("center")], [0]), seq([seq([opt(seq([kws(["left", "right", "x-start", "x-end"])], [0])), opt(leaf("length-percentage"))], [1, 1])], [0])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
14783
|
+
/* 180 declarations/background-position-y */ () => seq([list(seq([seq([alt([seq([kw("center")], [0]), seq([seq([opt(seq([kws(["top", "bottom", "y-start", "y-end"])], [0])), opt(leaf("length-percentage"))], [1, 1])], [0])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
14784
|
+
/* 181 declarations/background-repeat */ () => seq([list(seq([ref(1503)], [0]), 0, Infinity, 0)], [0]),
|
|
14785
|
+
/* 182 declarations/background-repeat-block */ () => seq([list(seq([ref(1504)], [0]), 0, Infinity, 0)], [0]),
|
|
14786
|
+
/* 183 declarations/background-repeat-inline */ () => seq([list(seq([ref(1504)], [0]), 0, Infinity, 0)], [0]),
|
|
14787
|
+
/* 184 declarations/background-repeat-x */ () => seq([list(seq([ref(1504)], [0]), 0, Infinity, 0)], [0]),
|
|
14788
|
+
/* 185 declarations/background-repeat-y */ () => seq([list(seq([ref(1504)], [0]), 0, Infinity, 0)], [0]),
|
|
14789
|
+
/* 186 declarations/background-size */ () => seq([list(seq([ref(1211)], [0]), 0, Infinity, 0)], [0]),
|
|
14790
|
+
/* 187 declarations/background-tbd */ () => seq([list(seq([ref(1209)], [0]), 0, Infinity, 0)], [0]),
|
|
14791
|
+
/* 188 declarations/baseline-shift */ () => seq([alt([seq([leaf("length-percentage")], [0]), seq([kw("sub")], [0]), seq([kw("super")], [0]), seq([kw("top")], [0]), seq([kw("center")], [0]), seq([kw("bottom")], [0])])], [0]),
|
|
14792
|
+
/* 189 declarations/baseline-source */ () => seq([kws(["auto", "first", "last"])], [0]),
|
|
14793
|
+
/* 190 declarations/behavior */ () => seq([rep(seq([leaf("url")], [0]), false)], [0]),
|
|
14794
|
+
/* 191 declarations/block-ellipsis */ () => seq([alt([seq([kw("no-ellipsis")], [0]), seq([kw("ellipsis")], [0]), seq([leaf("string")], [0])])], [0]),
|
|
14795
|
+
/* 192 declarations/block-size */ () => seq([alt([seq([kw("auto")], [0]), seq([ref(1215)], [0]), seq([fndef("anchor-size", ref(943))], [0])])], [0]),
|
|
14796
|
+
/* 193 declarations/block-step */ () => seq([unordered([seq([ref(197)], [0]), seq([ref(195)], [0]), seq([ref(194)], [0]), seq([ref(196)], [0])], [0, 0, 0, 0], false)], [0]),
|
|
14797
|
+
/* 194 declarations/block-step-align */ () => seq([kws(["auto", "center", "start", "end"])], [0]),
|
|
14798
|
+
/* 195 declarations/block-step-insert */ () => seq([kws(["margin-box", "padding-box", "content-box"])], [0]),
|
|
14799
|
+
/* 196 declarations/block-step-round */ () => seq([kws(["up", "down", "nearest"])], [0]),
|
|
14800
|
+
/* 197 declarations/block-step-size */ () => seq([alt([seq([kw("none")], [0]), seq([rng(leaf("length"), [0, Infinity, null, true], false)], [0])])], [0]),
|
|
14801
|
+
/* 198 declarations/bookmark-label */ () => seq([ref(1258)], [0]),
|
|
14802
|
+
/* 199 declarations/bookmark-level */ () => seq([alt([seq([kw("none")], [0]), seq([rng(leaf("integer"), [1, Infinity, null, true], false)], [0])])], [0]),
|
|
14803
|
+
/* 200 declarations/bookmark-state */ () => seq([kws(["open", "closed"])], [0]),
|
|
14804
|
+
/* 201 declarations/border */ () => seq([unordered([seq([ref(1383)], [0]), seq([ref(1380)], [0]), seq([leaf("color")], [0])], [0, 0, 0], false)], [0]),
|
|
14805
|
+
/* 202 declarations/border-block */ () => seq([ref(211)], [0]),
|
|
14806
|
+
/* 203 declarations/border-block-clip */ () => seq([ref(276)], [0]),
|
|
14807
|
+
/* 204 declarations/border-block-color */ () => seq([occ(seq([ref(277)], [0]), 1, 2)], [0]),
|
|
14808
|
+
/* 205 declarations/border-block-end */ () => seq([unordered([seq([ref(1383)], [0]), seq([ref(1380)], [0]), seq([leaf("color")], [0])], [0, 0, 0], false)], [0]),
|
|
14809
|
+
/* 206 declarations/border-block-end-clip */ () => seq([alt([seq([kw("none")], [0]), seq([rep(seq([seq([alt([seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), seq([leaf("flex")], [0])])], [0])], [0]), false)], [0])])], [0]),
|
|
14810
|
+
/* 207 declarations/border-block-end-color */ () => seq([alt([seq([leaf("color")], [0]), seq([ref(1345)], [0])])], [0]),
|
|
14811
|
+
/* 208 declarations/border-block-end-radius */ () => seq([occ(seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), 1, 2), opt(seq([slash, occ(seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), 1, 2)], [0, 0]))], [0, 1]),
|
|
14812
|
+
/* 209 declarations/border-block-end-style */ () => seq([ref(1380)], [0]),
|
|
14813
|
+
/* 210 declarations/border-block-end-width */ () => seq([ref(1383)], [0]),
|
|
14814
|
+
/* 211 declarations/border-block-start */ () => seq([unordered([seq([ref(1383)], [0]), seq([ref(1380)], [0]), seq([leaf("color")], [0])], [0, 0, 0], false)], [0]),
|
|
14815
|
+
/* 212 declarations/border-block-start-clip */ () => seq([alt([seq([kw("none")], [0]), seq([rep(seq([seq([alt([seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), seq([leaf("flex")], [0])])], [0])], [0]), false)], [0])])], [0]),
|
|
14816
|
+
/* 213 declarations/border-block-start-color */ () => seq([alt([seq([leaf("color")], [0]), seq([ref(1345)], [0])])], [0]),
|
|
14817
|
+
/* 214 declarations/border-block-start-radius */ () => seq([occ(seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), 1, 2), opt(seq([slash, occ(seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), 1, 2)], [0, 0]))], [0, 1]),
|
|
14818
|
+
/* 215 declarations/border-block-start-style */ () => seq([ref(1380)], [0]),
|
|
14819
|
+
/* 216 declarations/border-block-start-width */ () => seq([ref(1383)], [0]),
|
|
14820
|
+
/* 217 declarations/border-block-style */ () => seq([occ(seq([ref(281)], [0]), 1, 2)], [0]),
|
|
14821
|
+
/* 218 declarations/border-block-width */ () => seq([occ(seq([ref(282)], [0]), 1, 2)], [0]),
|
|
14822
|
+
/* 219 declarations/border-bottom */ () => seq([unordered([seq([ref(1383)], [0]), seq([ref(1380)], [0]), seq([leaf("color")], [0])], [0, 0, 0], false)], [0]),
|
|
14823
|
+
/* 220 declarations/border-bottom-clip */ () => seq([alt([seq([kw("none")], [0]), seq([rep(seq([seq([alt([seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), seq([leaf("flex")], [0])])], [0])], [0]), false)], [0])])], [0]),
|
|
14824
|
+
/* 221 declarations/border-bottom-color */ () => seq([alt([seq([leaf("color")], [0]), seq([ref(1345)], [0])])], [0]),
|
|
14825
|
+
/* 222 declarations/border-bottom-left-radius */ () => seq([ref(1214)], [0]),
|
|
14826
|
+
/* 223 declarations/border-bottom-radius */ () => seq([occ(seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), 1, 2), opt(seq([slash, occ(seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), 1, 2)], [0, 0]))], [0, 1]),
|
|
14827
|
+
/* 224 declarations/border-bottom-right-radius */ () => seq([ref(1214)], [0]),
|
|
14828
|
+
/* 225 declarations/border-bottom-style */ () => seq([ref(1380)], [0]),
|
|
14829
|
+
/* 226 declarations/border-bottom-width */ () => seq([ref(1383)], [0]),
|
|
14830
|
+
/* 227 declarations/border-boundary */ () => seq([kws(["none", "parent", "display"])], [0]),
|
|
14831
|
+
/* 228 declarations/border-clip */ () => seq([ref(276)], [0]),
|
|
14832
|
+
/* 229 declarations/border-collapse */ () => seq([kws(["separate", "collapse"])], [0]),
|
|
14833
|
+
/* 230 declarations/border-color */ () => seq([occ(seq([seq([alt([seq([leaf("color")], [0]), seq([ref(1345)], [0])])], [0])], [0]), 1, 4)], [0]),
|
|
14834
|
+
/* 231 declarations/border-end-end-radius */ () => seq([ref(1214)], [0]),
|
|
14835
|
+
/* 232 declarations/border-end-start-radius */ () => seq([ref(1214)], [0]),
|
|
14836
|
+
/* 233 declarations/border-image */ () => seq([unordered([seq([ref(237)], [0]), seq([ref(236), opt(seq([alt([seq([slash, ref(238)], [0, 0]), seq([slash, opt(ref(238)), slash, ref(234)], [0, 0, 0, 0])])], [0]))], [0, 1]), seq([ref(235)], [0])], [0, 0, 0], false)], [0]),
|
|
14837
|
+
/* 234 declarations/border-image-outset */ () => seq([occ(seq([seq([alt([seq([rng(leaf("length"), [0, Infinity, null, true], false)], [0]), seq([rng(leaf("number"), [0, Infinity, null, true], false)], [0])])], [0])], [0]), 1, 4)], [0]),
|
|
14838
|
+
/* 235 declarations/border-image-repeat */ () => seq([occ(seq([seq([kws(["stretch", "repeat", "round", "space"])], [0])], [0]), 1, 2)], [0]),
|
|
14839
|
+
/* 236 declarations/border-image-slice */ () => seq([unordered([seq([occ(seq([seq([alt([seq([rng(leaf("number"), [0, Infinity, null, true], false)], [0]), seq([rng(leaf("percentage"), [0, Infinity, null, true], false)], [0])])], [0])], [0]), 1, 4)], [0]), seq([opt(kw("fill"))], [1])], [0, 1], true)], [0]),
|
|
14840
|
+
/* 237 declarations/border-image-source */ () => seq([alt([seq([kw("none")], [0]), seq([ref(1344)], [0])])], [0]),
|
|
14841
|
+
/* 238 declarations/border-image-width */ () => seq([occ(seq([seq([alt([seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), seq([rng(leaf("number"), [0, Infinity, null, true], false)], [0]), seq([kw("auto")], [0])])], [0])], [0]), 1, 4)], [0]),
|
|
14842
|
+
/* 239 declarations/border-inline */ () => seq([ref(211)], [0]),
|
|
14843
|
+
/* 240 declarations/border-inline-clip */ () => seq([ref(276)], [0]),
|
|
14844
|
+
/* 241 declarations/border-inline-color */ () => seq([occ(seq([ref(277)], [0]), 1, 2)], [0]),
|
|
14845
|
+
/* 242 declarations/border-inline-end */ () => seq([unordered([seq([ref(1383)], [0]), seq([ref(1380)], [0]), seq([leaf("color")], [0])], [0, 0, 0], false)], [0]),
|
|
14846
|
+
/* 243 declarations/border-inline-end-clip */ () => seq([alt([seq([kw("none")], [0]), seq([rep(seq([seq([alt([seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), seq([leaf("flex")], [0])])], [0])], [0]), false)], [0])])], [0]),
|
|
14847
|
+
/* 244 declarations/border-inline-end-color */ () => seq([alt([seq([leaf("color")], [0]), seq([ref(1345)], [0])])], [0]),
|
|
14848
|
+
/* 245 declarations/border-inline-end-radius */ () => seq([occ(seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), 1, 2), opt(seq([slash, occ(seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), 1, 2)], [0, 0]))], [0, 1]),
|
|
14849
|
+
/* 246 declarations/border-inline-end-style */ () => seq([ref(1380)], [0]),
|
|
14850
|
+
/* 247 declarations/border-inline-end-width */ () => seq([ref(1383)], [0]),
|
|
14851
|
+
/* 248 declarations/border-inline-start */ () => seq([unordered([seq([ref(1383)], [0]), seq([ref(1380)], [0]), seq([leaf("color")], [0])], [0, 0, 0], false)], [0]),
|
|
14852
|
+
/* 249 declarations/border-inline-start-clip */ () => seq([alt([seq([kw("none")], [0]), seq([rep(seq([seq([alt([seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), seq([leaf("flex")], [0])])], [0])], [0]), false)], [0])])], [0]),
|
|
14853
|
+
/* 250 declarations/border-inline-start-color */ () => seq([alt([seq([leaf("color")], [0]), seq([ref(1345)], [0])])], [0]),
|
|
14854
|
+
/* 251 declarations/border-inline-start-radius */ () => seq([occ(seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), 1, 2), opt(seq([slash, occ(seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), 1, 2)], [0, 0]))], [0, 1]),
|
|
14855
|
+
/* 252 declarations/border-inline-start-style */ () => seq([ref(1380)], [0]),
|
|
14856
|
+
/* 253 declarations/border-inline-start-width */ () => seq([ref(1383)], [0]),
|
|
14857
|
+
/* 254 declarations/border-inline-style */ () => seq([occ(seq([ref(281)], [0]), 1, 2)], [0]),
|
|
14858
|
+
/* 255 declarations/border-inline-width */ () => seq([occ(seq([ref(282)], [0]), 1, 2)], [0]),
|
|
14859
|
+
/* 256 declarations/border-left */ () => seq([unordered([seq([ref(1383)], [0]), seq([ref(1380)], [0]), seq([leaf("color")], [0])], [0, 0, 0], false)], [0]),
|
|
14860
|
+
/* 257 declarations/border-left-clip */ () => seq([alt([seq([kw("none")], [0]), seq([rep(seq([seq([alt([seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), seq([leaf("flex")], [0])])], [0])], [0]), false)], [0])])], [0]),
|
|
14861
|
+
/* 258 declarations/border-left-color */ () => seq([alt([seq([leaf("color")], [0]), seq([ref(1345)], [0])])], [0]),
|
|
14862
|
+
/* 259 declarations/border-left-radius */ () => seq([occ(seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), 1, 2), opt(seq([slash, occ(seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), 1, 2)], [0, 0]))], [0, 1]),
|
|
14863
|
+
/* 260 declarations/border-left-style */ () => seq([ref(1380)], [0]),
|
|
14864
|
+
/* 261 declarations/border-left-width */ () => seq([ref(1383)], [0]),
|
|
14865
|
+
/* 262 declarations/border-limit */ () => seq([alt([seq([kw("all")], [0]), seq([seq([kws(["sides", "corners"])], [0]), rng(leaf("length-percentage"), [0, Infinity, null, true], true)], [0, 1]), seq([seq([kws(["top", "right", "bottom", "left"])], [0]), rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0, 0])])], [0]),
|
|
14866
|
+
/* 263 declarations/border-radius */ () => seq([occ(seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), 1, 4), opt(seq([slash, occ(seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), 1, 4)], [0, 0]))], [0, 1]),
|
|
14867
|
+
/* 264 declarations/border-right */ () => seq([unordered([seq([ref(1383)], [0]), seq([ref(1380)], [0]), seq([leaf("color")], [0])], [0, 0, 0], false)], [0]),
|
|
14868
|
+
/* 265 declarations/border-right-clip */ () => seq([alt([seq([kw("none")], [0]), seq([rep(seq([seq([alt([seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), seq([leaf("flex")], [0])])], [0])], [0]), false)], [0])])], [0]),
|
|
14869
|
+
/* 266 declarations/border-right-color */ () => seq([alt([seq([leaf("color")], [0]), seq([ref(1345)], [0])])], [0]),
|
|
14870
|
+
/* 267 declarations/border-right-radius */ () => seq([occ(seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), 1, 2), opt(seq([slash, occ(seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), 1, 2)], [0, 0]))], [0, 1]),
|
|
14871
|
+
/* 268 declarations/border-right-style */ () => seq([ref(1380)], [0]),
|
|
14872
|
+
/* 269 declarations/border-right-width */ () => seq([ref(1383)], [0]),
|
|
14873
|
+
/* 270 declarations/border-shape */ () => seq([alt([seq([kw("none")], [0]), seq([occ(seq([seq([ref(1205), opt(ref(1328))], [0, 1])], [0]), 1, 2)], [0])])], [0]),
|
|
14874
|
+
/* 271 declarations/border-spacing */ () => seq([occ(seq([rng(leaf("length"), [0, Infinity, null, true], false)], [0]), 1, 2)], [0]),
|
|
14875
|
+
/* 272 declarations/border-start-end-radius */ () => seq([ref(1214)], [0]),
|
|
14876
|
+
/* 273 declarations/border-start-start-radius */ () => seq([ref(1214)], [0]),
|
|
14877
|
+
/* 274 declarations/border-style */ () => seq([occ(seq([ref(281)], [0]), 1, 4)], [0]),
|
|
14878
|
+
/* 275 declarations/border-top */ () => seq([unordered([seq([ref(1383)], [0]), seq([ref(1380)], [0]), seq([leaf("color")], [0])], [0, 0, 0], false)], [0]),
|
|
14879
|
+
/* 276 declarations/border-top-clip */ () => seq([alt([seq([kw("none")], [0]), seq([rep(seq([seq([alt([seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), seq([leaf("flex")], [0])])], [0])], [0]), false)], [0])])], [0]),
|
|
14880
|
+
/* 277 declarations/border-top-color */ () => seq([alt([seq([leaf("color")], [0]), seq([ref(1345)], [0])])], [0]),
|
|
14881
|
+
/* 278 declarations/border-top-left-radius */ () => seq([ref(1214)], [0]),
|
|
14882
|
+
/* 279 declarations/border-top-radius */ () => seq([occ(seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), 1, 2), opt(seq([slash, occ(seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), 1, 2)], [0, 0]))], [0, 1]),
|
|
14883
|
+
/* 280 declarations/border-top-right-radius */ () => seq([ref(1214)], [0]),
|
|
14884
|
+
/* 281 declarations/border-top-style */ () => seq([ref(1380)], [0]),
|
|
14885
|
+
/* 282 declarations/border-top-width */ () => seq([ref(1383)], [0]),
|
|
14886
|
+
/* 283 declarations/border-width */ () => seq([occ(seq([ref(282)], [0]), 1, 4)], [0]),
|
|
14887
|
+
/* 284 declarations/bottom */ () => seq([alt([seq([kw("auto")], [0]), seq([leaf("length-percentage")], [0]), seq([fndef("anchor", ref(942))], [0]), seq([fndef("anchor-size", ref(943))], [0])])], [0]),
|
|
14888
|
+
/* 285 declarations/box-align */ () => seq([kws(["start", "center", "end", "baseline", "stretch"])], [0]),
|
|
14889
|
+
/* 286 declarations/box-decoration-break */ () => seq([kws(["slice", "clone"])], [0]),
|
|
14890
|
+
/* 287 declarations/box-direction */ () => seq([kws(["normal", "reverse", "inherit"])], [0]),
|
|
14891
|
+
/* 288 declarations/box-flex */ () => seq([leaf("number")], [0]),
|
|
14892
|
+
/* 289 declarations/box-flex-group */ () => seq([leaf("integer")], [0]),
|
|
14893
|
+
/* 290 declarations/box-lines */ () => seq([kws(["single", "multiple"])], [0]),
|
|
14894
|
+
/* 291 declarations/box-ordinal-group */ () => seq([leaf("integer")], [0]),
|
|
14895
|
+
/* 292 declarations/box-orient */ () => seq([kws(["horizontal", "vertical", "inline-axis", "block-axis", "inherit"])], [0]),
|
|
14896
|
+
/* 293 declarations/box-pack */ () => seq([kws(["start", "center", "end", "justify"])], [0]),
|
|
14897
|
+
/* 294 declarations/box-shadow */ () => seq([list(seq([ref(1541)], [0]), 0, Infinity, 0)], [0]),
|
|
14898
|
+
/* 295 declarations/box-shadow-blur */ () => seq([list(seq([rng(leaf("length"), [0, Infinity, null, true], false)], [0]), 0, Infinity, 0)], [0]),
|
|
14899
|
+
/* 296 declarations/box-shadow-color */ () => seq([list(seq([leaf("color")], [0]), 0, Infinity, 0)], [0]),
|
|
14900
|
+
/* 297 declarations/box-shadow-offset */ () => seq([list(seq([seq([alt([seq([kw("none")], [0]), seq([occ(seq([leaf("length")], [0]), 1, 2)], [0])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
14901
|
+
/* 298 declarations/box-shadow-position */ () => seq([list(seq([seq([kws(["outset", "inset"])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
14902
|
+
/* 299 declarations/box-shadow-spread */ () => seq([list(seq([leaf("length")], [0]), 0, Infinity, 0)], [0]),
|
|
14903
|
+
/* 300 declarations/box-sizing */ () => seq([kws(["content-box", "border-box"])], [0]),
|
|
14904
|
+
/* 301 declarations/box-snap */ () => seq([kws(["none", "block-start", "block-end", "center", "baseline", "last-baseline"])], [0]),
|
|
14905
|
+
/* 302 declarations/break-after */ () => seq([kws(["auto", "avoid", "always", "all", "avoid-page", "page", "left", "right", "recto", "verso", "avoid-column", "column", "avoid-region", "region"])], [0]),
|
|
14906
|
+
/* 303 declarations/break-before */ () => seq([kws(["auto", "avoid", "always", "all", "avoid-page", "page", "left", "right", "recto", "verso", "avoid-column", "column", "avoid-region", "region"])], [0]),
|
|
14907
|
+
/* 304 declarations/break-inside */ () => seq([kws(["auto", "avoid", "avoid-page", "avoid-column", "avoid-region"])], [0]),
|
|
14908
|
+
/* 305 declarations/caption-side */ () => seq([kws(["top", "bottom"])], [0]),
|
|
14909
|
+
/* 306 declarations/caret */ () => seq([unordered([seq([ref(308)], [0]), seq([ref(307)], [0]), seq([ref(309)], [0])], [0, 0, 0], false)], [0]),
|
|
14910
|
+
/* 307 declarations/caret-animation */ () => seq([kws(["auto", "manual"])], [0]),
|
|
14911
|
+
/* 308 declarations/caret-color */ () => seq([alt([seq([kw("auto")], [0]), seq([leaf("color"), opt(seq([alt([seq([kw("auto")], [0]), seq([leaf("color")], [0])])], [0]))], [0, 1])])], [0]),
|
|
14912
|
+
/* 309 declarations/caret-shape */ () => seq([kws(["auto", "bar", "block", "underscore"])], [0]),
|
|
14913
|
+
/* 310 declarations/clear */ () => seq([kws(["inline-start", "inline-end", "block-start", "block-end", "left", "right", "top", "bottom", "both-inline", "both-block", "both", "none"])], [0]),
|
|
14914
|
+
/* 311 declarations/clip */ () => seq([alt([seq([fn("rect", seq([ref(1147), comma$1, ref(1090), comma$1, ref(952), comma$1, ref(1039)], [0, 0, 0, 0, 0, 0, 0]))], [0]), seq([kw("auto")], [0]), seq([fn("rect", seq([ref(1147), ref(1090), ref(952), ref(1039)], [0, 0, 0, 0]))], [0])])], [0]),
|
|
14915
|
+
/* 312 declarations/clip-path */ () => seq([alt([seq([ref(1223)], [0]), seq([seq([unordered([seq([ref(1205)], [0]), seq([ref(1328)], [0])], [0, 0], false)], [0])], [0]), seq([kw("none")], [0])])], [0]),
|
|
14916
|
+
/* 313 declarations/clip-rule */ () => seq([kws(["nonzero", "evenodd"])], [0]),
|
|
14917
|
+
/* 314 declarations/color */ () => seq([leaf("color")], [0]),
|
|
14918
|
+
/* 315 declarations/color-adjust */ () => seq([ref(674)], [0]),
|
|
14919
|
+
/* 316 declarations/color-interpolation */ () => seq([alt([seq([kw("auto")], [0]), seq([kw("srgb")], [0]), seq([kw("linearrgb")], [0]), seq([ref(1229)], [0])])], [0]),
|
|
14920
|
+
/* 317 declarations/color-interpolation-filters */ () => seq([kws(["auto", "srgb", "linearrgb"])], [0]),
|
|
14921
|
+
/* 318 declarations/color-scheme */ () => seq([alt([seq([kw("normal")], [0]), seq([unordered([seq([rep(seq([seq([alt([seq([kw("light")], [0]), seq([kw("dark")], [0]), seq([leaf("custom-ident")], [0])])], [0])], [0]), false)], [0]), seq([opt(kw("only"))], [1])], [0, 1], true)], [0])])], [0]),
|
|
14922
|
+
/* 319 declarations/column-count */ () => seq([alt([seq([kw("auto")], [0]), seq([rng(leaf("integer"), [1, Infinity, null, true], false)], [0])])], [0]),
|
|
14923
|
+
/* 320 declarations/column-fill */ () => seq([kws(["auto", "balance", "balance-all"])], [0]),
|
|
14924
|
+
/* 321 declarations/column-gap */ () => seq([alt([seq([kw("normal")], [0]), seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), seq([ref(1383)], [0])])], [0]),
|
|
14925
|
+
/* 322 declarations/column-height */ () => seq([alt([seq([kw("auto")], [0]), seq([rng(leaf("length"), [0, Infinity, null, true], false)], [0])])], [0]),
|
|
14926
|
+
/* 323 declarations/column-rule */ () => seq([alt([seq([ref(1320)], [0]), seq([ref(1317)], [0])])], [0]),
|
|
14927
|
+
/* 324 declarations/column-rule-break */ () => seq([kws(["none", "normal", "intersection"])], [0]),
|
|
14928
|
+
/* 325 declarations/column-rule-color */ () => seq([alt([seq([ref(1375)], [0]), seq([ref(1192)], [0])])], [0]),
|
|
14929
|
+
/* 326 declarations/column-rule-inset */ () => seq([ref(327), opt(seq([slash, ref(331)], [0, 0]))], [0, 1]),
|
|
14930
|
+
/* 327 declarations/column-rule-inset-cap */ () => seq([ref(1355), opt(ref(1355))], [0, 1]),
|
|
14931
|
+
/* 328 declarations/column-rule-inset-cap-end */ () => seq([ref(1355)], [0]),
|
|
14932
|
+
/* 329 declarations/column-rule-inset-cap-start */ () => seq([ref(1355)], [0]),
|
|
14933
|
+
/* 330 declarations/column-rule-inset-end */ () => seq([ref(1355)], [0]),
|
|
14934
|
+
/* 331 declarations/column-rule-inset-junction */ () => seq([ref(1355), opt(ref(1355))], [0, 1]),
|
|
14935
|
+
/* 332 declarations/column-rule-inset-junction-end */ () => seq([ref(1355)], [0]),
|
|
14936
|
+
/* 333 declarations/column-rule-inset-junction-start */ () => seq([ref(1355)], [0]),
|
|
14937
|
+
/* 334 declarations/column-rule-inset-start */ () => seq([ref(1355)], [0]),
|
|
14938
|
+
/* 335 declarations/column-rule-style */ () => seq([alt([seq([ref(1381)], [0]), seq([ref(1193)], [0])])], [0]),
|
|
14939
|
+
/* 336 declarations/column-rule-visibility-items */ () => seq([kws(["all", "around", "between", "normal"])], [0]),
|
|
14940
|
+
/* 337 declarations/column-rule-width */ () => seq([alt([seq([ref(1384)], [0]), seq([ref(1194)], [0])])], [0]),
|
|
14941
|
+
/* 338 declarations/column-span */ () => seq([alt([seq([kw("none")], [0]), seq([rng(leaf("integer"), [1, Infinity, null, true], false)], [0]), seq([kw("all")], [0]), seq([kw("auto")], [0])])], [0]),
|
|
14942
|
+
/* 339 declarations/column-width */ () => seq([alt([seq([kw("auto")], [0]), seq([ref(1215)], [0]), seq([kw("auto")], [0]), seq([ref(1215)], [0])])], [0]),
|
|
14943
|
+
/* 340 declarations/column-wrap */ () => seq([kws(["auto", "nowrap", "wrap"])], [0]),
|
|
14944
|
+
/* 341 declarations/columns */ () => seq([seq([unordered([seq([ref(339)], [0]), seq([ref(319)], [0])], [0, 0], false)], [0]), opt(seq([slash, ref(322)], [0, 0]))], [0, 1]),
|
|
14945
|
+
/* 342 declarations/composes */ () => seq([list(seq([ref(966)], [0]), 0, Infinity, 0)], [0]),
|
|
14946
|
+
/* 343 declarations/contain */ () => seq([alt([seq([kw("none")], [0]), seq([kw("strict")], [0]), seq([kw("content")], [0]), seq([seq([unordered([seq([seq([kws(["size", "inline-size"])], [0])], [0]), seq([kw("layout")], [0]), seq([kw("style")], [0]), seq([kw("paint")], [0])], [0, 0, 0, 0], false)], [0])], [0])])], [0]),
|
|
14947
|
+
/* 344 declarations/contain-intrinsic-block-size */ () => seq([opt(kw("auto")), seq([alt([seq([kw("none")], [0]), seq([rng(leaf("length"), [0, Infinity, null, true], false)], [0])])], [0])], [0, 0]),
|
|
14948
|
+
/* 345 declarations/contain-intrinsic-height */ () => seq([opt(kw("auto")), seq([alt([seq([kw("none")], [0]), seq([rng(leaf("length"), [0, Infinity, null, true], false)], [0])])], [0])], [0, 0]),
|
|
14949
|
+
/* 346 declarations/contain-intrinsic-inline-size */ () => seq([opt(kw("auto")), seq([alt([seq([kw("none")], [0]), seq([rng(leaf("length"), [0, Infinity, null, true], false)], [0])])], [0])], [0, 0]),
|
|
14950
|
+
/* 347 declarations/contain-intrinsic-size */ () => seq([occ(seq([seq([opt(kw("auto")), seq([alt([seq([kw("none")], [0]), seq([rng(leaf("length"), [0, Infinity, null, true], false)], [0])])], [0])], [0, 0])], [0]), 1, 2)], [0]),
|
|
14951
|
+
/* 348 declarations/contain-intrinsic-width */ () => seq([opt(kw("auto")), seq([alt([seq([kw("none")], [0]), seq([rng(leaf("length"), [0, Infinity, null, true], false)], [0])])], [0])], [0, 0]),
|
|
14952
|
+
/* 349 declarations/container */ () => seq([ref(350), opt(seq([slash, ref(351)], [0, 0]))], [0, 1]),
|
|
14953
|
+
/* 350 declarations/container-name */ () => seq([alt([seq([kw("none")], [0]), seq([rep(seq([leaf("custom-ident")], [0]), false)], [0])])], [0]),
|
|
14954
|
+
/* 351 declarations/container-type */ () => seq([alt([seq([kw("normal")], [0]), seq([seq([unordered([seq([seq([kws(["size", "inline-size"])], [0])], [0]), seq([kw("scroll-state")], [0])], [0, 0], false)], [0])], [0])])], [0]),
|
|
14955
|
+
/* 352 declarations/content */ () => seq([alt([seq([kw("normal")], [0]), seq([kw("none")], [0]), seq([seq([alt([seq([ref(1260)], [0]), seq([ref(1258)], [0])])], [0]), opt(seq([slash, ref(1170)], [0, 0]))], [0, 1]), seq([fndef("element", ref(985))], [0])])], [0]),
|
|
14956
|
+
/* 353 declarations/content-visibility */ () => seq([kws(["visible", "auto", "hidden"])], [0]),
|
|
14957
|
+
/* 354 declarations/continue */ () => seq([kws(["normal", "discard", "collapse", "-webkit-legacy", "overflow", "paginate", "fragments"])], [0]),
|
|
14958
|
+
/* 355 declarations/copy-into */ () => seq([alt([seq([kw("none")], [0]), seq([opt(seq([seq([leaf("custom-ident"), ref(1257)], [0, 0]), opt(rep(seq([seq([comma$1, leaf("custom-ident"), ref(1257)], [0, 0, 0])], [0]), true))], [0, 1]))], [1])])], [1]),
|
|
14959
|
+
/* 356 declarations/corner */ () => seq([unordered([seq([ref(379)], [0]), seq([ref(263)], [0])], [0, 0], false)], [0]),
|
|
14960
|
+
/* 357 declarations/corner-block-end */ () => seq([unordered([seq([ref(389)], [0]), seq([ref(279)], [0])], [0, 0], false)], [0]),
|
|
14961
|
+
/* 358 declarations/corner-block-end-shape */ () => seq([occ(seq([ref(386)], [0]), 1, 2)], [0]),
|
|
14962
|
+
/* 359 declarations/corner-block-start */ () => seq([unordered([seq([ref(389)], [0]), seq([ref(279)], [0])], [0, 0], false)], [0]),
|
|
14963
|
+
/* 360 declarations/corner-block-start-shape */ () => seq([occ(seq([ref(386)], [0]), 1, 2)], [0]),
|
|
14964
|
+
/* 361 declarations/corner-bottom */ () => seq([unordered([seq([ref(389)], [0]), seq([ref(279)], [0])], [0, 0], false)], [0]),
|
|
14965
|
+
/* 362 declarations/corner-bottom-left */ () => seq([unordered([seq([ref(386)], [0]), seq([ref(278)], [0])], [0, 0], false)], [0]),
|
|
14966
|
+
/* 363 declarations/corner-bottom-left-shape */ () => seq([ref(1265)], [0]),
|
|
14967
|
+
/* 364 declarations/corner-bottom-right */ () => seq([unordered([seq([ref(386)], [0]), seq([ref(278)], [0])], [0, 0], false)], [0]),
|
|
14968
|
+
/* 365 declarations/corner-bottom-right-shape */ () => seq([ref(1265)], [0]),
|
|
14969
|
+
/* 366 declarations/corner-bottom-shape */ () => seq([occ(seq([ref(386)], [0]), 1, 2)], [0]),
|
|
14970
|
+
/* 367 declarations/corner-end-end */ () => seq([unordered([seq([ref(386)], [0]), seq([ref(278)], [0])], [0, 0], false)], [0]),
|
|
14971
|
+
/* 368 declarations/corner-end-end-shape */ () => seq([ref(1265)], [0]),
|
|
14972
|
+
/* 369 declarations/corner-end-start */ () => seq([unordered([seq([ref(386)], [0]), seq([ref(278)], [0])], [0, 0], false)], [0]),
|
|
14973
|
+
/* 370 declarations/corner-end-start-shape */ () => seq([ref(1265)], [0]),
|
|
14974
|
+
/* 371 declarations/corner-inline-end */ () => seq([unordered([seq([ref(389)], [0]), seq([ref(279)], [0])], [0, 0], false)], [0]),
|
|
14975
|
+
/* 372 declarations/corner-inline-end-shape */ () => seq([occ(seq([ref(386)], [0]), 1, 2)], [0]),
|
|
14976
|
+
/* 373 declarations/corner-inline-start */ () => seq([unordered([seq([ref(389)], [0]), seq([ref(279)], [0])], [0, 0], false)], [0]),
|
|
14977
|
+
/* 374 declarations/corner-inline-start-shape */ () => seq([occ(seq([ref(386)], [0]), 1, 2)], [0]),
|
|
14978
|
+
/* 375 declarations/corner-left */ () => seq([unordered([seq([ref(389)], [0]), seq([ref(279)], [0])], [0, 0], false)], [0]),
|
|
14979
|
+
/* 376 declarations/corner-left-shape */ () => seq([occ(seq([ref(386)], [0]), 1, 2)], [0]),
|
|
14980
|
+
/* 377 declarations/corner-right */ () => seq([unordered([seq([ref(389)], [0]), seq([ref(279)], [0])], [0, 0], false)], [0]),
|
|
14981
|
+
/* 378 declarations/corner-right-shape */ () => seq([occ(seq([ref(386)], [0]), 1, 2)], [0]),
|
|
14982
|
+
/* 379 declarations/corner-shape */ () => seq([occ(seq([ref(386)], [0]), 1, 4)], [0]),
|
|
14983
|
+
/* 380 declarations/corner-start-end */ () => seq([unordered([seq([ref(386)], [0]), seq([ref(278)], [0])], [0, 0], false)], [0]),
|
|
14984
|
+
/* 381 declarations/corner-start-end-shape */ () => seq([ref(1265)], [0]),
|
|
14985
|
+
/* 382 declarations/corner-start-start */ () => seq([unordered([seq([ref(386)], [0]), seq([ref(278)], [0])], [0, 0], false)], [0]),
|
|
14986
|
+
/* 383 declarations/corner-start-start-shape */ () => seq([ref(1265)], [0]),
|
|
14987
|
+
/* 384 declarations/corner-top */ () => seq([unordered([seq([ref(389)], [0]), seq([ref(279)], [0])], [0, 0], false)], [0]),
|
|
14988
|
+
/* 385 declarations/corner-top-left */ () => seq([unordered([seq([ref(386)], [0]), seq([ref(278)], [0])], [0, 0], false)], [0]),
|
|
14989
|
+
/* 386 declarations/corner-top-left-shape */ () => seq([ref(1265)], [0]),
|
|
14990
|
+
/* 387 declarations/corner-top-right */ () => seq([unordered([seq([ref(386)], [0]), seq([ref(278)], [0])], [0, 0], false)], [0]),
|
|
14991
|
+
/* 388 declarations/corner-top-right-shape */ () => seq([ref(1265)], [0]),
|
|
14992
|
+
/* 389 declarations/corner-top-shape */ () => seq([occ(seq([ref(386)], [0]), 1, 2)], [0]),
|
|
14993
|
+
/* 390 declarations/counter-increment */ () => seq([alt([seq([rep(seq([seq([leaf("counter-name"), opt(leaf("integer"))], [0, 1])], [0]), false)], [0]), seq([kw("none")], [0])])], [0]),
|
|
14994
|
+
/* 391 declarations/counter-reset */ () => seq([alt([seq([rep(seq([seq([alt([seq([leaf("counter-name"), opt(leaf("integer"))], [0, 1]), seq([ref(1506), opt(leaf("integer"))], [0, 1])])], [0])], [0]), false)], [0]), seq([kw("none")], [0])])], [0]),
|
|
14995
|
+
/* 392 declarations/counter-set */ () => seq([alt([seq([rep(seq([seq([leaf("counter-name"), opt(leaf("integer"))], [0, 1])], [0]), false)], [0]), seq([kw("none")], [0])])], [0]),
|
|
14996
|
+
/* 393 declarations/cue */ () => seq([ref(395), opt(ref(394))], [0, 1]),
|
|
14997
|
+
/* 394 declarations/cue-after */ () => seq([alt([seq([leaf("url"), opt(leaf("decibel"))], [0, 1]), seq([kw("none")], [0])])], [0]),
|
|
14998
|
+
/* 395 declarations/cue-before */ () => seq([alt([seq([leaf("url"), opt(leaf("decibel"))], [0, 1]), seq([kw("none")], [0])])], [0]),
|
|
14999
|
+
/* 396 declarations/cursor */ () => seq([opt(rep(seq([seq([ref(1273), comma$1], [0, 0])], [0]), true)), ref(1274)], [0, 0]),
|
|
15000
|
+
/* 397 declarations/cx */ () => seq([leaf("length-percentage")], [0]),
|
|
15001
|
+
/* 398 declarations/cy */ () => seq([leaf("length-percentage")], [0]),
|
|
15002
|
+
/* 399 declarations/d */ () => seq([alt([seq([kw("none")], [0]), seq([leaf("string")], [0])])], [0]),
|
|
15003
|
+
/* 400 declarations/direction */ () => seq([kws(["ltr", "rtl"])], [0]),
|
|
15004
|
+
/* 401 declarations/display */ () => seq([alt([seq([seq([unordered([seq([leaf("display-outside")], [0]), seq([leaf("display-inside")], [0])], [0, 0], false)], [0])], [0]), seq([ref(1288)], [0]), seq([leaf("display-internal")], [0]), seq([leaf("display-box")], [0]), seq([leaf("display-legacy")], [0]), seq([kw("grid-lanes")], [0]), seq([kw("inline-grid-lanes")], [0]), seq([unordered([seq([leaf("display-outside")], [0]), seq([seq([alt([seq([leaf("display-inside")], [0]), seq([kw("math")], [0])])], [0])], [0])], [0, 0], false)], [0]), seq([ref(925)], [0])])], [0]),
|
|
15005
|
+
/* 402 declarations/dominant-baseline */ () => seq([alt([seq([kw("auto")], [0]), seq([ref(1203)], [0])])], [0]),
|
|
15006
|
+
/* 403 declarations/dynamic-range-limit */ () => seq([alt([seq([kw("standard")], [0]), seq([kw("no-limit")], [0]), seq([kw("constrained")], [0]), seq([fndef("dynamic-range-limit-mix", ref(984))], [0])])], [0]),
|
|
15007
|
+
/* 404 declarations/empty-cells */ () => seq([kws(["show", "hide"])], [0]),
|
|
15008
|
+
/* 405 declarations/event-trigger */ () => seq([alt([seq([kw("none")], [0]), seq([list(seq([seq([ref(406), ref(407)], [0, 0])], [0]), 0, Infinity, 0)], [0])])], [0]),
|
|
15009
|
+
/* 406 declarations/event-trigger-name */ () => seq([alt([seq([kw("none")], [0]), seq([list(seq([leaf("dashed-ident")], [0]), 0, Infinity, 0)], [0])])], [0]),
|
|
15010
|
+
/* 407 declarations/event-trigger-source */ () => seq([list(seq([seq([alt([seq([kw("none")], [0]), seq([rep(seq([ref(1294)], [0]), false), opt(seq([slash, rep(seq([ref(1294)], [0]), false)], [0, 0]))], [0, 1])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
15011
|
+
/* 408 declarations/field-sizing */ () => seq([kws(["fixed", "content"])], [0]),
|
|
15012
|
+
/* 409 declarations/fill */ () => seq([ref(1454)], [0]),
|
|
15013
|
+
/* 410 declarations/fill-break */ () => seq([kws(["bounding-box", "slice", "clone"])], [0]),
|
|
15014
|
+
/* 411 declarations/fill-color */ () => seq([leaf("color")], [0]),
|
|
15015
|
+
/* 412 declarations/fill-image */ () => seq([list(seq([ref(1454)], [0]), 0, Infinity, 0)], [0]),
|
|
15016
|
+
/* 413 declarations/fill-opacity */ () => seq([ref(604)], [0]),
|
|
15017
|
+
/* 414 declarations/fill-origin */ () => seq([kws(["match-parent", "fill-box", "stroke-box", "content-box", "padding-box", "border-box"])], [0]),
|
|
15018
|
+
/* 415 declarations/fill-position */ () => seq([list(seq([ref(1463)], [0]), 0, Infinity, 0)], [0]),
|
|
15019
|
+
/* 416 declarations/fill-repeat */ () => seq([list(seq([ref(1503)], [0]), 0, Infinity, 0)], [0]),
|
|
15020
|
+
/* 417 declarations/fill-rule */ () => seq([kws(["nonzero", "evenodd"])], [0]),
|
|
15021
|
+
/* 418 declarations/fill-size */ () => seq([list(seq([ref(1211)], [0]), 0, Infinity, 0)], [0]),
|
|
15022
|
+
/* 419 declarations/filter */ () => seq([alt([seq([kw("none")], [0]), seq([ref(1298)], [0]), seq([ref(922)], [0])])], [0]),
|
|
15023
|
+
/* 420 declarations/fit-tolerance */ () => seq([alt([seq([kw("normal")], [0]), seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), seq([kw("infinite")], [0])])], [0]),
|
|
15024
|
+
/* 421 declarations/flex */ () => seq([alt([seq([kw("none")], [0]), seq([seq([unordered([seq([ref(425), opt(ref(427))], [0, 1]), seq([ref(422)], [0])], [0, 0], false)], [0])], [0])])], [0]),
|
|
15025
|
+
/* 422 declarations/flex-basis */ () => seq([alt([seq([kw("content")], [0]), seq([ref(895)], [0])])], [0]),
|
|
15026
|
+
/* 423 declarations/flex-direction */ () => seq([kws(["row", "row-reverse", "column", "column-reverse"])], [0]),
|
|
15027
|
+
/* 424 declarations/flex-flow */ () => seq([unordered([seq([ref(423)], [0]), seq([ref(428)], [0])], [0, 0], false)], [0]),
|
|
15028
|
+
/* 425 declarations/flex-grow */ () => seq([rng(leaf("number"), [0, Infinity, null, true], false)], [0]),
|
|
15029
|
+
/* 426 declarations/flex-line-count */ () => seq([rng(leaf("integer"), [1, Infinity, null, true], false)], [0]),
|
|
15030
|
+
/* 427 declarations/flex-shrink */ () => seq([rng(leaf("number"), [0, Infinity, null, true], false)], [0]),
|
|
15031
|
+
/* 428 declarations/flex-wrap */ () => seq([alt([seq([kw("nowrap")], [0]), seq([unordered([seq([seq([kws(["wrap", "wrap-reverse"])], [0])], [0]), seq([kw("balance")], [0])], [0, 0], false)], [0])])], [0]),
|
|
15032
|
+
/* 429 declarations/float */ () => seq([alt([seq([kw("block-start")], [0]), seq([kw("block-end")], [0]), seq([kw("inline-start")], [0]), seq([kw("inline-end")], [0]), seq([kw("snap-block")], [0]), seq([fndef("snap-block", ref(1125))], [0]), seq([kw("snap-inline")], [0]), seq([fndef("snap-inline", ref(1126))], [0]), seq([kw("left")], [0]), seq([kw("right")], [0]), seq([kw("top")], [0]), seq([kw("bottom")], [0]), seq([kw("none")], [0]), seq([kw("footnote")], [0])])], [0]),
|
|
15033
|
+
/* 430 declarations/float-defer */ () => seq([alt([seq([leaf("integer")], [0]), seq([kw("last")], [0]), seq([kw("none")], [0])])], [0]),
|
|
15034
|
+
/* 431 declarations/float-offset */ () => seq([leaf("length-percentage")], [0]),
|
|
15035
|
+
/* 432 declarations/float-reference */ () => seq([kws(["inline", "column", "region", "page"])], [0]),
|
|
15036
|
+
/* 433 declarations/flood-color */ () => seq([leaf("color")], [0]),
|
|
15037
|
+
/* 434 declarations/flood-opacity */ () => seq([ref(604)], [0]),
|
|
15038
|
+
/* 435 declarations/flow-from */ () => seq([alt([seq([leaf("custom-ident")], [0]), seq([kw("none")], [0])])], [0]),
|
|
15039
|
+
/* 436 declarations/flow-into */ () => seq([alt([seq([kw("none")], [0]), seq([leaf("custom-ident"), opt(seq([kws(["element", "content"])], [0]))], [0, 1])])], [0]),
|
|
15040
|
+
/* 437 declarations/font */ () => seq([alt([seq([seq([opt(seq([unordered([seq([ref(447)], [0]), seq([ref(1310)], [0]), seq([ref(462)], [0]), seq([ref(1312)], [0])], [0, 0, 0, 0], false)], [0])), ref(444), opt(seq([slash, ref(530)], [0, 0])), list(seq([ref(438)], [0]), 0, Infinity, 0)], [0, 0, 0, 0])], [0]), seq([ref(1575)], [0]), seq([seq([ref(444), opt(seq([slash, ref(530)], [0, 0])), list(seq([ref(438)], [0]), 0, Infinity, 0)], [0, 0, 0])], [0])])], [0]),
|
|
15041
|
+
/* 438 declarations/font-family */ () => seq([list(seq([seq([alt([seq([ref(1303)], [0]), seq([ref(1324)], [0])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
15042
|
+
/* 439 declarations/font-feature-settings */ () => seq([alt([seq([kw("normal")], [0]), seq([list(seq([ref(1296)], [0]), 0, Infinity, 0)], [0])])], [0]),
|
|
15043
|
+
/* 440 declarations/font-kerning */ () => seq([kws(["auto", "normal", "none"])], [0]),
|
|
15044
|
+
/* 441 declarations/font-language-override */ () => seq([alt([seq([kw("normal")], [0]), seq([leaf("string")], [0])])], [0]),
|
|
15045
|
+
/* 442 declarations/font-optical-sizing */ () => seq([kws(["auto", "none"])], [0]),
|
|
15046
|
+
/* 443 declarations/font-palette */ () => seq([alt([seq([kw("normal")], [0]), seq([kw("light")], [0]), seq([kw("dark")], [0]), seq([ref(1456)], [0]), seq([fndef("palette-mix", ref(1062))], [0])])], [0]),
|
|
15047
|
+
/* 444 declarations/font-size */ () => seq([alt([seq([ref(1168)], [0]), seq([ref(1499)], [0]), seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), seq([kw("math")], [0])])], [0]),
|
|
15048
|
+
/* 445 declarations/font-size-adjust */ () => seq([alt([seq([kw("none")], [0]), seq([opt(seq([kws(["ex-height", "cap-height", "ch-width", "ic-width", "ic-height"])], [0])), seq([alt([seq([kw("from-font")], [0]), seq([rng(leaf("number"), [0, Infinity, null, true], false)], [0])])], [0])], [0, 0])])], [0]),
|
|
15049
|
+
/* 446 declarations/font-smooth */ () => seq([alt([seq([kw("auto")], [0]), seq([kw("never")], [0]), seq([kw("always")], [0]), seq([ref(1168)], [0]), seq([leaf("length")], [0])])], [0]),
|
|
15050
|
+
/* 447 declarations/font-style */ () => seq([alt([seq([kw("normal")], [0]), seq([kw("italic")], [0]), seq([kw("left")], [0]), seq([kw("right")], [0]), seq([kw("oblique"), rng(leaf("angle"), [-90, 90, "Angle", true], true)], [0, 1])])], [0]),
|
|
15051
|
+
/* 448 declarations/font-synthesis */ () => seq([alt([seq([kw("none")], [0]), seq([seq([unordered([seq([kw("weight")], [0]), seq([kw("style")], [0]), seq([kw("small-caps")], [0]), seq([kw("position")], [0])], [0, 0, 0, 0], false)], [0])], [0])])], [0]),
|
|
15052
|
+
/* 449 declarations/font-synthesis-position */ () => seq([kws(["auto", "none"])], [0]),
|
|
15053
|
+
/* 450 declarations/font-synthesis-small-caps */ () => seq([kws(["auto", "none"])], [0]),
|
|
15054
|
+
/* 451 declarations/font-synthesis-style */ () => seq([kws(["auto", "none", "oblique-only"])], [0]),
|
|
15055
|
+
/* 452 declarations/font-synthesis-weight */ () => seq([kws(["auto", "none"])], [0]),
|
|
15056
|
+
/* 453 declarations/font-variant */ () => seq([alt([seq([kw("normal")], [0]), seq([kw("none")], [0]), seq([seq([unordered([seq([seq([unordered([seq([ref(1239)], [0]), seq([ref(1283)], [0]), seq([ref(1332)], [0]), seq([ref(1261)], [0])], [0, 0, 0, 0], false)], [0])], [0]), seq([seq([kws(["small-caps", "all-small-caps", "petite-caps", "all-petite-caps", "unicase", "titling-caps"])], [0])], [0]), seq([seq([unordered([seq([fn("stylistic", seq([ref(1305)], [0]))], [0]), seq([kw("historical-forms")], [0]), seq([fn("styleset", seq([list(seq([ref(1305)], [0]), 0, Infinity, 0)], [0]))], [0]), seq([fn("character-variant", seq([list(seq([ref(1305)], [0]), 0, Infinity, 0)], [0]))], [0]), seq([fn("swash", seq([ref(1305)], [0]))], [0]), seq([fn("ornaments", seq([ref(1305)], [0]))], [0]), seq([fn("annotation", seq([ref(1305)], [0]))], [0])], [0, 0, 0, 0, 0, 0, 0], false)], [0])], [0]), seq([seq([unordered([seq([ref(1443)], [0]), seq([ref(1445)], [0]), seq([ref(1444)], [0]), seq([kw("ordinal")], [0]), seq([kw("slashed-zero")], [0])], [0, 0, 0, 0, 0], false)], [0])], [0]), seq([seq([unordered([seq([ref(1291)], [0]), seq([ref(1292)], [0]), seq([kw("ruby")], [0])], [0, 0, 0], false)], [0])], [0]), seq([seq([kws(["sub", "super"])], [0])], [0]), seq([seq([kws(["text", "emoji", "unicode"])], [0])], [0])], [0, 0, 0, 0, 0, 0, 0], false)], [0])], [0])])], [0]),
|
|
15057
|
+
/* 454 declarations/font-variant-alternates */ () => seq([alt([seq([kw("normal")], [0]), seq([seq([unordered([seq([fn("stylistic", seq([ref(1305)], [0]))], [0]), seq([kw("historical-forms")], [0]), seq([fn("styleset", seq([list(seq([ref(1305)], [0]), 0, Infinity, 0)], [0]))], [0]), seq([fn("character-variant", seq([list(seq([ref(1305)], [0]), 0, Infinity, 0)], [0]))], [0]), seq([fn("swash", seq([ref(1305)], [0]))], [0]), seq([fn("ornaments", seq([ref(1305)], [0]))], [0]), seq([fn("annotation", seq([ref(1305)], [0]))], [0])], [0, 0, 0, 0, 0, 0, 0], false)], [0])], [0])])], [0]),
|
|
15058
|
+
/* 455 declarations/font-variant-caps */ () => seq([kws(["normal", "small-caps", "all-small-caps", "petite-caps", "all-petite-caps", "unicase", "titling-caps"])], [0]),
|
|
15059
|
+
/* 456 declarations/font-variant-east-asian */ () => seq([alt([seq([kw("normal")], [0]), seq([seq([unordered([seq([ref(1291)], [0]), seq([ref(1292)], [0]), seq([kw("ruby")], [0])], [0, 0, 0], false)], [0])], [0])])], [0]),
|
|
15060
|
+
/* 457 declarations/font-variant-emoji */ () => seq([kws(["normal", "text", "emoji", "unicode"])], [0]),
|
|
15061
|
+
/* 458 declarations/font-variant-ligatures */ () => seq([alt([seq([kw("normal")], [0]), seq([kw("none")], [0]), seq([seq([unordered([seq([ref(1239)], [0]), seq([ref(1283)], [0]), seq([ref(1332)], [0]), seq([ref(1261)], [0])], [0, 0, 0, 0], false)], [0])], [0])])], [0]),
|
|
15062
|
+
/* 459 declarations/font-variant-numeric */ () => seq([alt([seq([kw("normal")], [0]), seq([seq([unordered([seq([ref(1443)], [0]), seq([ref(1445)], [0]), seq([ref(1444)], [0]), seq([kw("ordinal")], [0]), seq([kw("slashed-zero")], [0])], [0, 0, 0, 0, 0], false)], [0])], [0])])], [0]),
|
|
15063
|
+
/* 460 declarations/font-variant-position */ () => seq([kws(["normal", "sub", "super"])], [0]),
|
|
15064
|
+
/* 461 declarations/font-variation-settings */ () => seq([alt([seq([kw("normal")], [0]), seq([list(seq([seq([ref(1448), leaf("number")], [0, 0])], [0]), 0, Infinity, 0)], [0])])], [0]),
|
|
15065
|
+
/* 462 declarations/font-weight */ () => seq([alt([seq([ref(1311)], [0]), seq([kw("bolder")], [0]), seq([kw("lighter")], [0])])], [0]),
|
|
15066
|
+
/* 463 declarations/font-width */ () => seq([alt([seq([kw("normal")], [0]), seq([rng(leaf("percentage"), [0, Infinity, null, true], false)], [0]), seq([kw("ultra-condensed")], [0]), seq([kw("extra-condensed")], [0]), seq([kw("condensed")], [0]), seq([kw("semi-condensed")], [0]), seq([kw("semi-expanded")], [0]), seq([kw("expanded")], [0]), seq([kw("extra-expanded")], [0]), seq([kw("ultra-expanded")], [0])])], [0]),
|
|
15067
|
+
/* 464 declarations/footnote-display */ () => seq([kws(["block", "inline", "compact"])], [0]),
|
|
15068
|
+
/* 465 declarations/footnote-policy */ () => seq([kws(["auto", "line", "block"])], [0]),
|
|
15069
|
+
/* 466 declarations/forced-color-adjust */ () => seq([kws(["auto", "none", "preserve-parent-color"])], [0]),
|
|
15070
|
+
/* 467 declarations/frame-sizing */ () => seq([kws(["auto", "content-width", "content-height", "content-block-size", "content-inline-size"])], [0]),
|
|
15071
|
+
/* 468 declarations/gap */ () => seq([ref(686), opt(ref(321))], [0, 1]),
|
|
15072
|
+
/* 469 declarations/glyph-orientation-horizontal */ () => seq([leaf("angle")], [0]),
|
|
15073
|
+
/* 470 declarations/glyph-orientation-vertical */ () => seq([alt([seq([kw("auto")], [0]), seq([num$1(0, "Angle", "deg")], [0]), seq([num$1(90, "Angle", "deg")], [0]), seq([num$1(0, null, null)], [0]), seq([num$1(90, null, null)], [0])])], [0]),
|
|
15074
|
+
/* 471 declarations/grid */ () => seq([alt([seq([ref(482)], [0]), seq([ref(485), slash, seq([unordered([seq([kw("auto-flow")], [0]), seq([opt(kw("dense"))], [1])], [0, 1], true)], [0]), opt(ref(473))], [0, 0, 0, 1]), seq([seq([unordered([seq([kw("auto-flow")], [0]), seq([opt(kw("dense"))], [1])], [0, 1], true)], [0]), opt(ref(475)), slash, ref(484)], [0, 0, 0, 0])])], [0]),
|
|
15075
|
+
/* 472 declarations/grid-area */ () => seq([ref(1330), occ(seq([seq([slash, ref(1330)], [0, 0])], [0]), 0, 3)], [0, 1]),
|
|
15076
|
+
/* 473 declarations/grid-auto-columns */ () => seq([rep(seq([ref(1583)], [0]), false)], [0]),
|
|
15077
|
+
/* 474 declarations/grid-auto-flow */ () => seq([unordered([seq([seq([kws(["row", "column"])], [0])], [0]), seq([kw("dense")], [0])], [0, 0], false)], [0]),
|
|
15078
|
+
/* 475 declarations/grid-auto-rows */ () => seq([rep(seq([ref(1583)], [0]), false)], [0]),
|
|
15079
|
+
/* 476 declarations/grid-column */ () => seq([ref(1330), opt(seq([slash, ref(1330)], [0, 0]))], [0, 1]),
|
|
15080
|
+
/* 477 declarations/grid-column-end */ () => seq([ref(1330)], [0]),
|
|
15081
|
+
/* 478 declarations/grid-column-start */ () => seq([ref(1330)], [0]),
|
|
15082
|
+
/* 479 declarations/grid-row */ () => seq([ref(1330), opt(seq([slash, ref(1330)], [0, 0]))], [0, 1]),
|
|
15083
|
+
/* 480 declarations/grid-row-end */ () => seq([ref(1330)], [0]),
|
|
15084
|
+
/* 481 declarations/grid-row-start */ () => seq([ref(1330)], [0]),
|
|
15085
|
+
/* 482 declarations/grid-template */ () => seq([alt([seq([kw("none")], [0]), seq([seq([ref(485), slash, ref(484)], [0, 0, 0])], [0]), seq([rep(seq([seq([opt(ref(1379)), leaf("string"), opt(ref(1583)), opt(ref(1379))], [0, 0, 1, 1])], [0]), false), opt(seq([slash, ref(1295)], [0, 0]))], [0, 1])])], [0]),
|
|
15086
|
+
/* 483 declarations/grid-template-areas */ () => seq([alt([seq([kw("none")], [0]), seq([rep(seq([leaf("string")], [0]), false)], [0])])], [0]),
|
|
15087
|
+
/* 484 declarations/grid-template-columns */ () => seq([alt([seq([kw("none")], [0]), seq([ref(1581)], [0]), seq([ref(1199)], [0]), seq([kw("subgrid"), opt(ref(1378))], [0, 1])])], [0]),
|
|
15088
|
+
/* 485 declarations/grid-template-rows */ () => seq([alt([seq([kw("none")], [0]), seq([ref(1581)], [0]), seq([ref(1199)], [0]), seq([kw("subgrid"), opt(ref(1378))], [0, 1])])], [0]),
|
|
15089
|
+
/* 486 declarations/hanging-punctuation */ () => seq([alt([seq([kw("none")], [0]), seq([seq([unordered([seq([kw("first")], [0]), seq([seq([kws(["force-end", "allow-end"])], [0])], [0]), seq([kw("last")], [0])], [0, 0, 0], false)], [0])], [0])])], [0]),
|
|
15090
|
+
/* 487 declarations/height */ () => seq([alt([seq([kw("auto")], [0]), seq([ref(1215)], [0]), seq([fndef("anchor-size", ref(943))], [0]), seq([kw("stretch")], [0]), seq([ref(930)], [0])])], [0]),
|
|
15091
|
+
/* 488 declarations/hyphenate-character */ () => seq([alt([seq([kw("auto")], [0]), seq([leaf("string")], [0])])], [0]),
|
|
15092
|
+
/* 489 declarations/hyphenate-limit-chars */ () => seq([occ(seq([seq([alt([seq([kw("auto")], [0]), seq([rng(leaf("integer"), [0, Infinity, null, true], false)], [0])])], [0])], [0]), 1, 3)], [0]),
|
|
15093
|
+
/* 490 declarations/hyphenate-limit-last */ () => seq([kws(["none", "always", "column", "page", "spread"])], [0]),
|
|
15094
|
+
/* 491 declarations/hyphenate-limit-lines */ () => seq([alt([seq([kw("no-limit")], [0]), seq([rng(leaf("integer"), [0, Infinity, null, true], false)], [0])])], [0]),
|
|
15095
|
+
/* 492 declarations/hyphenate-limit-zone */ () => seq([leaf("length-percentage")], [0]),
|
|
15096
|
+
/* 493 declarations/hyphens */ () => seq([kws(["none", "manual", "auto"])], [0]),
|
|
15097
|
+
/* 494 declarations/image-animation */ () => seq([kws(["normal", "paused", "stopped", "running"])], [0]),
|
|
15098
|
+
/* 495 declarations/image-orientation */ () => seq([alt([seq([kw("from-image")], [0]), seq([kw("none")], [0]), seq([seq([unordered([seq([leaf("angle")], [0]), seq([kw("flip")], [0])], [0, 0], false)], [0])], [0])])], [0]),
|
|
15099
|
+
/* 496 declarations/image-rendering */ () => seq([alt([seq([kw("auto")], [0]), seq([kw("smooth")], [0]), seq([kw("high-quality")], [0]), seq([kw("pixelated")], [0]), seq([kw("crisp-edges")], [0]), seq([kw("optimizespeed")], [0]), seq([kw("optimizequality")], [0]), seq([ref(928)], [0])])], [0]),
|
|
15100
|
+
/* 497 declarations/image-resolution */ () => seq([unordered([seq([seq([unordered([seq([kw("from-image")], [0]), seq([leaf("resolution")], [0])], [0, 0], false)], [0])], [0]), seq([opt(kw("snap"))], [1])], [0, 1], true)], [0]),
|
|
15101
|
+
/* 498 declarations/ime-mode */ () => seq([kws(["auto", "normal", "active", "inactive", "disabled"])], [0]),
|
|
15102
|
+
/* 499 declarations/initial-letter */ () => seq([alt([seq([kw("normal")], [0]), seq([rng(leaf("number"), [1, Infinity, null, true], false), rng(leaf("integer"), [1, Infinity, null, true], false)], [0, 0]), seq([unordered([seq([rng(leaf("number"), [1, Infinity, null, true], false)], [0]), seq([opt(seq([kws(["drop", "raise"])], [0]))], [1])], [0, 1], true)], [0])])], [0]),
|
|
15103
|
+
/* 500 declarations/initial-letter-align */ () => seq([seq([opt(kw("border-box")), opt(seq([kws(["alphabetic", "ideographic", "hanging", "leading"])], [0]))], [1, 1])], [0]),
|
|
15104
|
+
/* 501 declarations/initial-letter-wrap */ () => seq([alt([seq([kw("none")], [0]), seq([kw("first")], [0]), seq([kw("all")], [0]), seq([kw("grid")], [0]), seq([leaf("length-percentage")], [0])])], [0]),
|
|
15105
|
+
/* 502 declarations/inline-size */ () => seq([alt([seq([kw("auto")], [0]), seq([ref(1215)], [0]), seq([fndef("anchor-size", ref(943))], [0])])], [0]),
|
|
15106
|
+
/* 503 declarations/inline-sizing */ () => seq([kws(["normal", "stretch"])], [0]),
|
|
15107
|
+
/* 504 declarations/input-security */ () => seq([kws(["auto", "none"])], [0]),
|
|
15108
|
+
/* 505 declarations/inset */ () => seq([occ(seq([ref(856)], [0]), 1, 4)], [0]),
|
|
15109
|
+
/* 506 declarations/inset-block */ () => seq([occ(seq([ref(856)], [0]), 1, 2)], [0]),
|
|
15110
|
+
/* 507 declarations/inset-block-end */ () => seq([alt([seq([kw("auto")], [0]), seq([leaf("length-percentage")], [0])])], [0]),
|
|
15111
|
+
/* 508 declarations/inset-block-start */ () => seq([alt([seq([kw("auto")], [0]), seq([leaf("length-percentage")], [0])])], [0]),
|
|
15112
|
+
/* 509 declarations/inset-inline */ () => seq([occ(seq([ref(856)], [0]), 1, 2)], [0]),
|
|
15113
|
+
/* 510 declarations/inset-inline-end */ () => seq([alt([seq([kw("auto")], [0]), seq([leaf("length-percentage")], [0])])], [0]),
|
|
15114
|
+
/* 511 declarations/inset-inline-start */ () => seq([alt([seq([kw("auto")], [0]), seq([leaf("length-percentage")], [0])])], [0]),
|
|
15115
|
+
/* 512 declarations/interactivity */ () => seq([kws(["auto", "inert"])], [0]),
|
|
15116
|
+
/* 513 declarations/interest-delay */ () => seq([occ(seq([ref(515)], [0]), 1, 2)], [0]),
|
|
15117
|
+
/* 514 declarations/interest-delay-end */ () => seq([alt([seq([kw("normal")], [0]), seq([leaf("time")], [0])])], [0]),
|
|
15118
|
+
/* 515 declarations/interest-delay-start */ () => seq([alt([seq([kw("normal")], [0]), seq([leaf("time")], [0])])], [0]),
|
|
15119
|
+
/* 516 declarations/interpolate-size */ () => seq([kws(["numeric-only", "allow-keywords"])], [0]),
|
|
15120
|
+
/* 517 declarations/isolation */ () => seq([ref(1358)], [0]),
|
|
15121
|
+
/* 518 declarations/justify-content */ () => seq([alt([seq([kw("normal")], [0]), seq([ref(1256)], [0]), seq([opt(ref(1450)), seq([alt([seq([leaf("content-position")], [0]), seq([kw("left")], [0]), seq([kw("right")], [0])])], [0])], [0, 0])])], [0]),
|
|
15122
|
+
/* 519 declarations/justify-items */ () => seq([alt([seq([kw("normal")], [0]), seq([kw("stretch")], [0]), seq([ref(1204)], [0]), seq([opt(ref(1450)), seq([alt([seq([ref(1516)], [0]), seq([kw("left")], [0]), seq([kw("right")], [0])])], [0])], [0, 0]), seq([kw("legacy")], [0]), seq([unordered([seq([kw("legacy")], [0]), seq([seq([kws(["left", "right", "center"])], [0])], [0])], [0, 0], true)], [0])])], [0]),
|
|
15123
|
+
/* 520 declarations/justify-self */ () => seq([alt([seq([kw("auto")], [0]), seq([opt(ref(1450)), seq([alt([seq([kw("normal")], [0]), seq([ref(1516)], [0]), seq([kw("left")], [0]), seq([kw("right")], [0])])], [0])], [0, 0]), seq([kw("stretch")], [0]), seq([ref(1204)], [0]), seq([kw("anchor-center")], [0])])], [0]),
|
|
15124
|
+
/* 521 declarations/justify-tracks */ () => seq([list(seq([seq([alt([seq([kw("normal")], [0]), seq([ref(1256)], [0]), seq([opt(ref(1450)), seq([alt([seq([leaf("content-position")], [0]), seq([kw("left")], [0]), seq([kw("right")], [0])])], [0])], [0, 0])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
15125
|
+
/* 522 declarations/kerning */ () => seq([alt([seq([kw("auto")], [0]), seq([ref(1137)], [0])])], [0]),
|
|
15126
|
+
/* 523 declarations/left */ () => seq([alt([seq([kw("auto")], [0]), seq([leaf("length-percentage")], [0]), seq([fndef("anchor", ref(942))], [0]), seq([fndef("anchor-size", ref(943))], [0])])], [0]),
|
|
15127
|
+
/* 524 declarations/letter-spacing */ () => seq([alt([seq([kw("normal")], [0]), seq([leaf("length-percentage")], [0])])], [0]),
|
|
15128
|
+
/* 525 declarations/lighting-color */ () => seq([leaf("color")], [0]),
|
|
15129
|
+
/* 526 declarations/line-break */ () => seq([kws(["auto", "loose", "normal", "strict", "anywhere"])], [0]),
|
|
15130
|
+
/* 527 declarations/line-clamp */ () => seq([alt([seq([kw("none")], [0]), seq([seq([unordered([seq([rng(leaf("integer"), [1, Infinity, null, true], false)], [0]), seq([kw("auto")], [0]), seq([ref(191)], [0])], [0, 0, 0], false)], [0]), opt(kw("-webkit-legacy"))], [0, 1])])], [0]),
|
|
15131
|
+
/* 528 declarations/line-fit-edge */ () => seq([alt([seq([kw("leading")], [0]), seq([ref(1578)], [0])])], [0]),
|
|
15132
|
+
/* 529 declarations/line-grid */ () => seq([kws(["match-parent", "create"])], [0]),
|
|
15133
|
+
/* 530 declarations/line-height */ () => seq([alt([seq([kw("normal")], [0]), seq([rng(leaf("number"), [0, Infinity, null, true], false)], [0]), seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0])])], [0]),
|
|
15134
|
+
/* 531 declarations/line-height-step */ () => seq([rng(leaf("length"), [0, Infinity, null, true], false)], [0]),
|
|
15135
|
+
/* 532 declarations/line-padding */ () => seq([leaf("length")], [0]),
|
|
15136
|
+
/* 533 declarations/line-snap */ () => seq([kws(["none", "baseline", "contain"])], [0]),
|
|
15137
|
+
/* 534 declarations/link-parameters */ () => seq([alt([seq([kw("none")], [0]), seq([list(seq([fndef("param", ref(1063))], [0]), 0, Infinity, 0)], [0])])], [0]),
|
|
15138
|
+
/* 535 declarations/list-style */ () => seq([unordered([seq([ref(537)], [0]), seq([ref(536)], [0]), seq([ref(538)], [0])], [0, 0, 0], false)], [0]),
|
|
15139
|
+
/* 536 declarations/list-style-image */ () => seq([alt([seq([ref(1344)], [0]), seq([kw("none")], [0])])], [0]),
|
|
15140
|
+
/* 537 declarations/list-style-position */ () => seq([kws(["inside", "outside"])], [0]),
|
|
15141
|
+
/* 538 declarations/list-style-type */ () => seq([alt([seq([ref(1268)], [0]), seq([leaf("string")], [0]), seq([kw("none")], [0])])], [0]),
|
|
15142
|
+
/* 539 declarations/margin */ () => seq([occ(seq([ref(550)], [0]), 1, 4)], [0]),
|
|
15143
|
+
/* 540 declarations/margin-block */ () => seq([occ(seq([ref(550)], [0]), 1, 2)], [0]),
|
|
15144
|
+
/* 541 declarations/margin-block-end */ () => seq([ref(550)], [0]),
|
|
15145
|
+
/* 542 declarations/margin-block-start */ () => seq([ref(550)], [0]),
|
|
15146
|
+
/* 543 declarations/margin-bottom */ () => seq([alt([seq([leaf("length-percentage")], [0]), seq([kw("auto")], [0]), seq([fndef("anchor-size", ref(943))], [0])])], [0]),
|
|
15147
|
+
/* 544 declarations/margin-break */ () => seq([kws(["auto", "keep", "discard"])], [0]),
|
|
15148
|
+
/* 545 declarations/margin-inline */ () => seq([occ(seq([ref(550)], [0]), 1, 2)], [0]),
|
|
15149
|
+
/* 546 declarations/margin-inline-end */ () => seq([ref(550)], [0]),
|
|
15150
|
+
/* 547 declarations/margin-inline-start */ () => seq([ref(550)], [0]),
|
|
15151
|
+
/* 548 declarations/margin-left */ () => seq([alt([seq([leaf("length-percentage")], [0]), seq([kw("auto")], [0]), seq([fndef("anchor-size", ref(943))], [0])])], [0]),
|
|
15152
|
+
/* 549 declarations/margin-right */ () => seq([alt([seq([leaf("length-percentage")], [0]), seq([kw("auto")], [0]), seq([fndef("anchor-size", ref(943))], [0])])], [0]),
|
|
15153
|
+
/* 550 declarations/margin-top */ () => seq([alt([seq([leaf("length-percentage")], [0]), seq([kw("auto")], [0]), seq([fndef("anchor-size", ref(943))], [0])])], [0]),
|
|
15154
|
+
/* 551 declarations/margin-trim */ () => seq([alt([seq([kw("none")], [0]), seq([kw("block")], [0]), seq([seq([unordered([seq([kw("block-start")], [0]), seq([kw("block-end")], [0])], [0, 0], false)], [0])], [0])])], [0]),
|
|
15155
|
+
/* 552 declarations/marker */ () => seq([alt([seq([kw("none")], [0]), seq([ref(1045)], [0])])], [0]),
|
|
15156
|
+
/* 553 declarations/marker-end */ () => seq([alt([seq([kw("none")], [0]), seq([ref(1045)], [0])])], [0]),
|
|
15157
|
+
/* 554 declarations/marker-mid */ () => seq([alt([seq([kw("none")], [0]), seq([ref(1045)], [0])])], [0]),
|
|
15158
|
+
/* 555 declarations/marker-side */ () => seq([kws(["match-self", "match-parent"])], [0]),
|
|
15159
|
+
/* 556 declarations/marker-start */ () => seq([alt([seq([kw("none")], [0]), seq([ref(1045)], [0])])], [0]),
|
|
15160
|
+
/* 557 declarations/mask */ () => seq([list(seq([ref(1393)], [0]), 0, Infinity, 0)], [0]),
|
|
15161
|
+
/* 558 declarations/mask-border */ () => seq([unordered([seq([ref(563)], [0]), seq([ref(562), opt(seq([slash, opt(ref(564)), opt(seq([slash, ref(560)], [0, 0]))], [0, 1, 1]))], [0, 1]), seq([ref(561)], [0]), seq([ref(559)], [0])], [0, 0, 0, 0], false)], [0]),
|
|
15162
|
+
/* 559 declarations/mask-border-mode */ () => seq([kws(["luminance", "alpha"])], [0]),
|
|
15163
|
+
/* 560 declarations/mask-border-outset */ () => seq([ref(234)], [0]),
|
|
15164
|
+
/* 561 declarations/mask-border-repeat */ () => seq([ref(235)], [0]),
|
|
15165
|
+
/* 562 declarations/mask-border-slice */ () => seq([ref(236)], [0]),
|
|
15166
|
+
/* 563 declarations/mask-border-source */ () => seq([ref(237)], [0]),
|
|
15167
|
+
/* 564 declarations/mask-border-width */ () => seq([ref(238)], [0]),
|
|
15168
|
+
/* 565 declarations/mask-clip */ () => seq([list(seq([seq([alt([seq([ref(1263)], [0]), seq([kw("no-clip")], [0])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
15169
|
+
/* 566 declarations/mask-composite */ () => seq([list(seq([ref(1248)], [0]), 0, Infinity, 0)], [0]),
|
|
15170
|
+
/* 567 declarations/mask-image */ () => seq([list(seq([ref(1394)], [0]), 0, Infinity, 0)], [0]),
|
|
15171
|
+
/* 568 declarations/mask-mode */ () => seq([list(seq([ref(1396)], [0]), 0, Infinity, 0)], [0]),
|
|
15172
|
+
/* 569 declarations/mask-origin */ () => seq([list(seq([ref(1263)], [0]), 0, Infinity, 0)], [0]),
|
|
15173
|
+
/* 570 declarations/mask-position */ () => seq([list(seq([ref(1463)], [0]), 0, Infinity, 0)], [0]),
|
|
15174
|
+
/* 571 declarations/mask-repeat */ () => seq([list(seq([ref(1503)], [0]), 0, Infinity, 0)], [0]),
|
|
15175
|
+
/* 572 declarations/mask-size */ () => seq([list(seq([ref(1211)], [0]), 0, Infinity, 0)], [0]),
|
|
15176
|
+
/* 573 declarations/mask-type */ () => seq([kws(["luminance", "alpha"])], [0]),
|
|
15177
|
+
/* 574 declarations/masonry-auto-flow */ () => seq([unordered([seq([seq([kws(["pack", "next"])], [0])], [0]), seq([seq([kws(["definite-first", "ordered"])], [0])], [0])], [0, 0], false)], [0]),
|
|
15178
|
+
/* 575 declarations/math-depth */ () => seq([alt([seq([kw("auto-add")], [0]), seq([fn("add", seq([leaf("integer")], [0]))], [0]), seq([leaf("integer")], [0])])], [0]),
|
|
15179
|
+
/* 576 declarations/math-shift */ () => seq([kws(["normal", "compact"])], [0]),
|
|
15180
|
+
/* 577 declarations/math-style */ () => seq([kws(["normal", "compact"])], [0]),
|
|
15181
|
+
/* 578 declarations/max-block-size */ () => seq([alt([seq([kw("none")], [0]), seq([ref(1215)], [0]), seq([fndef("anchor-size", ref(943))], [0])])], [0]),
|
|
15182
|
+
/* 579 declarations/max-height */ () => seq([alt([seq([kw("none")], [0]), seq([ref(1215)], [0]), seq([fndef("anchor-size", ref(943))], [0]), seq([kw("stretch")], [0]), seq([ref(930)], [0])])], [0]),
|
|
15183
|
+
/* 580 declarations/max-inline-size */ () => seq([alt([seq([kw("none")], [0]), seq([ref(1215)], [0]), seq([fndef("anchor-size", ref(943))], [0])])], [0]),
|
|
15184
|
+
/* 581 declarations/max-lines */ () => seq([unordered([seq([rng(leaf("integer"), [1, Infinity, null, true], false)], [0]), seq([kw("auto")], [0])], [0, 0], false)], [0]),
|
|
15185
|
+
/* 582 declarations/max-size */ () => seq([ref(583), opt(ref(579))], [0, 1]),
|
|
15186
|
+
/* 583 declarations/max-width */ () => seq([alt([seq([kw("none")], [0]), seq([ref(1215)], [0]), seq([fndef("anchor-size", ref(943))], [0]), seq([kw("stretch")], [0]), seq([ref(930)], [0])])], [0]),
|
|
15187
|
+
/* 584 declarations/min-block-size */ () => seq([alt([seq([kw("auto")], [0]), seq([ref(1215)], [0]), seq([fndef("anchor-size", ref(943))], [0])])], [0]),
|
|
15188
|
+
/* 585 declarations/min-height */ () => seq([alt([seq([kw("auto")], [0]), seq([ref(1215)], [0]), seq([fndef("anchor-size", ref(943))], [0]), seq([kw("stretch")], [0]), seq([ref(930)], [0])])], [0]),
|
|
15189
|
+
/* 586 declarations/min-inline-size */ () => seq([alt([seq([kw("auto")], [0]), seq([ref(1215)], [0]), seq([fndef("anchor-size", ref(943))], [0])])], [0]),
|
|
15190
|
+
/* 587 declarations/min-intrinsic-sizing */ () => seq([alt([seq([kw("legacy")], [0]), seq([unordered([seq([kw("zero-if-scroll")], [0]), seq([kw("zero-if-extrinsic")], [0])], [0, 0], false)], [0])])], [0]),
|
|
15191
|
+
/* 588 declarations/min-size */ () => seq([ref(589), opt(ref(585))], [0, 1]),
|
|
15192
|
+
/* 589 declarations/min-width */ () => seq([alt([seq([kw("auto")], [0]), seq([ref(1215)], [0]), seq([fndef("anchor-size", ref(943))], [0]), seq([kw("stretch")], [0]), seq([ref(930)], [0])])], [0]),
|
|
15193
|
+
/* 590 declarations/mix-blend-mode */ () => seq([alt([seq([ref(1212)], [0]), seq([kw("plus-lighter")], [0])])], [0]),
|
|
15194
|
+
/* 591 declarations/nav-down */ () => seq([alt([seq([kw("auto")], [0]), seq([ref(1020), opt(seq([alt([seq([kw("current")], [0]), seq([kw("root")], [0]), seq([ref(1143)], [0])])], [0]))], [0, 1])])], [0]),
|
|
15195
|
+
/* 592 declarations/nav-left */ () => seq([alt([seq([kw("auto")], [0]), seq([ref(1020), opt(seq([alt([seq([kw("current")], [0]), seq([kw("root")], [0]), seq([ref(1143)], [0])])], [0]))], [0, 1])])], [0]),
|
|
15196
|
+
/* 593 declarations/nav-right */ () => seq([alt([seq([kw("auto")], [0]), seq([ref(1020), opt(seq([alt([seq([kw("current")], [0]), seq([kw("root")], [0]), seq([ref(1143)], [0])])], [0]))], [0, 1])])], [0]),
|
|
15197
|
+
/* 594 declarations/nav-up */ () => seq([alt([seq([kw("auto")], [0]), seq([ref(1020), opt(seq([alt([seq([kw("current")], [0]), seq([kw("root")], [0]), seq([ref(1143)], [0])])], [0]))], [0, 1])])], [0]),
|
|
15198
|
+
/* 595 declarations/object-fit */ () => seq([alt([seq([kw("fill")], [0]), seq([kw("none")], [0]), seq([unordered([seq([seq([kws(["contain", "cover"])], [0])], [0]), seq([kw("scale-down")], [0])], [0, 0], false)], [0])])], [0]),
|
|
15199
|
+
/* 596 declarations/object-position */ () => seq([ref(1463)], [0]),
|
|
15200
|
+
/* 597 declarations/object-view-box */ () => seq([alt([seq([kw("none")], [0]), seq([ref(1206)], [0])])], [0]),
|
|
15201
|
+
/* 598 declarations/offset */ () => seq([seq([opt(ref(602)), opt(seq([ref(601), opt(seq([unordered([seq([ref(600)], [0]), seq([ref(603)], [0])], [0, 0], false)], [0]))], [0, 1]))], [1, 1]), opt(seq([slash, ref(599)], [0, 0]))], [0, 1]),
|
|
15202
|
+
/* 599 declarations/offset-anchor */ () => seq([alt([seq([kw("auto")], [0]), seq([ref(1463)], [0])])], [0]),
|
|
15203
|
+
/* 600 declarations/offset-distance */ () => seq([leaf("length-percentage")], [0]),
|
|
15204
|
+
/* 601 declarations/offset-path */ () => seq([alt([seq([kw("none")], [0]), seq([unordered([seq([ref(1446)], [0]), seq([ref(1263)], [0])], [0, 0], false)], [0])])], [0]),
|
|
15205
|
+
/* 602 declarations/offset-position */ () => seq([alt([seq([kw("normal")], [0]), seq([kw("auto")], [0]), seq([ref(1463)], [0])])], [0]),
|
|
15206
|
+
/* 603 declarations/offset-rotate */ () => seq([unordered([seq([seq([kws(["auto", "reverse"])], [0])], [0]), seq([leaf("angle")], [0])], [0, 0], false)], [0]),
|
|
15207
|
+
/* 604 declarations/opacity */ () => seq([ref(1447)], [0]),
|
|
15208
|
+
/* 605 declarations/order */ () => seq([leaf("integer")], [0]),
|
|
15209
|
+
/* 606 declarations/orphans */ () => seq([rng(leaf("integer"), [1, Infinity, null, true], false)], [0]),
|
|
15210
|
+
/* 607 declarations/outline */ () => seq([unordered([seq([ref(611)], [0]), seq([ref(610)], [0]), seq([ref(608)], [0])], [0, 0, 0], false)], [0]),
|
|
15211
|
+
/* 608 declarations/outline-color */ () => seq([alt([seq([kw("auto")], [0]), seq([ref(277)], [0])])], [0]),
|
|
15212
|
+
/* 609 declarations/outline-offset */ () => seq([alt([seq([leaf("length")], [0]), seq([kw("inset")], [0])])], [0]),
|
|
15213
|
+
/* 610 declarations/outline-style */ () => seq([alt([seq([kw("auto")], [0]), seq([ref(1449)], [0])])], [0]),
|
|
15214
|
+
/* 611 declarations/outline-width */ () => seq([ref(1383)], [0]),
|
|
15215
|
+
/* 612 declarations/overflow */ () => seq([alt([seq([occ(seq([ref(614)], [0]), 1, 2)], [0]), seq([ref(929)], [0])])], [0]),
|
|
15216
|
+
/* 613 declarations/overflow-anchor */ () => seq([kws(["auto", "none"])], [0]),
|
|
15217
|
+
/* 614 declarations/overflow-block */ () => seq([alt([seq([kw("visible")], [0]), seq([kw("hidden")], [0]), seq([kw("clip")], [0]), seq([kw("scroll")], [0]), seq([kw("auto")], [0]), seq([ref(929)], [0])])], [0]),
|
|
15218
|
+
/* 615 declarations/overflow-clip-box */ () => seq([kws(["padding-box", "content-box"])], [0]),
|
|
15219
|
+
/* 616 declarations/overflow-clip-margin */ () => seq([unordered([seq([ref(1595)], [0]), seq([leaf("length")], [0])], [0, 0], false)], [0]),
|
|
15220
|
+
/* 617 declarations/overflow-clip-margin-block */ () => seq([unordered([seq([ref(1595)], [0]), seq([leaf("length")], [0])], [0, 0], false)], [0]),
|
|
15221
|
+
/* 618 declarations/overflow-clip-margin-block-end */ () => seq([unordered([seq([ref(1595)], [0]), seq([leaf("length")], [0])], [0, 0], false)], [0]),
|
|
15222
|
+
/* 619 declarations/overflow-clip-margin-block-start */ () => seq([unordered([seq([ref(1595)], [0]), seq([leaf("length")], [0])], [0, 0], false)], [0]),
|
|
15223
|
+
/* 620 declarations/overflow-clip-margin-bottom */ () => seq([unordered([seq([ref(1595)], [0]), seq([leaf("length")], [0])], [0, 0], false)], [0]),
|
|
15224
|
+
/* 621 declarations/overflow-clip-margin-inline */ () => seq([unordered([seq([ref(1595)], [0]), seq([leaf("length")], [0])], [0, 0], false)], [0]),
|
|
15225
|
+
/* 622 declarations/overflow-clip-margin-inline-end */ () => seq([unordered([seq([ref(1595)], [0]), seq([leaf("length")], [0])], [0, 0], false)], [0]),
|
|
15226
|
+
/* 623 declarations/overflow-clip-margin-inline-start */ () => seq([unordered([seq([ref(1595)], [0]), seq([leaf("length")], [0])], [0, 0], false)], [0]),
|
|
15227
|
+
/* 624 declarations/overflow-clip-margin-left */ () => seq([unordered([seq([ref(1595)], [0]), seq([leaf("length")], [0])], [0, 0], false)], [0]),
|
|
15228
|
+
/* 625 declarations/overflow-clip-margin-right */ () => seq([unordered([seq([ref(1595)], [0]), seq([leaf("length")], [0])], [0, 0], false)], [0]),
|
|
15229
|
+
/* 626 declarations/overflow-clip-margin-top */ () => seq([unordered([seq([ref(1595)], [0]), seq([leaf("length")], [0])], [0, 0], false)], [0]),
|
|
15230
|
+
/* 627 declarations/overflow-inline */ () => seq([alt([seq([kw("visible")], [0]), seq([kw("hidden")], [0]), seq([kw("clip")], [0]), seq([kw("scroll")], [0]), seq([kw("auto")], [0]), seq([ref(929)], [0])])], [0]),
|
|
15231
|
+
/* 628 declarations/overflow-wrap */ () => seq([kws(["normal", "break-word", "anywhere"])], [0]),
|
|
15232
|
+
/* 629 declarations/overflow-x */ () => seq([alt([seq([kw("visible")], [0]), seq([kw("hidden")], [0]), seq([kw("clip")], [0]), seq([kw("scroll")], [0]), seq([kw("auto")], [0]), seq([ref(929)], [0])])], [0]),
|
|
15233
|
+
/* 630 declarations/overflow-y */ () => seq([alt([seq([kw("visible")], [0]), seq([kw("hidden")], [0]), seq([kw("clip")], [0]), seq([kw("scroll")], [0]), seq([kw("auto")], [0]), seq([ref(929)], [0])])], [0]),
|
|
15234
|
+
/* 631 declarations/overlay */ () => seq([kws(["none", "auto"])], [0]),
|
|
15235
|
+
/* 632 declarations/overscroll-behavior */ () => seq([occ(seq([seq([kws(["contain", "none", "auto", "chain"])], [0])], [0]), 1, 2)], [0]),
|
|
15236
|
+
/* 633 declarations/overscroll-behavior-block */ () => seq([kws(["contain", "none", "auto", "chain"])], [0]),
|
|
15237
|
+
/* 634 declarations/overscroll-behavior-inline */ () => seq([kws(["contain", "none", "auto", "chain"])], [0]),
|
|
15238
|
+
/* 635 declarations/overscroll-behavior-x */ () => seq([kws(["contain", "none", "auto", "chain"])], [0]),
|
|
15239
|
+
/* 636 declarations/overscroll-behavior-y */ () => seq([kws(["contain", "none", "auto", "chain"])], [0]),
|
|
15240
|
+
/* 637 declarations/padding */ () => seq([occ(seq([ref(647)], [0]), 1, 4)], [0]),
|
|
15241
|
+
/* 638 declarations/padding-block */ () => seq([occ(seq([ref(647)], [0]), 1, 2)], [0]),
|
|
15242
|
+
/* 639 declarations/padding-block-end */ () => seq([ref(647)], [0]),
|
|
15243
|
+
/* 640 declarations/padding-block-start */ () => seq([ref(647)], [0]),
|
|
15244
|
+
/* 641 declarations/padding-bottom */ () => seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]),
|
|
15245
|
+
/* 642 declarations/padding-inline */ () => seq([occ(seq([ref(647)], [0]), 1, 2)], [0]),
|
|
15246
|
+
/* 643 declarations/padding-inline-end */ () => seq([ref(647)], [0]),
|
|
15247
|
+
/* 644 declarations/padding-inline-start */ () => seq([ref(647)], [0]),
|
|
15248
|
+
/* 645 declarations/padding-left */ () => seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]),
|
|
15249
|
+
/* 646 declarations/padding-right */ () => seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]),
|
|
15250
|
+
/* 647 declarations/padding-top */ () => seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]),
|
|
15251
|
+
/* 648 declarations/page */ () => seq([alt([seq([kw("auto")], [0]), seq([leaf("custom-ident")], [0])])], [0]),
|
|
15252
|
+
/* 649 declarations/page-break-after */ () => seq([kws(["auto", "always", "avoid", "left", "right", "inherit"])], [0]),
|
|
15253
|
+
/* 650 declarations/page-break-before */ () => seq([kws(["auto", "always", "avoid", "left", "right", "inherit"])], [0]),
|
|
15254
|
+
/* 651 declarations/page-break-inside */ () => seq([kws(["avoid", "auto", "inherit"])], [0]),
|
|
15255
|
+
/* 652 declarations/paint-order */ () => seq([alt([seq([kw("normal")], [0]), seq([seq([unordered([seq([kw("fill")], [0]), seq([kw("stroke")], [0]), seq([kw("markers")], [0])], [0, 0, 0], false)], [0])], [0])])], [0]),
|
|
15256
|
+
/* 653 declarations/path-length */ () => seq([alt([seq([kw("none")], [0]), seq([rng(leaf("length"), [0, Infinity, null, true], false)], [0])])], [0]),
|
|
15257
|
+
/* 654 declarations/pause */ () => seq([ref(656), opt(ref(655))], [0, 1]),
|
|
15258
|
+
/* 655 declarations/pause-after */ () => seq([alt([seq([rng(leaf("time"), [0, Infinity, "Time", true], false)], [0]), seq([kw("none")], [0]), seq([kw("x-weak")], [0]), seq([kw("weak")], [0]), seq([kw("medium")], [0]), seq([kw("strong")], [0]), seq([kw("x-strong")], [0])])], [0]),
|
|
15259
|
+
/* 656 declarations/pause-before */ () => seq([alt([seq([rng(leaf("time"), [0, Infinity, "Time", true], false)], [0]), seq([kw("none")], [0]), seq([kw("x-weak")], [0]), seq([kw("weak")], [0]), seq([kw("medium")], [0]), seq([kw("strong")], [0]), seq([kw("x-strong")], [0])])], [0]),
|
|
15260
|
+
/* 657 declarations/perspective */ () => seq([alt([seq([kw("none")], [0]), seq([rng(leaf("length"), [0, Infinity, null, true], false)], [0])])], [0]),
|
|
15261
|
+
/* 658 declarations/perspective-origin */ () => seq([ref(1463)], [0]),
|
|
15262
|
+
/* 659 declarations/place-content */ () => seq([ref(139), opt(ref(518))], [0, 1]),
|
|
15263
|
+
/* 660 declarations/place-items */ () => seq([ref(140), opt(ref(519))], [0, 1]),
|
|
15264
|
+
/* 661 declarations/place-self */ () => seq([ref(141), opt(ref(520))], [0, 1]),
|
|
15265
|
+
/* 662 declarations/pointer-events */ () => seq([kws(["auto", "bounding-box", "visiblepainted", "visiblefill", "visiblestroke", "visible", "painted", "fill", "stroke", "all", "none"])], [0]),
|
|
15266
|
+
/* 663 declarations/pointer-timeline */ () => seq([list(seq([seq([ref(665), opt(ref(664))], [0, 1])], [0]), 0, Infinity, 0)], [0]),
|
|
15267
|
+
/* 664 declarations/pointer-timeline-axis */ () => seq([list(seq([seq([kws(["block", "inline", "x", "y"])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
15268
|
+
/* 665 declarations/pointer-timeline-name */ () => seq([list(seq([seq([alt([seq([kw("none")], [0]), seq([leaf("dashed-ident")], [0])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
15269
|
+
/* 666 declarations/position */ () => seq([alt([seq([kw("static")], [0]), seq([kw("relative")], [0]), seq([kw("absolute")], [0]), seq([kw("sticky")], [0]), seq([kw("fixed")], [0]), seq([fndef("running", ref(1097))], [0]), seq([kw("-webkit-sticky")], [0])])], [0]),
|
|
15270
|
+
/* 667 declarations/position-anchor */ () => seq([alt([seq([kw("normal")], [0]), seq([kw("none")], [0]), seq([kw("auto")], [0]), seq([ref(1171)], [0]), seq([kw("match-parent")], [0])])], [0]),
|
|
15271
|
+
/* 668 declarations/position-area */ () => seq([alt([seq([kw("none")], [0]), seq([ref(1464)], [0])])], [0]),
|
|
15272
|
+
/* 669 declarations/position-try */ () => seq([opt(ref(672)), ref(670)], [0, 0]),
|
|
15273
|
+
/* 670 declarations/position-try-fallbacks */ () => seq([alt([seq([kw("none")], [0]), seq([list(seq([seq([alt([seq([seq([unordered([seq([leaf("dashed-ident")], [0]), seq([ref(1588)], [0])], [0, 0], false)], [0])], [0]), seq([ref(1464)], [0])])], [0])], [0]), 0, Infinity, 0)], [0])])], [0]),
|
|
15274
|
+
/* 671 declarations/position-try-options */ () => seq([ref(670)], [0]),
|
|
15275
|
+
/* 672 declarations/position-try-order */ () => seq([alt([seq([kw("normal")], [0]), seq([ref(1587)], [0])])], [0]),
|
|
15276
|
+
/* 673 declarations/position-visibility */ () => seq([alt([seq([kw("always")], [0]), seq([seq([unordered([seq([kw("anchor-valid")], [0]), seq([kw("anchor-visible")], [0]), seq([kw("no-overflow")], [0])], [0, 0, 0], false)], [0])], [0])])], [0]),
|
|
15277
|
+
/* 674 declarations/print-color-adjust */ () => seq([kws(["economy", "exact"])], [0]),
|
|
15278
|
+
/* 675 declarations/quotes */ () => seq([alt([seq([kw("auto")], [0]), seq([kw("none")], [0]), seq([rep(seq([seq([leaf("string"), leaf("string")], [0, 0])], [0]), false)], [0])])], [0]),
|
|
15279
|
+
/* 676 declarations/r */ () => seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]),
|
|
15280
|
+
/* 677 declarations/reading-flow */ () => seq([kws(["normal", "source-order", "flex-visual", "flex-flow", "grid-rows", "grid-columns", "grid-order"])], [0]),
|
|
15281
|
+
/* 678 declarations/reading-order */ () => seq([leaf("integer")], [0]),
|
|
15282
|
+
/* 679 declarations/region-fragment */ () => seq([kws(["auto", "break"])], [0]),
|
|
15283
|
+
/* 680 declarations/resize */ () => seq([kws(["none", "both", "horizontal", "vertical", "block", "inline"])], [0]),
|
|
15284
|
+
/* 681 declarations/rest */ () => seq([ref(683), opt(ref(682))], [0, 1]),
|
|
15285
|
+
/* 682 declarations/rest-after */ () => seq([alt([seq([rng(leaf("time"), [0, Infinity, "Time", true], false)], [0]), seq([kw("none")], [0]), seq([kw("x-weak")], [0]), seq([kw("weak")], [0]), seq([kw("medium")], [0]), seq([kw("strong")], [0]), seq([kw("x-strong")], [0])])], [0]),
|
|
15286
|
+
/* 683 declarations/rest-before */ () => seq([alt([seq([rng(leaf("time"), [0, Infinity, "Time", true], false)], [0]), seq([kw("none")], [0]), seq([kw("x-weak")], [0]), seq([kw("weak")], [0]), seq([kw("medium")], [0]), seq([kw("strong")], [0]), seq([kw("x-strong")], [0])])], [0]),
|
|
15287
|
+
/* 684 declarations/right */ () => seq([alt([seq([kw("auto")], [0]), seq([leaf("length-percentage")], [0]), seq([fndef("anchor", ref(942))], [0]), seq([fndef("anchor-size", ref(943))], [0])])], [0]),
|
|
15288
|
+
/* 685 declarations/rotate */ () => seq([alt([seq([kw("none")], [0]), seq([leaf("angle")], [0]), seq([unordered([seq([seq([alt([seq([kw("x")], [0]), seq([kw("y")], [0]), seq([kw("z")], [0]), seq([occ(seq([leaf("number")], [0]), 3, 3)], [0])])], [0])], [0]), seq([leaf("angle")], [0])], [0, 0], true)], [0])])], [0]),
|
|
15289
|
+
/* 686 declarations/row-gap */ () => seq([alt([seq([kw("normal")], [0]), seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), seq([ref(1383)], [0])])], [0]),
|
|
15290
|
+
/* 687 declarations/row-rule */ () => seq([alt([seq([ref(1320)], [0]), seq([ref(1317)], [0])])], [0]),
|
|
15291
|
+
/* 688 declarations/row-rule-break */ () => seq([kws(["none", "normal", "intersection"])], [0]),
|
|
15292
|
+
/* 689 declarations/row-rule-color */ () => seq([alt([seq([ref(1375)], [0]), seq([ref(1192)], [0])])], [0]),
|
|
15293
|
+
/* 690 declarations/row-rule-inset */ () => seq([ref(327), opt(seq([slash, ref(331)], [0, 0]))], [0, 1]),
|
|
15294
|
+
/* 691 declarations/row-rule-inset-cap */ () => seq([ref(1355), opt(ref(1355))], [0, 1]),
|
|
15295
|
+
/* 692 declarations/row-rule-inset-cap-end */ () => seq([ref(1355)], [0]),
|
|
15296
|
+
/* 693 declarations/row-rule-inset-cap-start */ () => seq([ref(1355)], [0]),
|
|
15297
|
+
/* 694 declarations/row-rule-inset-end */ () => seq([ref(1355)], [0]),
|
|
15298
|
+
/* 695 declarations/row-rule-inset-junction */ () => seq([ref(1355), opt(ref(1355))], [0, 1]),
|
|
15299
|
+
/* 696 declarations/row-rule-inset-junction-end */ () => seq([ref(1355)], [0]),
|
|
15300
|
+
/* 697 declarations/row-rule-inset-junction-start */ () => seq([ref(1355)], [0]),
|
|
15301
|
+
/* 698 declarations/row-rule-inset-start */ () => seq([ref(1355)], [0]),
|
|
15302
|
+
/* 699 declarations/row-rule-style */ () => seq([alt([seq([ref(1381)], [0]), seq([ref(1193)], [0])])], [0]),
|
|
15303
|
+
/* 700 declarations/row-rule-visibility-items */ () => seq([kws(["all", "around", "between", "normal"])], [0]),
|
|
15304
|
+
/* 701 declarations/row-rule-width */ () => seq([alt([seq([ref(1384)], [0]), seq([ref(1194)], [0])])], [0]),
|
|
15305
|
+
/* 702 declarations/ruby-align */ () => seq([kws(["start", "center", "space-between", "space-around"])], [0]),
|
|
15306
|
+
/* 703 declarations/ruby-merge */ () => seq([kws(["separate", "merge", "auto"])], [0]),
|
|
15307
|
+
/* 704 declarations/ruby-overhang */ () => seq([kws(["auto", "spaces"])], [0]),
|
|
15308
|
+
/* 705 declarations/ruby-position */ () => seq([alt([seq([seq([unordered([seq([kw("alternate")], [0]), seq([seq([kws(["over", "under"])], [0])], [0])], [0, 0], false)], [0])], [0]), seq([kw("inter-character")], [0])])], [0]),
|
|
15309
|
+
/* 706 declarations/rule */ () => seq([ref(323)], [0]),
|
|
15310
|
+
/* 707 declarations/rule-break */ () => seq([ref(324)], [0]),
|
|
15311
|
+
/* 708 declarations/rule-color */ () => seq([ref(325)], [0]),
|
|
15312
|
+
/* 709 declarations/rule-inset */ () => seq([ref(326)], [0]),
|
|
15313
|
+
/* 710 declarations/rule-inset-cap */ () => seq([ref(327)], [0]),
|
|
15314
|
+
/* 711 declarations/rule-inset-end */ () => seq([ref(330)], [0]),
|
|
15315
|
+
/* 712 declarations/rule-inset-junction */ () => seq([ref(331)], [0]),
|
|
15316
|
+
/* 713 declarations/rule-inset-start */ () => seq([ref(334)], [0]),
|
|
15317
|
+
/* 714 declarations/rule-overlap */ () => seq([kws(["row-over-column", "column-over-row"])], [0]),
|
|
15318
|
+
/* 715 declarations/rule-style */ () => seq([ref(335)], [0]),
|
|
15319
|
+
/* 716 declarations/rule-visibility-items */ () => seq([ref(336)], [0]),
|
|
15320
|
+
/* 717 declarations/rule-width */ () => seq([ref(337)], [0]),
|
|
15321
|
+
/* 718 declarations/rx */ () => seq([alt([seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), seq([kw("auto")], [0])])], [0]),
|
|
15322
|
+
/* 719 declarations/ry */ () => seq([alt([seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), seq([kw("auto")], [0])])], [0]),
|
|
15323
|
+
/* 720 declarations/scale */ () => seq([alt([seq([kw("none")], [0]), seq([occ(seq([seq([alt([seq([leaf("number")], [0]), seq([leaf("percentage")], [0])])], [0])], [0]), 1, 3)], [0])])], [0]),
|
|
15324
|
+
/* 721 declarations/scroll-axis-lock */ () => seq([kws(["auto", "none"])], [0]),
|
|
15325
|
+
/* 722 declarations/scroll-behavior */ () => seq([kws(["auto", "smooth"])], [0]),
|
|
15326
|
+
/* 723 declarations/scroll-initial-target */ () => seq([kws(["none", "nearest"])], [0]),
|
|
15327
|
+
/* 724 declarations/scroll-margin */ () => seq([occ(seq([leaf("length")], [0]), 1, 4)], [0]),
|
|
15328
|
+
/* 725 declarations/scroll-margin-block */ () => seq([occ(seq([leaf("length")], [0]), 1, 2)], [0]),
|
|
15329
|
+
/* 726 declarations/scroll-margin-block-end */ () => seq([leaf("length")], [0]),
|
|
15330
|
+
/* 727 declarations/scroll-margin-block-start */ () => seq([leaf("length")], [0]),
|
|
15331
|
+
/* 728 declarations/scroll-margin-bottom */ () => seq([alt([seq([kw("auto")], [0]), seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0])])], [0]),
|
|
15332
|
+
/* 729 declarations/scroll-margin-inline */ () => seq([occ(seq([leaf("length")], [0]), 1, 2)], [0]),
|
|
15333
|
+
/* 730 declarations/scroll-margin-inline-end */ () => seq([leaf("length")], [0]),
|
|
15334
|
+
/* 731 declarations/scroll-margin-inline-start */ () => seq([leaf("length")], [0]),
|
|
15335
|
+
/* 732 declarations/scroll-margin-left */ () => seq([alt([seq([kw("auto")], [0]), seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0])])], [0]),
|
|
15336
|
+
/* 733 declarations/scroll-margin-right */ () => seq([alt([seq([kw("auto")], [0]), seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0])])], [0]),
|
|
15337
|
+
/* 734 declarations/scroll-margin-top */ () => seq([alt([seq([kw("auto")], [0]), seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0])])], [0]),
|
|
15338
|
+
/* 735 declarations/scroll-marker-group */ () => seq([alt([seq([kw("none")], [0]), seq([seq([unordered([seq([seq([kws(["before", "after"])], [0])], [0]), seq([seq([kws(["links", "tabs"])], [0])], [0])], [0, 0], false)], [0])], [0])])], [0]),
|
|
15339
|
+
/* 736 declarations/scroll-padding */ () => seq([occ(seq([seq([alt([seq([kw("auto")], [0]), seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0])])], [0])], [0]), 1, 4)], [0]),
|
|
15340
|
+
/* 737 declarations/scroll-padding-block */ () => seq([occ(seq([seq([alt([seq([kw("auto")], [0]), seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0])])], [0])], [0]), 1, 2)], [0]),
|
|
15341
|
+
/* 738 declarations/scroll-padding-block-end */ () => seq([alt([seq([kw("auto")], [0]), seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0])])], [0]),
|
|
15342
|
+
/* 739 declarations/scroll-padding-block-start */ () => seq([alt([seq([kw("auto")], [0]), seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0])])], [0]),
|
|
15343
|
+
/* 740 declarations/scroll-padding-bottom */ () => seq([alt([seq([kw("auto")], [0]), seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0])])], [0]),
|
|
15344
|
+
/* 741 declarations/scroll-padding-inline */ () => seq([occ(seq([seq([alt([seq([kw("auto")], [0]), seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0])])], [0])], [0]), 1, 2)], [0]),
|
|
15345
|
+
/* 742 declarations/scroll-padding-inline-end */ () => seq([alt([seq([kw("auto")], [0]), seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0])])], [0]),
|
|
15346
|
+
/* 743 declarations/scroll-padding-inline-start */ () => seq([alt([seq([kw("auto")], [0]), seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0])])], [0]),
|
|
15347
|
+
/* 744 declarations/scroll-padding-left */ () => seq([alt([seq([kw("auto")], [0]), seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0])])], [0]),
|
|
15348
|
+
/* 745 declarations/scroll-padding-right */ () => seq([alt([seq([kw("auto")], [0]), seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0])])], [0]),
|
|
15349
|
+
/* 746 declarations/scroll-padding-top */ () => seq([alt([seq([kw("auto")], [0]), seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0])])], [0]),
|
|
15350
|
+
/* 747 declarations/scroll-snap-align */ () => seq([occ(seq([seq([kws(["none", "start", "end", "center"])], [0])], [0]), 1, 2)], [0]),
|
|
15351
|
+
/* 748 declarations/scroll-snap-coordinate */ () => seq([alt([seq([kw("none")], [0]), seq([list(seq([ref(1463)], [0]), 0, Infinity, 0)], [0])])], [0]),
|
|
15352
|
+
/* 749 declarations/scroll-snap-destination */ () => seq([ref(1463)], [0]),
|
|
15353
|
+
/* 750 declarations/scroll-snap-points-x */ () => seq([alt([seq([kw("none")], [0]), seq([fn("repeat", seq([leaf("length-percentage")], [0]))], [0])])], [0]),
|
|
15354
|
+
/* 751 declarations/scroll-snap-points-y */ () => seq([alt([seq([kw("none")], [0]), seq([fn("repeat", seq([leaf("length-percentage")], [0]))], [0])])], [0]),
|
|
15355
|
+
/* 752 declarations/scroll-snap-stop */ () => seq([kws(["normal", "always"])], [0]),
|
|
15356
|
+
/* 753 declarations/scroll-snap-type */ () => seq([alt([seq([kw("none")], [0]), seq([seq([kws(["x", "y", "block", "inline", "both", "pair"])], [0]), opt(seq([kws(["mandatory", "proximity"])], [0]))], [0, 1])])], [0]),
|
|
15357
|
+
/* 754 declarations/scroll-snap-type-x */ () => seq([kws(["none", "mandatory", "proximity"])], [0]),
|
|
15358
|
+
/* 755 declarations/scroll-snap-type-y */ () => seq([kws(["none", "mandatory", "proximity"])], [0]),
|
|
15359
|
+
/* 756 declarations/scroll-target-group */ () => seq([kws(["none", "auto"])], [0]),
|
|
15360
|
+
/* 757 declarations/scroll-timeline */ () => seq([list(seq([seq([ref(759), opt(ref(758))], [0, 1])], [0]), 0, Infinity, 0)], [0]),
|
|
15361
|
+
/* 758 declarations/scroll-timeline-axis */ () => seq([list(seq([seq([kws(["block", "inline", "x", "y"])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
15362
|
+
/* 759 declarations/scroll-timeline-name */ () => seq([list(seq([seq([alt([seq([kw("none")], [0]), seq([leaf("dashed-ident")], [0])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
15363
|
+
/* 760 declarations/scrollbar-color */ () => seq([alt([seq([kw("auto")], [0]), seq([occ(seq([leaf("color")], [0]), 2, 2)], [0])])], [0]),
|
|
15364
|
+
/* 761 declarations/scrollbar-gutter */ () => seq([alt([seq([kw("auto")], [0]), seq([unordered([seq([kw("stable")], [0]), seq([opt(kw("both-edges"))], [1])], [0, 1], true)], [0])])], [0]),
|
|
15365
|
+
/* 762 declarations/scrollbar-width */ () => seq([kws(["auto", "thin", "none"])], [0]),
|
|
15366
|
+
/* 763 declarations/shape-image-threshold */ () => seq([ref(1447)], [0]),
|
|
15367
|
+
/* 764 declarations/shape-inside */ () => seq([alt([seq([kw("auto")], [0]), seq([kw("outside-shape")], [0]), seq([seq([unordered([seq([ref(1205)], [0]), seq([kw("shape-box")], [0])], [0, 0], false)], [0])], [0]), seq([ref(1344)], [0]), seq([kw("display")], [0])])], [0]),
|
|
15368
|
+
/* 765 declarations/shape-margin */ () => seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]),
|
|
15369
|
+
/* 766 declarations/shape-outside */ () => seq([alt([seq([kw("none")], [0]), seq([seq([unordered([seq([ref(1205)], [0]), seq([ref(1519)], [0])], [0, 0], false)], [0])], [0]), seq([ref(1344)], [0])])], [0]),
|
|
15370
|
+
/* 767 declarations/shape-padding */ () => seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]),
|
|
15371
|
+
/* 768 declarations/shape-rendering */ () => seq([kws(["auto", "optimizespeed", "crispedges", "geometricprecision"])], [0]),
|
|
15372
|
+
/* 769 declarations/size */ () => seq([ref(895), opt(ref(487))], [0, 1]),
|
|
15373
|
+
/* 770 declarations/slider-orientation */ () => seq([kws(["auto", "left-to-right", "right-to-left", "top-to-bottom", "bottom-to-top"])], [0]),
|
|
15374
|
+
/* 771 declarations/spatial-navigation-action */ () => seq([kws(["auto", "focus", "scroll"])], [0]),
|
|
15375
|
+
/* 772 declarations/spatial-navigation-contain */ () => seq([kws(["auto", "contain"])], [0]),
|
|
15376
|
+
/* 773 declarations/spatial-navigation-function */ () => seq([kws(["normal", "grid"])], [0]),
|
|
15377
|
+
/* 774 declarations/speak */ () => seq([kws(["auto", "never", "always"])], [0]),
|
|
15378
|
+
/* 775 declarations/speak-as */ () => seq([alt([seq([kw("normal")], [0]), seq([unordered([seq([kw("spell-out")], [0]), seq([kw("digits")], [0]), seq([seq([kws(["literal-punctuation", "no-punctuation"])], [0])], [0])], [0, 0, 0], false)], [0])])], [0]),
|
|
15379
|
+
/* 776 declarations/stop-color */ () => seq([ref(314)], [0]),
|
|
15380
|
+
/* 777 declarations/stop-opacity */ () => seq([ref(604)], [0]),
|
|
15381
|
+
/* 778 declarations/string-set */ () => seq([alt([seq([kw("none")], [0]), seq([list(seq([seq([leaf("custom-ident"), rep(seq([leaf("string")], [0]), false)], [0, 0])], [0]), 0, Infinity, 0)], [0])])], [0]),
|
|
15382
|
+
/* 779 declarations/stroke */ () => seq([ref(1454)], [0]),
|
|
15383
|
+
/* 780 declarations/stroke-align */ () => seq([kws(["center", "inset", "outset"])], [0]),
|
|
15384
|
+
/* 781 declarations/stroke-alignment */ () => seq([kws(["center", "inner", "outer"])], [0]),
|
|
15385
|
+
/* 782 declarations/stroke-break */ () => seq([kws(["bounding-box", "slice", "clone"])], [0]),
|
|
15386
|
+
/* 783 declarations/stroke-color */ () => seq([list(seq([leaf("color")], [0]), 0, Infinity, 0)], [0]),
|
|
15387
|
+
/* 784 declarations/stroke-dash-corner */ () => seq([alt([seq([kw("none")], [0]), seq([leaf("length")], [0])])], [0]),
|
|
15388
|
+
/* 785 declarations/stroke-dash-justify */ () => seq([alt([seq([kw("none")], [0]), seq([unordered([seq([seq([kws(["stretch", "compress"])], [0])], [0]), seq([seq([unordered([seq([kw("dashes")], [0]), seq([kw("gaps")], [0])], [0, 0], false)], [0])], [0])], [0, 0], false)], [0])])], [0]),
|
|
15389
|
+
/* 786 declarations/stroke-dashadjust */ () => seq([alt([seq([kw("none")], [0]), seq([seq([kws(["stretch", "compress"])], [0]), opt(seq([kws(["dashes", "gaps"])], [0]))], [0, 1])])], [0]),
|
|
15390
|
+
/* 787 declarations/stroke-dasharray */ () => seq([alt([seq([kw("none")], [0]), seq([rep(seq([list(seq([seq([alt([seq([leaf("length-percentage")], [0]), seq([leaf("number")], [0])])], [0])], [0]), 0, Infinity, 0)], [0]), false)], [0])])], [0]),
|
|
15391
|
+
/* 788 declarations/stroke-dashcorner */ () => seq([alt([seq([kw("none")], [0]), seq([leaf("length")], [0])])], [0]),
|
|
15392
|
+
/* 789 declarations/stroke-dashoffset */ () => seq([alt([seq([leaf("length-percentage")], [0]), seq([leaf("number")], [0])])], [0]),
|
|
15393
|
+
/* 790 declarations/stroke-image */ () => seq([list(seq([ref(1454)], [0]), 0, Infinity, 0)], [0]),
|
|
15394
|
+
/* 791 declarations/stroke-linecap */ () => seq([kws(["butt", "round", "square"])], [0]),
|
|
15395
|
+
/* 792 declarations/stroke-linejoin */ () => seq([alt([seq([unordered([seq([seq([kws(["crop", "arcs", "miter"])], [0])], [0]), seq([seq([kws(["bevel", "round", "fallback"])], [0])], [0])], [0, 0], false)], [0]), seq([kw("arcs")], [0]), seq([kw("crop")], [0]), seq([kw("fallback")], [0]), seq([kw("miter-clip")], [0])])], [0]),
|
|
15396
|
+
/* 793 declarations/stroke-miterlimit */ () => seq([leaf("number")], [0]),
|
|
15397
|
+
/* 794 declarations/stroke-opacity */ () => seq([ref(604)], [0]),
|
|
15398
|
+
/* 795 declarations/stroke-origin */ () => seq([kws(["match-parent", "fill-box", "stroke-box", "content-box", "padding-box", "border-box"])], [0]),
|
|
15399
|
+
/* 796 declarations/stroke-position */ () => seq([list(seq([ref(1463)], [0]), 0, Infinity, 0)], [0]),
|
|
15400
|
+
/* 797 declarations/stroke-repeat */ () => seq([list(seq([ref(1503)], [0]), 0, Infinity, 0)], [0]),
|
|
15401
|
+
/* 798 declarations/stroke-size */ () => seq([list(seq([ref(1211)], [0]), 0, Infinity, 0)], [0]),
|
|
15402
|
+
/* 799 declarations/stroke-width */ () => seq([list(seq([seq([alt([seq([leaf("length-percentage")], [0]), seq([ref(1383)], [0]), seq([leaf("number")], [0])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
15403
|
+
/* 800 declarations/tab-size */ () => seq([alt([seq([rng(leaf("number"), [0, Infinity, null, true], false)], [0]), seq([rng(leaf("length"), [0, Infinity, null, true], false)], [0])])], [0]),
|
|
15404
|
+
/* 801 declarations/table-layout */ () => seq([kws(["auto", "fixed"])], [0]),
|
|
15405
|
+
/* 802 declarations/text-align */ () => seq([alt([seq([kw("start")], [0]), seq([kw("end")], [0]), seq([kw("left")], [0]), seq([kw("right")], [0]), seq([kw("center")], [0]), seq([leaf("string")], [0]), seq([kw("justify")], [0]), seq([kw("match-parent")], [0]), seq([kw("justify-all")], [0]), seq([ref(931)], [0])])], [0]),
|
|
15406
|
+
/* 803 declarations/text-align-all */ () => seq([alt([seq([kw("start")], [0]), seq([kw("end")], [0]), seq([kw("left")], [0]), seq([kw("right")], [0]), seq([kw("center")], [0]), seq([leaf("string")], [0]), seq([kw("justify")], [0]), seq([kw("match-parent")], [0])])], [0]),
|
|
15407
|
+
/* 804 declarations/text-align-last */ () => seq([kws(["auto", "start", "end", "left", "right", "center", "justify", "match-parent"])], [0]),
|
|
15408
|
+
/* 805 declarations/text-anchor */ () => seq([kws(["start", "middle", "end"])], [0]),
|
|
15409
|
+
/* 806 declarations/text-autospace */ () => seq([alt([seq([kw("normal")], [0]), seq([ref(1200)], [0]), seq([kw("auto")], [0])])], [0]),
|
|
15410
|
+
/* 807 declarations/text-autospace-size */ () => seq([rng(leaf("number"), [0, Infinity, null, true], false)], [0]),
|
|
15411
|
+
/* 808 declarations/text-box */ () => seq([alt([seq([kw("normal")], [0]), seq([unordered([seq([ref(810)], [0]), seq([ref(809)], [0])], [0, 0], false)], [0])])], [0]),
|
|
15412
|
+
/* 809 declarations/text-box-edge */ () => seq([alt([seq([kw("auto")], [0]), seq([ref(1578)], [0])])], [0]),
|
|
15413
|
+
/* 810 declarations/text-box-trim */ () => seq([kws(["none", "trim-start", "trim-end", "trim-both"])], [0]),
|
|
15414
|
+
/* 811 declarations/text-combine-upright */ () => seq([alt([seq([kw("none")], [0]), seq([kw("all")], [0]), seq([seq([kw("digits"), rng(leaf("integer"), [2, 4, null, true], true)], [0, 1])], [0])])], [0]),
|
|
15415
|
+
/* 812 declarations/text-decoration */ () => seq([unordered([seq([ref(815)], [0]), seq([ref(822)], [0]), seq([ref(821)], [0]), seq([ref(813)], [0])], [0, 0, 0, 0], false)], [0]),
|
|
15416
|
+
/* 813 declarations/text-decoration-color */ () => seq([leaf("color")], [0]),
|
|
15417
|
+
/* 814 declarations/text-decoration-inset */ () => seq([alt([seq([occ(seq([leaf("length-percentage")], [0]), 1, 2)], [0]), seq([kw("auto")], [0])])], [0]),
|
|
15418
|
+
/* 815 declarations/text-decoration-line */ () => seq([alt([seq([kw("none")], [0]), seq([seq([unordered([seq([kw("underline")], [0]), seq([kw("overline")], [0]), seq([kw("line-through")], [0]), seq([kw("blink")], [0])], [0, 0, 0, 0], false)], [0])], [0]), seq([kw("spelling-error")], [0]), seq([kw("grammar-error")], [0])])], [0]),
|
|
15419
|
+
/* 816 declarations/text-decoration-skip */ () => seq([kws(["none", "auto"])], [0]),
|
|
15420
|
+
/* 817 declarations/text-decoration-skip-box */ () => seq([kws(["none", "all"])], [0]),
|
|
15421
|
+
/* 818 declarations/text-decoration-skip-ink */ () => seq([kws(["auto", "none", "all"])], [0]),
|
|
15422
|
+
/* 819 declarations/text-decoration-skip-self */ () => seq([alt([seq([kw("auto")], [0]), seq([kw("skip-all")], [0]), seq([seq([unordered([seq([kw("skip-underline")], [0]), seq([kw("skip-overline")], [0]), seq([kw("skip-line-through")], [0])], [0, 0, 0], false)], [0])], [0]), seq([kw("no-skip")], [0])])], [0]),
|
|
15423
|
+
/* 820 declarations/text-decoration-skip-spaces */ () => seq([alt([seq([kw("none")], [0]), seq([kw("all")], [0]), seq([seq([unordered([seq([kw("start")], [0]), seq([kw("end")], [0])], [0, 0], false)], [0])], [0])])], [0]),
|
|
15424
|
+
/* 821 declarations/text-decoration-style */ () => seq([kws(["solid", "double", "dotted", "dashed", "wavy"])], [0]),
|
|
15425
|
+
/* 822 declarations/text-decoration-thickness */ () => seq([alt([seq([kw("auto")], [0]), seq([kw("from-font")], [0]), seq([leaf("length-percentage")], [0]), seq([ref(1383)], [0])])], [0]),
|
|
15426
|
+
/* 823 declarations/text-emphasis */ () => seq([unordered([seq([ref(827)], [0]), seq([ref(824)], [0])], [0, 0], false)], [0]),
|
|
15427
|
+
/* 824 declarations/text-emphasis-color */ () => seq([leaf("color")], [0]),
|
|
15428
|
+
/* 825 declarations/text-emphasis-position */ () => seq([unordered([seq([seq([kws(["over", "under"])], [0])], [0]), seq([opt(seq([kws(["right", "left"])], [0]))], [1])], [0, 1], true)], [0]),
|
|
15429
|
+
/* 826 declarations/text-emphasis-skip */ () => seq([unordered([seq([kw("spaces")], [0]), seq([kw("punctuation")], [0]), seq([kw("symbols")], [0]), seq([kw("narrow")], [0])], [0, 0, 0, 0], false)], [0]),
|
|
15430
|
+
/* 827 declarations/text-emphasis-style */ () => seq([alt([seq([kw("none")], [0]), seq([seq([unordered([seq([seq([kws(["filled", "open"])], [0])], [0]), seq([seq([kws(["dot", "circle", "double-circle", "triangle", "sesame"])], [0])], [0])], [0, 0], false)], [0])], [0]), seq([leaf("string")], [0])])], [0]),
|
|
15431
|
+
/* 828 declarations/text-fit */ () => seq([seq([kws(["none", "grow", "shrink"])], [0]), opt(seq([kws(["consistent", "per-line", "per-line-all"])], [0])), opt(leaf("percentage"))], [0, 1, 1]),
|
|
15432
|
+
/* 829 declarations/text-group-align */ () => seq([kws(["none", "start", "end", "left", "right", "center"])], [0]),
|
|
15433
|
+
/* 830 declarations/text-indent */ () => seq([unordered([seq([seq([leaf("length-percentage")], [0])], [0]), seq([opt(kw("hanging"))], [1]), seq([opt(kw("each-line"))], [1])], [0, 1, 1], true)], [0]),
|
|
15434
|
+
/* 831 declarations/text-justify */ () => seq([unordered([seq([seq([kws(["auto", "none", "inter-word", "inter-character", "ruby"])], [0])], [0]), seq([kw("no-compress")], [0])], [0, 0], false)], [0]),
|
|
15435
|
+
/* 832 declarations/text-orientation */ () => seq([kws(["mixed", "upright", "sideways"])], [0]),
|
|
15436
|
+
/* 833 declarations/text-overflow */ () => seq([occ(seq([seq([alt([seq([kw("clip")], [0]), seq([kw("ellipsis")], [0]), seq([leaf("string")], [0]), seq([kw("fade")], [0]), seq([fndef("fade", ref(989))], [0])])], [0])], [0]), 1, 2)], [0]),
|
|
15437
|
+
/* 834 declarations/text-rendering */ () => seq([kws(["auto", "optimizespeed", "optimizelegibility", "geometricprecision"])], [0]),
|
|
15438
|
+
/* 835 declarations/text-shadow */ () => seq([alt([seq([kw("none")], [0]), seq([list(seq([ref(1517)], [0]), 0, Infinity, 0)], [0])])], [0]),
|
|
15439
|
+
/* 836 declarations/text-size-adjust */ () => seq([alt([seq([kw("auto")], [0]), seq([kw("none")], [0]), seq([rng(leaf("percentage"), [0, Infinity, null, true], false)], [0])])], [0]),
|
|
15440
|
+
/* 837 declarations/text-spacing */ () => seq([alt([seq([kw("none")], [0]), seq([kw("auto")], [0]), seq([unordered([seq([ref(1540)], [0]), seq([ref(1200)], [0])], [0, 0], false)], [0])])], [0]),
|
|
15441
|
+
/* 838 declarations/text-spacing-trim */ () => seq([alt([seq([ref(1540)], [0]), seq([kw("auto")], [0])])], [0]),
|
|
15442
|
+
/* 839 declarations/text-transform */ () => seq([alt([seq([kw("none")], [0]), seq([unordered([seq([seq([kws(["capitalize", "uppercase", "lowercase"])], [0])], [0]), seq([kw("full-width")], [0]), seq([kw("full-size-kana")], [0])], [0, 0, 0], false)], [0]), seq([kw("math-auto")], [0])])], [0]),
|
|
15443
|
+
/* 840 declarations/text-underline-offset */ () => seq([alt([seq([kw("auto")], [0]), seq([leaf("length-percentage")], [0])])], [0]),
|
|
15444
|
+
/* 841 declarations/text-underline-position */ () => seq([alt([seq([kw("auto")], [0]), seq([unordered([seq([seq([kws(["from-font", "under"])], [0])], [0]), seq([seq([kws(["left", "right"])], [0])], [0])], [0, 0], false)], [0])])], [0]),
|
|
15445
|
+
/* 842 declarations/text-wrap */ () => seq([unordered([seq([ref(843)], [0]), seq([ref(844)], [0])], [0, 0], false)], [0]),
|
|
15446
|
+
/* 843 declarations/text-wrap-mode */ () => seq([kws(["wrap", "nowrap"])], [0]),
|
|
15447
|
+
/* 844 declarations/text-wrap-style */ () => seq([kws(["auto", "balance", "stable", "pretty", "avoid-short-last-line"])], [0]),
|
|
15448
|
+
/* 845 declarations/timeline-scope */ () => seq([alt([seq([kw("none")], [0]), seq([kw("all")], [0]), seq([list(seq([leaf("dashed-ident")], [0]), 0, Infinity, 0)], [0])])], [0]),
|
|
15449
|
+
/* 846 declarations/timeline-trigger */ () => seq([alt([seq([kw("none")], [0]), seq([list(seq([seq([ref(853), ref(855), opt(seq([ref(854)], [0]))], [0, 0, 1])], [0]), 0, Infinity, 0)], [0])])], [0]),
|
|
15450
|
+
/* 847 declarations/timeline-trigger-activation-range */ () => seq([list(seq([seq([ref(849), opt(ref(848))], [0, 1])], [0]), 0, Infinity, 0)], [0]),
|
|
15451
|
+
/* 848 declarations/timeline-trigger-activation-range-end */ () => seq([list(seq([seq([alt([seq([kw("normal")], [0]), seq([leaf("length-percentage")], [0]), seq([ref(1146), opt(leaf("length-percentage"))], [0, 1])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
15452
|
+
/* 849 declarations/timeline-trigger-activation-range-start */ () => seq([list(seq([seq([alt([seq([kw("normal")], [0]), seq([leaf("length-percentage")], [0]), seq([ref(1146), opt(leaf("length-percentage"))], [0, 1])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
15453
|
+
/* 850 declarations/timeline-trigger-active-range */ () => seq([list(seq([seq([ref(852), opt(ref(851))], [0, 1])], [0]), 0, Infinity, 0)], [0]),
|
|
15454
|
+
/* 851 declarations/timeline-trigger-active-range-end */ () => seq([list(seq([seq([alt([seq([kw("auto")], [0]), seq([kw("normal")], [0]), seq([leaf("length-percentage")], [0]), seq([ref(1146), opt(leaf("length-percentage"))], [0, 1])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
15455
|
+
/* 852 declarations/timeline-trigger-active-range-start */ () => seq([list(seq([seq([alt([seq([kw("auto")], [0]), seq([kw("normal")], [0]), seq([leaf("length-percentage")], [0]), seq([ref(1146), opt(leaf("length-percentage"))], [0, 1])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
15456
|
+
/* 853 declarations/timeline-trigger-name */ () => seq([alt([seq([kw("none")], [0]), seq([list(seq([leaf("dashed-ident")], [0]), 0, Infinity, 0)], [0])])], [0]),
|
|
15457
|
+
/* 854 declarations/timeline-trigger-range */ () => seq([list(seq([seq([ref(847), opt(seq([slash, ref(850)], [0, 0]))], [0, 1])], [0]), 0, Infinity, 0)], [0]),
|
|
15458
|
+
/* 855 declarations/timeline-trigger-source */ () => seq([list(seq([seq([alt([seq([kw("none")], [0]), seq([kw("auto")], [0]), seq([rep(seq([seq([alt([seq([leaf("dashed-ident")], [0]), seq([fndef("scroll", ref(1104))], [0]), seq([fndef("view", ref(1161))], [0])])], [0])], [0]), false)], [0])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
15459
|
+
/* 856 declarations/top */ () => seq([alt([seq([kw("auto")], [0]), seq([leaf("length-percentage")], [0]), seq([fndef("anchor", ref(942))], [0]), seq([fndef("anchor-size", ref(943))], [0])])], [0]),
|
|
15460
|
+
/* 857 declarations/touch-action */ () => seq([alt([seq([kw("auto")], [0]), seq([kw("none")], [0]), seq([seq([unordered([seq([seq([kws(["pan-x", "pan-left", "pan-right"])], [0])], [0]), seq([seq([kws(["pan-y", "pan-up", "pan-down"])], [0])], [0]), seq([kw("pinch-zoom")], [0])], [0, 0, 0], false)], [0])], [0]), seq([kw("manipulation")], [0])])], [0]),
|
|
15461
|
+
/* 858 declarations/transform */ () => seq([alt([seq([kw("none")], [0]), seq([ref(1585)], [0])])], [0]),
|
|
15462
|
+
/* 859 declarations/transform-box */ () => seq([kws(["content-box", "border-box", "fill-box", "stroke-box", "view-box"])], [0]),
|
|
15463
|
+
/* 860 declarations/transform-origin */ () => seq([alt([seq([seq([alt([seq([kw("left")], [0]), seq([kw("center")], [0]), seq([kw("right")], [0]), seq([kw("top")], [0]), seq([kw("bottom")], [0]), seq([leaf("length-percentage")], [0])])], [0])], [0]), seq([seq([alt([seq([kw("left")], [0]), seq([kw("center")], [0]), seq([kw("right")], [0]), seq([leaf("length-percentage")], [0])])], [0]), seq([alt([seq([kw("top")], [0]), seq([kw("center")], [0]), seq([kw("bottom")], [0]), seq([leaf("length-percentage")], [0])])], [0]), opt(leaf("length"))], [0, 0, 1]), seq([seq([unordered([seq([seq([kws(["center", "left", "right"])], [0])], [0]), seq([seq([kws(["center", "top", "bottom"])], [0])], [0])], [0, 0], true)], [0]), opt(leaf("length"))], [0, 1])])], [0]),
|
|
15464
|
+
/* 861 declarations/transform-style */ () => seq([kws(["flat", "preserve-3d"])], [0]),
|
|
15465
|
+
/* 862 declarations/transition */ () => seq([list(seq([ref(1533)], [0]), 0, Infinity, 0)], [0]),
|
|
15466
|
+
/* 863 declarations/transition-behavior */ () => seq([list(seq([ref(1586)], [0]), 0, Infinity, 0)], [0]),
|
|
15467
|
+
/* 864 declarations/transition-delay */ () => seq([list(seq([leaf("time")], [0]), 0, Infinity, 0)], [0]),
|
|
15468
|
+
/* 865 declarations/transition-duration */ () => seq([list(seq([rng(leaf("time"), [0, Infinity, "Time", true], false)], [0]), 0, Infinity, 0)], [0]),
|
|
15469
|
+
/* 866 declarations/transition-property */ () => seq([alt([seq([kw("none")], [0]), seq([list(seq([ref(1534)], [0]), 0, Infinity, 0)], [0])])], [0]),
|
|
15470
|
+
/* 867 declarations/transition-timing-function */ () => seq([list(seq([ref(1290)], [0]), 0, Infinity, 0)], [0]),
|
|
15471
|
+
/* 868 declarations/translate */ () => seq([alt([seq([kw("none")], [0]), seq([leaf("length-percentage"), opt(seq([leaf("length-percentage"), opt(leaf("length"))], [0, 1]))], [0, 1])])], [0]),
|
|
15472
|
+
/* 869 declarations/trigger-scope */ () => seq([alt([seq([kw("none")], [0]), seq([kw("all")], [0]), seq([list(seq([leaf("dashed-ident")], [0]), 0, Infinity, 0)], [0])])], [0]),
|
|
15473
|
+
/* 870 declarations/unicode-bidi */ () => seq([kws(["normal", "embed", "isolate", "bidi-override", "isolate-override", "plaintext", "-moz-isolate", "-moz-isolate-override", "-moz-plaintext", "-webkit-isolate", "-webkit-isolate-override", "-webkit-plaintext"])], [0]),
|
|
15474
|
+
/* 871 declarations/user-select */ () => seq([kws(["auto", "text", "none", "contain", "all"])], [0]),
|
|
15475
|
+
/* 872 declarations/vector-effect */ () => seq([kws(["none", "non-scaling-stroke", "non-scaling-size", "non-rotation", "fixed-position"])], [0]),
|
|
15476
|
+
/* 873 declarations/vertical-align */ () => seq([unordered([seq([seq([kws(["first", "last"])], [0])], [0]), seq([ref(143)], [0]), seq([ref(188)], [0])], [0, 0, 0], false)], [0]),
|
|
15477
|
+
/* 874 declarations/view-timeline */ () => seq([list(seq([seq([ref(877), opt(seq([unordered([seq([ref(875)], [0]), seq([ref(876)], [0])], [0, 0], false)], [0]))], [0, 1])], [0]), 0, Infinity, 0)], [0]),
|
|
15478
|
+
/* 875 declarations/view-timeline-axis */ () => seq([list(seq([seq([kws(["block", "inline", "x", "y"])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
15479
|
+
/* 876 declarations/view-timeline-inset */ () => seq([list(seq([seq([occ(seq([seq([alt([seq([kw("auto")], [0]), seq([leaf("length-percentage")], [0])])], [0])], [0]), 1, 2)], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
15480
|
+
/* 877 declarations/view-timeline-name */ () => seq([list(seq([seq([alt([seq([kw("none")], [0]), seq([leaf("dashed-ident")], [0])])], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
15481
|
+
/* 878 declarations/view-transition-class */ () => seq([alt([seq([kw("none")], [0]), seq([rep(seq([leaf("custom-ident")], [0]), false)], [0])])], [0]),
|
|
15482
|
+
/* 879 declarations/view-transition-group */ () => seq([alt([seq([kw("normal")], [0]), seq([kw("contain")], [0]), seq([kw("nearest")], [0]), seq([leaf("custom-ident")], [0])])], [0]),
|
|
15483
|
+
/* 880 declarations/view-transition-name */ () => seq([alt([seq([kw("none")], [0]), seq([leaf("custom-ident")], [0])])], [0]),
|
|
15484
|
+
/* 881 declarations/view-transition-scope */ () => seq([kws(["none", "all"])], [0]),
|
|
15485
|
+
/* 882 declarations/visibility */ () => seq([kws(["visible", "hidden", "force-hidden", "collapse"])], [0]),
|
|
15486
|
+
/* 883 declarations/voice-balance */ () => seq([alt([seq([leaf("number")], [0]), seq([kw("left")], [0]), seq([kw("center")], [0]), seq([kw("right")], [0]), seq([kw("leftwards")], [0]), seq([kw("rightwards")], [0])])], [0]),
|
|
15487
|
+
/* 884 declarations/voice-duration */ () => seq([alt([seq([kw("auto")], [0]), seq([rng(leaf("time"), [0, Infinity, "Time", true], false)], [0])])], [0]),
|
|
15488
|
+
/* 885 declarations/voice-family */ () => seq([alt([seq([list(seq([seq([alt([seq([ref(1162)], [0]), seq([ref(1327)], [0])])], [0])], [0]), 0, Infinity, 0)], [0]), seq([kw("preserve")], [0])])], [0]),
|
|
15489
|
+
/* 886 declarations/voice-pitch */ () => seq([alt([seq([unordered([seq([rng(leaf("frequency"), [0, Infinity, "Frequency", true], false)], [0]), seq([kw("absolute")], [0])], [0, 0], true)], [0]), seq([seq([unordered([seq([seq([kws(["x-low", "low", "medium", "high", "x-high"])], [0])], [0]), seq([seq([alt([seq([rng(leaf("frequency"), [0, Infinity, "Frequency", true], false)], [0]), seq([leaf("semitones")], [0]), seq([leaf("percentage")], [0])])], [0])], [0])], [0, 0], false)], [0])], [0])])], [0]),
|
|
15490
|
+
/* 887 declarations/voice-range */ () => seq([alt([seq([unordered([seq([rng(leaf("frequency"), [0, Infinity, "Frequency", true], false)], [0]), seq([kw("absolute")], [0])], [0, 0], true)], [0]), seq([seq([unordered([seq([seq([kws(["x-low", "low", "medium", "high", "x-high"])], [0])], [0]), seq([seq([alt([seq([rng(leaf("frequency"), [0, Infinity, "Frequency", true], false)], [0]), seq([leaf("semitones")], [0]), seq([leaf("percentage")], [0])])], [0])], [0])], [0, 0], false)], [0])], [0])])], [0]),
|
|
15491
|
+
/* 888 declarations/voice-rate */ () => seq([unordered([seq([seq([kws(["normal", "x-slow", "slow", "medium", "fast", "x-fast"])], [0])], [0]), seq([rng(leaf("percentage"), [0, Infinity, null, true], false)], [0])], [0, 0], false)], [0]),
|
|
15492
|
+
/* 889 declarations/voice-stress */ () => seq([kws(["normal", "strong", "moderate", "none", "reduced"])], [0]),
|
|
15493
|
+
/* 890 declarations/voice-volume */ () => seq([alt([seq([kw("silent")], [0]), seq([seq([unordered([seq([seq([kws(["x-soft", "soft", "medium", "loud", "x-loud"])], [0])], [0]), seq([leaf("decibel")], [0])], [0, 0], false)], [0])], [0])])], [0]),
|
|
15494
|
+
/* 891 declarations/white-space */ () => seq([alt([seq([kw("normal")], [0]), seq([kw("pre")], [0]), seq([kw("pre-wrap")], [0]), seq([kw("pre-line")], [0]), seq([unordered([seq([ref(892)], [0]), seq([ref(843)], [0]), seq([ref(893)], [0])], [0, 0, 0], false)], [0])])], [0]),
|
|
15495
|
+
/* 892 declarations/white-space-collapse */ () => seq([kws(["collapse", "discard", "preserve", "preserve-breaks", "preserve-spaces", "break-spaces"])], [0]),
|
|
15496
|
+
/* 893 declarations/white-space-trim */ () => seq([alt([seq([kw("none")], [0]), seq([unordered([seq([kw("discard-before")], [0]), seq([kw("discard-after")], [0]), seq([kw("discard-inner")], [0])], [0, 0, 0], false)], [0])])], [0]),
|
|
15497
|
+
/* 894 declarations/widows */ () => seq([rng(leaf("integer"), [1, Infinity, null, true], false)], [0]),
|
|
15498
|
+
/* 895 declarations/width */ () => seq([alt([seq([kw("auto")], [0]), seq([ref(1215)], [0]), seq([fndef("anchor-size", ref(943))], [0]), seq([kw("stretch")], [0]), seq([ref(930)], [0])])], [0]),
|
|
15499
|
+
/* 896 declarations/will-change */ () => seq([alt([seq([kw("auto")], [0]), seq([list(seq([ref(1180)], [0]), 0, Infinity, 0)], [0])])], [0]),
|
|
15500
|
+
/* 897 declarations/window-drag */ () => seq([kws(["none", "move"])], [0]),
|
|
15501
|
+
/* 898 declarations/word-break */ () => seq([kws(["normal", "break-all", "keep-all", "manual", "auto-phrase", "break-word"])], [0]),
|
|
15502
|
+
/* 899 declarations/word-space-transform */ () => seq([alt([seq([kw("none")], [0]), seq([unordered([seq([seq([kws(["space", "ideographic-space"])], [0])], [0]), seq([opt(kw("auto-phrase"))], [1])], [0, 1], true)], [0])])], [0]),
|
|
15503
|
+
/* 900 declarations/word-spacing */ () => seq([alt([seq([kw("normal")], [0]), seq([leaf("length-percentage")], [0])])], [0]),
|
|
15504
|
+
/* 901 declarations/wrap-after */ () => seq([kws(["auto", "avoid", "avoid-line", "avoid-flex", "line", "flex"])], [0]),
|
|
15505
|
+
/* 902 declarations/wrap-before */ () => seq([kws(["auto", "avoid", "avoid-line", "avoid-flex", "line", "flex"])], [0]),
|
|
15506
|
+
/* 903 declarations/wrap-flow */ () => seq([kws(["auto", "both", "start", "end", "minimum", "maximum", "clear"])], [0]),
|
|
15507
|
+
/* 904 declarations/wrap-inside */ () => seq([kws(["auto", "avoid"])], [0]),
|
|
15508
|
+
/* 905 declarations/wrap-through */ () => seq([kws(["wrap", "none"])], [0]),
|
|
15509
|
+
/* 906 declarations/writing-mode */ () => seq([alt([seq([kw("horizontal-tb")], [0]), seq([kw("vertical-rl")], [0]), seq([kw("vertical-lr")], [0]), seq([kw("sideways-rl")], [0]), seq([kw("sideways-lr")], [0]), seq([ref(1138)], [0])])], [0]),
|
|
15510
|
+
/* 907 declarations/x */ () => seq([leaf("length-percentage")], [0]),
|
|
15511
|
+
/* 908 declarations/y */ () => seq([leaf("length-percentage")], [0]),
|
|
15512
|
+
/* 909 declarations/z-index */ () => seq([alt([seq([kw("auto")], [0]), seq([leaf("integer")], [0]), seq([kw("inherit")], [0])])], [0]),
|
|
15513
|
+
/* 910 declarations/zoom */ () => seq([alt([seq([rng(leaf("number"), [0, Infinity, null, true], false)], [0]), seq([rng(leaf("percentage"), [0, Infinity, null, true], false)], [0])])], [0]),
|
|
15514
|
+
/* 911 syntaxes/-legacy-gradient */ () => seq([alt([seq([fndef("-webkit-gradient", ref(932))], [0]), seq([ref(912)], [0]), seq([ref(918)], [0]), seq([ref(914)], [0]), seq([ref(919)], [0])])], [0]),
|
|
15515
|
+
/* 912 syntaxes/-legacy-linear-gradient */ () => seq([alt([seq([fn("-moz-linear-gradient", seq([ref(913)], [0]))], [0]), seq([fn("-webkit-linear-gradient", seq([ref(913)], [0]))], [0]), seq([fn("-o-linear-gradient", seq([ref(913)], [0]))], [0])])], [0]),
|
|
15516
|
+
/* 913 syntaxes/-legacy-linear-gradient-arguments */ () => seq([optGroup(seq([seq([alt([seq([leaf("angle")], [0]), seq([ref(1521)], [0])])], [0]), comma$1], [0, 0])), ref(1234)], [0, 0]),
|
|
15517
|
+
/* 914 syntaxes/-legacy-radial-gradient */ () => seq([alt([seq([fn("-moz-radial-gradient", seq([ref(915)], [0]))], [0]), seq([fn("-webkit-radial-gradient", seq([ref(915)], [0]))], [0]), seq([fn("-o-radial-gradient", seq([ref(915)], [0]))], [0])])], [0]),
|
|
15518
|
+
/* 915 syntaxes/-legacy-radial-gradient-arguments */ () => seq([optGroup(seq([ref(1463), comma$1], [0, 0])), optGroup(seq([seq([alt([seq([seq([unordered([seq([ref(916)], [0]), seq([ref(917)], [0])], [0, 0], false)], [0])], [0]), seq([occ(seq([seq([alt([seq([leaf("length")], [0]), seq([leaf("percentage")], [0])])], [0])], [0]), 2, 2)], [0])])], [0]), comma$1], [0, 0])), ref(1234)], [0, 0, 0]),
|
|
15519
|
+
/* 916 syntaxes/-legacy-radial-gradient-shape */ () => seq([kws(["circle", "ellipse"])], [0]),
|
|
15520
|
+
/* 917 syntaxes/-legacy-radial-gradient-size */ () => seq([kws(["closest-side", "closest-corner", "farthest-side", "farthest-corner", "contain", "cover"])], [0]),
|
|
15521
|
+
/* 918 syntaxes/-legacy-repeating-linear-gradient */ () => seq([alt([seq([fn("-moz-repeating-linear-gradient", seq([ref(913)], [0]))], [0]), seq([fn("-webkit-repeating-linear-gradient", seq([ref(913)], [0]))], [0]), seq([fn("-o-repeating-linear-gradient", seq([ref(913)], [0]))], [0])])], [0]),
|
|
15522
|
+
/* 919 syntaxes/-legacy-repeating-radial-gradient */ () => seq([alt([seq([fn("-moz-repeating-radial-gradient", seq([ref(915)], [0]))], [0]), seq([fn("-webkit-repeating-radial-gradient", seq([ref(915)], [0]))], [0]), seq([fn("-o-repeating-radial-gradient", seq([ref(915)], [0]))], [0])])], [0]),
|
|
15523
|
+
/* 920 syntaxes/-ms-filter-function */ () => seq([alt([seq([ref(923)], [0]), seq([ref(921)], [0])])], [0]),
|
|
15524
|
+
/* 921 syntaxes/-ms-filter-function-legacy */ () => seq([alt([seq([leaf("ident-token")], [0]), seq([leaf("function-token"), opt(leaf("any-value")), closeParens], [0, 0, 0])])], [0]),
|
|
15525
|
+
/* 922 syntaxes/-ms-filter-function-list */ () => seq([rep(seq([ref(920)], [0]), false)], [0]),
|
|
15526
|
+
/* 923 syntaxes/-ms-filter-function-progid */ () => seq([str("progid:"), opt(rep(seq([seq([leaf("ident-token"), str(".")], [0, 0])], [0]), true)), seq([alt([seq([leaf("ident-token")], [0]), seq([leaf("function-token"), opt(leaf("any-value")), closeParens], [0, 0, 0])])], [0])], [0, 0, 0]),
|
|
15527
|
+
/* 924 syntaxes/-non-standard-color */ () => seq([kws(["-moz-buttondefault", "-moz-buttonhoverface", "-moz-buttonhovertext", "-moz-cellhighlight", "-moz-cellhighlighttext", "-moz-combobox", "-moz-comboboxtext", "-moz-dialog", "-moz-dialogtext", "-moz-dragtargetzone", "-moz-eventreerow", "-moz-field", "-moz-fieldtext", "-moz-html-cellhighlight", "-moz-html-cellhighlighttext", "-moz-mac-accentdarkestshadow", "-moz-mac-accentdarkshadow", "-moz-mac-accentface", "-moz-mac-accentlightesthighlight", "-moz-mac-accentlightshadow", "-moz-mac-accentregularhighlight", "-moz-mac-accentregularshadow", "-moz-mac-chrome-active", "-moz-mac-chrome-inactive", "-moz-mac-focusring", "-moz-mac-menuselect", "-moz-mac-menushadow", "-moz-mac-menutextselect", "-moz-menuhover", "-moz-menuhovertext", "-moz-menubartext", "-moz-menubarhovertext", "-moz-nativehyperlinktext", "-moz-oddtreerow", "-moz-win-communicationstext", "-moz-win-mediatext", "-moz-activehyperlinktext", "-moz-default-background-color", "-moz-default-color", "-moz-hyperlinktext", "-moz-visitedhyperlinktext", "-webkit-activelink", "-webkit-focus-ring-color", "-webkit-link", "-webkit-text"])], [0]),
|
|
15528
|
+
/* 925 syntaxes/-non-standard-display */ () => seq([kws(["-ms-inline-flexbox", "-ms-grid", "-ms-inline-grid", "-webkit-flex", "-webkit-inline-flex", "-webkit-box", "-webkit-inline-box", "-moz-inline-stack", "-moz-box", "-moz-inline-box", "-ms-flexbox"])], [0]),
|
|
15529
|
+
/* 926 syntaxes/-non-standard-font */ () => seq([kws(["-apple-system-body", "-apple-system-headline", "-apple-system-subheadline", "-apple-system-caption1", "-apple-system-caption2", "-apple-system-footnote", "-apple-system-short-body", "-apple-system-short-headline", "-apple-system-short-subheadline", "-apple-system-short-caption1", "-apple-system-short-footnote", "-apple-system-tall-body"])], [0]),
|
|
15530
|
+
/* 927 syntaxes/-non-standard-generic-family */ () => seq([kws(["-apple-system", "blinkmacsystemfont"])], [0]),
|
|
15531
|
+
/* 928 syntaxes/-non-standard-image-rendering */ () => seq([kws(["optimize-contrast", "-moz-crisp-edges", "-o-crisp-edges", "-webkit-optimize-contrast"])], [0]),
|
|
15532
|
+
/* 929 syntaxes/-non-standard-overflow */ () => seq([kws(["overlay", "-moz-scrollbars-none", "-moz-scrollbars-horizontal", "-moz-scrollbars-vertical", "-moz-hidden-unscrollable"])], [0]),
|
|
15533
|
+
/* 930 syntaxes/-non-standard-size */ () => seq([kws(["intrinsic", "min-intrinsic", "-webkit-fill-available", "-webkit-fit-content", "-webkit-min-content", "-webkit-max-content", "-moz-available", "-moz-fit-content", "-moz-min-content", "-moz-max-content"])], [0]),
|
|
15534
|
+
/* 931 syntaxes/-non-standard-text-align */ () => seq([alt([empty$1, seq([kw("-moz-center")], [0]), seq([kw("-webkit-center")], [0]), seq([kw("-webkit-match-parent")], [0])])], [1]),
|
|
15535
|
+
/* 932 syntaxes/-webkit-gradient() */ () => seq([fn("-webkit-gradient", seq([ref(936), comma$1, ref(934), seq([alt([seq([comma$1, ref(934)], [0, 0]), seq([comma$1, ref(935), comma$1, ref(934)], [0, 0, 0, 0])])], [0]), opt(seq([comma$1, ref(935)], [0, 0])), opt(rep(seq([seq([comma$1, ref(933)], [0, 0])], [0]), true))], [0, 0, 0, 0, 1, 1]))], [0]),
|
|
15536
|
+
/* 933 syntaxes/-webkit-gradient-color-stop */ () => seq([alt([seq([fn("from", seq([leaf("color")], [0]))], [0]), seq([fn("color-stop", seq([seq([alt([seq([ref(1056)], [0]), seq([leaf("percentage")], [0])])], [0]), comma$1, leaf("color")], [0, 0, 0]))], [0]), seq([fn("to", seq([leaf("color")], [0]))], [0])])], [0]),
|
|
15537
|
+
/* 934 syntaxes/-webkit-gradient-point */ () => seq([seq([alt([seq([kw("left")], [0]), seq([kw("center")], [0]), seq([kw("right")], [0]), seq([leaf("length-percentage")], [0])])], [0]), seq([alt([seq([kw("top")], [0]), seq([kw("center")], [0]), seq([kw("bottom")], [0]), seq([leaf("length-percentage")], [0])])], [0])], [0, 0]),
|
|
15538
|
+
/* 935 syntaxes/-webkit-gradient-radius */ () => seq([alt([seq([leaf("length")], [0]), seq([leaf("percentage")], [0])])], [0]),
|
|
15539
|
+
/* 936 syntaxes/-webkit-gradient-type */ () => seq([kws(["linear", "radial"])], [0]),
|
|
15540
|
+
/* 937 syntaxes/-webkit-mask-box-repeat */ () => seq([kws(["repeat", "stretch", "round"])], [0]),
|
|
15541
|
+
/* 938 syntaxes/abs() */ () => seq([fn("abs", seq([leaf("calc-sum")], [0]))], [0]),
|
|
15542
|
+
/* 939 syntaxes/acos() */ () => seq([fn("acos", seq([leaf("calc-sum")], [0]))], [0]),
|
|
15543
|
+
/* 940 syntaxes/age */ () => seq([kws(["child", "young", "old"])], [0]),
|
|
15544
|
+
/* 941 syntaxes/alpha() */ () => seq([fn("alpha", seq([seq([kw("from"), leaf("color")], [0, 0]), opt(seq([slash, seq([alt([seq([ref(1169)], [0]), seq([kw("none")], [0])])], [0])], [0, 0]))], [0, 1]))], [0]),
|
|
15545
|
+
/* 942 syntaxes/anchor() */ () => seq([fn("anchor", seq([unordered([seq([opt(ref(1171))], [1]), seq([ref(1172), optGroup(seq([comma$1, leaf("length-percentage")], [0, 0]))], [0, 1])], [1, 0], true)], [0]))], [0]),
|
|
15546
|
+
/* 943 syntaxes/anchor-size() */ () => seq([fn("anchor-size", seq([optGroup(seq([seq([unordered([seq([ref(1171)], [0]), seq([ref(1173)], [0])], [0, 0], false)], [0]), comma$1], [0, 0])), opt(leaf("length-percentage"))], [1, 1]))], [0]),
|
|
15547
|
+
/* 944 syntaxes/animation-action */ () => seq([kws(["none", "play", "play-once", "play-forwards", "play-backwards", "pause", "reset", "replay"])], [0]),
|
|
15548
|
+
/* 945 syntaxes/asin() */ () => seq([fn("asin", seq([leaf("calc-sum")], [0]))], [0]),
|
|
15549
|
+
/* 946 syntaxes/at-rule() */ () => interpreted,
|
|
15550
|
+
/* 947 syntaxes/atan() */ () => seq([fn("atan", seq([leaf("calc-sum")], [0]))], [0]),
|
|
15551
|
+
/* 948 syntaxes/atan2() */ () => seq([fn("atan2", seq([leaf("calc-sum"), comma$1, leaf("calc-sum")], [0, 0, 0]))], [0]),
|
|
15552
|
+
/* 949 syntaxes/attr() */ () => seq([fn("attr", seq([ref(1188), optGroup(seq([ref(1189), comma$1], [0, 0])), opt(leaf("declaration-value"))], [0, 1, 1]))], [0]),
|
|
15553
|
+
/* 950 syntaxes/attr-fallback */ () => seq([leaf("any-value")], [0]),
|
|
15554
|
+
/* 951 syntaxes/blur() */ () => seq([fn("blur", seq([opt(leaf("length"))], [1]))], [0]),
|
|
15555
|
+
/* 952 syntaxes/bottom */ () => seq([alt([seq([leaf("length")], [0]), seq([kw("auto")], [0])])], [0]),
|
|
15556
|
+
/* 953 syntaxes/brightness() */ () => seq([fn("brightness", seq([opt(seq([alt([seq([leaf("number")], [0]), seq([leaf("percentage")], [0])])], [0]))], [1]))], [0]),
|
|
15557
|
+
/* 954 syntaxes/calc() */ () => seq([fn("calc", seq([leaf("calc-sum")], [0]))], [0]),
|
|
15558
|
+
/* 955 syntaxes/calc-interpolate() */ () => seq([fn("calc-interpolate", seq([seq([unordered([seq([ref(1472)], [0]), seq([opt(seq([kw("by"), ref(1290)], [0, 0]))], [1]), seq([opt(ref(1290))], [1])], [0, 1, 1], true)], [0]), comma$1, occ(seq([ref(1354)], [0]), 1, 2), colon, leaf("calc-sum"), optGroup(seq([comma$1, list(seq([seq([optGroup(seq([ref(1290), comma$1], [0, 0])), occ(seq([ref(1354)], [0]), 1, 2), colon, leaf("calc-sum")], [0, 0, 0, 0])], [0]), 0, Infinity, 0)], [0, 0]))], [0, 0, 0, 0, 0, 1]))], [0]),
|
|
15559
|
+
/* 956 syntaxes/calc-mix() */ () => seq([fn("calc-mix", seq([list(seq([seq([leaf("calc-sum"), rng(leaf("percentage"), [0, 100, null, true], true)], [0, 1])], [0]), 0, Infinity, 0)], [0]))], [0]),
|
|
15560
|
+
/* 957 syntaxes/calc-size() */ () => seq([fn("calc-size", seq([ref(1218), comma$1, leaf("calc-sum")], [0, 0, 0]))], [0]),
|
|
15561
|
+
/* 958 syntaxes/change() */ () => seq([fn("change", empty$1)], [0]),
|
|
15562
|
+
/* 959 syntaxes/circle() */ () => seq([fn("circle", seq([opt(ref(1485)), opt(seq([kw("at"), ref(1463)], [0, 0]))], [1, 1]))], [0]),
|
|
15563
|
+
/* 960 syntaxes/clamp() */ () => seq([fn("clamp", seq([seq([alt([seq([leaf("calc-sum")], [0]), seq([kw("none")], [0])])], [0]), comma$1, leaf("calc-sum"), comma$1, seq([alt([seq([leaf("calc-sum")], [0]), seq([kw("none")], [0])])], [0])], [0, 0, 0, 0, 0]))], [0]),
|
|
15564
|
+
/* 961 syntaxes/click() */ () => seq([fn("click", empty$1)], [0]),
|
|
15565
|
+
/* 962 syntaxes/color() */ () => seq([fn("color", seq([opt(seq([kw("from"), leaf("color")], [0, 0])), ref(1236), opt(seq([slash, seq([alt([seq([ref(1169)], [0]), seq([kw("none")], [0])])], [0])], [0, 0]))], [0, 0, 1]))], [0]),
|
|
15566
|
+
/* 963 syntaxes/color-interpolate() */ () => seq([fn("color-interpolate", seq([seq([unordered([seq([ref(1472)], [0]), seq([opt(seq([kw("by"), ref(1290)], [0, 0]))], [1]), seq([opt(ref(1290))], [1]), seq([opt(ref(1229))], [1])], [0, 1, 1, 1], true)], [0]), comma$1, occ(seq([ref(1354)], [0]), 1, 2), colon, leaf("color"), optGroup(seq([comma$1, list(seq([seq([opt(seq([unordered([seq([ref(1290)], [0]), seq([ref(1229)], [0])], [0, 0], false)], [0])), comma$1, occ(seq([ref(1354)], [0]), 1, 2), colon, leaf("color")], [0, 0, 0, 0, 0])], [0]), 0, Infinity, 1)], [0, 0]))], [0, 0, 0, 0, 0, 1]))], [0]),
|
|
15567
|
+
/* 964 syntaxes/color-layers() */ () => seq([fn("color-layers", seq([opt(seq([ref(1212), comma$1], [0, 0])), list(seq([leaf("color")], [0]), 0, Infinity, 0)], [0, 0]))], [0]),
|
|
15568
|
+
/* 965 syntaxes/color-mix() */ () => seq([fn("color-mix", seq([ref(1229), comma$1, list(seq([seq([unordered([seq([leaf("color")], [0]), seq([rng(leaf("percentage"), [0, 100, null, true], true)], [1])], [0, 1], true)], [0])], [0]), 0, Infinity, 0)], [0, 0, 0]))], [0]),
|
|
15569
|
+
/* 966 syntaxes/composes-selector */ () => seq([rep(seq([leaf("ident")], [0]), false), opt(seq([kw("from"), seq([unordered([seq([kw("global")], [0]), seq([leaf("string")], [0])], [0, 0], true)], [0])], [0, 0]))], [0, 1]),
|
|
15570
|
+
/* 967 syntaxes/composite-style */ () => seq([kws(["clear", "copy", "source-over", "source-in", "source-out", "source-atop", "destination-over", "destination-in", "destination-out", "destination-atop", "xor"])], [0]),
|
|
15571
|
+
/* 968 syntaxes/conic-gradient() */ () => seq([fn("conic-gradient", seq([seq([ref(1251)], [0])], [0]))], [0]),
|
|
15572
|
+
/* 969 syntaxes/content() */ () => seq([fn("content", seq([opt(seq([kws(["text", "before", "after", "first-letter", "marker"])], [0]))], [1]))], [0]),
|
|
15573
|
+
/* 970 syntaxes/contrast() */ () => seq([fn("contrast", seq([opt(seq([alt([seq([leaf("number")], [0]), seq([leaf("percentage")], [0])])], [0]))], [1]))], [0]),
|
|
15574
|
+
/* 971 syntaxes/contrast-color() */ () => seq([fn("contrast-color", seq([seq([alt([seq([seq([unordered([seq([leaf("color")], [0]), seq([seq([kws(["tbd-fg", "tbd-bg"])], [0])], [0]), seq([opt(ref(1577))], [1])], [0, 0, 1], true)], [0])], [0]), seq([seq([unordered([seq([leaf("color")], [0]), seq([seq([kws(["tbd-fg", "tbd-bg"])], [0])], [0]), seq([ref(1577), comma$1, list(seq([leaf("color")], [0]), 0, Infinity, 0)], [0, 0, 0])], [0, 0, 0], true)], [0])], [0])])], [0])], [0]))], [0]),
|
|
15575
|
+
/* 972 syntaxes/control-value() */ () => seq([fn("control-value", seq([opt(ref(1589))], [1]))], [0]),
|
|
15576
|
+
/* 973 syntaxes/cos() */ () => seq([fn("cos", seq([leaf("calc-sum")], [0]))], [0]),
|
|
15577
|
+
/* 974 syntaxes/counter() */ () => seq([fn("counter", seq([leaf("counter-name"), optGroup(seq([comma$1, ref(1268)], [0, 0]))], [0, 1]))], [0]),
|
|
15578
|
+
/* 975 syntaxes/counters() */ () => seq([fn("counters", seq([leaf("counter-name"), comma$1, leaf("string"), optGroup(seq([comma$1, ref(1268)], [0, 0]))], [0, 0, 0, 1]))], [0]),
|
|
15579
|
+
/* 976 syntaxes/cross-fade() */ () => seq([fn("cross-fade", seq([list(seq([ref(1221)], [0]), 0, Infinity, 0)], [0]))], [0]),
|
|
15580
|
+
/* 977 syntaxes/cubic-bezier() */ () => seq([fn("cubic-bezier", seq([list(seq([seq([rng(leaf("number"), [0, 1, null, true], false), comma$1, leaf("number")], [0, 0, 0])], [0]), 2, 2, 1)], [0]))], [0]),
|
|
15581
|
+
/* 978 syntaxes/cycle() */ () => seq([fn("cycle", seq([list(seq([ref(1163)], [0]), 0, Infinity, 0)], [0]))], [0]),
|
|
15582
|
+
/* 979 syntaxes/dblclick() */ () => seq([fn("dblclick", empty$1)], [0]),
|
|
15583
|
+
/* 980 syntaxes/declaration */ () => seq([leaf("ident-token"), colon, opt(leaf("declaration-value")), opt(seq([str("!"), kw("important")], [0, 0]))], [0, 0, 1, 1]),
|
|
15584
|
+
/* 981 syntaxes/declaration-list */ () => seq([opt(rep(seq([seq([opt(ref(980)), str(";")], [0, 0])], [0]), true)), opt(ref(980))], [1, 1]),
|
|
15585
|
+
/* 982 syntaxes/device-cmyk() */ () => seq([alt([seq([ref(1366)], [0]), seq([ref(1416)], [0])])], [0]),
|
|
15586
|
+
/* 983 syntaxes/drop-shadow() */ () => seq([fn("drop-shadow", seq([seq([unordered([seq([opt(leaf("color"))], [1]), seq([occ(seq([leaf("length")], [0]), 2, 3)], [0])], [1, 0], true)], [0])], [0]))], [0]),
|
|
15587
|
+
/* 984 syntaxes/dynamic-range-limit-mix() */ () => seq([fn("dynamic-range-limit-mix", seq([list(seq([seq([unordered([seq([ref(403)], [0]), seq([rng(leaf("percentage"), [0, 100, null, true], false)], [0])], [0, 0], true)], [0])], [0]), 0, Infinity, 0)], [0]))], [0]),
|
|
15588
|
+
/* 985 syntaxes/element() */ () => seq([fn("element", seq([ref(1336)], [0]))], [0]),
|
|
15589
|
+
/* 986 syntaxes/ellipse() */ () => seq([fn("ellipse", seq([opt(ref(1485)), opt(seq([kw("at"), ref(1463)], [0, 0]))], [1, 1]))], [0]),
|
|
15590
|
+
/* 987 syntaxes/env() */ () => seq([fn("env", seq([leaf("custom-ident"), opt(rep(seq([rng(leaf("integer"), [0, Infinity, null, true], false)], [0]), true)), optGroup(seq([comma$1, leaf("declaration-value")], [0, 0]))], [0, 1, 1]))], [0]),
|
|
15591
|
+
/* 988 syntaxes/exp() */ () => seq([fn("exp", seq([leaf("calc-sum")], [0]))], [0]),
|
|
15592
|
+
/* 989 syntaxes/fade() */ () => seq([fn("fade", seq([seq([leaf("length-percentage")], [0])], [0]))], [0]),
|
|
15593
|
+
/* 990 syntaxes/family-name */ () => seq([alt([seq([leaf("string")], [0]), seq([rep(seq([leaf("custom-ident")], [0]), false)], [0])])], [0]),
|
|
15594
|
+
/* 991 syntaxes/filter() */ () => seq([fn("filter", seq([seq([alt([seq([ref(1344)], [0]), seq([leaf("string")], [0])])], [0]), comma$1, ref(1298)], [0, 0, 0]))], [0]),
|
|
15595
|
+
/* 992 syntaxes/first-valid() */ () => seq([fn("first-valid", seq([list(seq([leaf("declaration-value")], [0]), 0, Infinity, 0)], [0]))], [0]),
|
|
15596
|
+
/* 993 syntaxes/fit-content() */ () => seq([fn("fit-content", seq([leaf("length-percentage")], [0]))], [0]),
|
|
15597
|
+
/* 994 syntaxes/focusin() */ () => seq([fn("focusin", empty$1)], [0]),
|
|
15598
|
+
/* 995 syntaxes/focusout() */ () => seq([fn("focusout", empty$1)], [0]),
|
|
15599
|
+
/* 996 syntaxes/font-feature-custom-ident */ () => seq([leaf("integer")], [0]),
|
|
15600
|
+
/* 997 syntaxes/font-feature-custom-ident-character-variant */ () => seq([leaf("integer"), opt(leaf("integer"))], [0, 1]),
|
|
15601
|
+
/* 998 syntaxes/font-feature-custom-ident-list */ () => seq([rep(seq([leaf("integer")], [0]), false)], [0]),
|
|
15602
|
+
/* 999 syntaxes/font-format() */ () => seq([fn("font-format", seq([ref(1000)], [0]))], [0]),
|
|
15603
|
+
/* 1000 syntaxes/font-format-values */ () => seq([kws(["collection", "embedded-opentype", "opentype", "truetype", "svg", "woff", "woff2"])], [0]),
|
|
15604
|
+
/* 1001 syntaxes/font-src-list */ () => seq([list(seq([ref(1308)], [0]), 0, Infinity, 0)], [0]),
|
|
15605
|
+
/* 1002 syntaxes/font-tech() */ () => seq([fn("font-tech", seq([alt([seq([ref(1227)], [0]), seq([ref(1306)], [0]), seq([ref(1003)], [0])])], [0]))], [0]),
|
|
15606
|
+
/* 1003 syntaxes/font-tech-patch-values */ () => seq([kws(["incremental-patch", "incremental-range", "incremental-auto", "variations", "palettes"])], [0]),
|
|
15607
|
+
/* 1004 syntaxes/forgiving-relative-selector-list */ () => seq([ref(1496)], [0]),
|
|
15608
|
+
/* 1005 syntaxes/forgiving-selector-list */ () => seq([ref(1243)], [0]),
|
|
15609
|
+
/* 1006 syntaxes/function-name */ () => seq([leaf("dashed-ident"), openParens], [0, 0]),
|
|
15610
|
+
/* 1007 syntaxes/gender */ () => seq([kws(["male", "female", "neutral"])], [0]),
|
|
15611
|
+
/* 1008 syntaxes/generic-complete */ () => seq([kws(["serif", "sans-serif", "system-ui", "cursive", "fantasy", "math", "monospace"])], [0]),
|
|
15612
|
+
/* 1009 syntaxes/generic-family */ () => seq([alt([seq([ref(1011)], [0]), seq([ref(1008)], [0]), seq([ref(1010)], [0]), seq([ref(927)], [0])])], [0]),
|
|
15613
|
+
/* 1010 syntaxes/generic-incomplete */ () => seq([kws(["ui-serif", "ui-sans-serif", "ui-monospace", "ui-rounded"])], [0]),
|
|
15614
|
+
/* 1011 syntaxes/generic-script-specific */ () => seq([alt([seq([fn("generic", seq([kw("kai")], [0]))], [0]), seq([fn("generic", seq([kw("fangsong")], [0]))], [0]), seq([fn("generic", seq([kw("nastaliq")], [0]))], [0])])], [0]),
|
|
15615
|
+
/* 1012 syntaxes/grayscale() */ () => seq([fn("grayscale", seq([opt(seq([alt([seq([leaf("number")], [0]), seq([leaf("percentage")], [0])])], [0]))], [1]))], [0]),
|
|
15616
|
+
/* 1013 syntaxes/hdr-color() */ () => seq([fn("color-hdr", seq([list(seq([seq([unordered([seq([leaf("color")], [0]), seq([rng(leaf("number"), [0, Infinity, null, true], true)], [1])], [0, 1], true)], [0])], [0]), 2, 2, 0)], [0]))], [0]),
|
|
15617
|
+
/* 1014 syntaxes/hsl() */ () => seq([alt([seq([seq([alt([seq([ref(1367)], [0]), seq([ref(1417)], [0])])], [0])], [0]), seq([fn("hsl", seq([kw("from"), leaf("color"), seq([alt([seq([ref(1334)], [0]), seq([kw("none")], [0]), seq([kw("h")], [0]), seq([kw("s")], [0]), seq([kw("l")], [0])])], [0]), occ(seq([ref(1079)], [0]), 2, 2), opt(seq([slash, seq([alt([seq([ref(1169)], [0]), seq([kw("none")], [0])])], [0])], [0, 0]))], [0, 0, 0, 0, 1]))], [0])])], [0]),
|
|
15618
|
+
/* 1015 syntaxes/hsla() */ () => interpreted,
|
|
15619
|
+
/* 1016 syntaxes/hue-rotate() */ () => seq([fn("hue-rotate", seq([opt(seq([alt([seq([leaf("angle")], [0]), seq([leaf("zero")], [0])])], [0]))], [1]))], [0]),
|
|
15620
|
+
/* 1017 syntaxes/hwb() */ () => seq([alt([seq([fn("hwb", seq([opt(seq([kw("from"), leaf("color")], [0, 0])), seq([alt([seq([ref(1334)], [0]), seq([kw("none")], [0])])], [0]), seq([alt([seq([leaf("percentage")], [0]), seq([leaf("number")], [0]), seq([kw("none")], [0])])], [0]), seq([alt([seq([leaf("percentage")], [0]), seq([leaf("number")], [0]), seq([kw("none")], [0])])], [0]), opt(seq([slash, seq([alt([seq([ref(1169)], [0]), seq([kw("none")], [0])])], [0])], [0, 0]))], [0, 0, 0, 0, 1]))], [0]), seq([fn("hwb", seq([kw("from"), leaf("color"), seq([alt([seq([ref(1334)], [0]), seq([kw("none")], [0]), seq([kw("h")], [0]), seq([kw("w")], [0]), seq([kw("b")], [0])])], [0]), occ(seq([ref(1080)], [0]), 2, 2), opt(seq([slash, seq([alt([seq([ref(1169)], [0]), seq([kw("none")], [0])])], [0])], [0, 0]))], [0, 0, 0, 0, 1]))], [0])])], [0]),
|
|
15621
|
+
/* 1018 syntaxes/hypot() */ () => seq([fn("hypot", seq([list(seq([leaf("calc-sum")], [0]), 0, Infinity, 0)], [0]))], [0]),
|
|
15622
|
+
/* 1019 syntaxes/ictcp() */ () => seq([fn("ictcp", seq([opt(seq([kw("from"), leaf("color")], [0, 0])), seq([alt([seq([leaf("percentage")], [0]), seq([leaf("number")], [0]), seq([kw("none")], [0])])], [0]), seq([alt([seq([leaf("percentage")], [0]), seq([leaf("number")], [0]), seq([kw("none")], [0])])], [0]), seq([alt([seq([leaf("percentage")], [0]), seq([leaf("number")], [0]), seq([kw("none")], [0])])], [0]), opt(seq([slash, seq([alt([seq([ref(1169)], [0]), seq([kw("none")], [0])])], [0])], [0, 0]))], [0, 0, 0, 0, 1]))], [0]),
|
|
15623
|
+
/* 1020 syntaxes/id */ () => seq([ref(1336)], [0]),
|
|
15624
|
+
/* 1021 syntaxes/ident() */ () => seq([fn("ident", seq([rep(seq([ref(1337)], [0]), false)], [0]))], [0]),
|
|
15625
|
+
/* 1022 syntaxes/if() */ () => interpreted,
|
|
15626
|
+
/* 1023 syntaxes/image() */ () => seq([fn("image", seq([opt(ref(1348)), seq([optGroup(seq([ref(1347), comma$1], [0, 0])), opt(leaf("color"))], [1, 1])], [0, 0]))], [0]),
|
|
15627
|
+
/* 1024 syntaxes/image-set() */ () => seq([fn("image-set", seq([list(seq([ref(1346)], [0]), 0, Infinity, 0)], [0]))], [0]),
|
|
15628
|
+
/* 1025 syntaxes/inherit() */ () => seq([fn("inherit", seq([leaf("custom-property-name"), optGroup(seq([comma$1, leaf("declaration-value")], [0, 0]))], [0, 1]))], [0]),
|
|
15629
|
+
/* 1026 syntaxes/input() */ () => seq([fn("input", empty$1)], [0]),
|
|
15630
|
+
/* 1027 syntaxes/inset() */ () => seq([fn("inset", seq([occ(seq([leaf("length-percentage")], [0]), 1, 4), opt(seq([kw("round"), ref(263)], [0, 0]))], [0, 1]))], [0]),
|
|
15631
|
+
/* 1028 syntaxes/inset-area */ () => seq([seq([alt([seq([unordered([seq([seq([kws(["left", "center", "right", "span-left", "span-right", "x-start", "x-end", "span-x-start", "span-x-end", "x-self-start", "x-self-end", "span-x-self-start", "span-x-self-end", "span-all"])], [0])], [0]), seq([seq([kws(["top", "center", "bottom", "span-top", "span-bottom", "y-start", "y-end", "span-y-start", "span-y-end", "y-self-start", "y-self-end", "span-y-self-start", "span-y-self-end", "span-all"])], [0])], [0])], [0, 0], false)], [0]), seq([unordered([seq([seq([kws(["block-start", "center", "block-end", "span-block-start", "span-block-end", "span-all"])], [0])], [0]), seq([seq([kws(["inline-start", "center", "inline-end", "span-inline-start", "span-inline-end", "span-all"])], [0])], [0])], [0, 0], false)], [0]), seq([unordered([seq([seq([kws(["self-block-start", "self-block-end", "span-self-block-start", "span-self-block-end", "span-all"])], [0])], [0]), seq([seq([kws(["self-inline-start", "self-inline-end", "span-self-inline-start", "span-self-inline-end", "span-all"])], [0])], [0])], [0, 0], false)], [0]), seq([occ(seq([seq([kws(["start", "center", "end", "span-start", "span-end", "span-all"])], [0])], [0]), 1, 2)], [0]), seq([occ(seq([seq([kws(["self-start", "center", "self-end", "span-self-start", "span-self-end", "span-all"])], [0])], [0]), 1, 2)], [0])])], [0])], [0]),
|
|
15632
|
+
/* 1029 syntaxes/interpolate() */ () => seq([alt([seq([fn("interpolate", seq([seq([unordered([seq([ref(1472)], [0]), seq([opt(seq([kw("by"), ref(1290)], [0, 0]))], [1]), seq([opt(ref(1290))], [1])], [0, 1, 1], true)], [0]), comma$1, occ(seq([ref(1354)], [0]), 1, 2), colon, ref(1163), optGroup(seq([comma$1, list(seq([seq([opt(ref(1290)), comma$1, occ(seq([ref(1354)], [0]), 1, 2), colon, ref(1163)], [0, 0, 0, 0, 0])], [0]), 0, Infinity, 1)], [0, 0]))], [0, 0, 0, 0, 0, 1]))], [0]), seq([fn("interpolate", seq([unordered([seq([ref(1472)], [0]), seq([opt(seq([kw("by"), ref(1290)], [0, 0]))], [1]), seq([opt(ref(1290)), kw("of"), ref(1361)], [0, 0, 0])], [0, 1, 0], true)], [0]))], [0])])], [0]),
|
|
15633
|
+
/* 1030 syntaxes/intrinsic-size-keyword */ () => seq([kws(["min-content", "max-content", "fit-content"])], [0]),
|
|
15634
|
+
/* 1031 syntaxes/invert() */ () => seq([fn("invert", seq([opt(seq([alt([seq([leaf("number")], [0]), seq([leaf("percentage")], [0])])], [0]))], [1]))], [0]),
|
|
15635
|
+
/* 1032 syntaxes/jzazbz() */ () => seq([fn("jzazbz", seq([opt(seq([kw("from"), leaf("color")], [0, 0])), seq([alt([seq([leaf("percentage")], [0]), seq([leaf("number")], [0]), seq([kw("none")], [0])])], [0]), seq([alt([seq([leaf("percentage")], [0]), seq([leaf("number")], [0]), seq([kw("none")], [0])])], [0]), seq([alt([seq([leaf("percentage")], [0]), seq([leaf("number")], [0]), seq([kw("none")], [0])])], [0]), opt(seq([slash, seq([alt([seq([ref(1169)], [0]), seq([kw("none")], [0])])], [0])], [0, 0]))], [0, 0, 0, 0, 1]))], [0]),
|
|
15636
|
+
/* 1033 syntaxes/jzczhz() */ () => seq([fn("jzczhz", seq([opt(seq([kw("from"), leaf("color")], [0, 0])), seq([alt([seq([leaf("percentage")], [0]), seq([leaf("number")], [0]), seq([kw("none")], [0])])], [0]), seq([alt([seq([leaf("percentage")], [0]), seq([leaf("number")], [0]), seq([kw("none")], [0])])], [0]), seq([alt([seq([ref(1334)], [0]), seq([kw("none")], [0])])], [0]), opt(seq([slash, seq([alt([seq([ref(1169)], [0]), seq([kw("none")], [0])])], [0])], [0, 0]))], [0, 0, 0, 0, 1]))], [0]),
|
|
15637
|
+
/* 1034 syntaxes/keyframe-selectors */ () => seq([list(seq([ref(1360)], [0]), 0, Infinity, 0)], [0]),
|
|
15638
|
+
/* 1035 syntaxes/keypress() */ () => seq([fn("keypress", seq([opt(leaf("string"))], [1]))], [0]),
|
|
15639
|
+
/* 1036 syntaxes/lab() */ () => seq([alt([seq([fn("lab", seq([opt(seq([kw("from"), leaf("color")], [0, 0])), seq([alt([seq([leaf("percentage")], [0]), seq([leaf("number")], [0]), seq([kw("none")], [0])])], [0]), seq([alt([seq([leaf("percentage")], [0]), seq([leaf("number")], [0]), seq([kw("none")], [0])])], [0]), seq([alt([seq([leaf("percentage")], [0]), seq([leaf("number")], [0]), seq([kw("none")], [0])])], [0]), opt(seq([slash, seq([alt([seq([ref(1169)], [0]), seq([kw("none")], [0])])], [0])], [0, 0]))], [0, 0, 0, 0, 1]))], [0]), seq([fn("lab", seq([kw("from"), leaf("color"), occ(seq([ref(1081)], [0]), 3, 3), opt(seq([slash, seq([alt([seq([ref(1169)], [0]), seq([kw("none")], [0])])], [0])], [0, 0]))], [0, 0, 0, 1]))], [0])])], [0]),
|
|
15640
|
+
/* 1037 syntaxes/lch() */ () => seq([alt([seq([fn("lch", seq([opt(seq([kw("from"), leaf("color")], [0, 0])), seq([alt([seq([leaf("percentage")], [0]), seq([leaf("number")], [0]), seq([kw("none")], [0])])], [0]), seq([alt([seq([leaf("percentage")], [0]), seq([leaf("number")], [0]), seq([kw("none")], [0])])], [0]), seq([alt([seq([ref(1334)], [0]), seq([kw("none")], [0])])], [0]), opt(seq([slash, seq([alt([seq([ref(1169)], [0]), seq([kw("none")], [0])])], [0])], [0, 0]))], [0, 0, 0, 0, 1]))], [0]), seq([fn("lch", seq([kw("from"), leaf("color"), occ(seq([ref(1082)], [0]), 2, 2), seq([alt([seq([ref(1334)], [0]), seq([kw("none")], [0]), seq([kw("l")], [0]), seq([kw("c")], [0]), seq([kw("h")], [0])])], [0]), opt(seq([slash, seq([alt([seq([ref(1169)], [0]), seq([kw("none")], [0])])], [0])], [0, 0]))], [0, 0, 0, 0, 1]))], [0])])], [0]),
|
|
15641
|
+
/* 1038 syntaxes/leader() */ () => seq([fn("leader", seq([ref(1364)], [0]))], [0]),
|
|
15642
|
+
/* 1039 syntaxes/left */ () => seq([alt([seq([leaf("length")], [0]), seq([kw("auto")], [0])])], [0]),
|
|
15643
|
+
/* 1040 syntaxes/level */ () => seq([leaf("integer")], [0]),
|
|
15644
|
+
/* 1041 syntaxes/light-dark() */ () => seq([alt([seq([ref(1373)], [0]), seq([ref(1374)], [0])])], [0]),
|
|
15645
|
+
/* 1042 syntaxes/linear() */ () => seq([fn("linear", seq([list(seq([seq([unordered([seq([leaf("number")], [0]), seq([occ(seq([leaf("percentage")], [0]), 0, 2)], [1])], [0, 1], true)], [0])], [0]), 0, Infinity, 0)], [0]))], [0]),
|
|
15646
|
+
/* 1043 syntaxes/linear-gradient() */ () => seq([fn("linear-gradient", seq([seq([ref(1389)], [0])], [0]))], [0]),
|
|
15647
|
+
/* 1044 syntaxes/log() */ () => seq([fn("log", seq([leaf("calc-sum"), optGroup(seq([comma$1, leaf("calc-sum")], [0, 0]))], [0, 1]))], [0]),
|
|
15648
|
+
/* 1045 syntaxes/marker-ref */ () => seq([leaf("url")], [0]),
|
|
15649
|
+
/* 1046 syntaxes/matrix() */ () => seq([fn("matrix", seq([list(seq([leaf("number")], [0]), 6, 6, 0)], [0]))], [0]),
|
|
15650
|
+
/* 1047 syntaxes/matrix3d() */ () => seq([fn("matrix3d", seq([list(seq([leaf("number")], [0]), 16, 16, 0)], [0]))], [0]),
|
|
15651
|
+
/* 1048 syntaxes/max() */ () => seq([fn("max", seq([list(seq([leaf("calc-sum")], [0]), 0, Infinity, 0)], [0]))], [0]),
|
|
15652
|
+
/* 1049 syntaxes/media() */ () => seq([fn("media", seq([seq([alt([seq([ref(1413)], [0]), seq([ref(1407)], [0]), seq([ref(1414)], [0])])], [0])], [0]))], [0]),
|
|
15653
|
+
/* 1050 syntaxes/media-query-list */ () => seq([list(seq([ref(1405)], [0]), 0, Infinity, 0)], [0]),
|
|
15654
|
+
/* 1051 syntaxes/min() */ () => seq([fn("min", seq([list(seq([leaf("calc-sum")], [0]), 0, Infinity, 0)], [0]))], [0]),
|
|
15655
|
+
/* 1052 syntaxes/minmax() */ () => seq([fn("minmax", seq([kw("min"), comma$1, kw("max")], [0, 0, 0]))], [0]),
|
|
15656
|
+
/* 1053 syntaxes/mod() */ () => seq([fn("mod", seq([leaf("calc-sum"), comma$1, leaf("calc-sum")], [0, 0, 0]))], [0]),
|
|
15657
|
+
/* 1054 syntaxes/named-feature() */ () => seq([fn("named-feature", seq([leaf("ident")], [0]))], [0]),
|
|
15658
|
+
/* 1055 syntaxes/number-one-or-greater */ () => seq([rng(leaf("number"), [1, Infinity, null, true], false)], [0]),
|
|
15659
|
+
/* 1056 syntaxes/number-zero-one */ () => seq([rng(leaf("number"), [0, 1, null, true], false)], [0]),
|
|
15660
|
+
/* 1057 syntaxes/oklab() */ () => seq([alt([seq([fn("oklab", seq([opt(seq([kw("from"), leaf("color")], [0, 0])), seq([alt([seq([leaf("percentage")], [0]), seq([leaf("number")], [0]), seq([kw("none")], [0])])], [0]), seq([alt([seq([leaf("percentage")], [0]), seq([leaf("number")], [0]), seq([kw("none")], [0])])], [0]), seq([alt([seq([leaf("percentage")], [0]), seq([leaf("number")], [0]), seq([kw("none")], [0])])], [0]), opt(seq([slash, seq([alt([seq([ref(1169)], [0]), seq([kw("none")], [0])])], [0])], [0, 0]))], [0, 0, 0, 0, 1]))], [0]), seq([fn("oklab", seq([kw("from"), leaf("color"), occ(seq([ref(1081)], [0]), 3, 3), opt(seq([slash, seq([alt([seq([ref(1169)], [0]), seq([kw("none")], [0])])], [0])], [0, 0]))], [0, 0, 0, 1]))], [0])])], [0]),
|
|
15661
|
+
/* 1058 syntaxes/oklch() */ () => seq([alt([seq([fn("oklch", seq([opt(seq([kw("from"), leaf("color")], [0, 0])), seq([alt([seq([leaf("percentage")], [0]), seq([leaf("number")], [0]), seq([kw("none")], [0])])], [0]), seq([alt([seq([leaf("percentage")], [0]), seq([leaf("number")], [0]), seq([kw("none")], [0])])], [0]), seq([alt([seq([ref(1334)], [0]), seq([kw("none")], [0])])], [0]), opt(seq([slash, seq([alt([seq([ref(1169)], [0]), seq([kw("none")], [0])])], [0])], [0, 0]))], [0, 0, 0, 0, 1]))], [0]), seq([fn("oklch", seq([kw("from"), leaf("color"), occ(seq([ref(1082)], [0]), 2, 2), seq([alt([seq([ref(1334)], [0]), seq([kw("none")], [0]), seq([kw("l")], [0]), seq([kw("c")], [0]), seq([kw("h")], [0])])], [0]), opt(seq([slash, seq([alt([seq([ref(1169)], [0]), seq([kw("none")], [0])])], [0])], [0, 0]))], [0, 0, 0, 0, 1]))], [0])])], [0]),
|
|
15662
|
+
/* 1059 syntaxes/opacity() */ () => seq([fn("opacity", seq([opt(seq([alt([seq([leaf("number")], [0]), seq([leaf("percentage")], [0])])], [0]))], [1]))], [0]),
|
|
15663
|
+
/* 1060 syntaxes/outline-radius */ () => seq([alt([seq([leaf("length")], [0]), seq([leaf("percentage")], [0])])], [0]),
|
|
15664
|
+
/* 1061 syntaxes/paint() */ () => seq([fn("paint", seq([leaf("ident"), optGroup(seq([comma$1, leaf("declaration-value")], [0, 0]))], [0, 1]))], [0]),
|
|
15665
|
+
/* 1062 syntaxes/palette-mix() */ () => seq([fn("palette-mix", seq([optGroup(seq([ref(1229), comma$1], [0, 0])), list(seq([seq([unordered([seq([ref(443)], [0]), seq([rng(leaf("percentage"), [0, 100, null, true], true)], [1])], [0, 1], true)], [0])], [0]), 0, Infinity, 0)], [0, 0]))], [0]),
|
|
15666
|
+
/* 1063 syntaxes/param() */ () => seq([fn("param", seq([ref(1457), opt(seq([str(":"), opt(leaf("declaration-value"))], [0, 1]))], [0, 1]))], [0]),
|
|
15667
|
+
/* 1064 syntaxes/path() */ () => seq([fn("path", seq([optGroup(seq([ref(417), comma$1], [0, 0])), leaf("string")], [0, 0]))], [0]),
|
|
15668
|
+
/* 1065 syntaxes/perspective() */ () => seq([fn("perspective", seq([seq([alt([seq([rng(leaf("length"), [0, Infinity, null, true], false)], [0]), seq([kw("none")], [0])])], [0])], [0]))], [0]),
|
|
15669
|
+
/* 1066 syntaxes/pointer() */ () => seq([fn("pointer", seq([opt(seq([unordered([seq([ref(1460)], [0]), seq([ref(1459)], [0])], [0, 0], false)], [0]))], [1]))], [0]),
|
|
15670
|
+
/* 1067 syntaxes/pointerdown() */ () => seq([fn("pointerdown", empty$1)], [0]),
|
|
15671
|
+
/* 1068 syntaxes/pointerenter() */ () => seq([fn("pointerenter", empty$1)], [0]),
|
|
15672
|
+
/* 1069 syntaxes/pointerleave() */ () => seq([fn("pointerleave", empty$1)], [0]),
|
|
15673
|
+
/* 1070 syntaxes/pointerup() */ () => seq([fn("pointerup", empty$1)], [0]),
|
|
15674
|
+
/* 1071 syntaxes/polygon() */ () => seq([fn("polygon", seq([opt(ref(417)), optGroup(seq([seq([kw("round"), leaf("length")], [0, 0]), comma$1], [0, 0])), list(seq([seq([leaf("length-percentage"), leaf("length-percentage")], [0, 0])], [0]), 0, Infinity, 0)], [0, 0, 0]))], [0]),
|
|
15675
|
+
/* 1072 syntaxes/pow() */ () => seq([fn("pow", seq([leaf("calc-sum"), comma$1, leaf("calc-sum")], [0, 0, 0]))], [0]),
|
|
15676
|
+
/* 1073 syntaxes/progress() */ () => seq([fn("progress", seq([opt(kw("no-clamp")), leaf("calc-sum"), comma$1, leaf("calc-sum"), comma$1, leaf("calc-sum")], [0, 0, 0, 0, 0, 0]))], [0]),
|
|
15677
|
+
/* 1074 syntaxes/radial-gradient() */ () => seq([fn("radial-gradient", seq([seq([ref(1483)], [0])], [0]))], [0]),
|
|
15678
|
+
/* 1075 syntaxes/random() */ () => seq([fn("random", seq([optGroup(seq([ref(1488), comma$1], [0, 0])), leaf("calc-sum"), comma$1, leaf("calc-sum"), optGroup(seq([comma$1, leaf("calc-sum")], [0, 0]))], [0, 0, 0, 0, 1]))], [0]),
|
|
15679
|
+
/* 1076 syntaxes/random-item() */ () => seq([fn("random-item", seq([ref(1488), comma$1, list(seq([seq([opt(leaf("declaration-value"))], [1])], [1]), 0, Infinity, 0)], [0, 0, 1]))], [0]),
|
|
15680
|
+
/* 1077 syntaxes/ray() */ () => seq([fn("ray", seq([unordered([seq([leaf("angle")], [0]), seq([opt(ref(1491))], [1]), seq([opt(kw("contain"))], [1]), seq([opt(seq([kw("at"), ref(1463)], [0, 0]))], [1])], [0, 1, 1, 1], true)], [0]))], [0]),
|
|
15681
|
+
/* 1078 syntaxes/rect() */ () => seq([fn("rect", seq([occ(seq([seq([alt([seq([leaf("length-percentage")], [0]), seq([kw("auto")], [0])])], [0])], [0]), 4, 4), opt(seq([kw("round"), ref(263)], [0, 0]))], [0, 1]))], [0]),
|
|
15682
|
+
/* 1079 syntaxes/relative-hsl-component */ () => seq([alt([seq([leaf("number")], [0]), seq([leaf("percentage")], [0]), seq([kw("none")], [0]), seq([kw("h")], [0]), seq([kw("s")], [0]), seq([kw("l")], [0]), seq([kw("alpha")], [0])])], [0]),
|
|
15683
|
+
/* 1080 syntaxes/relative-hwb-component */ () => seq([alt([seq([leaf("number")], [0]), seq([leaf("percentage")], [0]), seq([kw("none")], [0]), seq([kw("h")], [0]), seq([kw("w")], [0]), seq([kw("b")], [0]), seq([kw("alpha")], [0])])], [0]),
|
|
15684
|
+
/* 1081 syntaxes/relative-lab-component */ () => seq([alt([seq([leaf("number")], [0]), seq([leaf("percentage")], [0]), seq([kw("none")], [0]), seq([kw("l")], [0]), seq([kw("a")], [0]), seq([kw("b")], [0]), seq([kw("alpha")], [0])])], [0]),
|
|
15685
|
+
/* 1082 syntaxes/relative-lch-component */ () => seq([alt([seq([leaf("number")], [0]), seq([leaf("percentage")], [0]), seq([kw("none")], [0]), seq([kw("l")], [0]), seq([kw("c")], [0]), seq([kw("h")], [0]), seq([kw("alpha")], [0])])], [0]),
|
|
15686
|
+
/* 1083 syntaxes/relative-rgb-component */ () => seq([alt([seq([leaf("number")], [0]), seq([leaf("percentage")], [0]), seq([kw("none")], [0]), seq([kw("r")], [0]), seq([kw("g")], [0]), seq([kw("b")], [0]), seq([kw("alpha")], [0])])], [0]),
|
|
15687
|
+
/* 1084 syntaxes/rem() */ () => seq([fn("rem", seq([leaf("calc-sum"), comma$1, leaf("calc-sum")], [0, 0, 0]))], [0]),
|
|
15688
|
+
/* 1085 syntaxes/repeating-conic-gradient() */ () => seq([fn("repeating-conic-gradient", seq([seq([ref(1251)], [0])], [0]))], [0]),
|
|
15689
|
+
/* 1086 syntaxes/repeating-linear-gradient() */ () => seq([fn("repeating-linear-gradient", seq([seq([ref(1389)], [0])], [0]))], [0]),
|
|
15690
|
+
/* 1087 syntaxes/repeating-radial-gradient() */ () => seq([fn("repeating-radial-gradient", seq([seq([ref(1483)], [0])], [0]))], [0]),
|
|
15691
|
+
/* 1088 syntaxes/rgb() */ () => seq([alt([seq([seq([alt([seq([ref(1370)], [0]), seq([ref(1419)], [0])])], [0])], [0]), seq([fn("rgb", seq([kw("from"), leaf("color"), occ(seq([ref(1083)], [0]), 3, 3), opt(seq([slash, seq([alt([seq([ref(1169)], [0]), seq([kw("none")], [0])])], [0])], [0, 0]))], [0, 0, 0, 1]))], [0])])], [0]),
|
|
15692
|
+
/* 1089 syntaxes/rgba() */ () => seq([alt([seq([seq([alt([seq([ref(1371)], [0]), seq([ref(1420)], [0])])], [0])], [0]), seq([fn("rgba", seq([kw("from"), leaf("color"), occ(seq([ref(1083)], [0]), 3, 3), opt(seq([slash, seq([alt([seq([ref(1169)], [0]), seq([kw("none")], [0])])], [0])], [0, 0]))], [0, 0, 0, 1]))], [0])])], [0]),
|
|
15693
|
+
/* 1090 syntaxes/right */ () => seq([alt([seq([leaf("length")], [0]), seq([kw("auto")], [0])])], [0]),
|
|
15694
|
+
/* 1091 syntaxes/rotate() */ () => seq([fn("rotate", seq([seq([alt([seq([leaf("angle")], [0]), seq([leaf("zero")], [0])])], [0])], [0]))], [0]),
|
|
15695
|
+
/* 1092 syntaxes/rotate3d() */ () => seq([fn("rotate3d", seq([leaf("number"), comma$1, leaf("number"), comma$1, leaf("number"), comma$1, seq([alt([seq([leaf("angle")], [0]), seq([leaf("zero")], [0])])], [0])], [0, 0, 0, 0, 0, 0, 0]))], [0]),
|
|
15696
|
+
/* 1093 syntaxes/rotateX() */ () => seq([fn("rotatex", seq([seq([alt([seq([leaf("angle")], [0]), seq([leaf("zero")], [0])])], [0])], [0]))], [0]),
|
|
15697
|
+
/* 1094 syntaxes/rotateY() */ () => seq([fn("rotatey", seq([seq([alt([seq([leaf("angle")], [0]), seq([leaf("zero")], [0])])], [0])], [0]))], [0]),
|
|
15698
|
+
/* 1095 syntaxes/rotateZ() */ () => seq([fn("rotatez", seq([seq([alt([seq([leaf("angle")], [0]), seq([leaf("zero")], [0])])], [0])], [0]))], [0]),
|
|
15699
|
+
/* 1096 syntaxes/round() */ () => seq([fn("round", seq([opt(ref(1507)), comma$1, leaf("calc-sum"), optGroup(seq([comma$1, leaf("calc-sum")], [0, 0]))], [0, 0, 0, 1]))], [0]),
|
|
15700
|
+
/* 1097 syntaxes/running() */ () => seq([fn("running", seq([leaf("custom-ident")], [0]))], [0]),
|
|
15701
|
+
/* 1098 syntaxes/saturate() */ () => seq([fn("saturate", seq([opt(seq([alt([seq([leaf("number")], [0]), seq([leaf("percentage")], [0])])], [0]))], [1]))], [0]),
|
|
15702
|
+
/* 1099 syntaxes/scale() */ () => seq([fn("scale", seq([list(seq([seq([alt([seq([leaf("number")], [0]), seq([leaf("percentage")], [0])])], [0])], [0]), 1, 2, 0)], [0]))], [0]),
|
|
15703
|
+
/* 1100 syntaxes/scale3d() */ () => seq([fn("scale3d", seq([list(seq([seq([alt([seq([leaf("number")], [0]), seq([leaf("percentage")], [0])])], [0])], [0]), 3, 3, 0)], [0]))], [0]),
|
|
15704
|
+
/* 1101 syntaxes/scaleX() */ () => seq([fn("scalex", seq([seq([alt([seq([leaf("number")], [0]), seq([leaf("percentage")], [0])])], [0])], [0]))], [0]),
|
|
15705
|
+
/* 1102 syntaxes/scaleY() */ () => seq([fn("scaley", seq([seq([alt([seq([leaf("number")], [0]), seq([leaf("percentage")], [0])])], [0])], [0]))], [0]),
|
|
15706
|
+
/* 1103 syntaxes/scaleZ() */ () => seq([fn("scalez", seq([seq([alt([seq([leaf("number")], [0]), seq([leaf("percentage")], [0])])], [0])], [0]))], [0]),
|
|
15707
|
+
/* 1104 syntaxes/scroll() */ () => seq([fn("scroll", seq([opt(seq([unordered([seq([ref(1514)], [0]), seq([ref(1201)], [0])], [0, 0], false)], [0]))], [1]))], [0]),
|
|
15708
|
+
/* 1105 syntaxes/scroll-state() */ () => seq([fn("scroll-state", seq([ref(1513)], [0]))], [0]),
|
|
15709
|
+
/* 1106 syntaxes/scroll-state-feature */ () => seq([alt([seq([ref(1108)], [0]), seq([ref(1107)], [0])])], [0]),
|
|
15710
|
+
/* 1107 syntaxes/scroll-state-feature-boolean */ () => seq([kws(["stuck", "snapped", "scrollable", "scrolled"])], [0]),
|
|
15711
|
+
/* 1108 syntaxes/scroll-state-feature-plain */ () => seq([alt([seq([ref(1112)], [0]), seq([ref(1111)], [0]), seq([ref(1109)], [0]), seq([ref(1110)], [0])])], [0]),
|
|
15712
|
+
/* 1109 syntaxes/scroll-state-feature-scrollable */ () => seq([kw("scrollable"), colon, seq([kws(["none", "top", "right", "bottom", "left", "block-start", "inline-start", "block-end", "inline-end", "x", "y", "block", "inline"])], [0])], [0, 0, 0]),
|
|
15713
|
+
/* 1110 syntaxes/scroll-state-feature-scrolled */ () => seq([kw("scrolled"), colon, seq([kws(["none", "top", "right", "bottom", "left", "block-start", "inline-start", "block-end", "inline-end", "x", "y", "block", "inline"])], [0])], [0, 0, 0]),
|
|
15714
|
+
/* 1111 syntaxes/scroll-state-feature-snapped */ () => seq([kw("snapped"), colon, seq([kws(["none", "x", "y", "block", "inline", "both"])], [0])], [0, 0, 0]),
|
|
15715
|
+
/* 1112 syntaxes/scroll-state-feature-stuck */ () => seq([kw("stuck"), colon, seq([kws(["none", "top", "right", "bottom", "left", "block-start", "inline-start", "block-end", "inline-end"])], [0])], [0, 0, 0]),
|
|
15716
|
+
/* 1113 syntaxes/selector() */ () => seq([fn("selector", seq([leaf("complex-selector")], [0]))], [0]),
|
|
15717
|
+
/* 1114 syntaxes/sepia() */ () => seq([fn("sepia", seq([opt(seq([alt([seq([leaf("number")], [0]), seq([leaf("percentage")], [0])])], [0]))], [1]))], [0]),
|
|
15718
|
+
/* 1115 syntaxes/shape() */ () => seq([fn("shape", seq([opt(ref(417)), kw("from"), ref(1463), comma$1, list(seq([ref(1520)], [0]), 0, Infinity, 0)], [0, 0, 0, 0, 0]))], [0]),
|
|
15719
|
+
/* 1116 syntaxes/sibling-count() */ () => seq([fn("sibling-count", empty$1)], [0]),
|
|
15720
|
+
/* 1117 syntaxes/sibling-index() */ () => seq([fn("sibling-index", empty$1)], [0]),
|
|
15721
|
+
/* 1118 syntaxes/sign() */ () => seq([fn("sign", seq([leaf("calc-sum")], [0]))], [0]),
|
|
15722
|
+
/* 1119 syntaxes/sin() */ () => seq([fn("sin", seq([leaf("calc-sum")], [0]))], [0]),
|
|
15723
|
+
/* 1120 syntaxes/size-feature */ () => seq([alt([seq([ref(1413)], [0]), seq([ref(1407)], [0]), seq([ref(1414)], [0])])], [0]),
|
|
15724
|
+
/* 1121 syntaxes/size-keyword */ () => seq([alt([seq([kw("auto")], [0]), seq([ref(1030)], [0]), seq([kw("stretch")], [0])])], [0]),
|
|
15725
|
+
/* 1122 syntaxes/skew() */ () => seq([fn("skew", seq([seq([alt([seq([leaf("angle")], [0]), seq([leaf("zero")], [0])])], [0]), optGroup(seq([comma$1, seq([alt([seq([leaf("angle")], [0]), seq([leaf("zero")], [0])])], [0])], [0, 0]))], [0, 1]))], [0]),
|
|
15726
|
+
/* 1123 syntaxes/skewX() */ () => seq([fn("skewx", seq([seq([alt([seq([leaf("angle")], [0]), seq([leaf("zero")], [0])])], [0])], [0]))], [0]),
|
|
15727
|
+
/* 1124 syntaxes/skewY() */ () => seq([fn("skewy", seq([seq([alt([seq([leaf("angle")], [0]), seq([leaf("zero")], [0])])], [0])], [0]))], [0]),
|
|
15728
|
+
/* 1125 syntaxes/snap-block() */ () => seq([fn("snap-block", seq([leaf("length"), optGroup(seq([comma$1, seq([kws(["start", "end", "near"])], [0])], [0, 0]))], [0, 1]))], [0]),
|
|
15729
|
+
/* 1126 syntaxes/snap-inline() */ () => seq([fn("snap-inline", seq([leaf("length"), optGroup(seq([comma$1, seq([kws(["left", "right", "near"])], [0])], [0, 0]))], [0, 1]))], [0]),
|
|
15730
|
+
/* 1127 syntaxes/sqrt() */ () => seq([fn("sqrt", seq([leaf("calc-sum")], [0]))], [0]),
|
|
15731
|
+
/* 1128 syntaxes/src() */ () => seq([fn("src", seq([leaf("string"), opt(rep(seq([ref(1157)], [0]), true))], [0, 1]))], [0]),
|
|
15732
|
+
/* 1129 syntaxes/steps() */ () => seq([fn("steps", seq([leaf("integer"), optGroup(seq([comma$1, ref(1543)], [0, 0]))], [0, 1]))], [0]),
|
|
15733
|
+
/* 1130 syntaxes/string() */ () => seq([fn("string", seq([leaf("custom-ident"), optGroup(seq([comma$1, seq([kws(["first", "start", "last", "first-except"])], [0])], [0, 0]))], [0, 1]))], [0]),
|
|
15734
|
+
/* 1131 syntaxes/stripes() */ () => seq([fn("stripes", seq([list(seq([ref(1235)], [0]), 0, Infinity, 0)], [0]))], [0]),
|
|
15735
|
+
/* 1132 syntaxes/style-condition */ () => seq([alt([seq([kw("not"), ref(1547)], [0, 0]), seq([ref(1547), seq([alt([seq([opt(rep(seq([seq([kw("and"), ref(1547)], [0, 0])], [0]), true))], [1]), seq([opt(rep(seq([seq([kw("or"), ref(1547)], [0, 0])], [0]), true))], [1])])], [1])], [0, 1])])], [0]),
|
|
15736
|
+
/* 1133 syntaxes/style-feature-name */ () => seq([alt([seq([leaf("ident")], [0]), seq([leaf("custom-property-name")], [0])])], [0]),
|
|
15737
|
+
/* 1134 syntaxes/superellipse() */ () => seq([fn("superellipse", seq([alt([seq([leaf("number")], [0]), seq([kw("infinity")], [0]), seq([kw("-infinity")], [0])])], [0]))], [0]),
|
|
15738
|
+
/* 1135 syntaxes/supports() */ () => seq([fn("supports", seq([ref(980)], [0]))], [0]),
|
|
15739
|
+
/* 1136 syntaxes/supports-condition-name */ () => seq([leaf("extension-name")], [0]),
|
|
15740
|
+
/* 1137 syntaxes/svg-length */ () => seq([alt([seq([leaf("percentage")], [0]), seq([leaf("length")], [0]), seq([leaf("number")], [0])])], [0]),
|
|
15741
|
+
/* 1138 syntaxes/svg-writing-mode */ () => seq([kws(["lr-tb", "rl-tb", "tb-rl", "lr", "rl", "tb"])], [0]),
|
|
15742
|
+
/* 1139 syntaxes/symbols() */ () => seq([fn("symbols", seq([opt(ref(1566)), rep(seq([seq([alt([seq([leaf("string")], [0]), seq([ref(1344)], [0])])], [0])], [0]), false)], [0, 0]))], [0]),
|
|
15743
|
+
/* 1140 syntaxes/tan() */ () => seq([fn("tan", seq([leaf("calc-sum")], [0]))], [0]),
|
|
15744
|
+
/* 1141 syntaxes/target-counter() */ () => seq([fn("target-counter", seq([seq([alt([seq([leaf("string")], [0]), seq([leaf("url")], [0])])], [0]), comma$1, leaf("custom-ident"), optGroup(seq([comma$1, ref(1268)], [0, 0]))], [0, 0, 0, 1]))], [0]),
|
|
15745
|
+
/* 1142 syntaxes/target-counters() */ () => seq([fn("target-counters", seq([seq([alt([seq([leaf("string")], [0]), seq([leaf("url")], [0])])], [0]), comma$1, leaf("custom-ident"), comma$1, leaf("string"), optGroup(seq([comma$1, ref(1268)], [0, 0]))], [0, 0, 0, 0, 0, 1]))], [0]),
|
|
15746
|
+
/* 1143 syntaxes/target-name */ () => seq([leaf("string")], [0]),
|
|
15747
|
+
/* 1144 syntaxes/target-text() */ () => seq([fn("target-text", seq([seq([alt([seq([leaf("string")], [0]), seq([leaf("url")], [0])])], [0]), optGroup(seq([comma$1, seq([kws(["content", "before", "after", "first-letter"])], [0])], [0, 0]))], [0, 1]))], [0]),
|
|
15748
|
+
/* 1145 syntaxes/timeline-range-center-subject */ () => seq([kws(["source", "target"])], [0]),
|
|
15749
|
+
/* 1146 syntaxes/timeline-range-name */ () => seq([kws(["cover", "contain", "entry", "exit", "entry-crossing", "exit-crossing"])], [0]),
|
|
15750
|
+
/* 1147 syntaxes/top */ () => seq([alt([seq([leaf("length")], [0]), seq([kw("auto")], [0])])], [0]),
|
|
15751
|
+
/* 1148 syntaxes/transform-interpolate() */ () => seq([fn("transform-interpolate", seq([seq([unordered([seq([ref(1472)], [0]), seq([opt(seq([kw("by"), ref(1290)], [0, 0]))], [1]), seq([opt(ref(1290))], [1])], [0, 1, 1], true)], [0]), comma$1, occ(seq([ref(1354)], [0]), 1, 2), colon, ref(1585), optGroup(seq([comma$1, list(seq([seq([opt(ref(1290)), comma$1, occ(seq([ref(1354)], [0]), 1, 2), colon, ref(1585)], [0, 0, 0, 0, 0])], [0]), 0, Infinity, 1)], [0, 0]))], [0, 0, 0, 0, 0, 1]))], [0]),
|
|
15752
|
+
/* 1149 syntaxes/transform-mix() */ () => seq([fn("transform-mix", seq([list(seq([seq([unordered([seq([ref(1585)], [0]), seq([rng(leaf("percentage"), [0, 100, null, true], false)], [0])], [0, 0], true)], [0])], [0]), 0, Infinity, 0)], [0]))], [0]),
|
|
15753
|
+
/* 1150 syntaxes/translate() */ () => seq([fn("translate", seq([leaf("length-percentage"), optGroup(seq([comma$1, leaf("length-percentage")], [0, 0]))], [0, 1]))], [0]),
|
|
15754
|
+
/* 1151 syntaxes/translate3d() */ () => seq([fn("translate3d", seq([leaf("length-percentage"), comma$1, leaf("length-percentage"), comma$1, leaf("length")], [0, 0, 0, 0, 0]))], [0]),
|
|
15755
|
+
/* 1152 syntaxes/translateX() */ () => seq([fn("translatex", seq([leaf("length-percentage")], [0]))], [0]),
|
|
15756
|
+
/* 1153 syntaxes/translateY() */ () => seq([fn("translatey", seq([leaf("length-percentage")], [0]))], [0]),
|
|
15757
|
+
/* 1154 syntaxes/translateZ() */ () => seq([fn("translatez", seq([leaf("length")], [0]))], [0]),
|
|
15758
|
+
/* 1155 syntaxes/type() */ () => seq([fn("type", seq([ref(1567)], [0]))], [0]),
|
|
15759
|
+
/* 1156 syntaxes/url() */ () => interpreted,
|
|
15760
|
+
/* 1157 syntaxes/url-modifier */ () => seq([alt([seq([leaf("ident")], [0]), seq([leaf("function-token"), leaf("any-value"), closeParens], [0, 0, 0])])], [0]),
|
|
15761
|
+
/* 1158 syntaxes/url-pattern() */ () => seq([fn("url-pattern", seq([leaf("string")], [0]))], [0]),
|
|
15762
|
+
/* 1159 syntaxes/url-set */ () => seq([fndef("image-set", ref(1024))], [0]),
|
|
15763
|
+
/* 1160 syntaxes/var() */ () => seq([fn("var", seq([leaf("custom-property-name"), optGroup(seq([comma$1, leaf("declaration-value")], [0, 0]))], [0, 1]))], [0]),
|
|
15764
|
+
/* 1161 syntaxes/view() */ () => seq([fn("view", seq([opt(seq([unordered([seq([ref(1201)], [0]), seq([ref(876)], [0])], [0, 0], false)], [0]))], [1]))], [0]),
|
|
15765
|
+
/* 1162 syntaxes/voice-family-name */ () => seq([alt([seq([leaf("string")], [0]), seq([rep(seq([leaf("custom-ident")], [0]), false)], [0])])], [0]),
|
|
15766
|
+
/* 1163 syntaxes/whole-value */ () => seq([leaf("declaration-value")], [0]),
|
|
15767
|
+
/* 1164 syntaxes/x */ () => seq([leaf("number")], [0]),
|
|
15768
|
+
/* 1165 syntaxes/xywh() */ () => seq([fn("xywh", seq([occ(seq([leaf("length-percentage")], [0]), 2, 2), occ(seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), 2, 2), opt(seq([kw("round"), ref(263)], [0, 0]))], [0, 0, 1]))], [0]),
|
|
15769
|
+
/* 1166 syntaxes/y */ () => seq([leaf("number")], [0]),
|
|
15770
|
+
/* 1167 types/a-n-plus-b */ () => seq([alt([seq([kw("odd")], [0]), seq([kw("even")], [0]), seq([leaf("integer")], [0]), seq([ref(1423)], [0]), seq([opt(str("+")), kw("n")], [0, 0]), seq([kw("-n")], [0]), seq([ref(1439)], [0]), seq([opt(str("+")), ref(1440)], [0, 0]), seq([ref(1280)], [0]), seq([ref(1423), ref(1522)], [0, 0]), seq([opt(str("+")), kw("n"), ref(1522)], [0, 0, 0]), seq([kw("-n"), ref(1522)], [0, 0]), seq([ref(1438), ref(1523)], [0, 0]), seq([opt(str("+")), kw("n-"), ref(1523)], [0, 0, 0]), seq([kw("-n-"), ref(1523)], [0, 0]), seq([ref(1423), seq([alt([seq([str("+")], [0]), seq([str("-")], [0])])], [0]), ref(1523)], [0, 0, 0]), seq([opt(str("+")), kw("n"), seq([alt([seq([str("+")], [0]), seq([str("-")], [0])])], [0]), ref(1523)], [0, 0, 0, 0]), seq([kw("-n"), seq([alt([seq([str("+")], [0]), seq([str("-")], [0])])], [0]), ref(1523)], [0, 0, 0])])], [0]),
|
|
15771
|
+
/* 1168 types/absolute-size */ () => seq([seq([kws(["xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large"])], [0])], [0]),
|
|
15772
|
+
/* 1169 types/alpha-value */ () => seq([alt([seq([leaf("number")], [0]), seq([leaf("percentage")], [0]), seq([kw("none")], [0])])], [0]),
|
|
15773
|
+
/* 1170 types/alt-text */ () => seq([rep(seq([seq([alt([seq([leaf("string")], [0]), seq([ref(1266)], [0]), seq([fndef("attr", ref(949))], [0])])], [0])], [0]), false)], [0]),
|
|
15774
|
+
/* 1171 types/anchor-name */ () => seq([leaf("dashed-ident")], [0]),
|
|
15775
|
+
/* 1172 types/anchor-side */ () => seq([alt([seq([kw("inside")], [0]), seq([kw("outside")], [0]), seq([kw("top")], [0]), seq([kw("left")], [0]), seq([kw("right")], [0]), seq([kw("bottom")], [0]), seq([kw("start")], [0]), seq([kw("end")], [0]), seq([kw("self-start")], [0]), seq([kw("self-end")], [0]), seq([leaf("percentage")], [0]), seq([kw("center")], [0])])], [0]),
|
|
15776
|
+
/* 1173 types/anchor-size */ () => seq([kws(["width", "height", "block", "inline", "self-block", "self-inline"])], [0]),
|
|
15777
|
+
/* 1174 types/anchored-in-parens */ () => interpreted,
|
|
15778
|
+
/* 1175 types/anchored-query */ () => interpreted,
|
|
15779
|
+
/* 1176 types/angle-percentage */ () => seq([seq([alt([seq([leaf("angle")], [0]), seq([leaf("percentage")], [0])])], [0])], [0]),
|
|
15780
|
+
/* 1177 types/angular-color-hint */ () => seq([alt([seq([leaf("angle-percentage")], [0]), seq([leaf("zero")], [0])])], [0]),
|
|
15781
|
+
/* 1178 types/angular-color-stop */ () => seq([leaf("color"), opt(ref(1232))], [0, 1]),
|
|
15782
|
+
/* 1179 types/angular-color-stop-list */ () => seq([ref(1178), optGroup(seq([comma$1, list(seq([seq([optGroup(seq([ref(1177), comma$1], [0, 0])), ref(1178)], [0, 0])], [0]), 0, Infinity, 0)], [0, 0]))], [0, 1]),
|
|
15783
|
+
/* 1180 types/animateable-feature */ () => seq([alt([seq([kw("scroll-position")], [0]), seq([kw("contents")], [0]), seq([leaf("custom-ident")], [0])])], [0]),
|
|
15784
|
+
/* 1181 types/arc-command */ () => seq([kw("arc"), ref(1238), seq([unordered([seq([seq([kw("of"), occ(seq([leaf("length-percentage")], [0]), 1, 2)], [0, 0])], [0]), seq([opt(ref(1183))], [1]), seq([opt(ref(1182))], [1]), seq([opt(seq([kw("rotate"), leaf("angle")], [0, 0]))], [1])], [0, 1, 1, 1], true)], [0])], [0, 0, 0]),
|
|
15785
|
+
/* 1182 types/arc-size */ () => seq([kws(["large", "small"])], [0]),
|
|
15786
|
+
/* 1183 types/arc-sweep */ () => seq([kws(["cw", "ccw"])], [0]),
|
|
15787
|
+
/* 1184 types/attachment */ () => seq([kws(["scroll", "fixed", "local"])], [0]),
|
|
15788
|
+
/* 1185 types/attr-args */ () => seq([fn("attr", seq([leaf("declaration-value"), optGroup(seq([comma$1, leaf("declaration-value")], [0, 0]))], [0, 1]))], [0]),
|
|
15789
|
+
/* 1186 types/attr-matcher */ () => seq([opt(seq([alt([seq([str("~")], [0]), seq([str("|")], [0]), seq([str("^")], [0]), seq([str("$")], [0]), seq([str("*")], [0])])], [0])), str("=")], [0, 0]),
|
|
15790
|
+
/* 1187 types/attr-modifier */ () => seq([kws(["i", "s"])], [0]),
|
|
15791
|
+
/* 1188 types/attr-name */ () => seq([opt(seq([opt(leaf("ident-token")), str("|")], [0, 0])), leaf("ident-token")], [0, 0]),
|
|
15792
|
+
/* 1189 types/attr-type */ () => seq([alt([seq([fn("type", seq([ref(1567)], [0]))], [0]), seq([kw("raw-string")], [0]), seq([kw("number")], [0]), seq([ref(1190)], [0])])], [0]),
|
|
15793
|
+
/* 1190 types/attr-unit */ () => seq([leaf("custom-ident")], [0]),
|
|
15794
|
+
/* 1191 types/attribute-selector */ () => interpreted,
|
|
15795
|
+
/* 1192 types/auto-line-color-list */ () => seq([optList(seq([ref(1376), comma$1], [0, 0])), ref(1196), optGroup(seq([comma$1, list(seq([ref(1376)], [0]), 0, Infinity, 0)], [0, 0]))], [0, 0, 1]),
|
|
15796
|
+
/* 1193 types/auto-line-style-list */ () => seq([optList(seq([ref(1382), comma$1], [0, 0])), ref(1197), optGroup(seq([comma$1, list(seq([ref(1382)], [0]), 0, Infinity, 0)], [0, 0]))], [0, 0, 1]),
|
|
15797
|
+
/* 1194 types/auto-line-width-list */ () => seq([optList(seq([ref(1385), comma$1], [0, 0])), ref(1198), optGroup(seq([comma$1, list(seq([ref(1385)], [0]), 0, Infinity, 0)], [0, 0]))], [0, 0, 1]),
|
|
15798
|
+
/* 1195 types/auto-repeat */ () => seq([fn("repeat", seq([seq([kws(["auto-fill", "auto-fit"])], [0]), comma$1, rep(seq([seq([opt(ref(1379)), ref(1583)], [0, 0])], [0]), false), opt(ref(1379))], [0, 0, 0, 1]))], [0]),
|
|
15799
|
+
/* 1196 types/auto-repeat-line-color */ () => seq([fn("repeat", seq([kw("auto"), comma$1, list(seq([seq([leaf("color")], [0])], [0]), 0, Infinity, 0)], [0, 0, 0]))], [0]),
|
|
15800
|
+
/* 1197 types/auto-repeat-line-style */ () => seq([fn("repeat", seq([kw("auto"), comma$1, list(seq([seq([ref(1380)], [0])], [0]), 0, Infinity, 0)], [0, 0, 0]))], [0]),
|
|
15801
|
+
/* 1198 types/auto-repeat-line-width */ () => seq([fn("repeat", seq([kw("auto"), comma$1, list(seq([seq([ref(1383)], [0])], [0]), 0, Infinity, 0)], [0, 0, 0]))], [0]),
|
|
15802
|
+
/* 1199 types/auto-track-list */ () => seq([opt(rep(seq([seq([opt(ref(1379)), seq([alt([seq([ref(1302)], [0]), seq([ref(1301)], [0])])], [0])], [0, 0])], [0]), true)), opt(ref(1379)), ref(1195), opt(rep(seq([seq([opt(ref(1379)), seq([alt([seq([ref(1302)], [0]), seq([ref(1301)], [0])])], [0])], [0, 0])], [0]), true)), opt(ref(1379))], [0, 0, 0, 1, 1]),
|
|
15803
|
+
/* 1200 types/autospace */ () => seq([alt([seq([kw("no-autospace")], [0]), seq([unordered([seq([seq([unordered([seq([kw("ideograph-alpha")], [0]), seq([kw("ideograph-numeric")], [0]), seq([kw("punctuation")], [0])], [0, 0, 0], false)], [0])], [0]), seq([seq([kws(["insert", "replace"])], [0])], [0])], [0, 0], false)], [0])])], [0]),
|
|
15804
|
+
/* 1201 types/axis */ () => seq([kws(["block", "inline", "x", "y"])], [0]),
|
|
15805
|
+
/* 1202 types/base-descriptor */ () => seq([alt([seq([kw("base-url"), colon, kw("stylesheet")], [0, 0, 0]), seq([kw("document")], [0]), seq([leaf("url")], [0])])], [0]),
|
|
15806
|
+
/* 1203 types/baseline-metric */ () => seq([kws(["text-bottom", "alphabetic", "ideographic", "middle", "central", "mathematical", "hanging", "text-top"])], [0]),
|
|
15807
|
+
/* 1204 types/baseline-position */ () => seq([unordered([seq([opt(seq([kws(["first", "last"])], [0]))], [1]), seq([kw("baseline")], [0])], [1, 0], true)], [0]),
|
|
15808
|
+
/* 1205 types/basic-shape */ () => seq([alt([seq([ref(1206)], [0]), seq([fndef("circle", ref(959))], [0]), seq([fndef("ellipse", ref(986))], [0]), seq([fndef("polygon", ref(1071))], [0]), seq([fndef("path", ref(1064))], [0]), seq([fndef("shape", ref(1115))], [0])])], [0]),
|
|
15809
|
+
/* 1206 types/basic-shape-rect */ () => seq([alt([seq([fndef("inset", ref(1027))], [0]), seq([fndef("rect", ref(1078))], [0]), seq([fndef("xywh", ref(1165))], [0])])], [0]),
|
|
15810
|
+
/* 1207 types/bg-clip */ () => seq([alt([seq([ref(1595)], [0]), seq([seq([unordered([seq([kw("border-area")], [0]), seq([kw("text")], [0])], [0, 0], false)], [0])], [0])])], [0]),
|
|
15811
|
+
/* 1208 types/bg-image */ () => seq([alt([seq([ref(1344)], [0]), seq([kw("none")], [0])])], [0]),
|
|
15812
|
+
/* 1209 types/bg-layer */ () => seq([unordered([seq([ref(1208)], [0]), seq([ref(1210), opt(seq([slash, ref(1211)], [0, 0]))], [0, 1]), seq([ref(1503)], [0]), seq([ref(1184)], [0]), seq([ref(1595)], [0]), seq([ref(1207)], [0])], [0, 0, 0, 0, 0, 0], false)], [0]),
|
|
15813
|
+
/* 1210 types/bg-position */ () => seq([alt([seq([ref(1463)], [0]), seq([ref(1468)], [0])])], [0]),
|
|
15814
|
+
/* 1211 types/bg-size */ () => seq([alt([seq([occ(seq([seq([alt([seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), seq([kw("auto")], [0])])], [0])], [0]), 1, 2)], [0]), seq([kw("cover")], [0]), seq([kw("contain")], [0])])], [0]),
|
|
15815
|
+
/* 1212 types/blend-mode */ () => seq([kws(["normal", "darken", "multiply", "color-burn", "lighten", "screen", "color-dodge", "overlay", "soft-light", "hard-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"])], [0]),
|
|
15816
|
+
/* 1213 types/boolean-expr */ () => interpreted,
|
|
15817
|
+
/* 1214 types/border-radius */ () => seq([alt([seq([ref(1535)], [0]), seq([ref(1365)], [0])])], [0]),
|
|
15818
|
+
/* 1215 types/box-size */ () => seq([alt([seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), seq([kw("stretch")], [0]), seq([kw("contain")], [0]), seq([kw("min-content")], [0]), seq([kw("max-content")], [0]), seq([kw("fit-content")], [0]), seq([fn("stretch", seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]))], [0]), seq([fn("fit-content", seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]))], [0]), seq([fndef("calc-size", ref(957))], [0])])], [0]),
|
|
15819
|
+
/* 1216 types/calc-keyword */ () => seq([kws(["e", "pi", "infinity", "-infinity", "nan"])], [0]),
|
|
15820
|
+
/* 1217 types/calc-product */ () => seq([ref(1220), opt(rep(seq([seq([seq([alt([seq([str("*")], [0]), seq([slash], [0])])], [0]), ref(1220)], [0, 0])], [0]), true))], [0, 1]),
|
|
15821
|
+
/* 1218 types/calc-size-basis */ () => seq([seq([alt([seq([ref(1121)], [0]), seq([leaf("calc-sum")], [0]), seq([fndef("calc-size", ref(957))], [0]), seq([kw("any")], [0])])], [0])], [0]),
|
|
15822
|
+
/* 1219 types/calc-sum */ () => seq([leaf("calc-product"), opt(rep(seq([seq([seq([alt([seq([str("+")], [0]), seq([str("-")], [0])])], [0]), leaf("calc-product")], [0, 0])], [0]), true))], [0, 1]),
|
|
15823
|
+
/* 1220 types/calc-value */ () => seq([alt([seq([leaf("number")], [0]), seq([leaf("dimension")], [0]), seq([leaf("percentage")], [0]), seq([ref(1216)], [0]), seq([openParens, leaf("calc-sum"), closeParens], [0, 0, 0])])], [0]),
|
|
15824
|
+
/* 1221 types/cf-image */ () => seq([unordered([seq([seq([alt([seq([ref(1344)], [0]), seq([leaf("color")], [0])])], [0])], [0]), seq([rng(leaf("percentage"), [0, 100, null, true], true)], [1])], [0, 1], true)], [0]),
|
|
15825
|
+
/* 1222 types/class-selector */ () => seq([str("."), leaf("ident-token"), opt(str("*"))], [0, 0, 1]),
|
|
15826
|
+
/* 1223 types/clip-source */ () => seq([leaf("url")], [0]),
|
|
15827
|
+
/* 1224 types/cmyk-component */ () => seq([alt([seq([leaf("number")], [0]), seq([leaf("percentage")], [0]), seq([kw("none")], [0])])], [0]),
|
|
15828
|
+
/* 1225 types/color */ () => seq([alt([seq([ref(1226)], [0]), seq([kw("currentcolor")], [0]), seq([ref(1574)], [0]), seq([fndef("contrast-color", ref(971))], [0]), seq([fndef("device-cmyk", ref(982))], [0]), seq([ref(1373)], [0])])], [0]),
|
|
15829
|
+
/* 1226 types/color-base */ () => interpreted,
|
|
15830
|
+
/* 1227 types/color-font-tech */ () => seq([kws(["color-colrv0", "color-colrv1", "color-svg", "color-sbix", "color-cbdt"])], [0]),
|
|
15831
|
+
/* 1228 types/color-function */ () => seq([alt([seq([fndef("rgb", ref(1088))], [0]), seq([fndef("rgba", ref(1089))], [0]), seq([fndef("hsl", ref(1014))], [0]), seq([fndef("hsla", ref(1015))], [0]), seq([fndef("hwb", ref(1017))], [0]), seq([fndef("lab", ref(1036))], [0]), seq([fndef("lch", ref(1037))], [0]), seq([fndef("oklab", ref(1057))], [0]), seq([fndef("oklch", ref(1058))], [0]), seq([fndef("ictcp", ref(1019))], [0]), seq([fndef("jzazbz", ref(1032))], [0]), seq([fndef("jzczhz", ref(1033))], [0]), seq([fndef("alpha", ref(941))], [0]), seq([fndef("color", ref(962))], [0]), seq([fndef("hdr-color", ref(1013))], [0])])], [0]),
|
|
15832
|
+
/* 1229 types/color-interpolation-method */ () => seq([kw("in"), seq([alt([seq([ref(1492)], [0]), seq([ref(1462), opt(ref(1335))], [0, 1]), seq([ref(1277)], [0])])], [0])], [0, 0]),
|
|
15833
|
+
/* 1230 types/color-space */ () => seq([alt([seq([ref(1492)], [0]), seq([ref(1462)], [0]), seq([ref(1277)], [0])])], [0]),
|
|
15834
|
+
/* 1231 types/color-stop */ () => seq([alt([seq([ref(1233)], [0]), seq([ref(1232)], [0])])], [0]),
|
|
15835
|
+
/* 1232 types/color-stop-angle */ () => seq([occ(seq([seq([alt([seq([leaf("angle-percentage")], [0]), seq([leaf("zero")], [0])])], [0])], [0]), 1, 2)], [0]),
|
|
15836
|
+
/* 1233 types/color-stop-length */ () => seq([occ(seq([leaf("length-percentage")], [0]), 1, 2)], [0]),
|
|
15837
|
+
/* 1234 types/color-stop-list */ () => seq([ref(1387), optGroup(seq([comma$1, list(seq([seq([optGroup(seq([ref(1386), comma$1], [0, 0])), ref(1387)], [0, 0])], [0]), 0, Infinity, 0)], [0, 0]))], [0, 1]),
|
|
15838
|
+
/* 1235 types/color-stripe */ () => seq([unordered([seq([leaf("color")], [0]), seq([opt(seq([alt([seq([leaf("length-percentage")], [0]), seq([leaf("flex")], [0])])], [0]))], [1])], [0, 1], true)], [0]),
|
|
15839
|
+
/* 1236 types/colorspace-params */ () => seq([seq([alt([seq([ref(1278)], [0]), seq([ref(1471)], [0]), seq([ref(1598)], [0])])], [0])], [0]),
|
|
15840
|
+
/* 1237 types/combinator */ () => seq([alt([seq([str(">")], [0]), seq([str("+")], [0]), seq([str("~")], [0]), seq([seq([str("|"), str("|")], [0, 0])], [0]), seq([seq([slash, leaf("wq-name"), slash], [0, 0, 0])], [0])])], [0]),
|
|
15841
|
+
/* 1238 types/command-end-point */ () => seq([seq([alt([seq([kw("to"), ref(1463)], [0, 0]), seq([kw("by"), ref(1264)], [0, 0])])], [0])], [0]),
|
|
15842
|
+
/* 1239 types/common-lig-values */ () => seq([seq([kws(["common-ligatures", "no-common-ligatures"])], [0])], [0]),
|
|
15843
|
+
/* 1240 types/compat-auto */ () => seq([kws(["searchfield", "textarea", "checkbox", "radio", "menulist", "listbox", "meter", "progress-bar", "button"])], [0]),
|
|
15844
|
+
/* 1241 types/compat-special */ () => seq([kws(["textfield", "menulist-button"])], [0]),
|
|
15845
|
+
/* 1242 types/complex-real-selector */ () => seq([leaf("compound-selector"), opt(rep(seq([seq([opt(ref(1237)), leaf("compound-selector")], [0, 0])], [0]), true))], [0, 1]),
|
|
15846
|
+
/* 1243 types/complex-real-selector-list */ () => seq([list(seq([ref(1242)], [0]), 0, Infinity, 0)], [0]),
|
|
15847
|
+
/* 1244 types/complex-selector */ () => seq([leaf("complex-selector-unit"), opt(rep(seq([seq([opt(ref(1237)), leaf("complex-selector-unit")], [0, 0])], [0]), true))], [0, 1]),
|
|
15848
|
+
/* 1245 types/complex-selector-list */ () => seq([list(seq([leaf("complex-selector")], [0]), 0, Infinity, 0)], [0]),
|
|
15849
|
+
/* 1246 types/complex-selector-unit */ () => seq([seq([opt(leaf("compound-selector")), opt(rep(seq([leaf("pseudo-compound-selector")], [0]), true))], [1, 1])], [0]),
|
|
15850
|
+
/* 1247 types/composite-mode */ () => seq([kws(["clear", "copy", "source-over", "destination-over", "source-in", "destination-in", "source-out", "destination-out", "source-atop", "destination-atop", "xor", "lighter", "plus-darker", "plus-lighter"])], [0]),
|
|
15851
|
+
/* 1248 types/compositing-operator */ () => seq([kws(["add", "subtract", "intersect", "exclude"])], [0]),
|
|
15852
|
+
/* 1249 types/compound-selector */ () => seq([seq([opt(leaf("type-selector")), opt(rep(seq([leaf("subclass-selector")], [0]), true))], [1, 1])], [0]),
|
|
15853
|
+
/* 1250 types/compound-selector-list */ () => seq([list(seq([leaf("compound-selector")], [0]), 0, Infinity, 0)], [0]),
|
|
15854
|
+
/* 1251 types/conic-gradient-syntax */ () => seq([optGroup(seq([seq([unordered([seq([seq([opt(seq([kw("from"), seq([alt([seq([leaf("angle")], [0]), seq([leaf("zero")], [0])])], [0])], [0, 0])), opt(seq([kw("at"), ref(1463)], [0, 0]))], [1, 1])], [1]), seq([ref(1229)], [0])], [1, 0], false)], [0]), comma$1], [0, 0])), ref(1179)], [0, 0]),
|
|
15855
|
+
/* 1252 types/container-condition */ () => seq([seq([opt(ref(1253)), opt(ref(1254))], [1, 1])], [0]),
|
|
15856
|
+
/* 1253 types/container-name */ () => seq([leaf("custom-ident")], [0]),
|
|
15857
|
+
/* 1254 types/container-query */ () => seq([alt([seq([kw("not"), ref(1480)], [0, 0]), seq([ref(1480), seq([alt([seq([opt(rep(seq([seq([kw("and"), ref(1480)], [0, 0])], [0]), true))], [1]), seq([opt(rep(seq([seq([kw("or"), ref(1480)], [0, 0])], [0]), true))], [1])])], [1])], [0, 1])])], [0]),
|
|
15858
|
+
/* 1255 types/container-query-list */ () => seq([list(seq([ref(1252)], [0]), 0, Infinity, 0)], [0]),
|
|
15859
|
+
/* 1256 types/content-distribution */ () => seq([kws(["space-between", "space-around", "space-evenly", "stretch"])], [0]),
|
|
15860
|
+
/* 1257 types/content-level */ () => seq([alt([seq([kw("element")], [0]), seq([kw("content")], [0]), seq([kw("text")], [0]), seq([fndef("attr", ref(949))], [0]), seq([ref(1266)], [0])])], [0]),
|
|
15861
|
+
/* 1258 types/content-list */ () => seq([rep(seq([seq([alt([seq([leaf("string")], [0]), seq([ref(1344)], [0]), seq([fndef("attr", ref(949))], [0]), seq([kw("contents")], [0]), seq([leaf("quote")], [0]), seq([fndef("leader", ref(1038))], [0]), seq([ref(1576)], [0]), seq([fndef("string", ref(1130))], [0]), seq([fndef("content", ref(969))], [0]), seq([ref(1266)], [0]), seq([ref(1565)], [0])])], [0])], [0]), false)], [0]),
|
|
15862
|
+
/* 1259 types/content-position */ () => seq([kws(["center", "start", "end", "flow-start", "flow-end", "flex-start", "flex-end"])], [0]),
|
|
15863
|
+
/* 1260 types/content-replacement */ () => seq([ref(1344)], [0]),
|
|
15864
|
+
/* 1261 types/contextual-alt-values */ () => seq([seq([kws(["contextual", "no-contextual"])], [0])], [0]),
|
|
15865
|
+
/* 1262 types/control-point */ () => seq([seq([alt([seq([ref(1463)], [0]), seq([ref(1494)], [0])])], [0])], [0]),
|
|
15866
|
+
/* 1263 types/coord-box */ () => seq([alt([seq([ref(1455)], [0]), seq([kw("view-box")], [0])])], [0]),
|
|
15867
|
+
/* 1264 types/coordinate-pair */ () => seq([occ(seq([leaf("length-percentage")], [0]), 2, 2)], [0]),
|
|
15868
|
+
/* 1265 types/corner-shape-value */ () => seq([alt([seq([kw("round")], [0]), seq([kw("scoop")], [0]), seq([kw("bevel")], [0]), seq([kw("notch")], [0]), seq([kw("square")], [0]), seq([kw("squircle")], [0]), seq([fndef("superellipse", ref(1134))], [0])])], [0]),
|
|
15869
|
+
/* 1266 types/counter */ () => seq([alt([seq([fndef("counter", ref(974))], [0]), seq([fndef("counters", ref(975))], [0])])], [0]),
|
|
15870
|
+
/* 1267 types/counter-name */ () => seq([leaf("custom-ident")], [0]),
|
|
15871
|
+
/* 1268 types/counter-style */ () => seq([alt([seq([leaf("counter-style-name")], [0]), seq([fndef("symbols", ref(1139))], [0])])], [0]),
|
|
15872
|
+
/* 1269 types/counter-style-name */ () => seq([leaf("custom-ident")], [0]),
|
|
15873
|
+
/* 1270 types/cross-origin-modifier */ () => seq([fn("cross-origin", seq([kws(["anonymous", "use-credentials"])], [0]))], [0]),
|
|
15874
|
+
/* 1271 types/css-type */ () => seq([alt([seq([ref(1569)], [0]), seq([fndef("type", ref(1155))], [0])])], [0]),
|
|
15875
|
+
/* 1272 types/cubic-bezier-easing-function */ () => seq([alt([seq([kw("ease")], [0]), seq([kw("ease-in")], [0]), seq([kw("ease-out")], [0]), seq([kw("ease-in-out")], [0]), seq([fndef("cubic-bezier", ref(977))], [0])])], [0]),
|
|
15876
|
+
/* 1273 types/cursor-image */ () => seq([seq([alt([seq([leaf("url")], [0]), seq([ref(1159)], [0])])], [0]), opt(occ(seq([opt(leaf("number"))], [1]), 2, 2))], [0, 1]),
|
|
15877
|
+
/* 1274 types/cursor-predefined */ () => seq([kws(["auto", "default", "none", "context-menu", "help", "pointer", "progress", "wait", "cell", "crosshair", "text", "vertical-text", "alias", "copy", "move", "no-drop", "not-allowed", "grab", "grabbing", "e-resize", "n-resize", "ne-resize", "nw-resize", "s-resize", "se-resize", "sw-resize", "w-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "col-resize", "row-resize", "all-scroll", "zoom-in", "zoom-out", "hand", "-webkit-grab", "-webkit-grabbing", "-webkit-zoom-in", "-webkit-zoom-out", "-moz-grab", "-moz-grabbing", "-moz-zoom-in", "-moz-zoom-out"])], [0]),
|
|
15878
|
+
/* 1275 types/curve-command */ () => seq([kw("curve"), seq([alt([seq([seq([kw("to"), ref(1463), kw("with"), ref(1262), opt(seq([slash, ref(1262)], [0, 0]))], [0, 0, 0, 0, 1])], [0]), seq([seq([kw("by"), ref(1264), kw("with"), ref(1494), opt(seq([slash, ref(1494)], [0, 0]))], [0, 0, 0, 0, 1])], [0])])], [0])], [0, 0]),
|
|
15879
|
+
/* 1276 types/custom-arg */ () => seq([str("$"), leaf("ident-token")], [0, 0]),
|
|
15880
|
+
/* 1277 types/custom-color-space */ () => seq([leaf("dashed-ident")], [0]),
|
|
15881
|
+
/* 1278 types/custom-params */ () => seq([leaf("dashed-ident"), rep(seq([seq([alt([seq([leaf("number")], [0]), seq([leaf("percentage")], [0]), seq([kw("none")], [0])])], [0])], [0]), false)], [0, 0]),
|
|
15882
|
+
/* 1279 types/custom-selector */ () => seq([opt(ref(1276)), colon, leaf("extension-name"), opt(seq([openParens, opt(rep(seq([list(seq([ref(1276)], [0]), 0, Infinity, 0)], [0]), false)), closeParens], [0, 0, 0]))], [0, 0, 0, 1]),
|
|
15883
|
+
/* 1280 types/dashndashdigit-ident */ () => seq([leaf("ident-token")], [0]),
|
|
15884
|
+
/* 1281 types/default-value */ () => seq([opt(leaf("declaration-value"))], [1]),
|
|
15885
|
+
/* 1282 types/deprecated-color */ () => seq([kws(["activeborder", "activecaption", "appworkspace", "background", "buttonhighlight", "buttonshadow", "captiontext", "inactiveborder", "inactivecaption", "inactivecaptiontext", "infobackground", "infotext", "menu", "menutext", "scrollbar", "threeddarkshadow", "threedface", "threedhighlight", "threedlightshadow", "threedshadow", "window", "windowframe", "windowtext"])], [0]),
|
|
15886
|
+
/* 1283 types/discretionary-lig-values */ () => seq([seq([kws(["discretionary-ligatures", "no-discretionary-ligatures"])], [0])], [0]),
|
|
15887
|
+
/* 1284 types/display-box */ () => seq([kws(["contents", "none"])], [0]),
|
|
15888
|
+
/* 1285 types/display-inside */ () => seq([kws(["flow", "flow-root", "table", "flex", "grid", "ruby"])], [0]),
|
|
15889
|
+
/* 1286 types/display-internal */ () => seq([kws(["table-row-group", "table-header-group", "table-footer-group", "table-row", "table-cell", "table-column-group", "table-column", "table-caption", "ruby-base", "ruby-text", "ruby-base-container", "ruby-text-container"])], [0]),
|
|
15890
|
+
/* 1287 types/display-legacy */ () => seq([kws(["inline-block", "inline-table", "inline-flex", "inline-grid"])], [0]),
|
|
15891
|
+
/* 1288 types/display-listitem */ () => seq([unordered([seq([opt(leaf("display-outside"))], [1]), seq([opt(seq([kws(["flow", "flow-root"])], [0]))], [1]), seq([kw("list-item")], [0])], [1, 1, 0], true)], [0]),
|
|
15892
|
+
/* 1289 types/display-outside */ () => seq([kws(["block", "inline", "run-in"])], [0]),
|
|
15893
|
+
/* 1290 types/easing-function */ () => seq([alt([seq([ref(1388)], [0]), seq([ref(1272)], [0]), seq([ref(1542)], [0])])], [0]),
|
|
15894
|
+
/* 1291 types/east-asian-variant-values */ () => seq([seq([kws(["jis78", "jis83", "jis90", "jis04", "simplified", "traditional"])], [0])], [0]),
|
|
15895
|
+
/* 1292 types/east-asian-width-values */ () => seq([seq([kws(["full-width", "proportional-width"])], [0])], [0]),
|
|
15896
|
+
/* 1293 types/env-args */ () => seq([fn("env", seq([leaf("declaration-value"), optGroup(seq([comma$1, leaf("declaration-value")], [0, 0]))], [0, 1]))], [0]),
|
|
15897
|
+
/* 1294 types/event-function */ () => seq([alt([seq([fndef("click", ref(961))], [0]), seq([fndef("dblclick", ref(979))], [0]), seq([fndef("pointerenter", ref(1068))], [0]), seq([fndef("pointerleave", ref(1069))], [0]), seq([fndef("pointerup", ref(1070))], [0]), seq([fndef("pointerdown", ref(1067))], [0]), seq([fndef("keypress", ref(1035))], [0]), seq([fndef("focusin", ref(994))], [0]), seq([fndef("focusout", ref(995))], [0]), seq([fndef("input", ref(1026))], [0]), seq([fndef("change", ref(958))], [0])])], [0]),
|
|
15898
|
+
/* 1295 types/explicit-track-list */ () => seq([rep(seq([seq([opt(ref(1379)), ref(1583)], [0, 0])], [0]), false), opt(ref(1379))], [0, 1]),
|
|
15899
|
+
/* 1296 types/feature-tag-value */ () => seq([ref(1448), opt(seq([alt([seq([rng(leaf("integer"), [0, Infinity, null, true], false)], [0]), seq([kw("on")], [0]), seq([kw("off")], [0])])], [0]))], [0, 1]),
|
|
15900
|
+
/* 1297 types/filter-function */ () => seq([alt([seq([fndef("blur", ref(951))], [0]), seq([fndef("brightness", ref(953))], [0]), seq([fndef("contrast", ref(970))], [0]), seq([fndef("drop-shadow", ref(983))], [0]), seq([fndef("grayscale", ref(1012))], [0]), seq([fndef("hue-rotate", ref(1016))], [0]), seq([fndef("invert", ref(1031))], [0]), seq([fndef("opacity", ref(1059))], [0]), seq([fndef("sepia", ref(1114))], [0]), seq([fndef("saturate", ref(1098))], [0])])], [0]),
|
|
15901
|
+
/* 1298 types/filter-value-list */ () => seq([rep(seq([seq([alt([seq([ref(1297)], [0]), seq([leaf("url")], [0])])], [0])], [0]), false)], [0]),
|
|
15902
|
+
/* 1299 types/final-bg-layer */ () => seq([unordered([seq([ref(1208)], [0]), seq([ref(1210), opt(seq([slash, ref(1211)], [0, 0]))], [0, 1]), seq([ref(1503)], [0]), seq([ref(1184)], [0]), seq([ref(1595)], [0]), seq([ref(1207)], [0]), seq([ref(173)], [0])], [0, 0, 0, 0, 0, 0, 0], false)], [0]),
|
|
15903
|
+
/* 1300 types/fixed-breadth */ () => seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]),
|
|
15904
|
+
/* 1301 types/fixed-repeat */ () => seq([fn("repeat", seq([seq([rng(leaf("integer"), [1, Infinity, null, true], false)], [0]), comma$1, rep(seq([seq([opt(ref(1379)), ref(1302)], [0, 0])], [0]), false), opt(ref(1379))], [0, 0, 0, 1]))], [0]),
|
|
15905
|
+
/* 1302 types/fixed-size */ () => seq([alt([seq([ref(1300)], [0]), seq([fn("minmax", seq([ref(1300), comma$1, ref(1580)], [0, 0, 0]))], [0]), seq([fn("minmax", seq([ref(1350), comma$1, ref(1300)], [0, 0, 0]))], [0])])], [0]),
|
|
15906
|
+
/* 1303 types/font-family-name */ () => seq([alt([seq([leaf("string")], [0]), seq([rep(seq([leaf("custom-ident")], [0]), false)], [0])])], [0]),
|
|
15907
|
+
/* 1304 types/font-feature-index */ () => seq([leaf("integer")], [0]),
|
|
15908
|
+
/* 1305 types/font-feature-value-name */ () => seq([leaf("ident")], [0]),
|
|
15909
|
+
/* 1306 types/font-features-tech */ () => seq([kws(["features-opentype", "features-aat", "features-graphite"])], [0]),
|
|
15910
|
+
/* 1307 types/font-format */ () => seq([seq([alt([seq([leaf("string")], [0]), seq([kw("collection")], [0]), seq([kw("embedded-opentype")], [0]), seq([kw("opentype")], [0]), seq([kw("svg")], [0]), seq([kw("truetype")], [0]), seq([kw("woff")], [0]), seq([kw("woff2")], [0])])], [0])], [0]),
|
|
15911
|
+
/* 1308 types/font-src */ () => seq([alt([seq([leaf("url"), opt(seq([fn("format", seq([ref(1307)], [0]))], [0])), opt(seq([fn("tech", seq([list(seq([ref(1309)], [0]), 0, Infinity, 0)], [0]))], [0]))], [0, 1, 1]), seq([fn("local", seq([ref(1303)], [0]))], [0])])], [0]),
|
|
15912
|
+
/* 1309 types/font-tech */ () => seq([seq([alt([seq([ref(1306)], [0]), seq([ref(1227)], [0]), seq([kw("variations")], [0]), seq([kw("palettes")], [0]), seq([kw("incremental")], [0])])], [0])], [0]),
|
|
15913
|
+
/* 1310 types/font-variant-css2 */ () => seq([kws(["normal", "small-caps"])], [0]),
|
|
15914
|
+
/* 1311 types/font-weight-absolute */ () => seq([seq([alt([seq([kw("normal")], [0]), seq([kw("bold")], [0]), seq([rng(leaf("number"), [1, 1000, null, true], false)], [0])])], [0])], [0]),
|
|
15915
|
+
/* 1312 types/font-width-css3 */ () => seq([kws(["normal", "ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded"])], [0]),
|
|
15916
|
+
/* 1313 types/form-control-identifier */ () => seq([kw("select")], [0]),
|
|
15917
|
+
/* 1314 types/frequency-percentage */ () => seq([seq([alt([seq([leaf("frequency")], [0]), seq([leaf("percentage")], [0])])], [0])], [0]),
|
|
15918
|
+
/* 1315 types/function-parameter */ () => seq([leaf("dashed-ident"), opt(leaf("css-type")), opt(seq([colon, ref(1281)], [0, 0]))], [0, 1, 1]),
|
|
15919
|
+
/* 1316 types/gap-auto-repeat-rule */ () => seq([fn("repeat", seq([kw("auto"), comma$1, list(seq([ref(1319)], [0]), 0, Infinity, 0)], [0, 0, 0]))], [0]),
|
|
15920
|
+
/* 1317 types/gap-auto-rule-list */ () => seq([optList(seq([ref(1321), comma$1], [0, 0])), ref(1316), optGroup(seq([comma$1, list(seq([ref(1321)], [0]), 0, Infinity, 0)], [0, 0]))], [0, 0, 1]),
|
|
15921
|
+
/* 1318 types/gap-repeat-rule */ () => seq([fn("repeat", seq([rng(leaf("integer"), [1, Infinity, null, true], false), comma$1, list(seq([ref(1319)], [0]), 0, Infinity, 0)], [0, 0, 0]))], [0]),
|
|
15922
|
+
/* 1319 types/gap-rule */ () => seq([unordered([seq([ref(1383)], [0]), seq([ref(1380)], [0]), seq([leaf("color")], [0])], [0, 0, 0], false)], [0]),
|
|
15923
|
+
/* 1320 types/gap-rule-list */ () => seq([list(seq([ref(1321)], [0]), 0, Infinity, 0)], [0]),
|
|
15924
|
+
/* 1321 types/gap-rule-or-repeat */ () => seq([alt([seq([ref(1319)], [0]), seq([ref(1318)], [0])])], [0]),
|
|
15925
|
+
/* 1322 types/general-enclosed */ () => seq([alt([seq([seq([leaf("function-token"), opt(leaf("any-value")), closeParens], [0, 0, 0])], [0]), seq([seq([openParens, opt(leaf("any-value")), closeParens], [0, 0, 0])], [0])])], [0]),
|
|
15926
|
+
/* 1323 types/generic-font-complete */ () => seq([kws(["serif", "sans-serif", "system-ui", "cursive", "fantasy", "math", "monospace"])], [0]),
|
|
15927
|
+
/* 1324 types/generic-font-family */ () => seq([alt([seq([ref(1326)], [0]), seq([ref(1323)], [0]), seq([ref(1325)], [0])])], [0]),
|
|
15928
|
+
/* 1325 types/generic-font-incomplete */ () => seq([kws(["ui-serif", "ui-sans-serif", "ui-monospace", "ui-rounded"])], [0]),
|
|
15929
|
+
/* 1326 types/generic-font-script-specific */ () => seq([alt([seq([fn("generic", seq([kw("fangsong")], [0]))], [0]), seq([fn("generic", seq([kw("kai")], [0]))], [0]), seq([fn("generic", seq([kw("khmer-mul")], [0]))], [0]), seq([fn("generic", seq([kw("nastaliq")], [0]))], [0])])], [0]),
|
|
15930
|
+
/* 1327 types/generic-voice */ () => seq([opt(ref(940)), ref(1007), rng(leaf("integer"), [1, Infinity, null, true], true)], [0, 0, 1]),
|
|
15931
|
+
/* 1328 types/geometry-box */ () => seq([alt([seq([ref(1519)], [0]), seq([kw("fill-box")], [0]), seq([kw("stroke-box")], [0]), seq([kw("view-box")], [0])])], [0]),
|
|
15932
|
+
/* 1329 types/gradient */ () => seq([alt([seq([seq([alt([seq([fndef("linear-gradient", ref(1043))], [0]), seq([fndef("repeating-linear-gradient", ref(1086))], [0]), seq([fndef("radial-gradient", ref(1074))], [0]), seq([fndef("repeating-radial-gradient", ref(1087))], [0]), seq([fndef("conic-gradient", ref(968))], [0]), seq([fndef("repeating-conic-gradient", ref(1085))], [0])])], [0])], [0]), seq([ref(911)], [0])])], [0]),
|
|
15933
|
+
/* 1330 types/grid-line */ () => seq([alt([seq([kw("auto")], [0]), seq([leaf("custom-ident")], [0]), seq([seq([unordered([seq([seq([alt([seq([rng(leaf("integer"), [-Infinity, -1, null, false], false)], [0]), seq([rng(leaf("integer"), [1, Infinity, null, true], false)], [0])])], [0])], [0]), seq([opt(leaf("custom-ident"))], [1])], [0, 1], true)], [0])], [0]), seq([seq([unordered([seq([kw("span")], [0]), seq([seq([unordered([seq([rng(leaf("integer"), [1, Infinity, null, true], false)], [0]), seq([leaf("custom-ident")], [0])], [0, 0], false)], [0])], [0])], [0, 0], true)], [0])], [0])])], [0]),
|
|
15934
|
+
/* 1331 types/highlight-name-selector */ () => seq([alt([seq([str("*")], [0]), seq([leaf("custom-ident")], [0])])], [0]),
|
|
15935
|
+
/* 1332 types/historical-lig-values */ () => seq([seq([kws(["historical-ligatures", "no-historical-ligatures"])], [0])], [0]),
|
|
15936
|
+
/* 1333 types/horizontal-line-command */ () => seq([kw("hline"), seq([alt([seq([kw("to"), seq([alt([seq([leaf("length-percentage")], [0]), seq([kw("left")], [0]), seq([kw("center")], [0]), seq([kw("right")], [0]), seq([kw("x-start")], [0]), seq([kw("x-end")], [0])])], [0])], [0, 0]), seq([kw("by"), leaf("length-percentage")], [0, 0])])], [0])], [0, 0]),
|
|
15937
|
+
/* 1334 types/hue */ () => seq([alt([seq([leaf("number")], [0]), seq([leaf("angle")], [0])])], [0]),
|
|
15938
|
+
/* 1335 types/hue-interpolation-method */ () => seq([seq([kws(["shorter", "longer", "increasing", "decreasing"])], [0]), kw("hue")], [0, 0]),
|
|
15939
|
+
/* 1336 types/id-selector */ () => seq([leaf("hash-token")], [0]),
|
|
15940
|
+
/* 1337 types/ident-arg */ () => seq([alt([seq([leaf("string")], [0]), seq([leaf("integer")], [0]), seq([leaf("ident")], [0])])], [0]),
|
|
15941
|
+
/* 1338 types/ident-args */ () => seq([fn("ident", seq([leaf("declaration-value")], [0]))], [0]),
|
|
15942
|
+
/* 1339 types/if-args */ () => interpreted,
|
|
15943
|
+
/* 1340 types/if-args-branch */ () => seq([leaf("declaration-value"), colon, opt(leaf("declaration-value"))], [0, 0, 1]),
|
|
15944
|
+
/* 1341 types/if-branch */ () => seq([ref(1342), colon, opt(leaf("declaration-value"))], [0, 0, 1]),
|
|
15945
|
+
/* 1342 types/if-condition */ () => seq([alt([seq([ref(1343)], [0]), seq([kw("else")], [0])])], [0]),
|
|
15946
|
+
/* 1343 types/if-test */ () => seq([alt([seq([fn("supports", seq([alt([seq([seq([leaf("ident"), colon, leaf("declaration-value")], [0, 0, 0])], [0]), seq([ref(1553)], [0])])], [0]))], [0]), seq([fn("media", seq([alt([seq([ref(1400)], [0]), seq([ref(1398)], [0])])], [0]))], [0]), seq([fn("style", seq([ref(1548)], [0]))], [0])])], [0]),
|
|
15947
|
+
/* 1344 types/image */ () => seq([alt([seq([leaf("url")], [0]), seq([fndef("image", ref(1023))], [0]), seq([fndef("image-set", ref(1024))], [0]), seq([fndef("cross-fade", ref(976))], [0]), seq([fndef("element", ref(985))], [0]), seq([ref(1329)], [0])])], [0]),
|
|
15948
|
+
/* 1345 types/image-1D */ () => seq([fndef("stripes", ref(1131))], [0]),
|
|
15949
|
+
/* 1346 types/image-set-option */ () => seq([seq([alt([seq([ref(1344)], [0]), seq([leaf("string")], [0])])], [0]), opt(seq([unordered([seq([leaf("resolution")], [0]), seq([fn("type", seq([leaf("string")], [0]))], [0])], [0, 0], false)], [0]))], [0, 1]),
|
|
15950
|
+
/* 1347 types/image-src */ () => seq([seq([alt([seq([leaf("url")], [0]), seq([leaf("string")], [0])])], [0])], [0]),
|
|
15951
|
+
/* 1348 types/image-tags */ () => seq([seq([kws(["ltr", "rtl"])], [0])], [0]),
|
|
15952
|
+
/* 1349 types/import-conditions */ () => seq([opt(seq([fn("supports", seq([seq([alt([seq([ref(1553)], [0]), seq([ref(980)], [0])])], [0])], [0]))], [0])), opt(ref(1050))], [1, 1]),
|
|
15953
|
+
/* 1350 types/inflexible-breadth */ () => seq([alt([seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), seq([kw("min-content")], [0]), seq([kw("max-content")], [0]), seq([kw("auto")], [0])])], [0]),
|
|
15954
|
+
/* 1351 types/inherit-args */ () => seq([fn("inherit", seq([leaf("declaration-value"), optGroup(seq([comma$1, leaf("declaration-value")], [0, 0]))], [0, 1]))], [0]),
|
|
15955
|
+
/* 1352 types/init-descriptor */ () => seq([ref(1353), colon, leaf("string")], [0, 0, 0]),
|
|
15956
|
+
/* 1353 types/init-descriptor-name */ () => seq([kws(["protocol", "hostname", "port", "pathname", "search", "hash"])], [0]),
|
|
15957
|
+
/* 1354 types/input-position */ () => seq([alt([seq([leaf("percentage")], [0]), seq([leaf("number")], [0]), seq([leaf("dimension")], [0])])], [0]),
|
|
15958
|
+
/* 1355 types/inset-value */ () => seq([alt([seq([leaf("length-percentage")], [0]), seq([kw("overlap-join")], [0])])], [0]),
|
|
15959
|
+
/* 1356 types/integer */ () => interpreted,
|
|
15960
|
+
/* 1357 types/integrity-modifier */ () => seq([fn("integrity", seq([leaf("string")], [0]))], [0]),
|
|
15961
|
+
/* 1358 types/isolation-mode */ () => seq([kws(["auto", "isolate"])], [0]),
|
|
15962
|
+
/* 1359 types/keyframe-block */ () => interpreted,
|
|
15963
|
+
/* 1360 types/keyframe-selector */ () => seq([alt([seq([kw("from")], [0]), seq([kw("to")], [0]), seq([rng(leaf("percentage"), [0, 100, null, true], false)], [0])])], [0]),
|
|
15964
|
+
/* 1361 types/keyframes-name */ () => seq([alt([seq([leaf("custom-ident")], [0]), seq([leaf("string")], [0])])], [0]),
|
|
15965
|
+
/* 1362 types/layer-name */ () => seq([leaf("ident"), opt(rep(seq([seq([str("."), leaf("ident")], [0, 0])], [0]), true))], [0, 1]),
|
|
15966
|
+
/* 1363 types/layout-box */ () => seq([alt([seq([ref(1595)], [0]), seq([kw("margin-box")], [0])])], [0]),
|
|
15967
|
+
/* 1364 types/leader-type */ () => seq([alt([seq([kw("dotted")], [0]), seq([kw("solid")], [0]), seq([kw("space")], [0]), seq([leaf("string")], [0])])], [0]),
|
|
15968
|
+
/* 1365 types/legacy-border-radius-syntax */ () => seq([occ(seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), 1, 2)], [0]),
|
|
15969
|
+
/* 1366 types/legacy-device-cmyk-syntax */ () => seq([fn("device-cmyk", seq([list(seq([leaf("number")], [0]), 4, 4, 0)], [0]))], [0]),
|
|
15970
|
+
/* 1367 types/legacy-hsl-syntax */ () => seq([fn("hsl", seq([ref(1334), comma$1, leaf("percentage"), comma$1, leaf("percentage"), optGroup(seq([comma$1, ref(1169)], [0, 0]))], [0, 0, 0, 0, 0, 1]))], [0]),
|
|
15971
|
+
/* 1368 types/legacy-hsla-syntax */ () => seq([fn("hsla", seq([ref(1334), comma$1, leaf("percentage"), comma$1, leaf("percentage"), optGroup(seq([comma$1, ref(1169)], [0, 0]))], [0, 0, 0, 0, 0, 1]))], [0]),
|
|
15972
|
+
/* 1369 types/legacy-pseudo-element-selector */ () => seq([colon, seq([kws(["before", "after", "first-line", "first-letter"])], [0])], [0, 0]),
|
|
15973
|
+
/* 1370 types/legacy-rgb-syntax */ () => seq([alt([seq([fn("rgb", seq([list(seq([leaf("percentage")], [0]), 3, 3, 0), optGroup(seq([comma$1, ref(1169)], [0, 0]))], [0, 1]))], [0]), seq([fn("rgb", seq([list(seq([leaf("number")], [0]), 3, 3, 0), optGroup(seq([comma$1, ref(1169)], [0, 0]))], [0, 1]))], [0])])], [0]),
|
|
15974
|
+
/* 1371 types/legacy-rgba-syntax */ () => seq([alt([seq([fn("rgba", seq([list(seq([leaf("percentage")], [0]), 3, 3, 0), optGroup(seq([comma$1, ref(1169)], [0, 0]))], [0, 1]))], [0]), seq([fn("rgba", seq([list(seq([leaf("number")], [0]), 3, 3, 0), optGroup(seq([comma$1, ref(1169)], [0, 0]))], [0, 1]))], [0])])], [0]),
|
|
15975
|
+
/* 1372 types/length-percentage */ () => seq([seq([alt([seq([leaf("length")], [0]), seq([leaf("percentage")], [0])])], [0])], [0]),
|
|
15976
|
+
/* 1373 types/light-dark-color */ () => seq([fn("light-dark", seq([leaf("color"), comma$1, leaf("color")], [0, 0, 0]))], [0]),
|
|
15977
|
+
/* 1374 types/light-dark-image */ () => seq([fn("light-dark", seq([seq([alt([seq([ref(1344)], [0]), seq([kw("none")], [0])])], [0]), comma$1, seq([alt([seq([ref(1344)], [0]), seq([kw("none")], [0])])], [0])], [0, 0, 0]))], [0]),
|
|
15978
|
+
/* 1375 types/line-color-list */ () => seq([list(seq([ref(1376)], [0]), 0, Infinity, 0)], [0]),
|
|
15979
|
+
/* 1376 types/line-color-or-repeat */ () => seq([seq([alt([seq([leaf("color")], [0]), seq([ref(1500)], [0])])], [0])], [0]),
|
|
15980
|
+
/* 1377 types/line-command */ () => seq([kw("line"), ref(1238)], [0, 0]),
|
|
15981
|
+
/* 1378 types/line-name-list */ () => seq([rep(seq([seq([alt([seq([ref(1379)], [0]), seq([ref(1424)], [0])])], [0])], [0]), false)], [0]),
|
|
15982
|
+
/* 1379 types/line-names */ () => seq([str("["), opt(rep(seq([leaf("custom-ident")], [0]), true)), str("]")], [0, 0, 0]),
|
|
15983
|
+
/* 1380 types/line-style */ () => seq([kws(["none", "hidden", "dotted", "dashed", "solid", "double", "groove", "ridge", "inset", "outset"])], [0]),
|
|
15984
|
+
/* 1381 types/line-style-list */ () => seq([list(seq([ref(1382)], [0]), 0, Infinity, 0)], [0]),
|
|
15985
|
+
/* 1382 types/line-style-or-repeat */ () => seq([seq([alt([seq([ref(1380)], [0]), seq([ref(1501)], [0])])], [0])], [0]),
|
|
15986
|
+
/* 1383 types/line-width */ () => seq([alt([seq([rng(leaf("length"), [0, Infinity, null, true], false)], [0]), seq([kw("hairline")], [0]), seq([kw("thin")], [0]), seq([kw("medium")], [0]), seq([kw("thick")], [0])])], [0]),
|
|
15987
|
+
/* 1384 types/line-width-list */ () => seq([list(seq([ref(1385)], [0]), 0, Infinity, 0)], [0]),
|
|
15988
|
+
/* 1385 types/line-width-or-repeat */ () => seq([seq([alt([seq([ref(1383)], [0]), seq([ref(1502)], [0])])], [0])], [0]),
|
|
15989
|
+
/* 1386 types/linear-color-hint */ () => seq([leaf("length-percentage")], [0]),
|
|
15990
|
+
/* 1387 types/linear-color-stop */ () => seq([leaf("color"), opt(ref(1233))], [0, 1]),
|
|
15991
|
+
/* 1388 types/linear-easing-function */ () => seq([alt([seq([kw("linear")], [0]), seq([fndef("linear", ref(1042))], [0])])], [0]),
|
|
15992
|
+
/* 1389 types/linear-gradient-syntax */ () => seq([optGroup(seq([seq([unordered([seq([seq([alt([seq([leaf("angle")], [0]), seq([leaf("zero")], [0]), seq([kw("to"), ref(1521)], [0, 0])])], [0])], [0]), seq([ref(1229)], [0])], [0, 0], false)], [0]), comma$1], [0, 0])), ref(1234)], [0, 0]),
|
|
15993
|
+
/* 1390 types/location-descriptor */ () => seq([alt([seq([ref(1458)], [0]), seq([ref(1352)], [0]), seq([ref(1202)], [0])])], [0]),
|
|
15994
|
+
/* 1391 types/location-name */ () => seq([leaf("dashed-ident")], [0]),
|
|
15995
|
+
/* 1392 types/location-rule */ () => interpreted,
|
|
15996
|
+
/* 1393 types/mask-layer */ () => seq([unordered([seq([ref(1394)], [0]), seq([ref(1463), opt(seq([slash, ref(1211)], [0, 0]))], [0, 1]), seq([ref(1503)], [0]), seq([ref(1328)], [0]), seq([seq([alt([seq([ref(1328)], [0]), seq([kw("no-clip")], [0])])], [0])], [0]), seq([ref(1248)], [0]), seq([ref(1396)], [0])], [0, 0, 0, 0, 0, 0, 0], false)], [0]),
|
|
15997
|
+
/* 1394 types/mask-reference */ () => seq([alt([seq([kw("none")], [0]), seq([ref(1344)], [0]), seq([ref(1395)], [0])])], [0]),
|
|
15998
|
+
/* 1395 types/mask-source */ () => seq([leaf("url")], [0]),
|
|
15999
|
+
/* 1396 types/masking-mode */ () => seq([kws(["alpha", "luminance", "match-source"])], [0]),
|
|
16000
|
+
/* 1397 types/media-and */ () => seq([kw("and"), ref(1402)], [0, 0]),
|
|
16001
|
+
/* 1398 types/media-condition */ () => seq([alt([seq([ref(1403)], [0]), seq([ref(1402), seq([alt([seq([opt(rep(seq([ref(1397)], [0]), true))], [1]), seq([opt(rep(seq([ref(1404)], [0]), true))], [1])])], [1])], [0, 1])])], [0]),
|
|
16002
|
+
/* 1399 types/media-condition-without-or */ () => seq([alt([seq([ref(1403)], [0]), seq([ref(1402), opt(rep(seq([ref(1397)], [0]), true))], [0, 1])])], [0]),
|
|
16003
|
+
/* 1400 types/media-feature */ () => seq([seq([alt([seq([ref(1413)], [0]), seq([ref(1407)], [0]), seq([ref(1414)], [0])])], [0])], [0]),
|
|
16004
|
+
/* 1401 types/media-import-condition */ () => seq([ref(1050)], [0]),
|
|
16005
|
+
/* 1402 types/media-in-parens */ () => seq([alt([seq([openParens, ref(1398), closeParens], [0, 0, 0]), seq([openParens, ref(1400), closeParens], [0, 0, 0]), seq([ref(1322)], [0])])], [0]),
|
|
16006
|
+
/* 1403 types/media-not */ () => seq([kw("not"), ref(1402)], [0, 0]),
|
|
16007
|
+
/* 1404 types/media-or */ () => seq([kw("or"), ref(1402)], [0, 0]),
|
|
16008
|
+
/* 1405 types/media-query */ () => seq([alt([seq([ref(1398)], [0]), seq([opt(seq([kws(["not", "only"])], [0])), ref(1406), opt(seq([kw("and"), ref(1399)], [0, 0]))], [0, 0, 1])])], [0]),
|
|
16009
|
+
/* 1406 types/media-type */ () => seq([leaf("ident")], [0]),
|
|
16010
|
+
/* 1407 types/mf-boolean */ () => seq([leaf("mf-name")], [0]),
|
|
16011
|
+
/* 1408 types/mf-comparison */ () => seq([alt([seq([ref(1411)], [0]), seq([ref(1410)], [0]), seq([ref(1409)], [0])])], [0]),
|
|
16012
|
+
/* 1409 types/mf-eq */ () => seq([str("=")], [0]),
|
|
16013
|
+
/* 1410 types/mf-gt */ () => seq([str(">"), opt(str("="))], [0, 1]),
|
|
16014
|
+
/* 1411 types/mf-lt */ () => seq([str("<"), opt(str("="))], [0, 1]),
|
|
16015
|
+
/* 1412 types/mf-name */ () => seq([leaf("ident")], [0]),
|
|
16016
|
+
/* 1413 types/mf-plain */ () => seq([leaf("mf-name"), colon, ref(1415)], [0, 0, 0]),
|
|
16017
|
+
/* 1414 types/mf-range */ () => seq([alt([seq([leaf("mf-name"), ref(1408), ref(1415)], [0, 0, 0]), seq([ref(1415), ref(1408), leaf("mf-name")], [0, 0, 0]), seq([ref(1415), ref(1411), leaf("mf-name"), ref(1411), ref(1415)], [0, 0, 0, 0, 0]), seq([ref(1415), ref(1410), leaf("mf-name"), ref(1410), ref(1415)], [0, 0, 0, 0, 0])])], [0]),
|
|
16018
|
+
/* 1415 types/mf-value */ () => seq([alt([seq([leaf("number")], [0]), seq([leaf("dimension")], [0]), seq([leaf("ident")], [0]), seq([ref(1490)], [0])])], [0]),
|
|
16019
|
+
/* 1416 types/modern-device-cmyk-syntax */ () => seq([fn("device-cmyk", seq([occ(seq([ref(1224)], [0]), 4, 4), opt(seq([slash, seq([alt([seq([ref(1169)], [0]), seq([kw("none")], [0])])], [0])], [0, 0]))], [0, 1]))], [0]),
|
|
16020
|
+
/* 1417 types/modern-hsl-syntax */ () => seq([fn("hsl", seq([opt(seq([kw("from"), leaf("color")], [0, 0])), seq([alt([seq([ref(1334)], [0]), seq([kw("none")], [0])])], [0]), seq([alt([seq([leaf("percentage")], [0]), seq([leaf("number")], [0]), seq([kw("none")], [0])])], [0]), seq([alt([seq([leaf("percentage")], [0]), seq([leaf("number")], [0]), seq([kw("none")], [0])])], [0]), opt(seq([slash, seq([alt([seq([ref(1169)], [0]), seq([kw("none")], [0])])], [0])], [0, 0]))], [0, 0, 0, 0, 1]))], [0]),
|
|
16021
|
+
/* 1418 types/modern-hsla-syntax */ () => seq([fn("hsla", seq([opt(seq([kw("from"), leaf("color")], [0, 0])), seq([alt([seq([ref(1334)], [0]), seq([kw("none")], [0])])], [0]), seq([alt([seq([leaf("percentage")], [0]), seq([leaf("number")], [0]), seq([kw("none")], [0])])], [0]), seq([alt([seq([leaf("percentage")], [0]), seq([leaf("number")], [0]), seq([kw("none")], [0])])], [0]), opt(seq([slash, seq([alt([seq([ref(1169)], [0]), seq([kw("none")], [0])])], [0])], [0, 0]))], [0, 0, 0, 0, 1]))], [0]),
|
|
16022
|
+
/* 1419 types/modern-rgb-syntax */ () => seq([fn("rgb", seq([opt(seq([kw("from"), leaf("color")], [0, 0])), occ(seq([seq([alt([seq([leaf("number")], [0]), seq([leaf("percentage")], [0]), seq([kw("none")], [0])])], [0])], [0]), 3, 3), opt(seq([slash, seq([alt([seq([ref(1169)], [0]), seq([kw("none")], [0])])], [0])], [0, 0]))], [0, 0, 1]))], [0]),
|
|
16023
|
+
/* 1420 types/modern-rgba-syntax */ () => seq([fn("rgba", seq([opt(seq([kw("from"), leaf("color")], [0, 0])), occ(seq([seq([alt([seq([leaf("number")], [0]), seq([leaf("percentage")], [0]), seq([kw("none")], [0])])], [0])], [0]), 3, 3), opt(seq([slash, seq([alt([seq([ref(1169)], [0]), seq([kw("none")], [0])])], [0])], [0, 0]))], [0, 0, 1]))], [0]),
|
|
16024
|
+
/* 1421 types/move-command */ () => seq([kw("move"), ref(1238)], [0, 0]),
|
|
16025
|
+
/* 1422 types/mq-boolean */ () => seq([rng(leaf("integer"), [0, 1, null, true], false)], [0]),
|
|
16026
|
+
/* 1423 types/n-dimension */ () => interpreted,
|
|
16027
|
+
/* 1424 types/name-repeat */ () => seq([fn("repeat", seq([seq([alt([seq([rng(leaf("integer"), [1, Infinity, null, true], false)], [0]), seq([kw("auto-fill")], [0])])], [0]), comma$1, rep(seq([ref(1379)], [0]), false)], [0, 0, 0]))], [0]),
|
|
16028
|
+
/* 1425 types/named-color */ () => seq([kws(["aliceblue", "antiquewhite", "aqua", "aquamarine", "azure", "beige", "bisque", "black", "blanchedalmond", "blue", "blueviolet", "brown", "burlywood", "cadetblue", "chartreuse", "chocolate", "coral", "cornflowerblue", "cornsilk", "crimson", "cyan", "darkblue", "darkcyan", "darkgoldenrod", "darkgray", "darkgreen", "darkgrey", "darkkhaki", "darkmagenta", "darkolivegreen", "darkorange", "darkorchid", "darkred", "darksalmon", "darkseagreen", "darkslateblue", "darkslategray", "darkslategrey", "darkturquoise", "darkviolet", "deeppink", "deepskyblue", "dimgray", "dimgrey", "dodgerblue", "firebrick", "floralwhite", "forestgreen", "fuchsia", "gainsboro", "ghostwhite", "gold", "goldenrod", "gray", "green", "greenyellow", "grey", "honeydew", "hotpink", "indianred", "indigo", "ivory", "khaki", "lavender", "lavenderblush", "lawngreen", "lemonchiffon", "lightblue", "lightcoral", "lightcyan", "lightgoldenrodyellow", "lightgray", "lightgreen", "lightgrey", "lightpink", "lightsalmon", "lightseagreen", "lightskyblue", "lightslategray", "lightslategrey", "lightsteelblue", "lightyellow", "lime", "limegreen", "linen", "magenta", "maroon", "mediumaquamarine", "mediumblue", "mediumorchid", "mediumpurple", "mediumseagreen", "mediumslateblue", "mediumspringgreen", "mediumturquoise", "mediumvioletred", "midnightblue", "mintcream", "mistyrose", "moccasin", "navajowhite", "navy", "oldlace", "olive", "olivedrab", "orange", "orangered", "orchid", "palegoldenrod", "palegreen", "paleturquoise", "palevioletred", "papayawhip", "peachpuff", "peru", "pink", "plum", "powderblue", "purple", "rebeccapurple", "red", "rosybrown", "royalblue", "saddlebrown", "salmon", "sandybrown", "seagreen", "seashell", "sienna", "silver", "skyblue", "slateblue", "slategray", "slategrey", "snow", "springgreen", "steelblue", "tan", "teal", "thistle", "tomato", "turquoise", "violet", "wheat", "white", "whitesmoke", "yellow", "yellowgreen", "transparent"])], [0]),
|
|
16029
|
+
/* 1426 types/namespace-prefix */ () => seq([leaf("ident")], [0]),
|
|
16030
|
+
/* 1427 types/navigation-condition */ () => seq([alt([seq([kw("not"), ref(1428)], [0, 0]), seq([ref(1428), opt(rep(seq([seq([kw("and"), ref(1428)], [0, 0])], [0]), true))], [0, 1]), seq([ref(1428), opt(rep(seq([seq([kw("or"), ref(1428)], [0, 0])], [0]), true))], [0, 1])])], [0]),
|
|
16031
|
+
/* 1428 types/navigation-in-parens */ () => seq([alt([seq([openParens, ref(1427), closeParens], [0, 0, 0]), seq([openParens, ref(1435), closeParens], [0, 0, 0]), seq([ref(1322)], [0])])], [0]),
|
|
16032
|
+
/* 1429 types/navigation-location */ () => seq([alt([seq([leaf("url")], [0]), seq([seq([alt([seq([ref(1391)], [0]), seq([fndef("url-pattern", ref(1158))], [0])])], [0])], [0])])], [0]),
|
|
16033
|
+
/* 1430 types/navigation-location-between-test */ () => seq([kw("between"), colon, ref(1429), kw("and"), ref(1429)], [0, 0, 0, 0, 0]),
|
|
16034
|
+
/* 1431 types/navigation-location-test */ () => seq([ref(1434), colon, ref(1429)], [0, 0, 0]),
|
|
16035
|
+
/* 1432 types/navigation-phase-keyword */ () => seq([kws(["loading", "ready", "committed"])], [0]),
|
|
16036
|
+
/* 1433 types/navigation-phase-test */ () => seq([kw("phase"), colon, ref(1432)], [0, 0, 0]),
|
|
16037
|
+
/* 1434 types/navigation-relation */ () => seq([kws(["at", "from", "to"])], [0]),
|
|
16038
|
+
/* 1435 types/navigation-test */ () => seq([alt([seq([ref(1431)], [0]), seq([ref(1430)], [0]), seq([ref(1437)], [0]), seq([ref(1433)], [0])])], [0]),
|
|
16039
|
+
/* 1436 types/navigation-type-keyword */ () => seq([kws(["traverse", "back", "forward", "reload"])], [0]),
|
|
16040
|
+
/* 1437 types/navigation-type-test */ () => seq([kw("history"), colon, ref(1436)], [0, 0, 0]),
|
|
16041
|
+
/* 1438 types/ndash-dimension */ () => interpreted,
|
|
16042
|
+
/* 1439 types/ndashdigit-dimension */ () => interpreted,
|
|
16043
|
+
/* 1440 types/ndashdigit-ident */ () => seq([leaf("ident-token")], [0]),
|
|
16044
|
+
/* 1441 types/ns-prefix */ () => seq([opt(seq([alt([seq([leaf("ident-token")], [0]), seq([str("*")], [0])])], [0])), str("|")], [0, 0]),
|
|
16045
|
+
/* 1442 types/number-optional-number */ () => seq([leaf("number"), opt(leaf("number"))], [0, 1]),
|
|
16046
|
+
/* 1443 types/numeric-figure-values */ () => seq([seq([kws(["lining-nums", "oldstyle-nums"])], [0])], [0]),
|
|
16047
|
+
/* 1444 types/numeric-fraction-values */ () => seq([seq([kws(["diagonal-fractions", "stacked-fractions"])], [0])], [0]),
|
|
16048
|
+
/* 1445 types/numeric-spacing-values */ () => seq([seq([kws(["proportional-nums", "tabular-nums"])], [0])], [0]),
|
|
16049
|
+
/* 1446 types/offset-path */ () => seq([alt([seq([fndef("ray", ref(1077))], [0]), seq([leaf("url")], [0]), seq([ref(1205)], [0])])], [0]),
|
|
16050
|
+
/* 1447 types/opacity-value */ () => seq([alt([seq([leaf("number")], [0]), seq([leaf("percentage")], [0])])], [0]),
|
|
16051
|
+
/* 1448 types/opentype-tag */ () => seq([leaf("string")], [0]),
|
|
16052
|
+
/* 1449 types/outline-line-style */ () => seq([kws(["none", "auto", "dotted", "dashed", "solid", "double", "groove", "ridge", "inset", "outset"])], [0]),
|
|
16053
|
+
/* 1450 types/overflow-position */ () => seq([kws(["unsafe", "safe"])], [0]),
|
|
16054
|
+
/* 1451 types/page-selector */ () => seq([seq([opt(leaf("ident-token")), opt(rep(seq([ref(1476)], [0]), true))], [1, 1])], [0]),
|
|
16055
|
+
/* 1452 types/page-selector-list */ () => seq([list(seq([ref(1451)], [0]), 0, Infinity, 0)], [0]),
|
|
16056
|
+
/* 1453 types/page-size */ () => seq([kws(["a5", "a4", "a3", "b5", "b4", "jis-b5", "jis-b4", "letter", "legal", "ledger"])], [0]),
|
|
16057
|
+
/* 1454 types/paint */ () => seq([alt([seq([kw("none")], [0]), seq([leaf("color")], [0]), seq([leaf("url"), opt(seq([alt([seq([kw("none")], [0]), seq([leaf("color")], [0])])], [0]))], [0, 1]), seq([kw("context-fill")], [0]), seq([kw("context-stroke")], [0])])], [0]),
|
|
16058
|
+
/* 1455 types/paint-box */ () => seq([alt([seq([ref(1595)], [0]), seq([kw("fill-box")], [0]), seq([kw("stroke-box")], [0])])], [0]),
|
|
16059
|
+
/* 1456 types/palette-identifier */ () => seq([leaf("dashed-ident")], [0]),
|
|
16060
|
+
/* 1457 types/param-spec */ () => seq([alt([seq([kw("color")], [0]), seq([kw("accent-color")], [0]), seq([seq([leaf("dashed-ident"), opt(leaf("css-type"))], [0, 1])], [0])])], [0]),
|
|
16061
|
+
/* 1458 types/pattern-descriptor */ () => seq([kw("pattern"), colon, fndef("url-pattern", ref(1158))], [0, 0, 0]),
|
|
16062
|
+
/* 1459 types/pointer-axis */ () => seq([kws(["block", "inline", "x", "y"])], [0]),
|
|
16063
|
+
/* 1460 types/pointer-source */ () => seq([kws(["root", "nearest", "self"])], [0]),
|
|
16064
|
+
/* 1461 types/points */ () => seq([list(seq([seq([rep(seq([leaf("number")], [0]), false)], [0])], [0]), 0, Infinity, 0)], [0]),
|
|
16065
|
+
/* 1462 types/polar-color-space */ () => seq([kws(["hsl", "hwb", "lch", "oklch"])], [0]),
|
|
16066
|
+
/* 1463 types/position */ () => seq([alt([seq([ref(1467)], [0]), seq([ref(1469)], [0]), seq([ref(1466)], [0])])], [0]),
|
|
16067
|
+
/* 1464 types/position-area */ () => seq([seq([alt([seq([unordered([seq([seq([kws(["left", "center", "right", "span-left", "span-right", "x-start", "x-end", "span-x-start", "span-x-end", "self-x-start", "self-x-end", "span-self-x-start", "span-self-x-end", "span-all"])], [0])], [0]), seq([seq([kws(["top", "center", "bottom", "span-top", "span-bottom", "y-start", "y-end", "span-y-start", "span-y-end", "self-y-start", "self-y-end", "span-self-y-start", "span-self-y-end", "span-all"])], [0])], [0])], [0, 0], false)], [0]), seq([unordered([seq([seq([kws(["block-start", "center", "block-end", "span-block-start", "span-block-end", "span-all"])], [0])], [0]), seq([seq([kws(["inline-start", "center", "inline-end", "span-inline-start", "span-inline-end", "span-all"])], [0])], [0])], [0, 0], false)], [0]), seq([unordered([seq([seq([kws(["self-block-start", "center", "self-block-end", "span-self-block-start", "span-self-block-end", "span-all"])], [0])], [0]), seq([seq([kws(["self-inline-start", "center", "self-inline-end", "span-self-inline-start", "span-self-inline-end", "span-all"])], [0])], [0])], [0, 0], false)], [0]), seq([occ(seq([seq([kws(["start", "center", "end", "span-start", "span-end", "span-all"])], [0])], [0]), 1, 2)], [0]), seq([occ(seq([seq([kws(["self-start", "center", "self-end", "span-self-start", "span-self-end", "span-all"])], [0])], [0]), 1, 2)], [0])])], [0])], [0]),
|
|
16068
|
+
/* 1465 types/position-area-query */ () => seq([seq([alt([seq([unordered([seq([seq([kws(["left", "center", "right", "span-left", "span-right", "x-start", "x-end", "span-x-start", "span-x-end", "self-x-start", "self-x-end", "span-self-x-start", "span-self-x-end", "span-all", "any"])], [0])], [0]), seq([seq([kws(["top", "center", "bottom", "span-top", "span-bottom", "y-start", "y-end", "span-y-start", "span-y-end", "self-y-start", "self-y-end", "span-self-y-start", "span-self-y-end", "span-all", "any"])], [0])], [0])], [0, 0], false)], [0]), seq([unordered([seq([seq([kws(["block-start", "center", "block-end", "span-block-start", "span-block-end", "span-all", "any"])], [0])], [0]), seq([seq([kws(["inline-start", "center", "inline-end", "span-inline-start", "span-inline-end", "span-all", "any"])], [0])], [0])], [0, 0], false)], [0]), seq([unordered([seq([seq([kws(["self-block-start", "center", "self-block-end", "span-self-block-start", "span-self-block-end", "span-all", "any"])], [0])], [0]), seq([seq([kws(["self-inline-start", "center", "self-inline-end", "span-self-inline-start", "span-self-inline-end", "span-all", "any"])], [0])], [0])], [0, 0], false)], [0]), seq([occ(seq([seq([kws(["start", "center", "end", "span-start", "span-end", "span-all", "any"])], [0])], [0]), 1, 2)], [0]), seq([occ(seq([seq([kws(["self-start", "center", "self-end", "span-self-start", "span-self-end", "span-all", "any"])], [0])], [0]), 1, 2)], [0])])], [0])], [0]),
|
|
16069
|
+
/* 1466 types/position-four */ () => seq([alt([seq([unordered([seq([seq([seq([kws(["left", "right", "x-start", "x-end"])], [0]), leaf("length-percentage")], [0, 0])], [0]), seq([seq([seq([kws(["top", "bottom", "y-start", "y-end"])], [0]), leaf("length-percentage")], [0, 0])], [0])], [0, 0], true)], [0]), seq([unordered([seq([seq([seq([kws(["block-start", "block-end"])], [0]), leaf("length-percentage")], [0, 0])], [0]), seq([seq([seq([kws(["inline-start", "inline-end"])], [0]), leaf("length-percentage")], [0, 0])], [0])], [0, 0], true)], [0]), seq([occ(seq([seq([seq([kws(["start", "end"])], [0]), leaf("length-percentage")], [0, 0])], [0]), 2, 2)], [0])])], [0]),
|
|
16070
|
+
/* 1467 types/position-one */ () => seq([alt([seq([kw("left")], [0]), seq([kw("center")], [0]), seq([kw("right")], [0]), seq([kw("top")], [0]), seq([kw("bottom")], [0]), seq([kw("x-start")], [0]), seq([kw("x-end")], [0]), seq([kw("y-start")], [0]), seq([kw("y-end")], [0]), seq([kw("block-start")], [0]), seq([kw("block-end")], [0]), seq([kw("inline-start")], [0]), seq([kw("inline-end")], [0]), seq([leaf("length-percentage")], [0])])], [0]),
|
|
16071
|
+
/* 1468 types/position-three */ () => seq([alt([seq([unordered([seq([seq([kws(["left", "center", "right"])], [0])], [0]), seq([seq([seq([kws(["top", "bottom"])], [0]), leaf("length-percentage")], [0, 0])], [0])], [0, 0], true)], [0]), seq([unordered([seq([seq([seq([kws(["left", "right"])], [0]), leaf("length-percentage")], [0, 0])], [0]), seq([seq([kws(["top", "center", "bottom"])], [0])], [0])], [0, 0], true)], [0])])], [0]),
|
|
16072
|
+
/* 1469 types/position-two */ () => seq([alt([seq([unordered([seq([seq([kws(["left", "center", "right", "x-start", "x-end"])], [0])], [0]), seq([seq([kws(["top", "center", "bottom", "y-start", "y-end"])], [0])], [0])], [0, 0], true)], [0]), seq([seq([alt([seq([kw("left")], [0]), seq([kw("center")], [0]), seq([kw("right")], [0]), seq([kw("x-start")], [0]), seq([kw("x-end")], [0]), seq([leaf("length-percentage")], [0])])], [0]), seq([alt([seq([kw("top")], [0]), seq([kw("center")], [0]), seq([kw("bottom")], [0]), seq([kw("y-start")], [0]), seq([kw("y-end")], [0]), seq([leaf("length-percentage")], [0])])], [0])], [0, 0]), seq([unordered([seq([seq([kws(["block-start", "center", "block-end"])], [0])], [0]), seq([seq([kws(["inline-start", "center", "inline-end"])], [0])], [0])], [0, 0], true)], [0]), seq([occ(seq([seq([kws(["start", "center", "end"])], [0])], [0]), 2, 2)], [0])])], [0]),
|
|
16073
|
+
/* 1470 types/predefined-rgb */ () => seq([kws(["srgb", "srgb-linear", "display-p3", "display-p3-linear", "a98-rgb", "prophoto-rgb", "rec2020", "rec2100-pq", "rec2100-hlg", "rec2100-linear"])], [0]),
|
|
16074
|
+
/* 1471 types/predefined-rgb-params */ () => seq([ref(1470), occ(seq([seq([alt([seq([leaf("number")], [0]), seq([leaf("percentage")], [0]), seq([kw("none")], [0])])], [0])], [0]), 3, 3)], [0, 0]),
|
|
16075
|
+
/* 1472 types/progress-source */ () => seq([alt([seq([leaf("percentage")], [0]), seq([leaf("number")], [0]), seq([leaf("dimension")], [0]), seq([ref(162)], [0])])], [0]),
|
|
16076
|
+
/* 1473 types/pseudo-class-selector */ () => seq([alt([seq([colon, leaf("ident-token")], [0, 0]), seq([colon, leaf("function-token"), leaf("any-value"), closeParens], [0, 0, 0, 0])])], [0]),
|
|
16077
|
+
/* 1474 types/pseudo-compound-selector */ () => seq([ref(1475), opt(rep(seq([ref(1473)], [0]), true))], [0, 1]),
|
|
16078
|
+
/* 1475 types/pseudo-element-selector */ () => seq([alt([seq([colon, ref(1473)], [0, 0]), seq([ref(1369)], [0])])], [0]),
|
|
16079
|
+
/* 1476 types/pseudo-page */ () => seq([colon, seq([kws(["left", "right", "first", "blank"])], [0])], [0, 0]),
|
|
16080
|
+
/* 1477 types/pt-class-selector */ () => seq([rep(seq([seq([str("."), leaf("custom-ident")], [0, 0])], [0]), false)], [0]),
|
|
16081
|
+
/* 1478 types/pt-name-and-class-selector */ () => seq([alt([seq([ref(1479), opt(ref(1477))], [0, 1]), seq([ref(1477)], [0])])], [0]),
|
|
16082
|
+
/* 1479 types/pt-name-selector */ () => seq([alt([seq([str("*")], [0]), seq([leaf("custom-ident")], [0])])], [0]),
|
|
16083
|
+
/* 1480 types/query-in-parens */ () => seq([alt([seq([openParens, ref(1254), closeParens], [0, 0, 0]), seq([openParens, leaf("size-feature"), closeParens], [0, 0, 0]), seq([fn("style", seq([ref(1548)], [0]))], [0]), seq([fn("scroll-state", seq([ref(1513)], [0]))], [0]), seq([ref(1322)], [0])])], [0]),
|
|
16084
|
+
/* 1481 types/quote */ () => seq([kws(["open-quote", "close-quote", "no-open-quote", "no-close-quote"])], [0]),
|
|
16085
|
+
/* 1482 types/radial-extent */ () => seq([kws(["closest-corner", "closest-side", "farthest-corner", "farthest-side"])], [0]),
|
|
16086
|
+
/* 1483 types/radial-gradient-syntax */ () => seq([optGroup(seq([seq([unordered([seq([seq([opt(seq([unordered([seq([ref(1484)], [0]), seq([ref(1485)], [0])], [0, 0], false)], [0])), opt(seq([kw("at"), ref(1463)], [0, 0]))], [1, 1])], [1]), seq([ref(1229)], [0])], [1, 0], false)], [0]), comma$1], [0, 0])), ref(1234)], [0, 0]),
|
|
16087
|
+
/* 1484 types/radial-shape */ () => seq([kws(["circle", "ellipse"])], [0]),
|
|
16088
|
+
/* 1485 types/radial-size */ () => seq([alt([seq([ref(1482)], [0]), seq([rng(leaf("length"), [0, Infinity, null, true], false)], [0]), seq([occ(seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), 2, 2)], [0])])], [0]),
|
|
16089
|
+
/* 1486 types/random-cache-key */ () => seq([unordered([seq([leaf("dashed-ident")], [0]), seq([kw("element-scoped")], [0]), seq([seq([alt([seq([kw("property-scoped")], [0]), seq([kw("property-index-scoped")], [0]), seq([ref(1489)], [0])])], [0])], [0])], [0, 0, 0], false)], [0]),
|
|
16090
|
+
/* 1487 types/random-item-args */ () => seq([fn("random-item", seq([leaf("declaration-value"), comma$1, list(seq([seq([opt(leaf("declaration-value"))], [1])], [1]), 0, Infinity, 0)], [0, 0, 1]))], [0]),
|
|
16091
|
+
/* 1488 types/random-key */ () => seq([alt([seq([kw("auto")], [0]), seq([ref(1486)], [0]), seq([kw("fixed"), rng(leaf("number"), [0, 1, null, true], false)], [0, 0])])], [0]),
|
|
16092
|
+
/* 1489 types/random-ua-ident */ () => seq([leaf("custom-ident")], [0]),
|
|
16093
|
+
/* 1490 types/ratio */ () => seq([rng(leaf("number"), [0, Infinity, null, true], false), opt(seq([slash, rng(leaf("number"), [0, Infinity, null, true], false)], [0, 0]))], [0, 1]),
|
|
16094
|
+
/* 1491 types/ray-size */ () => seq([alt([seq([ref(1482)], [0]), seq([kw("sides")], [0])])], [0]),
|
|
16095
|
+
/* 1492 types/rectangular-color-space */ () => seq([alt([seq([kw("srgb")], [0]), seq([kw("srgb-linear")], [0]), seq([kw("display-p3")], [0]), seq([kw("display-p3-linear")], [0]), seq([kw("a98-rgb")], [0]), seq([kw("prophoto-rgb")], [0]), seq([kw("rec2020")], [0]), seq([kw("lab")], [0]), seq([kw("oklab")], [0]), seq([ref(1599)], [0])])], [0]),
|
|
16096
|
+
/* 1493 types/referrer-policy-modifier */ () => seq([fn("referrer-policy", seq([kws(["no-referrer", "no-referrer-when-downgrade", "same-origin", "origin", "strict-origin", "origin-when-cross-origin", "strict-origin-when-cross-origin", "unsafe-url"])], [0]))], [0]),
|
|
16097
|
+
/* 1494 types/relative-control-point */ () => seq([ref(1264), opt(seq([kw("from"), seq([kws(["start", "end", "origin"])], [0])], [0, 0]))], [0, 1]),
|
|
16098
|
+
/* 1495 types/relative-real-selector */ () => seq([opt(ref(1237)), ref(1242)], [0, 0]),
|
|
16099
|
+
/* 1496 types/relative-real-selector-list */ () => seq([list(seq([ref(1495)], [0]), 0, Infinity, 0)], [0]),
|
|
16100
|
+
/* 1497 types/relative-selector */ () => seq([opt(ref(1237)), leaf("complex-selector")], [0, 0]),
|
|
16101
|
+
/* 1498 types/relative-selector-list */ () => seq([list(seq([ref(1497)], [0]), 0, Infinity, 0)], [0]),
|
|
16102
|
+
/* 1499 types/relative-size */ () => seq([seq([kws(["larger", "smaller"])], [0])], [0]),
|
|
16103
|
+
/* 1500 types/repeat-line-color */ () => seq([fn("repeat", seq([seq([rng(leaf("integer"), [1, Infinity, null, true], false)], [0]), comma$1, list(seq([seq([leaf("color")], [0])], [0]), 0, Infinity, 0)], [0, 0, 0]))], [0]),
|
|
16104
|
+
/* 1501 types/repeat-line-style */ () => seq([fn("repeat", seq([seq([rng(leaf("integer"), [1, Infinity, null, true], false)], [0]), comma$1, list(seq([seq([ref(1380)], [0])], [0]), 0, Infinity, 0)], [0, 0, 0]))], [0]),
|
|
16105
|
+
/* 1502 types/repeat-line-width */ () => seq([fn("repeat", seq([seq([rng(leaf("integer"), [1, Infinity, null, true], false)], [0]), comma$1, list(seq([seq([ref(1383)], [0])], [0]), 0, Infinity, 0)], [0, 0, 0]))], [0]),
|
|
16106
|
+
/* 1503 types/repeat-style */ () => seq([alt([seq([kw("repeat-x")], [0]), seq([kw("repeat-y")], [0]), seq([kw("repeat-block")], [0]), seq([kw("repeat-inline")], [0]), seq([occ(seq([ref(1504)], [0]), 1, 2)], [0])])], [0]),
|
|
16107
|
+
/* 1504 types/repetition */ () => seq([kws(["repeat", "space", "round", "no-repeat"])], [0]),
|
|
16108
|
+
/* 1505 types/request-url-modifier */ () => seq([alt([seq([ref(1270)], [0]), seq([ref(1357)], [0]), seq([ref(1493)], [0])])], [0]),
|
|
16109
|
+
/* 1506 types/reversed-counter-name */ () => seq([fn("reversed", seq([leaf("counter-name")], [0]))], [0]),
|
|
16110
|
+
/* 1507 types/rounding-strategy */ () => seq([kws(["nearest", "up", "down", "to-zero", "line-width"])], [0]),
|
|
16111
|
+
/* 1508 types/scope-boundaries */ () => seq([seq([opt(seq([openParens, ref(1510), closeParens], [0, 0, 0])), opt(seq([kw("to"), openParens, ref(1509), closeParens], [0, 0, 0, 0]))], [1, 1])], [0]),
|
|
16112
|
+
/* 1509 types/scope-end */ () => seq([ref(1515)], [0]),
|
|
16113
|
+
/* 1510 types/scope-start */ () => seq([ref(1515)], [0]),
|
|
16114
|
+
/* 1511 types/scroll-button-direction */ () => seq([kws(["up", "down", "left", "right", "block-start", "block-end", "inline-start", "inline-end", "prev", "next"])], [0]),
|
|
16115
|
+
/* 1512 types/scroll-state-in-parens */ () => seq([alt([seq([openParens, ref(1513), closeParens], [0, 0, 0]), seq([openParens, ref(1106), closeParens], [0, 0, 0]), seq([ref(1322)], [0])])], [0]),
|
|
16116
|
+
/* 1513 types/scroll-state-query */ () => seq([alt([seq([kw("not"), ref(1512)], [0, 0]), seq([ref(1512), seq([alt([seq([opt(rep(seq([seq([kw("and"), ref(1512)], [0, 0])], [0]), true))], [1]), seq([opt(rep(seq([seq([kw("or"), ref(1512)], [0, 0])], [0]), true))], [1])])], [1])], [0, 1]), seq([ref(1106)], [0])])], [0]),
|
|
16117
|
+
/* 1514 types/scroller */ () => seq([kws(["root", "nearest", "self"])], [0]),
|
|
16118
|
+
/* 1515 types/selector-list */ () => seq([leaf("complex-selector-list")], [0]),
|
|
16119
|
+
/* 1516 types/self-position */ () => seq([kws(["center", "start", "end", "self-start", "self-end", "flow-start", "flow-end", "flex-start", "flex-end"])], [0]),
|
|
16120
|
+
/* 1517 types/shadow */ () => seq([unordered([seq([opt(leaf("color"))], [1]), seq([seq([occ(seq([leaf("length")], [0]), 2, 2), opt(seq([rng(leaf("length"), [0, Infinity, null, true], false), opt(leaf("length"))], [0, 1]))], [0, 1])], [0]), seq([opt(kw("inset"))], [1])], [1, 0, 1], true)], [0]),
|
|
16121
|
+
/* 1518 types/shape */ () => seq([fn("rect", seq([ref(1147), comma$1, ref(1090), comma$1, ref(952), comma$1, ref(1039)], [0, 0, 0, 0, 0, 0, 0]))], [0]),
|
|
16122
|
+
/* 1519 types/shape-box */ () => seq([alt([seq([ref(1595)], [0]), seq([kw("margin-box")], [0]), seq([kw("half-border-box")], [0])])], [0]),
|
|
16123
|
+
/* 1520 types/shape-command */ () => seq([alt([seq([ref(1421)], [0]), seq([ref(1377)], [0]), seq([kw("close")], [0]), seq([ref(1333)], [0]), seq([ref(1593)], [0]), seq([ref(1275)], [0]), seq([ref(1536)], [0]), seq([ref(1181)], [0])])], [0]),
|
|
16124
|
+
/* 1521 types/side-or-corner */ () => seq([unordered([seq([seq([kws(["left", "right"])], [0])], [0]), seq([seq([kws(["top", "bottom"])], [0])], [0])], [0, 0], false)], [0]),
|
|
16125
|
+
/* 1522 types/signed-integer */ () => interpreted,
|
|
16126
|
+
/* 1523 types/signless-integer */ () => interpreted,
|
|
16127
|
+
/* 1524 types/simple-selector */ () => seq([alt([seq([leaf("type-selector")], [0]), seq([leaf("subclass-selector")], [0])])], [0]),
|
|
16128
|
+
/* 1525 types/simple-selector-list */ () => seq([list(seq([ref(1524)], [0]), 0, Infinity, 0)], [0]),
|
|
16129
|
+
/* 1526 types/single-animation */ () => seq([unordered([seq([ref(153)], [0]), seq([ref(1290)], [0]), seq([ref(151)], [0]), seq([ref(1530)], [0]), seq([ref(1528)], [0]), seq([ref(1529)], [0]), seq([ref(1531)], [0]), seq([seq([alt([seq([kw("none")], [0]), seq([ref(1361)], [0])])], [0])], [0]), seq([ref(1532)], [0])], [0, 0, 0, 0, 0, 0, 0, 0, 0], false)], [0]),
|
|
16130
|
+
/* 1527 types/single-animation-composition */ () => seq([kws(["replace", "add", "accumulate"])], [0]),
|
|
16131
|
+
/* 1528 types/single-animation-direction */ () => seq([kws(["normal", "reverse", "alternate", "alternate-reverse"])], [0]),
|
|
16132
|
+
/* 1529 types/single-animation-fill-mode */ () => seq([kws(["none", "forwards", "backwards", "both"])], [0]),
|
|
16133
|
+
/* 1530 types/single-animation-iteration-count */ () => seq([alt([seq([kw("infinite")], [0]), seq([rng(leaf("number"), [0, Infinity, null, true], false)], [0])])], [0]),
|
|
16134
|
+
/* 1531 types/single-animation-play-state */ () => seq([kws(["running", "paused"])], [0]),
|
|
16135
|
+
/* 1532 types/single-animation-timeline */ () => seq([alt([seq([kw("auto")], [0]), seq([kw("none")], [0]), seq([leaf("dashed-ident")], [0]), seq([fndef("scroll", ref(1104))], [0]), seq([fndef("view", ref(1161))], [0])])], [0]),
|
|
16136
|
+
/* 1533 types/single-transition */ () => seq([unordered([seq([seq([alt([seq([kw("none")], [0]), seq([ref(1534)], [0])])], [0])], [0]), seq([leaf("time")], [0]), seq([ref(1290)], [0]), seq([leaf("time")], [0]), seq([ref(1586)], [0])], [0, 0, 0, 0, 0], false)], [0]),
|
|
16137
|
+
/* 1534 types/single-transition-property */ () => seq([alt([seq([kw("all")], [0]), seq([leaf("custom-ident")], [0])])], [0]),
|
|
16138
|
+
/* 1535 types/slash-separated-border-radius-syntax */ () => seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false), opt(seq([slash, rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0, 0]))], [0, 1]),
|
|
16139
|
+
/* 1536 types/smooth-command */ () => seq([kw("smooth"), seq([alt([seq([seq([kw("to"), ref(1463), opt(seq([kw("with"), ref(1262)], [0, 0]))], [0, 0, 1])], [0]), seq([seq([kw("by"), ref(1264), opt(seq([kw("with"), ref(1494)], [0, 0]))], [0, 0, 1])], [0])])], [0])], [0, 0]),
|
|
16140
|
+
/* 1537 types/source-size */ () => seq([alt([seq([ref(1398), ref(1539)], [0, 0]), seq([kw("auto")], [0])])], [0]),
|
|
16141
|
+
/* 1538 types/source-size-list */ () => seq([optList(seq([ref(1537), comma$1], [0, 0])), ref(1539)], [0, 0]),
|
|
16142
|
+
/* 1539 types/source-size-value */ () => seq([alt([seq([leaf("length")], [0]), seq([kw("auto")], [0])])], [0]),
|
|
16143
|
+
/* 1540 types/spacing-trim */ () => seq([alt([seq([unordered([seq([seq([kws(["trim-start", "space-start", "space-first"])], [0])], [0]), seq([seq([kws(["trim-adjacent", "space-adjacent"])], [0])], [0]), seq([seq([kws(["trim-end", "space-end", "allow-end"])], [0])], [0])], [0, 0, 0], false)], [0]), seq([kw("trim-both")], [0]), seq([kw("space-all")], [0]), seq([kw("trim-all")], [0])])], [0]),
|
|
16144
|
+
/* 1541 types/spread-shadow */ () => seq([unordered([seq([opt(ref(296))], [1]), seq([seq([seq([alt([seq([kw("none")], [0]), seq([occ(seq([leaf("length")], [0]), 2, 2)], [0])])], [0]), opt(seq([ref(295), opt(ref(299))], [0, 1]))], [0, 1])], [0]), seq([opt(ref(298))], [1])], [1, 0, 1], true)], [0]),
|
|
16145
|
+
/* 1542 types/step-easing-function */ () => seq([alt([seq([kw("step-start")], [0]), seq([kw("step-end")], [0]), seq([fndef("steps", ref(1129))], [0])])], [0]),
|
|
16146
|
+
/* 1543 types/step-position */ () => seq([kws(["jump-start", "jump-end", "jump-none", "jump-both", "start", "end"])], [0]),
|
|
16147
|
+
/* 1544 types/style-feature */ () => seq([alt([seq([ref(1546)], [0]), seq([ref(1545)], [0]), seq([ref(1549)], [0])])], [0]),
|
|
16148
|
+
/* 1545 types/style-feature-boolean */ () => seq([ref(1133)], [0]),
|
|
16149
|
+
/* 1546 types/style-feature-plain */ () => interpreted,
|
|
16150
|
+
/* 1547 types/style-in-parens */ () => seq([alt([seq([openParens, ref(1548), closeParens], [0, 0, 0]), seq([openParens, leaf("style-feature"), closeParens], [0, 0, 0]), seq([ref(1322)], [0])])], [0]),
|
|
16151
|
+
/* 1548 types/style-query */ () => seq([alt([seq([kw("not"), ref(1547)], [0, 0]), seq([ref(1547), seq([alt([seq([opt(rep(seq([seq([kw("and"), ref(1547)], [0, 0])], [0]), true))], [1]), seq([opt(rep(seq([seq([kw("or"), ref(1547)], [0, 0])], [0]), true))], [1])])], [1])], [0, 1]), seq([leaf("style-feature")], [0])])], [0]),
|
|
16152
|
+
/* 1549 types/style-range */ () => seq([alt([seq([ref(1550), ref(1408), ref(1550)], [0, 0, 0]), seq([ref(1550), ref(1411), ref(1550), ref(1411), ref(1550)], [0, 0, 0, 0, 0]), seq([ref(1550), ref(1410), ref(1550), ref(1410), ref(1550)], [0, 0, 0, 0, 0])])], [0]),
|
|
16153
|
+
/* 1550 types/style-range-value */ () => interpreted,
|
|
16154
|
+
/* 1551 types/subclass-selector */ () => seq([alt([seq([ref(1336)], [0]), seq([ref(1222)], [0]), seq([leaf("attribute-selector")], [0]), seq([ref(1473)], [0])])], [0]),
|
|
16155
|
+
/* 1552 types/supports-at-rule-fn */ () => interpreted,
|
|
16156
|
+
/* 1553 types/supports-condition */ () => seq([alt([seq([kw("not"), ref(1560)], [0, 0]), seq([ref(1560), opt(rep(seq([seq([kw("and"), ref(1560)], [0, 0])], [0]), true))], [0, 1]), seq([ref(1560), opt(rep(seq([seq([kw("or"), ref(1560)], [0, 0])], [0]), true))], [0, 1])])], [0]),
|
|
16157
|
+
/* 1554 types/supports-decl */ () => seq([openParens, seq([alt([seq([ref(980)], [0]), seq([ref(1136)], [0])])], [0]), closeParens], [0, 0, 0]),
|
|
16158
|
+
/* 1555 types/supports-env-fn */ () => seq([fn("env", seq([leaf("ident")], [0]))], [0]),
|
|
16159
|
+
/* 1556 types/supports-feature */ () => seq([alt([seq([ref(1562)], [0]), seq([ref(1558)], [0]), seq([ref(1557)], [0]), seq([ref(1552)], [0]), seq([ref(1561)], [0]), seq([ref(1555)], [0]), seq([ref(1554)], [0])])], [0]),
|
|
16160
|
+
/* 1557 types/supports-font-format-fn */ () => seq([fn("font-format", seq([ref(1307)], [0]))], [0]),
|
|
16161
|
+
/* 1558 types/supports-font-tech-fn */ () => seq([fn("font-tech", seq([ref(1309)], [0]))], [0]),
|
|
16162
|
+
/* 1559 types/supports-import-condition */ () => seq([fn("supports", seq([seq([alt([seq([ref(1553)], [0]), seq([ref(980)], [0])])], [0])], [0]))], [0]),
|
|
16163
|
+
/* 1560 types/supports-in-parens */ () => seq([alt([seq([openParens, ref(1553), closeParens], [0, 0, 0]), seq([ref(1556)], [0]), seq([ref(1322)], [0])])], [0]),
|
|
16164
|
+
/* 1561 types/supports-named-feature-fn */ () => seq([fn("named-feature", seq([leaf("ident")], [0]))], [0]),
|
|
16165
|
+
/* 1562 types/supports-selector-fn */ () => seq([fn("selector", seq([leaf("complex-selector")], [0]))], [0]),
|
|
16166
|
+
/* 1563 types/svg-paint */ () => seq([alt([seq([kw("child")], [0]), seq([fn("child", seq([leaf("integer")], [0]))], [0])])], [0]),
|
|
16167
|
+
/* 1564 types/symbol */ () => seq([alt([seq([leaf("string")], [0]), seq([ref(1344)], [0]), seq([leaf("custom-ident")], [0])])], [0]),
|
|
16168
|
+
/* 1565 types/symbolic-glyph */ () => seq([kws(["disc", "circle", "square", "disclosure-open", "disclosure-closed"])], [0]),
|
|
16169
|
+
/* 1566 types/symbols-type */ () => seq([kws(["cyclic", "numeric", "alphabetic", "symbolic", "fixed"])], [0]),
|
|
16170
|
+
/* 1567 types/syntax */ () => seq([alt([seq([str("*")], [0]), seq([ref(1569), opt(rep(seq([seq([ref(1568), ref(1569)], [0, 0])], [0]), true))], [0, 1]), seq([ref(1572)], [0])])], [0]),
|
|
16171
|
+
/* 1568 types/syntax-combinator */ () => seq([str("|")], [0]),
|
|
16172
|
+
/* 1569 types/syntax-component */ () => seq([alt([seq([ref(1571), opt(ref(1570))], [0, 1]), seq([str("<"), kw("transform-list"), str(">")], [0, 0, 0])])], [0]),
|
|
16173
|
+
/* 1570 types/syntax-multiplier */ () => seq([seq([alt([seq([str("#")], [0]), seq([str("+")], [0])])], [0])], [0]),
|
|
16174
|
+
/* 1571 types/syntax-single-component */ () => seq([alt([seq([str("<"), ref(1573), str(">")], [0, 0, 0]), seq([leaf("ident")], [0])])], [0]),
|
|
16175
|
+
/* 1572 types/syntax-string */ () => seq([leaf("string")], [0]),
|
|
16176
|
+
/* 1573 types/syntax-type-name */ () => seq([kws(["angle", "color", "custom-ident", "image", "integer", "length", "length-percentage", "number", "percentage", "resolution", "string", "time", "url", "transform-function"])], [0]),
|
|
16177
|
+
/* 1574 types/system-color */ () => seq([alt([seq([kw("accentcolor")], [0]), seq([kw("accentcolortext")], [0]), seq([kw("activetext")], [0]), seq([kw("buttonborder")], [0]), seq([kw("buttonface")], [0]), seq([kw("buttontext")], [0]), seq([kw("canvas")], [0]), seq([kw("canvastext")], [0]), seq([kw("field")], [0]), seq([kw("fieldtext")], [0]), seq([kw("graytext")], [0]), seq([kw("highlight")], [0]), seq([kw("highlighttext")], [0]), seq([kw("linktext")], [0]), seq([kw("mark")], [0]), seq([kw("marktext")], [0]), seq([kw("selecteditem")], [0]), seq([kw("selecteditemtext")], [0]), seq([kw("visitedtext")], [0]), seq([ref(1282)], [0])])], [0]),
|
|
16178
|
+
/* 1575 types/system-font-family-name */ () => seq([kws(["caption", "icon", "menu", "message-box", "small-caption", "status-bar"])], [0]),
|
|
16179
|
+
/* 1576 types/target */ () => seq([alt([seq([fndef("target-counter", ref(1141))], [0]), seq([fndef("target-counters", ref(1142))], [0]), seq([fndef("target-text", ref(1144))], [0])])], [0]),
|
|
16180
|
+
/* 1577 types/target-contrast */ () => seq([ref(1596)], [0]),
|
|
16181
|
+
/* 1578 types/text-edge */ () => seq([alt([seq([seq([kws(["text", "ideographic", "ideographic-ink"])], [0])], [0]), seq([seq([kws(["text", "ideographic", "ideographic-ink", "cap", "ex"])], [0]), seq([kws(["text", "ideographic", "ideographic-ink", "alphabetic"])], [0])], [0, 0])])], [0]),
|
|
16182
|
+
/* 1579 types/time-percentage */ () => seq([seq([alt([seq([leaf("time")], [0]), seq([leaf("percentage")], [0])])], [0])], [0]),
|
|
16183
|
+
/* 1580 types/track-breadth */ () => seq([alt([seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]), seq([rng(leaf("flex"), [0, Infinity, null, true], false)], [0]), seq([kw("min-content")], [0]), seq([kw("max-content")], [0]), seq([kw("auto")], [0]), seq([ref(930)], [0])])], [0]),
|
|
16184
|
+
/* 1581 types/track-list */ () => seq([rep(seq([seq([opt(ref(1379)), seq([alt([seq([ref(1583)], [0]), seq([ref(1582)], [0])])], [0])], [0, 0])], [0]), false), opt(ref(1379))], [0, 1]),
|
|
16185
|
+
/* 1582 types/track-repeat */ () => seq([fn("repeat", seq([seq([rng(leaf("integer"), [1, Infinity, null, true], false)], [0]), comma$1, rep(seq([seq([opt(ref(1379)), ref(1583)], [0, 0])], [0]), false), opt(ref(1379))], [0, 0, 0, 1]))], [0]),
|
|
16186
|
+
/* 1583 types/track-size */ () => seq([alt([seq([ref(1580)], [0]), seq([fn("minmax", seq([ref(1350), comma$1, ref(1580)], [0, 0, 0]))], [0]), seq([fn("fit-content", seq([rng(leaf("length-percentage"), [0, Infinity, null, true], false)], [0]))], [0])])], [0]),
|
|
16187
|
+
/* 1584 types/transform-function */ () => seq([alt([seq([fndef("scale3d", ref(1100))], [0]), seq([fndef("scale", ref(1099))], [0]), seq([fndef("scalex", ref(1101))], [0]), seq([fndef("scaley", ref(1102))], [0]), seq([fndef("scalez", ref(1103))], [0]), seq([fndef("translate3d", ref(1151))], [0]), seq([fndef("translate", ref(1150))], [0]), seq([fndef("translatex", ref(1152))], [0]), seq([fndef("translatey", ref(1153))], [0]), seq([fndef("translatez", ref(1154))], [0]), seq([fndef("rotate3d", ref(1092))], [0]), seq([fndef("rotate", ref(1091))], [0]), seq([fndef("rotatex", ref(1093))], [0]), seq([fndef("rotatey", ref(1094))], [0]), seq([fndef("rotatez", ref(1095))], [0]), seq([fndef("skew", ref(1122))], [0]), seq([fndef("skewx", ref(1123))], [0]), seq([fndef("skewy", ref(1124))], [0]), seq([fndef("matrix3d", ref(1047))], [0]), seq([fndef("matrix", ref(1046))], [0]), seq([fndef("perspective", ref(1065))], [0])])], [0]),
|
|
16188
|
+
/* 1585 types/transform-list */ () => seq([rep(seq([ref(1584)], [0]), false)], [0]),
|
|
16189
|
+
/* 1586 types/transition-behavior-value */ () => seq([kws(["normal", "allow-discrete"])], [0]),
|
|
16190
|
+
/* 1587 types/try-size */ () => seq([kws(["most-width", "most-height", "most-block-size", "most-inline-size"])], [0]),
|
|
16191
|
+
/* 1588 types/try-tactic */ () => seq([unordered([seq([kw("flip-block")], [0]), seq([kw("flip-inline")], [0]), seq([kw("flip-start")], [0]), seq([kw("flip-x")], [0]), seq([kw("flip-y")], [0])], [0, 0, 0, 0, 0], false)], [0]),
|
|
16192
|
+
/* 1589 types/type */ () => seq([str("<"), seq([kws(["number", "string"])], [0]), str(">")], [0, 0, 0]),
|
|
16193
|
+
/* 1590 types/type-selector */ () => seq([alt([seq([leaf("wq-name")], [0]), seq([opt(ref(1441)), str("*")], [0, 0])])], [0]),
|
|
16194
|
+
/* 1591 types/url */ () => seq([alt([seq([fndef("url", ref(1156))], [0]), seq([fndef("src", ref(1128))], [0])])], [0]),
|
|
16195
|
+
/* 1592 types/var-args */ () => seq([fn("var", seq([leaf("declaration-value"), optGroup(seq([comma$1, leaf("declaration-value")], [0, 0]))], [0, 1]))], [0]),
|
|
16196
|
+
/* 1593 types/vertical-line-command */ () => seq([kw("vline"), seq([alt([seq([kw("to"), seq([alt([seq([leaf("length-percentage")], [0]), seq([kw("top")], [0]), seq([kw("center")], [0]), seq([kw("bottom")], [0]), seq([kw("y-start")], [0]), seq([kw("y-end")], [0])])], [0])], [0, 0]), seq([kw("by"), leaf("length-percentage")], [0, 0])])], [0])], [0, 0]),
|
|
16197
|
+
/* 1594 types/view-transition-type */ () => seq([leaf("custom-ident")], [0]),
|
|
16198
|
+
/* 1595 types/visual-box */ () => seq([kws(["content-box", "padding-box", "border-box"])], [0]),
|
|
16199
|
+
/* 1596 types/wcag2 */ () => seq([alt([seq([kw("wcag2")], [0]), seq([fn("wcag2", seq([seq([alt([seq([leaf("number")], [0]), seq([unordered([seq([seq([kws(["aa", "aaa"])], [0])], [0]), seq([opt(kw("large"))], [1])], [0, 1], true)], [0])])], [0])], [0]))], [0])])], [0]),
|
|
16200
|
+
/* 1597 types/wq-name */ () => seq([opt(ref(1441)), leaf("ident-token")], [0, 0]),
|
|
16201
|
+
/* 1598 types/xyz-params */ () => seq([ref(1599), occ(seq([seq([alt([seq([leaf("number")], [0]), seq([leaf("percentage")], [0]), seq([kw("none")], [0])])], [0])], [0]), 3, 3)], [0, 0]),
|
|
16202
|
+
/* 1599 types/xyz-space */ () => seq([kws(["xyz", "xyz-d50", "xyz-d65"])], [0]),
|
|
16203
|
+
];
|
|
16204
|
+
|
|
16205
|
+
/**
|
|
16206
|
+
* the types validated by the code of matchProperty() (src/validation/match.ts), before their definition (if any): the
|
|
16207
|
+
* compiled matchers call matchProperty() for them (see leaf() in ./runtime.ts). the other types are compiled from
|
|
16208
|
+
* their definition. keep in sync with the switch of matchProperty() and with its calc() types
|
|
16209
|
+
*/
|
|
16210
|
+
/**
|
|
16211
|
+
* the built in types that read the whitespace or the tokens after the value being matched: the compiled matchers
|
|
16212
|
+
* skip the whitespace, the interpreter validates the values of these types
|
|
16213
|
+
*/
|
|
16214
|
+
const rawTypes = new Set([
|
|
16215
|
+
"type-selector",
|
|
16216
|
+
"compound-selector",
|
|
16217
|
+
"complex-selector",
|
|
16218
|
+
"subclass-selector",
|
|
16219
|
+
"attribute-selector",
|
|
16220
|
+
"complex-selector-unit",
|
|
16221
|
+
"pseudo-compound-selector",
|
|
16222
|
+
"forgiving-relative-selector-list",
|
|
16223
|
+
"complex-selector-list",
|
|
16224
|
+
"size-feature",
|
|
16225
|
+
"style-feature",
|
|
16226
|
+
"css-type",
|
|
16227
|
+
]);
|
|
16228
|
+
|
|
16229
|
+
const FAIL = -1;
|
|
16230
|
+
/**
|
|
16231
|
+
* thrown when the value must be validated by the interpreter
|
|
16232
|
+
*/
|
|
16233
|
+
const BAIL = Object.freeze({ bail: true });
|
|
16234
|
+
/**
|
|
16235
|
+
* the maximum depth of the references being matched: deeper, the interpreter validates the value
|
|
16236
|
+
*/
|
|
16237
|
+
const maxDepth = 256;
|
|
16238
|
+
/**
|
|
16239
|
+
* the matchers of the definitions, by index (see {@link builders})
|
|
16240
|
+
*/
|
|
16241
|
+
const matchers = [];
|
|
16242
|
+
/**
|
|
16243
|
+
* the matcher of a definition, built once
|
|
16244
|
+
* @param index
|
|
16245
|
+
*/
|
|
16246
|
+
function definition(index) {
|
|
16247
|
+
return (matchers[index] ??= builders[index]());
|
|
16248
|
+
}
|
|
16249
|
+
/**
|
|
16250
|
+
* a reference to a definition: the matcher is built when it is first matched
|
|
16251
|
+
* @param index
|
|
16252
|
+
*/
|
|
16253
|
+
function ref(index) {
|
|
16254
|
+
let matcher = null;
|
|
16255
|
+
return (c, p) => {
|
|
16256
|
+
if (++c.depth > maxDepth) {
|
|
16257
|
+
throw BAIL;
|
|
16258
|
+
}
|
|
16259
|
+
const result = (matcher ??= definition(index))(c, p);
|
|
16260
|
+
c.depth--;
|
|
16261
|
+
return result;
|
|
16262
|
+
};
|
|
16263
|
+
}
|
|
16264
|
+
/**
|
|
16265
|
+
* a definition the compiler could not compile: the interpreter validates it
|
|
16266
|
+
*/
|
|
16267
|
+
const interpreted = () => {
|
|
16268
|
+
throw BAIL;
|
|
16269
|
+
};
|
|
16270
|
+
/**
|
|
16271
|
+
* an empty syntax
|
|
16272
|
+
*/
|
|
16273
|
+
const empty$1 = (_c, p) => p;
|
|
16274
|
+
/**
|
|
16275
|
+
* a sequence of syntaxes. the remaining syntaxes must be nullable when the tokens are consumed
|
|
16276
|
+
* @param items
|
|
16277
|
+
* @param nullable nullable[i]: the syntaxes from i are nullable
|
|
16278
|
+
*/
|
|
16279
|
+
function seq(items, nullable) {
|
|
16280
|
+
const length = items.length;
|
|
16281
|
+
if (length === 1) {
|
|
16282
|
+
const item = items[0];
|
|
16283
|
+
const optional = nullable[0] === 1;
|
|
16284
|
+
return (c, p) => (p >= c.len ? (optional ? p : FAIL) : item(c, p));
|
|
16285
|
+
}
|
|
16286
|
+
return (c, p) => {
|
|
16287
|
+
for (let i = 0; i < length; i++) {
|
|
16288
|
+
if (p >= c.len) {
|
|
16289
|
+
return nullable[i] === 1 ? p : FAIL;
|
|
16290
|
+
}
|
|
16291
|
+
p = items[i](c, p);
|
|
16292
|
+
if (p < 0) {
|
|
16293
|
+
return FAIL;
|
|
16294
|
+
}
|
|
16295
|
+
}
|
|
16296
|
+
return p;
|
|
16297
|
+
};
|
|
16298
|
+
}
|
|
16299
|
+
/**
|
|
16300
|
+
* alternatives: the alternative that matches the most tokens
|
|
16301
|
+
* @param alternatives
|
|
16302
|
+
*/
|
|
16303
|
+
function alt(alternatives) {
|
|
16304
|
+
const length = alternatives.length;
|
|
16305
|
+
return (c, p) => {
|
|
16306
|
+
let best = FAIL;
|
|
16307
|
+
for (let i = 0; i < length; i++) {
|
|
16308
|
+
const result = alternatives[i](c, p);
|
|
16309
|
+
if (result > best) {
|
|
16310
|
+
best = result;
|
|
16311
|
+
if (result >= c.len) {
|
|
16312
|
+
break;
|
|
16313
|
+
}
|
|
16314
|
+
}
|
|
16315
|
+
}
|
|
16316
|
+
return best;
|
|
16317
|
+
};
|
|
16318
|
+
}
|
|
16319
|
+
/**
|
|
16320
|
+
* the lowercase value of an ident token, null for another token
|
|
16321
|
+
* @param c
|
|
16322
|
+
* @param token
|
|
16323
|
+
*/
|
|
16324
|
+
function identValue(c, token) {
|
|
16325
|
+
return c.arena.dataTypes[token] === exports.EnumToken.IdenTokenType
|
|
16326
|
+
? lowercase(c.arena.resolveString(c.arena.stringValue[token]))
|
|
16327
|
+
: null;
|
|
16328
|
+
}
|
|
16329
|
+
/**
|
|
16330
|
+
* a keyword, ignoring the case
|
|
16331
|
+
* @param value the lowercase keyword
|
|
16332
|
+
*/
|
|
16333
|
+
function kw(value) {
|
|
16334
|
+
return (c, p) => (identValue(c, c.toks[p]) === value ? p + 1 : FAIL);
|
|
16335
|
+
}
|
|
16336
|
+
/**
|
|
16337
|
+
* alternative keywords, ignoring the case
|
|
16338
|
+
* @param values the lowercase keywords
|
|
16339
|
+
*/
|
|
16340
|
+
function kws(values) {
|
|
16341
|
+
const set = new Set(values);
|
|
16342
|
+
return (c, p) => {
|
|
16343
|
+
const value = identValue(c, c.toks[p]);
|
|
16344
|
+
return value !== null && set.has(value) ? p + 1 : FAIL;
|
|
16345
|
+
};
|
|
16346
|
+
}
|
|
16347
|
+
/**
|
|
16348
|
+
* an optional syntax: skipped when it does not match
|
|
16349
|
+
* @param matcher
|
|
16350
|
+
*/
|
|
16351
|
+
function opt(matcher) {
|
|
16352
|
+
return (c, p) => {
|
|
16353
|
+
const result = matcher(c, p);
|
|
16354
|
+
return result < 0 ? p : result;
|
|
16355
|
+
};
|
|
16356
|
+
}
|
|
16357
|
+
/**
|
|
16358
|
+
* a repeated syntax: `*` (zero or more) or `+` (one or more), see matchRepeatableSyntax()
|
|
16359
|
+
* @param item
|
|
16360
|
+
* @param zero zero matches are allowed
|
|
16361
|
+
*/
|
|
16362
|
+
function rep(item, zero) {
|
|
16363
|
+
return (c, p) => {
|
|
16364
|
+
let matched = false;
|
|
16365
|
+
while (true) {
|
|
16366
|
+
const result = item(c, p);
|
|
16367
|
+
if (result < 0) {
|
|
16368
|
+
break;
|
|
16369
|
+
}
|
|
16370
|
+
matched = true;
|
|
16371
|
+
if (result >= c.len) {
|
|
16372
|
+
p = c.len;
|
|
16373
|
+
break;
|
|
16374
|
+
}
|
|
16375
|
+
// no token matched
|
|
16376
|
+
if (result === p) {
|
|
16377
|
+
break;
|
|
16378
|
+
}
|
|
16379
|
+
p = result;
|
|
16380
|
+
}
|
|
16381
|
+
return matched || zero ? p : FAIL;
|
|
16382
|
+
};
|
|
16383
|
+
}
|
|
16384
|
+
/**
|
|
16385
|
+
* a syntax repeated from min to max times: `{2}`, `{1,4}`, see matchOccurenceSyntax()
|
|
16386
|
+
* @param item
|
|
16387
|
+
* @param min
|
|
16388
|
+
* @param max
|
|
16389
|
+
*/
|
|
16390
|
+
function occ(item, min, max) {
|
|
16391
|
+
return (c, p) => {
|
|
16392
|
+
let count = 0;
|
|
16393
|
+
do {
|
|
16394
|
+
const result = item(c, p);
|
|
16395
|
+
if (result < 0) {
|
|
16396
|
+
break;
|
|
16397
|
+
}
|
|
16398
|
+
count++;
|
|
16399
|
+
if (result >= c.len) {
|
|
16400
|
+
p = c.len;
|
|
16401
|
+
break;
|
|
16402
|
+
}
|
|
16403
|
+
if (result === p) {
|
|
16404
|
+
break;
|
|
16405
|
+
}
|
|
16406
|
+
p = result;
|
|
16407
|
+
if (count === max) {
|
|
16408
|
+
break;
|
|
16409
|
+
}
|
|
16410
|
+
} while (p < c.len);
|
|
16411
|
+
return count === 0 || count < min || count > max ? FAIL : p;
|
|
16412
|
+
};
|
|
16413
|
+
}
|
|
16414
|
+
/**
|
|
16415
|
+
* the end of a comma separated item: the position of the comma that follows the item (the items may contain commas)
|
|
16416
|
+
* @param c
|
|
16417
|
+
* @param p
|
|
16418
|
+
* @param commas the number of commas of an item
|
|
16419
|
+
*/
|
|
16420
|
+
function itemEnd(c, p, commas) {
|
|
16421
|
+
let depth = 0;
|
|
16422
|
+
for (let i = p; i < c.len; i++) {
|
|
16423
|
+
const type = c.arena.dataTypes[c.toks[i]];
|
|
16424
|
+
if (type === exports.EnumToken.StartParensTokenType || isFunctionDefType(type)) {
|
|
16425
|
+
depth++;
|
|
16426
|
+
}
|
|
16427
|
+
else if (type === exports.EnumToken.EndParensTokenType) {
|
|
16428
|
+
depth--;
|
|
16429
|
+
}
|
|
16430
|
+
else if (depth === 0 && type === exports.EnumToken.CommaTokenType && commas-- === 0) {
|
|
16431
|
+
return i;
|
|
16432
|
+
}
|
|
16433
|
+
}
|
|
16434
|
+
return c.len;
|
|
16435
|
+
}
|
|
16436
|
+
/**
|
|
16437
|
+
* a comma separated list: `#`, `#{1,4}`, see matchListSyntax(). an item is matched up to the next comma
|
|
16438
|
+
* @param item
|
|
16439
|
+
* @param min
|
|
16440
|
+
* @param max
|
|
16441
|
+
* @param commas the number of commas of an item
|
|
16442
|
+
*/
|
|
16443
|
+
function list(item, min, max, commas) {
|
|
16444
|
+
return (c, p) => {
|
|
16445
|
+
const len = c.len;
|
|
16446
|
+
let count = 0;
|
|
16447
|
+
while (true) {
|
|
16448
|
+
const end = itemEnd(c, p, commas);
|
|
16449
|
+
// BAIL aborts the whole match: the length is not restored
|
|
16450
|
+
c.len = end;
|
|
16451
|
+
const result = item(c, p);
|
|
16452
|
+
c.len = len;
|
|
16453
|
+
if (result < 0) {
|
|
16454
|
+
break;
|
|
16455
|
+
}
|
|
16456
|
+
// the item does not match the tokens before the comma: the list ends with this item
|
|
16457
|
+
if (result < end) {
|
|
16458
|
+
if (result > p) {
|
|
16459
|
+
count++;
|
|
16460
|
+
p = result;
|
|
16461
|
+
}
|
|
16462
|
+
break;
|
|
16463
|
+
}
|
|
16464
|
+
count++;
|
|
16465
|
+
if (count === max) {
|
|
16466
|
+
p = end;
|
|
16467
|
+
break;
|
|
16468
|
+
}
|
|
16469
|
+
// the comma
|
|
16470
|
+
p = end < len ? end + 1 : end;
|
|
16471
|
+
if (p >= len) {
|
|
16472
|
+
break;
|
|
16473
|
+
}
|
|
16474
|
+
}
|
|
16475
|
+
return count === 0 || count < min ? FAIL : p;
|
|
16476
|
+
};
|
|
16477
|
+
}
|
|
16478
|
+
/**
|
|
16479
|
+
* the context passed to matchProperty(): the significant tokens, up to the end of the tokens being matched
|
|
16480
|
+
* @param c
|
|
16481
|
+
* @param p
|
|
16482
|
+
*/
|
|
16483
|
+
function leafContext(c, p) {
|
|
16484
|
+
if (c.leaf === null || c.leafLen !== c.len) {
|
|
16485
|
+
c.leaf = new ValidationTokenContext(c.arena, c.len === c.toks.length ? c.toks : c.toks.slice(0, c.len), p - 1);
|
|
16486
|
+
c.leafLen = c.len;
|
|
16487
|
+
}
|
|
16488
|
+
else {
|
|
16489
|
+
c.leaf.index = p - 1;
|
|
16490
|
+
}
|
|
16491
|
+
return c.leaf;
|
|
16492
|
+
}
|
|
16493
|
+
/**
|
|
16494
|
+
* the token types matched by the numeric types without calc() and the css wide keywords: the matchers of these types
|
|
16495
|
+
* do not call matchProperty() for the other tokens (see {@link leaf})
|
|
16496
|
+
*/
|
|
16497
|
+
const numericTypes = {
|
|
16498
|
+
number: (_c, _t, type) => type === exports.EnumToken.NumberTokenType,
|
|
16499
|
+
integer: (c, t, type) => type === exports.EnumToken.NumberTokenType && Number.isInteger(Number(c.arena.numericValue[t])),
|
|
16500
|
+
zero: (c, t, type) => type === exports.EnumToken.NumberTokenType && c.arena.numericValue[t] === 0,
|
|
16501
|
+
length: (c, t, type) => type === exports.EnumToken.LengthTokenType ||
|
|
16502
|
+
type === exports.EnumToken.UserDefinedDimensionTokenType ||
|
|
16503
|
+
(type === exports.EnumToken.NumberTokenType && c.arena.numericValue[t] === 0),
|
|
16504
|
+
percentage: (_c, _t, type) => type === exports.EnumToken.PercentageTokenType,
|
|
16505
|
+
"length-percentage": (c, t, type) => type === exports.EnumToken.PercentageTokenType ||
|
|
16506
|
+
type === exports.EnumToken.LengthTokenType ||
|
|
16507
|
+
type === exports.EnumToken.UserDefinedDimensionTokenType ||
|
|
16508
|
+
(type === exports.EnumToken.NumberTokenType && c.arena.numericValue[t] === 0),
|
|
16509
|
+
angle: (_c, _t, type) => type === exports.EnumToken.AngleTokenType || type === exports.EnumToken.UserDefinedDimensionTokenType,
|
|
16510
|
+
"angle-percentage": (_c, _t, type) => type === exports.EnumToken.AngleTokenType ||
|
|
16511
|
+
type === exports.EnumToken.UserDefinedDimensionTokenType ||
|
|
16512
|
+
type === exports.EnumToken.PercentageTokenType,
|
|
16513
|
+
time: (_c, _t, type) => type === exports.EnumToken.TimeTokenType || type === exports.EnumToken.UserDefinedDimensionTokenType,
|
|
16514
|
+
flex: (_c, _t, type) => type === exports.EnumToken.FlexTokenType || type === exports.EnumToken.UserDefinedDimensionTokenType,
|
|
16515
|
+
resolution: (_c, _t, type) => type === exports.EnumToken.ResolutionTokenType,
|
|
16516
|
+
frequency: (_c, _t, type) => type === exports.EnumToken.FrequencyTokenType,
|
|
16517
|
+
string: (_c, _t, type) => type === exports.EnumToken.StringTokenType,
|
|
16518
|
+
"dashed-ident": (_c, _t, type) => type === exports.EnumToken.DashedIdenTokenType,
|
|
16519
|
+
"custom-property-name": (_c, _t, type) => type === exports.EnumToken.DashedIdenTokenType,
|
|
16520
|
+
};
|
|
16521
|
+
/**
|
|
16522
|
+
* a type validated by matchProperty(): the numeric types are matched here when the token is neither an ident (a css
|
|
16523
|
+
* wide keyword is accepted by the types) nor a math function (calc())
|
|
16524
|
+
* @param name
|
|
16525
|
+
*/
|
|
16526
|
+
function leaf(name) {
|
|
16527
|
+
if (rawTypes.has(name)) {
|
|
16528
|
+
return interpreted;
|
|
16529
|
+
}
|
|
16530
|
+
const property = {
|
|
16531
|
+
typ: ValidationTokenEnum.PropertyType,
|
|
16532
|
+
val: name,
|
|
16533
|
+
};
|
|
16534
|
+
const fast = numericTypes[name] ?? null;
|
|
16535
|
+
return (c, p) => {
|
|
16536
|
+
const token = c.toks[p];
|
|
16537
|
+
const type = c.arena.dataTypes[token];
|
|
16538
|
+
if (fast !== null &&
|
|
16539
|
+
type !== exports.EnumToken.IdenTokenType &&
|
|
16540
|
+
type !== exports.EnumToken.MathFunctionTokenType &&
|
|
16541
|
+
type !== exports.EnumToken.MathFunctionTokenDefType) {
|
|
16542
|
+
return fast(c, token, type) ? p + 1 : FAIL;
|
|
16543
|
+
}
|
|
16544
|
+
const context = leafContext(c, p);
|
|
16545
|
+
const result = matchProperty(c.arena, property, context, c.options);
|
|
16546
|
+
if (!result.success) {
|
|
16547
|
+
return FAIL;
|
|
16548
|
+
}
|
|
16549
|
+
return context.index >= c.len ? c.len : context.index + 1;
|
|
16550
|
+
};
|
|
16551
|
+
}
|
|
16552
|
+
/**
|
|
16553
|
+
* see isInRange() in src/validation/match.ts
|
|
16554
|
+
* @param c
|
|
16555
|
+
* @param token
|
|
16556
|
+
* @param min
|
|
16557
|
+
* @param max
|
|
16558
|
+
* @param unit the unit of a dimension range, its token type
|
|
16559
|
+
*/
|
|
16560
|
+
function inRange(c, token, min, max, unit) {
|
|
16561
|
+
const type = c.arena.dataTypes[token];
|
|
16562
|
+
if (type === exports.EnumToken.MathFunctionTokenType ||
|
|
16563
|
+
type === exports.EnumToken.MathFunctionTokenDefType ||
|
|
16564
|
+
type === exports.EnumToken.WildCardFunctionTokenType ||
|
|
16565
|
+
type === exports.EnumToken.WildCardFunctionTokenDefType) {
|
|
16566
|
+
return true;
|
|
16567
|
+
}
|
|
16568
|
+
let success = !c.arena.hasFraction(token) && c.arena.numericValue[token] >= min;
|
|
16569
|
+
if (unit !== null) {
|
|
16570
|
+
success = type === exports.EnumToken[unit];
|
|
16571
|
+
}
|
|
16572
|
+
return success && c.arena.numericValue[token] <= max;
|
|
16573
|
+
}
|
|
16574
|
+
/**
|
|
16575
|
+
* a type with a range: `<integer [1,∞]>`. the range of the first token is checked after the match, a value out of the
|
|
16576
|
+
* range fails even if the type is optional
|
|
16577
|
+
* @param matcher
|
|
16578
|
+
* @param bounds [min, max, unit, has min]
|
|
16579
|
+
* @param optional
|
|
16580
|
+
*/
|
|
16581
|
+
function rng(matcher, bounds, optional) {
|
|
16582
|
+
const [min, max, unit] = bounds;
|
|
16583
|
+
return (c, p) => {
|
|
16584
|
+
const result = matcher(c, p);
|
|
16585
|
+
if (result < 0) {
|
|
16586
|
+
return optional ? p : FAIL;
|
|
16587
|
+
}
|
|
16588
|
+
return inRange(c, c.toks[p], min, max, unit) ? result : FAIL;
|
|
16589
|
+
};
|
|
16590
|
+
}
|
|
16591
|
+
/**
|
|
16592
|
+
* the significant tokens of a list of tokens: the whitespace and the comments are skipped, a trailing `!important` is
|
|
16593
|
+
* removed (see createValidationContext())
|
|
16594
|
+
* @param arena
|
|
16595
|
+
* @param tokens
|
|
16596
|
+
* @param result
|
|
16597
|
+
*/
|
|
16598
|
+
function significantTokens(arena, tokens, result) {
|
|
16599
|
+
for (let i = 0; i < tokens.length; i++) {
|
|
16600
|
+
const type = arena.dataTypes[tokens[i]];
|
|
16601
|
+
if (type !== exports.EnumToken.WhitespaceTokenType &&
|
|
16602
|
+
type !== exports.EnumToken.CommentTokenType &&
|
|
16603
|
+
type !== exports.EnumToken.CDOCOMMTokenType) {
|
|
16604
|
+
result.push(tokens[i]);
|
|
16605
|
+
}
|
|
16606
|
+
}
|
|
16607
|
+
if (result.length > 0 && arena.dataTypes[result[result.length - 1]] === exports.EnumToken.ImportantTokenType) {
|
|
16608
|
+
result.pop();
|
|
16609
|
+
}
|
|
16610
|
+
return result;
|
|
16611
|
+
}
|
|
16612
|
+
/**
|
|
16613
|
+
* the position of the parenthesis that closes the function at a position: the arguments of a function are not nested
|
|
16614
|
+
* in the tokens being validated, they follow the function token (see peekRange()). -1 if the function is not closed
|
|
16615
|
+
* @param c
|
|
16616
|
+
* @param p
|
|
16617
|
+
*/
|
|
16618
|
+
function closingParens(c, p) {
|
|
16619
|
+
let depth = 0;
|
|
16620
|
+
for (let i = p; i < c.len; i++) {
|
|
16621
|
+
const type = c.arena.dataTypes[c.toks[i]];
|
|
16622
|
+
if (type === exports.EnumToken.StartParensTokenType || isFunctionDefType(type)) {
|
|
16623
|
+
depth++;
|
|
16624
|
+
}
|
|
16625
|
+
else if (type === exports.EnumToken.EndParensTokenType && --depth === 0) {
|
|
16626
|
+
return i;
|
|
16627
|
+
}
|
|
16628
|
+
}
|
|
16629
|
+
return -1;
|
|
16630
|
+
}
|
|
16631
|
+
/**
|
|
16632
|
+
* match the arguments of a function, from p to end (excluded)
|
|
16633
|
+
* @param c
|
|
16634
|
+
* @param matcher
|
|
16635
|
+
* @param p
|
|
16636
|
+
* @param end
|
|
16637
|
+
* @returns true if the matcher matches all the tokens
|
|
16638
|
+
*/
|
|
16639
|
+
function matchRange(c, matcher, p, end) {
|
|
16640
|
+
const len = c.len;
|
|
16641
|
+
// BAIL aborts the whole match: the length is not restored
|
|
16642
|
+
c.len = end;
|
|
16643
|
+
const result = matcher(c, p);
|
|
16644
|
+
c.len = len;
|
|
16645
|
+
return result === end;
|
|
16646
|
+
}
|
|
16647
|
+
/**
|
|
16648
|
+
* a function and its arguments: `rgb( ... )`
|
|
16649
|
+
* @param name the lowercase function name
|
|
16650
|
+
* @param args
|
|
16651
|
+
*/
|
|
16652
|
+
function fn(name, args) {
|
|
16653
|
+
return (c, p) => {
|
|
16654
|
+
const token = c.toks[p];
|
|
16655
|
+
const type = c.arena.dataTypes[token];
|
|
16656
|
+
if ((!isFunctionDefType(type) && !funcLike.includes(type) && !funcTypes.includes(type)) ||
|
|
16657
|
+
lowercase(c.arena.resolveString(c.arena.stringValue[token])) !== name) {
|
|
16658
|
+
return FAIL;
|
|
16659
|
+
}
|
|
16660
|
+
if (isFunctionDefType(type)) {
|
|
16661
|
+
const close = closingParens(c, p);
|
|
16662
|
+
return close !== -1 && matchRange(c, args, p + 1, close) ? close + 1 : FAIL;
|
|
16663
|
+
}
|
|
16664
|
+
const toks = significantTokens(c.arena, c.arena.tokens(token), []);
|
|
16665
|
+
const sub = {
|
|
16666
|
+
arena: c.arena,
|
|
16667
|
+
toks,
|
|
16668
|
+
len: toks.length,
|
|
16669
|
+
options: c.options,
|
|
16670
|
+
depth: c.depth,
|
|
16671
|
+
leaf: null,
|
|
16672
|
+
leafLen: -1,
|
|
16673
|
+
};
|
|
16674
|
+
return args(sub, 0) === toks.length ? p + 1 : FAIL;
|
|
16675
|
+
};
|
|
16676
|
+
}
|
|
16677
|
+
/**
|
|
16678
|
+
* a function definition: `<rgb()>`
|
|
16679
|
+
* @param name the lowercase function name
|
|
16680
|
+
* @param syntax the matcher of the function syntax (`rgb()`), null when it is not defined
|
|
16681
|
+
*/
|
|
16682
|
+
function fndef(name, syntax) {
|
|
16683
|
+
return (c, p) => {
|
|
16684
|
+
const token = c.toks[p];
|
|
16685
|
+
const type = c.arena.dataTypes[token];
|
|
16686
|
+
if (syntax === null || lowercase(c.arena.resolveString(c.arena.stringValue[token])) !== name) {
|
|
16687
|
+
return FAIL;
|
|
16688
|
+
}
|
|
16689
|
+
if (isFunctionDefType(type)) {
|
|
16690
|
+
const close = closingParens(c, p);
|
|
16691
|
+
return close !== -1 && matchRange(c, syntax, p, close + 1) ? close + 1 : FAIL;
|
|
16692
|
+
}
|
|
16693
|
+
if (!isFunctionType(type)) {
|
|
16694
|
+
return FAIL;
|
|
16695
|
+
}
|
|
16696
|
+
const sub = {
|
|
16697
|
+
arena: c.arena,
|
|
16698
|
+
toks: [token],
|
|
16699
|
+
len: 1,
|
|
16700
|
+
options: c.options,
|
|
16701
|
+
depth: c.depth,
|
|
16702
|
+
leaf: null,
|
|
16703
|
+
leafLen: -1,
|
|
16704
|
+
};
|
|
16705
|
+
return syntax(sub, 0) === 1 ? p + 1 : FAIL;
|
|
16706
|
+
};
|
|
16707
|
+
}
|
|
16708
|
+
/**
|
|
16709
|
+
* a literal number or dimension: `0`, `90deg`, see isLiteralNumber()
|
|
16710
|
+
* @param value
|
|
16711
|
+
* @param unit the token type of a dimension
|
|
16712
|
+
* @param unitText the unit of a dimension
|
|
16713
|
+
*/
|
|
16714
|
+
function num$1(value, unit, unitText) {
|
|
16715
|
+
const unitType = unit === null ? null : exports.EnumToken[unit];
|
|
16716
|
+
const lowerUnit = unitText === null ? null : unitText.toLowerCase();
|
|
16717
|
+
return (c, p) => {
|
|
16718
|
+
const token = c.toks[p];
|
|
16719
|
+
if (c.arena.hasFraction(token) || c.arena.numericValue[token] !== value) {
|
|
16720
|
+
return FAIL;
|
|
16721
|
+
}
|
|
16722
|
+
if (unitType === null) {
|
|
16723
|
+
return c.arena.dataTypes[token] === exports.EnumToken.NumberTokenType ? p + 1 : FAIL;
|
|
16724
|
+
}
|
|
16725
|
+
return c.arena.dataTypes[token] === unitType &&
|
|
16726
|
+
c.arena.resolveString(c.arena.unit[token]).toLowerCase() === lowerUnit
|
|
16727
|
+
? p + 1
|
|
16728
|
+
: FAIL;
|
|
16729
|
+
};
|
|
16730
|
+
}
|
|
16731
|
+
/**
|
|
16732
|
+
* a quoted literal: `'+'`, `'/'`
|
|
16733
|
+
* @param value
|
|
16734
|
+
*/
|
|
16735
|
+
function str(value) {
|
|
16736
|
+
return (c, p) => {
|
|
16737
|
+
const token = c.toks[p];
|
|
16738
|
+
switch (c.arena.dataTypes[token]) {
|
|
16739
|
+
case exports.EnumToken.Add:
|
|
16740
|
+
return value === "+" ? p + 1 : FAIL;
|
|
16741
|
+
case exports.EnumToken.Sub:
|
|
16742
|
+
return value === "-" ? p + 1 : FAIL;
|
|
16743
|
+
case exports.EnumToken.LiteralTokenType:
|
|
16744
|
+
return c.arena.resolveString(c.arena.stringValue[token]) === value ? p + 1 : FAIL;
|
|
16745
|
+
case exports.EnumToken.Plus:
|
|
16746
|
+
return p + 1;
|
|
16747
|
+
}
|
|
16748
|
+
return FAIL;
|
|
16749
|
+
};
|
|
16750
|
+
}
|
|
16751
|
+
/**
|
|
16752
|
+
* a token of a type
|
|
16753
|
+
* @param type
|
|
16754
|
+
*/
|
|
16755
|
+
function tokenType(type) {
|
|
16756
|
+
return (c, p) => (c.arena.dataTypes[c.toks[p]] === type ? p + 1 : FAIL);
|
|
16757
|
+
}
|
|
16758
|
+
const comma$1 = tokenType(exports.EnumToken.CommaTokenType);
|
|
16759
|
+
const colon = tokenType(exports.EnumToken.ColonTokenType);
|
|
16760
|
+
const openParens = tokenType(exports.EnumToken.StartParensTokenType);
|
|
16761
|
+
const closeParens = tokenType(exports.EnumToken.EndParensTokenType);
|
|
16762
|
+
/**
|
|
16763
|
+
* the `/` separator
|
|
16764
|
+
*/
|
|
16765
|
+
const slash = (c, p) => {
|
|
16766
|
+
const token = c.toks[p];
|
|
16767
|
+
return c.arena.dataTypes[token] === exports.EnumToken.LiteralTokenType && c.arena.resolveString(c.arena.stringValue[token]) === "/"
|
|
16768
|
+
? p + 1
|
|
16769
|
+
: FAIL;
|
|
16770
|
+
};
|
|
16771
|
+
/**
|
|
16772
|
+
* an optional group: skipped when it does not match
|
|
16773
|
+
* @param group
|
|
16774
|
+
*/
|
|
16775
|
+
function optGroup(group) {
|
|
16776
|
+
return opt(group);
|
|
16777
|
+
}
|
|
16778
|
+
/**
|
|
16779
|
+
* `<bg-layer>#? , <final-bg-layer>`: the items of the list followed by a comma, `[ <bg-layer> , ]*`. the last item is
|
|
16780
|
+
* left to the next syntax
|
|
16781
|
+
* @param group the item followed by a comma
|
|
16782
|
+
*/
|
|
16783
|
+
function optList(group) {
|
|
16784
|
+
return (c, p) => {
|
|
16785
|
+
while (p < c.len) {
|
|
16786
|
+
const result = group(c, p);
|
|
16787
|
+
if (result <= p) {
|
|
16788
|
+
break;
|
|
16789
|
+
}
|
|
16790
|
+
p = result;
|
|
16791
|
+
}
|
|
16792
|
+
return p;
|
|
16793
|
+
};
|
|
16794
|
+
}
|
|
16795
|
+
/**
|
|
16796
|
+
* syntaxes in any order: one or more (`||`) or all the syntaxes that match a token (`&&`), the order that matches the
|
|
16797
|
+
* most tokens, see searchUnorderedSyntaxes()
|
|
16798
|
+
* @param operands
|
|
16799
|
+
* @param nullable nullable[i]: the operand may match no token
|
|
16800
|
+
* @param all
|
|
16801
|
+
*/
|
|
16802
|
+
function unordered(operands, nullable, all) {
|
|
16803
|
+
const count = operands.length;
|
|
16804
|
+
const allNullable = nullable.every((value) => value === 1);
|
|
16805
|
+
return (c, p) => {
|
|
16806
|
+
const size = c.len + 1;
|
|
16807
|
+
// the position after an operand, by operand and position. -2: not matched yet
|
|
16808
|
+
const memo = new Int32Array(count * size).fill(-2);
|
|
16809
|
+
const remaining = [];
|
|
16810
|
+
for (let i = 0; i < count; i++) {
|
|
16811
|
+
remaining.push(i);
|
|
16812
|
+
}
|
|
16813
|
+
const best = search(c, operands, nullable, all, remaining, p, memo, size);
|
|
16814
|
+
if (best >= 0) {
|
|
16815
|
+
return best;
|
|
16816
|
+
}
|
|
16817
|
+
return all && allNullable ? p : FAIL;
|
|
16818
|
+
};
|
|
16819
|
+
}
|
|
16820
|
+
/**
|
|
16821
|
+
* the position after the operands that match the most tokens, -1 if no operand matches
|
|
16822
|
+
*/
|
|
16823
|
+
function search(c, operands, nullable, all, remaining, p, memo, size) {
|
|
16824
|
+
let best = -1;
|
|
16825
|
+
for (let k = 0; k < remaining.length; k++) {
|
|
16826
|
+
const operand = remaining[k];
|
|
16827
|
+
const key = operand * size + p;
|
|
16828
|
+
let next = memo[key];
|
|
16829
|
+
if (next === -2) {
|
|
16830
|
+
next = p < c.len ? operands[operand](c, p) : FAIL;
|
|
16831
|
+
// the operand must match a token
|
|
16832
|
+
if (next <= p) {
|
|
16833
|
+
next = -1;
|
|
16834
|
+
}
|
|
16835
|
+
memo[key] = next;
|
|
16836
|
+
}
|
|
16837
|
+
if (next < 0) {
|
|
16838
|
+
continue;
|
|
16839
|
+
}
|
|
16840
|
+
const rest = remaining.slice(0, k).concat(remaining.slice(k + 1));
|
|
16841
|
+
let complete = true;
|
|
16842
|
+
if (all) {
|
|
16843
|
+
for (let i = 0; i < rest.length; i++) {
|
|
16844
|
+
if (nullable[rest[i]] !== 1) {
|
|
16845
|
+
complete = false;
|
|
16846
|
+
break;
|
|
16847
|
+
}
|
|
16848
|
+
}
|
|
16849
|
+
}
|
|
16850
|
+
if (next < c.len && rest.length > 0) {
|
|
16851
|
+
const deeper = search(c, operands, nullable, all, rest, next, memo, size);
|
|
16852
|
+
if (deeper >= 0) {
|
|
16853
|
+
if (deeper >= c.len) {
|
|
16854
|
+
return deeper;
|
|
16855
|
+
}
|
|
16856
|
+
if (deeper > best) {
|
|
16857
|
+
best = deeper;
|
|
16858
|
+
}
|
|
16859
|
+
}
|
|
16860
|
+
}
|
|
16861
|
+
if (complete) {
|
|
16862
|
+
if (next >= c.len) {
|
|
16863
|
+
return next;
|
|
16864
|
+
}
|
|
16865
|
+
if (next > best) {
|
|
16866
|
+
best = next;
|
|
16867
|
+
}
|
|
16868
|
+
}
|
|
16869
|
+
}
|
|
16870
|
+
return best;
|
|
16871
|
+
}
|
|
16872
|
+
/**
|
|
16873
|
+
* the compiled matcher of a definition, by `group/name`
|
|
16874
|
+
*/
|
|
16875
|
+
let definitions = null;
|
|
16876
|
+
/**
|
|
16877
|
+
* the compiled matcher of a definition, null if the definition is not compiled
|
|
16878
|
+
* @param key `group/name`
|
|
16879
|
+
*/
|
|
16880
|
+
function compiledMatcher(key) {
|
|
16881
|
+
if (definitions === null) {
|
|
16882
|
+
definitions = new Map();
|
|
16883
|
+
for (let i = 0; i < keys.length; i++) {
|
|
16884
|
+
definitions.set(keys[i], i);
|
|
16885
|
+
}
|
|
16886
|
+
}
|
|
16887
|
+
const index = definitions.get(key);
|
|
16888
|
+
return index === undefined ? null : definition(index);
|
|
16889
|
+
}
|
|
16890
|
+
/**
|
|
16891
|
+
* match the tokens of a value with a compiled matcher
|
|
16892
|
+
* @param arena
|
|
16893
|
+
* @param matcher
|
|
16894
|
+
* @param tokens the value tokens
|
|
16895
|
+
* @param options
|
|
16896
|
+
* @returns true if the value is valid, false if the interpreter must validate it
|
|
16897
|
+
*/
|
|
16898
|
+
function matchCompiled(arena, matcher, tokens, options) {
|
|
16899
|
+
const toks = significantTokens(arena, tokens, []);
|
|
16900
|
+
// a css wide keyword (see matchSyntax())
|
|
16901
|
+
if (toks.length === 1 &&
|
|
16902
|
+
arena.dataTypes[toks[0]] === exports.EnumToken.IdenTokenType &&
|
|
16903
|
+
isCssWideKeyword(arena.resolveString(arena.stringValue[toks[0]]))) {
|
|
16904
|
+
return true;
|
|
16905
|
+
}
|
|
16906
|
+
const c = { arena, toks, len: toks.length, options, depth: 0, leaf: null, leafLen: -1 };
|
|
16907
|
+
try {
|
|
16908
|
+
return matcher(c, 0) === toks.length;
|
|
16909
|
+
}
|
|
16910
|
+
catch (error) {
|
|
16911
|
+
if (error === BAIL) {
|
|
16912
|
+
return false;
|
|
16913
|
+
}
|
|
16914
|
+
throw error;
|
|
16915
|
+
}
|
|
16916
|
+
}
|
|
16917
|
+
|
|
14552
16918
|
const config$3 = getSyntaxConfig();
|
|
14553
16919
|
// @ts-expect-error
|
|
14554
16920
|
const allValues = config$3.declarations.all.syntax.split(/[\s|]+/g);
|
|
@@ -14915,9 +17281,9 @@
|
|
|
14915
17281
|
* @param tokens
|
|
14916
17282
|
* @returns
|
|
14917
17283
|
*/
|
|
14918
|
-
function createValidationContext(arena, tokens) {
|
|
17284
|
+
function createValidationContext(arena, tokens, start = 0, end = tokens.length) {
|
|
14919
17285
|
const filtered = [];
|
|
14920
|
-
for (let i = 0; i <
|
|
17286
|
+
for (let i = Math.max(0, start); i < end; i++) {
|
|
14921
17287
|
if (arena.dataTypes[tokens[i]] !== exports.EnumToken.CommentTokenType) {
|
|
14922
17288
|
filtered.push(tokens[i]);
|
|
14923
17289
|
}
|
|
@@ -15216,7 +17582,9 @@
|
|
|
15216
17582
|
arena.dataTypes[stack.at(-1)] === exports.EnumToken.PseudoElementTokenType) {
|
|
15217
17583
|
const token = stack.at(-1);
|
|
15218
17584
|
const index = tokens.indexOf(token);
|
|
15219
|
-
|
|
17585
|
+
// the syntax is looked up once per function name, the tokens are read in place
|
|
17586
|
+
const result = matchAllSyntaxes(arena, selectorFunctionSyntax(arena, token)?.[0]
|
|
17587
|
+
?.chi ?? [], createValidationContext(arena, tokens, index + 1, tokens.length - 1), options);
|
|
15220
17588
|
if (!result.success) {
|
|
15221
17589
|
success = false;
|
|
15222
17590
|
if (result.errors.length > 0) {
|
|
@@ -15300,10 +17668,12 @@
|
|
|
15300
17668
|
],
|
|
15301
17669
|
};
|
|
15302
17670
|
}
|
|
15303
|
-
stream.length = 0
|
|
17671
|
+
// the tokens are written in place: the stream has at least as many tokens. `stream.length = 0` would release its
|
|
17672
|
+
// backing store, the pushes would allocate it again
|
|
15304
17673
|
for (let i = 0; i < tokens.length; i++) {
|
|
15305
|
-
stream
|
|
17674
|
+
stream[i] = tokens[i];
|
|
15306
17675
|
}
|
|
17676
|
+
stream.length = tokens.length;
|
|
15307
17677
|
return { success, errors };
|
|
15308
17678
|
}
|
|
15309
17679
|
/**
|
|
@@ -15372,6 +17742,10 @@
|
|
|
15372
17742
|
let encoding = new Float64Array(512);
|
|
15373
17743
|
let encodingLength = 0;
|
|
15374
17744
|
let encodingHash = 0;
|
|
17745
|
+
/**
|
|
17746
|
+
* true if the encoded value contains a token the compiled matchers do not handle (var(), a custom function call, ...): the interpreter validates the value, see {@link compiledVerdict}
|
|
17747
|
+
*/
|
|
17748
|
+
let encodingBail = false;
|
|
15375
17749
|
/**
|
|
15376
17750
|
* append a value to the encoding and update its hash
|
|
15377
17751
|
* @param value
|
|
@@ -15394,6 +17768,15 @@
|
|
|
15394
17768
|
*/
|
|
15395
17769
|
function encodeToken(arena, token) {
|
|
15396
17770
|
const typ = arena.dataTypes[token];
|
|
17771
|
+
if (typ === exports.EnumToken.WildCardFunctionTokenType ||
|
|
17772
|
+
typ === exports.EnumToken.WildCardFunctionTokenDefType ||
|
|
17773
|
+
typ === exports.EnumToken.CustomFunctionTokenType ||
|
|
17774
|
+
typ === exports.EnumToken.CustomFunctionTokenDefType ||
|
|
17775
|
+
typ === exports.EnumToken.BadCdoTokenType ||
|
|
17776
|
+
typ === exports.EnumToken.BadCommentTokenType ||
|
|
17777
|
+
typ === exports.EnumToken.BadStringTokenType) {
|
|
17778
|
+
encodingBail = true;
|
|
17779
|
+
}
|
|
15397
17780
|
encode$1(typ);
|
|
15398
17781
|
encode$1(arena.name[token]);
|
|
15399
17782
|
// the validation does not read the content of the strings (only their type): `content: "\f101"` and
|
|
@@ -15594,6 +17977,36 @@
|
|
|
15594
17977
|
}
|
|
15595
17978
|
return result;
|
|
15596
17979
|
}
|
|
17980
|
+
/**
|
|
17981
|
+
* the compiled matchers of the syntaxes, null when the syntaxes are not compiled
|
|
17982
|
+
*/
|
|
17983
|
+
const compiledMatchers = new WeakMap();
|
|
17984
|
+
/**
|
|
17985
|
+
* true if the value is valid according to the compiled matcher of the syntax. false: the interpreter must validate it
|
|
17986
|
+
* (the value may be valid). the value must be encoded (see {@link encodeToken})
|
|
17987
|
+
* @param arena
|
|
17988
|
+
* @param syntaxes
|
|
17989
|
+
* @param tokens
|
|
17990
|
+
* @param options
|
|
17991
|
+
*/
|
|
17992
|
+
function compiledVerdict(arena, syntaxes, tokens, options) {
|
|
17993
|
+
if (encodingBail) {
|
|
17994
|
+
return false;
|
|
17995
|
+
}
|
|
17996
|
+
let matcher = compiledMatchers.get(syntaxes);
|
|
17997
|
+
if (matcher === undefined) {
|
|
17998
|
+
const key = syntaxKey(syntaxes);
|
|
17999
|
+
matcher = key === null ? null : compiledMatcher(key);
|
|
18000
|
+
compiledMatchers.set(syntaxes, matcher);
|
|
18001
|
+
}
|
|
18002
|
+
if (matcher === null) {
|
|
18003
|
+
return false;
|
|
18004
|
+
}
|
|
18005
|
+
if (!matchCompiled(arena, matcher, tokens, options)) {
|
|
18006
|
+
return false;
|
|
18007
|
+
}
|
|
18008
|
+
return true;
|
|
18009
|
+
}
|
|
15597
18010
|
/**
|
|
15598
18011
|
* validate the value of a declaration. a value that has already been validated for the same syntax in the same arena
|
|
15599
18012
|
* (same encoding, see {@link encodeToken}) is not validated again: `width: 10px` is validated once, whatever the number
|
|
@@ -15606,10 +18019,15 @@
|
|
|
15606
18019
|
function matchDeclarationSyntax(arena, syntaxes, tokens, options) {
|
|
15607
18020
|
encodingLength = 0;
|
|
15608
18021
|
encodingHash = 0x811c9dc5;
|
|
18022
|
+
encodingBail = false;
|
|
15609
18023
|
for (let i = 0; i < tokens.length; i++) {
|
|
15610
18024
|
encodeToken(arena, tokens[i]);
|
|
15611
18025
|
}
|
|
15612
18026
|
const cached = findValidation(arena, syntaxes);
|
|
18027
|
+
if (cached == null && compiledVerdict(arena, syntaxes, tokens, options)) {
|
|
18028
|
+
cacheValidation(arena, syntaxes, storeEncoding(arena), encodingLength, encodingHash, true, null);
|
|
18029
|
+
return cachedValidMatch;
|
|
18030
|
+
}
|
|
15613
18031
|
if (cached != null) {
|
|
15614
18032
|
if (cached.valid) {
|
|
15615
18033
|
return cachedValidMatch;
|
|
@@ -15657,6 +18075,7 @@
|
|
|
15657
18075
|
function isValidDeclarationValue(arena, syntaxes, declaration, options) {
|
|
15658
18076
|
encodingLength = 0;
|
|
15659
18077
|
encodingHash = 0x811c9dc5;
|
|
18078
|
+
encodingBail = false;
|
|
15660
18079
|
for (let token = arena.firstToken[declaration]; token !== 0; token = arena.nextSibling[token]) {
|
|
15661
18080
|
encodeToken(arena, token);
|
|
15662
18081
|
}
|
|
@@ -15664,6 +18083,10 @@
|
|
|
15664
18083
|
if (cached != null) {
|
|
15665
18084
|
return cached.valid;
|
|
15666
18085
|
}
|
|
18086
|
+
if (compiledVerdict(arena, syntaxes, arena.tokens(declaration), options)) {
|
|
18087
|
+
cacheValidation(arena, syntaxes, storeEncoding(arena), encodingLength, encodingHash, true, null);
|
|
18088
|
+
return true;
|
|
18089
|
+
}
|
|
15667
18090
|
// the encoding is stored before the validation, which may encode other values
|
|
15668
18091
|
const length = encodingLength;
|
|
15669
18092
|
const offset = storeEncoding(arena);
|
|
@@ -16029,7 +18452,7 @@
|
|
|
16029
18452
|
*/
|
|
16030
18453
|
const wildCardProbes = new Map();
|
|
16031
18454
|
/**
|
|
16032
|
-
* var(), env()
|
|
18455
|
+
* var(), env(), if() and the custom function calls may be substituted by any number of values. the function is matched:
|
|
16033
18456
|
* - as a part of the syntax at index: `var(--color) 65%` is matched by `<linear-color-stop>` (`<color>` is the function)
|
|
16034
18457
|
* - as the syntax at index, or as all the remaining syntaxes when it is the last token
|
|
16035
18458
|
*
|
|
@@ -16189,12 +18612,27 @@
|
|
|
16189
18612
|
return wildCardResult;
|
|
16190
18613
|
}
|
|
16191
18614
|
}
|
|
18615
|
+
// a custom function call (`--fn()`) is substituted by the result of the function: like var(), it may be
|
|
18616
|
+
// substituted by any number of values
|
|
18617
|
+
if ((arena.dataTypes[token] === exports.EnumToken.CustomFunctionTokenType ||
|
|
18618
|
+
arena.dataTypes[token] === exports.EnumToken.CustomFunctionTokenDefType) &&
|
|
18619
|
+
wildCardProbes.get(token) !== syntaxes[i]) {
|
|
18620
|
+
const wildCardResult = matchWildCardFunction(arena, syntaxes, i, context, token,
|
|
18621
|
+
// the arguments of the call are not validated: they are the arguments of the custom function
|
|
18622
|
+
arena.dataTypes[token] === exports.EnumToken.CustomFunctionTokenDefType
|
|
18623
|
+
? trimArray(arena, context.peekRange()).at(-1)
|
|
18624
|
+
: token, options, out);
|
|
18625
|
+
if (wildCardResult == null) {
|
|
18626
|
+
continue;
|
|
18627
|
+
}
|
|
18628
|
+
return wildCardResult;
|
|
18629
|
+
}
|
|
16192
18630
|
if (
|
|
16193
18631
|
// @ts-ignore
|
|
16194
18632
|
arena.dataTypes[token] === exports.EnumToken.WildCardFunctionTokenDefType &&
|
|
16195
18633
|
wildCardProbes.get(token) !== syntaxes[i]) {
|
|
16196
18634
|
const range = trimArray(arena, context.peekRange());
|
|
16197
|
-
result = matchSyntax(arena, functionSyntax(arena, token)?.[0]?.chi, createValidationContext(arena, range
|
|
18635
|
+
result = matchSyntax(arena, functionSyntax(arena, token)?.[0]?.chi, createValidationContext(arena, range, 1, range.length - 1), options, out);
|
|
16198
18636
|
if (result.success) {
|
|
16199
18637
|
const wildCardResult = matchWildCardFunction(arena, syntaxes, i, context, token, range.at(-1), options, out);
|
|
16200
18638
|
if (wildCardResult == null) {
|
|
@@ -16496,7 +18934,7 @@
|
|
|
16496
18934
|
}
|
|
16497
18935
|
if (isFunctionDefType(arena.dataTypes[token])) {
|
|
16498
18936
|
const range = context.peekRange();
|
|
16499
|
-
result = matchSyntax(arena, syntaxes[i].chi, createValidationContext(arena, range
|
|
18937
|
+
result = matchSyntax(arena, syntaxes[i].chi, createValidationContext(arena, range, 1, range.length - 1), options, out);
|
|
16500
18938
|
if (result.success && result.context.done()) {
|
|
16501
18939
|
context.update(range.at(-1));
|
|
16502
18940
|
visitedSyntaxes[visit] = null;
|
|
@@ -16540,7 +18978,7 @@
|
|
|
16540
18978
|
equalsIgnoreCase(arena.resolveString(arena.stringValue[token]), syntaxes[i].val)) {
|
|
16541
18979
|
if (isFunctionDefType(arena.dataTypes[token])) {
|
|
16542
18980
|
const children = trimArray(arena, context.peekRange());
|
|
16543
|
-
result = matchSyntax(arena, (getParsedSyntax(ValidationSyntaxGroupEnum.Syntaxes, syntaxes[i].val + "()")?.[0]).chi ?? [], createValidationContext(arena, children
|
|
18981
|
+
result = matchSyntax(arena, (getParsedSyntax(ValidationSyntaxGroupEnum.Syntaxes, syntaxes[i].val + "()")?.[0]).chi ?? [], createValidationContext(arena, children, 1, children.length - 1), options, out);
|
|
16544
18982
|
if (result.success && result.context.done()) {
|
|
16545
18983
|
success = true;
|
|
16546
18984
|
visitedSyntaxes[visit] = null;
|
|
@@ -16819,7 +19257,7 @@
|
|
|
16819
19257
|
}
|
|
16820
19258
|
else {
|
|
16821
19259
|
const range = context.peekRange();
|
|
16822
|
-
result = matchSyntax(arena, syntax, createValidationContext(arena, range
|
|
19260
|
+
result = matchSyntax(arena, syntax, createValidationContext(arena, range, 1, range.length - 1), options);
|
|
16823
19261
|
if (result.success) {
|
|
16824
19262
|
context.update(range.at(-1));
|
|
16825
19263
|
return {
|
|
@@ -18548,6 +20986,7 @@
|
|
|
18548
20986
|
this.sourcesContent = sourcemaps.sourcesContent?.slice() ?? [];
|
|
18549
20987
|
const decodedMappings = sourcemaps.mappings
|
|
18550
20988
|
.split(";")
|
|
20989
|
+
// @ts-ignore
|
|
18551
20990
|
.map((mapping) => mapping.split(",").map((mapping) => decode(mapping)));
|
|
18552
20991
|
this.line = decodedMappings.length - 1;
|
|
18553
20992
|
for (let index = 0; index < decodedMappings.length; index++) {
|
|
@@ -19163,6 +21602,8 @@
|
|
|
19163
21602
|
* end of the key being looked up in the pool
|
|
19164
21603
|
*/
|
|
19165
21604
|
used = 0;
|
|
21605
|
+
// hash of the key being serialized, see serialize() and lookup()
|
|
21606
|
+
hash = 0x811c9dc5;
|
|
19166
21607
|
/**
|
|
19167
21608
|
* @param numericEquality compare the numeric values with `==` semantics (`0` and `-0` are equal) and consider
|
|
19168
21609
|
* all the `NaN` values equal. the raw bits are compared otherwise
|
|
@@ -19188,6 +21629,7 @@
|
|
|
19188
21629
|
this.growPool(used + 1);
|
|
19189
21630
|
}
|
|
19190
21631
|
this.pool[used++] = prefix;
|
|
21632
|
+
this.hash = Math.imul(0x811c9dc5 ^ prefix, 0x01000193);
|
|
19191
21633
|
for (let token = first; token !== 0; token = arena.nextSibling[token]) {
|
|
19192
21634
|
used = this.serialize(arena, token, used);
|
|
19193
21635
|
}
|
|
@@ -19200,6 +21642,7 @@
|
|
|
19200
21642
|
* @param token
|
|
19201
21643
|
*/
|
|
19202
21644
|
token(arena, token) {
|
|
21645
|
+
this.hash = 0x811c9dc5;
|
|
19203
21646
|
this.used = this.serialize(arena, token, this.poolSize);
|
|
19204
21647
|
return this.lookup();
|
|
19205
21648
|
}
|
|
@@ -19246,50 +21689,63 @@
|
|
|
19246
21689
|
const firstToken = arena.firstToken[token];
|
|
19247
21690
|
const firstChild = arena.firstChild[token];
|
|
19248
21691
|
let value = arena.numericValue[token];
|
|
19249
|
-
// type and color type are 8 bits values
|
|
21692
|
+
// type and color type are 8 bits values. the header is computed before its fields are written: the key is
|
|
21693
|
+
// hashed while it is written, in order (see lookup())
|
|
19250
21694
|
let header = arena.dataTypes[token] | (arena.colorType[token] << 8);
|
|
19251
|
-
|
|
21695
|
+
let hash = this.hash;
|
|
19252
21696
|
if (name !== 0) {
|
|
19253
21697
|
header |= 65536 /* Field.Name */;
|
|
19254
|
-
buffer[used++] = name;
|
|
19255
21698
|
}
|
|
19256
21699
|
if (str !== 0) {
|
|
19257
21700
|
header |= 131072 /* Field.String */;
|
|
19258
|
-
buffer[used++] = str;
|
|
19259
21701
|
}
|
|
19260
21702
|
if (unit !== 0) {
|
|
19261
21703
|
header |= 262144 /* Field.Unit */;
|
|
19262
|
-
buffer[used++] = unit;
|
|
19263
21704
|
}
|
|
19264
21705
|
if (this.numericEquality) {
|
|
19265
21706
|
value = normalize(value);
|
|
19266
21707
|
}
|
|
19267
21708
|
// 0 is not serialized. -0 is not an integer: its raw bits are serialized
|
|
19268
|
-
|
|
19269
|
-
|
|
19270
|
-
header |= 524288 /* Field.Integer */;
|
|
19271
|
-
buffer[used++] = value;
|
|
19272
|
-
}
|
|
19273
|
-
else {
|
|
19274
|
-
header |= 1048576 /* Field.Number */;
|
|
19275
|
-
f64[0] = value;
|
|
19276
|
-
buffer[used++] = bits[0];
|
|
19277
|
-
buffer[used++] = bits[1];
|
|
19278
|
-
}
|
|
19279
|
-
}
|
|
21709
|
+
const numeric = value !== 0 || 1 / value < 0 ? ((value | 0) === value && value !== 0 ? 524288 /* Field.Integer */ : 1048576 /* Field.Number */) : 0;
|
|
21710
|
+
header |= numeric;
|
|
19280
21711
|
if (firstToken !== 0) {
|
|
19281
21712
|
header |= 2097152 /* Field.Tokens */;
|
|
19282
21713
|
}
|
|
19283
21714
|
if (firstChild !== 0) {
|
|
19284
21715
|
header |= 4194304 /* Field.Children */;
|
|
19285
21716
|
}
|
|
19286
|
-
buffer[
|
|
21717
|
+
buffer[used++] = header;
|
|
21718
|
+
hash = Math.imul(hash ^ header, 0x01000193);
|
|
21719
|
+
if (name !== 0) {
|
|
21720
|
+
buffer[used++] = name;
|
|
21721
|
+
hash = Math.imul(hash ^ name, 0x01000193);
|
|
21722
|
+
}
|
|
21723
|
+
if (str !== 0) {
|
|
21724
|
+
buffer[used++] = str;
|
|
21725
|
+
hash = Math.imul(hash ^ str, 0x01000193);
|
|
21726
|
+
}
|
|
21727
|
+
if (unit !== 0) {
|
|
21728
|
+
buffer[used++] = unit;
|
|
21729
|
+
hash = Math.imul(hash ^ unit, 0x01000193);
|
|
21730
|
+
}
|
|
21731
|
+
if (numeric === 524288 /* Field.Integer */) {
|
|
21732
|
+
buffer[used++] = value;
|
|
21733
|
+
hash = Math.imul(hash ^ value, 0x01000193);
|
|
21734
|
+
}
|
|
21735
|
+
else if (numeric === 1048576 /* Field.Number */) {
|
|
21736
|
+
f64[0] = value;
|
|
21737
|
+
buffer[used++] = bits[0];
|
|
21738
|
+
buffer[used++] = bits[1];
|
|
21739
|
+
hash = Math.imul(Math.imul(hash ^ bits[0], 0x01000193) ^ bits[1], 0x01000193);
|
|
21740
|
+
}
|
|
21741
|
+
this.hash = hash;
|
|
19287
21742
|
if (firstToken !== 0) {
|
|
19288
21743
|
for (let child = firstToken; child !== 0; child = arena.nextSibling[child]) {
|
|
19289
21744
|
used = this.serialize(arena, child, used);
|
|
19290
21745
|
}
|
|
19291
21746
|
buffer = used + 1 > this.poolLength ? this.growPool(used + 1) : this.pool;
|
|
19292
21747
|
buffer[used++] = End;
|
|
21748
|
+
this.hash = Math.imul(this.hash ^ End, 0x01000193);
|
|
19293
21749
|
}
|
|
19294
21750
|
if (firstChild !== 0) {
|
|
19295
21751
|
for (let child = firstChild; child !== 0; child = arena.nextSibling[child]) {
|
|
@@ -19297,6 +21753,7 @@
|
|
|
19297
21753
|
}
|
|
19298
21754
|
buffer = used + 1 > this.poolLength ? this.growPool(used + 1) : this.pool;
|
|
19299
21755
|
buffer[used++] = End;
|
|
21756
|
+
this.hash = Math.imul(this.hash ^ End, 0x01000193);
|
|
19300
21757
|
}
|
|
19301
21758
|
return used;
|
|
19302
21759
|
}
|
|
@@ -19316,10 +21773,8 @@
|
|
|
19316
21773
|
const pool = this.pool;
|
|
19317
21774
|
const base = this.poolSize;
|
|
19318
21775
|
const length = this.used - base;
|
|
19319
|
-
|
|
19320
|
-
|
|
19321
|
-
hash = Math.imul(hash ^ pool[i], 0x01000193);
|
|
19322
|
-
}
|
|
21776
|
+
// the key was hashed while it was serialized: the length is mixed in
|
|
21777
|
+
let hash = Math.imul(this.hash ^ length, 0x01000193);
|
|
19323
21778
|
// the multiplications only propagate the bits upwards: the low bits, used as the table index, are mixed with
|
|
19324
21779
|
// the high bits (murmur3 finalizer)
|
|
19325
21780
|
hash ^= hash >>> 16;
|
|
@@ -19971,6 +22426,10 @@
|
|
|
19971
22426
|
*
|
|
19972
22427
|
* @internal
|
|
19973
22428
|
*/
|
|
22429
|
+
/**
|
|
22430
|
+
* `CSS_PARSER_CHECK_SIZE`: the computed sizes are checked against the rendered sizes (tests)
|
|
22431
|
+
*/
|
|
22432
|
+
const checkSize = globalThis.process?.env?.CSS_PARSER_CHECK_SIZE != null;
|
|
19974
22433
|
class NodeRenderer {
|
|
19975
22434
|
/**
|
|
19976
22435
|
* An instance is kept alive: the hidden class of the instances would otherwise be collected by a full garbage
|
|
@@ -20046,11 +22505,17 @@
|
|
|
20046
22505
|
if (!this.direct) {
|
|
20047
22506
|
return RenderResult.codeLength(doRender(arena, node, this.options, null, this.cache.memo));
|
|
20048
22507
|
}
|
|
20049
|
-
// the
|
|
20050
|
-
const
|
|
20051
|
-
|
|
20052
|
-
|
|
20053
|
-
|
|
22508
|
+
// the size is computed from the sizes of the parts: the node is not rendered
|
|
22509
|
+
const size = nodeSize(arena, node, this.resolved, this.reducer, this.cache, 0) >> 1;
|
|
22510
|
+
if (checkSize) {
|
|
22511
|
+
const writer = this.writer;
|
|
22512
|
+
writer.reset();
|
|
22513
|
+
renderAstNode(arena, node, this.resolved, null, this.location, null, this.errors, this.reducer, this.cache, writer, 0, this.indents);
|
|
22514
|
+
if (size !== writer.codeLength) {
|
|
22515
|
+
throw new Error(`computed size of node ${node} (${size}) differs from its rendered size (${writer.codeLength})`);
|
|
22516
|
+
}
|
|
22517
|
+
}
|
|
22518
|
+
return size;
|
|
20054
22519
|
}
|
|
20055
22520
|
}
|
|
20056
22521
|
/**
|
|
@@ -20686,15 +23151,38 @@
|
|
|
20686
23151
|
return rendered;
|
|
20687
23152
|
}
|
|
20688
23153
|
/**
|
|
20689
|
-
*
|
|
20690
|
-
* tokens) are rendered and encoded once per render: the bytes written first are copied
|
|
23154
|
+
* the rendered value of a declaration (without the name): rendered once per structure, see {@link RenderMemo}
|
|
20691
23155
|
* @param arena
|
|
20692
23156
|
* @param node declaration
|
|
20693
23157
|
* @param options
|
|
20694
23158
|
* @param cache
|
|
20695
23159
|
* @param reducer
|
|
20696
|
-
* @param
|
|
23160
|
+
* @param slot the memo slot of the declaration when it has been looked up, -1 otherwise
|
|
20697
23161
|
*/
|
|
23162
|
+
function declarationValue$1(arena, node, options, cache, reducer, slot = -1) {
|
|
23163
|
+
const memo = getRenderMemo(cache, options);
|
|
23164
|
+
if (memo !== null) {
|
|
23165
|
+
if (slot === -1) {
|
|
23166
|
+
// the name is part of the key
|
|
23167
|
+
slot = memo.declarations.list(arena, arena.firstToken[node], arena.name[node]);
|
|
23168
|
+
}
|
|
23169
|
+
const value = memo.values[slot];
|
|
23170
|
+
if (value !== undefined) {
|
|
23171
|
+
return value;
|
|
23172
|
+
}
|
|
23173
|
+
}
|
|
23174
|
+
if (options.minifyValues && isUnminifiedDeclaration(arena, node)) {
|
|
23175
|
+
// override options to avoid minifying values for custom properties
|
|
23176
|
+
options = { ...options, minifyValues: false };
|
|
23177
|
+
// override the reducer
|
|
23178
|
+
reducer = createReducer(arena, options, cache);
|
|
23179
|
+
}
|
|
23180
|
+
const value = renderDeclarationValue(arena, node, options.minifyValues, reducer).trimEnd();
|
|
23181
|
+
if (memo !== null) {
|
|
23182
|
+
memo.values[slot] = value;
|
|
23183
|
+
}
|
|
23184
|
+
return value;
|
|
23185
|
+
}
|
|
20698
23186
|
function writeDeclaration(arena, node, options, cache, reducer, writer) {
|
|
20699
23187
|
const memo = getRenderMemo(cache, options);
|
|
20700
23188
|
let slot = -1;
|
|
@@ -20711,19 +23199,7 @@
|
|
|
20711
23199
|
const start = writer.length;
|
|
20712
23200
|
const extra = writer.extra;
|
|
20713
23201
|
// the rendered value of an identical declaration, rendered to another buffer (see NodeRenderer)
|
|
20714
|
-
|
|
20715
|
-
if (value === undefined) {
|
|
20716
|
-
if (options.minifyValues && isUnminifiedDeclaration(arena, node)) {
|
|
20717
|
-
// override options to avoid minifying values for custom properties
|
|
20718
|
-
options = { ...options, minifyValues: false };
|
|
20719
|
-
// override the reducer
|
|
20720
|
-
reducer = createReducer(arena, options, cache);
|
|
20721
|
-
}
|
|
20722
|
-
value = renderDeclarationValue(arena, node, options.minifyValues, reducer).trimEnd();
|
|
20723
|
-
if (memo !== null) {
|
|
20724
|
-
memo.values[slot] = value;
|
|
20725
|
-
}
|
|
20726
|
-
}
|
|
23202
|
+
const value = declarationValue$1(arena, node, options, cache, reducer, slot);
|
|
20727
23203
|
// the parts are written directly: `name`, `:`, `indent`, `value`. the name is copied from the string table
|
|
20728
23204
|
writeString(arena, arena.name[node], writer);
|
|
20729
23205
|
writer.writeByte(0x3a);
|
|
@@ -20735,6 +23211,146 @@
|
|
|
20735
23211
|
memo.locate(slot, writer, start, extra);
|
|
20736
23212
|
}
|
|
20737
23213
|
}
|
|
23214
|
+
/**
|
|
23215
|
+
* the size of a rendered node, computed without rendering it: the declarations are measured from their rendered values
|
|
23216
|
+
* (rendered once per structure, see {@link declarationValue}), the layout follows {@link renderAstNode} (no source
|
|
23217
|
+
* map). the result is `size * 2 + 1` when the output ends with a semicolon, `size * 2` otherwise (0 when the node
|
|
23218
|
+
* renders nothing): no object is allocated
|
|
23219
|
+
* @param arena
|
|
23220
|
+
* @param data
|
|
23221
|
+
* @param options
|
|
23222
|
+
* @param reducer
|
|
23223
|
+
* @param cache
|
|
23224
|
+
* @param level
|
|
23225
|
+
*/
|
|
23226
|
+
function nodeSize(arena, data, options, reducer, cache, level) {
|
|
23227
|
+
const optIndent = options.indent;
|
|
23228
|
+
const newLine = options.newLine;
|
|
23229
|
+
const indentLength = optIndent.length * level;
|
|
23230
|
+
const typ = arena.dataTypes[data];
|
|
23231
|
+
switch (typ) {
|
|
23232
|
+
case exports.EnumToken.DeclarationNodeType: {
|
|
23233
|
+
const value = declarationValue$1(arena, data, options, cache, reducer);
|
|
23234
|
+
return ((arena.stringLength(arena.name[data]) + 1 + optIndent.length + value.length) * 2 +
|
|
23235
|
+
(value.endsWith(";") ? 1 : 0));
|
|
23236
|
+
}
|
|
23237
|
+
case exports.EnumToken.CommentNodeType:
|
|
23238
|
+
case exports.EnumToken.CDOCOMMNodeType: {
|
|
23239
|
+
const id = arena.stringValue[data];
|
|
23240
|
+
if (arena.stringStartsWith(id, "/*# sourceMappingURL=")) {
|
|
23241
|
+
return 0;
|
|
23242
|
+
}
|
|
23243
|
+
if (!options.removeComments || (options.preserveLicense && arena.stringStartsWith(id, "/*!"))) {
|
|
23244
|
+
const length = arena.stringLength(id);
|
|
23245
|
+
return length * 2 + (length > 0 && arena.stringCodeAt(id, length - 1) === 0x3b ? 1 : 0);
|
|
23246
|
+
}
|
|
23247
|
+
return 0;
|
|
23248
|
+
}
|
|
23249
|
+
case exports.EnumToken.StyleSheetNodeType: {
|
|
23250
|
+
let size = 0;
|
|
23251
|
+
let empty = true;
|
|
23252
|
+
let last = 0;
|
|
23253
|
+
for (let node = arena.firstChild[data]; node !== 0; node = arena.nextSibling[node]) {
|
|
23254
|
+
const child = nodeSize(arena, node, options, reducer, cache, level);
|
|
23255
|
+
if (child >= 2) {
|
|
23256
|
+
if (!empty) {
|
|
23257
|
+
size += newLine.length;
|
|
23258
|
+
}
|
|
23259
|
+
size += child >> 1;
|
|
23260
|
+
empty = false;
|
|
23261
|
+
last = child & 1;
|
|
23262
|
+
}
|
|
23263
|
+
}
|
|
23264
|
+
return size * 2 + last;
|
|
23265
|
+
}
|
|
23266
|
+
case exports.EnumToken.AtRuleNodeType:
|
|
23267
|
+
case exports.EnumToken.RuleNodeType:
|
|
23268
|
+
case exports.EnumToken.KeyframesRuleNodeType:
|
|
23269
|
+
case exports.EnumToken.KeyframesAtRuleNodeType: {
|
|
23270
|
+
const isAtRule = typ === exports.EnumToken.AtRuleNodeType || typ === exports.EnumToken.KeyframesAtRuleNodeType;
|
|
23271
|
+
const nameId = arena.name[data];
|
|
23272
|
+
const valueId = arena.stringValue[data];
|
|
23273
|
+
let size = 0;
|
|
23274
|
+
if (indentLength > 0 && newLine !== "") {
|
|
23275
|
+
size += newLine.length;
|
|
23276
|
+
}
|
|
23277
|
+
size += indentLength;
|
|
23278
|
+
if (isAtRule) {
|
|
23279
|
+
size += 1 + arena.stringLength(nameId);
|
|
23280
|
+
if (arena.stringLength(valueId) > 0) {
|
|
23281
|
+
size += (optIndent || " ").length + arena.stringLength(valueId);
|
|
23282
|
+
}
|
|
23283
|
+
if (!(arena.flags[data] & exports.EnumAstNodeStatus.HasChildren)) {
|
|
23284
|
+
return (size + 1) * 2 + 1;
|
|
23285
|
+
}
|
|
23286
|
+
}
|
|
23287
|
+
else {
|
|
23288
|
+
size += arena.stringLength(nameId);
|
|
23289
|
+
}
|
|
23290
|
+
size += optIndent.length + 1;
|
|
23291
|
+
const indentSubLength = optIndent.length * (level + 1);
|
|
23292
|
+
let body = 0;
|
|
23293
|
+
let semicolon = false;
|
|
23294
|
+
for (let node = arena.firstChild[data]; node !== 0; node = arena.nextSibling[node]) {
|
|
23295
|
+
const nodeType = arena.dataTypes[node];
|
|
23296
|
+
if (nodeType === exports.EnumToken.DeclarationNodeType) {
|
|
23297
|
+
body +=
|
|
23298
|
+
(semicolon ? 1 : 0) +
|
|
23299
|
+
newLine.length +
|
|
23300
|
+
indentSubLength +
|
|
23301
|
+
(nodeSize(arena, node, options, reducer, cache, level + 1) >> 1);
|
|
23302
|
+
semicolon = true;
|
|
23303
|
+
}
|
|
23304
|
+
else if (nodeType === exports.EnumToken.CommentNodeType) {
|
|
23305
|
+
const commentId = arena.stringValue[node];
|
|
23306
|
+
if (options.removeComments && (!options.preserveLicense || !arena.stringStartsWith(commentId, "/*!"))) {
|
|
23307
|
+
continue;
|
|
23308
|
+
}
|
|
23309
|
+
const length = arena.stringLength(commentId);
|
|
23310
|
+
if (length > 0) {
|
|
23311
|
+
body += (semicolon ? 1 : 0) + newLine.length + indentSubLength + length;
|
|
23312
|
+
// a trailing semicolon is removed: it is written before the next node
|
|
23313
|
+
semicolon = arena.stringCodeAt(commentId, length - 1) === 0x3b;
|
|
23314
|
+
if (semicolon) {
|
|
23315
|
+
body--;
|
|
23316
|
+
}
|
|
23317
|
+
}
|
|
23318
|
+
}
|
|
23319
|
+
else {
|
|
23320
|
+
const child = nodeSize(arena, node, options, reducer, cache, level + 1);
|
|
23321
|
+
if (child >= 2) {
|
|
23322
|
+
body += (semicolon ? 1 : 0) + (child >> 1);
|
|
23323
|
+
switch (nodeType) {
|
|
23324
|
+
case exports.EnumToken.AtRuleNodeType:
|
|
23325
|
+
case exports.EnumToken.KeyframesAtRuleNodeType:
|
|
23326
|
+
semicolon = !(arena.flags[node] & exports.EnumAstNodeStatus.HasChildren);
|
|
23327
|
+
break;
|
|
23328
|
+
case exports.EnumToken.RuleNodeType:
|
|
23329
|
+
case exports.EnumToken.KeyframesRuleNodeType:
|
|
23330
|
+
semicolon = false;
|
|
23331
|
+
break;
|
|
23332
|
+
default:
|
|
23333
|
+
semicolon = (child & 1) === 1;
|
|
23334
|
+
}
|
|
23335
|
+
if (semicolon) {
|
|
23336
|
+
body--;
|
|
23337
|
+
}
|
|
23338
|
+
}
|
|
23339
|
+
}
|
|
23340
|
+
}
|
|
23341
|
+
if (options.removeEmpty &&
|
|
23342
|
+
body === 0 &&
|
|
23343
|
+
!(typ === exports.EnumToken.AtRuleNodeType &&
|
|
23344
|
+
(arena.stringEquals(nameId, "apply") ||
|
|
23345
|
+
arena.stringEquals(nameId, "mixin") ||
|
|
23346
|
+
arena.stringEquals(nameId, "function")))) {
|
|
23347
|
+
return 0;
|
|
23348
|
+
}
|
|
23349
|
+
return (size + body + newLine.length + indentLength + 1) * 2;
|
|
23350
|
+
}
|
|
23351
|
+
}
|
|
23352
|
+
return 0;
|
|
23353
|
+
}
|
|
20738
23354
|
/**
|
|
20739
23355
|
* render the value tokens of a declaration with the reducer. with minifyValues, the whitespace that is not needed is
|
|
20740
23356
|
* skipped like {@link filterValues} does, without copying the tokens into an array: the whitespace before
|
|
@@ -30425,6 +33041,10 @@
|
|
|
30425
33041
|
* the kind of a transform function name or of a transform property name (see `transformKind()`)
|
|
30426
33042
|
*/
|
|
30427
33043
|
StringDerived[StringDerived["TransformKind"] = 2] = "TransformKind";
|
|
33044
|
+
/**
|
|
33045
|
+
* true if the rules are allowed in the block of an at-rule (by name, without `@`), see `parseSelector()`
|
|
33046
|
+
*/
|
|
33047
|
+
StringDerived[StringDerived["AtRuleAcceptsRules"] = 3] = "AtRuleAcceptsRules";
|
|
30428
33048
|
})(StringDerived || (StringDerived = {}));
|
|
30429
33049
|
/**
|
|
30430
33050
|
* string of a range of code units
|
|
@@ -40886,26 +43506,12 @@
|
|
|
40886
43506
|
let index;
|
|
40887
43507
|
let parent = context;
|
|
40888
43508
|
let nested = false;
|
|
40889
|
-
let val;
|
|
40890
43509
|
if (contextType !== exports.EnumToken.StyleSheetNodeType && contextType !== exports.EnumToken.RuleNodeType) {
|
|
40891
43510
|
allowed = false;
|
|
40892
43511
|
if (contextType === exports.EnumToken.AtRuleNodeType) {
|
|
40893
|
-
|
|
40894
|
-
|
|
40895
|
-
|
|
40896
|
-
const rules = syntaxRule?.getBlockRules?.();
|
|
40897
|
-
if (rules != null) {
|
|
40898
|
-
for (const rule of rules) {
|
|
40899
|
-
if (ValidationTokenEnum.PropertyType === rule.typ) {
|
|
40900
|
-
if ("block-contents" === rule.val ||
|
|
40901
|
-
"rule-list" === rule.val) {
|
|
40902
|
-
allowed = true;
|
|
40903
|
-
break;
|
|
40904
|
-
}
|
|
40905
|
-
}
|
|
40906
|
-
}
|
|
40907
|
-
}
|
|
40908
|
-
}
|
|
43512
|
+
// computed once per at-rule name: the name is not concatenated for each selector
|
|
43513
|
+
atRuleArena = arena;
|
|
43514
|
+
allowed = arena.stringDerived(arena.name[context], 3 /* StringDerived.AtRuleAcceptsRules */, atRuleAcceptsRules);
|
|
40909
43515
|
}
|
|
40910
43516
|
}
|
|
40911
43517
|
while (parent != null && parent > 0) {
|
|
@@ -40940,13 +43546,12 @@
|
|
|
40940
43546
|
continue;
|
|
40941
43547
|
}
|
|
40942
43548
|
if (arena.dataTypes[next] === exports.EnumToken.FunctionTokenDefType) {
|
|
40943
|
-
|
|
43549
|
+
// ":" + name, no string is created. `:name()` is a selector function: looked up once per name
|
|
43550
|
+
arena.stringValue[token] = arena.internBuilder(arena.appendString(pseudoBuilder.reset().appendCode(0x3a), arena.stringValue[next]));
|
|
40944
43551
|
arena.dataTypes[token] =
|
|
40945
|
-
|
|
43552
|
+
selectorFunctionSyntax(arena, token) != null
|
|
40946
43553
|
? exports.EnumToken.PseudoClassFunctionTokenDefType
|
|
40947
43554
|
: arena.dataTypes[next];
|
|
40948
|
-
// inlined: arena.setStr(token, val)
|
|
40949
|
-
arena.stringValue[token] = arena.internString(val);
|
|
40950
43555
|
arena.spanLocation(token, token, next);
|
|
40951
43556
|
all[write++] = token;
|
|
40952
43557
|
read++;
|
|
@@ -40970,13 +43575,12 @@
|
|
|
40970
43575
|
continue;
|
|
40971
43576
|
}
|
|
40972
43577
|
if (arena.dataTypes[next] === exports.EnumToken.FunctionTokenDefType) {
|
|
40973
|
-
|
|
43578
|
+
// "::" + name, no string is created
|
|
43579
|
+
arena.stringValue[token] = arena.internBuilder(arena.appendString(pseudoBuilder.reset().appendCode(0x3a).appendCode(0x3a), arena.stringValue[next]));
|
|
40974
43580
|
arena.dataTypes[token] =
|
|
40975
|
-
|
|
43581
|
+
selectorFunctionSyntax(arena, token) != null
|
|
40976
43582
|
? exports.EnumToken.PseudoClassFunctionTokenDefType
|
|
40977
43583
|
: exports.EnumToken.FunctionTokenDefType;
|
|
40978
|
-
// inlined: arena.setStr(token, val)
|
|
40979
|
-
arena.stringValue[token] = arena.internString(val);
|
|
40980
43584
|
arena.spanLocation(token, token, next);
|
|
40981
43585
|
all[write++] = token;
|
|
40982
43586
|
read++;
|
|
@@ -41078,6 +43682,32 @@
|
|
|
41078
43682
|
* builder of the pseudo classes and pseudo elements
|
|
41079
43683
|
*/
|
|
41080
43684
|
const pseudoBuilder = new StringBuilder();
|
|
43685
|
+
/**
|
|
43686
|
+
* the arena of the at-rule names read by {@link atRuleAcceptsRules}: the function passed to the string table is not a
|
|
43687
|
+
* closure
|
|
43688
|
+
*/
|
|
43689
|
+
let atRuleArena = null;
|
|
43690
|
+
/**
|
|
43691
|
+
* true if the rules are allowed in the block of an at-rule, by name (see {@link StringDerived.AtRuleAcceptsRules})
|
|
43692
|
+
* @param id the at-rule name
|
|
43693
|
+
*/
|
|
43694
|
+
function atRuleAcceptsRules(id) {
|
|
43695
|
+
const syntaxRule = getSyntaxRule(ValidationSyntaxGroupEnum.AtRules, "@" + atRuleArena.resolveString(id));
|
|
43696
|
+
if (syntaxRule?.acceptAnyRule) {
|
|
43697
|
+
return true;
|
|
43698
|
+
}
|
|
43699
|
+
const rules = syntaxRule?.getBlockRules?.();
|
|
43700
|
+
if (rules != null) {
|
|
43701
|
+
for (const rule of rules) {
|
|
43702
|
+
if (ValidationTokenEnum.PropertyType === rule.typ &&
|
|
43703
|
+
("block-contents" === rule.val ||
|
|
43704
|
+
"rule-list" === rule.val)) {
|
|
43705
|
+
return true;
|
|
43706
|
+
}
|
|
43707
|
+
}
|
|
43708
|
+
}
|
|
43709
|
+
return false;
|
|
43710
|
+
}
|
|
41081
43711
|
/**
|
|
41082
43712
|
* true if ":" + the string is a pseudo element with a single colon syntax (`:before`). the string is not created
|
|
41083
43713
|
* @param arena
|
|
@@ -43627,13 +46257,12 @@
|
|
|
43627
46257
|
* @private
|
|
43628
46258
|
*/
|
|
43629
46259
|
const getKeyName = memoize((key, how) => {
|
|
43630
|
-
|
|
43631
|
-
|
|
43632
|
-
|
|
43633
|
-
|
|
43634
|
-
|
|
43635
|
-
|
|
43636
|
-
return dasherize(key);
|
|
46260
|
+
// the case transforms are flags
|
|
46261
|
+
if (how & (exports.ModuleCaseTransformEnum.CamelCase | exports.ModuleCaseTransformEnum.CamelCaseOnly)) {
|
|
46262
|
+
return camelize(key);
|
|
46263
|
+
}
|
|
46264
|
+
if (how & (exports.ModuleCaseTransformEnum.DashCase | exports.ModuleCaseTransformEnum.DashCaseOnly)) {
|
|
46265
|
+
return dasherize(key);
|
|
43637
46266
|
}
|
|
43638
46267
|
return key;
|
|
43639
46268
|
});
|
|
@@ -43881,8 +46510,8 @@
|
|
|
43881
46510
|
valuesHandlers.get(exports.EnumToken[key]).push(value);
|
|
43882
46511
|
}
|
|
43883
46512
|
else if (typeof value === "object") {
|
|
43884
|
-
if ("type" in value && "handler" in value && value.type
|
|
43885
|
-
if (value.type
|
|
46513
|
+
if ("type" in value && "handler" in value && typeof value.type == "number" && (value.type & (exports.WalkerEvent.Enter | exports.WalkerEvent.Leave)) != 0) {
|
|
46514
|
+
if (value.type & exports.WalkerEvent.Enter) {
|
|
43886
46515
|
if (!preValuesHandlers.has(exports.EnumToken[key])) {
|
|
43887
46516
|
preValuesHandlers.set(exports.EnumToken[key], []);
|
|
43888
46517
|
}
|
|
@@ -43890,7 +46519,7 @@
|
|
|
43890
46519
|
.get(exports.EnumToken[key])
|
|
43891
46520
|
.push(value.handler);
|
|
43892
46521
|
}
|
|
43893
|
-
|
|
46522
|
+
if (value.type & exports.WalkerEvent.Leave) {
|
|
43894
46523
|
if (!postValuesHandlers.has(exports.EnumToken[key])) {
|
|
43895
46524
|
postValuesHandlers.set(exports.EnumToken[key], []);
|
|
43896
46525
|
}
|
|
@@ -43919,8 +46548,8 @@
|
|
|
43919
46548
|
.push(value);
|
|
43920
46549
|
}
|
|
43921
46550
|
else if (typeof value === "object") {
|
|
43922
|
-
if ("type" in value && "handler" in value && value.type
|
|
43923
|
-
if (value.type
|
|
46551
|
+
if ("type" in value && "handler" in value && typeof value.type == "number" && (value.type & (exports.WalkerEvent.Enter | exports.WalkerEvent.Leave)) != 0) {
|
|
46552
|
+
if (value.type & exports.WalkerEvent.Enter) {
|
|
43924
46553
|
if (!preVisitorsHandlersMap.has(key)) {
|
|
43925
46554
|
preVisitorsHandlersMap.set(key, []);
|
|
43926
46555
|
}
|
|
@@ -43928,7 +46557,7 @@
|
|
|
43928
46557
|
.get(key)
|
|
43929
46558
|
.push(value.handler);
|
|
43930
46559
|
}
|
|
43931
|
-
|
|
46560
|
+
if (value.type & exports.WalkerEvent.Leave) {
|
|
43932
46561
|
if (!postVisitorsHandlersMap.has(key)) {
|
|
43933
46562
|
postVisitorsHandlersMap.set(key, []);
|
|
43934
46563
|
}
|
|
@@ -43955,11 +46584,11 @@
|
|
|
43955
46584
|
allVisitorsHandlers.add(value);
|
|
43956
46585
|
}
|
|
43957
46586
|
else if (typeof value === "object") {
|
|
43958
|
-
if ("type" in value && "handler" in value && value.type
|
|
43959
|
-
if (value.type
|
|
46587
|
+
if ("type" in value && "handler" in value && typeof value.type == "number" && (value.type & (exports.WalkerEvent.Enter | exports.WalkerEvent.Leave)) != 0) {
|
|
46588
|
+
if (value.type & exports.WalkerEvent.Enter) {
|
|
43960
46589
|
preAllVisitorsHandlers.add(value.handler);
|
|
43961
46590
|
}
|
|
43962
|
-
|
|
46591
|
+
if (value.type & exports.WalkerEvent.Leave) {
|
|
43963
46592
|
postAllVisitorsHandlers.add(value.handler);
|
|
43964
46593
|
}
|
|
43965
46594
|
}
|
|
@@ -44914,7 +47543,7 @@
|
|
|
44914
47543
|
}
|
|
44915
47544
|
}
|
|
44916
47545
|
}
|
|
44917
|
-
if (moduleSettings.naming
|
|
47546
|
+
if ((moduleSettings.naming & exports.ModuleCaseTransformEnum.IgnoreCase) == 0) {
|
|
44918
47547
|
revMapping = {};
|
|
44919
47548
|
mapping = {};
|
|
44920
47549
|
let keyName;
|
|
@@ -46000,7 +48629,7 @@
|
|
|
46000
48629
|
}
|
|
46001
48630
|
}
|
|
46002
48631
|
}
|
|
46003
|
-
if (moduleSettings.naming
|
|
48632
|
+
if ((moduleSettings.naming & exports.ModuleCaseTransformEnum.IgnoreCase) == 0) {
|
|
46004
48633
|
revMapping = {};
|
|
46005
48634
|
mapping = Object.entries(mapping).reduce((acc, [key, value]) => {
|
|
46006
48635
|
const keyName = getKeyName(key, moduleSettings.naming);
|
|
@@ -46762,7 +49391,7 @@
|
|
|
46762
49391
|
success = false;
|
|
46763
49392
|
}
|
|
46764
49393
|
else {
|
|
46765
|
-
context = createValidationContext(arena, stream
|
|
49394
|
+
context = createValidationContext(arena, stream, index);
|
|
46766
49395
|
// @ts-ignore
|
|
46767
49396
|
range = context.peekRange((t) => arena.dataTypes[t] === exports.EnumToken.EndParensTokenType);
|
|
46768
49397
|
// inlined: arena.typeOf(range.at(-1))
|
|
@@ -47479,7 +50108,7 @@
|
|
|
47479
50108
|
/**
|
|
47480
50109
|
* Version number
|
|
47481
50110
|
*/
|
|
47482
|
-
const version = "2.
|
|
50111
|
+
const version = "2.3.0";
|
|
47483
50112
|
|
|
47484
50113
|
/**
|
|
47485
50114
|
* Load file or url
|
|
@@ -47724,7 +50353,7 @@
|
|
|
47724
50353
|
return Promise.resolve((options.load != null
|
|
47725
50354
|
? options.load(file, "", options.asStream ?? false)
|
|
47726
50355
|
: // the default loader loads the file as an ArrayBuffer: the preferred input of the tokenizer
|
|
47727
|
-
load(file, "", options.asStream ? exports.ResponseType.ReadableStream : exports.ResponseType.ArrayBuffer))).then((stream) => parse(stream, { src:
|
|
50356
|
+
load(file, "", options.asStream ? exports.ResponseType.ReadableStream : exports.ResponseType.ArrayBuffer))).then((stream) => parse(stream, { src: file, ...options }));
|
|
47728
50357
|
}
|
|
47729
50358
|
else {
|
|
47730
50359
|
stream = input;
|
|
@@ -47799,7 +50428,7 @@
|
|
|
47799
50428
|
return Promise.resolve((options.load != null
|
|
47800
50429
|
? options.load(file, "", options.asStream ?? false)
|
|
47801
50430
|
: // the default loader loads the file as an ArrayBuffer: the preferred input of the tokenizer
|
|
47802
|
-
load(file, "", options.asStream ? exports.ResponseType.ReadableStream : exports.ResponseType.ArrayBuffer))).then((stream) => transform(stream, { src:
|
|
50431
|
+
load(file, "", options.asStream ? exports.ResponseType.ReadableStream : exports.ResponseType.ArrayBuffer))).then((stream) => transform(stream, { src: file, ...options }));
|
|
47803
50432
|
}
|
|
47804
50433
|
else {
|
|
47805
50434
|
stream = input;
|