@vc-shell/framework 1.1.2 → 1.1.4

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 (271) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/apl-B2DGVGxc.js +76 -0
  3. package/dist/asciiarmor-2LVJmxlE.js +34 -0
  4. package/dist/asn1-jKiBa2Ya.js +95 -0
  5. package/dist/asterisk-DS281yxp.js +271 -0
  6. package/dist/brainfuck-C_p9pTT8.js +34 -0
  7. package/dist/clike-BUuHEmgZ.js +620 -0
  8. package/dist/clojure-CCKyeQKf.js +800 -0
  9. package/dist/cmake-CuaCgAKt.js +28 -0
  10. package/dist/cobol-BlTKFDRj.js +72 -0
  11. package/dist/coffeescript-BVCvwO8I.js +179 -0
  12. package/dist/commonlisp-D_kxz07b.js +75 -0
  13. package/dist/crystal-D309uH6_.js +217 -0
  14. package/dist/css-bIlmDBTK.js +1560 -0
  15. package/dist/cypher-BMq4Fwjl.js +68 -0
  16. package/dist/d-BZcgY6La.js +127 -0
  17. package/dist/diff-Cg9d_RX2.js +18 -0
  18. package/dist/{assets/dockerfile-D0MivFIF.js → dockerfile-DIy8NleC.js} +36 -41
  19. package/dist/dtd-CtLokQ-U.js +84 -0
  20. package/dist/dylan-QYeExnWK.js +234 -0
  21. package/dist/ebnf-DUPDuY4r.js +78 -0
  22. package/dist/ecl-CiXN-g_D.js +121 -0
  23. package/dist/eiffel-yQhjl4T1.js +110 -0
  24. package/dist/elm-CNT9vbN0.js +108 -0
  25. package/dist/erlang-CFOYdy9e.js +487 -0
  26. package/dist/factor-DDOC7X6P.js +65 -0
  27. package/dist/fcl-CPC2WYrI.js +103 -0
  28. package/dist/forth-BmxRyE9S.js +60 -0
  29. package/dist/fortran-9bvPyrOW.js +442 -0
  30. package/dist/framework.js +288 -29
  31. package/dist/gas-BdfkXJT_.js +183 -0
  32. package/dist/gherkin-CJuwpceU.js +34 -0
  33. package/dist/groovy-DZeT_VM-.js +146 -0
  34. package/dist/haskell-Bvt3Qq1t.js +375 -0
  35. package/dist/haxe-70NVW1pR.js +359 -0
  36. package/dist/http-D9LttvKF.js +44 -0
  37. package/dist/idl-B6TRFYjl.js +947 -0
  38. package/dist/{assets/index-BKF-A58l.js → index-BBYKbiRX.js} +79 -92
  39. package/dist/index-BDm0tcWn.js +145680 -0
  40. package/dist/{assets/index-CeeaNa4F.js → index-BDqUaIyQ.js} +136 -167
  41. package/dist/index-BdflTsg6.js +308 -0
  42. package/dist/{assets/index-CtmpJVwa.js → index-BpBTtmQ6.js} +270 -312
  43. package/dist/index-Br0y2YMn.js +58 -0
  44. package/dist/index-CIcET-ZI.js +71 -0
  45. package/dist/index-CYAMpxnu.js +341 -0
  46. package/dist/index-Cf2H7YZ1.js +98 -0
  47. package/dist/{assets/index-Bv_z_qRq.js → index-Ck055pN8.js} +121 -124
  48. package/dist/index-D-fPN3yf.js +75 -0
  49. package/dist/{assets/index-BT8o9-M5.js → index-DJOis7Nc.js} +267 -386
  50. package/dist/index-DKtQMsy4.js +538 -0
  51. package/dist/{assets/index-DMTL7O1s.js → index-DWTsz5bC.js} +570 -586
  52. package/dist/{assets/index-C7zlEJy8.js → index-DuY7BIGm.js} +229 -302
  53. package/dist/{assets/index-B1srGfDb.js → index-o6aSdNED.js} +119 -165
  54. package/dist/index-wfv8ehcx.js +249 -0
  55. package/dist/index.css +9 -18
  56. package/dist/javascript-WMWNx-Vj.js +690 -0
  57. package/dist/jinja2-DnB6dQmV.js +154 -0
  58. package/dist/julia-DpvXAuO6.js +241 -0
  59. package/dist/livescript-CanGTf8u.js +272 -0
  60. package/dist/lua-XplVlWi_.js +217 -0
  61. package/dist/mathematica-jaRHnSxC.js +35 -0
  62. package/dist/mbox-BctzC1hL.js +76 -0
  63. package/dist/mirc-CFBPAOaF.js +72 -0
  64. package/dist/mllike-BSnXJBGA.js +272 -0
  65. package/dist/modelica-vUgVs--1.js +93 -0
  66. package/dist/mscgen-Cpl0NYLN.js +104 -0
  67. package/dist/mumps-CQoS1kWX.js +25 -0
  68. package/dist/nginx-zDPm3Z74.js +89 -0
  69. package/dist/nsis-fePjrhq7.js +62 -0
  70. package/dist/ntriples-CsNjv2QF.js +79 -0
  71. package/dist/octave-C8PmmSRH.js +143 -0
  72. package/dist/oz-Ce8aN8oE.js +151 -0
  73. package/dist/pascal-De0D6mP7.js +77 -0
  74. package/dist/perl-B4bSCe1C.js +915 -0
  75. package/dist/pig-D24Z8EXi.js +54 -0
  76. package/dist/powershell-DkYVfTzP.js +249 -0
  77. package/dist/properties-Dn9wna3M.js +26 -0
  78. package/dist/protobuf-BPIjwpzm.js +49 -0
  79. package/dist/pug-BqUR2bBq.js +248 -0
  80. package/dist/puppet-nyd4dhjf.js +45 -0
  81. package/dist/python-B5QdSKoL.js +313 -0
  82. package/dist/q-DXjKs-tC.js +83 -0
  83. package/dist/r-LKEuhEGI.js +104 -0
  84. package/dist/rpm-IznJm2Xc.js +57 -0
  85. package/dist/ruby-CcYfvIk6.js +228 -0
  86. package/dist/sas-7E8yHoCW.js +105 -0
  87. package/dist/scheme-DjibxsNh.js +124 -0
  88. package/dist/shell-C0C2sNA_.js +182 -0
  89. package/dist/sieve-Bwz7vjP5.js +72 -0
  90. package/dist/simple-mode-B0dvCdAA.js +89 -0
  91. package/dist/smalltalk-Bhddl2pB.js +48 -0
  92. package/dist/solr-BNlsLglM.js +41 -0
  93. package/dist/sparql-FarWu_Gb.js +197 -0
  94. package/dist/spreadsheet-C-cy4P5N.js +49 -0
  95. package/dist/sql-mMre1Bo3.js +282 -0
  96. package/dist/stex-92raWT1r.js +129 -0
  97. package/dist/stylus-CAdqWld3.js +250 -0
  98. package/dist/swift-DSxqR9R6.js +230 -0
  99. package/dist/tcl-xfoLljhY.js +81 -0
  100. package/dist/textile-D1AWE-pc.js +295 -0
  101. package/dist/tiddlywiki-5wqsXtSk.js +155 -0
  102. package/dist/tiki-__Kn3CeS.js +181 -0
  103. package/dist/toml-BHiuTcfn.js +49 -0
  104. package/dist/troff-D2UO-fKf.js +35 -0
  105. package/dist/tsconfig.tsbuildinfo +1 -1
  106. package/dist/ttcn-Bsa4sfRm.js +123 -0
  107. package/dist/ttcn-cfg-Bac_acMi.js +88 -0
  108. package/dist/turtle-xwJUxoPV.js +80 -0
  109. package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts.map +1 -1
  110. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue.d.ts.map +1 -1
  111. package/dist/vb-c2kQGd6-.js +74 -0
  112. package/dist/vbscript-Dz1TtKsy.js +324 -0
  113. package/dist/velocity-DJd0pTTC.js +96 -0
  114. package/dist/verilog-C4VGD9n1.js +263 -0
  115. package/dist/vhdl-T9HkrbI2.js +106 -0
  116. package/dist/webidl-CjfDENEo.js +155 -0
  117. package/dist/xquery-BUQdORAS.js +422 -0
  118. package/dist/yacas-C0absKBh.js +73 -0
  119. package/dist/z80-C8rPtw-0.js +61 -0
  120. package/package.json +4 -4
  121. package/ui/components/atoms/vc-widget/vc-widget.vue +2 -0
  122. package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue +65 -32
  123. package/dist/assets/apl-NdZ6-T1z.js +0 -142
  124. package/dist/assets/asciiarmor-CmJEbAuq.js +0 -56
  125. package/dist/assets/asn1-Ctc8K72v.js +0 -192
  126. package/dist/assets/asterisk-D6r__RMF.js +0 -187
  127. package/dist/assets/brainfuck-COwWCBpq.js +0 -70
  128. package/dist/assets/clike-C-PtfL50.js +0 -1019
  129. package/dist/assets/clojure-C2XPrGCa.js +0 -274
  130. package/dist/assets/cmake-BGrEgXCL.js +0 -81
  131. package/dist/assets/cobol-DShPmpZe.js +0 -234
  132. package/dist/assets/coffeescript-BG8vTfSz.js +0 -329
  133. package/dist/assets/commonlisp-8oE2EpEe.js +0 -108
  134. package/dist/assets/core-api-BMLS9FrT.js +0 -8288
  135. package/dist/assets/core-composables-DYxpIWyY.js +0 -1799
  136. package/dist/assets/core-constants-DiKDBbnD.js +0 -83
  137. package/dist/assets/core-directives-QhJx9kWh.js +0 -41
  138. package/dist/assets/core-interceptors-CSjUvxQ0.js +0 -78
  139. package/dist/assets/core-plugins-wv2bDZ0l.js +0 -4919
  140. package/dist/assets/core-services-CAfJRsjs.js +0 -4
  141. package/dist/assets/core-utilities-BTktq_a-.js +0 -33
  142. package/dist/assets/crystal--rIRMl16.js +0 -419
  143. package/dist/assets/css/core-directives-FL4vIIkN.css +0 -73
  144. package/dist/assets/css/fonts-M1mtyV8L.css +0 -305
  145. package/dist/assets/css/icons-css-DbCVsovz.css +0 -41
  146. package/dist/assets/css/shared-components-bnLHdCtf.css +0 -429
  147. package/dist/assets/css/shared-modules-CNOICmYQ.css +0 -45
  148. package/dist/assets/css/styles-C62nDZwV.css +0 -4096
  149. package/dist/assets/css/ui-app-Bh9hmlIB.css +0 -1287
  150. package/dist/assets/css/ui-content-B29jsmK7.css +0 -1187
  151. package/dist/assets/css/ui-controls-CRtfFczw.css +0 -387
  152. package/dist/assets/css/ui-data-CYLxfdUa.css +0 -1555
  153. package/dist/assets/css/ui-form-C3WrWfVl.css +0 -71
  154. package/dist/assets/css/ui-form-fields-DOtHhDeM.css +0 -1360
  155. package/dist/assets/css/ui-helpers-bOoNv5dS.css +0 -37
  156. package/dist/assets/css/ui-indicators-CybQnCoU.css +0 -628
  157. package/dist/assets/css/ui-layout-DyGKgizy.css +0 -251
  158. package/dist/assets/css/ui-media-TWYep8js.css +0 -298
  159. package/dist/assets/css/ui-media-advanced-BGxy3VSB.css +0 -183
  160. package/dist/assets/css/ui-navigation-DcPRn8SB.css +0 -1693
  161. package/dist/assets/css-C_ZeEwz2.js +0 -847
  162. package/dist/assets/cypher-Bayei42D.js +0 -122
  163. package/dist/assets/d-B0hhz6be.js +0 -205
  164. package/dist/assets/diff-DQutOIXs.js +0 -30
  165. package/dist/assets/dtd-C1CeYVnM.js +0 -121
  166. package/dist/assets/dylan-Dm9-uD-A.js +0 -337
  167. package/dist/assets/ebnf-jWG_1Yly.js +0 -151
  168. package/dist/assets/ecl-CgJPA6z9.js +0 -190
  169. package/dist/assets/eiffel-lj7uLahq.js +0 -146
  170. package/dist/assets/elm-Cz7o1ijk.js +0 -230
  171. package/dist/assets/erlang-CyL5QOyR.js +0 -581
  172. package/dist/assets/factor-BVWHwYpu.js +0 -65
  173. package/dist/assets/fcl-DiozYjc8.js +0 -154
  174. package/dist/assets/forth-B7vn5ze0.js +0 -164
  175. package/dist/assets/fortran-D2XNEnBT.js +0 -172
  176. package/dist/assets/gas-B_Tj57Ve.js +0 -343
  177. package/dist/assets/gherkin-CJ6Qk4EZ.js +0 -147
  178. package/dist/assets/groovy-ioGz2WSV.js +0 -228
  179. package/dist/assets/haskell-BHnm1B83.js +0 -239
  180. package/dist/assets/haxe-Bn6Yo6N3.js +0 -490
  181. package/dist/assets/http-BOd5SYCT.js +0 -89
  182. package/dist/assets/idl-FSFk8_xX.js +0 -274
  183. package/dist/assets/index--5fKpGeN.js +0 -792
  184. package/dist/assets/index-0lME64YH.js +0 -342
  185. package/dist/assets/index-B6Ip0FgO.js +0 -437
  186. package/dist/assets/index-BmV05E5M.js +0 -479
  187. package/dist/assets/index-C6MavZDA.js +0 -131
  188. package/dist/assets/index-CwKpgcYl.js +0 -85
  189. package/dist/assets/index-DRUmDL0J.js +0 -59
  190. package/dist/assets/index-DgFC-M9G.js +0 -96
  191. package/dist/assets/javascript-DGrAs70C.js +0 -922
  192. package/dist/assets/jinja2-D9k5QrXv.js +0 -171
  193. package/dist/assets/julia-DM42tOPB.js +0 -369
  194. package/dist/assets/livescript-Dci8HnOi.js +0 -259
  195. package/dist/assets/lua-CByQu4v6.js +0 -137
  196. package/dist/assets/lucide-icons-af0BY3bi.js +0 -34555
  197. package/dist/assets/mathematica-Dkv0uCYF.js +0 -153
  198. package/dist/assets/mbox-CYTvs5kC.js +0 -114
  199. package/dist/assets/mirc-DpgP3GCo.js +0 -176
  200. package/dist/assets/mllike-C6tNn2Yt.js +0 -343
  201. package/dist/assets/modelica-CR6hTSce.js +0 -192
  202. package/dist/assets/mscgen-D0GXtzMS.js +0 -149
  203. package/dist/assets/mumps-Bf1EyDa6.js +0 -129
  204. package/dist/assets/nginx-By9Phklj.js +0 -163
  205. package/dist/assets/nsis-B5ggMLQ9.js +0 -80
  206. package/dist/assets/ntriples-C7VJ7pnm.js +0 -141
  207. package/dist/assets/octave-6yR_ix15.js +0 -112
  208. package/dist/assets/oz-CEUnktiQ.js +0 -235
  209. package/dist/assets/pascal-Dksf1EyF.js +0 -124
  210. package/dist/assets/perl-B99DUQQt.js +0 -819
  211. package/dist/assets/pig-DFeDRta6.js +0 -149
  212. package/dist/assets/powershell-DhwsNWMx.js +0 -381
  213. package/dist/assets/properties-o21uErwC.js +0 -62
  214. package/dist/assets/protobuf-YxlANsmD.js +0 -54
  215. package/dist/assets/pug-bUgjeODZ.js +0 -504
  216. package/dist/assets/puppet-B8WICGYE.js +0 -205
  217. package/dist/assets/python-D3FFx1Id.js +0 -389
  218. package/dist/assets/q-D2Hjhl2C.js +0 -123
  219. package/dist/assets/r-D73k5lac.js +0 -174
  220. package/dist/assets/rpm-Duv_WH0z.js +0 -89
  221. package/dist/assets/ruby-DGCVqZDt.js +0 -287
  222. package/dist/assets/sas-XjPv1Vy5.js +0 -268
  223. package/dist/assets/scheme-DeaA28vt.js +0 -263
  224. package/dist/assets/shared-components-CfAt2hC6.js +0 -1501
  225. package/dist/assets/shared-composables-v9NkNuAe.js +0 -35
  226. package/dist/assets/shared-modules-CDP-H5ZB.js +0 -3588
  227. package/dist/assets/shared-pages-BGRRA5WB.js +0 -20
  228. package/dist/assets/shell-Bx6QZTgx.js +0 -145
  229. package/dist/assets/sieve-CWCD62sW.js +0 -178
  230. package/dist/assets/simple-mode-BAO9cD7H.js +0 -136
  231. package/dist/assets/smalltalk-DSQbF4MF.js +0 -153
  232. package/dist/assets/solr-v_XRf31C.js +0 -80
  233. package/dist/assets/sparql-BrfDqf0-.js +0 -170
  234. package/dist/assets/spreadsheet-Csn84Pef.js +0 -98
  235. package/dist/assets/sql-D4utlq1l.js +0 -480
  236. package/dist/assets/stex-DBkktma-.js +0 -246
  237. package/dist/assets/stylus-ByG-Fd6f.js +0 -750
  238. package/dist/assets/swift-CHbTprt3.js +0 -202
  239. package/dist/assets/tcl-BRlMUELr.js +0 -125
  240. package/dist/assets/textile-CqfTUjd4.js +0 -441
  241. package/dist/assets/tiddlywiki-BrsoM8KB.js +0 -278
  242. package/dist/assets/tiki-D-ivWPkc.js +0 -289
  243. package/dist/assets/toml-t_IhJu83.js +0 -75
  244. package/dist/assets/troff-DckGF2AE.js +0 -64
  245. package/dist/assets/ttcn-B8TAFbRR.js +0 -253
  246. package/dist/assets/ttcn-cfg-NHh25oCM.js +0 -197
  247. package/dist/assets/turtle-D9Js0BlL.js +0 -141
  248. package/dist/assets/ui-app-D31Pr1WY.js +0 -1993
  249. package/dist/assets/ui-content-B7SxH8y9.js +0 -52887
  250. package/dist/assets/ui-controls-nmDJYLmC.js +0 -348
  251. package/dist/assets/ui-data-Ci3b1ye0.js +0 -22901
  252. package/dist/assets/ui-form-Cs5ooOo7.js +0 -159
  253. package/dist/assets/ui-form-fields-DFQi31jT.js +0 -40575
  254. package/dist/assets/ui-helpers-CF-EUlOg.js +0 -1736
  255. package/dist/assets/ui-indicators-mIQeEqha.js +0 -199
  256. package/dist/assets/ui-layout-v2XBQky3.js +0 -320
  257. package/dist/assets/ui-media-WWYrwmZw.js +0 -1259
  258. package/dist/assets/ui-media-advanced-T8ibi153.js +0 -492
  259. package/dist/assets/ui-modals-BdZXzI85.js +0 -2
  260. package/dist/assets/ui-navigation-BtHa6ovW.js +0 -24269
  261. package/dist/assets/utils-DZK5fu48.js +0 -17216
  262. package/dist/assets/vb-CbIGLrpY.js +0 -249
  263. package/dist/assets/vbscript-8ANWle9n.js +0 -320
  264. package/dist/assets/velocity-D6hz3Hzw.js +0 -186
  265. package/dist/assets/verilog-DIV442at.js +0 -565
  266. package/dist/assets/vhdl-BlTiZo_v.js +0 -174
  267. package/dist/assets/vueuse-CTQm4Zh0.js +0 -9308
  268. package/dist/assets/webidl-Cp3tcqdk.js +0 -179
  269. package/dist/assets/xquery-Dd4TBzXv.js +0 -411
  270. package/dist/assets/yacas-DQ1WucF0.js +0 -182
  271. package/dist/assets/z80-P1j44jDI.js +0 -102
@@ -0,0 +1,93 @@
1
+ function r(n) {
2
+ for (var e = {}, i = n.split(" "), l = 0; l < i.length; ++l)
3
+ e[i[l]] = !0;
4
+ return e;
5
+ }
6
+ var t = r("algorithm and annotation assert block break class connect connector constant constrainedby der discrete each else elseif elsewhen encapsulated end enumeration equation expandable extends external false final flow for function if import impure in initial inner input loop model not operator or outer output package parameter partial protected public pure record redeclare replaceable return stream then true type when while within"), a = r("abs acos actualStream asin atan atan2 cardinality ceil cos cosh delay div edge exp floor getInstanceName homotopy inStream integer log log10 mod pre reinit rem semiLinear sign sin sinh spatialDistribution sqrt tan tanh"), u = r("Real Boolean Integer String"), f = [].concat(Object.keys(t), Object.keys(a), Object.keys(u)), k = /[;=\(:\),{}.*<>+\-\/^\[\]]/, s = /(:=|<=|>=|==|<>|\.\+|\.\-|\.\*|\.\/|\.\^)/, o = /[0-9]/, c = /[_a-zA-Z]/;
7
+ function p(n, e) {
8
+ return n.skipToEnd(), e.tokenize = null, "comment";
9
+ }
10
+ function d(n, e) {
11
+ for (var i = !1, l; l = n.next(); ) {
12
+ if (i && l == "/") {
13
+ e.tokenize = null;
14
+ break;
15
+ }
16
+ i = l == "*";
17
+ }
18
+ return "comment";
19
+ }
20
+ function h(n, e) {
21
+ for (var i = !1, l; (l = n.next()) != null; ) {
22
+ if (l == '"' && !i) {
23
+ e.tokenize = null, e.sol = !1;
24
+ break;
25
+ }
26
+ i = !i && l == "\\";
27
+ }
28
+ return "string";
29
+ }
30
+ function b(n, e) {
31
+ for (n.eatWhile(o); n.eat(o) || n.eat(c); )
32
+ ;
33
+ var i = n.current();
34
+ return e.sol && (i == "package" || i == "model" || i == "when" || i == "connector") ? e.level++ : e.sol && i == "end" && e.level > 0 && e.level--, e.tokenize = null, e.sol = !1, t.propertyIsEnumerable(i) ? "keyword" : a.propertyIsEnumerable(i) ? "builtin" : u.propertyIsEnumerable(i) ? "atom" : "variable";
35
+ }
36
+ function v(n, e) {
37
+ for (; n.eat(/[^']/); )
38
+ ;
39
+ return e.tokenize = null, e.sol = !1, n.eat("'") ? "variable" : "error";
40
+ }
41
+ function g(n, e) {
42
+ return n.eatWhile(o), n.eat(".") && n.eatWhile(o), (n.eat("e") || n.eat("E")) && (n.eat("-") || n.eat("+"), n.eatWhile(o)), e.tokenize = null, e.sol = !1, "number";
43
+ }
44
+ const z = {
45
+ name: "modelica",
46
+ startState: function() {
47
+ return {
48
+ tokenize: null,
49
+ level: 0,
50
+ sol: !0
51
+ };
52
+ },
53
+ token: function(n, e) {
54
+ if (e.tokenize != null)
55
+ return e.tokenize(n, e);
56
+ if (n.sol() && (e.sol = !0), n.eatSpace())
57
+ return e.tokenize = null, null;
58
+ var i = n.next();
59
+ if (i == "/" && n.eat("/"))
60
+ e.tokenize = p;
61
+ else if (i == "/" && n.eat("*"))
62
+ e.tokenize = d;
63
+ else {
64
+ if (s.test(i + n.peek()))
65
+ return n.next(), e.tokenize = null, "operator";
66
+ if (k.test(i))
67
+ return e.tokenize = null, "operator";
68
+ if (c.test(i))
69
+ e.tokenize = b;
70
+ else if (i == "'" && n.peek() && n.peek() != "'")
71
+ e.tokenize = v;
72
+ else if (i == '"')
73
+ e.tokenize = h;
74
+ else if (o.test(i))
75
+ e.tokenize = g;
76
+ else
77
+ return e.tokenize = null, "error";
78
+ }
79
+ return e.tokenize(n, e);
80
+ },
81
+ indent: function(n, e, i) {
82
+ if (n.tokenize != null) return null;
83
+ var l = n.level;
84
+ return /(algorithm)/.test(e) && l--, /(equation)/.test(e) && l--, /(initial algorithm)/.test(e) && l--, /(initial equation)/.test(e) && l--, /(end)/.test(e) && l--, l > 0 ? i.unit * l : 0;
85
+ },
86
+ languageData: {
87
+ commentTokens: { line: "//", block: { open: "/*", close: "*/" } },
88
+ autocomplete: f
89
+ }
90
+ };
91
+ export {
92
+ z as modelica
93
+ };
@@ -0,0 +1,104 @@
1
+ function c(t) {
2
+ return {
3
+ name: "mscgen",
4
+ startState: i,
5
+ copyState: s,
6
+ token: u(t),
7
+ languageData: {
8
+ commentTokens: { line: "#", block: { open: "/*", close: "*/" } }
9
+ }
10
+ };
11
+ }
12
+ const a = c({
13
+ keywords: ["msc"],
14
+ options: ["hscale", "width", "arcgradient", "wordwraparcs"],
15
+ constants: ["true", "false", "on", "off"],
16
+ attributes: ["label", "idurl", "id", "url", "linecolor", "linecolour", "textcolor", "textcolour", "textbgcolor", "textbgcolour", "arclinecolor", "arclinecolour", "arctextcolor", "arctextcolour", "arctextbgcolor", "arctextbgcolour", "arcskip"],
17
+ brackets: ["\\{", "\\}"],
18
+ // [ and ] are brackets too, but these get handled in with lists
19
+ arcsWords: ["note", "abox", "rbox", "box"],
20
+ arcsOthers: ["\\|\\|\\|", "\\.\\.\\.", "---", "--", "<->", "==", "<<=>>", "<=>", "\\.\\.", "<<>>", "::", "<:>", "->", "=>>", "=>", ">>", ":>", "<-", "<<=", "<=", "<<", "<:", "x-", "-x"],
21
+ singlecomment: ["//", "#"],
22
+ operators: ["="]
23
+ }), l = c({
24
+ keywords: null,
25
+ options: ["hscale", "width", "arcgradient", "wordwraparcs", "wordwrapentities", "watermark"],
26
+ constants: ["true", "false", "on", "off", "auto"],
27
+ attributes: null,
28
+ brackets: ["\\{", "\\}"],
29
+ arcsWords: ["note", "abox", "rbox", "box", "alt", "else", "opt", "break", "par", "seq", "strict", "neg", "critical", "ignore", "consider", "assert", "loop", "ref", "exc"],
30
+ arcsOthers: ["\\|\\|\\|", "\\.\\.\\.", "---", "--", "<->", "==", "<<=>>", "<=>", "\\.\\.", "<<>>", "::", "<:>", "->", "=>>", "=>", ">>", ":>", "<-", "<<=", "<=", "<<", "<:", "x-", "-x"],
31
+ singlecomment: ["//", "#"],
32
+ operators: ["="]
33
+ }), b = c({
34
+ keywords: ["msc", "xu"],
35
+ options: ["hscale", "width", "arcgradient", "wordwraparcs", "wordwrapentities", "watermark"],
36
+ constants: ["true", "false", "on", "off", "auto"],
37
+ attributes: ["label", "idurl", "id", "url", "linecolor", "linecolour", "textcolor", "textcolour", "textbgcolor", "textbgcolour", "arclinecolor", "arclinecolour", "arctextcolor", "arctextcolour", "arctextbgcolor", "arctextbgcolour", "arcskip", "title", "deactivate", "activate", "activation"],
38
+ brackets: ["\\{", "\\}"],
39
+ // [ and ] are brackets too, but these get handled in with lists
40
+ arcsWords: ["note", "abox", "rbox", "box", "alt", "else", "opt", "break", "par", "seq", "strict", "neg", "critical", "ignore", "consider", "assert", "loop", "ref", "exc"],
41
+ arcsOthers: ["\\|\\|\\|", "\\.\\.\\.", "---", "--", "<->", "==", "<<=>>", "<=>", "\\.\\.", "<<>>", "::", "<:>", "->", "=>>", "=>", ">>", ":>", "<-", "<<=", "<=", "<<", "<:", "x-", "-x"],
42
+ singlecomment: ["//", "#"],
43
+ operators: ["="]
44
+ });
45
+ function n(t) {
46
+ return new RegExp("^\\b(" + t.join("|") + ")\\b", "i");
47
+ }
48
+ function o(t) {
49
+ return new RegExp("^(?:" + t.join("|") + ")", "i");
50
+ }
51
+ function i() {
52
+ return {
53
+ inComment: !1,
54
+ inString: !1,
55
+ inAttributeList: !1,
56
+ inScript: !1
57
+ };
58
+ }
59
+ function s(t) {
60
+ return {
61
+ inComment: t.inComment,
62
+ inString: t.inString,
63
+ inAttributeList: t.inAttributeList,
64
+ inScript: t.inScript
65
+ };
66
+ }
67
+ function u(t) {
68
+ return function(r, e) {
69
+ if (r.match(o(t.brackets), !0, !0))
70
+ return "bracket";
71
+ if (!e.inComment) {
72
+ if (r.match(/\/\*[^\*\/]*/, !0, !0))
73
+ return e.inComment = !0, "comment";
74
+ if (r.match(o(t.singlecomment), !0, !0))
75
+ return r.skipToEnd(), "comment";
76
+ }
77
+ if (e.inComment)
78
+ return r.match(/[^\*\/]*\*\//, !0, !0) ? e.inComment = !1 : r.skipToEnd(), "comment";
79
+ if (!e.inString && r.match(/\"(\\\"|[^\"])*/, !0, !0))
80
+ return e.inString = !0, "string";
81
+ if (e.inString)
82
+ return r.match(/[^\"]*\"/, !0, !0) ? e.inString = !1 : r.skipToEnd(), "string";
83
+ if (t.keywords && r.match(n(t.keywords), !0, !0) || r.match(n(t.options), !0, !0) || r.match(n(t.arcsWords), !0, !0) || r.match(o(t.arcsOthers), !0, !0))
84
+ return "keyword";
85
+ if (t.operators && r.match(o(t.operators), !0, !0))
86
+ return "operator";
87
+ if (t.constants && r.match(o(t.constants), !0, !0))
88
+ return "variable";
89
+ if (!t.inAttributeList && t.attributes && r.match("[", !0, !0))
90
+ return t.inAttributeList = !0, "bracket";
91
+ if (t.inAttributeList) {
92
+ if (t.attributes !== null && r.match(n(t.attributes), !0, !0))
93
+ return "attribute";
94
+ if (r.match("]", !0, !0))
95
+ return t.inAttributeList = !1, "bracket";
96
+ }
97
+ return r.next(), null;
98
+ };
99
+ }
100
+ export {
101
+ a as mscgen,
102
+ l as msgenny,
103
+ b as xu
104
+ };
@@ -0,0 +1,25 @@
1
+ function o(e) {
2
+ return new RegExp("^((" + e.join(")|(") + "))\\b", "i");
3
+ }
4
+ var i = new RegExp("^[\\+\\-\\*/&#!_?\\\\<>=\\'\\[\\]]"), $ = new RegExp("^(('=)|(<=)|(>=)|('>)|('<)|([[)|(]])|(^$))"), t = new RegExp("^[\\.,:]"), c = new RegExp("[()]"), l = new RegExp("^[%A-Za-z][A-Za-z0-9]*"), a = ["break", "close", "do", "else", "for", "goto", "halt", "hang", "if", "job", "kill", "lock", "merge", "new", "open", "quit", "read", "set", "tcommit", "trollback", "tstart", "use", "view", "write", "xecute", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "q", "r", "s", "tc", "tro", "ts", "u", "v", "w", "x"], d = ["\\$ascii", "\\$char", "\\$data", "\\$ecode", "\\$estack", "\\$etrap", "\\$extract", "\\$find", "\\$fnumber", "\\$get", "\\$horolog", "\\$io", "\\$increment", "\\$job", "\\$justify", "\\$length", "\\$name", "\\$next", "\\$order", "\\$piece", "\\$qlength", "\\$qsubscript", "\\$query", "\\$quit", "\\$random", "\\$reverse", "\\$select", "\\$stack", "\\$test", "\\$text", "\\$translate", "\\$view", "\\$x", "\\$y", "\\$a", "\\$c", "\\$d", "\\$e", "\\$ec", "\\$es", "\\$et", "\\$f", "\\$fn", "\\$g", "\\$h", "\\$i", "\\$j", "\\$l", "\\$n", "\\$na", "\\$o", "\\$p", "\\$q", "\\$ql", "\\$qs", "\\$r", "\\$re", "\\$s", "\\$st", "\\$t", "\\$tr", "\\$v", "\\$z"], u = o(d), f = o(a);
5
+ function m(e, n) {
6
+ e.sol() && (n.label = !0, n.commandMode = 0);
7
+ var r = e.peek();
8
+ return r == " " || r == " " ? (n.label = !1, n.commandMode == 0 ? n.commandMode = 1 : (n.commandMode < 0 || n.commandMode == 2) && (n.commandMode = 0)) : r != "." && n.commandMode > 0 && (r == ":" ? n.commandMode = -1 : n.commandMode = 2), (r === "(" || r === " ") && (n.label = !1), r === ";" ? (e.skipToEnd(), "comment") : e.match(/^[-+]?\d+(\.\d+)?([eE][-+]?\d+)?/) ? "number" : r == '"' ? e.skipTo('"') ? (e.next(), "string") : (e.skipToEnd(), "error") : e.match($) || e.match(i) ? "operator" : e.match(t) ? null : c.test(r) ? (e.next(), "bracket") : n.commandMode > 0 && e.match(f) ? "controlKeyword" : e.match(u) ? "builtin" : e.match(l) ? "variable" : r === "$" || r === "^" ? (e.next(), "builtin") : r === "@" ? (e.next(), "string.special") : /[\w%]/.test(r) ? (e.eatWhile(/[\w%]/), "variable") : (e.next(), "error");
9
+ }
10
+ const s = {
11
+ name: "mumps",
12
+ startState: function() {
13
+ return {
14
+ label: !1,
15
+ commandMode: 0
16
+ };
17
+ },
18
+ token: function(e, n) {
19
+ var r = m(e, n);
20
+ return n.label ? "tag" : r;
21
+ }
22
+ };
23
+ export {
24
+ s as mumps
25
+ };
@@ -0,0 +1,89 @@
1
+ function n(_) {
2
+ for (var t = {}, i = _.split(" "), e = 0; e < i.length; ++e) t[i[e]] = !0;
3
+ return t;
4
+ }
5
+ var p = n(
6
+ /* ngxDirectiveControl */
7
+ "break return rewrite set accept_mutex accept_mutex_delay access_log add_after_body add_before_body add_header addition_types aio alias allow ancient_browser ancient_browser_value auth_basic auth_basic_user_file auth_http auth_http_header auth_http_timeout autoindex autoindex_exact_size autoindex_localtime charset charset_types client_body_buffer_size client_body_in_file_only client_body_in_single_buffer client_body_temp_path client_body_timeout client_header_buffer_size client_header_timeout client_max_body_size connection_pool_size create_full_put_path daemon dav_access dav_methods debug_connection debug_points default_type degradation degrade deny devpoll_changes devpoll_events directio directio_alignment empty_gif env epoll_events error_log eventport_events expires fastcgi_bind fastcgi_buffer_size fastcgi_buffers fastcgi_busy_buffers_size fastcgi_cache fastcgi_cache_key fastcgi_cache_methods fastcgi_cache_min_uses fastcgi_cache_path fastcgi_cache_use_stale fastcgi_cache_valid fastcgi_catch_stderr fastcgi_connect_timeout fastcgi_hide_header fastcgi_ignore_client_abort fastcgi_ignore_headers fastcgi_index fastcgi_intercept_errors fastcgi_max_temp_file_size fastcgi_next_upstream fastcgi_param fastcgi_pass_header fastcgi_pass_request_body fastcgi_pass_request_headers fastcgi_read_timeout fastcgi_send_lowat fastcgi_send_timeout fastcgi_split_path_info fastcgi_store fastcgi_store_access fastcgi_temp_file_write_size fastcgi_temp_path fastcgi_upstream_fail_timeout fastcgi_upstream_max_fails flv geoip_city geoip_country google_perftools_profiles gzip gzip_buffers gzip_comp_level gzip_disable gzip_hash gzip_http_version gzip_min_length gzip_no_buffer gzip_proxied gzip_static gzip_types gzip_vary gzip_window if_modified_since ignore_invalid_headers image_filter image_filter_buffer image_filter_jpeg_quality image_filter_transparency imap_auth imap_capabilities imap_client_buffer index ip_hash keepalive_requests keepalive_timeout kqueue_changes kqueue_events large_client_header_buffers limit_conn limit_conn_log_level limit_rate limit_rate_after limit_req limit_req_log_level limit_req_zone limit_zone lingering_time lingering_timeout lock_file log_format log_not_found log_subrequest map_hash_bucket_size map_hash_max_size master_process memcached_bind memcached_buffer_size memcached_connect_timeout memcached_next_upstream memcached_read_timeout memcached_send_timeout memcached_upstream_fail_timeout memcached_upstream_max_fails merge_slashes min_delete_depth modern_browser modern_browser_value msie_padding msie_refresh multi_accept open_file_cache open_file_cache_errors open_file_cache_events open_file_cache_min_uses open_file_cache_valid open_log_file_cache output_buffers override_charset perl perl_modules perl_require perl_set pid pop3_auth pop3_capabilities port_in_redirect postpone_gzipping postpone_output protocol proxy proxy_bind proxy_buffer proxy_buffer_size proxy_buffering proxy_buffers proxy_busy_buffers_size proxy_cache proxy_cache_key proxy_cache_methods proxy_cache_min_uses proxy_cache_path proxy_cache_use_stale proxy_cache_valid proxy_connect_timeout proxy_headers_hash_bucket_size proxy_headers_hash_max_size proxy_hide_header proxy_ignore_client_abort proxy_ignore_headers proxy_intercept_errors proxy_max_temp_file_size proxy_method proxy_next_upstream proxy_pass_error_message proxy_pass_header proxy_pass_request_body proxy_pass_request_headers proxy_read_timeout proxy_redirect proxy_send_lowat proxy_send_timeout proxy_set_body proxy_set_header proxy_ssl_session_reuse proxy_store proxy_store_access proxy_temp_file_write_size proxy_temp_path proxy_timeout proxy_upstream_fail_timeout proxy_upstream_max_fails random_index read_ahead real_ip_header recursive_error_pages request_pool_size reset_timedout_connection resolver resolver_timeout rewrite_log rtsig_overflow_events rtsig_overflow_test rtsig_overflow_threshold rtsig_signo satisfy secure_link_secret send_lowat send_timeout sendfile sendfile_max_chunk server_name_in_redirect server_names_hash_bucket_size server_names_hash_max_size server_tokens set_real_ip_from smtp_auth smtp_capabilities smtp_client_buffer smtp_greeting_delay so_keepalive source_charset ssi ssi_ignore_recycled_buffers ssi_min_file_chunk ssi_silent_errors ssi_types ssi_value_length ssl ssl_certificate ssl_certificate_key ssl_ciphers ssl_client_certificate ssl_crl ssl_dhparam ssl_engine ssl_prefer_server_ciphers ssl_protocols ssl_session_cache ssl_session_timeout ssl_verify_client ssl_verify_depth starttls stub_status sub_filter sub_filter_once sub_filter_types tcp_nodelay tcp_nopush thread_stack_size timeout timer_resolution types_hash_bucket_size types_hash_max_size underscores_in_headers uninitialized_variable_warn use user userid userid_domain userid_expires userid_mark userid_name userid_p3p userid_path userid_service valid_referers variables_hash_bucket_size variables_hash_max_size worker_connections worker_cpu_affinity worker_priority worker_processes worker_rlimit_core worker_rlimit_nofile worker_rlimit_sigpending worker_threads working_directory xclient xml_entities xslt_stylesheet xslt_typesdrew@li229-23"
8
+ ), u = n(
9
+ /* ngxDirectiveBlock */
10
+ "http mail events server types location upstream charset_map limit_except if geo map"
11
+ ), f = n(
12
+ /* ngxDirectiveImportant */
13
+ "include root server server_name listen internal proxy_pass memcached_pass fastcgi_pass try_files"
14
+ ), s;
15
+ function r(_, t) {
16
+ return s = t, _;
17
+ }
18
+ function a(_, t) {
19
+ _.eatWhile(/[\w\$_]/);
20
+ var i = _.current();
21
+ if (p.propertyIsEnumerable(i))
22
+ return "keyword";
23
+ if (u.propertyIsEnumerable(i))
24
+ return "controlKeyword";
25
+ if (f.propertyIsEnumerable(i))
26
+ return "controlKeyword";
27
+ var e = _.next();
28
+ if (e == "@")
29
+ return _.eatWhile(/[\w\\\-]/), r("meta", _.current());
30
+ if (e == "/" && _.eat("*"))
31
+ return t.tokenize = c, c(_, t);
32
+ if (e == "<" && _.eat("!"))
33
+ return t.tokenize = l, l(_, t);
34
+ if (e == "=") r(null, "compare");
35
+ else return (e == "~" || e == "|") && _.eat("=") ? r(null, "compare") : e == '"' || e == "'" ? (t.tokenize = d(e), t.tokenize(_, t)) : e == "#" ? (_.skipToEnd(), r("comment", "comment")) : e == "!" ? (_.match(/^\s*\w*/), r("keyword", "important")) : /\d/.test(e) ? (_.eatWhile(/[\w.%]/), r("number", "unit")) : /[,.+>*\/]/.test(e) ? r(null, "select-op") : /[;{}:\[\]]/.test(e) ? r(null, e) : (_.eatWhile(/[\w\\\-]/), r("variable", "variable"));
36
+ }
37
+ function c(_, t) {
38
+ for (var i = !1, e; (e = _.next()) != null; ) {
39
+ if (i && e == "/") {
40
+ t.tokenize = a;
41
+ break;
42
+ }
43
+ i = e == "*";
44
+ }
45
+ return r("comment", "comment");
46
+ }
47
+ function l(_, t) {
48
+ for (var i = 0, e; (e = _.next()) != null; ) {
49
+ if (i >= 2 && e == ">") {
50
+ t.tokenize = a;
51
+ break;
52
+ }
53
+ i = e == "-" ? i + 1 : 0;
54
+ }
55
+ return r("comment", "comment");
56
+ }
57
+ function d(_) {
58
+ return function(t, i) {
59
+ for (var e = !1, o; (o = t.next()) != null && !(o == _ && !e); )
60
+ e = !e && o == "\\";
61
+ return e || (i.tokenize = a), r("string", "string");
62
+ };
63
+ }
64
+ const m = {
65
+ name: "nginx",
66
+ startState: function() {
67
+ return {
68
+ tokenize: a,
69
+ baseIndent: 0,
70
+ stack: []
71
+ };
72
+ },
73
+ token: function(_, t) {
74
+ if (_.eatSpace()) return null;
75
+ s = null;
76
+ var i = t.tokenize(_, t), e = t.stack[t.stack.length - 1];
77
+ return s == "hash" && e == "rule" ? i = "atom" : i == "variable" && (e == "rule" ? i = "number" : (!e || e == "@media{") && (i = "tag")), e == "rule" && /^[\{\};]$/.test(s) && t.stack.pop(), s == "{" ? e == "@media" ? t.stack[t.stack.length - 1] = "@media{" : t.stack.push("{") : s == "}" ? t.stack.pop() : s == "@media" ? t.stack.push("@media") : e == "{" && s != "comment" && t.stack.push("rule"), i;
78
+ },
79
+ indent: function(_, t, i) {
80
+ var e = _.stack.length;
81
+ return /^\}/.test(t) && (e -= _.stack[_.stack.length - 1] == "rule" ? 2 : 1), _.baseIndent + e * i.unit;
82
+ },
83
+ languageData: {
84
+ indentOnInput: /^\s*\}$/
85
+ }
86
+ };
87
+ export {
88
+ m as nginx
89
+ };
@@ -0,0 +1,62 @@
1
+ import { s as e } from "./simple-mode-B0dvCdAA.js";
2
+ const n = e({
3
+ start: [
4
+ // Numbers
5
+ { regex: /(?:[+-]?)(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\d+.?\d*)/, token: "number" },
6
+ // Strings
7
+ { regex: /"(?:[^\\"]|\\.)*"?/, token: "string" },
8
+ { regex: /'(?:[^\\']|\\.)*'?/, token: "string" },
9
+ { regex: /`(?:[^\\`]|\\.)*`?/, token: "string" },
10
+ // Compile Time Commands
11
+ { regex: /^\s*(?:\!(addincludedir|addplugindir|appendfile|assert|cd|define|delfile|echo|error|execute|finalize|getdllversion|gettlbversion|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|uninstfinalize|verbose|warning))\b/i, token: "keyword" },
12
+ // Conditional Compilation
13
+ { regex: /^\s*(?:\!(if(?:n?def)?|ifmacron?def|macro))\b/i, token: "keyword", indent: !0 },
14
+ { regex: /^\s*(?:\!(else|endif|macroend))\b/i, token: "keyword", dedent: !0 },
15
+ // Runtime Commands
16
+ { regex: /^\s*(?:Abort|AddBrandingImage|AddSize|AllowRootDirInstall|AllowSkipFiles|AutoCloseWindow|BGFont|BGGradient|BrandingText|BringToFront|Call|CallInstDLL|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|CRCCheck|CreateDirectory|CreateFont|CreateShortCut|Delete|DeleteINISec|DeleteINIStr|DeleteRegKey|DeleteRegValue|DetailPrint|DetailsButtonText|DirText|DirVar|DirVerify|EnableWindow|EnumRegKey|EnumRegValue|Exch|Exec|ExecShell|ExecShellWait|ExecWait|ExpandEnvStrings|File|FileBufSize|FileClose|FileErrorText|FileOpen|FileRead|FileReadByte|FileReadUTF16LE|FileReadWord|FileWriteUTF16LE|FileSeek|FileWrite|FileWriteByte|FileWriteWord|FindClose|FindFirst|FindNext|FindWindow|FlushINI|GetCurInstType|GetCurrentAddress|GetDlgItem|GetDLLVersion|GetDLLVersionLocal|GetErrorLevel|GetFileTime|GetFileTimeLocal|GetFullPathName|GetFunctionAddress|GetInstDirError|GetKnownFolderPath|GetLabelAddress|GetTempFileName|GetWinVer|Goto|HideWindow|Icon|IfAbort|IfErrors|IfFileExists|IfRebootFlag|IfRtlLanguage|IfShellVarContextAll|IfSilent|InitPluginsDir|InstallButtonText|InstallColors|InstallDir|InstallDirRegKey|InstProgressFlags|InstType|InstTypeGetText|InstTypeSetText|Int64Cmp|Int64CmpU|Int64Fmt|IntCmp|IntCmpU|IntFmt|IntOp|IntPtrCmp|IntPtrCmpU|IntPtrOp|IsWindow|LangString|LicenseBkColor|LicenseData|LicenseForceSelection|LicenseLangString|LicenseText|LoadAndSetImage|LoadLanguageFile|LockWindow|LogSet|LogText|ManifestDPIAware|ManifestLongPathAware|ManifestMaxVersionTested|ManifestSupportedOS|MessageBox|MiscButtonText|Name|Nop|OutFile|Page|PageCallbacks|PEAddResource|PEDllCharacteristics|PERemoveResource|PESubsysVer|Pop|Push|Quit|ReadEnvStr|ReadINIStr|ReadRegDWORD|ReadRegStr|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|RMDir|SearchPath|SectionGetFlags|SectionGetInstTypes|SectionGetSize|SectionGetText|SectionIn|SectionSetFlags|SectionSetInstTypes|SectionSetSize|SectionSetText|SendMessage|SetAutoClose|SetBrandingImage|SetCompress|SetCompressor|SetCompressorDictSize|SetCtlColors|SetCurInstType|SetDatablockOptimize|SetDateSave|SetDetailsPrint|SetDetailsView|SetErrorLevel|SetErrors|SetFileAttributes|SetFont|SetOutPath|SetOverwrite|SetRebootFlag|SetRegView|SetShellVarContext|SetSilent|ShowInstDetails|ShowUninstDetails|ShowWindow|SilentInstall|SilentUnInstall|Sleep|SpaceTexts|StrCmp|StrCmpS|StrCpy|StrLen|SubCaption|Target|Unicode|UninstallButtonText|UninstallCaption|UninstallIcon|UninstallSubCaption|UninstallText|UninstPage|UnRegDLL|Var|VIAddVersionKey|VIFileVersion|VIProductVersion|WindowIcon|WriteINIStr|WriteRegBin|WriteRegDWORD|WriteRegExpandStr|WriteRegMultiStr|WriteRegNone|WriteRegStr|WriteUninstaller|XPStyle)\b/i, token: "keyword" },
17
+ { regex: /^\s*(?:Function|PageEx|Section(?:Group)?)\b/i, token: "keyword", indent: !0 },
18
+ { regex: /^\s*(?:(Function|PageEx|Section(?:Group)?)End)\b/i, token: "keyword", dedent: !0 },
19
+ // Command Options
20
+ { regex: /\b(?:ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_HIDDEN|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HIDDEN|HKCC|HKCR(32|64)?|HKCU(32|64)?|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM(32|64)?|HKPD|HKU|IDABORT|IDCANCEL|IDD_DIR|IDD_INST|IDD_INSTFILES|IDD_LICENSE|IDD_SELCOM|IDD_UNINST|IDD_VERIFY|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|MB_YESNOCANCEL|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SW_HIDE|SW_SHOWDEFAULT|SW_SHOWMAXIMIZED|SW_SHOWMINIMIZED|SW_SHOWNORMAL|SYSTEM|TEMPORARY)\b/i, token: "atom" },
21
+ { regex: /\b(?:admin|all|amd64-unicode|auto|both|bottom|bzip2|components|current|custom|directory|false|force|hide|highest|ifdiff|ifnewer|instfiles|lastused|leave|left|license|listonly|lzma|nevershow|none|normal|notset|off|on|right|show|silent|silentlog|textonly|top|true|try|un\.components|un\.custom|un\.directory|un\.instfiles|un\.license|uninstConfirm|user|Win10|Win7|Win8|WinVista|x-86-(ansi|unicode)|zlib)\b/i, token: "builtin" },
22
+ // LogicLib.nsh
23
+ { regex: /\$\{(?:And(?:If(?:Not)?|Unless)|Break|Case(?:2|3|4|5|Else)?|Continue|Default|Do(?:Until|While)?|Else(?:If(?:Not)?|Unless)?|End(?:If|Select|Switch)|Exit(?:Do|For|While)|For(?:Each)?|If(?:Cmd|Not(?:Then)?|Then)?|Loop(?:Until|While)?|Or(?:If(?:Not)?|Unless)|Select|Switch|Unless|While)\}/i, token: "variable-2", indent: !0 },
24
+ // FileFunc.nsh
25
+ { regex: /\$\{(?:BannerTrimPath|DirState|DriveSpace|Get(BaseName|Drives|ExeName|ExePath|FileAttributes|FileExt|FileName|FileVersion|Options|OptionsS|Parameters|Parent|Root|Size|Time)|Locate|RefreshShellIcons)\}/i, token: "variable-2", dedent: !0 },
26
+ // Memento.nsh
27
+ { regex: /\$\{(?:Memento(?:Section(?:Done|End|Restore|Save)?|UnselectedSection))\}/i, token: "variable-2", dedent: !0 },
28
+ // TextFunc.nsh
29
+ { regex: /\$\{(?:Config(?:Read|ReadS|Write|WriteS)|File(?:Join|ReadFromEnd|Recode)|Line(?:Find|Read|Sum)|Text(?:Compare|CompareS)|TrimNewLines)\}/i, token: "variable-2", dedent: !0 },
30
+ // WinVer.nsh
31
+ { regex: /\$\{(?:(?:At(?:Least|Most)|Is)(?:ServicePack|Win(?:7|8|10|95|98|200(?:0|3|8(?:R2)?)|ME|NT4|Vista|XP))|Is(?:NT|Server))\}/i, token: "variable", dedent: !0 },
32
+ // WordFunc.nsh
33
+ { regex: /\$\{(?:StrFilterS?|Version(?:Compare|Convert)|Word(?:AddS?|Find(?:(?:2|3)X)?S?|InsertS?|ReplaceS?))\}/i, token: "keyword", dedent: !0 },
34
+ // x64.nsh
35
+ { regex: /\$\{(?:RunningX64)\}/i, token: "variable", dedent: !0 },
36
+ { regex: /\$\{(?:Disable|Enable)X64FSRedirection\}/i, token: "keyword", dedent: !0 },
37
+ // Line Comment
38
+ { regex: /(#|;).*/, token: "comment" },
39
+ // Block Comment
40
+ { regex: /\/\*/, token: "comment", next: "comment" },
41
+ // Operator
42
+ { regex: /[-+\/*=<>!]+/, token: "operator" },
43
+ // Variable
44
+ { regex: /\$\w[\w\.]*/, token: "variable" },
45
+ // Constant
46
+ { regex: /\${[\!\w\.:-]+}/, token: "variableName.constant" },
47
+ // Language String
48
+ { regex: /\$\([\!\w\.:-]+\)/, token: "atom" }
49
+ ],
50
+ comment: [
51
+ { regex: /.*?\*\//, token: "comment", next: "start" },
52
+ { regex: /.*/, token: "comment" }
53
+ ],
54
+ languageData: {
55
+ name: "nsis",
56
+ indentOnInput: /^\s*((Function|PageEx|Section|Section(Group)?)End|(\!(endif|macroend))|\$\{(End(If|Unless|While)|Loop(Until)|Next)\})$/i,
57
+ commentTokens: { line: "#", block: { open: "/*", close: "*/" } }
58
+ }
59
+ });
60
+ export {
61
+ n as nsis
62
+ };
@@ -0,0 +1,79 @@
1
+ var _ = {
2
+ PRE_SUBJECT: 0,
3
+ WRITING_SUB_URI: 1,
4
+ WRITING_BNODE_URI: 2,
5
+ PRE_PRED: 3,
6
+ WRITING_PRED_URI: 4,
7
+ PRE_OBJ: 5,
8
+ WRITING_OBJ_URI: 6,
9
+ WRITING_OBJ_BNODE: 7,
10
+ WRITING_OBJ_LITERAL: 8,
11
+ WRITING_LIT_LANG: 9,
12
+ WRITING_LIT_TYPE: 10,
13
+ POST_OBJ: 11,
14
+ ERROR: 12
15
+ };
16
+ function T(e, I) {
17
+ var R = e.location, i;
18
+ R == _.PRE_SUBJECT && I == "<" ? i = _.WRITING_SUB_URI : R == _.PRE_SUBJECT && I == "_" ? i = _.WRITING_BNODE_URI : R == _.PRE_PRED && I == "<" ? i = _.WRITING_PRED_URI : R == _.PRE_OBJ && I == "<" ? i = _.WRITING_OBJ_URI : R == _.PRE_OBJ && I == "_" ? i = _.WRITING_OBJ_BNODE : R == _.PRE_OBJ && I == '"' ? i = _.WRITING_OBJ_LITERAL : R == _.WRITING_SUB_URI && I == ">" || R == _.WRITING_BNODE_URI && I == " " ? i = _.PRE_PRED : R == _.WRITING_PRED_URI && I == ">" ? i = _.PRE_OBJ : R == _.WRITING_OBJ_URI && I == ">" || R == _.WRITING_OBJ_BNODE && I == " " || R == _.WRITING_OBJ_LITERAL && I == '"' || R == _.WRITING_LIT_LANG && I == " " || R == _.WRITING_LIT_TYPE && I == ">" ? i = _.POST_OBJ : R == _.WRITING_OBJ_LITERAL && I == "@" ? i = _.WRITING_LIT_LANG : R == _.WRITING_OBJ_LITERAL && I == "^" ? i = _.WRITING_LIT_TYPE : I == " " && (R == _.PRE_SUBJECT || R == _.PRE_PRED || R == _.PRE_OBJ || R == _.POST_OBJ) ? i = R : R == _.POST_OBJ && I == "." ? i = _.PRE_SUBJECT : i = _.ERROR, e.location = i;
19
+ }
20
+ const u = {
21
+ name: "ntriples",
22
+ startState: function() {
23
+ return {
24
+ location: _.PRE_SUBJECT,
25
+ uris: [],
26
+ anchors: [],
27
+ bnodes: [],
28
+ langs: [],
29
+ types: []
30
+ };
31
+ },
32
+ token: function(e, I) {
33
+ var R = e.next();
34
+ if (R == "<") {
35
+ T(I, R);
36
+ var i = "";
37
+ return e.eatWhile(function(n) {
38
+ return n != "#" && n != ">" ? (i += n, !0) : !1;
39
+ }), I.uris.push(i), e.match("#", !1) || (e.next(), T(I, ">")), "variable";
40
+ }
41
+ if (R == "#") {
42
+ var r = "";
43
+ return e.eatWhile(function(n) {
44
+ return n != ">" && n != " " ? (r += n, !0) : !1;
45
+ }), I.anchors.push(r), "url";
46
+ }
47
+ if (R == ">")
48
+ return T(I, ">"), "variable";
49
+ if (R == "_") {
50
+ T(I, R);
51
+ var f = "";
52
+ return e.eatWhile(function(n) {
53
+ return n != " " ? (f += n, !0) : !1;
54
+ }), I.bnodes.push(f), e.next(), T(I, " "), "builtin";
55
+ }
56
+ if (R == '"')
57
+ return T(I, R), e.eatWhile(function(n) {
58
+ return n != '"';
59
+ }), e.next(), e.peek() != "@" && e.peek() != "^" && T(I, '"'), "string";
60
+ if (R == "@") {
61
+ T(I, "@");
62
+ var E = "";
63
+ return e.eatWhile(function(n) {
64
+ return n != " " ? (E += n, !0) : !1;
65
+ }), I.langs.push(E), e.next(), T(I, " "), "string.special";
66
+ }
67
+ if (R == "^") {
68
+ e.next(), T(I, "^");
69
+ var l = "";
70
+ return e.eatWhile(function(n) {
71
+ return n != ">" ? (l += n, !0) : !1;
72
+ }), I.types.push(l), e.next(), T(I, ">"), "variable";
73
+ }
74
+ R == " " && T(I, R), R == "." && T(I, R);
75
+ }
76
+ };
77
+ export {
78
+ u as ntriples
79
+ };
@@ -0,0 +1,143 @@
1
+ function t(e) {
2
+ return new RegExp("^((" + e.join(")|(") + "))\\b");
3
+ }
4
+ var f = new RegExp("^[\\+\\-\\*/&|\\^~<>!@'\\\\]"), u = new RegExp("^[\\(\\[\\{\\},:=;\\.]"), a = new RegExp("^((==)|(~=)|(<=)|(>=)|(<<)|(>>)|(\\.[\\+\\-\\*/\\^\\\\]))"), l = new RegExp("^((!=)|(\\+=)|(\\-=)|(\\*=)|(/=)|(&=)|(\\|=)|(\\^=))"), c = new RegExp("^((>>=)|(<<=))"), p = new RegExp("^[\\]\\)]"), d = new RegExp("^[_A-Za-z¡-￿][_A-Za-z0-9¡-￿]*"), s = t([
5
+ "error",
6
+ "eval",
7
+ "function",
8
+ "abs",
9
+ "acos",
10
+ "atan",
11
+ "asin",
12
+ "cos",
13
+ "cosh",
14
+ "exp",
15
+ "log",
16
+ "prod",
17
+ "sum",
18
+ "log10",
19
+ "max",
20
+ "min",
21
+ "sign",
22
+ "sin",
23
+ "sinh",
24
+ "sqrt",
25
+ "tan",
26
+ "reshape",
27
+ "break",
28
+ "zeros",
29
+ "default",
30
+ "margin",
31
+ "round",
32
+ "ones",
33
+ "rand",
34
+ "syn",
35
+ "ceil",
36
+ "floor",
37
+ "size",
38
+ "clear",
39
+ "zeros",
40
+ "eye",
41
+ "mean",
42
+ "std",
43
+ "cov",
44
+ "det",
45
+ "eig",
46
+ "inv",
47
+ "norm",
48
+ "rank",
49
+ "trace",
50
+ "expm",
51
+ "logm",
52
+ "sqrtm",
53
+ "linspace",
54
+ "plot",
55
+ "title",
56
+ "xlabel",
57
+ "ylabel",
58
+ "legend",
59
+ "text",
60
+ "grid",
61
+ "meshgrid",
62
+ "mesh",
63
+ "num2str",
64
+ "fft",
65
+ "ifft",
66
+ "arrayfun",
67
+ "cellfun",
68
+ "input",
69
+ "fliplr",
70
+ "flipud",
71
+ "ismember"
72
+ ]), h = t([
73
+ "return",
74
+ "case",
75
+ "switch",
76
+ "else",
77
+ "elseif",
78
+ "end",
79
+ "endif",
80
+ "endfunction",
81
+ "if",
82
+ "otherwise",
83
+ "do",
84
+ "for",
85
+ "while",
86
+ "try",
87
+ "catch",
88
+ "classdef",
89
+ "properties",
90
+ "events",
91
+ "methods",
92
+ "global",
93
+ "persistent",
94
+ "endfor",
95
+ "endwhile",
96
+ "printf",
97
+ "sprintf",
98
+ "disp",
99
+ "until",
100
+ "continue",
101
+ "pkg"
102
+ ]);
103
+ function o(e, n) {
104
+ return !e.sol() && e.peek() === "'" ? (e.next(), n.tokenize = i, "operator") : (n.tokenize = i, i(e, n));
105
+ }
106
+ function m(e, n) {
107
+ return e.match(/^.*%}/) ? (n.tokenize = i, "comment") : (e.skipToEnd(), "comment");
108
+ }
109
+ function i(e, n) {
110
+ if (e.eatSpace()) return null;
111
+ if (e.match("%{"))
112
+ return n.tokenize = m, e.skipToEnd(), "comment";
113
+ if (e.match(/^[%#]/))
114
+ return e.skipToEnd(), "comment";
115
+ if (e.match(/^[0-9\.+-]/, !1)) {
116
+ if (e.match(/^[+-]?0x[0-9a-fA-F]+[ij]?/))
117
+ return e.tokenize = i, "number";
118
+ if (e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?[ij]?/) || e.match(/^[+-]?\d+([EeDd][+-]?\d+)?[ij]?/))
119
+ return "number";
120
+ }
121
+ if (e.match(t(["nan", "NaN", "inf", "Inf"])))
122
+ return "number";
123
+ var r = e.match(/^"(?:[^"]|"")*("|$)/) || e.match(/^'(?:[^']|'')*('|$)/);
124
+ return r ? r[1] ? "string" : "error" : e.match(h) ? "keyword" : e.match(s) ? "builtin" : e.match(d) ? "variable" : e.match(f) || e.match(a) ? "operator" : e.match(u) || e.match(l) || e.match(c) ? null : e.match(p) ? (n.tokenize = o, null) : (e.next(), "error");
125
+ }
126
+ const g = {
127
+ name: "octave",
128
+ startState: function() {
129
+ return {
130
+ tokenize: i
131
+ };
132
+ },
133
+ token: function(e, n) {
134
+ var r = n.tokenize(e, n);
135
+ return (r === "number" || r === "variable") && (n.tokenize = o), r;
136
+ },
137
+ languageData: {
138
+ commentTokens: { line: "%" }
139
+ }
140
+ };
141
+ export {
142
+ g as octave
143
+ };