@milkdown/crepe 7.3.3

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.
Files changed (241) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -0
  3. package/lib/apl-p0IPP13W.js +76 -0
  4. package/lib/asciiarmor-lJsBxlJJ.js +34 -0
  5. package/lib/asn1-Q9v1zIy5.js +102 -0
  6. package/lib/asterisk-foNkeTjy.js +273 -0
  7. package/lib/brainfuck-0XqyXpNS.js +35 -0
  8. package/lib/clike-ak6Z6Yhe.js +639 -0
  9. package/lib/clojure-iYO8U8Sg.js +810 -0
  10. package/lib/clsx-7d8NmkQq.js +21 -0
  11. package/lib/cmake-SVzjkxV_.js +28 -0
  12. package/lib/cobol-APHEnAOX.js +74 -0
  13. package/lib/coffeescript-KqQa0SYG.js +182 -0
  14. package/lib/commonlisp-bwqNqR5V.js +79 -0
  15. package/lib/core/crepe.d.ts +21 -0
  16. package/lib/core/crepe.d.ts.map +1 -0
  17. package/lib/core/index.d.ts +3 -0
  18. package/lib/core/index.d.ts.map +1 -0
  19. package/lib/core/slice.d.ts +12 -0
  20. package/lib/core/slice.d.ts.map +1 -0
  21. package/lib/crystal-BViWuDpA.js +217 -0
  22. package/lib/css-KHXHXfXg.js +1572 -0
  23. package/lib/cypher-XpTt4zQ3.js +69 -0
  24. package/lib/d-fLig6yqY.js +139 -0
  25. package/lib/diff-WoKGLpy6.js +18 -0
  26. package/lib/dockerfile-u6f6Vw2s.js +194 -0
  27. package/lib/dtd-SIJRUW6K.js +91 -0
  28. package/lib/dylan-4HCLhpWP.js +238 -0
  29. package/lib/ebnf-h_0lged5.js +77 -0
  30. package/lib/ecl-Lf4FF0lf.js +133 -0
  31. package/lib/eiffel-qlw8KUyf.js +112 -0
  32. package/lib/elm-QRnB3zXs.js +108 -0
  33. package/lib/erlang-fyVKb7eK.js +488 -0
  34. package/lib/factor-BEeN4upY.js +65 -0
  35. package/lib/fcl-lRek3hEb.js +106 -0
  36. package/lib/feature/block-edit/handle/component.d.ts +9 -0
  37. package/lib/feature/block-edit/handle/component.d.ts.map +1 -0
  38. package/lib/feature/block-edit/handle/index.d.ts +12 -0
  39. package/lib/feature/block-edit/handle/index.d.ts.map +1 -0
  40. package/lib/feature/block-edit/index.d.ts +3 -0
  41. package/lib/feature/block-edit/index.d.ts.map +1 -0
  42. package/lib/feature/block-edit/menu/component.d.ts +14 -0
  43. package/lib/feature/block-edit/menu/component.d.ts.map +1 -0
  44. package/lib/feature/block-edit/menu/config.d.ts +21 -0
  45. package/lib/feature/block-edit/menu/config.d.ts.map +1 -0
  46. package/lib/feature/block-edit/menu/icons.d.ts +14 -0
  47. package/lib/feature/block-edit/menu/icons.d.ts.map +1 -0
  48. package/lib/feature/block-edit/menu/index.d.ts +9 -0
  49. package/lib/feature/block-edit/menu/index.d.ts.map +1 -0
  50. package/lib/feature/code-mirror/index.d.ts +3 -0
  51. package/lib/feature/code-mirror/index.d.ts.map +1 -0
  52. package/lib/feature/gap-cursor/index.d.ts +3 -0
  53. package/lib/feature/gap-cursor/index.d.ts.map +1 -0
  54. package/lib/feature/image-block/index.d.ts +3 -0
  55. package/lib/feature/image-block/index.d.ts.map +1 -0
  56. package/lib/feature/index.d.ts +18 -0
  57. package/lib/feature/index.d.ts.map +1 -0
  58. package/lib/feature/link-tooltip/consts.d.ts +5 -0
  59. package/lib/feature/link-tooltip/consts.d.ts.map +1 -0
  60. package/lib/feature/link-tooltip/index.d.ts +3 -0
  61. package/lib/feature/link-tooltip/index.d.ts.map +1 -0
  62. package/lib/feature/list-item/consts.d.ts +2 -0
  63. package/lib/feature/list-item/consts.d.ts.map +1 -0
  64. package/lib/feature/list-item/index.d.ts +3 -0
  65. package/lib/feature/list-item/index.d.ts.map +1 -0
  66. package/lib/feature/placeholder/index.d.ts +10 -0
  67. package/lib/feature/placeholder/index.d.ts.map +1 -0
  68. package/lib/feature/shared.d.ts +3 -0
  69. package/lib/feature/shared.d.ts.map +1 -0
  70. package/lib/feature/toolbar/component.d.ts +13 -0
  71. package/lib/feature/toolbar/component.d.ts.map +1 -0
  72. package/lib/feature/toolbar/consts.d.ts +5 -0
  73. package/lib/feature/toolbar/consts.d.ts.map +1 -0
  74. package/lib/feature/toolbar/index.d.ts +3 -0
  75. package/lib/feature/toolbar/index.d.ts.map +1 -0
  76. package/lib/forth-ua2bRd8T.js +60 -0
  77. package/lib/fortran-WnF7znuN.js +443 -0
  78. package/lib/gas-wowve1o7.js +183 -0
  79. package/lib/gherkin-m7GIChu3.js +34 -0
  80. package/lib/go-th443Dhb.js +158 -0
  81. package/lib/groovy-tR4RiZnc.js +161 -0
  82. package/lib/haskell-jxVBofv5.js +375 -0
  83. package/lib/haxe-kWPI2tq3.js +390 -0
  84. package/lib/hooks-82sqkbtE.js +21 -0
  85. package/lib/http-3GIFWUlG.js +45 -0
  86. package/lib/icons-HYkfuR-O.js +50 -0
  87. package/lib/idl-PvpMZg-l.js +947 -0
  88. package/lib/index-0RbcZMbq.js +8 -0
  89. package/lib/index-4afXjFMY.js +517 -0
  90. package/lib/index-7MeyepDG.js +78 -0
  91. package/lib/index-7QgQq3x3.js +551 -0
  92. package/lib/index-7pgP6qYs.js +107 -0
  93. package/lib/index-8DvtgRVa.js +19511 -0
  94. package/lib/index-8Gg-jEP4.js +288 -0
  95. package/lib/index-8S8qcncB.js +507 -0
  96. package/lib/index-9A_GmGh4.js +1039 -0
  97. package/lib/index-EJJfYLzA.js +928 -0
  98. package/lib/index-Eg39w5kL.js +984 -0
  99. package/lib/index-FIk_7oPb.js +168 -0
  100. package/lib/index-LlbrXb_n.js +368 -0
  101. package/lib/index-MovKtgMG.js +121 -0
  102. package/lib/index-N9GtIS4X.js +64 -0
  103. package/lib/index-Pwn25-kf.js +8 -0
  104. package/lib/index-SdFSDosa.js +1295 -0
  105. package/lib/index-W5Th22-Z.js +1744 -0
  106. package/lib/index-XiXSFLmI.js +20975 -0
  107. package/lib/index-bknOViGv.js +47 -0
  108. package/lib/index-bkuIUPFS.js +275 -0
  109. package/lib/index-jPA8J9Eo.js +8 -0
  110. package/lib/index-lsG76a9s.js +552 -0
  111. package/lib/index-oTRzPo3B.js +146 -0
  112. package/lib/index-rrf6_6DC.js +317 -0
  113. package/lib/index-vJbZIHYF.js +81 -0
  114. package/lib/index-vPRh55CO.js +137 -0
  115. package/lib/index-vxy63hib.js +323 -0
  116. package/lib/index-wn1_LgCS.js +99 -0
  117. package/lib/index-xHADmDT3.js +12 -0
  118. package/lib/index-yt2EpMtv.js +141 -0
  119. package/lib/index.d.ts +4 -0
  120. package/lib/index.d.ts.map +1 -0
  121. package/lib/index.es.js +7 -0
  122. package/lib/javascript-8ZHqHagw.js +758 -0
  123. package/lib/jinja2-vsOFe0qD.js +154 -0
  124. package/lib/julia-dlp_pbN1.js +241 -0
  125. package/lib/livescript-Gf5R-LT6.js +273 -0
  126. package/lib/lua-c5Y_JsBp.js +221 -0
  127. package/lib/mathematica-iiGTGmUs.js +35 -0
  128. package/lib/mbox-ZJh86H8B.js +78 -0
  129. package/lib/meta-tAGyVRPE.js +511 -0
  130. package/lib/mirc-i0qkCa0y.js +73 -0
  131. package/lib/mllike-Dy551fZW.js +275 -0
  132. package/lib/modelica-n6tGqUT9.js +94 -0
  133. package/lib/mscgen-aKSbB7D9.js +104 -0
  134. package/lib/mumps-lNiKA6sp.js +25 -0
  135. package/lib/nginx--YmuCfDj.js +93 -0
  136. package/lib/nsis-zhS8iA09.js +62 -0
  137. package/lib/ntriples-E3jQl3MC.js +79 -0
  138. package/lib/octave-EQvkGIeG.js +144 -0
  139. package/lib/oz-W2cpqFf6.js +152 -0
  140. package/lib/pascal-lCh6ouNZ.js +79 -0
  141. package/lib/perl-PxEQBX0B.js +915 -0
  142. package/lib/pig-Y_bNcrzS.js +56 -0
  143. package/lib/powershell-GaQP-TZr.js +249 -0
  144. package/lib/properties-mbRyn54L.js +26 -0
  145. package/lib/prosemirror-noTDkx-k.js +4 -0
  146. package/lib/protobuf-8CJideyJ.js +49 -0
  147. package/lib/puppet-ABBaChNZ.js +45 -0
  148. package/lib/python-sKdHg3Ka.js +321 -0
  149. package/lib/q-_1yG40Nm.js +89 -0
  150. package/lib/r-Ziz56bHT.js +108 -0
  151. package/lib/rpm-ORjGOHaQ.js +57 -0
  152. package/lib/ruby-jlbYq0dT.js +233 -0
  153. package/lib/sas-2n7xeUuO.js +107 -0
  154. package/lib/schema-tKk3m1fu.js +62 -0
  155. package/lib/scheme-XCs-NPeU.js +126 -0
  156. package/lib/shell-0_1Um7Dq.js +184 -0
  157. package/lib/sieve-7uyJD1x1.js +73 -0
  158. package/lib/simple-mode--HIzBxba.js +95 -0
  159. package/lib/smalltalk-PEFzrlQ-.js +48 -0
  160. package/lib/solr-BLBaHahN.js +41 -0
  161. package/lib/sparql-4F9ZWf1b.js +204 -0
  162. package/lib/spreadsheet-SGSo6blj.js +49 -0
  163. package/lib/sql-tebLBzN0.js +291 -0
  164. package/lib/stex-SFJcFGOO.js +130 -0
  165. package/lib/stylus-rwwWYWFm.js +256 -0
  166. package/lib/swift-eorJ0tCv.js +238 -0
  167. package/lib/tcl-IwXMB8U4.js +82 -0
  168. package/lib/textile-ok2VyjwC.js +299 -0
  169. package/lib/theme/classic/index.d.ts +3 -0
  170. package/lib/theme/classic/index.d.ts.map +1 -0
  171. package/lib/theme/classic-dark/index.d.ts +3 -0
  172. package/lib/theme/classic-dark/index.d.ts.map +1 -0
  173. package/lib/theme/headless/index.d.ts +3 -0
  174. package/lib/theme/headless/index.d.ts.map +1 -0
  175. package/lib/theme/index.d.ts +8 -0
  176. package/lib/theme/index.d.ts.map +1 -0
  177. package/lib/theme/shared.d.ts +3 -0
  178. package/lib/theme/shared.d.ts.map +1 -0
  179. package/lib/tiddlywiki-DLhz8_pc.js +156 -0
  180. package/lib/tiki-DFAqFElY.js +183 -0
  181. package/lib/tippy.esm-MZ2vxByW.js +1813 -0
  182. package/lib/toml-ryxpTZEV.js +49 -0
  183. package/lib/tooltip-plugin-gcwyQdiT.js +119 -0
  184. package/lib/troff-ZzZyvNct.js +36 -0
  185. package/lib/ttcn-6gvkqqpW.js +136 -0
  186. package/lib/ttcn-cfg-oSu-Dq5C.js +98 -0
  187. package/lib/turtle-10ofr5au.js +87 -0
  188. package/lib/use-css-light-dom-EKWZDmbJ.js +82 -0
  189. package/lib/utils/index.d.ts +4 -0
  190. package/lib/utils/index.d.ts.map +1 -0
  191. package/lib/vb-a6n6fzrD.js +74 -0
  192. package/lib/vbscript-dgvo8jPt.js +324 -0
  193. package/lib/velocity-CBncCrwO.js +97 -0
  194. package/lib/verilog-KlcACt6C.js +271 -0
  195. package/lib/vhdl-NMd7Gf35.js +117 -0
  196. package/lib/webidl-z1UE5DN_.js +160 -0
  197. package/lib/xquery-hDt5jWTp.js +431 -0
  198. package/lib/yacas-ftgh_qwr.js +74 -0
  199. package/lib/yaml-DnNTfjXK.js +53 -0
  200. package/lib/z80-dA1PqWe1.js +62 -0
  201. package/package.json +87 -0
  202. package/src/core/crepe.ts +98 -0
  203. package/src/core/index.ts +4 -0
  204. package/src/core/slice.ts +44 -0
  205. package/src/feature/block-edit/handle/component.ts +68 -0
  206. package/src/feature/block-edit/handle/index.ts +81 -0
  207. package/src/feature/block-edit/index.ts +17 -0
  208. package/src/feature/block-edit/menu/component.ts +210 -0
  209. package/src/feature/block-edit/menu/config.ts +335 -0
  210. package/src/feature/block-edit/menu/icons.ts +171 -0
  211. package/src/feature/block-edit/menu/index.ts +113 -0
  212. package/src/feature/block-edit/style.css +126 -0
  213. package/src/feature/code-mirror/index.ts +60 -0
  214. package/src/feature/code-mirror/style.css +159 -0
  215. package/src/feature/gap-cursor/index.ts +31 -0
  216. package/src/feature/image-block/index.ts +59 -0
  217. package/src/feature/image-block/style.css +215 -0
  218. package/src/feature/index.ts +66 -0
  219. package/src/feature/link-tooltip/consts.ts +47 -0
  220. package/src/feature/link-tooltip/index.ts +22 -0
  221. package/src/feature/link-tooltip/style.css +107 -0
  222. package/src/feature/list-item/consts.ts +15 -0
  223. package/src/feature/list-item/index.ts +30 -0
  224. package/src/feature/list-item/style.css +23 -0
  225. package/src/feature/placeholder/index.ts +87 -0
  226. package/src/feature/placeholder/style.css +9 -0
  227. package/src/feature/shared.ts +4 -0
  228. package/src/feature/toolbar/component.ts +101 -0
  229. package/src/feature/toolbar/consts.ts +26 -0
  230. package/src/feature/toolbar/index.ts +92 -0
  231. package/src/feature/toolbar/style.css +37 -0
  232. package/src/index.ts +5 -0
  233. package/src/theme/classic/index.ts +12 -0
  234. package/src/theme/classic/style.css +192 -0
  235. package/src/theme/classic-dark/index.ts +12 -0
  236. package/src/theme/classic-dark/style.css +197 -0
  237. package/src/theme/headless/index.ts +9 -0
  238. package/src/theme/index.ts +26 -0
  239. package/src/theme/shared.ts +4 -0
  240. package/src/utils/index.ts +12 -0
  241. package/src/vite-env.d.ts +2 -0
@@ -0,0 +1,1572 @@
1
+ function y(i) {
2
+ i = { ...ae, ...i };
3
+ var l = i.inline, m = i.tokenHooks, b = i.documentTypes || {}, G = i.mediaTypes || {}, J = i.mediaFeatures || {}, Q = i.mediaValueKeywords || {}, O = i.propertyKeywords || {}, F = i.nonStandardPropertyKeywords || {}, R = i.fontProperties || {}, ee = i.counterDescriptors || {}, N = i.colorKeywords || {}, V = i.valueKeywords || {}, g = i.allowNested, re = i.lineComment, oe = i.supportsAtComponent === !0, W = i.highlightNonStandardPropertyKeywords !== !1, w, n;
4
+ function c(e, o) {
5
+ return w = o, e;
6
+ }
7
+ function ie(e, o) {
8
+ var r = e.next();
9
+ if (m[r]) {
10
+ var t = m[r](e, o);
11
+ if (t !== !1)
12
+ return t;
13
+ }
14
+ if (r == "@")
15
+ return e.eatWhile(/[\w\\\-]/), c("def", e.current());
16
+ if (r == "=" || (r == "~" || r == "|") && e.eat("="))
17
+ return c(null, "compare");
18
+ if (r == '"' || r == "'")
19
+ return o.tokenize = $(r), o.tokenize(e, o);
20
+ if (r == "#")
21
+ return e.eatWhile(/[\w\\\-]/), c("atom", "hash");
22
+ if (r == "!")
23
+ return e.match(/^\s*\w*/), c("keyword", "important");
24
+ if (/\d/.test(r) || r == "." && e.eat(/\d/))
25
+ return e.eatWhile(/[\w.%]/), c("number", "unit");
26
+ if (r === "-") {
27
+ if (/[\d.]/.test(e.peek()))
28
+ return e.eatWhile(/[\w.%]/), c("number", "unit");
29
+ if (e.match(/^-[\w\\\-]*/))
30
+ return e.eatWhile(/[\w\\\-]/), e.match(/^\s*:/, !1) ? c("def", "variable-definition") : c("variableName", "variable");
31
+ if (e.match(/^\w+-/))
32
+ return c("meta", "meta");
33
+ } else
34
+ return /[,+>*\/]/.test(r) ? c(null, "select-op") : r == "." && e.match(/^-?[_a-z][_a-z0-9-]*/i) ? c("qualifier", "qualifier") : /[:;{}\[\]\(\)]/.test(r) ? c(null, r) : e.match(/^[\w-.]+(?=\()/) ? (/^(url(-prefix)?|domain|regexp)$/i.test(e.current()) && (o.tokenize = te), c("variableName.function", "variable")) : /[\w\\\-]/.test(r) ? (e.eatWhile(/[\w\\\-]/), c("property", "word")) : c(null, null);
35
+ }
36
+ function $(e) {
37
+ return function(o, r) {
38
+ for (var t = !1, d; (d = o.next()) != null; ) {
39
+ if (d == e && !t) {
40
+ e == ")" && o.backUp(1);
41
+ break;
42
+ }
43
+ t = !t && d == "\\";
44
+ }
45
+ return (d == e || !t && e != ")") && (r.tokenize = null), c("string", "string");
46
+ };
47
+ }
48
+ function te(e, o) {
49
+ return e.next(), e.match(/^\s*[\"\')]/, !1) ? o.tokenize = null : o.tokenize = $(")"), c(null, "(");
50
+ }
51
+ function D(e, o, r) {
52
+ this.type = e, this.indent = o, this.prev = r;
53
+ }
54
+ function s(e, o, r, t) {
55
+ return e.context = new D(r, o.indentation() + (t === !1 ? 0 : o.indentUnit), e.context), r;
56
+ }
57
+ function u(e) {
58
+ return e.context.prev && (e.context = e.context.prev), e.context.type;
59
+ }
60
+ function k(e, o, r) {
61
+ return a[r.context.type](e, o, r);
62
+ }
63
+ function h(e, o, r, t) {
64
+ for (var d = t || 1; d > 0; d--)
65
+ r.context = r.context.prev;
66
+ return k(e, o, r);
67
+ }
68
+ function L(e) {
69
+ var o = e.current().toLowerCase();
70
+ V.hasOwnProperty(o) ? n = "atom" : N.hasOwnProperty(o) ? n = "keyword" : n = "variable";
71
+ }
72
+ var a = {};
73
+ return a.top = function(e, o, r) {
74
+ if (e == "{")
75
+ return s(r, o, "block");
76
+ if (e == "}" && r.context.prev)
77
+ return u(r);
78
+ if (oe && /@component/i.test(e))
79
+ return s(r, o, "atComponentBlock");
80
+ if (/^@(-moz-)?document$/i.test(e))
81
+ return s(r, o, "documentTypes");
82
+ if (/^@(media|supports|(-moz-)?document|import)$/i.test(e))
83
+ return s(r, o, "atBlock");
84
+ if (/^@(font-face|counter-style)/i.test(e))
85
+ return r.stateArg = e, "restricted_atBlock_before";
86
+ if (/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))
87
+ return "keyframes";
88
+ if (e && e.charAt(0) == "@")
89
+ return s(r, o, "at");
90
+ if (e == "hash")
91
+ n = "builtin";
92
+ else if (e == "word")
93
+ n = "tag";
94
+ else {
95
+ if (e == "variable-definition")
96
+ return "maybeprop";
97
+ if (e == "interpolation")
98
+ return s(r, o, "interpolation");
99
+ if (e == ":")
100
+ return "pseudo";
101
+ if (g && e == "(")
102
+ return s(r, o, "parens");
103
+ }
104
+ return r.context.type;
105
+ }, a.block = function(e, o, r) {
106
+ if (e == "word") {
107
+ var t = o.current().toLowerCase();
108
+ return O.hasOwnProperty(t) ? (n = "property", "maybeprop") : F.hasOwnProperty(t) ? (n = W ? "string.special" : "property", "maybeprop") : g ? (n = o.match(/^\s*:(?:\s|$)/, !1) ? "property" : "tag", "block") : (n = "error", "maybeprop");
109
+ } else
110
+ return e == "meta" ? "block" : !g && (e == "hash" || e == "qualifier") ? (n = "error", "block") : a.top(e, o, r);
111
+ }, a.maybeprop = function(e, o, r) {
112
+ return e == ":" ? s(r, o, "prop") : k(e, o, r);
113
+ }, a.prop = function(e, o, r) {
114
+ if (e == ";")
115
+ return u(r);
116
+ if (e == "{" && g)
117
+ return s(r, o, "propBlock");
118
+ if (e == "}" || e == "{")
119
+ return h(e, o, r);
120
+ if (e == "(")
121
+ return s(r, o, "parens");
122
+ if (e == "hash" && !/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(o.current()))
123
+ n = "error";
124
+ else if (e == "word")
125
+ L(o);
126
+ else if (e == "interpolation")
127
+ return s(r, o, "interpolation");
128
+ return "prop";
129
+ }, a.propBlock = function(e, o, r) {
130
+ return e == "}" ? u(r) : e == "word" ? (n = "property", "maybeprop") : r.context.type;
131
+ }, a.parens = function(e, o, r) {
132
+ return e == "{" || e == "}" ? h(e, o, r) : e == ")" ? u(r) : e == "(" ? s(r, o, "parens") : e == "interpolation" ? s(r, o, "interpolation") : (e == "word" && L(o), "parens");
133
+ }, a.pseudo = function(e, o, r) {
134
+ return e == "meta" ? "pseudo" : e == "word" ? (n = "variableName.constant", r.context.type) : k(e, o, r);
135
+ }, a.documentTypes = function(e, o, r) {
136
+ return e == "word" && b.hasOwnProperty(o.current()) ? (n = "tag", r.context.type) : a.atBlock(e, o, r);
137
+ }, a.atBlock = function(e, o, r) {
138
+ if (e == "(")
139
+ return s(r, o, "atBlock_parens");
140
+ if (e == "}" || e == ";")
141
+ return h(e, o, r);
142
+ if (e == "{")
143
+ return u(r) && s(r, o, g ? "block" : "top");
144
+ if (e == "interpolation")
145
+ return s(r, o, "interpolation");
146
+ if (e == "word") {
147
+ var t = o.current().toLowerCase();
148
+ t == "only" || t == "not" || t == "and" || t == "or" ? n = "keyword" : G.hasOwnProperty(t) ? n = "attribute" : J.hasOwnProperty(t) ? n = "property" : Q.hasOwnProperty(t) ? n = "keyword" : O.hasOwnProperty(t) ? n = "property" : F.hasOwnProperty(t) ? n = W ? "string.special" : "property" : V.hasOwnProperty(t) ? n = "atom" : N.hasOwnProperty(t) ? n = "keyword" : n = "error";
149
+ }
150
+ return r.context.type;
151
+ }, a.atComponentBlock = function(e, o, r) {
152
+ return e == "}" ? h(e, o, r) : e == "{" ? u(r) && s(r, o, g ? "block" : "top", !1) : (e == "word" && (n = "error"), r.context.type);
153
+ }, a.atBlock_parens = function(e, o, r) {
154
+ return e == ")" ? u(r) : e == "{" || e == "}" ? h(e, o, r, 2) : a.atBlock(e, o, r);
155
+ }, a.restricted_atBlock_before = function(e, o, r) {
156
+ return e == "{" ? s(r, o, "restricted_atBlock") : e == "word" && r.stateArg == "@counter-style" ? (n = "variable", "restricted_atBlock_before") : k(e, o, r);
157
+ }, a.restricted_atBlock = function(e, o, r) {
158
+ return e == "}" ? (r.stateArg = null, u(r)) : e == "word" ? (r.stateArg == "@font-face" && !R.hasOwnProperty(o.current().toLowerCase()) || r.stateArg == "@counter-style" && !ee.hasOwnProperty(o.current().toLowerCase()) ? n = "error" : n = "property", "maybeprop") : "restricted_atBlock";
159
+ }, a.keyframes = function(e, o, r) {
160
+ return e == "word" ? (n = "variable", "keyframes") : e == "{" ? s(r, o, "top") : k(e, o, r);
161
+ }, a.at = function(e, o, r) {
162
+ return e == ";" ? u(r) : e == "{" || e == "}" ? h(e, o, r) : (e == "word" ? n = "tag" : e == "hash" && (n = "builtin"), "at");
163
+ }, a.interpolation = function(e, o, r) {
164
+ return e == "}" ? u(r) : e == "{" || e == ";" ? h(e, o, r) : (e == "word" ? n = "variable" : e != "variable" && e != "(" && e != ")" && (n = "error"), "interpolation");
165
+ }, {
166
+ name: i.name,
167
+ startState: function() {
168
+ return {
169
+ tokenize: null,
170
+ state: l ? "block" : "top",
171
+ stateArg: null,
172
+ context: new D(l ? "block" : "top", 0, null)
173
+ };
174
+ },
175
+ token: function(e, o) {
176
+ if (!o.tokenize && e.eatSpace())
177
+ return null;
178
+ var r = (o.tokenize || ie)(e, o);
179
+ return r && typeof r == "object" && (w = r[1], r = r[0]), n = r, w != "comment" && (o.state = a[o.state](w, e, o)), n;
180
+ },
181
+ indent: function(e, o, r) {
182
+ var t = e.context, d = o && o.charAt(0), q = t.indent;
183
+ return t.type == "prop" && (d == "}" || d == ")") && (t = t.prev), t.prev && (d == "}" && (t.type == "block" || t.type == "top" || t.type == "interpolation" || t.type == "restricted_atBlock") ? (t = t.prev, q = t.indent) : (d == ")" && (t.type == "parens" || t.type == "atBlock_parens") || d == "{" && (t.type == "at" || t.type == "atBlock")) && (q = Math.max(0, t.indent - r.unit))), q;
184
+ },
185
+ languageData: {
186
+ indentOnInput: /^\s*\}$/,
187
+ commentTokens: { line: re, block: { open: "/*", close: "*/" } },
188
+ autocomplete: M
189
+ }
190
+ };
191
+ }
192
+ function p(i) {
193
+ for (var l = {}, m = 0; m < i.length; ++m)
194
+ l[i[m].toLowerCase()] = !0;
195
+ return l;
196
+ }
197
+ var H = [
198
+ "domain",
199
+ "regexp",
200
+ "url",
201
+ "url-prefix"
202
+ ], C = p(H), X = [
203
+ "all",
204
+ "aural",
205
+ "braille",
206
+ "handheld",
207
+ "print",
208
+ "projection",
209
+ "screen",
210
+ "tty",
211
+ "tv",
212
+ "embossed"
213
+ ], v = p(X), Y = [
214
+ "width",
215
+ "min-width",
216
+ "max-width",
217
+ "height",
218
+ "min-height",
219
+ "max-height",
220
+ "device-width",
221
+ "min-device-width",
222
+ "max-device-width",
223
+ "device-height",
224
+ "min-device-height",
225
+ "max-device-height",
226
+ "aspect-ratio",
227
+ "min-aspect-ratio",
228
+ "max-aspect-ratio",
229
+ "device-aspect-ratio",
230
+ "min-device-aspect-ratio",
231
+ "max-device-aspect-ratio",
232
+ "color",
233
+ "min-color",
234
+ "max-color",
235
+ "color-index",
236
+ "min-color-index",
237
+ "max-color-index",
238
+ "monochrome",
239
+ "min-monochrome",
240
+ "max-monochrome",
241
+ "resolution",
242
+ "min-resolution",
243
+ "max-resolution",
244
+ "scan",
245
+ "grid",
246
+ "orientation",
247
+ "device-pixel-ratio",
248
+ "min-device-pixel-ratio",
249
+ "max-device-pixel-ratio",
250
+ "pointer",
251
+ "any-pointer",
252
+ "hover",
253
+ "any-hover",
254
+ "prefers-color-scheme",
255
+ "dynamic-range",
256
+ "video-dynamic-range"
257
+ ], x = p(Y), E = [
258
+ "landscape",
259
+ "portrait",
260
+ "none",
261
+ "coarse",
262
+ "fine",
263
+ "on-demand",
264
+ "hover",
265
+ "interlace",
266
+ "progressive",
267
+ "dark",
268
+ "light",
269
+ "standard",
270
+ "high"
271
+ ], B = p(E), S = [
272
+ "align-content",
273
+ "align-items",
274
+ "align-self",
275
+ "alignment-adjust",
276
+ "alignment-baseline",
277
+ "all",
278
+ "anchor-point",
279
+ "animation",
280
+ "animation-delay",
281
+ "animation-direction",
282
+ "animation-duration",
283
+ "animation-fill-mode",
284
+ "animation-iteration-count",
285
+ "animation-name",
286
+ "animation-play-state",
287
+ "animation-timing-function",
288
+ "appearance",
289
+ "azimuth",
290
+ "backdrop-filter",
291
+ "backface-visibility",
292
+ "background",
293
+ "background-attachment",
294
+ "background-blend-mode",
295
+ "background-clip",
296
+ "background-color",
297
+ "background-image",
298
+ "background-origin",
299
+ "background-position",
300
+ "background-position-x",
301
+ "background-position-y",
302
+ "background-repeat",
303
+ "background-size",
304
+ "baseline-shift",
305
+ "binding",
306
+ "bleed",
307
+ "block-size",
308
+ "bookmark-label",
309
+ "bookmark-level",
310
+ "bookmark-state",
311
+ "bookmark-target",
312
+ "border",
313
+ "border-bottom",
314
+ "border-bottom-color",
315
+ "border-bottom-left-radius",
316
+ "border-bottom-right-radius",
317
+ "border-bottom-style",
318
+ "border-bottom-width",
319
+ "border-collapse",
320
+ "border-color",
321
+ "border-image",
322
+ "border-image-outset",
323
+ "border-image-repeat",
324
+ "border-image-slice",
325
+ "border-image-source",
326
+ "border-image-width",
327
+ "border-left",
328
+ "border-left-color",
329
+ "border-left-style",
330
+ "border-left-width",
331
+ "border-radius",
332
+ "border-right",
333
+ "border-right-color",
334
+ "border-right-style",
335
+ "border-right-width",
336
+ "border-spacing",
337
+ "border-style",
338
+ "border-top",
339
+ "border-top-color",
340
+ "border-top-left-radius",
341
+ "border-top-right-radius",
342
+ "border-top-style",
343
+ "border-top-width",
344
+ "border-width",
345
+ "bottom",
346
+ "box-decoration-break",
347
+ "box-shadow",
348
+ "box-sizing",
349
+ "break-after",
350
+ "break-before",
351
+ "break-inside",
352
+ "caption-side",
353
+ "caret-color",
354
+ "clear",
355
+ "clip",
356
+ "color",
357
+ "color-profile",
358
+ "column-count",
359
+ "column-fill",
360
+ "column-gap",
361
+ "column-rule",
362
+ "column-rule-color",
363
+ "column-rule-style",
364
+ "column-rule-width",
365
+ "column-span",
366
+ "column-width",
367
+ "columns",
368
+ "contain",
369
+ "content",
370
+ "counter-increment",
371
+ "counter-reset",
372
+ "crop",
373
+ "cue",
374
+ "cue-after",
375
+ "cue-before",
376
+ "cursor",
377
+ "direction",
378
+ "display",
379
+ "dominant-baseline",
380
+ "drop-initial-after-adjust",
381
+ "drop-initial-after-align",
382
+ "drop-initial-before-adjust",
383
+ "drop-initial-before-align",
384
+ "drop-initial-size",
385
+ "drop-initial-value",
386
+ "elevation",
387
+ "empty-cells",
388
+ "fit",
389
+ "fit-content",
390
+ "fit-position",
391
+ "flex",
392
+ "flex-basis",
393
+ "flex-direction",
394
+ "flex-flow",
395
+ "flex-grow",
396
+ "flex-shrink",
397
+ "flex-wrap",
398
+ "float",
399
+ "float-offset",
400
+ "flow-from",
401
+ "flow-into",
402
+ "font",
403
+ "font-family",
404
+ "font-feature-settings",
405
+ "font-kerning",
406
+ "font-language-override",
407
+ "font-optical-sizing",
408
+ "font-size",
409
+ "font-size-adjust",
410
+ "font-stretch",
411
+ "font-style",
412
+ "font-synthesis",
413
+ "font-variant",
414
+ "font-variant-alternates",
415
+ "font-variant-caps",
416
+ "font-variant-east-asian",
417
+ "font-variant-ligatures",
418
+ "font-variant-numeric",
419
+ "font-variant-position",
420
+ "font-variation-settings",
421
+ "font-weight",
422
+ "gap",
423
+ "grid",
424
+ "grid-area",
425
+ "grid-auto-columns",
426
+ "grid-auto-flow",
427
+ "grid-auto-rows",
428
+ "grid-column",
429
+ "grid-column-end",
430
+ "grid-column-gap",
431
+ "grid-column-start",
432
+ "grid-gap",
433
+ "grid-row",
434
+ "grid-row-end",
435
+ "grid-row-gap",
436
+ "grid-row-start",
437
+ "grid-template",
438
+ "grid-template-areas",
439
+ "grid-template-columns",
440
+ "grid-template-rows",
441
+ "hanging-punctuation",
442
+ "height",
443
+ "hyphens",
444
+ "icon",
445
+ "image-orientation",
446
+ "image-rendering",
447
+ "image-resolution",
448
+ "inline-box-align",
449
+ "inset",
450
+ "inset-block",
451
+ "inset-block-end",
452
+ "inset-block-start",
453
+ "inset-inline",
454
+ "inset-inline-end",
455
+ "inset-inline-start",
456
+ "isolation",
457
+ "justify-content",
458
+ "justify-items",
459
+ "justify-self",
460
+ "left",
461
+ "letter-spacing",
462
+ "line-break",
463
+ "line-height",
464
+ "line-height-step",
465
+ "line-stacking",
466
+ "line-stacking-ruby",
467
+ "line-stacking-shift",
468
+ "line-stacking-strategy",
469
+ "list-style",
470
+ "list-style-image",
471
+ "list-style-position",
472
+ "list-style-type",
473
+ "margin",
474
+ "margin-bottom",
475
+ "margin-left",
476
+ "margin-right",
477
+ "margin-top",
478
+ "marks",
479
+ "marquee-direction",
480
+ "marquee-loop",
481
+ "marquee-play-count",
482
+ "marquee-speed",
483
+ "marquee-style",
484
+ "mask-clip",
485
+ "mask-composite",
486
+ "mask-image",
487
+ "mask-mode",
488
+ "mask-origin",
489
+ "mask-position",
490
+ "mask-repeat",
491
+ "mask-size",
492
+ "mask-type",
493
+ "max-block-size",
494
+ "max-height",
495
+ "max-inline-size",
496
+ "max-width",
497
+ "min-block-size",
498
+ "min-height",
499
+ "min-inline-size",
500
+ "min-width",
501
+ "mix-blend-mode",
502
+ "move-to",
503
+ "nav-down",
504
+ "nav-index",
505
+ "nav-left",
506
+ "nav-right",
507
+ "nav-up",
508
+ "object-fit",
509
+ "object-position",
510
+ "offset",
511
+ "offset-anchor",
512
+ "offset-distance",
513
+ "offset-path",
514
+ "offset-position",
515
+ "offset-rotate",
516
+ "opacity",
517
+ "order",
518
+ "orphans",
519
+ "outline",
520
+ "outline-color",
521
+ "outline-offset",
522
+ "outline-style",
523
+ "outline-width",
524
+ "overflow",
525
+ "overflow-style",
526
+ "overflow-wrap",
527
+ "overflow-x",
528
+ "overflow-y",
529
+ "padding",
530
+ "padding-bottom",
531
+ "padding-left",
532
+ "padding-right",
533
+ "padding-top",
534
+ "page",
535
+ "page-break-after",
536
+ "page-break-before",
537
+ "page-break-inside",
538
+ "page-policy",
539
+ "pause",
540
+ "pause-after",
541
+ "pause-before",
542
+ "perspective",
543
+ "perspective-origin",
544
+ "pitch",
545
+ "pitch-range",
546
+ "place-content",
547
+ "place-items",
548
+ "place-self",
549
+ "play-during",
550
+ "position",
551
+ "presentation-level",
552
+ "punctuation-trim",
553
+ "quotes",
554
+ "region-break-after",
555
+ "region-break-before",
556
+ "region-break-inside",
557
+ "region-fragment",
558
+ "rendering-intent",
559
+ "resize",
560
+ "rest",
561
+ "rest-after",
562
+ "rest-before",
563
+ "richness",
564
+ "right",
565
+ "rotate",
566
+ "rotation",
567
+ "rotation-point",
568
+ "row-gap",
569
+ "ruby-align",
570
+ "ruby-overhang",
571
+ "ruby-position",
572
+ "ruby-span",
573
+ "scale",
574
+ "scroll-behavior",
575
+ "scroll-margin",
576
+ "scroll-margin-block",
577
+ "scroll-margin-block-end",
578
+ "scroll-margin-block-start",
579
+ "scroll-margin-bottom",
580
+ "scroll-margin-inline",
581
+ "scroll-margin-inline-end",
582
+ "scroll-margin-inline-start",
583
+ "scroll-margin-left",
584
+ "scroll-margin-right",
585
+ "scroll-margin-top",
586
+ "scroll-padding",
587
+ "scroll-padding-block",
588
+ "scroll-padding-block-end",
589
+ "scroll-padding-block-start",
590
+ "scroll-padding-bottom",
591
+ "scroll-padding-inline",
592
+ "scroll-padding-inline-end",
593
+ "scroll-padding-inline-start",
594
+ "scroll-padding-left",
595
+ "scroll-padding-right",
596
+ "scroll-padding-top",
597
+ "scroll-snap-align",
598
+ "scroll-snap-type",
599
+ "shape-image-threshold",
600
+ "shape-inside",
601
+ "shape-margin",
602
+ "shape-outside",
603
+ "size",
604
+ "speak",
605
+ "speak-as",
606
+ "speak-header",
607
+ "speak-numeral",
608
+ "speak-punctuation",
609
+ "speech-rate",
610
+ "stress",
611
+ "string-set",
612
+ "tab-size",
613
+ "table-layout",
614
+ "target",
615
+ "target-name",
616
+ "target-new",
617
+ "target-position",
618
+ "text-align",
619
+ "text-align-last",
620
+ "text-combine-upright",
621
+ "text-decoration",
622
+ "text-decoration-color",
623
+ "text-decoration-line",
624
+ "text-decoration-skip",
625
+ "text-decoration-skip-ink",
626
+ "text-decoration-style",
627
+ "text-emphasis",
628
+ "text-emphasis-color",
629
+ "text-emphasis-position",
630
+ "text-emphasis-style",
631
+ "text-height",
632
+ "text-indent",
633
+ "text-justify",
634
+ "text-orientation",
635
+ "text-outline",
636
+ "text-overflow",
637
+ "text-rendering",
638
+ "text-shadow",
639
+ "text-size-adjust",
640
+ "text-space-collapse",
641
+ "text-transform",
642
+ "text-underline-position",
643
+ "text-wrap",
644
+ "top",
645
+ "touch-action",
646
+ "transform",
647
+ "transform-origin",
648
+ "transform-style",
649
+ "transition",
650
+ "transition-delay",
651
+ "transition-duration",
652
+ "transition-property",
653
+ "transition-timing-function",
654
+ "translate",
655
+ "unicode-bidi",
656
+ "user-select",
657
+ "vertical-align",
658
+ "visibility",
659
+ "voice-balance",
660
+ "voice-duration",
661
+ "voice-family",
662
+ "voice-pitch",
663
+ "voice-range",
664
+ "voice-rate",
665
+ "voice-stress",
666
+ "voice-volume",
667
+ "volume",
668
+ "white-space",
669
+ "widows",
670
+ "width",
671
+ "will-change",
672
+ "word-break",
673
+ "word-spacing",
674
+ "word-wrap",
675
+ "writing-mode",
676
+ "z-index",
677
+ // SVG-specific
678
+ "clip-path",
679
+ "clip-rule",
680
+ "mask",
681
+ "enable-background",
682
+ "filter",
683
+ "flood-color",
684
+ "flood-opacity",
685
+ "lighting-color",
686
+ "stop-color",
687
+ "stop-opacity",
688
+ "pointer-events",
689
+ "color-interpolation",
690
+ "color-interpolation-filters",
691
+ "color-rendering",
692
+ "fill",
693
+ "fill-opacity",
694
+ "fill-rule",
695
+ "image-rendering",
696
+ "marker",
697
+ "marker-end",
698
+ "marker-mid",
699
+ "marker-start",
700
+ "paint-order",
701
+ "shape-rendering",
702
+ "stroke",
703
+ "stroke-dasharray",
704
+ "stroke-dashoffset",
705
+ "stroke-linecap",
706
+ "stroke-linejoin",
707
+ "stroke-miterlimit",
708
+ "stroke-opacity",
709
+ "stroke-width",
710
+ "text-rendering",
711
+ "baseline-shift",
712
+ "dominant-baseline",
713
+ "glyph-orientation-horizontal",
714
+ "glyph-orientation-vertical",
715
+ "text-anchor",
716
+ "writing-mode"
717
+ ], z = p(S), Z = [
718
+ "accent-color",
719
+ "aspect-ratio",
720
+ "border-block",
721
+ "border-block-color",
722
+ "border-block-end",
723
+ "border-block-end-color",
724
+ "border-block-end-style",
725
+ "border-block-end-width",
726
+ "border-block-start",
727
+ "border-block-start-color",
728
+ "border-block-start-style",
729
+ "border-block-start-width",
730
+ "border-block-style",
731
+ "border-block-width",
732
+ "border-inline",
733
+ "border-inline-color",
734
+ "border-inline-end",
735
+ "border-inline-end-color",
736
+ "border-inline-end-style",
737
+ "border-inline-end-width",
738
+ "border-inline-start",
739
+ "border-inline-start-color",
740
+ "border-inline-start-style",
741
+ "border-inline-start-width",
742
+ "border-inline-style",
743
+ "border-inline-width",
744
+ "content-visibility",
745
+ "margin-block",
746
+ "margin-block-end",
747
+ "margin-block-start",
748
+ "margin-inline",
749
+ "margin-inline-end",
750
+ "margin-inline-start",
751
+ "overflow-anchor",
752
+ "overscroll-behavior",
753
+ "padding-block",
754
+ "padding-block-end",
755
+ "padding-block-start",
756
+ "padding-inline",
757
+ "padding-inline-end",
758
+ "padding-inline-start",
759
+ "scroll-snap-stop",
760
+ "scrollbar-3d-light-color",
761
+ "scrollbar-arrow-color",
762
+ "scrollbar-base-color",
763
+ "scrollbar-dark-shadow-color",
764
+ "scrollbar-face-color",
765
+ "scrollbar-highlight-color",
766
+ "scrollbar-shadow-color",
767
+ "scrollbar-track-color",
768
+ "searchfield-cancel-button",
769
+ "searchfield-decoration",
770
+ "searchfield-results-button",
771
+ "searchfield-results-decoration",
772
+ "shape-inside",
773
+ "zoom"
774
+ ], K = p(Z), U = [
775
+ "font-display",
776
+ "font-family",
777
+ "src",
778
+ "unicode-range",
779
+ "font-variant",
780
+ "font-feature-settings",
781
+ "font-stretch",
782
+ "font-weight",
783
+ "font-style"
784
+ ], P = p(U), ne = [
785
+ "additive-symbols",
786
+ "fallback",
787
+ "negative",
788
+ "pad",
789
+ "prefix",
790
+ "range",
791
+ "speak-as",
792
+ "suffix",
793
+ "symbols",
794
+ "system"
795
+ ], I = p(ne), T = [
796
+ "aliceblue",
797
+ "antiquewhite",
798
+ "aqua",
799
+ "aquamarine",
800
+ "azure",
801
+ "beige",
802
+ "bisque",
803
+ "black",
804
+ "blanchedalmond",
805
+ "blue",
806
+ "blueviolet",
807
+ "brown",
808
+ "burlywood",
809
+ "cadetblue",
810
+ "chartreuse",
811
+ "chocolate",
812
+ "coral",
813
+ "cornflowerblue",
814
+ "cornsilk",
815
+ "crimson",
816
+ "cyan",
817
+ "darkblue",
818
+ "darkcyan",
819
+ "darkgoldenrod",
820
+ "darkgray",
821
+ "darkgreen",
822
+ "darkgrey",
823
+ "darkkhaki",
824
+ "darkmagenta",
825
+ "darkolivegreen",
826
+ "darkorange",
827
+ "darkorchid",
828
+ "darkred",
829
+ "darksalmon",
830
+ "darkseagreen",
831
+ "darkslateblue",
832
+ "darkslategray",
833
+ "darkslategrey",
834
+ "darkturquoise",
835
+ "darkviolet",
836
+ "deeppink",
837
+ "deepskyblue",
838
+ "dimgray",
839
+ "dimgrey",
840
+ "dodgerblue",
841
+ "firebrick",
842
+ "floralwhite",
843
+ "forestgreen",
844
+ "fuchsia",
845
+ "gainsboro",
846
+ "ghostwhite",
847
+ "gold",
848
+ "goldenrod",
849
+ "gray",
850
+ "grey",
851
+ "green",
852
+ "greenyellow",
853
+ "honeydew",
854
+ "hotpink",
855
+ "indianred",
856
+ "indigo",
857
+ "ivory",
858
+ "khaki",
859
+ "lavender",
860
+ "lavenderblush",
861
+ "lawngreen",
862
+ "lemonchiffon",
863
+ "lightblue",
864
+ "lightcoral",
865
+ "lightcyan",
866
+ "lightgoldenrodyellow",
867
+ "lightgray",
868
+ "lightgreen",
869
+ "lightgrey",
870
+ "lightpink",
871
+ "lightsalmon",
872
+ "lightseagreen",
873
+ "lightskyblue",
874
+ "lightslategray",
875
+ "lightslategrey",
876
+ "lightsteelblue",
877
+ "lightyellow",
878
+ "lime",
879
+ "limegreen",
880
+ "linen",
881
+ "magenta",
882
+ "maroon",
883
+ "mediumaquamarine",
884
+ "mediumblue",
885
+ "mediumorchid",
886
+ "mediumpurple",
887
+ "mediumseagreen",
888
+ "mediumslateblue",
889
+ "mediumspringgreen",
890
+ "mediumturquoise",
891
+ "mediumvioletred",
892
+ "midnightblue",
893
+ "mintcream",
894
+ "mistyrose",
895
+ "moccasin",
896
+ "navajowhite",
897
+ "navy",
898
+ "oldlace",
899
+ "olive",
900
+ "olivedrab",
901
+ "orange",
902
+ "orangered",
903
+ "orchid",
904
+ "palegoldenrod",
905
+ "palegreen",
906
+ "paleturquoise",
907
+ "palevioletred",
908
+ "papayawhip",
909
+ "peachpuff",
910
+ "peru",
911
+ "pink",
912
+ "plum",
913
+ "powderblue",
914
+ "purple",
915
+ "rebeccapurple",
916
+ "red",
917
+ "rosybrown",
918
+ "royalblue",
919
+ "saddlebrown",
920
+ "salmon",
921
+ "sandybrown",
922
+ "seagreen",
923
+ "seashell",
924
+ "sienna",
925
+ "silver",
926
+ "skyblue",
927
+ "slateblue",
928
+ "slategray",
929
+ "slategrey",
930
+ "snow",
931
+ "springgreen",
932
+ "steelblue",
933
+ "tan",
934
+ "teal",
935
+ "thistle",
936
+ "tomato",
937
+ "turquoise",
938
+ "violet",
939
+ "wheat",
940
+ "white",
941
+ "whitesmoke",
942
+ "yellow",
943
+ "yellowgreen"
944
+ ], _ = p(T), A = [
945
+ "above",
946
+ "absolute",
947
+ "activeborder",
948
+ "additive",
949
+ "activecaption",
950
+ "afar",
951
+ "after-white-space",
952
+ "ahead",
953
+ "alias",
954
+ "all",
955
+ "all-scroll",
956
+ "alphabetic",
957
+ "alternate",
958
+ "always",
959
+ "amharic",
960
+ "amharic-abegede",
961
+ "antialiased",
962
+ "appworkspace",
963
+ "arabic-indic",
964
+ "armenian",
965
+ "asterisks",
966
+ "attr",
967
+ "auto",
968
+ "auto-flow",
969
+ "avoid",
970
+ "avoid-column",
971
+ "avoid-page",
972
+ "avoid-region",
973
+ "axis-pan",
974
+ "background",
975
+ "backwards",
976
+ "baseline",
977
+ "below",
978
+ "bidi-override",
979
+ "binary",
980
+ "bengali",
981
+ "blink",
982
+ "block",
983
+ "block-axis",
984
+ "blur",
985
+ "bold",
986
+ "bolder",
987
+ "border",
988
+ "border-box",
989
+ "both",
990
+ "bottom",
991
+ "break",
992
+ "break-all",
993
+ "break-word",
994
+ "brightness",
995
+ "bullets",
996
+ "button",
997
+ "buttonface",
998
+ "buttonhighlight",
999
+ "buttonshadow",
1000
+ "buttontext",
1001
+ "calc",
1002
+ "cambodian",
1003
+ "capitalize",
1004
+ "caps-lock-indicator",
1005
+ "caption",
1006
+ "captiontext",
1007
+ "caret",
1008
+ "cell",
1009
+ "center",
1010
+ "checkbox",
1011
+ "circle",
1012
+ "cjk-decimal",
1013
+ "cjk-earthly-branch",
1014
+ "cjk-heavenly-stem",
1015
+ "cjk-ideographic",
1016
+ "clear",
1017
+ "clip",
1018
+ "close-quote",
1019
+ "col-resize",
1020
+ "collapse",
1021
+ "color",
1022
+ "color-burn",
1023
+ "color-dodge",
1024
+ "column",
1025
+ "column-reverse",
1026
+ "compact",
1027
+ "condensed",
1028
+ "conic-gradient",
1029
+ "contain",
1030
+ "content",
1031
+ "contents",
1032
+ "content-box",
1033
+ "context-menu",
1034
+ "continuous",
1035
+ "contrast",
1036
+ "copy",
1037
+ "counter",
1038
+ "counters",
1039
+ "cover",
1040
+ "crop",
1041
+ "cross",
1042
+ "crosshair",
1043
+ "cubic-bezier",
1044
+ "currentcolor",
1045
+ "cursive",
1046
+ "cyclic",
1047
+ "darken",
1048
+ "dashed",
1049
+ "decimal",
1050
+ "decimal-leading-zero",
1051
+ "default",
1052
+ "default-button",
1053
+ "dense",
1054
+ "destination-atop",
1055
+ "destination-in",
1056
+ "destination-out",
1057
+ "destination-over",
1058
+ "devanagari",
1059
+ "difference",
1060
+ "disc",
1061
+ "discard",
1062
+ "disclosure-closed",
1063
+ "disclosure-open",
1064
+ "document",
1065
+ "dot-dash",
1066
+ "dot-dot-dash",
1067
+ "dotted",
1068
+ "double",
1069
+ "down",
1070
+ "drop-shadow",
1071
+ "e-resize",
1072
+ "ease",
1073
+ "ease-in",
1074
+ "ease-in-out",
1075
+ "ease-out",
1076
+ "element",
1077
+ "ellipse",
1078
+ "ellipsis",
1079
+ "embed",
1080
+ "end",
1081
+ "ethiopic",
1082
+ "ethiopic-abegede",
1083
+ "ethiopic-abegede-am-et",
1084
+ "ethiopic-abegede-gez",
1085
+ "ethiopic-abegede-ti-er",
1086
+ "ethiopic-abegede-ti-et",
1087
+ "ethiopic-halehame-aa-er",
1088
+ "ethiopic-halehame-aa-et",
1089
+ "ethiopic-halehame-am-et",
1090
+ "ethiopic-halehame-gez",
1091
+ "ethiopic-halehame-om-et",
1092
+ "ethiopic-halehame-sid-et",
1093
+ "ethiopic-halehame-so-et",
1094
+ "ethiopic-halehame-ti-er",
1095
+ "ethiopic-halehame-ti-et",
1096
+ "ethiopic-halehame-tig",
1097
+ "ethiopic-numeric",
1098
+ "ew-resize",
1099
+ "exclusion",
1100
+ "expanded",
1101
+ "extends",
1102
+ "extra-condensed",
1103
+ "extra-expanded",
1104
+ "fantasy",
1105
+ "fast",
1106
+ "fill",
1107
+ "fill-box",
1108
+ "fixed",
1109
+ "flat",
1110
+ "flex",
1111
+ "flex-end",
1112
+ "flex-start",
1113
+ "footnotes",
1114
+ "forwards",
1115
+ "from",
1116
+ "geometricPrecision",
1117
+ "georgian",
1118
+ "grayscale",
1119
+ "graytext",
1120
+ "grid",
1121
+ "groove",
1122
+ "gujarati",
1123
+ "gurmukhi",
1124
+ "hand",
1125
+ "hangul",
1126
+ "hangul-consonant",
1127
+ "hard-light",
1128
+ "hebrew",
1129
+ "help",
1130
+ "hidden",
1131
+ "hide",
1132
+ "higher",
1133
+ "highlight",
1134
+ "highlighttext",
1135
+ "hiragana",
1136
+ "hiragana-iroha",
1137
+ "horizontal",
1138
+ "hsl",
1139
+ "hsla",
1140
+ "hue",
1141
+ "hue-rotate",
1142
+ "icon",
1143
+ "ignore",
1144
+ "inactiveborder",
1145
+ "inactivecaption",
1146
+ "inactivecaptiontext",
1147
+ "infinite",
1148
+ "infobackground",
1149
+ "infotext",
1150
+ "inherit",
1151
+ "initial",
1152
+ "inline",
1153
+ "inline-axis",
1154
+ "inline-block",
1155
+ "inline-flex",
1156
+ "inline-grid",
1157
+ "inline-table",
1158
+ "inset",
1159
+ "inside",
1160
+ "intrinsic",
1161
+ "invert",
1162
+ "italic",
1163
+ "japanese-formal",
1164
+ "japanese-informal",
1165
+ "justify",
1166
+ "kannada",
1167
+ "katakana",
1168
+ "katakana-iroha",
1169
+ "keep-all",
1170
+ "khmer",
1171
+ "korean-hangul-formal",
1172
+ "korean-hanja-formal",
1173
+ "korean-hanja-informal",
1174
+ "landscape",
1175
+ "lao",
1176
+ "large",
1177
+ "larger",
1178
+ "left",
1179
+ "level",
1180
+ "lighter",
1181
+ "lighten",
1182
+ "line-through",
1183
+ "linear",
1184
+ "linear-gradient",
1185
+ "lines",
1186
+ "list-item",
1187
+ "listbox",
1188
+ "listitem",
1189
+ "local",
1190
+ "logical",
1191
+ "loud",
1192
+ "lower",
1193
+ "lower-alpha",
1194
+ "lower-armenian",
1195
+ "lower-greek",
1196
+ "lower-hexadecimal",
1197
+ "lower-latin",
1198
+ "lower-norwegian",
1199
+ "lower-roman",
1200
+ "lowercase",
1201
+ "ltr",
1202
+ "luminosity",
1203
+ "malayalam",
1204
+ "manipulation",
1205
+ "match",
1206
+ "matrix",
1207
+ "matrix3d",
1208
+ "media-play-button",
1209
+ "media-slider",
1210
+ "media-sliderthumb",
1211
+ "media-volume-slider",
1212
+ "media-volume-sliderthumb",
1213
+ "medium",
1214
+ "menu",
1215
+ "menulist",
1216
+ "menulist-button",
1217
+ "menutext",
1218
+ "message-box",
1219
+ "middle",
1220
+ "min-intrinsic",
1221
+ "mix",
1222
+ "mongolian",
1223
+ "monospace",
1224
+ "move",
1225
+ "multiple",
1226
+ "multiple_mask_images",
1227
+ "multiply",
1228
+ "myanmar",
1229
+ "n-resize",
1230
+ "narrower",
1231
+ "ne-resize",
1232
+ "nesw-resize",
1233
+ "no-close-quote",
1234
+ "no-drop",
1235
+ "no-open-quote",
1236
+ "no-repeat",
1237
+ "none",
1238
+ "normal",
1239
+ "not-allowed",
1240
+ "nowrap",
1241
+ "ns-resize",
1242
+ "numbers",
1243
+ "numeric",
1244
+ "nw-resize",
1245
+ "nwse-resize",
1246
+ "oblique",
1247
+ "octal",
1248
+ "opacity",
1249
+ "open-quote",
1250
+ "optimizeLegibility",
1251
+ "optimizeSpeed",
1252
+ "oriya",
1253
+ "oromo",
1254
+ "outset",
1255
+ "outside",
1256
+ "outside-shape",
1257
+ "overlay",
1258
+ "overline",
1259
+ "padding",
1260
+ "padding-box",
1261
+ "painted",
1262
+ "page",
1263
+ "paused",
1264
+ "persian",
1265
+ "perspective",
1266
+ "pinch-zoom",
1267
+ "plus-darker",
1268
+ "plus-lighter",
1269
+ "pointer",
1270
+ "polygon",
1271
+ "portrait",
1272
+ "pre",
1273
+ "pre-line",
1274
+ "pre-wrap",
1275
+ "preserve-3d",
1276
+ "progress",
1277
+ "push-button",
1278
+ "radial-gradient",
1279
+ "radio",
1280
+ "read-only",
1281
+ "read-write",
1282
+ "read-write-plaintext-only",
1283
+ "rectangle",
1284
+ "region",
1285
+ "relative",
1286
+ "repeat",
1287
+ "repeating-linear-gradient",
1288
+ "repeating-radial-gradient",
1289
+ "repeating-conic-gradient",
1290
+ "repeat-x",
1291
+ "repeat-y",
1292
+ "reset",
1293
+ "reverse",
1294
+ "rgb",
1295
+ "rgba",
1296
+ "ridge",
1297
+ "right",
1298
+ "rotate",
1299
+ "rotate3d",
1300
+ "rotateX",
1301
+ "rotateY",
1302
+ "rotateZ",
1303
+ "round",
1304
+ "row",
1305
+ "row-resize",
1306
+ "row-reverse",
1307
+ "rtl",
1308
+ "run-in",
1309
+ "running",
1310
+ "s-resize",
1311
+ "sans-serif",
1312
+ "saturate",
1313
+ "saturation",
1314
+ "scale",
1315
+ "scale3d",
1316
+ "scaleX",
1317
+ "scaleY",
1318
+ "scaleZ",
1319
+ "screen",
1320
+ "scroll",
1321
+ "scrollbar",
1322
+ "scroll-position",
1323
+ "se-resize",
1324
+ "searchfield",
1325
+ "searchfield-cancel-button",
1326
+ "searchfield-decoration",
1327
+ "searchfield-results-button",
1328
+ "searchfield-results-decoration",
1329
+ "self-start",
1330
+ "self-end",
1331
+ "semi-condensed",
1332
+ "semi-expanded",
1333
+ "separate",
1334
+ "sepia",
1335
+ "serif",
1336
+ "show",
1337
+ "sidama",
1338
+ "simp-chinese-formal",
1339
+ "simp-chinese-informal",
1340
+ "single",
1341
+ "skew",
1342
+ "skewX",
1343
+ "skewY",
1344
+ "skip-white-space",
1345
+ "slide",
1346
+ "slider-horizontal",
1347
+ "slider-vertical",
1348
+ "sliderthumb-horizontal",
1349
+ "sliderthumb-vertical",
1350
+ "slow",
1351
+ "small",
1352
+ "small-caps",
1353
+ "small-caption",
1354
+ "smaller",
1355
+ "soft-light",
1356
+ "solid",
1357
+ "somali",
1358
+ "source-atop",
1359
+ "source-in",
1360
+ "source-out",
1361
+ "source-over",
1362
+ "space",
1363
+ "space-around",
1364
+ "space-between",
1365
+ "space-evenly",
1366
+ "spell-out",
1367
+ "square",
1368
+ "square-button",
1369
+ "start",
1370
+ "static",
1371
+ "status-bar",
1372
+ "stretch",
1373
+ "stroke",
1374
+ "stroke-box",
1375
+ "sub",
1376
+ "subpixel-antialiased",
1377
+ "svg_masks",
1378
+ "super",
1379
+ "sw-resize",
1380
+ "symbolic",
1381
+ "symbols",
1382
+ "system-ui",
1383
+ "table",
1384
+ "table-caption",
1385
+ "table-cell",
1386
+ "table-column",
1387
+ "table-column-group",
1388
+ "table-footer-group",
1389
+ "table-header-group",
1390
+ "table-row",
1391
+ "table-row-group",
1392
+ "tamil",
1393
+ "telugu",
1394
+ "text",
1395
+ "text-bottom",
1396
+ "text-top",
1397
+ "textarea",
1398
+ "textfield",
1399
+ "thai",
1400
+ "thick",
1401
+ "thin",
1402
+ "threeddarkshadow",
1403
+ "threedface",
1404
+ "threedhighlight",
1405
+ "threedlightshadow",
1406
+ "threedshadow",
1407
+ "tibetan",
1408
+ "tigre",
1409
+ "tigrinya-er",
1410
+ "tigrinya-er-abegede",
1411
+ "tigrinya-et",
1412
+ "tigrinya-et-abegede",
1413
+ "to",
1414
+ "top",
1415
+ "trad-chinese-formal",
1416
+ "trad-chinese-informal",
1417
+ "transform",
1418
+ "translate",
1419
+ "translate3d",
1420
+ "translateX",
1421
+ "translateY",
1422
+ "translateZ",
1423
+ "transparent",
1424
+ "ultra-condensed",
1425
+ "ultra-expanded",
1426
+ "underline",
1427
+ "unidirectional-pan",
1428
+ "unset",
1429
+ "up",
1430
+ "upper-alpha",
1431
+ "upper-armenian",
1432
+ "upper-greek",
1433
+ "upper-hexadecimal",
1434
+ "upper-latin",
1435
+ "upper-norwegian",
1436
+ "upper-roman",
1437
+ "uppercase",
1438
+ "urdu",
1439
+ "url",
1440
+ "var",
1441
+ "vertical",
1442
+ "vertical-text",
1443
+ "view-box",
1444
+ "visible",
1445
+ "visibleFill",
1446
+ "visiblePainted",
1447
+ "visibleStroke",
1448
+ "visual",
1449
+ "w-resize",
1450
+ "wait",
1451
+ "wave",
1452
+ "wider",
1453
+ "window",
1454
+ "windowframe",
1455
+ "windowtext",
1456
+ "words",
1457
+ "wrap",
1458
+ "wrap-reverse",
1459
+ "x-large",
1460
+ "x-small",
1461
+ "xor",
1462
+ "xx-large",
1463
+ "xx-small"
1464
+ ], j = p(A), M = H.concat(X).concat(Y).concat(E).concat(S).concat(Z).concat(T).concat(A);
1465
+ const le = {
1466
+ properties: S,
1467
+ colors: T,
1468
+ fonts: U,
1469
+ values: A,
1470
+ all: M
1471
+ }, ae = {
1472
+ documentTypes: C,
1473
+ mediaTypes: v,
1474
+ mediaFeatures: x,
1475
+ mediaValueKeywords: B,
1476
+ propertyKeywords: z,
1477
+ nonStandardPropertyKeywords: K,
1478
+ fontProperties: P,
1479
+ counterDescriptors: I,
1480
+ colorKeywords: _,
1481
+ valueKeywords: j,
1482
+ tokenHooks: {
1483
+ "/": function(i, l) {
1484
+ return i.eat("*") ? (l.tokenize = f, f(i, l)) : !1;
1485
+ }
1486
+ }
1487
+ }, se = y({ name: "css" });
1488
+ function f(i, l) {
1489
+ for (var m = !1, b; (b = i.next()) != null; ) {
1490
+ if (m && b == "/") {
1491
+ l.tokenize = null;
1492
+ break;
1493
+ }
1494
+ m = b == "*";
1495
+ }
1496
+ return ["comment", "comment"];
1497
+ }
1498
+ const ce = y({
1499
+ name: "scss",
1500
+ mediaTypes: v,
1501
+ mediaFeatures: x,
1502
+ mediaValueKeywords: B,
1503
+ propertyKeywords: z,
1504
+ nonStandardPropertyKeywords: K,
1505
+ colorKeywords: _,
1506
+ valueKeywords: j,
1507
+ fontProperties: P,
1508
+ allowNested: !0,
1509
+ lineComment: "//",
1510
+ tokenHooks: {
1511
+ "/": function(i, l) {
1512
+ return i.eat("/") ? (i.skipToEnd(), ["comment", "comment"]) : i.eat("*") ? (l.tokenize = f, f(i, l)) : ["operator", "operator"];
1513
+ },
1514
+ ":": function(i) {
1515
+ return i.match(/^\s*\{/, !1) ? [null, null] : !1;
1516
+ },
1517
+ $: function(i) {
1518
+ return i.match(/^[\w-]+/), i.match(/^\s*:/, !1) ? ["def", "variable-definition"] : ["variableName.special", "variable"];
1519
+ },
1520
+ "#": function(i) {
1521
+ return i.eat("{") ? [null, "interpolation"] : !1;
1522
+ }
1523
+ }
1524
+ }), de = y({
1525
+ name: "less",
1526
+ mediaTypes: v,
1527
+ mediaFeatures: x,
1528
+ mediaValueKeywords: B,
1529
+ propertyKeywords: z,
1530
+ nonStandardPropertyKeywords: K,
1531
+ colorKeywords: _,
1532
+ valueKeywords: j,
1533
+ fontProperties: P,
1534
+ allowNested: !0,
1535
+ lineComment: "//",
1536
+ tokenHooks: {
1537
+ "/": function(i, l) {
1538
+ return i.eat("/") ? (i.skipToEnd(), ["comment", "comment"]) : i.eat("*") ? (l.tokenize = f, f(i, l)) : ["operator", "operator"];
1539
+ },
1540
+ "@": function(i) {
1541
+ return i.eat("{") ? [null, "interpolation"] : i.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i, !1) ? !1 : (i.eatWhile(/[\w\\\-]/), i.match(/^\s*:/, !1) ? ["def", "variable-definition"] : ["variableName", "variable"]);
1542
+ },
1543
+ "&": function() {
1544
+ return ["atom", "atom"];
1545
+ }
1546
+ }
1547
+ }), ue = y({
1548
+ name: "gss",
1549
+ documentTypes: C,
1550
+ mediaTypes: v,
1551
+ mediaFeatures: x,
1552
+ propertyKeywords: z,
1553
+ nonStandardPropertyKeywords: K,
1554
+ fontProperties: P,
1555
+ counterDescriptors: I,
1556
+ colorKeywords: _,
1557
+ valueKeywords: j,
1558
+ supportsAtComponent: !0,
1559
+ tokenHooks: {
1560
+ "/": function(i, l) {
1561
+ return i.eat("*") ? (l.tokenize = f, f(i, l)) : !1;
1562
+ }
1563
+ }
1564
+ });
1565
+ export {
1566
+ se as css,
1567
+ ue as gss,
1568
+ le as keywords,
1569
+ de as less,
1570
+ y as mkCSS,
1571
+ ce as sCSS
1572
+ };