@oscloudlab/knowledge-card 0.0.1 → 0.0.2

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 (305) hide show
  1. package/dist/abap-bNFqRLO1.js +84 -0
  2. package/dist/abnf-hvXtkKLY.js +87 -0
  3. package/dist/actionscript-6i80VbAv.js +43 -0
  4. package/dist/ada-CiSKRw34.js +52 -0
  5. package/dist/agda-BELchEdZ.js +56 -0
  6. package/dist/al-DkPZllof.js +56 -0
  7. package/dist/antlr4-D6U2qvIr.js +96 -0
  8. package/dist/apacheconf-DoADUQkC.js +80 -0
  9. package/dist/apex-Dwxgykqz.js +104 -0
  10. package/dist/apl-n43gQAL3.js +65 -0
  11. package/dist/applescript-DUNzhl2t.js +50 -0
  12. package/dist/aql-BNnsomU8.js +82 -0
  13. package/dist/arduino-Ctiiir5A.js +41 -0
  14. package/dist/arff-CF3A9Ff-.js +43 -0
  15. package/dist/asciidoc-BORHAu3L.js +240 -0
  16. package/dist/asm6502-OhJaS22O.js +62 -0
  17. package/dist/asmatmel-CG3mJBJs.js +74 -0
  18. package/dist/aspnet-Bgu9cVxS.js +83 -0
  19. package/dist/autohotkey-BMzF8w3W.js +64 -0
  20. package/dist/autoit-BUz7W_A-.js +67 -0
  21. package/dist/avisynth-D_5DsX9W.js +195 -0
  22. package/dist/avro-idl-DXBF-8pT.js +74 -0
  23. package/dist/bash-0-vitIuH.js +223 -0
  24. package/dist/bash-CmPTK8K6.js +26 -0
  25. package/dist/basic-CBrKUqQp.js +28 -0
  26. package/dist/basic-CgjK_kM4.js +26 -0
  27. package/dist/batch-DDuJqYDJ.js +125 -0
  28. package/dist/bbcode-BBBJW4h9.js +60 -0
  29. package/dist/bicep-B7Vet2aR.js +102 -0
  30. package/dist/birb-DPs12VRI.js +53 -0
  31. package/dist/bison-BKvEoKEG.js +73 -0
  32. package/dist/bnf-CaE0Bt3T.js +52 -0
  33. package/dist/brainfuck-GdsepcND.js +53 -0
  34. package/dist/brightscript-CaQ-B4pE.js +76 -0
  35. package/dist/bro-C_rmjGgn.js +60 -0
  36. package/dist/bsl-DQhyt9j4.js +101 -0
  37. package/dist/c-D8-laUL_.js +26 -0
  38. package/dist/c-b2c4WJSm.js +83 -0
  39. package/dist/cfscript-DcwVkFDX.js +71 -0
  40. package/dist/chaiscript-C1jdPAs0.js +89 -0
  41. package/dist/cil-C54xDxMg.js +52 -0
  42. package/dist/clike-D8ff3B0t.js +61 -0
  43. package/dist/clojure-BtKUzyKV.js +63 -0
  44. package/dist/cmake-CcFmEv5M.js +62 -0
  45. package/dist/cobol-SnYz3b9P.js +82 -0
  46. package/dist/coffeescript-CKJzYVhc.js +110 -0
  47. package/dist/concurnas-C6YKMKIG.js +90 -0
  48. package/dist/coq-AH1nKVcq.js +81 -0
  49. package/dist/core-CcwoL92f.js +1712 -0
  50. package/dist/cpp-Bh1PKWEj.js +26 -0
  51. package/dist/cpp-C0j-5811.js +115 -0
  52. package/dist/crystal-ByWjq0Om.js +87 -0
  53. package/dist/csharp-BmDeN1AH.js +388 -0
  54. package/dist/csharp-C-RIlwgF.js +26 -0
  55. package/dist/cshtml-BX2903vs.js +134 -0
  56. package/dist/csp-BKqyZN9w.js +90 -0
  57. package/dist/css-9KZNpeR_.js +90 -0
  58. package/dist/css-extras-DWWoGQa1.js +139 -0
  59. package/dist/csv-6jawsFvm.js +37 -0
  60. package/dist/cypher-GT5Ln_K4.js +65 -0
  61. package/dist/d-DQuNeOB7.js +109 -0
  62. package/dist/dart-CHER8X1l.js +101 -0
  63. package/dist/dataweave-DL_Y2LqP.js +73 -0
  64. package/dist/dax-D27J9qU6.js +60 -0
  65. package/dist/dhall-C-Dtjrdj.js +95 -0
  66. package/dist/diff-Dg1kV9wC.js +78 -0
  67. package/dist/django-LEJ_YyjH.js +81 -0
  68. package/dist/dns-zone-file-CX7rXdX2.js +64 -0
  69. package/dist/docker-CtY3JCLx.js +127 -0
  70. package/dist/dot-od_DZdpT.js +102 -0
  71. package/dist/ebnf-DIuzViAe.js +53 -0
  72. package/dist/editorconfig-CX02cRV5.js +60 -0
  73. package/dist/eiffel-D3XUiBw2.js +67 -0
  74. package/dist/ejs-2AfMOM5A.js +58 -0
  75. package/dist/elixir-722y_YPp.js +129 -0
  76. package/dist/elm-CIyhdE5y.js +78 -0
  77. package/dist/erb-B4chbVqA.js +60 -0
  78. package/dist/erlang-DxizlpkP.js +76 -0
  79. package/dist/etlua-D_9hun9v.js +58 -0
  80. package/dist/excel-formula-CmpI_82m.js +95 -0
  81. package/dist/factor-krg_8lb-.js +949 -0
  82. package/dist/false-B2gdCewG.js +60 -0
  83. package/dist/firestore-security-rules-xige90gq.js +67 -0
  84. package/dist/flow-bpD4sbhm.js +57 -0
  85. package/dist/fortran-B4crZzNk.js +73 -0
  86. package/dist/fsharp-BnvVN9HC.js +105 -0
  87. package/dist/ftl-BoWDVp6s.js +146 -0
  88. package/dist/gap-DxJ82BxA.js +78 -0
  89. package/dist/gcode-u6kBGAFD.js +49 -0
  90. package/dist/gdscript-DvuFm0WL.js +60 -0
  91. package/dist/gedcom-D6YNHC5R.js +61 -0
  92. package/dist/gherkin-DhC07ENE.js +115 -0
  93. package/dist/git-5vwNu_fL.js +96 -0
  94. package/dist/glsl-BGzQvWQa.js +39 -0
  95. package/dist/gml-DQQsqa0X.js +40 -0
  96. package/dist/gn-Bz3fehJS.js +76 -0
  97. package/dist/go-DQVNbr0F.js +57 -0
  98. package/dist/go-module-DAdBkEV6.js +55 -0
  99. package/dist/graphql-b5aI1fau.js +154 -0
  100. package/dist/groovy-C4Zi8h0f.js +82 -0
  101. package/dist/haml-B9jL77OH.js +172 -0
  102. package/dist/handlebars-BWszzUxR.js +74 -0
  103. package/dist/haskell-BrIvnyGx.js +26 -0
  104. package/dist/haskell-DR6jYji5.js +75 -0
  105. package/dist/haxe-DUpmVd5P.js +105 -0
  106. package/dist/hcl-CLqVpYtA.js +93 -0
  107. package/dist/hlsl-CsYJVSWg.js +55 -0
  108. package/dist/hoon-D0TgxHvB.js +47 -0
  109. package/dist/hpkp-BiU-mQjG.js +41 -0
  110. package/dist/hsts-DE54dR1b.js +41 -0
  111. package/dist/http-CfgOm4UI.js +155 -0
  112. package/dist/ichigojam-CVZ6Aj_t.js +46 -0
  113. package/dist/icon-CekiVVmc.js +53 -0
  114. package/dist/icu-message-format-CJA9loKb.js +165 -0
  115. package/dist/idris-KG9ztadM.js +51 -0
  116. package/dist/iecst-wFMMjMpf.js +65 -0
  117. package/dist/ignore-Byv4NN_B.js +51 -0
  118. package/dist/index-Sj89RFCY.js +136569 -0
  119. package/dist/index.esm.js +2 -683
  120. package/dist/index.umd.js +1611 -15
  121. package/dist/inform7-YsL-LiaC.js +90 -0
  122. package/dist/ini-ChNiYeuM.js +73 -0
  123. package/dist/io-BzLClKN_.js +55 -0
  124. package/dist/j-BuLAn7Gf.js +61 -0
  125. package/dist/java-3PJ6FLyt.js +26 -0
  126. package/dist/java-DYIb7l3j.js +98 -0
  127. package/dist/javadoc-BnSaiIyg.js +118 -0
  128. package/dist/javadoclike-BSqXhy54.js +26 -0
  129. package/dist/javadoclike-CHbTYI14.js +59 -0
  130. package/dist/javascript-Cl708kfq.js +152 -0
  131. package/dist/javastacktrace-DVGIqwxN.js +167 -0
  132. package/dist/jexl-DMjq6Vaw.js +47 -0
  133. package/dist/jolie-DXoSR52A.js +72 -0
  134. package/dist/jq-Dp1c5kuj.js +100 -0
  135. package/dist/js-extras-DJfB1MC8.js +150 -0
  136. package/dist/js-templates--GrCX2F1.js +197 -0
  137. package/dist/jsdoc-vErSu9Cr.js +116 -0
  138. package/dist/json-BW8KBIeJ.js +35 -0
  139. package/dist/json-BefNJCW-.js +26 -0
  140. package/dist/json5-CsdIXkOZ.js +56 -0
  141. package/dist/jsonp-Dz_5Lt-E.js +41 -0
  142. package/dist/jsstacktrace-DbBQ3Cv7.js +74 -0
  143. package/dist/jsx-Bv5_R7Yd.js +26 -0
  144. package/dist/jsx-FTe7XA1B.js +77 -0
  145. package/dist/julia-CoYGw2IR.js +68 -0
  146. package/dist/keepalived-CPWdwddz.js +81 -0
  147. package/dist/keyman-DNslP0Yy.js +76 -0
  148. package/dist/kotlin-CbZgjbyh.js +108 -0
  149. package/dist/kumir-Q_jLwxfZ.js +120 -0
  150. package/dist/kusto-dM9uOfWk.js +71 -0
  151. package/dist/latex-Bfeq39tO.js +92 -0
  152. package/dist/latte-CFxOlcdj.js +101 -0
  153. package/dist/less-DwfFB3qp.js +75 -0
  154. package/dist/lilypond-DaH_baew.js +104 -0
  155. package/dist/liquid-5rAVI9Ad.js +97 -0
  156. package/dist/lisp-Btc3xid7.js +194 -0
  157. package/dist/livescript-DQvJc3cA.js +150 -0
  158. package/dist/llvm-B7k0U20m.js +52 -0
  159. package/dist/log-B7ulCZCI.js +133 -0
  160. package/dist/lolcode-BEEMlfuU.js +81 -0
  161. package/dist/lua-BggcDXQp.js +31 -0
  162. package/dist/lua-D-T62TZ5.js +26 -0
  163. package/dist/magma-DAN3ZGAI.js +63 -0
  164. package/dist/makefile-Bjl-N6S3.js +63 -0
  165. package/dist/markdown-6Q2QSFJe.js +355 -0
  166. package/dist/markup-Bwuswjib.js +194 -0
  167. package/dist/markup-templating-BLspI5oq.js +26 -0
  168. package/dist/markup-templating-CVTxtFGH.js +77 -0
  169. package/dist/matlab-Bim6HLuO.js +46 -0
  170. package/dist/maxscript-BJqnafAC.js +97 -0
  171. package/dist/mel-C4iJe_aZ.js +74 -0
  172. package/dist/mermaid-DbKsw5IU.js +137 -0
  173. package/dist/mizar-DdUuEnQ0.js +45 -0
  174. package/dist/mongodb-C7OZqIiL.js +321 -0
  175. package/dist/monkey-CFQNpGhn.js +61 -0
  176. package/dist/moonscript-BDdCZd5M.js +87 -0
  177. package/dist/n1ql-C-ll6pgt.js +55 -0
  178. package/dist/n4js-DCLtuFdY.js +43 -0
  179. package/dist/nand2tetris-hdl-DJsK5r3l.js +42 -0
  180. package/dist/naniscript-DtHo8Sfl.js +165 -0
  181. package/dist/nasm-gJZT8LPh.js +57 -0
  182. package/dist/neon-SaMGcsnU.js +73 -0
  183. package/dist/nevod-Dqvto6vw.js +158 -0
  184. package/dist/nginx-Cp89qRQy.js +82 -0
  185. package/dist/nim-CdGVC6Mb.js +75 -0
  186. package/dist/nix-jnfiSyYI.js +69 -0
  187. package/dist/nsis-BZ4yPak6.js +58 -0
  188. package/dist/objectivec-B9lo2Gq2.js +44 -0
  189. package/dist/ocaml-DtZ_IyiS.js +88 -0
  190. package/dist/opencl-CtUznKol.js +83 -0
  191. package/dist/openqasm-BAmjbx7B.js +50 -0
  192. package/dist/oz-mvOvhn7u.js +61 -0
  193. package/dist/parigp-B5Xdmiju.js +81 -0
  194. package/dist/parser-Ct77dMe3.js +106 -0
  195. package/dist/pascal-Dwf-aqDs.js +95 -0
  196. package/dist/pascaligo-DWTvG1fw.js +115 -0
  197. package/dist/pcaxis-BUnNg5h_.js +84 -0
  198. package/dist/peoplecode-CewkQs1u.js +74 -0
  199. package/dist/perl-CmRi-uRU.js +164 -0
  200. package/dist/php-C_FrOCG4.js +334 -0
  201. package/dist/php-e7f7GtZ8.js +26 -0
  202. package/dist/php-extras-ATZDccPm.js +50 -0
  203. package/dist/phpdoc-uba1O-5-.js +61 -0
  204. package/dist/plsql-BLNilzVM.js +51 -0
  205. package/dist/powerquery-CddEWH0P.js +83 -0
  206. package/dist/powershell-SimxvdWh.js +88 -0
  207. package/dist/processing-IeXhsRmw.js +46 -0
  208. package/dist/prolog-CnTr7enQ.js +52 -0
  209. package/dist/promql-DpmXmCiA.js +120 -0
  210. package/dist/properties-BraQbkIL.js +42 -0
  211. package/dist/protobuf-BKmtm9wI.js +71 -0
  212. package/dist/psl-DfJLNMzA.js +68 -0
  213. package/dist/pug-C7olXkyh.js +212 -0
  214. package/dist/puppet-DMdAuQ_Z.js +167 -0
  215. package/dist/pure-BVQraXQo.js +111 -0
  216. package/dist/purebasic-DnAwivDW.js +87 -0
  217. package/dist/purescript-BBcUX3cf.js +62 -0
  218. package/dist/python-C9JXUpy2.js +94 -0
  219. package/dist/q-Ct9Ut4C4.js +83 -0
  220. package/dist/qml-DubjWeE3.js +103 -0
  221. package/dist/qore-CDjxpVlT.js +53 -0
  222. package/dist/qsharp-Dyr5mrma.js +128 -0
  223. package/dist/r-B4F2KUJL.js +55 -0
  224. package/dist/racket-D5k9UW-t.js +50 -0
  225. package/dist/reason-Cs82zJO7.js +54 -0
  226. package/dist/regex-Z8MvaNEm.js +124 -0
  227. package/dist/rego-CcGrxeab.js +58 -0
  228. package/dist/renpy-mByYQWSM.js +51 -0
  229. package/dist/rest-BoR9ZMoX.js +231 -0
  230. package/dist/rip-C3Bf4Bpl.js +62 -0
  231. package/dist/roboconf-1MYmsJJ7.js +60 -0
  232. package/dist/robotframework-fBSrPGHK.js +122 -0
  233. package/dist/ruby-BQlisu6i.js +182 -0
  234. package/dist/ruby-DRrUXRqW.js +26 -0
  235. package/dist/rust-DhUR7ICB.js +149 -0
  236. package/dist/sas-D7DM5vmM.js +362 -0
  237. package/dist/sass-B-3W9xmk.js +96 -0
  238. package/dist/scala-DmHnWeTz.js +80 -0
  239. package/dist/scheme-B-TWMKN_.js +122 -0
  240. package/dist/scheme-egHBLRqV.js +26 -0
  241. package/dist/scss-BU4D1BLj.js +106 -0
  242. package/dist/shell-session-6QFBv7G6.js +93 -0
  243. package/dist/smali-B48Y4QYt.js +112 -0
  244. package/dist/smalltalk-w59b04aF.js +71 -0
  245. package/dist/smarty-CnWvL-Ef.js +147 -0
  246. package/dist/sml-cUUD1qMQ.js +91 -0
  247. package/dist/solidity-Drt__SLk.js +49 -0
  248. package/dist/solution-file-CYG1BOQK.js +79 -0
  249. package/dist/soy-BZNQzgkB.js +112 -0
  250. package/dist/sparql-BQDndvZG.js +49 -0
  251. package/dist/splunk-spl-ezOLCJwA.js +57 -0
  252. package/dist/sqf-C83ezg-4.js +63 -0
  253. package/dist/sql-CVBSuRzU.js +26 -0
  254. package/dist/sql-qhcRp-Km.js +44 -0
  255. package/dist/squirrel-2r-3bEO_.js +74 -0
  256. package/dist/stan-D2wLHzr8.js +86 -0
  257. package/dist/style.css +1 -1
  258. package/dist/stylus-KkSvURTJ.js +165 -0
  259. package/dist/swift-c7528WsQ.js +152 -0
  260. package/dist/systemd-DWsV0AtP.js +88 -0
  261. package/dist/t4-cs-D7NmzTCB.js +38 -0
  262. package/dist/t4-templating-Bc9GyRcs.js +26 -0
  263. package/dist/t4-templating-yxm91MEk.js +56 -0
  264. package/dist/t4-vb-Df3tMe1Q.js +38 -0
  265. package/dist/tap-wFXvu_No.js +56 -0
  266. package/dist/tcl-BZqzhUcQ.js +79 -0
  267. package/dist/textile-DrTKyn7T.js +289 -0
  268. package/dist/toml-LVQpNmZe.js +86 -0
  269. package/dist/tremor-A_cxX8C4.js +90 -0
  270. package/dist/tsx-CQKNNLzi.js +46 -0
  271. package/dist/tt2-CPOtfoBh.js +78 -0
  272. package/dist/turtle-BjRE9oBS.js +26 -0
  273. package/dist/turtle-z6QfbtiY.js +61 -0
  274. package/dist/twig-Cz25rowk.js +72 -0
  275. package/dist/typescript--VNBoLO-.js +56 -0
  276. package/dist/typescript-Bx2QMcny.js +26 -0
  277. package/dist/typoscript-BdH7x5a4.js +109 -0
  278. package/dist/unrealscript-Cb8322pT.js +71 -0
  279. package/dist/uorazor-CHv0VHYn.js +81 -0
  280. package/dist/uri-ci9M926F.js +116 -0
  281. package/dist/v-DL4z_kNT.js +106 -0
  282. package/dist/vala-CPIzd5en.js +113 -0
  283. package/dist/vbnet-BoCvq106.js +26 -0
  284. package/dist/vbnet-ClfmYufs.js +36 -0
  285. package/dist/velocity-CBXhMUrK.js +99 -0
  286. package/dist/verilog-C1ZX-Tr8.js +59 -0
  287. package/dist/vhdl-CLlMgFjz.js +56 -0
  288. package/dist/vim-BuFUFT06.js +43 -0
  289. package/dist/visual-basic-CzPES6jG.js +59 -0
  290. package/dist/warpscript-C5YvStKz.js +54 -0
  291. package/dist/wasm-txCKMkgE.js +64 -0
  292. package/dist/web-idl-B4OgJf1y.js +118 -0
  293. package/dist/wiki-C6_DR7WK.js +110 -0
  294. package/dist/wolfram-D9ETP9M6.js +58 -0
  295. package/dist/wren-CkhJWcmB.js +121 -0
  296. package/dist/xeora-Cg3OrGlT.js +147 -0
  297. package/dist/xml-doc-C0mFvWUS.js +56 -0
  298. package/dist/xojo-CW6K9MHL.js +51 -0
  299. package/dist/xquery-B0ssbj_m.js +118 -0
  300. package/dist/yaml-S0xfBtlT.js +26 -0
  301. package/dist/yaml-hxc7aP7n.js +92 -0
  302. package/dist/yang-Dg6OSQ6Y.js +53 -0
  303. package/dist/zig-xuUtE8Pe.js +117 -0
  304. package/package.json +30 -4
  305. package/dist/index.d.ts +0 -2
@@ -0,0 +1,212 @@
1
+ import { g as c } from "./index-Sj89RFCY.js";
2
+ function d(a, s) {
3
+ for (var e = 0; e < s.length; e++) {
4
+ const r = s[e];
5
+ if (typeof r != "string" && !Array.isArray(r)) {
6
+ for (const n in r)
7
+ if (n !== "default" && !(n in a)) {
8
+ const i = Object.getOwnPropertyDescriptor(r, n);
9
+ i && Object.defineProperty(a, n, i.get ? i : {
10
+ enumerable: !0,
11
+ get: () => r[n]
12
+ });
13
+ }
14
+ }
15
+ }
16
+ return Object.freeze(Object.defineProperty(a, Symbol.toStringTag, { value: "Module" }));
17
+ }
18
+ var u, o;
19
+ function f() {
20
+ if (o) return u;
21
+ o = 1, u = a, a.displayName = "pug", a.aliases = [];
22
+ function a(s) {
23
+ (function(e) {
24
+ e.languages.pug = {
25
+ // Multiline stuff should appear before the rest
26
+ // This handles both single-line and multi-line comments
27
+ comment: {
28
+ pattern: /(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,
29
+ lookbehind: !0
30
+ },
31
+ // All the tag-related part is in lookbehind
32
+ // so that it can be highlighted by the "tag" pattern
33
+ "multiline-script": {
34
+ pattern: /(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,
35
+ lookbehind: !0,
36
+ inside: e.languages.javascript
37
+ },
38
+ // See at the end of the file for known filters
39
+ filter: {
40
+ pattern: /(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,
41
+ lookbehind: !0,
42
+ inside: {
43
+ "filter-name": {
44
+ pattern: /^:[\w-]+/,
45
+ alias: "variable"
46
+ },
47
+ text: /\S[\s\S]*/
48
+ }
49
+ },
50
+ "multiline-plain-text": {
51
+ pattern: /(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,
52
+ lookbehind: !0
53
+ },
54
+ markup: {
55
+ pattern: /(^[\t ]*)<.+/m,
56
+ lookbehind: !0,
57
+ inside: e.languages.markup
58
+ },
59
+ doctype: {
60
+ pattern: /((?:^|\n)[\t ]*)doctype(?: .+)?/,
61
+ lookbehind: !0
62
+ },
63
+ // This handle all conditional and loop keywords
64
+ "flow-control": {
65
+ pattern: /(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,
66
+ lookbehind: !0,
67
+ inside: {
68
+ each: {
69
+ pattern: /^each .+? in\b/,
70
+ inside: {
71
+ keyword: /\b(?:each|in)\b/,
72
+ punctuation: /,/
73
+ }
74
+ },
75
+ branch: {
76
+ pattern: /^(?:case|default|else|if|unless|when|while)\b/,
77
+ alias: "keyword"
78
+ },
79
+ rest: e.languages.javascript
80
+ }
81
+ },
82
+ keyword: {
83
+ pattern: /(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,
84
+ lookbehind: !0
85
+ },
86
+ mixin: [
87
+ // Declaration
88
+ {
89
+ pattern: /(^[\t ]*)mixin .+/m,
90
+ lookbehind: !0,
91
+ inside: {
92
+ keyword: /^mixin/,
93
+ function: /\w+(?=\s*\(|\s*$)/,
94
+ punctuation: /[(),.]/
95
+ }
96
+ },
97
+ // Usage
98
+ {
99
+ pattern: /(^[\t ]*)\+.+/m,
100
+ lookbehind: !0,
101
+ inside: {
102
+ name: {
103
+ pattern: /^\+\w+/,
104
+ alias: "function"
105
+ },
106
+ rest: e.languages.javascript
107
+ }
108
+ }
109
+ ],
110
+ script: {
111
+ pattern: /(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,
112
+ lookbehind: !0,
113
+ inside: e.languages.javascript
114
+ },
115
+ "plain-text": {
116
+ pattern: /(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,
117
+ lookbehind: !0
118
+ },
119
+ tag: {
120
+ pattern: /(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,
121
+ lookbehind: !0,
122
+ inside: {
123
+ attributes: [
124
+ {
125
+ pattern: /&[^(]+\([^)]+\)/,
126
+ inside: e.languages.javascript
127
+ },
128
+ {
129
+ pattern: /\([^)]+\)/,
130
+ inside: {
131
+ "attr-value": {
132
+ pattern: /(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,
133
+ lookbehind: !0,
134
+ inside: e.languages.javascript
135
+ },
136
+ "attr-name": /[\w-]+(?=\s*!?=|\s*[,)])/,
137
+ punctuation: /[!=(),]+/
138
+ }
139
+ }
140
+ ],
141
+ punctuation: /:/,
142
+ "attr-id": /#[\w\-]+/,
143
+ "attr-class": /\.[\w\-]+/
144
+ }
145
+ },
146
+ code: [
147
+ {
148
+ pattern: /(^[\t ]*(?:-|!?=)).+/m,
149
+ lookbehind: !0,
150
+ inside: e.languages.javascript
151
+ }
152
+ ],
153
+ punctuation: /[.\-!=|]+/
154
+ };
155
+ for (var r = /(^([\t ]*)):<filter_name>(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source, n = [
156
+ {
157
+ filter: "atpl",
158
+ language: "twig"
159
+ },
160
+ {
161
+ filter: "coffee",
162
+ language: "coffeescript"
163
+ },
164
+ "ejs",
165
+ "handlebars",
166
+ "less",
167
+ "livescript",
168
+ "markdown",
169
+ {
170
+ filter: "sass",
171
+ language: "scss"
172
+ },
173
+ "stylus"
174
+ ], i = {}, l = 0, g = n.length; l < g; l++) {
175
+ var t = n[l];
176
+ t = typeof t == "string" ? {
177
+ filter: t,
178
+ language: t
179
+ } : t, e.languages[t.language] && (i["filter-" + t.filter] = {
180
+ pattern: RegExp(
181
+ r.replace("<filter_name>", function() {
182
+ return t.filter;
183
+ }),
184
+ "m"
185
+ ),
186
+ lookbehind: !0,
187
+ inside: {
188
+ "filter-name": {
189
+ pattern: /^:[\w-]+/,
190
+ alias: "variable"
191
+ },
192
+ text: {
193
+ pattern: /\S[\s\S]*/,
194
+ alias: [t.language, "language-" + t.language],
195
+ inside: e.languages[t.language]
196
+ }
197
+ }
198
+ });
199
+ }
200
+ e.languages.insertBefore("pug", "filter", i);
201
+ })(s);
202
+ }
203
+ return u;
204
+ }
205
+ var p = f();
206
+ const b = /* @__PURE__ */ c(p), m = /* @__PURE__ */ d({
207
+ __proto__: null,
208
+ default: b
209
+ }, [p]);
210
+ export {
211
+ m as p
212
+ };
@@ -0,0 +1,167 @@
1
+ import { g as s } from "./index-Sj89RFCY.js";
2
+ function l(n, a) {
3
+ for (var e = 0; e < a.length; e++) {
4
+ const t = a[e];
5
+ if (typeof t != "string" && !Array.isArray(t)) {
6
+ for (const r in t)
7
+ if (r !== "default" && !(r in n)) {
8
+ const i = Object.getOwnPropertyDescriptor(t, r);
9
+ i && Object.defineProperty(n, r, i.get ? i : {
10
+ enumerable: !0,
11
+ get: () => t[r]
12
+ });
13
+ }
14
+ }
15
+ }
16
+ return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
17
+ }
18
+ var o, u;
19
+ function d() {
20
+ if (u) return o;
21
+ u = 1, o = n, n.displayName = "puppet", n.aliases = [];
22
+ function n(a) {
23
+ (function(e) {
24
+ e.languages.puppet = {
25
+ heredoc: [
26
+ // Matches the content of a quoted heredoc string (subject to interpolation)
27
+ {
28
+ pattern: /(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,
29
+ lookbehind: !0,
30
+ alias: "string",
31
+ inside: {
32
+ // Matches the end tag
33
+ punctuation: /(?=\S).*\S(?= *$)/
34
+ // See interpolation below
35
+ }
36
+ },
37
+ // Matches the content of an unquoted heredoc string (no interpolation)
38
+ {
39
+ pattern: /(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,
40
+ lookbehind: !0,
41
+ greedy: !0,
42
+ alias: "string",
43
+ inside: {
44
+ // Matches the end tag
45
+ punctuation: /(?=\S).*\S(?= *$)/
46
+ }
47
+ },
48
+ // Matches the start tag of heredoc strings
49
+ {
50
+ pattern: /@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,
51
+ alias: "string",
52
+ inside: {
53
+ punctuation: {
54
+ pattern: /(\().+?(?=\))/,
55
+ lookbehind: !0
56
+ }
57
+ }
58
+ }
59
+ ],
60
+ "multiline-comment": {
61
+ pattern: /(^|[^\\])\/\*[\s\S]*?\*\//,
62
+ lookbehind: !0,
63
+ greedy: !0,
64
+ alias: "comment"
65
+ },
66
+ regex: {
67
+ // Must be prefixed with the keyword "node" or a non-word char
68
+ pattern: /((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,
69
+ lookbehind: !0,
70
+ greedy: !0,
71
+ inside: {
72
+ // Extended regexes must have the x flag. They can contain single-line comments.
73
+ "extended-regex": {
74
+ pattern: /^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,
75
+ inside: {
76
+ comment: /#.*/
77
+ }
78
+ }
79
+ }
80
+ },
81
+ comment: {
82
+ pattern: /(^|[^\\])#.*/,
83
+ lookbehind: !0,
84
+ greedy: !0
85
+ },
86
+ string: {
87
+ // Allow for one nested level of double quotes inside interpolation
88
+ pattern: /(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,
89
+ greedy: !0,
90
+ inside: {
91
+ "double-quoted": {
92
+ pattern: /^"[\s\S]*"$/,
93
+ inside: {
94
+ // See interpolation below
95
+ }
96
+ }
97
+ }
98
+ },
99
+ variable: {
100
+ pattern: /\$(?:::)?\w+(?:::\w+)*/,
101
+ inside: {
102
+ punctuation: /::/
103
+ }
104
+ },
105
+ "attr-name": /(?:\b\w+|\*)(?=\s*=>)/,
106
+ function: [
107
+ {
108
+ pattern: /(\.)(?!\d)\w+/,
109
+ lookbehind: !0
110
+ },
111
+ /\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/
112
+ ],
113
+ number: /\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,
114
+ boolean: /\b(?:false|true)\b/,
115
+ // Includes words reserved for future use
116
+ keyword: /\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,
117
+ datatype: {
118
+ pattern: /\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,
119
+ alias: "symbol"
120
+ },
121
+ operator: /=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,
122
+ punctuation: /[\[\]{}().,;]|:+/
123
+ };
124
+ var t = [
125
+ {
126
+ // Allow for one nested level of braces inside interpolation
127
+ pattern: /(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,
128
+ lookbehind: !0,
129
+ inside: {
130
+ "short-variable": {
131
+ // Negative look-ahead prevent wrong highlighting of functions
132
+ pattern: /(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,
133
+ lookbehind: !0,
134
+ alias: "variable",
135
+ inside: {
136
+ punctuation: /::/
137
+ }
138
+ },
139
+ delimiter: {
140
+ pattern: /^\$/,
141
+ alias: "variable"
142
+ },
143
+ rest: e.languages.puppet
144
+ }
145
+ },
146
+ {
147
+ pattern: /(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,
148
+ lookbehind: !0,
149
+ alias: "variable",
150
+ inside: {
151
+ punctuation: /::/
152
+ }
153
+ }
154
+ ];
155
+ e.languages.puppet.heredoc[0].inside.interpolation = t, e.languages.puppet.string.inside["double-quoted"].inside.interpolation = t;
156
+ })(a);
157
+ }
158
+ return o;
159
+ }
160
+ var p = d();
161
+ const b = /* @__PURE__ */ s(p), g = /* @__PURE__ */ l({
162
+ __proto__: null,
163
+ default: b
164
+ }, [p]);
165
+ export {
166
+ g as p
167
+ };
@@ -0,0 +1,111 @@
1
+ import { g as u } from "./index-Sj89RFCY.js";
2
+ function d(r, p) {
3
+ for (var e = 0; e < p.length; e++) {
4
+ const a = p[e];
5
+ if (typeof a != "string" && !Array.isArray(a)) {
6
+ for (const n in a)
7
+ if (n !== "default" && !(n in r)) {
8
+ const t = Object.getOwnPropertyDescriptor(a, n);
9
+ t && Object.defineProperty(r, n, t.get ? t : {
10
+ enumerable: !0,
11
+ get: () => a[n]
12
+ });
13
+ }
14
+ }
15
+ }
16
+ return Object.freeze(Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }));
17
+ }
18
+ var l, s;
19
+ function f() {
20
+ if (s) return l;
21
+ s = 1, l = r, r.displayName = "pure", r.aliases = [];
22
+ function r(p) {
23
+ (function(e) {
24
+ e.languages.pure = {
25
+ comment: [
26
+ {
27
+ pattern: /(^|[^\\])\/\*[\s\S]*?\*\//,
28
+ lookbehind: !0
29
+ },
30
+ {
31
+ pattern: /(^|[^\\:])\/\/.*/,
32
+ lookbehind: !0
33
+ },
34
+ /#!.+/
35
+ ],
36
+ "inline-lang": {
37
+ pattern: /%<[\s\S]+?%>/,
38
+ greedy: !0,
39
+ inside: {
40
+ lang: {
41
+ pattern: /(^%< *)-\*-.+?-\*-/,
42
+ lookbehind: !0,
43
+ alias: "comment"
44
+ },
45
+ delimiter: {
46
+ pattern: /^%<.*|%>$/,
47
+ alias: "punctuation"
48
+ }
49
+ }
50
+ },
51
+ string: {
52
+ pattern: /"(?:\\.|[^"\\\r\n])*"/,
53
+ greedy: !0
54
+ },
55
+ number: {
56
+ // The look-behind prevents wrong highlighting of the .. operator
57
+ pattern: /((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,
58
+ lookbehind: !0
59
+ },
60
+ keyword: /\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,
61
+ function: /\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,
62
+ special: {
63
+ pattern: /\b__[a-z]+__\b/i,
64
+ alias: "builtin"
65
+ },
66
+ // Any combination of operator chars can be an operator
67
+ // eslint-disable-next-line no-misleading-character-class
68
+ operator: /(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,
69
+ // FIXME: How can we prevent | and , to be highlighted as operator when they are used alone?
70
+ punctuation: /[(){}\[\];,|]/
71
+ };
72
+ var a = [
73
+ "c",
74
+ {
75
+ lang: "c++",
76
+ alias: "cpp"
77
+ },
78
+ "fortran"
79
+ ], n = /%< *-\*- *<lang>\d* *-\*-[\s\S]+?%>/.source;
80
+ a.forEach(function(t) {
81
+ var i = t;
82
+ if (typeof t != "string" && (i = t.alias, t = t.lang), e.languages[i]) {
83
+ var o = {};
84
+ o["inline-lang-" + i] = {
85
+ pattern: RegExp(
86
+ n.replace(
87
+ "<lang>",
88
+ t.replace(/([.+*?\/\\(){}\[\]])/g, "\\$1")
89
+ ),
90
+ "i"
91
+ ),
92
+ inside: e.util.clone(e.languages.pure["inline-lang"].inside)
93
+ }, o["inline-lang-" + i].inside.rest = e.util.clone(
94
+ e.languages[i]
95
+ ), e.languages.insertBefore("pure", "inline-lang", o);
96
+ }
97
+ }), e.languages.c && (e.languages.pure["inline-lang"].inside.rest = e.util.clone(
98
+ e.languages.c
99
+ ));
100
+ })(p);
101
+ }
102
+ return l;
103
+ }
104
+ var c = f();
105
+ const g = /* @__PURE__ */ u(c), b = /* @__PURE__ */ d({
106
+ __proto__: null,
107
+ default: g
108
+ }, [c]);
109
+ export {
110
+ b as p
111
+ };
@@ -0,0 +1,87 @@
1
+ import { g as s } from "./index-Sj89RFCY.js";
2
+ function c(r, e) {
3
+ for (var d = 0; d < e.length; d++) {
4
+ const a = e[d];
5
+ if (typeof a != "string" && !Array.isArray(a)) {
6
+ for (const t in a)
7
+ if (t !== "default" && !(t in r)) {
8
+ const n = Object.getOwnPropertyDescriptor(a, t);
9
+ n && Object.defineProperty(r, t, n.get ? n : {
10
+ enumerable: !0,
11
+ get: () => a[t]
12
+ });
13
+ }
14
+ }
15
+ }
16
+ return Object.freeze(Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }));
17
+ }
18
+ var l, i;
19
+ function u() {
20
+ if (i) return l;
21
+ i = 1, l = r, r.displayName = "purebasic", r.aliases = [];
22
+ function r(e) {
23
+ e.languages.purebasic = e.languages.extend("clike", {
24
+ comment: /;.*/,
25
+ keyword: /\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,
26
+ function: /\b\w+(?:\.\w+)?\s*(?=\()/,
27
+ number: /(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,
28
+ operator: /(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|?\||[~^%?*/@]/
29
+ }), e.languages.insertBefore("purebasic", "keyword", {
30
+ tag: /#\w+\$?/,
31
+ asm: {
32
+ pattern: /(^[\t ]*)!.*/m,
33
+ lookbehind: !0,
34
+ alias: "tag",
35
+ inside: {
36
+ comment: /;.*/,
37
+ string: {
38
+ pattern: /(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,
39
+ greedy: !0
40
+ },
41
+ // Anonymous label references, i.e.: jmp @b
42
+ "label-reference-anonymous": {
43
+ pattern: /(!\s*j[a-z]+\s+)@[fb]/i,
44
+ lookbehind: !0,
45
+ alias: "fasm-label"
46
+ },
47
+ // Named label reference, i.e.: jne label1
48
+ "label-reference-addressed": {
49
+ pattern: /(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,
50
+ lookbehind: !0,
51
+ alias: "fasm-label"
52
+ },
53
+ keyword: [
54
+ /\b(?:extern|global)\b[^;\r\n]*/i,
55
+ /\b(?:CPU|DEFAULT|FLOAT)\b.*/
56
+ ],
57
+ function: {
58
+ pattern: /^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,
59
+ lookbehind: !0
60
+ },
61
+ "function-inline": {
62
+ pattern: /(:\s*)[\da-z]+(?=\s)/i,
63
+ lookbehind: !0,
64
+ alias: "function"
65
+ },
66
+ label: {
67
+ pattern: /^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,
68
+ lookbehind: !0,
69
+ alias: "fasm-label"
70
+ },
71
+ register: /\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,
72
+ number: /(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,
73
+ operator: /[\[\]*+\-/%<>=&|$!,.:]/
74
+ }
75
+ }
76
+ }), delete e.languages.purebasic["class-name"], delete e.languages.purebasic.boolean, e.languages.pbfasm = e.languages.purebasic;
77
+ }
78
+ return l;
79
+ }
80
+ var o = u();
81
+ const b = /* @__PURE__ */ s(o), f = /* @__PURE__ */ c({
82
+ __proto__: null,
83
+ default: b
84
+ }, [o]);
85
+ export {
86
+ f as p
87
+ };
@@ -0,0 +1,62 @@
1
+ import { g as d } from "./index-Sj89RFCY.js";
2
+ import { r as n } from "./haskell-DR6jYji5.js";
3
+ function b(f, e) {
4
+ for (var u = 0; u < e.length; u++) {
5
+ const a = e[u];
6
+ if (typeof a != "string" && !Array.isArray(a)) {
7
+ for (const r in a)
8
+ if (r !== "default" && !(r in f)) {
9
+ const t = Object.getOwnPropertyDescriptor(a, r);
10
+ t && Object.defineProperty(f, r, t.get ? t : {
11
+ enumerable: !0,
12
+ get: () => a[r]
13
+ });
14
+ }
15
+ }
16
+ }
17
+ return Object.freeze(Object.defineProperty(f, Symbol.toStringTag, { value: "Module" }));
18
+ }
19
+ var c, i;
20
+ function s() {
21
+ if (i) return c;
22
+ i = 1;
23
+ var f = n();
24
+ c = e, e.displayName = "purescript", e.aliases = ["purs"];
25
+ function e(u) {
26
+ u.register(f), u.languages.purescript = u.languages.extend("haskell", {
27
+ keyword: /\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,
28
+ "import-statement": {
29
+ // The imported or hidden names are not included in this import
30
+ // statement. This is because we want to highlight those exactly like
31
+ // we do for the names in the program.
32
+ pattern: /(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,
33
+ lookbehind: !0,
34
+ inside: {
35
+ keyword: /\b(?:as|hiding|import)\b/,
36
+ punctuation: /\./
37
+ }
38
+ },
39
+ // These are builtin functions only. Constructors are highlighted later as a constant.
40
+ builtin: /\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,
41
+ operator: [
42
+ // Infix operators
43
+ u.languages.haskell.operator[0],
44
+ // ASCII operators
45
+ u.languages.haskell.operator[2],
46
+ // All UTF16 Unicode operator symbols
47
+ // This regex is equivalent to /(?=[\x80-\uFFFF])[\p{gc=Math_Symbol}\p{gc=Currency_Symbol}\p{Modifier_Symbol}\p{Other_Symbol}]/u
48
+ // See https://github.com/PrismJS/prism/issues/3006 for more details.
49
+ /[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/
50
+ ]
51
+ }), u.languages.purs = u.languages.purescript;
52
+ }
53
+ return c;
54
+ }
55
+ var o = s();
56
+ const p = /* @__PURE__ */ d(o), m = /* @__PURE__ */ b({
57
+ __proto__: null,
58
+ default: p
59
+ }, [o]);
60
+ export {
61
+ m as p
62
+ };