@kestra-io/ui-libs 0.0.294 → 0.0.299
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/{kestra-flowyamlutils.cjs.js → kestra-flowyamlutils.cjs} +1 -1
- package/dist/kestra-flowyamlutils.cjs.map +1 -0
- package/dist/{kestra-flowyamlutils.es.js → kestra-flowyamlutils.mjs} +1 -1
- package/dist/kestra-flowyamlutils.mjs.map +1 -0
- package/dist/{kestra-index.cjs.js → kestra-index.cjs} +1 -1
- package/dist/kestra-index.cjs.map +1 -0
- package/dist/{kestra-index.es.js → kestra-index.mjs} +1 -1
- package/dist/kestra-index.mjs.map +1 -0
- package/dist/{kestra-vueflowutils.cjs.js → kestra-vueflowutils.cjs} +1 -1
- package/dist/kestra-vueflowutils.cjs.map +1 -0
- package/dist/{kestra-vueflowutils.es.js → kestra-vueflowutils.mjs} +1 -1
- package/dist/kestra-vueflowutils.mjs.map +1 -0
- package/package.json +10 -10
- package/dist/kestra-flowyamlutils.cjs.js.map +0 -1
- package/dist/kestra-flowyamlutils.es.js.map +0 -1
- package/dist/kestra-index.cjs.js.map +0 -1
- package/dist/kestra-index.es.js.map +0 -1
- package/dist/kestra-vueflowutils.cjs.js.map +0 -1
- package/dist/kestra-vueflowutils.es.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("js-yaml");require("yaml");const e=require("./FlowYamlUtils-CAwjZu0s.cjs");exports.FLOW_SECTION_KEYS=e.FLOW_SECTION_KEYS;exports.ORDERED_FLOW_ROOT_KEYS=e.ORDERED_FLOW_ROOT_KEYS;exports.checkBlockAlreadyExists=e.checkBlockAlreadyExists;exports.cleanMetadata=e.cleanMetadata;exports.deleteBlock=e.deleteBlock;exports.deleteBlockWithPath=e.deleteBlockWithPath;exports.deleteMetadata=e.deleteMetadata;exports.deletePluginDefaults=e.deletePluginDefaults;exports.extractBlock=e.extractBlock;exports.extractBlockWithPath=e.extractBlockWithPath;exports.extractFieldFromMaps=e.extractFieldFromMaps;exports.extractPluginDefault=e.extractPluginDefault;exports.flowHaveTasks=e.flowHaveTasks;exports.getAllCharts=e.getAllCharts;exports.getChartAtPosition=e.getChartAtPosition;exports.getLastBlock=e.getLastBlock;exports.getMetadata=e.getMetadata;exports.getPathFromSectionAndId=e.getPathFromSectionAndId;exports.getTasksLines=e.getTasksLines;exports.getTypeAtPosition=e.getTypeAtPosition;exports.getVersionAtPosition=e.getVersionAtPosition;exports.insertBlock=e.insertBlock;exports.insertBlockWithPath=e.insertBlockWithPath;exports.insertErrorInFlowable=e.insertErrorInFlowable;exports.isParentChildrenRelation=e.isParentChildrenRelation;exports.localizeElementAtIndex=e.localizeElementAtIndex;exports.pairsToMap=e.pairsToMap;exports.parse=e.parse;exports.parsePath=e.parsePath;exports.replaceBlockInDocument=e.replaceBlockInDocument;exports.replaceBlockWithPath=e.replaceBlockWithPath;exports.replaceIdAndNamespace=e.replaceIdAndNamespace;exports.replacePluginDefaultsInDocument=e.replacePluginDefaultsInDocument;exports.sort=e.sort;exports.stringify=e.stringify;exports.swapBlocks=e.swapBlocks;exports.updateMetadata=e.updateMetadata;
|
|
2
|
-
//# sourceMappingURL=kestra-flowyamlutils.cjs.
|
|
2
|
+
//# sourceMappingURL=kestra-flowyamlutils.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kestra-flowyamlutils.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kestra-flowyamlutils.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -17,4 +17,4 @@ type: ${l.pluginType}
|
|
|
17
17
|
`.concat(E.code),d=e.ref(),h=e.computed(()=>l.schema.properties?.$examples),f=e.computed(()=>Object.fromEntries(l.schema.properties?.$metrics?.map(E=>[E.name,{...E,name:void 0}]))),{getHighlighterCore:k}=([n,o]=e.withAsyncContext(()=>Promise.resolve().then(()=>require("./shikiToolset-BEGfHQp3.cjs"))),n=await n,o(),n);d.value=([n,o]=e.withAsyncContext(()=>k()),n=await n,o(),n);const T="github-"+(l.darkMode?"dark":"light");return e.onMounted(()=>{c(),window.addEventListener("hashchange",c)}),e.onUnmounted(()=>{window.removeEventListener("hashchange",c)}),(E,N)=>(e.openBlock(),e.createElementBlock("div",Uh,[e.createElementVNode("div",Hh,[t.schema.properties?.$beta?(e.openBlock(),e.createElementBlock("div",zh,[...N[0]||(N[0]=[e.createElementVNode("p",null," This plugin is currently in beta. While it is considered safe for use, please be aware that its API could change in ways that are not compatible with earlier versions in future releases, or it might become unsupported. ",-1)])])):e.createCommentVNode("",!0),t.schema.properties?.title?(e.openBlock(),e.createElementBlock("div",Wh,[e.renderSlot(E.$slots,"markdown",{content:t.schema.properties.title.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),t.schema.properties?.description?(e.openBlock(),e.createElementBlock("div",jh,[e.renderSlot(E.$slots,"markdown",{content:t.schema.properties.description.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),(e.openBlock(),e.createBlock(ot,{highlighter:d.value,language:"yaml",theme:T,code:`type: ${t.pluginType}`,key:t.pluginType},null,8,["highlighter","code"]))]),(e.openBlock(),e.createElementBlock("div",{class:"d-flex flex-column gap-3",key:t.pluginType},[h.value?(e.openBlock(),e.createBlock(Et,{key:0,class:"plugin-section","clickable-text":"Examples",href:"examples","no-url-change":t.noUrlChange},{content:e.withCtx(()=>[e.createElementVNode("div",Gh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,(m,y)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:t.pluginType+"-"+y},[e.createElementVNode("div",Kh,[e.createElementVNode("div",Yh,[m.title?e.renderSlot(E.$slots,"markdown",{key:0,content:m.title.replace(/ *:(?![ /])/g,": ")},void 0,!0):e.createCommentVNode("",!0)]),m.code?(e.openBlock(),e.createBlock(ot,{key:0,highlighter:d.value,language:m.lang??"yaml",theme:T,code:u(m)},null,8,["highlighter","language","code"])):e.createCommentVNode("",!0)]),y<h.value.length-1?(e.openBlock(),e.createElementBlock("hr",qh)):e.createCommentVNode("",!0)],64))),128))])]),_:3},8,["no-url-change"])):e.createCommentVNode("",!0),t.schema.properties?.properties?(e.openBlock(),e.createBlock(Tt,{key:1,class:"plugin-section",properties:t.schema.properties.properties,definitions:t.schema.definitions,"section-name":"Properties",href:"properties","initially-expanded":t.propsInitiallyExpanded,"force-include":t.forceIncludeProperties,"no-url-change":t.noUrlChange},{markdown:e.withCtx(({content:m})=>[e.createElementVNode("div",Xh,[e.renderSlot(E.$slots,"markdown",{content:m},void 0,!0)])]),_:3},8,["properties","definitions","initially-expanded","force-include","no-url-change"])):e.createCommentVNode("",!0),t.schema.outputs?.properties&&Object.keys(t.schema.outputs.properties).length>0?(e.openBlock(),e.createBlock(Tt,{key:2,class:"plugin-section",properties:t.schema.outputs.properties,definitions:t.schema.definitions,"section-name":"Outputs",href:"outputs","show-dynamic":!1,"no-url-change":t.noUrlChange},{markdown:e.withCtx(({content:m})=>[e.createElementVNode("div",Zh,[e.renderSlot(E.$slots,"markdown",{content:m},void 0,!0)])]),_:3},8,["properties","definitions","no-url-change"])):e.createCommentVNode("",!0),t.schema.properties?.$metrics?(e.openBlock(),e.createBlock(Tt,{key:3,class:"plugin-section",properties:f.value,definitions:t.schema.definitions,"section-name":"Metrics",href:"metrics","show-dynamic":!1,"no-url-change":t.noUrlChange},{markdown:e.withCtx(({content:m})=>[e.createElementVNode("div",Jh,[e.renderSlot(E.$slots,"markdown",{content:m},void 0,!0)])]),_:3},8,["properties","definitions","no-url-change"])):e.createCommentVNode("",!0),s.value.length>0?(e.openBlock(),e.createBlock(Et,{class:"plugin-section","clickable-text":"Definitions",href:"definitions","initially-expanded":r.value,key:`definitions-${t.pluginType}-${i.value}`,"no-url-change":t.noUrlChange},{content:e.withCtx(()=>[e.createElementVNode("div",Qh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,([m,y])=>(e.openBlock(),e.createBlock(Tt,{properties:y.properties,definitions:t.schema.definitions,"section-name":y.title??m.split("_")[0],href:m,"show-dynamic":!1,"initially-expanded":a.value.has(m),key:t.pluginType+"-"+m,class:"plugin-section nested-button-py-2",onExpand:S=>{r.value=!0,a.value.add(m)},"no-url-change":t.noUrlChange,description:y.description,examples:y?.$examples},{markdown:e.withCtx(({content:S})=>[e.createElementVNode("div",e1,[e.renderSlot(E.$slots,"markdown",{content:S},void 0,!0)])]),example:e.withCtx(({example:S})=>[e.createElementVNode("div",t1,[S.title?(e.openBlock(),e.createElementBlock("div",n1,[e.renderSlot(E.$slots,"markdown",{content:`**${S.title}**`},void 0,!0)])):e.createCommentVNode("",!0),S.code?(e.openBlock(),e.createBlock(ot,{key:1,highlighter:d.value,language:S.lang??"yaml",theme:T,code:u(S)},null,8,["highlighter","language","code"])):e.createCommentVNode("",!0)])]),_:3},8,["properties","definitions","section-name","href","initially-expanded","onExpand","no-url-change","description","examples"]))),128))])]),_:3},8,["initially-expanded","no-url-change"])):e.createCommentVNode("",!0)]))]))}}),l1=A(o1,[["__scopeId","data-v-02295168"]]),r1={key:0},a1={class:"type-box rounded fs-7 px-2 py-1"},i1={key:1},s1={class:"border rounded px-2 py-1"},c1={key:2},u1={class:"border rounded px-2 py-1"},d1={key:3},m1={class:"border rounded px-2 py-1"},f1={key:4},p1={class:"border rounded px-2 py-1"},g1={key:5},h1={class:"border rounded px-2 py-1"},E1={key:6},k1={class:"border rounded px-2 py-1"},y1={key:7},v1={class:"border rounded px-2 py-1"},C1={key:8},_1={class:"border rounded px-2 py-1"},N1={key:9},S1={class:"border rounded px-2 py-1"},b1={key:10},w1={class:"border rounded px-2 py-1"},L1={key:11},B1={class:"border rounded px-2 py-1"},V1={key:12},T1={class:"border rounded px-2 py-1"},$1={key:13},I1={class:"values-wrapper d-flex flex-wrap justify-content-end gap-7 p-0"},A1=e.defineComponent({__name:"PropertyMeta",props:{property:{},subtype:{},enumValues:{}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t.subtype&&!t.subtype.startsWith("#")?(e.openBlock(),e.createElementBlock("div",r1,[o[0]||(o[0]=e.createElementVNode("span",null,"SubType",-1)),e.createElementVNode("span",a1,e.toDisplayString(t.subtype),1)])):e.createCommentVNode("",!0),t.property.default!==void 0?(e.openBlock(),e.createElementBlock("div",i1,[o[1]||(o[1]=e.createElementVNode("span",null,"Default",-1)),e.createElementVNode("code",s1,e.toDisplayString(t.property.default),1)])):e.createCommentVNode("",!0),t.property.pattern!==void 0?(e.openBlock(),e.createElementBlock("div",c1,[o[2]||(o[2]=e.createElementVNode("span",null,"Validation RegExp",-1)),e.createElementVNode("code",u1,e.toDisplayString(t.property.pattern),1)])):e.createCommentVNode("",!0),t.property.unit!==void 0&&t.property.unit.trim().length>0?(e.openBlock(),e.createElementBlock("div",d1,[o[3]||(o[3]=e.createElementVNode("span",null,"Unit",-1)),e.createElementVNode("code",m1,e.toDisplayString(t.property.unit),1)])):e.createCommentVNode("",!0),t.property.minLength!==void 0?(e.openBlock(),e.createElementBlock("div",f1,[o[4]||(o[4]=e.createElementVNode("span",null,"Min length",-1)),e.createElementVNode("code",p1,e.toDisplayString(t.property.minLength),1)])):e.createCommentVNode("",!0),t.property.maxLength!==void 0?(e.openBlock(),e.createElementBlock("div",g1,[o[5]||(o[5]=e.createElementVNode("span",null,"Max length",-1)),e.createElementVNode("code",h1,e.toDisplayString(t.property.maxLength),1)])):e.createCommentVNode("",!0),t.property.minItems!==void 0?(e.openBlock(),e.createElementBlock("div",E1,[o[6]||(o[6]=e.createElementVNode("span",null,"Min items",-1)),e.createElementVNode("code",k1,e.toDisplayString(t.property.minItems),1)])):e.createCommentVNode("",!0),t.property.maxItems!==void 0?(e.openBlock(),e.createElementBlock("div",y1,[o[7]||(o[7]=e.createElementVNode("span",null,"Max items",-1)),e.createElementVNode("code",v1,e.toDisplayString(t.property.maxItems),1)])):e.createCommentVNode("",!0),t.property.minimum!==void 0?(e.openBlock(),e.createElementBlock("div",C1,[o[8]||(o[8]=e.createElementVNode("span",null,"Minimum",-1)),e.createElementVNode("code",_1,">= "+e.toDisplayString(t.property.minimum),1)])):e.createCommentVNode("",!0),t.property.exclusiveMinimum!==void 0?(e.openBlock(),e.createElementBlock("div",N1,[o[9]||(o[9]=e.createElementVNode("span",null,"Minimum",-1)),e.createElementVNode("code",S1,"> "+e.toDisplayString(t.property.minimum),1)])):e.createCommentVNode("",!0),t.property.maximum!==void 0?(e.openBlock(),e.createElementBlock("div",b1,[o[10]||(o[10]=e.createElementVNode("span",null,"Maximum",-1)),e.createElementVNode("code",w1,"<= "+e.toDisplayString(t.property.maximum),1)])):e.createCommentVNode("",!0),t.property.exclusiveMaximum!==void 0?(e.openBlock(),e.createElementBlock("div",L1,[o[11]||(o[11]=e.createElementVNode("span",null,"Maximum",-1)),e.createElementVNode("code",B1,"< "+e.toDisplayString(t.property.maximum),1)])):e.createCommentVNode("",!0),t.property.format!==void 0?(e.openBlock(),e.createElementBlock("div",V1,[o[12]||(o[12]=e.createElementVNode("span",null,"Format",-1)),e.createElementVNode("code",T1,e.toDisplayString(t.property.format),1)])):e.createCommentVNode("",!0),t.enumValues!==void 0?(e.openBlock(),e.createElementBlock("div",$1,[o[13]||(o[13]=e.createElementVNode("span",null,"Possible Values",-1)),e.createElementVNode("div",I1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.enumValues,(l,r)=>(e.openBlock(),e.createElementBlock("code",{class:"border rounded px-2 py-1",key:r},e.toDisplayString(l),1))),128))])])):e.createCommentVNode("",!0)],64))}}),cr=A(A1,[["__scopeId","data-v-ce25a1e1"]]),D1={class:"d-flex flex-grow-1 align-items-center justify-content-between"},O1={key:0,class:"d-flex gap-2 flex-wrap align-items-center"},x1=e.defineComponent({__name:"PropertyBadges",props:{property:{},showDynamic:{type:Boolean,default:!0},sectionClass:{default:""}},setup(t){function n(o){return it(o).types.filter(r=>!r.startsWith("#"))}return(o,l)=>(e.openBlock(),e.createElementBlock("span",D1,[e.createElementVNode("span",{class:e.normalizeClass(["d-flex gap-2 flex-wrap align-items-center",t.sectionClass])},[t.property&&t.property.$required?(e.openBlock(),e.createBlock(j,{key:0,class:"d-flex align-items-center",title:"Required"},{default:e.withCtx(()=>[...l[0]||(l[0]=[e.createElementVNode("span",{class:"text-danger"},"*",-1)])]),_:1})):e.createCommentVNode("",!0),t.showDynamic&&t.property&&!e.unref(or)(t.property)?(e.openBlock(),e.createBlock(j,{key:1,class:"d-flex",title:"Non-dynamic"},{default:e.withCtx(()=>[e.createVNode(ir,{class:"text-info"})]),_:1})):e.createCommentVNode("",!0),t.property&&t.property.$beta?(e.openBlock(),e.createBlock(j,{key:2,class:"d-flex",title:"Beta"},{default:e.withCtx(()=>[e.createVNode(sr,{class:"text-warning"})]),_:1})):e.createCommentVNode("",!0),t.property&&t.property.$deprecated?(e.openBlock(),e.createBlock(j,{key:3,class:"d-flex",title:"Deprecated"},{default:e.withCtx(()=>[e.createVNode(Kt,{class:"text-warning"})]),_:1})):e.createCommentVNode("",!0)],2),t.property?(e.openBlock(),e.createElementBlock("span",O1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n(t.property),r=>(e.openBlock(),e.createElementBlock("span",{key:r,class:"type-box rounded fs-7 px-2 py-1"},e.toDisplayString(r),1))),128))])):e.createCommentVNode("",!0)]))}}),ur=A(x1,[["__scopeId","data-v-1fcc5d4c"]]),P1={class:"def-content"},R1={key:0,class:"def-description"},M1={key:1,class:"def-examples"},F1={class:"d-flex flex-column gap-4"},U1={class:"d-flex flex-column"},H1={class:"markdown"},z1={key:0,class:"w-100 align-self-center"},W1={class:"d-flex align-items-center justify-content-between gap-2"},j1={class:"prop-key"},G1={key:0,class:"property-desc mt-2"},K1={key:1,class:"mt-3 nested-defs"},Y1=e.defineComponent({__name:"DefinitionCollapsible",props:{definition:{},definitions:{default:void 0},visitedKeys:{default:()=>new Set},depth:{default:0},maxDepth:{default:3},section:{default:"properties"}},setup(t){const n=t,o=e.inject("highlighter",e.ref(void 0)),l=e.inject("codeTheme",e.ref("github-dark")),r=b.sanitizeForMarkdown,a=u=>{const d=it(u).subType;return d&&!d.startsWith("#")?d:void 0},i=u=>Qn(u),s=u=>{const d=n.definitions,h=n.depth,f=n.maxDepth,k=n.visitedKeys;return!d||h>=f?[]:nr(u,d,k)},c=e.computed(()=>{const u=new Set(n.visitedKeys);return u.add(n.definition.key),u});return(u,d)=>{const h=e.resolveComponent("DefinitionCollapsible",!0);return e.openBlock(),e.createBlock(kt,{title:t.definition.title,href:`def-${t.definition.key}`,class:e.normalizeClass(["def-collapsible",`section-${t.section}`]),arrow:"","no-url-change":""},{content:e.withCtx(()=>[e.createElementVNode("div",P1,[t.definition.description?(e.openBlock(),e.createElementBlock("div",R1,[e.renderSlot(u.$slots,"markdown",{content:e.unref(r)(t.definition.description)},void 0,!0)])):e.createCommentVNode("",!0),t.definition.$examples&&t.definition.$examples.length?(e.openBlock(),e.createElementBlock("div",M1,[d[0]||(d[0]=e.createElementVNode("div",{class:"def-examples-header"}," Example ",-1)),e.createElementVNode("div",F1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.definition.$examples,(f,k)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:`${t.definition.key}-example-${k}`},[e.createElementVNode("div",U1,[e.createElementVNode("div",H1,[f.title?e.renderSlot(u.$slots,"markdown",{key:0,content:f.title.replace(/ *:(?![ /])/g,": ")},void 0,!0):e.createCommentVNode("",!0)]),f.code?(e.openBlock(),e.createBlock(ot,{key:0,highlighter:e.unref(o),language:f.lang??"yaml",theme:e.unref(l),code:f.code},null,8,["highlighter","language","theme","code"])):e.createCommentVNode("",!0)]),k<t.definition.$examples.length-1?(e.openBlock(),e.createElementBlock("hr",z1)):e.createCommentVNode("",!0)],64))),128))])])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.definition.properties,(f,k)=>(e.openBlock(),e.createElementBlock("div",{key:k,class:"def-property"},[e.createElementVNode("div",W1,[e.createElementVNode("span",j1,e.toDisplayString(k),1),e.createVNode(ur,{property:f,"show-dynamic":!1,"section-class":"section-properties"},null,8,["property"])]),e.createVNode(cr,{property:f,subtype:a(f),"enum-values":i(f)},null,8,["property","subtype","enum-values"]),f.title!==void 0||f.description!==void 0?(e.openBlock(),e.createElementBlock("div",G1,[f.title?e.renderSlot(u.$slots,"markdown",{key:0,content:e.unref(r)(f.title)},void 0,!0):e.createCommentVNode("",!0),f.description?e.renderSlot(u.$slots,"markdown",{key:1,content:e.unref(r)(f.description)},void 0,!0):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.depth<t.maxDepth&&s(f).length?(e.openBlock(),e.createElementBlock("div",K1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s(f),T=>(e.openBlock(),e.createBlock(h,{key:`${t.definition.key}-${T.key}`,definition:T,definitions:t.definitions,"visited-keys":c.value,depth:t.depth+1,"max-depth":t.maxDepth},{markdown:e.withCtx(({content:E})=>[e.renderSlot(u.$slots,"markdown",{content:E},void 0,!0)]),_:3},8,["definition","definitions","visited-keys","depth","max-depth"]))),128))])):e.createCommentVNode("",!0)]))),128))])]),_:3},8,["title","href","class"])}}}),q1=A(Y1,[["__scopeId","data-v-96ed960d"]]),X1={class:"property-detail"},Z1={key:0},J1={class:"property-description markdown"},Q1={key:2},eE={key:3,class:"mt-3"},tE=e.defineComponent({__name:"PropertyDetailV2",props:{property:{},definitions:{default:void 0},visitedKeys:{default:()=>new Set},depth:{default:0},maxDepth:{default:3},section:{default:"properties"}},setup(t){const n=t,o=e.computed(()=>it(n.property).subType),l=e.computed(()=>Qn(n.property)),r=e.computed(()=>{const s=n.definitions,c=n.depth,u=n.maxDepth,d=n.property,h=n.visitedKeys;return!s||c>=u?[]:nr(d,s,h)}),a=e.computed(()=>{const s=new Set(n.visitedKeys);return r.value.forEach(c=>s.add(c.key)),s}),i=b.sanitizeForMarkdown;return(s,c)=>(e.openBlock(),e.createElementBlock("div",X1,[e.createVNode(cr,{property:t.property,subtype:o.value,"enum-values":l.value},null,8,["property","subtype","enum-values"]),t.property.title!==void 0||t.property.description!==void 0||t.depth<t.maxDepth&&r.value.length>0?(e.openBlock(),e.createElementBlock("div",Z1,[e.createElementVNode("div",J1,[t.property.title!==void 0?e.renderSlot(s.$slots,"markdown",{key:0,content:e.unref(i)(t.property.title)},void 0,!0):e.createCommentVNode("",!0),t.property.description!==void 0?e.renderSlot(s.$slots,"markdown",{key:1,content:e.unref(i)(t.property.description)},void 0,!0):e.createCommentVNode("",!0),t.property.$internalStorageURI?(e.openBlock(),e.createElementBlock("div",Q1,[e.createVNode(lr,{type:"info"},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"markdown",{content:"Pebble expression referencing an Internal Storage URI e.g. `{{ outputs.mytask.uri }}`."},void 0,!0)]),_:3})])):e.createCommentVNode("",!0),t.depth<t.maxDepth&&r.value.length>0?(e.openBlock(),e.createElementBlock("div",eE,[c[0]||(c[0]=e.createElementVNode("div",{class:"definitions-header"}," Definitions ",-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,u=>(e.openBlock(),e.createBlock(q1,{key:`${u.key}-${t.depth}`,definition:u,definitions:t.definitions,"visited-keys":a.value,depth:t.depth+1,"max-depth":t.maxDepth,section:t.section},{markdown:e.withCtx(({content:d})=>[e.renderSlot(s.$slots,"markdown",{content:d},void 0,!0)]),_:3},8,["definition","definitions","visited-keys","depth","max-depth","section"]))),128))])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)]))}}),nE=A(tE,[["__scopeId","data-v-32bc6580"]]),oE={class:"border overflow-hidden"},lE=e.defineComponent({__name:"CollapsiblePropertiesV2",props:{href:{default:Math.random().toString(36).substring(2,5)},sectionName:{},properties:{default:void 0},showDynamic:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1},forceInclude:{default:()=>[]},noUrlChange:{type:Boolean,default:!1},definitions:{default:void 0}},emits:["expand"],setup(t,{emit:n}){const o=t,l=n,r=e.computed(()=>{const s=o.sectionName.toLowerCase();return s==="properties"?"section-properties":s==="outputs"?"section-outputs":s==="metrics"?"section-metrics":""}),a=e.ref(!1);e.watch(a,s=>{s&&l("expand")});function i(s){s=s??{};const c=[],u=[];for(const f in s)typeof s[f]=="object"&&(s[f]=tr(s[f]),s[f].$required?c.push(f):u.push(f));const d=[...c.sort(),...u.sort()],h={};return d.forEach(f=>{(!s[f].$deprecated||o.forceInclude?.includes(f))&&(h[f]=s[f])}),h}return(s,c)=>(e.openBlock(),e.createBlock(kt,{class:"section-collapsible",title:t.sectionName,href:t.href,onExpand:c[1]||(c[1]=u=>l("expand")),"initially-expanded":t.initiallyExpanded||a.value,"no-url-change":t.noUrlChange},e.createSlots({_:2},[Object.keys(t.properties??{}).length>0?{name:"content",fn:e.withCtx(()=>[e.createElementVNode("div",oE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i(t.properties),(u,d)=>(e.openBlock(),e.createBlock(kt,{class:e.normalizeClass(["property",r.value]),key:d,title:d,href:t.href+"_"+d,onExpand:c[0]||(c[0]=h=>a.value=!0),"no-url-change":t.noUrlChange},{right:e.withCtx(()=>[e.createVNode(ur,{property:u,"show-dynamic":t.showDynamic},null,8,["property","show-dynamic"])]),content:e.withCtx(()=>[e.createVNode(nE,{property:u,definitions:t.definitions,section:t.sectionName.toLowerCase()},{markdown:e.withCtx(({content:h})=>[e.renderSlot(s.$slots,"markdown",{content:h},void 0,!0)]),_:3},8,["property","definitions","section"])]),_:2},1032,["title","href","no-url-change","class"]))),128))])]),key:"0"}:void 0]),1032,["title","href","initially-expanded","no-url-change"]))}}),pn=A(lE,[["__scopeId","data-v-99775171"]]),rE={class:"d-flex flex-column gap-6"},aE={class:"d-flex flex-column"},iE={key:0,class:"alert alert-info mb-2",role:"alert"},sE={key:1,class:"markdown"},cE={class:"d-flex flex-column gap-4"},uE={class:"d-flex flex-column"},dE={class:"markdown"},mE={key:0,class:"w-100 align-self-center"},fE={class:"markdown"},pE={class:"markdown"},gE={class:"markdown"},hE=e.defineComponent({__name:"SchemaToHtmlV2",props:{schema:{},pluginType:{},darkMode:{type:Boolean,default:!0},propsInitiallyExpanded:{type:Boolean,default:!1},forceIncludeProperties:{default:()=>[]},noUrlChange:{type:Boolean,default:!1}},async setup(t){let n,o;const l=t,r=k=>k?.full?k.code:`id: ${l.pluginType.split(".").reverse()[0]?.toLowerCase()}
|
|
18
18
|
type: ${l.pluginType}
|
|
19
19
|
${k.code}`,a=e.ref(),i=e.ref(l.darkMode);let s;e.onMounted(()=>{i.value=document.documentElement.classList.contains("dark"),s=new MutationObserver(()=>{i.value=document.documentElement.classList.contains("dark")}),s.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]})}),e.onUnmounted(()=>{s?.disconnect()});const c=e.computed(()=>i.value?"github-dark-default":"github-light-default");e.provide("highlighter",a),e.provide("codeTheme",c);const u=e.computed(()=>l.schema.properties?.$examples),d=e.computed(()=>!!l.schema.outputs?.properties&&Object.keys(l.schema.outputs.properties).length>0),h=e.computed(()=>Object.fromEntries((l.schema.properties?.$metrics??[]).map(k=>[k.name,{...k,name:void 0}]))),{getHighlighterCore:f}=([n,o]=e.withAsyncContext(()=>Promise.resolve().then(()=>require("./shikiToolset-BEGfHQp3.cjs"))),n=await n,o(),n);return a.value=([n,o]=e.withAsyncContext(()=>f()),n=await n,o(),n),(k,T)=>(e.openBlock(),e.createElementBlock("div",rE,[e.createElementVNode("div",aE,[t.schema.properties?.$beta?(e.openBlock(),e.createElementBlock("div",iE,[...T[0]||(T[0]=[e.createElementVNode("p",null," This plugin is currently in beta. While it is considered safe for use, please be aware that its API could change in ways that are not compatible with earlier versions in future releases, or it might become unsupported. ",-1)])])):e.createCommentVNode("",!0),t.schema.properties?.description?(e.openBlock(),e.createElementBlock("div",sE,[e.renderSlot(k.$slots,"markdown",{content:t.schema.properties.description.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),(e.openBlock(),e.createBlock(ot,{highlighter:a.value,language:"yaml",theme:c.value,code:`type: ${t.pluginType}`,key:t.pluginType},null,8,["highlighter","theme","code"]))]),(e.openBlock(),e.createElementBlock("div",{class:"d-flex flex-column",key:t.pluginType},[u.value?(e.openBlock(),e.createBlock(kt,{key:0,class:"plugin-section",title:"Examples",href:"examples","no-url-change":t.noUrlChange},{content:e.withCtx(()=>[e.createElementVNode("div",cE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,(E,N)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:t.pluginType+"-"+N},[e.createElementVNode("div",uE,[e.createElementVNode("div",dE,[E.title?e.renderSlot(k.$slots,"markdown",{key:0,content:E.title.replace(/ *:(?![ /])/g,": ")},void 0,!0):e.createCommentVNode("",!0)]),E.code?(e.openBlock(),e.createBlock(ot,{key:0,highlighter:a.value,language:E.lang??"yaml",theme:c.value,code:r(E)},null,8,["highlighter","language","theme","code"])):e.createCommentVNode("",!0)]),N<u.value.length-1?(e.openBlock(),e.createElementBlock("hr",mE)):e.createCommentVNode("",!0)],64))),128))])]),_:3},8,["no-url-change"])):e.createCommentVNode("",!0),t.schema.properties?.properties?(e.openBlock(),e.createBlock(pn,{key:1,class:"plugin-section",properties:t.schema.properties.properties,"section-name":"Properties",href:"properties","initially-expanded":t.propsInitiallyExpanded,"force-include":t.forceIncludeProperties,definitions:t.schema.definitions,"no-url-change":t.noUrlChange},{markdown:e.withCtx(({content:E})=>[e.createElementVNode("div",fE,[e.renderSlot(k.$slots,"markdown",{content:E},void 0,!0)])]),_:3},8,["properties","initially-expanded","force-include","definitions","no-url-change"])):e.createCommentVNode("",!0),d.value?(e.openBlock(),e.createBlock(pn,{key:2,class:"plugin-section",properties:t.schema.outputs.properties,"section-name":"Outputs",href:"outputs","show-dynamic":!1,definitions:t.schema.definitions,"no-url-change":t.noUrlChange},{markdown:e.withCtx(({content:E})=>[e.createElementVNode("div",pE,[e.renderSlot(k.$slots,"markdown",{content:E},void 0,!0)])]),_:3},8,["properties","definitions","no-url-change"])):e.createCommentVNode("",!0),t.schema.properties?.$metrics?(e.openBlock(),e.createBlock(pn,{key:3,class:"plugin-section",properties:h.value,"section-name":"Metrics",href:"metrics","show-dynamic":!1,definitions:t.schema.definitions,"no-url-change":t.noUrlChange},{markdown:e.withCtx(({content:E})=>[e.createElementVNode("div",gE,[e.renderSlot(k.$slots,"markdown",{content:E},void 0,!0)])]),_:3},8,["properties","definitions","no-url-change"])):e.createCommentVNode("",!0)]))]))}}),EE=A(hE,[["__scopeId","data-v-18528c4c"]]),kE={class:"d-flex flex-column gap-4"},yE={key:0,class:"pb-2"},vE={class:"row g-4 last"},CE=["id"],_E={class:"row g-4 last"},NE={key:2,class:"description"},SE={key:0,class:"gradient-overlay"},bE={key:0,class:"more-wrap text-center"},wE=e.defineComponent({__name:"PluginIndex",props:{plugins:{},pluginName:{},routePath:{},icons:{},subGroup:{},activeId:{},subgroupBlueprintCounts:{},metadataMap:{},schemas:{}},emits:["navigate"],setup(t,{emit:n}){const o=t,l=w=>o.metadataMap?.[w.subGroup??w.group],r=w=>l(w)?.description??w.description,a=w=>l(w)?.title??w.title??Ae(w),i=e.computed(()=>o.plugins.find(w=>o.subGroup===void 0?!0:Ce(Ae(w))===o.subGroup)),s=e.computed(()=>i.value?.longDescription??i.value?.description),c=e.computed(()=>o.plugins.filter(w=>w.name.toLowerCase()===o.pluginName.toLowerCase()&&w.subGroup!==void 0)),u=w=>{let $=w.split(".");return $?.[$.length-1]},d=w=>`${o.routePath}/${w.toLowerCase()}`;function h(w){const $=Ht(w);return Object.values($).reduce((C,R)=>C+R.length,0)}const{elementsByType:f}=ol(i),k=e.ref(null),T=e.ref(null),E=e.ref(!1),{height:N}=Qo(k),{height:m}=Qo(T),y=e.computed(()=>m.value>N.value+2),S=()=>{E.value=!E.value},_=n;return(w,$)=>(e.openBlock(),e.createElementBlock("div",kE,[t.subGroup===void 0&&t.plugins.length>1?(e.openBlock(),e.createElementBlock("div",yE,[e.createElementVNode("div",vE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,C=>(e.openBlock(),e.createElementBlock("div",{class:"col-md-6",key:e.unref(Ae)(C)},[e.createVNode(Jl,{id:e.unref(Ce)(e.unref(Ae)(C)),"icon-src":t.icons[C.subGroup]??t.icons[C.group],text:a(C),description:r(C),href:`${t.routePath}/${e.unref(Ce)(e.unref(Ae)(C))}`,"route-path":t.routePath,"plugin-group":C.group??C.name,"total-count":h(C),"blueprints-count":o.subgroupBlueprintCounts?.[`${e.unref(Ce)(C.group??C.name)}-${e.unref(Ce)(e.unref(Ae)(C))}`]??0,"is-active":t.activeId?.toLowerCase()===e.unref(Ce)(e.unref(Ae)(C)),class:"text-capitalize h-100",onNavigate:$[0]||($[0]=R=>_("navigate",R))},null,8,["id","icon-src","text","description","href","route-path","plugin-group","total-count","blueprints-count","is-active"])]))),128))])])):i.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(e.unref(f),(C,R)=>(e.openBlock(),e.createElementBlock("div",{class:"d-flex flex-column elements-section pb-3",key:R},[e.createElementVNode("h2",{id:`section-${e.unref(Ce)(R)}`,class:"text-capitalize"},e.toDisplayString(R==="additional Plugins"?"Tasks":R),9,CE),e.createElementVNode("div",_E,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(C,U=>(e.openBlock(),e.createElementBlock("div",{class:"col-md-6",key:U},[e.createVNode(Ql,{id:e.unref(Ce)(U),text:u(U),"plugin-class":U,href:d(U),"route-path":t.routePath,title:t.schemas?.[U]?.title,class:"h-100",onNavigate:$[1]||($[1]=Q=>_("navigate",Q))},{markdown:e.withCtx(({content:Q})=>[e.renderSlot(w.$slots,"markdown",{content:Q},void 0,!0)]),_:3},8,["id","text","plugin-class","href","route-path","title"])]))),128))])]))),128)):e.createCommentVNode("",!0),s.value!==void 0&&i.value?.longDescription?(e.openBlock(),e.createElementBlock("div",NE,[$[2]||($[2]=e.createElementVNode("h2",{id:"how-to-use-this-plugin"}," How to use this plugin ",-1)),e.createElementVNode("div",{ref_key:"contentWrap",ref:k,class:e.normalizeClass(["markdown-container",{expanded:E.value}])},[e.createElementVNode("div",{ref_key:"contentInner",ref:T,class:"markdown-inner"},[e.renderSlot(w.$slots,"markdown",{content:s.value.replace(/ *:(?![ /])/g,": ")},void 0,!0)],512),y.value&&!E.value?(e.openBlock(),e.createElementBlock("div",SE)):e.createCommentVNode("",!0)],2),y.value||E.value?(e.openBlock(),e.createElementBlock("div",bE,[e.createElementVNode("button",{class:"more-btn",onClick:S},[e.createTextVNode(e.toDisplayString(E.value?"See less":"See more")+" ",1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(E.value?ar:Jn)))])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]))}}),LE=A(wE,[["__scopeId","data-v-9f8d8a90"]]),BE=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,VE=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,TE=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function $E(t,n){if(t==="__proto__"||t==="constructor"&&n&&typeof n=="object"&&"prototype"in n){IE(t);return}return n}function IE(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function AE(t,n={}){if(typeof t!="string")return t;if(t[0]==='"'&&t[t.length-1]==='"'&&t.indexOf("\\")===-1)return t.slice(1,-1);const o=t.trim();if(o.length<=9)switch(o.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!TE.test(t)){if(n.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(BE.test(t)||VE.test(t)){if(n.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,$E)}return JSON.parse(t)}catch(l){if(n.strict)throw l;return t}}const DE=/\d/,OE=["-","_","/","."];function xE(t=""){if(!DE.test(t))return t!==t.toLowerCase()}function dr(t,n){const o=OE,l=[];if(!t||typeof t!="string")return l;let r="",a,i;for(const s of t){const c=o.includes(s);if(c===!0){l.push(r),r="",a=void 0;continue}const u=xE(s);if(i===!1){if(a===!1&&u===!0){l.push(r),r=s,a=u;continue}if(a===!0&&u===!1&&r.length>1){const d=r.at(-1);l.push(r.slice(0,Math.max(0,r.length-1))),r=d+s,a=u;continue}}r+=s,a=u,i=c}return l.push(r),l}function PE(t){return t?t[0].toUpperCase()+t.slice(1):""}function to(t,n){return t?(Array.isArray(t)?t:dr(t)).map(o=>PE(o)).join(""):""}function RE(t,n){return t?(Array.isArray(t)?t:dr(t)).map(o=>o.toLowerCase()).join("-"):""}class vt{constructor(n,o,l){this.normal=o,this.property=n,l&&(this.space=l)}}vt.prototype.normal={};vt.prototype.property={};vt.prototype.space=void 0;function mr(t,n){const o={},l={};for(const r of t)Object.assign(o,r.property),Object.assign(l,r.normal);return new vt(o,l,n)}function Vn(t){return t.toLowerCase()}class ke{constructor(n,o){this.attribute=o,this.property=n}}ke.prototype.attribute="";ke.prototype.booleanish=!1;ke.prototype.boolean=!1;ke.prototype.commaOrSpaceSeparated=!1;ke.prototype.commaSeparated=!1;ke.prototype.defined=!1;ke.prototype.mustUseProperty=!1;ke.prototype.number=!1;ke.prototype.overloadedBoolean=!1;ke.prototype.property="";ke.prototype.spaceSeparated=!1;ke.prototype.space=void 0;let ME=0;const F=Ze(),se=Ze(),Tn=Ze(),V=Ze(),J=Ze(),lt=Ze(),ve=Ze();function Ze(){return 2**++ME}const $n=Object.freeze(Object.defineProperty({__proto__:null,boolean:F,booleanish:se,commaOrSpaceSeparated:ve,commaSeparated:lt,number:V,overloadedBoolean:Tn,spaceSeparated:J},Symbol.toStringTag,{value:"Module"})),gn=Object.keys($n);class no extends ke{constructor(n,o,l,r){let a=-1;if(super(n,o),el(this,"space",r),typeof l=="number")for(;++a<gn.length;){const i=gn[a];el(this,gn[a],(l&$n[i])===$n[i])}}}no.prototype.defined=!0;function el(t,n,o){o&&(t[n]=o)}function st(t){const n={},o={};for(const[l,r]of Object.entries(t.properties)){const a=new no(l,t.transform(t.attributes||{},l),r,t.space);t.mustUseProperty&&t.mustUseProperty.includes(l)&&(a.mustUseProperty=!0),n[l]=a,o[Vn(l)]=l,o[Vn(a.attribute)]=l}return new vt(n,o,t.space)}const fr=st({properties:{ariaActiveDescendant:null,ariaAtomic:se,ariaAutoComplete:null,ariaBusy:se,ariaChecked:se,ariaColCount:V,ariaColIndex:V,ariaColSpan:V,ariaControls:J,ariaCurrent:null,ariaDescribedBy:J,ariaDetails:null,ariaDisabled:se,ariaDropEffect:J,ariaErrorMessage:null,ariaExpanded:se,ariaFlowTo:J,ariaGrabbed:se,ariaHasPopup:null,ariaHidden:se,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:J,ariaLevel:V,ariaLive:null,ariaModal:se,ariaMultiLine:se,ariaMultiSelectable:se,ariaOrientation:null,ariaOwns:J,ariaPlaceholder:null,ariaPosInSet:V,ariaPressed:se,ariaReadOnly:se,ariaRelevant:null,ariaRequired:se,ariaRoleDescription:J,ariaRowCount:V,ariaRowIndex:V,ariaRowSpan:V,ariaSelected:se,ariaSetSize:V,ariaSort:null,ariaValueMax:V,ariaValueMin:V,ariaValueNow:V,ariaValueText:null,role:null},transform(t,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()}});function pr(t,n){return n in t?t[n]:n}function gr(t,n){return pr(t,n.toLowerCase())}const FE=st({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:lt,acceptCharset:J,accessKey:J,action:null,allow:null,allowFullScreen:F,allowPaymentRequest:F,allowUserMedia:F,alt:null,as:null,async:F,autoCapitalize:null,autoComplete:J,autoFocus:F,autoPlay:F,blocking:J,capture:null,charSet:null,checked:F,cite:null,className:J,cols:V,colSpan:null,content:null,contentEditable:se,controls:F,controlsList:J,coords:V|lt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:F,defer:F,dir:null,dirName:null,disabled:F,download:Tn,draggable:se,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:F,formTarget:null,headers:J,height:V,hidden:Tn,high:V,href:null,hrefLang:null,htmlFor:J,httpEquiv:J,id:null,imageSizes:null,imageSrcSet:null,inert:F,inputMode:null,integrity:null,is:null,isMap:F,itemId:null,itemProp:J,itemRef:J,itemScope:F,itemType:J,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:F,low:V,manifest:null,max:null,maxLength:V,media:null,method:null,min:null,minLength:V,multiple:F,muted:F,name:null,nonce:null,noModule:F,noValidate:F,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:F,optimum:V,pattern:null,ping:J,placeholder:null,playsInline:F,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:F,referrerPolicy:null,rel:J,required:F,reversed:F,rows:V,rowSpan:V,sandbox:J,scope:null,scoped:F,seamless:F,selected:F,shadowRootClonable:F,shadowRootDelegatesFocus:F,shadowRootMode:null,shape:null,size:V,sizes:null,slot:null,span:V,spellCheck:se,src:null,srcDoc:null,srcLang:null,srcSet:null,start:V,step:null,style:null,tabIndex:V,target:null,title:null,translate:null,type:null,typeMustMatch:F,useMap:null,value:se,width:V,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:J,axis:null,background:null,bgColor:null,border:V,borderColor:null,bottomMargin:V,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:F,declare:F,event:null,face:null,frame:null,frameBorder:null,hSpace:V,leftMargin:V,link:null,longDesc:null,lowSrc:null,marginHeight:V,marginWidth:V,noResize:F,noHref:F,noShade:F,noWrap:F,object:null,profile:null,prompt:null,rev:null,rightMargin:V,rules:null,scheme:null,scrolling:se,standby:null,summary:null,text:null,topMargin:V,valueType:null,version:null,vAlign:null,vLink:null,vSpace:V,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:F,disableRemotePlayback:F,prefix:null,property:null,results:V,security:null,unselectable:null},space:"html",transform:gr}),UE=st({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:ve,accentHeight:V,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:V,amplitude:V,arabicForm:null,ascent:V,attributeName:null,attributeType:null,azimuth:V,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:V,by:null,calcMode:null,capHeight:V,className:J,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:V,diffuseConstant:V,direction:null,display:null,dur:null,divisor:V,dominantBaseline:null,download:F,dx:null,dy:null,edgeMode:null,editable:null,elevation:V,enableBackground:null,end:null,event:null,exponent:V,externalResourcesRequired:null,fill:null,fillOpacity:V,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:lt,g2:lt,glyphName:lt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:V,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:V,horizOriginX:V,horizOriginY:V,id:null,ideographic:V,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:V,k:V,k1:V,k2:V,k3:V,k4:V,kernelMatrix:ve,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:V,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:V,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:V,overlineThickness:V,paintOrder:null,panose1:null,path:null,pathLength:V,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:J,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:V,pointsAtY:V,pointsAtZ:V,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ve,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ve,rev:ve,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ve,requiredFeatures:ve,requiredFonts:ve,requiredFormats:ve,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:V,specularExponent:V,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:V,strikethroughThickness:V,string:null,stroke:null,strokeDashArray:ve,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:V,strokeOpacity:V,strokeWidth:null,style:null,surfaceScale:V,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ve,tabIndex:V,tableValues:null,target:null,targetX:V,targetY:V,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ve,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:V,underlineThickness:V,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:V,values:null,vAlphabetic:V,vMathematical:V,vectorEffect:null,vHanging:V,vIdeographic:V,version:null,vertAdvY:V,vertOriginX:V,vertOriginY:V,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:V,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:pr}),hr=st({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(t,n){return"xlink:"+n.slice(5).toLowerCase()}}),Er=st({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:gr}),kr=st({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(t,n){return"xml:"+n.slice(3).toLowerCase()}}),HE=/[A-Z]/g,tl=/-[a-z]/g,zE=/^data[-\w.:]+$/i;function WE(t,n){const o=Vn(n);let l=n,r=ke;if(o in t.normal)return t.property[t.normal[o]];if(o.length>4&&o.slice(0,4)==="data"&&zE.test(n)){if(n.charAt(4)==="-"){const a=n.slice(5).replace(tl,GE);l="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=n.slice(4);if(!tl.test(a)){let i=a.replace(HE,jE);i.charAt(0)!=="-"&&(i="-"+i),n="data"+i}}r=no}return new r(l,n)}function jE(t){return"-"+t.toLowerCase()}function GE(t){return t.charAt(1).toUpperCase()}const KE=mr([fr,FE,hr,Er,kr],"html");mr([fr,UE,hr,Er,kr],"svg");const YE=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]),qE=["p","h1","h2","h3","h4","h5","h6","li"];function Ft(t,n){return t.type===n||typeof t.type=="object"&&t.type.tag===n||t.tag===n}function oo(t){return Ft(t,"text")||Ft(t,Symbol.for("v-txt"))}function yr(t){return Array.isArray(t.children)||typeof t.children=="string"?t.children:typeof t.children?.default=="function"?t.children.default():[]}function Ut(t){if(!t)return"";if(Array.isArray(t))return t.map(Ut).join("");if(oo(t))return t.value||t.children||"";const n=yr(t);return Array.isArray(n)?n.map(Ut).filter(Boolean).join(""):""}function vr(t,n=[]){if(Array.isArray(t))return t.flatMap(l=>vr(l,n));let o=t;return n.some(l=>l==="*"||Ft(t,l))&&(o=yr(t)||t,!Array.isArray(o)&&qE.some(l=>Ft(t,l))&&(o=[o])),o}function Cr(t,n=[]){return t=Array.isArray(t)?t:[t],n.length?t.flatMap(o=>Cr(vr(o,[n[0]]),n.slice(1))).filter(o=>!(oo(o)&&Ut(o).trim()==="")):t}function _r(t,n=[]){return typeof n=="string"&&(n=n.split(/[,\s]/).map(o=>o.trim()).filter(Boolean)),n.length?Cr(t,n).reduce((o,l)=>(oo(l)?typeof o[o.length-1]=="string"?o[o.length-1]+=l.children:o.push(l.children):o.push(l),o),[]):t}function XE(t,n){return n.reduce((o,l)=>{const r=ZE(t,l);return r!==void 0&&(o[l]=r),o},{})}function ZE(t,n){return n.split(".").reduce((o,l)=>o&&o[l],t)}const In="default",Nr=/^@|^v-on:/,Sr=/^:|^v-bind:/,JE=/^v-model/,QE=["select","textarea","input"],ek=new Set(["math","svg"]),br=new Set,tk=Object.fromEntries(["p","a","blockquote","code","pre","code","em","h1","h2","h3","h4","h5","h6","hr","img","ul","ol","li","strong","table","thead","tbody","td","th","tr","script"].map(t=>[t,`prose-${t}`])),nk=["script","base"],ok=e.defineComponent({name:"MDCRenderer",props:{body:{type:Object,required:!0},data:{type:Object,default:()=>({})},class:{type:[String,Object],default:void 0},tag:{type:[String,Boolean],default:void 0},prose:{type:Boolean,default:void 0},components:{type:Object,default:()=>({})},unwrap:{type:[Boolean,String],default:!1}},async setup(t){const o=e.getCurrentInstance()?.appContext?.app?.$nuxt,l=o?.$route||o?._route,{mdc:r}=o?.$config?.public||{},a=r?.components?.customElements||r?.components?.custom;a&&a.forEach(d=>br.add(d));const i=e.computed(()=>({...r?.components?.prose&&t.prose!==!1?tk:{},...r?.components?.map||{},...e.toRaw(t.data?.mdc?.components||{}),...t.components})),s=e.computed(()=>{const d=(t.body?.children||[]).map(h=>h.tag||h.type).filter(h=>!lo(h));return Array.from(new Set(d)).sort().join(".")}),c=e.reactive({...t.data});e.watch(()=>t.data,d=>{Object.assign(c,d)}),await pk(t.body,{tags:i.value});function u(d,h){const f=d.split(".").length-1;return d.split(".").reduce((k,T,E)=>E==f&&k?(k[T]=h,k[T]):typeof k=="object"?k[T]:void 0,c)}return{tags:i,contentKey:s,route:l,runtimeData:c,updateRuntimeData:u}},render(t){const{tags:n,tag:o,body:l,data:r,contentKey:a,route:i,unwrap:s,runtimeData:c,updateRuntimeData:u}=t;if(!l)return null;const d={...r,tags:n,$route:i,runtimeData:c,updateRuntimeData:u},h=o!==!1?An(o||d.component?.name||d.component||"div"):void 0;return h?e.h(h,{...d.component?.props,class:t.class,...this.$attrs,key:a},{default:f}):f?.();function f(){const k=wr(l,e.h,{documentMeta:d,parentScope:d,resolveComponent:An});return k?.default?s?_r(k.default(),typeof s=="string"?s.split(" "):["*"]):k.default():null}}});function lk(t,n,o,l){const{documentMeta:r,parentScope:a,resolveComponent:i}=o;if(t.type==="text")return n(e.Text,t.value);if(t.type==="comment")return n(e.Comment,null,t.value);const s=t.tag,c=Br(t,r.tags);if(t.tag==="binding")return rk(t,n,r,a);const u=Lr(c)?f=>f:i;if(nk.includes(to(c).toLowerCase()))return n("pre",{class:"mdc-renderer-dangerous-tag"},"<"+c+">"+Ut(t)+"</"+c+">");const d=u(c);typeof d=="object"&&(d.tag=s);const h=ak(t,r);return l&&(h.key=l),n(d,h,wr(t,n,{documentMeta:r,parentScope:{...a,...h},resolveComponent:u}))}function wr(t,n,o){const{documentMeta:l,parentScope:r,resolveComponent:a}=o,s=(t.children||[]).reduce((u,d)=>{if(!mk(d))return u[In].children.push(d),u;const h=dk(d);return u[h]=u[h]||{props:{},children:[]},d.type==="element"&&(u[h].props=d.props,u[h].children.push(...d.children||[])),u},{[In]:{props:{},children:[]}});return Object.entries(s).reduce((u,[d,{props:h,children:f}])=>(f.length&&(u[d]=(k={})=>{const T=XE(k,Object.keys(h||{}));let E=f.map((N,m)=>lk(N,n,{documentMeta:l,parentScope:{...r,...T},resolveComponent:a},String(N.props?.key||m)));return h?.unwrap&&(E=_r(E,h.unwrap)),fk(E)}),u),{})}function rk(t,n,o,l={}){const r={...o.runtimeData,...l,$document:o,$doc:o},a=/\.|\[(\d+)\]/,s=(t.props?.value.trim().split(a).filter(Boolean)).reduce((u,d)=>{if(u&&d in u)return typeof u[d]=="function"?u[d]():u[d]},r),c=t.props?.defaultValue;return n(e.Text,s??c??"")}function ak(t,n){const{tag:o="",props:l={}}=t;return Object.keys(l).reduce(function(r,a){if(a==="__ignoreMap")return r;const i=l[a];if(JE.test(a))return ik(a,i,r,n,{native:QE.includes(o)});if(a==="v-bind")return sk(a,i,r,n);if(Nr.test(a))return ck(a,i,r,n);if(Sr.test(a))return uk(a,i,r,n);const{attribute:s}=WE(KE,a);return Array.isArray(i)&&i.every(c=>typeof c=="string")?(r[s]=i.join(" "),r):(r[s]=i,r)},{})}function ik(t,n,o,l,{native:r}){const a=t.match(/^v-model:([^=]+)/)?.[1]||"modelValue",i=r?"value":a,s=r?"onInput":`onUpdate:${a}`;return o[i]=Xt(n,l.runtimeData),o[s]=c=>{l.updateRuntimeData(n,r?c.target?.value:c)},o}function sk(t,n,o,l){const r=Xt(n,l);return o=Object.assign(o,r),o}function ck(t,n,o,l){return t=t.replace(Nr,""),o.on=o.on||{},o.on[t]=()=>Xt(n,l),o}function uk(t,n,o,l){return t=t.replace(Sr,""),o[t]=Xt(n,l),o}const An=t=>{if(typeof t=="string"){if(lo(t))return t;const n=e.resolveComponent(to(t),!1);return!t||n?.name==="AsyncComponentWrapper"||typeof n=="string"?n:"setup"in n?e.defineAsyncComponent(()=>new Promise(o=>o(n))):n}return t};function Xt(t,n){const o=t.split(".").reduce((l,r)=>typeof l=="object"?l[r]:void 0,n);return typeof o>"u"?AE(t):o}function dk(t){let n="";for(const o of Object.keys(t.props||{}))if(!(!o.startsWith("#")&&!o.startsWith("v-slot:"))){n=o.split(/[:#]/,2)[1];break}return n||In}function mk(t){return t.tag==="template"}function Lr(t){return ek.has(t)}function fk(t){const n=[];for(const o of t){const l=n[n.length-1];o.type===e.Text&&l?.type===e.Text?l.children=l.children+o.children:n.push(o)}return n}async function pk(t,n){if(!t)return;const o=Array.from(new Set(l(t,n)));await Promise.all(o.map(async r=>{if(r?.render||r?.ssrRender||r?.__ssrInlineRender)return;const a=An(r);a?.__asyncLoader&&!a.__asyncResolved&&await a.__asyncLoader()}));function l(r,a){const i=r.tag;if(r.type==="text"||i==="binding"||r.type==="comment")return[];const s=Br(r,a.tags);if(Lr(s))return[];const c=[];r.type!=="root"&&!lo(s)&&c.push(s);for(const u of r.children||[])c.push(...l(u,a));return c}}function Br(t,n){const o=t.tag;return!o||typeof t.props?.__ignoreMap<"u"?o:n[o]||n[to(o)]||n[RE(t.tag)]||o}function lo(t){return(typeof t=="string"?br.has(t):!1)||YE.has(t)}const gk=e.defineComponent({__name:"MDCRenderer",setup(t){return(n,o)=>(e.openBlock(),e.createBlock(e.Suspense,null,{default:e.withCtx(()=>[e.createVNode(ok,e.mergeProps(n.$attrs,{prose:!0}),null,16)]),_:1}))}});exports.CLUSTER_PREFIX=b.CLUSTER_PREFIX;exports.EVENTS=b.EVENTS;exports.NODE_SIZES=b.NODE_SIZES;exports.SECTIONS=b.SECTIONS;exports.Utils=b.Utils;exports.VueFlowUtils=b.VueFlowUtils;exports.Collapsible=Et;exports.CollapsibleV2=kt;exports.DependenciesNode=Gc;exports.ElementCard=Ql;exports.LOG_LEVELS=ai;exports.MDCRenderer=gk;exports.PluginIndex=LE;exports.RotatingDotsIcon=ll;exports.STATES=z;exports.SchemaToHtml=l1;exports.SchemaToHtmlV2=EE;exports.State=ne;exports.Status=jf;exports.SubgroupCard=Jl;exports.TaskIcon=zn;exports.Topology=Hf;exports.YamlUtils=Fr;exports.buildPluginMappings=mi;exports.cssVariable=_e;exports.extractPluginElements=Ht;exports.filterPluginsWithoutDeprecated=di;exports.getMDCParser=ii;exports.isEntryAPluginElementPredicate=Dn;exports.slugify=Ce;exports.subGroupName=Ae;exports.usePluginElementCounts=ol;
|
|
20
|
-
//# sourceMappingURL=kestra-index.cjs.
|
|
20
|
+
//# sourceMappingURL=kestra-index.cjs.map
|