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.
Files changed (233) 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 +19829 -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 +24 -0
  130. package/dist/types/cm/themes.d.ts.map +1 -0
  131. package/dist/types/cm/themes.test.d.ts +2 -0
  132. package/dist/types/cm/themes.test.d.ts.map +1 -0
  133. package/dist/types/defaults.d.ts +5 -0
  134. package/dist/types/defaults.d.ts.map +1 -0
  135. package/dist/types/dialogs/code.d.ts +5 -0
  136. package/dist/types/dialogs/code.d.ts.map +1 -0
  137. package/dist/types/dialogs/data/html-entities-data.d.ts +9 -0
  138. package/dist/types/dialogs/data/html-entities-data.d.ts.map +1 -0
  139. package/dist/types/dialogs/dialog.d.ts +37 -0
  140. package/dist/types/dialogs/dialog.d.ts.map +1 -0
  141. package/dist/types/dialogs/emoji.d.ts +4 -0
  142. package/dist/types/dialogs/emoji.d.ts.map +1 -0
  143. package/dist/types/dialogs/entities.d.ts +4 -0
  144. package/dist/types/dialogs/entities.d.ts.map +1 -0
  145. package/dist/types/dialogs/form.d.ts +12 -0
  146. package/dist/types/dialogs/form.d.ts.map +1 -0
  147. package/dist/types/dialogs/image.d.ts +4 -0
  148. package/dist/types/dialogs/image.d.ts.map +1 -0
  149. package/dist/types/dialogs/link.d.ts +6 -0
  150. package/dist/types/dialogs/link.d.ts.map +1 -0
  151. package/dist/types/dialogs/misc.d.ts +6 -0
  152. package/dist/types/dialogs/misc.d.ts.map +1 -0
  153. package/dist/types/dialogs/registry.d.ts +8 -0
  154. package/dist/types/dialogs/registry.d.ts.map +1 -0
  155. package/dist/types/dialogs/table.d.ts +4 -0
  156. package/dist/types/dialogs/table.d.ts.map +1 -0
  157. package/dist/types/editor.d.ts +105 -0
  158. package/dist/types/editor.d.ts.map +1 -0
  159. package/dist/types/features/paste-drop.d.ts +4 -0
  160. package/dist/types/features/paste-drop.d.ts.map +1 -0
  161. package/dist/types/features/view-modes.d.ts +8 -0
  162. package/dist/types/features/view-modes.d.ts.map +1 -0
  163. package/dist/types/i18n/en.d.ts +3 -0
  164. package/dist/types/i18n/en.d.ts.map +1 -0
  165. package/dist/types/i18n/index.d.ts +9 -0
  166. package/dist/types/i18n/index.d.ts.map +1 -0
  167. package/dist/types/i18n/zh-cn.d.ts +3 -0
  168. package/dist/types/i18n/zh-cn.d.ts.map +1 -0
  169. package/dist/types/i18n/zh-tw.d.ts +3 -0
  170. package/dist/types/i18n/zh-tw.d.ts.map +1 -0
  171. package/dist/types/index.d.ts +14 -0
  172. package/dist/types/index.d.ts.map +1 -0
  173. package/dist/types/lifecycle/layout.d.ts +11 -0
  174. package/dist/types/lifecycle/layout.d.ts.map +1 -0
  175. package/dist/types/lifecycle/mount.d.ts +12 -0
  176. package/dist/types/lifecycle/mount.d.ts.map +1 -0
  177. package/dist/types/markdown/cdn-lazy.d.ts +49 -0
  178. package/dist/types/markdown/cdn-lazy.d.ts.map +1 -0
  179. package/dist/types/markdown/data/emoji-data.d.ts +13 -0
  180. package/dist/types/markdown/data/emoji-data.d.ts.map +1 -0
  181. package/dist/types/markdown/data/emoji-unicode.d.ts +6 -0
  182. package/dist/types/markdown/data/emoji-unicode.d.ts.map +1 -0
  183. package/dist/types/markdown/data-attr.d.ts +10 -0
  184. package/dist/types/markdown/data-attr.d.ts.map +1 -0
  185. package/dist/types/markdown/engine.d.ts +18 -0
  186. package/dist/types/markdown/engine.d.ts.map +1 -0
  187. package/dist/types/markdown/engine.test.d.ts +2 -0
  188. package/dist/types/markdown/engine.test.d.ts.map +1 -0
  189. package/dist/types/markdown/highlight.d.ts +9 -0
  190. package/dist/types/markdown/highlight.d.ts.map +1 -0
  191. package/dist/types/markdown/plugin-emoji.d.ts +9 -0
  192. package/dist/types/markdown/plugin-emoji.d.ts.map +1 -0
  193. package/dist/types/markdown/plugin-fence.d.ts +3 -0
  194. package/dist/types/markdown/plugin-fence.d.ts.map +1 -0
  195. package/dist/types/markdown/plugin-misc.d.ts +9 -0
  196. package/dist/types/markdown/plugin-misc.d.ts.map +1 -0
  197. package/dist/types/markdown/plugin-tasks.d.ts +4 -0
  198. package/dist/types/markdown/plugin-tasks.d.ts.map +1 -0
  199. package/dist/types/markdown/plugin-tex.d.ts +3 -0
  200. package/dist/types/markdown/plugin-tex.d.ts.map +1 -0
  201. package/dist/types/markdown/plugin-toc.d.ts +18 -0
  202. package/dist/types/markdown/plugin-toc.d.ts.map +1 -0
  203. package/dist/types/normalize.d.ts +3 -0
  204. package/dist/types/normalize.d.ts.map +1 -0
  205. package/dist/types/preview/pane.d.ts +9 -0
  206. package/dist/types/preview/pane.d.ts.map +1 -0
  207. package/dist/types/preview/post-render.d.ts +19 -0
  208. package/dist/types/preview/post-render.d.ts.map +1 -0
  209. package/dist/types/preview/sync-scroll.d.ts +13 -0
  210. package/dist/types/preview/sync-scroll.d.ts.map +1 -0
  211. package/dist/types/preview/toc.d.ts +15 -0
  212. package/dist/types/preview/toc.d.ts.map +1 -0
  213. package/dist/types/render-to.d.ts +3 -0
  214. package/dist/types/render-to.d.ts.map +1 -0
  215. package/dist/types/toolbar/handlers.d.ts +4 -0
  216. package/dist/types/toolbar/handlers.d.ts.map +1 -0
  217. package/dist/types/toolbar/icons.d.ts +5 -0
  218. package/dist/types/toolbar/icons.d.ts.map +1 -0
  219. package/dist/types/toolbar/modes.d.ts +20 -0
  220. package/dist/types/toolbar/modes.d.ts.map +1 -0
  221. package/dist/types/toolbar/toolbar.d.ts +16 -0
  222. package/dist/types/toolbar/toolbar.d.ts.map +1 -0
  223. package/dist/types/types/common.d.ts +7 -0
  224. package/dist/types/types/common.d.ts.map +1 -0
  225. package/dist/types/types/events.d.ts +38 -0
  226. package/dist/types/types/events.d.ts.map +1 -0
  227. package/dist/types/types/lang.d.ts +95 -0
  228. package/dist/types/types/lang.d.ts.map +1 -0
  229. package/dist/types/types/settings.d.ts +171 -0
  230. package/dist/types/types/settings.d.ts.map +1 -0
  231. package/dist/umd/index.umd.cjs +96 -0
  232. package/package.json +69 -3
  233. package/README.md +0 -3
@@ -0,0 +1,351 @@
1
+ // ../../node_modules/.pnpm/@codemirror+legacy-modes@6.5.5/node_modules/@codemirror/legacy-modes/mode/haxe.js
2
+ function e(e) {
3
+ return {
4
+ type: e,
5
+ style: "keyword"
6
+ };
7
+ }
8
+ var t = e("keyword a"), n = e("keyword b"), r = e("keyword c"), i = e("operator"), a = {
9
+ type: "atom",
10
+ style: "atom"
11
+ }, o = {
12
+ type: "attribute",
13
+ style: "attribute"
14
+ }, s = e("typedef"), c = {
15
+ if: t,
16
+ while: t,
17
+ else: n,
18
+ do: n,
19
+ try: n,
20
+ return: r,
21
+ break: r,
22
+ continue: r,
23
+ new: r,
24
+ throw: r,
25
+ var: e("var"),
26
+ inline: o,
27
+ static: o,
28
+ using: e("import"),
29
+ public: o,
30
+ private: o,
31
+ cast: e("cast"),
32
+ import: e("import"),
33
+ macro: e("macro"),
34
+ function: e("function"),
35
+ catch: e("catch"),
36
+ untyped: e("untyped"),
37
+ callback: e("cb"),
38
+ for: e("for"),
39
+ switch: e("switch"),
40
+ case: e("case"),
41
+ default: e("default"),
42
+ in: i,
43
+ never: e("property_access"),
44
+ trace: e("trace"),
45
+ class: s,
46
+ abstract: s,
47
+ enum: s,
48
+ interface: s,
49
+ typedef: s,
50
+ extends: s,
51
+ implements: s,
52
+ dynamic: s,
53
+ true: a,
54
+ false: a,
55
+ null: a
56
+ }, l = /[+\-*&%=<>!?|]/;
57
+ function u(e, t, n) {
58
+ return t.tokenize = n, n(e, t);
59
+ }
60
+ function d(e, t) {
61
+ for (var n = !1, r; (r = e.next()) != null;) {
62
+ if (r == t && !n) return !0;
63
+ n = !n && r == "\\";
64
+ }
65
+ }
66
+ var s, f;
67
+ function p(e, t, n) {
68
+ return s = e, f = n, t;
69
+ }
70
+ function m(e, t) {
71
+ var n = e.next();
72
+ if (n == "\"" || n == "'") return u(e, t, ee(n));
73
+ if (/[\[\]{}\(\),;\:\.]/.test(n)) return p(n);
74
+ if (n == "0" && e.eat(/x/i)) return e.eatWhile(/[\da-f]/i), p("number", "number");
75
+ if (/\d/.test(n) || n == "-" && e.eat(/\d/)) return e.match(/^\d*(?:\.\d*(?!\.))?(?:[eE][+\-]?\d+)?/), p("number", "number");
76
+ if (t.reAllowed && n == "~" && e.eat(/\//)) return d(e, "/"), e.eatWhile(/[gimsu]/), p("regexp", "string.special");
77
+ if (n == "/") return e.eat("*") ? u(e, t, h) : e.eat("/") ? (e.skipToEnd(), p("comment", "comment")) : (e.eatWhile(l), p("operator", null, e.current()));
78
+ if (n == "#") return e.skipToEnd(), p("conditional", "meta");
79
+ if (n == "@") return e.eat(/:/), e.eatWhile(/[\w_]/), p("metadata", "meta");
80
+ if (l.test(n)) return e.eatWhile(l), p("operator", null, e.current());
81
+ var r;
82
+ if (/[A-Z]/.test(n)) return e.eatWhile(/[\w_<>]/), r = e.current(), p("type", "type", r);
83
+ e.eatWhile(/[\w_]/);
84
+ var r = e.current(), i = c.propertyIsEnumerable(r) && c[r];
85
+ return i && t.kwAllowed ? p(i.type, i.style, r) : p("variable", "variable", r);
86
+ }
87
+ function ee(e) {
88
+ return function(t, n) {
89
+ return d(t, e) && (n.tokenize = m), p("string", "string");
90
+ };
91
+ }
92
+ function h(e, t) {
93
+ for (var n = !1, r; r = e.next();) {
94
+ if (r == "/" && n) {
95
+ t.tokenize = m;
96
+ break;
97
+ }
98
+ n = r == "*";
99
+ }
100
+ return p("comment", "comment");
101
+ }
102
+ var g = {
103
+ atom: !0,
104
+ number: !0,
105
+ variable: !0,
106
+ string: !0,
107
+ regexp: !0
108
+ };
109
+ function _(e, t, n, r, i, a) {
110
+ this.indented = e, this.column = t, this.type = n, this.prev = i, this.info = a, r != null && (this.align = r);
111
+ }
112
+ function v(e, t) {
113
+ for (var n = e.localVars; n; n = n.next) if (n.name == t) return !0;
114
+ }
115
+ function y(e, t, n, r, i) {
116
+ var a = e.cc;
117
+ for (S.state = e, S.stream = i, S.marked = null, S.cc = a, e.lexical.hasOwnProperty("align") || (e.lexical.align = !0);;) if ((a.length ? a.pop() : N)(n, r)) {
118
+ for (; a.length && a[a.length - 1].lex;) a.pop()();
119
+ return S.marked ? S.marked : n == "variable" && v(e, r) ? "variableName.local" : n == "variable" && b(e, r) ? "variableName.special" : t;
120
+ }
121
+ }
122
+ function b(e, t) {
123
+ if (/[a-z]/.test(t.charAt(0))) return !1;
124
+ for (var n = e.importedtypes.length, r = 0; r < n; r++) if (e.importedtypes[r] == t) return !0;
125
+ }
126
+ function x(e) {
127
+ for (var t = S.state, n = t.importedtypes; n; n = n.next) if (n.name == e) return;
128
+ t.importedtypes = {
129
+ name: e,
130
+ next: t.importedtypes
131
+ };
132
+ }
133
+ var S = {
134
+ state: null,
135
+ column: null,
136
+ marked: null,
137
+ cc: null
138
+ };
139
+ function C() {
140
+ for (var e = arguments.length - 1; e >= 0; e--) S.cc.push(arguments[e]);
141
+ }
142
+ function w() {
143
+ return C.apply(null, arguments), !0;
144
+ }
145
+ function T(e, t) {
146
+ for (var n = t; n; n = n.next) if (n.name == e) return !0;
147
+ return !1;
148
+ }
149
+ function E(e) {
150
+ var t = S.state;
151
+ if (t.context) {
152
+ if (S.marked = "def", T(e, t.localVars)) return;
153
+ t.localVars = {
154
+ name: e,
155
+ next: t.localVars
156
+ };
157
+ } else if (t.globalVars) {
158
+ if (T(e, t.globalVars)) return;
159
+ t.globalVars = {
160
+ name: e,
161
+ next: t.globalVars
162
+ };
163
+ }
164
+ }
165
+ var D = {
166
+ name: "this",
167
+ next: null
168
+ };
169
+ function O() {
170
+ S.state.context || (S.state.localVars = D), S.state.context = {
171
+ prev: S.state.context,
172
+ vars: S.state.localVars
173
+ };
174
+ }
175
+ function k() {
176
+ S.state.localVars = S.state.context.vars, S.state.context = S.state.context.prev;
177
+ }
178
+ k.lex = !0;
179
+ function A(e, t) {
180
+ var n = function() {
181
+ var n = S.state;
182
+ n.lexical = new _(n.indented, S.stream.column(), e, null, n.lexical, t);
183
+ };
184
+ return n.lex = !0, n;
185
+ }
186
+ function j() {
187
+ var e = S.state;
188
+ e.lexical.prev && (e.lexical.type == ")" && (e.indented = e.lexical.indented), e.lexical = e.lexical.prev);
189
+ }
190
+ j.lex = !0;
191
+ function M(e) {
192
+ function t(n) {
193
+ return n == e ? w() : e == ";" ? C() : w(t);
194
+ }
195
+ return t;
196
+ }
197
+ function N(e) {
198
+ return e == "@" ? w(R) : e == "var" ? w(A("vardef"), q, M(";"), j) : e == "keyword a" ? w(A("form"), P, N, j) : e == "keyword b" ? w(A("form"), N, j) : e == "{" ? w(A("}"), O, K, j, k) : e == ";" ? w() : e == "attribute" ? w(L) : e == "function" ? w(Z) : e == "for" ? w(A("form"), M("("), A(")"), Y, M(")"), j, N, j) : e == "variable" ? w(A("stat"), H) : e == "switch" ? w(A("form"), P, A("}", "switch"), M("{"), K, j, j) : e == "case" ? w(P, M(":")) : e == "default" ? w(M(":")) : e == "catch" ? w(A("form"), O, M("("), $, M(")"), N, j, k) : e == "import" ? w(B, M(";")) : e == "typedef" ? w(V) : C(A("stat"), P, M(";"), j);
199
+ }
200
+ function P(e) {
201
+ return g.hasOwnProperty(e) || e == "type" ? w(I) : e == "function" ? w(Z) : e == "keyword c" ? w(F) : e == "(" ? w(A(")"), F, M(")"), j, I) : e == "operator" ? w(P) : e == "[" ? w(A("]"), G(F, "]"), j, I) : e == "{" ? w(A("}"), G(W, "}"), j, I) : w();
202
+ }
203
+ function F(e) {
204
+ return e.match(/[;\}\)\],]/) ? C() : C(P);
205
+ }
206
+ function I(e, t) {
207
+ if (e == "operator" && /\+\+|--/.test(t)) return w(I);
208
+ if (e == "operator" || e == ":") return w(P);
209
+ if (e != ";") {
210
+ if (e == "(") return w(A(")"), G(P, ")"), j, I);
211
+ if (e == ".") return w(U, I);
212
+ if (e == "[") return w(A("]"), P, M("]"), j, I);
213
+ }
214
+ }
215
+ function L(e) {
216
+ if (e == "attribute") return w(L);
217
+ if (e == "function") return w(Z);
218
+ if (e == "var") return w(q);
219
+ }
220
+ function R(e) {
221
+ if (e == ":" || e == "variable") return w(R);
222
+ if (e == "(") return w(A(")"), G(z, ")"), j, N);
223
+ }
224
+ function z(e) {
225
+ if (e == "variable") return w();
226
+ }
227
+ function B(e, t) {
228
+ if (e == "variable" && /[A-Z]/.test(t.charAt(0))) return x(t), w();
229
+ if (e == "variable" || e == "property" || e == "." || t == "*") return w(B);
230
+ }
231
+ function V(e, t) {
232
+ if (e == "variable" && /[A-Z]/.test(t.charAt(0))) return x(t), w();
233
+ if (e == "type" && /[A-Z]/.test(t.charAt(0))) return w();
234
+ }
235
+ function H(e) {
236
+ return e == ":" ? w(j, N) : C(I, M(";"), j);
237
+ }
238
+ function U(e) {
239
+ if (e == "variable") return S.marked = "property", w();
240
+ }
241
+ function W(e) {
242
+ if (e == "variable" && (S.marked = "property"), g.hasOwnProperty(e)) return w(M(":"), P);
243
+ }
244
+ function G(e, t) {
245
+ function n(r) {
246
+ return r == "," ? w(e, n) : r == t ? w() : w(M(t));
247
+ }
248
+ return function(r) {
249
+ return r == t ? w() : C(e, n);
250
+ };
251
+ }
252
+ function K(e) {
253
+ return e == "}" ? w() : C(N, K);
254
+ }
255
+ function q(e, t) {
256
+ return e == "variable" ? (E(t), w(Q, J)) : w();
257
+ }
258
+ function J(e, t) {
259
+ if (t == "=") return w(P, J);
260
+ if (e == ",") return w(q);
261
+ }
262
+ function Y(e, t) {
263
+ return e == "variable" ? (E(t), w(X, P)) : C();
264
+ }
265
+ function X(e, t) {
266
+ if (t == "in") return w();
267
+ }
268
+ function Z(e, t) {
269
+ if (e == "variable" || e == "type") return E(t), w(Z);
270
+ if (t == "new") return w(Z);
271
+ if (e == "(") return w(A(")"), O, G($, ")"), j, Q, N, k);
272
+ }
273
+ function Q(e) {
274
+ if (e == ":") return w(te);
275
+ }
276
+ function te(e) {
277
+ if (e == "type" || e == "variable") return w();
278
+ if (e == "{") return w(A("}"), G(ne, "}"), j);
279
+ }
280
+ function ne(e) {
281
+ if (e == "variable") return w(Q);
282
+ }
283
+ function $(e, t) {
284
+ if (e == "variable") return E(t), w(Q);
285
+ }
286
+ var re = {
287
+ name: "haxe",
288
+ startState: function(e) {
289
+ return {
290
+ tokenize: m,
291
+ reAllowed: !0,
292
+ kwAllowed: !0,
293
+ cc: [],
294
+ lexical: new _(-e, 0, "block", !1),
295
+ importedtypes: [
296
+ "Int",
297
+ "Float",
298
+ "String",
299
+ "Void",
300
+ "Std",
301
+ "Bool",
302
+ "Dynamic",
303
+ "Array"
304
+ ],
305
+ context: null,
306
+ indented: 0
307
+ };
308
+ },
309
+ token: function(e, t) {
310
+ if (e.sol() && (t.lexical.hasOwnProperty("align") || (t.lexical.align = !1), t.indented = e.indentation()), e.eatSpace()) return null;
311
+ var n = t.tokenize(e, t);
312
+ return s == "comment" ? n : (t.reAllowed = !!(s == "operator" || s == "keyword c" || s.match(/^[\[{}\(,;:]$/)), t.kwAllowed = s != ".", y(t, n, s, f, e));
313
+ },
314
+ indent: function(e, t, n) {
315
+ if (e.tokenize != m) return 0;
316
+ var r = t && t.charAt(0), i = e.lexical;
317
+ i.type == "stat" && r == "}" && (i = i.prev);
318
+ var a = i.type, o = r == a;
319
+ return a == "vardef" ? i.indented + 4 : a == "form" && r == "{" ? i.indented : a == "stat" || a == "form" ? i.indented + n.unit : i.info == "switch" && !o ? i.indented + (/^(?:case|default)\b/.test(t) ? n.unit : 2 * n.unit) : i.align ? i.column + +!o : i.indented + (o ? 0 : n.unit);
320
+ },
321
+ languageData: {
322
+ indentOnInput: /^\s*[{}]$/,
323
+ commentTokens: {
324
+ line: "//",
325
+ block: {
326
+ open: "/*",
327
+ close: "*/"
328
+ }
329
+ }
330
+ }
331
+ }, ie = {
332
+ name: "hxml",
333
+ startState: function() {
334
+ return {
335
+ define: !1,
336
+ inString: !1
337
+ };
338
+ },
339
+ token: function(e, t) {
340
+ var n = e.peek(), r = e.sol();
341
+ if (n == "#") return e.skipToEnd(), "comment";
342
+ if (r && n == "-") {
343
+ var i = "variable-2";
344
+ return e.eat(/-/), e.peek() == "-" && (e.eat(/-/), i = "keyword a"), e.peek() == "D" && (e.eat(/[D]/), i = "keyword c", t.define = !0), e.eatWhile(/[A-Z]/i), i;
345
+ }
346
+ var n = e.peek();
347
+ return t.inString == 0 && n == "'" && (t.inString = !0, e.next()), t.inString == 1 ? (e.skipTo("'") || e.skipToEnd(), e.peek() == "'" && (e.next(), t.inString = !1), "string") : (e.next(), null);
348
+ },
349
+ languageData: { commentTokens: { line: "#" } }
350
+ };
351
+ export { re as haxe, ie as hxml };
@@ -0,0 +1,43 @@
1
+ // ../../node_modules/.pnpm/@codemirror+legacy-modes@6.5.5/node_modules/@codemirror/legacy-modes/mode/http.js
2
+ function e(e, t) {
3
+ return e.skipToEnd(), t.cur = o, "error";
4
+ }
5
+ function t(t, r) {
6
+ return t.match(/^HTTP\/\d\.\d/) ? (r.cur = n, "keyword") : t.match(/^[A-Z]+/) && /[ \t]/.test(t.peek()) ? (r.cur = i, "keyword") : e(t, r);
7
+ }
8
+ function n(t, n) {
9
+ var i = t.match(/^\d+/);
10
+ if (!i) return e(t, n);
11
+ n.cur = r;
12
+ var a = Number(i[0]);
13
+ return a >= 100 && a < 400 ? "atom" : "error";
14
+ }
15
+ function r(e, t) {
16
+ return e.skipToEnd(), t.cur = o, null;
17
+ }
18
+ function i(e, t) {
19
+ return e.eatWhile(/\S/), t.cur = a, "string.special";
20
+ }
21
+ function a(t, n) {
22
+ return t.match(/^HTTP\/\d\.\d$/) ? (n.cur = o, "keyword") : e(t, n);
23
+ }
24
+ function o(e) {
25
+ return e.sol() && !e.eat(/[ \t]/) ? e.match(/^.*?:/) ? "atom" : (e.skipToEnd(), "error") : (e.skipToEnd(), "string");
26
+ }
27
+ function s(e) {
28
+ return e.skipToEnd(), null;
29
+ }
30
+ var c = {
31
+ name: "http",
32
+ token: function(e, t) {
33
+ var n = t.cur;
34
+ return n != o && n != s && e.eatSpace() ? null : n(e, t);
35
+ },
36
+ blankLine: function(e) {
37
+ e.cur = s;
38
+ },
39
+ startState: function() {
40
+ return { cur: t };
41
+ }
42
+ };
43
+ export { c as http };
@@ -0,0 +1,41 @@
1
+ // ../../node_modules/.pnpm/@codemirror+legacy-modes@6.5.5/node_modules/@codemirror/legacy-modes/mode/idl.js
2
+ function e(e) {
3
+ return RegExp("^((" + e.join(")|(") + "))\\b", "i");
4
+ }
5
+ var t = /* @__PURE__ */ "a_correlate.abs.acos.adapt_hist_equal.alog.alog2.alog10.amoeba.annotate.app_user_dir.app_user_dir_query.arg_present.array_equal.array_indices.arrow.ascii_template.asin.assoc.atan.axis.axis.bandpass_filter.bandreject_filter.barplot.bar_plot.beseli.beselj.beselk.besely.beta.biginteger.bilinear.bin_date.binary_template.bindgen.binomial.bit_ffs.bit_population.blas_axpy.blk_con.boolarr.boolean.boxplot.box_cursor.breakpoint.broyden.bubbleplot.butterworth.bytarr.byte.byteorder.bytscl.c_correlate.calendar.caldat.call_external.call_function.call_method.call_procedure.canny.catch.cd.cdf.ceil.chebyshev.check_math.chisqr_cvf.chisqr_pdf.choldc.cholsol.cindgen.cir_3pnt.clipboard.close.clust_wts.cluster.cluster_tree.cmyk_convert.code_coverage.color_convert.color_exchange.color_quan.color_range_map.colorbar.colorize_sample.colormap_applicable.colormap_gradient.colormap_rotation.colortable.comfit.command_line_args.common.compile_opt.complex.complexarr.complexround.compute_mesh_normals.cond.congrid.conj.constrained_min.contour.contour.convert_coord.convol.convol_fft.coord2to3.copy_lun.correlate.cos.cosh.cpu.cramer.createboxplotdata.create_cursor.create_struct.create_view.crossp.crvlength.ct_luminance.cti_test.cursor.curvefit.cv_coord.cvttobm.cw_animate.cw_animate_getp.cw_animate_load.cw_animate_run.cw_arcball.cw_bgroup.cw_clr_index.cw_colorsel.cw_defroi.cw_field.cw_filesel.cw_form.cw_fslider.cw_light_editor.cw_light_editor_get.cw_light_editor_set.cw_orient.cw_palette_editor.cw_palette_editor_get.cw_palette_editor_set.cw_pdmenu.cw_rgbslider.cw_tmpl.cw_zoom.db_exists.dblarr.dcindgen.dcomplex.dcomplexarr.define_key.define_msgblk.define_msgblk_from_file.defroi.defsysv.delvar.dendro_plot.dendrogram.deriv.derivsig.determ.device.dfpmin.diag_matrix.dialog_dbconnect.dialog_message.dialog_pickfile.dialog_printersetup.dialog_printjob.dialog_read_image.dialog_write_image.dictionary.digital_filter.dilate.dindgen.dissolve.dist.distance_measure.dlm_load.dlm_register.doc_library.double.draw_roi.edge_dog.efont.eigenql.eigenvec.ellipse.elmhes.emboss.empty.enable_sysrtn.eof.eos.erase.erf.erfc.erfcx.erode.errorplot.errplot.estimator_filter.execute.exit.exp.expand.expand_path.expint.extract.extract_slice.f_cvf.f_pdf.factorial.fft.file_basename.file_chmod.file_copy.file_delete.file_dirname.file_expand_path.file_gunzip.file_gzip.file_info.file_lines.file_link.file_mkdir.file_move.file_poll_input.file_readlink.file_same.file_search.file_tar.file_test.file_untar.file_unzip.file_which.file_zip.filepath.findgen.finite.fix.flick.float.floor.flow3.fltarr.flush.format_axis_values.forward_function.free_lun.fstat.fulstr.funct.function.fv_test.fx_root.fz_roots.gamma.gamma_ct.gauss_cvf.gauss_pdf.gauss_smooth.gauss2dfit.gaussfit.gaussian_function.gaussint.get_drive_list.get_dxf_objects.get_kbrd.get_login_info.get_lun.get_screen_size.getenv.getwindows.greg2jul.grib.grid_input.grid_tps.grid3.griddata.gs_iter.h_eq_ct.h_eq_int.hanning.hash.hdf.hdf5.heap_free.heap_gc.heap_nosave.heap_refcount.heap_save.help.hilbert.hist_2d.hist_equal.histogram.hls.hough.hqr.hsv.i18n_multibytetoutf8.i18n_multibytetowidechar.i18n_utf8tomultibyte.i18n_widechartomultibyte.ibeta.icontour.iconvertcoord.idelete.identity.idl_base64.idl_container.idl_validname.idlexbr_assistant.idlitsys_createtool.idlunit.iellipse.igamma.igetcurrent.igetdata.igetid.igetproperty.iimage.image.image_cont.image_statistics.image_threshold.imaginary.imap.indgen.int_2d.int_3d.int_tabulated.intarr.interpol.interpolate.interval_volume.invert.ioctl.iopen.ir_filter.iplot.ipolygon.ipolyline.iputdata.iregister.ireset.iresolve.irotate.isa.isave.iscale.isetcurrent.isetproperty.ishft.isocontour.isosurface.isurface.itext.itranslate.ivector.ivolume.izoom.journal.json_parse.json_serialize.jul2greg.julday.keyword_set.krig2d.kurtosis.kw_test.l64indgen.la_choldc.la_cholmprove.la_cholsol.la_determ.la_eigenproblem.la_eigenql.la_eigenvec.la_elmhes.la_gm_linear_model.la_hqr.la_invert.la_least_square_equality.la_least_squares.la_linear_equation.la_ludc.la_lumprove.la_lusol.la_svd.la_tridc.la_trimprove.la_triql.la_trired.la_trisol.label_date.label_region.ladfit.laguerre.lambda.lambdap.lambertw.laplacian.least_squares_filter.leefilt.legend.legendre.linbcg.lindgen.linfit.linkimage.list.ll_arc_distance.lmfit.lmgr.lngamma.lnp_test.loadct.locale_get.logical_and.logical_or.logical_true.lon64arr.lonarr.long.long64.lsode.lu_complex.ludc.lumprove.lusol.m_correlate.machar.make_array.make_dll.make_rt.map.mapcontinents.mapgrid.map_2points.map_continents.map_grid.map_image.map_patch.map_proj_forward.map_proj_image.map_proj_info.map_proj_init.map_proj_inverse.map_set.matrix_multiply.matrix_power.max.md_test.mean.meanabsdev.mean_filter.median.memory.mesh_clip.mesh_decimate.mesh_issolid.mesh_merge.mesh_numtriangles.mesh_obj.mesh_smooth.mesh_surfacearea.mesh_validate.mesh_volume.message.min.min_curve_surf.mk_html_help.modifyct.moment.morph_close.morph_distance.morph_gradient.morph_hitormiss.morph_open.morph_thin.morph_tophat.multi.n_elements.n_params.n_tags.ncdf.newton.noise_hurl.noise_pick.noise_scatter.noise_slur.norm.obj_class.obj_destroy.obj_hasmethod.obj_isa.obj_new.obj_valid.objarr.on_error.on_ioerror.online_help.openr.openu.openw.oplot.oploterr.orderedhash.p_correlate.parse_url.particle_trace.path_cache.path_sep.pcomp.plot.plot3d.plot.plot_3dbox.plot_field.ploterr.plots.polar_contour.polar_surface.polyfill.polyshade.pnt_line.point_lun.polarplot.poly.poly_2d.poly_area.poly_fit.polyfillv.polygon.polyline.polywarp.popd.powell.pref_commit.pref_get.pref_set.prewitt.primes.print.printf.printd.pro.product.profile.profiler.profiles.project_vol.ps_show_fonts.psafm.pseudo.ptr_free.ptr_new.ptr_valid.ptrarr.pushd.qgrid3.qhull.qromb.qromo.qsimp.query_*.query_ascii.query_bmp.query_csv.query_dicom.query_gif.query_image.query_jpeg.query_jpeg2000.query_mrsid.query_pict.query_png.query_ppm.query_srf.query_tiff.query_video.query_wav.r_correlate.r_test.radon.randomn.randomu.ranks.rdpix.read.readf.read_ascii.read_binary.read_bmp.read_csv.read_dicom.read_gif.read_image.read_interfile.read_jpeg.read_jpeg2000.read_mrsid.read_pict.read_png.read_ppm.read_spr.read_srf.read_sylk.read_tiff.read_video.read_wav.read_wave.read_x11_bitmap.read_xwd.reads.readu.real_part.rebin.recall_commands.recon3.reduce_colors.reform.region_grow.register_cursor.regress.replicate.replicate_inplace.resolve_all.resolve_routine.restore.retall.return.reverse.rk4.roberts.rot.rotate.round.routine_filepath.routine_info.rs_test.s_test.save.savgol.scale3.scale3d.scatterplot.scatterplot3d.scope_level.scope_traceback.scope_varfetch.scope_varname.search2d.search3d.sem_create.sem_delete.sem_lock.sem_release.set_plot.set_shading.setenv.sfit.shade_surf.shade_surf_irr.shade_volume.shift.shift_diff.shmdebug.shmmap.shmunmap.shmvar.show3.showfont.signum.simplex.sin.sindgen.sinh.size.skewness.skip_lun.slicer3.slide_image.smooth.sobel.socket.sort.spawn.sph_4pnt.sph_scat.spher_harm.spl_init.spl_interp.spline.spline_p.sprsab.sprsax.sprsin.sprstp.sqrt.standardize.stddev.stop.strarr.strcmp.strcompress.streamline.streamline.stregex.stretch.string.strjoin.strlen.strlowcase.strmatch.strmessage.strmid.strpos.strput.strsplit.strtrim.struct_assign.struct_hide.strupcase.surface.surface.surfr.svdc.svdfit.svsol.swap_endian.swap_endian_inplace.symbol.systime.t_cvf.t_pdf.t3d.tag_names.tan.tanh.tek_color.temporary.terminal_size.tetra_clip.tetra_surface.tetra_volume.text.thin.thread.threed.tic.time_test2.timegen.timer.timestamp.timestamptovalues.tm_test.toc.total.trace.transpose.tri_surf.triangulate.trigrid.triql.trired.trisol.truncate_lun.ts_coef.ts_diff.ts_fcast.ts_smooth.tv.tvcrs.tvlct.tvrd.tvscl.typename.uindgen.uint.uintarr.ul64indgen.ulindgen.ulon64arr.ulonarr.ulong.ulong64.uniq.unsharp_mask.usersym.value_locate.variance.vector.vector_field.vel.velovect.vert_t3d.voigt.volume.voronoi.voxel_proj.wait.warp_tri.watershed.wdelete.wf_draw.where.widget_base.widget_button.widget_combobox.widget_control.widget_displaycontextmenu.widget_draw.widget_droplist.widget_event.widget_info.widget_label.widget_list.widget_propertysheet.widget_slider.widget_tab.widget_table.widget_text.widget_tree.widget_tree_move.widget_window.wiener_filter.window.window.write_bmp.write_csv.write_gif.write_image.write_jpeg.write_jpeg2000.write_nrif.write_pict.write_png.write_ppm.write_spr.write_srf.write_sylk.write_tiff.write_video.write_wav.write_wave.writeu.wset.wshow.wtn.wv_applet.wv_cwt.wv_cw_wavelet.wv_denoise.wv_dwt.wv_fn_coiflet.wv_fn_daubechies.wv_fn_gaussian.wv_fn_haar.wv_fn_morlet.wv_fn_paul.wv_fn_symlet.wv_import_data.wv_import_wavelet.wv_plot3d_wps.wv_plot_multires.wv_pwt.wv_tool_denoise.xbm_edit.xdisplayfile.xdxf.xfont.xinteranimate.xloadct.xmanager.xmng_tmpl.xmtool.xobjview.xobjview_rotate.xobjview_write_image.xpalette.xpcolor.xplot3d.xregistered.xroi.xsq_test.xsurface.xvaredit.xvolume.xvolume_rotate.xvolume_write_image.xyouts.zlib_compress.zlib_uncompress.zoom.zoom_24".split("."), n = e(t), r = [
6
+ "begin",
7
+ "end",
8
+ "endcase",
9
+ "endfor",
10
+ "endwhile",
11
+ "endif",
12
+ "endrep",
13
+ "endforeach",
14
+ "break",
15
+ "case",
16
+ "continue",
17
+ "for",
18
+ "foreach",
19
+ "goto",
20
+ "if",
21
+ "then",
22
+ "else",
23
+ "repeat",
24
+ "until",
25
+ "switch",
26
+ "while",
27
+ "do",
28
+ "pro",
29
+ "function"
30
+ ], i = e(r), a = /* @__PURE__ */ RegExp("^[_a-z¡-￿][_a-z0-9¡-￿]*", "i"), o = /[+\-*&=<>\/@#~$]/, s = /* @__PURE__ */ RegExp("(and|or|eq|lt|le|gt|ge|ne|not)", "i");
31
+ function c(e) {
32
+ return e.eatSpace() ? null : e.match(";") ? (e.skipToEnd(), "comment") : e.match(/^[0-9\.+-]/, !1) && (e.match(/^[+-]?0x[0-9a-fA-F]+/) || e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/) || e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/)) ? "number" : e.match(/^"([^"]|(""))*"/) || e.match(/^'([^']|(''))*'/) ? "string" : e.match(i) ? "keyword" : e.match(n) ? "builtin" : e.match(a) ? "variable" : e.match(o) || e.match(s) ? "operator" : (e.next(), null);
33
+ }
34
+ var l = {
35
+ name: "idl",
36
+ token: function(e) {
37
+ return c(e);
38
+ },
39
+ languageData: { autocomplete: t.concat(r) }
40
+ };
41
+ export { l as idl };