editor.md-next 0.0.0-stage → 0.1.1
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/LICENSE +32 -0
- package/dist/cdn/editormd-next.min.js +96 -0
- package/dist/cdn/index.css +2 -0
- package/dist/es/chunks/apl-BsW9fB9B.js +74 -0
- package/dist/es/chunks/asciiarmor-CZm6RLC5.js +30 -0
- package/dist/es/chunks/asn1-DBNYSAs9.js +86 -0
- package/dist/es/chunks/asterisk-XIYTp-BQ.js +63 -0
- package/dist/es/chunks/brainfuck-C03PadMX.js +26 -0
- package/dist/es/chunks/clike-QWVxZJBi.js +583 -0
- package/dist/es/chunks/clojure-DT_PY7rc.js +98 -0
- package/dist/es/chunks/cmake-DsoLxE-D.js +27 -0
- package/dist/es/chunks/cobol-CZjCUlI-.js +59 -0
- package/dist/es/chunks/coffeescript-CuHwxkgS.js +174 -0
- package/dist/es/chunks/commonlisp-CGpKWWCQ.js +90 -0
- package/dist/es/chunks/crystal-BH2tBqmL.js +159 -0
- package/dist/es/chunks/css-C6pN9rmb.js +314 -0
- package/dist/es/chunks/cypher-DknS4f0k.js +66 -0
- package/dist/es/chunks/d-zXrED2QC.js +121 -0
- package/dist/es/chunks/diff-Ca3g43eR.js +15 -0
- package/dist/es/chunks/dist-9Y-Blrkp.js +118 -0
- package/dist/es/chunks/dist-B0cBTTiS.js +408 -0
- package/dist/es/chunks/dist-BX9Ur1J1.js +74 -0
- package/dist/es/chunks/dist-BmAxhg3z.js +555 -0
- package/dist/es/chunks/dist-C6c_aHTh.js +269 -0
- package/dist/es/chunks/dist-CGdw3vqm.js +429 -0
- package/dist/es/chunks/dist-CNbWaVYs.js +11572 -0
- package/dist/es/chunks/dist-CR-jmTSB.js +1338 -0
- package/dist/es/chunks/dist-CahNaXTc.js +388 -0
- package/dist/es/chunks/dist-CeqtAM8-.js +438 -0
- package/dist/es/chunks/dist-Clo-Jkvm.js +291 -0
- package/dist/es/chunks/dist-Cpw9AD2K.js +372 -0
- package/dist/es/chunks/dist-Ct5FNAAH.js +406 -0
- package/dist/es/chunks/dist-D0OW86fR.js +605 -0
- package/dist/es/chunks/dist-DAlgXLzd.js +110 -0
- package/dist/es/chunks/dist-DL-UifMi.js +744 -0
- package/dist/es/chunks/dist-DQadNG25.js +523 -0
- package/dist/es/chunks/dist-DlAXkWGE.js +67 -0
- package/dist/es/chunks/dist-DoThxrrR.js +371 -0
- package/dist/es/chunks/dist-DrwgGib-.js +377 -0
- package/dist/es/chunks/dist-P5rAF7pi.js +197 -0
- package/dist/es/chunks/dist-fTCYxiV-.js +355 -0
- package/dist/es/chunks/dockerfile-BZSDl6MT.js +196 -0
- package/dist/es/chunks/dtd-DzUNfrcJ.js +77 -0
- package/dist/es/chunks/dylan-CFjlscB1.js +186 -0
- package/dist/es/chunks/ebnf-Vn9hWL1o.js +67 -0
- package/dist/es/chunks/ecl-CbjLeBF5.js +105 -0
- package/dist/es/chunks/eiffel-Dmm3m78y.js +49 -0
- package/dist/es/chunks/elm-CSe2F7PE.js +85 -0
- package/dist/es/chunks/erlang-D6YOoBpM.js +321 -0
- package/dist/es/chunks/factor-DAqyQvq1.js +165 -0
- package/dist/es/chunks/fcl-BZA_wXmw.js +99 -0
- package/dist/es/chunks/forth-MNc4axOK.js +45 -0
- package/dist/es/chunks/fortran-auI4bdzC.js +40 -0
- package/dist/es/chunks/gas-CZDp8wLI.js +167 -0
- package/dist/es/chunks/gherkin-B12NX28O.js +29 -0
- package/dist/es/chunks/groovy-CBShT4in.js +143 -0
- package/dist/es/chunks/haskell-DQf5nq2l.js +85 -0
- package/dist/es/chunks/haxe-CBKywepX.js +351 -0
- package/dist/es/chunks/http-B-vrcJu5.js +43 -0
- package/dist/es/chunks/idl-kztl-rIS.js +41 -0
- package/dist/es/chunks/javascript-COVyUmNV.js +636 -0
- package/dist/es/chunks/julia-C7x1UmUy.js +173 -0
- package/dist/es/chunks/livescript-BcSQznfC.js +250 -0
- package/dist/es/chunks/lua-CuzOmeFy.js +104 -0
- package/dist/es/chunks/mathematica-C_8O0eBN.js +37 -0
- package/dist/es/chunks/mbox-CgRq7o1s.js +65 -0
- package/dist/es/chunks/mirc-46fAnY_I.js +61 -0
- package/dist/es/chunks/mllike-DwngWEOH.js +260 -0
- package/dist/es/chunks/modelica-CLh6SOPZ.js +82 -0
- package/dist/es/chunks/mscgen-CqCKoWqr.js +287 -0
- package/dist/es/chunks/mumps-CTaGGpGh.js +24 -0
- package/dist/es/chunks/nginx-D8_Tx5a5.js +76 -0
- package/dist/es/chunks/nsis-LQ_3myBa.js +143 -0
- package/dist/es/chunks/ntriples-C8_f-qnr.js +76 -0
- package/dist/es/chunks/octave-Bg8pIvq8.js +40 -0
- package/dist/es/chunks/oz-fY6iPhaV.js +151 -0
- package/dist/es/chunks/pascal-yJGuSy92.js +66 -0
- package/dist/es/chunks/perl-Cp3_dIJp.js +626 -0
- package/dist/es/chunks/pig-Dp8CFFHM.js +49 -0
- package/dist/es/chunks/powershell-CFKKqebC.js +233 -0
- package/dist/es/chunks/properties-bVaZpKhj.js +19 -0
- package/dist/es/chunks/protobuf-CJ_NuiRp.js +14 -0
- package/dist/es/chunks/pug-CNVrzrF7.js +202 -0
- package/dist/es/chunks/puppet-DFrFlsRb.js +37 -0
- package/dist/es/chunks/python-DDOdLHWp.js +219 -0
- package/dist/es/chunks/q-CfAEY3XK.js +82 -0
- package/dist/es/chunks/r-D33f5qKA.js +133 -0
- package/dist/es/chunks/rolldown-runtime-QGRDbDUS.js +19 -0
- package/dist/es/chunks/rpm-KA2CbYVz.js +39 -0
- package/dist/es/chunks/ruby-DkaeL5UR.js +165 -0
- package/dist/es/chunks/sas-BMhoxqFi.js +73 -0
- package/dist/es/chunks/scheme-DiiFnhTV.js +116 -0
- package/dist/es/chunks/shell-BkraTAet.js +108 -0
- package/dist/es/chunks/sieve-CO0RsW8J.js +59 -0
- package/dist/es/chunks/simple-mode-DwMrk-pB.js +95 -0
- package/dist/es/chunks/smalltalk-susA3LoJ.js +43 -0
- package/dist/es/chunks/solr-Dyiozr6d.js +36 -0
- package/dist/es/chunks/sparql-svcWfrig.js +78 -0
- package/dist/es/chunks/spreadsheet-D64TPnFY.js +48 -0
- package/dist/es/chunks/sql-iy-in7fW.js +254 -0
- package/dist/es/chunks/stex-CK4iWXBq.js +108 -0
- package/dist/es/chunks/stylus-Bla1TtoF.js +281 -0
- package/dist/es/chunks/swift-BfLWtovc.js +158 -0
- package/dist/es/chunks/tcl-Cqsx32oK.js +71 -0
- package/dist/es/chunks/textile-CP9LptjR.js +215 -0
- package/dist/es/chunks/tiddlywiki-Ta-GM0jK.js +129 -0
- package/dist/es/chunks/tiki-CX4cONcl.js +160 -0
- package/dist/es/chunks/toml-BvD52WqI.js +27 -0
- package/dist/es/chunks/troff-CQ9EHWHs.js +29 -0
- package/dist/es/chunks/ttcn-DvhS_Gkc.js +117 -0
- package/dist/es/chunks/ttcn-cfg-GQi0YvSM.js +80 -0
- package/dist/es/chunks/turtle-VdGQLPpt.js +78 -0
- package/dist/es/chunks/vb-CPJS1Nrj.js +108 -0
- package/dist/es/chunks/vbscript-DEYreBb1.js +208 -0
- package/dist/es/chunks/velocity-BzjrTOAF.js +89 -0
- package/dist/es/chunks/verilog-Bc3Yq1WU.js +218 -0
- package/dist/es/chunks/vhdl-BD6jHQjr.js +102 -0
- package/dist/es/chunks/webidl-C5YO-ffA.js +102 -0
- package/dist/es/chunks/xquery-ugZJVSaq.js +204 -0
- package/dist/es/chunks/yacas-tAOeQ6Ok.js +72 -0
- package/dist/es/chunks/z80-DZa7RpgS.js +43 -0
- package/dist/es/index.js +19829 -0
- package/dist/iife/index.iife.js +96 -0
- package/dist/index.css +2 -0
- package/dist/types/cm/create-view.d.ts +19 -0
- package/dist/types/cm/create-view.d.ts.map +1 -0
- package/dist/types/cm/shortcuts.d.ts +11 -0
- package/dist/types/cm/shortcuts.d.ts.map +1 -0
- package/dist/types/cm/themes.d.ts +24 -0
- package/dist/types/cm/themes.d.ts.map +1 -0
- package/dist/types/cm/themes.test.d.ts +2 -0
- package/dist/types/cm/themes.test.d.ts.map +1 -0
- package/dist/types/defaults.d.ts +5 -0
- package/dist/types/defaults.d.ts.map +1 -0
- package/dist/types/dialogs/code.d.ts +5 -0
- package/dist/types/dialogs/code.d.ts.map +1 -0
- package/dist/types/dialogs/data/html-entities-data.d.ts +9 -0
- package/dist/types/dialogs/data/html-entities-data.d.ts.map +1 -0
- package/dist/types/dialogs/dialog.d.ts +37 -0
- package/dist/types/dialogs/dialog.d.ts.map +1 -0
- package/dist/types/dialogs/emoji.d.ts +4 -0
- package/dist/types/dialogs/emoji.d.ts.map +1 -0
- package/dist/types/dialogs/entities.d.ts +4 -0
- package/dist/types/dialogs/entities.d.ts.map +1 -0
- package/dist/types/dialogs/form.d.ts +12 -0
- package/dist/types/dialogs/form.d.ts.map +1 -0
- package/dist/types/dialogs/image.d.ts +4 -0
- package/dist/types/dialogs/image.d.ts.map +1 -0
- package/dist/types/dialogs/link.d.ts +6 -0
- package/dist/types/dialogs/link.d.ts.map +1 -0
- package/dist/types/dialogs/misc.d.ts +6 -0
- package/dist/types/dialogs/misc.d.ts.map +1 -0
- package/dist/types/dialogs/registry.d.ts +8 -0
- package/dist/types/dialogs/registry.d.ts.map +1 -0
- package/dist/types/dialogs/table.d.ts +4 -0
- package/dist/types/dialogs/table.d.ts.map +1 -0
- package/dist/types/editor.d.ts +105 -0
- package/dist/types/editor.d.ts.map +1 -0
- package/dist/types/features/paste-drop.d.ts +4 -0
- package/dist/types/features/paste-drop.d.ts.map +1 -0
- package/dist/types/features/view-modes.d.ts +8 -0
- package/dist/types/features/view-modes.d.ts.map +1 -0
- package/dist/types/i18n/en.d.ts +3 -0
- package/dist/types/i18n/en.d.ts.map +1 -0
- package/dist/types/i18n/index.d.ts +9 -0
- package/dist/types/i18n/index.d.ts.map +1 -0
- package/dist/types/i18n/zh-cn.d.ts +3 -0
- package/dist/types/i18n/zh-cn.d.ts.map +1 -0
- package/dist/types/i18n/zh-tw.d.ts +3 -0
- package/dist/types/i18n/zh-tw.d.ts.map +1 -0
- package/dist/types/index.d.ts +14 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/lifecycle/layout.d.ts +11 -0
- package/dist/types/lifecycle/layout.d.ts.map +1 -0
- package/dist/types/lifecycle/mount.d.ts +12 -0
- package/dist/types/lifecycle/mount.d.ts.map +1 -0
- package/dist/types/markdown/cdn-lazy.d.ts +49 -0
- package/dist/types/markdown/cdn-lazy.d.ts.map +1 -0
- package/dist/types/markdown/data/emoji-data.d.ts +13 -0
- package/dist/types/markdown/data/emoji-data.d.ts.map +1 -0
- package/dist/types/markdown/data/emoji-unicode.d.ts +6 -0
- package/dist/types/markdown/data/emoji-unicode.d.ts.map +1 -0
- package/dist/types/markdown/data-attr.d.ts +10 -0
- package/dist/types/markdown/data-attr.d.ts.map +1 -0
- package/dist/types/markdown/engine.d.ts +18 -0
- package/dist/types/markdown/engine.d.ts.map +1 -0
- package/dist/types/markdown/engine.test.d.ts +2 -0
- package/dist/types/markdown/engine.test.d.ts.map +1 -0
- package/dist/types/markdown/highlight.d.ts +9 -0
- package/dist/types/markdown/highlight.d.ts.map +1 -0
- package/dist/types/markdown/plugin-emoji.d.ts +9 -0
- package/dist/types/markdown/plugin-emoji.d.ts.map +1 -0
- package/dist/types/markdown/plugin-fence.d.ts +3 -0
- package/dist/types/markdown/plugin-fence.d.ts.map +1 -0
- package/dist/types/markdown/plugin-misc.d.ts +9 -0
- package/dist/types/markdown/plugin-misc.d.ts.map +1 -0
- package/dist/types/markdown/plugin-tasks.d.ts +4 -0
- package/dist/types/markdown/plugin-tasks.d.ts.map +1 -0
- package/dist/types/markdown/plugin-tex.d.ts +3 -0
- package/dist/types/markdown/plugin-tex.d.ts.map +1 -0
- package/dist/types/markdown/plugin-toc.d.ts +18 -0
- package/dist/types/markdown/plugin-toc.d.ts.map +1 -0
- package/dist/types/normalize.d.ts +3 -0
- package/dist/types/normalize.d.ts.map +1 -0
- package/dist/types/preview/pane.d.ts +9 -0
- package/dist/types/preview/pane.d.ts.map +1 -0
- package/dist/types/preview/post-render.d.ts +19 -0
- package/dist/types/preview/post-render.d.ts.map +1 -0
- package/dist/types/preview/sync-scroll.d.ts +13 -0
- package/dist/types/preview/sync-scroll.d.ts.map +1 -0
- package/dist/types/preview/toc.d.ts +15 -0
- package/dist/types/preview/toc.d.ts.map +1 -0
- package/dist/types/render-to.d.ts +3 -0
- package/dist/types/render-to.d.ts.map +1 -0
- package/dist/types/toolbar/handlers.d.ts +4 -0
- package/dist/types/toolbar/handlers.d.ts.map +1 -0
- package/dist/types/toolbar/icons.d.ts +5 -0
- package/dist/types/toolbar/icons.d.ts.map +1 -0
- package/dist/types/toolbar/modes.d.ts +20 -0
- package/dist/types/toolbar/modes.d.ts.map +1 -0
- package/dist/types/toolbar/toolbar.d.ts +16 -0
- package/dist/types/toolbar/toolbar.d.ts.map +1 -0
- package/dist/types/types/common.d.ts +7 -0
- package/dist/types/types/common.d.ts.map +1 -0
- package/dist/types/types/events.d.ts +38 -0
- package/dist/types/types/events.d.ts.map +1 -0
- package/dist/types/types/lang.d.ts +95 -0
- package/dist/types/types/lang.d.ts.map +1 -0
- package/dist/types/types/settings.d.ts +171 -0
- package/dist/types/types/settings.d.ts.map +1 -0
- package/dist/umd/index.umd.cjs +96 -0
- package/package.json +69 -3
- package/README.md +0 -3
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/@codemirror+legacy-modes@6.5.5/node_modules/@codemirror/legacy-modes/mode/css.js
|
|
2
|
+
function e(e) {
|
|
3
|
+
e = {
|
|
4
|
+
...x,
|
|
5
|
+
...e
|
|
6
|
+
};
|
|
7
|
+
var t = e.inline, n = e.tokenHooks, r = e.documentTypes || {}, i = e.mediaTypes || {}, a = e.mediaFeatures || {}, o = e.mediaValueKeywords || {}, s = e.propertyKeywords || {}, c = e.nonStandardPropertyKeywords || {}, l = e.fontProperties || {}, u = e.counterDescriptors || {}, d = e.colorKeywords || {}, f = e.valueKeywords || {}, p = e.allowNested, m = e.lineComment, h = e.supportsAtComponent === !0, g = e.highlightNonStandardPropertyKeywords !== !1, _, v;
|
|
8
|
+
function y(e, t) {
|
|
9
|
+
return _ = t, e;
|
|
10
|
+
}
|
|
11
|
+
function S(e, t) {
|
|
12
|
+
var r = e.next();
|
|
13
|
+
if (n[r]) {
|
|
14
|
+
var i = n[r](e, t);
|
|
15
|
+
if (i !== !1) return i;
|
|
16
|
+
}
|
|
17
|
+
if (r == "@") return e.eatWhile(/[\w\\\-]/), y("def", e.current());
|
|
18
|
+
if (r == "=" || (r == "~" || r == "|") && e.eat("=")) return y(null, "compare");
|
|
19
|
+
if (r == "\"" || r == "'") return t.tokenize = C(r), t.tokenize(e, t);
|
|
20
|
+
if (r == "#") return e.eatWhile(/[\w\\\-]/), y("atom", "hash");
|
|
21
|
+
if (r == "!") return e.match(/^\s*\w*/), y("keyword", "important");
|
|
22
|
+
if (/\d/.test(r) || r == "." && e.eat(/\d/)) return e.eatWhile(/[\w.%]/), y("number", "unit");
|
|
23
|
+
if (r === "-") {
|
|
24
|
+
if (/[\d.]/.test(e.peek())) return e.eatWhile(/[\w.%]/), y("number", "unit");
|
|
25
|
+
if (e.match(/^-[\w\\\-]*/)) return e.eatWhile(/[\w\\\-]/), e.match(/^\s*:/, !1) ? y("def", "variable-definition") : y("variableName", "variable");
|
|
26
|
+
if (e.match(/^\w+-/)) return y("meta", "meta");
|
|
27
|
+
} else if (/[,+>*\/]/.test(r)) return y(null, "select-op");
|
|
28
|
+
else if (r == "." && e.match(/^-?[_a-z][_a-z0-9-]*/i)) return y("qualifier", "qualifier");
|
|
29
|
+
else if (/[:;{}\[\]\(\)]/.test(r)) return y(null, r);
|
|
30
|
+
else if (e.match(/^[\w-.]+(?=\()/)) return /^(url(-prefix)?|domain|regexp)$/i.test(e.current()) && (t.tokenize = w), y("variableName.function", "variable");
|
|
31
|
+
else if (/[\w\\\-]/.test(r)) return e.eatWhile(/[\w\\\-]/), y("property", "word");
|
|
32
|
+
else return y(null, null);
|
|
33
|
+
}
|
|
34
|
+
function C(e) {
|
|
35
|
+
return function(t, n) {
|
|
36
|
+
for (var r = !1, i; (i = t.next()) != null;) {
|
|
37
|
+
if (i == e && !r) {
|
|
38
|
+
e == ")" && t.backUp(1);
|
|
39
|
+
break;
|
|
40
|
+
}
|
|
41
|
+
r = !r && i == "\\";
|
|
42
|
+
}
|
|
43
|
+
return (i == e || !r && e != ")") && (n.tokenize = null), y("string", "string");
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function w(e, t) {
|
|
47
|
+
return e.next(), t.tokenize = e.match(/^\s*[\"\')]/, !1) ? null : C(")"), y(null, "(");
|
|
48
|
+
}
|
|
49
|
+
function T(e, t, n) {
|
|
50
|
+
this.type = e, this.indent = t, this.prev = n;
|
|
51
|
+
}
|
|
52
|
+
function E(e, t, n, r) {
|
|
53
|
+
return e.context = new T(n, t.indentation() + (r === !1 ? 0 : t.indentUnit), e.context), n;
|
|
54
|
+
}
|
|
55
|
+
function D(e) {
|
|
56
|
+
return e.context.prev && (e.context = e.context.prev), e.context.type;
|
|
57
|
+
}
|
|
58
|
+
function O(e, t, n) {
|
|
59
|
+
return j[n.context.type](e, t, n);
|
|
60
|
+
}
|
|
61
|
+
function k(e, t, n, r) {
|
|
62
|
+
for (var i = r || 1; i > 0; i--) n.context = n.context.prev;
|
|
63
|
+
return O(e, t, n);
|
|
64
|
+
}
|
|
65
|
+
function A(e) {
|
|
66
|
+
var t = e.current().toLowerCase();
|
|
67
|
+
v = f.hasOwnProperty(t) ? "atom" : d.hasOwnProperty(t) ? "keyword" : "variable";
|
|
68
|
+
}
|
|
69
|
+
var j = {};
|
|
70
|
+
return j.top = function(e, t, n) {
|
|
71
|
+
if (e == "{") return E(n, t, "block");
|
|
72
|
+
if (e == "}" && n.context.prev) return D(n);
|
|
73
|
+
if (h && /@component/i.test(e)) return E(n, t, "atComponentBlock");
|
|
74
|
+
if (/^@(-moz-)?document$/i.test(e)) return E(n, t, "documentTypes");
|
|
75
|
+
if (/^@(media|supports|(-moz-)?document|import)$/i.test(e)) return E(n, t, "atBlock");
|
|
76
|
+
if (/^@(font-face|counter-style)/i.test(e)) return n.stateArg = e, "restricted_atBlock_before";
|
|
77
|
+
if (/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e)) return "keyframes";
|
|
78
|
+
if (e && e.charAt(0) == "@") return E(n, t, "at");
|
|
79
|
+
if (e == "hash") v = "builtin";
|
|
80
|
+
else if (e == "word") v = "tag";
|
|
81
|
+
else if (e == "variable-definition") return "maybeprop";
|
|
82
|
+
else if (e == "interpolation") return E(n, t, "interpolation");
|
|
83
|
+
else if (e == ":") return "pseudo";
|
|
84
|
+
else if (p && e == "(") return E(n, t, "parens");
|
|
85
|
+
return n.context.type;
|
|
86
|
+
}, j.block = function(e, t, n) {
|
|
87
|
+
if (e == "word") {
|
|
88
|
+
var r = t.current().toLowerCase();
|
|
89
|
+
return s.hasOwnProperty(r) ? (v = "property", "maybeprop") : c.hasOwnProperty(r) ? (v = g ? "string.special" : "property", "maybeprop") : p ? (v = t.match(/^\s*:(?:\s|$)/, !1) ? "property" : "tag", "block") : (v = "error", "maybeprop");
|
|
90
|
+
}
|
|
91
|
+
return e == "meta" ? "block" : !p && (e == "hash" || e == "qualifier") ? (v = "error", "block") : j.top(e, t, n);
|
|
92
|
+
}, j.maybeprop = function(e, t, n) {
|
|
93
|
+
return e == ":" ? E(n, t, "prop") : O(e, t, n);
|
|
94
|
+
}, j.prop = function(e, t, n) {
|
|
95
|
+
if (e == ";") return D(n);
|
|
96
|
+
if (e == "{" && p) return E(n, t, "propBlock");
|
|
97
|
+
if (e == "}" || e == "{") return k(e, t, n);
|
|
98
|
+
if (e == "(") return E(n, t, "parens");
|
|
99
|
+
if (e == "hash" && !/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(t.current())) v = "error";
|
|
100
|
+
else if (e == "word") A(t);
|
|
101
|
+
else if (e == "interpolation") return E(n, t, "interpolation");
|
|
102
|
+
return "prop";
|
|
103
|
+
}, j.propBlock = function(e, t, n) {
|
|
104
|
+
return e == "}" ? D(n) : e == "word" ? (v = "property", "maybeprop") : n.context.type;
|
|
105
|
+
}, j.parens = function(e, t, n) {
|
|
106
|
+
return e == "{" || e == "}" ? k(e, t, n) : e == ")" ? D(n) : e == "(" ? E(n, t, "parens") : e == "interpolation" ? E(n, t, "interpolation") : (e == "word" && A(t), "parens");
|
|
107
|
+
}, j.pseudo = function(e, t, n) {
|
|
108
|
+
return e == "meta" ? "pseudo" : e == "word" ? (v = "variableName.constant", n.context.type) : O(e, t, n);
|
|
109
|
+
}, j.documentTypes = function(e, t, n) {
|
|
110
|
+
return e == "word" && r.hasOwnProperty(t.current()) ? (v = "tag", n.context.type) : j.atBlock(e, t, n);
|
|
111
|
+
}, j.atBlock = function(e, t, n) {
|
|
112
|
+
if (e == "(") return E(n, t, "atBlock_parens");
|
|
113
|
+
if (e == "}" || e == ";") return k(e, t, n);
|
|
114
|
+
if (e == "{") return D(n) && E(n, t, p ? "block" : "top");
|
|
115
|
+
if (e == "interpolation") return E(n, t, "interpolation");
|
|
116
|
+
if (e == "word") {
|
|
117
|
+
var r = t.current().toLowerCase();
|
|
118
|
+
v = r == "only" || r == "not" || r == "and" || r == "or" ? "keyword" : i.hasOwnProperty(r) ? "attribute" : a.hasOwnProperty(r) ? "property" : o.hasOwnProperty(r) ? "keyword" : s.hasOwnProperty(r) ? "property" : c.hasOwnProperty(r) ? g ? "string.special" : "property" : f.hasOwnProperty(r) ? "atom" : d.hasOwnProperty(r) ? "keyword" : "error";
|
|
119
|
+
}
|
|
120
|
+
return n.context.type;
|
|
121
|
+
}, j.atComponentBlock = function(e, t, n) {
|
|
122
|
+
return e == "}" ? k(e, t, n) : e == "{" ? D(n) && E(n, t, p ? "block" : "top", !1) : (e == "word" && (v = "error"), n.context.type);
|
|
123
|
+
}, j.atBlock_parens = function(e, t, n) {
|
|
124
|
+
return e == ")" ? D(n) : e == "{" || e == "}" ? k(e, t, n, 2) : j.atBlock(e, t, n);
|
|
125
|
+
}, j.restricted_atBlock_before = function(e, t, n) {
|
|
126
|
+
return e == "{" ? E(n, t, "restricted_atBlock") : e == "word" && n.stateArg == "@counter-style" ? (v = "variable", "restricted_atBlock_before") : O(e, t, n);
|
|
127
|
+
}, j.restricted_atBlock = function(e, t, n) {
|
|
128
|
+
return e == "}" ? (n.stateArg = null, D(n)) : e == "word" ? (v = n.stateArg == "@font-face" && !l.hasOwnProperty(t.current().toLowerCase()) || n.stateArg == "@counter-style" && !u.hasOwnProperty(t.current().toLowerCase()) ? "error" : "property", "maybeprop") : "restricted_atBlock";
|
|
129
|
+
}, j.keyframes = function(e, t, n) {
|
|
130
|
+
return e == "word" ? (v = "variable", "keyframes") : e == "{" ? E(n, t, "top") : O(e, t, n);
|
|
131
|
+
}, j.at = function(e, t, n) {
|
|
132
|
+
return e == ";" ? D(n) : e == "{" || e == "}" ? k(e, t, n) : (e == "word" ? v = "tag" : e == "hash" && (v = "builtin"), "at");
|
|
133
|
+
}, j.interpolation = function(e, t, n) {
|
|
134
|
+
return e == "}" ? D(n) : e == "{" || e == ";" ? k(e, t, n) : (e == "word" ? v = "variable" : e != "variable" && e != "(" && e != ")" && (v = "error"), "interpolation");
|
|
135
|
+
}, {
|
|
136
|
+
name: e.name,
|
|
137
|
+
startState: function() {
|
|
138
|
+
return {
|
|
139
|
+
tokenize: null,
|
|
140
|
+
state: t ? "block" : "top",
|
|
141
|
+
stateArg: null,
|
|
142
|
+
context: new T(t ? "block" : "top", 0, null)
|
|
143
|
+
};
|
|
144
|
+
},
|
|
145
|
+
token: function(e, t) {
|
|
146
|
+
if (!t.tokenize && e.eatSpace()) return null;
|
|
147
|
+
var n = (t.tokenize || S)(e, t);
|
|
148
|
+
return n && typeof n == "object" && (_ = n[1], n = n[0]), v = n, _ != "comment" && (t.state = j[t.state](_, e, t)), v;
|
|
149
|
+
},
|
|
150
|
+
indent: function(e, t, n) {
|
|
151
|
+
var r = e.context, i = t && t.charAt(0), a = r.indent;
|
|
152
|
+
return r.type == "prop" && (i == "}" || i == ")") && (r = r.prev), r.prev && (i == "}" && (r.type == "block" || r.type == "top" || r.type == "interpolation" || r.type == "restricted_atBlock") ? (r = r.prev, a = r.indent) : (i == ")" && (r.type == "parens" || r.type == "atBlock_parens") || i == "{" && (r.type == "at" || r.type == "atBlock")) && (a = Math.max(0, r.indent - n.unit))), a;
|
|
153
|
+
},
|
|
154
|
+
languageData: {
|
|
155
|
+
indentOnInput: /^\s*\}$/,
|
|
156
|
+
commentTokens: {
|
|
157
|
+
line: m,
|
|
158
|
+
block: {
|
|
159
|
+
open: "/*",
|
|
160
|
+
close: "*/"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
autocomplete: b
|
|
164
|
+
}
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
function t(e) {
|
|
168
|
+
for (var t = {}, n = 0; n < e.length; ++n) t[e[n].toLowerCase()] = !0;
|
|
169
|
+
return t;
|
|
170
|
+
}
|
|
171
|
+
var n = [
|
|
172
|
+
"domain",
|
|
173
|
+
"regexp",
|
|
174
|
+
"url",
|
|
175
|
+
"url-prefix"
|
|
176
|
+
], r = t(n), i = [
|
|
177
|
+
"all",
|
|
178
|
+
"aural",
|
|
179
|
+
"braille",
|
|
180
|
+
"handheld",
|
|
181
|
+
"print",
|
|
182
|
+
"projection",
|
|
183
|
+
"screen",
|
|
184
|
+
"tty",
|
|
185
|
+
"tv",
|
|
186
|
+
"embossed"
|
|
187
|
+
], a = t(i), o = /* @__PURE__ */ "width.min-width.max-width.height.min-height.max-height.device-width.min-device-width.max-device-width.device-height.min-device-height.max-device-height.aspect-ratio.min-aspect-ratio.max-aspect-ratio.device-aspect-ratio.min-device-aspect-ratio.max-device-aspect-ratio.color.min-color.max-color.color-index.min-color-index.max-color-index.monochrome.min-monochrome.max-monochrome.resolution.min-resolution.max-resolution.scan.grid.orientation.device-pixel-ratio.min-device-pixel-ratio.max-device-pixel-ratio.pointer.any-pointer.hover.any-hover.prefers-color-scheme.dynamic-range.video-dynamic-range".split("."), s = t(o), c = [
|
|
188
|
+
"landscape",
|
|
189
|
+
"portrait",
|
|
190
|
+
"none",
|
|
191
|
+
"coarse",
|
|
192
|
+
"fine",
|
|
193
|
+
"on-demand",
|
|
194
|
+
"hover",
|
|
195
|
+
"interlace",
|
|
196
|
+
"progressive",
|
|
197
|
+
"dark",
|
|
198
|
+
"light",
|
|
199
|
+
"standard",
|
|
200
|
+
"high"
|
|
201
|
+
], l = t(c), u = /* @__PURE__ */ "align-content.align-items.align-self.alignment-adjust.alignment-baseline.all.anchor-point.animation.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-timing-function.appearance.azimuth.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.binding.bleed.block-size.bookmark-label.bookmark-level.bookmark-state.bookmark-target.border.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-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-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-decoration-break.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.color.color-profile.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.content.counter-increment.counter-reset.crop.cue.cue-after.cue-before.cursor.direction.display.dominant-baseline.drop-initial-after-adjust.drop-initial-after-align.drop-initial-before-adjust.drop-initial-before-align.drop-initial-size.drop-initial-value.elevation.empty-cells.fit.fit-content.fit-position.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.float-offset.flow-from.flow-into.font.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-size.font-size-adjust.font-stretch.font-style.font-synthesis.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.gap.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-gap.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-gap.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphens.icon.image-orientation.image-rendering.image-resolution.inline-box-align.inset.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.left.letter-spacing.line-break.line-height.line-height-step.line-stacking.line-stacking-ruby.line-stacking-shift.line-stacking-strategy.list-style.list-style-image.list-style-position.list-style-type.margin.margin-bottom.margin-left.margin-right.margin-top.marks.marquee-direction.marquee-loop.marquee-play-count.marquee-speed.marquee-style.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.move-to.nav-down.nav-index.nav-left.nav-right.nav-up.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-style.overflow-wrap.overflow-x.overflow-y.padding.padding-bottom.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.page-policy.pause.pause-after.pause-before.perspective.perspective-origin.pitch.pitch-range.place-content.place-items.place-self.play-during.position.presentation-level.punctuation-trim.quotes.region-break-after.region-break-before.region-break-inside.region-fragment.rendering-intent.resize.rest.rest-after.rest-before.richness.right.rotate.rotation.rotation-point.row-gap.ruby-align.ruby-overhang.ruby-position.ruby-span.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-type.shape-image-threshold.shape-inside.shape-margin.shape-outside.size.speak.speak-as.speak-header.speak-numeral.speak-punctuation.speech-rate.stress.string-set.tab-size.table-layout.target.target-name.target-new.target-position.text-align.text-align-last.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-height.text-indent.text-justify.text-orientation.text-outline.text-overflow.text-rendering.text-shadow.text-size-adjust.text-space-collapse.text-transform.text-underline-position.text-wrap.top.touch-action.transform.transform-origin.transform-style.transition.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-select.vertical-align.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.volume.white-space.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.z-index.clip-path.clip-rule.mask.enable-background.filter.flood-color.flood-opacity.lighting-color.stop-color.stop-opacity.pointer-events.color-interpolation.color-interpolation-filters.color-rendering.fill.fill-opacity.fill-rule.image-rendering.marker.marker-end.marker-mid.marker-start.paint-order.shape-rendering.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.text-rendering.baseline-shift.dominant-baseline.glyph-orientation-horizontal.glyph-orientation-vertical.text-anchor.writing-mode".split("."), d = t(u), f = /* @__PURE__ */ "accent-color.aspect-ratio.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-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.content-visibility.margin-block.margin-block-end.margin-block-start.margin-inline.margin-inline-end.margin-inline-start.overflow-anchor.overscroll-behavior.padding-block.padding-block-end.padding-block-start.padding-inline.padding-inline-end.padding-inline-start.scroll-snap-stop.scrollbar-3d-light-color.scrollbar-arrow-color.scrollbar-base-color.scrollbar-dark-shadow-color.scrollbar-face-color.scrollbar-highlight-color.scrollbar-shadow-color.scrollbar-track-color.searchfield-cancel-button.searchfield-decoration.searchfield-results-button.searchfield-results-decoration.shape-inside.zoom".split("."), p = t(f), m = t([
|
|
202
|
+
"font-display",
|
|
203
|
+
"font-family",
|
|
204
|
+
"src",
|
|
205
|
+
"unicode-range",
|
|
206
|
+
"font-variant",
|
|
207
|
+
"font-feature-settings",
|
|
208
|
+
"font-stretch",
|
|
209
|
+
"font-weight",
|
|
210
|
+
"font-style"
|
|
211
|
+
]), h = t([
|
|
212
|
+
"additive-symbols",
|
|
213
|
+
"fallback",
|
|
214
|
+
"negative",
|
|
215
|
+
"pad",
|
|
216
|
+
"prefix",
|
|
217
|
+
"range",
|
|
218
|
+
"speak-as",
|
|
219
|
+
"suffix",
|
|
220
|
+
"symbols",
|
|
221
|
+
"system"
|
|
222
|
+
]), g = /* @__PURE__ */ "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.grey.green.greenyellow.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".split("."), _ = t(g), v = /* @__PURE__ */ "above.absolute.activeborder.additive.activecaption.afar.after-white-space.ahead.alias.all.all-scroll.alphabetic.alternate.always.amharic.amharic-abegede.antialiased.appworkspace.arabic-indic.armenian.asterisks.attr.auto.auto-flow.avoid.avoid-column.avoid-page.avoid-region.axis-pan.background.backwards.baseline.below.bidi-override.binary.bengali.blink.block.block-axis.blur.bold.bolder.border.border-box.both.bottom.break.break-all.break-word.brightness.bullets.button.buttonface.buttonhighlight.buttonshadow.buttontext.calc.cambodian.capitalize.caps-lock-indicator.caption.captiontext.caret.cell.center.checkbox.circle.cjk-decimal.cjk-earthly-branch.cjk-heavenly-stem.cjk-ideographic.clear.clip.close-quote.col-resize.collapse.color.color-burn.color-dodge.column.column-reverse.compact.condensed.conic-gradient.contain.content.contents.content-box.context-menu.continuous.contrast.copy.counter.counters.cover.crop.cross.crosshair.cubic-bezier.currentcolor.cursive.cyclic.darken.dashed.decimal.decimal-leading-zero.default.default-button.dense.destination-atop.destination-in.destination-out.destination-over.devanagari.difference.disc.discard.disclosure-closed.disclosure-open.document.dot-dash.dot-dot-dash.dotted.double.down.drop-shadow.e-resize.ease.ease-in.ease-in-out.ease-out.element.ellipse.ellipsis.embed.end.ethiopic.ethiopic-abegede.ethiopic-abegede-am-et.ethiopic-abegede-gez.ethiopic-abegede-ti-er.ethiopic-abegede-ti-et.ethiopic-halehame-aa-er.ethiopic-halehame-aa-et.ethiopic-halehame-am-et.ethiopic-halehame-gez.ethiopic-halehame-om-et.ethiopic-halehame-sid-et.ethiopic-halehame-so-et.ethiopic-halehame-ti-er.ethiopic-halehame-ti-et.ethiopic-halehame-tig.ethiopic-numeric.ew-resize.exclusion.expanded.extends.extra-condensed.extra-expanded.fantasy.fast.fill.fill-box.fixed.flat.flex.flex-end.flex-start.footnotes.forwards.from.geometricPrecision.georgian.grayscale.graytext.grid.groove.gujarati.gurmukhi.hand.hangul.hangul-consonant.hard-light.hebrew.help.hidden.hide.higher.highlight.highlighttext.hiragana.hiragana-iroha.horizontal.hsl.hsla.hue.hue-rotate.icon.ignore.inactiveborder.inactivecaption.inactivecaptiontext.infinite.infobackground.infotext.inherit.initial.inline.inline-axis.inline-block.inline-flex.inline-grid.inline-table.inset.inside.intrinsic.invert.italic.japanese-formal.japanese-informal.justify.kannada.katakana.katakana-iroha.keep-all.khmer.korean-hangul-formal.korean-hanja-formal.korean-hanja-informal.landscape.lao.large.larger.left.level.lighter.lighten.line-through.linear.linear-gradient.lines.list-item.listbox.listitem.local.logical.loud.lower.lower-alpha.lower-armenian.lower-greek.lower-hexadecimal.lower-latin.lower-norwegian.lower-roman.lowercase.ltr.luminosity.malayalam.manipulation.match.matrix.matrix3d.media-play-button.media-slider.media-sliderthumb.media-volume-slider.media-volume-sliderthumb.medium.menu.menulist.menulist-button.menutext.message-box.middle.min-intrinsic.mix.mongolian.monospace.move.multiple.multiple_mask_images.multiply.myanmar.n-resize.narrower.ne-resize.nesw-resize.no-close-quote.no-drop.no-open-quote.no-repeat.none.normal.not-allowed.nowrap.ns-resize.numbers.numeric.nw-resize.nwse-resize.oblique.octal.opacity.open-quote.optimizeLegibility.optimizeSpeed.oriya.oromo.outset.outside.outside-shape.overlay.overline.padding.padding-box.painted.page.paused.persian.perspective.pinch-zoom.plus-darker.plus-lighter.pointer.polygon.portrait.pre.pre-line.pre-wrap.preserve-3d.progress.push-button.radial-gradient.radio.read-only.read-write.read-write-plaintext-only.rectangle.region.relative.repeat.repeating-linear-gradient.repeating-radial-gradient.repeating-conic-gradient.repeat-x.repeat-y.reset.reverse.rgb.rgba.ridge.right.rotate.rotate3d.rotateX.rotateY.rotateZ.round.row.row-resize.row-reverse.rtl.run-in.running.s-resize.sans-serif.saturate.saturation.scale.scale3d.scaleX.scaleY.scaleZ.screen.scroll.scrollbar.scroll-position.se-resize.searchfield.searchfield-cancel-button.searchfield-decoration.searchfield-results-button.searchfield-results-decoration.self-start.self-end.semi-condensed.semi-expanded.separate.sepia.serif.show.sidama.simp-chinese-formal.simp-chinese-informal.single.skew.skewX.skewY.skip-white-space.slide.slider-horizontal.slider-vertical.sliderthumb-horizontal.sliderthumb-vertical.slow.small.small-caps.small-caption.smaller.soft-light.solid.somali.source-atop.source-in.source-out.source-over.space.space-around.space-between.space-evenly.spell-out.square.square-button.start.static.status-bar.stretch.stroke.stroke-box.sub.subpixel-antialiased.svg_masks.super.sw-resize.symbolic.symbols.system-ui.table.table-caption.table-cell.table-column.table-column-group.table-footer-group.table-header-group.table-row.table-row-group.tamil.telugu.text.text-bottom.text-top.textarea.textfield.thai.thick.thin.threeddarkshadow.threedface.threedhighlight.threedlightshadow.threedshadow.tibetan.tigre.tigrinya-er.tigrinya-er-abegede.tigrinya-et.tigrinya-et-abegede.to.top.trad-chinese-formal.trad-chinese-informal.transform.translate.translate3d.translateX.translateY.translateZ.transparent.ultra-condensed.ultra-expanded.underline.unidirectional-pan.unset.up.upper-alpha.upper-armenian.upper-greek.upper-hexadecimal.upper-latin.upper-norwegian.upper-roman.uppercase.urdu.url.var.vertical.vertical-text.view-box.visible.visibleFill.visiblePainted.visibleStroke.visual.w-resize.wait.wave.wider.window.windowframe.windowtext.words.wrap.wrap-reverse.x-large.x-small.xor.xx-large.xx-small".split("."), y = t(v), b = n.concat(i).concat(o).concat(c).concat(u).concat(f).concat(g).concat(v), x = {
|
|
223
|
+
documentTypes: r,
|
|
224
|
+
mediaTypes: a,
|
|
225
|
+
mediaFeatures: s,
|
|
226
|
+
mediaValueKeywords: l,
|
|
227
|
+
propertyKeywords: d,
|
|
228
|
+
nonStandardPropertyKeywords: p,
|
|
229
|
+
fontProperties: m,
|
|
230
|
+
counterDescriptors: h,
|
|
231
|
+
colorKeywords: _,
|
|
232
|
+
valueKeywords: y,
|
|
233
|
+
tokenHooks: { "/": function(e, t) {
|
|
234
|
+
return e.eat("*") ? (t.tokenize = S, S(e, t)) : !1;
|
|
235
|
+
} }
|
|
236
|
+
};
|
|
237
|
+
e({ name: "css" });
|
|
238
|
+
function S(e, t) {
|
|
239
|
+
for (var n = !1, r; (r = e.next()) != null;) {
|
|
240
|
+
if (n && r == "/") {
|
|
241
|
+
t.tokenize = null;
|
|
242
|
+
break;
|
|
243
|
+
}
|
|
244
|
+
n = r == "*";
|
|
245
|
+
}
|
|
246
|
+
return ["comment", "comment"];
|
|
247
|
+
}
|
|
248
|
+
e({
|
|
249
|
+
name: "scss",
|
|
250
|
+
mediaTypes: a,
|
|
251
|
+
mediaFeatures: s,
|
|
252
|
+
mediaValueKeywords: l,
|
|
253
|
+
propertyKeywords: d,
|
|
254
|
+
nonStandardPropertyKeywords: p,
|
|
255
|
+
colorKeywords: _,
|
|
256
|
+
valueKeywords: y,
|
|
257
|
+
fontProperties: m,
|
|
258
|
+
allowNested: !0,
|
|
259
|
+
lineComment: "//",
|
|
260
|
+
tokenHooks: {
|
|
261
|
+
"/": function(e, t) {
|
|
262
|
+
return e.eat("/") ? (e.skipToEnd(), ["comment", "comment"]) : e.eat("*") ? (t.tokenize = S, S(e, t)) : ["operator", "operator"];
|
|
263
|
+
},
|
|
264
|
+
":": function(e) {
|
|
265
|
+
return e.match(/^\s*\{/, !1) ? [null, null] : !1;
|
|
266
|
+
},
|
|
267
|
+
$: function(e) {
|
|
268
|
+
return e.match(/^[\w-]+/), e.match(/^\s*:/, !1) ? ["def", "variable-definition"] : ["variableName.special", "variable"];
|
|
269
|
+
},
|
|
270
|
+
"#": function(e) {
|
|
271
|
+
return e.eat("{") ? [null, "interpolation"] : !1;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}), e({
|
|
275
|
+
name: "less",
|
|
276
|
+
mediaTypes: a,
|
|
277
|
+
mediaFeatures: s,
|
|
278
|
+
mediaValueKeywords: l,
|
|
279
|
+
propertyKeywords: d,
|
|
280
|
+
nonStandardPropertyKeywords: p,
|
|
281
|
+
colorKeywords: _,
|
|
282
|
+
valueKeywords: y,
|
|
283
|
+
fontProperties: m,
|
|
284
|
+
allowNested: !0,
|
|
285
|
+
lineComment: "//",
|
|
286
|
+
tokenHooks: {
|
|
287
|
+
"/": function(e, t) {
|
|
288
|
+
return e.eat("/") ? (e.skipToEnd(), ["comment", "comment"]) : e.eat("*") ? (t.tokenize = S, S(e, t)) : ["operator", "operator"];
|
|
289
|
+
},
|
|
290
|
+
"@": function(e) {
|
|
291
|
+
return e.eat("{") ? [null, "interpolation"] : !e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i, !1) && (e.eatWhile(/[\w\\\-]/), e.match(/^\s*:/, !1) ? ["def", "variable-definition"] : ["variableName", "variable"]);
|
|
292
|
+
},
|
|
293
|
+
"&": function() {
|
|
294
|
+
return ["atom", "atom"];
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
});
|
|
298
|
+
var C = e({
|
|
299
|
+
name: "gss",
|
|
300
|
+
documentTypes: r,
|
|
301
|
+
mediaTypes: a,
|
|
302
|
+
mediaFeatures: s,
|
|
303
|
+
propertyKeywords: d,
|
|
304
|
+
nonStandardPropertyKeywords: p,
|
|
305
|
+
fontProperties: m,
|
|
306
|
+
counterDescriptors: h,
|
|
307
|
+
colorKeywords: _,
|
|
308
|
+
valueKeywords: y,
|
|
309
|
+
supportsAtComponent: !0,
|
|
310
|
+
tokenHooks: { "/": function(e, t) {
|
|
311
|
+
return e.eat("*") ? (t.tokenize = S, S(e, t)) : !1;
|
|
312
|
+
} }
|
|
313
|
+
});
|
|
314
|
+
export { C as gss };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/@codemirror+legacy-modes@6.5.5/node_modules/@codemirror/legacy-modes/mode/cypher.js
|
|
2
|
+
var e = function(e) {
|
|
3
|
+
return RegExp("^(?:" + e.join("|") + ")$", "i");
|
|
4
|
+
}, t = function(e) {
|
|
5
|
+
i = null;
|
|
6
|
+
var t = e.next();
|
|
7
|
+
if (t === "\"") return e.match(/^.*?"/), "string";
|
|
8
|
+
if (t === "'") return e.match(/^.*?'/), "string";
|
|
9
|
+
if (/[{}\(\),\.;\[\]]/.test(t)) return i = t, "punctuation";
|
|
10
|
+
if (t === "/" && e.eat("/")) return e.skipToEnd(), "comment";
|
|
11
|
+
if (l.test(t)) return e.eatWhile(l), null;
|
|
12
|
+
if (e.eatWhile(/[_\w\d]/), e.eat(":")) return e.eatWhile(/[\w\d_\-]/), "atom";
|
|
13
|
+
var n = e.current();
|
|
14
|
+
return a.test(n) ? "builtin" : o.test(n) ? "def" : s.test(n) || c.test(n) ? "keyword" : "variable";
|
|
15
|
+
}, n = function(e, t, n) {
|
|
16
|
+
return e.context = {
|
|
17
|
+
prev: e.context,
|
|
18
|
+
indent: e.indent,
|
|
19
|
+
col: n,
|
|
20
|
+
type: t
|
|
21
|
+
};
|
|
22
|
+
}, r = function(e) {
|
|
23
|
+
return e.indent = e.context.indent, e.context = e.context.prev;
|
|
24
|
+
}, i, a = e(/* @__PURE__ */ "abs.acos.allShortestPaths.asin.atan.atan2.avg.ceil.coalesce.collect.cos.cot.count.degrees.e.endnode.exp.extract.filter.floor.haversin.head.id.keys.labels.last.left.length.log.log10.lower.ltrim.max.min.node.nodes.percentileCont.percentileDisc.pi.radians.rand.range.reduce.rel.relationship.relationships.replace.reverse.right.round.rtrim.shortestPath.sign.sin.size.split.sqrt.startnode.stdev.stdevp.str.substring.sum.tail.tan.timestamp.toFloat.toInt.toString.trim.type.upper".split(".")), o = e([
|
|
25
|
+
"all",
|
|
26
|
+
"and",
|
|
27
|
+
"any",
|
|
28
|
+
"contains",
|
|
29
|
+
"exists",
|
|
30
|
+
"has",
|
|
31
|
+
"in",
|
|
32
|
+
"none",
|
|
33
|
+
"not",
|
|
34
|
+
"or",
|
|
35
|
+
"single",
|
|
36
|
+
"xor"
|
|
37
|
+
]), s = e(/* @__PURE__ */ "as.asc.ascending.assert.by.case.commit.constraint.create.csv.cypher.delete.desc.descending.detach.distinct.drop.else.end.ends.explain.false.fieldterminator.foreach.from.headers.in.index.is.join.limit.load.match.merge.null.on.optional.order.periodic.profile.remove.return.scan.set.skip.start.starts.then.true.union.unique.unwind.using.when.where.with.call.yield".split(".")), c = e(/* @__PURE__ */ "access.active.assign.all.alter.as.catalog.change.copy.create.constraint.constraints.current.database.databases.dbms.default.deny.drop.element.elements.exists.from.grant.graph.graphs.if.index.indexes.label.labels.management.match.name.names.new.node.nodes.not.of.on.or.password.populated.privileges.property.read.relationship.relationships.remove.replace.required.revoke.role.roles.set.show.start.status.stop.suspended.to.traverse.type.types.user.users.with.write".split(".")), l = /[*+\-<>=&|~%^]/, u = {
|
|
38
|
+
name: "cypher",
|
|
39
|
+
startState: function() {
|
|
40
|
+
return {
|
|
41
|
+
tokenize: t,
|
|
42
|
+
context: null,
|
|
43
|
+
indent: 0,
|
|
44
|
+
col: 0
|
|
45
|
+
};
|
|
46
|
+
},
|
|
47
|
+
token: function(e, t) {
|
|
48
|
+
if (e.sol() && (t.context && t.context.align == null && (t.context.align = !1), t.indent = e.indentation()), e.eatSpace()) return null;
|
|
49
|
+
var a = t.tokenize(e, t);
|
|
50
|
+
if (a !== "comment" && t.context && t.context.align == null && t.context.type !== "pattern" && (t.context.align = !0), i === "(") n(t, ")", e.column());
|
|
51
|
+
else if (i === "[") n(t, "]", e.column());
|
|
52
|
+
else if (i === "{") n(t, "}", e.column());
|
|
53
|
+
else if (/[\]\}\)]/.test(i)) {
|
|
54
|
+
for (; t.context && t.context.type === "pattern";) r(t);
|
|
55
|
+
t.context && i === t.context.type && r(t);
|
|
56
|
+
} else i === "." && t.context && t.context.type === "pattern" ? r(t) : /atom|string|variable/.test(a) && t.context && (/[\}\]]/.test(t.context.type) ? n(t, "pattern", e.column()) : t.context.type === "pattern" && !t.context.align && (t.context.align = !0, t.context.col = e.column()));
|
|
57
|
+
return a;
|
|
58
|
+
},
|
|
59
|
+
indent: function(e, t, n) {
|
|
60
|
+
var r = t && t.charAt(0), i = e.context;
|
|
61
|
+
if (/[\]\}]/.test(r)) for (; i && i.type === "pattern";) i = i.prev;
|
|
62
|
+
var a = i && r === i.type;
|
|
63
|
+
return i ? i.type === "keywords" ? null : i.align ? i.col + +!a : i.indent + (a ? 0 : n.unit) : 0;
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
export { u as cypher };
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/@codemirror+legacy-modes@6.5.5/node_modules/@codemirror/legacy-modes/mode/d.js
|
|
2
|
+
function e(e) {
|
|
3
|
+
for (var t = {}, n = e.split(" "), r = 0; r < n.length; ++r) t[n[r]] = !0;
|
|
4
|
+
return t;
|
|
5
|
+
}
|
|
6
|
+
var t = "body catch class do else enum for foreach foreach_reverse if in interface mixin out scope struct switch try union unittest version while with", n = {
|
|
7
|
+
keywords: e("abstract alias align asm assert auto break case cast cdouble cent cfloat const continue debug default delegate delete deprecated export extern final finally function goto immutable import inout invariant is lazy macro module new nothrow override package pragma private protected public pure ref return shared short static super synchronized template this throw typedef typeid typeof volatile __FILE__ __LINE__ __gshared __traits __vector __parameters " + t),
|
|
8
|
+
blockKeywords: e(t),
|
|
9
|
+
builtin: e("bool byte char creal dchar double float idouble ifloat int ireal long real short ubyte ucent uint ulong ushort wchar wstring void size_t sizediff_t"),
|
|
10
|
+
atoms: e("exit failure success true false null"),
|
|
11
|
+
hooks: { "@": function(e, t) {
|
|
12
|
+
return e.eatWhile(/[\w\$_]/), "meta";
|
|
13
|
+
} }
|
|
14
|
+
}, r = n.statementIndentUnit, i = n.keywords, a = n.builtin, o = n.blockKeywords, s = n.atoms, c = n.hooks, l = n.multiLineStrings, u = /[+\-*&%=<>!?|\/]/, d;
|
|
15
|
+
function f(e, t) {
|
|
16
|
+
var n = e.next();
|
|
17
|
+
if (c[n]) {
|
|
18
|
+
var r = c[n](e, t);
|
|
19
|
+
if (r !== !1) return r;
|
|
20
|
+
}
|
|
21
|
+
if (n == "\"" || n == "'" || n == "`") return t.tokenize = p(n), t.tokenize(e, t);
|
|
22
|
+
if (/[\[\]{}\(\),;\:\.]/.test(n)) return d = n, null;
|
|
23
|
+
if (/\d/.test(n)) return e.eatWhile(/[\w\.]/), "number";
|
|
24
|
+
if (n == "/") {
|
|
25
|
+
if (e.eat("+")) return t.tokenize = h, h(e, t);
|
|
26
|
+
if (e.eat("*")) return t.tokenize = m, m(e, t);
|
|
27
|
+
if (e.eat("/")) return e.skipToEnd(), "comment";
|
|
28
|
+
}
|
|
29
|
+
if (u.test(n)) return e.eatWhile(u), "operator";
|
|
30
|
+
e.eatWhile(/[\w\$_\xa1-\uffff]/);
|
|
31
|
+
var l = e.current();
|
|
32
|
+
return i.propertyIsEnumerable(l) ? (o.propertyIsEnumerable(l) && (d = "newstatement"), "keyword") : a.propertyIsEnumerable(l) ? (o.propertyIsEnumerable(l) && (d = "newstatement"), "builtin") : s.propertyIsEnumerable(l) ? "atom" : "variable";
|
|
33
|
+
}
|
|
34
|
+
function p(e) {
|
|
35
|
+
return function(t, n) {
|
|
36
|
+
for (var r = !1, i, a = !1; (i = t.next()) != null;) {
|
|
37
|
+
if (i == e && !r) {
|
|
38
|
+
a = !0;
|
|
39
|
+
break;
|
|
40
|
+
}
|
|
41
|
+
r = !r && i == "\\";
|
|
42
|
+
}
|
|
43
|
+
return (a || !(r || l)) && (n.tokenize = null), "string";
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function m(e, t) {
|
|
47
|
+
for (var n = !1, r; r = e.next();) {
|
|
48
|
+
if (r == "/" && n) {
|
|
49
|
+
t.tokenize = null;
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
n = r == "*";
|
|
53
|
+
}
|
|
54
|
+
return "comment";
|
|
55
|
+
}
|
|
56
|
+
function h(e, t) {
|
|
57
|
+
for (var n = !1, r; r = e.next();) {
|
|
58
|
+
if (r == "/" && n) {
|
|
59
|
+
t.tokenize = null;
|
|
60
|
+
break;
|
|
61
|
+
}
|
|
62
|
+
n = r == "+";
|
|
63
|
+
}
|
|
64
|
+
return "comment";
|
|
65
|
+
}
|
|
66
|
+
function g(e, t, n, r, i) {
|
|
67
|
+
this.indented = e, this.column = t, this.type = n, this.align = r, this.prev = i;
|
|
68
|
+
}
|
|
69
|
+
function _(e, t, n) {
|
|
70
|
+
var r = e.indented;
|
|
71
|
+
return e.context && e.context.type == "statement" && (r = e.context.indented), e.context = new g(r, t, n, null, e.context);
|
|
72
|
+
}
|
|
73
|
+
function v(e) {
|
|
74
|
+
var t = e.context.type;
|
|
75
|
+
return (t == ")" || t == "]" || t == "}") && (e.indented = e.context.indented), e.context = e.context.prev;
|
|
76
|
+
}
|
|
77
|
+
var y = {
|
|
78
|
+
name: "d",
|
|
79
|
+
startState: function(e) {
|
|
80
|
+
return {
|
|
81
|
+
tokenize: null,
|
|
82
|
+
context: new g(-e, 0, "top", !1),
|
|
83
|
+
indented: 0,
|
|
84
|
+
startOfLine: !0
|
|
85
|
+
};
|
|
86
|
+
},
|
|
87
|
+
token: function(e, t) {
|
|
88
|
+
var n = t.context;
|
|
89
|
+
if (e.sol() && (n.align ?? (n.align = !1), t.indented = e.indentation(), t.startOfLine = !0), e.eatSpace()) return null;
|
|
90
|
+
d = null;
|
|
91
|
+
var r = (t.tokenize || f)(e, t);
|
|
92
|
+
if (r == "comment" || r == "meta") return r;
|
|
93
|
+
if (n.align ?? (n.align = !0), (d == ";" || d == ":" || d == ",") && n.type == "statement") v(t);
|
|
94
|
+
else if (d == "{") _(t, e.column(), "}");
|
|
95
|
+
else if (d == "[") _(t, e.column(), "]");
|
|
96
|
+
else if (d == "(") _(t, e.column(), ")");
|
|
97
|
+
else if (d == "}") {
|
|
98
|
+
for (; n.type == "statement";) n = v(t);
|
|
99
|
+
for (n.type == "}" && (n = v(t)); n.type == "statement";) n = v(t);
|
|
100
|
+
} else d == n.type ? v(t) : ((n.type == "}" || n.type == "top") && d != ";" || n.type == "statement" && d == "newstatement") && _(t, e.column(), "statement");
|
|
101
|
+
return t.startOfLine = !1, r;
|
|
102
|
+
},
|
|
103
|
+
indent: function(e, t, n) {
|
|
104
|
+
if (e.tokenize != f && e.tokenize != null) return null;
|
|
105
|
+
var i = e.context, a = t && t.charAt(0);
|
|
106
|
+
i.type == "statement" && a == "}" && (i = i.prev);
|
|
107
|
+
var o = a == i.type;
|
|
108
|
+
return i.type == "statement" ? i.indented + (a == "{" ? 0 : r || n.unit) : i.align ? i.column + +!o : i.indented + (o ? 0 : n.unit);
|
|
109
|
+
},
|
|
110
|
+
languageData: {
|
|
111
|
+
indentOnInput: /^\s*[{}]$/,
|
|
112
|
+
commentTokens: {
|
|
113
|
+
line: "//",
|
|
114
|
+
block: {
|
|
115
|
+
open: "/*",
|
|
116
|
+
close: "*/"
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
export { y as d };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/@codemirror+legacy-modes@6.5.5/node_modules/@codemirror/legacy-modes/mode/diff.js
|
|
2
|
+
var e = {
|
|
3
|
+
"+": "inserted",
|
|
4
|
+
"-": "deleted",
|
|
5
|
+
"@": "meta"
|
|
6
|
+
}, t = {
|
|
7
|
+
name: "diff",
|
|
8
|
+
token: function(t) {
|
|
9
|
+
var n = t.string.search(/[\t ]+?$/);
|
|
10
|
+
if (!t.sol() || n === 0) return t.skipToEnd(), ("error " + (e[t.string.charAt(0)] || "")).replace(/ $/, "");
|
|
11
|
+
var r = e[t.peek()] || t.skipToEnd();
|
|
12
|
+
return n === -1 ? t.skipToEnd() : t.pos = n, r;
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
export { t as diff };
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { F as e, I as t, W as n, n as r, r as i, s as a, u as o } from "./dist-CNbWaVYs.js";
|
|
2
|
+
import { n as s } from "./dist-CR-jmTSB.js";
|
|
3
|
+
import { r as c } from "./dist-DL-UifMi.js";
|
|
4
|
+
// ../../node_modules/.pnpm/@codemirror+lang-angular@0.1.4/node_modules/@codemirror/lang-angular/dist/index.js
|
|
5
|
+
var l = 1, u = 33, d = 34, f = 35, p = 36, m = /*@__PURE__*/ new r((e) => {
|
|
6
|
+
let t = e.pos;
|
|
7
|
+
for (;;) {
|
|
8
|
+
if (e.next == 10) {
|
|
9
|
+
e.advance();
|
|
10
|
+
break;
|
|
11
|
+
}
|
|
12
|
+
if (e.next == 123 && e.peek(1) == 123 || e.next < 0) break;
|
|
13
|
+
e.advance();
|
|
14
|
+
}
|
|
15
|
+
e.pos > t && e.acceptToken(l);
|
|
16
|
+
});
|
|
17
|
+
function h(e, t, n) {
|
|
18
|
+
return new r((r) => {
|
|
19
|
+
let i = r.pos;
|
|
20
|
+
for (; r.next != e && r.next >= 0 && (n || r.next != 38 && (r.next != 123 || r.peek(1) != 123));) r.advance();
|
|
21
|
+
r.pos > i && r.acceptToken(t);
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
var g = /*@__PURE__*/ h(39, u, !1), _ = /*@__PURE__*/ h(34, d, !1), v = /*@__PURE__*/ h(39, f, !0), y = /*@__PURE__*/ h(34, p, !0), b = /*@__PURE__*/ i.deserialize({
|
|
25
|
+
version: 14,
|
|
26
|
+
states: "(jOVOqOOOeQpOOOvO!bO'#CaOOOP'#Cx'#CxQVOqOOO!OQpO'#CfO!WQpO'#ClO!]QpO'#CrO!bQpO'#CsOOQO'#Cv'#CvQ!gQpOOQ!lQpOOQ!qQpOOOOOV,58{,58{O!vOpO,58{OOOP-E6v-E6vO!{QpO,59QO#TQpO,59QOOQO,59W,59WO#YQpO,59^OOQO,59_,59_O#_QpOOO#_QpOOO#gQpOOOOOV1G.g1G.gO#oQpO'#CyO#tQpO1G.lOOQO1G.l1G.lO#|QpO1G.lOOQO1G.x1G.xO$UO`O'#DUO$ZOWO'#DUOOQO'#Co'#CoQOQpOOOOQO'#Cu'#CuO$`OtO'#CwO$qOrO'#CwOOQO,59e,59eOOQO-E6w-E6wOOQO7+$W7+$WO%SQpO7+$WO%[QpO7+$WOOOO'#Cp'#CpO%aOpO,59pOOOO'#Cq'#CqO%fOpO,59pOOOS'#Cz'#CzO%kOtO,59cOOQO,59c,59cOOOQ'#C{'#C{O%|OrO,59cO&_QpO<<GrOOQO<<Gr<<GrOOQO1G/[1G/[OOOS-E6x-E6xOOQO1G.}1G.}OOOQ-E6y-E6yOOQOAN=^AN=^",
|
|
27
|
+
stateData: "&d~OvOS~OPROSQOVROWRO~OZTO[XO^VOaUOhWO~OR]OU^O~O[`O^aO~O[bO~O[cO~O[dO~ObeO~ObfO~ObgO~ORhO~O]kOwiO~O[lO~O_mO~OynOzoO~OysOztO~O[uO~O]wOwiO~O_yOwiO~OtzO~Os|O~OSQOV!OOW!OOr!OOy!QO~OSQOV!ROW!ROq!ROz!QO~O_!TOwiO~O]!UO~Oy!VO~Oz!VO~OSQOV!OOW!OOr!OOy!XO~OSQOV!ROW!ROq!ROz!XO~O]!ZO~O",
|
|
28
|
+
goto: "#dyPPPPPzPPPP!WPPPPP!WPP!Z!^!a!d!dP!g!j!m!p!v#Q#WPPPPPPPP#^SROSS!Os!PT!Rt!SRYPRqeR{nR}oRZPRqfR[PRqgQSOR_SQj`SvjxRxlQ!PsR!W!PQ!StR!Y!SQpeRrf",
|
|
29
|
+
nodeNames: "⚠ Text Content }} {{ Interpolation InterpolationContent Entity InvalidEntity Attribute BoundAttributeName [ Identifier ] ( ) ReferenceName # Is ExpressionAttributeValue AttributeInterpolation AttributeInterpolation EventName DirectiveName * StatementAttributeValue AttributeName AttributeValue",
|
|
30
|
+
maxTerm: 42,
|
|
31
|
+
nodeProps: [
|
|
32
|
+
[
|
|
33
|
+
"openedBy",
|
|
34
|
+
3,
|
|
35
|
+
"{{",
|
|
36
|
+
15,
|
|
37
|
+
"("
|
|
38
|
+
],
|
|
39
|
+
[
|
|
40
|
+
"closedBy",
|
|
41
|
+
4,
|
|
42
|
+
"}}",
|
|
43
|
+
14,
|
|
44
|
+
")"
|
|
45
|
+
],
|
|
46
|
+
[
|
|
47
|
+
"isolate",
|
|
48
|
+
-4,
|
|
49
|
+
5,
|
|
50
|
+
19,
|
|
51
|
+
25,
|
|
52
|
+
27,
|
|
53
|
+
""
|
|
54
|
+
]
|
|
55
|
+
],
|
|
56
|
+
skippedNodes: [0],
|
|
57
|
+
repeatNodeCount: 4,
|
|
58
|
+
tokenData: "0r~RyOX#rXY$mYZ$mZ]#r]^$m^p#rpq$mqr#rrs%jst&Qtv#rvw&hwx)zxy*byz*xz{+`{}#r}!O+v!O!P-]!P!Q#r!Q![+v![!]+v!]!_#r!_!`-s!`!c#r!c!}+v!}#O.Z#O#P#r#P#Q.q#Q#R#r#R#S+v#S#T#r#T#o+v#o#p/X#p#q#r#q#r0Z#r%W#r%W;'S+v;'S;:j-V;:j;=`$g<%lO+vQ#wTUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rQ$ZSO#q#r#r;'S#r;'S;=`$g<%lO#rQ$jP;=`<%l#rR$t[UQvPOX#rXY$mYZ$mZ]#r]^$m^p#rpq$mq#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR%qTyPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR&XTaPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR&oXUQWPOp'[pq#rq!]'[!]!^#r!^#q'[#q#r(d#r;'S'[;'S;=`)t<%lO'[R'aXUQOp'[pq#rq!]'[!]!^'|!^#q'[#q#r(d#r;'S'[;'S;=`)t<%lO'[R(TTVPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR(gXOp'[pq#rq!]'[!]!^'|!^#q'[#q#r)S#r;'S'[;'S;=`)t<%lO'[P)VUOp)Sq!])S!]!^)i!^;'S)S;'S;=`)n<%lO)SP)nOVPP)qP;=`<%l)SR)wP;=`<%l'[R*RTzPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR*iT^PUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR+PT_PUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR+gThPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR+}b[PUQO}#r}!O+v!O!Q#r!Q![+v![!]+v!]!c#r!c!}+v!}#R#r#R#S+v#S#T#r#T#o+v#o#q#r#q#r$W#r%W#r%W;'S+v;'S;:j-V;:j;=`$g<%lO+vR-YP;=`<%l+vR-dTwPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR-zTUQbPO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR.bTZPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR.xT]PUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR/^VUQO#o#r#o#p/s#p#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR/zTSPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#r~0^TO#q#r#q#r0m#r;'S#r;'S;=`$g<%lO#r~0rOR~",
|
|
59
|
+
tokenizers: [
|
|
60
|
+
m,
|
|
61
|
+
g,
|
|
62
|
+
_,
|
|
63
|
+
v,
|
|
64
|
+
y,
|
|
65
|
+
0,
|
|
66
|
+
1
|
|
67
|
+
],
|
|
68
|
+
topRules: {
|
|
69
|
+
Content: [0, 2],
|
|
70
|
+
Attribute: [1, 9]
|
|
71
|
+
},
|
|
72
|
+
tokenPrec: 0
|
|
73
|
+
}), x = /*@__PURE__*/ c.parser.configure({ top: "SingleExpression" }), S = /*@__PURE__*/ b.configure({ props: [/*@__PURE__*/ e({
|
|
74
|
+
Text: t.content,
|
|
75
|
+
Is: t.definitionOperator,
|
|
76
|
+
AttributeName: t.attributeName,
|
|
77
|
+
"AttributeValue ExpressionAttributeValue StatementAttributeValue": t.attributeValue,
|
|
78
|
+
Entity: t.character,
|
|
79
|
+
InvalidEntity: t.invalid,
|
|
80
|
+
"BoundAttributeName/Identifier": t.attributeName,
|
|
81
|
+
"EventName/Identifier": /*@__PURE__*/ t.special(t.attributeName),
|
|
82
|
+
"ReferenceName/Identifier": t.variableName,
|
|
83
|
+
"DirectiveName/Identifier": t.keyword,
|
|
84
|
+
"{{ }}": t.brace,
|
|
85
|
+
"( )": t.paren,
|
|
86
|
+
"[ ]": t.bracket,
|
|
87
|
+
"# '*'": t.punctuation
|
|
88
|
+
})] }), C = { parser: x }, w = { parser: c.parser }, T = /*@__PURE__*/ S.configure({ wrap: /*@__PURE__*/ n((e, t) => e.name == "InterpolationContent" ? C : null) }), E = /*@__PURE__*/ S.configure({
|
|
89
|
+
wrap: /*@__PURE__*/ n((e, t) => e.name == "InterpolationContent" ? C : e.name == "AttributeInterpolation" ? e.node.parent?.name == "StatementAttributeValue" ? w : C : null),
|
|
90
|
+
top: "Attribute"
|
|
91
|
+
}), D = { parser: T }, O = { parser: E }, k = /*@__PURE__*/ s({ selfClosingTags: !0 });
|
|
92
|
+
function A(e) {
|
|
93
|
+
return e.configure({ wrap: n(M) }, "angular");
|
|
94
|
+
}
|
|
95
|
+
var j = /*@__PURE__*/ A(k.language);
|
|
96
|
+
function M(e, t) {
|
|
97
|
+
switch (e.name) {
|
|
98
|
+
case "Attribute": return /^[*#(\[]|\{\{/.test(t.read(e.from, e.to)) ? O : null;
|
|
99
|
+
case "Text": return D;
|
|
100
|
+
}
|
|
101
|
+
return null;
|
|
102
|
+
}
|
|
103
|
+
function N(e = {}) {
|
|
104
|
+
let t = k;
|
|
105
|
+
if (e.base) {
|
|
106
|
+
if (e.base.language.name != "html" || !(e.base.language instanceof a)) throw RangeError("The base option must be the result of calling html(...)");
|
|
107
|
+
t = e.base;
|
|
108
|
+
}
|
|
109
|
+
return new o(t.language == k.language ? j : A(t.language), [t.support, t.language.data.of({
|
|
110
|
+
closeBrackets: { brackets: [
|
|
111
|
+
"[",
|
|
112
|
+
"{",
|
|
113
|
+
"\""
|
|
114
|
+
] },
|
|
115
|
+
indentOnInput: /^\s*[\}\]]$/
|
|
116
|
+
})]);
|
|
117
|
+
}
|
|
118
|
+
export { N as angular };
|