editor.md-next 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (227) hide show
  1. package/LICENSE +32 -0
  2. package/dist/cdn/editormd-next.min.js +96 -0
  3. package/dist/cdn/index.css +2 -0
  4. package/dist/es/chunks/apl-BsW9fB9B.js +74 -0
  5. package/dist/es/chunks/asciiarmor-CZm6RLC5.js +30 -0
  6. package/dist/es/chunks/asn1-DBNYSAs9.js +86 -0
  7. package/dist/es/chunks/asterisk-XIYTp-BQ.js +63 -0
  8. package/dist/es/chunks/brainfuck-C03PadMX.js +26 -0
  9. package/dist/es/chunks/clike-QWVxZJBi.js +583 -0
  10. package/dist/es/chunks/clojure-DT_PY7rc.js +98 -0
  11. package/dist/es/chunks/cmake-DsoLxE-D.js +27 -0
  12. package/dist/es/chunks/cobol-CZjCUlI-.js +59 -0
  13. package/dist/es/chunks/coffeescript-CuHwxkgS.js +174 -0
  14. package/dist/es/chunks/commonlisp-CGpKWWCQ.js +90 -0
  15. package/dist/es/chunks/crystal-BH2tBqmL.js +159 -0
  16. package/dist/es/chunks/css-C6pN9rmb.js +314 -0
  17. package/dist/es/chunks/cypher-DknS4f0k.js +66 -0
  18. package/dist/es/chunks/d-zXrED2QC.js +121 -0
  19. package/dist/es/chunks/diff-Ca3g43eR.js +15 -0
  20. package/dist/es/chunks/dist-9Y-Blrkp.js +118 -0
  21. package/dist/es/chunks/dist-B0cBTTiS.js +408 -0
  22. package/dist/es/chunks/dist-BX9Ur1J1.js +74 -0
  23. package/dist/es/chunks/dist-BmAxhg3z.js +555 -0
  24. package/dist/es/chunks/dist-C6c_aHTh.js +269 -0
  25. package/dist/es/chunks/dist-CGdw3vqm.js +429 -0
  26. package/dist/es/chunks/dist-CNbWaVYs.js +11572 -0
  27. package/dist/es/chunks/dist-CR-jmTSB.js +1338 -0
  28. package/dist/es/chunks/dist-CahNaXTc.js +388 -0
  29. package/dist/es/chunks/dist-CeqtAM8-.js +438 -0
  30. package/dist/es/chunks/dist-Clo-Jkvm.js +291 -0
  31. package/dist/es/chunks/dist-Cpw9AD2K.js +372 -0
  32. package/dist/es/chunks/dist-Ct5FNAAH.js +406 -0
  33. package/dist/es/chunks/dist-D0OW86fR.js +605 -0
  34. package/dist/es/chunks/dist-DAlgXLzd.js +110 -0
  35. package/dist/es/chunks/dist-DL-UifMi.js +744 -0
  36. package/dist/es/chunks/dist-DQadNG25.js +523 -0
  37. package/dist/es/chunks/dist-DlAXkWGE.js +67 -0
  38. package/dist/es/chunks/dist-DoThxrrR.js +371 -0
  39. package/dist/es/chunks/dist-DrwgGib-.js +377 -0
  40. package/dist/es/chunks/dist-P5rAF7pi.js +197 -0
  41. package/dist/es/chunks/dist-fTCYxiV-.js +355 -0
  42. package/dist/es/chunks/dockerfile-BZSDl6MT.js +196 -0
  43. package/dist/es/chunks/dtd-DzUNfrcJ.js +77 -0
  44. package/dist/es/chunks/dylan-CFjlscB1.js +186 -0
  45. package/dist/es/chunks/ebnf-Vn9hWL1o.js +67 -0
  46. package/dist/es/chunks/ecl-CbjLeBF5.js +105 -0
  47. package/dist/es/chunks/eiffel-Dmm3m78y.js +49 -0
  48. package/dist/es/chunks/elm-CSe2F7PE.js +85 -0
  49. package/dist/es/chunks/erlang-D6YOoBpM.js +321 -0
  50. package/dist/es/chunks/factor-DAqyQvq1.js +165 -0
  51. package/dist/es/chunks/fcl-BZA_wXmw.js +99 -0
  52. package/dist/es/chunks/forth-MNc4axOK.js +45 -0
  53. package/dist/es/chunks/fortran-auI4bdzC.js +40 -0
  54. package/dist/es/chunks/gas-CZDp8wLI.js +167 -0
  55. package/dist/es/chunks/gherkin-B12NX28O.js +29 -0
  56. package/dist/es/chunks/groovy-CBShT4in.js +143 -0
  57. package/dist/es/chunks/haskell-DQf5nq2l.js +85 -0
  58. package/dist/es/chunks/haxe-CBKywepX.js +351 -0
  59. package/dist/es/chunks/http-B-vrcJu5.js +43 -0
  60. package/dist/es/chunks/idl-kztl-rIS.js +41 -0
  61. package/dist/es/chunks/javascript-COVyUmNV.js +636 -0
  62. package/dist/es/chunks/julia-C7x1UmUy.js +173 -0
  63. package/dist/es/chunks/livescript-BcSQznfC.js +250 -0
  64. package/dist/es/chunks/lua-CuzOmeFy.js +104 -0
  65. package/dist/es/chunks/mathematica-C_8O0eBN.js +37 -0
  66. package/dist/es/chunks/mbox-CgRq7o1s.js +65 -0
  67. package/dist/es/chunks/mirc-46fAnY_I.js +61 -0
  68. package/dist/es/chunks/mllike-DwngWEOH.js +260 -0
  69. package/dist/es/chunks/modelica-CLh6SOPZ.js +82 -0
  70. package/dist/es/chunks/mscgen-CqCKoWqr.js +287 -0
  71. package/dist/es/chunks/mumps-CTaGGpGh.js +24 -0
  72. package/dist/es/chunks/nginx-D8_Tx5a5.js +76 -0
  73. package/dist/es/chunks/nsis-LQ_3myBa.js +143 -0
  74. package/dist/es/chunks/ntriples-C8_f-qnr.js +76 -0
  75. package/dist/es/chunks/octave-Bg8pIvq8.js +40 -0
  76. package/dist/es/chunks/oz-fY6iPhaV.js +151 -0
  77. package/dist/es/chunks/pascal-yJGuSy92.js +66 -0
  78. package/dist/es/chunks/perl-Cp3_dIJp.js +626 -0
  79. package/dist/es/chunks/pig-Dp8CFFHM.js +49 -0
  80. package/dist/es/chunks/powershell-CFKKqebC.js +233 -0
  81. package/dist/es/chunks/properties-bVaZpKhj.js +19 -0
  82. package/dist/es/chunks/protobuf-CJ_NuiRp.js +14 -0
  83. package/dist/es/chunks/pug-CNVrzrF7.js +202 -0
  84. package/dist/es/chunks/puppet-DFrFlsRb.js +37 -0
  85. package/dist/es/chunks/python-DDOdLHWp.js +219 -0
  86. package/dist/es/chunks/q-CfAEY3XK.js +82 -0
  87. package/dist/es/chunks/r-D33f5qKA.js +133 -0
  88. package/dist/es/chunks/rolldown-runtime-QGRDbDUS.js +19 -0
  89. package/dist/es/chunks/rpm-KA2CbYVz.js +39 -0
  90. package/dist/es/chunks/ruby-DkaeL5UR.js +165 -0
  91. package/dist/es/chunks/sas-BMhoxqFi.js +73 -0
  92. package/dist/es/chunks/scheme-DiiFnhTV.js +116 -0
  93. package/dist/es/chunks/shell-BkraTAet.js +108 -0
  94. package/dist/es/chunks/sieve-CO0RsW8J.js +59 -0
  95. package/dist/es/chunks/simple-mode-DwMrk-pB.js +95 -0
  96. package/dist/es/chunks/smalltalk-susA3LoJ.js +43 -0
  97. package/dist/es/chunks/solr-Dyiozr6d.js +36 -0
  98. package/dist/es/chunks/sparql-svcWfrig.js +78 -0
  99. package/dist/es/chunks/spreadsheet-D64TPnFY.js +48 -0
  100. package/dist/es/chunks/sql-iy-in7fW.js +254 -0
  101. package/dist/es/chunks/stex-CK4iWXBq.js +108 -0
  102. package/dist/es/chunks/stylus-Bla1TtoF.js +281 -0
  103. package/dist/es/chunks/swift-BfLWtovc.js +158 -0
  104. package/dist/es/chunks/tcl-Cqsx32oK.js +71 -0
  105. package/dist/es/chunks/textile-CP9LptjR.js +215 -0
  106. package/dist/es/chunks/tiddlywiki-Ta-GM0jK.js +129 -0
  107. package/dist/es/chunks/tiki-CX4cONcl.js +160 -0
  108. package/dist/es/chunks/toml-BvD52WqI.js +27 -0
  109. package/dist/es/chunks/troff-CQ9EHWHs.js +29 -0
  110. package/dist/es/chunks/ttcn-DvhS_Gkc.js +117 -0
  111. package/dist/es/chunks/ttcn-cfg-GQi0YvSM.js +80 -0
  112. package/dist/es/chunks/turtle-VdGQLPpt.js +78 -0
  113. package/dist/es/chunks/vb-CPJS1Nrj.js +108 -0
  114. package/dist/es/chunks/vbscript-DEYreBb1.js +208 -0
  115. package/dist/es/chunks/velocity-BzjrTOAF.js +89 -0
  116. package/dist/es/chunks/verilog-Bc3Yq1WU.js +218 -0
  117. package/dist/es/chunks/vhdl-BD6jHQjr.js +102 -0
  118. package/dist/es/chunks/webidl-C5YO-ffA.js +102 -0
  119. package/dist/es/chunks/xquery-ugZJVSaq.js +204 -0
  120. package/dist/es/chunks/yacas-tAOeQ6Ok.js +72 -0
  121. package/dist/es/chunks/z80-DZa7RpgS.js +43 -0
  122. package/dist/es/index.js +18912 -0
  123. package/dist/iife/index.iife.js +96 -0
  124. package/dist/index.css +2 -0
  125. package/dist/types/cm/create-view.d.ts +19 -0
  126. package/dist/types/cm/create-view.d.ts.map +1 -0
  127. package/dist/types/cm/shortcuts.d.ts +11 -0
  128. package/dist/types/cm/shortcuts.d.ts.map +1 -0
  129. package/dist/types/cm/themes.d.ts +5 -0
  130. package/dist/types/cm/themes.d.ts.map +1 -0
  131. package/dist/types/defaults.d.ts +5 -0
  132. package/dist/types/defaults.d.ts.map +1 -0
  133. package/dist/types/dialogs/code.d.ts +5 -0
  134. package/dist/types/dialogs/code.d.ts.map +1 -0
  135. package/dist/types/dialogs/data/html-entities-data.d.ts +9 -0
  136. package/dist/types/dialogs/data/html-entities-data.d.ts.map +1 -0
  137. package/dist/types/dialogs/dialog.d.ts +37 -0
  138. package/dist/types/dialogs/dialog.d.ts.map +1 -0
  139. package/dist/types/dialogs/emoji.d.ts +4 -0
  140. package/dist/types/dialogs/emoji.d.ts.map +1 -0
  141. package/dist/types/dialogs/entities.d.ts +4 -0
  142. package/dist/types/dialogs/entities.d.ts.map +1 -0
  143. package/dist/types/dialogs/form.d.ts +12 -0
  144. package/dist/types/dialogs/form.d.ts.map +1 -0
  145. package/dist/types/dialogs/image.d.ts +4 -0
  146. package/dist/types/dialogs/image.d.ts.map +1 -0
  147. package/dist/types/dialogs/link.d.ts +6 -0
  148. package/dist/types/dialogs/link.d.ts.map +1 -0
  149. package/dist/types/dialogs/misc.d.ts +6 -0
  150. package/dist/types/dialogs/misc.d.ts.map +1 -0
  151. package/dist/types/dialogs/registry.d.ts +8 -0
  152. package/dist/types/dialogs/registry.d.ts.map +1 -0
  153. package/dist/types/dialogs/table.d.ts +4 -0
  154. package/dist/types/dialogs/table.d.ts.map +1 -0
  155. package/dist/types/editor.d.ts +105 -0
  156. package/dist/types/editor.d.ts.map +1 -0
  157. package/dist/types/features/paste-drop.d.ts +4 -0
  158. package/dist/types/features/paste-drop.d.ts.map +1 -0
  159. package/dist/types/features/view-modes.d.ts +8 -0
  160. package/dist/types/features/view-modes.d.ts.map +1 -0
  161. package/dist/types/i18n/en.d.ts +3 -0
  162. package/dist/types/i18n/en.d.ts.map +1 -0
  163. package/dist/types/i18n/index.d.ts +9 -0
  164. package/dist/types/i18n/index.d.ts.map +1 -0
  165. package/dist/types/i18n/zh-cn.d.ts +3 -0
  166. package/dist/types/i18n/zh-cn.d.ts.map +1 -0
  167. package/dist/types/i18n/zh-tw.d.ts +3 -0
  168. package/dist/types/i18n/zh-tw.d.ts.map +1 -0
  169. package/dist/types/index.d.ts +14 -0
  170. package/dist/types/index.d.ts.map +1 -0
  171. package/dist/types/lifecycle/layout.d.ts +11 -0
  172. package/dist/types/lifecycle/layout.d.ts.map +1 -0
  173. package/dist/types/lifecycle/mount.d.ts +12 -0
  174. package/dist/types/lifecycle/mount.d.ts.map +1 -0
  175. package/dist/types/markdown/cdn-lazy.d.ts +29 -0
  176. package/dist/types/markdown/cdn-lazy.d.ts.map +1 -0
  177. package/dist/types/markdown/data/emoji-data.d.ts +13 -0
  178. package/dist/types/markdown/data/emoji-data.d.ts.map +1 -0
  179. package/dist/types/markdown/engine.d.ts +18 -0
  180. package/dist/types/markdown/engine.d.ts.map +1 -0
  181. package/dist/types/markdown/engine.test.d.ts +2 -0
  182. package/dist/types/markdown/engine.test.d.ts.map +1 -0
  183. package/dist/types/markdown/highlight.d.ts +9 -0
  184. package/dist/types/markdown/highlight.d.ts.map +1 -0
  185. package/dist/types/markdown/plugin-emoji.d.ts +12 -0
  186. package/dist/types/markdown/plugin-emoji.d.ts.map +1 -0
  187. package/dist/types/markdown/plugin-fence.d.ts +3 -0
  188. package/dist/types/markdown/plugin-fence.d.ts.map +1 -0
  189. package/dist/types/markdown/plugin-misc.d.ts +9 -0
  190. package/dist/types/markdown/plugin-misc.d.ts.map +1 -0
  191. package/dist/types/markdown/plugin-tasks.d.ts +4 -0
  192. package/dist/types/markdown/plugin-tasks.d.ts.map +1 -0
  193. package/dist/types/markdown/plugin-tex.d.ts +3 -0
  194. package/dist/types/markdown/plugin-tex.d.ts.map +1 -0
  195. package/dist/types/markdown/plugin-toc.d.ts +18 -0
  196. package/dist/types/markdown/plugin-toc.d.ts.map +1 -0
  197. package/dist/types/normalize.d.ts +3 -0
  198. package/dist/types/normalize.d.ts.map +1 -0
  199. package/dist/types/preview/pane.d.ts +9 -0
  200. package/dist/types/preview/pane.d.ts.map +1 -0
  201. package/dist/types/preview/post-render.d.ts +19 -0
  202. package/dist/types/preview/post-render.d.ts.map +1 -0
  203. package/dist/types/preview/sync-scroll.d.ts +13 -0
  204. package/dist/types/preview/sync-scroll.d.ts.map +1 -0
  205. package/dist/types/preview/toc.d.ts +15 -0
  206. package/dist/types/preview/toc.d.ts.map +1 -0
  207. package/dist/types/render-to.d.ts +3 -0
  208. package/dist/types/render-to.d.ts.map +1 -0
  209. package/dist/types/toolbar/handlers.d.ts +4 -0
  210. package/dist/types/toolbar/handlers.d.ts.map +1 -0
  211. package/dist/types/toolbar/icons.d.ts +5 -0
  212. package/dist/types/toolbar/icons.d.ts.map +1 -0
  213. package/dist/types/toolbar/modes.d.ts +20 -0
  214. package/dist/types/toolbar/modes.d.ts.map +1 -0
  215. package/dist/types/toolbar/toolbar.d.ts +16 -0
  216. package/dist/types/toolbar/toolbar.d.ts.map +1 -0
  217. package/dist/types/types/common.d.ts +7 -0
  218. package/dist/types/types/common.d.ts.map +1 -0
  219. package/dist/types/types/events.d.ts +38 -0
  220. package/dist/types/types/events.d.ts.map +1 -0
  221. package/dist/types/types/lang.d.ts +95 -0
  222. package/dist/types/types/lang.d.ts.map +1 -0
  223. package/dist/types/types/settings.d.ts +170 -0
  224. package/dist/types/types/settings.d.ts.map +1 -0
  225. package/dist/umd/index.umd.cjs +96 -0
  226. package/package.json +69 -3
  227. package/README.md +0 -3
@@ -0,0 +1,74 @@
1
+ // ../../node_modules/.pnpm/@codemirror+legacy-modes@6.5.5/node_modules/@codemirror/legacy-modes/mode/apl.js
2
+ var e = {
3
+ "+": ["conjugate", "add"],
4
+ "−": ["negate", "subtract"],
5
+ "×": ["signOf", "multiply"],
6
+ "÷": ["reciprocal", "divide"],
7
+ "⌈": ["ceiling", "greaterOf"],
8
+ "⌊": ["floor", "lesserOf"],
9
+ "∣": ["absolute", "residue"],
10
+ "⍳": ["indexGenerate", "indexOf"],
11
+ "?": ["roll", "deal"],
12
+ "⋆": ["exponentiate", "toThePowerOf"],
13
+ "⍟": ["naturalLog", "logToTheBase"],
14
+ "○": ["piTimes", "circularFuncs"],
15
+ "!": ["factorial", "binomial"],
16
+ "⌹": ["matrixInverse", "matrixDivide"],
17
+ "<": [null, "lessThan"],
18
+ "≤": [null, "lessThanOrEqual"],
19
+ "=": [null, "equals"],
20
+ ">": [null, "greaterThan"],
21
+ "≥": [null, "greaterThanOrEqual"],
22
+ "≠": [null, "notEqual"],
23
+ "≡": ["depth", "match"],
24
+ "≢": [null, "notMatch"],
25
+ "∈": ["enlist", "membership"],
26
+ "⍷": [null, "find"],
27
+ "∪": ["unique", "union"],
28
+ "∩": [null, "intersection"],
29
+ "∼": ["not", "without"],
30
+ "∨": [null, "or"],
31
+ "∧": [null, "and"],
32
+ "⍱": [null, "nor"],
33
+ "⍲": [null, "nand"],
34
+ "⍴": ["shapeOf", "reshape"],
35
+ ",": ["ravel", "catenate"],
36
+ "⍪": [null, "firstAxisCatenate"],
37
+ "⌽": ["reverse", "rotate"],
38
+ "⊖": ["axis1Reverse", "axis1Rotate"],
39
+ "⍉": ["transpose", null],
40
+ "↑": ["first", "take"],
41
+ "↓": [null, "drop"],
42
+ "⊂": ["enclose", "partitionWithAxis"],
43
+ "⊃": ["diclose", "pick"],
44
+ "⌷": [null, "index"],
45
+ "⍋": ["gradeUp", null],
46
+ "⍒": ["gradeDown", null],
47
+ "⊤": ["encode", null],
48
+ "⊥": ["decode", null],
49
+ "⍕": ["format", "formatByExample"],
50
+ "⍎": ["execute", null],
51
+ "⊣": ["stop", "left"],
52
+ "⊢": ["pass", "right"]
53
+ }, t = /[\.\/⌿⍀¨⍣]/, n = /⍬/, r = /[\+−×÷⌈⌊∣⍳\?⋆⍟○!⌹<≤=>≥≠≡≢∈⍷∪∩∼∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢]/, i = /←/, a = /[⍝#].*$/, o = function(e) {
54
+ var t = !1;
55
+ return function(n) {
56
+ return t = n, n !== e || t === "\\";
57
+ };
58
+ }, s = {
59
+ name: "apl",
60
+ startState: function() {
61
+ return {
62
+ prev: !1,
63
+ func: !1,
64
+ op: !1,
65
+ string: !1,
66
+ escape: !1
67
+ };
68
+ },
69
+ token: function(s, c) {
70
+ var l;
71
+ return s.eatSpace() ? null : (l = s.next(), l === "\"" || l === "'" ? (s.eatWhile(o(l)), s.next(), c.prev = !0, "string") : /[\[{\(]/.test(l) ? (c.prev = !1, null) : /[\]}\)]/.test(l) ? (c.prev = !0, null) : n.test(l) ? (c.prev = !1, "atom") : /[¯\d]/.test(l) ? (c.func ? (c.func = !1, c.prev = !1) : c.prev = !0, s.eatWhile(/[\w\.]/), "number") : t.test(l) || i.test(l) ? "operator" : r.test(l) ? (c.func = !0, c.prev = !1, e[l] ? "variableName.function.standard" : "variableName.function") : a.test(l) ? (s.skipToEnd(), "comment") : l === "∘" && s.peek() === "." ? (s.next(), "variableName.function") : (s.eatWhile(/[\w\$_]/), c.prev = !0, "keyword"));
72
+ }
73
+ };
74
+ export { s as apl };
@@ -0,0 +1,30 @@
1
+ // ../../node_modules/.pnpm/@codemirror+legacy-modes@6.5.5/node_modules/@codemirror/legacy-modes/mode/asciiarmor.js
2
+ function e(e) {
3
+ var t = e.match(/^\s*\S/);
4
+ return e.skipToEnd(), t ? "error" : null;
5
+ }
6
+ var t = {
7
+ name: "asciiarmor",
8
+ token: function(t, n) {
9
+ var r;
10
+ if (n.state == "top") return t.sol() && (r = t.match(/^-----BEGIN (.*)?-----\s*$/)) ? (n.state = "headers", n.type = r[1], "tag") : e(t);
11
+ if (n.state == "headers") {
12
+ if (t.sol() && t.match(/^\w+:/)) return n.state = "header", "atom";
13
+ var i = e(t);
14
+ return i && (n.state = "body"), i;
15
+ }
16
+ if (n.state == "header") return t.skipToEnd(), n.state = "headers", "string";
17
+ if (n.state == "body") return t.sol() && (r = t.match(/^-----END (.*)?-----\s*$/)) ? r[1] == n.type ? (n.state = "end", "tag") : "error" : t.eatWhile(/[A-Za-z0-9+\/=]/) ? null : (t.next(), "error");
18
+ if (n.state == "end") return e(t);
19
+ },
20
+ blankLine: function(e) {
21
+ e.state == "headers" && (e.state = "body");
22
+ },
23
+ startState: function() {
24
+ return {
25
+ state: "top",
26
+ type: null
27
+ };
28
+ }
29
+ };
30
+ export { t as asciiArmor };
@@ -0,0 +1,86 @@
1
+ // ../../node_modules/.pnpm/@codemirror+legacy-modes@6.5.5/node_modules/@codemirror/legacy-modes/mode/asn1.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 = {
7
+ keywords: e("DEFINITIONS OBJECTS IF DERIVED INFORMATION ACTION REPLY ANY NAMED CHARACTERIZED BEHAVIOUR REGISTERED WITH AS IDENTIFIED CONSTRAINED BY PRESENT BEGIN IMPORTS FROM UNITS SYNTAX MIN-ACCESS MAX-ACCESS MINACCESS MAXACCESS REVISION STATUS DESCRIPTION SEQUENCE SET COMPONENTS OF CHOICE DistinguishedName ENUMERATED SIZE MODULE END INDEX AUGMENTS EXTENSIBILITY IMPLIED EXPORTS"),
8
+ cmipVerbs: e("ACTIONS ADD GET NOTIFICATIONS REPLACE REMOVE"),
9
+ compareTypes: e("OPTIONAL DEFAULT MANAGED MODULE-TYPE MODULE_IDENTITY MODULE-COMPLIANCE OBJECT-TYPE OBJECT-IDENTITY OBJECT-COMPLIANCE MODE CONFIRMED CONDITIONAL SUBORDINATE SUPERIOR CLASS TRUE FALSE NULL TEXTUAL-CONVENTION"),
10
+ status: e("current deprecated mandatory obsolete"),
11
+ tags: e("APPLICATION AUTOMATIC EXPLICIT IMPLICIT PRIVATE TAGS UNIVERSAL"),
12
+ storage: e("BOOLEAN INTEGER OBJECT IDENTIFIER BIT OCTET STRING UTCTime InterfaceIndex IANAifType CMIP-Attribute REAL PACKAGE PACKAGES IpAddress PhysAddress NetworkAddress BITS BMPString TimeStamp TimeTicks TruthValue RowStatus DisplayString GeneralString GraphicString IA5String NumericString PrintableString SnmpAdminString TeletexString UTF8String VideotexString VisibleString StringStore ISO646String T61String UniversalString Unsigned32 Integer32 Gauge Gauge32 Counter Counter32 Counter64"),
13
+ modifier: e("ATTRIBUTE ATTRIBUTES MANDATORY-GROUP MANDATORY-GROUPS GROUP GROUPS ELEMENTS EQUALITY ORDERING SUBSTRINGS DEFINED"),
14
+ accessTypes: e("not-accessible accessible-for-notify read-only read-create read-write"),
15
+ multiLineStrings: !0
16
+ };
17
+ function n(e) {
18
+ var n = e.keywords || t.keywords, r = e.cmipVerbs || t.cmipVerbs, i = e.compareTypes || t.compareTypes, a = e.status || t.status, o = e.tags || t.tags, s = e.storage || t.storage, c = e.modifier || t.modifier, l = e.accessTypes || t.accessTypes, u = e.multiLineStrings || t.multiLineStrings, d = e.indentStatements !== !1, f = /[\|\^]/, p;
19
+ function m(e, t) {
20
+ var u = e.next();
21
+ if (u == "\"" || u == "'") return t.tokenize = h(u), t.tokenize(e, t);
22
+ if (/[\[\]\(\){}:=,;]/.test(u)) return p = u, "punctuation";
23
+ if (u == "-" && e.eat("-")) return e.skipToEnd(), "comment";
24
+ if (/\d/.test(u)) return e.eatWhile(/[\w\.]/), "number";
25
+ if (f.test(u)) return e.eatWhile(f), "operator";
26
+ e.eatWhile(/[\w\-]/);
27
+ var d = e.current();
28
+ return n.propertyIsEnumerable(d) ? "keyword" : r.propertyIsEnumerable(d) ? "variableName" : i.propertyIsEnumerable(d) ? "atom" : a.propertyIsEnumerable(d) ? "comment" : o.propertyIsEnumerable(d) ? "typeName" : s.propertyIsEnumerable(d) || c.propertyIsEnumerable(d) || l.propertyIsEnumerable(d) ? "modifier" : "variableName";
29
+ }
30
+ function h(e) {
31
+ return function(t, n) {
32
+ for (var r = !1, i, a = !1; (i = t.next()) != null;) {
33
+ if (i == e && !r) {
34
+ var o = t.peek();
35
+ o && (o = o.toLowerCase(), (o == "b" || o == "h" || o == "o") && t.next()), a = !0;
36
+ break;
37
+ }
38
+ r = !r && i == "\\";
39
+ }
40
+ return (a || !(r || u)) && (n.tokenize = null), "string";
41
+ };
42
+ }
43
+ function g(e, t, n, r, i) {
44
+ this.indented = e, this.column = t, this.type = n, this.align = r, this.prev = i;
45
+ }
46
+ function _(e, t, n) {
47
+ var r = e.indented;
48
+ return e.context && e.context.type == "statement" && (r = e.context.indented), e.context = new g(r, t, n, null, e.context);
49
+ }
50
+ function v(e) {
51
+ var t = e.context.type;
52
+ return (t == ")" || t == "]" || t == "}") && (e.indented = e.context.indented), e.context = e.context.prev;
53
+ }
54
+ return {
55
+ name: "asn1",
56
+ startState: function() {
57
+ return {
58
+ tokenize: null,
59
+ context: new g(-2, 0, "top", !1),
60
+ indented: 0,
61
+ startOfLine: !0
62
+ };
63
+ },
64
+ token: function(e, t) {
65
+ var n = t.context;
66
+ if (e.sol() && (n.align ?? (n.align = !1), t.indented = e.indentation(), t.startOfLine = !0), e.eatSpace()) return null;
67
+ p = null;
68
+ var r = (t.tokenize || m)(e, t);
69
+ if (r == "comment") return r;
70
+ if (n.align ?? (n.align = !0), (p == ";" || p == ":" || p == ",") && n.type == "statement") v(t);
71
+ else if (p == "{") _(t, e.column(), "}");
72
+ else if (p == "[") _(t, e.column(), "]");
73
+ else if (p == "(") _(t, e.column(), ")");
74
+ else if (p == "}") {
75
+ for (; n.type == "statement";) n = v(t);
76
+ for (n.type == "}" && (n = v(t)); n.type == "statement";) n = v(t);
77
+ } else p == n.type ? v(t) : d && ((n.type == "}" || n.type == "top") && p != ";" || n.type == "statement" && p == "newstatement") && _(t, e.column(), "statement");
78
+ return t.startOfLine = !1, r;
79
+ },
80
+ languageData: {
81
+ indentOnInput: /^\s*[{}]$/,
82
+ commentTokens: { line: "--" }
83
+ }
84
+ };
85
+ }
86
+ export { n as asn1 };
@@ -0,0 +1,63 @@
1
+ // ../../node_modules/.pnpm/@codemirror+legacy-modes@6.5.5/node_modules/@codemirror/legacy-modes/mode/asterisk.js
2
+ var e = [
3
+ "exten",
4
+ "same",
5
+ "include",
6
+ "ignorepat",
7
+ "switch"
8
+ ], t = ["#include", "#exec"], n = /* @__PURE__ */ "addqueuemember.adsiprog.aelsub.agentlogin.agentmonitoroutgoing.agi.alarmreceiver.amd.answer.authenticate.background.backgrounddetect.bridge.busy.callcompletioncancel.callcompletionrequest.celgenuserevent.changemonitor.chanisavail.channelredirect.chanspy.clearhash.confbridge.congestion.continuewhile.controlplayback.dahdiacceptr2call.dahdibarge.dahdiras.dahdiscan.dahdisendcallreroutingfacility.dahdisendkeypadfacility.datetime.dbdel.dbdeltree.deadagi.dial.dictate.directory.disa.dumpchan.eagi.echo.endwhile.exec.execif.execiftime.exitwhile.extenspy.externalivr.festival.flash.followme.forkcdr.getcpeid.gosub.gosubif.goto.gotoif.gotoiftime.hangup.iax2provision.ices.importvar.incomplete.ivrdemo.jabberjoin.jabberleave.jabbersend.jabbersendgroup.jabberstatus.jack.log.macro.macroexclusive.macroexit.macroif.mailboxexists.meetme.meetmeadmin.meetmechanneladmin.meetmecount.milliwatt.minivmaccmess.minivmdelete.minivmgreet.minivmmwi.minivmnotify.minivmrecord.mixmonitor.monitor.morsecode.mp3player.mset.musiconhold.nbscat.nocdr.noop.odbc.odbc.odbcfinish.originate.ospauth.ospfinish.osplookup.ospnext.page.park.parkandannounce.parkedcall.pausemonitor.pausequeuemember.pickup.pickupchan.playback.playtones.privacymanager.proceeding.progress.queue.queuelog.raiseexception.read.readexten.readfile.receivefax.receivefax.receivefax.record.removequeuemember.resetcdr.retrydial.return.ringing.sayalpha.saycountedadj.saycountednoun.saycountpl.saydigits.saynumber.sayphonetic.sayunixtime.senddtmf.sendfax.sendfax.sendfax.sendimage.sendtext.sendurl.set.setamaflags.setcallerpres.setmusiconhold.sipaddheader.sipdtmfmode.sipremoveheader.skel.slastation.slatrunk.sms.softhangup.speechactivategrammar.speechbackground.speechcreate.speechdeactivategrammar.speechdestroy.speechloadgrammar.speechprocessingsound.speechstart.speechunloadgrammar.stackpop.startmusiconhold.stopmixmonitor.stopmonitor.stopmusiconhold.stopplaytones.system.testclient.testserver.transfer.tryexec.trysystem.unpausemonitor.unpausequeuemember.userevent.verbose.vmauthenticate.vmsayname.voicemail.voicemailmain.wait.waitexten.waitfornoise.waitforring.waitforsilence.waitmusiconhold.waituntil.while.zapateller".split(".");
9
+ function r(n, r) {
10
+ var i = "", a = n.next();
11
+ if (r.blockComment) return a == "-" && n.match("-;", !0) ? r.blockComment = !1 : n.skipTo("--;") ? (n.next(), n.next(), n.next(), r.blockComment = !1) : n.skipToEnd(), "comment";
12
+ if (a == ";") return n.match("--", !0) && !n.match("-", !1) ? (r.blockComment = !0, "comment") : (n.skipToEnd(), "comment");
13
+ if (a == "[") return n.skipTo("]"), n.eat("]"), "header";
14
+ if (a == "\"") return n.skipTo("\""), "string";
15
+ if (a == "'") return n.skipTo("'"), "string.special";
16
+ if (a == "#" && (n.eatWhile(/\w/), i = n.current(), t.indexOf(i) !== -1)) return n.skipToEnd(), "strong";
17
+ if (a == "$" && n.peek() == "{") return n.skipTo("}"), n.eat("}"), "variableName.special";
18
+ if (n.eatWhile(/\w/), i = n.current(), e.indexOf(i) !== -1) {
19
+ switch (r.extenStart = !0, i) {
20
+ case "same":
21
+ r.extenSame = !0;
22
+ break;
23
+ case "include":
24
+ case "switch":
25
+ case "ignorepat": r.extenInclude = !0;
26
+ }
27
+ return "atom";
28
+ }
29
+ }
30
+ var i = {
31
+ name: "asterisk",
32
+ startState: function() {
33
+ return {
34
+ blockComment: !1,
35
+ extenStart: !1,
36
+ extenSame: !1,
37
+ extenInclude: !1,
38
+ extenExten: !1,
39
+ extenPriority: !1,
40
+ extenApplication: !1
41
+ };
42
+ },
43
+ token: function(e, t) {
44
+ var i = "";
45
+ if (e.eatSpace()) return null;
46
+ if (t.extenStart) return e.eatWhile(/[^\s]/), i = e.current(), /^=>?$/.test(i) ? (t.extenExten = !0, t.extenStart = !1, "strong") : (t.extenStart = !1, e.skipToEnd(), "error");
47
+ if (t.extenExten) return t.extenExten = !1, t.extenPriority = !0, e.eatWhile(/[^,]/), t.extenInclude &&= (e.skipToEnd(), t.extenPriority = !1, !1), t.extenSame && (t.extenPriority = !1, t.extenSame = !1, t.extenApplication = !0), "tag";
48
+ if (t.extenPriority) return t.extenPriority = !1, t.extenApplication = !0, e.next(), t.extenSame ? null : (e.eatWhile(/[^,]/), "number");
49
+ if (t.extenApplication) {
50
+ if (e.eatWhile(/,/), i = e.current(), i === ",") return null;
51
+ if (e.eatWhile(/\w/), i = e.current().toLowerCase(), t.extenApplication = !1, n.indexOf(i) !== -1) return "def";
52
+ } else return r(e, t);
53
+ return null;
54
+ },
55
+ languageData: { commentTokens: {
56
+ line: ";",
57
+ block: {
58
+ open: ";--",
59
+ close: "--;"
60
+ }
61
+ } }
62
+ };
63
+ export { i as asterisk };
@@ -0,0 +1,26 @@
1
+ // ../../node_modules/.pnpm/@codemirror+legacy-modes@6.5.5/node_modules/@codemirror/legacy-modes/mode/brainfuck.js
2
+ var e = "><+-.,[]".split(""), t = {
3
+ name: "brainfuck",
4
+ startState: function() {
5
+ return {
6
+ commentLine: !1,
7
+ left: 0,
8
+ right: 0,
9
+ commentLoop: !1
10
+ };
11
+ },
12
+ token: function(t, n) {
13
+ if (t.eatSpace()) return null;
14
+ t.sol() && (n.commentLine = !1);
15
+ var r = t.next().toString();
16
+ if (e.indexOf(r) !== -1) {
17
+ if (n.commentLine === !0) return t.eol() && (n.commentLine = !1), "comment";
18
+ if (r === "]" || r === "[") return r === "[" ? n.left++ : n.right++, "bracket";
19
+ if (r === "+" || r === "-") return "keyword";
20
+ if (r === "<" || r === ">") return "atom";
21
+ if (r === "." || r === ",") return "def";
22
+ } else return n.commentLine = !0, t.eol() && (n.commentLine = !1), "comment";
23
+ t.eol() && (n.commentLine = !1);
24
+ }
25
+ };
26
+ export { t as brainfuck };