@webskill/chatbot 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +141 -0
- package/dist/1c-Ol9PZ6qo.js +106 -0
- package/dist/abap-BPSJPIgj.js +49 -0
- package/dist/abnf-D0BFxVgo.js +90 -0
- package/dist/abnf-bBppUkG9.js +55 -0
- package/dist/accesslog-Dn9o7ulp.js +107 -0
- package/dist/actionscript-D8diOsqZ.js +99 -0
- package/dist/actionscript-DbKRhXQ0.js +27 -0
- package/dist/ada-2HceEzW4.js +27 -0
- package/dist/ada-D12AxSm3.js +116 -0
- package/dist/agda-CFKulfm-.js +35 -0
- package/dist/al-BephVruQ.js +30 -0
- package/dist/angelscript-BvL7ocfM.js +100 -0
- package/dist/antlr4-vb9rrA0O.js +72 -0
- package/dist/apache-D2u3ExHM.js +73 -0
- package/dist/apacheconf-A824OW4m.js +53 -0
- package/dist/apex-C0PtYFGW.js +75 -0
- package/dist/apl--y8UJpQX.js +44 -0
- package/dist/applescript-CUvZM-Da.js +25 -0
- package/dist/applescript-Du_gvVC2.js +134 -0
- package/dist/aql-Dgv0SELr.js +58 -0
- package/dist/arcade-D9a_xSSB.js +127 -0
- package/dist/arduino-CFEhwFVx.js +389 -0
- package/dist/arduino-ChCZAyCM.js +21 -0
- package/dist/arff-CqocPnyE.js +22 -0
- package/dist/armasm-Csvvzoh3.js +54 -0
- package/dist/armasm-D-aW_xRY.js +71 -0
- package/dist/arturo-BNv4BwTT.js +93 -0
- package/dist/asciidoc-BqBFVMZa.js +177 -0
- package/dist/asciidoc-DIgueV5Z.js +206 -0
- package/dist/asm6502-BBL1b2rm.js +41 -0
- package/dist/asmatmel-XbBRhc8b.js +53 -0
- package/dist/aspectj-CGsigJA7.js +146 -0
- package/dist/aspnet-BrsQPoMV.js +53 -0
- package/dist/autohotkey-BUiiDmJm.js +45 -0
- package/dist/autohotkey-BipzdrsK.js +60 -0
- package/dist/autoit-CYMA0m_y.js +139 -0
- package/dist/autoit-Cz-elVYJ.js +39 -0
- package/dist/avisynth-DMCKcoud.js +128 -0
- package/dist/avrasm-D_QpYGXU.js +52 -0
- package/dist/avro-idl-D648BLU1.js +51 -0
- package/dist/awk-BhCmk5Qr.js +64 -0
- package/dist/awk-Di_UhIvW.js +40 -0
- package/dist/axapta-Bx7DNXYD.js +165 -0
- package/dist/bash-BGvyf32s.js +194 -0
- package/dist/bash-Do0cfmaU.js +134 -0
- package/dist/basic-B1qL7Eg-.js +44 -0
- package/dist/basic-DLk7zVoz.js +30 -0
- package/dist/batch-CYi3sOZ3.js +95 -0
- package/dist/bbcode-BwzBuE9Y.js +31 -0
- package/dist/bbj-_oJSbcsY.js +31 -0
- package/dist/bicep-BoQNA9HB.js +70 -0
- package/dist/birb-tHMwg2K3.js +30 -0
- package/dist/bison-BiBFaYLw.js +45 -0
- package/dist/bnf-B9mtolDW.js +33 -0
- package/dist/bnf-CFEhb3Bz.js +26 -0
- package/dist/bqn-Cn-NR812.js +75 -0
- package/dist/brainfuck-D6Uj7Wgf.js +32 -0
- package/dist/brainfuck-WD-GT3He.js +42 -0
- package/dist/brightscript-DXndsJy0.js +55 -0
- package/dist/bro-wNwhmzkS.js +37 -0
- package/dist/bsl-0zUHuFhp.js +48 -0
- package/dist/c-BA8PP4xp.js +224 -0
- package/dist/c-CS0S7Hsb.js +74 -0
- package/dist/c-like-Bv10vGl1.js +389 -0
- package/dist/cal-Cbw-rvwY.js +76 -0
- package/dist/capnproto-DDLpBuTk.js +55 -0
- package/dist/ceylon-2xgEKZCy.js +64 -0
- package/dist/cfscript-BZkFq5td.js +45 -0
- package/dist/chaiscript-CFkArqVM.js +62 -0
- package/dist/chatbot.css +2545 -0
- package/dist/cil-BFN0k4o1.js +30 -0
- package/dist/cilkc-CV-iYFmJ.js +20 -0
- package/dist/cilkcpp-ZRq5zIUM.js +21 -0
- package/dist/clean-C7lfkw75.js +29 -0
- package/dist/clike-BvmU1AL7.js +41 -0
- package/dist/clojure-BKM12ttT.js +42 -0
- package/dist/clojure-Ccn_Mkjj.js +111 -0
- package/dist/clojure-repl-C8V5hiMv.js +23 -0
- package/dist/cmake-B8E3FBzT.js +39 -0
- package/dist/cmake-Cdi3-CyW.js +28 -0
- package/dist/cobol-BpxG2424.js +57 -0
- package/dist/coffeescript-DYxKI72B.js +297 -0
- package/dist/coffeescript-DoyGyxrE.js +81 -0
- package/dist/concurnas-C4USQ-7G.js +71 -0
- package/dist/cooklang-HIWZvfsC.js +130 -0
- package/dist/coq-B_5iojXP.js +31 -0
- package/dist/coq-DrnCBTBE.js +53 -0
- package/dist/cos-CEeGZtWS.js +83 -0
- package/dist/cpp-Bt_M0ejb.js +82 -0
- package/dist/cpp-C368mKg-.js +370 -0
- package/dist/crmsh-Bt-25pma.js +86 -0
- package/dist/crystal-BTPDFDkd.js +260 -0
- package/dist/crystal-Bvp6pk_w.js +64 -0
- package/dist/csharp-ha-Vb1Oy.js +367 -0
- package/dist/csharp-iSWtQEXl.js +301 -0
- package/dist/cshtml-DC91Qnfw.js +107 -0
- package/dist/csp-BFJkxLlp.js +63 -0
- package/dist/csp-dqz05oql.js +30 -0
- package/dist/css-Q6-w6BPM.js +69 -0
- package/dist/css-Xf8T8gBf.js +548 -0
- package/dist/css-extras-DKikefnB.js +106 -0
- package/dist/csv-C1RPSPSV.js +16 -0
- package/dist/cue-B1ngjCsf.js +73 -0
- package/dist/cypher-CNAqBGSd.js +41 -0
- package/dist/d--XifVhSg.js +55 -0
- package/dist/d-CfWXCczD.js +189 -0
- package/dist/dart-B5RqNhq7.js +160 -0
- package/dist/dart-yPrM71Z8.js +70 -0
- package/dist/dataweave-CnMVPL5R.js +49 -0
- package/dist/dax-qj2PhkVy.js +39 -0
- package/dist/delphi-CzPddypc.js +98 -0
- package/dist/dhall-D8w3EE_p.js +64 -0
- package/dist/diff-C0GclY3n.js +53 -0
- package/dist/diff-DOeJfE73.js +76 -0
- package/dist/django-BEI7xlp6.js +65 -0
- package/dist/django-CvTljHWX.js +49 -0
- package/dist/dns-Cp5DngSi.js +33 -0
- package/dist/dns-zone-file-CzjHLEtI.js +39 -0
- package/dist/docker-WzvyXnQv.js +97 -0
- package/dist/dockerfile-BhLJUrvI.js +32 -0
- package/dist/dos-nXUDd5Po.js +45 -0
- package/dist/dot-BVsWNPa1.js +80 -0
- package/dist/dsconfig-BjIvUdaB.js +61 -0
- package/dist/dts-lcJkHkmg.js +121 -0
- package/dist/dust-BkJl_C0B.js +39 -0
- package/dist/ebnf-5ijXtXwI.js +46 -0
- package/dist/ebnf-BBrI9K2I.js +32 -0
- package/dist/editorconfig-DVBnsBb6.js +35 -0
- package/dist/eiffel-2J7b2DcB.js +36 -0
- package/dist/ejs-CP4kAXYf.js +37 -0
- package/dist/elixir-CpC0hC7i.js +93 -0
- package/dist/elixir-DgMJkXsA.js +223 -0
- package/dist/elm-B74Bk5cn.js +38 -0
- package/dist/elm-DDVumTG7.js +87 -0
- package/dist/erb-BkIFRb4T.js +37 -0
- package/dist/erb-CTt4UcM1.js +23 -0
- package/dist/erlang-3FNJE57q.js +52 -0
- package/dist/erlang-C58xuYIJ.js +170 -0
- package/dist/erlang-repl-BpgJ1Xxr.js +66 -0
- package/dist/etlua-BG31uqQg.js +35 -0
- package/dist/excel-DdXdUjKf.js +54 -0
- package/dist/excel-formula-Byfdh1KC.js +64 -0
- package/dist/factor-pxAxDtUC.js +820 -0
- package/dist/false-Co0CrV7Q.js +42 -0
- package/dist/firestore-security-rules-scD08OTG.js +45 -0
- package/dist/fix-D_79Llrz.js +36 -0
- package/dist/flix--VbqUjYc.js +46 -0
- package/dist/flow-zZJ_3F-N.js +36 -0
- package/dist/fortran-D7HwEup2.js +84 -0
- package/dist/fortran-DYbVoxyC.js +42 -0
- package/dist/fsharp-DX49LloV.js +81 -0
- package/dist/fsharp-DbZMl8Dv.js +62 -0
- package/dist/ftl-pgH8LIHL.js +101 -0
- package/dist/gams-DFWqlk55.js +166 -0
- package/dist/gap-BDxcAyiz.js +55 -0
- package/dist/gauss-DSBaIKd4.js +173 -0
- package/dist/gcode-BPLED46Q.js +27 -0
- package/dist/gcode-Bq5Y8rtM.js +71 -0
- package/dist/gdscript-By8Svd7v.js +31 -0
- package/dist/gedcom-CquwXdPw.js +36 -0
- package/dist/gettext-B1OyNTe2.js +54 -0
- package/dist/gherkin-BWl1aynt.js +91 -0
- package/dist/gherkin-DEGWoM5n.js +47 -0
- package/dist/git-Bjdl4gPc.js +24 -0
- package/dist/glsl-Caft6w8K.js +31 -0
- package/dist/glsl-X0AWORVL.js +16 -0
- package/dist/gml-D6CHuP4X.js +28 -0
- package/dist/gml-WTbq0w1K.js +22 -0
- package/dist/gn-Bmk-DXJ0.js +55 -0
- package/dist/go-On4UPj8j.js +58 -0
- package/dist/go-l0rBbtyj.js +36 -0
- package/dist/go-module-CXBkxC1u.js +34 -0
- package/dist/golo-jBTrl-pb.js +27 -0
- package/dist/gradle-BD0xP8L2.js +66 -0
- package/dist/gradle-BvJEPLCP.js +24 -0
- package/dist/graphql-C9JoiNGl.js +178 -0
- package/dist/groovy-BDKJCVqJ.js +134 -0
- package/dist/groovy-C9IvQhOU.js +66 -0
- package/dist/haml-Bl-0saj7.js +102 -0
- package/dist/haml-DTsOZCFy.js +142 -0
- package/dist/handlebars-CgUpx0AJ.js +237 -0
- package/dist/handlebars-DxHgnodb.js +49 -0
- package/dist/haskell-BFcEKjsB.js +129 -0
- package/dist/haskell-DDqg24-B.js +58 -0
- package/dist/haxe-8i2RVBfX.js +139 -0
- package/dist/haxe-BE8mJYBU.js +80 -0
- package/dist/hcl-DtLVjWTj.js +66 -0
- package/dist/hlsl-Drjm86qZ.js +21 -0
- package/dist/hoon-DOfqILFd.js +26 -0
- package/dist/hpkp-CyoH9wLF.js +25 -0
- package/dist/hsp-i7GzEpsD.js +51 -0
- package/dist/hsts-TEUkgO0_.js +25 -0
- package/dist/htmlbars-DXfSuinO.js +243 -0
- package/dist/http-BqI_d45x.js +102 -0
- package/dist/http-Cx72__Yy.js +131 -0
- package/dist/hy-QLZU_M0S.js +97 -0
- package/dist/ichigojam-BOGB8zsN.js +25 -0
- package/dist/icon-JYljK4QF.js +32 -0
- package/dist/icu-message-format-CpcYbRvH.js +137 -0
- package/dist/idris-BJ4tgRDj.js +26 -0
- package/dist/iecst-xg-F-Ri2.js +38 -0
- package/dist/ignore-CsQzbDOY.js +36 -0
- package/dist/index.d.ts +1232 -0
- package/dist/index.js +55163 -0
- package/dist/inform7-2kF6dSmN.js +51 -0
- package/dist/inform7-W_PX01bK.js +66 -0
- package/dist/ini-CyhAKGSk.js +50 -0
- package/dist/ini-DxNsJv_F.js +136 -0
- package/dist/io-BX86W2Nr.js +34 -0
- package/dist/irpf90-Cz4ovG4d.js +77 -0
- package/dist/isbl-DYgyJfqJ.js +118 -0
- package/dist/j-Dl0F3m91.js +38 -0
- package/dist/java-BMhVo9mR.js +144 -0
- package/dist/java-RT4sGLV2.js +116 -0
- package/dist/javadoc-K6-poHdT.js +84 -0
- package/dist/javadoclike-DV682eaV.js +74 -0
- package/dist/javascript-BJ-LeMcK.js +126 -0
- package/dist/javascript-DZR3s47P.js +471 -0
- package/dist/javastacktrace-e_iWBHj3.js +103 -0
- package/dist/jboss-cli-BfGB9_g3.js +52 -0
- package/dist/jexl-C6H3SnN0.js +26 -0
- package/dist/jolie-D1pm4AdS.js +53 -0
- package/dist/jq-J4RdKnWn.js +71 -0
- package/dist/js-extras-DBfQswmg.js +119 -0
- package/dist/js-templates-Bma-myhs.js +264 -0
- package/dist/jsdoc-DAHVa1K-.js +78 -0
- package/dist/json-BOcU6nei.js +40 -0
- package/dist/json-GDytwSqH.js +49 -0
- package/dist/json5-Dldp7b9R.js +32 -0
- package/dist/jsonp-_VvPg4Sq.js +17 -0
- package/dist/jsstacktrace-BGl-gflq.js +49 -0
- package/dist/jsx-D2Jv0wvt.js +103 -0
- package/dist/julia-B3lI6_fR.js +37 -0
- package/dist/julia-CKih7L-u.js +359 -0
- package/dist/julia-repl-Cop0XHfd.js +24 -0
- package/dist/keepalived-z62NV0IY.js +52 -0
- package/dist/keyman-2Zq7Lmix.js +50 -0
- package/dist/kotlin-IK_BsfjS.js +217 -0
- package/dist/kotlin-Za8DfsXK.js +83 -0
- package/dist/kumir-wWKTT1Tn.js +95 -0
- package/dist/kusto-K-lfyykQ.js +45 -0
- package/dist/lasso-BQ0d-ec4.js +132 -0
- package/dist/latex-CbDOwO4M.js +56 -0
- package/dist/latex-hQ09OoNB.js +235 -0
- package/dist/latte-Dw4wWumk.js +69 -0
- package/dist/ldif-D3E6SGvP.js +43 -0
- package/dist/leaf-C7QaLHlz.js +45 -0
- package/dist/less-O6umudeD.js +577 -0
- package/dist/less-YYlzhbKi.js +42 -0
- package/dist/lilypond-BQrWvE8c.js +76 -0
- package/dist/linker-script-Bv92-EWY.js +37 -0
- package/dist/liquid-kagG2ycL.js +72 -0
- package/dist/lisp-BwjhhF3k.js +125 -0
- package/dist/lisp-eQ3hWweO.js +179 -0
- package/dist/livecodeserver-Bcw7s4ld.js +92 -0
- package/dist/livescript-Dx6f2sjw.js +89 -0
- package/dist/livescript-n4ABWPt3.js +314 -0
- package/dist/llvm-BY-qrH6s.js +98 -0
- package/dist/llvm-ChekYxKh.js +31 -0
- package/dist/log-D1Lo4xuI.js +108 -0
- package/dist/lolcode-BwGaELZC.js +59 -0
- package/dist/lsl-BooQQpjX.js +61 -0
- package/dist/lua-CJnCvaiN.js +27 -0
- package/dist/lua-DvtsJ-jt.js +54 -0
- package/dist/magma-B85RjyUD.js +41 -0
- package/dist/makefile-CqtqULKU.js +68 -0
- package/dist/makefile-D6p-QrRH.js +39 -0
- package/dist/markdown-CDKMB1D7.js +206 -0
- package/dist/markup-D2NSmoAx.js +176 -0
- package/dist/markup-templating-Ds-CZFSA.js +96 -0
- package/dist/mata-Dhxcvo2e.js +52 -0
- package/dist/mathematica-D886cK7E.js +6748 -0
- package/dist/matlab-Bb98H89V.js +77 -0
- package/dist/matlab-hmhitwOg.js +24 -0
- package/dist/maxima-D0eE_Dtc.js +44 -0
- package/dist/maxscript-f6eA-aNI.js +64 -0
- package/dist/mel-BJ5B6sMY.js +30 -0
- package/dist/mel-nLuPdSf3.js +56 -0
- package/dist/mercury-C62CCPyQ.js +68 -0
- package/dist/mermaid-DQ_crCJ7.js +102 -0
- package/dist/metafont-CzK4NvN0.js +95 -0
- package/dist/mipsasm-DeMR5-YF.js +59 -0
- package/dist/mizar-CtA-pMOR.js +16 -0
- package/dist/mizar-DuBSAjNN.js +24 -0
- package/dist/mojolicious-D2SpJiH-.js +33 -0
- package/dist/mongodb-D904geno.js +294 -0
- package/dist/monkey-MrC338O0.js +64 -0
- package/dist/monkey-sxg32Zkq.js +40 -0
- package/dist/moonscript-b57HPxdw.js +56 -0
- package/dist/moonscript-w9bBVWSA.js +108 -0
- package/dist/n1ql-C96arvJp.js +33 -0
- package/dist/n1ql-DRmjD5Dx.js +48 -0
- package/dist/n4js-B0G1BP6w.js +21 -0
- package/dist/nand2tetris-hdl-BlZue0BE.js +21 -0
- package/dist/naniscript-DA6Nu-1R.js +159 -0
- package/dist/nasm-CIk3Maz7.js +36 -0
- package/dist/neon-COQc3WnN.js +52 -0
- package/dist/nevod-BYmtc0a2.js +132 -0
- package/dist/nginx-CkGcwumj.js +60 -0
- package/dist/nginx-DHrAxYcc.js +109 -0
- package/dist/nim-BLfhCij5.js +43 -0
- package/dist/nim-DhziuES8.js +55 -0
- package/dist/nix-CaLYae8R.js +56 -0
- package/dist/nix-DEDwHRSe.js +42 -0
- package/dist/node-repl-By_FH_Mf.js +26 -0
- package/dist/nsis-Bg3KzNC4.js +95 -0
- package/dist/nsis-CFkyRB_F.js +42 -0
- package/dist/objectivec-CmlLljpc.js +88 -0
- package/dist/objectivec-DiDoNwgS.js +25 -0
- package/dist/ocaml-GsU0rnxx.js +58 -0
- package/dist/ocaml-pvUnnUZt.js +58 -0
- package/dist/odin-BL970IAo.js +89 -0
- package/dist/opencl-oLMSxXOb.js +56 -0
- package/dist/openqasm-BCXxEzkz.js +30 -0
- package/dist/openscad-MI1WtN4e.js +72 -0
- package/dist/oxygene-CGz_hbo_.js +74 -0
- package/dist/oz-BIEkjqaK.js +37 -0
- package/dist/parigp-DFe_jQ_0.js +57 -0
- package/dist/parser-D8bUDSMy.js +81 -0
- package/dist/parser3-BtcxMqRE.js +46 -0
- package/dist/pascal-Zk9Hdh8x.js +63 -0
- package/dist/pascaligo-DlFj9gb7.js +76 -0
- package/dist/pcaxis-BpZTiG1_.js +64 -0
- package/dist/peoplecode-BvNlpzn4.js +46 -0
- package/dist/perl-D3TeFX3f.js +91 -0
- package/dist/perl-DV1WGcgP.js +459 -0
- package/dist/pf-Bw6YW8GL.js +35 -0
- package/dist/pgsql-DQnMJJhr.js +201 -0
- package/dist/php-BxQ7YaUd.js +298 -0
- package/dist/php-Cx_aOYzh.js +170 -0
- package/dist/php-extras-Cv31MyHh.js +29 -0
- package/dist/php-template-CFgAyXVG.js +49 -0
- package/dist/phpdoc-euK_46wV.js +33 -0
- package/dist/plaintext-BLTGGZjz.js +16 -0
- package/dist/plant-uml-Celo7hWa.js +94 -0
- package/dist/plsql-BMooi3eI.js +27 -0
- package/dist/pony-Bi3ts_x4.js +66 -0
- package/dist/powerquery-BB0neDs8.js +64 -0
- package/dist/powershell-Cp8VIeP5.js +210 -0
- package/dist/powershell-DPXfEh-N.js +50 -0
- package/dist/processing-C2gXKHmX.js +27 -0
- package/dist/processing-DifMMTC4.js +27 -0
- package/dist/profile-D4l4kotj.js +44 -0
- package/dist/prolog-K5CXWNqv.js +68 -0
- package/dist/prolog-jXnGSoER.js +27 -0
- package/dist/promql-B7tjImXR.js +91 -0
- package/dist/properties-Ye-hyWt3.js +70 -0
- package/dist/properties-tZhjkzqv.js +25 -0
- package/dist/protobuf-CFMuPFrb.js +43 -0
- package/dist/protobuf-CtuLNTgo.js +49 -0
- package/dist/psl-CtcmRY88.js +45 -0
- package/dist/pug-DZuWukpE.js +181 -0
- package/dist/puppet-Bbx71Wmu.js +91 -0
- package/dist/puppet-DWNpvtV0.js +109 -0
- package/dist/pure-Bu8y9uqf.js +84 -0
- package/dist/purebasic-CrbZ5tkq.js +48 -0
- package/dist/purebasic-DXeoj54G.js +68 -0
- package/dist/purescript-DEmt8FwY.js +33 -0
- package/dist/python-B_JMVOcZ.js +72 -0
- package/dist/python-D4vn1uqn.js +364 -0
- package/dist/python-repl-Byh0otOf.js +25 -0
- package/dist/q-CKXvfs03.js +27 -0
- package/dist/q-Clh6z-st.js +51 -0
- package/dist/qml-7YQvVjZV.js +159 -0
- package/dist/qml-DJbzw6kj.js +73 -0
- package/dist/qore-BhVfCXhu.js +34 -0
- package/dist/qsharp-DuDOe5Uc.js +115 -0
- package/dist/r-DYPUJFxX.js +29 -0
- package/dist/r-xHPskriK.js +164 -0
- package/dist/racket-CpODvyno.js +25 -0
- package/dist/reason-hsgArTvF.js +36 -0
- package/dist/reasonml-CbjAE68o.js +250 -0
- package/dist/regex-2mVRU0vI.js +95 -0
- package/dist/rego-D-V3VB8C.js +37 -0
- package/dist/renpy-aW3v6IgL.js +31 -0
- package/dist/rescript-CWaXnGHS.js +69 -0
- package/dist/rest-3fUpY2PO.js +162 -0
- package/dist/rib-CL2NFDmg.js +22 -0
- package/dist/rip-B6YYwony.js +41 -0
- package/dist/roboconf-0Rlei8gQ.js +59 -0
- package/dist/roboconf-IXUuBa8p.js +39 -0
- package/dist/robotframework-BF9E-Oq9.js +93 -0
- package/dist/rolldown-runtime-DZ8SGSJo.js +46 -0
- package/dist/routeros-C-AWVQjj.js +115 -0
- package/dist/rsl-DMuV0iZO.js +40 -0
- package/dist/ruby-B8TWD6ep.js +175 -0
- package/dist/ruby-Y4gGIG3V.js +262 -0
- package/dist/ruleslanguage-BktxDuZ-.js +32 -0
- package/dist/rust-DwYwyKSC.js +86 -0
- package/dist/rust-NN7KgEj6.js +106 -0
- package/dist/sas-B1HEHqVJ.js +52 -0
- package/dist/sas-smX4XTMW.js +305 -0
- package/dist/sass-C7gSyJgV.js +65 -0
- package/dist/scala-B-Qmrms2.js +121 -0
- package/dist/scala-DjG8SNwu.js +61 -0
- package/dist/scheme-B4kNWGag.js +90 -0
- package/dist/scheme-DJqOei9g.js +123 -0
- package/dist/scilab-CWFPBszJ.js +51 -0
- package/dist/scss-BNucVCwH.js +521 -0
- package/dist/scss-DUnVt122.js +70 -0
- package/dist/shell-B5PfXmNL.js +24 -0
- package/dist/shell-session-DPhnV0Ol.js +54 -0
- package/dist/smali-2GrwCIpm.js +119 -0
- package/dist/smali-8R0QXZ1X.js +84 -0
- package/dist/smalltalk-B22GLwys.js +57 -0
- package/dist/smalltalk-O6cEa_14.js +47 -0
- package/dist/smarty-Wq_5DAYj.js +118 -0
- package/dist/sml-CSXKPo20.js +58 -0
- package/dist/sml-D31kAWsT.js +55 -0
- package/dist/solidity-BX0gWWmL.js +30 -0
- package/dist/solution-file-CgB6LaL7.js +47 -0
- package/dist/soy-DcXj4tw-.js +86 -0
- package/dist/sparql-D0_2Fxvf.js +28 -0
- package/dist/splunk-spl-BV7tASCi.js +34 -0
- package/dist/sqf-BYrbmp09.js +77 -0
- package/dist/sqf-DDMLiWt_.js +45 -0
- package/dist/sql-DHCn-YZP.js +39 -0
- package/dist/sql-DuLQt3Do.js +656 -0
- package/dist/sql_more-C5b-5T7L.js +58 -0
- package/dist/squirrel-EsqR0JNY.js +51 -0
- package/dist/stan-BssIIRc4.js +60 -0
- package/dist/stan-CaMlw6vU.js +516 -0
- package/dist/stata-CqA7wg7c.js +38 -0
- package/dist/stata-Da4jTQPC.js +82 -0
- package/dist/step21-DvwfW_IY.js +55 -0
- package/dist/stylus-C9svphNf.js +132 -0
- package/dist/stylus-DvJwDpBW.js +552 -0
- package/dist/subunit-eIEQRjTD.js +40 -0
- package/dist/supercollider-D7qIEU9I.js +43 -0
- package/dist/swift-B_iuCH-N.js +106 -0
- package/dist/swift-D2JCuwOw.js +603 -0
- package/dist/systemd-7dRag1wn.js +58 -0
- package/dist/t4-cs-CZCr77ej.js +18 -0
- package/dist/t4-templating-8CSCnuNF.js +52 -0
- package/dist/t4-vb-DJLoxP6-.js +18 -0
- package/dist/taggerscript-DUgIsxmY.js +42 -0
- package/dist/tap-BrbYnFCE.js +36 -0
- package/dist/tap-CKwf9TXR.js +35 -0
- package/dist/tcl-Bu0LzhCS.js +78 -0
- package/dist/tcl-CLjFvMbO.js +55 -0
- package/dist/textile-CVDmKYP-.js +225 -0
- package/dist/thrift-2RQozBtH.js +42 -0
- package/dist/toml-51NMgcfs.js +55 -0
- package/dist/tp-CyHTvTrB.js +81 -0
- package/dist/tremor-x6QV0U7k.js +68 -0
- package/dist/tt2-DQEZxDDN.js +52 -0
- package/dist/turtle-BHrc5ZDj.js +55 -0
- package/dist/twig-6D_FmMc3.js +66 -0
- package/dist/twig-DKqqr-bJ.js +46 -0
- package/dist/typescript-DAau_Qyl.js +59 -0
- package/dist/typescript-VRQ57_wQ.js +543 -0
- package/dist/typoscript-DHP8Z-kM.js +68 -0
- package/dist/unrealscript-BpMIC14v.js +50 -0
- package/dist/uorazor-BCojFkBB.js +55 -0
- package/dist/uri-M2gkNRgb.js +82 -0
- package/dist/v-Ba5p0lq0.js +84 -0
- package/dist/vala-D3hq3MeR.js +46 -0
- package/dist/vala-DxoZQIIV.js +82 -0
- package/dist/vbnet-MuzuuWpL.js +32 -0
- package/dist/vbnet-Rq0E4ZR6.js +121 -0
- package/dist/vbscript-B7FWGi6x.js +74 -0
- package/dist/vbscript-html-I7g2pYpY.js +20 -0
- package/dist/velocity-BZ2VAtwT.js +75 -0
- package/dist/verilog-DEPPw4lO.js +33 -0
- package/dist/verilog-qzgb0TgN.js +57 -0
- package/dist/vhdl-B7y5aUAt.js +34 -0
- package/dist/vhdl-D3415_vm.js +41 -0
- package/dist/vim-B7TjZscD.js +22 -0
- package/dist/vim-CnJA9w_8.js +53 -0
- package/dist/visual-basic-Cm0hN-XS.js +38 -0
- package/dist/warpscript-DIGSvxt1.js +29 -0
- package/dist/wasm-DmfEOzK3.js +36 -0
- package/dist/web-idl-Cfp4jeUC.js +81 -0
- package/dist/wgsl-DZ2gPgxi.js +100 -0
- package/dist/wiki-S_gOOWds.js +78 -0
- package/dist/wolfram-DI0W_dps.js +43 -0
- package/dist/wren-DRByg6bM.js +75 -0
- package/dist/x86asm-D_CYdoi_.js +70 -0
- package/dist/xeora-BoP7XsiS.js +84 -0
- package/dist/xl-dSbpxWTw.js +70 -0
- package/dist/xml-Bx1rhJem.js +220 -0
- package/dist/xml-doc-gUAATbC1.js +42 -0
- package/dist/xojo-DsgNc5p9.js +30 -0
- package/dist/xquery-Bc1R9nUG.js +129 -0
- package/dist/xquery-Bih1YSSU.js +120 -0
- package/dist/yaml-C888tCbJ.js +92 -0
- package/dist/yaml-sXJydZ-C.js +155 -0
- package/dist/yang-BPvrq4K7.js +30 -0
- package/dist/zephir-DLtCQJhr.js +80 -0
- package/dist/zig-XkIsWF4D.js +76 -0
- package/package.json +84 -0
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
import { t as clike } from "./clike-BvmU1AL7.js";
|
|
2
|
+
|
|
3
|
+
//#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/csharp.js
|
|
4
|
+
/**
|
|
5
|
+
* @import {Refractor} from '../lib/core.js'
|
|
6
|
+
*/
|
|
7
|
+
csharp.displayName = "csharp";
|
|
8
|
+
csharp.aliases = ["cs", "dotnet"];
|
|
9
|
+
/** @param {Refractor} Prism */
|
|
10
|
+
function csharp(Prism) {
|
|
11
|
+
Prism.register(clike);
|
|
12
|
+
(function(Prism) {
|
|
13
|
+
/**
|
|
14
|
+
* Replaces all placeholders "<<n>>" of given pattern with the n-th replacement (zero based).
|
|
15
|
+
*
|
|
16
|
+
* Note: This is a simple text based replacement. Be careful when using backreferences!
|
|
17
|
+
*
|
|
18
|
+
* @param {string} pattern the given pattern.
|
|
19
|
+
* @param {string[]} replacements a list of replacement which can be inserted into the given pattern.
|
|
20
|
+
* @returns {string} the pattern with all placeholders replaced with their corresponding replacements.
|
|
21
|
+
* @example replace(/a<<0>>a/.source, [/b+/.source]) === /a(?:b+)a/.source
|
|
22
|
+
*/
|
|
23
|
+
function replace(pattern, replacements) {
|
|
24
|
+
return pattern.replace(/<<(\d+)>>/g, function(m, index) {
|
|
25
|
+
return "(?:" + replacements[+index] + ")";
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* @param {string} pattern
|
|
30
|
+
* @param {string[]} replacements
|
|
31
|
+
* @param {string} [flags]
|
|
32
|
+
* @returns {RegExp}
|
|
33
|
+
*/
|
|
34
|
+
function re(pattern, replacements, flags) {
|
|
35
|
+
return RegExp(replace(pattern, replacements), flags || "");
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Creates a nested pattern where all occurrences of the string `<<self>>` are replaced with the pattern itself.
|
|
39
|
+
*
|
|
40
|
+
* @param {string} pattern
|
|
41
|
+
* @param {number} depthLog2
|
|
42
|
+
* @returns {string}
|
|
43
|
+
*/
|
|
44
|
+
function nested(pattern, depthLog2) {
|
|
45
|
+
for (var i = 0; i < depthLog2; i++) pattern = pattern.replace(/<<self>>/g, function() {
|
|
46
|
+
return "(?:" + pattern + ")";
|
|
47
|
+
});
|
|
48
|
+
return pattern.replace(/<<self>>/g, "[^\\s\\S]");
|
|
49
|
+
}
|
|
50
|
+
var keywordKinds = {
|
|
51
|
+
type: "bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",
|
|
52
|
+
typeDeclaration: "class enum interface record struct",
|
|
53
|
+
contextual: "add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",
|
|
54
|
+
other: "abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"
|
|
55
|
+
};
|
|
56
|
+
function keywordsToPattern(words) {
|
|
57
|
+
return "\\b(?:" + words.trim().replace(/ /g, "|") + ")\\b";
|
|
58
|
+
}
|
|
59
|
+
var typeDeclarationKeywords = keywordsToPattern(keywordKinds.typeDeclaration);
|
|
60
|
+
var keywords = RegExp(keywordsToPattern(keywordKinds.type + " " + keywordKinds.typeDeclaration + " " + keywordKinds.contextual + " " + keywordKinds.other));
|
|
61
|
+
var nonTypeKeywords = keywordsToPattern(keywordKinds.typeDeclaration + " " + keywordKinds.contextual + " " + keywordKinds.other);
|
|
62
|
+
var nonContextualKeywords = keywordsToPattern(keywordKinds.type + " " + keywordKinds.typeDeclaration + " " + keywordKinds.other);
|
|
63
|
+
var generic = nested(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source, 2);
|
|
64
|
+
var nestedRound = nested(/\((?:[^()]|<<self>>)*\)/.source, 2);
|
|
65
|
+
var name = /@?\b[A-Za-z_]\w*\b/.source;
|
|
66
|
+
var genericName = replace(/<<0>>(?:\s*<<1>>)?/.source, [name, generic]);
|
|
67
|
+
var identifier = replace(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source, [nonTypeKeywords, genericName]);
|
|
68
|
+
var array = /\[\s*(?:,\s*)*\]/.source;
|
|
69
|
+
var typeExpressionWithoutTuple = replace(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source, [identifier, array]);
|
|
70
|
+
var tupleElement = replace(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source, [
|
|
71
|
+
generic,
|
|
72
|
+
nestedRound,
|
|
73
|
+
array
|
|
74
|
+
]);
|
|
75
|
+
var tuple = replace(/\(<<0>>+(?:,<<0>>+)+\)/.source, [tupleElement]);
|
|
76
|
+
var typeExpression = replace(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source, [
|
|
77
|
+
tuple,
|
|
78
|
+
identifier,
|
|
79
|
+
array
|
|
80
|
+
]);
|
|
81
|
+
var typeInside = {
|
|
82
|
+
keyword: keywords,
|
|
83
|
+
punctuation: /[<>()?,.:[\]]/
|
|
84
|
+
};
|
|
85
|
+
var character = /'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source;
|
|
86
|
+
var regularString = /"(?:\\.|[^\\"\r\n])*"/.source;
|
|
87
|
+
var verbatimString = /@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;
|
|
88
|
+
Prism.languages.csharp = Prism.languages.extend("clike", {
|
|
89
|
+
string: [{
|
|
90
|
+
pattern: re(/(^|[^$\\])<<0>>/.source, [verbatimString]),
|
|
91
|
+
lookbehind: true,
|
|
92
|
+
greedy: true
|
|
93
|
+
}, {
|
|
94
|
+
pattern: re(/(^|[^@$\\])<<0>>/.source, [regularString]),
|
|
95
|
+
lookbehind: true,
|
|
96
|
+
greedy: true
|
|
97
|
+
}],
|
|
98
|
+
"class-name": [
|
|
99
|
+
{
|
|
100
|
+
pattern: re(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source, [identifier]),
|
|
101
|
+
lookbehind: true,
|
|
102
|
+
inside: typeInside
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
pattern: re(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source, [name, typeExpression]),
|
|
106
|
+
lookbehind: true,
|
|
107
|
+
inside: typeInside
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
pattern: re(/(\busing\s+)<<0>>(?=\s*=)/.source, [name]),
|
|
111
|
+
lookbehind: true
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
pattern: re(/(\b<<0>>\s+)<<1>>/.source, [typeDeclarationKeywords, genericName]),
|
|
115
|
+
lookbehind: true,
|
|
116
|
+
inside: typeInside
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
pattern: re(/(\bcatch\s*\(\s*)<<0>>/.source, [identifier]),
|
|
120
|
+
lookbehind: true,
|
|
121
|
+
inside: typeInside
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
pattern: re(/(\bwhere\s+)<<0>>/.source, [name]),
|
|
125
|
+
lookbehind: true
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
pattern: re(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source, [typeExpressionWithoutTuple]),
|
|
129
|
+
lookbehind: true,
|
|
130
|
+
inside: typeInside
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
pattern: re(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source, [
|
|
134
|
+
typeExpression,
|
|
135
|
+
nonContextualKeywords,
|
|
136
|
+
name
|
|
137
|
+
]),
|
|
138
|
+
inside: typeInside
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
keyword: keywords,
|
|
142
|
+
number: /(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,
|
|
143
|
+
operator: />>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,
|
|
144
|
+
punctuation: /\?\.?|::|[{}[\];(),.:]/
|
|
145
|
+
});
|
|
146
|
+
Prism.languages.insertBefore("csharp", "number", { range: {
|
|
147
|
+
pattern: /\.\./,
|
|
148
|
+
alias: "operator"
|
|
149
|
+
} });
|
|
150
|
+
Prism.languages.insertBefore("csharp", "punctuation", { "named-parameter": {
|
|
151
|
+
pattern: re(/([(,]\s*)<<0>>(?=\s*:)/.source, [name]),
|
|
152
|
+
lookbehind: true,
|
|
153
|
+
alias: "punctuation"
|
|
154
|
+
} });
|
|
155
|
+
Prism.languages.insertBefore("csharp", "class-name", {
|
|
156
|
+
namespace: {
|
|
157
|
+
pattern: re(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source, [name]),
|
|
158
|
+
lookbehind: true,
|
|
159
|
+
inside: { punctuation: /\./ }
|
|
160
|
+
},
|
|
161
|
+
"type-expression": {
|
|
162
|
+
pattern: re(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source, [nestedRound]),
|
|
163
|
+
lookbehind: true,
|
|
164
|
+
alias: "class-name",
|
|
165
|
+
inside: typeInside
|
|
166
|
+
},
|
|
167
|
+
"return-type": {
|
|
168
|
+
pattern: re(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source, [typeExpression, identifier]),
|
|
169
|
+
inside: typeInside,
|
|
170
|
+
alias: "class-name"
|
|
171
|
+
},
|
|
172
|
+
"constructor-invocation": {
|
|
173
|
+
pattern: re(/(\bnew\s+)<<0>>(?=\s*[[({])/.source, [typeExpression]),
|
|
174
|
+
lookbehind: true,
|
|
175
|
+
inside: typeInside,
|
|
176
|
+
alias: "class-name"
|
|
177
|
+
},
|
|
178
|
+
"generic-method": {
|
|
179
|
+
pattern: re(/<<0>>\s*<<1>>(?=\s*\()/.source, [name, generic]),
|
|
180
|
+
inside: {
|
|
181
|
+
function: re(/^<<0>>/.source, [name]),
|
|
182
|
+
generic: {
|
|
183
|
+
pattern: RegExp(generic),
|
|
184
|
+
alias: "class-name",
|
|
185
|
+
inside: typeInside
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"type-list": {
|
|
190
|
+
pattern: re(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source, [
|
|
191
|
+
typeDeclarationKeywords,
|
|
192
|
+
genericName,
|
|
193
|
+
name,
|
|
194
|
+
typeExpression,
|
|
195
|
+
keywords.source,
|
|
196
|
+
nestedRound,
|
|
197
|
+
/\bnew\s*\(\s*\)/.source
|
|
198
|
+
]),
|
|
199
|
+
lookbehind: true,
|
|
200
|
+
inside: {
|
|
201
|
+
"record-arguments": {
|
|
202
|
+
pattern: re(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source, [genericName, nestedRound]),
|
|
203
|
+
lookbehind: true,
|
|
204
|
+
greedy: true,
|
|
205
|
+
inside: Prism.languages.csharp
|
|
206
|
+
},
|
|
207
|
+
keyword: keywords,
|
|
208
|
+
"class-name": {
|
|
209
|
+
pattern: RegExp(typeExpression),
|
|
210
|
+
greedy: true,
|
|
211
|
+
inside: typeInside
|
|
212
|
+
},
|
|
213
|
+
punctuation: /[,()]/
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
preprocessor: {
|
|
217
|
+
pattern: /(^[\t ]*)#.*/m,
|
|
218
|
+
lookbehind: true,
|
|
219
|
+
alias: "property",
|
|
220
|
+
inside: { directive: {
|
|
221
|
+
pattern: /(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,
|
|
222
|
+
lookbehind: true,
|
|
223
|
+
alias: "keyword"
|
|
224
|
+
} }
|
|
225
|
+
}
|
|
226
|
+
});
|
|
227
|
+
var regularStringOrCharacter = regularString + "|" + character;
|
|
228
|
+
var regularStringCharacterOrComment = replace(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source, [regularStringOrCharacter]);
|
|
229
|
+
var roundExpression = nested(replace(/[^"'/()]|<<0>>|\(<<self>>*\)/.source, [regularStringCharacterOrComment]), 2);
|
|
230
|
+
var attrTarget = /\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source;
|
|
231
|
+
var attr = replace(/<<0>>(?:\s*\(<<1>>*\))?/.source, [identifier, roundExpression]);
|
|
232
|
+
Prism.languages.insertBefore("csharp", "class-name", { attribute: {
|
|
233
|
+
pattern: re(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source, [attrTarget, attr]),
|
|
234
|
+
lookbehind: true,
|
|
235
|
+
greedy: true,
|
|
236
|
+
inside: {
|
|
237
|
+
target: {
|
|
238
|
+
pattern: re(/^<<0>>(?=\s*:)/.source, [attrTarget]),
|
|
239
|
+
alias: "keyword"
|
|
240
|
+
},
|
|
241
|
+
"attribute-arguments": {
|
|
242
|
+
pattern: re(/\(<<0>>*\)/.source, [roundExpression]),
|
|
243
|
+
inside: Prism.languages.csharp
|
|
244
|
+
},
|
|
245
|
+
"class-name": {
|
|
246
|
+
pattern: RegExp(identifier),
|
|
247
|
+
inside: { punctuation: /\./ }
|
|
248
|
+
},
|
|
249
|
+
punctuation: /[:,]/
|
|
250
|
+
}
|
|
251
|
+
} });
|
|
252
|
+
var formatString = /:[^}\r\n]+/.source;
|
|
253
|
+
var mInterpolationRound = nested(replace(/[^"'/()]|<<0>>|\(<<self>>*\)/.source, [regularStringCharacterOrComment]), 2);
|
|
254
|
+
var mInterpolation = replace(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [mInterpolationRound, formatString]);
|
|
255
|
+
var sInterpolationRound = nested(replace(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source, [regularStringOrCharacter]), 2);
|
|
256
|
+
var sInterpolation = replace(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [sInterpolationRound, formatString]);
|
|
257
|
+
function createInterpolationInside(interpolation, interpolationRound) {
|
|
258
|
+
return {
|
|
259
|
+
interpolation: {
|
|
260
|
+
pattern: re(/((?:^|[^{])(?:\{\{)*)<<0>>/.source, [interpolation]),
|
|
261
|
+
lookbehind: true,
|
|
262
|
+
inside: {
|
|
263
|
+
"format-string": {
|
|
264
|
+
pattern: re(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source, [interpolationRound, formatString]),
|
|
265
|
+
lookbehind: true,
|
|
266
|
+
inside: { punctuation: /^:/ }
|
|
267
|
+
},
|
|
268
|
+
punctuation: /^\{|\}$/,
|
|
269
|
+
expression: {
|
|
270
|
+
pattern: /[\s\S]+/,
|
|
271
|
+
alias: "language-csharp",
|
|
272
|
+
inside: Prism.languages.csharp
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
string: /[\s\S]+/
|
|
277
|
+
};
|
|
278
|
+
}
|
|
279
|
+
Prism.languages.insertBefore("csharp", "string", {
|
|
280
|
+
"interpolation-string": [{
|
|
281
|
+
pattern: re(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source, [mInterpolation]),
|
|
282
|
+
lookbehind: true,
|
|
283
|
+
greedy: true,
|
|
284
|
+
inside: createInterpolationInside(mInterpolation, mInterpolationRound)
|
|
285
|
+
}, {
|
|
286
|
+
pattern: re(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source, [sInterpolation]),
|
|
287
|
+
lookbehind: true,
|
|
288
|
+
greedy: true,
|
|
289
|
+
inside: createInterpolationInside(sInterpolation, sInterpolationRound)
|
|
290
|
+
}],
|
|
291
|
+
char: {
|
|
292
|
+
pattern: RegExp(character),
|
|
293
|
+
greedy: true
|
|
294
|
+
}
|
|
295
|
+
});
|
|
296
|
+
Prism.languages.dotnet = Prism.languages.cs = Prism.languages.csharp;
|
|
297
|
+
})(Prism);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
//#endregion
|
|
301
|
+
export { csharp as default };
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { t as markup } from "./markup-D2NSmoAx.js";
|
|
2
|
+
import csharp from "./csharp-iSWtQEXl.js";
|
|
3
|
+
|
|
4
|
+
//#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/cshtml.js
|
|
5
|
+
/**
|
|
6
|
+
* @import {Refractor} from '../lib/core.js'
|
|
7
|
+
*/
|
|
8
|
+
cshtml.displayName = "cshtml";
|
|
9
|
+
cshtml.aliases = ["razor"];
|
|
10
|
+
/** @param {Refractor} Prism */
|
|
11
|
+
function cshtml(Prism) {
|
|
12
|
+
Prism.register(csharp);
|
|
13
|
+
Prism.register(markup);
|
|
14
|
+
(function(Prism) {
|
|
15
|
+
var commentLike = /\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source;
|
|
16
|
+
var stringLike = /@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source + "|" + /'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;
|
|
17
|
+
/**
|
|
18
|
+
* Creates a nested pattern where all occurrences of the string `<<self>>` are replaced with the pattern itself.
|
|
19
|
+
*
|
|
20
|
+
* @param {string} pattern
|
|
21
|
+
* @param {number} depthLog2
|
|
22
|
+
* @returns {string}
|
|
23
|
+
*/
|
|
24
|
+
function nested(pattern, depthLog2) {
|
|
25
|
+
for (var i = 0; i < depthLog2; i++) pattern = pattern.replace(/<self>/g, function() {
|
|
26
|
+
return "(?:" + pattern + ")";
|
|
27
|
+
});
|
|
28
|
+
return pattern.replace(/<self>/g, "[^\\s\\S]").replace(/<str>/g, "(?:" + stringLike + ")").replace(/<comment>/g, "(?:" + commentLike + ")");
|
|
29
|
+
}
|
|
30
|
+
var round = nested(/\((?:[^()'"@/]|<str>|<comment>|<self>)*\)/.source, 2);
|
|
31
|
+
var square = nested(/\[(?:[^\[\]'"@/]|<str>|<comment>|<self>)*\]/.source, 1);
|
|
32
|
+
var curly = nested(/\{(?:[^{}'"@/]|<str>|<comment>|<self>)*\}/.source, 2);
|
|
33
|
+
var angle = nested(/<(?:[^<>'"@/]|<comment>|<self>)*>/.source, 1);
|
|
34
|
+
var inlineCs = /@/.source + /(?:await\b\s*)?/.source + "(?:" + /(?!await\b)\w+\b/.source + "|" + round + ")(?:" + /[?!]?\.\w+\b/.source + "|(?:" + angle + ")?" + round + "|" + square + ")*" + /(?![?!\.(\[]|<(?!\/))/.source;
|
|
35
|
+
var tagAttrInlineCs = /@(?![\w()])/.source + "|" + inlineCs;
|
|
36
|
+
var tagAttrValue = "(?:" + /"[^"@]*"|'[^'@]*'|[^\s'"@>=]+(?=[\s>])/.source + "|[\"'][^\"'@]*(?:(?:" + tagAttrInlineCs + ")[^\"'@]*)+[\"'])";
|
|
37
|
+
var tagAttrs = /(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*<tagAttrValue>|(?=[\s/>])))+)?/.source.replace(/<tagAttrValue>/, tagAttrValue);
|
|
38
|
+
var tagContent = /(?!\d)[^\s>\/=$<%]+/.source + tagAttrs + /\s*\/?>/.source;
|
|
39
|
+
var tagRegion = /\B@?/.source + "(?:" + /<([a-zA-Z][\w:]*)/.source + tagAttrs + /\s*>/.source + "(?:" + (/[^<]/.source + "|" + /<\/?(?!\1\b)/.source + tagContent + "|" + nested(/<\1/.source + tagAttrs + /\s*>/.source + "(?:" + (/[^<]/.source + "|" + /<\/?(?!\1\b)/.source + tagContent + "|<self>") + ")*" + /<\/\1\s*>/.source, 2)) + ")*" + /<\/\1\s*>/.source + "|" + /</.source + tagContent + ")";
|
|
40
|
+
Prism.languages.cshtml = Prism.languages.extend("markup", {});
|
|
41
|
+
var cs = {
|
|
42
|
+
pattern: /\S[\s\S]*/,
|
|
43
|
+
alias: "language-csharp",
|
|
44
|
+
inside: Prism.languages.insertBefore("csharp", "string", { html: {
|
|
45
|
+
pattern: RegExp(tagRegion),
|
|
46
|
+
greedy: true,
|
|
47
|
+
inside: Prism.languages.cshtml
|
|
48
|
+
} }, { csharp: Prism.languages.extend("csharp", {}) })
|
|
49
|
+
};
|
|
50
|
+
var inlineValue = {
|
|
51
|
+
pattern: RegExp(/(^|[^@])/.source + inlineCs),
|
|
52
|
+
lookbehind: true,
|
|
53
|
+
greedy: true,
|
|
54
|
+
alias: "variable",
|
|
55
|
+
inside: {
|
|
56
|
+
keyword: /^@/,
|
|
57
|
+
csharp: cs
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
Prism.languages.cshtml.tag.pattern = RegExp(/<\/?/.source + tagContent);
|
|
61
|
+
Prism.languages.cshtml.tag.inside["attr-value"].pattern = RegExp(/=\s*/.source + tagAttrValue);
|
|
62
|
+
Prism.languages.insertBefore("inside", "punctuation", { value: inlineValue }, Prism.languages.cshtml.tag.inside["attr-value"]);
|
|
63
|
+
Prism.languages.insertBefore("cshtml", "prolog", {
|
|
64
|
+
"razor-comment": {
|
|
65
|
+
pattern: /@\*[\s\S]*?\*@/,
|
|
66
|
+
greedy: true,
|
|
67
|
+
alias: "comment"
|
|
68
|
+
},
|
|
69
|
+
block: {
|
|
70
|
+
pattern: RegExp(/(^|[^@])@/.source + "(?:" + [
|
|
71
|
+
curly,
|
|
72
|
+
/(?:code|functions)\s*/.source + curly,
|
|
73
|
+
/(?:for|foreach|lock|switch|using|while)\s*/.source + round + /\s*/.source + curly,
|
|
74
|
+
/do\s*/.source + curly + /\s*while\s*/.source + round + /(?:\s*;)?/.source,
|
|
75
|
+
/try\s*/.source + curly + /\s*catch\s*/.source + round + /\s*/.source + curly + /\s*finally\s*/.source + curly,
|
|
76
|
+
/if\s*/.source + round + /\s*/.source + curly + "(?:" + /\s*else/.source + "(?:" + /\s+if\s*/.source + round + ")?" + /\s*/.source + curly + ")*",
|
|
77
|
+
/helper\s+\w+\s*/.source + round + /\s*/.source + curly
|
|
78
|
+
].join("|") + ")"),
|
|
79
|
+
lookbehind: true,
|
|
80
|
+
greedy: true,
|
|
81
|
+
inside: {
|
|
82
|
+
keyword: /^@\w*/,
|
|
83
|
+
csharp: cs
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
directive: {
|
|
87
|
+
pattern: /^([ \t]*)@(?:addTagHelper|attribute|implements|inherits|inject|layout|model|namespace|page|preservewhitespace|removeTagHelper|section|tagHelperPrefix|using)(?=\s).*/m,
|
|
88
|
+
lookbehind: true,
|
|
89
|
+
greedy: true,
|
|
90
|
+
inside: {
|
|
91
|
+
keyword: /^@\w+/,
|
|
92
|
+
csharp: cs
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
value: inlineValue,
|
|
96
|
+
"delegate-operator": {
|
|
97
|
+
pattern: /(^|[^@])@(?=<)/,
|
|
98
|
+
lookbehind: true,
|
|
99
|
+
alias: "operator"
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
Prism.languages.razor = Prism.languages.cshtml;
|
|
103
|
+
})(Prism);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
//#endregion
|
|
107
|
+
export { cshtml as default };
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/csp.js
|
|
2
|
+
/**
|
|
3
|
+
* @import {Refractor} from '../lib/core.js'
|
|
4
|
+
*/
|
|
5
|
+
csp.displayName = "csp";
|
|
6
|
+
csp.aliases = [];
|
|
7
|
+
/** @param {Refractor} Prism */
|
|
8
|
+
function csp(Prism) {
|
|
9
|
+
(function(Prism) {
|
|
10
|
+
/**
|
|
11
|
+
* @param {string} source
|
|
12
|
+
* @returns {RegExp}
|
|
13
|
+
*/
|
|
14
|
+
function value(source) {
|
|
15
|
+
return RegExp(/([ \t])/.source + "(?:" + source + ")" + /(?=[\s;]|$)/.source, "i");
|
|
16
|
+
}
|
|
17
|
+
Prism.languages.csp = {
|
|
18
|
+
directive: {
|
|
19
|
+
pattern: /(^|[\s;])(?:base-uri|block-all-mixed-content|(?:child|connect|default|font|frame|img|manifest|media|object|prefetch|script|style|worker)-src|disown-opener|form-action|frame-(?:ancestors|options)|input-protection(?:-(?:clip|selectors))?|navigate-to|plugin-types|policy-uri|referrer|reflected-xss|report-(?:to|uri)|require-sri-for|sandbox|(?:script|style)-src-(?:attr|elem)|upgrade-insecure-requests)(?=[\s;]|$)/i,
|
|
20
|
+
lookbehind: true,
|
|
21
|
+
alias: "property"
|
|
22
|
+
},
|
|
23
|
+
scheme: {
|
|
24
|
+
pattern: value(/[a-z][a-z0-9.+-]*:/.source),
|
|
25
|
+
lookbehind: true
|
|
26
|
+
},
|
|
27
|
+
none: {
|
|
28
|
+
pattern: value(/'none'/.source),
|
|
29
|
+
lookbehind: true,
|
|
30
|
+
alias: "keyword"
|
|
31
|
+
},
|
|
32
|
+
nonce: {
|
|
33
|
+
pattern: value(/'nonce-[-+/\w=]+'/.source),
|
|
34
|
+
lookbehind: true,
|
|
35
|
+
alias: "number"
|
|
36
|
+
},
|
|
37
|
+
hash: {
|
|
38
|
+
pattern: value(/'sha(?:256|384|512)-[-+/\w=]+'/.source),
|
|
39
|
+
lookbehind: true,
|
|
40
|
+
alias: "number"
|
|
41
|
+
},
|
|
42
|
+
host: {
|
|
43
|
+
pattern: value(/[a-z][a-z0-9.+-]*:\/\/[^\s;,']*/.source + "|" + /\*[^\s;,']*/.source + "|" + /[a-z0-9-]+(?:\.[a-z0-9-]+)+(?::[\d*]+)?(?:\/[^\s;,']*)?/.source),
|
|
44
|
+
lookbehind: true,
|
|
45
|
+
alias: "url",
|
|
46
|
+
inside: { important: /\*/ }
|
|
47
|
+
},
|
|
48
|
+
keyword: [{
|
|
49
|
+
pattern: value(/'unsafe-[a-z-]+'/.source),
|
|
50
|
+
lookbehind: true,
|
|
51
|
+
alias: "unsafe"
|
|
52
|
+
}, {
|
|
53
|
+
pattern: value(/'[a-z-]+'/.source),
|
|
54
|
+
lookbehind: true,
|
|
55
|
+
alias: "safe"
|
|
56
|
+
}],
|
|
57
|
+
punctuation: /;/
|
|
58
|
+
};
|
|
59
|
+
})(Prism);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
//#endregion
|
|
63
|
+
export { csp as default };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { t as __commonJSMin } from "./rolldown-runtime-DZ8SGSJo.js";
|
|
2
|
+
|
|
3
|
+
//#region ../../node_modules/.pnpm/highlight.js@10.7.3/node_modules/highlight.js/lib/languages/csp.js
|
|
4
|
+
var require_csp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5
|
+
/** @type LanguageFn */
|
|
6
|
+
function csp(hljs) {
|
|
7
|
+
return {
|
|
8
|
+
name: "CSP",
|
|
9
|
+
case_insensitive: false,
|
|
10
|
+
keywords: {
|
|
11
|
+
$pattern: "[a-zA-Z][a-zA-Z0-9_-]*",
|
|
12
|
+
keyword: "base-uri child-src connect-src default-src font-src form-action frame-ancestors frame-src img-src media-src object-src plugin-types report-uri sandbox script-src style-src"
|
|
13
|
+
},
|
|
14
|
+
contains: [{
|
|
15
|
+
className: "string",
|
|
16
|
+
begin: "'",
|
|
17
|
+
end: "'"
|
|
18
|
+
}, {
|
|
19
|
+
className: "attribute",
|
|
20
|
+
begin: "^Content",
|
|
21
|
+
end: ":",
|
|
22
|
+
excludeEnd: true
|
|
23
|
+
}]
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
module.exports = csp;
|
|
27
|
+
}));
|
|
28
|
+
|
|
29
|
+
//#endregion
|
|
30
|
+
export default require_csp();
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/css.js
|
|
2
|
+
/**
|
|
3
|
+
* @import {Refractor} from '../lib/core.js'
|
|
4
|
+
*/
|
|
5
|
+
css.displayName = "css";
|
|
6
|
+
css.aliases = [];
|
|
7
|
+
/** @param {Refractor} Prism */
|
|
8
|
+
function css(Prism) {
|
|
9
|
+
(function(Prism) {
|
|
10
|
+
var string = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
|
|
11
|
+
Prism.languages.css = {
|
|
12
|
+
comment: /\/\*[\s\S]*?\*\//,
|
|
13
|
+
atrule: {
|
|
14
|
+
pattern: RegExp("@[\\w-](?:" + /[^;{\s"']|\s+(?!\s)/.source + "|" + string.source + ")*?" + /(?:;|(?=\s*\{))/.source),
|
|
15
|
+
inside: {
|
|
16
|
+
rule: /^@[\w-]+/,
|
|
17
|
+
"selector-function-argument": {
|
|
18
|
+
pattern: /(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,
|
|
19
|
+
lookbehind: true,
|
|
20
|
+
alias: "selector"
|
|
21
|
+
},
|
|
22
|
+
keyword: {
|
|
23
|
+
pattern: /(^|[^\w-])(?:and|not|only|or)(?![\w-])/,
|
|
24
|
+
lookbehind: true
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
url: {
|
|
29
|
+
pattern: RegExp("\\burl\\((?:" + string.source + "|" + /(?:[^\\\r\n()"']|\\[\s\S])*/.source + ")\\)", "i"),
|
|
30
|
+
greedy: true,
|
|
31
|
+
inside: {
|
|
32
|
+
function: /^url/i,
|
|
33
|
+
punctuation: /^\(|\)$/,
|
|
34
|
+
string: {
|
|
35
|
+
pattern: RegExp("^" + string.source + "$"),
|
|
36
|
+
alias: "url"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
selector: {
|
|
41
|
+
pattern: RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|" + string.source + ")*(?=\\s*\\{)"),
|
|
42
|
+
lookbehind: true
|
|
43
|
+
},
|
|
44
|
+
string: {
|
|
45
|
+
pattern: string,
|
|
46
|
+
greedy: true
|
|
47
|
+
},
|
|
48
|
+
property: {
|
|
49
|
+
pattern: /(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,
|
|
50
|
+
lookbehind: true
|
|
51
|
+
},
|
|
52
|
+
important: /!important\b/i,
|
|
53
|
+
function: {
|
|
54
|
+
pattern: /(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,
|
|
55
|
+
lookbehind: true
|
|
56
|
+
},
|
|
57
|
+
punctuation: /[(){};:,]/
|
|
58
|
+
};
|
|
59
|
+
Prism.languages.css["atrule"].inside.rest = Prism.languages.css;
|
|
60
|
+
var markup = Prism.languages.markup;
|
|
61
|
+
if (markup) {
|
|
62
|
+
markup.tag.addInlined("style", "css");
|
|
63
|
+
markup.tag.addAttribute("style", "css");
|
|
64
|
+
}
|
|
65
|
+
})(Prism);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
//#endregion
|
|
69
|
+
export { css as default };
|