@kong-ui-public/document-viewer 0.10.20 → 0.10.22
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/document-viewer.es.js +1655 -13
- package/dist/document-viewer.umd.js +4 -94
- package/package.json +3 -3
- package/dist/index-c5fb19c8.js +0 -1661
- package/dist/prism-abap.min-5dd8af1f.js +0 -1
- package/dist/prism-abnf.min-c3c3a9d9.js +0 -4
- package/dist/prism-actionscript.min-bd2d6afb.js +0 -1
- package/dist/prism-ada.min-316d6d00.js +0 -1
- package/dist/prism-agda.min-a6b4d217.js +0 -3
- package/dist/prism-al.min-f12e9359.js +0 -1
- package/dist/prism-antlr4.min-850b07d5.js +0 -1
- package/dist/prism-apacheconf.min-948db440.js +0 -1
- package/dist/prism-apex.min-cb3fec7c.js +0 -12
- package/dist/prism-apl.min-98159dbe.js +0 -1
- package/dist/prism-applescript.min-feb2957e.js +0 -1
- package/dist/prism-aql.min-d24bd57a.js +0 -1
- package/dist/prism-arduino.min-497e5615.js +0 -1
- package/dist/prism-arff.min-54f15f52.js +0 -1
- package/dist/prism-armasm.min-60c6ead7.js +0 -1
- package/dist/prism-arturo.min-699e210e.js +0 -6
- package/dist/prism-asciidoc.min-f4622897.js +0 -11
- package/dist/prism-asm6502.min-d16ec8e7.js +0 -1
- package/dist/prism-asmatmel.min-ebb34761.js +0 -1
- package/dist/prism-aspnet.min-02de9064.js +0 -1
- package/dist/prism-autohotkey.min-58278b6c.js +0 -1
- package/dist/prism-autoit.min-bb495ed7.js +0 -1
- package/dist/prism-avisynth.min-21dd4dbf.js +0 -11
- package/dist/prism-avro-idl.min-37aa0190.js +0 -1
- package/dist/prism-awk.min-8362995b.js +0 -1
- package/dist/prism-bash.min-3a888b73.js +0 -7
- package/dist/prism-basic.min-70837013.js +0 -1
- package/dist/prism-batch.min-e22008b6.js +0 -4
- package/dist/prism-bbcode.min-1be070b7.js +0 -1
- package/dist/prism-bbj.min-c8595d55.js +0 -3
- package/dist/prism-bicep.min-b958c50e.js +0 -1
- package/dist/prism-birb.min-1790d3b7.js +0 -1
- package/dist/prism-bison.min-58efa25c.js +0 -1
- package/dist/prism-bnf.min-8a47cccc.js +0 -1
- package/dist/prism-bqn.min-7536e012.js +0 -1
- package/dist/prism-brainfuck.min-c9364b5e.js +0 -1
- package/dist/prism-brightscript.min-d8aa03cd.js +0 -1
- package/dist/prism-bro.min-6e2db8a0.js +0 -1
- package/dist/prism-bsl.min-6da4b323.js +0 -1
- package/dist/prism-c.min-b845f634.js +0 -1
- package/dist/prism-cfscript.min-e626d6e7.js +0 -1
- package/dist/prism-chaiscript.min-59cf3b38.js +0 -1
- package/dist/prism-cil.min-60db77c1.js +0 -1
- package/dist/prism-cilkc.min-4c71300b.js +0 -1
- package/dist/prism-cilkcpp.min-3963bb02.js +0 -1
- package/dist/prism-clike.min-7115c549.js +0 -1
- package/dist/prism-clojure.min-8aa86fbd.js +0 -1
- package/dist/prism-cmake.min-194d339e.js +0 -1
- package/dist/prism-cobol.min-4f11593e.js +0 -1
- package/dist/prism-coffeescript.min-c3968b8f.js +0 -4
- package/dist/prism-concurnas.min-5073257b.js +0 -1
- package/dist/prism-cooklang.min-39421cc9.js +0 -4
- package/dist/prism-coq.min-b08d301c.js +0 -9
- package/dist/prism-core.min-2ef141a5.js +0 -271
- package/dist/prism-cpp.min-ac230d87.js +0 -13
- package/dist/prism-crystal.min-13116708.js +0 -3
- package/dist/prism-csharp.min-2a7aa1d7.js +0 -35
- package/dist/prism-cshtml.min-e0dea03d.js +0 -16
- package/dist/prism-csp.min-9632aa13.js +0 -6
- package/dist/prism-css-extras.min-b8bed0b9.js +0 -6
- package/dist/prism-css.min-e38589a9.js +0 -7
- package/dist/prism-csv.min-59c9f7fe.js +0 -1
- package/dist/prism-cue.min-a0471d75.js +0 -7
- package/dist/prism-cypher.min-c0e5a4ac.js +0 -1
- package/dist/prism-d.min-fe73d282.js +0 -1
- package/dist/prism-dart.min-79822d61.js +0 -4
- package/dist/prism-dataweave.min-ac7788bb.js +0 -3
- package/dist/prism-dax.min-10526a78.js +0 -1
- package/dist/prism-dhall.min-1d8f852b.js +0 -1
- package/dist/prism-diff.min-58a65b3c.js +0 -10
- package/dist/prism-django.min-966e5f65.js +0 -13
- package/dist/prism-dns-zone-file.min-6884205e.js +0 -1
- package/dist/prism-docker.min-2330af65.js +0 -22
- package/dist/prism-dot.min-b7040a53.js +0 -13
- package/dist/prism-ebnf.min-72a1d666.js +0 -1
- package/dist/prism-editorconfig.min-f0a114f7.js +0 -1
- package/dist/prism-eiffel.min-49594bdc.js +0 -1
- package/dist/prism-ejs.min-a2f2c9ea.js +0 -7
- package/dist/prism-elixir.min-ba69265c.js +0 -3
- package/dist/prism-elm.min-3290c07f.js +0 -1
- package/dist/prism-erb.min-51922f18.js +0 -7
- package/dist/prism-erlang.min-1847c6a7.js +0 -1
- package/dist/prism-etlua.min-d9358902.js +0 -7
- package/dist/prism-excel-formula.min-0e717178.js +0 -1
- package/dist/prism-factor.min-0ea41495.js +0 -10
- package/dist/prism-false.min-d1e3e399.js +0 -3
- package/dist/prism-firestore-security-rules.min-2230fbf2.js +0 -1
- package/dist/prism-flow.min-4379ef1a.js +0 -3
- package/dist/prism-fortran.min-32dee11f.js +0 -1
- package/dist/prism-fsharp.min-e4eccb74.js +0 -1
- package/dist/prism-ftl.min-cf603b01.js +0 -20
- package/dist/prism-gap.min-3eca85c2.js +0 -1
- package/dist/prism-gcode.min-7be81032.js +0 -1
- package/dist/prism-gdscript.min-a7d78975.js +0 -1
- package/dist/prism-gedcom.min-364aaac3.js +0 -1
- package/dist/prism-gettext.min-d6e41f3f.js +0 -1
- package/dist/prism-gherkin.min-b8bce925.js +0 -5
- package/dist/prism-git.min-d984e2ae.js +0 -1
- package/dist/prism-glsl.min-5a4d82d4.js +0 -1
- package/dist/prism-gml.min-b91c603d.js +0 -1
- package/dist/prism-gn.min-b37dd2cf.js +0 -1
- package/dist/prism-go-module.min-e9a704bf.js +0 -1
- package/dist/prism-go.min-c7322c64.js +0 -1
- package/dist/prism-gradle.min-1a828d06.js +0 -4
- package/dist/prism-graphql.min-e5fddf96.js +0 -59
- package/dist/prism-groovy.min-6999a453.js +0 -4
- package/dist/prism-haml.min-06d636e1.js +0 -10
- package/dist/prism-handlebars.min-d59c233b.js +0 -7
- package/dist/prism-haskell.min-2d474195.js +0 -1
- package/dist/prism-haxe.min-0b47bda7.js +0 -1
- package/dist/prism-hcl.min-dd93c4fa.js +0 -1
- package/dist/prism-hlsl.min-90bc1513.js +0 -1
- package/dist/prism-hoon.min-5ac6535d.js +0 -1
- package/dist/prism-hpkp.min-ccf08017.js +0 -1
- package/dist/prism-hsts.min-0dd9146f.js +0 -1
- package/dist/prism-http.min-10b32777.js +0 -23
- package/dist/prism-ichigojam.min-144f1b4b.js +0 -1
- package/dist/prism-icon.min-22bb1195.js +0 -1
- package/dist/prism-icu-message-format.min-b2ecdff3.js +0 -11
- package/dist/prism-idris.min-920ad8df.js +0 -1
- package/dist/prism-iecst.min-d5ab1f6c.js +0 -1
- package/dist/prism-ignore.min-272b6ccf.js +0 -3
- package/dist/prism-inform7.min-22b438d7.js +0 -1
- package/dist/prism-ini.min-b9585cc2.js +0 -1
- package/dist/prism-io.min-bc03d63b.js +0 -1
- package/dist/prism-j.min-2dc34683.js +0 -1
- package/dist/prism-java.min-2cfc90de.js +0 -6
- package/dist/prism-javadoc.min-12ef12d8.js +0 -6
- package/dist/prism-javadoclike.min-e07933fc.js +0 -20
- package/dist/prism-javascript.min-03c8bcee.js +0 -8
- package/dist/prism-javastacktrace.min-d3186b3e.js +0 -1
- package/dist/prism-jexl.min-084d69d8.js +0 -1
- package/dist/prism-jolie.min-466d4cf7.js +0 -1
- package/dist/prism-jq.min-3daf478a.js +0 -8
- package/dist/prism-js-extras.min-a225cee9.js +0 -14
- package/dist/prism-js-templates.min-c950373d.js +0 -83
- package/dist/prism-jsdoc.min-02975619.js +0 -6
- package/dist/prism-json.min-fa2dced5.js +0 -1
- package/dist/prism-json5.min-3917dd44.js +0 -4
- package/dist/prism-jsonp.min-a0f4106e.js +0 -1
- package/dist/prism-jsstacktrace.min-bc3f3759.js +0 -1
- package/dist/prism-jsx.min-8af1efbf.js +0 -28
- package/dist/prism-julia.min-cc71d15e.js +0 -1
- package/dist/prism-keepalived.min-1428eb2f.js +0 -3
- package/dist/prism-keyman.min-3b419e70.js +0 -1
- package/dist/prism-kotlin.min-ecbf8553.js +0 -5
- package/dist/prism-kumir.min-624860b6.js +0 -6
- package/dist/prism-kusto.min-67b0f58b.js +0 -1
- package/dist/prism-latex.min-af145af5.js +0 -4
- package/dist/prism-latte.min-b9a60122.js +0 -9
- package/dist/prism-less.min-3a3313ed.js +0 -1
- package/dist/prism-lilypond.min-b0ed8db8.js +0 -11
- package/dist/prism-linker-script.min-dc3fc5ad.js +0 -1
- package/dist/prism-liquid.min-86fa81e6.js +0 -16
- package/dist/prism-lisp.min-cae2f73f.js +0 -10
- package/dist/prism-livescript.min-b5d9d700.js +0 -1
- package/dist/prism-llvm.min-2b4a3e33.js +0 -3
- package/dist/prism-log.min-e9ba9fa2.js +0 -1
- package/dist/prism-lolcode.min-1d0782a6.js +0 -1
- package/dist/prism-lua.min-9c7e1242.js +0 -1
- package/dist/prism-magma.min-6b08ba18.js +0 -1
- package/dist/prism-makefile.min-10c204c7.js +0 -1
- package/dist/prism-markdown.min-2fe85287.js +0 -63
- package/dist/prism-markup-templating.min-c55d1b76.js +0 -37
- package/dist/prism-markup.min-849389d5.js +0 -14
- package/dist/prism-mata.min-1bbaed90.js +0 -4
- package/dist/prism-matlab.min-c787c897.js +0 -1
- package/dist/prism-maxscript.min-8ff24836.js +0 -4
- package/dist/prism-mel.min-e8ff632f.js +0 -1
- package/dist/prism-mermaid.min-77fee473.js +0 -1
- package/dist/prism-metafont.min-94223e4b.js +0 -1
- package/dist/prism-mizar.min-50230be0.js +0 -1
- package/dist/prism-mongodb.min-9790bcfd.js +0 -6
- package/dist/prism-monkey.min-5a1eb1ff.js +0 -1
- package/dist/prism-moonscript.min-ed957c18.js +0 -1
- package/dist/prism-n1ql.min-f3780067.js +0 -1
- package/dist/prism-n4js.min-d57fb90f.js +0 -1
- package/dist/prism-nand2tetris-hdl.min-8228b246.js +0 -1
- package/dist/prism-naniscript.min-a2fa6109.js +0 -25
- package/dist/prism-nasm.min-09906ffc.js +0 -1
- package/dist/prism-neon.min-83c9b2c5.js +0 -1
- package/dist/prism-nevod.min-c2d107f2.js +0 -1
- package/dist/prism-nginx.min-01df8a32.js +0 -4
- package/dist/prism-nim.min-dd447d6c.js +0 -1
- package/dist/prism-nix.min-6430b249.js +0 -1
- package/dist/prism-nsis.min-dff25bf5.js +0 -1
- package/dist/prism-objectivec.min-01ae0d96.js +0 -1
- package/dist/prism-ocaml.min-20e838d9.js +0 -1
- package/dist/prism-odin.min-b5d9183b.js +0 -4
- package/dist/prism-opencl.min-1d85e7cf.js +0 -5
- package/dist/prism-openqasm.min-29eb40fe.js +0 -1
- package/dist/prism-oz.min-c1f4ebd4.js +0 -1
- package/dist/prism-parigp.min-8bff0612.js +0 -6
- package/dist/prism-parser.min-7722395f.js +0 -4
- package/dist/prism-pascal.min-ccf26fed.js +0 -1
- package/dist/prism-pascaligo.min-3aecb02c.js +0 -16
- package/dist/prism-pcaxis.min-c5e7a871.js +0 -1
- package/dist/prism-peoplecode.min-7c8ed2ef.js +0 -1
- package/dist/prism-perl.min-108f825c.js +0 -4
- package/dist/prism-php-extras.min-4b649f6b.js +0 -1
- package/dist/prism-php.min-b4bebbdb.js +0 -10
- package/dist/prism-phpdoc.min-71857b79.js +0 -4
- package/dist/prism-plant-uml.min-91d8fdec.js +0 -4
- package/dist/prism-plsql.min-8b0dd1ce.js +0 -1
- package/dist/prism-powerquery.min-de7eda80.js +0 -1
- package/dist/prism-powershell.min-13582006.js +0 -4
- package/dist/prism-processing.min-ddf61715.js +0 -1
- package/dist/prism-prolog.min-be61447f.js +0 -1
- package/dist/prism-promql.min-b94dbbcb.js +0 -4
- package/dist/prism-properties.min-4b65aff4.js +0 -1
- package/dist/prism-protobuf.min-c7dd99a8.js +0 -4
- package/dist/prism-psl.min-3cb6ca77.js +0 -1
- package/dist/prism-pug.min-84ed48ec.js +0 -13
- package/dist/prism-puppet.min-c02bdf50.js +0 -5
- package/dist/prism-pure.min-7b5eae7a.js +0 -9
- package/dist/prism-purebasic.min-a62b63be.js +0 -1
- package/dist/prism-purescript.min-d7c49bf2.js +0 -1
- package/dist/prism-python.min-89935d5e.js +0 -1
- package/dist/prism-q.min-96d8fb1b.js +0 -1
- package/dist/prism-qml.min-eb7c0dfc.js +0 -17
- package/dist/prism-qore.min-ed8ddb5e.js +0 -1
- package/dist/prism-qsharp.min-fb960bab.js +0 -20
- package/dist/prism-r.min-9fe1f3ed.js +0 -1
- package/dist/prism-racket.min-e90ec309.js +0 -1
- package/dist/prism-reason.min-63d1fa8a.js +0 -1
- package/dist/prism-regex.min-96d0bc4f.js +0 -4
- package/dist/prism-rego.min-281a02c1.js +0 -1
- package/dist/prism-renpy.min-2bef2655.js +0 -1
- package/dist/prism-rescript.min-2a3bda12.js +0 -1
- package/dist/prism-rest.min-09260b93.js +0 -1
- package/dist/prism-rip.min-c89fc679.js +0 -1
- package/dist/prism-roboconf.min-362299cf.js +0 -1
- package/dist/prism-robotframework.min-901bf739.js +0 -14
- package/dist/prism-ruby.min-6e459016.js +0 -9
- package/dist/prism-rust.min-820420d0.js +0 -9
- package/dist/prism-sas.min-920eaa09.js +0 -16
- package/dist/prism-sass.min-4dc53bc5.js +0 -5
- package/dist/prism-scala.min-83738843.js +0 -1
- package/dist/prism-scheme.min-1358e051.js +0 -9
- package/dist/prism-scss.min-92aea743.js +0 -1
- package/dist/prism-shell-session.min-2977ab53.js +0 -10
- package/dist/prism-smali.min-e768ca38.js +0 -1
- package/dist/prism-smalltalk.min-139c1ee1.js +0 -1
- package/dist/prism-smarty.min-f8debf97.js +0 -14
- package/dist/prism-sml.min-0c679316.js +0 -12
- package/dist/prism-solidity.min-83eb4a29.js +0 -1
- package/dist/prism-solution-file.min-52546f1c.js +0 -4
- package/dist/prism-soy.min-d2b3294e.js +0 -11
- package/dist/prism-sparql.min-b55f57a3.js +0 -1
- package/dist/prism-splunk-spl.min-bd51901e.js +0 -1
- package/dist/prism-sqf.min-7796abe2.js +0 -1
- package/dist/prism-sql.min-583eab97.js +0 -1
- package/dist/prism-squirrel.min-6210cc27.js +0 -1
- package/dist/prism-stan.min-0219161d.js +0 -4
- package/dist/prism-stata.min-e8468e92.js +0 -1
- package/dist/prism-stylus.min-b4211725.js +0 -4
- package/dist/prism-supercollider.min-a1e102ff.js +0 -1
- package/dist/prism-swift.min-962aa7ba.js +0 -7
- package/dist/prism-systemd.min-6d49f69b.js +0 -9
- package/dist/prism-t4-cs.min-258a46d3.js +0 -1
- package/dist/prism-t4-templating.min-740d429f.js +0 -9
- package/dist/prism-t4-vb.min-c3ca6021.js +0 -1
- package/dist/prism-tap.min-2d582f1c.js +0 -1
- package/dist/prism-tcl.min-3d421e58.js +0 -1
- package/dist/prism-textile.min-bea9a185.js +0 -20
- package/dist/prism-toml.min-ba409a46.js +0 -10
- package/dist/prism-tremor.min-cf11bafd.js +0 -9
- package/dist/prism-tsx.min-90ee8eaa.js +0 -6
- package/dist/prism-tt2.min-c7317371.js +0 -7
- package/dist/prism-turtle.min-d3f6c908.js +0 -1
- package/dist/prism-twig.min-06667cf3.js +0 -5
- package/dist/prism-typescript.min-da950f4e.js +0 -5
- package/dist/prism-typoscript.min-92ab2527.js +0 -4
- package/dist/prism-unrealscript.min-524c9821.js +0 -1
- package/dist/prism-uorazor.min-8445afde.js +0 -1
- package/dist/prism-uri.min-8d153620.js +0 -1
- package/dist/prism-v.min-f5dfa62f.js +0 -4
- package/dist/prism-vala.min-8099e50d.js +0 -1
- package/dist/prism-vbnet.min-c684e95c.js +0 -1
- package/dist/prism-velocity.min-ce8230ae.js +0 -5
- package/dist/prism-verilog.min-49879cf6.js +0 -1
- package/dist/prism-vhdl.min-9c469192.js +0 -1
- package/dist/prism-vim.min-753cf120.js +0 -1
- package/dist/prism-visual-basic.min-03026ad9.js +0 -1
- package/dist/prism-warpscript.min-69ba95e0.js +0 -1
- package/dist/prism-wasm.min-a8aa80a7.js +0 -1
- package/dist/prism-web-idl.min-502d10ad.js +0 -6
- package/dist/prism-wgsl.min-674a5833.js +0 -1
- package/dist/prism-wiki.min-6aa23d83.js +0 -1
- package/dist/prism-wolfram.min-5edca627.js +0 -1
- package/dist/prism-wren.min-87e34869.js +0 -1
- package/dist/prism-xeora.min-39184a91.js +0 -3
- package/dist/prism-xml-doc.min-cd59a0d2.js +0 -7
- package/dist/prism-xojo.min-7d27c927.js +0 -1
- package/dist/prism-xquery.min-aebd2f79.js +0 -18
- package/dist/prism-yaml.min-971ccff8.js +0 -28
- package/dist/prism-yang.min-39f14179.js +0 -1
- package/dist/prism-zig.min-e777c275.js +0 -11
|
@@ -1,271 +0,0 @@
|
|
|
1
|
-
import { g as X, c as I } from "./index-c5fb19c8.js";
|
|
2
|
-
function Y(y, A) {
|
|
3
|
-
for (var x = 0; x < A.length; x++) {
|
|
4
|
-
const u = A[x];
|
|
5
|
-
if (typeof u != "string" && !Array.isArray(u)) {
|
|
6
|
-
for (const p in u)
|
|
7
|
-
if (p !== "default" && !(p in y)) {
|
|
8
|
-
const k = Object.getOwnPropertyDescriptor(u, p);
|
|
9
|
-
k && Object.defineProperty(y, p, k.get ? k : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => u[p]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(y, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var B = { exports: {} };
|
|
19
|
-
(function(y) {
|
|
20
|
-
var A = typeof window < "u" ? window : typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope ? self : {}, x = function(u) {
|
|
21
|
-
var p = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, k = 0, _ = {}, i = { manual: u.Prism && u.Prism.manual, disableWorkerMessageHandler: u.Prism && u.Prism.disableWorkerMessageHandler, util: { encode: function r(e) {
|
|
22
|
-
return e instanceof m ? new m(e.type, r(e.content), e.alias) : Array.isArray(e) ? e.map(r) : e.replace(/&/g, "&").replace(/</g, "<").replace(/\u00a0/g, " ");
|
|
23
|
-
}, type: function(r) {
|
|
24
|
-
return Object.prototype.toString.call(r).slice(8, -1);
|
|
25
|
-
}, objId: function(r) {
|
|
26
|
-
return r.__id || Object.defineProperty(r, "__id", { value: ++k }), r.__id;
|
|
27
|
-
}, clone: function r(e, a) {
|
|
28
|
-
var t, n;
|
|
29
|
-
switch (a = a || {}, i.util.type(e)) {
|
|
30
|
-
case "Object":
|
|
31
|
-
if (n = i.util.objId(e), a[n])
|
|
32
|
-
return a[n];
|
|
33
|
-
for (var l in t = {}, a[n] = t, e)
|
|
34
|
-
e.hasOwnProperty(l) && (t[l] = r(e[l], a));
|
|
35
|
-
return t;
|
|
36
|
-
case "Array":
|
|
37
|
-
return n = i.util.objId(e), a[n] ? a[n] : (t = [], a[n] = t, e.forEach(function(o, s) {
|
|
38
|
-
t[s] = r(o, a);
|
|
39
|
-
}), t);
|
|
40
|
-
default:
|
|
41
|
-
return e;
|
|
42
|
-
}
|
|
43
|
-
}, getLanguage: function(r) {
|
|
44
|
-
for (; r; ) {
|
|
45
|
-
var e = p.exec(r.className);
|
|
46
|
-
if (e)
|
|
47
|
-
return e[1].toLowerCase();
|
|
48
|
-
r = r.parentElement;
|
|
49
|
-
}
|
|
50
|
-
return "none";
|
|
51
|
-
}, setLanguage: function(r, e) {
|
|
52
|
-
r.className = r.className.replace(RegExp(p, "gi"), ""), r.classList.add("language-" + e);
|
|
53
|
-
}, currentScript: function() {
|
|
54
|
-
if (typeof document > "u")
|
|
55
|
-
return null;
|
|
56
|
-
if ("currentScript" in document)
|
|
57
|
-
return document.currentScript;
|
|
58
|
-
try {
|
|
59
|
-
throw new Error();
|
|
60
|
-
} catch (t) {
|
|
61
|
-
var r = (/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(t.stack) || [])[1];
|
|
62
|
-
if (r) {
|
|
63
|
-
var e = document.getElementsByTagName("script");
|
|
64
|
-
for (var a in e)
|
|
65
|
-
if (e[a].src == r)
|
|
66
|
-
return e[a];
|
|
67
|
-
}
|
|
68
|
-
return null;
|
|
69
|
-
}
|
|
70
|
-
}, isActive: function(r, e, a) {
|
|
71
|
-
for (var t = "no-" + e; r; ) {
|
|
72
|
-
var n = r.classList;
|
|
73
|
-
if (n.contains(e))
|
|
74
|
-
return !0;
|
|
75
|
-
if (n.contains(t))
|
|
76
|
-
return !1;
|
|
77
|
-
r = r.parentElement;
|
|
78
|
-
}
|
|
79
|
-
return !!a;
|
|
80
|
-
} }, languages: { plain: _, plaintext: _, text: _, txt: _, extend: function(r, e) {
|
|
81
|
-
var a = i.util.clone(i.languages[r]);
|
|
82
|
-
for (var t in e)
|
|
83
|
-
a[t] = e[t];
|
|
84
|
-
return a;
|
|
85
|
-
}, insertBefore: function(r, e, a, t) {
|
|
86
|
-
var n = (t = t || i.languages)[r], l = {};
|
|
87
|
-
for (var o in n)
|
|
88
|
-
if (n.hasOwnProperty(o)) {
|
|
89
|
-
if (o == e)
|
|
90
|
-
for (var s in a)
|
|
91
|
-
a.hasOwnProperty(s) && (l[s] = a[s]);
|
|
92
|
-
a.hasOwnProperty(o) || (l[o] = n[o]);
|
|
93
|
-
}
|
|
94
|
-
var g = t[r];
|
|
95
|
-
return t[r] = l, i.languages.DFS(i.languages, function(c, S) {
|
|
96
|
-
S === g && c != r && (this[c] = l);
|
|
97
|
-
}), l;
|
|
98
|
-
}, DFS: function r(e, a, t, n) {
|
|
99
|
-
n = n || {};
|
|
100
|
-
var l = i.util.objId;
|
|
101
|
-
for (var o in e)
|
|
102
|
-
if (e.hasOwnProperty(o)) {
|
|
103
|
-
a.call(e, o, e[o], t || o);
|
|
104
|
-
var s = e[o], g = i.util.type(s);
|
|
105
|
-
g !== "Object" || n[l(s)] ? g !== "Array" || n[l(s)] || (n[l(s)] = !0, r(s, a, o, n)) : (n[l(s)] = !0, r(s, a, null, n));
|
|
106
|
-
}
|
|
107
|
-
} }, plugins: {}, highlightAll: function(r, e) {
|
|
108
|
-
i.highlightAllUnder(document, r, e);
|
|
109
|
-
}, highlightAllUnder: function(r, e, a) {
|
|
110
|
-
var t = { callback: a, container: r, selector: 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code' };
|
|
111
|
-
i.hooks.run("before-highlightall", t), t.elements = Array.prototype.slice.apply(t.container.querySelectorAll(t.selector)), i.hooks.run("before-all-elements-highlight", t);
|
|
112
|
-
for (var n, l = 0; n = t.elements[l++]; )
|
|
113
|
-
i.highlightElement(n, e === !0, t.callback);
|
|
114
|
-
}, highlightElement: function(r, e, a) {
|
|
115
|
-
var t = i.util.getLanguage(r), n = i.languages[t];
|
|
116
|
-
i.util.setLanguage(r, t);
|
|
117
|
-
var l = r.parentElement;
|
|
118
|
-
l && l.nodeName.toLowerCase() === "pre" && i.util.setLanguage(l, t);
|
|
119
|
-
var o = { element: r, language: t, grammar: n, code: r.textContent };
|
|
120
|
-
function s(c) {
|
|
121
|
-
o.highlightedCode = c, i.hooks.run("before-insert", o), o.element.innerHTML = o.highlightedCode, i.hooks.run("after-highlight", o), i.hooks.run("complete", o), a && a.call(o.element);
|
|
122
|
-
}
|
|
123
|
-
if (i.hooks.run("before-sanity-check", o), (l = o.element.parentElement) && l.nodeName.toLowerCase() === "pre" && !l.hasAttribute("tabindex") && l.setAttribute("tabindex", "0"), !o.code)
|
|
124
|
-
return i.hooks.run("complete", o), void (a && a.call(o.element));
|
|
125
|
-
if (i.hooks.run("before-highlight", o), o.grammar)
|
|
126
|
-
if (e && u.Worker) {
|
|
127
|
-
var g = new Worker(i.filename);
|
|
128
|
-
g.onmessage = function(c) {
|
|
129
|
-
s(c.data);
|
|
130
|
-
}, g.postMessage(JSON.stringify({ language: o.language, code: o.code, immediateClose: !0 }));
|
|
131
|
-
} else
|
|
132
|
-
s(i.highlight(o.code, o.grammar, o.language));
|
|
133
|
-
else
|
|
134
|
-
s(i.util.encode(o.code));
|
|
135
|
-
}, highlight: function(r, e, a) {
|
|
136
|
-
var t = { code: r, grammar: e, language: a };
|
|
137
|
-
if (i.hooks.run("before-tokenize", t), !t.grammar)
|
|
138
|
-
throw new Error('The language "' + t.language + '" has no grammar.');
|
|
139
|
-
return t.tokens = i.tokenize(t.code, t.grammar), i.hooks.run("after-tokenize", t), m.stringify(i.util.encode(t.tokens), t.language);
|
|
140
|
-
}, tokenize: function(r, e) {
|
|
141
|
-
var a = e.rest;
|
|
142
|
-
if (a) {
|
|
143
|
-
for (var t in a)
|
|
144
|
-
e[t] = a[t];
|
|
145
|
-
delete e.rest;
|
|
146
|
-
}
|
|
147
|
-
var n = new R();
|
|
148
|
-
return E(n, n.head, r), W(r, n, e, n.head, 0), function(l) {
|
|
149
|
-
for (var o = [], s = l.head.next; s !== l.tail; )
|
|
150
|
-
o.push(s.value), s = s.next;
|
|
151
|
-
return o;
|
|
152
|
-
}(n);
|
|
153
|
-
}, hooks: { all: {}, add: function(r, e) {
|
|
154
|
-
var a = i.hooks.all;
|
|
155
|
-
a[r] = a[r] || [], a[r].push(e);
|
|
156
|
-
}, run: function(r, e) {
|
|
157
|
-
var a = i.hooks.all[r];
|
|
158
|
-
if (a && a.length)
|
|
159
|
-
for (var t, n = 0; t = a[n++]; )
|
|
160
|
-
t(e);
|
|
161
|
-
} }, Token: m };
|
|
162
|
-
function m(r, e, a, t) {
|
|
163
|
-
this.type = r, this.content = e, this.alias = a, this.length = 0 | (t || "").length;
|
|
164
|
-
}
|
|
165
|
-
function F(r, e, a, t) {
|
|
166
|
-
r.lastIndex = e;
|
|
167
|
-
var n = r.exec(a);
|
|
168
|
-
if (n && t && n[1]) {
|
|
169
|
-
var l = n[1].length;
|
|
170
|
-
n.index += l, n[0] = n[0].slice(l);
|
|
171
|
-
}
|
|
172
|
-
return n;
|
|
173
|
-
}
|
|
174
|
-
function W(r, e, a, t, n, l) {
|
|
175
|
-
for (var o in a)
|
|
176
|
-
if (a.hasOwnProperty(o) && a[o]) {
|
|
177
|
-
var s = a[o];
|
|
178
|
-
s = Array.isArray(s) ? s : [s];
|
|
179
|
-
for (var g = 0; g < s.length; ++g) {
|
|
180
|
-
if (l && l.cause == o + "," + g)
|
|
181
|
-
return;
|
|
182
|
-
var c = s[g], S = c.inside, q = !!c.lookbehind, H = !!c.greedy, K = c.alias;
|
|
183
|
-
if (H && !c.pattern.global) {
|
|
184
|
-
var Q = c.pattern.toString().match(/[imsuy]*$/)[0];
|
|
185
|
-
c.pattern = RegExp(c.pattern.source, Q + "g");
|
|
186
|
-
}
|
|
187
|
-
for (var z = c.pattern || c, f = t.next, h = n; f !== e.tail && !(l && h >= l.reach); h += f.value.length, f = f.next) {
|
|
188
|
-
var b = f.value;
|
|
189
|
-
if (e.length > r.length)
|
|
190
|
-
return;
|
|
191
|
-
if (!(b instanceof m)) {
|
|
192
|
-
var d, L = 1;
|
|
193
|
-
if (H) {
|
|
194
|
-
if (!(d = F(z, h, r, q)) || d.index >= r.length)
|
|
195
|
-
break;
|
|
196
|
-
var C = d.index, V = d.index + d[0].length, v = h;
|
|
197
|
-
for (v += f.value.length; C >= v; )
|
|
198
|
-
v += (f = f.next).value.length;
|
|
199
|
-
if (h = v -= f.value.length, f.value instanceof m)
|
|
200
|
-
continue;
|
|
201
|
-
for (var w = f; w !== e.tail && (v < V || typeof w.value == "string"); w = w.next)
|
|
202
|
-
L++, v += w.value.length;
|
|
203
|
-
L--, b = r.slice(h, v), d.index -= h;
|
|
204
|
-
} else if (!(d = F(z, 0, b, q)))
|
|
205
|
-
continue;
|
|
206
|
-
C = d.index;
|
|
207
|
-
var j = d[0], N = b.slice(0, C), G = b.slice(C + j.length), T = h + b.length;
|
|
208
|
-
l && T > l.reach && (l.reach = T);
|
|
209
|
-
var P = f.prev;
|
|
210
|
-
if (N && (P = E(e, P, N), h += N.length), U(e, P, L), f = E(e, P, new m(o, S ? i.tokenize(j, S) : j, K, j)), G && E(e, f, G), L > 1) {
|
|
211
|
-
var D = { cause: o + "," + g, reach: T };
|
|
212
|
-
W(r, e, a, f.prev, h, D), l && D.reach > l.reach && (l.reach = D.reach);
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
function R() {
|
|
220
|
-
var r = { value: null, prev: null, next: null }, e = { value: null, prev: r, next: null };
|
|
221
|
-
r.next = e, this.head = r, this.tail = e, this.length = 0;
|
|
222
|
-
}
|
|
223
|
-
function E(r, e, a) {
|
|
224
|
-
var t = e.next, n = { value: a, prev: e, next: t };
|
|
225
|
-
return e.next = n, t.prev = n, r.length++, n;
|
|
226
|
-
}
|
|
227
|
-
function U(r, e, a) {
|
|
228
|
-
for (var t = e.next, n = 0; n < a && t !== r.tail; n++)
|
|
229
|
-
t = t.next;
|
|
230
|
-
e.next = t, t.prev = e, r.length -= n;
|
|
231
|
-
}
|
|
232
|
-
if (u.Prism = i, m.stringify = function r(e, a) {
|
|
233
|
-
if (typeof e == "string")
|
|
234
|
-
return e;
|
|
235
|
-
if (Array.isArray(e)) {
|
|
236
|
-
var t = "";
|
|
237
|
-
return e.forEach(function(g) {
|
|
238
|
-
t += r(g, a);
|
|
239
|
-
}), t;
|
|
240
|
-
}
|
|
241
|
-
var n = { type: e.type, content: r(e.content, a), tag: "span", classes: ["token", e.type], attributes: {}, language: a }, l = e.alias;
|
|
242
|
-
l && (Array.isArray(l) ? Array.prototype.push.apply(n.classes, l) : n.classes.push(l)), i.hooks.run("wrap", n);
|
|
243
|
-
var o = "";
|
|
244
|
-
for (var s in n.attributes)
|
|
245
|
-
o += " " + s + '="' + (n.attributes[s] || "").replace(/"/g, """) + '"';
|
|
246
|
-
return "<" + n.tag + ' class="' + n.classes.join(" ") + '"' + o + ">" + n.content + "</" + n.tag + ">";
|
|
247
|
-
}, !u.document)
|
|
248
|
-
return u.addEventListener && (i.disableWorkerMessageHandler || u.addEventListener("message", function(r) {
|
|
249
|
-
var e = JSON.parse(r.data), a = e.language, t = e.code, n = e.immediateClose;
|
|
250
|
-
u.postMessage(i.highlight(t, i.languages[a], a)), n && u.close();
|
|
251
|
-
}, !1)), i;
|
|
252
|
-
var O = i.util.currentScript();
|
|
253
|
-
function M() {
|
|
254
|
-
i.manual || i.highlightAll();
|
|
255
|
-
}
|
|
256
|
-
if (O && (i.filename = O.src, O.hasAttribute("data-manual") && (i.manual = !0)), !i.manual) {
|
|
257
|
-
var $ = document.readyState;
|
|
258
|
-
$ === "loading" || $ === "interactive" && O && O.defer ? document.addEventListener("DOMContentLoaded", M) : window.requestAnimationFrame ? window.requestAnimationFrame(M) : window.setTimeout(M, 16);
|
|
259
|
-
}
|
|
260
|
-
return i;
|
|
261
|
-
}(A);
|
|
262
|
-
y.exports && (y.exports = x), typeof I < "u" && (I.Prism = x);
|
|
263
|
-
})(B);
|
|
264
|
-
var J = B.exports;
|
|
265
|
-
const Z = /* @__PURE__ */ X(J), re = /* @__PURE__ */ Y({
|
|
266
|
-
__proto__: null,
|
|
267
|
-
default: Z
|
|
268
|
-
}, [J]);
|
|
269
|
-
export {
|
|
270
|
-
re as p
|
|
271
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
(function(e) {
|
|
2
|
-
var t = /\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/, n = "\\b(?!<keyword>)\\w+(?:\\s*\\.\\s*\\w+)*\\b".replace(/<keyword>/g, function() {
|
|
3
|
-
return t.source;
|
|
4
|
-
});
|
|
5
|
-
e.languages.cpp = e.languages.extend("c", { "class-name": [{ pattern: RegExp("(\\b(?:class|concept|enum|struct|typename)\\s+)(?!<keyword>)\\w+".replace(/<keyword>/g, function() {
|
|
6
|
-
return t.source;
|
|
7
|
-
})), lookbehind: !0 }, /\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/, /\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i, /\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/], keyword: t, number: { pattern: /(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i, greedy: !0 }, operator: />>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/, boolean: /\b(?:false|true)\b/ }), e.languages.insertBefore("cpp", "string", { module: { pattern: RegExp(`(\\b(?:import|module)\\s+)(?:"(?:\\\\(?:\r
|
|
8
|
-
|[^])|[^"\\\\\r
|
|
9
|
-
])*"|<[^<>\r
|
|
10
|
-
]*>|` + "<mod-name>(?:\\s*:\\s*<mod-name>)?|:\\s*<mod-name>".replace(/<mod-name>/g, function() {
|
|
11
|
-
return n;
|
|
12
|
-
}) + ")"), lookbehind: !0, greedy: !0, inside: { string: /^[<"][\s\S]+/, operator: /:/, punctuation: /\./ } }, "raw-string": { pattern: /R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/, alias: "string", greedy: !0 } }), e.languages.insertBefore("cpp", "keyword", { "generic-function": { pattern: /\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i, inside: { function: /^\w+/, generic: { pattern: /<[\s\S]+/, alias: "class-name", inside: e.languages.cpp } } } }), e.languages.insertBefore("cpp", "operator", { "double-colon": { pattern: /::/, alias: "punctuation" } }), e.languages.insertBefore("cpp", "class-name", { "base-clause": { pattern: /(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/, lookbehind: !0, greedy: !0, inside: e.languages.extend("cpp", {}) } }), e.languages.insertBefore("inside", "double-colon", { "class-name": /\b[a-z_]\w*\b(?!\s*::)/i }, e.languages.cpp["base-clause"]);
|
|
13
|
-
})(Prism);
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
(function(e) {
|
|
2
|
-
e.languages.crystal = e.languages.extend("ruby", { keyword: [/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/, { pattern: /(\.\s*)(?:is_a|responds_to)\?/, lookbehind: !0 }], number: /\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/, operator: [/->/, e.languages.ruby.operator], punctuation: /[(){}[\].,;\\]/ }), e.languages.insertBefore("crystal", "string-literal", { attribute: { pattern: /@\[.*?\]/, inside: { delimiter: { pattern: /^@\[|\]$/, alias: "punctuation" }, attribute: { pattern: /^(\s*)\w+/, lookbehind: !0, alias: "class-name" }, args: { pattern: /\S(?:[\s\S]*\S)?/, inside: e.languages.crystal } } }, expansion: { pattern: /\{(?:\{.*?\}|%.*?%)\}/, inside: { content: { pattern: /^(\{.)[\s\S]+(?=.\}$)/, lookbehind: !0, inside: e.languages.crystal }, delimiter: { pattern: /^\{[\{%]|[\}%]\}$/, alias: "operator" } } }, char: { pattern: /'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/, greedy: !0 } });
|
|
3
|
-
})(Prism);
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
(function(s) {
|
|
2
|
-
function n(a, o) {
|
|
3
|
-
return a.replace(/<<(\d+)>>/g, function(p, H) {
|
|
4
|
-
return "(?:" + o[+H] + ")";
|
|
5
|
-
});
|
|
6
|
-
}
|
|
7
|
-
function e(a, o, p) {
|
|
8
|
-
return RegExp(n(a, o), p || "");
|
|
9
|
-
}
|
|
10
|
-
function d(a, o) {
|
|
11
|
-
for (var p = 0; p < o; p++)
|
|
12
|
-
a = a.replace(/<<self>>/g, function() {
|
|
13
|
-
return "(?:" + a + ")";
|
|
14
|
-
});
|
|
15
|
-
return a.replace(/<<self>>/g, "[^\\s\\S]");
|
|
16
|
-
}
|
|
17
|
-
var w = "bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void", c = "class enum interface record struct", v = "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*{)", m = "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";
|
|
18
|
-
function u(a) {
|
|
19
|
-
return "\\b(?:" + a.trim().replace(/ /g, "|") + ")\\b";
|
|
20
|
-
}
|
|
21
|
-
var x = u(c), g = RegExp(u(w + " " + c + " " + v + " " + m)), U = u(c + " " + v + " " + m), Z = u(w + " " + c + " " + m), b = d("<(?:[^<>;=+\\-*/%&|^]|<<self>>)*>", 2), h = d("\\((?:[^()]|<<self>>)*\\)", 2), r = "@?\\b[A-Za-z_]\\w*\\b", f = n("<<0>>(?:\\s*<<1>>)?", [r, b]), i = n("(?!<<0>>)<<1>>(?:\\s*\\.\\s*<<1>>)*", [U, f]), k = "\\[\\s*(?:,\\s*)*\\]", q = n("<<0>>(?:\\s*(?:\\?\\s*)?<<1>>)*(?:\\s*\\?)?", [i, k]), C = n("[^,()<>[\\];=+\\-*/%&|^]|<<0>>|<<1>>|<<2>>", [b, h, k]), D = n("\\(<<0>>+(?:,<<0>>+)+\\)", [C]), l = n("(?:<<0>>|<<1>>)(?:\\s*(?:\\?\\s*)?<<2>>)*(?:\\s*\\?)?", [D, i, k]), t = { keyword: g, punctuation: /[<>()?,.:[\]]/ }, $ = `'(?:[^\r
|
|
22
|
-
'\\\\]|\\\\.|\\\\[Uux][\\da-fA-F]{1,8})'`, _ = `"(?:\\\\.|[^\\\\"\r
|
|
23
|
-
])*"`;
|
|
24
|
-
s.languages.csharp = s.languages.extend("clike", { string: [{ pattern: e("(^|[^$\\\\])<<0>>", ['@"(?:""|\\\\[^]|[^\\\\"])*"(?!")']), lookbehind: !0, greedy: !0 }, { pattern: e("(^|[^@$\\\\])<<0>>", [_]), lookbehind: !0, greedy: !0 }], "class-name": [{ pattern: e("(\\busing\\s+static\\s+)<<0>>(?=\\s*;)", [i]), lookbehind: !0, inside: t }, { pattern: e("(\\busing\\s+<<0>>\\s*=\\s*)<<1>>(?=\\s*;)", [r, l]), lookbehind: !0, inside: t }, { pattern: e("(\\busing\\s+)<<0>>(?=\\s*=)", [r]), lookbehind: !0 }, { pattern: e("(\\b<<0>>\\s+)<<1>>", [x, f]), lookbehind: !0, inside: t }, { pattern: e("(\\bcatch\\s*\\(\\s*)<<0>>", [i]), lookbehind: !0, inside: t }, { pattern: e("(\\bwhere\\s+)<<0>>", [r]), lookbehind: !0 }, { pattern: e("(\\b(?:is(?:\\s+not)?|as)\\s+)<<0>>", [q]), lookbehind: !0, inside: t }, { pattern: e("\\b<<0>>(?=\\s+(?!<<1>>|with\\s*\\{)<<2>>(?:\\s*[=,;:{)\\]]|\\s+(?:in|when)\\b))", [l, Z, r]), inside: t }], keyword: g, 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, operator: />>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/, punctuation: /\?\.?|::|[{}[\];(),.:]/ }), s.languages.insertBefore("csharp", "number", { range: { pattern: /\.\./, alias: "operator" } }), s.languages.insertBefore("csharp", "punctuation", { "named-parameter": { pattern: e("([(,]\\s*)<<0>>(?=\\s*:)", [r]), lookbehind: !0, alias: "punctuation" } }), s.languages.insertBefore("csharp", "class-name", { namespace: { pattern: e("(\\b(?:namespace|using)\\s+)<<0>>(?:\\s*\\.\\s*<<0>>)*(?=\\s*[;{])", [r]), lookbehind: !0, inside: { punctuation: /\./ } }, "type-expression": { pattern: e("(\\b(?:default|sizeof|typeof)\\s*\\(\\s*(?!\\s))(?:[^()\\s]|\\s(?!\\s)|<<0>>)*(?=\\s*\\))", [h]), lookbehind: !0, alias: "class-name", inside: t }, "return-type": { pattern: e("<<0>>(?=\\s+(?:<<1>>\\s*(?:=>|[({]|\\.\\s*this\\s*\\[)|this\\s*\\[))", [l, i]), inside: t, alias: "class-name" }, "constructor-invocation": { pattern: e("(\\bnew\\s+)<<0>>(?=\\s*[[({])", [l]), lookbehind: !0, inside: t, alias: "class-name" }, "generic-method": { pattern: e("<<0>>\\s*<<1>>(?=\\s*\\()", [r, b]), inside: { function: e("^<<0>>", [r]), generic: { pattern: RegExp(b), alias: "class-name", inside: t } } }, "type-list": { pattern: e("\\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|[{;]|=>|$))", [x, f, r, l, g.source, h, "\\bnew\\s*\\(\\s*\\)"]), lookbehind: !0, inside: { "record-arguments": { pattern: e("(^(?!new\\s*\\()<<0>>\\s*)<<1>>", [f, h]), lookbehind: !0, greedy: !0, inside: s.languages.csharp }, keyword: g, "class-name": { pattern: RegExp(l), greedy: !0, inside: t }, punctuation: /[,()]/ } }, preprocessor: { pattern: /(^[\t ]*)#.*/m, lookbehind: !0, alias: "property", inside: { directive: { pattern: /(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/, lookbehind: !0, alias: "keyword" } } } });
|
|
25
|
-
var B = _ + "|" + $, E = n(`/(?![*/])|//[^\r
|
|
26
|
-
]*[\r
|
|
27
|
-
]|/\\*(?:[^*]|\\*(?!/))*\\*/|<<0>>`, [B]), R = d(n(`[^"'/()]|<<0>>|\\(<<self>>*\\)`, [E]), 2), z = "\\b(?:assembly|event|field|method|module|param|property|return|type)\\b", G = n("<<0>>(?:\\s*\\(<<1>>*\\))?", [i, R]);
|
|
28
|
-
s.languages.insertBefore("csharp", "class-name", { attribute: { pattern: e("((?:^|[^\\s\\w>)?])\\s*\\[\\s*)(?:<<0>>\\s*:\\s*)?<<1>>(?:\\s*,\\s*<<1>>)*(?=\\s*\\])", [z, G]), lookbehind: !0, greedy: !0, inside: { target: { pattern: e("^<<0>>(?=\\s*:)", [z]), alias: "keyword" }, "attribute-arguments": { pattern: e("\\(<<0>>*\\)", [R]), inside: s.languages.csharp }, "class-name": { pattern: RegExp(i), inside: { punctuation: /\./ } }, punctuation: /[:,]/ } } });
|
|
29
|
-
var y = `:[^}\r
|
|
30
|
-
]+`, S = d(n(`[^"'/()]|<<0>>|\\(<<self>>*\\)`, [E]), 2), j = n("\\{(?!\\{)(?:(?![}:])<<0>>)*<<1>>?\\}", [S, y]), A = d(n(`[^"'/()]|/(?!\\*)|/\\*(?:[^*]|\\*(?!/))*\\*/|<<0>>|\\(<<self>>*\\)`, [B]), 2), F = n("\\{(?!\\{)(?:(?![}:])<<0>>)*<<1>>?\\}", [A, y]);
|
|
31
|
-
function P(a, o) {
|
|
32
|
-
return { interpolation: { pattern: e("((?:^|[^{])(?:\\{\\{)*)<<0>>", [a]), lookbehind: !0, inside: { "format-string": { pattern: e("(^\\{(?:(?![}:])<<0>>)*)<<1>>(?=\\}$)", [o, y]), lookbehind: !0, inside: { punctuation: /^:/ } }, punctuation: /^\{|\}$/, expression: { pattern: /[\s\S]+/, alias: "language-csharp", inside: s.languages.csharp } } }, string: /[\s\S]+/ };
|
|
33
|
-
}
|
|
34
|
-
s.languages.insertBefore("csharp", "string", { "interpolation-string": [{ pattern: e('(^|[^\\\\])(?:\\$@|@\\$)"(?:""|\\\\[^]|\\{\\{|<<0>>|[^\\\\{"])*"', [j]), lookbehind: !0, greedy: !0, inside: P(j, S) }, { pattern: e('(^|[^@\\\\])\\$"(?:\\\\.|\\{\\{|<<0>>|[^\\\\"{])*"', [F]), lookbehind: !0, greedy: !0, inside: P(F, A) }], char: { pattern: RegExp($), greedy: !0 } }), s.languages.dotnet = s.languages.cs = s.languages.csharp;
|
|
35
|
-
})(Prism);
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
(function(e) {
|
|
2
|
-
function t(n, m) {
|
|
3
|
-
for (var p = 0; p < m; p++)
|
|
4
|
-
n = n.replace(/<self>/g, function() {
|
|
5
|
-
return "(?:" + n + ")";
|
|
6
|
-
});
|
|
7
|
-
return n.replace(/<self>/g, "[^\\s\\S]").replace(/<str>/g, `(?:@(?!")|"(?:[^\r
|
|
8
|
-
\\\\"]|\\\\.)*"|@"(?:[^\\\\"]|""|\\\\[^])*"(?!")|'(?:(?:[^\r
|
|
9
|
-
'\\\\]|\\\\.|\\\\[Uux][\\da-fA-F]{1,8})'|(?=[^\\\\](?!'))))`).replace(/<comment>/g, `(?:/(?![/*])|//.*[\r
|
|
10
|
-
]|/\\*[^*]*(?:\\*(?!/)[^*]*)*\\*/)`);
|
|
11
|
-
}
|
|
12
|
-
var a = t(`\\((?:[^()'"@/]|<str>|<comment>|<self>)*\\)`, 2), u = t(`\\[(?:[^\\[\\]'"@/]|<str>|<comment>|<self>)*\\]`, 1), s = t(`\\{(?:[^{}'"@/]|<str>|<comment>|<self>)*\\}`, 2), g = "@(?:await\\b\\s*)?(?:(?!await\\b)\\w+\\b|" + a + ")(?:[?!]?\\.\\w+\\b|(?:" + t(`<(?:[^<>'"@/]|<comment>|<self>)*>`, 1) + ")?" + a + "|" + u + ")*(?![?!\\.(\\[]|<(?!/))", o = `(?:"[^"@]*"|'[^'@]*'|[^\\s'"@>=]+(?=[\\s>])|["'][^"'@]*(?:(?:@(?![\\w()])|` + g + `)[^"'@]*)+["'])`, l = "(?:\\s(?:\\s*[^\\s>/=]+(?:\\s*=\\s*<tagAttrValue>|(?=[\\s/>])))+)?".replace(/<tagAttrValue>/, o), r = "(?!\\d)[^\\s>/=$<%]+" + l + "\\s*/?>", d = "\\B@?(?:<([a-zA-Z][\\w:]*)" + l + "\\s*>(?:[^<]|</?(?!\\1\\b)" + r + "|" + t("<\\1" + l + "\\s*>(?:[^<]|</?(?!\\1\\b)" + r + "|<self>)*</\\1\\s*>", 2) + ")*</\\1\\s*>|<" + r + ")";
|
|
13
|
-
e.languages.cshtml = e.languages.extend("markup", {});
|
|
14
|
-
var i = { pattern: /\S[\s\S]*/, alias: "language-csharp", inside: e.languages.insertBefore("csharp", "string", { html: { pattern: RegExp(d), greedy: !0, inside: e.languages.cshtml } }, { csharp: e.languages.extend("csharp", {}) }) }, c = { pattern: RegExp("(^|[^@])" + g), lookbehind: !0, greedy: !0, alias: "variable", inside: { keyword: /^@/, csharp: i } };
|
|
15
|
-
e.languages.cshtml.tag.pattern = RegExp("</?" + r), e.languages.cshtml.tag.inside["attr-value"].pattern = RegExp("=\\s*" + o), e.languages.insertBefore("inside", "punctuation", { value: c }, e.languages.cshtml.tag.inside["attr-value"]), e.languages.insertBefore("cshtml", "prolog", { "razor-comment": { pattern: /@\*[\s\S]*?\*@/, greedy: !0, alias: "comment" }, block: { pattern: RegExp("(^|[^@])@(?:" + [s, "(?:code|functions)\\s*" + s, "(?:for|foreach|lock|switch|using|while)\\s*" + a + "\\s*" + s, "do\\s*" + s + "\\s*while\\s*" + a + "(?:\\s*;)?", "try\\s*" + s + "\\s*catch\\s*" + a + "\\s*" + s + "\\s*finally\\s*" + s, "if\\s*" + a + "\\s*" + s + "(?:\\s*else(?:\\s+if\\s*" + a + ")?\\s*" + s + ")*", "helper\\s+\\w+\\s*" + a + "\\s*" + s].join("|") + ")"), lookbehind: !0, greedy: !0, inside: { keyword: /^@\w*/, csharp: i } }, directive: { pattern: /^([ \t]*)@(?:addTagHelper|attribute|implements|inherits|inject|layout|model|namespace|page|preservewhitespace|removeTagHelper|section|tagHelperPrefix|using)(?=\s).*/m, lookbehind: !0, greedy: !0, inside: { keyword: /^@\w+/, csharp: i } }, value: c, "delegate-operator": { pattern: /(^|[^@])@(?=<)/, lookbehind: !0, alias: "operator" } }), e.languages.razor = e.languages.cshtml;
|
|
16
|
-
})(Prism);
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
(function(n) {
|
|
2
|
-
function e(t) {
|
|
3
|
-
return RegExp("([ ])(?:" + t + ")(?=[\\s;]|$)", "i");
|
|
4
|
-
}
|
|
5
|
-
n.languages.csp = { directive: { 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, lookbehind: !0, alias: "property" }, scheme: { pattern: e("[a-z][a-z0-9.+-]*:"), lookbehind: !0 }, none: { pattern: e("'none'"), lookbehind: !0, alias: "keyword" }, nonce: { pattern: e("'nonce-[-+/\\w=]+'"), lookbehind: !0, alias: "number" }, hash: { pattern: e("'sha(?:256|384|512)-[-+/\\w=]+'"), lookbehind: !0, alias: "number" }, host: { pattern: e("[a-z][a-z0-9.+-]*://[^\\s;,']*|\\*[^\\s;,']*|[a-z0-9-]+(?:\\.[a-z0-9-]+)+(?::[\\d*]+)?(?:/[^\\s;,']*)?"), lookbehind: !0, alias: "url", inside: { important: /\*/ } }, keyword: [{ pattern: e("'unsafe-[a-z-]+'"), lookbehind: !0, alias: "unsafe" }, { pattern: e("'[a-z-]+'"), lookbehind: !0, alias: "safe" }], punctuation: /;/ };
|
|
6
|
-
})(Prism);
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
(function(e) {
|
|
2
|
-
var a, n = /("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;
|
|
3
|
-
e.languages.css.selector = { pattern: e.languages.css.selector.pattern, lookbehind: !0, inside: a = { "pseudo-element": /:(?:after|before|first-letter|first-line|selection)|::[-\w]+/, "pseudo-class": /:[-\w]+/, class: /\.[-\w]+/, id: /#[-\w]+/, attribute: { pattern: RegExp(`\\[(?:[^[\\]"']|` + n.source + ")*\\]"), greedy: !0, inside: { punctuation: /^\[|\]$/, "case-sensitivity": { pattern: /(\s)[si]$/i, lookbehind: !0, alias: "keyword" }, namespace: { pattern: /^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/, lookbehind: !0, inside: { punctuation: /\|$/ } }, "attr-name": { pattern: /^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/, lookbehind: !0 }, "attr-value": [n, { pattern: /(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/, lookbehind: !0 }], operator: /[|~*^$]?=/ } }, "n-th": [{ pattern: /(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/, lookbehind: !0, inside: { number: /[\dn]+/, operator: /[+-]/ } }, { pattern: /(\(\s*)(?:even|odd)(?=\s*\))/i, lookbehind: !0 }], combinator: />|\+|~|\|\|/, punctuation: /[(),]/ } }, e.languages.css.atrule.inside["selector-function-argument"].inside = a, e.languages.insertBefore("css", "property", { variable: { pattern: /(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i, lookbehind: !0 } });
|
|
4
|
-
var r = { pattern: /(\b\d+)(?:%|[a-z]+(?![\w-]))/, lookbehind: !0 }, i = { pattern: /(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/, lookbehind: !0 };
|
|
5
|
-
e.languages.insertBefore("css", "function", { operator: { pattern: /(\s)[+\-*\/](?=\s)/, lookbehind: !0 }, hexcode: { pattern: /\B#[\da-f]{3,8}\b/i, alias: "color" }, color: [{ pattern: /(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i, lookbehind: !0 }, { pattern: /\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i, inside: { unit: r, number: i, function: /[\w-]+(?=\()/, punctuation: /[(),]/ } }], entity: /\\[\da-f]{1,8}/i, unit: r, number: i });
|
|
6
|
-
})(Prism);
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
(function(s) {
|
|
2
|
-
var e = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
|
|
3
|
-
s.languages.css = { comment: /\/\*[\s\S]*?\*\//, atrule: { pattern: RegExp(`@[\\w-](?:[^;{\\s"']|\\s+(?!\\s)|` + e.source + ")*?(?:;|(?=\\s*\\{))"), inside: { rule: /^@[\w-]+/, "selector-function-argument": { pattern: /(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/, lookbehind: !0, alias: "selector" }, keyword: { pattern: /(^|[^\w-])(?:and|not|only|or)(?![\w-])/, lookbehind: !0 } } }, url: { pattern: RegExp("\\burl\\((?:" + e.source + `|(?:[^\\\\\r
|
|
4
|
-
()"']|\\\\[^])*)\\)`, "i"), greedy: !0, inside: { function: /^url/i, punctuation: /^\(|\)$/, string: { pattern: RegExp("^" + e.source + "$"), alias: "url" } } }, selector: { pattern: RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|` + e.source + ")*(?=\\s*\\{)"), lookbehind: !0 }, string: { pattern: e, greedy: !0 }, property: { pattern: /(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i, lookbehind: !0 }, important: /!important\b/i, function: { pattern: /(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i, lookbehind: !0 }, punctuation: /[(){};:,]/ }, s.languages.css.atrule.inside.rest = s.languages.css;
|
|
5
|
-
var t = s.languages.markup;
|
|
6
|
-
t && (t.tag.addInlined("style", "css"), t.tag.addAttribute("style", "css"));
|
|
7
|
-
})(Prism);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Prism.languages.csv = { value: /[^\r\n,"]+|"(?:[^"]|"")*"(?!")/, punctuation: /,/ };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
(function(e) {
|
|
2
|
-
var n = "(?:" + `"""(?:[^\\\\"]|"(?!""\\2)|<esc>)*"""|'''(?:[^\\\\']|'(?!''\\2)|<esc>)*'''|"(?:[^\\\\\r
|
|
3
|
-
"]|"(?!\\2)|<esc>)*"|'(?:[^\\\\\r
|
|
4
|
-
']|'(?!\\2)|<esc>)*'`.replace(/<esc>/g, `\\\\(?:(?!\\2)|\\2(?:[^()\r
|
|
5
|
-
]|\\([^()]*\\)))`) + ")";
|
|
6
|
-
e.languages.cue = { comment: { pattern: /\/\/.*/, greedy: !0 }, "string-literal": { pattern: RegExp(`(^|[^#"'\\\\])(#*)` + n + `(?!["'])\\2`), lookbehind: !0, greedy: !0, inside: { escape: { pattern: /(?=[\s\S]*["'](#*)$)\\\1(?:U[a-fA-F0-9]{1,8}|u[a-fA-F0-9]{1,4}|x[a-fA-F0-9]{1,2}|\d{2,3}|[^(])/, greedy: !0, alias: "string" }, interpolation: { pattern: /(?=[\s\S]*["'](#*)$)\\\1\([^()]*\)/, greedy: !0, inside: { punctuation: /^\\#*\(|\)$/, expression: { pattern: /[\s\S]+/, inside: null } } }, string: /[\s\S]+/ } }, keyword: { pattern: /(^|[^\w$])(?:for|if|import|in|let|null|package)(?![\w$])/, lookbehind: !0 }, boolean: { pattern: /(^|[^\w$])(?:false|true)(?![\w$])/, lookbehind: !0 }, builtin: { pattern: /(^|[^\w$])(?:bool|bytes|float|float(?:32|64)|u?int(?:8|16|32|64|128)?|number|rune|string)(?![\w$])/, lookbehind: !0 }, attribute: { pattern: /@[\w$]+(?=\s*\()/, alias: "function" }, function: { pattern: /(^|[^\w$])[a-z_$][\w$]*(?=\s*\()/i, lookbehind: !0 }, number: { pattern: /(^|[^\w$.])(?:0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|0[xX][0-9A-Fa-f]+(?:_[0-9A-Fa-f]+)*|(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[eE][+-]?\d+(?:_\d+)*)?(?:[KMGTP]i?)?)(?![\w$])/, lookbehind: !0 }, operator: /\.{3}|_\|_|&&?|\|\|?|[=!]~|[<>=!]=?|[+\-*/?]/, punctuation: /[()[\]{},.:]/ }, e.languages.cue["string-literal"].inside.interpolation.inside.expression.inside = e.languages.cue;
|
|
7
|
-
})(Prism);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Prism.languages.cypher = { comment: /\/\/.*/, string: { pattern: /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/, greedy: !0 }, "class-name": { pattern: /(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/, lookbehind: !0, greedy: !0 }, relationship: { pattern: /(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/, lookbehind: !0, greedy: !0, alias: "property" }, identifier: { pattern: /`(?:[^`\\\r\n])*`/, greedy: !0 }, variable: /\$\w+/, keyword: /\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i, function: /\b\w+\b(?=\s*\()/, boolean: /\b(?:false|null|true)\b/i, number: /\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/, operator: /:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/, punctuation: /[()[\]{},;.]/ };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Prism.languages.d = Prism.languages.extend("clike", { comment: [{ pattern: /^\s*#!.+/, greedy: !0 }, { pattern: RegExp("(^|[^\\\\])(?:" + ["/\\+(?:/\\+(?:[^+]|\\+(?!/))*\\+/|(?!/\\+)[^])*?\\+/", "//.*", "/\\*[^]*?\\*/"].join("|") + ")"), lookbehind: !0, greedy: !0 }], string: [{ pattern: RegExp(['\\b[rx]"(?:\\\\[^]|[^\\\\"])*"[cwd]?', '\\bq"(?:\\[[^]*?\\]|\\([^]*?\\)|<[^]*?>|\\{[^]*?\\})"', '\\bq"((?!\\d)\\w+)$[^]*?^\\1"', '\\bq"(.)[^]*?\\2"', '(["`])(?:\\\\[^]|(?!\\3)[^\\\\])*\\3[cwd]?'].join("|"), "m"), greedy: !0 }, { pattern: /\bq\{(?:\{[^{}]*\}|[^{}])*\}/, greedy: !0, alias: "token-string" }], keyword: /\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/, number: [/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i, { pattern: /((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i, lookbehind: !0 }], operator: /\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/ }), Prism.languages.insertBefore("d", "string", { char: /'(?:\\(?:\W|\w+)|[^\\])'/ }), Prism.languages.insertBefore("d", "keyword", { property: /\B@\w*/ }), Prism.languages.insertBefore("d", "function", { register: { pattern: /\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/, alias: "variable" } });
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
(function(e) {
|
|
2
|
-
var n = [/\b(?:async|sync|yield)\*/, /\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/], s = "(^|[^\\w.])(?:[a-z]\\w*\\s*\\.\\s*)*(?:[A-Z]\\w*\\s*\\.\\s*)*", a = { pattern: RegExp(s + "[A-Z](?:[\\d_A-Z]*[a-z]\\w*)?\\b"), lookbehind: !0, inside: { namespace: { pattern: /^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/, inside: { punctuation: /\./ } } } };
|
|
3
|
-
e.languages.dart = e.languages.extend("clike", { "class-name": [a, { pattern: RegExp(s + "[A-Z]\\w*(?=\\s+\\w+\\s*[;,=()])"), lookbehind: !0, inside: a.inside }], keyword: n, operator: /\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/ }), e.languages.insertBefore("dart", "string", { "string-literal": { pattern: /r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/, greedy: !0, inside: { interpolation: { pattern: /((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/, lookbehind: !0, inside: { punctuation: /^\$\{?|\}$/, expression: { pattern: /[\s\S]+/, inside: e.languages.dart } } }, string: /[\s\S]+/ } }, string: void 0 }), e.languages.insertBefore("dart", "class-name", { metadata: { pattern: /@\w+/, alias: "function" } }), e.languages.insertBefore("dart", "class-name", { generics: { pattern: /<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/, inside: { "class-name": a, keyword: n, punctuation: /[<>(),.:]/, operator: /[?&|]/ } } });
|
|
4
|
-
})(Prism);
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
(function(e) {
|
|
2
|
-
e.languages.dataweave = { url: /\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/, property: { pattern: /(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/, greedy: !0 }, string: { pattern: /(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/, greedy: !0 }, "mime-type": /\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/, date: { pattern: /\|[\w:+-]+\|/, greedy: !0 }, comment: [{ pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/, lookbehind: !0, greedy: !0 }, { pattern: /(^|[^\\:])\/\/.*/, lookbehind: !0, greedy: !0 }], regex: { pattern: /\/(?:[^\\\/\r\n]|\\[^\r\n])+\//, greedy: !0 }, keyword: /\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/, function: /\b[A-Z_]\w*(?=\s*\()/i, number: /-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i, punctuation: /[{}[\];(),.:@]/, operator: /<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/, boolean: /\b(?:false|true)\b/ };
|
|
3
|
-
})(Prism);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Prism.languages.dax = { comment: { pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/, lookbehind: !0 }, "data-field": { pattern: /'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/, alias: "symbol" }, measure: { pattern: /\[[ \w\xA0-\uFFFF]+\]/, alias: "constant" }, string: { pattern: /"(?:[^"]|"")*"(?!")/, greedy: !0 }, function: /\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i, keyword: /\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i, boolean: { pattern: /\b(?:FALSE|NULL|TRUE)\b/i, alias: "constant" }, number: /\b\d+(?:\.\d*)?|\B\.\d+\b/, operator: /:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i, punctuation: /[;\[\](){}`,.]/ };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Prism.languages.dhall = { comment: /--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/, string: { pattern: /"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/, greedy: !0, inside: { interpolation: { pattern: /\$\{[^{}]*\}/, inside: { expression: { pattern: /(^\$\{)[\s\S]+(?=\}$)/, lookbehind: !0, alias: "language-dhall", inside: null }, punctuation: /\$\{|\}/ } } } }, label: { pattern: /`[^`]*`/, greedy: !0 }, url: { pattern: /\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/, greedy: !0 }, env: { pattern: /\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/, greedy: !0, inside: { function: /^env/, operator: /^:/, variable: /[\s\S]+/ } }, hash: { pattern: /\bsha256:[\da-fA-F]{64}\b/, inside: { function: /sha256/, operator: /:/, number: /[\da-fA-F]{64}/ } }, keyword: /\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/, builtin: /\b(?:None|Some)\b/, boolean: /\b(?:False|True)\b/, number: /\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/, operator: /\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/, punctuation: /\.\.|[{}\[\](),./]/, "class-name": /\b[A-Z]\w*\b/ }, Prism.languages.dhall.string.inside.interpolation.inside.expression.inside = Prism.languages.dhall;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
(function(n) {
|
|
2
|
-
n.languages.diff = { coord: [/^(?:\*{3}|-{3}|\+{3}).*$/m, /^@@.*@@$/m, /^\d.*$/m] };
|
|
3
|
-
var i = { "deleted-sign": "-", "deleted-arrow": "<", "inserted-sign": "+", "inserted-arrow": ">", unchanged: " ", diff: "!" };
|
|
4
|
-
Object.keys(i).forEach(function(e) {
|
|
5
|
-
var d = i[e], r = [];
|
|
6
|
-
/^\w+$/.test(e) || r.push(/\w+/.exec(e)[0]), e === "diff" && r.push("bold"), n.languages.diff[e] = { pattern: RegExp("^(?:[" + d + `].*(?:\r
|
|
7
|
-
?|
|
|
8
|
-
|(?![\\s\\S])))+`, "m"), alias: r, inside: { line: { pattern: /(.)(?=[\s\S]).*(?:\r\n?|\n)?/, lookbehind: !0 }, prefix: { pattern: /[\s\S]/, alias: /\w+/.exec(e)[0] } } };
|
|
9
|
-
}), Object.defineProperty(n.languages.diff, "PREFIXES", { value: i });
|
|
10
|
-
})(Prism);
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
(function(n) {
|
|
2
|
-
n.languages.django = { comment: /^\{#[\s\S]*?#\}$/, tag: { pattern: /(^\{%[+-]?\s*)\w+/, lookbehind: !0, alias: "keyword" }, delimiter: { pattern: /^\{[{%][+-]?|[+-]?[}%]\}$/, alias: "punctuation" }, string: { pattern: /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/, greedy: !0 }, filter: { pattern: /(\|)\w+/, lookbehind: !0, alias: "function" }, test: { pattern: /(\bis\s+(?:not\s+)?)(?!not\b)\w+/, lookbehind: !0, alias: "function" }, function: /\b[a-z_]\w+(?=\s*\()/i, keyword: /\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/, operator: /[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/, number: /\b\d+(?:\.\d+)?\b/, boolean: /[Ff]alse|[Nn]one|[Tt]rue/, variable: /\b\w+\b/, punctuation: /[{}[\](),.:;]/ };
|
|
3
|
-
var e = /\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g, a = n.languages["markup-templating"];
|
|
4
|
-
n.hooks.add("before-tokenize", function(o) {
|
|
5
|
-
a.buildPlaceholders(o, "django", e);
|
|
6
|
-
}), n.hooks.add("after-tokenize", function(o) {
|
|
7
|
-
a.tokenizePlaceholders(o, "django");
|
|
8
|
-
}), n.languages.jinja2 = n.languages.django, n.hooks.add("before-tokenize", function(o) {
|
|
9
|
-
a.buildPlaceholders(o, "jinja2", e);
|
|
10
|
-
}), n.hooks.add("after-tokenize", function(o) {
|
|
11
|
-
a.tokenizePlaceholders(o, "jinja2");
|
|
12
|
-
});
|
|
13
|
-
})(Prism);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Prism.languages["dns-zone-file"] = { comment: /;.*/, string: { pattern: /"(?:\\.|[^"\\\r\n])*"/, greedy: !0 }, variable: [{ pattern: /(^\$ORIGIN[ \t]+)\S+/m, lookbehind: !0 }, { pattern: /(^|\s)@(?=\s|$)/, lookbehind: !0 }], keyword: /^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m, class: { pattern: /(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/, lookbehind: !0, alias: "keyword" }, type: { pattern: /(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/, lookbehind: !0, alias: "keyword" }, punctuation: /[()]/ }, Prism.languages["dns-zone"] = Prism.languages["dns-zone-file"];
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
(function(n) {
|
|
2
|
-
var a = "(?:[ ]+(?![ ])(?:<SP_BS>)?|<SP_BS>)".replace(/<SP_BS>/g, function() {
|
|
3
|
-
return `\\\\[\r
|
|
4
|
-
](?:\\s|\\\\[\r
|
|
5
|
-
]|#.*(?!.))*(?![\\s#]|\\\\[\r
|
|
6
|
-
])`;
|
|
7
|
-
}), t = `"(?:[^"\\\\\r
|
|
8
|
-
]|\\\\(?:\r
|
|
9
|
-
|[^]))*"|'(?:[^'\\\\\r
|
|
10
|
-
]|\\\\(?:\r
|
|
11
|
-
|[^]))*'`, S = `--[\\w-]+=(?:<STR>|(?!["'])(?:[^\\s\\\\]|\\\\.)+)`.replace(/<STR>/g, function() {
|
|
12
|
-
return t;
|
|
13
|
-
}), o = { pattern: RegExp(t), greedy: !0 }, i = { pattern: /(^[ \t]*)#.*/m, lookbehind: !0, greedy: !0 };
|
|
14
|
-
function e(r, P) {
|
|
15
|
-
return r = r.replace(/<OPT>/g, function() {
|
|
16
|
-
return S;
|
|
17
|
-
}).replace(/<SP>/g, function() {
|
|
18
|
-
return a;
|
|
19
|
-
}), RegExp(r, P);
|
|
20
|
-
}
|
|
21
|
-
n.languages.docker = { instruction: { pattern: /(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im, lookbehind: !0, greedy: !0, inside: { options: { pattern: e("(^(?:ONBUILD<SP>)?\\w+<SP>)<OPT>(?:<SP><OPT>)*", "i"), lookbehind: !0, greedy: !0, inside: { property: { pattern: /(^|\s)--[\w-]+/, lookbehind: !0 }, string: [o, { pattern: /(=)(?!["'])(?:[^\s\\]|\\.)+/, lookbehind: !0 }], operator: /\\$/m, punctuation: /=/ } }, keyword: [{ pattern: e("(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\\b", "i"), lookbehind: !0, greedy: !0 }, { pattern: e("(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \\\\]+<SP>)AS", "i"), lookbehind: !0, greedy: !0 }, { pattern: e("(^ONBUILD<SP>)\\w+", "i"), lookbehind: !0, greedy: !0 }, { pattern: /^\w+/, greedy: !0 }], comment: i, string: o, variable: /\$(?:\w+|\{[^{}"'\\]*\})/, operator: /\\$/m } }, comment: i }, n.languages.dockerfile = n.languages.docker;
|
|
22
|
-
})(Prism);
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
(function(a) {
|
|
2
|
-
var r = "(?:" + ["[a-zA-Z_\\x80-\\uFFFF][\\w\\x80-\\uFFFF]*", "-?(?:\\.\\d+|\\d+(?:\\.\\d*)?)", '"[^"\\\\]*(?:\\\\[^][^"\\\\]*)*"', `<(?:[^<>]|(?!<!--)<(?:[^<>"']|"[^"]*"|'[^']*')+>|<!--(?:[^-]|-(?!->))*-->)*>`].join("|") + ")", e = { markup: { pattern: /(^<)[\s\S]+(?=>$)/, lookbehind: !0, alias: ["language-markup", "language-html", "language-xml"], inside: a.languages.markup } };
|
|
3
|
-
function n(t, i) {
|
|
4
|
-
return RegExp(t.replace(/<ID>/g, function() {
|
|
5
|
-
return r;
|
|
6
|
-
}), i);
|
|
7
|
-
}
|
|
8
|
-
a.languages.dot = { comment: { pattern: /\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m, greedy: !0 }, "graph-name": { pattern: n(`(\\b(?:digraph|graph|subgraph)[ \r
|
|
9
|
-
]+)<ID>`, "i"), lookbehind: !0, greedy: !0, alias: "class-name", inside: e }, "attr-value": { pattern: n(`(=[ \r
|
|
10
|
-
]*)<ID>`), lookbehind: !0, greedy: !0, inside: e }, "attr-name": { pattern: n(`([\\[;, \r
|
|
11
|
-
])<ID>(?=[ \r
|
|
12
|
-
]*=)`), lookbehind: !0, greedy: !0, inside: e }, keyword: /\b(?:digraph|edge|graph|node|strict|subgraph)\b/i, "compass-point": { pattern: /(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/, lookbehind: !0, alias: "builtin" }, node: { pattern: n("(^|[^-.\\w\\x80-\\uFFFF\\\\])<ID>"), lookbehind: !0, greedy: !0, inside: e }, operator: /[=:]|-[->]/, punctuation: /[\[\]{};,]/ }, a.languages.gv = a.languages.dot;
|
|
13
|
-
})(Prism);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Prism.languages.ebnf = { comment: /\(\*[\s\S]*?\*\)/, string: { pattern: /"[^"\r\n]*"|'[^'\r\n]*'/, greedy: !0 }, special: { pattern: /\?[^?\r\n]*\?/, greedy: !0, alias: "class-name" }, definition: { pattern: /^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im, lookbehind: !0, alias: ["rule", "keyword"] }, rule: /\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i, punctuation: /\([:/]|[:/]\)|[.,;()[\]{}]/, operator: /[-=|*/!]/ };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Prism.languages.editorconfig = { comment: /[;#].*/, section: { pattern: /(^[ \t]*)\[.+\]/m, lookbehind: !0, alias: "selector", inside: { regex: /\\\\[\[\]{},!?.*]/, operator: /[!?]|\.\.|\*{1,2}/, punctuation: /[\[\]{},]/ } }, key: { pattern: /(^[ \t]*)[^\s=]+(?=[ \t]*=)/m, lookbehind: !0, alias: "attr-name" }, value: { pattern: /=.*/, alias: "attr-value", inside: { punctuation: /^=/ } } };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Prism.languages.eiffel = { comment: /--.*/, string: [{ pattern: /"([^[]*)\[[\s\S]*?\]\1"/, greedy: !0 }, { pattern: /"([^{]*)\{[\s\S]*?\}\1"/, greedy: !0 }, { pattern: /"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/, greedy: !0 }], char: /'(?:%.|[^%'\r\n])+'/, keyword: /\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i, boolean: /\b(?:False|True)\b/i, "class-name": /\b[A-Z][\dA-Z_]*\b/, number: [/\b0[xcb][\da-f](?:_*[\da-f])*\b/i, /(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i], punctuation: /:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/, operator: /\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/ };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
(function(e) {
|
|
2
|
-
e.languages.ejs = { delimiter: { pattern: /^<%[-_=]?|[-_]?%>$/, alias: "punctuation" }, comment: /^#[\s\S]*/, "language-javascript": { pattern: /[\s\S]+/, inside: e.languages.javascript } }, e.hooks.add("before-tokenize", function(a) {
|
|
3
|
-
e.languages["markup-templating"].buildPlaceholders(a, "ejs", /<%(?!%)[\s\S]+?%>/g);
|
|
4
|
-
}), e.hooks.add("after-tokenize", function(a) {
|
|
5
|
-
e.languages["markup-templating"].tokenizePlaceholders(a, "ejs");
|
|
6
|
-
}), e.languages.eta = e.languages.ejs;
|
|
7
|
-
})(Prism);
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
Prism.languages.elixir = { doc: { pattern: /@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/, inside: { attribute: /^@\w+/, string: /['"][\s\S]+/ } }, comment: { pattern: /#.*/, greedy: !0 }, regex: { pattern: /~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/, greedy: !0 }, string: [{ pattern: /~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/, greedy: !0, inside: {} }, { pattern: /("""|''')[\s\S]*?\1/, greedy: !0, inside: {} }, { pattern: /("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, greedy: !0, inside: {} }], atom: { pattern: /(^|[^:]):\w+/, lookbehind: !0, alias: "symbol" }, module: { pattern: /\b[A-Z]\w*\b/, alias: "class-name" }, "attr-name": /\b\w+\??:(?!:)/, argument: { pattern: /(^|[^&])&\d+/, lookbehind: !0, alias: "variable" }, attribute: { pattern: /@\w+/, alias: "variable" }, function: /\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/, number: /\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i, keyword: /\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/, boolean: /\b(?:false|nil|true)\b/, operator: [/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/, { pattern: /([^<])<(?!<)/, lookbehind: !0 }, { pattern: /([^>])>(?!>)/, lookbehind: !0 }], punctuation: /<<|>>|[.,%\[\]{}()]/ }, Prism.languages.elixir.string.forEach(function(e) {
|
|
2
|
-
e.inside = { interpolation: { pattern: /#\{[^}]+\}/, inside: { delimiter: { pattern: /^#\{|\}$/, alias: "punctuation" }, rest: Prism.languages.elixir } } };
|
|
3
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Prism.languages.elm = { comment: /--.*|\{-[\s\S]*?-\}/, char: { pattern: /'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/, greedy: !0 }, string: [{ pattern: /"""[\s\S]*?"""/, greedy: !0 }, { pattern: /"(?:[^\\"\r\n]|\\.)*"/, greedy: !0 }], "import-statement": { pattern: /(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m, lookbehind: !0, inside: { keyword: /\b(?:as|exposing|import)\b/ } }, keyword: /\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/, builtin: /\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/, number: /\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i, operator: /\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/, hvariable: /\b(?:[A-Z]\w*\.)*[a-z]\w*\b/, constant: /\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/, punctuation: /[{}[\]|(),.:]/ };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
(function(n) {
|
|
2
|
-
n.languages.erb = { delimiter: { pattern: /^(\s*)<%=?|%>(?=\s*$)/, lookbehind: !0, alias: "punctuation" }, ruby: { pattern: /\s*\S[\s\S]*/, alias: "language-ruby", inside: n.languages.ruby } }, n.hooks.add("before-tokenize", function(e) {
|
|
3
|
-
n.languages["markup-templating"].buildPlaceholders(e, "erb", /<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g);
|
|
4
|
-
}), n.hooks.add("after-tokenize", function(e) {
|
|
5
|
-
n.languages["markup-templating"].tokenizePlaceholders(e, "erb");
|
|
6
|
-
});
|
|
7
|
-
})(Prism);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Prism.languages.erlang = { comment: /%.+/, string: { pattern: /"(?:\\.|[^\\"\r\n])*"/, greedy: !0 }, "quoted-function": { pattern: /'(?:\\.|[^\\'\r\n])+'(?=\()/, alias: "function" }, "quoted-atom": { pattern: /'(?:\\.|[^\\'\r\n])+'/, alias: "atom" }, boolean: /\b(?:false|true)\b/, keyword: /\b(?:after|begin|case|catch|end|fun|if|of|receive|try|when)\b/, number: [/\$\\?./, /\b\d+#[a-z0-9]+/i, /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i], function: /\b[a-z][\w@]*(?=\()/, variable: { pattern: /(^|[^@])(?:\b|\?)[A-Z_][\w@]*/, lookbehind: !0 }, operator: [/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/, { pattern: /(^|[^<])<(?!<)/, lookbehind: !0 }, { pattern: /(^|[^>])>(?!>)/, lookbehind: !0 }], atom: /\b[a-z][\w@]*/, punctuation: /[()[\]{}:;,.#|]|<<|>>/ };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
(function(e) {
|
|
2
|
-
e.languages.etlua = { delimiter: { pattern: /^<%[-=]?|-?%>$/, alias: "punctuation" }, "language-lua": { pattern: /[\s\S]+/, inside: e.languages.lua } }, e.hooks.add("before-tokenize", function(a) {
|
|
3
|
-
e.languages["markup-templating"].buildPlaceholders(a, "etlua", /<%[\s\S]+?%>/g);
|
|
4
|
-
}), e.hooks.add("after-tokenize", function(a) {
|
|
5
|
-
e.languages["markup-templating"].tokenizePlaceholders(a, "etlua");
|
|
6
|
-
});
|
|
7
|
-
})(Prism);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Prism.languages["excel-formula"] = { comment: { pattern: /(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i, lookbehind: !0, greedy: !0 }, string: { pattern: /"(?:[^"]|"")*"(?!")/, greedy: !0 }, reference: { pattern: /(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/, greedy: !0, alias: "string", inside: { operator: /!$/, punctuation: /'/, sheet: { pattern: /[^[\]]+$/, alias: "function" }, file: { pattern: /\[[^[\]]+\]$/, inside: { punctuation: /[[\]]/ } }, path: /[\s\S]+/ } }, "function-name": { pattern: /\b[A-Z]\w*(?=\()/i, alias: "builtin" }, range: { pattern: /\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i, alias: "selector", inside: { operator: /:/, cell: /\$?[A-Z]+\$?\d+/i, column: /\$?[A-Z]+/i, row: /\$?\d+/ } }, cell: { pattern: /\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/, alias: "selector" }, number: /(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i, boolean: /\b(?:FALSE|TRUE)\b/i, operator: /[-+*/^%=&,]|<[=>]?|>=?/, punctuation: /[[\]();{}|]/ }, Prism.languages.xlsx = Prism.languages.xls = Prism.languages["excel-formula"];
|