@kong-ui-public/documentation 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{arc-Db-G4La6-D0U7izOx.js → arc-Db-G4La6-9oHI8HT5.js} +1 -1
- package/dist/{blockDiagram-9f4a6865-IUliCiDO-CrXF9393.js → blockDiagram-9f4a6865-IUliCiDO-CB0IBm1m.js} +5 -5
- package/dist/{c4Diagram-ae766693-CraPSkgX-_Gu57Nu_.js → c4Diagram-ae766693-CraPSkgX-CsP6MA7_.js} +2 -2
- package/dist/{channel-BN6QTnj4-BkVtANJ2.js → channel-BN6QTnj4-CfiMWXq0.js} +1 -1
- package/dist/{classDiagram-fb54d2a0-DXWl4-1y-CTHPwD2X.js → classDiagram-fb54d2a0-DXWl4-1y-CoIPJ9Tf.js} +5 -5
- package/dist/{classDiagram-v2-a2b738ad-CuRy1r-r-DyM7xNJS.js → classDiagram-v2-a2b738ad-CuRy1r-r-SMHLTRcJ.js} +5 -5
- package/dist/{clone-DPlFlx1_-w_UmPidM.js → clone-DPlFlx1_-B6OhGku3.js} +1 -1
- package/dist/{createText-ca0c5216-BJXIFjUv-BXxBcdCp.js → createText-ca0c5216-BJXIFjUv-B9Xp5z9K.js} +1 -1
- package/dist/documentation.es.js +1 -1
- package/dist/documentation.umd.js +1 -1
- package/dist/{edges-066a5561-DyIiUH3I-BhqQ2yTY.js → edges-066a5561-DyIiUH3I-B88mxBJO.js} +3 -3
- package/dist/{erDiagram-09d1c15f-DaNxb97t-yfIoK6e9.js → erDiagram-09d1c15f-DaNxb97t-DI2sOo4s.js} +4 -4
- package/dist/{flowDb-c1833063-4TreIkwu-CS76KNQc.js → flowDb-c1833063-4TreIkwu-DLOEDd2f.js} +1 -1
- package/dist/{flowDiagram-b222e15a-Bz6kEL6X-BYX80NQA.js → flowDiagram-b222e15a-Bz6kEL6X-B4McfssH.js} +6 -6
- package/dist/{flowDiagram-v2-13329dc7-BSJVxEBD-B68Wj7gO.js → flowDiagram-v2-13329dc7-BSJVxEBD-CR0v6C6O.js} +5 -5
- package/dist/{flowchart-elk-definition-ae0efee6-D_SQlTEw-B2IZ68WH.js → flowchart-elk-definition-ae0efee6-D_SQlTEw-DHjq3NxL.js} +4 -4
- package/dist/{ganttDiagram-b62c793e-w82uNNex-Bent3wbI.js → ganttDiagram-b62c793e-w82uNNex-OPrei_7k.js} +2 -2
- package/dist/{gitGraphDiagram-942e62fe-DN0JwANo-CcCsDaTz.js → gitGraphDiagram-942e62fe-DN0JwANo-r5Axb-YL.js} +1 -1
- package/dist/{graph-Bb1vku7A-B2yEOpqN.js → graph-Bb1vku7A-CjMAyaMV.js} +1 -1
- package/dist/{index-01f381cb-DFAckdb4-B5BAfS-0.js → index-01f381cb-DFAckdb4-DP_D7ZMM.js} +6 -6
- package/dist/{index-Dqk1et0Y.js → index-74HaIrFw.js} +25 -25
- package/dist/{infoDiagram-94cd232f-iYUDXeae-f779DftR.js → infoDiagram-94cd232f-iYUDXeae-DbxyZ1YG.js} +1 -1
- package/dist/{journeyDiagram-6625b456-D9SzlG49-B_0J11DL.js → journeyDiagram-6625b456-D9SzlG49-D9WC6928.js} +3 -3
- package/dist/{layout-BXWpVE1y-FgWx9uW-.js → layout-BXWpVE1y-Dpdx9MjN.js} +2 -2
- package/dist/{line-cygqshb4-CjjyPBlr.js → line-cygqshb4-ChLkD5zh.js} +1 -1
- package/dist/{linear-c7VKFbmv-BiysEY6-.js → linear-c7VKFbmv-Bcl7PKrY.js} +1 -1
- package/dist/{mindmap-definition-307c710a-Dtax51Qo-BqkvyHLG.js → mindmap-definition-307c710a-Dtax51Qo-DiTPR9DS.js} +2 -2
- package/dist/{pieDiagram-bb1d19e5-MIBQswLW-D4bm4lTE.js → pieDiagram-bb1d19e5-MIBQswLW-DwEeDM9B.js} +2 -2
- package/dist/{quadrantDiagram-c759a472-CUBvKLS1-DPaDYGvj.js → quadrantDiagram-c759a472-CUBvKLS1-BFYNBXmR.js} +2 -2
- package/dist/{requirementDiagram-87253d64-BZrSGm9j-IiIMf1VY.js → requirementDiagram-87253d64-BZrSGm9j-BTMRMufk.js} +4 -4
- package/dist/{sankeyDiagram-707fac0f-BMrqHGsv-DDKfDiBf.js → sankeyDiagram-707fac0f-BMrqHGsv-B27LQLYG.js} +1 -1
- package/dist/{sequenceDiagram-6894f283-CKZurmNK-BxZJFQI5.js → sequenceDiagram-6894f283-CKZurmNK-kn3T54cJ.js} +2 -2
- package/dist/{stateDiagram-5dee940d-uylU1OS0-Chv2LC__.js → stateDiagram-5dee940d-uylU1OS0-DApYcfZ7.js} +5 -5
- package/dist/{stateDiagram-v2-1992cada-JYJWGRv5-ayrVTY06.js → stateDiagram-v2-1992cada-JYJWGRv5-C-8aN2Zs.js} +5 -5
- package/dist/style.css +1 -1
- package/dist/{styles-0784dbeb-CN_Kv1lZ-Ded2tf9k.js → styles-0784dbeb-CN_Kv1lZ-BqcZ7Gdy.js} +1 -1
- package/dist/{styles-483fbfea-_Tntk7zw-Dxc3X2R7.js → styles-483fbfea-_Tntk7zw-BMvdfSW3.js} +4 -4
- package/dist/{styles-b83b31c9-BkcEKpp1-jHUHMRqK.js → styles-b83b31c9-BkcEKpp1-AMZ_2CDs.js} +1 -1
- package/dist/{svgDrawCommon-5e1cfd1d--PZSQhO7-VXYJB-Xv.js → svgDrawCommon-5e1cfd1d--PZSQhO7-VrjnCid8.js} +1 -1
- package/dist/{timeline-definition-bf702344-DVMY6q6d-BhEc_jl2.js → timeline-definition-bf702344-DVMY6q6d-BYAHqkvN.js} +2 -2
- package/dist/types/components/DocumentationContent.vue.d.ts +3 -3
- package/dist/types/components/DocumentationContent.vue.d.ts.map +1 -1
- package/dist/types/components/DocumentationDisplay.vue.d.ts +3 -3
- package/dist/types/helpers.d.ts.map +1 -1
- package/dist/types/types/document-list.d.ts +2 -2
- package/dist/types/types/document-list.d.ts.map +1 -1
- package/dist/{xychartDiagram-f11f50a6-CfFXg3YO-CyhwLZTh.js → xychartDiagram-f11f50a6-CfFXg3YO-BJuC_16u.js} +4 -4
- package/package.json +8 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { q as on, P as G } from "./path-Crsf9Nsj-SiSjwXsf.js";
|
|
2
|
-
import { aP as an, aQ as B, aR as P, aS as rn, aT as l, aO as un, aU as S, aV as I, aW as cn, aX as y, aY as sn, aZ as yn, a_ as en } from "./index-
|
|
2
|
+
import { aP as an, aQ as B, aR as P, aS as rn, aT as l, aO as un, aU as S, aV as I, aW as cn, aX as y, aY as sn, aZ as yn, a_ as en } from "./index-74HaIrFw.js";
|
|
3
3
|
function fn(o) {
|
|
4
4
|
return o.innerRadius;
|
|
5
5
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as ge, b0 as ie, h as q, i as me, l as L, A as _e, aj as ke, j as Ee, o as De } from "./index-
|
|
2
|
-
import { a as we } from "./clone-DPlFlx1_-
|
|
3
|
-
import { h as ve, u as Ne, d as $e, g as Te, o as de, f as Oe } from "./edges-066a5561-DyIiUH3I-
|
|
4
|
-
import { Y as Ie } from "./graph-Bb1vku7A-
|
|
1
|
+
import { c as ge, b0 as ie, h as q, i as me, l as L, A as _e, aj as ke, j as Ee, o as De } from "./index-74HaIrFw.js";
|
|
2
|
+
import { a as we } from "./clone-DPlFlx1_-B6OhGku3.js";
|
|
3
|
+
import { h as ve, u as Ne, d as $e, g as Te, o as de, f as Oe } from "./edges-066a5561-DyIiUH3I-B88mxBJO.js";
|
|
4
|
+
import { Y as Ie } from "./graph-Bb1vku7A-CjMAyaMV.js";
|
|
5
5
|
import { h as Ae } from "./ordinal-MUacOSdK-B1MUT0BL.js";
|
|
6
|
-
import { t as Ce } from "./channel-BN6QTnj4-
|
|
6
|
+
import { t as Ce } from "./channel-BN6QTnj4-CfiMWXq0.js";
|
|
7
7
|
import { r as ze } 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-ae766693-CraPSkgX-_Gu57Nu_.js → c4Diagram-ae766693-CraPSkgX-CsP6MA7_.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as Oe, g as ke, a as Te, b as we, c as vt, d as he, e as ve, f as kt, h as jt, l as re, i as Re, w as De, j as qt, k as le, m as Ne } from "./index-
|
|
2
|
-
import { l as Pe, g as je } from "./svgDrawCommon-5e1cfd1d--PZSQhO7-
|
|
1
|
+
import { s as Oe, g as ke, a as Te, b as we, c as vt, d as he, e as ve, f as kt, h as jt, l as re, i as Re, w as De, j as qt, k as le, m as Ne } from "./index-74HaIrFw.js";
|
|
2
|
+
import { l as Pe, g as je } from "./svgDrawCommon-5e1cfd1d--PZSQhO7-VrjnCid8.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 as A } from "./styles-b83b31c9-BkcEKpp1-
|
|
2
|
-
import { c as H, l as f, h as N, i as D, ao as $, z as T, as as J } from "./index-
|
|
3
|
-
import { Y as W } from "./graph-Bb1vku7A-
|
|
4
|
-
import { O as X } from "./layout-BXWpVE1y-
|
|
5
|
-
import { P as Z } from "./line-cygqshb4-
|
|
1
|
+
import { z as C, K as B, Y as A } from "./styles-b83b31c9-BkcEKpp1-AMZ_2CDs.js";
|
|
2
|
+
import { c as H, l as f, h as N, i as D, ao as $, z as T, as as J } from "./index-74HaIrFw.js";
|
|
3
|
+
import { Y as W } from "./graph-Bb1vku7A-CjMAyaMV.js";
|
|
4
|
+
import { O as X } from "./layout-BXWpVE1y-Dpdx9MjN.js";
|
|
5
|
+
import { P as Z } from "./line-cygqshb4-ChLkD5zh.js";
|
|
6
6
|
let O = 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-b83b31c9-BkcEKpp1-
|
|
2
|
-
import { l as c, c as d, h as w, z, u as B, o as E, q as D, t as $, j as A } from "./index-
|
|
3
|
-
import { Y as R } from "./graph-Bb1vku7A-
|
|
4
|
-
import { b as Y } from "./index-01f381cb-DFAckdb4-
|
|
5
|
-
import "./layout-BXWpVE1y-
|
|
1
|
+
import { z as _, K as L, Y as j } from "./styles-b83b31c9-BkcEKpp1-AMZ_2CDs.js";
|
|
2
|
+
import { l as c, c as d, h as w, z, u as B, o as E, q as D, t as $, j as A } from "./index-74HaIrFw.js";
|
|
3
|
+
import { Y as R } from "./graph-Bb1vku7A-CjMAyaMV.js";
|
|
4
|
+
import { b as Y } from "./index-01f381cb-DFAckdb4-DP_D7ZMM.js";
|
|
5
|
+
import "./layout-BXWpVE1y-Dpdx9MjN.js";
|
|
6
6
|
const k = (a) => A.sanitizeText(a, d());
|
|
7
7
|
let x = {
|
|
8
8
|
dividerMargin: 10,
|
package/dist/{createText-ca0c5216-BJXIFjUv-BXxBcdCp.js → createText-ca0c5216-BJXIFjUv-B9Xp5z9K.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-74HaIrFw.js";
|
|
2
2
|
const Ct = {};
|
|
3
3
|
function wt(e, r) {
|
|
4
4
|
const t = Ct, n = typeof t.includeImageAlt == "boolean" ? t.includeImageAlt : !0, u = typeof t.includeHtml == "boolean" ? t.includeHtml : !0;
|
package/dist/documentation.es.js
CHANGED
|
@@ -205,7 +205,7 @@ ${tA.themeCSS}`),tA.fontFamily!==void 0&&(oA+=`
|
|
|
205
205
|
${IFRAME_NOT_SUPPORTED_MSG}
|
|
206
206
|
</iframe>`},appendDivSvgG=(tA,aA,rA,oA,cA)=>{const uA=tA.append("div");uA.attr("id",rA),oA&&uA.attr("style",oA);const lA=uA.append("svg").attr("id",aA).attr("width","100%").attr("xmlns",XMLNS_SVG_STD);return cA&&lA.attr("xmlns:xlink",cA),lA.append("g"),tA};function sandboxedIframe(tA,aA){return tA.append("iframe").attr("id",aA).attr("style","width: 100%; height: 100%;").attr("sandbox","")}const removeExistingElements=(tA,aA,rA,oA)=>{var cA,uA,lA;(cA=tA.getElementById(aA))==null||cA.remove(),(uA=tA.getElementById(rA))==null||uA.remove(),(lA=tA.getElementById(oA))==null||lA.remove()},render$1=async function(tA,aA,rA){var oA,cA,uA,lA,mA,fA;addDiagrams();const wA=processAndSetConfigs(aA);aA=wA.code;const yA=getConfig$1();log$1.debug(yA),aA.length>((yA==null?void 0:yA.maxTextSize)??MAX_TEXTLENGTH)&&(aA=MAX_TEXTLENGTH_EXCEEDED_MSG);const EA="#"+tA,BA="i"+tA,kA="#"+BA,vA="d"+tA,$A="#"+vA;let FA=select("body");const SA=yA.securityLevel===SECURITY_LVL_SANDBOX,LA=yA.securityLevel===SECURITY_LVL_LOOSE,OA=yA.fontFamily;if(rA!==void 0){if(rA&&(rA.innerHTML=""),SA){const tl=sandboxedIframe(select(rA),BA);FA=select(tl.nodes()[0].contentDocument.body),FA.node().style.margin=0}else FA=select(rA);appendDivSvgG(FA,tA,vA,`font-family: ${OA}`,XMLNS_XLINK_STD)}else{if(removeExistingElements(document,tA,vA,BA),SA){const tl=sandboxedIframe(select("body"),BA);FA=select(tl.nodes()[0].contentDocument.body),FA.node().style.margin=0}else FA=select("body");appendDivSvgG(FA,tA,vA)}let RA,GA;try{RA=await getDiagramFromText(aA,{title:wA.title})}catch(tl){RA=new Diagram("error"),GA=tl}const YA=FA.select($A).node(),UA=RA.type,NA=YA.firstChild,JA=NA.firstChild,TA=(cA=(oA=RA.renderer).getClasses)==null?void 0:cA.call(oA,aA,RA),XA=createUserStyles(yA,UA,TA,EA),qA=document.createElement("style");qA.innerHTML=XA,NA.insertBefore(qA,JA);try{await RA.renderer.draw(aA,tA,version,RA)}catch(tl){throw errorRenderer.draw(aA,tA,version),tl}const HA=FA.select(`${$A} svg`),rl=(lA=(uA=RA.db).getAccTitle)==null?void 0:lA.call(uA),Qu=(fA=(mA=RA.db).getAccDescription)==null?void 0:fA.call(mA);addA11yInfo(UA,HA,rl,Qu),FA.select(`[id="${tA}"]`).selectAll("foreignobject > *").attr("xmlns",XMLNS_XHTML_STD);let ll=FA.select($A).node().innerHTML;if(log$1.debug("config.arrowMarkerAbsolute",yA.arrowMarkerAbsolute),ll=cleanUpSvgCode(ll,SA,evaluate(yA.arrowMarkerAbsolute)),SA){const tl=FA.select($A+" svg").node();ll=putIntoIFrame(ll,tl)}else LA||(ll=purify.sanitize(ll,{ADD_TAGS:DOMPURIFY_TAGS,ADD_ATTR:DOMPURIFY_ATTR}));if(attachFunctions(),GA)throw GA;const Zu=select(SA?kA:$A).node();return Zu&&"remove"in Zu&&Zu.remove(),{svg:ll,bindFunctions:RA.db.bindFunctions}};function initialize$1(tA={}){var aA;tA!=null&&tA.fontFamily&&!((aA=tA.themeVariables)!=null&&aA.fontFamily)&&(tA.themeVariables||(tA.themeVariables={}),tA.themeVariables.fontFamily=tA.fontFamily),saveConfigFromInitialize(tA),tA!=null&&tA.theme&&tA.theme in theme?tA.themeVariables=theme[tA.theme].getThemeVariables(tA.themeVariables):tA&&(tA.themeVariables=theme.default.getThemeVariables(tA.themeVariables));const rA=typeof tA=="object"?setSiteConfig(tA):getSiteConfig();setLogLevel$1(rA.logLevel),addDiagrams()}const getDiagramFromText=(tA,aA={})=>{const{code:rA}=preprocessDiagram(tA);return getDiagramFromText$1(rA,aA)};function addA11yInfo(tA,aA,rA,oA){setA11yDiagramInfo(aA,tA),addSVGa11yTitleDescription(aA,rA,oA,aA.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 tA=(await Promise.allSettled(Object.entries(detectors).map(async([aA,{detector:rA,loader:oA}])=>{if(oA)try{getDiagram(aA)}catch{try{const{diagram:cA,id:uA}=await oA();registerDiagram(uA,cA,rA)}catch(cA){throw log$1.error(`Failed to load external diagram with key ${aA}. Removing from detectors.`),delete detectors[aA],cA}}}))).filter(aA=>aA.status==="rejected");if(tA.length>0){log$1.error(`Failed to load ${tA.length} external diagrams`);for(const aA of tA)log$1.error(aA);throw new Error(`Failed to load ${tA.length} external diagrams`)}},handleError=(tA,aA,rA)=>{log$1.warn(tA),isDetailedError(tA)?(rA&&rA(tA.str,tA.hash),aA.push({...tA,message:tA.str,error:tA})):(rA&&rA(tA),tA instanceof Error&&aA.push({str:tA.message,message:tA.message,hash:tA.name,error:tA}))},run=async function(tA={querySelector:".mermaid"}){try{await runThrowsErrors(tA)}catch(aA){if(isDetailedError(aA)&&log$1.error(aA.str),mermaid.parseError&&mermaid.parseError(aA),!tA.suppressErrors)throw log$1.error("Use the suppressErrors option to suppress these errors"),aA}},runThrowsErrors=async function({postRenderCallback:tA,querySelector:aA,nodes:rA}={querySelector:".mermaid"}){const oA=mermaidAPI.getConfig();log$1.debug(`${tA?"":"No "}Callback function found`);let cA;if(rA)cA=rA;else if(aA)cA=document.querySelectorAll(aA);else throw new Error("Nodes and querySelector are both undefined");log$1.debug(`Found ${cA.length} diagrams`),(oA==null?void 0:oA.startOnLoad)!==void 0&&(log$1.debug("Start On Load: "+(oA==null?void 0:oA.startOnLoad)),mermaidAPI.updateSiteConfig({startOnLoad:oA==null?void 0:oA.startOnLoad}));const uA=new utils.InitIDGenerator(oA.deterministicIds,oA.deterministicIDSeed);let lA;const mA=[];for(const fA of Array.from(cA)){log$1.info("Rendering diagram: "+fA.id);/*! Check if previously processed */if(fA.getAttribute("data-processed"))continue;fA.setAttribute("data-processed","true");const wA=`mermaid-${uA.next()}`;lA=fA.innerHTML,lA=dedent(utils.entityDecode(lA)).trim().replace(/<br\s*\/?>/gi,"<br/>");const yA=utils.detectInit(lA);yA&&log$1.debug("Detected early reinit: ",yA);try{const{svg:EA,bindFunctions:BA}=await render(wA,lA,fA);fA.innerHTML=EA,tA&&await tA(wA),BA&&BA(fA)}catch(EA){handleError(EA,mA,mermaid.parseError)}}if(mA.length>0)throw mA[0]},initialize=function(tA){mermaidAPI.initialize(tA)},init=async function(tA,aA,rA){log$1.warn("mermaid.init is deprecated. Please use run instead."),tA&&initialize(tA);const oA={postRenderCallback:rA,querySelector:".mermaid"};typeof aA=="string"?oA.querySelector=aA:aA&&(aA instanceof HTMLElement?oA.nodes=[aA]:oA.nodes=aA),await run(oA)},registerExternalDiagrams=async(tA,{lazyLoad:aA=!0}={})=>{registerLazyLoadedDiagrams(...tA),aA===!1&&await loadRegisteredDiagrams()},contentLoaded=function(){if(mermaid.startOnLoad){const{startOnLoad:tA}=mermaidAPI.getConfig();tA&&mermaid.run().catch(aA=>log$1.error("Mermaid failed to initialize",aA))}};if(typeof document<"u"){/*!
|
|
207
207
|
* Wait for document loaded before starting the execution
|
|
208
|
-
*/window.addEventListener("load",contentLoaded,!1)}const setParseErrorHandler=function(tA){mermaid.parseError=tA},executionQueue=[];let executionQueueRunning=!1;const executeQueue=async()=>{if(!executionQueueRunning){for(executionQueueRunning=!0;executionQueue.length>0;){const tA=executionQueue.shift();if(tA)try{await tA()}catch(aA){log$1.error("Error executing queue",aA)}}executionQueueRunning=!1}},parse=async(tA,aA)=>new Promise((rA,oA)=>{const cA=()=>new Promise((uA,lA)=>{mermaidAPI.parse(tA,aA).then(mA=>{uA(mA),rA(mA)},mA=>{var fA;log$1.error("Error parsing",mA),(fA=mermaid.parseError)==null||fA.call(mermaid,mA),lA(mA),oA(mA)})});executionQueue.push(cA),executeQueue().catch(oA)}),render=(tA,aA,rA)=>new Promise((oA,cA)=>{const uA=()=>new Promise((lA,mA)=>{mermaidAPI.render(tA,aA,rA).then(fA=>{lA(fA),oA(fA)},fA=>{var wA;log$1.error("Error parsing",fA),(wA=mermaid.parseError)==null||wA.call(mermaid,fA),mA(fA),cA(fA)})});executionQueue.push(uA),executeQueue().catch(cA)}),mermaid={startOnLoad:!0,mermaidAPI,parse,render,init,run,registerExternalDiagrams,initialize,parseError:void 0,contentLoaded,setParseErrorHandler,detectType},_withScopeId$2=tA=>(vue.pushScopeId("data-v-4f1fe5ab"),tA=tA(),vue.popScopeId(),tA),_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$2={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:tA=>["read","edit","split","preview"].includes(tA)},tabSize:{type:Number,default:2,validator:tA=>tA>=2&&tA<=6},theme:{type:String,default:"",validator:tA=>["","light","dark"].includes(tA)},maxHeight:{type:Number,default:300,validator:tA=>tA>=100},fullscreenOffsetTop:{type:Number,default:0},fullscreenZIndex:{type:Number,default:1001}},emits:["update:modelValue","update:frontmatter","save","cancel","mode","fullscreen"],setup(tA,{expose:aA,emit:rA}){vue.useCssVars(sm=>({90181486:Fm.value,"6472e7f9":im.value,"2d670ab2":sm.$props.fullscreenZIndex,"30773a1a":cm.value,"2592ad99":vue.unref(TOOLBAR_HEIGHT)}));const oA=tA,cA=rA,uA=vue.ref(null),lA=vue.ref(null),{init:mA,md:fA}=composables.useMarkdownIt(),wA=v4(),yA=vue.computed(()=>`markdown-ui-${wA}`),EA=vue.computed(()=>`markdown-ui-textarea-${wA}`),BA=vue.computed(()=>`scrollable-${wA}`),kA=vue.computed(()=>oA.tabSize),vA=usePreferredColorScheme(),$A=vue.computed(()=>oA.theme?oA.theme:vA.value==="dark"?vA.value:"light"),FA=vue.ref(["edit","split","preview"].includes(oA.mode)&&oA.editable?oA.mode:"read"),SA=vue.ref(!1),LA=vue.ref(!1);vue.provide(UNIQUE_ID_INJECTION_KEY,wA),vue.provide(TEXTAREA_ID_INJECTION_KEY,EA),vue.provide(MODE_INJECTION_KEY,FA),vue.provide(EDITABLE_INJECTION_KEY,vue.computed(()=>oA.editable)),vue.provide(FULLSCREEN_INJECTION_KEY,SA),vue.provide(THEME_INJECTION_KEY,$A),vue.provide(HTML_PREVIEW_INJECTION_KEY,LA);const{initializeSyncScroll:OA,destroySyncScroll:RA}=composables.useSyncScroll(BA),{debounce:GA}=composables.useDebounce();vue.watch(FA,async sm=>{switch(sm){case"edit":LA.value=!1;break;case"split":break;case"preview":break;case"read":LA.value=!1,SA.value=!1;break}cA("mode",sm),RA(),await vue.nextTick(),await ll(),OA()});const YA=sm=>{var Vm;const dm={},cb=(Vm=fA.value)==null?void 0:Vm.render(sm,dm);return NA.value=dm.frontmatter,cb},UA=vue.ref(oA.modelValue),NA=vue.ref(),JA=vue.ref(""),TA=vue.ref(""),{toggleInlineFormatting:XA,insertMarkdownTemplate:qA,insertLink:HA}=composables.useMarkdownActions(uA,UA),rl=sm=>{sm==="link"?HA():XA(sm),sl()},Qu=sm=>{qA(sm),sl()};vue.watchEffect(()=>{var sm;LA.value&&(TA.value=(sm=fA.value)==null?void 0:sm.render("```html"+NEW_LINE_CHARACTER+formatHtml(JA.value," ".repeat(kA.value))+NEW_LINE_CHARACTER+"```"))});const ll=async()=>{if(typeof mermaid<"u"&&typeof(mermaid==null?void 0:mermaid.run)=="function"){const sm=`#${yA.value} .markdown-content-container .mermaid`;document.querySelector(sm)&&await mermaid.run({querySelector:sm,suppressErrors:!0})}},Zu=()=>{try{const sm=new Blob([UA.value],{type:"text/markdown;charset=utf-8"}),Vm=URL.createObjectURL(sm),dm=document.createElement("a");dm.href=Vm,dm.download=`${oA.filename.replace(/ /g,"-").replace(/[^-+.a-zA-Z0-9_]/g,"").replace(/(\.md)+$/g,"")}.md`,dm.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window})),setTimeout(()=>{window.URL.revokeObjectURL(Vm),dm.remove()},100)}catch(sm){console.warn("download",sm)}},tl=(sm,Vm=!0)=>{UA.value=sm.target.value,Wu(Vm)},Wu=GA(async(sm=!0)=>{JA.value=YA(UA.value),await vue.nextTick(),sm&&(cA("update:modelValue",UA.value),cA("update:frontmatter",NA.value)),await vue.nextTick(),await ll()},EDITOR_DEBOUNCE_TIMEOUT),sl=(sm=!0)=>{const Vm={target:{value:UA.value}};tl(Vm,sm)};vue.watch(()=>oA.modelValue,sm=>{UA.value=sm,sl(!1)});const om=()=>{LA.value=!LA.value,sl()},im=vue.computed(()=>`${oA.fullscreenOffsetTop}px`),rm=()=>{SA.value=!SA.value};vue.watch(SA,sm=>{cA("fullscreen",sm)});const fm=useMediaQuery(`(min-width: ${KUI_BREAKPOINT_PHABLET})`),Gm=()=>{FA.value=fm.value?"split":"edit"},lm=()=>{cA("cancel"),FA.value="read"},Cm=()=>{cA("save",{content:UA.value,frontmatter:NA.value}),FA.value="read"},wm=()=>{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 sm=>{await mA(sm),wm(),sl()});const Em=async sm=>{var Vm,dm,cb,ym,Rb,Bb,Nw,Tw;try{if(!((dm=(Vm=sm.target)==null?void 0:Vm.classList)!=null&&dm.contains("kong-markdown-code-block-copy"))||!((ym=(cb=sm.target)==null?void 0:cb.dataset)!=null&&ym.copytext))return;if(sm.preventDefault(),(Rb=navigator==null?void 0:navigator.clipboard)!=null&&Rb.writeText){const qy=((Nw=(Bb=sm.target)==null?void 0:Bb.dataset)==null?void 0:Nw.copytext)||"";qy&&(await navigator.clipboard.writeText(qy),(Tw=sm==null?void 0:sm.target)==null||Tw.blur())}}catch(qy){console.warn("Could not copy text to clipboard",qy)}};composables.useKeyboardShortcuts(uA,UA,kA,sl),vue.onMounted(async()=>{await mA($A.value),JA.value=YA(oA.modelValue),await vue.nextTick(),useEventListener(lA,"click",Em),wm(),await ll(),FA.value==="split"&&(await vue.nextTick(),OA())}),vue.onUnmounted(()=>{RA()}),aA({download:Zu,edit:Gm});const cm=vue.computed(()=>`calc(100vh - ${TOOLBAR_HEIGHT} - ${KUI_SPACE_60})`),Fm=vue.computed(()=>`${oA.maxHeight}px`);return(sm,Vm)=>{var dm;return vue.openBlock(),vue.createElementBlock("div",{id:yA.value,ref_key:"markdownComponent",ref:lA,class:vue.normalizeClass(["kong-ui-public-markdown-ui",[`mode-${FA.value}`,`theme-${$A.value}`,{fullscreen:SA.value}]]),"data-testid":"markdown-ui"},[tA.editable&&FA.value!=="read"?(vue.openBlock(),vue.createBlock(MarkdownToolbar,{key:0,onChangeMode:Vm[0]||(Vm[0]=cb=>FA.value=cb),onFormatSelection:rl,onInsertTemplate:Qu,onToggleFullscreen:rm,onToggleHtmlPreview:om},{"toolbar-right":vue.withCtx(()=>[vue.renderSlot(sm.$slots,"toolbar-right",{},void 0,!0)]),"editor-actions":vue.withCtx(()=>[vue.renderSlot(sm.$slots,"editor-actions",{cancel:lm,save:Cm},()=>[tA.editable&&["edit","split","preview"].includes(FA.value)?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(ToolbarButton,{"data-testid":"cancel",icon:!1,tabindex:0,onClick:lm},{default:vue.withCtx(()=>[vue.createTextVNode(" Cancel ")]),_:1}),vue.createVNode(ToolbarButton,{appearance:"primary","data-testid":"save",icon:!1,tabindex:0,onClick:Cm},{default:vue.withCtx(()=>[vue.createTextVNode(" Save ")]),_:1})],64)):vue.createCommentVNode("",!0)],!0)]),_:3})):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_2$4,[tA.editable&&["edit","split"].includes(FA.value)?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$3,[vue.createElementVNode("textarea",{id:EA.value,ref_key:"textarea",ref:uA,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:UA.value,onInput:Vm[1]||(Vm[1]=cb=>tl(cb))},null,42,_hoisted_4$3)])):vue.createCommentVNode("",!0),["read","preview","split"].includes(FA.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,[FA.value==="read"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$2,[vue.renderSlot(sm.$slots,"content-actions",{download:(dm=UA.value)!=null&&dm.length&&tA.downloadable?Zu:void 0,edit:tA.editable?Gm:void 0},()=>{var cb;return[FA.value==="read"&&(cb=UA.value)!=null&&cb.length&&tA.downloadable?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$2,[vue.renderSlot(sm.$slots,"download",{download:Zu},()=>[vue.createVNode(ToolbarButton,{appearance:"primary","aria-label":"Download markdown document","data-testid":"download",icon:!1,tabindex:0,onClick:Zu},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(v9),{decorative:"",size:vue.unref(KUI_ICON_SIZE_30)},null,8,["size"]),_hoisted_8$2]),_:1})],!0)])):vue.createCommentVNode("",!0),FA.value==="read"&&tA.editable?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$2,[vue.renderSlot(sm.$slots,"edit",{edit:Gm},()=>[vue.createVNode(ToolbarButton,{appearance:"primary","aria-label":"Edit markdown document","data-testid":"edit",icon:!1,tabindex:0,onClick:Gm},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(b9),{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":LA.value}),content:LA.value?TA.value:JA.value},null,8,["class","content"])])],2)):vue.createCommentVNode("",!0)])],10,_hoisted_1$5)}}}),MarkdownUi=_export_sfc$1(_sfc_main$6,[["__scopeId","data-v-4f1fe5ab"]]),_withScopeId$1=tA=>(vue.pushScopeId("data-v-51de7f4d"),tA=tA(),vue.popScopeId(),tA),_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$1={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","toggle-published","edit-markdown","save-markdown"],setup(tA,{expose:aA,emit:rA}){var UA;const oA=tA,cA=rA,uA=vue.ref(),{i18n:lA}=composables$1.useI18n(),mA=vue.ref(!0),fA=vue.computed(()=>{var NA,JA,TA,XA,qA;return((JA=(NA=oA.selectedDocument)==null?void 0:NA.document)==null?void 0:JA.title)||((qA=(XA=(TA=oA.selectedDocument)==null?void 0:TA.document)==null?void 0:XA.revision)==null?void 0:qA.title)||""}),wA=vue.computed(()=>""),yA=vue.ref(!1),EA=vue.ref(lA.t("documentation.common.unpublished")),BA=vue.ref(((UA=oA.selectedDocument)==null?void 0:UA.markdown)||""),kA=vue.ref(BA.value),vA=vue.ref(null),$A=()=>{uA.value.download()},FA=()=>{uA.value.edit()},SA=NA=>{cA("edit-markdown",NA==="edit")},LA=()=>{const NA=!yA.value;cA("toggle-published",NA),yA.value=NA,EA.value=NA?lA.t("documentation.common.published"):lA.t("documentation.common.unpublished")},OA=()=>{BA.value=kA.value,kA.value=BA.value},RA=NA=>{NA==="published"?(yA.value=!0,EA.value=lA.t("documentation.common.published")):(yA.value=!1,EA.value=lA.t("documentation.common.unpublished"))},GA=()=>{var NA;vA.value={children:oA.selectedDocument.ast,type:"document",version:1},BA.value=((NA=oA.selectedDocument)==null?void 0:NA.markdown)||"",kA.value=BA.value,mA.value=!1},YA=vue.ref(!1);return vue.watch(()=>oA.canEdit,async()=>{YA.value=await oA.canEdit()},{immediate:!0}),vue.watch(()=>oA.selectedDocument,NA=>{var JA;isObjectEmpty(NA)||(oA.hidePublishToggle||RA((JA=NA.document)==null?void 0:JA.status),(NA.ast||NA.markdown)&&GA())},{deep:!0,immediate:!0}),vue.onMounted(()=>{GA()}),aA({download:$A,edit:FA}),(NA,JA)=>{const TA=vue.resolveComponent("KBadge"),XA=vue.resolveComponent("KInputSwitch"),qA=vue.resolveComponent("KSkeleton");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(NA.$slots,"document-title",{},()=>[vue.createElementVNode("span",null,vue.toDisplayString(fA.value),1),vue.createTextVNode("."),_hoisted_5$1],!0)]),tA.hidePublishToggle?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$1,[vue.createElementVNode("span",_hoisted_7$1,vue.toDisplayString(vue.unref(lA).t("documentation.documentation_display.status_label")),1),vue.createVNode(TA,{appearance:yA.value?"success":"neutral"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(yA.value?vue.unref(lA).t("documentation.common.published"):vue.unref(lA).t("documentation.common.unpublished")),1)]),_:1},8,["appearance"])])),wA.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$1,[vue.createElementVNode("span",_hoisted_9$1,vue.toDisplayString(vue.unref(lA).t("documentation.documentation_display.added_label")),1),vue.createVNode(TA,{appearance:"neutral"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(wA.value),1)]),_:1})])):vue.createCommentVNode("",!0)]),vue.createElementVNode("div",_hoisted_10,[vue.createVNode(vue.unref(os$2),{"auth-function":()=>tA.canEdit()},{default:vue.withCtx(()=>[!tA.hidePublishToggle&&!tA.card?(vue.openBlock(),vue.createBlock(XA,{key:0,modelValue:yA.value,"onUpdate:modelValue":JA[0]||(JA[0]=HA=>yA.value=HA),class:"document-publish-toggle","data-testid":"document-publish-toggle",label:EA.value,"label-before":"",onClick:LA},null,8,["modelValue","label"])):vue.createCommentVNode("",!0)]),_:1},8,["auth-function"])])]),mA.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_11,[tA.card?(vue.openBlock(),vue.createBlock(qA,{key:1,type:"card"})):(vue.openBlock(),vue.createBlock(qA,{key:0,class:"markdown-content-loader"}))])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_12,[vue.createElementVNode("div",{class:vue.normalizeClass(["document-content",{"content-card-view":tA.card}])},[BA.value!==void 0?(vue.openBlock(),vue.createBlock(vue.unref(MarkdownUi),{key:0,ref_key:"markdownComponent",ref:uA,modelValue:BA.value,"onUpdate:modelValue":JA[1]||(JA[1]=HA=>BA.value=HA),downloadable:"",editable:YA.value,filename:fA.value,"max-height":700,mode:"read",theme:"light",onCancel:OA,onMode:JA[2]||(JA[2]=HA=>SA(HA)),onSave:JA[3]||(JA[3]=HA=>cA("save-markdown",HA.content))},null,8,["modelValue","editable","filename"])):vue.createCommentVNode("",!0)],2)]))])}}}),_export_sfc=(tA,aA)=>{const rA=tA.__vccOpts||tA;for(const[oA,cA]of aA)rA[oA]=cA;return rA},DocumentationDisplay=_export_sfc(_sfc_main$3,[["__scopeId","data-v-51de7f4d"]]),c$6="24px",b$6=(tA,aA)=>{const rA=tA.__vccOpts||tA;for(const[oA,cA]of aA)rA[oA]=cA;return rA},Pt$e=tA=>(vue.pushScopeId("data-v-1d2a8d30"),tA=tA(),vue.popScopeId(),tA),Rt$i=["aria-hidden"],Ut$d={key:0,"data-testid":"kui-icon-svg-title"},Tt$f=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$6,validator:tA=>{if(typeof tA=="number"&&tA>0)return!0;if(typeof tA=="string"){const aA=String(tA).replace(/px/gi,""),rA=Number(aA);if(rA&&!isNaN(rA)&&Number.isInteger(rA)&&rA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(tA){const aA=tA,rA=vue.computed(()=>{if(typeof aA.size=="number"&&aA.size>0)return`${aA.size}px`;if(typeof aA.size=="string"){const cA=String(aA.size).replace(/px/gi,""),uA=Number(cA);if(uA&&!isNaN(uA)&&Number.isInteger(uA)&&uA>0)return`${uA}px`}return c$6}),oA=vue.computed(()=>({boxSizing:"border-box",color:aA.color,display:aA.display,height:rA.value,lineHeight:"0",width:rA.value}));return(cA,uA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(tA.as),{"aria-hidden":tA.decorative?"true":void 0,class:"kui-icon add-icon","data-testid":"kui-icon-wrapper-add-icon",style:vue.normalizeStyle(oA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":tA.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"},[tA.title?(vue.openBlock(),vue.createElementBlock("title",Ut$d,vue.toDisplayString(tA.title),1)):vue.createCommentVNode("",!0),Tt$f],8,Rt$i))]),_:1},8,["aria-hidden","style"]))}}),S4=b$6(Gt$b,[["__scopeId","data-v-1d2a8d30"]]),R$b=tA=>(vue.pushScopeId("data-v-7d7124f1"),tA=tA(),vue.popScopeId(),tA),vo$1=["aria-hidden"],mo$1={key:0,"data-testid":"kui-icon-svg-title"},bo$1=R$b(()=>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)),So$1=R$b(()=>vue.createElementVNode("animateTransform",{attributeName:"transform",attributeType:"XML",dur:"1.5s",from:"0",repeatCount:"indefinite",to:"360",type:"rotate"},null,-1)),zo$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$6,validator:tA=>{if(typeof tA=="number"&&tA>0)return!0;if(typeof tA=="string"){const aA=String(tA).replace(/px/gi,""),rA=Number(aA);if(rA&&!isNaN(rA)&&Number.isInteger(rA)&&rA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(tA){const aA=tA,rA=vue.computed(()=>{if(typeof aA.size=="number"&&aA.size>0)return`${aA.size}px`;if(typeof aA.size=="string"){const cA=String(aA.size).replace(/px/gi,""),uA=Number(cA);if(uA&&!isNaN(uA)&&Number.isInteger(uA)&&uA>0)return`${uA}px`}return c$6}),oA=vue.computed(()=>({boxSizing:"border-box",color:aA.color,display:aA.display,height:rA.value,lineHeight:"0",width:rA.value}));return(cA,uA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(tA.as),{"aria-hidden":tA.decorative?"true":void 0,class:"kui-icon progress-icon","data-testid":"kui-icon-wrapper-progress-icon",style:vue.normalizeStyle(oA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":tA.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"},[tA.title?(vue.openBlock(),vue.createElementBlock("title",mo$1,vue.toDisplayString(tA.title),1)):vue.createCommentVNode("",!0),bo$1,So$1],8,vo$1))]),_:1},8,["aria-hidden","style"]))}}),hd$1=b$6(zo$1,[["__scopeId","data-v-7d7124f1"]]),_sfc_main$2=vue.defineComponent({__name:"DocumentationPageEmptyState",props:{canEdit:{type:Function,required:!1,default:async()=>!1}},emits:["create-documentation"],setup(tA,{emit:aA}){const rA=aA,{i18n:oA}=composables$1.useI18n();return(cA,uA)=>{const lA=vue.resolveComponent("KButton"),mA=vue.resolveComponent("KEmptyState");return vue.openBlock(),vue.createBlock(mA,{class:"documentation-page-empty-state","data-testid":"documentation-page-empty-state","icon-variant":"kong"},{title:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(oA).t("documentation.show.empty_state.title")),1)]),default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(oA).t("documentation.show.empty_state.message")),1)]),action:vue.withCtx(()=>[vue.createVNode(vue.unref(os$2),{"auth-function":()=>tA.canEdit()},{default:vue.withCtx(()=>[vue.createVNode(lA,{"data-testid":"add-new-page-button",onClick:uA[0]||(uA[0]=fA=>rA("create-documentation"))},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(S4)),vue.createTextVNode(" "+vue.toDisplayString(vue.unref(oA).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=tA=>(vue.pushScopeId("data-v-079ad728"),tA=tA(),vue.popScopeId(),tA),_hoisted_1$1={class:"title"},_hoisted_2$1={class:"subtitle"},_hoisted_3$1=_withScopeId(()=>vue.createElementVNode("br",null,null,-1)),_hoisted_4={key:2,class:"document-radio-group"},_hoisted_5={class:"document-inputs"},_hoisted_6={class:"page-name side-by-side"},_hoisted_7={class:"url-slug side-by-side"},_hoisted_8={key:4,class:"documentation-status"},_hoisted_9={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:["edit","cancel","save","delete"],setup(tA,{emit:aA}){const rA=tA,oA=aA,{i18n:cA}=composables$1.useI18n(),uA=vue.computed(()=>{var NA;return(NA=rA.record.file)==null?void 0:NA.filename}),lA=vue.computed(()=>{var NA;return SA.value?(NA=SA.value.name)==null?void 0:NA.split(".")[0]:""}),mA=vue.ref(!0),fA=vue.computed(()=>mA.value?"published":"unpublished"),wA=vue.ref("upload"),yA=vue.reactive({fileName:"",pageName:"",urlSlug:"",status:fA.value,parent:""}),EA=/^[\w-]+$/,BA=vue.computed(()=>{var NA;return yA.urlSlug!==""&&!((NA=yA.urlSlug)!=null&&NA.match(EA))}),kA=vue.computed(()=>{var TA;let NA=(TA=rA.documents)==null?void 0:TA.filter(XA=>{var qA;return XA.record.id!==((qA=rA.record)==null?void 0:qA.id)&&!XA.record.parent_document_id}).map(XA=>({label:XA.record.title,value:XA.record.id,selected:!1}));NA||(NA=[]);const JA=cloneDeep(NA.length);return NA.push({label:cA.t("documentation.form_modal.parent_document_select_option_none"),value:"none",selected:!JA}),NA}),vA=vue.computed(()=>rA.editing?cA.t("documentation.form_modal.edit_title"):cA.t("documentation.form_modal.create_title")),$A=vue.computed(()=>rA.editing?cA.t("documentation.form_modal.replace_file_button_text"):cA.t("documentation.form_modal.filename_button_text")),FA=vue.computed(()=>fA.value==="published"?cA.t("documentation.common.published"):cA.t("documentation.common.unpublished")),SA=vue.ref(null),LA=NA=>{SA.value=NA==null?void 0:NA[0],yA.fileName=lA.value,yA.pageName=yA.pageName?yA.pageName:lA.value,yA.urlSlug=yA.urlSlug?yA.urlSlug:lA.value},OA=vue.computed(()=>{if(!rA.editing){if(wA.value==="upload")return!(SA.value&&yA.pageName&&yA.urlSlug&&!BA.value);if(wA.value==="empty")return!(yA.pageName&&yA.urlSlug&&!BA.value)}return!1}),RA=()=>{SA.value=null},GA=()=>{oA("cancel"),UA()},YA=()=>{const NA=vue.ref(null);if(wA.value==="empty"){const JA=new File([],yA.pageName+".md",{type:"text/markdown"});NA.value=JA,oA("save",Object.assign(yA,{fileName:yA.pageName},{status:fA.value}),NA)}else oA("save",Object.assign(yA,{status:fA.value}),SA)},UA=()=>{var NA,JA,TA,XA,qA;if(SA.value=null,rA.editing&&((NA=rA.record)!=null&&NA.document)){const HA=cloneDeep(rA.record),rl=HA.status||rA.record.document.status||mA.value;yA.fileName=((JA=HA.document.file)==null?void 0:JA.filename)||((XA=(TA=HA.document.revision)==null?void 0:TA.file)==null?void 0:XA.filename),yA.pageName=HA.document.title||((qA=HA.document.revision)==null?void 0:qA.title),yA.urlSlug=HA.document.slug,yA.parent=HA.document.parent_document_id,yA.status=rl,mA.value=rl==="published"}else yA.fileName="",yA.pageName="",yA.urlSlug="",yA.parent="",yA.status=""};return vue.watch(()=>wA,()=>{UA()},{deep:!0,immediate:!0}),vue.onMounted(()=>{UA()}),(NA,JA)=>{const TA=vue.resolveComponent("KExternalLink"),XA=vue.resolveComponent("KAlert"),qA=vue.resolveComponent("KRadio"),HA=vue.resolveComponent("KFileUpload"),rl=vue.resolveComponent("KInput"),Qu=vue.resolveComponent("KLabel"),ll=vue.resolveComponent("KInputSwitch"),Zu=vue.resolveComponent("KSelect"),tl=vue.resolveComponent("KButton"),Wu=vue.resolveComponent("KModal");return vue.openBlock(),vue.createBlock(vue.Teleport,{to:"#kong-ui-app-layout-teleport-default-slot"},[vue.createVNode(Wu,{class:"edit-document-modal","data-testid":"edit-document-modal","max-width":"750px",visible:"",onCancel:GA,onProceed:YA},{title:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1,[vue.createTextVNode(vue.toDisplayString(vA.value)+" ",1),vue.createElementVNode("div",_hoisted_2$1,[vue.createTextVNode(vue.toDisplayString(vue.unref(cA).t("documentation.form_modal.subtitle"))+" ",1),_hoisted_3$1,vue.createVNode(TA,{class:"doc-link",href:vue.unref(externalLinks).serviceDocumentationDocs},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(cA).t("documentation.form_modal.documentation_link_text")),1)]),_:1},8,["href"])])])]),default:vue.withCtx(()=>[tA.errorMessage?(vue.openBlock(),vue.createBlock(XA,{key:0,appearance:"danger",class:"bottom-spacing",message:tA.errorMessage},null,8,["message"])):vue.createCommentVNode("",!0),tA.editing?(vue.openBlock(),vue.createBlock(XA,{key:1,appearance:"info",class:"bottom-spacing",message:vue.unref(cA).t("documentation.form_modal.edit_markdown"),"show-icon":""},null,8,["message"])):vue.createCommentVNode("",!0),tA.editing?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",_hoisted_4,[vue.createElementVNode("div",null,[vue.createVNode(qA,{modelValue:wA.value,"onUpdate:modelValue":JA[0]||(JA[0]=sl=>wA.value=sl),class:"upload-document-radio","data-testid":"upload-document-radio","selected-value":"upload"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(cA).t("documentation.form_modal.file_label")),1)]),_:1},8,["modelValue"])]),vue.createElementVNode("div",null,[vue.createVNode(qA,{modelValue:wA.value,"onUpdate:modelValue":JA[1]||(JA[1]=sl=>wA.value=sl),class:"empty-document-radio","data-testid":"empty-document-radio","selected-value":"empty"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(cA).t("documentation.form_modal.empty_doc")),1)]),_:1},8,["modelValue"])])])),wA.value==="upload"?(vue.openBlock(),vue.createBlock(HA,{key:3,accept:[".md",".markdown"],"button-text":$A.value,class:"document-file-upload","data-testid":"document-file-upload",label:vue.unref(cA).t("documentation.form_modal.file_label"),"label-attributes":{info:vue.unref(cA).t("documentation.form_modal.file_tooltip")},placeholder:tA.editing?uA.value:void 0,onFileAdded:LA,onFileRemoved:RA},null,8,["accept","button-text","label","label-attributes","placeholder"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_5,[vue.createElementVNode("div",_hoisted_6,[vue.createVNode(rl,{modelValue:yA.pageName,"onUpdate:modelValue":JA[2]||(JA[2]=sl=>yA.pageName=sl),modelModifiers:{trim:!0},"data-testid":"documentation-page-name",label:vue.unref(cA).t("documentation.form_modal.title_label"),placeholder:vue.unref(cA).t("documentation.form_modal.title_placeholder"),required:""},null,8,["modelValue","label","placeholder"])]),vue.createElementVNode("div",_hoisted_7,[vue.createVNode(rl,{modelValue:yA.urlSlug,"onUpdate:modelValue":JA[3]||(JA[3]=sl=>yA.urlSlug=sl),modelModifiers:{trim:!0},"data-testid":"documentation-url-slug","error-message":vue.unref(cA).t("documentation.form_modal.slug_error"),"has-error":BA.value,label:vue.unref(cA).t("documentation.form_modal.slug_label"),pattern:EA,placeholder:vue.unref(cA).t("documentation.form_modal.slug_placeholder"),required:""},null,8,["modelValue","error-message","has-error","label","placeholder"])])]),tA.hidePublishToggle?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",_hoisted_8,[vue.createElementVNode("div",null,[vue.createVNode(Qu,null,{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(cA).t("documentation.form_modal.status_label")),1)]),_:1})]),vue.createVNode(ll,{modelValue:mA.value,"onUpdate:modelValue":JA[4]||(JA[4]=sl=>mA.value=sl),"data-testid":"documentation-status",label:FA.value},null,8,["modelValue","label"])])),vue.createVNode(Zu,{modelValue:yA.parent,"onUpdate:modelValue":JA[5]||(JA[5]=sl=>yA.parent=sl),class:"document-parent-select","data-testid":"documentation-parent","enable-filtering":"",items:kA.value,label:vue.unref(cA).t("documentation.form_modal.parent_document_select_label"),width:"100%"},null,8,["modelValue","items","label"])]),footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_9,[vue.createVNode(tl,{appearance:"tertiary",class:"edit-documentation-cancel-button","data-testid":"edit-documentation-cancel-button",onClick:GA},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(cA).t("documentation.form_modal.cancel_button_text")),1)]),_:1}),vue.createVNode(tl,{appearance:"primary","data-testid":"edit-documentation-save-button",disabled:tA.actionPending||OA.value,onClick:YA},{default:vue.withCtx(()=>[tA.actionPending?(vue.openBlock(),vue.createBlock(vue.unref(hd$1),{key:0})):vue.createCommentVNode("",!0),vue.createTextVNode(" "+vue.toDisplayString(vue.unref(cA).t("documentation.form_modal.save_button_text")),1)]),_:1},8,["disabled"])])]),_:1})])}}}),ProductDocumentModal=_export_sfc(_sfc_main$1,[["__scopeId","data-v-079ad728"]]),_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","document-selection","modal-closed","parent-change","save","save-markdown","toggle-published"],setup(tA,{expose:aA,emit:rA}){const oA=rA,cA=vue.ref(!1),uA=vue.ref(!1),lA=vue.ref(),mA=tA;vue.watch(()=>mA.actionSuccess,kA=>{kA&&BA()});const fA=vue.computed(()=>{var kA,vA;return`data-display-${mA.cacheKey}-${((vA=(kA=mA.selectedDocument)==null?void 0:kA.document)==null?void 0:vA.id)||""}`}),wA=()=>{uA.value=!1,cA.value=!0},yA=()=>{lA.value.download()},EA=()=>{lA.value.edit()},BA=()=>{cA.value=!1,oA("modal-closed")};return aA({download:yA,edit:EA}),(kA,vA)=>{const $A=vue.resolveComponent("KCard"),FA=vue.resolveComponent("KTreeList");return vue.openBlock(),vue.createElementBlock("div",_hoisted_1,[tA.documentList&&!tA.documentList.length?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2,[tA.emptyStateCard?(vue.openBlock(),vue.createBlock($A,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2,{"can-edit":tA.canEdit,onCreateDocumentation:wA},null,8,["can-edit"])]),_:1})):(vue.openBlock(),vue.createBlock(_sfc_main$2,{key:1,"can-edit":tA.canEdit,onCreateDocumentation:wA},null,8,["can-edit"]))])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_3,[(vue.openBlock(),vue.createBlock(FA,{key:`tree-list-${tA.cacheKey}`,class:"document-tree-list",items:tA.documentList,"max-depth":2,onChange:vA[0]||(vA[0]=SA=>oA("parent-change",SA)),onChildChange:vA[1]||(vA[1]=SA=>oA("child-change",SA)),onSelected:vA[2]||(vA[2]=SA=>oA("document-selection",SA))},null,8,["items"])),tA.selectedDocument?(vue.openBlock(),vue.createBlock(DocumentationDisplay,{key:fA.value,ref_key:"documentationDisplay",ref:lA,"can-edit":tA.canEdit,card:tA.card,class:"document-holder","hide-publish-toggle":tA.hidePublishToggle,"selected-document":tA.selectedDocument,onAdd:wA,onSaveMarkdown:vA[3]||(vA[3]=SA=>oA("save-markdown",SA)),onTogglePublished:vA[4]||(vA[4]=SA=>oA("toggle-published",SA))},null,8,["can-edit","card","hide-publish-toggle","selected-document"])):vue.createCommentVNode("",!0)])),cA.value?(vue.openBlock(),vue.createBlock(ProductDocumentModal,{key:2,"action-pending":tA.actionPending,documents:tA.documentList,editing:uA.value,"error-message":tA.modalErrorMessage,"hide-publish-toggle":tA.hidePublishToggle,record:uA.value&&tA.selectedDocument?tA.selectedDocument:void 0,onCancel:BA,onDelete:vA[5]||(vA[5]=SA=>oA("delete")),onSave:vA[6]||(vA[6]=(SA,LA)=>oA("save",SA,LA))},null,8,["action-pending","documents","editing","error-message","hide-publish-toggle","record"])):vue.createCommentVNode("",!0)])}}}),DocumentationContent=_export_sfc(_sfc_main,[["__scopeId","data-v-9f0804cb"]]);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)
|
|
208
|
+
*/window.addEventListener("load",contentLoaded,!1)}const setParseErrorHandler=function(tA){mermaid.parseError=tA},executionQueue=[];let executionQueueRunning=!1;const executeQueue=async()=>{if(!executionQueueRunning){for(executionQueueRunning=!0;executionQueue.length>0;){const tA=executionQueue.shift();if(tA)try{await tA()}catch(aA){log$1.error("Error executing queue",aA)}}executionQueueRunning=!1}},parse=async(tA,aA)=>new Promise((rA,oA)=>{const cA=()=>new Promise((uA,lA)=>{mermaidAPI.parse(tA,aA).then(mA=>{uA(mA),rA(mA)},mA=>{var fA;log$1.error("Error parsing",mA),(fA=mermaid.parseError)==null||fA.call(mermaid,mA),lA(mA),oA(mA)})});executionQueue.push(cA),executeQueue().catch(oA)}),render=(tA,aA,rA)=>new Promise((oA,cA)=>{const uA=()=>new Promise((lA,mA)=>{mermaidAPI.render(tA,aA,rA).then(fA=>{lA(fA),oA(fA)},fA=>{var wA;log$1.error("Error parsing",fA),(wA=mermaid.parseError)==null||wA.call(mermaid,fA),mA(fA),cA(fA)})});executionQueue.push(uA),executeQueue().catch(cA)}),mermaid={startOnLoad:!0,mermaidAPI,parse,render,init,run,registerExternalDiagrams,initialize,parseError:void 0,contentLoaded,setParseErrorHandler,detectType},_withScopeId$2=tA=>(vue.pushScopeId("data-v-4f1fe5ab"),tA=tA(),vue.popScopeId(),tA),_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$2={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:tA=>["read","edit","split","preview"].includes(tA)},tabSize:{type:Number,default:2,validator:tA=>tA>=2&&tA<=6},theme:{type:String,default:"",validator:tA=>["","light","dark"].includes(tA)},maxHeight:{type:Number,default:300,validator:tA=>tA>=100},fullscreenOffsetTop:{type:Number,default:0},fullscreenZIndex:{type:Number,default:1001}},emits:["update:modelValue","update:frontmatter","save","cancel","mode","fullscreen"],setup(tA,{expose:aA,emit:rA}){vue.useCssVars(sm=>({90181486:Fm.value,"6472e7f9":im.value,"2d670ab2":sm.$props.fullscreenZIndex,"30773a1a":cm.value,"2592ad99":vue.unref(TOOLBAR_HEIGHT)}));const oA=tA,cA=rA,uA=vue.ref(null),lA=vue.ref(null),{init:mA,md:fA}=composables.useMarkdownIt(),wA=v4(),yA=vue.computed(()=>`markdown-ui-${wA}`),EA=vue.computed(()=>`markdown-ui-textarea-${wA}`),BA=vue.computed(()=>`scrollable-${wA}`),kA=vue.computed(()=>oA.tabSize),vA=usePreferredColorScheme(),$A=vue.computed(()=>oA.theme?oA.theme:vA.value==="dark"?vA.value:"light"),FA=vue.ref(["edit","split","preview"].includes(oA.mode)&&oA.editable?oA.mode:"read"),SA=vue.ref(!1),LA=vue.ref(!1);vue.provide(UNIQUE_ID_INJECTION_KEY,wA),vue.provide(TEXTAREA_ID_INJECTION_KEY,EA),vue.provide(MODE_INJECTION_KEY,FA),vue.provide(EDITABLE_INJECTION_KEY,vue.computed(()=>oA.editable)),vue.provide(FULLSCREEN_INJECTION_KEY,SA),vue.provide(THEME_INJECTION_KEY,$A),vue.provide(HTML_PREVIEW_INJECTION_KEY,LA);const{initializeSyncScroll:OA,destroySyncScroll:RA}=composables.useSyncScroll(BA),{debounce:GA}=composables.useDebounce();vue.watch(FA,async sm=>{switch(sm){case"edit":LA.value=!1;break;case"split":break;case"preview":break;case"read":LA.value=!1,SA.value=!1;break}cA("mode",sm),RA(),await vue.nextTick(),await ll(),OA()});const YA=sm=>{var Vm;const dm={},cb=(Vm=fA.value)==null?void 0:Vm.render(sm,dm);return NA.value=dm.frontmatter,cb},UA=vue.ref(oA.modelValue),NA=vue.ref(),JA=vue.ref(""),TA=vue.ref(""),{toggleInlineFormatting:XA,insertMarkdownTemplate:qA,insertLink:HA}=composables.useMarkdownActions(uA,UA),rl=sm=>{sm==="link"?HA():XA(sm),sl()},Qu=sm=>{qA(sm),sl()};vue.watchEffect(()=>{var sm;LA.value&&(TA.value=(sm=fA.value)==null?void 0:sm.render("```html"+NEW_LINE_CHARACTER+formatHtml(JA.value," ".repeat(kA.value))+NEW_LINE_CHARACTER+"```"))});const ll=async()=>{if(typeof mermaid<"u"&&typeof(mermaid==null?void 0:mermaid.run)=="function"){const sm=`#${yA.value} .markdown-content-container .mermaid`;document.querySelector(sm)&&await mermaid.run({querySelector:sm,suppressErrors:!0})}},Zu=()=>{try{const sm=new Blob([UA.value],{type:"text/markdown;charset=utf-8"}),Vm=URL.createObjectURL(sm),dm=document.createElement("a");dm.href=Vm,dm.download=`${oA.filename.replace(/ /g,"-").replace(/[^-+.a-zA-Z0-9_]/g,"").replace(/(\.md)+$/g,"")}.md`,dm.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window})),setTimeout(()=>{window.URL.revokeObjectURL(Vm),dm.remove()},100)}catch(sm){console.warn("download",sm)}},tl=(sm,Vm=!0)=>{UA.value=sm.target.value,Wu(Vm)},Wu=GA(async(sm=!0)=>{JA.value=YA(UA.value),await vue.nextTick(),sm&&(cA("update:modelValue",UA.value),cA("update:frontmatter",NA.value)),await vue.nextTick(),await ll()},EDITOR_DEBOUNCE_TIMEOUT),sl=(sm=!0)=>{const Vm={target:{value:UA.value}};tl(Vm,sm)};vue.watch(()=>oA.modelValue,sm=>{UA.value=sm,sl(!1)});const om=()=>{LA.value=!LA.value,sl()},im=vue.computed(()=>`${oA.fullscreenOffsetTop}px`),rm=()=>{SA.value=!SA.value};vue.watch(SA,sm=>{cA("fullscreen",sm)});const fm=useMediaQuery(`(min-width: ${KUI_BREAKPOINT_PHABLET})`),Gm=()=>{FA.value=fm.value?"split":"edit"},lm=()=>{cA("cancel"),FA.value="read"},Cm=()=>{cA("save",{content:UA.value,frontmatter:NA.value}),FA.value="read"},wm=()=>{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 sm=>{await mA(sm),wm(),sl()});const Em=async sm=>{var Vm,dm,cb,ym,Rb,Bb,Nw,Tw;try{if(!((dm=(Vm=sm.target)==null?void 0:Vm.classList)!=null&&dm.contains("kong-markdown-code-block-copy"))||!((ym=(cb=sm.target)==null?void 0:cb.dataset)!=null&&ym.copytext))return;if(sm.preventDefault(),(Rb=navigator==null?void 0:navigator.clipboard)!=null&&Rb.writeText){const qy=((Nw=(Bb=sm.target)==null?void 0:Bb.dataset)==null?void 0:Nw.copytext)||"";qy&&(await navigator.clipboard.writeText(qy),(Tw=sm==null?void 0:sm.target)==null||Tw.blur())}}catch(qy){console.warn("Could not copy text to clipboard",qy)}};composables.useKeyboardShortcuts(uA,UA,kA,sl),vue.onMounted(async()=>{await mA($A.value),JA.value=YA(oA.modelValue),await vue.nextTick(),useEventListener(lA,"click",Em),wm(),await ll(),FA.value==="split"&&(await vue.nextTick(),OA())}),vue.onUnmounted(()=>{RA()}),aA({download:Zu,edit:Gm});const cm=vue.computed(()=>`calc(100vh - ${TOOLBAR_HEIGHT} - ${KUI_SPACE_60})`),Fm=vue.computed(()=>`${oA.maxHeight}px`);return(sm,Vm)=>{var dm;return vue.openBlock(),vue.createElementBlock("div",{id:yA.value,ref_key:"markdownComponent",ref:lA,class:vue.normalizeClass(["kong-ui-public-markdown-ui",[`mode-${FA.value}`,`theme-${$A.value}`,{fullscreen:SA.value}]]),"data-testid":"markdown-ui"},[tA.editable&&FA.value!=="read"?(vue.openBlock(),vue.createBlock(MarkdownToolbar,{key:0,onChangeMode:Vm[0]||(Vm[0]=cb=>FA.value=cb),onFormatSelection:rl,onInsertTemplate:Qu,onToggleFullscreen:rm,onToggleHtmlPreview:om},{"toolbar-right":vue.withCtx(()=>[vue.renderSlot(sm.$slots,"toolbar-right",{},void 0,!0)]),"editor-actions":vue.withCtx(()=>[vue.renderSlot(sm.$slots,"editor-actions",{cancel:lm,save:Cm},()=>[tA.editable&&["edit","split","preview"].includes(FA.value)?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(ToolbarButton,{"data-testid":"cancel",icon:!1,tabindex:0,onClick:lm},{default:vue.withCtx(()=>[vue.createTextVNode(" Cancel ")]),_:1}),vue.createVNode(ToolbarButton,{appearance:"primary","data-testid":"save",icon:!1,tabindex:0,onClick:Cm},{default:vue.withCtx(()=>[vue.createTextVNode(" Save ")]),_:1})],64)):vue.createCommentVNode("",!0)],!0)]),_:3})):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_2$4,[tA.editable&&["edit","split"].includes(FA.value)?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$3,[vue.createElementVNode("textarea",{id:EA.value,ref_key:"textarea",ref:uA,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:UA.value,onInput:Vm[1]||(Vm[1]=cb=>tl(cb))},null,42,_hoisted_4$3)])):vue.createCommentVNode("",!0),["read","preview","split"].includes(FA.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,[FA.value==="read"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$2,[vue.renderSlot(sm.$slots,"content-actions",{download:(dm=UA.value)!=null&&dm.length&&tA.downloadable?Zu:void 0,edit:tA.editable?Gm:void 0},()=>{var cb;return[FA.value==="read"&&(cb=UA.value)!=null&&cb.length&&tA.downloadable?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$2,[vue.renderSlot(sm.$slots,"download",{download:Zu},()=>[vue.createVNode(ToolbarButton,{appearance:"primary","aria-label":"Download markdown document","data-testid":"download",icon:!1,tabindex:0,onClick:Zu},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(v9),{decorative:"",size:vue.unref(KUI_ICON_SIZE_30)},null,8,["size"]),_hoisted_8$2]),_:1})],!0)])):vue.createCommentVNode("",!0),FA.value==="read"&&tA.editable?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$2,[vue.renderSlot(sm.$slots,"edit",{edit:Gm},()=>[vue.createVNode(ToolbarButton,{appearance:"primary","aria-label":"Edit markdown document","data-testid":"edit",icon:!1,tabindex:0,onClick:Gm},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(b9),{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":LA.value}),content:LA.value?TA.value:JA.value},null,8,["class","content"])])],2)):vue.createCommentVNode("",!0)])],10,_hoisted_1$5)}}}),MarkdownUi=_export_sfc$1(_sfc_main$6,[["__scopeId","data-v-4f1fe5ab"]]),_withScopeId$1=tA=>(vue.pushScopeId("data-v-52cb44f0"),tA=tA(),vue.popScopeId(),tA),_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$1={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","toggle-published","edit-markdown","save-markdown"],setup(tA,{expose:aA,emit:rA}){var UA;const oA=tA,cA=rA,uA=vue.ref(),{i18n:lA}=composables$1.useI18n(),mA=vue.ref(!0),fA=vue.computed(()=>{var NA,JA,TA,XA,qA;return((JA=(NA=oA.selectedDocument)==null?void 0:NA.document)==null?void 0:JA.title)||((qA=(XA=(TA=oA.selectedDocument)==null?void 0:TA.document)==null?void 0:XA.revision)==null?void 0:qA.title)||""}),wA=vue.computed(()=>""),yA=vue.ref(!1),EA=vue.ref(lA.t("documentation.common.unpublished")),BA=vue.ref(((UA=oA.selectedDocument)==null?void 0:UA.markdown)||""),kA=vue.ref(BA.value),vA=vue.ref(null),$A=()=>{uA.value.download()},FA=()=>{uA.value.edit()},SA=NA=>{cA("edit-markdown",NA==="edit")},LA=()=>{const NA=!yA.value;cA("toggle-published",NA),yA.value=NA,EA.value=NA?lA.t("documentation.common.published"):lA.t("documentation.common.unpublished")},OA=()=>{BA.value=kA.value,kA.value=BA.value},RA=NA=>{NA==="published"?(yA.value=!0,EA.value=lA.t("documentation.common.published")):(yA.value=!1,EA.value=lA.t("documentation.common.unpublished"))},GA=()=>{var NA;vA.value={children:oA.selectedDocument.ast,type:"document",version:1},BA.value=((NA=oA.selectedDocument)==null?void 0:NA.markdown)||"",kA.value=BA.value,mA.value=!1},YA=vue.ref(!1);return vue.watch(()=>oA.canEdit,async()=>{YA.value=await oA.canEdit()},{immediate:!0}),vue.watch(()=>oA.selectedDocument,NA=>{var JA;isObjectEmpty(NA)||(oA.hidePublishToggle||RA((JA=NA.document)==null?void 0:JA.status),(NA.ast||NA.markdown)&&GA())},{deep:!0,immediate:!0}),vue.onMounted(()=>{GA()}),aA({download:$A,edit:FA}),(NA,JA)=>{const TA=vue.resolveComponent("KBadge"),XA=vue.resolveComponent("KInputSwitch"),qA=vue.resolveComponent("KSkeleton");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(NA.$slots,"document-title",{},()=>[vue.createElementVNode("span",null,vue.toDisplayString(fA.value),1),vue.createTextVNode("."),_hoisted_5$1],!0)]),tA.hidePublishToggle?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$1,[vue.createElementVNode("span",_hoisted_7$1,vue.toDisplayString(vue.unref(lA).t("documentation.documentation_display.status_label")),1),vue.createVNode(TA,{appearance:yA.value?"success":"neutral"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(yA.value?vue.unref(lA).t("documentation.common.published"):vue.unref(lA).t("documentation.common.unpublished")),1)]),_:1},8,["appearance"])])),wA.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$1,[vue.createElementVNode("span",_hoisted_9$1,vue.toDisplayString(vue.unref(lA).t("documentation.documentation_display.added_label")),1),vue.createVNode(TA,{appearance:"neutral"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(wA.value),1)]),_:1})])):vue.createCommentVNode("",!0)]),vue.createElementVNode("div",_hoisted_10,[vue.createVNode(vue.unref(os$2),{"auth-function":()=>tA.canEdit()},{default:vue.withCtx(()=>[!tA.hidePublishToggle&&!tA.card?(vue.openBlock(),vue.createBlock(XA,{key:0,modelValue:yA.value,"onUpdate:modelValue":JA[0]||(JA[0]=HA=>yA.value=HA),class:"document-publish-toggle","data-testid":"document-publish-toggle",label:EA.value,"label-before":"",onClick:LA},null,8,["modelValue","label"])):vue.createCommentVNode("",!0)]),_:1},8,["auth-function"])])]),mA.value?(vue.openBlock(),vue.createElementBlock("div",_hoisted_11,[tA.card?(vue.openBlock(),vue.createBlock(qA,{key:1,type:"card"})):(vue.openBlock(),vue.createBlock(qA,{key:0,class:"markdown-content-loader"}))])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_12,[vue.createElementVNode("div",{class:vue.normalizeClass(["document-content",{"content-card-view":tA.card}])},[BA.value!==void 0?(vue.openBlock(),vue.createBlock(vue.unref(MarkdownUi),{key:0,ref_key:"markdownComponent",ref:uA,modelValue:BA.value,"onUpdate:modelValue":JA[1]||(JA[1]=HA=>BA.value=HA),downloadable:"",editable:YA.value,filename:fA.value,"max-height":700,mode:"read",theme:"light",onCancel:OA,onMode:JA[2]||(JA[2]=HA=>SA(HA)),onSave:JA[3]||(JA[3]=HA=>cA("save-markdown",HA.content))},null,8,["modelValue","editable","filename"])):vue.createCommentVNode("",!0)],2)]))])}}}),_export_sfc=(tA,aA)=>{const rA=tA.__vccOpts||tA;for(const[oA,cA]of aA)rA[oA]=cA;return rA},DocumentationDisplay=_export_sfc(_sfc_main$3,[["__scopeId","data-v-52cb44f0"]]),c$6="24px",b$6=(tA,aA)=>{const rA=tA.__vccOpts||tA;for(const[oA,cA]of aA)rA[oA]=cA;return rA},Pt$e=tA=>(vue.pushScopeId("data-v-1d2a8d30"),tA=tA(),vue.popScopeId(),tA),Rt$i=["aria-hidden"],Ut$d={key:0,"data-testid":"kui-icon-svg-title"},Tt$f=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$6,validator:tA=>{if(typeof tA=="number"&&tA>0)return!0;if(typeof tA=="string"){const aA=String(tA).replace(/px/gi,""),rA=Number(aA);if(rA&&!isNaN(rA)&&Number.isInteger(rA)&&rA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(tA){const aA=tA,rA=vue.computed(()=>{if(typeof aA.size=="number"&&aA.size>0)return`${aA.size}px`;if(typeof aA.size=="string"){const cA=String(aA.size).replace(/px/gi,""),uA=Number(cA);if(uA&&!isNaN(uA)&&Number.isInteger(uA)&&uA>0)return`${uA}px`}return c$6}),oA=vue.computed(()=>({boxSizing:"border-box",color:aA.color,display:aA.display,height:rA.value,lineHeight:"0",width:rA.value}));return(cA,uA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(tA.as),{"aria-hidden":tA.decorative?"true":void 0,class:"kui-icon add-icon","data-testid":"kui-icon-wrapper-add-icon",style:vue.normalizeStyle(oA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":tA.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"},[tA.title?(vue.openBlock(),vue.createElementBlock("title",Ut$d,vue.toDisplayString(tA.title),1)):vue.createCommentVNode("",!0),Tt$f],8,Rt$i))]),_:1},8,["aria-hidden","style"]))}}),S4=b$6(Gt$b,[["__scopeId","data-v-1d2a8d30"]]),R$b=tA=>(vue.pushScopeId("data-v-7d7124f1"),tA=tA(),vue.popScopeId(),tA),vo$1=["aria-hidden"],mo$1={key:0,"data-testid":"kui-icon-svg-title"},bo$1=R$b(()=>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)),So$1=R$b(()=>vue.createElementVNode("animateTransform",{attributeName:"transform",attributeType:"XML",dur:"1.5s",from:"0",repeatCount:"indefinite",to:"360",type:"rotate"},null,-1)),zo$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$6,validator:tA=>{if(typeof tA=="number"&&tA>0)return!0;if(typeof tA=="string"){const aA=String(tA).replace(/px/gi,""),rA=Number(aA);if(rA&&!isNaN(rA)&&Number.isInteger(rA)&&rA>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(tA){const aA=tA,rA=vue.computed(()=>{if(typeof aA.size=="number"&&aA.size>0)return`${aA.size}px`;if(typeof aA.size=="string"){const cA=String(aA.size).replace(/px/gi,""),uA=Number(cA);if(uA&&!isNaN(uA)&&Number.isInteger(uA)&&uA>0)return`${uA}px`}return c$6}),oA=vue.computed(()=>({boxSizing:"border-box",color:aA.color,display:aA.display,height:rA.value,lineHeight:"0",width:rA.value}));return(cA,uA)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(tA.as),{"aria-hidden":tA.decorative?"true":void 0,class:"kui-icon progress-icon","data-testid":"kui-icon-wrapper-progress-icon",style:vue.normalizeStyle(oA.value)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock("svg",{"aria-hidden":tA.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"},[tA.title?(vue.openBlock(),vue.createElementBlock("title",mo$1,vue.toDisplayString(tA.title),1)):vue.createCommentVNode("",!0),bo$1,So$1],8,vo$1))]),_:1},8,["aria-hidden","style"]))}}),hd$1=b$6(zo$1,[["__scopeId","data-v-7d7124f1"]]),_sfc_main$2=vue.defineComponent({__name:"DocumentationPageEmptyState",props:{canEdit:{type:Function,required:!1,default:async()=>!1}},emits:["create-documentation"],setup(tA,{emit:aA}){const rA=aA,{i18n:oA}=composables$1.useI18n();return(cA,uA)=>{const lA=vue.resolveComponent("KButton"),mA=vue.resolveComponent("KEmptyState");return vue.openBlock(),vue.createBlock(mA,{class:"documentation-page-empty-state","data-testid":"documentation-page-empty-state","icon-variant":"kong"},{title:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(oA).t("documentation.show.empty_state.title")),1)]),default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(oA).t("documentation.show.empty_state.message")),1)]),action:vue.withCtx(()=>[vue.createVNode(vue.unref(os$2),{"auth-function":()=>tA.canEdit()},{default:vue.withCtx(()=>[vue.createVNode(lA,{"data-testid":"add-new-page-button",onClick:uA[0]||(uA[0]=fA=>rA("create-documentation"))},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(S4)),vue.createTextVNode(" "+vue.toDisplayString(vue.unref(oA).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=tA=>(vue.pushScopeId("data-v-079ad728"),tA=tA(),vue.popScopeId(),tA),_hoisted_1$1={class:"title"},_hoisted_2$1={class:"subtitle"},_hoisted_3$1=_withScopeId(()=>vue.createElementVNode("br",null,null,-1)),_hoisted_4={key:2,class:"document-radio-group"},_hoisted_5={class:"document-inputs"},_hoisted_6={class:"page-name side-by-side"},_hoisted_7={class:"url-slug side-by-side"},_hoisted_8={key:4,class:"documentation-status"},_hoisted_9={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:["edit","cancel","save","delete"],setup(tA,{emit:aA}){const rA=tA,oA=aA,{i18n:cA}=composables$1.useI18n(),uA=vue.computed(()=>{var NA;return(NA=rA.record.file)==null?void 0:NA.filename}),lA=vue.computed(()=>{var NA;return SA.value?(NA=SA.value.name)==null?void 0:NA.split(".")[0]:""}),mA=vue.ref(!0),fA=vue.computed(()=>mA.value?"published":"unpublished"),wA=vue.ref("upload"),yA=vue.reactive({fileName:"",pageName:"",urlSlug:"",status:fA.value,parent:""}),EA=/^[\w-]+$/,BA=vue.computed(()=>{var NA;return yA.urlSlug!==""&&!((NA=yA.urlSlug)!=null&&NA.match(EA))}),kA=vue.computed(()=>{var TA;let NA=(TA=rA.documents)==null?void 0:TA.filter(XA=>{var qA;return XA.record.id!==((qA=rA.record)==null?void 0:qA.id)&&!XA.record.parent_document_id}).map(XA=>({label:XA.record.title,value:XA.record.id,selected:!1}));NA||(NA=[]);const JA=cloneDeep(NA.length);return NA.push({label:cA.t("documentation.form_modal.parent_document_select_option_none"),value:"none",selected:!JA}),NA}),vA=vue.computed(()=>rA.editing?cA.t("documentation.form_modal.edit_title"):cA.t("documentation.form_modal.create_title")),$A=vue.computed(()=>rA.editing?cA.t("documentation.form_modal.replace_file_button_text"):cA.t("documentation.form_modal.filename_button_text")),FA=vue.computed(()=>fA.value==="published"?cA.t("documentation.common.published"):cA.t("documentation.common.unpublished")),SA=vue.ref(null),LA=NA=>{SA.value=NA==null?void 0:NA[0],yA.fileName=lA.value,yA.pageName=yA.pageName?yA.pageName:lA.value,yA.urlSlug=yA.urlSlug?yA.urlSlug:lA.value},OA=vue.computed(()=>{if(!rA.editing){if(wA.value==="upload")return!(SA.value&&yA.pageName&&yA.urlSlug&&!BA.value);if(wA.value==="empty")return!(yA.pageName&&yA.urlSlug&&!BA.value)}return!1}),RA=()=>{SA.value=null},GA=()=>{oA("cancel"),UA()},YA=()=>{const NA=vue.ref(null);if(wA.value==="empty"){const JA=new File([],yA.pageName+".md",{type:"text/markdown"});NA.value=JA,oA("save",Object.assign(yA,{fileName:yA.pageName},{status:fA.value}),NA)}else oA("save",Object.assign(yA,{status:fA.value}),SA)},UA=()=>{var NA,JA,TA,XA,qA;if(SA.value=null,rA.editing&&((NA=rA.record)!=null&&NA.document)){const HA=cloneDeep(rA.record),rl=HA.status||rA.record.document.status||mA.value;yA.fileName=((JA=HA.document.file)==null?void 0:JA.filename)||((XA=(TA=HA.document.revision)==null?void 0:TA.file)==null?void 0:XA.filename),yA.pageName=HA.document.title||((qA=HA.document.revision)==null?void 0:qA.title),yA.urlSlug=HA.document.slug,yA.parent=HA.document.parent_document_id,yA.status=rl,mA.value=rl==="published"}else yA.fileName="",yA.pageName="",yA.urlSlug="",yA.parent="",yA.status=""};return vue.watch(()=>wA,()=>{UA()},{deep:!0,immediate:!0}),vue.onMounted(()=>{UA()}),(NA,JA)=>{const TA=vue.resolveComponent("KExternalLink"),XA=vue.resolveComponent("KAlert"),qA=vue.resolveComponent("KRadio"),HA=vue.resolveComponent("KFileUpload"),rl=vue.resolveComponent("KInput"),Qu=vue.resolveComponent("KLabel"),ll=vue.resolveComponent("KInputSwitch"),Zu=vue.resolveComponent("KSelect"),tl=vue.resolveComponent("KButton"),Wu=vue.resolveComponent("KModal");return vue.openBlock(),vue.createBlock(vue.Teleport,{to:"#kong-ui-app-layout-teleport-default-slot"},[vue.createVNode(Wu,{class:"edit-document-modal","data-testid":"edit-document-modal","max-width":"750px",visible:"",onCancel:GA,onProceed:YA},{title:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1,[vue.createTextVNode(vue.toDisplayString(vA.value)+" ",1),vue.createElementVNode("div",_hoisted_2$1,[vue.createTextVNode(vue.toDisplayString(vue.unref(cA).t("documentation.form_modal.subtitle"))+" ",1),_hoisted_3$1,vue.createVNode(TA,{class:"doc-link",href:vue.unref(externalLinks).serviceDocumentationDocs},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(cA).t("documentation.form_modal.documentation_link_text")),1)]),_:1},8,["href"])])])]),default:vue.withCtx(()=>[tA.errorMessage?(vue.openBlock(),vue.createBlock(XA,{key:0,appearance:"danger",class:"bottom-spacing",message:tA.errorMessage},null,8,["message"])):vue.createCommentVNode("",!0),tA.editing?(vue.openBlock(),vue.createBlock(XA,{key:1,appearance:"info",class:"bottom-spacing",message:vue.unref(cA).t("documentation.form_modal.edit_markdown"),"show-icon":""},null,8,["message"])):vue.createCommentVNode("",!0),tA.editing?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",_hoisted_4,[vue.createElementVNode("div",null,[vue.createVNode(qA,{modelValue:wA.value,"onUpdate:modelValue":JA[0]||(JA[0]=sl=>wA.value=sl),class:"upload-document-radio","data-testid":"upload-document-radio","selected-value":"upload"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(cA).t("documentation.form_modal.file_label")),1)]),_:1},8,["modelValue"])]),vue.createElementVNode("div",null,[vue.createVNode(qA,{modelValue:wA.value,"onUpdate:modelValue":JA[1]||(JA[1]=sl=>wA.value=sl),class:"empty-document-radio","data-testid":"empty-document-radio","selected-value":"empty"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(cA).t("documentation.form_modal.empty_doc")),1)]),_:1},8,["modelValue"])])])),wA.value==="upload"?(vue.openBlock(),vue.createBlock(HA,{key:3,accept:[".md",".markdown"],"button-text":$A.value,class:"document-file-upload","data-testid":"document-file-upload",label:vue.unref(cA).t("documentation.form_modal.file_label"),"label-attributes":{info:vue.unref(cA).t("documentation.form_modal.file_tooltip")},placeholder:tA.editing?uA.value:void 0,onFileAdded:LA,onFileRemoved:RA},null,8,["accept","button-text","label","label-attributes","placeholder"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_5,[vue.createElementVNode("div",_hoisted_6,[vue.createVNode(rl,{modelValue:yA.pageName,"onUpdate:modelValue":JA[2]||(JA[2]=sl=>yA.pageName=sl),modelModifiers:{trim:!0},"data-testid":"documentation-page-name",label:vue.unref(cA).t("documentation.form_modal.title_label"),placeholder:vue.unref(cA).t("documentation.form_modal.title_placeholder"),required:""},null,8,["modelValue","label","placeholder"])]),vue.createElementVNode("div",_hoisted_7,[vue.createVNode(rl,{modelValue:yA.urlSlug,"onUpdate:modelValue":JA[3]||(JA[3]=sl=>yA.urlSlug=sl),modelModifiers:{trim:!0},"data-testid":"documentation-url-slug","error-message":vue.unref(cA).t("documentation.form_modal.slug_error"),"has-error":BA.value,label:vue.unref(cA).t("documentation.form_modal.slug_label"),pattern:EA,placeholder:vue.unref(cA).t("documentation.form_modal.slug_placeholder"),required:""},null,8,["modelValue","error-message","has-error","label","placeholder"])])]),tA.hidePublishToggle?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",_hoisted_8,[vue.createElementVNode("div",null,[vue.createVNode(Qu,null,{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(cA).t("documentation.form_modal.status_label")),1)]),_:1})]),vue.createVNode(ll,{modelValue:mA.value,"onUpdate:modelValue":JA[4]||(JA[4]=sl=>mA.value=sl),"data-testid":"documentation-status",label:FA.value},null,8,["modelValue","label"])])),vue.createVNode(Zu,{modelValue:yA.parent,"onUpdate:modelValue":JA[5]||(JA[5]=sl=>yA.parent=sl),class:"document-parent-select","data-testid":"documentation-parent","enable-filtering":"",items:kA.value,label:vue.unref(cA).t("documentation.form_modal.parent_document_select_label"),width:"100%"},null,8,["modelValue","items","label"])]),footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_9,[vue.createVNode(tl,{appearance:"tertiary",class:"edit-documentation-cancel-button","data-testid":"edit-documentation-cancel-button",onClick:GA},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(vue.unref(cA).t("documentation.form_modal.cancel_button_text")),1)]),_:1}),vue.createVNode(tl,{appearance:"primary","data-testid":"edit-documentation-save-button",disabled:tA.actionPending||OA.value,onClick:YA},{default:vue.withCtx(()=>[tA.actionPending?(vue.openBlock(),vue.createBlock(vue.unref(hd$1),{key:0})):vue.createCommentVNode("",!0),vue.createTextVNode(" "+vue.toDisplayString(vue.unref(cA).t("documentation.form_modal.save_button_text")),1)]),_:1},8,["disabled"])])]),_:1})])}}}),ProductDocumentModal=_export_sfc(_sfc_main$1,[["__scopeId","data-v-079ad728"]]),_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","document-selection","modal-closed","parent-change","save","save-markdown","toggle-published"],setup(tA,{expose:aA,emit:rA}){const oA=rA,cA=vue.ref(!1),uA=vue.ref(!1),lA=vue.ref(),mA=tA;vue.watch(()=>mA.actionSuccess,kA=>{kA&&BA()});const fA=vue.computed(()=>{var kA,vA;return`data-display-${mA.cacheKey}-${((vA=(kA=mA.selectedDocument)==null?void 0:kA.document)==null?void 0:vA.id)||""}`}),wA=()=>{uA.value=!1,cA.value=!0},yA=()=>{lA.value.download()},EA=()=>{lA.value.edit()},BA=()=>{cA.value=!1,oA("modal-closed")};return aA({download:yA,edit:EA}),(kA,vA)=>{const $A=vue.resolveComponent("KCard"),FA=vue.resolveComponent("KTreeList");return vue.openBlock(),vue.createElementBlock("div",_hoisted_1,[tA.documentList&&!tA.documentList.length?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2,[tA.emptyStateCard?(vue.openBlock(),vue.createBlock($A,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2,{"can-edit":tA.canEdit,onCreateDocumentation:wA},null,8,["can-edit"])]),_:1})):(vue.openBlock(),vue.createBlock(_sfc_main$2,{key:1,"can-edit":tA.canEdit,onCreateDocumentation:wA},null,8,["can-edit"]))])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_3,[(vue.openBlock(),vue.createBlock(FA,{key:`tree-list-${tA.cacheKey}`,class:"document-tree-list",items:tA.documentList,"max-depth":2,onChange:vA[0]||(vA[0]=SA=>oA("parent-change",SA)),onChildChange:vA[1]||(vA[1]=SA=>oA("child-change",SA)),onSelected:vA[2]||(vA[2]=SA=>oA("document-selection",SA))},null,8,["items"])),tA.selectedDocument?(vue.openBlock(),vue.createBlock(DocumentationDisplay,{key:fA.value,ref_key:"documentationDisplay",ref:lA,"can-edit":tA.canEdit,card:tA.card,class:"document-holder","hide-publish-toggle":tA.hidePublishToggle,"selected-document":tA.selectedDocument,onAdd:wA,onSaveMarkdown:vA[3]||(vA[3]=SA=>oA("save-markdown",SA)),onTogglePublished:vA[4]||(vA[4]=SA=>oA("toggle-published",SA))},null,8,["can-edit","card","hide-publish-toggle","selected-document"])):vue.createCommentVNode("",!0)])),cA.value?(vue.openBlock(),vue.createBlock(ProductDocumentModal,{key:2,"action-pending":tA.actionPending,documents:tA.documentList,editing:uA.value,"error-message":tA.modalErrorMessage,"hide-publish-toggle":tA.hidePublishToggle,record:uA.value&&tA.selectedDocument?tA.selectedDocument:void 0,onCancel:BA,onDelete:vA[5]||(vA[5]=SA=>oA("delete")),onSave:vA[6]||(vA[6]=(SA,LA)=>oA("save",SA,LA))},null,8,["action-pending","documents","editing","error-message","hide-publish-toggle","record"])):vue.createCommentVNode("",!0)])}}}),DocumentationContent=_export_sfc(_sfc_main,[["__scopeId","data-v-ce1efed9"]]);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)
|
|
209
209
|
-?
|
|
210
210
|
(?:
|
|
211
211
|
0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as R, c as w, d as F, an as q, h as _, l as f, z as N, ao as lt } from "./index-
|
|
2
|
-
import { U as nt } from "./createText-ca0c5216-BJXIFjUv-
|
|
3
|
-
import { P as ot } from "./line-cygqshb4-
|
|
1
|
+
import { p as R, c as w, d as F, an as q, h as _, l as f, z as N, ao as lt } from "./index-74HaIrFw.js";
|
|
2
|
+
import { U as nt } from "./createText-ca0c5216-BJXIFjUv-B9Xp5z9K.js";
|
|
3
|
+
import { P as ot } from "./line-cygqshb4-ChLkD5zh.js";
|
|
4
4
|
const dt = (e, t, a, s) => {
|
|
5
5
|
t.forEach((l) => {
|
|
6
6
|
bt[l](e, a, s);
|
package/dist/{erDiagram-09d1c15f-DaNxb97t-yfIoK6e9.js → erDiagram-09d1c15f-DaNxb97t-DI2sOo4s.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as Y, s as _t, g as ft, b as mt, a as Et, x as gt, y as bt, ar as kt, l as K, A as Ot, h as tt, z as Rt, i as Nt, ao as xt, as as Tt } from "./index-
|
|
2
|
-
import { Y as At } from "./graph-Bb1vku7A-
|
|
3
|
-
import { O as Mt } from "./layout-BXWpVE1y-
|
|
4
|
-
import { P as Dt } from "./line-cygqshb4-
|
|
1
|
+
import { c as Y, s as _t, g as ft, b as mt, a as Et, x as gt, y as bt, ar as kt, l as K, A as Ot, h as tt, z as Rt, i as Nt, ao as xt, as as Tt } from "./index-74HaIrFw.js";
|
|
2
|
+
import { Y as At } from "./graph-Bb1vku7A-CjMAyaMV.js";
|
|
3
|
+
import { O as Mt } from "./layout-BXWpVE1y-Dpdx9MjN.js";
|
|
4
|
+
import { P as Dt } from "./line-cygqshb4-ChLkD5zh.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, v as Bt, s as mt, g as xt, a as vt, b as Lt, x as $t, y as It, l as Z1, z as de, A as Rt, j as Nt, h as R1 } from "./index-
|
|
1
|
+
import { c as ee, v as Bt, s as mt, g as xt, a as vt, b as Lt, x as $t, y as It, l as Z1, z as de, A as Rt, j as Nt, h as R1 } from "./index-74HaIrFw.js";
|
|
2
2
|
var pe = function() {
|
|
3
3
|
var t = function(j, a, o, n) {
|
|
4
4
|
for (o = o || {}, n = j.length; n--; o[j[n]] = a)
|
package/dist/{flowDiagram-b222e15a-Bz6kEL6X-BYX80NQA.js → flowDiagram-b222e15a-Bz6kEL6X-B4McfssH.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { X as kt, j as P } from "./flowDb-c1833063-4TreIkwu-
|
|
2
|
-
import { Y as St, E as S, v as K } from "./graph-Bb1vku7A-
|
|
3
|
-
import { h as v, o as O, p as J, c as R, r as tt, j as et, l as U, q, t as W, u as _t } from "./index-
|
|
4
|
-
import { e as Lt, N as At, V as It, O as Tt, k as C } from "./layout-BXWpVE1y-
|
|
5
|
-
import { w as Mt, h as Nt, t as rt, Z as Bt, e as T, p as at, u as A, b as nt, f as it } from "./styles-483fbfea-_Tntk7zw-
|
|
6
|
-
import { P as $t } from "./line-cygqshb4-
|
|
1
|
+
import { X as kt, j as P } from "./flowDb-c1833063-4TreIkwu-DLOEDd2f.js";
|
|
2
|
+
import { Y as St, E as S, v as K } from "./graph-Bb1vku7A-CjMAyaMV.js";
|
|
3
|
+
import { h as v, o as O, p as J, c as R, r as tt, j as et, l as U, q, t as W, u as _t } from "./index-74HaIrFw.js";
|
|
4
|
+
import { e as Lt, N as At, V as It, O as Tt, k as C } from "./layout-BXWpVE1y-Dpdx9MjN.js";
|
|
5
|
+
import { w as Mt, h as Nt, t as rt, Z as Bt, e as T, p as at, u as A, b as nt, f as it } from "./styles-483fbfea-_Tntk7zw-BMvdfSW3.js";
|
|
6
|
+
import { P as $t } from "./line-cygqshb4-ChLkD5zh.js";
|
|
7
7
|
function Et(r) {
|
|
8
8
|
if (!r.ok)
|
|
9
9
|
throw new Error(r.status + " " + r.statusText);
|