@kong-ui-public/documentation 0.1.14 → 0.1.15

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,14 +1,14 @@
1
- (function(j,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue"),require("@kong-ui-public/i18n"),require("axios"),require("@kong/kongponents"),require("vue-router")):typeof define=="function"&&define.amd?define(["exports","vue","@kong-ui-public/i18n","axios","@kong/kongponents","vue-router"],t):(j=typeof globalThis<"u"?globalThis:j||self,t(j["kong-ui-public-documentation"]={},j.Vue,j["kong-ui-public-i18n"]))})(this,function(j,t,H){"use strict";const je={documentation:{common:{published:"Published",unpublished:"Unpublished"},documentation_display:{added_label:"Added: ",status_label:"Status: ",edit_button:"Edit",add_new:"Add Page"},errors:{cannot_retrieve_document:"Cannot retrieve selected document. Please try again later",unexpected:"An unexpected error has occurred"},form_modal:{cancel_button_text:"Cancel",create_title:"New Documentation Page",delete_button_text:"Delete",documentation_link_text:"View Documentation",edit_title:"Edit Documentation",file_label:"Upload File",file_tooltip:"Select a .md file to upload",filename_button_text:"Select file",parent_document_select_label:"Parent",parent_document_select_option_none:"None",replace_file_button_text:"Select new file",save_button_text:"Save",slug_error:"Only letters, numbers, '-', and '_' characters are allowed",slug_label:"URL Slug",slug_placeholder:"Enter a URL slug",status_label:"Status",subtitle:"Provide guides, examples and other useful information about this service to developers.",title_label:"Page Name",title_placeholder:"Enter a page name"},show:{empty_state:{title:"Add New Documentation Page",message:"Pages will allow you to provide guides examples and other useful information about your service to developers.",ctaText:"New Page"}}}};function Fe(){return{i18n:H.createI18n("en-us",je),i18nT:H.Translation}}const te={useI18n:Fe};var L=(e=>(e.header="header",e.body="body",e.footer="footer",e))(L||{}),K=(e=>(e.left="left",e.center="center",e.right="right",e))(K||{});function Re(e){return(e==null?void 0:e.type)==="table_header"}function Pe(e){return(e==null?void 0:e.type)==="text"}function Ie(e){return(e==null?void 0:e.type)==="heading"}function Le(e){return(e==null?void 0:e.type)==="list"}const q=(e,o)=>{const n=e.__vccOpts||e;for(const[r,a]of o)n[r]=a;return n},$e={};function Ve(e,o){return t.openBlock(),t.createElementBlock("blockquote",null,[t.renderSlot(e.$slots,"default",{},void 0,!0)])}const Ge=q($e,[["render",Ve],["__scopeId","data-v-afdbfde6"]]),Oe={};function Me(e,o){return t.openBlock(),t.createElementBlock("code",null,[t.renderSlot(e.$slots,"default",{},void 0,!0)])}const ze=q(Oe,[["render",Me],["__scopeId","data-v-cbde41ab"]]);var de=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function He(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var pe={exports:{}};(function(e){var o={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"}}};e.exports&&(e.exports=o)})(pe);var me=pe.exports,ge={exports:{}};(function(e){var o=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
1
+ (function(j,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue"),require("@kong-ui-public/i18n"),require("axios"),require("@kong/kongponents"),require("vue-router")):typeof define=="function"&&define.amd?define(["exports","vue","@kong-ui-public/i18n","axios","@kong/kongponents","vue-router"],t):(j=typeof globalThis<"u"?globalThis:j||self,t(j["kong-ui-public-documentation"]={},j.Vue,j["kong-ui-public-i18n"]))})(this,function(j,t,H){"use strict";const je={documentation:{common:{published:"Published",unpublished:"Unpublished"},documentation_display:{added_label:"Added: ",status_label:"Status: ",edit_button:"Edit",add_new:"Add Page"},errors:{cannot_retrieve_document:"Cannot retrieve selected document. Please try again later",unexpected:"An unexpected error has occurred"},form_modal:{cancel_button_text:"Cancel",create_title:"New Documentation Page",delete_button_text:"Delete",documentation_link_text:"View Documentation",edit_title:"Edit Documentation",file_label:"Upload File",file_tooltip:"Select a .md file to upload",filename_button_text:"Select file",parent_document_select_label:"Parent",parent_document_select_option_none:"None",replace_file_button_text:"Select new file",save_button_text:"Save",slug_error:"Only letters, numbers, '-', and '_' characters are allowed",slug_label:"URL Slug",slug_placeholder:"Enter a URL slug",status_label:"Status",subtitle:"Provide guides, examples and other useful information about this service to developers.",title_label:"Page Name",title_placeholder:"Enter a page name"},show:{empty_state:{title:"Add New Documentation Page",message:"Pages will allow you to provide guides examples and other useful information about your service to developers.",ctaText:"New Page"}}}};function Fe(){return{i18n:H.createI18n("en-us",je),i18nT:H.Translation}}const te={useI18n:Fe};var I=(e=>(e.header="header",e.body="body",e.footer="footer",e))(I||{}),K=(e=>(e.left="left",e.center="center",e.right="right",e))(K||{});function Re(e){return(e==null?void 0:e.type)==="table_header"}function Pe(e){return(e==null?void 0:e.type)==="text"}function Ie(e){return(e==null?void 0:e.type)==="heading"}function Le(e){return(e==null?void 0:e.type)==="list"}const T=(e,o)=>{const n=e.__vccOpts||e;for(const[a,r]of o)n[a]=r;return n},$e={};function Ve(e,o){return t.openBlock(),t.createElementBlock("blockquote",null,[t.renderSlot(e.$slots,"default",{},void 0,!0)])}const Ge=T($e,[["render",Ve],["__scopeId","data-v-afdbfde6"]]),Oe={};function Me(e,o){return t.openBlock(),t.createElementBlock("code",null,[t.renderSlot(e.$slots,"default",{},void 0,!0)])}const ze=T(Oe,[["render",Me],["__scopeId","data-v-cbde41ab"]]);var de=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function He(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var pe={exports:{}};(function(e){var o={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"}}};e.exports&&(e.exports=o)})(pe);var me=pe.exports,ge={exports:{}};(function(e){var o=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 n=function(r){var a=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,m=0,u={},s={manual:r.Prism&&r.Prism.manual,disableWorkerMessageHandler:r.Prism&&r.Prism.disableWorkerMessageHandler,util:{encode:function l(i){return i instanceof d?new d(i.type,l(i.content),i.alias):Array.isArray(i)?i.map(l):i.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(l){return Object.prototype.toString.call(l).slice(8,-1)},objId:function(l){return l.__id||Object.defineProperty(l,"__id",{value:++m}),l.__id},clone:function l(i,p){p=p||{};var g,c;switch(s.util.type(i)){case"Object":if(c=s.util.objId(i),p[c])return p[c];g={},p[c]=g;for(var f in i)i.hasOwnProperty(f)&&(g[f]=l(i[f],p));return g;case"Array":return c=s.util.objId(i),p[c]?p[c]:(g=[],p[c]=g,i.forEach(function(w,h){g[h]=l(w,p)}),g);default:return i}},getLanguage:function(l){for(;l;){var i=a.exec(l.className);if(i)return i[1].toLowerCase();l=l.parentElement}return"none"},setLanguage:function(l,i){l.className=l.className.replace(RegExp(a,"gi"),""),l.classList.add("language-"+i)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document&&1<2)return document.currentScript;try{throw new Error}catch(g){var l=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(g.stack)||[])[1];if(l){var i=document.getElementsByTagName("script");for(var p in i)if(i[p].src==l)return i[p]}return null}},isActive:function(l,i,p){for(var g="no-"+i;l;){var c=l.classList;if(c.contains(i))return!0;if(c.contains(g))return!1;l=l.parentElement}return!!p}},languages:{plain:u,plaintext:u,text:u,txt:u,extend:function(l,i){var p=s.util.clone(s.languages[l]);for(var g in i)p[g]=i[g];return p},insertBefore:function(l,i,p,g){g=g||s.languages;var c=g[l],f={};for(var w in c)if(c.hasOwnProperty(w)){if(w==i)for(var h in p)p.hasOwnProperty(h)&&(f[h]=p[h]);p.hasOwnProperty(w)||(f[w]=c[w])}var S=g[l];return g[l]=f,s.languages.DFS(s.languages,function(C,B){B===S&&C!=l&&(this[C]=f)}),f},DFS:function l(i,p,g,c){c=c||{};var f=s.util.objId;for(var w in i)if(i.hasOwnProperty(w)){p.call(i,w,i[w],g||w);var h=i[w],S=s.util.type(h);S==="Object"&&!c[f(h)]?(c[f(h)]=!0,l(h,p,null,c)):S==="Array"&&!c[f(h)]&&(c[f(h)]=!0,l(h,p,w,c))}}},plugins:{},highlightAll:function(l,i){s.highlightAllUnder(document,l,i)},highlightAllUnder:function(l,i,p){var g={callback:p,container:l,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",g),g.elements=Array.prototype.slice.apply(g.container.querySelectorAll(g.selector)),s.hooks.run("before-all-elements-highlight",g);for(var c=0,f;f=g.elements[c++];)s.highlightElement(f,i===!0,g.callback)},highlightElement:function(l,i,p){var g=s.util.getLanguage(l),c=s.languages[g];s.util.setLanguage(l,g);var f=l.parentElement;f&&f.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(f,g);var w=l.textContent,h={element:l,language:g,grammar:c,code:w};function S(B){h.highlightedCode=B,s.hooks.run("before-insert",h),h.element.innerHTML=h.highlightedCode,s.hooks.run("after-highlight",h),s.hooks.run("complete",h),p&&p.call(h.element)}if(s.hooks.run("before-sanity-check",h),f=h.element.parentElement,f&&f.nodeName.toLowerCase()==="pre"&&!f.hasAttribute("tabindex")&&f.setAttribute("tabindex","0"),!h.code){s.hooks.run("complete",h),p&&p.call(h.element);return}if(s.hooks.run("before-highlight",h),!h.grammar){S(s.util.encode(h.code));return}if(i&&r.Worker){var C=new Worker(s.filename);C.onmessage=function(B){S(B.data)},C.postMessage(JSON.stringify({language:h.language,code:h.code,immediateClose:!0}))}else S(s.highlight(h.code,h.grammar,h.language))},highlight:function(l,i,p){var g={code:l,grammar:i,language:p};if(s.hooks.run("before-tokenize",g),!g.grammar)throw new Error('The language "'+g.language+'" has no grammar.');return g.tokens=s.tokenize(g.code,g.grammar),s.hooks.run("after-tokenize",g),d.stringify(s.util.encode(g.tokens),g.language)},tokenize:function(l,i){var p=i.rest;if(p){for(var g in p)i[g]=p[g];delete i.rest}var c=new A;return N(c,c.head,l),k(l,c,i,c.head,0),D(c)},hooks:{all:{},add:function(l,i){var p=s.hooks.all;p[l]=p[l]||[],p[l].push(i)},run:function(l,i){var p=s.hooks.all[l];if(!(!p||!p.length))for(var g=0,c;c=p[g++];)c(i)}},Token:d};r.Prism=s;function d(l,i,p,g){this.type=l,this.content=i,this.alias=p,this.length=(g||"").length|0}d.stringify=function l(i,p){if(typeof i=="string")return i;if(Array.isArray(i)){var g="";return i.forEach(function(S){g+=l(S,p)}),g}var c={type:i.type,content:l(i.content,p),tag:"span",classes:["token",i.type],attributes:{},language:p},f=i.alias;f&&(Array.isArray(f)?Array.prototype.push.apply(c.classes,f):c.classes.push(f)),s.hooks.run("wrap",c);var w="";for(var h in c.attributes)w+=" "+h+'="'+(c.attributes[h]||"").replace(/"/g,"&quot;")+'"';return"<"+c.tag+' class="'+c.classes.join(" ")+'"'+w+">"+c.content+"</"+c.tag+">"};function y(l,i,p,g){l.lastIndex=i;var c=l.exec(p);if(c&&g&&c[1]){var f=c[1].length;c.index+=f,c[0]=c[0].slice(f)}return c}function k(l,i,p,g,c,f){for(var w in p)if(!(!p.hasOwnProperty(w)||!p[w])){var h=p[w];h=Array.isArray(h)?h:[h];for(var S=0;S<h.length;++S){if(f&&f.cause==w+","+S)return;var C=h[S],B=C.inside,W=!!C.lookbehind,X=!!C.greedy,M=C.alias;if(X&&!C.pattern.global){var le=C.pattern.toString().match(/[imsuy]*$/)[0];C.pattern=RegExp(C.pattern.source,le+"g")}for(var F=C.pattern||C,E=g.next,P=c;E!==i.tail&&!(f&&P>=f.reach);P+=E.value.length,E=E.next){var G=E.value;if(i.length>l.length)return;if(!(G instanceof d)){var Q=1,R;if(X){if(R=y(F,P,l,W),!R||R.index>=l.length)break;var Z=R.index,Jo=R.index+R[0].length,I=P;for(I+=E.value.length;Z>=I;)E=E.next,I+=E.value.length;if(I-=E.value.length,P=I,E.value instanceof d)continue;for(var z=E;z!==i.tail&&(I<Jo||typeof z.value=="string");z=z.next)Q++,I+=z.value.length;Q--,G=l.slice(P,I),R.index-=P}else if(R=y(F,0,G,W),!R)continue;var Z=R.index,Y=R[0],se=G.slice(0,Z),Be=G.slice(Z+Y.length),ce=P+G.length;f&&ce>f.reach&&(f.reach=ce);var ee=E.prev;se&&(ee=N(i,ee,se),P+=se.length),x(i,ee,Q);var Wo=new d(w,B?s.tokenize(Y,B):Y,M,Y);if(E=N(i,ee,Wo),Be&&N(i,E,Be),Q>1){var ue={cause:w+","+S,reach:ce};k(l,i,p,E.prev,P,ue),f&&ue.reach>f.reach&&(f.reach=ue.reach)}}}}}}function A(){var l={value:null,prev:null,next:null},i={value:null,prev:l,next:null};l.next=i,this.head=l,this.tail=i,this.length=0}function N(l,i,p){var g=i.next,c={value:p,prev:i,next:g};return i.next=c,g.prev=c,l.length++,c}function x(l,i,p){for(var g=i.next,c=0;c<p&&g!==l.tail;c++)g=g.next;i.next=g,g.prev=i,l.length-=c}function D(l){for(var i=[],p=l.head.next;p!==l.tail;)i.push(p.value),p=p.next;return i}if(!r.document)return r.addEventListener&&(s.disableWorkerMessageHandler||r.addEventListener("message",function(l){var i=JSON.parse(l.data),p=i.language,g=i.code,c=i.immediateClose;r.postMessage(s.highlight(g,s.languages[p],p)),c&&r.close()},!1)),s;var v=s.util.currentScript();v&&(s.filename=v.src,v.hasAttribute("data-manual")&&(s.manual=!0));function b(){s.manual||s.highlightAll()}if(!s.manual){var _=document.readyState;_==="loading"||_==="interactive"&&v&&v.defer?document.addEventListener("DOMContentLoaded",b):window.requestAnimationFrame?window.requestAnimationFrame(b):window.setTimeout(b,16)}return s}(o);e.exports&&(e.exports=n),typeof de<"u"&&(de.Prism=n),n.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]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(r){r.type==="entity"&&(r.attributes.title=r.content.replace(/&amp;/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(r,a){var m={};m["language-"+a]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:n.languages[a]},m.cdata=/^<!\[CDATA\[|\]\]>$/i;var u={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:m}};u["language-"+a]={pattern:/[\s\S]+/,inside:n.languages[a]};var s={};s[r]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return r}),"i"),lookbehind:!0,greedy:!0,inside:u},n.languages.insertBefore("markup","cdata",s)}}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:function(r,a){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+r+")"+/\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:[a,"language-"+a],inside:n.languages[a]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml,function(r){var a=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;r.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+a.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\\((?:"+a.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+a.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+a.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:a,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:/[(){};:,]/},r.languages.css.atrule.inside.rest=r.languages.css;var m=r.languages.markup;m&&(m.tag.addInlined("style","css"),m.tag.addAttribute("style","css"))}(n),n.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:/[{}[\];(),.:]/},n.languages.javascript=n.languages.extend("clike",{"class-name":[n.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}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.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:n.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:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.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:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.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:n.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"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.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")),n.languages.js=n.languages.javascript,function(){if(typeof n>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var r="Loading…",a=function(v,b){return"✖ Error "+v+" while fetching file: "+b},m="✖ Error: File does not exist or is empty",u={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",k="failed",A="pre[data-src]:not(["+s+'="'+y+'"]):not(['+s+'="'+d+'"])';function N(v,b,_){var l=new XMLHttpRequest;l.open("GET",v,!0),l.onreadystatechange=function(){l.readyState==4&&(l.status<400&&l.responseText?b(l.responseText):l.status>=400?_(a(l.status,l.statusText)):_(m))},l.send(null)}function x(v){var b=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(v||"");if(b){var _=Number(b[1]),l=b[2],i=b[3];return l?i?[_,Number(i)]:[_,void 0]:[_,_]}}n.hooks.add("before-highlightall",function(v){v.selector+=", "+A}),n.hooks.add("before-sanity-check",function(v){var b=v.element;if(b.matches(A)){v.code="",b.setAttribute(s,d);var _=b.appendChild(document.createElement("CODE"));_.textContent=r;var l=b.getAttribute("data-src"),i=v.language;if(i==="none"){var p=(/\.(\w+)$/.exec(l)||[,"none"])[1];i=u[p]||p}n.util.setLanguage(_,i),n.util.setLanguage(b,i);var g=n.plugins.autoloader;g&&g.loadLanguages(i),N(l,function(c){b.setAttribute(s,y);var f=x(b.getAttribute("data-range"));if(f){var w=c.split(/\r\n?|\n/g),h=f[0],S=f[1]==null?w.length:f[1];h<0&&(h+=w.length),h=Math.max(0,Math.min(h-1,w.length)),S<0&&(S+=w.length),S=Math.max(0,Math.min(S,w.length)),c=w.slice(h,S).join(`
9
- `),b.hasAttribute("data-start")||b.setAttribute("data-start",String(h+1))}_.textContent=c,n.highlightElement(_)},function(c){b.setAttribute(s,k),_.textContent=c})}}),n.plugins.fileHighlight={highlight:function(v){for(var b=(v||document).querySelectorAll(A),_=0,l;l=b[_++];)n.highlightElement(l)}};var D=!1;n.fileHighlight=function(){D||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),D=!0),n.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(ge);var Ke=ge.exports;const U=He(Ke),Ue=t.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(e){const o=e;U.manual=!0;const n=t.ref(!1),r=Object.keys(me.languages).reduce((d,y)=>{const k=me.languages[y].alias||[];return[...d,y,...Array.isArray(k)?k:[k]]},[]).sort();function a(d){n.value=!0,U.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=m(d.code),U.highlightElement(d.codeElement),n.value=!1}const m=d=>d.replaceAll("<","&lt;").replaceAll(">","&gt;").replaceAll('"',"&quot;").replaceAll("'","&#039;"),u=t.computed(()=>`document-code-block-${o.codeBlockIndex}`),s=t.computed(()=>{var d,y;const k=((y=(d=o.lines)==null?void 0:d.flatMap(A=>A.text))==null?void 0:y.join(""))||"";return k.endsWith(`
10
- `)&&!o.isSingleLine?k.slice(0,-1):k});return t.watch(()=>o.lang,async d=>{if(r.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}'`)}U.highlightAll()},{immediate:!0}),(d,y)=>{const k=t.resolveComponent("KCodeBlock");return t.openBlock(),t.createBlock(k,{id:u.value,class:"document-code-block",code:s.value,"is-processing":n.value,"is-single-line":e.isSingleLine,language:e.lang,theme:"light",onCodeBlockRender:a},null,8,["id","code","is-processing","is-single-line","language"])}}}),Je=q(Ue,[["__scopeId","data-v-19aebd59"]]),We=t.defineComponent({__name:"Emphasis",props:{level:{type:Number,default:1,validator(e){if(!Number.isInteger(e))return!1;const o=e;return o>0&&o<3}}},setup(e){const o=e.level===1?"em":"strong";return(n,r)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(o)),null,{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3}))}}),Xe=t.defineComponent({__name:"Heading",props:{level:{type:Number,validator(e){if(!Number.isInteger(e))return!1;const o=e;return o>0&&o<7},default:1},slug:{type:String,default:""}},setup(e){const o=e,n=`${o.slug}`,r=`h${o.level}`;return(a,m)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(r),{id:n},{default:t.withCtx(()=>[t.renderSlot(a.$slots,"default",{},void 0,!0)]),_:3}))}}),Qe=q(Xe,[["__scopeId","data-v-9ef4ad64"]]),Ze=["alt","src","title"],Ye=t.defineComponent({__name:"Image",props:{url:{type:String,required:!0},alt:{type:String,default:""},title:{type:String,default:""}},setup(e){return(o,n)=>(t.openBlock(),t.createElementBlock("img",{alt:e.alt,src:e.url,title:e.title},null,8,Ze))}}),et=q(Ye,[["__scopeId","data-v-13314abe"]]),tt={};function nt(e,o){return t.openBlock(),t.createElementBlock("hr")}const ot=q(tt,[["render",nt],["__scopeId","data-v-b6e25b56"]]),rt={};function at(e,o){return t.openBlock(),t.createElementBlock("s",null,[t.renderSlot(e.$slots,"default")])}const it=q(rt,[["render",at]]),lt={};function st(e,o){return t.openBlock(),t.createElementBlock("table",null,[t.renderSlot(e.$slots,"default",{},void 0,!0)])}const ct=q(lt,[["render",st],["__scopeId","data-v-c2502730"]]),ut=t.defineComponent({__name:"TableRow",props:{section:{type:String,default:L.body}},setup(e){const o=e;let n;return o.section===L.header?n="thead":o.section===L.body?n="tbody":o.section===L.footer&&(n="tfoot"),(r,a)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(n)),null,{default:t.withCtx(()=>[t.createElementVNode("tr",null,[t.renderSlot(r.$slots,"default",{},void 0,!0)])]),_:3}))}}),fe=q(ut,[["__scopeId","data-v-90ab3ded"]]),dt=t.defineComponent({__name:"TableCell",props:{alignment:{type:String,default:K.left},parent:{type:Object,required:!0}},setup(e){var o;const n=e,r=((o=n.parent)==null?void 0:o.section)===L.header?"th":"td";let a;return n.alignment===K.center?a="align-center":n.alignment===K.right&&(a="align-right"),(m,u)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(r)),{class:t.normalizeClass(t.unref(a))},{default:t.withCtx(()=>[t.renderSlot(m.$slots,"default",{},void 0,!0)]),_:3},8,["class"]))}}),pt=q(dt,[["__scopeId","data-v-6fde1a24"]]),mt=["checked"],gt=t.defineComponent({__name:"TaskCheckbox",props:{checked:{type:Boolean}},setup(e){const o=t.ref(e.checked);return(n,r)=>(t.openBlock(),t.createElementBlock("input",{"aria-label":"Display-only checkbox for task",checked:o.value,type:"checkbox"},null,8,mt))}}),ft={key:0},ht={key:1},wt={inheritAttrs:!1},kt=t.defineComponent({...wt,__name:"Text",props:{text:{type:String,required:!0},appendSpace:{type:Boolean,default:!1},hardBreak:{type:Boolean,default:!1}},setup(e){return(o,n)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createTextVNode(t.toDisplayString(e.text),1),e.appendSpace?(t.openBlock(),t.createElementBlock("span",ft," ")):t.createCommentVNode("",!0),e.hardBreak?(t.openBlock(),t.createElementBlock("br",ht)):t.createCommentVNode("",!0)],64))}}),bt={};function yt(e,o){return t.openBlock(),t.createElementBlock("span",null,[t.renderSlot(e.$slots,"default")])}const xt=q(bt,[["render",yt]]),St={};function vt(e,o){return t.openBlock(),t.createElementBlock("p",null,[t.renderSlot(e.$slots,"default",{},void 0,!0)])}const Ct=q(St,[["render",vt],["__scopeId","data-v-7b54f530"]]),_t=t.defineComponent({__name:"List",props:{isOrdered:{type:Boolean,default:!1},hasTaskItems:{type:Boolean,default:!1}},setup(e){const o=e.isOrdered?"ol":"ul";return(n,r)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(o)),{class:t.normalizeClass({"has-task-items":e.hasTaskItems})},{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default",{},void 0,!0)]),_:3},8,["class"]))}}),Dt=q(_t,[["__scopeId","data-v-7555911f"]]),At={};function Nt(e,o){return t.openBlock(),t.createElementBlock("li",null,[t.renderSlot(e.$slots,"default",{},void 0,!0)])}const qt=q(At,[["render",Nt],["__scopeId","data-v-cf238e78"]]),Tt=["href","title"],Et=t.defineComponent({__name:"Link",props:{href:{type:String,required:!0},title:{type:String,default:""}},setup(e){return(o,n)=>(t.openBlock(),t.createElementBlock("a",{href:e.href,rel:"noreferrer noopener nofollow",title:e.title},[t.renderSlot(o.$slots,"default",{},void 0,!0)],8,Tt))}}),Bt=q(Et,[["__scopeId","data-v-0f033d16"]]),jt={blockquote:Ge,code:ze,code_block:Je,emphasis:We,heading:Qe,image:et,break:ot,link:Bt,list:Dt,list_item:qt,paragraph:Ct,strikethrough:it,table:ct,table_header:fe,table_row:fe,table_cell:pt,task_checkbox:gt,text:kt,text_block:xt},he=[];function Ft(e){he.indexOf(e)===-1&&(he.push(e),console.warn(`[DocumentViewer] Unable to render an unknown node type "${e}"`))}function ne(e,o){return e.map((n,r)=>{var a;if(!n)return null;const{type:m,children:u,...s}=n,d=jt[n.type];if(!d)return Ft(m),null;if(Re(n)&&(n.section=L.header),Le(n)){const y=(a=n.children)==null?void 0:a.some(k=>{var A;return(A=k.children)==null?void 0:A.some(N=>{var x;return(x=N.children)==null?void 0:x.some(D=>D.type==="task_checkbox")})});return t.createVNode(d,t.mergeProps({hasTaskItems:y},s,{parent:o}),{default:()=>u&&ne(u,n)})}return(n==null?void 0:n.type)==="code_block"?t.createVNode(d,t.mergeProps(s,{lines:u,isSingleLine:(u==null?void 0:u.length)&&u.length===1,codeBlockIndex:r}),null):t.createVNode(d,t.mergeProps(s,{parent:o}),{default:()=>u&&ne(u,n)})})}const Rt={error:"Error: Markdown content missing"},Pt={documentViewer:Rt};function It(){return{i18n:H.createI18n("en-us",Pt),i18nT:H.Translation}}function Lt(){return{hasRequiredProps:(e,o)=>{let n=!0;return e.forEach(r=>{o.forEach(a=>{r[a]||(n=!1)})}),n}}}const $t={useI18n:It,useUtilities:Lt};function Vt(e,o=""){return e.toLowerCase().trim().replace(/ /g,"-").replace(/[^\w-]+/g,"")+o}function we(e,o=new Map){if(!e)return e;const n=o||new Map;return e.map(r=>Ie(r)?Gt(r,o):(r.children&&(r.children=we(r.children,n)),r))}function Gt(e,o,n="doc-heading-"){var r;const a=(r=e.children)==null?void 0:r[0],m=`level-${e.level}`,u=Pe(a)&&a.text||m,s=o.get(u);o.set(u,(s||0)+1);const d=s&&s>1?`-${s}`:"",y=n+Vt(u,d);return{...e,slug:y}}const Ot={class:"document-viewer","data-testid":"document-viewer"},Mt={key:1,"data-testid":"document-viewer-error"},zt=t.defineComponent({__name:"DocumentViewer",props:{document:{type:Object,required:!0}},setup(e){var o;const n=e,{i18n:r}=$t.useI18n(),a=d=>!d||Object.keys(d).length===0&&d.constructor===Object,m=t.computed(()=>!a(n.document)),u=we((o=n.document)==null?void 0:o.children),s=()=>{var d;return(d=n.document)!=null&&d.children?ne(u):null};return(d,y)=>(t.openBlock(),t.createElementBlock("div",Ot,[m.value?(t.openBlock(),t.createBlock(s,{key:0})):(t.openBlock(),t.createElementBlock("div",Mt,t.toDisplayString(t.unref(r).t("documentViewer.error")),1))]))}}),Ht=q(zt,[["__scopeId","data-v-1ab71c85"]]);function ke(e){if(e!==void 0)return JSON.parse(JSON.stringify(e))}function Kt(e){return Object.keys(e).length===0}/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function be(e){return typeof e>"u"||e===null}function Ut(e){return typeof e=="object"&&e!==null}function Jt(e){return Array.isArray(e)?e:be(e)?[]:[e]}function Wt(e,o){var n,r,a,m;if(o)for(m=Object.keys(o),n=0,r=m.length;n<r;n+=1)a=m[n],e[a]=o[a];return e}function Xt(e,o){var n="",r;for(r=0;r<o;r+=1)n+=e;return n}function Qt(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}var Zt=be,Yt=Ut,en=Jt,tn=Xt,nn=Qt,on=Wt,oe={isNothing:Zt,isObject:Yt,toArray:en,repeat:tn,isNegativeZero:nn,extend:on};function ye(e,o){var n="",r=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(n+='in "'+e.mark.name+'" '),n+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!o&&e.mark.snippet&&(n+=`
8
+ */var n=function(a){var r=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,d=0,c={},s={manual:a.Prism&&a.Prism.manual,disableWorkerMessageHandler:a.Prism&&a.Prism.disableWorkerMessageHandler,util:{encode:function i(l){return l instanceof f?new f(l.type,i(l.content),l.alias):Array.isArray(l)?l.map(i):l.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:++d}),i.__id},clone:function i(l,u){u=u||{};var p,m;switch(s.util.type(l)){case"Object":if(m=s.util.objId(l),u[m])return u[m];p={},u[m]=p;for(var g in l)l.hasOwnProperty(g)&&(p[g]=i(l[g],u));return p;case"Array":return m=s.util.objId(l),u[m]?u[m]:(p=[],u[m]=p,l.forEach(function(k,h){p[h]=i(k,u)}),p);default:return l}},getLanguage:function(i){for(;i;){var l=r.exec(i.className);if(l)return l[1].toLowerCase();i=i.parentElement}return"none"},setLanguage:function(i,l){i.className=i.className.replace(RegExp(r,"gi"),""),i.classList.add("language-"+l)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document&&1<2)return document.currentScript;try{throw new Error}catch(p){var i=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(p.stack)||[])[1];if(i){var l=document.getElementsByTagName("script");for(var u in l)if(l[u].src==i)return l[u]}return null}},isActive:function(i,l,u){for(var p="no-"+l;i;){var m=i.classList;if(m.contains(l))return!0;if(m.contains(p))return!1;i=i.parentElement}return!!u}},languages:{plain:c,plaintext:c,text:c,txt:c,extend:function(i,l){var u=s.util.clone(s.languages[i]);for(var p in l)u[p]=l[p];return u},insertBefore:function(i,l,u,p){p=p||s.languages;var m=p[i],g={};for(var k in m)if(m.hasOwnProperty(k)){if(k==l)for(var h in u)u.hasOwnProperty(h)&&(g[h]=u[h]);u.hasOwnProperty(k)||(g[k]=m[k])}var v=p[i];return p[i]=g,s.languages.DFS(s.languages,function(A,q){q===v&&A!=i&&(this[A]=g)}),g},DFS:function i(l,u,p,m){m=m||{};var g=s.util.objId;for(var k in l)if(l.hasOwnProperty(k)){u.call(l,k,l[k],p||k);var h=l[k],v=s.util.type(h);v==="Object"&&!m[g(h)]?(m[g(h)]=!0,i(h,u,null,m)):v==="Array"&&!m[g(h)]&&(m[g(h)]=!0,i(h,u,k,m))}}},plugins:{},highlightAll:function(i,l){s.highlightAllUnder(document,i,l)},highlightAllUnder:function(i,l,u){var p={callback:u,container:i,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",p),p.elements=Array.prototype.slice.apply(p.container.querySelectorAll(p.selector)),s.hooks.run("before-all-elements-highlight",p);for(var m=0,g;g=p.elements[m++];)s.highlightElement(g,l===!0,p.callback)},highlightElement:function(i,l,u){var p=s.util.getLanguage(i),m=s.languages[p];s.util.setLanguage(i,p);var g=i.parentElement;g&&g.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(g,p);var k=i.textContent,h={element:i,language:p,grammar:m,code:k};function v(q){h.highlightedCode=q,s.hooks.run("before-insert",h),h.element.innerHTML=h.highlightedCode,s.hooks.run("after-highlight",h),s.hooks.run("complete",h),u&&u.call(h.element)}if(s.hooks.run("before-sanity-check",h),g=h.element.parentElement,g&&g.nodeName.toLowerCase()==="pre"&&!g.hasAttribute("tabindex")&&g.setAttribute("tabindex","0"),!h.code){s.hooks.run("complete",h),u&&u.call(h.element);return}if(s.hooks.run("before-highlight",h),!h.grammar){v(s.util.encode(h.code));return}if(l&&a.Worker){var A=new Worker(s.filename);A.onmessage=function(q){v(q.data)},A.postMessage(JSON.stringify({language:h.language,code:h.code,immediateClose:!0}))}else v(s.highlight(h.code,h.grammar,h.language))},highlight:function(i,l,u){var p={code:i,grammar:l,language:u};if(s.hooks.run("before-tokenize",p),!p.grammar)throw new Error('The language "'+p.language+'" has no grammar.');return p.tokens=s.tokenize(p.code,p.grammar),s.hooks.run("after-tokenize",p),f.stringify(s.util.encode(p.tokens),p.language)},tokenize:function(i,l){var u=l.rest;if(u){for(var p in u)l[p]=u[p];delete l.rest}var m=new y;return N(m,m.head,i),C(i,m,l,m.head,0),x(m)},hooks:{all:{},add:function(i,l){var u=s.hooks.all;u[i]=u[i]||[],u[i].push(l)},run:function(i,l){var u=s.hooks.all[i];if(!(!u||!u.length))for(var p=0,m;m=u[p++];)m(l)}},Token:f};a.Prism=s;function f(i,l,u,p){this.type=i,this.content=l,this.alias=u,this.length=(p||"").length|0}f.stringify=function i(l,u){if(typeof l=="string")return l;if(Array.isArray(l)){var p="";return l.forEach(function(v){p+=i(v,u)}),p}var m={type:l.type,content:i(l.content,u),tag:"span",classes:["token",l.type],attributes:{},language:u},g=l.alias;g&&(Array.isArray(g)?Array.prototype.push.apply(m.classes,g):m.classes.push(g)),s.hooks.run("wrap",m);var k="";for(var h in m.attributes)k+=" "+h+'="'+(m.attributes[h]||"").replace(/"/g,"&quot;")+'"';return"<"+m.tag+' class="'+m.classes.join(" ")+'"'+k+">"+m.content+"</"+m.tag+">"};function w(i,l,u,p){i.lastIndex=l;var m=i.exec(u);if(m&&p&&m[1]){var g=m[1].length;m.index+=g,m[0]=m[0].slice(g)}return m}function C(i,l,u,p,m,g){for(var k in u)if(!(!u.hasOwnProperty(k)||!u[k])){var h=u[k];h=Array.isArray(h)?h:[h];for(var v=0;v<h.length;++v){if(g&&g.cause==k+","+v)return;var A=h[v],q=A.inside,$=!!A.lookbehind,W=!!A.greedy,le=A.alias;if(W&&!A.pattern.global){var M=A.pattern.toString().match(/[imsuy]*$/)[0];A.pattern=RegExp(A.pattern.source,M+"g")}for(var Q=A.pattern||A,D=p.next,R=m;D!==l.tail&&!(g&&R>=g.reach);R+=D.value.length,D=D.next){var G=D.value;if(l.length>i.length)return;if(!(G instanceof f)){var X=1,F;if(W){if(F=w(Q,R,i,$),!F||F.index>=i.length)break;var Z=F.index,Jo=F.index+F[0].length,P=R;for(P+=D.value.length;Z>=P;)D=D.next,P+=D.value.length;if(P-=D.value.length,R=P,D.value instanceof f)continue;for(var z=D;z!==l.tail&&(P<Jo||typeof z.value=="string");z=z.next)X++,P+=z.value.length;X--,G=i.slice(R,P),F.index-=R}else if(F=w(Q,0,G,$),!F)continue;var Z=F.index,Y=F[0],se=G.slice(0,Z),Be=G.slice(Z+Y.length),ce=R+G.length;g&&ce>g.reach&&(g.reach=ce);var ee=D.prev;se&&(ee=N(l,ee,se),R+=se.length),B(l,ee,X);var Wo=new f(k,q?s.tokenize(Y,q):Y,le,Y);if(D=N(l,ee,Wo),Be&&N(l,D,Be),X>1){var ue={cause:k+","+v,reach:ce};C(i,l,u,D.prev,R,ue),g&&ue.reach>g.reach&&(g.reach=ue.reach)}}}}}}function y(){var i={value:null,prev:null,next:null},l={value:null,prev:i,next:null};i.next=l,this.head=i,this.tail=l,this.length=0}function N(i,l,u){var p=l.next,m={value:u,prev:l,next:p};return l.next=m,p.prev=m,i.length++,m}function B(i,l,u){for(var p=l.next,m=0;m<u&&p!==i.tail;m++)p=p.next;l.next=p,p.prev=l,i.length-=m}function x(i){for(var l=[],u=i.head.next;u!==i.tail;)l.push(u.value),u=u.next;return l}if(!a.document)return a.addEventListener&&(s.disableWorkerMessageHandler||a.addEventListener("message",function(i){var l=JSON.parse(i.data),u=l.language,p=l.code,m=l.immediateClose;a.postMessage(s.highlight(p,s.languages[u],u)),m&&a.close()},!1)),s;var b=s.util.currentScript();b&&(s.filename=b.src,b.hasAttribute("data-manual")&&(s.manual=!0));function S(){s.manual||s.highlightAll()}if(!s.manual){var _=document.readyState;_==="loading"||_==="interactive"&&b&&b.defer?document.addEventListener("DOMContentLoaded",S):window.requestAnimationFrame?window.requestAnimationFrame(S):window.setTimeout(S,16)}return s}(o);e.exports&&(e.exports=n),typeof de<"u"&&(de.Prism=n),n.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]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(a){a.type==="entity"&&(a.attributes.title=a.content.replace(/&amp;/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(a,r){var d={};d["language-"+r]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:n.languages[r]},d.cdata=/^<!\[CDATA\[|\]\]>$/i;var c={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:d}};c["language-"+r]={pattern:/[\s\S]+/,inside:n.languages[r]};var s={};s[a]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return a}),"i"),lookbehind:!0,greedy:!0,inside:c},n.languages.insertBefore("markup","cdata",s)}}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:function(a,r){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+a+")"+/\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:[r,"language-"+r],inside:n.languages[r]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml,function(a){var r=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;a.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+r.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\\((?:"+r.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+r.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+r.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:r,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:/[(){};:,]/},a.languages.css.atrule.inside.rest=a.languages.css;var d=a.languages.markup;d&&(d.tag.addInlined("style","css"),d.tag.addAttribute("style","css"))}(n),n.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:/[{}[\];(),.:]/},n.languages.javascript=n.languages.extend("clike",{"class-name":[n.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}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.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:n.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:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.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:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.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:n.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"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.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")),n.languages.js=n.languages.javascript,function(){if(typeof n>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var a="Loading…",r=function(b,S){return"✖ Error "+b+" while fetching file: "+S},d="✖ Error: File does not exist or is empty",c={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},s="data-src-status",f="loading",w="loaded",C="failed",y="pre[data-src]:not(["+s+'="'+w+'"]):not(['+s+'="'+f+'"])';function N(b,S,_){var i=new XMLHttpRequest;i.open("GET",b,!0),i.onreadystatechange=function(){i.readyState==4&&(i.status<400&&i.responseText?S(i.responseText):i.status>=400?_(r(i.status,i.statusText)):_(d))},i.send(null)}function B(b){var S=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(b||"");if(S){var _=Number(S[1]),i=S[2],l=S[3];return i?l?[_,Number(l)]:[_,void 0]:[_,_]}}n.hooks.add("before-highlightall",function(b){b.selector+=", "+y}),n.hooks.add("before-sanity-check",function(b){var S=b.element;if(S.matches(y)){b.code="",S.setAttribute(s,f);var _=S.appendChild(document.createElement("CODE"));_.textContent=a;var i=S.getAttribute("data-src"),l=b.language;if(l==="none"){var u=(/\.(\w+)$/.exec(i)||[,"none"])[1];l=c[u]||u}n.util.setLanguage(_,l),n.util.setLanguage(S,l);var p=n.plugins.autoloader;p&&p.loadLanguages(l),N(i,function(m){S.setAttribute(s,w);var g=B(S.getAttribute("data-range"));if(g){var k=m.split(/\r\n?|\n/g),h=g[0],v=g[1]==null?k.length:g[1];h<0&&(h+=k.length),h=Math.max(0,Math.min(h-1,k.length)),v<0&&(v+=k.length),v=Math.max(0,Math.min(v,k.length)),m=k.slice(h,v).join(`
9
+ `),S.hasAttribute("data-start")||S.setAttribute("data-start",String(h+1))}_.textContent=m,n.highlightElement(_)},function(m){S.setAttribute(s,C),_.textContent=m})}}),n.plugins.fileHighlight={highlight:function(b){for(var S=(b||document).querySelectorAll(y),_=0,i;i=S[_++];)n.highlightElement(i)}};var x=!1;n.fileHighlight=function(){x||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),x=!0),n.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(ge);var Ke=ge.exports;const U=He(Ke),Ue=t.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(e){U.manual=!0;const o=e,n=t.ref(!1),a=Object.keys(me.languages).reduce((f,w)=>{const C=me.languages[w].alias||[];return[...f,w,...Array.isArray(C)?C:[C]]},[]).sort();function r(f){n.value=!0,U.languages[f.language]||console.warn(`Prism: the language “${f.language}” isn’t enabled.`),f.preElement.classList.contains(`language-${f.language}`)||f.preElement.classList.add(`language-${f.language}`),f.codeElement.innerHTML=d(f.code),U.highlightElement(f.codeElement),n.value=!1}const d=f=>f.replaceAll("<","&lt;").replaceAll(">","&gt;").replaceAll('"',"&quot;").replaceAll("'","&#039;"),c=t.computed(()=>`document-code-block-${o.codeBlockIndex}`),s=t.computed(()=>{var f,w;const C=((w=(f=o.lines)==null?void 0:f.flatMap(y=>y.text))==null?void 0:w.join(""))||"";return C.endsWith(`
10
+ `)&&!o.isSingleLine?C.slice(0,-1):C});return t.watch(()=>o.lang,async f=>{if(a.includes(f))try{await import(`../../../node_modules/prismjs/components/prism-${f}.min.js`)}catch{console.warn(`Prism does not have a language file for '${f}'`)}U.highlightAll()},{immediate:!0}),(f,w)=>{const C=t.resolveComponent("KCodeBlock");return t.openBlock(),t.createBlock(C,{id:c.value,class:"document-code-block",code:s.value,"is-processing":n.value,"is-single-line":e.isSingleLine,language:e.lang,theme:"light",onCodeBlockRender:r},null,8,["id","code","is-processing","is-single-line","language"])}}}),Je=T(Ue,[["__scopeId","data-v-19aebd59"]]),We=t.defineComponent({__name:"Emphasis",props:{level:{type:Number,default:1,validator(e){if(!Number.isInteger(e))return!1;const o=e;return o>0&&o<3}}},setup(e){const o=e.level===1?"em":"strong";return(n,a)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(o)),null,{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3}))}}),Qe=t.defineComponent({__name:"Heading",props:{level:{type:Number,validator(e){if(!Number.isInteger(e))return!1;const o=e;return o>0&&o<7},default:1},slug:{type:String,default:""}},setup(e){const o=e,n=`${o.slug}`,a=`h${o.level}`;return(r,d)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(a),{id:n},{default:t.withCtx(()=>[t.renderSlot(r.$slots,"default",{},void 0,!0)]),_:3}))}}),Xe=T(Qe,[["__scopeId","data-v-9ef4ad64"]]),Ze=["alt","src","title"],Ye=t.defineComponent({__name:"Image",props:{url:{type:String,required:!0},alt:{type:String,default:""},title:{type:String,default:""}},setup(e){return(o,n)=>(t.openBlock(),t.createElementBlock("img",{alt:e.alt,src:e.url,title:e.title},null,8,Ze))}}),et=T(Ye,[["__scopeId","data-v-13314abe"]]),tt={};function nt(e,o){return t.openBlock(),t.createElementBlock("hr")}const ot=T(tt,[["render",nt],["__scopeId","data-v-b6e25b56"]]),rt={};function at(e,o){return t.openBlock(),t.createElementBlock("s",null,[t.renderSlot(e.$slots,"default")])}const it=T(rt,[["render",at]]),lt={};function st(e,o){return t.openBlock(),t.createElementBlock("table",null,[t.renderSlot(e.$slots,"default",{},void 0,!0)])}const ct=T(lt,[["render",st],["__scopeId","data-v-c2502730"]]),ut=t.defineComponent({__name:"TableRow",props:{section:{type:String,default:I.body}},setup(e){const o=e;let n;return o.section===I.header?n="thead":o.section===I.body?n="tbody":o.section===I.footer&&(n="tfoot"),(a,r)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(n)),null,{default:t.withCtx(()=>[t.createElementVNode("tr",null,[t.renderSlot(a.$slots,"default",{},void 0,!0)])]),_:3}))}}),fe=T(ut,[["__scopeId","data-v-90ab3ded"]]),dt=t.defineComponent({__name:"TableCell",props:{alignment:{type:String,default:K.left},parent:{type:Object,required:!0}},setup(e){var o;const n=e,a=((o=n.parent)==null?void 0:o.section)===I.header?"th":"td";let r;return n.alignment===K.center?r="align-center":n.alignment===K.right&&(r="align-right"),(d,c)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(a)),{class:t.normalizeClass(t.unref(r))},{default:t.withCtx(()=>[t.renderSlot(d.$slots,"default",{},void 0,!0)]),_:3},8,["class"]))}}),pt=T(dt,[["__scopeId","data-v-6fde1a24"]]),mt=["checked"],gt=t.defineComponent({__name:"TaskCheckbox",props:{checked:{type:Boolean}},setup(e){const o=t.ref(e.checked);return(n,a)=>(t.openBlock(),t.createElementBlock("input",{"aria-label":"Display-only checkbox for task",checked:o.value,type:"checkbox"},null,8,mt))}}),ft={key:0},ht={key:1},wt={inheritAttrs:!1},kt=t.defineComponent({...wt,__name:"Text",props:{text:{type:String,required:!0},appendSpace:{type:Boolean,default:!1},hardBreak:{type:Boolean,default:!1}},setup(e){return(o,n)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createTextVNode(t.toDisplayString(e.text),1),e.appendSpace?(t.openBlock(),t.createElementBlock("span",ft," ")):t.createCommentVNode("",!0),e.hardBreak?(t.openBlock(),t.createElementBlock("br",ht)):t.createCommentVNode("",!0)],64))}}),bt={};function yt(e,o){return t.openBlock(),t.createElementBlock("span",null,[t.renderSlot(e.$slots,"default")])}const xt=T(bt,[["render",yt]]),St={};function vt(e,o){return t.openBlock(),t.createElementBlock("p",null,[t.renderSlot(e.$slots,"default",{},void 0,!0)])}const Ct=T(St,[["render",vt],["__scopeId","data-v-7b54f530"]]),_t=t.defineComponent({__name:"List",props:{isOrdered:{type:Boolean,default:!1},hasTaskItems:{type:Boolean,default:!1}},setup(e){const o=e.isOrdered?"ol":"ul";return(n,a)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(o)),{class:t.normalizeClass({"has-task-items":e.hasTaskItems})},{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default",{},void 0,!0)]),_:3},8,["class"]))}}),Dt=T(_t,[["__scopeId","data-v-7555911f"]]),At={};function Nt(e,o){return t.openBlock(),t.createElementBlock("li",null,[t.renderSlot(e.$slots,"default",{},void 0,!0)])}const qt=T(At,[["render",Nt],["__scopeId","data-v-cf238e78"]]),Tt=["href","title"],Et=t.defineComponent({__name:"Link",props:{href:{type:String,required:!0},title:{type:String,default:""}},setup(e){return(o,n)=>(t.openBlock(),t.createElementBlock("a",{href:e.href,rel:"noreferrer noopener nofollow",title:e.title},[t.renderSlot(o.$slots,"default",{},void 0,!0)],8,Tt))}}),Bt=T(Et,[["__scopeId","data-v-0f033d16"]]),jt={blockquote:Ge,code:ze,code_block:Je,emphasis:We,heading:Xe,image:et,break:ot,link:Bt,list:Dt,list_item:qt,paragraph:Ct,strikethrough:it,table:ct,table_header:fe,table_row:fe,table_cell:pt,task_checkbox:gt,text:kt,text_block:xt},he=[];function Ft(e){he.indexOf(e)===-1&&(he.push(e),console.warn(`[DocumentViewer] Unable to render an unknown node type "${e}"`))}function ne(e,o){return e.map((n,a)=>{var r;if(!n)return null;const{type:d,children:c,...s}=n,f=jt[n.type];if(!f)return Ft(d),null;if(Re(n)&&(n.section=I.header),Le(n)){const w=(r=n.children)==null?void 0:r.some(C=>{var y;return(y=C.children)==null?void 0:y.some(N=>{var B;return(B=N.children)==null?void 0:B.some(x=>x.type==="task_checkbox")})});return t.createVNode(f,t.mergeProps({hasTaskItems:w},s,{parent:o}),{default:()=>c&&ne(c,n)})}return(n==null?void 0:n.type)==="code_block"?t.createVNode(f,t.mergeProps(s,{lines:c,isSingleLine:(c==null?void 0:c.length)&&c.length===1,codeBlockIndex:a}),null):t.createVNode(f,t.mergeProps(s,{parent:o}),{default:()=>c&&ne(c,n)})})}const Rt={error:"Error: Markdown content missing"},Pt={documentViewer:Rt};function It(){return{i18n:H.createI18n("en-us",Pt),i18nT:H.Translation}}function Lt(){return{hasRequiredProps:(e,o)=>{let n=!0;return e.forEach(a=>{o.forEach(r=>{a[r]||(n=!1)})}),n}}}const $t={useI18n:It,useUtilities:Lt};function Vt(e,o=""){return e.toLowerCase().trim().replace(/ /g,"-").replace(/[^\w-]+/g,"")+o}function we(e,o=new Map){if(!e)return e;const n=o||new Map;return e.map(a=>Ie(a)?Gt(a,o):(a.children&&(a.children=we(a.children,n)),a))}function Gt(e,o,n="doc-heading-"){var a;const r=(a=e.children)==null?void 0:a[0],d=`level-${e.level}`,c=Pe(r)&&r.text||d,s=o.get(c);o.set(c,(s||0)+1);const f=s&&s>1?`-${s}`:"",w=n+Vt(c,f);return{...e,slug:w}}const Ot={class:"document-viewer","data-testid":"document-viewer"},Mt={key:1,"data-testid":"document-viewer-error"},zt=t.defineComponent({__name:"DocumentViewer",props:{document:{type:Object,required:!0}},setup(e){var o;const n=e,{i18n:a}=$t.useI18n(),r=f=>!f||Object.keys(f).length===0&&f.constructor===Object,d=t.computed(()=>!r(n.document)),c=we((o=n.document)==null?void 0:o.children),s=()=>{var f;return(f=n.document)!=null&&f.children?ne(c):null};return(f,w)=>(t.openBlock(),t.createElementBlock("div",Ot,[d.value?(t.openBlock(),t.createBlock(s,{key:0})):(t.openBlock(),t.createElementBlock("div",Mt,t.toDisplayString(t.unref(a).t("documentViewer.error")),1))]))}}),Ht=T(zt,[["__scopeId","data-v-1ab71c85"]]);function ke(e){if(e!==void 0)return JSON.parse(JSON.stringify(e))}function Kt(e){return Object.keys(e).length===0}/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function be(e){return typeof e>"u"||e===null}function Ut(e){return typeof e=="object"&&e!==null}function Jt(e){return Array.isArray(e)?e:be(e)?[]:[e]}function Wt(e,o){var n,a,r,d;if(o)for(d=Object.keys(o),n=0,a=d.length;n<a;n+=1)r=d[n],e[r]=o[r];return e}function Qt(e,o){var n="",a;for(a=0;a<o;a+=1)n+=e;return n}function Xt(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}var Zt=be,Yt=Ut,en=Jt,tn=Qt,nn=Xt,on=Wt,oe={isNothing:Zt,isObject:Yt,toArray:en,repeat:tn,isNegativeZero:nn,extend:on};function ye(e,o){var n="",a=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(n+='in "'+e.mark.name+'" '),n+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!o&&e.mark.snippet&&(n+=`
11
11
 
12
- `+e.mark.snippet),r+" "+n):r}function O(e,o){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=o,this.message=ye(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}O.prototype=Object.create(Error.prototype),O.prototype.constructor=O,O.prototype.toString=function(e){return this.name+": "+ye(this,e)};var $=O,rn=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],an=["scalar","sequence","mapping"];function ln(e){var o={};return e!==null&&Object.keys(e).forEach(function(n){e[n].forEach(function(r){o[String(r)]=n})}),o}function sn(e,o){if(o=o||{},Object.keys(o).forEach(function(n){if(rn.indexOf(n)===-1)throw new $('Unknown option "'+n+'" is met in definition of "'+e+'" YAML type.')}),this.options=o,this.tag=e,this.kind=o.kind||null,this.resolve=o.resolve||function(){return!0},this.construct=o.construct||function(n){return n},this.instanceOf=o.instanceOf||null,this.predicate=o.predicate||null,this.represent=o.represent||null,this.representName=o.representName||null,this.defaultStyle=o.defaultStyle||null,this.multi=o.multi||!1,this.styleAliases=ln(o.styleAliases||null),an.indexOf(this.kind)===-1)throw new $('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var T=sn;function xe(e,o){var n=[];return e[o].forEach(function(r){var a=n.length;n.forEach(function(m,u){m.tag===r.tag&&m.kind===r.kind&&m.multi===r.multi&&(a=u)}),n[a]=r}),n}function cn(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},o,n;function r(a){a.multi?(e.multi[a.kind].push(a),e.multi.fallback.push(a)):e[a.kind][a.tag]=e.fallback[a.tag]=a}for(o=0,n=arguments.length;o<n;o+=1)arguments[o].forEach(r);return e}function re(e){return this.extend(e)}re.prototype.extend=function(e){var o=[],n=[];if(e instanceof T)n.push(e);else if(Array.isArray(e))n=n.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(o=o.concat(e.implicit)),e.explicit&&(n=n.concat(e.explicit));else throw new $("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");o.forEach(function(a){if(!(a instanceof T))throw new $("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(a.loadKind&&a.loadKind!=="scalar")throw new $("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(a.multi)throw new $("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),n.forEach(function(a){if(!(a instanceof T))throw new $("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var r=Object.create(re.prototype);return r.implicit=(this.implicit||[]).concat(o),r.explicit=(this.explicit||[]).concat(n),r.compiledImplicit=xe(r,"implicit"),r.compiledExplicit=xe(r,"explicit"),r.compiledTypeMap=cn(r.compiledImplicit,r.compiledExplicit),r};var un=re,dn=new T("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}}),pn=new T("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}}),mn=new T("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}}),gn=new un({explicit:[dn,pn,mn]});function fn(e){if(e===null)return!0;var o=e.length;return o===1&&e==="~"||o===4&&(e==="null"||e==="Null"||e==="NULL")}function hn(){return null}function wn(e){return e===null}var kn=new T("tag:yaml.org,2002:null",{kind:"scalar",resolve:fn,construct:hn,predicate:wn,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function bn(e){if(e===null)return!1;var o=e.length;return o===4&&(e==="true"||e==="True"||e==="TRUE")||o===5&&(e==="false"||e==="False"||e==="FALSE")}function yn(e){return e==="true"||e==="True"||e==="TRUE"}function xn(e){return Object.prototype.toString.call(e)==="[object Boolean]"}var Sn=new T("tag:yaml.org,2002:bool",{kind:"scalar",resolve:bn,construct:yn,predicate:xn,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"});function vn(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function Cn(e){return 48<=e&&e<=55}function _n(e){return 48<=e&&e<=57}function Dn(e){if(e===null)return!1;var o=e.length,n=0,r=!1,a;if(!o)return!1;if(a=e[n],(a==="-"||a==="+")&&(a=e[++n]),a==="0"){if(n+1===o)return!0;if(a=e[++n],a==="b"){for(n++;n<o;n++)if(a=e[n],a!=="_"){if(a!=="0"&&a!=="1")return!1;r=!0}return r&&a!=="_"}if(a==="x"){for(n++;n<o;n++)if(a=e[n],a!=="_"){if(!vn(e.charCodeAt(n)))return!1;r=!0}return r&&a!=="_"}if(a==="o"){for(n++;n<o;n++)if(a=e[n],a!=="_"){if(!Cn(e.charCodeAt(n)))return!1;r=!0}return r&&a!=="_"}}if(a==="_")return!1;for(;n<o;n++)if(a=e[n],a!=="_"){if(!_n(e.charCodeAt(n)))return!1;r=!0}return!(!r||a==="_")}function An(e){var o=e,n=1,r;if(o.indexOf("_")!==-1&&(o=o.replace(/_/g,"")),r=o[0],(r==="-"||r==="+")&&(r==="-"&&(n=-1),o=o.slice(1),r=o[0]),o==="0")return 0;if(r==="0"){if(o[1]==="b")return n*parseInt(o.slice(2),2);if(o[1]==="x")return n*parseInt(o.slice(2),16);if(o[1]==="o")return n*parseInt(o.slice(2),8)}return n*parseInt(o,10)}function Nn(e){return Object.prototype.toString.call(e)==="[object Number]"&&e%1===0&&!oe.isNegativeZero(e)}var qn=new T("tag:yaml.org,2002:int",{kind:"scalar",resolve:Dn,construct:An,predicate:Nn,represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Tn=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function En(e){return!(e===null||!Tn.test(e)||e[e.length-1]==="_")}function Bn(e){var o,n;return o=e.replace(/_/g,"").toLowerCase(),n=o[0]==="-"?-1:1,"+-".indexOf(o[0])>=0&&(o=o.slice(1)),o===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:o===".nan"?NaN:n*parseFloat(o,10)}var jn=/^[-+]?[0-9]+e/;function Fn(e,o){var n;if(isNaN(e))switch(o){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(o){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(o){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(oe.isNegativeZero(e))return"-0.0";return n=e.toString(10),jn.test(n)?n.replace("e",".e"):n}function Rn(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||oe.isNegativeZero(e))}var Pn=new T("tag:yaml.org,2002:float",{kind:"scalar",resolve:En,construct:Bn,predicate:Rn,represent:Fn,defaultStyle:"lowercase"}),In=gn.extend({implicit:[kn,Sn,qn,Pn]}),Ln=In,Se=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),ve=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function $n(e){return e===null?!1:Se.exec(e)!==null||ve.exec(e)!==null}function Vn(e){var o,n,r,a,m,u,s,d=0,y=null,k,A,N;if(o=Se.exec(e),o===null&&(o=ve.exec(e)),o===null)throw new Error("Date resolve error");if(n=+o[1],r=+o[2]-1,a=+o[3],!o[4])return new Date(Date.UTC(n,r,a));if(m=+o[4],u=+o[5],s=+o[6],o[7]){for(d=o[7].slice(0,3);d.length<3;)d+="0";d=+d}return o[9]&&(k=+o[10],A=+(o[11]||0),y=(k*60+A)*6e4,o[9]==="-"&&(y=-y)),N=new Date(Date.UTC(n,r,a,m,u,s,d)),y&&N.setTime(N.getTime()-y),N}function Gn(e){return e.toISOString()}var On=new T("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:$n,construct:Vn,instanceOf:Date,represent:Gn});function Mn(e){return e==="<<"||e===null}var zn=new T("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Mn}),ae=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
13
- \r`;function Hn(e){if(e===null)return!1;var o,n,r=0,a=e.length,m=ae;for(n=0;n<a;n++)if(o=m.indexOf(e.charAt(n)),!(o>64)){if(o<0)return!1;r+=6}return r%8===0}function Kn(e){var o,n,r=e.replace(/[\r\n=]/g,""),a=r.length,m=ae,u=0,s=[];for(o=0;o<a;o++)o%4===0&&o&&(s.push(u>>16&255),s.push(u>>8&255),s.push(u&255)),u=u<<6|m.indexOf(r.charAt(o));return n=a%4*6,n===0?(s.push(u>>16&255),s.push(u>>8&255),s.push(u&255)):n===18?(s.push(u>>10&255),s.push(u>>2&255)):n===12&&s.push(u>>4&255),new Uint8Array(s)}function Un(e){var o="",n=0,r,a,m=e.length,u=ae;for(r=0;r<m;r++)r%3===0&&r&&(o+=u[n>>18&63],o+=u[n>>12&63],o+=u[n>>6&63],o+=u[n&63]),n=(n<<8)+e[r];return a=m%3,a===0?(o+=u[n>>18&63],o+=u[n>>12&63],o+=u[n>>6&63],o+=u[n&63]):a===2?(o+=u[n>>10&63],o+=u[n>>4&63],o+=u[n<<2&63],o+=u[64]):a===1&&(o+=u[n>>2&63],o+=u[n<<4&63],o+=u[64],o+=u[64]),o}function Jn(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var Wn=new T("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Hn,construct:Kn,predicate:Jn,represent:Un}),Xn=Object.prototype.hasOwnProperty,Qn=Object.prototype.toString;function Zn(e){if(e===null)return!0;var o=[],n,r,a,m,u,s=e;for(n=0,r=s.length;n<r;n+=1){if(a=s[n],u=!1,Qn.call(a)!=="[object Object]")return!1;for(m in a)if(Xn.call(a,m))if(!u)u=!0;else return!1;if(!u)return!1;if(o.indexOf(m)===-1)o.push(m);else return!1}return!0}function Yn(e){return e!==null?e:[]}var eo=new T("tag:yaml.org,2002:omap",{kind:"sequence",resolve:Zn,construct:Yn}),to=Object.prototype.toString;function no(e){if(e===null)return!0;var o,n,r,a,m,u=e;for(m=new Array(u.length),o=0,n=u.length;o<n;o+=1){if(r=u[o],to.call(r)!=="[object Object]"||(a=Object.keys(r),a.length!==1))return!1;m[o]=[a[0],r[a[0]]]}return!0}function oo(e){if(e===null)return[];var o,n,r,a,m,u=e;for(m=new Array(u.length),o=0,n=u.length;o<n;o+=1)r=u[o],a=Object.keys(r),m[o]=[a[0],r[a[0]]];return m}var ro=new T("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:no,construct:oo}),ao=Object.prototype.hasOwnProperty;function io(e){if(e===null)return!0;var o,n=e;for(o in n)if(ao.call(n,o)&&n[o]!==null)return!1;return!0}function lo(e){return e!==null?e:{}}var so=new T("tag:yaml.org,2002:set",{kind:"mapping",resolve:io,construct:lo});Ln.extend({implicit:[On,zn],explicit:[Wn,eo,ro,so]});function Ce(e){return e===48?"\0":e===97?"\x07":e===98?"\b":e===116||e===9?" ":e===110?`
14
- `:e===118?"\v":e===102?"\f":e===114?"\r":e===101?"\x1B":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"…":e===95?" ":e===76?"\u2028":e===80?"\u2029":""}for(var co=new Array(256),uo=new Array(256),V=0;V<256;V++)co[V]=Ce(V)?1:0,uo[V]=Ce(V);const _e=t.defineComponent({__name:"PermissionsWrapper",props:{authFunction:{type:Function,required:!0,default:async()=>!0},forceShow:{type:Boolean,default:!1}},setup(e){const o=e,n=t.ref(void 0),r=t.computed(()=>n.value===!0||n.value!==void 0&&o.forceShow===!0);return t.watch(()=>o.authFunction,async()=>{n.value=await o.authFunction()},{immediate:!0}),(a,m)=>r.value?t.renderSlot(a.$slots,"default",{key:0,isAllowed:n.value}):t.createCommentVNode("",!0)}}),po=e=>(t.pushScopeId("data-v-cb31890c"),e=e(),t.popScopeId(),e),mo={class:"documentation-display"},go={class:"document-meta"},fo={class:"document-title meta-section"},ho=po(()=>t.createElementVNode("span",{class:"document-title-extension"},"md",-1)),wo={key:0,class:"document-status meta-section"},ko={class:"meta-label"},bo={key:1,class:"document-create meta-section"},yo={class:"meta-label"},xo={class:"document-display-actions"},So={key:0,class:"markdown-content-loading","data-testid":"markdown-content-loading"},vo={key:1},Co=t.defineComponent({__name:"DocumentationDisplay",props:{canEdit:{type:Function,required:!1,default:async()=>!1},card:{type:Boolean,default:!1},hidePublishToggle:{type:Boolean,default:!1},selectedDocument:{type:Object,default:()=>null}},emits:["add","edit","toggle-published"],setup(e,{emit:o}){const n=e,{i18n:r}=te.useI18n(),a=t.ref(!0),m=t.computed(()=>{var x,D,v,b,_;return((D=(x=n.selectedDocument)==null?void 0:x.document)==null?void 0:D.title)||((_=(b=(v=n.selectedDocument)==null?void 0:v.document)==null?void 0:b.revision)==null?void 0:_.title)||""}),u=t.computed(()=>""),s=t.ref(!1),d=t.ref(r.t("documentation.common.unpublished")),y=t.ref(null);t.watch(()=>n.selectedDocument,x=>{var D;Kt(x)||(n.hidePublishToggle||A((D=x.document)==null?void 0:D.status),x.ast&&N())},{deep:!0});const k=()=>{const x=!s.value;o("toggle-published",x),s.value=x,d.value=x?r.t("documentation.common.published"):r.t("documentation.common.unpublished")},A=x=>{x==="published"?(s.value=!0,d.value=r.t("documentation.common.published")):(s.value=!1,d.value=r.t("documentation.common.unpublished"))},N=()=>{y.value={children:n.selectedDocument.ast,type:"document",version:1},a.value=!1};return(x,D)=>{const v=t.resolveComponent("KBadge"),b=t.resolveComponent("KInputSwitch"),_=t.resolveComponent("KButton"),l=t.resolveComponent("KSkeleton");return t.openBlock(),t.createElementBlock("div",mo,[t.createElementVNode("div",go,[t.createElementVNode("div",fo,[t.renderSlot(x.$slots,"document-title",{},()=>[t.createElementVNode("span",null,t.toDisplayString(m.value),1),t.createTextVNode("."),ho],!0)]),e.hidePublishToggle?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",wo,[t.createElementVNode("span",ko,t.toDisplayString(t.unref(r).t("documentation.documentation_display.status_label")),1),s.value?(t.openBlock(),t.createBlock(v,{key:0,appearance:"success"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(r).t("documentation.common.published")),1)]),_:1})):(t.openBlock(),t.createBlock(v,{key:1,appearance:"neutral"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(r).t("documentation.common.unpublished")),1)]),_:1}))])),u.value?(t.openBlock(),t.createElementBlock("div",bo,[t.createElementVNode("span",yo,t.toDisplayString(t.unref(r).t("documentation.documentation_display.added_label")),1),t.createVNode(v,{appearance:"neutral"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(u.value),1)]),_:1})])):t.createCommentVNode("",!0),t.createElementVNode("div",xo,[t.createVNode(t.unref(_e),{"auth-function":()=>e.canEdit()},{default:t.withCtx(()=>[!e.hidePublishToggle&&!e.card?(t.openBlock(),t.createBlock(b,{key:0,modelValue:s.value,"onUpdate:modelValue":D[0]||(D[0]=i=>s.value=i),class:"document-publish-toggle","data-testid":"document-publish-toggle",label:d.value,"label-before":"",onClick:k},null,8,["modelValue","label"])):t.createCommentVNode("",!0),t.createVNode(_,{appearance:"secondary",class:"document-edit-button","data-testid":"document-edit-button",size:"small",onClick:D[1]||(D[1]=i=>o("edit"))},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(r).t("documentation.documentation_display.edit_button")),1)]),_:1}),t.createVNode(_,{appearance:"primary","data-testid":"add-new-page-button",size:"small",onClick:D[2]||(D[2]=i=>o("add"))},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(r).t("documentation.documentation_display.add_new")),1)]),_:1})]),_:1},8,["auth-function"])])]),a.value?(t.openBlock(),t.createElementBlock("div",So,[e.card?(t.openBlock(),t.createBlock(l,{key:1,type:"card"})):(t.openBlock(),t.createBlock(l,{key:0,class:"markdown-content-loader"}))])):(t.openBlock(),t.createElementBlock("div",vo,[t.createElementVNode("div",{class:t.normalizeClass(["document-content",{"content-card-view":e.card}])},[y.value?(t.openBlock(),t.createBlock(t.unref(Ht),{key:0,document:y.value},null,8,["document"])):t.createCommentVNode("",!0)],2)]))])}}}),ie=(e,o)=>{const n=e.__vccOpts||e;for(const[r,a]of o)n[r]=a;return n},De=ie(Co,[["__scopeId","data-v-cb31890c"]]),J="24px",Ae=(e,o)=>{const n=e.__vccOpts||e;for(const[r,a]of o)n[r]=a;return n},_o=e=>(t.pushScopeId("data-v-97c8c2aa"),e=e(),t.popScopeId(),e),Do=["aria-hidden"],Ao={key:0,"data-testid":"kui-icon-svg-title"},No=_o(()=>t.createElementVNode("path",{d:"M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",fill:"currentColor"},null,-1)),qo=Ae(t.defineComponent({__name:"AddIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:J,validator:e=>{if(typeof e=="number"&&e>0)return!0;if(typeof e=="string"){const o=String(e).replace(/px/gi,""),n=Number(o);if(n&&!isNaN(n)&&Number.isInteger(n)&&n>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(e){const o=e,n=t.computed(()=>{if(typeof o.size=="number"&&o.size>0)return`${o.size}px`;if(typeof o.size=="string"){const a=String(o.size).replace(/px/gi,""),m=Number(a);if(m&&!isNaN(m)&&Number.isInteger(m)&&m>0)return`${m}px`}return J}),r=t.computed(()=>({boxSizing:"border-box",color:o.color,display:o.display,height:n.value,lineHeight:"0",width:n.value}));return(a,m)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.as),{"aria-hidden":e.decorative?"true":void 0,class:"kui-icon add-icon","data-testid":"kui-icon-wrapper-add-icon",style:t.normalizeStyle(r.value)},{default:t.withCtx(()=>[(t.openBlock(),t.createElementBlock("svg",{"aria-hidden":e.decorative?"true":void 0,"data-testid":"kui-icon-svg-add-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[e.title?(t.openBlock(),t.createElementBlock("title",Ao,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),No],8,Do))]),_:1},8,["aria-hidden","style"]))}}),[["__scopeId","data-v-97c8c2aa"]]),Ne=e=>(t.pushScopeId("data-v-336ae8cf"),e=e(),t.popScopeId(),e),To=["aria-hidden"],Eo={key:0,"data-testid":"kui-icon-svg-title"},Bo=Ne(()=>t.createElementVNode("path",{d:"M12 22C10.6333 22 9.34167 21.7375 8.125 21.2125C6.90833 20.6875 5.84583 19.9708 4.9375 19.0625C4.02917 18.1542 3.3125 17.0917 2.7875 15.875C2.2625 14.6583 2 13.3667 2 12C2 10.6167 2.2625 9.32083 2.7875 8.1125C3.3125 6.90417 4.02917 5.84583 4.9375 4.9375C5.84583 4.02917 6.90833 3.3125 8.125 2.7875C9.34167 2.2625 10.6333 2 12 2C12.2833 2 12.5208 2.09583 12.7125 2.2875C12.9042 2.47917 13 2.71667 13 3C13 3.28333 12.9042 3.52083 12.7125 3.7125C12.5208 3.90417 12.2833 4 12 4C9.78333 4 7.89583 4.77917 6.3375 6.3375C4.77917 7.89583 4 9.78333 4 12C4 14.2167 4.77917 16.1042 6.3375 17.6625C7.89583 19.2208 9.78333 20 12 20C14.2167 20 16.1042 19.2208 17.6625 17.6625C19.2208 16.1042 20 14.2167 20 12C20 11.7167 20.0958 11.4792 20.2875 11.2875C20.4792 11.0958 20.7167 11 21 11C21.2833 11 21.5208 11.0958 21.7125 11.2875C21.9042 11.4792 22 11.7167 22 12C22 13.3667 21.7375 14.6583 21.2125 15.875C20.6875 17.0917 19.9708 18.1542 19.0625 19.0625C18.1542 19.9708 17.0958 20.6875 15.8875 21.2125C14.6792 21.7375 13.3833 22 12 22Z",fill:"currentColor","transform-origin":"center"},null,-1)),jo=Ne(()=>t.createElementVNode("animateTransform",{attributeName:"transform",attributeType:"XML",dur:"1.5s",from:"0",repeatCount:"indefinite",to:"360",type:"rotate"},null,-1)),qe=Ae(t.defineComponent({__name:"ProgressIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:J,validator:e=>{if(typeof e=="number"&&e>0)return!0;if(typeof e=="string"){const o=String(e).replace(/px/gi,""),n=Number(o);if(n&&!isNaN(n)&&Number.isInteger(n)&&n>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(e){const o=e,n=t.computed(()=>{if(typeof o.size=="number"&&o.size>0)return`${o.size}px`;if(typeof o.size=="string"){const a=String(o.size).replace(/px/gi,""),m=Number(a);if(m&&!isNaN(m)&&Number.isInteger(m)&&m>0)return`${m}px`}return J}),r=t.computed(()=>({boxSizing:"border-box",color:o.color,display:o.display,height:n.value,lineHeight:"0",width:n.value}));return(a,m)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.as),{"aria-hidden":e.decorative?"true":void 0,class:"kui-icon progress-icon","data-testid":"kui-icon-wrapper-progress-icon",style:t.normalizeStyle(r.value)},{default:t.withCtx(()=>[(t.openBlock(),t.createElementBlock("svg",{"aria-hidden":e.decorative?"true":void 0,"data-testid":"kui-icon-svg-progress-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[e.title?(t.openBlock(),t.createElementBlock("title",Eo,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),Bo,jo],8,To))]),_:1},8,["aria-hidden","style"]))}}),[["__scopeId","data-v-336ae8cf"]]),Te=t.defineComponent({__name:"DocumentationPageEmptyState",props:{canEdit:{type:Function,required:!1,default:async()=>!1}},emits:["create-documentation"],setup(e,{emit:o}){const{i18n:n}=te.useI18n();return(r,a)=>{const m=t.resolveComponent("KButton"),u=t.resolveComponent("KEmptyState");return t.openBlock(),t.createBlock(u,{class:"documentation-page-empty-state","data-testid":"documentation-page-empty-state",icon:"stateGruceo","icon-size":"96"},{title:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(n).t("documentation.show.empty_state.title")),1)]),message:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(n).t("documentation.show.empty_state.message")),1)]),cta:t.withCtx(()=>[t.createVNode(t.unref(_e),{"auth-function":()=>e.canEdit()},{default:t.withCtx(()=>[t.createVNode(m,{appearance:"primary","data-testid":"add-new-page-button",onClick:a[0]||(a[0]=s=>o("create-documentation"))},{icon:t.withCtx(()=>[t.createVNode(t.unref(qo),{size:"22"})]),default:t.withCtx(()=>[t.createTextVNode(" "+t.toDisplayString(t.unref(n).t("documentation.show.empty_state.ctaText")),1)]),_:1})]),_:1},8,["auth-function"])]),_:1})}}}),Fo={serviceDocumentationDocs:"https://docs.konghq.com/konnect/servicehub/service-documentation/#main"},Ro=e=>(t.pushScopeId("data-v-ad1a177c"),e=e(),t.popScopeId(),e),Po={class:"title"},Io={class:"subtitle"},Lo=Ro(()=>t.createElementVNode("br",null,null,-1)),$o={class:"document-inputs"},Vo={class:"page-name side-by-side"},Go={class:"url-slug side-by-side"},Oo={key:1,class:"documentation-status"},Mo={class:"action-buttons"},zo={class:"button-spacing"},Ee=ie(t.defineComponent({__name:"ProductDocumentModal",props:{actionPending:{type:Boolean,default:!1},documents:{type:Array,required:!0},editing:{type:Boolean,default:!1},errorMessage:{type:String,default:""},hidePublishToggle:{type:Boolean,default:!1},record:{type:Object,default:null}},emits:["cancel","save","delete"],setup(e,{emit:o}){const n=e,{i18n:r}=te.useI18n(),a=t.computed(()=>{var c;return(c=n.record.file)==null?void 0:c.filename}),m=t.computed(()=>{var c;return b.value?(c=b.value.name)==null?void 0:c.split(".")[0]:""}),u=t.ref(!0),s=t.computed(()=>u.value?"published":"unpublished"),d=t.reactive({fileName:"",pageName:"",urlSlug:"",status:s.value,parent:""}),y=/^[\w-]+$/,k=t.computed(()=>{var c;return d.urlSlug!==""&&!((c=d.urlSlug)!=null&&c.match(y))}),A=t.computed(()=>{var w;let c=(w=n.documents)==null?void 0:w.filter(h=>{var S;return h.record.id!==((S=n.record)==null?void 0:S.id)&&!h.record.parent_document_id}).map(h=>({label:h.record.title,value:h.record.id,selected:!1}));c||(c=[]);const f=ke(c.length);return c.push({label:r.t("documentation.form_modal.parent_document_select_option_none"),value:"none",selected:!f}),c}),N=t.computed(()=>!n.editing&&!b.value||!d.pageName||k.value),x=t.computed(()=>n.editing?r.t("documentation.form_modal.edit_title"):r.t("documentation.form_modal.create_title")),D=t.computed(()=>n.editing?r.t("documentation.form_modal.replace_file_button_text"):r.t("documentation.form_modal.filename_button_text")),v=t.computed(()=>s.value==="published"?r.t("documentation.common.published"):r.t("documentation.common.unpublished")),b=t.ref(null),_=c=>{b.value=c==null?void 0:c[0],d.pageName=m.value,d.urlSlug=m.value,d.fileName=m.value},l=()=>{b.value=null},i=()=>{o("cancel"),g()},p=()=>{o("save",Object.assign(d,{status:s.value}),b)},g=()=>{var c,f,w,h,S;if(b.value=null,n.editing&&((c=n.record)!=null&&c.document)){const C=ke(n.record),B=C.status||n.record.document.status||u.value;d.fileName=((f=C.document.file)==null?void 0:f.filename)||((h=(w=C.document.revision)==null?void 0:w.file)==null?void 0:h.filename),d.pageName=C.document.title||((S=C.document.revision)==null?void 0:S.title),d.urlSlug=C.document.slug,d.parent=C.document.parent_document_id,d.status=B,u.value=B==="published"}else d.fileName="",d.pageName="",d.urlSlug="",d.parent="",d.status=""};return t.onMounted(()=>{g()}),(c,f)=>{const w=t.resolveComponent("KExternalLink"),h=t.resolveComponent("KAlert"),S=t.resolveComponent("KFileUpload"),C=t.resolveComponent("KInput"),B=t.resolveComponent("KLabel"),W=t.resolveComponent("KInputSwitch"),X=t.resolveComponent("KSelect"),M=t.resolveComponent("KButton"),le=t.resolveComponent("KPrompt");return t.openBlock(),t.createBlock(t.Teleport,{to:"#kong-ui-app-layout-teleport-default-slot"},[t.createVNode(le,{class:"edit-document-modal","data-testid":"edit-document-modal","is-visible":"",onCanceled:i,onProceed:p},{"header-content":t.withCtx(()=>[t.createElementVNode("div",Po,[t.createTextVNode(t.toDisplayString(x.value)+" ",1),t.createElementVNode("div",Io,[t.createTextVNode(t.toDisplayString(t.unref(r).t("documentation.form_modal.subtitle"))+" ",1),Lo,t.createVNode(w,{class:"doc-link",href:t.unref(Fo).serviceDocumentationDocs},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(r).t("documentation.form_modal.documentation_link_text")),1)]),_:1},8,["href"])])])]),"body-content":t.withCtx(()=>[e.errorMessage?(t.openBlock(),t.createBlock(h,{key:0,"alert-message":e.errorMessage,appearance:"danger",class:"bottom-spacing"},null,8,["alert-message"])):t.createCommentVNode("",!0),t.createVNode(S,{accept:[".md",".markdown"],"button-text":D.value,class:"document-file-upload","data-testid":"document-file-upload",label:t.unref(r).t("documentation.form_modal.file_label"),"label-attributes":{help:t.unref(r).t("documentation.form_modal.file_tooltip")},placeholder:e.editing?a.value:void 0,onFileAdded:_,onFileRemoved:l},null,8,["accept","button-text","label","label-attributes","placeholder"]),t.createElementVNode("div",$o,[t.createElementVNode("div",Vo,[t.createVNode(C,{modelValue:d.pageName,"onUpdate:modelValue":f[0]||(f[0]=F=>d.pageName=F),modelModifiers:{trim:!0},"data-testid":"documentation-page-name",label:t.unref(r).t("documentation.form_modal.title_label"),placeholder:t.unref(r).t("documentation.form_modal.title_placeholder"),required:""},null,8,["modelValue","label","placeholder"])]),t.createElementVNode("div",Go,[t.createVNode(C,{modelValue:d.urlSlug,"onUpdate:modelValue":f[1]||(f[1]=F=>d.urlSlug=F),modelModifiers:{trim:!0},"data-testid":"documentation-url-slug","error-message":t.unref(r).t("documentation.form_modal.slug_error"),"has-error":k.value,label:t.unref(r).t("documentation.form_modal.slug_label"),pattern:y,placeholder:t.unref(r).t("documentation.form_modal.slug_placeholder")},null,8,["modelValue","error-message","has-error","label","placeholder"])])]),e.hidePublishToggle?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",Oo,[t.createElementVNode("div",null,[t.createVNode(B,null,{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(r).t("documentation.form_modal.status_label")),1)]),_:1})]),t.createVNode(W,{modelValue:u.value,"onUpdate:modelValue":f[2]||(f[2]=F=>u.value=F),"data-testid":"documentation-status",label:v.value},null,8,["modelValue","label"])])),t.createVNode(X,{modelValue:d.parent,"onUpdate:modelValue":f[3]||(f[3]=F=>d.parent=F),appearance:"select",class:"document-parent-select","data-testid":"documentation-parent","enable-filtering":"",items:A.value,label:t.unref(r).t("documentation.form_modal.parent_document_select_label"),width:"100%"},null,8,["modelValue","items","label"])]),"action-buttons":t.withCtx(()=>[t.createElementVNode("div",Mo,[e.editing?(t.openBlock(),t.createBlock(M,{key:0,appearance:"danger",class:"edit-documentation-delete-button","data-testid":"edit-documentation-delete-button",disabled:e.actionPending,onClick:f[4]||(f[4]=F=>o("delete"))},t.createSlots({default:t.withCtx(()=>[t.createTextVNode(" "+t.toDisplayString(t.unref(r).t("documentation.form_modal.delete_button_text")),1)]),_:2},[e.actionPending?{name:"icon",fn:t.withCtx(()=>[t.createVNode(t.unref(qe),{size:"16"})]),key:"0"}:void 0]),1032,["disabled"])):t.createCommentVNode("",!0),t.createElementVNode("div",zo,[t.createVNode(M,{appearance:"secondary",class:"edit-documentation-cancel-button","data-testid":"edit-documentation-cancel-button",onClick:i},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(r).t("documentation.form_modal.cancel_button_text")),1)]),_:1}),t.createVNode(M,{appearance:"primary","data-testid":"edit-documentation-save-button",disabled:e.actionPending||N.value,onClick:p},t.createSlots({default:t.withCtx(()=>[t.createTextVNode(" "+t.toDisplayString(t.unref(r).t("documentation.form_modal.save_button_text")),1)]),_:2},[e.actionPending?{name:"icon",fn:t.withCtx(()=>[t.createVNode(t.unref(qe),{size:"16"})]),key:"0"}:void 0]),1032,["disabled"])])])]),_:1})])}}}),[["__scopeId","data-v-ad1a177c"]]),Ho={class:"documentation"},Ko={class:"documentation-parent-container"},Uo=ie(t.defineComponent({__name:"DocumentationContent",props:{actionPending:{type:Boolean,default:!1},actionSuccess:{type:Boolean,default:!1},cacheKey:{type:Number,default:0},canEdit:{type:Function,required:!1,default:async()=>!1},card:{type:Boolean,default:!1},documentList:{type:Array,required:!0},entityId:{type:String,required:!0},hidePublishToggle:{type:Boolean,default:!1},modalErrorMessage:{type:String,default:""},selectedDocument:{type:Object,default:()=>null}},emits:["child-change","delete","edit","document-selection","modal-closed","parent-change","save","toggle-published"],setup(e,{emit:o}){const n=e,r=t.ref(!1),a=t.ref(!1);t.watch(()=>n.actionSuccess,y=>{y&&d()});const m=t.computed(()=>{var y,k;return`data-display-${n.cacheKey}-${((k=(y=n.selectedDocument)==null?void 0:y.document)==null?void 0:k.id)||""}`}),u=()=>{a.value=!1,r.value=!0},s=()=>{a.value=!0,r.value=!0,o("edit")},d=()=>{r.value=!1,o("modal-closed")};return(y,k)=>{const A=t.resolveComponent("KTreeList"),N=t.resolveComponent("KCard");return t.openBlock(),t.createElementBlock("div",Ho,[e.documentList&&!e.documentList.length?(t.openBlock(),t.createBlock(Te,{key:0,"can-edit":e.canEdit,onCreateDocumentation:u},null,8,["can-edit"])):(t.openBlock(),t.createBlock(N,{key:1,class:"documentation-card"},{default:t.withCtx(()=>[t.createElementVNode("div",Ko,[(t.openBlock(),t.createBlock(A,{key:`tree-list-${e.cacheKey}`,class:"document-tree-list",items:e.documentList,"max-depth":2,onChange:k[0]||(k[0]=x=>o("parent-change",x)),onChildChange:k[1]||(k[1]=x=>o("child-change",x)),onSelected:k[2]||(k[2]=x=>o("document-selection",x))},null,8,["items"])),e.selectedDocument?(t.openBlock(),t.createBlock(De,{key:m.value,"can-edit":e.canEdit,card:e.card,class:"document-holder","hide-publish-toggle":e.hidePublishToggle,"selected-document":e.selectedDocument,onAdd:u,onEdit:s,onTogglePublished:k[3]||(k[3]=x=>o("toggle-published",x))},null,8,["can-edit","card","hide-publish-toggle","selected-document"])):t.createCommentVNode("",!0)])]),_:1})),r.value?(t.openBlock(),t.createBlock(Ee,{key:2,"action-pending":e.actionPending,documents:e.documentList,editing:a.value,"error-message":e.modalErrorMessage,"hide-publish-toggle":e.hidePublishToggle,record:a.value&&e.selectedDocument?e.selectedDocument:void 0,onCancel:d,onDelete:k[4]||(k[4]=x=>o("delete")),onSave:k[5]||(k[5]=(x,D)=>o("save",x,D))},null,8,["action-pending","documents","editing","error-message","hide-publish-toggle","record"])):t.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-28dad1b5"]]);j.DocumentationContent=Uo,j.DocumentationDisplay=De,j.DocumentationPageEmptyState=Te,j.ProductDocumentModal=Ee,Object.defineProperty(j,Symbol.toStringTag,{value:"Module"})});
12
+ `+e.mark.snippet),a+" "+n):a}function O(e,o){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=o,this.message=ye(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}O.prototype=Object.create(Error.prototype),O.prototype.constructor=O,O.prototype.toString=function(e){return this.name+": "+ye(this,e)};var L=O,rn=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],an=["scalar","sequence","mapping"];function ln(e){var o={};return e!==null&&Object.keys(e).forEach(function(n){e[n].forEach(function(a){o[String(a)]=n})}),o}function sn(e,o){if(o=o||{},Object.keys(o).forEach(function(n){if(rn.indexOf(n)===-1)throw new L('Unknown option "'+n+'" is met in definition of "'+e+'" YAML type.')}),this.options=o,this.tag=e,this.kind=o.kind||null,this.resolve=o.resolve||function(){return!0},this.construct=o.construct||function(n){return n},this.instanceOf=o.instanceOf||null,this.predicate=o.predicate||null,this.represent=o.represent||null,this.representName=o.representName||null,this.defaultStyle=o.defaultStyle||null,this.multi=o.multi||!1,this.styleAliases=ln(o.styleAliases||null),an.indexOf(this.kind)===-1)throw new L('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var E=sn;function xe(e,o){var n=[];return e[o].forEach(function(a){var r=n.length;n.forEach(function(d,c){d.tag===a.tag&&d.kind===a.kind&&d.multi===a.multi&&(r=c)}),n[r]=a}),n}function cn(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},o,n;function a(r){r.multi?(e.multi[r.kind].push(r),e.multi.fallback.push(r)):e[r.kind][r.tag]=e.fallback[r.tag]=r}for(o=0,n=arguments.length;o<n;o+=1)arguments[o].forEach(a);return e}function re(e){return this.extend(e)}re.prototype.extend=function(e){var o=[],n=[];if(e instanceof E)n.push(e);else if(Array.isArray(e))n=n.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(o=o.concat(e.implicit)),e.explicit&&(n=n.concat(e.explicit));else throw new L("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");o.forEach(function(r){if(!(r instanceof E))throw new L("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(r.loadKind&&r.loadKind!=="scalar")throw new L("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(r.multi)throw new L("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),n.forEach(function(r){if(!(r instanceof E))throw new L("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var a=Object.create(re.prototype);return a.implicit=(this.implicit||[]).concat(o),a.explicit=(this.explicit||[]).concat(n),a.compiledImplicit=xe(a,"implicit"),a.compiledExplicit=xe(a,"explicit"),a.compiledTypeMap=cn(a.compiledImplicit,a.compiledExplicit),a};var un=re,dn=new E("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}}),pn=new E("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}}),mn=new E("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}}),gn=new un({explicit:[dn,pn,mn]});function fn(e){if(e===null)return!0;var o=e.length;return o===1&&e==="~"||o===4&&(e==="null"||e==="Null"||e==="NULL")}function hn(){return null}function wn(e){return e===null}var kn=new E("tag:yaml.org,2002:null",{kind:"scalar",resolve:fn,construct:hn,predicate:wn,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function bn(e){if(e===null)return!1;var o=e.length;return o===4&&(e==="true"||e==="True"||e==="TRUE")||o===5&&(e==="false"||e==="False"||e==="FALSE")}function yn(e){return e==="true"||e==="True"||e==="TRUE"}function xn(e){return Object.prototype.toString.call(e)==="[object Boolean]"}var Sn=new E("tag:yaml.org,2002:bool",{kind:"scalar",resolve:bn,construct:yn,predicate:xn,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"});function vn(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function Cn(e){return 48<=e&&e<=55}function _n(e){return 48<=e&&e<=57}function Dn(e){if(e===null)return!1;var o=e.length,n=0,a=!1,r;if(!o)return!1;if(r=e[n],(r==="-"||r==="+")&&(r=e[++n]),r==="0"){if(n+1===o)return!0;if(r=e[++n],r==="b"){for(n++;n<o;n++)if(r=e[n],r!=="_"){if(r!=="0"&&r!=="1")return!1;a=!0}return a&&r!=="_"}if(r==="x"){for(n++;n<o;n++)if(r=e[n],r!=="_"){if(!vn(e.charCodeAt(n)))return!1;a=!0}return a&&r!=="_"}if(r==="o"){for(n++;n<o;n++)if(r=e[n],r!=="_"){if(!Cn(e.charCodeAt(n)))return!1;a=!0}return a&&r!=="_"}}if(r==="_")return!1;for(;n<o;n++)if(r=e[n],r!=="_"){if(!_n(e.charCodeAt(n)))return!1;a=!0}return!(!a||r==="_")}function An(e){var o=e,n=1,a;if(o.indexOf("_")!==-1&&(o=o.replace(/_/g,"")),a=o[0],(a==="-"||a==="+")&&(a==="-"&&(n=-1),o=o.slice(1),a=o[0]),o==="0")return 0;if(a==="0"){if(o[1]==="b")return n*parseInt(o.slice(2),2);if(o[1]==="x")return n*parseInt(o.slice(2),16);if(o[1]==="o")return n*parseInt(o.slice(2),8)}return n*parseInt(o,10)}function Nn(e){return Object.prototype.toString.call(e)==="[object Number]"&&e%1===0&&!oe.isNegativeZero(e)}var qn=new E("tag:yaml.org,2002:int",{kind:"scalar",resolve:Dn,construct:An,predicate:Nn,represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Tn=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function En(e){return!(e===null||!Tn.test(e)||e[e.length-1]==="_")}function Bn(e){var o,n;return o=e.replace(/_/g,"").toLowerCase(),n=o[0]==="-"?-1:1,"+-".indexOf(o[0])>=0&&(o=o.slice(1)),o===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:o===".nan"?NaN:n*parseFloat(o,10)}var jn=/^[-+]?[0-9]+e/;function Fn(e,o){var n;if(isNaN(e))switch(o){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(o){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(o){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(oe.isNegativeZero(e))return"-0.0";return n=e.toString(10),jn.test(n)?n.replace("e",".e"):n}function Rn(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||oe.isNegativeZero(e))}var Pn=new E("tag:yaml.org,2002:float",{kind:"scalar",resolve:En,construct:Bn,predicate:Rn,represent:Fn,defaultStyle:"lowercase"}),In=gn.extend({implicit:[kn,Sn,qn,Pn]}),Ln=In,Se=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),ve=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function $n(e){return e===null?!1:Se.exec(e)!==null||ve.exec(e)!==null}function Vn(e){var o,n,a,r,d,c,s,f=0,w=null,C,y,N;if(o=Se.exec(e),o===null&&(o=ve.exec(e)),o===null)throw new Error("Date resolve error");if(n=+o[1],a=+o[2]-1,r=+o[3],!o[4])return new Date(Date.UTC(n,a,r));if(d=+o[4],c=+o[5],s=+o[6],o[7]){for(f=o[7].slice(0,3);f.length<3;)f+="0";f=+f}return o[9]&&(C=+o[10],y=+(o[11]||0),w=(C*60+y)*6e4,o[9]==="-"&&(w=-w)),N=new Date(Date.UTC(n,a,r,d,c,s,f)),w&&N.setTime(N.getTime()-w),N}function Gn(e){return e.toISOString()}var On=new E("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:$n,construct:Vn,instanceOf:Date,represent:Gn});function Mn(e){return e==="<<"||e===null}var zn=new E("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Mn}),ae=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
13
+ \r`;function Hn(e){if(e===null)return!1;var o,n,a=0,r=e.length,d=ae;for(n=0;n<r;n++)if(o=d.indexOf(e.charAt(n)),!(o>64)){if(o<0)return!1;a+=6}return a%8===0}function Kn(e){var o,n,a=e.replace(/[\r\n=]/g,""),r=a.length,d=ae,c=0,s=[];for(o=0;o<r;o++)o%4===0&&o&&(s.push(c>>16&255),s.push(c>>8&255),s.push(c&255)),c=c<<6|d.indexOf(a.charAt(o));return n=r%4*6,n===0?(s.push(c>>16&255),s.push(c>>8&255),s.push(c&255)):n===18?(s.push(c>>10&255),s.push(c>>2&255)):n===12&&s.push(c>>4&255),new Uint8Array(s)}function Un(e){var o="",n=0,a,r,d=e.length,c=ae;for(a=0;a<d;a++)a%3===0&&a&&(o+=c[n>>18&63],o+=c[n>>12&63],o+=c[n>>6&63],o+=c[n&63]),n=(n<<8)+e[a];return r=d%3,r===0?(o+=c[n>>18&63],o+=c[n>>12&63],o+=c[n>>6&63],o+=c[n&63]):r===2?(o+=c[n>>10&63],o+=c[n>>4&63],o+=c[n<<2&63],o+=c[64]):r===1&&(o+=c[n>>2&63],o+=c[n<<4&63],o+=c[64],o+=c[64]),o}function Jn(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var Wn=new E("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Hn,construct:Kn,predicate:Jn,represent:Un}),Qn=Object.prototype.hasOwnProperty,Xn=Object.prototype.toString;function Zn(e){if(e===null)return!0;var o=[],n,a,r,d,c,s=e;for(n=0,a=s.length;n<a;n+=1){if(r=s[n],c=!1,Xn.call(r)!=="[object Object]")return!1;for(d in r)if(Qn.call(r,d))if(!c)c=!0;else return!1;if(!c)return!1;if(o.indexOf(d)===-1)o.push(d);else return!1}return!0}function Yn(e){return e!==null?e:[]}var eo=new E("tag:yaml.org,2002:omap",{kind:"sequence",resolve:Zn,construct:Yn}),to=Object.prototype.toString;function no(e){if(e===null)return!0;var o,n,a,r,d,c=e;for(d=new Array(c.length),o=0,n=c.length;o<n;o+=1){if(a=c[o],to.call(a)!=="[object Object]"||(r=Object.keys(a),r.length!==1))return!1;d[o]=[r[0],a[r[0]]]}return!0}function oo(e){if(e===null)return[];var o,n,a,r,d,c=e;for(d=new Array(c.length),o=0,n=c.length;o<n;o+=1)a=c[o],r=Object.keys(a),d[o]=[r[0],a[r[0]]];return d}var ro=new E("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:no,construct:oo}),ao=Object.prototype.hasOwnProperty;function io(e){if(e===null)return!0;var o,n=e;for(o in n)if(ao.call(n,o)&&n[o]!==null)return!1;return!0}function lo(e){return e!==null?e:{}}var so=new E("tag:yaml.org,2002:set",{kind:"mapping",resolve:io,construct:lo});Ln.extend({implicit:[On,zn],explicit:[Wn,eo,ro,so]});function Ce(e){return e===48?"\0":e===97?"\x07":e===98?"\b":e===116||e===9?" ":e===110?`
14
+ `:e===118?"\v":e===102?"\f":e===114?"\r":e===101?"\x1B":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"…":e===95?" ":e===76?"\u2028":e===80?"\u2029":""}for(var co=new Array(256),uo=new Array(256),V=0;V<256;V++)co[V]=Ce(V)?1:0,uo[V]=Ce(V);const _e=t.defineComponent({__name:"PermissionsWrapper",props:{authFunction:{type:Function,required:!0,default:async()=>!0},forceShow:{type:Boolean,default:!1}},setup(e){const o=e,n=t.ref(void 0),a=t.computed(()=>n.value===!0||n.value!==void 0&&o.forceShow===!0);return t.watch(()=>o.authFunction,async()=>{n.value=await o.authFunction()},{immediate:!0}),(r,d)=>a.value?t.renderSlot(r.$slots,"default",{key:0,isAllowed:n.value}):t.createCommentVNode("",!0)}}),po=e=>(t.pushScopeId("data-v-cb31890c"),e=e(),t.popScopeId(),e),mo={class:"documentation-display"},go={class:"document-meta"},fo={class:"document-title meta-section"},ho=po(()=>t.createElementVNode("span",{class:"document-title-extension"},"md",-1)),wo={key:0,class:"document-status meta-section"},ko={class:"meta-label"},bo={key:1,class:"document-create meta-section"},yo={class:"meta-label"},xo={class:"document-display-actions"},So={key:0,class:"markdown-content-loading","data-testid":"markdown-content-loading"},vo={key:1},Co=t.defineComponent({__name:"DocumentationDisplay",props:{canEdit:{type:Function,required:!1,default:async()=>!1},card:{type:Boolean,default:!1},hidePublishToggle:{type:Boolean,default:!1},selectedDocument:{type:Object,default:()=>null}},emits:["add","edit","toggle-published"],setup(e,{emit:o}){const n=e,a=o,{i18n:r}=te.useI18n(),d=t.ref(!0),c=t.computed(()=>{var x,b,S,_,i;return((b=(x=n.selectedDocument)==null?void 0:x.document)==null?void 0:b.title)||((i=(_=(S=n.selectedDocument)==null?void 0:S.document)==null?void 0:_.revision)==null?void 0:i.title)||""}),s=t.computed(()=>""),f=t.ref(!1),w=t.ref(r.t("documentation.common.unpublished")),C=t.ref(null);t.watch(()=>n.selectedDocument,x=>{var b;Kt(x)||(n.hidePublishToggle||N((b=x.document)==null?void 0:b.status),x.ast&&B())},{deep:!0});const y=()=>{const x=!f.value;a("toggle-published",x),f.value=x,w.value=x?r.t("documentation.common.published"):r.t("documentation.common.unpublished")},N=x=>{x==="published"?(f.value=!0,w.value=r.t("documentation.common.published")):(f.value=!1,w.value=r.t("documentation.common.unpublished"))},B=()=>{C.value={children:n.selectedDocument.ast,type:"document",version:1},d.value=!1};return(x,b)=>{const S=t.resolveComponent("KBadge"),_=t.resolveComponent("KInputSwitch"),i=t.resolveComponent("KButton"),l=t.resolveComponent("KSkeleton");return t.openBlock(),t.createElementBlock("div",mo,[t.createElementVNode("div",go,[t.createElementVNode("div",fo,[t.renderSlot(x.$slots,"document-title",{},()=>[t.createElementVNode("span",null,t.toDisplayString(c.value),1),t.createTextVNode("."),ho],!0)]),e.hidePublishToggle?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",wo,[t.createElementVNode("span",ko,t.toDisplayString(t.unref(r).t("documentation.documentation_display.status_label")),1),f.value?(t.openBlock(),t.createBlock(S,{key:0,appearance:"success"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(r).t("documentation.common.published")),1)]),_:1})):(t.openBlock(),t.createBlock(S,{key:1,appearance:"neutral"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(r).t("documentation.common.unpublished")),1)]),_:1}))])),s.value?(t.openBlock(),t.createElementBlock("div",bo,[t.createElementVNode("span",yo,t.toDisplayString(t.unref(r).t("documentation.documentation_display.added_label")),1),t.createVNode(S,{appearance:"neutral"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(s.value),1)]),_:1})])):t.createCommentVNode("",!0),t.createElementVNode("div",xo,[t.createVNode(t.unref(_e),{"auth-function":()=>e.canEdit()},{default:t.withCtx(()=>[!e.hidePublishToggle&&!e.card?(t.openBlock(),t.createBlock(_,{key:0,modelValue:f.value,"onUpdate:modelValue":b[0]||(b[0]=u=>f.value=u),class:"document-publish-toggle","data-testid":"document-publish-toggle",label:w.value,"label-before":"",onClick:y},null,8,["modelValue","label"])):t.createCommentVNode("",!0),t.createVNode(i,{appearance:"secondary",class:"document-edit-button","data-testid":"document-edit-button",size:"small",onClick:b[1]||(b[1]=u=>a("edit"))},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(r).t("documentation.documentation_display.edit_button")),1)]),_:1}),t.createVNode(i,{appearance:"primary","data-testid":"add-new-page-button",size:"small",onClick:b[2]||(b[2]=u=>a("add"))},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(r).t("documentation.documentation_display.add_new")),1)]),_:1})]),_:1},8,["auth-function"])])]),d.value?(t.openBlock(),t.createElementBlock("div",So,[e.card?(t.openBlock(),t.createBlock(l,{key:1,type:"card"})):(t.openBlock(),t.createBlock(l,{key:0,class:"markdown-content-loader"}))])):(t.openBlock(),t.createElementBlock("div",vo,[t.createElementVNode("div",{class:t.normalizeClass(["document-content",{"content-card-view":e.card}])},[C.value?(t.openBlock(),t.createBlock(t.unref(Ht),{key:0,document:C.value},null,8,["document"])):t.createCommentVNode("",!0)],2)]))])}}}),ie=(e,o)=>{const n=e.__vccOpts||e;for(const[a,r]of o)n[a]=r;return n},De=ie(Co,[["__scopeId","data-v-cb31890c"]]),J="24px",Ae=(e,o)=>{const n=e.__vccOpts||e;for(const[a,r]of o)n[a]=r;return n},_o=e=>(t.pushScopeId("data-v-97c8c2aa"),e=e(),t.popScopeId(),e),Do=["aria-hidden"],Ao={key:0,"data-testid":"kui-icon-svg-title"},No=_o(()=>t.createElementVNode("path",{d:"M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",fill:"currentColor"},null,-1)),qo=Ae(t.defineComponent({__name:"AddIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:J,validator:e=>{if(typeof e=="number"&&e>0)return!0;if(typeof e=="string"){const o=String(e).replace(/px/gi,""),n=Number(o);if(n&&!isNaN(n)&&Number.isInteger(n)&&n>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(e){const o=e,n=t.computed(()=>{if(typeof o.size=="number"&&o.size>0)return`${o.size}px`;if(typeof o.size=="string"){const r=String(o.size).replace(/px/gi,""),d=Number(r);if(d&&!isNaN(d)&&Number.isInteger(d)&&d>0)return`${d}px`}return J}),a=t.computed(()=>({boxSizing:"border-box",color:o.color,display:o.display,height:n.value,lineHeight:"0",width:n.value}));return(r,d)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.as),{"aria-hidden":e.decorative?"true":void 0,class:"kui-icon add-icon","data-testid":"kui-icon-wrapper-add-icon",style:t.normalizeStyle(a.value)},{default:t.withCtx(()=>[(t.openBlock(),t.createElementBlock("svg",{"aria-hidden":e.decorative?"true":void 0,"data-testid":"kui-icon-svg-add-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[e.title?(t.openBlock(),t.createElementBlock("title",Ao,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),No],8,Do))]),_:1},8,["aria-hidden","style"]))}}),[["__scopeId","data-v-97c8c2aa"]]),Ne=e=>(t.pushScopeId("data-v-336ae8cf"),e=e(),t.popScopeId(),e),To=["aria-hidden"],Eo={key:0,"data-testid":"kui-icon-svg-title"},Bo=Ne(()=>t.createElementVNode("path",{d:"M12 22C10.6333 22 9.34167 21.7375 8.125 21.2125C6.90833 20.6875 5.84583 19.9708 4.9375 19.0625C4.02917 18.1542 3.3125 17.0917 2.7875 15.875C2.2625 14.6583 2 13.3667 2 12C2 10.6167 2.2625 9.32083 2.7875 8.1125C3.3125 6.90417 4.02917 5.84583 4.9375 4.9375C5.84583 4.02917 6.90833 3.3125 8.125 2.7875C9.34167 2.2625 10.6333 2 12 2C12.2833 2 12.5208 2.09583 12.7125 2.2875C12.9042 2.47917 13 2.71667 13 3C13 3.28333 12.9042 3.52083 12.7125 3.7125C12.5208 3.90417 12.2833 4 12 4C9.78333 4 7.89583 4.77917 6.3375 6.3375C4.77917 7.89583 4 9.78333 4 12C4 14.2167 4.77917 16.1042 6.3375 17.6625C7.89583 19.2208 9.78333 20 12 20C14.2167 20 16.1042 19.2208 17.6625 17.6625C19.2208 16.1042 20 14.2167 20 12C20 11.7167 20.0958 11.4792 20.2875 11.2875C20.4792 11.0958 20.7167 11 21 11C21.2833 11 21.5208 11.0958 21.7125 11.2875C21.9042 11.4792 22 11.7167 22 12C22 13.3667 21.7375 14.6583 21.2125 15.875C20.6875 17.0917 19.9708 18.1542 19.0625 19.0625C18.1542 19.9708 17.0958 20.6875 15.8875 21.2125C14.6792 21.7375 13.3833 22 12 22Z",fill:"currentColor","transform-origin":"center"},null,-1)),jo=Ne(()=>t.createElementVNode("animateTransform",{attributeName:"transform",attributeType:"XML",dur:"1.5s",from:"0",repeatCount:"indefinite",to:"360",type:"rotate"},null,-1)),qe=Ae(t.defineComponent({__name:"ProgressIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:J,validator:e=>{if(typeof e=="number"&&e>0)return!0;if(typeof e=="string"){const o=String(e).replace(/px/gi,""),n=Number(o);if(n&&!isNaN(n)&&Number.isInteger(n)&&n>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(e){const o=e,n=t.computed(()=>{if(typeof o.size=="number"&&o.size>0)return`${o.size}px`;if(typeof o.size=="string"){const r=String(o.size).replace(/px/gi,""),d=Number(r);if(d&&!isNaN(d)&&Number.isInteger(d)&&d>0)return`${d}px`}return J}),a=t.computed(()=>({boxSizing:"border-box",color:o.color,display:o.display,height:n.value,lineHeight:"0",width:n.value}));return(r,d)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.as),{"aria-hidden":e.decorative?"true":void 0,class:"kui-icon progress-icon","data-testid":"kui-icon-wrapper-progress-icon",style:t.normalizeStyle(a.value)},{default:t.withCtx(()=>[(t.openBlock(),t.createElementBlock("svg",{"aria-hidden":e.decorative?"true":void 0,"data-testid":"kui-icon-svg-progress-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[e.title?(t.openBlock(),t.createElementBlock("title",Eo,t.toDisplayString(e.title),1)):t.createCommentVNode("",!0),Bo,jo],8,To))]),_:1},8,["aria-hidden","style"]))}}),[["__scopeId","data-v-336ae8cf"]]),Te=t.defineComponent({__name:"DocumentationPageEmptyState",props:{canEdit:{type:Function,required:!1,default:async()=>!1}},emits:["create-documentation"],setup(e,{emit:o}){const n=o,{i18n:a}=te.useI18n();return(r,d)=>{const c=t.resolveComponent("KButton"),s=t.resolveComponent("KEmptyState");return t.openBlock(),t.createBlock(s,{class:"documentation-page-empty-state","data-testid":"documentation-page-empty-state",icon:"stateGruceo","icon-size":"96"},{title:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(a).t("documentation.show.empty_state.title")),1)]),message:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(a).t("documentation.show.empty_state.message")),1)]),cta:t.withCtx(()=>[t.createVNode(t.unref(_e),{"auth-function":()=>e.canEdit()},{default:t.withCtx(()=>[t.createVNode(c,{appearance:"primary","data-testid":"add-new-page-button",onClick:d[0]||(d[0]=f=>n("create-documentation"))},{icon:t.withCtx(()=>[t.createVNode(t.unref(qo),{size:"22"})]),default:t.withCtx(()=>[t.createTextVNode(" "+t.toDisplayString(t.unref(a).t("documentation.show.empty_state.ctaText")),1)]),_:1})]),_:1},8,["auth-function"])]),_:1})}}}),Fo={serviceDocumentationDocs:"https://docs.konghq.com/konnect/servicehub/service-documentation/#main"},Ro=e=>(t.pushScopeId("data-v-ad1a177c"),e=e(),t.popScopeId(),e),Po={class:"title"},Io={class:"subtitle"},Lo=Ro(()=>t.createElementVNode("br",null,null,-1)),$o={class:"document-inputs"},Vo={class:"page-name side-by-side"},Go={class:"url-slug side-by-side"},Oo={key:1,class:"documentation-status"},Mo={class:"action-buttons"},zo={class:"button-spacing"},Ee=ie(t.defineComponent({__name:"ProductDocumentModal",props:{actionPending:{type:Boolean,default:!1},documents:{type:Array,required:!0},editing:{type:Boolean,default:!1},errorMessage:{type:String,default:""},hidePublishToggle:{type:Boolean,default:!1},record:{type:Object,default:null}},emits:["cancel","save","delete"],setup(e,{emit:o}){const n=e,a=o,{i18n:r}=te.useI18n(),d=t.computed(()=>{var g;return(g=n.record.file)==null?void 0:g.filename}),c=t.computed(()=>{var g;return _.value?(g=_.value.name)==null?void 0:g.split(".")[0]:""}),s=t.ref(!0),f=t.computed(()=>s.value?"published":"unpublished"),w=t.reactive({fileName:"",pageName:"",urlSlug:"",status:f.value,parent:""}),C=/^[\w-]+$/,y=t.computed(()=>{var g;return w.urlSlug!==""&&!((g=w.urlSlug)!=null&&g.match(C))}),N=t.computed(()=>{var h;let g=(h=n.documents)==null?void 0:h.filter(v=>{var A;return v.record.id!==((A=n.record)==null?void 0:A.id)&&!v.record.parent_document_id}).map(v=>({label:v.record.title,value:v.record.id,selected:!1}));g||(g=[]);const k=ke(g.length);return g.push({label:r.t("documentation.form_modal.parent_document_select_option_none"),value:"none",selected:!k}),g}),B=t.computed(()=>!n.editing&&!_.value||!w.pageName||y.value),x=t.computed(()=>n.editing?r.t("documentation.form_modal.edit_title"):r.t("documentation.form_modal.create_title")),b=t.computed(()=>n.editing?r.t("documentation.form_modal.replace_file_button_text"):r.t("documentation.form_modal.filename_button_text")),S=t.computed(()=>f.value==="published"?r.t("documentation.common.published"):r.t("documentation.common.unpublished")),_=t.ref(null),i=g=>{_.value=g==null?void 0:g[0],w.pageName=c.value,w.urlSlug=c.value,w.fileName=c.value},l=()=>{_.value=null},u=()=>{a("cancel"),m()},p=()=>{a("save",Object.assign(w,{status:f.value}),_)},m=()=>{var g,k,h,v,A;if(_.value=null,n.editing&&((g=n.record)!=null&&g.document)){const q=ke(n.record),$=q.status||n.record.document.status||s.value;w.fileName=((k=q.document.file)==null?void 0:k.filename)||((v=(h=q.document.revision)==null?void 0:h.file)==null?void 0:v.filename),w.pageName=q.document.title||((A=q.document.revision)==null?void 0:A.title),w.urlSlug=q.document.slug,w.parent=q.document.parent_document_id,w.status=$,s.value=$==="published"}else w.fileName="",w.pageName="",w.urlSlug="",w.parent="",w.status=""};return t.onMounted(()=>{m()}),(g,k)=>{const h=t.resolveComponent("KExternalLink"),v=t.resolveComponent("KAlert"),A=t.resolveComponent("KFileUpload"),q=t.resolveComponent("KInput"),$=t.resolveComponent("KLabel"),W=t.resolveComponent("KInputSwitch"),le=t.resolveComponent("KSelect"),M=t.resolveComponent("KButton"),Q=t.resolveComponent("KPrompt");return t.openBlock(),t.createBlock(t.Teleport,{to:"#kong-ui-app-layout-teleport-default-slot"},[t.createVNode(Q,{class:"edit-document-modal","data-testid":"edit-document-modal","is-visible":"",onCanceled:u,onProceed:p},{"header-content":t.withCtx(()=>[t.createElementVNode("div",Po,[t.createTextVNode(t.toDisplayString(x.value)+" ",1),t.createElementVNode("div",Io,[t.createTextVNode(t.toDisplayString(t.unref(r).t("documentation.form_modal.subtitle"))+" ",1),Lo,t.createVNode(h,{class:"doc-link",href:t.unref(Fo).serviceDocumentationDocs},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(r).t("documentation.form_modal.documentation_link_text")),1)]),_:1},8,["href"])])])]),"body-content":t.withCtx(()=>[e.errorMessage?(t.openBlock(),t.createBlock(v,{key:0,"alert-message":e.errorMessage,appearance:"danger",class:"bottom-spacing"},null,8,["alert-message"])):t.createCommentVNode("",!0),t.createVNode(A,{accept:[".md",".markdown"],"button-text":b.value,class:"document-file-upload","data-testid":"document-file-upload",label:t.unref(r).t("documentation.form_modal.file_label"),"label-attributes":{help:t.unref(r).t("documentation.form_modal.file_tooltip")},placeholder:e.editing?d.value:void 0,onFileAdded:i,onFileRemoved:l},null,8,["accept","button-text","label","label-attributes","placeholder"]),t.createElementVNode("div",$o,[t.createElementVNode("div",Vo,[t.createVNode(q,{modelValue:w.pageName,"onUpdate:modelValue":k[0]||(k[0]=D=>w.pageName=D),modelModifiers:{trim:!0},"data-testid":"documentation-page-name",label:t.unref(r).t("documentation.form_modal.title_label"),placeholder:t.unref(r).t("documentation.form_modal.title_placeholder"),required:""},null,8,["modelValue","label","placeholder"])]),t.createElementVNode("div",Go,[t.createVNode(q,{modelValue:w.urlSlug,"onUpdate:modelValue":k[1]||(k[1]=D=>w.urlSlug=D),modelModifiers:{trim:!0},"data-testid":"documentation-url-slug","error-message":t.unref(r).t("documentation.form_modal.slug_error"),"has-error":y.value,label:t.unref(r).t("documentation.form_modal.slug_label"),pattern:C,placeholder:t.unref(r).t("documentation.form_modal.slug_placeholder")},null,8,["modelValue","error-message","has-error","label","placeholder"])])]),e.hidePublishToggle?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",Oo,[t.createElementVNode("div",null,[t.createVNode($,null,{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(r).t("documentation.form_modal.status_label")),1)]),_:1})]),t.createVNode(W,{modelValue:s.value,"onUpdate:modelValue":k[2]||(k[2]=D=>s.value=D),"data-testid":"documentation-status",label:S.value},null,8,["modelValue","label"])])),t.createVNode(le,{modelValue:w.parent,"onUpdate:modelValue":k[3]||(k[3]=D=>w.parent=D),appearance:"select",class:"document-parent-select","data-testid":"documentation-parent","enable-filtering":"",items:N.value,label:t.unref(r).t("documentation.form_modal.parent_document_select_label"),width:"100%"},null,8,["modelValue","items","label"])]),"action-buttons":t.withCtx(()=>[t.createElementVNode("div",Mo,[e.editing?(t.openBlock(),t.createBlock(M,{key:0,appearance:"danger",class:"edit-documentation-delete-button","data-testid":"edit-documentation-delete-button",disabled:e.actionPending,onClick:k[4]||(k[4]=D=>a("delete"))},t.createSlots({default:t.withCtx(()=>[t.createTextVNode(" "+t.toDisplayString(t.unref(r).t("documentation.form_modal.delete_button_text")),1)]),_:2},[e.actionPending?{name:"icon",fn:t.withCtx(()=>[t.createVNode(t.unref(qe),{size:"16"})]),key:"0"}:void 0]),1032,["disabled"])):t.createCommentVNode("",!0),t.createElementVNode("div",zo,[t.createVNode(M,{appearance:"secondary",class:"edit-documentation-cancel-button","data-testid":"edit-documentation-cancel-button",onClick:u},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(r).t("documentation.form_modal.cancel_button_text")),1)]),_:1}),t.createVNode(M,{appearance:"primary","data-testid":"edit-documentation-save-button",disabled:e.actionPending||B.value,onClick:p},t.createSlots({default:t.withCtx(()=>[t.createTextVNode(" "+t.toDisplayString(t.unref(r).t("documentation.form_modal.save_button_text")),1)]),_:2},[e.actionPending?{name:"icon",fn:t.withCtx(()=>[t.createVNode(t.unref(qe),{size:"16"})]),key:"0"}:void 0]),1032,["disabled"])])])]),_:1})])}}}),[["__scopeId","data-v-ad1a177c"]]),Ho={class:"documentation"},Ko={class:"documentation-parent-container"},Uo=ie(t.defineComponent({__name:"DocumentationContent",props:{actionPending:{type:Boolean,default:!1},actionSuccess:{type:Boolean,default:!1},cacheKey:{type:Number,default:0},canEdit:{type:Function,required:!1,default:async()=>!1},card:{type:Boolean,default:!1},documentList:{type:Array,required:!0},entityId:{type:String,required:!0},hidePublishToggle:{type:Boolean,default:!1},modalErrorMessage:{type:String,default:""},selectedDocument:{type:Object,default:()=>null}},emits:["child-change","delete","edit","document-selection","modal-closed","parent-change","save","toggle-published"],setup(e,{emit:o}){const n=o,a=t.ref(!1),r=t.ref(!1),d=e;t.watch(()=>d.actionSuccess,C=>{C&&w()});const c=t.computed(()=>{var C,y;return`data-display-${d.cacheKey}-${((y=(C=d.selectedDocument)==null?void 0:C.document)==null?void 0:y.id)||""}`}),s=()=>{r.value=!1,a.value=!0},f=()=>{r.value=!0,a.value=!0,n("edit")},w=()=>{a.value=!1,n("modal-closed")};return(C,y)=>{const N=t.resolveComponent("KTreeList"),B=t.resolveComponent("KCard");return t.openBlock(),t.createElementBlock("div",Ho,[e.documentList&&!e.documentList.length?(t.openBlock(),t.createBlock(Te,{key:0,"can-edit":e.canEdit,onCreateDocumentation:s},null,8,["can-edit"])):(t.openBlock(),t.createBlock(B,{key:1,class:"documentation-card"},{default:t.withCtx(()=>[t.createElementVNode("div",Ko,[(t.openBlock(),t.createBlock(N,{key:`tree-list-${e.cacheKey}`,class:"document-tree-list",items:e.documentList,"max-depth":2,onChange:y[0]||(y[0]=x=>n("parent-change",x)),onChildChange:y[1]||(y[1]=x=>n("child-change",x)),onSelected:y[2]||(y[2]=x=>n("document-selection",x))},null,8,["items"])),e.selectedDocument?(t.openBlock(),t.createBlock(De,{key:c.value,"can-edit":e.canEdit,card:e.card,class:"document-holder","hide-publish-toggle":e.hidePublishToggle,"selected-document":e.selectedDocument,onAdd:s,onEdit:f,onTogglePublished:y[3]||(y[3]=x=>n("toggle-published",x))},null,8,["can-edit","card","hide-publish-toggle","selected-document"])):t.createCommentVNode("",!0)])]),_:1})),a.value?(t.openBlock(),t.createBlock(Ee,{key:2,"action-pending":e.actionPending,documents:e.documentList,editing:r.value,"error-message":e.modalErrorMessage,"hide-publish-toggle":e.hidePublishToggle,record:r.value&&e.selectedDocument?e.selectedDocument:void 0,onCancel:w,onDelete:y[4]||(y[4]=x=>n("delete")),onSave:y[5]||(y[5]=(x,b)=>n("save",x,b))},null,8,["action-pending","documents","editing","error-message","hide-publish-toggle","record"])):t.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-28dad1b5"]]);j.DocumentationContent=Uo,j.DocumentationDisplay=De,j.DocumentationPageEmptyState=Te,j.ProductDocumentModal=Ee,Object.defineProperty(j,Symbol.toStringTag,{value:"Module"})});
@@ -1 +1 @@
1
- {"version":3,"file":"DocumentationContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DocumentationContent.vue.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AACxE,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;;;;;;;;;;;;;;IAoWlF;;;OAGG;;6BAEgC,OAAO,GAAG,QAAQ,OAAO,CAAC;;;;IAI7D;;OAEG;;;;;;;;;IASH;;;OAGG;;;;;;;;;;;;;;;sBAcoC,YAAY;iBAAO,MAAM;oBAAU,WAAW,GAAG,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;IArCrG;;;OAGG;;6BAEgC,OAAO,GAAG,QAAQ,OAAO,CAAC;;;;IAI7D;;OAEG;;;;;;;;;IASH;;;OAGG;;;;;;;;;;;;;;;sBAcoC,YAAY;iBAAO,MAAM;oBAAU,WAAW,GAAG,aAAa;;;;;;;;;;;;;;mBAhClE,OAAO,GAAG,QAAQ,OAAO,CAAC;;;;kBAgCtB,YAAY;aAAO,MAAM;gBAAU,WAAW,GAAG,aAAa;;;;;;;AApDvG,wBA8DG"}
1
+ {"version":3,"file":"DocumentationContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DocumentationContent.vue.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AACxE,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;;;;;;;;;;;;;;IA0VlF;;;OAGG;;6BAEgC,OAAO,GAAG,QAAQ,OAAO,CAAC;;;;IAI7D;;OAEG;;;;;;;;;IASH;;;OAGG;;;;;;;;;;;;;;;sBAcoC,YAAY;iBAAO,MAAM;oBAAU,WAAW,GAAG,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;IArCrG;;;OAGG;;6BAEgC,OAAO,GAAG,QAAQ,OAAO,CAAC;;;;IAI7D;;OAEG;;;;;;;;;IASH;;;OAGG;;;;;;;;;;;;;;;sBAcoC,YAAY;iBAAO,MAAM;oBAAU,WAAW,GAAG,aAAa;;;;;;;;;;;;;;mBAhClE,OAAO,GAAG,QAAQ,OAAO,CAAC;;;;kBAgCtB,YAAY;aAAO,MAAM;gBAAU,WAAW,GAAG,aAAa;;;;;;;AAvDvG,wBA4DG"}
@@ -1 +1 @@
1
- {"version":3,"file":"DocumentationDisplay.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DocumentationDisplay.vue.ts"],"names":[],"mappings":"AAOA,OAAO,gDAAgD,CAAA;AACvD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;;IAygB1C;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;IAHH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BL,wBAAwG;AAGxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"DocumentationDisplay.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DocumentationDisplay.vue.ts"],"names":[],"mappings":"AAOA,OAAO,gDAAgD,CAAA;AACvD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;;IAmf1C;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;IAHH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBL,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DocumentationPageEmptyState.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DocumentationPageEmptyState.vue.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;;IAsLjC;;;OAGG;;6BAEgC,OAAO,GAAG,QAAQ,OAAO,CAAC;;;;;;;IAL7D;;;OAGG;;6BAEgC,OAAO,GAAG,QAAQ,OAAO,CAAC;;;;;;;mBAA1B,OAAO,GAAG,QAAQ,OAAO,CAAC;;AAR/D,wBAmBG"}
1
+ {"version":3,"file":"DocumentationPageEmptyState.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DocumentationPageEmptyState.vue.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;;IAoLjC;;;OAGG;;6BAEgC,OAAO,GAAG,QAAQ,OAAO,CAAC;;;;;;;IAL7D;;;OAGG;;6BAEgC,OAAO,GAAG,QAAQ,OAAO,CAAC;;;;;;;mBAA1B,OAAO,GAAG,QAAQ,OAAO,CAAC;;AAX/D,wBAiBG"}
@@ -1 +1 @@
1
- {"version":3,"file":"ProductDocumentModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ProductDocumentModal.vue.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgqB3D,wBAkCG"}
1
+ {"version":3,"file":"ProductDocumentModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ProductDocumentModal.vue.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAioB3D,wBAgCG"}