@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.
- package/dist/abap-bNFqRLO1.js +84 -0
- package/dist/abnf-hvXtkKLY.js +87 -0
- package/dist/actionscript-6i80VbAv.js +43 -0
- package/dist/ada-CiSKRw34.js +52 -0
- package/dist/agda-BELchEdZ.js +56 -0
- package/dist/al-DkPZllof.js +56 -0
- package/dist/antlr4-D6U2qvIr.js +96 -0
- package/dist/apacheconf-DoADUQkC.js +80 -0
- package/dist/apex-Dwxgykqz.js +104 -0
- package/dist/apl-n43gQAL3.js +65 -0
- package/dist/applescript-DUNzhl2t.js +50 -0
- package/dist/aql-BNnsomU8.js +82 -0
- package/dist/arduino-Ctiiir5A.js +41 -0
- package/dist/arff-CF3A9Ff-.js +43 -0
- package/dist/asciidoc-BORHAu3L.js +240 -0
- package/dist/asm6502-OhJaS22O.js +62 -0
- package/dist/asmatmel-CG3mJBJs.js +74 -0
- package/dist/aspnet-Bgu9cVxS.js +83 -0
- package/dist/autohotkey-BMzF8w3W.js +64 -0
- package/dist/autoit-BUz7W_A-.js +67 -0
- package/dist/avisynth-D_5DsX9W.js +195 -0
- package/dist/avro-idl-DXBF-8pT.js +74 -0
- package/dist/bash-0-vitIuH.js +223 -0
- package/dist/bash-CmPTK8K6.js +26 -0
- package/dist/basic-CBrKUqQp.js +28 -0
- package/dist/basic-CgjK_kM4.js +26 -0
- package/dist/batch-DDuJqYDJ.js +125 -0
- package/dist/bbcode-BBBJW4h9.js +60 -0
- package/dist/bicep-B7Vet2aR.js +102 -0
- package/dist/birb-DPs12VRI.js +53 -0
- package/dist/bison-BKvEoKEG.js +73 -0
- package/dist/bnf-CaE0Bt3T.js +52 -0
- package/dist/brainfuck-GdsepcND.js +53 -0
- package/dist/brightscript-CaQ-B4pE.js +76 -0
- package/dist/bro-C_rmjGgn.js +60 -0
- package/dist/bsl-DQhyt9j4.js +101 -0
- package/dist/c-D8-laUL_.js +26 -0
- package/dist/c-b2c4WJSm.js +83 -0
- package/dist/cfscript-DcwVkFDX.js +71 -0
- package/dist/chaiscript-C1jdPAs0.js +89 -0
- package/dist/cil-C54xDxMg.js +52 -0
- package/dist/clike-D8ff3B0t.js +61 -0
- package/dist/clojure-BtKUzyKV.js +63 -0
- package/dist/cmake-CcFmEv5M.js +62 -0
- package/dist/cobol-SnYz3b9P.js +82 -0
- package/dist/coffeescript-CKJzYVhc.js +110 -0
- package/dist/concurnas-C6YKMKIG.js +90 -0
- package/dist/coq-AH1nKVcq.js +81 -0
- package/dist/core-CcwoL92f.js +1712 -0
- package/dist/cpp-Bh1PKWEj.js +26 -0
- package/dist/cpp-C0j-5811.js +115 -0
- package/dist/crystal-ByWjq0Om.js +87 -0
- package/dist/csharp-BmDeN1AH.js +388 -0
- package/dist/csharp-C-RIlwgF.js +26 -0
- package/dist/cshtml-BX2903vs.js +134 -0
- package/dist/csp-BKqyZN9w.js +90 -0
- package/dist/css-9KZNpeR_.js +90 -0
- package/dist/css-extras-DWWoGQa1.js +139 -0
- package/dist/csv-6jawsFvm.js +37 -0
- package/dist/cypher-GT5Ln_K4.js +65 -0
- package/dist/d-DQuNeOB7.js +109 -0
- package/dist/dart-CHER8X1l.js +101 -0
- package/dist/dataweave-DL_Y2LqP.js +73 -0
- package/dist/dax-D27J9qU6.js +60 -0
- package/dist/dhall-C-Dtjrdj.js +95 -0
- package/dist/diff-Dg1kV9wC.js +78 -0
- package/dist/django-LEJ_YyjH.js +81 -0
- package/dist/dns-zone-file-CX7rXdX2.js +64 -0
- package/dist/docker-CtY3JCLx.js +127 -0
- package/dist/dot-od_DZdpT.js +102 -0
- package/dist/ebnf-DIuzViAe.js +53 -0
- package/dist/editorconfig-CX02cRV5.js +60 -0
- package/dist/eiffel-D3XUiBw2.js +67 -0
- package/dist/ejs-2AfMOM5A.js +58 -0
- package/dist/elixir-722y_YPp.js +129 -0
- package/dist/elm-CIyhdE5y.js +78 -0
- package/dist/erb-B4chbVqA.js +60 -0
- package/dist/erlang-DxizlpkP.js +76 -0
- package/dist/etlua-D_9hun9v.js +58 -0
- package/dist/excel-formula-CmpI_82m.js +95 -0
- package/dist/factor-krg_8lb-.js +949 -0
- package/dist/false-B2gdCewG.js +60 -0
- package/dist/firestore-security-rules-xige90gq.js +67 -0
- package/dist/flow-bpD4sbhm.js +57 -0
- package/dist/fortran-B4crZzNk.js +73 -0
- package/dist/fsharp-BnvVN9HC.js +105 -0
- package/dist/ftl-BoWDVp6s.js +146 -0
- package/dist/gap-DxJ82BxA.js +78 -0
- package/dist/gcode-u6kBGAFD.js +49 -0
- package/dist/gdscript-DvuFm0WL.js +60 -0
- package/dist/gedcom-D6YNHC5R.js +61 -0
- package/dist/gherkin-DhC07ENE.js +115 -0
- package/dist/git-5vwNu_fL.js +96 -0
- package/dist/glsl-BGzQvWQa.js +39 -0
- package/dist/gml-DQQsqa0X.js +40 -0
- package/dist/gn-Bz3fehJS.js +76 -0
- package/dist/go-DQVNbr0F.js +57 -0
- package/dist/go-module-DAdBkEV6.js +55 -0
- package/dist/graphql-b5aI1fau.js +154 -0
- package/dist/groovy-C4Zi8h0f.js +82 -0
- package/dist/haml-B9jL77OH.js +172 -0
- package/dist/handlebars-BWszzUxR.js +74 -0
- package/dist/haskell-BrIvnyGx.js +26 -0
- package/dist/haskell-DR6jYji5.js +75 -0
- package/dist/haxe-DUpmVd5P.js +105 -0
- package/dist/hcl-CLqVpYtA.js +93 -0
- package/dist/hlsl-CsYJVSWg.js +55 -0
- package/dist/hoon-D0TgxHvB.js +47 -0
- package/dist/hpkp-BiU-mQjG.js +41 -0
- package/dist/hsts-DE54dR1b.js +41 -0
- package/dist/http-CfgOm4UI.js +155 -0
- package/dist/ichigojam-CVZ6Aj_t.js +46 -0
- package/dist/icon-CekiVVmc.js +53 -0
- package/dist/icu-message-format-CJA9loKb.js +165 -0
- package/dist/idris-KG9ztadM.js +51 -0
- package/dist/iecst-wFMMjMpf.js +65 -0
- package/dist/ignore-Byv4NN_B.js +51 -0
- package/dist/index-Sj89RFCY.js +136569 -0
- package/dist/index.esm.js +2 -683
- package/dist/index.umd.js +1611 -15
- package/dist/inform7-YsL-LiaC.js +90 -0
- package/dist/ini-ChNiYeuM.js +73 -0
- package/dist/io-BzLClKN_.js +55 -0
- package/dist/j-BuLAn7Gf.js +61 -0
- package/dist/java-3PJ6FLyt.js +26 -0
- package/dist/java-DYIb7l3j.js +98 -0
- package/dist/javadoc-BnSaiIyg.js +118 -0
- package/dist/javadoclike-BSqXhy54.js +26 -0
- package/dist/javadoclike-CHbTYI14.js +59 -0
- package/dist/javascript-Cl708kfq.js +152 -0
- package/dist/javastacktrace-DVGIqwxN.js +167 -0
- package/dist/jexl-DMjq6Vaw.js +47 -0
- package/dist/jolie-DXoSR52A.js +72 -0
- package/dist/jq-Dp1c5kuj.js +100 -0
- package/dist/js-extras-DJfB1MC8.js +150 -0
- package/dist/js-templates--GrCX2F1.js +197 -0
- package/dist/jsdoc-vErSu9Cr.js +116 -0
- package/dist/json-BW8KBIeJ.js +35 -0
- package/dist/json-BefNJCW-.js +26 -0
- package/dist/json5-CsdIXkOZ.js +56 -0
- package/dist/jsonp-Dz_5Lt-E.js +41 -0
- package/dist/jsstacktrace-DbBQ3Cv7.js +74 -0
- package/dist/jsx-Bv5_R7Yd.js +26 -0
- package/dist/jsx-FTe7XA1B.js +77 -0
- package/dist/julia-CoYGw2IR.js +68 -0
- package/dist/keepalived-CPWdwddz.js +81 -0
- package/dist/keyman-DNslP0Yy.js +76 -0
- package/dist/kotlin-CbZgjbyh.js +108 -0
- package/dist/kumir-Q_jLwxfZ.js +120 -0
- package/dist/kusto-dM9uOfWk.js +71 -0
- package/dist/latex-Bfeq39tO.js +92 -0
- package/dist/latte-CFxOlcdj.js +101 -0
- package/dist/less-DwfFB3qp.js +75 -0
- package/dist/lilypond-DaH_baew.js +104 -0
- package/dist/liquid-5rAVI9Ad.js +97 -0
- package/dist/lisp-Btc3xid7.js +194 -0
- package/dist/livescript-DQvJc3cA.js +150 -0
- package/dist/llvm-B7k0U20m.js +52 -0
- package/dist/log-B7ulCZCI.js +133 -0
- package/dist/lolcode-BEEMlfuU.js +81 -0
- package/dist/lua-BggcDXQp.js +31 -0
- package/dist/lua-D-T62TZ5.js +26 -0
- package/dist/magma-DAN3ZGAI.js +63 -0
- package/dist/makefile-Bjl-N6S3.js +63 -0
- package/dist/markdown-6Q2QSFJe.js +355 -0
- package/dist/markup-Bwuswjib.js +194 -0
- package/dist/markup-templating-BLspI5oq.js +26 -0
- package/dist/markup-templating-CVTxtFGH.js +77 -0
- package/dist/matlab-Bim6HLuO.js +46 -0
- package/dist/maxscript-BJqnafAC.js +97 -0
- package/dist/mel-C4iJe_aZ.js +74 -0
- package/dist/mermaid-DbKsw5IU.js +137 -0
- package/dist/mizar-DdUuEnQ0.js +45 -0
- package/dist/mongodb-C7OZqIiL.js +321 -0
- package/dist/monkey-CFQNpGhn.js +61 -0
- package/dist/moonscript-BDdCZd5M.js +87 -0
- package/dist/n1ql-C-ll6pgt.js +55 -0
- package/dist/n4js-DCLtuFdY.js +43 -0
- package/dist/nand2tetris-hdl-DJsK5r3l.js +42 -0
- package/dist/naniscript-DtHo8Sfl.js +165 -0
- package/dist/nasm-gJZT8LPh.js +57 -0
- package/dist/neon-SaMGcsnU.js +73 -0
- package/dist/nevod-Dqvto6vw.js +158 -0
- package/dist/nginx-Cp89qRQy.js +82 -0
- package/dist/nim-CdGVC6Mb.js +75 -0
- package/dist/nix-jnfiSyYI.js +69 -0
- package/dist/nsis-BZ4yPak6.js +58 -0
- package/dist/objectivec-B9lo2Gq2.js +44 -0
- package/dist/ocaml-DtZ_IyiS.js +88 -0
- package/dist/opencl-CtUznKol.js +83 -0
- package/dist/openqasm-BAmjbx7B.js +50 -0
- package/dist/oz-mvOvhn7u.js +61 -0
- package/dist/parigp-B5Xdmiju.js +81 -0
- package/dist/parser-Ct77dMe3.js +106 -0
- package/dist/pascal-Dwf-aqDs.js +95 -0
- package/dist/pascaligo-DWTvG1fw.js +115 -0
- package/dist/pcaxis-BUnNg5h_.js +84 -0
- package/dist/peoplecode-CewkQs1u.js +74 -0
- package/dist/perl-CmRi-uRU.js +164 -0
- package/dist/php-C_FrOCG4.js +334 -0
- package/dist/php-e7f7GtZ8.js +26 -0
- package/dist/php-extras-ATZDccPm.js +50 -0
- package/dist/phpdoc-uba1O-5-.js +61 -0
- package/dist/plsql-BLNilzVM.js +51 -0
- package/dist/powerquery-CddEWH0P.js +83 -0
- package/dist/powershell-SimxvdWh.js +88 -0
- package/dist/processing-IeXhsRmw.js +46 -0
- package/dist/prolog-CnTr7enQ.js +52 -0
- package/dist/promql-DpmXmCiA.js +120 -0
- package/dist/properties-BraQbkIL.js +42 -0
- package/dist/protobuf-BKmtm9wI.js +71 -0
- package/dist/psl-DfJLNMzA.js +68 -0
- package/dist/pug-C7olXkyh.js +212 -0
- package/dist/puppet-DMdAuQ_Z.js +167 -0
- package/dist/pure-BVQraXQo.js +111 -0
- package/dist/purebasic-DnAwivDW.js +87 -0
- package/dist/purescript-BBcUX3cf.js +62 -0
- package/dist/python-C9JXUpy2.js +94 -0
- package/dist/q-Ct9Ut4C4.js +83 -0
- package/dist/qml-DubjWeE3.js +103 -0
- package/dist/qore-CDjxpVlT.js +53 -0
- package/dist/qsharp-Dyr5mrma.js +128 -0
- package/dist/r-B4F2KUJL.js +55 -0
- package/dist/racket-D5k9UW-t.js +50 -0
- package/dist/reason-Cs82zJO7.js +54 -0
- package/dist/regex-Z8MvaNEm.js +124 -0
- package/dist/rego-CcGrxeab.js +58 -0
- package/dist/renpy-mByYQWSM.js +51 -0
- package/dist/rest-BoR9ZMoX.js +231 -0
- package/dist/rip-C3Bf4Bpl.js +62 -0
- package/dist/roboconf-1MYmsJJ7.js +60 -0
- package/dist/robotframework-fBSrPGHK.js +122 -0
- package/dist/ruby-BQlisu6i.js +182 -0
- package/dist/ruby-DRrUXRqW.js +26 -0
- package/dist/rust-DhUR7ICB.js +149 -0
- package/dist/sas-D7DM5vmM.js +362 -0
- package/dist/sass-B-3W9xmk.js +96 -0
- package/dist/scala-DmHnWeTz.js +80 -0
- package/dist/scheme-B-TWMKN_.js +122 -0
- package/dist/scheme-egHBLRqV.js +26 -0
- package/dist/scss-BU4D1BLj.js +106 -0
- package/dist/shell-session-6QFBv7G6.js +93 -0
- package/dist/smali-B48Y4QYt.js +112 -0
- package/dist/smalltalk-w59b04aF.js +71 -0
- package/dist/smarty-CnWvL-Ef.js +147 -0
- package/dist/sml-cUUD1qMQ.js +91 -0
- package/dist/solidity-Drt__SLk.js +49 -0
- package/dist/solution-file-CYG1BOQK.js +79 -0
- package/dist/soy-BZNQzgkB.js +112 -0
- package/dist/sparql-BQDndvZG.js +49 -0
- package/dist/splunk-spl-ezOLCJwA.js +57 -0
- package/dist/sqf-C83ezg-4.js +63 -0
- package/dist/sql-CVBSuRzU.js +26 -0
- package/dist/sql-qhcRp-Km.js +44 -0
- package/dist/squirrel-2r-3bEO_.js +74 -0
- package/dist/stan-D2wLHzr8.js +86 -0
- package/dist/style.css +1 -1
- package/dist/stylus-KkSvURTJ.js +165 -0
- package/dist/swift-c7528WsQ.js +152 -0
- package/dist/systemd-DWsV0AtP.js +88 -0
- package/dist/t4-cs-D7NmzTCB.js +38 -0
- package/dist/t4-templating-Bc9GyRcs.js +26 -0
- package/dist/t4-templating-yxm91MEk.js +56 -0
- package/dist/t4-vb-Df3tMe1Q.js +38 -0
- package/dist/tap-wFXvu_No.js +56 -0
- package/dist/tcl-BZqzhUcQ.js +79 -0
- package/dist/textile-DrTKyn7T.js +289 -0
- package/dist/toml-LVQpNmZe.js +86 -0
- package/dist/tremor-A_cxX8C4.js +90 -0
- package/dist/tsx-CQKNNLzi.js +46 -0
- package/dist/tt2-CPOtfoBh.js +78 -0
- package/dist/turtle-BjRE9oBS.js +26 -0
- package/dist/turtle-z6QfbtiY.js +61 -0
- package/dist/twig-Cz25rowk.js +72 -0
- package/dist/typescript--VNBoLO-.js +56 -0
- package/dist/typescript-Bx2QMcny.js +26 -0
- package/dist/typoscript-BdH7x5a4.js +109 -0
- package/dist/unrealscript-Cb8322pT.js +71 -0
- package/dist/uorazor-CHv0VHYn.js +81 -0
- package/dist/uri-ci9M926F.js +116 -0
- package/dist/v-DL4z_kNT.js +106 -0
- package/dist/vala-CPIzd5en.js +113 -0
- package/dist/vbnet-BoCvq106.js +26 -0
- package/dist/vbnet-ClfmYufs.js +36 -0
- package/dist/velocity-CBXhMUrK.js +99 -0
- package/dist/verilog-C1ZX-Tr8.js +59 -0
- package/dist/vhdl-CLlMgFjz.js +56 -0
- package/dist/vim-BuFUFT06.js +43 -0
- package/dist/visual-basic-CzPES6jG.js +59 -0
- package/dist/warpscript-C5YvStKz.js +54 -0
- package/dist/wasm-txCKMkgE.js +64 -0
- package/dist/web-idl-B4OgJf1y.js +118 -0
- package/dist/wiki-C6_DR7WK.js +110 -0
- package/dist/wolfram-D9ETP9M6.js +58 -0
- package/dist/wren-CkhJWcmB.js +121 -0
- package/dist/xeora-Cg3OrGlT.js +147 -0
- package/dist/xml-doc-C0mFvWUS.js +56 -0
- package/dist/xojo-CW6K9MHL.js +51 -0
- package/dist/xquery-B0ssbj_m.js +118 -0
- package/dist/yaml-S0xfBtlT.js +26 -0
- package/dist/yaml-hxc7aP7n.js +92 -0
- package/dist/yang-Dg6OSQ6Y.js +53 -0
- package/dist/zig-xuUtE8Pe.js +117 -0
- package/package.json +30 -4
- package/dist/index.d.ts +0 -2
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { g as u } from "./index-Sj89RFCY.js";
|
|
2
|
+
function c(s, e) {
|
|
3
|
+
for (var a = 0; a < e.length; a++) {
|
|
4
|
+
const t = e[a];
|
|
5
|
+
if (typeof t != "string" && !Array.isArray(t)) {
|
|
6
|
+
for (const r in t)
|
|
7
|
+
if (r !== "default" && !(r in s)) {
|
|
8
|
+
const n = Object.getOwnPropertyDescriptor(t, r);
|
|
9
|
+
n && Object.defineProperty(s, r, n.get ? n : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => t[r]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(s, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var o, i;
|
|
19
|
+
function p() {
|
|
20
|
+
if (i) return o;
|
|
21
|
+
i = 1, o = s, s.displayName = "scss", s.aliases = [];
|
|
22
|
+
function s(e) {
|
|
23
|
+
e.languages.scss = e.languages.extend("css", {
|
|
24
|
+
comment: {
|
|
25
|
+
pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,
|
|
26
|
+
lookbehind: !0
|
|
27
|
+
},
|
|
28
|
+
atrule: {
|
|
29
|
+
pattern: /@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,
|
|
30
|
+
inside: {
|
|
31
|
+
rule: /@[\w-]+/
|
|
32
|
+
// See rest below
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
// url, compassified
|
|
36
|
+
url: /(?:[-a-z]+-)?url(?=\()/i,
|
|
37
|
+
// CSS selector regex is not appropriate for Sass
|
|
38
|
+
// since there can be lot more things (var, @ directive, nesting..)
|
|
39
|
+
// a selector must start at the end of a property or after a brace (end of other rules or nesting)
|
|
40
|
+
// it can contain some characters that aren't used for defining rules or end of selector, & (parent selector), or interpolated variable
|
|
41
|
+
// the end of a selector is found when there is no rules in it ( {} or {\s}) or if there is a property (because an interpolated var
|
|
42
|
+
// can "pass" as a selector- e.g: proper#{$erty})
|
|
43
|
+
// this one was hard to do, so please be careful if you edit this one :)
|
|
44
|
+
selector: {
|
|
45
|
+
// Initial look-ahead is used to prevent matching of blank selectors
|
|
46
|
+
pattern: /(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,
|
|
47
|
+
inside: {
|
|
48
|
+
parent: {
|
|
49
|
+
pattern: /&/,
|
|
50
|
+
alias: "important"
|
|
51
|
+
},
|
|
52
|
+
placeholder: /%[-\w]+/,
|
|
53
|
+
variable: /\$[-\w]+|#\{\$[-\w]+\}/
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
property: {
|
|
57
|
+
pattern: /(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,
|
|
58
|
+
inside: {
|
|
59
|
+
variable: /\$[-\w]+|#\{\$[-\w]+\}/
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}), e.languages.insertBefore("scss", "atrule", {
|
|
63
|
+
keyword: [
|
|
64
|
+
/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,
|
|
65
|
+
{
|
|
66
|
+
pattern: /( )(?:from|through)(?= )/,
|
|
67
|
+
lookbehind: !0
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
}), e.languages.insertBefore("scss", "important", {
|
|
71
|
+
// var and interpolated vars
|
|
72
|
+
variable: /\$[-\w]+|#\{\$[-\w]+\}/
|
|
73
|
+
}), e.languages.insertBefore("scss", "function", {
|
|
74
|
+
"module-modifier": {
|
|
75
|
+
pattern: /\b(?:as|hide|show|with)\b/i,
|
|
76
|
+
alias: "keyword"
|
|
77
|
+
},
|
|
78
|
+
placeholder: {
|
|
79
|
+
pattern: /%[-\w]+/,
|
|
80
|
+
alias: "selector"
|
|
81
|
+
},
|
|
82
|
+
statement: {
|
|
83
|
+
pattern: /\B!(?:default|optional)\b/i,
|
|
84
|
+
alias: "keyword"
|
|
85
|
+
},
|
|
86
|
+
boolean: /\b(?:false|true)\b/,
|
|
87
|
+
null: {
|
|
88
|
+
pattern: /\bnull\b/,
|
|
89
|
+
alias: "keyword"
|
|
90
|
+
},
|
|
91
|
+
operator: {
|
|
92
|
+
pattern: /(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,
|
|
93
|
+
lookbehind: !0
|
|
94
|
+
}
|
|
95
|
+
}), e.languages.scss.atrule.inside.rest = e.languages.scss;
|
|
96
|
+
}
|
|
97
|
+
return o;
|
|
98
|
+
}
|
|
99
|
+
var l = p();
|
|
100
|
+
const d = /* @__PURE__ */ u(l), g = /* @__PURE__ */ c({
|
|
101
|
+
__proto__: null,
|
|
102
|
+
default: d
|
|
103
|
+
}, [l]);
|
|
104
|
+
export {
|
|
105
|
+
g as s
|
|
106
|
+
};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { g as u } from "./index-Sj89RFCY.js";
|
|
2
|
+
import { r as c } from "./bash-0-vitIuH.js";
|
|
3
|
+
function g(t, r) {
|
|
4
|
+
for (var n = 0; n < r.length; n++) {
|
|
5
|
+
const e = r[n];
|
|
6
|
+
if (typeof e != "string" && !Array.isArray(e)) {
|
|
7
|
+
for (const s in e)
|
|
8
|
+
if (s !== "default" && !(s in t)) {
|
|
9
|
+
const o = Object.getOwnPropertyDescriptor(e, s);
|
|
10
|
+
o && Object.defineProperty(t, s, o.get ? o : {
|
|
11
|
+
enumerable: !0,
|
|
12
|
+
get: () => e[s]
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
|
18
|
+
}
|
|
19
|
+
var a, l;
|
|
20
|
+
function p() {
|
|
21
|
+
if (l) return a;
|
|
22
|
+
l = 1;
|
|
23
|
+
var t = c();
|
|
24
|
+
a = r, r.displayName = "shellSession", r.aliases = [];
|
|
25
|
+
function r(n) {
|
|
26
|
+
n.register(t), function(e) {
|
|
27
|
+
var s = [
|
|
28
|
+
// normal string
|
|
29
|
+
/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,
|
|
30
|
+
/'[^']*'/.source,
|
|
31
|
+
/\$'(?:[^'\\]|\\[\s\S])*'/.source,
|
|
32
|
+
// here doc
|
|
33
|
+
// 2 capturing groups
|
|
34
|
+
/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source
|
|
35
|
+
].join("|");
|
|
36
|
+
e.languages["shell-session"] = {
|
|
37
|
+
command: {
|
|
38
|
+
pattern: RegExp(
|
|
39
|
+
// user info
|
|
40
|
+
/^/.source + "(?:" + // <user> ":" ( <path> )?
|
|
41
|
+
(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source + "|" + // <path>
|
|
42
|
+
// Since the path pattern is quite general, we will require it to start with a special character to
|
|
43
|
+
// prevent false positives.
|
|
44
|
+
/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source) + ")?" + // shell symbol
|
|
45
|
+
/[$#%](?=\s)/.source + // bash command
|
|
46
|
+
/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(
|
|
47
|
+
/<<str>>/g,
|
|
48
|
+
function() {
|
|
49
|
+
return s;
|
|
50
|
+
}
|
|
51
|
+
),
|
|
52
|
+
"m"
|
|
53
|
+
),
|
|
54
|
+
greedy: !0,
|
|
55
|
+
inside: {
|
|
56
|
+
info: {
|
|
57
|
+
// foo@bar:~/files$ exit
|
|
58
|
+
// foo@bar$ exit
|
|
59
|
+
// ~/files$ exit
|
|
60
|
+
pattern: /^[^#$%]+/,
|
|
61
|
+
alias: "punctuation",
|
|
62
|
+
inside: {
|
|
63
|
+
user: /^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,
|
|
64
|
+
punctuation: /:/,
|
|
65
|
+
path: /[\s\S]+/
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
bash: {
|
|
69
|
+
pattern: /(^[$#%]\s*)\S[\s\S]*/,
|
|
70
|
+
lookbehind: !0,
|
|
71
|
+
alias: "language-bash",
|
|
72
|
+
inside: e.languages.bash
|
|
73
|
+
},
|
|
74
|
+
"shell-symbol": {
|
|
75
|
+
pattern: /^[$#%]/,
|
|
76
|
+
alias: "important"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
output: /.(?:.*(?:[\r\n]|.$))*/
|
|
81
|
+
}, e.languages["sh-session"] = e.languages.shellsession = e.languages["shell-session"];
|
|
82
|
+
}(n);
|
|
83
|
+
}
|
|
84
|
+
return a;
|
|
85
|
+
}
|
|
86
|
+
var i = p();
|
|
87
|
+
const f = /* @__PURE__ */ u(i), S = /* @__PURE__ */ g({
|
|
88
|
+
__proto__: null,
|
|
89
|
+
default: f
|
|
90
|
+
}, [i]);
|
|
91
|
+
export {
|
|
92
|
+
S as s
|
|
93
|
+
};
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { g as u } from "./index-Sj89RFCY.js";
|
|
2
|
+
function d(e, n) {
|
|
3
|
+
for (var a = 0; a < n.length; a++) {
|
|
4
|
+
const t = n[a];
|
|
5
|
+
if (typeof t != "string" && !Array.isArray(t)) {
|
|
6
|
+
for (const r in t)
|
|
7
|
+
if (r !== "default" && !(r in e)) {
|
|
8
|
+
const i = Object.getOwnPropertyDescriptor(t, r);
|
|
9
|
+
i && Object.defineProperty(e, r, i.get ? i : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => t[r]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var o, l;
|
|
19
|
+
function p() {
|
|
20
|
+
if (l) return o;
|
|
21
|
+
l = 1, o = e, e.displayName = "smali", e.aliases = [];
|
|
22
|
+
function e(n) {
|
|
23
|
+
n.languages.smali = {
|
|
24
|
+
comment: /#.*/,
|
|
25
|
+
string: {
|
|
26
|
+
pattern: /"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,
|
|
27
|
+
greedy: !0
|
|
28
|
+
},
|
|
29
|
+
"class-name": {
|
|
30
|
+
pattern: /(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,
|
|
31
|
+
lookbehind: !0,
|
|
32
|
+
inside: {
|
|
33
|
+
"class-name": {
|
|
34
|
+
pattern: /(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,
|
|
35
|
+
lookbehind: !0
|
|
36
|
+
},
|
|
37
|
+
namespace: {
|
|
38
|
+
pattern: /^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,
|
|
39
|
+
lookbehind: !0,
|
|
40
|
+
inside: {
|
|
41
|
+
punctuation: /\//
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
builtin: /^L/
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
builtin: [
|
|
48
|
+
{
|
|
49
|
+
// Reference: https://github.com/JesusFreke/smali/wiki/TypesMethodsAndFields#types
|
|
50
|
+
pattern: /([();\[])[BCDFIJSVZ]+/,
|
|
51
|
+
lookbehind: !0
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
// e.g. .field mWifiOnUid:I
|
|
55
|
+
pattern: /([\w$>]:)[BCDFIJSVZ]/,
|
|
56
|
+
lookbehind: !0
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
keyword: [
|
|
60
|
+
{
|
|
61
|
+
pattern: /(\.end\s+)[\w-]+/,
|
|
62
|
+
lookbehind: !0
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
pattern: /(^|[^\w.-])\.(?!\d)[\w-]+/,
|
|
66
|
+
lookbehind: !0
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
pattern: /(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,
|
|
70
|
+
lookbehind: !0
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
function: {
|
|
74
|
+
pattern: /(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,
|
|
75
|
+
lookbehind: !0
|
|
76
|
+
},
|
|
77
|
+
field: {
|
|
78
|
+
pattern: /[\w$]+(?=:)/,
|
|
79
|
+
alias: "variable"
|
|
80
|
+
},
|
|
81
|
+
register: {
|
|
82
|
+
pattern: /(^|[^\w.-])[vp]\d(?![\w.-])/,
|
|
83
|
+
lookbehind: !0,
|
|
84
|
+
alias: "variable"
|
|
85
|
+
},
|
|
86
|
+
boolean: {
|
|
87
|
+
pattern: /(^|[^\w.-])(?:false|true)(?![\w.-])/,
|
|
88
|
+
lookbehind: !0
|
|
89
|
+
},
|
|
90
|
+
number: {
|
|
91
|
+
pattern: /(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,
|
|
92
|
+
lookbehind: !0
|
|
93
|
+
},
|
|
94
|
+
label: {
|
|
95
|
+
pattern: /(:)\w+/,
|
|
96
|
+
lookbehind: !0,
|
|
97
|
+
alias: "property"
|
|
98
|
+
},
|
|
99
|
+
operator: /->|\.\.|[\[=]/,
|
|
100
|
+
punctuation: /[{}(),;:]/
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
return o;
|
|
104
|
+
}
|
|
105
|
+
var s = p();
|
|
106
|
+
const b = /* @__PURE__ */ u(s), m = /* @__PURE__ */ d({
|
|
107
|
+
__proto__: null,
|
|
108
|
+
default: b
|
|
109
|
+
}, [s]);
|
|
110
|
+
export {
|
|
111
|
+
m as s
|
|
112
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { g as u } from "./index-Sj89RFCY.js";
|
|
2
|
+
function d(e, a) {
|
|
3
|
+
for (var l = 0; l < a.length; l++) {
|
|
4
|
+
const t = a[l];
|
|
5
|
+
if (typeof t != "string" && !Array.isArray(t)) {
|
|
6
|
+
for (const r in t)
|
|
7
|
+
if (r !== "default" && !(r in e)) {
|
|
8
|
+
const n = Object.getOwnPropertyDescriptor(t, r);
|
|
9
|
+
n && Object.defineProperty(e, r, n.get ? n : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => t[r]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var o, s;
|
|
19
|
+
function p() {
|
|
20
|
+
if (s) return o;
|
|
21
|
+
s = 1, o = e, e.displayName = "smalltalk", e.aliases = [];
|
|
22
|
+
function e(a) {
|
|
23
|
+
a.languages.smalltalk = {
|
|
24
|
+
comment: {
|
|
25
|
+
pattern: /"(?:""|[^"])*"/,
|
|
26
|
+
greedy: !0
|
|
27
|
+
},
|
|
28
|
+
char: {
|
|
29
|
+
pattern: /\$./,
|
|
30
|
+
greedy: !0
|
|
31
|
+
},
|
|
32
|
+
string: {
|
|
33
|
+
pattern: /'(?:''|[^'])*'/,
|
|
34
|
+
greedy: !0
|
|
35
|
+
},
|
|
36
|
+
symbol: /#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,
|
|
37
|
+
"block-arguments": {
|
|
38
|
+
pattern: /(\[\s*):[^\[|]*\|/,
|
|
39
|
+
lookbehind: !0,
|
|
40
|
+
inside: {
|
|
41
|
+
variable: /:[\da-z]+/i,
|
|
42
|
+
punctuation: /\|/
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"temporary-variables": {
|
|
46
|
+
pattern: /\|[^|]+\|/,
|
|
47
|
+
inside: {
|
|
48
|
+
variable: /[\da-z]+/i,
|
|
49
|
+
punctuation: /\|/
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
keyword: /\b(?:new|nil|self|super)\b/,
|
|
53
|
+
boolean: /\b(?:false|true)\b/,
|
|
54
|
+
number: [
|
|
55
|
+
/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,
|
|
56
|
+
/\b\d+(?:\.\d+)?(?:e-?\d+)?/
|
|
57
|
+
],
|
|
58
|
+
operator: /[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,
|
|
59
|
+
punctuation: /[.;:?\[\](){}]/
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
return o;
|
|
63
|
+
}
|
|
64
|
+
var i = p();
|
|
65
|
+
const m = /* @__PURE__ */ u(i), b = /* @__PURE__ */ d({
|
|
66
|
+
__proto__: null,
|
|
67
|
+
default: m
|
|
68
|
+
}, [i]);
|
|
69
|
+
export {
|
|
70
|
+
b as s
|
|
71
|
+
};
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { g as f } from "./index-Sj89RFCY.js";
|
|
2
|
+
import { r as m } from "./markup-templating-CVTxtFGH.js";
|
|
3
|
+
function c(n, r) {
|
|
4
|
+
for (var a = 0; a < r.length; a++) {
|
|
5
|
+
const e = r[a];
|
|
6
|
+
if (typeof e != "string" && !Array.isArray(e)) {
|
|
7
|
+
for (const t in e)
|
|
8
|
+
if (t !== "default" && !(t in n)) {
|
|
9
|
+
const s = Object.getOwnPropertyDescriptor(e, t);
|
|
10
|
+
s && Object.defineProperty(n, t, s.get ? s : {
|
|
11
|
+
enumerable: !0,
|
|
12
|
+
get: () => e[t]
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
18
|
+
}
|
|
19
|
+
var p, l;
|
|
20
|
+
function b() {
|
|
21
|
+
if (l) return p;
|
|
22
|
+
l = 1;
|
|
23
|
+
var n = m();
|
|
24
|
+
p = r, r.displayName = "smarty", r.aliases = [];
|
|
25
|
+
function r(a) {
|
|
26
|
+
a.register(n), function(e) {
|
|
27
|
+
e.languages.smarty = {
|
|
28
|
+
comment: {
|
|
29
|
+
pattern: /^\{\*[\s\S]*?\*\}/,
|
|
30
|
+
greedy: !0
|
|
31
|
+
},
|
|
32
|
+
"embedded-php": {
|
|
33
|
+
pattern: /^\{php\}[\s\S]*?\{\/php\}/,
|
|
34
|
+
greedy: !0,
|
|
35
|
+
inside: {
|
|
36
|
+
smarty: {
|
|
37
|
+
pattern: /^\{php\}|\{\/php\}$/,
|
|
38
|
+
inside: null
|
|
39
|
+
// see below
|
|
40
|
+
},
|
|
41
|
+
php: {
|
|
42
|
+
pattern: /[\s\S]+/,
|
|
43
|
+
alias: "language-php",
|
|
44
|
+
inside: e.languages.php
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
string: [
|
|
49
|
+
{
|
|
50
|
+
pattern: /"(?:\\.|[^"\\\r\n])*"/,
|
|
51
|
+
greedy: !0,
|
|
52
|
+
inside: {
|
|
53
|
+
interpolation: {
|
|
54
|
+
pattern: /\{[^{}]*\}|`[^`]*`/,
|
|
55
|
+
inside: {
|
|
56
|
+
"interpolation-punctuation": {
|
|
57
|
+
pattern: /^[{`]|[`}]$/,
|
|
58
|
+
alias: "punctuation"
|
|
59
|
+
},
|
|
60
|
+
expression: {
|
|
61
|
+
pattern: /[\s\S]+/,
|
|
62
|
+
inside: null
|
|
63
|
+
// see below
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
variable: /\$\w+/
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
pattern: /'(?:\\.|[^'\\\r\n])*'/,
|
|
72
|
+
greedy: !0
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
keyword: {
|
|
76
|
+
pattern: /(^\{\/?)[a-z_]\w*\b(?!\()/i,
|
|
77
|
+
lookbehind: !0,
|
|
78
|
+
greedy: !0
|
|
79
|
+
},
|
|
80
|
+
delimiter: {
|
|
81
|
+
pattern: /^\{\/?|\}$/,
|
|
82
|
+
greedy: !0,
|
|
83
|
+
alias: "punctuation"
|
|
84
|
+
},
|
|
85
|
+
number: /\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,
|
|
86
|
+
variable: [
|
|
87
|
+
/\$(?!\d)\w+/,
|
|
88
|
+
/#(?!\d)\w+#/,
|
|
89
|
+
{
|
|
90
|
+
pattern: /(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,
|
|
91
|
+
lookbehind: !0
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
pattern: /(\[)(?!\d)\w+(?=\])/,
|
|
95
|
+
lookbehind: !0
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
function: {
|
|
99
|
+
pattern: /(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,
|
|
100
|
+
lookbehind: !0
|
|
101
|
+
},
|
|
102
|
+
"attr-name": /\b[a-z_]\w*(?=\s*=)/i,
|
|
103
|
+
boolean: /\b(?:false|no|off|on|true|yes)\b/,
|
|
104
|
+
punctuation: /[\[\](){}.,:`]|->/,
|
|
105
|
+
operator: [
|
|
106
|
+
/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,
|
|
107
|
+
/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,
|
|
108
|
+
/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/
|
|
109
|
+
]
|
|
110
|
+
}, e.languages.smarty["embedded-php"].inside.smarty.inside = e.languages.smarty, e.languages.smarty.string[0].inside.interpolation.inside.expression.inside = e.languages.smarty;
|
|
111
|
+
var t = /"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/, s = RegExp(
|
|
112
|
+
// comments
|
|
113
|
+
/\{\*[\s\S]*?\*\}/.source + "|" + // php tags
|
|
114
|
+
/\{php\}[\s\S]*?\{\/php\}/.source + "|" + // smarty blocks
|
|
115
|
+
/\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>)*\})*\})*\}/.source.replace(
|
|
116
|
+
/<str>/g,
|
|
117
|
+
function() {
|
|
118
|
+
return t.source;
|
|
119
|
+
}
|
|
120
|
+
),
|
|
121
|
+
"g"
|
|
122
|
+
);
|
|
123
|
+
e.hooks.add("before-tokenize", function(i) {
|
|
124
|
+
var g = "{literal}", y = "{/literal}", o = !1;
|
|
125
|
+
e.languages["markup-templating"].buildPlaceholders(
|
|
126
|
+
i,
|
|
127
|
+
"smarty",
|
|
128
|
+
s,
|
|
129
|
+
function(u) {
|
|
130
|
+
return u === y && (o = !1), o ? !1 : (u === g && (o = !0), !0);
|
|
131
|
+
}
|
|
132
|
+
);
|
|
133
|
+
}), e.hooks.add("after-tokenize", function(i) {
|
|
134
|
+
e.languages["markup-templating"].tokenizePlaceholders(i, "smarty");
|
|
135
|
+
});
|
|
136
|
+
}(a);
|
|
137
|
+
}
|
|
138
|
+
return p;
|
|
139
|
+
}
|
|
140
|
+
var d = b();
|
|
141
|
+
const h = /* @__PURE__ */ f(d), w = /* @__PURE__ */ c({
|
|
142
|
+
__proto__: null,
|
|
143
|
+
default: h
|
|
144
|
+
}, [d]);
|
|
145
|
+
export {
|
|
146
|
+
w as s
|
|
147
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { g as l } from "./index-Sj89RFCY.js";
|
|
2
|
+
function c(r, 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 n in t)
|
|
7
|
+
if (n !== "default" && !(n in r)) {
|
|
8
|
+
const s = Object.getOwnPropertyDescriptor(t, n);
|
|
9
|
+
s && Object.defineProperty(r, n, s.get ? s : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => t[n]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var o, u;
|
|
19
|
+
function f() {
|
|
20
|
+
if (u) return o;
|
|
21
|
+
u = 1, o = r, r.displayName = "sml", r.aliases = ["smlnj"];
|
|
22
|
+
function r(a) {
|
|
23
|
+
(function(e) {
|
|
24
|
+
var t = /\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;
|
|
25
|
+
e.languages.sml = {
|
|
26
|
+
// allow one level of nesting
|
|
27
|
+
comment: /\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,
|
|
28
|
+
string: {
|
|
29
|
+
pattern: /#?"(?:[^"\\]|\\.)*"/,
|
|
30
|
+
greedy: !0
|
|
31
|
+
},
|
|
32
|
+
"class-name": [
|
|
33
|
+
{
|
|
34
|
+
// This is only an approximation since the real grammar is context-free
|
|
35
|
+
//
|
|
36
|
+
// Why the main loop so complex?
|
|
37
|
+
// The main loop is approximately the same as /(?:\s*(?:[*,]|->)\s*<TERMINAL>)*/ which is, obviously, a lot
|
|
38
|
+
// simpler. The difference is that if a comma is the last iteration of the loop, then the terminal must be
|
|
39
|
+
// followed by a long identifier.
|
|
40
|
+
pattern: RegExp(
|
|
41
|
+
/((?:^|[^:]):\s*)<TERMINAL>(?:\s*(?:(?:\*|->)\s*<TERMINAL>|,\s*<TERMINAL>(?:(?=<NOT-LAST>)|(?!<NOT-LAST>)\s+<LONG-ID>)))*/.source.replace(/<NOT-LAST>/g, function() {
|
|
42
|
+
return /\s*(?:[*,]|->)/.source;
|
|
43
|
+
}).replace(/<TERMINAL>/g, function() {
|
|
44
|
+
return /(?:'[\w']*|<LONG-ID>|\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+<LONG-ID>)*/.source;
|
|
45
|
+
}).replace(/<LONG-ID>/g, function() {
|
|
46
|
+
return /(?!<KEYWORD>)[a-z\d_][\w'.]*/.source;
|
|
47
|
+
}).replace(/<KEYWORD>/g, function() {
|
|
48
|
+
return t.source;
|
|
49
|
+
}),
|
|
50
|
+
"i"
|
|
51
|
+
),
|
|
52
|
+
lookbehind: !0,
|
|
53
|
+
greedy: !0,
|
|
54
|
+
inside: null
|
|
55
|
+
// see below
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
pattern: /((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,
|
|
59
|
+
lookbehind: !0
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
function: {
|
|
63
|
+
pattern: /((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,
|
|
64
|
+
lookbehind: !0
|
|
65
|
+
},
|
|
66
|
+
keyword: t,
|
|
67
|
+
variable: {
|
|
68
|
+
pattern: /(^|[^\w'])'[\w']*/,
|
|
69
|
+
lookbehind: !0
|
|
70
|
+
},
|
|
71
|
+
number: /~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,
|
|
72
|
+
word: {
|
|
73
|
+
pattern: /\b0w(?:\d+|x[\da-f]+)\b/i,
|
|
74
|
+
alias: "constant"
|
|
75
|
+
},
|
|
76
|
+
boolean: /\b(?:false|true)\b/i,
|
|
77
|
+
operator: /\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,
|
|
78
|
+
punctuation: /[(){}\[\].:,;]/
|
|
79
|
+
}, e.languages.sml["class-name"][0].inside = e.languages.sml, e.languages.smlnj = e.languages.sml;
|
|
80
|
+
})(a);
|
|
81
|
+
}
|
|
82
|
+
return o;
|
|
83
|
+
}
|
|
84
|
+
var i = f();
|
|
85
|
+
const p = /* @__PURE__ */ l(i), g = /* @__PURE__ */ c({
|
|
86
|
+
__proto__: null,
|
|
87
|
+
default: p
|
|
88
|
+
}, [i]);
|
|
89
|
+
export {
|
|
90
|
+
g as s
|
|
91
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { g as u } from "./index-Sj89RFCY.js";
|
|
2
|
+
function d(t, e) {
|
|
3
|
+
for (var o = 0; o < e.length; o++) {
|
|
4
|
+
const r = e[o];
|
|
5
|
+
if (typeof r != "string" && !Array.isArray(r)) {
|
|
6
|
+
for (const i in r)
|
|
7
|
+
if (i !== "default" && !(i in t)) {
|
|
8
|
+
const n = Object.getOwnPropertyDescriptor(r, i);
|
|
9
|
+
n && Object.defineProperty(t, i, n.get ? n : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => r[i]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var a, s;
|
|
19
|
+
function c() {
|
|
20
|
+
if (s) return a;
|
|
21
|
+
s = 1, a = t, t.displayName = "solidity", t.aliases = ["sol"];
|
|
22
|
+
function t(e) {
|
|
23
|
+
e.languages.solidity = e.languages.extend("clike", {
|
|
24
|
+
"class-name": {
|
|
25
|
+
pattern: /(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,
|
|
26
|
+
lookbehind: !0
|
|
27
|
+
},
|
|
28
|
+
keyword: /\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,
|
|
29
|
+
operator: /=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/
|
|
30
|
+
}), e.languages.insertBefore("solidity", "keyword", {
|
|
31
|
+
builtin: /\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/
|
|
32
|
+
}), e.languages.insertBefore("solidity", "number", {
|
|
33
|
+
version: {
|
|
34
|
+
pattern: /([<>]=?|\^)\d+\.\d+\.\d+\b/,
|
|
35
|
+
lookbehind: !0,
|
|
36
|
+
alias: "number"
|
|
37
|
+
}
|
|
38
|
+
}), e.languages.sol = e.languages.solidity;
|
|
39
|
+
}
|
|
40
|
+
return a;
|
|
41
|
+
}
|
|
42
|
+
var l = c();
|
|
43
|
+
const y = /* @__PURE__ */ u(l), g = /* @__PURE__ */ d({
|
|
44
|
+
__proto__: null,
|
|
45
|
+
default: y
|
|
46
|
+
}, [l]);
|
|
47
|
+
export {
|
|
48
|
+
g as s
|
|
49
|
+
};
|