@kestra-io/ui-libs 0.0.291 → 0.0.293

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.
Files changed (35) hide show
  1. package/dist/components/misc/ElementCard.vue.d.ts +0 -1
  2. package/dist/components/misc/ElementCard.vue.d.ts.map +1 -1
  3. package/dist/components/misc/SubgroupCard.vue.d.ts +2 -1
  4. package/dist/components/misc/SubgroupCard.vue.d.ts.map +1 -1
  5. package/dist/components/plugins/PluginIndex.vue.d.ts.map +1 -1
  6. package/dist/components/plugins/shikiToolset.d.ts.map +1 -1
  7. package/dist/components/plugins_v2/CollapsibleV2.vue.d.ts.map +1 -1
  8. package/dist/components/plugins_v2/DefinitionCollapsible.vue.d.ts.map +1 -1
  9. package/dist/components/plugins_v2/PropertyBadges.vue.d.ts.map +1 -1
  10. package/dist/components/plugins_v2/PropertyMeta.vue.d.ts.map +1 -1
  11. package/dist/components/plugins_v2/SchemaToHtmlV2.vue.d.ts.map +1 -1
  12. package/dist/kestra-index.cjs.js +14 -14
  13. package/dist/kestra-index.cjs.js.map +1 -1
  14. package/dist/kestra-index.es.js +1158 -1141
  15. package/dist/kestra-index.es.js.map +1 -1
  16. package/dist/shikiToolset-BEGfHQp3.cjs +2 -0
  17. package/dist/shikiToolset-BEGfHQp3.cjs.map +1 -0
  18. package/dist/shikiToolset-rHNruAMp.js +33 -0
  19. package/dist/shikiToolset-rHNruAMp.js.map +1 -0
  20. package/dist/ui-libs.css +1 -1
  21. package/package.json +1 -1
  22. package/src/components/misc/ElementCard.vue +0 -1
  23. package/src/components/misc/SubgroupCard.vue +3 -2
  24. package/src/components/plugins/PluginIndex.vue +10 -14
  25. package/src/components/plugins/shikiToolset.ts +4 -1
  26. package/src/components/plugins_v2/CollapsiblePropertiesV2.vue +2 -3
  27. package/src/components/plugins_v2/CollapsibleV2.vue +5 -0
  28. package/src/components/plugins_v2/DefinitionCollapsible.vue +2 -1
  29. package/src/components/plugins_v2/PropertyBadges.vue +7 -36
  30. package/src/components/plugins_v2/PropertyMeta.vue +1 -29
  31. package/src/components/plugins_v2/SchemaToHtmlV2.vue +35 -23
  32. package/dist/shikiToolset-BJ-YtZfq.cjs +0 -2
  33. package/dist/shikiToolset-BJ-YtZfq.cjs.map +0 -1
  34. package/dist/shikiToolset-CQ31F75R.js +0 -29
  35. package/dist/shikiToolset-CQ31F75R.js.map +0 -1
@@ -1,20 +1,20 @@
1
- "use strict";var Tr=Object.create;var io=Object.defineProperty;var Ir=Object.getOwnPropertyDescriptor;var $r=Object.getOwnPropertyNames;var Ar=Object.getPrototypeOf,Dr=Object.prototype.hasOwnProperty;var Or=(e,n,o,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of $r(n))!Dr.call(e,r)&&r!==o&&io(e,r,{get:()=>n[r],enumerable:!(l=Ir(n,r))||l.enumerable});return e};var xr=(e,n,o)=>(o=e!=null?Tr(Ar(e)):{},Or(n||!e||!e.__esModule?io(o,"default",{value:e,enumerable:!0}):o,e));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ge=require("yaml"),b=require("./VueFlowUtils-CLCIuGav.cjs"),W=require("./FlowYamlUtils-CAwjZu0s.cjs"),t=require("vue"),oe=require("@vue-flow/core"),an=require("@vue-flow/controls"),sn=require("moment"),Pr=require("@popperjs/core");function Rr(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const l=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,l.get?l:{enumerable:!0,get:()=>e[o]})}}return n.default=e,Object.freeze(n)}const cn=Rr(t),Mr={lineWidth:0},so=["tasks","triggers","errors","finally","afterExecution","pluginDefaults"],Fr={stringify:W.stringify,parse:W.parse,pairsToMap:W.pairsToMap,extractTask(e,n){for(const o of so){const l=W.extractBlock({source:e,section:o,key:n});if(l)return l}},_extractTask(e,n,o){function l(a){if(a){if(a instanceof Ge.YAMLMap&&a.get("type")!==void 0&&n===a.get("id"))return o?o(a):a;if(a.items)for(const[i,s]of a.items.entries()){let c;if(s instanceof Ge.YAMLMap?c=l(s):c=l(s.value),c&&(o&&(a instanceof Ge.YAMLMap?a.set(s.key.value,c):a.items[i]=c),!o&&c))return c}}}const r=l(e.contents);if(r!==void 0)return o?new Ge.Document(r):new Ge.Document(r)},replaceTaskInDocument(e,n,o,l="tasks",r="id"){return W.replaceBlockInDocument({source:e,section:l,keyName:r,key:n,newContent:o})},sort:W.sort,getAllCharts:W.getAllCharts,getChartAtPosition:W.getChartAtPosition,localizeElementAtIndex:W.localizeElementAtIndex,getTaskType:W.getTypeAtPosition,swapTasks(e,n,o){const l=Ge.parseDocument(e),r=this._extractTask(l,n),a=this._extractTask(l,o);return Ge.visit(l,{Pair(i,s){if(s.key.value==="dependsOn"&&s.value.items.map(c=>c.value).includes(o))throw{message:"dependency task",messageOptions:{taskId:o}}}}),this._extractTask(l,n,()=>a),this._extractTask(l,o,()=>r),l.toString(Mr)},insertTask(e,n,o,l,r){return W.insertBlock({source:e,section:"tasks",newBlock:o,refKey:n,position:l,parentKey:r})},insertSection(e,n,o){return W.insertBlock({source:n,section:e,newBlock:o})},insertErrorInFlowable:W.insertErrorInFlowable,deleteSection(e,n,o){return W.deleteBlock({source:e,section:n,key:o})},deleteTask(e,n,o){return(o===b.SECTIONS.TASKS?["tasks","errors"]:["triggers"]).reduce((r,a)=>W.deleteBlock({source:r,section:a,key:n}),e)},getLastTask(e,n){return W.getLastBlock({source:e,section:"tasks",parentKey:n})},checkTaskAlreadyExist(e,n){return W.checkBlockAlreadyExists({source:e,section:"tasks",newContent:n,keyName:"id"})},isParentChildrenRelation(e,n,o){return W.isParentChildrenRelation({source:e,sections:so,key1:n,key2:o,keyName:"id"})},replaceIdAndNamespace:W.replaceIdAndNamespace,updateMetadata:W.updateMetadata,cleanMetadata:W.cleanMetadata,getMetadata:W.getMetadata,deleteMetadata:W.deleteMetadata,flowHaveTasks:W.flowHaveTasks,extractPluginDefault:W.extractPluginDefault,replacePluginDefaultsInDocument:W.replacePluginDefaultsInDocument,deletePluginDefaults:W.deletePluginDefaults,extractFieldFromMaps:W.extractFieldFromMaps,getVersionAtPosition:W.getVersionAtPosition},Ne=e=>{const n=document.querySelector(":root");return(n?getComputedStyle(n):null)?.getPropertyValue(e)};var Ur=b.requireMapValues();const St=W.getDefaultExportFromCjs(Ur),A=(e,n)=>{const o=e.__vccOpts||e;for(const[l,r]of n)o[l]=r;return o},Hr={name:"PauseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},zr=["aria-hidden","aria-label"],Wr=["fill","width","height"],jr={d:"M15,16H13V8H15M11,16H9V8H11M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},Gr={key:0};function Kr(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon pause-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",jr,[o.title?(t.openBlock(),t.createElementBlock("title",Gr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Wr))],16,zr)}const co=A(Hr,[["render",Kr]]),Yr={name:"CheckCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},qr=["aria-hidden","aria-label"],Xr=["fill","width","height"],Zr={d:"M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z"},Jr={key:0};function Qr(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon check-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Zr,[o.title?(t.openBlock(),t.createElementBlock("title",Jr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Xr))],16,qr)}const ea=A(Yr,[["render",Qr]]),ta={name:"PlayCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},na=["aria-hidden","aria-label"],oa=["fill","width","height"],la={d:"M10,16.5V7.5L16,12M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},ra={key:0};function aa(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon play-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",la,[o.title?(t.openBlock(),t.createElementBlock("title",ra,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,oa))],16,na)}const ia=A(ta,[["render",aa]]),sa={name:"CloseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ca=["aria-hidden","aria-label"],ua=["fill","width","height"],da={d:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z"},ma={key:0};function fa(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon close-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",da,[o.title?(t.openBlock(),t.createElementBlock("title",ma,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ua))],16,ca)}const hn=A(sa,[["render",fa]]),pa={name:"StopCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ga=["aria-hidden","aria-label"],ha=["fill","width","height"],Ea={d:"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M9,9H15V15H9"},ka={key:0};function ya(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon stop-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Ea,[o.title?(t.openBlock(),t.createElementBlock("title",ka,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ha))],16,ga)}const va=A(pa,[["render",ya]]),Ca={name:"SkipPreviousCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Na=["aria-hidden","aria-label"],_a=["fill","width","height"],Sa={d:"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M8,8H10V16H8M16,8V16L11,12"},ba={key:0};function wa(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon skip-previous-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Sa,[o.title?(t.openBlock(),t.createElementBlock("title",ba,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,_a))],16,Na)}const La=A(Ca,[["render",wa]]),Ba={name:"AlertCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Va=["aria-hidden","aria-label"],Ta=["fill","width","height"],Ia={d:"M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},$a={key:0};function Aa(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon alert-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Ia,[o.title?(t.openBlock(),t.createElementBlock("title",$a,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Ta))],16,Va)}const At=A(Ba,[["render",Aa]]),Da={name:"DotsVerticalCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Oa=["aria-hidden","aria-label"],xa=["fill","width","height"],Pa={d:"M2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12M10.5,12A1.5,1.5 0 0,0 12,13.5A1.5,1.5 0 0,0 13.5,12A1.5,1.5 0 0,0 12,10.5A1.5,1.5 0 0,0 10.5,12M10.5,17.5A1.5,1.5 0 0,0 12,19A1.5,1.5 0 0,0 13.5,17.5A1.5,1.5 0 0,0 12,16A1.5,1.5 0 0,0 10.5,17.5M10.5,6.5A1.5,1.5 0 0,0 12,8A1.5,1.5 0 0,0 13.5,6.5A1.5,1.5 0 0,0 12,5A1.5,1.5 0 0,0 10.5,6.5Z"},Ra={key:0};function Ma(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon dots-vertical-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Pa,[o.title?(t.openBlock(),t.createElementBlock("title",Ra,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,xa))],16,Oa)}const Fa=A(Da,[["render",Ma]]),Ua={name:"MotionPauseOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ha=["aria-hidden","aria-label"],za=["fill","width","height"],Wa={d:"M22 12C22 6.46 17.54 2 12 2C10.83 2 9.7 2.19 8.62 2.56L9.32 4.5C10.17 4.16 11.06 3.97 12 3.97C16.41 3.97 20.03 7.59 20.03 12C20.03 16.41 16.41 20.03 12 20.03C7.59 20.03 3.97 16.41 3.97 12C3.97 11.06 4.16 10.12 4.5 9.28L2.56 8.62C2.19 9.7 2 10.83 2 12C2 17.54 6.46 22 12 22C17.54 22 22 17.54 22 12M5.47 7C4.68 7 3.97 6.32 3.97 5.47C3.97 4.68 4.68 3.97 5.47 3.97C6.32 3.97 7 4.68 7 5.47C7 6.32 6.32 7 5.47 7M9 9H11V15H9M13 9H15V15H13"},ja={key:0};function Ga(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon motion-pause-outline-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Wa,[o.title?(t.openBlock(),t.createElementBlock("title",ja,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,za))],16,Ha)}const Ka=A(Ua,[["render",Ga]]),Ya={name:"RefreshIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},qa=["aria-hidden","aria-label"],Xa=["fill","width","height"],Za={d:"M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z"},Ja={key:0};function Qa(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon refresh-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Za,[o.title?(t.openBlock(),t.createElementBlock("title",Ja,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Xa))],16,qa)}const uo=A(Ya,[["render",Qa]]),ei={name:"CancelIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ti=["aria-hidden","aria-label"],ni=["fill","width","height"],oi={d:"M12 2C17.5 2 22 6.5 22 12S17.5 22 12 22 2 17.5 2 12 6.5 2 12 2M12 4C10.1 4 8.4 4.6 7.1 5.7L18.3 16.9C19.3 15.5 20 13.8 20 12C20 7.6 16.4 4 12 4M16.9 18.3L5.7 7.1C4.6 8.4 4 10.1 4 12C4 16.4 7.6 20 12 20C13.9 20 15.6 19.4 16.9 18.3Z"},li={key:0};function ri(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon cancel-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",oi,[o.title?(t.openBlock(),t.createElementBlock("title",li,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ni))],16,ti)}const mo=A(ei,[["render",ri]]),ai=["ERROR","WARN","INFO","DEBUG","TRACE"],z=Object.freeze({CREATED:{name:"CREATED",color:"#1761FD",colorClass:"cyan",icon:Fa,isRunning:!0,isKillable:!0,isFailed:!1},RESTARTED:{name:"RESTARTED",color:"#1761FD",colorClass:"cyan",icon:La,isRunning:!1,isKillable:!0,isFailed:!1},SUCCESS:{name:"SUCCESS",color:"#029E73",colorClass:"green",icon:ea,isRunning:!1,isKillable:!1,isFailed:!1},RUNNING:{name:"RUNNING",color:"#8405FF",colorClass:"purple",icon:ia,isRunning:!0,isKillable:!0,isFailed:!1},KILLING:{name:"KILLING",color:"#FCE07C",colorClass:"yellow",icon:hn,isRunning:!0,isKillable:!0,isFailed:!0},KILLED:{name:"KILLED",color:"#FCE07C",colorClass:"yellow",icon:va,isRunning:!1,isKillable:!1,isFailed:!0},WARNING:{name:"WARNING",color:"#DD5F00",colorClass:"orange",icon:At,isRunning:!1,isKillable:!1,isFailed:!0},FAILED:{name:"FAILED",color:"#AB0009",colorClass:"red",icon:hn,isRunning:!1,isKillable:!1,isFailed:!0},PAUSED:{name:"PAUSED",color:"#918BA9",colorClass:"indigo",icon:co,isRunning:!0,isKillable:!0,isFailed:!1},CANCELLED:{name:"CANCELLED",color:"#918BA9",colorClass:"gray",icon:mo,isRunning:!1,isKillable:!1,isFailed:!0},SKIPPED:{name:"SKIPPED",color:"#918BA9",colorClass:"gray",icon:mo,isRunning:!1,isKillable:!1,isFailed:!0},QUEUED:{name:"QUEUED",color:"#918BA9",colorClass:"gray",icon:Ka,isRunning:!1,isKillable:!1,isFailed:!1},RETRYING:{name:"RETRYING",color:"#918BA9",colorClass:"gray",icon:uo,isRunning:!1,isKillable:!0,isFailed:!1},RETRIED:{name:"RETRIED",color:"#918BA9",colorClass:"gray",icon:uo,isRunning:!1,isKillable:!1,isFailed:!1},BREAKPOINT:{name:"BREAKPOINT",color:"#918BA9",colorClass:"gray",icon:co,isRunning:!1,isKillable:!1,isFailed:!1}});class ne{static get CREATED(){return z.CREATED.name}static get RESTARTED(){return z.RESTARTED.name}static get SUCCESS(){return z.SUCCESS.name}static get RUNNING(){return z.RUNNING.name}static get KILLING(){return z.KILLING.name}static get KILLED(){return z.KILLED.name}static get FAILED(){return z.FAILED.name}static get WARNING(){return z.WARNING.name}static get PAUSED(){return z.PAUSED.name}static get CANCELLED(){return z.CANCELLED.name}static get SKIPPED(){return z.SKIPPED.name}static get QUEUED(){return z.QUEUED.name}static get RETRYING(){return z.RETRYING.name}static get RETRIED(){return z.RETRIED.name}static get BREAKPOINT(){return z.BREAKPOINT.name}static isRunning(n){return z[n]&&z[n].isRunning}static isKillable(n){return z[n]&&z[n].isKillable}static isPaused(n){return z[n]&&z[n]===z.PAUSED}static isFailed(n){return z[n]&&z[n].isFailed}static isQueued(n){return z[n]&&z[n]===z.QUEUED}static allStates(){return St(z,n=>({key:n.name,icon:n.icon,color:""}))}static arrayAllStates(){return Object.values(z)}static colorClass(){return St(z,n=>n.colorClass)}static color(){return St(z,n=>Ne("--bs-"+n.colorClass))}static getStateColor(n){return z[n].color}static icon(){return St(z,n=>n.icon)}static getTerminatedStates(){return Object.values(z).filter(n=>!n.isRunning).map(n=>n.name)}}let bt;async function ii(){if(bt)return bt;const e=await Promise.resolve().then(()=>require("./useMarkdownParser-cPr4eWCu.cjs"));return bt=await(e.default??e)(),bt}var It={exports:{}},si=It.exports,fo;function ci(){return fo||(fo=1,(function(e,n){(function(o,l,r){e.exports=r(),e.exports.default=r()})("slugify",si,function(){var o=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),l=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function r(a,i){if(typeof a!="string")throw new Error("slugify: string argument expected");i=typeof i=="string"?{replacement:i}:i||{};var s=l[i.locale]||{},c=i.replacement===void 0?"-":i.replacement,u=i.trim===void 0?!0:i.trim,d=a.normalize().split("").reduce(function(h,m){var y=s[m];return y===void 0&&(y=o[m]),y===void 0&&(y=m),y===c&&(y=" "),h+y.replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return i.strict&&(d=d.replace(/[^A-Za-z0-9\s]/g,"")),u&&(d=d.trim()),d=d.replace(/\s+/g,c),i.lower&&(d=d.toLowerCase()),d}return r.extend=function(a){Object.assign(o,a)},r})})(It)),It.exports}var ui=ci();const nl=W.getDefaultExportFromCjs(ui);nl.extend({"(":"-",")":""});function Ce(e){return nl(e,{lower:!0,locale:"en"})}function Dn(e,n){return Array.isArray(n)&&!["categories","controllers","storages","aliases","guides"].includes(e)&&(n.length===0||n[0]?.cls!==void 0)}function Ae(e){const o=(e.title??"").replace(/\.([a-zA-Z])/g,(l,r)=>` ${r.toUpperCase()}`);return o.charAt(0).toUpperCase()+o.slice(1)}function Ht(e){return Object.fromEntries(Object.entries(e).filter(([n,o])=>Dn(n,o)).map(([n,o])=>[n.replace(/[A-Z]/g,l=>` ${l}`),o.filter(({deprecated:l})=>!l).map(({cls:l})=>l)]))}function di(e){return e.flatMap(n=>{const o=Object.entries(n).filter(([l,r])=>Dn(l,r)).map(([l,r])=>[l,r.filter(a=>!a.deprecated)]).filter(([,l])=>l.length>0);return o.length>0?[{...n,...Object.fromEntries(o)}]:[]})}function mi(e){const n={clsToSubgroup:{},clsToPlugin:{},shortNameToCls:{}};for(const o of e??[]){const l=Ht(o),r=o.group??o.name??"",a=Ce(r),i=o.subGroup?Ce(Ae(o)):void 0;Object.values(l).forEach(s=>{s.forEach(c=>{i&&(n.clsToSubgroup[c]=i),n.clsToPlugin[c]={slug:a,raw:r};const u=(c.split(".").pop()??c).toLowerCase();n.shortNameToCls[u]=n.shortNameToCls[u]??[],n.shortNameToCls[u].includes(c)||n.shortNameToCls[u].push(c)})})}return n}function ol(e){const n=t.computed(()=>{const l=t.isRef(e)?e.value:e;return l?Ht(l):{}}),o=t.computed(()=>Object.values(n.value).reduce((l,r)=>l+r.length,0));return{elementsByType:n,total:o}}const fi={name:"DotsCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},pi=["aria-hidden","aria-label"],gi=["fill","width","height"],hi={d:"M12 19C13.1 19 14 19.9 14 21S13.1 23 12 23 10 22.1 10 21 10.9 19 12 19M12 1C13.1 1 14 1.9 14 3S13.1 5 12 5 10 4.1 10 3 10.9 1 12 1M6 16C7.1 16 8 16.9 8 18S7.1 20 6 20 4 19.1 4 18 4.9 16 6 16M3 10C4.1 10 5 10.9 5 12S4.1 14 3 14 1 13.1 1 12 1.9 10 3 10M6 4C7.1 4 8 4.9 8 6S7.1 8 6 8 4 7.1 4 6 4.9 4 6 4M18 16C19.1 16 20 16.9 20 18S19.1 20 18 20 16 19.1 16 18 16.9 16 18 16M21 10C22.1 10 23 10.9 23 12S22.1 14 21 14 19 13.1 19 12 19.9 10 21 10M18 4C19.1 4 20 4.9 20 6S19.1 8 18 8 16 7.1 16 6 16.9 4 18 4Z"},Ei={key:0};function ki(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon dots-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",hi,[o.title?(t.openBlock(),t.createElementBlock("title",Ei,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,gi))],16,pi)}const yi=A(fi,[["render",ki]]),vi=t.defineComponent({__name:"RotatingDots",props:{alt:{}},setup(e){return(n,o)=>(t.openBlock(),t.createBlock(yi,{class:"loading-dots-circle",alt:e.alt},null,8,["alt"]))}}),ll=A(vi,[["__scopeId","data-v-a7ad4137"]]);function Te(e,n){typeof console<"u"&&(console.warn("[intlify] "+e),n&&console.warn(n.stack))}const po={};function Ci(e){po[e]||(po[e]=!0,Te(e))}const xe=typeof window<"u";let _e,qe;if(process.env.NODE_ENV!=="production"){const e=xe&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(_e=n=>{e.mark(n)},qe=(n,o,l)=>{e.measure(n,o,l),e.clearMarks(o),e.clearMarks(l)})}const Ni=/\{([0-9a-zA-Z]+)\}/g;function zt(e,...n){return n.length===1&&Y(n[0])&&(n=n[0]),(!n||!n.hasOwnProperty)&&(n={}),e.replace(Ni,(o,l)=>n.hasOwnProperty(l)?n[l]:"")}const Pe=(e,n=!1)=>n?Symbol.for(e):Symbol(e),_i=(e,n,o)=>Si({l:e,k:n,s:o}),Si=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ce=e=>typeof e=="number"&&isFinite(e),bi=e=>On(e)==="[object Date]",Dt=e=>On(e)==="[object RegExp]",Wt=e=>K(e)&&Object.keys(e).length===0,ue=Object.assign,wi=Object.create,X=(e=null)=>wi(e);let go;const Ke=()=>go||(go=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:X());function ho(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function Eo(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Li(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(l,r,a)=>`${r}="${Eo(a)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(l,r,a)=>`${r}='${Eo(a)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(process.env.NODE_ENV!=="production"&&Te("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."),e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(l=>{e=e.replace(l,"$1javascript&#58;")}),e}const Bi=Object.prototype.hasOwnProperty;function be(e,n){return Bi.call(e,n)}const ie=Array.isArray,te=e=>typeof e=="function",D=e=>typeof e=="string",ae=e=>typeof e=="boolean",Y=e=>e!==null&&typeof e=="object",Vi=e=>Y(e)&&te(e.then)&&te(e.catch),rl=Object.prototype.toString,On=e=>rl.call(e),K=e=>On(e)==="[object Object]",Ti=e=>e==null?"":ie(e)||K(e)&&e.toString===rl?JSON.stringify(e,null,2):String(e);function xn(e,n=""){return e.reduce((o,l,r)=>r===0?o+l:o+n+l,"")}const ko=2;function Ii(e,n=0,o=e.length){const l=e.split(/\r?\n/);let r=0;const a=[];for(let i=0;i<l.length;i++)if(r+=l[i].length+1,r>=n){for(let s=i-ko;s<=i+ko||o>r;s++){if(s<0||s>=l.length)continue;const c=s+1;a.push(`${c}${" ".repeat(3-String(c).length)}| ${l[s]}`);const u=l[s].length;if(s===i){const d=n-(r-u)+1,h=Math.max(1,o>r?u-d:o-n);a.push(" | "+" ".repeat(d)+"^".repeat(h))}else if(s>i){if(o>r){const d=Math.max(Math.min(o-r,u),1);a.push(" | "+"^".repeat(d))}r+=u+1}}break}return a.join(`
2
- `)}function $i(){const e=new Map;return{events:e,on(o,l){const r=e.get(o);r&&r.push(l)||e.set(o,[l])},off(o,l){const r=e.get(o);r&&r.splice(r.indexOf(l)>>>0,1)},emit(o,l){(e.get(o)||[]).slice().map(r=>r(l)),(e.get("*")||[]).slice().map(r=>r(o,l))}}}const wt=e=>!Y(e)||ie(e);function $t(e,n){if(wt(e)||wt(n))throw new Error("Invalid value");const o=[{src:e,des:n}];for(;o.length;){const{src:l,des:r}=o.pop();Object.keys(l).forEach(a=>{a!=="__proto__"&&(Y(l[a])&&!Y(r[a])&&(r[a]=Array.isArray(l[a])?[]:X()),wt(r[a])||wt(l[a])?r[a]=l[a]:o.push({src:l[a],des:r[a]}))})}}function Ai(e,n,o){return{line:e,column:n,offset:o}}function En(e,n,o){return{start:e,end:n}}const M={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},Di=17,Oi={[M.EXPECTED_TOKEN]:"Expected token: '{0}'",[M.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[M.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[M.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[M.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[M.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[M.EMPTY_PLACEHOLDER]:"Empty placeholder",[M.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[M.INVALID_LINKED_FORMAT]:"Invalid linked format",[M.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[M.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[M.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[M.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[M.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[M.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function at(e,n,o={}){const{domain:l,messages:r,args:a}=o,i=process.env.NODE_ENV!=="production"?zt((r||Oi)[e]||"",...a||[]):e,s=new SyntaxError(String(i));return s.code=e,n&&(s.location=n),s.domain=l,s}function xi(e){throw e}const Pi=/<\/?[\w\s="/.':;#-\/]+>/,Ri=e=>Pi.test(e),Le=" ",Mi="\r",fe=`
3
- `,Fi="\u2028",Ui="\u2029";function Hi(e){const n=e;let o=0,l=1,r=1,a=0;const i=C=>n[C]===Mi&&n[C+1]===fe,s=C=>n[C]===fe,c=C=>n[C]===Ui,u=C=>n[C]===Fi,d=C=>i(C)||s(C)||c(C)||u(C),h=()=>o,m=()=>l,y=()=>r,T=()=>a,k=C=>i(C)||c(C)||u(C)?fe:n[C],_=()=>k(o),f=()=>k(o+a);function E(){return a=0,d(o)&&(l++,r=0),i(o)&&o++,o++,r++,n[o]}function S(){return i(o+a)&&a++,a++,n[o+a]}function N(){o=0,l=1,r=1,a=0}function w(C=0){a=C}function I(){const C=o+a;for(;C!==o;)E();a=0}return{index:h,line:m,column:y,peekOffset:T,charAt:k,currentChar:_,currentPeek:f,next:E,peek:S,reset:N,resetPeek:w,skipToPeek:I}}const $e=void 0,zi=".",yo="'",Wi="tokenizer";function ji(e,n={}){const o=n.location!==!1,l=Hi(e),r=()=>l.index(),a=()=>Ai(l.line(),l.column(),l.index()),i=a(),s=r(),c={currentType:13,offset:s,startLoc:i,endLoc:i,lastType:13,lastOffset:s,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},u=()=>c,{onError:d}=n;function h(p,g,L,...O){const ee=u();if(g.column+=L,g.offset+=L,d){const le=o?En(ee.startLoc,g):null,G=at(p,le,{domain:Wi,args:O});d(G)}}function m(p,g,L){p.endLoc=a(),p.currentType=g;const O={type:g};return o&&(O.loc=En(p.startLoc,p.endLoc)),L!=null&&(O.value=L),O}const y=p=>m(p,13);function T(p,g){return p.currentChar()===g?(p.next(),g):(h(M.EXPECTED_TOKEN,a(),0,g),"")}function k(p){let g="";for(;p.currentPeek()===Le||p.currentPeek()===fe;)g+=p.currentPeek(),p.peek();return g}function _(p){const g=k(p);return p.skipToPeek(),g}function f(p){if(p===$e)return!1;const g=p.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g===95}function E(p){if(p===$e)return!1;const g=p.charCodeAt(0);return g>=48&&g<=57}function S(p,g){const{currentType:L}=g;if(L!==2)return!1;k(p);const O=f(p.currentPeek());return p.resetPeek(),O}function N(p,g){const{currentType:L}=g;if(L!==2)return!1;k(p);const O=p.currentPeek()==="-"?p.peek():p.currentPeek(),ee=E(O);return p.resetPeek(),ee}function w(p,g){const{currentType:L}=g;if(L!==2)return!1;k(p);const O=p.currentPeek()===yo;return p.resetPeek(),O}function I(p,g){const{currentType:L}=g;if(L!==7)return!1;k(p);const O=p.currentPeek()===".";return p.resetPeek(),O}function C(p,g){const{currentType:L}=g;if(L!==8)return!1;k(p);const O=f(p.currentPeek());return p.resetPeek(),O}function R(p,g){const{currentType:L}=g;if(!(L===7||L===11))return!1;k(p);const O=p.currentPeek()===":";return p.resetPeek(),O}function U(p,g){const{currentType:L}=g;if(L!==9)return!1;const O=()=>{const le=p.currentPeek();return le==="{"?f(p.peek()):le==="@"||le==="|"||le===":"||le==="."||le===Le||!le?!1:le===fe?(p.peek(),O()):ge(p,!1)},ee=O();return p.resetPeek(),ee}function Q(p){k(p);const g=p.currentPeek()==="|";return p.resetPeek(),g}function ge(p,g=!0){const L=(ee=!1,le="")=>{const G=p.currentPeek();return G==="{"||G==="@"||!G?ee:G==="|"?!(le===Le||le===fe):G===Le?(p.peek(),L(!0,Le)):G===fe?(p.peek(),L(!0,fe)):!0},O=L();return g&&p.resetPeek(),O}function Z(p,g){const L=p.currentChar();return L===$e?$e:g(L)?(p.next(),L):null}function Re(p){const g=p.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g>=48&&g<=57||g===95||g===36}function Je(p){return Z(p,Re)}function x(p){const g=p.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g>=48&&g<=57||g===95||g===36||g===45}function $(p){return Z(p,x)}function H(p){const g=p.charCodeAt(0);return g>=48&&g<=57}function P(p){return Z(p,H)}function Ie(p){const g=p.charCodeAt(0);return g>=48&&g<=57||g>=65&&g<=70||g>=97&&g<=102}function me(p){return Z(p,Ie)}function He(p){let g="",L="";for(;g=P(p);)L+=g;return L}function Zt(p){let g="";for(;;){const L=p.currentChar();if(L==="{"||L==="}"||L==="@"||L==="|"||!L)break;if(L===Le||L===fe)if(ge(p))g+=L,p.next();else{if(Q(p))break;g+=L,p.next()}else g+=L,p.next()}return g}function Jt(p){_(p);let g="",L="";for(;g=$(p);)L+=g;const O=p.currentChar();if(O&&O!=="}"&&O!==$e&&O!==Le&&O!==fe&&O!==" "){const ee=Nt(p);return h(M.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,L+ee),L+ee}return p.currentChar()===$e&&h(M.UNTERMINATED_CLOSING_BRACE,a(),0),L}function Qt(p){_(p);let g="";return p.currentChar()==="-"?(p.next(),g+=`-${He(p)}`):g+=He(p),p.currentChar()===$e&&h(M.UNTERMINATED_CLOSING_BRACE,a(),0),g}function en(p){return p!==yo&&p!==fe}function ro(p){_(p),T(p,"'");let g="",L="";for(;g=Z(p,en);)g==="\\"?L+=tn(p):L+=g;const O=p.currentChar();return O===fe||O===$e?(h(M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),O===fe&&(p.next(),T(p,"'")),L):(T(p,"'"),L)}function tn(p){const g=p.currentChar();switch(g){case"\\":case"'":return p.next(),`\\${g}`;case"u":return Ct(p,g,4);case"U":return Ct(p,g,6);default:return h(M.UNKNOWN_ESCAPE_SEQUENCE,a(),0,g),""}}function Ct(p,g,L){T(p,g);let O="";for(let ee=0;ee<L;ee++){const le=me(p);if(!le){h(M.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${g}${O}${p.currentChar()}`);break}O+=le}return`\\${g}${O}`}function nn(p){return p!=="{"&&p!=="}"&&p!==Le&&p!==fe}function Nt(p){_(p);let g="",L="";for(;g=Z(p,nn);)L+=g;return L}function on(p){let g="",L="";for(;g=Je(p);)L+=g;return L}function ln(p){const g=L=>{const O=p.currentChar();return O==="{"||O==="@"||O==="|"||O==="("||O===")"||!O||O===Le?L:(L+=O,p.next(),g(L))};return g("")}function ct(p){_(p);const g=T(p,"|");return _(p),g}function ut(p,g){let L=null;switch(p.currentChar()){case"{":return g.braceNest>=1&&h(M.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),p.next(),L=m(g,2,"{"),_(p),g.braceNest++,L;case"}":return g.braceNest>0&&g.currentType===2&&h(M.EMPTY_PLACEHOLDER,a(),0),p.next(),L=m(g,3,"}"),g.braceNest--,g.braceNest>0&&_(p),g.inLinked&&g.braceNest===0&&(g.inLinked=!1),L;case"@":return g.braceNest>0&&h(M.UNTERMINATED_CLOSING_BRACE,a(),0),L=ze(p,g)||y(g),g.braceNest=0,L;default:{let ee=!0,le=!0,G=!0;if(Q(p))return g.braceNest>0&&h(M.UNTERMINATED_CLOSING_BRACE,a(),0),L=m(g,1,ct(p)),g.braceNest=0,g.inLinked=!1,L;if(g.braceNest>0&&(g.currentType===4||g.currentType===5||g.currentType===6))return h(M.UNTERMINATED_CLOSING_BRACE,a(),0),g.braceNest=0,dt(p,g);if(ee=S(p,g))return L=m(g,4,Jt(p)),_(p),L;if(le=N(p,g))return L=m(g,5,Qt(p)),_(p),L;if(G=w(p,g))return L=m(g,6,ro(p)),_(p),L;if(!ee&&!le&&!G)return L=m(g,12,Nt(p)),h(M.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,L.value),_(p),L;break}}return L}function ze(p,g){const{currentType:L}=g;let O=null;const ee=p.currentChar();switch((L===7||L===8||L===11||L===9)&&(ee===fe||ee===Le)&&h(M.INVALID_LINKED_FORMAT,a(),0),ee){case"@":return p.next(),O=m(g,7,"@"),g.inLinked=!0,O;case".":return _(p),p.next(),m(g,8,".");case":":return _(p),p.next(),m(g,9,":");default:return Q(p)?(O=m(g,1,ct(p)),g.braceNest=0,g.inLinked=!1,O):I(p,g)||R(p,g)?(_(p),ze(p,g)):C(p,g)?(_(p),m(g,11,on(p))):U(p,g)?(_(p),ee==="{"?ut(p,g)||O:m(g,10,ln(p))):(L===7&&h(M.INVALID_LINKED_FORMAT,a(),0),g.braceNest=0,g.inLinked=!1,dt(p,g))}}function dt(p,g){let L={type:13};if(g.braceNest>0)return ut(p,g)||y(g);if(g.inLinked)return ze(p,g)||y(g);switch(p.currentChar()){case"{":return ut(p,g)||y(g);case"}":return h(M.UNBALANCED_CLOSING_BRACE,a(),0),p.next(),m(g,3,"}");case"@":return ze(p,g)||y(g);default:{if(Q(p))return L=m(g,1,ct(p)),g.braceNest=0,g.inLinked=!1,L;if(ge(p))return m(g,0,Zt(p));break}}return L}function rn(){const{currentType:p,offset:g,startLoc:L,endLoc:O}=c;return c.lastType=p,c.lastOffset=g,c.lastStartLoc=L,c.lastEndLoc=O,c.offset=r(),c.startLoc=a(),l.currentChar()===$e?m(c,13):dt(l,c)}return{nextToken:rn,currentOffset:r,currentPosition:a,context:u}}const Gi="parser",Ki=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Yi(e,n,o){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const l=parseInt(n||o,16);return l<=55295||l>=57344?String.fromCodePoint(l):"�"}}}function qi(e={}){const n=e.location!==!1,{onError:o}=e;function l(f,E,S,N,...w){const I=f.currentPosition();if(I.offset+=N,I.column+=N,o){const C=n?En(S,I):null,R=at(E,C,{domain:Gi,args:w});o(R)}}function r(f,E,S){const N={type:f};return n&&(N.start=E,N.end=E,N.loc={start:S,end:S}),N}function a(f,E,S,N){n&&(f.end=E,f.loc&&(f.loc.end=S))}function i(f,E){const S=f.context(),N=r(3,S.offset,S.startLoc);return N.value=E,a(N,f.currentOffset(),f.currentPosition()),N}function s(f,E){const S=f.context(),{lastOffset:N,lastStartLoc:w}=S,I=r(5,N,w);return I.index=parseInt(E,10),f.nextToken(),a(I,f.currentOffset(),f.currentPosition()),I}function c(f,E){const S=f.context(),{lastOffset:N,lastStartLoc:w}=S,I=r(4,N,w);return I.key=E,f.nextToken(),a(I,f.currentOffset(),f.currentPosition()),I}function u(f,E){const S=f.context(),{lastOffset:N,lastStartLoc:w}=S,I=r(9,N,w);return I.value=E.replace(Ki,Yi),f.nextToken(),a(I,f.currentOffset(),f.currentPosition()),I}function d(f){const E=f.nextToken(),S=f.context(),{lastOffset:N,lastStartLoc:w}=S,I=r(8,N,w);return E.type!==11?(l(f,M.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),I.value="",a(I,N,w),{nextConsumeToken:E,node:I}):(E.value==null&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Be(E)),I.value=E.value||"",a(I,f.currentOffset(),f.currentPosition()),{node:I})}function h(f,E){const S=f.context(),N=r(7,S.offset,S.startLoc);return N.value=E,a(N,f.currentOffset(),f.currentPosition()),N}function m(f){const E=f.context(),S=r(6,E.offset,E.startLoc);let N=f.nextToken();if(N.type===8){const w=d(f);S.modifier=w.node,N=w.nextConsumeToken||f.nextToken()}switch(N.type!==9&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Be(N)),N=f.nextToken(),N.type===2&&(N=f.nextToken()),N.type){case 10:N.value==null&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Be(N)),S.key=h(f,N.value||"");break;case 4:N.value==null&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Be(N)),S.key=c(f,N.value||"");break;case 5:N.value==null&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Be(N)),S.key=s(f,N.value||"");break;case 6:N.value==null&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Be(N)),S.key=u(f,N.value||"");break;default:{l(f,M.UNEXPECTED_EMPTY_LINKED_KEY,E.lastStartLoc,0);const w=f.context(),I=r(7,w.offset,w.startLoc);return I.value="",a(I,w.offset,w.startLoc),S.key=I,a(S,w.offset,w.startLoc),{nextConsumeToken:N,node:S}}}return a(S,f.currentOffset(),f.currentPosition()),{node:S}}function y(f){const E=f.context(),S=E.currentType===1?f.currentOffset():E.offset,N=E.currentType===1?E.endLoc:E.startLoc,w=r(2,S,N);w.items=[];let I=null;do{const U=I||f.nextToken();switch(I=null,U.type){case 0:U.value==null&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Be(U)),w.items.push(i(f,U.value||""));break;case 5:U.value==null&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Be(U)),w.items.push(s(f,U.value||""));break;case 4:U.value==null&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Be(U)),w.items.push(c(f,U.value||""));break;case 6:U.value==null&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Be(U)),w.items.push(u(f,U.value||""));break;case 7:{const Q=m(f);w.items.push(Q.node),I=Q.nextConsumeToken||null;break}}}while(E.currentType!==13&&E.currentType!==1);const C=E.currentType===1?E.lastOffset:f.currentOffset(),R=E.currentType===1?E.lastEndLoc:f.currentPosition();return a(w,C,R),w}function T(f,E,S,N){const w=f.context();let I=N.items.length===0;const C=r(1,E,S);C.cases=[],C.cases.push(N);do{const R=y(f);I||(I=R.items.length===0),C.cases.push(R)}while(w.currentType!==13);return I&&l(f,M.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),a(C,f.currentOffset(),f.currentPosition()),C}function k(f){const E=f.context(),{offset:S,startLoc:N}=E,w=y(f);return E.currentType===13?w:T(f,S,N,w)}function _(f){const E=ji(f,ue({},e)),S=E.context(),N=r(0,S.offset,S.startLoc);return n&&N.loc&&(N.loc.source=f),N.body=k(E),e.onCacheKey&&(N.cacheKey=e.onCacheKey(f)),S.currentType!==13&&l(E,M.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,f[S.offset]||""),a(N,E.currentOffset(),E.currentPosition()),N}return{parse:_}}function Be(e){if(e.type===13)return"EOF";const n=(e.value||"").replace(/\r?\n/gu,"\\n");return n.length>10?n.slice(0,9)+"…":n}function Xi(e,n={}){const o={ast:e,helpers:new Set};return{context:()=>o,helper:a=>(o.helpers.add(a),a)}}function vo(e,n){for(let o=0;o<e.length;o++)Pn(e[o],n)}function Pn(e,n){switch(e.type){case 1:vo(e.cases,n),n.helper("plural");break;case 2:vo(e.items,n);break;case 6:{Pn(e.key,n),n.helper("linked"),n.helper("type");break}case 5:n.helper("interpolate"),n.helper("list");break;case 4:n.helper("interpolate"),n.helper("named");break}}function Zi(e,n={}){const o=Xi(e);o.helper("normalize"),e.body&&Pn(e.body,o);const l=o.context();e.helpers=Array.from(l.helpers)}function Ji(e){const n=e.body;return n.type===2?Co(n):n.cases.forEach(o=>Co(o)),e}function Co(e){if(e.items.length===1){const n=e.items[0];(n.type===3||n.type===9)&&(e.static=n.value,delete n.value)}else{const n=[];for(let o=0;o<e.items.length;o++){const l=e.items[o];if(!(l.type===3||l.type===9)||l.value==null)break;n.push(l.value)}if(n.length===e.items.length){e.static=xn(n);for(let o=0;o<e.items.length;o++){const l=e.items[o];(l.type===3||l.type===9)&&delete l.value}}}}const Qi="minifier";function nt(e){switch(e.t=e.type,e.type){case 0:{const n=e;nt(n.body),n.b=n.body,delete n.body;break}case 1:{const n=e,o=n.cases;for(let l=0;l<o.length;l++)nt(o[l]);n.c=o,delete n.cases;break}case 2:{const n=e,o=n.items;for(let l=0;l<o.length;l++)nt(o[l]);n.i=o,delete n.items,n.static&&(n.s=n.static,delete n.static);break}case 3:case 9:case 8:case 7:{const n=e;n.value&&(n.v=n.value,delete n.value);break}case 6:{const n=e;nt(n.key),n.k=n.key,delete n.key,n.modifier&&(nt(n.modifier),n.m=n.modifier,delete n.modifier);break}case 5:{const n=e;n.i=n.index,delete n.index;break}case 4:{const n=e;n.k=n.key,delete n.key;break}default:if(process.env.NODE_ENV!=="production")throw at(M.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Qi,args:[e.type]})}delete e.type}const es="parser";function ts(e,n){const{filename:o,breakLineCode:l,needIndent:r}=n,a=n.location!==!1,i={filename:o,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:l,needIndent:r,indentLevel:0};a&&e.loc&&(i.source=e.loc.source);const s=()=>i;function c(k,_){i.code+=k}function u(k,_=!0){const f=_?l:"";c(r?f+" ".repeat(k):f)}function d(k=!0){const _=++i.indentLevel;k&&u(_)}function h(k=!0){const _=--i.indentLevel;k&&u(_)}function m(){u(i.indentLevel)}return{context:s,push:c,indent:d,deindent:h,newline:m,helper:k=>`_${k}`,needIndent:()=>i.needIndent}}function ns(e,n){const{helper:o}=e;e.push(`${o("linked")}(`),rt(e,n.key),n.modifier?(e.push(", "),rt(e,n.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function os(e,n){const{helper:o,needIndent:l}=e;e.push(`${o("normalize")}([`),e.indent(l());const r=n.items.length;for(let a=0;a<r&&(rt(e,n.items[a]),a!==r-1);a++)e.push(", ");e.deindent(l()),e.push("])")}function ls(e,n){const{helper:o,needIndent:l}=e;if(n.cases.length>1){e.push(`${o("plural")}([`),e.indent(l());const r=n.cases.length;for(let a=0;a<r&&(rt(e,n.cases[a]),a!==r-1);a++)e.push(", ");e.deindent(l()),e.push("])")}}function rs(e,n){n.body?rt(e,n.body):e.push("null")}function rt(e,n){const{helper:o}=e;switch(n.type){case 0:rs(e,n);break;case 1:ls(e,n);break;case 2:os(e,n);break;case 6:ns(e,n);break;case 8:e.push(JSON.stringify(n.value),n);break;case 7:e.push(JSON.stringify(n.value),n);break;case 5:e.push(`${o("interpolate")}(${o("list")}(${n.index}))`,n);break;case 4:e.push(`${o("interpolate")}(${o("named")}(${JSON.stringify(n.key)}))`,n);break;case 9:e.push(JSON.stringify(n.value),n);break;case 3:e.push(JSON.stringify(n.value),n);break;default:if(process.env.NODE_ENV!=="production")throw at(M.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:es,args:[n.type]})}}const as=(e,n={})=>{const o=D(n.mode)?n.mode:"normal",l=D(n.filename)?n.filename:"message.intl";n.sourceMap;const r=n.breakLineCode!=null?n.breakLineCode:o==="arrow"?";":`
4
- `,a=n.needIndent?n.needIndent:o!=="arrow",i=e.helpers||[],s=ts(e,{filename:l,breakLineCode:r,needIndent:a});s.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(a),i.length>0&&(s.push(`const { ${xn(i.map(d=>`${d}: _${d}`),", ")} } = ctx`),s.newline()),s.push("return "),rt(s,e),s.deindent(a),s.push("}"),delete e.helpers;const{code:c,map:u}=s.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function is(e,n={}){const o=ue({},n),l=!!o.jit,r=!!o.minify,a=o.optimize==null?!0:o.optimize,s=qi(o).parse(e);return l?(a&&Ji(s),r&&nt(s),{ast:s,code:""}):(Zi(s,o),as(s,o))}function ss(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ke().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ke().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function we(e){return Y(e)&&Rn(e)===0&&(be(e,"b")||be(e,"body"))}const al=["b","body"];function cs(e){return Fe(e,al)}const il=["c","cases"];function us(e){return Fe(e,il,[])}const sl=["s","static"];function ds(e){return Fe(e,sl)}const cl=["i","items"];function ms(e){return Fe(e,cl,[])}const ul=["t","type"];function Rn(e){return Fe(e,ul)}const dl=["v","value"];function Lt(e,n){const o=Fe(e,dl);if(o!=null)return o;throw ft(n)}const ml=["m","modifier"];function fs(e){return Fe(e,ml)}const fl=["k","key"];function ps(e){const n=Fe(e,fl);if(n)return n;throw ft(6)}function Fe(e,n,o){for(let l=0;l<n.length;l++){const r=n[l];if(be(e,r)&&e[r]!=null)return e[r]}return o}const pl=[...al,...il,...sl,...cl,...fl,...ml,...dl,...ul];function ft(e){return new Error(`unhandled node type: ${e}`)}function un(e){return o=>gs(o,e)}function gs(e,n){const o=cs(n);if(o==null)throw ft(0);if(Rn(o)===1){const a=us(o);return e.plural(a.reduce((i,s)=>[...i,No(e,s)],[]))}else return No(e,o)}function No(e,n){const o=ds(n);if(o!=null)return e.type==="text"?o:e.normalize([o]);{const l=ms(n).reduce((r,a)=>[...r,kn(e,a)],[]);return e.normalize(l)}}function kn(e,n){const o=Rn(n);switch(o){case 3:return Lt(n,o);case 9:return Lt(n,o);case 4:{const l=n;if(be(l,"k")&&l.k)return e.interpolate(e.named(l.k));if(be(l,"key")&&l.key)return e.interpolate(e.named(l.key));throw ft(o)}case 5:{const l=n;if(be(l,"i")&&ce(l.i))return e.interpolate(e.list(l.i));if(be(l,"index")&&ce(l.index))return e.interpolate(e.list(l.index));throw ft(o)}case 6:{const l=n,r=fs(l),a=ps(l);return e.linked(kn(e,a),r?kn(e,r):void 0,e.type)}case 7:return Lt(n,o);case 8:return Lt(n,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const hs="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Es(e,n){n&&Ri(e)&&Te(zt(hs,{source:e}))}const ks=e=>e;let Bt=X();function ys(e,n={}){let o=!1;const l=n.onError||xi;return n.onError=r=>{o=!0,l(r)},{...is(e,n),detectError:o}}function vs(e,n){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&D(e)){const o=ae(n.warnHtmlMessage)?n.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Es(e,o);const r=(n.onCacheKey||ks)(e),a=Bt[r];if(a)return a;const{ast:i,detectError:s}=ys(e,{...n,location:process.env.NODE_ENV!=="production",jit:!0}),c=un(i);return s?c:Bt[r]=c}else{if(process.env.NODE_ENV!=="production"&&!we(e))return Te(`the message that is resolve with key '${n.key}' is not supported for jit compilation`),(()=>e);const o=e.cacheKey;if(o){const l=Bt[o];return l||(Bt[o]=un(e))}else return un(e)}}let pt=null;function Cs(e){pt=e}function Ns(e,n,o){pt&&pt.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:n,meta:o})}const _s=Ss("function:translate");function Ss(e){return n=>pt&&pt.emit(e,n)}const pe={INVALID_ARGUMENT:Di,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},bs=24;function De(e){return at(e,null,process.env.NODE_ENV!=="production"?{messages:ws}:void 0)}const ws={[pe.INVALID_ARGUMENT]:"Invalid arguments",[pe.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[pe.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[pe.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[pe.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[pe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[pe.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Mn(e,n){return n.locale!=null?_o(n.locale):_o(e.locale)}let dn;function _o(e){if(D(e))return e;if(te(e)){if(e.resolvedOnce&&dn!=null)return dn;if(e.constructor.name==="Function"){const n=e();if(Vi(n))throw De(pe.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return dn=n}else throw De(pe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw De(pe.NOT_SUPPORT_LOCALE_TYPE)}function Ls(e,n,o){return[...new Set([o,...ie(n)?n:Y(n)?Object.keys(n):D(n)?[n]:[o]])]}function gl(e,n,o){const l=D(o)?o:Ot,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let a=r.__localeChainCache.get(l);if(!a){a=[];let i=[o];for(;ie(i);)i=So(a,i,n);const s=ie(n)||!K(n)?n:n.default?n.default:null;i=D(s)?[s]:s,ie(i)&&So(a,i,!1),r.__localeChainCache.set(l,a)}return a}function So(e,n,o){let l=!0;for(let r=0;r<n.length&&ae(l);r++){const a=n[r];D(a)&&(l=Bs(e,n[r],o))}return l}function Bs(e,n,o){let l;const r=n.split("-");do{const a=r.join("-");l=Vs(e,a,o),r.splice(-1,1)}while(r.length&&l===!0);return l}function Vs(e,n,o){let l=!1;if(!e.includes(n)&&(l=!0,n)){l=n[n.length-1]!=="!";const r=n.replace(/!/g,"");e.push(r),(ie(o)||K(o))&&o[r]&&(l=o[r])}return l}const Ue=[];Ue[0]={w:[0],i:[3,0],"[":[4],o:[7]};Ue[1]={w:[1],".":[2],"[":[4],o:[7]};Ue[2]={w:[2],i:[3,0],0:[3,0]};Ue[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Ue[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Ue[5]={"'":[4,0],o:8,l:[5,0]};Ue[6]={'"':[4,0],o:8,l:[6,0]};const Ts=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Is(e){return Ts.test(e)}function $s(e){const n=e.charCodeAt(0),o=e.charCodeAt(e.length-1);return n===o&&(n===34||n===39)?e.slice(1,-1):e}function As(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Ds(e){const n=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Is(n)?$s(n):"*"+n}function Os(e){const n=[];let o=-1,l=0,r=0,a,i,s,c,u,d,h;const m=[];m[0]=()=>{i===void 0?i=s:i+=s},m[1]=()=>{i!==void 0&&(n.push(i),i=void 0)},m[2]=()=>{m[0](),r++},m[3]=()=>{if(r>0)r--,l=4,m[0]();else{if(r=0,i===void 0||(i=Ds(i),i===!1))return!1;m[1]()}};function y(){const T=e[o+1];if(l===5&&T==="'"||l===6&&T==='"')return o++,s="\\"+T,m[0](),!0}for(;l!==null;)if(o++,a=e[o],!(a==="\\"&&y())){if(c=As(a),h=Ue[l],u=h[c]||h.l||8,u===8||(l=u[0],u[1]!==void 0&&(d=m[u[1]],d&&(s=a,d()===!1))))return;if(l===7)return n}}const bo=new Map;function xs(e,n){return Y(e)?e[n]:null}function Ps(e,n){if(!Y(e))return null;let o=bo.get(n);if(o||(o=Os(n),o&&bo.set(n,o)),!o)return null;const l=o.length;let r=e,a=0;for(;a<l;){const i=o[a];if(pl.includes(i)&&we(r))return null;const s=r[i];if(s===void 0||te(r))return null;r=s,a++}return r}const he={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},Rs=8,Ms={[he.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[he.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[he.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[he.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[he.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[he.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[he.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function Xe(e,...n){return zt(Ms[e],...n)}const Fs="11.2.8",jt=-1,Ot="en-US",xt="",wo=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Us(){return{upper:(e,n)=>n==="text"&&D(e)?e.toUpperCase():n==="vnode"&&Y(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,n)=>n==="text"&&D(e)?e.toLowerCase():n==="vnode"&&Y(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,n)=>n==="text"&&D(e)?wo(e):n==="vnode"&&Y(e)&&"__v_isVNode"in e?wo(e.children):e}}let hl;function Hs(e){hl=e}let El;function zs(e){El=e}let kl;function Ws(e){kl=e}let yl=null;const js=e=>{yl=e},Gs=()=>yl;let vl=null;const Lo=e=>{vl=e},Ks=()=>vl;let Bo=0;function Ys(e={}){const n=te(e.onWarn)?e.onWarn:Te,o=D(e.version)?e.version:Fs,l=D(e.locale)||te(e.locale)?e.locale:Ot,r=te(l)?Ot:l,a=ie(e.fallbackLocale)||K(e.fallbackLocale)||D(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,i=K(e.messages)?e.messages:mn(r),s=K(e.datetimeFormats)?e.datetimeFormats:mn(r),c=K(e.numberFormats)?e.numberFormats:mn(r),u=ue(X(),e.modifiers,Us()),d=e.pluralRules||X(),h=te(e.missing)?e.missing:null,m=ae(e.missingWarn)||Dt(e.missingWarn)?e.missingWarn:!0,y=ae(e.fallbackWarn)||Dt(e.fallbackWarn)?e.fallbackWarn:!0,T=!!e.fallbackFormat,k=!!e.unresolving,_=te(e.postTranslation)?e.postTranslation:null,f=K(e.processor)?e.processor:null,E=ae(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter,N=te(e.messageCompiler)?e.messageCompiler:hl;process.env.NODE_ENV!=="production"&&te(e.messageCompiler)&&Ci(Xe(he.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const w=te(e.messageResolver)?e.messageResolver:El||xs,I=te(e.localeFallbacker)?e.localeFallbacker:kl||Ls,C=Y(e.fallbackContext)?e.fallbackContext:void 0,R=e,U=Y(R.__datetimeFormatters)?R.__datetimeFormatters:new Map,Q=Y(R.__numberFormatters)?R.__numberFormatters:new Map,ge=Y(R.__meta)?R.__meta:{};Bo++;const Z={version:o,cid:Bo,locale:l,fallbackLocale:a,messages:i,modifiers:u,pluralRules:d,missing:h,missingWarn:m,fallbackWarn:y,fallbackFormat:T,unresolving:k,postTranslation:_,processor:f,warnHtmlMessage:E,escapeParameter:S,messageCompiler:N,messageResolver:w,localeFallbacker:I,fallbackContext:C,onWarn:n,__meta:ge};return Z.datetimeFormats=s,Z.numberFormats=c,Z.__datetimeFormatters=U,Z.__numberFormatters=Q,process.env.NODE_ENV!=="production"&&(Z.__v_emitter=R.__v_emitter!=null?R.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Ns(Z,o,ge),Z}const mn=e=>({[e]:X()});function Gt(e,n){return e instanceof RegExp?e.test(n):e}function Cl(e,n){return e instanceof RegExp?e.test(n):e}function Fn(e,n,o,l,r){const{missing:a,onWarn:i}=e;if(process.env.NODE_ENV!=="production"){const s=e.__v_emitter;s&&s.emit("missing",{locale:o,key:n,type:r,groupId:`${r}:${n}`})}if(a!==null){const s=a(e,o,n,r);return D(s)?s:n}else return process.env.NODE_ENV!=="production"&&Cl(l,n)&&i(Xe(he.NOT_FOUND_KEY,{key:n,locale:o})),n}function mt(e,n,o){const l=e;l.__localeChainCache=new Map,e.localeFallbacker(e,o,n)}function Nl(e,n){return e===n?!1:e.split("-")[0]===n.split("-")[0]}function qs(e,n){const o=n.indexOf(e);if(o===-1)return!1;for(let l=o+1;l<n.length;l++)if(Nl(e,n[l]))return!0;return!1}const Vo=typeof Intl<"u",_l={dateTimeFormat:Vo&&typeof Intl.DateTimeFormat<"u",numberFormat:Vo&&typeof Intl.NumberFormat<"u"};function To(e,...n){const{datetimeFormats:o,unresolving:l,fallbackLocale:r,onWarn:a,localeFallbacker:i}=e,{__datetimeFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!_l.dateTimeFormat)return a(Xe(he.CANNOT_FORMAT_DATE)),xt;const[c,u,d,h]=yn(...n),m=ae(d.missingWarn)?d.missingWarn:e.missingWarn,y=ae(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,T=!!d.part,k=Mn(e,d),_=i(e,r,k);if(!D(c)||c==="")return new Intl.DateTimeFormat(k,h).format(u);let f={},E,S=null,N=k,w=null;const I="datetime format";for(let U=0;U<_.length;U++){if(E=w=_[U],process.env.NODE_ENV!=="production"&&k!==E&&Gt(y,c)&&a(Xe(he.FALLBACK_TO_DATE_FORMAT,{key:c,target:E})),process.env.NODE_ENV!=="production"&&k!==E){const Q=e.__v_emitter;Q&&Q.emit("fallback",{type:I,key:c,from:N,to:w,groupId:`${I}:${c}`})}if(f=o[E]||{},S=f[c],K(S))break;Fn(e,c,E,m,I),N=w}if(!K(S)||!D(E))return l?jt:c;let C=`${E}__${c}`;Wt(h)||(C=`${C}__${JSON.stringify(h)}`);let R=s.get(C);return R||(R=new Intl.DateTimeFormat(E,ue({},S,h)),s.set(C,R)),T?R.formatToParts(u):R.format(u)}const Sl=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function yn(...e){const[n,o,l,r]=e,a=X();let i=X(),s;if(D(n)){const c=n.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!c)throw De(pe.INVALID_ISO_DATE_ARGUMENT);const u=c[3]?c[3].trim().startsWith("T")?`${c[1].trim()}${c[3].trim()}`:`${c[1].trim()}T${c[3].trim()}`:c[1].trim();s=new Date(u);try{s.toISOString()}catch{throw De(pe.INVALID_ISO_DATE_ARGUMENT)}}else if(bi(n)){if(isNaN(n.getTime()))throw De(pe.INVALID_DATE_ARGUMENT);s=n}else if(ce(n))s=n;else throw De(pe.INVALID_ARGUMENT);return D(o)?a.key=o:K(o)&&Object.keys(o).forEach(c=>{Sl.includes(c)?i[c]=o[c]:a[c]=o[c]}),D(l)?a.locale=l:K(l)&&(i=l),K(r)&&(i=r),[a.key||"",s,a,i]}function Io(e,n,o){const l=e;for(const r in o){const a=`${n}__${r}`;l.__datetimeFormatters.has(a)&&l.__datetimeFormatters.delete(a)}}function $o(e,...n){const{numberFormats:o,unresolving:l,fallbackLocale:r,onWarn:a,localeFallbacker:i}=e,{__numberFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!_l.numberFormat)return a(Xe(he.CANNOT_FORMAT_NUMBER)),xt;const[c,u,d,h]=vn(...n),m=ae(d.missingWarn)?d.missingWarn:e.missingWarn,y=ae(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,T=!!d.part,k=Mn(e,d),_=i(e,r,k);if(!D(c)||c==="")return new Intl.NumberFormat(k,h).format(u);let f={},E,S=null,N=k,w=null;const I="number format";for(let U=0;U<_.length;U++){if(E=w=_[U],process.env.NODE_ENV!=="production"&&k!==E&&Gt(y,c)&&a(Xe(he.FALLBACK_TO_NUMBER_FORMAT,{key:c,target:E})),process.env.NODE_ENV!=="production"&&k!==E){const Q=e.__v_emitter;Q&&Q.emit("fallback",{type:I,key:c,from:N,to:w,groupId:`${I}:${c}`})}if(f=o[E]||{},S=f[c],K(S))break;Fn(e,c,E,m,I),N=w}if(!K(S)||!D(E))return l?jt:c;let C=`${E}__${c}`;Wt(h)||(C=`${C}__${JSON.stringify(h)}`);let R=s.get(C);return R||(R=new Intl.NumberFormat(E,ue({},S,h)),s.set(C,R)),T?R.formatToParts(u):R.format(u)}const bl=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function vn(...e){const[n,o,l,r]=e,a=X();let i=X();if(!ce(n))throw De(pe.INVALID_ARGUMENT);const s=n;return D(o)?a.key=o:K(o)&&Object.keys(o).forEach(c=>{bl.includes(c)?i[c]=o[c]:a[c]=o[c]}),D(l)?a.locale=l:K(l)&&(i=l),K(r)&&(i=r),[a.key||"",s,a,i]}function Ao(e,n,o){const l=e;for(const r in o){const a=`${n}__${r}`;l.__numberFormatters.has(a)&&l.__numberFormatters.delete(a)}}const Xs=e=>e,Zs=e=>"",Js="text",Qs=e=>e.length===0?"":xn(e),ec=Ti;function Do(e,n){return e=Math.abs(e),n===2?e?e>1?1:0:1:e?Math.min(e,2):0}function tc(e){const n=ce(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(ce(e.named.count)||ce(e.named.n))?ce(e.named.count)?e.named.count:ce(e.named.n)?e.named.n:n:n}function nc(e,n){n.count||(n.count=e),n.n||(n.n=e)}function oc(e={}){const n=e.locale,o=tc(e),l=Y(e.pluralRules)&&D(n)&&te(e.pluralRules[n])?e.pluralRules[n]:Do,r=Y(e.pluralRules)&&D(n)&&te(e.pluralRules[n])?Do:void 0,a=f=>f[l(o,f.length,r)],i=e.list||[],s=f=>i[f],c=e.named||X();ce(e.pluralIndex)&&nc(o,c);const u=f=>c[f];function d(f,E){const S=te(e.messages)?e.messages(f,!!E):Y(e.messages)?e.messages[f]:!1;return S||(e.parent?e.parent.message(f):Zs)}const h=f=>e.modifiers?e.modifiers[f]:Xs,m=K(e.processor)&&te(e.processor.normalize)?e.processor.normalize:Qs,y=K(e.processor)&&te(e.processor.interpolate)?e.processor.interpolate:ec,T=K(e.processor)&&D(e.processor.type)?e.processor.type:Js,_={list:s,named:u,plural:a,linked:(f,...E)=>{const[S,N]=E;let w="text",I="";E.length===1?Y(S)?(I=S.modifier||I,w=S.type||w):D(S)&&(I=S||I):E.length===2&&(D(S)&&(I=S||I),D(N)&&(w=N||w));const C=d(f,!0)(_),R=w==="vnode"&&ie(C)&&I?C[0]:C;return I?h(I)(R,w):R},message:d,type:T,interpolate:y,normalize:m,values:ue(X(),i,c)};return _}const Oo=()=>"",Se=e=>te(e);function xo(e,...n){const{fallbackFormat:o,postTranslation:l,unresolving:r,messageCompiler:a,fallbackLocale:i,messages:s}=e,[c,u]=Cn(...n),d=ae(u.missingWarn)?u.missingWarn:e.missingWarn,h=ae(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,m=ae(u.escapeParameter)?u.escapeParameter:e.escapeParameter,y=!!u.resolvedMessage,T=D(u.default)||ae(u.default)?ae(u.default)?a?c:()=>c:u.default:o?a?c:()=>c:null,k=o||T!=null&&(D(T)||te(T)),_=Mn(e,u);m&&lc(u);let[f,E,S]=y?[c,_,s[_]||X()]:wl(e,c,_,i,h,d),N=f,w=c;if(!y&&!(D(N)||we(N)||Se(N))&&k&&(N=T,w=N),!y&&(!(D(N)||we(N)||Se(N))||!D(E)))return r?jt:c;if(process.env.NODE_ENV!=="production"&&D(N)&&e.messageCompiler==null)return Te(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${c}'.`),c;let I=!1;const C=()=>{I=!0},R=Se(N)?N:Ll(e,c,E,N,w,C);if(I)return N;const U=sc(e,E,S,u),Q=oc(U),ge=rc(e,R,Q);let Z=l?l(ge,c):ge;if(m&&D(Z)&&(Z=Li(Z)),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const Re={timestamp:Date.now(),key:D(c)?c:Se(N)?N.key:"",locale:E||(Se(N)?N.locale:""),format:D(N)?N:Se(N)?N.source:"",message:Z};Re.meta=ue({},e.__meta,Gs()||{}),_s(Re)}return Z}function lc(e){ie(e.list)?e.list=e.list.map(n=>D(n)?ho(n):n):Y(e.named)&&Object.keys(e.named).forEach(n=>{D(e.named[n])&&(e.named[n]=ho(e.named[n]))})}function wl(e,n,o,l,r,a){const{messages:i,onWarn:s,messageResolver:c,localeFallbacker:u}=e,d=u(e,l,o);let h=X(),m,y=null,T=o,k=null;const _="translate";for(let f=0;f<d.length;f++){if(m=k=d[f],process.env.NODE_ENV!=="production"&&o!==m&&!Nl(o,m)&&Gt(r,n)&&s(Xe(he.FALLBACK_TO_TRANSLATE,{key:n,target:m})),process.env.NODE_ENV!=="production"&&o!==m){const w=e.__v_emitter;w&&w.emit("fallback",{type:_,key:n,from:T,to:k,groupId:`${_}:${n}`})}h=i[m]||X();let E=null,S,N;if(process.env.NODE_ENV!=="production"&&xe&&(E=window.performance.now(),S="intlify-message-resolve-start",N="intlify-message-resolve-end",_e&&_e(S)),(y=c(h,n))===null&&(y=h[n]),process.env.NODE_ENV!=="production"&&xe){const w=window.performance.now(),I=e.__v_emitter;I&&E&&y&&I.emit("message-resolve",{type:"message-resolve",key:n,message:y,time:w-E,groupId:`${_}:${n}`}),S&&N&&_e&&qe&&(_e(N),qe("intlify message resolve",S,N))}if(D(y)||we(y)||Se(y))break;if(!qs(m,d)){const w=Fn(e,n,m,a,_);w!==n&&(y=w)}T=k}return[y,m,h]}function Ll(e,n,o,l,r,a){const{messageCompiler:i,warnHtmlMessage:s}=e;if(Se(l)){const m=l;return m.locale=m.locale||o,m.key=m.key||n,m}if(i==null){const m=(()=>l);return m.locale=o,m.key=n,m}let c=null,u,d;process.env.NODE_ENV!=="production"&&xe&&(c=window.performance.now(),u="intlify-message-compilation-start",d="intlify-message-compilation-end",_e&&_e(u));const h=i(l,ac(e,o,r,l,s,a));if(process.env.NODE_ENV!=="production"&&xe){const m=window.performance.now(),y=e.__v_emitter;y&&c&&y.emit("message-compilation",{type:"message-compilation",message:l,time:m-c,groupId:`translate:${n}`}),u&&d&&_e&&qe&&(_e(d),qe("intlify message compilation",u,d))}return h.locale=o,h.key=n,h.source=l,h}function rc(e,n,o){let l=null,r,a;process.env.NODE_ENV!=="production"&&xe&&(l=window.performance.now(),r="intlify-message-evaluation-start",a="intlify-message-evaluation-end",_e&&_e(r));const i=n(o);if(process.env.NODE_ENV!=="production"&&xe){const s=window.performance.now(),c=e.__v_emitter;c&&l&&c.emit("message-evaluation",{type:"message-evaluation",value:i,time:s-l,groupId:`translate:${n.key}`}),r&&a&&_e&&qe&&(_e(a),qe("intlify message evaluation",r,a))}return i}function Cn(...e){const[n,o,l]=e,r=X();if(!D(n)&&!ce(n)&&!Se(n)&&!we(n))throw De(pe.INVALID_ARGUMENT);const a=ce(n)?String(n):(Se(n),n);return ce(o)?r.plural=o:D(o)?r.default=o:K(o)&&!Wt(o)?r.named=o:ie(o)&&(r.list=o),ce(l)?r.plural=l:D(l)?r.default=l:K(l)&&ue(r,l),[a,r]}function ac(e,n,o,l,r,a){return{locale:n,key:o,warnHtmlMessage:r,onError:i=>{if(a&&a(i),process.env.NODE_ENV!=="production"){const s=ic(l),c=`Message compilation error: ${i.message}`,u=i.location&&s&&Ii(s,i.location.start.offset,i.location.end.offset),d=e.__v_emitter;d&&s&&d.emit("compile-error",{message:s,error:i.message,start:i.location&&i.location.start.offset,end:i.location&&i.location.end.offset,groupId:`translate:${o}`}),console.error(u?`${c}
5
- ${u}`:c)}else throw i},onCacheKey:i=>_i(n,o,i)}}function ic(e){if(D(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function sc(e,n,o,l){const{modifiers:r,pluralRules:a,messageResolver:i,fallbackLocale:s,fallbackWarn:c,missingWarn:u,fallbackContext:d}=e,m={locale:n,modifiers:r,pluralRules:a,messages:(y,T)=>{let k=i(o,y);if(k==null&&(d||T)){const[,,_]=wl(d||e,y,n,s,c,u);k=i(_,y)}if(D(k)||we(k)){let _=!1;const E=Ll(e,y,n,k,y,()=>{_=!0});return _?Oo:E}else return Se(k)?k:Oo}};return e.processor&&(m.processor=e.processor),l.list&&(m.list=l.list),l.named&&(m.named=l.named),ce(l.plural)&&(m.pluralIndex=l.plural),m}ss();const cc="11.2.8";function uc(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Ke().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Ke().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ke().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ke().__INTLIFY_PROD_DEVTOOLS__=!1)}const de={UNEXPECTED_RETURN_TYPE:bs,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function gt(e,...n){return at(e,null,process.env.NODE_ENV!=="production"?{messages:dc,args:n}:void 0)}const dc={[de.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[de.INVALID_ARGUMENT]:"Invalid argument",[de.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[de.NOT_INSTALLED]:"Need to install with `app.use` function",[de.UNEXPECTED_ERROR]:"Unexpected error",[de.REQUIRED_VALUE]:"Required in value: {0}",[de.INVALID_VALUE]:"Invalid value",[de.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[de.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[de.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[de.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Nn=Pe("__translateVNode"),_n=Pe("__datetimeParts"),Sn=Pe("__numberParts"),bn=Pe("__enableEmitter"),wn=Pe("__disableEmitter"),mc=Pe("__setPluralRules"),Bl=Pe("__injectWithOption"),Ln=Pe("__dispose"),Ve={FALLBACK_TO_ROOT:Rs,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13},fc={[Ve.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Ve.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Ve.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Ve.DEPRECATE_LEGACY_MODE]:`Legacy API mode has been deprecated in v11. Use Composition API mode instead.
6
- About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html`,[Ve.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]:"'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",[Ve.DUPLICATE_USE_I18N_CALLING]:"Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."};function Pt(e,...n){return zt(fc[e],...n)}function ht(e){if(!Y(e)||we(e))return e;for(const n in e)if(be(e,n))if(!n.includes("."))Y(e[n])&&ht(e[n]);else{const o=n.split("."),l=o.length-1;let r=e,a=!1;for(let i=0;i<l;i++){if(o[i]==="__proto__")throw new Error(`unsafe key: ${o[i]}`);if(o[i]in r||(r[o[i]]=X()),!Y(r[o[i]])){process.env.NODE_ENV!=="production"&&Te(Pt(Ve.IGNORE_OBJ_FLATTEN,{key:o[i]})),a=!0;break}r=r[o[i]]}if(a||(we(r)?pl.includes(o[l])||delete e[n]:(r[o[l]]=e[n],delete e[n])),!we(r)){const i=r[o[l]];Y(i)&&ht(i)}}return e}function Vl(e,n){const{messages:o,__i18n:l,messageResolver:r,flatJson:a}=n,i=K(o)?o:ie(l)?X():{[e]:X()};if(ie(l)&&l.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:c,resource:u}=s;c?(i[c]=i[c]||X(),$t(u,i[c])):$t(u,i)}else D(s)&&$t(JSON.parse(s),i)}),r==null&&a)for(const s in i)be(i,s)&&ht(i[s]);return i}function Tl(e){return e.type}function pc(e,n,o){let l=Y(n.messages)?n.messages:X();"__i18nGlobal"in o&&(l=Vl(e.locale.value,{messages:l,__i18n:o.__i18nGlobal}));const r=Object.keys(l);r.length&&r.forEach(a=>{e.mergeLocaleMessage(a,l[a])});{if(Y(n.datetimeFormats)){const a=Object.keys(n.datetimeFormats);a.length&&a.forEach(i=>{e.mergeDateTimeFormat(i,n.datetimeFormats[i])})}if(Y(n.numberFormats)){const a=Object.keys(n.numberFormats);a.length&&a.forEach(i=>{e.mergeNumberFormat(i,n.numberFormats[i])})}}}function Po(e){return t.createVNode(t.Text,null,e,0)}function Un(){const e="currentInstance";return e in cn?cn[e]:cn.getCurrentInstance()}const Ro="__INTLIFY_META__",Mo=()=>[],gc=()=>!1;let Fo=0;function Uo(e){return((n,o,l,r)=>e(o,l,Un()||void 0,r))}const hc=()=>{const e=Un();let n=null;return e&&(n=Tl(e)[Ro])?{[Ro]:n}:null};function Ec(e={}){const{__root:n,__injectWithOption:o}=e,l=n===void 0,r=e.flatJson,a=xe?t.ref:t.shallowRef;let i=ae(e.inheritLocale)?e.inheritLocale:!0;const s=a(n&&i?n.locale.value:D(e.locale)?e.locale:Ot),c=a(n&&i?n.fallbackLocale.value:D(e.fallbackLocale)||ie(e.fallbackLocale)||K(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),u=a(Vl(s.value,e)),d=a(K(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),h=a(K(e.numberFormats)?e.numberFormats:{[s.value]:{}});let m=n?n.missingWarn:ae(e.missingWarn)||Dt(e.missingWarn)?e.missingWarn:!0,y=n?n.fallbackWarn:ae(e.fallbackWarn)||Dt(e.fallbackWarn)?e.fallbackWarn:!0,T=n?n.fallbackRoot:ae(e.fallbackRoot)?e.fallbackRoot:!0,k=!!e.fallbackFormat,_=te(e.missing)?e.missing:null,f=te(e.missing)?Uo(e.missing):null,E=te(e.postTranslation)?e.postTranslation:null,S=n?n.warnHtmlMessage:ae(e.warnHtmlMessage)?e.warnHtmlMessage:!0,N=!!e.escapeParameter;const w=n?n.modifiers:K(e.modifiers)?e.modifiers:{};let I=e.pluralRules||n&&n.pluralRules,C;C=(()=>{l&&Lo(null);const v={version:cc,locale:s.value,fallbackLocale:c.value,messages:u.value,modifiers:w,pluralRules:I,missing:f===null?void 0:f,missingWarn:m,fallbackWarn:y,fallbackFormat:k,unresolving:!0,postTranslation:E===null?void 0:E,warnHtmlMessage:S,escapeParameter:N,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};v.datetimeFormats=d.value,v.numberFormats=h.value,v.__datetimeFormatters=K(C)?C.__datetimeFormatters:void 0,v.__numberFormatters=K(C)?C.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(v.__v_emitter=K(C)?C.__v_emitter:void 0);const B=Ys(v);return l&&Lo(B),B})(),mt(C,s.value,c.value);function U(){return[s.value,c.value,u.value,d.value,h.value]}const Q=t.computed({get:()=>s.value,set:v=>{C.locale=v,s.value=v}}),ge=t.computed({get:()=>c.value,set:v=>{C.fallbackLocale=v,c.value=v,mt(C,s.value,v)}}),Z=t.computed(()=>u.value),Re=t.computed(()=>d.value),Je=t.computed(()=>h.value);function x(){return te(E)?E:null}function $(v){E=v,C.postTranslation=v}function H(){return _}function P(v){v!==null&&(f=Uo(v)),_=v,C.missing=f}function Ie(v,B){return v!=="translate"||!B.resolvedMessage}const me=(v,B,q,re,We,_t)=>{U();let Qe;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,l||(C.fallbackContext=n?Ks():void 0),Qe=v(C)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,l||(C.fallbackContext=void 0)}if(q!=="translate exists"&&ce(Qe)&&Qe===jt||q==="translate exists"&&!Qe){const[je,Vr]=B();if(process.env.NODE_ENV!=="production"&&n&&D(je)&&Ie(q,Vr)&&(T&&(Gt(y,je)||Cl(m,je))&&Te(Pt(Ve.FALLBACK_TO_ROOT,{key:je,type:q})),process.env.NODE_ENV!=="production")){const{__v_emitter:ao}=C;ao&&T&&ao.emit("fallback",{type:q,key:je,to:"global",groupId:`${q}:${je}`})}return n&&T?re(n):We(je)}else{if(_t(Qe))return Qe;throw gt(de.UNEXPECTED_RETURN_TYPE)}};function He(...v){return me(B=>Reflect.apply(xo,null,[B,...v]),()=>Cn(...v),"translate",B=>Reflect.apply(B.t,B,[...v]),B=>B,B=>D(B))}function Zt(...v){const[B,q,re]=v;if(re&&!Y(re))throw gt(de.INVALID_ARGUMENT);return He(B,q,ue({resolvedMessage:!0},re||{}))}function Jt(...v){return me(B=>Reflect.apply(To,null,[B,...v]),()=>yn(...v),"datetime format",B=>Reflect.apply(B.d,B,[...v]),()=>xt,B=>D(B)||ie(B))}function Qt(...v){return me(B=>Reflect.apply($o,null,[B,...v]),()=>vn(...v),"number format",B=>Reflect.apply(B.n,B,[...v]),()=>xt,B=>D(B)||ie(B))}function en(v){return v.map(B=>D(B)||ce(B)||ae(B)?Po(String(B)):B)}const tn={normalize:en,interpolate:v=>v,type:"vnode"};function Ct(...v){return me(B=>{let q;const re=B;try{re.processor=tn,q=Reflect.apply(xo,null,[re,...v])}finally{re.processor=null}return q},()=>Cn(...v),"translate",B=>B[Nn](...v),B=>[Po(B)],B=>ie(B))}function nn(...v){return me(B=>Reflect.apply($o,null,[B,...v]),()=>vn(...v),"number format",B=>B[Sn](...v),Mo,B=>D(B)||ie(B))}function Nt(...v){return me(B=>Reflect.apply(To,null,[B,...v]),()=>yn(...v),"datetime format",B=>B[_n](...v),Mo,B=>D(B)||ie(B))}function on(v){I=v,C.pluralRules=I}function ln(v,B){return me(()=>{if(!v)return!1;const q=D(B)?B:s.value,re=ze(q),We=C.messageResolver(re,v);return we(We)||Se(We)||D(We)},()=>[v],"translate exists",q=>Reflect.apply(q.te,q,[v,B]),gc,q=>ae(q))}function ct(v){let B=null;const q=gl(C,c.value,s.value);for(let re=0;re<q.length;re++){const We=u.value[q[re]]||{},_t=C.messageResolver(We,v);if(_t!=null){B=_t;break}}return B}function ut(v){const B=ct(v);return B??(n?n.tm(v)||{}:{})}function ze(v){return u.value[v]||{}}function dt(v,B){if(r){const q={[v]:B};for(const re in q)be(q,re)&&ht(q[re]);B=q[v]}u.value[v]=B,C.messages=u.value}function rn(v,B){u.value[v]=u.value[v]||{};const q={[v]:B};if(r)for(const re in q)be(q,re)&&ht(q[re]);B=q[v],$t(B,u.value[v]),C.messages=u.value}function p(v){return d.value[v]||{}}function g(v,B){d.value[v]=B,C.datetimeFormats=d.value,Io(C,v,B)}function L(v,B){d.value[v]=ue(d.value[v]||{},B),C.datetimeFormats=d.value,Io(C,v,B)}function O(v){return h.value[v]||{}}function ee(v,B){h.value[v]=B,C.numberFormats=h.value,Ao(C,v,B)}function le(v,B){h.value[v]=ue(h.value[v]||{},B),C.numberFormats=h.value,Ao(C,v,B)}Fo++,n&&xe&&(t.watch(n.locale,v=>{i&&(s.value=v,C.locale=v,mt(C,s.value,c.value))}),t.watch(n.fallbackLocale,v=>{i&&(c.value=v,C.fallbackLocale=v,mt(C,s.value,c.value))}));const G={id:Fo,locale:Q,fallbackLocale:ge,get inheritLocale(){return i},set inheritLocale(v){i=v,v&&n&&(s.value=n.locale.value,c.value=n.fallbackLocale.value,mt(C,s.value,c.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:Z,get modifiers(){return w},get pluralRules(){return I||{}},get isGlobal(){return l},get missingWarn(){return m},set missingWarn(v){m=v,C.missingWarn=m},get fallbackWarn(){return y},set fallbackWarn(v){y=v,C.fallbackWarn=y},get fallbackRoot(){return T},set fallbackRoot(v){T=v},get fallbackFormat(){return k},set fallbackFormat(v){k=v,C.fallbackFormat=k},get warnHtmlMessage(){return S},set warnHtmlMessage(v){S=v,C.warnHtmlMessage=v},get escapeParameter(){return N},set escapeParameter(v){N=v,C.escapeParameter=v},t:He,getLocaleMessage:ze,setLocaleMessage:dt,mergeLocaleMessage:rn,getPostTranslationHandler:x,setPostTranslationHandler:$,getMissingHandler:H,setMissingHandler:P,[mc]:on};return G.datetimeFormats=Re,G.numberFormats=Je,G.rt=Zt,G.te=ln,G.tm=ut,G.d=Jt,G.n=Qt,G.getDateTimeFormat=p,G.setDateTimeFormat=g,G.mergeDateTimeFormat=L,G.getNumberFormat=O,G.setNumberFormat=ee,G.mergeNumberFormat=le,G[Bl]=o,G[Nn]=Ct,G[_n]=Nt,G[Sn]=nn,process.env.NODE_ENV!=="production"&&(G[bn]=v=>{C.__v_emitter=v},G[wn]=()=>{C.__v_emitter=void 0}),G}function Ho(e,n){}const Hn={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function kc({slots:e},n){return n.length===1&&n[0]==="default"?(e.default?e.default():[]).reduce((l,r)=>[...l,...r.type===t.Fragment?r.children:[r]],[]):n.reduce((o,l)=>{const r=e[l];return r&&(o[l]=r()),o},X())}function Il(){return t.Fragment}ue({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ce(e)||!isNaN(e)}},Hn);function yc(e){return ie(e)&&!D(e[0])}function $l(e,n,o,l){const{slots:r,attrs:a}=n;return()=>{const i={part:!0};let s=X();e.locale&&(i.locale=e.locale),D(e.format)?i.key=e.format:Y(e.format)&&(D(e.format.key)&&(i.key=e.format.key),s=Object.keys(e.format).reduce((m,y)=>o.includes(y)?ue(X(),m,{[y]:e.format[y]}):m,X()));const c=l(e.value,i,s);let u=[i.key];ie(c)?u=c.map((m,y)=>{const T=r[m.type],k=T?T({[m.type]:m.value,index:y,parts:c}):[m.value];return yc(k)&&(k[0].key=`${m.type}-${y}`),k}):D(c)&&(u=[c]);const d=ue(X(),a),h=D(e.tag)||Y(e.tag)?e.tag:Il();return t.h(h,d,u)}}ue({value:{type:Number,required:!0},format:{type:[String,Object]}},Hn);const vc=Pe("global-vue-i18n");function yt(e={}){const n=Un();if(n==null)throw gt(de.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw gt(de.NOT_INSTALLED);const o=Cc(n),l=_c(o),r=Tl(n),a=Nc(e,r);if(a==="global")return pc(l,e,r),l;if(a==="parent"){let c=Sc(o,n,e.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&Te(Pt(Ve.NOT_FOUND_PARENT_SCOPE)),c=l),c}const i=o;let s=i.__getInstance(n);if(s==null){const c=ue({},e);"__i18n"in r&&(c.__i18n=r.__i18n),l&&(c.__root=l),s=Ec(c),i.__composerExtend&&(s[Ln]=i.__composerExtend(s)),wc(i,n,s),i.__setInstance(n,s)}else process.env.NODE_ENV!=="production"&&a==="local"&&Te(Pt(Ve.DUPLICATE_USE_I18N_CALLING));return s}function Cc(e){const n=t.inject(e.isCE?vc:e.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw gt(e.isCE?de.NOT_INSTALLED_WITH_PROVIDE:de.UNEXPECTED_ERROR);return n}function Nc(e,n){return Wt(e)?"__i18n"in n?"local":"global":e.useScope?e.useScope:"local"}function _c(e){return e.mode==="composition"?e.global:e.global.__composer}function Sc(e,n,o=!1){let l=null;const r=n.root;let a=bc(n,o);for(;a!=null;){const i=e;if(e.mode==="composition")l=i.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const s=i.__getInstance(a);s!=null&&(l=s.__composer,o&&l&&!l[Bl]&&(l=null))}if(l!=null||r===a)break;a=a.parent}return l}function bc(e,n=!1){return e==null?null:n&&e.vnode.ctx||e.parent}function wc(e,n,o){let l=null;t.onMounted(()=>{if(process.env.NODE_ENV!=="production"){n.__VUE_I18N__=o,l=$i();const r=o;r[bn]&&r[bn](l),l.on("*",Ho)}},n),t.onUnmounted(()=>{const r=o;process.env.NODE_ENV!=="production"&&(l&&l.off("*",Ho),r[wn]&&r[wn](),delete n.__VUE_I18N__),e.__deleteInstance(n);const a=r[Ln];a&&(a(),delete r[Ln])},n)}ue({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Hn);uc();Hs(vs);zs(Ps);Ws(gl);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=Ke();e.__INTLIFY__=!0,Cs(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const j=t.defineComponent({__name:"Tooltip",props:{title:{default:void 0},placement:{default:"top"}},setup(e){let n;typeof document<"u"&&(n=import("bootstrap"));const o=e,l=t.ref(),r=t.ref(),a=t.ref();return t.onMounted(async()=>{t.nextTick(async()=>{const i=await n;typeof document<"u"&&r.value&&a.value&&(l.value=new i.Tooltip(r.value,{trigger:"hover",html:!0,placement:o.placement,title:a.value.innerHTML,customClass:"tooltip-custom"}))})}),t.onBeforeUnmount(async()=>{l.value?.dispose()}),(i,s)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("span",t.mergeProps({ref_key:"$tooltip",ref:r},i.$attrs),[t.renderSlot(i.$slots,"default")],16),t.createElementVNode("span",{class:"d-none",ref_key:"$tooltipContent",ref:a},[t.renderSlot(i.$slots,"content",{},()=>[t.createTextVNode(t.toDisplayString(e.title),1)])],512)],64))}}),Lc=t.defineComponent({name:"TaskIcon",__name:"TaskIcon",props:{customIcon:{},cls:{},theme:{},icons:{},onlyIcon:{type:Boolean},variable:{}},setup(e){const n=e,o=t.computed(()=>`data:image/svg+xml;base64,${a.value}`),l=t.computed(()=>({flowable:i.value?i.value.flowable:!1})),r=t.computed(()=>({backgroundImage:`url(${o.value})`})),a=t.computed(()=>{let c=i.value&&i.value.icon?window.atob(i.value.icon):void 0;c||(c='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="0.75em" height="1em" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 384 512"><path d="M288 32H0v448h384V128l-96-96zm64 416H32V64h224l96 96v288z" fill="currentColor"/></svg>');const u=document.getElementsByTagName("html")[0].className.indexOf("dark")>=0;let d=Ne(u?"--bs-gray-900":"--bs-black")??"#FFFFFF";return n.theme&&(d=(n.theme==="dark"?Ne("--bs-gray-900"):Ne("--bs-black"))??d),n.variable&&(d=Ne(n.variable)??d),c=c.replace(/currentColor/g,d),window.btoa(c)}),i=t.computed(()=>n.cls?(n.icons||{})[s(n.cls)]:n.customIcon);function s(c){return c.includes("$")?c.substring(0,c.indexOf("$")):c}return(c,u)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass([l.value,"wrapper"])},[e.onlyIcon?(t.openBlock(),t.createElementBlock("div",{key:1,class:"icon",style:t.normalizeStyle(r.value)},null,4)):(t.openBlock(),t.createBlock(j,{key:0,title:e.cls},{default:t.withCtx(()=>[t.createElementVNode("div",{class:"icon",style:t.normalizeStyle(r.value)},null,4)]),_:1},8,["title"]))],2))}}),zn=A(Lc,[["__scopeId","data-v-23f8d853"]]),Bc={name:"OpenInNewIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Vc=["aria-hidden","aria-label"],Tc=["fill","width","height"],Ic={d:"M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z"},$c={key:0};function Ac(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon open-in-new-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Ic,[o.title?(t.openBlock(),t.createElementBlock("title",$c,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Tc))],16,Vc)}const Al=A(Bc,[["render",Ac]]),Dc={name:"ArrowExpandAllIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Oc=["aria-hidden","aria-label"],xc=["fill","width","height"],Pc={d:"M9.5,13.09L10.91,14.5L6.41,19H10V21H3V14H5V17.59L9.5,13.09M10.91,9.5L9.5,10.91L5,6.41V10H3V3H10V5H6.41L10.91,9.5M14.5,13.09L19,17.59V14H21V21H14V19H17.59L13.09,14.5L14.5,13.09M13.09,9.5L17.59,5H14V3H21V10H19V6.41L14.5,10.91L13.09,9.5Z"},Rc={key:0};function Mc(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon arrow-expand-all-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Pc,[o.title?(t.openBlock(),t.createElementBlock("title",Rc,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,xc))],16,Oc)}const Fc=A(Dc,[["render",Mc]]),Uc={class:"dependency-text d-flex flex-column flex-grow-1"},Hc={class:"dependency-flow-text text-truncate"},zc={class:"dependency-namespace-text text-truncate"},Wc={class:"text-white top-button-div"},jc=t.defineComponent({name:"Dependencies",inheritAttrs:!1,__name:"DependenciesNode",props:{data:{type:Object,required:!0},sourcePosition:{type:String,required:!0},targetPosition:{type:String,required:!0},id:{type:String,required:!0}},emits:[b.EVENTS.EXPAND_DEPENDENCIES,b.EVENTS.OPEN_LINK,b.EVENTS.MOUSE_OVER,b.EVENTS.MOUSE_LEAVE],setup(e,{emit:n}){const o=n,{t:l}=yt(),r=t.computed(()=>window.btoa(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="25" viewBox="0 0 24 25" fill="none">
1
+ "use strict";var Tr=Object.create;var io=Object.defineProperty;var $r=Object.getOwnPropertyDescriptor;var Ir=Object.getOwnPropertyNames;var Ar=Object.getPrototypeOf,Dr=Object.prototype.hasOwnProperty;var Or=(t,n,o,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of Ir(n))!Dr.call(t,r)&&r!==o&&io(t,r,{get:()=>n[r],enumerable:!(l=$r(n,r))||l.enumerable});return t};var xr=(t,n,o)=>(o=t!=null?Tr(Ar(t)):{},Or(n||!t||!t.__esModule?io(o,"default",{value:t,enumerable:!0}):o,t));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ge=require("yaml"),b=require("./VueFlowUtils-CLCIuGav.cjs"),W=require("./FlowYamlUtils-CAwjZu0s.cjs"),e=require("vue"),oe=require("@vue-flow/core"),an=require("@vue-flow/controls"),sn=require("moment"),Pr=require("@popperjs/core");function Rr(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const l=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(n,o,l.get?l:{enumerable:!0,get:()=>t[o]})}}return n.default=t,Object.freeze(n)}const cn=Rr(e),Mr={lineWidth:0},so=["tasks","triggers","errors","finally","afterExecution","pluginDefaults"],Fr={stringify:W.stringify,parse:W.parse,pairsToMap:W.pairsToMap,extractTask(t,n){for(const o of so){const l=W.extractBlock({source:t,section:o,key:n});if(l)return l}},_extractTask(t,n,o){function l(a){if(a){if(a instanceof Ge.YAMLMap&&a.get("type")!==void 0&&n===a.get("id"))return o?o(a):a;if(a.items)for(const[i,s]of a.items.entries()){let c;if(s instanceof Ge.YAMLMap?c=l(s):c=l(s.value),c&&(o&&(a instanceof Ge.YAMLMap?a.set(s.key.value,c):a.items[i]=c),!o&&c))return c}}}const r=l(t.contents);if(r!==void 0)return o?new Ge.Document(r):new Ge.Document(r)},replaceTaskInDocument(t,n,o,l="tasks",r="id"){return W.replaceBlockInDocument({source:t,section:l,keyName:r,key:n,newContent:o})},sort:W.sort,getAllCharts:W.getAllCharts,getChartAtPosition:W.getChartAtPosition,localizeElementAtIndex:W.localizeElementAtIndex,getTaskType:W.getTypeAtPosition,swapTasks(t,n,o){const l=Ge.parseDocument(t),r=this._extractTask(l,n),a=this._extractTask(l,o);return Ge.visit(l,{Pair(i,s){if(s.key.value==="dependsOn"&&s.value.items.map(c=>c.value).includes(o))throw{message:"dependency task",messageOptions:{taskId:o}}}}),this._extractTask(l,n,()=>a),this._extractTask(l,o,()=>r),l.toString(Mr)},insertTask(t,n,o,l,r){return W.insertBlock({source:t,section:"tasks",newBlock:o,refKey:n,position:l,parentKey:r})},insertSection(t,n,o){return W.insertBlock({source:n,section:t,newBlock:o})},insertErrorInFlowable:W.insertErrorInFlowable,deleteSection(t,n,o){return W.deleteBlock({source:t,section:n,key:o})},deleteTask(t,n,o){return(o===b.SECTIONS.TASKS?["tasks","errors"]:["triggers"]).reduce((r,a)=>W.deleteBlock({source:r,section:a,key:n}),t)},getLastTask(t,n){return W.getLastBlock({source:t,section:"tasks",parentKey:n})},checkTaskAlreadyExist(t,n){return W.checkBlockAlreadyExists({source:t,section:"tasks",newContent:n,keyName:"id"})},isParentChildrenRelation(t,n,o){return W.isParentChildrenRelation({source:t,sections:so,key1:n,key2:o,keyName:"id"})},replaceIdAndNamespace:W.replaceIdAndNamespace,updateMetadata:W.updateMetadata,cleanMetadata:W.cleanMetadata,getMetadata:W.getMetadata,deleteMetadata:W.deleteMetadata,flowHaveTasks:W.flowHaveTasks,extractPluginDefault:W.extractPluginDefault,replacePluginDefaultsInDocument:W.replacePluginDefaultsInDocument,deletePluginDefaults:W.deletePluginDefaults,extractFieldFromMaps:W.extractFieldFromMaps,getVersionAtPosition:W.getVersionAtPosition},_e=t=>{const n=document.querySelector(":root");return(n?getComputedStyle(n):null)?.getPropertyValue(t)};var Ur=b.requireMapValues();const St=W.getDefaultExportFromCjs(Ur),A=(t,n)=>{const o=t.__vccOpts||t;for(const[l,r]of n)o[l]=r;return o},Hr={name:"PauseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},zr=["aria-hidden","aria-label"],Wr=["fill","width","height"],jr={d:"M15,16H13V8H15M11,16H9V8H11M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},Gr={key:0};function Kr(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon pause-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",jr,[o.title?(e.openBlock(),e.createElementBlock("title",Gr,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Wr))],16,zr)}const co=A(Hr,[["render",Kr]]),Yr={name:"CheckCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},qr=["aria-hidden","aria-label"],Xr=["fill","width","height"],Zr={d:"M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z"},Jr={key:0};function Qr(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon check-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Zr,[o.title?(e.openBlock(),e.createElementBlock("title",Jr,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Xr))],16,qr)}const ea=A(Yr,[["render",Qr]]),ta={name:"PlayCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},na=["aria-hidden","aria-label"],oa=["fill","width","height"],la={d:"M10,16.5V7.5L16,12M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},ra={key:0};function aa(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon play-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",la,[o.title?(e.openBlock(),e.createElementBlock("title",ra,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,oa))],16,na)}const ia=A(ta,[["render",aa]]),sa={name:"CloseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ca=["aria-hidden","aria-label"],ua=["fill","width","height"],da={d:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z"},ma={key:0};function fa(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon close-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",da,[o.title?(e.openBlock(),e.createElementBlock("title",ma,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ua))],16,ca)}const hn=A(sa,[["render",fa]]),pa={name:"StopCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ga=["aria-hidden","aria-label"],ha=["fill","width","height"],Ea={d:"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M9,9H15V15H9"},ka={key:0};function ya(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon stop-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Ea,[o.title?(e.openBlock(),e.createElementBlock("title",ka,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ha))],16,ga)}const va=A(pa,[["render",ya]]),Ca={name:"SkipPreviousCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},_a=["aria-hidden","aria-label"],Na=["fill","width","height"],Sa={d:"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M8,8H10V16H8M16,8V16L11,12"},ba={key:0};function wa(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon skip-previous-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Sa,[o.title?(e.openBlock(),e.createElementBlock("title",ba,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Na))],16,_a)}const La=A(Ca,[["render",wa]]),Ba={name:"AlertCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Va=["aria-hidden","aria-label"],Ta=["fill","width","height"],$a={d:"M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},Ia={key:0};function Aa(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon alert-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",$a,[o.title?(e.openBlock(),e.createElementBlock("title",Ia,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Ta))],16,Va)}const At=A(Ba,[["render",Aa]]),Da={name:"DotsVerticalCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Oa=["aria-hidden","aria-label"],xa=["fill","width","height"],Pa={d:"M2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12M10.5,12A1.5,1.5 0 0,0 12,13.5A1.5,1.5 0 0,0 13.5,12A1.5,1.5 0 0,0 12,10.5A1.5,1.5 0 0,0 10.5,12M10.5,17.5A1.5,1.5 0 0,0 12,19A1.5,1.5 0 0,0 13.5,17.5A1.5,1.5 0 0,0 12,16A1.5,1.5 0 0,0 10.5,17.5M10.5,6.5A1.5,1.5 0 0,0 12,8A1.5,1.5 0 0,0 13.5,6.5A1.5,1.5 0 0,0 12,5A1.5,1.5 0 0,0 10.5,6.5Z"},Ra={key:0};function Ma(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon dots-vertical-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Pa,[o.title?(e.openBlock(),e.createElementBlock("title",Ra,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,xa))],16,Oa)}const Fa=A(Da,[["render",Ma]]),Ua={name:"MotionPauseOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ha=["aria-hidden","aria-label"],za=["fill","width","height"],Wa={d:"M22 12C22 6.46 17.54 2 12 2C10.83 2 9.7 2.19 8.62 2.56L9.32 4.5C10.17 4.16 11.06 3.97 12 3.97C16.41 3.97 20.03 7.59 20.03 12C20.03 16.41 16.41 20.03 12 20.03C7.59 20.03 3.97 16.41 3.97 12C3.97 11.06 4.16 10.12 4.5 9.28L2.56 8.62C2.19 9.7 2 10.83 2 12C2 17.54 6.46 22 12 22C17.54 22 22 17.54 22 12M5.47 7C4.68 7 3.97 6.32 3.97 5.47C3.97 4.68 4.68 3.97 5.47 3.97C6.32 3.97 7 4.68 7 5.47C7 6.32 6.32 7 5.47 7M9 9H11V15H9M13 9H15V15H13"},ja={key:0};function Ga(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon motion-pause-outline-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Wa,[o.title?(e.openBlock(),e.createElementBlock("title",ja,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,za))],16,Ha)}const Ka=A(Ua,[["render",Ga]]),Ya={name:"RefreshIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},qa=["aria-hidden","aria-label"],Xa=["fill","width","height"],Za={d:"M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z"},Ja={key:0};function Qa(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon refresh-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Za,[o.title?(e.openBlock(),e.createElementBlock("title",Ja,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Xa))],16,qa)}const uo=A(Ya,[["render",Qa]]),ei={name:"CancelIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ti=["aria-hidden","aria-label"],ni=["fill","width","height"],oi={d:"M12 2C17.5 2 22 6.5 22 12S17.5 22 12 22 2 17.5 2 12 6.5 2 12 2M12 4C10.1 4 8.4 4.6 7.1 5.7L18.3 16.9C19.3 15.5 20 13.8 20 12C20 7.6 16.4 4 12 4M16.9 18.3L5.7 7.1C4.6 8.4 4 10.1 4 12C4 16.4 7.6 20 12 20C13.9 20 15.6 19.4 16.9 18.3Z"},li={key:0};function ri(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon cancel-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",oi,[o.title?(e.openBlock(),e.createElementBlock("title",li,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ni))],16,ti)}const mo=A(ei,[["render",ri]]),ai=["ERROR","WARN","INFO","DEBUG","TRACE"],z=Object.freeze({CREATED:{name:"CREATED",color:"#1761FD",colorClass:"cyan",icon:Fa,isRunning:!0,isKillable:!0,isFailed:!1},RESTARTED:{name:"RESTARTED",color:"#1761FD",colorClass:"cyan",icon:La,isRunning:!1,isKillable:!0,isFailed:!1},SUCCESS:{name:"SUCCESS",color:"#029E73",colorClass:"green",icon:ea,isRunning:!1,isKillable:!1,isFailed:!1},RUNNING:{name:"RUNNING",color:"#8405FF",colorClass:"purple",icon:ia,isRunning:!0,isKillable:!0,isFailed:!1},KILLING:{name:"KILLING",color:"#FCE07C",colorClass:"yellow",icon:hn,isRunning:!0,isKillable:!0,isFailed:!0},KILLED:{name:"KILLED",color:"#FCE07C",colorClass:"yellow",icon:va,isRunning:!1,isKillable:!1,isFailed:!0},WARNING:{name:"WARNING",color:"#DD5F00",colorClass:"orange",icon:At,isRunning:!1,isKillable:!1,isFailed:!0},FAILED:{name:"FAILED",color:"#AB0009",colorClass:"red",icon:hn,isRunning:!1,isKillable:!1,isFailed:!0},PAUSED:{name:"PAUSED",color:"#918BA9",colorClass:"indigo",icon:co,isRunning:!0,isKillable:!0,isFailed:!1},CANCELLED:{name:"CANCELLED",color:"#918BA9",colorClass:"gray",icon:mo,isRunning:!1,isKillable:!1,isFailed:!0},SKIPPED:{name:"SKIPPED",color:"#918BA9",colorClass:"gray",icon:mo,isRunning:!1,isKillable:!1,isFailed:!0},QUEUED:{name:"QUEUED",color:"#918BA9",colorClass:"gray",icon:Ka,isRunning:!1,isKillable:!1,isFailed:!1},RETRYING:{name:"RETRYING",color:"#918BA9",colorClass:"gray",icon:uo,isRunning:!1,isKillable:!0,isFailed:!1},RETRIED:{name:"RETRIED",color:"#918BA9",colorClass:"gray",icon:uo,isRunning:!1,isKillable:!1,isFailed:!1},BREAKPOINT:{name:"BREAKPOINT",color:"#918BA9",colorClass:"gray",icon:co,isRunning:!1,isKillable:!1,isFailed:!1}});class ne{static get CREATED(){return z.CREATED.name}static get RESTARTED(){return z.RESTARTED.name}static get SUCCESS(){return z.SUCCESS.name}static get RUNNING(){return z.RUNNING.name}static get KILLING(){return z.KILLING.name}static get KILLED(){return z.KILLED.name}static get FAILED(){return z.FAILED.name}static get WARNING(){return z.WARNING.name}static get PAUSED(){return z.PAUSED.name}static get CANCELLED(){return z.CANCELLED.name}static get SKIPPED(){return z.SKIPPED.name}static get QUEUED(){return z.QUEUED.name}static get RETRYING(){return z.RETRYING.name}static get RETRIED(){return z.RETRIED.name}static get BREAKPOINT(){return z.BREAKPOINT.name}static isRunning(n){return z[n]&&z[n].isRunning}static isKillable(n){return z[n]&&z[n].isKillable}static isPaused(n){return z[n]&&z[n]===z.PAUSED}static isFailed(n){return z[n]&&z[n].isFailed}static isQueued(n){return z[n]&&z[n]===z.QUEUED}static allStates(){return St(z,n=>({key:n.name,icon:n.icon,color:""}))}static arrayAllStates(){return Object.values(z)}static colorClass(){return St(z,n=>n.colorClass)}static color(){return St(z,n=>_e("--bs-"+n.colorClass))}static getStateColor(n){return z[n].color}static icon(){return St(z,n=>n.icon)}static getTerminatedStates(){return Object.values(z).filter(n=>!n.isRunning).map(n=>n.name)}}let bt;async function ii(){if(bt)return bt;const t=await Promise.resolve().then(()=>require("./useMarkdownParser-cPr4eWCu.cjs"));return bt=await(t.default??t)(),bt}var $t={exports:{}},si=$t.exports,fo;function ci(){return fo||(fo=1,(function(t,n){(function(o,l,r){t.exports=r(),t.exports.default=r()})("slugify",si,function(){var o=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),l=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function r(a,i){if(typeof a!="string")throw new Error("slugify: string argument expected");i=typeof i=="string"?{replacement:i}:i||{};var s=l[i.locale]||{},c=i.replacement===void 0?"-":i.replacement,u=i.trim===void 0?!0:i.trim,d=a.normalize().split("").reduce(function(h,f){var k=s[f];return k===void 0&&(k=o[f]),k===void 0&&(k=f),k===c&&(k=" "),h+k.replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return i.strict&&(d=d.replace(/[^A-Za-z0-9\s]/g,"")),u&&(d=d.trim()),d=d.replace(/\s+/g,c),i.lower&&(d=d.toLowerCase()),d}return r.extend=function(a){Object.assign(o,a)},r})})($t)),$t.exports}var ui=ci();const nl=W.getDefaultExportFromCjs(ui);nl.extend({"(":"-",")":""});function Ce(t){return nl(t,{lower:!0,locale:"en"})}function Dn(t,n){return Array.isArray(n)&&!["categories","controllers","storages","aliases","guides"].includes(t)&&(n.length===0||n[0]?.cls!==void 0)}function Ae(t){const o=(t.title??"").replace(/\.([a-zA-Z])/g,(l,r)=>` ${r.toUpperCase()}`);return o.charAt(0).toUpperCase()+o.slice(1)}function Ht(t){return Object.fromEntries(Object.entries(t).filter(([n,o])=>Dn(n,o)).map(([n,o])=>[n.replace(/[A-Z]/g,l=>` ${l}`),o.filter(({deprecated:l})=>!l).map(({cls:l})=>l)]))}function di(t){return t.flatMap(n=>{const o=Object.entries(n).filter(([l,r])=>Dn(l,r)).map(([l,r])=>[l,r.filter(a=>!a.deprecated)]).filter(([,l])=>l.length>0);return o.length>0?[{...n,...Object.fromEntries(o)}]:[]})}function mi(t){const n={clsToSubgroup:{},clsToPlugin:{},shortNameToCls:{}};for(const o of t??[]){const l=Ht(o),r=o.group??o.name??"",a=Ce(r),i=o.subGroup?Ce(Ae(o)):void 0;Object.values(l).forEach(s=>{s.forEach(c=>{i&&(n.clsToSubgroup[c]=i),n.clsToPlugin[c]={slug:a,raw:r};const u=(c.split(".").pop()??c).toLowerCase();n.shortNameToCls[u]=n.shortNameToCls[u]??[],n.shortNameToCls[u].includes(c)||n.shortNameToCls[u].push(c)})})}return n}function ol(t){const n=e.computed(()=>{const l=e.isRef(t)?t.value:t;return l?Ht(l):{}}),o=e.computed(()=>Object.values(n.value).reduce((l,r)=>l+r.length,0));return{elementsByType:n,total:o}}const fi={name:"DotsCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},pi=["aria-hidden","aria-label"],gi=["fill","width","height"],hi={d:"M12 19C13.1 19 14 19.9 14 21S13.1 23 12 23 10 22.1 10 21 10.9 19 12 19M12 1C13.1 1 14 1.9 14 3S13.1 5 12 5 10 4.1 10 3 10.9 1 12 1M6 16C7.1 16 8 16.9 8 18S7.1 20 6 20 4 19.1 4 18 4.9 16 6 16M3 10C4.1 10 5 10.9 5 12S4.1 14 3 14 1 13.1 1 12 1.9 10 3 10M6 4C7.1 4 8 4.9 8 6S7.1 8 6 8 4 7.1 4 6 4.9 4 6 4M18 16C19.1 16 20 16.9 20 18S19.1 20 18 20 16 19.1 16 18 16.9 16 18 16M21 10C22.1 10 23 10.9 23 12S22.1 14 21 14 19 13.1 19 12 19.9 10 21 10M18 4C19.1 4 20 4.9 20 6S19.1 8 18 8 16 7.1 16 6 16.9 4 18 4Z"},Ei={key:0};function ki(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon dots-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",hi,[o.title?(e.openBlock(),e.createElementBlock("title",Ei,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,gi))],16,pi)}const yi=A(fi,[["render",ki]]),vi=e.defineComponent({__name:"RotatingDots",props:{alt:{}},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(yi,{class:"loading-dots-circle",alt:t.alt},null,8,["alt"]))}}),ll=A(vi,[["__scopeId","data-v-a7ad4137"]]);function Te(t,n){typeof console<"u"&&(console.warn("[intlify] "+t),n&&console.warn(n.stack))}const po={};function Ci(t){po[t]||(po[t]=!0,Te(t))}const xe=typeof window<"u";let Ne,qe;if(process.env.NODE_ENV!=="production"){const t=xe&&window.performance;t&&t.mark&&t.measure&&t.clearMarks&&t.clearMeasures&&(Ne=n=>{t.mark(n)},qe=(n,o,l)=>{t.measure(n,o,l),t.clearMarks(o),t.clearMarks(l)})}const _i=/\{([0-9a-zA-Z]+)\}/g;function zt(t,...n){return n.length===1&&Y(n[0])&&(n=n[0]),(!n||!n.hasOwnProperty)&&(n={}),t.replace(_i,(o,l)=>n.hasOwnProperty(l)?n[l]:"")}const Pe=(t,n=!1)=>n?Symbol.for(t):Symbol(t),Ni=(t,n,o)=>Si({l:t,k:n,s:o}),Si=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ce=t=>typeof t=="number"&&isFinite(t),bi=t=>On(t)==="[object Date]",Dt=t=>On(t)==="[object RegExp]",Wt=t=>K(t)&&Object.keys(t).length===0,ue=Object.assign,wi=Object.create,X=(t=null)=>wi(t);let go;const Ke=()=>go||(go=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:X());function ho(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function Eo(t){return t.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Li(t){return t=t.replace(/(\w+)\s*=\s*"([^"]*)"/g,(l,r,a)=>`${r}="${Eo(a)}"`),t=t.replace(/(\w+)\s*=\s*'([^']*)'/g,(l,r,a)=>`${r}='${Eo(a)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(t)&&(process.env.NODE_ENV!=="production"&&Te("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."),t=t.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(l=>{t=t.replace(l,"$1javascript&#58;")}),t}const Bi=Object.prototype.hasOwnProperty;function be(t,n){return Bi.call(t,n)}const ie=Array.isArray,te=t=>typeof t=="function",D=t=>typeof t=="string",ae=t=>typeof t=="boolean",Y=t=>t!==null&&typeof t=="object",Vi=t=>Y(t)&&te(t.then)&&te(t.catch),rl=Object.prototype.toString,On=t=>rl.call(t),K=t=>On(t)==="[object Object]",Ti=t=>t==null?"":ie(t)||K(t)&&t.toString===rl?JSON.stringify(t,null,2):String(t);function xn(t,n=""){return t.reduce((o,l,r)=>r===0?o+l:o+n+l,"")}const ko=2;function $i(t,n=0,o=t.length){const l=t.split(/\r?\n/);let r=0;const a=[];for(let i=0;i<l.length;i++)if(r+=l[i].length+1,r>=n){for(let s=i-ko;s<=i+ko||o>r;s++){if(s<0||s>=l.length)continue;const c=s+1;a.push(`${c}${" ".repeat(3-String(c).length)}| ${l[s]}`);const u=l[s].length;if(s===i){const d=n-(r-u)+1,h=Math.max(1,o>r?u-d:o-n);a.push(" | "+" ".repeat(d)+"^".repeat(h))}else if(s>i){if(o>r){const d=Math.max(Math.min(o-r,u),1);a.push(" | "+"^".repeat(d))}r+=u+1}}break}return a.join(`
2
+ `)}function Ii(){const t=new Map;return{events:t,on(o,l){const r=t.get(o);r&&r.push(l)||t.set(o,[l])},off(o,l){const r=t.get(o);r&&r.splice(r.indexOf(l)>>>0,1)},emit(o,l){(t.get(o)||[]).slice().map(r=>r(l)),(t.get("*")||[]).slice().map(r=>r(o,l))}}}const wt=t=>!Y(t)||ie(t);function It(t,n){if(wt(t)||wt(n))throw new Error("Invalid value");const o=[{src:t,des:n}];for(;o.length;){const{src:l,des:r}=o.pop();Object.keys(l).forEach(a=>{a!=="__proto__"&&(Y(l[a])&&!Y(r[a])&&(r[a]=Array.isArray(l[a])?[]:X()),wt(r[a])||wt(l[a])?r[a]=l[a]:o.push({src:l[a],des:r[a]}))})}}function Ai(t,n,o){return{line:t,column:n,offset:o}}function En(t,n,o){return{start:t,end:n}}const M={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},Di=17,Oi={[M.EXPECTED_TOKEN]:"Expected token: '{0}'",[M.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[M.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[M.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[M.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[M.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[M.EMPTY_PLACEHOLDER]:"Empty placeholder",[M.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[M.INVALID_LINKED_FORMAT]:"Invalid linked format",[M.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[M.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[M.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[M.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[M.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[M.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function at(t,n,o={}){const{domain:l,messages:r,args:a}=o,i=process.env.NODE_ENV!=="production"?zt((r||Oi)[t]||"",...a||[]):t,s=new SyntaxError(String(i));return s.code=t,n&&(s.location=n),s.domain=l,s}function xi(t){throw t}const Pi=/<\/?[\w\s="/.':;#-\/]+>/,Ri=t=>Pi.test(t),Le=" ",Mi="\r",fe=`
3
+ `,Fi="\u2028",Ui="\u2029";function Hi(t){const n=t;let o=0,l=1,r=1,a=0;const i=C=>n[C]===Mi&&n[C+1]===fe,s=C=>n[C]===fe,c=C=>n[C]===Ui,u=C=>n[C]===Fi,d=C=>i(C)||s(C)||c(C)||u(C),h=()=>o,f=()=>l,k=()=>r,T=()=>a,E=C=>i(C)||c(C)||u(C)?fe:n[C],N=()=>E(o),m=()=>E(o+a);function y(){return a=0,d(o)&&(l++,r=0),i(o)&&o++,o++,r++,n[o]}function S(){return i(o+a)&&a++,a++,n[o+a]}function _(){o=0,l=1,r=1,a=0}function w(C=0){a=C}function $(){const C=o+a;for(;C!==o;)y();a=0}return{index:h,line:f,column:k,peekOffset:T,charAt:E,currentChar:N,currentPeek:m,next:y,peek:S,reset:_,resetPeek:w,skipToPeek:$}}const Ie=void 0,zi=".",yo="'",Wi="tokenizer";function ji(t,n={}){const o=n.location!==!1,l=Hi(t),r=()=>l.index(),a=()=>Ai(l.line(),l.column(),l.index()),i=a(),s=r(),c={currentType:13,offset:s,startLoc:i,endLoc:i,lastType:13,lastOffset:s,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},u=()=>c,{onError:d}=n;function h(p,g,L,...O){const ee=u();if(g.column+=L,g.offset+=L,d){const le=o?En(ee.startLoc,g):null,G=at(p,le,{domain:Wi,args:O});d(G)}}function f(p,g,L){p.endLoc=a(),p.currentType=g;const O={type:g};return o&&(O.loc=En(p.startLoc,p.endLoc)),L!=null&&(O.value=L),O}const k=p=>f(p,13);function T(p,g){return p.currentChar()===g?(p.next(),g):(h(M.EXPECTED_TOKEN,a(),0,g),"")}function E(p){let g="";for(;p.currentPeek()===Le||p.currentPeek()===fe;)g+=p.currentPeek(),p.peek();return g}function N(p){const g=E(p);return p.skipToPeek(),g}function m(p){if(p===Ie)return!1;const g=p.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g===95}function y(p){if(p===Ie)return!1;const g=p.charCodeAt(0);return g>=48&&g<=57}function S(p,g){const{currentType:L}=g;if(L!==2)return!1;E(p);const O=m(p.currentPeek());return p.resetPeek(),O}function _(p,g){const{currentType:L}=g;if(L!==2)return!1;E(p);const O=p.currentPeek()==="-"?p.peek():p.currentPeek(),ee=y(O);return p.resetPeek(),ee}function w(p,g){const{currentType:L}=g;if(L!==2)return!1;E(p);const O=p.currentPeek()===yo;return p.resetPeek(),O}function $(p,g){const{currentType:L}=g;if(L!==7)return!1;E(p);const O=p.currentPeek()===".";return p.resetPeek(),O}function C(p,g){const{currentType:L}=g;if(L!==8)return!1;E(p);const O=m(p.currentPeek());return p.resetPeek(),O}function R(p,g){const{currentType:L}=g;if(!(L===7||L===11))return!1;E(p);const O=p.currentPeek()===":";return p.resetPeek(),O}function U(p,g){const{currentType:L}=g;if(L!==9)return!1;const O=()=>{const le=p.currentPeek();return le==="{"?m(p.peek()):le==="@"||le==="|"||le===":"||le==="."||le===Le||!le?!1:le===fe?(p.peek(),O()):ge(p,!1)},ee=O();return p.resetPeek(),ee}function Q(p){E(p);const g=p.currentPeek()==="|";return p.resetPeek(),g}function ge(p,g=!0){const L=(ee=!1,le="")=>{const G=p.currentPeek();return G==="{"||G==="@"||!G?ee:G==="|"?!(le===Le||le===fe):G===Le?(p.peek(),L(!0,Le)):G===fe?(p.peek(),L(!0,fe)):!0},O=L();return g&&p.resetPeek(),O}function Z(p,g){const L=p.currentChar();return L===Ie?Ie:g(L)?(p.next(),L):null}function Re(p){const g=p.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g>=48&&g<=57||g===95||g===36}function Je(p){return Z(p,Re)}function x(p){const g=p.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g>=48&&g<=57||g===95||g===36||g===45}function I(p){return Z(p,x)}function H(p){const g=p.charCodeAt(0);return g>=48&&g<=57}function P(p){return Z(p,H)}function $e(p){const g=p.charCodeAt(0);return g>=48&&g<=57||g>=65&&g<=70||g>=97&&g<=102}function me(p){return Z(p,$e)}function He(p){let g="",L="";for(;g=P(p);)L+=g;return L}function Zt(p){let g="";for(;;){const L=p.currentChar();if(L==="{"||L==="}"||L==="@"||L==="|"||!L)break;if(L===Le||L===fe)if(ge(p))g+=L,p.next();else{if(Q(p))break;g+=L,p.next()}else g+=L,p.next()}return g}function Jt(p){N(p);let g="",L="";for(;g=I(p);)L+=g;const O=p.currentChar();if(O&&O!=="}"&&O!==Ie&&O!==Le&&O!==fe&&O!==" "){const ee=_t(p);return h(M.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,L+ee),L+ee}return p.currentChar()===Ie&&h(M.UNTERMINATED_CLOSING_BRACE,a(),0),L}function Qt(p){N(p);let g="";return p.currentChar()==="-"?(p.next(),g+=`-${He(p)}`):g+=He(p),p.currentChar()===Ie&&h(M.UNTERMINATED_CLOSING_BRACE,a(),0),g}function en(p){return p!==yo&&p!==fe}function ro(p){N(p),T(p,"'");let g="",L="";for(;g=Z(p,en);)g==="\\"?L+=tn(p):L+=g;const O=p.currentChar();return O===fe||O===Ie?(h(M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),O===fe&&(p.next(),T(p,"'")),L):(T(p,"'"),L)}function tn(p){const g=p.currentChar();switch(g){case"\\":case"'":return p.next(),`\\${g}`;case"u":return Ct(p,g,4);case"U":return Ct(p,g,6);default:return h(M.UNKNOWN_ESCAPE_SEQUENCE,a(),0,g),""}}function Ct(p,g,L){T(p,g);let O="";for(let ee=0;ee<L;ee++){const le=me(p);if(!le){h(M.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${g}${O}${p.currentChar()}`);break}O+=le}return`\\${g}${O}`}function nn(p){return p!=="{"&&p!=="}"&&p!==Le&&p!==fe}function _t(p){N(p);let g="",L="";for(;g=Z(p,nn);)L+=g;return L}function on(p){let g="",L="";for(;g=Je(p);)L+=g;return L}function ln(p){const g=L=>{const O=p.currentChar();return O==="{"||O==="@"||O==="|"||O==="("||O===")"||!O||O===Le?L:(L+=O,p.next(),g(L))};return g("")}function ct(p){N(p);const g=T(p,"|");return N(p),g}function ut(p,g){let L=null;switch(p.currentChar()){case"{":return g.braceNest>=1&&h(M.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),p.next(),L=f(g,2,"{"),N(p),g.braceNest++,L;case"}":return g.braceNest>0&&g.currentType===2&&h(M.EMPTY_PLACEHOLDER,a(),0),p.next(),L=f(g,3,"}"),g.braceNest--,g.braceNest>0&&N(p),g.inLinked&&g.braceNest===0&&(g.inLinked=!1),L;case"@":return g.braceNest>0&&h(M.UNTERMINATED_CLOSING_BRACE,a(),0),L=ze(p,g)||k(g),g.braceNest=0,L;default:{let ee=!0,le=!0,G=!0;if(Q(p))return g.braceNest>0&&h(M.UNTERMINATED_CLOSING_BRACE,a(),0),L=f(g,1,ct(p)),g.braceNest=0,g.inLinked=!1,L;if(g.braceNest>0&&(g.currentType===4||g.currentType===5||g.currentType===6))return h(M.UNTERMINATED_CLOSING_BRACE,a(),0),g.braceNest=0,dt(p,g);if(ee=S(p,g))return L=f(g,4,Jt(p)),N(p),L;if(le=_(p,g))return L=f(g,5,Qt(p)),N(p),L;if(G=w(p,g))return L=f(g,6,ro(p)),N(p),L;if(!ee&&!le&&!G)return L=f(g,12,_t(p)),h(M.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,L.value),N(p),L;break}}return L}function ze(p,g){const{currentType:L}=g;let O=null;const ee=p.currentChar();switch((L===7||L===8||L===11||L===9)&&(ee===fe||ee===Le)&&h(M.INVALID_LINKED_FORMAT,a(),0),ee){case"@":return p.next(),O=f(g,7,"@"),g.inLinked=!0,O;case".":return N(p),p.next(),f(g,8,".");case":":return N(p),p.next(),f(g,9,":");default:return Q(p)?(O=f(g,1,ct(p)),g.braceNest=0,g.inLinked=!1,O):$(p,g)||R(p,g)?(N(p),ze(p,g)):C(p,g)?(N(p),f(g,11,on(p))):U(p,g)?(N(p),ee==="{"?ut(p,g)||O:f(g,10,ln(p))):(L===7&&h(M.INVALID_LINKED_FORMAT,a(),0),g.braceNest=0,g.inLinked=!1,dt(p,g))}}function dt(p,g){let L={type:13};if(g.braceNest>0)return ut(p,g)||k(g);if(g.inLinked)return ze(p,g)||k(g);switch(p.currentChar()){case"{":return ut(p,g)||k(g);case"}":return h(M.UNBALANCED_CLOSING_BRACE,a(),0),p.next(),f(g,3,"}");case"@":return ze(p,g)||k(g);default:{if(Q(p))return L=f(g,1,ct(p)),g.braceNest=0,g.inLinked=!1,L;if(ge(p))return f(g,0,Zt(p));break}}return L}function rn(){const{currentType:p,offset:g,startLoc:L,endLoc:O}=c;return c.lastType=p,c.lastOffset=g,c.lastStartLoc=L,c.lastEndLoc=O,c.offset=r(),c.startLoc=a(),l.currentChar()===Ie?f(c,13):dt(l,c)}return{nextToken:rn,currentOffset:r,currentPosition:a,context:u}}const Gi="parser",Ki=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Yi(t,n,o){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const l=parseInt(n||o,16);return l<=55295||l>=57344?String.fromCodePoint(l):"�"}}}function qi(t={}){const n=t.location!==!1,{onError:o}=t;function l(m,y,S,_,...w){const $=m.currentPosition();if($.offset+=_,$.column+=_,o){const C=n?En(S,$):null,R=at(y,C,{domain:Gi,args:w});o(R)}}function r(m,y,S){const _={type:m};return n&&(_.start=y,_.end=y,_.loc={start:S,end:S}),_}function a(m,y,S,_){n&&(m.end=y,m.loc&&(m.loc.end=S))}function i(m,y){const S=m.context(),_=r(3,S.offset,S.startLoc);return _.value=y,a(_,m.currentOffset(),m.currentPosition()),_}function s(m,y){const S=m.context(),{lastOffset:_,lastStartLoc:w}=S,$=r(5,_,w);return $.index=parseInt(y,10),m.nextToken(),a($,m.currentOffset(),m.currentPosition()),$}function c(m,y){const S=m.context(),{lastOffset:_,lastStartLoc:w}=S,$=r(4,_,w);return $.key=y,m.nextToken(),a($,m.currentOffset(),m.currentPosition()),$}function u(m,y){const S=m.context(),{lastOffset:_,lastStartLoc:w}=S,$=r(9,_,w);return $.value=y.replace(Ki,Yi),m.nextToken(),a($,m.currentOffset(),m.currentPosition()),$}function d(m){const y=m.nextToken(),S=m.context(),{lastOffset:_,lastStartLoc:w}=S,$=r(8,_,w);return y.type!==11?(l(m,M.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),$.value="",a($,_,w),{nextConsumeToken:y,node:$}):(y.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Be(y)),$.value=y.value||"",a($,m.currentOffset(),m.currentPosition()),{node:$})}function h(m,y){const S=m.context(),_=r(7,S.offset,S.startLoc);return _.value=y,a(_,m.currentOffset(),m.currentPosition()),_}function f(m){const y=m.context(),S=r(6,y.offset,y.startLoc);let _=m.nextToken();if(_.type===8){const w=d(m);S.modifier=w.node,_=w.nextConsumeToken||m.nextToken()}switch(_.type!==9&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Be(_)),_=m.nextToken(),_.type===2&&(_=m.nextToken()),_.type){case 10:_.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Be(_)),S.key=h(m,_.value||"");break;case 4:_.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Be(_)),S.key=c(m,_.value||"");break;case 5:_.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Be(_)),S.key=s(m,_.value||"");break;case 6:_.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Be(_)),S.key=u(m,_.value||"");break;default:{l(m,M.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const w=m.context(),$=r(7,w.offset,w.startLoc);return $.value="",a($,w.offset,w.startLoc),S.key=$,a(S,w.offset,w.startLoc),{nextConsumeToken:_,node:S}}}return a(S,m.currentOffset(),m.currentPosition()),{node:S}}function k(m){const y=m.context(),S=y.currentType===1?m.currentOffset():y.offset,_=y.currentType===1?y.endLoc:y.startLoc,w=r(2,S,_);w.items=[];let $=null;do{const U=$||m.nextToken();switch($=null,U.type){case 0:U.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Be(U)),w.items.push(i(m,U.value||""));break;case 5:U.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Be(U)),w.items.push(s(m,U.value||""));break;case 4:U.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Be(U)),w.items.push(c(m,U.value||""));break;case 6:U.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Be(U)),w.items.push(u(m,U.value||""));break;case 7:{const Q=f(m);w.items.push(Q.node),$=Q.nextConsumeToken||null;break}}}while(y.currentType!==13&&y.currentType!==1);const C=y.currentType===1?y.lastOffset:m.currentOffset(),R=y.currentType===1?y.lastEndLoc:m.currentPosition();return a(w,C,R),w}function T(m,y,S,_){const w=m.context();let $=_.items.length===0;const C=r(1,y,S);C.cases=[],C.cases.push(_);do{const R=k(m);$||($=R.items.length===0),C.cases.push(R)}while(w.currentType!==13);return $&&l(m,M.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),a(C,m.currentOffset(),m.currentPosition()),C}function E(m){const y=m.context(),{offset:S,startLoc:_}=y,w=k(m);return y.currentType===13?w:T(m,S,_,w)}function N(m){const y=ji(m,ue({},t)),S=y.context(),_=r(0,S.offset,S.startLoc);return n&&_.loc&&(_.loc.source=m),_.body=E(y),t.onCacheKey&&(_.cacheKey=t.onCacheKey(m)),S.currentType!==13&&l(y,M.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,m[S.offset]||""),a(_,y.currentOffset(),y.currentPosition()),_}return{parse:N}}function Be(t){if(t.type===13)return"EOF";const n=(t.value||"").replace(/\r?\n/gu,"\\n");return n.length>10?n.slice(0,9)+"…":n}function Xi(t,n={}){const o={ast:t,helpers:new Set};return{context:()=>o,helper:a=>(o.helpers.add(a),a)}}function vo(t,n){for(let o=0;o<t.length;o++)Pn(t[o],n)}function Pn(t,n){switch(t.type){case 1:vo(t.cases,n),n.helper("plural");break;case 2:vo(t.items,n);break;case 6:{Pn(t.key,n),n.helper("linked"),n.helper("type");break}case 5:n.helper("interpolate"),n.helper("list");break;case 4:n.helper("interpolate"),n.helper("named");break}}function Zi(t,n={}){const o=Xi(t);o.helper("normalize"),t.body&&Pn(t.body,o);const l=o.context();t.helpers=Array.from(l.helpers)}function Ji(t){const n=t.body;return n.type===2?Co(n):n.cases.forEach(o=>Co(o)),t}function Co(t){if(t.items.length===1){const n=t.items[0];(n.type===3||n.type===9)&&(t.static=n.value,delete n.value)}else{const n=[];for(let o=0;o<t.items.length;o++){const l=t.items[o];if(!(l.type===3||l.type===9)||l.value==null)break;n.push(l.value)}if(n.length===t.items.length){t.static=xn(n);for(let o=0;o<t.items.length;o++){const l=t.items[o];(l.type===3||l.type===9)&&delete l.value}}}}const Qi="minifier";function nt(t){switch(t.t=t.type,t.type){case 0:{const n=t;nt(n.body),n.b=n.body,delete n.body;break}case 1:{const n=t,o=n.cases;for(let l=0;l<o.length;l++)nt(o[l]);n.c=o,delete n.cases;break}case 2:{const n=t,o=n.items;for(let l=0;l<o.length;l++)nt(o[l]);n.i=o,delete n.items,n.static&&(n.s=n.static,delete n.static);break}case 3:case 9:case 8:case 7:{const n=t;n.value&&(n.v=n.value,delete n.value);break}case 6:{const n=t;nt(n.key),n.k=n.key,delete n.key,n.modifier&&(nt(n.modifier),n.m=n.modifier,delete n.modifier);break}case 5:{const n=t;n.i=n.index,delete n.index;break}case 4:{const n=t;n.k=n.key,delete n.key;break}default:if(process.env.NODE_ENV!=="production")throw at(M.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Qi,args:[t.type]})}delete t.type}const es="parser";function ts(t,n){const{filename:o,breakLineCode:l,needIndent:r}=n,a=n.location!==!1,i={filename:o,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:l,needIndent:r,indentLevel:0};a&&t.loc&&(i.source=t.loc.source);const s=()=>i;function c(E,N){i.code+=E}function u(E,N=!0){const m=N?l:"";c(r?m+" ".repeat(E):m)}function d(E=!0){const N=++i.indentLevel;E&&u(N)}function h(E=!0){const N=--i.indentLevel;E&&u(N)}function f(){u(i.indentLevel)}return{context:s,push:c,indent:d,deindent:h,newline:f,helper:E=>`_${E}`,needIndent:()=>i.needIndent}}function ns(t,n){const{helper:o}=t;t.push(`${o("linked")}(`),rt(t,n.key),n.modifier?(t.push(", "),rt(t,n.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function os(t,n){const{helper:o,needIndent:l}=t;t.push(`${o("normalize")}([`),t.indent(l());const r=n.items.length;for(let a=0;a<r&&(rt(t,n.items[a]),a!==r-1);a++)t.push(", ");t.deindent(l()),t.push("])")}function ls(t,n){const{helper:o,needIndent:l}=t;if(n.cases.length>1){t.push(`${o("plural")}([`),t.indent(l());const r=n.cases.length;for(let a=0;a<r&&(rt(t,n.cases[a]),a!==r-1);a++)t.push(", ");t.deindent(l()),t.push("])")}}function rs(t,n){n.body?rt(t,n.body):t.push("null")}function rt(t,n){const{helper:o}=t;switch(n.type){case 0:rs(t,n);break;case 1:ls(t,n);break;case 2:os(t,n);break;case 6:ns(t,n);break;case 8:t.push(JSON.stringify(n.value),n);break;case 7:t.push(JSON.stringify(n.value),n);break;case 5:t.push(`${o("interpolate")}(${o("list")}(${n.index}))`,n);break;case 4:t.push(`${o("interpolate")}(${o("named")}(${JSON.stringify(n.key)}))`,n);break;case 9:t.push(JSON.stringify(n.value),n);break;case 3:t.push(JSON.stringify(n.value),n);break;default:if(process.env.NODE_ENV!=="production")throw at(M.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:es,args:[n.type]})}}const as=(t,n={})=>{const o=D(n.mode)?n.mode:"normal",l=D(n.filename)?n.filename:"message.intl";n.sourceMap;const r=n.breakLineCode!=null?n.breakLineCode:o==="arrow"?";":`
4
+ `,a=n.needIndent?n.needIndent:o!=="arrow",i=t.helpers||[],s=ts(t,{filename:l,breakLineCode:r,needIndent:a});s.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(a),i.length>0&&(s.push(`const { ${xn(i.map(d=>`${d}: _${d}`),", ")} } = ctx`),s.newline()),s.push("return "),rt(s,t),s.deindent(a),s.push("}"),delete t.helpers;const{code:c,map:u}=s.context();return{ast:t,code:c,map:u?u.toJSON():void 0}};function is(t,n={}){const o=ue({},n),l=!!o.jit,r=!!o.minify,a=o.optimize==null?!0:o.optimize,s=qi(o).parse(t);return l?(a&&Ji(s),r&&nt(s),{ast:s,code:""}):(Zi(s,o),as(s,o))}function ss(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ke().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ke().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function we(t){return Y(t)&&Rn(t)===0&&(be(t,"b")||be(t,"body"))}const al=["b","body"];function cs(t){return Fe(t,al)}const il=["c","cases"];function us(t){return Fe(t,il,[])}const sl=["s","static"];function ds(t){return Fe(t,sl)}const cl=["i","items"];function ms(t){return Fe(t,cl,[])}const ul=["t","type"];function Rn(t){return Fe(t,ul)}const dl=["v","value"];function Lt(t,n){const o=Fe(t,dl);if(o!=null)return o;throw ft(n)}const ml=["m","modifier"];function fs(t){return Fe(t,ml)}const fl=["k","key"];function ps(t){const n=Fe(t,fl);if(n)return n;throw ft(6)}function Fe(t,n,o){for(let l=0;l<n.length;l++){const r=n[l];if(be(t,r)&&t[r]!=null)return t[r]}return o}const pl=[...al,...il,...sl,...cl,...fl,...ml,...dl,...ul];function ft(t){return new Error(`unhandled node type: ${t}`)}function un(t){return o=>gs(o,t)}function gs(t,n){const o=cs(n);if(o==null)throw ft(0);if(Rn(o)===1){const a=us(o);return t.plural(a.reduce((i,s)=>[...i,_o(t,s)],[]))}else return _o(t,o)}function _o(t,n){const o=ds(n);if(o!=null)return t.type==="text"?o:t.normalize([o]);{const l=ms(n).reduce((r,a)=>[...r,kn(t,a)],[]);return t.normalize(l)}}function kn(t,n){const o=Rn(n);switch(o){case 3:return Lt(n,o);case 9:return Lt(n,o);case 4:{const l=n;if(be(l,"k")&&l.k)return t.interpolate(t.named(l.k));if(be(l,"key")&&l.key)return t.interpolate(t.named(l.key));throw ft(o)}case 5:{const l=n;if(be(l,"i")&&ce(l.i))return t.interpolate(t.list(l.i));if(be(l,"index")&&ce(l.index))return t.interpolate(t.list(l.index));throw ft(o)}case 6:{const l=n,r=fs(l),a=ps(l);return t.linked(kn(t,a),r?kn(t,r):void 0,t.type)}case 7:return Lt(n,o);case 8:return Lt(n,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const hs="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Es(t,n){n&&Ri(t)&&Te(zt(hs,{source:t}))}const ks=t=>t;let Bt=X();function ys(t,n={}){let o=!1;const l=n.onError||xi;return n.onError=r=>{o=!0,l(r)},{...is(t,n),detectError:o}}function vs(t,n){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&D(t)){const o=ae(n.warnHtmlMessage)?n.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Es(t,o);const r=(n.onCacheKey||ks)(t),a=Bt[r];if(a)return a;const{ast:i,detectError:s}=ys(t,{...n,location:process.env.NODE_ENV!=="production",jit:!0}),c=un(i);return s?c:Bt[r]=c}else{if(process.env.NODE_ENV!=="production"&&!we(t))return Te(`the message that is resolve with key '${n.key}' is not supported for jit compilation`),(()=>t);const o=t.cacheKey;if(o){const l=Bt[o];return l||(Bt[o]=un(t))}else return un(t)}}let pt=null;function Cs(t){pt=t}function _s(t,n,o){pt&&pt.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:n,meta:o})}const Ns=Ss("function:translate");function Ss(t){return n=>pt&&pt.emit(t,n)}const pe={INVALID_ARGUMENT:Di,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},bs=24;function De(t){return at(t,null,process.env.NODE_ENV!=="production"?{messages:ws}:void 0)}const ws={[pe.INVALID_ARGUMENT]:"Invalid arguments",[pe.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[pe.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[pe.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[pe.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[pe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[pe.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Mn(t,n){return n.locale!=null?No(n.locale):No(t.locale)}let dn;function No(t){if(D(t))return t;if(te(t)){if(t.resolvedOnce&&dn!=null)return dn;if(t.constructor.name==="Function"){const n=t();if(Vi(n))throw De(pe.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return dn=n}else throw De(pe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw De(pe.NOT_SUPPORT_LOCALE_TYPE)}function Ls(t,n,o){return[...new Set([o,...ie(n)?n:Y(n)?Object.keys(n):D(n)?[n]:[o]])]}function gl(t,n,o){const l=D(o)?o:Ot,r=t;r.__localeChainCache||(r.__localeChainCache=new Map);let a=r.__localeChainCache.get(l);if(!a){a=[];let i=[o];for(;ie(i);)i=So(a,i,n);const s=ie(n)||!K(n)?n:n.default?n.default:null;i=D(s)?[s]:s,ie(i)&&So(a,i,!1),r.__localeChainCache.set(l,a)}return a}function So(t,n,o){let l=!0;for(let r=0;r<n.length&&ae(l);r++){const a=n[r];D(a)&&(l=Bs(t,n[r],o))}return l}function Bs(t,n,o){let l;const r=n.split("-");do{const a=r.join("-");l=Vs(t,a,o),r.splice(-1,1)}while(r.length&&l===!0);return l}function Vs(t,n,o){let l=!1;if(!t.includes(n)&&(l=!0,n)){l=n[n.length-1]!=="!";const r=n.replace(/!/g,"");t.push(r),(ie(o)||K(o))&&o[r]&&(l=o[r])}return l}const Ue=[];Ue[0]={w:[0],i:[3,0],"[":[4],o:[7]};Ue[1]={w:[1],".":[2],"[":[4],o:[7]};Ue[2]={w:[2],i:[3,0],0:[3,0]};Ue[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Ue[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Ue[5]={"'":[4,0],o:8,l:[5,0]};Ue[6]={'"':[4,0],o:8,l:[6,0]};const Ts=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function $s(t){return Ts.test(t)}function Is(t){const n=t.charCodeAt(0),o=t.charCodeAt(t.length-1);return n===o&&(n===34||n===39)?t.slice(1,-1):t}function As(t){if(t==null)return"o";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Ds(t){const n=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:$s(n)?Is(n):"*"+n}function Os(t){const n=[];let o=-1,l=0,r=0,a,i,s,c,u,d,h;const f=[];f[0]=()=>{i===void 0?i=s:i+=s},f[1]=()=>{i!==void 0&&(n.push(i),i=void 0)},f[2]=()=>{f[0](),r++},f[3]=()=>{if(r>0)r--,l=4,f[0]();else{if(r=0,i===void 0||(i=Ds(i),i===!1))return!1;f[1]()}};function k(){const T=t[o+1];if(l===5&&T==="'"||l===6&&T==='"')return o++,s="\\"+T,f[0](),!0}for(;l!==null;)if(o++,a=t[o],!(a==="\\"&&k())){if(c=As(a),h=Ue[l],u=h[c]||h.l||8,u===8||(l=u[0],u[1]!==void 0&&(d=f[u[1]],d&&(s=a,d()===!1))))return;if(l===7)return n}}const bo=new Map;function xs(t,n){return Y(t)?t[n]:null}function Ps(t,n){if(!Y(t))return null;let o=bo.get(n);if(o||(o=Os(n),o&&bo.set(n,o)),!o)return null;const l=o.length;let r=t,a=0;for(;a<l;){const i=o[a];if(pl.includes(i)&&we(r))return null;const s=r[i];if(s===void 0||te(r))return null;r=s,a++}return r}const he={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},Rs=8,Ms={[he.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[he.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[he.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[he.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[he.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[he.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[he.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function Xe(t,...n){return zt(Ms[t],...n)}const Fs="11.2.8",jt=-1,Ot="en-US",xt="",wo=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function Us(){return{upper:(t,n)=>n==="text"&&D(t)?t.toUpperCase():n==="vnode"&&Y(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,n)=>n==="text"&&D(t)?t.toLowerCase():n==="vnode"&&Y(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,n)=>n==="text"&&D(t)?wo(t):n==="vnode"&&Y(t)&&"__v_isVNode"in t?wo(t.children):t}}let hl;function Hs(t){hl=t}let El;function zs(t){El=t}let kl;function Ws(t){kl=t}let yl=null;const js=t=>{yl=t},Gs=()=>yl;let vl=null;const Lo=t=>{vl=t},Ks=()=>vl;let Bo=0;function Ys(t={}){const n=te(t.onWarn)?t.onWarn:Te,o=D(t.version)?t.version:Fs,l=D(t.locale)||te(t.locale)?t.locale:Ot,r=te(l)?Ot:l,a=ie(t.fallbackLocale)||K(t.fallbackLocale)||D(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:r,i=K(t.messages)?t.messages:mn(r),s=K(t.datetimeFormats)?t.datetimeFormats:mn(r),c=K(t.numberFormats)?t.numberFormats:mn(r),u=ue(X(),t.modifiers,Us()),d=t.pluralRules||X(),h=te(t.missing)?t.missing:null,f=ae(t.missingWarn)||Dt(t.missingWarn)?t.missingWarn:!0,k=ae(t.fallbackWarn)||Dt(t.fallbackWarn)?t.fallbackWarn:!0,T=!!t.fallbackFormat,E=!!t.unresolving,N=te(t.postTranslation)?t.postTranslation:null,m=K(t.processor)?t.processor:null,y=ae(t.warnHtmlMessage)?t.warnHtmlMessage:!0,S=!!t.escapeParameter,_=te(t.messageCompiler)?t.messageCompiler:hl;process.env.NODE_ENV!=="production"&&te(t.messageCompiler)&&Ci(Xe(he.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const w=te(t.messageResolver)?t.messageResolver:El||xs,$=te(t.localeFallbacker)?t.localeFallbacker:kl||Ls,C=Y(t.fallbackContext)?t.fallbackContext:void 0,R=t,U=Y(R.__datetimeFormatters)?R.__datetimeFormatters:new Map,Q=Y(R.__numberFormatters)?R.__numberFormatters:new Map,ge=Y(R.__meta)?R.__meta:{};Bo++;const Z={version:o,cid:Bo,locale:l,fallbackLocale:a,messages:i,modifiers:u,pluralRules:d,missing:h,missingWarn:f,fallbackWarn:k,fallbackFormat:T,unresolving:E,postTranslation:N,processor:m,warnHtmlMessage:y,escapeParameter:S,messageCompiler:_,messageResolver:w,localeFallbacker:$,fallbackContext:C,onWarn:n,__meta:ge};return Z.datetimeFormats=s,Z.numberFormats=c,Z.__datetimeFormatters=U,Z.__numberFormatters=Q,process.env.NODE_ENV!=="production"&&(Z.__v_emitter=R.__v_emitter!=null?R.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&_s(Z,o,ge),Z}const mn=t=>({[t]:X()});function Gt(t,n){return t instanceof RegExp?t.test(n):t}function Cl(t,n){return t instanceof RegExp?t.test(n):t}function Fn(t,n,o,l,r){const{missing:a,onWarn:i}=t;if(process.env.NODE_ENV!=="production"){const s=t.__v_emitter;s&&s.emit("missing",{locale:o,key:n,type:r,groupId:`${r}:${n}`})}if(a!==null){const s=a(t,o,n,r);return D(s)?s:n}else return process.env.NODE_ENV!=="production"&&Cl(l,n)&&i(Xe(he.NOT_FOUND_KEY,{key:n,locale:o})),n}function mt(t,n,o){const l=t;l.__localeChainCache=new Map,t.localeFallbacker(t,o,n)}function _l(t,n){return t===n?!1:t.split("-")[0]===n.split("-")[0]}function qs(t,n){const o=n.indexOf(t);if(o===-1)return!1;for(let l=o+1;l<n.length;l++)if(_l(t,n[l]))return!0;return!1}const Vo=typeof Intl<"u",Nl={dateTimeFormat:Vo&&typeof Intl.DateTimeFormat<"u",numberFormat:Vo&&typeof Intl.NumberFormat<"u"};function To(t,...n){const{datetimeFormats:o,unresolving:l,fallbackLocale:r,onWarn:a,localeFallbacker:i}=t,{__datetimeFormatters:s}=t;if(process.env.NODE_ENV!=="production"&&!Nl.dateTimeFormat)return a(Xe(he.CANNOT_FORMAT_DATE)),xt;const[c,u,d,h]=yn(...n),f=ae(d.missingWarn)?d.missingWarn:t.missingWarn,k=ae(d.fallbackWarn)?d.fallbackWarn:t.fallbackWarn,T=!!d.part,E=Mn(t,d),N=i(t,r,E);if(!D(c)||c==="")return new Intl.DateTimeFormat(E,h).format(u);let m={},y,S=null,_=E,w=null;const $="datetime format";for(let U=0;U<N.length;U++){if(y=w=N[U],process.env.NODE_ENV!=="production"&&E!==y&&Gt(k,c)&&a(Xe(he.FALLBACK_TO_DATE_FORMAT,{key:c,target:y})),process.env.NODE_ENV!=="production"&&E!==y){const Q=t.__v_emitter;Q&&Q.emit("fallback",{type:$,key:c,from:_,to:w,groupId:`${$}:${c}`})}if(m=o[y]||{},S=m[c],K(S))break;Fn(t,c,y,f,$),_=w}if(!K(S)||!D(y))return l?jt:c;let C=`${y}__${c}`;Wt(h)||(C=`${C}__${JSON.stringify(h)}`);let R=s.get(C);return R||(R=new Intl.DateTimeFormat(y,ue({},S,h)),s.set(C,R)),T?R.formatToParts(u):R.format(u)}const Sl=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function yn(...t){const[n,o,l,r]=t,a=X();let i=X(),s;if(D(n)){const c=n.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!c)throw De(pe.INVALID_ISO_DATE_ARGUMENT);const u=c[3]?c[3].trim().startsWith("T")?`${c[1].trim()}${c[3].trim()}`:`${c[1].trim()}T${c[3].trim()}`:c[1].trim();s=new Date(u);try{s.toISOString()}catch{throw De(pe.INVALID_ISO_DATE_ARGUMENT)}}else if(bi(n)){if(isNaN(n.getTime()))throw De(pe.INVALID_DATE_ARGUMENT);s=n}else if(ce(n))s=n;else throw De(pe.INVALID_ARGUMENT);return D(o)?a.key=o:K(o)&&Object.keys(o).forEach(c=>{Sl.includes(c)?i[c]=o[c]:a[c]=o[c]}),D(l)?a.locale=l:K(l)&&(i=l),K(r)&&(i=r),[a.key||"",s,a,i]}function $o(t,n,o){const l=t;for(const r in o){const a=`${n}__${r}`;l.__datetimeFormatters.has(a)&&l.__datetimeFormatters.delete(a)}}function Io(t,...n){const{numberFormats:o,unresolving:l,fallbackLocale:r,onWarn:a,localeFallbacker:i}=t,{__numberFormatters:s}=t;if(process.env.NODE_ENV!=="production"&&!Nl.numberFormat)return a(Xe(he.CANNOT_FORMAT_NUMBER)),xt;const[c,u,d,h]=vn(...n),f=ae(d.missingWarn)?d.missingWarn:t.missingWarn,k=ae(d.fallbackWarn)?d.fallbackWarn:t.fallbackWarn,T=!!d.part,E=Mn(t,d),N=i(t,r,E);if(!D(c)||c==="")return new Intl.NumberFormat(E,h).format(u);let m={},y,S=null,_=E,w=null;const $="number format";for(let U=0;U<N.length;U++){if(y=w=N[U],process.env.NODE_ENV!=="production"&&E!==y&&Gt(k,c)&&a(Xe(he.FALLBACK_TO_NUMBER_FORMAT,{key:c,target:y})),process.env.NODE_ENV!=="production"&&E!==y){const Q=t.__v_emitter;Q&&Q.emit("fallback",{type:$,key:c,from:_,to:w,groupId:`${$}:${c}`})}if(m=o[y]||{},S=m[c],K(S))break;Fn(t,c,y,f,$),_=w}if(!K(S)||!D(y))return l?jt:c;let C=`${y}__${c}`;Wt(h)||(C=`${C}__${JSON.stringify(h)}`);let R=s.get(C);return R||(R=new Intl.NumberFormat(y,ue({},S,h)),s.set(C,R)),T?R.formatToParts(u):R.format(u)}const bl=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function vn(...t){const[n,o,l,r]=t,a=X();let i=X();if(!ce(n))throw De(pe.INVALID_ARGUMENT);const s=n;return D(o)?a.key=o:K(o)&&Object.keys(o).forEach(c=>{bl.includes(c)?i[c]=o[c]:a[c]=o[c]}),D(l)?a.locale=l:K(l)&&(i=l),K(r)&&(i=r),[a.key||"",s,a,i]}function Ao(t,n,o){const l=t;for(const r in o){const a=`${n}__${r}`;l.__numberFormatters.has(a)&&l.__numberFormatters.delete(a)}}const Xs=t=>t,Zs=t=>"",Js="text",Qs=t=>t.length===0?"":xn(t),ec=Ti;function Do(t,n){return t=Math.abs(t),n===2?t?t>1?1:0:1:t?Math.min(t,2):0}function tc(t){const n=ce(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(ce(t.named.count)||ce(t.named.n))?ce(t.named.count)?t.named.count:ce(t.named.n)?t.named.n:n:n}function nc(t,n){n.count||(n.count=t),n.n||(n.n=t)}function oc(t={}){const n=t.locale,o=tc(t),l=Y(t.pluralRules)&&D(n)&&te(t.pluralRules[n])?t.pluralRules[n]:Do,r=Y(t.pluralRules)&&D(n)&&te(t.pluralRules[n])?Do:void 0,a=m=>m[l(o,m.length,r)],i=t.list||[],s=m=>i[m],c=t.named||X();ce(t.pluralIndex)&&nc(o,c);const u=m=>c[m];function d(m,y){const S=te(t.messages)?t.messages(m,!!y):Y(t.messages)?t.messages[m]:!1;return S||(t.parent?t.parent.message(m):Zs)}const h=m=>t.modifiers?t.modifiers[m]:Xs,f=K(t.processor)&&te(t.processor.normalize)?t.processor.normalize:Qs,k=K(t.processor)&&te(t.processor.interpolate)?t.processor.interpolate:ec,T=K(t.processor)&&D(t.processor.type)?t.processor.type:Js,N={list:s,named:u,plural:a,linked:(m,...y)=>{const[S,_]=y;let w="text",$="";y.length===1?Y(S)?($=S.modifier||$,w=S.type||w):D(S)&&($=S||$):y.length===2&&(D(S)&&($=S||$),D(_)&&(w=_||w));const C=d(m,!0)(N),R=w==="vnode"&&ie(C)&&$?C[0]:C;return $?h($)(R,w):R},message:d,type:T,interpolate:k,normalize:f,values:ue(X(),i,c)};return N}const Oo=()=>"",Se=t=>te(t);function xo(t,...n){const{fallbackFormat:o,postTranslation:l,unresolving:r,messageCompiler:a,fallbackLocale:i,messages:s}=t,[c,u]=Cn(...n),d=ae(u.missingWarn)?u.missingWarn:t.missingWarn,h=ae(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn,f=ae(u.escapeParameter)?u.escapeParameter:t.escapeParameter,k=!!u.resolvedMessage,T=D(u.default)||ae(u.default)?ae(u.default)?a?c:()=>c:u.default:o?a?c:()=>c:null,E=o||T!=null&&(D(T)||te(T)),N=Mn(t,u);f&&lc(u);let[m,y,S]=k?[c,N,s[N]||X()]:wl(t,c,N,i,h,d),_=m,w=c;if(!k&&!(D(_)||we(_)||Se(_))&&E&&(_=T,w=_),!k&&(!(D(_)||we(_)||Se(_))||!D(y)))return r?jt:c;if(process.env.NODE_ENV!=="production"&&D(_)&&t.messageCompiler==null)return Te(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${c}'.`),c;let $=!1;const C=()=>{$=!0},R=Se(_)?_:Ll(t,c,y,_,w,C);if($)return _;const U=sc(t,y,S,u),Q=oc(U),ge=rc(t,R,Q);let Z=l?l(ge,c):ge;if(f&&D(Z)&&(Z=Li(Z)),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const Re={timestamp:Date.now(),key:D(c)?c:Se(_)?_.key:"",locale:y||(Se(_)?_.locale:""),format:D(_)?_:Se(_)?_.source:"",message:Z};Re.meta=ue({},t.__meta,Gs()||{}),Ns(Re)}return Z}function lc(t){ie(t.list)?t.list=t.list.map(n=>D(n)?ho(n):n):Y(t.named)&&Object.keys(t.named).forEach(n=>{D(t.named[n])&&(t.named[n]=ho(t.named[n]))})}function wl(t,n,o,l,r,a){const{messages:i,onWarn:s,messageResolver:c,localeFallbacker:u}=t,d=u(t,l,o);let h=X(),f,k=null,T=o,E=null;const N="translate";for(let m=0;m<d.length;m++){if(f=E=d[m],process.env.NODE_ENV!=="production"&&o!==f&&!_l(o,f)&&Gt(r,n)&&s(Xe(he.FALLBACK_TO_TRANSLATE,{key:n,target:f})),process.env.NODE_ENV!=="production"&&o!==f){const w=t.__v_emitter;w&&w.emit("fallback",{type:N,key:n,from:T,to:E,groupId:`${N}:${n}`})}h=i[f]||X();let y=null,S,_;if(process.env.NODE_ENV!=="production"&&xe&&(y=window.performance.now(),S="intlify-message-resolve-start",_="intlify-message-resolve-end",Ne&&Ne(S)),(k=c(h,n))===null&&(k=h[n]),process.env.NODE_ENV!=="production"&&xe){const w=window.performance.now(),$=t.__v_emitter;$&&y&&k&&$.emit("message-resolve",{type:"message-resolve",key:n,message:k,time:w-y,groupId:`${N}:${n}`}),S&&_&&Ne&&qe&&(Ne(_),qe("intlify message resolve",S,_))}if(D(k)||we(k)||Se(k))break;if(!qs(f,d)){const w=Fn(t,n,f,a,N);w!==n&&(k=w)}T=E}return[k,f,h]}function Ll(t,n,o,l,r,a){const{messageCompiler:i,warnHtmlMessage:s}=t;if(Se(l)){const f=l;return f.locale=f.locale||o,f.key=f.key||n,f}if(i==null){const f=(()=>l);return f.locale=o,f.key=n,f}let c=null,u,d;process.env.NODE_ENV!=="production"&&xe&&(c=window.performance.now(),u="intlify-message-compilation-start",d="intlify-message-compilation-end",Ne&&Ne(u));const h=i(l,ac(t,o,r,l,s,a));if(process.env.NODE_ENV!=="production"&&xe){const f=window.performance.now(),k=t.__v_emitter;k&&c&&k.emit("message-compilation",{type:"message-compilation",message:l,time:f-c,groupId:`translate:${n}`}),u&&d&&Ne&&qe&&(Ne(d),qe("intlify message compilation",u,d))}return h.locale=o,h.key=n,h.source=l,h}function rc(t,n,o){let l=null,r,a;process.env.NODE_ENV!=="production"&&xe&&(l=window.performance.now(),r="intlify-message-evaluation-start",a="intlify-message-evaluation-end",Ne&&Ne(r));const i=n(o);if(process.env.NODE_ENV!=="production"&&xe){const s=window.performance.now(),c=t.__v_emitter;c&&l&&c.emit("message-evaluation",{type:"message-evaluation",value:i,time:s-l,groupId:`translate:${n.key}`}),r&&a&&Ne&&qe&&(Ne(a),qe("intlify message evaluation",r,a))}return i}function Cn(...t){const[n,o,l]=t,r=X();if(!D(n)&&!ce(n)&&!Se(n)&&!we(n))throw De(pe.INVALID_ARGUMENT);const a=ce(n)?String(n):(Se(n),n);return ce(o)?r.plural=o:D(o)?r.default=o:K(o)&&!Wt(o)?r.named=o:ie(o)&&(r.list=o),ce(l)?r.plural=l:D(l)?r.default=l:K(l)&&ue(r,l),[a,r]}function ac(t,n,o,l,r,a){return{locale:n,key:o,warnHtmlMessage:r,onError:i=>{if(a&&a(i),process.env.NODE_ENV!=="production"){const s=ic(l),c=`Message compilation error: ${i.message}`,u=i.location&&s&&$i(s,i.location.start.offset,i.location.end.offset),d=t.__v_emitter;d&&s&&d.emit("compile-error",{message:s,error:i.message,start:i.location&&i.location.start.offset,end:i.location&&i.location.end.offset,groupId:`translate:${o}`}),console.error(u?`${c}
5
+ ${u}`:c)}else throw i},onCacheKey:i=>Ni(n,o,i)}}function ic(t){if(D(t))return t;if(t.loc&&t.loc.source)return t.loc.source}function sc(t,n,o,l){const{modifiers:r,pluralRules:a,messageResolver:i,fallbackLocale:s,fallbackWarn:c,missingWarn:u,fallbackContext:d}=t,f={locale:n,modifiers:r,pluralRules:a,messages:(k,T)=>{let E=i(o,k);if(E==null&&(d||T)){const[,,N]=wl(d||t,k,n,s,c,u);E=i(N,k)}if(D(E)||we(E)){let N=!1;const y=Ll(t,k,n,E,k,()=>{N=!0});return N?Oo:y}else return Se(E)?E:Oo}};return t.processor&&(f.processor=t.processor),l.list&&(f.list=l.list),l.named&&(f.named=l.named),ce(l.plural)&&(f.pluralIndex=l.plural),f}ss();const cc="11.2.8";function uc(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Ke().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Ke().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ke().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ke().__INTLIFY_PROD_DEVTOOLS__=!1)}const de={UNEXPECTED_RETURN_TYPE:bs,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function gt(t,...n){return at(t,null,process.env.NODE_ENV!=="production"?{messages:dc,args:n}:void 0)}const dc={[de.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[de.INVALID_ARGUMENT]:"Invalid argument",[de.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[de.NOT_INSTALLED]:"Need to install with `app.use` function",[de.UNEXPECTED_ERROR]:"Unexpected error",[de.REQUIRED_VALUE]:"Required in value: {0}",[de.INVALID_VALUE]:"Invalid value",[de.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[de.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[de.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[de.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},_n=Pe("__translateVNode"),Nn=Pe("__datetimeParts"),Sn=Pe("__numberParts"),bn=Pe("__enableEmitter"),wn=Pe("__disableEmitter"),mc=Pe("__setPluralRules"),Bl=Pe("__injectWithOption"),Ln=Pe("__dispose"),Ve={FALLBACK_TO_ROOT:Rs,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13},fc={[Ve.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Ve.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Ve.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Ve.DEPRECATE_LEGACY_MODE]:`Legacy API mode has been deprecated in v11. Use Composition API mode instead.
6
+ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html`,[Ve.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]:"'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",[Ve.DUPLICATE_USE_I18N_CALLING]:"Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."};function Pt(t,...n){return zt(fc[t],...n)}function ht(t){if(!Y(t)||we(t))return t;for(const n in t)if(be(t,n))if(!n.includes("."))Y(t[n])&&ht(t[n]);else{const o=n.split("."),l=o.length-1;let r=t,a=!1;for(let i=0;i<l;i++){if(o[i]==="__proto__")throw new Error(`unsafe key: ${o[i]}`);if(o[i]in r||(r[o[i]]=X()),!Y(r[o[i]])){process.env.NODE_ENV!=="production"&&Te(Pt(Ve.IGNORE_OBJ_FLATTEN,{key:o[i]})),a=!0;break}r=r[o[i]]}if(a||(we(r)?pl.includes(o[l])||delete t[n]:(r[o[l]]=t[n],delete t[n])),!we(r)){const i=r[o[l]];Y(i)&&ht(i)}}return t}function Vl(t,n){const{messages:o,__i18n:l,messageResolver:r,flatJson:a}=n,i=K(o)?o:ie(l)?X():{[t]:X()};if(ie(l)&&l.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:c,resource:u}=s;c?(i[c]=i[c]||X(),It(u,i[c])):It(u,i)}else D(s)&&It(JSON.parse(s),i)}),r==null&&a)for(const s in i)be(i,s)&&ht(i[s]);return i}function Tl(t){return t.type}function pc(t,n,o){let l=Y(n.messages)?n.messages:X();"__i18nGlobal"in o&&(l=Vl(t.locale.value,{messages:l,__i18n:o.__i18nGlobal}));const r=Object.keys(l);r.length&&r.forEach(a=>{t.mergeLocaleMessage(a,l[a])});{if(Y(n.datetimeFormats)){const a=Object.keys(n.datetimeFormats);a.length&&a.forEach(i=>{t.mergeDateTimeFormat(i,n.datetimeFormats[i])})}if(Y(n.numberFormats)){const a=Object.keys(n.numberFormats);a.length&&a.forEach(i=>{t.mergeNumberFormat(i,n.numberFormats[i])})}}}function Po(t){return e.createVNode(e.Text,null,t,0)}function Un(){const t="currentInstance";return t in cn?cn[t]:cn.getCurrentInstance()}const Ro="__INTLIFY_META__",Mo=()=>[],gc=()=>!1;let Fo=0;function Uo(t){return((n,o,l,r)=>t(o,l,Un()||void 0,r))}const hc=()=>{const t=Un();let n=null;return t&&(n=Tl(t)[Ro])?{[Ro]:n}:null};function Ec(t={}){const{__root:n,__injectWithOption:o}=t,l=n===void 0,r=t.flatJson,a=xe?e.ref:e.shallowRef;let i=ae(t.inheritLocale)?t.inheritLocale:!0;const s=a(n&&i?n.locale.value:D(t.locale)?t.locale:Ot),c=a(n&&i?n.fallbackLocale.value:D(t.fallbackLocale)||ie(t.fallbackLocale)||K(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:s.value),u=a(Vl(s.value,t)),d=a(K(t.datetimeFormats)?t.datetimeFormats:{[s.value]:{}}),h=a(K(t.numberFormats)?t.numberFormats:{[s.value]:{}});let f=n?n.missingWarn:ae(t.missingWarn)||Dt(t.missingWarn)?t.missingWarn:!0,k=n?n.fallbackWarn:ae(t.fallbackWarn)||Dt(t.fallbackWarn)?t.fallbackWarn:!0,T=n?n.fallbackRoot:ae(t.fallbackRoot)?t.fallbackRoot:!0,E=!!t.fallbackFormat,N=te(t.missing)?t.missing:null,m=te(t.missing)?Uo(t.missing):null,y=te(t.postTranslation)?t.postTranslation:null,S=n?n.warnHtmlMessage:ae(t.warnHtmlMessage)?t.warnHtmlMessage:!0,_=!!t.escapeParameter;const w=n?n.modifiers:K(t.modifiers)?t.modifiers:{};let $=t.pluralRules||n&&n.pluralRules,C;C=(()=>{l&&Lo(null);const v={version:cc,locale:s.value,fallbackLocale:c.value,messages:u.value,modifiers:w,pluralRules:$,missing:m===null?void 0:m,missingWarn:f,fallbackWarn:k,fallbackFormat:E,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:S,escapeParameter:_,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};v.datetimeFormats=d.value,v.numberFormats=h.value,v.__datetimeFormatters=K(C)?C.__datetimeFormatters:void 0,v.__numberFormatters=K(C)?C.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(v.__v_emitter=K(C)?C.__v_emitter:void 0);const B=Ys(v);return l&&Lo(B),B})(),mt(C,s.value,c.value);function U(){return[s.value,c.value,u.value,d.value,h.value]}const Q=e.computed({get:()=>s.value,set:v=>{C.locale=v,s.value=v}}),ge=e.computed({get:()=>c.value,set:v=>{C.fallbackLocale=v,c.value=v,mt(C,s.value,v)}}),Z=e.computed(()=>u.value),Re=e.computed(()=>d.value),Je=e.computed(()=>h.value);function x(){return te(y)?y:null}function I(v){y=v,C.postTranslation=v}function H(){return N}function P(v){v!==null&&(m=Uo(v)),N=v,C.missing=m}function $e(v,B){return v!=="translate"||!B.resolvedMessage}const me=(v,B,q,re,We,Nt)=>{U();let Qe;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,l||(C.fallbackContext=n?Ks():void 0),Qe=v(C)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,l||(C.fallbackContext=void 0)}if(q!=="translate exists"&&ce(Qe)&&Qe===jt||q==="translate exists"&&!Qe){const[je,Vr]=B();if(process.env.NODE_ENV!=="production"&&n&&D(je)&&$e(q,Vr)&&(T&&(Gt(k,je)||Cl(f,je))&&Te(Pt(Ve.FALLBACK_TO_ROOT,{key:je,type:q})),process.env.NODE_ENV!=="production")){const{__v_emitter:ao}=C;ao&&T&&ao.emit("fallback",{type:q,key:je,to:"global",groupId:`${q}:${je}`})}return n&&T?re(n):We(je)}else{if(Nt(Qe))return Qe;throw gt(de.UNEXPECTED_RETURN_TYPE)}};function He(...v){return me(B=>Reflect.apply(xo,null,[B,...v]),()=>Cn(...v),"translate",B=>Reflect.apply(B.t,B,[...v]),B=>B,B=>D(B))}function Zt(...v){const[B,q,re]=v;if(re&&!Y(re))throw gt(de.INVALID_ARGUMENT);return He(B,q,ue({resolvedMessage:!0},re||{}))}function Jt(...v){return me(B=>Reflect.apply(To,null,[B,...v]),()=>yn(...v),"datetime format",B=>Reflect.apply(B.d,B,[...v]),()=>xt,B=>D(B)||ie(B))}function Qt(...v){return me(B=>Reflect.apply(Io,null,[B,...v]),()=>vn(...v),"number format",B=>Reflect.apply(B.n,B,[...v]),()=>xt,B=>D(B)||ie(B))}function en(v){return v.map(B=>D(B)||ce(B)||ae(B)?Po(String(B)):B)}const tn={normalize:en,interpolate:v=>v,type:"vnode"};function Ct(...v){return me(B=>{let q;const re=B;try{re.processor=tn,q=Reflect.apply(xo,null,[re,...v])}finally{re.processor=null}return q},()=>Cn(...v),"translate",B=>B[_n](...v),B=>[Po(B)],B=>ie(B))}function nn(...v){return me(B=>Reflect.apply(Io,null,[B,...v]),()=>vn(...v),"number format",B=>B[Sn](...v),Mo,B=>D(B)||ie(B))}function _t(...v){return me(B=>Reflect.apply(To,null,[B,...v]),()=>yn(...v),"datetime format",B=>B[Nn](...v),Mo,B=>D(B)||ie(B))}function on(v){$=v,C.pluralRules=$}function ln(v,B){return me(()=>{if(!v)return!1;const q=D(B)?B:s.value,re=ze(q),We=C.messageResolver(re,v);return we(We)||Se(We)||D(We)},()=>[v],"translate exists",q=>Reflect.apply(q.te,q,[v,B]),gc,q=>ae(q))}function ct(v){let B=null;const q=gl(C,c.value,s.value);for(let re=0;re<q.length;re++){const We=u.value[q[re]]||{},Nt=C.messageResolver(We,v);if(Nt!=null){B=Nt;break}}return B}function ut(v){const B=ct(v);return B??(n?n.tm(v)||{}:{})}function ze(v){return u.value[v]||{}}function dt(v,B){if(r){const q={[v]:B};for(const re in q)be(q,re)&&ht(q[re]);B=q[v]}u.value[v]=B,C.messages=u.value}function rn(v,B){u.value[v]=u.value[v]||{};const q={[v]:B};if(r)for(const re in q)be(q,re)&&ht(q[re]);B=q[v],It(B,u.value[v]),C.messages=u.value}function p(v){return d.value[v]||{}}function g(v,B){d.value[v]=B,C.datetimeFormats=d.value,$o(C,v,B)}function L(v,B){d.value[v]=ue(d.value[v]||{},B),C.datetimeFormats=d.value,$o(C,v,B)}function O(v){return h.value[v]||{}}function ee(v,B){h.value[v]=B,C.numberFormats=h.value,Ao(C,v,B)}function le(v,B){h.value[v]=ue(h.value[v]||{},B),C.numberFormats=h.value,Ao(C,v,B)}Fo++,n&&xe&&(e.watch(n.locale,v=>{i&&(s.value=v,C.locale=v,mt(C,s.value,c.value))}),e.watch(n.fallbackLocale,v=>{i&&(c.value=v,C.fallbackLocale=v,mt(C,s.value,c.value))}));const G={id:Fo,locale:Q,fallbackLocale:ge,get inheritLocale(){return i},set inheritLocale(v){i=v,v&&n&&(s.value=n.locale.value,c.value=n.fallbackLocale.value,mt(C,s.value,c.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:Z,get modifiers(){return w},get pluralRules(){return $||{}},get isGlobal(){return l},get missingWarn(){return f},set missingWarn(v){f=v,C.missingWarn=f},get fallbackWarn(){return k},set fallbackWarn(v){k=v,C.fallbackWarn=k},get fallbackRoot(){return T},set fallbackRoot(v){T=v},get fallbackFormat(){return E},set fallbackFormat(v){E=v,C.fallbackFormat=E},get warnHtmlMessage(){return S},set warnHtmlMessage(v){S=v,C.warnHtmlMessage=v},get escapeParameter(){return _},set escapeParameter(v){_=v,C.escapeParameter=v},t:He,getLocaleMessage:ze,setLocaleMessage:dt,mergeLocaleMessage:rn,getPostTranslationHandler:x,setPostTranslationHandler:I,getMissingHandler:H,setMissingHandler:P,[mc]:on};return G.datetimeFormats=Re,G.numberFormats=Je,G.rt=Zt,G.te=ln,G.tm=ut,G.d=Jt,G.n=Qt,G.getDateTimeFormat=p,G.setDateTimeFormat=g,G.mergeDateTimeFormat=L,G.getNumberFormat=O,G.setNumberFormat=ee,G.mergeNumberFormat=le,G[Bl]=o,G[_n]=Ct,G[Nn]=_t,G[Sn]=nn,process.env.NODE_ENV!=="production"&&(G[bn]=v=>{C.__v_emitter=v},G[wn]=()=>{C.__v_emitter=void 0}),G}function Ho(t,n){}const Hn={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function kc({slots:t},n){return n.length===1&&n[0]==="default"?(t.default?t.default():[]).reduce((l,r)=>[...l,...r.type===e.Fragment?r.children:[r]],[]):n.reduce((o,l)=>{const r=t[l];return r&&(o[l]=r()),o},X())}function $l(){return e.Fragment}ue({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>ce(t)||!isNaN(t)}},Hn);function yc(t){return ie(t)&&!D(t[0])}function Il(t,n,o,l){const{slots:r,attrs:a}=n;return()=>{const i={part:!0};let s=X();t.locale&&(i.locale=t.locale),D(t.format)?i.key=t.format:Y(t.format)&&(D(t.format.key)&&(i.key=t.format.key),s=Object.keys(t.format).reduce((f,k)=>o.includes(k)?ue(X(),f,{[k]:t.format[k]}):f,X()));const c=l(t.value,i,s);let u=[i.key];ie(c)?u=c.map((f,k)=>{const T=r[f.type],E=T?T({[f.type]:f.value,index:k,parts:c}):[f.value];return yc(E)&&(E[0].key=`${f.type}-${k}`),E}):D(c)&&(u=[c]);const d=ue(X(),a),h=D(t.tag)||Y(t.tag)?t.tag:$l();return e.h(h,d,u)}}ue({value:{type:Number,required:!0},format:{type:[String,Object]}},Hn);const vc=Pe("global-vue-i18n");function yt(t={}){const n=Un();if(n==null)throw gt(de.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw gt(de.NOT_INSTALLED);const o=Cc(n),l=Nc(o),r=Tl(n),a=_c(t,r);if(a==="global")return pc(l,t,r),l;if(a==="parent"){let c=Sc(o,n,t.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&Te(Pt(Ve.NOT_FOUND_PARENT_SCOPE)),c=l),c}const i=o;let s=i.__getInstance(n);if(s==null){const c=ue({},t);"__i18n"in r&&(c.__i18n=r.__i18n),l&&(c.__root=l),s=Ec(c),i.__composerExtend&&(s[Ln]=i.__composerExtend(s)),wc(i,n,s),i.__setInstance(n,s)}else process.env.NODE_ENV!=="production"&&a==="local"&&Te(Pt(Ve.DUPLICATE_USE_I18N_CALLING));return s}function Cc(t){const n=e.inject(t.isCE?vc:t.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw gt(t.isCE?de.NOT_INSTALLED_WITH_PROVIDE:de.UNEXPECTED_ERROR);return n}function _c(t,n){return Wt(t)?"__i18n"in n?"local":"global":t.useScope?t.useScope:"local"}function Nc(t){return t.mode==="composition"?t.global:t.global.__composer}function Sc(t,n,o=!1){let l=null;const r=n.root;let a=bc(n,o);for(;a!=null;){const i=t;if(t.mode==="composition")l=i.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const s=i.__getInstance(a);s!=null&&(l=s.__composer,o&&l&&!l[Bl]&&(l=null))}if(l!=null||r===a)break;a=a.parent}return l}function bc(t,n=!1){return t==null?null:n&&t.vnode.ctx||t.parent}function wc(t,n,o){let l=null;e.onMounted(()=>{if(process.env.NODE_ENV!=="production"){n.__VUE_I18N__=o,l=Ii();const r=o;r[bn]&&r[bn](l),l.on("*",Ho)}},n),e.onUnmounted(()=>{const r=o;process.env.NODE_ENV!=="production"&&(l&&l.off("*",Ho),r[wn]&&r[wn](),delete n.__VUE_I18N__),t.__deleteInstance(n);const a=r[Ln];a&&(a(),delete r[Ln])},n)}ue({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Hn);uc();Hs(vs);zs(Ps);Ws(gl);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const t=Ke();t.__INTLIFY__=!0,Cs(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const j=e.defineComponent({__name:"Tooltip",props:{title:{default:void 0},placement:{default:"top"}},setup(t){let n;typeof document<"u"&&(n=import("bootstrap"));const o=t,l=e.ref(),r=e.ref(),a=e.ref();return e.onMounted(async()=>{e.nextTick(async()=>{const i=await n;typeof document<"u"&&r.value&&a.value&&(l.value=new i.Tooltip(r.value,{trigger:"hover",html:!0,placement:o.placement,title:a.value.innerHTML,customClass:"tooltip-custom"}))})}),e.onBeforeUnmount(async()=>{l.value?.dispose()}),(i,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("span",e.mergeProps({ref_key:"$tooltip",ref:r},i.$attrs),[e.renderSlot(i.$slots,"default")],16),e.createElementVNode("span",{class:"d-none",ref_key:"$tooltipContent",ref:a},[e.renderSlot(i.$slots,"content",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)])],512)],64))}}),Lc=e.defineComponent({name:"TaskIcon",__name:"TaskIcon",props:{customIcon:{},cls:{},theme:{},icons:{},onlyIcon:{type:Boolean},variable:{}},setup(t){const n=t,o=e.computed(()=>`data:image/svg+xml;base64,${a.value}`),l=e.computed(()=>({flowable:i.value?i.value.flowable:!1})),r=e.computed(()=>({backgroundImage:`url(${o.value})`})),a=e.computed(()=>{let c=i.value&&i.value.icon?window.atob(i.value.icon):void 0;c||(c='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="0.75em" height="1em" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 384 512"><path d="M288 32H0v448h384V128l-96-96zm64 416H32V64h224l96 96v288z" fill="currentColor"/></svg>');const u=document.getElementsByTagName("html")[0].className.indexOf("dark")>=0;let d=_e(u?"--bs-gray-900":"--bs-black")??"#FFFFFF";return n.theme&&(d=(n.theme==="dark"?_e("--bs-gray-900"):_e("--bs-black"))??d),n.variable&&(d=_e(n.variable)??d),c=c.replace(/currentColor/g,d),window.btoa(c)}),i=e.computed(()=>n.cls?(n.icons||{})[s(n.cls)]:n.customIcon);function s(c){return c.includes("$")?c.substring(0,c.indexOf("$")):c}return(c,u)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([l.value,"wrapper"])},[t.onlyIcon?(e.openBlock(),e.createElementBlock("div",{key:1,class:"icon",style:e.normalizeStyle(r.value)},null,4)):(e.openBlock(),e.createBlock(j,{key:0,title:t.cls},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"icon",style:e.normalizeStyle(r.value)},null,4)]),_:1},8,["title"]))],2))}}),zn=A(Lc,[["__scopeId","data-v-23f8d853"]]),Bc={name:"OpenInNewIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Vc=["aria-hidden","aria-label"],Tc=["fill","width","height"],$c={d:"M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z"},Ic={key:0};function Ac(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon open-in-new-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",$c,[o.title?(e.openBlock(),e.createElementBlock("title",Ic,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Tc))],16,Vc)}const Al=A(Bc,[["render",Ac]]),Dc={name:"ArrowExpandAllIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Oc=["aria-hidden","aria-label"],xc=["fill","width","height"],Pc={d:"M9.5,13.09L10.91,14.5L6.41,19H10V21H3V14H5V17.59L9.5,13.09M10.91,9.5L9.5,10.91L5,6.41V10H3V3H10V5H6.41L10.91,9.5M14.5,13.09L19,17.59V14H21V21H14V19H17.59L13.09,14.5L14.5,13.09M13.09,9.5L17.59,5H14V3H21V10H19V6.41L14.5,10.91L13.09,9.5Z"},Rc={key:0};function Mc(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon arrow-expand-all-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Pc,[o.title?(e.openBlock(),e.createElementBlock("title",Rc,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,xc))],16,Oc)}const Fc=A(Dc,[["render",Mc]]),Uc={class:"dependency-text d-flex flex-column flex-grow-1"},Hc={class:"dependency-flow-text text-truncate"},zc={class:"dependency-namespace-text text-truncate"},Wc={class:"text-white top-button-div"},jc=e.defineComponent({name:"Dependencies",inheritAttrs:!1,__name:"DependenciesNode",props:{data:{type:Object,required:!0},sourcePosition:{type:String,required:!0},targetPosition:{type:String,required:!0},id:{type:String,required:!0}},emits:[b.EVENTS.EXPAND_DEPENDENCIES,b.EVENTS.OPEN_LINK,b.EVENTS.MOUSE_OVER,b.EVENTS.MOUSE_LEAVE],setup(t,{emit:n}){const o=n,{t:l}=yt(),r=e.computed(()=>window.btoa(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="25" viewBox="0 0 24 25" fill="none">
7
7
  <path fill-rule="evenodd" clip-rule="evenodd" d="M4.34546 9.63757C4.74074 10.5277 5.31782 11.3221 6.03835 11.9681L7.03434 10.8209C6.4739 10.3185 6.02504 9.70059 5.71758 9.00824C5.41012 8.3159 5.25111 7.56496 5.25111 6.80532C5.25111 6.04568 5.41012 5.29475 5.71758 4.6024C6.02504 3.91006 6.4739 3.29216 7.03434 2.78977L6.03835 1.64258C5.31782 2.28851 4.74074 3.08293 4.34546 3.97307C3.95019 4.86321 3.74575 5.82867 3.74575 6.80532C3.74575 7.78197 3.95019 8.74744 4.34546 9.63757ZM16.955 4.38931C17.4802 3.97411 18.1261 3.74777 18.7913 3.74576C19.5894 3.74576 20.3547 4.06807 20.919 4.64177C21.4833 5.21548 21.8004 5.9936 21.8004 6.80494C21.8004 7.61628 21.4833 8.3944 20.919 8.96811C20.3547 9.54181 19.5894 9.86412 18.7913 9.86412C18.2559 9.86126 17.7312 9.71144 17.2725 9.43048L12.3325 14.4529L11.2688 13.3715L16.2088 8.34906C16.0668 8.10583 15.9592 7.84348 15.8891 7.56973H11.2688V6.04014H15.8891C16.055 5.38511 16.4298 4.80451 16.955 4.38931ZM17.9555 8.07674C18.2029 8.24482 18.4938 8.33453 18.7913 8.33453C19.1902 8.33412 19.5727 8.17284 19.8548 7.88607C20.1368 7.59931 20.2955 7.21049 20.2959 6.80494C20.2959 6.50241 20.2076 6.20668 20.0423 5.95514C19.877 5.70361 19.642 5.50756 19.3671 5.39178C19.0922 5.27601 18.7897 5.24572 18.4978 5.30474C18.206 5.36376 17.9379 5.50944 17.7275 5.72336C17.5171 5.93727 17.3738 6.20982 17.3157 6.50653C17.2577 6.80324 17.2875 7.11079 17.4014 7.39029C17.5152 7.66978 17.7081 7.90867 17.9555 8.07674ZM3.74621 15.2177V16.7473H7.19606L2.2417 21.7842L3.30539 22.8656L8.25975 17.8287V21.336H9.76427V15.2177H3.74621ZM15.7823 18.2769H12.7733V19.8064H15.7823V22.1008H21.8004V15.9825H15.7823V18.2769ZM17.2868 20.5712V17.5121H20.2959V20.5712H17.2868ZM8.02885 9.67292C7.62863 9.31407 7.30809 8.87275 7.08853 8.37827C6.86897 7.88378 6.75542 7.34747 6.75542 6.80494C6.75542 6.26241 6.86897 5.72609 7.08853 5.23161C7.30809 4.73713 7.62863 4.29581 8.02885 3.93696L9.02484 5.08415C8.78458 5.29946 8.59215 5.5643 8.46034 5.86106C8.32853 6.15782 8.26035 6.47971 8.26035 6.80532C8.26035 7.13094 8.32853 7.45282 8.46034 7.74958C8.59215 8.04634 8.78458 8.31118 9.02484 8.52649L8.02885 9.67292Z" fill="white"/>
8
- </svg>`));return(a,i)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(t.unref(oe.Handle),{type:"source",position:e.sourcePosition},null,8,["position"]),t.createElementVNode("div",{class:t.normalizeClass([[`border-${e.data.color}`],"dependency-node-wrapper rounded-3 border"])},[t.createVNode(zn,{"custom-icon":{icon:r.value},class:"bg-pink rounded",theme:"light"},null,8,["custom-icon"]),t.createElementVNode("div",Uc,[t.createElementVNode("div",Hc,[t.createVNode(j,{title:e.data.flowId},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.data.flowId),1)]),_:1},8,["title"])]),t.createElementVNode("div",zc,[t.createVNode(j,{title:e.data.namespace},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.data.namespace),1)]),_:1},8,["title"])])]),t.createElementVNode("div",Wc,[t.renderSlot(a.$slots,"badge-button-before",{},void 0,!0),e.data.link?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:i[0]||(i[0]=s=>a.$emit(t.unref(b.EVENTS).OPEN_LINK,e.data))},[t.createVNode(j,{title:t.unref(l)("open")},{default:t.withCtx(()=>[t.createVNode(Al,{class:"button-icon",alt:"Open in new tab"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),e.data.expandEnabled?(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:i[1]||(i[1]=s=>o(t.unref(b.EVENTS).EXPAND_DEPENDENCIES,e.data))},[t.createVNode(j,{title:t.unref(l)("expand")},{default:t.withCtx(()=>[t.createVNode(Fc,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),t.renderSlot(a.$slots,"badge-button-after",{},void 0,!0)])],2),t.createVNode(t.unref(oe.Handle),{type:"target",position:e.targetPosition},null,8,["position"])],64))}}),Gc=A(jc,[["__scopeId","data-v-2271d5b0"]]);var Oe=(e=>(e.Lines="lines",e.Dots="dots",e))(Oe||{});const Dl=function({dimensions:e,size:n,color:o}){return t.h("path",{stroke:o,"stroke-width":n,d:`M${e[0]/2} 0 V${e[1]} M0 ${e[1]/2} H${e[0]}`})},Ol=function({radius:e,color:n}){return t.h("circle",{cx:e,cy:e,r:e,fill:n})};Oe.Lines+"",Oe.Dots+"";const Kc={[Oe.Dots]:"#81818a",[Oe.Lines]:"#eee"},Yc=["id","x","y","width","height","patternTransform"],qc={key:2,height:"100",width:"100"},Xc=["fill"],Zc=["x","y","fill"],Jc={name:"Background",compatConfig:{MODE:3}},Qc=t.defineComponent({...Jc,props:{id:{},variant:{default:()=>Oe.Dots},gap:{default:20},size:{default:1},lineWidth:{default:1},patternColor:{},color:{},bgColor:{},height:{default:100},width:{default:100},x:{default:0},y:{default:0},offset:{default:0}},setup(e){const{id:n,viewport:o}=oe.useVueFlow(),l=t.computed(()=>{const i=o.value.zoom,[s,c]=Array.isArray(e.gap)?e.gap:[e.gap,e.gap],u=[s*i||1,c*i||1],d=e.size*i,[h,m]=Array.isArray(e.offset)?e.offset:[e.offset,e.offset],y=[h*i||1+u[0]/2,m*i||1+u[1]/2];return{scaledGap:u,offset:y,size:d}}),r=t.toRef(()=>`pattern-${n}${e.id?`-${e.id}`:""}`),a=t.toRef(()=>e.color||e.patternColor||Kc[e.variant||Oe.Dots]);return(i,s)=>(t.openBlock(),t.createElementBlock("svg",{class:"vue-flow__background vue-flow__container",style:t.normalizeStyle({height:`${i.height>100?100:i.height}%`,width:`${i.width>100?100:i.width}%`})},[t.renderSlot(i.$slots,"pattern-container",{id:r.value},()=>[t.createElementVNode("pattern",{id:r.value,x:t.unref(o).x%l.value.scaledGap[0],y:t.unref(o).y%l.value.scaledGap[1],width:l.value.scaledGap[0],height:l.value.scaledGap[1],patternTransform:`translate(-${l.value.offset[0]},-${l.value.offset[1]})`,patternUnits:"userSpaceOnUse"},[t.renderSlot(i.$slots,"pattern",{},()=>[i.variant===t.unref(Oe).Lines?(t.openBlock(),t.createBlock(t.unref(Dl),{key:0,size:i.lineWidth,color:a.value,dimensions:l.value.scaledGap},null,8,["size","color","dimensions"])):i.variant===t.unref(Oe).Dots?(t.openBlock(),t.createBlock(t.unref(Ol),{key:1,color:a.value,radius:l.value.size/2},null,8,["color","radius"])):t.createCommentVNode("",!0),i.bgColor?(t.openBlock(),t.createElementBlock("svg",qc,[t.createElementVNode("rect",{width:"100%",height:"100%",fill:i.bgColor},null,8,Xc)])):t.createCommentVNode("",!0)])],8,Yc)]),t.createElementVNode("rect",{x:i.x,y:i.y,width:"100%",height:"100%",fill:`url(#${r.value})`},null,8,Zc),t.renderSlot(i.$slots,"default",{id:r.value})],4))}}),eu={name:"ArrowCollapseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},tu=["aria-hidden","aria-label"],nu=["fill","width","height"],ou={d:"M19.5,3.09L15,7.59V4H13V11H20V9H16.41L20.91,4.5L19.5,3.09M4,13V15H7.59L3.09,19.5L4.5,20.91L9,16.41V20H11V13H4Z"},lu={key:0};function ru(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon arrow-collapse-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",ou,[o.title?(t.openBlock(),t.createElementBlock("title",lu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,nu))],16,tu)}const au=A(eu,[["render",ru]]),iu={class:"top-button-div text-white d-flex"},su={inheritAttrs:!1,components:{Tooltip:j},data(){return{tooltips:[]}},computed:{classes(){return{"unused-path":this.data.unused}},clusterName(){const e=this.data.taskNode;if(e?.type?.endsWith("SubflowGraphTask")){const n=e.task.subflowId??e.task;return n.namespace+" "+n.flowId}return b.Utils.afterLastDot(this.id)}}},cu=Object.assign(su,{__name:"ClusterNode",props:{data:{type:Object,default:void 0},sourcePosition:{type:oe.Position,default:void 0},targetPosition:{type:oe.Position,default:void 0},id:{type:String,default:void 0}},emits:[b.EVENTS.COLLAPSE],setup(e,{emit:n}){const o=e,l=n,r=()=>{l(b.EVENTS.COLLAPSE,o.id)};return(a,i)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(a.classes)},[t.createElementVNode("span",{class:t.normalizeClass(["badge rounded-pill text-truncate text-color position-reliative",[`bg-${e.data.color}`]])},t.toDisplayString(a.clusterName),3),t.createElementVNode("div",iu,[e.data.collapsable?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:i[0]||(i[0]=s=>r())},[t.createVNode(j,{title:a.$t("collapse")},{default:t.withCtx(()=>[t.createVNode(au,{class:"button-icon",alt:"Collapse task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0)])],2))}}),uu=A(cu,[["__scopeId","data-v-0c251e77"]]),du={name:"CircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},mu=["aria-hidden","aria-label"],fu=["fill","width","height"],pu={d:"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},gu={key:0};function hu(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",pu,[o.title?(t.openBlock(),t.createElementBlock("title",gu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,fu))],16,mu)}const xl=A(du,[["render",hu]]),Eu={name:"Dot",components:{Handle:oe.Handle,CircleIcon:xl},inheritAttrs:!1,props:{data:{type:Object,required:!0},sourcePosition:{type:String,required:!0},targetPosition:{type:String,required:!0},label:{type:String,default:void 0}},computed:{classes(){return{"unused-path":this.data.unused,[b.Utils.afterLastDot(this.data.node.type)]:!0}}}},ku=Object.assign(Eu,{setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(n.classes)},[t.createVNode(t.unref(oe.Handle),{type:"source",class:"custom-handle",position:e.sourcePosition},null,8,["position"]),t.createElementVNode("div",{class:t.normalizeClass(["dot",n.classes])},[t.createVNode(xl,{class:t.normalizeClass([{"text-danger":e.data.node.branchType==="ERROR"},"circle"]),alt:"circle"},null,8,["class"])],2),t.createVNode(t.unref(oe.Handle),{type:"target",class:"custom-handle",position:e.targetPosition},null,8,["position"])],2))}}),yu=A(ku,[["__scopeId","data-v-666f472b"]]),vu={name:"PlusIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Cu=["aria-hidden","aria-label"],Nu=["fill","width","height"],_u={d:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"},Su={key:0};function bu(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon plus-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",_u,[o.title?(t.openBlock(),t.createElementBlock("title",Su,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Nu))],16,Cu)}const wu=A(vu,[["render",bu]]),Lu={class:"add-task-div rounded d-flex justify-content-center align-items-center"},Bu=t.defineComponent({name:"AddTaskButton",__name:"AddTaskButton",props:{addTask:{type:Boolean}},setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock("div",Lu,[e.addTask?(t.openBlock(),t.createBlock(wu,{key:0,alt:"add task icon"})):t.createCommentVNode("",!0)]))}}),Vu=A(Bu,[["__scopeId","data-v-536dd646"]]),Tu=["id","d","marker-end"],zo=14,Iu=t.defineComponent({inheritAttrs:!1,__name:"EdgeNode",props:{id:{type:String,default:void 0},data:{type:Object,default:void 0},sourceX:{type:Number,default:void 0},sourceY:{type:Number,default:void 0},targetX:{type:Number,default:void 0},targetY:{type:Number,default:void 0},markerEnd:{type:String,default:void 0},sourcePosition:{type:String,default:void 0},targetPosition:{type:String,default:void 0}},setup(e){const n=e,o=t.computed(()=>n.data?{"vue-flow__edge-path":!0,["stroke-"+n.data.color]:n.data.color,"unused-path":n.data.unused}:{});let l=u=>u;try{const{t:u}=yt();l=u}catch{}const r=t.computed(()=>{const{haveAdd:u}=n.data??{};return`${l("add task")} ${u?.length===2?`${l(u[1])} ${u[0]}`:""}`.trim()}),a=t.computed(()=>oe.getSmoothStepPath(n)),i=t.computed(()=>{const u=(n.targetX??0)-(n.sourceX??0),d=(n.targetY??0)-(n.sourceY??0);return Math.abs(d)>=Math.abs(u)}),s=t.computed(()=>{if(!i.value)return 0;const u=n.data?.edgeBoundary;return u==="top"?-zo:u==="bottom"?zo:0}),c=t.computed(()=>0);return(u,d)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[a.value?.length?(t.openBlock(),t.createElementBlock("path",{key:0,id:e.id,class:t.normalizeClass(o.value),style:t.normalizeStyle(e.data.haveDashArray?{strokeDasharray:"2"}:{}),d:a.value[0],"marker-end":e.markerEnd},null,14,Tu)):t.createCommentVNode("",!0),a.value?.length?(t.openBlock(),t.createBlock(t.unref(oe.EdgeLabelRenderer),{key:1,style:{"z-index":"10"}},{default:t.withCtx(()=>[t.createElementVNode("div",{style:t.normalizeStyle({pointerEvents:"all",position:"absolute",transform:`translate(-50%, -50%) translate(${a.value[1]+c.value}px,${a.value[2]+s.value}px)`})},[t.createVNode(j,{title:r.value},{default:t.withCtx(()=>[e.data.haveAdd?(t.openBlock(),t.createBlock(Vu,{key:0,"add-task":!0,onClick:d[0]||(d[0]=h=>u.$emit(t.unref(b.EVENTS).ADD_TASK,e.data.haveAdd)),class:t.normalizeClass({"text-danger":e.data.color})},null,8,["class"])):t.createCommentVNode("",!0)]),_:1},8,["title"])],4)]),_:1})):t.createCommentVNode("",!0)],64))}}),$u=A(Iu,[["__scopeId","data-v-575e9f2a"]]),Au=["innerHTML"],Du=t.defineComponent({__name:"Duration",props:{histories:{}},setup(e){const n=e;t.watch(()=>n.histories,(y,T)=>{y?.[0]?.date?.valueOf()!==T?.[0]?.date?.valueOf()&&s()});const o=t.ref(""),l=t.ref();t.onMounted(()=>{s()});const r=t.computed(()=>n.histories?.[0]?.date?.valueOf()??null),a=t.computed(()=>n.histories?.length?n.histories[n.histories.length-1]:void 0),i=t.computed(()=>n.histories.filter(y=>y.date.isValid()&&y.date&&y.state));function s(){l.value||(l.value=setInterval(()=>{h(),a.value&&!ne.isRunning(a.value.state)&&c()},10))}function c(){l.value&&(clearInterval(l.value),l.value=void 0)}function u(){const y=r.value;return y===null?0:Math.max(0,d()-y)}function d(){return!a.value||ne.isRunning(a.value.state)?+new Date:a.value.date.valueOf()}function h(){o.value=i.value.length===0?"&nbsp;":b.humanDuration(u()/1e3,{maxDecimalPoints:2,units:["h","m","s"]})}function m(y){return"ks-duration-tt-square-"+y.toLowerCase()}return t.onBeforeUnmount(()=>{c()}),(y,T)=>(t.openBlock(),t.createBlock(j,{key:a.value?.date?.valueOf()??y.$t("no_history")},{content:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.value,(k,_)=>(t.openBlock(),t.createElementBlock("span",{key:"tt-"+_,class:"ks-duration-tt"},[t.createElementVNode("span",{class:t.normalizeClass(["ks-duration-tt-square",m(k.state)])},null,2),t.createElementVNode("strong",null,t.toDisplayString(k.state)+": ",1),t.createTextVNode(t.toDisplayString(b.dateFilter(k.date.toISOString(),"iso"))+" ",1),T[0]||(T[0]=t.createElementVNode("br",null,null,-1))]))),128))]),default:t.withCtx(()=>[t.createElementVNode("span",{innerHTML:o.value},null,8,Au)]),_:1}))}}),Ou={class:"btn-group content rounded-1 content-children text-truncate"},xu={key:0,class:"taskRunCount"},Pu={key:1},Ru={key:2},Mu=t.defineComponent({name:"ExecutionInformations",__name:"ExecutionInformations",props:{color:{},uid:{},execution:{},task:{},state:{}},setup(e){const n=e,o=t.computed(()=>n.execution?.taskRunList?n.execution.taskRunList:[]),l=t.computed(()=>o.value.filter(a=>a.taskId===b.afterLastDot(n.uid??""))),r=t.computed(()=>{if(!l.value)return;const a=Math.max(...l.value.filter(s=>s.state.histories&&s.state.histories.length>0).map(s=>new Date(s.state.histories[s.state.histories.length-1].date).getTime())),i=Math.max(...l.value.map(s=>sn.duration(s.state.duration).asMilliseconds()/1e3,0));return[{date:sn(a).subtract(i,"second"),state:"CREATED"},{date:sn(a),state:n.state}]});return(a,i)=>(t.openBlock(),t.createElementBlock("div",Ou,[l.value.length>0?(t.openBlock(),t.createElementBlock("span",xu,t.toDisplayString(l.value.length)+" task runs",1)):t.createCommentVNode("",!0),l.value.length>0?(t.openBlock(),t.createElementBlock("span",Pu," | ")):t.createCommentVNode("",!0),r.value?(t.openBlock(),t.createElementBlock("span",Ru,[t.createVNode(Du,{histories:r.value},null,8,["histories"])])):t.createCommentVNode("",!0)]))}}),Fu=A(Mu,[["__scopeId","data-v-96fa5d6e"]]),Uu={name:"InformationOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Hu=["aria-hidden","aria-label"],zu=["fill","width","height"],Wu={d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M11,17H13V11H11V17Z"},ju={key:0};function Gu(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon information-outline-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Wu,[o.title?(t.openBlock(),t.createElementBlock("title",ju,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,zu))],16,Hu)}const Ku=A(Uu,[["render",Gu]]),Yu={name:"ArrowExpandIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},qu=["aria-hidden","aria-label"],Xu=["fill","width","height"],Zu={d:"M10,21V19H6.41L10.91,14.5L9.5,13.09L5,17.59V14H3V21H10M14.5,10.91L19,6.41V10H21V3H14V5H17.59L13.09,9.5L14.5,10.91Z"},Ju={key:0};function Qu(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon arrow-expand-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Zu,[o.title?(t.openBlock(),t.createElementBlock("title",Ju,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Xu))],16,qu)}const Wn=A(Yu,[["render",Qu]]),ed={class:"main-content"},td={class:"icon rounded"},nd={class:"node-content"},od={class:"d-flex node-title"},ld={class:"text-truncate task-title"},rd={key:0,class:"d-flex"},ad={class:"text-white top-button-div"},id=t.defineComponent({name:"BasicNode",inheritAttrs:!1,__name:"BasicNode",props:{id:{},title:{},type:{},disabled:{type:Boolean},state:{},data:{},icons:{},iconComponent:{},class:{}},emits:[b.EVENTS.EXPAND,b.EVENTS.OPEN_LINK,b.EVENTS.SHOW_LOGS,b.EVENTS.MOUSE_OVER,b.EVENTS.MOUSE_LEAVE,b.EVENTS.ADD_ERROR,b.EVENTS.EDIT,b.EVENTS.DELETE,b.EVENTS.ADD_TASK,b.EVENTS.SHOW_DESCRIPTION],setup(e,{emit:n}){const o=n,l=e;function r(){o(b.EVENTS.MOUSE_OVER,l.data.node)}function a(){o(b.EVENTS.MOUSE_LEAVE)}const i=t.computed(()=>l.data?.expandable||!1),s=t.computed(()=>l.data.node?.plugin??l.data.node?.task??l.data.node?.trigger??null),c=t.computed(()=>s.value?.description??null),u=t.computed(()=>b.Utils.afterLastDot(l.id??"")),d=t.computed(()=>["default","danger"].includes(l.data.color)?"":l.data.color),h=t.computed(()=>[{"unused-path":l.data.unused,disabled:s.value?.disabled||l.data.parent?.taskNode?.task?.disabled},l.class]),m=t.computed(()=>{if(l.data.node.triggerDeclaration)return l.data.node.triggerDeclaration.type;if(s.value)return s.value?.type}),y=t.computed(()=>{if(s.value?.type?.endsWith("SubflowGraphTask")){const k=s.value.subflowId??s.value;return k.namespace+" "+k.flowId}return u.value}),T=t.computed(()=>l.title??u.value);return(k,_)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["node-wrapper rounded-3",{...h.value,"running-border-animation":e.state==="RUNNING"}]),style:t.normalizeStyle({borderColor:e.state?`var(--ks-border-${e.state.toLowerCase()})`:void 0}),onMouseover:r,onMouseleave:a},[t.createElementVNode("div",ed,[t.createElementVNode("div",td,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.iconComponent||zn),{cls:m.value,class:t.normalizeClass([d.value,"rounded bg-white"]),theme:"light",icons:e.icons},null,8,["cls","class","icons"]))]),t.createElementVNode("div",nd,[t.createElementVNode("div",od,[t.createElementVNode("div",ld,[t.createVNode(j,{title:y.value},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(T.value),1)]),_:1},8,["title"])]),c.value?(t.openBlock(),t.createElementBlock("span",rd,[t.createVNode(j,{title:k.$t("show description"),class:"d-flex align-items-center"},{default:t.withCtx(()=>[t.createVNode(Ku,{onClick:_[0]||(_[0]=f=>k.$emit(t.unref(b.EVENTS).SHOW_DESCRIPTION,{id:u.value,description:c.value})),class:"description-button ms-2"})]),_:1},8,["title"])])):t.createCommentVNode("",!0)]),t.renderSlot(k.$slots,"content",{},void 0,!0)]),t.createElementVNode("div",ad,[t.renderSlot(k.$slots,"badge-button-before",{},void 0,!0),e.data.link?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:_[1]||(_[1]=f=>k.$emit(t.unref(b.EVENTS).OPEN_LINK,{link:e.data.link}))},[t.createVNode(j,{title:k.$t("open")},{default:t.withCtx(()=>[t.createVNode(Al,{class:"button-icon",alt:"Open in new tab"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),i.value?(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:_[2]||(_[2]=f=>k.$emit(t.unref(b.EVENTS).EXPAND))},[t.createVNode(j,{title:k.$t("expand")},{default:t.withCtx(()=>[t.createVNode(Wn,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),t.renderSlot(k.$slots,"badge-button-after",{},void 0,!0)])]),t.renderSlot(k.$slots,"details",{},void 0,!0)],38))}}),jn=A(id,[["__scopeId","data-v-bf40c998"]]),Gn=Symbol("execution-injection-key"),Pl=Symbol("subflows-executions-injection-key"),sd={name:"PencilIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},cd=["aria-hidden","aria-label"],ud=["fill","width","height"],dd={d:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"},md={key:0};function fd(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon pencil-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",dd,[o.title?(t.openBlock(),t.createElementBlock("title",md,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ud))],16,cd)}const Kn=A(sd,[["render",fd]]),pd={name:"DeleteIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},gd=["aria-hidden","aria-label"],hd=["fill","width","height"],Ed={d:"M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z"},kd={key:0};function yd(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon delete-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Ed,[o.title?(t.openBlock(),t.createElementBlock("title",kd,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,hd))],16,gd)}const Yn=A(pd,[["render",yd]]),vd={name:"TextBoxSearchIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Cd=["aria-hidden","aria-label"],Nd=["fill","width","height"],_d={d:"M15.5,12C18,12 20,14 20,16.5C20,17.38 19.75,18.21 19.31,18.9L22.39,22L21,23.39L17.88,20.32C17.19,20.75 16.37,21 15.5,21C13,21 11,19 11,16.5C11,14 13,12 15.5,12M15.5,14A2.5,2.5 0 0,0 13,16.5A2.5,2.5 0 0,0 15.5,19A2.5,2.5 0 0,0 18,16.5A2.5,2.5 0 0,0 15.5,14M7,15V17H9C9.14,18.55 9.8,19.94 10.81,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H19A2,2 0 0,1 21,5V13.03C19.85,11.21 17.82,10 15.5,10C14.23,10 13.04,10.37 12.04,11H7V13H10C9.64,13.6 9.34,14.28 9.17,15H7M17,9V7H7V9H17Z"},Sd={key:0};function bd(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon text-box-search-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",_d,[o.title?(t.openBlock(),t.createElementBlock("title",Sd,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Nd))],16,Cd)}const wd=A(vd,[["render",bd]]),Ld={name:"AlertOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Bd=["aria-hidden","aria-label"],Vd=["fill","width","height"],Td={d:"M12,2L1,21H23M12,6L19.53,19H4.47M11,10V14H13V10M11,16V18H13V16"},Id={key:0};function $d(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon alert-outline-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Td,[o.title?(t.openBlock(),t.createElementBlock("title",Id,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Vd))],16,Bd)}const Ad=A(Ld,[["render",$d]]),Dd={name:"SendLockIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Od=["aria-hidden","aria-label"],xd=["fill","width","height"],Pd={d:"M23,18V17.5A2.5,2.5 0 0,0 20.5,15A2.5,2.5 0 0,0 18,17.5V18A1,1 0 0,0 17,19V23A1,1 0 0,0 18,24H23A1,1 0 0,0 24,23V19A1,1 0 0,0 23,18M22,18H19V17.5A1.5,1.5 0 0,1 20.5,16A1.5,1.5 0 0,1 22,17.5V18M23,12L2,21V14L17,12L2,10V3L23,12Z"},Rd={key:0};function Md(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon send-lock-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Pd,[o.title?(t.openBlock(),t.createElementBlock("title",Rd,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,xd))],16,Od)}const Fd=A(Dd,[["render",Md]]),Ud={name:"PlayIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Hd=["aria-hidden","aria-label"],zd=["fill","width","height"],Wd={d:"M8,5.14V19.14L19,12.14L8,5.14Z"},jd={key:0};function Gd(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon play-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Wd,[o.title?(t.openBlock(),t.createElementBlock("title",jd,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,zd))],16,Hd)}const Kd=A(Ud,[["render",Gd]]),Yd={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},qd=["aria-hidden","aria-label"],Xd=["fill","width","height"],Zd={d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"},Jd={key:0};function Qd(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon check-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Zd,[o.title?(t.openBlock(),t.createElementBlock("title",Jd,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Xd))],16,qd)}const Rl=A(Yd,[["render",Qd]]),em={name:"AlertIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},tm=["aria-hidden","aria-label"],nm=["fill","width","height"],om={d:"M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z"},lm={key:0};function rm(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon alert-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",om,[o.title?(t.openBlock(),t.createElementBlock("title",lm,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,nm))],16,tm)}const Kt=A(em,[["render",rm]]),am={name:"SkipForwardIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},im=["aria-hidden","aria-label"],sm=["fill","width","height"],cm={d:"M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12"},um={key:0};function dm(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon skip-forward-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",cm,[o.title?(t.openBlock(),t.createElementBlock("title",um,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,sm))],16,im)}const mm=A(am,[["render",dm]]),fm=t.defineComponent({name:"TaskNode",inheritAttrs:!1,__name:"TaskNode",props:{data:{},sourcePosition:{default:oe.Position.Right},targetPosition:{default:oe.Position.Left},id:{},icons:{default:void 0},iconComponent:{default:void 0},enableSubflowInteraction:{type:Boolean,default:!0},playgroundEnabled:{type:Boolean},playgroundReadyToStart:{type:Boolean}},setup(e,{emit:n}){const o=e,l=n,r=t.inject(Gn),a=t.inject(Pl),i=t.computed(()=>o.data.color??"primary"),s=t.computed(()=>b.Utils.afterLastDot(o.id)),c=t.computed(()=>{const _=o.data.executionId;if(_)return _===r?.value?.id?r?.value:Object.values(a?.value||{}).find(f=>f.id===_)}),u=t.computed(()=>c.value&&c.value.taskRunList?c.value.taskRunList:[]),d=t.computed(()=>u.value.filter(_=>_.taskId===b.Utils.afterLastDot(o.data.node.uid))),h=t.computed(()=>{if(!d.value?.length)return null;if(d.value.length===1)return d.value[0].state.current;const _=d.value.map(S=>S.state.current),f=[ne.FAILED,ne.KILLED,ne.WARNING,ne.SKIPPED,ne.KILLING,ne.RUNNING,ne.SUCCESS,ne.RESTARTED,ne.CREATED];return _.map(S=>[f.indexOf(S[1]),S]).sort().map(S=>S[1])[0]}),m=t.computed(()=>({"execution-no-taskrun":!!(c.value&&d.value&&d.value.length===0)})),y=t.computed(()=>({id:o.id,type:String(o.data.node.task.type)})),T=t.computed(()=>{if(o.data.node.type?.endsWith("SubflowGraphTask")&&o.enableSubflowInteraction){const _=o.data.node.task.subflowId??o.data.node.task;return{...o.data,link:{namespace:_.namespace,id:_.flowId,executionId:c.value?.taskRunList.filter(f=>f.id===o.data.node.taskRun.id&&f.outputs?.executionId)?.[0]?.outputs?.executionId}}}return o.data}),k=t.computed(()=>{if(h.value===ne.RUNNING)return"task is running";if(h.value===ne.SUCCESS)return"task was successful";if(h.value===ne.WARNING)return"task sent a warning";if(h.value===ne.SKIPPED)return"task was skipped";if(h.value===ne.FAILED)return"task failed"});return(_,f)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(t.unref(oe.Handle),{type:"source",position:e.sourcePosition},null,8,["position"]),t.createVNode(jn,{id:e.id,data:T.value,state:h.value,class:t.normalizeClass(m.value),icons:e.icons,"icon-component":e.iconComponent,onShowDescription:f[6]||(f[6]=E=>l(t.unref(b.EVENTS).SHOW_DESCRIPTION,E)),onExpand:f[7]||(f[7]=E=>l(t.unref(b.EVENTS).EXPAND,y.value)),onOpenLink:f[8]||(f[8]=E=>l(t.unref(b.EVENTS).OPEN_LINK,E)),onMouseover:f[9]||(f[9]=E=>l(t.unref(b.EVENTS).MOUSE_OVER,E)),onMouseleave:f[10]||(f[10]=E=>l(t.unref(b.EVENTS).MOUSE_LEAVE))},{details:t.withCtx(()=>[t.renderSlot(_.$slots,"details",{},void 0,!0)]),content:t.withCtx(()=>[c.value?(t.openBlock(),t.createBlock(Fu,{key:0,execution:c.value,task:e.data.node.task,color:i.value,uid:e.data.node.uid,state:h.value},null,8,["execution","task","color","uid","state"])):t.createCommentVNode("",!0),e.data.node.task?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[e.playgroundEnabled&&e.playgroundReadyToStart?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"playground-button",onClick:f[0]||(f[0]=E=>l(t.unref(b.EVENTS).RUN_TASK,{task:e.data.node.task}))},[t.createVNode(j,{style:{display:"flex"},title:_.$t("run task in playground")},{default:t.withCtx(()=>[t.createVNode(Kd,{class:"button-play-icon",alt:_.$t("run task in playground")},null,8,["alt"])]),_:1},8,["title"])])):(t.openBlock(),t.createElementBlock("div",{key:1,class:"playground-button",style:t.normalizeStyle({color:`var(--ks-content-${h.value?.toLowerCase()})`,backgroundColor:`var(--ks-background-${h.value?.toLowerCase()})`})},[t.createVNode(j,{style:{display:"flex"},title:k.value?_.$t(k.value):void 0},{default:t.withCtx(()=>[h.value===t.unref(ne).RUNNING?(t.openBlock(),t.createBlock(ll,{key:0,alt:k.value?_.$t(k.value):void 0},null,8,["alt"])):h.value===t.unref(ne).SUCCESS?(t.openBlock(),t.createBlock(Rl,{key:1,alt:k.value?_.$t(k.value):void 0},null,8,["alt"])):h.value===t.unref(ne).WARNING?(t.openBlock(),t.createBlock(Kt,{key:2,alt:k.value?_.$t(k.value):void 0},null,8,["alt"])):h.value===t.unref(ne).SKIPPED?(t.openBlock(),t.createBlock(mm,{key:3,alt:k.value?_.$t(k.value):void 0},null,8,["alt"])):h.value===t.unref(ne).FAILED?(t.openBlock(),t.createBlock(At,{key:4,alt:k.value?_.$t(k.value):void 0},null,8,["alt"])):t.createCommentVNode("",!0)]),_:1},8,["title"])],4))],64)):t.createCommentVNode("",!0)]),"badge-button-before":t.withCtx(()=>[e.data.node.task&&e.data.node.task.runIf?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",["bg-warning"]]),onClick:f[1]||(f[1]=E=>l(t.unref(b.EVENTS).SHOW_CONDITION,{id:s.value,task:e.data.node.task,section:t.unref(b.SECTIONS).TASKS}))},[t.createVNode(j,{title:_.$t("show task condition")},{default:t.withCtx(()=>[t.createVNode(Fd,{class:"button-icon",alt:"Show condition"})]),_:1},8,["title"])])):t.createCommentVNode("",!0),c.value?(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:f[2]||(f[2]=E=>l(t.unref(b.EVENTS).SHOW_LOGS,{id:s.value,execution:c.value,taskRuns:d.value}))},[t.createVNode(j,{title:_.$t("show task logs")},{default:t.withCtx(()=>[t.createVNode(wd,{class:"button-icon",alt:"Show logs"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),!c.value&&!e.data.isReadOnly&&e.data.isFlowable?(t.openBlock(),t.createElementBlock("span",{key:2,class:t.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:f[3]||(f[3]=E=>l(t.unref(b.EVENTS).ADD_ERROR,{task:e.data.node.task}))},[t.createVNode(j,{title:_.$t("add error handler")},{default:t.withCtx(()=>[t.createVNode(Ad,{class:"button-icon",alt:"Add error handler"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),!c.value&&!e.data.isReadOnly?(t.openBlock(),t.createElementBlock("span",{key:3,class:t.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:f[4]||(f[4]=E=>l(t.unref(b.EVENTS).EDIT,{task:e.data.node.task,section:t.unref(b.SECTIONS).TASKS}))},[t.createVNode(j,{title:_.$t("edit")},{default:t.withCtx(()=>[t.createVNode(Kn,{class:"button-icon",alt:"Edit task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),!c.value&&!e.data.isReadOnly?(t.openBlock(),t.createElementBlock("span",{key:4,class:t.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:f[5]||(f[5]=E=>l(t.unref(b.EVENTS).DELETE,{id:s.value,section:t.unref(b.SECTIONS).TASKS}))},[t.createVNode(j,{title:_.$t("delete")},{default:t.withCtx(()=>[t.createVNode(Yn,{class:"button-icon",alt:"Delete task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0)]),_:3},8,["id","data","state","class","icons","icon-component"]),t.createVNode(t.unref(oe.Handle),{type:"target",position:e.targetPosition},null,8,["position"])],64))}}),pm=A(fm,[["__scopeId","data-v-459a2e06"]]),gm={name:"Task",inheritAttrs:!1,inject:{execution:{from:Gn}},computed:{SECTIONS(){return b.SECTIONS},EVENTS(){return b.EVENTS},color(){return this.data.color??"primary"},formattedData(){return{...this.data,unused:this.data.node?.triggerDeclaration?.disabled||this.data.node?.trigger?.disabled}},triggerId(){return b.Utils.afterLastDot(this.id)}},emits:[b.EVENTS.DELETE,b.EVENTS.EDIT,b.EVENTS.SHOW_DESCRIPTION],components:{Delete:Yn,Pencil:Kn,Handle:oe.Handle,Tooltip:j},props:{data:{type:Object,required:!0},sourcePosition:{type:String,required:!0},targetPosition:{type:String,required:!0},id:{type:String,required:!0},icons:{type:Object,default:void 0},iconComponent:{type:Object,default:void 0}},methods:{forwardEvent(e,n){this.$emit(e,n)}}},hm=Object.assign(gm,{setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(t.unref(oe.Handle),{type:"source",position:e.sourcePosition},null,8,["position"]),t.createVNode(jn,{id:e.id,data:n.formattedData,color:n.color,icons:e.icons,"icon-component":e.iconComponent,onShowDescription:o[2]||(o[2]=l=>n.forwardEvent(t.unref(b.EVENTS).SHOW_DESCRIPTION,l)),onExpand:o[3]||(o[3]=l=>n.forwardEvent(t.unref(b.EVENTS).EXPAND,{id:e.id}))},t.createSlots({_:2},[e.data.isReadOnly?void 0:{name:"badge-button-before",fn:t.withCtx(()=>[n.execution?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",[`bg-${n.color}`]]),onClick:o[0]||(o[0]=l=>n.$emit(t.unref(b.EVENTS).EDIT,{task:e.data.node.triggerDeclaration,section:t.unref(b.SECTIONS).TRIGGERS}))},[t.createVNode(j,{title:n.$t("edit")},{default:t.withCtx(()=>[t.createVNode(Kn,{class:"button-icon",alt:"Edit task"})]),_:1},8,["title"])],2)),n.execution?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(["circle-button",[`bg-${n.color}`]]),onClick:o[1]||(o[1]=l=>n.$emit(t.unref(b.EVENTS).DELETE,{id:n.triggerId,section:t.unref(b.SECTIONS).TRIGGERS}))},[t.createVNode(j,{title:n.$t("delete")},{default:t.withCtx(()=>[t.createVNode(Yn,{class:"button-icon",alt:"Delete task"})]),_:1},8,["title"])],2))]),key:"0"}]),1032,["id","data","color","icons","icon-component"]),t.createVNode(t.unref(oe.Handle),{type:"target",position:e.targetPosition},null,8,["position"])],64))}}),Em={name:"LightningBoltIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},km=["aria-hidden","aria-label"],ym=["fill","width","height"],vm={d:"M11 15H6L13 1V9H18L11 23V15Z"},Cm={key:0};function Nm(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon lightning-bolt-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",vm,[o.title?(t.openBlock(),t.createElementBlock("title",Cm,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ym))],16,km)}const _m=A(Em,[["render",Nm]]),Sm={class:"collapsed-cluster-node d-flex"},bm={class:"node-text"},wm={class:"text-white top-button-div"},Lm={components:{Tooltip:j,Handle:oe.Handle,ArrowExpand:Wn,LightningBolt:_m},inheritAttrs:!1,props:{id:{type:String,default:void 0},sourcePosition:{type:String,required:!0},targetPosition:{type:String,required:!0},data:{type:Object,required:!0}},data(){return{filter:void 0,isOpen:!1}},computed:{EVENTS(){return b.EVENTS},expandable(){return this.data?.expandable||!1},description(){const e=this.data.node.task??this.data.node.trigger??null;return e?e.description??null:null}}},Bm=Object.assign(Lm,{__name:"CollapsedClusterNode",setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(t.unref(oe.Handle),{type:"source",position:e.sourcePosition},null,8,["position"]),t.createElementVNode("div",Sm,[t.createElementVNode("span",bm,[e.data.iconComponent?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.data.iconComponent),{key:0,class:t.normalizeClass(`text-${e.data.color} me-2`)},null,8,["class"])):t.createCommentVNode("",!0),t.createTextVNode(" "+t.toDisplayString(t.unref(b.Utils).afterLastDot(e.id)),1)]),t.createElementVNode("div",wm,[t.renderSlot(n.$slots,"badge-button-before",{},void 0,!0),n.expandable?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:o[0]||(o[0]=l=>n.$emit(t.unref(b.EVENTS).EXPAND,{id:e.id}))},[t.createVNode(j,{title:n.$t("expand")},{default:t.withCtx(()=>[t.createVNode(Wn,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),t.renderSlot(n.$slots,"badge-button-after",{},void 0,!0)])]),t.createVNode(t.unref(oe.Handle),{type:"target",position:e.targetPosition},null,8,["position"])],64))}}),Vm=A(Bm,[["__scopeId","data-v-89413b39"]]),Tm={name:"SplitCellsVerticalIcon",emits:["click"]},Im={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function $m(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("svg",Im,[...n[0]||(n[0]=[t.createElementVNode("g",{"clip-path":"url(#clip0_1111_7266)"},[t.createElementVNode("path",{d:"M1.97852 2.63349C1.97852 2.26366 2.27832 1.96387 2.64814 1.96387L13.3621 1.96387C13.7319 1.96387 14.0317 2.26366 14.0317 2.63349L14.0317 13.3475C14.0317 13.7173 13.7319 14.0171 13.3621 14.0171L2.64814 14.0171C2.27832 14.0171 1.97852 13.7173 1.97852 13.3475L1.97852 2.63349ZM3.31776 8.6601L3.31776 12.6778L12.6925 12.6778L12.6925 8.6601L10.014 8.6601L10.014 7.32085L12.6925 7.32085L12.6925 3.30311L3.31776 3.30311L3.31776 7.32086L5.99626 7.32085L5.99626 8.6601L3.31776 8.6601ZM5.99626 5.98161L8.00513 3.97274L10.014 5.98161L8.67475 5.98161L8.67475 9.99935L10.014 9.99935L8.00513 12.0082L5.99626 9.99935L7.3355 9.99935L7.3355 5.98161L5.99626 5.98161Z",fill:"currentColor"})],-1),t.createElementVNode("defs",null,[t.createElementVNode("clipPath",{id:"clip0_1111_7266"},[t.createElementVNode("rect",{width:"16",height:"16",fill:"currentColor",transform:"translate(0 16) rotate(-90)"})])],-1)])])}const Am=A(Tm,[["render",$m],["__scopeId","data-v-084c51e6"]]),Dm={name:"SplitCellsHorizontalIcon",emits:["click"]},Om={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function xm(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("svg",Om,[...n[0]||(n[0]=[t.createElementVNode("g",{"clip-path":"url(#clip0_796_3996)"},[t.createElementVNode("path",{d:"M13.367 1.979C13.7368 1.979 14.0366 2.27881 14.0366 2.64863V13.3626C14.0366 13.7324 13.7368 14.0322 13.367 14.0322H2.65302C2.2832 14.0322 1.9834 13.7324 1.9834 13.3626V2.64863C1.9834 2.27881 2.2832 1.979 2.65302 1.979H13.367ZM7.34039 3.31825H3.32265V12.693H7.34039V10.0145H8.67963V12.693H12.6974V3.31825H8.67963V5.99675H7.34039V3.31825ZM10.0189 5.99675L12.0278 8.00562L10.0189 10.0145V8.67524H6.00114V10.0145L3.99227 8.00562L6.00114 5.99675V7.33599H10.0189V5.99675Z",fill:"currentColor"})],-1),t.createElementVNode("defs",null,[t.createElementVNode("clipPath",{id:"clip0_796_3996"},[t.createElementVNode("rect",{width:"16",height:"16",fill:"currentColor"})])],-1)])])}const Pm=A(Dm,[["render",xm],["__scopeId","data-v-c77c1469"]]),Rm={name:"DownloadIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Mm=["aria-hidden","aria-label"],Fm=["fill","width","height"],Um={d:"M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z"},Hm={key:0};function zm(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon download-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Um,[o.title?(t.openBlock(),t.createElementBlock("title",Hm,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Fm))],16,Mm)}const Wm=A(Rm,[["render",zm]]);function jm(e,n){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const o=document.implementation.createHTMLDocument(),l=o.createElement("base"),r=o.createElement("a");return o.head.appendChild(l),o.body.appendChild(r),n&&(l.href=n),r.href=e,r.href}const Gm=(()=>{let e=0;const n=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${n()}${e}`)})();function Me(e){const n=[];for(let o=0,l=e.length;o<l;o++)n.push(e[o]);return n}let et=null;function Ml(e={}){return et||(e.includeStyleProperties?(et=e.includeStyleProperties,et):(et=Me(window.getComputedStyle(document.documentElement)),et))}function Rt(e,n){const l=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(n);return l?parseFloat(l.replace("px","")):0}function Km(e){const n=Rt(e,"border-left-width"),o=Rt(e,"border-right-width");return e.clientWidth+n+o}function Ym(e){const n=Rt(e,"border-top-width"),o=Rt(e,"border-bottom-width");return e.clientHeight+n+o}function Fl(e,n={}){const o=n.width||Km(e),l=n.height||Ym(e);return{width:o,height:l}}function qm(){let e,n;try{n=process}catch{}const o=n&&n.env?n.env.devicePixelRatio:null;return o&&(e=parseInt(o,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}const ye=16384;function Xm(e){(e.width>ye||e.height>ye)&&(e.width>ye&&e.height>ye?e.width>e.height?(e.height*=ye/e.width,e.width=ye):(e.width*=ye/e.height,e.height=ye):e.width>ye?(e.height*=ye/e.width,e.width=ye):(e.width*=ye/e.height,e.height=ye))}function Mt(e){return new Promise((n,o)=>{const l=new Image;l.onload=()=>{l.decode().then(()=>{requestAnimationFrame(()=>n(l))})},l.onerror=o,l.crossOrigin="anonymous",l.decoding="async",l.src=e})}async function Zm(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(n=>`data:image/svg+xml;charset=utf-8,${n}`)}async function Jm(e,n,o){const l="http://www.w3.org/2000/svg",r=document.createElementNS(l,"svg"),a=document.createElementNS(l,"foreignObject");return r.setAttribute("width",`${n}`),r.setAttribute("height",`${o}`),r.setAttribute("viewBox",`0 0 ${n} ${o}`),a.setAttribute("width","100%"),a.setAttribute("height","100%"),a.setAttribute("x","0"),a.setAttribute("y","0"),a.setAttribute("externalResourcesRequired","true"),r.appendChild(a),a.appendChild(e),Zm(r)}const Ee=(e,n)=>{if(e instanceof n)return!0;const o=Object.getPrototypeOf(e);return o===null?!1:o.constructor.name===n.name||Ee(o,n)};function Qm(e){const n=e.getPropertyValue("content");return`${e.cssText} content: '${n.replace(/'|"/g,"")}';`}function ef(e,n){return Ml(n).map(o=>{const l=e.getPropertyValue(o),r=e.getPropertyPriority(o);return`${o}: ${l}${r?" !important":""};`}).join(" ")}function tf(e,n,o,l){const r=`.${e}:${n}`,a=o.cssText?Qm(o):ef(o,l);return document.createTextNode(`${r}{${a}}`)}function Wo(e,n,o,l){const r=window.getComputedStyle(e,o),a=r.getPropertyValue("content");if(a===""||a==="none")return;const i=Gm();try{n.className=`${n.className} ${i}`}catch{return}const s=document.createElement("style");s.appendChild(tf(i,o,r,l)),n.appendChild(s)}function nf(e,n,o){Wo(e,n,":before",o),Wo(e,n,":after",o)}const jo="application/font-woff",Go="image/jpeg",of={woff:jo,woff2:jo,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Go,jpeg:Go,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function lf(e){const n=/\.([^./]*?)$/g.exec(e);return n?n[1]:""}function qn(e){const n=lf(e).toLowerCase();return of[n]||""}function rf(e){return e.split(/,/)[1]}function Bn(e){return e.search(/^(data:)/)!==-1}function af(e,n){return`data:${n};base64,${e}`}async function Ul(e,n,o){const l=await fetch(e,n);if(l.status===404)throw new Error(`Resource "${l.url}" not found`);const r=await l.blob();return new Promise((a,i)=>{const s=new FileReader;s.onerror=i,s.onloadend=()=>{try{a(o({res:l,result:s.result}))}catch(c){i(c)}},s.readAsDataURL(r)})}const fn={};function sf(e,n,o){let l=e.replace(/\?.*/,"");return o&&(l=e),/ttf|otf|eot|woff2?/i.test(l)&&(l=l.replace(/.*\//,"")),n?`[${n}]${l}`:l}async function Xn(e,n,o){const l=sf(e,n,o.includeQueryParams);if(fn[l]!=null)return fn[l];o.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let r;try{const a=await Ul(e,o.fetchRequestInit,({res:i,result:s})=>(n||(n=i.headers.get("Content-Type")||""),rf(s)));r=af(a,n)}catch(a){r=o.imagePlaceholder||"";let i=`Failed to fetch resource: ${e}`;a&&(i=typeof a=="string"?a:a.message),i&&console.warn(i)}return fn[l]=r,r}async function cf(e){const n=e.toDataURL();return n==="data:,"?e.cloneNode(!1):Mt(n)}async function uf(e,n){if(e.currentSrc){const a=document.createElement("canvas"),i=a.getContext("2d");a.width=e.clientWidth,a.height=e.clientHeight,i?.drawImage(e,0,0,a.width,a.height);const s=a.toDataURL();return Mt(s)}const o=e.poster,l=qn(o),r=await Xn(o,l,n);return Mt(r)}async function df(e,n){var o;try{if(!((o=e?.contentDocument)===null||o===void 0)&&o.body)return await Yt(e.contentDocument.body,n,!0)}catch{}return e.cloneNode(!1)}async function mf(e,n){return Ee(e,HTMLCanvasElement)?cf(e):Ee(e,HTMLVideoElement)?uf(e,n):Ee(e,HTMLIFrameElement)?df(e,n):e.cloneNode(Hl(e))}const ff=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",Hl=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function pf(e,n,o){var l,r;if(Hl(n))return n;let a=[];return ff(e)&&e.assignedNodes?a=Me(e.assignedNodes()):Ee(e,HTMLIFrameElement)&&(!((l=e.contentDocument)===null||l===void 0)&&l.body)?a=Me(e.contentDocument.body.childNodes):a=Me(((r=e.shadowRoot)!==null&&r!==void 0?r:e).childNodes),a.length===0||Ee(e,HTMLVideoElement)||await a.reduce((i,s)=>i.then(()=>Yt(s,o)).then(c=>{c&&n.appendChild(c)}),Promise.resolve()),n}function gf(e,n,o){const l=n.style;if(!l)return;const r=window.getComputedStyle(e);r.cssText?(l.cssText=r.cssText,l.transformOrigin=r.transformOrigin):Ml(o).forEach(a=>{let i=r.getPropertyValue(a);a==="font-size"&&i.endsWith("px")&&(i=`${Math.floor(parseFloat(i.substring(0,i.length-2)))-.1}px`),Ee(e,HTMLIFrameElement)&&a==="display"&&i==="inline"&&(i="block"),a==="d"&&n.getAttribute("d")&&(i=`path(${n.getAttribute("d")})`),l.setProperty(a,i,r.getPropertyPriority(a))})}function hf(e,n){Ee(e,HTMLTextAreaElement)&&(n.innerHTML=e.value),Ee(e,HTMLInputElement)&&n.setAttribute("value",e.value)}function Ef(e,n){if(Ee(e,HTMLSelectElement)){const l=Array.from(n.children).find(r=>e.value===r.getAttribute("value"));l&&l.setAttribute("selected","")}}function kf(e,n,o){return Ee(n,Element)&&(gf(e,n,o),nf(e,n,o),hf(e,n),Ef(e,n)),n}async function yf(e,n){const o=e.querySelectorAll?e.querySelectorAll("use"):[];if(o.length===0)return e;const l={};for(let a=0;a<o.length;a++){const s=o[a].getAttribute("xlink:href");if(s){const c=e.querySelector(s),u=document.querySelector(s);!c&&u&&!l[s]&&(l[s]=await Yt(u,n,!0))}}const r=Object.values(l);if(r.length){const a="http://www.w3.org/1999/xhtml",i=document.createElementNS(a,"svg");i.setAttribute("xmlns",a),i.style.position="absolute",i.style.width="0",i.style.height="0",i.style.overflow="hidden",i.style.display="none";const s=document.createElementNS(a,"defs");i.appendChild(s);for(let c=0;c<r.length;c++)s.appendChild(r[c]);e.appendChild(i)}return e}async function Yt(e,n,o){return!o&&n.filter&&!n.filter(e)?null:Promise.resolve(e).then(l=>mf(l,n)).then(l=>pf(e,l,n)).then(l=>kf(e,l,n)).then(l=>yf(l,n))}const zl=/url\((['"]?)([^'"]+?)\1\)/g,vf=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,Cf=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function Nf(e){const n=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${n})(['"]?\\))`,"g")}function _f(e){const n=[];return e.replace(zl,(o,l,r)=>(n.push(r),o)),n.filter(o=>!Bn(o))}async function Sf(e,n,o,l,r){try{const a=o?jm(n,o):n,i=qn(n);let s;return r||(s=await Xn(a,i,l)),e.replace(Nf(n),`$1${s}$3`)}catch{}return e}function bf(e,{preferredFontFormat:n}){return n?e.replace(Cf,o=>{for(;;){const[l,,r]=vf.exec(o)||[];if(!r)return"";if(r===n)return`src: ${l};`}}):e}function Wl(e){return e.search(zl)!==-1}async function jl(e,n,o){if(!Wl(e))return e;const l=bf(e,o);return _f(l).reduce((a,i)=>a.then(s=>Sf(s,i,n,o)),Promise.resolve(l))}async function tt(e,n,o){var l;const r=(l=n.style)===null||l===void 0?void 0:l.getPropertyValue(e);if(r){const a=await jl(r,null,o);return n.style.setProperty(e,a,n.style.getPropertyPriority(e)),!0}return!1}async function wf(e,n){await tt("background",e,n)||await tt("background-image",e,n),await tt("mask",e,n)||await tt("-webkit-mask",e,n)||await tt("mask-image",e,n)||await tt("-webkit-mask-image",e,n)}async function Lf(e,n){const o=Ee(e,HTMLImageElement);if(!(o&&!Bn(e.src))&&!(Ee(e,SVGImageElement)&&!Bn(e.href.baseVal)))return;const l=o?e.src:e.href.baseVal,r=await Xn(l,qn(l),n);await new Promise((a,i)=>{e.onload=a,e.onerror=n.onImageErrorHandler?(...c)=>{try{a(n.onImageErrorHandler(...c))}catch(u){i(u)}}:i;const s=e;s.decode&&(s.decode=a),s.loading==="lazy"&&(s.loading="eager"),o?(e.srcset="",e.src=r):e.href.baseVal=r})}async function Bf(e,n){const l=Me(e.childNodes).map(r=>Gl(r,n));await Promise.all(l).then(()=>e)}async function Gl(e,n){Ee(e,Element)&&(await wf(e,n),await Lf(e,n),await Bf(e,n))}function Vf(e,n){const{style:o}=e;n.backgroundColor&&(o.backgroundColor=n.backgroundColor),n.width&&(o.width=`${n.width}px`),n.height&&(o.height=`${n.height}px`);const l=n.style;return l!=null&&Object.keys(l).forEach(r=>{o[r]=l[r]}),e}const Ko={};async function Yo(e){let n=Ko[e];if(n!=null)return n;const l=await(await fetch(e)).text();return n={url:e,cssText:l},Ko[e]=n,n}async function qo(e,n){let o=e.cssText;const l=/url\(["']?([^"')]+)["']?\)/g,a=(o.match(/url\([^)]+\)/g)||[]).map(async i=>{let s=i.replace(l,"$1");return s.startsWith("https://")||(s=new URL(s,e.url).href),Ul(s,n.fetchRequestInit,({result:c})=>(o=o.replace(i,`url(${c})`),[i,c]))});return Promise.all(a).then(()=>o)}function Xo(e){if(e==null)return[];const n=[],o=/(\/\*[\s\S]*?\*\/)/gi;let l=e.replace(o,"");const r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const c=r.exec(l);if(c===null)break;n.push(c[0])}l=l.replace(r,"");const a=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,i="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",s=new RegExp(i,"gi");for(;;){let c=a.exec(l);if(c===null){if(c=s.exec(l),c===null)break;a.lastIndex=s.lastIndex}else s.lastIndex=a.lastIndex;n.push(c[0])}return n}async function Tf(e,n){const o=[],l=[];return e.forEach(r=>{if("cssRules"in r)try{Me(r.cssRules||[]).forEach((a,i)=>{if(a.type===CSSRule.IMPORT_RULE){let s=i+1;const c=a.href,u=Yo(c).then(d=>qo(d,n)).then(d=>Xo(d).forEach(h=>{try{r.insertRule(h,h.startsWith("@import")?s+=1:r.cssRules.length)}catch(m){console.error("Error inserting rule from remote css",{rule:h,error:m})}})).catch(d=>{console.error("Error loading remote css",d.toString())});l.push(u)}})}catch(a){const i=e.find(s=>s.href==null)||document.styleSheets[0];r.href!=null&&l.push(Yo(r.href).then(s=>qo(s,n)).then(s=>Xo(s).forEach(c=>{i.insertRule(c,i.cssRules.length)})).catch(s=>{console.error("Error loading remote stylesheet",s)})),console.error("Error inlining remote css file",a)}}),Promise.all(l).then(()=>(e.forEach(r=>{if("cssRules"in r)try{Me(r.cssRules||[]).forEach(a=>{o.push(a)})}catch(a){console.error(`Error while reading CSS rules from ${r.href}`,a)}}),o))}function If(e){return e.filter(n=>n.type===CSSRule.FONT_FACE_RULE).filter(n=>Wl(n.style.getPropertyValue("src")))}async function $f(e,n){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const o=Me(e.ownerDocument.styleSheets),l=await Tf(o,n);return If(l)}function Kl(e){return e.trim().replace(/["']/g,"")}function Af(e){const n=new Set;function o(l){(l.style.fontFamily||getComputedStyle(l).fontFamily).split(",").forEach(a=>{n.add(Kl(a))}),Array.from(l.children).forEach(a=>{a instanceof HTMLElement&&o(a)})}return o(e),n}async function Df(e,n){const o=await $f(e,n),l=Af(e);return(await Promise.all(o.filter(a=>l.has(Kl(a.style.fontFamily))).map(a=>{const i=a.parentStyleSheet?a.parentStyleSheet.href:null;return jl(a.cssText,i,n)}))).join(`
9
- `)}async function Of(e,n){const o=n.fontEmbedCSS!=null?n.fontEmbedCSS:n.skipFonts?null:await Df(e,n);if(o){const l=document.createElement("style"),r=document.createTextNode(o);l.appendChild(r),e.firstChild?e.insertBefore(l,e.firstChild):e.appendChild(l)}}async function xf(e,n={}){const{width:o,height:l}=Fl(e,n),r=await Yt(e,n,!0);return await Of(r,n),await Gl(r,n),Vf(r,n),await Jm(r,o,l)}async function Yl(e,n={}){const{width:o,height:l}=Fl(e,n),r=await xf(e,n),a=await Mt(r),i=document.createElement("canvas"),s=i.getContext("2d"),c=n.pixelRatio||qm(),u=n.canvasWidth||o,d=n.canvasHeight||l;return i.width=u*c,i.height=d*c,n.skipAutoScale||Xm(i),i.style.width=`${u}`,i.style.height=`${d}`,n.backgroundColor&&(s.fillStyle=n.backgroundColor,s.fillRect(0,0,i.width,i.height)),s.drawImage(a,0,0,i.width,i.height),i}async function Pf(e,n={}){return(await Yl(e,n)).toDataURL()}async function Rf(e,n={}){return(await Yl(e,n)).toDataURL("image/jpeg",n.quality||1)}function Mf(){const e=t.ref(""),n=t.ref("png"),o=t.ref();async function l(s,c={}){const u=c.fileName??`flow-graph-${Date.now()}`;s.classList.add("is-exporting");const d=s.querySelectorAll(".vue-flow__edge-path"),h=Array.from(d).map(m=>{const y=m,T=y.getAttribute("style")||"",k=window.getComputedStyle(y);return y.setAttribute("style",`
8
+ </svg>`));return(a,i)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(oe.Handle),{type:"source",position:t.sourcePosition},null,8,["position"]),e.createElementVNode("div",{class:e.normalizeClass([[`border-${t.data.color}`],"dependency-node-wrapper rounded-3 border"])},[e.createVNode(zn,{"custom-icon":{icon:r.value},class:"bg-pink rounded",theme:"light"},null,8,["custom-icon"]),e.createElementVNode("div",Uc,[e.createElementVNode("div",Hc,[e.createVNode(j,{title:t.data.flowId},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.data.flowId),1)]),_:1},8,["title"])]),e.createElementVNode("div",zc,[e.createVNode(j,{title:t.data.namespace},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.data.namespace),1)]),_:1},8,["title"])])]),e.createElementVNode("div",Wc,[e.renderSlot(a.$slots,"badge-button-before",{},void 0,!0),t.data.link?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["circle-button",[`bg-${t.data.color}`]]),onClick:i[0]||(i[0]=s=>a.$emit(e.unref(b.EVENTS).OPEN_LINK,t.data))},[e.createVNode(j,{title:e.unref(l)("open")},{default:e.withCtx(()=>[e.createVNode(Al,{class:"button-icon",alt:"Open in new tab"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0),t.data.expandEnabled?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(["circle-button",[`bg-${t.data.color}`]]),onClick:i[1]||(i[1]=s=>o(e.unref(b.EVENTS).EXPAND_DEPENDENCIES,t.data))},[e.createVNode(j,{title:e.unref(l)("expand")},{default:e.withCtx(()=>[e.createVNode(Fc,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"badge-button-after",{},void 0,!0)])],2),e.createVNode(e.unref(oe.Handle),{type:"target",position:t.targetPosition},null,8,["position"])],64))}}),Gc=A(jc,[["__scopeId","data-v-2271d5b0"]]);var Oe=(t=>(t.Lines="lines",t.Dots="dots",t))(Oe||{});const Dl=function({dimensions:t,size:n,color:o}){return e.h("path",{stroke:o,"stroke-width":n,d:`M${t[0]/2} 0 V${t[1]} M0 ${t[1]/2} H${t[0]}`})},Ol=function({radius:t,color:n}){return e.h("circle",{cx:t,cy:t,r:t,fill:n})};Oe.Lines+"",Oe.Dots+"";const Kc={[Oe.Dots]:"#81818a",[Oe.Lines]:"#eee"},Yc=["id","x","y","width","height","patternTransform"],qc={key:2,height:"100",width:"100"},Xc=["fill"],Zc=["x","y","fill"],Jc={name:"Background",compatConfig:{MODE:3}},Qc=e.defineComponent({...Jc,props:{id:{},variant:{default:()=>Oe.Dots},gap:{default:20},size:{default:1},lineWidth:{default:1},patternColor:{},color:{},bgColor:{},height:{default:100},width:{default:100},x:{default:0},y:{default:0},offset:{default:0}},setup(t){const{id:n,viewport:o}=oe.useVueFlow(),l=e.computed(()=>{const i=o.value.zoom,[s,c]=Array.isArray(t.gap)?t.gap:[t.gap,t.gap],u=[s*i||1,c*i||1],d=t.size*i,[h,f]=Array.isArray(t.offset)?t.offset:[t.offset,t.offset],k=[h*i||1+u[0]/2,f*i||1+u[1]/2];return{scaledGap:u,offset:k,size:d}}),r=e.toRef(()=>`pattern-${n}${t.id?`-${t.id}`:""}`),a=e.toRef(()=>t.color||t.patternColor||Kc[t.variant||Oe.Dots]);return(i,s)=>(e.openBlock(),e.createElementBlock("svg",{class:"vue-flow__background vue-flow__container",style:e.normalizeStyle({height:`${i.height>100?100:i.height}%`,width:`${i.width>100?100:i.width}%`})},[e.renderSlot(i.$slots,"pattern-container",{id:r.value},()=>[e.createElementVNode("pattern",{id:r.value,x:e.unref(o).x%l.value.scaledGap[0],y:e.unref(o).y%l.value.scaledGap[1],width:l.value.scaledGap[0],height:l.value.scaledGap[1],patternTransform:`translate(-${l.value.offset[0]},-${l.value.offset[1]})`,patternUnits:"userSpaceOnUse"},[e.renderSlot(i.$slots,"pattern",{},()=>[i.variant===e.unref(Oe).Lines?(e.openBlock(),e.createBlock(e.unref(Dl),{key:0,size:i.lineWidth,color:a.value,dimensions:l.value.scaledGap},null,8,["size","color","dimensions"])):i.variant===e.unref(Oe).Dots?(e.openBlock(),e.createBlock(e.unref(Ol),{key:1,color:a.value,radius:l.value.size/2},null,8,["color","radius"])):e.createCommentVNode("",!0),i.bgColor?(e.openBlock(),e.createElementBlock("svg",qc,[e.createElementVNode("rect",{width:"100%",height:"100%",fill:i.bgColor},null,8,Xc)])):e.createCommentVNode("",!0)])],8,Yc)]),e.createElementVNode("rect",{x:i.x,y:i.y,width:"100%",height:"100%",fill:`url(#${r.value})`},null,8,Zc),e.renderSlot(i.$slots,"default",{id:r.value})],4))}}),eu={name:"ArrowCollapseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},tu=["aria-hidden","aria-label"],nu=["fill","width","height"],ou={d:"M19.5,3.09L15,7.59V4H13V11H20V9H16.41L20.91,4.5L19.5,3.09M4,13V15H7.59L3.09,19.5L4.5,20.91L9,16.41V20H11V13H4Z"},lu={key:0};function ru(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon arrow-collapse-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",ou,[o.title?(e.openBlock(),e.createElementBlock("title",lu,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,nu))],16,tu)}const au=A(eu,[["render",ru]]),iu={class:"top-button-div text-white d-flex"},su={inheritAttrs:!1,components:{Tooltip:j},data(){return{tooltips:[]}},computed:{classes(){return{"unused-path":this.data.unused}},clusterName(){const t=this.data.taskNode;if(t?.type?.endsWith("SubflowGraphTask")){const n=t.task.subflowId??t.task;return n.namespace+" "+n.flowId}return b.Utils.afterLastDot(this.id)}}},cu=Object.assign(su,{__name:"ClusterNode",props:{data:{type:Object,default:void 0},sourcePosition:{type:oe.Position,default:void 0},targetPosition:{type:oe.Position,default:void 0},id:{type:String,default:void 0}},emits:[b.EVENTS.COLLAPSE],setup(t,{emit:n}){const o=t,l=n,r=()=>{l(b.EVENTS.COLLAPSE,o.id)};return(a,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(a.classes)},[e.createElementVNode("span",{class:e.normalizeClass(["badge rounded-pill text-truncate text-color position-reliative",[`bg-${t.data.color}`]])},e.toDisplayString(a.clusterName),3),e.createElementVNode("div",iu,[t.data.collapsable?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["circle-button",[`bg-${t.data.color}`]]),onClick:i[0]||(i[0]=s=>r())},[e.createVNode(j,{title:a.$t("collapse")},{default:e.withCtx(()=>[e.createVNode(au,{class:"button-icon",alt:"Collapse task"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0)])],2))}}),uu=A(cu,[["__scopeId","data-v-0c251e77"]]),du={name:"CircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},mu=["aria-hidden","aria-label"],fu=["fill","width","height"],pu={d:"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},gu={key:0};function hu(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon circle-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",pu,[o.title?(e.openBlock(),e.createElementBlock("title",gu,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,fu))],16,mu)}const xl=A(du,[["render",hu]]),Eu={name:"Dot",components:{Handle:oe.Handle,CircleIcon:xl},inheritAttrs:!1,props:{data:{type:Object,required:!0},sourcePosition:{type:String,required:!0},targetPosition:{type:String,required:!0},label:{type:String,default:void 0}},computed:{classes(){return{"unused-path":this.data.unused,[b.Utils.afterLastDot(this.data.node.type)]:!0}}}},ku=Object.assign(Eu,{setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(n.classes)},[e.createVNode(e.unref(oe.Handle),{type:"source",class:"custom-handle",position:t.sourcePosition},null,8,["position"]),e.createElementVNode("div",{class:e.normalizeClass(["dot",n.classes])},[e.createVNode(xl,{class:e.normalizeClass([{"text-danger":t.data.node.branchType==="ERROR"},"circle"]),alt:"circle"},null,8,["class"])],2),e.createVNode(e.unref(oe.Handle),{type:"target",class:"custom-handle",position:t.targetPosition},null,8,["position"])],2))}}),yu=A(ku,[["__scopeId","data-v-666f472b"]]),vu={name:"PlusIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Cu=["aria-hidden","aria-label"],_u=["fill","width","height"],Nu={d:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"},Su={key:0};function bu(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon plus-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Nu,[o.title?(e.openBlock(),e.createElementBlock("title",Su,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,_u))],16,Cu)}const wu=A(vu,[["render",bu]]),Lu={class:"add-task-div rounded d-flex justify-content-center align-items-center"},Bu=e.defineComponent({name:"AddTaskButton",__name:"AddTaskButton",props:{addTask:{type:Boolean}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("div",Lu,[t.addTask?(e.openBlock(),e.createBlock(wu,{key:0,alt:"add task icon"})):e.createCommentVNode("",!0)]))}}),Vu=A(Bu,[["__scopeId","data-v-536dd646"]]),Tu=["id","d","marker-end"],zo=14,$u=e.defineComponent({inheritAttrs:!1,__name:"EdgeNode",props:{id:{type:String,default:void 0},data:{type:Object,default:void 0},sourceX:{type:Number,default:void 0},sourceY:{type:Number,default:void 0},targetX:{type:Number,default:void 0},targetY:{type:Number,default:void 0},markerEnd:{type:String,default:void 0},sourcePosition:{type:String,default:void 0},targetPosition:{type:String,default:void 0}},setup(t){const n=t,o=e.computed(()=>n.data?{"vue-flow__edge-path":!0,["stroke-"+n.data.color]:n.data.color,"unused-path":n.data.unused}:{});let l=u=>u;try{const{t:u}=yt();l=u}catch{}const r=e.computed(()=>{const{haveAdd:u}=n.data??{};return`${l("add task")} ${u?.length===2?`${l(u[1])} ${u[0]}`:""}`.trim()}),a=e.computed(()=>oe.getSmoothStepPath(n)),i=e.computed(()=>{const u=(n.targetX??0)-(n.sourceX??0),d=(n.targetY??0)-(n.sourceY??0);return Math.abs(d)>=Math.abs(u)}),s=e.computed(()=>{if(!i.value)return 0;const u=n.data?.edgeBoundary;return u==="top"?-zo:u==="bottom"?zo:0}),c=e.computed(()=>0);return(u,d)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[a.value?.length?(e.openBlock(),e.createElementBlock("path",{key:0,id:t.id,class:e.normalizeClass(o.value),style:e.normalizeStyle(t.data.haveDashArray?{strokeDasharray:"2"}:{}),d:a.value[0],"marker-end":t.markerEnd},null,14,Tu)):e.createCommentVNode("",!0),a.value?.length?(e.openBlock(),e.createBlock(e.unref(oe.EdgeLabelRenderer),{key:1,style:{"z-index":"10"}},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle({pointerEvents:"all",position:"absolute",transform:`translate(-50%, -50%) translate(${a.value[1]+c.value}px,${a.value[2]+s.value}px)`})},[e.createVNode(j,{title:r.value},{default:e.withCtx(()=>[t.data.haveAdd?(e.openBlock(),e.createBlock(Vu,{key:0,"add-task":!0,onClick:d[0]||(d[0]=h=>u.$emit(e.unref(b.EVENTS).ADD_TASK,t.data.haveAdd)),class:e.normalizeClass({"text-danger":t.data.color})},null,8,["class"])):e.createCommentVNode("",!0)]),_:1},8,["title"])],4)]),_:1})):e.createCommentVNode("",!0)],64))}}),Iu=A($u,[["__scopeId","data-v-575e9f2a"]]),Au=["innerHTML"],Du=e.defineComponent({__name:"Duration",props:{histories:{}},setup(t){const n=t;e.watch(()=>n.histories,(k,T)=>{k?.[0]?.date?.valueOf()!==T?.[0]?.date?.valueOf()&&s()});const o=e.ref(""),l=e.ref();e.onMounted(()=>{s()});const r=e.computed(()=>n.histories?.[0]?.date?.valueOf()??null),a=e.computed(()=>n.histories?.length?n.histories[n.histories.length-1]:void 0),i=e.computed(()=>n.histories.filter(k=>k.date.isValid()&&k.date&&k.state));function s(){l.value||(l.value=setInterval(()=>{h(),a.value&&!ne.isRunning(a.value.state)&&c()},10))}function c(){l.value&&(clearInterval(l.value),l.value=void 0)}function u(){const k=r.value;return k===null?0:Math.max(0,d()-k)}function d(){return!a.value||ne.isRunning(a.value.state)?+new Date:a.value.date.valueOf()}function h(){o.value=i.value.length===0?"&nbsp;":b.humanDuration(u()/1e3,{maxDecimalPoints:2,units:["h","m","s"]})}function f(k){return"ks-duration-tt-square-"+k.toLowerCase()}return e.onBeforeUnmount(()=>{c()}),(k,T)=>(e.openBlock(),e.createBlock(j,{key:a.value?.date?.valueOf()??k.$t("no_history")},{content:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(E,N)=>(e.openBlock(),e.createElementBlock("span",{key:"tt-"+N,class:"ks-duration-tt"},[e.createElementVNode("span",{class:e.normalizeClass(["ks-duration-tt-square",f(E.state)])},null,2),e.createElementVNode("strong",null,e.toDisplayString(E.state)+": ",1),e.createTextVNode(e.toDisplayString(b.dateFilter(E.date.toISOString(),"iso"))+" ",1),T[0]||(T[0]=e.createElementVNode("br",null,null,-1))]))),128))]),default:e.withCtx(()=>[e.createElementVNode("span",{innerHTML:o.value},null,8,Au)]),_:1}))}}),Ou={class:"btn-group content rounded-1 content-children text-truncate"},xu={key:0,class:"taskRunCount"},Pu={key:1},Ru={key:2},Mu=e.defineComponent({name:"ExecutionInformations",__name:"ExecutionInformations",props:{color:{},uid:{},execution:{},task:{},state:{}},setup(t){const n=t,o=e.computed(()=>n.execution?.taskRunList?n.execution.taskRunList:[]),l=e.computed(()=>o.value.filter(a=>a.taskId===b.afterLastDot(n.uid??""))),r=e.computed(()=>{if(!l.value)return;const a=Math.max(...l.value.filter(s=>s.state.histories&&s.state.histories.length>0).map(s=>new Date(s.state.histories[s.state.histories.length-1].date).getTime())),i=Math.max(...l.value.map(s=>sn.duration(s.state.duration).asMilliseconds()/1e3,0));return[{date:sn(a).subtract(i,"second"),state:"CREATED"},{date:sn(a),state:n.state}]});return(a,i)=>(e.openBlock(),e.createElementBlock("div",Ou,[l.value.length>0?(e.openBlock(),e.createElementBlock("span",xu,e.toDisplayString(l.value.length)+" task runs",1)):e.createCommentVNode("",!0),l.value.length>0?(e.openBlock(),e.createElementBlock("span",Pu," | ")):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("span",Ru,[e.createVNode(Du,{histories:r.value},null,8,["histories"])])):e.createCommentVNode("",!0)]))}}),Fu=A(Mu,[["__scopeId","data-v-96fa5d6e"]]),Uu={name:"InformationOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Hu=["aria-hidden","aria-label"],zu=["fill","width","height"],Wu={d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M11,17H13V11H11V17Z"},ju={key:0};function Gu(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon information-outline-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Wu,[o.title?(e.openBlock(),e.createElementBlock("title",ju,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,zu))],16,Hu)}const Ku=A(Uu,[["render",Gu]]),Yu={name:"ArrowExpandIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},qu=["aria-hidden","aria-label"],Xu=["fill","width","height"],Zu={d:"M10,21V19H6.41L10.91,14.5L9.5,13.09L5,17.59V14H3V21H10M14.5,10.91L19,6.41V10H21V3H14V5H17.59L13.09,9.5L14.5,10.91Z"},Ju={key:0};function Qu(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon arrow-expand-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Zu,[o.title?(e.openBlock(),e.createElementBlock("title",Ju,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Xu))],16,qu)}const Wn=A(Yu,[["render",Qu]]),ed={class:"main-content"},td={class:"icon rounded"},nd={class:"node-content"},od={class:"d-flex node-title"},ld={class:"text-truncate task-title"},rd={key:0,class:"d-flex"},ad={class:"text-white top-button-div"},id=e.defineComponent({name:"BasicNode",inheritAttrs:!1,__name:"BasicNode",props:{id:{},title:{},type:{},disabled:{type:Boolean},state:{},data:{},icons:{},iconComponent:{},class:{}},emits:[b.EVENTS.EXPAND,b.EVENTS.OPEN_LINK,b.EVENTS.SHOW_LOGS,b.EVENTS.MOUSE_OVER,b.EVENTS.MOUSE_LEAVE,b.EVENTS.ADD_ERROR,b.EVENTS.EDIT,b.EVENTS.DELETE,b.EVENTS.ADD_TASK,b.EVENTS.SHOW_DESCRIPTION],setup(t,{emit:n}){const o=n,l=t;function r(){o(b.EVENTS.MOUSE_OVER,l.data.node)}function a(){o(b.EVENTS.MOUSE_LEAVE)}const i=e.computed(()=>l.data?.expandable||!1),s=e.computed(()=>l.data.node?.plugin??l.data.node?.task??l.data.node?.trigger??null),c=e.computed(()=>s.value?.description??null),u=e.computed(()=>b.Utils.afterLastDot(l.id??"")),d=e.computed(()=>["default","danger"].includes(l.data.color)?"":l.data.color),h=e.computed(()=>[{"unused-path":l.data.unused,disabled:s.value?.disabled||l.data.parent?.taskNode?.task?.disabled},l.class]),f=e.computed(()=>{if(l.data.node.triggerDeclaration)return l.data.node.triggerDeclaration.type;if(s.value)return s.value?.type}),k=e.computed(()=>{if(s.value?.type?.endsWith("SubflowGraphTask")){const E=s.value.subflowId??s.value;return E.namespace+" "+E.flowId}return u.value}),T=e.computed(()=>l.title??u.value);return(E,N)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["node-wrapper rounded-3",{...h.value,"running-border-animation":t.state==="RUNNING"}]),style:e.normalizeStyle({borderColor:t.state?`var(--ks-border-${t.state.toLowerCase()})`:void 0}),onMouseover:r,onMouseleave:a},[e.createElementVNode("div",ed,[e.createElementVNode("div",td,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.iconComponent||zn),{cls:f.value,class:e.normalizeClass([d.value,"rounded bg-white"]),theme:"light",icons:t.icons},null,8,["cls","class","icons"]))]),e.createElementVNode("div",nd,[e.createElementVNode("div",od,[e.createElementVNode("div",ld,[e.createVNode(j,{title:k.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(T.value),1)]),_:1},8,["title"])]),c.value?(e.openBlock(),e.createElementBlock("span",rd,[e.createVNode(j,{title:E.$t("show description"),class:"d-flex align-items-center"},{default:e.withCtx(()=>[e.createVNode(Ku,{onClick:N[0]||(N[0]=m=>E.$emit(e.unref(b.EVENTS).SHOW_DESCRIPTION,{id:u.value,description:c.value})),class:"description-button ms-2"})]),_:1},8,["title"])])):e.createCommentVNode("",!0)]),e.renderSlot(E.$slots,"content",{},void 0,!0)]),e.createElementVNode("div",ad,[e.renderSlot(E.$slots,"badge-button-before",{},void 0,!0),t.data.link?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["circle-button",[`bg-${t.data.color}`]]),onClick:N[1]||(N[1]=m=>E.$emit(e.unref(b.EVENTS).OPEN_LINK,{link:t.data.link}))},[e.createVNode(j,{title:E.$t("open")},{default:e.withCtx(()=>[e.createVNode(Al,{class:"button-icon",alt:"Open in new tab"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0),i.value?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(["circle-button",[`bg-${t.data.color}`]]),onClick:N[2]||(N[2]=m=>E.$emit(e.unref(b.EVENTS).EXPAND))},[e.createVNode(j,{title:E.$t("expand")},{default:e.withCtx(()=>[e.createVNode(Wn,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0),e.renderSlot(E.$slots,"badge-button-after",{},void 0,!0)])]),e.renderSlot(E.$slots,"details",{},void 0,!0)],38))}}),jn=A(id,[["__scopeId","data-v-bf40c998"]]),Gn=Symbol("execution-injection-key"),Pl=Symbol("subflows-executions-injection-key"),sd={name:"PencilIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},cd=["aria-hidden","aria-label"],ud=["fill","width","height"],dd={d:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"},md={key:0};function fd(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon pencil-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",dd,[o.title?(e.openBlock(),e.createElementBlock("title",md,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ud))],16,cd)}const Kn=A(sd,[["render",fd]]),pd={name:"DeleteIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},gd=["aria-hidden","aria-label"],hd=["fill","width","height"],Ed={d:"M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z"},kd={key:0};function yd(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon delete-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Ed,[o.title?(e.openBlock(),e.createElementBlock("title",kd,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,hd))],16,gd)}const Yn=A(pd,[["render",yd]]),vd={name:"TextBoxSearchIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Cd=["aria-hidden","aria-label"],_d=["fill","width","height"],Nd={d:"M15.5,12C18,12 20,14 20,16.5C20,17.38 19.75,18.21 19.31,18.9L22.39,22L21,23.39L17.88,20.32C17.19,20.75 16.37,21 15.5,21C13,21 11,19 11,16.5C11,14 13,12 15.5,12M15.5,14A2.5,2.5 0 0,0 13,16.5A2.5,2.5 0 0,0 15.5,19A2.5,2.5 0 0,0 18,16.5A2.5,2.5 0 0,0 15.5,14M7,15V17H9C9.14,18.55 9.8,19.94 10.81,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H19A2,2 0 0,1 21,5V13.03C19.85,11.21 17.82,10 15.5,10C14.23,10 13.04,10.37 12.04,11H7V13H10C9.64,13.6 9.34,14.28 9.17,15H7M17,9V7H7V9H17Z"},Sd={key:0};function bd(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon text-box-search-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Nd,[o.title?(e.openBlock(),e.createElementBlock("title",Sd,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,_d))],16,Cd)}const wd=A(vd,[["render",bd]]),Ld={name:"AlertOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Bd=["aria-hidden","aria-label"],Vd=["fill","width","height"],Td={d:"M12,2L1,21H23M12,6L19.53,19H4.47M11,10V14H13V10M11,16V18H13V16"},$d={key:0};function Id(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon alert-outline-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Td,[o.title?(e.openBlock(),e.createElementBlock("title",$d,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Vd))],16,Bd)}const Ad=A(Ld,[["render",Id]]),Dd={name:"SendLockIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Od=["aria-hidden","aria-label"],xd=["fill","width","height"],Pd={d:"M23,18V17.5A2.5,2.5 0 0,0 20.5,15A2.5,2.5 0 0,0 18,17.5V18A1,1 0 0,0 17,19V23A1,1 0 0,0 18,24H23A1,1 0 0,0 24,23V19A1,1 0 0,0 23,18M22,18H19V17.5A1.5,1.5 0 0,1 20.5,16A1.5,1.5 0 0,1 22,17.5V18M23,12L2,21V14L17,12L2,10V3L23,12Z"},Rd={key:0};function Md(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon send-lock-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Pd,[o.title?(e.openBlock(),e.createElementBlock("title",Rd,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,xd))],16,Od)}const Fd=A(Dd,[["render",Md]]),Ud={name:"PlayIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Hd=["aria-hidden","aria-label"],zd=["fill","width","height"],Wd={d:"M8,5.14V19.14L19,12.14L8,5.14Z"},jd={key:0};function Gd(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon play-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Wd,[o.title?(e.openBlock(),e.createElementBlock("title",jd,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,zd))],16,Hd)}const Kd=A(Ud,[["render",Gd]]),Yd={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},qd=["aria-hidden","aria-label"],Xd=["fill","width","height"],Zd={d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"},Jd={key:0};function Qd(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon check-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Zd,[o.title?(e.openBlock(),e.createElementBlock("title",Jd,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Xd))],16,qd)}const Rl=A(Yd,[["render",Qd]]),em={name:"AlertIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},tm=["aria-hidden","aria-label"],nm=["fill","width","height"],om={d:"M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z"},lm={key:0};function rm(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon alert-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",om,[o.title?(e.openBlock(),e.createElementBlock("title",lm,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,nm))],16,tm)}const Kt=A(em,[["render",rm]]),am={name:"SkipForwardIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},im=["aria-hidden","aria-label"],sm=["fill","width","height"],cm={d:"M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12"},um={key:0};function dm(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon skip-forward-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",cm,[o.title?(e.openBlock(),e.createElementBlock("title",um,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,sm))],16,im)}const mm=A(am,[["render",dm]]),fm=e.defineComponent({name:"TaskNode",inheritAttrs:!1,__name:"TaskNode",props:{data:{},sourcePosition:{default:oe.Position.Right},targetPosition:{default:oe.Position.Left},id:{},icons:{default:void 0},iconComponent:{default:void 0},enableSubflowInteraction:{type:Boolean,default:!0},playgroundEnabled:{type:Boolean},playgroundReadyToStart:{type:Boolean}},setup(t,{emit:n}){const o=t,l=n,r=e.inject(Gn),a=e.inject(Pl),i=e.computed(()=>o.data.color??"primary"),s=e.computed(()=>b.Utils.afterLastDot(o.id)),c=e.computed(()=>{const N=o.data.executionId;if(N)return N===r?.value?.id?r?.value:Object.values(a?.value||{}).find(m=>m.id===N)}),u=e.computed(()=>c.value&&c.value.taskRunList?c.value.taskRunList:[]),d=e.computed(()=>u.value.filter(N=>N.taskId===b.Utils.afterLastDot(o.data.node.uid))),h=e.computed(()=>{if(!d.value?.length)return null;if(d.value.length===1)return d.value[0].state.current;const N=d.value.map(S=>S.state.current),m=[ne.FAILED,ne.KILLED,ne.WARNING,ne.SKIPPED,ne.KILLING,ne.RUNNING,ne.SUCCESS,ne.RESTARTED,ne.CREATED];return N.map(S=>[m.indexOf(S[1]),S]).sort().map(S=>S[1])[0]}),f=e.computed(()=>({"execution-no-taskrun":!!(c.value&&d.value&&d.value.length===0)})),k=e.computed(()=>({id:o.id,type:String(o.data.node.task.type)})),T=e.computed(()=>{if(o.data.node.type?.endsWith("SubflowGraphTask")&&o.enableSubflowInteraction){const N=o.data.node.task.subflowId??o.data.node.task;return{...o.data,link:{namespace:N.namespace,id:N.flowId,executionId:c.value?.taskRunList.filter(m=>m.id===o.data.node.taskRun.id&&m.outputs?.executionId)?.[0]?.outputs?.executionId}}}return o.data}),E=e.computed(()=>{if(h.value===ne.RUNNING)return"task is running";if(h.value===ne.SUCCESS)return"task was successful";if(h.value===ne.WARNING)return"task sent a warning";if(h.value===ne.SKIPPED)return"task was skipped";if(h.value===ne.FAILED)return"task failed"});return(N,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(oe.Handle),{type:"source",position:t.sourcePosition},null,8,["position"]),e.createVNode(jn,{id:t.id,data:T.value,state:h.value,class:e.normalizeClass(f.value),icons:t.icons,"icon-component":t.iconComponent,onShowDescription:m[6]||(m[6]=y=>l(e.unref(b.EVENTS).SHOW_DESCRIPTION,y)),onExpand:m[7]||(m[7]=y=>l(e.unref(b.EVENTS).EXPAND,k.value)),onOpenLink:m[8]||(m[8]=y=>l(e.unref(b.EVENTS).OPEN_LINK,y)),onMouseover:m[9]||(m[9]=y=>l(e.unref(b.EVENTS).MOUSE_OVER,y)),onMouseleave:m[10]||(m[10]=y=>l(e.unref(b.EVENTS).MOUSE_LEAVE))},{details:e.withCtx(()=>[e.renderSlot(N.$slots,"details",{},void 0,!0)]),content:e.withCtx(()=>[c.value?(e.openBlock(),e.createBlock(Fu,{key:0,execution:c.value,task:t.data.node.task,color:i.value,uid:t.data.node.uid,state:h.value},null,8,["execution","task","color","uid","state"])):e.createCommentVNode("",!0),t.data.node.task?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.playgroundEnabled&&t.playgroundReadyToStart?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:"playground-button",onClick:m[0]||(m[0]=y=>l(e.unref(b.EVENTS).RUN_TASK,{task:t.data.node.task}))},[e.createVNode(j,{style:{display:"flex"},title:N.$t("run task in playground")},{default:e.withCtx(()=>[e.createVNode(Kd,{class:"button-play-icon",alt:N.$t("run task in playground")},null,8,["alt"])]),_:1},8,["title"])])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"playground-button",style:e.normalizeStyle({color:`var(--ks-content-${h.value?.toLowerCase()})`,backgroundColor:`var(--ks-background-${h.value?.toLowerCase()})`})},[e.createVNode(j,{style:{display:"flex"},title:E.value?N.$t(E.value):void 0},{default:e.withCtx(()=>[h.value===e.unref(ne).RUNNING?(e.openBlock(),e.createBlock(ll,{key:0,alt:E.value?N.$t(E.value):void 0},null,8,["alt"])):h.value===e.unref(ne).SUCCESS?(e.openBlock(),e.createBlock(Rl,{key:1,alt:E.value?N.$t(E.value):void 0},null,8,["alt"])):h.value===e.unref(ne).WARNING?(e.openBlock(),e.createBlock(Kt,{key:2,alt:E.value?N.$t(E.value):void 0},null,8,["alt"])):h.value===e.unref(ne).SKIPPED?(e.openBlock(),e.createBlock(mm,{key:3,alt:E.value?N.$t(E.value):void 0},null,8,["alt"])):h.value===e.unref(ne).FAILED?(e.openBlock(),e.createBlock(At,{key:4,alt:E.value?N.$t(E.value):void 0},null,8,["alt"])):e.createCommentVNode("",!0)]),_:1},8,["title"])],4))],64)):e.createCommentVNode("",!0)]),"badge-button-before":e.withCtx(()=>[t.data.node.task&&t.data.node.task.runIf?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["circle-button",["bg-warning"]]),onClick:m[1]||(m[1]=y=>l(e.unref(b.EVENTS).SHOW_CONDITION,{id:s.value,task:t.data.node.task,section:e.unref(b.SECTIONS).TASKS}))},[e.createVNode(j,{title:N.$t("show task condition")},{default:e.withCtx(()=>[e.createVNode(Fd,{class:"button-icon",alt:"Show condition"})]),_:1},8,["title"])])):e.createCommentVNode("",!0),c.value?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:m[2]||(m[2]=y=>l(e.unref(b.EVENTS).SHOW_LOGS,{id:s.value,execution:c.value,taskRuns:d.value}))},[e.createVNode(j,{title:N.$t("show task logs")},{default:e.withCtx(()=>[e.createVNode(wd,{class:"button-icon",alt:"Show logs"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0),!c.value&&!t.data.isReadOnly&&t.data.isFlowable?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:m[3]||(m[3]=y=>l(e.unref(b.EVENTS).ADD_ERROR,{task:t.data.node.task}))},[e.createVNode(j,{title:N.$t("add error handler")},{default:e.withCtx(()=>[e.createVNode(Ad,{class:"button-icon",alt:"Add error handler"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0),!c.value&&!t.data.isReadOnly?(e.openBlock(),e.createElementBlock("span",{key:3,class:e.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:m[4]||(m[4]=y=>l(e.unref(b.EVENTS).EDIT,{task:t.data.node.task,section:e.unref(b.SECTIONS).TASKS}))},[e.createVNode(j,{title:N.$t("edit")},{default:e.withCtx(()=>[e.createVNode(Kn,{class:"button-icon",alt:"Edit task"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0),!c.value&&!t.data.isReadOnly?(e.openBlock(),e.createElementBlock("span",{key:4,class:e.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:m[5]||(m[5]=y=>l(e.unref(b.EVENTS).DELETE,{id:s.value,section:e.unref(b.SECTIONS).TASKS}))},[e.createVNode(j,{title:N.$t("delete")},{default:e.withCtx(()=>[e.createVNode(Yn,{class:"button-icon",alt:"Delete task"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0)]),_:3},8,["id","data","state","class","icons","icon-component"]),e.createVNode(e.unref(oe.Handle),{type:"target",position:t.targetPosition},null,8,["position"])],64))}}),pm=A(fm,[["__scopeId","data-v-459a2e06"]]),gm={name:"Task",inheritAttrs:!1,inject:{execution:{from:Gn}},computed:{SECTIONS(){return b.SECTIONS},EVENTS(){return b.EVENTS},color(){return this.data.color??"primary"},formattedData(){return{...this.data,unused:this.data.node?.triggerDeclaration?.disabled||this.data.node?.trigger?.disabled}},triggerId(){return b.Utils.afterLastDot(this.id)}},emits:[b.EVENTS.DELETE,b.EVENTS.EDIT,b.EVENTS.SHOW_DESCRIPTION],components:{Delete:Yn,Pencil:Kn,Handle:oe.Handle,Tooltip:j},props:{data:{type:Object,required:!0},sourcePosition:{type:String,required:!0},targetPosition:{type:String,required:!0},id:{type:String,required:!0},icons:{type:Object,default:void 0},iconComponent:{type:Object,default:void 0}},methods:{forwardEvent(t,n){this.$emit(t,n)}}},hm=Object.assign(gm,{setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(oe.Handle),{type:"source",position:t.sourcePosition},null,8,["position"]),e.createVNode(jn,{id:t.id,data:n.formattedData,color:n.color,icons:t.icons,"icon-component":t.iconComponent,onShowDescription:o[2]||(o[2]=l=>n.forwardEvent(e.unref(b.EVENTS).SHOW_DESCRIPTION,l)),onExpand:o[3]||(o[3]=l=>n.forwardEvent(e.unref(b.EVENTS).EXPAND,{id:t.id}))},e.createSlots({_:2},[t.data.isReadOnly?void 0:{name:"badge-button-before",fn:e.withCtx(()=>[n.execution?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["circle-button",[`bg-${n.color}`]]),onClick:o[0]||(o[0]=l=>n.$emit(e.unref(b.EVENTS).EDIT,{task:t.data.node.triggerDeclaration,section:e.unref(b.SECTIONS).TRIGGERS}))},[e.createVNode(j,{title:n.$t("edit")},{default:e.withCtx(()=>[e.createVNode(Kn,{class:"button-icon",alt:"Edit task"})]),_:1},8,["title"])],2)),n.execution?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(["circle-button",[`bg-${n.color}`]]),onClick:o[1]||(o[1]=l=>n.$emit(e.unref(b.EVENTS).DELETE,{id:n.triggerId,section:e.unref(b.SECTIONS).TRIGGERS}))},[e.createVNode(j,{title:n.$t("delete")},{default:e.withCtx(()=>[e.createVNode(Yn,{class:"button-icon",alt:"Delete task"})]),_:1},8,["title"])],2))]),key:"0"}]),1032,["id","data","color","icons","icon-component"]),e.createVNode(e.unref(oe.Handle),{type:"target",position:t.targetPosition},null,8,["position"])],64))}}),Em={name:"LightningBoltIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},km=["aria-hidden","aria-label"],ym=["fill","width","height"],vm={d:"M11 15H6L13 1V9H18L11 23V15Z"},Cm={key:0};function _m(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon lightning-bolt-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",vm,[o.title?(e.openBlock(),e.createElementBlock("title",Cm,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ym))],16,km)}const Nm=A(Em,[["render",_m]]),Sm={class:"collapsed-cluster-node d-flex"},bm={class:"node-text"},wm={class:"text-white top-button-div"},Lm={components:{Tooltip:j,Handle:oe.Handle,ArrowExpand:Wn,LightningBolt:Nm},inheritAttrs:!1,props:{id:{type:String,default:void 0},sourcePosition:{type:String,required:!0},targetPosition:{type:String,required:!0},data:{type:Object,required:!0}},data(){return{filter:void 0,isOpen:!1}},computed:{EVENTS(){return b.EVENTS},expandable(){return this.data?.expandable||!1},description(){const t=this.data.node.task??this.data.node.trigger??null;return t?t.description??null:null}}},Bm=Object.assign(Lm,{__name:"CollapsedClusterNode",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(oe.Handle),{type:"source",position:t.sourcePosition},null,8,["position"]),e.createElementVNode("div",Sm,[e.createElementVNode("span",bm,[t.data.iconComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.data.iconComponent),{key:0,class:e.normalizeClass(`text-${t.data.color} me-2`)},null,8,["class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(e.unref(b.Utils).afterLastDot(t.id)),1)]),e.createElementVNode("div",wm,[e.renderSlot(n.$slots,"badge-button-before",{},void 0,!0),n.expandable?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["circle-button",[`bg-${t.data.color}`]]),onClick:o[0]||(o[0]=l=>n.$emit(e.unref(b.EVENTS).EXPAND,{id:t.id}))},[e.createVNode(j,{title:n.$t("expand")},{default:e.withCtx(()=>[e.createVNode(Wn,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"badge-button-after",{},void 0,!0)])]),e.createVNode(e.unref(oe.Handle),{type:"target",position:t.targetPosition},null,8,["position"])],64))}}),Vm=A(Bm,[["__scopeId","data-v-89413b39"]]),Tm={name:"SplitCellsVerticalIcon",emits:["click"]},$m={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Im(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("svg",$m,[...n[0]||(n[0]=[e.createElementVNode("g",{"clip-path":"url(#clip0_1111_7266)"},[e.createElementVNode("path",{d:"M1.97852 2.63349C1.97852 2.26366 2.27832 1.96387 2.64814 1.96387L13.3621 1.96387C13.7319 1.96387 14.0317 2.26366 14.0317 2.63349L14.0317 13.3475C14.0317 13.7173 13.7319 14.0171 13.3621 14.0171L2.64814 14.0171C2.27832 14.0171 1.97852 13.7173 1.97852 13.3475L1.97852 2.63349ZM3.31776 8.6601L3.31776 12.6778L12.6925 12.6778L12.6925 8.6601L10.014 8.6601L10.014 7.32085L12.6925 7.32085L12.6925 3.30311L3.31776 3.30311L3.31776 7.32086L5.99626 7.32085L5.99626 8.6601L3.31776 8.6601ZM5.99626 5.98161L8.00513 3.97274L10.014 5.98161L8.67475 5.98161L8.67475 9.99935L10.014 9.99935L8.00513 12.0082L5.99626 9.99935L7.3355 9.99935L7.3355 5.98161L5.99626 5.98161Z",fill:"currentColor"})],-1),e.createElementVNode("defs",null,[e.createElementVNode("clipPath",{id:"clip0_1111_7266"},[e.createElementVNode("rect",{width:"16",height:"16",fill:"currentColor",transform:"translate(0 16) rotate(-90)"})])],-1)])])}const Am=A(Tm,[["render",Im],["__scopeId","data-v-084c51e6"]]),Dm={name:"SplitCellsHorizontalIcon",emits:["click"]},Om={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function xm(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("svg",Om,[...n[0]||(n[0]=[e.createElementVNode("g",{"clip-path":"url(#clip0_796_3996)"},[e.createElementVNode("path",{d:"M13.367 1.979C13.7368 1.979 14.0366 2.27881 14.0366 2.64863V13.3626C14.0366 13.7324 13.7368 14.0322 13.367 14.0322H2.65302C2.2832 14.0322 1.9834 13.7324 1.9834 13.3626V2.64863C1.9834 2.27881 2.2832 1.979 2.65302 1.979H13.367ZM7.34039 3.31825H3.32265V12.693H7.34039V10.0145H8.67963V12.693H12.6974V3.31825H8.67963V5.99675H7.34039V3.31825ZM10.0189 5.99675L12.0278 8.00562L10.0189 10.0145V8.67524H6.00114V10.0145L3.99227 8.00562L6.00114 5.99675V7.33599H10.0189V5.99675Z",fill:"currentColor"})],-1),e.createElementVNode("defs",null,[e.createElementVNode("clipPath",{id:"clip0_796_3996"},[e.createElementVNode("rect",{width:"16",height:"16",fill:"currentColor"})])],-1)])])}const Pm=A(Dm,[["render",xm],["__scopeId","data-v-c77c1469"]]),Rm={name:"DownloadIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Mm=["aria-hidden","aria-label"],Fm=["fill","width","height"],Um={d:"M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z"},Hm={key:0};function zm(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon download-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Um,[o.title?(e.openBlock(),e.createElementBlock("title",Hm,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Fm))],16,Mm)}const Wm=A(Rm,[["render",zm]]);function jm(t,n){if(t.match(/^[a-z]+:\/\//i))return t;if(t.match(/^\/\//))return window.location.protocol+t;if(t.match(/^[a-z]+:/i))return t;const o=document.implementation.createHTMLDocument(),l=o.createElement("base"),r=o.createElement("a");return o.head.appendChild(l),o.body.appendChild(r),n&&(l.href=n),r.href=t,r.href}const Gm=(()=>{let t=0;const n=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(t+=1,`u${n()}${t}`)})();function Me(t){const n=[];for(let o=0,l=t.length;o<l;o++)n.push(t[o]);return n}let et=null;function Ml(t={}){return et||(t.includeStyleProperties?(et=t.includeStyleProperties,et):(et=Me(window.getComputedStyle(document.documentElement)),et))}function Rt(t,n){const l=(t.ownerDocument.defaultView||window).getComputedStyle(t).getPropertyValue(n);return l?parseFloat(l.replace("px","")):0}function Km(t){const n=Rt(t,"border-left-width"),o=Rt(t,"border-right-width");return t.clientWidth+n+o}function Ym(t){const n=Rt(t,"border-top-width"),o=Rt(t,"border-bottom-width");return t.clientHeight+n+o}function Fl(t,n={}){const o=n.width||Km(t),l=n.height||Ym(t);return{width:o,height:l}}function qm(){let t,n;try{n=process}catch{}const o=n&&n.env?n.env.devicePixelRatio:null;return o&&(t=parseInt(o,10),Number.isNaN(t)&&(t=1)),t||window.devicePixelRatio||1}const ye=16384;function Xm(t){(t.width>ye||t.height>ye)&&(t.width>ye&&t.height>ye?t.width>t.height?(t.height*=ye/t.width,t.width=ye):(t.width*=ye/t.height,t.height=ye):t.width>ye?(t.height*=ye/t.width,t.width=ye):(t.width*=ye/t.height,t.height=ye))}function Mt(t){return new Promise((n,o)=>{const l=new Image;l.onload=()=>{l.decode().then(()=>{requestAnimationFrame(()=>n(l))})},l.onerror=o,l.crossOrigin="anonymous",l.decoding="async",l.src=t})}async function Zm(t){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(t)).then(encodeURIComponent).then(n=>`data:image/svg+xml;charset=utf-8,${n}`)}async function Jm(t,n,o){const l="http://www.w3.org/2000/svg",r=document.createElementNS(l,"svg"),a=document.createElementNS(l,"foreignObject");return r.setAttribute("width",`${n}`),r.setAttribute("height",`${o}`),r.setAttribute("viewBox",`0 0 ${n} ${o}`),a.setAttribute("width","100%"),a.setAttribute("height","100%"),a.setAttribute("x","0"),a.setAttribute("y","0"),a.setAttribute("externalResourcesRequired","true"),r.appendChild(a),a.appendChild(t),Zm(r)}const Ee=(t,n)=>{if(t instanceof n)return!0;const o=Object.getPrototypeOf(t);return o===null?!1:o.constructor.name===n.name||Ee(o,n)};function Qm(t){const n=t.getPropertyValue("content");return`${t.cssText} content: '${n.replace(/'|"/g,"")}';`}function ef(t,n){return Ml(n).map(o=>{const l=t.getPropertyValue(o),r=t.getPropertyPriority(o);return`${o}: ${l}${r?" !important":""};`}).join(" ")}function tf(t,n,o,l){const r=`.${t}:${n}`,a=o.cssText?Qm(o):ef(o,l);return document.createTextNode(`${r}{${a}}`)}function Wo(t,n,o,l){const r=window.getComputedStyle(t,o),a=r.getPropertyValue("content");if(a===""||a==="none")return;const i=Gm();try{n.className=`${n.className} ${i}`}catch{return}const s=document.createElement("style");s.appendChild(tf(i,o,r,l)),n.appendChild(s)}function nf(t,n,o){Wo(t,n,":before",o),Wo(t,n,":after",o)}const jo="application/font-woff",Go="image/jpeg",of={woff:jo,woff2:jo,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Go,jpeg:Go,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function lf(t){const n=/\.([^./]*?)$/g.exec(t);return n?n[1]:""}function qn(t){const n=lf(t).toLowerCase();return of[n]||""}function rf(t){return t.split(/,/)[1]}function Bn(t){return t.search(/^(data:)/)!==-1}function af(t,n){return`data:${n};base64,${t}`}async function Ul(t,n,o){const l=await fetch(t,n);if(l.status===404)throw new Error(`Resource "${l.url}" not found`);const r=await l.blob();return new Promise((a,i)=>{const s=new FileReader;s.onerror=i,s.onloadend=()=>{try{a(o({res:l,result:s.result}))}catch(c){i(c)}},s.readAsDataURL(r)})}const fn={};function sf(t,n,o){let l=t.replace(/\?.*/,"");return o&&(l=t),/ttf|otf|eot|woff2?/i.test(l)&&(l=l.replace(/.*\//,"")),n?`[${n}]${l}`:l}async function Xn(t,n,o){const l=sf(t,n,o.includeQueryParams);if(fn[l]!=null)return fn[l];o.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+new Date().getTime());let r;try{const a=await Ul(t,o.fetchRequestInit,({res:i,result:s})=>(n||(n=i.headers.get("Content-Type")||""),rf(s)));r=af(a,n)}catch(a){r=o.imagePlaceholder||"";let i=`Failed to fetch resource: ${t}`;a&&(i=typeof a=="string"?a:a.message),i&&console.warn(i)}return fn[l]=r,r}async function cf(t){const n=t.toDataURL();return n==="data:,"?t.cloneNode(!1):Mt(n)}async function uf(t,n){if(t.currentSrc){const a=document.createElement("canvas"),i=a.getContext("2d");a.width=t.clientWidth,a.height=t.clientHeight,i?.drawImage(t,0,0,a.width,a.height);const s=a.toDataURL();return Mt(s)}const o=t.poster,l=qn(o),r=await Xn(o,l,n);return Mt(r)}async function df(t,n){var o;try{if(!((o=t?.contentDocument)===null||o===void 0)&&o.body)return await Yt(t.contentDocument.body,n,!0)}catch{}return t.cloneNode(!1)}async function mf(t,n){return Ee(t,HTMLCanvasElement)?cf(t):Ee(t,HTMLVideoElement)?uf(t,n):Ee(t,HTMLIFrameElement)?df(t,n):t.cloneNode(Hl(t))}const ff=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SLOT",Hl=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SVG";async function pf(t,n,o){var l,r;if(Hl(n))return n;let a=[];return ff(t)&&t.assignedNodes?a=Me(t.assignedNodes()):Ee(t,HTMLIFrameElement)&&(!((l=t.contentDocument)===null||l===void 0)&&l.body)?a=Me(t.contentDocument.body.childNodes):a=Me(((r=t.shadowRoot)!==null&&r!==void 0?r:t).childNodes),a.length===0||Ee(t,HTMLVideoElement)||await a.reduce((i,s)=>i.then(()=>Yt(s,o)).then(c=>{c&&n.appendChild(c)}),Promise.resolve()),n}function gf(t,n,o){const l=n.style;if(!l)return;const r=window.getComputedStyle(t);r.cssText?(l.cssText=r.cssText,l.transformOrigin=r.transformOrigin):Ml(o).forEach(a=>{let i=r.getPropertyValue(a);a==="font-size"&&i.endsWith("px")&&(i=`${Math.floor(parseFloat(i.substring(0,i.length-2)))-.1}px`),Ee(t,HTMLIFrameElement)&&a==="display"&&i==="inline"&&(i="block"),a==="d"&&n.getAttribute("d")&&(i=`path(${n.getAttribute("d")})`),l.setProperty(a,i,r.getPropertyPriority(a))})}function hf(t,n){Ee(t,HTMLTextAreaElement)&&(n.innerHTML=t.value),Ee(t,HTMLInputElement)&&n.setAttribute("value",t.value)}function Ef(t,n){if(Ee(t,HTMLSelectElement)){const l=Array.from(n.children).find(r=>t.value===r.getAttribute("value"));l&&l.setAttribute("selected","")}}function kf(t,n,o){return Ee(n,Element)&&(gf(t,n,o),nf(t,n,o),hf(t,n),Ef(t,n)),n}async function yf(t,n){const o=t.querySelectorAll?t.querySelectorAll("use"):[];if(o.length===0)return t;const l={};for(let a=0;a<o.length;a++){const s=o[a].getAttribute("xlink:href");if(s){const c=t.querySelector(s),u=document.querySelector(s);!c&&u&&!l[s]&&(l[s]=await Yt(u,n,!0))}}const r=Object.values(l);if(r.length){const a="http://www.w3.org/1999/xhtml",i=document.createElementNS(a,"svg");i.setAttribute("xmlns",a),i.style.position="absolute",i.style.width="0",i.style.height="0",i.style.overflow="hidden",i.style.display="none";const s=document.createElementNS(a,"defs");i.appendChild(s);for(let c=0;c<r.length;c++)s.appendChild(r[c]);t.appendChild(i)}return t}async function Yt(t,n,o){return!o&&n.filter&&!n.filter(t)?null:Promise.resolve(t).then(l=>mf(l,n)).then(l=>pf(t,l,n)).then(l=>kf(t,l,n)).then(l=>yf(l,n))}const zl=/url\((['"]?)([^'"]+?)\1\)/g,vf=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,Cf=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function _f(t){const n=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${n})(['"]?\\))`,"g")}function Nf(t){const n=[];return t.replace(zl,(o,l,r)=>(n.push(r),o)),n.filter(o=>!Bn(o))}async function Sf(t,n,o,l,r){try{const a=o?jm(n,o):n,i=qn(n);let s;return r||(s=await Xn(a,i,l)),t.replace(_f(n),`$1${s}$3`)}catch{}return t}function bf(t,{preferredFontFormat:n}){return n?t.replace(Cf,o=>{for(;;){const[l,,r]=vf.exec(o)||[];if(!r)return"";if(r===n)return`src: ${l};`}}):t}function Wl(t){return t.search(zl)!==-1}async function jl(t,n,o){if(!Wl(t))return t;const l=bf(t,o);return Nf(l).reduce((a,i)=>a.then(s=>Sf(s,i,n,o)),Promise.resolve(l))}async function tt(t,n,o){var l;const r=(l=n.style)===null||l===void 0?void 0:l.getPropertyValue(t);if(r){const a=await jl(r,null,o);return n.style.setProperty(t,a,n.style.getPropertyPriority(t)),!0}return!1}async function wf(t,n){await tt("background",t,n)||await tt("background-image",t,n),await tt("mask",t,n)||await tt("-webkit-mask",t,n)||await tt("mask-image",t,n)||await tt("-webkit-mask-image",t,n)}async function Lf(t,n){const o=Ee(t,HTMLImageElement);if(!(o&&!Bn(t.src))&&!(Ee(t,SVGImageElement)&&!Bn(t.href.baseVal)))return;const l=o?t.src:t.href.baseVal,r=await Xn(l,qn(l),n);await new Promise((a,i)=>{t.onload=a,t.onerror=n.onImageErrorHandler?(...c)=>{try{a(n.onImageErrorHandler(...c))}catch(u){i(u)}}:i;const s=t;s.decode&&(s.decode=a),s.loading==="lazy"&&(s.loading="eager"),o?(t.srcset="",t.src=r):t.href.baseVal=r})}async function Bf(t,n){const l=Me(t.childNodes).map(r=>Gl(r,n));await Promise.all(l).then(()=>t)}async function Gl(t,n){Ee(t,Element)&&(await wf(t,n),await Lf(t,n),await Bf(t,n))}function Vf(t,n){const{style:o}=t;n.backgroundColor&&(o.backgroundColor=n.backgroundColor),n.width&&(o.width=`${n.width}px`),n.height&&(o.height=`${n.height}px`);const l=n.style;return l!=null&&Object.keys(l).forEach(r=>{o[r]=l[r]}),t}const Ko={};async function Yo(t){let n=Ko[t];if(n!=null)return n;const l=await(await fetch(t)).text();return n={url:t,cssText:l},Ko[t]=n,n}async function qo(t,n){let o=t.cssText;const l=/url\(["']?([^"')]+)["']?\)/g,a=(o.match(/url\([^)]+\)/g)||[]).map(async i=>{let s=i.replace(l,"$1");return s.startsWith("https://")||(s=new URL(s,t.url).href),Ul(s,n.fetchRequestInit,({result:c})=>(o=o.replace(i,`url(${c})`),[i,c]))});return Promise.all(a).then(()=>o)}function Xo(t){if(t==null)return[];const n=[],o=/(\/\*[\s\S]*?\*\/)/gi;let l=t.replace(o,"");const r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const c=r.exec(l);if(c===null)break;n.push(c[0])}l=l.replace(r,"");const a=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,i="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",s=new RegExp(i,"gi");for(;;){let c=a.exec(l);if(c===null){if(c=s.exec(l),c===null)break;a.lastIndex=s.lastIndex}else s.lastIndex=a.lastIndex;n.push(c[0])}return n}async function Tf(t,n){const o=[],l=[];return t.forEach(r=>{if("cssRules"in r)try{Me(r.cssRules||[]).forEach((a,i)=>{if(a.type===CSSRule.IMPORT_RULE){let s=i+1;const c=a.href,u=Yo(c).then(d=>qo(d,n)).then(d=>Xo(d).forEach(h=>{try{r.insertRule(h,h.startsWith("@import")?s+=1:r.cssRules.length)}catch(f){console.error("Error inserting rule from remote css",{rule:h,error:f})}})).catch(d=>{console.error("Error loading remote css",d.toString())});l.push(u)}})}catch(a){const i=t.find(s=>s.href==null)||document.styleSheets[0];r.href!=null&&l.push(Yo(r.href).then(s=>qo(s,n)).then(s=>Xo(s).forEach(c=>{i.insertRule(c,i.cssRules.length)})).catch(s=>{console.error("Error loading remote stylesheet",s)})),console.error("Error inlining remote css file",a)}}),Promise.all(l).then(()=>(t.forEach(r=>{if("cssRules"in r)try{Me(r.cssRules||[]).forEach(a=>{o.push(a)})}catch(a){console.error(`Error while reading CSS rules from ${r.href}`,a)}}),o))}function $f(t){return t.filter(n=>n.type===CSSRule.FONT_FACE_RULE).filter(n=>Wl(n.style.getPropertyValue("src")))}async function If(t,n){if(t.ownerDocument==null)throw new Error("Provided element is not within a Document");const o=Me(t.ownerDocument.styleSheets),l=await Tf(o,n);return $f(l)}function Kl(t){return t.trim().replace(/["']/g,"")}function Af(t){const n=new Set;function o(l){(l.style.fontFamily||getComputedStyle(l).fontFamily).split(",").forEach(a=>{n.add(Kl(a))}),Array.from(l.children).forEach(a=>{a instanceof HTMLElement&&o(a)})}return o(t),n}async function Df(t,n){const o=await If(t,n),l=Af(t);return(await Promise.all(o.filter(a=>l.has(Kl(a.style.fontFamily))).map(a=>{const i=a.parentStyleSheet?a.parentStyleSheet.href:null;return jl(a.cssText,i,n)}))).join(`
9
+ `)}async function Of(t,n){const o=n.fontEmbedCSS!=null?n.fontEmbedCSS:n.skipFonts?null:await Df(t,n);if(o){const l=document.createElement("style"),r=document.createTextNode(o);l.appendChild(r),t.firstChild?t.insertBefore(l,t.firstChild):t.appendChild(l)}}async function xf(t,n={}){const{width:o,height:l}=Fl(t,n),r=await Yt(t,n,!0);return await Of(r,n),await Gl(r,n),Vf(r,n),await Jm(r,o,l)}async function Yl(t,n={}){const{width:o,height:l}=Fl(t,n),r=await xf(t,n),a=await Mt(r),i=document.createElement("canvas"),s=i.getContext("2d"),c=n.pixelRatio||qm(),u=n.canvasWidth||o,d=n.canvasHeight||l;return i.width=u*c,i.height=d*c,n.skipAutoScale||Xm(i),i.style.width=`${u}`,i.style.height=`${d}`,n.backgroundColor&&(s.fillStyle=n.backgroundColor,s.fillRect(0,0,i.width,i.height)),s.drawImage(a,0,0,i.width,i.height),i}async function Pf(t,n={}){return(await Yl(t,n)).toDataURL()}async function Rf(t,n={}){return(await Yl(t,n)).toDataURL("image/jpeg",n.quality||1)}function Mf(){const t=e.ref(""),n=e.ref("png"),o=e.ref();async function l(s,c={}){const u=c.fileName??`flow-graph-${Date.now()}`;s.classList.add("is-exporting");const d=s.querySelectorAll(".vue-flow__edge-path"),h=Array.from(d).map(f=>{const k=f,T=k.getAttribute("style")||"",E=window.getComputedStyle(k);return k.setAttribute("style",`
10
10
  ${T};
11
- stroke: ${k.stroke};
12
- stroke-width: ${k.strokeWidth};
13
- stroke-dasharray: ${k.strokeDasharray};
11
+ stroke: ${E.stroke};
12
+ stroke-width: ${E.strokeWidth};
13
+ stroke-dasharray: ${E.strokeDasharray};
14
14
  fill: none;
15
- `),{element:y,original:T}});try{const m=c.type==="jpeg"?await r(s,c):await a(s,c);return c.shouldDownload&&u&&i(u),m}finally{h.forEach(({element:m,original:y})=>y?m.setAttribute("style",y):m.removeAttribute("style")),s.classList.remove("is-exporting")}}function r(s,c={quality:.95}){return o.value=null,Rf(s,c).then(u=>(e.value=u,n.value="jpeg",u)).catch(u=>{throw u.value=u,new Error(u)})}function a(s,c={quality:.95}){return o.value=null,Pf(s,c).then(u=>(e.value=u,n.value="png",u)).catch(u=>{throw u.value=u,new Error(u)})}function i(s){const c=document.createElement("a");c.download=`${s}.${n.value}`,c.href=e.value,c.click()}return{capture:l,download:i,dataUrl:e,error:o}}const Ff={key:1,class:"exporting"},Uf=t.defineComponent({__name:"Topology",props:{id:{},isHorizontal:{type:Boolean,default:!0},isReadOnly:{type:Boolean,default:!0},isAllowedEdit:{type:Boolean,default:!1},source:{},toggleOrientationButton:{type:Boolean,default:!1},flowGraph:{},flowId:{default:void 0},namespace:{default:void 0},expandedSubflows:{default:()=>[]},icons:{default:()=>({})},iconComponent:{default:void 0},enableSubflowInteraction:{type:Boolean,default:!0},execution:{default:void 0},subflowsExecutions:{default:()=>({})},playgroundEnabled:{type:Boolean,default:!1},playgroundReadyToStart:{type:Boolean,default:!1},getNodeDimensions:{type:Function,default:void 0}},emits:[b.EVENTS.EDIT,b.EVENTS.DELETE,b.EVENTS.RUN_TASK,b.EVENTS.OPEN_LINK,b.EVENTS.SHOW_LOGS,b.EVENTS.SHOW_DESCRIPTION,b.EVENTS.RUN_TASK,"on-add-flowable-error",b.EVENTS.ADD_TASK,"toggle-orientation","loading","swapped-task","message","expand-subflow",b.EVENTS.SHOW_CONDITION],setup(e,{emit:n}){const o=e,l=t.ref(!1),r=t.ref(),{getNodes:a,onNodeDrag:i,onNodeDragStart:s,onNodeDragStop:c,fitView:u,setElements:d,vueFlowRef:h}=oe.useVueFlow(o.id),m=t.ref({}),y=t.ref([]),T=t.ref(new Set),k=t.ref([]),{capture:_}=Mf();t.provide(Gn,t.computed(()=>o.execution)),t.provide(Pl,t.computed(()=>o.subflowsExecutions));const f=n;t.onMounted(()=>{E()}),t.watch(()=>o.flowGraph,()=>{E()}),t.watch(()=>o.isHorizontal,()=>{E()});const E=()=>{b.cleanGraph(o.id),t.nextTick(()=>{f("loading",!0);const x=T.value;T.value=new Set,y.value=[],m.value={},x.forEach(H=>R(b.CLUSTER_PREFIX+H,!1,!1));const $=b.generateGraph(o.id,o.flowId,o.namespace,o.flowGraph,o.source,y.value,o.isHorizontal,m.value,T.value,k.value,o.isReadOnly,o.isAllowedEdit,o.enableSubflowInteraction,o.getNodeDimensions);$&&(d($),u(),f("loading",!1))})},S=x=>{l.value||b.linkedElements(o.id,x.uid).forEach($=>{$?.type==="task"&&($.style={...$.style,outline:"0.5px solid "+Ne("--bs-gray-900")},$.class="rounded-3")})},N=()=>{w()},w=()=>{a.value.filter(x=>x.type==="task"||x.type==="trigger").forEach(x=>{x.style={...x.style,opacity:"1",outline:"none"},x.class=""})};s(x=>{l.value=!0,w(),x.node.style={...x.node.style,zIndex:1976},r.value=x.node.position}),c(x=>{if(l.value=!1,x.intersections&&C(x.intersections,x.node)===null){const $=x.node,H=x.intersections.find(P=>P.type==="task");if(H)try{o.source&&f("swapped-task",{newSource:W.swapBlocks({source:o.source,section:"tasks",key1:b.Utils.afterLastDot($.id)??"",key2:b.Utils.afterLastDot(H.id)??""}),swappedTasks:[$.id,H.id]})}catch(P){f("message",{variant:"error",title:"cannot swap tasks",message:`${P.message}, ${P.messageOptions}`}),$.position=r.value}else $.position=r.value}else x.node.position=r.value;w(),x.node.style={...x.node.style,zIndex:5},r.value=null});const I=t.computed(()=>o.flowGraph?.clusters?o.flowGraph.clusters.filter(x=>x.cluster.type.endsWith("SubflowGraphCluster")).map(x=>x.cluster.taskNode.uid+"."):[]);i(x=>{w(),a.value.filter($=>$.id!==x.node.id).forEach($=>{$.type==="trigger"||$.type==="task"&&($.id.startsWith(x.node.id+".")||x.node.id.startsWith($.id+"."))||I?.value?.some(H=>$.id.startsWith(H))?$.style={...$.style,opacity:"0.5"}:$.style={...$.style,opacity:"1"}}),x.intersections&&!C(x.intersections,x.node)&&x.intersections.filter($=>$.type==="task").length===1&&(x.intersections.forEach($=>{$.type==="task"&&($.style={...$.style,outline:"0.5px solid "+Ne("--bs-primary")},$.class="rounded-3")}),x.node.style={...x.node.style,outline:"0.5px solid "+Ne("--bs-primary")},x.node.class="rounded-3")});const C=(x,$)=>{const H=x.filter(P=>P.type==="task").map(P=>b.Utils.afterLastDot(P.id));if(H.length>1)return"toomuchtaskerror";try{if(H.length===1&&o.source&&W.isParentChildrenRelation({source:o.source,sections:["tasks","triggers"],key1:b.Utils.afterLastDot(H[0])??"",key2:b.Utils.afterLastDot($.id)??"",keyName:"id"}))return"parentchildrenerror"}catch{return"parentchildrenerror"}return x.filter(P=>P.type==="trigger").length>0?"triggererror":null},R=(x,$,H=!1)=>{const P=o.flowGraph.clusters.find(me=>me.cluster.uid.endsWith(x)),Ie=x.replace(b.CLUSTER_PREFIX,"");T.value.add(Ie),y.value=y.value.concat(P.nodes.filter(me=>me!==Ie||H)),y.value=y.value.concat([P.cluster.uid]),m.value={...m.value,[P.cluster.uid]:Ie,[P.start]:Ie,[P.end]:Ie};for(let me of P.nodes)o.flowGraph.clusters.map(He=>He.cluster.uid).includes(me)&&R(me,!1,!0);$&&E()},U=x=>{if(["io.kestra.core.tasks.flows.Flow","io.kestra.core.tasks.flows.Subflow","io.kestra.plugin.core.flow.Subflow","io.kestra.core.tasks.flows.ForEachItem$ForEachItemExecutable","io.kestra.plugin.core.flow.ForEachItem$ForEachItemExecutable"].includes(x.type)&&!o.expandedSubflows.includes(x.id)){f("expand-subflow",[...o.expandedSubflows,x.id]);return}m.value={},y.value=[],k.value=[],T.value.delete(x.id),T.value.forEach(H=>R(H,!1,!1)),E()},Q=document.getElementsByTagName("html")[0].className.indexOf("dark")>=0,ge=t.ref(!0),Z=t.ref(!1),Re=()=>Z.value=!Z.value;function Je(x){if(!h.value){console.warn("Flow not found");return}ge.value=!1,_(h.value,{type:x,shouldDownload:!0}).then(()=>ge.value=!0).finally(()=>Z.value=!1)}return(x,$)=>(t.openBlock(),t.createBlock(t.unref(oe.VueFlow),{id:e.id,"default-marker-color":t.unref(Ne)("--bs-cyan"),"fit-view-on-init":"","nodes-draggable":!1,"nodes-connectable":!1,"elevate-nodes-on-select":!1,"elevate-edges-on-select":!1},{"node-cluster":t.withCtx(H=>[t.createVNode(uu,t.mergeProps(H,{onCollapse:$[0]||($[0]=P=>R(P,!0))}),null,16)]),"node-dot":t.withCtx(H=>[t.createVNode(yu,t.normalizeProps(t.guardReactiveProps(H)),null,16)]),"node-task":t.withCtx(H=>[t.createVNode(pm,t.mergeProps(H,{icons:e.icons,"icon-component":e.iconComponent,"playground-enabled":e.playgroundEnabled,"playground-ready-to-start":e.playgroundReadyToStart,onEdit:$[1]||($[1]=P=>f(t.unref(b.EVENTS).EDIT,P)),onDelete:$[2]||($[2]=P=>f(t.unref(b.EVENTS).DELETE,P)),onRunTask:$[3]||($[3]=P=>f(t.unref(b.EVENTS).RUN_TASK,P)),onExpand:$[4]||($[4]=P=>U(P)),onOpenLink:$[5]||($[5]=P=>f(t.unref(b.EVENTS).OPEN_LINK,P)),onShowLogs:$[6]||($[6]=P=>f(t.unref(b.EVENTS).SHOW_LOGS,P)),onShowDescription:$[7]||($[7]=P=>f(t.unref(b.EVENTS).SHOW_DESCRIPTION,P)),onShowCondition:$[8]||($[8]=P=>f(t.unref(b.EVENTS).SHOW_CONDITION,P)),onMouseover:$[9]||($[9]=P=>S(P)),onMouseleave:$[10]||($[10]=P=>N()),onAddError:$[11]||($[11]=P=>f("on-add-flowable-error",P)),"enable-subflow-interaction":e.enableSubflowInteraction}),{details:t.withCtx(()=>[t.renderSlot(x.$slots,"taskDetails",t.normalizeProps(t.guardReactiveProps(H)),void 0,!0)]),_:2},1040,["icons","icon-component","playground-enabled","playground-ready-to-start","enable-subflow-interaction"])]),"node-custom":t.withCtx(H=>[t.createVNode(jn,t.mergeProps(H,{icons:e.icons,"icon-component":e.iconComponent}),null,16,["icons","icon-component"])]),"node-trigger":t.withCtx(H=>[t.createVNode(hm,t.mergeProps(H,{icons:e.icons,"icon-component":e.iconComponent,"is-read-only":e.isReadOnly,"is-allowed-edit":e.isAllowedEdit,onDelete:$[12]||($[12]=P=>f(t.unref(b.EVENTS).DELETE,P)),onEdit:$[13]||($[13]=P=>f(t.unref(b.EVENTS).EDIT,P)),onShowDescription:$[14]||($[14]=P=>f(t.unref(b.EVENTS).SHOW_DESCRIPTION,P))}),null,16,["icons","icon-component","is-read-only","is-allowed-edit"])]),"node-collapsedcluster":t.withCtx(H=>[t.createVNode(Vm,t.mergeProps(H,{onExpand:$[15]||($[15]=P=>U(P))}),null,16)]),"edge-edge":t.withCtx(H=>[t.createVNode($u,t.mergeProps(H,{"yaml-source":e.source,onAddTask:$[16]||($[16]=P=>f(t.unref(b.EVENTS).ADD_TASK,P)),"is-read-only":e.isReadOnly,"is-allowed-edit":e.isAllowedEdit}),null,16,["yaml-source","is-read-only","is-allowed-edit"])]),default:t.withCtx(()=>[t.createVNode(t.unref(Qc),{"pattern-color":Q?t.unref(Ne)("--bs-grey-500"):t.unref(Ne)("--bs-grey-300")},null,8,["pattern-color"]),ge.value?(t.openBlock(),t.createBlock(t.unref(an.Controls),{key:0,"show-interactive":!1},{default:t.withCtx(()=>[e.toggleOrientationButton?(t.openBlock(),t.createBlock(t.unref(an.ControlButton),{key:0,onClick:$[17]||($[17]=H=>f("toggle-orientation",H))},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.isHorizontal?Pm:Am)))]),_:1})):t.createCommentVNode("",!0),t.createVNode(t.unref(an.ControlButton),{onClick:Re},{default:t.withCtx(()=>[t.createVNode(Wm)]),_:1}),Z.value?(t.openBlock(),t.createElementBlock("ul",Ff,[t.createElementVNode("li",{onClick:$[18]||($[18]=H=>Je("jpeg")),class:"item"}," Export as .JPEG "),t.createElementVNode("li",{onClick:$[19]||($[19]=H=>Je("png")),class:"item"}," Export as .PNG ")])):t.createCommentVNode("",!0)]),_:1})):t.createCommentVNode("",!0)]),_:3},8,["id","default-marker-color"]))}}),Hf=A(Uf,[["__scopeId","data-v-6f358b88"]]),zf={class:"text"},Wf=t.defineComponent({__name:"Status",props:{status:{},title:{default:void 0},icon:{type:Boolean,default:!1},size:{default:"default"}},setup(e){const n=e,o=t.computed(()=>n.icon?ne.icon()[n.status?.toUpperCase()]:void 0),l=t.computed(()=>n.title??n.status),r=t.computed(()=>["status-button",n.status?.toLowerCase()&&`status-button--${n.status.toLowerCase()}`,n.size!=="default"&&`status-button--${n.size}`].filter(Boolean));return(a,i)=>(t.openBlock(),t.createElementBlock("button",{type:"button",class:t.normalizeClass(r.value)},[e.icon?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.value),{key:0,class:"icon"})):t.createCommentVNode("",!0),t.createElementVNode("span",zf,t.toDisplayString(l.value),1)],2))}}),jf=A(Wf,[["__scopeId","data-v-ce6b0e30"]]),Gf={name:"MenuRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Kf=["aria-hidden","aria-label"],Yf=["fill","width","height"],qf={d:"M10,17L15,12L10,7V17Z"},Xf={key:0};function Zf(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon menu-right-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",qf,[o.title?(t.openBlock(),t.createElementBlock("title",Xf,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Yf))],16,Kf)}const Jf=A(Gf,[["render",Zf]]),Qf={name:"MenuDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ep=["aria-hidden","aria-label"],tp=["fill","width","height"],np={d:"M7,10L12,15L17,10H7Z"},op={key:0};function lp(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon menu-down-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",np,[o.title?(t.openBlock(),t.createElementBlock("title",op,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,tp))],16,ep)}const rp=A(Qf,[["render",lp]]);function ql(e){return t.getCurrentScope()?(t.onScopeDispose(e),!0):!1}function Xl(e){return typeof e=="function"?e():t.unref(e)}const ap=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ip=Object.prototype.toString,sp=e=>ip.call(e)==="[object Object]",cp=()=>{};function up(e){return Object.entries(e)}function dp(e){return t.getCurrentInstance()}function mp(e,n=!0,o){dp()?t.onMounted(e,o):n?e():t.nextTick(e)}function Ye(e){var n;const o=Xl(e);return(n=o?.$el)!=null?n:o}const qt=ap?window:void 0;function Zo(...e){let n,o,l,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([o,l,r]=e,n=qt):[n,o,l,r]=e,!n)return cp;Array.isArray(o)||(o=[o]),Array.isArray(l)||(l=[l]);const a=[],i=()=>{a.forEach(d=>d()),a.length=0},s=(d,h,m,y)=>(d.addEventListener(h,m,y),()=>d.removeEventListener(h,m,y)),c=t.watch(()=>[Ye(n),Xl(r)],([d,h])=>{if(i(),!d)return;const m=sp(h)?{...h}:h;a.push(...o.flatMap(y=>l.map(T=>s(d,y,T,m))))},{immediate:!0,flush:"post"}),u=()=>{c(),i()};return ql(u),u}function fp(){const e=t.ref(!1),n=t.getCurrentInstance();return n&&t.onMounted(()=>{e.value=!0},n),e}function pp(e){const n=fp();return t.computed(()=>(n.value,!!e()))}const Jo=["hash","host","hostname","href","pathname","port","protocol","search"];function Zl(e={}){const{window:n=qt}=e,o=Object.fromEntries(Jo.map(a=>[a,t.ref()]));for(const[a,i]of up(o))t.watch(i,s=>{!n?.location||n.location[a]===s||(n.location[a]=s)});const l=a=>{var i;const{state:s,length:c}=n?.history||{},{origin:u}=n?.location||{};for(const d of Jo)o[d].value=(i=n?.location)==null?void 0:i[d];return t.reactive({trigger:a,state:s,length:c,origin:u,...o})},r=t.ref(l("load"));return n&&(Zo(n,"popstate",()=>r.value=l("popstate"),{passive:!0}),Zo(n,"hashchange",()=>r.value=l("hashchange"),{passive:!0})),r}function gp(e,n,o={}){const{window:l=qt,...r}=o;let a;const i=pp(()=>l&&"ResizeObserver"in l),s=()=>{a&&(a.disconnect(),a=void 0)},c=t.computed(()=>Array.isArray(e)?e.map(h=>Ye(h)):[Ye(e)]),u=t.watch(c,h=>{if(s(),i.value&&l){a=new ResizeObserver(n);for(const m of h)m&&a.observe(m,r)}},{immediate:!0,flush:"post"}),d=()=>{s(),u()};return ql(d),{isSupported:i,stop:d}}function Qo(e,n={width:0,height:0},o={}){const{window:l=qt,box:r="content-box"}=o,a=t.computed(()=>{var h,m;return(m=(h=Ye(e))==null?void 0:h.namespaceURI)==null?void 0:m.includes("svg")}),i=t.ref(n.width),s=t.ref(n.height),{stop:c}=gp(e,([h])=>{const m=r==="border-box"?h.borderBoxSize:r==="content-box"?h.contentBoxSize:h.devicePixelContentBoxSize;if(l&&a.value){const y=Ye(e);if(y){const T=y.getBoundingClientRect();i.value=T.width,s.value=T.height}}else if(m){const y=Array.isArray(m)?m:[m];i.value=y.reduce((T,{inlineSize:k})=>T+k,0),s.value=y.reduce((T,{blockSize:k})=>T+k,0)}else i.value=h.contentRect.width,s.value=h.contentRect.height},o);mp(()=>{const h=Ye(e);h&&(i.value="offsetWidth"in h?h.offsetWidth:n.width,s.value="offsetHeight"in h?h.offsetHeight:n.height)});const u=t.watch(()=>Ye(e),h=>{i.value=h?n.width:0,s.value=h?n.height:0});function d(){c(),u()}return{width:i,height:s,stop:d}}const hp=["id","open"],Ep={class:"d-flex gap-2 align-items-center"},kp={key:0,class:"d-flex flex-grow-1"},yp=["id"],vp=t.defineComponent({__name:"Collapsible",props:{href:{default:Math.random().toString(36).substring(2,5)},clickableText:{},arrow:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1},noUrlChange:{type:Boolean,default:!1}},emits:["expand"],setup(e,{emit:n}){const o=e,l=t.ref(!0),r=Zl(),a=n,i=t.computed(()=>`#${o.href}-body`),s=u=>{u.preventDefault(),u.stopPropagation(),l.value=!l.value,c.value=!l.value,l.value||a("expand"),!o.noUrlChange&&(l.value?history.replaceState(null,"",window.location.pathname+window.location.search):window.location.hash=i.value)},c=t.ref(!1);return t.watch(()=>o.initiallyExpanded,u=>{u!==void 0&&(c.value=u,l.value=!u)},{immediate:!0}),t.watch(()=>r.value.hash,u=>{u===i.value&&l.value&&(c.value=!0,l.value=!1)},{immediate:!0}),(u,d)=>(t.openBlock(),t.createElementBlock("details",{id:e.href,open:c.value},[t.createElementVNode("summary",{class:t.normalizeClass(["d-flex align-items-center justify-content-between fw-bold gap-2 collapse-button",{collapsed:l.value}]),onClick:s},[t.createElementVNode("span",Ep,[e.arrow?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.value?Jf:rp),{key:0,class:"arrow"})):t.createCommentVNode("",!0),t.createTextVNode(" "+t.toDisplayString(e.clickableText)+" ",1),t.renderSlot(u.$slots,"additionalButtonText",{},void 0,!0)]),u.$slots.buttonRight?(t.openBlock(),t.createElementBlock("span",kp,[t.renderSlot(u.$slots,"buttonRight",{collapsed:l.value},void 0,!0)])):t.createCommentVNode("",!0)],2),u.$slots.content?(t.openBlock(),t.createElementBlock("div",{key:0,id:e.href+"-body"},[t.createElementVNode("div",null,[t.renderSlot(u.$slots,"content",{},void 0,!0)])],8,yp)):t.createCommentVNode("",!0)],8,hp))}}),Et=A(vp,[["__scopeId","data-v-6b6ffd9a"]]),Cp={name:"ChevronRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Np=["aria-hidden","aria-label"],_p=["fill","width","height"],Sp={d:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"},bp={key:0};function wp(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon chevron-right-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Sp,[o.title?(t.openBlock(),t.createElementBlock("title",bp,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,_p))],16,Np)}const Zn=A(Cp,[["render",wp]]),Lp={name:"ChevronDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Bp=["aria-hidden","aria-label"],Vp=["fill","width","height"],Tp={d:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"},Ip={key:0};function $p(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon chevron-down-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Tp,[o.title?(t.openBlock(),t.createElementBlock("title",Ip,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Vp))],16,Bp)}const Jn=A(Lp,[["render",$p]]),Ap=["id","open"],Dp={key:0,class:"chevron"},Op=["id"],xp=t.defineComponent({__name:"CollapsibleV2",props:{href:{default:Math.random().toString(36).substring(2,5)},title:{},arrow:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1},noUrlChange:{type:Boolean,default:!1}},emits:["expand"],setup(e,{emit:n}){const o=e,l=t.ref(!0),r=Zl(),a=n,i=t.computed(()=>`#${o.href}-body`),s=u=>{if(u.preventDefault(),l.value=!l.value,c.value=!l.value,l.value||a("expand"),o.noUrlChange)return;const d=window.location.pathname+window.location.search+(l.value?"":i.value);try{window.history.pushState(null,"",d)}catch{try{l.value?window.history.replaceState(null,"",window.location.pathname+window.location.search):window.location.hash=i.value}catch{}}},c=t.ref(!1);return t.watch(()=>o.initiallyExpanded,u=>{u!==void 0&&(c.value=u,l.value=!u)},{immediate:!0}),t.watch(()=>r.value.hash,u=>{u===i.value&&l.value&&(c.value=!0,l.value=!1)},{immediate:!0}),(u,d)=>(t.openBlock(),t.createElementBlock("details",{id:e.href,open:c.value},[t.createElementVNode("summary",{class:t.normalizeClass(["d-flex align-items-center justify-content-between fw-bold gap-2 collapse-button",{collapsed:l.value}]),onClick:s},[t.createElementVNode("span",null,[t.createTextVNode(t.toDisplayString(e.title)+" ",1),t.renderSlot(u.$slots,"additional",{},void 0,!0)]),t.renderSlot(u.$slots,"right",{},void 0,!0),e.arrow?(t.openBlock(),t.createElementBlock("span",Dp,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.value?Zn:Jn)))])):t.createCommentVNode("",!0)],2),u.$slots.content?(t.openBlock(),t.createElementBlock("div",{key:0,id:e.href+"-body"},[t.createElementVNode("div",null,[t.renderSlot(u.$slots,"content",{},void 0,!0)])],8,Op)):t.createCommentVNode("",!0)],8,Ap))}}),kt=A(xp,[["__scopeId","data-v-d0f1d871"]]),Pp=["href"],Rp={class:"top-row"},Mp={class:"icon-content"},Fp=["src","alt"],Up={class:"text-content"},Hp={key:0,class:"description"},zp={class:"footer"},Wp={class:"bottom-row"},jp={class:"left"},Gp={key:0},Kp={key:1},Yp=t.defineComponent({__name:"SubgroupCard",props:{iconB64Svg:{},text:{},routePath:{},totalCount:{default:0},description:{default:""},href:{default:void 0},isActive:{type:Boolean,default:!1},blueprintsCount:{default:0}},emits:["navigate"],setup(e,{emit:n}){const o=e,l=n,r=t.computed(()=>o.href===void 0?`${o.routePath}/${Ce(o.text)}`:o.href);return(a,i)=>(t.openBlock(),t.createElementBlock("a",{href:r.value,onClick:i[0]||(i[0]=t.withModifiers(s=>l("navigate",r.value),["prevent"]))},[t.createElementVNode("div",{class:t.normalizeClass(["plugin",{"is-active":e.isActive}])},[t.createElementVNode("div",Rp,[t.createElementVNode("div",Mp,[t.createElementVNode("img",{src:e.iconB64Svg,alt:`${e.text} icon`},null,8,Fp)]),t.createElementVNode("div",Up,[t.createElementVNode("h6",null,t.toDisplayString(e.text),1),e.description?(t.openBlock(),t.createElementBlock("p",Hp,t.toDisplayString(e.description),1)):t.createCommentVNode("",!0)])]),t.createElementVNode("div",zp,[i[3]||(i[3]=t.createElementVNode("hr",null,null,-1)),t.createElementVNode("div",Wp,[t.createElementVNode("div",jp,[o.totalCount?(t.openBlock(),t.createElementBlock("p",Gp,[t.createTextVNode(t.toDisplayString(o.totalCount??0)+" ",1),i[1]||(i[1]=t.createElementVNode("span",null,"Tasks",-1))])):t.createCommentVNode("",!0),o.blueprintsCount?(t.openBlock(),t.createElementBlock("p",Kp,[t.createTextVNode(t.toDisplayString(o.blueprintsCount??0)+" ",1),i[2]||(i[2]=t.createElementVNode("span",null,"Blueprints",-1))])):t.createCommentVNode("",!0)]),t.createVNode(Zn)])])],2)],8,Pp))}}),Jl=A(Yp,[["__scopeId","data-v-7589a99f"]]),qp=["href"],Xp={class:"element-card"},Zp={class:"top-row"},Jp={class:"text-capitalize"},Qp={key:0},eg={class:"plugin-info"},tg={class:"plugin-class"},ng=t.defineComponent({__name:"ElementCard",props:{iconB64Svg:{},text:{},routePath:{},pluginClass:{},href:{},title:{}},emits:["navigate"],setup(e,{emit:n}){const o=e,l=n,r=t.computed(()=>o.href===void 0?`${o.routePath}/${Ce(o.text)}`:o.href);return(a,i)=>(t.openBlock(),t.createElementBlock("a",{href:r.value,onClick:i[0]||(i[0]=t.withModifiers(s=>l("navigate",r.value),["prevent"]))},[t.createElementVNode("div",Xp,[t.createElementVNode("div",Zp,[t.createElementVNode("h6",Jp,t.toDisplayString(e.text),1),t.createVNode(Zn)]),e.title?(t.openBlock(),t.createElementBlock("div",Qp,[t.renderSlot(a.$slots,"markdown",{content:e.title.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",eg,[t.createElementVNode("code",tg,t.toDisplayString(e.pluginClass),1)])])],8,qp))}}),Ql=A(ng,[["__scopeId","data-v-ca0c5604"]]),og={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},lg=["aria-hidden","aria-label"],rg=["fill","width","height"],ag={d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"},ig={key:0};function sg(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon content-copy-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",ag,[o.title?(t.openBlock(),t.createElementBlock("title",ig,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,rg))],16,lg)}const cg=A(og,[["render",sg]]),ug={key:0,class:"language"},dg=["innerHTML"],mg=t.defineComponent({__name:"SchemaToCode",props:{highlighter:{},code:{default:""},language:{default:null},filename:{default:null},highlights:{default:()=>[]},meta:{default:null},theme:{default:"github-dark"}},setup(e){const n={ContentCopy:t.shallowRef(cg),Check:t.shallowRef(Rl)},o=e,l=t.ref(!1),r=t.ref(),a=t.shallowRef(n.ContentCopy.value),i=t.ref(),s=t.ref(),c=t.computed(()=>o.highlighter.codeToHtml(o.code,{lang:o.language,theme:o.theme}));function u(){l.value=!0,r.value&&t.nextTick(()=>{i.value&&s.value&&Pr.createPopper(i.value,s.value,{placement:"left"})})}function d(){clearTimeout(r.value),navigator.clipboard.writeText(o.code.trimEnd()),a.value=n.Check.value,r.value=setTimeout(()=>{a.value=n.ContentCopy.value,r.value=void 0},2e3)}return(h,m)=>(t.openBlock(),t.createElementBlock("div",{class:"code-block",onMouseover:u,onMouseleave:m[0]||(m[0]=y=>l.value=!1)},[e.language&&!l.value?(t.openBlock(),t.createElementBlock("div",ug,t.toDisplayString(e.language),1)):t.createCommentVNode("",!0),l.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("button",{ref_key:"copyButton",ref:i,class:"copy"},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(a.value),{onClick:d}))],512),r.value?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"copyTooltip",ref:s,id:"copied-tooltip",role:"tooltip"},[...m[1]||(m[1]=[t.createTextVNode(" Copied! ",-1),t.createElementVNode("div",{id:"arrow","data-popper-arrow":""},null,-1)])],512)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),t.createElementVNode("div",{innerHTML:c.value},null,8,dg)],32))}}),ot=A(mg,[["__scopeId","data-v-a899f6a1"]]);function Vt(e){if(e.type)return Array.isArray(e.type)?e.type:[e.type];if(e.$ref){const o=e.$ref.split("/");return["#"+o[o.length-1]]}}function er(e){const n=e.split("_")[0];return n.substring(n.lastIndexOf(".")+1)}function Qn(e){if(e.enum)return e.enum;if(e.items?.enum)return e.items.enum;if(e.additionalProperties?.enum)return e.additionalProperties.enum}function tr(e){return e.allOf&&(e=e.allOf.reduce((n,o)=>({...n,...o}),{...e}),delete e.allOf),e}function it(e){const n={},o=r=>{const a=Vt(r);if(a&&a.length>0)return a;if(r.anyOf)return r.anyOf.flatMap(Vt).filter(i=>i!==void 0).filter(b.Utils.distinctFilter)},l=o(e);if(l?n.types=l:n.types=["object"],n.types.includes("array")&&e.items){const r=o(e.items);r&&e.items.anyOf&&(n.types=n.types.filter(a=>a!=="array").concat(r))}return e.additionalProperties?n.subType=Vt(e.additionalProperties)?.[0]:e.items&&(n.subType=Vt(e.items)?.[0]),n}function eo(e){return e?.$deprecated===!0||e?.$deprecated==="true"}function nr(e,n,o=new Set){if(!n)return[];const l=it(e),r=[];if(l.types.forEach(a=>{if(a.startsWith("#")){const i=a.slice(1);n[i]&&!o.has(i)&&!r.includes(i)&&r.push(i)}}),l.subType?.startsWith("#")){const a=l.subType.slice(1);n[a]&&!o.has(a)&&!r.includes(a)&&r.push(a)}return r.filter(a=>!eo(n[a])).map(a=>{const i=n[a],s=i?.properties?{...i.properties}:{},c=i?.$examples||s.$examples;return{key:a,title:i?.title??a.split("_")[0],description:i?.description,properties:s,$examples:c}})}function or(e){return e.$dynamic===!0?!0:e.$dynamic===!1?!1:e.anyOf?.some(n=>n.$dynamic===!0)??!1}const fg={name:"FileDocumentIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},pg=["aria-hidden","aria-label"],gg=["fill","width","height"],hg={d:"M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M15,18V16H6V18H15M18,14V12H6V14H18Z"},Eg={key:0};function kg(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon file-document-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",hg,[o.title?(t.openBlock(),t.createElementBlock("title",Eg,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,gg))],16,pg)}const yg=A(fg,[["render",kg]]),vg={class:"me-3"},Cg={class:"d-flex flex-column"},Ng=t.defineComponent({name:"Alert",__name:"Alert",props:{type:{}},setup(e){const n=e,o=t.computed(()=>{switch(n.type){case"success":return yg;case"info":return At;case"warning":return Kt;case"danger":return hn;default:return At}});return(l,r)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass("doc-alert alert alert-"+e.type),role:"alert"},[t.createElementVNode("div",vg,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.value),{class:"alert-icon"}))]),t.createElementVNode("div",Cg,[t.renderSlot(l.$slots,"default",{},void 0,!0)])],2))}}),lr=A(Ng,[["__scopeId","data-v-f7fd8bc1"]]),_g={name:"EyeOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Sg=["aria-hidden","aria-label"],bg=["fill","width","height"],wg={d:"M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9M12,4.5C17,4.5 21.27,7.61 23,12C21.27,16.39 17,19.5 12,19.5C7,19.5 2.73,16.39 1,12C2.73,7.61 7,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C15.76,17.5 19.17,15.36 20.82,12C19.17,8.64 15.76,6.5 12,6.5C8.24,6.5 4.83,8.64 3.18,12Z"},Lg={key:0};function Bg(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon eye-outline-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",wg,[o.title?(t.openBlock(),t.createElementBlock("title",Lg,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,bg))],16,Sg)}const rr=A(_g,[["render",Bg]]),Vg={class:"property-detail"},Tg={key:0},Ig=["href"],$g={class:"d-flex fw-bold type-box rounded fs-7 px-2 py-1"},Ag={class:"ref-type"},Dg={key:1,class:"type-box rounded fs-7 px-2 py-1"},Og={key:1},xg={class:"border rounded px-2 py-1"},Pg={key:2},Rg={class:"border rounded px-2 py-1"},Mg={key:3},Fg={class:"border rounded px-2 py-1"},Ug={key:4},Hg={class:"border rounded px-2 py-1"},zg={key:5},Wg={class:"border rounded px-2 py-1"},jg={key:6},Gg={class:"border rounded px-2 py-1"},Kg={key:7},Yg={class:"border rounded px-2 py-1"},qg={key:8},Xg={class:"border rounded px-2 py-1"},Zg={key:9},Jg={class:"border rounded px-2 py-1"},Qg={key:10},eh={class:"border rounded px-2 py-1"},th={key:11},nh={class:"border rounded px-2 py-1"},oh={key:12},lh={class:"border rounded px-2 py-1"},rh={key:13},ah={class:"d-flex flex-wrap justify-content-end gap-7 p-0"},ih={key:14},sh={class:"property-description markdown"},ch={key:2},uh=t.defineComponent({__name:"PropertyDetail",props:{property:{}},setup(e){const n=e,o=t.ref(it(n.property).subType),l=t.ref(Qn(n.property)),r=b.sanitizeForMarkdown;return(a,i)=>(t.openBlock(),t.createElementBlock("div",Vg,[o.value?(t.openBlock(),t.createElementBlock("div",Tg,[i[1]||(i[1]=t.createElementVNode("span",null," SubType ",-1)),o.value.startsWith("#")?(t.openBlock(),t.createElementBlock("a",{key:0,href:o.value,onClick:i[0]||(i[0]=t.withModifiers(()=>{},["stop"]))},[t.createElementVNode("button",$g,[t.createElementVNode("span",Ag,t.toDisplayString(t.unref(er)(o.value)),1),t.createVNode(rr)])],8,Ig)):(t.openBlock(),t.createElementBlock("span",Dg,t.toDisplayString(o.value),1))])):t.createCommentVNode("",!0),e.property.default!==void 0?(t.openBlock(),t.createElementBlock("div",Og,[i[2]||(i[2]=t.createElementVNode("span",null," Default ",-1)),t.createElementVNode("code",xg,t.toDisplayString(e.property.default),1)])):t.createCommentVNode("",!0),e.property.pattern!==void 0?(t.openBlock(),t.createElementBlock("div",Pg,[i[3]||(i[3]=t.createElementVNode("span",null," Validation RegExp ",-1)),t.createElementVNode("code",Rg,t.toDisplayString(e.property.pattern),1)])):t.createCommentVNode("",!0),e.property.unit!==void 0&&e.property.unit.trim().length>0?(t.openBlock(),t.createElementBlock("div",Mg,[i[4]||(i[4]=t.createElementVNode("span",null," Unit ",-1)),t.createElementVNode("code",Fg,t.toDisplayString(e.property.unit),1)])):t.createCommentVNode("",!0),e.property.minLength!==void 0?(t.openBlock(),t.createElementBlock("div",Ug,[i[5]||(i[5]=t.createElementVNode("span",null," Min length ",-1)),t.createElementVNode("code",Hg,t.toDisplayString(e.property.minLength),1)])):t.createCommentVNode("",!0),e.property.maxLength!==void 0?(t.openBlock(),t.createElementBlock("div",zg,[i[6]||(i[6]=t.createElementVNode("span",null," Max length ",-1)),t.createElementVNode("code",Wg,t.toDisplayString(e.property.maxLength),1)])):t.createCommentVNode("",!0),e.property.minItems!==void 0?(t.openBlock(),t.createElementBlock("div",jg,[i[7]||(i[7]=t.createElementVNode("span",null," Min items ",-1)),t.createElementVNode("code",Gg,t.toDisplayString(e.property.minItems),1)])):t.createCommentVNode("",!0),e.property.maxItems!==void 0?(t.openBlock(),t.createElementBlock("div",Kg,[i[8]||(i[8]=t.createElementVNode("span",null," Max items ",-1)),t.createElementVNode("code",Yg,t.toDisplayString(e.property.maxItems),1)])):t.createCommentVNode("",!0),e.property.minimum!==void 0?(t.openBlock(),t.createElementBlock("div",qg,[i[9]||(i[9]=t.createElementVNode("span",null," Minimum ",-1)),t.createElementVNode("code",Xg," >= "+t.toDisplayString(e.property.minimum),1)])):t.createCommentVNode("",!0),e.property.exclusiveMinimum!==void 0?(t.openBlock(),t.createElementBlock("div",Zg,[i[10]||(i[10]=t.createElementVNode("span",null," Minimum ",-1)),t.createElementVNode("code",Jg," > "+t.toDisplayString(e.property.minimum),1)])):t.createCommentVNode("",!0),e.property.maximum!==void 0?(t.openBlock(),t.createElementBlock("div",Qg,[i[11]||(i[11]=t.createElementVNode("span",null," Maximum ",-1)),t.createElementVNode("code",eh," <= "+t.toDisplayString(e.property.maximum),1)])):t.createCommentVNode("",!0),e.property.exclusiveMaximum!==void 0?(t.openBlock(),t.createElementBlock("div",th,[i[12]||(i[12]=t.createElementVNode("span",null," Maximum ",-1)),t.createElementVNode("code",nh," < "+t.toDisplayString(e.property.maximum),1)])):t.createCommentVNode("",!0),e.property.format!==void 0?(t.openBlock(),t.createElementBlock("div",oh,[i[13]||(i[13]=t.createElementVNode("span",null," Format ",-1)),t.createElementVNode("code",lh,t.toDisplayString(e.property.format),1)])):t.createCommentVNode("",!0),l.value!==void 0?(t.openBlock(),t.createElementBlock("div",rh,[i[14]||(i[14]=t.createElementVNode("span",null," Possible Values ",-1)),t.createElementVNode("div",ah,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,(s,c)=>(t.openBlock(),t.createElementBlock("code",{class:"border rounded px-2 py-1",key:c},t.toDisplayString(s),1))),128))])])):t.createCommentVNode("",!0),e.property.title!==void 0||e.property.description!==void 0?(t.openBlock(),t.createElementBlock("div",ih,[t.createElementVNode("div",sh,[e.property.title!==void 0?t.renderSlot(a.$slots,"markdown",{key:0,content:t.unref(r)(e.property.title)},void 0,!0):t.createCommentVNode("",!0),e.property.description!==void 0?t.renderSlot(a.$slots,"markdown",{key:1,content:t.unref(r)(e.property.description)},void 0,!0):t.createCommentVNode("",!0),e.property.$internalStorageURI?(t.openBlock(),t.createElementBlock("div",ch,[t.createVNode(lr,{type:"info"},{default:t.withCtx(()=>[t.renderSlot(a.$slots,"markdown",{content:"Pebble expression referencing an Internal Storage URI e.g. `{{ outputs.mytask.uri }}`."},void 0,!0)]),_:3})])):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0)]))}}),dh=A(uh,[["__scopeId","data-v-e4c1ea43"]]),mh={name:"ChevronUpIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},fh=["aria-hidden","aria-label"],ph=["fill","width","height"],gh={d:"M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"},hh={key:0};function Eh(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon chevron-up-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",gh,[o.title?(t.openBlock(),t.createElementBlock("title",hh,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ph))],16,fh)}const ar=A(mh,[["render",Eh]]),kh={name:"SnowflakeIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},yh=["aria-hidden","aria-label"],vh=["fill","width","height"],Ch={d:"M20.79,13.95L18.46,14.57L16.46,13.44V10.56L18.46,9.43L20.79,10.05L21.31,8.12L19.54,7.65L20,5.88L18.07,5.36L17.45,7.69L15.45,8.82L13,7.38V5.12L14.71,3.41L13.29,2L12,3.29L10.71,2L9.29,3.41L11,5.12V7.38L8.5,8.82L6.5,7.69L5.92,5.36L4,5.88L4.47,7.65L2.7,8.12L3.22,10.05L5.55,9.43L7.55,10.56V13.45L5.55,14.58L3.22,13.96L2.7,15.89L4.47,16.36L4,18.12L5.93,18.64L6.55,16.31L8.55,15.18L11,16.62V18.88L9.29,20.59L10.71,22L12,20.71L13.29,22L14.7,20.59L13,18.88V16.62L15.5,15.17L17.5,16.3L18.12,18.63L20,18.12L19.53,16.35L21.3,15.88L20.79,13.95M9.5,10.56L12,9.11L14.5,10.56V13.44L12,14.89L9.5,13.44V10.56Z"},Nh={key:0};function _h(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon snowflake-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Ch,[o.title?(t.openBlock(),t.createElementBlock("title",Nh,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,vh))],16,yh)}const ir=A(kh,[["render",_h]]),Sh={name:"AlphaBBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},bh=["aria-hidden","aria-label"],wh=["fill","width","height"],Lh={d:"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M15,10.5V9A2,2 0 0,0 13,7H9V17H13A2,2 0 0,0 15,15V13.5C15,12.7 14.3,12 13.5,12C14.3,12 15,11.3 15,10.5M13,15H11V13H13V15M13,11H11V9H13V11Z"},Bh={key:0};function Vh(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon alpha-b-box-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Lh,[o.title?(t.openBlock(),t.createElementBlock("title",Bh,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,wh))],16,bh)}const sr=A(Sh,[["render",Vh]]),Th={key:0,class:"d-flex flex-column gap-3 mb-3 mt-2"},Ih={key:0,class:"markdown"},$h={key:1,class:"examples-container"},Ah={class:"border overflow-hidden"},Dh={class:"d-flex flex-grow-1 align-items-center justify-content-between"},Oh={class:"d-flex gap-2"},xh={class:"d-flex flex-wrap justify-content-end gap-2"},Ph=["href"],Rh={class:"ref-type"},Mh={key:1,class:"type-box rounded fs-7 px-2 py-1"},Fh=t.defineComponent({__name:"CollapsibleProperties",props:{href:{default:Math.random().toString(36).substring(2,5)},sectionName:{},properties:{default:void 0},definitions:{default:void 0},showDynamic:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1},forceInclude:{default:()=>[]},noUrlChange:{type:Boolean,default:!1},description:{default:void 0},examples:{default:void 0}},emits:["expand"],setup(e,{emit:n}){const o=e,l=n,r=t.ref(!1);t.watch(r,s=>{s&&l("expand")});const a=s=>s.filter(c=>!c.startsWith("#")||!eo(o.definitions?.[c.slice(1)]));function i(s){s=s??{};const c=[],u=[];for(const m in s)typeof s[m]=="object"&&(s[m]=tr(s[m]),s[m].$required?c.push(m):u.push(m));const d=[...c.sort(),...u.sort()],h={};return d.forEach(m=>{(!s[m].$deprecated||o.forceInclude?.includes(m))&&(h[m]=s[m])}),h}return(s,c)=>(t.openBlock(),t.createBlock(Et,{class:"section-collapsible","clickable-text":e.sectionName,href:e.href,onExpand:c[2]||(c[2]=u=>l("expand")),"initially-expanded":e.initiallyExpanded||r.value,"no-url-change":e.noUrlChange},t.createSlots({_:2},[Object.keys(e.properties??{}).length>0?{name:"content",fn:t.withCtx(()=>[e.description||e.examples&&e.examples.length>0?(t.openBlock(),t.createElementBlock("div",Th,[e.description?(t.openBlock(),t.createElementBlock("div",Ih,[t.renderSlot(s.$slots,"markdown",{content:e.description},void 0,!0)])):t.createCommentVNode("",!0),e.examples&&e.examples.length>0?(t.openBlock(),t.createElementBlock("div",$h,[c[3]||(c[3]=t.createElementVNode("h6",{class:"fw-bold mb-2"}," Examples ",-1)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.examples,(u,d)=>(t.openBlock(),t.createElementBlock("div",{key:d,class:"mb-2"},[t.renderSlot(s.$slots,"example",{example:u},void 0,!0)]))),128))])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",Ah,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i(e.properties),(u,d)=>(t.openBlock(),t.createBlock(Et,{class:"property",key:d,arrow:!1,"clickable-text":d,href:e.href+"_"+d,onExpand:c[1]||(c[1]=h=>r.value=!0),"no-url-change":e.noUrlChange},{additionalButtonText:t.withCtx(()=>[u.$required?(t.openBlock(),t.createBlock(j,{key:0,class:"d-flex",title:"Required"},{default:t.withCtx(()=>[...c[4]||(c[4]=[t.createElementVNode("span",{class:"text-danger"}," *",-1)])]),_:1})):t.createCommentVNode("",!0)]),buttonRight:t.withCtx(({collapsed:h})=>[t.createElementVNode("span",Dh,[t.createElementVNode("span",Oh,[e.showDynamic&&!t.unref(or)(u)?(t.openBlock(),t.createBlock(j,{key:0,class:"d-flex",title:"Non-dynamic"},{default:t.withCtx(()=>[t.createVNode(ir,{class:"text-info"})]),_:1})):t.createCommentVNode("",!0),u.$beta?(t.openBlock(),t.createBlock(j,{key:1,class:"d-flex",title:"Beta"},{default:t.withCtx(()=>[t.createVNode(sr,{class:"text-warning"})]),_:1})):t.createCommentVNode("",!0),u.$deprecated?(t.openBlock(),t.createBlock(j,{key:2,class:"d-flex",title:"Deprecated"},{default:t.withCtx(()=>[t.createVNode(Kt,{class:"text-warning"})]),_:1})):t.createCommentVNode("",!0)]),t.createElementVNode("span",xh,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a(t.unref(it)(u).types),m=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:m},[m.startsWith("#")?(t.openBlock(),t.createElementBlock("a",{key:0,class:"d-flex fw-bold ref-type-box rounded fs-7 px-2 py-1",href:m,onClick:c[0]||(c[0]=t.withModifiers(()=>{},["stop"]))},[t.createElementVNode("span",Rh,t.toDisplayString(t.unref(er)(m)),1),t.createVNode(rr)],8,Ph)):(t.openBlock(),t.createElementBlock("span",Mh,t.toDisplayString(m),1))],64))),128)),(t.openBlock(),t.createBlock(t.resolveDynamicComponent(h?Jn:ar),{class:"arrow"}))])])]),content:t.withCtx(()=>[t.createVNode(dh,{property:u},{markdown:t.withCtx(({content:h})=>[t.renderSlot(s.$slots,"markdown",{content:h},void 0,!0)]),_:3},8,["property"])]),_:2},1032,["clickable-text","href","no-url-change"]))),128))])]),key:"0"}:void 0]),1032,["clickable-text","href","initially-expanded","no-url-change"]))}}),Tt=A(Fh,[["__scopeId","data-v-b4f5f7ad"]]),Uh={class:"d-flex flex-column gap-6"},Hh={class:"d-flex flex-column gap-3"},zh={key:0,class:"alert alert-info mb-2",role:"alert"},Wh={key:1,class:"plugin-title markdown"},jh={key:2,class:"markdown"},Gh={class:"d-flex flex-column gap-4"},Kh={class:"d-flex flex-column gap-3"},Yh={class:"markdown"},qh={key:0,class:"w-100 align-self-center"},Xh={class:"markdown"},Zh={class:"markdown"},Jh={class:"markdown"},Qh={class:"d-flex flex-column gap-7 ps-3"},e1={class:"markdown"},t1={class:"d-flex flex-column gap-2"},n1={key:0,class:"markdown"},o1=t.defineComponent({__name:"SchemaToHtml",props:{schema:{},pluginType:{},darkMode:{type:Boolean,default:!0},propsInitiallyExpanded:{type:Boolean,default:!1},forceIncludeProperties:{default:()=>[]},noUrlChange:{type:Boolean,default:!1}},async setup(e){let n,o;const l=e,r=t.ref(!1),a=t.ref(new Set),i=t.ref(0),s=t.computed(()=>Object.entries(l.schema.definitions??{}).filter(([,k])=>!eo(k))),c=async()=>{const k=window.location.hash.slice(1);if(!k||!l.schema.definitions){a.value.clear();return}const _=k.replace(/-body$/,""),f=Object.keys(l.schema.definitions).find(E=>_===E||_.startsWith(E+"_"));if(f){r.value=!0,i.value+=1,a.value.clear(),a.value.add(f),await t.nextTick();let E=0;const S=30,N=()=>{const w=document.getElementById(_);w?w.scrollIntoView({behavior:"smooth",block:"start"}):E<S&&(E++,requestAnimationFrame(N))};requestAnimationFrame(N)}else a.value.clear()};t.watch([()=>l.schema,()=>l.pluginType],([k,_],[f,E])=>{(k!==f||_!==E)&&l.schema.definitions&&c()});const u=k=>k?.full?k.code:`id: ${l.pluginType.split(".").reverse()[0]?.toLowerCase()}
15
+ `),{element:k,original:T}});try{const f=c.type==="jpeg"?await r(s,c):await a(s,c);return c.shouldDownload&&u&&i(u),f}finally{h.forEach(({element:f,original:k})=>k?f.setAttribute("style",k):f.removeAttribute("style")),s.classList.remove("is-exporting")}}function r(s,c={quality:.95}){return o.value=null,Rf(s,c).then(u=>(t.value=u,n.value="jpeg",u)).catch(u=>{throw u.value=u,new Error(u)})}function a(s,c={quality:.95}){return o.value=null,Pf(s,c).then(u=>(t.value=u,n.value="png",u)).catch(u=>{throw u.value=u,new Error(u)})}function i(s){const c=document.createElement("a");c.download=`${s}.${n.value}`,c.href=t.value,c.click()}return{capture:l,download:i,dataUrl:t,error:o}}const Ff={key:1,class:"exporting"},Uf=e.defineComponent({__name:"Topology",props:{id:{},isHorizontal:{type:Boolean,default:!0},isReadOnly:{type:Boolean,default:!0},isAllowedEdit:{type:Boolean,default:!1},source:{},toggleOrientationButton:{type:Boolean,default:!1},flowGraph:{},flowId:{default:void 0},namespace:{default:void 0},expandedSubflows:{default:()=>[]},icons:{default:()=>({})},iconComponent:{default:void 0},enableSubflowInteraction:{type:Boolean,default:!0},execution:{default:void 0},subflowsExecutions:{default:()=>({})},playgroundEnabled:{type:Boolean,default:!1},playgroundReadyToStart:{type:Boolean,default:!1},getNodeDimensions:{type:Function,default:void 0}},emits:[b.EVENTS.EDIT,b.EVENTS.DELETE,b.EVENTS.RUN_TASK,b.EVENTS.OPEN_LINK,b.EVENTS.SHOW_LOGS,b.EVENTS.SHOW_DESCRIPTION,b.EVENTS.RUN_TASK,"on-add-flowable-error",b.EVENTS.ADD_TASK,"toggle-orientation","loading","swapped-task","message","expand-subflow",b.EVENTS.SHOW_CONDITION],setup(t,{emit:n}){const o=t,l=e.ref(!1),r=e.ref(),{getNodes:a,onNodeDrag:i,onNodeDragStart:s,onNodeDragStop:c,fitView:u,setElements:d,vueFlowRef:h}=oe.useVueFlow(o.id),f=e.ref({}),k=e.ref([]),T=e.ref(new Set),E=e.ref([]),{capture:N}=Mf();e.provide(Gn,e.computed(()=>o.execution)),e.provide(Pl,e.computed(()=>o.subflowsExecutions));const m=n;e.onMounted(()=>{y()}),e.watch(()=>o.flowGraph,()=>{y()}),e.watch(()=>o.isHorizontal,()=>{y()});const y=()=>{b.cleanGraph(o.id),e.nextTick(()=>{m("loading",!0);const x=T.value;T.value=new Set,k.value=[],f.value={},x.forEach(H=>R(b.CLUSTER_PREFIX+H,!1,!1));const I=b.generateGraph(o.id,o.flowId,o.namespace,o.flowGraph,o.source,k.value,o.isHorizontal,f.value,T.value,E.value,o.isReadOnly,o.isAllowedEdit,o.enableSubflowInteraction,o.getNodeDimensions);I&&(d(I),u(),m("loading",!1))})},S=x=>{l.value||b.linkedElements(o.id,x.uid).forEach(I=>{I?.type==="task"&&(I.style={...I.style,outline:"0.5px solid "+_e("--bs-gray-900")},I.class="rounded-3")})},_=()=>{w()},w=()=>{a.value.filter(x=>x.type==="task"||x.type==="trigger").forEach(x=>{x.style={...x.style,opacity:"1",outline:"none"},x.class=""})};s(x=>{l.value=!0,w(),x.node.style={...x.node.style,zIndex:1976},r.value=x.node.position}),c(x=>{if(l.value=!1,x.intersections&&C(x.intersections,x.node)===null){const I=x.node,H=x.intersections.find(P=>P.type==="task");if(H)try{o.source&&m("swapped-task",{newSource:W.swapBlocks({source:o.source,section:"tasks",key1:b.Utils.afterLastDot(I.id)??"",key2:b.Utils.afterLastDot(H.id)??""}),swappedTasks:[I.id,H.id]})}catch(P){m("message",{variant:"error",title:"cannot swap tasks",message:`${P.message}, ${P.messageOptions}`}),I.position=r.value}else I.position=r.value}else x.node.position=r.value;w(),x.node.style={...x.node.style,zIndex:5},r.value=null});const $=e.computed(()=>o.flowGraph?.clusters?o.flowGraph.clusters.filter(x=>x.cluster.type.endsWith("SubflowGraphCluster")).map(x=>x.cluster.taskNode.uid+"."):[]);i(x=>{w(),a.value.filter(I=>I.id!==x.node.id).forEach(I=>{I.type==="trigger"||I.type==="task"&&(I.id.startsWith(x.node.id+".")||x.node.id.startsWith(I.id+"."))||$?.value?.some(H=>I.id.startsWith(H))?I.style={...I.style,opacity:"0.5"}:I.style={...I.style,opacity:"1"}}),x.intersections&&!C(x.intersections,x.node)&&x.intersections.filter(I=>I.type==="task").length===1&&(x.intersections.forEach(I=>{I.type==="task"&&(I.style={...I.style,outline:"0.5px solid "+_e("--bs-primary")},I.class="rounded-3")}),x.node.style={...x.node.style,outline:"0.5px solid "+_e("--bs-primary")},x.node.class="rounded-3")});const C=(x,I)=>{const H=x.filter(P=>P.type==="task").map(P=>b.Utils.afterLastDot(P.id));if(H.length>1)return"toomuchtaskerror";try{if(H.length===1&&o.source&&W.isParentChildrenRelation({source:o.source,sections:["tasks","triggers"],key1:b.Utils.afterLastDot(H[0])??"",key2:b.Utils.afterLastDot(I.id)??"",keyName:"id"}))return"parentchildrenerror"}catch{return"parentchildrenerror"}return x.filter(P=>P.type==="trigger").length>0?"triggererror":null},R=(x,I,H=!1)=>{const P=o.flowGraph.clusters.find(me=>me.cluster.uid.endsWith(x)),$e=x.replace(b.CLUSTER_PREFIX,"");T.value.add($e),k.value=k.value.concat(P.nodes.filter(me=>me!==$e||H)),k.value=k.value.concat([P.cluster.uid]),f.value={...f.value,[P.cluster.uid]:$e,[P.start]:$e,[P.end]:$e};for(let me of P.nodes)o.flowGraph.clusters.map(He=>He.cluster.uid).includes(me)&&R(me,!1,!0);I&&y()},U=x=>{if(["io.kestra.core.tasks.flows.Flow","io.kestra.core.tasks.flows.Subflow","io.kestra.plugin.core.flow.Subflow","io.kestra.core.tasks.flows.ForEachItem$ForEachItemExecutable","io.kestra.plugin.core.flow.ForEachItem$ForEachItemExecutable"].includes(x.type)&&!o.expandedSubflows.includes(x.id)){m("expand-subflow",[...o.expandedSubflows,x.id]);return}f.value={},k.value=[],E.value=[],T.value.delete(x.id),T.value.forEach(H=>R(H,!1,!1)),y()},Q=document.getElementsByTagName("html")[0].className.indexOf("dark")>=0,ge=e.ref(!0),Z=e.ref(!1),Re=()=>Z.value=!Z.value;function Je(x){if(!h.value){console.warn("Flow not found");return}ge.value=!1,N(h.value,{type:x,shouldDownload:!0}).then(()=>ge.value=!0).finally(()=>Z.value=!1)}return(x,I)=>(e.openBlock(),e.createBlock(e.unref(oe.VueFlow),{id:t.id,"default-marker-color":e.unref(_e)("--bs-cyan"),"fit-view-on-init":"","nodes-draggable":!1,"nodes-connectable":!1,"elevate-nodes-on-select":!1,"elevate-edges-on-select":!1},{"node-cluster":e.withCtx(H=>[e.createVNode(uu,e.mergeProps(H,{onCollapse:I[0]||(I[0]=P=>R(P,!0))}),null,16)]),"node-dot":e.withCtx(H=>[e.createVNode(yu,e.normalizeProps(e.guardReactiveProps(H)),null,16)]),"node-task":e.withCtx(H=>[e.createVNode(pm,e.mergeProps(H,{icons:t.icons,"icon-component":t.iconComponent,"playground-enabled":t.playgroundEnabled,"playground-ready-to-start":t.playgroundReadyToStart,onEdit:I[1]||(I[1]=P=>m(e.unref(b.EVENTS).EDIT,P)),onDelete:I[2]||(I[2]=P=>m(e.unref(b.EVENTS).DELETE,P)),onRunTask:I[3]||(I[3]=P=>m(e.unref(b.EVENTS).RUN_TASK,P)),onExpand:I[4]||(I[4]=P=>U(P)),onOpenLink:I[5]||(I[5]=P=>m(e.unref(b.EVENTS).OPEN_LINK,P)),onShowLogs:I[6]||(I[6]=P=>m(e.unref(b.EVENTS).SHOW_LOGS,P)),onShowDescription:I[7]||(I[7]=P=>m(e.unref(b.EVENTS).SHOW_DESCRIPTION,P)),onShowCondition:I[8]||(I[8]=P=>m(e.unref(b.EVENTS).SHOW_CONDITION,P)),onMouseover:I[9]||(I[9]=P=>S(P)),onMouseleave:I[10]||(I[10]=P=>_()),onAddError:I[11]||(I[11]=P=>m("on-add-flowable-error",P)),"enable-subflow-interaction":t.enableSubflowInteraction}),{details:e.withCtx(()=>[e.renderSlot(x.$slots,"taskDetails",e.normalizeProps(e.guardReactiveProps(H)),void 0,!0)]),_:2},1040,["icons","icon-component","playground-enabled","playground-ready-to-start","enable-subflow-interaction"])]),"node-custom":e.withCtx(H=>[e.createVNode(jn,e.mergeProps(H,{icons:t.icons,"icon-component":t.iconComponent}),null,16,["icons","icon-component"])]),"node-trigger":e.withCtx(H=>[e.createVNode(hm,e.mergeProps(H,{icons:t.icons,"icon-component":t.iconComponent,"is-read-only":t.isReadOnly,"is-allowed-edit":t.isAllowedEdit,onDelete:I[12]||(I[12]=P=>m(e.unref(b.EVENTS).DELETE,P)),onEdit:I[13]||(I[13]=P=>m(e.unref(b.EVENTS).EDIT,P)),onShowDescription:I[14]||(I[14]=P=>m(e.unref(b.EVENTS).SHOW_DESCRIPTION,P))}),null,16,["icons","icon-component","is-read-only","is-allowed-edit"])]),"node-collapsedcluster":e.withCtx(H=>[e.createVNode(Vm,e.mergeProps(H,{onExpand:I[15]||(I[15]=P=>U(P))}),null,16)]),"edge-edge":e.withCtx(H=>[e.createVNode(Iu,e.mergeProps(H,{"yaml-source":t.source,onAddTask:I[16]||(I[16]=P=>m(e.unref(b.EVENTS).ADD_TASK,P)),"is-read-only":t.isReadOnly,"is-allowed-edit":t.isAllowedEdit}),null,16,["yaml-source","is-read-only","is-allowed-edit"])]),default:e.withCtx(()=>[e.createVNode(e.unref(Qc),{"pattern-color":Q?e.unref(_e)("--bs-grey-500"):e.unref(_e)("--bs-grey-300")},null,8,["pattern-color"]),ge.value?(e.openBlock(),e.createBlock(e.unref(an.Controls),{key:0,"show-interactive":!1},{default:e.withCtx(()=>[t.toggleOrientationButton?(e.openBlock(),e.createBlock(e.unref(an.ControlButton),{key:0,onClick:I[17]||(I[17]=H=>m("toggle-orientation",H))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.isHorizontal?Pm:Am)))]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(an.ControlButton),{onClick:Re},{default:e.withCtx(()=>[e.createVNode(Wm)]),_:1}),Z.value?(e.openBlock(),e.createElementBlock("ul",Ff,[e.createElementVNode("li",{onClick:I[18]||(I[18]=H=>Je("jpeg")),class:"item"}," Export as .JPEG "),e.createElementVNode("li",{onClick:I[19]||(I[19]=H=>Je("png")),class:"item"}," Export as .PNG ")])):e.createCommentVNode("",!0)]),_:1})):e.createCommentVNode("",!0)]),_:3},8,["id","default-marker-color"]))}}),Hf=A(Uf,[["__scopeId","data-v-6f358b88"]]),zf={class:"text"},Wf=e.defineComponent({__name:"Status",props:{status:{},title:{default:void 0},icon:{type:Boolean,default:!1},size:{default:"default"}},setup(t){const n=t,o=e.computed(()=>n.icon?ne.icon()[n.status?.toUpperCase()]:void 0),l=e.computed(()=>n.title??n.status),r=e.computed(()=>["status-button",n.status?.toLowerCase()&&`status-button--${n.status.toLowerCase()}`,n.size!=="default"&&`status-button--${n.size}`].filter(Boolean));return(a,i)=>(e.openBlock(),e.createElementBlock("button",{type:"button",class:e.normalizeClass(r.value)},[t.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value),{key:0,class:"icon"})):e.createCommentVNode("",!0),e.createElementVNode("span",zf,e.toDisplayString(l.value),1)],2))}}),jf=A(Wf,[["__scopeId","data-v-ce6b0e30"]]),Gf={name:"MenuRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Kf=["aria-hidden","aria-label"],Yf=["fill","width","height"],qf={d:"M10,17L15,12L10,7V17Z"},Xf={key:0};function Zf(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon menu-right-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",qf,[o.title?(e.openBlock(),e.createElementBlock("title",Xf,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Yf))],16,Kf)}const Jf=A(Gf,[["render",Zf]]),Qf={name:"MenuDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ep=["aria-hidden","aria-label"],tp=["fill","width","height"],np={d:"M7,10L12,15L17,10H7Z"},op={key:0};function lp(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon menu-down-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",np,[o.title?(e.openBlock(),e.createElementBlock("title",op,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,tp))],16,ep)}const rp=A(Qf,[["render",lp]]);function ql(t){return e.getCurrentScope()?(e.onScopeDispose(t),!0):!1}function Xl(t){return typeof t=="function"?t():e.unref(t)}const ap=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ip=Object.prototype.toString,sp=t=>ip.call(t)==="[object Object]",cp=()=>{};function up(t){return Object.entries(t)}function dp(t){return e.getCurrentInstance()}function mp(t,n=!0,o){dp()?e.onMounted(t,o):n?t():e.nextTick(t)}function Ye(t){var n;const o=Xl(t);return(n=o?.$el)!=null?n:o}const qt=ap?window:void 0;function Zo(...t){let n,o,l,r;if(typeof t[0]=="string"||Array.isArray(t[0])?([o,l,r]=t,n=qt):[n,o,l,r]=t,!n)return cp;Array.isArray(o)||(o=[o]),Array.isArray(l)||(l=[l]);const a=[],i=()=>{a.forEach(d=>d()),a.length=0},s=(d,h,f,k)=>(d.addEventListener(h,f,k),()=>d.removeEventListener(h,f,k)),c=e.watch(()=>[Ye(n),Xl(r)],([d,h])=>{if(i(),!d)return;const f=sp(h)?{...h}:h;a.push(...o.flatMap(k=>l.map(T=>s(d,k,T,f))))},{immediate:!0,flush:"post"}),u=()=>{c(),i()};return ql(u),u}function fp(){const t=e.ref(!1),n=e.getCurrentInstance();return n&&e.onMounted(()=>{t.value=!0},n),t}function pp(t){const n=fp();return e.computed(()=>(n.value,!!t()))}const Jo=["hash","host","hostname","href","pathname","port","protocol","search"];function Zl(t={}){const{window:n=qt}=t,o=Object.fromEntries(Jo.map(a=>[a,e.ref()]));for(const[a,i]of up(o))e.watch(i,s=>{!n?.location||n.location[a]===s||(n.location[a]=s)});const l=a=>{var i;const{state:s,length:c}=n?.history||{},{origin:u}=n?.location||{};for(const d of Jo)o[d].value=(i=n?.location)==null?void 0:i[d];return e.reactive({trigger:a,state:s,length:c,origin:u,...o})},r=e.ref(l("load"));return n&&(Zo(n,"popstate",()=>r.value=l("popstate"),{passive:!0}),Zo(n,"hashchange",()=>r.value=l("hashchange"),{passive:!0})),r}function gp(t,n,o={}){const{window:l=qt,...r}=o;let a;const i=pp(()=>l&&"ResizeObserver"in l),s=()=>{a&&(a.disconnect(),a=void 0)},c=e.computed(()=>Array.isArray(t)?t.map(h=>Ye(h)):[Ye(t)]),u=e.watch(c,h=>{if(s(),i.value&&l){a=new ResizeObserver(n);for(const f of h)f&&a.observe(f,r)}},{immediate:!0,flush:"post"}),d=()=>{s(),u()};return ql(d),{isSupported:i,stop:d}}function Qo(t,n={width:0,height:0},o={}){const{window:l=qt,box:r="content-box"}=o,a=e.computed(()=>{var h,f;return(f=(h=Ye(t))==null?void 0:h.namespaceURI)==null?void 0:f.includes("svg")}),i=e.ref(n.width),s=e.ref(n.height),{stop:c}=gp(t,([h])=>{const f=r==="border-box"?h.borderBoxSize:r==="content-box"?h.contentBoxSize:h.devicePixelContentBoxSize;if(l&&a.value){const k=Ye(t);if(k){const T=k.getBoundingClientRect();i.value=T.width,s.value=T.height}}else if(f){const k=Array.isArray(f)?f:[f];i.value=k.reduce((T,{inlineSize:E})=>T+E,0),s.value=k.reduce((T,{blockSize:E})=>T+E,0)}else i.value=h.contentRect.width,s.value=h.contentRect.height},o);mp(()=>{const h=Ye(t);h&&(i.value="offsetWidth"in h?h.offsetWidth:n.width,s.value="offsetHeight"in h?h.offsetHeight:n.height)});const u=e.watch(()=>Ye(t),h=>{i.value=h?n.width:0,s.value=h?n.height:0});function d(){c(),u()}return{width:i,height:s,stop:d}}const hp=["id","open"],Ep={class:"d-flex gap-2 align-items-center"},kp={key:0,class:"d-flex flex-grow-1"},yp=["id"],vp=e.defineComponent({__name:"Collapsible",props:{href:{default:Math.random().toString(36).substring(2,5)},clickableText:{},arrow:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1},noUrlChange:{type:Boolean,default:!1}},emits:["expand"],setup(t,{emit:n}){const o=t,l=e.ref(!0),r=Zl(),a=n,i=e.computed(()=>`#${o.href}-body`),s=u=>{u.preventDefault(),u.stopPropagation(),l.value=!l.value,c.value=!l.value,l.value||a("expand"),!o.noUrlChange&&(l.value?history.replaceState(null,"",window.location.pathname+window.location.search):window.location.hash=i.value)},c=e.ref(!1);return e.watch(()=>o.initiallyExpanded,u=>{u!==void 0&&(c.value=u,l.value=!u)},{immediate:!0}),e.watch(()=>r.value.hash,u=>{u===i.value&&l.value&&(c.value=!0,l.value=!1)},{immediate:!0}),(u,d)=>(e.openBlock(),e.createElementBlock("details",{id:t.href,open:c.value},[e.createElementVNode("summary",{class:e.normalizeClass(["d-flex align-items-center justify-content-between fw-bold gap-2 collapse-button",{collapsed:l.value}]),onClick:s},[e.createElementVNode("span",Ep,[t.arrow?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.value?Jf:rp),{key:0,class:"arrow"})):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(t.clickableText)+" ",1),e.renderSlot(u.$slots,"additionalButtonText",{},void 0,!0)]),u.$slots.buttonRight?(e.openBlock(),e.createElementBlock("span",kp,[e.renderSlot(u.$slots,"buttonRight",{collapsed:l.value},void 0,!0)])):e.createCommentVNode("",!0)],2),u.$slots.content?(e.openBlock(),e.createElementBlock("div",{key:0,id:t.href+"-body"},[e.createElementVNode("div",null,[e.renderSlot(u.$slots,"content",{},void 0,!0)])],8,yp)):e.createCommentVNode("",!0)],8,hp))}}),Et=A(vp,[["__scopeId","data-v-6b6ffd9a"]]),Cp={name:"ChevronRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},_p=["aria-hidden","aria-label"],Np=["fill","width","height"],Sp={d:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"},bp={key:0};function wp(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon chevron-right-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Sp,[o.title?(e.openBlock(),e.createElementBlock("title",bp,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Np))],16,_p)}const Zn=A(Cp,[["render",wp]]),Lp={name:"ChevronDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Bp=["aria-hidden","aria-label"],Vp=["fill","width","height"],Tp={d:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"},$p={key:0};function Ip(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon chevron-down-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Tp,[o.title?(e.openBlock(),e.createElementBlock("title",$p,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Vp))],16,Bp)}const Jn=A(Lp,[["render",Ip]]),Ap=["id","open"],Dp={key:0,class:"chevron"},Op=["id"],xp=e.defineComponent({__name:"CollapsibleV2",props:{href:{default:Math.random().toString(36).substring(2,5)},title:{},arrow:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1},noUrlChange:{type:Boolean,default:!1}},emits:["expand"],setup(t,{emit:n}){const o=t,l=e.ref(!0),r=Zl(),a=n,i=e.computed(()=>`#${o.href}-body`),s=u=>{if(u.preventDefault(),l.value=!l.value,c.value=!l.value,l.value||a("expand"),o.noUrlChange)return;const d=window.location.pathname+window.location.search+(l.value?"":i.value);try{window.history.pushState(null,"",d)}catch{try{l.value?window.history.replaceState(null,"",window.location.pathname+window.location.search):window.location.hash=i.value}catch{}}},c=e.ref(!1);return e.watch(()=>o.initiallyExpanded,u=>{u!==void 0&&(c.value=u,l.value=!u)},{immediate:!0}),e.watch(()=>r.value.hash,u=>{u===i.value&&l.value&&(c.value=!0,l.value=!1)},{immediate:!0}),(u,d)=>(e.openBlock(),e.createElementBlock("details",{id:t.href,open:c.value},[e.createElementVNode("summary",{class:e.normalizeClass(["d-flex align-items-center justify-content-between fw-bold gap-2 collapse-button",{collapsed:l.value}]),onClick:s},[e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(t.title)+" ",1),e.renderSlot(u.$slots,"additional",{},void 0,!0)]),e.renderSlot(u.$slots,"right",{},void 0,!0),t.arrow?(e.openBlock(),e.createElementBlock("span",Dp,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.value?Zn:Jn)))])):e.createCommentVNode("",!0)],2),u.$slots.content?(e.openBlock(),e.createElementBlock("div",{key:0,id:t.href+"-body"},[e.createElementVNode("div",null,[e.renderSlot(u.$slots,"content",{},void 0,!0)])],8,Op)):e.createCommentVNode("",!0)],8,Ap))}}),kt=A(xp,[["__scopeId","data-v-23ac75a7"]]),Pp=["href"],Rp={class:"top-row"},Mp={class:"icon-content"},Fp=["src","alt"],Up={class:"text-content"},Hp={key:0,class:"description"},zp={class:"footer"},Wp={class:"bottom-row"},jp={class:"left"},Gp={key:0},Kp={key:1},Yp=e.defineComponent({__name:"SubgroupCard",props:{iconSrc:{default:void 0},text:{},routePath:{},totalCount:{default:0},description:{default:""},href:{default:void 0},isActive:{type:Boolean,default:!1},blueprintsCount:{default:0}},emits:["navigate"],setup(t,{emit:n}){const o=t,l=n,r=e.computed(()=>o.href===void 0?`${o.routePath}/${Ce(o.text)}`:o.href);return(a,i)=>(e.openBlock(),e.createElementBlock("a",{href:r.value,onClick:i[0]||(i[0]=e.withModifiers(s=>l("navigate",r.value),["prevent"]))},[e.createElementVNode("div",{class:e.normalizeClass(["plugin",{"is-active":t.isActive}])},[e.createElementVNode("div",Rp,[e.createElementVNode("div",Mp,[t.iconSrc?(e.openBlock(),e.createElementBlock("img",{key:0,src:t.iconSrc,alt:`${t.text} icon`},null,8,Fp)):e.createCommentVNode("",!0)]),e.createElementVNode("div",Up,[e.createElementVNode("h6",null,e.toDisplayString(t.text),1),t.description?(e.openBlock(),e.createElementBlock("p",Hp,e.toDisplayString(t.description),1)):e.createCommentVNode("",!0)])]),e.createElementVNode("div",zp,[i[3]||(i[3]=e.createElementVNode("hr",null,null,-1)),e.createElementVNode("div",Wp,[e.createElementVNode("div",jp,[o.totalCount?(e.openBlock(),e.createElementBlock("p",Gp,[e.createTextVNode(e.toDisplayString(o.totalCount??0)+" ",1),i[1]||(i[1]=e.createElementVNode("span",null,"Tasks",-1))])):e.createCommentVNode("",!0),o.blueprintsCount?(e.openBlock(),e.createElementBlock("p",Kp,[e.createTextVNode(e.toDisplayString(o.blueprintsCount??0)+" ",1),i[2]||(i[2]=e.createElementVNode("span",null,"Blueprints",-1))])):e.createCommentVNode("",!0)]),e.createVNode(Zn)])])],2)],8,Pp))}}),Jl=A(Yp,[["__scopeId","data-v-4c31d96c"]]),qp=["href"],Xp={class:"element-card"},Zp={class:"top-row"},Jp={class:"text-capitalize"},Qp={key:0},eg={class:"plugin-info"},tg={class:"plugin-class"},ng=e.defineComponent({__name:"ElementCard",props:{text:{},routePath:{},pluginClass:{},href:{},title:{}},emits:["navigate"],setup(t,{emit:n}){const o=t,l=n,r=e.computed(()=>o.href===void 0?`${o.routePath}/${Ce(o.text)}`:o.href);return(a,i)=>(e.openBlock(),e.createElementBlock("a",{href:r.value,onClick:i[0]||(i[0]=e.withModifiers(s=>l("navigate",r.value),["prevent"]))},[e.createElementVNode("div",Xp,[e.createElementVNode("div",Zp,[e.createElementVNode("h6",Jp,e.toDisplayString(t.text),1),e.createVNode(Zn)]),t.title?(e.openBlock(),e.createElementBlock("div",Qp,[e.renderSlot(a.$slots,"markdown",{content:t.title.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",eg,[e.createElementVNode("code",tg,e.toDisplayString(t.pluginClass),1)])])],8,qp))}}),Ql=A(ng,[["__scopeId","data-v-0c96172a"]]),og={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},lg=["aria-hidden","aria-label"],rg=["fill","width","height"],ag={d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"},ig={key:0};function sg(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon content-copy-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",ag,[o.title?(e.openBlock(),e.createElementBlock("title",ig,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,rg))],16,lg)}const cg=A(og,[["render",sg]]),ug={key:0,class:"language"},dg=["innerHTML"],mg=e.defineComponent({__name:"SchemaToCode",props:{highlighter:{},code:{default:""},language:{default:null},filename:{default:null},highlights:{default:()=>[]},meta:{default:null},theme:{default:"github-dark"}},setup(t){const n={ContentCopy:e.shallowRef(cg),Check:e.shallowRef(Rl)},o=t,l=e.ref(!1),r=e.ref(),a=e.shallowRef(n.ContentCopy.value),i=e.ref(),s=e.ref(),c=e.computed(()=>o.highlighter.codeToHtml(o.code,{lang:o.language,theme:o.theme}));function u(){l.value=!0,r.value&&e.nextTick(()=>{i.value&&s.value&&Pr.createPopper(i.value,s.value,{placement:"left"})})}function d(){clearTimeout(r.value),navigator.clipboard.writeText(o.code.trimEnd()),a.value=n.Check.value,r.value=setTimeout(()=>{a.value=n.ContentCopy.value,r.value=void 0},2e3)}return(h,f)=>(e.openBlock(),e.createElementBlock("div",{class:"code-block",onMouseover:u,onMouseleave:f[0]||(f[0]=k=>l.value=!1)},[t.language&&!l.value?(e.openBlock(),e.createElementBlock("div",ug,e.toDisplayString(t.language),1)):e.createCommentVNode("",!0),l.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("button",{ref_key:"copyButton",ref:i,class:"copy"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.value),{onClick:d}))],512),r.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"copyTooltip",ref:s,id:"copied-tooltip",role:"tooltip"},[...f[1]||(f[1]=[e.createTextVNode(" Copied! ",-1),e.createElementVNode("div",{id:"arrow","data-popper-arrow":""},null,-1)])],512)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{innerHTML:c.value},null,8,dg)],32))}}),ot=A(mg,[["__scopeId","data-v-a899f6a1"]]);function Vt(t){if(t.type)return Array.isArray(t.type)?t.type:[t.type];if(t.$ref){const o=t.$ref.split("/");return["#"+o[o.length-1]]}}function er(t){const n=t.split("_")[0];return n.substring(n.lastIndexOf(".")+1)}function Qn(t){if(t.enum)return t.enum;if(t.items?.enum)return t.items.enum;if(t.additionalProperties?.enum)return t.additionalProperties.enum}function tr(t){return t.allOf&&(t=t.allOf.reduce((n,o)=>({...n,...o}),{...t}),delete t.allOf),t}function it(t){const n={},o=r=>{const a=Vt(r);if(a&&a.length>0)return a;if(r.anyOf)return r.anyOf.flatMap(Vt).filter(i=>i!==void 0).filter(b.Utils.distinctFilter)},l=o(t);if(l?n.types=l:n.types=["object"],n.types.includes("array")&&t.items){const r=o(t.items);r&&t.items.anyOf&&(n.types=n.types.filter(a=>a!=="array").concat(r))}return t.additionalProperties?n.subType=Vt(t.additionalProperties)?.[0]:t.items&&(n.subType=Vt(t.items)?.[0]),n}function eo(t){return t?.$deprecated===!0||t?.$deprecated==="true"}function nr(t,n,o=new Set){if(!n)return[];const l=it(t),r=[];if(l.types.forEach(a=>{if(a.startsWith("#")){const i=a.slice(1);n[i]&&!o.has(i)&&!r.includes(i)&&r.push(i)}}),l.subType?.startsWith("#")){const a=l.subType.slice(1);n[a]&&!o.has(a)&&!r.includes(a)&&r.push(a)}return r.filter(a=>!eo(n[a])).map(a=>{const i=n[a],s=i?.properties?{...i.properties}:{},c=i?.$examples||s.$examples;return{key:a,title:i?.title??a.split("_")[0],description:i?.description,properties:s,$examples:c}})}function or(t){return t.$dynamic===!0?!0:t.$dynamic===!1?!1:t.anyOf?.some(n=>n.$dynamic===!0)??!1}const fg={name:"FileDocumentIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},pg=["aria-hidden","aria-label"],gg=["fill","width","height"],hg={d:"M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M15,18V16H6V18H15M18,14V12H6V14H18Z"},Eg={key:0};function kg(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon file-document-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",hg,[o.title?(e.openBlock(),e.createElementBlock("title",Eg,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,gg))],16,pg)}const yg=A(fg,[["render",kg]]),vg={class:"me-3"},Cg={class:"d-flex flex-column"},_g=e.defineComponent({name:"Alert",__name:"Alert",props:{type:{}},setup(t){const n=t,o=e.computed(()=>{switch(n.type){case"success":return yg;case"info":return At;case"warning":return Kt;case"danger":return hn;default:return At}});return(l,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass("doc-alert alert alert-"+t.type),role:"alert"},[e.createElementVNode("div",vg,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value),{class:"alert-icon"}))]),e.createElementVNode("div",Cg,[e.renderSlot(l.$slots,"default",{},void 0,!0)])],2))}}),lr=A(_g,[["__scopeId","data-v-f7fd8bc1"]]),Ng={name:"EyeOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Sg=["aria-hidden","aria-label"],bg=["fill","width","height"],wg={d:"M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9M12,4.5C17,4.5 21.27,7.61 23,12C21.27,16.39 17,19.5 12,19.5C7,19.5 2.73,16.39 1,12C2.73,7.61 7,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C15.76,17.5 19.17,15.36 20.82,12C19.17,8.64 15.76,6.5 12,6.5C8.24,6.5 4.83,8.64 3.18,12Z"},Lg={key:0};function Bg(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon eye-outline-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",wg,[o.title?(e.openBlock(),e.createElementBlock("title",Lg,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,bg))],16,Sg)}const rr=A(Ng,[["render",Bg]]),Vg={class:"property-detail"},Tg={key:0},$g=["href"],Ig={class:"d-flex fw-bold type-box rounded fs-7 px-2 py-1"},Ag={class:"ref-type"},Dg={key:1,class:"type-box rounded fs-7 px-2 py-1"},Og={key:1},xg={class:"border rounded px-2 py-1"},Pg={key:2},Rg={class:"border rounded px-2 py-1"},Mg={key:3},Fg={class:"border rounded px-2 py-1"},Ug={key:4},Hg={class:"border rounded px-2 py-1"},zg={key:5},Wg={class:"border rounded px-2 py-1"},jg={key:6},Gg={class:"border rounded px-2 py-1"},Kg={key:7},Yg={class:"border rounded px-2 py-1"},qg={key:8},Xg={class:"border rounded px-2 py-1"},Zg={key:9},Jg={class:"border rounded px-2 py-1"},Qg={key:10},eh={class:"border rounded px-2 py-1"},th={key:11},nh={class:"border rounded px-2 py-1"},oh={key:12},lh={class:"border rounded px-2 py-1"},rh={key:13},ah={class:"d-flex flex-wrap justify-content-end gap-7 p-0"},ih={key:14},sh={class:"property-description markdown"},ch={key:2},uh=e.defineComponent({__name:"PropertyDetail",props:{property:{}},setup(t){const n=t,o=e.ref(it(n.property).subType),l=e.ref(Qn(n.property)),r=b.sanitizeForMarkdown;return(a,i)=>(e.openBlock(),e.createElementBlock("div",Vg,[o.value?(e.openBlock(),e.createElementBlock("div",Tg,[i[1]||(i[1]=e.createElementVNode("span",null," SubType ",-1)),o.value.startsWith("#")?(e.openBlock(),e.createElementBlock("a",{key:0,href:o.value,onClick:i[0]||(i[0]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("button",Ig,[e.createElementVNode("span",Ag,e.toDisplayString(e.unref(er)(o.value)),1),e.createVNode(rr)])],8,$g)):(e.openBlock(),e.createElementBlock("span",Dg,e.toDisplayString(o.value),1))])):e.createCommentVNode("",!0),t.property.default!==void 0?(e.openBlock(),e.createElementBlock("div",Og,[i[2]||(i[2]=e.createElementVNode("span",null," Default ",-1)),e.createElementVNode("code",xg,e.toDisplayString(t.property.default),1)])):e.createCommentVNode("",!0),t.property.pattern!==void 0?(e.openBlock(),e.createElementBlock("div",Pg,[i[3]||(i[3]=e.createElementVNode("span",null," Validation RegExp ",-1)),e.createElementVNode("code",Rg,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",Mg,[i[4]||(i[4]=e.createElementVNode("span",null," Unit ",-1)),e.createElementVNode("code",Fg,e.toDisplayString(t.property.unit),1)])):e.createCommentVNode("",!0),t.property.minLength!==void 0?(e.openBlock(),e.createElementBlock("div",Ug,[i[5]||(i[5]=e.createElementVNode("span",null," Min length ",-1)),e.createElementVNode("code",Hg,e.toDisplayString(t.property.minLength),1)])):e.createCommentVNode("",!0),t.property.maxLength!==void 0?(e.openBlock(),e.createElementBlock("div",zg,[i[6]||(i[6]=e.createElementVNode("span",null," Max length ",-1)),e.createElementVNode("code",Wg,e.toDisplayString(t.property.maxLength),1)])):e.createCommentVNode("",!0),t.property.minItems!==void 0?(e.openBlock(),e.createElementBlock("div",jg,[i[7]||(i[7]=e.createElementVNode("span",null," Min items ",-1)),e.createElementVNode("code",Gg,e.toDisplayString(t.property.minItems),1)])):e.createCommentVNode("",!0),t.property.maxItems!==void 0?(e.openBlock(),e.createElementBlock("div",Kg,[i[8]||(i[8]=e.createElementVNode("span",null," Max items ",-1)),e.createElementVNode("code",Yg,e.toDisplayString(t.property.maxItems),1)])):e.createCommentVNode("",!0),t.property.minimum!==void 0?(e.openBlock(),e.createElementBlock("div",qg,[i[9]||(i[9]=e.createElementVNode("span",null," Minimum ",-1)),e.createElementVNode("code",Xg," >= "+e.toDisplayString(t.property.minimum),1)])):e.createCommentVNode("",!0),t.property.exclusiveMinimum!==void 0?(e.openBlock(),e.createElementBlock("div",Zg,[i[10]||(i[10]=e.createElementVNode("span",null," Minimum ",-1)),e.createElementVNode("code",Jg," > "+e.toDisplayString(t.property.minimum),1)])):e.createCommentVNode("",!0),t.property.maximum!==void 0?(e.openBlock(),e.createElementBlock("div",Qg,[i[11]||(i[11]=e.createElementVNode("span",null," Maximum ",-1)),e.createElementVNode("code",eh," <= "+e.toDisplayString(t.property.maximum),1)])):e.createCommentVNode("",!0),t.property.exclusiveMaximum!==void 0?(e.openBlock(),e.createElementBlock("div",th,[i[12]||(i[12]=e.createElementVNode("span",null," Maximum ",-1)),e.createElementVNode("code",nh," < "+e.toDisplayString(t.property.maximum),1)])):e.createCommentVNode("",!0),t.property.format!==void 0?(e.openBlock(),e.createElementBlock("div",oh,[i[13]||(i[13]=e.createElementVNode("span",null," Format ",-1)),e.createElementVNode("code",lh,e.toDisplayString(t.property.format),1)])):e.createCommentVNode("",!0),l.value!==void 0?(e.openBlock(),e.createElementBlock("div",rh,[i[14]||(i[14]=e.createElementVNode("span",null," Possible Values ",-1)),e.createElementVNode("div",ah,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,(s,c)=>(e.openBlock(),e.createElementBlock("code",{class:"border rounded px-2 py-1",key:c},e.toDisplayString(s),1))),128))])])):e.createCommentVNode("",!0),t.property.title!==void 0||t.property.description!==void 0?(e.openBlock(),e.createElementBlock("div",ih,[e.createElementVNode("div",sh,[t.property.title!==void 0?e.renderSlot(a.$slots,"markdown",{key:0,content:e.unref(r)(t.property.title)},void 0,!0):e.createCommentVNode("",!0),t.property.description!==void 0?e.renderSlot(a.$slots,"markdown",{key:1,content:e.unref(r)(t.property.description)},void 0,!0):e.createCommentVNode("",!0),t.property.$internalStorageURI?(e.openBlock(),e.createElementBlock("div",ch,[e.createVNode(lr,{type:"info"},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"markdown",{content:"Pebble expression referencing an Internal Storage URI e.g. `{{ outputs.mytask.uri }}`."},void 0,!0)]),_:3})])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)]))}}),dh=A(uh,[["__scopeId","data-v-e4c1ea43"]]),mh={name:"ChevronUpIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},fh=["aria-hidden","aria-label"],ph=["fill","width","height"],gh={d:"M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"},hh={key:0};function Eh(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon chevron-up-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",gh,[o.title?(e.openBlock(),e.createElementBlock("title",hh,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ph))],16,fh)}const ar=A(mh,[["render",Eh]]),kh={name:"SnowflakeIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},yh=["aria-hidden","aria-label"],vh=["fill","width","height"],Ch={d:"M20.79,13.95L18.46,14.57L16.46,13.44V10.56L18.46,9.43L20.79,10.05L21.31,8.12L19.54,7.65L20,5.88L18.07,5.36L17.45,7.69L15.45,8.82L13,7.38V5.12L14.71,3.41L13.29,2L12,3.29L10.71,2L9.29,3.41L11,5.12V7.38L8.5,8.82L6.5,7.69L5.92,5.36L4,5.88L4.47,7.65L2.7,8.12L3.22,10.05L5.55,9.43L7.55,10.56V13.45L5.55,14.58L3.22,13.96L2.7,15.89L4.47,16.36L4,18.12L5.93,18.64L6.55,16.31L8.55,15.18L11,16.62V18.88L9.29,20.59L10.71,22L12,20.71L13.29,22L14.7,20.59L13,18.88V16.62L15.5,15.17L17.5,16.3L18.12,18.63L20,18.12L19.53,16.35L21.3,15.88L20.79,13.95M9.5,10.56L12,9.11L14.5,10.56V13.44L12,14.89L9.5,13.44V10.56Z"},_h={key:0};function Nh(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon snowflake-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Ch,[o.title?(e.openBlock(),e.createElementBlock("title",_h,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,vh))],16,yh)}const ir=A(kh,[["render",Nh]]),Sh={name:"AlphaBBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},bh=["aria-hidden","aria-label"],wh=["fill","width","height"],Lh={d:"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M15,10.5V9A2,2 0 0,0 13,7H9V17H13A2,2 0 0,0 15,15V13.5C15,12.7 14.3,12 13.5,12C14.3,12 15,11.3 15,10.5M13,15H11V13H13V15M13,11H11V9H13V11Z"},Bh={key:0};function Vh(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon alpha-b-box-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Lh,[o.title?(e.openBlock(),e.createElementBlock("title",Bh,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,wh))],16,bh)}const sr=A(Sh,[["render",Vh]]),Th={key:0,class:"d-flex flex-column gap-3 mb-3 mt-2"},$h={key:0,class:"markdown"},Ih={key:1,class:"examples-container"},Ah={class:"border overflow-hidden"},Dh={class:"d-flex flex-grow-1 align-items-center justify-content-between"},Oh={class:"d-flex gap-2"},xh={class:"d-flex flex-wrap justify-content-end gap-2"},Ph=["href"],Rh={class:"ref-type"},Mh={key:1,class:"type-box rounded fs-7 px-2 py-1"},Fh=e.defineComponent({__name:"CollapsibleProperties",props:{href:{default:Math.random().toString(36).substring(2,5)},sectionName:{},properties:{default:void 0},definitions:{default:void 0},showDynamic:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1},forceInclude:{default:()=>[]},noUrlChange:{type:Boolean,default:!1},description:{default:void 0},examples:{default:void 0}},emits:["expand"],setup(t,{emit:n}){const o=t,l=n,r=e.ref(!1);e.watch(r,s=>{s&&l("expand")});const a=s=>s.filter(c=>!c.startsWith("#")||!eo(o.definitions?.[c.slice(1)]));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(Et,{class:"section-collapsible","clickable-text":t.sectionName,href:t.href,onExpand:c[2]||(c[2]=u=>l("expand")),"initially-expanded":t.initiallyExpanded||r.value,"no-url-change":t.noUrlChange},e.createSlots({_:2},[Object.keys(t.properties??{}).length>0?{name:"content",fn:e.withCtx(()=>[t.description||t.examples&&t.examples.length>0?(e.openBlock(),e.createElementBlock("div",Th,[t.description?(e.openBlock(),e.createElementBlock("div",$h,[e.renderSlot(s.$slots,"markdown",{content:t.description},void 0,!0)])):e.createCommentVNode("",!0),t.examples&&t.examples.length>0?(e.openBlock(),e.createElementBlock("div",Ih,[c[3]||(c[3]=e.createElementVNode("h6",{class:"fw-bold mb-2"}," Examples ",-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.examples,(u,d)=>(e.openBlock(),e.createElementBlock("div",{key:d,class:"mb-2"},[e.renderSlot(s.$slots,"example",{example:u},void 0,!0)]))),128))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Ah,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i(t.properties),(u,d)=>(e.openBlock(),e.createBlock(Et,{class:"property",key:d,arrow:!1,"clickable-text":d,href:t.href+"_"+d,onExpand:c[1]||(c[1]=h=>r.value=!0),"no-url-change":t.noUrlChange},{additionalButtonText:e.withCtx(()=>[u.$required?(e.openBlock(),e.createBlock(j,{key:0,class:"d-flex",title:"Required"},{default:e.withCtx(()=>[...c[4]||(c[4]=[e.createElementVNode("span",{class:"text-danger"}," *",-1)])]),_:1})):e.createCommentVNode("",!0)]),buttonRight:e.withCtx(({collapsed:h})=>[e.createElementVNode("span",Dh,[e.createElementVNode("span",Oh,[t.showDynamic&&!e.unref(or)(u)?(e.openBlock(),e.createBlock(j,{key:0,class:"d-flex",title:"Non-dynamic"},{default:e.withCtx(()=>[e.createVNode(ir,{class:"text-info"})]),_:1})):e.createCommentVNode("",!0),u.$beta?(e.openBlock(),e.createBlock(j,{key:1,class:"d-flex",title:"Beta"},{default:e.withCtx(()=>[e.createVNode(sr,{class:"text-warning"})]),_:1})):e.createCommentVNode("",!0),u.$deprecated?(e.openBlock(),e.createBlock(j,{key:2,class:"d-flex",title:"Deprecated"},{default:e.withCtx(()=>[e.createVNode(Kt,{class:"text-warning"})]),_:1})):e.createCommentVNode("",!0)]),e.createElementVNode("span",xh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a(e.unref(it)(u).types),f=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:f},[f.startsWith("#")?(e.openBlock(),e.createElementBlock("a",{key:0,class:"d-flex fw-bold ref-type-box rounded fs-7 px-2 py-1",href:f,onClick:c[0]||(c[0]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("span",Rh,e.toDisplayString(e.unref(er)(f)),1),e.createVNode(rr)],8,Ph)):(e.openBlock(),e.createElementBlock("span",Mh,e.toDisplayString(f),1))],64))),128)),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(h?Jn:ar),{class:"arrow"}))])])]),content:e.withCtx(()=>[e.createVNode(dh,{property:u},{markdown:e.withCtx(({content:h})=>[e.renderSlot(s.$slots,"markdown",{content:h},void 0,!0)]),_:3},8,["property"])]),_:2},1032,["clickable-text","href","no-url-change"]))),128))])]),key:"0"}:void 0]),1032,["clickable-text","href","initially-expanded","no-url-change"]))}}),Tt=A(Fh,[["__scopeId","data-v-b4f5f7ad"]]),Uh={class:"d-flex flex-column gap-6"},Hh={class:"d-flex flex-column gap-3"},zh={key:0,class:"alert alert-info mb-2",role:"alert"},Wh={key:1,class:"plugin-title markdown"},jh={key:2,class:"markdown"},Gh={class:"d-flex flex-column gap-4"},Kh={class:"d-flex flex-column gap-3"},Yh={class:"markdown"},qh={key:0,class:"w-100 align-self-center"},Xh={class:"markdown"},Zh={class:"markdown"},Jh={class:"markdown"},Qh={class:"d-flex flex-column gap-7 ps-3"},e1={class:"markdown"},t1={class:"d-flex flex-column gap-2"},n1={key:0,class:"markdown"},o1=e.defineComponent({__name:"SchemaToHtml",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=e.ref(!1),a=e.ref(new Set),i=e.ref(0),s=e.computed(()=>Object.entries(l.schema.definitions??{}).filter(([,E])=>!eo(E))),c=async()=>{const E=window.location.hash.slice(1);if(!E||!l.schema.definitions){a.value.clear();return}const N=E.replace(/-body$/,""),m=Object.keys(l.schema.definitions).find(y=>N===y||N.startsWith(y+"_"));if(m){r.value=!0,i.value+=1,a.value.clear(),a.value.add(m),await e.nextTick();let y=0;const S=30,_=()=>{const w=document.getElementById(N);w?w.scrollIntoView({behavior:"smooth",block:"start"}):y<S&&(y++,requestAnimationFrame(_))};requestAnimationFrame(_)}else a.value.clear()};e.watch([()=>l.schema,()=>l.pluginType],([E,N],[m,y])=>{(E!==m||N!==y)&&l.schema.definitions&&c()});const u=E=>E?.full?E.code:`id: ${l.pluginType.split(".").reverse()[0]?.toLowerCase()}
16
16
  type: ${l.pluginType}
17
- `.concat(k.code),d=t.ref(),h=t.computed(()=>l.schema.properties?.$examples),m=t.computed(()=>Object.fromEntries(l.schema.properties?.$metrics?.map(k=>[k.name,{...k,name:void 0}]))),{getHighlighterCore:y}=([n,o]=t.withAsyncContext(()=>Promise.resolve().then(()=>require("./shikiToolset-BJ-YtZfq.cjs"))),n=await n,o(),n);d.value=([n,o]=t.withAsyncContext(()=>y()),n=await n,o(),n);const T="github-"+(l.darkMode?"dark":"light");return t.onMounted(()=>{c(),window.addEventListener("hashchange",c)}),t.onUnmounted(()=>{window.removeEventListener("hashchange",c)}),(k,_)=>(t.openBlock(),t.createElementBlock("div",Uh,[t.createElementVNode("div",Hh,[e.schema.properties?.$beta?(t.openBlock(),t.createElementBlock("div",zh,[..._[0]||(_[0]=[t.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)])])):t.createCommentVNode("",!0),e.schema.properties?.title?(t.openBlock(),t.createElementBlock("div",Wh,[t.renderSlot(k.$slots,"markdown",{content:e.schema.properties.title.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):t.createCommentVNode("",!0),e.schema.properties?.description?(t.openBlock(),t.createElementBlock("div",jh,[t.renderSlot(k.$slots,"markdown",{content:e.schema.properties.description.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):t.createCommentVNode("",!0),(t.openBlock(),t.createBlock(ot,{highlighter:d.value,language:"yaml",theme:T,code:`type: ${e.pluginType}`,key:e.pluginType},null,8,["highlighter","code"]))]),(t.openBlock(),t.createElementBlock("div",{class:"d-flex flex-column gap-3",key:e.pluginType},[h.value?(t.openBlock(),t.createBlock(Et,{key:0,class:"plugin-section","clickable-text":"Examples",href:"examples","no-url-change":e.noUrlChange},{content:t.withCtx(()=>[t.createElementVNode("div",Gh,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(h.value,(f,E)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:e.pluginType+"-"+E},[t.createElementVNode("div",Kh,[t.createElementVNode("div",Yh,[f.title?t.renderSlot(k.$slots,"markdown",{key:0,content:f.title.replace(/ *:(?![ /])/g,": ")},void 0,!0):t.createCommentVNode("",!0)]),f.code?(t.openBlock(),t.createBlock(ot,{key:0,highlighter:d.value,language:f.lang??"yaml",theme:T,code:u(f)},null,8,["highlighter","language","code"])):t.createCommentVNode("",!0)]),E<h.value.length-1?(t.openBlock(),t.createElementBlock("hr",qh)):t.createCommentVNode("",!0)],64))),128))])]),_:3},8,["no-url-change"])):t.createCommentVNode("",!0),e.schema.properties?.properties?(t.openBlock(),t.createBlock(Tt,{key:1,class:"plugin-section",properties:e.schema.properties.properties,definitions:e.schema.definitions,"section-name":"Properties",href:"properties","initially-expanded":e.propsInitiallyExpanded,"force-include":e.forceIncludeProperties,"no-url-change":e.noUrlChange},{markdown:t.withCtx(({content:f})=>[t.createElementVNode("div",Xh,[t.renderSlot(k.$slots,"markdown",{content:f},void 0,!0)])]),_:3},8,["properties","definitions","initially-expanded","force-include","no-url-change"])):t.createCommentVNode("",!0),e.schema.outputs?.properties&&Object.keys(e.schema.outputs.properties).length>0?(t.openBlock(),t.createBlock(Tt,{key:2,class:"plugin-section",properties:e.schema.outputs.properties,definitions:e.schema.definitions,"section-name":"Outputs",href:"outputs","show-dynamic":!1,"no-url-change":e.noUrlChange},{markdown:t.withCtx(({content:f})=>[t.createElementVNode("div",Zh,[t.renderSlot(k.$slots,"markdown",{content:f},void 0,!0)])]),_:3},8,["properties","definitions","no-url-change"])):t.createCommentVNode("",!0),e.schema.properties?.$metrics?(t.openBlock(),t.createBlock(Tt,{key:3,class:"plugin-section",properties:m.value,definitions:e.schema.definitions,"section-name":"Metrics",href:"metrics","show-dynamic":!1,"no-url-change":e.noUrlChange},{markdown:t.withCtx(({content:f})=>[t.createElementVNode("div",Jh,[t.renderSlot(k.$slots,"markdown",{content:f},void 0,!0)])]),_:3},8,["properties","definitions","no-url-change"])):t.createCommentVNode("",!0),s.value.length>0?(t.openBlock(),t.createBlock(Et,{class:"plugin-section","clickable-text":"Definitions",href:"definitions","initially-expanded":r.value,key:`definitions-${e.pluginType}-${i.value}`,"no-url-change":e.noUrlChange},{content:t.withCtx(()=>[t.createElementVNode("div",Qh,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value,([f,E])=>(t.openBlock(),t.createBlock(Tt,{properties:E.properties,definitions:e.schema.definitions,"section-name":E.title??f.split("_")[0],href:f,"show-dynamic":!1,"initially-expanded":a.value.has(f),key:e.pluginType+"-"+f,class:"plugin-section nested-button-py-2",onExpand:S=>{r.value=!0,a.value.add(f)},"no-url-change":e.noUrlChange,description:E.description,examples:E?.$examples},{markdown:t.withCtx(({content:S})=>[t.createElementVNode("div",e1,[t.renderSlot(k.$slots,"markdown",{content:S},void 0,!0)])]),example:t.withCtx(({example:S})=>[t.createElementVNode("div",t1,[S.title?(t.openBlock(),t.createElementBlock("div",n1,[t.renderSlot(k.$slots,"markdown",{content:`**${S.title}**`},void 0,!0)])):t.createCommentVNode("",!0),S.code?(t.openBlock(),t.createBlock(ot,{key:1,highlighter:d.value,language:S.lang??"yaml",theme:T,code:u(S)},null,8,["highlighter","language","code"])):t.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"])):t.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},N1={class:"border rounded px-2 py-1"},_1={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"},I1={key:13},$1={class:"values-wrapper d-flex flex-wrap justify-content-end gap-7 p-0"},A1=t.defineComponent({__name:"PropertyMeta",props:{property:{},subtype:{},enumValues:{}},setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[e.subtype&&!e.subtype.startsWith("#")?(t.openBlock(),t.createElementBlock("div",r1,[o[0]||(o[0]=t.createElementVNode("span",null,"SubType",-1)),t.createElementVNode("span",a1,t.toDisplayString(e.subtype),1)])):t.createCommentVNode("",!0),e.property.default!==void 0?(t.openBlock(),t.createElementBlock("div",i1,[o[1]||(o[1]=t.createElementVNode("span",null,"Default",-1)),t.createElementVNode("code",s1,t.toDisplayString(e.property.default),1)])):t.createCommentVNode("",!0),e.property.pattern!==void 0?(t.openBlock(),t.createElementBlock("div",c1,[o[2]||(o[2]=t.createElementVNode("span",null,"Validation RegExp",-1)),t.createElementVNode("code",u1,t.toDisplayString(e.property.pattern),1)])):t.createCommentVNode("",!0),e.property.unit!==void 0&&e.property.unit.trim().length>0?(t.openBlock(),t.createElementBlock("div",d1,[o[3]||(o[3]=t.createElementVNode("span",null,"Unit",-1)),t.createElementVNode("code",m1,t.toDisplayString(e.property.unit),1)])):t.createCommentVNode("",!0),e.property.minLength!==void 0?(t.openBlock(),t.createElementBlock("div",f1,[o[4]||(o[4]=t.createElementVNode("span",null,"Min length",-1)),t.createElementVNode("code",p1,t.toDisplayString(e.property.minLength),1)])):t.createCommentVNode("",!0),e.property.maxLength!==void 0?(t.openBlock(),t.createElementBlock("div",g1,[o[5]||(o[5]=t.createElementVNode("span",null,"Max length",-1)),t.createElementVNode("code",h1,t.toDisplayString(e.property.maxLength),1)])):t.createCommentVNode("",!0),e.property.minItems!==void 0?(t.openBlock(),t.createElementBlock("div",E1,[o[6]||(o[6]=t.createElementVNode("span",null,"Min items",-1)),t.createElementVNode("code",k1,t.toDisplayString(e.property.minItems),1)])):t.createCommentVNode("",!0),e.property.maxItems!==void 0?(t.openBlock(),t.createElementBlock("div",y1,[o[7]||(o[7]=t.createElementVNode("span",null,"Max items",-1)),t.createElementVNode("code",v1,t.toDisplayString(e.property.maxItems),1)])):t.createCommentVNode("",!0),e.property.minimum!==void 0?(t.openBlock(),t.createElementBlock("div",C1,[o[8]||(o[8]=t.createElementVNode("span",null,"Minimum",-1)),t.createElementVNode("code",N1,">= "+t.toDisplayString(e.property.minimum),1)])):t.createCommentVNode("",!0),e.property.exclusiveMinimum!==void 0?(t.openBlock(),t.createElementBlock("div",_1,[o[9]||(o[9]=t.createElementVNode("span",null,"Minimum",-1)),t.createElementVNode("code",S1,"> "+t.toDisplayString(e.property.minimum),1)])):t.createCommentVNode("",!0),e.property.maximum!==void 0?(t.openBlock(),t.createElementBlock("div",b1,[o[10]||(o[10]=t.createElementVNode("span",null,"Maximum",-1)),t.createElementVNode("code",w1,"<= "+t.toDisplayString(e.property.maximum),1)])):t.createCommentVNode("",!0),e.property.exclusiveMaximum!==void 0?(t.openBlock(),t.createElementBlock("div",L1,[o[11]||(o[11]=t.createElementVNode("span",null,"Maximum",-1)),t.createElementVNode("code",B1,"< "+t.toDisplayString(e.property.maximum),1)])):t.createCommentVNode("",!0),e.property.format!==void 0?(t.openBlock(),t.createElementBlock("div",V1,[o[12]||(o[12]=t.createElementVNode("span",null,"Format",-1)),t.createElementVNode("code",T1,t.toDisplayString(e.property.format),1)])):t.createCommentVNode("",!0),e.enumValues!==void 0?(t.openBlock(),t.createElementBlock("div",I1,[o[13]||(o[13]=t.createElementVNode("span",null,"Possible Values",-1)),t.createElementVNode("div",$1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.enumValues,(l,r)=>(t.openBlock(),t.createElementBlock("code",{class:"border rounded px-2 py-1",key:r},t.toDisplayString(l),1))),128))])])):t.createCommentVNode("",!0)],64))}}),cr=A(A1,[["__scopeId","data-v-2d5ac2ae"]]),D1={class:"d-flex flex-grow-1 align-items-center"},O1=t.defineComponent({__name:"PropertyBadges",props:{property:{},showDynamic:{type:Boolean,default:!0},sectionClass:{default:""}},setup(e){function n(o){return it(o).types.filter(r=>!r.startsWith("#"))}return(o,l)=>(t.openBlock(),t.createElementBlock("span",D1,[t.createElementVNode("span",{class:t.normalizeClass(["d-flex gap-2 flex-wrap align-items-center",e.sectionClass])},[e.property&&e.property.$required?(t.openBlock(),t.createBlock(j,{key:0,class:"d-flex align-items-center",title:"Required"},{default:t.withCtx(()=>[...l[0]||(l[0]=[t.createElementVNode("span",{class:"text-danger"},"*",-1)])]),_:1})):t.createCommentVNode("",!0),e.showDynamic&&e.property&&!t.unref(or)(e.property)?(t.openBlock(),t.createBlock(j,{key:1,class:"d-flex",title:"Non-dynamic"},{default:t.withCtx(()=>[t.createVNode(ir,{class:"text-info"})]),_:1})):t.createCommentVNode("",!0),e.property&&e.property.$beta?(t.openBlock(),t.createBlock(j,{key:2,class:"d-flex",title:"Beta"},{default:t.withCtx(()=>[t.createVNode(sr,{class:"text-warning"})]),_:1})):t.createCommentVNode("",!0),e.property&&e.property.$deprecated?(t.openBlock(),t.createBlock(j,{key:3,class:"d-flex",title:"Deprecated"},{default:t.withCtx(()=>[t.createVNode(Kt,{class:"text-warning"})]),_:1})):t.createCommentVNode("",!0),e.property?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:4},t.renderList(n(e.property),r=>(t.openBlock(),t.createElementBlock("span",{key:r,class:"type-box rounded fs-7 px-2 py-1"},t.toDisplayString(r),1))),128)):t.createCommentVNode("",!0)],2)]))}}),ur=A(O1,[["__scopeId","data-v-f088032b"]]),x1={class:"def-content"},P1={key:0,class:"def-description"},R1={key:1,class:"def-examples"},M1={class:"d-flex flex-column gap-4"},F1={class:"d-flex flex-column"},U1={class:"markdown"},H1={key:0,class:"w-100 align-self-center"},z1={class:"d-flex align-items-center justify-content-between gap-2"},W1={key:0,class:"property-desc mt-2"},j1={key:1,class:"mt-3 nested-defs"},G1=t.defineComponent({__name:"DefinitionCollapsible",props:{definition:{},definitions:{default:void 0},visitedKeys:{default:()=>new Set},depth:{default:0},maxDepth:{default:3},section:{default:"properties"}},setup(e){const n=e,o=t.inject("highlighter",t.ref(void 0)),l=t.inject("codeTheme",t.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,m=n.maxDepth,y=n.visitedKeys;return!d||h>=m?[]:nr(u,d,y)},c=t.computed(()=>{const u=new Set(n.visitedKeys);return u.add(n.definition.key),u});return(u,d)=>{const h=t.resolveComponent("DefinitionCollapsible",!0);return t.openBlock(),t.createBlock(kt,{title:e.definition.title,href:`def-${e.definition.key}`,class:t.normalizeClass(["def-collapsible",`section-${e.section}`]),arrow:"","no-url-change":""},{content:t.withCtx(()=>[t.createElementVNode("div",x1,[e.definition.description?(t.openBlock(),t.createElementBlock("div",P1,[t.renderSlot(u.$slots,"markdown",{content:t.unref(r)(e.definition.description)},void 0,!0)])):t.createCommentVNode("",!0),e.definition.$examples&&e.definition.$examples.length?(t.openBlock(),t.createElementBlock("div",R1,[d[0]||(d[0]=t.createElementVNode("div",{class:"def-examples-header"}," Example ",-1)),t.createElementVNode("div",M1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.definition.$examples,(m,y)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:`${e.definition.key}-example-${y}`},[t.createElementVNode("div",F1,[t.createElementVNode("div",U1,[m.title?t.renderSlot(u.$slots,"markdown",{key:0,content:m.title.replace(/ *:(?![ /])/g,": ")},void 0,!0):t.createCommentVNode("",!0)]),m.code?(t.openBlock(),t.createBlock(ot,{key:0,highlighter:t.unref(o),language:m.lang??"yaml",theme:t.unref(l),code:m.code},null,8,["highlighter","language","theme","code"])):t.createCommentVNode("",!0)]),y<e.definition.$examples.length-1?(t.openBlock(),t.createElementBlock("hr",H1)):t.createCommentVNode("",!0)],64))),128))])])):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.definition.properties,(m,y)=>(t.openBlock(),t.createElementBlock("div",{key:y,class:"def-property"},[t.createElementVNode("div",z1,[t.createElementVNode("span",null,t.toDisplayString(y),1),t.createVNode(ur,{property:m,"show-dynamic":!1,"section-class":"section-properties"},null,8,["property"])]),t.createVNode(cr,{property:m,subtype:a(m),"enum-values":i(m)},null,8,["property","subtype","enum-values"]),m.title!==void 0||m.description!==void 0?(t.openBlock(),t.createElementBlock("div",W1,[m.title?t.renderSlot(u.$slots,"markdown",{key:0,content:t.unref(r)(m.title)},void 0,!0):t.createCommentVNode("",!0),m.description?t.renderSlot(u.$slots,"markdown",{key:1,content:t.unref(r)(m.description)},void 0,!0):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),e.depth<e.maxDepth&&s(m).length?(t.openBlock(),t.createElementBlock("div",j1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s(m),T=>(t.openBlock(),t.createBlock(h,{key:`${e.definition.key}-${T.key}`,definition:T,definitions:e.definitions,"visited-keys":c.value,depth:e.depth+1,"max-depth":e.maxDepth},{markdown:t.withCtx(({content:k})=>[t.renderSlot(u.$slots,"markdown",{content:k},void 0,!0)]),_:3},8,["definition","definitions","visited-keys","depth","max-depth"]))),128))])):t.createCommentVNode("",!0)]))),128))])]),_:3},8,["title","href","class"])}}}),K1=A(G1,[["__scopeId","data-v-d1feacdf"]]),Y1={class:"property-detail"},q1={key:0},X1={class:"property-description markdown"},Z1={key:2},J1={key:3,class:"mt-3"},Q1=t.defineComponent({__name:"PropertyDetailV2",props:{property:{},definitions:{default:void 0},visitedKeys:{default:()=>new Set},depth:{default:0},maxDepth:{default:3},section:{default:"properties"}},setup(e){const n=e,o=t.computed(()=>it(n.property).subType),l=t.computed(()=>Qn(n.property)),r=t.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=t.computed(()=>{const s=new Set(n.visitedKeys);return r.value.forEach(c=>s.add(c.key)),s}),i=b.sanitizeForMarkdown;return(s,c)=>(t.openBlock(),t.createElementBlock("div",Y1,[t.createVNode(cr,{property:e.property,subtype:o.value,"enum-values":l.value},null,8,["property","subtype","enum-values"]),e.property.title!==void 0||e.property.description!==void 0||e.depth<e.maxDepth&&r.value.length>0?(t.openBlock(),t.createElementBlock("div",q1,[t.createElementVNode("div",X1,[e.property.title!==void 0?t.renderSlot(s.$slots,"markdown",{key:0,content:t.unref(i)(e.property.title)},void 0,!0):t.createCommentVNode("",!0),e.property.description!==void 0?t.renderSlot(s.$slots,"markdown",{key:1,content:t.unref(i)(e.property.description)},void 0,!0):t.createCommentVNode("",!0),e.property.$internalStorageURI?(t.openBlock(),t.createElementBlock("div",Z1,[t.createVNode(lr,{type:"info"},{default:t.withCtx(()=>[t.renderSlot(s.$slots,"markdown",{content:"Pebble expression referencing an Internal Storage URI e.g. `{{ outputs.mytask.uri }}`."},void 0,!0)]),_:3})])):t.createCommentVNode("",!0),e.depth<e.maxDepth&&r.value.length>0?(t.openBlock(),t.createElementBlock("div",J1,[c[0]||(c[0]=t.createElementVNode("div",{class:"definitions-header"}," Definitions ",-1)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.value,u=>(t.openBlock(),t.createBlock(K1,{key:`${u.key}-${e.depth}`,definition:u,definitions:e.definitions,"visited-keys":a.value,depth:e.depth+1,"max-depth":e.maxDepth,section:e.section},{markdown:t.withCtx(({content:d})=>[t.renderSlot(s.$slots,"markdown",{content:d},void 0,!0)]),_:3},8,["definition","definitions","visited-keys","depth","max-depth","section"]))),128))])):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0)]))}}),eE=A(Q1,[["__scopeId","data-v-32bc6580"]]),tE={class:"border overflow-hidden"},nE=t.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(e,{emit:n}){const o=e,l=n,r=t.computed(()=>{const s=o.sectionName.toLowerCase();return s==="properties"?"section-properties":s==="outputs"?"section-outputs":s==="metrics"?"section-metrics":""}),a=t.ref(!1);t.watch(a,s=>{s&&l("expand")});function i(s){s=s??{};const c=[],u=[];for(const m in s)typeof s[m]=="object"&&(s[m]=tr(s[m]),s[m].$required?c.push(m):u.push(m));const d=[...c.sort(),...u.sort()],h={};return d.forEach(m=>{(!s[m].$deprecated||o.forceInclude?.includes(m))&&(h[m]=s[m])}),h}return(s,c)=>(t.openBlock(),t.createBlock(kt,{class:"section-collapsible",title:e.sectionName,href:e.href,onExpand:c[1]||(c[1]=u=>l("expand")),"initially-expanded":e.initiallyExpanded||a.value,"no-url-change":e.noUrlChange},t.createSlots({_:2},[Object.keys(e.properties??{}).length>0?{name:"content",fn:t.withCtx(()=>[t.createElementVNode("div",tE,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i(e.properties),(u,d)=>(t.openBlock(),t.createBlock(kt,{class:t.normalizeClass(["property",r.value]),key:d,title:d,href:e.href+"_"+d,onExpand:c[0]||(c[0]=h=>a.value=!0),"no-url-change":e.noUrlChange},{right:t.withCtx(()=>[t.createVNode(ur,{property:u,"show-dynamic":e.showDynamic},null,8,["property","show-dynamic"])]),content:t.withCtx(()=>[t.createVNode(eE,{property:u,definitions:e.definitions,section:e.sectionName.toLowerCase()},{markdown:t.withCtx(({content:h})=>[t.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(nE,[["__scopeId","data-v-e31e75cd"]]),oE={class:"d-flex flex-column gap-6"},lE={class:"d-flex flex-column"},rE={key:0,class:"alert alert-info mb-2",role:"alert"},aE={key:1,class:"markdown"},iE={class:"d-flex flex-column gap-4"},sE={class:"d-flex flex-column"},cE={class:"markdown"},uE={key:0,class:"w-100 align-self-center"},dE={class:"markdown"},mE={class:"markdown"},fE={class:"markdown"},pE=t.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(e){let n,o;const l=e,r=d=>d?.full?d.code:`id: ${l.pluginType.split(".").reverse()[0]?.toLowerCase()}
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
- `.concat(d.code),a=t.ref(),i=t.computed(()=>"github-"+(l.darkMode?"dark":"light"));t.provide("highlighter",a),t.provide("codeTheme",i);const s=t.computed(()=>l.schema.properties?.$examples),c=t.computed(()=>Object.fromEntries(l.schema.properties?.$metrics?.map(d=>[d.name,{...d,name:void 0}]))),{getHighlighterCore:u}=([n,o]=t.withAsyncContext(()=>Promise.resolve().then(()=>require("./shikiToolset-BJ-YtZfq.cjs"))),n=await n,o(),n);return a.value=([n,o]=t.withAsyncContext(()=>u()),n=await n,o(),n),(d,h)=>(t.openBlock(),t.createElementBlock("div",oE,[t.createElementVNode("div",lE,[e.schema.properties?.$beta?(t.openBlock(),t.createElementBlock("div",rE,[...h[0]||(h[0]=[t.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)])])):t.createCommentVNode("",!0),e.schema.properties?.description?(t.openBlock(),t.createElementBlock("div",aE,[t.renderSlot(d.$slots,"markdown",{content:e.schema.properties.description.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):t.createCommentVNode("",!0),(t.openBlock(),t.createBlock(ot,{highlighter:a.value,language:"yaml",theme:i.value,code:`type: ${e.pluginType}`,key:e.pluginType},null,8,["highlighter","theme","code"]))]),(t.openBlock(),t.createElementBlock("div",{class:"d-flex flex-column",key:e.pluginType},[s.value?(t.openBlock(),t.createBlock(kt,{key:0,class:"plugin-section",title:"Examples",href:"examples","no-url-change":e.noUrlChange},{content:t.withCtx(()=>[t.createElementVNode("div",iE,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value,(m,y)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:e.pluginType+"-"+y},[t.createElementVNode("div",sE,[t.createElementVNode("div",cE,[m.title?t.renderSlot(d.$slots,"markdown",{key:0,content:m.title.replace(/ *:(?![ /])/g,": ")},void 0,!0):t.createCommentVNode("",!0)]),m.code?(t.openBlock(),t.createBlock(ot,{key:0,highlighter:a.value,language:m.lang??"yaml",theme:i.value,code:r(m)},null,8,["highlighter","language","theme","code"])):t.createCommentVNode("",!0)]),y<s.value.length-1?(t.openBlock(),t.createElementBlock("hr",uE)):t.createCommentVNode("",!0)],64))),128))])]),_:3},8,["no-url-change"])):t.createCommentVNode("",!0),e.schema.properties?.properties?(t.openBlock(),t.createBlock(pn,{key:1,class:"plugin-section",properties:e.schema.properties.properties,"section-name":"Properties",href:"properties","initially-expanded":e.propsInitiallyExpanded,"force-include":e.forceIncludeProperties,definitions:e.schema.definitions,"no-url-change":e.noUrlChange},{markdown:t.withCtx(({content:m})=>[t.createElementVNode("div",dE,[t.renderSlot(d.$slots,"markdown",{content:m},void 0,!0)])]),_:3},8,["properties","initially-expanded","force-include","definitions","no-url-change"])):t.createCommentVNode("",!0),e.schema.outputs?.properties&&Object.keys(e.schema.outputs.properties).length>0?(t.openBlock(),t.createBlock(pn,{key:2,class:"plugin-section",properties:e.schema.outputs.properties,"section-name":"Outputs",href:"outputs","show-dynamic":!1,definitions:e.schema.definitions,"no-url-change":e.noUrlChange},{markdown:t.withCtx(({content:m})=>[t.createElementVNode("div",mE,[t.renderSlot(d.$slots,"markdown",{content:m},void 0,!0)])]),_:3},8,["properties","definitions","no-url-change"])):t.createCommentVNode("",!0),e.schema.properties?.$metrics?(t.openBlock(),t.createBlock(pn,{key:3,class:"plugin-section",properties:c.value,"section-name":"Metrics",href:"metrics","show-dynamic":!1,definitions:e.schema.definitions,"no-url-change":e.noUrlChange},{markdown:t.withCtx(({content:m})=>[t.createElementVNode("div",fE,[t.renderSlot(d.$slots,"markdown",{content:m},void 0,!0)])]),_:3},8,["properties","definitions","no-url-change"])):t.createCommentVNode("",!0)]))]))}}),gE=A(pE,[["__scopeId","data-v-4b5f6b53"]]),hE={class:"d-flex flex-column gap-4"},EE={key:0,class:"pb-2"},kE={class:"row g-4 last"},yE=["id"],vE={class:"row g-4 last"},CE={key:2,class:"description"},NE={key:0,class:"gradient-overlay"},_E={key:0,class:"more-wrap text-center"},SE=t.defineComponent({__name:"PluginIndex",props:{plugins:{},pluginName:{},routePath:{},icons:{},subGroup:{},activeId:{},subgroupBlueprintCounts:{},metadataMap:{},schemas:{}},emits:["navigate"],setup(e,{emit:n}){const o=e,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=t.computed(()=>o.plugins.find(w=>o.subGroup===void 0?!0:Ce(Ae(w))===o.subGroup)),s=t.computed(()=>i.value?.longDescription??i.value?.description),c=t.computed(()=>o.plugins.filter(w=>w.name.toLowerCase()===o.pluginName.toLowerCase()&&w.subGroup!==void 0)),u=w=>{let I=w.split(".");return I?.[I.length-1]},d=w=>`${o.routePath}/${w.toLowerCase()}`;function h(w){const I=Ht(w);return Object.values(I).reduce((C,R)=>C+R.length,0)}const{elementsByType:m}=ol(i),y=t.ref(null),T=t.ref(null),k=t.ref(!1),{height:_}=Qo(y),{height:f}=Qo(T),E=t.computed(()=>f.value>_.value+2),S=()=>{k.value=!k.value},N=n;return(w,I)=>(t.openBlock(),t.createElementBlock("div",hE,[e.subGroup===void 0&&e.plugins.length>1?(t.openBlock(),t.createElementBlock("div",EE,[t.createElementVNode("div",kE,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(c.value,C=>(t.openBlock(),t.createElementBlock("div",{class:"col-md-4 col-lg-6 col-xl-6 col-xxl-4",key:t.unref(Ae)(C)},[t.createVNode(Jl,{id:t.unref(Ce)(t.unref(Ae)(C)),"icon-b64-svg":"data:image/svg+xml;base64,"+(e.icons[C.subGroup]??e.icons[C.group]),text:a(C),description:r(C),href:`${e.routePath}/${t.unref(Ce)(t.unref(Ae)(C))}`,"route-path":e.routePath,"plugin-group":C.group??C.name,"total-count":h(C),"blueprints-count":o.subgroupBlueprintCounts?.[`${t.unref(Ce)(C.group??C.name)}-${t.unref(Ce)(t.unref(Ae)(C))}`]??0,"is-active":e.activeId?.toLowerCase()===t.unref(Ce)(t.unref(Ae)(C)),class:"text-capitalize h-100",onNavigate:I[0]||(I[0]=R=>N("navigate",R))},null,8,["id","icon-b64-svg","text","description","href","route-path","plugin-group","total-count","blueprints-count","is-active"])]))),128))])])):i.value?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(t.unref(m),(C,R)=>(t.openBlock(),t.createElementBlock("div",{class:"d-flex flex-column elements-section pb-3",key:R},[t.createElementVNode("h4",{id:`section-${t.unref(Ce)(R)}`,class:"text-capitalize"},t.toDisplayString(R),9,yE),t.createElementVNode("div",vE,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(C,U=>(t.openBlock(),t.createElementBlock("div",{class:"col-md-4 col-lg-6 col-xl-6 col-xxl-4",key:U},[t.createVNode(Ql,{id:t.unref(Ce)(U),"icon-b64-svg":"data:image/svg+xml;base64,"+(e.icons[U]??e.icons[i.value.subGroup??i.value.group]??e.icons[i.value.group]),text:u(U),"plugin-class":U,href:d(U),"route-path":e.routePath,title:e.schemas?.[U]?.title,class:"h-100",onNavigate:I[1]||(I[1]=Q=>N("navigate",Q))},{markdown:t.withCtx(({content:Q})=>[t.renderSlot(w.$slots,"markdown",{content:Q},void 0,!0)]),_:3},8,["id","icon-b64-svg","text","plugin-class","href","route-path","title"])]))),128))])]))),128)):t.createCommentVNode("",!0),s.value!==void 0&&i.value?.longDescription?(t.openBlock(),t.createElementBlock("div",CE,[I[2]||(I[2]=t.createElementVNode("h4",{id:"how-to-use-this-plugin"}," How to use this plugin ",-1)),t.createElementVNode("div",{ref_key:"contentWrap",ref:y,class:t.normalizeClass(["markdown-container",{expanded:k.value}])},[t.createElementVNode("div",{ref_key:"contentInner",ref:T,class:"markdown-inner"},[t.renderSlot(w.$slots,"markdown",{content:s.value.replace(/ *:(?![ /])/g,": ")},void 0,!0)],512),E.value&&!k.value?(t.openBlock(),t.createElementBlock("div",NE)):t.createCommentVNode("",!0)],2),E.value||k.value?(t.openBlock(),t.createElementBlock("div",_E,[t.createElementVNode("button",{class:"more-btn",onClick:S},[t.createTextVNode(t.toDisplayString(k.value?"See less":"See more")+" ",1),(t.openBlock(),t.createBlock(t.resolveDynamicComponent(k.value?ar:Jn)))])])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)]))}}),bE=A(SE,[["__scopeId","data-v-c2ad49cf"]]),wE=/"(?:_|\\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*:/,LE=/"(?: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*:/,BE=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function VE(e,n){if(e==="__proto__"||e==="constructor"&&n&&typeof n=="object"&&"prototype"in n){TE(e);return}return n}function TE(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function IE(e,n={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const o=e.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(!BE.test(e)){if(n.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(wE.test(e)||LE.test(e)){if(n.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,VE)}return JSON.parse(e)}catch(l){if(n.strict)throw l;return e}}const $E=/\d/,AE=["-","_","/","."];function DE(e=""){if(!$E.test(e))return e!==e.toLowerCase()}function dr(e,n){const o=AE,l=[];if(!e||typeof e!="string")return l;let r="",a,i;for(const s of e){const c=o.includes(s);if(c===!0){l.push(r),r="",a=void 0;continue}const u=DE(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 OE(e){return e?e[0].toUpperCase()+e.slice(1):""}function to(e,n){return e?(Array.isArray(e)?e:dr(e)).map(o=>OE(o)).join(""):""}function xE(e,n){return e?(Array.isArray(e)?e:dr(e)).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(e,n){const o={},l={};for(const r of e)Object.assign(o,r.property),Object.assign(l,r.normal);return new vt(o,l,n)}function Vn(e){return e.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 PE=0;const F=Ze(),se=Ze(),Tn=Ze(),V=Ze(),J=Ze(),lt=Ze(),ve=Ze();function Ze(){return 2**++PE}const In=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(In);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&In[i])===In[i])}}}no.prototype.defined=!0;function el(e,n,o){o&&(e[n]=o)}function st(e){const n={},o={};for(const[l,r]of Object.entries(e.properties)){const a=new no(l,e.transform(e.attributes||{},l),r,e.space);e.mustUseProperty&&e.mustUseProperty.includes(l)&&(a.mustUseProperty=!0),n[l]=a,o[Vn(l)]=l,o[Vn(a.attribute)]=l}return new vt(n,o,e.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(e,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()}});function pr(e,n){return n in e?e[n]:n}function gr(e,n){return pr(e,n.toLowerCase())}const RE=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}),ME=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(e,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(e,n){return"xml:"+n.slice(3).toLowerCase()}}),FE=/[A-Z]/g,tl=/-[a-z]/g,UE=/^data[-\w.:]+$/i;function HE(e,n){const o=Vn(n);let l=n,r=ke;if(o in e.normal)return e.property[e.normal[o]];if(o.length>4&&o.slice(0,4)==="data"&&UE.test(n)){if(n.charAt(4)==="-"){const a=n.slice(5).replace(tl,WE);l="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=n.slice(4);if(!tl.test(a)){let i=a.replace(FE,zE);i.charAt(0)!=="-"&&(i="-"+i),n="data"+i}}r=no}return new r(l,n)}function zE(e){return"-"+e.toLowerCase()}function WE(e){return e.charAt(1).toUpperCase()}const jE=mr([fr,RE,hr,Er,kr],"html");mr([fr,ME,hr,Er,kr],"svg");const GE=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"]),KE=["p","h1","h2","h3","h4","h5","h6","li"];function Ft(e,n){return e.type===n||typeof e.type=="object"&&e.type.tag===n||e.tag===n}function oo(e){return Ft(e,"text")||Ft(e,Symbol.for("v-txt"))}function yr(e){return Array.isArray(e.children)||typeof e.children=="string"?e.children:typeof e.children?.default=="function"?e.children.default():[]}function Ut(e){if(!e)return"";if(Array.isArray(e))return e.map(Ut).join("");if(oo(e))return e.value||e.children||"";const n=yr(e);return Array.isArray(n)?n.map(Ut).filter(Boolean).join(""):""}function vr(e,n=[]){if(Array.isArray(e))return e.flatMap(l=>vr(l,n));let o=e;return n.some(l=>l==="*"||Ft(e,l))&&(o=yr(e)||e,!Array.isArray(o)&&KE.some(l=>Ft(e,l))&&(o=[o])),o}function Cr(e,n=[]){return e=Array.isArray(e)?e:[e],n.length?e.flatMap(o=>Cr(vr(o,[n[0]]),n.slice(1))).filter(o=>!(oo(o)&&Ut(o).trim()==="")):e}function Nr(e,n=[]){return typeof n=="string"&&(n=n.split(/[,\s]/).map(o=>o.trim()).filter(Boolean)),n.length?Cr(e,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),[]):e}function YE(e,n){return n.reduce((o,l)=>{const r=qE(e,l);return r!==void 0&&(o[l]=r),o},{})}function qE(e,n){return n.split(".").reduce((o,l)=>o&&o[l],e)}const $n="default",_r=/^@|^v-on:/,Sr=/^:|^v-bind:/,XE=/^v-model/,ZE=["select","textarea","input"],JE=new Set(["math","svg"]),br=new Set,QE=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(e=>[e,`prose-${e}`])),ek=["script","base"],tk=t.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(e){const o=t.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=t.computed(()=>({...r?.components?.prose&&e.prose!==!1?QE:{},...r?.components?.map||{},...t.toRaw(e.data?.mdc?.components||{}),...e.components})),s=t.computed(()=>{const d=(e.body?.children||[]).map(h=>h.tag||h.type).filter(h=>!lo(h));return Array.from(new Set(d)).sort().join(".")}),c=t.reactive({...e.data});t.watch(()=>e.data,d=>{Object.assign(c,d)}),await mk(e.body,{tags:i.value});function u(d,h){const m=d.split(".").length-1;return d.split(".").reduce((y,T,k)=>k==m&&y?(y[T]=h,y[T]):typeof y=="object"?y[T]:void 0,c)}return{tags:i,contentKey:s,route:l,runtimeData:c,updateRuntimeData:u}},render(e){const{tags:n,tag:o,body:l,data:r,contentKey:a,route:i,unwrap:s,runtimeData:c,updateRuntimeData:u}=e;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?t.h(h,{...d.component?.props,class:e.class,...this.$attrs,key:a},{default:m}):m?.();function m(){const y=wr(l,t.h,{documentMeta:d,parentScope:d,resolveComponent:An});return y?.default?s?Nr(y.default(),typeof s=="string"?s.split(" "):["*"]):y.default():null}}});function nk(e,n,o,l){const{documentMeta:r,parentScope:a,resolveComponent:i}=o;if(e.type==="text")return n(t.Text,e.value);if(e.type==="comment")return n(t.Comment,null,e.value);const s=e.tag,c=Br(e,r.tags);if(e.tag==="binding")return ok(e,n,r,a);const u=Lr(c)?m=>m:i;if(ek.includes(to(c).toLowerCase()))return n("pre",{class:"mdc-renderer-dangerous-tag"},"<"+c+">"+Ut(e)+"</"+c+">");const d=u(c);typeof d=="object"&&(d.tag=s);const h=lk(e,r);return l&&(h.key=l),n(d,h,wr(e,n,{documentMeta:r,parentScope:{...a,...h},resolveComponent:u}))}function wr(e,n,o){const{documentMeta:l,parentScope:r,resolveComponent:a}=o,s=(e.children||[]).reduce((u,d)=>{if(!uk(d))return u[$n].children.push(d),u;const h=ck(d);return u[h]=u[h]||{props:{},children:[]},d.type==="element"&&(u[h].props=d.props,u[h].children.push(...d.children||[])),u},{[$n]:{props:{},children:[]}});return Object.entries(s).reduce((u,[d,{props:h,children:m}])=>(m.length&&(u[d]=(y={})=>{const T=YE(y,Object.keys(h||{}));let k=m.map((_,f)=>nk(_,n,{documentMeta:l,parentScope:{...r,...T},resolveComponent:a},String(_.props?.key||f)));return h?.unwrap&&(k=Nr(k,h.unwrap)),dk(k)}),u),{})}function ok(e,n,o,l={}){const r={...o.runtimeData,...l,$document:o,$doc:o},a=/\.|\[(\d+)\]/,s=(e.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=e.props?.defaultValue;return n(t.Text,s??c??"")}function lk(e,n){const{tag:o="",props:l={}}=e;return Object.keys(l).reduce(function(r,a){if(a==="__ignoreMap")return r;const i=l[a];if(XE.test(a))return rk(a,i,r,n,{native:ZE.includes(o)});if(a==="v-bind")return ak(a,i,r,n);if(_r.test(a))return ik(a,i,r,n);if(Sr.test(a))return sk(a,i,r,n);const{attribute:s}=HE(jE,a);return Array.isArray(i)&&i.every(c=>typeof c=="string")?(r[s]=i.join(" "),r):(r[s]=i,r)},{})}function rk(e,n,o,l,{native:r}){const a=e.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 ak(e,n,o,l){const r=Xt(n,l);return o=Object.assign(o,r),o}function ik(e,n,o,l){return e=e.replace(_r,""),o.on=o.on||{},o.on[e]=()=>Xt(n,l),o}function sk(e,n,o,l){return e=e.replace(Sr,""),o[e]=Xt(n,l),o}const An=e=>{if(typeof e=="string"){if(lo(e))return e;const n=t.resolveComponent(to(e),!1);return!e||n?.name==="AsyncComponentWrapper"||typeof n=="string"?n:"setup"in n?t.defineAsyncComponent(()=>new Promise(o=>o(n))):n}return e};function Xt(e,n){const o=e.split(".").reduce((l,r)=>typeof l=="object"?l[r]:void 0,n);return typeof o>"u"?IE(e):o}function ck(e){let n="";for(const o of Object.keys(e.props||{}))if(!(!o.startsWith("#")&&!o.startsWith("v-slot:"))){n=o.split(/[:#]/,2)[1];break}return n||$n}function uk(e){return e.tag==="template"}function Lr(e){return JE.has(e)}function dk(e){const n=[];for(const o of e){const l=n[n.length-1];o.type===t.Text&&l?.type===t.Text?l.children=l.children+o.children:n.push(o)}return n}async function mk(e,n){if(!e)return;const o=Array.from(new Set(l(e,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(e,n){const o=e.tag;return!o||typeof e.props?.__ignoreMap<"u"?o:n[o]||n[to(o)]||n[xE(e.tag)]||o}function lo(e){return(typeof e=="string"?br.has(e):!1)||GE.has(e)}const fk=t.defineComponent({__name:"MDCRenderer",setup(e){return(n,o)=>(t.openBlock(),t.createBlock(t.Suspense,null,{default:t.withCtx(()=>[t.createVNode(tk,t.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=fk;exports.PluginIndex=bE;exports.RotatingDotsIcon=ll;exports.STATES=z;exports.SchemaToHtml=l1;exports.SchemaToHtmlV2=gE;exports.State=ne;exports.Status=jf;exports.SubgroupCard=Jl;exports.TaskIcon=zn;exports.Topology=Hf;exports.YamlUtils=Fr;exports.buildPluginMappings=mi;exports.cssVariable=Ne;exports.extractPluginElements=Ht;exports.filterPluginsWithoutDeprecated=di;exports.getMDCParser=ii;exports.isEntryAPluginElementPredicate=Dn;exports.slugify=Ce;exports.subGroupName=Ae;exports.usePluginElementCounts=ol;
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
20
  //# sourceMappingURL=kestra-index.cjs.js.map