@kestra-io/ui-libs 0.0.277 → 0.0.278

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,27 +1,11 @@
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-BjgsYtwb.cjs"),W=require("./FlowYamlUtils-BR3BpHdP.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
- * shared v11.1.12
3
- * (c) 2025 kazuya kawaguchi
4
- * Released under the MIT License.
5
- */function Ve(t,n){typeof console<"u"&&(console.warn("[intlify] "+t),n&&console.warn(n.stack))}const co={};function hi(t){co[t]||(co[t]=!0,Ve(t))}const Pe=typeof window<"u";let Ne,qe;if(process.env.NODE_ENV!=="production"){const t=Pe&&window.performance;t&&t.mark&&t.measure&&t.clearMarks&&t.clearMeasures&&(Ne=n=>{t.mark(n)},qe=(n,o,l)=>{t.measure(n,o,l),t.clearMarks(o),t.clearMarks(l)})}const Ei=/\{([0-9a-zA-Z]+)\}/g;function zt(t,...n){return n.length===1&&Y(n[0])&&(n=n[0]),(!n||!n.hasOwnProperty)&&(n={}),t.replace(Ei,(o,l)=>n.hasOwnProperty(l)?n[l]:"")}const Re=(t,n=!1)=>n?Symbol.for(t):Symbol(t),yi=(t,n,o)=>ki({l:t,k:n,s:o}),ki=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ce=t=>typeof t=="number"&&isFinite(t),_i=t=>$n(t)==="[object Date]",Dt=t=>$n(t)==="[object RegExp]",Wt=t=>K(t)&&Object.keys(t).length===0,ue=Object.assign,vi=Object.create,X=(t=null)=>vi(t);let uo;const Ke=()=>uo||(uo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:X());function mo(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function fo(t){return t.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Ci(t){return t=t.replace(/(\w+)\s*=\s*"([^"]*)"/g,(l,a,r)=>`${a}="${fo(r)}"`),t=t.replace(/(\w+)\s*=\s*'([^']*)'/g,(l,a,r)=>`${a}='${fo(r)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(t)&&(process.env.NODE_ENV!=="production"&&Ve("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."),t=t.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(l=>{t=t.replace(l,"$1javascript&#58;")}),t}const Ni=Object.prototype.hasOwnProperty;function be(t,n){return Ni.call(t,n)}const ie=Array.isArray,te=t=>typeof t=="function",$=t=>typeof t=="string",ae=t=>typeof t=="boolean",Y=t=>t!==null&&typeof t=="object",Si=t=>Y(t)&&te(t.then)&&te(t.catch),tl=Object.prototype.toString,$n=t=>tl.call(t),K=t=>$n(t)==="[object Object]",bi=t=>t==null?"":ie(t)||K(t)&&t.toString===tl?JSON.stringify(t,null,2):String(t);function On(t,n=""){return t.reduce((o,l,a)=>a===0?o+l:o+n+l,"")}const po=2;function wi(t,n=0,o=t.length){const l=t.split(/\r?\n/);let a=0;const r=[];for(let i=0;i<l.length;i++)if(a+=l[i].length+1,a>=n){for(let s=i-po;s<=i+po||o>a;s++){if(s<0||s>=l.length)continue;const c=s+1;r.push(`${c}${" ".repeat(3-String(c).length)}| ${l[s]}`);const u=l[s].length;if(s===i){const d=n-(a-u)+1,p=Math.max(1,o>a?u-d:o-n);r.push(" | "+" ".repeat(d)+"^".repeat(p))}else if(s>i){if(o>a){const d=Math.max(Math.min(o-a,u),1);r.push(" | "+"^".repeat(d))}a+=u+1}}break}return r.join(`
6
- `)}function Li(){const t=new Map;return{events:t,on(o,l){const a=t.get(o);a&&a.push(l)||t.set(o,[l])},off(o,l){const a=t.get(o);a&&a.splice(a.indexOf(l)>>>0,1)},emit(o,l){(t.get(o)||[]).slice().map(a=>a(l)),(t.get("*")||[]).slice().map(a=>a(o,l))}}}const bt=t=>!Y(t)||ie(t);function It(t,n){if(bt(t)||bt(n))throw new Error("Invalid value");const o=[{src:t,des:n}];for(;o.length;){const{src:l,des:a}=o.pop();Object.keys(l).forEach(r=>{r!=="__proto__"&&(Y(l[r])&&!Y(a[r])&&(a[r]=Array.isArray(l[r])?[]:X()),bt(a[r])||bt(l[r])?a[r]=l[r]:o.push({src:l[r],des:a[r]}))})}}/*!
7
- * message-compiler v11.1.12
8
- * (c) 2025 kazuya kawaguchi
9
- * Released under the MIT License.
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=`
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-BjgsYtwb.cjs"),W=require("./FlowYamlUtils-BR3BpHdP.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"]]);function Ve(t,n){typeof console<"u"&&(console.warn("[intlify] "+t),n&&console.warn(n.stack))}const co={};function hi(t){co[t]||(co[t]=!0,Ve(t))}const Pe=typeof window<"u";let Ne,qe;if(process.env.NODE_ENV!=="production"){const t=Pe&&window.performance;t&&t.mark&&t.measure&&t.clearMarks&&t.clearMeasures&&(Ne=n=>{t.mark(n)},qe=(n,o,l)=>{t.measure(n,o,l),t.clearMarks(o),t.clearMarks(l)})}const Ei=/\{([0-9a-zA-Z]+)\}/g;function zt(t,...n){return n.length===1&&Y(n[0])&&(n=n[0]),(!n||!n.hasOwnProperty)&&(n={}),t.replace(Ei,(o,l)=>n.hasOwnProperty(l)?n[l]:"")}const Re=(t,n=!1)=>n?Symbol.for(t):Symbol(t),yi=(t,n,o)=>ki({l:t,k:n,s:o}),ki=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ce=t=>typeof t=="number"&&isFinite(t),_i=t=>$n(t)==="[object Date]",Dt=t=>$n(t)==="[object RegExp]",Wt=t=>K(t)&&Object.keys(t).length===0,ue=Object.assign,vi=Object.create,X=(t=null)=>vi(t);let uo;const Ke=()=>uo||(uo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:X());function mo(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function fo(t){return t.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Ci(t){return t=t.replace(/(\w+)\s*=\s*"([^"]*)"/g,(l,a,r)=>`${a}="${fo(r)}"`),t=t.replace(/(\w+)\s*=\s*'([^']*)'/g,(l,a,r)=>`${a}='${fo(r)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(t)&&(process.env.NODE_ENV!=="production"&&Ve("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."),t=t.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(l=>{t=t.replace(l,"$1javascript&#58;")}),t}const Ni=Object.prototype.hasOwnProperty;function be(t,n){return Ni.call(t,n)}const ie=Array.isArray,te=t=>typeof t=="function",$=t=>typeof t=="string",ae=t=>typeof t=="boolean",Y=t=>t!==null&&typeof t=="object",Si=t=>Y(t)&&te(t.then)&&te(t.catch),tl=Object.prototype.toString,$n=t=>tl.call(t),K=t=>$n(t)==="[object Object]",bi=t=>t==null?"":ie(t)||K(t)&&t.toString===tl?JSON.stringify(t,null,2):String(t);function On(t,n=""){return t.reduce((o,l,a)=>a===0?o+l:o+n+l,"")}const po=2;function wi(t,n=0,o=t.length){const l=t.split(/\r?\n/);let a=0;const r=[];for(let i=0;i<l.length;i++)if(a+=l[i].length+1,a>=n){for(let s=i-po;s<=i+po||o>a;s++){if(s<0||s>=l.length)continue;const c=s+1;r.push(`${c}${" ".repeat(3-String(c).length)}| ${l[s]}`);const u=l[s].length;if(s===i){const d=n-(a-u)+1,p=Math.max(1,o>a?u-d:o-n);r.push(" | "+" ".repeat(d)+"^".repeat(p))}else if(s>i){if(o>a){const d=Math.max(Math.min(o-a,u),1);r.push(" | "+"^".repeat(d))}a+=u+1}}break}return r.join(`
2
+ `)}function Li(){const t=new Map;return{events:t,on(o,l){const a=t.get(o);a&&a.push(l)||t.set(o,[l])},off(o,l){const a=t.get(o);a&&a.splice(a.indexOf(l)>>>0,1)},emit(o,l){(t.get(o)||[]).slice().map(a=>a(l)),(t.get("*")||[]).slice().map(a=>a(o,l))}}}const bt=t=>!Y(t)||ie(t);function It(t,n){if(bt(t)||bt(n))throw new Error("Invalid value");const o=[{src:t,des:n}];for(;o.length;){const{src:l,des:a}=o.pop();Object.keys(l).forEach(r=>{r!=="__proto__"&&(Y(l[r])&&!Y(a[r])&&(a[r]=Array.isArray(l[r])?[]:X()),bt(a[r])||bt(l[r])?a[r]=l[r]:o.push({src:l[r],des:a[r]}))})}}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
3
  `,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
- `,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
- * core-base v11.1.12
14
- * (c) 2025 kazuya kawaguchi
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 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
- ${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
- * vue-i18n v11.1.12
19
- * (c) 2025 kazuya kawaguchi
20
- * Released under the MIT License.
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.
4
+ `,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))}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}
5
+ ${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();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
6
  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
7
  <path fill-rule="evenodd" clip-rule="evenodd" d="M4.34546 9.63757C4.74074 10.5277 5.31782 11.3221 6.03835 11.9681L7.03434 10.8209C6.4739 10.3185 6.02504 9.70059 5.71758 9.00824C5.41012 8.3159 5.25111 7.56496 5.25111 6.80532C5.25111 6.04568 5.41012 5.29475 5.71758 4.6024C6.02504 3.91006 6.4739 3.29216 7.03434 2.78977L6.03835 1.64258C5.31782 2.28851 4.74074 3.08293 4.34546 3.97307C3.95019 4.86321 3.74575 5.82867 3.74575 6.80532C3.74575 7.78197 3.95019 8.74744 4.34546 9.63757ZM16.955 4.38931C17.4802 3.97411 18.1261 3.74777 18.7913 3.74576C19.5894 3.74576 20.3547 4.06807 20.919 4.64177C21.4833 5.21548 21.8004 5.9936 21.8004 6.80494C21.8004 7.61628 21.4833 8.3944 20.919 8.96811C20.3547 9.54181 19.5894 9.86412 18.7913 9.86412C18.2559 9.86126 17.7312 9.71144 17.2725 9.43048L12.3325 14.4529L11.2688 13.3715L16.2088 8.34906C16.0668 8.10583 15.9592 7.84348 15.8891 7.56973H11.2688V6.04014H15.8891C16.055 5.38511 16.4298 4.80451 16.955 4.38931ZM17.9555 8.07674C18.2029 8.24482 18.4938 8.33453 18.7913 8.33453C19.1902 8.33412 19.5727 8.17284 19.8548 7.88607C20.1368 7.59931 20.2955 7.21049 20.2959 6.80494C20.2959 6.50241 20.2076 6.20668 20.0423 5.95514C19.877 5.70361 19.642 5.50756 19.3671 5.39178C19.0922 5.27601 18.7897 5.24572 18.4978 5.30474C18.206 5.36376 17.9379 5.50944 17.7275 5.72336C17.5171 5.93727 17.3738 6.20982 17.3157 6.50653C17.2577 6.80324 17.2875 7.11079 17.4014 7.39029C17.5152 7.66978 17.7081 7.90867 17.9555 8.07674ZM3.74621 15.2177V16.7473H7.19606L2.2417 21.7842L3.30539 22.8656L8.25975 17.8287V21.336H9.76427V15.2177H3.74621ZM15.7823 18.2769H12.7733V19.8064H15.7823V22.1008H21.8004V15.9825H15.7823V18.2769ZM17.2868 20.5712V17.5121H20.2959V20.5712H17.2868ZM8.02885 9.67292C7.62863 9.31407 7.30809 8.87275 7.08853 8.37827C6.86897 7.88378 6.75542 7.34747 6.75542 6.80494C6.75542 6.26241 6.86897 5.72609 7.08853 5.23161C7.30809 4.73713 7.62863 4.29581 8.02885 3.93696L9.02484 5.08415C8.78458 5.29946 8.59215 5.5643 8.46034 5.86106C8.32853 6.15782 8.26035 6.47971 8.26035 6.80532C8.26035 7.13094 8.32853 7.45282 8.46034 7.74958C8.59215 8.04634 8.78458 8.31118 9.02484 8.52649L8.02885 9.67292Z" fill="white"/>
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(`
8
+ </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 l=Array.from(n.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
9
  `)}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
10
  ${v};
27
11
  stroke: ${k.stroke};