@kong-ui-public/document-viewer 0.4.0 → 0.4.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/dist/document-viewer.es.js +6 -5
- package/dist/document-viewer.umd.js +37 -37
- package/dist/document-viewer.umd.js.map +1 -1
- package/dist/{index-a145caed.js → index-04928e0d.js} +540 -535
- package/dist/index-04928e0d.js.map +1 -0
- package/dist/{prism-core.min-f027d6d9.js → prism-core.min-1e54e486.js} +2 -2
- package/dist/{prism-core.min-f027d6d9.js.map → prism-core.min-1e54e486.js.map} +1 -1
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/types/index.d.ts.map +1 -1
- package/dist/types/utils/addUniqueHeadingSlugs.d.ts +7 -1
- package/dist/types/utils/addUniqueHeadingSlugs.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/index-a145caed.js.map +0 -1
|
@@ -1,33 +1,36 @@
|
|
|
1
|
-
import { openBlock as H, createElementBlock as N, renderSlot as F, defineComponent as G, ref as
|
|
1
|
+
import { openBlock as H, createElementBlock as N, renderSlot as F, defineComponent as G, ref as Ft, computed as Te, watch as Ot, resolveComponent as Mt, createBlock as Q, unref as K, resolveDynamicComponent as se, withCtx as ae, createElementVNode as qe, normalizeClass as Gt, Fragment as qt, createTextVNode as Ut, toDisplayString as at, createCommentVNode as Ue, createVNode as $e, mergeProps as Ve, h as $t } from "vue";
|
|
2
2
|
var re = /* @__PURE__ */ ((e) => (e.header = "header", e.body = "body", e.footer = "footer", e))(re || {}), fe = /* @__PURE__ */ ((e) => (e.left = "left", e.center = "center", e.right = "right", e))(fe || {});
|
|
3
|
-
function
|
|
4
|
-
return e.type === "text";
|
|
3
|
+
function lt(e) {
|
|
4
|
+
return (e == null ? void 0 : e.type) === "text";
|
|
5
|
+
}
|
|
6
|
+
function Vt(e) {
|
|
7
|
+
return (e == null ? void 0 : e.type) === "heading";
|
|
5
8
|
}
|
|
6
9
|
const O = (e, t) => {
|
|
7
10
|
const r = e.__vccOpts || e;
|
|
8
11
|
for (const [n, o] of t)
|
|
9
12
|
r[n] = o;
|
|
10
13
|
return r;
|
|
11
|
-
},
|
|
12
|
-
function
|
|
14
|
+
}, zt = {};
|
|
15
|
+
function Xt(e, t) {
|
|
13
16
|
return H(), N("blockquote", null, [
|
|
14
17
|
F(e.$slots, "default", {}, void 0, !0)
|
|
15
18
|
]);
|
|
16
19
|
}
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
function
|
|
20
|
+
const Kt = /* @__PURE__ */ O(zt, [["render", Xt], ["__scopeId", "data-v-0978f9b5"]]);
|
|
21
|
+
const Wt = {};
|
|
22
|
+
function Zt(e, t) {
|
|
20
23
|
return H(), N("code", null, [
|
|
21
24
|
F(e.$slots, "default", {}, void 0, !0)
|
|
22
25
|
]);
|
|
23
26
|
}
|
|
24
|
-
const
|
|
27
|
+
const Jt = /* @__PURE__ */ O(Wt, [["render", Zt], ["__scopeId", "data-v-015a6bbb"]]), Yt = (e, t) => {
|
|
25
28
|
const r = e[t];
|
|
26
29
|
return r ? typeof r == "function" ? r() : Promise.resolve(r) : new Promise((n, o) => {
|
|
27
30
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(o.bind(null, new Error("Unknown variable dynamic import: " + t)));
|
|
28
31
|
});
|
|
29
32
|
};
|
|
30
|
-
var ze = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ve = {},
|
|
33
|
+
var ze = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ve = {}, Qt = {
|
|
31
34
|
get exports() {
|
|
32
35
|
return ve;
|
|
33
36
|
},
|
|
@@ -38,8 +41,8 @@ var ze = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
38
41
|
(function(e) {
|
|
39
42
|
var t = { core: { meta: { path: "components/prism-core.js", option: "mandatory" }, core: "Core" }, themes: { meta: { path: "themes/{id}.css", link: "index.html?theme={id}", exclusive: !0 }, prism: { title: "Default", option: "default" }, "prism-dark": "Dark", "prism-funky": "Funky", "prism-okaidia": { title: "Okaidia", owner: "ocodia" }, "prism-twilight": { title: "Twilight", owner: "remybach" }, "prism-coy": { title: "Coy", owner: "tshedor" }, "prism-solarizedlight": { title: "Solarized Light", owner: "hectormatos2011 " }, "prism-tomorrow": { title: "Tomorrow Night", owner: "Rosey" } }, languages: { meta: { path: "components/prism-{id}", noCSS: !0, examplesPath: "examples/prism-{id}", addCheckAll: !0 }, markup: { title: "Markup", alias: ["html", "xml", "svg", "mathml", "ssml", "atom", "rss"], aliasTitles: { html: "HTML", xml: "XML", svg: "SVG", mathml: "MathML", ssml: "SSML", atom: "Atom", rss: "RSS" }, option: "default" }, css: { title: "CSS", option: "default", modify: "markup" }, clike: { title: "C-like", option: "default" }, javascript: { title: "JavaScript", require: "clike", modify: "markup", optional: "regex", alias: "js", option: "default" }, abap: { title: "ABAP", owner: "dellagustin" }, abnf: { title: "ABNF", owner: "RunDevelopment" }, actionscript: { title: "ActionScript", require: "javascript", modify: "markup", owner: "Golmote" }, ada: { title: "Ada", owner: "Lucretia" }, agda: { title: "Agda", owner: "xy-ren" }, al: { title: "AL", owner: "RunDevelopment" }, antlr4: { title: "ANTLR4", alias: "g4", owner: "RunDevelopment" }, apacheconf: { title: "Apache Configuration", owner: "GuiTeK" }, apex: { title: "Apex", require: ["clike", "sql"], owner: "RunDevelopment" }, apl: { title: "APL", owner: "ngn" }, applescript: { title: "AppleScript", owner: "Golmote" }, aql: { title: "AQL", owner: "RunDevelopment" }, arduino: { title: "Arduino", require: "cpp", alias: "ino", owner: "dkern" }, arff: { title: "ARFF", owner: "Golmote" }, armasm: { title: "ARM Assembly", alias: "arm-asm", owner: "RunDevelopment" }, arturo: { title: "Arturo", alias: "art", optional: ["bash", "css", "javascript", "markup", "markdown", "sql"], owner: "drkameleon" }, asciidoc: { alias: "adoc", title: "AsciiDoc", owner: "Golmote" }, aspnet: { title: "ASP.NET (C#)", require: ["markup", "csharp"], owner: "nauzilus" }, asm6502: { title: "6502 Assembly", owner: "kzurawel" }, asmatmel: { title: "Atmel AVR Assembly", owner: "cerkit" }, autohotkey: { title: "AutoHotkey", owner: "aviaryan" }, autoit: { title: "AutoIt", owner: "Golmote" }, avisynth: { title: "AviSynth", alias: "avs", owner: "Zinfidel" }, "avro-idl": { title: "Avro IDL", alias: "avdl", owner: "RunDevelopment" }, awk: { title: "AWK", alias: "gawk", aliasTitles: { gawk: "GAWK" }, owner: "RunDevelopment" }, bash: { title: "Bash", alias: ["sh", "shell"], aliasTitles: { sh: "Shell", shell: "Shell" }, owner: "zeitgeist87" }, basic: { title: "BASIC", owner: "Golmote" }, batch: { title: "Batch", owner: "Golmote" }, bbcode: { title: "BBcode", alias: "shortcode", aliasTitles: { shortcode: "Shortcode" }, owner: "RunDevelopment" }, bbj: { title: "BBj", owner: "hyyan" }, bicep: { title: "Bicep", owner: "johnnyreilly" }, birb: { title: "Birb", require: "clike", owner: "Calamity210" }, bison: { title: "Bison", require: "c", owner: "Golmote" }, bnf: { title: "BNF", alias: "rbnf", aliasTitles: { rbnf: "RBNF" }, owner: "RunDevelopment" }, bqn: { title: "BQN", owner: "yewscion" }, brainfuck: { title: "Brainfuck", owner: "Golmote" }, brightscript: { title: "BrightScript", owner: "RunDevelopment" }, bro: { title: "Bro", owner: "wayward710" }, bsl: { title: "BSL (1C:Enterprise)", alias: "oscript", aliasTitles: { oscript: "OneScript" }, owner: "Diversus23" }, c: { title: "C", require: "clike", owner: "zeitgeist87" }, csharp: { title: "C#", require: "clike", alias: ["cs", "dotnet"], owner: "mvalipour" }, cpp: { title: "C++", require: "c", owner: "zeitgeist87" }, cfscript: { title: "CFScript", require: "clike", alias: "cfc", owner: "mjclemente" }, chaiscript: { title: "ChaiScript", require: ["clike", "cpp"], owner: "RunDevelopment" }, cil: { title: "CIL", owner: "sbrl" }, cilkc: { title: "Cilk/C", require: "c", alias: "cilk-c", owner: "OpenCilk" }, cilkcpp: { title: "Cilk/C++", require: "cpp", alias: ["cilk-cpp", "cilk"], owner: "OpenCilk" }, clojure: { title: "Clojure", owner: "troglotit" }, cmake: { title: "CMake", owner: "mjrogozinski" }, cobol: { title: "COBOL", owner: "RunDevelopment" }, coffeescript: { title: "CoffeeScript", require: "javascript", alias: "coffee", owner: "R-osey" }, concurnas: { title: "Concurnas", alias: "conc", owner: "jasontatton" }, csp: { title: "Content-Security-Policy", owner: "ScottHelme" }, cooklang: { title: "Cooklang", owner: "ahue" }, coq: { title: "Coq", owner: "RunDevelopment" }, crystal: { title: "Crystal", require: "ruby", owner: "MakeNowJust" }, "css-extras": { title: "CSS Extras", require: "css", modify: "css", owner: "milesj" }, csv: { title: "CSV", owner: "RunDevelopment" }, cue: { title: "CUE", owner: "RunDevelopment" }, cypher: { title: "Cypher", owner: "RunDevelopment" }, d: { title: "D", require: "clike", owner: "Golmote" }, dart: { title: "Dart", require: "clike", owner: "Golmote" }, dataweave: { title: "DataWeave", owner: "machaval" }, dax: { title: "DAX", owner: "peterbud" }, dhall: { title: "Dhall", owner: "RunDevelopment" }, diff: { title: "Diff", owner: "uranusjr" }, django: { title: "Django/Jinja2", require: "markup-templating", alias: "jinja2", owner: "romanvm" }, "dns-zone-file": { title: "DNS zone file", owner: "RunDevelopment", alias: "dns-zone" }, docker: { title: "Docker", alias: "dockerfile", owner: "JustinBeckwith" }, dot: { title: "DOT (Graphviz)", alias: "gv", optional: "markup", owner: "RunDevelopment" }, ebnf: { title: "EBNF", owner: "RunDevelopment" }, editorconfig: { title: "EditorConfig", owner: "osipxd" }, eiffel: { title: "Eiffel", owner: "Conaclos" }, ejs: { title: "EJS", require: ["javascript", "markup-templating"], owner: "RunDevelopment", alias: "eta", aliasTitles: { eta: "Eta" } }, elixir: { title: "Elixir", owner: "Golmote" }, elm: { title: "Elm", owner: "zwilias" }, etlua: { title: "Embedded Lua templating", require: ["lua", "markup-templating"], owner: "RunDevelopment" }, erb: { title: "ERB", require: ["ruby", "markup-templating"], owner: "Golmote" }, erlang: { title: "Erlang", owner: "Golmote" }, "excel-formula": { title: "Excel Formula", alias: ["xlsx", "xls"], owner: "RunDevelopment" }, fsharp: { title: "F#", require: "clike", owner: "simonreynolds7" }, factor: { title: "Factor", owner: "catb0t" }, false: { title: "False", owner: "edukisto" }, "firestore-security-rules": { title: "Firestore security rules", require: "clike", owner: "RunDevelopment" }, flow: { title: "Flow", require: "javascript", owner: "Golmote" }, fortran: { title: "Fortran", owner: "Golmote" }, ftl: { title: "FreeMarker Template Language", require: "markup-templating", owner: "RunDevelopment" }, gml: { title: "GameMaker Language", alias: "gamemakerlanguage", require: "clike", owner: "LiarOnce" }, gap: { title: "GAP (CAS)", owner: "RunDevelopment" }, gcode: { title: "G-code", owner: "RunDevelopment" }, gdscript: { title: "GDScript", owner: "RunDevelopment" }, gedcom: { title: "GEDCOM", owner: "Golmote" }, gettext: { title: "gettext", alias: "po", owner: "RunDevelopment" }, gherkin: { title: "Gherkin", owner: "hason" }, git: { title: "Git", owner: "lgiraudel" }, glsl: { title: "GLSL", require: "c", owner: "Golmote" }, gn: { title: "GN", alias: "gni", owner: "RunDevelopment" }, "linker-script": { title: "GNU Linker Script", alias: "ld", owner: "RunDevelopment" }, go: { title: "Go", require: "clike", owner: "arnehormann" }, "go-module": { title: "Go module", alias: "go-mod", owner: "RunDevelopment" }, gradle: { title: "Gradle", require: "clike", owner: "zeabdelkhalek-badido18" }, graphql: { title: "GraphQL", optional: "markdown", owner: "Golmote" }, groovy: { title: "Groovy", require: "clike", owner: "robfletcher" }, haml: { title: "Haml", require: "ruby", optional: ["css", "css-extras", "coffeescript", "erb", "javascript", "less", "markdown", "scss", "textile"], owner: "Golmote" }, handlebars: { title: "Handlebars", require: "markup-templating", alias: ["hbs", "mustache"], aliasTitles: { mustache: "Mustache" }, owner: "Golmote" }, haskell: { title: "Haskell", alias: "hs", owner: "bholst" }, haxe: { title: "Haxe", require: "clike", optional: "regex", owner: "Golmote" }, hcl: { title: "HCL", owner: "outsideris" }, hlsl: { title: "HLSL", require: "c", owner: "RunDevelopment" }, hoon: { title: "Hoon", owner: "matildepark" }, http: { title: "HTTP", optional: ["csp", "css", "hpkp", "hsts", "javascript", "json", "markup", "uri"], owner: "danielgtaylor" }, hpkp: { title: "HTTP Public-Key-Pins", owner: "ScottHelme" }, hsts: { title: "HTTP Strict-Transport-Security", owner: "ScottHelme" }, ichigojam: { title: "IchigoJam", owner: "BlueCocoa" }, icon: { title: "Icon", owner: "Golmote" }, "icu-message-format": { title: "ICU Message Format", owner: "RunDevelopment" }, idris: { title: "Idris", alias: "idr", owner: "KeenS", require: "haskell" }, ignore: { title: ".ignore", owner: "osipxd", alias: ["gitignore", "hgignore", "npmignore"], aliasTitles: { gitignore: ".gitignore", hgignore: ".hgignore", npmignore: ".npmignore" } }, inform7: { title: "Inform 7", owner: "Golmote" }, ini: { title: "Ini", owner: "aviaryan" }, io: { title: "Io", owner: "AlesTsurko" }, j: { title: "J", owner: "Golmote" }, java: { title: "Java", require: "clike", owner: "sherblot" }, javadoc: { title: "JavaDoc", require: ["markup", "java", "javadoclike"], modify: "java", optional: "scala", owner: "RunDevelopment" }, javadoclike: { title: "JavaDoc-like", modify: ["java", "javascript", "php"], owner: "RunDevelopment" }, javastacktrace: { title: "Java stack trace", owner: "RunDevelopment" }, jexl: { title: "Jexl", owner: "czosel" }, jolie: { title: "Jolie", require: "clike", owner: "thesave" }, jq: { title: "JQ", owner: "RunDevelopment" }, jsdoc: { title: "JSDoc", require: ["javascript", "javadoclike", "typescript"], modify: "javascript", optional: ["actionscript", "coffeescript"], owner: "RunDevelopment" }, "js-extras": { title: "JS Extras", require: "javascript", modify: "javascript", optional: ["actionscript", "coffeescript", "flow", "n4js", "typescript"], owner: "RunDevelopment" }, json: { title: "JSON", alias: "webmanifest", aliasTitles: { webmanifest: "Web App Manifest" }, owner: "CupOfTea696" }, json5: { title: "JSON5", require: "json", owner: "RunDevelopment" }, jsonp: { title: "JSONP", require: "json", owner: "RunDevelopment" }, jsstacktrace: { title: "JS stack trace", owner: "sbrl" }, "js-templates": { title: "JS Templates", require: "javascript", modify: "javascript", optional: ["css", "css-extras", "graphql", "markdown", "markup", "sql"], owner: "RunDevelopment" }, julia: { title: "Julia", owner: "cdagnino" }, keepalived: { title: "Keepalived Configure", owner: "dev-itsheng" }, keyman: { title: "Keyman", owner: "mcdurdin" }, kotlin: { title: "Kotlin", alias: ["kt", "kts"], aliasTitles: { kts: "Kotlin Script" }, require: "clike", owner: "Golmote" }, kumir: { title: "KuMir (КуМир)", alias: "kum", owner: "edukisto" }, kusto: { title: "Kusto", owner: "RunDevelopment" }, latex: { title: "LaTeX", alias: ["tex", "context"], aliasTitles: { tex: "TeX", context: "ConTeXt" }, owner: "japborst" }, latte: { title: "Latte", require: ["clike", "markup-templating", "php"], owner: "nette" }, less: { title: "Less", require: "css", optional: "css-extras", owner: "Golmote" }, lilypond: { title: "LilyPond", require: "scheme", alias: "ly", owner: "RunDevelopment" }, liquid: { title: "Liquid", require: "markup-templating", owner: "cinhtau" }, lisp: { title: "Lisp", alias: ["emacs", "elisp", "emacs-lisp"], owner: "JuanCaicedo" }, livescript: { title: "LiveScript", owner: "Golmote" }, llvm: { title: "LLVM IR", owner: "porglezomp" }, log: { title: "Log file", optional: "javastacktrace", owner: "RunDevelopment" }, lolcode: { title: "LOLCODE", owner: "Golmote" }, lua: { title: "Lua", owner: "Golmote" }, magma: { title: "Magma (CAS)", owner: "RunDevelopment" }, makefile: { title: "Makefile", owner: "Golmote" }, markdown: { title: "Markdown", require: "markup", optional: "yaml", alias: "md", owner: "Golmote" }, "markup-templating": { title: "Markup templating", require: "markup", owner: "Golmote" }, mata: { title: "Mata", owner: "RunDevelopment" }, matlab: { title: "MATLAB", owner: "Golmote" }, maxscript: { title: "MAXScript", owner: "RunDevelopment" }, mel: { title: "MEL", owner: "Golmote" }, mermaid: { title: "Mermaid", owner: "RunDevelopment" }, metafont: { title: "METAFONT", owner: "LaeriExNihilo" }, mizar: { title: "Mizar", owner: "Golmote" }, mongodb: { title: "MongoDB", owner: "airs0urce", require: "javascript" }, monkey: { title: "Monkey", owner: "Golmote" }, moonscript: { title: "MoonScript", alias: "moon", owner: "RunDevelopment" }, n1ql: { title: "N1QL", owner: "TMWilds" }, n4js: { title: "N4JS", require: "javascript", optional: "jsdoc", alias: "n4jsd", owner: "bsmith-n4" }, "nand2tetris-hdl": { title: "Nand To Tetris HDL", owner: "stephanmax" }, naniscript: { title: "Naninovel Script", owner: "Elringus", alias: "nani" }, nasm: { title: "NASM", owner: "rbmj" }, neon: { title: "NEON", owner: "nette" }, nevod: { title: "Nevod", owner: "nezaboodka" }, nginx: { title: "nginx", owner: "volado" }, nim: { title: "Nim", owner: "Golmote" }, nix: { title: "Nix", owner: "Golmote" }, nsis: { title: "NSIS", owner: "idleberg" }, objectivec: { title: "Objective-C", require: "c", alias: "objc", owner: "uranusjr" }, ocaml: { title: "OCaml", owner: "Golmote" }, odin: { title: "Odin", owner: "edukisto" }, opencl: { title: "OpenCL", require: "c", modify: ["c", "cpp"], owner: "Milania1" }, openqasm: { title: "OpenQasm", alias: "qasm", owner: "RunDevelopment" }, oz: { title: "Oz", owner: "Golmote" }, parigp: { title: "PARI/GP", owner: "Golmote" }, parser: { title: "Parser", require: "markup", owner: "Golmote" }, pascal: { title: "Pascal", alias: "objectpascal", aliasTitles: { objectpascal: "Object Pascal" }, owner: "Golmote" }, pascaligo: { title: "Pascaligo", owner: "DefinitelyNotAGoat" }, psl: { title: "PATROL Scripting Language", owner: "bertysentry" }, pcaxis: { title: "PC-Axis", alias: "px", owner: "RunDevelopment" }, peoplecode: { title: "PeopleCode", alias: "pcode", owner: "RunDevelopment" }, perl: { title: "Perl", owner: "Golmote" }, php: { title: "PHP", require: "markup-templating", owner: "milesj" }, phpdoc: { title: "PHPDoc", require: ["php", "javadoclike"], modify: "php", owner: "RunDevelopment" }, "php-extras": { title: "PHP Extras", require: "php", modify: "php", owner: "milesj" }, "plant-uml": { title: "PlantUML", alias: "plantuml", owner: "RunDevelopment" }, plsql: { title: "PL/SQL", require: "sql", owner: "Golmote" }, powerquery: { title: "PowerQuery", alias: ["pq", "mscript"], owner: "peterbud" }, powershell: { title: "PowerShell", owner: "nauzilus" }, processing: { title: "Processing", require: "clike", owner: "Golmote" }, prolog: { title: "Prolog", owner: "Golmote" }, promql: { title: "PromQL", owner: "arendjr" }, properties: { title: ".properties", owner: "Golmote" }, protobuf: { title: "Protocol Buffers", require: "clike", owner: "just-boris" }, pug: { title: "Pug", require: ["markup", "javascript"], optional: ["coffeescript", "ejs", "handlebars", "less", "livescript", "markdown", "scss", "stylus", "twig"], owner: "Golmote" }, puppet: { title: "Puppet", owner: "Golmote" }, pure: { title: "Pure", optional: ["c", "cpp", "fortran"], owner: "Golmote" }, purebasic: { title: "PureBasic", require: "clike", alias: "pbfasm", owner: "HeX0R101" }, purescript: { title: "PureScript", require: "haskell", alias: "purs", owner: "sriharshachilakapati" }, python: { title: "Python", alias: "py", owner: "multipetros" }, qsharp: { title: "Q#", require: "clike", alias: "qs", owner: "fedonman" }, q: { title: "Q (kdb+ database)", owner: "Golmote" }, qml: { title: "QML", require: "javascript", owner: "RunDevelopment" }, qore: { title: "Qore", require: "clike", owner: "temnroegg" }, r: { title: "R", owner: "Golmote" }, racket: { title: "Racket", require: "scheme", alias: "rkt", owner: "RunDevelopment" }, cshtml: { title: "Razor C#", alias: "razor", require: ["markup", "csharp"], optional: ["css", "css-extras", "javascript", "js-extras"], owner: "RunDevelopment" }, jsx: { title: "React JSX", require: ["markup", "javascript"], optional: ["jsdoc", "js-extras", "js-templates"], owner: "vkbansal" }, tsx: { title: "React TSX", require: ["jsx", "typescript"] }, reason: { title: "Reason", require: "clike", owner: "Golmote" }, regex: { title: "Regex", owner: "RunDevelopment" }, rego: { title: "Rego", owner: "JordanSh" }, renpy: { title: "Ren'py", alias: "rpy", owner: "HyuchiaDiego" }, rescript: { title: "ReScript", alias: "res", owner: "vmarcosp" }, rest: { title: "reST (reStructuredText)", owner: "Golmote" }, rip: { title: "Rip", owner: "ravinggenius" }, roboconf: { title: "Roboconf", owner: "Golmote" }, robotframework: { title: "Robot Framework", alias: "robot", owner: "RunDevelopment" }, ruby: { title: "Ruby", require: "clike", alias: "rb", owner: "samflores" }, rust: { title: "Rust", owner: "Golmote" }, sas: { title: "SAS", optional: ["groovy", "lua", "sql"], owner: "Golmote" }, sass: { title: "Sass (Sass)", require: "css", optional: "css-extras", owner: "Golmote" }, scss: { title: "Sass (SCSS)", require: "css", optional: "css-extras", owner: "MoOx" }, scala: { title: "Scala", require: "java", owner: "jozic" }, scheme: { title: "Scheme", owner: "bacchus123" }, "shell-session": { title: "Shell session", require: "bash", alias: ["sh-session", "shellsession"], owner: "RunDevelopment" }, smali: { title: "Smali", owner: "RunDevelopment" }, smalltalk: { title: "Smalltalk", owner: "Golmote" }, smarty: { title: "Smarty", require: "markup-templating", optional: "php", owner: "Golmote" }, sml: { title: "SML", alias: "smlnj", aliasTitles: { smlnj: "SML/NJ" }, owner: "RunDevelopment" }, solidity: { title: "Solidity (Ethereum)", alias: "sol", require: "clike", owner: "glachaud" }, "solution-file": { title: "Solution file", alias: "sln", owner: "RunDevelopment" }, soy: { title: "Soy (Closure Template)", require: "markup-templating", owner: "Golmote" }, sparql: { title: "SPARQL", require: "turtle", owner: "Triply-Dev", alias: "rq" }, "splunk-spl": { title: "Splunk SPL", owner: "RunDevelopment" }, sqf: { title: "SQF: Status Quo Function (Arma 3)", require: "clike", owner: "RunDevelopment" }, sql: { title: "SQL", owner: "multipetros" }, squirrel: { title: "Squirrel", require: "clike", owner: "RunDevelopment" }, stan: { title: "Stan", owner: "RunDevelopment" }, stata: { title: "Stata Ado", require: ["mata", "java", "python"], owner: "RunDevelopment" }, iecst: { title: "Structured Text (IEC 61131-3)", owner: "serhioromano" }, stylus: { title: "Stylus", owner: "vkbansal" }, supercollider: { title: "SuperCollider", alias: "sclang", owner: "RunDevelopment" }, swift: { title: "Swift", owner: "chrischares" }, systemd: { title: "Systemd configuration file", owner: "RunDevelopment" }, "t4-templating": { title: "T4 templating", owner: "RunDevelopment" }, "t4-cs": { title: "T4 Text Templates (C#)", require: ["t4-templating", "csharp"], alias: "t4", owner: "RunDevelopment" }, "t4-vb": { title: "T4 Text Templates (VB)", require: ["t4-templating", "vbnet"], owner: "RunDevelopment" }, tap: { title: "TAP", owner: "isaacs", require: "yaml" }, tcl: { title: "Tcl", owner: "PeterChaplin" }, tt2: { title: "Template Toolkit 2", require: ["clike", "markup-templating"], owner: "gflohr" }, textile: { title: "Textile", require: "markup", optional: "css", owner: "Golmote" }, toml: { title: "TOML", owner: "RunDevelopment" }, tremor: { title: "Tremor", alias: ["trickle", "troy"], owner: "darach", aliasTitles: { trickle: "trickle", troy: "troy" } }, turtle: { title: "Turtle", alias: "trig", aliasTitles: { trig: "TriG" }, owner: "jakubklimek" }, twig: { title: "Twig", require: "markup-templating", owner: "brandonkelly" }, typescript: { title: "TypeScript", require: "javascript", optional: "js-templates", alias: "ts", owner: "vkbansal" }, typoscript: { title: "TypoScript", alias: "tsconfig", aliasTitles: { tsconfig: "TSConfig" }, owner: "dkern" }, unrealscript: { title: "UnrealScript", alias: ["uscript", "uc"], owner: "RunDevelopment" }, uorazor: { title: "UO Razor Script", owner: "jaseowns" }, uri: { title: "URI", alias: "url", aliasTitles: { url: "URL" }, owner: "RunDevelopment" }, v: { title: "V", require: "clike", owner: "taggon" }, vala: { title: "Vala", require: "clike", optional: "regex", owner: "TemplarVolk" }, vbnet: { title: "VB.Net", require: "basic", owner: "Bigsby" }, velocity: { title: "Velocity", require: "markup", owner: "Golmote" }, verilog: { title: "Verilog", owner: "a-rey" }, vhdl: { title: "VHDL", owner: "a-rey" }, vim: { title: "vim", owner: "westonganger" }, "visual-basic": { title: "Visual Basic", alias: ["vb", "vba"], aliasTitles: { vba: "VBA" }, owner: "Golmote" }, warpscript: { title: "WarpScript", owner: "RunDevelopment" }, wasm: { title: "WebAssembly", owner: "Golmote" }, "web-idl": { title: "Web IDL", alias: "webidl", owner: "RunDevelopment" }, wgsl: { title: "WGSL", owner: "Dr4gonthree" }, wiki: { title: "Wiki markup", require: "markup", owner: "Golmote" }, wolfram: { title: "Wolfram language", alias: ["mathematica", "nb", "wl"], aliasTitles: { mathematica: "Mathematica", nb: "Mathematica Notebook" }, owner: "msollami" }, wren: { title: "Wren", owner: "clsource" }, xeora: { title: "Xeora", require: "markup", alias: "xeoracube", aliasTitles: { xeoracube: "XeoraCube" }, owner: "freakmaxi" }, "xml-doc": { title: "XML doc (.net)", require: "markup", modify: ["csharp", "fsharp", "vbnet"], owner: "RunDevelopment" }, xojo: { title: "Xojo (REALbasic)", owner: "Golmote" }, xquery: { title: "XQuery", require: "markup", owner: "Golmote" }, yaml: { title: "YAML", alias: "yml", owner: "hason" }, yang: { title: "YANG", owner: "RunDevelopment" }, zig: { title: "Zig", owner: "RunDevelopment" } }, plugins: { meta: { path: "plugins/{id}/prism-{id}", link: "plugins/{id}/" }, "line-highlight": { title: "Line Highlight", description: "Highlights specific lines and/or line ranges." }, "line-numbers": { title: "Line Numbers", description: "Line number at the beginning of code lines.", owner: "kuba-kubula" }, "show-invisibles": { title: "Show Invisibles", description: "Show hidden characters such as tabs and line breaks.", optional: ["autolinker", "data-uri-highlight"] }, autolinker: { title: "Autolinker", description: "Converts URLs and emails in code to clickable links. Parses Markdown links in comments." }, wpd: { title: "WebPlatform Docs", description: 'Makes tokens link to <a href="https://webplatform.github.io/docs/">WebPlatform.org documentation</a>. The links open in a new tab.' }, "custom-class": { title: "Custom Class", description: "This plugin allows you to prefix Prism's default classes (<code>.comment</code> can become <code>.namespace--comment</code>) or replace them with your defined ones (like <code>.editor__comment</code>). You can even add new classes.", owner: "dvkndn", noCSS: !0 }, "file-highlight": { title: "File Highlight", description: "Fetch external files and highlight them with Prism. Used on the Prism website itself.", noCSS: !0 }, "show-language": { title: "Show Language", description: "Display the highlighted language in code blocks (inline code does not show the label).", owner: "nauzilus", noCSS: !0, require: "toolbar" }, "jsonp-highlight": { title: "JSONP Highlight", description: "Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).", noCSS: !0, owner: "nauzilus" }, "highlight-keywords": { title: "Highlight Keywords", description: "Adds special CSS classes for each keyword for fine-grained highlighting.", owner: "vkbansal", noCSS: !0 }, "remove-initial-line-feed": { title: "Remove initial line feed", description: "Removes the initial line feed in code blocks.", owner: "Golmote", noCSS: !0 }, "inline-color": { title: "Inline color", description: "Adds a small inline preview for colors in style sheets.", require: "css-extras", owner: "RunDevelopment" }, previewers: { title: "Previewers", description: "Previewers for angles, colors, gradients, easing and time.", require: "css-extras", owner: "Golmote" }, autoloader: { title: "Autoloader", description: "Automatically loads the needed languages to highlight the code blocks.", owner: "Golmote", noCSS: !0 }, "keep-markup": { title: "Keep Markup", description: "Prevents custom markup from being dropped out during highlighting.", owner: "Golmote", optional: "normalize-whitespace", noCSS: !0 }, "command-line": { title: "Command Line", description: "Display a command line with a prompt and, optionally, the output/response from the commands.", owner: "chriswells0" }, "unescaped-markup": { title: "Unescaped Markup", description: "Write markup without having to escape anything." }, "normalize-whitespace": { title: "Normalize Whitespace", description: "Supports multiple operations to normalize whitespace in code blocks.", owner: "zeitgeist87", optional: "unescaped-markup", noCSS: !0 }, "data-uri-highlight": { title: "Data-URI Highlight", description: "Highlights data-URI contents.", owner: "Golmote", noCSS: !0 }, toolbar: { title: "Toolbar", description: "Attach a toolbar for plugins to easily register buttons on the top of a code block.", owner: "mAAdhaTTah" }, "copy-to-clipboard": { title: "Copy to Clipboard Button", description: "Add a button that copies the code block to the clipboard when clicked.", owner: "mAAdhaTTah", require: "toolbar", noCSS: !0 }, "download-button": { title: "Download Button", description: "A button in the toolbar of a code block adding a convenient way to download a code file.", owner: "Golmote", require: "toolbar", noCSS: !0 }, "match-braces": { title: "Match braces", description: "Highlights matching braces.", owner: "RunDevelopment" }, "diff-highlight": { title: "Diff Highlight", description: "Highlights the code inside diff blocks.", owner: "RunDevelopment", require: "diff" }, "filter-highlight-all": { title: "Filter highlightAll", description: "Filters the elements the <code>highlightAll</code> and <code>highlightAllUnder</code> methods actually highlight.", owner: "RunDevelopment", noCSS: !0 }, treeview: { title: "Treeview", description: "A language with special styles to highlight file system tree structures.", owner: "Golmote" } } };
|
|
40
43
|
e.exports && (e.exports = t);
|
|
41
|
-
})(
|
|
42
|
-
var ke = {},
|
|
44
|
+
})(Qt);
|
|
45
|
+
var ke = {}, er = {
|
|
43
46
|
get exports() {
|
|
44
47
|
return ke;
|
|
45
48
|
},
|
|
@@ -113,8 +116,8 @@ var ke = {}, Qt = {
|
|
|
113
116
|
* @memberof Prism
|
|
114
117
|
*/
|
|
115
118
|
util: {
|
|
116
|
-
encode: function
|
|
117
|
-
return m instanceof l ? new l(m.type,
|
|
119
|
+
encode: function c(m) {
|
|
120
|
+
return m instanceof l ? new l(m.type, c(m.content), m.alias) : Array.isArray(m) ? m.map(c) : m.replace(/&/g, "&").replace(/</g, "<").replace(/\u00a0/g, " ");
|
|
118
121
|
},
|
|
119
122
|
/**
|
|
120
123
|
* Returns the name of the type of the given value.
|
|
@@ -132,8 +135,8 @@ var ke = {}, Qt = {
|
|
|
132
135
|
* type(String) === 'Function'
|
|
133
136
|
* type(/abc+/) === 'RegExp'
|
|
134
137
|
*/
|
|
135
|
-
type: function(
|
|
136
|
-
return Object.prototype.toString.call(
|
|
138
|
+
type: function(c) {
|
|
139
|
+
return Object.prototype.toString.call(c).slice(8, -1);
|
|
137
140
|
},
|
|
138
141
|
/**
|
|
139
142
|
* Returns a unique number for the given object. Later calls will still return the same number.
|
|
@@ -141,8 +144,8 @@ var ke = {}, Qt = {
|
|
|
141
144
|
* @param {Object} obj
|
|
142
145
|
* @returns {number}
|
|
143
146
|
*/
|
|
144
|
-
objId: function(
|
|
145
|
-
return
|
|
147
|
+
objId: function(c) {
|
|
148
|
+
return c.__id || Object.defineProperty(c, "__id", { value: ++i }), c.__id;
|
|
146
149
|
},
|
|
147
150
|
/**
|
|
148
151
|
* Creates a deep clone of the given object.
|
|
@@ -154,28 +157,28 @@ var ke = {}, Qt = {
|
|
|
154
157
|
* @returns {T}
|
|
155
158
|
* @template T
|
|
156
159
|
*/
|
|
157
|
-
clone: function
|
|
158
|
-
|
|
159
|
-
var
|
|
160
|
+
clone: function c(m, d) {
|
|
161
|
+
d = d || {};
|
|
162
|
+
var h, f;
|
|
160
163
|
switch (s.util.type(m)) {
|
|
161
164
|
case "Object":
|
|
162
|
-
if (f = s.util.objId(m),
|
|
163
|
-
return
|
|
164
|
-
|
|
165
|
-
{},
|
|
165
|
+
if (f = s.util.objId(m), d[f])
|
|
166
|
+
return d[f];
|
|
167
|
+
h = /** @type {Record<string, any>} */
|
|
168
|
+
{}, d[f] = h;
|
|
166
169
|
for (var j in m)
|
|
167
|
-
m.hasOwnProperty(j) && (
|
|
170
|
+
m.hasOwnProperty(j) && (h[j] = c(m[j], d));
|
|
168
171
|
return (
|
|
169
172
|
/** @type {any} */
|
|
170
|
-
|
|
173
|
+
h
|
|
171
174
|
);
|
|
172
175
|
case "Array":
|
|
173
|
-
return f = s.util.objId(m),
|
|
176
|
+
return f = s.util.objId(m), d[f] ? d[f] : (h = [], d[f] = h, /** @type {Array} */
|
|
174
177
|
/** @type {any} */
|
|
175
178
|
m.forEach(function(A, b) {
|
|
176
|
-
|
|
179
|
+
h[b] = c(A, d);
|
|
177
180
|
}), /** @type {any} */
|
|
178
|
-
|
|
181
|
+
h);
|
|
179
182
|
default:
|
|
180
183
|
return m;
|
|
181
184
|
}
|
|
@@ -188,12 +191,12 @@ var ke = {}, Qt = {
|
|
|
188
191
|
* @param {Element} element
|
|
189
192
|
* @returns {string}
|
|
190
193
|
*/
|
|
191
|
-
getLanguage: function(
|
|
192
|
-
for (;
|
|
193
|
-
var m = o.exec(
|
|
194
|
+
getLanguage: function(c) {
|
|
195
|
+
for (; c; ) {
|
|
196
|
+
var m = o.exec(c.className);
|
|
194
197
|
if (m)
|
|
195
198
|
return m[1].toLowerCase();
|
|
196
|
-
|
|
199
|
+
c = c.parentElement;
|
|
197
200
|
}
|
|
198
201
|
return "none";
|
|
199
202
|
},
|
|
@@ -204,8 +207,8 @@ var ke = {}, Qt = {
|
|
|
204
207
|
* @param {string} language
|
|
205
208
|
* @returns {void}
|
|
206
209
|
*/
|
|
207
|
-
setLanguage: function(
|
|
208
|
-
|
|
210
|
+
setLanguage: function(c, m) {
|
|
211
|
+
c.className = c.className.replace(RegExp(o, "gi"), ""), c.classList.add("language-" + m);
|
|
209
212
|
},
|
|
210
213
|
/**
|
|
211
214
|
* Returns the script element that is currently executing.
|
|
@@ -224,13 +227,13 @@ var ke = {}, Qt = {
|
|
|
224
227
|
);
|
|
225
228
|
try {
|
|
226
229
|
throw new Error();
|
|
227
|
-
} catch (
|
|
228
|
-
var
|
|
229
|
-
if (
|
|
230
|
+
} catch (h) {
|
|
231
|
+
var c = (/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(h.stack) || [])[1];
|
|
232
|
+
if (c) {
|
|
230
233
|
var m = document.getElementsByTagName("script");
|
|
231
|
-
for (var
|
|
232
|
-
if (m[
|
|
233
|
-
return m[
|
|
234
|
+
for (var d in m)
|
|
235
|
+
if (m[d].src == c)
|
|
236
|
+
return m[d];
|
|
234
237
|
}
|
|
235
238
|
return null;
|
|
236
239
|
}
|
|
@@ -254,16 +257,16 @@ var ke = {}, Qt = {
|
|
|
254
257
|
* @param {boolean} [defaultActivation=false]
|
|
255
258
|
* @returns {boolean}
|
|
256
259
|
*/
|
|
257
|
-
isActive: function(
|
|
258
|
-
for (var
|
|
259
|
-
var f =
|
|
260
|
+
isActive: function(c, m, d) {
|
|
261
|
+
for (var h = "no-" + m; c; ) {
|
|
262
|
+
var f = c.classList;
|
|
260
263
|
if (f.contains(m))
|
|
261
264
|
return !0;
|
|
262
|
-
if (f.contains(
|
|
265
|
+
if (f.contains(h))
|
|
263
266
|
return !1;
|
|
264
|
-
|
|
267
|
+
c = c.parentElement;
|
|
265
268
|
}
|
|
266
|
-
return !!
|
|
269
|
+
return !!d;
|
|
267
270
|
}
|
|
268
271
|
},
|
|
269
272
|
/**
|
|
@@ -309,11 +312,11 @@ var ke = {}, Qt = {
|
|
|
309
312
|
* 'color': /\b(?:red|green|blue)\b/
|
|
310
313
|
* });
|
|
311
314
|
*/
|
|
312
|
-
extend: function(
|
|
313
|
-
var
|
|
314
|
-
for (var
|
|
315
|
-
h
|
|
316
|
-
return
|
|
315
|
+
extend: function(c, m) {
|
|
316
|
+
var d = s.util.clone(s.languages[c]);
|
|
317
|
+
for (var h in m)
|
|
318
|
+
d[h] = m[h];
|
|
319
|
+
return d;
|
|
317
320
|
},
|
|
318
321
|
/**
|
|
319
322
|
* Inserts tokens _before_ another token in a language definition or any other grammar.
|
|
@@ -390,31 +393,31 @@ var ke = {}, Qt = {
|
|
|
390
393
|
* @returns {Grammar} The new grammar object.
|
|
391
394
|
* @public
|
|
392
395
|
*/
|
|
393
|
-
insertBefore: function(
|
|
394
|
-
|
|
396
|
+
insertBefore: function(c, m, d, h) {
|
|
397
|
+
h = h || /** @type {any} */
|
|
395
398
|
s.languages;
|
|
396
|
-
var f =
|
|
399
|
+
var f = h[c], j = {};
|
|
397
400
|
for (var A in f)
|
|
398
401
|
if (f.hasOwnProperty(A)) {
|
|
399
402
|
if (A == m)
|
|
400
|
-
for (var b in
|
|
401
|
-
|
|
402
|
-
|
|
403
|
+
for (var b in d)
|
|
404
|
+
d.hasOwnProperty(b) && (j[b] = d[b]);
|
|
405
|
+
d.hasOwnProperty(A) || (j[A] = f[A]);
|
|
403
406
|
}
|
|
404
|
-
var B =
|
|
405
|
-
return
|
|
406
|
-
W === B && P !=
|
|
407
|
+
var B = h[c];
|
|
408
|
+
return h[c] = j, s.languages.DFS(s.languages, function(P, W) {
|
|
409
|
+
W === B && P != c && (this[P] = j);
|
|
407
410
|
}), j;
|
|
408
411
|
},
|
|
409
412
|
// Traverse a language definition with Depth First Search
|
|
410
|
-
DFS: function
|
|
413
|
+
DFS: function c(m, d, h, f) {
|
|
411
414
|
f = f || {};
|
|
412
415
|
var j = s.util.objId;
|
|
413
416
|
for (var A in m)
|
|
414
417
|
if (m.hasOwnProperty(A)) {
|
|
415
|
-
|
|
418
|
+
d.call(m, A, m[A], h || A);
|
|
416
419
|
var b = m[A], B = s.util.type(b);
|
|
417
|
-
B === "Object" && !f[j(b)] ? (f[j(b)] = !0,
|
|
420
|
+
B === "Object" && !f[j(b)] ? (f[j(b)] = !0, c(b, d, null, f)) : B === "Array" && !f[j(b)] && (f[j(b)] = !0, c(b, d, A, f));
|
|
418
421
|
}
|
|
419
422
|
}
|
|
420
423
|
},
|
|
@@ -431,8 +434,8 @@ var ke = {}, Qt = {
|
|
|
431
434
|
* @memberof Prism
|
|
432
435
|
* @public
|
|
433
436
|
*/
|
|
434
|
-
highlightAll: function(
|
|
435
|
-
s.highlightAllUnder(document,
|
|
437
|
+
highlightAll: function(c, m) {
|
|
438
|
+
s.highlightAllUnder(document, c, m);
|
|
436
439
|
},
|
|
437
440
|
/**
|
|
438
441
|
* Fetches all the descendants of `container` that have a `.language-xxxx` class and then calls
|
|
@@ -449,15 +452,15 @@ var ke = {}, Qt = {
|
|
|
449
452
|
* @memberof Prism
|
|
450
453
|
* @public
|
|
451
454
|
*/
|
|
452
|
-
highlightAllUnder: function(
|
|
453
|
-
var
|
|
454
|
-
callback:
|
|
455
|
-
container:
|
|
455
|
+
highlightAllUnder: function(c, m, d) {
|
|
456
|
+
var h = {
|
|
457
|
+
callback: d,
|
|
458
|
+
container: c,
|
|
456
459
|
selector: 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'
|
|
457
460
|
};
|
|
458
|
-
s.hooks.run("before-highlightall",
|
|
459
|
-
for (var f = 0, j; j =
|
|
460
|
-
s.highlightElement(j, m === !0,
|
|
461
|
+
s.hooks.run("before-highlightall", h), h.elements = Array.prototype.slice.apply(h.container.querySelectorAll(h.selector)), s.hooks.run("before-all-elements-highlight", h);
|
|
462
|
+
for (var f = 0, j; j = h.elements[f++]; )
|
|
463
|
+
s.highlightElement(j, m === !0, h.callback);
|
|
461
464
|
},
|
|
462
465
|
/**
|
|
463
466
|
* Highlights the code inside a single element.
|
|
@@ -487,22 +490,22 @@ var ke = {}, Qt = {
|
|
|
487
490
|
* @memberof Prism
|
|
488
491
|
* @public
|
|
489
492
|
*/
|
|
490
|
-
highlightElement: function(
|
|
491
|
-
var
|
|
492
|
-
s.util.setLanguage(
|
|
493
|
-
var j =
|
|
494
|
-
j && j.nodeName.toLowerCase() === "pre" && s.util.setLanguage(j,
|
|
495
|
-
var A =
|
|
496
|
-
element:
|
|
497
|
-
language:
|
|
493
|
+
highlightElement: function(c, m, d) {
|
|
494
|
+
var h = s.util.getLanguage(c), f = s.languages[h];
|
|
495
|
+
s.util.setLanguage(c, h);
|
|
496
|
+
var j = c.parentElement;
|
|
497
|
+
j && j.nodeName.toLowerCase() === "pre" && s.util.setLanguage(j, h);
|
|
498
|
+
var A = c.textContent, b = {
|
|
499
|
+
element: c,
|
|
500
|
+
language: h,
|
|
498
501
|
grammar: f,
|
|
499
502
|
code: A
|
|
500
503
|
};
|
|
501
504
|
function B(W) {
|
|
502
|
-
b.highlightedCode = W, s.hooks.run("before-insert", b), b.element.innerHTML = b.highlightedCode, s.hooks.run("after-highlight", b), s.hooks.run("complete", b),
|
|
505
|
+
b.highlightedCode = W, s.hooks.run("before-insert", b), b.element.innerHTML = b.highlightedCode, s.hooks.run("after-highlight", b), s.hooks.run("complete", b), d && d.call(b.element);
|
|
503
506
|
}
|
|
504
507
|
if (s.hooks.run("before-sanity-check", b), j = b.element.parentElement, j && j.nodeName.toLowerCase() === "pre" && !j.hasAttribute("tabindex") && j.setAttribute("tabindex", "0"), !b.code) {
|
|
505
|
-
s.hooks.run("complete", b),
|
|
508
|
+
s.hooks.run("complete", b), d && d.call(b.element);
|
|
506
509
|
return;
|
|
507
510
|
}
|
|
508
511
|
if (s.hooks.run("before-highlight", b), !b.grammar) {
|
|
@@ -541,15 +544,15 @@ var ke = {}, Qt = {
|
|
|
541
544
|
* @example
|
|
542
545
|
* Prism.highlight('var foo = true;', Prism.languages.javascript, 'javascript');
|
|
543
546
|
*/
|
|
544
|
-
highlight: function(
|
|
545
|
-
var
|
|
546
|
-
code:
|
|
547
|
+
highlight: function(c, m, d) {
|
|
548
|
+
var h = {
|
|
549
|
+
code: c,
|
|
547
550
|
grammar: m,
|
|
548
|
-
language:
|
|
551
|
+
language: d
|
|
549
552
|
};
|
|
550
|
-
if (s.hooks.run("before-tokenize",
|
|
551
|
-
throw new Error('The language "' +
|
|
552
|
-
return
|
|
553
|
+
if (s.hooks.run("before-tokenize", h), !h.grammar)
|
|
554
|
+
throw new Error('The language "' + h.language + '" has no grammar.');
|
|
555
|
+
return h.tokens = s.tokenize(h.code, h.grammar), s.hooks.run("after-tokenize", h), l.stringify(s.util.encode(h.tokens), h.language);
|
|
553
556
|
},
|
|
554
557
|
/**
|
|
555
558
|
* This is the heart of Prism, and the most low-level function you can use. It accepts a string of text as input
|
|
@@ -575,15 +578,15 @@ var ke = {}, Qt = {
|
|
|
575
578
|
* }
|
|
576
579
|
* });
|
|
577
580
|
*/
|
|
578
|
-
tokenize: function(
|
|
579
|
-
var
|
|
580
|
-
if (
|
|
581
|
-
for (var
|
|
582
|
-
m[
|
|
581
|
+
tokenize: function(c, m) {
|
|
582
|
+
var d = m.rest;
|
|
583
|
+
if (d) {
|
|
584
|
+
for (var h in d)
|
|
585
|
+
m[h] = d[h];
|
|
583
586
|
delete m.rest;
|
|
584
587
|
}
|
|
585
588
|
var f = new g();
|
|
586
|
-
return v(f, f.head,
|
|
589
|
+
return v(f, f.head, c), p(c, f, m, f.head, 0), L(f);
|
|
587
590
|
},
|
|
588
591
|
/**
|
|
589
592
|
* @namespace
|
|
@@ -604,9 +607,9 @@ var ke = {}, Qt = {
|
|
|
604
607
|
* @param {HookCallback} callback The callback function which is given environment variables.
|
|
605
608
|
* @public
|
|
606
609
|
*/
|
|
607
|
-
add: function(
|
|
608
|
-
var
|
|
609
|
-
|
|
610
|
+
add: function(c, m) {
|
|
611
|
+
var d = s.hooks.all;
|
|
612
|
+
d[c] = d[c] || [], d[c].push(m);
|
|
610
613
|
},
|
|
611
614
|
/**
|
|
612
615
|
* Runs a hook invoking all registered callbacks with the given environment variables.
|
|
@@ -617,35 +620,35 @@ var ke = {}, Qt = {
|
|
|
617
620
|
* @param {Object<string, any>} env The environment variables of the hook passed to all callbacks registered.
|
|
618
621
|
* @public
|
|
619
622
|
*/
|
|
620
|
-
run: function(
|
|
621
|
-
var
|
|
622
|
-
if (!(!
|
|
623
|
-
for (var
|
|
623
|
+
run: function(c, m) {
|
|
624
|
+
var d = s.hooks.all[c];
|
|
625
|
+
if (!(!d || !d.length))
|
|
626
|
+
for (var h = 0, f; f = d[h++]; )
|
|
624
627
|
f(m);
|
|
625
628
|
}
|
|
626
629
|
},
|
|
627
630
|
Token: l
|
|
628
631
|
};
|
|
629
632
|
n.Prism = s;
|
|
630
|
-
function l(
|
|
631
|
-
this.type =
|
|
633
|
+
function l(c, m, d, h) {
|
|
634
|
+
this.type = c, this.content = m, this.alias = d, this.length = (h || "").length | 0;
|
|
632
635
|
}
|
|
633
|
-
l.stringify = function
|
|
636
|
+
l.stringify = function c(m, d) {
|
|
634
637
|
if (typeof m == "string")
|
|
635
638
|
return m;
|
|
636
639
|
if (Array.isArray(m)) {
|
|
637
|
-
var
|
|
640
|
+
var h = "";
|
|
638
641
|
return m.forEach(function(B) {
|
|
639
|
-
|
|
640
|
-
}),
|
|
642
|
+
h += c(B, d);
|
|
643
|
+
}), h;
|
|
641
644
|
}
|
|
642
645
|
var f = {
|
|
643
646
|
type: m.type,
|
|
644
|
-
content:
|
|
647
|
+
content: c(m.content, d),
|
|
645
648
|
tag: "span",
|
|
646
649
|
classes: ["token", m.type],
|
|
647
650
|
attributes: {},
|
|
648
|
-
language:
|
|
651
|
+
language: d
|
|
649
652
|
}, j = m.alias;
|
|
650
653
|
j && (Array.isArray(j) ? Array.prototype.push.apply(f.classes, j) : f.classes.push(j)), s.hooks.run("wrap", f);
|
|
651
654
|
var A = "";
|
|
@@ -653,58 +656,58 @@ var ke = {}, Qt = {
|
|
|
653
656
|
A += " " + b + '="' + (f.attributes[b] || "").replace(/"/g, """) + '"';
|
|
654
657
|
return "<" + f.tag + ' class="' + f.classes.join(" ") + '"' + A + ">" + f.content + "</" + f.tag + ">";
|
|
655
658
|
};
|
|
656
|
-
function c
|
|
657
|
-
|
|
658
|
-
var f =
|
|
659
|
-
if (f &&
|
|
659
|
+
function u(c, m, d, h) {
|
|
660
|
+
c.lastIndex = m;
|
|
661
|
+
var f = c.exec(d);
|
|
662
|
+
if (f && h && f[1]) {
|
|
660
663
|
var j = f[1].length;
|
|
661
664
|
f.index += j, f[0] = f[0].slice(j);
|
|
662
665
|
}
|
|
663
666
|
return f;
|
|
664
667
|
}
|
|
665
|
-
function p(
|
|
666
|
-
for (var A in
|
|
667
|
-
if (!(!
|
|
668
|
-
var b =
|
|
668
|
+
function p(c, m, d, h, f, j) {
|
|
669
|
+
for (var A in d)
|
|
670
|
+
if (!(!d.hasOwnProperty(A) || !d[A])) {
|
|
671
|
+
var b = d[A];
|
|
669
672
|
b = Array.isArray(b) ? b : [b];
|
|
670
673
|
for (var B = 0; B < b.length; ++B) {
|
|
671
674
|
if (j && j.cause == A + "," + B)
|
|
672
675
|
return;
|
|
673
|
-
var P = b[B], W = P.inside, Fe = !!P.lookbehind, Oe = !!P.greedy,
|
|
676
|
+
var P = b[B], W = P.inside, Fe = !!P.lookbehind, Oe = !!P.greedy, It = P.alias;
|
|
674
677
|
if (Oe && !P.pattern.global) {
|
|
675
|
-
var
|
|
676
|
-
P.pattern = RegExp(P.pattern.source,
|
|
678
|
+
var Ct = P.pattern.toString().match(/[imsuy]*$/)[0];
|
|
679
|
+
P.pattern = RegExp(P.pattern.source, Ct + "g");
|
|
677
680
|
}
|
|
678
|
-
for (var Me = P.pattern || P, D =
|
|
681
|
+
for (var Me = P.pattern || P, D = h.next, U = f; D !== m.tail && !(j && U >= j.reach); U += D.value.length, D = D.next) {
|
|
679
682
|
var te = D.value;
|
|
680
|
-
if (m.length >
|
|
683
|
+
if (m.length > c.length)
|
|
681
684
|
return;
|
|
682
685
|
if (!(te instanceof l)) {
|
|
683
686
|
var le = 1, M;
|
|
684
687
|
if (Oe) {
|
|
685
|
-
if (M =
|
|
688
|
+
if (M = u(Me, U, c, Fe), !M || M.index >= c.length)
|
|
686
689
|
break;
|
|
687
|
-
var me = M.index,
|
|
690
|
+
var me = M.index, Nt = M.index + M[0].length, Z = U;
|
|
688
691
|
for (Z += D.value.length; me >= Z; )
|
|
689
692
|
D = D.next, Z += D.value.length;
|
|
690
693
|
if (Z -= D.value.length, U = Z, D.value instanceof l)
|
|
691
694
|
continue;
|
|
692
|
-
for (var oe = D; oe !== m.tail && (Z <
|
|
695
|
+
for (var oe = D; oe !== m.tail && (Z < Nt || typeof oe.value == "string"); oe = oe.next)
|
|
693
696
|
le++, Z += oe.value.length;
|
|
694
|
-
le--, te =
|
|
695
|
-
} else if (M =
|
|
697
|
+
le--, te = c.slice(U, Z), M.index -= U;
|
|
698
|
+
} else if (M = u(Me, 0, te, Fe), !M)
|
|
696
699
|
continue;
|
|
697
700
|
var me = M.index, pe = M[0], je = te.slice(0, me), Ge = te.slice(me + pe.length), be = U + te.length;
|
|
698
701
|
j && be > j.reach && (j.reach = be);
|
|
699
702
|
var ue = D.prev;
|
|
700
703
|
je && (ue = v(m, ue, je), U += je.length), E(m, ue, le);
|
|
701
|
-
var
|
|
702
|
-
if (D = v(m, ue,
|
|
704
|
+
var xt = new l(A, W ? s.tokenize(pe, W) : pe, It, pe);
|
|
705
|
+
if (D = v(m, ue, xt), Ge && v(m, D, Ge), le > 1) {
|
|
703
706
|
var ye = {
|
|
704
707
|
cause: A + "," + B,
|
|
705
708
|
reach: be
|
|
706
709
|
};
|
|
707
|
-
p(
|
|
710
|
+
p(c, m, d, D.prev, U, ye), j && ye.reach > j.reach && (j.reach = ye.reach);
|
|
708
711
|
}
|
|
709
712
|
}
|
|
710
713
|
}
|
|
@@ -712,27 +715,27 @@ var ke = {}, Qt = {
|
|
|
712
715
|
}
|
|
713
716
|
}
|
|
714
717
|
function g() {
|
|
715
|
-
var
|
|
716
|
-
|
|
718
|
+
var c = { value: null, prev: null, next: null }, m = { value: null, prev: c, next: null };
|
|
719
|
+
c.next = m, this.head = c, this.tail = m, this.length = 0;
|
|
717
720
|
}
|
|
718
|
-
function v(
|
|
719
|
-
var
|
|
720
|
-
return m.next = f,
|
|
721
|
+
function v(c, m, d) {
|
|
722
|
+
var h = m.next, f = { value: d, prev: m, next: h };
|
|
723
|
+
return m.next = f, h.prev = f, c.length++, f;
|
|
721
724
|
}
|
|
722
|
-
function E(
|
|
723
|
-
for (var
|
|
724
|
-
|
|
725
|
-
m.next =
|
|
725
|
+
function E(c, m, d) {
|
|
726
|
+
for (var h = m.next, f = 0; f < d && h !== c.tail; f++)
|
|
727
|
+
h = h.next;
|
|
728
|
+
m.next = h, h.prev = m, c.length -= f;
|
|
726
729
|
}
|
|
727
|
-
function L(
|
|
728
|
-
for (var m = [],
|
|
729
|
-
m.push(
|
|
730
|
+
function L(c) {
|
|
731
|
+
for (var m = [], d = c.head.next; d !== c.tail; )
|
|
732
|
+
m.push(d.value), d = d.next;
|
|
730
733
|
return m;
|
|
731
734
|
}
|
|
732
735
|
if (!n.document)
|
|
733
|
-
return n.addEventListener && (s.disableWorkerMessageHandler || n.addEventListener("message", function(
|
|
734
|
-
var m = JSON.parse(
|
|
735
|
-
n.postMessage(s.highlight(
|
|
736
|
+
return n.addEventListener && (s.disableWorkerMessageHandler || n.addEventListener("message", function(c) {
|
|
737
|
+
var m = JSON.parse(c.data), d = m.language, h = m.code, f = m.immediateClose;
|
|
738
|
+
n.postMessage(s.highlight(h, s.languages[d], d)), f && n.close();
|
|
736
739
|
}, !1)), s;
|
|
737
740
|
var y = s.util.currentScript();
|
|
738
741
|
y && (s.filename = y.src, y.hasAttribute("data-manual") && (s.manual = !0));
|
|
@@ -1135,18 +1138,18 @@ var ke = {}, Qt = {
|
|
|
1135
1138
|
bat: "batch",
|
|
1136
1139
|
h: "c",
|
|
1137
1140
|
tex: "latex"
|
|
1138
|
-
}, s = "data-src-status", l = "loading",
|
|
1141
|
+
}, s = "data-src-status", l = "loading", u = "loaded", p = "failed", g = "pre[data-src]:not([" + s + '="' + u + '"]):not([' + s + '="' + l + '"])';
|
|
1139
1142
|
function v(y, w, S) {
|
|
1140
|
-
var
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
},
|
|
1143
|
+
var c = new XMLHttpRequest();
|
|
1144
|
+
c.open("GET", y, !0), c.onreadystatechange = function() {
|
|
1145
|
+
c.readyState == 4 && (c.status < 400 && c.responseText ? w(c.responseText) : c.status >= 400 ? S(o(c.status, c.statusText)) : S(i));
|
|
1146
|
+
}, c.send(null);
|
|
1144
1147
|
}
|
|
1145
1148
|
function E(y) {
|
|
1146
1149
|
var w = /^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(y || "");
|
|
1147
1150
|
if (w) {
|
|
1148
|
-
var S = Number(w[1]),
|
|
1149
|
-
return
|
|
1151
|
+
var S = Number(w[1]), c = w[2], m = w[3];
|
|
1152
|
+
return c ? m ? [S, Number(m)] : [S, void 0] : [S, S];
|
|
1150
1153
|
}
|
|
1151
1154
|
}
|
|
1152
1155
|
r.hooks.add("before-highlightall", function(y) {
|
|
@@ -1160,17 +1163,17 @@ var ke = {}, Qt = {
|
|
|
1160
1163
|
y.code = "", w.setAttribute(s, l);
|
|
1161
1164
|
var S = w.appendChild(document.createElement("CODE"));
|
|
1162
1165
|
S.textContent = n;
|
|
1163
|
-
var
|
|
1166
|
+
var c = w.getAttribute("data-src"), m = y.language;
|
|
1164
1167
|
if (m === "none") {
|
|
1165
|
-
var
|
|
1166
|
-
m = a[
|
|
1168
|
+
var d = (/\.(\w+)$/.exec(c) || [, "none"])[1];
|
|
1169
|
+
m = a[d] || d;
|
|
1167
1170
|
}
|
|
1168
1171
|
r.util.setLanguage(S, m), r.util.setLanguage(w, m);
|
|
1169
|
-
var
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
+
var h = r.plugins.autoloader;
|
|
1173
|
+
h && h.loadLanguages(m), v(
|
|
1174
|
+
c,
|
|
1172
1175
|
function(f) {
|
|
1173
|
-
w.setAttribute(s,
|
|
1176
|
+
w.setAttribute(s, u);
|
|
1174
1177
|
var j = E(w.getAttribute("data-range"));
|
|
1175
1178
|
if (j) {
|
|
1176
1179
|
var A = f.split(/\r\n?|\n/g), b = j[0], B = j[1] == null ? A.length : j[1];
|
|
@@ -1193,7 +1196,7 @@ var ke = {}, Qt = {
|
|
|
1193
1196
|
* @param {ParentNode} [container=document]
|
|
1194
1197
|
*/
|
|
1195
1198
|
highlight: function(w) {
|
|
1196
|
-
for (var S = (w || document).querySelectorAll(g),
|
|
1199
|
+
for (var S = (w || document).querySelectorAll(g), c = 0, m; m = S[c++]; )
|
|
1197
1200
|
r.highlightElement(m);
|
|
1198
1201
|
}
|
|
1199
1202
|
};
|
|
@@ -1202,9 +1205,9 @@ var ke = {}, Qt = {
|
|
|
1202
1205
|
L || (console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."), L = !0), r.plugins.fileHighlight.highlight.apply(this, arguments);
|
|
1203
1206
|
};
|
|
1204
1207
|
}();
|
|
1205
|
-
})(
|
|
1208
|
+
})(er);
|
|
1206
1209
|
const ce = ke;
|
|
1207
|
-
const
|
|
1210
|
+
const tr = /* @__PURE__ */ G({
|
|
1208
1211
|
__name: "CodeBlock",
|
|
1209
1212
|
props: {
|
|
1210
1213
|
codeBlockIndex: {
|
|
@@ -1227,28 +1230,28 @@ const er = /* @__PURE__ */ G({
|
|
|
1227
1230
|
setup(e) {
|
|
1228
1231
|
const t = e;
|
|
1229
1232
|
ce.manual = !0;
|
|
1230
|
-
const r =
|
|
1231
|
-
const p = ve.languages[
|
|
1232
|
-
return [...l,
|
|
1233
|
+
const r = Ft(!1), n = Object.keys(ve.languages).reduce((l, u) => {
|
|
1234
|
+
const p = ve.languages[u].alias || [];
|
|
1235
|
+
return [...l, u, ...Array.isArray(p) ? p : [p]];
|
|
1233
1236
|
}, []).sort();
|
|
1234
1237
|
function o(l) {
|
|
1235
1238
|
r.value = !0, ce.languages[l.language] || console.warn(`Prism: the language “${l.language}” isn’t enabled.`), l.preElement.classList.contains(`language-${l.language}`) || l.preElement.classList.add(`language-${l.language}`), l.codeElement.innerHTML = l.language === "html" ? i(l.code) : l.code, ce.highlightElement(l.codeElement), r.value = !1;
|
|
1236
1239
|
}
|
|
1237
1240
|
const i = (l) => l.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">").replaceAll('"', """).replaceAll("'", "'"), a = Te(() => `document-code-block-${t.codeBlockIndex}`), s = Te(() => {
|
|
1238
|
-
const l = t.lines.flatMap((
|
|
1241
|
+
const l = t.lines.flatMap((u) => u.text).join("");
|
|
1239
1242
|
return l.endsWith(`
|
|
1240
1243
|
`) && !t.isSingleLine ? l.slice(0, -1) : l;
|
|
1241
1244
|
});
|
|
1242
|
-
return
|
|
1245
|
+
return Ot(() => t.lang, async (l) => {
|
|
1243
1246
|
if (n.includes(l))
|
|
1244
1247
|
try {
|
|
1245
|
-
await Jt(/* @__PURE__ */ Object.assign({ "../../../node_modules/prismjs/components/prism-abap.min.js": () => import("./prism-abap.min-5dd8af1f.js"), "../../../node_modules/prismjs/components/prism-abnf.min.js": () => import("./prism-abnf.min-c3c3a9d9.js"), "../../../node_modules/prismjs/components/prism-actionscript.min.js": () => import("./prism-actionscript.min-bd2d6afb.js"), "../../../node_modules/prismjs/components/prism-ada.min.js": () => import("./prism-ada.min-316d6d00.js"), "../../../node_modules/prismjs/components/prism-agda.min.js": () => import("./prism-agda.min-a6b4d217.js"), "../../../node_modules/prismjs/components/prism-al.min.js": () => import("./prism-al.min-f12e9359.js"), "../../../node_modules/prismjs/components/prism-antlr4.min.js": () => import("./prism-antlr4.min-850b07d5.js"), "../../../node_modules/prismjs/components/prism-apacheconf.min.js": () => import("./prism-apacheconf.min-948db440.js"), "../../../node_modules/prismjs/components/prism-apex.min.js": () => import("./prism-apex.min-cb3fec7c.js"), "../../../node_modules/prismjs/components/prism-apl.min.js": () => import("./prism-apl.min-98159dbe.js"), "../../../node_modules/prismjs/components/prism-applescript.min.js": () => import("./prism-applescript.min-feb2957e.js"), "../../../node_modules/prismjs/components/prism-aql.min.js": () => import("./prism-aql.min-d24bd57a.js"), "../../../node_modules/prismjs/components/prism-arduino.min.js": () => import("./prism-arduino.min-497e5615.js"), "../../../node_modules/prismjs/components/prism-arff.min.js": () => import("./prism-arff.min-54f15f52.js"), "../../../node_modules/prismjs/components/prism-armasm.min.js": () => import("./prism-armasm.min-60c6ead7.js"), "../../../node_modules/prismjs/components/prism-arturo.min.js": () => import("./prism-arturo.min-699e210e.js"), "../../../node_modules/prismjs/components/prism-asciidoc.min.js": () => import("./prism-asciidoc.min-f4622897.js"), "../../../node_modules/prismjs/components/prism-asm6502.min.js": () => import("./prism-asm6502.min-d16ec8e7.js"), "../../../node_modules/prismjs/components/prism-asmatmel.min.js": () => import("./prism-asmatmel.min-ebb34761.js"), "../../../node_modules/prismjs/components/prism-aspnet.min.js": () => import("./prism-aspnet.min-02de9064.js"), "../../../node_modules/prismjs/components/prism-autohotkey.min.js": () => import("./prism-autohotkey.min-58278b6c.js"), "../../../node_modules/prismjs/components/prism-autoit.min.js": () => import("./prism-autoit.min-bb495ed7.js"), "../../../node_modules/prismjs/components/prism-avisynth.min.js": () => import("./prism-avisynth.min-21dd4dbf.js"), "../../../node_modules/prismjs/components/prism-avro-idl.min.js": () => import("./prism-avro-idl.min-37aa0190.js"), "../../../node_modules/prismjs/components/prism-awk.min.js": () => import("./prism-awk.min-8362995b.js"), "../../../node_modules/prismjs/components/prism-bash.min.js": () => import("./prism-bash.min-3a888b73.js"), "../../../node_modules/prismjs/components/prism-basic.min.js": () => import("./prism-basic.min-70837013.js"), "../../../node_modules/prismjs/components/prism-batch.min.js": () => import("./prism-batch.min-e22008b6.js"), "../../../node_modules/prismjs/components/prism-bbcode.min.js": () => import("./prism-bbcode.min-1be070b7.js"), "../../../node_modules/prismjs/components/prism-bbj.min.js": () => import("./prism-bbj.min-c8595d55.js"), "../../../node_modules/prismjs/components/prism-bicep.min.js": () => import("./prism-bicep.min-b958c50e.js"), "../../../node_modules/prismjs/components/prism-birb.min.js": () => import("./prism-birb.min-1790d3b7.js"), "../../../node_modules/prismjs/components/prism-bison.min.js": () => import("./prism-bison.min-58efa25c.js"), "../../../node_modules/prismjs/components/prism-bnf.min.js": () => import("./prism-bnf.min-8a47cccc.js"), "../../../node_modules/prismjs/components/prism-bqn.min.js": () => import("./prism-bqn.min-7536e012.js"), "../../../node_modules/prismjs/components/prism-brainfuck.min.js": () => import("./prism-brainfuck.min-c9364b5e.js"), "../../../node_modules/prismjs/components/prism-brightscript.min.js": () => import("./prism-brightscript.min-d8aa03cd.js"), "../../../node_modules/prismjs/components/prism-bro.min.js": () => import("./prism-bro.min-6e2db8a0.js"), "../../../node_modules/prismjs/components/prism-bsl.min.js": () => import("./prism-bsl.min-6da4b323.js"), "../../../node_modules/prismjs/components/prism-c.min.js": () => import("./prism-c.min-b845f634.js"), "../../../node_modules/prismjs/components/prism-cfscript.min.js": () => import("./prism-cfscript.min-e626d6e7.js"), "../../../node_modules/prismjs/components/prism-chaiscript.min.js": () => import("./prism-chaiscript.min-59cf3b38.js"), "../../../node_modules/prismjs/components/prism-cil.min.js": () => import("./prism-cil.min-60db77c1.js"), "../../../node_modules/prismjs/components/prism-cilkc.min.js": () => import("./prism-cilkc.min-4c71300b.js"), "../../../node_modules/prismjs/components/prism-cilkcpp.min.js": () => import("./prism-cilkcpp.min-3963bb02.js"), "../../../node_modules/prismjs/components/prism-clike.min.js": () => import("./prism-clike.min-7115c549.js"), "../../../node_modules/prismjs/components/prism-clojure.min.js": () => import("./prism-clojure.min-8aa86fbd.js"), "../../../node_modules/prismjs/components/prism-cmake.min.js": () => import("./prism-cmake.min-194d339e.js"), "../../../node_modules/prismjs/components/prism-cobol.min.js": () => import("./prism-cobol.min-4f11593e.js"), "../../../node_modules/prismjs/components/prism-coffeescript.min.js": () => import("./prism-coffeescript.min-c3968b8f.js"), "../../../node_modules/prismjs/components/prism-concurnas.min.js": () => import("./prism-concurnas.min-5073257b.js"), "../../../node_modules/prismjs/components/prism-cooklang.min.js": () => import("./prism-cooklang.min-39421cc9.js"), "../../../node_modules/prismjs/components/prism-coq.min.js": () => import("./prism-coq.min-b08d301c.js"), "../../../node_modules/prismjs/components/prism-core.min.js": () => import("./prism-core.min-f027d6d9.js").then((c) => c.p), "../../../node_modules/prismjs/components/prism-cpp.min.js": () => import("./prism-cpp.min-ac230d87.js"), "../../../node_modules/prismjs/components/prism-crystal.min.js": () => import("./prism-crystal.min-13116708.js"), "../../../node_modules/prismjs/components/prism-csharp.min.js": () => import("./prism-csharp.min-2a7aa1d7.js"), "../../../node_modules/prismjs/components/prism-cshtml.min.js": () => import("./prism-cshtml.min-e0dea03d.js"), "../../../node_modules/prismjs/components/prism-csp.min.js": () => import("./prism-csp.min-9632aa13.js"), "../../../node_modules/prismjs/components/prism-css-extras.min.js": () => import("./prism-css-extras.min-b8bed0b9.js"), "../../../node_modules/prismjs/components/prism-css.min.js": () => import("./prism-css.min-e38589a9.js"), "../../../node_modules/prismjs/components/prism-csv.min.js": () => import("./prism-csv.min-59c9f7fe.js"), "../../../node_modules/prismjs/components/prism-cue.min.js": () => import("./prism-cue.min-a0471d75.js"), "../../../node_modules/prismjs/components/prism-cypher.min.js": () => import("./prism-cypher.min-c0e5a4ac.js"), "../../../node_modules/prismjs/components/prism-d.min.js": () => import("./prism-d.min-fe73d282.js"), "../../../node_modules/prismjs/components/prism-dart.min.js": () => import("./prism-dart.min-79822d61.js"), "../../../node_modules/prismjs/components/prism-dataweave.min.js": () => import("./prism-dataweave.min-ac7788bb.js"), "../../../node_modules/prismjs/components/prism-dax.min.js": () => import("./prism-dax.min-10526a78.js"), "../../../node_modules/prismjs/components/prism-dhall.min.js": () => import("./prism-dhall.min-1d8f852b.js"), "../../../node_modules/prismjs/components/prism-diff.min.js": () => import("./prism-diff.min-58a65b3c.js"), "../../../node_modules/prismjs/components/prism-django.min.js": () => import("./prism-django.min-966e5f65.js"), "../../../node_modules/prismjs/components/prism-dns-zone-file.min.js": () => import("./prism-dns-zone-file.min-6884205e.js"), "../../../node_modules/prismjs/components/prism-docker.min.js": () => import("./prism-docker.min-2330af65.js"), "../../../node_modules/prismjs/components/prism-dot.min.js": () => import("./prism-dot.min-b7040a53.js"), "../../../node_modules/prismjs/components/prism-ebnf.min.js": () => import("./prism-ebnf.min-72a1d666.js"), "../../../node_modules/prismjs/components/prism-editorconfig.min.js": () => import("./prism-editorconfig.min-f0a114f7.js"), "../../../node_modules/prismjs/components/prism-eiffel.min.js": () => import("./prism-eiffel.min-49594bdc.js"), "../../../node_modules/prismjs/components/prism-ejs.min.js": () => import("./prism-ejs.min-a2f2c9ea.js"), "../../../node_modules/prismjs/components/prism-elixir.min.js": () => import("./prism-elixir.min-ba69265c.js"), "../../../node_modules/prismjs/components/prism-elm.min.js": () => import("./prism-elm.min-3290c07f.js"), "../../../node_modules/prismjs/components/prism-erb.min.js": () => import("./prism-erb.min-51922f18.js"), "../../../node_modules/prismjs/components/prism-erlang.min.js": () => import("./prism-erlang.min-1847c6a7.js"), "../../../node_modules/prismjs/components/prism-etlua.min.js": () => import("./prism-etlua.min-d9358902.js"), "../../../node_modules/prismjs/components/prism-excel-formula.min.js": () => import("./prism-excel-formula.min-0e717178.js"), "../../../node_modules/prismjs/components/prism-factor.min.js": () => import("./prism-factor.min-0ea41495.js"), "../../../node_modules/prismjs/components/prism-false.min.js": () => import("./prism-false.min-d1e3e399.js"), "../../../node_modules/prismjs/components/prism-firestore-security-rules.min.js": () => import("./prism-firestore-security-rules.min-2230fbf2.js"), "../../../node_modules/prismjs/components/prism-flow.min.js": () => import("./prism-flow.min-4379ef1a.js"), "../../../node_modules/prismjs/components/prism-fortran.min.js": () => import("./prism-fortran.min-32dee11f.js"), "../../../node_modules/prismjs/components/prism-fsharp.min.js": () => import("./prism-fsharp.min-e4eccb74.js"), "../../../node_modules/prismjs/components/prism-ftl.min.js": () => import("./prism-ftl.min-cf603b01.js"), "../../../node_modules/prismjs/components/prism-gap.min.js": () => import("./prism-gap.min-3eca85c2.js"), "../../../node_modules/prismjs/components/prism-gcode.min.js": () => import("./prism-gcode.min-7be81032.js"), "../../../node_modules/prismjs/components/prism-gdscript.min.js": () => import("./prism-gdscript.min-a7d78975.js"), "../../../node_modules/prismjs/components/prism-gedcom.min.js": () => import("./prism-gedcom.min-364aaac3.js"), "../../../node_modules/prismjs/components/prism-gettext.min.js": () => import("./prism-gettext.min-d6e41f3f.js"), "../../../node_modules/prismjs/components/prism-gherkin.min.js": () => import("./prism-gherkin.min-b8bce925.js"), "../../../node_modules/prismjs/components/prism-git.min.js": () => import("./prism-git.min-d984e2ae.js"), "../../../node_modules/prismjs/components/prism-glsl.min.js": () => import("./prism-glsl.min-5a4d82d4.js"), "../../../node_modules/prismjs/components/prism-gml.min.js": () => import("./prism-gml.min-b91c603d.js"), "../../../node_modules/prismjs/components/prism-gn.min.js": () => import("./prism-gn.min-b37dd2cf.js"), "../../../node_modules/prismjs/components/prism-go-module.min.js": () => import("./prism-go-module.min-e9a704bf.js"), "../../../node_modules/prismjs/components/prism-go.min.js": () => import("./prism-go.min-c7322c64.js"), "../../../node_modules/prismjs/components/prism-gradle.min.js": () => import("./prism-gradle.min-1a828d06.js"), "../../../node_modules/prismjs/components/prism-graphql.min.js": () => import("./prism-graphql.min-e5fddf96.js"), "../../../node_modules/prismjs/components/prism-groovy.min.js": () => import("./prism-groovy.min-6999a453.js"), "../../../node_modules/prismjs/components/prism-haml.min.js": () => import("./prism-haml.min-06d636e1.js"), "../../../node_modules/prismjs/components/prism-handlebars.min.js": () => import("./prism-handlebars.min-d59c233b.js"), "../../../node_modules/prismjs/components/prism-haskell.min.js": () => import("./prism-haskell.min-2d474195.js"), "../../../node_modules/prismjs/components/prism-haxe.min.js": () => import("./prism-haxe.min-0b47bda7.js"), "../../../node_modules/prismjs/components/prism-hcl.min.js": () => import("./prism-hcl.min-dd93c4fa.js"), "../../../node_modules/prismjs/components/prism-hlsl.min.js": () => import("./prism-hlsl.min-90bc1513.js"), "../../../node_modules/prismjs/components/prism-hoon.min.js": () => import("./prism-hoon.min-5ac6535d.js"), "../../../node_modules/prismjs/components/prism-hpkp.min.js": () => import("./prism-hpkp.min-ccf08017.js"), "../../../node_modules/prismjs/components/prism-hsts.min.js": () => import("./prism-hsts.min-0dd9146f.js"), "../../../node_modules/prismjs/components/prism-http.min.js": () => import("./prism-http.min-10b32777.js"), "../../../node_modules/prismjs/components/prism-ichigojam.min.js": () => import("./prism-ichigojam.min-144f1b4b.js"), "../../../node_modules/prismjs/components/prism-icon.min.js": () => import("./prism-icon.min-22bb1195.js"), "../../../node_modules/prismjs/components/prism-icu-message-format.min.js": () => import("./prism-icu-message-format.min-b2ecdff3.js"), "../../../node_modules/prismjs/components/prism-idris.min.js": () => import("./prism-idris.min-920ad8df.js"), "../../../node_modules/prismjs/components/prism-iecst.min.js": () => import("./prism-iecst.min-d5ab1f6c.js"), "../../../node_modules/prismjs/components/prism-ignore.min.js": () => import("./prism-ignore.min-272b6ccf.js"), "../../../node_modules/prismjs/components/prism-inform7.min.js": () => import("./prism-inform7.min-22b438d7.js"), "../../../node_modules/prismjs/components/prism-ini.min.js": () => import("./prism-ini.min-b9585cc2.js"), "../../../node_modules/prismjs/components/prism-io.min.js": () => import("./prism-io.min-bc03d63b.js"), "../../../node_modules/prismjs/components/prism-j.min.js": () => import("./prism-j.min-2dc34683.js"), "../../../node_modules/prismjs/components/prism-java.min.js": () => import("./prism-java.min-2cfc90de.js"), "../../../node_modules/prismjs/components/prism-javadoc.min.js": () => import("./prism-javadoc.min-12ef12d8.js"), "../../../node_modules/prismjs/components/prism-javadoclike.min.js": () => import("./prism-javadoclike.min-e07933fc.js"), "../../../node_modules/prismjs/components/prism-javascript.min.js": () => import("./prism-javascript.min-03c8bcee.js"), "../../../node_modules/prismjs/components/prism-javastacktrace.min.js": () => import("./prism-javastacktrace.min-d3186b3e.js"), "../../../node_modules/prismjs/components/prism-jexl.min.js": () => import("./prism-jexl.min-084d69d8.js"), "../../../node_modules/prismjs/components/prism-jolie.min.js": () => import("./prism-jolie.min-466d4cf7.js"), "../../../node_modules/prismjs/components/prism-jq.min.js": () => import("./prism-jq.min-3daf478a.js"), "../../../node_modules/prismjs/components/prism-js-extras.min.js": () => import("./prism-js-extras.min-a225cee9.js"), "../../../node_modules/prismjs/components/prism-js-templates.min.js": () => import("./prism-js-templates.min-c950373d.js"), "../../../node_modules/prismjs/components/prism-jsdoc.min.js": () => import("./prism-jsdoc.min-02975619.js"), "../../../node_modules/prismjs/components/prism-json.min.js": () => import("./prism-json.min-fa2dced5.js"), "../../../node_modules/prismjs/components/prism-json5.min.js": () => import("./prism-json5.min-3917dd44.js"), "../../../node_modules/prismjs/components/prism-jsonp.min.js": () => import("./prism-jsonp.min-a0f4106e.js"), "../../../node_modules/prismjs/components/prism-jsstacktrace.min.js": () => import("./prism-jsstacktrace.min-bc3f3759.js"), "../../../node_modules/prismjs/components/prism-jsx.min.js": () => import("./prism-jsx.min-8af1efbf.js"), "../../../node_modules/prismjs/components/prism-julia.min.js": () => import("./prism-julia.min-cc71d15e.js"), "../../../node_modules/prismjs/components/prism-keepalived.min.js": () => import("./prism-keepalived.min-1428eb2f.js"), "../../../node_modules/prismjs/components/prism-keyman.min.js": () => import("./prism-keyman.min-3b419e70.js"), "../../../node_modules/prismjs/components/prism-kotlin.min.js": () => import("./prism-kotlin.min-ecbf8553.js"), "../../../node_modules/prismjs/components/prism-kumir.min.js": () => import("./prism-kumir.min-624860b6.js"), "../../../node_modules/prismjs/components/prism-kusto.min.js": () => import("./prism-kusto.min-67b0f58b.js"), "../../../node_modules/prismjs/components/prism-latex.min.js": () => import("./prism-latex.min-af145af5.js"), "../../../node_modules/prismjs/components/prism-latte.min.js": () => import("./prism-latte.min-b9a60122.js"), "../../../node_modules/prismjs/components/prism-less.min.js": () => import("./prism-less.min-3a3313ed.js"), "../../../node_modules/prismjs/components/prism-lilypond.min.js": () => import("./prism-lilypond.min-b0ed8db8.js"), "../../../node_modules/prismjs/components/prism-linker-script.min.js": () => import("./prism-linker-script.min-dc3fc5ad.js"), "../../../node_modules/prismjs/components/prism-liquid.min.js": () => import("./prism-liquid.min-86fa81e6.js"), "../../../node_modules/prismjs/components/prism-lisp.min.js": () => import("./prism-lisp.min-cae2f73f.js"), "../../../node_modules/prismjs/components/prism-livescript.min.js": () => import("./prism-livescript.min-b5d9d700.js"), "../../../node_modules/prismjs/components/prism-llvm.min.js": () => import("./prism-llvm.min-2b4a3e33.js"), "../../../node_modules/prismjs/components/prism-log.min.js": () => import("./prism-log.min-e9ba9fa2.js"), "../../../node_modules/prismjs/components/prism-lolcode.min.js": () => import("./prism-lolcode.min-1d0782a6.js"), "../../../node_modules/prismjs/components/prism-lua.min.js": () => import("./prism-lua.min-9c7e1242.js"), "../../../node_modules/prismjs/components/prism-magma.min.js": () => import("./prism-magma.min-6b08ba18.js"), "../../../node_modules/prismjs/components/prism-makefile.min.js": () => import("./prism-makefile.min-10c204c7.js"), "../../../node_modules/prismjs/components/prism-markdown.min.js": () => import("./prism-markdown.min-97e74eb9.js"), "../../../node_modules/prismjs/components/prism-markup-templating.min.js": () => import("./prism-markup-templating.min-c55d1b76.js"), "../../../node_modules/prismjs/components/prism-markup.min.js": () => import("./prism-markup.min-849389d5.js"), "../../../node_modules/prismjs/components/prism-mata.min.js": () => import("./prism-mata.min-1bbaed90.js"), "../../../node_modules/prismjs/components/prism-matlab.min.js": () => import("./prism-matlab.min-c787c897.js"), "../../../node_modules/prismjs/components/prism-maxscript.min.js": () => import("./prism-maxscript.min-8ff24836.js"), "../../../node_modules/prismjs/components/prism-mel.min.js": () => import("./prism-mel.min-e8ff632f.js"), "../../../node_modules/prismjs/components/prism-mermaid.min.js": () => import("./prism-mermaid.min-77fee473.js"), "../../../node_modules/prismjs/components/prism-metafont.min.js": () => import("./prism-metafont.min-94223e4b.js"), "../../../node_modules/prismjs/components/prism-mizar.min.js": () => import("./prism-mizar.min-50230be0.js"), "../../../node_modules/prismjs/components/prism-mongodb.min.js": () => import("./prism-mongodb.min-9790bcfd.js"), "../../../node_modules/prismjs/components/prism-monkey.min.js": () => import("./prism-monkey.min-5a1eb1ff.js"), "../../../node_modules/prismjs/components/prism-moonscript.min.js": () => import("./prism-moonscript.min-ed957c18.js"), "../../../node_modules/prismjs/components/prism-n1ql.min.js": () => import("./prism-n1ql.min-f3780067.js"), "../../../node_modules/prismjs/components/prism-n4js.min.js": () => import("./prism-n4js.min-d57fb90f.js"), "../../../node_modules/prismjs/components/prism-nand2tetris-hdl.min.js": () => import("./prism-nand2tetris-hdl.min-8228b246.js"), "../../../node_modules/prismjs/components/prism-naniscript.min.js": () => import("./prism-naniscript.min-a2fa6109.js"), "../../../node_modules/prismjs/components/prism-nasm.min.js": () => import("./prism-nasm.min-09906ffc.js"), "../../../node_modules/prismjs/components/prism-neon.min.js": () => import("./prism-neon.min-83c9b2c5.js"), "../../../node_modules/prismjs/components/prism-nevod.min.js": () => import("./prism-nevod.min-c2d107f2.js"), "../../../node_modules/prismjs/components/prism-nginx.min.js": () => import("./prism-nginx.min-01df8a32.js"), "../../../node_modules/prismjs/components/prism-nim.min.js": () => import("./prism-nim.min-dd447d6c.js"), "../../../node_modules/prismjs/components/prism-nix.min.js": () => import("./prism-nix.min-6430b249.js"), "../../../node_modules/prismjs/components/prism-nsis.min.js": () => import("./prism-nsis.min-dff25bf5.js"), "../../../node_modules/prismjs/components/prism-objectivec.min.js": () => import("./prism-objectivec.min-01ae0d96.js"), "../../../node_modules/prismjs/components/prism-ocaml.min.js": () => import("./prism-ocaml.min-20e838d9.js"), "../../../node_modules/prismjs/components/prism-odin.min.js": () => import("./prism-odin.min-b5d9183b.js"), "../../../node_modules/prismjs/components/prism-opencl.min.js": () => import("./prism-opencl.min-1d85e7cf.js"), "../../../node_modules/prismjs/components/prism-openqasm.min.js": () => import("./prism-openqasm.min-29eb40fe.js"), "../../../node_modules/prismjs/components/prism-oz.min.js": () => import("./prism-oz.min-c1f4ebd4.js"), "../../../node_modules/prismjs/components/prism-parigp.min.js": () => import("./prism-parigp.min-8bff0612.js"), "../../../node_modules/prismjs/components/prism-parser.min.js": () => import("./prism-parser.min-7722395f.js"), "../../../node_modules/prismjs/components/prism-pascal.min.js": () => import("./prism-pascal.min-ccf26fed.js"), "../../../node_modules/prismjs/components/prism-pascaligo.min.js": () => import("./prism-pascaligo.min-3aecb02c.js"), "../../../node_modules/prismjs/components/prism-pcaxis.min.js": () => import("./prism-pcaxis.min-c5e7a871.js"), "../../../node_modules/prismjs/components/prism-peoplecode.min.js": () => import("./prism-peoplecode.min-7c8ed2ef.js"), "../../../node_modules/prismjs/components/prism-perl.min.js": () => import("./prism-perl.min-108f825c.js"), "../../../node_modules/prismjs/components/prism-php-extras.min.js": () => import("./prism-php-extras.min-4b649f6b.js"), "../../../node_modules/prismjs/components/prism-php.min.js": () => import("./prism-php.min-b4bebbdb.js"), "../../../node_modules/prismjs/components/prism-phpdoc.min.js": () => import("./prism-phpdoc.min-71857b79.js"), "../../../node_modules/prismjs/components/prism-plant-uml.min.js": () => import("./prism-plant-uml.min-91d8fdec.js"), "../../../node_modules/prismjs/components/prism-plsql.min.js": () => import("./prism-plsql.min-8b0dd1ce.js"), "../../../node_modules/prismjs/components/prism-powerquery.min.js": () => import("./prism-powerquery.min-de7eda80.js"), "../../../node_modules/prismjs/components/prism-powershell.min.js": () => import("./prism-powershell.min-13582006.js"), "../../../node_modules/prismjs/components/prism-processing.min.js": () => import("./prism-processing.min-ddf61715.js"), "../../../node_modules/prismjs/components/prism-prolog.min.js": () => import("./prism-prolog.min-be61447f.js"), "../../../node_modules/prismjs/components/prism-promql.min.js": () => import("./prism-promql.min-b94dbbcb.js"), "../../../node_modules/prismjs/components/prism-properties.min.js": () => import("./prism-properties.min-4b65aff4.js"), "../../../node_modules/prismjs/components/prism-protobuf.min.js": () => import("./prism-protobuf.min-c7dd99a8.js"), "../../../node_modules/prismjs/components/prism-psl.min.js": () => import("./prism-psl.min-3cb6ca77.js"), "../../../node_modules/prismjs/components/prism-pug.min.js": () => import("./prism-pug.min-84ed48ec.js"), "../../../node_modules/prismjs/components/prism-puppet.min.js": () => import("./prism-puppet.min-c02bdf50.js"), "../../../node_modules/prismjs/components/prism-pure.min.js": () => import("./prism-pure.min-7b5eae7a.js"), "../../../node_modules/prismjs/components/prism-purebasic.min.js": () => import("./prism-purebasic.min-a62b63be.js"), "../../../node_modules/prismjs/components/prism-purescript.min.js": () => import("./prism-purescript.min-d7c49bf2.js"), "../../../node_modules/prismjs/components/prism-python.min.js": () => import("./prism-python.min-89935d5e.js"), "../../../node_modules/prismjs/components/prism-q.min.js": () => import("./prism-q.min-96d8fb1b.js"), "../../../node_modules/prismjs/components/prism-qml.min.js": () => import("./prism-qml.min-eb7c0dfc.js"), "../../../node_modules/prismjs/components/prism-qore.min.js": () => import("./prism-qore.min-ed8ddb5e.js"), "../../../node_modules/prismjs/components/prism-qsharp.min.js": () => import("./prism-qsharp.min-fb960bab.js"), "../../../node_modules/prismjs/components/prism-r.min.js": () => import("./prism-r.min-9fe1f3ed.js"), "../../../node_modules/prismjs/components/prism-racket.min.js": () => import("./prism-racket.min-e90ec309.js"), "../../../node_modules/prismjs/components/prism-reason.min.js": () => import("./prism-reason.min-63d1fa8a.js"), "../../../node_modules/prismjs/components/prism-regex.min.js": () => import("./prism-regex.min-96d0bc4f.js"), "../../../node_modules/prismjs/components/prism-rego.min.js": () => import("./prism-rego.min-281a02c1.js"), "../../../node_modules/prismjs/components/prism-renpy.min.js": () => import("./prism-renpy.min-2bef2655.js"), "../../../node_modules/prismjs/components/prism-rescript.min.js": () => import("./prism-rescript.min-2a3bda12.js"), "../../../node_modules/prismjs/components/prism-rest.min.js": () => import("./prism-rest.min-09260b93.js"), "../../../node_modules/prismjs/components/prism-rip.min.js": () => import("./prism-rip.min-c89fc679.js"), "../../../node_modules/prismjs/components/prism-roboconf.min.js": () => import("./prism-roboconf.min-362299cf.js"), "../../../node_modules/prismjs/components/prism-robotframework.min.js": () => import("./prism-robotframework.min-901bf739.js"), "../../../node_modules/prismjs/components/prism-ruby.min.js": () => import("./prism-ruby.min-6e459016.js"), "../../../node_modules/prismjs/components/prism-rust.min.js": () => import("./prism-rust.min-820420d0.js"), "../../../node_modules/prismjs/components/prism-sas.min.js": () => import("./prism-sas.min-920eaa09.js"), "../../../node_modules/prismjs/components/prism-sass.min.js": () => import("./prism-sass.min-4dc53bc5.js"), "../../../node_modules/prismjs/components/prism-scala.min.js": () => import("./prism-scala.min-83738843.js"), "../../../node_modules/prismjs/components/prism-scheme.min.js": () => import("./prism-scheme.min-1358e051.js"), "../../../node_modules/prismjs/components/prism-scss.min.js": () => import("./prism-scss.min-92aea743.js"), "../../../node_modules/prismjs/components/prism-shell-session.min.js": () => import("./prism-shell-session.min-2977ab53.js"), "../../../node_modules/prismjs/components/prism-smali.min.js": () => import("./prism-smali.min-e768ca38.js"), "../../../node_modules/prismjs/components/prism-smalltalk.min.js": () => import("./prism-smalltalk.min-139c1ee1.js"), "../../../node_modules/prismjs/components/prism-smarty.min.js": () => import("./prism-smarty.min-f8debf97.js"), "../../../node_modules/prismjs/components/prism-sml.min.js": () => import("./prism-sml.min-0c679316.js"), "../../../node_modules/prismjs/components/prism-solidity.min.js": () => import("./prism-solidity.min-83eb4a29.js"), "../../../node_modules/prismjs/components/prism-solution-file.min.js": () => import("./prism-solution-file.min-52546f1c.js"), "../../../node_modules/prismjs/components/prism-soy.min.js": () => import("./prism-soy.min-d2b3294e.js"), "../../../node_modules/prismjs/components/prism-sparql.min.js": () => import("./prism-sparql.min-b55f57a3.js"), "../../../node_modules/prismjs/components/prism-splunk-spl.min.js": () => import("./prism-splunk-spl.min-bd51901e.js"), "../../../node_modules/prismjs/components/prism-sqf.min.js": () => import("./prism-sqf.min-7796abe2.js"), "../../../node_modules/prismjs/components/prism-sql.min.js": () => import("./prism-sql.min-583eab97.js"), "../../../node_modules/prismjs/components/prism-squirrel.min.js": () => import("./prism-squirrel.min-6210cc27.js"), "../../../node_modules/prismjs/components/prism-stan.min.js": () => import("./prism-stan.min-0219161d.js"), "../../../node_modules/prismjs/components/prism-stata.min.js": () => import("./prism-stata.min-e8468e92.js"), "../../../node_modules/prismjs/components/prism-stylus.min.js": () => import("./prism-stylus.min-b4211725.js"), "../../../node_modules/prismjs/components/prism-supercollider.min.js": () => import("./prism-supercollider.min-a1e102ff.js"), "../../../node_modules/prismjs/components/prism-swift.min.js": () => import("./prism-swift.min-962aa7ba.js"), "../../../node_modules/prismjs/components/prism-systemd.min.js": () => import("./prism-systemd.min-6d49f69b.js"), "../../../node_modules/prismjs/components/prism-t4-cs.min.js": () => import("./prism-t4-cs.min-258a46d3.js"), "../../../node_modules/prismjs/components/prism-t4-templating.min.js": () => import("./prism-t4-templating.min-740d429f.js"), "../../../node_modules/prismjs/components/prism-t4-vb.min.js": () => import("./prism-t4-vb.min-c3ca6021.js"), "../../../node_modules/prismjs/components/prism-tap.min.js": () => import("./prism-tap.min-2d582f1c.js"), "../../../node_modules/prismjs/components/prism-tcl.min.js": () => import("./prism-tcl.min-3d421e58.js"), "../../../node_modules/prismjs/components/prism-textile.min.js": () => import("./prism-textile.min-bea9a185.js"), "../../../node_modules/prismjs/components/prism-toml.min.js": () => import("./prism-toml.min-ba409a46.js"), "../../../node_modules/prismjs/components/prism-tremor.min.js": () => import("./prism-tremor.min-cf11bafd.js"), "../../../node_modules/prismjs/components/prism-tsx.min.js": () => import("./prism-tsx.min-90ee8eaa.js"), "../../../node_modules/prismjs/components/prism-tt2.min.js": () => import("./prism-tt2.min-c7317371.js"), "../../../node_modules/prismjs/components/prism-turtle.min.js": () => import("./prism-turtle.min-d3f6c908.js"), "../../../node_modules/prismjs/components/prism-twig.min.js": () => import("./prism-twig.min-06667cf3.js"), "../../../node_modules/prismjs/components/prism-typescript.min.js": () => import("./prism-typescript.min-da950f4e.js"), "../../../node_modules/prismjs/components/prism-typoscript.min.js": () => import("./prism-typoscript.min-92ab2527.js"), "../../../node_modules/prismjs/components/prism-unrealscript.min.js": () => import("./prism-unrealscript.min-524c9821.js"), "../../../node_modules/prismjs/components/prism-uorazor.min.js": () => import("./prism-uorazor.min-8445afde.js"), "../../../node_modules/prismjs/components/prism-uri.min.js": () => import("./prism-uri.min-8d153620.js"), "../../../node_modules/prismjs/components/prism-v.min.js": () => import("./prism-v.min-f5dfa62f.js"), "../../../node_modules/prismjs/components/prism-vala.min.js": () => import("./prism-vala.min-8099e50d.js"), "../../../node_modules/prismjs/components/prism-vbnet.min.js": () => import("./prism-vbnet.min-c684e95c.js"), "../../../node_modules/prismjs/components/prism-velocity.min.js": () => import("./prism-velocity.min-ce8230ae.js"), "../../../node_modules/prismjs/components/prism-verilog.min.js": () => import("./prism-verilog.min-49879cf6.js"), "../../../node_modules/prismjs/components/prism-vhdl.min.js": () => import("./prism-vhdl.min-9c469192.js"), "../../../node_modules/prismjs/components/prism-vim.min.js": () => import("./prism-vim.min-753cf120.js"), "../../../node_modules/prismjs/components/prism-visual-basic.min.js": () => import("./prism-visual-basic.min-03026ad9.js"), "../../../node_modules/prismjs/components/prism-warpscript.min.js": () => import("./prism-warpscript.min-69ba95e0.js"), "../../../node_modules/prismjs/components/prism-wasm.min.js": () => import("./prism-wasm.min-a8aa80a7.js"), "../../../node_modules/prismjs/components/prism-web-idl.min.js": () => import("./prism-web-idl.min-502d10ad.js"), "../../../node_modules/prismjs/components/prism-wgsl.min.js": () => import("./prism-wgsl.min-674a5833.js"), "../../../node_modules/prismjs/components/prism-wiki.min.js": () => import("./prism-wiki.min-6aa23d83.js"), "../../../node_modules/prismjs/components/prism-wolfram.min.js": () => import("./prism-wolfram.min-5edca627.js"), "../../../node_modules/prismjs/components/prism-wren.min.js": () => import("./prism-wren.min-87e34869.js"), "../../../node_modules/prismjs/components/prism-xeora.min.js": () => import("./prism-xeora.min-39184a91.js"), "../../../node_modules/prismjs/components/prism-xml-doc.min.js": () => import("./prism-xml-doc.min-cd59a0d2.js"), "../../../node_modules/prismjs/components/prism-xojo.min.js": () => import("./prism-xojo.min-7d27c927.js"), "../../../node_modules/prismjs/components/prism-xquery.min.js": () => import("./prism-xquery.min-aebd2f79.js"), "../../../node_modules/prismjs/components/prism-yaml.min.js": () => import("./prism-yaml.min-971ccff8.js"), "../../../node_modules/prismjs/components/prism-yang.min.js": () => import("./prism-yang.min-39f14179.js"), "../../../node_modules/prismjs/components/prism-zig.min.js": () => import("./prism-zig.min-e777c275.js") }), `../../../node_modules/prismjs/components/prism-${l}.min.js`);
|
|
1248
|
+
await Yt(/* @__PURE__ */ Object.assign({ "../../../node_modules/prismjs/components/prism-abap.min.js": () => import("./prism-abap.min-5dd8af1f.js"), "../../../node_modules/prismjs/components/prism-abnf.min.js": () => import("./prism-abnf.min-c3c3a9d9.js"), "../../../node_modules/prismjs/components/prism-actionscript.min.js": () => import("./prism-actionscript.min-bd2d6afb.js"), "../../../node_modules/prismjs/components/prism-ada.min.js": () => import("./prism-ada.min-316d6d00.js"), "../../../node_modules/prismjs/components/prism-agda.min.js": () => import("./prism-agda.min-a6b4d217.js"), "../../../node_modules/prismjs/components/prism-al.min.js": () => import("./prism-al.min-f12e9359.js"), "../../../node_modules/prismjs/components/prism-antlr4.min.js": () => import("./prism-antlr4.min-850b07d5.js"), "../../../node_modules/prismjs/components/prism-apacheconf.min.js": () => import("./prism-apacheconf.min-948db440.js"), "../../../node_modules/prismjs/components/prism-apex.min.js": () => import("./prism-apex.min-cb3fec7c.js"), "../../../node_modules/prismjs/components/prism-apl.min.js": () => import("./prism-apl.min-98159dbe.js"), "../../../node_modules/prismjs/components/prism-applescript.min.js": () => import("./prism-applescript.min-feb2957e.js"), "../../../node_modules/prismjs/components/prism-aql.min.js": () => import("./prism-aql.min-d24bd57a.js"), "../../../node_modules/prismjs/components/prism-arduino.min.js": () => import("./prism-arduino.min-497e5615.js"), "../../../node_modules/prismjs/components/prism-arff.min.js": () => import("./prism-arff.min-54f15f52.js"), "../../../node_modules/prismjs/components/prism-armasm.min.js": () => import("./prism-armasm.min-60c6ead7.js"), "../../../node_modules/prismjs/components/prism-arturo.min.js": () => import("./prism-arturo.min-699e210e.js"), "../../../node_modules/prismjs/components/prism-asciidoc.min.js": () => import("./prism-asciidoc.min-f4622897.js"), "../../../node_modules/prismjs/components/prism-asm6502.min.js": () => import("./prism-asm6502.min-d16ec8e7.js"), "../../../node_modules/prismjs/components/prism-asmatmel.min.js": () => import("./prism-asmatmel.min-ebb34761.js"), "../../../node_modules/prismjs/components/prism-aspnet.min.js": () => import("./prism-aspnet.min-02de9064.js"), "../../../node_modules/prismjs/components/prism-autohotkey.min.js": () => import("./prism-autohotkey.min-58278b6c.js"), "../../../node_modules/prismjs/components/prism-autoit.min.js": () => import("./prism-autoit.min-bb495ed7.js"), "../../../node_modules/prismjs/components/prism-avisynth.min.js": () => import("./prism-avisynth.min-21dd4dbf.js"), "../../../node_modules/prismjs/components/prism-avro-idl.min.js": () => import("./prism-avro-idl.min-37aa0190.js"), "../../../node_modules/prismjs/components/prism-awk.min.js": () => import("./prism-awk.min-8362995b.js"), "../../../node_modules/prismjs/components/prism-bash.min.js": () => import("./prism-bash.min-3a888b73.js"), "../../../node_modules/prismjs/components/prism-basic.min.js": () => import("./prism-basic.min-70837013.js"), "../../../node_modules/prismjs/components/prism-batch.min.js": () => import("./prism-batch.min-e22008b6.js"), "../../../node_modules/prismjs/components/prism-bbcode.min.js": () => import("./prism-bbcode.min-1be070b7.js"), "../../../node_modules/prismjs/components/prism-bbj.min.js": () => import("./prism-bbj.min-c8595d55.js"), "../../../node_modules/prismjs/components/prism-bicep.min.js": () => import("./prism-bicep.min-b958c50e.js"), "../../../node_modules/prismjs/components/prism-birb.min.js": () => import("./prism-birb.min-1790d3b7.js"), "../../../node_modules/prismjs/components/prism-bison.min.js": () => import("./prism-bison.min-58efa25c.js"), "../../../node_modules/prismjs/components/prism-bnf.min.js": () => import("./prism-bnf.min-8a47cccc.js"), "../../../node_modules/prismjs/components/prism-bqn.min.js": () => import("./prism-bqn.min-7536e012.js"), "../../../node_modules/prismjs/components/prism-brainfuck.min.js": () => import("./prism-brainfuck.min-c9364b5e.js"), "../../../node_modules/prismjs/components/prism-brightscript.min.js": () => import("./prism-brightscript.min-d8aa03cd.js"), "../../../node_modules/prismjs/components/prism-bro.min.js": () => import("./prism-bro.min-6e2db8a0.js"), "../../../node_modules/prismjs/components/prism-bsl.min.js": () => import("./prism-bsl.min-6da4b323.js"), "../../../node_modules/prismjs/components/prism-c.min.js": () => import("./prism-c.min-b845f634.js"), "../../../node_modules/prismjs/components/prism-cfscript.min.js": () => import("./prism-cfscript.min-e626d6e7.js"), "../../../node_modules/prismjs/components/prism-chaiscript.min.js": () => import("./prism-chaiscript.min-59cf3b38.js"), "../../../node_modules/prismjs/components/prism-cil.min.js": () => import("./prism-cil.min-60db77c1.js"), "../../../node_modules/prismjs/components/prism-cilkc.min.js": () => import("./prism-cilkc.min-4c71300b.js"), "../../../node_modules/prismjs/components/prism-cilkcpp.min.js": () => import("./prism-cilkcpp.min-3963bb02.js"), "../../../node_modules/prismjs/components/prism-clike.min.js": () => import("./prism-clike.min-7115c549.js"), "../../../node_modules/prismjs/components/prism-clojure.min.js": () => import("./prism-clojure.min-8aa86fbd.js"), "../../../node_modules/prismjs/components/prism-cmake.min.js": () => import("./prism-cmake.min-194d339e.js"), "../../../node_modules/prismjs/components/prism-cobol.min.js": () => import("./prism-cobol.min-4f11593e.js"), "../../../node_modules/prismjs/components/prism-coffeescript.min.js": () => import("./prism-coffeescript.min-c3968b8f.js"), "../../../node_modules/prismjs/components/prism-concurnas.min.js": () => import("./prism-concurnas.min-5073257b.js"), "../../../node_modules/prismjs/components/prism-cooklang.min.js": () => import("./prism-cooklang.min-39421cc9.js"), "../../../node_modules/prismjs/components/prism-coq.min.js": () => import("./prism-coq.min-b08d301c.js"), "../../../node_modules/prismjs/components/prism-core.min.js": () => import("./prism-core.min-1e54e486.js").then((u) => u.p), "../../../node_modules/prismjs/components/prism-cpp.min.js": () => import("./prism-cpp.min-ac230d87.js"), "../../../node_modules/prismjs/components/prism-crystal.min.js": () => import("./prism-crystal.min-13116708.js"), "../../../node_modules/prismjs/components/prism-csharp.min.js": () => import("./prism-csharp.min-2a7aa1d7.js"), "../../../node_modules/prismjs/components/prism-cshtml.min.js": () => import("./prism-cshtml.min-e0dea03d.js"), "../../../node_modules/prismjs/components/prism-csp.min.js": () => import("./prism-csp.min-9632aa13.js"), "../../../node_modules/prismjs/components/prism-css-extras.min.js": () => import("./prism-css-extras.min-b8bed0b9.js"), "../../../node_modules/prismjs/components/prism-css.min.js": () => import("./prism-css.min-e38589a9.js"), "../../../node_modules/prismjs/components/prism-csv.min.js": () => import("./prism-csv.min-59c9f7fe.js"), "../../../node_modules/prismjs/components/prism-cue.min.js": () => import("./prism-cue.min-a0471d75.js"), "../../../node_modules/prismjs/components/prism-cypher.min.js": () => import("./prism-cypher.min-c0e5a4ac.js"), "../../../node_modules/prismjs/components/prism-d.min.js": () => import("./prism-d.min-fe73d282.js"), "../../../node_modules/prismjs/components/prism-dart.min.js": () => import("./prism-dart.min-79822d61.js"), "../../../node_modules/prismjs/components/prism-dataweave.min.js": () => import("./prism-dataweave.min-ac7788bb.js"), "../../../node_modules/prismjs/components/prism-dax.min.js": () => import("./prism-dax.min-10526a78.js"), "../../../node_modules/prismjs/components/prism-dhall.min.js": () => import("./prism-dhall.min-1d8f852b.js"), "../../../node_modules/prismjs/components/prism-diff.min.js": () => import("./prism-diff.min-58a65b3c.js"), "../../../node_modules/prismjs/components/prism-django.min.js": () => import("./prism-django.min-966e5f65.js"), "../../../node_modules/prismjs/components/prism-dns-zone-file.min.js": () => import("./prism-dns-zone-file.min-6884205e.js"), "../../../node_modules/prismjs/components/prism-docker.min.js": () => import("./prism-docker.min-2330af65.js"), "../../../node_modules/prismjs/components/prism-dot.min.js": () => import("./prism-dot.min-b7040a53.js"), "../../../node_modules/prismjs/components/prism-ebnf.min.js": () => import("./prism-ebnf.min-72a1d666.js"), "../../../node_modules/prismjs/components/prism-editorconfig.min.js": () => import("./prism-editorconfig.min-f0a114f7.js"), "../../../node_modules/prismjs/components/prism-eiffel.min.js": () => import("./prism-eiffel.min-49594bdc.js"), "../../../node_modules/prismjs/components/prism-ejs.min.js": () => import("./prism-ejs.min-a2f2c9ea.js"), "../../../node_modules/prismjs/components/prism-elixir.min.js": () => import("./prism-elixir.min-ba69265c.js"), "../../../node_modules/prismjs/components/prism-elm.min.js": () => import("./prism-elm.min-3290c07f.js"), "../../../node_modules/prismjs/components/prism-erb.min.js": () => import("./prism-erb.min-51922f18.js"), "../../../node_modules/prismjs/components/prism-erlang.min.js": () => import("./prism-erlang.min-1847c6a7.js"), "../../../node_modules/prismjs/components/prism-etlua.min.js": () => import("./prism-etlua.min-d9358902.js"), "../../../node_modules/prismjs/components/prism-excel-formula.min.js": () => import("./prism-excel-formula.min-0e717178.js"), "../../../node_modules/prismjs/components/prism-factor.min.js": () => import("./prism-factor.min-0ea41495.js"), "../../../node_modules/prismjs/components/prism-false.min.js": () => import("./prism-false.min-d1e3e399.js"), "../../../node_modules/prismjs/components/prism-firestore-security-rules.min.js": () => import("./prism-firestore-security-rules.min-2230fbf2.js"), "../../../node_modules/prismjs/components/prism-flow.min.js": () => import("./prism-flow.min-4379ef1a.js"), "../../../node_modules/prismjs/components/prism-fortran.min.js": () => import("./prism-fortran.min-32dee11f.js"), "../../../node_modules/prismjs/components/prism-fsharp.min.js": () => import("./prism-fsharp.min-e4eccb74.js"), "../../../node_modules/prismjs/components/prism-ftl.min.js": () => import("./prism-ftl.min-cf603b01.js"), "../../../node_modules/prismjs/components/prism-gap.min.js": () => import("./prism-gap.min-3eca85c2.js"), "../../../node_modules/prismjs/components/prism-gcode.min.js": () => import("./prism-gcode.min-7be81032.js"), "../../../node_modules/prismjs/components/prism-gdscript.min.js": () => import("./prism-gdscript.min-a7d78975.js"), "../../../node_modules/prismjs/components/prism-gedcom.min.js": () => import("./prism-gedcom.min-364aaac3.js"), "../../../node_modules/prismjs/components/prism-gettext.min.js": () => import("./prism-gettext.min-d6e41f3f.js"), "../../../node_modules/prismjs/components/prism-gherkin.min.js": () => import("./prism-gherkin.min-b8bce925.js"), "../../../node_modules/prismjs/components/prism-git.min.js": () => import("./prism-git.min-d984e2ae.js"), "../../../node_modules/prismjs/components/prism-glsl.min.js": () => import("./prism-glsl.min-5a4d82d4.js"), "../../../node_modules/prismjs/components/prism-gml.min.js": () => import("./prism-gml.min-b91c603d.js"), "../../../node_modules/prismjs/components/prism-gn.min.js": () => import("./prism-gn.min-b37dd2cf.js"), "../../../node_modules/prismjs/components/prism-go-module.min.js": () => import("./prism-go-module.min-e9a704bf.js"), "../../../node_modules/prismjs/components/prism-go.min.js": () => import("./prism-go.min-c7322c64.js"), "../../../node_modules/prismjs/components/prism-gradle.min.js": () => import("./prism-gradle.min-1a828d06.js"), "../../../node_modules/prismjs/components/prism-graphql.min.js": () => import("./prism-graphql.min-e5fddf96.js"), "../../../node_modules/prismjs/components/prism-groovy.min.js": () => import("./prism-groovy.min-6999a453.js"), "../../../node_modules/prismjs/components/prism-haml.min.js": () => import("./prism-haml.min-06d636e1.js"), "../../../node_modules/prismjs/components/prism-handlebars.min.js": () => import("./prism-handlebars.min-d59c233b.js"), "../../../node_modules/prismjs/components/prism-haskell.min.js": () => import("./prism-haskell.min-2d474195.js"), "../../../node_modules/prismjs/components/prism-haxe.min.js": () => import("./prism-haxe.min-0b47bda7.js"), "../../../node_modules/prismjs/components/prism-hcl.min.js": () => import("./prism-hcl.min-dd93c4fa.js"), "../../../node_modules/prismjs/components/prism-hlsl.min.js": () => import("./prism-hlsl.min-90bc1513.js"), "../../../node_modules/prismjs/components/prism-hoon.min.js": () => import("./prism-hoon.min-5ac6535d.js"), "../../../node_modules/prismjs/components/prism-hpkp.min.js": () => import("./prism-hpkp.min-ccf08017.js"), "../../../node_modules/prismjs/components/prism-hsts.min.js": () => import("./prism-hsts.min-0dd9146f.js"), "../../../node_modules/prismjs/components/prism-http.min.js": () => import("./prism-http.min-10b32777.js"), "../../../node_modules/prismjs/components/prism-ichigojam.min.js": () => import("./prism-ichigojam.min-144f1b4b.js"), "../../../node_modules/prismjs/components/prism-icon.min.js": () => import("./prism-icon.min-22bb1195.js"), "../../../node_modules/prismjs/components/prism-icu-message-format.min.js": () => import("./prism-icu-message-format.min-b2ecdff3.js"), "../../../node_modules/prismjs/components/prism-idris.min.js": () => import("./prism-idris.min-920ad8df.js"), "../../../node_modules/prismjs/components/prism-iecst.min.js": () => import("./prism-iecst.min-d5ab1f6c.js"), "../../../node_modules/prismjs/components/prism-ignore.min.js": () => import("./prism-ignore.min-272b6ccf.js"), "../../../node_modules/prismjs/components/prism-inform7.min.js": () => import("./prism-inform7.min-22b438d7.js"), "../../../node_modules/prismjs/components/prism-ini.min.js": () => import("./prism-ini.min-b9585cc2.js"), "../../../node_modules/prismjs/components/prism-io.min.js": () => import("./prism-io.min-bc03d63b.js"), "../../../node_modules/prismjs/components/prism-j.min.js": () => import("./prism-j.min-2dc34683.js"), "../../../node_modules/prismjs/components/prism-java.min.js": () => import("./prism-java.min-2cfc90de.js"), "../../../node_modules/prismjs/components/prism-javadoc.min.js": () => import("./prism-javadoc.min-12ef12d8.js"), "../../../node_modules/prismjs/components/prism-javadoclike.min.js": () => import("./prism-javadoclike.min-e07933fc.js"), "../../../node_modules/prismjs/components/prism-javascript.min.js": () => import("./prism-javascript.min-03c8bcee.js"), "../../../node_modules/prismjs/components/prism-javastacktrace.min.js": () => import("./prism-javastacktrace.min-d3186b3e.js"), "../../../node_modules/prismjs/components/prism-jexl.min.js": () => import("./prism-jexl.min-084d69d8.js"), "../../../node_modules/prismjs/components/prism-jolie.min.js": () => import("./prism-jolie.min-466d4cf7.js"), "../../../node_modules/prismjs/components/prism-jq.min.js": () => import("./prism-jq.min-3daf478a.js"), "../../../node_modules/prismjs/components/prism-js-extras.min.js": () => import("./prism-js-extras.min-a225cee9.js"), "../../../node_modules/prismjs/components/prism-js-templates.min.js": () => import("./prism-js-templates.min-c950373d.js"), "../../../node_modules/prismjs/components/prism-jsdoc.min.js": () => import("./prism-jsdoc.min-02975619.js"), "../../../node_modules/prismjs/components/prism-json.min.js": () => import("./prism-json.min-fa2dced5.js"), "../../../node_modules/prismjs/components/prism-json5.min.js": () => import("./prism-json5.min-3917dd44.js"), "../../../node_modules/prismjs/components/prism-jsonp.min.js": () => import("./prism-jsonp.min-a0f4106e.js"), "../../../node_modules/prismjs/components/prism-jsstacktrace.min.js": () => import("./prism-jsstacktrace.min-bc3f3759.js"), "../../../node_modules/prismjs/components/prism-jsx.min.js": () => import("./prism-jsx.min-8af1efbf.js"), "../../../node_modules/prismjs/components/prism-julia.min.js": () => import("./prism-julia.min-cc71d15e.js"), "../../../node_modules/prismjs/components/prism-keepalived.min.js": () => import("./prism-keepalived.min-1428eb2f.js"), "../../../node_modules/prismjs/components/prism-keyman.min.js": () => import("./prism-keyman.min-3b419e70.js"), "../../../node_modules/prismjs/components/prism-kotlin.min.js": () => import("./prism-kotlin.min-ecbf8553.js"), "../../../node_modules/prismjs/components/prism-kumir.min.js": () => import("./prism-kumir.min-624860b6.js"), "../../../node_modules/prismjs/components/prism-kusto.min.js": () => import("./prism-kusto.min-67b0f58b.js"), "../../../node_modules/prismjs/components/prism-latex.min.js": () => import("./prism-latex.min-af145af5.js"), "../../../node_modules/prismjs/components/prism-latte.min.js": () => import("./prism-latte.min-b9a60122.js"), "../../../node_modules/prismjs/components/prism-less.min.js": () => import("./prism-less.min-3a3313ed.js"), "../../../node_modules/prismjs/components/prism-lilypond.min.js": () => import("./prism-lilypond.min-b0ed8db8.js"), "../../../node_modules/prismjs/components/prism-linker-script.min.js": () => import("./prism-linker-script.min-dc3fc5ad.js"), "../../../node_modules/prismjs/components/prism-liquid.min.js": () => import("./prism-liquid.min-86fa81e6.js"), "../../../node_modules/prismjs/components/prism-lisp.min.js": () => import("./prism-lisp.min-cae2f73f.js"), "../../../node_modules/prismjs/components/prism-livescript.min.js": () => import("./prism-livescript.min-b5d9d700.js"), "../../../node_modules/prismjs/components/prism-llvm.min.js": () => import("./prism-llvm.min-2b4a3e33.js"), "../../../node_modules/prismjs/components/prism-log.min.js": () => import("./prism-log.min-e9ba9fa2.js"), "../../../node_modules/prismjs/components/prism-lolcode.min.js": () => import("./prism-lolcode.min-1d0782a6.js"), "../../../node_modules/prismjs/components/prism-lua.min.js": () => import("./prism-lua.min-9c7e1242.js"), "../../../node_modules/prismjs/components/prism-magma.min.js": () => import("./prism-magma.min-6b08ba18.js"), "../../../node_modules/prismjs/components/prism-makefile.min.js": () => import("./prism-makefile.min-10c204c7.js"), "../../../node_modules/prismjs/components/prism-markdown.min.js": () => import("./prism-markdown.min-97e74eb9.js"), "../../../node_modules/prismjs/components/prism-markup-templating.min.js": () => import("./prism-markup-templating.min-c55d1b76.js"), "../../../node_modules/prismjs/components/prism-markup.min.js": () => import("./prism-markup.min-849389d5.js"), "../../../node_modules/prismjs/components/prism-mata.min.js": () => import("./prism-mata.min-1bbaed90.js"), "../../../node_modules/prismjs/components/prism-matlab.min.js": () => import("./prism-matlab.min-c787c897.js"), "../../../node_modules/prismjs/components/prism-maxscript.min.js": () => import("./prism-maxscript.min-8ff24836.js"), "../../../node_modules/prismjs/components/prism-mel.min.js": () => import("./prism-mel.min-e8ff632f.js"), "../../../node_modules/prismjs/components/prism-mermaid.min.js": () => import("./prism-mermaid.min-77fee473.js"), "../../../node_modules/prismjs/components/prism-metafont.min.js": () => import("./prism-metafont.min-94223e4b.js"), "../../../node_modules/prismjs/components/prism-mizar.min.js": () => import("./prism-mizar.min-50230be0.js"), "../../../node_modules/prismjs/components/prism-mongodb.min.js": () => import("./prism-mongodb.min-9790bcfd.js"), "../../../node_modules/prismjs/components/prism-monkey.min.js": () => import("./prism-monkey.min-5a1eb1ff.js"), "../../../node_modules/prismjs/components/prism-moonscript.min.js": () => import("./prism-moonscript.min-ed957c18.js"), "../../../node_modules/prismjs/components/prism-n1ql.min.js": () => import("./prism-n1ql.min-f3780067.js"), "../../../node_modules/prismjs/components/prism-n4js.min.js": () => import("./prism-n4js.min-d57fb90f.js"), "../../../node_modules/prismjs/components/prism-nand2tetris-hdl.min.js": () => import("./prism-nand2tetris-hdl.min-8228b246.js"), "../../../node_modules/prismjs/components/prism-naniscript.min.js": () => import("./prism-naniscript.min-a2fa6109.js"), "../../../node_modules/prismjs/components/prism-nasm.min.js": () => import("./prism-nasm.min-09906ffc.js"), "../../../node_modules/prismjs/components/prism-neon.min.js": () => import("./prism-neon.min-83c9b2c5.js"), "../../../node_modules/prismjs/components/prism-nevod.min.js": () => import("./prism-nevod.min-c2d107f2.js"), "../../../node_modules/prismjs/components/prism-nginx.min.js": () => import("./prism-nginx.min-01df8a32.js"), "../../../node_modules/prismjs/components/prism-nim.min.js": () => import("./prism-nim.min-dd447d6c.js"), "../../../node_modules/prismjs/components/prism-nix.min.js": () => import("./prism-nix.min-6430b249.js"), "../../../node_modules/prismjs/components/prism-nsis.min.js": () => import("./prism-nsis.min-dff25bf5.js"), "../../../node_modules/prismjs/components/prism-objectivec.min.js": () => import("./prism-objectivec.min-01ae0d96.js"), "../../../node_modules/prismjs/components/prism-ocaml.min.js": () => import("./prism-ocaml.min-20e838d9.js"), "../../../node_modules/prismjs/components/prism-odin.min.js": () => import("./prism-odin.min-b5d9183b.js"), "../../../node_modules/prismjs/components/prism-opencl.min.js": () => import("./prism-opencl.min-1d85e7cf.js"), "../../../node_modules/prismjs/components/prism-openqasm.min.js": () => import("./prism-openqasm.min-29eb40fe.js"), "../../../node_modules/prismjs/components/prism-oz.min.js": () => import("./prism-oz.min-c1f4ebd4.js"), "../../../node_modules/prismjs/components/prism-parigp.min.js": () => import("./prism-parigp.min-8bff0612.js"), "../../../node_modules/prismjs/components/prism-parser.min.js": () => import("./prism-parser.min-7722395f.js"), "../../../node_modules/prismjs/components/prism-pascal.min.js": () => import("./prism-pascal.min-ccf26fed.js"), "../../../node_modules/prismjs/components/prism-pascaligo.min.js": () => import("./prism-pascaligo.min-3aecb02c.js"), "../../../node_modules/prismjs/components/prism-pcaxis.min.js": () => import("./prism-pcaxis.min-c5e7a871.js"), "../../../node_modules/prismjs/components/prism-peoplecode.min.js": () => import("./prism-peoplecode.min-7c8ed2ef.js"), "../../../node_modules/prismjs/components/prism-perl.min.js": () => import("./prism-perl.min-108f825c.js"), "../../../node_modules/prismjs/components/prism-php-extras.min.js": () => import("./prism-php-extras.min-4b649f6b.js"), "../../../node_modules/prismjs/components/prism-php.min.js": () => import("./prism-php.min-b4bebbdb.js"), "../../../node_modules/prismjs/components/prism-phpdoc.min.js": () => import("./prism-phpdoc.min-71857b79.js"), "../../../node_modules/prismjs/components/prism-plant-uml.min.js": () => import("./prism-plant-uml.min-91d8fdec.js"), "../../../node_modules/prismjs/components/prism-plsql.min.js": () => import("./prism-plsql.min-8b0dd1ce.js"), "../../../node_modules/prismjs/components/prism-powerquery.min.js": () => import("./prism-powerquery.min-de7eda80.js"), "../../../node_modules/prismjs/components/prism-powershell.min.js": () => import("./prism-powershell.min-13582006.js"), "../../../node_modules/prismjs/components/prism-processing.min.js": () => import("./prism-processing.min-ddf61715.js"), "../../../node_modules/prismjs/components/prism-prolog.min.js": () => import("./prism-prolog.min-be61447f.js"), "../../../node_modules/prismjs/components/prism-promql.min.js": () => import("./prism-promql.min-b94dbbcb.js"), "../../../node_modules/prismjs/components/prism-properties.min.js": () => import("./prism-properties.min-4b65aff4.js"), "../../../node_modules/prismjs/components/prism-protobuf.min.js": () => import("./prism-protobuf.min-c7dd99a8.js"), "../../../node_modules/prismjs/components/prism-psl.min.js": () => import("./prism-psl.min-3cb6ca77.js"), "../../../node_modules/prismjs/components/prism-pug.min.js": () => import("./prism-pug.min-84ed48ec.js"), "../../../node_modules/prismjs/components/prism-puppet.min.js": () => import("./prism-puppet.min-c02bdf50.js"), "../../../node_modules/prismjs/components/prism-pure.min.js": () => import("./prism-pure.min-7b5eae7a.js"), "../../../node_modules/prismjs/components/prism-purebasic.min.js": () => import("./prism-purebasic.min-a62b63be.js"), "../../../node_modules/prismjs/components/prism-purescript.min.js": () => import("./prism-purescript.min-d7c49bf2.js"), "../../../node_modules/prismjs/components/prism-python.min.js": () => import("./prism-python.min-89935d5e.js"), "../../../node_modules/prismjs/components/prism-q.min.js": () => import("./prism-q.min-96d8fb1b.js"), "../../../node_modules/prismjs/components/prism-qml.min.js": () => import("./prism-qml.min-eb7c0dfc.js"), "../../../node_modules/prismjs/components/prism-qore.min.js": () => import("./prism-qore.min-ed8ddb5e.js"), "../../../node_modules/prismjs/components/prism-qsharp.min.js": () => import("./prism-qsharp.min-fb960bab.js"), "../../../node_modules/prismjs/components/prism-r.min.js": () => import("./prism-r.min-9fe1f3ed.js"), "../../../node_modules/prismjs/components/prism-racket.min.js": () => import("./prism-racket.min-e90ec309.js"), "../../../node_modules/prismjs/components/prism-reason.min.js": () => import("./prism-reason.min-63d1fa8a.js"), "../../../node_modules/prismjs/components/prism-regex.min.js": () => import("./prism-regex.min-96d0bc4f.js"), "../../../node_modules/prismjs/components/prism-rego.min.js": () => import("./prism-rego.min-281a02c1.js"), "../../../node_modules/prismjs/components/prism-renpy.min.js": () => import("./prism-renpy.min-2bef2655.js"), "../../../node_modules/prismjs/components/prism-rescript.min.js": () => import("./prism-rescript.min-2a3bda12.js"), "../../../node_modules/prismjs/components/prism-rest.min.js": () => import("./prism-rest.min-09260b93.js"), "../../../node_modules/prismjs/components/prism-rip.min.js": () => import("./prism-rip.min-c89fc679.js"), "../../../node_modules/prismjs/components/prism-roboconf.min.js": () => import("./prism-roboconf.min-362299cf.js"), "../../../node_modules/prismjs/components/prism-robotframework.min.js": () => import("./prism-robotframework.min-901bf739.js"), "../../../node_modules/prismjs/components/prism-ruby.min.js": () => import("./prism-ruby.min-6e459016.js"), "../../../node_modules/prismjs/components/prism-rust.min.js": () => import("./prism-rust.min-820420d0.js"), "../../../node_modules/prismjs/components/prism-sas.min.js": () => import("./prism-sas.min-920eaa09.js"), "../../../node_modules/prismjs/components/prism-sass.min.js": () => import("./prism-sass.min-4dc53bc5.js"), "../../../node_modules/prismjs/components/prism-scala.min.js": () => import("./prism-scala.min-83738843.js"), "../../../node_modules/prismjs/components/prism-scheme.min.js": () => import("./prism-scheme.min-1358e051.js"), "../../../node_modules/prismjs/components/prism-scss.min.js": () => import("./prism-scss.min-92aea743.js"), "../../../node_modules/prismjs/components/prism-shell-session.min.js": () => import("./prism-shell-session.min-2977ab53.js"), "../../../node_modules/prismjs/components/prism-smali.min.js": () => import("./prism-smali.min-e768ca38.js"), "../../../node_modules/prismjs/components/prism-smalltalk.min.js": () => import("./prism-smalltalk.min-139c1ee1.js"), "../../../node_modules/prismjs/components/prism-smarty.min.js": () => import("./prism-smarty.min-f8debf97.js"), "../../../node_modules/prismjs/components/prism-sml.min.js": () => import("./prism-sml.min-0c679316.js"), "../../../node_modules/prismjs/components/prism-solidity.min.js": () => import("./prism-solidity.min-83eb4a29.js"), "../../../node_modules/prismjs/components/prism-solution-file.min.js": () => import("./prism-solution-file.min-52546f1c.js"), "../../../node_modules/prismjs/components/prism-soy.min.js": () => import("./prism-soy.min-d2b3294e.js"), "../../../node_modules/prismjs/components/prism-sparql.min.js": () => import("./prism-sparql.min-b55f57a3.js"), "../../../node_modules/prismjs/components/prism-splunk-spl.min.js": () => import("./prism-splunk-spl.min-bd51901e.js"), "../../../node_modules/prismjs/components/prism-sqf.min.js": () => import("./prism-sqf.min-7796abe2.js"), "../../../node_modules/prismjs/components/prism-sql.min.js": () => import("./prism-sql.min-583eab97.js"), "../../../node_modules/prismjs/components/prism-squirrel.min.js": () => import("./prism-squirrel.min-6210cc27.js"), "../../../node_modules/prismjs/components/prism-stan.min.js": () => import("./prism-stan.min-0219161d.js"), "../../../node_modules/prismjs/components/prism-stata.min.js": () => import("./prism-stata.min-e8468e92.js"), "../../../node_modules/prismjs/components/prism-stylus.min.js": () => import("./prism-stylus.min-b4211725.js"), "../../../node_modules/prismjs/components/prism-supercollider.min.js": () => import("./prism-supercollider.min-a1e102ff.js"), "../../../node_modules/prismjs/components/prism-swift.min.js": () => import("./prism-swift.min-962aa7ba.js"), "../../../node_modules/prismjs/components/prism-systemd.min.js": () => import("./prism-systemd.min-6d49f69b.js"), "../../../node_modules/prismjs/components/prism-t4-cs.min.js": () => import("./prism-t4-cs.min-258a46d3.js"), "../../../node_modules/prismjs/components/prism-t4-templating.min.js": () => import("./prism-t4-templating.min-740d429f.js"), "../../../node_modules/prismjs/components/prism-t4-vb.min.js": () => import("./prism-t4-vb.min-c3ca6021.js"), "../../../node_modules/prismjs/components/prism-tap.min.js": () => import("./prism-tap.min-2d582f1c.js"), "../../../node_modules/prismjs/components/prism-tcl.min.js": () => import("./prism-tcl.min-3d421e58.js"), "../../../node_modules/prismjs/components/prism-textile.min.js": () => import("./prism-textile.min-bea9a185.js"), "../../../node_modules/prismjs/components/prism-toml.min.js": () => import("./prism-toml.min-ba409a46.js"), "../../../node_modules/prismjs/components/prism-tremor.min.js": () => import("./prism-tremor.min-cf11bafd.js"), "../../../node_modules/prismjs/components/prism-tsx.min.js": () => import("./prism-tsx.min-90ee8eaa.js"), "../../../node_modules/prismjs/components/prism-tt2.min.js": () => import("./prism-tt2.min-c7317371.js"), "../../../node_modules/prismjs/components/prism-turtle.min.js": () => import("./prism-turtle.min-d3f6c908.js"), "../../../node_modules/prismjs/components/prism-twig.min.js": () => import("./prism-twig.min-06667cf3.js"), "../../../node_modules/prismjs/components/prism-typescript.min.js": () => import("./prism-typescript.min-da950f4e.js"), "../../../node_modules/prismjs/components/prism-typoscript.min.js": () => import("./prism-typoscript.min-92ab2527.js"), "../../../node_modules/prismjs/components/prism-unrealscript.min.js": () => import("./prism-unrealscript.min-524c9821.js"), "../../../node_modules/prismjs/components/prism-uorazor.min.js": () => import("./prism-uorazor.min-8445afde.js"), "../../../node_modules/prismjs/components/prism-uri.min.js": () => import("./prism-uri.min-8d153620.js"), "../../../node_modules/prismjs/components/prism-v.min.js": () => import("./prism-v.min-f5dfa62f.js"), "../../../node_modules/prismjs/components/prism-vala.min.js": () => import("./prism-vala.min-8099e50d.js"), "../../../node_modules/prismjs/components/prism-vbnet.min.js": () => import("./prism-vbnet.min-c684e95c.js"), "../../../node_modules/prismjs/components/prism-velocity.min.js": () => import("./prism-velocity.min-ce8230ae.js"), "../../../node_modules/prismjs/components/prism-verilog.min.js": () => import("./prism-verilog.min-49879cf6.js"), "../../../node_modules/prismjs/components/prism-vhdl.min.js": () => import("./prism-vhdl.min-9c469192.js"), "../../../node_modules/prismjs/components/prism-vim.min.js": () => import("./prism-vim.min-753cf120.js"), "../../../node_modules/prismjs/components/prism-visual-basic.min.js": () => import("./prism-visual-basic.min-03026ad9.js"), "../../../node_modules/prismjs/components/prism-warpscript.min.js": () => import("./prism-warpscript.min-69ba95e0.js"), "../../../node_modules/prismjs/components/prism-wasm.min.js": () => import("./prism-wasm.min-a8aa80a7.js"), "../../../node_modules/prismjs/components/prism-web-idl.min.js": () => import("./prism-web-idl.min-502d10ad.js"), "../../../node_modules/prismjs/components/prism-wgsl.min.js": () => import("./prism-wgsl.min-674a5833.js"), "../../../node_modules/prismjs/components/prism-wiki.min.js": () => import("./prism-wiki.min-6aa23d83.js"), "../../../node_modules/prismjs/components/prism-wolfram.min.js": () => import("./prism-wolfram.min-5edca627.js"), "../../../node_modules/prismjs/components/prism-wren.min.js": () => import("./prism-wren.min-87e34869.js"), "../../../node_modules/prismjs/components/prism-xeora.min.js": () => import("./prism-xeora.min-39184a91.js"), "../../../node_modules/prismjs/components/prism-xml-doc.min.js": () => import("./prism-xml-doc.min-cd59a0d2.js"), "../../../node_modules/prismjs/components/prism-xojo.min.js": () => import("./prism-xojo.min-7d27c927.js"), "../../../node_modules/prismjs/components/prism-xquery.min.js": () => import("./prism-xquery.min-aebd2f79.js"), "../../../node_modules/prismjs/components/prism-yaml.min.js": () => import("./prism-yaml.min-971ccff8.js"), "../../../node_modules/prismjs/components/prism-yang.min.js": () => import("./prism-yang.min-39f14179.js"), "../../../node_modules/prismjs/components/prism-zig.min.js": () => import("./prism-zig.min-e777c275.js") }), `../../../node_modules/prismjs/components/prism-${l}.min.js`);
|
|
1246
1249
|
} catch {
|
|
1247
1250
|
console.warn(`Prism does not have a language file for '${l}'`);
|
|
1248
1251
|
}
|
|
1249
1252
|
ce.highlightAll();
|
|
1250
|
-
}, { immediate: !0 }), (l,
|
|
1251
|
-
const p =
|
|
1253
|
+
}, { immediate: !0 }), (l, u) => {
|
|
1254
|
+
const p = Mt("KCodeBlock");
|
|
1252
1255
|
return H(), Q(p, {
|
|
1253
1256
|
id: K(a),
|
|
1254
1257
|
class: "document-code-block",
|
|
@@ -1262,7 +1265,7 @@ const er = /* @__PURE__ */ G({
|
|
|
1262
1265
|
};
|
|
1263
1266
|
}
|
|
1264
1267
|
});
|
|
1265
|
-
const
|
|
1268
|
+
const rr = /* @__PURE__ */ O(tr, [["__scopeId", "data-v-893581d7"]]), nr = /* @__PURE__ */ G({
|
|
1266
1269
|
__name: "Emphasis",
|
|
1267
1270
|
props: {
|
|
1268
1271
|
level: {
|
|
@@ -1285,7 +1288,7 @@ const tr = /* @__PURE__ */ O(er, [["__scopeId", "data-v-893581d7"]]), rr = /* @_
|
|
|
1285
1288
|
_: 3
|
|
1286
1289
|
}));
|
|
1287
1290
|
}
|
|
1288
|
-
}),
|
|
1291
|
+
}), or = /* @__PURE__ */ G({
|
|
1289
1292
|
__name: "Heading",
|
|
1290
1293
|
props: {
|
|
1291
1294
|
level: {
|
|
@@ -1313,7 +1316,7 @@ const tr = /* @__PURE__ */ O(er, [["__scopeId", "data-v-893581d7"]]), rr = /* @_
|
|
|
1313
1316
|
}));
|
|
1314
1317
|
}
|
|
1315
1318
|
});
|
|
1316
|
-
const
|
|
1319
|
+
const ir = /* @__PURE__ */ O(or, [["__scopeId", "data-v-2a3c189f"]]), sr = ["alt", "src", "title"], ar = /* @__PURE__ */ G({
|
|
1317
1320
|
__name: "Image",
|
|
1318
1321
|
props: {
|
|
1319
1322
|
url: {
|
|
@@ -1335,23 +1338,23 @@ const or = /* @__PURE__ */ O(nr, [["__scopeId", "data-v-2a3c189f"]]), ir = ["alt
|
|
|
1335
1338
|
alt: e.alt,
|
|
1336
1339
|
src: e.url,
|
|
1337
1340
|
title: e.title
|
|
1338
|
-
}, null, 8,
|
|
1341
|
+
}, null, 8, sr),
|
|
1339
1342
|
qe("figcaption", null, [
|
|
1340
1343
|
F(t.$slots, "default")
|
|
1341
1344
|
])
|
|
1342
1345
|
]));
|
|
1343
1346
|
}
|
|
1344
|
-
}),
|
|
1345
|
-
function
|
|
1347
|
+
}), lr = {};
|
|
1348
|
+
function mr(e, t) {
|
|
1346
1349
|
return H(), N("hr");
|
|
1347
1350
|
}
|
|
1348
|
-
const
|
|
1349
|
-
function
|
|
1351
|
+
const pr = /* @__PURE__ */ O(lr, [["render", mr]]), ur = {};
|
|
1352
|
+
function cr(e, t) {
|
|
1350
1353
|
return H(), N("table", null, [
|
|
1351
1354
|
F(e.$slots, "default")
|
|
1352
1355
|
]);
|
|
1353
1356
|
}
|
|
1354
|
-
const
|
|
1357
|
+
const dr = /* @__PURE__ */ O(ur, [["render", cr]]), hr = /* @__PURE__ */ G({
|
|
1355
1358
|
__name: "TableRow",
|
|
1356
1359
|
props: {
|
|
1357
1360
|
section: {
|
|
@@ -1369,7 +1372,7 @@ const cr = /* @__PURE__ */ O(pr, [["render", ur]]), hr = /* @__PURE__ */ G({
|
|
|
1369
1372
|
_: 3
|
|
1370
1373
|
}));
|
|
1371
1374
|
}
|
|
1372
|
-
}),
|
|
1375
|
+
}), fr = /* @__PURE__ */ G({
|
|
1373
1376
|
__name: "TableCell",
|
|
1374
1377
|
props: {
|
|
1375
1378
|
align: {
|
|
@@ -1386,7 +1389,7 @@ const cr = /* @__PURE__ */ O(pr, [["render", ur]]), hr = /* @__PURE__ */ G({
|
|
|
1386
1389
|
const t = e, r = ((o = t.parent) == null ? void 0 : o.section) === re.header ? "th" : "td";
|
|
1387
1390
|
let n;
|
|
1388
1391
|
return t.align === fe.center ? n = "align-center" : t.align === fe.right && (n = "align-right"), (i, a) => (H(), Q(se(K(r)), {
|
|
1389
|
-
class:
|
|
1392
|
+
class: Gt(K(n))
|
|
1390
1393
|
}, {
|
|
1391
1394
|
default: ae(() => [
|
|
1392
1395
|
F(i.$slots, "default", {}, void 0, !0)
|
|
@@ -1395,10 +1398,10 @@ const cr = /* @__PURE__ */ O(pr, [["render", ur]]), hr = /* @__PURE__ */ G({
|
|
|
1395
1398
|
}, 8, ["class"]));
|
|
1396
1399
|
}
|
|
1397
1400
|
});
|
|
1398
|
-
const
|
|
1401
|
+
const gr = /* @__PURE__ */ O(fr, [["__scopeId", "data-v-6da63f53"]]), vr = { key: 0 }, _r = { key: 1 }, jr = {
|
|
1399
1402
|
inheritAttrs: !1
|
|
1400
|
-
},
|
|
1401
|
-
...
|
|
1403
|
+
}, br = /* @__PURE__ */ G({
|
|
1404
|
+
...jr,
|
|
1402
1405
|
__name: "Text",
|
|
1403
1406
|
props: {
|
|
1404
1407
|
text: {
|
|
@@ -1415,26 +1418,26 @@ const fr = /* @__PURE__ */ O(dr, [["__scopeId", "data-v-6da63f53"]]), gr = { key
|
|
|
1415
1418
|
}
|
|
1416
1419
|
},
|
|
1417
1420
|
setup(e) {
|
|
1418
|
-
return (t, r) => (H(), N(
|
|
1419
|
-
|
|
1420
|
-
e.appendSpace ? (H(), N("span",
|
|
1421
|
-
e.hardBreak ? (H(), N("br",
|
|
1421
|
+
return (t, r) => (H(), N(qt, null, [
|
|
1422
|
+
Ut(at(e.text), 1),
|
|
1423
|
+
e.appendSpace ? (H(), N("span", vr, " ")) : Ue("", !0),
|
|
1424
|
+
e.hardBreak ? (H(), N("br", _r)) : Ue("", !0)
|
|
1422
1425
|
], 64));
|
|
1423
1426
|
}
|
|
1424
|
-
}),
|
|
1425
|
-
function
|
|
1427
|
+
}), yr = {};
|
|
1428
|
+
function wr(e, t) {
|
|
1426
1429
|
return H(), N("span", null, [
|
|
1427
1430
|
F(e.$slots, "default")
|
|
1428
1431
|
]);
|
|
1429
1432
|
}
|
|
1430
|
-
const
|
|
1431
|
-
const
|
|
1432
|
-
function
|
|
1433
|
+
const Er = /* @__PURE__ */ O(yr, [["render", wr]]);
|
|
1434
|
+
const Sr = {};
|
|
1435
|
+
function Tr(e, t) {
|
|
1433
1436
|
return H(), N("p", null, [
|
|
1434
1437
|
F(e.$slots, "default", {}, void 0, !0)
|
|
1435
1438
|
]);
|
|
1436
1439
|
}
|
|
1437
|
-
const
|
|
1440
|
+
const kr = /* @__PURE__ */ O(Sr, [["render", Tr], ["__scopeId", "data-v-c7681718"]]), Ar = /* @__PURE__ */ G({
|
|
1438
1441
|
__name: "List",
|
|
1439
1442
|
props: {
|
|
1440
1443
|
isOrdered: {
|
|
@@ -1452,13 +1455,13 @@ const Tr = /* @__PURE__ */ O(Er, [["render", Sr], ["__scopeId", "data-v-c7681718
|
|
|
1452
1455
|
}));
|
|
1453
1456
|
}
|
|
1454
1457
|
});
|
|
1455
|
-
const
|
|
1456
|
-
function
|
|
1458
|
+
const Rr = /* @__PURE__ */ O(Ar, [["__scopeId", "data-v-f52e8277"]]), Lr = {};
|
|
1459
|
+
function Br(e, t) {
|
|
1457
1460
|
return H(), N("li", null, [
|
|
1458
1461
|
F(e.$slots, "default")
|
|
1459
1462
|
]);
|
|
1460
1463
|
}
|
|
1461
|
-
const
|
|
1464
|
+
const Hr = /* @__PURE__ */ O(Lr, [["render", Br]]), Pr = ["href", "title"], Dr = /* @__PURE__ */ G({
|
|
1462
1465
|
__name: "Link",
|
|
1463
1466
|
props: {
|
|
1464
1467
|
href: {
|
|
@@ -1477,31 +1480,31 @@ const Br = /* @__PURE__ */ O(Rr, [["render", Lr]]), Hr = ["href", "title"], Pr =
|
|
|
1477
1480
|
title: e.title
|
|
1478
1481
|
}, [
|
|
1479
1482
|
F(t.$slots, "default", {}, void 0, !0)
|
|
1480
|
-
], 8,
|
|
1483
|
+
], 8, Pr));
|
|
1481
1484
|
}
|
|
1482
1485
|
});
|
|
1483
|
-
const
|
|
1484
|
-
blockquote:
|
|
1485
|
-
code:
|
|
1486
|
-
code_block:
|
|
1487
|
-
emphasis:
|
|
1488
|
-
heading:
|
|
1489
|
-
image:
|
|
1490
|
-
line_break:
|
|
1491
|
-
link:
|
|
1492
|
-
list:
|
|
1493
|
-
list_item:
|
|
1494
|
-
paragraph:
|
|
1495
|
-
table:
|
|
1486
|
+
const Ir = /* @__PURE__ */ O(Dr, [["__scopeId", "data-v-9b27e235"]]), Cr = {
|
|
1487
|
+
blockquote: Kt,
|
|
1488
|
+
code: Jt,
|
|
1489
|
+
code_block: rr,
|
|
1490
|
+
emphasis: nr,
|
|
1491
|
+
heading: ir,
|
|
1492
|
+
image: ar,
|
|
1493
|
+
line_break: pr,
|
|
1494
|
+
link: Ir,
|
|
1495
|
+
list: Rr,
|
|
1496
|
+
list_item: Hr,
|
|
1497
|
+
paragraph: kr,
|
|
1498
|
+
table: dr,
|
|
1496
1499
|
table_row: hr,
|
|
1497
|
-
table_cell:
|
|
1498
|
-
text:
|
|
1499
|
-
text_block:
|
|
1500
|
+
table_cell: gr,
|
|
1501
|
+
text: br,
|
|
1502
|
+
text_block: Er
|
|
1500
1503
|
}, Xe = [];
|
|
1501
|
-
function
|
|
1504
|
+
function Nr(e) {
|
|
1502
1505
|
Xe.indexOf(e) === -1 && (Xe.push(e), console.warn(`[DocumentViewer] Unable to render an unknown node type "${e}"`));
|
|
1503
1506
|
}
|
|
1504
|
-
function
|
|
1507
|
+
function mt(e, t) {
|
|
1505
1508
|
return e.map((r, n) => {
|
|
1506
1509
|
if (!r)
|
|
1507
1510
|
return null;
|
|
@@ -1509,14 +1512,14 @@ function lt(e, t) {
|
|
|
1509
1512
|
type: o,
|
|
1510
1513
|
children: i,
|
|
1511
1514
|
...a
|
|
1512
|
-
} = r, s =
|
|
1515
|
+
} = r, s = Cr[r.type];
|
|
1513
1516
|
if (!s)
|
|
1514
|
-
return
|
|
1517
|
+
return Nr(o), null;
|
|
1515
1518
|
if ((r == null ? void 0 : r.type) === "paragraph" && (r != null && r.children)) {
|
|
1516
|
-
const l = r.children,
|
|
1519
|
+
const l = r.children, u = l.length - 1;
|
|
1517
1520
|
l.forEach((p, g) => {
|
|
1518
1521
|
var v;
|
|
1519
|
-
|
|
1522
|
+
lt(p) && !((v = p.text) != null && v.endsWith(" ")) && g !== u && (p.appendSpace = !0);
|
|
1520
1523
|
});
|
|
1521
1524
|
}
|
|
1522
1525
|
return (r == null ? void 0 : r.type) === "code_block" ? $e(s, Ve(a, {
|
|
@@ -1526,7 +1529,7 @@ function lt(e, t) {
|
|
|
1526
1529
|
}), null) : $e(s, Ve(a, {
|
|
1527
1530
|
parent: t
|
|
1528
1531
|
}), {
|
|
1529
|
-
default: () => i &&
|
|
1532
|
+
default: () => i && mt(i, r)
|
|
1530
1533
|
});
|
|
1531
1534
|
});
|
|
1532
1535
|
}
|
|
@@ -1557,7 +1560,7 @@ var _ = function() {
|
|
|
1557
1560
|
return e;
|
|
1558
1561
|
}, _.apply(this, arguments);
|
|
1559
1562
|
};
|
|
1560
|
-
function
|
|
1563
|
+
function xr(e, t) {
|
|
1561
1564
|
var r = {};
|
|
1562
1565
|
for (var n in e)
|
|
1563
1566
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1587,40 +1590,40 @@ var ne;
|
|
|
1587
1590
|
function Ke(e) {
|
|
1588
1591
|
return e.type === R.literal;
|
|
1589
1592
|
}
|
|
1590
|
-
function
|
|
1593
|
+
function Fr(e) {
|
|
1591
1594
|
return e.type === R.argument;
|
|
1592
1595
|
}
|
|
1593
|
-
function
|
|
1596
|
+
function pt(e) {
|
|
1594
1597
|
return e.type === R.number;
|
|
1595
1598
|
}
|
|
1596
|
-
function
|
|
1599
|
+
function ut(e) {
|
|
1597
1600
|
return e.type === R.date;
|
|
1598
1601
|
}
|
|
1599
|
-
function
|
|
1602
|
+
function ct(e) {
|
|
1600
1603
|
return e.type === R.time;
|
|
1601
1604
|
}
|
|
1602
|
-
function
|
|
1605
|
+
function dt(e) {
|
|
1603
1606
|
return e.type === R.select;
|
|
1604
1607
|
}
|
|
1605
1608
|
function ht(e) {
|
|
1606
1609
|
return e.type === R.plural;
|
|
1607
1610
|
}
|
|
1608
|
-
function
|
|
1611
|
+
function Or(e) {
|
|
1609
1612
|
return e.type === R.pound;
|
|
1610
1613
|
}
|
|
1611
|
-
function
|
|
1614
|
+
function ft(e) {
|
|
1612
1615
|
return e.type === R.tag;
|
|
1613
1616
|
}
|
|
1614
|
-
function
|
|
1617
|
+
function gt(e) {
|
|
1615
1618
|
return !!(e && typeof e == "object" && e.type === ne.number);
|
|
1616
1619
|
}
|
|
1617
1620
|
function Re(e) {
|
|
1618
1621
|
return !!(e && typeof e == "object" && e.type === ne.dateTime);
|
|
1619
1622
|
}
|
|
1620
|
-
var
|
|
1621
|
-
function
|
|
1623
|
+
var vt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Mr = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1624
|
+
function Gr(e) {
|
|
1622
1625
|
var t = {};
|
|
1623
|
-
return e.replace(
|
|
1626
|
+
return e.replace(Mr, function(r) {
|
|
1624
1627
|
var n = r.length;
|
|
1625
1628
|
switch (r[0]) {
|
|
1626
1629
|
case "G":
|
|
@@ -1709,18 +1712,18 @@ function Mr(e) {
|
|
|
1709
1712
|
return "";
|
|
1710
1713
|
}), t;
|
|
1711
1714
|
}
|
|
1712
|
-
var
|
|
1713
|
-
function
|
|
1715
|
+
var qr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1716
|
+
function Ur(e) {
|
|
1714
1717
|
if (e.length === 0)
|
|
1715
1718
|
throw new Error("Number skeleton cannot be empty");
|
|
1716
|
-
for (var t = e.split(
|
|
1719
|
+
for (var t = e.split(qr).filter(function(v) {
|
|
1717
1720
|
return v.length > 0;
|
|
1718
1721
|
}), r = [], n = 0, o = t; n < o.length; n++) {
|
|
1719
1722
|
var i = o[n], a = i.split("/");
|
|
1720
1723
|
if (a.length === 0)
|
|
1721
1724
|
throw new Error("Invalid number skeleton");
|
|
1722
|
-
for (var s = a[0], l = a.slice(1),
|
|
1723
|
-
var g = p[
|
|
1725
|
+
for (var s = a[0], l = a.slice(1), u = 0, p = l; u < p.length; u++) {
|
|
1726
|
+
var g = p[u];
|
|
1724
1727
|
if (g.length === 0)
|
|
1725
1728
|
throw new Error("Invalid number skeleton");
|
|
1726
1729
|
}
|
|
@@ -1728,17 +1731,17 @@ function qr(e) {
|
|
|
1728
1731
|
}
|
|
1729
1732
|
return r;
|
|
1730
1733
|
}
|
|
1731
|
-
function
|
|
1734
|
+
function $r(e) {
|
|
1732
1735
|
return e.replace(/^(.*?)-/, "");
|
|
1733
1736
|
}
|
|
1734
|
-
var We = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
|
1737
|
+
var We = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, _t = /^(@+)?(\+|#+)?[rs]?$/g, Vr = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
|
|
1735
1738
|
function Ze(e) {
|
|
1736
1739
|
var t = {};
|
|
1737
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1740
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(_t, function(r, n, o) {
|
|
1738
1741
|
return typeof o != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : o === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof o == "string" ? o.length : 0)), "";
|
|
1739
1742
|
}), t;
|
|
1740
1743
|
}
|
|
1741
|
-
function
|
|
1744
|
+
function bt(e) {
|
|
1742
1745
|
switch (e) {
|
|
1743
1746
|
case "sign-auto":
|
|
1744
1747
|
return {
|
|
@@ -1778,7 +1781,7 @@ function jt(e) {
|
|
|
1778
1781
|
};
|
|
1779
1782
|
}
|
|
1780
1783
|
}
|
|
1781
|
-
function
|
|
1784
|
+
function zr(e) {
|
|
1782
1785
|
var t;
|
|
1783
1786
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1784
1787
|
notation: "engineering"
|
|
@@ -1786,17 +1789,17 @@ function Vr(e) {
|
|
|
1786
1789
|
notation: "scientific"
|
|
1787
1790
|
}, e = e.slice(1)), t) {
|
|
1788
1791
|
var r = e.slice(0, 2);
|
|
1789
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1792
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jt.test(e))
|
|
1790
1793
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1791
1794
|
t.minimumIntegerDigits = e.length;
|
|
1792
1795
|
}
|
|
1793
1796
|
return t;
|
|
1794
1797
|
}
|
|
1795
1798
|
function Je(e) {
|
|
1796
|
-
var t = {}, r =
|
|
1799
|
+
var t = {}, r = bt(e);
|
|
1797
1800
|
return r || t;
|
|
1798
1801
|
}
|
|
1799
|
-
function
|
|
1802
|
+
function Xr(e) {
|
|
1800
1803
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1801
1804
|
var o = n[r];
|
|
1802
1805
|
switch (o.stem) {
|
|
@@ -1820,7 +1823,7 @@ function zr(e) {
|
|
|
1820
1823
|
continue;
|
|
1821
1824
|
case "measure-unit":
|
|
1822
1825
|
case "unit":
|
|
1823
|
-
t.style = "unit", t.unit =
|
|
1826
|
+
t.style = "unit", t.unit = $r(o.options[0]);
|
|
1824
1827
|
continue;
|
|
1825
1828
|
case "compact-short":
|
|
1826
1829
|
case "K":
|
|
@@ -1831,13 +1834,13 @@ function zr(e) {
|
|
|
1831
1834
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1832
1835
|
continue;
|
|
1833
1836
|
case "scientific":
|
|
1834
|
-
t = _(_(_({}, t), { notation: "scientific" }), o.options.reduce(function(l,
|
|
1835
|
-
return _(_({}, l), Je(
|
|
1837
|
+
t = _(_(_({}, t), { notation: "scientific" }), o.options.reduce(function(l, u) {
|
|
1838
|
+
return _(_({}, l), Je(u));
|
|
1836
1839
|
}, {}));
|
|
1837
1840
|
continue;
|
|
1838
1841
|
case "engineering":
|
|
1839
|
-
t = _(_(_({}, t), { notation: "engineering" }), o.options.reduce(function(l,
|
|
1840
|
-
return _(_({}, l), Je(
|
|
1842
|
+
t = _(_(_({}, t), { notation: "engineering" }), o.options.reduce(function(l, u) {
|
|
1843
|
+
return _(_({}, l), Je(u));
|
|
1841
1844
|
}, {}));
|
|
1842
1845
|
continue;
|
|
1843
1846
|
case "notation-simple":
|
|
@@ -1861,8 +1864,8 @@ function zr(e) {
|
|
|
1861
1864
|
case "integer-width":
|
|
1862
1865
|
if (o.options.length > 1)
|
|
1863
1866
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1864
|
-
o.options[0].replace(
|
|
1865
|
-
if (
|
|
1867
|
+
o.options[0].replace(Vr, function(l, u, p, g, v, E) {
|
|
1868
|
+
if (u)
|
|
1866
1869
|
t.minimumIntegerDigits = p.length;
|
|
1867
1870
|
else {
|
|
1868
1871
|
if (g && v)
|
|
@@ -1874,32 +1877,32 @@ function zr(e) {
|
|
|
1874
1877
|
});
|
|
1875
1878
|
continue;
|
|
1876
1879
|
}
|
|
1877
|
-
if (
|
|
1880
|
+
if (jt.test(o.stem)) {
|
|
1878
1881
|
t.minimumIntegerDigits = o.stem.length;
|
|
1879
1882
|
continue;
|
|
1880
1883
|
}
|
|
1881
1884
|
if (We.test(o.stem)) {
|
|
1882
1885
|
if (o.options.length > 1)
|
|
1883
1886
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1884
|
-
o.stem.replace(We, function(l,
|
|
1885
|
-
return p === "*" ? t.minimumFractionDigits =
|
|
1887
|
+
o.stem.replace(We, function(l, u, p, g, v, E) {
|
|
1888
|
+
return p === "*" ? t.minimumFractionDigits = u.length : g && g[0] === "#" ? t.maximumFractionDigits = g.length : v && E ? (t.minimumFractionDigits = v.length, t.maximumFractionDigits = v.length + E.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1886
1889
|
});
|
|
1887
1890
|
var i = o.options[0];
|
|
1888
1891
|
i === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : i && (t = _(_({}, t), Ze(i)));
|
|
1889
1892
|
continue;
|
|
1890
1893
|
}
|
|
1891
|
-
if (
|
|
1894
|
+
if (_t.test(o.stem)) {
|
|
1892
1895
|
t = _(_({}, t), Ze(o.stem));
|
|
1893
1896
|
continue;
|
|
1894
1897
|
}
|
|
1895
|
-
var a =
|
|
1898
|
+
var a = bt(o.stem);
|
|
1896
1899
|
a && (t = _(_({}, t), a));
|
|
1897
|
-
var s =
|
|
1900
|
+
var s = zr(o.stem);
|
|
1898
1901
|
s && (t = _(_({}, t), s));
|
|
1899
1902
|
}
|
|
1900
1903
|
return t;
|
|
1901
1904
|
}
|
|
1902
|
-
var
|
|
1905
|
+
var de = {
|
|
1903
1906
|
AX: [
|
|
1904
1907
|
"H"
|
|
1905
1908
|
],
|
|
@@ -3236,23 +3239,23 @@ var he = {
|
|
|
3236
3239
|
"h"
|
|
3237
3240
|
]
|
|
3238
3241
|
};
|
|
3239
|
-
function
|
|
3242
|
+
function Kr(e, t) {
|
|
3240
3243
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3241
3244
|
var o = e.charAt(n);
|
|
3242
3245
|
if (o === "j") {
|
|
3243
3246
|
for (var i = 0; n + 1 < e.length && e.charAt(n + 1) === o; )
|
|
3244
3247
|
i++, n++;
|
|
3245
|
-
var a = 1 + (i & 1), s = i < 2 ? 1 : 3 + (i >> 1), l = "a",
|
|
3246
|
-
for ((
|
|
3248
|
+
var a = 1 + (i & 1), s = i < 2 ? 1 : 3 + (i >> 1), l = "a", u = Wr(t);
|
|
3249
|
+
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3247
3250
|
r += l;
|
|
3248
3251
|
for (; a-- > 0; )
|
|
3249
|
-
r =
|
|
3252
|
+
r = u + r;
|
|
3250
3253
|
} else
|
|
3251
3254
|
o === "J" ? r += "H" : r += o;
|
|
3252
3255
|
}
|
|
3253
3256
|
return r;
|
|
3254
3257
|
}
|
|
3255
|
-
function
|
|
3258
|
+
function Wr(e) {
|
|
3256
3259
|
var t = e.hourCycle;
|
|
3257
3260
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3258
3261
|
e.hourCycles && // @ts-ignore
|
|
@@ -3271,23 +3274,23 @@ function Kr(e) {
|
|
|
3271
3274
|
}
|
|
3272
3275
|
var r = e.language, n;
|
|
3273
3276
|
r !== "root" && (n = e.maximize().region);
|
|
3274
|
-
var o =
|
|
3277
|
+
var o = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
|
|
3275
3278
|
return o[0];
|
|
3276
3279
|
}
|
|
3277
|
-
var we,
|
|
3280
|
+
var we, Zr = new RegExp("^".concat(vt.source, "*")), Jr = new RegExp("".concat(vt.source, "*$"));
|
|
3278
3281
|
function k(e, t) {
|
|
3279
3282
|
return { start: e, end: t };
|
|
3280
3283
|
}
|
|
3281
|
-
var
|
|
3284
|
+
var Yr = !!String.prototype.startsWith, Qr = !!String.fromCodePoint, en = !!Object.fromEntries, tn = !!String.prototype.codePointAt, rn = !!String.prototype.trimStart, nn = !!String.prototype.trimEnd, on = !!Number.isSafeInteger, sn = on ? Number.isSafeInteger : function(e) {
|
|
3282
3285
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3283
3286
|
}, Le = !0;
|
|
3284
3287
|
try {
|
|
3285
|
-
var
|
|
3286
|
-
Le = ((we =
|
|
3288
|
+
var an = wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3289
|
+
Le = ((we = an.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
|
|
3287
3290
|
} catch {
|
|
3288
3291
|
Le = !1;
|
|
3289
3292
|
}
|
|
3290
|
-
var Ye =
|
|
3293
|
+
var Ye = Yr ? (
|
|
3291
3294
|
// Native
|
|
3292
3295
|
function(e, t, r) {
|
|
3293
3296
|
return e.startsWith(t, r);
|
|
@@ -3297,7 +3300,7 @@ var Ye = Jr ? (
|
|
|
3297
3300
|
function(e, t, r) {
|
|
3298
3301
|
return e.slice(r, r + t.length) === t;
|
|
3299
3302
|
}
|
|
3300
|
-
), Be =
|
|
3303
|
+
), Be = Qr ? String.fromCodePoint : (
|
|
3301
3304
|
// IE11
|
|
3302
3305
|
function() {
|
|
3303
3306
|
for (var e = [], t = 0; t < arguments.length; t++)
|
|
@@ -3311,7 +3314,7 @@ var Ye = Jr ? (
|
|
|
3311
3314
|
}
|
|
3312
3315
|
), Qe = (
|
|
3313
3316
|
// native
|
|
3314
|
-
|
|
3317
|
+
en ? Object.fromEntries : (
|
|
3315
3318
|
// Ponyfill
|
|
3316
3319
|
function(e) {
|
|
3317
3320
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
@@ -3321,7 +3324,7 @@ var Ye = Jr ? (
|
|
|
3321
3324
|
return t;
|
|
3322
3325
|
}
|
|
3323
3326
|
)
|
|
3324
|
-
),
|
|
3327
|
+
), yt = tn ? (
|
|
3325
3328
|
// Native
|
|
3326
3329
|
function(e, t) {
|
|
3327
3330
|
return e.codePointAt(t);
|
|
@@ -3335,7 +3338,7 @@ var Ye = Jr ? (
|
|
|
3335
3338
|
return n < 55296 || n > 56319 || t + 1 === r || (o = e.charCodeAt(t + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
|
|
3336
3339
|
}
|
|
3337
3340
|
}
|
|
3338
|
-
),
|
|
3341
|
+
), ln = rn ? (
|
|
3339
3342
|
// Native
|
|
3340
3343
|
function(e) {
|
|
3341
3344
|
return e.trimStart();
|
|
@@ -3343,9 +3346,9 @@ var Ye = Jr ? (
|
|
|
3343
3346
|
) : (
|
|
3344
3347
|
// Ponyfill
|
|
3345
3348
|
function(e) {
|
|
3346
|
-
return e.replace(
|
|
3349
|
+
return e.replace(Zr, "");
|
|
3347
3350
|
}
|
|
3348
|
-
),
|
|
3351
|
+
), mn = nn ? (
|
|
3349
3352
|
// Native
|
|
3350
3353
|
function(e) {
|
|
3351
3354
|
return e.trimEnd();
|
|
@@ -3353,15 +3356,15 @@ var Ye = Jr ? (
|
|
|
3353
3356
|
) : (
|
|
3354
3357
|
// Ponyfill
|
|
3355
3358
|
function(e) {
|
|
3356
|
-
return e.replace(
|
|
3359
|
+
return e.replace(Jr, "");
|
|
3357
3360
|
}
|
|
3358
3361
|
);
|
|
3359
|
-
function
|
|
3362
|
+
function wt(e, t) {
|
|
3360
3363
|
return new RegExp(e, t);
|
|
3361
3364
|
}
|
|
3362
3365
|
var He;
|
|
3363
3366
|
if (Le) {
|
|
3364
|
-
var et =
|
|
3367
|
+
var et = wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3365
3368
|
He = function(e, t) {
|
|
3366
3369
|
var r;
|
|
3367
3370
|
et.lastIndex = t;
|
|
@@ -3371,14 +3374,14 @@ if (Le) {
|
|
|
3371
3374
|
} else
|
|
3372
3375
|
He = function(e, t) {
|
|
3373
3376
|
for (var r = []; ; ) {
|
|
3374
|
-
var n =
|
|
3375
|
-
if (n === void 0 ||
|
|
3377
|
+
var n = yt(e, t);
|
|
3378
|
+
if (n === void 0 || Et(n) || dn(n))
|
|
3376
3379
|
break;
|
|
3377
3380
|
r.push(n), t += n >= 65536 ? 2 : 1;
|
|
3378
3381
|
}
|
|
3379
3382
|
return Be.apply(void 0, r);
|
|
3380
3383
|
};
|
|
3381
|
-
var
|
|
3384
|
+
var pn = (
|
|
3382
3385
|
/** @class */
|
|
3383
3386
|
function() {
|
|
3384
3387
|
function e(t, r) {
|
|
@@ -3444,8 +3447,8 @@ var mn = (
|
|
|
3444
3447
|
if (this.bumpIf("</")) {
|
|
3445
3448
|
if (this.isEOF() || !Pe(this.char()))
|
|
3446
3449
|
return this.error(T.INVALID_TAG, k(s, this.clonePosition()));
|
|
3447
|
-
var l = this.clonePosition(),
|
|
3448
|
-
return o !==
|
|
3450
|
+
var l = this.clonePosition(), u = this.parseTagName();
|
|
3451
|
+
return o !== u ? this.error(T.UNMATCHED_CLOSING_TAG, k(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3449
3452
|
val: {
|
|
3450
3453
|
type: R.tag,
|
|
3451
3454
|
value: o,
|
|
@@ -3460,7 +3463,7 @@ var mn = (
|
|
|
3460
3463
|
return this.error(T.INVALID_TAG, k(n, this.clonePosition()));
|
|
3461
3464
|
}, e.prototype.parseTagName = function() {
|
|
3462
3465
|
var t = this.offset();
|
|
3463
|
-
for (this.bump(); !this.isEOF() &&
|
|
3466
|
+
for (this.bump(); !this.isEOF() && cn(this.char()); )
|
|
3464
3467
|
this.bump();
|
|
3465
3468
|
return this.message.slice(t, this.offset());
|
|
3466
3469
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3489,7 +3492,7 @@ var mn = (
|
|
|
3489
3492
|
};
|
|
3490
3493
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3491
3494
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3492
|
-
!
|
|
3495
|
+
!un(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3493
3496
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3494
3497
|
if (this.isEOF() || this.char() !== 39)
|
|
3495
3498
|
return null;
|
|
@@ -3570,26 +3573,26 @@ var mn = (
|
|
|
3570
3573
|
case "date":
|
|
3571
3574
|
case "time": {
|
|
3572
3575
|
this.bumpSpace();
|
|
3573
|
-
var
|
|
3576
|
+
var u = null;
|
|
3574
3577
|
if (this.bumpIf(",")) {
|
|
3575
3578
|
this.bumpSpace();
|
|
3576
3579
|
var p = this.clonePosition(), g = this.parseSimpleArgStyleIfPossible();
|
|
3577
3580
|
if (g.err)
|
|
3578
3581
|
return g;
|
|
3579
|
-
var v =
|
|
3582
|
+
var v = mn(g.val);
|
|
3580
3583
|
if (v.length === 0)
|
|
3581
3584
|
return this.error(T.EXPECT_ARGUMENT_STYLE, k(this.clonePosition(), this.clonePosition()));
|
|
3582
3585
|
var E = k(p, this.clonePosition());
|
|
3583
|
-
|
|
3586
|
+
u = { style: v, styleLocation: E };
|
|
3584
3587
|
}
|
|
3585
3588
|
var L = this.tryParseArgumentClose(o);
|
|
3586
3589
|
if (L.err)
|
|
3587
3590
|
return L;
|
|
3588
3591
|
var y = k(o, this.clonePosition());
|
|
3589
|
-
if (
|
|
3590
|
-
var w =
|
|
3592
|
+
if (u && Ye(u == null ? void 0 : u.style, "::", 0)) {
|
|
3593
|
+
var w = ln(u.style.slice(2));
|
|
3591
3594
|
if (s === "number") {
|
|
3592
|
-
var g = this.parseNumberSkeletonFromString(w,
|
|
3595
|
+
var g = this.parseNumberSkeletonFromString(w, u.styleLocation);
|
|
3593
3596
|
return g.err ? g : {
|
|
3594
3597
|
val: { type: R.number, value: n, location: y, style: g.val },
|
|
3595
3598
|
err: null
|
|
@@ -3598,15 +3601,15 @@ var mn = (
|
|
|
3598
3601
|
if (w.length === 0)
|
|
3599
3602
|
return this.error(T.EXPECT_DATE_TIME_SKELETON, y);
|
|
3600
3603
|
var S = w;
|
|
3601
|
-
this.locale && (S =
|
|
3604
|
+
this.locale && (S = Kr(w, this.locale));
|
|
3602
3605
|
var v = {
|
|
3603
3606
|
type: ne.dateTime,
|
|
3604
3607
|
pattern: S,
|
|
3605
|
-
location:
|
|
3606
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3607
|
-
},
|
|
3608
|
+
location: u.styleLocation,
|
|
3609
|
+
parsedOptions: this.shouldParseSkeletons ? Gr(S) : {}
|
|
3610
|
+
}, c = s === "date" ? R.date : R.time;
|
|
3608
3611
|
return {
|
|
3609
|
-
val: { type:
|
|
3612
|
+
val: { type: c, value: n, location: y, style: v },
|
|
3610
3613
|
err: null
|
|
3611
3614
|
};
|
|
3612
3615
|
}
|
|
@@ -3616,7 +3619,7 @@ var mn = (
|
|
|
3616
3619
|
type: s === "number" ? R.number : s === "date" ? R.date : R.time,
|
|
3617
3620
|
value: n,
|
|
3618
3621
|
location: y,
|
|
3619
|
-
style: (i =
|
|
3622
|
+
style: (i = u == null ? void 0 : u.style) !== null && i !== void 0 ? i : null
|
|
3620
3623
|
},
|
|
3621
3624
|
err: null
|
|
3622
3625
|
};
|
|
@@ -3628,17 +3631,17 @@ var mn = (
|
|
|
3628
3631
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3629
3632
|
return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, k(m, _({}, m)));
|
|
3630
3633
|
this.bumpSpace();
|
|
3631
|
-
var
|
|
3632
|
-
if (s !== "select" &&
|
|
3634
|
+
var d = this.parseIdentifierIfPossible(), h = 0;
|
|
3635
|
+
if (s !== "select" && d.value === "offset") {
|
|
3633
3636
|
if (!this.bumpIf(":"))
|
|
3634
3637
|
return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, k(this.clonePosition(), this.clonePosition()));
|
|
3635
3638
|
this.bumpSpace();
|
|
3636
3639
|
var g = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3637
3640
|
if (g.err)
|
|
3638
3641
|
return g;
|
|
3639
|
-
this.bumpSpace(),
|
|
3642
|
+
this.bumpSpace(), d = this.parseIdentifierIfPossible(), h = g.val;
|
|
3640
3643
|
}
|
|
3641
|
-
var f = this.tryParsePluralOrSelectOptions(t, s, r,
|
|
3644
|
+
var f = this.tryParsePluralOrSelectOptions(t, s, r, d);
|
|
3642
3645
|
if (f.err)
|
|
3643
3646
|
return f;
|
|
3644
3647
|
var L = this.tryParseArgumentClose(o);
|
|
@@ -3658,7 +3661,7 @@ var mn = (
|
|
|
3658
3661
|
type: R.plural,
|
|
3659
3662
|
value: n,
|
|
3660
3663
|
options: Qe(f.val),
|
|
3661
|
-
offset:
|
|
3664
|
+
offset: h,
|
|
3662
3665
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3663
3666
|
location: j
|
|
3664
3667
|
},
|
|
@@ -3708,7 +3711,7 @@ var mn = (
|
|
|
3708
3711
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3709
3712
|
var n = [];
|
|
3710
3713
|
try {
|
|
3711
|
-
n =
|
|
3714
|
+
n = Ur(t);
|
|
3712
3715
|
} catch {
|
|
3713
3716
|
return this.error(T.INVALID_NUMBER_SKELETON, r);
|
|
3714
3717
|
}
|
|
@@ -3717,25 +3720,25 @@ var mn = (
|
|
|
3717
3720
|
type: ne.number,
|
|
3718
3721
|
tokens: n,
|
|
3719
3722
|
location: r,
|
|
3720
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3723
|
+
parsedOptions: this.shouldParseSkeletons ? Xr(n) : {}
|
|
3721
3724
|
},
|
|
3722
3725
|
err: null
|
|
3723
3726
|
};
|
|
3724
3727
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, o) {
|
|
3725
|
-
for (var i, a = !1, s = [], l = /* @__PURE__ */ new Set(),
|
|
3726
|
-
if (
|
|
3728
|
+
for (var i, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = o.value, p = o.location; ; ) {
|
|
3729
|
+
if (u.length === 0) {
|
|
3727
3730
|
var g = this.clonePosition();
|
|
3728
3731
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3729
3732
|
var v = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR, T.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3730
3733
|
if (v.err)
|
|
3731
3734
|
return v;
|
|
3732
|
-
p = k(g, this.clonePosition()),
|
|
3735
|
+
p = k(g, this.clonePosition()), u = this.message.slice(g.offset, this.offset());
|
|
3733
3736
|
} else
|
|
3734
3737
|
break;
|
|
3735
3738
|
}
|
|
3736
|
-
if (l.has(
|
|
3739
|
+
if (l.has(u))
|
|
3737
3740
|
return this.error(r === "select" ? T.DUPLICATE_SELECT_ARGUMENT_SELECTOR : T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, p);
|
|
3738
|
-
|
|
3741
|
+
u === "other" && (a = !0), this.bumpSpace();
|
|
3739
3742
|
var E = this.clonePosition();
|
|
3740
3743
|
if (!this.bumpIf("{"))
|
|
3741
3744
|
return this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, k(this.clonePosition(), this.clonePosition()));
|
|
@@ -3746,12 +3749,12 @@ var mn = (
|
|
|
3746
3749
|
if (y.err)
|
|
3747
3750
|
return y;
|
|
3748
3751
|
s.push([
|
|
3749
|
-
|
|
3752
|
+
u,
|
|
3750
3753
|
{
|
|
3751
3754
|
value: L.val,
|
|
3752
3755
|
location: k(E, this.clonePosition())
|
|
3753
3756
|
}
|
|
3754
|
-
]), l.add(
|
|
3757
|
+
]), l.add(u), this.bumpSpace(), i = this.parseIdentifierIfPossible(), u = i.value, p = i.location;
|
|
3755
3758
|
}
|
|
3756
3759
|
return s.length === 0 ? this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR : T.EXPECT_PLURAL_ARGUMENT_SELECTOR, k(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(T.MISSING_OTHER_CLAUSE, k(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3757
3760
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
@@ -3765,7 +3768,7 @@ var mn = (
|
|
|
3765
3768
|
break;
|
|
3766
3769
|
}
|
|
3767
3770
|
var l = k(o, this.clonePosition());
|
|
3768
|
-
return i ? (a *= n,
|
|
3771
|
+
return i ? (a *= n, sn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3769
3772
|
}, e.prototype.offset = function() {
|
|
3770
3773
|
return this.position.offset;
|
|
3771
3774
|
}, e.prototype.isEOF = function() {
|
|
@@ -3780,7 +3783,7 @@ var mn = (
|
|
|
3780
3783
|
var t = this.position.offset;
|
|
3781
3784
|
if (t >= this.message.length)
|
|
3782
3785
|
throw Error("out of bound");
|
|
3783
|
-
var r =
|
|
3786
|
+
var r = yt(this.message, t);
|
|
3784
3787
|
if (r === void 0)
|
|
3785
3788
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3786
3789
|
return r;
|
|
@@ -3821,7 +3824,7 @@ var mn = (
|
|
|
3821
3824
|
break;
|
|
3822
3825
|
}
|
|
3823
3826
|
}, e.prototype.bumpSpace = function() {
|
|
3824
|
-
for (; !this.isEOF() &&
|
|
3827
|
+
for (; !this.isEOF() && Et(this.char()); )
|
|
3825
3828
|
this.bump();
|
|
3826
3829
|
}, e.prototype.peek = function() {
|
|
3827
3830
|
if (this.isEOF())
|
|
@@ -3834,30 +3837,30 @@ var mn = (
|
|
|
3834
3837
|
function Pe(e) {
|
|
3835
3838
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3836
3839
|
}
|
|
3837
|
-
function
|
|
3840
|
+
function un(e) {
|
|
3838
3841
|
return Pe(e) || e === 47;
|
|
3839
3842
|
}
|
|
3840
|
-
function
|
|
3843
|
+
function cn(e) {
|
|
3841
3844
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3842
3845
|
}
|
|
3843
|
-
function
|
|
3846
|
+
function Et(e) {
|
|
3844
3847
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3845
3848
|
}
|
|
3846
|
-
function
|
|
3849
|
+
function dn(e) {
|
|
3847
3850
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3848
3851
|
}
|
|
3849
3852
|
function De(e) {
|
|
3850
3853
|
e.forEach(function(t) {
|
|
3851
|
-
if (delete t.location,
|
|
3854
|
+
if (delete t.location, dt(t) || ht(t))
|
|
3852
3855
|
for (var r in t.options)
|
|
3853
3856
|
delete t.options[r].location, De(t.options[r].value);
|
|
3854
3857
|
else
|
|
3855
|
-
|
|
3858
|
+
pt(t) && gt(t.style) || (ut(t) || ct(t)) && Re(t.style) ? delete t.style.location : ft(t) && De(t.children);
|
|
3856
3859
|
});
|
|
3857
3860
|
}
|
|
3858
3861
|
function hn(e, t) {
|
|
3859
3862
|
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3860
|
-
var r = new
|
|
3863
|
+
var r = new pn(e, t).parse();
|
|
3861
3864
|
if (r.err) {
|
|
3862
3865
|
var n = SyntaxError(T[r.err.kind]);
|
|
3863
3866
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3865,37 +3868,37 @@ function hn(e, t) {
|
|
|
3865
3868
|
return t != null && t.captureLocation || De(r.val), r.val;
|
|
3866
3869
|
}
|
|
3867
3870
|
function $(e, t) {
|
|
3868
|
-
var r = t && t.cache ? t.cache :
|
|
3871
|
+
var r = t && t.cache ? t.cache : bn, n = t && t.serializer ? t.serializer : jn, o = t && t.strategy ? t.strategy : gn;
|
|
3869
3872
|
return o(e, {
|
|
3870
3873
|
cache: r,
|
|
3871
3874
|
serializer: n
|
|
3872
3875
|
});
|
|
3873
3876
|
}
|
|
3874
|
-
function
|
|
3877
|
+
function fn(e) {
|
|
3875
3878
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
3876
3879
|
}
|
|
3877
|
-
function
|
|
3878
|
-
var o =
|
|
3880
|
+
function St(e, t, r, n) {
|
|
3881
|
+
var o = fn(n) ? n : r(n), i = t.get(o);
|
|
3879
3882
|
return typeof i > "u" && (i = e.call(this, n), t.set(o, i)), i;
|
|
3880
3883
|
}
|
|
3881
|
-
function
|
|
3884
|
+
function Tt(e, t, r) {
|
|
3882
3885
|
var n = Array.prototype.slice.call(arguments, 3), o = r(n), i = t.get(o);
|
|
3883
3886
|
return typeof i > "u" && (i = e.apply(this, n), t.set(o, i)), i;
|
|
3884
3887
|
}
|
|
3885
3888
|
function Ie(e, t, r, n, o) {
|
|
3886
3889
|
return r.bind(t, e, n, o);
|
|
3887
3890
|
}
|
|
3888
|
-
function fn(e, t) {
|
|
3889
|
-
var r = e.length === 1 ? Et : St;
|
|
3890
|
-
return Ie(e, this, r, t.cache.create(), t.serializer);
|
|
3891
|
-
}
|
|
3892
3891
|
function gn(e, t) {
|
|
3893
|
-
|
|
3892
|
+
var r = e.length === 1 ? St : Tt;
|
|
3893
|
+
return Ie(e, this, r, t.cache.create(), t.serializer);
|
|
3894
3894
|
}
|
|
3895
3895
|
function vn(e, t) {
|
|
3896
|
-
return Ie(e, this,
|
|
3896
|
+
return Ie(e, this, Tt, t.cache.create(), t.serializer);
|
|
3897
3897
|
}
|
|
3898
|
-
|
|
3898
|
+
function _n(e, t) {
|
|
3899
|
+
return Ie(e, this, St, t.cache.create(), t.serializer);
|
|
3900
|
+
}
|
|
3901
|
+
var jn = function() {
|
|
3899
3902
|
return JSON.stringify(arguments);
|
|
3900
3903
|
};
|
|
3901
3904
|
function Ce() {
|
|
@@ -3907,13 +3910,13 @@ Ce.prototype.get = function(e) {
|
|
|
3907
3910
|
Ce.prototype.set = function(e, t) {
|
|
3908
3911
|
this.cache[e] = t;
|
|
3909
3912
|
};
|
|
3910
|
-
var
|
|
3913
|
+
var bn = {
|
|
3911
3914
|
create: function() {
|
|
3912
3915
|
return new Ce();
|
|
3913
3916
|
}
|
|
3914
3917
|
}, V = {
|
|
3915
|
-
variadic:
|
|
3916
|
-
monadic:
|
|
3918
|
+
variadic: vn,
|
|
3919
|
+
monadic: _n
|
|
3917
3920
|
}, z;
|
|
3918
3921
|
(function(e) {
|
|
3919
3922
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
@@ -3939,7 +3942,7 @@ var J = (
|
|
|
3939
3942
|
}
|
|
3940
3943
|
return t;
|
|
3941
3944
|
}(J)
|
|
3942
|
-
),
|
|
3945
|
+
), yn = (
|
|
3943
3946
|
/** @class */
|
|
3944
3947
|
function(e) {
|
|
3945
3948
|
q(t, e);
|
|
@@ -3948,7 +3951,7 @@ var J = (
|
|
|
3948
3951
|
}
|
|
3949
3952
|
return t;
|
|
3950
3953
|
}(J)
|
|
3951
|
-
),
|
|
3954
|
+
), wn = (
|
|
3952
3955
|
/** @class */
|
|
3953
3956
|
function(e) {
|
|
3954
3957
|
q(t, e);
|
|
@@ -3961,13 +3964,13 @@ var J = (
|
|
|
3961
3964
|
(function(e) {
|
|
3962
3965
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3963
3966
|
})(C || (C = {}));
|
|
3964
|
-
function
|
|
3967
|
+
function En(e) {
|
|
3965
3968
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3966
3969
|
var n = t[t.length - 1];
|
|
3967
3970
|
return !n || n.type !== C.literal || r.type !== C.literal ? t.push(r) : n.value += r.value, t;
|
|
3968
3971
|
}, []);
|
|
3969
3972
|
}
|
|
3970
|
-
function
|
|
3973
|
+
function Sn(e) {
|
|
3971
3974
|
return typeof e == "function";
|
|
3972
3975
|
}
|
|
3973
3976
|
function ge(e, t, r, n, o, i, a) {
|
|
@@ -3978,8 +3981,8 @@ function ge(e, t, r, n, o, i, a) {
|
|
|
3978
3981
|
value: e[0].value
|
|
3979
3982
|
}
|
|
3980
3983
|
];
|
|
3981
|
-
for (var s = [], l = 0,
|
|
3982
|
-
var p =
|
|
3984
|
+
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3985
|
+
var p = u[l];
|
|
3983
3986
|
if (Ke(p)) {
|
|
3984
3987
|
s.push({
|
|
3985
3988
|
type: C.literal,
|
|
@@ -3987,7 +3990,7 @@ function ge(e, t, r, n, o, i, a) {
|
|
|
3987
3990
|
});
|
|
3988
3991
|
continue;
|
|
3989
3992
|
}
|
|
3990
|
-
if (
|
|
3993
|
+
if (Or(p)) {
|
|
3991
3994
|
typeof i == "number" && s.push({
|
|
3992
3995
|
type: C.literal,
|
|
3993
3996
|
value: r.getNumberFormat(t).format(i)
|
|
@@ -3996,16 +3999,16 @@ function ge(e, t, r, n, o, i, a) {
|
|
|
3996
3999
|
}
|
|
3997
4000
|
var g = p.value;
|
|
3998
4001
|
if (!(o && g in o))
|
|
3999
|
-
throw new
|
|
4002
|
+
throw new wn(g, a);
|
|
4000
4003
|
var v = o[g];
|
|
4001
|
-
if (
|
|
4004
|
+
if (Fr(p)) {
|
|
4002
4005
|
(!v || typeof v == "string" || typeof v == "number") && (v = typeof v == "string" || typeof v == "number" ? String(v) : ""), s.push({
|
|
4003
4006
|
type: typeof v == "string" ? C.literal : C.object,
|
|
4004
4007
|
value: v
|
|
4005
4008
|
});
|
|
4006
4009
|
continue;
|
|
4007
4010
|
}
|
|
4008
|
-
if (
|
|
4011
|
+
if (ut(p)) {
|
|
4009
4012
|
var E = typeof p.style == "string" ? n.date[p.style] : Re(p.style) ? p.style.parsedOptions : void 0;
|
|
4010
4013
|
s.push({
|
|
4011
4014
|
type: C.literal,
|
|
@@ -4013,7 +4016,7 @@ function ge(e, t, r, n, o, i, a) {
|
|
|
4013
4016
|
});
|
|
4014
4017
|
continue;
|
|
4015
4018
|
}
|
|
4016
|
-
if (
|
|
4019
|
+
if (ct(p)) {
|
|
4017
4020
|
var E = typeof p.style == "string" ? n.time[p.style] : Re(p.style) ? p.style.parsedOptions : n.time.medium;
|
|
4018
4021
|
s.push({
|
|
4019
4022
|
type: C.literal,
|
|
@@ -4021,29 +4024,29 @@ function ge(e, t, r, n, o, i, a) {
|
|
|
4021
4024
|
});
|
|
4022
4025
|
continue;
|
|
4023
4026
|
}
|
|
4024
|
-
if (
|
|
4025
|
-
var E = typeof p.style == "string" ? n.number[p.style] :
|
|
4027
|
+
if (pt(p)) {
|
|
4028
|
+
var E = typeof p.style == "string" ? n.number[p.style] : gt(p.style) ? p.style.parsedOptions : void 0;
|
|
4026
4029
|
E && E.scale && (v = v * (E.scale || 1)), s.push({
|
|
4027
4030
|
type: C.literal,
|
|
4028
4031
|
value: r.getNumberFormat(t, E).format(v)
|
|
4029
4032
|
});
|
|
4030
4033
|
continue;
|
|
4031
4034
|
}
|
|
4032
|
-
if (
|
|
4035
|
+
if (ft(p)) {
|
|
4033
4036
|
var L = p.children, y = p.value, w = o[y];
|
|
4034
|
-
if (!
|
|
4035
|
-
throw new
|
|
4036
|
-
var S = ge(L, t, r, n, o, i),
|
|
4037
|
-
return
|
|
4037
|
+
if (!Sn(w))
|
|
4038
|
+
throw new yn(y, "function", a);
|
|
4039
|
+
var S = ge(L, t, r, n, o, i), c = w(S.map(function(h) {
|
|
4040
|
+
return h.value;
|
|
4038
4041
|
}));
|
|
4039
|
-
Array.isArray(
|
|
4042
|
+
Array.isArray(c) || (c = [c]), s.push.apply(s, c.map(function(h) {
|
|
4040
4043
|
return {
|
|
4041
|
-
type: typeof
|
|
4042
|
-
value:
|
|
4044
|
+
type: typeof h == "string" ? C.literal : C.object,
|
|
4045
|
+
value: h
|
|
4043
4046
|
};
|
|
4044
4047
|
}));
|
|
4045
4048
|
}
|
|
4046
|
-
if (
|
|
4049
|
+
if (dt(p)) {
|
|
4047
4050
|
var m = p.options[v] || p.options.other;
|
|
4048
4051
|
if (!m)
|
|
4049
4052
|
throw new tt(p.value, v, Object.keys(p.options), a);
|
|
@@ -4057,8 +4060,8 @@ function ge(e, t, r, n, o, i, a) {
|
|
|
4057
4060
|
throw new J(`Intl.PluralRules is not available in this environment.
|
|
4058
4061
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
4059
4062
|
`, z.MISSING_INTL_API, a);
|
|
4060
|
-
var
|
|
4061
|
-
m = p.options[
|
|
4063
|
+
var d = r.getPluralRules(t, { type: p.pluralType }).select(v - (p.offset || 0));
|
|
4064
|
+
m = p.options[d] || p.options.other;
|
|
4062
4065
|
}
|
|
4063
4066
|
if (!m)
|
|
4064
4067
|
throw new tt(p.value, v, Object.keys(p.options), a);
|
|
@@ -4066,16 +4069,16 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
4066
4069
|
continue;
|
|
4067
4070
|
}
|
|
4068
4071
|
}
|
|
4069
|
-
return
|
|
4072
|
+
return En(s);
|
|
4070
4073
|
}
|
|
4071
|
-
function
|
|
4074
|
+
function Tn(e, t) {
|
|
4072
4075
|
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
4073
4076
|
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
|
4074
4077
|
}, {})) : e;
|
|
4075
4078
|
}
|
|
4076
|
-
function
|
|
4079
|
+
function kn(e, t) {
|
|
4077
4080
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
4078
|
-
return r[n] =
|
|
4081
|
+
return r[n] = Tn(e[n], t[n]), r;
|
|
4079
4082
|
}, _({}, e)) : e;
|
|
4080
4083
|
}
|
|
4081
4084
|
function Ee(e) {
|
|
@@ -4092,7 +4095,7 @@ function Ee(e) {
|
|
|
4092
4095
|
}
|
|
4093
4096
|
};
|
|
4094
4097
|
}
|
|
4095
|
-
function
|
|
4098
|
+
function An(e) {
|
|
4096
4099
|
return e === void 0 && (e = {
|
|
4097
4100
|
number: {},
|
|
4098
4101
|
dateTime: {},
|
|
@@ -4124,7 +4127,7 @@ function kn(e) {
|
|
|
4124
4127
|
})
|
|
4125
4128
|
};
|
|
4126
4129
|
}
|
|
4127
|
-
var
|
|
4130
|
+
var kt = (
|
|
4128
4131
|
/** @class */
|
|
4129
4132
|
function() {
|
|
4130
4133
|
function e(t, r, n, o) {
|
|
@@ -4135,10 +4138,10 @@ var Tt = (
|
|
|
4135
4138
|
dateTime: {},
|
|
4136
4139
|
pluralRules: {}
|
|
4137
4140
|
}, this.format = function(l) {
|
|
4138
|
-
var
|
|
4139
|
-
if (
|
|
4140
|
-
return
|
|
4141
|
-
var p =
|
|
4141
|
+
var u = i.formatToParts(l);
|
|
4142
|
+
if (u.length === 1)
|
|
4143
|
+
return u[0].value;
|
|
4144
|
+
var p = u.reduce(function(g, v) {
|
|
4142
4145
|
return !g.length || v.type !== C.literal || typeof g[g.length - 1] != "string" ? g.push(v.value) : g[g.length - 1] += v.value, g;
|
|
4143
4146
|
}, []);
|
|
4144
4147
|
return p.length <= 1 ? p[0] || "" : p;
|
|
@@ -4156,13 +4159,13 @@ var Tt = (
|
|
|
4156
4159
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4157
4160
|
var a = o || {};
|
|
4158
4161
|
a.formatters;
|
|
4159
|
-
var s =
|
|
4162
|
+
var s = xr(a, ["formatters"]);
|
|
4160
4163
|
this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
|
|
4161
4164
|
} else
|
|
4162
4165
|
this.ast = t;
|
|
4163
4166
|
if (!Array.isArray(this.ast))
|
|
4164
4167
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4165
|
-
this.formats =
|
|
4168
|
+
this.formats = kn(e.formats, n), this.formatters = o && o.formatters || An(this.formatterCache);
|
|
4166
4169
|
}
|
|
4167
4170
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4168
4171
|
get: function() {
|
|
@@ -4252,7 +4255,7 @@ var x = (
|
|
|
4252
4255
|
}
|
|
4253
4256
|
return t;
|
|
4254
4257
|
}(Error)
|
|
4255
|
-
),
|
|
4258
|
+
), Rn = (
|
|
4256
4259
|
/** @class */
|
|
4257
4260
|
function(e) {
|
|
4258
4261
|
q(t, e);
|
|
@@ -4261,7 +4264,7 @@ var x = (
|
|
|
4261
4264
|
}
|
|
4262
4265
|
return t;
|
|
4263
4266
|
}(x)
|
|
4264
|
-
),
|
|
4267
|
+
), Ln = (
|
|
4265
4268
|
/** @class */
|
|
4266
4269
|
function(e) {
|
|
4267
4270
|
q(t, e);
|
|
@@ -4304,7 +4307,7 @@ Description: `).concat(o == null ? void 0 : o.description, `
|
|
|
4304
4307
|
}
|
|
4305
4308
|
return t;
|
|
4306
4309
|
}(Ne)
|
|
4307
|
-
),
|
|
4310
|
+
), Bn = (
|
|
4308
4311
|
/** @class */
|
|
4309
4312
|
function(e) {
|
|
4310
4313
|
q(t, e);
|
|
@@ -4323,21 +4326,21 @@ function ee(e, t, r) {
|
|
|
4323
4326
|
return o in e ? n[o] = e[o] : o in r && (n[o] = r[o]), n;
|
|
4324
4327
|
}, {});
|
|
4325
4328
|
}
|
|
4326
|
-
var
|
|
4329
|
+
var Hn = function(e) {
|
|
4327
4330
|
process.env.NODE_ENV !== "production" && console.error(e);
|
|
4328
|
-
},
|
|
4331
|
+
}, Pn = function(e) {
|
|
4329
4332
|
process.env.NODE_ENV !== "production" && console.warn(e);
|
|
4330
|
-
},
|
|
4333
|
+
}, Dn = {
|
|
4331
4334
|
formats: {},
|
|
4332
4335
|
messages: {},
|
|
4333
4336
|
timeZone: void 0,
|
|
4334
4337
|
defaultLocale: "en",
|
|
4335
4338
|
defaultFormats: {},
|
|
4336
4339
|
fallbackOnEmptyString: !0,
|
|
4337
|
-
onError:
|
|
4338
|
-
onWarn:
|
|
4340
|
+
onError: Hn,
|
|
4341
|
+
onWarn: Pn
|
|
4339
4342
|
};
|
|
4340
|
-
function
|
|
4343
|
+
function At() {
|
|
4341
4344
|
return {
|
|
4342
4345
|
dateTime: {},
|
|
4343
4346
|
number: {},
|
|
@@ -4362,25 +4365,25 @@ function Y(e) {
|
|
|
4362
4365
|
}
|
|
4363
4366
|
};
|
|
4364
4367
|
}
|
|
4365
|
-
function
|
|
4366
|
-
e === void 0 && (e =
|
|
4368
|
+
function In(e) {
|
|
4369
|
+
e === void 0 && (e = At());
|
|
4367
4370
|
var t = Intl.RelativeTimeFormat, r = Intl.ListFormat, n = Intl.DisplayNames, o = $(function() {
|
|
4368
|
-
for (var s, l = [],
|
|
4369
|
-
l[
|
|
4371
|
+
for (var s, l = [], u = 0; u < arguments.length; u++)
|
|
4372
|
+
l[u] = arguments[u];
|
|
4370
4373
|
return new ((s = Intl.DateTimeFormat).bind.apply(s, X([void 0], l, !1)))();
|
|
4371
4374
|
}, {
|
|
4372
4375
|
cache: Y(e.dateTime),
|
|
4373
4376
|
strategy: V.variadic
|
|
4374
4377
|
}), i = $(function() {
|
|
4375
|
-
for (var s, l = [],
|
|
4376
|
-
l[
|
|
4378
|
+
for (var s, l = [], u = 0; u < arguments.length; u++)
|
|
4379
|
+
l[u] = arguments[u];
|
|
4377
4380
|
return new ((s = Intl.NumberFormat).bind.apply(s, X([void 0], l, !1)))();
|
|
4378
4381
|
}, {
|
|
4379
4382
|
cache: Y(e.number),
|
|
4380
4383
|
strategy: V.variadic
|
|
4381
4384
|
}), a = $(function() {
|
|
4382
|
-
for (var s, l = [],
|
|
4383
|
-
l[
|
|
4385
|
+
for (var s, l = [], u = 0; u < arguments.length; u++)
|
|
4386
|
+
l[u] = arguments[u];
|
|
4384
4387
|
return new ((s = Intl.PluralRules).bind.apply(s, X([void 0], l, !1)))();
|
|
4385
4388
|
}, {
|
|
4386
4389
|
cache: Y(e.pluralRules),
|
|
@@ -4389,8 +4392,8 @@ function Dn(e) {
|
|
|
4389
4392
|
return {
|
|
4390
4393
|
getDateTimeFormat: o,
|
|
4391
4394
|
getNumberFormat: i,
|
|
4392
|
-
getMessageFormat: $(function(s, l,
|
|
4393
|
-
return new
|
|
4395
|
+
getMessageFormat: $(function(s, l, u, p) {
|
|
4396
|
+
return new kt(s, l, u, _({ formatters: {
|
|
4394
4397
|
getNumberFormat: i,
|
|
4395
4398
|
getDateTimeFormat: o,
|
|
4396
4399
|
getPluralRules: a
|
|
@@ -4430,13 +4433,13 @@ function xe(e, t, r, n) {
|
|
|
4430
4433
|
var o = e && e[t], i;
|
|
4431
4434
|
if (o && (i = o[r]), i)
|
|
4432
4435
|
return i;
|
|
4433
|
-
n(new
|
|
4436
|
+
n(new Rn("No ".concat(t, " format named: ").concat(r)));
|
|
4434
4437
|
}
|
|
4435
|
-
function
|
|
4438
|
+
function Cn(e, t, r) {
|
|
4436
4439
|
if (r === void 0 && (r = Error), !e)
|
|
4437
4440
|
throw new r(t);
|
|
4438
4441
|
}
|
|
4439
|
-
function
|
|
4442
|
+
function he(e, t) {
|
|
4440
4443
|
return Object.keys(e).reduce(function(r, n) {
|
|
4441
4444
|
return r[n] = _({ timeZone: t }, e[n]), r;
|
|
4442
4445
|
}, {});
|
|
@@ -4450,14 +4453,14 @@ function nt(e, t) {
|
|
|
4450
4453
|
function ot(e, t) {
|
|
4451
4454
|
if (!t)
|
|
4452
4455
|
return e;
|
|
4453
|
-
var r =
|
|
4454
|
-
return _(_(_({}, r), e), { date: nt(
|
|
4456
|
+
var r = kt.formats;
|
|
4457
|
+
return _(_(_({}, r), e), { date: nt(he(r.date, t), he(e.date || {}, t)), time: nt(he(r.time, t), he(e.time || {}, t)) });
|
|
4455
4458
|
}
|
|
4456
4459
|
var it = function(e, t, r, n, o) {
|
|
4457
|
-
var i = e.locale, a = e.formats, s = e.messages, l = e.defaultLocale,
|
|
4460
|
+
var i = e.locale, a = e.formats, s = e.messages, l = e.defaultLocale, u = e.defaultFormats, p = e.fallbackOnEmptyString, g = e.onError, v = e.timeZone, E = e.defaultRichTextElements;
|
|
4458
4461
|
r === void 0 && (r = { id: "" });
|
|
4459
4462
|
var L = r.id, y = r.defaultMessage;
|
|
4460
|
-
|
|
4463
|
+
Cn(!!L, "[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");
|
|
4461
4464
|
var w = String(L), S = (
|
|
4462
4465
|
// In case messages is Object.create(null)
|
|
4463
4466
|
// e.g import('foo.json') from webpack)
|
|
@@ -4468,33 +4471,33 @@ var it = function(e, t, r, n, o) {
|
|
|
4468
4471
|
return S[0].value;
|
|
4469
4472
|
if (!n && S && typeof S == "string" && !E)
|
|
4470
4473
|
return S.replace(/'\{(.*?)\}'/gi, "{$1}");
|
|
4471
|
-
if (n = _(_({}, E), n || {}), a = ot(a, v),
|
|
4474
|
+
if (n = _(_({}, E), n || {}), a = ot(a, v), u = ot(u, v), !S) {
|
|
4472
4475
|
if (p === !1 && S === "")
|
|
4473
4476
|
return S;
|
|
4474
|
-
if ((!y || i && i.toLowerCase() !== l.toLowerCase()) && g(new
|
|
4477
|
+
if ((!y || i && i.toLowerCase() !== l.toLowerCase()) && g(new Bn(r, i)), y)
|
|
4475
4478
|
try {
|
|
4476
|
-
var
|
|
4477
|
-
return
|
|
4479
|
+
var c = t.getMessageFormat(y, l, u, o);
|
|
4480
|
+
return c.format(n);
|
|
4478
4481
|
} catch (m) {
|
|
4479
4482
|
return g(new Se('Error formatting default message for: "'.concat(w, '", rendering default message verbatim'), i, r, m)), typeof y == "string" ? y : w;
|
|
4480
4483
|
}
|
|
4481
4484
|
return w;
|
|
4482
4485
|
}
|
|
4483
4486
|
try {
|
|
4484
|
-
var
|
|
4485
|
-
return
|
|
4487
|
+
var c = t.getMessageFormat(S, i, a, _({ formatters: t }, o || {}));
|
|
4488
|
+
return c.format(n);
|
|
4486
4489
|
} catch (m) {
|
|
4487
4490
|
g(new Se('Error formatting message: "'.concat(w, '", using ').concat(y ? "default message" : "id", " as fallback."), i, r, m));
|
|
4488
4491
|
}
|
|
4489
4492
|
if (y)
|
|
4490
4493
|
try {
|
|
4491
|
-
var
|
|
4492
|
-
return
|
|
4494
|
+
var c = t.getMessageFormat(y, l, u, o);
|
|
4495
|
+
return c.format(n);
|
|
4493
4496
|
} catch (m) {
|
|
4494
4497
|
g(new Se('Error formatting the default message for: "'.concat(w, '", rendering message verbatim'), i, r, m));
|
|
4495
4498
|
}
|
|
4496
4499
|
return typeof S == "string" ? S : typeof y == "string" ? y : w;
|
|
4497
|
-
},
|
|
4500
|
+
}, Rt = [
|
|
4498
4501
|
"formatMatcher",
|
|
4499
4502
|
"timeZone",
|
|
4500
4503
|
"hour12",
|
|
@@ -4518,10 +4521,10 @@ var it = function(e, t, r, n, o) {
|
|
|
4518
4521
|
function _e(e, t, r, n) {
|
|
4519
4522
|
var o = e.locale, i = e.formats, a = e.onError, s = e.timeZone;
|
|
4520
4523
|
n === void 0 && (n = {});
|
|
4521
|
-
var l = n.format,
|
|
4524
|
+
var l = n.format, u = _(_({}, s && { timeZone: s }), l && xe(i, t, l, a)), p = ee(n, Rt, u);
|
|
4522
4525
|
return t === "time" && !p.hour && !p.minute && !p.second && !p.timeStyle && !p.dateStyle && (p = _(_({}, p), { hour: "numeric", minute: "numeric" })), r(o, p);
|
|
4523
4526
|
}
|
|
4524
|
-
function
|
|
4527
|
+
function Nn(e, t) {
|
|
4525
4528
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
4526
4529
|
r[n - 2] = arguments[n];
|
|
4527
4530
|
var o = r[0], i = r[1], a = i === void 0 ? {} : i, s = typeof o == "string" ? new Date(o || 0) : o;
|
|
@@ -4532,7 +4535,7 @@ function Cn(e, t) {
|
|
|
4532
4535
|
}
|
|
4533
4536
|
return String(s);
|
|
4534
4537
|
}
|
|
4535
|
-
function
|
|
4538
|
+
function xn(e, t) {
|
|
4536
4539
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
4537
4540
|
r[n - 2] = arguments[n];
|
|
4538
4541
|
var o = r[0], i = r[1], a = i === void 0 ? {} : i, s = typeof o == "string" ? new Date(o || 0) : o;
|
|
@@ -4543,18 +4546,18 @@ function Nn(e, t) {
|
|
|
4543
4546
|
}
|
|
4544
4547
|
return String(s);
|
|
4545
4548
|
}
|
|
4546
|
-
function
|
|
4549
|
+
function Fn(e, t) {
|
|
4547
4550
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
4548
4551
|
r[n - 2] = arguments[n];
|
|
4549
|
-
var o = r[0], i = r[1], a = r[2], s = a === void 0 ? {} : a, l = e.timeZone,
|
|
4552
|
+
var o = r[0], i = r[1], a = r[2], s = a === void 0 ? {} : a, l = e.timeZone, u = e.locale, p = e.onError, g = ee(s, Rt, l ? { timeZone: l } : {});
|
|
4550
4553
|
try {
|
|
4551
|
-
return t(
|
|
4554
|
+
return t(u, g).formatRange(o, i);
|
|
4552
4555
|
} catch (v) {
|
|
4553
4556
|
p(new x(I.FORMAT_ERROR, "Error formatting date time range.", v));
|
|
4554
4557
|
}
|
|
4555
4558
|
return String(o);
|
|
4556
4559
|
}
|
|
4557
|
-
function
|
|
4560
|
+
function On(e, t) {
|
|
4558
4561
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
4559
4562
|
r[n - 2] = arguments[n];
|
|
4560
4563
|
var o = r[0], i = r[1], a = i === void 0 ? {} : i, s = typeof o == "string" ? new Date(o || 0) : o;
|
|
@@ -4565,7 +4568,7 @@ function Fn(e, t) {
|
|
|
4565
4568
|
}
|
|
4566
4569
|
return [];
|
|
4567
4570
|
}
|
|
4568
|
-
function
|
|
4571
|
+
function Mn(e, t) {
|
|
4569
4572
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
4570
4573
|
r[n - 2] = arguments[n];
|
|
4571
4574
|
var o = r[0], i = r[1], a = i === void 0 ? {} : i, s = typeof o == "string" ? new Date(o || 0) : o;
|
|
@@ -4576,56 +4579,56 @@ function On(e, t) {
|
|
|
4576
4579
|
}
|
|
4577
4580
|
return [];
|
|
4578
4581
|
}
|
|
4579
|
-
var
|
|
4582
|
+
var Gn = [
|
|
4580
4583
|
"style",
|
|
4581
4584
|
"type",
|
|
4582
4585
|
"fallback",
|
|
4583
4586
|
"languageDisplay"
|
|
4584
4587
|
];
|
|
4585
|
-
function
|
|
4588
|
+
function qn(e, t, r, n) {
|
|
4586
4589
|
var o = e.locale, i = e.onError, a = Intl.DisplayNames;
|
|
4587
4590
|
a || i(new J(`Intl.DisplayNames is not available in this environment.
|
|
4588
4591
|
Try polyfilling it using "@formatjs/intl-displaynames"
|
|
4589
4592
|
`, z.MISSING_INTL_API));
|
|
4590
|
-
var s = ee(n,
|
|
4593
|
+
var s = ee(n, Gn);
|
|
4591
4594
|
try {
|
|
4592
4595
|
return t(o, s).of(r);
|
|
4593
4596
|
} catch (l) {
|
|
4594
4597
|
i(new x(I.FORMAT_ERROR, "Error formatting display name.", l));
|
|
4595
4598
|
}
|
|
4596
4599
|
}
|
|
4597
|
-
var
|
|
4600
|
+
var Un = [
|
|
4598
4601
|
"type",
|
|
4599
4602
|
"style"
|
|
4600
4603
|
], st = Date.now();
|
|
4601
|
-
function
|
|
4604
|
+
function $n(e) {
|
|
4602
4605
|
return "".concat(st, "_").concat(e, "_").concat(st);
|
|
4603
4606
|
}
|
|
4604
|
-
function
|
|
4607
|
+
function Vn(e, t, r, n) {
|
|
4605
4608
|
n === void 0 && (n = {});
|
|
4606
|
-
var o =
|
|
4609
|
+
var o = Lt(e, t, r, n).reduce(function(i, a) {
|
|
4607
4610
|
var s = a.value;
|
|
4608
4611
|
return typeof s != "string" ? i.push(s) : typeof i[i.length - 1] == "string" ? i[i.length - 1] += s : i.push(s), i;
|
|
4609
4612
|
}, []);
|
|
4610
4613
|
return o.length === 1 ? o[0] : o.length === 0 ? "" : o;
|
|
4611
4614
|
}
|
|
4612
|
-
function
|
|
4615
|
+
function Lt(e, t, r, n) {
|
|
4613
4616
|
var o = e.locale, i = e.onError;
|
|
4614
4617
|
n === void 0 && (n = {});
|
|
4615
4618
|
var a = Intl.ListFormat;
|
|
4616
4619
|
a || i(new J(`Intl.ListFormat is not available in this environment.
|
|
4617
4620
|
Try polyfilling it using "@formatjs/intl-listformat"
|
|
4618
4621
|
`, z.MISSING_INTL_API));
|
|
4619
|
-
var s = ee(n,
|
|
4622
|
+
var s = ee(n, Un);
|
|
4620
4623
|
try {
|
|
4621
|
-
var l = {},
|
|
4624
|
+
var l = {}, u = r.map(function(p, g) {
|
|
4622
4625
|
if (typeof p == "object") {
|
|
4623
|
-
var v =
|
|
4626
|
+
var v = $n(g);
|
|
4624
4627
|
return l[v] = p, v;
|
|
4625
4628
|
}
|
|
4626
4629
|
return String(p);
|
|
4627
4630
|
});
|
|
4628
|
-
return t(o, s).formatToParts(
|
|
4631
|
+
return t(o, s).formatToParts(u).map(function(p) {
|
|
4629
4632
|
return p.type === "literal" ? p : _(_({}, p), { value: l[p.value] || p.value });
|
|
4630
4633
|
});
|
|
4631
4634
|
} catch (p) {
|
|
@@ -4633,13 +4636,13 @@ Try polyfilling it using "@formatjs/intl-listformat"
|
|
|
4633
4636
|
}
|
|
4634
4637
|
return r;
|
|
4635
4638
|
}
|
|
4636
|
-
var
|
|
4637
|
-
function
|
|
4639
|
+
var zn = ["type"];
|
|
4640
|
+
function Xn(e, t, r, n) {
|
|
4638
4641
|
var o = e.locale, i = e.onError;
|
|
4639
4642
|
n === void 0 && (n = {}), Intl.PluralRules || i(new J(`Intl.PluralRules is not available in this environment.
|
|
4640
4643
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
4641
4644
|
`, z.MISSING_INTL_API));
|
|
4642
|
-
var a = ee(n,
|
|
4645
|
+
var a = ee(n, zn);
|
|
4643
4646
|
try {
|
|
4644
4647
|
return t(o, a).select(r);
|
|
4645
4648
|
} catch (s) {
|
|
@@ -4647,27 +4650,27 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
4647
4650
|
}
|
|
4648
4651
|
return "other";
|
|
4649
4652
|
}
|
|
4650
|
-
var
|
|
4651
|
-
function
|
|
4653
|
+
var Kn = ["numeric", "style"];
|
|
4654
|
+
function Wn(e, t, r) {
|
|
4652
4655
|
var n = e.locale, o = e.formats, i = e.onError;
|
|
4653
4656
|
r === void 0 && (r = {});
|
|
4654
|
-
var a = r.format, s = !!a && xe(o, "relative", a, i) || {}, l = ee(r,
|
|
4657
|
+
var a = r.format, s = !!a && xe(o, "relative", a, i) || {}, l = ee(r, Kn, s);
|
|
4655
4658
|
return t(n, l);
|
|
4656
4659
|
}
|
|
4657
|
-
function
|
|
4660
|
+
function Zn(e, t, r, n, o) {
|
|
4658
4661
|
o === void 0 && (o = {}), n || (n = "second");
|
|
4659
4662
|
var i = Intl.RelativeTimeFormat;
|
|
4660
4663
|
i || e.onError(new J(`Intl.RelativeTimeFormat is not available in this environment.
|
|
4661
4664
|
Try polyfilling it using "@formatjs/intl-relativetimeformat"
|
|
4662
4665
|
`, z.MISSING_INTL_API));
|
|
4663
4666
|
try {
|
|
4664
|
-
return
|
|
4667
|
+
return Wn(e, t, o).format(r, n);
|
|
4665
4668
|
} catch (a) {
|
|
4666
4669
|
e.onError(new Ne("Error formatting relative time.", e.locale, a));
|
|
4667
4670
|
}
|
|
4668
4671
|
return String(r);
|
|
4669
4672
|
}
|
|
4670
|
-
var
|
|
4673
|
+
var Jn = [
|
|
4671
4674
|
"style",
|
|
4672
4675
|
"currency",
|
|
4673
4676
|
"currencyDisplay",
|
|
@@ -4689,116 +4692,116 @@ var Zn = [
|
|
|
4689
4692
|
"unitDisplay",
|
|
4690
4693
|
"numberingSystem"
|
|
4691
4694
|
];
|
|
4692
|
-
function
|
|
4695
|
+
function Bt(e, t, r) {
|
|
4693
4696
|
var n = e.locale, o = e.formats, i = e.onError;
|
|
4694
4697
|
r === void 0 && (r = {});
|
|
4695
|
-
var a = r.format, s = a && xe(o, "number", a, i) || {}, l = ee(r,
|
|
4698
|
+
var a = r.format, s = a && xe(o, "number", a, i) || {}, l = ee(r, Jn, s);
|
|
4696
4699
|
return t(n, l);
|
|
4697
4700
|
}
|
|
4698
|
-
function
|
|
4701
|
+
function Yn(e, t, r, n) {
|
|
4699
4702
|
n === void 0 && (n = {});
|
|
4700
4703
|
try {
|
|
4701
|
-
return
|
|
4704
|
+
return Bt(e, t, n).format(r);
|
|
4702
4705
|
} catch (o) {
|
|
4703
4706
|
e.onError(new x(I.FORMAT_ERROR, "Error formatting number.", o));
|
|
4704
4707
|
}
|
|
4705
4708
|
return String(r);
|
|
4706
4709
|
}
|
|
4707
|
-
function
|
|
4710
|
+
function Qn(e, t, r, n) {
|
|
4708
4711
|
n === void 0 && (n = {});
|
|
4709
4712
|
try {
|
|
4710
|
-
return
|
|
4713
|
+
return Bt(e, t, n).formatToParts(r);
|
|
4711
4714
|
} catch (o) {
|
|
4712
4715
|
e.onError(new x(I.FORMAT_ERROR, "Error formatting number.", o));
|
|
4713
4716
|
}
|
|
4714
4717
|
return [];
|
|
4715
4718
|
}
|
|
4716
|
-
function
|
|
4719
|
+
function eo(e) {
|
|
4717
4720
|
var t = e ? e[Object.keys(e)[0]] : void 0;
|
|
4718
4721
|
return typeof t == "string";
|
|
4719
4722
|
}
|
|
4720
|
-
function
|
|
4721
|
-
e.onWarn && e.defaultRichTextElements &&
|
|
4723
|
+
function to(e) {
|
|
4724
|
+
e.onWarn && e.defaultRichTextElements && eo(e.messages || {}) && e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
|
|
4722
4725
|
Please consider using "@formatjs/cli" to pre-compile your messages for performance.
|
|
4723
4726
|
For more details see https://formatjs.io/docs/getting-started/message-distribution`);
|
|
4724
4727
|
}
|
|
4725
|
-
function
|
|
4726
|
-
var r =
|
|
4727
|
-
return o ? !Intl.NumberFormat.supportedLocalesOf(o).length && a ? a(new rt('Missing locale data for locale: "'.concat(o, '" in Intl.NumberFormat. Using default locale: "').concat(i, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : !Intl.DateTimeFormat.supportedLocalesOf(o).length && a && a(new rt('Missing locale data for locale: "'.concat(o, '" in Intl.DateTimeFormat. Using default locale: "').concat(i, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : (a && a(new
|
|
4728
|
+
function ro(e, t) {
|
|
4729
|
+
var r = In(t), n = _(_({}, Dn), e), o = n.locale, i = n.defaultLocale, a = n.onError;
|
|
4730
|
+
return o ? !Intl.NumberFormat.supportedLocalesOf(o).length && a ? a(new rt('Missing locale data for locale: "'.concat(o, '" in Intl.NumberFormat. Using default locale: "').concat(i, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : !Intl.DateTimeFormat.supportedLocalesOf(o).length && a && a(new rt('Missing locale data for locale: "'.concat(o, '" in Intl.DateTimeFormat. Using default locale: "').concat(i, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : (a && a(new Ln('"locale" was not configured, using "'.concat(i, '" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))), n.locale = n.defaultLocale || "en"), to(n), _(_({}, n), {
|
|
4728
4731
|
formatters: r,
|
|
4729
|
-
formatNumber:
|
|
4730
|
-
formatNumberToParts:
|
|
4731
|
-
formatRelativeTime:
|
|
4732
|
-
formatDate:
|
|
4733
|
-
formatDateToParts:
|
|
4734
|
-
formatTime:
|
|
4735
|
-
formatDateTimeRange:
|
|
4736
|
-
formatTimeToParts:
|
|
4737
|
-
formatPlural:
|
|
4732
|
+
formatNumber: Yn.bind(null, n, r.getNumberFormat),
|
|
4733
|
+
formatNumberToParts: Qn.bind(null, n, r.getNumberFormat),
|
|
4734
|
+
formatRelativeTime: Zn.bind(null, n, r.getRelativeTimeFormat),
|
|
4735
|
+
formatDate: Nn.bind(null, n, r.getDateTimeFormat),
|
|
4736
|
+
formatDateToParts: On.bind(null, n, r.getDateTimeFormat),
|
|
4737
|
+
formatTime: xn.bind(null, n, r.getDateTimeFormat),
|
|
4738
|
+
formatDateTimeRange: Fn.bind(null, n, r.getDateTimeFormat),
|
|
4739
|
+
formatTimeToParts: Mn.bind(null, n, r.getDateTimeFormat),
|
|
4740
|
+
formatPlural: Xn.bind(null, n, r.getPluralRules),
|
|
4738
4741
|
// @ts-expect-error TODO: will get to this later
|
|
4739
4742
|
formatMessage: it.bind(null, n, r),
|
|
4740
4743
|
// @ts-expect-error TODO: will get to this later
|
|
4741
4744
|
$t: it.bind(null, n, r),
|
|
4742
|
-
formatList:
|
|
4743
|
-
formatListToParts:
|
|
4744
|
-
formatDisplayName:
|
|
4745
|
+
formatList: Vn.bind(null, n, r.getListFormat),
|
|
4746
|
+
formatListToParts: Lt.bind(null, n, r.getListFormat),
|
|
4747
|
+
formatDisplayName: qn.bind(null, n, r.getDisplayNames)
|
|
4745
4748
|
});
|
|
4746
4749
|
}
|
|
4747
|
-
var
|
|
4750
|
+
var no = ie;
|
|
4748
4751
|
ie.flatten = ie;
|
|
4749
|
-
ie.unflatten =
|
|
4750
|
-
function
|
|
4752
|
+
ie.unflatten = Dt;
|
|
4753
|
+
function Ht(e) {
|
|
4751
4754
|
return e && e.constructor && typeof e.constructor.isBuffer == "function" && e.constructor.isBuffer(e);
|
|
4752
4755
|
}
|
|
4753
|
-
function
|
|
4756
|
+
function Pt(e) {
|
|
4754
4757
|
return e;
|
|
4755
4758
|
}
|
|
4756
4759
|
function ie(e, t) {
|
|
4757
4760
|
t = t || {};
|
|
4758
|
-
const r = t.delimiter || ".", n = t.maxDepth, o = t.transformKey ||
|
|
4759
|
-
function a(s, l,
|
|
4760
|
-
|
|
4761
|
-
const g = s[p], v = t.safe && Array.isArray(g), E = Object.prototype.toString.call(g), L =
|
|
4762
|
-
if (!v && !L && y && Object.keys(g).length && (!t.maxDepth ||
|
|
4763
|
-
return a(g, w,
|
|
4761
|
+
const r = t.delimiter || ".", n = t.maxDepth, o = t.transformKey || Pt, i = {};
|
|
4762
|
+
function a(s, l, u) {
|
|
4763
|
+
u = u || 1, Object.keys(s).forEach(function(p) {
|
|
4764
|
+
const g = s[p], v = t.safe && Array.isArray(g), E = Object.prototype.toString.call(g), L = Ht(g), y = E === "[object Object]" || E === "[object Array]", w = l ? l + r + o(p) : o(p);
|
|
4765
|
+
if (!v && !L && y && Object.keys(g).length && (!t.maxDepth || u < n))
|
|
4766
|
+
return a(g, w, u + 1);
|
|
4764
4767
|
i[w] = g;
|
|
4765
4768
|
});
|
|
4766
4769
|
}
|
|
4767
4770
|
return a(e), i;
|
|
4768
4771
|
}
|
|
4769
|
-
function
|
|
4772
|
+
function Dt(e, t) {
|
|
4770
4773
|
t = t || {};
|
|
4771
|
-
const r = t.delimiter || ".", n = t.overwrite || !1, o = t.transformKey ||
|
|
4772
|
-
if (
|
|
4774
|
+
const r = t.delimiter || ".", n = t.overwrite || !1, o = t.transformKey || Pt, i = {};
|
|
4775
|
+
if (Ht(e) || Object.prototype.toString.call(e) !== "[object Object]")
|
|
4773
4776
|
return e;
|
|
4774
|
-
function a(
|
|
4775
|
-
const p = Number(
|
|
4776
|
-
return isNaN(p) ||
|
|
4777
|
+
function a(u) {
|
|
4778
|
+
const p = Number(u);
|
|
4779
|
+
return isNaN(p) || u.indexOf(".") !== -1 || t.object ? u : p;
|
|
4777
4780
|
}
|
|
4778
|
-
function s(
|
|
4781
|
+
function s(u, p, g) {
|
|
4779
4782
|
return Object.keys(g).reduce(function(v, E) {
|
|
4780
|
-
return v[
|
|
4783
|
+
return v[u + r + E] = g[E], v;
|
|
4781
4784
|
}, p);
|
|
4782
4785
|
}
|
|
4783
|
-
function l(
|
|
4784
|
-
const p = Object.prototype.toString.call(
|
|
4785
|
-
if (
|
|
4786
|
+
function l(u) {
|
|
4787
|
+
const p = Object.prototype.toString.call(u), g = p === "[object Array]", v = p === "[object Object]";
|
|
4788
|
+
if (u) {
|
|
4786
4789
|
if (g)
|
|
4787
|
-
return !
|
|
4790
|
+
return !u.length;
|
|
4788
4791
|
if (v)
|
|
4789
|
-
return !Object.keys(
|
|
4792
|
+
return !Object.keys(u).length;
|
|
4790
4793
|
} else
|
|
4791
4794
|
return !0;
|
|
4792
4795
|
}
|
|
4793
|
-
return e = Object.keys(e).reduce(function(
|
|
4796
|
+
return e = Object.keys(e).reduce(function(u, p) {
|
|
4794
4797
|
const g = Object.prototype.toString.call(e[p]);
|
|
4795
|
-
return !(g === "[object Object]" || g === "[object Array]") || l(e[p]) ? (
|
|
4798
|
+
return !(g === "[object Object]" || g === "[object Array]") || l(e[p]) ? (u[p] = e[p], u) : s(
|
|
4796
4799
|
p,
|
|
4797
|
-
|
|
4800
|
+
u,
|
|
4798
4801
|
ie(e[p], t)
|
|
4799
4802
|
);
|
|
4800
|
-
}, {}), Object.keys(e).forEach(function(
|
|
4801
|
-
const p =
|
|
4803
|
+
}, {}), Object.keys(e).forEach(function(u) {
|
|
4804
|
+
const p = u.split(r).map(o);
|
|
4802
4805
|
let g = a(p.shift()), v = a(p[0]), E = i;
|
|
4803
4806
|
for (; v !== void 0; ) {
|
|
4804
4807
|
if (g === "__proto__")
|
|
@@ -4808,19 +4811,19 @@ function Pt(e, t) {
|
|
|
4808
4811
|
return;
|
|
4809
4812
|
(n && !y || !n && E[g] == null) && (E[g] = typeof v == "number" && !t.object ? [] : {}), E = E[g], p.length > 0 && (g = a(p.shift()), v = a(p[0]));
|
|
4810
4813
|
}
|
|
4811
|
-
E[g] =
|
|
4814
|
+
E[g] = Dt(e[u], t);
|
|
4812
4815
|
}), i;
|
|
4813
4816
|
}
|
|
4814
|
-
const
|
|
4815
|
-
const n =
|
|
4817
|
+
const oo = At(), io = (e, t, r = !1) => {
|
|
4818
|
+
const n = ro(
|
|
4816
4819
|
{
|
|
4817
4820
|
locale: e,
|
|
4818
|
-
messages:
|
|
4821
|
+
messages: no.flatten(t, {
|
|
4819
4822
|
safe: !0
|
|
4820
4823
|
// Preserve arrays
|
|
4821
4824
|
})
|
|
4822
4825
|
},
|
|
4823
|
-
|
|
4826
|
+
oo
|
|
4824
4827
|
);
|
|
4825
4828
|
return {
|
|
4826
4829
|
t: (i, a, s) => n.formatMessage({ id: i }, a, s),
|
|
@@ -4829,7 +4832,7 @@ const no = kt(), oo = (e, t, r = !1) => {
|
|
|
4829
4832
|
...n,
|
|
4830
4833
|
source: t
|
|
4831
4834
|
};
|
|
4832
|
-
},
|
|
4835
|
+
}, so = (e) => G({
|
|
4833
4836
|
name: "I18nT",
|
|
4834
4837
|
props: {
|
|
4835
4838
|
keypath: {
|
|
@@ -4854,29 +4857,29 @@ const no = kt(), oo = (e, t, r = !1) => {
|
|
|
4854
4857
|
return a = a.filter((s) => s !== ""), a.forEach((s, l) => {
|
|
4855
4858
|
if (!s.startsWith("{") && !s.endsWith("}"))
|
|
4856
4859
|
return;
|
|
4857
|
-
const
|
|
4858
|
-
|
|
4859
|
-
}),
|
|
4860
|
+
const u = s.replace(/[\{\}]/g, "");
|
|
4861
|
+
u === "0" && r.default ? a[l] = r.default() : o.includes(u) && r[u] && (a[l] = r[u]());
|
|
4862
|
+
}), $t(t.tag, t, a);
|
|
4860
4863
|
};
|
|
4861
4864
|
}
|
|
4862
|
-
}),
|
|
4865
|
+
}), ao = {
|
|
4863
4866
|
install(e, t) {
|
|
4864
4867
|
const { i18n: r } = t;
|
|
4865
|
-
e.component("I18nT",
|
|
4868
|
+
e.component("I18nT", so(r));
|
|
4866
4869
|
}
|
|
4867
|
-
}, ao = {
|
|
4868
|
-
error: "Error: Markdown content missing"
|
|
4869
4870
|
}, lo = {
|
|
4870
|
-
|
|
4871
|
+
error: "Error: Markdown content missing"
|
|
4872
|
+
}, mo = {
|
|
4873
|
+
documentViewer: lo
|
|
4871
4874
|
};
|
|
4872
|
-
function
|
|
4875
|
+
function po() {
|
|
4873
4876
|
return {
|
|
4874
|
-
i18n:
|
|
4875
|
-
i18nT:
|
|
4877
|
+
i18n: io("en-us", mo),
|
|
4878
|
+
i18nT: ao
|
|
4876
4879
|
// Translation component <i18n-t>
|
|
4877
4880
|
};
|
|
4878
4881
|
}
|
|
4879
|
-
function
|
|
4882
|
+
function uo() {
|
|
4880
4883
|
return {
|
|
4881
4884
|
hasRequiredProps: (t, r) => {
|
|
4882
4885
|
let n = !0;
|
|
@@ -4888,35 +4891,36 @@ function po() {
|
|
|
4888
4891
|
}
|
|
4889
4892
|
};
|
|
4890
4893
|
}
|
|
4891
|
-
const
|
|
4892
|
-
useI18n:
|
|
4893
|
-
useUtilities:
|
|
4894
|
+
const co = {
|
|
4895
|
+
useI18n: po,
|
|
4896
|
+
useUtilities: uo
|
|
4894
4897
|
};
|
|
4895
|
-
function
|
|
4898
|
+
function ho(e, t = "") {
|
|
4896
4899
|
return e.toLowerCase().trim().replace(/ /g, "-").replace(/[^\w-]+/g, "") + t;
|
|
4897
4900
|
}
|
|
4898
|
-
function
|
|
4901
|
+
function fo(e) {
|
|
4899
4902
|
if (!e)
|
|
4900
4903
|
return e;
|
|
4901
4904
|
const t = /* @__PURE__ */ new Map();
|
|
4902
|
-
return e.map((r) => r
|
|
4905
|
+
return e.map((r) => Vt(r) ? go(r, t) : r);
|
|
4903
4906
|
}
|
|
4904
|
-
function
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4907
|
+
function go(e, t, r = "doc-heading-") {
|
|
4908
|
+
var u;
|
|
4909
|
+
const n = (u = e.children) == null ? void 0 : u[0], o = `level-${e.level}`, i = lt(n) && n.text || o, a = t.get(i);
|
|
4910
|
+
t.set(i, (a || 0) + 1);
|
|
4911
|
+
const s = a && a > 1 ? `-${a}` : "", l = r + ho(i, s);
|
|
4908
4912
|
return {
|
|
4909
4913
|
...e,
|
|
4910
|
-
slug:
|
|
4914
|
+
slug: l
|
|
4911
4915
|
};
|
|
4912
4916
|
}
|
|
4913
|
-
const
|
|
4917
|
+
const vo = {
|
|
4914
4918
|
class: "document-viewer",
|
|
4915
4919
|
"data-testid": "document-viewer"
|
|
4916
|
-
},
|
|
4920
|
+
}, _o = {
|
|
4917
4921
|
key: 1,
|
|
4918
4922
|
"data-testid": "document-viewer-error"
|
|
4919
|
-
},
|
|
4923
|
+
}, jo = /* @__PURE__ */ G({
|
|
4920
4924
|
__name: "DocumentViewer",
|
|
4921
4925
|
props: {
|
|
4922
4926
|
document: {
|
|
@@ -4926,24 +4930,25 @@ const go = {
|
|
|
4926
4930
|
},
|
|
4927
4931
|
setup(e) {
|
|
4928
4932
|
var a;
|
|
4929
|
-
const t = e, { i18n: r } =
|
|
4933
|
+
const t = e, { i18n: r } = co.useI18n(), n = Te(() => !!t.document), o = fo((a = t.document) == null ? void 0 : a.children), i = () => {
|
|
4930
4934
|
var s;
|
|
4931
|
-
return (s = t.document) != null && s.children ?
|
|
4935
|
+
return (s = t.document) != null && s.children ? mt(o) : null;
|
|
4932
4936
|
};
|
|
4933
|
-
return (s, l) => (H(), N("div",
|
|
4934
|
-
K(n) ? (H(), Q(i, { key: 0 })) : (H(), N("div",
|
|
4937
|
+
return (s, l) => (H(), N("div", vo, [
|
|
4938
|
+
K(n) ? (H(), Q(i, { key: 0 })) : (H(), N("div", _o, at(K(r).t("docViewer.error")), 1))
|
|
4935
4939
|
]));
|
|
4936
4940
|
}
|
|
4937
4941
|
});
|
|
4938
|
-
const
|
|
4942
|
+
const yo = /* @__PURE__ */ O(jo, [["__scopeId", "data-v-6607def2"]]);
|
|
4939
4943
|
export {
|
|
4940
|
-
|
|
4944
|
+
yo as D,
|
|
4941
4945
|
re as T,
|
|
4942
4946
|
fe as a,
|
|
4943
|
-
|
|
4947
|
+
Vt as b,
|
|
4944
4948
|
ze as c,
|
|
4945
4949
|
fo as d,
|
|
4946
|
-
|
|
4947
|
-
|
|
4950
|
+
go as e,
|
|
4951
|
+
lt as i,
|
|
4952
|
+
ho as t
|
|
4948
4953
|
};
|
|
4949
|
-
//# sourceMappingURL=index-
|
|
4954
|
+
//# sourceMappingURL=index-04928e0d.js.map
|