@kestra-io/ui-libs 0.0.271 → 0.0.273

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- "use strict";var wr=Object.create;var oo=Object.defineProperty;var Lr=Object.getOwnPropertyDescriptor;var Tr=Object.getOwnPropertyNames;var Br=Object.getPrototypeOf,Vr=Object.prototype.hasOwnProperty;var Ir=(t,n,o,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of Tr(n))!Vr.call(t,a)&&a!==o&&oo(t,a,{get:()=>n[a],enumerable:!(l=Lr(n,a))||l.enumerable});return t};var Ar=(t,n,o)=>(o=t!=null?wr(Br(t)):{},Ir(n||!t||!t.__esModule?oo(o,"default",{value:t,enumerable:!0}):o,t));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ge=require("yaml"),w=require("./VueFlowUtils-DjetWQIy.cjs"),W=require("./FlowYamlUtils-CB_0RSKT.cjs"),e=require("vue"),oe=require("@vue-flow/core"),an=require("@vue-flow/controls"),sn=require("moment"),Dr=require("@popperjs/core"),$r={lineWidth:0},lo=["tasks","triggers","errors","finally","afterExecution","pluginDefaults"],Or={stringify:W.stringify,parse:W.parse,pairsToMap:W.pairsToMap,extractTask(t,n){for(const o of lo){const l=W.extractBlock({source:t,section:o,key:n});if(l)return l}},_extractTask(t,n,o){function l(r){if(r){if(r instanceof Ge.YAMLMap&&r.get("type")!==void 0&&n===r.get("id"))return o?o(r):r;if(r.items)for(const[i,s]of r.items.entries()){let c;if(s instanceof Ge.YAMLMap?c=l(s):c=l(s.value),c&&(o&&(r instanceof Ge.YAMLMap?r.set(s.key.value,c):r.items[i]=c),!o&&c))return c}}}const a=l(t.contents);if(a!==void 0)return o?new Ge.Document(a):new Ge.Document(a)},replaceTaskInDocument(t,n,o,l="tasks",a="id"){return W.replaceBlockInDocument({source:t,section:l,keyName:a,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),a=this._extractTask(l,n),r=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,()=>r),this._extractTask(l,o,()=>a),l.toString($r)},insertTask(t,n,o,l,a){return W.insertBlock({source:t,section:"tasks",newBlock:o,refKey:n,position:l,parentKey:a})},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===w.SECTIONS.TASKS?["tasks","errors"]:["triggers"]).reduce((a,r)=>W.deleteBlock({source:a,section:r,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:lo,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},Ce=t=>{const n=document.querySelector(":root");return(n?getComputedStyle(n):null)?.getPropertyValue(t)};var Pr=w.requireMapValues();const Nt=W.getDefaultExportFromCjs(Pr),D=(t,n)=>{const o=t.__vccOpts||t;for(const[l,a]of n)o[l]=a;return o},Rr={name:"PauseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Mr=["aria-hidden","aria-label"],xr=["fill","width","height"],Fr={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"},Ur={key:0};function Hr(t,n,o,l,a,r){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",Fr,[o.title?(e.openBlock(),e.createElementBlock("title",Ur,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,xr))],16,Mr)}const ro=D(Rr,[["render",Hr]]),zr={name:"CheckCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Wr=["aria-hidden","aria-label"],jr=["fill","width","height"],Gr={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"},Kr={key:0};function Yr(t,n,o,l,a,r){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",Gr,[o.title?(e.openBlock(),e.createElementBlock("title",Kr,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,jr))],16,Wr)}const qr=D(zr,[["render",Yr]]),Xr={name:"PlayCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Zr=["aria-hidden","aria-label"],Jr=["fill","width","height"],Qr={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"},ea={key:0};function ta(t,n,o,l,a,r){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",Qr,[o.title?(e.openBlock(),e.createElementBlock("title",ea,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Jr))],16,Zr)}const na=D(Xr,[["render",ta]]),oa={name:"CloseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},la=["aria-hidden","aria-label"],ra=["fill","width","height"],aa={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"},ia={key:0};function sa(t,n,o,l,a,r){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",aa,[o.title?(e.openBlock(),e.createElementBlock("title",ia,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ra))],16,la)}const gn=D(oa,[["render",sa]]),ca={name:"StopCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ua=["aria-hidden","aria-label"],da=["fill","width","height"],ma={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"},fa={key:0};function pa(t,n,o,l,a,r){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",ma,[o.title?(e.openBlock(),e.createElementBlock("title",fa,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,da))],16,ua)}const ga=D(ca,[["render",pa]]),ha={name:"SkipPreviousCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ea=["aria-hidden","aria-label"],ya=["fill","width","height"],ka={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"},_a={key:0};function va(t,n,o,l,a,r){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",ka,[o.title?(e.openBlock(),e.createElementBlock("title",_a,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ya))],16,Ea)}const Ca=D(ha,[["render",va]]),Na={name:"AlertCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Sa=["aria-hidden","aria-label"],ba=["fill","width","height"],wa={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"},La={key:0};function Ta(t,n,o,l,a,r){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",wa,[o.title?(e.openBlock(),e.createElementBlock("title",La,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ba))],16,Sa)}const At=D(Na,[["render",Ta]]),Ba={name:"DotsVerticalCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Va=["aria-hidden","aria-label"],Ia=["fill","width","height"],Aa={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"},Da={key:0};function $a(t,n,o,l,a,r){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",Aa,[o.title?(e.openBlock(),e.createElementBlock("title",Da,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Ia))],16,Va)}const Oa=D(Ba,[["render",$a]]),Pa={name:"MotionPauseOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ra=["aria-hidden","aria-label"],Ma=["fill","width","height"],xa={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"},Fa={key:0};function Ua(t,n,o,l,a,r){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",xa,[o.title?(e.openBlock(),e.createElementBlock("title",Fa,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Ma))],16,Ra)}const Ha=D(Pa,[["render",Ua]]),za={name:"RefreshIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Wa=["aria-hidden","aria-label"],ja=["fill","width","height"],Ga={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"},Ka={key:0};function Ya(t,n,o,l,a,r){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",Ga,[o.title?(e.openBlock(),e.createElementBlock("title",Ka,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ja))],16,Wa)}const ao=D(za,[["render",Ya]]),qa={name:"CancelIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Xa=["aria-hidden","aria-label"],Za=["fill","width","height"],Ja={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"},Qa={key:0};function ei(t,n,o,l,a,r){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",Ja,[o.title?(e.openBlock(),e.createElementBlock("title",Qa,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Za))],16,Xa)}const io=D(qa,[["render",ei]]),ti=["ERROR","WARN","INFO","DEBUG","TRACE"],z=Object.freeze({CREATED:{name:"CREATED",color:"#1761FD",colorClass:"cyan",icon:Oa,isRunning:!0,isKillable:!0,isFailed:!1},RESTARTED:{name:"RESTARTED",color:"#1761FD",colorClass:"cyan",icon:Ca,isRunning:!1,isKillable:!0,isFailed:!1},SUCCESS:{name:"SUCCESS",color:"#029E73",colorClass:"green",icon:qr,isRunning:!1,isKillable:!1,isFailed:!1},RUNNING:{name:"RUNNING",color:"#8405FF",colorClass:"purple",icon:na,isRunning:!0,isKillable:!0,isFailed:!1},KILLING:{name:"KILLING",color:"#FCE07C",colorClass:"yellow",icon:gn,isRunning:!0,isKillable:!0,isFailed:!0},KILLED:{name:"KILLED",color:"#FCE07C",colorClass:"yellow",icon:ga,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:gn,isRunning:!1,isKillable:!1,isFailed:!0},PAUSED:{name:"PAUSED",color:"#918BA9",colorClass:"indigo",icon:ro,isRunning:!0,isKillable:!0,isFailed:!1},CANCELLED:{name:"CANCELLED",color:"#918BA9",colorClass:"gray",icon:io,isRunning:!1,isKillable:!1,isFailed:!0},SKIPPED:{name:"SKIPPED",color:"#918BA9",colorClass:"gray",icon:io,isRunning:!1,isKillable:!1,isFailed:!0},QUEUED:{name:"QUEUED",color:"#918BA9",colorClass:"gray",icon:Ha,isRunning:!1,isKillable:!1,isFailed:!1},RETRYING:{name:"RETRYING",color:"#918BA9",colorClass:"gray",icon:ao,isRunning:!1,isKillable:!0,isFailed:!1},RETRIED:{name:"RETRIED",color:"#918BA9",colorClass:"gray",icon:ao,isRunning:!1,isKillable:!1,isFailed:!1},BREAKPOINT:{name:"BREAKPOINT",color:"#918BA9",colorClass:"gray",icon:ro,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 Nt(z,n=>({key:n.name,icon:n.icon,color:""}))}static arrayAllStates(){return Object.values(z)}static colorClass(){return Nt(z,n=>n.colorClass)}static color(){return Nt(z,n=>Ce("--bs-"+n.colorClass))}static getStateColor(n){return z[n].color}static icon(){return Nt(z,n=>n.icon)}static getTerminatedStates(){return Object.values(z).filter(n=>!n.isRunning).map(n=>n.name)}}let St;async function ni(){if(St)return St;const t=await Promise.resolve().then(()=>require("./useMarkdownParser-cPr4eWCu.cjs"));return St=await(t.default??t)(),St}var Vt={exports:{}},oi=Vt.exports,so;function li(){return so||(so=1,(function(t,n){(function(o,l,a){t.exports=a(),t.exports.default=a()})("slugify",oi,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 a(r,i){if(typeof r!="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=r.normalize().split("").reduce(function(p,h){var _=s[h];return _===void 0&&(_=o[h]),_===void 0&&(_=h),_===c&&(_=" "),p+_.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 a.extend=function(r){Object.assign(o,r)},a})})(Vt)),Vt.exports}var ri=li();const Jo=W.getDefaultExportFromCjs(ri);Jo.extend({"(":"-",")":""});function he(t){return Jo(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 De(t){const o=(t.title??"").replace(/\.([a-zA-Z])/g,(l,a)=>` ${a.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 ai(t){return t.flatMap(n=>{const o=Object.entries(n).filter(([l,a])=>Dn(l,a)).map(([l,a])=>[l,a.filter(r=>!r.deprecated)]).filter(([,l])=>l.length>0);return o.length>0?[{...n,...Object.fromEntries(o)}]:[]})}function ii(t){const n={clsToSubgroup:{},clsToPlugin:{},shortNameToCls:{}};for(const o of t??[]){const l=Ht(o),a=o.group??o.name??"",r=he(a),i=o.subGroup?he(De(o)):void 0;Object.values(l).forEach(s=>{s.forEach(c=>{i&&(n.clsToSubgroup[c]=i),n.clsToPlugin[c]={slug:r,raw:a};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 Qo(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,a)=>l+a.length,0));return{elementsByType:n,total:o}}const si={name:"DotsCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ci=["aria-hidden","aria-label"],ui=["fill","width","height"],di={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"},mi={key:0};function fi(t,n,o,l,a,r){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",di,[o.title?(e.openBlock(),e.createElementBlock("title",mi,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ui))],16,ci)}const pi=D(si,[["render",fi]]),gi=e.defineComponent({__name:"RotatingDots",props:{alt:{}},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(pi,{class:"loading-dots-circle",alt:n.alt},null,8,["alt"]))}}),el=D(gi,[["__scopeId","data-v-a7ad4137"]]);/*!
1
+ "use strict";var wr=Object.create;var oo=Object.defineProperty;var Lr=Object.getOwnPropertyDescriptor;var Tr=Object.getOwnPropertyNames;var Br=Object.getPrototypeOf,Vr=Object.prototype.hasOwnProperty;var Ir=(t,n,o,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of Tr(n))!Vr.call(t,a)&&a!==o&&oo(t,a,{get:()=>n[a],enumerable:!(l=Lr(n,a))||l.enumerable});return t};var Ar=(t,n,o)=>(o=t!=null?wr(Br(t)):{},Ir(n||!t||!t.__esModule?oo(o,"default",{value:t,enumerable:!0}):o,t));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ge=require("yaml"),w=require("./VueFlowUtils-DjetWQIy.cjs"),W=require("./FlowYamlUtils-CB_0RSKT.cjs"),e=require("vue"),oe=require("@vue-flow/core"),an=require("@vue-flow/controls"),sn=require("moment"),Dr=require("@popperjs/core"),$r={lineWidth:0},lo=["tasks","triggers","errors","finally","afterExecution","pluginDefaults"],Or={stringify:W.stringify,parse:W.parse,pairsToMap:W.pairsToMap,extractTask(t,n){for(const o of lo){const l=W.extractBlock({source:t,section:o,key:n});if(l)return l}},_extractTask(t,n,o){function l(r){if(r){if(r instanceof Ge.YAMLMap&&r.get("type")!==void 0&&n===r.get("id"))return o?o(r):r;if(r.items)for(const[i,s]of r.items.entries()){let c;if(s instanceof Ge.YAMLMap?c=l(s):c=l(s.value),c&&(o&&(r instanceof Ge.YAMLMap?r.set(s.key.value,c):r.items[i]=c),!o&&c))return c}}}const a=l(t.contents);if(a!==void 0)return o?new Ge.Document(a):new Ge.Document(a)},replaceTaskInDocument(t,n,o,l="tasks",a="id"){return W.replaceBlockInDocument({source:t,section:l,keyName:a,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),a=this._extractTask(l,n),r=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,()=>r),this._extractTask(l,o,()=>a),l.toString($r)},insertTask(t,n,o,l,a){return W.insertBlock({source:t,section:"tasks",newBlock:o,refKey:n,position:l,parentKey:a})},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===w.SECTIONS.TASKS?["tasks","errors"]:["triggers"]).reduce((a,r)=>W.deleteBlock({source:a,section:r,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:lo,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},Ce=t=>{const n=document.querySelector(":root");return(n?getComputedStyle(n):null)?.getPropertyValue(t)};var Pr=w.requireMapValues();const Nt=W.getDefaultExportFromCjs(Pr),D=(t,n)=>{const o=t.__vccOpts||t;for(const[l,a]of n)o[l]=a;return o},Rr={name:"PauseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Mr=["aria-hidden","aria-label"],xr=["fill","width","height"],Fr={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"},Ur={key:0};function Hr(t,n,o,l,a,r){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",Fr,[o.title?(e.openBlock(),e.createElementBlock("title",Ur,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,xr))],16,Mr)}const ro=D(Rr,[["render",Hr]]),zr={name:"CheckCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Wr=["aria-hidden","aria-label"],jr=["fill","width","height"],Gr={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"},Kr={key:0};function Yr(t,n,o,l,a,r){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",Gr,[o.title?(e.openBlock(),e.createElementBlock("title",Kr,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,jr))],16,Wr)}const qr=D(zr,[["render",Yr]]),Xr={name:"PlayCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Zr=["aria-hidden","aria-label"],Jr=["fill","width","height"],Qr={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"},ea={key:0};function ta(t,n,o,l,a,r){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",Qr,[o.title?(e.openBlock(),e.createElementBlock("title",ea,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Jr))],16,Zr)}const na=D(Xr,[["render",ta]]),oa={name:"CloseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},la=["aria-hidden","aria-label"],ra=["fill","width","height"],aa={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"},ia={key:0};function sa(t,n,o,l,a,r){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",aa,[o.title?(e.openBlock(),e.createElementBlock("title",ia,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ra))],16,la)}const gn=D(oa,[["render",sa]]),ca={name:"StopCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ua=["aria-hidden","aria-label"],da=["fill","width","height"],ma={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"},fa={key:0};function pa(t,n,o,l,a,r){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",ma,[o.title?(e.openBlock(),e.createElementBlock("title",fa,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,da))],16,ua)}const ga=D(ca,[["render",pa]]),ha={name:"SkipPreviousCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ea=["aria-hidden","aria-label"],ya=["fill","width","height"],ka={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"},_a={key:0};function va(t,n,o,l,a,r){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",ka,[o.title?(e.openBlock(),e.createElementBlock("title",_a,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ya))],16,Ea)}const Ca=D(ha,[["render",va]]),Na={name:"AlertCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Sa=["aria-hidden","aria-label"],ba=["fill","width","height"],wa={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"},La={key:0};function Ta(t,n,o,l,a,r){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",wa,[o.title?(e.openBlock(),e.createElementBlock("title",La,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ba))],16,Sa)}const At=D(Na,[["render",Ta]]),Ba={name:"DotsVerticalCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Va=["aria-hidden","aria-label"],Ia=["fill","width","height"],Aa={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"},Da={key:0};function $a(t,n,o,l,a,r){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",Aa,[o.title?(e.openBlock(),e.createElementBlock("title",Da,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Ia))],16,Va)}const Oa=D(Ba,[["render",$a]]),Pa={name:"MotionPauseOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ra=["aria-hidden","aria-label"],Ma=["fill","width","height"],xa={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"},Fa={key:0};function Ua(t,n,o,l,a,r){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",xa,[o.title?(e.openBlock(),e.createElementBlock("title",Fa,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Ma))],16,Ra)}const Ha=D(Pa,[["render",Ua]]),za={name:"RefreshIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Wa=["aria-hidden","aria-label"],ja=["fill","width","height"],Ga={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"},Ka={key:0};function Ya(t,n,o,l,a,r){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",Ga,[o.title?(e.openBlock(),e.createElementBlock("title",Ka,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ja))],16,Wa)}const ao=D(za,[["render",Ya]]),qa={name:"CancelIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Xa=["aria-hidden","aria-label"],Za=["fill","width","height"],Ja={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"},Qa={key:0};function ei(t,n,o,l,a,r){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",Ja,[o.title?(e.openBlock(),e.createElementBlock("title",Qa,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Za))],16,Xa)}const io=D(qa,[["render",ei]]),ti=["ERROR","WARN","INFO","DEBUG","TRACE"],z=Object.freeze({CREATED:{name:"CREATED",color:"#1761FD",colorClass:"cyan",icon:Oa,isRunning:!0,isKillable:!0,isFailed:!1},RESTARTED:{name:"RESTARTED",color:"#1761FD",colorClass:"cyan",icon:Ca,isRunning:!1,isKillable:!0,isFailed:!1},SUCCESS:{name:"SUCCESS",color:"#029E73",colorClass:"green",icon:qr,isRunning:!1,isKillable:!1,isFailed:!1},RUNNING:{name:"RUNNING",color:"#8405FF",colorClass:"purple",icon:na,isRunning:!0,isKillable:!0,isFailed:!1},KILLING:{name:"KILLING",color:"#FCE07C",colorClass:"yellow",icon:gn,isRunning:!0,isKillable:!0,isFailed:!0},KILLED:{name:"KILLED",color:"#FCE07C",colorClass:"yellow",icon:ga,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:gn,isRunning:!1,isKillable:!1,isFailed:!0},PAUSED:{name:"PAUSED",color:"#918BA9",colorClass:"indigo",icon:ro,isRunning:!0,isKillable:!0,isFailed:!1},CANCELLED:{name:"CANCELLED",color:"#918BA9",colorClass:"gray",icon:io,isRunning:!1,isKillable:!1,isFailed:!0},SKIPPED:{name:"SKIPPED",color:"#918BA9",colorClass:"gray",icon:io,isRunning:!1,isKillable:!1,isFailed:!0},QUEUED:{name:"QUEUED",color:"#918BA9",colorClass:"gray",icon:Ha,isRunning:!1,isKillable:!1,isFailed:!1},RETRYING:{name:"RETRYING",color:"#918BA9",colorClass:"gray",icon:ao,isRunning:!1,isKillable:!0,isFailed:!1},RETRIED:{name:"RETRIED",color:"#918BA9",colorClass:"gray",icon:ao,isRunning:!1,isKillable:!1,isFailed:!1},BREAKPOINT:{name:"BREAKPOINT",color:"#918BA9",colorClass:"gray",icon:ro,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 Nt(z,n=>({key:n.name,icon:n.icon,color:""}))}static arrayAllStates(){return Object.values(z)}static colorClass(){return Nt(z,n=>n.colorClass)}static color(){return Nt(z,n=>Ce("--bs-"+n.colorClass))}static getStateColor(n){return z[n].color}static icon(){return Nt(z,n=>n.icon)}static getTerminatedStates(){return Object.values(z).filter(n=>!n.isRunning).map(n=>n.name)}}let St;async function ni(){if(St)return St;const t=await Promise.resolve().then(()=>require("./useMarkdownParser-cPr4eWCu.cjs"));return St=await(t.default??t)(),St}var Vt={exports:{}},oi=Vt.exports,so;function li(){return so||(so=1,(function(t,n){(function(o,l,a){t.exports=a(),t.exports.default=a()})("slugify",oi,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 a(r,i){if(typeof r!="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=r.normalize().split("").reduce(function(p,h){var _=s[h];return _===void 0&&(_=o[h]),_===void 0&&(_=h),_===c&&(_=" "),p+_.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 a.extend=function(r){Object.assign(o,r)},a})})(Vt)),Vt.exports}var ri=li();const Jo=W.getDefaultExportFromCjs(ri);Jo.extend({"(":"-",")":""});function ve(t){return Jo(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 De(t){const o=(t.title??"").replace(/\.([a-zA-Z])/g,(l,a)=>` ${a.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 ai(t){return t.flatMap(n=>{const o=Object.entries(n).filter(([l,a])=>Dn(l,a)).map(([l,a])=>[l,a.filter(r=>!r.deprecated)]).filter(([,l])=>l.length>0);return o.length>0?[{...n,...Object.fromEntries(o)}]:[]})}function ii(t){const n={clsToSubgroup:{},clsToPlugin:{},shortNameToCls:{}};for(const o of t??[]){const l=Ht(o),a=o.group??o.name??"",r=ve(a),i=o.subGroup?ve(De(o)):void 0;Object.values(l).forEach(s=>{s.forEach(c=>{i&&(n.clsToSubgroup[c]=i),n.clsToPlugin[c]={slug:r,raw:a};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 Qo(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,a)=>l+a.length,0));return{elementsByType:n,total:o}}const si={name:"DotsCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ci=["aria-hidden","aria-label"],ui=["fill","width","height"],di={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"},mi={key:0};function fi(t,n,o,l,a,r){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",di,[o.title?(e.openBlock(),e.createElementBlock("title",mi,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ui))],16,ci)}const pi=D(si,[["render",fi]]),gi=e.defineComponent({__name:"RotatingDots",props:{alt:{}},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(pi,{class:"loading-dots-circle",alt:n.alt},null,8,["alt"]))}}),el=D(gi,[["__scopeId","data-v-a7ad4137"]]);/*!
2
2
  * shared v11.1.12
3
3
  * (c) 2025 kazuya kawaguchi
4
4
  * Released under the MIT License.
@@ -8,29 +8,29 @@
8
8
  * (c) 2025 kazuya kawaguchi
9
9
  * Released under the MIT License.
10
10
  */function Ti(t,n,o){return{line:t,column:n,offset:o}}function hn(t,n,o){return{start:t,end:n}}const x={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},Bi=17,Vi={[x.EXPECTED_TOKEN]:"Expected token: '{0}'",[x.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[x.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[x.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[x.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[x.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[x.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[x.EMPTY_PLACEHOLDER]:"Empty placeholder",[x.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[x.INVALID_LINKED_FORMAT]:"Invalid linked format",[x.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[x.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[x.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[x.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[x.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[x.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function rt(t,n,o={}){const{domain:l,messages:a,args:r}=o,i=process.env.NODE_ENV!=="production"?zt((a||Vi)[t]||"",...r||[]):t,s=new SyntaxError(String(i));return s.code=t,n&&(s.location=n),s.domain=l,s}function Ii(t){throw t}const Ai=/<\/?[\w\s="/.':;#-\/]+>/,Di=t=>Ai.test(t),Le=" ",$i="\r",fe=`
11
- `,Oi="\u2028",Pi="\u2029";function Ri(t){const n=t;let o=0,l=1,a=1,r=0;const i=N=>n[N]===$i&&n[N+1]===fe,s=N=>n[N]===fe,c=N=>n[N]===Pi,u=N=>n[N]===Oi,d=N=>i(N)||s(N)||c(N)||u(N),p=()=>o,h=()=>l,_=()=>a,v=()=>r,k=N=>i(N)||c(N)||u(N)?fe:n[N],E=()=>k(o),f=()=>k(o+r);function y(){return r=0,d(o)&&(l++,a=0),i(o)&&o++,o++,a++,n[o]}function T(){return i(o+r)&&r++,r++,n[o+r]}function S(){o=0,l=1,a=1,r=0}function b(N=0){r=N}function I(){const N=o+r;for(;N!==o;)y();r=0}return{index:p,line:h,column:_,peekOffset:v,charAt:k,currentChar:E,currentPeek:f,next:y,peek:T,reset:S,resetPeek:b,skipToPeek:I}}const Ae=void 0,Mi=".",go="'",xi="tokenizer";function Fi(t,n={}){const o=n.location!==!1,l=Ri(t),a=()=>l.index(),r=()=>Ti(l.line(),l.column(),l.index()),i=r(),s=a(),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 p(m,g,L,...O){const ee=u();if(g.column+=L,g.offset+=L,d){const le=o?hn(ee.startLoc,g):null,G=rt(m,le,{domain:xi,args:O});d(G)}}function h(m,g,L){m.endLoc=r(),m.currentType=g;const O={type:g};return o&&(O.loc=hn(m.startLoc,m.endLoc)),L!=null&&(O.value=L),O}const _=m=>h(m,13);function v(m,g){return m.currentChar()===g?(m.next(),g):(p(x.EXPECTED_TOKEN,r(),0,g),"")}function k(m){let g="";for(;m.currentPeek()===Le||m.currentPeek()===fe;)g+=m.currentPeek(),m.peek();return g}function E(m){const g=k(m);return m.skipToPeek(),g}function f(m){if(m===Ae)return!1;const g=m.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g===95}function y(m){if(m===Ae)return!1;const g=m.charCodeAt(0);return g>=48&&g<=57}function T(m,g){const{currentType:L}=g;if(L!==2)return!1;k(m);const O=f(m.currentPeek());return m.resetPeek(),O}function S(m,g){const{currentType:L}=g;if(L!==2)return!1;k(m);const O=m.currentPeek()==="-"?m.peek():m.currentPeek(),ee=y(O);return m.resetPeek(),ee}function b(m,g){const{currentType:L}=g;if(L!==2)return!1;k(m);const O=m.currentPeek()===go;return m.resetPeek(),O}function I(m,g){const{currentType:L}=g;if(L!==7)return!1;k(m);const O=m.currentPeek()===".";return m.resetPeek(),O}function N(m,g){const{currentType:L}=g;if(L!==8)return!1;k(m);const O=f(m.currentPeek());return m.resetPeek(),O}function M(m,g){const{currentType:L}=g;if(!(L===7||L===11))return!1;k(m);const O=m.currentPeek()===":";return m.resetPeek(),O}function F(m,g){const{currentType:L}=g;if(L!==9)return!1;const O=()=>{const le=m.currentPeek();return le==="{"?f(m.peek()):le==="@"||le==="|"||le===":"||le==="."||le===Le||!le?!1:le===fe?(m.peek(),O()):ge(m,!1)},ee=O();return m.resetPeek(),ee}function Q(m){k(m);const g=m.currentPeek()==="|";return m.resetPeek(),g}function ge(m,g=!0){const L=(ee=!1,le="")=>{const G=m.currentPeek();return G==="{"||G==="@"||!G?ee:G==="|"?!(le===Le||le===fe):G===Le?(m.peek(),L(!0,Le)):G===fe?(m.peek(),L(!0,fe)):!0},O=L();return g&&m.resetPeek(),O}function Z(m,g){const L=m.currentChar();return L===Ae?Ae:g(L)?(m.next(),L):null}function Me(m){const g=m.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g>=48&&g<=57||g===95||g===36}function Je(m){return Z(m,Me)}function P(m){const g=m.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g>=48&&g<=57||g===95||g===36||g===45}function A(m){return Z(m,P)}function H(m){const g=m.charCodeAt(0);return g>=48&&g<=57}function R(m){return Z(m,H)}function Ie(m){const g=m.charCodeAt(0);return g>=48&&g<=57||g>=65&&g<=70||g>=97&&g<=102}function me(m){return Z(m,Ie)}function He(m){let g="",L="";for(;g=R(m);)L+=g;return L}function Zt(m){let g="";for(;;){const L=m.currentChar();if(L==="{"||L==="}"||L==="@"||L==="|"||!L)break;if(L===Le||L===fe)if(ge(m))g+=L,m.next();else{if(Q(m))break;g+=L,m.next()}else g+=L,m.next()}return g}function Jt(m){E(m);let g="",L="";for(;g=A(m);)L+=g;const O=m.currentChar();if(O&&O!=="}"&&O!==Ae&&O!==Le&&O!==fe&&O!==" "){const ee=vt(m);return p(x.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,L+ee),L+ee}return m.currentChar()===Ae&&p(x.UNTERMINATED_CLOSING_BRACE,r(),0),L}function Qt(m){E(m);let g="";return m.currentChar()==="-"?(m.next(),g+=`-${He(m)}`):g+=He(m),m.currentChar()===Ae&&p(x.UNTERMINATED_CLOSING_BRACE,r(),0),g}function en(m){return m!==go&&m!==fe}function to(m){E(m),v(m,"'");let g="",L="";for(;g=Z(m,en);)g==="\\"?L+=tn(m):L+=g;const O=m.currentChar();return O===fe||O===Ae?(p(x.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),O===fe&&(m.next(),v(m,"'")),L):(v(m,"'"),L)}function tn(m){const g=m.currentChar();switch(g){case"\\":case"'":return m.next(),`\\${g}`;case"u":return _t(m,g,4);case"U":return _t(m,g,6);default:return p(x.UNKNOWN_ESCAPE_SEQUENCE,r(),0,g),""}}function _t(m,g,L){v(m,g);let O="";for(let ee=0;ee<L;ee++){const le=me(m);if(!le){p(x.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${g}${O}${m.currentChar()}`);break}O+=le}return`\\${g}${O}`}function nn(m){return m!=="{"&&m!=="}"&&m!==Le&&m!==fe}function vt(m){E(m);let g="",L="";for(;g=Z(m,nn);)L+=g;return L}function on(m){let g="",L="";for(;g=Je(m);)L+=g;return L}function ln(m){const g=L=>{const O=m.currentChar();return O==="{"||O==="@"||O==="|"||O==="("||O===")"||!O||O===Le?L:(L+=O,m.next(),g(L))};return g("")}function st(m){E(m);const g=v(m,"|");return E(m),g}function ct(m,g){let L=null;switch(m.currentChar()){case"{":return g.braceNest>=1&&p(x.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),m.next(),L=h(g,2,"{"),E(m),g.braceNest++,L;case"}":return g.braceNest>0&&g.currentType===2&&p(x.EMPTY_PLACEHOLDER,r(),0),m.next(),L=h(g,3,"}"),g.braceNest--,g.braceNest>0&&E(m),g.inLinked&&g.braceNest===0&&(g.inLinked=!1),L;case"@":return g.braceNest>0&&p(x.UNTERMINATED_CLOSING_BRACE,r(),0),L=ze(m,g)||_(g),g.braceNest=0,L;default:{let ee=!0,le=!0,G=!0;if(Q(m))return g.braceNest>0&&p(x.UNTERMINATED_CLOSING_BRACE,r(),0),L=h(g,1,st(m)),g.braceNest=0,g.inLinked=!1,L;if(g.braceNest>0&&(g.currentType===4||g.currentType===5||g.currentType===6))return p(x.UNTERMINATED_CLOSING_BRACE,r(),0),g.braceNest=0,ut(m,g);if(ee=T(m,g))return L=h(g,4,Jt(m)),E(m),L;if(le=S(m,g))return L=h(g,5,Qt(m)),E(m),L;if(G=b(m,g))return L=h(g,6,to(m)),E(m),L;if(!ee&&!le&&!G)return L=h(g,12,vt(m)),p(x.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,L.value),E(m),L;break}}return L}function ze(m,g){const{currentType:L}=g;let O=null;const ee=m.currentChar();switch((L===7||L===8||L===11||L===9)&&(ee===fe||ee===Le)&&p(x.INVALID_LINKED_FORMAT,r(),0),ee){case"@":return m.next(),O=h(g,7,"@"),g.inLinked=!0,O;case".":return E(m),m.next(),h(g,8,".");case":":return E(m),m.next(),h(g,9,":");default:return Q(m)?(O=h(g,1,st(m)),g.braceNest=0,g.inLinked=!1,O):I(m,g)||M(m,g)?(E(m),ze(m,g)):N(m,g)?(E(m),h(g,11,on(m))):F(m,g)?(E(m),ee==="{"?ct(m,g)||O:h(g,10,ln(m))):(L===7&&p(x.INVALID_LINKED_FORMAT,r(),0),g.braceNest=0,g.inLinked=!1,ut(m,g))}}function ut(m,g){let L={type:13};if(g.braceNest>0)return ct(m,g)||_(g);if(g.inLinked)return ze(m,g)||_(g);switch(m.currentChar()){case"{":return ct(m,g)||_(g);case"}":return p(x.UNBALANCED_CLOSING_BRACE,r(),0),m.next(),h(g,3,"}");case"@":return ze(m,g)||_(g);default:{if(Q(m))return L=h(g,1,st(m)),g.braceNest=0,g.inLinked=!1,L;if(ge(m))return h(g,0,Zt(m));break}}return L}function rn(){const{currentType:m,offset:g,startLoc:L,endLoc:O}=c;return c.lastType=m,c.lastOffset=g,c.lastStartLoc=L,c.lastEndLoc=O,c.offset=a(),c.startLoc=r(),l.currentChar()===Ae?h(c,13):ut(l,c)}return{nextToken:rn,currentOffset:a,currentPosition:r,context:u}}const Ui="parser",Hi=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function zi(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 Wi(t={}){const n=t.location!==!1,{onError:o}=t;function l(f,y,T,S,...b){const I=f.currentPosition();if(I.offset+=S,I.column+=S,o){const N=n?hn(T,I):null,M=rt(y,N,{domain:Ui,args:b});o(M)}}function a(f,y,T){const S={type:f};return n&&(S.start=y,S.end=y,S.loc={start:T,end:T}),S}function r(f,y,T,S){n&&(f.end=y,f.loc&&(f.loc.end=T))}function i(f,y){const T=f.context(),S=a(3,T.offset,T.startLoc);return S.value=y,r(S,f.currentOffset(),f.currentPosition()),S}function s(f,y){const T=f.context(),{lastOffset:S,lastStartLoc:b}=T,I=a(5,S,b);return I.index=parseInt(y,10),f.nextToken(),r(I,f.currentOffset(),f.currentPosition()),I}function c(f,y){const T=f.context(),{lastOffset:S,lastStartLoc:b}=T,I=a(4,S,b);return I.key=y,f.nextToken(),r(I,f.currentOffset(),f.currentPosition()),I}function u(f,y){const T=f.context(),{lastOffset:S,lastStartLoc:b}=T,I=a(9,S,b);return I.value=y.replace(Hi,zi),f.nextToken(),r(I,f.currentOffset(),f.currentPosition()),I}function d(f){const y=f.nextToken(),T=f.context(),{lastOffset:S,lastStartLoc:b}=T,I=a(8,S,b);return y.type!==11?(l(f,x.UNEXPECTED_EMPTY_LINKED_MODIFIER,T.lastStartLoc,0),I.value="",r(I,S,b),{nextConsumeToken:y,node:I}):(y.value==null&&l(f,x.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,Te(y)),I.value=y.value||"",r(I,f.currentOffset(),f.currentPosition()),{node:I})}function p(f,y){const T=f.context(),S=a(7,T.offset,T.startLoc);return S.value=y,r(S,f.currentOffset(),f.currentPosition()),S}function h(f){const y=f.context(),T=a(6,y.offset,y.startLoc);let S=f.nextToken();if(S.type===8){const b=d(f);T.modifier=b.node,S=b.nextConsumeToken||f.nextToken()}switch(S.type!==9&&l(f,x.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Te(S)),S=f.nextToken(),S.type===2&&(S=f.nextToken()),S.type){case 10:S.value==null&&l(f,x.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Te(S)),T.key=p(f,S.value||"");break;case 4:S.value==null&&l(f,x.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Te(S)),T.key=c(f,S.value||"");break;case 5:S.value==null&&l(f,x.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Te(S)),T.key=s(f,S.value||"");break;case 6:S.value==null&&l(f,x.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Te(S)),T.key=u(f,S.value||"");break;default:{l(f,x.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const b=f.context(),I=a(7,b.offset,b.startLoc);return I.value="",r(I,b.offset,b.startLoc),T.key=I,r(T,b.offset,b.startLoc),{nextConsumeToken:S,node:T}}}return r(T,f.currentOffset(),f.currentPosition()),{node:T}}function _(f){const y=f.context(),T=y.currentType===1?f.currentOffset():y.offset,S=y.currentType===1?y.endLoc:y.startLoc,b=a(2,T,S);b.items=[];let I=null;do{const F=I||f.nextToken();switch(I=null,F.type){case 0:F.value==null&&l(f,x.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Te(F)),b.items.push(i(f,F.value||""));break;case 5:F.value==null&&l(f,x.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Te(F)),b.items.push(s(f,F.value||""));break;case 4:F.value==null&&l(f,x.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Te(F)),b.items.push(c(f,F.value||""));break;case 6:F.value==null&&l(f,x.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Te(F)),b.items.push(u(f,F.value||""));break;case 7:{const Q=h(f);b.items.push(Q.node),I=Q.nextConsumeToken||null;break}}}while(y.currentType!==13&&y.currentType!==1);const N=y.currentType===1?y.lastOffset:f.currentOffset(),M=y.currentType===1?y.lastEndLoc:f.currentPosition();return r(b,N,M),b}function v(f,y,T,S){const b=f.context();let I=S.items.length===0;const N=a(1,y,T);N.cases=[],N.cases.push(S);do{const M=_(f);I||(I=M.items.length===0),N.cases.push(M)}while(b.currentType!==13);return I&&l(f,x.MUST_HAVE_MESSAGES_IN_PLURAL,T,0),r(N,f.currentOffset(),f.currentPosition()),N}function k(f){const y=f.context(),{offset:T,startLoc:S}=y,b=_(f);return y.currentType===13?b:v(f,T,S,b)}function E(f){const y=Fi(f,ue({},t)),T=y.context(),S=a(0,T.offset,T.startLoc);return n&&S.loc&&(S.loc.source=f),S.body=k(y),t.onCacheKey&&(S.cacheKey=t.onCacheKey(f)),T.currentType!==13&&l(y,x.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,f[T.offset]||""),r(S,y.currentOffset(),y.currentPosition()),S}return{parse:E}}function Te(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 ji(t,n={}){const o={ast:t,helpers:new Set};return{context:()=>o,helper:r=>(o.helpers.add(r),r)}}function ho(t,n){for(let o=0;o<t.length;o++)Pn(t[o],n)}function Pn(t,n){switch(t.type){case 1:ho(t.cases,n),n.helper("plural");break;case 2:ho(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 Gi(t,n={}){const o=ji(t);o.helper("normalize"),t.body&&Pn(t.body,o);const l=o.context();t.helpers=Array.from(l.helpers)}function Ki(t){const n=t.body;return n.type===2?Eo(n):n.cases.forEach(o=>Eo(o)),t}function Eo(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=On(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 Yi="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 rt(x.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Yi,args:[t.type]})}delete t.type}const qi="parser";function Xi(t,n){const{filename:o,breakLineCode:l,needIndent:a}=n,r=n.location!==!1,i={filename:o,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:l,needIndent:a,indentLevel:0};r&&t.loc&&(i.source=t.loc.source);const s=()=>i;function c(k,E){i.code+=k}function u(k,E=!0){const f=E?l:"";c(a?f+" ".repeat(k):f)}function d(k=!0){const E=++i.indentLevel;k&&u(E)}function p(k=!0){const E=--i.indentLevel;k&&u(E)}function h(){u(i.indentLevel)}return{context:s,push:c,indent:d,deindent:p,newline:h,helper:k=>`_${k}`,needIndent:()=>i.needIndent}}function Zi(t,n){const{helper:o}=t;t.push(`${o("linked")}(`),lt(t,n.key),n.modifier?(t.push(", "),lt(t,n.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function Ji(t,n){const{helper:o,needIndent:l}=t;t.push(`${o("normalize")}([`),t.indent(l());const a=n.items.length;for(let r=0;r<a&&(lt(t,n.items[r]),r!==a-1);r++)t.push(", ");t.deindent(l()),t.push("])")}function Qi(t,n){const{helper:o,needIndent:l}=t;if(n.cases.length>1){t.push(`${o("plural")}([`),t.indent(l());const a=n.cases.length;for(let r=0;r<a&&(lt(t,n.cases[r]),r!==a-1);r++)t.push(", ");t.deindent(l()),t.push("])")}}function es(t,n){n.body?lt(t,n.body):t.push("null")}function lt(t,n){const{helper:o}=t;switch(n.type){case 0:es(t,n);break;case 1:Qi(t,n);break;case 2:Ji(t,n);break;case 6:Zi(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 rt(x.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:qi,args:[n.type]})}}const ts=(t,n={})=>{const o=$(n.mode)?n.mode:"normal",l=$(n.filename)?n.filename:"message.intl";n.sourceMap;const a=n.breakLineCode!=null?n.breakLineCode:o==="arrow"?";":`
11
+ `,Oi="\u2028",Pi="\u2029";function Ri(t){const n=t;let o=0,l=1,a=1,r=0;const i=N=>n[N]===$i&&n[N+1]===fe,s=N=>n[N]===fe,c=N=>n[N]===Pi,u=N=>n[N]===Oi,d=N=>i(N)||s(N)||c(N)||u(N),p=()=>o,h=()=>l,_=()=>a,v=()=>r,k=N=>i(N)||c(N)||u(N)?fe:n[N],E=()=>k(o),f=()=>k(o+r);function y(){return r=0,d(o)&&(l++,a=0),i(o)&&o++,o++,a++,n[o]}function T(){return i(o+r)&&r++,r++,n[o+r]}function S(){o=0,l=1,a=1,r=0}function b(N=0){r=N}function I(){const N=o+r;for(;N!==o;)y();r=0}return{index:p,line:h,column:_,peekOffset:v,charAt:k,currentChar:E,currentPeek:f,next:y,peek:T,reset:S,resetPeek:b,skipToPeek:I}}const Ae=void 0,Mi=".",go="'",xi="tokenizer";function Fi(t,n={}){const o=n.location!==!1,l=Ri(t),a=()=>l.index(),r=()=>Ti(l.line(),l.column(),l.index()),i=r(),s=a(),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 p(m,g,L,...O){const ee=u();if(g.column+=L,g.offset+=L,d){const le=o?hn(ee.startLoc,g):null,G=rt(m,le,{domain:xi,args:O});d(G)}}function h(m,g,L){m.endLoc=r(),m.currentType=g;const O={type:g};return o&&(O.loc=hn(m.startLoc,m.endLoc)),L!=null&&(O.value=L),O}const _=m=>h(m,13);function v(m,g){return m.currentChar()===g?(m.next(),g):(p(x.EXPECTED_TOKEN,r(),0,g),"")}function k(m){let g="";for(;m.currentPeek()===Le||m.currentPeek()===fe;)g+=m.currentPeek(),m.peek();return g}function E(m){const g=k(m);return m.skipToPeek(),g}function f(m){if(m===Ae)return!1;const g=m.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g===95}function y(m){if(m===Ae)return!1;const g=m.charCodeAt(0);return g>=48&&g<=57}function T(m,g){const{currentType:L}=g;if(L!==2)return!1;k(m);const O=f(m.currentPeek());return m.resetPeek(),O}function S(m,g){const{currentType:L}=g;if(L!==2)return!1;k(m);const O=m.currentPeek()==="-"?m.peek():m.currentPeek(),ee=y(O);return m.resetPeek(),ee}function b(m,g){const{currentType:L}=g;if(L!==2)return!1;k(m);const O=m.currentPeek()===go;return m.resetPeek(),O}function I(m,g){const{currentType:L}=g;if(L!==7)return!1;k(m);const O=m.currentPeek()===".";return m.resetPeek(),O}function N(m,g){const{currentType:L}=g;if(L!==8)return!1;k(m);const O=f(m.currentPeek());return m.resetPeek(),O}function M(m,g){const{currentType:L}=g;if(!(L===7||L===11))return!1;k(m);const O=m.currentPeek()===":";return m.resetPeek(),O}function U(m,g){const{currentType:L}=g;if(L!==9)return!1;const O=()=>{const le=m.currentPeek();return le==="{"?f(m.peek()):le==="@"||le==="|"||le===":"||le==="."||le===Le||!le?!1:le===fe?(m.peek(),O()):ge(m,!1)},ee=O();return m.resetPeek(),ee}function Q(m){k(m);const g=m.currentPeek()==="|";return m.resetPeek(),g}function ge(m,g=!0){const L=(ee=!1,le="")=>{const G=m.currentPeek();return G==="{"||G==="@"||!G?ee:G==="|"?!(le===Le||le===fe):G===Le?(m.peek(),L(!0,Le)):G===fe?(m.peek(),L(!0,fe)):!0},O=L();return g&&m.resetPeek(),O}function Z(m,g){const L=m.currentChar();return L===Ae?Ae:g(L)?(m.next(),L):null}function Me(m){const g=m.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g>=48&&g<=57||g===95||g===36}function Je(m){return Z(m,Me)}function P(m){const g=m.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g>=48&&g<=57||g===95||g===36||g===45}function A(m){return Z(m,P)}function H(m){const g=m.charCodeAt(0);return g>=48&&g<=57}function R(m){return Z(m,H)}function Ie(m){const g=m.charCodeAt(0);return g>=48&&g<=57||g>=65&&g<=70||g>=97&&g<=102}function me(m){return Z(m,Ie)}function He(m){let g="",L="";for(;g=R(m);)L+=g;return L}function Zt(m){let g="";for(;;){const L=m.currentChar();if(L==="{"||L==="}"||L==="@"||L==="|"||!L)break;if(L===Le||L===fe)if(ge(m))g+=L,m.next();else{if(Q(m))break;g+=L,m.next()}else g+=L,m.next()}return g}function Jt(m){E(m);let g="",L="";for(;g=A(m);)L+=g;const O=m.currentChar();if(O&&O!=="}"&&O!==Ae&&O!==Le&&O!==fe&&O!==" "){const ee=vt(m);return p(x.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,L+ee),L+ee}return m.currentChar()===Ae&&p(x.UNTERMINATED_CLOSING_BRACE,r(),0),L}function Qt(m){E(m);let g="";return m.currentChar()==="-"?(m.next(),g+=`-${He(m)}`):g+=He(m),m.currentChar()===Ae&&p(x.UNTERMINATED_CLOSING_BRACE,r(),0),g}function en(m){return m!==go&&m!==fe}function to(m){E(m),v(m,"'");let g="",L="";for(;g=Z(m,en);)g==="\\"?L+=tn(m):L+=g;const O=m.currentChar();return O===fe||O===Ae?(p(x.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),O===fe&&(m.next(),v(m,"'")),L):(v(m,"'"),L)}function tn(m){const g=m.currentChar();switch(g){case"\\":case"'":return m.next(),`\\${g}`;case"u":return _t(m,g,4);case"U":return _t(m,g,6);default:return p(x.UNKNOWN_ESCAPE_SEQUENCE,r(),0,g),""}}function _t(m,g,L){v(m,g);let O="";for(let ee=0;ee<L;ee++){const le=me(m);if(!le){p(x.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${g}${O}${m.currentChar()}`);break}O+=le}return`\\${g}${O}`}function nn(m){return m!=="{"&&m!=="}"&&m!==Le&&m!==fe}function vt(m){E(m);let g="",L="";for(;g=Z(m,nn);)L+=g;return L}function on(m){let g="",L="";for(;g=Je(m);)L+=g;return L}function ln(m){const g=L=>{const O=m.currentChar();return O==="{"||O==="@"||O==="|"||O==="("||O===")"||!O||O===Le?L:(L+=O,m.next(),g(L))};return g("")}function st(m){E(m);const g=v(m,"|");return E(m),g}function ct(m,g){let L=null;switch(m.currentChar()){case"{":return g.braceNest>=1&&p(x.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),m.next(),L=h(g,2,"{"),E(m),g.braceNest++,L;case"}":return g.braceNest>0&&g.currentType===2&&p(x.EMPTY_PLACEHOLDER,r(),0),m.next(),L=h(g,3,"}"),g.braceNest--,g.braceNest>0&&E(m),g.inLinked&&g.braceNest===0&&(g.inLinked=!1),L;case"@":return g.braceNest>0&&p(x.UNTERMINATED_CLOSING_BRACE,r(),0),L=ze(m,g)||_(g),g.braceNest=0,L;default:{let ee=!0,le=!0,G=!0;if(Q(m))return g.braceNest>0&&p(x.UNTERMINATED_CLOSING_BRACE,r(),0),L=h(g,1,st(m)),g.braceNest=0,g.inLinked=!1,L;if(g.braceNest>0&&(g.currentType===4||g.currentType===5||g.currentType===6))return p(x.UNTERMINATED_CLOSING_BRACE,r(),0),g.braceNest=0,ut(m,g);if(ee=T(m,g))return L=h(g,4,Jt(m)),E(m),L;if(le=S(m,g))return L=h(g,5,Qt(m)),E(m),L;if(G=b(m,g))return L=h(g,6,to(m)),E(m),L;if(!ee&&!le&&!G)return L=h(g,12,vt(m)),p(x.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,L.value),E(m),L;break}}return L}function ze(m,g){const{currentType:L}=g;let O=null;const ee=m.currentChar();switch((L===7||L===8||L===11||L===9)&&(ee===fe||ee===Le)&&p(x.INVALID_LINKED_FORMAT,r(),0),ee){case"@":return m.next(),O=h(g,7,"@"),g.inLinked=!0,O;case".":return E(m),m.next(),h(g,8,".");case":":return E(m),m.next(),h(g,9,":");default:return Q(m)?(O=h(g,1,st(m)),g.braceNest=0,g.inLinked=!1,O):I(m,g)||M(m,g)?(E(m),ze(m,g)):N(m,g)?(E(m),h(g,11,on(m))):U(m,g)?(E(m),ee==="{"?ct(m,g)||O:h(g,10,ln(m))):(L===7&&p(x.INVALID_LINKED_FORMAT,r(),0),g.braceNest=0,g.inLinked=!1,ut(m,g))}}function ut(m,g){let L={type:13};if(g.braceNest>0)return ct(m,g)||_(g);if(g.inLinked)return ze(m,g)||_(g);switch(m.currentChar()){case"{":return ct(m,g)||_(g);case"}":return p(x.UNBALANCED_CLOSING_BRACE,r(),0),m.next(),h(g,3,"}");case"@":return ze(m,g)||_(g);default:{if(Q(m))return L=h(g,1,st(m)),g.braceNest=0,g.inLinked=!1,L;if(ge(m))return h(g,0,Zt(m));break}}return L}function rn(){const{currentType:m,offset:g,startLoc:L,endLoc:O}=c;return c.lastType=m,c.lastOffset=g,c.lastStartLoc=L,c.lastEndLoc=O,c.offset=a(),c.startLoc=r(),l.currentChar()===Ae?h(c,13):ut(l,c)}return{nextToken:rn,currentOffset:a,currentPosition:r,context:u}}const Ui="parser",Hi=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function zi(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 Wi(t={}){const n=t.location!==!1,{onError:o}=t;function l(f,y,T,S,...b){const I=f.currentPosition();if(I.offset+=S,I.column+=S,o){const N=n?hn(T,I):null,M=rt(y,N,{domain:Ui,args:b});o(M)}}function a(f,y,T){const S={type:f};return n&&(S.start=y,S.end=y,S.loc={start:T,end:T}),S}function r(f,y,T,S){n&&(f.end=y,f.loc&&(f.loc.end=T))}function i(f,y){const T=f.context(),S=a(3,T.offset,T.startLoc);return S.value=y,r(S,f.currentOffset(),f.currentPosition()),S}function s(f,y){const T=f.context(),{lastOffset:S,lastStartLoc:b}=T,I=a(5,S,b);return I.index=parseInt(y,10),f.nextToken(),r(I,f.currentOffset(),f.currentPosition()),I}function c(f,y){const T=f.context(),{lastOffset:S,lastStartLoc:b}=T,I=a(4,S,b);return I.key=y,f.nextToken(),r(I,f.currentOffset(),f.currentPosition()),I}function u(f,y){const T=f.context(),{lastOffset:S,lastStartLoc:b}=T,I=a(9,S,b);return I.value=y.replace(Hi,zi),f.nextToken(),r(I,f.currentOffset(),f.currentPosition()),I}function d(f){const y=f.nextToken(),T=f.context(),{lastOffset:S,lastStartLoc:b}=T,I=a(8,S,b);return y.type!==11?(l(f,x.UNEXPECTED_EMPTY_LINKED_MODIFIER,T.lastStartLoc,0),I.value="",r(I,S,b),{nextConsumeToken:y,node:I}):(y.value==null&&l(f,x.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,Te(y)),I.value=y.value||"",r(I,f.currentOffset(),f.currentPosition()),{node:I})}function p(f,y){const T=f.context(),S=a(7,T.offset,T.startLoc);return S.value=y,r(S,f.currentOffset(),f.currentPosition()),S}function h(f){const y=f.context(),T=a(6,y.offset,y.startLoc);let S=f.nextToken();if(S.type===8){const b=d(f);T.modifier=b.node,S=b.nextConsumeToken||f.nextToken()}switch(S.type!==9&&l(f,x.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Te(S)),S=f.nextToken(),S.type===2&&(S=f.nextToken()),S.type){case 10:S.value==null&&l(f,x.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Te(S)),T.key=p(f,S.value||"");break;case 4:S.value==null&&l(f,x.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Te(S)),T.key=c(f,S.value||"");break;case 5:S.value==null&&l(f,x.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Te(S)),T.key=s(f,S.value||"");break;case 6:S.value==null&&l(f,x.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Te(S)),T.key=u(f,S.value||"");break;default:{l(f,x.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const b=f.context(),I=a(7,b.offset,b.startLoc);return I.value="",r(I,b.offset,b.startLoc),T.key=I,r(T,b.offset,b.startLoc),{nextConsumeToken:S,node:T}}}return r(T,f.currentOffset(),f.currentPosition()),{node:T}}function _(f){const y=f.context(),T=y.currentType===1?f.currentOffset():y.offset,S=y.currentType===1?y.endLoc:y.startLoc,b=a(2,T,S);b.items=[];let I=null;do{const U=I||f.nextToken();switch(I=null,U.type){case 0:U.value==null&&l(f,x.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Te(U)),b.items.push(i(f,U.value||""));break;case 5:U.value==null&&l(f,x.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Te(U)),b.items.push(s(f,U.value||""));break;case 4:U.value==null&&l(f,x.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Te(U)),b.items.push(c(f,U.value||""));break;case 6:U.value==null&&l(f,x.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Te(U)),b.items.push(u(f,U.value||""));break;case 7:{const Q=h(f);b.items.push(Q.node),I=Q.nextConsumeToken||null;break}}}while(y.currentType!==13&&y.currentType!==1);const N=y.currentType===1?y.lastOffset:f.currentOffset(),M=y.currentType===1?y.lastEndLoc:f.currentPosition();return r(b,N,M),b}function v(f,y,T,S){const b=f.context();let I=S.items.length===0;const N=a(1,y,T);N.cases=[],N.cases.push(S);do{const M=_(f);I||(I=M.items.length===0),N.cases.push(M)}while(b.currentType!==13);return I&&l(f,x.MUST_HAVE_MESSAGES_IN_PLURAL,T,0),r(N,f.currentOffset(),f.currentPosition()),N}function k(f){const y=f.context(),{offset:T,startLoc:S}=y,b=_(f);return y.currentType===13?b:v(f,T,S,b)}function E(f){const y=Fi(f,ue({},t)),T=y.context(),S=a(0,T.offset,T.startLoc);return n&&S.loc&&(S.loc.source=f),S.body=k(y),t.onCacheKey&&(S.cacheKey=t.onCacheKey(f)),T.currentType!==13&&l(y,x.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,f[T.offset]||""),r(S,y.currentOffset(),y.currentPosition()),S}return{parse:E}}function Te(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 ji(t,n={}){const o={ast:t,helpers:new Set};return{context:()=>o,helper:r=>(o.helpers.add(r),r)}}function ho(t,n){for(let o=0;o<t.length;o++)Pn(t[o],n)}function Pn(t,n){switch(t.type){case 1:ho(t.cases,n),n.helper("plural");break;case 2:ho(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 Gi(t,n={}){const o=ji(t);o.helper("normalize"),t.body&&Pn(t.body,o);const l=o.context();t.helpers=Array.from(l.helpers)}function Ki(t){const n=t.body;return n.type===2?Eo(n):n.cases.forEach(o=>Eo(o)),t}function Eo(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=On(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 Yi="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 rt(x.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Yi,args:[t.type]})}delete t.type}const qi="parser";function Xi(t,n){const{filename:o,breakLineCode:l,needIndent:a}=n,r=n.location!==!1,i={filename:o,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:l,needIndent:a,indentLevel:0};r&&t.loc&&(i.source=t.loc.source);const s=()=>i;function c(k,E){i.code+=k}function u(k,E=!0){const f=E?l:"";c(a?f+" ".repeat(k):f)}function d(k=!0){const E=++i.indentLevel;k&&u(E)}function p(k=!0){const E=--i.indentLevel;k&&u(E)}function h(){u(i.indentLevel)}return{context:s,push:c,indent:d,deindent:p,newline:h,helper:k=>`_${k}`,needIndent:()=>i.needIndent}}function Zi(t,n){const{helper:o}=t;t.push(`${o("linked")}(`),lt(t,n.key),n.modifier?(t.push(", "),lt(t,n.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function Ji(t,n){const{helper:o,needIndent:l}=t;t.push(`${o("normalize")}([`),t.indent(l());const a=n.items.length;for(let r=0;r<a&&(lt(t,n.items[r]),r!==a-1);r++)t.push(", ");t.deindent(l()),t.push("])")}function Qi(t,n){const{helper:o,needIndent:l}=t;if(n.cases.length>1){t.push(`${o("plural")}([`),t.indent(l());const a=n.cases.length;for(let r=0;r<a&&(lt(t,n.cases[r]),r!==a-1);r++)t.push(", ");t.deindent(l()),t.push("])")}}function es(t,n){n.body?lt(t,n.body):t.push("null")}function lt(t,n){const{helper:o}=t;switch(n.type){case 0:es(t,n);break;case 1:Qi(t,n);break;case 2:Ji(t,n);break;case 6:Zi(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 rt(x.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:qi,args:[n.type]})}}const ts=(t,n={})=>{const o=$(n.mode)?n.mode:"normal",l=$(n.filename)?n.filename:"message.intl";n.sourceMap;const a=n.breakLineCode!=null?n.breakLineCode:o==="arrow"?";":`
12
12
  `,r=n.needIndent?n.needIndent:o!=="arrow",i=t.helpers||[],s=Xi(t,{filename:l,breakLineCode:a,needIndent:r});s.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(r),i.length>0&&(s.push(`const { ${On(i.map(d=>`${d}: _${d}`),", ")} } = ctx`),s.newline()),s.push("return "),lt(s,t),s.deindent(r),s.push("}"),delete t.helpers;const{code:c,map:u}=s.context();return{ast:t,code:c,map:u?u.toJSON():void 0}};function ns(t,n={}){const o=ue({},n),l=!!o.jit,a=!!o.minify,r=o.optimize==null?!0:o.optimize,s=Wi(o).parse(t);return l?(r&&Ki(s),a&&nt(s),{ast:s,code:""}):(Gi(s,o),ts(s,o))}/*!
13
13
  * core-base v11.1.12
14
14
  * (c) 2025 kazuya kawaguchi
15
15
  * Released under the MIT License.
16
- */function os(){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 nl=["b","body"];function ls(t){return Fe(t,nl)}const ol=["c","cases"];function rs(t){return Fe(t,ol,[])}const ll=["s","static"];function as(t){return Fe(t,ll)}const rl=["i","items"];function is(t){return Fe(t,rl,[])}const al=["t","type"];function Rn(t){return Fe(t,al)}const il=["v","value"];function wt(t,n){const o=Fe(t,il);if(o!=null)return o;throw mt(n)}const sl=["m","modifier"];function ss(t){return Fe(t,sl)}const cl=["k","key"];function cs(t){const n=Fe(t,cl);if(n)return n;throw mt(6)}function Fe(t,n,o){for(let l=0;l<n.length;l++){const a=n[l];if(be(t,a)&&t[a]!=null)return t[a]}return o}const ul=[...nl,...ol,...ll,...rl,...cl,...sl,...il,...al];function mt(t){return new Error(`unhandled node type: ${t}`)}function cn(t){return o=>us(o,t)}function us(t,n){const o=ls(n);if(o==null)throw mt(0);if(Rn(o)===1){const r=rs(o);return t.plural(r.reduce((i,s)=>[...i,yo(t,s)],[]))}else return yo(t,o)}function yo(t,n){const o=as(n);if(o!=null)return t.type==="text"?o:t.normalize([o]);{const l=is(n).reduce((a,r)=>[...a,En(t,r)],[]);return t.normalize(l)}}function En(t,n){const o=Rn(n);switch(o){case 3:return wt(n,o);case 9:return wt(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 mt(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 mt(o)}case 6:{const l=n,a=ss(l),r=cs(l);return t.linked(En(t,r),a?En(t,a):void 0,t.type)}case 7:return wt(n,o);case 8:return wt(n,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const ds="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function ms(t,n){n&&Di(t)&&Ve(zt(ds,{source:t}))}const fs=t=>t;let Lt=X();function ps(t,n={}){let o=!1;const l=n.onError||Ii;return n.onError=a=>{o=!0,l(a)},{...ns(t,n),detectError:o}}function gs(t,n){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&$(t)){const o=ae(n.warnHtmlMessage)?n.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&ms(t,o);const a=(n.onCacheKey||fs)(t),r=Lt[a];if(r)return r;const{ast:i,detectError:s}=ps(t,{...n,location:process.env.NODE_ENV!=="production",jit:!0}),c=cn(i);return s?c:Lt[a]=c}else{if(process.env.NODE_ENV!=="production"&&!we(t))return Ve(`the message that is resolve with key '${n.key}' is not supported for jit compilation`),(()=>t);const o=t.cacheKey;if(o){const l=Lt[o];return l||(Lt[o]=cn(t))}else return cn(t)}}let ft=null;function hs(t){ft=t}function Es(t,n,o){ft&&ft.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:n,meta:o})}const ys=ks("function:translate");function ks(t){return n=>ft&&ft.emit(t,n)}const pe={INVALID_ARGUMENT:Bi,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},_s=24;function $e(t){return rt(t,null,process.env.NODE_ENV!=="production"?{messages:vs}:void 0)}const vs={[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?ko(n.locale):ko(t.locale)}let un;function ko(t){if($(t))return t;if(te(t)){if(t.resolvedOnce&&un!=null)return un;if(t.constructor.name==="Function"){const n=t();if(Si(n))throw $e(pe.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return un=n}else throw $e(pe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw $e(pe.NOT_SUPPORT_LOCALE_TYPE)}function Cs(t,n,o){return[...new Set([o,...ie(n)?n:Y(n)?Object.keys(n):$(n)?[n]:[o]])]}function dl(t,n,o){const l=$(o)?o:$t,a=t;a.__localeChainCache||(a.__localeChainCache=new Map);let r=a.__localeChainCache.get(l);if(!r){r=[];let i=[o];for(;ie(i);)i=_o(r,i,n);const s=ie(n)||!K(n)?n:n.default?n.default:null;i=$(s)?[s]:s,ie(i)&&_o(r,i,!1),a.__localeChainCache.set(l,r)}return r}function _o(t,n,o){let l=!0;for(let a=0;a<n.length&&ae(l);a++){const r=n[a];$(r)&&(l=Ns(t,n[a],o))}return l}function Ns(t,n,o){let l;const a=n.split("-");do{const r=a.join("-");l=Ss(t,r,o),a.splice(-1,1)}while(a.length&&l===!0);return l}function Ss(t,n,o){let l=!1;if(!t.includes(n)&&(l=!0,n)){l=n[n.length-1]!=="!";const a=n.replace(/!/g,"");t.push(a),(ie(o)||K(o))&&o[a]&&(l=o[a])}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 bs=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ws(t){return bs.test(t)}function Ls(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 Ts(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 Bs(t){const n=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:ws(n)?Ls(n):"*"+n}function Vs(t){const n=[];let o=-1,l=0,a=0,r,i,s,c,u,d,p;const h=[];h[0]=()=>{i===void 0?i=s:i+=s},h[1]=()=>{i!==void 0&&(n.push(i),i=void 0)},h[2]=()=>{h[0](),a++},h[3]=()=>{if(a>0)a--,l=4,h[0]();else{if(a=0,i===void 0||(i=Bs(i),i===!1))return!1;h[1]()}};function _(){const v=t[o+1];if(l===5&&v==="'"||l===6&&v==='"')return o++,s="\\"+v,h[0](),!0}for(;l!==null;)if(o++,r=t[o],!(r==="\\"&&_())){if(c=Ts(r),p=Ue[l],u=p[c]||p.l||8,u===8||(l=u[0],u[1]!==void 0&&(d=h[u[1]],d&&(s=r,d()===!1))))return;if(l===7)return n}}const vo=new Map;function Is(t,n){return Y(t)?t[n]:null}function As(t,n){if(!Y(t))return null;let o=vo.get(n);if(o||(o=Vs(n),o&&vo.set(n,o)),!o)return null;const l=o.length;let a=t,r=0;for(;r<l;){const i=o[r];if(ul.includes(i)&&we(a))return null;const s=a[i];if(s===void 0||te(a))return null;a=s,r++}return a}const Ee={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},Ds=8,$s={[Ee.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Ee.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Ee.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Ee.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Ee.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Ee.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Ee.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($s[t],...n)}const Os="11.1.12",jt=-1,$t="en-US",Ot="",Co=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function Ps(){return{upper:(t,n)=>n==="text"&&$(t)?t.toUpperCase():n==="vnode"&&Y(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,n)=>n==="text"&&$(t)?t.toLowerCase():n==="vnode"&&Y(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,n)=>n==="text"&&$(t)?Co(t):n==="vnode"&&Y(t)&&"__v_isVNode"in t?Co(t.children):t}}let ml;function Rs(t){ml=t}let fl;function Ms(t){fl=t}let pl;function xs(t){pl=t}let gl=null;const Fs=t=>{gl=t},Us=()=>gl;let hl=null;const No=t=>{hl=t},Hs=()=>hl;let So=0;function zs(t={}){const n=te(t.onWarn)?t.onWarn:Ve,o=$(t.version)?t.version:Os,l=$(t.locale)||te(t.locale)?t.locale:$t,a=te(l)?$t:l,r=ie(t.fallbackLocale)||K(t.fallbackLocale)||$(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:a,i=K(t.messages)?t.messages:dn(a),s=K(t.datetimeFormats)?t.datetimeFormats:dn(a),c=K(t.numberFormats)?t.numberFormats:dn(a),u=ue(X(),t.modifiers,Ps()),d=t.pluralRules||X(),p=te(t.missing)?t.missing:null,h=ae(t.missingWarn)||Dt(t.missingWarn)?t.missingWarn:!0,_=ae(t.fallbackWarn)||Dt(t.fallbackWarn)?t.fallbackWarn:!0,v=!!t.fallbackFormat,k=!!t.unresolving,E=te(t.postTranslation)?t.postTranslation:null,f=K(t.processor)?t.processor:null,y=ae(t.warnHtmlMessage)?t.warnHtmlMessage:!0,T=!!t.escapeParameter,S=te(t.messageCompiler)?t.messageCompiler:ml;process.env.NODE_ENV!=="production"&&te(t.messageCompiler)&&hi(Xe(Ee.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const b=te(t.messageResolver)?t.messageResolver:fl||Is,I=te(t.localeFallbacker)?t.localeFallbacker:pl||Cs,N=Y(t.fallbackContext)?t.fallbackContext:void 0,M=t,F=Y(M.__datetimeFormatters)?M.__datetimeFormatters:new Map,Q=Y(M.__numberFormatters)?M.__numberFormatters:new Map,ge=Y(M.__meta)?M.__meta:{};So++;const Z={version:o,cid:So,locale:l,fallbackLocale:r,messages:i,modifiers:u,pluralRules:d,missing:p,missingWarn:h,fallbackWarn:_,fallbackFormat:v,unresolving:k,postTranslation:E,processor:f,warnHtmlMessage:y,escapeParameter:T,messageCompiler:S,messageResolver:b,localeFallbacker:I,fallbackContext:N,onWarn:n,__meta:ge};return Z.datetimeFormats=s,Z.numberFormats=c,Z.__datetimeFormatters=F,Z.__numberFormatters=Q,process.env.NODE_ENV!=="production"&&(Z.__v_emitter=M.__v_emitter!=null?M.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Es(Z,o,ge),Z}const dn=t=>({[t]:X()});function Gt(t,n){return t instanceof RegExp?t.test(n):t}function El(t,n){return t instanceof RegExp?t.test(n):t}function xn(t,n,o,l,a){const{missing:r,onWarn:i}=t;if(process.env.NODE_ENV!=="production"){const s=t.__v_emitter;s&&s.emit("missing",{locale:o,key:n,type:a,groupId:`${a}:${n}`})}if(r!==null){const s=r(t,o,n,a);return $(s)?s:n}else return process.env.NODE_ENV!=="production"&&El(l,n)&&i(Xe(Ee.NOT_FOUND_KEY,{key:n,locale:o})),n}function dt(t,n,o){const l=t;l.__localeChainCache=new Map,t.localeFallbacker(t,o,n)}function yl(t,n){return t===n?!1:t.split("-")[0]===n.split("-")[0]}function Ws(t,n){const o=n.indexOf(t);if(o===-1)return!1;for(let l=o+1;l<n.length;l++)if(yl(t,n[l]))return!0;return!1}const bo=typeof Intl<"u",kl={dateTimeFormat:bo&&typeof Intl.DateTimeFormat<"u",numberFormat:bo&&typeof Intl.NumberFormat<"u"};function wo(t,...n){const{datetimeFormats:o,unresolving:l,fallbackLocale:a,onWarn:r,localeFallbacker:i}=t,{__datetimeFormatters:s}=t;if(process.env.NODE_ENV!=="production"&&!kl.dateTimeFormat)return r(Xe(Ee.CANNOT_FORMAT_DATE)),Ot;const[c,u,d,p]=yn(...n),h=ae(d.missingWarn)?d.missingWarn:t.missingWarn,_=ae(d.fallbackWarn)?d.fallbackWarn:t.fallbackWarn,v=!!d.part,k=Mn(t,d),E=i(t,a,k);if(!$(c)||c==="")return new Intl.DateTimeFormat(k,p).format(u);let f={},y,T=null,S=k,b=null;const I="datetime format";for(let F=0;F<E.length;F++){if(y=b=E[F],process.env.NODE_ENV!=="production"&&k!==y&&Gt(_,c)&&r(Xe(Ee.FALLBACK_TO_DATE_FORMAT,{key:c,target:y})),process.env.NODE_ENV!=="production"&&k!==y){const Q=t.__v_emitter;Q&&Q.emit("fallback",{type:I,key:c,from:S,to:b,groupId:`${I}:${c}`})}if(f=o[y]||{},T=f[c],K(T))break;xn(t,c,y,h,I),S=b}if(!K(T)||!$(y))return l?jt:c;let N=`${y}__${c}`;Wt(p)||(N=`${N}__${JSON.stringify(p)}`);let M=s.get(N);return M||(M=new Intl.DateTimeFormat(y,ue({},T,p)),s.set(N,M)),v?M.formatToParts(u):M.format(u)}const _l=["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,a]=t,r=X();let i=X(),s;if($(n)){const c=n.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!c)throw $e(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 $e(pe.INVALID_ISO_DATE_ARGUMENT)}}else if(_i(n)){if(isNaN(n.getTime()))throw $e(pe.INVALID_DATE_ARGUMENT);s=n}else if(ce(n))s=n;else throw $e(pe.INVALID_ARGUMENT);return $(o)?r.key=o:K(o)&&Object.keys(o).forEach(c=>{_l.includes(c)?i[c]=o[c]:r[c]=o[c]}),$(l)?r.locale=l:K(l)&&(i=l),K(a)&&(i=a),[r.key||"",s,r,i]}function Lo(t,n,o){const l=t;for(const a in o){const r=`${n}__${a}`;l.__datetimeFormatters.has(r)&&l.__datetimeFormatters.delete(r)}}function To(t,...n){const{numberFormats:o,unresolving:l,fallbackLocale:a,onWarn:r,localeFallbacker:i}=t,{__numberFormatters:s}=t;if(process.env.NODE_ENV!=="production"&&!kl.numberFormat)return r(Xe(Ee.CANNOT_FORMAT_NUMBER)),Ot;const[c,u,d,p]=kn(...n),h=ae(d.missingWarn)?d.missingWarn:t.missingWarn,_=ae(d.fallbackWarn)?d.fallbackWarn:t.fallbackWarn,v=!!d.part,k=Mn(t,d),E=i(t,a,k);if(!$(c)||c==="")return new Intl.NumberFormat(k,p).format(u);let f={},y,T=null,S=k,b=null;const I="number format";for(let F=0;F<E.length;F++){if(y=b=E[F],process.env.NODE_ENV!=="production"&&k!==y&&Gt(_,c)&&r(Xe(Ee.FALLBACK_TO_NUMBER_FORMAT,{key:c,target:y})),process.env.NODE_ENV!=="production"&&k!==y){const Q=t.__v_emitter;Q&&Q.emit("fallback",{type:I,key:c,from:S,to:b,groupId:`${I}:${c}`})}if(f=o[y]||{},T=f[c],K(T))break;xn(t,c,y,h,I),S=b}if(!K(T)||!$(y))return l?jt:c;let N=`${y}__${c}`;Wt(p)||(N=`${N}__${JSON.stringify(p)}`);let M=s.get(N);return M||(M=new Intl.NumberFormat(y,ue({},T,p)),s.set(N,M)),v?M.formatToParts(u):M.format(u)}const vl=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function kn(...t){const[n,o,l,a]=t,r=X();let i=X();if(!ce(n))throw $e(pe.INVALID_ARGUMENT);const s=n;return $(o)?r.key=o:K(o)&&Object.keys(o).forEach(c=>{vl.includes(c)?i[c]=o[c]:r[c]=o[c]}),$(l)?r.locale=l:K(l)&&(i=l),K(a)&&(i=a),[r.key||"",s,r,i]}function Bo(t,n,o){const l=t;for(const a in o){const r=`${n}__${a}`;l.__numberFormatters.has(r)&&l.__numberFormatters.delete(r)}}const js=t=>t,Gs=t=>"",Ks="text",Ys=t=>t.length===0?"":On(t),qs=bi;function Vo(t,n){return t=Math.abs(t),n===2?t?t>1?1:0:1:t?Math.min(t,2):0}function Xs(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 Zs(t,n){n.count||(n.count=t),n.n||(n.n=t)}function Js(t={}){const n=t.locale,o=Xs(t),l=Y(t.pluralRules)&&$(n)&&te(t.pluralRules[n])?t.pluralRules[n]:Vo,a=Y(t.pluralRules)&&$(n)&&te(t.pluralRules[n])?Vo:void 0,r=f=>f[l(o,f.length,a)],i=t.list||[],s=f=>i[f],c=t.named||X();ce(t.pluralIndex)&&Zs(o,c);const u=f=>c[f];function d(f,y){const T=te(t.messages)?t.messages(f,!!y):Y(t.messages)?t.messages[f]:!1;return T||(t.parent?t.parent.message(f):Gs)}const p=f=>t.modifiers?t.modifiers[f]:js,h=K(t.processor)&&te(t.processor.normalize)?t.processor.normalize:Ys,_=K(t.processor)&&te(t.processor.interpolate)?t.processor.interpolate:qs,v=K(t.processor)&&$(t.processor.type)?t.processor.type:Ks,E={list:s,named:u,plural:r,linked:(f,...y)=>{const[T,S]=y;let b="text",I="";y.length===1?Y(T)?(I=T.modifier||I,b=T.type||b):$(T)&&(I=T||I):y.length===2&&($(T)&&(I=T||I),$(S)&&(b=S||b));const N=d(f,!0)(E),M=b==="vnode"&&ie(N)&&I?N[0]:N;return I?p(I)(M,b):M},message:d,type:v,interpolate:_,normalize:h,values:ue(X(),i,c)};return E}const Io=()=>"",Se=t=>te(t);function Ao(t,...n){const{fallbackFormat:o,postTranslation:l,unresolving:a,messageCompiler:r,fallbackLocale:i,messages:s}=t,[c,u]=_n(...n),d=ae(u.missingWarn)?u.missingWarn:t.missingWarn,p=ae(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn,h=ae(u.escapeParameter)?u.escapeParameter:t.escapeParameter,_=!!u.resolvedMessage,v=$(u.default)||ae(u.default)?ae(u.default)?r?c:()=>c:u.default:o?r?c:()=>c:null,k=o||v!=null&&($(v)||te(v)),E=Mn(t,u);h&&Qs(u);let[f,y,T]=_?[c,E,s[E]||X()]:Cl(t,c,E,i,p,d),S=f,b=c;if(!_&&!($(S)||we(S)||Se(S))&&k&&(S=v,b=S),!_&&(!($(S)||we(S)||Se(S))||!$(y)))return a?jt:c;if(process.env.NODE_ENV!=="production"&&$(S)&&t.messageCompiler==null)return Ve(`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 N=()=>{I=!0},M=Se(S)?S:Nl(t,c,y,S,b,N);if(I)return S;const F=oc(t,y,T,u),Q=Js(F),ge=ec(t,M,Q);let Z=l?l(ge,c):ge;if(h&&$(Z)&&(Z=Ci(Z)),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const Me={timestamp:Date.now(),key:$(c)?c:Se(S)?S.key:"",locale:y||(Se(S)?S.locale:""),format:$(S)?S:Se(S)?S.source:"",message:Z};Me.meta=ue({},t.__meta,Us()||{}),ys(Me)}return Z}function Qs(t){ie(t.list)?t.list=t.list.map(n=>$(n)?mo(n):n):Y(t.named)&&Object.keys(t.named).forEach(n=>{$(t.named[n])&&(t.named[n]=mo(t.named[n]))})}function Cl(t,n,o,l,a,r){const{messages:i,onWarn:s,messageResolver:c,localeFallbacker:u}=t,d=u(t,l,o);let p=X(),h,_=null,v=o,k=null;const E="translate";for(let f=0;f<d.length;f++){if(h=k=d[f],process.env.NODE_ENV!=="production"&&o!==h&&!yl(o,h)&&Gt(a,n)&&s(Xe(Ee.FALLBACK_TO_TRANSLATE,{key:n,target:h})),process.env.NODE_ENV!=="production"&&o!==h){const b=t.__v_emitter;b&&b.emit("fallback",{type:E,key:n,from:v,to:k,groupId:`${E}:${n}`})}p=i[h]||X();let y=null,T,S;if(process.env.NODE_ENV!=="production"&&Pe&&(y=window.performance.now(),T="intlify-message-resolve-start",S="intlify-message-resolve-end",Ne&&Ne(T)),(_=c(p,n))===null&&(_=p[n]),process.env.NODE_ENV!=="production"&&Pe){const b=window.performance.now(),I=t.__v_emitter;I&&y&&_&&I.emit("message-resolve",{type:"message-resolve",key:n,message:_,time:b-y,groupId:`${E}:${n}`}),T&&S&&Ne&&qe&&(Ne(S),qe("intlify message resolve",T,S))}if($(_)||we(_)||Se(_))break;if(!Ws(h,d)){const b=xn(t,n,h,r,E);b!==n&&(_=b)}v=k}return[_,h,p]}function Nl(t,n,o,l,a,r){const{messageCompiler:i,warnHtmlMessage:s}=t;if(Se(l)){const h=l;return h.locale=h.locale||o,h.key=h.key||n,h}if(i==null){const h=(()=>l);return h.locale=o,h.key=n,h}let c=null,u,d;process.env.NODE_ENV!=="production"&&Pe&&(c=window.performance.now(),u="intlify-message-compilation-start",d="intlify-message-compilation-end",Ne&&Ne(u));const p=i(l,tc(t,o,a,l,s,r));if(process.env.NODE_ENV!=="production"&&Pe){const h=window.performance.now(),_=t.__v_emitter;_&&c&&_.emit("message-compilation",{type:"message-compilation",message:l,time:h-c,groupId:`translate:${n}`}),u&&d&&Ne&&qe&&(Ne(d),qe("intlify message compilation",u,d))}return p.locale=o,p.key=n,p.source=l,p}function ec(t,n,o){let l=null,a,r;process.env.NODE_ENV!=="production"&&Pe&&(l=window.performance.now(),a="intlify-message-evaluation-start",r="intlify-message-evaluation-end",Ne&&Ne(a));const i=n(o);if(process.env.NODE_ENV!=="production"&&Pe){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}`}),a&&r&&Ne&&qe&&(Ne(r),qe("intlify message evaluation",a,r))}return i}function _n(...t){const[n,o,l]=t,a=X();if(!$(n)&&!ce(n)&&!Se(n)&&!we(n))throw $e(pe.INVALID_ARGUMENT);const r=ce(n)?String(n):(Se(n),n);return ce(o)?a.plural=o:$(o)?a.default=o:K(o)&&!Wt(o)?a.named=o:ie(o)&&(a.list=o),ce(l)?a.plural=l:$(l)?a.default=l:K(l)&&ue(a,l),[r,a]}function tc(t,n,o,l,a,r){return{locale:n,key:o,warnHtmlMessage:a,onError:i=>{if(r&&r(i),process.env.NODE_ENV!=="production"){const s=nc(l),c=`Message compilation error: ${i.message}`,u=i.location&&s&&wi(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}
16
+ */function os(){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 nl=["b","body"];function ls(t){return Fe(t,nl)}const ol=["c","cases"];function rs(t){return Fe(t,ol,[])}const ll=["s","static"];function as(t){return Fe(t,ll)}const rl=["i","items"];function is(t){return Fe(t,rl,[])}const al=["t","type"];function Rn(t){return Fe(t,al)}const il=["v","value"];function wt(t,n){const o=Fe(t,il);if(o!=null)return o;throw mt(n)}const sl=["m","modifier"];function ss(t){return Fe(t,sl)}const cl=["k","key"];function cs(t){const n=Fe(t,cl);if(n)return n;throw mt(6)}function Fe(t,n,o){for(let l=0;l<n.length;l++){const a=n[l];if(be(t,a)&&t[a]!=null)return t[a]}return o}const ul=[...nl,...ol,...ll,...rl,...cl,...sl,...il,...al];function mt(t){return new Error(`unhandled node type: ${t}`)}function cn(t){return o=>us(o,t)}function us(t,n){const o=ls(n);if(o==null)throw mt(0);if(Rn(o)===1){const r=rs(o);return t.plural(r.reduce((i,s)=>[...i,yo(t,s)],[]))}else return yo(t,o)}function yo(t,n){const o=as(n);if(o!=null)return t.type==="text"?o:t.normalize([o]);{const l=is(n).reduce((a,r)=>[...a,En(t,r)],[]);return t.normalize(l)}}function En(t,n){const o=Rn(n);switch(o){case 3:return wt(n,o);case 9:return wt(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 mt(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 mt(o)}case 6:{const l=n,a=ss(l),r=cs(l);return t.linked(En(t,r),a?En(t,a):void 0,t.type)}case 7:return wt(n,o);case 8:return wt(n,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const ds="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function ms(t,n){n&&Di(t)&&Ve(zt(ds,{source:t}))}const fs=t=>t;let Lt=X();function ps(t,n={}){let o=!1;const l=n.onError||Ii;return n.onError=a=>{o=!0,l(a)},{...ns(t,n),detectError:o}}function gs(t,n){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&$(t)){const o=ae(n.warnHtmlMessage)?n.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&ms(t,o);const a=(n.onCacheKey||fs)(t),r=Lt[a];if(r)return r;const{ast:i,detectError:s}=ps(t,{...n,location:process.env.NODE_ENV!=="production",jit:!0}),c=cn(i);return s?c:Lt[a]=c}else{if(process.env.NODE_ENV!=="production"&&!we(t))return Ve(`the message that is resolve with key '${n.key}' is not supported for jit compilation`),(()=>t);const o=t.cacheKey;if(o){const l=Lt[o];return l||(Lt[o]=cn(t))}else return cn(t)}}let ft=null;function hs(t){ft=t}function Es(t,n,o){ft&&ft.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:n,meta:o})}const ys=ks("function:translate");function ks(t){return n=>ft&&ft.emit(t,n)}const pe={INVALID_ARGUMENT:Bi,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},_s=24;function $e(t){return rt(t,null,process.env.NODE_ENV!=="production"?{messages:vs}:void 0)}const vs={[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?ko(n.locale):ko(t.locale)}let un;function ko(t){if($(t))return t;if(te(t)){if(t.resolvedOnce&&un!=null)return un;if(t.constructor.name==="Function"){const n=t();if(Si(n))throw $e(pe.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return un=n}else throw $e(pe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw $e(pe.NOT_SUPPORT_LOCALE_TYPE)}function Cs(t,n,o){return[...new Set([o,...ie(n)?n:Y(n)?Object.keys(n):$(n)?[n]:[o]])]}function dl(t,n,o){const l=$(o)?o:$t,a=t;a.__localeChainCache||(a.__localeChainCache=new Map);let r=a.__localeChainCache.get(l);if(!r){r=[];let i=[o];for(;ie(i);)i=_o(r,i,n);const s=ie(n)||!K(n)?n:n.default?n.default:null;i=$(s)?[s]:s,ie(i)&&_o(r,i,!1),a.__localeChainCache.set(l,r)}return r}function _o(t,n,o){let l=!0;for(let a=0;a<n.length&&ae(l);a++){const r=n[a];$(r)&&(l=Ns(t,n[a],o))}return l}function Ns(t,n,o){let l;const a=n.split("-");do{const r=a.join("-");l=Ss(t,r,o),a.splice(-1,1)}while(a.length&&l===!0);return l}function Ss(t,n,o){let l=!1;if(!t.includes(n)&&(l=!0,n)){l=n[n.length-1]!=="!";const a=n.replace(/!/g,"");t.push(a),(ie(o)||K(o))&&o[a]&&(l=o[a])}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 bs=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ws(t){return bs.test(t)}function Ls(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 Ts(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 Bs(t){const n=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:ws(n)?Ls(n):"*"+n}function Vs(t){const n=[];let o=-1,l=0,a=0,r,i,s,c,u,d,p;const h=[];h[0]=()=>{i===void 0?i=s:i+=s},h[1]=()=>{i!==void 0&&(n.push(i),i=void 0)},h[2]=()=>{h[0](),a++},h[3]=()=>{if(a>0)a--,l=4,h[0]();else{if(a=0,i===void 0||(i=Bs(i),i===!1))return!1;h[1]()}};function _(){const v=t[o+1];if(l===5&&v==="'"||l===6&&v==='"')return o++,s="\\"+v,h[0](),!0}for(;l!==null;)if(o++,r=t[o],!(r==="\\"&&_())){if(c=Ts(r),p=Ue[l],u=p[c]||p.l||8,u===8||(l=u[0],u[1]!==void 0&&(d=h[u[1]],d&&(s=r,d()===!1))))return;if(l===7)return n}}const vo=new Map;function Is(t,n){return Y(t)?t[n]:null}function As(t,n){if(!Y(t))return null;let o=vo.get(n);if(o||(o=Vs(n),o&&vo.set(n,o)),!o)return null;const l=o.length;let a=t,r=0;for(;r<l;){const i=o[r];if(ul.includes(i)&&we(a))return null;const s=a[i];if(s===void 0||te(a))return null;a=s,r++}return a}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},Ds=8,$s={[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($s[t],...n)}const Os="11.1.12",jt=-1,$t="en-US",Ot="",Co=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function Ps(){return{upper:(t,n)=>n==="text"&&$(t)?t.toUpperCase():n==="vnode"&&Y(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,n)=>n==="text"&&$(t)?t.toLowerCase():n==="vnode"&&Y(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,n)=>n==="text"&&$(t)?Co(t):n==="vnode"&&Y(t)&&"__v_isVNode"in t?Co(t.children):t}}let ml;function Rs(t){ml=t}let fl;function Ms(t){fl=t}let pl;function xs(t){pl=t}let gl=null;const Fs=t=>{gl=t},Us=()=>gl;let hl=null;const No=t=>{hl=t},Hs=()=>hl;let So=0;function zs(t={}){const n=te(t.onWarn)?t.onWarn:Ve,o=$(t.version)?t.version:Os,l=$(t.locale)||te(t.locale)?t.locale:$t,a=te(l)?$t:l,r=ie(t.fallbackLocale)||K(t.fallbackLocale)||$(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:a,i=K(t.messages)?t.messages:dn(a),s=K(t.datetimeFormats)?t.datetimeFormats:dn(a),c=K(t.numberFormats)?t.numberFormats:dn(a),u=ue(X(),t.modifiers,Ps()),d=t.pluralRules||X(),p=te(t.missing)?t.missing:null,h=ae(t.missingWarn)||Dt(t.missingWarn)?t.missingWarn:!0,_=ae(t.fallbackWarn)||Dt(t.fallbackWarn)?t.fallbackWarn:!0,v=!!t.fallbackFormat,k=!!t.unresolving,E=te(t.postTranslation)?t.postTranslation:null,f=K(t.processor)?t.processor:null,y=ae(t.warnHtmlMessage)?t.warnHtmlMessage:!0,T=!!t.escapeParameter,S=te(t.messageCompiler)?t.messageCompiler:ml;process.env.NODE_ENV!=="production"&&te(t.messageCompiler)&&hi(Xe(he.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const b=te(t.messageResolver)?t.messageResolver:fl||Is,I=te(t.localeFallbacker)?t.localeFallbacker:pl||Cs,N=Y(t.fallbackContext)?t.fallbackContext:void 0,M=t,U=Y(M.__datetimeFormatters)?M.__datetimeFormatters:new Map,Q=Y(M.__numberFormatters)?M.__numberFormatters:new Map,ge=Y(M.__meta)?M.__meta:{};So++;const Z={version:o,cid:So,locale:l,fallbackLocale:r,messages:i,modifiers:u,pluralRules:d,missing:p,missingWarn:h,fallbackWarn:_,fallbackFormat:v,unresolving:k,postTranslation:E,processor:f,warnHtmlMessage:y,escapeParameter:T,messageCompiler:S,messageResolver:b,localeFallbacker:I,fallbackContext:N,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=M.__v_emitter!=null?M.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Es(Z,o,ge),Z}const dn=t=>({[t]:X()});function Gt(t,n){return t instanceof RegExp?t.test(n):t}function El(t,n){return t instanceof RegExp?t.test(n):t}function xn(t,n,o,l,a){const{missing:r,onWarn:i}=t;if(process.env.NODE_ENV!=="production"){const s=t.__v_emitter;s&&s.emit("missing",{locale:o,key:n,type:a,groupId:`${a}:${n}`})}if(r!==null){const s=r(t,o,n,a);return $(s)?s:n}else return process.env.NODE_ENV!=="production"&&El(l,n)&&i(Xe(he.NOT_FOUND_KEY,{key:n,locale:o})),n}function dt(t,n,o){const l=t;l.__localeChainCache=new Map,t.localeFallbacker(t,o,n)}function yl(t,n){return t===n?!1:t.split("-")[0]===n.split("-")[0]}function Ws(t,n){const o=n.indexOf(t);if(o===-1)return!1;for(let l=o+1;l<n.length;l++)if(yl(t,n[l]))return!0;return!1}const bo=typeof Intl<"u",kl={dateTimeFormat:bo&&typeof Intl.DateTimeFormat<"u",numberFormat:bo&&typeof Intl.NumberFormat<"u"};function wo(t,...n){const{datetimeFormats:o,unresolving:l,fallbackLocale:a,onWarn:r,localeFallbacker:i}=t,{__datetimeFormatters:s}=t;if(process.env.NODE_ENV!=="production"&&!kl.dateTimeFormat)return r(Xe(he.CANNOT_FORMAT_DATE)),Ot;const[c,u,d,p]=yn(...n),h=ae(d.missingWarn)?d.missingWarn:t.missingWarn,_=ae(d.fallbackWarn)?d.fallbackWarn:t.fallbackWarn,v=!!d.part,k=Mn(t,d),E=i(t,a,k);if(!$(c)||c==="")return new Intl.DateTimeFormat(k,p).format(u);let f={},y,T=null,S=k,b=null;const I="datetime format";for(let U=0;U<E.length;U++){if(y=b=E[U],process.env.NODE_ENV!=="production"&&k!==y&&Gt(_,c)&&r(Xe(he.FALLBACK_TO_DATE_FORMAT,{key:c,target:y})),process.env.NODE_ENV!=="production"&&k!==y){const Q=t.__v_emitter;Q&&Q.emit("fallback",{type:I,key:c,from:S,to:b,groupId:`${I}:${c}`})}if(f=o[y]||{},T=f[c],K(T))break;xn(t,c,y,h,I),S=b}if(!K(T)||!$(y))return l?jt:c;let N=`${y}__${c}`;Wt(p)||(N=`${N}__${JSON.stringify(p)}`);let M=s.get(N);return M||(M=new Intl.DateTimeFormat(y,ue({},T,p)),s.set(N,M)),v?M.formatToParts(u):M.format(u)}const _l=["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,a]=t,r=X();let i=X(),s;if($(n)){const c=n.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!c)throw $e(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 $e(pe.INVALID_ISO_DATE_ARGUMENT)}}else if(_i(n)){if(isNaN(n.getTime()))throw $e(pe.INVALID_DATE_ARGUMENT);s=n}else if(ce(n))s=n;else throw $e(pe.INVALID_ARGUMENT);return $(o)?r.key=o:K(o)&&Object.keys(o).forEach(c=>{_l.includes(c)?i[c]=o[c]:r[c]=o[c]}),$(l)?r.locale=l:K(l)&&(i=l),K(a)&&(i=a),[r.key||"",s,r,i]}function Lo(t,n,o){const l=t;for(const a in o){const r=`${n}__${a}`;l.__datetimeFormatters.has(r)&&l.__datetimeFormatters.delete(r)}}function To(t,...n){const{numberFormats:o,unresolving:l,fallbackLocale:a,onWarn:r,localeFallbacker:i}=t,{__numberFormatters:s}=t;if(process.env.NODE_ENV!=="production"&&!kl.numberFormat)return r(Xe(he.CANNOT_FORMAT_NUMBER)),Ot;const[c,u,d,p]=kn(...n),h=ae(d.missingWarn)?d.missingWarn:t.missingWarn,_=ae(d.fallbackWarn)?d.fallbackWarn:t.fallbackWarn,v=!!d.part,k=Mn(t,d),E=i(t,a,k);if(!$(c)||c==="")return new Intl.NumberFormat(k,p).format(u);let f={},y,T=null,S=k,b=null;const I="number format";for(let U=0;U<E.length;U++){if(y=b=E[U],process.env.NODE_ENV!=="production"&&k!==y&&Gt(_,c)&&r(Xe(he.FALLBACK_TO_NUMBER_FORMAT,{key:c,target:y})),process.env.NODE_ENV!=="production"&&k!==y){const Q=t.__v_emitter;Q&&Q.emit("fallback",{type:I,key:c,from:S,to:b,groupId:`${I}:${c}`})}if(f=o[y]||{},T=f[c],K(T))break;xn(t,c,y,h,I),S=b}if(!K(T)||!$(y))return l?jt:c;let N=`${y}__${c}`;Wt(p)||(N=`${N}__${JSON.stringify(p)}`);let M=s.get(N);return M||(M=new Intl.NumberFormat(y,ue({},T,p)),s.set(N,M)),v?M.formatToParts(u):M.format(u)}const vl=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function kn(...t){const[n,o,l,a]=t,r=X();let i=X();if(!ce(n))throw $e(pe.INVALID_ARGUMENT);const s=n;return $(o)?r.key=o:K(o)&&Object.keys(o).forEach(c=>{vl.includes(c)?i[c]=o[c]:r[c]=o[c]}),$(l)?r.locale=l:K(l)&&(i=l),K(a)&&(i=a),[r.key||"",s,r,i]}function Bo(t,n,o){const l=t;for(const a in o){const r=`${n}__${a}`;l.__numberFormatters.has(r)&&l.__numberFormatters.delete(r)}}const js=t=>t,Gs=t=>"",Ks="text",Ys=t=>t.length===0?"":On(t),qs=bi;function Vo(t,n){return t=Math.abs(t),n===2?t?t>1?1:0:1:t?Math.min(t,2):0}function Xs(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 Zs(t,n){n.count||(n.count=t),n.n||(n.n=t)}function Js(t={}){const n=t.locale,o=Xs(t),l=Y(t.pluralRules)&&$(n)&&te(t.pluralRules[n])?t.pluralRules[n]:Vo,a=Y(t.pluralRules)&&$(n)&&te(t.pluralRules[n])?Vo:void 0,r=f=>f[l(o,f.length,a)],i=t.list||[],s=f=>i[f],c=t.named||X();ce(t.pluralIndex)&&Zs(o,c);const u=f=>c[f];function d(f,y){const T=te(t.messages)?t.messages(f,!!y):Y(t.messages)?t.messages[f]:!1;return T||(t.parent?t.parent.message(f):Gs)}const p=f=>t.modifiers?t.modifiers[f]:js,h=K(t.processor)&&te(t.processor.normalize)?t.processor.normalize:Ys,_=K(t.processor)&&te(t.processor.interpolate)?t.processor.interpolate:qs,v=K(t.processor)&&$(t.processor.type)?t.processor.type:Ks,E={list:s,named:u,plural:r,linked:(f,...y)=>{const[T,S]=y;let b="text",I="";y.length===1?Y(T)?(I=T.modifier||I,b=T.type||b):$(T)&&(I=T||I):y.length===2&&($(T)&&(I=T||I),$(S)&&(b=S||b));const N=d(f,!0)(E),M=b==="vnode"&&ie(N)&&I?N[0]:N;return I?p(I)(M,b):M},message:d,type:v,interpolate:_,normalize:h,values:ue(X(),i,c)};return E}const Io=()=>"",Se=t=>te(t);function Ao(t,...n){const{fallbackFormat:o,postTranslation:l,unresolving:a,messageCompiler:r,fallbackLocale:i,messages:s}=t,[c,u]=_n(...n),d=ae(u.missingWarn)?u.missingWarn:t.missingWarn,p=ae(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn,h=ae(u.escapeParameter)?u.escapeParameter:t.escapeParameter,_=!!u.resolvedMessage,v=$(u.default)||ae(u.default)?ae(u.default)?r?c:()=>c:u.default:o?r?c:()=>c:null,k=o||v!=null&&($(v)||te(v)),E=Mn(t,u);h&&Qs(u);let[f,y,T]=_?[c,E,s[E]||X()]:Cl(t,c,E,i,p,d),S=f,b=c;if(!_&&!($(S)||we(S)||Se(S))&&k&&(S=v,b=S),!_&&(!($(S)||we(S)||Se(S))||!$(y)))return a?jt:c;if(process.env.NODE_ENV!=="production"&&$(S)&&t.messageCompiler==null)return Ve(`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 N=()=>{I=!0},M=Se(S)?S:Nl(t,c,y,S,b,N);if(I)return S;const U=oc(t,y,T,u),Q=Js(U),ge=ec(t,M,Q);let Z=l?l(ge,c):ge;if(h&&$(Z)&&(Z=Ci(Z)),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const Me={timestamp:Date.now(),key:$(c)?c:Se(S)?S.key:"",locale:y||(Se(S)?S.locale:""),format:$(S)?S:Se(S)?S.source:"",message:Z};Me.meta=ue({},t.__meta,Us()||{}),ys(Me)}return Z}function Qs(t){ie(t.list)?t.list=t.list.map(n=>$(n)?mo(n):n):Y(t.named)&&Object.keys(t.named).forEach(n=>{$(t.named[n])&&(t.named[n]=mo(t.named[n]))})}function Cl(t,n,o,l,a,r){const{messages:i,onWarn:s,messageResolver:c,localeFallbacker:u}=t,d=u(t,l,o);let p=X(),h,_=null,v=o,k=null;const E="translate";for(let f=0;f<d.length;f++){if(h=k=d[f],process.env.NODE_ENV!=="production"&&o!==h&&!yl(o,h)&&Gt(a,n)&&s(Xe(he.FALLBACK_TO_TRANSLATE,{key:n,target:h})),process.env.NODE_ENV!=="production"&&o!==h){const b=t.__v_emitter;b&&b.emit("fallback",{type:E,key:n,from:v,to:k,groupId:`${E}:${n}`})}p=i[h]||X();let y=null,T,S;if(process.env.NODE_ENV!=="production"&&Pe&&(y=window.performance.now(),T="intlify-message-resolve-start",S="intlify-message-resolve-end",Ne&&Ne(T)),(_=c(p,n))===null&&(_=p[n]),process.env.NODE_ENV!=="production"&&Pe){const b=window.performance.now(),I=t.__v_emitter;I&&y&&_&&I.emit("message-resolve",{type:"message-resolve",key:n,message:_,time:b-y,groupId:`${E}:${n}`}),T&&S&&Ne&&qe&&(Ne(S),qe("intlify message resolve",T,S))}if($(_)||we(_)||Se(_))break;if(!Ws(h,d)){const b=xn(t,n,h,r,E);b!==n&&(_=b)}v=k}return[_,h,p]}function Nl(t,n,o,l,a,r){const{messageCompiler:i,warnHtmlMessage:s}=t;if(Se(l)){const h=l;return h.locale=h.locale||o,h.key=h.key||n,h}if(i==null){const h=(()=>l);return h.locale=o,h.key=n,h}let c=null,u,d;process.env.NODE_ENV!=="production"&&Pe&&(c=window.performance.now(),u="intlify-message-compilation-start",d="intlify-message-compilation-end",Ne&&Ne(u));const p=i(l,tc(t,o,a,l,s,r));if(process.env.NODE_ENV!=="production"&&Pe){const h=window.performance.now(),_=t.__v_emitter;_&&c&&_.emit("message-compilation",{type:"message-compilation",message:l,time:h-c,groupId:`translate:${n}`}),u&&d&&Ne&&qe&&(Ne(d),qe("intlify message compilation",u,d))}return p.locale=o,p.key=n,p.source=l,p}function ec(t,n,o){let l=null,a,r;process.env.NODE_ENV!=="production"&&Pe&&(l=window.performance.now(),a="intlify-message-evaluation-start",r="intlify-message-evaluation-end",Ne&&Ne(a));const i=n(o);if(process.env.NODE_ENV!=="production"&&Pe){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}`}),a&&r&&Ne&&qe&&(Ne(r),qe("intlify message evaluation",a,r))}return i}function _n(...t){const[n,o,l]=t,a=X();if(!$(n)&&!ce(n)&&!Se(n)&&!we(n))throw $e(pe.INVALID_ARGUMENT);const r=ce(n)?String(n):(Se(n),n);return ce(o)?a.plural=o:$(o)?a.default=o:K(o)&&!Wt(o)?a.named=o:ie(o)&&(a.list=o),ce(l)?a.plural=l:$(l)?a.default=l:K(l)&&ue(a,l),[r,a]}function tc(t,n,o,l,a,r){return{locale:n,key:o,warnHtmlMessage:a,onError:i=>{if(r&&r(i),process.env.NODE_ENV!=="production"){const s=nc(l),c=`Message compilation error: ${i.message}`,u=i.location&&s&&wi(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}
17
17
  ${u}`:c)}else throw i},onCacheKey:i=>yi(n,o,i)}}function nc(t){if($(t))return t;if(t.loc&&t.loc.source)return t.loc.source}function oc(t,n,o,l){const{modifiers:a,pluralRules:r,messageResolver:i,fallbackLocale:s,fallbackWarn:c,missingWarn:u,fallbackContext:d}=t,h={locale:n,modifiers:a,pluralRules:r,messages:(_,v)=>{let k=i(o,_);if(k==null&&(d||v)){const[,,E]=Cl(d||t,_,n,s,c,u);k=i(E,_)}if($(k)||we(k)){let E=!1;const y=Nl(t,_,n,k,_,()=>{E=!0});return E?Io:y}else return Se(k)?k:Io}};return t.processor&&(h.processor=t.processor),l.list&&(h.list=l.list),l.named&&(h.named=l.named),ce(l.plural)&&(h.pluralIndex=l.plural),h}os();/*!
18
18
  * vue-i18n v11.1.12
19
19
  * (c) 2025 kazuya kawaguchi
20
20
  * Released under the MIT License.
21
21
  */const lc="11.1.12";function rc(){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:_s,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 pt(t,...n){return rt(t,null,process.env.NODE_ENV!=="production"?{messages:ac,args:n}:void 0)}const ac={[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"},vn=Re("__translateVNode"),Cn=Re("__datetimeParts"),Nn=Re("__numberParts"),Sn=Re("__enableEmitter"),bn=Re("__disableEmitter"),ic=Re("__setPluralRules"),Sl=Re("__injectWithOption"),wn=Re("__dispose"),Be={FALLBACK_TO_ROOT:Ds,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13},sc={[Be.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Be.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Be.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Be.DEPRECATE_LEGACY_MODE]:`Legacy API mode has been deprecated in v11. Use Composition API mode instead.
22
- About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html`,[Be.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]:"'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",[Be.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(sc[t],...n)}function gt(t){if(!Y(t)||we(t))return t;for(const n in t)if(be(t,n))if(!n.includes("."))Y(t[n])&&gt(t[n]);else{const o=n.split("."),l=o.length-1;let a=t,r=!1;for(let i=0;i<l;i++){if(o[i]==="__proto__")throw new Error(`unsafe key: ${o[i]}`);if(o[i]in a||(a[o[i]]=X()),!Y(a[o[i]])){process.env.NODE_ENV!=="production"&&Ve(Pt(Be.IGNORE_OBJ_FLATTEN,{key:o[i]})),r=!0;break}a=a[o[i]]}if(r||(we(a)?ul.includes(o[l])||delete t[n]:(a[o[l]]=t[n],delete t[n])),!we(a)){const i=a[o[l]];Y(i)&&gt(i)}}return t}function bl(t,n){const{messages:o,__i18n:l,messageResolver:a,flatJson:r}=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 $(s)&&It(JSON.parse(s),i)}),a==null&&r)for(const s in i)be(i,s)&&gt(i[s]);return i}function wl(t){return t.type}function cc(t,n,o){let l=Y(n.messages)?n.messages:X();"__i18nGlobal"in o&&(l=bl(t.locale.value,{messages:l,__i18n:o.__i18nGlobal}));const a=Object.keys(l);a.length&&a.forEach(r=>{t.mergeLocaleMessage(r,l[r])});{if(Y(n.datetimeFormats)){const r=Object.keys(n.datetimeFormats);r.length&&r.forEach(i=>{t.mergeDateTimeFormat(i,n.datetimeFormats[i])})}if(Y(n.numberFormats)){const r=Object.keys(n.numberFormats);r.length&&r.forEach(i=>{t.mergeNumberFormat(i,n.numberFormats[i])})}}}function Do(t){return e.createVNode(e.Text,null,t,0)}const $o="__INTLIFY_META__",Oo=()=>[],uc=()=>!1;let Po=0;function Ro(t){return((n,o,l,a)=>t(o,l,e.getCurrentInstance()||void 0,a))}const dc=()=>{const t=e.getCurrentInstance();let n=null;return t&&(n=wl(t)[$o])?{[$o]:n}:null};function mc(t={}){const{__root:n,__injectWithOption:o}=t,l=n===void 0,a=t.flatJson,r=Pe?e.ref:e.shallowRef;let i=ae(t.inheritLocale)?t.inheritLocale:!0;const s=r(n&&i?n.locale.value:$(t.locale)?t.locale:$t),c=r(n&&i?n.fallbackLocale.value:$(t.fallbackLocale)||ie(t.fallbackLocale)||K(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:s.value),u=r(bl(s.value,t)),d=r(K(t.datetimeFormats)?t.datetimeFormats:{[s.value]:{}}),p=r(K(t.numberFormats)?t.numberFormats:{[s.value]:{}});let h=n?n.missingWarn:ae(t.missingWarn)||Dt(t.missingWarn)?t.missingWarn:!0,_=n?n.fallbackWarn:ae(t.fallbackWarn)||Dt(t.fallbackWarn)?t.fallbackWarn:!0,v=n?n.fallbackRoot:ae(t.fallbackRoot)?t.fallbackRoot:!0,k=!!t.fallbackFormat,E=te(t.missing)?t.missing:null,f=te(t.missing)?Ro(t.missing):null,y=te(t.postTranslation)?t.postTranslation:null,T=n?n.warnHtmlMessage:ae(t.warnHtmlMessage)?t.warnHtmlMessage:!0,S=!!t.escapeParameter;const b=n?n.modifiers:K(t.modifiers)?t.modifiers:{};let I=t.pluralRules||n&&n.pluralRules,N;N=(()=>{l&&No(null);const C={version:lc,locale:s.value,fallbackLocale:c.value,messages:u.value,modifiers:b,pluralRules:I,missing:f===null?void 0:f,missingWarn:h,fallbackWarn:_,fallbackFormat:k,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:T,escapeParameter:S,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};C.datetimeFormats=d.value,C.numberFormats=p.value,C.__datetimeFormatters=K(N)?N.__datetimeFormatters:void 0,C.__numberFormatters=K(N)?N.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(C.__v_emitter=K(N)?N.__v_emitter:void 0);const B=zs(C);return l&&No(B),B})(),dt(N,s.value,c.value);function F(){return[s.value,c.value,u.value,d.value,p.value]}const Q=e.computed({get:()=>s.value,set:C=>{N.locale=C,s.value=C}}),ge=e.computed({get:()=>c.value,set:C=>{N.fallbackLocale=C,c.value=C,dt(N,s.value,C)}}),Z=e.computed(()=>u.value),Me=e.computed(()=>d.value),Je=e.computed(()=>p.value);function P(){return te(y)?y:null}function A(C){y=C,N.postTranslation=C}function H(){return E}function R(C){C!==null&&(f=Ro(C)),E=C,N.missing=f}function Ie(C,B){return C!=="translate"||!B.resolvedMessage}const me=(C,B,q,re,We,Ct)=>{F();let Qe;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,l||(N.fallbackContext=n?Hs():void 0),Qe=C(N)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,l||(N.fallbackContext=void 0)}if(q!=="translate exists"&&ce(Qe)&&Qe===jt||q==="translate exists"&&!Qe){const[je,br]=B();if(process.env.NODE_ENV!=="production"&&n&&$(je)&&Ie(q,br)&&(v&&(Gt(_,je)||El(h,je))&&Ve(Pt(Be.FALLBACK_TO_ROOT,{key:je,type:q})),process.env.NODE_ENV!=="production")){const{__v_emitter:no}=N;no&&v&&no.emit("fallback",{type:q,key:je,to:"global",groupId:`${q}:${je}`})}return n&&v?re(n):We(je)}else{if(Ct(Qe))return Qe;throw pt(de.UNEXPECTED_RETURN_TYPE)}};function He(...C){return me(B=>Reflect.apply(Ao,null,[B,...C]),()=>_n(...C),"translate",B=>Reflect.apply(B.t,B,[...C]),B=>B,B=>$(B))}function Zt(...C){const[B,q,re]=C;if(re&&!Y(re))throw pt(de.INVALID_ARGUMENT);return He(B,q,ue({resolvedMessage:!0},re||{}))}function Jt(...C){return me(B=>Reflect.apply(wo,null,[B,...C]),()=>yn(...C),"datetime format",B=>Reflect.apply(B.d,B,[...C]),()=>Ot,B=>$(B)||ie(B))}function Qt(...C){return me(B=>Reflect.apply(To,null,[B,...C]),()=>kn(...C),"number format",B=>Reflect.apply(B.n,B,[...C]),()=>Ot,B=>$(B)||ie(B))}function en(C){return C.map(B=>$(B)||ce(B)||ae(B)?Do(String(B)):B)}const tn={normalize:en,interpolate:C=>C,type:"vnode"};function _t(...C){return me(B=>{let q;const re=B;try{re.processor=tn,q=Reflect.apply(Ao,null,[re,...C])}finally{re.processor=null}return q},()=>_n(...C),"translate",B=>B[vn](...C),B=>[Do(B)],B=>ie(B))}function nn(...C){return me(B=>Reflect.apply(To,null,[B,...C]),()=>kn(...C),"number format",B=>B[Nn](...C),Oo,B=>$(B)||ie(B))}function vt(...C){return me(B=>Reflect.apply(wo,null,[B,...C]),()=>yn(...C),"datetime format",B=>B[Cn](...C),Oo,B=>$(B)||ie(B))}function on(C){I=C,N.pluralRules=I}function ln(C,B){return me(()=>{if(!C)return!1;const q=$(B)?B:s.value,re=ze(q),We=N.messageResolver(re,C);return we(We)||Se(We)||$(We)},()=>[C],"translate exists",q=>Reflect.apply(q.te,q,[C,B]),uc,q=>ae(q))}function st(C){let B=null;const q=dl(N,c.value,s.value);for(let re=0;re<q.length;re++){const We=u.value[q[re]]||{},Ct=N.messageResolver(We,C);if(Ct!=null){B=Ct;break}}return B}function ct(C){const B=st(C);return B??(n?n.tm(C)||{}:{})}function ze(C){return u.value[C]||{}}function ut(C,B){if(a){const q={[C]:B};for(const re in q)be(q,re)&&gt(q[re]);B=q[C]}u.value[C]=B,N.messages=u.value}function rn(C,B){u.value[C]=u.value[C]||{};const q={[C]:B};if(a)for(const re in q)be(q,re)&&gt(q[re]);B=q[C],It(B,u.value[C]),N.messages=u.value}function m(C){return d.value[C]||{}}function g(C,B){d.value[C]=B,N.datetimeFormats=d.value,Lo(N,C,B)}function L(C,B){d.value[C]=ue(d.value[C]||{},B),N.datetimeFormats=d.value,Lo(N,C,B)}function O(C){return p.value[C]||{}}function ee(C,B){p.value[C]=B,N.numberFormats=p.value,Bo(N,C,B)}function le(C,B){p.value[C]=ue(p.value[C]||{},B),N.numberFormats=p.value,Bo(N,C,B)}Po++,n&&Pe&&(e.watch(n.locale,C=>{i&&(s.value=C,N.locale=C,dt(N,s.value,c.value))}),e.watch(n.fallbackLocale,C=>{i&&(c.value=C,N.fallbackLocale=C,dt(N,s.value,c.value))}));const G={id:Po,locale:Q,fallbackLocale:ge,get inheritLocale(){return i},set inheritLocale(C){i=C,C&&n&&(s.value=n.locale.value,c.value=n.fallbackLocale.value,dt(N,s.value,c.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:Z,get modifiers(){return b},get pluralRules(){return I||{}},get isGlobal(){return l},get missingWarn(){return h},set missingWarn(C){h=C,N.missingWarn=h},get fallbackWarn(){return _},set fallbackWarn(C){_=C,N.fallbackWarn=_},get fallbackRoot(){return v},set fallbackRoot(C){v=C},get fallbackFormat(){return k},set fallbackFormat(C){k=C,N.fallbackFormat=k},get warnHtmlMessage(){return T},set warnHtmlMessage(C){T=C,N.warnHtmlMessage=C},get escapeParameter(){return S},set escapeParameter(C){S=C,N.escapeParameter=C},t:He,getLocaleMessage:ze,setLocaleMessage:ut,mergeLocaleMessage:rn,getPostTranslationHandler:P,setPostTranslationHandler:A,getMissingHandler:H,setMissingHandler:R,[ic]:on};return G.datetimeFormats=Me,G.numberFormats=Je,G.rt=Zt,G.te=ln,G.tm=ct,G.d=Jt,G.n=Qt,G.getDateTimeFormat=m,G.setDateTimeFormat=g,G.mergeDateTimeFormat=L,G.getNumberFormat=O,G.setNumberFormat=ee,G.mergeNumberFormat=le,G[Sl]=o,G[vn]=_t,G[Cn]=vt,G[Nn]=nn,process.env.NODE_ENV!=="production"&&(G[Sn]=C=>{N.__v_emitter=C},G[bn]=()=>{N.__v_emitter=void 0}),G}function Mo(t,n){}const Fn={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function fc({slots:t},n){return n.length===1&&n[0]==="default"?(t.default?t.default():[]).reduce((l,a)=>[...l,...a.type===e.Fragment?a.children:[a]],[]):n.reduce((o,l)=>{const a=t[l];return a&&(o[l]=a()),o},X())}function Ll(){return e.Fragment}ue({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>ce(t)||!isNaN(t)}},Fn);function pc(t){return ie(t)&&!$(t[0])}function Tl(t,n,o,l){const{slots:a,attrs:r}=n;return()=>{const i={part:!0};let s=X();t.locale&&(i.locale=t.locale),$(t.format)?i.key=t.format:Y(t.format)&&($(t.format.key)&&(i.key=t.format.key),s=Object.keys(t.format).reduce((h,_)=>o.includes(_)?ue(X(),h,{[_]:t.format[_]}):h,X()));const c=l(t.value,i,s);let u=[i.key];ie(c)?u=c.map((h,_)=>{const v=a[h.type],k=v?v({[h.type]:h.value,index:_,parts:c}):[h.value];return pc(k)&&(k[0].key=`${h.type}-${_}`),k}):$(c)&&(u=[c]);const d=ue(X(),r),p=$(t.tag)||Y(t.tag)?t.tag:Ll();return e.h(p,d,u)}}ue({value:{type:Number,required:!0},format:{type:[String,Object]}},Fn);const gc=Re("global-vue-i18n");function yt(t={}){const n=e.getCurrentInstance();if(n==null)throw pt(de.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw pt(de.NOT_INSTALLED);const o=hc(n),l=yc(o),a=wl(n),r=Ec(t,a);if(r==="global")return cc(l,t,a),l;if(r==="parent"){let c=kc(o,n,t.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&Ve(Pt(Be.NOT_FOUND_PARENT_SCOPE)),c=l),c}const i=o;let s=i.__getInstance(n);if(s==null){const c=ue({},t);"__i18n"in a&&(c.__i18n=a.__i18n),l&&(c.__root=l),s=mc(c),i.__composerExtend&&(s[wn]=i.__composerExtend(s)),vc(i,n,s),i.__setInstance(n,s)}else process.env.NODE_ENV!=="production"&&r==="local"&&Ve(Pt(Be.DUPLICATE_USE_I18N_CALLING));return s}function hc(t){const n=e.inject(t.isCE?gc:t.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw pt(t.isCE?de.NOT_INSTALLED_WITH_PROVIDE:de.UNEXPECTED_ERROR);return n}function Ec(t,n){return Wt(t)?"__i18n"in n?"local":"global":t.useScope?t.useScope:"local"}function yc(t){return t.mode==="composition"?t.global:t.global.__composer}function kc(t,n,o=!1){let l=null;const a=n.root;let r=_c(n,o);for(;r!=null;){const i=t;if(t.mode==="composition")l=i.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const s=i.__getInstance(r);s!=null&&(l=s.__composer,o&&l&&!l[Sl]&&(l=null))}if(l!=null||a===r)break;r=r.parent}return l}function _c(t,n=!1){return t==null?null:n&&t.vnode.ctx||t.parent}function vc(t,n,o){let l=null;e.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&n.vnode.el){n.vnode.el.__VUE_I18N__=o,l=Li();const a=o;a[Sn]&&a[Sn](l),l.on("*",Mo)}},n),e.onUnmounted(()=>{const a=o;process.env.NODE_ENV!=="production"&&n.vnode.el&&n.vnode.el.__VUE_I18N__&&(l&&l.off("*",Mo),a[bn]&&a[bn](),delete n.vnode.el.__VUE_I18N__),t.__deleteInstance(n);const r=a[wn];r&&(r(),delete a[wn])},n)}ue({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Fn);rc();Rs(gs);Ms(As);xs(dl);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const t=Ke();t.__INTLIFY__=!0,hs(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(),a=e.ref(),r=e.ref();return e.onMounted(async()=>{e.nextTick(async()=>{const i=await n;typeof document<"u"&&a.value&&r.value&&(l.value=new i.Tooltip(a.value,{trigger:"hover",html:!0,placement:o.placement,title:r.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:a},i.$attrs),[e.renderSlot(i.$slots,"default")],16),e.createElementVNode("span",{class:"d-none",ref_key:"$tooltipContent",ref:r},[e.renderSlot(i.$slots,"content",{},()=>[e.createTextVNode(e.toDisplayString(i.title),1)])],512)],64))}}),Cc=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,${r.value}`),l=e.computed(()=>({flowable:i.value?i.value.flowable:!1})),a=e.computed(()=>({backgroundImage:`url(${o.value})`})),r=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=Ce(u?"--bs-gray-900":"--bs-black")??"#FFFFFF";return n.theme&&(d=(n.theme==="dark"?Ce("--bs-gray-900"):Ce("--bs-black"))??d),n.variable&&(d=Ce(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"])},[c.onlyIcon?(e.openBlock(),e.createElementBlock("div",{key:1,class:"icon",style:e.normalizeStyle(a.value)},null,4)):(e.openBlock(),e.createBlock(j,{key:0,title:c.cls},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"icon",style:e.normalizeStyle(a.value)},null,4)]),_:1},8,["title"]))],2))}}),Un=D(Cc,[["__scopeId","data-v-23f8d853"]]),Nc={name:"OpenInNewIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Sc=["aria-hidden","aria-label"],bc=["fill","width","height"],wc={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"},Lc={key:0};function Tc(t,n,o,l,a,r){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",wc,[o.title?(e.openBlock(),e.createElementBlock("title",Lc,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,bc))],16,Sc)}const Bl=D(Nc,[["render",Tc]]),Bc={name:"ArrowExpandAllIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Vc=["aria-hidden","aria-label"],Ic=["fill","width","height"],Ac={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"},Dc={key:0};function $c(t,n,o,l,a,r){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",Ac,[o.title?(e.openBlock(),e.createElementBlock("title",Dc,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Ic))],16,Vc)}const Oc=D(Bc,[["render",$c]]),Pc={class:"dependency-text d-flex flex-column flex-grow-1"},Rc={class:"dependency-flow-text text-truncate"},Mc={class:"dependency-namespace-text text-truncate"},xc={class:"text-white top-button-div"},Fc=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:[w.EVENTS.EXPAND_DEPENDENCIES,w.EVENTS.OPEN_LINK,w.EVENTS.MOUSE_OVER,w.EVENTS.MOUSE_LEAVE],setup(t,{emit:n}){const o=n,{t:l}=yt(),a=e.computed(()=>window.btoa(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="25" viewBox="0 0 24 25" fill="none">
22
+ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html`,[Be.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]:"'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",[Be.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(sc[t],...n)}function gt(t){if(!Y(t)||we(t))return t;for(const n in t)if(be(t,n))if(!n.includes("."))Y(t[n])&&gt(t[n]);else{const o=n.split("."),l=o.length-1;let a=t,r=!1;for(let i=0;i<l;i++){if(o[i]==="__proto__")throw new Error(`unsafe key: ${o[i]}`);if(o[i]in a||(a[o[i]]=X()),!Y(a[o[i]])){process.env.NODE_ENV!=="production"&&Ve(Pt(Be.IGNORE_OBJ_FLATTEN,{key:o[i]})),r=!0;break}a=a[o[i]]}if(r||(we(a)?ul.includes(o[l])||delete t[n]:(a[o[l]]=t[n],delete t[n])),!we(a)){const i=a[o[l]];Y(i)&&gt(i)}}return t}function bl(t,n){const{messages:o,__i18n:l,messageResolver:a,flatJson:r}=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 $(s)&&It(JSON.parse(s),i)}),a==null&&r)for(const s in i)be(i,s)&&gt(i[s]);return i}function wl(t){return t.type}function cc(t,n,o){let l=Y(n.messages)?n.messages:X();"__i18nGlobal"in o&&(l=bl(t.locale.value,{messages:l,__i18n:o.__i18nGlobal}));const a=Object.keys(l);a.length&&a.forEach(r=>{t.mergeLocaleMessage(r,l[r])});{if(Y(n.datetimeFormats)){const r=Object.keys(n.datetimeFormats);r.length&&r.forEach(i=>{t.mergeDateTimeFormat(i,n.datetimeFormats[i])})}if(Y(n.numberFormats)){const r=Object.keys(n.numberFormats);r.length&&r.forEach(i=>{t.mergeNumberFormat(i,n.numberFormats[i])})}}}function Do(t){return e.createVNode(e.Text,null,t,0)}const $o="__INTLIFY_META__",Oo=()=>[],uc=()=>!1;let Po=0;function Ro(t){return((n,o,l,a)=>t(o,l,e.getCurrentInstance()||void 0,a))}const dc=()=>{const t=e.getCurrentInstance();let n=null;return t&&(n=wl(t)[$o])?{[$o]:n}:null};function mc(t={}){const{__root:n,__injectWithOption:o}=t,l=n===void 0,a=t.flatJson,r=Pe?e.ref:e.shallowRef;let i=ae(t.inheritLocale)?t.inheritLocale:!0;const s=r(n&&i?n.locale.value:$(t.locale)?t.locale:$t),c=r(n&&i?n.fallbackLocale.value:$(t.fallbackLocale)||ie(t.fallbackLocale)||K(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:s.value),u=r(bl(s.value,t)),d=r(K(t.datetimeFormats)?t.datetimeFormats:{[s.value]:{}}),p=r(K(t.numberFormats)?t.numberFormats:{[s.value]:{}});let h=n?n.missingWarn:ae(t.missingWarn)||Dt(t.missingWarn)?t.missingWarn:!0,_=n?n.fallbackWarn:ae(t.fallbackWarn)||Dt(t.fallbackWarn)?t.fallbackWarn:!0,v=n?n.fallbackRoot:ae(t.fallbackRoot)?t.fallbackRoot:!0,k=!!t.fallbackFormat,E=te(t.missing)?t.missing:null,f=te(t.missing)?Ro(t.missing):null,y=te(t.postTranslation)?t.postTranslation:null,T=n?n.warnHtmlMessage:ae(t.warnHtmlMessage)?t.warnHtmlMessage:!0,S=!!t.escapeParameter;const b=n?n.modifiers:K(t.modifiers)?t.modifiers:{};let I=t.pluralRules||n&&n.pluralRules,N;N=(()=>{l&&No(null);const C={version:lc,locale:s.value,fallbackLocale:c.value,messages:u.value,modifiers:b,pluralRules:I,missing:f===null?void 0:f,missingWarn:h,fallbackWarn:_,fallbackFormat:k,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:T,escapeParameter:S,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};C.datetimeFormats=d.value,C.numberFormats=p.value,C.__datetimeFormatters=K(N)?N.__datetimeFormatters:void 0,C.__numberFormatters=K(N)?N.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(C.__v_emitter=K(N)?N.__v_emitter:void 0);const B=zs(C);return l&&No(B),B})(),dt(N,s.value,c.value);function U(){return[s.value,c.value,u.value,d.value,p.value]}const Q=e.computed({get:()=>s.value,set:C=>{N.locale=C,s.value=C}}),ge=e.computed({get:()=>c.value,set:C=>{N.fallbackLocale=C,c.value=C,dt(N,s.value,C)}}),Z=e.computed(()=>u.value),Me=e.computed(()=>d.value),Je=e.computed(()=>p.value);function P(){return te(y)?y:null}function A(C){y=C,N.postTranslation=C}function H(){return E}function R(C){C!==null&&(f=Ro(C)),E=C,N.missing=f}function Ie(C,B){return C!=="translate"||!B.resolvedMessage}const me=(C,B,q,re,We,Ct)=>{U();let Qe;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,l||(N.fallbackContext=n?Hs():void 0),Qe=C(N)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,l||(N.fallbackContext=void 0)}if(q!=="translate exists"&&ce(Qe)&&Qe===jt||q==="translate exists"&&!Qe){const[je,br]=B();if(process.env.NODE_ENV!=="production"&&n&&$(je)&&Ie(q,br)&&(v&&(Gt(_,je)||El(h,je))&&Ve(Pt(Be.FALLBACK_TO_ROOT,{key:je,type:q})),process.env.NODE_ENV!=="production")){const{__v_emitter:no}=N;no&&v&&no.emit("fallback",{type:q,key:je,to:"global",groupId:`${q}:${je}`})}return n&&v?re(n):We(je)}else{if(Ct(Qe))return Qe;throw pt(de.UNEXPECTED_RETURN_TYPE)}};function He(...C){return me(B=>Reflect.apply(Ao,null,[B,...C]),()=>_n(...C),"translate",B=>Reflect.apply(B.t,B,[...C]),B=>B,B=>$(B))}function Zt(...C){const[B,q,re]=C;if(re&&!Y(re))throw pt(de.INVALID_ARGUMENT);return He(B,q,ue({resolvedMessage:!0},re||{}))}function Jt(...C){return me(B=>Reflect.apply(wo,null,[B,...C]),()=>yn(...C),"datetime format",B=>Reflect.apply(B.d,B,[...C]),()=>Ot,B=>$(B)||ie(B))}function Qt(...C){return me(B=>Reflect.apply(To,null,[B,...C]),()=>kn(...C),"number format",B=>Reflect.apply(B.n,B,[...C]),()=>Ot,B=>$(B)||ie(B))}function en(C){return C.map(B=>$(B)||ce(B)||ae(B)?Do(String(B)):B)}const tn={normalize:en,interpolate:C=>C,type:"vnode"};function _t(...C){return me(B=>{let q;const re=B;try{re.processor=tn,q=Reflect.apply(Ao,null,[re,...C])}finally{re.processor=null}return q},()=>_n(...C),"translate",B=>B[vn](...C),B=>[Do(B)],B=>ie(B))}function nn(...C){return me(B=>Reflect.apply(To,null,[B,...C]),()=>kn(...C),"number format",B=>B[Nn](...C),Oo,B=>$(B)||ie(B))}function vt(...C){return me(B=>Reflect.apply(wo,null,[B,...C]),()=>yn(...C),"datetime format",B=>B[Cn](...C),Oo,B=>$(B)||ie(B))}function on(C){I=C,N.pluralRules=I}function ln(C,B){return me(()=>{if(!C)return!1;const q=$(B)?B:s.value,re=ze(q),We=N.messageResolver(re,C);return we(We)||Se(We)||$(We)},()=>[C],"translate exists",q=>Reflect.apply(q.te,q,[C,B]),uc,q=>ae(q))}function st(C){let B=null;const q=dl(N,c.value,s.value);for(let re=0;re<q.length;re++){const We=u.value[q[re]]||{},Ct=N.messageResolver(We,C);if(Ct!=null){B=Ct;break}}return B}function ct(C){const B=st(C);return B??(n?n.tm(C)||{}:{})}function ze(C){return u.value[C]||{}}function ut(C,B){if(a){const q={[C]:B};for(const re in q)be(q,re)&&gt(q[re]);B=q[C]}u.value[C]=B,N.messages=u.value}function rn(C,B){u.value[C]=u.value[C]||{};const q={[C]:B};if(a)for(const re in q)be(q,re)&&gt(q[re]);B=q[C],It(B,u.value[C]),N.messages=u.value}function m(C){return d.value[C]||{}}function g(C,B){d.value[C]=B,N.datetimeFormats=d.value,Lo(N,C,B)}function L(C,B){d.value[C]=ue(d.value[C]||{},B),N.datetimeFormats=d.value,Lo(N,C,B)}function O(C){return p.value[C]||{}}function ee(C,B){p.value[C]=B,N.numberFormats=p.value,Bo(N,C,B)}function le(C,B){p.value[C]=ue(p.value[C]||{},B),N.numberFormats=p.value,Bo(N,C,B)}Po++,n&&Pe&&(e.watch(n.locale,C=>{i&&(s.value=C,N.locale=C,dt(N,s.value,c.value))}),e.watch(n.fallbackLocale,C=>{i&&(c.value=C,N.fallbackLocale=C,dt(N,s.value,c.value))}));const G={id:Po,locale:Q,fallbackLocale:ge,get inheritLocale(){return i},set inheritLocale(C){i=C,C&&n&&(s.value=n.locale.value,c.value=n.fallbackLocale.value,dt(N,s.value,c.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:Z,get modifiers(){return b},get pluralRules(){return I||{}},get isGlobal(){return l},get missingWarn(){return h},set missingWarn(C){h=C,N.missingWarn=h},get fallbackWarn(){return _},set fallbackWarn(C){_=C,N.fallbackWarn=_},get fallbackRoot(){return v},set fallbackRoot(C){v=C},get fallbackFormat(){return k},set fallbackFormat(C){k=C,N.fallbackFormat=k},get warnHtmlMessage(){return T},set warnHtmlMessage(C){T=C,N.warnHtmlMessage=C},get escapeParameter(){return S},set escapeParameter(C){S=C,N.escapeParameter=C},t:He,getLocaleMessage:ze,setLocaleMessage:ut,mergeLocaleMessage:rn,getPostTranslationHandler:P,setPostTranslationHandler:A,getMissingHandler:H,setMissingHandler:R,[ic]:on};return G.datetimeFormats=Me,G.numberFormats=Je,G.rt=Zt,G.te=ln,G.tm=ct,G.d=Jt,G.n=Qt,G.getDateTimeFormat=m,G.setDateTimeFormat=g,G.mergeDateTimeFormat=L,G.getNumberFormat=O,G.setNumberFormat=ee,G.mergeNumberFormat=le,G[Sl]=o,G[vn]=_t,G[Cn]=vt,G[Nn]=nn,process.env.NODE_ENV!=="production"&&(G[Sn]=C=>{N.__v_emitter=C},G[bn]=()=>{N.__v_emitter=void 0}),G}function Mo(t,n){}const Fn={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function fc({slots:t},n){return n.length===1&&n[0]==="default"?(t.default?t.default():[]).reduce((l,a)=>[...l,...a.type===e.Fragment?a.children:[a]],[]):n.reduce((o,l)=>{const a=t[l];return a&&(o[l]=a()),o},X())}function Ll(){return e.Fragment}ue({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>ce(t)||!isNaN(t)}},Fn);function pc(t){return ie(t)&&!$(t[0])}function Tl(t,n,o,l){const{slots:a,attrs:r}=n;return()=>{const i={part:!0};let s=X();t.locale&&(i.locale=t.locale),$(t.format)?i.key=t.format:Y(t.format)&&($(t.format.key)&&(i.key=t.format.key),s=Object.keys(t.format).reduce((h,_)=>o.includes(_)?ue(X(),h,{[_]:t.format[_]}):h,X()));const c=l(t.value,i,s);let u=[i.key];ie(c)?u=c.map((h,_)=>{const v=a[h.type],k=v?v({[h.type]:h.value,index:_,parts:c}):[h.value];return pc(k)&&(k[0].key=`${h.type}-${_}`),k}):$(c)&&(u=[c]);const d=ue(X(),r),p=$(t.tag)||Y(t.tag)?t.tag:Ll();return e.h(p,d,u)}}ue({value:{type:Number,required:!0},format:{type:[String,Object]}},Fn);const gc=Re("global-vue-i18n");function yt(t={}){const n=e.getCurrentInstance();if(n==null)throw pt(de.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw pt(de.NOT_INSTALLED);const o=hc(n),l=yc(o),a=wl(n),r=Ec(t,a);if(r==="global")return cc(l,t,a),l;if(r==="parent"){let c=kc(o,n,t.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&Ve(Pt(Be.NOT_FOUND_PARENT_SCOPE)),c=l),c}const i=o;let s=i.__getInstance(n);if(s==null){const c=ue({},t);"__i18n"in a&&(c.__i18n=a.__i18n),l&&(c.__root=l),s=mc(c),i.__composerExtend&&(s[wn]=i.__composerExtend(s)),vc(i,n,s),i.__setInstance(n,s)}else process.env.NODE_ENV!=="production"&&r==="local"&&Ve(Pt(Be.DUPLICATE_USE_I18N_CALLING));return s}function hc(t){const n=e.inject(t.isCE?gc:t.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw pt(t.isCE?de.NOT_INSTALLED_WITH_PROVIDE:de.UNEXPECTED_ERROR);return n}function Ec(t,n){return Wt(t)?"__i18n"in n?"local":"global":t.useScope?t.useScope:"local"}function yc(t){return t.mode==="composition"?t.global:t.global.__composer}function kc(t,n,o=!1){let l=null;const a=n.root;let r=_c(n,o);for(;r!=null;){const i=t;if(t.mode==="composition")l=i.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const s=i.__getInstance(r);s!=null&&(l=s.__composer,o&&l&&!l[Sl]&&(l=null))}if(l!=null||a===r)break;r=r.parent}return l}function _c(t,n=!1){return t==null?null:n&&t.vnode.ctx||t.parent}function vc(t,n,o){let l=null;e.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&n.vnode.el){n.vnode.el.__VUE_I18N__=o,l=Li();const a=o;a[Sn]&&a[Sn](l),l.on("*",Mo)}},n),e.onUnmounted(()=>{const a=o;process.env.NODE_ENV!=="production"&&n.vnode.el&&n.vnode.el.__VUE_I18N__&&(l&&l.off("*",Mo),a[bn]&&a[bn](),delete n.vnode.el.__VUE_I18N__),t.__deleteInstance(n);const r=a[wn];r&&(r(),delete a[wn])},n)}ue({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Fn);rc();Rs(gs);Ms(As);xs(dl);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const t=Ke();t.__INTLIFY__=!0,hs(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(),a=e.ref(),r=e.ref();return e.onMounted(async()=>{e.nextTick(async()=>{const i=await n;typeof document<"u"&&a.value&&r.value&&(l.value=new i.Tooltip(a.value,{trigger:"hover",html:!0,placement:o.placement,title:r.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:a},i.$attrs),[e.renderSlot(i.$slots,"default")],16),e.createElementVNode("span",{class:"d-none",ref_key:"$tooltipContent",ref:r},[e.renderSlot(i.$slots,"content",{},()=>[e.createTextVNode(e.toDisplayString(i.title),1)])],512)],64))}}),Cc=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,${r.value}`),l=e.computed(()=>({flowable:i.value?i.value.flowable:!1})),a=e.computed(()=>({backgroundImage:`url(${o.value})`})),r=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=Ce(u?"--bs-gray-900":"--bs-black")??"#FFFFFF";return n.theme&&(d=(n.theme==="dark"?Ce("--bs-gray-900"):Ce("--bs-black"))??d),n.variable&&(d=Ce(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"])},[c.onlyIcon?(e.openBlock(),e.createElementBlock("div",{key:1,class:"icon",style:e.normalizeStyle(a.value)},null,4)):(e.openBlock(),e.createBlock(j,{key:0,title:c.cls},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"icon",style:e.normalizeStyle(a.value)},null,4)]),_:1},8,["title"]))],2))}}),Un=D(Cc,[["__scopeId","data-v-23f8d853"]]),Nc={name:"OpenInNewIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Sc=["aria-hidden","aria-label"],bc=["fill","width","height"],wc={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"},Lc={key:0};function Tc(t,n,o,l,a,r){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",wc,[o.title?(e.openBlock(),e.createElementBlock("title",Lc,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,bc))],16,Sc)}const Bl=D(Nc,[["render",Tc]]),Bc={name:"ArrowExpandAllIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Vc=["aria-hidden","aria-label"],Ic=["fill","width","height"],Ac={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"},Dc={key:0};function $c(t,n,o,l,a,r){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",Ac,[o.title?(e.openBlock(),e.createElementBlock("title",Dc,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Ic))],16,Vc)}const Oc=D(Bc,[["render",$c]]),Pc={class:"dependency-text d-flex flex-column flex-grow-1"},Rc={class:"dependency-flow-text text-truncate"},Mc={class:"dependency-namespace-text text-truncate"},xc={class:"text-white top-button-div"},Fc=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:[w.EVENTS.EXPAND_DEPENDENCIES,w.EVENTS.OPEN_LINK,w.EVENTS.MOUSE_OVER,w.EVENTS.MOUSE_LEAVE],setup(t,{emit:n}){const o=n,{t:l}=yt(),a=e.computed(()=>window.btoa(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="25" viewBox="0 0 24 25" fill="none">
23
23
  <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"/>
24
- </svg>`));return(r,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(Un,{"custom-icon":{icon:a.value},class:"bg-pink rounded",theme:"light"},null,8,["custom-icon"]),e.createElementVNode("div",Pc,[e.createElementVNode("div",Rc,[e.createVNode(j,{title:t.data.flowId},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.data.flowId),1)]),_:1},8,["title"])]),e.createElementVNode("div",Mc,[e.createVNode(j,{title:t.data.namespace},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.data.namespace),1)]),_:1},8,["title"])])]),e.createElementVNode("div",xc,[e.renderSlot(r.$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=>r.$emit(e.unref(w.EVENTS).OPEN_LINK,t.data))},[e.createVNode(j,{title:e.unref(l)("open")},{default:e.withCtx(()=>[e.createVNode(Bl,{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(w.EVENTS).EXPAND_DEPENDENCIES,t.data))},[e.createVNode(j,{title:e.unref(l)("expand")},{default:e.withCtx(()=>[e.createVNode(Oc,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"badge-button-after",{},void 0,!0)])],2),e.createVNode(e.unref(oe.Handle),{type:"target",position:t.targetPosition},null,8,["position"])],64))}}),Uc=D(Fc,[["__scopeId","data-v-2271d5b0"]]);var Oe=(t=>(t.Lines="lines",t.Dots="dots",t))(Oe||{});const Vl=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]}`})},Il=function({radius:t,color:n}){return e.h("circle",{cx:t,cy:t,r:t,fill:n})};Oe.Lines+"",Oe.Dots+"";const Hc={[Oe.Dots]:"#81818a",[Oe.Lines]:"#eee"},zc=["id","x","y","width","height","patternTransform"],Wc={key:2,height:"100",width:"100"},jc=["fill"],Gc=["x","y","fill"],Kc={name:"Background",compatConfig:{MODE:3}},Yc=e.defineComponent({...Kc,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,[p,h]=Array.isArray(t.offset)?t.offset:[t.offset,t.offset],_=[p*i||1+u[0]/2,h*i||1+u[1]/2];return{scaledGap:u,offset:_,size:d}}),a=e.toRef(()=>`pattern-${n}${t.id?`-${t.id}`:""}`),r=e.toRef(()=>t.color||t.patternColor||Hc[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:a.value},()=>[e.createElementVNode("pattern",{id:a.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(Vl),{key:0,size:i.lineWidth,color:r.value,dimensions:l.value.scaledGap},null,8,["size","color","dimensions"])):i.variant===e.unref(Oe).Dots?(e.openBlock(),e.createBlock(e.unref(Il),{key:1,color:r.value,radius:l.value.size/2},null,8,["color","radius"])):e.createCommentVNode("",!0),i.bgColor?(e.openBlock(),e.createElementBlock("svg",Wc,[e.createElementVNode("rect",{width:"100%",height:"100%",fill:i.bgColor},null,8,jc)])):e.createCommentVNode("",!0)])],8,zc)]),e.createElementVNode("rect",{x:i.x,y:i.y,width:"100%",height:"100%",fill:`url(#${a.value})`},null,8,Gc),e.renderSlot(i.$slots,"default",{id:a.value})],4))}}),qc={name:"ArrowCollapseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Xc=["aria-hidden","aria-label"],Zc=["fill","width","height"],Jc={d:"M19.5,3.09L15,7.59V4H13V11H20V9H16.41L20.91,4.5L19.5,3.09M4,13V15H7.59L3.09,19.5L4.5,20.91L9,16.41V20H11V13H4Z"},Qc={key:0};function eu(t,n,o,l,a,r){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",Jc,[o.title?(e.openBlock(),e.createElementBlock("title",Qc,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Zc))],16,Xc)}const tu=D(qc,[["render",eu]]),nu={class:"top-button-div text-white d-flex"},ou={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 w.Utils.afterLastDot(this.id)}}},lu=Object.assign(ou,{__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:[w.EVENTS.COLLAPSE],setup(t,{emit:n}){const o=t,l=n,a=()=>{l(w.EVENTS.COLLAPSE,o.id)};return(r,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(r.classes)},[e.createElementVNode("span",{class:e.normalizeClass(["badge rounded-pill text-truncate text-color position-reliative",[`bg-${t.data.color}`]])},e.toDisplayString(r.clusterName),3),e.createElementVNode("div",nu,[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=>a())},[e.createVNode(j,{title:r.$t("collapse")},{default:e.withCtx(()=>[e.createVNode(tu,{class:"button-icon",alt:"Collapse task"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0)])],2))}}),ru=D(lu,[["__scopeId","data-v-0c251e77"]]),au={name:"CircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},iu=["aria-hidden","aria-label"],su=["fill","width","height"],cu={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"},uu={key:0};function du(t,n,o,l,a,r){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",cu,[o.title?(e.openBlock(),e.createElementBlock("title",uu,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,su))],16,iu)}const Al=D(au,[["render",du]]),mu={name:"Dot",components:{Handle:oe.Handle,CircleIcon:Al},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,[w.Utils.afterLastDot(this.data.node.type)]:!0}}}},fu=Object.assign(mu,{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(Al,{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))}}),pu=D(fu,[["__scopeId","data-v-666f472b"]]),gu={name:"PlusIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},hu=["aria-hidden","aria-label"],Eu=["fill","width","height"],yu={d:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"},ku={key:0};function _u(t,n,o,l,a,r){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",yu,[o.title?(e.openBlock(),e.createElementBlock("title",ku,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Eu))],16,hu)}const vu=D(gu,[["render",_u]]),Cu={class:"add-task-div rounded d-flex justify-content-center align-items-center"},Nu=e.defineComponent({name:"AddTaskButton",__name:"AddTaskButton",props:{addTask:{type:Boolean}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("div",Cu,[n.addTask?(e.openBlock(),e.createBlock(vu,{key:0,alt:"add task icon"})):e.createCommentVNode("",!0)]))}}),Su=D(Nu,[["__scopeId","data-v-536dd646"]]),bu=["id","d","marker-end"],xo=14,wu=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 a=e.computed(()=>{const{haveAdd:u}=n.data??{};return`${l("add task")} ${u?.length===2?`${l(u[1])} ${u[0]}`:""}`.trim()}),r=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"?-xo:u==="bottom"?xo:0}),c=e.computed(()=>0);return(u,d)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[r.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:r.value[0],"marker-end":t.markerEnd},null,14,bu)):e.createCommentVNode("",!0),r.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(${r.value[1]+c.value}px,${r.value[2]+s.value}px)`})},[e.createVNode(j,{title:a.value},{default:e.withCtx(()=>[t.data.haveAdd?(e.openBlock(),e.createBlock(Su,{key:0,"add-task":!0,onClick:d[0]||(d[0]=p=>u.$emit(e.unref(w.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))}}),Lu=D(wu,[["__scopeId","data-v-575e9f2a"]]),Tu=["innerHTML"],Bu=e.defineComponent({__name:"Duration",props:{histories:{}},setup(t){const n=t;e.watch(()=>n.histories,(_,v)=>{v[0].date!==_[0].date&&s()});const o=e.ref(""),l=e.ref();e.onMounted(()=>{s()});const a=e.computed(()=>n.histories?.length&&new Date(n.histories[0].date.toString()).getTime()),r=e.computed(()=>n.histories[n.histories.length-1]),i=e.computed(()=>n.histories.filter(_=>_.date.isValid()&&_.date&&_.state));function s(){l.value||(l.value=setInterval(()=>{p(),n.histories&&!ne.isRunning(r.value.state)&&c()},100))}function c(){l.value&&(clearInterval(l.value),l.value=void 0)}function u(){return d()-a.value}function d(){return!n.histories||ne.isRunning(r.value.state)?+new Date:new Date(r.value.date.toString()).getTime()}function p(){o.value=i.value.length===0?"&nbsp;":w.humanDuration(u()/1e3)}function h(_){return"ks-duration-tt-square-"+_.toLowerCase()}return e.onBeforeUnmount(()=>{c()}),(_,v)=>(e.openBlock(),e.createBlock(j,{key:r.value.date.toString()},{content:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(k,E)=>(e.openBlock(),e.createElementBlock("span",{key:"tt-"+E,class:"ks-duration-tt"},[e.createElementVNode("span",{class:e.normalizeClass(["ks-duration-tt-square",h(k.state)])},null,2),e.createElementVNode("strong",null,e.toDisplayString(k.state)+": ",1),e.createTextVNode(e.toDisplayString(w.dateFilter(k.date.toISOString(),"iso"))+" ",1),v[0]||(v[0]=e.createElementVNode("br",null,null,-1))]))),128))]),default:e.withCtx(()=>[e.createElementVNode("span",{innerHTML:o.value},null,8,Tu)]),_:1}))}}),Vu={class:"btn-group content rounded-1 content-children text-truncate"},Iu={key:0,class:"taskRunCount"},Au={key:1},Du={key:2},$u=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(r=>r.taskId===w.afterLastDot(n.uid??""))),a=e.computed(()=>{if(!l.value)return;const r=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(r).subtract(i,"second"),state:"CREATED"},{date:sn(r),state:n.state}]});return(r,i)=>(e.openBlock(),e.createElementBlock("div",Vu,[l.value.length>0?(e.openBlock(),e.createElementBlock("span",Iu,e.toDisplayString(l.value.length)+" task runs",1)):e.createCommentVNode("",!0),l.value.length>0?(e.openBlock(),e.createElementBlock("span",Au," | ")):e.createCommentVNode("",!0),a.value?(e.openBlock(),e.createElementBlock("span",Du,[e.createVNode(Bu,{histories:a.value},null,8,["histories"])])):e.createCommentVNode("",!0)]))}}),Ou=D($u,[["__scopeId","data-v-96fa5d6e"]]),Pu={name:"InformationOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ru=["aria-hidden","aria-label"],Mu=["fill","width","height"],xu={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"},Fu={key:0};function Uu(t,n,o,l,a,r){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",xu,[o.title?(e.openBlock(),e.createElementBlock("title",Fu,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Mu))],16,Ru)}const Hu=D(Pu,[["render",Uu]]),zu={name:"ArrowExpandIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Wu=["aria-hidden","aria-label"],ju=["fill","width","height"],Gu={d:"M10,21V19H6.41L10.91,14.5L9.5,13.09L5,17.59V14H3V21H10M14.5,10.91L19,6.41V10H21V3H14V5H17.59L13.09,9.5L14.5,10.91Z"},Ku={key:0};function Yu(t,n,o,l,a,r){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",Gu,[o.title?(e.openBlock(),e.createElementBlock("title",Ku,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ju))],16,Wu)}const Hn=D(zu,[["render",Yu]]),qu={class:"icon rounded"},Xu={class:"node-content"},Zu={class:"d-flex node-title"},Ju={class:"text-truncate task-title"},Qu={key:0,class:"d-flex"},ed={class:"text-white top-button-div"},td=e.defineComponent({name:"BasicNode",inheritAttrs:!1,__name:"BasicNode",props:{id:{},title:{},type:{},disabled:{type:Boolean},state:{},data:{},icons:{},iconComponent:{},class:{}},emits:[w.EVENTS.EXPAND,w.EVENTS.OPEN_LINK,w.EVENTS.SHOW_LOGS,w.EVENTS.MOUSE_OVER,w.EVENTS.MOUSE_LEAVE,w.EVENTS.ADD_ERROR,w.EVENTS.EDIT,w.EVENTS.DELETE,w.EVENTS.ADD_TASK,w.EVENTS.SHOW_DESCRIPTION],setup(t,{emit:n}){const o=n,l=t;function a(){o(w.EVENTS.MOUSE_OVER,l.data.node)}function r(){o(w.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(()=>w.Utils.afterLastDot(l.id??"")),d=e.computed(()=>["default","danger"].includes(l.data.color)?"":l.data.color),p=e.computed(()=>[{"unused-path":l.data.unused,disabled:s.value?.disabled||l.data.parent?.taskNode?.task?.disabled},l.class]),h=e.computed(()=>{if(l.data.node.triggerDeclaration)return l.data.node.triggerDeclaration.type;if(s.value)return s.value?.type}),_=e.computed(()=>{if(s.value?.type?.endsWith("SubflowGraphTask")){const k=s.value.subflowId??s.value;return k.namespace+" "+k.flowId}return u.value}),v=e.computed(()=>l.title??u.value);return(k,E)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["node-wrapper rounded-3",{...p.value,"running-border-animation":k.state==="RUNNING"}]),style:e.normalizeStyle({borderColor:k.state?`var(--ks-border-${k.state.toLowerCase()})`:void 0}),onMouseover:a,onMouseleave:r},[e.createElementVNode("div",qu,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(k.iconComponent||Un),{cls:h.value,class:e.normalizeClass([d.value,"rounded bg-white"]),theme:"light",icons:k.icons},null,8,["cls","class","icons"]))]),e.createElementVNode("div",Xu,[e.createElementVNode("div",Zu,[e.createElementVNode("div",Ju,[e.createVNode(j,{title:_.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(v.value),1)]),_:1},8,["title"])]),c.value?(e.openBlock(),e.createElementBlock("span",Qu,[e.createVNode(j,{title:k.$t("show description"),class:"d-flex align-items-center"},{default:e.withCtx(()=>[e.createVNode(Hu,{onClick:E[0]||(E[0]=f=>k.$emit(e.unref(w.EVENTS).SHOW_DESCRIPTION,{id:u.value,description:c.value})),class:"description-button ms-2"})]),_:1},8,["title"])])):e.createCommentVNode("",!0)]),e.renderSlot(k.$slots,"content",{},void 0,!0)]),e.createElementVNode("div",ed,[e.renderSlot(k.$slots,"badge-button-before",{},void 0,!0),k.data.link?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["circle-button",[`bg-${k.data.color}`]]),onClick:E[1]||(E[1]=f=>k.$emit(e.unref(w.EVENTS).OPEN_LINK,{link:k.data.link}))},[e.createVNode(j,{title:k.$t("open")},{default:e.withCtx(()=>[e.createVNode(Bl,{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-${k.data.color}`]]),onClick:E[2]||(E[2]=f=>k.$emit(e.unref(w.EVENTS).EXPAND))},[e.createVNode(j,{title:k.$t("expand")},{default:e.withCtx(()=>[e.createVNode(Hn,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0),e.renderSlot(k.$slots,"badge-button-after",{},void 0,!0)])],38))}}),zn=D(td,[["__scopeId","data-v-fafddf6d"]]),Wn=Symbol("execution-injection-key"),Dl=Symbol("subflows-executions-injection-key"),nd={name:"PencilIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},od=["aria-hidden","aria-label"],ld=["fill","width","height"],rd={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"},ad={key:0};function id(t,n,o,l,a,r){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",rd,[o.title?(e.openBlock(),e.createElementBlock("title",ad,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ld))],16,od)}const jn=D(nd,[["render",id]]),sd={name:"DeleteIcon",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:"M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z"},md={key:0};function fd(t,n,o,l,a,r){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",dd,[o.title?(e.openBlock(),e.createElementBlock("title",md,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ud))],16,cd)}const Gn=D(sd,[["render",fd]]),pd={name:"TextBoxSearchIcon",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:"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"},yd={key:0};function kd(t,n,o,l,a,r){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",Ed,[o.title?(e.openBlock(),e.createElementBlock("title",yd,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,hd))],16,gd)}const _d=D(pd,[["render",kd]]),vd={name:"AlertOutlineIcon",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"],Sd={d:"M12,2L1,21H23M12,6L19.53,19H4.47M11,10V14H13V10M11,16V18H13V16"},bd={key:0};function wd(t,n,o,l,a,r){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",Sd,[o.title?(e.openBlock(),e.createElementBlock("title",bd,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Nd))],16,Cd)}const Ld=D(vd,[["render",wd]]),Td={name:"SendLockIcon",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"],Id={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"},Ad={key:0};function Dd(t,n,o,l,a,r){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",Id,[o.title?(e.openBlock(),e.createElementBlock("title",Ad,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Vd))],16,Bd)}const $d=D(Td,[["render",Dd]]),Od={name:"PlayIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Pd=["aria-hidden","aria-label"],Rd=["fill","width","height"],Md={d:"M8,5.14V19.14L19,12.14L8,5.14Z"},xd={key:0};function Fd(t,n,o,l,a,r){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",Md,[o.title?(e.openBlock(),e.createElementBlock("title",xd,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Rd))],16,Pd)}const Ud=D(Od,[["render",Fd]]),Hd={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},zd=["aria-hidden","aria-label"],Wd=["fill","width","height"],jd={d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"},Gd={key:0};function Kd(t,n,o,l,a,r){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",jd,[o.title?(e.openBlock(),e.createElementBlock("title",Gd,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Wd))],16,zd)}const $l=D(Hd,[["render",Kd]]),Yd={name:"AlertIcon",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:"M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z"},Jd={key:0};function Qd(t,n,o,l,a,r){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",Zd,[o.title?(e.openBlock(),e.createElementBlock("title",Jd,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Xd))],16,qd)}const Kt=D(Yd,[["render",Qd]]),em={name:"SkipForwardIcon",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:"M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12"},lm={key:0};function rm(t,n,o,l,a,r){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",om,[o.title?(e.openBlock(),e.createElementBlock("title",lm,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,nm))],16,tm)}const am=D(em,[["render",rm]]),im=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,a=e.inject(Wn),r=e.inject(Dl),i=e.computed(()=>o.data.color??"primary"),s=e.computed(()=>w.Utils.afterLastDot(o.id)),c=e.computed(()=>{const E=o.data.executionId;if(E)return E===a?.value?.id?a?.value:Object.values(r?.value||{}).find(f=>f.id===E)}),u=e.computed(()=>c.value&&c.value.taskRunList?c.value.taskRunList:[]),d=e.computed(()=>u.value.filter(E=>E.taskId===w.Utils.afterLastDot(o.data.node.uid))),p=e.computed(()=>{if(!d.value?.length)return null;if(d.value.length===1)return d.value[0].state.current;const E=d.value.map(T=>T.state.current),f=[ne.FAILED,ne.KILLED,ne.WARNING,ne.SKIPPED,ne.KILLING,ne.RUNNING,ne.SUCCESS,ne.RESTARTED,ne.CREATED];return E.map(T=>[f.indexOf(T[1]),T]).sort().map(T=>T[1])[0]}),h=e.computed(()=>({"execution-no-taskrun":!!(c.value&&d.value&&d.value.length===0)})),_=e.computed(()=>({id:o.id,type:String(o.data.node.task.type)})),v=e.computed(()=>{if(o.data.node.type?.endsWith("SubflowGraphTask")&&o.enableSubflowInteraction){const E=o.data.node.task.subflowId??o.data.node.task;return{...o.data,link:{namespace:E.namespace,id:E.flowId,executionId:c.value?.taskRunList.filter(f=>f.id===o.data.node.taskRun.id&&f.outputs?.executionId)?.[0]?.outputs?.executionId}}}return o.data}),k=e.computed(()=>{if(p.value===ne.RUNNING)return"task is running";if(p.value===ne.SUCCESS)return"task was successful";if(p.value===ne.WARNING)return"task sent a warning";if(p.value===ne.SKIPPED)return"task was skipped";if(p.value===ne.FAILED)return"task failed"});return(E,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(oe.Handle),{type:"source",position:E.sourcePosition},null,8,["position"]),e.createVNode(zn,{id:E.id,data:v.value,state:p.value,class:e.normalizeClass(h.value),icons:E.icons,"icon-component":E.iconComponent,onShowDescription:f[6]||(f[6]=y=>l(e.unref(w.EVENTS).SHOW_DESCRIPTION,y)),onExpand:f[7]||(f[7]=y=>l(e.unref(w.EVENTS).EXPAND,_.value)),onOpenLink:f[8]||(f[8]=y=>l(e.unref(w.EVENTS).OPEN_LINK,y)),onMouseover:f[9]||(f[9]=y=>l(e.unref(w.EVENTS).MOUSE_OVER,y)),onMouseleave:f[10]||(f[10]=y=>l(e.unref(w.EVENTS).MOUSE_LEAVE))},{content:e.withCtx(()=>[c.value?(e.openBlock(),e.createBlock(Ou,{key:0,execution:c.value,task:E.data.node.task,color:i.value,uid:E.data.node.uid,state:p.value},null,8,["execution","task","color","uid","state"])):e.createCommentVNode("",!0),E.data.node.task?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[E.playgroundEnabled&&E.playgroundReadyToStart?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:"playground-button",onClick:f[0]||(f[0]=y=>l(e.unref(w.EVENTS).RUN_TASK,{task:E.data.node.task}))},[e.createVNode(j,{style:{display:"flex"},title:E.$t("run task in playground")},{default:e.withCtx(()=>[e.createVNode(Ud,{class:"button-play-icon",alt:E.$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-${p.value?.toLowerCase()})`,backgroundColor:`var(--ks-background-${p.value?.toLowerCase()})`})},[e.createVNode(j,{style:{display:"flex"},title:k.value?E.$t(k.value):void 0},{default:e.withCtx(()=>[p.value===e.unref(ne).RUNNING?(e.openBlock(),e.createBlock(el,{key:0,alt:k.value?E.$t(k.value):void 0},null,8,["alt"])):p.value===e.unref(ne).SUCCESS?(e.openBlock(),e.createBlock($l,{key:1,alt:k.value?E.$t(k.value):void 0},null,8,["alt"])):p.value===e.unref(ne).WARNING?(e.openBlock(),e.createBlock(Kt,{key:2,alt:k.value?E.$t(k.value):void 0},null,8,["alt"])):p.value===e.unref(ne).SKIPPED?(e.openBlock(),e.createBlock(am,{key:3,alt:k.value?E.$t(k.value):void 0},null,8,["alt"])):p.value===e.unref(ne).FAILED?(e.openBlock(),e.createBlock(At,{key:4,alt:k.value?E.$t(k.value):void 0},null,8,["alt"])):e.createCommentVNode("",!0)]),_:1},8,["title"])],4))],64)):e.createCommentVNode("",!0)]),"badge-button-before":e.withCtx(()=>[E.data.node.task&&E.data.node.task.runIf?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["circle-button",["bg-warning"]]),onClick:f[1]||(f[1]=y=>l(e.unref(w.EVENTS).SHOW_CONDITION,{id:s.value,task:E.data.node.task,section:e.unref(w.SECTIONS).TASKS}))},[e.createVNode(j,{title:E.$t("show task condition")},{default:e.withCtx(()=>[e.createVNode($d,{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:f[2]||(f[2]=y=>l(e.unref(w.EVENTS).SHOW_LOGS,{id:s.value,execution:c.value,taskRuns:d.value}))},[e.createVNode(j,{title:E.$t("show task logs")},{default:e.withCtx(()=>[e.createVNode(_d,{class:"button-icon",alt:"Show logs"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0),!c.value&&!E.data.isReadOnly&&E.data.isFlowable?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:f[3]||(f[3]=y=>l(e.unref(w.EVENTS).ADD_ERROR,{task:E.data.node.task}))},[e.createVNode(j,{title:E.$t("add error handler")},{default:e.withCtx(()=>[e.createVNode(Ld,{class:"button-icon",alt:"Add error handler"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0),!c.value&&!E.data.isReadOnly?(e.openBlock(),e.createElementBlock("span",{key:3,class:e.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:f[4]||(f[4]=y=>l(e.unref(w.EVENTS).EDIT,{task:E.data.node.task,section:e.unref(w.SECTIONS).TASKS}))},[e.createVNode(j,{title:E.$t("edit")},{default:e.withCtx(()=>[e.createVNode(jn,{class:"button-icon",alt:"Edit task"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0),!c.value&&!E.data.isReadOnly?(e.openBlock(),e.createElementBlock("span",{key:4,class:e.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:f[5]||(f[5]=y=>l(e.unref(w.EVENTS).DELETE,{id:s.value,section:e.unref(w.SECTIONS).TASKS}))},[e.createVNode(j,{title:E.$t("delete")},{default:e.withCtx(()=>[e.createVNode(Gn,{class:"button-icon",alt:"Delete task"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0)]),_:1},8,["id","data","state","class","icons","icon-component"]),e.createVNode(e.unref(oe.Handle),{type:"target",position:E.targetPosition},null,8,["position"])],64))}}),sm=D(im,[["__scopeId","data-v-3bf9185b"]]),cm={name:"Task",inheritAttrs:!1,inject:{execution:{from:Wn}},computed:{SECTIONS(){return w.SECTIONS},EVENTS(){return w.EVENTS},color(){return this.data.color??"primary"},formattedData(){return{...this.data,unused:this.data.node?.triggerDeclaration?.disabled||this.data.node?.trigger?.disabled}},triggerId(){return w.Utils.afterLastDot(this.id)}},emits:[w.EVENTS.DELETE,w.EVENTS.EDIT,w.EVENTS.SHOW_DESCRIPTION],components:{Delete:Gn,Pencil:jn,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)}}},um=Object.assign(cm,{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(zn,{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(w.EVENTS).SHOW_DESCRIPTION,l)),onExpand:o[3]||(o[3]=l=>n.forwardEvent(e.unref(w.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(w.EVENTS).EDIT,{task:t.data.node.triggerDeclaration,section:e.unref(w.SECTIONS).TRIGGERS}))},[e.createVNode(j,{title:n.$t("edit")},{default:e.withCtx(()=>[e.createVNode(jn,{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(w.EVENTS).DELETE,{id:n.triggerId,section:e.unref(w.SECTIONS).TRIGGERS}))},[e.createVNode(j,{title:n.$t("delete")},{default:e.withCtx(()=>[e.createVNode(Gn,{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))}}),dm={name:"LightningBoltIcon",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"],pm={d:"M11 15H6L13 1V9H18L11 23V15Z"},gm={key:0};function hm(t,n,o,l,a,r){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",pm,[o.title?(e.openBlock(),e.createElementBlock("title",gm,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,fm))],16,mm)}const Em=D(dm,[["render",hm]]),ym={class:"collapsed-cluster-node d-flex"},km={class:"node-text"},_m={class:"text-white top-button-div"},vm={components:{Tooltip:j,Handle:oe.Handle,ArrowExpand:Hn,LightningBolt:Em},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 w.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}}},Cm=Object.assign(vm,{__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",ym,[e.createElementVNode("span",km,[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(w.Utils).afterLastDot(t.id)),1)]),e.createElementVNode("div",_m,[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(w.EVENTS).EXPAND,{id:t.id}))},[e.createVNode(j,{title:n.$t("expand")},{default:e.withCtx(()=>[e.createVNode(Hn,{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))}}),Nm=D(Cm,[["__scopeId","data-v-89413b39"]]),Sm={name:"SplitCellsVerticalIcon",emits:["click"]},bm={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function wm(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("svg",bm,[...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 Lm=D(Sm,[["render",wm],["__scopeId","data-v-084c51e6"]]),Tm={name:"SplitCellsHorizontalIcon",emits:["click"]},Bm={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Vm(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("svg",Bm,[...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 Im=D(Tm,[["render",Vm],["__scopeId","data-v-c77c1469"]]),Am={name:"DownloadIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Dm=["aria-hidden","aria-label"],$m=["fill","width","height"],Om={d:"M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z"},Pm={key:0};function Rm(t,n,o,l,a,r){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",Om,[o.title?(e.openBlock(),e.createElementBlock("title",Pm,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,$m))],16,Dm)}const Mm=D(Am,[["render",Rm]]);function xm(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"),a=o.createElement("a");return o.head.appendChild(l),o.body.appendChild(a),n&&(l.href=n),a.href=t,a.href}const Fm=(()=>{let t=0;const n=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(t+=1,`u${n()}${t}`)})();function xe(t){const n=[];for(let o=0,l=t.length;o<l;o++)n.push(t[o]);return n}let et=null;function Ol(t={}){return et||(t.includeStyleProperties?(et=t.includeStyleProperties,et):(et=xe(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 Um(t){const n=Rt(t,"border-left-width"),o=Rt(t,"border-right-width");return t.clientWidth+n+o}function Hm(t){const n=Rt(t,"border-top-width"),o=Rt(t,"border-bottom-width");return t.clientHeight+n+o}function Pl(t,n={}){const o=n.width||Um(t),l=n.height||Hm(t);return{width:o,height:l}}function zm(){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 _e=16384;function Wm(t){(t.width>_e||t.height>_e)&&(t.width>_e&&t.height>_e?t.width>t.height?(t.height*=_e/t.width,t.width=_e):(t.width*=_e/t.height,t.height=_e):t.width>_e?(t.height*=_e/t.width,t.width=_e):(t.width*=_e/t.height,t.height=_e))}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 jm(t){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(t)).then(encodeURIComponent).then(n=>`data:image/svg+xml;charset=utf-8,${n}`)}async function Gm(t,n,o){const l="http://www.w3.org/2000/svg",a=document.createElementNS(l,"svg"),r=document.createElementNS(l,"foreignObject");return a.setAttribute("width",`${n}`),a.setAttribute("height",`${o}`),a.setAttribute("viewBox",`0 0 ${n} ${o}`),r.setAttribute("width","100%"),r.setAttribute("height","100%"),r.setAttribute("x","0"),r.setAttribute("y","0"),r.setAttribute("externalResourcesRequired","true"),a.appendChild(r),r.appendChild(t),jm(a)}const ye=(t,n)=>{if(t instanceof n)return!0;const o=Object.getPrototypeOf(t);return o===null?!1:o.constructor.name===n.name||ye(o,n)};function Km(t){const n=t.getPropertyValue("content");return`${t.cssText} content: '${n.replace(/'|"/g,"")}';`}function Ym(t,n){return Ol(n).map(o=>{const l=t.getPropertyValue(o),a=t.getPropertyPriority(o);return`${o}: ${l}${a?" !important":""};`}).join(" ")}function qm(t,n,o,l){const a=`.${t}:${n}`,r=o.cssText?Km(o):Ym(o,l);return document.createTextNode(`${a}{${r}}`)}function Fo(t,n,o,l){const a=window.getComputedStyle(t,o),r=a.getPropertyValue("content");if(r===""||r==="none")return;const i=Fm();try{n.className=`${n.className} ${i}`}catch{return}const s=document.createElement("style");s.appendChild(qm(i,o,a,l)),n.appendChild(s)}function Xm(t,n,o){Fo(t,n,":before",o),Fo(t,n,":after",o)}const Uo="application/font-woff",Ho="image/jpeg",Zm={woff:Uo,woff2:Uo,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Ho,jpeg:Ho,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function Jm(t){const n=/\.([^./]*?)$/g.exec(t);return n?n[1]:""}function Kn(t){const n=Jm(t).toLowerCase();return Zm[n]||""}function Qm(t){return t.split(/,/)[1]}function Ln(t){return t.search(/^(data:)/)!==-1}function ef(t,n){return`data:${n};base64,${t}`}async function Rl(t,n,o){const l=await fetch(t,n);if(l.status===404)throw new Error(`Resource "${l.url}" not found`);const a=await l.blob();return new Promise((r,i)=>{const s=new FileReader;s.onerror=i,s.onloadend=()=>{try{r(o({res:l,result:s.result}))}catch(c){i(c)}},s.readAsDataURL(a)})}const mn={};function tf(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 Yn(t,n,o){const l=tf(t,n,o.includeQueryParams);if(mn[l]!=null)return mn[l];o.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+new Date().getTime());let a;try{const r=await Rl(t,o.fetchRequestInit,({res:i,result:s})=>(n||(n=i.headers.get("Content-Type")||""),Qm(s)));a=ef(r,n)}catch(r){a=o.imagePlaceholder||"";let i=`Failed to fetch resource: ${t}`;r&&(i=typeof r=="string"?r:r.message),i&&console.warn(i)}return mn[l]=a,a}async function nf(t){const n=t.toDataURL();return n==="data:,"?t.cloneNode(!1):Mt(n)}async function of(t,n){if(t.currentSrc){const r=document.createElement("canvas"),i=r.getContext("2d");r.width=t.clientWidth,r.height=t.clientHeight,i?.drawImage(t,0,0,r.width,r.height);const s=r.toDataURL();return Mt(s)}const o=t.poster,l=Kn(o),a=await Yn(o,l,n);return Mt(a)}async function lf(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 rf(t,n){return ye(t,HTMLCanvasElement)?nf(t):ye(t,HTMLVideoElement)?of(t,n):ye(t,HTMLIFrameElement)?lf(t,n):t.cloneNode(Ml(t))}const af=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SLOT",Ml=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SVG";async function sf(t,n,o){var l,a;if(Ml(n))return n;let r=[];return af(t)&&t.assignedNodes?r=xe(t.assignedNodes()):ye(t,HTMLIFrameElement)&&(!((l=t.contentDocument)===null||l===void 0)&&l.body)?r=xe(t.contentDocument.body.childNodes):r=xe(((a=t.shadowRoot)!==null&&a!==void 0?a:t).childNodes),r.length===0||ye(t,HTMLVideoElement)||await r.reduce((i,s)=>i.then(()=>Yt(s,o)).then(c=>{c&&n.appendChild(c)}),Promise.resolve()),n}function cf(t,n,o){const l=n.style;if(!l)return;const a=window.getComputedStyle(t);a.cssText?(l.cssText=a.cssText,l.transformOrigin=a.transformOrigin):Ol(o).forEach(r=>{let i=a.getPropertyValue(r);r==="font-size"&&i.endsWith("px")&&(i=`${Math.floor(parseFloat(i.substring(0,i.length-2)))-.1}px`),ye(t,HTMLIFrameElement)&&r==="display"&&i==="inline"&&(i="block"),r==="d"&&n.getAttribute("d")&&(i=`path(${n.getAttribute("d")})`),l.setProperty(r,i,a.getPropertyPriority(r))})}function uf(t,n){ye(t,HTMLTextAreaElement)&&(n.innerHTML=t.value),ye(t,HTMLInputElement)&&n.setAttribute("value",t.value)}function df(t,n){if(ye(t,HTMLSelectElement)){const o=n,l=Array.from(o.children).find(a=>t.value===a.getAttribute("value"));l&&l.setAttribute("selected","")}}function mf(t,n,o){return ye(n,Element)&&(cf(t,n,o),Xm(t,n,o),uf(t,n),df(t,n)),n}async function ff(t,n){const o=t.querySelectorAll?t.querySelectorAll("use"):[];if(o.length===0)return t;const l={};for(let r=0;r<o.length;r++){const s=o[r].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 a=Object.values(l);if(a.length){const r="http://www.w3.org/1999/xhtml",i=document.createElementNS(r,"svg");i.setAttribute("xmlns",r),i.style.position="absolute",i.style.width="0",i.style.height="0",i.style.overflow="hidden",i.style.display="none";const s=document.createElementNS(r,"defs");i.appendChild(s);for(let c=0;c<a.length;c++)s.appendChild(a[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=>rf(l,n)).then(l=>sf(t,l,n)).then(l=>mf(t,l,n)).then(l=>ff(l,n))}const xl=/url\((['"]?)([^'"]+?)\1\)/g,pf=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,gf=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function hf(t){const n=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${n})(['"]?\\))`,"g")}function Ef(t){const n=[];return t.replace(xl,(o,l,a)=>(n.push(a),o)),n.filter(o=>!Ln(o))}async function yf(t,n,o,l,a){try{const r=o?xm(n,o):n,i=Kn(n);let s;return a||(s=await Yn(r,i,l)),t.replace(hf(n),`$1${s}$3`)}catch{}return t}function kf(t,{preferredFontFormat:n}){return n?t.replace(gf,o=>{for(;;){const[l,,a]=pf.exec(o)||[];if(!a)return"";if(a===n)return`src: ${l};`}}):t}function Fl(t){return t.search(xl)!==-1}async function Ul(t,n,o){if(!Fl(t))return t;const l=kf(t,o);return Ef(l).reduce((r,i)=>r.then(s=>yf(s,i,n,o)),Promise.resolve(l))}async function tt(t,n,o){var l;const a=(l=n.style)===null||l===void 0?void 0:l.getPropertyValue(t);if(a){const r=await Ul(a,null,o);return n.style.setProperty(t,r,n.style.getPropertyPriority(t)),!0}return!1}async function _f(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 vf(t,n){const o=ye(t,HTMLImageElement);if(!(o&&!Ln(t.src))&&!(ye(t,SVGImageElement)&&!Ln(t.href.baseVal)))return;const l=o?t.src:t.href.baseVal,a=await Yn(l,Kn(l),n);await new Promise((r,i)=>{t.onload=r,t.onerror=n.onImageErrorHandler?(...c)=>{try{r(n.onImageErrorHandler(...c))}catch(u){i(u)}}:i;const s=t;s.decode&&(s.decode=r),s.loading==="lazy"&&(s.loading="eager"),o?(t.srcset="",t.src=a):t.href.baseVal=a})}async function Cf(t,n){const l=xe(t.childNodes).map(a=>Hl(a,n));await Promise.all(l).then(()=>t)}async function Hl(t,n){ye(t,Element)&&(await _f(t,n),await vf(t,n),await Cf(t,n))}function Nf(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(a=>{o[a]=l[a]}),t}const zo={};async function Wo(t){let n=zo[t];if(n!=null)return n;const l=await(await fetch(t)).text();return n={url:t,cssText:l},zo[t]=n,n}async function jo(t,n){let o=t.cssText;const l=/url\(["']?([^"')]+)["']?\)/g,r=(o.match(/url\([^)]+\)/g)||[]).map(async i=>{let s=i.replace(l,"$1");return s.startsWith("https://")||(s=new URL(s,t.url).href),Rl(s,n.fetchRequestInit,({result:c})=>(o=o.replace(i,`url(${c})`),[i,c]))});return Promise.all(r).then(()=>o)}function Go(t){if(t==null)return[];const n=[],o=/(\/\*[\s\S]*?\*\/)/gi;let l=t.replace(o,"");const a=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const c=a.exec(l);if(c===null)break;n.push(c[0])}l=l.replace(a,"");const r=/@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=r.exec(l);if(c===null){if(c=s.exec(l),c===null)break;r.lastIndex=s.lastIndex}else s.lastIndex=r.lastIndex;n.push(c[0])}return n}async function Sf(t,n){const o=[],l=[];return t.forEach(a=>{if("cssRules"in a)try{xe(a.cssRules||[]).forEach((r,i)=>{if(r.type===CSSRule.IMPORT_RULE){let s=i+1;const c=r.href,u=Wo(c).then(d=>jo(d,n)).then(d=>Go(d).forEach(p=>{try{a.insertRule(p,p.startsWith("@import")?s+=1:a.cssRules.length)}catch(h){console.error("Error inserting rule from remote css",{rule:p,error:h})}})).catch(d=>{console.error("Error loading remote css",d.toString())});l.push(u)}})}catch(r){const i=t.find(s=>s.href==null)||document.styleSheets[0];a.href!=null&&l.push(Wo(a.href).then(s=>jo(s,n)).then(s=>Go(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",r)}}),Promise.all(l).then(()=>(t.forEach(a=>{if("cssRules"in a)try{xe(a.cssRules||[]).forEach(r=>{o.push(r)})}catch(r){console.error(`Error while reading CSS rules from ${a.href}`,r)}}),o))}function bf(t){return t.filter(n=>n.type===CSSRule.FONT_FACE_RULE).filter(n=>Fl(n.style.getPropertyValue("src")))}async function wf(t,n){if(t.ownerDocument==null)throw new Error("Provided element is not within a Document");const o=xe(t.ownerDocument.styleSheets),l=await Sf(o,n);return bf(l)}function zl(t){return t.trim().replace(/["']/g,"")}function Lf(t){const n=new Set;function o(l){(l.style.fontFamily||getComputedStyle(l).fontFamily).split(",").forEach(r=>{n.add(zl(r))}),Array.from(l.children).forEach(r=>{r instanceof HTMLElement&&o(r)})}return o(t),n}async function Tf(t,n){const o=await wf(t,n),l=Lf(t);return(await Promise.all(o.filter(r=>l.has(zl(r.style.fontFamily))).map(r=>{const i=r.parentStyleSheet?r.parentStyleSheet.href:null;return Ul(r.cssText,i,n)}))).join(`
24
+ </svg>`));return(r,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(Un,{"custom-icon":{icon:a.value},class:"bg-pink rounded",theme:"light"},null,8,["custom-icon"]),e.createElementVNode("div",Pc,[e.createElementVNode("div",Rc,[e.createVNode(j,{title:t.data.flowId},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.data.flowId),1)]),_:1},8,["title"])]),e.createElementVNode("div",Mc,[e.createVNode(j,{title:t.data.namespace},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.data.namespace),1)]),_:1},8,["title"])])]),e.createElementVNode("div",xc,[e.renderSlot(r.$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=>r.$emit(e.unref(w.EVENTS).OPEN_LINK,t.data))},[e.createVNode(j,{title:e.unref(l)("open")},{default:e.withCtx(()=>[e.createVNode(Bl,{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(w.EVENTS).EXPAND_DEPENDENCIES,t.data))},[e.createVNode(j,{title:e.unref(l)("expand")},{default:e.withCtx(()=>[e.createVNode(Oc,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"badge-button-after",{},void 0,!0)])],2),e.createVNode(e.unref(oe.Handle),{type:"target",position:t.targetPosition},null,8,["position"])],64))}}),Uc=D(Fc,[["__scopeId","data-v-2271d5b0"]]);var Oe=(t=>(t.Lines="lines",t.Dots="dots",t))(Oe||{});const Vl=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]}`})},Il=function({radius:t,color:n}){return e.h("circle",{cx:t,cy:t,r:t,fill:n})};Oe.Lines+"",Oe.Dots+"";const Hc={[Oe.Dots]:"#81818a",[Oe.Lines]:"#eee"},zc=["id","x","y","width","height","patternTransform"],Wc={key:2,height:"100",width:"100"},jc=["fill"],Gc=["x","y","fill"],Kc={name:"Background",compatConfig:{MODE:3}},Yc=e.defineComponent({...Kc,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,[p,h]=Array.isArray(t.offset)?t.offset:[t.offset,t.offset],_=[p*i||1+u[0]/2,h*i||1+u[1]/2];return{scaledGap:u,offset:_,size:d}}),a=e.toRef(()=>`pattern-${n}${t.id?`-${t.id}`:""}`),r=e.toRef(()=>t.color||t.patternColor||Hc[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:a.value},()=>[e.createElementVNode("pattern",{id:a.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(Vl),{key:0,size:i.lineWidth,color:r.value,dimensions:l.value.scaledGap},null,8,["size","color","dimensions"])):i.variant===e.unref(Oe).Dots?(e.openBlock(),e.createBlock(e.unref(Il),{key:1,color:r.value,radius:l.value.size/2},null,8,["color","radius"])):e.createCommentVNode("",!0),i.bgColor?(e.openBlock(),e.createElementBlock("svg",Wc,[e.createElementVNode("rect",{width:"100%",height:"100%",fill:i.bgColor},null,8,jc)])):e.createCommentVNode("",!0)])],8,zc)]),e.createElementVNode("rect",{x:i.x,y:i.y,width:"100%",height:"100%",fill:`url(#${a.value})`},null,8,Gc),e.renderSlot(i.$slots,"default",{id:a.value})],4))}}),qc={name:"ArrowCollapseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Xc=["aria-hidden","aria-label"],Zc=["fill","width","height"],Jc={d:"M19.5,3.09L15,7.59V4H13V11H20V9H16.41L20.91,4.5L19.5,3.09M4,13V15H7.59L3.09,19.5L4.5,20.91L9,16.41V20H11V13H4Z"},Qc={key:0};function eu(t,n,o,l,a,r){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",Jc,[o.title?(e.openBlock(),e.createElementBlock("title",Qc,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Zc))],16,Xc)}const tu=D(qc,[["render",eu]]),nu={class:"top-button-div text-white d-flex"},ou={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 w.Utils.afterLastDot(this.id)}}},lu=Object.assign(ou,{__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:[w.EVENTS.COLLAPSE],setup(t,{emit:n}){const o=t,l=n,a=()=>{l(w.EVENTS.COLLAPSE,o.id)};return(r,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(r.classes)},[e.createElementVNode("span",{class:e.normalizeClass(["badge rounded-pill text-truncate text-color position-reliative",[`bg-${t.data.color}`]])},e.toDisplayString(r.clusterName),3),e.createElementVNode("div",nu,[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=>a())},[e.createVNode(j,{title:r.$t("collapse")},{default:e.withCtx(()=>[e.createVNode(tu,{class:"button-icon",alt:"Collapse task"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0)])],2))}}),ru=D(lu,[["__scopeId","data-v-0c251e77"]]),au={name:"CircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},iu=["aria-hidden","aria-label"],su=["fill","width","height"],cu={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"},uu={key:0};function du(t,n,o,l,a,r){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",cu,[o.title?(e.openBlock(),e.createElementBlock("title",uu,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,su))],16,iu)}const Al=D(au,[["render",du]]),mu={name:"Dot",components:{Handle:oe.Handle,CircleIcon:Al},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,[w.Utils.afterLastDot(this.data.node.type)]:!0}}}},fu=Object.assign(mu,{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(Al,{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))}}),pu=D(fu,[["__scopeId","data-v-666f472b"]]),gu={name:"PlusIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},hu=["aria-hidden","aria-label"],Eu=["fill","width","height"],yu={d:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"},ku={key:0};function _u(t,n,o,l,a,r){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",yu,[o.title?(e.openBlock(),e.createElementBlock("title",ku,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Eu))],16,hu)}const vu=D(gu,[["render",_u]]),Cu={class:"add-task-div rounded d-flex justify-content-center align-items-center"},Nu=e.defineComponent({name:"AddTaskButton",__name:"AddTaskButton",props:{addTask:{type:Boolean}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("div",Cu,[n.addTask?(e.openBlock(),e.createBlock(vu,{key:0,alt:"add task icon"})):e.createCommentVNode("",!0)]))}}),Su=D(Nu,[["__scopeId","data-v-536dd646"]]),bu=["id","d","marker-end"],xo=14,wu=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 a=e.computed(()=>{const{haveAdd:u}=n.data??{};return`${l("add task")} ${u?.length===2?`${l(u[1])} ${u[0]}`:""}`.trim()}),r=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"?-xo:u==="bottom"?xo:0}),c=e.computed(()=>0);return(u,d)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[r.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:r.value[0],"marker-end":t.markerEnd},null,14,bu)):e.createCommentVNode("",!0),r.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(${r.value[1]+c.value}px,${r.value[2]+s.value}px)`})},[e.createVNode(j,{title:a.value},{default:e.withCtx(()=>[t.data.haveAdd?(e.openBlock(),e.createBlock(Su,{key:0,"add-task":!0,onClick:d[0]||(d[0]=p=>u.$emit(e.unref(w.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))}}),Lu=D(wu,[["__scopeId","data-v-575e9f2a"]]),Tu=["innerHTML"],Bu=e.defineComponent({__name:"Duration",props:{histories:{}},setup(t){const n=t;e.watch(()=>n.histories,(_,v)=>{v[0].date!==_[0].date&&s()});const o=e.ref(""),l=e.ref();e.onMounted(()=>{s()});const a=e.computed(()=>n.histories?.length&&new Date(n.histories[0].date.toString()).getTime()),r=e.computed(()=>n.histories[n.histories.length-1]),i=e.computed(()=>n.histories.filter(_=>_.date.isValid()&&_.date&&_.state));function s(){l.value||(l.value=setInterval(()=>{p(),n.histories&&!ne.isRunning(r.value.state)&&c()},100))}function c(){l.value&&(clearInterval(l.value),l.value=void 0)}function u(){return d()-a.value}function d(){return!n.histories||ne.isRunning(r.value.state)?+new Date:new Date(r.value.date.toString()).getTime()}function p(){o.value=i.value.length===0?"&nbsp;":w.humanDuration(u()/1e3)}function h(_){return"ks-duration-tt-square-"+_.toLowerCase()}return e.onBeforeUnmount(()=>{c()}),(_,v)=>(e.openBlock(),e.createBlock(j,{key:r.value.date.toString()},{content:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(k,E)=>(e.openBlock(),e.createElementBlock("span",{key:"tt-"+E,class:"ks-duration-tt"},[e.createElementVNode("span",{class:e.normalizeClass(["ks-duration-tt-square",h(k.state)])},null,2),e.createElementVNode("strong",null,e.toDisplayString(k.state)+": ",1),e.createTextVNode(e.toDisplayString(w.dateFilter(k.date.toISOString(),"iso"))+" ",1),v[0]||(v[0]=e.createElementVNode("br",null,null,-1))]))),128))]),default:e.withCtx(()=>[e.createElementVNode("span",{innerHTML:o.value},null,8,Tu)]),_:1}))}}),Vu={class:"btn-group content rounded-1 content-children text-truncate"},Iu={key:0,class:"taskRunCount"},Au={key:1},Du={key:2},$u=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(r=>r.taskId===w.afterLastDot(n.uid??""))),a=e.computed(()=>{if(!l.value)return;const r=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(r).subtract(i,"second"),state:"CREATED"},{date:sn(r),state:n.state}]});return(r,i)=>(e.openBlock(),e.createElementBlock("div",Vu,[l.value.length>0?(e.openBlock(),e.createElementBlock("span",Iu,e.toDisplayString(l.value.length)+" task runs",1)):e.createCommentVNode("",!0),l.value.length>0?(e.openBlock(),e.createElementBlock("span",Au," | ")):e.createCommentVNode("",!0),a.value?(e.openBlock(),e.createElementBlock("span",Du,[e.createVNode(Bu,{histories:a.value},null,8,["histories"])])):e.createCommentVNode("",!0)]))}}),Ou=D($u,[["__scopeId","data-v-96fa5d6e"]]),Pu={name:"InformationOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ru=["aria-hidden","aria-label"],Mu=["fill","width","height"],xu={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"},Fu={key:0};function Uu(t,n,o,l,a,r){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",xu,[o.title?(e.openBlock(),e.createElementBlock("title",Fu,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Mu))],16,Ru)}const Hu=D(Pu,[["render",Uu]]),zu={name:"ArrowExpandIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Wu=["aria-hidden","aria-label"],ju=["fill","width","height"],Gu={d:"M10,21V19H6.41L10.91,14.5L9.5,13.09L5,17.59V14H3V21H10M14.5,10.91L19,6.41V10H21V3H14V5H17.59L13.09,9.5L14.5,10.91Z"},Ku={key:0};function Yu(t,n,o,l,a,r){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",Gu,[o.title?(e.openBlock(),e.createElementBlock("title",Ku,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ju))],16,Wu)}const Hn=D(zu,[["render",Yu]]),qu={class:"icon rounded"},Xu={class:"node-content"},Zu={class:"d-flex node-title"},Ju={class:"text-truncate task-title"},Qu={key:0,class:"d-flex"},ed={class:"text-white top-button-div"},td=e.defineComponent({name:"BasicNode",inheritAttrs:!1,__name:"BasicNode",props:{id:{},title:{},type:{},disabled:{type:Boolean},state:{},data:{},icons:{},iconComponent:{},class:{}},emits:[w.EVENTS.EXPAND,w.EVENTS.OPEN_LINK,w.EVENTS.SHOW_LOGS,w.EVENTS.MOUSE_OVER,w.EVENTS.MOUSE_LEAVE,w.EVENTS.ADD_ERROR,w.EVENTS.EDIT,w.EVENTS.DELETE,w.EVENTS.ADD_TASK,w.EVENTS.SHOW_DESCRIPTION],setup(t,{emit:n}){const o=n,l=t;function a(){o(w.EVENTS.MOUSE_OVER,l.data.node)}function r(){o(w.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(()=>w.Utils.afterLastDot(l.id??"")),d=e.computed(()=>["default","danger"].includes(l.data.color)?"":l.data.color),p=e.computed(()=>[{"unused-path":l.data.unused,disabled:s.value?.disabled||l.data.parent?.taskNode?.task?.disabled},l.class]),h=e.computed(()=>{if(l.data.node.triggerDeclaration)return l.data.node.triggerDeclaration.type;if(s.value)return s.value?.type}),_=e.computed(()=>{if(s.value?.type?.endsWith("SubflowGraphTask")){const k=s.value.subflowId??s.value;return k.namespace+" "+k.flowId}return u.value}),v=e.computed(()=>l.title??u.value);return(k,E)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["node-wrapper rounded-3",{...p.value,"running-border-animation":k.state==="RUNNING"}]),style:e.normalizeStyle({borderColor:k.state?`var(--ks-border-${k.state.toLowerCase()})`:void 0}),onMouseover:a,onMouseleave:r},[e.createElementVNode("div",qu,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(k.iconComponent||Un),{cls:h.value,class:e.normalizeClass([d.value,"rounded bg-white"]),theme:"light",icons:k.icons},null,8,["cls","class","icons"]))]),e.createElementVNode("div",Xu,[e.createElementVNode("div",Zu,[e.createElementVNode("div",Ju,[e.createVNode(j,{title:_.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(v.value),1)]),_:1},8,["title"])]),c.value?(e.openBlock(),e.createElementBlock("span",Qu,[e.createVNode(j,{title:k.$t("show description"),class:"d-flex align-items-center"},{default:e.withCtx(()=>[e.createVNode(Hu,{onClick:E[0]||(E[0]=f=>k.$emit(e.unref(w.EVENTS).SHOW_DESCRIPTION,{id:u.value,description:c.value})),class:"description-button ms-2"})]),_:1},8,["title"])])):e.createCommentVNode("",!0)]),e.renderSlot(k.$slots,"content",{},void 0,!0)]),e.createElementVNode("div",ed,[e.renderSlot(k.$slots,"badge-button-before",{},void 0,!0),k.data.link?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["circle-button",[`bg-${k.data.color}`]]),onClick:E[1]||(E[1]=f=>k.$emit(e.unref(w.EVENTS).OPEN_LINK,{link:k.data.link}))},[e.createVNode(j,{title:k.$t("open")},{default:e.withCtx(()=>[e.createVNode(Bl,{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-${k.data.color}`]]),onClick:E[2]||(E[2]=f=>k.$emit(e.unref(w.EVENTS).EXPAND))},[e.createVNode(j,{title:k.$t("expand")},{default:e.withCtx(()=>[e.createVNode(Hn,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0),e.renderSlot(k.$slots,"badge-button-after",{},void 0,!0)])],38))}}),zn=D(td,[["__scopeId","data-v-fafddf6d"]]),Wn=Symbol("execution-injection-key"),Dl=Symbol("subflows-executions-injection-key"),nd={name:"PencilIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},od=["aria-hidden","aria-label"],ld=["fill","width","height"],rd={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"},ad={key:0};function id(t,n,o,l,a,r){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",rd,[o.title?(e.openBlock(),e.createElementBlock("title",ad,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ld))],16,od)}const jn=D(nd,[["render",id]]),sd={name:"DeleteIcon",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:"M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z"},md={key:0};function fd(t,n,o,l,a,r){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",dd,[o.title?(e.openBlock(),e.createElementBlock("title",md,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ud))],16,cd)}const Gn=D(sd,[["render",fd]]),pd={name:"TextBoxSearchIcon",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:"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"},yd={key:0};function kd(t,n,o,l,a,r){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",Ed,[o.title?(e.openBlock(),e.createElementBlock("title",yd,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,hd))],16,gd)}const _d=D(pd,[["render",kd]]),vd={name:"AlertOutlineIcon",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"],Sd={d:"M12,2L1,21H23M12,6L19.53,19H4.47M11,10V14H13V10M11,16V18H13V16"},bd={key:0};function wd(t,n,o,l,a,r){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",Sd,[o.title?(e.openBlock(),e.createElementBlock("title",bd,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Nd))],16,Cd)}const Ld=D(vd,[["render",wd]]),Td={name:"SendLockIcon",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"],Id={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"},Ad={key:0};function Dd(t,n,o,l,a,r){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",Id,[o.title?(e.openBlock(),e.createElementBlock("title",Ad,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Vd))],16,Bd)}const $d=D(Td,[["render",Dd]]),Od={name:"PlayIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Pd=["aria-hidden","aria-label"],Rd=["fill","width","height"],Md={d:"M8,5.14V19.14L19,12.14L8,5.14Z"},xd={key:0};function Fd(t,n,o,l,a,r){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",Md,[o.title?(e.openBlock(),e.createElementBlock("title",xd,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Rd))],16,Pd)}const Ud=D(Od,[["render",Fd]]),Hd={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},zd=["aria-hidden","aria-label"],Wd=["fill","width","height"],jd={d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"},Gd={key:0};function Kd(t,n,o,l,a,r){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",jd,[o.title?(e.openBlock(),e.createElementBlock("title",Gd,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Wd))],16,zd)}const $l=D(Hd,[["render",Kd]]),Yd={name:"AlertIcon",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:"M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z"},Jd={key:0};function Qd(t,n,o,l,a,r){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",Zd,[o.title?(e.openBlock(),e.createElementBlock("title",Jd,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Xd))],16,qd)}const Kt=D(Yd,[["render",Qd]]),em={name:"SkipForwardIcon",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:"M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12"},lm={key:0};function rm(t,n,o,l,a,r){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",om,[o.title?(e.openBlock(),e.createElementBlock("title",lm,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,nm))],16,tm)}const am=D(em,[["render",rm]]),im=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,a=e.inject(Wn),r=e.inject(Dl),i=e.computed(()=>o.data.color??"primary"),s=e.computed(()=>w.Utils.afterLastDot(o.id)),c=e.computed(()=>{const E=o.data.executionId;if(E)return E===a?.value?.id?a?.value:Object.values(r?.value||{}).find(f=>f.id===E)}),u=e.computed(()=>c.value&&c.value.taskRunList?c.value.taskRunList:[]),d=e.computed(()=>u.value.filter(E=>E.taskId===w.Utils.afterLastDot(o.data.node.uid))),p=e.computed(()=>{if(!d.value?.length)return null;if(d.value.length===1)return d.value[0].state.current;const E=d.value.map(T=>T.state.current),f=[ne.FAILED,ne.KILLED,ne.WARNING,ne.SKIPPED,ne.KILLING,ne.RUNNING,ne.SUCCESS,ne.RESTARTED,ne.CREATED];return E.map(T=>[f.indexOf(T[1]),T]).sort().map(T=>T[1])[0]}),h=e.computed(()=>({"execution-no-taskrun":!!(c.value&&d.value&&d.value.length===0)})),_=e.computed(()=>({id:o.id,type:String(o.data.node.task.type)})),v=e.computed(()=>{if(o.data.node.type?.endsWith("SubflowGraphTask")&&o.enableSubflowInteraction){const E=o.data.node.task.subflowId??o.data.node.task;return{...o.data,link:{namespace:E.namespace,id:E.flowId,executionId:c.value?.taskRunList.filter(f=>f.id===o.data.node.taskRun.id&&f.outputs?.executionId)?.[0]?.outputs?.executionId}}}return o.data}),k=e.computed(()=>{if(p.value===ne.RUNNING)return"task is running";if(p.value===ne.SUCCESS)return"task was successful";if(p.value===ne.WARNING)return"task sent a warning";if(p.value===ne.SKIPPED)return"task was skipped";if(p.value===ne.FAILED)return"task failed"});return(E,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(oe.Handle),{type:"source",position:E.sourcePosition},null,8,["position"]),e.createVNode(zn,{id:E.id,data:v.value,state:p.value,class:e.normalizeClass(h.value),icons:E.icons,"icon-component":E.iconComponent,onShowDescription:f[6]||(f[6]=y=>l(e.unref(w.EVENTS).SHOW_DESCRIPTION,y)),onExpand:f[7]||(f[7]=y=>l(e.unref(w.EVENTS).EXPAND,_.value)),onOpenLink:f[8]||(f[8]=y=>l(e.unref(w.EVENTS).OPEN_LINK,y)),onMouseover:f[9]||(f[9]=y=>l(e.unref(w.EVENTS).MOUSE_OVER,y)),onMouseleave:f[10]||(f[10]=y=>l(e.unref(w.EVENTS).MOUSE_LEAVE))},{content:e.withCtx(()=>[c.value?(e.openBlock(),e.createBlock(Ou,{key:0,execution:c.value,task:E.data.node.task,color:i.value,uid:E.data.node.uid,state:p.value},null,8,["execution","task","color","uid","state"])):e.createCommentVNode("",!0),E.data.node.task?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[E.playgroundEnabled&&E.playgroundReadyToStart?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:"playground-button",onClick:f[0]||(f[0]=y=>l(e.unref(w.EVENTS).RUN_TASK,{task:E.data.node.task}))},[e.createVNode(j,{style:{display:"flex"},title:E.$t("run task in playground")},{default:e.withCtx(()=>[e.createVNode(Ud,{class:"button-play-icon",alt:E.$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-${p.value?.toLowerCase()})`,backgroundColor:`var(--ks-background-${p.value?.toLowerCase()})`})},[e.createVNode(j,{style:{display:"flex"},title:k.value?E.$t(k.value):void 0},{default:e.withCtx(()=>[p.value===e.unref(ne).RUNNING?(e.openBlock(),e.createBlock(el,{key:0,alt:k.value?E.$t(k.value):void 0},null,8,["alt"])):p.value===e.unref(ne).SUCCESS?(e.openBlock(),e.createBlock($l,{key:1,alt:k.value?E.$t(k.value):void 0},null,8,["alt"])):p.value===e.unref(ne).WARNING?(e.openBlock(),e.createBlock(Kt,{key:2,alt:k.value?E.$t(k.value):void 0},null,8,["alt"])):p.value===e.unref(ne).SKIPPED?(e.openBlock(),e.createBlock(am,{key:3,alt:k.value?E.$t(k.value):void 0},null,8,["alt"])):p.value===e.unref(ne).FAILED?(e.openBlock(),e.createBlock(At,{key:4,alt:k.value?E.$t(k.value):void 0},null,8,["alt"])):e.createCommentVNode("",!0)]),_:1},8,["title"])],4))],64)):e.createCommentVNode("",!0)]),"badge-button-before":e.withCtx(()=>[E.data.node.task&&E.data.node.task.runIf?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["circle-button",["bg-warning"]]),onClick:f[1]||(f[1]=y=>l(e.unref(w.EVENTS).SHOW_CONDITION,{id:s.value,task:E.data.node.task,section:e.unref(w.SECTIONS).TASKS}))},[e.createVNode(j,{title:E.$t("show task condition")},{default:e.withCtx(()=>[e.createVNode($d,{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:f[2]||(f[2]=y=>l(e.unref(w.EVENTS).SHOW_LOGS,{id:s.value,execution:c.value,taskRuns:d.value}))},[e.createVNode(j,{title:E.$t("show task logs")},{default:e.withCtx(()=>[e.createVNode(_d,{class:"button-icon",alt:"Show logs"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0),!c.value&&!E.data.isReadOnly&&E.data.isFlowable?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:f[3]||(f[3]=y=>l(e.unref(w.EVENTS).ADD_ERROR,{task:E.data.node.task}))},[e.createVNode(j,{title:E.$t("add error handler")},{default:e.withCtx(()=>[e.createVNode(Ld,{class:"button-icon",alt:"Add error handler"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0),!c.value&&!E.data.isReadOnly?(e.openBlock(),e.createElementBlock("span",{key:3,class:e.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:f[4]||(f[4]=y=>l(e.unref(w.EVENTS).EDIT,{task:E.data.node.task,section:e.unref(w.SECTIONS).TASKS}))},[e.createVNode(j,{title:E.$t("edit")},{default:e.withCtx(()=>[e.createVNode(jn,{class:"button-icon",alt:"Edit task"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0),!c.value&&!E.data.isReadOnly?(e.openBlock(),e.createElementBlock("span",{key:4,class:e.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:f[5]||(f[5]=y=>l(e.unref(w.EVENTS).DELETE,{id:s.value,section:e.unref(w.SECTIONS).TASKS}))},[e.createVNode(j,{title:E.$t("delete")},{default:e.withCtx(()=>[e.createVNode(Gn,{class:"button-icon",alt:"Delete task"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0)]),_:1},8,["id","data","state","class","icons","icon-component"]),e.createVNode(e.unref(oe.Handle),{type:"target",position:E.targetPosition},null,8,["position"])],64))}}),sm=D(im,[["__scopeId","data-v-3bf9185b"]]),cm={name:"Task",inheritAttrs:!1,inject:{execution:{from:Wn}},computed:{SECTIONS(){return w.SECTIONS},EVENTS(){return w.EVENTS},color(){return this.data.color??"primary"},formattedData(){return{...this.data,unused:this.data.node?.triggerDeclaration?.disabled||this.data.node?.trigger?.disabled}},triggerId(){return w.Utils.afterLastDot(this.id)}},emits:[w.EVENTS.DELETE,w.EVENTS.EDIT,w.EVENTS.SHOW_DESCRIPTION],components:{Delete:Gn,Pencil:jn,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)}}},um=Object.assign(cm,{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(zn,{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(w.EVENTS).SHOW_DESCRIPTION,l)),onExpand:o[3]||(o[3]=l=>n.forwardEvent(e.unref(w.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(w.EVENTS).EDIT,{task:t.data.node.triggerDeclaration,section:e.unref(w.SECTIONS).TRIGGERS}))},[e.createVNode(j,{title:n.$t("edit")},{default:e.withCtx(()=>[e.createVNode(jn,{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(w.EVENTS).DELETE,{id:n.triggerId,section:e.unref(w.SECTIONS).TRIGGERS}))},[e.createVNode(j,{title:n.$t("delete")},{default:e.withCtx(()=>[e.createVNode(Gn,{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))}}),dm={name:"LightningBoltIcon",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"],pm={d:"M11 15H6L13 1V9H18L11 23V15Z"},gm={key:0};function hm(t,n,o,l,a,r){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",pm,[o.title?(e.openBlock(),e.createElementBlock("title",gm,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,fm))],16,mm)}const Em=D(dm,[["render",hm]]),ym={class:"collapsed-cluster-node d-flex"},km={class:"node-text"},_m={class:"text-white top-button-div"},vm={components:{Tooltip:j,Handle:oe.Handle,ArrowExpand:Hn,LightningBolt:Em},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 w.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}}},Cm=Object.assign(vm,{__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",ym,[e.createElementVNode("span",km,[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(w.Utils).afterLastDot(t.id)),1)]),e.createElementVNode("div",_m,[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(w.EVENTS).EXPAND,{id:t.id}))},[e.createVNode(j,{title:n.$t("expand")},{default:e.withCtx(()=>[e.createVNode(Hn,{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))}}),Nm=D(Cm,[["__scopeId","data-v-89413b39"]]),Sm={name:"SplitCellsVerticalIcon",emits:["click"]},bm={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function wm(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("svg",bm,[...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 Lm=D(Sm,[["render",wm],["__scopeId","data-v-084c51e6"]]),Tm={name:"SplitCellsHorizontalIcon",emits:["click"]},Bm={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Vm(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("svg",Bm,[...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 Im=D(Tm,[["render",Vm],["__scopeId","data-v-c77c1469"]]),Am={name:"DownloadIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Dm=["aria-hidden","aria-label"],$m=["fill","width","height"],Om={d:"M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z"},Pm={key:0};function Rm(t,n,o,l,a,r){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",Om,[o.title?(e.openBlock(),e.createElementBlock("title",Pm,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,$m))],16,Dm)}const Mm=D(Am,[["render",Rm]]);function xm(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"),a=o.createElement("a");return o.head.appendChild(l),o.body.appendChild(a),n&&(l.href=n),a.href=t,a.href}const Fm=(()=>{let t=0;const n=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(t+=1,`u${n()}${t}`)})();function xe(t){const n=[];for(let o=0,l=t.length;o<l;o++)n.push(t[o]);return n}let et=null;function Ol(t={}){return et||(t.includeStyleProperties?(et=t.includeStyleProperties,et):(et=xe(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 Um(t){const n=Rt(t,"border-left-width"),o=Rt(t,"border-right-width");return t.clientWidth+n+o}function Hm(t){const n=Rt(t,"border-top-width"),o=Rt(t,"border-bottom-width");return t.clientHeight+n+o}function Pl(t,n={}){const o=n.width||Um(t),l=n.height||Hm(t);return{width:o,height:l}}function zm(){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 ke=16384;function Wm(t){(t.width>ke||t.height>ke)&&(t.width>ke&&t.height>ke?t.width>t.height?(t.height*=ke/t.width,t.width=ke):(t.width*=ke/t.height,t.height=ke):t.width>ke?(t.height*=ke/t.width,t.width=ke):(t.width*=ke/t.height,t.height=ke))}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 jm(t){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(t)).then(encodeURIComponent).then(n=>`data:image/svg+xml;charset=utf-8,${n}`)}async function Gm(t,n,o){const l="http://www.w3.org/2000/svg",a=document.createElementNS(l,"svg"),r=document.createElementNS(l,"foreignObject");return a.setAttribute("width",`${n}`),a.setAttribute("height",`${o}`),a.setAttribute("viewBox",`0 0 ${n} ${o}`),r.setAttribute("width","100%"),r.setAttribute("height","100%"),r.setAttribute("x","0"),r.setAttribute("y","0"),r.setAttribute("externalResourcesRequired","true"),a.appendChild(r),r.appendChild(t),jm(a)}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 Km(t){const n=t.getPropertyValue("content");return`${t.cssText} content: '${n.replace(/'|"/g,"")}';`}function Ym(t,n){return Ol(n).map(o=>{const l=t.getPropertyValue(o),a=t.getPropertyPriority(o);return`${o}: ${l}${a?" !important":""};`}).join(" ")}function qm(t,n,o,l){const a=`.${t}:${n}`,r=o.cssText?Km(o):Ym(o,l);return document.createTextNode(`${a}{${r}}`)}function Fo(t,n,o,l){const a=window.getComputedStyle(t,o),r=a.getPropertyValue("content");if(r===""||r==="none")return;const i=Fm();try{n.className=`${n.className} ${i}`}catch{return}const s=document.createElement("style");s.appendChild(qm(i,o,a,l)),n.appendChild(s)}function Xm(t,n,o){Fo(t,n,":before",o),Fo(t,n,":after",o)}const Uo="application/font-woff",Ho="image/jpeg",Zm={woff:Uo,woff2:Uo,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Ho,jpeg:Ho,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function Jm(t){const n=/\.([^./]*?)$/g.exec(t);return n?n[1]:""}function Kn(t){const n=Jm(t).toLowerCase();return Zm[n]||""}function Qm(t){return t.split(/,/)[1]}function Ln(t){return t.search(/^(data:)/)!==-1}function ef(t,n){return`data:${n};base64,${t}`}async function Rl(t,n,o){const l=await fetch(t,n);if(l.status===404)throw new Error(`Resource "${l.url}" not found`);const a=await l.blob();return new Promise((r,i)=>{const s=new FileReader;s.onerror=i,s.onloadend=()=>{try{r(o({res:l,result:s.result}))}catch(c){i(c)}},s.readAsDataURL(a)})}const mn={};function tf(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 Yn(t,n,o){const l=tf(t,n,o.includeQueryParams);if(mn[l]!=null)return mn[l];o.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+new Date().getTime());let a;try{const r=await Rl(t,o.fetchRequestInit,({res:i,result:s})=>(n||(n=i.headers.get("Content-Type")||""),Qm(s)));a=ef(r,n)}catch(r){a=o.imagePlaceholder||"";let i=`Failed to fetch resource: ${t}`;r&&(i=typeof r=="string"?r:r.message),i&&console.warn(i)}return mn[l]=a,a}async function nf(t){const n=t.toDataURL();return n==="data:,"?t.cloneNode(!1):Mt(n)}async function of(t,n){if(t.currentSrc){const r=document.createElement("canvas"),i=r.getContext("2d");r.width=t.clientWidth,r.height=t.clientHeight,i?.drawImage(t,0,0,r.width,r.height);const s=r.toDataURL();return Mt(s)}const o=t.poster,l=Kn(o),a=await Yn(o,l,n);return Mt(a)}async function lf(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 rf(t,n){return Ee(t,HTMLCanvasElement)?nf(t):Ee(t,HTMLVideoElement)?of(t,n):Ee(t,HTMLIFrameElement)?lf(t,n):t.cloneNode(Ml(t))}const af=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SLOT",Ml=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SVG";async function sf(t,n,o){var l,a;if(Ml(n))return n;let r=[];return af(t)&&t.assignedNodes?r=xe(t.assignedNodes()):Ee(t,HTMLIFrameElement)&&(!((l=t.contentDocument)===null||l===void 0)&&l.body)?r=xe(t.contentDocument.body.childNodes):r=xe(((a=t.shadowRoot)!==null&&a!==void 0?a:t).childNodes),r.length===0||Ee(t,HTMLVideoElement)||await r.reduce((i,s)=>i.then(()=>Yt(s,o)).then(c=>{c&&n.appendChild(c)}),Promise.resolve()),n}function cf(t,n,o){const l=n.style;if(!l)return;const a=window.getComputedStyle(t);a.cssText?(l.cssText=a.cssText,l.transformOrigin=a.transformOrigin):Ol(o).forEach(r=>{let i=a.getPropertyValue(r);r==="font-size"&&i.endsWith("px")&&(i=`${Math.floor(parseFloat(i.substring(0,i.length-2)))-.1}px`),Ee(t,HTMLIFrameElement)&&r==="display"&&i==="inline"&&(i="block"),r==="d"&&n.getAttribute("d")&&(i=`path(${n.getAttribute("d")})`),l.setProperty(r,i,a.getPropertyPriority(r))})}function uf(t,n){Ee(t,HTMLTextAreaElement)&&(n.innerHTML=t.value),Ee(t,HTMLInputElement)&&n.setAttribute("value",t.value)}function df(t,n){if(Ee(t,HTMLSelectElement)){const o=n,l=Array.from(o.children).find(a=>t.value===a.getAttribute("value"));l&&l.setAttribute("selected","")}}function mf(t,n,o){return Ee(n,Element)&&(cf(t,n,o),Xm(t,n,o),uf(t,n),df(t,n)),n}async function ff(t,n){const o=t.querySelectorAll?t.querySelectorAll("use"):[];if(o.length===0)return t;const l={};for(let r=0;r<o.length;r++){const s=o[r].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 a=Object.values(l);if(a.length){const r="http://www.w3.org/1999/xhtml",i=document.createElementNS(r,"svg");i.setAttribute("xmlns",r),i.style.position="absolute",i.style.width="0",i.style.height="0",i.style.overflow="hidden",i.style.display="none";const s=document.createElementNS(r,"defs");i.appendChild(s);for(let c=0;c<a.length;c++)s.appendChild(a[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=>rf(l,n)).then(l=>sf(t,l,n)).then(l=>mf(t,l,n)).then(l=>ff(l,n))}const xl=/url\((['"]?)([^'"]+?)\1\)/g,pf=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,gf=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function hf(t){const n=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${n})(['"]?\\))`,"g")}function Ef(t){const n=[];return t.replace(xl,(o,l,a)=>(n.push(a),o)),n.filter(o=>!Ln(o))}async function yf(t,n,o,l,a){try{const r=o?xm(n,o):n,i=Kn(n);let s;return a||(s=await Yn(r,i,l)),t.replace(hf(n),`$1${s}$3`)}catch{}return t}function kf(t,{preferredFontFormat:n}){return n?t.replace(gf,o=>{for(;;){const[l,,a]=pf.exec(o)||[];if(!a)return"";if(a===n)return`src: ${l};`}}):t}function Fl(t){return t.search(xl)!==-1}async function Ul(t,n,o){if(!Fl(t))return t;const l=kf(t,o);return Ef(l).reduce((r,i)=>r.then(s=>yf(s,i,n,o)),Promise.resolve(l))}async function tt(t,n,o){var l;const a=(l=n.style)===null||l===void 0?void 0:l.getPropertyValue(t);if(a){const r=await Ul(a,null,o);return n.style.setProperty(t,r,n.style.getPropertyPriority(t)),!0}return!1}async function _f(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 vf(t,n){const o=Ee(t,HTMLImageElement);if(!(o&&!Ln(t.src))&&!(Ee(t,SVGImageElement)&&!Ln(t.href.baseVal)))return;const l=o?t.src:t.href.baseVal,a=await Yn(l,Kn(l),n);await new Promise((r,i)=>{t.onload=r,t.onerror=n.onImageErrorHandler?(...c)=>{try{r(n.onImageErrorHandler(...c))}catch(u){i(u)}}:i;const s=t;s.decode&&(s.decode=r),s.loading==="lazy"&&(s.loading="eager"),o?(t.srcset="",t.src=a):t.href.baseVal=a})}async function Cf(t,n){const l=xe(t.childNodes).map(a=>Hl(a,n));await Promise.all(l).then(()=>t)}async function Hl(t,n){Ee(t,Element)&&(await _f(t,n),await vf(t,n),await Cf(t,n))}function Nf(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(a=>{o[a]=l[a]}),t}const zo={};async function Wo(t){let n=zo[t];if(n!=null)return n;const l=await(await fetch(t)).text();return n={url:t,cssText:l},zo[t]=n,n}async function jo(t,n){let o=t.cssText;const l=/url\(["']?([^"')]+)["']?\)/g,r=(o.match(/url\([^)]+\)/g)||[]).map(async i=>{let s=i.replace(l,"$1");return s.startsWith("https://")||(s=new URL(s,t.url).href),Rl(s,n.fetchRequestInit,({result:c})=>(o=o.replace(i,`url(${c})`),[i,c]))});return Promise.all(r).then(()=>o)}function Go(t){if(t==null)return[];const n=[],o=/(\/\*[\s\S]*?\*\/)/gi;let l=t.replace(o,"");const a=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const c=a.exec(l);if(c===null)break;n.push(c[0])}l=l.replace(a,"");const r=/@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=r.exec(l);if(c===null){if(c=s.exec(l),c===null)break;r.lastIndex=s.lastIndex}else s.lastIndex=r.lastIndex;n.push(c[0])}return n}async function Sf(t,n){const o=[],l=[];return t.forEach(a=>{if("cssRules"in a)try{xe(a.cssRules||[]).forEach((r,i)=>{if(r.type===CSSRule.IMPORT_RULE){let s=i+1;const c=r.href,u=Wo(c).then(d=>jo(d,n)).then(d=>Go(d).forEach(p=>{try{a.insertRule(p,p.startsWith("@import")?s+=1:a.cssRules.length)}catch(h){console.error("Error inserting rule from remote css",{rule:p,error:h})}})).catch(d=>{console.error("Error loading remote css",d.toString())});l.push(u)}})}catch(r){const i=t.find(s=>s.href==null)||document.styleSheets[0];a.href!=null&&l.push(Wo(a.href).then(s=>jo(s,n)).then(s=>Go(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",r)}}),Promise.all(l).then(()=>(t.forEach(a=>{if("cssRules"in a)try{xe(a.cssRules||[]).forEach(r=>{o.push(r)})}catch(r){console.error(`Error while reading CSS rules from ${a.href}`,r)}}),o))}function bf(t){return t.filter(n=>n.type===CSSRule.FONT_FACE_RULE).filter(n=>Fl(n.style.getPropertyValue("src")))}async function wf(t,n){if(t.ownerDocument==null)throw new Error("Provided element is not within a Document");const o=xe(t.ownerDocument.styleSheets),l=await Sf(o,n);return bf(l)}function zl(t){return t.trim().replace(/["']/g,"")}function Lf(t){const n=new Set;function o(l){(l.style.fontFamily||getComputedStyle(l).fontFamily).split(",").forEach(r=>{n.add(zl(r))}),Array.from(l.children).forEach(r=>{r instanceof HTMLElement&&o(r)})}return o(t),n}async function Tf(t,n){const o=await wf(t,n),l=Lf(t);return(await Promise.all(o.filter(r=>l.has(zl(r.style.fontFamily))).map(r=>{const i=r.parentStyleSheet?r.parentStyleSheet.href:null;return Ul(r.cssText,i,n)}))).join(`
25
25
  `)}async function Bf(t,n){const o=n.fontEmbedCSS!=null?n.fontEmbedCSS:n.skipFonts?null:await Tf(t,n);if(o){const l=document.createElement("style"),a=document.createTextNode(o);l.appendChild(a),t.firstChild?t.insertBefore(l,t.firstChild):t.appendChild(l)}}async function Vf(t,n={}){const{width:o,height:l}=Pl(t,n),a=await Yt(t,n,!0);return await Bf(a,n),await Hl(a,n),Nf(a,n),await Gm(a,o,l)}async function Wl(t,n={}){const{width:o,height:l}=Pl(t,n),a=await Vf(t,n),r=await Mt(a),i=document.createElement("canvas"),s=i.getContext("2d"),c=n.pixelRatio||zm(),u=n.canvasWidth||o,d=n.canvasHeight||l;return i.width=u*c,i.height=d*c,n.skipAutoScale||Wm(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(r,0,0,i.width,i.height),i}async function If(t,n={}){return(await Wl(t,n)).toDataURL()}async function Af(t,n={}){return(await Wl(t,n)).toDataURL("image/jpeg",n.quality||1)}function Df(){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"),p=Array.from(d).map(h=>{const _=h,v=_.getAttribute("style")||"",k=window.getComputedStyle(_);return _.setAttribute("style",`
26
26
  ${v};
27
27
  stroke: ${k.stroke};
28
28
  stroke-width: ${k.strokeWidth};
29
29
  stroke-dasharray: ${k.strokeDasharray};
30
30
  fill: none;
31
- `),{element:_,original:v}});try{const h=c.type==="jpeg"?await a(s,c):await r(s,c);return c.shouldDownload&&u&&i(u),h}finally{p.forEach(({element:h,original:_})=>_?h.setAttribute("style",_):h.removeAttribute("style")),s.classList.remove("is-exporting")}}function a(s,c={quality:.95}){return o.value=null,Af(s,c).then(u=>(t.value=u,n.value="jpeg",u)).catch(u=>{throw u.value=u,new Error(u)})}function r(s,c={quality:.95}){return o.value=null,If(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 $f={key:1,class:"exporting"},Of=e.defineComponent({__name:"Topology",props:{id:{type:String,required:!0},isHorizontal:{type:Boolean,default:!0},isReadOnly:{type:Boolean,default:!0},isAllowedEdit:{type:Boolean,default:!1},source:{type:String,default:void 0,required:!0},toggleOrientationButton:{type:Boolean,default:!1},flowGraph:{type:Object,required:!0},flowId:{type:String,default:void 0},namespace:{type:String,default:void 0},expandedSubflows:{type:Array,default:()=>[]},icons:{type:Object,default:void 0},iconComponent:{type:Object,default:void 0},enableSubflowInteraction:{type:Boolean,default:!0},execution:{type:Object,default:void 0},subflowsExecutions:{type:Object,default:()=>({})},playgroundEnabled:{type:Boolean,default:!1},playgroundReadyToStart:{type:Boolean,default:!1}},emits:[w.EVENTS.EDIT,w.EVENTS.DELETE,w.EVENTS.RUN_TASK,w.EVENTS.OPEN_LINK,w.EVENTS.SHOW_LOGS,w.EVENTS.SHOW_DESCRIPTION,w.EVENTS.RUN_TASK,"on-add-flowable-error",w.EVENTS.ADD_TASK,"toggle-orientation","loading","swapped-task","message","expand-subflow",w.EVENTS.SHOW_CONDITION],setup(t,{emit:n}){const o=t,l=e.ref(!1),a=e.ref(),{getNodes:r,onNodeDrag:i,onNodeDragStart:s,onNodeDragStop:c,fitView:u,setElements:d,vueFlowRef:p}=oe.useVueFlow(o.id),h=e.ref({}),_=e.ref([]),v=e.ref(new Set),k=e.ref([]),{capture:E}=Df();e.provide(Wn,e.computed(()=>o.execution)),e.provide(Dl,e.computed(()=>o.subflowsExecutions));const f=n;e.onMounted(()=>{y()}),e.watch(()=>o.flowGraph,()=>{y()}),e.watch(()=>o.isHorizontal,()=>{y()});const y=()=>{w.cleanGraph(o.id),e.nextTick(()=>{f("loading",!0);const P=v.value;v.value=new Set,_.value=[],h.value={},P.forEach(H=>M(w.CLUSTER_PREFIX+H,!1,!1));const A=w.generateGraph(o.id,o.flowId,o.namespace,o.flowGraph,o.source,_.value,o.isHorizontal,h.value,v.value,k.value,o.isReadOnly,o.isAllowedEdit,o.enableSubflowInteraction);A&&(d(A),u(),f("loading",!1))})},T=P=>{l.value||w.linkedElements(o.id,P.uid).forEach(A=>{A?.type==="task"&&(A.style={...A.style,outline:"0.5px solid "+Ce("--bs-gray-900")},A.class="rounded-3")})},S=()=>{b()},b=()=>{r.value.filter(P=>P.type==="task"||P.type==="trigger").forEach(P=>{P.style={...P.style,opacity:"1",outline:"none"},P.class=""})};s(P=>{l.value=!0,b(),P.node.style={...P.node.style,zIndex:1976},a.value=P.node.position}),c(P=>{if(l.value=!1,P.intersections&&N(P.intersections,P.node)===null){const A=P.node,H=P.intersections.find(R=>R.type==="task");if(H)try{o.source&&f("swapped-task",{newSource:W.swapBlocks({source:o.source,section:"tasks",key1:w.Utils.afterLastDot(A.id)??"",key2:w.Utils.afterLastDot(H.id)??""}),swappedTasks:[A.id,H.id]})}catch(R){f("message",{variant:"error",title:"cannot swap tasks",message:`${R.message}, ${R.messageOptions}`}),A.position=a.value}else A.position=a.value}else P.node.position=a.value;b(),P.node.style={...P.node.style,zIndex:5},a.value=null});const I=e.computed(()=>o.flowGraph?.clusters?o.flowGraph.clusters.filter(P=>P.cluster.type.endsWith("SubflowGraphCluster")).map(P=>P.cluster.taskNode.uid+"."):[]);i(P=>{b(),r.value.filter(A=>A.id!==P.node.id).forEach(A=>{A.type==="trigger"||A.type==="task"&&(A.id.startsWith(P.node.id+".")||P.node.id.startsWith(A.id+"."))||I?.value?.some(H=>A.id.startsWith(H))?A.style={...A.style,opacity:"0.5"}:A.style={...A.style,opacity:"1"}}),P.intersections&&!N(P.intersections,P.node)&&P.intersections.filter(A=>A.type==="task").length===1&&(P.intersections.forEach(A=>{A.type==="task"&&(A.style={...A.style,outline:"0.5px solid "+Ce("--bs-primary")},A.class="rounded-3")}),P.node.style={...P.node.style,outline:"0.5px solid "+Ce("--bs-primary")},P.node.class="rounded-3")});const N=(P,A)=>{const H=P.filter(R=>R.type==="task").map(R=>w.Utils.afterLastDot(R.id));if(H.length>1)return"toomuchtaskerror";try{if(H.length===1&&o.source&&W.isParentChildrenRelation({source:o.source,sections:["tasks","triggers"],key1:w.Utils.afterLastDot(H[0])??"",key2:w.Utils.afterLastDot(A.id)??"",keyName:"id"}))return"parentchildrenerror"}catch{return"parentchildrenerror"}return P.filter(R=>R.type==="trigger").length>0?"triggererror":null},M=(P,A,H=!1)=>{const R=o.flowGraph.clusters.find(me=>me.cluster.uid.endsWith(P)),Ie=P.replace(w.CLUSTER_PREFIX,"");v.value.add(Ie),_.value=_.value.concat(R.nodes.filter(me=>me!==Ie||H)),_.value=_.value.concat([R.cluster.uid]),h.value={...h.value,[R.cluster.uid]:Ie,[R.start]:Ie,[R.end]:Ie};for(let me of R.nodes)o.flowGraph.clusters.map(He=>He.cluster.uid).includes(me)&&M(me,!1,!0);A&&y()},F=P=>{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(P.type)&&!o.expandedSubflows.includes(P.id)){f("expand-subflow",[...o.expandedSubflows,P.id]);return}h.value={},_.value=[],k.value=[],v.value.delete(P.id),v.value.forEach(H=>M(H,!1,!1)),y()},Q=document.getElementsByTagName("html")[0].className.indexOf("dark")>=0,ge=e.ref(!0),Z=e.ref(!1),Me=()=>Z.value=!Z.value;function Je(P){if(!p.value){console.warn("Flow not found");return}ge.value=!1,E(p.value,{type:P,shouldDownload:!0}).then(()=>ge.value=!0).finally(()=>Z.value=!1)}return(P,A)=>(e.openBlock(),e.createBlock(e.unref(oe.VueFlow),{id:t.id,"default-marker-color":e.unref(Ce)("--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(ru,e.mergeProps(H,{onCollapse:A[0]||(A[0]=R=>M(R,!0))}),null,16)]),"node-dot":e.withCtx(H=>[e.createVNode(pu,e.normalizeProps(e.guardReactiveProps(H)),null,16)]),"node-task":e.withCtx(H=>[e.createVNode(sm,e.mergeProps(H,{icons:t.icons,"icon-component":t.iconComponent,"playground-enabled":t.playgroundEnabled,"playground-ready-to-start":t.playgroundReadyToStart,onEdit:A[1]||(A[1]=R=>f(e.unref(w.EVENTS).EDIT,R)),onDelete:A[2]||(A[2]=R=>f(e.unref(w.EVENTS).DELETE,R)),onRunTask:A[3]||(A[3]=R=>f(e.unref(w.EVENTS).RUN_TASK,R)),onExpand:A[4]||(A[4]=R=>F(R)),onOpenLink:A[5]||(A[5]=R=>f(e.unref(w.EVENTS).OPEN_LINK,R)),onShowLogs:A[6]||(A[6]=R=>f(e.unref(w.EVENTS).SHOW_LOGS,R)),onShowDescription:A[7]||(A[7]=R=>f(e.unref(w.EVENTS).SHOW_DESCRIPTION,R)),onShowCondition:A[8]||(A[8]=R=>f(e.unref(w.EVENTS).SHOW_CONDITION,R)),onMouseover:A[9]||(A[9]=R=>T(R)),onMouseleave:A[10]||(A[10]=R=>S()),onAddError:A[11]||(A[11]=R=>f("on-add-flowable-error",R)),"enable-subflow-interaction":t.enableSubflowInteraction}),null,16,["icons","icon-component","playground-enabled","playground-ready-to-start","enable-subflow-interaction"])]),"node-custom":e.withCtx(H=>[e.createVNode(zn,e.mergeProps(H,{icons:t.icons,"icon-component":t.iconComponent}),null,16,["icons","icon-component"])]),"node-trigger":e.withCtx(H=>[e.createVNode(um,e.mergeProps(H,{icons:t.icons,"icon-component":t.iconComponent,"is-read-only":t.isReadOnly,"is-allowed-edit":t.isAllowedEdit,onDelete:A[12]||(A[12]=R=>f(e.unref(w.EVENTS).DELETE,R)),onEdit:A[13]||(A[13]=R=>f(e.unref(w.EVENTS).EDIT,R)),onShowDescription:A[14]||(A[14]=R=>f(e.unref(w.EVENTS).SHOW_DESCRIPTION,R))}),null,16,["icons","icon-component","is-read-only","is-allowed-edit"])]),"node-collapsedcluster":e.withCtx(H=>[e.createVNode(Nm,e.mergeProps(H,{onExpand:A[15]||(A[15]=R=>F(R))}),null,16)]),"edge-edge":e.withCtx(H=>[e.createVNode(Lu,e.mergeProps(H,{"yaml-source":t.source,onAddTask:A[16]||(A[16]=R=>f(e.unref(w.EVENTS).ADD_TASK,R)),"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(Yc),{"pattern-color":Q?e.unref(Ce)("--bs-grey-500"):e.unref(Ce)("--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:A[17]||(A[17]=H=>f("toggle-orientation",H))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.isHorizontal?Im:Lm)))]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(an.ControlButton),{onClick:Me},{default:e.withCtx(()=>[e.createVNode(Mm)]),_:1}),Z.value?(e.openBlock(),e.createElementBlock("ul",$f,[e.createElementVNode("li",{onClick:A[18]||(A[18]=H=>Je("jpeg")),class:"item"}," Export as .JPEG "),e.createElementVNode("li",{onClick:A[19]||(A[19]=H=>Je("png")),class:"item"}," Export as .PNG ")])):e.createCommentVNode("",!0)]),_:1})):e.createCommentVNode("",!0)]),_:1},8,["id","default-marker-color"]))}}),Pf=D(Of,[["__scopeId","data-v-ccfc7443"]]),Rf={class:"text"},Mf=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),a=e.computed(()=>["status-button",n.status?.toLowerCase()&&`status-button--${n.status.toLowerCase()}`,n.size!=="default"&&`status-button--${n.size}`].filter(Boolean));return(r,i)=>(e.openBlock(),e.createElementBlock("button",{type:"button",class:e.normalizeClass(a.value)},[r.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value),{key:0,class:"icon"})):e.createCommentVNode("",!0),e.createElementVNode("span",Rf,e.toDisplayString(l.value),1)],2))}}),xf=D(Mf,[["__scopeId","data-v-ce6b0e30"]]),Ff={name:"MenuRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Uf=["aria-hidden","aria-label"],Hf=["fill","width","height"],zf={d:"M10,17L15,12L10,7V17Z"},Wf={key:0};function jf(t,n,o,l,a,r){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",zf,[o.title?(e.openBlock(),e.createElementBlock("title",Wf,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Hf))],16,Uf)}const Gf=D(Ff,[["render",jf]]),Kf={name:"MenuDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Yf=["aria-hidden","aria-label"],qf=["fill","width","height"],Xf={d:"M7,10L12,15L17,10H7Z"},Zf={key:0};function Jf(t,n,o,l,a,r){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",Xf,[o.title?(e.openBlock(),e.createElementBlock("title",Zf,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,qf))],16,Yf)}const Qf=D(Kf,[["render",Jf]]);function jl(t){return e.getCurrentScope()?(e.onScopeDispose(t),!0):!1}function Gl(t){return typeof t=="function"?t():e.unref(t)}const ep=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const tp=Object.prototype.toString,np=t=>tp.call(t)==="[object Object]",op=()=>{};function lp(t){return Object.entries(t)}function rp(t){return e.getCurrentInstance()}function ap(t,n=!0,o){rp()?e.onMounted(t,o):n?t():e.nextTick(t)}function Ye(t){var n;const o=Gl(t);return(n=o?.$el)!=null?n:o}const qt=ep?window:void 0;function Ko(...t){let n,o,l,a;if(typeof t[0]=="string"||Array.isArray(t[0])?([o,l,a]=t,n=qt):[n,o,l,a]=t,!n)return op;Array.isArray(o)||(o=[o]),Array.isArray(l)||(l=[l]);const r=[],i=()=>{r.forEach(d=>d()),r.length=0},s=(d,p,h,_)=>(d.addEventListener(p,h,_),()=>d.removeEventListener(p,h,_)),c=e.watch(()=>[Ye(n),Gl(a)],([d,p])=>{if(i(),!d)return;const h=np(p)?{...p}:p;r.push(...o.flatMap(_=>l.map(v=>s(d,_,v,h))))},{immediate:!0,flush:"post"}),u=()=>{c(),i()};return jl(u),u}function ip(){const t=e.ref(!1),n=e.getCurrentInstance();return n&&e.onMounted(()=>{t.value=!0},n),t}function sp(t){const n=ip();return e.computed(()=>(n.value,!!t()))}const Yo=["hash","host","hostname","href","pathname","port","protocol","search"];function Kl(t={}){const{window:n=qt}=t,o=Object.fromEntries(Yo.map(r=>[r,e.ref()]));for(const[r,i]of lp(o))e.watch(i,s=>{!n?.location||n.location[r]===s||(n.location[r]=s)});const l=r=>{var i;const{state:s,length:c}=n?.history||{},{origin:u}=n?.location||{};for(const d of Yo)o[d].value=(i=n?.location)==null?void 0:i[d];return e.reactive({trigger:r,state:s,length:c,origin:u,...o})},a=e.ref(l("load"));return n&&(Ko(n,"popstate",()=>a.value=l("popstate"),{passive:!0}),Ko(n,"hashchange",()=>a.value=l("hashchange"),{passive:!0})),a}function cp(t,n,o={}){const{window:l=qt,...a}=o;let r;const i=sp(()=>l&&"ResizeObserver"in l),s=()=>{r&&(r.disconnect(),r=void 0)},c=e.computed(()=>Array.isArray(t)?t.map(p=>Ye(p)):[Ye(t)]),u=e.watch(c,p=>{if(s(),i.value&&l){r=new ResizeObserver(n);for(const h of p)h&&r.observe(h,a)}},{immediate:!0,flush:"post"}),d=()=>{s(),u()};return jl(d),{isSupported:i,stop:d}}function qo(t,n={width:0,height:0},o={}){const{window:l=qt,box:a="content-box"}=o,r=e.computed(()=>{var p,h;return(h=(p=Ye(t))==null?void 0:p.namespaceURI)==null?void 0:h.includes("svg")}),i=e.ref(n.width),s=e.ref(n.height),{stop:c}=cp(t,([p])=>{const h=a==="border-box"?p.borderBoxSize:a==="content-box"?p.contentBoxSize:p.devicePixelContentBoxSize;if(l&&r.value){const _=Ye(t);if(_){const v=_.getBoundingClientRect();i.value=v.width,s.value=v.height}}else if(h){const _=Array.isArray(h)?h:[h];i.value=_.reduce((v,{inlineSize:k})=>v+k,0),s.value=_.reduce((v,{blockSize:k})=>v+k,0)}else i.value=p.contentRect.width,s.value=p.contentRect.height},o);ap(()=>{const p=Ye(t);p&&(i.value="offsetWidth"in p?p.offsetWidth:n.width,s.value="offsetHeight"in p?p.offsetHeight:n.height)});const u=e.watch(()=>Ye(t),p=>{i.value=p?n.width:0,s.value=p?n.height:0});function d(){c(),u()}return{width:i,height:s,stop:d}}const up=["id","open"],dp={class:"d-flex gap-2 align-items-center"},mp={key:0,class:"d-flex flex-grow-1"},fp=["id"],pp=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),a=Kl(),r=n,i=e.computed(()=>`#${o.href}-body`),s=u=>{u.preventDefault(),u.stopPropagation(),l.value=!l.value,c.value=!l.value,l.value||r("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(()=>a.value.hash,u=>{u===i.value&&l.value&&(c.value=!0,l.value=!1)},{immediate:!0}),(u,d)=>(e.openBlock(),e.createElementBlock("details",{id:u.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",dp,[u.arrow?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.value?Gf:Qf),{key:0,class:"arrow"})):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(u.clickableText)+" ",1),e.renderSlot(u.$slots,"additionalButtonText",{},void 0,!0)]),u.$slots.buttonRight?(e.openBlock(),e.createElementBlock("span",mp,[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:u.href+"-body"},[e.createElementVNode("div",null,[e.renderSlot(u.$slots,"content",{},void 0,!0)])],8,fp)):e.createCommentVNode("",!0)],8,up))}}),ht=D(pp,[["__scopeId","data-v-6b6ffd9a"]]),gp={name:"ChevronRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},hp=["aria-hidden","aria-label"],Ep=["fill","width","height"],yp={d:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"},kp={key:0};function _p(t,n,o,l,a,r){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",yp,[o.title?(e.openBlock(),e.createElementBlock("title",kp,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Ep))],16,hp)}const qn=D(gp,[["render",_p]]),vp={name:"ChevronDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Cp=["aria-hidden","aria-label"],Np=["fill","width","height"],Sp={d:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"},bp={key:0};function wp(t,n,o,l,a,r){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",Sp,[o.title?(e.openBlock(),e.createElementBlock("title",bp,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Np))],16,Cp)}const Xn=D(vp,[["render",wp]]),Lp=["id","open"],Tp={key:0,class:"chevron"},Bp=["id"],Vp=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),a=Kl(),r=n,i=e.computed(()=>`#${o.href}-body`),s=u=>{if(u.preventDefault(),l.value=!l.value,c.value=!l.value,l.value||r("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(()=>a.value.hash,u=>{u===i.value&&l.value&&(c.value=!0,l.value=!1)},{immediate:!0}),(u,d)=>(e.openBlock(),e.createElementBlock("details",{id:u.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(u.title),1),e.renderSlot(u.$slots,"additional",{},void 0,!0)]),e.renderSlot(u.$slots,"right",{},void 0,!0),u.arrow?(e.openBlock(),e.createElementBlock("span",Tp,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.value?qn:Xn)))])):e.createCommentVNode("",!0)],2),u.$slots.content?(e.openBlock(),e.createElementBlock("div",{key:0,id:u.href+"-body"},[e.createElementVNode("div",null,[e.renderSlot(u.$slots,"content",{},void 0,!0)])],8,Bp)):e.createCommentVNode("",!0)],8,Lp))}}),Et=D(Vp,[["__scopeId","data-v-2c211dd3"]]),Ip=["href"],Ap={class:"top-row"},Dp={class:"icon-content"},$p=["src","alt"],Op={class:"text-content"},Pp={key:0,class:"description"},Rp={class:"footer"},Mp={class:"bottom-row"},xp={class:"left"},Fp={key:0},Up={key:1},Hp=e.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(t,{emit:n}){const o=t,l=n,a=e.computed(()=>o.href===void 0?`${o.routePath}/${he(o.text)}`:o.href);return(r,i)=>(e.openBlock(),e.createElementBlock("a",{href:a.value,onClick:i[0]||(i[0]=e.withModifiers(s=>l("navigate",a.value),["prevent"]))},[e.createElementVNode("div",{class:e.normalizeClass(["plugin",{"is-active":r.isActive}])},[e.createElementVNode("div",Ap,[e.createElementVNode("div",Dp,[e.createElementVNode("img",{src:r.iconB64Svg,alt:`${r.text} icon`},null,8,$p)]),e.createElementVNode("div",Op,[e.createElementVNode("h6",null,e.toDisplayString(r.text),1),r.description?(e.openBlock(),e.createElementBlock("p",Pp,e.toDisplayString(r.description),1)):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Rp,[i[3]||(i[3]=e.createElementVNode("hr",null,null,-1)),e.createElementVNode("div",Mp,[e.createElementVNode("div",xp,[o.totalCount?(e.openBlock(),e.createElementBlock("p",Fp,[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",Up,[e.createTextVNode(e.toDisplayString(o.blueprintsCount??0)+" ",1),i[2]||(i[2]=e.createElementVNode("span",null,"Blueprints",-1))])):e.createCommentVNode("",!0)]),e.createVNode(qn)])])],2)],8,Ip))}}),Yl=D(Hp,[["__scopeId","data-v-94a54639"]]),zp=["href"],Wp={class:"top-row"},jp={class:"text-capitalize"},Gp={key:0},Kp={class:"plugin-info"},Yp={class:"plugin-class"},qp=e.defineComponent({__name:"ElementCard",props:{iconB64Svg:{},text:{},routePath:{},pluginClass:{},href:{},isActive:{type:Boolean},title:{}},emits:["navigate"],setup(t,{emit:n}){const o=t,l=n,a=e.computed(()=>o.href===void 0?`${o.routePath}/${he(o.text)}`:o.href);return(r,i)=>(e.openBlock(),e.createElementBlock("a",{href:a.value,onClick:i[0]||(i[0]=e.withModifiers(s=>l("navigate",a.value),["prevent"]))},[e.createElementVNode("div",{class:e.normalizeClass(["element-card",{"is-active":r.isActive}])},[e.createElementVNode("div",Wp,[e.createElementVNode("h6",jp,e.toDisplayString(r.text),1),e.createVNode(qn)]),r.title?(e.openBlock(),e.createElementBlock("div",Gp,[e.renderSlot(r.$slots,"markdown",{content:r.title.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Kp,[e.createElementVNode("code",Yp,e.toDisplayString(r.pluginClass),1)])],2)],8,zp))}}),ql=D(qp,[["__scopeId","data-v-711e6d49"]]),Xp={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Zp=["aria-hidden","aria-label"],Jp=["fill","width","height"],Qp={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"},eg={key:0};function tg(t,n,o,l,a,r){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",Qp,[o.title?(e.openBlock(),e.createElementBlock("title",eg,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Jp))],16,Zp)}const ng=D(Xp,[["render",tg]]),og={key:0,class:"language"},lg=["innerHTML"],rg=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(ng),Check:e.shallowRef($l)},o=t,l=e.ref(!1),a=e.ref(),r=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,a.value&&e.nextTick(()=>{i.value&&s.value&&Dr.createPopper(i.value,s.value,{placement:"left"})})}function d(){clearTimeout(a.value),navigator.clipboard.writeText(o.code.trimEnd()),r.value=n.Check.value,a.value=setTimeout(()=>{r.value=n.ContentCopy.value,a.value=void 0},2e3)}return(p,h)=>(e.openBlock(),e.createElementBlock("div",{class:"code-block",onMouseover:u,onMouseleave:h[0]||(h[0]=_=>l.value=!1)},[p.language&&!l.value?(e.openBlock(),e.createElementBlock("div",og,e.toDisplayString(p.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(r.value),{onClick:d}))],512),a.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"copyTooltip",ref:s,id:"copied-tooltip",role:"tooltip"},[...h[1]||(h[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,lg)],32))}}),xt=D(rg,[["__scopeId","data-v-a899f6a1"]]);function Tt(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 Xl(t){const n=t.split("_")[0];return n.substring(n.lastIndexOf(".")+1)}function Zn(t){if(t.enum)return t.enum;if(t.items?.enum)return t.items.enum;if(t.additionalProperties?.enum)return t.additionalProperties.enum}function Zl(t){return t.allOf&&(t=t.allOf.reduce((n,o)=>({...n,...o}),{...t}),delete t.allOf),t}function at(t){const n={},o=a=>{const r=Tt(a);if(r&&r.length>0)return r;if(a.anyOf)return a.anyOf.flatMap(Tt).filter(i=>i!==void 0).filter(w.Utils.distinctFilter)},l=o(t);if(l?n.types=l:n.types=["object"],n.types.includes("array")&&t.items){const a=o(t.items);a&&t.items.anyOf&&(n.types=n.types.filter(r=>r!=="array").concat(a))}return t.additionalProperties?n.subType=Tt(t.additionalProperties)?.[0]:t.items&&(n.subType=Tt(t.items)?.[0]),n}function Jl(t,n,o=new Set){if(!n)return[];const l=at(t),a=[];if(l.types.forEach(r=>{if(r.startsWith("#")){const i=r.slice(1);n[i]&&!o.has(i)&&!a.includes(i)&&a.push(i)}}),l.subType?.startsWith("#")){const r=l.subType.slice(1);n[r]&&!o.has(r)&&!a.includes(r)&&a.push(r)}return a.map(r=>{const i=n[r];return{key:r,title:i?.title??r.split("_")[0],properties:i?.properties??{}}})}function Ql(t){return t.$dynamic===!0?!0:t.$dynamic===!1?!1:t.anyOf?.some(n=>n.$dynamic===!0)??!1}const ag={name:"FileDocumentIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ig=["aria-hidden","aria-label"],sg=["fill","width","height"],cg={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"},ug={key:0};function dg(t,n,o,l,a,r){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",cg,[o.title?(e.openBlock(),e.createElementBlock("title",ug,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,sg))],16,ig)}const mg=D(ag,[["render",dg]]),fg={class:"me-3"},pg={class:"d-flex flex-column"},gg=e.defineComponent({name:"Alert",__name:"Alert",props:{type:{}},setup(t){const n=t,o=e.computed(()=>{switch(n.type){case"success":return mg;case"info":return At;case"warning":return Kt;case"danger":return gn;default:return At}});return(l,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass("doc-alert alert alert-"+l.type),role:"alert"},[e.createElementVNode("div",fg,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value),{class:"alert-icon"}))]),e.createElementVNode("div",pg,[e.renderSlot(l.$slots,"default",{},void 0,!0)])],2))}}),er=D(gg,[["__scopeId","data-v-f7fd8bc1"]]),hg={name:"EyeOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Eg=["aria-hidden","aria-label"],yg=["fill","width","height"],kg={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"},_g={key:0};function vg(t,n,o,l,a,r){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",kg,[o.title?(e.openBlock(),e.createElementBlock("title",_g,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,yg))],16,Eg)}const tr=D(hg,[["render",vg]]),Cg={class:"property-detail"},Ng={key:0},Sg=["href"],bg={class:"d-flex fw-bold type-box rounded fs-7 px-2 py-1"},wg={class:"ref-type"},Lg={key:1,class:"type-box rounded fs-7 px-2 py-1"},Tg={key:1},Bg={class:"border rounded px-2 py-1"},Vg={key:2},Ig={class:"border rounded px-2 py-1"},Ag={key:3},Dg={class:"border rounded px-2 py-1"},$g={key:4},Og={class:"border rounded px-2 py-1"},Pg={key:5},Rg={class:"border rounded px-2 py-1"},Mg={key:6},xg={class:"border rounded px-2 py-1"},Fg={key:7},Ug={class:"border rounded px-2 py-1"},Hg={key:8},zg={class:"border rounded px-2 py-1"},Wg={key:9},jg={class:"border rounded px-2 py-1"},Gg={key:10},Kg={class:"border rounded px-2 py-1"},Yg={key:11},qg={class:"border rounded px-2 py-1"},Xg={key:12},Zg={class:"border rounded px-2 py-1"},Jg={key:13},Qg={class:"d-flex flex-wrap justify-content-end gap-7 p-0"},e1={key:14},t1={class:"property-description markdown"},n1={key:2},o1=e.defineComponent({__name:"PropertyDetail",props:{property:{}},setup(t){const n=t,o=e.ref(at(n.property).subType),l=e.ref(Zn(n.property)),a=w.sanitizeForMarkdown;return(r,i)=>(e.openBlock(),e.createElementBlock("div",Cg,[o.value?(e.openBlock(),e.createElementBlock("div",Ng,[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",bg,[e.createElementVNode("span",wg,e.toDisplayString(e.unref(Xl)(o.value)),1),e.createVNode(tr)])],8,Sg)):(e.openBlock(),e.createElementBlock("span",Lg,e.toDisplayString(o.value),1))])):e.createCommentVNode("",!0),r.property.default!==void 0?(e.openBlock(),e.createElementBlock("div",Tg,[i[2]||(i[2]=e.createElementVNode("span",null," Default ",-1)),e.createElementVNode("code",Bg,e.toDisplayString(r.property.default),1)])):e.createCommentVNode("",!0),r.property.pattern!==void 0?(e.openBlock(),e.createElementBlock("div",Vg,[i[3]||(i[3]=e.createElementVNode("span",null," Validation RegExp ",-1)),e.createElementVNode("code",Ig,e.toDisplayString(r.property.pattern),1)])):e.createCommentVNode("",!0),r.property.unit!==void 0&&r.property.unit.trim().length>0?(e.openBlock(),e.createElementBlock("div",Ag,[i[4]||(i[4]=e.createElementVNode("span",null," Unit ",-1)),e.createElementVNode("code",Dg,e.toDisplayString(r.property.unit),1)])):e.createCommentVNode("",!0),r.property.minLength!==void 0?(e.openBlock(),e.createElementBlock("div",$g,[i[5]||(i[5]=e.createElementVNode("span",null," Min length ",-1)),e.createElementVNode("code",Og,e.toDisplayString(r.property.minLength),1)])):e.createCommentVNode("",!0),r.property.maxLength!==void 0?(e.openBlock(),e.createElementBlock("div",Pg,[i[6]||(i[6]=e.createElementVNode("span",null," Max length ",-1)),e.createElementVNode("code",Rg,e.toDisplayString(r.property.maxLength),1)])):e.createCommentVNode("",!0),r.property.minItems!==void 0?(e.openBlock(),e.createElementBlock("div",Mg,[i[7]||(i[7]=e.createElementVNode("span",null," Min items ",-1)),e.createElementVNode("code",xg,e.toDisplayString(r.property.minItems),1)])):e.createCommentVNode("",!0),r.property.maxItems!==void 0?(e.openBlock(),e.createElementBlock("div",Fg,[i[8]||(i[8]=e.createElementVNode("span",null," Max items ",-1)),e.createElementVNode("code",Ug,e.toDisplayString(r.property.maxItems),1)])):e.createCommentVNode("",!0),r.property.minimum!==void 0?(e.openBlock(),e.createElementBlock("div",Hg,[i[9]||(i[9]=e.createElementVNode("span",null," Minimum ",-1)),e.createElementVNode("code",zg," >= "+e.toDisplayString(r.property.minimum),1)])):e.createCommentVNode("",!0),r.property.exclusiveMinimum!==void 0?(e.openBlock(),e.createElementBlock("div",Wg,[i[10]||(i[10]=e.createElementVNode("span",null," Minimum ",-1)),e.createElementVNode("code",jg," > "+e.toDisplayString(r.property.minimum),1)])):e.createCommentVNode("",!0),r.property.maximum!==void 0?(e.openBlock(),e.createElementBlock("div",Gg,[i[11]||(i[11]=e.createElementVNode("span",null," Maximum ",-1)),e.createElementVNode("code",Kg," <= "+e.toDisplayString(r.property.maximum),1)])):e.createCommentVNode("",!0),r.property.exclusiveMaximum!==void 0?(e.openBlock(),e.createElementBlock("div",Yg,[i[12]||(i[12]=e.createElementVNode("span",null," Maximum ",-1)),e.createElementVNode("code",qg," < "+e.toDisplayString(r.property.maximum),1)])):e.createCommentVNode("",!0),r.property.format!==void 0?(e.openBlock(),e.createElementBlock("div",Xg,[i[13]||(i[13]=e.createElementVNode("span",null," Format ",-1)),e.createElementVNode("code",Zg,e.toDisplayString(r.property.format),1)])):e.createCommentVNode("",!0),l.value!==void 0?(e.openBlock(),e.createElementBlock("div",Jg,[i[14]||(i[14]=e.createElementVNode("span",null," Possible Values ",-1)),e.createElementVNode("div",Qg,[(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),r.property.title!==void 0||r.property.description!==void 0?(e.openBlock(),e.createElementBlock("div",e1,[e.createElementVNode("div",t1,[r.property.title!==void 0?e.renderSlot(r.$slots,"markdown",{key:0,content:e.unref(a)(r.property.title)},void 0,!0):e.createCommentVNode("",!0),r.property.description!==void 0?e.renderSlot(r.$slots,"markdown",{key:1,content:e.unref(a)(r.property.description)},void 0,!0):e.createCommentVNode("",!0),r.property.$internalStorageURI?(e.openBlock(),e.createElementBlock("div",n1,[e.createVNode(er,{type:"info"},{default:e.withCtx(()=>[e.renderSlot(r.$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)]))}}),l1=D(o1,[["__scopeId","data-v-e4c1ea43"]]),r1={name:"ChevronUpIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},a1=["aria-hidden","aria-label"],i1=["fill","width","height"],s1={d:"M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"},c1={key:0};function u1(t,n,o,l,a,r){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",s1,[o.title?(e.openBlock(),e.createElementBlock("title",c1,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,i1))],16,a1)}const nr=D(r1,[["render",u1]]),d1={name:"SnowflakeIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},m1=["aria-hidden","aria-label"],f1=["fill","width","height"],p1={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"},g1={key:0};function h1(t,n,o,l,a,r){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",p1,[o.title?(e.openBlock(),e.createElementBlock("title",g1,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,f1))],16,m1)}const or=D(d1,[["render",h1]]),E1={name:"AlphaBBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},y1=["aria-hidden","aria-label"],k1=["fill","width","height"],_1={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"},v1={key:0};function C1(t,n,o,l,a,r){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",_1,[o.title?(e.openBlock(),e.createElementBlock("title",v1,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,k1))],16,y1)}const lr=D(E1,[["render",C1]]),N1={class:"border overflow-hidden"},S1={class:"d-flex flex-grow-1 align-items-center justify-content-between"},b1={class:"d-flex gap-2"},w1={class:"d-flex flex-wrap justify-content-end gap-2"},L1=["href"],T1={class:"ref-type"},B1={key:1,class:"type-box rounded fs-7 px-2 py-1"},V1=e.defineComponent({__name:"CollapsibleProperties",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}},emits:["expand"],setup(t,{emit:n}){const o=t,l=n,a=e.ref(!1);e.watch(a,i=>{i&&l("expand")});function r(i){const s=[],c=[];for(const p in i)typeof i[p]=="object"&&(i[p]=Zl(i[p]),i[p].$required?s.push(p):c.push(p));const u=[...s.sort(),...c.sort()],d={};return u.forEach(p=>{(!i[p].$deprecated||o.forceInclude?.includes(p))&&(d[p]=i[p])}),d}return(i,s)=>(e.openBlock(),e.createBlock(ht,{class:"section-collapsible","clickable-text":i.sectionName,href:i.href,onExpand:s[2]||(s[2]=c=>l("expand")),"initially-expanded":i.initiallyExpanded||a.value,"no-url-change":i.noUrlChange},e.createSlots({_:2},[Object.keys(i.properties??{}).length>0?{name:"content",fn:e.withCtx(()=>[e.createElementVNode("div",N1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r(i.properties),(c,u)=>(e.openBlock(),e.createBlock(ht,{class:"property",key:u,arrow:!1,"clickable-text":u,href:i.href+"_"+u,onExpand:s[1]||(s[1]=d=>a.value=!0),"no-url-change":i.noUrlChange},{additionalButtonText:e.withCtx(()=>[c.$required?(e.openBlock(),e.createBlock(j,{key:0,class:"d-flex",title:"Required"},{default:e.withCtx(()=>[...s[3]||(s[3]=[e.createElementVNode("span",{class:"text-danger"}," *",-1)])]),_:1})):e.createCommentVNode("",!0)]),buttonRight:e.withCtx(({collapsed:d})=>[e.createElementVNode("span",S1,[e.createElementVNode("span",b1,[i.showDynamic&&!e.unref(Ql)(c)?(e.openBlock(),e.createBlock(j,{key:0,class:"d-flex",title:"Non-dynamic"},{default:e.withCtx(()=>[e.createVNode(or,{class:"text-info"})]),_:1})):e.createCommentVNode("",!0),c.$beta?(e.openBlock(),e.createBlock(j,{key:1,class:"d-flex",title:"Beta"},{default:e.withCtx(()=>[e.createVNode(lr,{class:"text-warning"})]),_:1})):e.createCommentVNode("",!0),c.$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",w1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(at)(c).types,p=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[p.startsWith("#")?(e.openBlock(),e.createElementBlock("a",{key:0,class:"d-flex fw-bold ref-type-box rounded fs-7 px-2 py-1",href:p,onClick:s[0]||(s[0]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("span",T1,e.toDisplayString(e.unref(Xl)(p)),1),e.createVNode(tr)],8,L1)):(e.openBlock(),e.createElementBlock("span",B1,e.toDisplayString(p),1))],64))),128)),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(d?Xn:nr),{class:"arrow"}))])])]),content:e.withCtx(()=>[e.createVNode(l1,{property:c},{markdown:e.withCtx(({content:d})=>[e.renderSlot(i.$slots,"markdown",{content:d},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"]))}}),Bt=D(V1,[["__scopeId","data-v-a477e27c"]]),I1={class:"d-flex flex-column gap-6"},A1={class:"d-flex flex-column gap-3"},D1={key:0,class:"alert alert-info mb-2",role:"alert"},$1={key:1,class:"plugin-title markdown"},O1={key:2,class:"markdown"},P1={class:"d-flex flex-column gap-4"},R1={class:"d-flex flex-column gap-3"},M1={class:"markdown"},x1={key:0,class:"w-100 align-self-center"},F1={class:"markdown"},U1={class:"markdown"},H1={class:"markdown"},z1={class:"d-flex flex-column gap-7 ps-3"},W1={class:"markdown"},j1=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,a=e.ref(!1),r=e.ref(new Set),i=e.ref(0),s=async()=>{const v=window.location.hash.slice(1);if(!v||!l.schema.definitions){r.value.clear();return}const k=v.replace(/-body$/,""),E=Object.keys(l.schema.definitions).find(f=>k===f||k.startsWith(f+"_"));if(E){a.value=!0,i.value+=1,r.value.clear(),r.value.add(E),await e.nextTick();let f=0;const y=30,T=()=>{const S=document.getElementById(k);S?S.scrollIntoView({behavior:"smooth",block:"start"}):f<y&&(f++,requestAnimationFrame(T))};requestAnimationFrame(T)}else r.value.clear()};e.watch([()=>l.schema,()=>l.pluginType],([v,k],[E,f])=>{(v!==E||k!==f)&&l.schema.definitions&&s()});const c=v=>v?.full?v.code:`id: "${l.pluginType.split(".").reverse()[0]?.toLowerCase()}"
31
+ `),{element:_,original:v}});try{const h=c.type==="jpeg"?await a(s,c):await r(s,c);return c.shouldDownload&&u&&i(u),h}finally{p.forEach(({element:h,original:_})=>_?h.setAttribute("style",_):h.removeAttribute("style")),s.classList.remove("is-exporting")}}function a(s,c={quality:.95}){return o.value=null,Af(s,c).then(u=>(t.value=u,n.value="jpeg",u)).catch(u=>{throw u.value=u,new Error(u)})}function r(s,c={quality:.95}){return o.value=null,If(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 $f={key:1,class:"exporting"},Of=e.defineComponent({__name:"Topology",props:{id:{type:String,required:!0},isHorizontal:{type:Boolean,default:!0},isReadOnly:{type:Boolean,default:!0},isAllowedEdit:{type:Boolean,default:!1},source:{type:String,default:void 0,required:!0},toggleOrientationButton:{type:Boolean,default:!1},flowGraph:{type:Object,required:!0},flowId:{type:String,default:void 0},namespace:{type:String,default:void 0},expandedSubflows:{type:Array,default:()=>[]},icons:{type:Object,default:void 0},iconComponent:{type:Object,default:void 0},enableSubflowInteraction:{type:Boolean,default:!0},execution:{type:Object,default:void 0},subflowsExecutions:{type:Object,default:()=>({})},playgroundEnabled:{type:Boolean,default:!1},playgroundReadyToStart:{type:Boolean,default:!1}},emits:[w.EVENTS.EDIT,w.EVENTS.DELETE,w.EVENTS.RUN_TASK,w.EVENTS.OPEN_LINK,w.EVENTS.SHOW_LOGS,w.EVENTS.SHOW_DESCRIPTION,w.EVENTS.RUN_TASK,"on-add-flowable-error",w.EVENTS.ADD_TASK,"toggle-orientation","loading","swapped-task","message","expand-subflow",w.EVENTS.SHOW_CONDITION],setup(t,{emit:n}){const o=t,l=e.ref(!1),a=e.ref(),{getNodes:r,onNodeDrag:i,onNodeDragStart:s,onNodeDragStop:c,fitView:u,setElements:d,vueFlowRef:p}=oe.useVueFlow(o.id),h=e.ref({}),_=e.ref([]),v=e.ref(new Set),k=e.ref([]),{capture:E}=Df();e.provide(Wn,e.computed(()=>o.execution)),e.provide(Dl,e.computed(()=>o.subflowsExecutions));const f=n;e.onMounted(()=>{y()}),e.watch(()=>o.flowGraph,()=>{y()}),e.watch(()=>o.isHorizontal,()=>{y()});const y=()=>{w.cleanGraph(o.id),e.nextTick(()=>{f("loading",!0);const P=v.value;v.value=new Set,_.value=[],h.value={},P.forEach(H=>M(w.CLUSTER_PREFIX+H,!1,!1));const A=w.generateGraph(o.id,o.flowId,o.namespace,o.flowGraph,o.source,_.value,o.isHorizontal,h.value,v.value,k.value,o.isReadOnly,o.isAllowedEdit,o.enableSubflowInteraction);A&&(d(A),u(),f("loading",!1))})},T=P=>{l.value||w.linkedElements(o.id,P.uid).forEach(A=>{A?.type==="task"&&(A.style={...A.style,outline:"0.5px solid "+Ce("--bs-gray-900")},A.class="rounded-3")})},S=()=>{b()},b=()=>{r.value.filter(P=>P.type==="task"||P.type==="trigger").forEach(P=>{P.style={...P.style,opacity:"1",outline:"none"},P.class=""})};s(P=>{l.value=!0,b(),P.node.style={...P.node.style,zIndex:1976},a.value=P.node.position}),c(P=>{if(l.value=!1,P.intersections&&N(P.intersections,P.node)===null){const A=P.node,H=P.intersections.find(R=>R.type==="task");if(H)try{o.source&&f("swapped-task",{newSource:W.swapBlocks({source:o.source,section:"tasks",key1:w.Utils.afterLastDot(A.id)??"",key2:w.Utils.afterLastDot(H.id)??""}),swappedTasks:[A.id,H.id]})}catch(R){f("message",{variant:"error",title:"cannot swap tasks",message:`${R.message}, ${R.messageOptions}`}),A.position=a.value}else A.position=a.value}else P.node.position=a.value;b(),P.node.style={...P.node.style,zIndex:5},a.value=null});const I=e.computed(()=>o.flowGraph?.clusters?o.flowGraph.clusters.filter(P=>P.cluster.type.endsWith("SubflowGraphCluster")).map(P=>P.cluster.taskNode.uid+"."):[]);i(P=>{b(),r.value.filter(A=>A.id!==P.node.id).forEach(A=>{A.type==="trigger"||A.type==="task"&&(A.id.startsWith(P.node.id+".")||P.node.id.startsWith(A.id+"."))||I?.value?.some(H=>A.id.startsWith(H))?A.style={...A.style,opacity:"0.5"}:A.style={...A.style,opacity:"1"}}),P.intersections&&!N(P.intersections,P.node)&&P.intersections.filter(A=>A.type==="task").length===1&&(P.intersections.forEach(A=>{A.type==="task"&&(A.style={...A.style,outline:"0.5px solid "+Ce("--bs-primary")},A.class="rounded-3")}),P.node.style={...P.node.style,outline:"0.5px solid "+Ce("--bs-primary")},P.node.class="rounded-3")});const N=(P,A)=>{const H=P.filter(R=>R.type==="task").map(R=>w.Utils.afterLastDot(R.id));if(H.length>1)return"toomuchtaskerror";try{if(H.length===1&&o.source&&W.isParentChildrenRelation({source:o.source,sections:["tasks","triggers"],key1:w.Utils.afterLastDot(H[0])??"",key2:w.Utils.afterLastDot(A.id)??"",keyName:"id"}))return"parentchildrenerror"}catch{return"parentchildrenerror"}return P.filter(R=>R.type==="trigger").length>0?"triggererror":null},M=(P,A,H=!1)=>{const R=o.flowGraph.clusters.find(me=>me.cluster.uid.endsWith(P)),Ie=P.replace(w.CLUSTER_PREFIX,"");v.value.add(Ie),_.value=_.value.concat(R.nodes.filter(me=>me!==Ie||H)),_.value=_.value.concat([R.cluster.uid]),h.value={...h.value,[R.cluster.uid]:Ie,[R.start]:Ie,[R.end]:Ie};for(let me of R.nodes)o.flowGraph.clusters.map(He=>He.cluster.uid).includes(me)&&M(me,!1,!0);A&&y()},U=P=>{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(P.type)&&!o.expandedSubflows.includes(P.id)){f("expand-subflow",[...o.expandedSubflows,P.id]);return}h.value={},_.value=[],k.value=[],v.value.delete(P.id),v.value.forEach(H=>M(H,!1,!1)),y()},Q=document.getElementsByTagName("html")[0].className.indexOf("dark")>=0,ge=e.ref(!0),Z=e.ref(!1),Me=()=>Z.value=!Z.value;function Je(P){if(!p.value){console.warn("Flow not found");return}ge.value=!1,E(p.value,{type:P,shouldDownload:!0}).then(()=>ge.value=!0).finally(()=>Z.value=!1)}return(P,A)=>(e.openBlock(),e.createBlock(e.unref(oe.VueFlow),{id:t.id,"default-marker-color":e.unref(Ce)("--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(ru,e.mergeProps(H,{onCollapse:A[0]||(A[0]=R=>M(R,!0))}),null,16)]),"node-dot":e.withCtx(H=>[e.createVNode(pu,e.normalizeProps(e.guardReactiveProps(H)),null,16)]),"node-task":e.withCtx(H=>[e.createVNode(sm,e.mergeProps(H,{icons:t.icons,"icon-component":t.iconComponent,"playground-enabled":t.playgroundEnabled,"playground-ready-to-start":t.playgroundReadyToStart,onEdit:A[1]||(A[1]=R=>f(e.unref(w.EVENTS).EDIT,R)),onDelete:A[2]||(A[2]=R=>f(e.unref(w.EVENTS).DELETE,R)),onRunTask:A[3]||(A[3]=R=>f(e.unref(w.EVENTS).RUN_TASK,R)),onExpand:A[4]||(A[4]=R=>U(R)),onOpenLink:A[5]||(A[5]=R=>f(e.unref(w.EVENTS).OPEN_LINK,R)),onShowLogs:A[6]||(A[6]=R=>f(e.unref(w.EVENTS).SHOW_LOGS,R)),onShowDescription:A[7]||(A[7]=R=>f(e.unref(w.EVENTS).SHOW_DESCRIPTION,R)),onShowCondition:A[8]||(A[8]=R=>f(e.unref(w.EVENTS).SHOW_CONDITION,R)),onMouseover:A[9]||(A[9]=R=>T(R)),onMouseleave:A[10]||(A[10]=R=>S()),onAddError:A[11]||(A[11]=R=>f("on-add-flowable-error",R)),"enable-subflow-interaction":t.enableSubflowInteraction}),null,16,["icons","icon-component","playground-enabled","playground-ready-to-start","enable-subflow-interaction"])]),"node-custom":e.withCtx(H=>[e.createVNode(zn,e.mergeProps(H,{icons:t.icons,"icon-component":t.iconComponent}),null,16,["icons","icon-component"])]),"node-trigger":e.withCtx(H=>[e.createVNode(um,e.mergeProps(H,{icons:t.icons,"icon-component":t.iconComponent,"is-read-only":t.isReadOnly,"is-allowed-edit":t.isAllowedEdit,onDelete:A[12]||(A[12]=R=>f(e.unref(w.EVENTS).DELETE,R)),onEdit:A[13]||(A[13]=R=>f(e.unref(w.EVENTS).EDIT,R)),onShowDescription:A[14]||(A[14]=R=>f(e.unref(w.EVENTS).SHOW_DESCRIPTION,R))}),null,16,["icons","icon-component","is-read-only","is-allowed-edit"])]),"node-collapsedcluster":e.withCtx(H=>[e.createVNode(Nm,e.mergeProps(H,{onExpand:A[15]||(A[15]=R=>U(R))}),null,16)]),"edge-edge":e.withCtx(H=>[e.createVNode(Lu,e.mergeProps(H,{"yaml-source":t.source,onAddTask:A[16]||(A[16]=R=>f(e.unref(w.EVENTS).ADD_TASK,R)),"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(Yc),{"pattern-color":Q?e.unref(Ce)("--bs-grey-500"):e.unref(Ce)("--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:A[17]||(A[17]=H=>f("toggle-orientation",H))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.isHorizontal?Im:Lm)))]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(an.ControlButton),{onClick:Me},{default:e.withCtx(()=>[e.createVNode(Mm)]),_:1}),Z.value?(e.openBlock(),e.createElementBlock("ul",$f,[e.createElementVNode("li",{onClick:A[18]||(A[18]=H=>Je("jpeg")),class:"item"}," Export as .JPEG "),e.createElementVNode("li",{onClick:A[19]||(A[19]=H=>Je("png")),class:"item"}," Export as .PNG ")])):e.createCommentVNode("",!0)]),_:1})):e.createCommentVNode("",!0)]),_:1},8,["id","default-marker-color"]))}}),Pf=D(Of,[["__scopeId","data-v-ccfc7443"]]),Rf={class:"text"},Mf=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),a=e.computed(()=>["status-button",n.status?.toLowerCase()&&`status-button--${n.status.toLowerCase()}`,n.size!=="default"&&`status-button--${n.size}`].filter(Boolean));return(r,i)=>(e.openBlock(),e.createElementBlock("button",{type:"button",class:e.normalizeClass(a.value)},[r.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value),{key:0,class:"icon"})):e.createCommentVNode("",!0),e.createElementVNode("span",Rf,e.toDisplayString(l.value),1)],2))}}),xf=D(Mf,[["__scopeId","data-v-ce6b0e30"]]),Ff={name:"MenuRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Uf=["aria-hidden","aria-label"],Hf=["fill","width","height"],zf={d:"M10,17L15,12L10,7V17Z"},Wf={key:0};function jf(t,n,o,l,a,r){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",zf,[o.title?(e.openBlock(),e.createElementBlock("title",Wf,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Hf))],16,Uf)}const Gf=D(Ff,[["render",jf]]),Kf={name:"MenuDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Yf=["aria-hidden","aria-label"],qf=["fill","width","height"],Xf={d:"M7,10L12,15L17,10H7Z"},Zf={key:0};function Jf(t,n,o,l,a,r){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",Xf,[o.title?(e.openBlock(),e.createElementBlock("title",Zf,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,qf))],16,Yf)}const Qf=D(Kf,[["render",Jf]]);function jl(t){return e.getCurrentScope()?(e.onScopeDispose(t),!0):!1}function Gl(t){return typeof t=="function"?t():e.unref(t)}const ep=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const tp=Object.prototype.toString,np=t=>tp.call(t)==="[object Object]",op=()=>{};function lp(t){return Object.entries(t)}function rp(t){return e.getCurrentInstance()}function ap(t,n=!0,o){rp()?e.onMounted(t,o):n?t():e.nextTick(t)}function Ye(t){var n;const o=Gl(t);return(n=o?.$el)!=null?n:o}const qt=ep?window:void 0;function Ko(...t){let n,o,l,a;if(typeof t[0]=="string"||Array.isArray(t[0])?([o,l,a]=t,n=qt):[n,o,l,a]=t,!n)return op;Array.isArray(o)||(o=[o]),Array.isArray(l)||(l=[l]);const r=[],i=()=>{r.forEach(d=>d()),r.length=0},s=(d,p,h,_)=>(d.addEventListener(p,h,_),()=>d.removeEventListener(p,h,_)),c=e.watch(()=>[Ye(n),Gl(a)],([d,p])=>{if(i(),!d)return;const h=np(p)?{...p}:p;r.push(...o.flatMap(_=>l.map(v=>s(d,_,v,h))))},{immediate:!0,flush:"post"}),u=()=>{c(),i()};return jl(u),u}function ip(){const t=e.ref(!1),n=e.getCurrentInstance();return n&&e.onMounted(()=>{t.value=!0},n),t}function sp(t){const n=ip();return e.computed(()=>(n.value,!!t()))}const Yo=["hash","host","hostname","href","pathname","port","protocol","search"];function Kl(t={}){const{window:n=qt}=t,o=Object.fromEntries(Yo.map(r=>[r,e.ref()]));for(const[r,i]of lp(o))e.watch(i,s=>{!n?.location||n.location[r]===s||(n.location[r]=s)});const l=r=>{var i;const{state:s,length:c}=n?.history||{},{origin:u}=n?.location||{};for(const d of Yo)o[d].value=(i=n?.location)==null?void 0:i[d];return e.reactive({trigger:r,state:s,length:c,origin:u,...o})},a=e.ref(l("load"));return n&&(Ko(n,"popstate",()=>a.value=l("popstate"),{passive:!0}),Ko(n,"hashchange",()=>a.value=l("hashchange"),{passive:!0})),a}function cp(t,n,o={}){const{window:l=qt,...a}=o;let r;const i=sp(()=>l&&"ResizeObserver"in l),s=()=>{r&&(r.disconnect(),r=void 0)},c=e.computed(()=>Array.isArray(t)?t.map(p=>Ye(p)):[Ye(t)]),u=e.watch(c,p=>{if(s(),i.value&&l){r=new ResizeObserver(n);for(const h of p)h&&r.observe(h,a)}},{immediate:!0,flush:"post"}),d=()=>{s(),u()};return jl(d),{isSupported:i,stop:d}}function qo(t,n={width:0,height:0},o={}){const{window:l=qt,box:a="content-box"}=o,r=e.computed(()=>{var p,h;return(h=(p=Ye(t))==null?void 0:p.namespaceURI)==null?void 0:h.includes("svg")}),i=e.ref(n.width),s=e.ref(n.height),{stop:c}=cp(t,([p])=>{const h=a==="border-box"?p.borderBoxSize:a==="content-box"?p.contentBoxSize:p.devicePixelContentBoxSize;if(l&&r.value){const _=Ye(t);if(_){const v=_.getBoundingClientRect();i.value=v.width,s.value=v.height}}else if(h){const _=Array.isArray(h)?h:[h];i.value=_.reduce((v,{inlineSize:k})=>v+k,0),s.value=_.reduce((v,{blockSize:k})=>v+k,0)}else i.value=p.contentRect.width,s.value=p.contentRect.height},o);ap(()=>{const p=Ye(t);p&&(i.value="offsetWidth"in p?p.offsetWidth:n.width,s.value="offsetHeight"in p?p.offsetHeight:n.height)});const u=e.watch(()=>Ye(t),p=>{i.value=p?n.width:0,s.value=p?n.height:0});function d(){c(),u()}return{width:i,height:s,stop:d}}const up=["id","open"],dp={class:"d-flex gap-2 align-items-center"},mp={key:0,class:"d-flex flex-grow-1"},fp=["id"],pp=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),a=Kl(),r=n,i=e.computed(()=>`#${o.href}-body`),s=u=>{u.preventDefault(),u.stopPropagation(),l.value=!l.value,c.value=!l.value,l.value||r("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(()=>a.value.hash,u=>{u===i.value&&l.value&&(c.value=!0,l.value=!1)},{immediate:!0}),(u,d)=>(e.openBlock(),e.createElementBlock("details",{id:u.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",dp,[u.arrow?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.value?Gf:Qf),{key:0,class:"arrow"})):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(u.clickableText)+" ",1),e.renderSlot(u.$slots,"additionalButtonText",{},void 0,!0)]),u.$slots.buttonRight?(e.openBlock(),e.createElementBlock("span",mp,[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:u.href+"-body"},[e.createElementVNode("div",null,[e.renderSlot(u.$slots,"content",{},void 0,!0)])],8,fp)):e.createCommentVNode("",!0)],8,up))}}),ht=D(pp,[["__scopeId","data-v-6b6ffd9a"]]),gp={name:"ChevronRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},hp=["aria-hidden","aria-label"],Ep=["fill","width","height"],yp={d:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"},kp={key:0};function _p(t,n,o,l,a,r){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",yp,[o.title?(e.openBlock(),e.createElementBlock("title",kp,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Ep))],16,hp)}const qn=D(gp,[["render",_p]]),vp={name:"ChevronDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Cp=["aria-hidden","aria-label"],Np=["fill","width","height"],Sp={d:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"},bp={key:0};function wp(t,n,o,l,a,r){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",Sp,[o.title?(e.openBlock(),e.createElementBlock("title",bp,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Np))],16,Cp)}const Xn=D(vp,[["render",wp]]),Lp=["id","open"],Tp={key:0,class:"chevron"},Bp=["id"],Vp=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),a=Kl(),r=n,i=e.computed(()=>`#${o.href}-body`),s=u=>{if(u.preventDefault(),l.value=!l.value,c.value=!l.value,l.value||r("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(()=>a.value.hash,u=>{u===i.value&&l.value&&(c.value=!0,l.value=!1)},{immediate:!0}),(u,d)=>(e.openBlock(),e.createElementBlock("details",{id:u.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(u.title)+" ",1),e.renderSlot(u.$slots,"additional",{},void 0,!0)]),e.renderSlot(u.$slots,"right",{},void 0,!0),u.arrow?(e.openBlock(),e.createElementBlock("span",Tp,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.value?qn:Xn)))])):e.createCommentVNode("",!0)],2),u.$slots.content?(e.openBlock(),e.createElementBlock("div",{key:0,id:u.href+"-body"},[e.createElementVNode("div",null,[e.renderSlot(u.$slots,"content",{},void 0,!0)])],8,Bp)):e.createCommentVNode("",!0)],8,Lp))}}),Et=D(Vp,[["__scopeId","data-v-d0f1d871"]]),Ip=["href"],Ap={class:"top-row"},Dp={class:"icon-content"},$p=["src","alt"],Op={class:"text-content"},Pp={key:0,class:"description"},Rp={class:"footer"},Mp={class:"bottom-row"},xp={class:"left"},Fp={key:0},Up={key:1},Hp=e.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(t,{emit:n}){const o=t,l=n,a=e.computed(()=>o.href===void 0?`${o.routePath}/${ve(o.text)}`:o.href);return(r,i)=>(e.openBlock(),e.createElementBlock("a",{href:a.value,onClick:i[0]||(i[0]=e.withModifiers(s=>l("navigate",a.value),["prevent"]))},[e.createElementVNode("div",{class:e.normalizeClass(["plugin",{"is-active":r.isActive}])},[e.createElementVNode("div",Ap,[e.createElementVNode("div",Dp,[e.createElementVNode("img",{src:r.iconB64Svg,alt:`${r.text} icon`},null,8,$p)]),e.createElementVNode("div",Op,[e.createElementVNode("h6",null,e.toDisplayString(r.text),1),r.description?(e.openBlock(),e.createElementBlock("p",Pp,e.toDisplayString(r.description),1)):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Rp,[i[3]||(i[3]=e.createElementVNode("hr",null,null,-1)),e.createElementVNode("div",Mp,[e.createElementVNode("div",xp,[o.totalCount?(e.openBlock(),e.createElementBlock("p",Fp,[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",Up,[e.createTextVNode(e.toDisplayString(o.blueprintsCount??0)+" ",1),i[2]||(i[2]=e.createElementVNode("span",null,"Blueprints",-1))])):e.createCommentVNode("",!0)]),e.createVNode(qn)])])],2)],8,Ip))}}),Yl=D(Hp,[["__scopeId","data-v-5d4d2b8b"]]),zp=["href"],Wp={class:"element-card"},jp={class:"top-row"},Gp={class:"text-capitalize"},Kp={key:0},Yp={class:"plugin-info"},qp={class:"plugin-class"},Xp=e.defineComponent({__name:"ElementCard",props:{iconB64Svg:{},text:{},routePath:{},pluginClass:{},href:{},title:{}},emits:["navigate"],setup(t,{emit:n}){const o=t,l=n,a=e.computed(()=>o.href===void 0?`${o.routePath}/${ve(o.text)}`:o.href);return(r,i)=>(e.openBlock(),e.createElementBlock("a",{href:a.value,onClick:i[0]||(i[0]=e.withModifiers(s=>l("navigate",a.value),["prevent"]))},[e.createElementVNode("div",Wp,[e.createElementVNode("div",jp,[e.createElementVNode("h6",Gp,e.toDisplayString(r.text),1),e.createVNode(qn)]),r.title?(e.openBlock(),e.createElementBlock("div",Kp,[e.renderSlot(r.$slots,"markdown",{content:r.title.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Yp,[e.createElementVNode("code",qp,e.toDisplayString(r.pluginClass),1)])])],8,zp))}}),ql=D(Xp,[["__scopeId","data-v-a3504373"]]),Zp={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Jp=["aria-hidden","aria-label"],Qp=["fill","width","height"],eg={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"},tg={key:0};function ng(t,n,o,l,a,r){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",eg,[o.title?(e.openBlock(),e.createElementBlock("title",tg,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Qp))],16,Jp)}const og=D(Zp,[["render",ng]]),lg={key:0,class:"language"},rg=["innerHTML"],ag=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(og),Check:e.shallowRef($l)},o=t,l=e.ref(!1),a=e.ref(),r=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,a.value&&e.nextTick(()=>{i.value&&s.value&&Dr.createPopper(i.value,s.value,{placement:"left"})})}function d(){clearTimeout(a.value),navigator.clipboard.writeText(o.code.trimEnd()),r.value=n.Check.value,a.value=setTimeout(()=>{r.value=n.ContentCopy.value,a.value=void 0},2e3)}return(p,h)=>(e.openBlock(),e.createElementBlock("div",{class:"code-block",onMouseover:u,onMouseleave:h[0]||(h[0]=_=>l.value=!1)},[p.language&&!l.value?(e.openBlock(),e.createElementBlock("div",lg,e.toDisplayString(p.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(r.value),{onClick:d}))],512),a.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"copyTooltip",ref:s,id:"copied-tooltip",role:"tooltip"},[...h[1]||(h[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,rg)],32))}}),xt=D(ag,[["__scopeId","data-v-a899f6a1"]]);function Tt(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 Xl(t){const n=t.split("_")[0];return n.substring(n.lastIndexOf(".")+1)}function Zn(t){if(t.enum)return t.enum;if(t.items?.enum)return t.items.enum;if(t.additionalProperties?.enum)return t.additionalProperties.enum}function Zl(t){return t.allOf&&(t=t.allOf.reduce((n,o)=>({...n,...o}),{...t}),delete t.allOf),t}function at(t){const n={},o=a=>{const r=Tt(a);if(r&&r.length>0)return r;if(a.anyOf)return a.anyOf.flatMap(Tt).filter(i=>i!==void 0).filter(w.Utils.distinctFilter)},l=o(t);if(l?n.types=l:n.types=["object"],n.types.includes("array")&&t.items){const a=o(t.items);a&&t.items.anyOf&&(n.types=n.types.filter(r=>r!=="array").concat(a))}return t.additionalProperties?n.subType=Tt(t.additionalProperties)?.[0]:t.items&&(n.subType=Tt(t.items)?.[0]),n}function Jl(t,n,o=new Set){if(!n)return[];const l=at(t),a=[];if(l.types.forEach(r=>{if(r.startsWith("#")){const i=r.slice(1);n[i]&&!o.has(i)&&!a.includes(i)&&a.push(i)}}),l.subType?.startsWith("#")){const r=l.subType.slice(1);n[r]&&!o.has(r)&&!a.includes(r)&&a.push(r)}return a.map(r=>{const i=n[r];return{key:r,title:i?.title??r.split("_")[0],properties:i?.properties??{}}})}function Ql(t){return t.$dynamic===!0?!0:t.$dynamic===!1?!1:t.anyOf?.some(n=>n.$dynamic===!0)??!1}const ig={name:"FileDocumentIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},sg=["aria-hidden","aria-label"],cg=["fill","width","height"],ug={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"},dg={key:0};function mg(t,n,o,l,a,r){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",ug,[o.title?(e.openBlock(),e.createElementBlock("title",dg,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,cg))],16,sg)}const fg=D(ig,[["render",mg]]),pg={class:"me-3"},gg={class:"d-flex flex-column"},hg=e.defineComponent({name:"Alert",__name:"Alert",props:{type:{}},setup(t){const n=t,o=e.computed(()=>{switch(n.type){case"success":return fg;case"info":return At;case"warning":return Kt;case"danger":return gn;default:return At}});return(l,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass("doc-alert alert alert-"+l.type),role:"alert"},[e.createElementVNode("div",pg,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value),{class:"alert-icon"}))]),e.createElementVNode("div",gg,[e.renderSlot(l.$slots,"default",{},void 0,!0)])],2))}}),er=D(hg,[["__scopeId","data-v-f7fd8bc1"]]),Eg={name:"EyeOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},yg=["aria-hidden","aria-label"],kg=["fill","width","height"],_g={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"},vg={key:0};function Cg(t,n,o,l,a,r){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",_g,[o.title?(e.openBlock(),e.createElementBlock("title",vg,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,kg))],16,yg)}const tr=D(Eg,[["render",Cg]]),Ng={class:"property-detail"},Sg={key:0},bg=["href"],wg={class:"d-flex fw-bold type-box rounded fs-7 px-2 py-1"},Lg={class:"ref-type"},Tg={key:1,class:"type-box rounded fs-7 px-2 py-1"},Bg={key:1},Vg={class:"border rounded px-2 py-1"},Ig={key:2},Ag={class:"border rounded px-2 py-1"},Dg={key:3},$g={class:"border rounded px-2 py-1"},Og={key:4},Pg={class:"border rounded px-2 py-1"},Rg={key:5},Mg={class:"border rounded px-2 py-1"},xg={key:6},Fg={class:"border rounded px-2 py-1"},Ug={key:7},Hg={class:"border rounded px-2 py-1"},zg={key:8},Wg={class:"border rounded px-2 py-1"},jg={key:9},Gg={class:"border rounded px-2 py-1"},Kg={key:10},Yg={class:"border rounded px-2 py-1"},qg={key:11},Xg={class:"border rounded px-2 py-1"},Zg={key:12},Jg={class:"border rounded px-2 py-1"},Qg={key:13},e1={class:"d-flex flex-wrap justify-content-end gap-7 p-0"},t1={key:14},n1={class:"property-description markdown"},o1={key:2},l1=e.defineComponent({__name:"PropertyDetail",props:{property:{}},setup(t){const n=t,o=e.ref(at(n.property).subType),l=e.ref(Zn(n.property)),a=w.sanitizeForMarkdown;return(r,i)=>(e.openBlock(),e.createElementBlock("div",Ng,[o.value?(e.openBlock(),e.createElementBlock("div",Sg,[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",wg,[e.createElementVNode("span",Lg,e.toDisplayString(e.unref(Xl)(o.value)),1),e.createVNode(tr)])],8,bg)):(e.openBlock(),e.createElementBlock("span",Tg,e.toDisplayString(o.value),1))])):e.createCommentVNode("",!0),r.property.default!==void 0?(e.openBlock(),e.createElementBlock("div",Bg,[i[2]||(i[2]=e.createElementVNode("span",null," Default ",-1)),e.createElementVNode("code",Vg,e.toDisplayString(r.property.default),1)])):e.createCommentVNode("",!0),r.property.pattern!==void 0?(e.openBlock(),e.createElementBlock("div",Ig,[i[3]||(i[3]=e.createElementVNode("span",null," Validation RegExp ",-1)),e.createElementVNode("code",Ag,e.toDisplayString(r.property.pattern),1)])):e.createCommentVNode("",!0),r.property.unit!==void 0&&r.property.unit.trim().length>0?(e.openBlock(),e.createElementBlock("div",Dg,[i[4]||(i[4]=e.createElementVNode("span",null," Unit ",-1)),e.createElementVNode("code",$g,e.toDisplayString(r.property.unit),1)])):e.createCommentVNode("",!0),r.property.minLength!==void 0?(e.openBlock(),e.createElementBlock("div",Og,[i[5]||(i[5]=e.createElementVNode("span",null," Min length ",-1)),e.createElementVNode("code",Pg,e.toDisplayString(r.property.minLength),1)])):e.createCommentVNode("",!0),r.property.maxLength!==void 0?(e.openBlock(),e.createElementBlock("div",Rg,[i[6]||(i[6]=e.createElementVNode("span",null," Max length ",-1)),e.createElementVNode("code",Mg,e.toDisplayString(r.property.maxLength),1)])):e.createCommentVNode("",!0),r.property.minItems!==void 0?(e.openBlock(),e.createElementBlock("div",xg,[i[7]||(i[7]=e.createElementVNode("span",null," Min items ",-1)),e.createElementVNode("code",Fg,e.toDisplayString(r.property.minItems),1)])):e.createCommentVNode("",!0),r.property.maxItems!==void 0?(e.openBlock(),e.createElementBlock("div",Ug,[i[8]||(i[8]=e.createElementVNode("span",null," Max items ",-1)),e.createElementVNode("code",Hg,e.toDisplayString(r.property.maxItems),1)])):e.createCommentVNode("",!0),r.property.minimum!==void 0?(e.openBlock(),e.createElementBlock("div",zg,[i[9]||(i[9]=e.createElementVNode("span",null," Minimum ",-1)),e.createElementVNode("code",Wg," >= "+e.toDisplayString(r.property.minimum),1)])):e.createCommentVNode("",!0),r.property.exclusiveMinimum!==void 0?(e.openBlock(),e.createElementBlock("div",jg,[i[10]||(i[10]=e.createElementVNode("span",null," Minimum ",-1)),e.createElementVNode("code",Gg," > "+e.toDisplayString(r.property.minimum),1)])):e.createCommentVNode("",!0),r.property.maximum!==void 0?(e.openBlock(),e.createElementBlock("div",Kg,[i[11]||(i[11]=e.createElementVNode("span",null," Maximum ",-1)),e.createElementVNode("code",Yg," <= "+e.toDisplayString(r.property.maximum),1)])):e.createCommentVNode("",!0),r.property.exclusiveMaximum!==void 0?(e.openBlock(),e.createElementBlock("div",qg,[i[12]||(i[12]=e.createElementVNode("span",null," Maximum ",-1)),e.createElementVNode("code",Xg," < "+e.toDisplayString(r.property.maximum),1)])):e.createCommentVNode("",!0),r.property.format!==void 0?(e.openBlock(),e.createElementBlock("div",Zg,[i[13]||(i[13]=e.createElementVNode("span",null," Format ",-1)),e.createElementVNode("code",Jg,e.toDisplayString(r.property.format),1)])):e.createCommentVNode("",!0),l.value!==void 0?(e.openBlock(),e.createElementBlock("div",Qg,[i[14]||(i[14]=e.createElementVNode("span",null," Possible Values ",-1)),e.createElementVNode("div",e1,[(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),r.property.title!==void 0||r.property.description!==void 0?(e.openBlock(),e.createElementBlock("div",t1,[e.createElementVNode("div",n1,[r.property.title!==void 0?e.renderSlot(r.$slots,"markdown",{key:0,content:e.unref(a)(r.property.title)},void 0,!0):e.createCommentVNode("",!0),r.property.description!==void 0?e.renderSlot(r.$slots,"markdown",{key:1,content:e.unref(a)(r.property.description)},void 0,!0):e.createCommentVNode("",!0),r.property.$internalStorageURI?(e.openBlock(),e.createElementBlock("div",o1,[e.createVNode(er,{type:"info"},{default:e.withCtx(()=>[e.renderSlot(r.$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)]))}}),r1=D(l1,[["__scopeId","data-v-e4c1ea43"]]),a1={name:"ChevronUpIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},i1=["aria-hidden","aria-label"],s1=["fill","width","height"],c1={d:"M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"},u1={key:0};function d1(t,n,o,l,a,r){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",c1,[o.title?(e.openBlock(),e.createElementBlock("title",u1,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,s1))],16,i1)}const nr=D(a1,[["render",d1]]),m1={name:"SnowflakeIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},f1=["aria-hidden","aria-label"],p1=["fill","width","height"],g1={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"},h1={key:0};function E1(t,n,o,l,a,r){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",g1,[o.title?(e.openBlock(),e.createElementBlock("title",h1,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,p1))],16,f1)}const or=D(m1,[["render",E1]]),y1={name:"AlphaBBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},k1=["aria-hidden","aria-label"],_1=["fill","width","height"],v1={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"},C1={key:0};function N1(t,n,o,l,a,r){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",v1,[o.title?(e.openBlock(),e.createElementBlock("title",C1,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,_1))],16,k1)}const lr=D(y1,[["render",N1]]),S1={class:"border overflow-hidden"},b1={class:"d-flex flex-grow-1 align-items-center justify-content-between"},w1={class:"d-flex gap-2"},L1={class:"d-flex flex-wrap justify-content-end gap-2"},T1=["href"],B1={class:"ref-type"},V1={key:1,class:"type-box rounded fs-7 px-2 py-1"},I1=e.defineComponent({__name:"CollapsibleProperties",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}},emits:["expand"],setup(t,{emit:n}){const o=t,l=n,a=e.ref(!1);e.watch(a,i=>{i&&l("expand")});function r(i){const s=[],c=[];for(const p in i)typeof i[p]=="object"&&(i[p]=Zl(i[p]),i[p].$required?s.push(p):c.push(p));const u=[...s.sort(),...c.sort()],d={};return u.forEach(p=>{(!i[p].$deprecated||o.forceInclude?.includes(p))&&(d[p]=i[p])}),d}return(i,s)=>(e.openBlock(),e.createBlock(ht,{class:"section-collapsible","clickable-text":i.sectionName,href:i.href,onExpand:s[2]||(s[2]=c=>l("expand")),"initially-expanded":i.initiallyExpanded||a.value,"no-url-change":i.noUrlChange},e.createSlots({_:2},[Object.keys(i.properties??{}).length>0?{name:"content",fn:e.withCtx(()=>[e.createElementVNode("div",S1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r(i.properties),(c,u)=>(e.openBlock(),e.createBlock(ht,{class:"property",key:u,arrow:!1,"clickable-text":u,href:i.href+"_"+u,onExpand:s[1]||(s[1]=d=>a.value=!0),"no-url-change":i.noUrlChange},{additionalButtonText:e.withCtx(()=>[c.$required?(e.openBlock(),e.createBlock(j,{key:0,class:"d-flex",title:"Required"},{default:e.withCtx(()=>[...s[3]||(s[3]=[e.createElementVNode("span",{class:"text-danger"}," *",-1)])]),_:1})):e.createCommentVNode("",!0)]),buttonRight:e.withCtx(({collapsed:d})=>[e.createElementVNode("span",b1,[e.createElementVNode("span",w1,[i.showDynamic&&!e.unref(Ql)(c)?(e.openBlock(),e.createBlock(j,{key:0,class:"d-flex",title:"Non-dynamic"},{default:e.withCtx(()=>[e.createVNode(or,{class:"text-info"})]),_:1})):e.createCommentVNode("",!0),c.$beta?(e.openBlock(),e.createBlock(j,{key:1,class:"d-flex",title:"Beta"},{default:e.withCtx(()=>[e.createVNode(lr,{class:"text-warning"})]),_:1})):e.createCommentVNode("",!0),c.$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",L1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(at)(c).types,p=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[p.startsWith("#")?(e.openBlock(),e.createElementBlock("a",{key:0,class:"d-flex fw-bold ref-type-box rounded fs-7 px-2 py-1",href:p,onClick:s[0]||(s[0]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("span",B1,e.toDisplayString(e.unref(Xl)(p)),1),e.createVNode(tr)],8,T1)):(e.openBlock(),e.createElementBlock("span",V1,e.toDisplayString(p),1))],64))),128)),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(d?Xn:nr),{class:"arrow"}))])])]),content:e.withCtx(()=>[e.createVNode(r1,{property:c},{markdown:e.withCtx(({content:d})=>[e.renderSlot(i.$slots,"markdown",{content:d},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"]))}}),Bt=D(I1,[["__scopeId","data-v-a477e27c"]]),A1={class:"d-flex flex-column gap-6"},D1={class:"d-flex flex-column gap-3"},$1={key:0,class:"alert alert-info mb-2",role:"alert"},O1={key:1,class:"plugin-title markdown"},P1={key:2,class:"markdown"},R1={class:"d-flex flex-column gap-4"},M1={class:"d-flex flex-column gap-3"},x1={class:"markdown"},F1={key:0,class:"w-100 align-self-center"},U1={class:"markdown"},H1={class:"markdown"},z1={class:"markdown"},W1={class:"d-flex flex-column gap-7 ps-3"},j1={class:"markdown"},G1=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,a=e.ref(!1),r=e.ref(new Set),i=e.ref(0),s=async()=>{const v=window.location.hash.slice(1);if(!v||!l.schema.definitions){r.value.clear();return}const k=v.replace(/-body$/,""),E=Object.keys(l.schema.definitions).find(f=>k===f||k.startsWith(f+"_"));if(E){a.value=!0,i.value+=1,r.value.clear(),r.value.add(E),await e.nextTick();let f=0;const y=30,T=()=>{const S=document.getElementById(k);S?S.scrollIntoView({behavior:"smooth",block:"start"}):f<y&&(f++,requestAnimationFrame(T))};requestAnimationFrame(T)}else r.value.clear()};e.watch([()=>l.schema,()=>l.pluginType],([v,k],[E,f])=>{(v!==E||k!==f)&&l.schema.definitions&&s()});const c=v=>v?.full?v.code:`id: "${l.pluginType.split(".").reverse()[0]?.toLowerCase()}"
32
32
  type: "${l.pluginType}"
33
- `.concat(v.code),u=e.ref(),d=e.computed(()=>l.schema.properties?.$examples),p=e.computed(()=>Object.fromEntries(l.schema.properties?.$metrics?.map(v=>[v.name,{...v,name:void 0}]))),{getHighlighterCore:h}=([n,o]=e.withAsyncContext(()=>Promise.resolve().then(()=>require("./shikiToolset-BJ-YtZfq.cjs"))),n=await n,o(),n);u.value=([n,o]=e.withAsyncContext(()=>h()),n=await n,o(),n);const _="github-"+(l.darkMode?"dark":"light");return e.onMounted(()=>{s(),window.addEventListener("hashchange",s)}),e.onUnmounted(()=>{window.removeEventListener("hashchange",s)}),(v,k)=>(e.openBlock(),e.createElementBlock("div",I1,[e.createElementVNode("div",A1,[v.schema.properties?.$beta?(e.openBlock(),e.createElementBlock("div",D1,[...k[0]||(k[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),v.schema.properties?.title?(e.openBlock(),e.createElementBlock("div",$1,[e.renderSlot(v.$slots,"markdown",{content:v.schema.properties.title.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),v.schema.properties?.description?(e.openBlock(),e.createElementBlock("div",O1,[e.renderSlot(v.$slots,"markdown",{content:v.schema.properties.description.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),(e.openBlock(),e.createBlock(xt,{highlighter:u.value,language:"yaml",theme:_,code:`type: "${v.pluginType}"`,key:v.pluginType},null,8,["highlighter","code"]))]),(e.openBlock(),e.createElementBlock("div",{class:"d-flex flex-column gap-3",key:v.pluginType},[d.value?(e.openBlock(),e.createBlock(ht,{key:0,class:"plugin-section","clickable-text":"Examples",href:"examples","no-url-change":v.noUrlChange},{content:e.withCtx(()=>[e.createElementVNode("div",P1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,(E,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:v.pluginType+"-"+f},[e.createElementVNode("div",R1,[e.createElementVNode("div",M1,[E.title?e.renderSlot(v.$slots,"markdown",{key:0,content:E.title.replace(/ *:(?![ /])/g,": ")},void 0,!0):e.createCommentVNode("",!0)]),E.code?(e.openBlock(),e.createBlock(xt,{key:0,highlighter:u.value,language:E.lang??"yaml",theme:_,code:c(E)},null,8,["highlighter","language","code"])):e.createCommentVNode("",!0)]),f<d.value.length-1?(e.openBlock(),e.createElementBlock("hr",x1)):e.createCommentVNode("",!0)],64))),128))])]),_:3},8,["no-url-change"])):e.createCommentVNode("",!0),v.schema.properties?.properties?(e.openBlock(),e.createBlock(Bt,{key:1,class:"plugin-section",properties:v.schema.properties.properties,"section-name":"Properties",href:"properties","initially-expanded":v.propsInitiallyExpanded,"force-include":v.forceIncludeProperties,"no-url-change":v.noUrlChange},{markdown:e.withCtx(({content:E})=>[e.createElementVNode("div",F1,[e.renderSlot(v.$slots,"markdown",{content:E},void 0,!0)])]),_:3},8,["properties","initially-expanded","force-include","no-url-change"])):e.createCommentVNode("",!0),v.schema.outputs?.properties&&Object.keys(v.schema.outputs.properties).length>0?(e.openBlock(),e.createBlock(Bt,{key:2,class:"plugin-section",properties:v.schema.outputs.properties,"section-name":"Outputs",href:"outputs","show-dynamic":!1,"no-url-change":v.noUrlChange},{markdown:e.withCtx(({content:E})=>[e.createElementVNode("div",U1,[e.renderSlot(v.$slots,"markdown",{content:E},void 0,!0)])]),_:3},8,["properties","no-url-change"])):e.createCommentVNode("",!0),v.schema.properties?.$metrics?(e.openBlock(),e.createBlock(Bt,{key:3,class:"plugin-section",properties:p.value,"section-name":"Metrics",href:"metrics","show-dynamic":!1,"no-url-change":v.noUrlChange},{markdown:e.withCtx(({content:E})=>[e.createElementVNode("div",H1,[e.renderSlot(v.$slots,"markdown",{content:E},void 0,!0)])]),_:3},8,["properties","no-url-change"])):e.createCommentVNode("",!0),v.schema.definitions&&Object.keys(v.schema.definitions).length>0?(e.openBlock(),e.createBlock(ht,{class:"plugin-section","clickable-text":"Definitions",href:"definitions","initially-expanded":a.value,key:`definitions-${v.pluginType}-${i.value}`,"no-url-change":v.noUrlChange},{content:e.withCtx(()=>[e.createElementVNode("div",z1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.entries(v.schema.definitions),([E,f])=>(e.openBlock(),e.createBlock(Bt,{properties:f.properties,"section-name":f.title??E.split("_")[0],href:E,"show-dynamic":!1,"initially-expanded":r.value.has(E),key:v.pluginType+"-"+E,class:"plugin-section nested-button-py-2",onExpand:y=>{a.value=!0,r.value.add(E)},"no-url-change":v.noUrlChange},{markdown:e.withCtx(({content:y})=>[e.createElementVNode("div",W1,[e.renderSlot(v.$slots,"markdown",{content:y},void 0,!0)])]),_:3},8,["properties","section-name","href","initially-expanded","onExpand","no-url-change"]))),128))])]),_:3},8,["initially-expanded","no-url-change"])):e.createCommentVNode("",!0)]))]))}}),G1=D(j1,[["__scopeId","data-v-af023a1d"]]),K1={key:0},Y1={class:"type-box rounded fs-7 px-2 py-1"},q1={key:1},X1={class:"border rounded px-2 py-1"},Z1={key:2},J1={class:"border rounded px-2 py-1"},Q1={key:3},eh={class:"border rounded px-2 py-1"},th={key:4},nh={class:"border rounded px-2 py-1"},oh={key:5},lh={class:"border rounded px-2 py-1"},rh={key:6},ah={class:"border rounded px-2 py-1"},ih={key:7},sh={class:"border rounded px-2 py-1"},ch={key:8},uh={class:"border rounded px-2 py-1"},dh={key:9},mh={class:"border rounded px-2 py-1"},fh={key:10},ph={class:"border rounded px-2 py-1"},gh={key:11},hh={class:"border rounded px-2 py-1"},Eh={key:12},yh={class:"border rounded px-2 py-1"},kh={key:13},_h={class:"values-wrapper d-flex flex-wrap justify-content-end gap-7 p-0"},vh=e.defineComponent({__name:"PropertyMeta",props:{property:{},subtype:{},enumValues:{}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[n.subtype&&!n.subtype.startsWith("#")?(e.openBlock(),e.createElementBlock("div",K1,[o[0]||(o[0]=e.createElementVNode("span",null,"SubType",-1)),e.createElementVNode("span",Y1,e.toDisplayString(n.subtype),1)])):e.createCommentVNode("",!0),n.property.default!==void 0?(e.openBlock(),e.createElementBlock("div",q1,[o[1]||(o[1]=e.createElementVNode("span",null,"Default",-1)),e.createElementVNode("code",X1,e.toDisplayString(n.property.default),1)])):e.createCommentVNode("",!0),n.property.pattern!==void 0?(e.openBlock(),e.createElementBlock("div",Z1,[o[2]||(o[2]=e.createElementVNode("span",null,"Validation RegExp",-1)),e.createElementVNode("code",J1,e.toDisplayString(n.property.pattern),1)])):e.createCommentVNode("",!0),n.property.unit!==void 0&&n.property.unit.trim().length>0?(e.openBlock(),e.createElementBlock("div",Q1,[o[3]||(o[3]=e.createElementVNode("span",null,"Unit",-1)),e.createElementVNode("code",eh,e.toDisplayString(n.property.unit),1)])):e.createCommentVNode("",!0),n.property.minLength!==void 0?(e.openBlock(),e.createElementBlock("div",th,[o[4]||(o[4]=e.createElementVNode("span",null,"Min length",-1)),e.createElementVNode("code",nh,e.toDisplayString(n.property.minLength),1)])):e.createCommentVNode("",!0),n.property.maxLength!==void 0?(e.openBlock(),e.createElementBlock("div",oh,[o[5]||(o[5]=e.createElementVNode("span",null,"Max length",-1)),e.createElementVNode("code",lh,e.toDisplayString(n.property.maxLength),1)])):e.createCommentVNode("",!0),n.property.minItems!==void 0?(e.openBlock(),e.createElementBlock("div",rh,[o[6]||(o[6]=e.createElementVNode("span",null,"Min items",-1)),e.createElementVNode("code",ah,e.toDisplayString(n.property.minItems),1)])):e.createCommentVNode("",!0),n.property.maxItems!==void 0?(e.openBlock(),e.createElementBlock("div",ih,[o[7]||(o[7]=e.createElementVNode("span",null,"Max items",-1)),e.createElementVNode("code",sh,e.toDisplayString(n.property.maxItems),1)])):e.createCommentVNode("",!0),n.property.minimum!==void 0?(e.openBlock(),e.createElementBlock("div",ch,[o[8]||(o[8]=e.createElementVNode("span",null,"Minimum",-1)),e.createElementVNode("code",uh,">= "+e.toDisplayString(n.property.minimum),1)])):e.createCommentVNode("",!0),n.property.exclusiveMinimum!==void 0?(e.openBlock(),e.createElementBlock("div",dh,[o[9]||(o[9]=e.createElementVNode("span",null,"Minimum",-1)),e.createElementVNode("code",mh,"> "+e.toDisplayString(n.property.minimum),1)])):e.createCommentVNode("",!0),n.property.maximum!==void 0?(e.openBlock(),e.createElementBlock("div",fh,[o[10]||(o[10]=e.createElementVNode("span",null,"Maximum",-1)),e.createElementVNode("code",ph,"<= "+e.toDisplayString(n.property.maximum),1)])):e.createCommentVNode("",!0),n.property.exclusiveMaximum!==void 0?(e.openBlock(),e.createElementBlock("div",gh,[o[11]||(o[11]=e.createElementVNode("span",null,"Maximum",-1)),e.createElementVNode("code",hh,"< "+e.toDisplayString(n.property.maximum),1)])):e.createCommentVNode("",!0),n.property.format!==void 0?(e.openBlock(),e.createElementBlock("div",Eh,[o[12]||(o[12]=e.createElementVNode("span",null,"Format",-1)),e.createElementVNode("code",yh,e.toDisplayString(n.property.format),1)])):e.createCommentVNode("",!0),n.enumValues!==void 0?(e.openBlock(),e.createElementBlock("div",kh,[o[13]||(o[13]=e.createElementVNode("span",null,"Possible Values",-1)),e.createElementVNode("div",_h,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.enumValues,(l,a)=>(e.openBlock(),e.createElementBlock("code",{class:"border rounded px-2 py-1",key:a},e.toDisplayString(l),1))),128))])])):e.createCommentVNode("",!0)],64))}}),rr=D(vh,[["__scopeId","data-v-2d5ac2ae"]]),Ch={class:"d-flex flex-grow-1 align-items-center"},Nh=e.defineComponent({__name:"PropertyBadges",props:{property:{},showDynamic:{type:Boolean,default:!0},sectionClass:{default:""}},setup(t){function n(o){return at(o).types.filter(a=>!a.startsWith("#"))}return(o,l)=>(e.openBlock(),e.createElementBlock("span",Ch,[e.createElementVNode("span",{class:e.normalizeClass(["d-flex gap-2 flex-wrap align-items-center",o.sectionClass])},[o.property&&o.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),o.showDynamic&&o.property&&!e.unref(Ql)(o.property)?(e.openBlock(),e.createBlock(j,{key:1,class:"d-flex",title:"Non-dynamic"},{default:e.withCtx(()=>[e.createVNode(or,{class:"text-info"})]),_:1})):e.createCommentVNode("",!0),o.property&&o.property.$beta?(e.openBlock(),e.createBlock(j,{key:2,class:"d-flex",title:"Beta"},{default:e.withCtx(()=>[e.createVNode(lr,{class:"text-warning"})]),_:1})):e.createCommentVNode("",!0),o.property&&o.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),o.property?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:4},e.renderList(n(o.property),a=>(e.openBlock(),e.createElementBlock("span",{key:a,class:"type-box rounded fs-7 px-2 py-1"},e.toDisplayString(a),1))),128)):e.createCommentVNode("",!0)],2)]))}}),ar=D(Nh,[["__scopeId","data-v-f088032b"]]),Sh={class:"def-content"},bh={class:"d-flex align-items-center justify-content-between gap-2"},wh={key:0,class:"property-desc mt-2"},Lh={key:1,class:"mt-3 nested-defs"},Th=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=w.sanitizeForMarkdown,l=s=>{const c=at(s).subType;return c&&!c.startsWith("#")?c:void 0},a=s=>Zn(s),r=s=>{const c=n.definitions,u=n.depth,d=n.maxDepth,p=n.visitedKeys;return!c||u>=d?[]:Jl(s,c,p)},i=e.computed(()=>{const s=new Set(n.visitedKeys);return s.add(n.definition.key),s});return(s,c)=>{const u=e.resolveComponent("DefinitionCollapsible",!0);return e.openBlock(),e.createBlock(Et,{title:s.definition.title,href:`def-${s.definition.key}`,class:e.normalizeClass(["def-collapsible",`section-${s.section}`]),arrow:"","no-url-change":""},{content:e.withCtx(()=>[e.createElementVNode("div",Sh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.definition.properties,(d,p)=>(e.openBlock(),e.createElementBlock("div",{key:p,class:"def-property"},[e.createElementVNode("div",bh,[e.createElementVNode("span",null,e.toDisplayString(p),1),e.createVNode(ar,{property:d,"show-dynamic":!1,"section-class":"section-properties"},null,8,["property"])]),e.createVNode(rr,{property:d,subtype:l(d),"enum-values":a(d)},null,8,["property","subtype","enum-values"]),d.title!==void 0||d.description!==void 0?(e.openBlock(),e.createElementBlock("div",wh,[d.title?e.renderSlot(s.$slots,"markdown",{key:0,content:e.unref(o)(d.title)},void 0,!0):e.createCommentVNode("",!0),d.description?e.renderSlot(s.$slots,"markdown",{key:1,content:e.unref(o)(d.description)},void 0,!0):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),s.depth<s.maxDepth&&r(d).length?(e.openBlock(),e.createElementBlock("div",Lh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r(d),h=>(e.openBlock(),e.createBlock(u,{key:`${s.definition.key}-${h.key}`,definition:h,definitions:s.definitions,"visited-keys":i.value,depth:s.depth+1,"max-depth":s.maxDepth},{markdown:e.withCtx(({content:_})=>[e.renderSlot(s.$slots,"markdown",{content:_},void 0,!0)]),_:3},8,["definition","definitions","visited-keys","depth","max-depth"]))),128))])):e.createCommentVNode("",!0)]))),128))])]),_:3},8,["title","href","class"])}}}),Bh=D(Th,[["__scopeId","data-v-982b6946"]]),Vh={class:"property-detail"},Ih={key:0},Ah={class:"property-description markdown"},Dh={key:2},$h={key:3,class:"mt-3"},Oh=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(()=>at(n.property).subType),l=e.computed(()=>Zn(n.property)),a=e.computed(()=>{const s=n.definitions,c=n.depth,u=n.maxDepth,d=n.property,p=n.visitedKeys;return!s||c>=u?[]:Jl(d,s,p)}),r=e.computed(()=>{const s=new Set(n.visitedKeys);return a.value.forEach(c=>s.add(c.key)),s}),i=w.sanitizeForMarkdown;return(s,c)=>(e.openBlock(),e.createElementBlock("div",Vh,[e.createVNode(rr,{property:s.property,subtype:o.value,"enum-values":l.value},null,8,["property","subtype","enum-values"]),s.property.title!==void 0||s.property.description!==void 0||s.depth<s.maxDepth&&a.value.length>0?(e.openBlock(),e.createElementBlock("div",Ih,[e.createElementVNode("div",Ah,[s.property.title!==void 0?e.renderSlot(s.$slots,"markdown",{key:0,content:e.unref(i)(s.property.title)},void 0,!0):e.createCommentVNode("",!0),s.property.description!==void 0?e.renderSlot(s.$slots,"markdown",{key:1,content:e.unref(i)(s.property.description)},void 0,!0):e.createCommentVNode("",!0),s.property.$internalStorageURI?(e.openBlock(),e.createElementBlock("div",Dh,[e.createVNode(er,{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),s.depth<s.maxDepth&&a.value.length>0?(e.openBlock(),e.createElementBlock("div",$h,[c[0]||(c[0]=e.createElementVNode("div",{class:"definitions-header"}," Definitions ",-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,u=>(e.openBlock(),e.createBlock(Bh,{key:`${u.key}-${s.depth}`,definition:u,definitions:s.definitions,"visited-keys":r.value,depth:s.depth+1,"max-depth":s.maxDepth,section:s.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)]))}}),Ph=D(Oh,[["__scopeId","data-v-023aa8d8"]]),Rh={class:"border overflow-hidden"},Mh=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,a=e.computed(()=>{const s=o.sectionName.toLowerCase();return s==="properties"?"section-properties":s==="outputs"?"section-outputs":s==="metrics"?"section-metrics":""}),r=e.ref(!1);e.watch(r,s=>{s&&l("expand")});function i(s){const c=[],u=[];for(const h in s)typeof s[h]=="object"&&(s[h]=Zl(s[h]),s[h].$required?c.push(h):u.push(h));const d=[...c.sort(),...u.sort()],p={};return d.forEach(h=>{(!s[h].$deprecated||o.forceInclude?.includes(h))&&(p[h]=s[h])}),p}return(s,c)=>(e.openBlock(),e.createBlock(Et,{class:"section-collapsible",title:s.sectionName,href:s.href,onExpand:c[1]||(c[1]=u=>l("expand")),"initially-expanded":s.initiallyExpanded||r.value,"no-url-change":s.noUrlChange},e.createSlots({_:2},[Object.keys(s.properties??{}).length>0?{name:"content",fn:e.withCtx(()=>[e.createElementVNode("div",Rh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i(s.properties),(u,d)=>(e.openBlock(),e.createBlock(Et,{class:e.normalizeClass(["property",a.value]),key:d,title:d,href:s.href+"_"+d,onExpand:c[0]||(c[0]=p=>r.value=!0),"no-url-change":s.noUrlChange},{right:e.withCtx(()=>[e.createVNode(ar,{property:u,"show-dynamic":s.showDynamic},null,8,["property","show-dynamic"])]),content:e.withCtx(()=>[e.createVNode(Ph,{property:u,definitions:s.definitions,section:s.sectionName.toLowerCase()},{markdown:e.withCtx(({content:p})=>[e.renderSlot(s.$slots,"markdown",{content:p},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"]))}}),fn=D(Mh,[["__scopeId","data-v-09967fee"]]),xh={class:"d-flex flex-column gap-6"},Fh={class:"d-flex flex-column"},Uh={key:0,class:"alert alert-info mb-2",role:"alert"},Hh={key:1,class:"plugin-title markdown"},zh={key:2,class:"markdown"},Wh={class:"d-flex flex-column gap-4"},jh={class:"d-flex flex-column"},Gh={class:"markdown"},Kh={key:0,class:"w-100 align-self-center"},Yh={class:"markdown"},qh={class:"markdown"},Xh={class:"markdown"},Zh=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,a=d=>d?.full?d.code:`id: "${l.pluginType.split(".").reverse()[0]?.toLowerCase()}"
33
+ `.concat(v.code),u=e.ref(),d=e.computed(()=>l.schema.properties?.$examples),p=e.computed(()=>Object.fromEntries(l.schema.properties?.$metrics?.map(v=>[v.name,{...v,name:void 0}]))),{getHighlighterCore:h}=([n,o]=e.withAsyncContext(()=>Promise.resolve().then(()=>require("./shikiToolset-BJ-YtZfq.cjs"))),n=await n,o(),n);u.value=([n,o]=e.withAsyncContext(()=>h()),n=await n,o(),n);const _="github-"+(l.darkMode?"dark":"light");return e.onMounted(()=>{s(),window.addEventListener("hashchange",s)}),e.onUnmounted(()=>{window.removeEventListener("hashchange",s)}),(v,k)=>(e.openBlock(),e.createElementBlock("div",A1,[e.createElementVNode("div",D1,[v.schema.properties?.$beta?(e.openBlock(),e.createElementBlock("div",$1,[...k[0]||(k[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),v.schema.properties?.title?(e.openBlock(),e.createElementBlock("div",O1,[e.renderSlot(v.$slots,"markdown",{content:v.schema.properties.title.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),v.schema.properties?.description?(e.openBlock(),e.createElementBlock("div",P1,[e.renderSlot(v.$slots,"markdown",{content:v.schema.properties.description.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),(e.openBlock(),e.createBlock(xt,{highlighter:u.value,language:"yaml",theme:_,code:`type: "${v.pluginType}"`,key:v.pluginType},null,8,["highlighter","code"]))]),(e.openBlock(),e.createElementBlock("div",{class:"d-flex flex-column gap-3",key:v.pluginType},[d.value?(e.openBlock(),e.createBlock(ht,{key:0,class:"plugin-section","clickable-text":"Examples",href:"examples","no-url-change":v.noUrlChange},{content:e.withCtx(()=>[e.createElementVNode("div",R1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,(E,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:v.pluginType+"-"+f},[e.createElementVNode("div",M1,[e.createElementVNode("div",x1,[E.title?e.renderSlot(v.$slots,"markdown",{key:0,content:E.title.replace(/ *:(?![ /])/g,": ")},void 0,!0):e.createCommentVNode("",!0)]),E.code?(e.openBlock(),e.createBlock(xt,{key:0,highlighter:u.value,language:E.lang??"yaml",theme:_,code:c(E)},null,8,["highlighter","language","code"])):e.createCommentVNode("",!0)]),f<d.value.length-1?(e.openBlock(),e.createElementBlock("hr",F1)):e.createCommentVNode("",!0)],64))),128))])]),_:3},8,["no-url-change"])):e.createCommentVNode("",!0),v.schema.properties?.properties?(e.openBlock(),e.createBlock(Bt,{key:1,class:"plugin-section",properties:v.schema.properties.properties,"section-name":"Properties",href:"properties","initially-expanded":v.propsInitiallyExpanded,"force-include":v.forceIncludeProperties,"no-url-change":v.noUrlChange},{markdown:e.withCtx(({content:E})=>[e.createElementVNode("div",U1,[e.renderSlot(v.$slots,"markdown",{content:E},void 0,!0)])]),_:3},8,["properties","initially-expanded","force-include","no-url-change"])):e.createCommentVNode("",!0),v.schema.outputs?.properties&&Object.keys(v.schema.outputs.properties).length>0?(e.openBlock(),e.createBlock(Bt,{key:2,class:"plugin-section",properties:v.schema.outputs.properties,"section-name":"Outputs",href:"outputs","show-dynamic":!1,"no-url-change":v.noUrlChange},{markdown:e.withCtx(({content:E})=>[e.createElementVNode("div",H1,[e.renderSlot(v.$slots,"markdown",{content:E},void 0,!0)])]),_:3},8,["properties","no-url-change"])):e.createCommentVNode("",!0),v.schema.properties?.$metrics?(e.openBlock(),e.createBlock(Bt,{key:3,class:"plugin-section",properties:p.value,"section-name":"Metrics",href:"metrics","show-dynamic":!1,"no-url-change":v.noUrlChange},{markdown:e.withCtx(({content:E})=>[e.createElementVNode("div",z1,[e.renderSlot(v.$slots,"markdown",{content:E},void 0,!0)])]),_:3},8,["properties","no-url-change"])):e.createCommentVNode("",!0),v.schema.definitions&&Object.keys(v.schema.definitions).length>0?(e.openBlock(),e.createBlock(ht,{class:"plugin-section","clickable-text":"Definitions",href:"definitions","initially-expanded":a.value,key:`definitions-${v.pluginType}-${i.value}`,"no-url-change":v.noUrlChange},{content:e.withCtx(()=>[e.createElementVNode("div",W1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.entries(v.schema.definitions),([E,f])=>(e.openBlock(),e.createBlock(Bt,{properties:f.properties,"section-name":f.title??E.split("_")[0],href:E,"show-dynamic":!1,"initially-expanded":r.value.has(E),key:v.pluginType+"-"+E,class:"plugin-section nested-button-py-2",onExpand:y=>{a.value=!0,r.value.add(E)},"no-url-change":v.noUrlChange},{markdown:e.withCtx(({content:y})=>[e.createElementVNode("div",j1,[e.renderSlot(v.$slots,"markdown",{content:y},void 0,!0)])]),_:3},8,["properties","section-name","href","initially-expanded","onExpand","no-url-change"]))),128))])]),_:3},8,["initially-expanded","no-url-change"])):e.createCommentVNode("",!0)]))]))}}),K1=D(G1,[["__scopeId","data-v-af023a1d"]]),Y1={key:0},q1={class:"type-box rounded fs-7 px-2 py-1"},X1={key:1},Z1={class:"border rounded px-2 py-1"},J1={key:2},Q1={class:"border rounded px-2 py-1"},eh={key:3},th={class:"border rounded px-2 py-1"},nh={key:4},oh={class:"border rounded px-2 py-1"},lh={key:5},rh={class:"border rounded px-2 py-1"},ah={key:6},ih={class:"border rounded px-2 py-1"},sh={key:7},ch={class:"border rounded px-2 py-1"},uh={key:8},dh={class:"border rounded px-2 py-1"},mh={key:9},fh={class:"border rounded px-2 py-1"},ph={key:10},gh={class:"border rounded px-2 py-1"},hh={key:11},Eh={class:"border rounded px-2 py-1"},yh={key:12},kh={class:"border rounded px-2 py-1"},_h={key:13},vh={class:"values-wrapper d-flex flex-wrap justify-content-end gap-7 p-0"},Ch=e.defineComponent({__name:"PropertyMeta",props:{property:{},subtype:{},enumValues:{}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[n.subtype&&!n.subtype.startsWith("#")?(e.openBlock(),e.createElementBlock("div",Y1,[o[0]||(o[0]=e.createElementVNode("span",null,"SubType",-1)),e.createElementVNode("span",q1,e.toDisplayString(n.subtype),1)])):e.createCommentVNode("",!0),n.property.default!==void 0?(e.openBlock(),e.createElementBlock("div",X1,[o[1]||(o[1]=e.createElementVNode("span",null,"Default",-1)),e.createElementVNode("code",Z1,e.toDisplayString(n.property.default),1)])):e.createCommentVNode("",!0),n.property.pattern!==void 0?(e.openBlock(),e.createElementBlock("div",J1,[o[2]||(o[2]=e.createElementVNode("span",null,"Validation RegExp",-1)),e.createElementVNode("code",Q1,e.toDisplayString(n.property.pattern),1)])):e.createCommentVNode("",!0),n.property.unit!==void 0&&n.property.unit.trim().length>0?(e.openBlock(),e.createElementBlock("div",eh,[o[3]||(o[3]=e.createElementVNode("span",null,"Unit",-1)),e.createElementVNode("code",th,e.toDisplayString(n.property.unit),1)])):e.createCommentVNode("",!0),n.property.minLength!==void 0?(e.openBlock(),e.createElementBlock("div",nh,[o[4]||(o[4]=e.createElementVNode("span",null,"Min length",-1)),e.createElementVNode("code",oh,e.toDisplayString(n.property.minLength),1)])):e.createCommentVNode("",!0),n.property.maxLength!==void 0?(e.openBlock(),e.createElementBlock("div",lh,[o[5]||(o[5]=e.createElementVNode("span",null,"Max length",-1)),e.createElementVNode("code",rh,e.toDisplayString(n.property.maxLength),1)])):e.createCommentVNode("",!0),n.property.minItems!==void 0?(e.openBlock(),e.createElementBlock("div",ah,[o[6]||(o[6]=e.createElementVNode("span",null,"Min items",-1)),e.createElementVNode("code",ih,e.toDisplayString(n.property.minItems),1)])):e.createCommentVNode("",!0),n.property.maxItems!==void 0?(e.openBlock(),e.createElementBlock("div",sh,[o[7]||(o[7]=e.createElementVNode("span",null,"Max items",-1)),e.createElementVNode("code",ch,e.toDisplayString(n.property.maxItems),1)])):e.createCommentVNode("",!0),n.property.minimum!==void 0?(e.openBlock(),e.createElementBlock("div",uh,[o[8]||(o[8]=e.createElementVNode("span",null,"Minimum",-1)),e.createElementVNode("code",dh,">= "+e.toDisplayString(n.property.minimum),1)])):e.createCommentVNode("",!0),n.property.exclusiveMinimum!==void 0?(e.openBlock(),e.createElementBlock("div",mh,[o[9]||(o[9]=e.createElementVNode("span",null,"Minimum",-1)),e.createElementVNode("code",fh,"> "+e.toDisplayString(n.property.minimum),1)])):e.createCommentVNode("",!0),n.property.maximum!==void 0?(e.openBlock(),e.createElementBlock("div",ph,[o[10]||(o[10]=e.createElementVNode("span",null,"Maximum",-1)),e.createElementVNode("code",gh,"<= "+e.toDisplayString(n.property.maximum),1)])):e.createCommentVNode("",!0),n.property.exclusiveMaximum!==void 0?(e.openBlock(),e.createElementBlock("div",hh,[o[11]||(o[11]=e.createElementVNode("span",null,"Maximum",-1)),e.createElementVNode("code",Eh,"< "+e.toDisplayString(n.property.maximum),1)])):e.createCommentVNode("",!0),n.property.format!==void 0?(e.openBlock(),e.createElementBlock("div",yh,[o[12]||(o[12]=e.createElementVNode("span",null,"Format",-1)),e.createElementVNode("code",kh,e.toDisplayString(n.property.format),1)])):e.createCommentVNode("",!0),n.enumValues!==void 0?(e.openBlock(),e.createElementBlock("div",_h,[o[13]||(o[13]=e.createElementVNode("span",null,"Possible Values",-1)),e.createElementVNode("div",vh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.enumValues,(l,a)=>(e.openBlock(),e.createElementBlock("code",{class:"border rounded px-2 py-1",key:a},e.toDisplayString(l),1))),128))])])):e.createCommentVNode("",!0)],64))}}),rr=D(Ch,[["__scopeId","data-v-2d5ac2ae"]]),Nh={class:"d-flex flex-grow-1 align-items-center"},Sh=e.defineComponent({__name:"PropertyBadges",props:{property:{},showDynamic:{type:Boolean,default:!0},sectionClass:{default:""}},setup(t){function n(o){return at(o).types.filter(a=>!a.startsWith("#"))}return(o,l)=>(e.openBlock(),e.createElementBlock("span",Nh,[e.createElementVNode("span",{class:e.normalizeClass(["d-flex gap-2 flex-wrap align-items-center",o.sectionClass])},[o.property&&o.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),o.showDynamic&&o.property&&!e.unref(Ql)(o.property)?(e.openBlock(),e.createBlock(j,{key:1,class:"d-flex",title:"Non-dynamic"},{default:e.withCtx(()=>[e.createVNode(or,{class:"text-info"})]),_:1})):e.createCommentVNode("",!0),o.property&&o.property.$beta?(e.openBlock(),e.createBlock(j,{key:2,class:"d-flex",title:"Beta"},{default:e.withCtx(()=>[e.createVNode(lr,{class:"text-warning"})]),_:1})):e.createCommentVNode("",!0),o.property&&o.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),o.property?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:4},e.renderList(n(o.property),a=>(e.openBlock(),e.createElementBlock("span",{key:a,class:"type-box rounded fs-7 px-2 py-1"},e.toDisplayString(a),1))),128)):e.createCommentVNode("",!0)],2)]))}}),ar=D(Sh,[["__scopeId","data-v-f088032b"]]),bh={class:"def-content"},wh={class:"d-flex align-items-center justify-content-between gap-2"},Lh={key:0,class:"property-desc mt-2"},Th={key:1,class:"mt-3 nested-defs"},Bh=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=w.sanitizeForMarkdown,l=s=>{const c=at(s).subType;return c&&!c.startsWith("#")?c:void 0},a=s=>Zn(s),r=s=>{const c=n.definitions,u=n.depth,d=n.maxDepth,p=n.visitedKeys;return!c||u>=d?[]:Jl(s,c,p)},i=e.computed(()=>{const s=new Set(n.visitedKeys);return s.add(n.definition.key),s});return(s,c)=>{const u=e.resolveComponent("DefinitionCollapsible",!0);return e.openBlock(),e.createBlock(Et,{title:s.definition.title,href:`def-${s.definition.key}`,class:e.normalizeClass(["def-collapsible",`section-${s.section}`]),arrow:"","no-url-change":""},{content:e.withCtx(()=>[e.createElementVNode("div",bh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.definition.properties,(d,p)=>(e.openBlock(),e.createElementBlock("div",{key:p,class:"def-property"},[e.createElementVNode("div",wh,[e.createElementVNode("span",null,e.toDisplayString(p),1),e.createVNode(ar,{property:d,"show-dynamic":!1,"section-class":"section-properties"},null,8,["property"])]),e.createVNode(rr,{property:d,subtype:l(d),"enum-values":a(d)},null,8,["property","subtype","enum-values"]),d.title!==void 0||d.description!==void 0?(e.openBlock(),e.createElementBlock("div",Lh,[d.title?e.renderSlot(s.$slots,"markdown",{key:0,content:e.unref(o)(d.title)},void 0,!0):e.createCommentVNode("",!0),d.description?e.renderSlot(s.$slots,"markdown",{key:1,content:e.unref(o)(d.description)},void 0,!0):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),s.depth<s.maxDepth&&r(d).length?(e.openBlock(),e.createElementBlock("div",Th,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r(d),h=>(e.openBlock(),e.createBlock(u,{key:`${s.definition.key}-${h.key}`,definition:h,definitions:s.definitions,"visited-keys":i.value,depth:s.depth+1,"max-depth":s.maxDepth},{markdown:e.withCtx(({content:_})=>[e.renderSlot(s.$slots,"markdown",{content:_},void 0,!0)]),_:3},8,["definition","definitions","visited-keys","depth","max-depth"]))),128))])):e.createCommentVNode("",!0)]))),128))])]),_:3},8,["title","href","class"])}}}),Vh=D(Bh,[["__scopeId","data-v-577c29ff"]]),Ih={class:"property-detail"},Ah={key:0},Dh={class:"property-description markdown"},$h={key:2},Oh={key:3,class:"mt-3"},Ph=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(()=>at(n.property).subType),l=e.computed(()=>Zn(n.property)),a=e.computed(()=>{const s=n.definitions,c=n.depth,u=n.maxDepth,d=n.property,p=n.visitedKeys;return!s||c>=u?[]:Jl(d,s,p)}),r=e.computed(()=>{const s=new Set(n.visitedKeys);return a.value.forEach(c=>s.add(c.key)),s}),i=w.sanitizeForMarkdown;return(s,c)=>(e.openBlock(),e.createElementBlock("div",Ih,[e.createVNode(rr,{property:s.property,subtype:o.value,"enum-values":l.value},null,8,["property","subtype","enum-values"]),s.property.title!==void 0||s.property.description!==void 0||s.depth<s.maxDepth&&a.value.length>0?(e.openBlock(),e.createElementBlock("div",Ah,[e.createElementVNode("div",Dh,[s.property.title!==void 0?e.renderSlot(s.$slots,"markdown",{key:0,content:e.unref(i)(s.property.title)},void 0,!0):e.createCommentVNode("",!0),s.property.description!==void 0?e.renderSlot(s.$slots,"markdown",{key:1,content:e.unref(i)(s.property.description)},void 0,!0):e.createCommentVNode("",!0),s.property.$internalStorageURI?(e.openBlock(),e.createElementBlock("div",$h,[e.createVNode(er,{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),s.depth<s.maxDepth&&a.value.length>0?(e.openBlock(),e.createElementBlock("div",Oh,[c[0]||(c[0]=e.createElementVNode("div",{class:"definitions-header"}," Definitions ",-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,u=>(e.openBlock(),e.createBlock(Vh,{key:`${u.key}-${s.depth}`,definition:u,definitions:s.definitions,"visited-keys":r.value,depth:s.depth+1,"max-depth":s.maxDepth,section:s.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)]))}}),Rh=D(Ph,[["__scopeId","data-v-023aa8d8"]]),Mh={class:"border overflow-hidden"},xh=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,a=e.computed(()=>{const s=o.sectionName.toLowerCase();return s==="properties"?"section-properties":s==="outputs"?"section-outputs":s==="metrics"?"section-metrics":""}),r=e.ref(!1);e.watch(r,s=>{s&&l("expand")});function i(s){const c=[],u=[];for(const h in s)typeof s[h]=="object"&&(s[h]=Zl(s[h]),s[h].$required?c.push(h):u.push(h));const d=[...c.sort(),...u.sort()],p={};return d.forEach(h=>{(!s[h].$deprecated||o.forceInclude?.includes(h))&&(p[h]=s[h])}),p}return(s,c)=>(e.openBlock(),e.createBlock(Et,{class:"section-collapsible",title:s.sectionName,href:s.href,onExpand:c[1]||(c[1]=u=>l("expand")),"initially-expanded":s.initiallyExpanded||r.value,"no-url-change":s.noUrlChange},e.createSlots({_:2},[Object.keys(s.properties??{}).length>0?{name:"content",fn:e.withCtx(()=>[e.createElementVNode("div",Mh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i(s.properties),(u,d)=>(e.openBlock(),e.createBlock(Et,{class:e.normalizeClass(["property",a.value]),key:d,title:d,href:s.href+"_"+d,onExpand:c[0]||(c[0]=p=>r.value=!0),"no-url-change":s.noUrlChange},{right:e.withCtx(()=>[e.createVNode(ar,{property:u,"show-dynamic":s.showDynamic},null,8,["property","show-dynamic"])]),content:e.withCtx(()=>[e.createVNode(Rh,{property:u,definitions:s.definitions,section:s.sectionName.toLowerCase()},{markdown:e.withCtx(({content:p})=>[e.renderSlot(s.$slots,"markdown",{content:p},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"]))}}),fn=D(xh,[["__scopeId","data-v-a2ba9447"]]),Fh={class:"d-flex flex-column gap-6"},Uh={class:"d-flex flex-column"},Hh={key:0,class:"alert alert-info mb-2",role:"alert"},zh={key:1,class:"markdown"},Wh={class:"d-flex flex-column gap-4"},jh={class:"d-flex flex-column"},Gh={class:"markdown"},Kh={key:0,class:"w-100 align-self-center"},Yh={class:"markdown"},qh={class:"markdown"},Xh={class:"markdown"},Zh=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,a=d=>d?.full?d.code:`id: "${l.pluginType.split(".").reverse()[0]?.toLowerCase()}"
34
34
  type: "${l.pluginType}"
35
- `.concat(d.code),r=e.ref(),i=e.computed(()=>l.schema.properties?.$examples),s=e.computed(()=>Object.fromEntries(l.schema.properties?.$metrics?.map(d=>[d.name,{...d,name:void 0}]))),{getHighlighterCore:c}=([n,o]=e.withAsyncContext(()=>Promise.resolve().then(()=>require("./shikiToolset-BJ-YtZfq.cjs"))),n=await n,o(),n);r.value=([n,o]=e.withAsyncContext(()=>c()),n=await n,o(),n);const u="github-"+(l.darkMode?"dark":"light");return(d,p)=>(e.openBlock(),e.createElementBlock("div",xh,[e.createElementVNode("div",Fh,[d.schema.properties?.$beta?(e.openBlock(),e.createElementBlock("div",Uh,[...p[0]||(p[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),d.schema.properties?.title?(e.openBlock(),e.createElementBlock("div",Hh,[e.renderSlot(d.$slots,"markdown",{content:d.schema.properties.title.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),d.schema.properties?.description?(e.openBlock(),e.createElementBlock("div",zh,[e.renderSlot(d.$slots,"markdown",{content:d.schema.properties.description.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),(e.openBlock(),e.createBlock(xt,{highlighter:r.value,language:"yaml",theme:u,code:`type: "${d.pluginType}"`,key:d.pluginType},null,8,["highlighter","code"]))]),(e.openBlock(),e.createElementBlock("div",{class:"d-flex flex-column",key:d.pluginType},[i.value?(e.openBlock(),e.createBlock(Et,{key:0,class:"plugin-section",title:"Examples",href:"examples","no-url-change":d.noUrlChange},{content:e.withCtx(()=>[e.createElementVNode("div",Wh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(h,_)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:d.pluginType+"-"+_},[e.createElementVNode("div",jh,[e.createElementVNode("div",Gh,[h.title?e.renderSlot(d.$slots,"markdown",{key:0,content:h.title.replace(/ *:(?![ /])/g,": ")},void 0,!0):e.createCommentVNode("",!0)]),h.code?(e.openBlock(),e.createBlock(xt,{key:0,highlighter:r.value,language:h.lang??"yaml",theme:u,code:a(h)},null,8,["highlighter","language","code"])):e.createCommentVNode("",!0)]),_<i.value.length-1?(e.openBlock(),e.createElementBlock("hr",Kh)):e.createCommentVNode("",!0)],64))),128))])]),_:3},8,["no-url-change"])):e.createCommentVNode("",!0),d.schema.properties?.properties?(e.openBlock(),e.createBlock(fn,{key:1,class:"plugin-section",properties:d.schema.properties.properties,"section-name":"Properties",href:"properties","initially-expanded":d.propsInitiallyExpanded,"force-include":d.forceIncludeProperties,definitions:d.schema.definitions,"no-url-change":d.noUrlChange},{markdown:e.withCtx(({content:h})=>[e.createElementVNode("div",Yh,[e.renderSlot(d.$slots,"markdown",{content:h},void 0,!0)])]),_:3},8,["properties","initially-expanded","force-include","definitions","no-url-change"])):e.createCommentVNode("",!0),d.schema.outputs?.properties&&Object.keys(d.schema.outputs.properties).length>0?(e.openBlock(),e.createBlock(fn,{key:2,class:"plugin-section",properties:d.schema.outputs.properties,"section-name":"Outputs",href:"outputs","show-dynamic":!1,definitions:d.schema.definitions,"no-url-change":d.noUrlChange},{markdown:e.withCtx(({content:h})=>[e.createElementVNode("div",qh,[e.renderSlot(d.$slots,"markdown",{content:h},void 0,!0)])]),_:3},8,["properties","definitions","no-url-change"])):e.createCommentVNode("",!0),d.schema.properties?.$metrics?(e.openBlock(),e.createBlock(fn,{key:3,class:"plugin-section",properties:s.value,"section-name":"Metrics",href:"metrics","show-dynamic":!1,definitions:d.schema.definitions,"no-url-change":d.noUrlChange},{markdown:e.withCtx(({content:h})=>[e.createElementVNode("div",Xh,[e.renderSlot(d.$slots,"markdown",{content:h},void 0,!0)])]),_:3},8,["properties","definitions","no-url-change"])):e.createCommentVNode("",!0)]))]))}}),Jh=D(Zh,[["__scopeId","data-v-e72c2f7b"]]),Qh={class:"d-flex flex-column gap-4"},eE={key:0,class:"pb-2"},tE={class:"row g-4 last"},nE=["id"],oE={class:"row g-4 last"},lE={key:2,class:"description"},rE={key:0,class:"gradient-overlay"},aE={key:0,class:"more-wrap text-center"},iE=e.defineComponent({__name:"PluginIndex",props:{plugins:{},pluginName:{},routePath:{},icons:{},subGroup:{},activeId:{},subgroupBlueprintCounts:{},metadataMap:{},schemas:{}},emits:["navigate"],setup(t,{emit:n}){const o=t,l=b=>o.metadataMap?.[b.subGroup??b.group],a=b=>l(b)?.description??b.description,r=b=>l(b)?.title??b.title??De(b),i=e.computed(()=>o.plugins.find(b=>o.subGroup===void 0?!0:he(De(b))===o.subGroup)),s=e.computed(()=>i.value?.longDescription??i.value?.description),c=e.computed(()=>o.plugins.filter(b=>b.name.toLowerCase()===o.pluginName.toLowerCase()&&b.subGroup!==void 0)),u=b=>{let I=b.split(".");return I?.[I.length-1]},d=b=>`${o.routePath}/${b}`;function p(b){const I=Ht(b);return Object.values(I).reduce((N,M)=>N+M.length,0)}const{elementsByType:h}=Qo(i),_=e.ref(null),v=e.ref(null),k=e.ref(!1),{height:E}=qo(_),{height:f}=qo(v),y=e.computed(()=>f.value>E.value+2),T=()=>{k.value=!k.value},S=n;return(b,I)=>(e.openBlock(),e.createElementBlock("div",Qh,[b.subGroup===void 0&&b.plugins.length>1?(e.openBlock(),e.createElementBlock("div",eE,[e.createElementVNode("div",tE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,N=>(e.openBlock(),e.createElementBlock("div",{class:"col-md-4 col-lg-6 col-xl-6 col-xxl-4",key:e.unref(De)(N)},[e.createVNode(Yl,{id:e.unref(he)(e.unref(De)(N)),"icon-b64-svg":"data:image/svg+xml;base64,"+(b.icons[N.subGroup]??b.icons[N.group]),text:r(N),description:a(N),href:`${b.routePath}/${e.unref(he)(e.unref(De)(N))}`,"route-path":b.routePath,"plugin-group":N.group??N.name,"total-count":p(N),"blueprints-count":o.subgroupBlueprintCounts?.[`${e.unref(he)(N.group??N.name)}-${e.unref(he)(e.unref(De)(N))}`]??0,"is-active":b.activeId===e.unref(he)(e.unref(De)(N)),class:"text-capitalize h-100",onNavigate:I[0]||(I[0]=M=>S("navigate",M))},null,8,["id","icon-b64-svg","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(h),(N,M)=>(e.openBlock(),e.createElementBlock("div",{class:"d-flex flex-column elements-section pb-3",key:M},[e.createElementVNode("h4",{id:`section-${e.unref(he)(M)}`,class:"text-capitalize"},e.toDisplayString(M),9,nE),e.createElementVNode("div",oE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N,F=>(e.openBlock(),e.createElementBlock("div",{class:"col-md-4 col-lg-6 col-xl-6 col-xxl-4",key:F},[e.createVNode(ql,{id:e.unref(he)(F),"icon-b64-svg":"data:image/svg+xml;base64,"+(b.icons[F]??b.icons[i.value.subGroup??i.value.group]??b.icons[i.value.group]),text:u(F),"plugin-class":F,href:d(F),"route-path":b.routePath,"is-active":b.activeId===e.unref(he)(F),title:b.schemas?.[F]?.title,class:"h-100",onNavigate:I[1]||(I[1]=Q=>S("navigate",Q))},{markdown:e.withCtx(({content:Q})=>[e.renderSlot(b.$slots,"markdown",{content:Q},void 0,!0)]),_:3},8,["id","icon-b64-svg","text","plugin-class","href","route-path","is-active","title"])]))),128))])]))),128)):e.createCommentVNode("",!0),s.value!==void 0&&i.value?.longDescription?(e.openBlock(),e.createElementBlock("div",lE,[I[2]||(I[2]=e.createElementVNode("h4",{id:"how-to-use-this-plugin"}," How to use this plugin ",-1)),e.createElementVNode("div",{ref_key:"contentWrap",ref:_,class:e.normalizeClass(["markdown-container",{expanded:k.value}])},[e.createElementVNode("div",{ref_key:"contentInner",ref:v,class:"markdown-inner"},[e.renderSlot(b.$slots,"markdown",{content:s.value.replace(/ *:(?![ /])/g,": ")},void 0,!0)],512),y.value&&!k.value?(e.openBlock(),e.createElementBlock("div",rE)):e.createCommentVNode("",!0)],2),y.value||k.value?(e.openBlock(),e.createElementBlock("div",aE,[e.createElementVNode("button",{class:"more-btn",onClick:T},[e.createTextVNode(e.toDisplayString(k.value?"See less":"See more")+" ",1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(k.value?nr:Xn)))])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]))}}),sE=D(iE,[["__scopeId","data-v-cac71265"]]),cE=/"(?:_|\\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*:/,uE=/"(?: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*:/,dE=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function mE(t,n){if(t==="__proto__"||t==="constructor"&&n&&typeof n=="object"&&"prototype"in n){fE(t);return}return n}function fE(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function pE(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(!dE.test(t)){if(n.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(cE.test(t)||uE.test(t)){if(n.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,mE)}return JSON.parse(t)}catch(l){if(n.strict)throw l;return t}}const gE=/\d/,hE=["-","_","/","."];function EE(t=""){if(!gE.test(t))return t!==t.toLowerCase()}function ir(t,n){const o=hE,l=[];if(!t||typeof t!="string")return l;let a="",r,i;for(const s of t){const c=o.includes(s);if(c===!0){l.push(a),a="",r=void 0;continue}const u=EE(s);if(i===!1){if(r===!1&&u===!0){l.push(a),a=s,r=u;continue}if(r===!0&&u===!1&&a.length>1){const d=a.at(-1);l.push(a.slice(0,Math.max(0,a.length-1))),a=d+s,r=u;continue}}a+=s,r=u,i=c}return l.push(a),l}function yE(t){return t?t[0].toUpperCase()+t.slice(1):""}function sr(t,n){return t?(Array.isArray(t)?t:ir(t)).map(o=>yE(o)).join(""):""}function kE(t,n){return t?(Array.isArray(t)?t:ir(t)).map(o=>o.toLowerCase()).join("-"):""}class kt{constructor(n,o,l){this.normal=o,this.property=n,l&&(this.space=l)}}kt.prototype.normal={};kt.prototype.property={};kt.prototype.space=void 0;function cr(t,n){const o={},l={};for(const a of t)Object.assign(o,a.property),Object.assign(l,a.normal);return new kt(o,l,n)}function Tn(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 _E=0;const U=Ze(),se=Ze(),Bn=Ze(),V=Ze(),J=Ze(),ot=Ze(),ve=Ze();function Ze(){return 2**++_E}const Vn=Object.freeze(Object.defineProperty({__proto__:null,boolean:U,booleanish:se,commaOrSpaceSeparated:ve,commaSeparated:ot,number:V,overloadedBoolean:Bn,spaceSeparated:J},Symbol.toStringTag,{value:"Module"})),pn=Object.keys(Vn);class Jn extends ke{constructor(n,o,l,a){let r=-1;if(super(n,o),Xo(this,"space",a),typeof l=="number")for(;++r<pn.length;){const i=pn[r];Xo(this,pn[r],(l&Vn[i])===Vn[i])}}}Jn.prototype.defined=!0;function Xo(t,n,o){o&&(t[n]=o)}function it(t){const n={},o={};for(const[l,a]of Object.entries(t.properties)){const r=new Jn(l,t.transform(t.attributes||{},l),a,t.space);t.mustUseProperty&&t.mustUseProperty.includes(l)&&(r.mustUseProperty=!0),n[l]=r,o[Tn(l)]=l,o[Tn(r.attribute)]=l}return new kt(n,o,t.space)}const ur=it({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 dr(t,n){return n in t?t[n]:n}function mr(t,n){return dr(t,n.toLowerCase())}const vE=it({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ot,acceptCharset:J,accessKey:J,action:null,allow:null,allowFullScreen:U,allowPaymentRequest:U,allowUserMedia:U,alt:null,as:null,async:U,autoCapitalize:null,autoComplete:J,autoFocus:U,autoPlay:U,blocking:J,capture:null,charSet:null,checked:U,cite:null,className:J,cols:V,colSpan:null,content:null,contentEditable:se,controls:U,controlsList:J,coords:V|ot,crossOrigin:null,data:null,dateTime:null,decoding:null,default:U,defer:U,dir:null,dirName:null,disabled:U,download:Bn,draggable:se,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:U,formTarget:null,headers:J,height:V,hidden:Bn,high:V,href:null,hrefLang:null,htmlFor:J,httpEquiv:J,id:null,imageSizes:null,imageSrcSet:null,inert:U,inputMode:null,integrity:null,is:null,isMap:U,itemId:null,itemProp:J,itemRef:J,itemScope:U,itemType:J,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:U,low:V,manifest:null,max:null,maxLength:V,media:null,method:null,min:null,minLength:V,multiple:U,muted:U,name:null,nonce:null,noModule:U,noValidate:U,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:U,optimum:V,pattern:null,ping:J,placeholder:null,playsInline:U,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:U,referrerPolicy:null,rel:J,required:U,reversed:U,rows:V,rowSpan:V,sandbox:J,scope:null,scoped:U,seamless:U,selected:U,shadowRootClonable:U,shadowRootDelegatesFocus:U,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:U,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:U,declare:U,event:null,face:null,frame:null,frameBorder:null,hSpace:V,leftMargin:V,link:null,longDesc:null,lowSrc:null,marginHeight:V,marginWidth:V,noResize:U,noHref:U,noShade:U,noWrap:U,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:U,disableRemotePlayback:U,prefix:null,property:null,results:V,security:null,unselectable:null},space:"html",transform:mr}),CE=it({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:U,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:ot,g2:ot,glyphName:ot,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:dr}),fr=it({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()}}),pr=it({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:mr}),gr=it({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(t,n){return"xml:"+n.slice(3).toLowerCase()}}),NE=/[A-Z]/g,Zo=/-[a-z]/g,SE=/^data[-\w.:]+$/i;function bE(t,n){const o=Tn(n);let l=n,a=ke;if(o in t.normal)return t.property[t.normal[o]];if(o.length>4&&o.slice(0,4)==="data"&&SE.test(n)){if(n.charAt(4)==="-"){const r=n.slice(5).replace(Zo,LE);l="data"+r.charAt(0).toUpperCase()+r.slice(1)}else{const r=n.slice(4);if(!Zo.test(r)){let i=r.replace(NE,wE);i.charAt(0)!=="-"&&(i="-"+i),n="data"+i}}a=Jn}return new a(l,n)}function wE(t){return"-"+t.toLowerCase()}function LE(t){return t.charAt(1).toUpperCase()}const TE=cr([ur,vE,fr,pr,gr],"html");cr([ur,CE,fr,pr,gr],"svg");const Qn=["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"],BE=["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 eo(t){return Ft(t,"text")||Ft(t,Symbol.for("v-txt"))}function hr(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(eo(t))return t.value||t.children||"";const n=hr(t);return Array.isArray(n)?n.map(Ut).filter(Boolean).join(""):""}function Er(t,n=[]){if(Array.isArray(t))return t.flatMap(l=>Er(l,n));let o=t;return n.some(l=>l==="*"||Ft(t,l))&&(o=hr(t)||t,!Array.isArray(o)&&BE.some(l=>Ft(t,l))&&(o=[o])),o}function yr(t,n=[]){return t=Array.isArray(t)?t:[t],n.length?t.flatMap(o=>yr(Er(o,[n[0]]),n.slice(1))).filter(o=>!(eo(o)&&Ut(o).trim()==="")):t}function kr(t,n=[]){return typeof n=="string"&&(n=n.split(/[,\s]/).map(o=>o.trim()).filter(Boolean)),n.length?yr(t,n).reduce((o,l)=>(eo(l)?typeof o[o.length-1]=="string"?o[o.length-1]+=l.children:o.push(l.children):o.push(l),o),[]):t}function VE(t,n){return n.reduce((o,l)=>{const a=IE(t,l);return a!==void 0&&(o[l]=a),o},{})}function IE(t,n){return n.split(".").reduce((o,l)=>o&&o[l],t)}const In="default",_r=/^@|^v-on:/,vr=/^:|^v-bind:/,AE=/^v-model/,DE=["select","textarea","input"],$E=["math","svg"],OE=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}`])),PE=["script","base"],RE=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:a}=o?.$config?.public||{},r=e.computed(()=>({...a?.components?.prose&&t.prose!==!1?OE:{},...a?.components?.map||{},...e.toRaw(t.data?.mdc?.components||{}),...t.components})),i=e.computed(()=>{const u=(t.body?.children||[]).map(d=>d.tag||d.type).filter(d=>!Qn.includes(d));return Array.from(new Set(u)).sort().join(".")}),s=e.reactive({...t.data});e.watch(()=>t.data,u=>{Object.assign(s,u)}),await YE(t.body,{tags:r.value});function c(u,d){const p=u.split(".").length-1;return u.split(".").reduce((h,_,v)=>v==p&&h?(h[_]=d,h[_]):typeof h=="object"?h[_]:void 0,s)}return{tags:r,contentKey:i,route:l,runtimeData:s,updateRuntimeData:c}},render(t){const{tags:n,tag:o,body:l,data:a,contentKey:r,route:i,unwrap:s,runtimeData:c,updateRuntimeData:u}=t;if(!l)return null;const d={...a,tags:n,$route:i,runtimeData:c,updateRuntimeData:u},p=o!==!1?An(o||d.component?.name||d.component||"div"):void 0;return p?e.h(p,{...d.component?.props,class:t.class,...this.$attrs,key:r},{default:h}):h?.();function h(){const _=Cr(l,e.h,{documentMeta:d,parentScope:d,resolveComponent:An});return _?.default?s?kr(_.default(),typeof s=="string"?s.split(" "):["*"]):_.default():null}}});function ME(t,n,o,l){const{documentMeta:a,parentScope:r,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=Sr(t,a.tags);if(t.tag==="binding")return xE(t,n,a,r);const u=Nr(c)?h=>h:i;if(PE.includes(c))return n("pre",{class:"mdc-renderer-dangerous-tag"},"<"+c+">"+Ut(t)+"</"+c+">");const d=u(c);typeof d=="object"&&(d.tag=s);const p=FE(t,a);return l&&(p.key=l),n(d,p,Cr(t,n,{documentMeta:a,parentScope:{...r,...p},resolveComponent:u}))}function Cr(t,n,o){const{documentMeta:l,parentScope:a,resolveComponent:r}=o,s=(t.children||[]).reduce((u,d)=>{if(!GE(d))return u[In].children.push(d),u;const p=jE(d);return u[p]=u[p]||{props:{},children:[]},d.type==="element"&&(u[p].props=d.props,u[p].children.push(...d.children||[])),u},{[In]:{props:{},children:[]}});return Object.entries(s).reduce((u,[d,{props:p,children:h}])=>(h.length&&(u[d]=(_={})=>{const v=VE(_,Object.keys(p||{}));let k=h.map((E,f)=>ME(E,n,{documentMeta:l,parentScope:{...a,...v},resolveComponent:r},String(E.props?.key||f)));return p?.unwrap&&(k=kr(k,p.unwrap)),KE(k)}),u),{})}function xE(t,n,o,l={}){const a={...o.runtimeData,...l,$document:o,$doc:o},r=/\.|\[(\d+)\]/,s=(t.props?.value.trim().split(r).filter(Boolean)).reduce((u,d)=>{if(u&&d in u)return typeof u[d]=="function"?u[d]():u[d]},a),c=t.props?.defaultValue;return n(e.Text,s??c??"")}function FE(t,n){const{tag:o="",props:l={}}=t;return Object.keys(l).reduce(function(a,r){if(r==="__ignoreMap")return a;const i=l[r];if(AE.test(r))return UE(r,i,a,n,{native:DE.includes(o)});if(r==="v-bind")return HE(r,i,a,n);if(_r.test(r))return zE(r,i,a,n);if(vr.test(r))return WE(r,i,a,n);const{attribute:s}=bE(TE,r);return Array.isArray(i)&&i.every(c=>typeof c=="string")?(a[s]=i.join(" "),a):(a[s]=i,a)},{})}function UE(t,n,o,l,{native:a}){const r=t.match(/^v-model:([^=]+)/)?.[1]||"modelValue",i=a?"value":r,s=a?"onInput":`onUpdate:${r}`;return o[i]=Xt(n,l.runtimeData),o[s]=c=>{l.updateRuntimeData(n,a?c.target?.value:c)},o}function HE(t,n,o,l){const a=Xt(n,l);return o=Object.assign(o,a),o}function zE(t,n,o,l){return t=t.replace(_r,""),o.on=o.on||{},o.on[t]=()=>Xt(n,l),o}function WE(t,n,o,l){return t=t.replace(vr,""),o[t]=Xt(n,l),o}const An=t=>{if(typeof t=="string"){if(Qn.includes(t))return t;const n=e.resolveComponent(sr(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,a)=>typeof l=="object"?l[a]:void 0,n);return typeof o>"u"?pE(t):o}function jE(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 GE(t){return t.tag==="template"}function Nr(t){return $E.includes(t)}function KE(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 YE(t,n){if(!t)return;const o=Array.from(new Set(l(t,n)));await Promise.all(o.map(async a=>{if(a?.render||a?.ssrRender||a?.__ssrInlineRender)return;const r=An(a);r?.__asyncLoader&&!r.__asyncResolved&&await r.__asyncLoader()}));function l(a,r){const i=a.tag;if(a.type==="text"||i==="binding"||a.type==="comment")return[];const s=Sr(a,r.tags);if(Nr(s))return[];const c=[];a.type!=="root"&&!Qn.includes(s)&&c.push(s);for(const u of a.children||[])c.push(...l(u,r));return c}}function Sr(t,n){const o=t.tag;return!o||typeof t.props?.__ignoreMap<"u"?o:n[o]||n[sr(o)]||n[kE(t.tag)]||o}const qE=e.defineComponent({__name:"MDCRenderer",setup(t){return(n,o)=>(e.openBlock(),e.createBlock(e.Suspense,null,{default:e.withCtx(()=>[e.createVNode(RE,e.mergeProps(n.$attrs,{prose:!0}),null,16)]),_:1}))}});exports.CLUSTER_PREFIX=w.CLUSTER_PREFIX;exports.EVENTS=w.EVENTS;exports.NODE_SIZES=w.NODE_SIZES;exports.SECTIONS=w.SECTIONS;exports.Utils=w.Utils;exports.VueFlowUtils=w.VueFlowUtils;exports.Collapsible=ht;exports.CollapsibleV2=Et;exports.DependenciesNode=Uc;exports.ElementCard=ql;exports.LOG_LEVELS=ti;exports.MDCRenderer=qE;exports.PluginIndex=sE;exports.RotatingDotsIcon=el;exports.STATES=z;exports.SchemaToHtml=G1;exports.SchemaToHtmlV2=Jh;exports.State=ne;exports.Status=xf;exports.SubgroupCard=Yl;exports.TaskIcon=Un;exports.Topology=Pf;exports.YamlUtils=Or;exports.buildPluginMappings=ii;exports.cssVariable=Ce;exports.extractPluginElements=Ht;exports.filterPluginsWithoutDeprecated=ai;exports.getMDCParser=ni;exports.isEntryAPluginElementPredicate=Dn;exports.slugify=he;exports.subGroupName=De;exports.usePluginElementCounts=Qo;
35
+ `.concat(d.code),r=e.ref(),i=e.computed(()=>l.schema.properties?.$examples),s=e.computed(()=>Object.fromEntries(l.schema.properties?.$metrics?.map(d=>[d.name,{...d,name:void 0}]))),{getHighlighterCore:c}=([n,o]=e.withAsyncContext(()=>Promise.resolve().then(()=>require("./shikiToolset-BJ-YtZfq.cjs"))),n=await n,o(),n);r.value=([n,o]=e.withAsyncContext(()=>c()),n=await n,o(),n);const u="github-"+(l.darkMode?"dark":"light");return(d,p)=>(e.openBlock(),e.createElementBlock("div",Fh,[e.createElementVNode("div",Uh,[d.schema.properties?.$beta?(e.openBlock(),e.createElementBlock("div",Hh,[...p[0]||(p[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),d.schema.properties?.description?(e.openBlock(),e.createElementBlock("div",zh,[e.renderSlot(d.$slots,"markdown",{content:d.schema.properties.description.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),(e.openBlock(),e.createBlock(xt,{highlighter:r.value,language:"yaml",theme:u,code:`type: "${d.pluginType}"`,key:d.pluginType},null,8,["highlighter","code"]))]),(e.openBlock(),e.createElementBlock("div",{class:"d-flex flex-column",key:d.pluginType},[i.value?(e.openBlock(),e.createBlock(Et,{key:0,class:"plugin-section",title:"Examples",href:"examples","no-url-change":d.noUrlChange},{content:e.withCtx(()=>[e.createElementVNode("div",Wh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(h,_)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:d.pluginType+"-"+_},[e.createElementVNode("div",jh,[e.createElementVNode("div",Gh,[h.title?e.renderSlot(d.$slots,"markdown",{key:0,content:h.title.replace(/ *:(?![ /])/g,": ")},void 0,!0):e.createCommentVNode("",!0)]),h.code?(e.openBlock(),e.createBlock(xt,{key:0,highlighter:r.value,language:h.lang??"yaml",theme:u,code:a(h)},null,8,["highlighter","language","code"])):e.createCommentVNode("",!0)]),_<i.value.length-1?(e.openBlock(),e.createElementBlock("hr",Kh)):e.createCommentVNode("",!0)],64))),128))])]),_:3},8,["no-url-change"])):e.createCommentVNode("",!0),d.schema.properties?.properties?(e.openBlock(),e.createBlock(fn,{key:1,class:"plugin-section",properties:d.schema.properties.properties,"section-name":"Properties",href:"properties","initially-expanded":d.propsInitiallyExpanded,"force-include":d.forceIncludeProperties,definitions:d.schema.definitions,"no-url-change":d.noUrlChange},{markdown:e.withCtx(({content:h})=>[e.createElementVNode("div",Yh,[e.renderSlot(d.$slots,"markdown",{content:h},void 0,!0)])]),_:3},8,["properties","initially-expanded","force-include","definitions","no-url-change"])):e.createCommentVNode("",!0),d.schema.outputs?.properties&&Object.keys(d.schema.outputs.properties).length>0?(e.openBlock(),e.createBlock(fn,{key:2,class:"plugin-section",properties:d.schema.outputs.properties,"section-name":"Outputs",href:"outputs","show-dynamic":!1,definitions:d.schema.definitions,"no-url-change":d.noUrlChange},{markdown:e.withCtx(({content:h})=>[e.createElementVNode("div",qh,[e.renderSlot(d.$slots,"markdown",{content:h},void 0,!0)])]),_:3},8,["properties","definitions","no-url-change"])):e.createCommentVNode("",!0),d.schema.properties?.$metrics?(e.openBlock(),e.createBlock(fn,{key:3,class:"plugin-section",properties:s.value,"section-name":"Metrics",href:"metrics","show-dynamic":!1,definitions:d.schema.definitions,"no-url-change":d.noUrlChange},{markdown:e.withCtx(({content:h})=>[e.createElementVNode("div",Xh,[e.renderSlot(d.$slots,"markdown",{content:h},void 0,!0)])]),_:3},8,["properties","definitions","no-url-change"])):e.createCommentVNode("",!0)]))]))}}),Jh=D(Zh,[["__scopeId","data-v-1fe47a0f"]]),Qh={class:"d-flex flex-column gap-4"},eE={key:0,class:"pb-2"},tE={class:"row g-4 last"},nE=["id"],oE={class:"row g-4 last"},lE={key:2,class:"description"},rE={key:0,class:"gradient-overlay"},aE={key:0,class:"more-wrap text-center"},iE=e.defineComponent({__name:"PluginIndex",props:{plugins:{},pluginName:{},routePath:{},icons:{},subGroup:{},activeId:{},subgroupBlueprintCounts:{},metadataMap:{},schemas:{}},emits:["navigate"],setup(t,{emit:n}){const o=t,l=b=>o.metadataMap?.[b.subGroup??b.group],a=b=>l(b)?.description??b.description,r=b=>l(b)?.title??b.title??De(b),i=e.computed(()=>o.plugins.find(b=>o.subGroup===void 0?!0:ve(De(b))===o.subGroup)),s=e.computed(()=>i.value?.longDescription??i.value?.description),c=e.computed(()=>o.plugins.filter(b=>b.name.toLowerCase()===o.pluginName.toLowerCase()&&b.subGroup!==void 0)),u=b=>{let I=b.split(".");return I?.[I.length-1]},d=b=>`${o.routePath}/${b}`;function p(b){const I=Ht(b);return Object.values(I).reduce((N,M)=>N+M.length,0)}const{elementsByType:h}=Qo(i),_=e.ref(null),v=e.ref(null),k=e.ref(!1),{height:E}=qo(_),{height:f}=qo(v),y=e.computed(()=>f.value>E.value+2),T=()=>{k.value=!k.value},S=n;return(b,I)=>(e.openBlock(),e.createElementBlock("div",Qh,[b.subGroup===void 0&&b.plugins.length>1?(e.openBlock(),e.createElementBlock("div",eE,[e.createElementVNode("div",tE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,N=>(e.openBlock(),e.createElementBlock("div",{class:"col-md-4 col-lg-6 col-xl-6 col-xxl-4",key:e.unref(De)(N)},[e.createVNode(Yl,{id:e.unref(ve)(e.unref(De)(N)),"icon-b64-svg":"data:image/svg+xml;base64,"+(b.icons[N.subGroup]??b.icons[N.group]),text:r(N),description:a(N),href:`${b.routePath}/${e.unref(ve)(e.unref(De)(N))}`,"route-path":b.routePath,"plugin-group":N.group??N.name,"total-count":p(N),"blueprints-count":o.subgroupBlueprintCounts?.[`${e.unref(ve)(N.group??N.name)}-${e.unref(ve)(e.unref(De)(N))}`]??0,"is-active":b.activeId?.toLowerCase()===e.unref(ve)(e.unref(De)(N)),class:"text-capitalize h-100",onNavigate:I[0]||(I[0]=M=>S("navigate",M))},null,8,["id","icon-b64-svg","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(h),(N,M)=>(e.openBlock(),e.createElementBlock("div",{class:"d-flex flex-column elements-section pb-3",key:M},[e.createElementVNode("h4",{id:`section-${e.unref(ve)(M)}`,class:"text-capitalize"},e.toDisplayString(M),9,nE),e.createElementVNode("div",oE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N,U=>(e.openBlock(),e.createElementBlock("div",{class:"col-md-4 col-lg-6 col-xl-6 col-xxl-4",key:U},[e.createVNode(ql,{id:e.unref(ve)(U),"icon-b64-svg":"data:image/svg+xml;base64,"+(b.icons[U]??b.icons[i.value.subGroup??i.value.group]??b.icons[i.value.group]),text:u(U),"plugin-class":U,href:d(U),"route-path":b.routePath,title:b.schemas?.[U]?.title,class:"h-100",onNavigate:I[1]||(I[1]=Q=>S("navigate",Q))},{markdown:e.withCtx(({content:Q})=>[e.renderSlot(b.$slots,"markdown",{content:Q},void 0,!0)]),_:3},8,["id","icon-b64-svg","text","plugin-class","href","route-path","title"])]))),128))])]))),128)):e.createCommentVNode("",!0),s.value!==void 0&&i.value?.longDescription?(e.openBlock(),e.createElementBlock("div",lE,[I[2]||(I[2]=e.createElementVNode("h4",{id:"how-to-use-this-plugin"}," How to use this plugin ",-1)),e.createElementVNode("div",{ref_key:"contentWrap",ref:_,class:e.normalizeClass(["markdown-container",{expanded:k.value}])},[e.createElementVNode("div",{ref_key:"contentInner",ref:v,class:"markdown-inner"},[e.renderSlot(b.$slots,"markdown",{content:s.value.replace(/ *:(?![ /])/g,": ")},void 0,!0)],512),y.value&&!k.value?(e.openBlock(),e.createElementBlock("div",rE)):e.createCommentVNode("",!0)],2),y.value||k.value?(e.openBlock(),e.createElementBlock("div",aE,[e.createElementVNode("button",{class:"more-btn",onClick:T},[e.createTextVNode(e.toDisplayString(k.value?"See less":"See more")+" ",1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(k.value?nr:Xn)))])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]))}}),sE=D(iE,[["__scopeId","data-v-535305bd"]]),cE=/"(?:_|\\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*:/,uE=/"(?: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*:/,dE=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function mE(t,n){if(t==="__proto__"||t==="constructor"&&n&&typeof n=="object"&&"prototype"in n){fE(t);return}return n}function fE(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function pE(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(!dE.test(t)){if(n.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(cE.test(t)||uE.test(t)){if(n.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,mE)}return JSON.parse(t)}catch(l){if(n.strict)throw l;return t}}const gE=/\d/,hE=["-","_","/","."];function EE(t=""){if(!gE.test(t))return t!==t.toLowerCase()}function ir(t,n){const o=hE,l=[];if(!t||typeof t!="string")return l;let a="",r,i;for(const s of t){const c=o.includes(s);if(c===!0){l.push(a),a="",r=void 0;continue}const u=EE(s);if(i===!1){if(r===!1&&u===!0){l.push(a),a=s,r=u;continue}if(r===!0&&u===!1&&a.length>1){const d=a.at(-1);l.push(a.slice(0,Math.max(0,a.length-1))),a=d+s,r=u;continue}}a+=s,r=u,i=c}return l.push(a),l}function yE(t){return t?t[0].toUpperCase()+t.slice(1):""}function sr(t,n){return t?(Array.isArray(t)?t:ir(t)).map(o=>yE(o)).join(""):""}function kE(t,n){return t?(Array.isArray(t)?t:ir(t)).map(o=>o.toLowerCase()).join("-"):""}class kt{constructor(n,o,l){this.normal=o,this.property=n,l&&(this.space=l)}}kt.prototype.normal={};kt.prototype.property={};kt.prototype.space=void 0;function cr(t,n){const o={},l={};for(const a of t)Object.assign(o,a.property),Object.assign(l,a.normal);return new kt(o,l,n)}function Tn(t){return t.toLowerCase()}class ye{constructor(n,o){this.attribute=o,this.property=n}}ye.prototype.attribute="";ye.prototype.booleanish=!1;ye.prototype.boolean=!1;ye.prototype.commaOrSpaceSeparated=!1;ye.prototype.commaSeparated=!1;ye.prototype.defined=!1;ye.prototype.mustUseProperty=!1;ye.prototype.number=!1;ye.prototype.overloadedBoolean=!1;ye.prototype.property="";ye.prototype.spaceSeparated=!1;ye.prototype.space=void 0;let _E=0;const F=Ze(),se=Ze(),Bn=Ze(),V=Ze(),J=Ze(),ot=Ze(),_e=Ze();function Ze(){return 2**++_E}const Vn=Object.freeze(Object.defineProperty({__proto__:null,boolean:F,booleanish:se,commaOrSpaceSeparated:_e,commaSeparated:ot,number:V,overloadedBoolean:Bn,spaceSeparated:J},Symbol.toStringTag,{value:"Module"})),pn=Object.keys(Vn);class Jn extends ye{constructor(n,o,l,a){let r=-1;if(super(n,o),Xo(this,"space",a),typeof l=="number")for(;++r<pn.length;){const i=pn[r];Xo(this,pn[r],(l&Vn[i])===Vn[i])}}}Jn.prototype.defined=!0;function Xo(t,n,o){o&&(t[n]=o)}function it(t){const n={},o={};for(const[l,a]of Object.entries(t.properties)){const r=new Jn(l,t.transform(t.attributes||{},l),a,t.space);t.mustUseProperty&&t.mustUseProperty.includes(l)&&(r.mustUseProperty=!0),n[l]=r,o[Tn(l)]=l,o[Tn(r.attribute)]=l}return new kt(n,o,t.space)}const ur=it({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 dr(t,n){return n in t?t[n]:n}function mr(t,n){return dr(t,n.toLowerCase())}const vE=it({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ot,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|ot,crossOrigin:null,data:null,dateTime:null,decoding:null,default:F,defer:F,dir:null,dirName:null,disabled:F,download:Bn,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:Bn,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:mr}),CE=it({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:_e,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:ot,g2:ot,glyphName:ot,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:_e,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:_e,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:_e,rev:_e,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:_e,requiredFeatures:_e,requiredFonts:_e,requiredFormats:_e,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:_e,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:_e,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:_e,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:dr}),fr=it({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()}}),pr=it({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:mr}),gr=it({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(t,n){return"xml:"+n.slice(3).toLowerCase()}}),NE=/[A-Z]/g,Zo=/-[a-z]/g,SE=/^data[-\w.:]+$/i;function bE(t,n){const o=Tn(n);let l=n,a=ye;if(o in t.normal)return t.property[t.normal[o]];if(o.length>4&&o.slice(0,4)==="data"&&SE.test(n)){if(n.charAt(4)==="-"){const r=n.slice(5).replace(Zo,LE);l="data"+r.charAt(0).toUpperCase()+r.slice(1)}else{const r=n.slice(4);if(!Zo.test(r)){let i=r.replace(NE,wE);i.charAt(0)!=="-"&&(i="-"+i),n="data"+i}}a=Jn}return new a(l,n)}function wE(t){return"-"+t.toLowerCase()}function LE(t){return t.charAt(1).toUpperCase()}const TE=cr([ur,vE,fr,pr,gr],"html");cr([ur,CE,fr,pr,gr],"svg");const Qn=["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"],BE=["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 eo(t){return Ft(t,"text")||Ft(t,Symbol.for("v-txt"))}function hr(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(eo(t))return t.value||t.children||"";const n=hr(t);return Array.isArray(n)?n.map(Ut).filter(Boolean).join(""):""}function Er(t,n=[]){if(Array.isArray(t))return t.flatMap(l=>Er(l,n));let o=t;return n.some(l=>l==="*"||Ft(t,l))&&(o=hr(t)||t,!Array.isArray(o)&&BE.some(l=>Ft(t,l))&&(o=[o])),o}function yr(t,n=[]){return t=Array.isArray(t)?t:[t],n.length?t.flatMap(o=>yr(Er(o,[n[0]]),n.slice(1))).filter(o=>!(eo(o)&&Ut(o).trim()==="")):t}function kr(t,n=[]){return typeof n=="string"&&(n=n.split(/[,\s]/).map(o=>o.trim()).filter(Boolean)),n.length?yr(t,n).reduce((o,l)=>(eo(l)?typeof o[o.length-1]=="string"?o[o.length-1]+=l.children:o.push(l.children):o.push(l),o),[]):t}function VE(t,n){return n.reduce((o,l)=>{const a=IE(t,l);return a!==void 0&&(o[l]=a),o},{})}function IE(t,n){return n.split(".").reduce((o,l)=>o&&o[l],t)}const In="default",_r=/^@|^v-on:/,vr=/^:|^v-bind:/,AE=/^v-model/,DE=["select","textarea","input"],$E=["math","svg"],OE=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}`])),PE=["script","base"],RE=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:a}=o?.$config?.public||{},r=e.computed(()=>({...a?.components?.prose&&t.prose!==!1?OE:{},...a?.components?.map||{},...e.toRaw(t.data?.mdc?.components||{}),...t.components})),i=e.computed(()=>{const u=(t.body?.children||[]).map(d=>d.tag||d.type).filter(d=>!Qn.includes(d));return Array.from(new Set(u)).sort().join(".")}),s=e.reactive({...t.data});e.watch(()=>t.data,u=>{Object.assign(s,u)}),await YE(t.body,{tags:r.value});function c(u,d){const p=u.split(".").length-1;return u.split(".").reduce((h,_,v)=>v==p&&h?(h[_]=d,h[_]):typeof h=="object"?h[_]:void 0,s)}return{tags:r,contentKey:i,route:l,runtimeData:s,updateRuntimeData:c}},render(t){const{tags:n,tag:o,body:l,data:a,contentKey:r,route:i,unwrap:s,runtimeData:c,updateRuntimeData:u}=t;if(!l)return null;const d={...a,tags:n,$route:i,runtimeData:c,updateRuntimeData:u},p=o!==!1?An(o||d.component?.name||d.component||"div"):void 0;return p?e.h(p,{...d.component?.props,class:t.class,...this.$attrs,key:r},{default:h}):h?.();function h(){const _=Cr(l,e.h,{documentMeta:d,parentScope:d,resolveComponent:An});return _?.default?s?kr(_.default(),typeof s=="string"?s.split(" "):["*"]):_.default():null}}});function ME(t,n,o,l){const{documentMeta:a,parentScope:r,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=Sr(t,a.tags);if(t.tag==="binding")return xE(t,n,a,r);const u=Nr(c)?h=>h:i;if(PE.includes(c))return n("pre",{class:"mdc-renderer-dangerous-tag"},"<"+c+">"+Ut(t)+"</"+c+">");const d=u(c);typeof d=="object"&&(d.tag=s);const p=FE(t,a);return l&&(p.key=l),n(d,p,Cr(t,n,{documentMeta:a,parentScope:{...r,...p},resolveComponent:u}))}function Cr(t,n,o){const{documentMeta:l,parentScope:a,resolveComponent:r}=o,s=(t.children||[]).reduce((u,d)=>{if(!GE(d))return u[In].children.push(d),u;const p=jE(d);return u[p]=u[p]||{props:{},children:[]},d.type==="element"&&(u[p].props=d.props,u[p].children.push(...d.children||[])),u},{[In]:{props:{},children:[]}});return Object.entries(s).reduce((u,[d,{props:p,children:h}])=>(h.length&&(u[d]=(_={})=>{const v=VE(_,Object.keys(p||{}));let k=h.map((E,f)=>ME(E,n,{documentMeta:l,parentScope:{...a,...v},resolveComponent:r},String(E.props?.key||f)));return p?.unwrap&&(k=kr(k,p.unwrap)),KE(k)}),u),{})}function xE(t,n,o,l={}){const a={...o.runtimeData,...l,$document:o,$doc:o},r=/\.|\[(\d+)\]/,s=(t.props?.value.trim().split(r).filter(Boolean)).reduce((u,d)=>{if(u&&d in u)return typeof u[d]=="function"?u[d]():u[d]},a),c=t.props?.defaultValue;return n(e.Text,s??c??"")}function FE(t,n){const{tag:o="",props:l={}}=t;return Object.keys(l).reduce(function(a,r){if(r==="__ignoreMap")return a;const i=l[r];if(AE.test(r))return UE(r,i,a,n,{native:DE.includes(o)});if(r==="v-bind")return HE(r,i,a,n);if(_r.test(r))return zE(r,i,a,n);if(vr.test(r))return WE(r,i,a,n);const{attribute:s}=bE(TE,r);return Array.isArray(i)&&i.every(c=>typeof c=="string")?(a[s]=i.join(" "),a):(a[s]=i,a)},{})}function UE(t,n,o,l,{native:a}){const r=t.match(/^v-model:([^=]+)/)?.[1]||"modelValue",i=a?"value":r,s=a?"onInput":`onUpdate:${r}`;return o[i]=Xt(n,l.runtimeData),o[s]=c=>{l.updateRuntimeData(n,a?c.target?.value:c)},o}function HE(t,n,o,l){const a=Xt(n,l);return o=Object.assign(o,a),o}function zE(t,n,o,l){return t=t.replace(_r,""),o.on=o.on||{},o.on[t]=()=>Xt(n,l),o}function WE(t,n,o,l){return t=t.replace(vr,""),o[t]=Xt(n,l),o}const An=t=>{if(typeof t=="string"){if(Qn.includes(t))return t;const n=e.resolveComponent(sr(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,a)=>typeof l=="object"?l[a]:void 0,n);return typeof o>"u"?pE(t):o}function jE(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 GE(t){return t.tag==="template"}function Nr(t){return $E.includes(t)}function KE(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 YE(t,n){if(!t)return;const o=Array.from(new Set(l(t,n)));await Promise.all(o.map(async a=>{if(a?.render||a?.ssrRender||a?.__ssrInlineRender)return;const r=An(a);r?.__asyncLoader&&!r.__asyncResolved&&await r.__asyncLoader()}));function l(a,r){const i=a.tag;if(a.type==="text"||i==="binding"||a.type==="comment")return[];const s=Sr(a,r.tags);if(Nr(s))return[];const c=[];a.type!=="root"&&!Qn.includes(s)&&c.push(s);for(const u of a.children||[])c.push(...l(u,r));return c}}function Sr(t,n){const o=t.tag;return!o||typeof t.props?.__ignoreMap<"u"?o:n[o]||n[sr(o)]||n[kE(t.tag)]||o}const qE=e.defineComponent({__name:"MDCRenderer",setup(t){return(n,o)=>(e.openBlock(),e.createBlock(e.Suspense,null,{default:e.withCtx(()=>[e.createVNode(RE,e.mergeProps(n.$attrs,{prose:!0}),null,16)]),_:1}))}});exports.CLUSTER_PREFIX=w.CLUSTER_PREFIX;exports.EVENTS=w.EVENTS;exports.NODE_SIZES=w.NODE_SIZES;exports.SECTIONS=w.SECTIONS;exports.Utils=w.Utils;exports.VueFlowUtils=w.VueFlowUtils;exports.Collapsible=ht;exports.CollapsibleV2=Et;exports.DependenciesNode=Uc;exports.ElementCard=ql;exports.LOG_LEVELS=ti;exports.MDCRenderer=qE;exports.PluginIndex=sE;exports.RotatingDotsIcon=el;exports.STATES=z;exports.SchemaToHtml=K1;exports.SchemaToHtmlV2=Jh;exports.State=ne;exports.Status=xf;exports.SubgroupCard=Yl;exports.TaskIcon=Un;exports.Topology=Pf;exports.YamlUtils=Or;exports.buildPluginMappings=ii;exports.cssVariable=Ce;exports.extractPluginElements=Ht;exports.filterPluginsWithoutDeprecated=ai;exports.getMDCParser=ni;exports.isEntryAPluginElementPredicate=Dn;exports.slugify=ve;exports.subGroupName=De;exports.usePluginElementCounts=Qo;
36
36
  //# sourceMappingURL=kestra-index.cjs.js.map