@kong-ui-public/documentation 0.1.21 → 0.1.23

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.
@@ -1,9 +1,9 @@
1
- import { defineComponent as G, openBlock as v, createBlock as F, resolveDynamicComponent as Y, unref as y, withCtx as q, createElementVNode as N, renderSlot as z, normalizeClass as _e, computed as L, createElementBlock as C, toDisplayString as E, createVNode as R, mergeProps as ke, ref as U, Fragment as et, createTextVNode as O, createCommentVNode as H, watch as ge, resolveComponent as $, pushScopeId as fe, popScopeId as he, normalizeStyle as Ge, reactive as tt, onMounted as nt, Teleport as rt, createSlots as je } from "vue";
2
- import { createI18n as Oe, Translation as Me } from "@kong-ui-public/i18n";
1
+ import { defineComponent as q, openBlock as v, createBlock as I, resolveDynamicComponent as Q, unref as _, withCtx as F, createElementVNode as O, renderSlot as V, normalizeClass as Se, computed as j, createElementBlock as $, toDisplayString as P, createVNode as T, mergeProps as ke, ref as Z, Fragment as Xe, createTextVNode as M, createCommentVNode as U, watch as ge, resolveComponent as B, pushScopeId as fe, popScopeId as he, normalizeStyle as Be, reactive as Qe, onMounted as et, Teleport as tt, createSlots as Ce } from "vue";
2
+ import { createI18n as qe, Translation as Me } from "@kong-ui-public/i18n";
3
3
  import "axios";
4
4
  import "@kong/kongponents";
5
5
  import "vue-router";
6
- const at = {
6
+ const nt = {
7
7
  common: {
8
8
  published: "Published",
9
9
  unpublished: "Unpublished"
@@ -46,60 +46,55 @@ const at = {
46
46
  ctaText: "New Page"
47
47
  }
48
48
  }
49
- }, it = {
50
- documentation: at
49
+ }, at = {
50
+ documentation: nt
51
51
  };
52
- function ot() {
52
+ function rt() {
53
53
  return {
54
- i18n: Oe("en-us", it),
54
+ i18n: qe("en-us", at),
55
55
  i18nT: Me
56
56
  // Translation component <i18n-t>
57
57
  };
58
58
  }
59
59
  const Ae = {
60
- useI18n: ot
60
+ useI18n: rt
61
61
  };
62
- var Z = /* @__PURE__ */ ((e) => (e.header = "header", e.body = "body", e.footer = "footer", e))(Z || {}), pe = /* @__PURE__ */ ((e) => (e.left = "left", e.center = "center", e.right = "right", e))(pe || {});
63
- function lt(e) {
62
+ var X = /* @__PURE__ */ ((e) => (e.header = "header", e.body = "body", e.footer = "footer", e))(X || {}), pe = /* @__PURE__ */ ((e) => (e.left = "left", e.center = "center", e.right = "right", e))(pe || {});
63
+ function ot(e) {
64
64
  return (e == null ? void 0 : e.type) === "table_header";
65
65
  }
66
- function st(e) {
66
+ function it(e) {
67
67
  return (e == null ? void 0 : e.type) === "text";
68
68
  }
69
- function ut(e) {
69
+ function lt(e) {
70
70
  return (e == null ? void 0 : e.type) === "heading";
71
71
  }
72
- function ct(e) {
72
+ function st(e) {
73
73
  return (e == null ? void 0 : e.type) === "list";
74
74
  }
75
- const B = (e, n) => {
75
+ const K = (e, n) => {
76
76
  const t = e.__vccOpts || e;
77
- for (const [a, r] of n)
78
- t[a] = r;
77
+ for (const [r, a] of n)
78
+ t[r] = a;
79
79
  return t;
80
- }, dt = {};
81
- function pt(e, n) {
82
- return v(), C("blockquote", null, [
83
- z(e.$slots, "default", {}, void 0, !0)
80
+ }, ut = {};
81
+ function ct(e, n) {
82
+ return v(), $("blockquote", null, [
83
+ V(e.$slots, "default", {}, void 0, !0)
84
84
  ]);
85
85
  }
86
- const mt = /* @__PURE__ */ B(dt, [["render", pt], ["__scopeId", "data-v-afdbfde6"]]), gt = {};
87
- function ft(e, n) {
88
- return v(), C("code", null, [
89
- z(e.$slots, "default", {}, void 0, !0)
86
+ const dt = /* @__PURE__ */ K(ut, [["render", ct], ["__scopeId", "data-v-afdbfde6"]]), pt = {};
87
+ function mt(e, n) {
88
+ return v(), $("code", null, [
89
+ V(e.$slots, "default", {}, void 0, !0)
90
90
  ]);
91
91
  }
92
- const ht = /* @__PURE__ */ B(gt, [["render", ft], ["__scopeId", "data-v-cbde41ab"]]);
93
- var Fe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
94
- function vt(e) {
92
+ const gt = /* @__PURE__ */ K(pt, [["render", mt], ["__scopeId", "data-v-cbde41ab"]]);
93
+ var Ie = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
94
+ function ft(e) {
95
95
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
96
96
  }
97
- var Be = { exports: {} };
98
- (function(e) {
99
- var n = { 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" } } };
100
- e.exports && (e.exports = n);
101
- })(Be);
102
- var Re = Be.exports, ze = { exports: {} };
97
+ var ze = { exports: {} };
103
98
  (function(e) {
104
99
  var n = typeof window < "u" ? window : typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope ? self : {};
105
100
  /**
@@ -110,8 +105,8 @@ var Re = Be.exports, ze = { exports: {} };
110
105
  * @namespace
111
106
  * @public
112
107
  */
113
- var t = function(a) {
114
- var r = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, c = 0, s = {}, l = {
108
+ var t = function(r) {
109
+ var a = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, c = 0, s = {}, o = {
115
110
  /**
116
111
  * By default, Prism will attempt to highlight all code elements (by calling {@link Prism.highlightAll}) on the
117
112
  * current page after the page finished loading. This might be a problem if e.g. you wanted to asynchronously load
@@ -133,7 +128,7 @@ var Re = Be.exports, ze = { exports: {} };
133
128
  * @memberof Prism
134
129
  * @public
135
130
  */
136
- manual: a.Prism && a.Prism.manual,
131
+ manual: r.Prism && r.Prism.manual,
137
132
  /**
138
133
  * By default, if Prism is in a web worker, it assumes that it is in a worker it created itself, so it uses
139
134
  * `addEventListener` to communicate with its parent instance. However, if you're using Prism manually in your
@@ -155,7 +150,7 @@ var Re = Be.exports, ze = { exports: {} };
155
150
  * @memberof Prism
156
151
  * @public
157
152
  */
158
- disableWorkerMessageHandler: a.Prism && a.Prism.disableWorkerMessageHandler,
153
+ disableWorkerMessageHandler: r.Prism && r.Prism.disableWorkerMessageHandler,
159
154
  /**
160
155
  * A namespace for utility methods.
161
156
  *
@@ -166,8 +161,8 @@ var Re = Be.exports, ze = { exports: {} };
166
161
  * @memberof Prism
167
162
  */
168
163
  util: {
169
- encode: function i(o) {
170
- return o instanceof g ? new g(o.type, i(o.content), o.alias) : Array.isArray(o) ? o.map(i) : o.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/\u00a0/g, " ");
164
+ encode: function i(l) {
165
+ return l instanceof h ? new h(l.type, i(l.content), l.alias) : Array.isArray(l) ? l.map(i) : l.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/\u00a0/g, " ");
171
166
  },
172
167
  /**
173
168
  * Returns the name of the type of the given value.
@@ -207,30 +202,30 @@ var Re = Be.exports, ze = { exports: {} };
207
202
  * @returns {T}
208
203
  * @template T
209
204
  */
210
- clone: function i(o, u) {
205
+ clone: function i(l, u) {
211
206
  u = u || {};
212
207
  var d, p;
213
- switch (l.util.type(o)) {
208
+ switch (o.util.type(l)) {
214
209
  case "Object":
215
- if (p = l.util.objId(o), u[p])
210
+ if (p = o.util.objId(l), u[p])
216
211
  return u[p];
217
212
  d = /** @type {Record<string, any>} */
218
213
  {}, u[p] = d;
219
- for (var m in o)
220
- o.hasOwnProperty(m) && (d[m] = i(o[m], u));
214
+ for (var m in l)
215
+ l.hasOwnProperty(m) && (d[m] = i(l[m], u));
221
216
  return (
222
217
  /** @type {any} */
223
218
  d
224
219
  );
225
220
  case "Array":
226
- return p = l.util.objId(o), u[p] ? u[p] : (d = [], u[p] = d, /** @type {Array} */
221
+ return p = o.util.objId(l), u[p] ? u[p] : (d = [], u[p] = d, /** @type {Array} */
227
222
  /** @type {any} */
228
- o.forEach(function(w, f) {
229
- d[f] = i(w, u);
223
+ l.forEach(function(b, g) {
224
+ d[g] = i(b, u);
230
225
  }), /** @type {any} */
231
226
  d);
232
227
  default:
233
- return o;
228
+ return l;
234
229
  }
235
230
  },
236
231
  /**
@@ -243,9 +238,9 @@ var Re = Be.exports, ze = { exports: {} };
243
238
  */
244
239
  getLanguage: function(i) {
245
240
  for (; i; ) {
246
- var o = r.exec(i.className);
247
- if (o)
248
- return o[1].toLowerCase();
241
+ var l = a.exec(i.className);
242
+ if (l)
243
+ return l[1].toLowerCase();
249
244
  i = i.parentElement;
250
245
  }
251
246
  return "none";
@@ -257,8 +252,8 @@ var Re = Be.exports, ze = { exports: {} };
257
252
  * @param {string} language
258
253
  * @returns {void}
259
254
  */
260
- setLanguage: function(i, o) {
261
- i.className = i.className.replace(RegExp(r, "gi"), ""), i.classList.add("language-" + o);
255
+ setLanguage: function(i, l) {
256
+ i.className = i.className.replace(RegExp(a, "gi"), ""), i.classList.add("language-" + l);
262
257
  },
263
258
  /**
264
259
  * Returns the script element that is currently executing.
@@ -280,10 +275,10 @@ var Re = Be.exports, ze = { exports: {} };
280
275
  } catch (d) {
281
276
  var i = (/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(d.stack) || [])[1];
282
277
  if (i) {
283
- var o = document.getElementsByTagName("script");
284
- for (var u in o)
285
- if (o[u].src == i)
286
- return o[u];
278
+ var l = document.getElementsByTagName("script");
279
+ for (var u in l)
280
+ if (l[u].src == i)
281
+ return l[u];
287
282
  }
288
283
  return null;
289
284
  }
@@ -307,10 +302,10 @@ var Re = Be.exports, ze = { exports: {} };
307
302
  * @param {boolean} [defaultActivation=false]
308
303
  * @returns {boolean}
309
304
  */
310
- isActive: function(i, o, u) {
311
- for (var d = "no-" + o; i; ) {
305
+ isActive: function(i, l, u) {
306
+ for (var d = "no-" + l; i; ) {
312
307
  var p = i.classList;
313
- if (p.contains(o))
308
+ if (p.contains(l))
314
309
  return !0;
315
310
  if (p.contains(d))
316
311
  return !1;
@@ -362,10 +357,10 @@ var Re = Be.exports, ze = { exports: {} };
362
357
  * 'color': /\b(?:red|green|blue)\b/
363
358
  * });
364
359
  */
365
- extend: function(i, o) {
366
- var u = l.util.clone(l.languages[i]);
367
- for (var d in o)
368
- u[d] = o[d];
360
+ extend: function(i, l) {
361
+ var u = o.util.clone(o.languages[i]);
362
+ for (var d in l)
363
+ u[d] = l[d];
369
364
  return u;
370
365
  },
371
366
  /**
@@ -443,31 +438,31 @@ var Re = Be.exports, ze = { exports: {} };
443
438
  * @returns {Grammar} The new grammar object.
444
439
  * @public
445
440
  */
446
- insertBefore: function(i, o, u, d) {
441
+ insertBefore: function(i, l, u, d) {
447
442
  d = d || /** @type {any} */
448
- l.languages;
443
+ o.languages;
449
444
  var p = d[i], m = {};
450
- for (var w in p)
451
- if (p.hasOwnProperty(w)) {
452
- if (w == o)
453
- for (var f in u)
454
- u.hasOwnProperty(f) && (m[f] = u[f]);
455
- u.hasOwnProperty(w) || (m[w] = p[w]);
445
+ for (var b in p)
446
+ if (p.hasOwnProperty(b)) {
447
+ if (b == l)
448
+ for (var g in u)
449
+ u.hasOwnProperty(g) && (m[g] = u[g]);
450
+ u.hasOwnProperty(b) || (m[b] = p[b]);
456
451
  }
457
- var _ = d[i];
458
- return d[i] = m, l.languages.DFS(l.languages, function(j, I) {
459
- I === _ && j != i && (this[j] = m);
452
+ var w = d[i];
453
+ return d[i] = m, o.languages.DFS(o.languages, function(C, D) {
454
+ D === w && C != i && (this[C] = m);
460
455
  }), m;
461
456
  },
462
457
  // Traverse a language definition with Depth First Search
463
- DFS: function i(o, u, d, p) {
458
+ DFS: function i(l, u, d, p) {
464
459
  p = p || {};
465
- var m = l.util.objId;
466
- for (var w in o)
467
- if (o.hasOwnProperty(w)) {
468
- u.call(o, w, o[w], d || w);
469
- var f = o[w], _ = l.util.type(f);
470
- _ === "Object" && !p[m(f)] ? (p[m(f)] = !0, i(f, u, null, p)) : _ === "Array" && !p[m(f)] && (p[m(f)] = !0, i(f, u, w, p));
460
+ var m = o.util.objId;
461
+ for (var b in l)
462
+ if (l.hasOwnProperty(b)) {
463
+ u.call(l, b, l[b], d || b);
464
+ var g = l[b], w = o.util.type(g);
465
+ w === "Object" && !p[m(g)] ? (p[m(g)] = !0, i(g, u, null, p)) : w === "Array" && !p[m(g)] && (p[m(g)] = !0, i(g, u, b, p));
471
466
  }
472
467
  }
473
468
  },
@@ -484,8 +479,8 @@ var Re = Be.exports, ze = { exports: {} };
484
479
  * @memberof Prism
485
480
  * @public
486
481
  */
487
- highlightAll: function(i, o) {
488
- l.highlightAllUnder(document, i, o);
482
+ highlightAll: function(i, l) {
483
+ o.highlightAllUnder(document, i, l);
489
484
  },
490
485
  /**
491
486
  * Fetches all the descendants of `container` that have a `.language-xxxx` class and then calls
@@ -502,15 +497,15 @@ var Re = Be.exports, ze = { exports: {} };
502
497
  * @memberof Prism
503
498
  * @public
504
499
  */
505
- highlightAllUnder: function(i, o, u) {
500
+ highlightAllUnder: function(i, l, u) {
506
501
  var d = {
507
502
  callback: u,
508
503
  container: i,
509
504
  selector: 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'
510
505
  };
511
- l.hooks.run("before-highlightall", d), d.elements = Array.prototype.slice.apply(d.container.querySelectorAll(d.selector)), l.hooks.run("before-all-elements-highlight", d);
506
+ o.hooks.run("before-highlightall", d), d.elements = Array.prototype.slice.apply(d.container.querySelectorAll(d.selector)), o.hooks.run("before-all-elements-highlight", d);
512
507
  for (var p = 0, m; m = d.elements[p++]; )
513
- l.highlightElement(m, o === !0, d.callback);
508
+ o.highlightElement(m, l === !0, d.callback);
514
509
  },
515
510
  /**
516
511
  * Highlights the code inside a single element.
@@ -540,39 +535,39 @@ var Re = Be.exports, ze = { exports: {} };
540
535
  * @memberof Prism
541
536
  * @public
542
537
  */
543
- highlightElement: function(i, o, u) {
544
- var d = l.util.getLanguage(i), p = l.languages[d];
545
- l.util.setLanguage(i, d);
538
+ highlightElement: function(i, l, u) {
539
+ var d = o.util.getLanguage(i), p = o.languages[d];
540
+ o.util.setLanguage(i, d);
546
541
  var m = i.parentElement;
547
- m && m.nodeName.toLowerCase() === "pre" && l.util.setLanguage(m, d);
548
- var w = i.textContent, f = {
542
+ m && m.nodeName.toLowerCase() === "pre" && o.util.setLanguage(m, d);
543
+ var b = i.textContent, g = {
549
544
  element: i,
550
545
  language: d,
551
546
  grammar: p,
552
- code: w
547
+ code: b
553
548
  };
554
- function _(I) {
555
- f.highlightedCode = I, l.hooks.run("before-insert", f), f.element.innerHTML = f.highlightedCode, l.hooks.run("after-highlight", f), l.hooks.run("complete", f), u && u.call(f.element);
549
+ function w(D) {
550
+ g.highlightedCode = D, o.hooks.run("before-insert", g), g.element.innerHTML = g.highlightedCode, o.hooks.run("after-highlight", g), o.hooks.run("complete", g), u && u.call(g.element);
556
551
  }
557
- if (l.hooks.run("before-sanity-check", f), m = f.element.parentElement, m && m.nodeName.toLowerCase() === "pre" && !m.hasAttribute("tabindex") && m.setAttribute("tabindex", "0"), !f.code) {
558
- l.hooks.run("complete", f), u && u.call(f.element);
552
+ if (o.hooks.run("before-sanity-check", g), m = g.element.parentElement, m && m.nodeName.toLowerCase() === "pre" && !m.hasAttribute("tabindex") && m.setAttribute("tabindex", "0"), !g.code) {
553
+ o.hooks.run("complete", g), u && u.call(g.element);
559
554
  return;
560
555
  }
561
- if (l.hooks.run("before-highlight", f), !f.grammar) {
562
- _(l.util.encode(f.code));
556
+ if (o.hooks.run("before-highlight", g), !g.grammar) {
557
+ w(o.util.encode(g.code));
563
558
  return;
564
559
  }
565
- if (o && a.Worker) {
566
- var j = new Worker(l.filename);
567
- j.onmessage = function(I) {
568
- _(I.data);
569
- }, j.postMessage(JSON.stringify({
570
- language: f.language,
571
- code: f.code,
560
+ if (l && r.Worker) {
561
+ var C = new Worker(o.filename);
562
+ C.onmessage = function(D) {
563
+ w(D.data);
564
+ }, C.postMessage(JSON.stringify({
565
+ language: g.language,
566
+ code: g.code,
572
567
  immediateClose: !0
573
568
  }));
574
569
  } else
575
- _(l.highlight(f.code, f.grammar, f.language));
570
+ w(o.highlight(g.code, g.grammar, g.language));
576
571
  },
577
572
  /**
578
573
  * Low-level function, only use if you know what you’re doing. It accepts a string of text as input
@@ -594,15 +589,15 @@ var Re = Be.exports, ze = { exports: {} };
594
589
  * @example
595
590
  * Prism.highlight('var foo = true;', Prism.languages.javascript, 'javascript');
596
591
  */
597
- highlight: function(i, o, u) {
592
+ highlight: function(i, l, u) {
598
593
  var d = {
599
594
  code: i,
600
- grammar: o,
595
+ grammar: l,
601
596
  language: u
602
597
  };
603
- if (l.hooks.run("before-tokenize", d), !d.grammar)
598
+ if (o.hooks.run("before-tokenize", d), !d.grammar)
604
599
  throw new Error('The language "' + d.language + '" has no grammar.');
605
- return d.tokens = l.tokenize(d.code, d.grammar), l.hooks.run("after-tokenize", d), g.stringify(l.util.encode(d.tokens), d.language);
600
+ return d.tokens = o.tokenize(d.code, d.grammar), o.hooks.run("after-tokenize", d), h.stringify(o.util.encode(d.tokens), d.language);
606
601
  },
607
602
  /**
608
603
  * This is the heart of Prism, and the most low-level function you can use. It accepts a string of text as input
@@ -628,15 +623,15 @@ var Re = Be.exports, ze = { exports: {} };
628
623
  * }
629
624
  * });
630
625
  */
631
- tokenize: function(i, o) {
632
- var u = o.rest;
626
+ tokenize: function(i, l) {
627
+ var u = l.rest;
633
628
  if (u) {
634
629
  for (var d in u)
635
- o[d] = u[d];
636
- delete o.rest;
630
+ l[d] = u[d];
631
+ delete l.rest;
637
632
  }
638
- var p = new k();
639
- return P(p, p.head, i), A(i, p, o, p.head, 0), x(p);
633
+ var p = new S();
634
+ return L(p, p.head, i), E(i, p, l, p.head, 0), k(p);
640
635
  },
641
636
  /**
642
637
  * @namespace
@@ -657,9 +652,9 @@ var Re = Be.exports, ze = { exports: {} };
657
652
  * @param {HookCallback} callback The callback function which is given environment variables.
658
653
  * @public
659
654
  */
660
- add: function(i, o) {
661
- var u = l.hooks.all;
662
- u[i] = u[i] || [], u[i].push(o);
655
+ add: function(i, l) {
656
+ var u = o.hooks.all;
657
+ u[i] = u[i] || [], u[i].push(l);
663
658
  },
664
659
  /**
665
660
  * Runs a hook invoking all registered callbacks with the given environment variables.
@@ -670,44 +665,44 @@ var Re = Be.exports, ze = { exports: {} };
670
665
  * @param {Object<string, any>} env The environment variables of the hook passed to all callbacks registered.
671
666
  * @public
672
667
  */
673
- run: function(i, o) {
674
- var u = l.hooks.all[i];
668
+ run: function(i, l) {
669
+ var u = o.hooks.all[i];
675
670
  if (!(!u || !u.length))
676
671
  for (var d = 0, p; p = u[d++]; )
677
- p(o);
672
+ p(l);
678
673
  }
679
674
  },
680
- Token: g
675
+ Token: h
681
676
  };
682
- a.Prism = l;
683
- function g(i, o, u, d) {
684
- this.type = i, this.content = o, this.alias = u, this.length = (d || "").length | 0;
677
+ r.Prism = o;
678
+ function h(i, l, u, d) {
679
+ this.type = i, this.content = l, this.alias = u, this.length = (d || "").length | 0;
685
680
  }
686
- g.stringify = function i(o, u) {
687
- if (typeof o == "string")
688
- return o;
689
- if (Array.isArray(o)) {
681
+ h.stringify = function i(l, u) {
682
+ if (typeof l == "string")
683
+ return l;
684
+ if (Array.isArray(l)) {
690
685
  var d = "";
691
- return o.forEach(function(_) {
692
- d += i(_, u);
686
+ return l.forEach(function(w) {
687
+ d += i(w, u);
693
688
  }), d;
694
689
  }
695
690
  var p = {
696
- type: o.type,
697
- content: i(o.content, u),
691
+ type: l.type,
692
+ content: i(l.content, u),
698
693
  tag: "span",
699
- classes: ["token", o.type],
694
+ classes: ["token", l.type],
700
695
  attributes: {},
701
696
  language: u
702
- }, m = o.alias;
703
- m && (Array.isArray(m) ? Array.prototype.push.apply(p.classes, m) : p.classes.push(m)), l.hooks.run("wrap", p);
704
- var w = "";
705
- for (var f in p.attributes)
706
- w += " " + f + '="' + (p.attributes[f] || "").replace(/"/g, "&quot;") + '"';
707
- return "<" + p.tag + ' class="' + p.classes.join(" ") + '"' + w + ">" + p.content + "</" + p.tag + ">";
697
+ }, m = l.alias;
698
+ m && (Array.isArray(m) ? Array.prototype.push.apply(p.classes, m) : p.classes.push(m)), o.hooks.run("wrap", p);
699
+ var b = "";
700
+ for (var g in p.attributes)
701
+ b += " " + g + '="' + (p.attributes[g] || "").replace(/"/g, "&quot;") + '"';
702
+ return "<" + p.tag + ' class="' + p.classes.join(" ") + '"' + b + ">" + p.content + "</" + p.tag + ">";
708
703
  };
709
- function h(i, o, u, d) {
710
- i.lastIndex = o;
704
+ function f(i, l, u, d) {
705
+ i.lastIndex = l;
711
706
  var p = i.exec(u);
712
707
  if (p && d && p[1]) {
713
708
  var m = p[1].length;
@@ -715,90 +710,90 @@ var Re = Be.exports, ze = { exports: {} };
715
710
  }
716
711
  return p;
717
712
  }
718
- function A(i, o, u, d, p, m) {
719
- for (var w in u)
720
- if (!(!u.hasOwnProperty(w) || !u[w])) {
721
- var f = u[w];
722
- f = Array.isArray(f) ? f : [f];
723
- for (var _ = 0; _ < f.length; ++_) {
724
- if (m && m.cause == w + "," + _)
713
+ function E(i, l, u, d, p, m) {
714
+ for (var b in u)
715
+ if (!(!u.hasOwnProperty(b) || !u[b])) {
716
+ var g = u[b];
717
+ g = Array.isArray(g) ? g : [g];
718
+ for (var w = 0; w < g.length; ++w) {
719
+ if (m && m.cause == b + "," + w)
725
720
  return;
726
- var j = f[_], I = j.inside, Q = !!j.lookbehind, ie = !!j.greedy, ve = j.alias;
727
- if (ie && !j.pattern.global) {
728
- var ne = j.pattern.toString().match(/[imsuy]*$/)[0];
729
- j.pattern = RegExp(j.pattern.source, ne + "g");
721
+ var C = g[w], D = C.inside, W = !!C.lookbehind, oe = !!C.greedy, ve = C.alias;
722
+ if (oe && !C.pattern.global) {
723
+ var ne = C.pattern.toString().match(/[imsuy]*$/)[0];
724
+ C.pattern = RegExp(C.pattern.source, ne + "g");
730
725
  }
731
- for (var oe = j.pattern || j, T = d.next, J = p; T !== o.tail && !(m && J >= m.reach); J += T.value.length, T = T.next) {
732
- var ee = T.value;
733
- if (o.length > i.length)
726
+ for (var ie = C.pattern || C, N = d.next, Y = p; N !== l.tail && !(m && Y >= m.reach); Y += N.value.length, N = N.next) {
727
+ var ee = N.value;
728
+ if (l.length > i.length)
734
729
  return;
735
- if (!(ee instanceof g)) {
736
- var le = 1, V;
737
- if (ie) {
738
- if (V = h(oe, J, i, Q), !V || V.index >= i.length)
730
+ if (!(ee instanceof h)) {
731
+ var le = 1, H;
732
+ if (oe) {
733
+ if (H = f(ie, Y, i, W), !H || H.index >= i.length)
739
734
  break;
740
- var se = V.index, Ze = V.index + V[0].length, W = J;
741
- for (W += T.value.length; se >= W; )
742
- T = T.next, W += T.value.length;
743
- if (W -= T.value.length, J = W, T.value instanceof g)
735
+ var se = H.index, We = H.index + H[0].length, J = Y;
736
+ for (J += N.value.length; se >= J; )
737
+ N = N.next, J += N.value.length;
738
+ if (J -= N.value.length, Y = J, N.value instanceof h)
744
739
  continue;
745
- for (var re = T; re !== o.tail && (W < Ze || typeof re.value == "string"); re = re.next)
746
- le++, W += re.value.length;
747
- le--, ee = i.slice(J, W), V.index -= J;
748
- } else if (V = h(oe, 0, ee, Q), !V)
740
+ for (var ae = N; ae !== l.tail && (J < We || typeof ae.value == "string"); ae = ae.next)
741
+ le++, J += ae.value.length;
742
+ le--, ee = i.slice(Y, J), H.index -= Y;
743
+ } else if (H = f(ie, 0, ee, W), !H)
749
744
  continue;
750
- var se = V.index, ue = V[0], we = ee.slice(0, se), Te = ee.slice(se + ue.length), be = J + ee.length;
751
- m && be > m.reach && (m.reach = be);
752
- var ce = T.prev;
753
- we && (ce = P(o, ce, we), J += we.length), K(o, ce, le);
754
- var Ye = new g(w, I ? l.tokenize(ue, I) : ue, ve, ue);
755
- if (T = P(o, ce, Ye), Te && P(o, T, Te), le > 1) {
756
- var ye = {
757
- cause: w + "," + _,
758
- reach: be
745
+ var se = H.index, ue = H[0], be = ee.slice(0, se), Ee = ee.slice(se + ue.length), ye = Y + ee.length;
746
+ m && ye > m.reach && (m.reach = ye);
747
+ var ce = N.prev;
748
+ be && (ce = L(l, ce, be), Y += be.length), R(l, ce, le);
749
+ var Ge = new h(b, D ? o.tokenize(ue, D) : ue, ve, ue);
750
+ if (N = L(l, ce, Ge), Ee && L(l, N, Ee), le > 1) {
751
+ var _e = {
752
+ cause: b + "," + w,
753
+ reach: ye
759
754
  };
760
- A(i, o, u, T.prev, J, ye), m && ye.reach > m.reach && (m.reach = ye.reach);
755
+ E(i, l, u, N.prev, Y, _e), m && _e.reach > m.reach && (m.reach = _e.reach);
761
756
  }
762
757
  }
763
758
  }
764
759
  }
765
760
  }
766
761
  }
767
- function k() {
768
- var i = { value: null, prev: null, next: null }, o = { value: null, prev: i, next: null };
769
- i.next = o, this.head = i, this.tail = o, this.length = 0;
762
+ function S() {
763
+ var i = { value: null, prev: null, next: null }, l = { value: null, prev: i, next: null };
764
+ i.next = l, this.head = i, this.tail = l, this.length = 0;
770
765
  }
771
- function P(i, o, u) {
772
- var d = o.next, p = { value: u, prev: o, next: d };
773
- return o.next = p, d.prev = p, i.length++, p;
766
+ function L(i, l, u) {
767
+ var d = l.next, p = { value: u, prev: l, next: d };
768
+ return l.next = p, d.prev = p, i.length++, p;
774
769
  }
775
- function K(i, o, u) {
776
- for (var d = o.next, p = 0; p < u && d !== i.tail; p++)
770
+ function R(i, l, u) {
771
+ for (var d = l.next, p = 0; p < u && d !== i.tail; p++)
777
772
  d = d.next;
778
- o.next = d, d.prev = o, i.length -= p;
773
+ l.next = d, d.prev = l, i.length -= p;
779
774
  }
780
- function x(i) {
781
- for (var o = [], u = i.head.next; u !== i.tail; )
782
- o.push(u.value), u = u.next;
783
- return o;
775
+ function k(i) {
776
+ for (var l = [], u = i.head.next; u !== i.tail; )
777
+ l.push(u.value), u = u.next;
778
+ return l;
784
779
  }
785
- if (!a.document)
786
- return a.addEventListener && (l.disableWorkerMessageHandler || a.addEventListener("message", function(i) {
787
- var o = JSON.parse(i.data), u = o.language, d = o.code, p = o.immediateClose;
788
- a.postMessage(l.highlight(d, l.languages[u], u)), p && a.close();
789
- }, !1)), l;
790
- var b = l.util.currentScript();
791
- b && (l.filename = b.src, b.hasAttribute("data-manual") && (l.manual = !0));
792
- function S() {
793
- l.manual || l.highlightAll();
780
+ if (!r.document)
781
+ return r.addEventListener && (o.disableWorkerMessageHandler || r.addEventListener("message", function(i) {
782
+ var l = JSON.parse(i.data), u = l.language, d = l.code, p = l.immediateClose;
783
+ r.postMessage(o.highlight(d, o.languages[u], u)), p && r.close();
784
+ }, !1)), o;
785
+ var y = o.util.currentScript();
786
+ y && (o.filename = y.src, y.hasAttribute("data-manual") && (o.manual = !0));
787
+ function x() {
788
+ o.manual || o.highlightAll();
794
789
  }
795
- if (!l.manual) {
796
- var D = document.readyState;
797
- D === "loading" || D === "interactive" && b && b.defer ? document.addEventListener("DOMContentLoaded", S) : window.requestAnimationFrame ? window.requestAnimationFrame(S) : window.setTimeout(S, 16);
790
+ if (!o.manual) {
791
+ var A = document.readyState;
792
+ A === "loading" || A === "interactive" && y && y.defer ? document.addEventListener("DOMContentLoaded", x) : window.requestAnimationFrame ? window.requestAnimationFrame(x) : window.setTimeout(x, 16);
798
793
  }
799
- return l;
794
+ return o;
800
795
  }(n);
801
- e.exports && (e.exports = t), typeof Fe < "u" && (Fe.Prism = t), t.languages.markup = {
796
+ e.exports && (e.exports = t), typeof Ie < "u" && (Ie.Prism = t), t.languages.markup = {
802
797
  comment: {
803
798
  pattern: /<!--(?:(?!<!--)[\s\S])*?-->/,
804
799
  greedy: !0
@@ -875,8 +870,8 @@ var Re = Be.exports, ze = { exports: {} };
875
870
  },
876
871
  /&#x?[\da-f]{1,8};/i
877
872
  ]
878
- }, t.languages.markup.tag.inside["attr-value"].inside.entity = t.languages.markup.entity, t.languages.markup.doctype.inside["internal-subset"].inside = t.languages.markup, t.hooks.add("wrap", function(a) {
879
- a.type === "entity" && (a.attributes.title = a.content.replace(/&amp;/, "&"));
873
+ }, t.languages.markup.tag.inside["attr-value"].inside.entity = t.languages.markup.entity, t.languages.markup.doctype.inside["internal-subset"].inside = t.languages.markup, t.hooks.add("wrap", function(r) {
874
+ r.type === "entity" && (r.attributes.title = r.content.replace(/&amp;/, "&"));
880
875
  }), Object.defineProperty(t.languages.markup.tag, "addInlined", {
881
876
  /**
882
877
  * Adds an inlined language to markup.
@@ -889,12 +884,12 @@ var Re = Be.exports, ze = { exports: {} };
889
884
  * @example
890
885
  * addInlined('style', 'css');
891
886
  */
892
- value: function(a, r) {
887
+ value: function(r, a) {
893
888
  var c = {};
894
- c["language-" + r] = {
889
+ c["language-" + a] = {
895
890
  pattern: /(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,
896
891
  lookbehind: !0,
897
- inside: t.languages[r]
892
+ inside: t.languages[a]
898
893
  }, c.cdata = /^<!\[CDATA\[|\]\]>$/i;
899
894
  var s = {
900
895
  "included-cdata": {
@@ -902,19 +897,19 @@ var Re = Be.exports, ze = { exports: {} };
902
897
  inside: c
903
898
  }
904
899
  };
905
- s["language-" + r] = {
900
+ s["language-" + a] = {
906
901
  pattern: /[\s\S]+/,
907
- inside: t.languages[r]
902
+ inside: t.languages[a]
908
903
  };
909
- var l = {};
910
- l[a] = {
904
+ var o = {};
905
+ o[r] = {
911
906
  pattern: RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g, function() {
912
- return a;
907
+ return r;
913
908
  }), "i"),
914
909
  lookbehind: !0,
915
910
  greedy: !0,
916
911
  inside: s
917
- }, t.languages.insertBefore("markup", "cdata", l);
912
+ }, t.languages.insertBefore("markup", "cdata", o);
918
913
  }
919
914
  }), Object.defineProperty(t.languages.markup.tag, "addAttribute", {
920
915
  /**
@@ -928,10 +923,10 @@ var Re = Be.exports, ze = { exports: {} };
928
923
  * @example
929
924
  * addAttribute('style', 'css');
930
925
  */
931
- value: function(a, r) {
926
+ value: function(r, a) {
932
927
  t.languages.markup.tag.inside["special-attr"].push({
933
928
  pattern: RegExp(
934
- /(^|["'\s])/.source + "(?:" + a + ")" + /\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,
929
+ /(^|["'\s])/.source + "(?:" + r + ")" + /\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,
935
930
  "i"
936
931
  ),
937
932
  lookbehind: !0,
@@ -943,8 +938,8 @@ var Re = Be.exports, ze = { exports: {} };
943
938
  value: {
944
939
  pattern: /(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,
945
940
  lookbehind: !0,
946
- alias: [r, "language-" + r],
947
- inside: t.languages[r]
941
+ alias: [a, "language-" + a],
942
+ inside: t.languages[a]
948
943
  },
949
944
  punctuation: [
950
945
  {
@@ -958,12 +953,12 @@ var Re = Be.exports, ze = { exports: {} };
958
953
  }
959
954
  });
960
955
  }
961
- }), t.languages.html = t.languages.markup, t.languages.mathml = t.languages.markup, t.languages.svg = t.languages.markup, t.languages.xml = t.languages.extend("markup", {}), t.languages.ssml = t.languages.xml, t.languages.atom = t.languages.xml, t.languages.rss = t.languages.xml, function(a) {
962
- var r = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
963
- a.languages.css = {
956
+ }), t.languages.html = t.languages.markup, t.languages.mathml = t.languages.markup, t.languages.svg = t.languages.markup, t.languages.xml = t.languages.extend("markup", {}), t.languages.ssml = t.languages.xml, t.languages.atom = t.languages.xml, t.languages.rss = t.languages.xml, function(r) {
957
+ var a = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
958
+ r.languages.css = {
964
959
  comment: /\/\*[\s\S]*?\*\//,
965
960
  atrule: {
966
- pattern: RegExp("@[\\w-](?:" + /[^;{\s"']|\s+(?!\s)/.source + "|" + r.source + ")*?" + /(?:;|(?=\s*\{))/.source),
961
+ pattern: RegExp("@[\\w-](?:" + /[^;{\s"']|\s+(?!\s)/.source + "|" + a.source + ")*?" + /(?:;|(?=\s*\{))/.source),
967
962
  inside: {
968
963
  rule: /^@[\w-]+/,
969
964
  "selector-function-argument": {
@@ -980,23 +975,23 @@ var Re = Be.exports, ze = { exports: {} };
980
975
  },
981
976
  url: {
982
977
  // https://drafts.csswg.org/css-values-3/#urls
983
- pattern: RegExp("\\burl\\((?:" + r.source + "|" + /(?:[^\\\r\n()"']|\\[\s\S])*/.source + ")\\)", "i"),
978
+ pattern: RegExp("\\burl\\((?:" + a.source + "|" + /(?:[^\\\r\n()"']|\\[\s\S])*/.source + ")\\)", "i"),
984
979
  greedy: !0,
985
980
  inside: {
986
981
  function: /^url/i,
987
982
  punctuation: /^\(|\)$/,
988
983
  string: {
989
- pattern: RegExp("^" + r.source + "$"),
984
+ pattern: RegExp("^" + a.source + "$"),
990
985
  alias: "url"
991
986
  }
992
987
  }
993
988
  },
994
989
  selector: {
995
- pattern: RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|` + r.source + ")*(?=\\s*\\{)"),
990
+ pattern: RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|` + a.source + ")*(?=\\s*\\{)"),
996
991
  lookbehind: !0
997
992
  },
998
993
  string: {
999
- pattern: r,
994
+ pattern: a,
1000
995
  greedy: !0
1001
996
  },
1002
997
  property: {
@@ -1009,8 +1004,8 @@ var Re = Be.exports, ze = { exports: {} };
1009
1004
  lookbehind: !0
1010
1005
  },
1011
1006
  punctuation: /[(){};:,]/
1012
- }, a.languages.css.atrule.inside.rest = a.languages.css;
1013
- var c = a.languages.markup;
1007
+ }, r.languages.css.atrule.inside.rest = r.languages.css;
1008
+ var c = r.languages.markup;
1014
1009
  c && (c.tag.addInlined("style", "css"), c.tag.addAttribute("style", "css"));
1015
1010
  }(t), t.languages.clike = {
1016
1011
  comment: [
@@ -1176,8 +1171,8 @@ var Re = Be.exports, ze = { exports: {} };
1176
1171
  if (typeof t > "u" || typeof document > "u")
1177
1172
  return;
1178
1173
  Element.prototype.matches || (Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector);
1179
- var a = "Loading…", r = function(b, S) {
1180
- return "✖ Error " + b + " while fetching file: " + S;
1174
+ var r = "Loading…", a = function(y, x) {
1175
+ return "✖ Error " + y + " while fetching file: " + x;
1181
1176
  }, c = "✖ Error: File does not exist or is empty", s = {
1182
1177
  js: "javascript",
1183
1178
  py: "python",
@@ -1188,52 +1183,52 @@ var Re = Be.exports, ze = { exports: {} };
1188
1183
  bat: "batch",
1189
1184
  h: "c",
1190
1185
  tex: "latex"
1191
- }, l = "data-src-status", g = "loading", h = "loaded", A = "failed", k = "pre[data-src]:not([" + l + '="' + h + '"]):not([' + l + '="' + g + '"])';
1192
- function P(b, S, D) {
1186
+ }, o = "data-src-status", h = "loading", f = "loaded", E = "failed", S = "pre[data-src]:not([" + o + '="' + f + '"]):not([' + o + '="' + h + '"])';
1187
+ function L(y, x, A) {
1193
1188
  var i = new XMLHttpRequest();
1194
- i.open("GET", b, !0), i.onreadystatechange = function() {
1195
- i.readyState == 4 && (i.status < 400 && i.responseText ? S(i.responseText) : i.status >= 400 ? D(r(i.status, i.statusText)) : D(c));
1189
+ i.open("GET", y, !0), i.onreadystatechange = function() {
1190
+ i.readyState == 4 && (i.status < 400 && i.responseText ? x(i.responseText) : i.status >= 400 ? A(a(i.status, i.statusText)) : A(c));
1196
1191
  }, i.send(null);
1197
1192
  }
1198
- function K(b) {
1199
- var S = /^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(b || "");
1200
- if (S) {
1201
- var D = Number(S[1]), i = S[2], o = S[3];
1202
- return i ? o ? [D, Number(o)] : [D, void 0] : [D, D];
1193
+ function R(y) {
1194
+ var x = /^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(y || "");
1195
+ if (x) {
1196
+ var A = Number(x[1]), i = x[2], l = x[3];
1197
+ return i ? l ? [A, Number(l)] : [A, void 0] : [A, A];
1203
1198
  }
1204
1199
  }
1205
- t.hooks.add("before-highlightall", function(b) {
1206
- b.selector += ", " + k;
1207
- }), t.hooks.add("before-sanity-check", function(b) {
1208
- var S = (
1200
+ t.hooks.add("before-highlightall", function(y) {
1201
+ y.selector += ", " + S;
1202
+ }), t.hooks.add("before-sanity-check", function(y) {
1203
+ var x = (
1209
1204
  /** @type {HTMLPreElement} */
1210
- b.element
1205
+ y.element
1211
1206
  );
1212
- if (S.matches(k)) {
1213
- b.code = "", S.setAttribute(l, g);
1214
- var D = S.appendChild(document.createElement("CODE"));
1215
- D.textContent = a;
1216
- var i = S.getAttribute("data-src"), o = b.language;
1217
- if (o === "none") {
1207
+ if (x.matches(S)) {
1208
+ y.code = "", x.setAttribute(o, h);
1209
+ var A = x.appendChild(document.createElement("CODE"));
1210
+ A.textContent = r;
1211
+ var i = x.getAttribute("data-src"), l = y.language;
1212
+ if (l === "none") {
1218
1213
  var u = (/\.(\w+)$/.exec(i) || [, "none"])[1];
1219
- o = s[u] || u;
1214
+ l = s[u] || u;
1220
1215
  }
1221
- t.util.setLanguage(D, o), t.util.setLanguage(S, o);
1216
+ t.util.setLanguage(A, l), t.util.setLanguage(x, l);
1222
1217
  var d = t.plugins.autoloader;
1223
- d && d.loadLanguages(o), P(
1218
+ d && d.loadLanguages(l), L(
1224
1219
  i,
1225
1220
  function(p) {
1226
- S.setAttribute(l, h);
1227
- var m = K(S.getAttribute("data-range"));
1221
+ x.setAttribute(o, f);
1222
+ var m = R(x.getAttribute("data-range"));
1228
1223
  if (m) {
1229
- var w = p.split(/\r\n?|\n/g), f = m[0], _ = m[1] == null ? w.length : m[1];
1230
- f < 0 && (f += w.length), f = Math.max(0, Math.min(f - 1, w.length)), _ < 0 && (_ += w.length), _ = Math.max(0, Math.min(_, w.length)), p = w.slice(f, _).join(`
1231
- `), S.hasAttribute("data-start") || S.setAttribute("data-start", String(f + 1));
1224
+ var b = p.split(/\r\n?|\n/g), g = m[0], w = m[1] == null ? b.length : m[1];
1225
+ g < 0 && (g += b.length), g = Math.max(0, Math.min(g - 1, b.length)), w < 0 && (w += b.length), w = Math.max(0, Math.min(w, b.length)), p = b.slice(g, w).join(`
1226
+ `), x.hasAttribute("data-start") || x.setAttribute("data-start", String(g + 1));
1232
1227
  }
1233
- D.textContent = p, t.highlightElement(D);
1228
+ A.textContent = p, t.highlightElement(A);
1234
1229
  },
1235
1230
  function(p) {
1236
- S.setAttribute(l, A), D.textContent = p;
1231
+ x.setAttribute(o, E), A.textContent = p;
1237
1232
  }
1238
1233
  );
1239
1234
  }
@@ -1245,19 +1240,19 @@ var Re = Be.exports, ze = { exports: {} };
1245
1240
  *
1246
1241
  * @param {ParentNode} [container=document]
1247
1242
  */
1248
- highlight: function(b) {
1249
- for (var S = (b || document).querySelectorAll(k), D = 0, i; i = S[D++]; )
1243
+ highlight: function(y) {
1244
+ for (var x = (y || document).querySelectorAll(S), A = 0, i; i = x[A++]; )
1250
1245
  t.highlightElement(i);
1251
1246
  }
1252
1247
  };
1253
- var x = !1;
1248
+ var k = !1;
1254
1249
  t.fileHighlight = function() {
1255
- x || (console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."), x = !0), t.plugins.fileHighlight.highlight.apply(this, arguments);
1250
+ k || (console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."), k = !0), t.plugins.fileHighlight.highlight.apply(this, arguments);
1256
1251
  };
1257
1252
  }();
1258
1253
  })(ze);
1259
- var wt = ze.exports;
1260
- const de = /* @__PURE__ */ vt(wt), bt = /* @__PURE__ */ G({
1254
+ var ht = ze.exports;
1255
+ const de = /* @__PURE__ */ ft(ht), vt = /* @__PURE__ */ q({
1261
1256
  __name: "CodeBlock",
1262
1257
  props: {
1263
1258
  codeBlockIndex: {
@@ -1279,36 +1274,51 @@ const de = /* @__PURE__ */ vt(wt), bt = /* @__PURE__ */ G({
1279
1274
  },
1280
1275
  setup(e) {
1281
1276
  de.manual = !0;
1282
- const n = e, t = U(!1), a = Object.keys(Re.languages).reduce((g, h) => {
1283
- const A = Re.languages[h].alias || [];
1284
- return [...g, h, ...Array.isArray(A) ? A : [A]];
1285
- }, []).sort();
1286
- function r(g) {
1287
- t.value = !0, de.languages[g.language] || console.warn(`Prism: the language “${g.language}” isn’t enabled.`), g.preElement.classList.contains(`language-${g.language}`) || g.preElement.classList.add(`language-${g.language}`), g.codeElement.innerHTML = c(g.code), de.highlightElement(g.codeElement), t.value = !1;
1277
+ const n = e, t = Z(!1);
1278
+ function r(o) {
1279
+ t.value = !0, de.languages[o.language] || console.warn(`Prism: the language “${o.language}” isn’t enabled.`), o.preElement.classList.contains(`language-${o.language}`) || o.preElement.classList.add(`language-${o.language}`), o.codeElement.innerHTML = a(o.code), de.highlightElement(o.codeElement), t.value = !1;
1288
1280
  }
1289
- const c = (g) => g.replaceAll("<", "&lt;").replaceAll(">", "&gt;").replaceAll('"', "&quot;").replaceAll("'", "&#039;"), s = L(() => `document-code-block-${n.codeBlockIndex}`), l = L(() => {
1290
- var g, h;
1291
- const A = ((h = (g = n.lines) == null ? void 0 : g.flatMap((k) => k.text)) == null ? void 0 : h.join("")) || "";
1292
- return A.endsWith(`
1293
- `) && !n.isSingleLine ? A.slice(0, -1) : A;
1281
+ const a = (o) => o.replaceAll("<", "&lt;").replaceAll(">", "&gt;").replaceAll('"', "&quot;").replaceAll("'", "&#039;"), c = j(() => `document-code-block-${n.codeBlockIndex}`), s = j(() => {
1282
+ var o, h;
1283
+ const f = ((h = (o = n.lines) == null ? void 0 : o.flatMap((E) => E.text)) == null ? void 0 : h.join("")) || "";
1284
+ return f.endsWith(`
1285
+ `) && !n.isSingleLine ? f.slice(0, -1) : f;
1294
1286
  });
1295
- return ge(() => n.lang, async (g) => {
1296
- if (a.includes(g))
1297
- try {
1298
- await import(
1299
- /* @vite-ignore */
1300
- `../../../node_modules/prismjs/components/prism-${g}.min.js`
1301
- );
1302
- } catch {
1303
- console.warn(`Prism does not have a language file for '${g}'`);
1304
- }
1287
+ return ge(() => n.lang, async () => {
1288
+ try {
1289
+ await Promise.all([
1290
+ import("./prism-bash.min-vAvTx02J-aOB98otF.js"),
1291
+ import("./prism-css.min-T5ysc1kX-T5ysc1kX.js"),
1292
+ import("./prism-docker.min-8pzECyO2-W1QkyWCu.js"),
1293
+ import("./prism-go.min-uppVtd_Y-uppVtd_Y.js"),
1294
+ import("./prism-http.min-yMXrS1l9-r_ESJlxs.js"),
1295
+ import("./prism-javascript.min-hvuJDaiR-hvuJDaiR.js"),
1296
+ import("./prism-jq.min-EXJzRhH--EXJzRhH-.js"),
1297
+ import("./prism-json.min-1zfY9gEI-1zfY9gEI.js"),
1298
+ import("./prism-log.min-c8dXT1vB-c8dXT1vB.js"),
1299
+ import("./prism-lua.min-GpAHgnCN-GpAHgnCN.js"),
1300
+ import("./prism-makefile.min-XKfdqVzq-XKfdqVzq.js"),
1301
+ import("./prism-markdown.min-hV2SE6LK-pvVrJovK.js"),
1302
+ import("./prism-python.min-5aoERcK6-5aoERcK6.js"),
1303
+ import("./prism-regex.min-Ej1kQav2-Ej1kQav2.js"),
1304
+ import("./prism-rust.min-I56KUKDO-I56KUKDO.js"),
1305
+ import("./prism-rest.min-kotzRXWB-kotzRXWB.js"),
1306
+ import("./prism-scss.min-Als0FLXB-Als0FLXB.js"),
1307
+ import("./prism-sql.min-pOHT8XZf-pOHT8XZf.js"),
1308
+ import("./prism-typescript.min-c31ffb60-c31ffb60.js"),
1309
+ import("./prism-yaml.min-qeUGcluq-ewW8gbw6.js"),
1310
+ import("./prism-xml-doc.min-g6asX3wp-28aswIqY.js")
1311
+ ]);
1312
+ } catch {
1313
+ console.warn("Could not import PrismJS language file.");
1314
+ }
1305
1315
  de.highlightAll();
1306
- }, { immediate: !0 }), (g, h) => {
1307
- const A = $("KCodeBlock");
1308
- return v(), F(A, {
1309
- id: s.value,
1316
+ }, { immediate: !0 }), (o, h) => {
1317
+ const f = B("KCodeBlock");
1318
+ return v(), I(f, {
1319
+ id: c.value,
1310
1320
  class: "document-code-block",
1311
- code: l.value,
1321
+ code: s.value,
1312
1322
  "is-processing": t.value,
1313
1323
  "is-single-line": e.isSingleLine,
1314
1324
  language: e.lang,
@@ -1317,7 +1327,7 @@ const de = /* @__PURE__ */ vt(wt), bt = /* @__PURE__ */ G({
1317
1327
  }, null, 8, ["id", "code", "is-processing", "is-single-line", "language"]);
1318
1328
  };
1319
1329
  }
1320
- }), yt = /* @__PURE__ */ B(bt, [["__scopeId", "data-v-19aebd59"]]), kt = /* @__PURE__ */ G({
1330
+ }), bt = /* @__PURE__ */ K(vt, [["__scopeId", "data-v-b2f66a85"]]), yt = /* @__PURE__ */ q({
1321
1331
  __name: "Emphasis",
1322
1332
  props: {
1323
1333
  level: {
@@ -1333,14 +1343,14 @@ const de = /* @__PURE__ */ vt(wt), bt = /* @__PURE__ */ G({
1333
1343
  },
1334
1344
  setup(e) {
1335
1345
  const n = e.level === 1 ? "em" : "strong";
1336
- return (t, a) => (v(), F(Y(y(n)), null, {
1337
- default: q(() => [
1338
- z(t.$slots, "default")
1346
+ return (t, r) => (v(), I(Q(_(n)), null, {
1347
+ default: F(() => [
1348
+ V(t.$slots, "default")
1339
1349
  ]),
1340
1350
  _: 3
1341
1351
  }));
1342
1352
  }
1343
- }), xt = /* @__PURE__ */ G({
1353
+ }), _t = /* @__PURE__ */ q({
1344
1354
  __name: "Heading",
1345
1355
  props: {
1346
1356
  level: {
@@ -1359,15 +1369,15 @@ const de = /* @__PURE__ */ vt(wt), bt = /* @__PURE__ */ G({
1359
1369
  }
1360
1370
  },
1361
1371
  setup(e) {
1362
- const n = e, t = `${n.slug}`, a = `h${n.level}`;
1363
- return (r, c) => (v(), F(Y(a), { id: t }, {
1364
- default: q(() => [
1365
- z(r.$slots, "default", {}, void 0, !0)
1372
+ const n = e, t = `${n.slug}`, r = `h${n.level}`;
1373
+ return (a, c) => (v(), I(Q(r), { id: t }, {
1374
+ default: F(() => [
1375
+ V(a.$slots, "default", {}, void 0, !0)
1366
1376
  ]),
1367
1377
  _: 3
1368
1378
  }));
1369
1379
  }
1370
- }), St = /* @__PURE__ */ B(xt, [["__scopeId", "data-v-9ef4ad64"]]), _t = ["alt", "src", "title"], At = /* @__PURE__ */ G({
1380
+ }), kt = /* @__PURE__ */ K(_t, [["__scopeId", "data-v-9ef4ad64"]]), xt = ["alt", "src", "title"], wt = /* @__PURE__ */ q({
1371
1381
  __name: "Image",
1372
1382
  props: {
1373
1383
  url: {
@@ -1384,49 +1394,49 @@ const de = /* @__PURE__ */ vt(wt), bt = /* @__PURE__ */ G({
1384
1394
  }
1385
1395
  },
1386
1396
  setup(e) {
1387
- return (n, t) => (v(), C("img", {
1397
+ return (n, t) => (v(), $("img", {
1388
1398
  alt: e.alt,
1389
1399
  src: e.url,
1390
1400
  title: e.title
1391
- }, null, 8, _t));
1401
+ }, null, 8, xt));
1392
1402
  }
1393
- }), Dt = /* @__PURE__ */ B(At, [["__scopeId", "data-v-13314abe"]]), qt = {};
1394
- function Ct(e, n) {
1395
- return v(), C("hr");
1396
- }
1397
- const Tt = /* @__PURE__ */ B(qt, [["render", Ct], ["__scopeId", "data-v-b6e25b56"]]), jt = {};
1403
+ }), St = /* @__PURE__ */ K(wt, [["__scopeId", "data-v-13314abe"]]), At = {};
1398
1404
  function Ft(e, n) {
1399
- return v(), C("s", null, [
1400
- z(e.$slots, "default")
1401
- ]);
1405
+ return v(), $("hr");
1402
1406
  }
1403
- const Rt = /* @__PURE__ */ B(jt, [["render", Ft]]), Nt = {};
1407
+ const $t = /* @__PURE__ */ K(At, [["render", Ft], ["__scopeId", "data-v-b6e25b56"]]), Nt = {};
1404
1408
  function Et(e, n) {
1405
- return v(), C("table", null, [
1406
- z(e.$slots, "default", {}, void 0, !0)
1409
+ return v(), $("s", null, [
1410
+ V(e.$slots, "default")
1411
+ ]);
1412
+ }
1413
+ const Ct = /* @__PURE__ */ K(Nt, [["render", Et]]), It = {};
1414
+ function Tt(e, n) {
1415
+ return v(), $("table", null, [
1416
+ V(e.$slots, "default", {}, void 0, !0)
1407
1417
  ]);
1408
1418
  }
1409
- const Lt = /* @__PURE__ */ B(Nt, [["render", Et], ["__scopeId", "data-v-c2502730"]]), Pt = /* @__PURE__ */ G({
1419
+ const Ot = /* @__PURE__ */ K(It, [["render", Tt], ["__scopeId", "data-v-c2502730"]]), Pt = /* @__PURE__ */ q({
1410
1420
  __name: "TableRow",
1411
1421
  props: {
1412
1422
  section: {
1413
1423
  type: String,
1414
- default: Z.body
1424
+ default: X.body
1415
1425
  }
1416
1426
  },
1417
1427
  setup(e) {
1418
1428
  const n = e;
1419
1429
  let t;
1420
- return n.section === Z.header ? t = "thead" : n.section === Z.body ? t = "tbody" : n.section === Z.footer && (t = "tfoot"), (a, r) => (v(), F(Y(y(t)), null, {
1421
- default: q(() => [
1422
- N("tr", null, [
1423
- z(a.$slots, "default", {}, void 0, !0)
1430
+ return n.section === X.header ? t = "thead" : n.section === X.body ? t = "tbody" : n.section === X.footer && (t = "tfoot"), (r, a) => (v(), I(Q(_(t)), null, {
1431
+ default: F(() => [
1432
+ O("tr", null, [
1433
+ V(r.$slots, "default", {}, void 0, !0)
1424
1434
  ])
1425
1435
  ]),
1426
1436
  _: 3
1427
1437
  }));
1428
1438
  }
1429
- }), Ne = /* @__PURE__ */ B(Pt, [["__scopeId", "data-v-90ab3ded"]]), It = /* @__PURE__ */ G({
1439
+ }), Te = /* @__PURE__ */ K(Pt, [["__scopeId", "data-v-90ab3ded"]]), jt = /* @__PURE__ */ q({
1430
1440
  __name: "TableCell",
1431
1441
  props: {
1432
1442
  alignment: {
@@ -1440,33 +1450,33 @@ const Lt = /* @__PURE__ */ B(Nt, [["render", Et], ["__scopeId", "data-v-c2502730
1440
1450
  },
1441
1451
  setup(e) {
1442
1452
  var n;
1443
- const t = e, a = ((n = t.parent) == null ? void 0 : n.section) === Z.header ? "th" : "td";
1444
- let r;
1445
- return t.alignment === pe.center ? r = "align-center" : t.alignment === pe.right && (r = "align-right"), (c, s) => (v(), F(Y(y(a)), {
1446
- class: _e(y(r))
1453
+ const t = e, r = ((n = t.parent) == null ? void 0 : n.section) === X.header ? "th" : "td";
1454
+ let a;
1455
+ return t.alignment === pe.center ? a = "align-center" : t.alignment === pe.right && (a = "align-right"), (c, s) => (v(), I(Q(_(r)), {
1456
+ class: Se(_(a))
1447
1457
  }, {
1448
- default: q(() => [
1449
- z(c.$slots, "default", {}, void 0, !0)
1458
+ default: F(() => [
1459
+ V(c.$slots, "default", {}, void 0, !0)
1450
1460
  ]),
1451
1461
  _: 3
1452
1462
  }, 8, ["class"]));
1453
1463
  }
1454
- }), $t = /* @__PURE__ */ B(It, [["__scopeId", "data-v-6fde1a24"]]), Gt = ["checked"], Ot = /* @__PURE__ */ G({
1464
+ }), Lt = /* @__PURE__ */ K(jt, [["__scopeId", "data-v-6fde1a24"]]), Dt = ["checked"], Bt = /* @__PURE__ */ q({
1455
1465
  __name: "TaskCheckbox",
1456
1466
  props: {
1457
1467
  checked: { type: Boolean }
1458
1468
  },
1459
1469
  setup(e) {
1460
- const n = U(e.checked);
1461
- return (t, a) => (v(), C("input", {
1470
+ const n = Z(e.checked);
1471
+ return (t, r) => (v(), $("input", {
1462
1472
  "aria-label": "Display-only checkbox for task",
1463
1473
  checked: n.value,
1464
1474
  type: "checkbox"
1465
- }, null, 8, Gt));
1475
+ }, null, 8, Dt));
1466
1476
  }
1467
- }), Mt = { key: 0 }, Bt = { key: 1 }, zt = {
1477
+ }), qt = { key: 0 }, Mt = { key: 1 }, zt = {
1468
1478
  inheritAttrs: !1
1469
- }, Ht = /* @__PURE__ */ G({
1479
+ }, Kt = /* @__PURE__ */ q({
1470
1480
  ...zt,
1471
1481
  __name: "Text",
1472
1482
  props: {
@@ -1484,25 +1494,25 @@ const Lt = /* @__PURE__ */ B(Nt, [["render", Et], ["__scopeId", "data-v-c2502730
1484
1494
  }
1485
1495
  },
1486
1496
  setup(e) {
1487
- return (n, t) => (v(), C(et, null, [
1488
- O(E(e.text), 1),
1489
- e.appendSpace ? (v(), C("span", Mt, " ")) : H("", !0),
1490
- e.hardBreak ? (v(), C("br", Bt)) : H("", !0)
1497
+ return (n, t) => (v(), $(Xe, null, [
1498
+ M(P(e.text), 1),
1499
+ e.appendSpace ? (v(), $("span", qt, " ")) : U("", !0),
1500
+ e.hardBreak ? (v(), $("br", Mt)) : U("", !0)
1491
1501
  ], 64));
1492
1502
  }
1493
- }), Kt = {};
1494
- function Vt(e, n) {
1495
- return v(), C("span", null, [
1496
- z(e.$slots, "default")
1503
+ }), Vt = {};
1504
+ function Ut(e, n) {
1505
+ return v(), $("span", null, [
1506
+ V(e.$slots, "default")
1497
1507
  ]);
1498
1508
  }
1499
- const Ut = /* @__PURE__ */ B(Kt, [["render", Vt]]), Jt = {};
1500
- function Wt(e, n) {
1501
- return v(), C("p", null, [
1502
- z(e.$slots, "default", {}, void 0, !0)
1509
+ const Rt = /* @__PURE__ */ K(Vt, [["render", Ut]]), Ht = {};
1510
+ function Zt(e, n) {
1511
+ return v(), $("p", null, [
1512
+ V(e.$slots, "default", {}, void 0, !0)
1503
1513
  ]);
1504
1514
  }
1505
- const Qt = /* @__PURE__ */ B(Jt, [["render", Wt], ["__scopeId", "data-v-7b54f530"]]), Xt = /* @__PURE__ */ G({
1515
+ const Yt = /* @__PURE__ */ K(Ht, [["render", Zt], ["__scopeId", "data-v-7b54f530"]]), Jt = /* @__PURE__ */ q({
1506
1516
  __name: "List",
1507
1517
  props: {
1508
1518
  isOrdered: {
@@ -1516,22 +1526,22 @@ const Qt = /* @__PURE__ */ B(Jt, [["render", Wt], ["__scopeId", "data-v-7b54f530
1516
1526
  },
1517
1527
  setup(e) {
1518
1528
  const n = e.isOrdered ? "ol" : "ul";
1519
- return (t, a) => (v(), F(Y(y(n)), {
1520
- class: _e({ "has-task-items": e.hasTaskItems })
1529
+ return (t, r) => (v(), I(Q(_(n)), {
1530
+ class: Se({ "has-task-items": e.hasTaskItems })
1521
1531
  }, {
1522
- default: q(() => [
1523
- z(t.$slots, "default", {}, void 0, !0)
1532
+ default: F(() => [
1533
+ V(t.$slots, "default", {}, void 0, !0)
1524
1534
  ]),
1525
1535
  _: 3
1526
1536
  }, 8, ["class"]));
1527
1537
  }
1528
- }), Zt = /* @__PURE__ */ B(Xt, [["__scopeId", "data-v-7555911f"]]), Yt = {};
1529
- function en(e, n) {
1530
- return v(), C("li", null, [
1531
- z(e.$slots, "default", {}, void 0, !0)
1538
+ }), Wt = /* @__PURE__ */ K(Jt, [["__scopeId", "data-v-7555911f"]]), Gt = {};
1539
+ function Xt(e, n) {
1540
+ return v(), $("li", null, [
1541
+ V(e.$slots, "default", {}, void 0, !0)
1532
1542
  ]);
1533
1543
  }
1534
- const tn = /* @__PURE__ */ B(Yt, [["render", en], ["__scopeId", "data-v-cf238e78"]]), nn = ["href", "title"], rn = /* @__PURE__ */ G({
1544
+ const Qt = /* @__PURE__ */ K(Gt, [["render", Xt], ["__scopeId", "data-v-cf238e78"]]), en = ["href", "title"], tn = /* @__PURE__ */ q({
1535
1545
  __name: "Link",
1536
1546
  props: {
1537
1547
  href: {
@@ -1544,131 +1554,131 @@ const tn = /* @__PURE__ */ B(Yt, [["render", en], ["__scopeId", "data-v-cf238e78
1544
1554
  }
1545
1555
  },
1546
1556
  setup(e) {
1547
- return (n, t) => (v(), C("a", {
1557
+ return (n, t) => (v(), $("a", {
1548
1558
  href: e.href,
1549
1559
  rel: "noreferrer noopener nofollow",
1550
1560
  title: e.title
1551
1561
  }, [
1552
- z(n.$slots, "default", {}, void 0, !0)
1553
- ], 8, nn));
1562
+ V(n.$slots, "default", {}, void 0, !0)
1563
+ ], 8, en));
1554
1564
  }
1555
- }), an = /* @__PURE__ */ B(rn, [["__scopeId", "data-v-0f033d16"]]), on = {
1556
- blockquote: mt,
1557
- code: ht,
1558
- code_block: yt,
1559
- emphasis: kt,
1560
- heading: St,
1561
- image: Dt,
1562
- break: Tt,
1563
- link: an,
1564
- list: Zt,
1565
- list_item: tn,
1566
- paragraph: Qt,
1567
- strikethrough: Rt,
1568
- table: Lt,
1569
- table_header: Ne,
1570
- table_row: Ne,
1571
- table_cell: $t,
1572
- task_checkbox: Ot,
1573
- text: Ht,
1574
- text_block: Ut
1575
- }, Ee = [];
1576
- function ln(e) {
1577
- Ee.indexOf(e) === -1 && (Ee.push(e), console.warn(`[DocumentViewer] Unable to render an unknown node type "${e}"`));
1565
+ }), nn = /* @__PURE__ */ K(tn, [["__scopeId", "data-v-0f033d16"]]), an = {
1566
+ blockquote: dt,
1567
+ code: gt,
1568
+ code_block: bt,
1569
+ emphasis: yt,
1570
+ heading: kt,
1571
+ image: St,
1572
+ break: $t,
1573
+ link: nn,
1574
+ list: Wt,
1575
+ list_item: Qt,
1576
+ paragraph: Yt,
1577
+ strikethrough: Ct,
1578
+ table: Ot,
1579
+ table_header: Te,
1580
+ table_row: Te,
1581
+ table_cell: Lt,
1582
+ task_checkbox: Bt,
1583
+ text: Kt,
1584
+ text_block: Rt
1585
+ }, Oe = [];
1586
+ function rn(e) {
1587
+ Oe.indexOf(e) === -1 && (Oe.push(e), console.warn(`[DocumentViewer] Unable to render an unknown node type "${e}"`));
1578
1588
  }
1579
1589
  function xe(e, n) {
1580
- return e.map((t, a) => {
1581
- var r;
1590
+ return e.map((t, r) => {
1591
+ var a;
1582
1592
  if (!t)
1583
1593
  return null;
1584
1594
  const {
1585
1595
  type: c,
1586
1596
  children: s,
1587
- ...l
1588
- } = t, g = on[t.type];
1589
- if (!g)
1590
- return ln(c), null;
1591
- if (lt(t) && (t.section = Z.header), ct(t)) {
1592
- const h = (r = t.children) == null ? void 0 : r.some((A) => {
1593
- var k;
1594
- return (k = A.children) == null ? void 0 : k.some((P) => {
1595
- var K;
1596
- return (K = P.children) == null ? void 0 : K.some((x) => x.type === "task_checkbox");
1597
+ ...o
1598
+ } = t, h = an[t.type];
1599
+ if (!h)
1600
+ return rn(c), null;
1601
+ if (ot(t) && (t.section = X.header), st(t)) {
1602
+ const f = (a = t.children) == null ? void 0 : a.some((E) => {
1603
+ var S;
1604
+ return (S = E.children) == null ? void 0 : S.some((L) => {
1605
+ var R;
1606
+ return (R = L.children) == null ? void 0 : R.some((k) => k.type === "task_checkbox");
1597
1607
  });
1598
1608
  });
1599
- return R(g, ke({
1600
- hasTaskItems: h
1601
- }, l, {
1609
+ return T(h, ke({
1610
+ hasTaskItems: f
1611
+ }, o, {
1602
1612
  parent: n
1603
1613
  }), {
1604
1614
  default: () => s && xe(s, t)
1605
1615
  });
1606
1616
  }
1607
- return (t == null ? void 0 : t.type) === "code_block" ? R(g, ke(l, {
1617
+ return (t == null ? void 0 : t.type) === "code_block" ? T(h, ke(o, {
1608
1618
  lines: s,
1609
1619
  isSingleLine: (s == null ? void 0 : s.length) && s.length === 1,
1610
- codeBlockIndex: a
1611
- }), null) : R(g, ke(l, {
1620
+ codeBlockIndex: r
1621
+ }), null) : T(h, ke(o, {
1612
1622
  parent: n
1613
1623
  }), {
1614
1624
  default: () => s && xe(s, t)
1615
1625
  });
1616
1626
  });
1617
1627
  }
1618
- const sn = {
1628
+ const on = {
1619
1629
  error: "Error: Markdown content missing"
1620
- }, un = {
1621
- documentViewer: sn
1630
+ }, ln = {
1631
+ documentViewer: on
1622
1632
  };
1623
- function cn() {
1633
+ function sn() {
1624
1634
  return {
1625
- i18n: Oe("en-us", un),
1635
+ i18n: qe("en-us", ln),
1626
1636
  i18nT: Me
1627
1637
  // Translation component <i18n-t>
1628
1638
  };
1629
1639
  }
1630
- function dn() {
1640
+ function un() {
1631
1641
  return {
1632
1642
  hasRequiredProps: (e, n) => {
1633
1643
  let t = !0;
1634
- return e.forEach((a) => {
1635
- n.forEach((r) => {
1636
- a[r] || (t = !1);
1644
+ return e.forEach((r) => {
1645
+ n.forEach((a) => {
1646
+ r[a] || (t = !1);
1637
1647
  });
1638
1648
  }), t;
1639
1649
  }
1640
1650
  };
1641
1651
  }
1642
- const pn = {
1643
- useI18n: cn,
1644
- useUtilities: dn
1652
+ const cn = {
1653
+ useI18n: sn,
1654
+ useUtilities: un
1645
1655
  };
1646
- function mn(e, n = "") {
1656
+ function dn(e, n = "") {
1647
1657
  return e.toLowerCase().trim().replace(/ /g, "-").replace(/[^\w-]+/g, "") + n;
1648
1658
  }
1649
- function He(e, n = /* @__PURE__ */ new Map()) {
1659
+ function Ke(e, n = /* @__PURE__ */ new Map()) {
1650
1660
  if (!e)
1651
1661
  return e;
1652
1662
  const t = n || /* @__PURE__ */ new Map();
1653
- return e.map((a) => ut(a) ? gn(a, n) : (a.children && (a.children = He(a.children, t)), a));
1663
+ return e.map((r) => lt(r) ? pn(r, n) : (r.children && (r.children = Ke(r.children, t)), r));
1654
1664
  }
1655
- function gn(e, n, t = "doc-heading-") {
1656
- var a;
1657
- const r = (a = e.children) == null ? void 0 : a[0], c = `level-${e.level}`, s = st(r) && r.text || c, l = n.get(s);
1658
- n.set(s, (l || 0) + 1);
1659
- const g = l && l > 1 ? `-${l}` : "", h = t + mn(s, g);
1665
+ function pn(e, n, t = "doc-heading-") {
1666
+ var r;
1667
+ const a = (r = e.children) == null ? void 0 : r[0], c = `level-${e.level}`, s = it(a) && a.text || c, o = n.get(s);
1668
+ n.set(s, (o || 0) + 1);
1669
+ const h = o && o > 1 ? `-${o}` : "", f = t + dn(s, h);
1660
1670
  return {
1661
1671
  ...e,
1662
- slug: h
1672
+ slug: f
1663
1673
  };
1664
1674
  }
1665
- const fn = {
1675
+ const mn = {
1666
1676
  class: "document-viewer",
1667
1677
  "data-testid": "document-viewer"
1668
- }, hn = {
1678
+ }, gn = {
1669
1679
  key: 1,
1670
1680
  "data-testid": "document-viewer-error"
1671
- }, vn = /* @__PURE__ */ G({
1681
+ }, fn = /* @__PURE__ */ q({
1672
1682
  __name: "DocumentViewer",
1673
1683
  props: {
1674
1684
  document: {
@@ -1678,71 +1688,71 @@ const fn = {
1678
1688
  },
1679
1689
  setup(e) {
1680
1690
  var n;
1681
- const t = e, { i18n: a } = pn.useI18n(), r = (g) => !g || Object.keys(g).length === 0 && g.constructor === Object, c = L(() => !r(t.document)), s = He((n = t.document) == null ? void 0 : n.children), l = () => {
1682
- var g;
1683
- return (g = t.document) != null && g.children ? xe(s) : null;
1691
+ const t = e, { i18n: r } = cn.useI18n(), a = (h) => !h || Object.keys(h).length === 0 && h.constructor === Object, c = j(() => !a(t.document)), s = Ke((n = t.document) == null ? void 0 : n.children), o = () => {
1692
+ var h;
1693
+ return (h = t.document) != null && h.children ? xe(s) : null;
1684
1694
  };
1685
- return (g, h) => (v(), C("div", fn, [
1686
- c.value ? (v(), F(l, { key: 0 })) : (v(), C("div", hn, E(y(a).t("documentViewer.error")), 1))
1695
+ return (h, f) => (v(), $("div", mn, [
1696
+ c.value ? (v(), I(o, { key: 0 })) : (v(), $("div", gn, P(_(r).t("documentViewer.error")), 1))
1687
1697
  ]));
1688
1698
  }
1689
- }), wn = /* @__PURE__ */ B(vn, [["__scopeId", "data-v-1ab71c85"]]);
1690
- function Le(e) {
1699
+ }), hn = /* @__PURE__ */ K(fn, [["__scopeId", "data-v-1ab71c85"]]);
1700
+ function Pe(e) {
1691
1701
  if (e !== void 0)
1692
1702
  return JSON.parse(JSON.stringify(e));
1693
1703
  }
1694
- function bn(e) {
1704
+ function vn(e) {
1695
1705
  return Object.keys(e).length === 0;
1696
1706
  }
1697
1707
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
1698
- function Ke(e) {
1708
+ function Ve(e) {
1699
1709
  return typeof e > "u" || e === null;
1700
1710
  }
1701
- function yn(e) {
1711
+ function bn(e) {
1702
1712
  return typeof e == "object" && e !== null;
1703
1713
  }
1704
- function kn(e) {
1705
- return Array.isArray(e) ? e : Ke(e) ? [] : [e];
1714
+ function yn(e) {
1715
+ return Array.isArray(e) ? e : Ve(e) ? [] : [e];
1706
1716
  }
1707
- function xn(e, n) {
1708
- var t, a, r, c;
1717
+ function _n(e, n) {
1718
+ var t, r, a, c;
1709
1719
  if (n)
1710
- for (c = Object.keys(n), t = 0, a = c.length; t < a; t += 1)
1711
- r = c[t], e[r] = n[r];
1720
+ for (c = Object.keys(n), t = 0, r = c.length; t < r; t += 1)
1721
+ a = c[t], e[a] = n[a];
1712
1722
  return e;
1713
1723
  }
1714
- function Sn(e, n) {
1715
- var t = "", a;
1716
- for (a = 0; a < n; a += 1)
1724
+ function kn(e, n) {
1725
+ var t = "", r;
1726
+ for (r = 0; r < n; r += 1)
1717
1727
  t += e;
1718
1728
  return t;
1719
1729
  }
1720
- function _n(e) {
1730
+ function xn(e) {
1721
1731
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1722
1732
  }
1723
- var An = Ke, Dn = yn, qn = kn, Cn = Sn, Tn = _n, jn = xn, De = {
1724
- isNothing: An,
1725
- isObject: Dn,
1726
- toArray: qn,
1727
- repeat: Cn,
1728
- isNegativeZero: Tn,
1729
- extend: jn
1733
+ var wn = Ve, Sn = bn, An = yn, Fn = kn, $n = xn, Nn = _n, Fe = {
1734
+ isNothing: wn,
1735
+ isObject: Sn,
1736
+ toArray: An,
1737
+ repeat: Fn,
1738
+ isNegativeZero: $n,
1739
+ extend: Nn
1730
1740
  };
1731
- function Ve(e, n) {
1732
- var t = "", a = e.reason || "(unknown reason)";
1741
+ function Ue(e, n) {
1742
+ var t = "", r = e.reason || "(unknown reason)";
1733
1743
  return e.mark ? (e.mark.name && (t += 'in "' + e.mark.name + '" '), t += "(" + (e.mark.line + 1) + ":" + (e.mark.column + 1) + ")", !n && e.mark.snippet && (t += `
1734
1744
 
1735
- ` + e.mark.snippet), a + " " + t) : a;
1745
+ ` + e.mark.snippet), r + " " + t) : r;
1736
1746
  }
1737
- function ae(e, n) {
1738
- Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = n, this.message = Ve(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1747
+ function re(e, n) {
1748
+ Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = n, this.message = Ue(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1739
1749
  }
1740
- ae.prototype = Object.create(Error.prototype);
1741
- ae.prototype.constructor = ae;
1742
- ae.prototype.toString = function(e) {
1743
- return this.name + ": " + Ve(this, e);
1750
+ re.prototype = Object.create(Error.prototype);
1751
+ re.prototype.constructor = re;
1752
+ re.prototype.toString = function(e) {
1753
+ return this.name + ": " + Ue(this, e);
1744
1754
  };
1745
- var X = ae, Fn = [
1755
+ var G = re, En = [
1746
1756
  "kind",
1747
1757
  "multi",
1748
1758
  "resolve",
@@ -1753,41 +1763,41 @@ var X = ae, Fn = [
1753
1763
  "representName",
1754
1764
  "defaultStyle",
1755
1765
  "styleAliases"
1756
- ], Rn = [
1766
+ ], Cn = [
1757
1767
  "scalar",
1758
1768
  "sequence",
1759
1769
  "mapping"
1760
1770
  ];
1761
- function Nn(e) {
1771
+ function In(e) {
1762
1772
  var n = {};
1763
1773
  return e !== null && Object.keys(e).forEach(function(t) {
1764
- e[t].forEach(function(a) {
1765
- n[String(a)] = t;
1774
+ e[t].forEach(function(r) {
1775
+ n[String(r)] = t;
1766
1776
  });
1767
1777
  }), n;
1768
1778
  }
1769
- function En(e, n) {
1779
+ function Tn(e, n) {
1770
1780
  if (n = n || {}, Object.keys(n).forEach(function(t) {
1771
- if (Fn.indexOf(t) === -1)
1772
- throw new X('Unknown option "' + t + '" is met in definition of "' + e + '" YAML type.');
1781
+ if (En.indexOf(t) === -1)
1782
+ throw new G('Unknown option "' + t + '" is met in definition of "' + e + '" YAML type.');
1773
1783
  }), this.options = n, this.tag = e, this.kind = n.kind || null, this.resolve = n.resolve || function() {
1774
1784
  return !0;
1775
1785
  }, this.construct = n.construct || function(t) {
1776
1786
  return t;
1777
- }, this.instanceOf = n.instanceOf || null, this.predicate = n.predicate || null, this.represent = n.represent || null, this.representName = n.representName || null, this.defaultStyle = n.defaultStyle || null, this.multi = n.multi || !1, this.styleAliases = Nn(n.styleAliases || null), Rn.indexOf(this.kind) === -1)
1778
- throw new X('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1787
+ }, this.instanceOf = n.instanceOf || null, this.predicate = n.predicate || null, this.represent = n.represent || null, this.representName = n.representName || null, this.defaultStyle = n.defaultStyle || null, this.multi = n.multi || !1, this.styleAliases = In(n.styleAliases || null), Cn.indexOf(this.kind) === -1)
1788
+ throw new G('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1779
1789
  }
1780
- var M = En;
1781
- function Pe(e, n) {
1790
+ var z = Tn;
1791
+ function je(e, n) {
1782
1792
  var t = [];
1783
- return e[n].forEach(function(a) {
1784
- var r = t.length;
1793
+ return e[n].forEach(function(r) {
1794
+ var a = t.length;
1785
1795
  t.forEach(function(c, s) {
1786
- c.tag === a.tag && c.kind === a.kind && c.multi === a.multi && (r = s);
1787
- }), t[r] = a;
1796
+ c.tag === r.tag && c.kind === r.kind && c.multi === r.multi && (a = s);
1797
+ }), t[a] = r;
1788
1798
  }), t;
1789
1799
  }
1790
- function Ln() {
1800
+ function On() {
1791
1801
  var e = {
1792
1802
  scalar: {},
1793
1803
  sequence: {},
@@ -1800,78 +1810,78 @@ function Ln() {
1800
1810
  fallback: []
1801
1811
  }
1802
1812
  }, n, t;
1803
- function a(r) {
1804
- r.multi ? (e.multi[r.kind].push(r), e.multi.fallback.push(r)) : e[r.kind][r.tag] = e.fallback[r.tag] = r;
1813
+ function r(a) {
1814
+ a.multi ? (e.multi[a.kind].push(a), e.multi.fallback.push(a)) : e[a.kind][a.tag] = e.fallback[a.tag] = a;
1805
1815
  }
1806
1816
  for (n = 0, t = arguments.length; n < t; n += 1)
1807
- arguments[n].forEach(a);
1817
+ arguments[n].forEach(r);
1808
1818
  return e;
1809
1819
  }
1810
- function Se(e) {
1820
+ function we(e) {
1811
1821
  return this.extend(e);
1812
1822
  }
1813
- Se.prototype.extend = function(e) {
1823
+ we.prototype.extend = function(e) {
1814
1824
  var n = [], t = [];
1815
- if (e instanceof M)
1825
+ if (e instanceof z)
1816
1826
  t.push(e);
1817
1827
  else if (Array.isArray(e))
1818
1828
  t = t.concat(e);
1819
1829
  else if (e && (Array.isArray(e.implicit) || Array.isArray(e.explicit)))
1820
1830
  e.implicit && (n = n.concat(e.implicit)), e.explicit && (t = t.concat(e.explicit));
1821
1831
  else
1822
- throw new X("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
1823
- n.forEach(function(r) {
1824
- if (!(r instanceof M))
1825
- throw new X("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1826
- if (r.loadKind && r.loadKind !== "scalar")
1827
- throw new X("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
1828
- if (r.multi)
1829
- throw new X("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
1830
- }), t.forEach(function(r) {
1831
- if (!(r instanceof M))
1832
- throw new X("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1832
+ throw new G("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
1833
+ n.forEach(function(a) {
1834
+ if (!(a instanceof z))
1835
+ throw new G("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1836
+ if (a.loadKind && a.loadKind !== "scalar")
1837
+ throw new G("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
1838
+ if (a.multi)
1839
+ throw new G("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
1840
+ }), t.forEach(function(a) {
1841
+ if (!(a instanceof z))
1842
+ throw new G("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1833
1843
  });
1834
- var a = Object.create(Se.prototype);
1835
- return a.implicit = (this.implicit || []).concat(n), a.explicit = (this.explicit || []).concat(t), a.compiledImplicit = Pe(a, "implicit"), a.compiledExplicit = Pe(a, "explicit"), a.compiledTypeMap = Ln(a.compiledImplicit, a.compiledExplicit), a;
1844
+ var r = Object.create(we.prototype);
1845
+ return r.implicit = (this.implicit || []).concat(n), r.explicit = (this.explicit || []).concat(t), r.compiledImplicit = je(r, "implicit"), r.compiledExplicit = je(r, "explicit"), r.compiledTypeMap = On(r.compiledImplicit, r.compiledExplicit), r;
1836
1846
  };
1837
- var Pn = Se, In = new M("tag:yaml.org,2002:str", {
1847
+ var Pn = we, jn = new z("tag:yaml.org,2002:str", {
1838
1848
  kind: "scalar",
1839
1849
  construct: function(e) {
1840
1850
  return e !== null ? e : "";
1841
1851
  }
1842
- }), $n = new M("tag:yaml.org,2002:seq", {
1852
+ }), Ln = new z("tag:yaml.org,2002:seq", {
1843
1853
  kind: "sequence",
1844
1854
  construct: function(e) {
1845
1855
  return e !== null ? e : [];
1846
1856
  }
1847
- }), Gn = new M("tag:yaml.org,2002:map", {
1857
+ }), Dn = new z("tag:yaml.org,2002:map", {
1848
1858
  kind: "mapping",
1849
1859
  construct: function(e) {
1850
1860
  return e !== null ? e : {};
1851
1861
  }
1852
- }), On = new Pn({
1862
+ }), Bn = new Pn({
1853
1863
  explicit: [
1854
- In,
1855
- $n,
1856
- Gn
1864
+ jn,
1865
+ Ln,
1866
+ Dn
1857
1867
  ]
1858
1868
  });
1859
- function Mn(e) {
1869
+ function qn(e) {
1860
1870
  if (e === null)
1861
1871
  return !0;
1862
1872
  var n = e.length;
1863
1873
  return n === 1 && e === "~" || n === 4 && (e === "null" || e === "Null" || e === "NULL");
1864
1874
  }
1865
- function Bn() {
1875
+ function Mn() {
1866
1876
  return null;
1867
1877
  }
1868
1878
  function zn(e) {
1869
1879
  return e === null;
1870
1880
  }
1871
- var Hn = new M("tag:yaml.org,2002:null", {
1881
+ var Kn = new z("tag:yaml.org,2002:null", {
1872
1882
  kind: "scalar",
1873
- resolve: Mn,
1874
- construct: Bn,
1883
+ resolve: qn,
1884
+ construct: Mn,
1875
1885
  predicate: zn,
1876
1886
  represent: {
1877
1887
  canonical: function() {
@@ -1892,23 +1902,23 @@ var Hn = new M("tag:yaml.org,2002:null", {
1892
1902
  },
1893
1903
  defaultStyle: "lowercase"
1894
1904
  });
1895
- function Kn(e) {
1905
+ function Vn(e) {
1896
1906
  if (e === null)
1897
1907
  return !1;
1898
1908
  var n = e.length;
1899
1909
  return n === 4 && (e === "true" || e === "True" || e === "TRUE") || n === 5 && (e === "false" || e === "False" || e === "FALSE");
1900
1910
  }
1901
- function Vn(e) {
1911
+ function Un(e) {
1902
1912
  return e === "true" || e === "True" || e === "TRUE";
1903
1913
  }
1904
- function Un(e) {
1914
+ function Rn(e) {
1905
1915
  return Object.prototype.toString.call(e) === "[object Boolean]";
1906
1916
  }
1907
- var Jn = new M("tag:yaml.org,2002:bool", {
1917
+ var Hn = new z("tag:yaml.org,2002:bool", {
1908
1918
  kind: "scalar",
1909
- resolve: Kn,
1910
- construct: Vn,
1911
- predicate: Un,
1919
+ resolve: Vn,
1920
+ construct: Un,
1921
+ predicate: Rn,
1912
1922
  represent: {
1913
1923
  lowercase: function(e) {
1914
1924
  return e ? "true" : "false";
@@ -1922,67 +1932,67 @@ var Jn = new M("tag:yaml.org,2002:bool", {
1922
1932
  },
1923
1933
  defaultStyle: "lowercase"
1924
1934
  });
1925
- function Wn(e) {
1935
+ function Zn(e) {
1926
1936
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
1927
1937
  }
1928
- function Qn(e) {
1938
+ function Yn(e) {
1929
1939
  return 48 <= e && e <= 55;
1930
1940
  }
1931
- function Xn(e) {
1941
+ function Jn(e) {
1932
1942
  return 48 <= e && e <= 57;
1933
1943
  }
1934
- function Zn(e) {
1944
+ function Wn(e) {
1935
1945
  if (e === null)
1936
1946
  return !1;
1937
- var n = e.length, t = 0, a = !1, r;
1947
+ var n = e.length, t = 0, r = !1, a;
1938
1948
  if (!n)
1939
1949
  return !1;
1940
- if (r = e[t], (r === "-" || r === "+") && (r = e[++t]), r === "0") {
1950
+ if (a = e[t], (a === "-" || a === "+") && (a = e[++t]), a === "0") {
1941
1951
  if (t + 1 === n)
1942
1952
  return !0;
1943
- if (r = e[++t], r === "b") {
1953
+ if (a = e[++t], a === "b") {
1944
1954
  for (t++; t < n; t++)
1945
- if (r = e[t], r !== "_") {
1946
- if (r !== "0" && r !== "1")
1955
+ if (a = e[t], a !== "_") {
1956
+ if (a !== "0" && a !== "1")
1947
1957
  return !1;
1948
- a = !0;
1958
+ r = !0;
1949
1959
  }
1950
- return a && r !== "_";
1960
+ return r && a !== "_";
1951
1961
  }
1952
- if (r === "x") {
1962
+ if (a === "x") {
1953
1963
  for (t++; t < n; t++)
1954
- if (r = e[t], r !== "_") {
1955
- if (!Wn(e.charCodeAt(t)))
1964
+ if (a = e[t], a !== "_") {
1965
+ if (!Zn(e.charCodeAt(t)))
1956
1966
  return !1;
1957
- a = !0;
1967
+ r = !0;
1958
1968
  }
1959
- return a && r !== "_";
1969
+ return r && a !== "_";
1960
1970
  }
1961
- if (r === "o") {
1971
+ if (a === "o") {
1962
1972
  for (t++; t < n; t++)
1963
- if (r = e[t], r !== "_") {
1964
- if (!Qn(e.charCodeAt(t)))
1973
+ if (a = e[t], a !== "_") {
1974
+ if (!Yn(e.charCodeAt(t)))
1965
1975
  return !1;
1966
- a = !0;
1976
+ r = !0;
1967
1977
  }
1968
- return a && r !== "_";
1978
+ return r && a !== "_";
1969
1979
  }
1970
1980
  }
1971
- if (r === "_")
1981
+ if (a === "_")
1972
1982
  return !1;
1973
1983
  for (; t < n; t++)
1974
- if (r = e[t], r !== "_") {
1975
- if (!Xn(e.charCodeAt(t)))
1984
+ if (a = e[t], a !== "_") {
1985
+ if (!Jn(e.charCodeAt(t)))
1976
1986
  return !1;
1977
- a = !0;
1987
+ r = !0;
1978
1988
  }
1979
- return !(!a || r === "_");
1989
+ return !(!r || a === "_");
1980
1990
  }
1981
- function Yn(e) {
1982
- var n = e, t = 1, a;
1983
- if (n.indexOf("_") !== -1 && (n = n.replace(/_/g, "")), a = n[0], (a === "-" || a === "+") && (a === "-" && (t = -1), n = n.slice(1), a = n[0]), n === "0")
1991
+ function Gn(e) {
1992
+ var n = e, t = 1, r;
1993
+ if (n.indexOf("_") !== -1 && (n = n.replace(/_/g, "")), r = n[0], (r === "-" || r === "+") && (r === "-" && (t = -1), n = n.slice(1), r = n[0]), n === "0")
1984
1994
  return 0;
1985
- if (a === "0") {
1995
+ if (r === "0") {
1986
1996
  if (n[1] === "b")
1987
1997
  return t * parseInt(n.slice(2), 2);
1988
1998
  if (n[1] === "x")
@@ -1992,14 +2002,14 @@ function Yn(e) {
1992
2002
  }
1993
2003
  return t * parseInt(n, 10);
1994
2004
  }
1995
- function er(e) {
1996
- return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !De.isNegativeZero(e);
2005
+ function Xn(e) {
2006
+ return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !Fe.isNegativeZero(e);
1997
2007
  }
1998
- var tr = new M("tag:yaml.org,2002:int", {
2008
+ var Qn = new z("tag:yaml.org,2002:int", {
1999
2009
  kind: "scalar",
2000
- resolve: Zn,
2001
- construct: Yn,
2002
- predicate: er,
2010
+ resolve: Wn,
2011
+ construct: Gn,
2012
+ predicate: Xn,
2003
2013
  represent: {
2004
2014
  binary: function(e) {
2005
2015
  return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
@@ -2022,21 +2032,21 @@ var tr = new M("tag:yaml.org,2002:int", {
2022
2032
  decimal: [10, "dec"],
2023
2033
  hexadecimal: [16, "hex"]
2024
2034
  }
2025
- }), nr = new RegExp(
2035
+ }), ea = new RegExp(
2026
2036
  // 2.5e4, 2.5 and integers
2027
2037
  "^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
2028
2038
  );
2029
- function rr(e) {
2030
- return !(e === null || !nr.test(e) || // Quick hack to not allow integers end with `_`
2039
+ function ta(e) {
2040
+ return !(e === null || !ea.test(e) || // Quick hack to not allow integers end with `_`
2031
2041
  // Probably should update regexp & check speed
2032
2042
  e[e.length - 1] === "_");
2033
2043
  }
2034
- function ar(e) {
2044
+ function na(e) {
2035
2045
  var n, t;
2036
2046
  return n = e.replace(/_/g, "").toLowerCase(), t = n[0] === "-" ? -1 : 1, "+-".indexOf(n[0]) >= 0 && (n = n.slice(1)), n === ".inf" ? t === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : n === ".nan" ? NaN : t * parseFloat(n, 10);
2037
2047
  }
2038
- var ir = /^[-+]?[0-9]+e/;
2039
- function or(e, n) {
2048
+ var aa = /^[-+]?[0-9]+e/;
2049
+ function ra(e, n) {
2040
2050
  var t;
2041
2051
  if (isNaN(e))
2042
2052
  switch (n) {
@@ -2065,109 +2075,109 @@ function or(e, n) {
2065
2075
  case "camelcase":
2066
2076
  return "-.Inf";
2067
2077
  }
2068
- else if (De.isNegativeZero(e))
2078
+ else if (Fe.isNegativeZero(e))
2069
2079
  return "-0.0";
2070
- return t = e.toString(10), ir.test(t) ? t.replace("e", ".e") : t;
2080
+ return t = e.toString(10), aa.test(t) ? t.replace("e", ".e") : t;
2071
2081
  }
2072
- function lr(e) {
2073
- return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || De.isNegativeZero(e));
2082
+ function oa(e) {
2083
+ return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || Fe.isNegativeZero(e));
2074
2084
  }
2075
- var sr = new M("tag:yaml.org,2002:float", {
2085
+ var ia = new z("tag:yaml.org,2002:float", {
2076
2086
  kind: "scalar",
2077
- resolve: rr,
2078
- construct: ar,
2079
- predicate: lr,
2080
- represent: or,
2087
+ resolve: ta,
2088
+ construct: na,
2089
+ predicate: oa,
2090
+ represent: ra,
2081
2091
  defaultStyle: "lowercase"
2082
- }), ur = On.extend({
2092
+ }), la = Bn.extend({
2083
2093
  implicit: [
2094
+ Kn,
2084
2095
  Hn,
2085
- Jn,
2086
- tr,
2087
- sr
2096
+ Qn,
2097
+ ia
2088
2098
  ]
2089
- }), cr = ur, Ue = new RegExp(
2099
+ }), sa = la, Re = new RegExp(
2090
2100
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
2091
- ), Je = new RegExp(
2101
+ ), He = new RegExp(
2092
2102
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"
2093
2103
  );
2094
- function dr(e) {
2095
- return e === null ? !1 : Ue.exec(e) !== null || Je.exec(e) !== null;
2104
+ function ua(e) {
2105
+ return e === null ? !1 : Re.exec(e) !== null || He.exec(e) !== null;
2096
2106
  }
2097
- function pr(e) {
2098
- var n, t, a, r, c, s, l, g = 0, h = null, A, k, P;
2099
- if (n = Ue.exec(e), n === null && (n = Je.exec(e)), n === null)
2107
+ function ca(e) {
2108
+ var n, t, r, a, c, s, o, h = 0, f = null, E, S, L;
2109
+ if (n = Re.exec(e), n === null && (n = He.exec(e)), n === null)
2100
2110
  throw new Error("Date resolve error");
2101
- if (t = +n[1], a = +n[2] - 1, r = +n[3], !n[4])
2102
- return new Date(Date.UTC(t, a, r));
2103
- if (c = +n[4], s = +n[5], l = +n[6], n[7]) {
2104
- for (g = n[7].slice(0, 3); g.length < 3; )
2105
- g += "0";
2106
- g = +g;
2111
+ if (t = +n[1], r = +n[2] - 1, a = +n[3], !n[4])
2112
+ return new Date(Date.UTC(t, r, a));
2113
+ if (c = +n[4], s = +n[5], o = +n[6], n[7]) {
2114
+ for (h = n[7].slice(0, 3); h.length < 3; )
2115
+ h += "0";
2116
+ h = +h;
2107
2117
  }
2108
- return n[9] && (A = +n[10], k = +(n[11] || 0), h = (A * 60 + k) * 6e4, n[9] === "-" && (h = -h)), P = new Date(Date.UTC(t, a, r, c, s, l, g)), h && P.setTime(P.getTime() - h), P;
2118
+ return n[9] && (E = +n[10], S = +(n[11] || 0), f = (E * 60 + S) * 6e4, n[9] === "-" && (f = -f)), L = new Date(Date.UTC(t, r, a, c, s, o, h)), f && L.setTime(L.getTime() - f), L;
2109
2119
  }
2110
- function mr(e) {
2120
+ function da(e) {
2111
2121
  return e.toISOString();
2112
2122
  }
2113
- var gr = new M("tag:yaml.org,2002:timestamp", {
2123
+ var pa = new z("tag:yaml.org,2002:timestamp", {
2114
2124
  kind: "scalar",
2115
- resolve: dr,
2116
- construct: pr,
2125
+ resolve: ua,
2126
+ construct: ca,
2117
2127
  instanceOf: Date,
2118
- represent: mr
2128
+ represent: da
2119
2129
  });
2120
- function fr(e) {
2130
+ function ma(e) {
2121
2131
  return e === "<<" || e === null;
2122
2132
  }
2123
- var hr = new M("tag:yaml.org,2002:merge", {
2133
+ var ga = new z("tag:yaml.org,2002:merge", {
2124
2134
  kind: "scalar",
2125
- resolve: fr
2126
- }), qe = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
2135
+ resolve: ma
2136
+ }), $e = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
2127
2137
  \r`;
2128
- function vr(e) {
2138
+ function fa(e) {
2129
2139
  if (e === null)
2130
2140
  return !1;
2131
- var n, t, a = 0, r = e.length, c = qe;
2132
- for (t = 0; t < r; t++)
2141
+ var n, t, r = 0, a = e.length, c = $e;
2142
+ for (t = 0; t < a; t++)
2133
2143
  if (n = c.indexOf(e.charAt(t)), !(n > 64)) {
2134
2144
  if (n < 0)
2135
2145
  return !1;
2136
- a += 6;
2146
+ r += 6;
2137
2147
  }
2138
- return a % 8 === 0;
2148
+ return r % 8 === 0;
2139
2149
  }
2140
- function wr(e) {
2141
- var n, t, a = e.replace(/[\r\n=]/g, ""), r = a.length, c = qe, s = 0, l = [];
2142
- for (n = 0; n < r; n++)
2143
- n % 4 === 0 && n && (l.push(s >> 16 & 255), l.push(s >> 8 & 255), l.push(s & 255)), s = s << 6 | c.indexOf(a.charAt(n));
2144
- return t = r % 4 * 6, t === 0 ? (l.push(s >> 16 & 255), l.push(s >> 8 & 255), l.push(s & 255)) : t === 18 ? (l.push(s >> 10 & 255), l.push(s >> 2 & 255)) : t === 12 && l.push(s >> 4 & 255), new Uint8Array(l);
2150
+ function ha(e) {
2151
+ var n, t, r = e.replace(/[\r\n=]/g, ""), a = r.length, c = $e, s = 0, o = [];
2152
+ for (n = 0; n < a; n++)
2153
+ n % 4 === 0 && n && (o.push(s >> 16 & 255), o.push(s >> 8 & 255), o.push(s & 255)), s = s << 6 | c.indexOf(r.charAt(n));
2154
+ return t = a % 4 * 6, t === 0 ? (o.push(s >> 16 & 255), o.push(s >> 8 & 255), o.push(s & 255)) : t === 18 ? (o.push(s >> 10 & 255), o.push(s >> 2 & 255)) : t === 12 && o.push(s >> 4 & 255), new Uint8Array(o);
2145
2155
  }
2146
- function br(e) {
2147
- var n = "", t = 0, a, r, c = e.length, s = qe;
2148
- for (a = 0; a < c; a++)
2149
- a % 3 === 0 && a && (n += s[t >> 18 & 63], n += s[t >> 12 & 63], n += s[t >> 6 & 63], n += s[t & 63]), t = (t << 8) + e[a];
2150
- return r = c % 3, r === 0 ? (n += s[t >> 18 & 63], n += s[t >> 12 & 63], n += s[t >> 6 & 63], n += s[t & 63]) : r === 2 ? (n += s[t >> 10 & 63], n += s[t >> 4 & 63], n += s[t << 2 & 63], n += s[64]) : r === 1 && (n += s[t >> 2 & 63], n += s[t << 4 & 63], n += s[64], n += s[64]), n;
2156
+ function va(e) {
2157
+ var n = "", t = 0, r, a, c = e.length, s = $e;
2158
+ for (r = 0; r < c; r++)
2159
+ r % 3 === 0 && r && (n += s[t >> 18 & 63], n += s[t >> 12 & 63], n += s[t >> 6 & 63], n += s[t & 63]), t = (t << 8) + e[r];
2160
+ return a = c % 3, a === 0 ? (n += s[t >> 18 & 63], n += s[t >> 12 & 63], n += s[t >> 6 & 63], n += s[t & 63]) : a === 2 ? (n += s[t >> 10 & 63], n += s[t >> 4 & 63], n += s[t << 2 & 63], n += s[64]) : a === 1 && (n += s[t >> 2 & 63], n += s[t << 4 & 63], n += s[64], n += s[64]), n;
2151
2161
  }
2152
- function yr(e) {
2162
+ function ba(e) {
2153
2163
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
2154
2164
  }
2155
- var kr = new M("tag:yaml.org,2002:binary", {
2165
+ var ya = new z("tag:yaml.org,2002:binary", {
2156
2166
  kind: "scalar",
2157
- resolve: vr,
2158
- construct: wr,
2159
- predicate: yr,
2160
- represent: br
2161
- }), xr = Object.prototype.hasOwnProperty, Sr = Object.prototype.toString;
2162
- function _r(e) {
2167
+ resolve: fa,
2168
+ construct: ha,
2169
+ predicate: ba,
2170
+ represent: va
2171
+ }), _a = Object.prototype.hasOwnProperty, ka = Object.prototype.toString;
2172
+ function xa(e) {
2163
2173
  if (e === null)
2164
2174
  return !0;
2165
- var n = [], t, a, r, c, s, l = e;
2166
- for (t = 0, a = l.length; t < a; t += 1) {
2167
- if (r = l[t], s = !1, Sr.call(r) !== "[object Object]")
2175
+ var n = [], t, r, a, c, s, o = e;
2176
+ for (t = 0, r = o.length; t < r; t += 1) {
2177
+ if (a = o[t], s = !1, ka.call(a) !== "[object Object]")
2168
2178
  return !1;
2169
- for (c in r)
2170
- if (xr.call(r, c))
2179
+ for (c in a)
2180
+ if (_a.call(a, c))
2171
2181
  if (!s)
2172
2182
  s = !0;
2173
2183
  else
@@ -2181,75 +2191,75 @@ function _r(e) {
2181
2191
  }
2182
2192
  return !0;
2183
2193
  }
2184
- function Ar(e) {
2194
+ function wa(e) {
2185
2195
  return e !== null ? e : [];
2186
2196
  }
2187
- var Dr = new M("tag:yaml.org,2002:omap", {
2197
+ var Sa = new z("tag:yaml.org,2002:omap", {
2188
2198
  kind: "sequence",
2189
- resolve: _r,
2190
- construct: Ar
2191
- }), qr = Object.prototype.toString;
2192
- function Cr(e) {
2199
+ resolve: xa,
2200
+ construct: wa
2201
+ }), Aa = Object.prototype.toString;
2202
+ function Fa(e) {
2193
2203
  if (e === null)
2194
2204
  return !0;
2195
- var n, t, a, r, c, s = e;
2205
+ var n, t, r, a, c, s = e;
2196
2206
  for (c = new Array(s.length), n = 0, t = s.length; n < t; n += 1) {
2197
- if (a = s[n], qr.call(a) !== "[object Object]" || (r = Object.keys(a), r.length !== 1))
2207
+ if (r = s[n], Aa.call(r) !== "[object Object]" || (a = Object.keys(r), a.length !== 1))
2198
2208
  return !1;
2199
- c[n] = [r[0], a[r[0]]];
2209
+ c[n] = [a[0], r[a[0]]];
2200
2210
  }
2201
2211
  return !0;
2202
2212
  }
2203
- function Tr(e) {
2213
+ function $a(e) {
2204
2214
  if (e === null)
2205
2215
  return [];
2206
- var n, t, a, r, c, s = e;
2216
+ var n, t, r, a, c, s = e;
2207
2217
  for (c = new Array(s.length), n = 0, t = s.length; n < t; n += 1)
2208
- a = s[n], r = Object.keys(a), c[n] = [r[0], a[r[0]]];
2218
+ r = s[n], a = Object.keys(r), c[n] = [a[0], r[a[0]]];
2209
2219
  return c;
2210
2220
  }
2211
- var jr = new M("tag:yaml.org,2002:pairs", {
2221
+ var Na = new z("tag:yaml.org,2002:pairs", {
2212
2222
  kind: "sequence",
2213
- resolve: Cr,
2214
- construct: Tr
2215
- }), Fr = Object.prototype.hasOwnProperty;
2216
- function Rr(e) {
2223
+ resolve: Fa,
2224
+ construct: $a
2225
+ }), Ea = Object.prototype.hasOwnProperty;
2226
+ function Ca(e) {
2217
2227
  if (e === null)
2218
2228
  return !0;
2219
2229
  var n, t = e;
2220
2230
  for (n in t)
2221
- if (Fr.call(t, n) && t[n] !== null)
2231
+ if (Ea.call(t, n) && t[n] !== null)
2222
2232
  return !1;
2223
2233
  return !0;
2224
2234
  }
2225
- function Nr(e) {
2235
+ function Ia(e) {
2226
2236
  return e !== null ? e : {};
2227
2237
  }
2228
- var Er = new M("tag:yaml.org,2002:set", {
2238
+ var Ta = new z("tag:yaml.org,2002:set", {
2229
2239
  kind: "mapping",
2230
- resolve: Rr,
2231
- construct: Nr
2240
+ resolve: Ca,
2241
+ construct: Ia
2232
2242
  });
2233
- cr.extend({
2243
+ sa.extend({
2234
2244
  implicit: [
2235
- gr,
2236
- hr
2245
+ pa,
2246
+ ga
2237
2247
  ],
2238
2248
  explicit: [
2239
- kr,
2240
- Dr,
2241
- jr,
2242
- Er
2249
+ ya,
2250
+ Sa,
2251
+ Na,
2252
+ Ta
2243
2253
  ]
2244
2254
  });
2245
- function Ie(e) {
2255
+ function Le(e) {
2246
2256
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
2247
2257
  ` : e === 118 ? "\v" : e === 102 ? "\f" : e === 114 ? "\r" : e === 101 ? "\x1B" : e === 32 ? " " : e === 34 ? '"' : e === 47 ? "/" : e === 92 ? "\\" : e === 78 ? "…" : e === 95 ? " " : e === 76 ? "\u2028" : e === 80 ? "\u2029" : "";
2248
2258
  }
2249
- var Lr = new Array(256), Pr = new Array(256);
2259
+ var Oa = new Array(256), Pa = new Array(256);
2250
2260
  for (var te = 0; te < 256; te++)
2251
- Lr[te] = Ie(te) ? 1 : 0, Pr[te] = Ie(te);
2252
- const We = /* @__PURE__ */ G({
2261
+ Oa[te] = Le(te) ? 1 : 0, Pa[te] = Le(te);
2262
+ const Ze = /* @__PURE__ */ q({
2253
2263
  __name: "PermissionsWrapper",
2254
2264
  props: {
2255
2265
  /**
@@ -2271,25 +2281,25 @@ const We = /* @__PURE__ */ G({
2271
2281
  }
2272
2282
  },
2273
2283
  setup(e) {
2274
- const n = e, t = U(void 0), a = L(() => t.value === !0 || t.value !== void 0 && n.forceShow === !0);
2284
+ const n = e, t = Z(void 0), r = j(() => t.value === !0 || t.value !== void 0 && n.forceShow === !0);
2275
2285
  return ge(() => n.authFunction, async () => {
2276
2286
  t.value = await n.authFunction();
2277
- }, { immediate: !0 }), (r, c) => a.value ? z(r.$slots, "default", {
2287
+ }, { immediate: !0 }), (a, c) => r.value ? V(a.$slots, "default", {
2278
2288
  key: 0,
2279
2289
  isAllowed: t.value
2280
- }) : H("", !0);
2290
+ }) : U("", !0);
2281
2291
  }
2282
- }), Ir = (e) => (fe("data-v-cb31890c"), e = e(), he(), e), $r = { class: "documentation-display" }, Gr = { class: "document-meta" }, Or = { class: "document-title meta-section" }, Mr = /* @__PURE__ */ Ir(() => /* @__PURE__ */ N("span", { class: "document-title-extension" }, "md", -1)), Br = {
2292
+ }), ja = (e) => (fe("data-v-cb31890c"), e = e(), he(), e), La = { class: "documentation-display" }, Da = { class: "document-meta" }, Ba = { class: "document-title meta-section" }, qa = /* @__PURE__ */ ja(() => /* @__PURE__ */ O("span", { class: "document-title-extension" }, "md", -1)), Ma = {
2283
2293
  key: 0,
2284
2294
  class: "document-status meta-section"
2285
- }, zr = { class: "meta-label" }, Hr = {
2295
+ }, za = { class: "meta-label" }, Ka = {
2286
2296
  key: 1,
2287
2297
  class: "document-create meta-section"
2288
- }, Kr = { class: "meta-label" }, Vr = { class: "document-display-actions" }, Ur = {
2298
+ }, Va = { class: "meta-label" }, Ua = { class: "document-display-actions" }, Ra = {
2289
2299
  key: 0,
2290
2300
  class: "markdown-content-loading",
2291
2301
  "data-testid": "markdown-content-loading"
2292
- }, Jr = { key: 1 }, Wr = /* @__PURE__ */ G({
2302
+ }, Ha = { key: 1 }, Za = /* @__PURE__ */ q({
2293
2303
  __name: "DocumentationDisplay",
2294
2304
  props: {
2295
2305
  /**
@@ -2316,101 +2326,101 @@ const We = /* @__PURE__ */ G({
2316
2326
  },
2317
2327
  emits: ["add", "edit", "toggle-published"],
2318
2328
  setup(e, { emit: n }) {
2319
- const t = e, a = n, { i18n: r } = Ae.useI18n(), c = U(!0), s = L(() => {
2320
- var x, b, S, D, i;
2321
- return ((b = (x = t.selectedDocument) == null ? void 0 : x.document) == null ? void 0 : b.title) || ((i = (D = (S = t.selectedDocument) == null ? void 0 : S.document) == null ? void 0 : D.revision) == null ? void 0 : i.title) || "";
2322
- }), l = L(() => ""), g = U(!1), h = U(r.t("documentation.common.unpublished")), A = U(null);
2323
- ge(() => t.selectedDocument, (x) => {
2324
- var b;
2325
- bn(x) || (t.hidePublishToggle || P((b = x.document) == null ? void 0 : b.status), x.ast && K());
2329
+ const t = e, r = n, { i18n: a } = Ae.useI18n(), c = Z(!0), s = j(() => {
2330
+ var k, y, x, A, i;
2331
+ return ((y = (k = t.selectedDocument) == null ? void 0 : k.document) == null ? void 0 : y.title) || ((i = (A = (x = t.selectedDocument) == null ? void 0 : x.document) == null ? void 0 : A.revision) == null ? void 0 : i.title) || "";
2332
+ }), o = j(() => ""), h = Z(!1), f = Z(a.t("documentation.common.unpublished")), E = Z(null);
2333
+ ge(() => t.selectedDocument, (k) => {
2334
+ var y;
2335
+ vn(k) || (t.hidePublishToggle || L((y = k.document) == null ? void 0 : y.status), k.ast && R());
2326
2336
  }, { deep: !0 });
2327
- const k = () => {
2328
- const x = !g.value;
2329
- a("toggle-published", x), g.value = x, h.value = x ? r.t("documentation.common.published") : r.t("documentation.common.unpublished");
2330
- }, P = (x) => {
2331
- x === "published" ? (g.value = !0, h.value = r.t("documentation.common.published")) : (g.value = !1, h.value = r.t("documentation.common.unpublished"));
2332
- }, K = () => {
2333
- A.value = {
2337
+ const S = () => {
2338
+ const k = !h.value;
2339
+ r("toggle-published", k), h.value = k, f.value = k ? a.t("documentation.common.published") : a.t("documentation.common.unpublished");
2340
+ }, L = (k) => {
2341
+ k === "published" ? (h.value = !0, f.value = a.t("documentation.common.published")) : (h.value = !1, f.value = a.t("documentation.common.unpublished"));
2342
+ }, R = () => {
2343
+ E.value = {
2334
2344
  children: t.selectedDocument.ast,
2335
2345
  type: "document",
2336
2346
  version: 1
2337
2347
  }, c.value = !1;
2338
2348
  };
2339
- return (x, b) => {
2340
- const S = $("KBadge"), D = $("KInputSwitch"), i = $("KButton"), o = $("KSkeleton");
2341
- return v(), C("div", $r, [
2342
- N("div", Gr, [
2343
- N("div", Or, [
2344
- z(x.$slots, "document-title", {}, () => [
2345
- N("span", null, E(s.value), 1),
2346
- O("."),
2347
- Mr
2349
+ return (k, y) => {
2350
+ const x = B("KBadge"), A = B("KInputSwitch"), i = B("KButton"), l = B("KSkeleton");
2351
+ return v(), $("div", La, [
2352
+ O("div", Da, [
2353
+ O("div", Ba, [
2354
+ V(k.$slots, "document-title", {}, () => [
2355
+ O("span", null, P(s.value), 1),
2356
+ M("."),
2357
+ qa
2348
2358
  ], !0)
2349
2359
  ]),
2350
- e.hidePublishToggle ? H("", !0) : (v(), C("div", Br, [
2351
- N("span", zr, E(y(r).t("documentation.documentation_display.status_label")), 1),
2352
- g.value ? (v(), F(S, {
2360
+ e.hidePublishToggle ? U("", !0) : (v(), $("div", Ma, [
2361
+ O("span", za, P(_(a).t("documentation.documentation_display.status_label")), 1),
2362
+ h.value ? (v(), I(x, {
2353
2363
  key: 0,
2354
2364
  appearance: "success"
2355
2365
  }, {
2356
- default: q(() => [
2357
- O(E(y(r).t("documentation.common.published")), 1)
2366
+ default: F(() => [
2367
+ M(P(_(a).t("documentation.common.published")), 1)
2358
2368
  ]),
2359
2369
  _: 1
2360
- })) : (v(), F(S, {
2370
+ })) : (v(), I(x, {
2361
2371
  key: 1,
2362
2372
  appearance: "neutral"
2363
2373
  }, {
2364
- default: q(() => [
2365
- O(E(y(r).t("documentation.common.unpublished")), 1)
2374
+ default: F(() => [
2375
+ M(P(_(a).t("documentation.common.unpublished")), 1)
2366
2376
  ]),
2367
2377
  _: 1
2368
2378
  }))
2369
2379
  ])),
2370
- l.value ? (v(), C("div", Hr, [
2371
- N("span", Kr, E(y(r).t("documentation.documentation_display.added_label")), 1),
2372
- R(S, { appearance: "neutral" }, {
2373
- default: q(() => [
2374
- O(E(l.value), 1)
2380
+ o.value ? (v(), $("div", Ka, [
2381
+ O("span", Va, P(_(a).t("documentation.documentation_display.added_label")), 1),
2382
+ T(x, { appearance: "neutral" }, {
2383
+ default: F(() => [
2384
+ M(P(o.value), 1)
2375
2385
  ]),
2376
2386
  _: 1
2377
2387
  })
2378
- ])) : H("", !0),
2379
- N("div", Vr, [
2380
- R(y(We), {
2388
+ ])) : U("", !0),
2389
+ O("div", Ua, [
2390
+ T(_(Ze), {
2381
2391
  "auth-function": () => e.canEdit()
2382
2392
  }, {
2383
- default: q(() => [
2384
- !e.hidePublishToggle && !e.card ? (v(), F(D, {
2393
+ default: F(() => [
2394
+ !e.hidePublishToggle && !e.card ? (v(), I(A, {
2385
2395
  key: 0,
2386
- modelValue: g.value,
2387
- "onUpdate:modelValue": b[0] || (b[0] = (u) => g.value = u),
2396
+ modelValue: h.value,
2397
+ "onUpdate:modelValue": y[0] || (y[0] = (u) => h.value = u),
2388
2398
  class: "document-publish-toggle",
2389
2399
  "data-testid": "document-publish-toggle",
2390
- label: h.value,
2400
+ label: f.value,
2391
2401
  "label-before": "",
2392
- onClick: k
2393
- }, null, 8, ["modelValue", "label"])) : H("", !0),
2394
- R(i, {
2402
+ onClick: S
2403
+ }, null, 8, ["modelValue", "label"])) : U("", !0),
2404
+ T(i, {
2395
2405
  appearance: "secondary",
2396
2406
  class: "document-edit-button",
2397
2407
  "data-testid": "document-edit-button",
2398
2408
  size: "small",
2399
- onClick: b[1] || (b[1] = (u) => a("edit"))
2409
+ onClick: y[1] || (y[1] = (u) => r("edit"))
2400
2410
  }, {
2401
- default: q(() => [
2402
- O(E(y(r).t("documentation.documentation_display.edit_button")), 1)
2411
+ default: F(() => [
2412
+ M(P(_(a).t("documentation.documentation_display.edit_button")), 1)
2403
2413
  ]),
2404
2414
  _: 1
2405
2415
  }),
2406
- R(i, {
2416
+ T(i, {
2407
2417
  appearance: "primary",
2408
2418
  "data-testid": "add-new-page-button",
2409
2419
  size: "small",
2410
- onClick: b[2] || (b[2] = (u) => a("add"))
2420
+ onClick: y[2] || (y[2] = (u) => r("add"))
2411
2421
  }, {
2412
- default: q(() => [
2413
- O(E(y(r).t("documentation.documentation_display.add_new")), 1)
2422
+ default: F(() => [
2423
+ M(P(_(a).t("documentation.documentation_display.add_new")), 1)
2414
2424
  ]),
2415
2425
  _: 1
2416
2426
  })
@@ -2419,44 +2429,44 @@ const We = /* @__PURE__ */ G({
2419
2429
  }, 8, ["auth-function"])
2420
2430
  ])
2421
2431
  ]),
2422
- c.value ? (v(), C("div", Ur, [
2423
- e.card ? (v(), F(o, {
2432
+ c.value ? (v(), $("div", Ra, [
2433
+ e.card ? (v(), I(l, {
2424
2434
  key: 1,
2425
2435
  type: "card"
2426
- })) : (v(), F(o, {
2436
+ })) : (v(), I(l, {
2427
2437
  key: 0,
2428
2438
  class: "markdown-content-loader"
2429
2439
  }))
2430
- ])) : (v(), C("div", Jr, [
2431
- N("div", {
2432
- class: _e(["document-content", { "content-card-view": e.card }])
2440
+ ])) : (v(), $("div", Ha, [
2441
+ O("div", {
2442
+ class: Se(["document-content", { "content-card-view": e.card }])
2433
2443
  }, [
2434
- A.value ? (v(), F(y(wn), {
2444
+ E.value ? (v(), I(_(hn), {
2435
2445
  key: 0,
2436
- document: A.value
2437
- }, null, 8, ["document"])) : H("", !0)
2446
+ document: E.value
2447
+ }, null, 8, ["document"])) : U("", !0)
2438
2448
  ], 2)
2439
2449
  ]))
2440
2450
  ]);
2441
2451
  };
2442
2452
  }
2443
- }), Ce = (e, n) => {
2453
+ }), Ne = (e, n) => {
2444
2454
  const t = e.__vccOpts || e;
2445
- for (const [a, r] of n)
2446
- t[a] = r;
2455
+ for (const [r, a] of n)
2456
+ t[r] = a;
2447
2457
  return t;
2448
- }, Qr = /* @__PURE__ */ Ce(Wr, [["__scopeId", "data-v-cb31890c"]]), me = "24px", Qe = (e, n) => {
2458
+ }, Ya = /* @__PURE__ */ Ne(Za, [["__scopeId", "data-v-cb31890c"]]), me = "24px", Ye = (e, n) => {
2449
2459
  const t = e.__vccOpts || e;
2450
- for (const [a, r] of n)
2451
- t[a] = r;
2460
+ for (const [r, a] of n)
2461
+ t[r] = a;
2452
2462
  return t;
2453
- }, Xr = (e) => (fe("data-v-ee85ff00"), e = e(), he(), e), Zr = ["aria-hidden"], Yr = {
2463
+ }, Ja = (e) => (fe("data-v-ee85ff00"), e = e(), he(), e), Wa = ["aria-hidden"], Ga = {
2454
2464
  key: 0,
2455
2465
  "data-testid": "kui-icon-svg-title"
2456
- }, ea = /* @__PURE__ */ Xr(() => /* @__PURE__ */ N("path", {
2466
+ }, Xa = /* @__PURE__ */ Ja(() => /* @__PURE__ */ O("path", {
2457
2467
  d: "M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",
2458
2468
  fill: "currentColor"
2459
- }, null, -1)), ta = /* @__PURE__ */ G({
2469
+ }, null, -1)), Qa = /* @__PURE__ */ q({
2460
2470
  __name: "AddIcon",
2461
2471
  props: {
2462
2472
  /** The accessibility text provided to screen readers */
@@ -2508,16 +2518,16 @@ const We = /* @__PURE__ */ G({
2508
2518
  }
2509
2519
  },
2510
2520
  setup(e) {
2511
- const n = e, t = L(() => {
2521
+ const n = e, t = j(() => {
2512
2522
  if (typeof n.size == "number" && n.size > 0)
2513
2523
  return `${n.size}px`;
2514
2524
  if (typeof n.size == "string") {
2515
- const r = String(n.size).replace(/px/gi, ""), c = Number(r);
2525
+ const a = String(n.size).replace(/px/gi, ""), c = Number(a);
2516
2526
  if (c && !isNaN(c) && Number.isInteger(c) && c > 0)
2517
2527
  return `${c}px`;
2518
2528
  }
2519
2529
  return me;
2520
- }), a = L(() => ({
2530
+ }), r = j(() => ({
2521
2531
  boxSizing: "border-box",
2522
2532
  color: n.color,
2523
2533
  display: n.display,
@@ -2525,14 +2535,14 @@ const We = /* @__PURE__ */ G({
2525
2535
  lineHeight: "0",
2526
2536
  width: t.value
2527
2537
  }));
2528
- return (r, c) => (v(), F(Y(e.as), {
2538
+ return (a, c) => (v(), I(Q(e.as), {
2529
2539
  "aria-hidden": e.decorative ? "true" : void 0,
2530
2540
  class: "kui-icon add-icon",
2531
2541
  "data-testid": "kui-icon-wrapper-add-icon",
2532
- style: Ge(a.value)
2542
+ style: Be(r.value)
2533
2543
  }, {
2534
- default: q(() => [
2535
- (v(), C("svg", {
2544
+ default: F(() => [
2545
+ (v(), $("svg", {
2536
2546
  "aria-hidden": e.decorative ? "true" : void 0,
2537
2547
  "data-testid": "kui-icon-svg-add-icon",
2538
2548
  fill: "none",
@@ -2542,21 +2552,21 @@ const We = /* @__PURE__ */ G({
2542
2552
  width: "100%",
2543
2553
  xmlns: "http://www.w3.org/2000/svg"
2544
2554
  }, [
2545
- e.title ? (v(), C("title", Yr, E(e.title), 1)) : H("", !0),
2546
- ea
2547
- ], 8, Zr))
2555
+ e.title ? (v(), $("title", Ga, P(e.title), 1)) : U("", !0),
2556
+ Xa
2557
+ ], 8, Wa))
2548
2558
  ]),
2549
2559
  _: 1
2550
2560
  }, 8, ["aria-hidden", "style"]));
2551
2561
  }
2552
- }), na = /* @__PURE__ */ Qe(ta, [["__scopeId", "data-v-ee85ff00"]]), Xe = (e) => (fe("data-v-513e4f3f"), e = e(), he(), e), ra = ["aria-hidden"], aa = {
2562
+ }), er = /* @__PURE__ */ Ye(Qa, [["__scopeId", "data-v-ee85ff00"]]), Je = (e) => (fe("data-v-513e4f3f"), e = e(), he(), e), tr = ["aria-hidden"], nr = {
2553
2563
  key: 0,
2554
2564
  "data-testid": "kui-icon-svg-title"
2555
- }, ia = /* @__PURE__ */ Xe(() => /* @__PURE__ */ N("path", {
2565
+ }, ar = /* @__PURE__ */ Je(() => /* @__PURE__ */ O("path", {
2556
2566
  d: "M12 22C10.6333 22 9.34167 21.7375 8.125 21.2125C6.90833 20.6875 5.84583 19.9708 4.9375 19.0625C4.02917 18.1542 3.3125 17.0917 2.7875 15.875C2.2625 14.6583 2 13.3667 2 12C2 10.6167 2.2625 9.32083 2.7875 8.1125C3.3125 6.90417 4.02917 5.84583 4.9375 4.9375C5.84583 4.02917 6.90833 3.3125 8.125 2.7875C9.34167 2.2625 10.6333 2 12 2C12.2833 2 12.5208 2.09583 12.7125 2.2875C12.9042 2.47917 13 2.71667 13 3C13 3.28333 12.9042 3.52083 12.7125 3.7125C12.5208 3.90417 12.2833 4 12 4C9.78333 4 7.89583 4.77917 6.3375 6.3375C4.77917 7.89583 4 9.78333 4 12C4 14.2167 4.77917 16.1042 6.3375 17.6625C7.89583 19.2208 9.78333 20 12 20C14.2167 20 16.1042 19.2208 17.6625 17.6625C19.2208 16.1042 20 14.2167 20 12C20 11.7167 20.0958 11.4792 20.2875 11.2875C20.4792 11.0958 20.7167 11 21 11C21.2833 11 21.5208 11.0958 21.7125 11.2875C21.9042 11.4792 22 11.7167 22 12C22 13.3667 21.7375 14.6583 21.2125 15.875C20.6875 17.0917 19.9708 18.1542 19.0625 19.0625C18.1542 19.9708 17.0958 20.6875 15.8875 21.2125C14.6792 21.7375 13.3833 22 12 22Z",
2557
2567
  fill: "currentColor",
2558
2568
  "transform-origin": "center"
2559
- }, null, -1)), oa = /* @__PURE__ */ Xe(() => /* @__PURE__ */ N("animateTransform", {
2569
+ }, null, -1)), rr = /* @__PURE__ */ Je(() => /* @__PURE__ */ O("animateTransform", {
2560
2570
  attributeName: "transform",
2561
2571
  attributeType: "XML",
2562
2572
  dur: "1.5s",
@@ -2564,7 +2574,7 @@ const We = /* @__PURE__ */ G({
2564
2574
  repeatCount: "indefinite",
2565
2575
  to: "360",
2566
2576
  type: "rotate"
2567
- }, null, -1)), la = /* @__PURE__ */ G({
2577
+ }, null, -1)), or = /* @__PURE__ */ q({
2568
2578
  __name: "ProgressIcon",
2569
2579
  props: {
2570
2580
  /** The accessibility text provided to screen readers */
@@ -2616,16 +2626,16 @@ const We = /* @__PURE__ */ G({
2616
2626
  }
2617
2627
  },
2618
2628
  setup(e) {
2619
- const n = e, t = L(() => {
2629
+ const n = e, t = j(() => {
2620
2630
  if (typeof n.size == "number" && n.size > 0)
2621
2631
  return `${n.size}px`;
2622
2632
  if (typeof n.size == "string") {
2623
- const r = String(n.size).replace(/px/gi, ""), c = Number(r);
2633
+ const a = String(n.size).replace(/px/gi, ""), c = Number(a);
2624
2634
  if (c && !isNaN(c) && Number.isInteger(c) && c > 0)
2625
2635
  return `${c}px`;
2626
2636
  }
2627
2637
  return me;
2628
- }), a = L(() => ({
2638
+ }), r = j(() => ({
2629
2639
  boxSizing: "border-box",
2630
2640
  color: n.color,
2631
2641
  display: n.display,
@@ -2633,14 +2643,14 @@ const We = /* @__PURE__ */ G({
2633
2643
  lineHeight: "0",
2634
2644
  width: t.value
2635
2645
  }));
2636
- return (r, c) => (v(), F(Y(e.as), {
2646
+ return (a, c) => (v(), I(Q(e.as), {
2637
2647
  "aria-hidden": e.decorative ? "true" : void 0,
2638
2648
  class: "kui-icon progress-icon",
2639
2649
  "data-testid": "kui-icon-wrapper-progress-icon",
2640
- style: Ge(a.value)
2650
+ style: Be(r.value)
2641
2651
  }, {
2642
- default: q(() => [
2643
- (v(), C("svg", {
2652
+ default: F(() => [
2653
+ (v(), $("svg", {
2644
2654
  "aria-hidden": e.decorative ? "true" : void 0,
2645
2655
  "data-testid": "kui-icon-svg-progress-icon",
2646
2656
  fill: "none",
@@ -2650,15 +2660,15 @@ const We = /* @__PURE__ */ G({
2650
2660
  width: "100%",
2651
2661
  xmlns: "http://www.w3.org/2000/svg"
2652
2662
  }, [
2653
- e.title ? (v(), C("title", aa, E(e.title), 1)) : H("", !0),
2654
- ia,
2655
- oa
2656
- ], 8, ra))
2663
+ e.title ? (v(), $("title", nr, P(e.title), 1)) : U("", !0),
2664
+ ar,
2665
+ rr
2666
+ ], 8, tr))
2657
2667
  ]),
2658
2668
  _: 1
2659
2669
  }, 8, ["aria-hidden", "style"]));
2660
2670
  }
2661
- }), $e = /* @__PURE__ */ Qe(la, [["__scopeId", "data-v-513e4f3f"]]), sa = /* @__PURE__ */ G({
2671
+ }), De = /* @__PURE__ */ Ye(or, [["__scopeId", "data-v-513e4f3f"]]), ir = /* @__PURE__ */ q({
2662
2672
  __name: "DocumentationPageEmptyState",
2663
2673
  props: {
2664
2674
  /**
@@ -2673,36 +2683,36 @@ const We = /* @__PURE__ */ G({
2673
2683
  },
2674
2684
  emits: ["create-documentation"],
2675
2685
  setup(e, { emit: n }) {
2676
- const t = n, { i18n: a } = Ae.useI18n();
2677
- return (r, c) => {
2678
- const s = $("KButton"), l = $("KEmptyState");
2679
- return v(), F(l, {
2686
+ const t = n, { i18n: r } = Ae.useI18n();
2687
+ return (a, c) => {
2688
+ const s = B("KButton"), o = B("KEmptyState");
2689
+ return v(), I(o, {
2680
2690
  class: "documentation-page-empty-state",
2681
2691
  "data-testid": "documentation-page-empty-state",
2682
2692
  icon: "stateGruceo",
2683
2693
  "icon-size": "96"
2684
2694
  }, {
2685
- title: q(() => [
2686
- O(E(y(a).t("documentation.show.empty_state.title")), 1)
2695
+ title: F(() => [
2696
+ M(P(_(r).t("documentation.show.empty_state.title")), 1)
2687
2697
  ]),
2688
- message: q(() => [
2689
- O(E(y(a).t("documentation.show.empty_state.message")), 1)
2698
+ message: F(() => [
2699
+ M(P(_(r).t("documentation.show.empty_state.message")), 1)
2690
2700
  ]),
2691
- cta: q(() => [
2692
- R(y(We), {
2701
+ cta: F(() => [
2702
+ T(_(Ze), {
2693
2703
  "auth-function": () => e.canEdit()
2694
2704
  }, {
2695
- default: q(() => [
2696
- R(s, {
2705
+ default: F(() => [
2706
+ T(s, {
2697
2707
  appearance: "primary",
2698
2708
  "data-testid": "add-new-page-button",
2699
- onClick: c[0] || (c[0] = (g) => t("create-documentation"))
2709
+ onClick: c[0] || (c[0] = (h) => t("create-documentation"))
2700
2710
  }, {
2701
- icon: q(() => [
2702
- R(y(na), { size: "22" })
2711
+ icon: F(() => [
2712
+ T(_(er), { size: "22" })
2703
2713
  ]),
2704
- default: q(() => [
2705
- O(" " + E(y(a).t("documentation.show.empty_state.ctaText")), 1)
2714
+ default: F(() => [
2715
+ M(" " + P(_(r).t("documentation.show.empty_state.ctaText")), 1)
2706
2716
  ]),
2707
2717
  _: 1
2708
2718
  })
@@ -2714,13 +2724,13 @@ const We = /* @__PURE__ */ G({
2714
2724
  });
2715
2725
  };
2716
2726
  }
2717
- }), ua = {
2727
+ }), lr = {
2718
2728
  // @ts-ignore
2719
2729
  serviceDocumentationDocs: "https://docs.konghq.com/konnect/servicehub/service-documentation/#main"
2720
- }, ca = (e) => (fe("data-v-ad1a177c"), e = e(), he(), e), da = { class: "title" }, pa = { class: "subtitle" }, ma = /* @__PURE__ */ ca(() => /* @__PURE__ */ N("br", null, null, -1)), ga = { class: "document-inputs" }, fa = { class: "page-name side-by-side" }, ha = { class: "url-slug side-by-side" }, va = {
2730
+ }, sr = (e) => (fe("data-v-ad1a177c"), e = e(), he(), e), ur = { class: "title" }, cr = { class: "subtitle" }, dr = /* @__PURE__ */ sr(() => /* @__PURE__ */ O("br", null, null, -1)), pr = { class: "document-inputs" }, mr = { class: "page-name side-by-side" }, gr = { class: "url-slug side-by-side" }, fr = {
2721
2731
  key: 1,
2722
2732
  class: "documentation-status"
2723
- }, wa = { class: "action-buttons" }, ba = { class: "button-spacing" }, ya = /* @__PURE__ */ G({
2733
+ }, hr = { class: "action-buttons" }, vr = { class: "button-spacing" }, br = /* @__PURE__ */ q({
2724
2734
  __name: "ProductDocumentModal",
2725
2735
  props: {
2726
2736
  actionPending: {
@@ -2750,206 +2760,206 @@ const We = /* @__PURE__ */ G({
2750
2760
  },
2751
2761
  emits: ["cancel", "save", "delete"],
2752
2762
  setup(e, { emit: n }) {
2753
- const t = e, a = n, { i18n: r } = Ae.useI18n(), c = L(() => {
2763
+ const t = e, r = n, { i18n: a } = Ae.useI18n(), c = j(() => {
2754
2764
  var m;
2755
2765
  return (m = t.record.file) == null ? void 0 : m.filename;
2756
- }), s = L(() => {
2766
+ }), s = j(() => {
2757
2767
  var m;
2758
- return D.value ? (m = D.value.name) == null ? void 0 : m.split(".")[0] : "";
2759
- }), l = U(!0), g = L(() => l.value ? "published" : "unpublished"), h = tt({
2768
+ return A.value ? (m = A.value.name) == null ? void 0 : m.split(".")[0] : "";
2769
+ }), o = Z(!0), h = j(() => o.value ? "published" : "unpublished"), f = Qe({
2760
2770
  fileName: "",
2761
2771
  pageName: "",
2762
2772
  urlSlug: "",
2763
- status: g.value,
2773
+ status: h.value,
2764
2774
  parent: ""
2765
- }), A = /^[\w-]+$/, k = L(() => {
2775
+ }), E = /^[\w-]+$/, S = j(() => {
2766
2776
  var m;
2767
- return h.urlSlug !== "" && !((m = h.urlSlug) != null && m.match(A));
2768
- }), P = L(() => {
2769
- var f;
2770
- let m = (f = t.documents) == null ? void 0 : f.filter((_) => {
2771
- var j;
2772
- return _.record.id !== ((j = t.record) == null ? void 0 : j.id) && !_.record.parent_document_id;
2773
- }).map((_) => ({
2774
- label: _.record.title,
2775
- value: _.record.id,
2777
+ return f.urlSlug !== "" && !((m = f.urlSlug) != null && m.match(E));
2778
+ }), L = j(() => {
2779
+ var g;
2780
+ let m = (g = t.documents) == null ? void 0 : g.filter((w) => {
2781
+ var C;
2782
+ return w.record.id !== ((C = t.record) == null ? void 0 : C.id) && !w.record.parent_document_id;
2783
+ }).map((w) => ({
2784
+ label: w.record.title,
2785
+ value: w.record.id,
2776
2786
  selected: !1
2777
2787
  }));
2778
2788
  m || (m = []);
2779
- const w = Le(m.length);
2789
+ const b = Pe(m.length);
2780
2790
  return m.push({
2781
- label: r.t("documentation.form_modal.parent_document_select_option_none"),
2791
+ label: a.t("documentation.form_modal.parent_document_select_option_none"),
2782
2792
  value: "none",
2783
- selected: !w
2793
+ selected: !b
2784
2794
  }), m;
2785
- }), K = L(() => !t.editing && !D.value || !h.pageName || k.value), x = L(() => t.editing ? r.t("documentation.form_modal.edit_title") : r.t("documentation.form_modal.create_title")), b = L(() => t.editing ? r.t("documentation.form_modal.replace_file_button_text") : r.t("documentation.form_modal.filename_button_text")), S = L(() => g.value === "published" ? r.t("documentation.common.published") : r.t("documentation.common.unpublished")), D = U(null), i = (m) => {
2786
- D.value = m == null ? void 0 : m[0], h.pageName = s.value, h.urlSlug = s.value, h.fileName = s.value;
2787
- }, o = () => {
2788
- D.value = null;
2795
+ }), R = j(() => !t.editing && !A.value || !f.pageName || S.value), k = j(() => t.editing ? a.t("documentation.form_modal.edit_title") : a.t("documentation.form_modal.create_title")), y = j(() => t.editing ? a.t("documentation.form_modal.replace_file_button_text") : a.t("documentation.form_modal.filename_button_text")), x = j(() => h.value === "published" ? a.t("documentation.common.published") : a.t("documentation.common.unpublished")), A = Z(null), i = (m) => {
2796
+ A.value = m == null ? void 0 : m[0], f.pageName = s.value, f.urlSlug = s.value, f.fileName = s.value;
2797
+ }, l = () => {
2798
+ A.value = null;
2789
2799
  }, u = () => {
2790
- a("cancel"), p();
2800
+ r("cancel"), p();
2791
2801
  }, d = () => {
2792
- a("save", Object.assign(h, { status: g.value }), D);
2802
+ r("save", Object.assign(f, { status: h.value }), A);
2793
2803
  }, p = () => {
2794
- var m, w, f, _, j;
2795
- if (D.value = null, t.editing && ((m = t.record) != null && m.document)) {
2796
- const I = Le(t.record), Q = I.status || t.record.document.status || l.value;
2797
- h.fileName = ((w = I.document.file) == null ? void 0 : w.filename) || ((_ = (f = I.document.revision) == null ? void 0 : f.file) == null ? void 0 : _.filename), h.pageName = I.document.title || ((j = I.document.revision) == null ? void 0 : j.title), h.urlSlug = I.document.slug, h.parent = I.document.parent_document_id, h.status = Q, l.value = Q === "published";
2804
+ var m, b, g, w, C;
2805
+ if (A.value = null, t.editing && ((m = t.record) != null && m.document)) {
2806
+ const D = Pe(t.record), W = D.status || t.record.document.status || o.value;
2807
+ f.fileName = ((b = D.document.file) == null ? void 0 : b.filename) || ((w = (g = D.document.revision) == null ? void 0 : g.file) == null ? void 0 : w.filename), f.pageName = D.document.title || ((C = D.document.revision) == null ? void 0 : C.title), f.urlSlug = D.document.slug, f.parent = D.document.parent_document_id, f.status = W, o.value = W === "published";
2798
2808
  } else
2799
- h.fileName = "", h.pageName = "", h.urlSlug = "", h.parent = "", h.status = "";
2809
+ f.fileName = "", f.pageName = "", f.urlSlug = "", f.parent = "", f.status = "";
2800
2810
  };
2801
- return nt(() => {
2811
+ return et(() => {
2802
2812
  p();
2803
- }), (m, w) => {
2804
- const f = $("KExternalLink"), _ = $("KAlert"), j = $("KFileUpload"), I = $("KInput"), Q = $("KLabel"), ie = $("KInputSwitch"), ve = $("KSelect"), ne = $("KButton"), oe = $("KPrompt");
2805
- return v(), F(rt, { to: "#kong-ui-app-layout-teleport-default-slot" }, [
2806
- R(oe, {
2813
+ }), (m, b) => {
2814
+ const g = B("KExternalLink"), w = B("KAlert"), C = B("KFileUpload"), D = B("KInput"), W = B("KLabel"), oe = B("KInputSwitch"), ve = B("KSelect"), ne = B("KButton"), ie = B("KPrompt");
2815
+ return v(), I(tt, { to: "#kong-ui-app-layout-teleport-default-slot" }, [
2816
+ T(ie, {
2807
2817
  class: "edit-document-modal",
2808
2818
  "data-testid": "edit-document-modal",
2809
2819
  "is-visible": "",
2810
2820
  onCanceled: u,
2811
2821
  onProceed: d
2812
2822
  }, {
2813
- "header-content": q(() => [
2814
- N("div", da, [
2815
- O(E(x.value) + " ", 1),
2816
- N("div", pa, [
2817
- O(E(y(r).t("documentation.form_modal.subtitle")) + " ", 1),
2818
- ma,
2819
- R(f, {
2823
+ "header-content": F(() => [
2824
+ O("div", ur, [
2825
+ M(P(k.value) + " ", 1),
2826
+ O("div", cr, [
2827
+ M(P(_(a).t("documentation.form_modal.subtitle")) + " ", 1),
2828
+ dr,
2829
+ T(g, {
2820
2830
  class: "doc-link",
2821
- href: y(ua).serviceDocumentationDocs
2831
+ href: _(lr).serviceDocumentationDocs
2822
2832
  }, {
2823
- default: q(() => [
2824
- O(E(y(r).t("documentation.form_modal.documentation_link_text")), 1)
2833
+ default: F(() => [
2834
+ M(P(_(a).t("documentation.form_modal.documentation_link_text")), 1)
2825
2835
  ]),
2826
2836
  _: 1
2827
2837
  }, 8, ["href"])
2828
2838
  ])
2829
2839
  ])
2830
2840
  ]),
2831
- "body-content": q(() => [
2832
- e.errorMessage ? (v(), F(_, {
2841
+ "body-content": F(() => [
2842
+ e.errorMessage ? (v(), I(w, {
2833
2843
  key: 0,
2834
2844
  "alert-message": e.errorMessage,
2835
2845
  appearance: "danger",
2836
2846
  class: "bottom-spacing"
2837
- }, null, 8, ["alert-message"])) : H("", !0),
2838
- R(j, {
2847
+ }, null, 8, ["alert-message"])) : U("", !0),
2848
+ T(C, {
2839
2849
  accept: [".md", ".markdown"],
2840
- "button-text": b.value,
2850
+ "button-text": y.value,
2841
2851
  class: "document-file-upload",
2842
2852
  "data-testid": "document-file-upload",
2843
- label: y(r).t("documentation.form_modal.file_label"),
2844
- "label-attributes": { help: y(r).t("documentation.form_modal.file_tooltip") },
2853
+ label: _(a).t("documentation.form_modal.file_label"),
2854
+ "label-attributes": { help: _(a).t("documentation.form_modal.file_tooltip") },
2845
2855
  placeholder: e.editing ? c.value : void 0,
2846
2856
  onFileAdded: i,
2847
- onFileRemoved: o
2857
+ onFileRemoved: l
2848
2858
  }, null, 8, ["accept", "button-text", "label", "label-attributes", "placeholder"]),
2849
- N("div", ga, [
2850
- N("div", fa, [
2851
- R(I, {
2852
- modelValue: h.pageName,
2853
- "onUpdate:modelValue": w[0] || (w[0] = (T) => h.pageName = T),
2859
+ O("div", pr, [
2860
+ O("div", mr, [
2861
+ T(D, {
2862
+ modelValue: f.pageName,
2863
+ "onUpdate:modelValue": b[0] || (b[0] = (N) => f.pageName = N),
2854
2864
  modelModifiers: { trim: !0 },
2855
2865
  "data-testid": "documentation-page-name",
2856
- label: y(r).t("documentation.form_modal.title_label"),
2857
- placeholder: y(r).t("documentation.form_modal.title_placeholder"),
2866
+ label: _(a).t("documentation.form_modal.title_label"),
2867
+ placeholder: _(a).t("documentation.form_modal.title_placeholder"),
2858
2868
  required: ""
2859
2869
  }, null, 8, ["modelValue", "label", "placeholder"])
2860
2870
  ]),
2861
- N("div", ha, [
2862
- R(I, {
2863
- modelValue: h.urlSlug,
2864
- "onUpdate:modelValue": w[1] || (w[1] = (T) => h.urlSlug = T),
2871
+ O("div", gr, [
2872
+ T(D, {
2873
+ modelValue: f.urlSlug,
2874
+ "onUpdate:modelValue": b[1] || (b[1] = (N) => f.urlSlug = N),
2865
2875
  modelModifiers: { trim: !0 },
2866
2876
  "data-testid": "documentation-url-slug",
2867
- "error-message": y(r).t("documentation.form_modal.slug_error"),
2868
- "has-error": k.value,
2869
- label: y(r).t("documentation.form_modal.slug_label"),
2870
- pattern: A,
2871
- placeholder: y(r).t("documentation.form_modal.slug_placeholder")
2877
+ "error-message": _(a).t("documentation.form_modal.slug_error"),
2878
+ "has-error": S.value,
2879
+ label: _(a).t("documentation.form_modal.slug_label"),
2880
+ pattern: E,
2881
+ placeholder: _(a).t("documentation.form_modal.slug_placeholder")
2872
2882
  }, null, 8, ["modelValue", "error-message", "has-error", "label", "placeholder"])
2873
2883
  ])
2874
2884
  ]),
2875
- e.hidePublishToggle ? H("", !0) : (v(), C("div", va, [
2876
- N("div", null, [
2877
- R(Q, null, {
2878
- default: q(() => [
2879
- O(E(y(r).t("documentation.form_modal.status_label")), 1)
2885
+ e.hidePublishToggle ? U("", !0) : (v(), $("div", fr, [
2886
+ O("div", null, [
2887
+ T(W, null, {
2888
+ default: F(() => [
2889
+ M(P(_(a).t("documentation.form_modal.status_label")), 1)
2880
2890
  ]),
2881
2891
  _: 1
2882
2892
  })
2883
2893
  ]),
2884
- R(ie, {
2885
- modelValue: l.value,
2886
- "onUpdate:modelValue": w[2] || (w[2] = (T) => l.value = T),
2894
+ T(oe, {
2895
+ modelValue: o.value,
2896
+ "onUpdate:modelValue": b[2] || (b[2] = (N) => o.value = N),
2887
2897
  "data-testid": "documentation-status",
2888
- label: S.value
2898
+ label: x.value
2889
2899
  }, null, 8, ["modelValue", "label"])
2890
2900
  ])),
2891
- R(ve, {
2892
- modelValue: h.parent,
2893
- "onUpdate:modelValue": w[3] || (w[3] = (T) => h.parent = T),
2901
+ T(ve, {
2902
+ modelValue: f.parent,
2903
+ "onUpdate:modelValue": b[3] || (b[3] = (N) => f.parent = N),
2894
2904
  appearance: "select",
2895
2905
  class: "document-parent-select",
2896
2906
  "data-testid": "documentation-parent",
2897
2907
  "enable-filtering": "",
2898
- items: P.value,
2899
- label: y(r).t("documentation.form_modal.parent_document_select_label"),
2908
+ items: L.value,
2909
+ label: _(a).t("documentation.form_modal.parent_document_select_label"),
2900
2910
  width: "100%"
2901
2911
  }, null, 8, ["modelValue", "items", "label"])
2902
2912
  ]),
2903
- "action-buttons": q(() => [
2904
- N("div", wa, [
2905
- e.editing ? (v(), F(ne, {
2913
+ "action-buttons": F(() => [
2914
+ O("div", hr, [
2915
+ e.editing ? (v(), I(ne, {
2906
2916
  key: 0,
2907
2917
  appearance: "danger",
2908
2918
  class: "edit-documentation-delete-button",
2909
2919
  "data-testid": "edit-documentation-delete-button",
2910
2920
  disabled: e.actionPending,
2911
- onClick: w[4] || (w[4] = (T) => a("delete"))
2912
- }, je({
2913
- default: q(() => [
2914
- O(" " + E(y(r).t("documentation.form_modal.delete_button_text")), 1)
2921
+ onClick: b[4] || (b[4] = (N) => r("delete"))
2922
+ }, Ce({
2923
+ default: F(() => [
2924
+ M(" " + P(_(a).t("documentation.form_modal.delete_button_text")), 1)
2915
2925
  ]),
2916
2926
  _: 2
2917
2927
  }, [
2918
2928
  e.actionPending ? {
2919
2929
  name: "icon",
2920
- fn: q(() => [
2921
- R(y($e), { size: "16" })
2930
+ fn: F(() => [
2931
+ T(_(De), { size: "16" })
2922
2932
  ]),
2923
2933
  key: "0"
2924
2934
  } : void 0
2925
- ]), 1032, ["disabled"])) : H("", !0),
2926
- N("div", ba, [
2927
- R(ne, {
2935
+ ]), 1032, ["disabled"])) : U("", !0),
2936
+ O("div", vr, [
2937
+ T(ne, {
2928
2938
  appearance: "secondary",
2929
2939
  class: "edit-documentation-cancel-button",
2930
2940
  "data-testid": "edit-documentation-cancel-button",
2931
2941
  onClick: u
2932
2942
  }, {
2933
- default: q(() => [
2934
- O(E(y(r).t("documentation.form_modal.cancel_button_text")), 1)
2943
+ default: F(() => [
2944
+ M(P(_(a).t("documentation.form_modal.cancel_button_text")), 1)
2935
2945
  ]),
2936
2946
  _: 1
2937
2947
  }),
2938
- R(ne, {
2948
+ T(ne, {
2939
2949
  appearance: "primary",
2940
2950
  "data-testid": "edit-documentation-save-button",
2941
- disabled: e.actionPending || K.value,
2951
+ disabled: e.actionPending || R.value,
2942
2952
  onClick: d
2943
- }, je({
2944
- default: q(() => [
2945
- O(" " + E(y(r).t("documentation.form_modal.save_button_text")), 1)
2953
+ }, Ce({
2954
+ default: F(() => [
2955
+ M(" " + P(_(a).t("documentation.form_modal.save_button_text")), 1)
2946
2956
  ]),
2947
2957
  _: 2
2948
2958
  }, [
2949
2959
  e.actionPending ? {
2950
2960
  name: "icon",
2951
- fn: q(() => [
2952
- R(y($e), { size: "16" })
2961
+ fn: F(() => [
2962
+ T(_(De), { size: "16" })
2953
2963
  ]),
2954
2964
  key: "0"
2955
2965
  } : void 0
@@ -2962,7 +2972,7 @@ const We = /* @__PURE__ */ G({
2962
2972
  ]);
2963
2973
  };
2964
2974
  }
2965
- }), ka = /* @__PURE__ */ Ce(ya, [["__scopeId", "data-v-ad1a177c"]]), xa = { class: "documentation" }, Sa = { class: "documentation-parent-container" }, _a = /* @__PURE__ */ G({
2975
+ }), yr = /* @__PURE__ */ Ne(br, [["__scopeId", "data-v-ad1a177c"]]), _r = { class: "documentation" }, kr = { class: "documentation-parent-container" }, xr = /* @__PURE__ */ q({
2966
2976
  __name: "DocumentationContent",
2967
2977
  props: {
2968
2978
  actionPending: {
@@ -3020,76 +3030,76 @@ const We = /* @__PURE__ */ G({
3020
3030
  },
3021
3031
  emits: ["child-change", "delete", "edit", "document-selection", "modal-closed", "parent-change", "save", "toggle-published"],
3022
3032
  setup(e, { emit: n }) {
3023
- const t = n, a = U(!1), r = U(!1), c = e;
3024
- ge(() => c.actionSuccess, (A) => {
3025
- A && h();
3033
+ const t = n, r = Z(!1), a = Z(!1), c = e;
3034
+ ge(() => c.actionSuccess, (E) => {
3035
+ E && f();
3026
3036
  });
3027
- const s = L(() => {
3028
- var A, k;
3029
- return `data-display-${c.cacheKey}-${((k = (A = c.selectedDocument) == null ? void 0 : A.document) == null ? void 0 : k.id) || ""}`;
3030
- }), l = () => {
3031
- r.value = !1, a.value = !0;
3032
- }, g = () => {
3033
- r.value = !0, a.value = !0, t("edit");
3037
+ const s = j(() => {
3038
+ var E, S;
3039
+ return `data-display-${c.cacheKey}-${((S = (E = c.selectedDocument) == null ? void 0 : E.document) == null ? void 0 : S.id) || ""}`;
3040
+ }), o = () => {
3041
+ a.value = !1, r.value = !0;
3034
3042
  }, h = () => {
3035
- a.value = !1, t("modal-closed");
3043
+ a.value = !0, r.value = !0, t("edit");
3044
+ }, f = () => {
3045
+ r.value = !1, t("modal-closed");
3036
3046
  };
3037
- return (A, k) => {
3038
- const P = $("KTreeList"), K = $("KCard");
3039
- return v(), C("div", xa, [
3040
- e.documentList && !e.documentList.length ? (v(), F(sa, {
3047
+ return (E, S) => {
3048
+ const L = B("KTreeList"), R = B("KCard");
3049
+ return v(), $("div", _r, [
3050
+ e.documentList && !e.documentList.length ? (v(), I(ir, {
3041
3051
  key: 0,
3042
3052
  "can-edit": e.canEdit,
3043
- onCreateDocumentation: l
3044
- }, null, 8, ["can-edit"])) : (v(), F(K, {
3053
+ onCreateDocumentation: o
3054
+ }, null, 8, ["can-edit"])) : (v(), I(R, {
3045
3055
  key: 1,
3046
3056
  class: "documentation-card"
3047
3057
  }, {
3048
- default: q(() => [
3049
- N("div", Sa, [
3050
- (v(), F(P, {
3058
+ default: F(() => [
3059
+ O("div", kr, [
3060
+ (v(), I(L, {
3051
3061
  key: `tree-list-${e.cacheKey}`,
3052
3062
  class: "document-tree-list",
3053
3063
  items: e.documentList,
3054
3064
  "max-depth": 2,
3055
- onChange: k[0] || (k[0] = (x) => t("parent-change", x)),
3056
- onChildChange: k[1] || (k[1] = (x) => t("child-change", x)),
3057
- onSelected: k[2] || (k[2] = (x) => t("document-selection", x))
3065
+ onChange: S[0] || (S[0] = (k) => t("parent-change", k)),
3066
+ onChildChange: S[1] || (S[1] = (k) => t("child-change", k)),
3067
+ onSelected: S[2] || (S[2] = (k) => t("document-selection", k))
3058
3068
  }, null, 8, ["items"])),
3059
- e.selectedDocument ? (v(), F(Qr, {
3069
+ e.selectedDocument ? (v(), I(Ya, {
3060
3070
  key: s.value,
3061
3071
  "can-edit": e.canEdit,
3062
3072
  card: e.card,
3063
3073
  class: "document-holder",
3064
3074
  "hide-publish-toggle": e.hidePublishToggle,
3065
3075
  "selected-document": e.selectedDocument,
3066
- onAdd: l,
3067
- onEdit: g,
3068
- onTogglePublished: k[3] || (k[3] = (x) => t("toggle-published", x))
3069
- }, null, 8, ["can-edit", "card", "hide-publish-toggle", "selected-document"])) : H("", !0)
3076
+ onAdd: o,
3077
+ onEdit: h,
3078
+ onTogglePublished: S[3] || (S[3] = (k) => t("toggle-published", k))
3079
+ }, null, 8, ["can-edit", "card", "hide-publish-toggle", "selected-document"])) : U("", !0)
3070
3080
  ])
3071
3081
  ]),
3072
3082
  _: 1
3073
3083
  })),
3074
- a.value ? (v(), F(ka, {
3084
+ r.value ? (v(), I(yr, {
3075
3085
  key: 2,
3076
3086
  "action-pending": e.actionPending,
3077
3087
  documents: e.documentList,
3078
- editing: r.value,
3088
+ editing: a.value,
3079
3089
  "error-message": e.modalErrorMessage,
3080
3090
  "hide-publish-toggle": e.hidePublishToggle,
3081
- record: r.value && e.selectedDocument ? e.selectedDocument : void 0,
3082
- onCancel: h,
3083
- onDelete: k[4] || (k[4] = (x) => t("delete")),
3084
- onSave: k[5] || (k[5] = (x, b) => t("save", x, b))
3085
- }, null, 8, ["action-pending", "documents", "editing", "error-message", "hide-publish-toggle", "record"])) : H("", !0)
3091
+ record: a.value && e.selectedDocument ? e.selectedDocument : void 0,
3092
+ onCancel: f,
3093
+ onDelete: S[4] || (S[4] = (k) => t("delete")),
3094
+ onSave: S[5] || (S[5] = (k, y) => t("save", k, y))
3095
+ }, null, 8, ["action-pending", "documents", "editing", "error-message", "hide-publish-toggle", "record"])) : U("", !0)
3086
3096
  ]);
3087
3097
  };
3088
3098
  }
3089
- }), ja = /* @__PURE__ */ Ce(_a, [["__scopeId", "data-v-28dad1b5"]]);
3099
+ }), Nr = /* @__PURE__ */ Ne(xr, [["__scopeId", "data-v-28dad1b5"]]);
3090
3100
  export {
3091
- ja as DocumentationContent,
3092
- Qr as DocumentationDisplay,
3093
- sa as DocumentationPageEmptyState,
3094
- ka as ProductDocumentModal
3101
+ Nr as DocumentationContent,
3102
+ Ya as DocumentationDisplay,
3103
+ ir as DocumentationPageEmptyState,
3104
+ yr as ProductDocumentModal
3095
3105
  };