@bluepic/embed 0.4.0-next.157 → 0.4.0-next.159
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bluepic-embed.iife.js +241 -203
- package/dist/bluepic-embed.umd.js +241 -203
- package/dist/c-B4BAHWS4.cjs +1 -0
- package/dist/{c-Bz1-FJiA.js → c-C0DTNf68.js} +122 -63
- package/dist/components/BxDatePickerPopover.vue.d.ts +1 -1
- package/dist/components/BxInput.vue.d.ts +1 -1
- package/dist/components/BxPopover.vue.d.ts +7 -0
- package/dist/components/BxTag.vue.d.ts +1 -1
- package/dist/components/PopoverElement.vue.d.ts +7 -0
- package/dist/components/TemplateEditor/BxTemplateEditor.vue.d.ts +64 -80
- package/dist/components/TemplateEditor/TemplateView.vue.d.ts +16 -20
- package/dist/components/directives/usePopup.d.ts +5 -0
- package/dist/cpp-BfO2fOQK.cjs +1 -0
- package/dist/{cpp-Cx0NomaW.js → cpp-DxGBPWa5.js} +65 -48
- package/dist/{css-BCTOmdxR.js → css-Cx1gP-zj.js} +17 -6
- package/dist/css-DTF39MN3.cjs +1 -0
- package/dist/embed/embed.d.ts +2314 -5218
- package/dist/{go-BpetKc7b.cjs → go-By8nj0Vi.cjs} +1 -1
- package/dist/{go-CkZ9_bn0.js → go-C8VcBUsu.js} +7 -2
- package/dist/{java-BicX26Pg.js → java-BoRJOXvw.js} +48 -39
- package/dist/java-DFXAwvvK.cjs +1 -0
- package/dist/javascript-C2jY0XE6.cjs +1 -0
- package/dist/{javascript-DII1YQGr.js → javascript-CgRUYx2b.js} +4 -2
- package/dist/json-C4rahuoJ.cjs +1 -0
- package/dist/{json-C_6Prymp.js → json-DYK-YbD3.js} +15 -9
- package/dist/main.cjs +180 -142
- package/dist/main.mjs +27239 -24738
- package/dist/markdown-BmL9j9cU.cjs +1 -0
- package/dist/{markdown-ga2-2-T7.js → markdown-D19noYwn.js} +9 -10
- package/dist/{python-CymlFLB0.js → python-BBUuE3AY.js} +20 -15
- package/dist/python-Clt6L10q.cjs +1 -0
- package/dist/{rust-BocnJ3Ns.js → rust-DY-oA2gr.js} +40 -26
- package/dist/rust-_vvcEGSJ.cjs +1 -0
- package/dist/{scss-CknrYxoA.js → scss-BWo_aR1L.js} +36 -25
- package/dist/scss-ex7iHSUb.cjs +1 -0
- package/dist/style.css +1 -1
- package/dist/theme.cjs +1 -1
- package/dist/theme.mjs +289 -282
- package/dist/{typescript-SNUkGeOU.js → typescript-BHqLHF13.js} +4 -2
- package/dist/typescript-DYRnLHqF.cjs +1 -0
- package/dist/unzipit.module-4zGfAuq6.cjs +1 -0
- package/dist/unzipit.module-qN5XWVVT.js +649 -0
- package/dist/util/scrollPassthrough.d.ts +9 -0
- package/dist/{xml-B7THKYqr.js → xml-Bse49fPV.js} +9 -16
- package/dist/{xml-CII3FKiI.cjs → xml-CVmug_x4.cjs} +1 -1
- package/package.json +2 -2
- package/dist/c-C_Sx7N-F.cjs +0 -1
- package/dist/cpp-DaPzgJ_t.cjs +0 -1
- package/dist/css-UgpohNaw.cjs +0 -1
- package/dist/java-BIk0G-rH.cjs +0 -1
- package/dist/javascript-C_6NC1K7.cjs +0 -1
- package/dist/json-DEcHyC5F.cjs +0 -1
- package/dist/markdown-BbPYOuo6.cjs +0 -1
- package/dist/python-B6_9AjJr.cjs +0 -1
- package/dist/rust-DKnYCg2f.cjs +0 -1
- package/dist/scss-DpqvoUEp.cjs +0 -1
- package/dist/typescript-Cjpf3bLL.cjs +0 -1
- package/dist/unzipit.module-B5yfSJfb.js +0 -556
- package/dist/unzipit.module-TGsYEkT7.cjs +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
function
|
|
2
|
-
const n = e.regex, a = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), _ = "decltype\\(auto\\)", c = "[a-zA-Z_]\\w*::",
|
|
1
|
+
function S(e) {
|
|
2
|
+
const n = e.regex, a = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), _ = "decltype\\(auto\\)", c = "[a-zA-Z_]\\w*::", m = "(?!struct)(" + _ + "|" + n.optional(c) + "[a-zA-Z_]\\w*" + n.optional("<[^<>]+>") + ")", s = {
|
|
3
3
|
className: "type",
|
|
4
4
|
begin: "\\b[a-z\\d_]*_t\\b"
|
|
5
|
-
},
|
|
5
|
+
}, r = {
|
|
6
6
|
className: "string",
|
|
7
7
|
variants: [
|
|
8
8
|
{
|
|
@@ -16,9 +16,13 @@ function v(e) {
|
|
|
16
16
|
end: "'",
|
|
17
17
|
illegal: "."
|
|
18
18
|
},
|
|
19
|
+
// https://en.cppreference.com/w/cpp/language/string_literal
|
|
20
|
+
// a d-char-sequence never contains parentheses, backslashes or whitespace;
|
|
21
|
+
// quotes are excluded as well so the closing delimiter cannot swallow the
|
|
22
|
+
// quote that actually terminates the literal
|
|
19
23
|
e.END_SAME_AS_BEGIN({
|
|
20
|
-
begin: /(?:u8?|U|L)?R"([^()
|
|
21
|
-
end: /\)([^()
|
|
24
|
+
begin: /(?:u8?|U|L)?R"([^()\\\s"]{0,16})\(/,
|
|
25
|
+
end: /\)([^()\\\s"]{0,16})"/
|
|
22
26
|
})
|
|
23
27
|
]
|
|
24
28
|
}, i = {
|
|
@@ -26,7 +30,7 @@ function v(e) {
|
|
|
26
30
|
variants: [
|
|
27
31
|
// Floating-point literal.
|
|
28
32
|
{
|
|
29
|
-
begin: "[+-]?(?:(
|
|
33
|
+
begin: "[+-]?(?:(?:\\b[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|\\b[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|\\b0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"
|
|
30
34
|
},
|
|
31
35
|
// Integer literal.
|
|
32
36
|
{
|
|
@@ -36,7 +40,25 @@ function v(e) {
|
|
|
36
40
|
}
|
|
37
41
|
],
|
|
38
42
|
relevance: 0
|
|
39
|
-
},
|
|
43
|
+
}, E = {
|
|
44
|
+
scope: "meta",
|
|
45
|
+
begin: /#\s*include\b/,
|
|
46
|
+
end: /$/,
|
|
47
|
+
keywords: { keyword: "include" },
|
|
48
|
+
contains: [
|
|
49
|
+
{
|
|
50
|
+
// the `\` at the end of a line signaling continuation
|
|
51
|
+
begin: /\\\n/
|
|
52
|
+
},
|
|
53
|
+
r,
|
|
54
|
+
{
|
|
55
|
+
scope: "string",
|
|
56
|
+
begin: /<.*?>/
|
|
57
|
+
},
|
|
58
|
+
a,
|
|
59
|
+
e.C_BLOCK_COMMENT_MODE
|
|
60
|
+
]
|
|
61
|
+
}, f = {
|
|
40
62
|
className: "meta",
|
|
41
63
|
begin: /#\s*[a-z]+\b/,
|
|
42
64
|
end: /$/,
|
|
@@ -46,19 +68,18 @@ function v(e) {
|
|
|
46
68
|
begin: /\\\n/,
|
|
47
69
|
relevance: 0
|
|
48
70
|
},
|
|
49
|
-
e.inherit(
|
|
50
|
-
{
|
|
51
|
-
className: "string",
|
|
52
|
-
begin: /<.*?>/
|
|
53
|
-
},
|
|
71
|
+
e.inherit(r, { className: "string" }),
|
|
54
72
|
a,
|
|
55
73
|
e.C_BLOCK_COMMENT_MODE
|
|
56
74
|
]
|
|
57
|
-
},
|
|
75
|
+
}, o = [
|
|
76
|
+
E,
|
|
77
|
+
f
|
|
78
|
+
], g = {
|
|
58
79
|
className: "title",
|
|
59
80
|
begin: n.optional(c) + e.IDENT_RE,
|
|
60
81
|
relevance: 0
|
|
61
|
-
}, u = n.optional(c) + e.IDENT_RE + "\\s*\\(",
|
|
82
|
+
}, u = n.optional(c) + e.IDENT_RE + "\\s*\\(", b = 12, d = [
|
|
62
83
|
"alignas",
|
|
63
84
|
"alignof",
|
|
64
85
|
"and",
|
|
@@ -146,7 +167,7 @@ function v(e) {
|
|
|
146
167
|
"while",
|
|
147
168
|
"xor",
|
|
148
169
|
"xor_eq"
|
|
149
|
-
],
|
|
170
|
+
], N = [
|
|
150
171
|
"bool",
|
|
151
172
|
"char",
|
|
152
173
|
"char16_t",
|
|
@@ -163,7 +184,7 @@ function v(e) {
|
|
|
163
184
|
"signed",
|
|
164
185
|
"const",
|
|
165
186
|
"static"
|
|
166
|
-
],
|
|
187
|
+
], T = [
|
|
167
188
|
"any",
|
|
168
189
|
"auto_ptr",
|
|
169
190
|
"barrier",
|
|
@@ -221,7 +242,7 @@ function v(e) {
|
|
|
221
242
|
"weak_ptr",
|
|
222
243
|
"wstring",
|
|
223
244
|
"wstring_view"
|
|
224
|
-
],
|
|
245
|
+
], C = [
|
|
225
246
|
"abort",
|
|
226
247
|
"abs",
|
|
227
248
|
"acos",
|
|
@@ -323,8 +344,8 @@ function v(e) {
|
|
|
323
344
|
"vprintf",
|
|
324
345
|
"vsprintf"
|
|
325
346
|
], t = {
|
|
326
|
-
type:
|
|
327
|
-
keyword:
|
|
347
|
+
type: N,
|
|
348
|
+
keyword: d,
|
|
328
349
|
literal: [
|
|
329
350
|
"NULL",
|
|
330
351
|
"false",
|
|
@@ -333,33 +354,29 @@ function v(e) {
|
|
|
333
354
|
"true"
|
|
334
355
|
],
|
|
335
356
|
built_in: ["_Pragma"],
|
|
336
|
-
_type_hints:
|
|
337
|
-
},
|
|
357
|
+
_type_hints: T
|
|
358
|
+
}, p = {
|
|
338
359
|
className: "function.dispatch",
|
|
339
360
|
relevance: 0,
|
|
340
361
|
keywords: {
|
|
341
362
|
// Only for relevance, not highlighting.
|
|
342
|
-
_hint:
|
|
363
|
+
_hint: C
|
|
343
364
|
},
|
|
344
365
|
begin: n.concat(
|
|
345
366
|
/\b/,
|
|
346
|
-
|
|
347
|
-
/(?!if)/,
|
|
348
|
-
/(?!for)/,
|
|
349
|
-
/(?!switch)/,
|
|
350
|
-
/(?!while)/,
|
|
367
|
+
`(?!${d.join("|")})`,
|
|
351
368
|
e.IDENT_RE,
|
|
352
369
|
n.lookahead(/(<[^<>]+>|)\s*\(/)
|
|
353
370
|
)
|
|
354
371
|
}, l = [
|
|
355
|
-
|
|
356
|
-
o,
|
|
357
|
-
|
|
372
|
+
p,
|
|
373
|
+
...o,
|
|
374
|
+
s,
|
|
358
375
|
a,
|
|
359
376
|
e.C_BLOCK_COMMENT_MODE,
|
|
360
377
|
i,
|
|
361
|
-
|
|
362
|
-
],
|
|
378
|
+
r
|
|
379
|
+
], y = {
|
|
363
380
|
// This mode covers expression context where we can't expect a function
|
|
364
381
|
// definition and shouldn't highlight anything that looks like one:
|
|
365
382
|
// `return some()`, `else if()`, `(x*sum(1, 2))`
|
|
@@ -388,9 +405,9 @@ function v(e) {
|
|
|
388
405
|
}
|
|
389
406
|
]),
|
|
390
407
|
relevance: 0
|
|
391
|
-
},
|
|
408
|
+
}, O = {
|
|
392
409
|
className: "function",
|
|
393
|
-
begin: "(" +
|
|
410
|
+
begin: "(" + m + "[\\*&\\s]+){1," + b + "}" + u,
|
|
394
411
|
returnBegin: !0,
|
|
395
412
|
end: /[{;=]/,
|
|
396
413
|
excludeEnd: !0,
|
|
@@ -406,7 +423,7 @@ function v(e) {
|
|
|
406
423
|
{
|
|
407
424
|
begin: u,
|
|
408
425
|
returnBegin: !0,
|
|
409
|
-
contains: [
|
|
426
|
+
contains: [g],
|
|
410
427
|
relevance: 0
|
|
411
428
|
},
|
|
412
429
|
// needed because we do not have look-behind on the below rule
|
|
@@ -420,7 +437,7 @@ function v(e) {
|
|
|
420
437
|
begin: /:/,
|
|
421
438
|
endsWithParent: !0,
|
|
422
439
|
contains: [
|
|
423
|
-
|
|
440
|
+
r,
|
|
424
441
|
i
|
|
425
442
|
]
|
|
426
443
|
},
|
|
@@ -439,9 +456,9 @@ function v(e) {
|
|
|
439
456
|
contains: [
|
|
440
457
|
a,
|
|
441
458
|
e.C_BLOCK_COMMENT_MODE,
|
|
442
|
-
s,
|
|
443
|
-
i,
|
|
444
459
|
r,
|
|
460
|
+
i,
|
|
461
|
+
s,
|
|
445
462
|
// Count matching parentheses.
|
|
446
463
|
{
|
|
447
464
|
begin: /\(/,
|
|
@@ -452,17 +469,17 @@ function v(e) {
|
|
|
452
469
|
"self",
|
|
453
470
|
a,
|
|
454
471
|
e.C_BLOCK_COMMENT_MODE,
|
|
455
|
-
|
|
472
|
+
r,
|
|
456
473
|
i,
|
|
457
|
-
|
|
474
|
+
s
|
|
458
475
|
]
|
|
459
476
|
}
|
|
460
477
|
]
|
|
461
478
|
},
|
|
462
|
-
|
|
479
|
+
s,
|
|
463
480
|
a,
|
|
464
481
|
e.C_BLOCK_COMMENT_MODE,
|
|
465
|
-
o
|
|
482
|
+
...o
|
|
466
483
|
]
|
|
467
484
|
};
|
|
468
485
|
return {
|
|
@@ -480,12 +497,12 @@ function v(e) {
|
|
|
480
497
|
illegal: "</",
|
|
481
498
|
classNameAliases: { "function.dispatch": "built_in" },
|
|
482
499
|
contains: [].concat(
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
500
|
+
y,
|
|
501
|
+
O,
|
|
502
|
+
p,
|
|
486
503
|
l,
|
|
487
504
|
[
|
|
488
|
-
o,
|
|
505
|
+
...o,
|
|
489
506
|
{
|
|
490
507
|
// containers: ie, `vector <int> rooms (9);`
|
|
491
508
|
begin: "\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",
|
|
@@ -493,7 +510,7 @@ function v(e) {
|
|
|
493
510
|
keywords: t,
|
|
494
511
|
contains: [
|
|
495
512
|
"self",
|
|
496
|
-
|
|
513
|
+
s
|
|
497
514
|
]
|
|
498
515
|
},
|
|
499
516
|
{
|
|
@@ -517,5 +534,5 @@ function v(e) {
|
|
|
517
534
|
};
|
|
518
535
|
}
|
|
519
536
|
export {
|
|
520
|
-
|
|
537
|
+
S as default
|
|
521
538
|
};
|
|
@@ -8,6 +8,10 @@ const s = (t) => ({
|
|
|
8
8
|
scope: "number",
|
|
9
9
|
begin: /#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/
|
|
10
10
|
},
|
|
11
|
+
UNICODE_RANGE: {
|
|
12
|
+
scope: "number",
|
|
13
|
+
begin: /\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,5}(-[0-9A-Fa-f][0-9A-Fa-f]{0,5})?/
|
|
14
|
+
},
|
|
11
15
|
FUNCTION_DISPATCH: {
|
|
12
16
|
className: "built_in",
|
|
13
17
|
begin: /[\w-]+(?=\()/
|
|
@@ -427,6 +431,11 @@ const s = (t) => ({
|
|
|
427
431
|
"container-type",
|
|
428
432
|
"content",
|
|
429
433
|
"content-visibility",
|
|
434
|
+
"corner-bottom-left-shape",
|
|
435
|
+
"corner-bottom-right-shape",
|
|
436
|
+
"corner-shape",
|
|
437
|
+
"corner-top-left-shape",
|
|
438
|
+
"corner-top-right-shape",
|
|
430
439
|
"counter-increment",
|
|
431
440
|
"counter-reset",
|
|
432
441
|
"counter-set",
|
|
@@ -763,6 +772,7 @@ const s = (t) => ({
|
|
|
763
772
|
"transition-timing-function",
|
|
764
773
|
"translate",
|
|
765
774
|
"unicode-bidi",
|
|
775
|
+
"unicode-range",
|
|
766
776
|
"user-modify",
|
|
767
777
|
"user-select",
|
|
768
778
|
"vector-effect",
|
|
@@ -796,7 +806,7 @@ const s = (t) => ({
|
|
|
796
806
|
"zoom"
|
|
797
807
|
].sort().reverse();
|
|
798
808
|
function h(t) {
|
|
799
|
-
const
|
|
809
|
+
const i = t.regex, e = s(t), r = { begin: /-(webkit|moz|ms|o)-(?=[a-z])/ }, n = "and or not only", a = /@-?\w[\w]*(-\w+)*/, l = "[a-zA-Z-][a-zA-Z0-9_-]*", o = [
|
|
800
810
|
t.APOS_STRING_MODE,
|
|
801
811
|
t.QUOTE_STRING_MODE
|
|
802
812
|
];
|
|
@@ -854,9 +864,10 @@ function h(t) {
|
|
|
854
864
|
e.HEXCOLOR,
|
|
855
865
|
e.IMPORTANT,
|
|
856
866
|
e.CSS_NUMBER_MODE,
|
|
857
|
-
|
|
867
|
+
e.UNICODE_RANGE,
|
|
868
|
+
...o,
|
|
858
869
|
// needed to highlight these as strings and to avoid issues with
|
|
859
|
-
// illegal characters that might be inside urls that would
|
|
870
|
+
// illegal characters that might be inside urls that would trigger the
|
|
860
871
|
// languages illegal stack
|
|
861
872
|
{
|
|
862
873
|
begin: /(url|data-uri)\(/,
|
|
@@ -865,7 +876,7 @@ function h(t) {
|
|
|
865
876
|
// from keywords
|
|
866
877
|
keywords: { built_in: "url data-uri" },
|
|
867
878
|
contains: [
|
|
868
|
-
...
|
|
879
|
+
...o,
|
|
869
880
|
{
|
|
870
881
|
className: "string",
|
|
871
882
|
// any character other than `)` as in `url()` will be the start
|
|
@@ -880,7 +891,7 @@ function h(t) {
|
|
|
880
891
|
]
|
|
881
892
|
},
|
|
882
893
|
{
|
|
883
|
-
begin:
|
|
894
|
+
begin: i.lookahead(/@/),
|
|
884
895
|
end: "[{;]",
|
|
885
896
|
relevance: 0,
|
|
886
897
|
illegal: /:/,
|
|
@@ -905,7 +916,7 @@ function h(t) {
|
|
|
905
916
|
begin: /[a-z-]+(?=:)/,
|
|
906
917
|
className: "attribute"
|
|
907
918
|
},
|
|
908
|
-
...
|
|
919
|
+
...o,
|
|
909
920
|
e.CSS_NUMBER_MODE
|
|
910
921
|
]
|
|
911
922
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},UNICODE_RANGE:{scope:"number",begin:/\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,5}(-[0-9A-Fa-f][0-9A-Fa-f]{0,5})?/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),c=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],d=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],m=[...c,...d],b=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),g=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),p=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),f=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","corner-bottom-left-shape","corner-bottom-right-shape","corner-shape","corner-top-left-shape","corner-top-right-shape","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","unicode-range","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function h(t){const i=t.regex,e=s(t),r={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},n="and or not only",a=/@-?\w[\w]*(-\w+)*/,l="[a-zA-Z-][a-zA-Z0-9_-]*",o=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[e.BLOCK_COMMENT,r,e.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+l,relevance:0},e.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+g.join("|")+")"},{begin:":(:)?("+p.join("|")+")"}]},e.CSS_VARIABLE,{className:"attribute",begin:"\\b("+f.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[e.BLOCK_COMMENT,e.HEXCOLOR,e.IMPORTANT,e.CSS_NUMBER_MODE,e.UNICODE_RANGE,...o,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...o,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},e.FUNCTION_DISPATCH]},{begin:i.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:a},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:n,attribute:b.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...o,e.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+m.join("|")+")\\b"}]}}exports.default=h;
|