@kong-ui-public/document-viewer 2.0.10-pr.985.e37a05c6.0 → 2.0.11-pr.940.556d698b.0

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,10 +1,10 @@
1
- (function(S,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("@kong-ui-public/i18n")):typeof define=="function"&&define.amd?define(["exports","vue","@kong-ui-public/i18n"],e):(S=typeof globalThis<"u"?globalThis:S||self,e(S["kong-ui-public-document-viewer"]={},S.Vue,S["kong-ui-public-i18n"]))})(this,function(S,e,X){"use strict";var F=(t=>(t.header="header",t.body="body",t.footer="footer",t))(F||{}),P=(t=>(t.left="left",t.center="center",t.right="right",t))(P||{});function K(t){return(t==null?void 0:t.type)==="table_header"}function Z(t){return(t==null?void 0:t.type)==="text"}function Y(t){return(t==null?void 0:t.type)==="heading"}function ee(t){return(t==null?void 0:t.type)==="list"}const vt="",x=(t,c)=>{const r=t.__vccOpts||t;for(const[u,g]of c)r[u]=g;return r},me={};function ge(t,c){return e.openBlock(),e.createElementBlock("blockquote",null,[e.renderSlot(t.$slots,"default",{},void 0,!0)])}const he=x(me,[["render",ge],["__scopeId","data-v-afdbfde6"]]),bt="",fe={};function we(t,c){return e.openBlock(),e.createElementBlock("code",null,[e.renderSlot(t.$slots,"default",{},void 0,!0)])}const ke=x(fe,[["render",we],["__scopeId","data-v-cbde41ab"]]);var te=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ye(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ne={exports:{}};(function(t){var c={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"}}};t.exports&&(t.exports=c)})(ne);var re=ne.exports,ie={exports:{}};(function(t){var c=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
1
+ (function(x,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("@kong-ui-public/i18n")):typeof define=="function"&&define.amd?define(["exports","vue","@kong-ui-public/i18n"],e):(x=typeof globalThis<"u"?globalThis:x||self,e(x["kong-ui-public-document-viewer"]={},x.Vue,x["kong-ui-public-i18n"]))})(this,function(x,e,X){"use strict";var F=(t=>(t.header="header",t.body="body",t.footer="footer",t))(F||{}),P=(t=>(t.left="left",t.center="center",t.right="right",t))(P||{});function K(t){return(t==null?void 0:t.type)==="table_header"}function Z(t){return(t==null?void 0:t.type)==="text"}function Y(t){return(t==null?void 0:t.type)==="heading"}function ee(t){return(t==null?void 0:t.type)==="list"}const _=(t,c)=>{const r=t.__vccOpts||t;for(const[u,g]of c)r[u]=g;return r},me={};function ge(t,c){return e.openBlock(),e.createElementBlock("blockquote",null,[e.renderSlot(t.$slots,"default",{},void 0,!0)])}const he=_(me,[["render",ge],["__scopeId","data-v-afdbfde6"]]),fe={};function we(t,c){return e.openBlock(),e.createElementBlock("code",null,[e.renderSlot(t.$slots,"default",{},void 0,!0)])}const ke=_(fe,[["render",we],["__scopeId","data-v-cbde41ab"]]);var te=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function be(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ne={exports:{}};(function(t){var c={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"}}};t.exports&&(t.exports=c)})(ne);var re=ne.exports,ie={exports:{}};(function(t){var c=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
2
2
  * Prism: Lightweight, robust, elegant syntax highlighting
3
3
  *
4
4
  * @license MIT <https://opensource.org/licenses/MIT>
5
5
  * @author Lea Verou <https://lea.verou.me>
6
6
  * @namespace
7
7
  * @public
8
- */var r=function(u){var g=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,h=0,k={},s={manual:u.Prism&&u.Prism.manual,disableWorkerMessageHandler:u.Prism&&u.Prism.disableWorkerMessageHandler,util:{encode:function i(n){return n instanceof d?new d(n.type,i(n.content),n.alias):Array.isArray(n)?n.map(i):n.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(i){return Object.prototype.toString.call(i).slice(8,-1)},objId:function(i){return i.__id||Object.defineProperty(i,"__id",{value:++h}),i.__id},clone:function i(n,a){a=a||{};var o,l;switch(s.util.type(n)){case"Object":if(l=s.util.objId(n),a[l])return a[l];o={},a[l]=o;for(var m in n)n.hasOwnProperty(m)&&(o[m]=i(n[m],a));return o;case"Array":return l=s.util.objId(n),a[l]?a[l]:(o=[],a[l]=o,n.forEach(function(f,p){o[p]=i(f,a)}),o);default:return n}},getLanguage:function(i){for(;i;){var n=g.exec(i.className);if(n)return n[1].toLowerCase();i=i.parentElement}return"none"},setLanguage:function(i,n){i.className=i.className.replace(RegExp(g,"gi"),""),i.classList.add("language-"+n)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document&&1<2)return document.currentScript;try{throw new Error}catch(o){var i=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(o.stack)||[])[1];if(i){var n=document.getElementsByTagName("script");for(var a in n)if(n[a].src==i)return n[a]}return null}},isActive:function(i,n,a){for(var o="no-"+n;i;){var l=i.classList;if(l.contains(n))return!0;if(l.contains(o))return!1;i=i.parentElement}return!!a}},languages:{plain:k,plaintext:k,text:k,txt:k,extend:function(i,n){var a=s.util.clone(s.languages[i]);for(var o in n)a[o]=n[o];return a},insertBefore:function(i,n,a,o){o=o||s.languages;var l=o[i],m={};for(var f in l)if(l.hasOwnProperty(f)){if(f==n)for(var p in a)a.hasOwnProperty(p)&&(m[p]=a[p]);a.hasOwnProperty(f)||(m[f]=l[f])}var y=o[i];return o[i]=m,s.languages.DFS(s.languages,function(A,G){G===y&&A!=i&&(this[A]=m)}),m},DFS:function i(n,a,o,l){l=l||{};var m=s.util.objId;for(var f in n)if(n.hasOwnProperty(f)){a.call(n,f,n[f],o||f);var p=n[f],y=s.util.type(p);y==="Object"&&!l[m(p)]?(l[m(p)]=!0,i(p,a,null,l)):y==="Array"&&!l[m(p)]&&(l[m(p)]=!0,i(p,a,f,l))}}},plugins:{},highlightAll:function(i,n){s.highlightAllUnder(document,i,n)},highlightAllUnder:function(i,n,a){var o={callback:a,container:i,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",o),o.elements=Array.prototype.slice.apply(o.container.querySelectorAll(o.selector)),s.hooks.run("before-all-elements-highlight",o);for(var l=0,m;m=o.elements[l++];)s.highlightElement(m,n===!0,o.callback)},highlightElement:function(i,n,a){var o=s.util.getLanguage(i),l=s.languages[o];s.util.setLanguage(i,o);var m=i.parentElement;m&&m.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(m,o);var f=i.textContent,p={element:i,language:o,grammar:l,code:f};function y(G){p.highlightedCode=G,s.hooks.run("before-insert",p),p.element.innerHTML=p.highlightedCode,s.hooks.run("after-highlight",p),s.hooks.run("complete",p),a&&a.call(p.element)}if(s.hooks.run("before-sanity-check",p),m=p.element.parentElement,m&&m.nodeName.toLowerCase()==="pre"&&!m.hasAttribute("tabindex")&&m.setAttribute("tabindex","0"),!p.code){s.hooks.run("complete",p),a&&a.call(p.element);return}if(s.hooks.run("before-highlight",p),!p.grammar){y(s.util.encode(p.code));return}if(n&&u.Worker){var A=new Worker(s.filename);A.onmessage=function(G){y(G.data)},A.postMessage(JSON.stringify({language:p.language,code:p.code,immediateClose:!0}))}else y(s.highlight(p.code,p.grammar,p.language))},highlight:function(i,n,a){var o={code:i,grammar:n,language:a};if(s.hooks.run("before-tokenize",o),!o.grammar)throw new Error('The language "'+o.language+'" has no grammar.');return o.tokens=s.tokenize(o.code,o.grammar),s.hooks.run("after-tokenize",o),d.stringify(s.util.encode(o.tokens),o.language)},tokenize:function(i,n){var a=n.rest;if(a){for(var o in a)n[o]=a[o];delete n.rest}var l=new R;return j(l,l.head,i),D(i,l,n,l.head,0),E(l)},hooks:{all:{},add:function(i,n){var a=s.hooks.all;a[i]=a[i]||[],a[i].push(n)},run:function(i,n){var a=s.hooks.all[i];if(!(!a||!a.length))for(var o=0,l;l=a[o++];)l(n)}},Token:d};u.Prism=s;function d(i,n,a,o){this.type=i,this.content=n,this.alias=a,this.length=(o||"").length|0}d.stringify=function i(n,a){if(typeof n=="string")return n;if(Array.isArray(n)){var o="";return n.forEach(function(y){o+=i(y,a)}),o}var l={type:n.type,content:i(n.content,a),tag:"span",classes:["token",n.type],attributes:{},language:a},m=n.alias;m&&(Array.isArray(m)?Array.prototype.push.apply(l.classes,m):l.classes.push(m)),s.hooks.run("wrap",l);var f="";for(var p in l.attributes)f+=" "+p+'="'+(l.attributes[p]||"").replace(/"/g,"&quot;")+'"';return"<"+l.tag+' class="'+l.classes.join(" ")+'"'+f+">"+l.content+"</"+l.tag+">"};function v(i,n,a,o){i.lastIndex=n;var l=i.exec(a);if(l&&o&&l[1]){var m=l[1].length;l.index+=m,l[0]=l[0].slice(m)}return l}function D(i,n,a,o,l,m){for(var f in a)if(!(!a.hasOwnProperty(f)||!a[f])){var p=a[f];p=Array.isArray(p)?p:[p];for(var y=0;y<p.length;++y){if(m&&m.cause==f+","+y)return;var A=p[y],G=A.inside,ce=!!A.lookbehind,ue=!!A.greedy,ft=A.alias;if(ue&&!A.pattern.global){var wt=A.pattern.toString().match(/[imsuy]*$/)[0];A.pattern=RegExp(A.pattern.source,wt+"g")}for(var pe=A.pattern||A,q=o.next,T=l;q!==n.tail&&!(m&&T>=m.reach);T+=q.value.length,q=q.next){var $=q.value;if(n.length>i.length)return;if(!($ instanceof d)){var N=1,C;if(ue){if(C=v(pe,T,i,ce),!C||C.index>=i.length)break;var O=C.index,kt=C.index+C[0].length,L=T;for(L+=q.value.length;O>=L;)q=q.next,L+=q.value.length;if(L-=q.value.length,T=L,q.value instanceof d)continue;for(var M=q;M!==n.tail&&(L<kt||typeof M.value=="string");M=M.next)N++,L+=M.value.length;N--,$=i.slice(T,L),C.index-=T}else if(C=v(pe,0,$,ce),!C)continue;var O=C.index,z=C[0],U=$.slice(0,O),de=$.slice(O+z.length),W=T+$.length;m&&W>m.reach&&(m.reach=W);var H=q.prev;U&&(H=j(n,H,U),T+=U.length),B(n,H,N);var yt=new d(f,G?s.tokenize(z,G):z,ft,z);if(q=j(n,H,yt),de&&j(n,q,de),N>1){var Q={cause:f+","+y,reach:W};D(i,n,a,q.prev,T,Q),m&&Q.reach>m.reach&&(m.reach=Q.reach)}}}}}}function R(){var i={value:null,prev:null,next:null},n={value:null,prev:i,next:null};i.next=n,this.head=i,this.tail=n,this.length=0}function j(i,n,a){var o=n.next,l={value:a,prev:n,next:o};return n.next=l,o.prev=l,i.length++,l}function B(i,n,a){for(var o=n.next,l=0;l<a&&o!==i.tail;l++)o=o.next;n.next=o,o.prev=n,i.length-=l}function E(i){for(var n=[],a=i.head.next;a!==i.tail;)n.push(a.value),a=a.next;return n}if(!u.document)return u.addEventListener&&(s.disableWorkerMessageHandler||u.addEventListener("message",function(i){var n=JSON.parse(i.data),a=n.language,o=n.code,l=n.immediateClose;u.postMessage(s.highlight(o,s.languages[a],a)),l&&u.close()},!1)),s;var b=s.util.currentScript();b&&(s.filename=b.src,b.hasAttribute("data-manual")&&(s.manual=!0));function w(){s.manual||s.highlightAll()}if(!s.manual){var _=document.readyState;_==="loading"||_==="interactive"&&b&&b.defer?document.addEventListener("DOMContentLoaded",w):window.requestAnimationFrame?window.requestAnimationFrame(w):window.setTimeout(w,16)}return s}(c);t.exports&&(t.exports=r),typeof te<"u"&&(te.Prism=r),r.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",function(u){u.type==="entity"&&(u.attributes.title=u.content.replace(/&amp;/,"&"))}),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(g,h){var k={};k["language-"+h]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:r.languages[h]},k.cdata=/^<!\[CDATA\[|\]\]>$/i;var s={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:k}};s["language-"+h]={pattern:/[\s\S]+/,inside:r.languages[h]};var d={};d[g]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return g}),"i"),lookbehind:!0,greedy:!0,inside:s},r.languages.insertBefore("markup","cdata",d)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(u,g){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+u+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[g,"language-"+g],inside:r.languages[g]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml,function(u){var g=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;u.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+g.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+g.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+g.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+g.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:g,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},u.languages.css.atrule.inside.rest=u.languages.css;var h=u.languages.markup;h&&(h.tag.addInlined("style","css"),h.tag.addAttribute("style","css"))}(r),r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},r.languages.javascript=r.languages.extend("clike",{"class-name":[r.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:r.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),r.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),r.languages.markup&&(r.languages.markup.tag.addInlined("script","javascript"),r.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),r.languages.js=r.languages.javascript,function(){if(typeof r>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var u="Loading…",g=function(b,w){return"✖ Error "+b+" while fetching file: "+w},h="✖ Error: File does not exist or is empty",k={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},s="data-src-status",d="loading",v="loaded",D="failed",R="pre[data-src]:not(["+s+'="'+v+'"]):not(['+s+'="'+d+'"])';function j(b,w,_){var i=new XMLHttpRequest;i.open("GET",b,!0),i.onreadystatechange=function(){i.readyState==4&&(i.status<400&&i.responseText?w(i.responseText):i.status>=400?_(g(i.status,i.statusText)):_(h))},i.send(null)}function B(b){var w=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(b||"");if(w){var _=Number(w[1]),i=w[2],n=w[3];return i?n?[_,Number(n)]:[_,void 0]:[_,_]}}r.hooks.add("before-highlightall",function(b){b.selector+=", "+R}),r.hooks.add("before-sanity-check",function(b){var w=b.element;if(w.matches(R)){b.code="",w.setAttribute(s,d);var _=w.appendChild(document.createElement("CODE"));_.textContent=u;var i=w.getAttribute("data-src"),n=b.language;if(n==="none"){var a=(/\.(\w+)$/.exec(i)||[,"none"])[1];n=k[a]||a}r.util.setLanguage(_,n),r.util.setLanguage(w,n);var o=r.plugins.autoloader;o&&o.loadLanguages(n),j(i,function(l){w.setAttribute(s,v);var m=B(w.getAttribute("data-range"));if(m){var f=l.split(/\r\n?|\n/g),p=m[0],y=m[1]==null?f.length:m[1];p<0&&(p+=f.length),p=Math.max(0,Math.min(p-1,f.length)),y<0&&(y+=f.length),y=Math.max(0,Math.min(y,f.length)),l=f.slice(p,y).join(`
9
- `),w.hasAttribute("data-start")||w.setAttribute("data-start",String(p+1))}_.textContent=l,r.highlightElement(_)},function(l){w.setAttribute(s,D),_.textContent=l})}}),r.plugins.fileHighlight={highlight:function(w){for(var _=(w||document).querySelectorAll(R),i=0,n;n=_[i++];)r.highlightElement(n)}};var E=!1;r.fileHighlight=function(){E||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),E=!0),r.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(ie);var ve=ie.exports;const I=ye(ve),_t="",be=e.defineComponent({__name:"CodeBlock",props:{codeBlockIndex:{type:Number,default:1},lines:{type:Array,required:!0},lang:{type:String,default:"plaintext"},isSingleLine:{type:Boolean,default:!1}},setup(t){const c=t;I.manual=!0;const r=e.ref(!1),u=Object.keys(re.languages).reduce((d,v)=>{const D=re.languages[v].alias||[];return[...d,v,...Array.isArray(D)?D:[D]]},[]).sort();function g(d){r.value=!0,I.languages[d.language]||console.warn(`Prism: the language “${d.language}” isn’t enabled.`),d.preElement.classList.contains(`language-${d.language}`)||d.preElement.classList.add(`language-${d.language}`),d.codeElement.innerHTML=h(d.code),I.highlightElement(d.codeElement),r.value=!1}const h=d=>d.replaceAll("<","&lt;").replaceAll(">","&gt;").replaceAll('"',"&quot;").replaceAll("'","&#039;"),k=e.computed(()=>`document-code-block-${c.codeBlockIndex}`),s=e.computed(()=>{var v,D;const d=((D=(v=c.lines)==null?void 0:v.flatMap(R=>R.text))==null?void 0:D.join(""))||"";return d.endsWith(`
10
- `)&&!c.isSingleLine?d.slice(0,-1):d});return e.watch(()=>c.lang,async d=>{if(u.includes(d))try{await import(`../../../node_modules/prismjs/components/prism-${d}.min.js`)}catch{console.warn(`Prism does not have a language file for '${d}'`)}I.highlightAll()},{immediate:!0}),(d,v)=>{const D=e.resolveComponent("KCodeBlock");return e.openBlock(),e.createBlock(D,{id:k.value,class:"document-code-block",code:s.value,"is-processing":r.value,"is-single-line":t.isSingleLine,language:t.lang,theme:"light",onCodeBlockRender:g},null,8,["id","code","is-processing","is-single-line","language"])}}}),St="",_e=x(be,[["__scopeId","data-v-19aebd59"]]),Se=e.defineComponent({__name:"Emphasis",props:{level:{type:Number,default:1,validator(t){if(!Number.isInteger(t))return!1;const c=t;return c>0&&c<3}}},setup(t){const r=t.level===1?"em":"strong";return(u,g)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(r)),null,{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:3}))}}),xe=e.defineComponent({__name:"Heading",props:{level:{type:Number,validator(t){if(!Number.isInteger(t))return!1;const c=t;return c>0&&c<7},default:1},slug:{type:String,default:""}},setup(t){const c=t,r=`${c.slug}`,u=`h${c.level}`;return(g,h)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u),{id:r},{default:e.withCtx(()=>[e.renderSlot(g.$slots,"default",{},void 0,!0)]),_:3}))}}),xt="",Ae=x(xe,[["__scopeId","data-v-9ef4ad64"]]),qe=["alt","src","title"],De=e.defineComponent({__name:"Image",props:{url:{type:String,required:!0},alt:{type:String,default:""},title:{type:String,default:""}},setup(t){return(c,r)=>(e.openBlock(),e.createElementBlock("img",{alt:t.alt,src:t.url,title:t.title},null,8,qe))}}),At="",Ce=x(De,[["__scopeId","data-v-13314abe"]]),qt="",Re={};function Te(t,c){return e.openBlock(),e.createElementBlock("hr")}const Fe=x(Re,[["render",Te],["__scopeId","data-v-b6e25b56"]]),je={};function Ge(t,c){return e.openBlock(),e.createElementBlock("s",null,[e.renderSlot(t.$slots,"default")])}const Le=x(je,[["render",Ge]]),Dt="",Be={};function Ee(t,c){return e.openBlock(),e.createElementBlock("table",null,[e.renderSlot(t.$slots,"default",{},void 0,!0)])}const $e=x(Be,[["render",Ee],["__scopeId","data-v-c2502730"]]),Pe=e.defineComponent({__name:"TableRow",props:{section:{type:String,default:F.body}},setup(t){const c=t;let r;return c.section===F.header?r="thead":c.section===F.body?r="tbody":c.section===F.footer&&(r="tfoot"),(u,g)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(r)),null,{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.renderSlot(u.$slots,"default",{},void 0,!0)])]),_:3}))}}),Ct="",ae=x(Pe,[["__scopeId","data-v-90ab3ded"]]),Me=e.defineComponent({__name:"TableCell",props:{alignment:{type:String,default:P.left},parent:{type:Object,required:!0}},setup(t){var g;const c=t,r=((g=c.parent)==null?void 0:g.section)===F.header?"th":"td";let u;return c.alignment===P.center?u="align-center":c.alignment===P.right&&(u="align-right"),(h,k)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(r)),{class:e.normalizeClass(e.unref(u))},{default:e.withCtx(()=>[e.renderSlot(h.$slots,"default",{},void 0,!0)]),_:3},8,["class"]))}}),Rt="",Ie=x(Me,[["__scopeId","data-v-6fde1a24"]]),Ne=["checked"],Oe=e.defineComponent({__name:"TaskCheckbox",props:{checked:{type:Boolean}},setup(t){const c=t,r=e.ref(c.checked);return(u,g)=>(e.openBlock(),e.createElementBlock("input",{"aria-label":"Display-only checkbox for task",checked:r.value,type:"checkbox"},null,8,Ne))}}),ze={key:0},He={key:1},Ve={inheritAttrs:!1},Je=e.defineComponent({...Ve,__name:"Text",props:{text:{type:String,required:!0},appendSpace:{type:Boolean,default:!1},hardBreak:{type:Boolean,default:!1}},setup(t){return(c,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createTextVNode(e.toDisplayString(t.text),1),t.appendSpace?(e.openBlock(),e.createElementBlock("span",ze," ")):e.createCommentVNode("",!0),t.hardBreak?(e.openBlock(),e.createElementBlock("br",He)):e.createCommentVNode("",!0)],64))}}),Ue={};function We(t,c){return e.openBlock(),e.createElementBlock("span",null,[e.renderSlot(t.$slots,"default")])}const Qe=x(Ue,[["render",We]]),Tt="",Xe={};function Ke(t,c){return e.openBlock(),e.createElementBlock("p",null,[e.renderSlot(t.$slots,"default",{},void 0,!0)])}const Ze=x(Xe,[["render",Ke],["__scopeId","data-v-7b54f530"]]),Ye=e.defineComponent({__name:"List",props:{isOrdered:{type:Boolean,default:!1},hasTaskItems:{type:Boolean,default:!1}},setup(t){const r=t.isOrdered?"ol":"ul";return(u,g)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(r)),{class:e.normalizeClass({"has-task-items":t.hasTaskItems})},{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default",{},void 0,!0)]),_:3},8,["class"]))}}),Ft="",et=x(Ye,[["__scopeId","data-v-7555911f"]]),jt="",tt={};function nt(t,c){return e.openBlock(),e.createElementBlock("li",null,[e.renderSlot(t.$slots,"default",{},void 0,!0)])}const rt=x(tt,[["render",nt],["__scopeId","data-v-cf238e78"]]),it=["href","title"],at=e.defineComponent({__name:"Link",props:{href:{type:String,required:!0},title:{type:String,default:""}},setup(t){return(c,r)=>(e.openBlock(),e.createElementBlock("a",{href:t.href,rel:"noreferrer noopener nofollow",title:t.title},[e.renderSlot(c.$slots,"default",{},void 0,!0)],8,it))}}),Gt="",ot={blockquote:he,code:ke,code_block:_e,emphasis:Se,heading:Ae,image:Ce,break:Fe,link:x(at,[["__scopeId","data-v-0f033d16"]]),list:et,list_item:rt,paragraph:Ze,strikethrough:Le,table:$e,table_header:ae,table_row:ae,table_cell:Ie,task_checkbox:Oe,text:Je,text_block:Qe},oe=[];function lt(t){oe.indexOf(t)===-1&&(oe.push(t),console.warn(`[DocumentViewer] Unable to render an unknown node type "${t}"`))}function V(t,c){return t.map((r,u)=>{var d;if(!r)return null;const{type:g,children:h,...k}=r,s=ot[r.type];if(!s)return lt(g),null;if(K(r)&&(r.section=F.header),ee(r)){const v=(d=r.children)==null?void 0:d.some(D=>{var R;return(R=D.children)==null?void 0:R.some(j=>{var B;return(B=j.children)==null?void 0:B.some(E=>E.type==="task_checkbox")})});return e.createVNode(s,e.mergeProps({hasTaskItems:v},k,{parent:c}),{default:()=>h&&V(h,r)})}return(r==null?void 0:r.type)==="code_block"?e.createVNode(s,e.mergeProps(k,{lines:h,isSingleLine:(h==null?void 0:h.length)&&h.length===1,codeBlockIndex:u}),null):e.createVNode(s,e.mergeProps(k,{parent:c}),{default:()=>h&&V(h,r)})})}const st={documentViewer:{error:"Error: Markdown content missing"}};function ct(){return{i18n:X.createI18n("en-us",st),i18nT:X.Translation}}function ut(){return{hasRequiredProps:(c,r)=>{let u=!0;return c.forEach(g=>{r.forEach(h=>{g[h]||(u=!1)})}),u}}}const pt={useI18n:ct,useUtilities:ut};function le(t,c=""){return t.toLowerCase().trim().replace(/ /g,"-").replace(/[^\w-]+/g,"")+c}function J(t,c=new Map){if(!t)return t;const r=c||new Map;return t.map(u=>Y(u)?se(u,c):(u.children&&(u.children=J(u.children,r)),u))}function se(t,c,r="doc-heading-"){var v;const u=(v=t.children)==null?void 0:v[0],g=`level-${t.level}`,h=Z(u)&&u.text||g,k=c.get(h);c.set(h,(k||0)+1);const s=k&&k>1?`-${k}`:"",d=r+le(h,s);return{...t,slug:d}}const dt={class:"document-viewer","data-testid":"document-viewer"},mt={key:1,"data-testid":"document-viewer-error"},gt=e.defineComponent({__name:"DocumentViewer",props:{document:{type:Object,required:!0}},setup(t){var s;const c=t,{i18n:r}=pt.useI18n(),u=d=>!d||Object.keys(d).length===0&&d.constructor===Object,g=e.computed(()=>!u(c.document)),h=J((s=c.document)==null?void 0:s.children),k=()=>{var d;return(d=c.document)!=null&&d.children?V(h):null};return(d,v)=>(e.openBlock(),e.createElementBlock("div",dt,[g.value?(e.openBlock(),e.createBlock(k,{key:0})):(e.openBlock(),e.createElementBlock("div",mt,e.toDisplayString(e.unref(r).t("documentViewer.error")),1))]))}}),Et="",$t="",ht=x(gt,[["__scopeId","data-v-1ab71c85"]]);S.TableCellAlign=P,S.TableRowSection=F,S.addSlug=se,S.addUniqueHeadingSlugs=J,S.default=ht,S.isHeadingNode=Y,S.isListNode=ee,S.isTableHeaderNode=K,S.isTextNode=Z,S.toSlug=le,Object.defineProperties(S,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
8
+ */var r=function(u){var g=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,h=0,k={},s={manual:u.Prism&&u.Prism.manual,disableWorkerMessageHandler:u.Prism&&u.Prism.disableWorkerMessageHandler,util:{encode:function i(n){return n instanceof d?new d(n.type,i(n.content),n.alias):Array.isArray(n)?n.map(i):n.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(i){return Object.prototype.toString.call(i).slice(8,-1)},objId:function(i){return i.__id||Object.defineProperty(i,"__id",{value:++h}),i.__id},clone:function i(n,a){a=a||{};var o,l;switch(s.util.type(n)){case"Object":if(l=s.util.objId(n),a[l])return a[l];o={},a[l]=o;for(var m in n)n.hasOwnProperty(m)&&(o[m]=i(n[m],a));return o;case"Array":return l=s.util.objId(n),a[l]?a[l]:(o=[],a[l]=o,n.forEach(function(f,p){o[p]=i(f,a)}),o);default:return n}},getLanguage:function(i){for(;i;){var n=g.exec(i.className);if(n)return n[1].toLowerCase();i=i.parentElement}return"none"},setLanguage:function(i,n){i.className=i.className.replace(RegExp(g,"gi"),""),i.classList.add("language-"+n)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document&&1<2)return document.currentScript;try{throw new Error}catch(o){var i=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(o.stack)||[])[1];if(i){var n=document.getElementsByTagName("script");for(var a in n)if(n[a].src==i)return n[a]}return null}},isActive:function(i,n,a){for(var o="no-"+n;i;){var l=i.classList;if(l.contains(n))return!0;if(l.contains(o))return!1;i=i.parentElement}return!!a}},languages:{plain:k,plaintext:k,text:k,txt:k,extend:function(i,n){var a=s.util.clone(s.languages[i]);for(var o in n)a[o]=n[o];return a},insertBefore:function(i,n,a,o){o=o||s.languages;var l=o[i],m={};for(var f in l)if(l.hasOwnProperty(f)){if(f==n)for(var p in a)a.hasOwnProperty(p)&&(m[p]=a[p]);a.hasOwnProperty(f)||(m[f]=l[f])}var b=o[i];return o[i]=m,s.languages.DFS(s.languages,function(A,G){G===b&&A!=i&&(this[A]=m)}),m},DFS:function i(n,a,o,l){l=l||{};var m=s.util.objId;for(var f in n)if(n.hasOwnProperty(f)){a.call(n,f,n[f],o||f);var p=n[f],b=s.util.type(p);b==="Object"&&!l[m(p)]?(l[m(p)]=!0,i(p,a,null,l)):b==="Array"&&!l[m(p)]&&(l[m(p)]=!0,i(p,a,f,l))}}},plugins:{},highlightAll:function(i,n){s.highlightAllUnder(document,i,n)},highlightAllUnder:function(i,n,a){var o={callback:a,container:i,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",o),o.elements=Array.prototype.slice.apply(o.container.querySelectorAll(o.selector)),s.hooks.run("before-all-elements-highlight",o);for(var l=0,m;m=o.elements[l++];)s.highlightElement(m,n===!0,o.callback)},highlightElement:function(i,n,a){var o=s.util.getLanguage(i),l=s.languages[o];s.util.setLanguage(i,o);var m=i.parentElement;m&&m.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(m,o);var f=i.textContent,p={element:i,language:o,grammar:l,code:f};function b(G){p.highlightedCode=G,s.hooks.run("before-insert",p),p.element.innerHTML=p.highlightedCode,s.hooks.run("after-highlight",p),s.hooks.run("complete",p),a&&a.call(p.element)}if(s.hooks.run("before-sanity-check",p),m=p.element.parentElement,m&&m.nodeName.toLowerCase()==="pre"&&!m.hasAttribute("tabindex")&&m.setAttribute("tabindex","0"),!p.code){s.hooks.run("complete",p),a&&a.call(p.element);return}if(s.hooks.run("before-highlight",p),!p.grammar){b(s.util.encode(p.code));return}if(n&&u.Worker){var A=new Worker(s.filename);A.onmessage=function(G){b(G.data)},A.postMessage(JSON.stringify({language:p.language,code:p.code,immediateClose:!0}))}else b(s.highlight(p.code,p.grammar,p.language))},highlight:function(i,n,a){var o={code:i,grammar:n,language:a};if(s.hooks.run("before-tokenize",o),!o.grammar)throw new Error('The language "'+o.language+'" has no grammar.');return o.tokens=s.tokenize(o.code,o.grammar),s.hooks.run("after-tokenize",o),d.stringify(s.util.encode(o.tokens),o.language)},tokenize:function(i,n){var a=n.rest;if(a){for(var o in a)n[o]=a[o];delete n.rest}var l=new R;return j(l,l.head,i),D(i,l,n,l.head,0),E(l)},hooks:{all:{},add:function(i,n){var a=s.hooks.all;a[i]=a[i]||[],a[i].push(n)},run:function(i,n){var a=s.hooks.all[i];if(!(!a||!a.length))for(var o=0,l;l=a[o++];)l(n)}},Token:d};u.Prism=s;function d(i,n,a,o){this.type=i,this.content=n,this.alias=a,this.length=(o||"").length|0}d.stringify=function i(n,a){if(typeof n=="string")return n;if(Array.isArray(n)){var o="";return n.forEach(function(b){o+=i(b,a)}),o}var l={type:n.type,content:i(n.content,a),tag:"span",classes:["token",n.type],attributes:{},language:a},m=n.alias;m&&(Array.isArray(m)?Array.prototype.push.apply(l.classes,m):l.classes.push(m)),s.hooks.run("wrap",l);var f="";for(var p in l.attributes)f+=" "+p+'="'+(l.attributes[p]||"").replace(/"/g,"&quot;")+'"';return"<"+l.tag+' class="'+l.classes.join(" ")+'"'+f+">"+l.content+"</"+l.tag+">"};function y(i,n,a,o){i.lastIndex=n;var l=i.exec(a);if(l&&o&&l[1]){var m=l[1].length;l.index+=m,l[0]=l[0].slice(m)}return l}function D(i,n,a,o,l,m){for(var f in a)if(!(!a.hasOwnProperty(f)||!a[f])){var p=a[f];p=Array.isArray(p)?p:[p];for(var b=0;b<p.length;++b){if(m&&m.cause==f+","+b)return;var A=p[b],G=A.inside,ce=!!A.lookbehind,ue=!!A.greedy,ut=A.alias;if(ue&&!A.pattern.global){var pt=A.pattern.toString().match(/[imsuy]*$/)[0];A.pattern=RegExp(A.pattern.source,pt+"g")}for(var pe=A.pattern||A,q=o.next,T=l;q!==n.tail&&!(m&&T>=m.reach);T+=q.value.length,q=q.next){var L=q.value;if(n.length>i.length)return;if(!(L instanceof d)){var N=1,C;if(ue){if(C=y(pe,T,i,ce),!C||C.index>=i.length)break;var O=C.index,dt=C.index+C[0].length,$=T;for($+=q.value.length;O>=$;)q=q.next,$+=q.value.length;if($-=q.value.length,T=$,q.value instanceof d)continue;for(var M=q;M!==n.tail&&($<dt||typeof M.value=="string");M=M.next)N++,$+=M.value.length;N--,L=i.slice(T,$),C.index-=T}else if(C=y(pe,0,L,ce),!C)continue;var O=C.index,z=C[0],U=L.slice(0,O),de=L.slice(O+z.length),W=T+L.length;m&&W>m.reach&&(m.reach=W);var H=q.prev;U&&(H=j(n,H,U),T+=U.length),B(n,H,N);var mt=new d(f,G?s.tokenize(z,G):z,ut,z);if(q=j(n,H,mt),de&&j(n,q,de),N>1){var Q={cause:f+","+b,reach:W};D(i,n,a,q.prev,T,Q),m&&Q.reach>m.reach&&(m.reach=Q.reach)}}}}}}function R(){var i={value:null,prev:null,next:null},n={value:null,prev:i,next:null};i.next=n,this.head=i,this.tail=n,this.length=0}function j(i,n,a){var o=n.next,l={value:a,prev:n,next:o};return n.next=l,o.prev=l,i.length++,l}function B(i,n,a){for(var o=n.next,l=0;l<a&&o!==i.tail;l++)o=o.next;n.next=o,o.prev=n,i.length-=l}function E(i){for(var n=[],a=i.head.next;a!==i.tail;)n.push(a.value),a=a.next;return n}if(!u.document)return u.addEventListener&&(s.disableWorkerMessageHandler||u.addEventListener("message",function(i){var n=JSON.parse(i.data),a=n.language,o=n.code,l=n.immediateClose;u.postMessage(s.highlight(o,s.languages[a],a)),l&&u.close()},!1)),s;var v=s.util.currentScript();v&&(s.filename=v.src,v.hasAttribute("data-manual")&&(s.manual=!0));function w(){s.manual||s.highlightAll()}if(!s.manual){var S=document.readyState;S==="loading"||S==="interactive"&&v&&v.defer?document.addEventListener("DOMContentLoaded",w):window.requestAnimationFrame?window.requestAnimationFrame(w):window.setTimeout(w,16)}return s}(c);t.exports&&(t.exports=r),typeof te<"u"&&(te.Prism=r),r.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",function(u){u.type==="entity"&&(u.attributes.title=u.content.replace(/&amp;/,"&"))}),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(g,h){var k={};k["language-"+h]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:r.languages[h]},k.cdata=/^<!\[CDATA\[|\]\]>$/i;var s={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:k}};s["language-"+h]={pattern:/[\s\S]+/,inside:r.languages[h]};var d={};d[g]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return g}),"i"),lookbehind:!0,greedy:!0,inside:s},r.languages.insertBefore("markup","cdata",d)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(u,g){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+u+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[g,"language-"+g],inside:r.languages[g]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml,function(u){var g=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;u.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+g.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+g.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+g.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+g.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:g,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},u.languages.css.atrule.inside.rest=u.languages.css;var h=u.languages.markup;h&&(h.tag.addInlined("style","css"),h.tag.addAttribute("style","css"))}(r),r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},r.languages.javascript=r.languages.extend("clike",{"class-name":[r.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:r.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),r.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),r.languages.markup&&(r.languages.markup.tag.addInlined("script","javascript"),r.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),r.languages.js=r.languages.javascript,function(){if(typeof r>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var u="Loading…",g=function(v,w){return"✖ Error "+v+" while fetching file: "+w},h="✖ Error: File does not exist or is empty",k={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},s="data-src-status",d="loading",y="loaded",D="failed",R="pre[data-src]:not(["+s+'="'+y+'"]):not(['+s+'="'+d+'"])';function j(v,w,S){var i=new XMLHttpRequest;i.open("GET",v,!0),i.onreadystatechange=function(){i.readyState==4&&(i.status<400&&i.responseText?w(i.responseText):i.status>=400?S(g(i.status,i.statusText)):S(h))},i.send(null)}function B(v){var w=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(v||"");if(w){var S=Number(w[1]),i=w[2],n=w[3];return i?n?[S,Number(n)]:[S,void 0]:[S,S]}}r.hooks.add("before-highlightall",function(v){v.selector+=", "+R}),r.hooks.add("before-sanity-check",function(v){var w=v.element;if(w.matches(R)){v.code="",w.setAttribute(s,d);var S=w.appendChild(document.createElement("CODE"));S.textContent=u;var i=w.getAttribute("data-src"),n=v.language;if(n==="none"){var a=(/\.(\w+)$/.exec(i)||[,"none"])[1];n=k[a]||a}r.util.setLanguage(S,n),r.util.setLanguage(w,n);var o=r.plugins.autoloader;o&&o.loadLanguages(n),j(i,function(l){w.setAttribute(s,y);var m=B(w.getAttribute("data-range"));if(m){var f=l.split(/\r\n?|\n/g),p=m[0],b=m[1]==null?f.length:m[1];p<0&&(p+=f.length),p=Math.max(0,Math.min(p-1,f.length)),b<0&&(b+=f.length),b=Math.max(0,Math.min(b,f.length)),l=f.slice(p,b).join(`
9
+ `),w.hasAttribute("data-start")||w.setAttribute("data-start",String(p+1))}S.textContent=l,r.highlightElement(S)},function(l){w.setAttribute(s,D),S.textContent=l})}}),r.plugins.fileHighlight={highlight:function(w){for(var S=(w||document).querySelectorAll(R),i=0,n;n=S[i++];)r.highlightElement(n)}};var E=!1;r.fileHighlight=function(){E||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),E=!0),r.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(ie);var ye=ie.exports;const I=be(ye),ve=_(e.defineComponent({__name:"CodeBlock",props:{codeBlockIndex:{type:Number,default:1},lines:{type:Array,required:!0},lang:{type:String,default:"plaintext"},isSingleLine:{type:Boolean,default:!1}},setup(t){const c=t;I.manual=!0;const r=e.ref(!1),u=Object.keys(re.languages).reduce((d,y)=>{const D=re.languages[y].alias||[];return[...d,y,...Array.isArray(D)?D:[D]]},[]).sort();function g(d){r.value=!0,I.languages[d.language]||console.warn(`Prism: the language “${d.language}” isn’t enabled.`),d.preElement.classList.contains(`language-${d.language}`)||d.preElement.classList.add(`language-${d.language}`),d.codeElement.innerHTML=h(d.code),I.highlightElement(d.codeElement),r.value=!1}const h=d=>d.replaceAll("<","&lt;").replaceAll(">","&gt;").replaceAll('"',"&quot;").replaceAll("'","&#039;"),k=e.computed(()=>`document-code-block-${c.codeBlockIndex}`),s=e.computed(()=>{var y,D;const d=((D=(y=c.lines)==null?void 0:y.flatMap(R=>R.text))==null?void 0:D.join(""))||"";return d.endsWith(`
10
+ `)&&!c.isSingleLine?d.slice(0,-1):d});return e.watch(()=>c.lang,async d=>{if(u.includes(d))try{await import(`../../../node_modules/prismjs/components/prism-${d}.min.js`)}catch{console.warn(`Prism does not have a language file for '${d}'`)}I.highlightAll()},{immediate:!0}),(d,y)=>{const D=e.resolveComponent("KCodeBlock");return e.openBlock(),e.createBlock(D,{id:k.value,class:"document-code-block",code:s.value,"is-processing":r.value,"is-single-line":t.isSingleLine,language:t.lang,theme:"light",onCodeBlockRender:g},null,8,["id","code","is-processing","is-single-line","language"])}}}),[["__scopeId","data-v-19aebd59"]]),Se=e.defineComponent({__name:"Emphasis",props:{level:{type:Number,default:1,validator(t){if(!Number.isInteger(t))return!1;const c=t;return c>0&&c<3}}},setup(t){const r=t.level===1?"em":"strong";return(u,g)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(r)),null,{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:3}))}}),xe=_(e.defineComponent({__name:"Heading",props:{level:{type:Number,validator(t){if(!Number.isInteger(t))return!1;const c=t;return c>0&&c<7},default:1},slug:{type:String,default:""}},setup(t){const c=t,r=`${c.slug}`,u=`h${c.level}`;return(g,h)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u),{id:r},{default:e.withCtx(()=>[e.renderSlot(g.$slots,"default",{},void 0,!0)]),_:3}))}}),[["__scopeId","data-v-9ef4ad64"]]),_e=["alt","src","title"],Ae=_(e.defineComponent({__name:"Image",props:{url:{type:String,required:!0},alt:{type:String,default:""},title:{type:String,default:""}},setup(t){return(c,r)=>(e.openBlock(),e.createElementBlock("img",{alt:t.alt,src:t.url,title:t.title},null,8,_e))}}),[["__scopeId","data-v-13314abe"]]),qe={};function De(t,c){return e.openBlock(),e.createElementBlock("hr")}const Ce=_(qe,[["render",De],["__scopeId","data-v-b6e25b56"]]),Re={};function Te(t,c){return e.openBlock(),e.createElementBlock("s",null,[e.renderSlot(t.$slots,"default")])}const Fe=_(Re,[["render",Te]]),je={};function Ge(t,c){return e.openBlock(),e.createElementBlock("table",null,[e.renderSlot(t.$slots,"default",{},void 0,!0)])}const $e=_(je,[["render",Ge],["__scopeId","data-v-c2502730"]]),Be=e.defineComponent({__name:"TableRow",props:{section:{type:String,default:F.body}},setup(t){const c=t;let r;return c.section===F.header?r="thead":c.section===F.body?r="tbody":c.section===F.footer&&(r="tfoot"),(u,g)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(r)),null,{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.renderSlot(u.$slots,"default",{},void 0,!0)])]),_:3}))}}),ae=_(Be,[["__scopeId","data-v-90ab3ded"]]),Ee=e.defineComponent({__name:"TableCell",props:{alignment:{type:String,default:P.left},parent:{type:Object,required:!0}},setup(t){var g;const c=t,r=((g=c.parent)==null?void 0:g.section)===F.header?"th":"td";let u;return c.alignment===P.center?u="align-center":c.alignment===P.right&&(u="align-right"),(h,k)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(r)),{class:e.normalizeClass(e.unref(u))},{default:e.withCtx(()=>[e.renderSlot(h.$slots,"default",{},void 0,!0)]),_:3},8,["class"]))}}),Le=_(Ee,[["__scopeId","data-v-6fde1a24"]]),Pe=["checked"],Me=e.defineComponent({__name:"TaskCheckbox",props:{checked:{type:Boolean}},setup(t){const c=t,r=e.ref(c.checked);return(u,g)=>(e.openBlock(),e.createElementBlock("input",{"aria-label":"Display-only checkbox for task",checked:r.value,type:"checkbox"},null,8,Pe))}}),Ie={key:0},Ne={key:1},Oe={inheritAttrs:!1},ze=e.defineComponent({...Oe,__name:"Text",props:{text:{type:String,required:!0},appendSpace:{type:Boolean,default:!1},hardBreak:{type:Boolean,default:!1}},setup(t){return(c,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createTextVNode(e.toDisplayString(t.text),1),t.appendSpace?(e.openBlock(),e.createElementBlock("span",Ie," ")):e.createCommentVNode("",!0),t.hardBreak?(e.openBlock(),e.createElementBlock("br",Ne)):e.createCommentVNode("",!0)],64))}}),He={};function Je(t,c){return e.openBlock(),e.createElementBlock("span",null,[e.renderSlot(t.$slots,"default")])}const Ve=_(He,[["render",Je]]),Ue={};function We(t,c){return e.openBlock(),e.createElementBlock("p",null,[e.renderSlot(t.$slots,"default",{},void 0,!0)])}const Qe=_(Ue,[["render",We],["__scopeId","data-v-7b54f530"]]),Xe=_(e.defineComponent({__name:"List",props:{isOrdered:{type:Boolean,default:!1},hasTaskItems:{type:Boolean,default:!1}},setup(t){const r=t.isOrdered?"ol":"ul";return(u,g)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(r)),{class:e.normalizeClass({"has-task-items":t.hasTaskItems})},{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default",{},void 0,!0)]),_:3},8,["class"]))}}),[["__scopeId","data-v-7555911f"]]),Ke={};function Ze(t,c){return e.openBlock(),e.createElementBlock("li",null,[e.renderSlot(t.$slots,"default",{},void 0,!0)])}const Ye=_(Ke,[["render",Ze],["__scopeId","data-v-cf238e78"]]),et=["href","title"],tt={blockquote:he,code:ke,code_block:ve,emphasis:Se,heading:xe,image:Ae,break:Ce,link:_(e.defineComponent({__name:"Link",props:{href:{type:String,required:!0},title:{type:String,default:""}},setup(t){return(c,r)=>(e.openBlock(),e.createElementBlock("a",{href:t.href,rel:"noreferrer noopener nofollow",title:t.title},[e.renderSlot(c.$slots,"default",{},void 0,!0)],8,et))}}),[["__scopeId","data-v-0f033d16"]]),list:Xe,list_item:Ye,paragraph:Qe,strikethrough:Fe,table:$e,table_header:ae,table_row:ae,table_cell:Le,task_checkbox:Me,text:ze,text_block:Ve},oe=[];function nt(t){oe.indexOf(t)===-1&&(oe.push(t),console.warn(`[DocumentViewer] Unable to render an unknown node type "${t}"`))}function J(t,c){return t.map((r,u)=>{var d;if(!r)return null;const{type:g,children:h,...k}=r,s=tt[r.type];if(!s)return nt(g),null;if(K(r)&&(r.section=F.header),ee(r)){const y=(d=r.children)==null?void 0:d.some(D=>{var R;return(R=D.children)==null?void 0:R.some(j=>{var B;return(B=j.children)==null?void 0:B.some(E=>E.type==="task_checkbox")})});return e.createVNode(s,e.mergeProps({hasTaskItems:y},k,{parent:c}),{default:()=>h&&J(h,r)})}return(r==null?void 0:r.type)==="code_block"?e.createVNode(s,e.mergeProps(k,{lines:h,isSingleLine:(h==null?void 0:h.length)&&h.length===1,codeBlockIndex:u}),null):e.createVNode(s,e.mergeProps(k,{parent:c}),{default:()=>h&&J(h,r)})})}const rt={documentViewer:{error:"Error: Markdown content missing"}};function it(){return{i18n:X.createI18n("en-us",rt),i18nT:X.Translation}}function at(){return{hasRequiredProps:(c,r)=>{let u=!0;return c.forEach(g=>{r.forEach(h=>{g[h]||(u=!1)})}),u}}}const ot={useI18n:it,useUtilities:at};function le(t,c=""){return t.toLowerCase().trim().replace(/ /g,"-").replace(/[^\w-]+/g,"")+c}function V(t,c=new Map){if(!t)return t;const r=c||new Map;return t.map(u=>Y(u)?se(u,c):(u.children&&(u.children=V(u.children,r)),u))}function se(t,c,r="doc-heading-"){var y;const u=(y=t.children)==null?void 0:y[0],g=`level-${t.level}`,h=Z(u)&&u.text||g,k=c.get(h);c.set(h,(k||0)+1);const s=k&&k>1?`-${k}`:"",d=r+le(h,s);return{...t,slug:d}}const lt={class:"document-viewer","data-testid":"document-viewer"},st={key:1,"data-testid":"document-viewer-error"},ct=_(e.defineComponent({__name:"DocumentViewer",props:{document:{type:Object,required:!0}},setup(t){var s;const c=t,{i18n:r}=ot.useI18n(),u=d=>!d||Object.keys(d).length===0&&d.constructor===Object,g=e.computed(()=>!u(c.document)),h=V((s=c.document)==null?void 0:s.children),k=()=>{var d;return(d=c.document)!=null&&d.children?J(h):null};return(d,y)=>(e.openBlock(),e.createElementBlock("div",lt,[g.value?(e.openBlock(),e.createBlock(k,{key:0})):(e.openBlock(),e.createElementBlock("div",st,e.toDisplayString(e.unref(r).t("documentViewer.error")),1))]))}}),[["__scopeId","data-v-1ab71c85"]]);x.TableCellAlign=P,x.TableRowSection=F,x.addSlug=se,x.addUniqueHeadingSlugs=V,x.default=ct,x.isHeadingNode=Y,x.isListNode=ee,x.isTableHeaderNode=K,x.isTextNode=Z,x.toSlug=le,Object.defineProperties(x,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong-ui-public/document-viewer",
3
- "version": "2.0.10-pr.985.e37a05c6.0",
3
+ "version": "2.0.11-pr.940.556d698b.0",
4
4
  "type": "module",
5
5
  "main": "./dist/document-viewer.umd.js",
6
6
  "module": "./dist/document-viewer.es.js",
@@ -20,12 +20,12 @@
20
20
  "access": "public"
21
21
  },
22
22
  "peerDependencies": {
23
- "@kong/kongponents": "9.0.0-pr.1893.90ccb647.0",
23
+ "@kong/kongponents": "9.0.0-alpha.68",
24
24
  "vue": "^3.3.4"
25
25
  },
26
26
  "devDependencies": {
27
- "@kong/design-tokens": "^1.12.0",
28
- "@kong/kongponents": "9.0.0-pr.1893.fef6bf8f.0",
27
+ "@kong/design-tokens": "^1.12.1",
28
+ "@kong/kongponents": "9.0.0-alpha.68",
29
29
  "@types/prismjs": "^1.26.1",
30
30
  "@vitejs/plugin-vue-jsx": "^3.1.0",
31
31
  "vue": "^3.3.4"