@kong-ui-public/documentation 0.4.4 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{arc-C2t0ExPw-C4e2PVYy.js → arc-C2t0ExPw-CnDGhUyX.js} +1 -1
- package/dist/{blockDiagram-6b2b5046-BabM1eIl-B1WAFoFS.js → blockDiagram-6b2b5046-BabM1eIl-DHaKfLGM.js} +5 -5
- package/dist/{c4Diagram-b947cdbb-BBGJ9ivn-D2lIt2__.js → c4Diagram-b947cdbb-BBGJ9ivn--D5Dc-Yy.js} +2 -2
- package/dist/{channel-DXyvEer2-B9963nMw.js → channel-DXyvEer2-B_3TuGvY.js} +1 -1
- package/dist/{classDiagram-35230388-CRYNduH8-BHU1sLy9.js → classDiagram-35230388-CRYNduH8-C1TD2bQg.js} +5 -5
- package/dist/{classDiagram-v2-412acd34-5HbyJrnL-CN8uWqLr.js → classDiagram-v2-412acd34-5HbyJrnL-BRK0GsBV.js} +5 -5
- package/dist/{clone-BoeTe_OS-BEC7l3rJ.js → clone-BoeTe_OS-DHTz3MkQ.js} +1 -1
- package/dist/{createText-423428c9-Q0HfccbL-BLtEGSzf.js → createText-423428c9-Q0HfccbL-B04VqsLa.js} +1 -1
- package/dist/documentation.es.js +1 -1
- package/dist/documentation.umd.js +1 -1
- package/dist/{edges-d417c7a0-DEJA2PwU-BNRQat2t.js → edges-d417c7a0-DEJA2PwU-BLUpzmy9.js} +3 -3
- package/dist/{erDiagram-0ea73325-C3DQ6B1e-B5Rrft4o.js → erDiagram-0ea73325-C3DQ6B1e-BjK5UvwQ.js} +4 -4
- package/dist/{flowDb-d35e309a-RvFFqjek-D-9nhzeX.js → flowDb-d35e309a-RvFFqjek-mf-ntExa.js} +1 -1
- package/dist/{flowDiagram-d949d7c1-Boa20b_n-e2wSrZzt.js → flowDiagram-d949d7c1-Boa20b_n-kKswPlWb.js} +6 -6
- package/dist/{flowDiagram-v2-49332944-BJtijxhz-eRcYpz1M.js → flowDiagram-v2-49332944-BJtijxhz-Bph0K3QY.js} +5 -5
- package/dist/{flowchart-elk-definition-27cc417a-BBD3LS9k-C6RPoRDj.js → flowchart-elk-definition-27cc417a-BBD3LS9k-DtUami3K.js} +4 -4
- package/dist/{ganttDiagram-5c869e3b-CRDFjzTp-DZo39g5w.js → ganttDiagram-5c869e3b-CRDFjzTp-EBl16JhD.js} +2 -2
- package/dist/{gitGraphDiagram-b9d81de9-D1rNIGL0-h0UkRNJn.js → gitGraphDiagram-b9d81de9-D1rNIGL0-p_PkwDHZ.js} +1 -1
- package/dist/{graph-BIq67vWs-LA_m-7g5.js → graph-BIq67vWs-BjBAIX_z.js} +1 -1
- package/dist/{index-8fae9850-CaUboB89-DMTF3atd.js → index-8fae9850-CaUboB89-oWpvC7zW.js} +6 -6
- package/dist/{index-DvRFVEGL.js → index-Cw34a3AZ.js} +26 -25
- package/dist/{infoDiagram-db7b18fc-DKsewKnu-DiUcCTtI.js → infoDiagram-db7b18fc-DKsewKnu-BniO4eMv.js} +1 -1
- package/dist/{journeyDiagram-d5636530-ClddNDmR-Cno3ZZVv.js → journeyDiagram-d5636530-ClddNDmR-z4QqNcb3.js} +3 -3
- package/dist/{layout-Cz0dAJah-C2Ql7ZSU.js → layout-Cz0dAJah-BM9SLaDj.js} +2 -2
- package/dist/{line-BCVITS7s-Anu55pMJ.js → line-BCVITS7s-Bh5b5aZu.js} +1 -1
- package/dist/{linear-CLHAbj67-BGejs378.js → linear-CLHAbj67-IBk7L8-f.js} +1 -1
- package/dist/{mindmap-definition-377f8f1f-BwEJ-DVg-BQTqrlTd.js → mindmap-definition-377f8f1f-BwEJ-DVg-CplLDT0T.js} +2 -2
- package/dist/{pieDiagram-b0208e96-Cyz2Kcfu-jdhZLsVz.js → pieDiagram-b0208e96-Cyz2Kcfu-C9AnY9ru.js} +2 -2
- package/dist/{quadrantDiagram-0332be45-CDMkEQj0-Dq8vjQCi.js → quadrantDiagram-0332be45-CDMkEQj0-COzTMKGi.js} +2 -2
- package/dist/{requirementDiagram-bf7890df-Jk3SQ-Q1-CFh95_JW.js → requirementDiagram-bf7890df-Jk3SQ-Q1-Ca90pGVF.js} +4 -4
- package/dist/{sankeyDiagram-0acdec17-BJuIUJd_-2lpR33Xi.js → sankeyDiagram-0acdec17-BJuIUJd_-b4JtQoTP.js} +1 -1
- package/dist/{sequenceDiagram-c18d009d-B4IxGCEM-DnDAtNoF.js → sequenceDiagram-c18d009d-B4IxGCEM-fz1Jnrcz.js} +2 -2
- package/dist/{stateDiagram-43596fc0-0xEMkbt_-DgAwRqrW.js → stateDiagram-43596fc0-0xEMkbt_-Bb6XeMIR.js} +5 -5
- package/dist/{stateDiagram-v2-2ead4f9c-DS4afpcC-DubjvGN9.js → stateDiagram-v2-2ead4f9c-DS4afpcC-CTNu6WTX.js} +5 -5
- package/dist/style.css +1 -1
- package/dist/{styles-6860f46c-ZdhsT5S9-DzxtwCvw.js → styles-6860f46c-ZdhsT5S9-BdEjx3mG.js} +1 -1
- package/dist/{styles-7383a064-C7WyH3qz-CEHVo3tw.js → styles-7383a064-C7WyH3qz-DjDa7JAs.js} +4 -4
- package/dist/{styles-b2c874b6-BFg-Nblp-jsWmR-cD.js → styles-b2c874b6-BFg-Nblp-BrtlIfa3.js} +1 -1
- package/dist/{svgDrawCommon-0ee1b4e9-CpOZq9bS-B5XnrcWY.js → svgDrawCommon-0ee1b4e9-CpOZq9bS-CJIQSTf1.js} +1 -1
- package/dist/{timeline-definition-d977decf-BqZwyTB6-B8SbuwHB.js → timeline-definition-d977decf-BqZwyTB6-DEJ6pS3e.js} +2 -2
- package/dist/{xychartDiagram-e50adddc-C1fuuOEQ-CFqyDwCV.js → xychartDiagram-e50adddc-C1fuuOEQ-D-CoMgQ_.js} +4 -4
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { q as on, P as K } from "./path-Crsf9Nsj-SiSjwXsf.js";
|
|
2
|
-
import { aP as an, aQ as F, aR as O, aS as rn, aT as l, aO as un, aU as V, aV as q, aW as cn, aX as y, aY as sn, aZ as yn, a_ as en } from "./index-
|
|
2
|
+
import { aP as an, aQ as F, aR as O, aS as rn, aT as l, aO as un, aU as V, aV as q, aW as cn, aX as y, aY as sn, aZ as yn, a_ as en } from "./index-Cw34a3AZ.js";
|
|
3
3
|
function fn(o) {
|
|
4
4
|
return o.innerRadius;
|
|
5
5
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as fe, b0 as ie, h as q, i as me, l as L, z as _e, aj as ke, o as Ee } from "./index-
|
|
2
|
-
import { a as De } from "./clone-BoeTe_OS-
|
|
3
|
-
import { h as we, u as ve, d as Ne, g as $e, o as ge, f as Te } from "./edges-d417c7a0-DEJA2PwU-
|
|
4
|
-
import { Z as Oe } from "./graph-BIq67vWs-
|
|
1
|
+
import { c as fe, b0 as ie, h as q, i as me, l as L, z as _e, aj as ke, o as Ee } from "./index-Cw34a3AZ.js";
|
|
2
|
+
import { a as De } from "./clone-BoeTe_OS-DHTz3MkQ.js";
|
|
3
|
+
import { h as we, u as ve, d as Ne, g as $e, o as ge, f as Te } from "./edges-d417c7a0-DEJA2PwU-BLUpzmy9.js";
|
|
4
|
+
import { Z as Oe } from "./graph-BIq67vWs-BjBAIX_z.js";
|
|
5
5
|
import { h as Ie } from "./ordinal-MUacOSdK-B1MUT0BL.js";
|
|
6
|
-
import { t as Ae } from "./channel-DXyvEer2-
|
|
6
|
+
import { t as Ae } from "./channel-DXyvEer2-B_3TuGvY.js";
|
|
7
7
|
import { r as Ce } from "./Tableau10-GLA_9iAD-BMurskAd.js";
|
|
8
8
|
var le, ae, ee = function() {
|
|
9
9
|
var e = function(m, i, r, o) {
|
package/dist/{c4Diagram-b947cdbb-BBGJ9ivn-D2lIt2__.js → c4Diagram-b947cdbb-BBGJ9ivn--D5Dc-Yy.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as Ce, g as Oe, a as ke, b as Te, c as vt, d as he, e as we, f as kt, h as jt, l as re, i as ve, w as Re, j as qt, k as le, m as De } from "./index-
|
|
2
|
-
import { c as Ne, g as Pe } from "./svgDrawCommon-0ee1b4e9-CpOZq9bS-
|
|
1
|
+
import { s as Ce, g as Oe, a as ke, b as Te, c as vt, d as he, e as we, f as kt, h as jt, l as re, i as ve, w as Re, j as qt, k as le, m as De } from "./index-Cw34a3AZ.js";
|
|
2
|
+
import { c as Ne, g as Pe } from "./svgDrawCommon-0ee1b4e9-CpOZq9bS-CJIQSTf1.js";
|
|
3
3
|
var Yt = function() {
|
|
4
4
|
var e = function(F, g, x, b) {
|
|
5
5
|
for (x = x || {}, b = F.length; b--; x[F[b]] = g)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { z as C, K as B, Y } from "./styles-6860f46c-ZdhsT5S9-
|
|
2
|
-
import { c as H, l as f, h as N, i as D, ao as Z, y as T, as as $ } from "./index-
|
|
3
|
-
import { Z as J } from "./graph-BIq67vWs-
|
|
4
|
-
import { A as W } from "./layout-Cz0dAJah-
|
|
5
|
-
import { P as X } from "./line-BCVITS7s-
|
|
1
|
+
import { z as C, K as B, Y } from "./styles-6860f46c-ZdhsT5S9-BdEjx3mG.js";
|
|
2
|
+
import { c as H, l as f, h as N, i as D, ao as Z, y as T, as as $ } from "./index-Cw34a3AZ.js";
|
|
3
|
+
import { Z as J } from "./graph-BIq67vWs-BjBAIX_z.js";
|
|
4
|
+
import { A as W } from "./layout-Cz0dAJah-BM9SLaDj.js";
|
|
5
|
+
import { P as X } from "./line-BCVITS7s-Bh5b5aZu.js";
|
|
6
6
|
let S = 0;
|
|
7
7
|
const G = function(n, a, t, s, l) {
|
|
8
8
|
const c = function(i) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { z as _, K as L, Y as j } from "./styles-6860f46c-ZdhsT5S9-
|
|
2
|
-
import { l as c, c as d, h as w, y as B, t as R, o as E, q as D, r as $, j as A } from "./index-
|
|
3
|
-
import { Z as z } from "./graph-BIq67vWs-
|
|
4
|
-
import { b as P } from "./index-8fae9850-CaUboB89-
|
|
5
|
-
import "./layout-Cz0dAJah-
|
|
1
|
+
import { z as _, K as L, Y as j } from "./styles-6860f46c-ZdhsT5S9-BdEjx3mG.js";
|
|
2
|
+
import { l as c, c as d, h as w, y as B, t as R, o as E, q as D, r as $, j as A } from "./index-Cw34a3AZ.js";
|
|
3
|
+
import { Z as z } from "./graph-BIq67vWs-BjBAIX_z.js";
|
|
4
|
+
import { b as P } from "./index-8fae9850-CaUboB89-oWpvC7zW.js";
|
|
5
|
+
import "./layout-Cz0dAJah-BM9SLaDj.js";
|
|
6
6
|
const k = (a) => A.sanitizeText(a, d());
|
|
7
7
|
let x = {
|
|
8
8
|
dividerMargin: 10,
|
package/dist/{createText-423428c9-Q0HfccbL-BLtEGSzf.js → createText-423428c9-Q0HfccbL-B04VqsLa.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as At, an as It, ap as Tt } from "./index-
|
|
1
|
+
import { l as At, an as It, ap as Tt } from "./index-Cw34a3AZ.js";
|
|
2
2
|
const Ct = {};
|
|
3
3
|
function wt(e, r) {
|
|
4
4
|
const t = r || Ct, n = typeof t.includeImageAlt == "boolean" ? t.includeImageAlt : !0, u = typeof t.includeHtml == "boolean" ? t.includeHtml : !0;
|
package/dist/documentation.es.js
CHANGED
|
@@ -201,7 +201,7 @@ ${Ea.themeCSS}`),Ea.fontFamily!==void 0&&(aA+=`
|
|
|
201
201
|
${IFRAME_NOT_SUPPORTED_MSG}
|
|
202
202
|
</iframe>`},appendDivSvgG=(Ea,Ua,nA,aA,rA)=>{const oA=Ea.append("div");oA.attr("id",nA),aA&&oA.attr("style",aA);const AA=oA.append("svg").attr("id",Ua).attr("width","100%").attr("xmlns",XMLNS_SVG_STD);return rA&&AA.attr("xmlns:xlink",rA),AA.append("g"),Ea};function sandboxedIframe(Ea,Ua){return Ea.append("iframe").attr("id",Ua).attr("style","width: 100%; height: 100%;").attr("sandbox","")}const removeExistingElements=(Ea,Ua,nA,aA)=>{var rA,oA,AA;(rA=Ea.getElementById(Ua))==null||rA.remove(),(oA=Ea.getElementById(nA))==null||oA.remove(),(AA=Ea.getElementById(aA))==null||AA.remove()},render$1=async function(Ea,Ua,nA){var aA,rA,oA,AA,pA,mA;addDiagrams();const gA=processAndSetConfigs(Ua);Ua=gA.code;const hA=getConfig$1();log$1.debug(hA),Ua.length>((hA==null?void 0:hA.maxTextSize)??MAX_TEXTLENGTH)&&(Ua=MAX_TEXTLENGTH_EXCEEDED_MSG);const bA="#"+Ea,yA="i"+Ea,EA="#"+yA,_A="d"+Ea,IA="#"+_A;let DA=select("body");const xA=hA.securityLevel===SECURITY_LVL_SANDBOX,$A=hA.securityLevel===SECURITY_LVL_LOOSE,MA=hA.fontFamily;if(nA!==void 0){if(nA&&(nA.innerHTML=""),xA){const XA=sandboxedIframe(select(nA),yA);DA=select(XA.nodes()[0].contentDocument.body),DA.node().style.margin=0}else DA=select(nA);appendDivSvgG(DA,Ea,_A,`font-family: ${MA}`,XMLNS_XLINK_STD)}else{if(removeExistingElements(document,Ea,_A,yA),xA){const XA=sandboxedIframe(select("body"),yA);DA=select(XA.nodes()[0].contentDocument.body),DA.node().style.margin=0}else DA=select("body");appendDivSvgG(DA,Ea,_A)}let NA,TA;try{NA=await getDiagramFromText(Ua,{title:gA.title})}catch(XA){NA=new Diagram("error"),TA=XA}const qA=DA.select(IA).node(),RA=NA.type,FA=qA.firstChild,HA=FA.firstChild,SA=(rA=(aA=NA.renderer).getClasses)==null?void 0:rA.call(aA,Ua,NA),WA=createUserStyles(hA,RA,SA,bA),jA=document.createElement("style");jA.innerHTML=WA,FA.insertBefore(jA,HA);try{await NA.renderer.draw(Ua,Ea,version,NA)}catch(XA){throw errorRenderer.draw(Ua,Ea,version),XA}const UA=DA.select(`${IA} svg`),kl=(AA=(oA=NA.db).getAccTitle)==null?void 0:AA.call(oA),Pl=(mA=(pA=NA.db).getAccDescription)==null?void 0:mA.call(pA);addA11yInfo(RA,UA,kl,Pl),DA.select(`[id="${Ea}"]`).selectAll("foreignobject > *").attr("xmlns",XMLNS_XHTML_STD);let $l=DA.select(IA).node().innerHTML;if(log$1.debug("config.arrowMarkerAbsolute",hA.arrowMarkerAbsolute),$l=cleanUpSvgCode($l,xA,evaluate(hA.arrowMarkerAbsolute)),xA){const XA=DA.select(IA+" svg").node();$l=putIntoIFrame($l,XA)}else $A||($l=purify.sanitize($l,{ADD_TAGS:DOMPURIFY_TAGS,ADD_ATTR:DOMPURIFY_ATTR}));if(attachFunctions(),TA)throw TA;const Hl=select(xA?EA:IA).node();return Hl&&"remove"in Hl&&Hl.remove(),{svg:$l,bindFunctions:NA.db.bindFunctions}};function initialize$1(Ea={}){var Ua;Ea!=null&&Ea.fontFamily&&!((Ua=Ea.themeVariables)!=null&&Ua.fontFamily)&&(Ea.themeVariables||(Ea.themeVariables={}),Ea.themeVariables.fontFamily=Ea.fontFamily),saveConfigFromInitialize(Ea),Ea!=null&&Ea.theme&&Ea.theme in theme?Ea.themeVariables=theme[Ea.theme].getThemeVariables(Ea.themeVariables):Ea&&(Ea.themeVariables=theme.default.getThemeVariables(Ea.themeVariables));const nA=typeof Ea=="object"?setSiteConfig(Ea):getSiteConfig();setLogLevel$1(nA.logLevel),addDiagrams()}const getDiagramFromText=(Ea,Ua={})=>{const{code:nA}=preprocessDiagram(Ea);return getDiagramFromText$1(nA,Ua)};function addA11yInfo(Ea,Ua,nA,aA){setA11yDiagramInfo(Ua,Ea),addSVGa11yTitleDescription(Ua,nA,aA,Ua.attr("id"))}const mermaidAPI=Object.freeze({render:render$1,parse:parse$1,getDiagramFromText,initialize:initialize$1,getConfig:getConfig$1,setConfig:setConfig$1,getSiteConfig,updateSiteConfig,reset:()=>{reset()},globalReset:()=>{reset(defaultConfig$1)},defaultConfig:defaultConfig$1});setLogLevel$1(getConfig$1().logLevel),reset(getConfig$1());const loadRegisteredDiagrams=async()=>{log$1.debug("Loading registered diagrams");const Ea=(await Promise.allSettled(Object.entries(detectors).map(async([Ua,{detector:nA,loader:aA}])=>{if(aA)try{getDiagram(Ua)}catch{try{const{diagram:rA,id:oA}=await aA();registerDiagram(oA,rA,nA)}catch(rA){throw log$1.error(`Failed to load external diagram with key ${Ua}. Removing from detectors.`),delete detectors[Ua],rA}}}))).filter(Ua=>Ua.status==="rejected");if(Ea.length>0){log$1.error(`Failed to load ${Ea.length} external diagrams`);for(const Ua of Ea)log$1.error(Ua);throw new Error(`Failed to load ${Ea.length} external diagrams`)}},handleError=(Ea,Ua,nA)=>{log$1.warn(Ea),isDetailedError(Ea)?(nA&&nA(Ea.str,Ea.hash),Ua.push({...Ea,message:Ea.str,error:Ea})):(nA&&nA(Ea),Ea instanceof Error&&Ua.push({str:Ea.message,message:Ea.message,hash:Ea.name,error:Ea}))},run=async function(Ea={querySelector:".mermaid"}){try{await runThrowsErrors(Ea)}catch(Ua){if(isDetailedError(Ua)&&log$1.error(Ua.str),mermaid.parseError&&mermaid.parseError(Ua),!Ea.suppressErrors)throw log$1.error("Use the suppressErrors option to suppress these errors"),Ua}},runThrowsErrors=async function({postRenderCallback:Ea,querySelector:Ua,nodes:nA}={querySelector:".mermaid"}){const aA=mermaidAPI.getConfig();log$1.debug(`${Ea?"":"No "}Callback function found`);let rA;if(nA)rA=nA;else if(Ua)rA=document.querySelectorAll(Ua);else throw new Error("Nodes and querySelector are both undefined");log$1.debug(`Found ${rA.length} diagrams`),(aA==null?void 0:aA.startOnLoad)!==void 0&&(log$1.debug("Start On Load: "+(aA==null?void 0:aA.startOnLoad)),mermaidAPI.updateSiteConfig({startOnLoad:aA==null?void 0:aA.startOnLoad}));const oA=new utils.InitIDGenerator(aA.deterministicIds,aA.deterministicIDSeed);let AA;const pA=[];for(const mA of Array.from(rA)){log$1.info("Rendering diagram: "+mA.id);/*! Check if previously processed */if(mA.getAttribute("data-processed"))continue;mA.setAttribute("data-processed","true");const gA=`mermaid-${oA.next()}`;AA=mA.innerHTML,AA=dedent(utils.entityDecode(AA)).trim().replace(/<br\s*\/?>/gi,"<br/>");const hA=utils.detectInit(AA);hA&&log$1.debug("Detected early reinit: ",hA);try{const{svg:bA,bindFunctions:yA}=await render(gA,AA,mA);mA.innerHTML=bA,Ea&&await Ea(gA),yA&&yA(mA)}catch(bA){handleError(bA,pA,mermaid.parseError)}}if(pA.length>0)throw pA[0]},initialize=function(Ea){mermaidAPI.initialize(Ea)},init=async function(Ea,Ua,nA){log$1.warn("mermaid.init is deprecated. Please use run instead."),Ea&&initialize(Ea);const aA={postRenderCallback:nA,querySelector:".mermaid"};typeof Ua=="string"?aA.querySelector=Ua:Ua&&(Ua instanceof HTMLElement?aA.nodes=[Ua]:aA.nodes=Ua),await run(aA)},registerExternalDiagrams=async(Ea,{lazyLoad:Ua=!0}={})=>{registerLazyLoadedDiagrams(...Ea),Ua===!1&&await loadRegisteredDiagrams()},contentLoaded=function(){if(mermaid.startOnLoad){const{startOnLoad:Ea}=mermaidAPI.getConfig();Ea&&mermaid.run().catch(Ua=>log$1.error("Mermaid failed to initialize",Ua))}};if(typeof document<"u"){/*!
|
|
203
203
|
* Wait for document loaded before starting the execution
|
|
204
|
-
*/window.addEventListener("load",contentLoaded,!1)}const setParseErrorHandler=function(Ea){mermaid.parseError=Ea},executionQueue=[];let executionQueueRunning=!1;const executeQueue=async()=>{if(!executionQueueRunning){for(executionQueueRunning=!0;executionQueue.length>0;){const Ea=executionQueue.shift();if(Ea)try{await Ea()}catch(Ua){log$1.error("Error executing queue",Ua)}}executionQueueRunning=!1}},parse=async(Ea,Ua)=>new Promise((nA,aA)=>{const rA=()=>new Promise((oA,AA)=>{mermaidAPI.parse(Ea,Ua).then(pA=>{oA(pA),nA(pA)},pA=>{var mA;log$1.error("Error parsing",pA),(mA=mermaid.parseError)==null||mA.call(mermaid,pA),AA(pA),aA(pA)})});executionQueue.push(rA),executeQueue().catch(aA)}),render=(Ea,Ua,nA)=>new Promise((aA,rA)=>{const oA=()=>new Promise((AA,pA)=>{mermaidAPI.render(Ea,Ua,nA).then(mA=>{AA(mA),aA(mA)},mA=>{var gA;log$1.error("Error parsing",mA),(gA=mermaid.parseError)==null||gA.call(mermaid,mA),pA(mA),rA(mA)})});executionQueue.push(oA),executeQueue().catch(rA)}),mermaid={startOnLoad:!0,mermaidAPI,parse,render,init,run,registerExternalDiagrams,initialize,parseError:void 0,contentLoaded,setParseErrorHandler,detectType},_withScopeId$2=Ea=>(vue.pushScopeId("data-v-50dd5b60"),Ea=Ea(),vue.popScopeId(),Ea),_hoisted_1$5=["id"],_hoisted_2$4={class:"markdown-panes"},_hoisted_3$3={key:0,class:"markdown-editor","data-testid":"markdown-editor"},_hoisted_4$3=["id","value"],_hoisted_5$2={class:"markdown-content-container","data-testid":"markdown-content-container"},_hoisted_6$2={key:0,class:"content-actions"},_hoisted_7$2={key:0,class:"download-button"},_hoisted_8$2=_withScopeId$2(()=>vue.createElementVNode("span",{class:"content-button-text"},"Download",-1)),_hoisted_9$1={key:1,class:"edit-button"},_hoisted_10$1=_withScopeId$2(()=>vue.createElementVNode("span",{class:"content-button-text"},"Edit",-1)),_sfc_main$6=vue.defineComponent({__name:"MarkdownUi",props:{modelValue:{type:String,default:""},editable:{type:Boolean,default:!1},downloadable:{type:Boolean,default:!1},filename:{type:String,default:"document"},mode:{type:String,default:"read",validator:Ea=>["read","edit","split","preview"].includes(Ea)},tabSize:{type:Number,default:2,validator:Ea=>Ea>=2&&Ea<=6},theme:{type:String,default:"",validator:Ea=>["","light","dark"].includes(Ea)},maxHeight:{type:Number,default:300,validator:Ea=>Ea>=100},fullscreenOffsetTop:{type:Number,default:0},fullscreenZIndex:{type:Number,default:1001}},emits:["update:modelValue","update:frontmatter","save","cancel","mode","fullscreen"],setup(Ea,{emit:Ua}){vue.useCssVars(bb=>({cad86c72:Ab.value,"0f1ebfa2":ib.value,"5aa727dd":bb.$props.fullscreenZIndex,"74eca6d0":Cb.value,"6fe42ba3":vue.unref(TOOLBAR_HEIGHT)}));const nA=Ea,aA=Ua,rA=vue.ref(null),oA=vue.ref(null),{init:AA,md:pA}=composables.useMarkdownIt(),mA=v4(),gA=vue.computed(()=>`markdown-ui-${mA}`),hA=vue.computed(()=>`markdown-ui-textarea-${mA}`),bA=vue.computed(()=>`scrollable-${mA}`),yA=vue.computed(()=>nA.tabSize),EA=usePreferredColorScheme(),_A=vue.computed(()=>nA.theme?nA.theme:EA.value==="dark"?EA.value:"light"),IA=vue.ref(["edit","split","preview"].includes(nA.mode)&&nA.editable?nA.mode:"read"),DA=vue.ref(!1),xA=vue.ref(!1);vue.provide(UNIQUE_ID_INJECTION_KEY,mA),vue.provide(TEXTAREA_ID_INJECTION_KEY,hA),vue.provide(MODE_INJECTION_KEY,IA),vue.provide(EDITABLE_INJECTION_KEY,vue.computed(()=>nA.editable)),vue.provide(FULLSCREEN_INJECTION_KEY,DA),vue.provide(THEME_INJECTION_KEY,_A),vue.provide(HTML_PREVIEW_INJECTION_KEY,xA);const{initializeSyncScroll:$A,destroySyncScroll:MA}=composables.useSyncScroll(bA),{debounce:NA}=composables.useDebounce();vue.watch(IA,async bb=>{switch(bb){case"edit":xA.value=!1;break;case"split":break;case"preview":break;case"read":xA.value=!1,DA.value=!1;break}aA("mode",bb),MA(),await vue.nextTick(),await Pl(),$A()});const TA=bb=>{var cb;const l1={},lb=(cb=pA.value)==null?void 0:cb.render(bb,l1);return RA.value=l1.frontmatter,lb},qA=vue.ref(nA.modelValue),RA=vue.ref(),FA=vue.ref(""),HA=vue.ref(""),{toggleInlineFormatting:SA,insertMarkdownTemplate:WA,insertLink:jA}=composables.useMarkdownActions(rA,qA),UA=bb=>{bb==="link"?jA():SA(bb),zl()},kl=bb=>{WA(bb),zl()};vue.watchEffect(()=>{var bb;xA.value&&(HA.value=(bb=pA.value)==null?void 0:bb.render("```html"+NEW_LINE_CHARACTER+formatHtml(FA.value," ".repeat(yA.value))+NEW_LINE_CHARACTER+"```"))});const Pl=async()=>{if(typeof mermaid<"u"&&typeof(mermaid==null?void 0:mermaid.run)=="function"){const bb=`#${gA.value} .markdown-content-container .mermaid`;document.querySelector(bb)&&await mermaid.run({querySelector:bb,suppressErrors:!0})}},$l=()=>{try{const bb=new Blob([qA.value],{type:"text/markdown;charset=utf-8"}),cb=URL.createObjectURL(bb),l1=document.createElement("a");l1.href=cb,l1.download=`${nA.filename.replace(/ /g,"-").replace(/[^-+.a-zA-Z0-9_]/g,"").replace(/(\.md)+$/g,"")}.md`,l1.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window})),setTimeout(()=>{window.URL.revokeObjectURL(cb),l1.remove()},100)}catch(bb){console.warn("download",bb)}},Hl=(bb,cb=!0)=>{qA.value=bb.target.value,XA(cb)},XA=NA(async(bb=!0)=>{FA.value=TA(qA.value),await vue.nextTick(),bb&&(aA("update:modelValue",qA.value),aA("update:frontmatter",RA.value)),await vue.nextTick(),await Pl()},EDITOR_DEBOUNCE_TIMEOUT),zl=(bb=!0)=>{const cb={target:{value:qA.value}};Hl(cb,bb)};vue.watch(()=>nA.modelValue,bb=>{qA.value=bb,zl(!1)});const Ul=()=>{xA.value=!xA.value,zl()},ib=vue.computed(()=>`${nA.fullscreenOffsetTop}px`),rb=()=>{DA.value=!DA.value};vue.watch(DA,bb=>{aA("fullscreen",bb)});const Xl=useMediaQuery(`(min-width: ${KUI_BREAKPOINT_PHABLET})`),gb=()=>{IA.value=Xl.value?"split":"edit"},Gb=()=>{aA("cancel"),IA.value="read"},ub=()=>{aA("save",{content:qA.value,frontmatter:RA.value}),IA.value="read"},xb=()=>{typeof mermaid<"u"&&typeof(mermaid==null?void 0:mermaid.initialize)=="function"&&(mermaid==null||mermaid.initialize({startOnLoad:!1,securityLevel:"strict",fontFamily:KUI_FONT_FAMILY_TEXT,altFontFamily:KUI_FONT_FAMILY_CODE,theme:_A.value==="light"?"default":"base"}))};vue.watch(_A,async bb=>{await AA(bb),xb(),zl()});const fb=async bb=>{var cb,l1,lb,m1,wb,j0,x1,Dw;try{if(!((l1=(cb=bb.target)==null?void 0:cb.classList)!=null&&l1.contains("kong-markdown-code-block-copy"))||!((m1=(lb=bb.target)==null?void 0:lb.dataset)!=null&&m1.copytext))return;if(bb.preventDefault(),(wb=navigator==null?void 0:navigator.clipboard)!=null&&wb.writeText){const yw=((x1=(j0=bb.target)==null?void 0:j0.dataset)==null?void 0:x1.copytext)||"";yw&&(await navigator.clipboard.writeText(yw),(Dw=bb==null?void 0:bb.target)==null||Dw.blur())}}catch(yw){console.warn("Could not copy text to clipboard",yw)}};composables.useKeyboardShortcuts(rA,qA,yA,zl),vue.onMounted(async()=>{await AA(_A.value),FA.value=TA(nA.modelValue),await vue.nextTick(),useEventListener(oA,"click",fb),xb(),await Pl(),IA.value==="split"&&(await vue.nextTick(),$A())}),vue.onUnmounted(()=>{MA()});const Cb=vue.computed(()=>`calc(100vh - ${TOOLBAR_HEIGHT} - ${KUI_SPACE_60})`),Ab=vue.computed(()=>`${nA.maxHeight}px`);return(bb,cb)=>{var l1;return vue.openBlock(),vue.createElementBlock("div",{id:gA.value,ref_key:"markdownComponent",ref:oA,class:vue.normalizeClass(["kong-ui-public-markdown-ui",[`mode-${IA.value}`,`theme-${_A.value}`,{fullscreen:DA.value}]]),"data-testid":"markdown-ui"},[Ea.editable&&IA.value!=="read"?(vue.openBlock(),vue.createBlock(MarkdownToolbar,{key:0,onChangeMode:cb[0]||(cb[0]=lb=>IA.value=lb),onFormatSelection:UA,onInsertTemplate:kl,onToggleFullscreen:rb,onToggleHtmlPreview:Ul},{"toolbar-right":vue.withCtx(()=>[vue.renderSlot(bb.$slots,"toolbar-right",{},void 0,!0)]),"editor-actions":vue.withCtx(()=>[vue.renderSlot(bb.$slots,"editor-actions",{cancel:Gb,save:ub},()=>[Ea.editable&&["edit","split","preview"].includes(IA.value)?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(ToolbarButton,{"data-testid":"cancel",icon:!1,tabindex:0,onClick:Gb},{default:vue.withCtx(()=>[vue.createTextVNode(" Cancel ")]),_:1}),vue.createVNode(ToolbarButton,{appearance:"primary","data-testid":"save",icon:!1,tabindex:0,onClick:ub},{default:vue.withCtx(()=>[vue.createTextVNode(" Save ")]),_:1})],64)):vue.createCommentVNode("",!0)],!0)]),_:3})):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_2$4,[Ea.editable&&["edit","split"].includes(IA.value)?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$3,[vue.createElementVNode("textarea",{id:hA.value,ref_key:"textarea",ref:rA,autocapitalize:"off",autocomplete:"off",autocorrect:"off",class:vue.normalizeClass(["markdown-editor-textarea",[bA.value]]),"data-testid":"markdown-editor-textarea",placeholder:"Begin editing...",spellcheck:"false",translate:"no",value:qA.value,onInput:cb[1]||(cb[1]=lb=>Hl(lb))},null,42,_hoisted_4$3)])):vue.createCommentVNode("",!0),["read","preview","split"].includes(IA.value)?(vue.openBlock(),vue.createElementBlock("div",{key:1,class:vue.normalizeClass(["markdown-preview",[bA.value]]),"data-testid":"markdown-preview"},[vue.createElementVNode("div",_hoisted_5$2,[IA.value==="read"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$2,[vue.renderSlot(bb.$slots,"content-actions",{download:(l1=qA.value)!=null&&l1.length&&Ea.downloadable?$l:void 0,edit:Ea.editable?gb:void 0},()=>{var lb;return[IA.value==="read"&&(lb=qA.value)!=null&&lb.length&&Ea.downloadable?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$2,[vue.renderSlot(bb.$slots,"download",{download:$l},()=>[vue.createVNode(ToolbarButton,{appearance:"primary","aria-label":"Download markdown document","data-testid":"download",icon:!1,tabindex:0,onClick:$l},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(j6),{decorative:"",size:vue.unref(KUI_ICON_SIZE_30)},null,8,["size"]),_hoisted_8$2]),_:1})],!0)])):vue.createCommentVNode("",!0),IA.value==="read"&&Ea.editable?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$1,[vue.renderSlot(bb.$slots,"edit",{edit:gb},()=>[vue.createVNode(ToolbarButton,{appearance:"primary","aria-label":"Edit markdown document","data-testid":"edit",icon:!1,tabindex:0,onClick:gb},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(K6),{decorative:"",size:vue.unref(KUI_ICON_SIZE_30)},null,8,["size"]),_hoisted_10$1]),_:1})],!0)])):vue.createCommentVNode("",!0)]},!0)])):vue.createCommentVNode("",!0),vue.createVNode(MarkdownContent,{class:vue.normalizeClass({"html-preview":xA.value}),content:xA.value?HA.value:FA.value},null,8,["class","content"])])],2)):vue.createCommentVNode("",!0)])],10,_hoisted_1$5)}}}),MarkdownUi=_export_sfc$1(_sfc_main$6,[["__scopeId","data-v-50dd5b60"]]),c$7="24px",b$7=(Ea,Ua)=>{const nA=Ea.__vccOpts||Ea;for(const[aA,rA]of Ua)nA[aA]=rA;return nA},Pt$e=Ea=>(vue.pushScopeId("data-v-89afc35c"),Ea=Ea(),vue.popScopeId(),Ea),Rt$i=["aria-hidden"],Ut$b={key:0,"data-testid":"kui-icon-svg-title"},Tt$g=Pt$e(()=>vue.createElementVNode("path",{d:"M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",fill:"currentColor"},null,-1)),Gt$b=vue.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:c$7,validator:Ea=>{if(typeof Ea=="number"&&Ea>0)return!0;if(typeof Ea=="string"){const Ua=String(Ea).replace(/px/gi,""),nA=Number(Ua);if(nA&&!isNaN(nA)&&Number.isInteger(nA)&&nA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(Ea){const Ua=Ea,nA=vue.computed(()=>{if(typeof Ua.size=="number"&&Ua.size>0)return`${Ua.size}px`;if(typeof Ua.size=="string"){const rA=String(Ua.size).replace(/px/gi,""),oA=Number(rA);if(oA&&!isNaN(oA)&&Number.isInteger(oA)&&oA>0)return`${oA}px`}return c$7}),aA=vue.computed(()=>({boxSizing:"border-box",color:Ua.color,display:Ua.display,height:nA.value,lineHeight:"0",width:nA.value}));return(rA,oA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(Ea.as),{"aria-hidden":Ea.decorative?"true":void 0,class:"kui-icon add-icon","data-testid":"kui-icon-wrapper-add-icon",style:vue.normalizeStyle(aA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":Ea.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"},[Ea.title?(vue.openBlock(),vue.createElementBlock("title",Ut$b,vue.toDisplayString(Ea.title),1)):vue.createCommentVNode("",!0),Tt$g],8,Rt$i))]),_:1},8,["aria-hidden","style"]))}}),t4=b$7(Gt$b,[["__scopeId","data-v-89afc35c"]]),oa$1=Ea=>(vue.pushScopeId("data-v-386e8cbc"),Ea=Ea(),vue.popScopeId(),Ea),sa$1=["aria-hidden"],da$1={key:0,"data-testid":"kui-icon-svg-title"},la$1=oa$1(()=>vue.createElementVNode("path",{d:"M12 20C11.45 20 10.9792 19.8042 10.5875 19.4125C10.1958 19.0208 10 18.55 10 18C10 17.45 10.1958 16.9792 10.5875 16.5875C10.9792 16.1958 11.45 16 12 16C12.55 16 13.0208 16.1958 13.4125 16.5875C13.8042 16.9792 14 17.45 14 18C14 18.55 13.8042 19.0208 13.4125 19.4125C13.0208 19.8042 12.55 20 12 20ZM12 14C11.45 14 10.9792 13.8042 10.5875 13.4125C10.1958 13.0208 10 12.55 10 12C10 11.45 10.1958 10.9792 10.5875 10.5875C10.9792 10.1958 11.45 10 12 10C12.55 10 13.0208 10.1958 13.4125 10.5875C13.8042 10.9792 14 11.45 14 12C14 12.55 13.8042 13.0208 13.4125 13.4125C13.0208 13.8042 12.55 14 12 14ZM12 8C11.45 8 10.9792 7.80417 10.5875 7.4125C10.1958 7.02083 10 6.55 10 6C10 5.45 10.1958 4.97917 10.5875 4.5875C10.9792 4.19583 11.45 4 12 4C12.55 4 13.0208 4.19583 13.4125 4.5875C13.8042 4.97917 14 5.45 14 6C14 6.55 13.8042 7.02083 13.4125 7.4125C13.0208 7.80417 12.55 8 12 8Z",fill:"currentColor"},null,-1)),ca$1=vue.defineComponent({__name:"MoreIcon",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:c$7,validator:Ea=>{if(typeof Ea=="number"&&Ea>0)return!0;if(typeof Ea=="string"){const Ua=String(Ea).replace(/px/gi,""),nA=Number(Ua);if(nA&&!isNaN(nA)&&Number.isInteger(nA)&&nA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(Ea){const Ua=Ea,nA=vue.computed(()=>{if(typeof Ua.size=="number"&&Ua.size>0)return`${Ua.size}px`;if(typeof Ua.size=="string"){const rA=String(Ua.size).replace(/px/gi,""),oA=Number(rA);if(oA&&!isNaN(oA)&&Number.isInteger(oA)&&oA>0)return`${oA}px`}return c$7}),aA=vue.computed(()=>({boxSizing:"border-box",color:Ua.color,display:Ua.display,height:nA.value,lineHeight:"0",width:nA.value}));return(rA,oA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(Ea.as),{"aria-hidden":Ea.decorative?"true":void 0,class:"kui-icon more-icon","data-testid":"kui-icon-wrapper-more-icon",style:vue.normalizeStyle(aA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":Ea.decorative?"true":void 0,"data-testid":"kui-icon-svg-more-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[Ea.title?(vue.openBlock(),vue.createElementBlock("title",da$1,vue.toDisplayString(Ea.title),1)):vue.createCommentVNode("",!0),la$1],8,sa$1))]),_:1},8,["aria-hidden","style"]))}}),E9=b$7(ca$1,[["__scopeId","data-v-386e8cbc"]]),R$8=Ea=>(vue.pushScopeId("data-v-6f61f288"),Ea=Ea(),vue.popScopeId(),Ea),so$1=["aria-hidden"],lo$1={key:0,"data-testid":"kui-icon-svg-title"},co$1=R$8(()=>vue.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)),uo$1=R$8(()=>vue.createElementVNode("animateTransform",{attributeName:"transform",attributeType:"XML",dur:"1.5s",from:"0",repeatCount:"indefinite",to:"360",type:"rotate"},null,-1)),fo$1=vue.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:c$7,validator:Ea=>{if(typeof Ea=="number"&&Ea>0)return!0;if(typeof Ea=="string"){const Ua=String(Ea).replace(/px/gi,""),nA=Number(Ua);if(nA&&!isNaN(nA)&&Number.isInteger(nA)&&nA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(Ea){const Ua=Ea,nA=vue.computed(()=>{if(typeof Ua.size=="number"&&Ua.size>0)return`${Ua.size}px`;if(typeof Ua.size=="string"){const rA=String(Ua.size).replace(/px/gi,""),oA=Number(rA);if(oA&&!isNaN(oA)&&Number.isInteger(oA)&&oA>0)return`${oA}px`}return c$7}),aA=vue.computed(()=>({boxSizing:"border-box",color:Ua.color,display:Ua.display,height:nA.value,lineHeight:"0",width:nA.value}));return(rA,oA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(Ea.as),{"aria-hidden":Ea.decorative?"true":void 0,class:"kui-icon progress-icon","data-testid":"kui-icon-wrapper-progress-icon",style:vue.normalizeStyle(aA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":Ea.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"},[Ea.title?(vue.openBlock(),vue.createElementBlock("title",lo$1,vue.toDisplayString(Ea.title),1)):vue.createCommentVNode("",!0),co$1,uo$1],8,so$1))]),_:1},8,["aria-hidden","style"]))}}),W9=b$7(fo$1,[["__scopeId","data-v-6f61f288"]]),_withScopeId$1=Ea=>(vue.pushScopeId("data-v-7cf96e4b"),Ea=Ea(),vue.popScopeId(),Ea),_hoisted_1$2={class:"documentation-display"},_hoisted_2$2={class:"document-meta"},_hoisted_3$2={class:"document-meta-start"},_hoisted_4$1={class:"document-title meta-section"},_hoisted_5$1=_withScopeId$1(()=>vue.createElementVNode("span",{class:"document-title-extension"},"md",-1)),_hoisted_6$1={key:0,class:"document-status meta-section"},_hoisted_7$1={class:"meta-label"},_hoisted_8$1={key:1,class:"document-create meta-section"},_hoisted_9={class:"meta-label"},_hoisted_10={class:"document-display-actions"},_hoisted_11={key:0,class:"markdown-content-loading","data-testid":"markdown-content-loading"},_hoisted_12={key:1},_sfc_main$3=vue.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","download","toggle-published","edit-markdown","save-markdown"],setup(Ea,{emit:Ua}){var NA;const nA=Ea,aA=Ua,{i18n:rA}=composables$1.useI18n(),oA=vue.ref(!0),AA=vue.computed(()=>{var TA,qA,RA,FA,HA;return((qA=(TA=nA.selectedDocument)==null?void 0:TA.document)==null?void 0:qA.title)||((HA=(FA=(RA=nA.selectedDocument)==null?void 0:RA.document)==null?void 0:FA.revision)==null?void 0:HA.title)||""}),pA=vue.computed(()=>""),mA=vue.ref(!1),gA=vue.ref(rA.t("documentation.common.unpublished")),hA=vue.ref(((NA=nA.selectedDocument)==null?void 0:NA.markdown)||""),bA=vue.ref(hA.value),yA=vue.ref(null),EA=TA=>{typeof TA=="function"&&(TA(),aA("download"))},_A=TA=>{aA("edit-markdown",TA==="edit")},IA=()=>{const TA=!mA.value;aA("toggle-published",TA),mA.value=TA,gA.value=TA?rA.t("documentation.common.published"):rA.t("documentation.common.unpublished")},DA=()=>{hA.value=bA.value,bA.value=hA.value},xA=TA=>{TA==="published"?(mA.value=!0,gA.value=rA.t("documentation.common.published")):(mA.value=!1,gA.value=rA.t("documentation.common.unpublished"))},$A=()=>{var TA;yA.value={children:nA.selectedDocument.ast,type:"document",version:1},hA.value=((TA=nA.selectedDocument)==null?void 0:TA.markdown)||"",bA.value=hA.value,oA.value=!1},MA=vue.ref(!1);return vue.watch(()=>nA.canEdit,async()=>{MA.value=await nA.canEdit()},{immediate:!0}),vue.watch(()=>nA.selectedDocument,TA=>{var qA;isObjectEmpty(TA)||(nA.hidePublishToggle||xA((qA=TA.document)==null?void 0:qA.status),(TA.ast||TA.markdown)&&$A())},{deep:!0,immediate:!0}),(TA,qA)=>{const RA=vue.resolveComponent("KBadge"),FA=vue.resolveComponent("KInputSwitch"),HA=vue.resolveComponent("KButton"),SA=vue.resolveComponent("KSkeleton"),WA=vue.resolveComponent("KTooltip"),jA=vue.resolveComponent("KDropdownItem"),UA=vue.resolveComponent("KDropdown");return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$2,[vue.createElementVNode("div",_hoisted_2$2,[vue.createElementVNode("div",_hoisted_3$2,[vue.createElementVNode("div",_hoisted_4$1,[vue.renderSlot(TA.$slots,"document-title",{},()=>[vue.createElementVNode("span",null,vue.toDisplayString(AA.value),1),vue.createTextVNode("."),_hoisted_5$1],!0)]),Ea.hidePublishToggle?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$1,[vue.createElementVNode("span",_hoisted_7$1,vue.toDisplayString(vue.unref(rA).t("documentation.documentation_display.status_label")),1),vue.createVNode(RA,{appearance:mA.value?"success":"neutral"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(mA.value?vue.unref(rA).t("documentation.common.published"):vue.unref(rA).t("documentation.common.unpublished")),1)]),_:1},8,["appearance"])])),pA.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$1,[vue.createElementVNode("span",_hoisted_9,vue.toDisplayString(vue.unref(rA).t("documentation.documentation_display.added_label")),1),vue.createVNode(RA,{appearance:"neutral"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(pA.value),1)]),_:1})])):vue.createCommentVNode("",!0)]),vue.createElementVNode("div",_hoisted_10,[vue.createVNode(vue.unref(Yl),{"auth-function":()=>Ea.canEdit()},{default:vue.withCtx(()=>[!Ea.hidePublishToggle&&!Ea.card?(vue.openBlock(),vue.createBlock(FA,{key:0,modelValue:mA.value,"onUpdate:modelValue":qA[0]||(qA[0]=kl=>mA.value=kl),class:"document-publish-toggle","data-testid":"document-publish-toggle",label:gA.value,"label-before":"",onClick:IA},null,8,["modelValue","label"])):vue.createCommentVNode("",!0)]),_:1},8,["auth-function"]),vue.createVNode(vue.unref(Yl),{"auth-function":()=>Ea.canEdit()},{default:vue.withCtx(()=>[vue.createVNode(HA,{appearance:"primary","data-testid":"add-new-page-button",size:"small",onClick:qA[1]||(qA[1]=kl=>aA("add"))},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(rA).t("documentation.documentation_display.add_new")),1)]),_:1})]),_:1},8,["auth-function"])])]),oA.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_11,[Ea.card?(vue.openBlock(),vue.createBlock(SA,{key:1,type:"card"})):(vue.openBlock(),vue.createBlock(SA,{key:0,class:"markdown-content-loader"}))])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_12,[vue.createElementVNode("div",{class:vue.normalizeClass(["document-content",{"content-card-view":Ea.card}])},[hA.value!==void 0?(vue.openBlock(),vue.createBlock(vue.unref(MarkdownUi),{key:0,modelValue:hA.value,"onUpdate:modelValue":qA[3]||(qA[3]=kl=>hA.value=kl),downloadable:"",editable:MA.value,filename:AA.value,"max-height":700,mode:"read",theme:"light",onCancel:DA,onMode:qA[4]||(qA[4]=kl=>_A(kl)),onSave:qA[5]||(qA[5]=kl=>aA("save-markdown",kl.content))},vue.createSlots({_:2},[MA.value||Ea.selectedDocument.markdown?{name:"content-actions",fn:vue.withCtx(({download:kl,edit:Pl})=>[vue.createVNode(UA,{class:"content-actions-dropdown","kpop-attributes":{placement:"bottomEnd"}},{default:vue.withCtx(()=>[vue.createVNode(WA,{text:vue.unref(rA).t("documentation.documentation_display.actions_title")},{default:vue.withCtx(()=>[vue.createVNode(HA,{appearance:"secondary","aria-label":vue.unref(rA).t("documentation.documentation_display.actions_title"),class:"icon-button","data-testid":"document-actions-button"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(E9),{decorative:""})]),_:1},8,["aria-label"])]),_:1},8,["text"])]),items:vue.withCtx(()=>[MA.value?(vue.openBlock(),vue.createBlock(jA,{key:0,"data-testid":"document-edit-button",onClick:Pl},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(rA).t("documentation.documentation_display.edit_markdown_button")),1)]),_:2},1032,["onClick"])):vue.createCommentVNode("",!0),MA.value?(vue.openBlock(),vue.createBlock(jA,{key:1,"data-testid":"document-settings-button",onClick:qA[2]||(qA[2]=$l=>aA("edit"))},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(rA).t("documentation.documentation_display.edit_info_button")),1)]),_:1})):vue.createCommentVNode("",!0),Ea.selectedDocument.markdown?(vue.openBlock(),vue.createBlock(jA,{key:2,"data-testid":"document-download-button","has-divider":MA.value,onClick:$l=>EA(kl)},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(rA).t("documentation.documentation_display.download_button")),1)]),_:2},1032,["has-divider","onClick"])):vue.createCommentVNode("",!0)]),_:2},1024)]),key:"0"}:void 0]),1032,["modelValue","editable","filename"])):vue.createCommentVNode("",!0)],2)]))])}}}),_export_sfc=(Ea,Ua)=>{const nA=Ea.__vccOpts||Ea;for(const[aA,rA]of Ua)nA[aA]=rA;return nA},DocumentationDisplay=_export_sfc(_sfc_main$3,[["__scopeId","data-v-7cf96e4b"]]),_sfc_main$2=vue.defineComponent({__name:"DocumentationPageEmptyState",props:{canEdit:{type:Function,required:!1,default:async()=>!1}},emits:["create-documentation"],setup(Ea,{emit:Ua}){const nA=Ua,{i18n:aA}=composables$1.useI18n();return(rA,oA)=>{const AA=vue.resolveComponent("KButton"),pA=vue.resolveComponent("KEmptyState");return vue.openBlock(),vue.createBlock(pA,{class:"documentation-page-empty-state","data-testid":"documentation-page-empty-state","icon-variant":"kong"},{title:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(aA).t("documentation.show.empty_state.title")),1)]),default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(aA).t("documentation.show.empty_state.message")),1)]),action:vue.withCtx(()=>[vue.createVNode(vue.unref(Yl),{"auth-function":()=>Ea.canEdit()},{default:vue.withCtx(()=>[vue.createVNode(AA,{"data-testid":"add-new-page-button",onClick:oA[0]||(oA[0]=mA=>nA("create-documentation"))},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(t4)),vue.createTextVNode(" "+vue.toDisplayString(vue.unref(aA).t("documentation.show.empty_state.ctaText")),1)]),_:1})]),_:1},8,["auth-function"])]),_:1})}}}),externalLinks={serviceDocumentationDocs:"https://docs.konghq.com/konnect/servicehub/service-documentation/#main"},_withScopeId=Ea=>(vue.pushScopeId("data-v-1e755eef"),Ea=Ea(),vue.popScopeId(),Ea),_hoisted_1$1={class:"title"},_hoisted_2$1={class:"subtitle"},_hoisted_3$1=_withScopeId(()=>vue.createElementVNode("br",null,null,-1)),_hoisted_4={class:"document-inputs"},_hoisted_5={class:"page-name side-by-side"},_hoisted_6={class:"url-slug side-by-side"},_hoisted_7={key:2,class:"documentation-status"},_hoisted_8={class:"button-spacing"},_sfc_main$1=vue.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(Ea,{emit:Ua}){const nA=Ea,aA=Ua,{i18n:rA}=composables$1.useI18n(),oA=vue.computed(()=>{var RA;return(RA=nA.record.file)==null?void 0:RA.filename}),AA=vue.computed(()=>{var RA;return xA.value?(RA=xA.value.name)==null?void 0:RA.split(".")[0]:""}),pA=vue.ref(!0),mA=vue.computed(()=>pA.value?"published":"unpublished"),gA=vue.reactive({fileName:"",pageName:"",urlSlug:"",status:mA.value,parent:""}),hA=/^[\w-]+$/,bA=vue.computed(()=>{var RA;return gA.urlSlug!==""&&!((RA=gA.urlSlug)!=null&&RA.match(hA))}),yA=vue.computed(()=>{var HA;let RA=(HA=nA.documents)==null?void 0:HA.filter(SA=>{var WA;return SA.record.id!==((WA=nA.record)==null?void 0:WA.id)&&!SA.record.parent_document_id}).map(SA=>({label:SA.record.title,value:SA.record.id,selected:!1}));RA||(RA=[]);const FA=cloneDeep(RA.length);return RA.push({label:rA.t("documentation.form_modal.parent_document_select_option_none"),value:"none",selected:!FA}),RA}),EA=vue.computed(()=>!nA.editing&&!xA.value||!gA.pageName||bA.value),_A=vue.computed(()=>nA.editing?rA.t("documentation.form_modal.edit_title"):rA.t("documentation.form_modal.create_title")),IA=vue.computed(()=>nA.editing?rA.t("documentation.form_modal.replace_file_button_text"):rA.t("documentation.form_modal.filename_button_text")),DA=vue.computed(()=>mA.value==="published"?rA.t("documentation.common.published"):rA.t("documentation.common.unpublished")),xA=vue.ref(null),$A=RA=>{xA.value=RA==null?void 0:RA[0],gA.fileName=AA.value,gA.pageName=gA.pageName?gA.pageName:AA.value,gA.urlSlug=gA.urlSlug?gA.urlSlug:AA.value},MA=()=>{xA.value=null},NA=()=>{aA("cancel"),qA()},TA=()=>{aA("save",Object.assign(gA,{status:mA.value}),xA)},qA=()=>{var RA,FA,HA,SA,WA;if(xA.value=null,nA.editing&&((RA=nA.record)!=null&&RA.document)){const jA=cloneDeep(nA.record),UA=jA.status||nA.record.document.status||pA.value;gA.fileName=((FA=jA.document.file)==null?void 0:FA.filename)||((SA=(HA=jA.document.revision)==null?void 0:HA.file)==null?void 0:SA.filename),gA.pageName=jA.document.title||((WA=jA.document.revision)==null?void 0:WA.title),gA.urlSlug=jA.document.slug,gA.parent=jA.document.parent_document_id,gA.status=UA,pA.value=UA==="published"}else gA.fileName="",gA.pageName="",gA.urlSlug="",gA.parent="",gA.status=""};return vue.onMounted(()=>{qA()}),(RA,FA)=>{const HA=vue.resolveComponent("KExternalLink"),SA=vue.resolveComponent("KAlert"),WA=vue.resolveComponent("KFileUpload"),jA=vue.resolveComponent("KInput"),UA=vue.resolveComponent("KLabel"),kl=vue.resolveComponent("KInputSwitch"),Pl=vue.resolveComponent("KSelect"),$l=vue.resolveComponent("KButton"),Hl=vue.resolveComponent("KModal");return vue.openBlock(),vue.createBlock(vue.Teleport,{to:"#kong-ui-app-layout-teleport-default-slot"},[vue.createVNode(Hl,{class:"edit-document-modal","data-testid":"edit-document-modal","max-width":"750px",visible:"",onCancel:NA,onProceed:TA},{title:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1,[vue.createTextVNode(vue.toDisplayString(_A.value)+" ",1),vue.createElementVNode("div",_hoisted_2$1,[vue.createTextVNode(vue.toDisplayString(vue.unref(rA).t("documentation.form_modal.subtitle"))+" ",1),_hoisted_3$1,vue.createVNode(HA,{class:"doc-link",href:vue.unref(externalLinks).serviceDocumentationDocs},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(rA).t("documentation.form_modal.documentation_link_text")),1)]),_:1},8,["href"])])])]),default:vue.withCtx(()=>[Ea.errorMessage?(vue.openBlock(),vue.createBlock(SA,{key:0,appearance:"danger",class:"bottom-spacing",message:Ea.errorMessage},null,8,["message"])):vue.createCommentVNode("",!0),Ea.editing?(vue.openBlock(),vue.createBlock(SA,{key:1,appearance:"info",class:"bottom-spacing",message:vue.unref(rA).t("documentation.form_modal.edit_markdown"),"show-icon":""},null,8,["message"])):vue.createCommentVNode("",!0),vue.createVNode(WA,{accept:[".md",".markdown"],"button-text":IA.value,class:"document-file-upload","data-testid":"document-file-upload",label:vue.unref(rA).t("documentation.form_modal.file_label"),"label-attributes":{info:vue.unref(rA).t("documentation.form_modal.file_tooltip")},placeholder:Ea.editing?oA.value:void 0,onFileAdded:$A,onFileRemoved:MA},null,8,["accept","button-text","label","label-attributes","placeholder"]),vue.createElementVNode("div",_hoisted_4,[vue.createElementVNode("div",_hoisted_5,[vue.createVNode(jA,{modelValue:gA.pageName,"onUpdate:modelValue":FA[0]||(FA[0]=XA=>gA.pageName=XA),modelModifiers:{trim:!0},"data-testid":"documentation-page-name",label:vue.unref(rA).t("documentation.form_modal.title_label"),placeholder:vue.unref(rA).t("documentation.form_modal.title_placeholder"),required:""},null,8,["modelValue","label","placeholder"])]),vue.createElementVNode("div",_hoisted_6,[vue.createVNode(jA,{modelValue:gA.urlSlug,"onUpdate:modelValue":FA[1]||(FA[1]=XA=>gA.urlSlug=XA),modelModifiers:{trim:!0},"data-testid":"documentation-url-slug","error-message":vue.unref(rA).t("documentation.form_modal.slug_error"),"has-error":bA.value,label:vue.unref(rA).t("documentation.form_modal.slug_label"),pattern:hA,placeholder:vue.unref(rA).t("documentation.form_modal.slug_placeholder")},null,8,["modelValue","error-message","has-error","label","placeholder"])])]),Ea.hidePublishToggle?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",_hoisted_7,[vue.createElementVNode("div",null,[vue.createVNode(UA,null,{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(rA).t("documentation.form_modal.status_label")),1)]),_:1})]),vue.createVNode(kl,{modelValue:pA.value,"onUpdate:modelValue":FA[2]||(FA[2]=XA=>pA.value=XA),"data-testid":"documentation-status",label:DA.value},null,8,["modelValue","label"])])),vue.createVNode(Pl,{modelValue:gA.parent,"onUpdate:modelValue":FA[3]||(FA[3]=XA=>gA.parent=XA),class:"document-parent-select","data-testid":"documentation-parent","enable-filtering":"",items:yA.value,label:vue.unref(rA).t("documentation.form_modal.parent_document_select_label"),width:"100%"},null,8,["modelValue","items","label"])]),footer:vue.withCtx(()=>[Ea.editing?(vue.openBlock(),vue.createBlock($l,{key:0,appearance:"danger",class:"edit-documentation-delete-button","data-testid":"edit-documentation-delete-button",disabled:Ea.actionPending,onClick:FA[4]||(FA[4]=XA=>aA("delete"))},{default:vue.withCtx(()=>[Ea.actionPending?(vue.openBlock(),vue.createBlock(vue.unref(W9),{key:0})):vue.createCommentVNode("",!0),vue.createTextVNode(" "+vue.toDisplayString(vue.unref(rA).t("documentation.form_modal.delete_button_text")),1)]),_:1},8,["disabled"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_8,[vue.createVNode($l,{appearance:"tertiary",class:"edit-documentation-cancel-button","data-testid":"edit-documentation-cancel-button",onClick:NA},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(rA).t("documentation.form_modal.cancel_button_text")),1)]),_:1}),vue.createVNode($l,{appearance:"primary","data-testid":"edit-documentation-save-button",disabled:Ea.actionPending||EA.value,onClick:TA},{default:vue.withCtx(()=>[Ea.actionPending?(vue.openBlock(),vue.createBlock(vue.unref(W9),{key:0})):vue.createCommentVNode("",!0),vue.createTextVNode(" "+vue.toDisplayString(vue.unref(rA).t("documentation.form_modal.save_button_text")),1)]),_:1},8,["disabled"])])]),_:1})])}}}),ProductDocumentModal=_export_sfc(_sfc_main$1,[["__scopeId","data-v-1e755eef"]]),_hoisted_1={class:"documentation"},_hoisted_2={key:0},_hoisted_3={key:1,class:"documentation-parent-container"},_sfc_main=vue.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},emptyStateCard:{type:Boolean,default:!1},entityId:{type:String,required:!0},hidePublishToggle:{type:Boolean,default:!1},modalErrorMessage:{type:String,default:""},selectedDocument:{type:Object,default:()=>null}},emits:["child-change","delete","download","edit","document-selection","modal-closed","parent-change","save","edit-markdown","save-markdown","toggle-published"],setup(Ea,{emit:Ua}){const nA=Ua,aA=vue.ref(!1),rA=vue.ref(!1),oA=Ea;vue.watch(()=>oA.actionSuccess,bA=>{bA&&hA()});const AA=vue.computed(()=>{var bA,yA;return`data-display-${oA.cacheKey}-${((yA=(bA=oA.selectedDocument)==null?void 0:bA.document)==null?void 0:yA.id)||""}`}),pA=()=>{rA.value=!1,aA.value=!0},mA=()=>{rA.value=!0,aA.value=!0,nA("edit")},gA=bA=>{rA.value=bA,rA.value===!0&&nA("edit")},hA=()=>{aA.value=!1,nA("modal-closed")};return(bA,yA)=>{const EA=vue.resolveComponent("KCard"),_A=vue.resolveComponent("KTreeList");return vue.openBlock(),vue.createElementBlock("div",_hoisted_1,[Ea.documentList&&!Ea.documentList.length?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2,[Ea.emptyStateCard?(vue.openBlock(),vue.createBlock(EA,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2,{"can-edit":Ea.canEdit,onCreateDocumentation:pA},null,8,["can-edit"])]),_:1})):(vue.openBlock(),vue.createBlock(_sfc_main$2,{key:1,"can-edit":Ea.canEdit,onCreateDocumentation:pA},null,8,["can-edit"]))])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_3,[(vue.openBlock(),vue.createBlock(_A,{key:`tree-list-${Ea.cacheKey}`,class:"document-tree-list",items:Ea.documentList,"max-depth":2,onChange:yA[0]||(yA[0]=IA=>nA("parent-change",IA)),onChildChange:yA[1]||(yA[1]=IA=>nA("child-change",IA)),onSelected:yA[2]||(yA[2]=IA=>nA("document-selection",IA))},null,8,["items"])),Ea.selectedDocument?(vue.openBlock(),vue.createBlock(DocumentationDisplay,{key:AA.value,"can-edit":Ea.canEdit,card:Ea.card,class:"document-holder","hide-publish-toggle":Ea.hidePublishToggle,"selected-document":Ea.selectedDocument,onAdd:pA,onDownload:yA[3]||(yA[3]=IA=>nA("download")),onEdit:mA,onEditMarkdown:gA,onSaveMarkdown:yA[4]||(yA[4]=IA=>nA("save-markdown",IA)),onTogglePublished:yA[5]||(yA[5]=IA=>nA("toggle-published",IA))},null,8,["can-edit","card","hide-publish-toggle","selected-document"])):vue.createCommentVNode("",!0)])),aA.value?(vue.openBlock(),vue.createBlock(ProductDocumentModal,{key:2,"action-pending":Ea.actionPending,documents:Ea.documentList,editing:rA.value,"error-message":Ea.modalErrorMessage,"hide-publish-toggle":Ea.hidePublishToggle,record:rA.value&&Ea.selectedDocument?Ea.selectedDocument:void 0,onCancel:hA,onDelete:yA[6]||(yA[6]=IA=>nA("delete")),onSave:yA[7]||(yA[7]=(IA,DA)=>nA("save",IA,DA))},null,8,["action-pending","documents","editing","error-message","hide-publish-toggle","record"])):vue.createCommentVNode("",!0)])}}}),DocumentationContent=_export_sfc(_sfc_main,[["__scopeId","data-v-4267465b"]]);var e$P=Object.freeze({colors:{"activityBar.activeBorder":"#80CBC4","activityBar.background":"#FAFAFA","activityBar.border":"#FAFAFA60","activityBar.dropBackground":"#E5393580","activityBar.foreground":"#90A4AE","activityBarBadge.background":"#80CBC4","activityBarBadge.foreground":"#000000","badge.background":"#CCD7DA30","badge.foreground":"#90A4AE","breadcrumb.activeSelectionForeground":"#80CBC4","breadcrumb.background":"#FAFAFA","breadcrumb.focusForeground":"#90A4AE","breadcrumb.foreground":"#758a95","breadcrumbPicker.background":"#FAFAFA","button.background":"#80CBC440","button.foreground":"#ffffff","debugConsole.errorForeground":"#E53935","debugConsole.infoForeground":"#39ADB5","debugConsole.warningForeground":"#E2931D","debugToolBar.background":"#FAFAFA","diffEditor.insertedTextBackground":"#39ADB520","diffEditor.removedTextBackground":"#FF537020","dropdown.background":"#FAFAFA","dropdown.border":"#00000010","editor.background":"#FAFAFA","editor.findMatchBackground":"#00000020","editor.findMatchBorder":"#80CBC4","editor.findMatchHighlight":"#90A4AE","editor.findMatchHighlightBackground":"#00000010","editor.findMatchHighlightBorder":"#00000030","editor.findRangeHighlightBackground":"#E2931D30","editor.foreground":"#90A4AE","editor.lineHighlightBackground":"#CCD7DA50","editor.lineHighlightBorder":"#CCD7DA00","editor.rangeHighlightBackground":"#FFFFFF0d","editor.selectionBackground":"#80CBC440","editor.selectionHighlightBackground":"#27272720","editor.wordHighlightBackground":"#FF537030","editor.wordHighlightStrongBackground":"#91B85930","editorBracketMatch.background":"#FAFAFA","editorBracketMatch.border":"#27272750","editorCursor.foreground":"#272727","editorError.foreground":"#E5393570","editorGroup.border":"#00000020","editorGroup.dropBackground":"#E5393580","editorGroup.focusedEmptyBorder":"#E53935","editorGroupHeader.tabsBackground":"#FAFAFA","editorGutter.addedBackground":"#91B85960","editorGutter.deletedBackground":"#E5393560","editorGutter.modifiedBackground":"#6182B860","editorHoverWidget.background":"#FAFAFA","editorHoverWidget.border":"#00000010","editorIndentGuide.activeBackground":"#B0BEC5","editorIndentGuide.background":"#B0BEC570","editorInfo.foreground":"#6182B870","editorLineNumber.activeForeground":"#758a95","editorLineNumber.foreground":"#CFD8DC","editorLink.activeForeground":"#90A4AE","editorMarkerNavigation.background":"#90A4AE05","editorOverviewRuler.border":"#FAFAFA","editorOverviewRuler.errorForeground":"#E5393540","editorOverviewRuler.findMatchForeground":"#80CBC4","editorOverviewRuler.infoForeground":"#6182B840","editorOverviewRuler.warningForeground":"#E2931D40","editorRuler.foreground":"#B0BEC5","editorSuggestWidget.background":"#FAFAFA","editorSuggestWidget.border":"#00000010","editorSuggestWidget.foreground":"#90A4AE","editorSuggestWidget.highlightForeground":"#80CBC4","editorSuggestWidget.selectedBackground":"#CCD7DA50","editorWarning.foreground":"#E2931D70","editorWhitespace.foreground":"#90A4AE40","editorWidget.background":"#FAFAFA","editorWidget.border":"#80CBC4","editorWidget.resizeBorder":"#80CBC4","extensionBadge.remoteForeground":"#90A4AE","extensionButton.prominentBackground":"#91B85990","extensionButton.prominentForeground":"#90A4AE","extensionButton.prominentHoverBackground":"#91B859",focusBorder:"#FFFFFF00",foreground:"#90A4AE","gitDecoration.conflictingResourceForeground":"#E2931D90","gitDecoration.deletedResourceForeground":"#E5393590","gitDecoration.ignoredResourceForeground":"#758a9590","gitDecoration.modifiedResourceForeground":"#6182B890","gitDecoration.untrackedResourceForeground":"#91B85990","input.background":"#EEEEEE","input.border":"#00000010","input.foreground":"#90A4AE","input.placeholderForeground":"#90A4AE60","inputOption.activeBackground":"#90A4AE30","inputOption.activeBorder":"#90A4AE30","inputValidation.errorBorder":"#E53935","inputValidation.infoBorder":"#6182B8","inputValidation.warningBorder":"#E2931D","list.activeSelectionBackground":"#FAFAFA","list.activeSelectionForeground":"#80CBC4","list.dropBackground":"#E5393580","list.focusBackground":"#90A4AE20","list.focusForeground":"#90A4AE","list.highlightForeground":"#80CBC4","list.hoverBackground":"#FAFAFA","list.hoverForeground":"#B1C7D3","list.inactiveSelectionBackground":"#CCD7DA50","list.inactiveSelectionForeground":"#80CBC4","listFilterWidget.background":"#CCD7DA50","listFilterWidget.noMatchesOutline":"#CCD7DA50","listFilterWidget.outline":"#CCD7DA50","menu.background":"#FAFAFA","menu.foreground":"#90A4AE","menu.selectionBackground":"#CCD7DA50","menu.selectionBorder":"#CCD7DA50","menu.selectionForeground":"#80CBC4","menu.separatorBackground":"#90A4AE","menubar.selectionBackground":"#CCD7DA50","menubar.selectionBorder":"#CCD7DA50","menubar.selectionForeground":"#80CBC4","notebook.focusedCellBorder":"#80CBC4","notebook.inactiveFocusedCellBorder":"#80CBC450","notificationLink.foreground":"#80CBC4","notifications.background":"#FAFAFA","notifications.foreground":"#90A4AE","panel.background":"#FAFAFA","panel.border":"#FAFAFA60","panel.dropBackground":"#90A4AE","panelTitle.activeBorder":"#80CBC4","panelTitle.activeForeground":"#000000","panelTitle.inactiveForeground":"#90A4AE","peekView.border":"#00000020","peekViewEditor.background":"#90A4AE05","peekViewEditor.matchHighlightBackground":"#80CBC440","peekViewEditorGutter.background":"#90A4AE05","peekViewResult.background":"#90A4AE05","peekViewResult.matchHighlightBackground":"#80CBC440","peekViewResult.selectionBackground":"#758a9570","peekViewTitle.background":"#90A4AE05","peekViewTitleDescription.foreground":"#90A4AE60","pickerGroup.border":"#FFFFFF1a","pickerGroup.foreground":"#80CBC4","progressBar.background":"#80CBC4","quickInput.background":"#FAFAFA","quickInput.foreground":"#758a95","quickInput.list.focusBackground":"#90A4AE20","sash.hoverBorder":"#80CBC450","scrollbar.shadow":"#00000020","scrollbarSlider.activeBackground":"#80CBC4","scrollbarSlider.background":"#90A4AE20","scrollbarSlider.hoverBackground":"#90A4AE10","selection.background":"#CCD7DA80","settings.checkboxBackground":"#FAFAFA","settings.checkboxForeground":"#90A4AE","settings.dropdownBackground":"#FAFAFA","settings.dropdownForeground":"#90A4AE","settings.headerForeground":"#80CBC4","settings.modifiedItemIndicator":"#80CBC4","settings.numberInputBackground":"#FAFAFA","settings.numberInputForeground":"#90A4AE","settings.textInputBackground":"#FAFAFA","settings.textInputForeground":"#90A4AE","sideBar.background":"#FAFAFA","sideBar.border":"#FAFAFA60","sideBar.foreground":"#758a95","sideBarSectionHeader.background":"#FAFAFA","sideBarSectionHeader.border":"#FAFAFA60","sideBarTitle.foreground":"#90A4AE","statusBar.background":"#FAFAFA","statusBar.border":"#FAFAFA60","statusBar.debuggingBackground":"#9C3EDA","statusBar.debuggingForeground":"#FFFFFF","statusBar.foreground":"#7E939E","statusBar.noFolderBackground":"#FAFAFA","statusBarItem.activeBackground":"#E5393580","statusBarItem.hoverBackground":"#90A4AE20","statusBarItem.remoteBackground":"#80CBC4","statusBarItem.remoteForeground":"#000000","tab.activeBackground":"#FAFAFA","tab.activeBorder":"#80CBC4","tab.activeForeground":"#000000","tab.activeModifiedBorder":"#758a95","tab.border":"#FAFAFA","tab.inactiveBackground":"#FAFAFA","tab.inactiveForeground":"#758a95","tab.inactiveModifiedBorder":"#89221f","tab.unfocusedActiveBorder":"#90A4AE","tab.unfocusedActiveForeground":"#90A4AE","tab.unfocusedActiveModifiedBorder":"#b72d2a","tab.unfocusedInactiveModifiedBorder":"#89221f","terminal.ansiBlack":"#000000","terminal.ansiBlue":"#6182B8","terminal.ansiBrightBlack":"#90A4AE","terminal.ansiBrightBlue":"#6182B8","terminal.ansiBrightCyan":"#39ADB5","terminal.ansiBrightGreen":"#91B859","terminal.ansiBrightMagenta":"#9C3EDA","terminal.ansiBrightRed":"#E53935","terminal.ansiBrightWhite":"#FFFFFF","terminal.ansiBrightYellow":"#E2931D","terminal.ansiCyan":"#39ADB5","terminal.ansiGreen":"#91B859","terminal.ansiMagenta":"#9C3EDA","terminal.ansiRed":"#E53935","terminal.ansiWhite":"#FFFFFF","terminal.ansiYellow":"#E2931D","terminalCursor.background":"#000000","terminalCursor.foreground":"#E2931D","textLink.activeForeground":"#90A4AE","textLink.foreground":"#80CBC4","titleBar.activeBackground":"#FAFAFA","titleBar.activeForeground":"#90A4AE","titleBar.border":"#FAFAFA60","titleBar.inactiveBackground":"#FAFAFA","titleBar.inactiveForeground":"#758a95","tree.indentGuidesStroke":"#B0BEC5","widget.shadow":"#00000020"},displayName:"Material Theme Lighter",name:"material-theme-lighter",semanticHighlighting:!0,tokenColors:[{settings:{background:"#FAFAFA",foreground:"#90A4AE"}},{scope:"string",settings:{foreground:"#91B859"}},{scope:"punctuation, constant.other.symbol",settings:{foreground:"#39ADB5"}},{scope:"constant.character.escape, text.html constant.character.entity.named",settings:{foreground:"#90A4AE"}},{scope:"constant.language.boolean",settings:{foreground:"#FF5370"}},{scope:"constant.numeric",settings:{foreground:"#F76D47"}},{scope:"variable, variable.parameter, support.variable, variable.language, support.constant, meta.definition.variable entity.name.function, meta.function-call.arguments",settings:{foreground:"#90A4AE"}},{scope:"keyword.other",settings:{foreground:"#F76D47"}},{scope:"keyword, modifier, variable.language.this, support.type.object, constant.language",settings:{foreground:"#39ADB5"}},{scope:"entity.name.function, support.function",settings:{foreground:"#6182B8"}},{scope:"storage.type, storage.modifier, storage.control",settings:{foreground:"#9C3EDA"}},{scope:"support.module, support.node",settings:{fontStyle:"italic",foreground:"#E53935"}},{scope:"support.type, constant.other.key",settings:{foreground:"#E2931D"}},{scope:"entity.name.type, entity.other.inherited-class, entity.other",settings:{foreground:"#E2931D"}},{scope:"comment",settings:{fontStyle:"italic",foreground:"#90A4AE"}},{scope:"comment punctuation.definition.comment, string.quoted.docstring",settings:{fontStyle:"italic",foreground:"#90A4AE"}},{scope:"punctuation",settings:{foreground:"#39ADB5"}},{scope:"entity.name, entity.name.type.class, support.type, support.class, meta.use",settings:{foreground:"#E2931D"}},{scope:"variable.object.property, meta.field.declaration entity.name.function",settings:{foreground:"#E53935"}},{scope:"meta.definition.method entity.name.function",settings:{foreground:"#E53935"}},{scope:"meta.function entity.name.function",settings:{foreground:"#6182B8"}},{scope:"template.expression.begin, template.expression.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end",settings:{foreground:"#39ADB5"}},{scope:"meta.embedded, source.groovy.embedded, meta.template.expression",settings:{foreground:"#90A4AE"}},{scope:"entity.name.tag.yaml",settings:{foreground:"#E53935"}},{scope:"meta.object-literal.key, meta.object-literal.key string, support.type.property-name.json",settings:{foreground:"#E53935"}},{scope:"constant.language.json",settings:{foreground:"#39ADB5"}},{scope:"entity.other.attribute-name.class",settings:{foreground:"#E2931D"}},{scope:"entity.other.attribute-name.id",settings:{foreground:"#F76D47"}},{scope:"source.css entity.name.tag",settings:{foreground:"#E2931D"}},{scope:"support.type.property-name.css",settings:{foreground:"#8796B0"}},{scope:"meta.tag, punctuation.definition.tag",settings:{foreground:"#39ADB5"}},{scope:"entity.name.tag",settings:{foreground:"#E53935"}},{scope:"entity.other.attribute-name",settings:{foreground:"#9C3EDA"}},{scope:"punctuation.definition.entity.html",settings:{foreground:"#90A4AE"}},{scope:"markup.heading",settings:{foreground:"#39ADB5"}},{scope:"text.html.markdown meta.link.inline, meta.link.reference",settings:{foreground:"#E53935"}},{scope:"text.html.markdown beginning.punctuation.definition.list",settings:{foreground:"#39ADB5"}},{scope:"markup.italic",settings:{fontStyle:"italic",foreground:"#E53935"}},{scope:"markup.bold",settings:{fontStyle:"bold",foreground:"#E53935"}},{scope:"markup.bold markup.italic, markup.italic markup.bold",settings:{fontStyle:"italic bold",foreground:"#E53935"}},{scope:"markup.fenced_code.block.markdown punctuation.definition.markdown",settings:{foreground:"#91B859"}},{scope:"markup.inline.raw.string.markdown",settings:{foreground:"#91B859"}},{scope:"keyword.other.definition.ini",settings:{foreground:"#E53935"}},{scope:"entity.name.section.group-title.ini",settings:{foreground:"#39ADB5"}},{scope:"source.cs meta.class.identifier storage.type",settings:{foreground:"#E2931D"}},{scope:"source.cs meta.method.identifier entity.name.function",settings:{foreground:"#E53935"}},{scope:"source.cs meta.method-call meta.method, source.cs entity.name.function",settings:{foreground:"#6182B8"}},{scope:"source.cs storage.type",settings:{foreground:"#E2931D"}},{scope:"source.cs meta.method.return-type",settings:{foreground:"#E2931D"}},{scope:"source.cs meta.preprocessor",settings:{foreground:"#90A4AE"}},{scope:"source.cs entity.name.type.namespace",settings:{foreground:"#90A4AE"}},{scope:"meta.jsx.children, SXNested",settings:{foreground:"#90A4AE"}},{scope:"support.class.component",settings:{foreground:"#E2931D"}},{scope:"source.cpp meta.block variable.other",settings:{foreground:"#90A4AE"}},{scope:"source.python meta.member.access.python",settings:{foreground:"#E53935"}},{scope:"source.python meta.function-call.python, meta.function-call.arguments",settings:{foreground:"#6182B8"}},{scope:"meta.block",settings:{foreground:"#E53935"}},{scope:"entity.name.function.call",settings:{foreground:"#6182B8"}},{scope:"source.php support.other.namespace, source.php meta.use support.class",settings:{foreground:"#90A4AE"}},{scope:"constant.keyword",settings:{fontStyle:"italic",foreground:"#39ADB5"}},{scope:"entity.name.function",settings:{foreground:"#6182B8"}},{settings:{background:"#FAFAFA",foreground:"#90A4AE"}},{scope:["constant.other.placeholder"],settings:{foreground:"#E53935"}},{scope:["markup.deleted"],settings:{foreground:"#E53935"}},{scope:["markup.inserted"],settings:{foreground:"#91B859"}},{scope:["markup.underline"],settings:{fontStyle:"underline"}},{scope:["keyword.control"],settings:{fontStyle:"italic",foreground:"#39ADB5"}},{scope:["variable.parameter"],settings:{fontStyle:"italic"}},{scope:["variable.parameter.function.language.special.self.python"],settings:{fontStyle:"italic",foreground:"#E53935"}},{scope:["constant.character.format.placeholder.other.python"],settings:{foreground:"#F76D47"}},{scope:["markup.quote"],settings:{fontStyle:"italic",foreground:"#39ADB5"}},{scope:["markup.fenced_code.block"],settings:{foreground:"#90A4AE90"}},{scope:["punctuation.definition.quote"],settings:{foreground:"#FF5370"}},{scope:["meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#9C3EDA"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#E2931D"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#F76D47"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#E53935"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#916b53"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#6182B8"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#FF5370"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#9C3EDA"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#91B859"}}],type:"light"});const materialThemeLighterBRE1Bis3=Object.freeze(Object.defineProperty({__proto__:null,default:e$P},Symbol.toStringTag,{value:"Module"}));var e$O=Object.freeze({colors:{"activityBar.activeBorder":"#80CBC4","activityBar.background":"#292D3E","activityBar.border":"#292D3E60","activityBar.dropBackground":"#f0717880","activityBar.foreground":"#babed8","activityBarBadge.background":"#80CBC4","activityBarBadge.foreground":"#000000","badge.background":"#00000030","badge.foreground":"#676E95","breadcrumb.activeSelectionForeground":"#80CBC4","breadcrumb.background":"#292D3E","breadcrumb.focusForeground":"#babed8","breadcrumb.foreground":"#676E95","breadcrumbPicker.background":"#292D3E","button.background":"#717CB450","button.foreground":"#ffffff","debugConsole.errorForeground":"#f07178","debugConsole.infoForeground":"#89DDFF","debugConsole.warningForeground":"#FFCB6B","debugToolBar.background":"#292D3E","diffEditor.insertedTextBackground":"#89DDFF20","diffEditor.removedTextBackground":"#ff9cac20","dropdown.background":"#292D3E","dropdown.border":"#FFFFFF10","editor.background":"#292D3E","editor.findMatchBackground":"#000000","editor.findMatchBorder":"#80CBC4","editor.findMatchHighlight":"#babed8","editor.findMatchHighlightBackground":"#00000050","editor.findMatchHighlightBorder":"#ffffff30","editor.findRangeHighlightBackground":"#FFCB6B30","editor.foreground":"#babed8","editor.lineHighlightBackground":"#00000050","editor.lineHighlightBorder":"#00000000","editor.rangeHighlightBackground":"#FFFFFF0d","editor.selectionBackground":"#717CB450","editor.selectionHighlightBackground":"#FFCC0020","editor.wordHighlightBackground":"#ff9cac30","editor.wordHighlightStrongBackground":"#C3E88D30","editorBracketMatch.background":"#292D3E","editorBracketMatch.border":"#FFCC0050","editorCursor.foreground":"#FFCC00","editorError.foreground":"#f0717870","editorGroup.border":"#00000030","editorGroup.dropBackground":"#f0717880","editorGroup.focusedEmptyBorder":"#f07178","editorGroupHeader.tabsBackground":"#292D3E","editorGutter.addedBackground":"#C3E88D60","editorGutter.deletedBackground":"#f0717860","editorGutter.modifiedBackground":"#82AAFF60","editorHoverWidget.background":"#292D3E","editorHoverWidget.border":"#FFFFFF10","editorIndentGuide.activeBackground":"#4E5579","editorIndentGuide.background":"#4E557970","editorInfo.foreground":"#82AAFF70","editorLineNumber.activeForeground":"#676E95","editorLineNumber.foreground":"#3A3F58","editorLink.activeForeground":"#babed8","editorMarkerNavigation.background":"#babed805","editorOverviewRuler.border":"#292D3E","editorOverviewRuler.errorForeground":"#f0717840","editorOverviewRuler.findMatchForeground":"#80CBC4","editorOverviewRuler.infoForeground":"#82AAFF40","editorOverviewRuler.warningForeground":"#FFCB6B40","editorRuler.foreground":"#4E5579","editorSuggestWidget.background":"#292D3E","editorSuggestWidget.border":"#FFFFFF10","editorSuggestWidget.foreground":"#babed8","editorSuggestWidget.highlightForeground":"#80CBC4","editorSuggestWidget.selectedBackground":"#00000050","editorWarning.foreground":"#FFCB6B70","editorWhitespace.foreground":"#babed840","editorWidget.background":"#292D3E","editorWidget.border":"#80CBC4","editorWidget.resizeBorder":"#80CBC4","extensionBadge.remoteForeground":"#babed8","extensionButton.prominentBackground":"#C3E88D90","extensionButton.prominentForeground":"#babed8","extensionButton.prominentHoverBackground":"#C3E88D",focusBorder:"#FFFFFF00",foreground:"#babed8","gitDecoration.conflictingResourceForeground":"#FFCB6B90","gitDecoration.deletedResourceForeground":"#f0717890","gitDecoration.ignoredResourceForeground":"#676E9590","gitDecoration.modifiedResourceForeground":"#82AAFF90","gitDecoration.untrackedResourceForeground":"#C3E88D90","input.background":"#333747","input.border":"#FFFFFF10","input.foreground":"#babed8","input.placeholderForeground":"#babed860","inputOption.activeBackground":"#babed830","inputOption.activeBorder":"#babed830","inputValidation.errorBorder":"#f07178","inputValidation.infoBorder":"#82AAFF","inputValidation.warningBorder":"#FFCB6B","list.activeSelectionBackground":"#292D3E","list.activeSelectionForeground":"#80CBC4","list.dropBackground":"#f0717880","list.focusBackground":"#babed820","list.focusForeground":"#babed8","list.highlightForeground":"#80CBC4","list.hoverBackground":"#292D3E","list.hoverForeground":"#FFFFFF","list.inactiveSelectionBackground":"#00000030","list.inactiveSelectionForeground":"#80CBC4","listFilterWidget.background":"#00000030","listFilterWidget.noMatchesOutline":"#00000030","listFilterWidget.outline":"#00000030","menu.background":"#292D3E","menu.foreground":"#babed8","menu.selectionBackground":"#00000050","menu.selectionBorder":"#00000030","menu.selectionForeground":"#80CBC4","menu.separatorBackground":"#babed8","menubar.selectionBackground":"#00000030","menubar.selectionBorder":"#00000030","menubar.selectionForeground":"#80CBC4","notebook.focusedCellBorder":"#80CBC4","notebook.inactiveFocusedCellBorder":"#80CBC450","notificationLink.foreground":"#80CBC4","notifications.background":"#292D3E","notifications.foreground":"#babed8","panel.background":"#292D3E","panel.border":"#292D3E60","panel.dropBackground":"#babed8","panelTitle.activeBorder":"#80CBC4","panelTitle.activeForeground":"#FFFFFF","panelTitle.inactiveForeground":"#babed8","peekView.border":"#00000030","peekViewEditor.background":"#babed805","peekViewEditor.matchHighlightBackground":"#717CB450","peekViewEditorGutter.background":"#babed805","peekViewResult.background":"#babed805","peekViewResult.matchHighlightBackground":"#717CB450","peekViewResult.selectionBackground":"#676E9570","peekViewTitle.background":"#babed805","peekViewTitleDescription.foreground":"#babed860","pickerGroup.border":"#FFFFFF1a","pickerGroup.foreground":"#80CBC4","progressBar.background":"#80CBC4","quickInput.background":"#292D3E","quickInput.foreground":"#676E95","quickInput.list.focusBackground":"#babed820","sash.hoverBorder":"#80CBC450","scrollbar.shadow":"#00000030","scrollbarSlider.activeBackground":"#80CBC4","scrollbarSlider.background":"#A6ACCD20","scrollbarSlider.hoverBackground":"#A6ACCD10","selection.background":"#00000080","settings.checkboxBackground":"#292D3E","settings.checkboxForeground":"#babed8","settings.dropdownBackground":"#292D3E","settings.dropdownForeground":"#babed8","settings.headerForeground":"#80CBC4","settings.modifiedItemIndicator":"#80CBC4","settings.numberInputBackground":"#292D3E","settings.numberInputForeground":"#babed8","settings.textInputBackground":"#292D3E","settings.textInputForeground":"#babed8","sideBar.background":"#292D3E","sideBar.border":"#292D3E60","sideBar.foreground":"#676E95","sideBarSectionHeader.background":"#292D3E","sideBarSectionHeader.border":"#292D3E60","sideBarTitle.foreground":"#babed8","statusBar.background":"#292D3E","statusBar.border":"#292D3E60","statusBar.debuggingBackground":"#C792EA","statusBar.debuggingForeground":"#ffffff","statusBar.foreground":"#676E95","statusBar.noFolderBackground":"#292D3E","statusBarItem.activeBackground":"#f0717880","statusBarItem.hoverBackground":"#676E9520","statusBarItem.remoteBackground":"#80CBC4","statusBarItem.remoteForeground":"#000000","tab.activeBackground":"#292D3E","tab.activeBorder":"#80CBC4","tab.activeForeground":"#FFFFFF","tab.activeModifiedBorder":"#676E95","tab.border":"#292D3E","tab.inactiveBackground":"#292D3E","tab.inactiveForeground":"#676E95","tab.inactiveModifiedBorder":"#904348","tab.unfocusedActiveBorder":"#676E95","tab.unfocusedActiveForeground":"#babed8","tab.unfocusedActiveModifiedBorder":"#c05a60","tab.unfocusedInactiveModifiedBorder":"#904348","terminal.ansiBlack":"#000000","terminal.ansiBlue":"#82AAFF","terminal.ansiBrightBlack":"#676E95","terminal.ansiBrightBlue":"#82AAFF","terminal.ansiBrightCyan":"#89DDFF","terminal.ansiBrightGreen":"#C3E88D","terminal.ansiBrightMagenta":"#C792EA","terminal.ansiBrightRed":"#f07178","terminal.ansiBrightWhite":"#ffffff","terminal.ansiBrightYellow":"#FFCB6B","terminal.ansiCyan":"#89DDFF","terminal.ansiGreen":"#C3E88D","terminal.ansiMagenta":"#C792EA","terminal.ansiRed":"#f07178","terminal.ansiWhite":"#ffffff","terminal.ansiYellow":"#FFCB6B","terminalCursor.background":"#000000","terminalCursor.foreground":"#FFCB6B","textLink.activeForeground":"#babed8","textLink.foreground":"#80CBC4","titleBar.activeBackground":"#292D3E","titleBar.activeForeground":"#babed8","titleBar.border":"#292D3E60","titleBar.inactiveBackground":"#292D3E","titleBar.inactiveForeground":"#676E95","tree.indentGuidesStroke":"#4E5579","widget.shadow":"#00000030"},displayName:"Material Theme Palenight",name:"material-theme-palenight",semanticHighlighting:!0,tokenColors:[{settings:{background:"#292D3E",foreground:"#babed8"}},{scope:"string",settings:{foreground:"#C3E88D"}},{scope:"punctuation, constant.other.symbol",settings:{foreground:"#89DDFF"}},{scope:"constant.character.escape, text.html constant.character.entity.named",settings:{foreground:"#babed8"}},{scope:"constant.language.boolean",settings:{foreground:"#ff9cac"}},{scope:"constant.numeric",settings:{foreground:"#F78C6C"}},{scope:"variable, variable.parameter, support.variable, variable.language, support.constant, meta.definition.variable entity.name.function, meta.function-call.arguments",settings:{foreground:"#babed8"}},{scope:"keyword.other",settings:{foreground:"#F78C6C"}},{scope:"keyword, modifier, variable.language.this, support.type.object, constant.language",settings:{foreground:"#89DDFF"}},{scope:"entity.name.function, support.function",settings:{foreground:"#82AAFF"}},{scope:"storage.type, storage.modifier, storage.control",settings:{foreground:"#C792EA"}},{scope:"support.module, support.node",settings:{fontStyle:"italic",foreground:"#f07178"}},{scope:"support.type, constant.other.key",settings:{foreground:"#FFCB6B"}},{scope:"entity.name.type, entity.other.inherited-class, entity.other",settings:{foreground:"#FFCB6B"}},{scope:"comment",settings:{fontStyle:"italic",foreground:"#676E95"}},{scope:"comment punctuation.definition.comment, string.quoted.docstring",settings:{fontStyle:"italic",foreground:"#676E95"}},{scope:"punctuation",settings:{foreground:"#89DDFF"}},{scope:"entity.name, entity.name.type.class, support.type, support.class, meta.use",settings:{foreground:"#FFCB6B"}},{scope:"variable.object.property, meta.field.declaration entity.name.function",settings:{foreground:"#f07178"}},{scope:"meta.definition.method entity.name.function",settings:{foreground:"#f07178"}},{scope:"meta.function entity.name.function",settings:{foreground:"#82AAFF"}},{scope:"template.expression.begin, template.expression.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end",settings:{foreground:"#89DDFF"}},{scope:"meta.embedded, source.groovy.embedded, meta.template.expression",settings:{foreground:"#babed8"}},{scope:"entity.name.tag.yaml",settings:{foreground:"#f07178"}},{scope:"meta.object-literal.key, meta.object-literal.key string, support.type.property-name.json",settings:{foreground:"#f07178"}},{scope:"constant.language.json",settings:{foreground:"#89DDFF"}},{scope:"entity.other.attribute-name.class",settings:{foreground:"#FFCB6B"}},{scope:"entity.other.attribute-name.id",settings:{foreground:"#F78C6C"}},{scope:"source.css entity.name.tag",settings:{foreground:"#FFCB6B"}},{scope:"support.type.property-name.css",settings:{foreground:"#B2CCD6"}},{scope:"meta.tag, punctuation.definition.tag",settings:{foreground:"#89DDFF"}},{scope:"entity.name.tag",settings:{foreground:"#f07178"}},{scope:"entity.other.attribute-name",settings:{foreground:"#C792EA"}},{scope:"punctuation.definition.entity.html",settings:{foreground:"#babed8"}},{scope:"markup.heading",settings:{foreground:"#89DDFF"}},{scope:"text.html.markdown meta.link.inline, meta.link.reference",settings:{foreground:"#f07178"}},{scope:"text.html.markdown beginning.punctuation.definition.list",settings:{foreground:"#89DDFF"}},{scope:"markup.italic",settings:{fontStyle:"italic",foreground:"#f07178"}},{scope:"markup.bold",settings:{fontStyle:"bold",foreground:"#f07178"}},{scope:"markup.bold markup.italic, markup.italic markup.bold",settings:{fontStyle:"italic bold",foreground:"#f07178"}},{scope:"markup.fenced_code.block.markdown punctuation.definition.markdown",settings:{foreground:"#C3E88D"}},{scope:"markup.inline.raw.string.markdown",settings:{foreground:"#C3E88D"}},{scope:"keyword.other.definition.ini",settings:{foreground:"#f07178"}},{scope:"entity.name.section.group-title.ini",settings:{foreground:"#89DDFF"}},{scope:"source.cs meta.class.identifier storage.type",settings:{foreground:"#FFCB6B"}},{scope:"source.cs meta.method.identifier entity.name.function",settings:{foreground:"#f07178"}},{scope:"source.cs meta.method-call meta.method, source.cs entity.name.function",settings:{foreground:"#82AAFF"}},{scope:"source.cs storage.type",settings:{foreground:"#FFCB6B"}},{scope:"source.cs meta.method.return-type",settings:{foreground:"#FFCB6B"}},{scope:"source.cs meta.preprocessor",settings:{foreground:"#676E95"}},{scope:"source.cs entity.name.type.namespace",settings:{foreground:"#babed8"}},{scope:"meta.jsx.children, SXNested",settings:{foreground:"#babed8"}},{scope:"support.class.component",settings:{foreground:"#FFCB6B"}},{scope:"source.cpp meta.block variable.other",settings:{foreground:"#babed8"}},{scope:"source.python meta.member.access.python",settings:{foreground:"#f07178"}},{scope:"source.python meta.function-call.python, meta.function-call.arguments",settings:{foreground:"#82AAFF"}},{scope:"meta.block",settings:{foreground:"#f07178"}},{scope:"entity.name.function.call",settings:{foreground:"#82AAFF"}},{scope:"source.php support.other.namespace, source.php meta.use support.class",settings:{foreground:"#babed8"}},{scope:"constant.keyword",settings:{fontStyle:"italic",foreground:"#89DDFF"}},{scope:"entity.name.function",settings:{foreground:"#82AAFF"}},{settings:{background:"#292D3E",foreground:"#babed8"}},{scope:["constant.other.placeholder"],settings:{foreground:"#f07178"}},{scope:["markup.deleted"],settings:{foreground:"#f07178"}},{scope:["markup.inserted"],settings:{foreground:"#C3E88D"}},{scope:["markup.underline"],settings:{fontStyle:"underline"}},{scope:["keyword.control"],settings:{fontStyle:"italic",foreground:"#89DDFF"}},{scope:["variable.parameter"],settings:{fontStyle:"italic"}},{scope:["variable.parameter.function.language.special.self.python"],settings:{fontStyle:"italic",foreground:"#f07178"}},{scope:["constant.character.format.placeholder.other.python"],settings:{foreground:"#F78C6C"}},{scope:["markup.quote"],settings:{fontStyle:"italic",foreground:"#89DDFF"}},{scope:["markup.fenced_code.block"],settings:{foreground:"#babed890"}},{scope:["punctuation.definition.quote"],settings:{foreground:"#ff9cac"}},{scope:["meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#C792EA"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#FFCB6B"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#F78C6C"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#f07178"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#916b53"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#82AAFF"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#ff9cac"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#C792EA"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#C3E88D"}}],type:"dark"});const materialThemePalenightDhz61Tee=Object.freeze(Object.defineProperty({__proto__:null,default:e$O},Symbol.toStringTag,{value:"Module"})),n$D=Object.freeze({displayName:"JSON",name:"json",patterns:[{include:"#value"}],repository:{array:{begin:"\\[",beginCaptures:{0:{name:"punctuation.definition.array.begin.json"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.array.end.json"}},name:"meta.structure.array.json",patterns:[{include:"#value"},{match:",",name:"punctuation.separator.array.json"},{match:"[^\\s\\]]",name:"invalid.illegal.expected-array-separator.json"}]},comments:{patterns:[{begin:"/\\*\\*(?!/)",captures:{0:{name:"punctuation.definition.comment.json"}},end:"\\*/",name:"comment.block.documentation.json"},{begin:"/\\*",captures:{0:{name:"punctuation.definition.comment.json"}},end:"\\*/",name:"comment.block.json"},{captures:{1:{name:"punctuation.definition.comment.json"}},match:"(//).*$\\n?",name:"comment.line.double-slash.js"}]},constant:{match:"\\b(?:true|false|null)\\b",name:"constant.language.json"},number:{match:`(?x)
|
|
204
|
+
*/window.addEventListener("load",contentLoaded,!1)}const setParseErrorHandler=function(Ea){mermaid.parseError=Ea},executionQueue=[];let executionQueueRunning=!1;const executeQueue=async()=>{if(!executionQueueRunning){for(executionQueueRunning=!0;executionQueue.length>0;){const Ea=executionQueue.shift();if(Ea)try{await Ea()}catch(Ua){log$1.error("Error executing queue",Ua)}}executionQueueRunning=!1}},parse=async(Ea,Ua)=>new Promise((nA,aA)=>{const rA=()=>new Promise((oA,AA)=>{mermaidAPI.parse(Ea,Ua).then(pA=>{oA(pA),nA(pA)},pA=>{var mA;log$1.error("Error parsing",pA),(mA=mermaid.parseError)==null||mA.call(mermaid,pA),AA(pA),aA(pA)})});executionQueue.push(rA),executeQueue().catch(aA)}),render=(Ea,Ua,nA)=>new Promise((aA,rA)=>{const oA=()=>new Promise((AA,pA)=>{mermaidAPI.render(Ea,Ua,nA).then(mA=>{AA(mA),aA(mA)},mA=>{var gA;log$1.error("Error parsing",mA),(gA=mermaid.parseError)==null||gA.call(mermaid,mA),pA(mA),rA(mA)})});executionQueue.push(oA),executeQueue().catch(rA)}),mermaid={startOnLoad:!0,mermaidAPI,parse,render,init,run,registerExternalDiagrams,initialize,parseError:void 0,contentLoaded,setParseErrorHandler,detectType},_withScopeId$2=Ea=>(vue.pushScopeId("data-v-50dd5b60"),Ea=Ea(),vue.popScopeId(),Ea),_hoisted_1$5=["id"],_hoisted_2$4={class:"markdown-panes"},_hoisted_3$3={key:0,class:"markdown-editor","data-testid":"markdown-editor"},_hoisted_4$3=["id","value"],_hoisted_5$2={class:"markdown-content-container","data-testid":"markdown-content-container"},_hoisted_6$2={key:0,class:"content-actions"},_hoisted_7$2={key:0,class:"download-button"},_hoisted_8$2=_withScopeId$2(()=>vue.createElementVNode("span",{class:"content-button-text"},"Download",-1)),_hoisted_9$1={key:1,class:"edit-button"},_hoisted_10$1=_withScopeId$2(()=>vue.createElementVNode("span",{class:"content-button-text"},"Edit",-1)),_sfc_main$6=vue.defineComponent({__name:"MarkdownUi",props:{modelValue:{type:String,default:""},editable:{type:Boolean,default:!1},downloadable:{type:Boolean,default:!1},filename:{type:String,default:"document"},mode:{type:String,default:"read",validator:Ea=>["read","edit","split","preview"].includes(Ea)},tabSize:{type:Number,default:2,validator:Ea=>Ea>=2&&Ea<=6},theme:{type:String,default:"",validator:Ea=>["","light","dark"].includes(Ea)},maxHeight:{type:Number,default:300,validator:Ea=>Ea>=100},fullscreenOffsetTop:{type:Number,default:0},fullscreenZIndex:{type:Number,default:1001}},emits:["update:modelValue","update:frontmatter","save","cancel","mode","fullscreen"],setup(Ea,{emit:Ua}){vue.useCssVars(bb=>({cad86c72:Ab.value,"0f1ebfa2":ib.value,"5aa727dd":bb.$props.fullscreenZIndex,"74eca6d0":Cb.value,"6fe42ba3":vue.unref(TOOLBAR_HEIGHT)}));const nA=Ea,aA=Ua,rA=vue.ref(null),oA=vue.ref(null),{init:AA,md:pA}=composables.useMarkdownIt(),mA=v4(),gA=vue.computed(()=>`markdown-ui-${mA}`),hA=vue.computed(()=>`markdown-ui-textarea-${mA}`),bA=vue.computed(()=>`scrollable-${mA}`),yA=vue.computed(()=>nA.tabSize),EA=usePreferredColorScheme(),_A=vue.computed(()=>nA.theme?nA.theme:EA.value==="dark"?EA.value:"light"),IA=vue.ref(["edit","split","preview"].includes(nA.mode)&&nA.editable?nA.mode:"read"),DA=vue.ref(!1),xA=vue.ref(!1);vue.provide(UNIQUE_ID_INJECTION_KEY,mA),vue.provide(TEXTAREA_ID_INJECTION_KEY,hA),vue.provide(MODE_INJECTION_KEY,IA),vue.provide(EDITABLE_INJECTION_KEY,vue.computed(()=>nA.editable)),vue.provide(FULLSCREEN_INJECTION_KEY,DA),vue.provide(THEME_INJECTION_KEY,_A),vue.provide(HTML_PREVIEW_INJECTION_KEY,xA);const{initializeSyncScroll:$A,destroySyncScroll:MA}=composables.useSyncScroll(bA),{debounce:NA}=composables.useDebounce();vue.watch(IA,async bb=>{switch(bb){case"edit":xA.value=!1;break;case"split":break;case"preview":break;case"read":xA.value=!1,DA.value=!1;break}aA("mode",bb),MA(),await vue.nextTick(),await Pl(),$A()});const TA=bb=>{var cb;const l1={},lb=(cb=pA.value)==null?void 0:cb.render(bb,l1);return RA.value=l1.frontmatter,lb},qA=vue.ref(nA.modelValue),RA=vue.ref(),FA=vue.ref(""),HA=vue.ref(""),{toggleInlineFormatting:SA,insertMarkdownTemplate:WA,insertLink:jA}=composables.useMarkdownActions(rA,qA),UA=bb=>{bb==="link"?jA():SA(bb),zl()},kl=bb=>{WA(bb),zl()};vue.watchEffect(()=>{var bb;xA.value&&(HA.value=(bb=pA.value)==null?void 0:bb.render("```html"+NEW_LINE_CHARACTER+formatHtml(FA.value," ".repeat(yA.value))+NEW_LINE_CHARACTER+"```"))});const Pl=async()=>{if(typeof mermaid<"u"&&typeof(mermaid==null?void 0:mermaid.run)=="function"){const bb=`#${gA.value} .markdown-content-container .mermaid`;document.querySelector(bb)&&await mermaid.run({querySelector:bb,suppressErrors:!0})}},$l=()=>{try{const bb=new Blob([qA.value],{type:"text/markdown;charset=utf-8"}),cb=URL.createObjectURL(bb),l1=document.createElement("a");l1.href=cb,l1.download=`${nA.filename.replace(/ /g,"-").replace(/[^-+.a-zA-Z0-9_]/g,"").replace(/(\.md)+$/g,"")}.md`,l1.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window})),setTimeout(()=>{window.URL.revokeObjectURL(cb),l1.remove()},100)}catch(bb){console.warn("download",bb)}},Hl=(bb,cb=!0)=>{qA.value=bb.target.value,XA(cb)},XA=NA(async(bb=!0)=>{FA.value=TA(qA.value),await vue.nextTick(),bb&&(aA("update:modelValue",qA.value),aA("update:frontmatter",RA.value)),await vue.nextTick(),await Pl()},EDITOR_DEBOUNCE_TIMEOUT),zl=(bb=!0)=>{const cb={target:{value:qA.value}};Hl(cb,bb)};vue.watch(()=>nA.modelValue,bb=>{qA.value=bb,zl(!1)});const Ul=()=>{xA.value=!xA.value,zl()},ib=vue.computed(()=>`${nA.fullscreenOffsetTop}px`),rb=()=>{DA.value=!DA.value};vue.watch(DA,bb=>{aA("fullscreen",bb)});const Xl=useMediaQuery(`(min-width: ${KUI_BREAKPOINT_PHABLET})`),gb=()=>{IA.value=Xl.value?"split":"edit"},Gb=()=>{aA("cancel"),IA.value="read"},ub=()=>{aA("save",{content:qA.value,frontmatter:RA.value}),IA.value="read"},xb=()=>{typeof mermaid<"u"&&typeof(mermaid==null?void 0:mermaid.initialize)=="function"&&(mermaid==null||mermaid.initialize({startOnLoad:!1,securityLevel:"strict",fontFamily:KUI_FONT_FAMILY_TEXT,altFontFamily:KUI_FONT_FAMILY_CODE,theme:_A.value==="light"?"default":"base"}))};vue.watch(_A,async bb=>{await AA(bb),xb(),zl()});const fb=async bb=>{var cb,l1,lb,m1,wb,j0,x1,Dw;try{if(!((l1=(cb=bb.target)==null?void 0:cb.classList)!=null&&l1.contains("kong-markdown-code-block-copy"))||!((m1=(lb=bb.target)==null?void 0:lb.dataset)!=null&&m1.copytext))return;if(bb.preventDefault(),(wb=navigator==null?void 0:navigator.clipboard)!=null&&wb.writeText){const yw=((x1=(j0=bb.target)==null?void 0:j0.dataset)==null?void 0:x1.copytext)||"";yw&&(await navigator.clipboard.writeText(yw),(Dw=bb==null?void 0:bb.target)==null||Dw.blur())}}catch(yw){console.warn("Could not copy text to clipboard",yw)}};composables.useKeyboardShortcuts(rA,qA,yA,zl),vue.onMounted(async()=>{await AA(_A.value),FA.value=TA(nA.modelValue),await vue.nextTick(),useEventListener(oA,"click",fb),xb(),await Pl(),IA.value==="split"&&(await vue.nextTick(),$A())}),vue.onUnmounted(()=>{MA()});const Cb=vue.computed(()=>`calc(100vh - ${TOOLBAR_HEIGHT} - ${KUI_SPACE_60})`),Ab=vue.computed(()=>`${nA.maxHeight}px`);return(bb,cb)=>{var l1;return vue.openBlock(),vue.createElementBlock("div",{id:gA.value,ref_key:"markdownComponent",ref:oA,class:vue.normalizeClass(["kong-ui-public-markdown-ui",[`mode-${IA.value}`,`theme-${_A.value}`,{fullscreen:DA.value}]]),"data-testid":"markdown-ui"},[Ea.editable&&IA.value!=="read"?(vue.openBlock(),vue.createBlock(MarkdownToolbar,{key:0,onChangeMode:cb[0]||(cb[0]=lb=>IA.value=lb),onFormatSelection:UA,onInsertTemplate:kl,onToggleFullscreen:rb,onToggleHtmlPreview:Ul},{"toolbar-right":vue.withCtx(()=>[vue.renderSlot(bb.$slots,"toolbar-right",{},void 0,!0)]),"editor-actions":vue.withCtx(()=>[vue.renderSlot(bb.$slots,"editor-actions",{cancel:Gb,save:ub},()=>[Ea.editable&&["edit","split","preview"].includes(IA.value)?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(ToolbarButton,{"data-testid":"cancel",icon:!1,tabindex:0,onClick:Gb},{default:vue.withCtx(()=>[vue.createTextVNode(" Cancel ")]),_:1}),vue.createVNode(ToolbarButton,{appearance:"primary","data-testid":"save",icon:!1,tabindex:0,onClick:ub},{default:vue.withCtx(()=>[vue.createTextVNode(" Save ")]),_:1})],64)):vue.createCommentVNode("",!0)],!0)]),_:3})):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_2$4,[Ea.editable&&["edit","split"].includes(IA.value)?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$3,[vue.createElementVNode("textarea",{id:hA.value,ref_key:"textarea",ref:rA,autocapitalize:"off",autocomplete:"off",autocorrect:"off",class:vue.normalizeClass(["markdown-editor-textarea",[bA.value]]),"data-testid":"markdown-editor-textarea",placeholder:"Begin editing...",spellcheck:"false",translate:"no",value:qA.value,onInput:cb[1]||(cb[1]=lb=>Hl(lb))},null,42,_hoisted_4$3)])):vue.createCommentVNode("",!0),["read","preview","split"].includes(IA.value)?(vue.openBlock(),vue.createElementBlock("div",{key:1,class:vue.normalizeClass(["markdown-preview",[bA.value]]),"data-testid":"markdown-preview"},[vue.createElementVNode("div",_hoisted_5$2,[IA.value==="read"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$2,[vue.renderSlot(bb.$slots,"content-actions",{download:(l1=qA.value)!=null&&l1.length&&Ea.downloadable?$l:void 0,edit:Ea.editable?gb:void 0},()=>{var lb;return[IA.value==="read"&&(lb=qA.value)!=null&&lb.length&&Ea.downloadable?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$2,[vue.renderSlot(bb.$slots,"download",{download:$l},()=>[vue.createVNode(ToolbarButton,{appearance:"primary","aria-label":"Download markdown document","data-testid":"download",icon:!1,tabindex:0,onClick:$l},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(j6),{decorative:"",size:vue.unref(KUI_ICON_SIZE_30)},null,8,["size"]),_hoisted_8$2]),_:1})],!0)])):vue.createCommentVNode("",!0),IA.value==="read"&&Ea.editable?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$1,[vue.renderSlot(bb.$slots,"edit",{edit:gb},()=>[vue.createVNode(ToolbarButton,{appearance:"primary","aria-label":"Edit markdown document","data-testid":"edit",icon:!1,tabindex:0,onClick:gb},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(K6),{decorative:"",size:vue.unref(KUI_ICON_SIZE_30)},null,8,["size"]),_hoisted_10$1]),_:1})],!0)])):vue.createCommentVNode("",!0)]},!0)])):vue.createCommentVNode("",!0),vue.createVNode(MarkdownContent,{class:vue.normalizeClass({"html-preview":xA.value}),content:xA.value?HA.value:FA.value},null,8,["class","content"])])],2)):vue.createCommentVNode("",!0)])],10,_hoisted_1$5)}}}),MarkdownUi=_export_sfc$1(_sfc_main$6,[["__scopeId","data-v-50dd5b60"]]),c$7="24px",b$7=(Ea,Ua)=>{const nA=Ea.__vccOpts||Ea;for(const[aA,rA]of Ua)nA[aA]=rA;return nA},Pt$e=Ea=>(vue.pushScopeId("data-v-89afc35c"),Ea=Ea(),vue.popScopeId(),Ea),Rt$i=["aria-hidden"],Ut$b={key:0,"data-testid":"kui-icon-svg-title"},Tt$g=Pt$e(()=>vue.createElementVNode("path",{d:"M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",fill:"currentColor"},null,-1)),Gt$b=vue.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:c$7,validator:Ea=>{if(typeof Ea=="number"&&Ea>0)return!0;if(typeof Ea=="string"){const Ua=String(Ea).replace(/px/gi,""),nA=Number(Ua);if(nA&&!isNaN(nA)&&Number.isInteger(nA)&&nA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(Ea){const Ua=Ea,nA=vue.computed(()=>{if(typeof Ua.size=="number"&&Ua.size>0)return`${Ua.size}px`;if(typeof Ua.size=="string"){const rA=String(Ua.size).replace(/px/gi,""),oA=Number(rA);if(oA&&!isNaN(oA)&&Number.isInteger(oA)&&oA>0)return`${oA}px`}return c$7}),aA=vue.computed(()=>({boxSizing:"border-box",color:Ua.color,display:Ua.display,height:nA.value,lineHeight:"0",width:nA.value}));return(rA,oA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(Ea.as),{"aria-hidden":Ea.decorative?"true":void 0,class:"kui-icon add-icon","data-testid":"kui-icon-wrapper-add-icon",style:vue.normalizeStyle(aA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":Ea.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"},[Ea.title?(vue.openBlock(),vue.createElementBlock("title",Ut$b,vue.toDisplayString(Ea.title),1)):vue.createCommentVNode("",!0),Tt$g],8,Rt$i))]),_:1},8,["aria-hidden","style"]))}}),t4=b$7(Gt$b,[["__scopeId","data-v-89afc35c"]]),oa$1=Ea=>(vue.pushScopeId("data-v-386e8cbc"),Ea=Ea(),vue.popScopeId(),Ea),sa$1=["aria-hidden"],da$1={key:0,"data-testid":"kui-icon-svg-title"},la$1=oa$1(()=>vue.createElementVNode("path",{d:"M12 20C11.45 20 10.9792 19.8042 10.5875 19.4125C10.1958 19.0208 10 18.55 10 18C10 17.45 10.1958 16.9792 10.5875 16.5875C10.9792 16.1958 11.45 16 12 16C12.55 16 13.0208 16.1958 13.4125 16.5875C13.8042 16.9792 14 17.45 14 18C14 18.55 13.8042 19.0208 13.4125 19.4125C13.0208 19.8042 12.55 20 12 20ZM12 14C11.45 14 10.9792 13.8042 10.5875 13.4125C10.1958 13.0208 10 12.55 10 12C10 11.45 10.1958 10.9792 10.5875 10.5875C10.9792 10.1958 11.45 10 12 10C12.55 10 13.0208 10.1958 13.4125 10.5875C13.8042 10.9792 14 11.45 14 12C14 12.55 13.8042 13.0208 13.4125 13.4125C13.0208 13.8042 12.55 14 12 14ZM12 8C11.45 8 10.9792 7.80417 10.5875 7.4125C10.1958 7.02083 10 6.55 10 6C10 5.45 10.1958 4.97917 10.5875 4.5875C10.9792 4.19583 11.45 4 12 4C12.55 4 13.0208 4.19583 13.4125 4.5875C13.8042 4.97917 14 5.45 14 6C14 6.55 13.8042 7.02083 13.4125 7.4125C13.0208 7.80417 12.55 8 12 8Z",fill:"currentColor"},null,-1)),ca$1=vue.defineComponent({__name:"MoreIcon",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:c$7,validator:Ea=>{if(typeof Ea=="number"&&Ea>0)return!0;if(typeof Ea=="string"){const Ua=String(Ea).replace(/px/gi,""),nA=Number(Ua);if(nA&&!isNaN(nA)&&Number.isInteger(nA)&&nA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(Ea){const Ua=Ea,nA=vue.computed(()=>{if(typeof Ua.size=="number"&&Ua.size>0)return`${Ua.size}px`;if(typeof Ua.size=="string"){const rA=String(Ua.size).replace(/px/gi,""),oA=Number(rA);if(oA&&!isNaN(oA)&&Number.isInteger(oA)&&oA>0)return`${oA}px`}return c$7}),aA=vue.computed(()=>({boxSizing:"border-box",color:Ua.color,display:Ua.display,height:nA.value,lineHeight:"0",width:nA.value}));return(rA,oA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(Ea.as),{"aria-hidden":Ea.decorative?"true":void 0,class:"kui-icon more-icon","data-testid":"kui-icon-wrapper-more-icon",style:vue.normalizeStyle(aA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":Ea.decorative?"true":void 0,"data-testid":"kui-icon-svg-more-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[Ea.title?(vue.openBlock(),vue.createElementBlock("title",da$1,vue.toDisplayString(Ea.title),1)):vue.createCommentVNode("",!0),la$1],8,sa$1))]),_:1},8,["aria-hidden","style"]))}}),E9=b$7(ca$1,[["__scopeId","data-v-386e8cbc"]]),R$8=Ea=>(vue.pushScopeId("data-v-6f61f288"),Ea=Ea(),vue.popScopeId(),Ea),so$1=["aria-hidden"],lo$1={key:0,"data-testid":"kui-icon-svg-title"},co$1=R$8(()=>vue.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)),uo$1=R$8(()=>vue.createElementVNode("animateTransform",{attributeName:"transform",attributeType:"XML",dur:"1.5s",from:"0",repeatCount:"indefinite",to:"360",type:"rotate"},null,-1)),fo$1=vue.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:c$7,validator:Ea=>{if(typeof Ea=="number"&&Ea>0)return!0;if(typeof Ea=="string"){const Ua=String(Ea).replace(/px/gi,""),nA=Number(Ua);if(nA&&!isNaN(nA)&&Number.isInteger(nA)&&nA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(Ea){const Ua=Ea,nA=vue.computed(()=>{if(typeof Ua.size=="number"&&Ua.size>0)return`${Ua.size}px`;if(typeof Ua.size=="string"){const rA=String(Ua.size).replace(/px/gi,""),oA=Number(rA);if(oA&&!isNaN(oA)&&Number.isInteger(oA)&&oA>0)return`${oA}px`}return c$7}),aA=vue.computed(()=>({boxSizing:"border-box",color:Ua.color,display:Ua.display,height:nA.value,lineHeight:"0",width:nA.value}));return(rA,oA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(Ea.as),{"aria-hidden":Ea.decorative?"true":void 0,class:"kui-icon progress-icon","data-testid":"kui-icon-wrapper-progress-icon",style:vue.normalizeStyle(aA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":Ea.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"},[Ea.title?(vue.openBlock(),vue.createElementBlock("title",lo$1,vue.toDisplayString(Ea.title),1)):vue.createCommentVNode("",!0),co$1,uo$1],8,so$1))]),_:1},8,["aria-hidden","style"]))}}),W9=b$7(fo$1,[["__scopeId","data-v-6f61f288"]]),_withScopeId$1=Ea=>(vue.pushScopeId("data-v-7cf96e4b"),Ea=Ea(),vue.popScopeId(),Ea),_hoisted_1$2={class:"documentation-display"},_hoisted_2$2={class:"document-meta"},_hoisted_3$2={class:"document-meta-start"},_hoisted_4$1={class:"document-title meta-section"},_hoisted_5$1=_withScopeId$1(()=>vue.createElementVNode("span",{class:"document-title-extension"},"md",-1)),_hoisted_6$1={key:0,class:"document-status meta-section"},_hoisted_7$1={class:"meta-label"},_hoisted_8$1={key:1,class:"document-create meta-section"},_hoisted_9={class:"meta-label"},_hoisted_10={class:"document-display-actions"},_hoisted_11={key:0,class:"markdown-content-loading","data-testid":"markdown-content-loading"},_hoisted_12={key:1},_sfc_main$3=vue.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","download","toggle-published","edit-markdown","save-markdown"],setup(Ea,{emit:Ua}){var NA;const nA=Ea,aA=Ua,{i18n:rA}=composables$1.useI18n(),oA=vue.ref(!0),AA=vue.computed(()=>{var TA,qA,RA,FA,HA;return((qA=(TA=nA.selectedDocument)==null?void 0:TA.document)==null?void 0:qA.title)||((HA=(FA=(RA=nA.selectedDocument)==null?void 0:RA.document)==null?void 0:FA.revision)==null?void 0:HA.title)||""}),pA=vue.computed(()=>""),mA=vue.ref(!1),gA=vue.ref(rA.t("documentation.common.unpublished")),hA=vue.ref(((NA=nA.selectedDocument)==null?void 0:NA.markdown)||""),bA=vue.ref(hA.value),yA=vue.ref(null),EA=TA=>{typeof TA=="function"&&(TA(),aA("download"))},_A=TA=>{aA("edit-markdown",TA==="edit")},IA=()=>{const TA=!mA.value;aA("toggle-published",TA),mA.value=TA,gA.value=TA?rA.t("documentation.common.published"):rA.t("documentation.common.unpublished")},DA=()=>{hA.value=bA.value,bA.value=hA.value},xA=TA=>{TA==="published"?(mA.value=!0,gA.value=rA.t("documentation.common.published")):(mA.value=!1,gA.value=rA.t("documentation.common.unpublished"))},$A=()=>{var TA;yA.value={children:nA.selectedDocument.ast,type:"document",version:1},hA.value=((TA=nA.selectedDocument)==null?void 0:TA.markdown)||"",bA.value=hA.value,oA.value=!1},MA=vue.ref(!1);return vue.watch(()=>nA.canEdit,async()=>{MA.value=await nA.canEdit()},{immediate:!0}),vue.watch(()=>nA.selectedDocument,TA=>{var qA;isObjectEmpty(TA)||(nA.hidePublishToggle||xA((qA=TA.document)==null?void 0:qA.status),(TA.ast||TA.markdown)&&$A())},{deep:!0,immediate:!0}),(TA,qA)=>{const RA=vue.resolveComponent("KBadge"),FA=vue.resolveComponent("KInputSwitch"),HA=vue.resolveComponent("KButton"),SA=vue.resolveComponent("KSkeleton"),WA=vue.resolveComponent("KTooltip"),jA=vue.resolveComponent("KDropdownItem"),UA=vue.resolveComponent("KDropdown");return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$2,[vue.createElementVNode("div",_hoisted_2$2,[vue.createElementVNode("div",_hoisted_3$2,[vue.createElementVNode("div",_hoisted_4$1,[vue.renderSlot(TA.$slots,"document-title",{},()=>[vue.createElementVNode("span",null,vue.toDisplayString(AA.value),1),vue.createTextVNode("."),_hoisted_5$1],!0)]),Ea.hidePublishToggle?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$1,[vue.createElementVNode("span",_hoisted_7$1,vue.toDisplayString(vue.unref(rA).t("documentation.documentation_display.status_label")),1),vue.createVNode(RA,{appearance:mA.value?"success":"neutral"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(mA.value?vue.unref(rA).t("documentation.common.published"):vue.unref(rA).t("documentation.common.unpublished")),1)]),_:1},8,["appearance"])])),pA.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$1,[vue.createElementVNode("span",_hoisted_9,vue.toDisplayString(vue.unref(rA).t("documentation.documentation_display.added_label")),1),vue.createVNode(RA,{appearance:"neutral"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(pA.value),1)]),_:1})])):vue.createCommentVNode("",!0)]),vue.createElementVNode("div",_hoisted_10,[vue.createVNode(vue.unref(Yl),{"auth-function":()=>Ea.canEdit()},{default:vue.withCtx(()=>[!Ea.hidePublishToggle&&!Ea.card?(vue.openBlock(),vue.createBlock(FA,{key:0,modelValue:mA.value,"onUpdate:modelValue":qA[0]||(qA[0]=kl=>mA.value=kl),class:"document-publish-toggle","data-testid":"document-publish-toggle",label:gA.value,"label-before":"",onClick:IA},null,8,["modelValue","label"])):vue.createCommentVNode("",!0)]),_:1},8,["auth-function"]),vue.createVNode(vue.unref(Yl),{"auth-function":()=>Ea.canEdit()},{default:vue.withCtx(()=>[vue.createVNode(HA,{appearance:"primary","data-testid":"add-new-page-button",size:"small",onClick:qA[1]||(qA[1]=kl=>aA("add"))},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(rA).t("documentation.documentation_display.add_new")),1)]),_:1})]),_:1},8,["auth-function"])])]),oA.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_11,[Ea.card?(vue.openBlock(),vue.createBlock(SA,{key:1,type:"card"})):(vue.openBlock(),vue.createBlock(SA,{key:0,class:"markdown-content-loader"}))])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_12,[vue.createElementVNode("div",{class:vue.normalizeClass(["document-content",{"content-card-view":Ea.card}])},[hA.value!==void 0?(vue.openBlock(),vue.createBlock(vue.unref(MarkdownUi),{key:0,modelValue:hA.value,"onUpdate:modelValue":qA[3]||(qA[3]=kl=>hA.value=kl),downloadable:"",editable:MA.value,filename:AA.value,"max-height":700,mode:"read",theme:"light",onCancel:DA,onMode:qA[4]||(qA[4]=kl=>_A(kl)),onSave:qA[5]||(qA[5]=kl=>aA("save-markdown",kl.content))},vue.createSlots({_:2},[MA.value||Ea.selectedDocument.markdown?{name:"content-actions",fn:vue.withCtx(({download:kl,edit:Pl})=>[vue.createVNode(UA,{class:"content-actions-dropdown","kpop-attributes":{placement:"bottomEnd"}},{default:vue.withCtx(()=>[vue.createVNode(WA,{text:vue.unref(rA).t("documentation.documentation_display.actions_title")},{default:vue.withCtx(()=>[vue.createVNode(HA,{appearance:"secondary","aria-label":vue.unref(rA).t("documentation.documentation_display.actions_title"),class:"icon-button","data-testid":"document-actions-button"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(E9),{decorative:""})]),_:1},8,["aria-label"])]),_:1},8,["text"])]),items:vue.withCtx(()=>[MA.value?(vue.openBlock(),vue.createBlock(jA,{key:0,"data-testid":"document-edit-button",onClick:Pl},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(rA).t("documentation.documentation_display.edit_markdown_button")),1)]),_:2},1032,["onClick"])):vue.createCommentVNode("",!0),MA.value?(vue.openBlock(),vue.createBlock(jA,{key:1,"data-testid":"document-settings-button",onClick:qA[2]||(qA[2]=$l=>aA("edit"))},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(rA).t("documentation.documentation_display.edit_info_button")),1)]),_:1})):vue.createCommentVNode("",!0),Ea.selectedDocument.markdown?(vue.openBlock(),vue.createBlock(jA,{key:2,"data-testid":"document-download-button","has-divider":MA.value,onClick:$l=>EA(kl)},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(rA).t("documentation.documentation_display.download_button")),1)]),_:2},1032,["has-divider","onClick"])):vue.createCommentVNode("",!0)]),_:2},1024)]),key:"0"}:void 0]),1032,["modelValue","editable","filename"])):vue.createCommentVNode("",!0)],2)]))])}}}),_export_sfc=(Ea,Ua)=>{const nA=Ea.__vccOpts||Ea;for(const[aA,rA]of Ua)nA[aA]=rA;return nA},DocumentationDisplay=_export_sfc(_sfc_main$3,[["__scopeId","data-v-7cf96e4b"]]),_sfc_main$2=vue.defineComponent({__name:"DocumentationPageEmptyState",props:{canEdit:{type:Function,required:!1,default:async()=>!1}},emits:["create-documentation"],setup(Ea,{emit:Ua}){const nA=Ua,{i18n:aA}=composables$1.useI18n();return(rA,oA)=>{const AA=vue.resolveComponent("KButton"),pA=vue.resolveComponent("KEmptyState");return vue.openBlock(),vue.createBlock(pA,{class:"documentation-page-empty-state","data-testid":"documentation-page-empty-state","icon-variant":"kong"},{title:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(aA).t("documentation.show.empty_state.title")),1)]),default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(aA).t("documentation.show.empty_state.message")),1)]),action:vue.withCtx(()=>[vue.createVNode(vue.unref(Yl),{"auth-function":()=>Ea.canEdit()},{default:vue.withCtx(()=>[vue.createVNode(AA,{"data-testid":"add-new-page-button",onClick:oA[0]||(oA[0]=mA=>nA("create-documentation"))},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(t4)),vue.createTextVNode(" "+vue.toDisplayString(vue.unref(aA).t("documentation.show.empty_state.ctaText")),1)]),_:1})]),_:1},8,["auth-function"])]),_:1})}}}),externalLinks={serviceDocumentationDocs:"https://docs.konghq.com/konnect/servicehub/service-documentation/#main"},_withScopeId=Ea=>(vue.pushScopeId("data-v-516223e7"),Ea=Ea(),vue.popScopeId(),Ea),_hoisted_1$1={class:"title"},_hoisted_2$1={class:"subtitle"},_hoisted_3$1=_withScopeId(()=>vue.createElementVNode("br",null,null,-1)),_hoisted_4={class:"document-inputs"},_hoisted_5={class:"page-name side-by-side"},_hoisted_6={class:"url-slug side-by-side"},_hoisted_7={key:2,class:"documentation-status"},_hoisted_8={class:"button-spacing"},_sfc_main$1=vue.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(Ea,{emit:Ua}){const nA=Ea,aA=Ua,{i18n:rA}=composables$1.useI18n(),oA=vue.computed(()=>{var RA;return(RA=nA.record.file)==null?void 0:RA.filename}),AA=vue.computed(()=>{var RA;return xA.value?(RA=xA.value.name)==null?void 0:RA.split(".")[0]:""}),pA=vue.ref(!0),mA=vue.computed(()=>pA.value?"published":"unpublished"),gA=vue.reactive({fileName:"",pageName:"",urlSlug:"",status:mA.value,parent:""}),hA=/^[\w-]+$/,bA=vue.computed(()=>{var RA;return gA.urlSlug!==""&&!((RA=gA.urlSlug)!=null&&RA.match(hA))}),yA=vue.computed(()=>{var HA;let RA=(HA=nA.documents)==null?void 0:HA.filter(SA=>{var WA;return SA.record.id!==((WA=nA.record)==null?void 0:WA.id)&&!SA.record.parent_document_id}).map(SA=>({label:SA.record.title,value:SA.record.id,selected:!1}));RA||(RA=[]);const FA=cloneDeep(RA.length);return RA.push({label:rA.t("documentation.form_modal.parent_document_select_option_none"),value:"none",selected:!FA}),RA}),EA=vue.computed(()=>!nA.editing&&!xA.value||!gA.pageName||bA.value),_A=vue.computed(()=>nA.editing?rA.t("documentation.form_modal.edit_title"):rA.t("documentation.form_modal.create_title")),IA=vue.computed(()=>nA.editing?rA.t("documentation.form_modal.replace_file_button_text"):rA.t("documentation.form_modal.filename_button_text")),DA=vue.computed(()=>mA.value==="published"?rA.t("documentation.common.published"):rA.t("documentation.common.unpublished")),xA=vue.ref(null),$A=RA=>{xA.value=RA==null?void 0:RA[0],gA.fileName=AA.value,gA.pageName=gA.pageName?gA.pageName:AA.value,gA.urlSlug=gA.urlSlug?gA.urlSlug:AA.value},MA=()=>{xA.value=null},NA=()=>{aA("cancel"),qA()},TA=()=>{aA("save",Object.assign(gA,{status:mA.value}),xA)},qA=()=>{var RA,FA,HA,SA,WA;if(xA.value=null,nA.editing&&((RA=nA.record)!=null&&RA.document)){const jA=cloneDeep(nA.record),UA=jA.status||nA.record.document.status||pA.value;gA.fileName=((FA=jA.document.file)==null?void 0:FA.filename)||((SA=(HA=jA.document.revision)==null?void 0:HA.file)==null?void 0:SA.filename),gA.pageName=jA.document.title||((WA=jA.document.revision)==null?void 0:WA.title),gA.urlSlug=jA.document.slug,gA.parent=jA.document.parent_document_id,gA.status=UA,pA.value=UA==="published"}else gA.fileName="",gA.pageName="",gA.urlSlug="",gA.parent="",gA.status=""};return vue.onMounted(()=>{qA()}),(RA,FA)=>{const HA=vue.resolveComponent("KExternalLink"),SA=vue.resolveComponent("KAlert"),WA=vue.resolveComponent("KFileUpload"),jA=vue.resolveComponent("KInput"),UA=vue.resolveComponent("KLabel"),kl=vue.resolveComponent("KInputSwitch"),Pl=vue.resolveComponent("KSelect"),$l=vue.resolveComponent("KButton"),Hl=vue.resolveComponent("KModal");return vue.openBlock(),vue.createBlock(vue.Teleport,{to:"#kong-ui-app-layout-teleport-default-slot"},[vue.createVNode(Hl,{class:"edit-document-modal","data-testid":"edit-document-modal","max-width":"750px",visible:"",onCancel:NA,onProceed:TA},{title:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1,[vue.createTextVNode(vue.toDisplayString(_A.value)+" ",1),vue.createElementVNode("div",_hoisted_2$1,[vue.createTextVNode(vue.toDisplayString(vue.unref(rA).t("documentation.form_modal.subtitle"))+" ",1),_hoisted_3$1,vue.createVNode(HA,{class:"doc-link",href:vue.unref(externalLinks).serviceDocumentationDocs},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(rA).t("documentation.form_modal.documentation_link_text")),1)]),_:1},8,["href"])])])]),default:vue.withCtx(()=>[Ea.errorMessage?(vue.openBlock(),vue.createBlock(SA,{key:0,appearance:"danger",class:"bottom-spacing",message:Ea.errorMessage},null,8,["message"])):vue.createCommentVNode("",!0),Ea.editing?(vue.openBlock(),vue.createBlock(SA,{key:1,appearance:"info",class:"bottom-spacing",message:vue.unref(rA).t("documentation.form_modal.edit_markdown"),"show-icon":""},null,8,["message"])):vue.createCommentVNode("",!0),vue.createVNode(WA,{accept:[".md",".markdown"],"button-text":IA.value,class:"document-file-upload","data-testid":"document-file-upload",label:vue.unref(rA).t("documentation.form_modal.file_label"),"label-attributes":{info:vue.unref(rA).t("documentation.form_modal.file_tooltip")},placeholder:Ea.editing?oA.value:void 0,onFileAdded:$A,onFileRemoved:MA},null,8,["accept","button-text","label","label-attributes","placeholder"]),vue.createElementVNode("div",_hoisted_4,[vue.createElementVNode("div",_hoisted_5,[vue.createVNode(jA,{modelValue:gA.pageName,"onUpdate:modelValue":FA[0]||(FA[0]=XA=>gA.pageName=XA),modelModifiers:{trim:!0},"data-testid":"documentation-page-name",label:vue.unref(rA).t("documentation.form_modal.title_label"),placeholder:vue.unref(rA).t("documentation.form_modal.title_placeholder"),required:""},null,8,["modelValue","label","placeholder"])]),vue.createElementVNode("div",_hoisted_6,[vue.createVNode(jA,{modelValue:gA.urlSlug,"onUpdate:modelValue":FA[1]||(FA[1]=XA=>gA.urlSlug=XA),modelModifiers:{trim:!0},"data-testid":"documentation-url-slug","error-message":vue.unref(rA).t("documentation.form_modal.slug_error"),"has-error":bA.value,label:vue.unref(rA).t("documentation.form_modal.slug_label"),pattern:hA,placeholder:vue.unref(rA).t("documentation.form_modal.slug_placeholder"),required:""},null,8,["modelValue","error-message","has-error","label","placeholder"])])]),Ea.hidePublishToggle?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",_hoisted_7,[vue.createElementVNode("div",null,[vue.createVNode(UA,null,{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(rA).t("documentation.form_modal.status_label")),1)]),_:1})]),vue.createVNode(kl,{modelValue:pA.value,"onUpdate:modelValue":FA[2]||(FA[2]=XA=>pA.value=XA),"data-testid":"documentation-status",label:DA.value},null,8,["modelValue","label"])])),vue.createVNode(Pl,{modelValue:gA.parent,"onUpdate:modelValue":FA[3]||(FA[3]=XA=>gA.parent=XA),class:"document-parent-select","data-testid":"documentation-parent","enable-filtering":"",items:yA.value,label:vue.unref(rA).t("documentation.form_modal.parent_document_select_label"),width:"100%"},null,8,["modelValue","items","label"])]),footer:vue.withCtx(()=>[Ea.editing?(vue.openBlock(),vue.createBlock($l,{key:0,appearance:"danger",class:"edit-documentation-delete-button","data-testid":"edit-documentation-delete-button",disabled:Ea.actionPending,onClick:FA[4]||(FA[4]=XA=>aA("delete"))},{default:vue.withCtx(()=>[Ea.actionPending?(vue.openBlock(),vue.createBlock(vue.unref(W9),{key:0})):vue.createCommentVNode("",!0),vue.createTextVNode(" "+vue.toDisplayString(vue.unref(rA).t("documentation.form_modal.delete_button_text")),1)]),_:1},8,["disabled"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_8,[vue.createVNode($l,{appearance:"tertiary",class:"edit-documentation-cancel-button","data-testid":"edit-documentation-cancel-button",onClick:NA},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(rA).t("documentation.form_modal.cancel_button_text")),1)]),_:1}),vue.createVNode($l,{appearance:"primary","data-testid":"edit-documentation-save-button",disabled:Ea.actionPending||EA.value,onClick:TA},{default:vue.withCtx(()=>[Ea.actionPending?(vue.openBlock(),vue.createBlock(vue.unref(W9),{key:0})):vue.createCommentVNode("",!0),vue.createTextVNode(" "+vue.toDisplayString(vue.unref(rA).t("documentation.form_modal.save_button_text")),1)]),_:1},8,["disabled"])])]),_:1})])}}}),ProductDocumentModal=_export_sfc(_sfc_main$1,[["__scopeId","data-v-516223e7"]]),_hoisted_1={class:"documentation"},_hoisted_2={key:0},_hoisted_3={key:1,class:"documentation-parent-container"},_sfc_main=vue.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},emptyStateCard:{type:Boolean,default:!1},entityId:{type:String,required:!0},hidePublishToggle:{type:Boolean,default:!1},modalErrorMessage:{type:String,default:""},selectedDocument:{type:Object,default:()=>null}},emits:["child-change","delete","download","edit","document-selection","modal-closed","parent-change","save","edit-markdown","save-markdown","toggle-published"],setup(Ea,{emit:Ua}){const nA=Ua,aA=vue.ref(!1),rA=vue.ref(!1),oA=Ea;vue.watch(()=>oA.actionSuccess,bA=>{bA&&hA()});const AA=vue.computed(()=>{var bA,yA;return`data-display-${oA.cacheKey}-${((yA=(bA=oA.selectedDocument)==null?void 0:bA.document)==null?void 0:yA.id)||""}`}),pA=()=>{rA.value=!1,aA.value=!0},mA=()=>{rA.value=!0,aA.value=!0,nA("edit")},gA=bA=>{rA.value=bA,rA.value===!0&&nA("edit")},hA=()=>{aA.value=!1,nA("modal-closed")};return(bA,yA)=>{const EA=vue.resolveComponent("KCard"),_A=vue.resolveComponent("KTreeList");return vue.openBlock(),vue.createElementBlock("div",_hoisted_1,[Ea.documentList&&!Ea.documentList.length?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2,[Ea.emptyStateCard?(vue.openBlock(),vue.createBlock(EA,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2,{"can-edit":Ea.canEdit,onCreateDocumentation:pA},null,8,["can-edit"])]),_:1})):(vue.openBlock(),vue.createBlock(_sfc_main$2,{key:1,"can-edit":Ea.canEdit,onCreateDocumentation:pA},null,8,["can-edit"]))])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_3,[(vue.openBlock(),vue.createBlock(_A,{key:`tree-list-${Ea.cacheKey}`,class:"document-tree-list",items:Ea.documentList,"max-depth":2,onChange:yA[0]||(yA[0]=IA=>nA("parent-change",IA)),onChildChange:yA[1]||(yA[1]=IA=>nA("child-change",IA)),onSelected:yA[2]||(yA[2]=IA=>nA("document-selection",IA))},null,8,["items"])),Ea.selectedDocument?(vue.openBlock(),vue.createBlock(DocumentationDisplay,{key:AA.value,"can-edit":Ea.canEdit,card:Ea.card,class:"document-holder","hide-publish-toggle":Ea.hidePublishToggle,"selected-document":Ea.selectedDocument,onAdd:pA,onDownload:yA[3]||(yA[3]=IA=>nA("download")),onEdit:mA,onEditMarkdown:gA,onSaveMarkdown:yA[4]||(yA[4]=IA=>nA("save-markdown",IA)),onTogglePublished:yA[5]||(yA[5]=IA=>nA("toggle-published",IA))},null,8,["can-edit","card","hide-publish-toggle","selected-document"])):vue.createCommentVNode("",!0)])),aA.value?(vue.openBlock(),vue.createBlock(ProductDocumentModal,{key:2,"action-pending":Ea.actionPending,documents:Ea.documentList,editing:rA.value,"error-message":Ea.modalErrorMessage,"hide-publish-toggle":Ea.hidePublishToggle,record:rA.value&&Ea.selectedDocument?Ea.selectedDocument:void 0,onCancel:hA,onDelete:yA[6]||(yA[6]=IA=>nA("delete")),onSave:yA[7]||(yA[7]=(IA,DA)=>nA("save",IA,DA))},null,8,["action-pending","documents","editing","error-message","hide-publish-toggle","record"])):vue.createCommentVNode("",!0)])}}}),DocumentationContent=_export_sfc(_sfc_main,[["__scopeId","data-v-4267465b"]]);var e$P=Object.freeze({colors:{"activityBar.activeBorder":"#80CBC4","activityBar.background":"#FAFAFA","activityBar.border":"#FAFAFA60","activityBar.dropBackground":"#E5393580","activityBar.foreground":"#90A4AE","activityBarBadge.background":"#80CBC4","activityBarBadge.foreground":"#000000","badge.background":"#CCD7DA30","badge.foreground":"#90A4AE","breadcrumb.activeSelectionForeground":"#80CBC4","breadcrumb.background":"#FAFAFA","breadcrumb.focusForeground":"#90A4AE","breadcrumb.foreground":"#758a95","breadcrumbPicker.background":"#FAFAFA","button.background":"#80CBC440","button.foreground":"#ffffff","debugConsole.errorForeground":"#E53935","debugConsole.infoForeground":"#39ADB5","debugConsole.warningForeground":"#E2931D","debugToolBar.background":"#FAFAFA","diffEditor.insertedTextBackground":"#39ADB520","diffEditor.removedTextBackground":"#FF537020","dropdown.background":"#FAFAFA","dropdown.border":"#00000010","editor.background":"#FAFAFA","editor.findMatchBackground":"#00000020","editor.findMatchBorder":"#80CBC4","editor.findMatchHighlight":"#90A4AE","editor.findMatchHighlightBackground":"#00000010","editor.findMatchHighlightBorder":"#00000030","editor.findRangeHighlightBackground":"#E2931D30","editor.foreground":"#90A4AE","editor.lineHighlightBackground":"#CCD7DA50","editor.lineHighlightBorder":"#CCD7DA00","editor.rangeHighlightBackground":"#FFFFFF0d","editor.selectionBackground":"#80CBC440","editor.selectionHighlightBackground":"#27272720","editor.wordHighlightBackground":"#FF537030","editor.wordHighlightStrongBackground":"#91B85930","editorBracketMatch.background":"#FAFAFA","editorBracketMatch.border":"#27272750","editorCursor.foreground":"#272727","editorError.foreground":"#E5393570","editorGroup.border":"#00000020","editorGroup.dropBackground":"#E5393580","editorGroup.focusedEmptyBorder":"#E53935","editorGroupHeader.tabsBackground":"#FAFAFA","editorGutter.addedBackground":"#91B85960","editorGutter.deletedBackground":"#E5393560","editorGutter.modifiedBackground":"#6182B860","editorHoverWidget.background":"#FAFAFA","editorHoverWidget.border":"#00000010","editorIndentGuide.activeBackground":"#B0BEC5","editorIndentGuide.background":"#B0BEC570","editorInfo.foreground":"#6182B870","editorLineNumber.activeForeground":"#758a95","editorLineNumber.foreground":"#CFD8DC","editorLink.activeForeground":"#90A4AE","editorMarkerNavigation.background":"#90A4AE05","editorOverviewRuler.border":"#FAFAFA","editorOverviewRuler.errorForeground":"#E5393540","editorOverviewRuler.findMatchForeground":"#80CBC4","editorOverviewRuler.infoForeground":"#6182B840","editorOverviewRuler.warningForeground":"#E2931D40","editorRuler.foreground":"#B0BEC5","editorSuggestWidget.background":"#FAFAFA","editorSuggestWidget.border":"#00000010","editorSuggestWidget.foreground":"#90A4AE","editorSuggestWidget.highlightForeground":"#80CBC4","editorSuggestWidget.selectedBackground":"#CCD7DA50","editorWarning.foreground":"#E2931D70","editorWhitespace.foreground":"#90A4AE40","editorWidget.background":"#FAFAFA","editorWidget.border":"#80CBC4","editorWidget.resizeBorder":"#80CBC4","extensionBadge.remoteForeground":"#90A4AE","extensionButton.prominentBackground":"#91B85990","extensionButton.prominentForeground":"#90A4AE","extensionButton.prominentHoverBackground":"#91B859",focusBorder:"#FFFFFF00",foreground:"#90A4AE","gitDecoration.conflictingResourceForeground":"#E2931D90","gitDecoration.deletedResourceForeground":"#E5393590","gitDecoration.ignoredResourceForeground":"#758a9590","gitDecoration.modifiedResourceForeground":"#6182B890","gitDecoration.untrackedResourceForeground":"#91B85990","input.background":"#EEEEEE","input.border":"#00000010","input.foreground":"#90A4AE","input.placeholderForeground":"#90A4AE60","inputOption.activeBackground":"#90A4AE30","inputOption.activeBorder":"#90A4AE30","inputValidation.errorBorder":"#E53935","inputValidation.infoBorder":"#6182B8","inputValidation.warningBorder":"#E2931D","list.activeSelectionBackground":"#FAFAFA","list.activeSelectionForeground":"#80CBC4","list.dropBackground":"#E5393580","list.focusBackground":"#90A4AE20","list.focusForeground":"#90A4AE","list.highlightForeground":"#80CBC4","list.hoverBackground":"#FAFAFA","list.hoverForeground":"#B1C7D3","list.inactiveSelectionBackground":"#CCD7DA50","list.inactiveSelectionForeground":"#80CBC4","listFilterWidget.background":"#CCD7DA50","listFilterWidget.noMatchesOutline":"#CCD7DA50","listFilterWidget.outline":"#CCD7DA50","menu.background":"#FAFAFA","menu.foreground":"#90A4AE","menu.selectionBackground":"#CCD7DA50","menu.selectionBorder":"#CCD7DA50","menu.selectionForeground":"#80CBC4","menu.separatorBackground":"#90A4AE","menubar.selectionBackground":"#CCD7DA50","menubar.selectionBorder":"#CCD7DA50","menubar.selectionForeground":"#80CBC4","notebook.focusedCellBorder":"#80CBC4","notebook.inactiveFocusedCellBorder":"#80CBC450","notificationLink.foreground":"#80CBC4","notifications.background":"#FAFAFA","notifications.foreground":"#90A4AE","panel.background":"#FAFAFA","panel.border":"#FAFAFA60","panel.dropBackground":"#90A4AE","panelTitle.activeBorder":"#80CBC4","panelTitle.activeForeground":"#000000","panelTitle.inactiveForeground":"#90A4AE","peekView.border":"#00000020","peekViewEditor.background":"#90A4AE05","peekViewEditor.matchHighlightBackground":"#80CBC440","peekViewEditorGutter.background":"#90A4AE05","peekViewResult.background":"#90A4AE05","peekViewResult.matchHighlightBackground":"#80CBC440","peekViewResult.selectionBackground":"#758a9570","peekViewTitle.background":"#90A4AE05","peekViewTitleDescription.foreground":"#90A4AE60","pickerGroup.border":"#FFFFFF1a","pickerGroup.foreground":"#80CBC4","progressBar.background":"#80CBC4","quickInput.background":"#FAFAFA","quickInput.foreground":"#758a95","quickInput.list.focusBackground":"#90A4AE20","sash.hoverBorder":"#80CBC450","scrollbar.shadow":"#00000020","scrollbarSlider.activeBackground":"#80CBC4","scrollbarSlider.background":"#90A4AE20","scrollbarSlider.hoverBackground":"#90A4AE10","selection.background":"#CCD7DA80","settings.checkboxBackground":"#FAFAFA","settings.checkboxForeground":"#90A4AE","settings.dropdownBackground":"#FAFAFA","settings.dropdownForeground":"#90A4AE","settings.headerForeground":"#80CBC4","settings.modifiedItemIndicator":"#80CBC4","settings.numberInputBackground":"#FAFAFA","settings.numberInputForeground":"#90A4AE","settings.textInputBackground":"#FAFAFA","settings.textInputForeground":"#90A4AE","sideBar.background":"#FAFAFA","sideBar.border":"#FAFAFA60","sideBar.foreground":"#758a95","sideBarSectionHeader.background":"#FAFAFA","sideBarSectionHeader.border":"#FAFAFA60","sideBarTitle.foreground":"#90A4AE","statusBar.background":"#FAFAFA","statusBar.border":"#FAFAFA60","statusBar.debuggingBackground":"#9C3EDA","statusBar.debuggingForeground":"#FFFFFF","statusBar.foreground":"#7E939E","statusBar.noFolderBackground":"#FAFAFA","statusBarItem.activeBackground":"#E5393580","statusBarItem.hoverBackground":"#90A4AE20","statusBarItem.remoteBackground":"#80CBC4","statusBarItem.remoteForeground":"#000000","tab.activeBackground":"#FAFAFA","tab.activeBorder":"#80CBC4","tab.activeForeground":"#000000","tab.activeModifiedBorder":"#758a95","tab.border":"#FAFAFA","tab.inactiveBackground":"#FAFAFA","tab.inactiveForeground":"#758a95","tab.inactiveModifiedBorder":"#89221f","tab.unfocusedActiveBorder":"#90A4AE","tab.unfocusedActiveForeground":"#90A4AE","tab.unfocusedActiveModifiedBorder":"#b72d2a","tab.unfocusedInactiveModifiedBorder":"#89221f","terminal.ansiBlack":"#000000","terminal.ansiBlue":"#6182B8","terminal.ansiBrightBlack":"#90A4AE","terminal.ansiBrightBlue":"#6182B8","terminal.ansiBrightCyan":"#39ADB5","terminal.ansiBrightGreen":"#91B859","terminal.ansiBrightMagenta":"#9C3EDA","terminal.ansiBrightRed":"#E53935","terminal.ansiBrightWhite":"#FFFFFF","terminal.ansiBrightYellow":"#E2931D","terminal.ansiCyan":"#39ADB5","terminal.ansiGreen":"#91B859","terminal.ansiMagenta":"#9C3EDA","terminal.ansiRed":"#E53935","terminal.ansiWhite":"#FFFFFF","terminal.ansiYellow":"#E2931D","terminalCursor.background":"#000000","terminalCursor.foreground":"#E2931D","textLink.activeForeground":"#90A4AE","textLink.foreground":"#80CBC4","titleBar.activeBackground":"#FAFAFA","titleBar.activeForeground":"#90A4AE","titleBar.border":"#FAFAFA60","titleBar.inactiveBackground":"#FAFAFA","titleBar.inactiveForeground":"#758a95","tree.indentGuidesStroke":"#B0BEC5","widget.shadow":"#00000020"},displayName:"Material Theme Lighter",name:"material-theme-lighter",semanticHighlighting:!0,tokenColors:[{settings:{background:"#FAFAFA",foreground:"#90A4AE"}},{scope:"string",settings:{foreground:"#91B859"}},{scope:"punctuation, constant.other.symbol",settings:{foreground:"#39ADB5"}},{scope:"constant.character.escape, text.html constant.character.entity.named",settings:{foreground:"#90A4AE"}},{scope:"constant.language.boolean",settings:{foreground:"#FF5370"}},{scope:"constant.numeric",settings:{foreground:"#F76D47"}},{scope:"variable, variable.parameter, support.variable, variable.language, support.constant, meta.definition.variable entity.name.function, meta.function-call.arguments",settings:{foreground:"#90A4AE"}},{scope:"keyword.other",settings:{foreground:"#F76D47"}},{scope:"keyword, modifier, variable.language.this, support.type.object, constant.language",settings:{foreground:"#39ADB5"}},{scope:"entity.name.function, support.function",settings:{foreground:"#6182B8"}},{scope:"storage.type, storage.modifier, storage.control",settings:{foreground:"#9C3EDA"}},{scope:"support.module, support.node",settings:{fontStyle:"italic",foreground:"#E53935"}},{scope:"support.type, constant.other.key",settings:{foreground:"#E2931D"}},{scope:"entity.name.type, entity.other.inherited-class, entity.other",settings:{foreground:"#E2931D"}},{scope:"comment",settings:{fontStyle:"italic",foreground:"#90A4AE"}},{scope:"comment punctuation.definition.comment, string.quoted.docstring",settings:{fontStyle:"italic",foreground:"#90A4AE"}},{scope:"punctuation",settings:{foreground:"#39ADB5"}},{scope:"entity.name, entity.name.type.class, support.type, support.class, meta.use",settings:{foreground:"#E2931D"}},{scope:"variable.object.property, meta.field.declaration entity.name.function",settings:{foreground:"#E53935"}},{scope:"meta.definition.method entity.name.function",settings:{foreground:"#E53935"}},{scope:"meta.function entity.name.function",settings:{foreground:"#6182B8"}},{scope:"template.expression.begin, template.expression.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end",settings:{foreground:"#39ADB5"}},{scope:"meta.embedded, source.groovy.embedded, meta.template.expression",settings:{foreground:"#90A4AE"}},{scope:"entity.name.tag.yaml",settings:{foreground:"#E53935"}},{scope:"meta.object-literal.key, meta.object-literal.key string, support.type.property-name.json",settings:{foreground:"#E53935"}},{scope:"constant.language.json",settings:{foreground:"#39ADB5"}},{scope:"entity.other.attribute-name.class",settings:{foreground:"#E2931D"}},{scope:"entity.other.attribute-name.id",settings:{foreground:"#F76D47"}},{scope:"source.css entity.name.tag",settings:{foreground:"#E2931D"}},{scope:"support.type.property-name.css",settings:{foreground:"#8796B0"}},{scope:"meta.tag, punctuation.definition.tag",settings:{foreground:"#39ADB5"}},{scope:"entity.name.tag",settings:{foreground:"#E53935"}},{scope:"entity.other.attribute-name",settings:{foreground:"#9C3EDA"}},{scope:"punctuation.definition.entity.html",settings:{foreground:"#90A4AE"}},{scope:"markup.heading",settings:{foreground:"#39ADB5"}},{scope:"text.html.markdown meta.link.inline, meta.link.reference",settings:{foreground:"#E53935"}},{scope:"text.html.markdown beginning.punctuation.definition.list",settings:{foreground:"#39ADB5"}},{scope:"markup.italic",settings:{fontStyle:"italic",foreground:"#E53935"}},{scope:"markup.bold",settings:{fontStyle:"bold",foreground:"#E53935"}},{scope:"markup.bold markup.italic, markup.italic markup.bold",settings:{fontStyle:"italic bold",foreground:"#E53935"}},{scope:"markup.fenced_code.block.markdown punctuation.definition.markdown",settings:{foreground:"#91B859"}},{scope:"markup.inline.raw.string.markdown",settings:{foreground:"#91B859"}},{scope:"keyword.other.definition.ini",settings:{foreground:"#E53935"}},{scope:"entity.name.section.group-title.ini",settings:{foreground:"#39ADB5"}},{scope:"source.cs meta.class.identifier storage.type",settings:{foreground:"#E2931D"}},{scope:"source.cs meta.method.identifier entity.name.function",settings:{foreground:"#E53935"}},{scope:"source.cs meta.method-call meta.method, source.cs entity.name.function",settings:{foreground:"#6182B8"}},{scope:"source.cs storage.type",settings:{foreground:"#E2931D"}},{scope:"source.cs meta.method.return-type",settings:{foreground:"#E2931D"}},{scope:"source.cs meta.preprocessor",settings:{foreground:"#90A4AE"}},{scope:"source.cs entity.name.type.namespace",settings:{foreground:"#90A4AE"}},{scope:"meta.jsx.children, SXNested",settings:{foreground:"#90A4AE"}},{scope:"support.class.component",settings:{foreground:"#E2931D"}},{scope:"source.cpp meta.block variable.other",settings:{foreground:"#90A4AE"}},{scope:"source.python meta.member.access.python",settings:{foreground:"#E53935"}},{scope:"source.python meta.function-call.python, meta.function-call.arguments",settings:{foreground:"#6182B8"}},{scope:"meta.block",settings:{foreground:"#E53935"}},{scope:"entity.name.function.call",settings:{foreground:"#6182B8"}},{scope:"source.php support.other.namespace, source.php meta.use support.class",settings:{foreground:"#90A4AE"}},{scope:"constant.keyword",settings:{fontStyle:"italic",foreground:"#39ADB5"}},{scope:"entity.name.function",settings:{foreground:"#6182B8"}},{settings:{background:"#FAFAFA",foreground:"#90A4AE"}},{scope:["constant.other.placeholder"],settings:{foreground:"#E53935"}},{scope:["markup.deleted"],settings:{foreground:"#E53935"}},{scope:["markup.inserted"],settings:{foreground:"#91B859"}},{scope:["markup.underline"],settings:{fontStyle:"underline"}},{scope:["keyword.control"],settings:{fontStyle:"italic",foreground:"#39ADB5"}},{scope:["variable.parameter"],settings:{fontStyle:"italic"}},{scope:["variable.parameter.function.language.special.self.python"],settings:{fontStyle:"italic",foreground:"#E53935"}},{scope:["constant.character.format.placeholder.other.python"],settings:{foreground:"#F76D47"}},{scope:["markup.quote"],settings:{fontStyle:"italic",foreground:"#39ADB5"}},{scope:["markup.fenced_code.block"],settings:{foreground:"#90A4AE90"}},{scope:["punctuation.definition.quote"],settings:{foreground:"#FF5370"}},{scope:["meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#9C3EDA"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#E2931D"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#F76D47"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#E53935"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#916b53"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#6182B8"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#FF5370"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#9C3EDA"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#91B859"}}],type:"light"});const materialThemeLighterBRE1Bis3=Object.freeze(Object.defineProperty({__proto__:null,default:e$P},Symbol.toStringTag,{value:"Module"}));var e$O=Object.freeze({colors:{"activityBar.activeBorder":"#80CBC4","activityBar.background":"#292D3E","activityBar.border":"#292D3E60","activityBar.dropBackground":"#f0717880","activityBar.foreground":"#babed8","activityBarBadge.background":"#80CBC4","activityBarBadge.foreground":"#000000","badge.background":"#00000030","badge.foreground":"#676E95","breadcrumb.activeSelectionForeground":"#80CBC4","breadcrumb.background":"#292D3E","breadcrumb.focusForeground":"#babed8","breadcrumb.foreground":"#676E95","breadcrumbPicker.background":"#292D3E","button.background":"#717CB450","button.foreground":"#ffffff","debugConsole.errorForeground":"#f07178","debugConsole.infoForeground":"#89DDFF","debugConsole.warningForeground":"#FFCB6B","debugToolBar.background":"#292D3E","diffEditor.insertedTextBackground":"#89DDFF20","diffEditor.removedTextBackground":"#ff9cac20","dropdown.background":"#292D3E","dropdown.border":"#FFFFFF10","editor.background":"#292D3E","editor.findMatchBackground":"#000000","editor.findMatchBorder":"#80CBC4","editor.findMatchHighlight":"#babed8","editor.findMatchHighlightBackground":"#00000050","editor.findMatchHighlightBorder":"#ffffff30","editor.findRangeHighlightBackground":"#FFCB6B30","editor.foreground":"#babed8","editor.lineHighlightBackground":"#00000050","editor.lineHighlightBorder":"#00000000","editor.rangeHighlightBackground":"#FFFFFF0d","editor.selectionBackground":"#717CB450","editor.selectionHighlightBackground":"#FFCC0020","editor.wordHighlightBackground":"#ff9cac30","editor.wordHighlightStrongBackground":"#C3E88D30","editorBracketMatch.background":"#292D3E","editorBracketMatch.border":"#FFCC0050","editorCursor.foreground":"#FFCC00","editorError.foreground":"#f0717870","editorGroup.border":"#00000030","editorGroup.dropBackground":"#f0717880","editorGroup.focusedEmptyBorder":"#f07178","editorGroupHeader.tabsBackground":"#292D3E","editorGutter.addedBackground":"#C3E88D60","editorGutter.deletedBackground":"#f0717860","editorGutter.modifiedBackground":"#82AAFF60","editorHoverWidget.background":"#292D3E","editorHoverWidget.border":"#FFFFFF10","editorIndentGuide.activeBackground":"#4E5579","editorIndentGuide.background":"#4E557970","editorInfo.foreground":"#82AAFF70","editorLineNumber.activeForeground":"#676E95","editorLineNumber.foreground":"#3A3F58","editorLink.activeForeground":"#babed8","editorMarkerNavigation.background":"#babed805","editorOverviewRuler.border":"#292D3E","editorOverviewRuler.errorForeground":"#f0717840","editorOverviewRuler.findMatchForeground":"#80CBC4","editorOverviewRuler.infoForeground":"#82AAFF40","editorOverviewRuler.warningForeground":"#FFCB6B40","editorRuler.foreground":"#4E5579","editorSuggestWidget.background":"#292D3E","editorSuggestWidget.border":"#FFFFFF10","editorSuggestWidget.foreground":"#babed8","editorSuggestWidget.highlightForeground":"#80CBC4","editorSuggestWidget.selectedBackground":"#00000050","editorWarning.foreground":"#FFCB6B70","editorWhitespace.foreground":"#babed840","editorWidget.background":"#292D3E","editorWidget.border":"#80CBC4","editorWidget.resizeBorder":"#80CBC4","extensionBadge.remoteForeground":"#babed8","extensionButton.prominentBackground":"#C3E88D90","extensionButton.prominentForeground":"#babed8","extensionButton.prominentHoverBackground":"#C3E88D",focusBorder:"#FFFFFF00",foreground:"#babed8","gitDecoration.conflictingResourceForeground":"#FFCB6B90","gitDecoration.deletedResourceForeground":"#f0717890","gitDecoration.ignoredResourceForeground":"#676E9590","gitDecoration.modifiedResourceForeground":"#82AAFF90","gitDecoration.untrackedResourceForeground":"#C3E88D90","input.background":"#333747","input.border":"#FFFFFF10","input.foreground":"#babed8","input.placeholderForeground":"#babed860","inputOption.activeBackground":"#babed830","inputOption.activeBorder":"#babed830","inputValidation.errorBorder":"#f07178","inputValidation.infoBorder":"#82AAFF","inputValidation.warningBorder":"#FFCB6B","list.activeSelectionBackground":"#292D3E","list.activeSelectionForeground":"#80CBC4","list.dropBackground":"#f0717880","list.focusBackground":"#babed820","list.focusForeground":"#babed8","list.highlightForeground":"#80CBC4","list.hoverBackground":"#292D3E","list.hoverForeground":"#FFFFFF","list.inactiveSelectionBackground":"#00000030","list.inactiveSelectionForeground":"#80CBC4","listFilterWidget.background":"#00000030","listFilterWidget.noMatchesOutline":"#00000030","listFilterWidget.outline":"#00000030","menu.background":"#292D3E","menu.foreground":"#babed8","menu.selectionBackground":"#00000050","menu.selectionBorder":"#00000030","menu.selectionForeground":"#80CBC4","menu.separatorBackground":"#babed8","menubar.selectionBackground":"#00000030","menubar.selectionBorder":"#00000030","menubar.selectionForeground":"#80CBC4","notebook.focusedCellBorder":"#80CBC4","notebook.inactiveFocusedCellBorder":"#80CBC450","notificationLink.foreground":"#80CBC4","notifications.background":"#292D3E","notifications.foreground":"#babed8","panel.background":"#292D3E","panel.border":"#292D3E60","panel.dropBackground":"#babed8","panelTitle.activeBorder":"#80CBC4","panelTitle.activeForeground":"#FFFFFF","panelTitle.inactiveForeground":"#babed8","peekView.border":"#00000030","peekViewEditor.background":"#babed805","peekViewEditor.matchHighlightBackground":"#717CB450","peekViewEditorGutter.background":"#babed805","peekViewResult.background":"#babed805","peekViewResult.matchHighlightBackground":"#717CB450","peekViewResult.selectionBackground":"#676E9570","peekViewTitle.background":"#babed805","peekViewTitleDescription.foreground":"#babed860","pickerGroup.border":"#FFFFFF1a","pickerGroup.foreground":"#80CBC4","progressBar.background":"#80CBC4","quickInput.background":"#292D3E","quickInput.foreground":"#676E95","quickInput.list.focusBackground":"#babed820","sash.hoverBorder":"#80CBC450","scrollbar.shadow":"#00000030","scrollbarSlider.activeBackground":"#80CBC4","scrollbarSlider.background":"#A6ACCD20","scrollbarSlider.hoverBackground":"#A6ACCD10","selection.background":"#00000080","settings.checkboxBackground":"#292D3E","settings.checkboxForeground":"#babed8","settings.dropdownBackground":"#292D3E","settings.dropdownForeground":"#babed8","settings.headerForeground":"#80CBC4","settings.modifiedItemIndicator":"#80CBC4","settings.numberInputBackground":"#292D3E","settings.numberInputForeground":"#babed8","settings.textInputBackground":"#292D3E","settings.textInputForeground":"#babed8","sideBar.background":"#292D3E","sideBar.border":"#292D3E60","sideBar.foreground":"#676E95","sideBarSectionHeader.background":"#292D3E","sideBarSectionHeader.border":"#292D3E60","sideBarTitle.foreground":"#babed8","statusBar.background":"#292D3E","statusBar.border":"#292D3E60","statusBar.debuggingBackground":"#C792EA","statusBar.debuggingForeground":"#ffffff","statusBar.foreground":"#676E95","statusBar.noFolderBackground":"#292D3E","statusBarItem.activeBackground":"#f0717880","statusBarItem.hoverBackground":"#676E9520","statusBarItem.remoteBackground":"#80CBC4","statusBarItem.remoteForeground":"#000000","tab.activeBackground":"#292D3E","tab.activeBorder":"#80CBC4","tab.activeForeground":"#FFFFFF","tab.activeModifiedBorder":"#676E95","tab.border":"#292D3E","tab.inactiveBackground":"#292D3E","tab.inactiveForeground":"#676E95","tab.inactiveModifiedBorder":"#904348","tab.unfocusedActiveBorder":"#676E95","tab.unfocusedActiveForeground":"#babed8","tab.unfocusedActiveModifiedBorder":"#c05a60","tab.unfocusedInactiveModifiedBorder":"#904348","terminal.ansiBlack":"#000000","terminal.ansiBlue":"#82AAFF","terminal.ansiBrightBlack":"#676E95","terminal.ansiBrightBlue":"#82AAFF","terminal.ansiBrightCyan":"#89DDFF","terminal.ansiBrightGreen":"#C3E88D","terminal.ansiBrightMagenta":"#C792EA","terminal.ansiBrightRed":"#f07178","terminal.ansiBrightWhite":"#ffffff","terminal.ansiBrightYellow":"#FFCB6B","terminal.ansiCyan":"#89DDFF","terminal.ansiGreen":"#C3E88D","terminal.ansiMagenta":"#C792EA","terminal.ansiRed":"#f07178","terminal.ansiWhite":"#ffffff","terminal.ansiYellow":"#FFCB6B","terminalCursor.background":"#000000","terminalCursor.foreground":"#FFCB6B","textLink.activeForeground":"#babed8","textLink.foreground":"#80CBC4","titleBar.activeBackground":"#292D3E","titleBar.activeForeground":"#babed8","titleBar.border":"#292D3E60","titleBar.inactiveBackground":"#292D3E","titleBar.inactiveForeground":"#676E95","tree.indentGuidesStroke":"#4E5579","widget.shadow":"#00000030"},displayName:"Material Theme Palenight",name:"material-theme-palenight",semanticHighlighting:!0,tokenColors:[{settings:{background:"#292D3E",foreground:"#babed8"}},{scope:"string",settings:{foreground:"#C3E88D"}},{scope:"punctuation, constant.other.symbol",settings:{foreground:"#89DDFF"}},{scope:"constant.character.escape, text.html constant.character.entity.named",settings:{foreground:"#babed8"}},{scope:"constant.language.boolean",settings:{foreground:"#ff9cac"}},{scope:"constant.numeric",settings:{foreground:"#F78C6C"}},{scope:"variable, variable.parameter, support.variable, variable.language, support.constant, meta.definition.variable entity.name.function, meta.function-call.arguments",settings:{foreground:"#babed8"}},{scope:"keyword.other",settings:{foreground:"#F78C6C"}},{scope:"keyword, modifier, variable.language.this, support.type.object, constant.language",settings:{foreground:"#89DDFF"}},{scope:"entity.name.function, support.function",settings:{foreground:"#82AAFF"}},{scope:"storage.type, storage.modifier, storage.control",settings:{foreground:"#C792EA"}},{scope:"support.module, support.node",settings:{fontStyle:"italic",foreground:"#f07178"}},{scope:"support.type, constant.other.key",settings:{foreground:"#FFCB6B"}},{scope:"entity.name.type, entity.other.inherited-class, entity.other",settings:{foreground:"#FFCB6B"}},{scope:"comment",settings:{fontStyle:"italic",foreground:"#676E95"}},{scope:"comment punctuation.definition.comment, string.quoted.docstring",settings:{fontStyle:"italic",foreground:"#676E95"}},{scope:"punctuation",settings:{foreground:"#89DDFF"}},{scope:"entity.name, entity.name.type.class, support.type, support.class, meta.use",settings:{foreground:"#FFCB6B"}},{scope:"variable.object.property, meta.field.declaration entity.name.function",settings:{foreground:"#f07178"}},{scope:"meta.definition.method entity.name.function",settings:{foreground:"#f07178"}},{scope:"meta.function entity.name.function",settings:{foreground:"#82AAFF"}},{scope:"template.expression.begin, template.expression.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end",settings:{foreground:"#89DDFF"}},{scope:"meta.embedded, source.groovy.embedded, meta.template.expression",settings:{foreground:"#babed8"}},{scope:"entity.name.tag.yaml",settings:{foreground:"#f07178"}},{scope:"meta.object-literal.key, meta.object-literal.key string, support.type.property-name.json",settings:{foreground:"#f07178"}},{scope:"constant.language.json",settings:{foreground:"#89DDFF"}},{scope:"entity.other.attribute-name.class",settings:{foreground:"#FFCB6B"}},{scope:"entity.other.attribute-name.id",settings:{foreground:"#F78C6C"}},{scope:"source.css entity.name.tag",settings:{foreground:"#FFCB6B"}},{scope:"support.type.property-name.css",settings:{foreground:"#B2CCD6"}},{scope:"meta.tag, punctuation.definition.tag",settings:{foreground:"#89DDFF"}},{scope:"entity.name.tag",settings:{foreground:"#f07178"}},{scope:"entity.other.attribute-name",settings:{foreground:"#C792EA"}},{scope:"punctuation.definition.entity.html",settings:{foreground:"#babed8"}},{scope:"markup.heading",settings:{foreground:"#89DDFF"}},{scope:"text.html.markdown meta.link.inline, meta.link.reference",settings:{foreground:"#f07178"}},{scope:"text.html.markdown beginning.punctuation.definition.list",settings:{foreground:"#89DDFF"}},{scope:"markup.italic",settings:{fontStyle:"italic",foreground:"#f07178"}},{scope:"markup.bold",settings:{fontStyle:"bold",foreground:"#f07178"}},{scope:"markup.bold markup.italic, markup.italic markup.bold",settings:{fontStyle:"italic bold",foreground:"#f07178"}},{scope:"markup.fenced_code.block.markdown punctuation.definition.markdown",settings:{foreground:"#C3E88D"}},{scope:"markup.inline.raw.string.markdown",settings:{foreground:"#C3E88D"}},{scope:"keyword.other.definition.ini",settings:{foreground:"#f07178"}},{scope:"entity.name.section.group-title.ini",settings:{foreground:"#89DDFF"}},{scope:"source.cs meta.class.identifier storage.type",settings:{foreground:"#FFCB6B"}},{scope:"source.cs meta.method.identifier entity.name.function",settings:{foreground:"#f07178"}},{scope:"source.cs meta.method-call meta.method, source.cs entity.name.function",settings:{foreground:"#82AAFF"}},{scope:"source.cs storage.type",settings:{foreground:"#FFCB6B"}},{scope:"source.cs meta.method.return-type",settings:{foreground:"#FFCB6B"}},{scope:"source.cs meta.preprocessor",settings:{foreground:"#676E95"}},{scope:"source.cs entity.name.type.namespace",settings:{foreground:"#babed8"}},{scope:"meta.jsx.children, SXNested",settings:{foreground:"#babed8"}},{scope:"support.class.component",settings:{foreground:"#FFCB6B"}},{scope:"source.cpp meta.block variable.other",settings:{foreground:"#babed8"}},{scope:"source.python meta.member.access.python",settings:{foreground:"#f07178"}},{scope:"source.python meta.function-call.python, meta.function-call.arguments",settings:{foreground:"#82AAFF"}},{scope:"meta.block",settings:{foreground:"#f07178"}},{scope:"entity.name.function.call",settings:{foreground:"#82AAFF"}},{scope:"source.php support.other.namespace, source.php meta.use support.class",settings:{foreground:"#babed8"}},{scope:"constant.keyword",settings:{fontStyle:"italic",foreground:"#89DDFF"}},{scope:"entity.name.function",settings:{foreground:"#82AAFF"}},{settings:{background:"#292D3E",foreground:"#babed8"}},{scope:["constant.other.placeholder"],settings:{foreground:"#f07178"}},{scope:["markup.deleted"],settings:{foreground:"#f07178"}},{scope:["markup.inserted"],settings:{foreground:"#C3E88D"}},{scope:["markup.underline"],settings:{fontStyle:"underline"}},{scope:["keyword.control"],settings:{fontStyle:"italic",foreground:"#89DDFF"}},{scope:["variable.parameter"],settings:{fontStyle:"italic"}},{scope:["variable.parameter.function.language.special.self.python"],settings:{fontStyle:"italic",foreground:"#f07178"}},{scope:["constant.character.format.placeholder.other.python"],settings:{foreground:"#F78C6C"}},{scope:["markup.quote"],settings:{fontStyle:"italic",foreground:"#89DDFF"}},{scope:["markup.fenced_code.block"],settings:{foreground:"#babed890"}},{scope:["punctuation.definition.quote"],settings:{foreground:"#ff9cac"}},{scope:["meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#C792EA"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#FFCB6B"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#F78C6C"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#f07178"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#916b53"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#82AAFF"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#ff9cac"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#C792EA"}},{scope:["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#C3E88D"}}],type:"dark"});const materialThemePalenightDhz61Tee=Object.freeze(Object.defineProperty({__proto__:null,default:e$O},Symbol.toStringTag,{value:"Module"})),n$D=Object.freeze({displayName:"JSON",name:"json",patterns:[{include:"#value"}],repository:{array:{begin:"\\[",beginCaptures:{0:{name:"punctuation.definition.array.begin.json"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.array.end.json"}},name:"meta.structure.array.json",patterns:[{include:"#value"},{match:",",name:"punctuation.separator.array.json"},{match:"[^\\s\\]]",name:"invalid.illegal.expected-array-separator.json"}]},comments:{patterns:[{begin:"/\\*\\*(?!/)",captures:{0:{name:"punctuation.definition.comment.json"}},end:"\\*/",name:"comment.block.documentation.json"},{begin:"/\\*",captures:{0:{name:"punctuation.definition.comment.json"}},end:"\\*/",name:"comment.block.json"},{captures:{1:{name:"punctuation.definition.comment.json"}},match:"(//).*$\\n?",name:"comment.line.double-slash.js"}]},constant:{match:"\\b(?:true|false|null)\\b",name:"constant.language.json"},number:{match:`(?x)
|
|
205
205
|
-?
|
|
206
206
|
(?:
|
|
207
207
|
0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as R, c as w, d as F, an as G, h as _, l as f, y as N, ao as lt } from "./index-
|
|
2
|
-
import { U as nt } from "./createText-423428c9-Q0HfccbL-
|
|
3
|
-
import { P as ot } from "./line-BCVITS7s-
|
|
1
|
+
import { p as R, c as w, d as F, an as G, h as _, l as f, y as N, ao as lt } from "./index-Cw34a3AZ.js";
|
|
2
|
+
import { U as nt } from "./createText-423428c9-Q0HfccbL-B04VqsLa.js";
|
|
3
|
+
import { P as ot } from "./line-BCVITS7s-Bh5b5aZu.js";
|
|
4
4
|
const dt = (e, t, a, s) => {
|
|
5
5
|
t.forEach((l) => {
|
|
6
6
|
bt[l](e, a, s);
|
package/dist/{erDiagram-0ea73325-C3DQ6B1e-B5Rrft4o.js → erDiagram-0ea73325-C3DQ6B1e-BjK5UvwQ.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as Y, s as _t, g as ft, b as mt, a as Et, v as gt, x as bt, ar as kt, l as K, z as Ot, h as tt, y as Rt, i as Nt, ao as xt, as as Tt } from "./index-
|
|
2
|
-
import { Z as At } from "./graph-BIq67vWs-
|
|
3
|
-
import { A as Mt } from "./layout-Cz0dAJah-
|
|
4
|
-
import { P as Dt } from "./line-BCVITS7s-
|
|
1
|
+
import { c as Y, s as _t, g as ft, b as mt, a as Et, v as gt, x as bt, ar as kt, l as K, z as Ot, h as tt, y as Rt, i as Nt, ao as xt, as as Tt } from "./index-Cw34a3AZ.js";
|
|
2
|
+
import { Z as At } from "./graph-BIq67vWs-BjBAIX_z.js";
|
|
3
|
+
import { A as Mt } from "./layout-Cz0dAJah-BM9SLaDj.js";
|
|
4
|
+
import { P as Dt } from "./line-BCVITS7s-Bh5b5aZu.js";
|
|
5
5
|
const It = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
|
|
6
6
|
function vt(t) {
|
|
7
7
|
return typeof t == "string" && It.test(t);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as ee, u as Bt, s as mt, g as xt, a as vt, b as Lt, v as $t, x as It, l as Q1, y as de, z as Rt, j as Nt, h as R1 } from "./index-
|
|
1
|
+
import { c as ee, u as Bt, s as mt, g as xt, a as vt, b as Lt, v as $t, x as It, l as Q1, y as de, z as Rt, j as Nt, h as R1 } from "./index-Cw34a3AZ.js";
|
|
2
2
|
var pe = function() {
|
|
3
3
|
var t = function(q, a, o, n) {
|
|
4
4
|
for (o = o || {}, n = q.length; n--; o[q[n]] = a)
|