@kestra-io/ui-libs 0.0.222 → 0.0.224

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/{FlowYamlUtils-B2iMnYvW.js → FlowYamlUtils-BnXiRqSX.js} +44 -44
  2. package/dist/{FlowYamlUtils-B2iMnYvW.js.map → FlowYamlUtils-BnXiRqSX.js.map} +1 -1
  3. package/dist/VueFlowUtils-DKrM_RaI.js +4513 -0
  4. package/dist/VueFlowUtils-DKrM_RaI.js.map +1 -0
  5. package/dist/VueFlowUtils-Dh7ybprm.cjs +2 -0
  6. package/dist/VueFlowUtils-Dh7ybprm.cjs.map +1 -0
  7. package/dist/components/nodes/BasicNode.vue.d.ts +1 -0
  8. package/dist/components/nodes/BasicNode.vue.d.ts.map +1 -1
  9. package/dist/components/nodes/CollapsedClusterNode.vue.d.ts +1 -0
  10. package/dist/components/nodes/CollapsedClusterNode.vue.d.ts.map +1 -1
  11. package/dist/components/nodes/EdgeNode.vue.d.ts +1 -0
  12. package/dist/components/nodes/TaskNode.vue.d.ts +1 -0
  13. package/dist/components/nodes/TaskNode.vue.d.ts.map +1 -1
  14. package/dist/components/nodes/TriggerNode.vue.d.ts +1 -0
  15. package/dist/components/nodes/TriggerNode.vue.d.ts.map +1 -1
  16. package/dist/components/topology/Topology.vue.d.ts +15 -4
  17. package/dist/components/topology/Topology.vue.d.ts.map +1 -1
  18. package/dist/components/topology/injectionKeys.d.ts +1 -0
  19. package/dist/components/topology/injectionKeys.d.ts.map +1 -1
  20. package/dist/kestra-flowyamlutils.es.js +6 -6
  21. package/dist/kestra-index.cjs.js +16 -16
  22. package/dist/kestra-index.cjs.js.map +1 -1
  23. package/dist/kestra-index.es.js +3940 -8270
  24. package/dist/kestra-index.es.js.map +1 -1
  25. package/dist/kestra-vueflowutils.cjs.js +2 -0
  26. package/dist/kestra-vueflowutils.cjs.js.map +1 -0
  27. package/dist/kestra-vueflowutils.es.js +33 -0
  28. package/dist/kestra-vueflowutils.es.js.map +1 -0
  29. package/dist/ui-libs.css +1 -1
  30. package/dist/utils/VueFlowUtils.d.ts +102 -49
  31. package/dist/utils/VueFlowUtils.d.ts.map +1 -1
  32. package/dist/utils/constants.d.ts +1 -0
  33. package/dist/utils/constants.d.ts.map +1 -1
  34. package/package.json +9 -1
  35. package/src/components/misc/ExecutionInformations.vue +2 -2
  36. package/src/components/nodes/TaskNode.vue +33 -1
  37. package/src/components/topology/Topology.vue +11 -3
  38. package/src/components/topology/injectionKeys.ts +2 -1
  39. package/src/scss/vue-material-design-icon.scss +26 -0
  40. package/src/utils/VueFlowUtils.test.ts +86 -0
  41. package/src/utils/VueFlowUtils.ts +566 -424
  42. package/src/utils/constants.ts +1 -0
@@ -1,30 +1,30 @@
1
- "use strict";var Qf=Object.create;var Fo=Object.defineProperty;var eh=Object.getOwnPropertyDescriptor;var th=Object.getOwnPropertyNames;var nh=Object.getPrototypeOf,rh=Object.prototype.hasOwnProperty;var ih=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of th(t))!rh.call(e,a)&&a!==n&&Fo(e,a,{get:()=>t[a],enumerable:!(i=eh(t,a))||i.enumerable});return e};var ah=(e,t,n)=>(n=e!=null?Qf(nh(e)):{},ih(t||!e||!e.__esModule?Fo(n,"default",{value:e,enumerable:!0}):n,e));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const mt=require("yaml"),L=require("./FlowYamlUtils-CwE38P6I.cjs"),r=require("vue"),oh=require("humanize-duration"),Rt=require("moment"),sh=require("moment-timezone"),te=require("@vue-flow/core"),wn=require("@vue-flow/controls"),lh=require("@popperjs/core"),Zt=require("vue-router"),Qe={TASKS:"TASKS",TRIGGERS:"TRIGGERS",TASK_RUNNERS:"TASK_RUNNERS"},H={EDIT:"edit",DELETE:"delete",SHOW_DESCRIPTION:"showDescription",COLLAPSE:"collapse",EXPAND:"expand",OPEN_LINK:"openLink",ADD_TASK:"addTask",SHOW_LOGS:"showLogs",MOUSE_OVER:"mouseover",MOUSE_LEAVE:"mouseleave",ADD_ERROR:"addError",EXPAND_DEPENDENCIES:"expandDependencies",SHOW_CONDITION:"showCondition"},st="cluster_",uh={EXECUTIONS:"executions",TASKRUNS:"taskruns"},ch={ALL:"all",ERROR:"error",HIDDEN:"hidden",DEFAULT:"all"},Ze={TASK_WIDTH:184,TASK_HEIGHT:44,TRIGGER_WIDTH:184,TRIGGER_HEIGHT:44,DOT_WIDTH:5,DOT_HEIGHT:5,COLLAPSED_CLUSTER_WIDTH:150,COLLAPSED_CLUSTER_HEIGHT:44,TRIGGER_CLUSTER_WIDTH:350,TRIGGER_CLUSTER_HEIGHT:180},dh={STORAGE_KEY:"view-type",SOURCE:"source",SOURCE_TOPOLOGY:"source-topology",SOURCE_DOC:"source-doc",TOPOLOGY:"topology",SOURCE_BLUEPRINTS:"source-blueprints"},fh={DISPLAY_EXECUTIONS_COLUMNS:"displayExecutionsColumns",DISPLAY_FLOW_EXECUTIONS_COLUMNS:"displayFlowExecutionsColumns",SELECTED_TENANT:"selectedTenant",EXECUTE_FLOW_BEHAVIOUR:"executeFlowBehaviour",SHOW_CHART:"showChart",SHOW_FLOWS_CHART:"showFlowsChart",SHOW_LOGS_CHART:"showLogsChart",DEFAULT_NAMESPACE:"defaultNamespace",LATEST_NAMESPACE:"latestNamespace",PAGINATION_SIZE:"paginationSize",IMPERSONATE:"impersonate",EDITOR_VIEW_TYPE:"editorViewType"},hh={SAME_TAB:"same tab",NEW_TAB:"new tab"},mh={INPROGRESS:"IN-PROGRESS"},ph={lineWidth:0},Uo=["tasks","triggers","errors","finally","afterExecution","pluginDefaults"],gh={stringify:L.stringify,parse:L.parse,pairsToMap:L.pairsToMap,extractTask(e,t){for(const n of Uo){const i=L.extractBlock({source:e,section:n,key:t});if(i)return i}},_extractTask(e,t,n){function i(o){if(o){if(o instanceof mt.YAMLMap&&o.get("type")!==void 0&&t===o.get("id"))return n?n(o):o;if(o.items)for(const[s,l]of o.items.entries()){let u;if(l instanceof mt.YAMLMap?u=i(l):u=i(l.value),u&&(n&&(o instanceof mt.YAMLMap?o.set(l.key.value,u):o.items[s]=u),!n&&u))return u}}}const a=i(e.contents);if(a!==void 0)return n?new mt.Document(a):new mt.Document(a)},replaceTaskInDocument(e,t,n,i="tasks",a="id"){return L.replaceBlockInDocument({source:e,section:i,keyName:a,key:t,newContent:n})},sort:L.sort,getAllCharts:L.getAllCharts,getChartAtPosition:L.getChartAtPosition,localizeElementAtIndex:L.localizeElementAtIndex,getTaskType:L.getTypeAtPosition,swapTasks(e,t,n){const i=mt.parseDocument(e),a=this._extractTask(i,t),o=this._extractTask(i,n);return mt.visit(i,{Pair(s,l){if(l.key.value==="dependsOn"&&l.value.items.map(u=>u.value).includes(n))throw{message:"dependency task",messageOptions:{taskId:n}}}}),this._extractTask(i,t,()=>o),this._extractTask(i,n,()=>a),i.toString(ph)},insertTask(e,t,n,i,a){return L.insertBlock({source:e,section:"tasks",newBlock:n,refKey:t,position:i,parentKey:a})},insertSection(e,t,n){return L.insertBlock({source:t,section:e,newBlock:n})},insertErrorInFlowable:L.insertErrorInFlowable,deleteSection(e,t,n){return L.deleteBlock({source:e,section:t,key:n})},deleteTask(e,t,n){return(n===Qe.TASKS?["tasks","errors"]:["triggers"]).reduce((a,o)=>L.deleteBlock({source:a,section:o,key:t}),e)},getLastTask(e,t){return L.getLastBlock({source:e,section:"tasks",parentKey:t})},checkTaskAlreadyExist(e,t){return L.checkBlockAlreadyExists({source:e,section:"tasks",newContent:t,keyName:"id"})},isParentChildrenRelation(e,t,n){return L.isParentChildrenRelation({source:e,sections:Uo,key1:t,key2:n,keyName:"id"})},replaceIdAndNamespace:L.replaceIdAndNamespace,updateMetadata:L.updateMetadata,cleanMetadata:L.cleanMetadata,getMetadata:L.getMetadata,deleteMetadata:L.deleteMetadata,flowHaveTasks:L.flowHaveTasks,extractPluginDefault:L.extractPluginDefault,replacePluginDefaultsInDocument:L.replacePluginDefaultsInDocument,deletePluginDefaults:L.deletePluginDefaults,extractFieldFromMaps:L.extractFieldFromMaps,getVersionAtPosition:L.getVersionAtPosition},Fe=e=>{const t=document.querySelector(":root"),n=t?getComputedStyle(t):null;return n==null?void 0:n.getPropertyValue(e)};var Sn,Ho;function vh(){if(Ho)return Sn;Ho=1;function e(t){return function(n,i,a){for(var o=-1,s=Object(n),l=a(n),u=l.length;u--;){var c=l[t?u:++o];if(i(s[c],c,s)===!1)break}return n}}return Sn=e,Sn}var Ln,Go;function go(){if(Go)return Ln;Go=1;var e=vh(),t=e();return Ln=t,Ln}var Tn,zo;function vo(){if(zo)return Tn;zo=1;var e=go(),t=L.requireKeys();function n(i,a){return i&&e(i,a,t)}return Tn=n,Tn}var In,Wo;function _h(){if(Wo)return In;Wo=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return In=t,In}var An,jo;function Eh(){if(jo)return An;jo=1;function e(t){return this.__data__.has(t)}return An=e,An}var On,Ko;function Qc(){if(Ko)return On;Ko=1;var e=L.require_MapCache(),t=_h(),n=Eh();function i(a){var o=-1,s=a==null?0:a.length;for(this.__data__=new e;++o<s;)this.add(a[o])}return i.prototype.add=i.prototype.push=t,i.prototype.has=n,On=i,On}var Rn,Yo;function yh(){if(Yo)return Rn;Yo=1;function e(t,n){for(var i=-1,a=t==null?0:t.length;++i<a;)if(n(t[i],i,t))return!0;return!1}return Rn=e,Rn}var Dn,Xo;function ed(){if(Xo)return Dn;Xo=1;function e(t,n){return t.has(n)}return Dn=e,Dn}var Pn,Zo;function td(){if(Zo)return Pn;Zo=1;var e=Qc(),t=yh(),n=ed(),i=1,a=2;function o(s,l,u,c,d,f){var h=u&i,m=s.length,C=l.length;if(m!=C&&!(h&&C>m))return!1;var E=f.get(s),_=f.get(l);if(E&&_)return E==l&&_==s;var p=-1,v=!0,y=u&a?new e:void 0;for(f.set(s,l),f.set(l,s);++p<m;){var g=s[p],k=l[p];if(c)var N=h?c(k,g,p,l,s,f):c(g,k,p,s,l,f);if(N!==void 0){if(N)continue;v=!1;break}if(y){if(!t(l,function(b,T){if(!n(y,T)&&(g===b||d(g,b,u,c,f)))return y.push(T)})){v=!1;break}}else if(!(g===k||d(g,k,u,c,f))){v=!1;break}}return f.delete(s),f.delete(l),v}return Pn=o,Pn}var Bn,Jo;function bh(){if(Jo)return Bn;Jo=1;function e(t){var n=-1,i=Array(t.size);return t.forEach(function(a,o){i[++n]=[o,a]}),i}return Bn=e,Bn}var Vn,Qo;function _o(){if(Qo)return Vn;Qo=1;function e(t){var n=-1,i=Array(t.size);return t.forEach(function(a){i[++n]=a}),i}return Vn=e,Vn}var Mn,es;function kh(){if(es)return Mn;es=1;var e=L.require_Symbol(),t=L.require_Uint8Array(),n=L.requireEq(),i=td(),a=bh(),o=_o(),s=1,l=2,u="[object Boolean]",c="[object Date]",d="[object Error]",f="[object Map]",h="[object Number]",m="[object RegExp]",C="[object Set]",E="[object String]",_="[object Symbol]",p="[object ArrayBuffer]",v="[object DataView]",y=e?e.prototype:void 0,g=y?y.valueOf:void 0;function k(N,b,T,O,R,U,V){switch(T){case v:if(N.byteLength!=b.byteLength||N.byteOffset!=b.byteOffset)return!1;N=N.buffer,b=b.buffer;case p:return!(N.byteLength!=b.byteLength||!U(new t(N),new t(b)));case u:case c:case h:return n(+N,+b);case d:return N.name==b.name&&N.message==b.message;case m:case E:return N==b+"";case f:var W=a;case C:var Z=O&s;if(W||(W=o),N.size!=b.size&&!Z)return!1;var x=V.get(N);if(x)return x==b;O|=l,V.set(N,b);var D=i(W(N),W(b),O,R,U,V);return V.delete(N),D;case _:if(g)return g.call(N)==g.call(b)}return!1}return Mn=k,Mn}var xn,ts;function Ch(){if(ts)return xn;ts=1;var e=L.require_getAllKeys(),t=1,n=Object.prototype,i=n.hasOwnProperty;function a(o,s,l,u,c,d){var f=l&t,h=e(o),m=h.length,C=e(s),E=C.length;if(m!=E&&!f)return!1;for(var _=m;_--;){var p=h[_];if(!(f?p in s:i.call(s,p)))return!1}var v=d.get(o),y=d.get(s);if(v&&y)return v==s&&y==o;var g=!0;d.set(o,s),d.set(s,o);for(var k=f;++_<m;){p=h[_];var N=o[p],b=s[p];if(u)var T=f?u(b,N,p,s,o,d):u(N,b,p,o,s,d);if(!(T===void 0?N===b||c(N,b,l,u,d):T)){g=!1;break}k||(k=p=="constructor")}if(g&&!k){var O=o.constructor,R=s.constructor;O!=R&&"constructor"in o&&"constructor"in s&&!(typeof O=="function"&&O instanceof O&&typeof R=="function"&&R instanceof R)&&(g=!1)}return d.delete(o),d.delete(s),g}return xn=a,xn}var $n,ns;function Nh(){if(ns)return $n;ns=1;var e=L.require_Stack(),t=td(),n=kh(),i=Ch(),a=L.require_getTag(),o=L.requireIsArray(),s=L.requireIsBuffer(),l=L.requireIsTypedArray(),u=1,c="[object Arguments]",d="[object Array]",f="[object Object]",h=Object.prototype,m=h.hasOwnProperty;function C(E,_,p,v,y,g){var k=o(E),N=o(_),b=k?d:a(E),T=N?d:a(_);b=b==c?f:b,T=T==c?f:T;var O=b==f,R=T==f,U=b==T;if(U&&s(E)){if(!s(_))return!1;k=!0,O=!1}if(U&&!O)return g||(g=new e),k||l(E)?t(E,_,p,v,y,g):n(E,_,b,p,v,y,g);if(!(p&u)){var V=O&&m.call(E,"__wrapped__"),W=R&&m.call(_,"__wrapped__");if(V||W){var Z=V?E.value():E,x=W?_.value():_;return g||(g=new e),y(Z,x,p,v,g)}}return U?(g||(g=new e),i(E,_,p,v,y,g)):!1}return $n=C,$n}var qn,rs;function nd(){if(rs)return qn;rs=1;var e=Nh(),t=L.requireIsObjectLike();function n(i,a,o,s,l){return i===a?!0:i==null||a==null||!t(i)&&!t(a)?i!==i&&a!==a:e(i,a,o,s,n,l)}return qn=n,qn}var Fn,is;function wh(){if(is)return Fn;is=1;var e=L.require_Stack(),t=nd(),n=1,i=2;function a(o,s,l,u){var c=l.length,d=c,f=!u;if(o==null)return!d;for(o=Object(o);c--;){var h=l[c];if(f&&h[2]?h[1]!==o[h[0]]:!(h[0]in o))return!1}for(;++c<d;){h=l[c];var m=h[0],C=o[m],E=h[1];if(f&&h[2]){if(C===void 0&&!(m in o))return!1}else{var _=new e;if(u)var p=u(C,E,m,o,s,_);if(!(p===void 0?t(E,C,n|i,u,_):p))return!1}}return!0}return Fn=a,Fn}var Un,as;function rd(){if(as)return Un;as=1;var e=L.requireIsObject();function t(n){return n===n&&!e(n)}return Un=t,Un}var Hn,os;function Sh(){if(os)return Hn;os=1;var e=rd(),t=L.requireKeys();function n(i){for(var a=t(i),o=a.length;o--;){var s=a[o],l=i[s];a[o]=[s,l,e(l)]}return a}return Hn=n,Hn}var Gn,ss;function id(){if(ss)return Gn;ss=1;function e(t,n){return function(i){return i==null?!1:i[t]===n&&(n!==void 0||t in Object(i))}}return Gn=e,Gn}var zn,ls;function Lh(){if(ls)return zn;ls=1;var e=wh(),t=Sh(),n=id();function i(a){var o=t(a);return o.length==1&&o[0][2]?n(o[0][0],o[0][1]):function(s){return s===a||e(s,a,o)}}return zn=i,zn}var Wn,us;function Tt(){if(us)return Wn;us=1;var e=L.require_baseGetTag(),t=L.requireIsObjectLike(),n="[object Symbol]";function i(a){return typeof a=="symbol"||t(a)&&e(a)==n}return Wn=i,Wn}var jn,cs;function Eo(){if(cs)return jn;cs=1;var e=L.requireIsArray(),t=Tt(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;function a(o,s){if(e(o))return!1;var l=typeof o;return l=="number"||l=="symbol"||l=="boolean"||o==null||t(o)?!0:i.test(o)||!n.test(o)||s!=null&&o in Object(s)}return jn=a,jn}var Kn,ds;function Th(){if(ds)return Kn;ds=1;var e=L.require_MapCache(),t="Expected a function";function n(i,a){if(typeof i!="function"||a!=null&&typeof a!="function")throw new TypeError(t);var o=function(){var s=arguments,l=a?a.apply(this,s):s[0],u=o.cache;if(u.has(l))return u.get(l);var c=i.apply(this,s);return o.cache=u.set(l,c)||u,c};return o.cache=new(n.Cache||e),o}return n.Cache=e,Kn=n,Kn}var Yn,fs;function Ih(){if(fs)return Yn;fs=1;var e=Th(),t=500;function n(i){var a=e(i,function(s){return o.size===t&&o.clear(),s}),o=a.cache;return a}return Yn=n,Yn}var Xn,hs;function Ah(){if(hs)return Xn;hs=1;var e=Ih(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,i=e(function(a){var o=[];return a.charCodeAt(0)===46&&o.push(""),a.replace(t,function(s,l,u,c){o.push(u?c.replace(n,"$1"):l||s)}),o});return Xn=i,Xn}var Zn,ms;function ln(){if(ms)return Zn;ms=1;function e(t,n){for(var i=-1,a=t==null?0:t.length,o=Array(a);++i<a;)o[i]=n(t[i],i,t);return o}return Zn=e,Zn}var Jn,ps;function Oh(){if(ps)return Jn;ps=1;var e=L.require_Symbol(),t=ln(),n=L.requireIsArray(),i=Tt(),a=e?e.prototype:void 0,o=a?a.toString:void 0;function s(l){if(typeof l=="string")return l;if(n(l))return t(l,s)+"";if(i(l))return o?o.call(l):"";var u=l+"";return u=="0"&&1/l==-1/0?"-0":u}return Jn=s,Jn}var Qn,gs;function ad(){if(gs)return Qn;gs=1;var e=Oh();function t(n){return n==null?"":e(n)}return Qn=t,Qn}var er,vs;function un(){if(vs)return er;vs=1;var e=L.requireIsArray(),t=Eo(),n=Ah(),i=ad();function a(o,s){return e(o)?o:t(o,s)?[o]:n(i(o))}return er=a,er}var tr,_s;function Mt(){if(_s)return tr;_s=1;var e=Tt();function t(n){if(typeof n=="string"||e(n))return n;var i=n+"";return i=="0"&&1/n==-1/0?"-0":i}return tr=t,tr}var nr,Es;function cn(){if(Es)return nr;Es=1;var e=un(),t=Mt();function n(i,a){a=e(a,i);for(var o=0,s=a.length;i!=null&&o<s;)i=i[t(a[o++])];return o&&o==s?i:void 0}return nr=n,nr}var rr,ys;function Rh(){if(ys)return rr;ys=1;var e=cn();function t(n,i,a){var o=n==null?void 0:e(n,i);return o===void 0?a:o}return rr=t,rr}var ir,bs;function Dh(){if(bs)return ir;bs=1;function e(t,n){return t!=null&&n in Object(t)}return ir=e,ir}var ar,ks;function od(){if(ks)return ar;ks=1;var e=un(),t=L.requireIsArguments(),n=L.requireIsArray(),i=L.require_isIndex(),a=L.requireIsLength(),o=Mt();function s(l,u,c){u=e(u,l);for(var d=-1,f=u.length,h=!1;++d<f;){var m=o(u[d]);if(!(h=l!=null&&c(l,m)))break;l=l[m]}return h||++d!=f?h:(f=l==null?0:l.length,!!f&&a(f)&&i(m,f)&&(n(l)||t(l)))}return ar=s,ar}var or,Cs;function sd(){if(Cs)return or;Cs=1;var e=Dh(),t=od();function n(i,a){return i!=null&&t(i,a,e)}return or=n,or}var sr,Ns;function Ph(){if(Ns)return sr;Ns=1;var e=nd(),t=Rh(),n=sd(),i=Eo(),a=rd(),o=id(),s=Mt(),l=1,u=2;function c(d,f){return i(d)&&a(f)?o(s(d),f):function(h){var m=t(h,d);return m===void 0&&m===f?n(h,d):e(f,m,l|u)}}return sr=c,sr}var lr,ws;function Et(){if(ws)return lr;ws=1;function e(t){return t}return lr=e,lr}var ur,Ss;function ld(){if(Ss)return ur;Ss=1;function e(t){return function(n){return n==null?void 0:n[t]}}return ur=e,ur}var cr,Ls;function Bh(){if(Ls)return cr;Ls=1;var e=cn();function t(n){return function(i){return e(i,n)}}return cr=t,cr}var dr,Ts;function Vh(){if(Ts)return dr;Ts=1;var e=ld(),t=Bh(),n=Eo(),i=Mt();function a(o){return n(o)?e(i(o)):t(o)}return dr=a,dr}var fr,Is;function nt(){if(Is)return fr;Is=1;var e=Lh(),t=Ph(),n=Et(),i=L.requireIsArray(),a=Vh();function o(s){return typeof s=="function"?s:s==null?n:typeof s=="object"?i(s)?t(s[0],s[1]):e(s):a(s)}return fr=o,fr}var hr,As;function ud(){if(As)return hr;As=1;var e=L.require_baseAssignValue(),t=vo(),n=nt();function i(a,o){var s={};return o=n(o,3),t(a,function(l,u,c){e(s,u,o(l,u,c))}),s}return hr=i,hr}var Mh=ud();const qt=L.getDefaultExportFromCjs(Mh),K=(e,t)=>{const n=e.__vccOpts||e;for(const[i,a]of t)n[i]=a;return n},xh={name:"PauseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},$h=["aria-hidden","aria-label"],qh=["fill","width","height"],Fh={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"},Uh={key:0};function Hh(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon pause-circle-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",Fh,[n.title?(r.openBlock(),r.createElementBlock("title",Uh,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,qh))],16,$h)}const Os=K(xh,[["render",Hh]]),Gh={name:"CheckCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},zh=["aria-hidden","aria-label"],Wh=["fill","width","height"],jh={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"},Kh={key:0};function Yh(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon check-circle-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",jh,[n.title?(r.openBlock(),r.createElementBlock("title",Kh,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,Wh))],16,zh)}const Xh=K(Gh,[["render",Yh]]),Zh={name:"PlayCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Jh=["aria-hidden","aria-label"],Qh=["fill","width","height"],em={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"},tm={key:0};function nm(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon play-circle-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",em,[n.title?(r.openBlock(),r.createElementBlock("title",tm,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,Qh))],16,Jh)}const rm=K(Zh,[["render",nm]]),im={name:"CloseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},am=["aria-hidden","aria-label"],om=["fill","width","height"],sm={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"},lm={key:0};function um(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon close-circle-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",sm,[n.title?(r.openBlock(),r.createElementBlock("title",lm,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,om))],16,am)}const Za=K(im,[["render",um]]),cm={name:"StopCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},dm=["aria-hidden","aria-label"],fm=["fill","width","height"],hm={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"},mm={key:0};function pm(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon stop-circle-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",hm,[n.title?(r.openBlock(),r.createElementBlock("title",mm,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,fm))],16,dm)}const gm=K(cm,[["render",pm]]),vm={name:"SkipPreviousCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},_m=["aria-hidden","aria-label"],Em=["fill","width","height"],ym={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"},bm={key:0};function km(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon skip-previous-circle-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",ym,[n.title?(r.openBlock(),r.createElementBlock("title",bm,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,Em))],16,_m)}const Cm=K(vm,[["render",km]]),Nm={name:"AlertCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},wm=["aria-hidden","aria-label"],Sm=["fill","width","height"],Lm={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"},Tm={key:0};function Im(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon alert-circle-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",Lm,[n.title?(r.openBlock(),r.createElementBlock("title",Tm,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,Sm))],16,wm)}const Ja=K(Nm,[["render",Im]]),Am={name:"DotsVerticalCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Om=["aria-hidden","aria-label"],Rm=["fill","width","height"],Dm={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"},Pm={key:0};function Bm(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon dots-vertical-circle-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",Dm,[n.title?(r.openBlock(),r.createElementBlock("title",Pm,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,Rm))],16,Om)}const Vm=K(Am,[["render",Bm]]),Mm={name:"MotionPauseOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},xm=["aria-hidden","aria-label"],$m=["fill","width","height"],qm={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"},Fm={key:0};function Um(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon motion-pause-outline-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",qm,[n.title?(r.openBlock(),r.createElementBlock("title",Fm,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,$m))],16,xm)}const Hm=K(Mm,[["render",Um]]),Gm={name:"RefreshIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},zm=["aria-hidden","aria-label"],Wm=["fill","width","height"],jm={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"},Km={key:0};function Ym(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon refresh-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",jm,[n.title?(r.openBlock(),r.createElementBlock("title",Km,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,Wm))],16,zm)}const Rs=K(Gm,[["render",Ym]]),Xm={name:"CancelIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Zm=["aria-hidden","aria-label"],Jm=["fill","width","height"],Qm={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"},ep={key:0};function tp(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon cancel-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",Qm,[n.title?(r.openBlock(),r.createElementBlock("title",ep,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,Jm))],16,Zm)}const Ds=K(Xm,[["render",tp]]),re=Object.freeze({CREATED:{name:"CREATED",color:"#1761FD",colorClass:"cyan",icon:Vm,isRunning:!0,isKillable:!0,isFailed:!1},RESTARTED:{name:"RESTARTED",color:"#1761FD",colorClass:"cyan",icon:Cm,isRunning:!1,isKillable:!0,isFailed:!1},SUCCESS:{name:"SUCCESS",color:"#029E73",colorClass:"green",icon:Xh,isRunning:!1,isKillable:!1,isFailed:!1},RUNNING:{name:"RUNNING",color:"#8405FF",colorClass:"purple",icon:rm,isRunning:!0,isKillable:!0,isFailed:!1},KILLING:{name:"KILLING",color:"#FCE07C",colorClass:"yellow",icon:Za,isRunning:!0,isKillable:!0,isFailed:!0},KILLED:{name:"KILLED",color:"#FCE07C",colorClass:"yellow",icon:gm,isRunning:!1,isKillable:!1,isFailed:!0},WARNING:{name:"WARNING",color:"#DD5F00",colorClass:"orange",icon:Ja,isRunning:!1,isKillable:!1,isFailed:!0},FAILED:{name:"FAILED",color:"#AB0009",colorClass:"red",icon:Za,isRunning:!1,isKillable:!1,isFailed:!0},PAUSED:{name:"PAUSED",color:"#918BA9",colorClass:"indigo",icon:Os,isRunning:!0,isKillable:!0,isFailed:!1},CANCELLED:{name:"CANCELLED",color:"#918BA9",colorClass:"gray",icon:Ds,isRunning:!1,isKillable:!1,isFailed:!0},SKIPPED:{name:"SKIPPED",color:"#918BA9",colorClass:"gray",icon:Ds,isRunning:!1,isKillable:!1,isFailed:!0},QUEUED:{name:"QUEUED",color:"#918BA9",colorClass:"gray",icon:Hm,isRunning:!1,isKillable:!1,isFailed:!1},RETRYING:{name:"RETRYING",color:"#918BA9",colorClass:"gray",icon:Rs,isRunning:!1,isKillable:!0,isFailed:!1},RETRIED:{name:"RETRIED",color:"#918BA9",colorClass:"gray",icon:Rs,isRunning:!1,isKillable:!1,isFailed:!1},BREAKPOINT:{name:"BREAKPOINT",color:"#918BA9",colorClass:"gray",icon:Os,isRunning:!1,isKillable:!1,isFailed:!1}});class Ce{static get CREATED(){return re.CREATED.name}static get RESTARTED(){return re.RESTARTED.name}static get SUCCESS(){return re.SUCCESS.name}static get RUNNING(){return re.RUNNING.name}static get KILLING(){return re.KILLING.name}static get KILLED(){return re.KILLED.name}static get FAILED(){return re.FAILED.name}static get WARNING(){return re.WARNING.name}static get PAUSED(){return re.PAUSED.name}static get CANCELLED(){return re.CANCELLED.name}static get QUEUED(){return re.QUEUED.name}static get RETRYING(){return re.RETRYING.name}static get RETRIED(){return re.RETRIED.name}static get BREAKPOINT(){return re.BREAKPOINT.name}static isRunning(t){return re[t]&&re[t].isRunning}static isKillable(t){return re[t]&&re[t].isKillable}static isPaused(t){return re[t]&&re[t]===re.PAUSED}static isFailed(t){return re[t]&&re[t].isFailed}static isQueued(t){return re[t]&&re[t]===re.QUEUED}static allStates(){return qt(re,t=>({key:t.name,icon:t.icon,color:""}))}static arrayAllStates(){return Object.values(re)}static colorClass(){return qt(re,t=>t.colorClass)}static color(){return qt(re,t=>Fe("--bs-"+t.colorClass))}static getStateColor(t){return re[t].color}static icon(){return qt(re,t=>t.icon)}static getTerminatedStates(){return Object.values(re).filter(t=>!t.isRunning).map(t=>t.name)}}const np={en:{y:()=>"y",mo:()=>"mo",w:()=>"w",d:()=>"d",h:()=>"h",m:()=>"m",s:()=>"s",ms:()=>"ms"},fr:{y:()=>"a",mo:()=>"mo",w:()=>"se",d:()=>"j",h:()=>"h",m:()=>"m",s:()=>"s",ms:()=>"ms"}},rp="dateFormat",ip="timezone",ge={capitalize:e=>e.charAt(0).toUpperCase()+e.slice(1),dateFilter:(e,t)=>{var o,s;const n=(o=r.getCurrentInstance())==null?void 0:o.appContext.config.globalProperties.$moment().locale(),i=(s=r.getCurrentInstance())==null?void 0:s.appContext.config.globalProperties.$moment(e).locale(n);let a;return t==="iso"?a="YYYY-MM-DD HH:mm:ss.SSS":a=t??localStorage.getItem(rp)??"llll",i.tz(localStorage.getItem(ip)??sh.tz.guess()).format(a)},splitFirst(e,t){return e.split(t).slice(1).join(t)},duration(e){return Rt.duration(e,Rt.ISO_8601).asMilliseconds()/1e3},humanDuration(e,t){return t=t||{maxDecimalPoints:2},t.spacer="",t.language=localStorage.getItem("lang")||"en",t.languages=np,t.largest=2,typeof e!="number"&&(e=this.duration(e)),oh(e*1e3,t).replace(/\.([0-9])s$/i,".$10s")},afterLastDot(e){return e.split(".").pop()},distinctFilter(e,t,n){return n.indexOf(e)===t}};function yo(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var mr,Ps;function ap(){if(Ps)return mr;Ps=1;var e=L.require_baseClone(),t=4;function n(i){return e(i,t)}return mr=n,mr}var pr,Bs;function bo(){if(Bs)return pr;Bs=1;function e(t){return function(){return t}}return pr=e,pr}var gr,Vs;function op(){if(Vs)return gr;Vs=1;var e=L.requireIsArrayLike();function t(n,i){return function(a,o){if(a==null)return a;if(!e(a))return n(a,o);for(var s=a.length,l=i?s:-1,u=Object(a);(i?l--:++l<s)&&o(u[l],l,u)!==!1;);return a}}return gr=t,gr}var vr,Ms;function dn(){if(Ms)return vr;Ms=1;var e=vo(),t=op(),n=t(e);return vr=n,vr}var _r,xs;function cd(){if(xs)return _r;xs=1;var e=Et();function t(n){return typeof n=="function"?n:e}return _r=t,_r}var Er,$s;function dd(){if($s)return Er;$s=1;var e=L.require_arrayEach(),t=dn(),n=cd(),i=L.requireIsArray();function a(o,s){var l=i(o)?e:t;return l(o,n(s))}return Er=a,Er}var yr,qs;function fd(){return qs||(qs=1,yr=dd()),yr}var br,Fs;function sp(){if(Fs)return br;Fs=1;var e=dn();function t(n,i){var a=[];return e(n,function(o,s,l){i(o,s,l)&&a.push(o)}),a}return br=t,br}var kr,Us;function hd(){if(Us)return kr;Us=1;var e=L.require_arrayFilter(),t=sp(),n=nt(),i=L.requireIsArray();function a(o,s){var l=i(o)?e:t;return l(o,n(s,3))}return kr=a,kr}var Cr,Hs;function lp(){if(Hs)return Cr;Hs=1;var e=Object.prototype,t=e.hasOwnProperty;function n(i,a){return i!=null&&t.call(i,a)}return Cr=n,Cr}var Nr,Gs;function md(){if(Gs)return Nr;Gs=1;var e=lp(),t=od();function n(i,a){return i!=null&&t(i,a,e)}return Nr=n,Nr}var wr,zs;function up(){if(zs)return wr;zs=1;var e=L.require_baseKeys(),t=L.require_getTag(),n=L.requireIsArguments(),i=L.requireIsArray(),a=L.requireIsArrayLike(),o=L.requireIsBuffer(),s=L.require_isPrototype(),l=L.requireIsTypedArray(),u="[object Map]",c="[object Set]",d=Object.prototype,f=d.hasOwnProperty;function h(m){if(m==null)return!0;if(a(m)&&(i(m)||typeof m=="string"||typeof m.splice=="function"||o(m)||l(m)||n(m)))return!m.length;var C=t(m);if(C==u||C==c)return!m.size;if(s(m))return!e(m).length;for(var E in m)if(f.call(m,E))return!1;return!0}return wr=h,wr}var Sr,Ws;function pd(){if(Ws)return Sr;Ws=1;function e(t){return t===void 0}return Sr=e,Sr}var Lr,js;function gd(){if(js)return Lr;js=1;var e=dn(),t=L.requireIsArrayLike();function n(i,a){var o=-1,s=t(i)?Array(i.length):[];return e(i,function(l,u,c){s[++o]=a(l,u,c)}),s}return Lr=n,Lr}var Tr,Ks;function vd(){if(Ks)return Tr;Ks=1;var e=ln(),t=nt(),n=gd(),i=L.requireIsArray();function a(o,s){var l=i(o)?e:n;return l(o,t(s,3))}return Tr=a,Tr}var Ir,Ys;function cp(){if(Ys)return Ir;Ys=1;function e(t,n,i,a){var o=-1,s=t==null?0:t.length;for(a&&s&&(i=t[++o]);++o<s;)i=n(i,t[o],o,t);return i}return Ir=e,Ir}var Ar,Xs;function dp(){if(Xs)return Ar;Xs=1;function e(t,n,i,a,o){return o(t,function(s,l,u){i=a?(a=!1,s):n(i,s,l,u)}),i}return Ar=e,Ar}var Or,Zs;function _d(){if(Zs)return Or;Zs=1;var e=cp(),t=dn(),n=nt(),i=dp(),a=L.requireIsArray();function o(s,l,u){var c=a(s)?e:i,d=arguments.length<3;return c(s,n(l,4),u,d,t)}return Or=o,Or}var Rr,Js;function fp(){if(Js)return Rr;Js=1;var e=L.require_baseGetTag(),t=L.requireIsArray(),n=L.requireIsObjectLike(),i="[object String]";function a(o){return typeof o=="string"||!t(o)&&n(o)&&e(o)==i}return Rr=a,Rr}var Dr,Qs;function hp(){if(Qs)return Dr;Qs=1;var e=ld(),t=e("length");return Dr=t,Dr}var Pr,el;function mp(){if(el)return Pr;el=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",i="\\u20d0-\\u20ff",a=t+n+i,o="\\ufe0e\\ufe0f",s="\\u200d",l=RegExp("["+s+e+a+o+"]");function u(c){return l.test(c)}return Pr=u,Pr}var Br,tl;function pp(){if(tl)return Br;tl=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",i="\\u20d0-\\u20ff",a=t+n+i,o="\\ufe0e\\ufe0f",s="["+e+"]",l="["+a+"]",u="\\ud83c[\\udffb-\\udfff]",c="(?:"+l+"|"+u+")",d="[^"+e+"]",f="(?:\\ud83c[\\udde6-\\uddff]){2}",h="[\\ud800-\\udbff][\\udc00-\\udfff]",m="\\u200d",C=c+"?",E="["+o+"]?",_="(?:"+m+"(?:"+[d,f,h].join("|")+")"+E+C+")*",p=E+C+_,v="(?:"+[d+l+"?",l,f,h,s].join("|")+")",y=RegExp(u+"(?="+u+")|"+v+p,"g");function g(k){for(var N=y.lastIndex=0;y.test(k);)++N;return N}return Br=g,Br}var Vr,nl;function gp(){if(nl)return Vr;nl=1;var e=hp(),t=mp(),n=pp();function i(a){return t(a)?n(a):e(a)}return Vr=i,Vr}var Mr,rl;function vp(){if(rl)return Mr;rl=1;var e=L.require_baseKeys(),t=L.require_getTag(),n=L.requireIsArrayLike(),i=fp(),a=gp(),o="[object Map]",s="[object Set]";function l(u){if(u==null)return 0;if(n(u))return i(u)?a(u):u.length;var c=t(u);return c==o||c==s?u.size:e(u).length}return Mr=l,Mr}var xr,il;function _p(){if(il)return xr;il=1;var e=L.require_arrayEach(),t=L.require_baseCreate(),n=vo(),i=nt(),a=L.require_getPrototype(),o=L.requireIsArray(),s=L.requireIsBuffer(),l=L.requireIsFunction(),u=L.requireIsObject(),c=L.requireIsTypedArray();function d(f,h,m){var C=o(f),E=C||s(f)||c(f);if(h=i(h,4),m==null){var _=f&&f.constructor;E?m=C?new _:[]:u(f)?m=l(_)?t(a(f)):{}:m={}}return(E?e:n)(f,function(p,v,y){return h(m,p,v,y)}),m}return xr=d,xr}var $r,al;function Ep(){if(al)return $r;al=1;var e=L.require_Symbol(),t=L.requireIsArguments(),n=L.requireIsArray(),i=e?e.isConcatSpreadable:void 0;function a(o){return n(o)||t(o)||!!(i&&o&&o[i])}return $r=a,$r}var qr,ol;function ko(){if(ol)return qr;ol=1;var e=L.require_arrayPush(),t=Ep();function n(i,a,o,s,l){var u=-1,c=i.length;for(o||(o=t),l||(l=[]);++u<c;){var d=i[u];a>0&&o(d)?a>1?n(d,a-1,o,s,l):e(l,d):s||(l[l.length]=d)}return l}return qr=n,qr}var Fr,sl;function yp(){if(sl)return Fr;sl=1;function e(t,n,i){switch(i.length){case 0:return t.call(n);case 1:return t.call(n,i[0]);case 2:return t.call(n,i[0],i[1]);case 3:return t.call(n,i[0],i[1],i[2])}return t.apply(n,i)}return Fr=e,Fr}var Ur,ll;function Ed(){if(ll)return Ur;ll=1;var e=yp(),t=Math.max;function n(i,a,o){return a=t(a===void 0?i.length-1:a,0),function(){for(var s=arguments,l=-1,u=t(s.length-a,0),c=Array(u);++l<u;)c[l]=s[a+l];l=-1;for(var d=Array(a+1);++l<a;)d[l]=s[l];return d[a]=o(c),e(i,this,d)}}return Ur=n,Ur}var Hr,ul;function bp(){if(ul)return Hr;ul=1;var e=bo(),t=L.require_defineProperty(),n=Et(),i=t?function(a,o){return t(a,"toString",{configurable:!0,enumerable:!1,value:e(o),writable:!0})}:n;return Hr=i,Hr}var Gr,cl;function kp(){if(cl)return Gr;cl=1;var e=800,t=16,n=Date.now;function i(a){var o=0,s=0;return function(){var l=n(),u=t-(l-s);if(s=l,u>0){if(++o>=e)return arguments[0]}else o=0;return a.apply(void 0,arguments)}}return Gr=i,Gr}var zr,dl;function yd(){if(dl)return zr;dl=1;var e=bp(),t=kp(),n=t(e);return zr=n,zr}var Wr,fl;function fn(){if(fl)return Wr;fl=1;var e=Et(),t=Ed(),n=yd();function i(a,o){return n(t(a,o,e),a+"")}return Wr=i,Wr}var jr,hl;function bd(){if(hl)return jr;hl=1;function e(t,n,i,a){for(var o=t.length,s=i+(a?1:-1);a?s--:++s<o;)if(n(t[s],s,t))return s;return-1}return jr=e,jr}var Kr,ml;function Cp(){if(ml)return Kr;ml=1;function e(t){return t!==t}return Kr=e,Kr}var Yr,pl;function Np(){if(pl)return Yr;pl=1;function e(t,n,i){for(var a=i-1,o=t.length;++a<o;)if(t[a]===n)return a;return-1}return Yr=e,Yr}var Xr,gl;function wp(){if(gl)return Xr;gl=1;var e=bd(),t=Cp(),n=Np();function i(a,o,s){return o===o?n(a,o,s):e(a,t,s)}return Xr=i,Xr}var Zr,vl;function Sp(){if(vl)return Zr;vl=1;var e=wp();function t(n,i){var a=n==null?0:n.length;return!!a&&e(n,i,0)>-1}return Zr=t,Zr}var Jr,_l;function Lp(){if(_l)return Jr;_l=1;function e(t,n,i){for(var a=-1,o=t==null?0:t.length;++a<o;)if(i(n,t[a]))return!0;return!1}return Jr=e,Jr}var Qr,El;function Tp(){if(El)return Qr;El=1;function e(){}return Qr=e,Qr}var ei,yl;function Ip(){if(yl)return ei;yl=1;var e=L.require_Set(),t=Tp(),n=_o(),i=1/0,a=e&&1/n(new e([,-0]))[1]==i?function(o){return new e(o)}:t;return ei=a,ei}var ti,bl;function Ap(){if(bl)return ti;bl=1;var e=Qc(),t=Sp(),n=Lp(),i=ed(),a=Ip(),o=_o(),s=200;function l(u,c,d){var f=-1,h=t,m=u.length,C=!0,E=[],_=E;if(d)C=!1,h=n;else if(m>=s){var p=c?null:a(u);if(p)return o(p);C=!1,h=i,_=new e}else _=c?[]:E;e:for(;++f<m;){var v=u[f],y=c?c(v):v;if(v=d||v!==0?v:0,C&&y===y){for(var g=_.length;g--;)if(_[g]===y)continue e;c&&_.push(y),E.push(v)}else h(_,y,d)||(_!==E&&_.push(y),E.push(v))}return E}return ti=l,ti}var ni,kl;function kd(){if(kl)return ni;kl=1;var e=L.requireIsArrayLike(),t=L.requireIsObjectLike();function n(i){return t(i)&&e(i)}return ni=n,ni}var ri,Cl;function Op(){if(Cl)return ri;Cl=1;var e=ko(),t=fn(),n=Ap(),i=kd(),a=t(function(o){return n(e(o,1,i,!0))});return ri=a,ri}var ii,Nl;function Rp(){if(Nl)return ii;Nl=1;var e=ln();function t(n,i){return e(i,function(a){return n[a]})}return ii=t,ii}var ai,wl;function Cd(){if(wl)return ai;wl=1;var e=Rp(),t=L.requireKeys();function n(i){return i==null?[]:e(i,t(i))}return ai=n,ai}var oi,Sl;function Ge(){if(Sl)return oi;Sl=1;var e;if(typeof yo=="function")try{e={clone:ap(),constant:bo(),each:fd(),filter:hd(),has:md(),isArray:L.requireIsArray(),isEmpty:up(),isFunction:L.requireIsFunction(),isUndefined:pd(),keys:L.requireKeys(),map:vd(),reduce:_d(),size:vp(),transform:_p(),union:Op(),values:Cd()}}catch{}return e||(e=window._),oi=e,oi}var si,Ll;function Co(){if(Ll)return si;Ll=1;var e=Ge();si=a;var t="\0",n="\0",i="";function a(d){this._isDirected=e.has(d,"directed")?d.directed:!0,this._isMultigraph=e.has(d,"multigraph")?d.multigraph:!1,this._isCompound=e.has(d,"compound")?d.compound:!1,this._label=void 0,this._defaultNodeLabelFn=e.constant(void 0),this._defaultEdgeLabelFn=e.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[n]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}a.prototype._nodeCount=0,a.prototype._edgeCount=0,a.prototype.isDirected=function(){return this._isDirected},a.prototype.isMultigraph=function(){return this._isMultigraph},a.prototype.isCompound=function(){return this._isCompound},a.prototype.setGraph=function(d){return this._label=d,this},a.prototype.graph=function(){return this._label},a.prototype.setDefaultNodeLabel=function(d){return e.isFunction(d)||(d=e.constant(d)),this._defaultNodeLabelFn=d,this},a.prototype.nodeCount=function(){return this._nodeCount},a.prototype.nodes=function(){return e.keys(this._nodes)},a.prototype.sources=function(){var d=this;return e.filter(this.nodes(),function(f){return e.isEmpty(d._in[f])})},a.prototype.sinks=function(){var d=this;return e.filter(this.nodes(),function(f){return e.isEmpty(d._out[f])})},a.prototype.setNodes=function(d,f){var h=arguments,m=this;return e.each(d,function(C){h.length>1?m.setNode(C,f):m.setNode(C)}),this},a.prototype.setNode=function(d,f){return e.has(this._nodes,d)?(arguments.length>1&&(this._nodes[d]=f),this):(this._nodes[d]=arguments.length>1?f:this._defaultNodeLabelFn(d),this._isCompound&&(this._parent[d]=n,this._children[d]={},this._children[n][d]=!0),this._in[d]={},this._preds[d]={},this._out[d]={},this._sucs[d]={},++this._nodeCount,this)},a.prototype.node=function(d){return this._nodes[d]},a.prototype.hasNode=function(d){return e.has(this._nodes,d)},a.prototype.removeNode=function(d){var f=this;if(e.has(this._nodes,d)){var h=function(m){f.removeEdge(f._edgeObjs[m])};delete this._nodes[d],this._isCompound&&(this._removeFromParentsChildList(d),delete this._parent[d],e.each(this.children(d),function(m){f.setParent(m)}),delete this._children[d]),e.each(e.keys(this._in[d]),h),delete this._in[d],delete this._preds[d],e.each(e.keys(this._out[d]),h),delete this._out[d],delete this._sucs[d],--this._nodeCount}return this},a.prototype.setParent=function(d,f){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(e.isUndefined(f))f=n;else{f+="";for(var h=f;!e.isUndefined(h);h=this.parent(h))if(h===d)throw new Error("Setting "+f+" as parent of "+d+" would create a cycle");this.setNode(f)}return this.setNode(d),this._removeFromParentsChildList(d),this._parent[d]=f,this._children[f][d]=!0,this},a.prototype._removeFromParentsChildList=function(d){delete this._children[this._parent[d]][d]},a.prototype.parent=function(d){if(this._isCompound){var f=this._parent[d];if(f!==n)return f}},a.prototype.children=function(d){if(e.isUndefined(d)&&(d=n),this._isCompound){var f=this._children[d];if(f)return e.keys(f)}else{if(d===n)return this.nodes();if(this.hasNode(d))return[]}},a.prototype.predecessors=function(d){var f=this._preds[d];if(f)return e.keys(f)},a.prototype.successors=function(d){var f=this._sucs[d];if(f)return e.keys(f)},a.prototype.neighbors=function(d){var f=this.predecessors(d);if(f)return e.union(f,this.successors(d))},a.prototype.isLeaf=function(d){var f;return this.isDirected()?f=this.successors(d):f=this.neighbors(d),f.length===0},a.prototype.filterNodes=function(d){var f=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});f.setGraph(this.graph());var h=this;e.each(this._nodes,function(E,_){d(_)&&f.setNode(_,E)}),e.each(this._edgeObjs,function(E){f.hasNode(E.v)&&f.hasNode(E.w)&&f.setEdge(E,h.edge(E))});var m={};function C(E){var _=h.parent(E);return _===void 0||f.hasNode(_)?(m[E]=_,_):_ in m?m[_]:C(_)}return this._isCompound&&e.each(f.nodes(),function(E){f.setParent(E,C(E))}),f},a.prototype.setDefaultEdgeLabel=function(d){return e.isFunction(d)||(d=e.constant(d)),this._defaultEdgeLabelFn=d,this},a.prototype.edgeCount=function(){return this._edgeCount},a.prototype.edges=function(){return e.values(this._edgeObjs)},a.prototype.setPath=function(d,f){var h=this,m=arguments;return e.reduce(d,function(C,E){return m.length>1?h.setEdge(C,E,f):h.setEdge(C,E),E}),this},a.prototype.setEdge=function(){var d,f,h,m,C=!1,E=arguments[0];typeof E=="object"&&E!==null&&"v"in E?(d=E.v,f=E.w,h=E.name,arguments.length===2&&(m=arguments[1],C=!0)):(d=E,f=arguments[1],h=arguments[3],arguments.length>2&&(m=arguments[2],C=!0)),d=""+d,f=""+f,e.isUndefined(h)||(h=""+h);var _=l(this._isDirected,d,f,h);if(e.has(this._edgeLabels,_))return C&&(this._edgeLabels[_]=m),this;if(!e.isUndefined(h)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(d),this.setNode(f),this._edgeLabels[_]=C?m:this._defaultEdgeLabelFn(d,f,h);var p=u(this._isDirected,d,f,h);return d=p.v,f=p.w,Object.freeze(p),this._edgeObjs[_]=p,o(this._preds[f],d),o(this._sucs[d],f),this._in[f][_]=p,this._out[d][_]=p,this._edgeCount++,this},a.prototype.edge=function(d,f,h){var m=arguments.length===1?c(this._isDirected,arguments[0]):l(this._isDirected,d,f,h);return this._edgeLabels[m]},a.prototype.hasEdge=function(d,f,h){var m=arguments.length===1?c(this._isDirected,arguments[0]):l(this._isDirected,d,f,h);return e.has(this._edgeLabels,m)},a.prototype.removeEdge=function(d,f,h){var m=arguments.length===1?c(this._isDirected,arguments[0]):l(this._isDirected,d,f,h),C=this._edgeObjs[m];return C&&(d=C.v,f=C.w,delete this._edgeLabels[m],delete this._edgeObjs[m],s(this._preds[f],d),s(this._sucs[d],f),delete this._in[f][m],delete this._out[d][m],this._edgeCount--),this},a.prototype.inEdges=function(d,f){var h=this._in[d];if(h){var m=e.values(h);return f?e.filter(m,function(C){return C.v===f}):m}},a.prototype.outEdges=function(d,f){var h=this._out[d];if(h){var m=e.values(h);return f?e.filter(m,function(C){return C.w===f}):m}},a.prototype.nodeEdges=function(d,f){var h=this.inEdges(d,f);if(h)return h.concat(this.outEdges(d,f))};function o(d,f){d[f]?d[f]++:d[f]=1}function s(d,f){--d[f]||delete d[f]}function l(d,f,h,m){var C=""+f,E=""+h;if(!d&&C>E){var _=C;C=E,E=_}return C+i+E+i+(e.isUndefined(m)?t:m)}function u(d,f,h,m){var C=""+f,E=""+h;if(!d&&C>E){var _=C;C=E,E=_}var p={v:C,w:E};return m&&(p.name=m),p}function c(d,f){return l(d,f.v,f.w,f.name)}return si}var li,Tl;function Dp(){return Tl||(Tl=1,li="2.1.8"),li}var ui,Il;function Pp(){return Il||(Il=1,ui={Graph:Co(),version:Dp()}),ui}var ci,Al;function Bp(){if(Al)return ci;Al=1;var e=Ge(),t=Co();ci={write:n,read:o};function n(s){var l={options:{directed:s.isDirected(),multigraph:s.isMultigraph(),compound:s.isCompound()},nodes:i(s),edges:a(s)};return e.isUndefined(s.graph())||(l.value=e.clone(s.graph())),l}function i(s){return e.map(s.nodes(),function(l){var u=s.node(l),c=s.parent(l),d={v:l};return e.isUndefined(u)||(d.value=u),e.isUndefined(c)||(d.parent=c),d})}function a(s){return e.map(s.edges(),function(l){var u=s.edge(l),c={v:l.v,w:l.w};return e.isUndefined(l.name)||(c.name=l.name),e.isUndefined(u)||(c.value=u),c})}function o(s){var l=new t(s.options).setGraph(s.value);return e.each(s.nodes,function(u){l.setNode(u.v,u.value),u.parent&&l.setParent(u.v,u.parent)}),e.each(s.edges,function(u){l.setEdge({v:u.v,w:u.w,name:u.name},u.value)}),l}return ci}var di,Ol;function Vp(){if(Ol)return di;Ol=1;var e=Ge();di=t;function t(n){var i={},a=[],o;function s(l){e.has(i,l)||(i[l]=!0,o.push(l),e.each(n.successors(l),s),e.each(n.predecessors(l),s))}return e.each(n.nodes(),function(l){o=[],s(l),o.length&&a.push(o)}),a}return di}var fi,Rl;function Nd(){if(Rl)return fi;Rl=1;var e=Ge();fi=t;function t(){this._arr=[],this._keyIndices={}}return t.prototype.size=function(){return this._arr.length},t.prototype.keys=function(){return this._arr.map(function(n){return n.key})},t.prototype.has=function(n){return e.has(this._keyIndices,n)},t.prototype.priority=function(n){var i=this._keyIndices[n];if(i!==void 0)return this._arr[i].priority},t.prototype.min=function(){if(this.size()===0)throw new Error("Queue underflow");return this._arr[0].key},t.prototype.add=function(n,i){var a=this._keyIndices;if(n=String(n),!e.has(a,n)){var o=this._arr,s=o.length;return a[n]=s,o.push({key:n,priority:i}),this._decrease(s),!0}return!1},t.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var n=this._arr.pop();return delete this._keyIndices[n.key],this._heapify(0),n.key},t.prototype.decrease=function(n,i){var a=this._keyIndices[n];if(i>this._arr[a].priority)throw new Error("New priority is greater than current priority. Key: "+n+" Old: "+this._arr[a].priority+" New: "+i);this._arr[a].priority=i,this._decrease(a)},t.prototype._heapify=function(n){var i=this._arr,a=2*n,o=a+1,s=n;a<i.length&&(s=i[a].priority<i[s].priority?a:s,o<i.length&&(s=i[o].priority<i[s].priority?o:s),s!==n&&(this._swap(n,s),this._heapify(s)))},t.prototype._decrease=function(n){for(var i=this._arr,a=i[n].priority,o;n!==0&&(o=n>>1,!(i[o].priority<a));)this._swap(n,o),n=o},t.prototype._swap=function(n,i){var a=this._arr,o=this._keyIndices,s=a[n],l=a[i];a[n]=l,a[i]=s,o[l.key]=n,o[s.key]=i},fi}var hi,Dl;function wd(){if(Dl)return hi;Dl=1;var e=Ge(),t=Nd();hi=i;var n=e.constant(1);function i(o,s,l,u){return a(o,String(s),l||n,u||function(c){return o.outEdges(c)})}function a(o,s,l,u){var c={},d=new t,f,h,m=function(C){var E=C.v!==f?C.v:C.w,_=c[E],p=l(C),v=h.distance+p;if(p<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+C+" Weight: "+p);v<_.distance&&(_.distance=v,_.predecessor=f,d.decrease(E,v))};for(o.nodes().forEach(function(C){var E=C===s?0:Number.POSITIVE_INFINITY;c[C]={distance:E},d.add(C,E)});d.size()>0&&(f=d.removeMin(),h=c[f],h.distance!==Number.POSITIVE_INFINITY);)u(f).forEach(m);return c}return hi}var mi,Pl;function Mp(){if(Pl)return mi;Pl=1;var e=wd(),t=Ge();mi=n;function n(i,a,o){return t.transform(i.nodes(),function(s,l){s[l]=e(i,l,a,o)},{})}return mi}var pi,Bl;function Sd(){if(Bl)return pi;Bl=1;var e=Ge();pi=t;function t(n){var i=0,a=[],o={},s=[];function l(u){var c=o[u]={onStack:!0,lowlink:i,index:i++};if(a.push(u),n.successors(u).forEach(function(h){e.has(o,h)?o[h].onStack&&(c.lowlink=Math.min(c.lowlink,o[h].index)):(l(h),c.lowlink=Math.min(c.lowlink,o[h].lowlink))}),c.lowlink===c.index){var d=[],f;do f=a.pop(),o[f].onStack=!1,d.push(f);while(u!==f);s.push(d)}}return n.nodes().forEach(function(u){e.has(o,u)||l(u)}),s}return pi}var gi,Vl;function xp(){if(Vl)return gi;Vl=1;var e=Ge(),t=Sd();gi=n;function n(i){return e.filter(t(i),function(a){return a.length>1||a.length===1&&i.hasEdge(a[0],a[0])})}return gi}var vi,Ml;function $p(){if(Ml)return vi;Ml=1;var e=Ge();vi=n;var t=e.constant(1);function n(a,o,s){return i(a,o||t,s||function(l){return a.outEdges(l)})}function i(a,o,s){var l={},u=a.nodes();return u.forEach(function(c){l[c]={},l[c][c]={distance:0},u.forEach(function(d){c!==d&&(l[c][d]={distance:Number.POSITIVE_INFINITY})}),s(c).forEach(function(d){var f=d.v===c?d.w:d.v,h=o(d);l[c][f]={distance:h,predecessor:c}})}),u.forEach(function(c){var d=l[c];u.forEach(function(f){var h=l[f];u.forEach(function(m){var C=h[c],E=d[m],_=h[m],p=C.distance+E.distance;p<_.distance&&(_.distance=p,_.predecessor=E.predecessor)})})}),l}return vi}var _i,xl;function Ld(){if(xl)return _i;xl=1;var e=Ge();_i=t,t.CycleException=n;function t(i){var a={},o={},s=[];function l(u){if(e.has(o,u))throw new n;e.has(a,u)||(o[u]=!0,a[u]=!0,e.each(i.predecessors(u),l),delete o[u],s.push(u))}if(e.each(i.sinks(),l),e.size(a)!==i.nodeCount())throw new n;return s}function n(){}return n.prototype=new Error,_i}var Ei,$l;function qp(){if($l)return Ei;$l=1;var e=Ld();Ei=t;function t(n){try{e(n)}catch(i){if(i instanceof e.CycleException)return!1;throw i}return!0}return Ei}var yi,ql;function Td(){if(ql)return yi;ql=1;var e=Ge();yi=t;function t(i,a,o){e.isArray(a)||(a=[a]);var s=(i.isDirected()?i.successors:i.neighbors).bind(i),l=[],u={};return e.each(a,function(c){if(!i.hasNode(c))throw new Error("Graph does not have node: "+c);n(i,c,o==="post",u,s,l)}),l}function n(i,a,o,s,l,u){e.has(s,a)||(s[a]=!0,o||u.push(a),e.each(l(a),function(c){n(i,c,o,s,l,u)}),o&&u.push(a))}return yi}var bi,Fl;function Fp(){if(Fl)return bi;Fl=1;var e=Td();bi=t;function t(n,i){return e(n,i,"post")}return bi}var ki,Ul;function Up(){if(Ul)return ki;Ul=1;var e=Td();ki=t;function t(n,i){return e(n,i,"pre")}return ki}var Ci,Hl;function Hp(){if(Hl)return Ci;Hl=1;var e=Ge(),t=Co(),n=Nd();Ci=i;function i(a,o){var s=new t,l={},u=new n,c;function d(h){var m=h.v===c?h.w:h.v,C=u.priority(m);if(C!==void 0){var E=o(h);E<C&&(l[m]=c,u.decrease(m,E))}}if(a.nodeCount()===0)return s;e.each(a.nodes(),function(h){u.add(h,Number.POSITIVE_INFINITY),s.setNode(h)}),u.decrease(a.nodes()[0],0);for(var f=!1;u.size()>0;){if(c=u.removeMin(),e.has(l,c))s.setEdge(c,l[c]);else{if(f)throw new Error("Input graph is not connected: "+a);f=!0}a.nodeEdges(c).forEach(d)}return s}return Ci}var Ni,Gl;function Gp(){return Gl||(Gl=1,Ni={components:Vp(),dijkstra:wd(),dijkstraAll:Mp(),findCycles:xp(),floydWarshall:$p(),isAcyclic:qp(),postorder:Fp(),preorder:Up(),prim:Hp(),tarjan:Sd(),topsort:Ld()}),Ni}var wi,zl;function zp(){if(zl)return wi;zl=1;var e=Pp();return wi={Graph:e.Graph,json:Bp(),alg:Gp(),version:e.version},wi}var Si,Wl;function je(){if(Wl)return Si;Wl=1;var e;if(typeof yo=="function")try{e=zp()}catch{}return e||(e=window.graphlib),Si=e,Si}var Li,jl;function hn(){if(jl)return Li;jl=1;var e=L.requireEq(),t=L.requireIsArrayLike(),n=L.require_isIndex(),i=L.requireIsObject();function a(o,s,l){if(!i(l))return!1;var u=typeof s;return(u=="number"?t(l)&&n(s,l.length):u=="string"&&s in l)?e(l[s],o):!1}return Li=a,Li}var Ti,Kl;function Wp(){if(Kl)return Ti;Kl=1;var e=fn(),t=L.requireEq(),n=hn(),i=L.requireKeysIn(),a=Object.prototype,o=a.hasOwnProperty,s=e(function(l,u){l=Object(l);var c=-1,d=u.length,f=d>2?u[2]:void 0;for(f&&n(u[0],u[1],f)&&(d=1);++c<d;)for(var h=u[c],m=i(h),C=-1,E=m.length;++C<E;){var _=m[C],p=l[_];(p===void 0||t(p,a[_])&&!o.call(l,_))&&(l[_]=h[_])}return l});return Ti=s,Ti}var Ii,Yl;function jp(){if(Yl)return Ii;Yl=1;var e=nt(),t=L.requireIsArrayLike(),n=L.requireKeys();function i(a){return function(o,s,l){var u=Object(o);if(!t(o)){var c=e(s,3);o=n(o),s=function(f){return c(u[f],f,u)}}var d=a(o,s,l);return d>-1?u[c?o[d]:d]:void 0}}return Ii=i,Ii}var Ai,Xl;function Kp(){if(Xl)return Ai;Xl=1;var e=/\s/;function t(n){for(var i=n.length;i--&&e.test(n.charAt(i)););return i}return Ai=t,Ai}var Oi,Zl;function Yp(){if(Zl)return Oi;Zl=1;var e=Kp(),t=/^\s+/;function n(i){return i&&i.slice(0,e(i)+1).replace(t,"")}return Oi=n,Oi}var Ri,Jl;function Xp(){if(Jl)return Ri;Jl=1;var e=Yp(),t=L.requireIsObject(),n=Tt(),i=NaN,a=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt;function u(c){if(typeof c=="number")return c;if(n(c))return i;if(t(c)){var d=typeof c.valueOf=="function"?c.valueOf():c;c=t(d)?d+"":d}if(typeof c!="string")return c===0?c:+c;c=e(c);var f=o.test(c);return f||s.test(c)?l(c.slice(2),f?2:8):a.test(c)?i:+c}return Ri=u,Ri}var Di,Ql;function Id(){if(Ql)return Di;Ql=1;var e=Xp(),t=1/0,n=17976931348623157e292;function i(a){if(!a)return a===0?a:0;if(a=e(a),a===t||a===-1/0){var o=a<0?-1:1;return o*n}return a===a?a:0}return Di=i,Di}var Pi,eu;function Zp(){if(eu)return Pi;eu=1;var e=Id();function t(n){var i=e(n),a=i%1;return i===i?a?i-a:i:0}return Pi=t,Pi}var Bi,tu;function Jp(){if(tu)return Bi;tu=1;var e=bd(),t=nt(),n=Zp(),i=Math.max;function a(o,s,l){var u=o==null?0:o.length;if(!u)return-1;var c=l==null?0:n(l);return c<0&&(c=i(u+c,0)),e(o,t(s,3),c)}return Bi=a,Bi}var Vi,nu;function Qp(){if(nu)return Vi;nu=1;var e=jp(),t=Jp(),n=e(t);return Vi=n,Vi}var Mi,ru;function Ad(){if(ru)return Mi;ru=1;var e=ko();function t(n){var i=n==null?0:n.length;return i?e(n,1):[]}return Mi=t,Mi}var xi,iu;function eg(){if(iu)return xi;iu=1;var e=go(),t=cd(),n=L.requireKeysIn();function i(a,o){return a==null?a:e(a,t(o),n)}return xi=i,xi}var $i,au;function tg(){if(au)return $i;au=1;function e(t){var n=t==null?0:t.length;return n?t[n-1]:void 0}return $i=e,$i}var qi,ou;function No(){if(ou)return qi;ou=1;var e=Tt();function t(n,i,a){for(var o=-1,s=n.length;++o<s;){var l=n[o],u=i(l);if(u!=null&&(c===void 0?u===u&&!e(u):a(u,c)))var c=u,d=l}return d}return qi=t,qi}var Fi,su;function ng(){if(su)return Fi;su=1;function e(t,n){return t>n}return Fi=e,Fi}var Ui,lu;function rg(){if(lu)return Ui;lu=1;var e=No(),t=ng(),n=Et();function i(a){return a&&a.length?e(a,n,t):void 0}return Ui=i,Ui}var Hi,uu;function Od(){if(uu)return Hi;uu=1;var e=L.require_baseAssignValue(),t=L.requireEq();function n(i,a,o){(o!==void 0&&!t(i[a],o)||o===void 0&&!(a in i))&&e(i,a,o)}return Hi=n,Hi}var Gi,cu;function ig(){if(cu)return Gi;cu=1;var e=L.require_baseGetTag(),t=L.require_getPrototype(),n=L.requireIsObjectLike(),i="[object Object]",a=Function.prototype,o=Object.prototype,s=a.toString,l=o.hasOwnProperty,u=s.call(Object);function c(d){if(!n(d)||e(d)!=i)return!1;var f=t(d);if(f===null)return!0;var h=l.call(f,"constructor")&&f.constructor;return typeof h=="function"&&h instanceof h&&s.call(h)==u}return Gi=c,Gi}var zi,du;function Rd(){if(du)return zi;du=1;function e(t,n){if(!(n==="constructor"&&typeof t[n]=="function")&&n!="__proto__")return t[n]}return zi=e,zi}var Wi,fu;function ag(){if(fu)return Wi;fu=1;var e=L.require_copyObject(),t=L.requireKeysIn();function n(i){return e(i,t(i))}return Wi=n,Wi}var ji,hu;function og(){if(hu)return ji;hu=1;var e=Od(),t=L.require_cloneBuffer(),n=L.require_cloneTypedArray(),i=L.require_copyArray(),a=L.require_initCloneObject(),o=L.requireIsArguments(),s=L.requireIsArray(),l=kd(),u=L.requireIsBuffer(),c=L.requireIsFunction(),d=L.requireIsObject(),f=ig(),h=L.requireIsTypedArray(),m=Rd(),C=ag();function E(_,p,v,y,g,k,N){var b=m(_,v),T=m(p,v),O=N.get(T);if(O){e(_,v,O);return}var R=k?k(b,T,v+"",_,p,N):void 0,U=R===void 0;if(U){var V=s(T),W=!V&&u(T),Z=!V&&!W&&h(T);R=T,V||W||Z?s(b)?R=b:l(b)?R=i(b):W?(U=!1,R=t(T,!0)):Z?(U=!1,R=n(T,!0)):R=[]:f(T)||o(T)?(R=b,o(b)?R=C(b):(!d(b)||c(b))&&(R=a(T))):U=!1}U&&(N.set(T,R),g(R,T,y,k,N),N.delete(T)),e(_,v,R)}return ji=E,ji}var Ki,mu;function sg(){if(mu)return Ki;mu=1;var e=L.require_Stack(),t=Od(),n=go(),i=og(),a=L.requireIsObject(),o=L.requireKeysIn(),s=Rd();function l(u,c,d,f,h){u!==c&&n(c,function(m,C){if(h||(h=new e),a(m))i(u,c,C,d,l,f,h);else{var E=f?f(s(u,C),m,C+"",u,c,h):void 0;E===void 0&&(E=m),t(u,C,E)}},o)}return Ki=l,Ki}var Yi,pu;function lg(){if(pu)return Yi;pu=1;var e=fn(),t=hn();function n(i){return e(function(a,o){var s=-1,l=o.length,u=l>1?o[l-1]:void 0,c=l>2?o[2]:void 0;for(u=i.length>3&&typeof u=="function"?(l--,u):void 0,c&&t(o[0],o[1],c)&&(u=l<3?void 0:u,l=1),a=Object(a);++s<l;){var d=o[s];d&&i(a,d,s,u)}return a})}return Yi=n,Yi}var Xi,gu;function ug(){if(gu)return Xi;gu=1;var e=sg(),t=lg(),n=t(function(i,a,o){e(i,a,o)});return Xi=n,Xi}var Zi,vu;function Dd(){if(vu)return Zi;vu=1;function e(t,n){return t<n}return Zi=e,Zi}var Ji,_u;function cg(){if(_u)return Ji;_u=1;var e=No(),t=Dd(),n=Et();function i(a){return a&&a.length?e(a,n,t):void 0}return Ji=i,Ji}var Qi,Eu;function dg(){if(Eu)return Qi;Eu=1;var e=No(),t=nt(),n=Dd();function i(a,o){return a&&a.length?e(a,t(o,2),n):void 0}return Qi=i,Qi}var ea,yu;function fg(){if(yu)return ea;yu=1;var e=L.require_root(),t=function(){return e.Date.now()};return ea=t,ea}var ta,bu;function hg(){if(bu)return ta;bu=1;var e=L.require_assignValue(),t=un(),n=L.require_isIndex(),i=L.requireIsObject(),a=Mt();function o(s,l,u,c){if(!i(s))return s;l=t(l,s);for(var d=-1,f=l.length,h=f-1,m=s;m!=null&&++d<f;){var C=a(l[d]),E=u;if(C==="__proto__"||C==="constructor"||C==="prototype")return s;if(d!=h){var _=m[C];E=c?c(_,C,m):void 0,E===void 0&&(E=i(_)?_:n(l[d+1])?[]:{})}e(m,C,E),m=m[C]}return s}return ta=o,ta}var na,ku;function mg(){if(ku)return na;ku=1;var e=cn(),t=hg(),n=un();function i(a,o,s){for(var l=-1,u=o.length,c={};++l<u;){var d=o[l],f=e(a,d);s(f,d)&&t(c,n(d,a),f)}return c}return na=i,na}var ra,Cu;function pg(){if(Cu)return ra;Cu=1;var e=mg(),t=sd();function n(i,a){return e(i,a,function(o,s){return t(i,s)})}return ra=n,ra}var ia,Nu;function gg(){if(Nu)return ia;Nu=1;var e=Ad(),t=Ed(),n=yd();function i(a){return n(t(a,void 0,e),a+"")}return ia=i,ia}var aa,wu;function vg(){if(wu)return aa;wu=1;var e=pg(),t=gg(),n=t(function(i,a){return i==null?{}:e(i,a)});return aa=n,aa}var oa,Su;function _g(){if(Su)return oa;Su=1;var e=Math.ceil,t=Math.max;function n(i,a,o,s){for(var l=-1,u=t(e((a-i)/(o||1)),0),c=Array(u);u--;)c[s?u:++l]=i,i+=o;return c}return oa=n,oa}var sa,Lu;function Eg(){if(Lu)return sa;Lu=1;var e=_g(),t=hn(),n=Id();function i(a){return function(o,s,l){return l&&typeof l!="number"&&t(o,s,l)&&(s=l=void 0),o=n(o),s===void 0?(s=o,o=0):s=n(s),l=l===void 0?o<s?1:-1:n(l),e(o,s,l,a)}}return sa=i,sa}var la,Tu;function yg(){if(Tu)return la;Tu=1;var e=Eg(),t=e();return la=t,la}var ua,Iu;function bg(){if(Iu)return ua;Iu=1;function e(t,n){var i=t.length;for(t.sort(n);i--;)t[i]=t[i].value;return t}return ua=e,ua}var ca,Au;function kg(){if(Au)return ca;Au=1;var e=Tt();function t(n,i){if(n!==i){var a=n!==void 0,o=n===null,s=n===n,l=e(n),u=i!==void 0,c=i===null,d=i===i,f=e(i);if(!c&&!f&&!l&&n>i||l&&u&&d&&!c&&!f||o&&u&&d||!a&&d||!s)return 1;if(!o&&!l&&!f&&n<i||f&&a&&s&&!o&&!l||c&&a&&s||!u&&s||!d)return-1}return 0}return ca=t,ca}var da,Ou;function Cg(){if(Ou)return da;Ou=1;var e=kg();function t(n,i,a){for(var o=-1,s=n.criteria,l=i.criteria,u=s.length,c=a.length;++o<u;){var d=e(s[o],l[o]);if(d){if(o>=c)return d;var f=a[o];return d*(f=="desc"?-1:1)}}return n.index-i.index}return da=t,da}var fa,Ru;function Ng(){if(Ru)return fa;Ru=1;var e=ln(),t=cn(),n=nt(),i=gd(),a=bg(),o=L.require_baseUnary(),s=Cg(),l=Et(),u=L.requireIsArray();function c(d,f,h){f.length?f=e(f,function(E){return u(E)?function(_){return t(_,E.length===1?E[0]:E)}:E}):f=[l];var m=-1;f=e(f,o(n));var C=i(d,function(E,_,p){var v=e(f,function(y){return y(E)});return{criteria:v,index:++m,value:E}});return a(C,function(E,_){return s(E,_,h)})}return fa=c,fa}var ha,Du;function wg(){if(Du)return ha;Du=1;var e=ko(),t=Ng(),n=fn(),i=hn(),a=n(function(o,s){if(o==null)return[];var l=s.length;return l>1&&i(o,s[0],s[1])?s=[]:l>2&&i(s[0],s[1],s[2])&&(s=[s[0]]),t(o,e(s,1),[])});return ha=a,ha}var ma,Pu;function Sg(){if(Pu)return ma;Pu=1;var e=ad(),t=0;function n(i){var a=++t;return e(i)+a}return ma=n,ma}var pa,Bu;function Lg(){if(Bu)return pa;Bu=1;function e(t,n,i){for(var a=-1,o=t.length,s=n.length,l={};++a<o;){var u=a<s?n[a]:void 0;i(l,t[a],u)}return l}return pa=e,pa}var ga,Vu;function Tg(){if(Vu)return ga;Vu=1;var e=L.require_assignValue(),t=Lg();function n(i,a){return t(i||[],a||[],e)}return ga=n,ga}var va,Mu;function he(){if(Mu)return va;Mu=1;var e;if(typeof yo=="function")try{e={cloneDeep:L.requireCloneDeep(),constant:bo(),defaults:Wp(),each:fd(),filter:hd(),find:Qp(),flatten:Ad(),forEach:dd(),forIn:eg(),has:md(),isUndefined:pd(),last:tg(),map:vd(),mapValues:ud(),max:rg(),merge:ug(),min:cg(),minBy:dg(),now:fg(),pick:vg(),range:yg(),reduce:_d(),sortBy:wg(),uniqueId:Sg(),values:Cd(),zipObject:Tg()}}catch{}return e||(e=window._),va=e,va}var _a,xu;function Ig(){if(xu)return _a;xu=1,_a=e;function e(){var i={};i._next=i._prev=i,this._sentinel=i}e.prototype.dequeue=function(){var i=this._sentinel,a=i._prev;if(a!==i)return t(a),a},e.prototype.enqueue=function(i){var a=this._sentinel;i._prev&&i._next&&t(i),i._next=a._next,a._next._prev=i,a._next=i,i._prev=a},e.prototype.toString=function(){for(var i=[],a=this._sentinel,o=a._prev;o!==a;)i.push(JSON.stringify(o,n)),o=o._prev;return"["+i.join(", ")+"]"};function t(i){i._prev._next=i._next,i._next._prev=i._prev,delete i._next,delete i._prev}function n(i,a){if(i!=="_next"&&i!=="_prev")return a}return _a}var Ea,$u;function Ag(){if($u)return Ea;$u=1;var e=he(),t=je().Graph,n=Ig();Ea=a;var i=e.constant(1);function a(c,d){if(c.nodeCount()<=1)return[];var f=l(c,d||i),h=o(f.graph,f.buckets,f.zeroIdx);return e.flatten(e.map(h,function(m){return c.outEdges(m.v,m.w)}),!0)}function o(c,d,f){for(var h=[],m=d[d.length-1],C=d[0],E;c.nodeCount();){for(;E=C.dequeue();)s(c,d,f,E);for(;E=m.dequeue();)s(c,d,f,E);if(c.nodeCount()){for(var _=d.length-2;_>0;--_)if(E=d[_].dequeue(),E){h=h.concat(s(c,d,f,E,!0));break}}}return h}function s(c,d,f,h,m){var C=m?[]:void 0;return e.forEach(c.inEdges(h.v),function(E){var _=c.edge(E),p=c.node(E.v);m&&C.push({v:E.v,w:E.w}),p.out-=_,u(d,f,p)}),e.forEach(c.outEdges(h.v),function(E){var _=c.edge(E),p=E.w,v=c.node(p);v.in-=_,u(d,f,v)}),c.removeNode(h.v),C}function l(c,d){var f=new t,h=0,m=0;e.forEach(c.nodes(),function(_){f.setNode(_,{v:_,in:0,out:0})}),e.forEach(c.edges(),function(_){var p=f.edge(_.v,_.w)||0,v=d(_),y=p+v;f.setEdge(_.v,_.w,y),m=Math.max(m,f.node(_.v).out+=v),h=Math.max(h,f.node(_.w).in+=v)});var C=e.range(m+h+3).map(function(){return new n}),E=h+1;return e.forEach(f.nodes(),function(_){u(C,E,f.node(_))}),{graph:f,buckets:C,zeroIdx:E}}function u(c,d,f){f.out?f.in?c[f.out-f.in+d].enqueue(f):c[c.length-1].enqueue(f):c[0].enqueue(f)}return Ea}var ya,qu;function Og(){if(qu)return ya;qu=1;var e=he(),t=Ag();ya={run:n,undo:a};function n(o){var s=o.graph().acyclicer==="greedy"?t(o,l(o)):i(o);e.forEach(s,function(u){var c=o.edge(u);o.removeEdge(u),c.forwardName=u.name,c.reversed=!0,o.setEdge(u.w,u.v,c,e.uniqueId("rev"))});function l(u){return function(c){return u.edge(c).weight}}}function i(o){var s=[],l={},u={};function c(d){e.has(u,d)||(u[d]=!0,l[d]=!0,e.forEach(o.outEdges(d),function(f){e.has(l,f.w)?s.push(f):c(f.w)}),delete l[d])}return e.forEach(o.nodes(),c),s}function a(o){e.forEach(o.edges(),function(s){var l=o.edge(s);if(l.reversed){o.removeEdge(s);var u=l.forwardName;delete l.reversed,delete l.forwardName,o.setEdge(s.w,s.v,l,u)}})}return ya}var ba,Fu;function Pe(){if(Fu)return ba;Fu=1;var e=he(),t=je().Graph;ba={addDummyNode:n,simplify:i,asNonCompoundGraph:a,successorWeights:o,predecessorWeights:s,intersectRect:l,buildLayerMatrix:u,normalizeRanks:c,removeEmptyRanks:d,addBorderNode:f,maxRank:h,partition:m,time:C,notime:E};function n(_,p,v,y){var g;do g=e.uniqueId(y);while(_.hasNode(g));return v.dummy=p,_.setNode(g,v),g}function i(_){var p=new t().setGraph(_.graph());return e.forEach(_.nodes(),function(v){p.setNode(v,_.node(v))}),e.forEach(_.edges(),function(v){var y=p.edge(v.v,v.w)||{weight:0,minlen:1},g=_.edge(v);p.setEdge(v.v,v.w,{weight:y.weight+g.weight,minlen:Math.max(y.minlen,g.minlen)})}),p}function a(_){var p=new t({multigraph:_.isMultigraph()}).setGraph(_.graph());return e.forEach(_.nodes(),function(v){_.children(v).length||p.setNode(v,_.node(v))}),e.forEach(_.edges(),function(v){p.setEdge(v,_.edge(v))}),p}function o(_){var p=e.map(_.nodes(),function(v){var y={};return e.forEach(_.outEdges(v),function(g){y[g.w]=(y[g.w]||0)+_.edge(g).weight}),y});return e.zipObject(_.nodes(),p)}function s(_){var p=e.map(_.nodes(),function(v){var y={};return e.forEach(_.inEdges(v),function(g){y[g.v]=(y[g.v]||0)+_.edge(g).weight}),y});return e.zipObject(_.nodes(),p)}function l(_,p){var v=_.x,y=_.y,g=p.x-v,k=p.y-y,N=_.width/2,b=_.height/2;if(!g&&!k)throw new Error("Not possible to find intersection inside of the rectangle");var T,O;return Math.abs(k)*N>Math.abs(g)*b?(k<0&&(b=-b),T=b*g/k,O=b):(g<0&&(N=-N),T=N,O=N*k/g),{x:v+T,y:y+O}}function u(_){var p=e.map(e.range(h(_)+1),function(){return[]});return e.forEach(_.nodes(),function(v){var y=_.node(v),g=y.rank;e.isUndefined(g)||(p[g][y.order]=v)}),p}function c(_){var p=e.min(e.map(_.nodes(),function(v){return _.node(v).rank}));e.forEach(_.nodes(),function(v){var y=_.node(v);e.has(y,"rank")&&(y.rank-=p)})}function d(_){var p=e.min(e.map(_.nodes(),function(k){return _.node(k).rank})),v=[];e.forEach(_.nodes(),function(k){var N=_.node(k).rank-p;v[N]||(v[N]=[]),v[N].push(k)});var y=0,g=_.graph().nodeRankFactor;e.forEach(v,function(k,N){e.isUndefined(k)&&N%g!==0?--y:y&&e.forEach(k,function(b){_.node(b).rank+=y})})}function f(_,p,v,y){var g={width:0,height:0};return arguments.length>=4&&(g.rank=v,g.order=y),n(_,"border",g,p)}function h(_){return e.max(e.map(_.nodes(),function(p){var v=_.node(p).rank;if(!e.isUndefined(v))return v}))}function m(_,p){var v={lhs:[],rhs:[]};return e.forEach(_,function(y){p(y)?v.lhs.push(y):v.rhs.push(y)}),v}function C(_,p){var v=e.now();try{return p()}finally{console.log(_+" time: "+(e.now()-v)+"ms")}}function E(_,p){return p()}return ba}var ka,Uu;function Rg(){if(Uu)return ka;Uu=1;var e=he(),t=Pe();ka={run:n,undo:a};function n(o){o.graph().dummyChains=[],e.forEach(o.edges(),function(s){i(o,s)})}function i(o,s){var l=s.v,u=o.node(l).rank,c=s.w,d=o.node(c).rank,f=s.name,h=o.edge(s),m=h.labelRank;if(d!==u+1){o.removeEdge(s);var C,E,_;for(_=0,++u;u<d;++_,++u)h.points=[],E={width:0,height:0,edgeLabel:h,edgeObj:s,rank:u},C=t.addDummyNode(o,"edge",E,"_d"),u===m&&(E.width=h.width,E.height=h.height,E.dummy="edge-label",E.labelpos=h.labelpos),o.setEdge(l,C,{weight:h.weight},f),_===0&&o.graph().dummyChains.push(C),l=C;o.setEdge(l,c,{weight:h.weight},f)}}function a(o){e.forEach(o.graph().dummyChains,function(s){var l=o.node(s),u=l.edgeLabel,c;for(o.setEdge(l.edgeObj,u);l.dummy;)c=o.successors(s)[0],o.removeNode(s),u.points.push({x:l.x,y:l.y}),l.dummy==="edge-label"&&(u.x=l.x,u.y=l.y,u.width=l.width,u.height=l.height),s=c,l=o.node(s)})}return ka}var Ca,Hu;function Jt(){if(Hu)return Ca;Hu=1;var e=he();Ca={longestPath:t,slack:n};function t(i){var a={};function o(s){var l=i.node(s);if(e.has(a,s))return l.rank;a[s]=!0;var u=e.min(e.map(i.outEdges(s),function(c){return o(c.w)-i.edge(c).minlen}));return(u===Number.POSITIVE_INFINITY||u===void 0||u===null)&&(u=0),l.rank=u}e.forEach(i.sources(),o)}function n(i,a){return i.node(a.w).rank-i.node(a.v).rank-i.edge(a).minlen}return Ca}var Na,Gu;function Pd(){if(Gu)return Na;Gu=1;var e=he(),t=je().Graph,n=Jt().slack;Na=i;function i(l){var u=new t({directed:!1}),c=l.nodes()[0],d=l.nodeCount();u.setNode(c,{});for(var f,h;a(u,l)<d;)f=o(u,l),h=u.hasNode(f.v)?n(l,f):-n(l,f),s(u,l,h);return u}function a(l,u){function c(d){e.forEach(u.nodeEdges(d),function(f){var h=f.v,m=d===h?f.w:h;!l.hasNode(m)&&!n(u,f)&&(l.setNode(m,{}),l.setEdge(d,m,{}),c(m))})}return e.forEach(l.nodes(),c),l.nodeCount()}function o(l,u){return e.minBy(u.edges(),function(c){if(l.hasNode(c.v)!==l.hasNode(c.w))return n(u,c)})}function s(l,u,c){e.forEach(l.nodes(),function(d){u.node(d).rank+=c})}return Na}var wa,zu;function Dg(){if(zu)return wa;zu=1;var e=he(),t=Pd(),n=Jt().slack,i=Jt().longestPath,a=je().alg.preorder,o=je().alg.postorder,s=Pe().simplify;wa=l,l.initLowLimValues=f,l.initCutValues=u,l.calcCutValue=d,l.leaveEdge=m,l.enterEdge=C,l.exchangeEdges=E;function l(y){y=s(y),i(y);var g=t(y);f(g),u(g,y);for(var k,N;k=m(g);)N=C(g,y,k),E(g,y,k,N)}function u(y,g){var k=o(y,y.nodes());k=k.slice(0,k.length-1),e.forEach(k,function(N){c(y,g,N)})}function c(y,g,k){var N=y.node(k),b=N.parent;y.edge(k,b).cutvalue=d(y,g,k)}function d(y,g,k){var N=y.node(k),b=N.parent,T=!0,O=g.edge(k,b),R=0;return O||(T=!1,O=g.edge(b,k)),R=O.weight,e.forEach(g.nodeEdges(k),function(U){var V=U.v===k,W=V?U.w:U.v;if(W!==b){var Z=V===T,x=g.edge(U).weight;if(R+=Z?x:-x,p(y,k,W)){var D=y.edge(k,W).cutvalue;R+=Z?-D:D}}}),R}function f(y,g){arguments.length<2&&(g=y.nodes()[0]),h(y,{},1,g)}function h(y,g,k,N,b){var T=k,O=y.node(N);return g[N]=!0,e.forEach(y.neighbors(N),function(R){e.has(g,R)||(k=h(y,g,k,R,N))}),O.low=T,O.lim=k++,b?O.parent=b:delete O.parent,k}function m(y){return e.find(y.edges(),function(g){return y.edge(g).cutvalue<0})}function C(y,g,k){var N=k.v,b=k.w;g.hasEdge(N,b)||(N=k.w,b=k.v);var T=y.node(N),O=y.node(b),R=T,U=!1;T.lim>O.lim&&(R=O,U=!0);var V=e.filter(g.edges(),function(W){return U===v(y,y.node(W.v),R)&&U!==v(y,y.node(W.w),R)});return e.minBy(V,function(W){return n(g,W)})}function E(y,g,k,N){var b=k.v,T=k.w;y.removeEdge(b,T),y.setEdge(N.v,N.w,{}),f(y),u(y,g),_(y,g)}function _(y,g){var k=e.find(y.nodes(),function(b){return!g.node(b).parent}),N=a(y,k);N=N.slice(1),e.forEach(N,function(b){var T=y.node(b).parent,O=g.edge(b,T),R=!1;O||(O=g.edge(T,b),R=!0),g.node(b).rank=g.node(T).rank+(R?O.minlen:-O.minlen)})}function p(y,g,k){return y.hasEdge(g,k)}function v(y,g,k){return k.low<=g.lim&&g.lim<=k.lim}return wa}var Sa,Wu;function Pg(){if(Wu)return Sa;Wu=1;var e=Jt(),t=e.longestPath,n=Pd(),i=Dg();Sa=a;function a(u){switch(u.graph().ranker){case"network-simplex":l(u);break;case"tight-tree":s(u);break;case"longest-path":o(u);break;default:l(u)}}var o=t;function s(u){t(u),n(u)}function l(u){i(u)}return Sa}var La,ju;function Bg(){if(ju)return La;ju=1;var e=he();La=t;function t(a){var o=i(a);e.forEach(a.graph().dummyChains,function(s){for(var l=a.node(s),u=l.edgeObj,c=n(a,o,u.v,u.w),d=c.path,f=c.lca,h=0,m=d[h],C=!0;s!==u.w;){if(l=a.node(s),C){for(;(m=d[h])!==f&&a.node(m).maxRank<l.rank;)h++;m===f&&(C=!1)}if(!C){for(;h<d.length-1&&a.node(m=d[h+1]).minRank<=l.rank;)h++;m=d[h]}a.setParent(s,m),s=a.successors(s)[0]}})}function n(a,o,s,l){var u=[],c=[],d=Math.min(o[s].low,o[l].low),f=Math.max(o[s].lim,o[l].lim),h,m;h=s;do h=a.parent(h),u.push(h);while(h&&(o[h].low>d||f>o[h].lim));for(m=h,h=l;(h=a.parent(h))!==m;)c.push(h);return{path:u.concat(c.reverse()),lca:m}}function i(a){var o={},s=0;function l(u){var c=s;e.forEach(a.children(u),l),o[u]={low:c,lim:s++}}return e.forEach(a.children(),l),o}return La}var Ta,Ku;function Vg(){if(Ku)return Ta;Ku=1;var e=he(),t=Pe();Ta={run:n,cleanup:s};function n(l){var u=t.addDummyNode(l,"root",{},"_root"),c=a(l),d=e.max(e.values(c))-1,f=2*d+1;l.graph().nestingRoot=u,e.forEach(l.edges(),function(m){l.edge(m).minlen*=f});var h=o(l)+1;e.forEach(l.children(),function(m){i(l,u,f,h,d,c,m)}),l.graph().nodeRankFactor=f}function i(l,u,c,d,f,h,m){var C=l.children(m);if(!C.length){m!==u&&l.setEdge(u,m,{weight:0,minlen:c});return}var E=t.addBorderNode(l,"_bt"),_=t.addBorderNode(l,"_bb"),p=l.node(m);l.setParent(E,m),p.borderTop=E,l.setParent(_,m),p.borderBottom=_,e.forEach(C,function(v){i(l,u,c,d,f,h,v);var y=l.node(v),g=y.borderTop?y.borderTop:v,k=y.borderBottom?y.borderBottom:v,N=y.borderTop?d:2*d,b=g!==k?1:f-h[m]+1;l.setEdge(E,g,{weight:N,minlen:b,nestingEdge:!0}),l.setEdge(k,_,{weight:N,minlen:b,nestingEdge:!0})}),l.parent(m)||l.setEdge(u,E,{weight:0,minlen:f+h[m]})}function a(l){var u={};function c(d,f){var h=l.children(d);h&&h.length&&e.forEach(h,function(m){c(m,f+1)}),u[d]=f}return e.forEach(l.children(),function(d){c(d,1)}),u}function o(l){return e.reduce(l.edges(),function(u,c){return u+l.edge(c).weight},0)}function s(l){var u=l.graph();l.removeNode(u.nestingRoot),delete u.nestingRoot,e.forEach(l.edges(),function(c){var d=l.edge(c);d.nestingEdge&&l.removeEdge(c)})}return Ta}var Ia,Yu;function Mg(){if(Yu)return Ia;Yu=1;var e=he(),t=Pe();Ia=n;function n(a){function o(s){var l=a.children(s),u=a.node(s);if(l.length&&e.forEach(l,o),e.has(u,"minRank")){u.borderLeft=[],u.borderRight=[];for(var c=u.minRank,d=u.maxRank+1;c<d;++c)i(a,"borderLeft","_bl",s,u,c),i(a,"borderRight","_br",s,u,c)}}e.forEach(a.children(),o)}function i(a,o,s,l,u,c){var d={width:0,height:0,rank:c,borderType:o},f=u[o][c-1],h=t.addDummyNode(a,"border",d,s);u[o][c]=h,a.setParent(h,l),f&&a.setEdge(f,h,{weight:1})}return Ia}var Aa,Xu;function xg(){if(Xu)return Aa;Xu=1;var e=he();Aa={adjust:t,undo:n};function t(c){var d=c.graph().rankdir.toLowerCase();(d==="lr"||d==="rl")&&i(c)}function n(c){var d=c.graph().rankdir.toLowerCase();(d==="bt"||d==="rl")&&o(c),(d==="lr"||d==="rl")&&(l(c),i(c))}function i(c){e.forEach(c.nodes(),function(d){a(c.node(d))}),e.forEach(c.edges(),function(d){a(c.edge(d))})}function a(c){var d=c.width;c.width=c.height,c.height=d}function o(c){e.forEach(c.nodes(),function(d){s(c.node(d))}),e.forEach(c.edges(),function(d){var f=c.edge(d);e.forEach(f.points,s),e.has(f,"y")&&s(f)})}function s(c){c.y=-c.y}function l(c){e.forEach(c.nodes(),function(d){u(c.node(d))}),e.forEach(c.edges(),function(d){var f=c.edge(d);e.forEach(f.points,u),e.has(f,"x")&&u(f)})}function u(c){var d=c.x;c.x=c.y,c.y=d}return Aa}var Oa,Zu;function $g(){if(Zu)return Oa;Zu=1;var e=he();Oa=t;function t(n){var i={},a=e.filter(n.nodes(),function(c){return!n.children(c).length}),o=e.max(e.map(a,function(c){return n.node(c).rank})),s=e.map(e.range(o+1),function(){return[]});function l(c){if(!e.has(i,c)){i[c]=!0;var d=n.node(c);s[d.rank].push(c),e.forEach(n.successors(c),l)}}var u=e.sortBy(a,function(c){return n.node(c).rank});return e.forEach(u,l),s}return Oa}var Ra,Ju;function qg(){if(Ju)return Ra;Ju=1;var e=he();Ra=t;function t(i,a){for(var o=0,s=1;s<a.length;++s)o+=n(i,a[s-1],a[s]);return o}function n(i,a,o){for(var s=e.zipObject(o,e.map(o,function(h,m){return m})),l=e.flatten(e.map(a,function(h){return e.sortBy(e.map(i.outEdges(h),function(m){return{pos:s[m.w],weight:i.edge(m).weight}}),"pos")}),!0),u=1;u<o.length;)u<<=1;var c=2*u-1;u-=1;var d=e.map(new Array(c),function(){return 0}),f=0;return e.forEach(l.forEach(function(h){var m=h.pos+u;d[m]+=h.weight;for(var C=0;m>0;)m%2&&(C+=d[m+1]),m=m-1>>1,d[m]+=h.weight;f+=h.weight*C})),f}return Ra}var Da,Qu;function Fg(){if(Qu)return Da;Qu=1;var e=he();Da=t;function t(n,i){return e.map(i,function(a){var o=n.inEdges(a);if(o.length){var s=e.reduce(o,function(l,u){var c=n.edge(u),d=n.node(u.v);return{sum:l.sum+c.weight*d.order,weight:l.weight+c.weight}},{sum:0,weight:0});return{v:a,barycenter:s.sum/s.weight,weight:s.weight}}else return{v:a}})}return Da}var Pa,ec;function Ug(){if(ec)return Pa;ec=1;var e=he();Pa=t;function t(a,o){var s={};e.forEach(a,function(u,c){var d=s[u.v]={indegree:0,in:[],out:[],vs:[u.v],i:c};e.isUndefined(u.barycenter)||(d.barycenter=u.barycenter,d.weight=u.weight)}),e.forEach(o.edges(),function(u){var c=s[u.v],d=s[u.w];!e.isUndefined(c)&&!e.isUndefined(d)&&(d.indegree++,c.out.push(s[u.w]))});var l=e.filter(s,function(u){return!u.indegree});return n(l)}function n(a){var o=[];function s(c){return function(d){d.merged||(e.isUndefined(d.barycenter)||e.isUndefined(c.barycenter)||d.barycenter>=c.barycenter)&&i(c,d)}}function l(c){return function(d){d.in.push(c),--d.indegree===0&&a.push(d)}}for(;a.length;){var u=a.pop();o.push(u),e.forEach(u.in.reverse(),s(u)),e.forEach(u.out,l(u))}return e.map(e.filter(o,function(c){return!c.merged}),function(c){return e.pick(c,["vs","i","barycenter","weight"])})}function i(a,o){var s=0,l=0;a.weight&&(s+=a.barycenter*a.weight,l+=a.weight),o.weight&&(s+=o.barycenter*o.weight,l+=o.weight),a.vs=o.vs.concat(a.vs),a.barycenter=s/l,a.weight=l,a.i=Math.min(o.i,a.i),o.merged=!0}return Pa}var Ba,tc;function Hg(){if(tc)return Ba;tc=1;var e=he(),t=Pe();Ba=n;function n(o,s){var l=t.partition(o,function(E){return e.has(E,"barycenter")}),u=l.lhs,c=e.sortBy(l.rhs,function(E){return-E.i}),d=[],f=0,h=0,m=0;u.sort(a(!!s)),m=i(d,c,m),e.forEach(u,function(E){m+=E.vs.length,d.push(E.vs),f+=E.barycenter*E.weight,h+=E.weight,m=i(d,c,m)});var C={vs:e.flatten(d,!0)};return h&&(C.barycenter=f/h,C.weight=h),C}function i(o,s,l){for(var u;s.length&&(u=e.last(s)).i<=l;)s.pop(),o.push(u.vs),l++;return l}function a(o){return function(s,l){return s.barycenter<l.barycenter?-1:s.barycenter>l.barycenter?1:o?l.i-s.i:s.i-l.i}}return Ba}var Va,nc;function Gg(){if(nc)return Va;nc=1;var e=he(),t=Fg(),n=Ug(),i=Hg();Va=a;function a(l,u,c,d){var f=l.children(u),h=l.node(u),m=h?h.borderLeft:void 0,C=h?h.borderRight:void 0,E={};m&&(f=e.filter(f,function(k){return k!==m&&k!==C}));var _=t(l,f);e.forEach(_,function(k){if(l.children(k.v).length){var N=a(l,k.v,c,d);E[k.v]=N,e.has(N,"barycenter")&&s(k,N)}});var p=n(_,c);o(p,E);var v=i(p,d);if(m&&(v.vs=e.flatten([m,v.vs,C],!0),l.predecessors(m).length)){var y=l.node(l.predecessors(m)[0]),g=l.node(l.predecessors(C)[0]);e.has(v,"barycenter")||(v.barycenter=0,v.weight=0),v.barycenter=(v.barycenter*v.weight+y.order+g.order)/(v.weight+2),v.weight+=2}return v}function o(l,u){e.forEach(l,function(c){c.vs=e.flatten(c.vs.map(function(d){return u[d]?u[d].vs:d}),!0)})}function s(l,u){e.isUndefined(l.barycenter)?(l.barycenter=u.barycenter,l.weight=u.weight):(l.barycenter=(l.barycenter*l.weight+u.barycenter*u.weight)/(l.weight+u.weight),l.weight+=u.weight)}return Va}var Ma,rc;function zg(){if(rc)return Ma;rc=1;var e=he(),t=je().Graph;Ma=n;function n(a,o,s){var l=i(a),u=new t({compound:!0}).setGraph({root:l}).setDefaultNodeLabel(function(c){return a.node(c)});return e.forEach(a.nodes(),function(c){var d=a.node(c),f=a.parent(c);(d.rank===o||d.minRank<=o&&o<=d.maxRank)&&(u.setNode(c),u.setParent(c,f||l),e.forEach(a[s](c),function(h){var m=h.v===c?h.w:h.v,C=u.edge(m,c),E=e.isUndefined(C)?0:C.weight;u.setEdge(m,c,{weight:a.edge(h).weight+E})}),e.has(d,"minRank")&&u.setNode(c,{borderLeft:d.borderLeft[o],borderRight:d.borderRight[o]}))}),u}function i(a){for(var o;a.hasNode(o=e.uniqueId("_root")););return o}return Ma}var xa,ic;function Wg(){if(ic)return xa;ic=1;var e=he();xa=t;function t(n,i,a){var o={},s;e.forEach(a,function(l){for(var u=n.parent(l),c,d;u;){if(c=n.parent(u),c?(d=o[c],o[c]=u):(d=s,s=u),d&&d!==u){i.setEdge(d,u);return}u=c}})}return xa}var $a,ac;function jg(){if(ac)return $a;ac=1;var e=he(),t=$g(),n=qg(),i=Gg(),a=zg(),o=Wg(),s=je().Graph,l=Pe();$a=u;function u(h){var m=l.maxRank(h),C=c(h,e.range(1,m+1),"inEdges"),E=c(h,e.range(m-1,-1,-1),"outEdges"),_=t(h);f(h,_);for(var p=Number.POSITIVE_INFINITY,v,y=0,g=0;g<4;++y,++g){d(y%2?C:E,y%4>=2),_=l.buildLayerMatrix(h);var k=n(h,_);k<p&&(g=0,v=e.cloneDeep(_),p=k)}f(h,v)}function c(h,m,C){return e.map(m,function(E){return a(h,E,C)})}function d(h,m){var C=new s;e.forEach(h,function(E){var _=E.graph().root,p=i(E,_,C,m);e.forEach(p.vs,function(v,y){E.node(v).order=y}),o(E,C,p.vs)})}function f(h,m){e.forEach(m,function(C){e.forEach(C,function(E,_){h.node(E).order=_})})}return $a}var qa,oc;function Kg(){if(oc)return qa;oc=1;var e=he(),t=je().Graph,n=Pe();qa={positionX:C,findType1Conflicts:i,findType2Conflicts:a,addConflict:s,hasConflict:l,verticalAlignment:u,horizontalCompaction:c,alignCoordinates:h,findSmallestWidthAlignment:f,balance:m};function i(p,v){var y={};function g(k,N){var b=0,T=0,O=k.length,R=e.last(N);return e.forEach(N,function(U,V){var W=o(p,U),Z=W?p.node(W).order:O;(W||U===R)&&(e.forEach(N.slice(T,V+1),function(x){e.forEach(p.predecessors(x),function(D){var J=p.node(D),j=J.order;(j<b||Z<j)&&!(J.dummy&&p.node(x).dummy)&&s(y,D,x)})}),T=V+1,b=Z)}),N}return e.reduce(v,g),y}function a(p,v){var y={};function g(N,b,T,O,R){var U;e.forEach(e.range(b,T),function(V){U=N[V],p.node(U).dummy&&e.forEach(p.predecessors(U),function(W){var Z=p.node(W);Z.dummy&&(Z.order<O||Z.order>R)&&s(y,W,U)})})}function k(N,b){var T=-1,O,R=0;return e.forEach(b,function(U,V){if(p.node(U).dummy==="border"){var W=p.predecessors(U);W.length&&(O=p.node(W[0]).order,g(b,R,V,T,O),R=V,T=O)}g(b,R,b.length,O,N.length)}),b}return e.reduce(v,k),y}function o(p,v){if(p.node(v).dummy)return e.find(p.predecessors(v),function(y){return p.node(y).dummy})}function s(p,v,y){if(v>y){var g=v;v=y,y=g}var k=p[v];k||(p[v]=k={}),k[y]=!0}function l(p,v,y){if(v>y){var g=v;v=y,y=g}return e.has(p[v],y)}function u(p,v,y,g){var k={},N={},b={};return e.forEach(v,function(T){e.forEach(T,function(O,R){k[O]=O,N[O]=O,b[O]=R})}),e.forEach(v,function(T){var O=-1;e.forEach(T,function(R){var U=g(R);if(U.length){U=e.sortBy(U,function(D){return b[D]});for(var V=(U.length-1)/2,W=Math.floor(V),Z=Math.ceil(V);W<=Z;++W){var x=U[W];N[R]===R&&O<b[x]&&!l(y,R,x)&&(N[x]=R,N[R]=k[R]=k[x],O=b[x])}}})}),{root:k,align:N}}function c(p,v,y,g,k){var N={},b=d(p,v,y,k),T=k?"borderLeft":"borderRight";function O(V,W){for(var Z=b.nodes(),x=Z.pop(),D={};x;)D[x]?V(x):(D[x]=!0,Z.push(x),Z=Z.concat(W(x))),x=Z.pop()}function R(V){N[V]=b.inEdges(V).reduce(function(W,Z){return Math.max(W,N[Z.v]+b.edge(Z))},0)}function U(V){var W=b.outEdges(V).reduce(function(x,D){return Math.min(x,N[D.w]-b.edge(D))},Number.POSITIVE_INFINITY),Z=p.node(V);W!==Number.POSITIVE_INFINITY&&Z.borderType!==T&&(N[V]=Math.max(N[V],W))}return O(R,b.predecessors.bind(b)),O(U,b.successors.bind(b)),e.forEach(g,function(V){N[V]=N[y[V]]}),N}function d(p,v,y,g){var k=new t,N=p.graph(),b=E(N.nodesep,N.edgesep,g);return e.forEach(v,function(T){var O;e.forEach(T,function(R){var U=y[R];if(k.setNode(U),O){var V=y[O],W=k.edge(V,U);k.setEdge(V,U,Math.max(b(p,R,O),W||0))}O=R})}),k}function f(p,v){return e.minBy(e.values(v),function(y){var g=Number.NEGATIVE_INFINITY,k=Number.POSITIVE_INFINITY;return e.forIn(y,function(N,b){var T=_(p,b)/2;g=Math.max(N+T,g),k=Math.min(N-T,k)}),g-k})}function h(p,v){var y=e.values(v),g=e.min(y),k=e.max(y);e.forEach(["u","d"],function(N){e.forEach(["l","r"],function(b){var T=N+b,O=p[T],R;if(O!==v){var U=e.values(O);R=b==="l"?g-e.min(U):k-e.max(U),R&&(p[T]=e.mapValues(O,function(V){return V+R}))}})})}function m(p,v){return e.mapValues(p.ul,function(y,g){if(v)return p[v.toLowerCase()][g];var k=e.sortBy(e.map(p,g));return(k[1]+k[2])/2})}function C(p){var v=n.buildLayerMatrix(p),y=e.merge(i(p,v),a(p,v)),g={},k;e.forEach(["u","d"],function(b){k=b==="u"?v:e.values(v).reverse(),e.forEach(["l","r"],function(T){T==="r"&&(k=e.map(k,function(V){return e.values(V).reverse()}));var O=(b==="u"?p.predecessors:p.successors).bind(p),R=u(p,k,y,O),U=c(p,k,R.root,R.align,T==="r");T==="r"&&(U=e.mapValues(U,function(V){return-V})),g[b+T]=U})});var N=f(p,g);return h(g,N),m(g,p.graph().align)}function E(p,v,y){return function(g,k,N){var b=g.node(k),T=g.node(N),O=0,R;if(O+=b.width/2,e.has(b,"labelpos"))switch(b.labelpos.toLowerCase()){case"l":R=-b.width/2;break;case"r":R=b.width/2;break}if(R&&(O+=y?R:-R),R=0,O+=(b.dummy?v:p)/2,O+=(T.dummy?v:p)/2,O+=T.width/2,e.has(T,"labelpos"))switch(T.labelpos.toLowerCase()){case"l":R=T.width/2;break;case"r":R=-T.width/2;break}return R&&(O+=y?R:-R),R=0,O}}function _(p,v){return p.node(v).width}return qa}var Fa,sc;function Yg(){if(sc)return Fa;sc=1;var e=he(),t=Pe(),n=Kg().positionX;Fa=i;function i(o){o=t.asNonCompoundGraph(o),a(o),e.forEach(n(o),function(s,l){o.node(l).x=s})}function a(o){var s=t.buildLayerMatrix(o),l=o.graph().ranksep,u=0;e.forEach(s,function(c){var d=e.max(e.map(c,function(f){return o.node(f).height}));e.forEach(c,function(f){o.node(f).y=u+d/2}),u+=d+l})}return Fa}var Ua,lc;function Xg(){if(lc)return Ua;lc=1;var e=he(),t=Og(),n=Rg(),i=Pg(),a=Pe().normalizeRanks,o=Bg(),s=Pe().removeEmptyRanks,l=Vg(),u=Mg(),c=xg(),d=jg(),f=Yg(),h=Pe(),m=je().Graph;Ua=C;function C(I,P){var q=P&&P.debugTiming?h.time:h.notime;q("layout",function(){var G=q(" buildLayoutGraph",function(){return O(I)});q(" runLayout",function(){E(G,q)}),q(" updateInputGraph",function(){_(I,G)})})}function E(I,P){P(" makeSpaceForEdgeLabels",function(){R(I)}),P(" removeSelfEdges",function(){F(I)}),P(" acyclic",function(){t.run(I)}),P(" nestingGraph.run",function(){l.run(I)}),P(" rank",function(){i(h.asNonCompoundGraph(I))}),P(" injectEdgeLabelProxies",function(){U(I)}),P(" removeEmptyRanks",function(){s(I)}),P(" nestingGraph.cleanup",function(){l.cleanup(I)}),P(" normalizeRanks",function(){a(I)}),P(" assignRankMinMax",function(){V(I)}),P(" removeEdgeLabelProxies",function(){W(I)}),P(" normalize.run",function(){n.run(I)}),P(" parentDummyChains",function(){o(I)}),P(" addBorderSegments",function(){u(I)}),P(" order",function(){d(I)}),P(" insertSelfEdges",function(){ne(I)}),P(" adjustCoordinateSystem",function(){c.adjust(I)}),P(" position",function(){f(I)}),P(" positionSelfEdges",function(){me(I)}),P(" removeBorderNodes",function(){j(I)}),P(" normalize.undo",function(){n.undo(I)}),P(" fixupEdgeLabelCoords",function(){D(I)}),P(" undoCoordinateSystem",function(){c.undo(I)}),P(" translateGraph",function(){Z(I)}),P(" assignNodeIntersects",function(){x(I)}),P(" reversePoints",function(){J(I)}),P(" acyclic.undo",function(){t.undo(I)})}function _(I,P){e.forEach(I.nodes(),function(q){var G=I.node(q),ee=P.node(q);G&&(G.x=ee.x,G.y=ee.y,P.children(q).length&&(G.width=ee.width,G.height=ee.height))}),e.forEach(I.edges(),function(q){var G=I.edge(q),ee=P.edge(q);G.points=ee.points,e.has(ee,"x")&&(G.x=ee.x,G.y=ee.y)}),I.graph().width=P.graph().width,I.graph().height=P.graph().height}var p=["nodesep","edgesep","ranksep","marginx","marginy"],v={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},y=["acyclicer","ranker","rankdir","align"],g=["width","height"],k={width:0,height:0},N=["minlen","weight","width","height","labeloffset"],b={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},T=["labelpos"];function O(I){var P=new m({multigraph:!0,compound:!0}),q=Me(I.graph());return P.setGraph(e.merge({},v,Re(q,p),e.pick(q,y))),e.forEach(I.nodes(),function(G){var ee=Me(I.node(G));P.setNode(G,e.defaults(Re(ee,g),k)),P.setParent(G,I.parent(G))}),e.forEach(I.edges(),function(G){var ee=Me(I.edge(G));P.setEdge(G,e.merge({},b,Re(ee,N),e.pick(ee,T)))}),P}function R(I){var P=I.graph();P.ranksep/=2,e.forEach(I.edges(),function(q){var G=I.edge(q);G.minlen*=2,G.labelpos.toLowerCase()!=="c"&&(P.rankdir==="TB"||P.rankdir==="BT"?G.width+=G.labeloffset:G.height+=G.labeloffset)})}function U(I){e.forEach(I.edges(),function(P){var q=I.edge(P);if(q.width&&q.height){var G=I.node(P.v),ee=I.node(P.w),ce={rank:(ee.rank-G.rank)/2+G.rank,e:P};h.addDummyNode(I,"edge-proxy",ce,"_ep")}})}function V(I){var P=0;e.forEach(I.nodes(),function(q){var G=I.node(q);G.borderTop&&(G.minRank=I.node(G.borderTop).rank,G.maxRank=I.node(G.borderBottom).rank,P=e.max(P,G.maxRank))}),I.graph().maxRank=P}function W(I){e.forEach(I.nodes(),function(P){var q=I.node(P);q.dummy==="edge-proxy"&&(I.edge(q.e).labelRank=q.rank,I.removeNode(P))})}function Z(I){var P=Number.POSITIVE_INFINITY,q=0,G=Number.POSITIVE_INFINITY,ee=0,ce=I.graph(),pe=ce.marginx||0,Ie=ce.marginy||0;function bt(we){var be=we.x,xe=we.y,it=we.width,kt=we.height;P=Math.min(P,be-it/2),q=Math.max(q,be+it/2),G=Math.min(G,xe-kt/2),ee=Math.max(ee,xe+kt/2)}e.forEach(I.nodes(),function(we){bt(I.node(we))}),e.forEach(I.edges(),function(we){var be=I.edge(we);e.has(be,"x")&&bt(be)}),P-=pe,G-=Ie,e.forEach(I.nodes(),function(we){var be=I.node(we);be.x-=P,be.y-=G}),e.forEach(I.edges(),function(we){var be=I.edge(we);e.forEach(be.points,function(xe){xe.x-=P,xe.y-=G}),e.has(be,"x")&&(be.x-=P),e.has(be,"y")&&(be.y-=G)}),ce.width=q-P+pe,ce.height=ee-G+Ie}function x(I){e.forEach(I.edges(),function(P){var q=I.edge(P),G=I.node(P.v),ee=I.node(P.w),ce,pe;q.points?(ce=q.points[0],pe=q.points[q.points.length-1]):(q.points=[],ce=ee,pe=G),q.points.unshift(h.intersectRect(G,ce)),q.points.push(h.intersectRect(ee,pe))})}function D(I){e.forEach(I.edges(),function(P){var q=I.edge(P);if(e.has(q,"x"))switch((q.labelpos==="l"||q.labelpos==="r")&&(q.width-=q.labeloffset),q.labelpos){case"l":q.x-=q.width/2+q.labeloffset;break;case"r":q.x+=q.width/2+q.labeloffset;break}})}function J(I){e.forEach(I.edges(),function(P){var q=I.edge(P);q.reversed&&q.points.reverse()})}function j(I){e.forEach(I.nodes(),function(P){if(I.children(P).length){var q=I.node(P),G=I.node(q.borderTop),ee=I.node(q.borderBottom),ce=I.node(e.last(q.borderLeft)),pe=I.node(e.last(q.borderRight));q.width=Math.abs(pe.x-ce.x),q.height=Math.abs(ee.y-G.y),q.x=ce.x+q.width/2,q.y=G.y+q.height/2}}),e.forEach(I.nodes(),function(P){I.node(P).dummy==="border"&&I.removeNode(P)})}function F(I){e.forEach(I.edges(),function(P){if(P.v===P.w){var q=I.node(P.v);q.selfEdges||(q.selfEdges=[]),q.selfEdges.push({e:P,label:I.edge(P)}),I.removeEdge(P)}})}function ne(I){var P=h.buildLayerMatrix(I);e.forEach(P,function(q){var G=0;e.forEach(q,function(ee,ce){var pe=I.node(ee);pe.order=ce+G,e.forEach(pe.selfEdges,function(Ie){h.addDummyNode(I,"selfedge",{width:Ie.label.width,height:Ie.label.height,rank:pe.rank,order:ce+ ++G,e:Ie.e,label:Ie.label},"_se")}),delete pe.selfEdges})})}function me(I){e.forEach(I.nodes(),function(P){var q=I.node(P);if(q.dummy==="selfedge"){var G=I.node(q.e.v),ee=G.x+G.width/2,ce=G.y,pe=q.x-ee,Ie=G.height/2;I.setEdge(q.e,q.label),I.removeNode(P),q.label.points=[{x:ee+2*pe/3,y:ce-Ie},{x:ee+5*pe/6,y:ce-Ie},{x:ee+pe,y:ce},{x:ee+5*pe/6,y:ce+Ie},{x:ee+2*pe/3,y:ce+Ie}],q.label.x=q.x,q.label.y=q.y}})}function Re(I,P){return e.mapValues(e.pick(I,P),Number)}function Me(I){var P={};return e.forEach(I,function(q,G){P[G.toLowerCase()]=q}),P}return Ua}var Ha,uc;function Zg(){if(uc)return Ha;uc=1;var e=he(),t=Pe(),n=je().Graph;Ha={debugOrdering:i};function i(a){var o=t.buildLayerMatrix(a),s=new n({compound:!0,multigraph:!0}).setGraph({});return e.forEach(a.nodes(),function(l){s.setNode(l,{label:l}),s.setParent(l,"layer"+a.node(l).rank)}),e.forEach(a.edges(),function(l){s.setEdge(l.v,l.w,{},l.name)}),e.forEach(o,function(l,u){var c="layer"+u;s.setNode(c,{rank:"same"}),e.reduce(l,function(d,f){return s.setEdge(d,f,{style:"invis"}),f})}),s}return Ha}var Ga,cc;function Jg(){return cc||(cc=1,Ga="0.8.5"),Ga}var za,dc;function Qg(){return dc||(dc=1,za={graphlib:je(),layout:Xg(),debug:Zg(),util:{time:Pe().time,notime:Pe().notime},version:Jg()}),za}var e1=Qg();const fc=L.getDefaultExportFromCjs(e1),at="root.Triggers",Kt={predecessorsEdge(e,t){const{getEdges:n}=te.useVueFlow(e),i=[];for(const a of n.value)if(a.target===t){i.push(a);const o=this.predecessorsEdge(e,a.source);o.length>0&&i.push(...o)}return i},successorsEdge(e,t){const{getEdges:n}=te.useVueFlow(e),i=[];for(const a of n.value)if(a.source===t){i.push(a);const o=this.successorsEdge(e,a.target);o.length>0&&i.push(...o)}return i},predecessorsNode(e,t){const{getEdges:n,findNode:i}=te.useVueFlow(e),a=i(t),o=a?[a]:[];for(const s of n.value)if(s.target===t){o.push(s.sourceNode);const l=this.predecessorsNode(e,s.source);l.length>0&&o.push(...l)}return o},successorsNode(e,t){const{getEdges:n,findNode:i}=te.useVueFlow(e),a=[i(t)];for(const o of n.value)if(o.source===t){a.push(o.targetNode);const s=this.successorsNode(e,o.target);s.length>0&&a.push(...s)}return a},linkedElements(e,t){return[...this.predecessorsEdge(e,t),...this.predecessorsNode(e,t),...this.successorsEdge(e,t),...this.successorsNode(e,t)]},generateDagreGraph(e,t,n,i,a,o,s){const l=new fc.graphlib.Graph({compound:!0});l.setDefaultEdgeLabel(()=>({})),l.setGraph({rankdir:n?"LR":"TB"});for(const u of e.nodes)t.includes(u.uid)||l.setNode(u.uid,{width:this.getNodeWidth(u),height:this.getNodeHeight(u)});for(const u of e.clusters||[]){const c=u.cluster.uid.replace(st,"");if(i.includes(u.cluster.uid)&&o.has(c)){const d={uid:c,type:"collapsedcluster"};l.setNode(c,{width:this.getNodeWidth(d),height:this.getNodeHeight(d)}),s.push(d);continue}if(!a[u.cluster.uid]){l.setNode(u.cluster.uid,{clusterLabelPos:"top"});for(const d of u.nodes||[])t.includes(d)||l.setParent(d,u.cluster.uid)}if(u.parents){const d=a[u.cluster.uid]?a[u.cluster.uid]:u.cluster.uid;t.includes(d)||l.setParent(d,u.parents[u.parents.length-1])}}for(const u of e.edges||[]){const c=this.replaceIfCollapsed(u.source,u.target,a,t);c&&l.setEdge(c.source,c.target)}return fc.layout(l),l},getNodePosition(e,t){const n={x:e.x-e.width/2,y:e.y-e.height/2};if(t){const i=this.getNodePosition(t);n.x=n.x-i.x,n.y=n.y-i.y}return n},getNodeWidth(e){return this.isTaskNode(e)||this.isTriggerNode(e)?Ze.TASK_WIDTH:this.isCollapsedCluster(e)?Ze.COLLAPSED_CLUSTER_WIDTH:Ze.DOT_WIDTH},getNodeHeight(e){return this.isTaskNode(e)||this.isTriggerNode(e)?Ze.TASK_HEIGHT:this.isCollapsedCluster(e)?Ze.COLLAPSED_CLUSTER_HEIGHT:Ze.DOT_HEIGHT},isTaskNode(e){return["GraphTask","SubflowGraphTask$1"].some(t=>e.type.endsWith(t))},isTriggerNode(e){return e.type.endsWith("GraphTrigger")},isCollapsedCluster(e){return e.type==="collapsedcluster"},replaceIfCollapsed(e,t,n,i){const a=n[e]?n[e]:e,o=n[t]?n[t]:t;return a===o||i.includes(a)||i.includes(o)?null:{target:o,source:a}},cleanGraph(e){const{getEdges:t,getNodes:n,getElements:i,removeEdges:a,removeNodes:o,removeSelectedElements:s}=te.useVueFlow(e);a(t.value),o(n.value),s(i.value)},flowHaveTasks(e){return e?L.flowHaveTasks(e):!1},nodeColor(e,t){return e.uid===at||this.isTriggerNode(e)||this.isCollapsedCluster(e)?"success":e.type.endsWith("SubflowGraphTask")?"primary":e.branchType=="ERROR"?"danger":e.branchType=="FINALLY"?"warning":t.has(e.uid)?"blue":"default"},haveAdd(e,t,n,i){var c,d,f;if(i.some(h=>e.source.startsWith(h)&&e.target.startsWith(h))||n.includes(e.target)||e.source.startsWith(at)||e.target.startsWith(at))return;const a=e.target.split(".");a.pop();const o=a.join("."),s=ge.afterLastDot(o),l=t[e.target];if(l.type.endsWith("GraphClusterEnd")&&((f=(d=(c=t[o])==null?void 0:c.task)==null?void 0:d.type)!=null&&f.endsWith("Parallel")))return;if(l.type.endsWith("GraphClusterRoot"))return[s,"before"];const u=t[e.source].type.endsWith("GraphClusterEnd");if(!u&&l.type.endsWith("GraphClusterEnd"))return[ge.afterLastDot(e.source),"after"];if(u){const h=e.source.split(".");return[h[h.length-2],"after"]}return[ge.afterLastDot(e.target),"before"]},getEdgeColor(e,t,n){const i=s=>{var u,c;const l=s.split(".");for(let d=1;d<=l.length;d++){const f=l.slice(0,d).join("."),h=(u=n[f])==null?void 0:u.branchType;if(h)return h}return((c=t[s])==null?void 0:c.branchType)??null},a=i(e.source),o=i(e.target);return[a,o].includes("ERROR")?"danger":[a,o].includes("FINALLY")?"warning":null},generateGraph(e,t,n,i,a,o,s,l,u,c,d,f,h){var b,T,O,R,U,V,W,Z,x,D,J,j;const m=[],C=[st+at];if(!i||a&&!this.flowHaveTasks(a)){m.push({id:"start",type:"dot",position:{x:0,y:0},style:{width:"5px",height:"5px"},sourcePosition:s?te.Position.Right:te.Position.Bottom,targetPosition:s?te.Position.Left:te.Position.Top,parentNode:void 0,draggable:!1}),m.push({id:"end",type:"dot",position:s?{x:50,y:0}:{x:0,y:50},style:{width:"5px",height:"5px"},sourcePosition:s?te.Position.Right:te.Position.Bottom,targetPosition:s?te.Position.Left:te.Position.Top,parentNode:void 0,draggable:!1}),m.push({id:"start|end",source:"start",target:"end",type:"edge",data:{edge:{relation:{relationType:"SEQUENTIAL"}},isFlowable:!1,initTask:!0,color:"primary"}});return}const E=this.generateDagreGraph(i,o,s,C,l,u,c),_={},p=i.clusters||[],v=p.map(F=>F.cluster),y=v.filter(F=>F.type.endsWith("SubflowGraphCluster")).map(F=>F.taskNode.uid),g=Object.fromEntries(i.nodes.concat(c).map(F=>[F.uid,F]));for(const F of p)if(!l[F.cluster.uid]&&!u.has(F.cluster.uid)){((T=(b=F.cluster.taskNode)==null?void 0:b.task)==null?void 0:T.type)==="io.kestra.core.tasks.flows.Dag"&&y.push(F.cluster.taskNode.uid);for(const I of F.nodes)_[I]=F.cluster;const ne=F.cluster.uid,me=E.node(ne),Re=F.parents?F.parents[F.parents.length-1]:void 0,Me=this.computeClusterColor(F.cluster);m.push({id:ne,type:"cluster",parentNode:Re,position:this.getNodePosition(me,Re?E.node(Re):void 0),style:{width:ne===at&&s?Ze.TRIGGER_CLUSTER_WIDTH+"px":me.width+"px",height:ne===at&&!s?Ze.TRIGGER_CLUSTER_HEIGHT+"px":me.height+"px"},data:{collapsable:!0,color:Me,taskNode:F.cluster.taskNode,unused:F.cluster.taskNode?g[F.cluster.taskNode.uid].unused:!1},class:`ks-topology-${Me}-border rounded p-2`})}for(const F of i.nodes.concat(c))if(!o.includes(F.uid)){const ne=E.node(F.uid);let me="task";this.isClusterRootOrEnd(F)?me="dot":F.type.includes("GraphTrigger")?me="trigger":F.type==="collapsedcluster"&&(me="collapsedcluster");const Re=this.nodeColor(F,u),Me=d||((R=(O=F.task)==null?void 0:O.type)==null?void 0:R.includes("$"))||y.some(I=>F.uid.startsWith(I+"."));m.push({id:F.uid,type:me,position:this.getNodePosition(ne,_[F.uid]?E.node(_[F.uid].uid):void 0),style:{width:this.getNodeWidth(F)+"px",height:this.getNodeHeight(F)+"px"},sourcePosition:s?te.Position.Right:te.Position.Bottom,targetPosition:s?te.Position.Left:te.Position.Top,parentNode:_[F.uid]?_[F.uid].uid:void 0,draggable:me==="task"?!Me:!1,data:{node:F,parent:_[F.uid]?_[F.uid]:void 0,namespace:((W=(V=(U=_[F.uid])==null?void 0:U.taskNode)==null?void 0:V.task)==null?void 0:W.namespace)??n,flowId:((D=(x=(Z=_[F.uid])==null?void 0:Z.taskNode)==null?void 0:x.task)==null?void 0:D.flowId)??t,isFlowable:((J=_[F.uid])==null?void 0:J.uid)===st+F.uid&&!F.type.endsWith("SubflowGraphTask"),color:Re,expandable:this.isExpandableTask(F,_,l,h),isReadOnly:Me,iconComponent:this.isCollapsedCluster(F)?"lightning-bolt":null,executionId:F.executionId,unused:F.unused},class:F.type==="collapsedcluster"?`ks-topology-${Re}-border rounded`:""})}const k=v.filter(F=>F.taskNode).map(F=>F.taskNode.uid),N=i.edges??[];for(const F of N){const ne=this.replaceIfCollapsed(F.source,F.target,l,o);if(ne){const me=this.getEdgeColor(F,g,_);m.push({id:ne.source+"|"+ne.target,source:ne.source,target:ne.target,type:"edge",markerEnd:this.isClusterRootOrEnd(g[ne.target])?"":{id:"marker-"+(g[ne.target].branchType?(j=g[ne.target].branchType)==null?void 0:j.toLocaleLowerCase():"custom"),type:te.MarkerType.ArrowClosed,color:me?`var(--ks-border-${me})`:"var(--ks-topology-edge-color)"},data:{haveAdd:!d&&f&&this.haveAdd(F,g,k,y),haveDashArray:g[F.source].type.endsWith("GraphTrigger")||g[F.target].type.endsWith("GraphTrigger")||F.source.startsWith(at),color:me,unused:F.unused},style:{zIndex:10}})}}return m},isClusterRootOrEnd(e){return["GraphClusterRoot","GraphClusterFinally","GraphClusterAfterExecution","GraphClusterEnd"].some(t=>e.type.endsWith(t))},computeClusterColor(e){return e.uid===st+at?"success":e.type.endsWith("SubflowGraphCluster")?"primary":e.branchType==="ERROR"?"danger":"blue"},isExpandableTask(e,t,n,i){var a,o;return Object.values(n).includes(e.uid)||this.isCollapsedCluster(e)?!0:e.type.endsWith("SubflowGraphTask")&&((o=(a=t[e.uid])==null?void 0:a.uid)==null?void 0:o.replace(st,""))!==e.uid&&i}};let Ft;async function t1(){if(Ft)return Ft;const e=await Promise.resolve().then(()=>require("./useMarkdownParser-CPHSSwzs.cjs")).then(n=>n.useMarkdownParser);return Ft=await(e.default??e)(),Ft}var Yt={exports:{}},n1=Yt.exports,hc;function r1(){return hc||(hc=1,function(e,t){(function(n,i,a){e.exports=a(),e.exports.default=a()})("slugify",n1,function(){var n=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"}`),i=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(o,s){if(typeof o!="string")throw new Error("slugify: string argument expected");s=typeof s=="string"?{replacement:s}:s||{};var l=i[s.locale]||{},u=s.replacement===void 0?"-":s.replacement,c=s.trim===void 0?!0:s.trim,d=o.normalize().split("").reduce(function(f,h){var m=l[h];return m===void 0&&(m=n[h]),m===void 0&&(m=h),m===u&&(m=" "),f+m.replace(s.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return s.strict&&(d=d.replace(/[^A-Za-z0-9\s]/g,"")),c&&(d=d.trim()),d=d.replace(/\s+/g,u),s.lower&&(d=d.toLowerCase()),d}return a.extend=function(o){Object.assign(n,o)},a})}(Yt)),Yt.exports}var i1=r1();const Bd=L.getDefaultExportFromCjs(i1);Bd.extend({"(":"-",")":""});function pt(e){return Bd(e,{lower:!0,locale:"en"})}function Vd(e,t){var n;return Array.isArray(t)&&!["categories","controllers","storages","aliases","guides"].includes(e)&&(t.length===0||((n=t[0])==null?void 0:n.cls)!==void 0)}function Nt(e){const t=e.title.replaceAll(/\.([a-zA-Z])/g,(n,i)=>` ${i.toUpperCase()}`);return t.charAt(0).toUpperCase()+t.slice(1)}/*!
1
+ "use strict";var er=Object.create;var Gn=Object.defineProperty;var tr=Object.getOwnPropertyDescriptor;var nr=Object.getOwnPropertyNames;var or=Object.getPrototypeOf,lr=Object.prototype.hasOwnProperty;var rr=(e,n,o,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of nr(n))!lr.call(e,r)&&r!==o&&Gn(e,r,{get:()=>n[r],enumerable:!(l=tr(n,r))||l.enumerable});return e};var ir=(e,n,o)=>(o=e!=null?er(or(e)):{},rr(n||!e||!e.__esModule?Gn(o,"default",{value:e,enumerable:!0}):o,e));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const We=require("yaml"),y=require("./VueFlowUtils-Dh7ybprm.cjs"),W=require("./FlowYamlUtils-CwE38P6I.cjs"),t=require("vue"),re=require("@vue-flow/core"),tn=require("@vue-flow/controls"),nn=require("moment"),ar=require("@popperjs/core"),bt=require("vue-router"),sr={lineWidth:0},Wn=["tasks","triggers","errors","finally","afterExecution","pluginDefaults"],cr={stringify:W.stringify,parse:W.parse,pairsToMap:W.pairsToMap,extractTask(e,n){for(const o of Wn){const l=W.extractBlock({source:e,section:o,key:n});if(l)return l}},_extractTask(e,n,o){function l(i){if(i){if(i instanceof We.YAMLMap&&i.get("type")!==void 0&&n===i.get("id"))return o?o(i):i;if(i.items)for(const[a,s]of i.items.entries()){let c;if(s instanceof We.YAMLMap?c=l(s):c=l(s.value),c&&(o&&(i instanceof We.YAMLMap?i.set(s.key.value,c):i.items[a]=c),!o&&c))return c}}}const r=l(e.contents);if(r!==void 0)return o?new We.Document(r):new We.Document(r)},replaceTaskInDocument(e,n,o,l="tasks",r="id"){return W.replaceBlockInDocument({source:e,section:l,keyName:r,key:n,newContent:o})},sort:W.sort,getAllCharts:W.getAllCharts,getChartAtPosition:W.getChartAtPosition,localizeElementAtIndex:W.localizeElementAtIndex,getTaskType:W.getTypeAtPosition,swapTasks(e,n,o){const l=We.parseDocument(e),r=this._extractTask(l,n),i=this._extractTask(l,o);return We.visit(l,{Pair(a,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,()=>i),this._extractTask(l,o,()=>r),l.toString(sr)},insertTask(e,n,o,l,r){return W.insertBlock({source:e,section:"tasks",newBlock:o,refKey:n,position:l,parentKey:r})},insertSection(e,n,o){return W.insertBlock({source:n,section:e,newBlock:o})},insertErrorInFlowable:W.insertErrorInFlowable,deleteSection(e,n,o){return W.deleteBlock({source:e,section:n,key:o})},deleteTask(e,n,o){return(o===y.SECTIONS.TASKS?["tasks","errors"]:["triggers"]).reduce((r,i)=>W.deleteBlock({source:r,section:i,key:n}),e)},getLastTask(e,n){return W.getLastBlock({source:e,section:"tasks",parentKey:n})},checkTaskAlreadyExist(e,n){return W.checkBlockAlreadyExists({source:e,section:"tasks",newContent:n,keyName:"id"})},isParentChildrenRelation(e,n,o){return W.isParentChildrenRelation({source:e,sections:Wn,key1:n,key2:o,keyName:"id"})},replaceIdAndNamespace:W.replaceIdAndNamespace,updateMetadata:W.updateMetadata,cleanMetadata:W.cleanMetadata,getMetadata:W.getMetadata,deleteMetadata:W.deleteMetadata,flowHaveTasks:W.flowHaveTasks,extractPluginDefault:W.extractPluginDefault,replacePluginDefaultsInDocument:W.replacePluginDefaultsInDocument,deletePluginDefaults:W.deletePluginDefaults,extractFieldFromMaps:W.extractFieldFromMaps,getVersionAtPosition:W.getVersionAtPosition},Ne=e=>{const n=document.querySelector(":root"),o=n?getComputedStyle(n):null;return o==null?void 0:o.getPropertyValue(e)};var ur=y.requireMapValues();const gt=W.getDefaultExportFromCjs(ur),B=(e,n)=>{const o=e.__vccOpts||e;for(const[l,r]of n)o[l]=r;return o},dr={name:"PauseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},fr=["aria-hidden","aria-label"],mr=["fill","width","height"],pr={d:"M15,16H13V8H15M11,16H9V8H11M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},gr={key:0};function hr(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon pause-circle-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",pr,[o.title?(t.openBlock(),t.createElementBlock("title",gr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,mr))],16,fr)}const jn=B(dr,[["render",hr]]),Er={name:"CheckCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},kr=["aria-hidden","aria-label"],_r=["fill","width","height"],yr={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"},Cr={key:0};function Nr(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon check-circle-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",yr,[o.title?(t.openBlock(),t.createElementBlock("title",Cr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,_r))],16,kr)}const vr=B(Er,[["render",Nr]]),Sr={name:"PlayCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},br=["aria-hidden","aria-label"],Lr=["fill","width","height"],Tr={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"},wr={key:0};function Ar(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon play-circle-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Tr,[o.title?(t.openBlock(),t.createElementBlock("title",wr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Lr))],16,br)}const Ir=B(Sr,[["render",Ar]]),Vr={name:"CloseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Or=["aria-hidden","aria-label"],Dr=["fill","width","height"],Br={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"},Pr={key:0};function Rr(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon close-circle-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Br,[o.title?(t.openBlock(),t.createElementBlock("title",Pr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Dr))],16,Or)}const cn=B(Vr,[["render",Rr]]),$r={name:"StopCircleIcon",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:"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"},Ur={key:0};function Hr(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon stop-circle-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Fr,[o.title?(t.openBlock(),t.createElementBlock("title",Ur,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,xr))],16,Mr)}const zr=B($r,[["render",Hr]]),Gr={name:"SkipPreviousCircleIcon",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"],Kr={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"},Yr={key:0};function qr(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon skip-previous-circle-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Kr,[o.title?(t.openBlock(),t.createElementBlock("title",Yr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,jr))],16,Wr)}const Xr=B(Gr,[["render",qr]]),Zr={name:"AlertCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Jr=["aria-hidden","aria-label"],Qr=["fill","width","height"],ei={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"},ti={key:0};function ni(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon alert-circle-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",ei,[o.title?(t.openBlock(),t.createElementBlock("title",ti,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Qr))],16,Jr)}const un=B(Zr,[["render",ni]]),oi={name:"DotsVerticalCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},li=["aria-hidden","aria-label"],ri=["fill","width","height"],ii={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"},ai={key:0};function si(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon dots-vertical-circle-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",ii,[o.title?(t.openBlock(),t.createElementBlock("title",ai,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ri))],16,li)}const ci=B(oi,[["render",si]]),ui={name:"MotionPauseOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},di=["aria-hidden","aria-label"],fi=["fill","width","height"],mi={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"},pi={key:0};function gi(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon motion-pause-outline-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",mi,[o.title?(t.openBlock(),t.createElementBlock("title",pi,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,fi))],16,di)}const hi=B(ui,[["render",gi]]),Ei={name:"RefreshIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ki=["aria-hidden","aria-label"],_i=["fill","width","height"],yi={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"},Ci={key:0};function Ni(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon refresh-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",yi,[o.title?(t.openBlock(),t.createElementBlock("title",Ci,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,_i))],16,ki)}const Kn=B(Ei,[["render",Ni]]),vi={name:"CancelIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Si=["aria-hidden","aria-label"],bi=["fill","width","height"],Li={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"},Ti={key:0};function wi(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon cancel-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Li,[o.title?(t.openBlock(),t.createElementBlock("title",Ti,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,bi))],16,Si)}const Yn=B(vi,[["render",wi]]),G=Object.freeze({CREATED:{name:"CREATED",color:"#1761FD",colorClass:"cyan",icon:ci,isRunning:!0,isKillable:!0,isFailed:!1},RESTARTED:{name:"RESTARTED",color:"#1761FD",colorClass:"cyan",icon:Xr,isRunning:!1,isKillable:!0,isFailed:!1},SUCCESS:{name:"SUCCESS",color:"#029E73",colorClass:"green",icon:vr,isRunning:!1,isKillable:!1,isFailed:!1},RUNNING:{name:"RUNNING",color:"#8405FF",colorClass:"purple",icon:Ir,isRunning:!0,isKillable:!0,isFailed:!1},KILLING:{name:"KILLING",color:"#FCE07C",colorClass:"yellow",icon:cn,isRunning:!0,isKillable:!0,isFailed:!0},KILLED:{name:"KILLED",color:"#FCE07C",colorClass:"yellow",icon:zr,isRunning:!1,isKillable:!1,isFailed:!0},WARNING:{name:"WARNING",color:"#DD5F00",colorClass:"orange",icon:un,isRunning:!1,isKillable:!1,isFailed:!0},FAILED:{name:"FAILED",color:"#AB0009",colorClass:"red",icon:cn,isRunning:!1,isKillable:!1,isFailed:!0},PAUSED:{name:"PAUSED",color:"#918BA9",colorClass:"indigo",icon:jn,isRunning:!0,isKillable:!0,isFailed:!1},CANCELLED:{name:"CANCELLED",color:"#918BA9",colorClass:"gray",icon:Yn,isRunning:!1,isKillable:!1,isFailed:!0},SKIPPED:{name:"SKIPPED",color:"#918BA9",colorClass:"gray",icon:Yn,isRunning:!1,isKillable:!1,isFailed:!0},QUEUED:{name:"QUEUED",color:"#918BA9",colorClass:"gray",icon:hi,isRunning:!1,isKillable:!1,isFailed:!1},RETRYING:{name:"RETRYING",color:"#918BA9",colorClass:"gray",icon:Kn,isRunning:!1,isKillable:!0,isFailed:!1},RETRIED:{name:"RETRIED",color:"#918BA9",colorClass:"gray",icon:Kn,isRunning:!1,isKillable:!1,isFailed:!1},BREAKPOINT:{name:"BREAKPOINT",color:"#918BA9",colorClass:"gray",icon:jn,isRunning:!1,isKillable:!1,isFailed:!1}});class ae{static get CREATED(){return G.CREATED.name}static get RESTARTED(){return G.RESTARTED.name}static get SUCCESS(){return G.SUCCESS.name}static get RUNNING(){return G.RUNNING.name}static get KILLING(){return G.KILLING.name}static get KILLED(){return G.KILLED.name}static get FAILED(){return G.FAILED.name}static get WARNING(){return G.WARNING.name}static get PAUSED(){return G.PAUSED.name}static get CANCELLED(){return G.CANCELLED.name}static get QUEUED(){return G.QUEUED.name}static get RETRYING(){return G.RETRYING.name}static get RETRIED(){return G.RETRIED.name}static get BREAKPOINT(){return G.BREAKPOINT.name}static isRunning(n){return G[n]&&G[n].isRunning}static isKillable(n){return G[n]&&G[n].isKillable}static isPaused(n){return G[n]&&G[n]===G.PAUSED}static isFailed(n){return G[n]&&G[n].isFailed}static isQueued(n){return G[n]&&G[n]===G.QUEUED}static allStates(){return gt(G,n=>({key:n.name,icon:n.icon,color:""}))}static arrayAllStates(){return Object.values(G)}static colorClass(){return gt(G,n=>n.colorClass)}static color(){return gt(G,n=>Ne("--bs-"+n.colorClass))}static getStateColor(n){return G[n].color}static icon(){return gt(G,n=>n.icon)}static getTerminatedStates(){return Object.values(G).filter(n=>!n.isRunning).map(n=>n.name)}}let ht;async function Ai(){if(ht)return ht;const e=await Promise.resolve().then(()=>require("./useMarkdownParser-CPHSSwzs.cjs")).then(o=>o.useMarkdownParser);return ht=await(e.default??e)(),ht}var vt={exports:{}},Ii=vt.exports,qn;function Vi(){return qn||(qn=1,function(e,n){(function(o,l,r){e.exports=r(),e.exports.default=r()})("slugify",Ii,function(){var o=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),l=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function r(i,a){if(typeof i!="string")throw new Error("slugify: string argument expected");a=typeof a=="string"?{replacement:a}:a||{};var s=l[a.locale]||{},c=a.replacement===void 0?"-":a.replacement,d=a.trim===void 0?!0:a.trim,m=i.normalize().split("").reduce(function(E,h){var C=s[h];return C===void 0&&(C=o[h]),C===void 0&&(C=h),C===c&&(C=" "),E+C.replace(a.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return a.strict&&(m=m.replace(/[^A-Za-z0-9\s]/g,"")),d&&(m=m.trim()),m=m.replace(/\s+/g,c),a.lower&&(m=m.toLowerCase()),m}return r.extend=function(i){Object.assign(o,i)},r})}(vt)),vt.exports}var Oi=Vi();const Ro=W.getDefaultExportFromCjs(Oi);Ro.extend({"(":"-",")":""});function je(e){return Ro(e,{lower:!0,locale:"en"})}function $o(e,n){var o;return Array.isArray(n)&&!["categories","controllers","storages","aliases","guides"].includes(e)&&(n.length===0||((o=n[0])==null?void 0:o.cls)!==void 0)}function Je(e){const n=e.title.replaceAll(/\.([a-zA-Z])/g,(o,l)=>` ${l.toUpperCase()}`);return n.charAt(0).toUpperCase()+n.slice(1)}/*!
2
2
  * shared v11.1.3
3
3
  * (c) 2025 kazuya kawaguchi
4
4
  * Released under the MIT License.
5
- */const tt=typeof window<"u";let Ue,vt;if(process.env.NODE_ENV!=="production"){const e=tt&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Ue=t=>{e.mark(t)},vt=(t,n,i)=>{e.measure(t,n,i),e.clearMarks(n),e.clearMarks(i)})}const a1=/\{([0-9a-zA-Z]+)\}/g;function mn(e,...t){return t.length===1&&oe(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(a1,(n,i)=>t.hasOwnProperty(i)?t[i]:"")}const rt=(e,t=!1)=>t?Symbol.for(e):Symbol(e),o1=(e,t,n)=>s1({l:e,k:t,s:n}),s1=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Se=e=>typeof e=="number"&&isFinite(e),l1=e=>wo(e)==="[object Date]",Qt=e=>wo(e)==="[object RegExp]",pn=e=>ae(e)&&Object.keys(e).length===0,Le=Object.assign,u1=Object.create,ue=(e=null)=>u1(e);let mc;const gt=()=>mc||(mc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:ue());function pc(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const c1=Object.prototype.hasOwnProperty;function ze(e,t){return c1.call(e,t)}const Ne=Array.isArray,fe=e=>typeof e=="function",z=e=>typeof e=="string",ye=e=>typeof e=="boolean",oe=e=>e!==null&&typeof e=="object",d1=e=>oe(e)&&fe(e.then)&&fe(e.catch),Md=Object.prototype.toString,wo=e=>Md.call(e),ae=e=>wo(e)==="[object Object]",f1=e=>e==null?"":Ne(e)||ae(e)&&e.toString===Md?JSON.stringify(e,null,2):String(e);function So(e,t=""){return e.reduce((n,i,a)=>a===0?n+i:n+t+i,"")}const gc=2;function h1(e,t=0,n=e.length){const i=e.split(/\r?\n/);let a=0;const o=[];for(let s=0;s<i.length;s++)if(a+=i[s].length+1,a>=t){for(let l=s-gc;l<=s+gc||n>a;l++){if(l<0||l>=i.length)continue;const u=l+1;o.push(`${u}${" ".repeat(3-String(u).length)}| ${i[l]}`);const c=i[l].length;if(l===s){const d=t-(a-c)+1,f=Math.max(1,n>a?c-d:n-t);o.push(" | "+" ".repeat(d)+"^".repeat(f))}else if(l>s){if(n>a){const d=Math.max(Math.min(n-a,c),1);o.push(" | "+"^".repeat(d))}a+=c+1}}break}return o.join(`
6
- `)}function ut(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const vc={};function m1(e){vc[e]||(vc[e]=!0,ut(e))}function p1(){const e=new Map;return{events:e,on(n,i){const a=e.get(n);a&&a.push(i)||e.set(n,[i])},off(n,i){const a=e.get(n);a&&a.splice(a.indexOf(i)>>>0,1)},emit(n,i){(e.get(n)||[]).slice().map(a=>a(i)),(e.get("*")||[]).slice().map(a=>a(n,i))}}}const Ut=e=>!oe(e)||Ne(e);function Xt(e,t){if(Ut(e)||Ut(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:i,des:a}=n.pop();Object.keys(i).forEach(o=>{o!=="__proto__"&&(oe(i[o])&&!oe(a[o])&&(a[o]=Array.isArray(i[o])?[]:ue()),Ut(a[o])||Ut(i[o])?a[o]=i[o]:n.push({src:i[o],des:a[o]}))})}}/*!
5
+ */const Be=typeof window<"u";let ve,Ye;if(process.env.NODE_ENV!=="production"){const e=Be&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(ve=n=>{e.mark(n)},Ye=(n,o,l)=>{e.measure(n,o,l),e.clearMarks(o),e.clearMarks(l)})}const Di=/\{([0-9a-zA-Z]+)\}/g;function Bt(e,...n){return n.length===1&&Y(n[0])&&(n=n[0]),(!n||!n.hasOwnProperty)&&(n={}),e.replace(Di,(o,l)=>n.hasOwnProperty(l)?n[l]:"")}const Pe=(e,n=!1)=>n?Symbol.for(e):Symbol(e),Bi=(e,n,o)=>Pi({l:e,k:n,s:o}),Pi=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ue=e=>typeof e=="number"&&isFinite(e),Ri=e=>Tn(e)==="[object Date]",Lt=e=>Tn(e)==="[object RegExp]",Pt=e=>K(e)&&Object.keys(e).length===0,de=Object.assign,$i=Object.create,Z=(e=null)=>$i(e);let Xn;const Ke=()=>Xn||(Xn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Z());function Zn(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const Mi=Object.prototype.hasOwnProperty;function be(e,n){return Mi.call(e,n)}const se=Array.isArray,ee=e=>typeof e=="function",D=e=>typeof e=="string",le=e=>typeof e=="boolean",Y=e=>e!==null&&typeof e=="object",xi=e=>Y(e)&&ee(e.then)&&ee(e.catch),Mo=Object.prototype.toString,Tn=e=>Mo.call(e),K=e=>Tn(e)==="[object Object]",Fi=e=>e==null?"":se(e)||K(e)&&e.toString===Mo?JSON.stringify(e,null,2):String(e);function wn(e,n=""){return e.reduce((o,l,r)=>r===0?o+l:o+n+l,"")}const Jn=2;function Ui(e,n=0,o=e.length){const l=e.split(/\r?\n/);let r=0;const i=[];for(let a=0;a<l.length;a++)if(r+=l[a].length+1,r>=n){for(let s=a-Jn;s<=a+Jn||o>r;s++){if(s<0||s>=l.length)continue;const c=s+1;i.push(`${c}${" ".repeat(3-String(c).length)}| ${l[s]}`);const d=l[s].length;if(s===a){const m=n-(r-d)+1,E=Math.max(1,o>r?d-m:o-n);i.push(" | "+" ".repeat(m)+"^".repeat(E))}else if(s>a){if(o>r){const m=Math.max(Math.min(o-r,d),1);i.push(" | "+"^".repeat(m))}r+=d+1}}break}return i.join(`
6
+ `)}function Me(e,n){typeof console<"u"&&(console.warn("[intlify] "+e),n&&console.warn(n.stack))}const Qn={};function Hi(e){Qn[e]||(Qn[e]=!0,Me(e))}function zi(){const e=new Map;return{events:e,on(o,l){const r=e.get(o);r&&r.push(l)||e.set(o,[l])},off(o,l){const r=e.get(o);r&&r.splice(r.indexOf(l)>>>0,1)},emit(o,l){(e.get(o)||[]).slice().map(r=>r(l)),(e.get("*")||[]).slice().map(r=>r(o,l))}}}const Et=e=>!Y(e)||se(e);function St(e,n){if(Et(e)||Et(n))throw new Error("Invalid value");const o=[{src:e,des:n}];for(;o.length;){const{src:l,des:r}=o.pop();Object.keys(l).forEach(i=>{i!=="__proto__"&&(Y(l[i])&&!Y(r[i])&&(r[i]=Array.isArray(l[i])?[]:Z()),Et(r[i])||Et(l[i])?r[i]=l[i]:o.push({src:l[i],des:r[i]}))})}}/*!
7
7
  * message-compiler v11.1.3
8
8
  * (c) 2025 kazuya kawaguchi
9
9
  * Released under the MIT License.
10
- */function g1(e,t,n){return{line:e,column:t,offset:n}}function Qa(e,t,n){return{start:e,end:t}}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},v1=17,_1={[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 It(e,t,n={}){const{domain:i,messages:a,args:o}=n,s=process.env.NODE_ENV!=="production"?mn((a||_1)[e]||"",...o||[]):e,l=new SyntaxError(String(s));return l.code=e,t&&(l.location=t),l.domain=i,l}function E1(e){throw e}const y1=/<\/?[\w\s="/.':;#-\/]+>/,b1=e=>y1.test(e),Xe=" ",k1="\r",Oe=`
11
- `,C1="\u2028",N1="\u2029";function w1(e){const t=e;let n=0,i=1,a=1,o=0;const s=b=>t[b]===k1&&t[b+1]===Oe,l=b=>t[b]===Oe,u=b=>t[b]===N1,c=b=>t[b]===C1,d=b=>s(b)||l(b)||u(b)||c(b),f=()=>n,h=()=>i,m=()=>a,C=()=>o,E=b=>s(b)||u(b)||c(b)?Oe:t[b],_=()=>E(n),p=()=>E(n+o);function v(){return o=0,d(n)&&(i++,a=0),s(n)&&n++,n++,a++,t[n]}function y(){return s(n+o)&&o++,o++,t[n+o]}function g(){n=0,i=1,a=1,o=0}function k(b=0){o=b}function N(){const b=n+o;for(;b!==n;)v();o=0}return{index:f,line:h,column:m,peekOffset:C,charAt:E,currentChar:_,currentPeek:p,next:v,peek:y,reset:g,resetPeek:k,skipToPeek:N}}const ot=void 0,S1=".",_c="'",L1="tokenizer";function T1(e,t={}){const n=t.location!==!1,i=w1(e),a=()=>i.index(),o=()=>g1(i.line(),i.column(),i.index()),s=o(),l=a(),u={currentType:13,offset:l,startLoc:s,endLoc:s,lastType:13,lastOffset:l,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},c=()=>u,{onError:d}=t;function f(w,S,B,...Y){const ve=c();if(S.column+=B,S.offset+=B,d){const _e=n?Qa(ve.startLoc,S):null,ie=It(w,_e,{domain:L1,args:Y});d(ie)}}function h(w,S,B){w.endLoc=o(),w.currentType=S;const Y={type:S};return n&&(Y.loc=Qa(w.startLoc,w.endLoc)),B!=null&&(Y.value=B),Y}const m=w=>h(w,13);function C(w,S){return w.currentChar()===S?(w.next(),S):(f(X.EXPECTED_TOKEN,o(),0,S),"")}function E(w){let S="";for(;w.currentPeek()===Xe||w.currentPeek()===Oe;)S+=w.currentPeek(),w.peek();return S}function _(w){const S=E(w);return w.skipToPeek(),S}function p(w){if(w===ot)return!1;const S=w.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S===95}function v(w){if(w===ot)return!1;const S=w.charCodeAt(0);return S>=48&&S<=57}function y(w,S){const{currentType:B}=S;if(B!==2)return!1;E(w);const Y=p(w.currentPeek());return w.resetPeek(),Y}function g(w,S){const{currentType:B}=S;if(B!==2)return!1;E(w);const Y=w.currentPeek()==="-"?w.peek():w.currentPeek(),ve=v(Y);return w.resetPeek(),ve}function k(w,S){const{currentType:B}=S;if(B!==2)return!1;E(w);const Y=w.currentPeek()===_c;return w.resetPeek(),Y}function N(w,S){const{currentType:B}=S;if(B!==7)return!1;E(w);const Y=w.currentPeek()===".";return w.resetPeek(),Y}function b(w,S){const{currentType:B}=S;if(B!==8)return!1;E(w);const Y=p(w.currentPeek());return w.resetPeek(),Y}function T(w,S){const{currentType:B}=S;if(!(B===7||B===11))return!1;E(w);const Y=w.currentPeek()===":";return w.resetPeek(),Y}function O(w,S){const{currentType:B}=S;if(B!==9)return!1;const Y=()=>{const _e=w.currentPeek();return _e==="{"?p(w.peek()):_e==="@"||_e==="|"||_e===":"||_e==="."||_e===Xe||!_e?!1:_e===Oe?(w.peek(),Y()):U(w,!1)},ve=Y();return w.resetPeek(),ve}function R(w){E(w);const S=w.currentPeek()==="|";return w.resetPeek(),S}function U(w,S=!0){const B=(ve=!1,_e="")=>{const ie=w.currentPeek();return ie==="{"||ie==="@"||!ie?ve:ie==="|"?!(_e===Xe||_e===Oe):ie===Xe?(w.peek(),B(!0,Xe)):ie===Oe?(w.peek(),B(!0,Oe)):!0},Y=B();return S&&w.resetPeek(),Y}function V(w,S){const B=w.currentChar();return B===ot?ot:S(B)?(w.next(),B):null}function W(w){const S=w.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S>=48&&S<=57||S===95||S===36}function Z(w){return V(w,W)}function x(w){const S=w.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S>=48&&S<=57||S===95||S===36||S===45}function D(w){return V(w,x)}function J(w){const S=w.charCodeAt(0);return S>=48&&S<=57}function j(w){return V(w,J)}function F(w){const S=w.charCodeAt(0);return S>=48&&S<=57||S>=65&&S<=70||S>=97&&S<=102}function ne(w){return V(w,F)}function me(w){let S="",B="";for(;S=j(w);)B+=S;return B}function Re(w){let S="";for(;;){const B=w.currentChar();if(B==="{"||B==="}"||B==="@"||B==="|"||!B)break;if(B===Xe||B===Oe)if(U(w))S+=B,w.next();else{if(R(w))break;S+=B,w.next()}else S+=B,w.next()}return S}function Me(w){_(w);let S="",B="";for(;S=D(w);)B+=S;return w.currentChar()===ot&&f(X.UNTERMINATED_CLOSING_BRACE,o(),0),B}function I(w){_(w);let S="";return w.currentChar()==="-"?(w.next(),S+=`-${me(w)}`):S+=me(w),w.currentChar()===ot&&f(X.UNTERMINATED_CLOSING_BRACE,o(),0),S}function P(w){return w!==_c&&w!==Oe}function q(w){_(w),C(w,"'");let S="",B="";for(;S=V(w,P);)S==="\\"?B+=G(w):B+=S;const Y=w.currentChar();return Y===Oe||Y===ot?(f(X.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),Y===Oe&&(w.next(),C(w,"'")),B):(C(w,"'"),B)}function G(w){const S=w.currentChar();switch(S){case"\\":case"'":return w.next(),`\\${S}`;case"u":return ee(w,S,4);case"U":return ee(w,S,6);default:return f(X.UNKNOWN_ESCAPE_SEQUENCE,o(),0,S),""}}function ee(w,S,B){C(w,S);let Y="";for(let ve=0;ve<B;ve++){const _e=ne(w);if(!_e){f(X.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),0,`\\${S}${Y}${w.currentChar()}`);break}Y+=_e}return`\\${S}${Y}`}function ce(w){return w!=="{"&&w!=="}"&&w!==Xe&&w!==Oe}function pe(w){_(w);let S="",B="";for(;S=V(w,ce);)B+=S;return B}function Ie(w){let S="",B="";for(;S=Z(w);)B+=S;return B}function bt(w){const S=B=>{const Y=w.currentChar();return Y==="{"||Y==="@"||Y==="|"||Y==="("||Y===")"||!Y||Y===Xe?B:(B+=Y,w.next(),S(B))};return S("")}function we(w){_(w);const S=C(w,"|");return _(w),S}function be(w,S){let B=null;switch(w.currentChar()){case"{":return S.braceNest>=1&&f(X.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),w.next(),B=h(S,2,"{"),_(w),S.braceNest++,B;case"}":return S.braceNest>0&&S.currentType===2&&f(X.EMPTY_PLACEHOLDER,o(),0),w.next(),B=h(S,3,"}"),S.braceNest--,S.braceNest>0&&_(w),S.inLinked&&S.braceNest===0&&(S.inLinked=!1),B;case"@":return S.braceNest>0&&f(X.UNTERMINATED_CLOSING_BRACE,o(),0),B=xe(w,S)||m(S),S.braceNest=0,B;default:{let ve=!0,_e=!0,ie=!0;if(R(w))return S.braceNest>0&&f(X.UNTERMINATED_CLOSING_BRACE,o(),0),B=h(S,1,we(w)),S.braceNest=0,S.inLinked=!1,B;if(S.braceNest>0&&(S.currentType===4||S.currentType===5||S.currentType===6))return f(X.UNTERMINATED_CLOSING_BRACE,o(),0),S.braceNest=0,it(w,S);if(ve=y(w,S))return B=h(S,4,Me(w)),_(w),B;if(_e=g(w,S))return B=h(S,5,I(w)),_(w),B;if(ie=k(w,S))return B=h(S,6,q(w)),_(w),B;if(!ve&&!_e&&!ie)return B=h(S,12,pe(w)),f(X.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,B.value),_(w),B;break}}return B}function xe(w,S){const{currentType:B}=S;let Y=null;const ve=w.currentChar();switch((B===7||B===8||B===11||B===9)&&(ve===Oe||ve===Xe)&&f(X.INVALID_LINKED_FORMAT,o(),0),ve){case"@":return w.next(),Y=h(S,7,"@"),S.inLinked=!0,Y;case".":return _(w),w.next(),h(S,8,".");case":":return _(w),w.next(),h(S,9,":");default:return R(w)?(Y=h(S,1,we(w)),S.braceNest=0,S.inLinked=!1,Y):N(w,S)||T(w,S)?(_(w),xe(w,S)):b(w,S)?(_(w),h(S,11,Ie(w))):O(w,S)?(_(w),ve==="{"?be(w,S)||Y:h(S,10,bt(w))):(B===7&&f(X.INVALID_LINKED_FORMAT,o(),0),S.braceNest=0,S.inLinked=!1,it(w,S))}}function it(w,S){let B={type:13};if(S.braceNest>0)return be(w,S)||m(S);if(S.inLinked)return xe(w,S)||m(S);switch(w.currentChar()){case"{":return be(w,S)||m(S);case"}":return f(X.UNBALANCED_CLOSING_BRACE,o(),0),w.next(),h(S,3,"}");case"@":return xe(w,S)||m(S);default:{if(R(w))return B=h(S,1,we(w)),S.braceNest=0,S.inLinked=!1,B;if(U(w))return h(S,0,Re(w));break}}return B}function kt(){const{currentType:w,offset:S,startLoc:B,endLoc:Y}=u;return u.lastType=w,u.lastOffset=S,u.lastStartLoc=B,u.lastEndLoc=Y,u.offset=a(),u.startLoc=o(),i.currentChar()===ot?h(u,13):it(i,u)}return{nextToken:kt,currentOffset:a,currentPosition:o,context:c}}const I1="parser",A1=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function O1(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const i=parseInt(t||n,16);return i<=55295||i>=57344?String.fromCodePoint(i):"�"}}}function R1(e={}){const t=e.location!==!1,{onError:n}=e;function i(p,v,y,g,...k){const N=p.currentPosition();if(N.offset+=g,N.column+=g,n){const b=t?Qa(y,N):null,T=It(v,b,{domain:I1,args:k});n(T)}}function a(p,v,y){const g={type:p};return t&&(g.start=v,g.end=v,g.loc={start:y,end:y}),g}function o(p,v,y,g){t&&(p.end=v,p.loc&&(p.loc.end=y))}function s(p,v){const y=p.context(),g=a(3,y.offset,y.startLoc);return g.value=v,o(g,p.currentOffset(),p.currentPosition()),g}function l(p,v){const y=p.context(),{lastOffset:g,lastStartLoc:k}=y,N=a(5,g,k);return N.index=parseInt(v,10),p.nextToken(),o(N,p.currentOffset(),p.currentPosition()),N}function u(p,v){const y=p.context(),{lastOffset:g,lastStartLoc:k}=y,N=a(4,g,k);return N.key=v,p.nextToken(),o(N,p.currentOffset(),p.currentPosition()),N}function c(p,v){const y=p.context(),{lastOffset:g,lastStartLoc:k}=y,N=a(9,g,k);return N.value=v.replace(A1,O1),p.nextToken(),o(N,p.currentOffset(),p.currentPosition()),N}function d(p){const v=p.nextToken(),y=p.context(),{lastOffset:g,lastStartLoc:k}=y,N=a(8,g,k);return v.type!==11?(i(p,X.UNEXPECTED_EMPTY_LINKED_MODIFIER,y.lastStartLoc,0),N.value="",o(N,g,k),{nextConsumeToken:v,node:N}):(v.value==null&&i(p,X.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ke(v)),N.value=v.value||"",o(N,p.currentOffset(),p.currentPosition()),{node:N})}function f(p,v){const y=p.context(),g=a(7,y.offset,y.startLoc);return g.value=v,o(g,p.currentOffset(),p.currentPosition()),g}function h(p){const v=p.context(),y=a(6,v.offset,v.startLoc);let g=p.nextToken();if(g.type===8){const k=d(p);y.modifier=k.node,g=k.nextConsumeToken||p.nextToken()}switch(g.type!==9&&i(p,X.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ke(g)),g=p.nextToken(),g.type===2&&(g=p.nextToken()),g.type){case 10:g.value==null&&i(p,X.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ke(g)),y.key=f(p,g.value||"");break;case 4:g.value==null&&i(p,X.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ke(g)),y.key=u(p,g.value||"");break;case 5:g.value==null&&i(p,X.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ke(g)),y.key=l(p,g.value||"");break;case 6:g.value==null&&i(p,X.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ke(g)),y.key=c(p,g.value||"");break;default:{i(p,X.UNEXPECTED_EMPTY_LINKED_KEY,v.lastStartLoc,0);const k=p.context(),N=a(7,k.offset,k.startLoc);return N.value="",o(N,k.offset,k.startLoc),y.key=N,o(y,k.offset,k.startLoc),{nextConsumeToken:g,node:y}}}return o(y,p.currentOffset(),p.currentPosition()),{node:y}}function m(p){const v=p.context(),y=v.currentType===1?p.currentOffset():v.offset,g=v.currentType===1?v.endLoc:v.startLoc,k=a(2,y,g);k.items=[];let N=null;do{const O=N||p.nextToken();switch(N=null,O.type){case 0:O.value==null&&i(p,X.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ke(O)),k.items.push(s(p,O.value||""));break;case 5:O.value==null&&i(p,X.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ke(O)),k.items.push(l(p,O.value||""));break;case 4:O.value==null&&i(p,X.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ke(O)),k.items.push(u(p,O.value||""));break;case 6:O.value==null&&i(p,X.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ke(O)),k.items.push(c(p,O.value||""));break;case 7:{const R=h(p);k.items.push(R.node),N=R.nextConsumeToken||null;break}}}while(v.currentType!==13&&v.currentType!==1);const b=v.currentType===1?v.lastOffset:p.currentOffset(),T=v.currentType===1?v.lastEndLoc:p.currentPosition();return o(k,b,T),k}function C(p,v,y,g){const k=p.context();let N=g.items.length===0;const b=a(1,v,y);b.cases=[],b.cases.push(g);do{const T=m(p);N||(N=T.items.length===0),b.cases.push(T)}while(k.currentType!==13);return N&&i(p,X.MUST_HAVE_MESSAGES_IN_PLURAL,y,0),o(b,p.currentOffset(),p.currentPosition()),b}function E(p){const v=p.context(),{offset:y,startLoc:g}=v,k=m(p);return v.currentType===13?k:C(p,y,g,k)}function _(p){const v=T1(p,Le({},e)),y=v.context(),g=a(0,y.offset,y.startLoc);return t&&g.loc&&(g.loc.source=p),g.body=E(v),e.onCacheKey&&(g.cacheKey=e.onCacheKey(p)),y.currentType!==13&&i(v,X.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,p[y.offset]||""),o(g,v.currentOffset(),v.currentPosition()),g}return{parse:_}}function Ke(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function D1(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function Ec(e,t){for(let n=0;n<e.length;n++)Lo(e[n],t)}function Lo(e,t){switch(e.type){case 1:Ec(e.cases,t),t.helper("plural");break;case 2:Ec(e.items,t);break;case 6:{Lo(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function P1(e,t={}){const n=D1(e);n.helper("normalize"),e.body&&Lo(e.body,n);const i=n.context();e.helpers=Array.from(i.helpers)}function B1(e){const t=e.body;return t.type===2?yc(t):t.cases.forEach(n=>yc(n)),e}function yc(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const i=e.items[n];if(!(i.type===3||i.type===9)||i.value==null)break;t.push(i.value)}if(t.length===e.items.length){e.static=So(t);for(let n=0;n<e.items.length;n++){const i=e.items[n];(i.type===3||i.type===9)&&delete i.value}}}}const V1="minifier";function wt(e){switch(e.t=e.type,e.type){case 0:{const t=e;wt(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let i=0;i<n.length;i++)wt(n[i]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let i=0;i<n.length;i++)wt(n[i]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;wt(t.key),t.k=t.key,delete t.key,t.modifier&&(wt(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:if(process.env.NODE_ENV!=="production")throw It(X.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:V1,args:[e.type]})}delete e.type}const M1="parser";function x1(e,t){const{filename:n,breakLineCode:i,needIndent:a}=t,o=t.location!==!1,s={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:a,indentLevel:0};o&&e.loc&&(s.source=e.loc.source);const l=()=>s;function u(E,_){s.code+=E}function c(E,_=!0){const p=_?i:"";u(a?p+" ".repeat(E):p)}function d(E=!0){const _=++s.indentLevel;E&&c(_)}function f(E=!0){const _=--s.indentLevel;E&&c(_)}function h(){c(s.indentLevel)}return{context:l,push:u,indent:d,deindent:f,newline:h,helper:E=>`_${E}`,needIndent:()=>s.needIndent}}function $1(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Lt(e,t.key),t.modifier?(e.push(", "),Lt(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function q1(e,t){const{helper:n,needIndent:i}=e;e.push(`${n("normalize")}([`),e.indent(i());const a=t.items.length;for(let o=0;o<a&&(Lt(e,t.items[o]),o!==a-1);o++)e.push(", ");e.deindent(i()),e.push("])")}function F1(e,t){const{helper:n,needIndent:i}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(i());const a=t.cases.length;for(let o=0;o<a&&(Lt(e,t.cases[o]),o!==a-1);o++)e.push(", ");e.deindent(i()),e.push("])")}}function U1(e,t){t.body?Lt(e,t.body):e.push("null")}function Lt(e,t){const{helper:n}=e;switch(t.type){case 0:U1(e,t);break;case 1:F1(e,t);break;case 2:q1(e,t);break;case 6:$1(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:if(process.env.NODE_ENV!=="production")throw It(X.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:M1,args:[t.type]})}}const H1=(e,t={})=>{const n=z(t.mode)?t.mode:"normal",i=z(t.filename)?t.filename:"message.intl";t.sourceMap;const a=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
12
- `,o=t.needIndent?t.needIndent:n!=="arrow",s=e.helpers||[],l=x1(e,{filename:i,breakLineCode:a,needIndent:o});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(o),s.length>0&&(l.push(`const { ${So(s.map(d=>`${d}: _${d}`),", ")} } = ctx`),l.newline()),l.push("return "),Lt(l,e),l.deindent(o),l.push("}"),delete e.helpers;const{code:u,map:c}=l.context();return{ast:e,code:u,map:c?c.toJSON():void 0}};function G1(e,t={}){const n=Le({},t),i=!!n.jit,a=!!n.minify,o=n.optimize==null?!0:n.optimize,l=R1(n).parse(e);return i?(o&&B1(l),a&&wt(l),{ast:l,code:""}):(P1(l,n),H1(l,n))}/*!
10
+ */function Gi(e,n,o){return{line:e,column:n,offset:o}}function dn(e,n,o){return{start:e,end:n}}const M={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},Wi=17,ji={[M.EXPECTED_TOKEN]:"Expected token: '{0}'",[M.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[M.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[M.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[M.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[M.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[M.EMPTY_PLACEHOLDER]:"Empty placeholder",[M.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[M.INVALID_LINKED_FORMAT]:"Invalid linked format",[M.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[M.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[M.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[M.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[M.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[M.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function nt(e,n,o={}){const{domain:l,messages:r,args:i}=o,a=process.env.NODE_ENV!=="production"?Bt((r||ji)[e]||"",...i||[]):e,s=new SyntaxError(String(a));return s.code=e,n&&(s.location=n),s.domain=l,s}function Ki(e){throw e}const Yi=/<\/?[\w\s="/.':;#-\/]+>/,qi=e=>Yi.test(e),Ve=" ",Xi="\r",ge=`
11
+ `,Zi="\u2028",Ji="\u2029";function Qi(e){const n=e;let o=0,l=1,r=1,i=0;const a=N=>n[N]===Xi&&n[N+1]===ge,s=N=>n[N]===ge,c=N=>n[N]===Ji,d=N=>n[N]===Zi,m=N=>a(N)||s(N)||c(N)||d(N),E=()=>o,h=()=>l,C=()=>r,V=()=>i,L=N=>a(N)||c(N)||d(N)?ge:n[N],O=()=>L(o),g=()=>L(o+i);function k(){return i=0,m(o)&&(l++,r=0),a(o)&&o++,o++,r++,n[o]}function S(){return a(o+i)&&i++,i++,n[o+i]}function p(){o=0,l=1,r=1,i=0}function b(N=0){i=N}function I(){const N=o+i;for(;N!==o;)k();i=0}return{index:E,line:h,column:C,peekOffset:V,charAt:L,currentChar:O,currentPeek:g,next:k,peek:S,reset:p,resetPeek:b,skipToPeek:I}}const Re=void 0,ea=".",eo="'",ta="tokenizer";function na(e,n={}){const o=n.location!==!1,l=Qi(e),r=()=>l.index(),i=()=>Gi(l.line(),l.column(),l.index()),a=i(),s=r(),c={currentType:13,offset:s,startLoc:a,endLoc:a,lastType:13,lastOffset:s,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},d=()=>c,{onError:m}=n;function E(u,f,v,...$){const te=d();if(f.column+=v,f.offset+=v,m){const ne=o?dn(te.startLoc,f):null,j=nt(u,ne,{domain:ta,args:$});m(j)}}function h(u,f,v){u.endLoc=i(),u.currentType=f;const $={type:f};return o&&($.loc=dn(u.startLoc,u.endLoc)),v!=null&&($.value=v),$}const C=u=>h(u,13);function V(u,f){return u.currentChar()===f?(u.next(),f):(E(M.EXPECTED_TOKEN,i(),0,f),"")}function L(u){let f="";for(;u.currentPeek()===Ve||u.currentPeek()===ge;)f+=u.currentPeek(),u.peek();return f}function O(u){const f=L(u);return u.skipToPeek(),f}function g(u){if(u===Re)return!1;const f=u.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f===95}function k(u){if(u===Re)return!1;const f=u.charCodeAt(0);return f>=48&&f<=57}function S(u,f){const{currentType:v}=f;if(v!==2)return!1;L(u);const $=g(u.currentPeek());return u.resetPeek(),$}function p(u,f){const{currentType:v}=f;if(v!==2)return!1;L(u);const $=u.currentPeek()==="-"?u.peek():u.currentPeek(),te=k($);return u.resetPeek(),te}function b(u,f){const{currentType:v}=f;if(v!==2)return!1;L(u);const $=u.currentPeek()===eo;return u.resetPeek(),$}function I(u,f){const{currentType:v}=f;if(v!==7)return!1;L(u);const $=u.currentPeek()===".";return u.resetPeek(),$}function N(u,f){const{currentType:v}=f;if(v!==8)return!1;L(u);const $=g(u.currentPeek());return u.resetPeek(),$}function x(u,f){const{currentType:v}=f;if(!(v===7||v===11))return!1;L(u);const $=u.currentPeek()===":";return u.resetPeek(),$}function H(u,f){const{currentType:v}=f;if(v!==9)return!1;const $=()=>{const ne=u.currentPeek();return ne==="{"?g(u.peek()):ne==="@"||ne==="|"||ne===":"||ne==="."||ne===Ve||!ne?!1:ne===ge?(u.peek(),$()):ce(u,!1)},te=$();return u.resetPeek(),te}function J(u){L(u);const f=u.currentPeek()==="|";return u.resetPeek(),f}function ce(u,f=!0){const v=(te=!1,ne="")=>{const j=u.currentPeek();return j==="{"||j==="@"||!j?te:j==="|"?!(ne===Ve||ne===ge):j===Ve?(u.peek(),v(!0,Ve)):j===ge?(u.peek(),v(!0,ge)):!0},$=v();return f&&u.resetPeek(),$}function F(u,f){const v=u.currentChar();return v===Re?Re:f(v)?(u.next(),v):null}function he(u){const f=u.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f>=48&&f<=57||f===95||f===36}function Ae(u){return F(u,he)}function P(u){const f=u.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f>=48&&f<=57||f===95||f===36||f===45}function A(u){return F(u,P)}function z(u){const f=u.charCodeAt(0);return f>=48&&f<=57}function R(u){return F(u,z)}function Ie(u){const f=u.charCodeAt(0);return f>=48&&f<=57||f>=65&&f<=70||f>=97&&f<=102}function me(u){return F(u,Ie)}function Ue(u){let f="",v="";for(;f=R(u);)v+=f;return v}function Wt(u){let f="";for(;;){const v=u.currentChar();if(v==="{"||v==="}"||v==="@"||v==="|"||!v)break;if(v===Ve||v===ge)if(ce(u))f+=v,u.next();else{if(J(u))break;f+=v,u.next()}else f+=v,u.next()}return f}function jt(u){O(u);let f="",v="";for(;f=A(u);)v+=f;return u.currentChar()===Re&&E(M.UNTERMINATED_CLOSING_BRACE,i(),0),v}function Kt(u){O(u);let f="";return u.currentChar()==="-"?(u.next(),f+=`-${Ue(u)}`):f+=Ue(u),u.currentChar()===Re&&E(M.UNTERMINATED_CLOSING_BRACE,i(),0),f}function Yt(u){return u!==eo&&u!==ge}function Hn(u){O(u),V(u,"'");let f="",v="";for(;f=F(u,Yt);)f==="\\"?v+=qt(u):v+=f;const $=u.currentChar();return $===ge||$===Re?(E(M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),$===ge&&(u.next(),V(u,"'")),v):(V(u,"'"),v)}function qt(u){const f=u.currentChar();switch(f){case"\\":case"'":return u.next(),`\\${f}`;case"u":return mt(u,f,4);case"U":return mt(u,f,6);default:return E(M.UNKNOWN_ESCAPE_SEQUENCE,i(),0,f),""}}function mt(u,f,v){V(u,f);let $="";for(let te=0;te<v;te++){const ne=me(u);if(!ne){E(M.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${f}${$}${u.currentChar()}`);break}$+=ne}return`\\${f}${$}`}function Xt(u){return u!=="{"&&u!=="}"&&u!==Ve&&u!==ge}function Zt(u){O(u);let f="",v="";for(;f=F(u,Xt);)v+=f;return v}function Jt(u){let f="",v="";for(;f=Ae(u);)v+=f;return v}function Qt(u){const f=v=>{const $=u.currentChar();return $==="{"||$==="@"||$==="|"||$==="("||$===")"||!$||$===Ve?v:(v+=$,u.next(),f(v))};return f("")}function lt(u){O(u);const f=V(u,"|");return O(u),f}function rt(u,f){let v=null;switch(u.currentChar()){case"{":return f.braceNest>=1&&E(M.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),u.next(),v=h(f,2,"{"),O(u),f.braceNest++,v;case"}":return f.braceNest>0&&f.currentType===2&&E(M.EMPTY_PLACEHOLDER,i(),0),u.next(),v=h(f,3,"}"),f.braceNest--,f.braceNest>0&&O(u),f.inLinked&&f.braceNest===0&&(f.inLinked=!1),v;case"@":return f.braceNest>0&&E(M.UNTERMINATED_CLOSING_BRACE,i(),0),v=He(u,f)||C(f),f.braceNest=0,v;default:{let te=!0,ne=!0,j=!0;if(J(u))return f.braceNest>0&&E(M.UNTERMINATED_CLOSING_BRACE,i(),0),v=h(f,1,lt(u)),f.braceNest=0,f.inLinked=!1,v;if(f.braceNest>0&&(f.currentType===4||f.currentType===5||f.currentType===6))return E(M.UNTERMINATED_CLOSING_BRACE,i(),0),f.braceNest=0,it(u,f);if(te=S(u,f))return v=h(f,4,jt(u)),O(u),v;if(ne=p(u,f))return v=h(f,5,Kt(u)),O(u),v;if(j=b(u,f))return v=h(f,6,Hn(u)),O(u),v;if(!te&&!ne&&!j)return v=h(f,12,Zt(u)),E(M.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,v.value),O(u),v;break}}return v}function He(u,f){const{currentType:v}=f;let $=null;const te=u.currentChar();switch((v===7||v===8||v===11||v===9)&&(te===ge||te===Ve)&&E(M.INVALID_LINKED_FORMAT,i(),0),te){case"@":return u.next(),$=h(f,7,"@"),f.inLinked=!0,$;case".":return O(u),u.next(),h(f,8,".");case":":return O(u),u.next(),h(f,9,":");default:return J(u)?($=h(f,1,lt(u)),f.braceNest=0,f.inLinked=!1,$):I(u,f)||x(u,f)?(O(u),He(u,f)):N(u,f)?(O(u),h(f,11,Jt(u))):H(u,f)?(O(u),te==="{"?rt(u,f)||$:h(f,10,Qt(u))):(v===7&&E(M.INVALID_LINKED_FORMAT,i(),0),f.braceNest=0,f.inLinked=!1,it(u,f))}}function it(u,f){let v={type:13};if(f.braceNest>0)return rt(u,f)||C(f);if(f.inLinked)return He(u,f)||C(f);switch(u.currentChar()){case"{":return rt(u,f)||C(f);case"}":return E(M.UNBALANCED_CLOSING_BRACE,i(),0),u.next(),h(f,3,"}");case"@":return He(u,f)||C(f);default:{if(J(u))return v=h(f,1,lt(u)),f.braceNest=0,f.inLinked=!1,v;if(ce(u))return h(f,0,Wt(u));break}}return v}function en(){const{currentType:u,offset:f,startLoc:v,endLoc:$}=c;return c.lastType=u,c.lastOffset=f,c.lastStartLoc=v,c.lastEndLoc=$,c.offset=r(),c.startLoc=i(),l.currentChar()===Re?h(c,13):it(l,c)}return{nextToken:en,currentOffset:r,currentPosition:i,context:d}}const oa="parser",la=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function ra(e,n,o){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const l=parseInt(n||o,16);return l<=55295||l>=57344?String.fromCodePoint(l):"�"}}}function ia(e={}){const n=e.location!==!1,{onError:o}=e;function l(g,k,S,p,...b){const I=g.currentPosition();if(I.offset+=p,I.column+=p,o){const N=n?dn(S,I):null,x=nt(k,N,{domain:oa,args:b});o(x)}}function r(g,k,S){const p={type:g};return n&&(p.start=k,p.end=k,p.loc={start:S,end:S}),p}function i(g,k,S,p){n&&(g.end=k,g.loc&&(g.loc.end=S))}function a(g,k){const S=g.context(),p=r(3,S.offset,S.startLoc);return p.value=k,i(p,g.currentOffset(),g.currentPosition()),p}function s(g,k){const S=g.context(),{lastOffset:p,lastStartLoc:b}=S,I=r(5,p,b);return I.index=parseInt(k,10),g.nextToken(),i(I,g.currentOffset(),g.currentPosition()),I}function c(g,k){const S=g.context(),{lastOffset:p,lastStartLoc:b}=S,I=r(4,p,b);return I.key=k,g.nextToken(),i(I,g.currentOffset(),g.currentPosition()),I}function d(g,k){const S=g.context(),{lastOffset:p,lastStartLoc:b}=S,I=r(9,p,b);return I.value=k.replace(la,ra),g.nextToken(),i(I,g.currentOffset(),g.currentPosition()),I}function m(g){const k=g.nextToken(),S=g.context(),{lastOffset:p,lastStartLoc:b}=S,I=r(8,p,b);return k.type!==11?(l(g,M.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),I.value="",i(I,p,b),{nextConsumeToken:k,node:I}):(k.value==null&&l(g,M.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Te(k)),I.value=k.value||"",i(I,g.currentOffset(),g.currentPosition()),{node:I})}function E(g,k){const S=g.context(),p=r(7,S.offset,S.startLoc);return p.value=k,i(p,g.currentOffset(),g.currentPosition()),p}function h(g){const k=g.context(),S=r(6,k.offset,k.startLoc);let p=g.nextToken();if(p.type===8){const b=m(g);S.modifier=b.node,p=b.nextConsumeToken||g.nextToken()}switch(p.type!==9&&l(g,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Te(p)),p=g.nextToken(),p.type===2&&(p=g.nextToken()),p.type){case 10:p.value==null&&l(g,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Te(p)),S.key=E(g,p.value||"");break;case 4:p.value==null&&l(g,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Te(p)),S.key=c(g,p.value||"");break;case 5:p.value==null&&l(g,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Te(p)),S.key=s(g,p.value||"");break;case 6:p.value==null&&l(g,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Te(p)),S.key=d(g,p.value||"");break;default:{l(g,M.UNEXPECTED_EMPTY_LINKED_KEY,k.lastStartLoc,0);const b=g.context(),I=r(7,b.offset,b.startLoc);return I.value="",i(I,b.offset,b.startLoc),S.key=I,i(S,b.offset,b.startLoc),{nextConsumeToken:p,node:S}}}return i(S,g.currentOffset(),g.currentPosition()),{node:S}}function C(g){const k=g.context(),S=k.currentType===1?g.currentOffset():k.offset,p=k.currentType===1?k.endLoc:k.startLoc,b=r(2,S,p);b.items=[];let I=null;do{const H=I||g.nextToken();switch(I=null,H.type){case 0:H.value==null&&l(g,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Te(H)),b.items.push(a(g,H.value||""));break;case 5:H.value==null&&l(g,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Te(H)),b.items.push(s(g,H.value||""));break;case 4:H.value==null&&l(g,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Te(H)),b.items.push(c(g,H.value||""));break;case 6:H.value==null&&l(g,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Te(H)),b.items.push(d(g,H.value||""));break;case 7:{const J=h(g);b.items.push(J.node),I=J.nextConsumeToken||null;break}}}while(k.currentType!==13&&k.currentType!==1);const N=k.currentType===1?k.lastOffset:g.currentOffset(),x=k.currentType===1?k.lastEndLoc:g.currentPosition();return i(b,N,x),b}function V(g,k,S,p){const b=g.context();let I=p.items.length===0;const N=r(1,k,S);N.cases=[],N.cases.push(p);do{const x=C(g);I||(I=x.items.length===0),N.cases.push(x)}while(b.currentType!==13);return I&&l(g,M.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),i(N,g.currentOffset(),g.currentPosition()),N}function L(g){const k=g.context(),{offset:S,startLoc:p}=k,b=C(g);return k.currentType===13?b:V(g,S,p,b)}function O(g){const k=na(g,de({},e)),S=k.context(),p=r(0,S.offset,S.startLoc);return n&&p.loc&&(p.loc.source=g),p.body=L(k),e.onCacheKey&&(p.cacheKey=e.onCacheKey(g)),S.currentType!==13&&l(k,M.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,g[S.offset]||""),i(p,k.currentOffset(),k.currentPosition()),p}return{parse:O}}function Te(e){if(e.type===13)return"EOF";const n=(e.value||"").replace(/\r?\n/gu,"\\n");return n.length>10?n.slice(0,9)+"…":n}function aa(e,n={}){const o={ast:e,helpers:new Set};return{context:()=>o,helper:i=>(o.helpers.add(i),i)}}function to(e,n){for(let o=0;o<e.length;o++)An(e[o],n)}function An(e,n){switch(e.type){case 1:to(e.cases,n),n.helper("plural");break;case 2:to(e.items,n);break;case 6:{An(e.key,n),n.helper("linked"),n.helper("type");break}case 5:n.helper("interpolate"),n.helper("list");break;case 4:n.helper("interpolate"),n.helper("named");break}}function sa(e,n={}){const o=aa(e);o.helper("normalize"),e.body&&An(e.body,o);const l=o.context();e.helpers=Array.from(l.helpers)}function ca(e){const n=e.body;return n.type===2?no(n):n.cases.forEach(o=>no(o)),e}function no(e){if(e.items.length===1){const n=e.items[0];(n.type===3||n.type===9)&&(e.static=n.value,delete n.value)}else{const n=[];for(let o=0;o<e.items.length;o++){const l=e.items[o];if(!(l.type===3||l.type===9)||l.value==null)break;n.push(l.value)}if(n.length===e.items.length){e.static=wn(n);for(let o=0;o<e.items.length;o++){const l=e.items[o];(l.type===3||l.type===9)&&delete l.value}}}}const ua="minifier";function Qe(e){switch(e.t=e.type,e.type){case 0:{const n=e;Qe(n.body),n.b=n.body,delete n.body;break}case 1:{const n=e,o=n.cases;for(let l=0;l<o.length;l++)Qe(o[l]);n.c=o,delete n.cases;break}case 2:{const n=e,o=n.items;for(let l=0;l<o.length;l++)Qe(o[l]);n.i=o,delete n.items,n.static&&(n.s=n.static,delete n.static);break}case 3:case 9:case 8:case 7:{const n=e;n.value&&(n.v=n.value,delete n.value);break}case 6:{const n=e;Qe(n.key),n.k=n.key,delete n.key,n.modifier&&(Qe(n.modifier),n.m=n.modifier,delete n.modifier);break}case 5:{const n=e;n.i=n.index,delete n.index;break}case 4:{const n=e;n.k=n.key,delete n.key;break}default:if(process.env.NODE_ENV!=="production")throw nt(M.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:ua,args:[e.type]})}delete e.type}const da="parser";function fa(e,n){const{filename:o,breakLineCode:l,needIndent:r}=n,i=n.location!==!1,a={filename:o,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:l,needIndent:r,indentLevel:0};i&&e.loc&&(a.source=e.loc.source);const s=()=>a;function c(L,O){a.code+=L}function d(L,O=!0){const g=O?l:"";c(r?g+" ".repeat(L):g)}function m(L=!0){const O=++a.indentLevel;L&&d(O)}function E(L=!0){const O=--a.indentLevel;L&&d(O)}function h(){d(a.indentLevel)}return{context:s,push:c,indent:m,deindent:E,newline:h,helper:L=>`_${L}`,needIndent:()=>a.needIndent}}function ma(e,n){const{helper:o}=e;e.push(`${o("linked")}(`),tt(e,n.key),n.modifier?(e.push(", "),tt(e,n.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function pa(e,n){const{helper:o,needIndent:l}=e;e.push(`${o("normalize")}([`),e.indent(l());const r=n.items.length;for(let i=0;i<r&&(tt(e,n.items[i]),i!==r-1);i++)e.push(", ");e.deindent(l()),e.push("])")}function ga(e,n){const{helper:o,needIndent:l}=e;if(n.cases.length>1){e.push(`${o("plural")}([`),e.indent(l());const r=n.cases.length;for(let i=0;i<r&&(tt(e,n.cases[i]),i!==r-1);i++)e.push(", ");e.deindent(l()),e.push("])")}}function ha(e,n){n.body?tt(e,n.body):e.push("null")}function tt(e,n){const{helper:o}=e;switch(n.type){case 0:ha(e,n);break;case 1:ga(e,n);break;case 2:pa(e,n);break;case 6:ma(e,n);break;case 8:e.push(JSON.stringify(n.value),n);break;case 7:e.push(JSON.stringify(n.value),n);break;case 5:e.push(`${o("interpolate")}(${o("list")}(${n.index}))`,n);break;case 4:e.push(`${o("interpolate")}(${o("named")}(${JSON.stringify(n.key)}))`,n);break;case 9:e.push(JSON.stringify(n.value),n);break;case 3:e.push(JSON.stringify(n.value),n);break;default:if(process.env.NODE_ENV!=="production")throw nt(M.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:da,args:[n.type]})}}const Ea=(e,n={})=>{const o=D(n.mode)?n.mode:"normal",l=D(n.filename)?n.filename:"message.intl";n.sourceMap;const r=n.breakLineCode!=null?n.breakLineCode:o==="arrow"?";":`
12
+ `,i=n.needIndent?n.needIndent:o!=="arrow",a=e.helpers||[],s=fa(e,{filename:l,breakLineCode:r,needIndent:i});s.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(i),a.length>0&&(s.push(`const { ${wn(a.map(m=>`${m}: _${m}`),", ")} } = ctx`),s.newline()),s.push("return "),tt(s,e),s.deindent(i),s.push("}"),delete e.helpers;const{code:c,map:d}=s.context();return{ast:e,code:c,map:d?d.toJSON():void 0}};function ka(e,n={}){const o=de({},n),l=!!o.jit,r=!!o.minify,i=o.optimize==null?!0:o.optimize,s=ia(o).parse(e);return l?(i&&ca(s),r&&Qe(s),{ast:s,code:""}):(sa(s,o),Ea(s,o))}/*!
13
13
  * core-base v11.1.3
14
14
  * (c) 2025 kazuya kawaguchi
15
15
  * Released under the MIT License.
16
- */function z1(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(gt().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(gt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function We(e){return oe(e)&&To(e)===0&&(ze(e,"b")||ze(e,"body"))}const xd=["b","body"];function W1(e){return ct(e,xd)}const $d=["c","cases"];function j1(e){return ct(e,$d,[])}const qd=["s","static"];function K1(e){return ct(e,qd)}const Fd=["i","items"];function Y1(e){return ct(e,Fd,[])}const Ud=["t","type"];function To(e){return ct(e,Ud)}const Hd=["v","value"];function Ht(e,t){const n=ct(e,Hd);if(n!=null)return n;throw Dt(t)}const Gd=["m","modifier"];function X1(e){return ct(e,Gd)}const zd=["k","key"];function Z1(e){const t=ct(e,zd);if(t)return t;throw Dt(6)}function ct(e,t,n){for(let i=0;i<t.length;i++){const a=t[i];if(ze(e,a)&&e[a]!=null)return e[a]}return n}const Wd=[...xd,...$d,...qd,...Fd,...zd,...Gd,...Hd,...Ud];function Dt(e){return new Error(`unhandled node type: ${e}`)}function Wa(e){return n=>J1(n,e)}function J1(e,t){const n=W1(t);if(n==null)throw Dt(0);if(To(n)===1){const o=j1(n);return e.plural(o.reduce((s,l)=>[...s,bc(e,l)],[]))}else return bc(e,n)}function bc(e,t){const n=K1(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const i=Y1(t).reduce((a,o)=>[...a,eo(e,o)],[]);return e.normalize(i)}}function eo(e,t){const n=To(t);switch(n){case 3:return Ht(t,n);case 9:return Ht(t,n);case 4:{const i=t;if(ze(i,"k")&&i.k)return e.interpolate(e.named(i.k));if(ze(i,"key")&&i.key)return e.interpolate(e.named(i.key));throw Dt(n)}case 5:{const i=t;if(ze(i,"i")&&Se(i.i))return e.interpolate(e.list(i.i));if(ze(i,"index")&&Se(i.index))return e.interpolate(e.list(i.index));throw Dt(n)}case 6:{const i=t,a=X1(i),o=Z1(i);return e.linked(eo(e,o),a?eo(e,a):void 0,e.type)}case 7:return Ht(t,n);case 8:return Ht(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Q1="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function ev(e,t){t&&b1(e)&&ut(mn(Q1,{source:e}))}const tv=e=>e;let Gt=ue();function nv(e,t={}){let n=!1;const i=t.onError||E1;return t.onError=a=>{n=!0,i(a)},{...G1(e,t),detectError:n}}function rv(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&z(e)){const n=ye(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&ev(e,n);const a=(t.onCacheKey||tv)(e),o=Gt[a];if(o)return o;const{ast:s,detectError:l}=nv(e,{...t,location:process.env.NODE_ENV!=="production",jit:!0}),u=Wa(s);return l?u:Gt[a]=u}else{if(process.env.NODE_ENV!=="production"&&!We(e))return ut(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const i=Gt[n];return i||(Gt[n]=Wa(e))}else return Wa(e)}}let Pt=null;function iv(e){Pt=e}function av(e,t,n){Pt&&Pt.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const ov=sv("function:translate");function sv(e){return t=>Pt&&Pt.emit(e,t)}const Ae={INVALID_ARGUMENT:v1,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},lv=24;function Je(e){return It(e,null,process.env.NODE_ENV!=="production"?{messages:uv}:void 0)}const uv={[Ae.INVALID_ARGUMENT]:"Invalid arguments",[Ae.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[Ae.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[Ae.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[Ae.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[Ae.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[Ae.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Io(e,t){return t.locale!=null?kc(t.locale):kc(e.locale)}let ja;function kc(e){if(z(e))return e;if(fe(e)){if(e.resolvedOnce&&ja!=null)return ja;if(e.constructor.name==="Function"){const t=e();if(d1(t))throw Je(Ae.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ja=t}else throw Je(Ae.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Je(Ae.NOT_SUPPORT_LOCALE_TYPE)}function cv(e,t,n){return[...new Set([n,...Ne(t)?t:oe(t)?Object.keys(t):z(t)?[t]:[n]])]}function jd(e,t,n){const i=z(n)?n:en,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let o=a.__localeChainCache.get(i);if(!o){o=[];let s=[n];for(;Ne(s);)s=Cc(o,s,t);const l=Ne(t)||!ae(t)?t:t.default?t.default:null;s=z(l)?[l]:l,Ne(s)&&Cc(o,s,!1),a.__localeChainCache.set(i,o)}return o}function Cc(e,t,n){let i=!0;for(let a=0;a<t.length&&ye(i);a++){const o=t[a];z(o)&&(i=dv(e,t[a],n))}return i}function dv(e,t,n){let i;const a=t.split("-");do{const o=a.join("-");i=fv(e,o,n),a.splice(-1,1)}while(a.length&&i===!0);return i}function fv(e,t,n){let i=!1;if(!e.includes(t)&&(i=!0,t)){i=t[t.length-1]!=="!";const a=t.replace(/!/g,"");e.push(a),(Ne(n)||ae(n))&&n[a]&&(i=n[a])}return i}const dt=[];dt[0]={w:[0],i:[3,0],"[":[4],o:[7]};dt[1]={w:[1],".":[2],"[":[4],o:[7]};dt[2]={w:[2],i:[3,0],0:[3,0]};dt[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};dt[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};dt[5]={"'":[4,0],o:8,l:[5,0]};dt[6]={'"':[4,0],o:8,l:[6,0]};const hv=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function mv(e){return hv.test(e)}function pv(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function gv(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function vv(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:mv(t)?pv(t):"*"+t}function _v(e){const t=[];let n=-1,i=0,a=0,o,s,l,u,c,d,f;const h=[];h[0]=()=>{s===void 0?s=l:s+=l},h[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},h[2]=()=>{h[0](),a++},h[3]=()=>{if(a>0)a--,i=4,h[0]();else{if(a=0,s===void 0||(s=vv(s),s===!1))return!1;h[1]()}};function m(){const C=e[n+1];if(i===5&&C==="'"||i===6&&C==='"')return n++,l="\\"+C,h[0](),!0}for(;i!==null;)if(n++,o=e[n],!(o==="\\"&&m())){if(u=gv(o),f=dt[i],c=f[u]||f.l||8,c===8||(i=c[0],c[1]!==void 0&&(d=h[c[1]],d&&(l=o,d()===!1))))return;if(i===7)return t}}const Nc=new Map;function Ev(e,t){return oe(e)?e[t]:null}function yv(e,t){if(!oe(e))return null;let n=Nc.get(t);if(n||(n=_v(t),n&&Nc.set(t,n)),!n)return null;const i=n.length;let a=e,o=0;for(;o<i;){const s=n[o];if(Wd.includes(s)&&We(a))return null;const l=a[s];if(l===void 0||fe(a))return null;a=l,o++}return a}const De={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},bv=8,kv={[De.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[De.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[De.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[De.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[De.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[De.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[De.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 _t(e,...t){return mn(kv[e],...t)}const Cv="11.1.3",gn=-1,en="en-US",tn="",wc=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Nv(){return{upper:(e,t)=>t==="text"&&z(e)?e.toUpperCase():t==="vnode"&&oe(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&z(e)?e.toLowerCase():t==="vnode"&&oe(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&z(e)?wc(e):t==="vnode"&&oe(e)&&"__v_isVNode"in e?wc(e.children):e}}let Kd;function wv(e){Kd=e}let Yd;function Sv(e){Yd=e}let Xd;function Lv(e){Xd=e}let Zd=null;const Tv=e=>{Zd=e},Iv=()=>Zd;let Jd=null;const Sc=e=>{Jd=e},Av=()=>Jd;let Lc=0;function Ov(e={}){const t=fe(e.onWarn)?e.onWarn:ut,n=z(e.version)?e.version:Cv,i=z(e.locale)||fe(e.locale)?e.locale:en,a=fe(i)?en:i,o=Ne(e.fallbackLocale)||ae(e.fallbackLocale)||z(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,s=ae(e.messages)?e.messages:Ka(a),l=ae(e.datetimeFormats)?e.datetimeFormats:Ka(a),u=ae(e.numberFormats)?e.numberFormats:Ka(a),c=Le(ue(),e.modifiers,Nv()),d=e.pluralRules||ue(),f=fe(e.missing)?e.missing:null,h=ye(e.missingWarn)||Qt(e.missingWarn)?e.missingWarn:!0,m=ye(e.fallbackWarn)||Qt(e.fallbackWarn)?e.fallbackWarn:!0,C=!!e.fallbackFormat,E=!!e.unresolving,_=fe(e.postTranslation)?e.postTranslation:null,p=ae(e.processor)?e.processor:null,v=ye(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,g=fe(e.messageCompiler)?e.messageCompiler:Kd;process.env.NODE_ENV!=="production"&&fe(e.messageCompiler)&&m1(_t(De.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const k=fe(e.messageResolver)?e.messageResolver:Yd||Ev,N=fe(e.localeFallbacker)?e.localeFallbacker:Xd||cv,b=oe(e.fallbackContext)?e.fallbackContext:void 0,T=e,O=oe(T.__datetimeFormatters)?T.__datetimeFormatters:new Map,R=oe(T.__numberFormatters)?T.__numberFormatters:new Map,U=oe(T.__meta)?T.__meta:{};Lc++;const V={version:n,cid:Lc,locale:i,fallbackLocale:o,messages:s,modifiers:c,pluralRules:d,missing:f,missingWarn:h,fallbackWarn:m,fallbackFormat:C,unresolving:E,postTranslation:_,processor:p,warnHtmlMessage:v,escapeParameter:y,messageCompiler:g,messageResolver:k,localeFallbacker:N,fallbackContext:b,onWarn:t,__meta:U};return V.datetimeFormats=l,V.numberFormats=u,V.__datetimeFormatters=O,V.__numberFormatters=R,process.env.NODE_ENV!=="production"&&(V.__v_emitter=T.__v_emitter!=null?T.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&av(V,n,U),V}const Ka=e=>({[e]:ue()});function vn(e,t){return e instanceof RegExp?e.test(t):e}function Qd(e,t){return e instanceof RegExp?e.test(t):e}function Ao(e,t,n,i,a){const{missing:o,onWarn:s}=e;if(process.env.NODE_ENV!=="production"){const l=e.__v_emitter;l&&l.emit("missing",{locale:n,key:t,type:a,groupId:`${a}:${t}`})}if(o!==null){const l=o(e,n,t,a);return z(l)?l:t}else return process.env.NODE_ENV!=="production"&&Qd(i,t)&&s(_t(De.NOT_FOUND_KEY,{key:t,locale:n})),t}function Ot(e,t,n){const i=e;i.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function ef(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Rv(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let i=n+1;i<t.length;i++)if(ef(e,t[i]))return!0;return!1}const Tc=typeof Intl<"u",tf={dateTimeFormat:Tc&&typeof Intl.DateTimeFormat<"u",numberFormat:Tc&&typeof Intl.NumberFormat<"u"};function Ic(e,...t){const{datetimeFormats:n,unresolving:i,fallbackLocale:a,onWarn:o,localeFallbacker:s}=e,{__datetimeFormatters:l}=e;if(process.env.NODE_ENV!=="production"&&!tf.dateTimeFormat)return o(_t(De.CANNOT_FORMAT_DATE)),tn;const[u,c,d,f]=to(...t),h=ye(d.missingWarn)?d.missingWarn:e.missingWarn,m=ye(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,C=!!d.part,E=Io(e,d),_=s(e,a,E);if(!z(u)||u==="")return new Intl.DateTimeFormat(E,f).format(c);let p={},v,y=null,g=E,k=null;const N="datetime format";for(let O=0;O<_.length;O++){if(v=k=_[O],process.env.NODE_ENV!=="production"&&E!==v&&vn(m,u)&&o(_t(De.FALLBACK_TO_DATE_FORMAT,{key:u,target:v})),process.env.NODE_ENV!=="production"&&E!==v){const R=e.__v_emitter;R&&R.emit("fallback",{type:N,key:u,from:g,to:k,groupId:`${N}:${u}`})}if(p=n[v]||{},y=p[u],ae(y))break;Ao(e,u,v,h,N),g=k}if(!ae(y)||!z(v))return i?gn:u;let b=`${v}__${u}`;pn(f)||(b=`${b}__${JSON.stringify(f)}`);let T=l.get(b);return T||(T=new Intl.DateTimeFormat(v,Le({},y,f)),l.set(b,T)),C?T.formatToParts(c):T.format(c)}const nf=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function to(...e){const[t,n,i,a]=e,o=ue();let s=ue(),l;if(z(t)){const u=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!u)throw Je(Ae.INVALID_ISO_DATE_ARGUMENT);const c=u[3]?u[3].trim().startsWith("T")?`${u[1].trim()}${u[3].trim()}`:`${u[1].trim()}T${u[3].trim()}`:u[1].trim();l=new Date(c);try{l.toISOString()}catch{throw Je(Ae.INVALID_ISO_DATE_ARGUMENT)}}else if(l1(t)){if(isNaN(t.getTime()))throw Je(Ae.INVALID_DATE_ARGUMENT);l=t}else if(Se(t))l=t;else throw Je(Ae.INVALID_ARGUMENT);return z(n)?o.key=n:ae(n)&&Object.keys(n).forEach(u=>{nf.includes(u)?s[u]=n[u]:o[u]=n[u]}),z(i)?o.locale=i:ae(i)&&(s=i),ae(a)&&(s=a),[o.key||"",l,o,s]}function Ac(e,t,n){const i=e;for(const a in n){const o=`${t}__${a}`;i.__datetimeFormatters.has(o)&&i.__datetimeFormatters.delete(o)}}function Oc(e,...t){const{numberFormats:n,unresolving:i,fallbackLocale:a,onWarn:o,localeFallbacker:s}=e,{__numberFormatters:l}=e;if(process.env.NODE_ENV!=="production"&&!tf.numberFormat)return o(_t(De.CANNOT_FORMAT_NUMBER)),tn;const[u,c,d,f]=no(...t),h=ye(d.missingWarn)?d.missingWarn:e.missingWarn,m=ye(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,C=!!d.part,E=Io(e,d),_=s(e,a,E);if(!z(u)||u==="")return new Intl.NumberFormat(E,f).format(c);let p={},v,y=null,g=E,k=null;const N="number format";for(let O=0;O<_.length;O++){if(v=k=_[O],process.env.NODE_ENV!=="production"&&E!==v&&vn(m,u)&&o(_t(De.FALLBACK_TO_NUMBER_FORMAT,{key:u,target:v})),process.env.NODE_ENV!=="production"&&E!==v){const R=e.__v_emitter;R&&R.emit("fallback",{type:N,key:u,from:g,to:k,groupId:`${N}:${u}`})}if(p=n[v]||{},y=p[u],ae(y))break;Ao(e,u,v,h,N),g=k}if(!ae(y)||!z(v))return i?gn:u;let b=`${v}__${u}`;pn(f)||(b=`${b}__${JSON.stringify(f)}`);let T=l.get(b);return T||(T=new Intl.NumberFormat(v,Le({},y,f)),l.set(b,T)),C?T.formatToParts(c):T.format(c)}const rf=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function no(...e){const[t,n,i,a]=e,o=ue();let s=ue();if(!Se(t))throw Je(Ae.INVALID_ARGUMENT);const l=t;return z(n)?o.key=n:ae(n)&&Object.keys(n).forEach(u=>{rf.includes(u)?s[u]=n[u]:o[u]=n[u]}),z(i)?o.locale=i:ae(i)&&(s=i),ae(a)&&(s=a),[o.key||"",l,o,s]}function Rc(e,t,n){const i=e;for(const a in n){const o=`${t}__${a}`;i.__numberFormatters.has(o)&&i.__numberFormatters.delete(o)}}const Dv=e=>e,Pv=e=>"",Bv="text",Vv=e=>e.length===0?"":So(e),Mv=f1;function Dc(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function xv(e){const t=Se(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Se(e.named.count)||Se(e.named.n))?Se(e.named.count)?e.named.count:Se(e.named.n)?e.named.n:t:t}function $v(e,t){t.count||(t.count=e),t.n||(t.n=e)}function qv(e={}){const t=e.locale,n=xv(e),i=oe(e.pluralRules)&&z(t)&&fe(e.pluralRules[t])?e.pluralRules[t]:Dc,a=oe(e.pluralRules)&&z(t)&&fe(e.pluralRules[t])?Dc:void 0,o=p=>p[i(n,p.length,a)],s=e.list||[],l=p=>s[p],u=e.named||ue();Se(e.pluralIndex)&&$v(n,u);const c=p=>u[p];function d(p,v){const y=fe(e.messages)?e.messages(p,!!v):oe(e.messages)?e.messages[p]:!1;return y||(e.parent?e.parent.message(p):Pv)}const f=p=>e.modifiers?e.modifiers[p]:Dv,h=ae(e.processor)&&fe(e.processor.normalize)?e.processor.normalize:Vv,m=ae(e.processor)&&fe(e.processor.interpolate)?e.processor.interpolate:Mv,C=ae(e.processor)&&z(e.processor.type)?e.processor.type:Bv,_={list:l,named:c,plural:o,linked:(p,...v)=>{const[y,g]=v;let k="text",N="";v.length===1?oe(y)?(N=y.modifier||N,k=y.type||k):z(y)&&(N=y||N):v.length===2&&(z(y)&&(N=y||N),z(g)&&(k=g||k));const b=d(p,!0)(_),T=k==="vnode"&&Ne(b)&&N?b[0]:b;return N?f(N)(T,k):T},message:d,type:C,interpolate:m,normalize:h,values:Le(ue(),s,u)};return _}const Pc=()=>"",He=e=>fe(e);function Bc(e,...t){const{fallbackFormat:n,postTranslation:i,unresolving:a,messageCompiler:o,fallbackLocale:s,messages:l}=e,[u,c]=ro(...t),d=ye(c.missingWarn)?c.missingWarn:e.missingWarn,f=ye(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,h=ye(c.escapeParameter)?c.escapeParameter:e.escapeParameter,m=!!c.resolvedMessage,C=z(c.default)||ye(c.default)?ye(c.default)?o?u:()=>u:c.default:n?o?u:()=>u:null,E=n||C!=null&&(z(C)||fe(C)),_=Io(e,c);h&&Fv(c);let[p,v,y]=m?[u,_,l[_]||ue()]:af(e,u,_,s,f,d),g=p,k=u;if(!m&&!(z(g)||We(g)||He(g))&&E&&(g=C,k=g),!m&&(!(z(g)||We(g)||He(g))||!z(v)))return a?gn:u;if(process.env.NODE_ENV!=="production"&&z(g)&&e.messageCompiler==null)return ut(`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 '${u}'.`),u;let N=!1;const b=()=>{N=!0},T=He(g)?g:of(e,u,v,g,k,b);if(N)return g;const O=zv(e,v,y,c),R=qv(O),U=Uv(e,T,R),V=i?i(U,u):U;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const W={timestamp:Date.now(),key:z(u)?u:He(g)?g.key:"",locale:v||(He(g)?g.locale:""),format:z(g)?g:He(g)?g.source:"",message:V};W.meta=Le({},e.__meta,Iv()||{}),ov(W)}return V}function Fv(e){Ne(e.list)?e.list=e.list.map(t=>z(t)?pc(t):t):oe(e.named)&&Object.keys(e.named).forEach(t=>{z(e.named[t])&&(e.named[t]=pc(e.named[t]))})}function af(e,t,n,i,a,o){const{messages:s,onWarn:l,messageResolver:u,localeFallbacker:c}=e,d=c(e,i,n);let f=ue(),h,m=null,C=n,E=null;const _="translate";for(let p=0;p<d.length;p++){if(h=E=d[p],process.env.NODE_ENV!=="production"&&n!==h&&!ef(n,h)&&vn(a,t)&&l(_t(De.FALLBACK_TO_TRANSLATE,{key:t,target:h})),process.env.NODE_ENV!=="production"&&n!==h){const k=e.__v_emitter;k&&k.emit("fallback",{type:_,key:t,from:C,to:E,groupId:`${_}:${t}`})}f=s[h]||ue();let v=null,y,g;if(process.env.NODE_ENV!=="production"&&tt&&(v=window.performance.now(),y="intlify-message-resolve-start",g="intlify-message-resolve-end",Ue&&Ue(y)),(m=u(f,t))===null&&(m=f[t]),process.env.NODE_ENV!=="production"&&tt){const k=window.performance.now(),N=e.__v_emitter;N&&v&&m&&N.emit("message-resolve",{type:"message-resolve",key:t,message:m,time:k-v,groupId:`${_}:${t}`}),y&&g&&Ue&&vt&&(Ue(g),vt("intlify message resolve",y,g))}if(z(m)||We(m)||He(m))break;if(!Rv(h,d)){const k=Ao(e,t,h,o,_);k!==t&&(m=k)}C=E}return[m,h,f]}function of(e,t,n,i,a,o){const{messageCompiler:s,warnHtmlMessage:l}=e;if(He(i)){const h=i;return h.locale=h.locale||n,h.key=h.key||t,h}if(s==null){const h=()=>i;return h.locale=n,h.key=t,h}let u=null,c,d;process.env.NODE_ENV!=="production"&&tt&&(u=window.performance.now(),c="intlify-message-compilation-start",d="intlify-message-compilation-end",Ue&&Ue(c));const f=s(i,Hv(e,n,a,i,l,o));if(process.env.NODE_ENV!=="production"&&tt){const h=window.performance.now(),m=e.__v_emitter;m&&u&&m.emit("message-compilation",{type:"message-compilation",message:i,time:h-u,groupId:`translate:${t}`}),c&&d&&Ue&&vt&&(Ue(d),vt("intlify message compilation",c,d))}return f.locale=n,f.key=t,f.source=i,f}function Uv(e,t,n){let i=null,a,o;process.env.NODE_ENV!=="production"&&tt&&(i=window.performance.now(),a="intlify-message-evaluation-start",o="intlify-message-evaluation-end",Ue&&Ue(a));const s=t(n);if(process.env.NODE_ENV!=="production"&&tt){const l=window.performance.now(),u=e.__v_emitter;u&&i&&u.emit("message-evaluation",{type:"message-evaluation",value:s,time:l-i,groupId:`translate:${t.key}`}),a&&o&&Ue&&vt&&(Ue(o),vt("intlify message evaluation",a,o))}return s}function ro(...e){const[t,n,i]=e,a=ue();if(!z(t)&&!Se(t)&&!He(t)&&!We(t))throw Je(Ae.INVALID_ARGUMENT);const o=Se(t)?String(t):(He(t),t);return Se(n)?a.plural=n:z(n)?a.default=n:ae(n)&&!pn(n)?a.named=n:Ne(n)&&(a.list=n),Se(i)?a.plural=i:z(i)?a.default=i:ae(i)&&Le(a,i),[o,a]}function Hv(e,t,n,i,a,o){return{locale:t,key:n,warnHtmlMessage:a,onError:s=>{if(o&&o(s),process.env.NODE_ENV!=="production"){const l=Gv(i),u=`Message compilation error: ${s.message}`,c=s.location&&l&&h1(l,s.location.start.offset,s.location.end.offset),d=e.__v_emitter;d&&l&&d.emit("compile-error",{message:l,error:s.message,start:s.location&&s.location.start.offset,end:s.location&&s.location.end.offset,groupId:`translate:${n}`}),console.error(c?`${u}
17
- ${c}`:u)}else throw s},onCacheKey:s=>o1(t,n,s)}}function Gv(e){if(z(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function zv(e,t,n,i){const{modifiers:a,pluralRules:o,messageResolver:s,fallbackLocale:l,fallbackWarn:u,missingWarn:c,fallbackContext:d}=e,h={locale:t,modifiers:a,pluralRules:o,messages:(m,C)=>{let E=s(n,m);if(E==null&&(d||C)){const[,,_]=af(d||e,m,t,l,u,c);E=s(_,m)}if(z(E)||We(E)){let _=!1;const v=of(e,m,t,E,m,()=>{_=!0});return _?Pc:v}else return He(E)?E:Pc}};return e.processor&&(h.processor=e.processor),i.list&&(h.list=i.list),i.named&&(h.named=i.named),Se(i.plural)&&(h.pluralIndex=i.plural),h}z1();/*!
16
+ */function _a(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ke().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ke().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function Le(e){return Y(e)&&In(e)===0&&(be(e,"b")||be(e,"body"))}const xo=["b","body"];function ya(e){return xe(e,xo)}const Fo=["c","cases"];function Ca(e){return xe(e,Fo,[])}const Uo=["s","static"];function Na(e){return xe(e,Uo)}const Ho=["i","items"];function va(e){return xe(e,Ho,[])}const zo=["t","type"];function In(e){return xe(e,zo)}const Go=["v","value"];function kt(e,n){const o=xe(e,Go);if(o!=null)return o;throw st(n)}const Wo=["m","modifier"];function Sa(e){return xe(e,Wo)}const jo=["k","key"];function ba(e){const n=xe(e,jo);if(n)return n;throw st(6)}function xe(e,n,o){for(let l=0;l<n.length;l++){const r=n[l];if(be(e,r)&&e[r]!=null)return e[r]}return o}const Ko=[...xo,...Fo,...Uo,...Ho,...jo,...Wo,...Go,...zo];function st(e){return new Error(`unhandled node type: ${e}`)}function on(e){return o=>La(o,e)}function La(e,n){const o=ya(n);if(o==null)throw st(0);if(In(o)===1){const i=Ca(o);return e.plural(i.reduce((a,s)=>[...a,oo(e,s)],[]))}else return oo(e,o)}function oo(e,n){const o=Na(n);if(o!=null)return e.type==="text"?o:e.normalize([o]);{const l=va(n).reduce((r,i)=>[...r,fn(e,i)],[]);return e.normalize(l)}}function fn(e,n){const o=In(n);switch(o){case 3:return kt(n,o);case 9:return kt(n,o);case 4:{const l=n;if(be(l,"k")&&l.k)return e.interpolate(e.named(l.k));if(be(l,"key")&&l.key)return e.interpolate(e.named(l.key));throw st(o)}case 5:{const l=n;if(be(l,"i")&&ue(l.i))return e.interpolate(e.list(l.i));if(be(l,"index")&&ue(l.index))return e.interpolate(e.list(l.index));throw st(o)}case 6:{const l=n,r=Sa(l),i=ba(l);return e.linked(fn(e,i),r?fn(e,r):void 0,e.type)}case 7:return kt(n,o);case 8:return kt(n,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const Ta="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function wa(e,n){n&&qi(e)&&Me(Bt(Ta,{source:e}))}const Aa=e=>e;let _t=Z();function Ia(e,n={}){let o=!1;const l=n.onError||Ki;return n.onError=r=>{o=!0,l(r)},{...ka(e,n),detectError:o}}function Va(e,n){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&D(e)){const o=le(n.warnHtmlMessage)?n.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&wa(e,o);const r=(n.onCacheKey||Aa)(e),i=_t[r];if(i)return i;const{ast:a,detectError:s}=Ia(e,{...n,location:process.env.NODE_ENV!=="production",jit:!0}),c=on(a);return s?c:_t[r]=c}else{if(process.env.NODE_ENV!=="production"&&!Le(e))return Me(`the message that is resolve with key '${n.key}' is not supported for jit compilation`),()=>e;const o=e.cacheKey;if(o){const l=_t[o];return l||(_t[o]=on(e))}else return on(e)}}let ct=null;function Oa(e){ct=e}function Da(e,n,o){ct&&ct.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:n,meta:o})}const Ba=Pa("function:translate");function Pa(e){return n=>ct&&ct.emit(e,n)}const pe={INVALID_ARGUMENT:Wi,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},Ra=24;function Oe(e){return nt(e,null,process.env.NODE_ENV!=="production"?{messages:$a}:void 0)}const $a={[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 Vn(e,n){return n.locale!=null?lo(n.locale):lo(e.locale)}let ln;function lo(e){if(D(e))return e;if(ee(e)){if(e.resolvedOnce&&ln!=null)return ln;if(e.constructor.name==="Function"){const n=e();if(xi(n))throw Oe(pe.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ln=n}else throw Oe(pe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Oe(pe.NOT_SUPPORT_LOCALE_TYPE)}function Ma(e,n,o){return[...new Set([o,...se(n)?n:Y(n)?Object.keys(n):D(n)?[n]:[o]])]}function Yo(e,n,o){const l=D(o)?o:Tt,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let i=r.__localeChainCache.get(l);if(!i){i=[];let a=[o];for(;se(a);)a=ro(i,a,n);const s=se(n)||!K(n)?n:n.default?n.default:null;a=D(s)?[s]:s,se(a)&&ro(i,a,!1),r.__localeChainCache.set(l,i)}return i}function ro(e,n,o){let l=!0;for(let r=0;r<n.length&&le(l);r++){const i=n[r];D(i)&&(l=xa(e,n[r],o))}return l}function xa(e,n,o){let l;const r=n.split("-");do{const i=r.join("-");l=Fa(e,i,o),r.splice(-1,1)}while(r.length&&l===!0);return l}function Fa(e,n,o){let l=!1;if(!e.includes(n)&&(l=!0,n)){l=n[n.length-1]!=="!";const r=n.replace(/!/g,"");e.push(r),(se(o)||K(o))&&o[r]&&(l=o[r])}return l}const Fe=[];Fe[0]={w:[0],i:[3,0],"[":[4],o:[7]};Fe[1]={w:[1],".":[2],"[":[4],o:[7]};Fe[2]={w:[2],i:[3,0],0:[3,0]};Fe[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Fe[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Fe[5]={"'":[4,0],o:8,l:[5,0]};Fe[6]={'"':[4,0],o:8,l:[6,0]};const Ua=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Ha(e){return Ua.test(e)}function za(e){const n=e.charCodeAt(0),o=e.charCodeAt(e.length-1);return n===o&&(n===34||n===39)?e.slice(1,-1):e}function Ga(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Wa(e){const n=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Ha(n)?za(n):"*"+n}function ja(e){const n=[];let o=-1,l=0,r=0,i,a,s,c,d,m,E;const h=[];h[0]=()=>{a===void 0?a=s:a+=s},h[1]=()=>{a!==void 0&&(n.push(a),a=void 0)},h[2]=()=>{h[0](),r++},h[3]=()=>{if(r>0)r--,l=4,h[0]();else{if(r=0,a===void 0||(a=Wa(a),a===!1))return!1;h[1]()}};function C(){const V=e[o+1];if(l===5&&V==="'"||l===6&&V==='"')return o++,s="\\"+V,h[0](),!0}for(;l!==null;)if(o++,i=e[o],!(i==="\\"&&C())){if(c=Ga(i),E=Fe[l],d=E[c]||E.l||8,d===8||(l=d[0],d[1]!==void 0&&(m=h[d[1]],m&&(s=i,m()===!1))))return;if(l===7)return n}}const io=new Map;function Ka(e,n){return Y(e)?e[n]:null}function Ya(e,n){if(!Y(e))return null;let o=io.get(n);if(o||(o=ja(n),o&&io.set(n,o)),!o)return null;const l=o.length;let r=e,i=0;for(;i<l;){const a=o[i];if(Ko.includes(a)&&Le(r))return null;const s=r[a];if(s===void 0||ee(r))return null;r=s,i++}return r}const Ee={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},qa=8,Xa={[Ee.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Ee.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Ee.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Ee.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Ee.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Ee.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Ee.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function qe(e,...n){return Bt(Xa[e],...n)}const Za="11.1.3",Rt=-1,Tt="en-US",wt="",ao=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Ja(){return{upper:(e,n)=>n==="text"&&D(e)?e.toUpperCase():n==="vnode"&&Y(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,n)=>n==="text"&&D(e)?e.toLowerCase():n==="vnode"&&Y(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,n)=>n==="text"&&D(e)?ao(e):n==="vnode"&&Y(e)&&"__v_isVNode"in e?ao(e.children):e}}let qo;function Qa(e){qo=e}let Xo;function es(e){Xo=e}let Zo;function ts(e){Zo=e}let Jo=null;const ns=e=>{Jo=e},os=()=>Jo;let Qo=null;const so=e=>{Qo=e},ls=()=>Qo;let co=0;function rs(e={}){const n=ee(e.onWarn)?e.onWarn:Me,o=D(e.version)?e.version:Za,l=D(e.locale)||ee(e.locale)?e.locale:Tt,r=ee(l)?Tt:l,i=se(e.fallbackLocale)||K(e.fallbackLocale)||D(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,a=K(e.messages)?e.messages:rn(r),s=K(e.datetimeFormats)?e.datetimeFormats:rn(r),c=K(e.numberFormats)?e.numberFormats:rn(r),d=de(Z(),e.modifiers,Ja()),m=e.pluralRules||Z(),E=ee(e.missing)?e.missing:null,h=le(e.missingWarn)||Lt(e.missingWarn)?e.missingWarn:!0,C=le(e.fallbackWarn)||Lt(e.fallbackWarn)?e.fallbackWarn:!0,V=!!e.fallbackFormat,L=!!e.unresolving,O=ee(e.postTranslation)?e.postTranslation:null,g=K(e.processor)?e.processor:null,k=le(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter,p=ee(e.messageCompiler)?e.messageCompiler:qo;process.env.NODE_ENV!=="production"&&ee(e.messageCompiler)&&Hi(qe(Ee.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const b=ee(e.messageResolver)?e.messageResolver:Xo||Ka,I=ee(e.localeFallbacker)?e.localeFallbacker:Zo||Ma,N=Y(e.fallbackContext)?e.fallbackContext:void 0,x=e,H=Y(x.__datetimeFormatters)?x.__datetimeFormatters:new Map,J=Y(x.__numberFormatters)?x.__numberFormatters:new Map,ce=Y(x.__meta)?x.__meta:{};co++;const F={version:o,cid:co,locale:l,fallbackLocale:i,messages:a,modifiers:d,pluralRules:m,missing:E,missingWarn:h,fallbackWarn:C,fallbackFormat:V,unresolving:L,postTranslation:O,processor:g,warnHtmlMessage:k,escapeParameter:S,messageCompiler:p,messageResolver:b,localeFallbacker:I,fallbackContext:N,onWarn:n,__meta:ce};return F.datetimeFormats=s,F.numberFormats=c,F.__datetimeFormatters=H,F.__numberFormatters=J,process.env.NODE_ENV!=="production"&&(F.__v_emitter=x.__v_emitter!=null?x.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Da(F,o,ce),F}const rn=e=>({[e]:Z()});function $t(e,n){return e instanceof RegExp?e.test(n):e}function el(e,n){return e instanceof RegExp?e.test(n):e}function On(e,n,o,l,r){const{missing:i,onWarn:a}=e;if(process.env.NODE_ENV!=="production"){const s=e.__v_emitter;s&&s.emit("missing",{locale:o,key:n,type:r,groupId:`${r}:${n}`})}if(i!==null){const s=i(e,o,n,r);return D(s)?s:n}else return process.env.NODE_ENV!=="production"&&el(l,n)&&a(qe(Ee.NOT_FOUND_KEY,{key:n,locale:o})),n}function at(e,n,o){const l=e;l.__localeChainCache=new Map,e.localeFallbacker(e,o,n)}function tl(e,n){return e===n?!1:e.split("-")[0]===n.split("-")[0]}function is(e,n){const o=n.indexOf(e);if(o===-1)return!1;for(let l=o+1;l<n.length;l++)if(tl(e,n[l]))return!0;return!1}const uo=typeof Intl<"u",nl={dateTimeFormat:uo&&typeof Intl.DateTimeFormat<"u",numberFormat:uo&&typeof Intl.NumberFormat<"u"};function fo(e,...n){const{datetimeFormats:o,unresolving:l,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__datetimeFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!nl.dateTimeFormat)return i(qe(Ee.CANNOT_FORMAT_DATE)),wt;const[c,d,m,E]=mn(...n),h=le(m.missingWarn)?m.missingWarn:e.missingWarn,C=le(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn,V=!!m.part,L=Vn(e,m),O=a(e,r,L);if(!D(c)||c==="")return new Intl.DateTimeFormat(L,E).format(d);let g={},k,S=null,p=L,b=null;const I="datetime format";for(let H=0;H<O.length;H++){if(k=b=O[H],process.env.NODE_ENV!=="production"&&L!==k&&$t(C,c)&&i(qe(Ee.FALLBACK_TO_DATE_FORMAT,{key:c,target:k})),process.env.NODE_ENV!=="production"&&L!==k){const J=e.__v_emitter;J&&J.emit("fallback",{type:I,key:c,from:p,to:b,groupId:`${I}:${c}`})}if(g=o[k]||{},S=g[c],K(S))break;On(e,c,k,h,I),p=b}if(!K(S)||!D(k))return l?Rt:c;let N=`${k}__${c}`;Pt(E)||(N=`${N}__${JSON.stringify(E)}`);let x=s.get(N);return x||(x=new Intl.DateTimeFormat(k,de({},S,E)),s.set(N,x)),V?x.formatToParts(d):x.format(d)}const ol=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function mn(...e){const[n,o,l,r]=e,i=Z();let a=Z(),s;if(D(n)){const c=n.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!c)throw Oe(pe.INVALID_ISO_DATE_ARGUMENT);const d=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(d);try{s.toISOString()}catch{throw Oe(pe.INVALID_ISO_DATE_ARGUMENT)}}else if(Ri(n)){if(isNaN(n.getTime()))throw Oe(pe.INVALID_DATE_ARGUMENT);s=n}else if(ue(n))s=n;else throw Oe(pe.INVALID_ARGUMENT);return D(o)?i.key=o:K(o)&&Object.keys(o).forEach(c=>{ol.includes(c)?a[c]=o[c]:i[c]=o[c]}),D(l)?i.locale=l:K(l)&&(a=l),K(r)&&(a=r),[i.key||"",s,i,a]}function mo(e,n,o){const l=e;for(const r in o){const i=`${n}__${r}`;l.__datetimeFormatters.has(i)&&l.__datetimeFormatters.delete(i)}}function po(e,...n){const{numberFormats:o,unresolving:l,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!nl.numberFormat)return i(qe(Ee.CANNOT_FORMAT_NUMBER)),wt;const[c,d,m,E]=pn(...n),h=le(m.missingWarn)?m.missingWarn:e.missingWarn,C=le(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn,V=!!m.part,L=Vn(e,m),O=a(e,r,L);if(!D(c)||c==="")return new Intl.NumberFormat(L,E).format(d);let g={},k,S=null,p=L,b=null;const I="number format";for(let H=0;H<O.length;H++){if(k=b=O[H],process.env.NODE_ENV!=="production"&&L!==k&&$t(C,c)&&i(qe(Ee.FALLBACK_TO_NUMBER_FORMAT,{key:c,target:k})),process.env.NODE_ENV!=="production"&&L!==k){const J=e.__v_emitter;J&&J.emit("fallback",{type:I,key:c,from:p,to:b,groupId:`${I}:${c}`})}if(g=o[k]||{},S=g[c],K(S))break;On(e,c,k,h,I),p=b}if(!K(S)||!D(k))return l?Rt:c;let N=`${k}__${c}`;Pt(E)||(N=`${N}__${JSON.stringify(E)}`);let x=s.get(N);return x||(x=new Intl.NumberFormat(k,de({},S,E)),s.set(N,x)),V?x.formatToParts(d):x.format(d)}const ll=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function pn(...e){const[n,o,l,r]=e,i=Z();let a=Z();if(!ue(n))throw Oe(pe.INVALID_ARGUMENT);const s=n;return D(o)?i.key=o:K(o)&&Object.keys(o).forEach(c=>{ll.includes(c)?a[c]=o[c]:i[c]=o[c]}),D(l)?i.locale=l:K(l)&&(a=l),K(r)&&(a=r),[i.key||"",s,i,a]}function go(e,n,o){const l=e;for(const r in o){const i=`${n}__${r}`;l.__numberFormatters.has(i)&&l.__numberFormatters.delete(i)}}const as=e=>e,ss=e=>"",cs="text",us=e=>e.length===0?"":wn(e),ds=Fi;function ho(e,n){return e=Math.abs(e),n===2?e?e>1?1:0:1:e?Math.min(e,2):0}function fs(e){const n=ue(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(ue(e.named.count)||ue(e.named.n))?ue(e.named.count)?e.named.count:ue(e.named.n)?e.named.n:n:n}function ms(e,n){n.count||(n.count=e),n.n||(n.n=e)}function ps(e={}){const n=e.locale,o=fs(e),l=Y(e.pluralRules)&&D(n)&&ee(e.pluralRules[n])?e.pluralRules[n]:ho,r=Y(e.pluralRules)&&D(n)&&ee(e.pluralRules[n])?ho:void 0,i=g=>g[l(o,g.length,r)],a=e.list||[],s=g=>a[g],c=e.named||Z();ue(e.pluralIndex)&&ms(o,c);const d=g=>c[g];function m(g,k){const S=ee(e.messages)?e.messages(g,!!k):Y(e.messages)?e.messages[g]:!1;return S||(e.parent?e.parent.message(g):ss)}const E=g=>e.modifiers?e.modifiers[g]:as,h=K(e.processor)&&ee(e.processor.normalize)?e.processor.normalize:us,C=K(e.processor)&&ee(e.processor.interpolate)?e.processor.interpolate:ds,V=K(e.processor)&&D(e.processor.type)?e.processor.type:cs,O={list:s,named:d,plural:i,linked:(g,...k)=>{const[S,p]=k;let b="text",I="";k.length===1?Y(S)?(I=S.modifier||I,b=S.type||b):D(S)&&(I=S||I):k.length===2&&(D(S)&&(I=S||I),D(p)&&(b=p||b));const N=m(g,!0)(O),x=b==="vnode"&&se(N)&&I?N[0]:N;return I?E(I)(x,b):x},message:m,type:V,interpolate:C,normalize:h,values:de(Z(),a,c)};return O}const Eo=()=>"",Se=e=>ee(e);function ko(e,...n){const{fallbackFormat:o,postTranslation:l,unresolving:r,messageCompiler:i,fallbackLocale:a,messages:s}=e,[c,d]=gn(...n),m=le(d.missingWarn)?d.missingWarn:e.missingWarn,E=le(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,h=le(d.escapeParameter)?d.escapeParameter:e.escapeParameter,C=!!d.resolvedMessage,V=D(d.default)||le(d.default)?le(d.default)?i?c:()=>c:d.default:o?i?c:()=>c:null,L=o||V!=null&&(D(V)||ee(V)),O=Vn(e,d);h&&gs(d);let[g,k,S]=C?[c,O,s[O]||Z()]:rl(e,c,O,a,E,m),p=g,b=c;if(!C&&!(D(p)||Le(p)||Se(p))&&L&&(p=V,b=p),!C&&(!(D(p)||Le(p)||Se(p))||!D(k)))return r?Rt:c;if(process.env.NODE_ENV!=="production"&&D(p)&&e.messageCompiler==null)return Me(`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},x=Se(p)?p:il(e,c,k,p,b,N);if(I)return p;const H=_s(e,k,S,d),J=ps(H),ce=hs(e,x,J),F=l?l(ce,c):ce;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const he={timestamp:Date.now(),key:D(c)?c:Se(p)?p.key:"",locale:k||(Se(p)?p.locale:""),format:D(p)?p:Se(p)?p.source:"",message:F};he.meta=de({},e.__meta,os()||{}),Ba(he)}return F}function gs(e){se(e.list)?e.list=e.list.map(n=>D(n)?Zn(n):n):Y(e.named)&&Object.keys(e.named).forEach(n=>{D(e.named[n])&&(e.named[n]=Zn(e.named[n]))})}function rl(e,n,o,l,r,i){const{messages:a,onWarn:s,messageResolver:c,localeFallbacker:d}=e,m=d(e,l,o);let E=Z(),h,C=null,V=o,L=null;const O="translate";for(let g=0;g<m.length;g++){if(h=L=m[g],process.env.NODE_ENV!=="production"&&o!==h&&!tl(o,h)&&$t(r,n)&&s(qe(Ee.FALLBACK_TO_TRANSLATE,{key:n,target:h})),process.env.NODE_ENV!=="production"&&o!==h){const b=e.__v_emitter;b&&b.emit("fallback",{type:O,key:n,from:V,to:L,groupId:`${O}:${n}`})}E=a[h]||Z();let k=null,S,p;if(process.env.NODE_ENV!=="production"&&Be&&(k=window.performance.now(),S="intlify-message-resolve-start",p="intlify-message-resolve-end",ve&&ve(S)),(C=c(E,n))===null&&(C=E[n]),process.env.NODE_ENV!=="production"&&Be){const b=window.performance.now(),I=e.__v_emitter;I&&k&&C&&I.emit("message-resolve",{type:"message-resolve",key:n,message:C,time:b-k,groupId:`${O}:${n}`}),S&&p&&ve&&Ye&&(ve(p),Ye("intlify message resolve",S,p))}if(D(C)||Le(C)||Se(C))break;if(!is(h,m)){const b=On(e,n,h,i,O);b!==n&&(C=b)}V=L}return[C,h,E]}function il(e,n,o,l,r,i){const{messageCompiler:a,warnHtmlMessage:s}=e;if(Se(l)){const h=l;return h.locale=h.locale||o,h.key=h.key||n,h}if(a==null){const h=()=>l;return h.locale=o,h.key=n,h}let c=null,d,m;process.env.NODE_ENV!=="production"&&Be&&(c=window.performance.now(),d="intlify-message-compilation-start",m="intlify-message-compilation-end",ve&&ve(d));const E=a(l,Es(e,o,r,l,s,i));if(process.env.NODE_ENV!=="production"&&Be){const h=window.performance.now(),C=e.__v_emitter;C&&c&&C.emit("message-compilation",{type:"message-compilation",message:l,time:h-c,groupId:`translate:${n}`}),d&&m&&ve&&Ye&&(ve(m),Ye("intlify message compilation",d,m))}return E.locale=o,E.key=n,E.source=l,E}function hs(e,n,o){let l=null,r,i;process.env.NODE_ENV!=="production"&&Be&&(l=window.performance.now(),r="intlify-message-evaluation-start",i="intlify-message-evaluation-end",ve&&ve(r));const a=n(o);if(process.env.NODE_ENV!=="production"&&Be){const s=window.performance.now(),c=e.__v_emitter;c&&l&&c.emit("message-evaluation",{type:"message-evaluation",value:a,time:s-l,groupId:`translate:${n.key}`}),r&&i&&ve&&Ye&&(ve(i),Ye("intlify message evaluation",r,i))}return a}function gn(...e){const[n,o,l]=e,r=Z();if(!D(n)&&!ue(n)&&!Se(n)&&!Le(n))throw Oe(pe.INVALID_ARGUMENT);const i=ue(n)?String(n):(Se(n),n);return ue(o)?r.plural=o:D(o)?r.default=o:K(o)&&!Pt(o)?r.named=o:se(o)&&(r.list=o),ue(l)?r.plural=l:D(l)?r.default=l:K(l)&&de(r,l),[i,r]}function Es(e,n,o,l,r,i){return{locale:n,key:o,warnHtmlMessage:r,onError:a=>{if(i&&i(a),process.env.NODE_ENV!=="production"){const s=ks(l),c=`Message compilation error: ${a.message}`,d=a.location&&s&&Ui(s,a.location.start.offset,a.location.end.offset),m=e.__v_emitter;m&&s&&m.emit("compile-error",{message:s,error:a.message,start:a.location&&a.location.start.offset,end:a.location&&a.location.end.offset,groupId:`translate:${o}`}),console.error(d?`${c}
17
+ ${d}`:c)}else throw a},onCacheKey:a=>Bi(n,o,a)}}function ks(e){if(D(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function _s(e,n,o,l){const{modifiers:r,pluralRules:i,messageResolver:a,fallbackLocale:s,fallbackWarn:c,missingWarn:d,fallbackContext:m}=e,h={locale:n,modifiers:r,pluralRules:i,messages:(C,V)=>{let L=a(o,C);if(L==null&&(m||V)){const[,,O]=rl(m||e,C,n,s,c,d);L=a(O,C)}if(D(L)||Le(L)){let O=!1;const k=il(e,C,n,L,C,()=>{O=!0});return O?Eo:k}else return Se(L)?L:Eo}};return e.processor&&(h.processor=e.processor),l.list&&(h.list=l.list),l.named&&(h.named=l.named),ue(l.plural)&&(h.pluralIndex=l.plural),h}_a();/*!
18
18
  * vue-i18n v11.1.3
19
19
  * (c) 2025 kazuya kawaguchi
20
20
  * Released under the MIT License.
21
- */const Wv="11.1.3";function jv(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(gt().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(gt().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(gt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(gt().__INTLIFY_PROD_DEVTOOLS__=!1)}const Te={UNEXPECTED_RETURN_TYPE:lv,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 Bt(e,...t){return It(e,null,process.env.NODE_ENV!=="production"?{messages:Kv,args:t}:void 0)}const Kv={[Te.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[Te.INVALID_ARGUMENT]:"Invalid argument",[Te.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[Te.NOT_INSTALLED]:"Need to install with `app.use` function",[Te.UNEXPECTED_ERROR]:"Unexpected error",[Te.REQUIRED_VALUE]:"Required in value: {0}",[Te.INVALID_VALUE]:"Invalid value",[Te.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[Te.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[Te.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[Te.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},io=rt("__translateVNode"),ao=rt("__datetimeParts"),oo=rt("__numberParts"),so=rt("__enableEmitter"),lo=rt("__disableEmitter"),Yv=rt("__setPluralRules"),sf=rt("__injectWithOption"),uo=rt("__dispose"),lt={FALLBACK_TO_ROOT:bv,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12},Xv={[lt.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[lt.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[lt.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[lt.DEPRECATE_LEGACY_MODE]:`Legacy API mode has been deprecated in v11. Use Composition API mode instead.
22
- About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html`,[lt.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]:"'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead."};function Oo(e,...t){return mn(Xv[e],...t)}function Vt(e){if(!oe(e)||We(e))return e;for(const t in e)if(ze(e,t))if(!t.includes("."))oe(e[t])&&Vt(e[t]);else{const n=t.split("."),i=n.length-1;let a=e,o=!1;for(let s=0;s<i;s++){if(n[s]==="__proto__")throw new Error(`unsafe key: ${n[s]}`);if(n[s]in a||(a[n[s]]=ue()),!oe(a[n[s]])){process.env.NODE_ENV!=="production"&&ut(Oo(lt.IGNORE_OBJ_FLATTEN,{key:n[s]})),o=!0;break}a=a[n[s]]}if(o||(We(a)?Wd.includes(n[i])||delete e[t]:(a[n[i]]=e[t],delete e[t])),!We(a)){const s=a[n[i]];oe(s)&&Vt(s)}}return e}function lf(e,t){const{messages:n,__i18n:i,messageResolver:a,flatJson:o}=t,s=ae(n)?n:Ne(i)?ue():{[e]:ue()};if(Ne(i)&&i.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:u,resource:c}=l;u?(s[u]=s[u]||ue(),Xt(c,s[u])):Xt(c,s)}else z(l)&&Xt(JSON.parse(l),s)}),a==null&&o)for(const l in s)ze(s,l)&&Vt(s[l]);return s}function uf(e){return e.type}function Zv(e,t,n){let i=oe(t.messages)?t.messages:ue();"__i18nGlobal"in n&&(i=lf(e.locale.value,{messages:i,__i18n:n.__i18nGlobal}));const a=Object.keys(i);a.length&&a.forEach(o=>{e.mergeLocaleMessage(o,i[o])});{if(oe(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(oe(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function Vc(e){return r.createVNode(r.Text,null,e,0)}const Mc="__INTLIFY_META__",xc=()=>[],Jv=()=>!1;let $c=0;function qc(e){return(t,n,i,a)=>e(n,i,r.getCurrentInstance()||void 0,a)}const Qv=()=>{const e=r.getCurrentInstance();let t=null;return e&&(t=uf(e)[Mc])?{[Mc]:t}:null};function e_(e={}){const{__root:t,__injectWithOption:n}=e,i=t===void 0,a=e.flatJson,o=tt?r.ref:r.shallowRef;let s=ye(e.inheritLocale)?e.inheritLocale:!0;const l=o(t&&s?t.locale.value:z(e.locale)?e.locale:en),u=o(t&&s?t.fallbackLocale.value:z(e.fallbackLocale)||Ne(e.fallbackLocale)||ae(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),c=o(lf(l.value,e)),d=o(ae(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),f=o(ae(e.numberFormats)?e.numberFormats:{[l.value]:{}});let h=t?t.missingWarn:ye(e.missingWarn)||Qt(e.missingWarn)?e.missingWarn:!0,m=t?t.fallbackWarn:ye(e.fallbackWarn)||Qt(e.fallbackWarn)?e.fallbackWarn:!0,C=t?t.fallbackRoot:ye(e.fallbackRoot)?e.fallbackRoot:!0,E=!!e.fallbackFormat,_=fe(e.missing)?e.missing:null,p=fe(e.missing)?qc(e.missing):null,v=fe(e.postTranslation)?e.postTranslation:null,y=t?t.warnHtmlMessage:ye(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter;const k=t?t.modifiers:ae(e.modifiers)?e.modifiers:{};let N=e.pluralRules||t&&t.pluralRules,b;b=(()=>{i&&Sc(null);const A={version:Wv,locale:l.value,fallbackLocale:u.value,messages:c.value,modifiers:k,pluralRules:N,missing:p===null?void 0:p,missingWarn:h,fallbackWarn:m,fallbackFormat:E,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:y,escapeParameter:g,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};A.datetimeFormats=d.value,A.numberFormats=f.value,A.__datetimeFormatters=ae(b)?b.__datetimeFormatters:void 0,A.__numberFormatters=ae(b)?b.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(A.__v_emitter=ae(b)?b.__v_emitter:void 0);const $=Ov(A);return i&&Sc($),$})(),Ot(b,l.value,u.value);function O(){return[l.value,u.value,c.value,d.value,f.value]}const R=r.computed({get:()=>l.value,set:A=>{b.locale=A,l.value=A}}),U=r.computed({get:()=>u.value,set:A=>{b.fallbackLocale=A,u.value=A,Ot(b,l.value,A)}}),V=r.computed(()=>c.value),W=r.computed(()=>d.value),Z=r.computed(()=>f.value);function x(){return fe(v)?v:null}function D(A){v=A,b.postTranslation=A}function J(){return _}function j(A){A!==null&&(p=qc(A)),_=A,b.missing=p}function F(A,$){return A!=="translate"||!$.resolvedMessage}const ne=(A,$,se,Ee,ft,$t)=>{O();let Ct;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,i||(b.fallbackContext=t?Av():void 0),Ct=A(b)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,i||(b.fallbackContext=void 0)}if(se!=="translate exists"&&Se(Ct)&&Ct===gn||se==="translate exists"&&!Ct){const[ht,Jf]=$();if(process.env.NODE_ENV!=="production"&&t&&z(ht)&&F(se,Jf)&&(C&&(vn(m,ht)||Qd(h,ht))&&ut(Oo(lt.FALLBACK_TO_ROOT,{key:ht,type:se})),process.env.NODE_ENV!=="production")){const{__v_emitter:qo}=b;qo&&C&&qo.emit("fallback",{type:se,key:ht,to:"global",groupId:`${se}:${ht}`})}return t&&C?Ee(t):ft(ht)}else{if($t(Ct))return Ct;throw Bt(Te.UNEXPECTED_RETURN_TYPE)}};function me(...A){return ne($=>Reflect.apply(Bc,null,[$,...A]),()=>ro(...A),"translate",$=>Reflect.apply($.t,$,[...A]),$=>$,$=>z($))}function Re(...A){const[$,se,Ee]=A;if(Ee&&!oe(Ee))throw Bt(Te.INVALID_ARGUMENT);return me($,se,Le({resolvedMessage:!0},Ee||{}))}function Me(...A){return ne($=>Reflect.apply(Ic,null,[$,...A]),()=>to(...A),"datetime format",$=>Reflect.apply($.d,$,[...A]),()=>tn,$=>z($))}function I(...A){return ne($=>Reflect.apply(Oc,null,[$,...A]),()=>no(...A),"number format",$=>Reflect.apply($.n,$,[...A]),()=>tn,$=>z($))}function P(A){return A.map($=>z($)||Se($)||ye($)?Vc(String($)):$)}const G={normalize:P,interpolate:A=>A,type:"vnode"};function ee(...A){return ne($=>{let se;const Ee=$;try{Ee.processor=G,se=Reflect.apply(Bc,null,[Ee,...A])}finally{Ee.processor=null}return se},()=>ro(...A),"translate",$=>$[io](...A),$=>[Vc($)],$=>Ne($))}function ce(...A){return ne($=>Reflect.apply(Oc,null,[$,...A]),()=>no(...A),"number format",$=>$[oo](...A),xc,$=>z($)||Ne($))}function pe(...A){return ne($=>Reflect.apply(Ic,null,[$,...A]),()=>to(...A),"datetime format",$=>$[ao](...A),xc,$=>z($)||Ne($))}function Ie(A){N=A,b.pluralRules=N}function bt(A,$){return ne(()=>{if(!A)return!1;const se=z($)?$:l.value,Ee=xe(se),ft=b.messageResolver(Ee,A);return We(ft)||He(ft)||z(ft)},()=>[A],"translate exists",se=>Reflect.apply(se.te,se,[A,$]),Jv,se=>ye(se))}function we(A){let $=null;const se=jd(b,u.value,l.value);for(let Ee=0;Ee<se.length;Ee++){const ft=c.value[se[Ee]]||{},$t=b.messageResolver(ft,A);if($t!=null){$=$t;break}}return $}function be(A){const $=we(A);return $??(t?t.tm(A)||{}:{})}function xe(A){return c.value[A]||{}}function it(A,$){if(a){const se={[A]:$};for(const Ee in se)ze(se,Ee)&&Vt(se[Ee]);$=se[A]}c.value[A]=$,b.messages=c.value}function kt(A,$){c.value[A]=c.value[A]||{};const se={[A]:$};if(a)for(const Ee in se)ze(se,Ee)&&Vt(se[Ee]);$=se[A],Xt($,c.value[A]),b.messages=c.value}function w(A){return d.value[A]||{}}function S(A,$){d.value[A]=$,b.datetimeFormats=d.value,Ac(b,A,$)}function B(A,$){d.value[A]=Le(d.value[A]||{},$),b.datetimeFormats=d.value,Ac(b,A,$)}function Y(A){return f.value[A]||{}}function ve(A,$){f.value[A]=$,b.numberFormats=f.value,Rc(b,A,$)}function _e(A,$){f.value[A]=Le(f.value[A]||{},$),b.numberFormats=f.value,Rc(b,A,$)}$c++,t&&tt&&(r.watch(t.locale,A=>{s&&(l.value=A,b.locale=A,Ot(b,l.value,u.value))}),r.watch(t.fallbackLocale,A=>{s&&(u.value=A,b.fallbackLocale=A,Ot(b,l.value,u.value))}));const ie={id:$c,locale:R,fallbackLocale:U,get inheritLocale(){return s},set inheritLocale(A){s=A,A&&t&&(l.value=t.locale.value,u.value=t.fallbackLocale.value,Ot(b,l.value,u.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:V,get modifiers(){return k},get pluralRules(){return N||{}},get isGlobal(){return i},get missingWarn(){return h},set missingWarn(A){h=A,b.missingWarn=h},get fallbackWarn(){return m},set fallbackWarn(A){m=A,b.fallbackWarn=m},get fallbackRoot(){return C},set fallbackRoot(A){C=A},get fallbackFormat(){return E},set fallbackFormat(A){E=A,b.fallbackFormat=E},get warnHtmlMessage(){return y},set warnHtmlMessage(A){y=A,b.warnHtmlMessage=A},get escapeParameter(){return g},set escapeParameter(A){g=A,b.escapeParameter=A},t:me,getLocaleMessage:xe,setLocaleMessage:it,mergeLocaleMessage:kt,getPostTranslationHandler:x,setPostTranslationHandler:D,getMissingHandler:J,setMissingHandler:j,[Yv]:Ie};return ie.datetimeFormats=W,ie.numberFormats=Z,ie.rt=Re,ie.te=bt,ie.tm=be,ie.d=Me,ie.n=I,ie.getDateTimeFormat=w,ie.setDateTimeFormat=S,ie.mergeDateTimeFormat=B,ie.getNumberFormat=Y,ie.setNumberFormat=ve,ie.mergeNumberFormat=_e,ie[sf]=n,ie[io]=ee,ie[ao]=pe,ie[oo]=ce,process.env.NODE_ENV!=="production"&&(ie[so]=A=>{b.__v_emitter=A},ie[lo]=()=>{b.__v_emitter=void 0}),ie}function Fc(e,t){}const Ro={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function t_({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((i,a)=>[...i,...a.type===r.Fragment?a.children:[a]],[]):t.reduce((n,i)=>{const a=e[i];return a&&(n[i]=a()),n},ue())}function cf(){return r.Fragment}Le({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Se(e)||!isNaN(e)}},Ro);function n_(e){return Ne(e)&&!z(e[0])}function df(e,t,n,i){const{slots:a,attrs:o}=t;return()=>{const s={part:!0};let l=ue();e.locale&&(s.locale=e.locale),z(e.format)?s.key=e.format:oe(e.format)&&(z(e.format.key)&&(s.key=e.format.key),l=Object.keys(e.format).reduce((h,m)=>n.includes(m)?Le(ue(),h,{[m]:e.format[m]}):h,ue()));const u=i(e.value,s,l);let c=[s.key];Ne(u)?c=u.map((h,m)=>{const C=a[h.type],E=C?C({[h.type]:h.value,index:m,parts:u}):[h.value];return n_(E)&&(E[0].key=`${h.type}-${m}`),E}):z(u)&&(c=[u]);const d=Le(ue(),o),f=z(e.tag)||oe(e.tag)?e.tag:cf();return r.h(f,d,c)}}Le({value:{type:Number,required:!0},format:{type:[String,Object]}},Ro);const r_=rt("global-vue-i18n");function _n(e={}){const t=r.getCurrentInstance();if(t==null)throw Bt(Te.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Bt(Te.NOT_INSTALLED);const n=i_(t),i=o_(n),a=uf(t),o=a_(e,a);if(o==="global")return Zv(i,e,a),i;if(o==="parent"){let u=s_(n,t,e.__useComponent);return u==null&&(process.env.NODE_ENV!=="production"&&ut(Oo(lt.NOT_FOUND_PARENT_SCOPE)),u=i),u}const s=n;let l=s.__getInstance(t);if(l==null){const u=Le({},e);"__i18n"in a&&(u.__i18n=a.__i18n),i&&(u.__root=i),l=e_(u),s.__composerExtend&&(l[uo]=s.__composerExtend(l)),u_(s,t,l),s.__setInstance(t,l)}return l}function i_(e){const t=r.inject(e.isCE?r_:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Bt(e.isCE?Te.NOT_INSTALLED_WITH_PROVIDE:Te.UNEXPECTED_ERROR);return t}function a_(e,t){return pn(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function o_(e){return e.mode==="composition"?e.global:e.global.__composer}function s_(e,t,n=!1){let i=null;const a=t.root;let o=l_(t,n);for(;o!=null;){const s=e;if(e.mode==="composition")i=s.__getInstance(o);else if(__VUE_I18N_LEGACY_API__){const l=s.__getInstance(o);l!=null&&(i=l.__composer,n&&i&&!i[sf]&&(i=null))}if(i!=null||a===o)break;o=o.parent}return i}function l_(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function u_(e,t,n){let i=null;r.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,i=p1();const a=n;a[so]&&a[so](i),i.on("*",Fc)}},t),r.onUnmounted(()=>{const a=n;process.env.NODE_ENV!=="production"&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(i&&i.off("*",Fc),a[lo]&&a[lo](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const o=a[uo];o&&(o(),delete a[uo])},t)}Le({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ro);jv();wv(rv);Sv(yv);Lv(jd);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=gt();e.__INTLIFY__=!0,iv(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const le=r.defineComponent({__name:"Tooltip",props:{title:{default:void 0},placement:{default:"top"}},setup(e){let t;typeof document<"u"&&(t=import("bootstrap"));const n=e,i=r.ref(),a=r.ref(),o=r.ref();return r.onMounted(async()=>{r.nextTick(async()=>{const s=await t;typeof document<"u"&&a.value&&o.value&&(i.value=new s.Tooltip(a.value,{trigger:"hover",html:!0,placement:n.placement,title:o.value.innerHTML,customClass:"tooltip-custom"}))})}),r.onBeforeUnmount(async()=>{var s;(s=i.value)==null||s.dispose()}),(s,l)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createElementVNode("span",r.mergeProps({ref_key:"$tooltip",ref:a},s.$attrs),[r.renderSlot(s.$slots,"default")],16),r.createElementVNode("span",{class:"d-none",ref_key:"$tooltipContent",ref:o},[r.renderSlot(s.$slots,"content",{},()=>[r.createTextVNode(r.toDisplayString(s.title),1)])],512)],64))}}),c_=r.defineComponent({name:"TaskIcon",__name:"TaskIcon",props:{customIcon:{},cls:{},theme:{},icons:{},onlyIcon:{type:Boolean},variable:{}},setup(e){const t=e,n=r.computed(()=>`data:image/svg+xml;base64,${o.value}`),i=r.computed(()=>({flowable:s.value?s.value.flowable:!1})),a=r.computed(()=>({backgroundImage:`url(${n.value})`})),o=r.computed(()=>{let u=s.value&&s.value.icon?window.atob(s.value.icon):void 0;u||(u='<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 c=document.getElementsByTagName("html")[0].className.indexOf("dark")>=0;let d=Fe(c?"--bs-gray-900":"--bs-black")??"#FFFFFF";return t.theme&&(d=(t.theme==="dark"?Fe("--bs-gray-900"):Fe("--bs-black"))??d),t.variable&&(d=Fe(t.variable)??d),u=u.replace(/currentColor/g,d),window.btoa(u)}),s=r.computed(()=>t.cls?(t.icons||{})[l(t.cls)]:t.customIcon);function l(u){return u.includes("$")?u.substring(0,u.indexOf("$")):u}return(u,c)=>(r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass([i.value,"wrapper"])},[u.onlyIcon?(r.openBlock(),r.createElementBlock("div",{key:1,class:"icon",style:r.normalizeStyle(a.value)},null,4)):(r.openBlock(),r.createBlock(le,{key:0,title:u.cls},{default:r.withCtx(()=>[r.createElementVNode("div",{class:"icon",style:r.normalizeStyle(a.value)},null,4)]),_:1},8,["title"]))],2))}}),Do=K(c_,[["__scopeId","data-v-23f8d853"]]),d_={name:"OpenInNewIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},f_=["aria-hidden","aria-label"],h_=["fill","width","height"],m_={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"},p_={key:0};function g_(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon open-in-new-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",m_,[n.title?(r.openBlock(),r.createElementBlock("title",p_,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,h_))],16,f_)}const Po=K(d_,[["render",g_]]),v_={name:"ArrowExpandAllIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},__=["aria-hidden","aria-label"],E_=["fill","width","height"],y_={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"},b_={key:0};function k_(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon arrow-expand-all-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",y_,[n.title?(r.openBlock(),r.createElementBlock("title",b_,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,E_))],16,__)}const C_=K(v_,[["render",k_]]),N_={class:"dependency-text d-flex flex-column flex-grow-1"},w_={class:"dependency-flow-text text-truncate"},S_={class:"dependency-namespace-text text-truncate"},L_={class:"text-white top-button-div"},T_=r.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:[H.EXPAND_DEPENDENCIES,H.OPEN_LINK,H.MOUSE_OVER,H.MOUSE_LEAVE],setup(e,{emit:t}){const n=t,{t:i}=_n(),a=r.computed(()=>window.btoa(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="25" viewBox="0 0 24 25" fill="none">
21
+ */const ys="11.1.3";function Cs(){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 fe={UNEXPECTED_RETURN_TYPE:Ra,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 ut(e,...n){return nt(e,null,process.env.NODE_ENV!=="production"?{messages:Ns,args:n}:void 0)}const Ns={[fe.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[fe.INVALID_ARGUMENT]:"Invalid argument",[fe.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[fe.NOT_INSTALLED]:"Need to install with `app.use` function",[fe.UNEXPECTED_ERROR]:"Unexpected error",[fe.REQUIRED_VALUE]:"Required in value: {0}",[fe.INVALID_VALUE]:"Invalid value",[fe.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[fe.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[fe.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[fe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},hn=Pe("__translateVNode"),En=Pe("__datetimeParts"),kn=Pe("__numberParts"),_n=Pe("__enableEmitter"),yn=Pe("__disableEmitter"),vs=Pe("__setPluralRules"),al=Pe("__injectWithOption"),Cn=Pe("__dispose"),$e={FALLBACK_TO_ROOT:qa,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12},Ss={[$e.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[$e.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[$e.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[$e.DEPRECATE_LEGACY_MODE]:`Legacy API mode has been deprecated in v11. Use Composition API mode instead.
22
+ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html`,[$e.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]:"'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead."};function Dn(e,...n){return Bt(Ss[e],...n)}function dt(e){if(!Y(e)||Le(e))return e;for(const n in e)if(be(e,n))if(!n.includes("."))Y(e[n])&&dt(e[n]);else{const o=n.split("."),l=o.length-1;let r=e,i=!1;for(let a=0;a<l;a++){if(o[a]==="__proto__")throw new Error(`unsafe key: ${o[a]}`);if(o[a]in r||(r[o[a]]=Z()),!Y(r[o[a]])){process.env.NODE_ENV!=="production"&&Me(Dn($e.IGNORE_OBJ_FLATTEN,{key:o[a]})),i=!0;break}r=r[o[a]]}if(i||(Le(r)?Ko.includes(o[l])||delete e[n]:(r[o[l]]=e[n],delete e[n])),!Le(r)){const a=r[o[l]];Y(a)&&dt(a)}}return e}function sl(e,n){const{messages:o,__i18n:l,messageResolver:r,flatJson:i}=n,a=K(o)?o:se(l)?Z():{[e]:Z()};if(se(l)&&l.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:c,resource:d}=s;c?(a[c]=a[c]||Z(),St(d,a[c])):St(d,a)}else D(s)&&St(JSON.parse(s),a)}),r==null&&i)for(const s in a)be(a,s)&&dt(a[s]);return a}function cl(e){return e.type}function bs(e,n,o){let l=Y(n.messages)?n.messages:Z();"__i18nGlobal"in o&&(l=sl(e.locale.value,{messages:l,__i18n:o.__i18nGlobal}));const r=Object.keys(l);r.length&&r.forEach(i=>{e.mergeLocaleMessage(i,l[i])});{if(Y(n.datetimeFormats)){const i=Object.keys(n.datetimeFormats);i.length&&i.forEach(a=>{e.mergeDateTimeFormat(a,n.datetimeFormats[a])})}if(Y(n.numberFormats)){const i=Object.keys(n.numberFormats);i.length&&i.forEach(a=>{e.mergeNumberFormat(a,n.numberFormats[a])})}}}function _o(e){return t.createVNode(t.Text,null,e,0)}const yo="__INTLIFY_META__",Co=()=>[],Ls=()=>!1;let No=0;function vo(e){return(n,o,l,r)=>e(o,l,t.getCurrentInstance()||void 0,r)}const Ts=()=>{const e=t.getCurrentInstance();let n=null;return e&&(n=cl(e)[yo])?{[yo]:n}:null};function ws(e={}){const{__root:n,__injectWithOption:o}=e,l=n===void 0,r=e.flatJson,i=Be?t.ref:t.shallowRef;let a=le(e.inheritLocale)?e.inheritLocale:!0;const s=i(n&&a?n.locale.value:D(e.locale)?e.locale:Tt),c=i(n&&a?n.fallbackLocale.value:D(e.fallbackLocale)||se(e.fallbackLocale)||K(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),d=i(sl(s.value,e)),m=i(K(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),E=i(K(e.numberFormats)?e.numberFormats:{[s.value]:{}});let h=n?n.missingWarn:le(e.missingWarn)||Lt(e.missingWarn)?e.missingWarn:!0,C=n?n.fallbackWarn:le(e.fallbackWarn)||Lt(e.fallbackWarn)?e.fallbackWarn:!0,V=n?n.fallbackRoot:le(e.fallbackRoot)?e.fallbackRoot:!0,L=!!e.fallbackFormat,O=ee(e.missing)?e.missing:null,g=ee(e.missing)?vo(e.missing):null,k=ee(e.postTranslation)?e.postTranslation:null,S=n?n.warnHtmlMessage:le(e.warnHtmlMessage)?e.warnHtmlMessage:!0,p=!!e.escapeParameter;const b=n?n.modifiers:K(e.modifiers)?e.modifiers:{};let I=e.pluralRules||n&&n.pluralRules,N;N=(()=>{l&&so(null);const _={version:ys,locale:s.value,fallbackLocale:c.value,messages:d.value,modifiers:b,pluralRules:I,missing:g===null?void 0:g,missingWarn:h,fallbackWarn:C,fallbackFormat:L,unresolving:!0,postTranslation:k===null?void 0:k,warnHtmlMessage:S,escapeParameter:p,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};_.datetimeFormats=m.value,_.numberFormats=E.value,_.__datetimeFormatters=K(N)?N.__datetimeFormatters:void 0,_.__numberFormatters=K(N)?N.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(_.__v_emitter=K(N)?N.__v_emitter:void 0);const w=rs(_);return l&&so(w),w})(),at(N,s.value,c.value);function H(){return[s.value,c.value,d.value,m.value,E.value]}const J=t.computed({get:()=>s.value,set:_=>{N.locale=_,s.value=_}}),ce=t.computed({get:()=>c.value,set:_=>{N.fallbackLocale=_,c.value=_,at(N,s.value,_)}}),F=t.computed(()=>d.value),he=t.computed(()=>m.value),Ae=t.computed(()=>E.value);function P(){return ee(k)?k:null}function A(_){k=_,N.postTranslation=_}function z(){return O}function R(_){_!==null&&(g=vo(_)),O=_,N.missing=g}function Ie(_,w){return _!=="translate"||!w.resolvedMessage}const me=(_,w,q,oe,ze,pt)=>{H();let Ze;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,l||(N.fallbackContext=n?ls():void 0),Ze=_(N)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,l||(N.fallbackContext=void 0)}if(q!=="translate exists"&&ue(Ze)&&Ze===Rt||q==="translate exists"&&!Ze){const[Ge,Ql]=w();if(process.env.NODE_ENV!=="production"&&n&&D(Ge)&&Ie(q,Ql)&&(V&&($t(C,Ge)||el(h,Ge))&&Me(Dn($e.FALLBACK_TO_ROOT,{key:Ge,type:q})),process.env.NODE_ENV!=="production")){const{__v_emitter:zn}=N;zn&&V&&zn.emit("fallback",{type:q,key:Ge,to:"global",groupId:`${q}:${Ge}`})}return n&&V?oe(n):ze(Ge)}else{if(pt(Ze))return Ze;throw ut(fe.UNEXPECTED_RETURN_TYPE)}};function Ue(..._){return me(w=>Reflect.apply(ko,null,[w,..._]),()=>gn(..._),"translate",w=>Reflect.apply(w.t,w,[..._]),w=>w,w=>D(w))}function Wt(..._){const[w,q,oe]=_;if(oe&&!Y(oe))throw ut(fe.INVALID_ARGUMENT);return Ue(w,q,de({resolvedMessage:!0},oe||{}))}function jt(..._){return me(w=>Reflect.apply(fo,null,[w,..._]),()=>mn(..._),"datetime format",w=>Reflect.apply(w.d,w,[..._]),()=>wt,w=>D(w))}function Kt(..._){return me(w=>Reflect.apply(po,null,[w,..._]),()=>pn(..._),"number format",w=>Reflect.apply(w.n,w,[..._]),()=>wt,w=>D(w))}function Yt(_){return _.map(w=>D(w)||ue(w)||le(w)?_o(String(w)):w)}const qt={normalize:Yt,interpolate:_=>_,type:"vnode"};function mt(..._){return me(w=>{let q;const oe=w;try{oe.processor=qt,q=Reflect.apply(ko,null,[oe,..._])}finally{oe.processor=null}return q},()=>gn(..._),"translate",w=>w[hn](..._),w=>[_o(w)],w=>se(w))}function Xt(..._){return me(w=>Reflect.apply(po,null,[w,..._]),()=>pn(..._),"number format",w=>w[kn](..._),Co,w=>D(w)||se(w))}function Zt(..._){return me(w=>Reflect.apply(fo,null,[w,..._]),()=>mn(..._),"datetime format",w=>w[En](..._),Co,w=>D(w)||se(w))}function Jt(_){I=_,N.pluralRules=I}function Qt(_,w){return me(()=>{if(!_)return!1;const q=D(w)?w:s.value,oe=He(q),ze=N.messageResolver(oe,_);return Le(ze)||Se(ze)||D(ze)},()=>[_],"translate exists",q=>Reflect.apply(q.te,q,[_,w]),Ls,q=>le(q))}function lt(_){let w=null;const q=Yo(N,c.value,s.value);for(let oe=0;oe<q.length;oe++){const ze=d.value[q[oe]]||{},pt=N.messageResolver(ze,_);if(pt!=null){w=pt;break}}return w}function rt(_){const w=lt(_);return w??(n?n.tm(_)||{}:{})}function He(_){return d.value[_]||{}}function it(_,w){if(r){const q={[_]:w};for(const oe in q)be(q,oe)&&dt(q[oe]);w=q[_]}d.value[_]=w,N.messages=d.value}function en(_,w){d.value[_]=d.value[_]||{};const q={[_]:w};if(r)for(const oe in q)be(q,oe)&&dt(q[oe]);w=q[_],St(w,d.value[_]),N.messages=d.value}function u(_){return m.value[_]||{}}function f(_,w){m.value[_]=w,N.datetimeFormats=m.value,mo(N,_,w)}function v(_,w){m.value[_]=de(m.value[_]||{},w),N.datetimeFormats=m.value,mo(N,_,w)}function $(_){return E.value[_]||{}}function te(_,w){E.value[_]=w,N.numberFormats=E.value,go(N,_,w)}function ne(_,w){E.value[_]=de(E.value[_]||{},w),N.numberFormats=E.value,go(N,_,w)}No++,n&&Be&&(t.watch(n.locale,_=>{a&&(s.value=_,N.locale=_,at(N,s.value,c.value))}),t.watch(n.fallbackLocale,_=>{a&&(c.value=_,N.fallbackLocale=_,at(N,s.value,c.value))}));const j={id:No,locale:J,fallbackLocale:ce,get inheritLocale(){return a},set inheritLocale(_){a=_,_&&n&&(s.value=n.locale.value,c.value=n.fallbackLocale.value,at(N,s.value,c.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:F,get modifiers(){return b},get pluralRules(){return I||{}},get isGlobal(){return l},get missingWarn(){return h},set missingWarn(_){h=_,N.missingWarn=h},get fallbackWarn(){return C},set fallbackWarn(_){C=_,N.fallbackWarn=C},get fallbackRoot(){return V},set fallbackRoot(_){V=_},get fallbackFormat(){return L},set fallbackFormat(_){L=_,N.fallbackFormat=L},get warnHtmlMessage(){return S},set warnHtmlMessage(_){S=_,N.warnHtmlMessage=_},get escapeParameter(){return p},set escapeParameter(_){p=_,N.escapeParameter=_},t:Ue,getLocaleMessage:He,setLocaleMessage:it,mergeLocaleMessage:en,getPostTranslationHandler:P,setPostTranslationHandler:A,getMissingHandler:z,setMissingHandler:R,[vs]:Jt};return j.datetimeFormats=he,j.numberFormats=Ae,j.rt=Wt,j.te=Qt,j.tm=rt,j.d=jt,j.n=Kt,j.getDateTimeFormat=u,j.setDateTimeFormat=f,j.mergeDateTimeFormat=v,j.getNumberFormat=$,j.setNumberFormat=te,j.mergeNumberFormat=ne,j[al]=o,j[hn]=mt,j[En]=Zt,j[kn]=Xt,process.env.NODE_ENV!=="production"&&(j[_n]=_=>{N.__v_emitter=_},j[yn]=()=>{N.__v_emitter=void 0}),j}function So(e,n){}const Bn={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function As({slots:e},n){return n.length===1&&n[0]==="default"?(e.default?e.default():[]).reduce((l,r)=>[...l,...r.type===t.Fragment?r.children:[r]],[]):n.reduce((o,l)=>{const r=e[l];return r&&(o[l]=r()),o},Z())}function ul(){return t.Fragment}de({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ue(e)||!isNaN(e)}},Bn);function Is(e){return se(e)&&!D(e[0])}function dl(e,n,o,l){const{slots:r,attrs:i}=n;return()=>{const a={part:!0};let s=Z();e.locale&&(a.locale=e.locale),D(e.format)?a.key=e.format:Y(e.format)&&(D(e.format.key)&&(a.key=e.format.key),s=Object.keys(e.format).reduce((h,C)=>o.includes(C)?de(Z(),h,{[C]:e.format[C]}):h,Z()));const c=l(e.value,a,s);let d=[a.key];se(c)?d=c.map((h,C)=>{const V=r[h.type],L=V?V({[h.type]:h.value,index:C,parts:c}):[h.value];return Is(L)&&(L[0].key=`${h.type}-${C}`),L}):D(c)&&(d=[c]);const m=de(Z(),i),E=D(e.tag)||Y(e.tag)?e.tag:ul();return t.h(E,m,d)}}de({value:{type:Number,required:!0},format:{type:[String,Object]}},Bn);const Vs=Pe("global-vue-i18n");function Mt(e={}){const n=t.getCurrentInstance();if(n==null)throw ut(fe.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw ut(fe.NOT_INSTALLED);const o=Os(n),l=Bs(o),r=cl(n),i=Ds(e,r);if(i==="global")return bs(l,e,r),l;if(i==="parent"){let c=Ps(o,n,e.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&Me(Dn($e.NOT_FOUND_PARENT_SCOPE)),c=l),c}const a=o;let s=a.__getInstance(n);if(s==null){const c=de({},e);"__i18n"in r&&(c.__i18n=r.__i18n),l&&(c.__root=l),s=ws(c),a.__composerExtend&&(s[Cn]=a.__composerExtend(s)),$s(a,n,s),a.__setInstance(n,s)}return s}function Os(e){const n=t.inject(e.isCE?Vs:e.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw ut(e.isCE?fe.NOT_INSTALLED_WITH_PROVIDE:fe.UNEXPECTED_ERROR);return n}function Ds(e,n){return Pt(e)?"__i18n"in n?"local":"global":e.useScope?e.useScope:"local"}function Bs(e){return e.mode==="composition"?e.global:e.global.__composer}function Ps(e,n,o=!1){let l=null;const r=n.root;let i=Rs(n,o);for(;i!=null;){const a=e;if(e.mode==="composition")l=a.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const s=a.__getInstance(i);s!=null&&(l=s.__composer,o&&l&&!l[al]&&(l=null))}if(l!=null||r===i)break;i=i.parent}return l}function Rs(e,n=!1){return e==null?null:n&&e.vnode.ctx||e.parent}function $s(e,n,o){let l=null;t.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&n.vnode.el){n.vnode.el.__VUE_I18N__=o,l=zi();const r=o;r[_n]&&r[_n](l),l.on("*",So)}},n),t.onUnmounted(()=>{const r=o;process.env.NODE_ENV!=="production"&&n.vnode.el&&n.vnode.el.__VUE_I18N__&&(l&&l.off("*",So),r[yn]&&r[yn](),delete n.vnode.el.__VUE_I18N__),e.__deleteInstance(n);const i=r[Cn];i&&(i(),delete r[Cn])},n)}de({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Bn);Cs();Qa(Va);es(Ya);ts(Yo);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=Ke();e.__INTLIFY__=!0,Oa(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const X=t.defineComponent({__name:"Tooltip",props:{title:{default:void 0},placement:{default:"top"}},setup(e){let n;typeof document<"u"&&(n=import("bootstrap"));const o=e,l=t.ref(),r=t.ref(),i=t.ref();return t.onMounted(async()=>{t.nextTick(async()=>{const a=await n;typeof document<"u"&&r.value&&i.value&&(l.value=new a.Tooltip(r.value,{trigger:"hover",html:!0,placement:o.placement,title:i.value.innerHTML,customClass:"tooltip-custom"}))})}),t.onBeforeUnmount(async()=>{var a;(a=l.value)==null||a.dispose()}),(a,s)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("span",t.mergeProps({ref_key:"$tooltip",ref:r},a.$attrs),[t.renderSlot(a.$slots,"default")],16),t.createElementVNode("span",{class:"d-none",ref_key:"$tooltipContent",ref:i},[t.renderSlot(a.$slots,"content",{},()=>[t.createTextVNode(t.toDisplayString(a.title),1)])],512)],64))}}),Ms=t.defineComponent({name:"TaskIcon",__name:"TaskIcon",props:{customIcon:{},cls:{},theme:{},icons:{},onlyIcon:{type:Boolean},variable:{}},setup(e){const n=e,o=t.computed(()=>`data:image/svg+xml;base64,${i.value}`),l=t.computed(()=>({flowable:a.value?a.value.flowable:!1})),r=t.computed(()=>({backgroundImage:`url(${o.value})`})),i=t.computed(()=>{let c=a.value&&a.value.icon?window.atob(a.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 d=document.getElementsByTagName("html")[0].className.indexOf("dark")>=0;let m=Ne(d?"--bs-gray-900":"--bs-black")??"#FFFFFF";return n.theme&&(m=(n.theme==="dark"?Ne("--bs-gray-900"):Ne("--bs-black"))??m),n.variable&&(m=Ne(n.variable)??m),c=c.replace(/currentColor/g,m),window.btoa(c)}),a=t.computed(()=>n.cls?(n.icons||{})[s(n.cls)]:n.customIcon);function s(c){return c.includes("$")?c.substring(0,c.indexOf("$")):c}return(c,d)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass([l.value,"wrapper"])},[c.onlyIcon?(t.openBlock(),t.createElementBlock("div",{key:1,class:"icon",style:t.normalizeStyle(r.value)},null,4)):(t.openBlock(),t.createBlock(X,{key:0,title:c.cls},{default:t.withCtx(()=>[t.createElementVNode("div",{class:"icon",style:t.normalizeStyle(r.value)},null,4)]),_:1},8,["title"]))],2))}}),Pn=B(Ms,[["__scopeId","data-v-23f8d853"]]),xs={name:"OpenInNewIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Fs=["aria-hidden","aria-label"],Us=["fill","width","height"],Hs={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"},zs={key:0};function Gs(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon open-in-new-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Hs,[o.title?(t.openBlock(),t.createElementBlock("title",zs,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Us))],16,Fs)}const Rn=B(xs,[["render",Gs]]),Ws={name:"ArrowExpandAllIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},js=["aria-hidden","aria-label"],Ks=["fill","width","height"],Ys={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"},qs={key:0};function Xs(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon arrow-expand-all-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Ys,[o.title?(t.openBlock(),t.createElementBlock("title",qs,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Ks))],16,js)}const Zs=B(Ws,[["render",Xs]]),Js={class:"dependency-text d-flex flex-column flex-grow-1"},Qs={class:"dependency-flow-text text-truncate"},ec={class:"dependency-namespace-text text-truncate"},tc={class:"text-white top-button-div"},nc=t.defineComponent({name:"Dependencies",inheritAttrs:!1,__name:"DependenciesNode",props:{data:{type:Object,required:!0},sourcePosition:{type:String,required:!0},targetPosition:{type:String,required:!0},id:{type:String,required:!0}},emits:[y.EVENTS.EXPAND_DEPENDENCIES,y.EVENTS.OPEN_LINK,y.EVENTS.MOUSE_OVER,y.EVENTS.MOUSE_LEAVE],setup(e,{emit:n}){const o=n,{t:l}=Mt(),r=t.computed(()=>window.btoa(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="25" viewBox="0 0 24 25" fill="none">
23
23
  <path fill-rule="evenodd" clip-rule="evenodd" d="M4.34546 9.63757C4.74074 10.5277 5.31782 11.3221 6.03835 11.9681L7.03434 10.8209C6.4739 10.3185 6.02504 9.70059 5.71758 9.00824C5.41012 8.3159 5.25111 7.56496 5.25111 6.80532C5.25111 6.04568 5.41012 5.29475 5.71758 4.6024C6.02504 3.91006 6.4739 3.29216 7.03434 2.78977L6.03835 1.64258C5.31782 2.28851 4.74074 3.08293 4.34546 3.97307C3.95019 4.86321 3.74575 5.82867 3.74575 6.80532C3.74575 7.78197 3.95019 8.74744 4.34546 9.63757ZM16.955 4.38931C17.4802 3.97411 18.1261 3.74777 18.7913 3.74576C19.5894 3.74576 20.3547 4.06807 20.919 4.64177C21.4833 5.21548 21.8004 5.9936 21.8004 6.80494C21.8004 7.61628 21.4833 8.3944 20.919 8.96811C20.3547 9.54181 19.5894 9.86412 18.7913 9.86412C18.2559 9.86126 17.7312 9.71144 17.2725 9.43048L12.3325 14.4529L11.2688 13.3715L16.2088 8.34906C16.0668 8.10583 15.9592 7.84348 15.8891 7.56973H11.2688V6.04014H15.8891C16.055 5.38511 16.4298 4.80451 16.955 4.38931ZM17.9555 8.07674C18.2029 8.24482 18.4938 8.33453 18.7913 8.33453C19.1902 8.33412 19.5727 8.17284 19.8548 7.88607C20.1368 7.59931 20.2955 7.21049 20.2959 6.80494C20.2959 6.50241 20.2076 6.20668 20.0423 5.95514C19.877 5.70361 19.642 5.50756 19.3671 5.39178C19.0922 5.27601 18.7897 5.24572 18.4978 5.30474C18.206 5.36376 17.9379 5.50944 17.7275 5.72336C17.5171 5.93727 17.3738 6.20982 17.3157 6.50653C17.2577 6.80324 17.2875 7.11079 17.4014 7.39029C17.5152 7.66978 17.7081 7.90867 17.9555 8.07674ZM3.74621 15.2177V16.7473H7.19606L2.2417 21.7842L3.30539 22.8656L8.25975 17.8287V21.336H9.76427V15.2177H3.74621ZM15.7823 18.2769H12.7733V19.8064H15.7823V22.1008H21.8004V15.9825H15.7823V18.2769ZM17.2868 20.5712V17.5121H20.2959V20.5712H17.2868ZM8.02885 9.67292C7.62863 9.31407 7.30809 8.87275 7.08853 8.37827C6.86897 7.88378 6.75542 7.34747 6.75542 6.80494C6.75542 6.26241 6.86897 5.72609 7.08853 5.23161C7.30809 4.73713 7.62863 4.29581 8.02885 3.93696L9.02484 5.08415C8.78458 5.29946 8.59215 5.5643 8.46034 5.86106C8.32853 6.15782 8.26035 6.47971 8.26035 6.80532C8.26035 7.13094 8.32853 7.45282 8.46034 7.74958C8.59215 8.04634 8.78458 8.31118 9.02484 8.52649L8.02885 9.67292Z" fill="white"/>
24
- </svg>`));return(o,s)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createVNode(r.unref(te.Handle),{type:"source",position:e.sourcePosition},null,8,["position"]),r.createElementVNode("div",{class:r.normalizeClass([[`border-${e.data.color}`],"dependency-node-wrapper rounded-3 border"])},[r.createVNode(Do,{"custom-icon":{icon:a.value},class:"bg-pink rounded",theme:"light"},null,8,["custom-icon"]),r.createElementVNode("div",N_,[r.createElementVNode("div",w_,[r.createVNode(le,{title:e.data.flowId},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(e.data.flowId),1)]),_:1},8,["title"])]),r.createElementVNode("div",S_,[r.createVNode(le,{title:e.data.namespace},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(e.data.namespace),1)]),_:1},8,["title"])])]),r.createElementVNode("div",L_,[r.renderSlot(o.$slots,"badge-button-before",{},void 0,!0),e.data.link?(r.openBlock(),r.createElementBlock("span",{key:0,class:r.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:s[0]||(s[0]=l=>o.$emit(r.unref(H).OPEN_LINK,e.data))},[r.createVNode(le,{title:r.unref(i)("open")},{default:r.withCtx(()=>[r.createVNode(Po,{class:"button-icon",alt:"Open in new tab"})]),_:1},8,["title"])],2)):r.createCommentVNode("",!0),e.data.expandEnabled?(r.openBlock(),r.createElementBlock("span",{key:1,class:r.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:s[1]||(s[1]=l=>n(r.unref(H).EXPAND_DEPENDENCIES,e.data))},[r.createVNode(le,{title:r.unref(i)("expand")},{default:r.withCtx(()=>[r.createVNode(C_,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):r.createCommentVNode("",!0),r.renderSlot(o.$slots,"badge-button-after",{},void 0,!0)])],2),r.createVNode(r.unref(te.Handle),{type:"target",position:e.targetPosition},null,8,["position"])],64))}}),I_=K(T_,[["__scopeId","data-v-2271d5b0"]]);var Ye=(e=>(e.Lines="lines",e.Dots="dots",e))(Ye||{});const ff=function({dimensions:e,size:t,color:n}){return r.h("path",{stroke:n,"stroke-width":t,d:`M${e[0]/2} 0 V${e[1]} M0 ${e[1]/2} H${e[0]}`})},hf=function({radius:e,color:t}){return r.h("circle",{cx:e,cy:e,r:e,fill:t})};Ye.Lines+"",Ye.Dots+"";const A_={[Ye.Dots]:"#81818a",[Ye.Lines]:"#eee"},O_=["id","x","y","width","height","patternTransform"],R_={key:2,height:"100",width:"100"},D_=["fill"],P_=["x","y","fill"],B_={name:"Background",compatConfig:{MODE:3}},V_=r.defineComponent({...B_,props:{id:{},variant:{default:()=>Ye.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:2}},setup(e){const{id:t,viewport:n}=te.useVueFlow(),i=r.computed(()=>{const[s,l]=Array.isArray(e.gap)?e.gap:[e.gap,e.gap],u=[s*n.value.zoom||1,l*n.value.zoom||1],c=e.size*n.value.zoom,d=e.variant===Ye.Dots?[c/e.offset,c/e.offset]:[u[0]/e.offset,u[1]/e.offset];return{scaledGap:u,offset:d,size:c}}),a=r.toRef(()=>`pattern-${t}${e.id?`-${e.id}`:""}`),o=r.toRef(()=>e.color||e.patternColor||A_[e.variant||Ye.Dots]);return(s,l)=>(r.openBlock(),r.createElementBlock("svg",{class:"vue-flow__background vue-flow__container",style:r.normalizeStyle({height:`${s.height>100?100:s.height}%`,width:`${s.width>100?100:s.width}%`})},[r.renderSlot(s.$slots,"pattern-container",{id:a.value},()=>[r.createElementVNode("pattern",{id:a.value,x:r.unref(n).x%i.value.scaledGap[0],y:r.unref(n).y%i.value.scaledGap[1],width:i.value.scaledGap[0],height:i.value.scaledGap[1],patternTransform:`translate(-${i.value.offset[0]},-${i.value.offset[1]})`,patternUnits:"userSpaceOnUse"},[r.renderSlot(s.$slots,"pattern",{},()=>[s.variant===r.unref(Ye).Lines?(r.openBlock(),r.createBlock(r.unref(ff),{key:0,size:s.lineWidth,color:o.value,dimensions:i.value.scaledGap},null,8,["size","color","dimensions"])):s.variant===r.unref(Ye).Dots?(r.openBlock(),r.createBlock(r.unref(hf),{key:1,color:o.value,radius:i.value.size/s.offset},null,8,["color","radius"])):r.createCommentVNode("",!0),s.bgColor?(r.openBlock(),r.createElementBlock("svg",R_,[r.createElementVNode("rect",{width:"100%",height:"100%",fill:s.bgColor},null,8,D_)])):r.createCommentVNode("",!0)])],8,O_)]),r.createElementVNode("rect",{x:s.x,y:s.y,width:"100%",height:"100%",fill:`url(#${a.value})`},null,8,P_),r.renderSlot(s.$slots,"default",{id:a.value})],4))}}),M_={name:"ArrowCollapseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},x_=["aria-hidden","aria-label"],$_=["fill","width","height"],q_={d:"M19.5,3.09L15,7.59V4H13V11H20V9H16.41L20.91,4.5L19.5,3.09M4,13V15H7.59L3.09,19.5L4.5,20.91L9,16.41V20H11V13H4Z"},F_={key:0};function U_(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon arrow-collapse-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",q_,[n.title?(r.openBlock(),r.createElementBlock("title",F_,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,$_))],16,x_)}const H_=K(M_,[["render",U_]]),G_={class:"top-button-div text-white d-flex"},z_={inheritAttrs:!1,components:{Tooltip:le},data(){return{tooltips:[]}},computed:{classes(){return{"unused-path":this.data.unused}},clusterName(){var t;const e=this.data.taskNode;if((t=e==null?void 0:e.type)!=null&&t.endsWith("SubflowGraphTask")){const n=e.task.subflowId??e.task;return n.namespace+" "+n.flowId}return ge.afterLastDot(this.id)}}},W_=Object.assign(z_,{__name:"ClusterNode",props:{data:{type:Object,default:void 0},sourcePosition:{type:te.Position,default:void 0},targetPosition:{type:te.Position,default:void 0},id:{type:String,default:void 0}},emits:[H.COLLAPSE],setup(e,{emit:t}){const n=e,i=t,a=()=>{i(H.COLLAPSE,n.id)};return(o,s)=>(r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(o.classes)},[r.createElementVNode("span",{class:r.normalizeClass(["badge rounded-pill text-truncate text-color position-reliative",[`bg-${e.data.color}`]])},r.toDisplayString(o.clusterName),3),r.createElementVNode("div",G_,[e.data.collapsable?(r.openBlock(),r.createElementBlock("span",{key:0,class:r.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:s[0]||(s[0]=l=>a())},[r.createVNode(le,{title:o.$t("collapse")},{default:r.withCtx(()=>[r.createVNode(H_,{class:"button-icon",alt:"Collapse task"})]),_:1},8,["title"])],2)):r.createCommentVNode("",!0)])],2))}}),j_=K(W_,[["__scopeId","data-v-0c251e77"]]),K_={name:"CircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Y_=["aria-hidden","aria-label"],X_=["fill","width","height"],Z_={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"},J_={key:0};function Q_(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon circle-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",Z_,[n.title?(r.openBlock(),r.createElementBlock("title",J_,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,X_))],16,Y_)}const mf=K(K_,[["render",Q_]]),eE={name:"Dot",components:{Handle:te.Handle,CircleIcon:mf},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,[ge.afterLastDot(this.data.node.type)]:!0}}}},tE=Object.assign(eE,{setup(e){return(t,n)=>(r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(t.classes)},[r.createVNode(r.unref(te.Handle),{type:"source",class:"custom-handle",position:e.sourcePosition},null,8,["position"]),r.createElementVNode("div",{class:r.normalizeClass(["dot",t.classes])},[r.createVNode(mf,{class:r.normalizeClass([{"text-danger":e.data.node.branchType==="ERROR"},"circle"]),alt:"circle"},null,8,["class"])],2),r.createVNode(r.unref(te.Handle),{type:"target",class:"custom-handle",position:e.targetPosition},null,8,["position"])],2))}}),nE=K(tE,[["__scopeId","data-v-666f472b"]]),rE={name:"PlusIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},iE=["aria-hidden","aria-label"],aE=["fill","width","height"],oE={d:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"},sE={key:0};function lE(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon plus-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",oE,[n.title?(r.openBlock(),r.createElementBlock("title",sE,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,aE))],16,iE)}const uE=K(rE,[["render",lE]]),cE={class:"add-task-div rounded d-flex justify-content-center align-items-center"},dE=r.defineComponent({name:"AddTaskButton",__name:"AddTaskButton",props:{addTask:{type:Boolean}},setup(e){return(t,n)=>(r.openBlock(),r.createElementBlock("div",cE,[t.addTask?(r.openBlock(),r.createBlock(uE,{key:0,alt:"add task icon"})):r.createCommentVNode("",!0)]))}}),fE=K(dE,[["__scopeId","data-v-4afc4738"]]),hE={data(){return{tooltips:[]}},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}},components:{AddTaskButton:fE,EdgeLabelRenderer:te.EdgeLabelRenderer,Tooltip:le},computed:{Utils(){return ge},EVENTS(){return H},classes(){return{"vue-flow__edge-path":!0,["stroke-"+this.data.color]:this.data.color,"unused-path":this.data.unused}},title(){const{haveAdd:e}=this.data;return`${this.$t("add task")} ${(e==null?void 0:e.length)===2?`${this.$t(e[1])} ${e[0]}`:""}`.trim()}},setup(e){return{path:r.computed(()=>te.getSmoothStepPath(e))}},inheritAttrs:!1},mE=["id","d","marker-end"];function pE(e,t,n,i,a,o){const s=r.resolveComponent("AddTaskButton"),l=r.resolveComponent("tooltip"),u=r.resolveComponent("EdgeLabelRenderer");return r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createElementVNode("path",{id:n.id,class:r.normalizeClass(o.classes),style:r.normalizeStyle(n.data.haveDashArray?{strokeDasharray:"2"}:{}),d:i.path[0],"marker-end":n.markerEnd},null,14,mE),r.createVNode(u,{style:{"z-index":"10"}},{default:r.withCtx(()=>[r.createElementVNode("div",{style:r.normalizeStyle({pointerEvents:"all",position:"absolute",transform:`translate(-50%, -50%) translate(${i.path[1]}px,${i.path[2]}px)`})},[r.createVNode(l,{title:o.title},{default:r.withCtx(()=>[n.data.haveAdd?(r.openBlock(),r.createBlock(s,{key:0,"add-task":!0,onClick:t[0]||(t[0]=c=>e.$emit(o.EVENTS.ADD_TASK,n.data.haveAdd)),class:r.normalizeClass({"text-danger":n.data.color})},null,8,["class"])):r.createCommentVNode("",!0)]),_:1},8,["title"])],4)]),_:1})],64)}const gE=K(hE,[["render",pE],["__scopeId","data-v-a3e1d999"]]),vE={name:"InformationOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},_E=["aria-hidden","aria-label"],EE=["fill","width","height"],yE={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"},bE={key:0};function kE(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon information-outline-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",yE,[n.title?(r.openBlock(),r.createElementBlock("title",bE,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,EE))],16,_E)}const pf=K(vE,[["render",kE]]),CE={name:"ArrowExpandIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},NE=["aria-hidden","aria-label"],wE=["fill","width","height"],SE={d:"M10,21V19H6.41L10.91,14.5L9.5,13.09L5,17.59V14H3V21H10M14.5,10.91L19,6.41V10H21V3H14V5H17.59L13.09,9.5L14.5,10.91Z"},LE={key:0};function TE(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon arrow-expand-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",SE,[n.title?(r.openBlock(),r.createElementBlock("title",LE,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,wE))],16,NE)}const En=K(CE,[["render",TE]]),yn=Symbol("execution-injection-key"),gf=Symbol("subflows-executions-injection-key"),IE={class:"icon rounded"},AE={class:"node-content"},OE={class:"d-flex node-title"},RE={class:"text-truncate task-title"},DE={key:0,class:"d-flex"},PE={class:"text-white top-button-div"},BE={components:{ArrowExpand:En,InformationOutline:pf,OpenInNew:Po,Tooltip:le},emits:[H.EXPAND,H.OPEN_LINK,H.SHOW_LOGS,H.MOUSE_OVER,H.MOUSE_LEAVE,H.ADD_ERROR,H.EDIT,H.DELETE,H.ADD_TASK,H.SHOW_DESCRIPTION],inheritAttrs:!1,props:{id:{type:String,default:void 0},title:{type:String,default:void 0},type:{type:String,default:void 0},disabled:{type:Boolean,default:void 0},state:{type:String,default:void 0},data:{type:Object,required:!0},icons:{type:Object,default:void 0},iconComponent:{type:Object,default:void 0}},methods:{mouseover(){this.$emit(H.MOUSE_OVER,this.data.node)},mouseleave(){this.$emit(H.MOUSE_LEAVE)}},data(){return{filter:void 0,isOpen:!1}},inject:{execution:{from:yn}},computed:{Utils(){return ge},borderColor(){const e=this.data.color?this.data.color==="default"?null:this.data.color:null;return e||(this.expandable?"blue":null)},EVENTS(){return H},expandable(){var e;return((e=this.data)==null?void 0:e.expandable)||!1},description(){const e=this.data.node.task??this.data.node.trigger??null;return e?e.description??null:null},trimmedId(){return ge.afterLastDot(this.id)},taskIconBg(){return["default","danger"].includes(this.data.color)?"":this.data.color},stateColor(){switch(this.state){case"RUNNING":return"primary";case"SUCCESS":return"success";case"WARNING":return"warning";case"FAILED":return"danger";default:return null}},classes(){var e,t,n,i;return{"unused-path":this.data.unused,[`border-${this.borderColor}`]:this.borderColor,disabled:((e=this.data.node.task)==null?void 0:e.disabled)||((i=(n=(t=this.data.parent)==null?void 0:t.taskNode)==null?void 0:n.task)==null?void 0:i.disabled),[this.$attrs.class]:!0}},cls(){var e;if(this.data.node.triggerDeclaration)return this.data.node.triggerDeclaration.type;if((e=this.data.node)!=null&&e.task)return this.data.node.task.type},hoverTooltip(){var e;if((e=this.data.node.type)!=null&&e.endsWith("SubflowGraphTask")){const t=this.data.node.task.subflowId??this.data.node.task;return t.namespace+" "+t.flowId}return this.trimmedId}}},VE=Object.assign(BE,{__name:"BasicNode",setup(e){return(t,n)=>(r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass([t.classes,"node-wrapper rounded-3 border"]),onMouseover:n[3]||(n[3]=(...i)=>t.mouseover&&t.mouseover(...i)),onMouseleave:n[4]||(n[4]=(...i)=>t.mouseleave&&t.mouseleave(...i))},[e.state?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(["status-div",[`bg-${t.stateColor}`]])},null,2)):r.createCommentVNode("",!0),r.createElementVNode("div",IE,[(r.openBlock(),r.createBlock(r.resolveDynamicComponent(e.iconComponent||Do),{cls:t.cls,class:r.normalizeClass([t.taskIconBg,"rounded bg-white"]),theme:"light",icons:e.icons},null,8,["cls","class","icons"]))]),r.createElementVNode("div",AE,[r.createElementVNode("div",OE,[r.createElementVNode("div",RE,[r.createVNode(le,{title:t.hoverTooltip},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(e.title??t.trimmedId),1)]),_:1},8,["title"])]),t.description?(r.openBlock(),r.createElementBlock("span",DE,[r.createVNode(le,{title:t.$t("show description"),class:"d-flex align-items-center"},{default:r.withCtx(()=>[r.createVNode(pf,{onClick:n[0]||(n[0]=i=>t.$emit(r.unref(H).SHOW_DESCRIPTION,{id:t.trimmedId,description:t.description})),class:"description-button ms-2"})]),_:1},8,["title"])])):r.createCommentVNode("",!0)]),r.renderSlot(t.$slots,"content",{},void 0,!0)]),r.createElementVNode("div",PE,[r.renderSlot(t.$slots,"badge-button-before",{},void 0,!0),e.data.link?(r.openBlock(),r.createElementBlock("span",{key:0,class:r.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:n[1]||(n[1]=i=>t.$emit(r.unref(H).OPEN_LINK,{link:e.data.link}))},[r.createVNode(le,{title:t.$t("open")},{default:r.withCtx(()=>[r.createVNode(Po,{class:"button-icon",alt:"Open in new tab"})]),_:1},8,["title"])],2)):r.createCommentVNode("",!0),t.expandable?(r.openBlock(),r.createElementBlock("span",{key:1,class:r.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:n[2]||(n[2]=i=>t.$emit(r.unref(H).EXPAND))},[r.createVNode(le,{title:t.$t("expand")},{default:r.withCtx(()=>[r.createVNode(En,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):r.createCommentVNode("",!0),r.renderSlot(t.$slots,"badge-button-after",{},void 0,!0)])],34))}}),vf=K(VE,[["__scopeId","data-v-ee0adf33"]]),ME=["innerHTML"],xE=r.defineComponent({__name:"Duration",props:{histories:{}},setup(e){const t=e;r.watch(()=>t.histories,(m,C)=>{C[0].date!==m[0].date&&l()});const n=r.ref(""),i=r.ref();r.onMounted(()=>{l()});const a=r.computed(()=>{var m;return((m=t.histories)==null?void 0:m.length)&&new Date(t.histories[0].date.toString()).getTime()}),o=r.computed(()=>t.histories[t.histories.length-1]),s=r.computed(()=>t.histories.filter(m=>m.date.isValid()&&m.date&&m.state));function l(){i.value||(i.value=setInterval(()=>{f(),t.histories&&!Ce.isRunning(o.value.state)&&u()},100))}function u(){i.value&&(clearInterval(i.value),i.value=void 0)}function c(){return d()-a.value}function d(){return!t.histories||Ce.isRunning(o.value.state)?+new Date:new Date(o.value.date.toString()).getTime()}function f(){n.value=s.value.length===0?"&nbsp;":ge.humanDuration(c()/1e3)}function h(m){return"ks-duration-tt-square-"+m.toLowerCase()}return r.onBeforeUnmount(()=>{u()}),(m,C)=>(r.openBlock(),r.createBlock(le,{key:o.value.date.toString()},{content:r.withCtx(()=>[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(s.value,(E,_)=>(r.openBlock(),r.createElementBlock("span",{key:"tt-"+_,class:"ks-duration-tt"},[r.createElementVNode("span",{class:r.normalizeClass(["ks-duration-tt-square",h(E.state)])},null,2),r.createElementVNode("strong",null,r.toDisplayString(E.state)+": ",1),r.createTextVNode(r.toDisplayString(r.unref(ge).dateFilter(E.date.toString(),"iso"))+" ",1),C[0]||(C[0]=r.createElementVNode("br",null,null,-1))]))),128))]),default:r.withCtx(()=>[r.createElementVNode("span",{innerHTML:n.value},null,8,ME)]),_:1}))}}),$E={class:"btn-group content rounded-1 content-children text-truncate"},qE={key:0,class:"taskRunCount"},FE={key:1},UE={key:2},HE=r.defineComponent({name:"ExecutionInformations",__name:"ExecutionInformations",props:{color:{},uid:{},execution:{},task:{}},setup(e){const t=e,n=r.computed(()=>{var s;return(s=t.execution)!=null&&s.taskRunList?t.execution.taskRunList:[]}),i=r.computed(()=>n.value.filter(s=>s.taskId===ge.afterLastDot(t.uid??""))),a=r.computed(()=>{if(!i.value)return null;if(i.value.length===1)return i.value[0].state.current;const s=i.value.map(c=>c.state.current),l=[Ce.FAILED,Ce.KILLED,Ce.WARNING,Ce.KILLING,Ce.RUNNING,Ce.SUCCESS,Ce.RESTARTED,Ce.CREATED];return s.map(c=>{const d=l.indexOf(c[1]);return l[d]=void 0,[d,c]}).sort().map(c=>c[1])[0]}),o=r.computed(()=>{if(!i.value)return;const s=Math.max(...i.value.filter(u=>u.state.histories&&u.state.histories.length>0).map(u=>new Date(u.state.histories[u.state.histories.length-1].date).getTime())),l=Math.max(...i.value.map(u=>Rt.duration(u.state.duration).asMilliseconds()/1e3,0));return[{date:Rt(s).subtract(l,"second"),state:"CREATED"},{date:Rt(s),state:a.value}]});return(s,l)=>(r.openBlock(),r.createElementBlock("div",$E,[i.value.length>0?(r.openBlock(),r.createElementBlock("span",qE,r.toDisplayString(i.value.length)+" task runs",1)):r.createCommentVNode("",!0),i.value.length>0?(r.openBlock(),r.createElementBlock("span",FE," | ")):r.createCommentVNode("",!0),o.value?(r.openBlock(),r.createElementBlock("span",UE,[r.createVNode(xE,{histories:o.value},null,8,["histories"])])):r.createCommentVNode("",!0)]))}}),_f=K(HE,[["__scopeId","data-v-b7801302"]]),GE={name:"PencilIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},zE=["aria-hidden","aria-label"],WE=["fill","width","height"],jE={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"},KE={key:0};function YE(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon pencil-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",jE,[n.title?(r.openBlock(),r.createElementBlock("title",KE,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,WE))],16,zE)}const bn=K(GE,[["render",YE]]),XE={name:"DeleteIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ZE=["aria-hidden","aria-label"],JE=["fill","width","height"],QE={d:"M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z"},ey={key:0};function ty(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon delete-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",QE,[n.title?(r.openBlock(),r.createElementBlock("title",ey,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,JE))],16,ZE)}const kn=K(XE,[["render",ty]]),ny={name:"TextBoxSearchIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ry=["aria-hidden","aria-label"],iy=["fill","width","height"],ay={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"},oy={key:0};function sy(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon text-box-search-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",ay,[n.title?(r.openBlock(),r.createElementBlock("title",oy,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,iy))],16,ry)}const Ef=K(ny,[["render",sy]]),ly={name:"AlertOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},uy=["aria-hidden","aria-label"],cy=["fill","width","height"],dy={d:"M12,2L1,21H23M12,6L19.53,19H4.47M11,10V14H13V10M11,16V18H13V16"},fy={key:0};function hy(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon alert-outline-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",dy,[n.title?(r.openBlock(),r.createElementBlock("title",fy,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,cy))],16,uy)}const yf=K(ly,[["render",hy]]),my={name:"SendLockIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},py=["aria-hidden","aria-label"],gy=["fill","width","height"],vy={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"},_y={key:0};function Ey(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon send-lock-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",vy,[n.title?(r.openBlock(),r.createElementBlock("title",_y,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,gy))],16,py)}const bf=K(my,[["render",Ey]]),yy={name:"Task",components:{Pencil:bn,Delete:kn,ExecutionInformations:_f,Handle:te.Handle,TextBoxSearch:Ef,AlertOutline:yf,Tooltip:le,SendLock:bf},inheritAttrs:!1,inject:{execution:{from:yn},subflowsExecutions:{from:gf}},computed:{SECTIONS(){return Qe},EVENTS(){return H},color(){return this.data.color??"primary"},taskId(){return ge.afterLastDot(this.id)},taskRunList(){return this.taskExecution&&this.taskExecution.taskRunList?this.taskExecution.taskRunList:[]},taskExecution(){var t,n;const e=this.data.executionId;if(e)return e===((t=this.execution)==null?void 0:t.id)?this.execution:(n=Object.values(this.subflowsExecutions).filter(i=>i.id===this.data.executionId))==null?void 0:n[0]},taskRuns(){return this.taskRunList.filter(e=>e.taskId===ge.afterLastDot(this.data.node.uid))},state(){if(!this.taskRuns)return null;if(this.taskRuns.length===1)return this.taskRuns[0].state.current;const e=this.taskRuns.map(i=>i.state.current),t=[Ce.FAILED,Ce.KILLED,Ce.WARNING,Ce.KILLING,Ce.RUNNING,Ce.SUCCESS,Ce.RESTARTED,Ce.CREATED];return e.map(i=>{const a=t.indexOf(i[1]);return t[a]=void 0,[a,i]}).sort().map(i=>i[1])[0]},classes(){return{"execution-no-taskrun":this.taskExecution&&this.taskRuns&&this.taskRuns.length===0}},expandData(){return{id:this.id,type:this.data.node.task.type}},dataWithLink(){var e,t,n,i,a;if((e=this.data.node.type)!=null&&e.endsWith("SubflowGraphTask")&&this.enableSubflowInteraction){const o=this.data.node.task.subflowId??this.data.node.task;return{...this.data,link:{namespace:o.namespace,id:o.flowId,executionId:(a=(i=(n=(t=this.taskExecution)==null?void 0:t.taskRunList.filter(s=>{var l;return s.taskId===this.data.node.task.id&&((l=s.outputs)==null?void 0:l.executionId)}))==null?void 0:n[0])==null?void 0:i.outputs)==null?void 0:a.executionId}}}return this.data}},emits:[H.EXPAND,H.OPEN_LINK,H.SHOW_LOGS,H.MOUSE_OVER,H.MOUSE_LEAVE,H.ADD_ERROR,H.EDIT,H.DELETE,H.ADD_TASK,H.SHOW_CONDITION],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},enableSubflowInteraction:{type:Boolean,default:!0}},methods:{forwardEvent(e,t){this.$emit(e,t)}}},by=Object.assign(yy,{setup(e){return(t,n)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createVNode(r.unref(te.Handle),{type:"source",position:e.sourcePosition},null,8,["position"]),r.createVNode(vf,{id:e.id,data:t.dataWithLink,state:t.state,class:r.normalizeClass(t.classes),icons:e.icons,"icon-component":e.iconComponent,onShowDescription:n[5]||(n[5]=i=>t.forwardEvent(r.unref(H).SHOW_DESCRIPTION,i)),onExpand:n[6]||(n[6]=i=>t.forwardEvent(r.unref(H).EXPAND,t.expandData)),onOpenLink:n[7]||(n[7]=i=>t.forwardEvent(r.unref(H).OPEN_LINK,i)),onMouseover:n[8]||(n[8]=i=>t.forwardEvent(r.unref(H).MOUSE_OVER,i)),onMouseleave:n[9]||(n[9]=i=>t.forwardEvent(r.unref(H).MOUSE_LEAVE))},{content:r.withCtx(()=>[t.taskExecution?(r.openBlock(),r.createBlock(_f,{key:0,execution:t.taskExecution,task:e.data.node.task,color:t.color,uid:e.data.node.uid},null,8,["execution","task","color","uid"])):r.createCommentVNode("",!0)]),"badge-button-before":r.withCtx(()=>[e.data.node.task&&e.data.node.task.runIf?(r.openBlock(),r.createElementBlock("span",{key:0,class:r.normalizeClass(["circle-button",["bg-warning"]]),onClick:n[0]||(n[0]=i=>t.$emit(r.unref(H).SHOW_CONDITION,{id:t.taskId,task:e.data.node.task,section:r.unref(Qe).TASKS}))},[r.createVNode(le,{title:t.$t("show task condition")},{default:r.withCtx(()=>[r.createVNode(bf,{class:"button-icon",alt:"Show condition"})]),_:1},8,["title"])])):r.createCommentVNode("",!0),t.taskExecution?(r.openBlock(),r.createElementBlock("span",{key:1,class:r.normalizeClass(["circle-button",[`bg-${t.color}`]]),onClick:n[1]||(n[1]=i=>t.$emit(r.unref(H).SHOW_LOGS,{id:t.taskId,execution:t.taskExecution,taskRuns:t.taskRuns}))},[r.createVNode(le,{title:t.$t("show task logs")},{default:r.withCtx(()=>[r.createVNode(Ef,{class:"button-icon",alt:"Show logs"})]),_:1},8,["title"])],2)):r.createCommentVNode("",!0),!t.taskExecution&&!e.data.isReadOnly&&e.data.isFlowable?(r.openBlock(),r.createElementBlock("span",{key:2,class:r.normalizeClass(["circle-button",[`bg-${t.color}`]]),onClick:n[2]||(n[2]=i=>t.$emit(r.unref(H).ADD_ERROR,{task:e.data.node.task}))},[r.createVNode(le,{title:t.$t("add error handler")},{default:r.withCtx(()=>[r.createVNode(yf,{class:"button-icon",alt:"Add error handler"})]),_:1},8,["title"])],2)):r.createCommentVNode("",!0),!t.taskExecution&&!e.data.isReadOnly?(r.openBlock(),r.createElementBlock("span",{key:3,class:r.normalizeClass(["circle-button",[`bg-${t.color}`]]),onClick:n[3]||(n[3]=i=>t.$emit(r.unref(H).EDIT,{task:e.data.node.task,section:r.unref(Qe).TASKS}))},[r.createVNode(le,{title:t.$t("edit")},{default:r.withCtx(()=>[r.createVNode(bn,{class:"button-icon",alt:"Edit task"})]),_:1},8,["title"])],2)):r.createCommentVNode("",!0),!t.taskExecution&&!e.data.isReadOnly?(r.openBlock(),r.createElementBlock("span",{key:4,class:r.normalizeClass(["circle-button",[`bg-${t.color}`]]),onClick:n[4]||(n[4]=i=>t.$emit(r.unref(H).DELETE,{id:t.taskId,section:r.unref(Qe).TASKS}))},[r.createVNode(le,{title:t.$t("delete")},{default:r.withCtx(()=>[r.createVNode(kn,{class:"button-icon",alt:"Delete task"})]),_:1},8,["title"])],2)):r.createCommentVNode("",!0)]),_:1},8,["id","data","state","class","icons","icon-component"]),r.createVNode(r.unref(te.Handle),{type:"target",position:e.targetPosition},null,8,["position"])],64))}}),ky={name:"Task",inheritAttrs:!1,inject:{execution:{from:yn}},computed:{SECTIONS(){return Qe},EVENTS(){return H},color(){return this.data.color??"primary"},formattedData(){var e,t,n,i;return{...this.data,unused:((t=(e=this.data.node)==null?void 0:e.triggerDeclaration)==null?void 0:t.disabled)||((i=(n=this.data.node)==null?void 0:n.trigger)==null?void 0:i.disabled)}},triggerId(){return ge.afterLastDot(this.id)}},emits:[H.DELETE,H.EDIT,H.SHOW_DESCRIPTION],components:{Delete:kn,Pencil:bn,Handle:te.Handle,Tooltip:le},props:{data:{type:Object,required:!0},sourcePosition:{type:String,required:!0},targetPosition:{type:String,required:!0},id:{type:String,required:!0},icons:{type:Object,default:void 0},iconComponent:{type:Object,default:void 0}},methods:{forwardEvent(e,t){this.$emit(e,t)}}},Cy=Object.assign(ky,{setup(e){return(t,n)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createVNode(r.unref(te.Handle),{type:"source",position:e.sourcePosition},null,8,["position"]),r.createVNode(vf,{id:e.id,data:t.formattedData,color:t.color,icons:e.icons,"icon-component":e.iconComponent,onShowDescription:n[2]||(n[2]=i=>t.forwardEvent(r.unref(H).SHOW_DESCRIPTION,i)),onExpand:n[3]||(n[3]=i=>t.forwardEvent(r.unref(H).EXPAND,{id:e.id}))},r.createSlots({_:2},[e.data.isReadOnly?void 0:{name:"badge-button-before",fn:r.withCtx(()=>[t.execution?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("span",{key:0,class:r.normalizeClass(["circle-button",[`bg-${t.color}`]]),onClick:n[0]||(n[0]=i=>t.$emit(r.unref(H).EDIT,{task:e.data.node.triggerDeclaration,section:r.unref(Qe).TRIGGERS}))},[r.createVNode(le,{title:t.$t("edit")},{default:r.withCtx(()=>[r.createVNode(bn,{class:"button-icon",alt:"Edit task"})]),_:1},8,["title"])],2)),t.execution?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("span",{key:1,class:r.normalizeClass(["circle-button",[`bg-${t.color}`]]),onClick:n[1]||(n[1]=i=>t.$emit(r.unref(H).DELETE,{id:t.triggerId,section:r.unref(Qe).TRIGGERS}))},[r.createVNode(le,{title:t.$t("delete")},{default:r.withCtx(()=>[r.createVNode(kn,{class:"button-icon",alt:"Delete task"})]),_:1},8,["title"])],2))]),key:"0"}]),1032,["id","data","color","icons","icon-component"]),r.createVNode(r.unref(te.Handle),{type:"target",position:e.targetPosition},null,8,["position"])],64))}}),Ny={name:"LightningBoltIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},wy=["aria-hidden","aria-label"],Sy=["fill","width","height"],Ly={d:"M11 15H6L13 1V9H18L11 23V15Z"},Ty={key:0};function Iy(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon lightning-bolt-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",Ly,[n.title?(r.openBlock(),r.createElementBlock("title",Ty,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,Sy))],16,wy)}const Ay=K(Ny,[["render",Iy]]),Oy={class:"collapsed-cluster-node d-flex"},Ry={class:"node-text"},Dy={class:"text-white top-button-div"},Py={components:{Tooltip:le,Handle:te.Handle,ArrowExpand:En,LightningBolt:Ay},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 H},expandable(){var e;return((e=this.data)==null?void 0:e.expandable)||!1},description(){const e=this.data.node.task??this.data.node.trigger??null;return e?e.description??null:null}}},By=Object.assign(Py,{__name:"CollapsedClusterNode",setup(e){return(t,n)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createVNode(r.unref(te.Handle),{type:"source",position:e.sourcePosition},null,8,["position"]),r.createElementVNode("div",Oy,[r.createElementVNode("span",Ry,[e.data.iconComponent?(r.openBlock(),r.createBlock(r.resolveDynamicComponent(e.data.iconComponent),{key:0,class:r.normalizeClass(`text-${e.data.color} me-2`)},null,8,["class"])):r.createCommentVNode("",!0),r.createTextVNode(" "+r.toDisplayString(r.unref(ge).afterLastDot(e.id)),1)]),r.createElementVNode("div",Dy,[r.renderSlot(t.$slots,"badge-button-before",{},void 0,!0),t.expandable?(r.openBlock(),r.createElementBlock("span",{key:0,class:r.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:n[0]||(n[0]=i=>t.$emit(r.unref(H).EXPAND,{id:e.id}))},[r.createVNode(le,{title:t.$t("expand")},{default:r.withCtx(()=>[r.createVNode(En,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):r.createCommentVNode("",!0),r.renderSlot(t.$slots,"badge-button-after",{},void 0,!0)])]),r.createVNode(r.unref(te.Handle),{type:"target",position:e.targetPosition},null,8,["position"])],64))}}),Vy=K(By,[["__scopeId","data-v-89413b39"]]),My={name:"SplitCellsVerticalIcon",emits:["click"]},xy={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function $y(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("svg",xy,t[0]||(t[0]=[r.createElementVNode("g",{"clip-path":"url(#clip0_1111_7266)"},[r.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),r.createElementVNode("defs",null,[r.createElementVNode("clipPath",{id:"clip0_1111_7266"},[r.createElementVNode("rect",{width:"16",height:"16",fill:"currentColor",transform:"translate(0 16) rotate(-90)"})])],-1)]))}const qy=K(My,[["render",$y],["__scopeId","data-v-084c51e6"]]),Fy={name:"SplitCellsHorizontalIcon",emits:["click"]},Uy={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Hy(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("svg",Uy,t[0]||(t[0]=[r.createElementVNode("g",{"clip-path":"url(#clip0_796_3996)"},[r.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),r.createElementVNode("defs",null,[r.createElementVNode("clipPath",{id:"clip0_796_3996"},[r.createElementVNode("rect",{width:"16",height:"16",fill:"currentColor"})])],-1)]))}const Gy=K(Fy,[["render",Hy],["__scopeId","data-v-c77c1469"]]),zy={name:"DownloadIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Wy=["aria-hidden","aria-label"],jy=["fill","width","height"],Ky={d:"M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z"},Yy={key:0};function Xy(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon download-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",Ky,[n.title?(r.openBlock(),r.createElementBlock("title",Yy,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,jy))],16,Wy)}const Zy=K(zy,[["render",Xy]]);function Jy(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const n=document.implementation.createHTMLDocument(),i=n.createElement("base"),a=n.createElement("a");return n.head.appendChild(i),n.body.appendChild(a),t&&(i.href=t),a.href=e,a.href}const Qy=(()=>{let e=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function et(e){const t=[];for(let n=0,i=e.length;n<i;n++)t.push(e[n]);return t}function nn(e,t){const i=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return i?parseFloat(i.replace("px","")):0}function e0(e){const t=nn(e,"border-left-width"),n=nn(e,"border-right-width");return e.clientWidth+t+n}function t0(e){const t=nn(e,"border-top-width"),n=nn(e,"border-bottom-width");return e.clientHeight+t+n}function kf(e,t={}){const n=t.width||e0(e),i=t.height||t0(e);return{width:n,height:i}}function n0(){let e,t;try{t=process}catch{}const n=t&&t.env?t.env.devicePixelRatio:null;return n&&(e=parseInt(n,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}const $e=16384;function r0(e){(e.width>$e||e.height>$e)&&(e.width>$e&&e.height>$e?e.width>e.height?(e.height*=$e/e.width,e.width=$e):(e.width*=$e/e.height,e.height=$e):e.width>$e?(e.height*=$e/e.width,e.width=$e):(e.width*=$e/e.height,e.height=$e))}function rn(e){return new Promise((t,n)=>{const i=new Image;i.decode=()=>t(i),i.onload=()=>t(i),i.onerror=n,i.crossOrigin="anonymous",i.decoding="async",i.src=e})}async function i0(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function a0(e,t,n){const i="http://www.w3.org/2000/svg",a=document.createElementNS(i,"svg"),o=document.createElementNS(i,"foreignObject");return a.setAttribute("width",`${t}`),a.setAttribute("height",`${n}`),a.setAttribute("viewBox",`0 0 ${t} ${n}`),o.setAttribute("width","100%"),o.setAttribute("height","100%"),o.setAttribute("x","0"),o.setAttribute("y","0"),o.setAttribute("externalResourcesRequired","true"),a.appendChild(o),o.appendChild(e),i0(a)}const Be=(e,t)=>{if(e instanceof t)return!0;const n=Object.getPrototypeOf(e);return n===null?!1:n.constructor.name===t.name||Be(n,t)};function o0(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function s0(e){return et(e).map(t=>{const n=e.getPropertyValue(t),i=e.getPropertyPriority(t);return`${t}: ${n}${i?" !important":""};`}).join(" ")}function l0(e,t,n){const i=`.${e}:${t}`,a=n.cssText?o0(n):s0(n);return document.createTextNode(`${i}{${a}}`)}function Uc(e,t,n){const i=window.getComputedStyle(e,n),a=i.getPropertyValue("content");if(a===""||a==="none")return;const o=Qy();try{t.className=`${t.className} ${o}`}catch{return}const s=document.createElement("style");s.appendChild(l0(o,n,i)),t.appendChild(s)}function u0(e,t){Uc(e,t,":before"),Uc(e,t,":after")}const Hc="application/font-woff",Gc="image/jpeg",c0={woff:Hc,woff2:Hc,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Gc,jpeg:Gc,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function d0(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function Bo(e){const t=d0(e).toLowerCase();return c0[t]||""}function f0(e){return e.split(/,/)[1]}function co(e){return e.search(/^(data:)/)!==-1}function h0(e,t){return`data:${t};base64,${e}`}async function Cf(e,t,n){const i=await fetch(e,t);if(i.status===404)throw new Error(`Resource "${i.url}" not found`);const a=await i.blob();return new Promise((o,s)=>{const l=new FileReader;l.onerror=s,l.onloadend=()=>{try{o(n({res:i,result:l.result}))}catch(u){s(u)}},l.readAsDataURL(a)})}const Ya={};function m0(e,t,n){let i=e.replace(/\?.*/,"");return n&&(i=e),/ttf|otf|eot|woff2?/i.test(i)&&(i=i.replace(/.*\//,"")),t?`[${t}]${i}`:i}async function Vo(e,t,n){const i=m0(e,t,n.includeQueryParams);if(Ya[i]!=null)return Ya[i];n.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let a;try{const o=await Cf(e,n.fetchRequestInit,({res:s,result:l})=>(t||(t=s.headers.get("Content-Type")||""),f0(l)));a=h0(o,t)}catch(o){a=n.imagePlaceholder||"";let s=`Failed to fetch resource: ${e}`;o&&(s=typeof o=="string"?o:o.message),s&&console.warn(s)}return Ya[i]=a,a}async function p0(e){const t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):rn(t)}async function g0(e,t){if(e.currentSrc){const o=document.createElement("canvas"),s=o.getContext("2d");o.width=e.clientWidth,o.height=e.clientHeight,s==null||s.drawImage(e,0,0,o.width,o.height);const l=o.toDataURL();return rn(l)}const n=e.poster,i=Bo(n),a=await Vo(n,i,t);return rn(a)}async function v0(e){var t;try{if(!((t=e==null?void 0:e.contentDocument)===null||t===void 0)&&t.body)return await Cn(e.contentDocument.body,{},!0)}catch{}return e.cloneNode(!1)}async function _0(e,t){return Be(e,HTMLCanvasElement)?p0(e):Be(e,HTMLVideoElement)?g0(e,t):Be(e,HTMLIFrameElement)?v0(e):e.cloneNode(!1)}const E0=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT";async function y0(e,t,n){var i,a;let o=[];return E0(e)&&e.assignedNodes?o=et(e.assignedNodes()):Be(e,HTMLIFrameElement)&&(!((i=e.contentDocument)===null||i===void 0)&&i.body)?o=et(e.contentDocument.body.childNodes):o=et(((a=e.shadowRoot)!==null&&a!==void 0?a:e).childNodes),o.length===0||Be(e,HTMLVideoElement)||await o.reduce((s,l)=>s.then(()=>Cn(l,n)).then(u=>{u&&t.appendChild(u)}),Promise.resolve()),t}function b0(e,t){const n=t.style;if(!n)return;const i=window.getComputedStyle(e);i.cssText?(n.cssText=i.cssText,n.transformOrigin=i.transformOrigin):et(i).forEach(a=>{let o=i.getPropertyValue(a);a==="font-size"&&o.endsWith("px")&&(o=`${Math.floor(parseFloat(o.substring(0,o.length-2)))-.1}px`),Be(e,HTMLIFrameElement)&&a==="display"&&o==="inline"&&(o="block"),a==="d"&&t.getAttribute("d")&&(o=`path(${t.getAttribute("d")})`),n.setProperty(a,o,i.getPropertyPriority(a))})}function k0(e,t){Be(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),Be(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function C0(e,t){if(Be(e,HTMLSelectElement)){const n=t,i=Array.from(n.children).find(a=>e.value===a.getAttribute("value"));i&&i.setAttribute("selected","")}}function N0(e,t){return Be(t,Element)&&(b0(e,t),u0(e,t),k0(e,t),C0(e,t)),t}async function w0(e,t){const n=e.querySelectorAll?e.querySelectorAll("use"):[];if(n.length===0)return e;const i={};for(let o=0;o<n.length;o++){const l=n[o].getAttribute("xlink:href");if(l){const u=e.querySelector(l),c=document.querySelector(l);!u&&c&&!i[l]&&(i[l]=await Cn(c,t,!0))}}const a=Object.values(i);if(a.length){const o="http://www.w3.org/1999/xhtml",s=document.createElementNS(o,"svg");s.setAttribute("xmlns",o),s.style.position="absolute",s.style.width="0",s.style.height="0",s.style.overflow="hidden",s.style.display="none";const l=document.createElementNS(o,"defs");s.appendChild(l);for(let u=0;u<a.length;u++)l.appendChild(a[u]);e.appendChild(s)}return e}async function Cn(e,t,n){return!n&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(i=>_0(i,t)).then(i=>y0(e,i,t)).then(i=>N0(e,i)).then(i=>w0(i,t))}const Nf=/url\((['"]?)([^'"]+?)\1\)/g,S0=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,L0=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function T0(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function I0(e){const t=[];return e.replace(Nf,(n,i,a)=>(t.push(a),n)),t.filter(n=>!co(n))}async function A0(e,t,n,i,a){try{const o=n?Jy(t,n):t,s=Bo(t);let l;return a||(l=await Vo(o,s,i)),e.replace(T0(t),`$1${l}$3`)}catch{}return e}function O0(e,{preferredFontFormat:t}){return t?e.replace(L0,n=>{for(;;){const[i,,a]=S0.exec(n)||[];if(!a)return"";if(a===t)return`src: ${i};`}}):e}function wf(e){return e.search(Nf)!==-1}async function Sf(e,t,n){if(!wf(e))return e;const i=O0(e,n);return I0(i).reduce((o,s)=>o.then(l=>A0(l,s,t,n)),Promise.resolve(i))}async function zt(e,t,n){var i;const a=(i=t.style)===null||i===void 0?void 0:i.getPropertyValue(e);if(a){const o=await Sf(a,null,n);return t.style.setProperty(e,o,t.style.getPropertyPriority(e)),!0}return!1}async function R0(e,t){await zt("background",e,t)||await zt("background-image",e,t),await zt("mask",e,t)||await zt("mask-image",e,t)}async function D0(e,t){const n=Be(e,HTMLImageElement);if(!(n&&!co(e.src))&&!(Be(e,SVGImageElement)&&!co(e.href.baseVal)))return;const i=n?e.src:e.href.baseVal,a=await Vo(i,Bo(i),t);await new Promise((o,s)=>{e.onload=o,e.onerror=s;const l=e;l.decode&&(l.decode=o),l.loading==="lazy"&&(l.loading="eager"),n?(e.srcset="",e.src=a):e.href.baseVal=a})}async function P0(e,t){const i=et(e.childNodes).map(a=>Lf(a,t));await Promise.all(i).then(()=>e)}async function Lf(e,t){Be(e,Element)&&(await R0(e,t),await D0(e,t),await P0(e,t))}function B0(e,t){const{style:n}=e;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width=`${t.width}px`),t.height&&(n.height=`${t.height}px`);const i=t.style;return i!=null&&Object.keys(i).forEach(a=>{n[a]=i[a]}),e}const zc={};async function Wc(e){let t=zc[e];if(t!=null)return t;const i=await(await fetch(e)).text();return t={url:e,cssText:i},zc[e]=t,t}async function jc(e,t){let n=e.cssText;const i=/url\(["']?([^"')]+)["']?\)/g,o=(n.match(/url\([^)]+\)/g)||[]).map(async s=>{let l=s.replace(i,"$1");return l.startsWith("https://")||(l=new URL(l,e.url).href),Cf(l,t.fetchRequestInit,({result:u})=>(n=n.replace(s,`url(${u})`),[s,u]))});return Promise.all(o).then(()=>n)}function Kc(e){if(e==null)return[];const t=[],n=/(\/\*[\s\S]*?\*\/)/gi;let i=e.replace(n,"");const a=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const u=a.exec(i);if(u===null)break;t.push(u[0])}i=i.replace(a,"");const o=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,s="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",l=new RegExp(s,"gi");for(;;){let u=o.exec(i);if(u===null){if(u=l.exec(i),u===null)break;o.lastIndex=l.lastIndex}else l.lastIndex=o.lastIndex;t.push(u[0])}return t}async function V0(e,t){const n=[],i=[];return e.forEach(a=>{if("cssRules"in a)try{et(a.cssRules||[]).forEach((o,s)=>{if(o.type===CSSRule.IMPORT_RULE){let l=s+1;const u=o.href,c=Wc(u).then(d=>jc(d,t)).then(d=>Kc(d).forEach(f=>{try{a.insertRule(f,f.startsWith("@import")?l+=1:a.cssRules.length)}catch(h){console.error("Error inserting rule from remote css",{rule:f,error:h})}})).catch(d=>{console.error("Error loading remote css",d.toString())});i.push(c)}})}catch(o){const s=e.find(l=>l.href==null)||document.styleSheets[0];a.href!=null&&i.push(Wc(a.href).then(l=>jc(l,t)).then(l=>Kc(l).forEach(u=>{s.insertRule(u,a.cssRules.length)})).catch(l=>{console.error("Error loading remote stylesheet",l)})),console.error("Error inlining remote css file",o)}}),Promise.all(i).then(()=>(e.forEach(a=>{if("cssRules"in a)try{et(a.cssRules||[]).forEach(o=>{n.push(o)})}catch(o){console.error(`Error while reading CSS rules from ${a.href}`,o)}}),n))}function M0(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>wf(t.style.getPropertyValue("src")))}async function x0(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const n=et(e.ownerDocument.styleSheets),i=await V0(n,t);return M0(i)}async function $0(e,t){const n=await x0(e,t);return(await Promise.all(n.map(a=>{const o=a.parentStyleSheet?a.parentStyleSheet.href:null;return Sf(a.cssText,o,t)}))).join(`
25
- `)}async function q0(e,t){const n=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await $0(e,t);if(n){const i=document.createElement("style"),a=document.createTextNode(n);i.appendChild(a),e.firstChild?e.insertBefore(i,e.firstChild):e.appendChild(i)}}async function F0(e,t={}){const{width:n,height:i}=kf(e,t),a=await Cn(e,t,!0);return await q0(a,t),await Lf(a,t),B0(a,t),await a0(a,n,i)}async function Tf(e,t={}){const{width:n,height:i}=kf(e,t),a=await F0(e,t),o=await rn(a),s=document.createElement("canvas"),l=s.getContext("2d"),u=t.pixelRatio||n0(),c=t.canvasWidth||n,d=t.canvasHeight||i;return s.width=c*u,s.height=d*u,t.skipAutoScale||r0(s),s.style.width=`${c}`,s.style.height=`${d}`,t.backgroundColor&&(l.fillStyle=t.backgroundColor,l.fillRect(0,0,s.width,s.height)),l.drawImage(o,0,0,s.width,s.height),s}async function U0(e,t={}){return(await Tf(e,t)).toDataURL()}async function H0(e,t={}){return(await Tf(e,t)).toDataURL("image/jpeg",t.quality||1)}function G0(){const e=r.ref(""),t=r.ref("png"),n=r.ref();async function i(l,u={}){let c;const d=u.fileName??`vue-flow-screenshot-${Date.now()}`;switch(u.type){case"jpeg":c=await a(l,u);break;case"png":c=await o(l,u);break;default:c=await o(l,u);break}return u.shouldDownload&&d!==""&&s(d),c}function a(l,u={quality:.95}){return n.value=null,H0(l,u).then(c=>(e.value=c,t.value="jpeg",c)).catch(c=>{throw c.value=c,new Error(c)})}function o(l,u={quality:.95}){return n.value=null,U0(l,u).then(c=>(e.value=c,t.value="png",c)).catch(c=>{throw c.value=c,new Error(c)})}function s(l){const u=document.createElement("a");u.download=`${l}.${t.value}`,u.href=e.value,u.click()}return{capture:i,download:s,dataUrl:e,error:n}}const z0={key:1,class:"exporting"},W0=r.defineComponent({__name:"Topology",props:{id:{type:String,required:!0},isHorizontal:{type:Boolean,default:!0},isReadOnly:{type:Boolean,default:!0},isAllowedEdit:{type:Boolean,default:!1},source:{type:String,default:void 0,required:!0},toggleOrientationButton:{type:Boolean,default:!1},flowGraph:{type:Object,required:!0},flowId:{type:String,default:void 0},namespace:{type:String,default:void 0},expandedSubflows:{type:Array,default:()=>[]},icons:{type:Object,default:void 0},iconComponent:{type:Object,default:void 0},enableSubflowInteraction:{type:Boolean,default:!0},execution:{type:Object,default:void 0},subflowsExecutions:{type:Object,default:()=>({})}},emits:[H.EDIT,H.DELETE,H.OPEN_LINK,H.SHOW_LOGS,H.SHOW_DESCRIPTION,"on-add-flowable-error",H.ADD_TASK,"toggle-orientation","loading","swapped-task","message","expand-subflow",H.SHOW_CONDITION],setup(e,{emit:t}){const n=e,i=r.ref(!1),a=r.ref(),{getNodes:o,onNodeDrag:s,onNodeDragStart:l,onNodeDragStop:u,fitView:c,setElements:d,vueFlowRef:f}=te.useVueFlow(n.id),h=r.ref({}),m=r.ref([]),C=r.ref(new Set),E=r.ref([]),{capture:_}=G0();r.provide(yn,r.computed(()=>n.execution)),r.provide(gf,r.computed(()=>n.subflowsExecutions));const p=t;r.onMounted(()=>{v()}),r.watch(()=>n.flowGraph,()=>{v()}),r.watch(()=>n.isHorizontal,()=>{v()});const v=()=>{Kt.cleanGraph(n.id),r.nextTick(()=>{p("loading",!0);const x=C.value;C.value=new Set,m.value=[],h.value={},x.forEach(J=>T(st+J,!1,!1));const D=Kt.generateGraph(n.id,n.flowId,n.namespace,n.flowGraph,n.source,m.value,n.isHorizontal,h.value,C.value,E.value,n.isReadOnly,n.isAllowedEdit,n.enableSubflowInteraction);D&&(d(D),c(),p("loading",!1))})},y=x=>{i.value||Kt.linkedElements(n.id,x.uid).forEach(D=>{(D==null?void 0:D.type)==="task"&&(D.style={...D.style,outline:"0.5px solid "+Fe("--bs-gray-900")},D.class="rounded-3")})},g=()=>{k()},k=()=>{o.value.filter(x=>x.type==="task"||x.type==="trigger").forEach(x=>{x.style={...x.style,opacity:"1",outline:"none"},x.class=""})};l(x=>{i.value=!0,k(),x.node.style={...x.node.style,zIndex:1976},a.value=x.node.position}),u(x=>{if(i.value=!1,x.intersections&&b(x.intersections,x.node)===null){const D=x.node,J=x.intersections.find(j=>j.type==="task");if(J)try{n.source&&p("swapped-task",{newSource:L.swapBlocks({source:n.source,section:"tasks",key1:ge.afterLastDot(D.id)??"",key2:ge.afterLastDot(J.id)??""}),swappedTasks:[D.id,J.id]})}catch(j){p("message",{variant:"error",title:"cannot swap tasks",message:`${j.message}, ${j.messageOptions}`}),D.position=a.value}else D.position=a.value}else x.node.position=a.value;k(),x.node.style={...x.node.style,zIndex:5},a.value=null});const N=r.computed(()=>{var x;return(x=n.flowGraph)!=null&&x.clusters?n.flowGraph.clusters.filter(D=>D.cluster.type.endsWith("SubflowGraphCluster")).map(D=>D.cluster.taskNode.uid+"."):[]});s(x=>{k(),o.value.filter(D=>D.id!==x.node.id).forEach(D=>{var J;D.type==="trigger"||D.type==="task"&&(D.id.startsWith(x.node.id+".")||x.node.id.startsWith(D.id+"."))||(J=N==null?void 0:N.value)!=null&&J.some(j=>D.id.startsWith(j))?D.style={...D.style,opacity:"0.5"}:D.style={...D.style,opacity:"1"}}),x.intersections&&!b(x.intersections,x.node)&&x.intersections.filter(D=>D.type==="task").length===1&&(x.intersections.forEach(D=>{D.type==="task"&&(D.style={...D.style,outline:"0.5px solid "+Fe("--bs-primary")},D.class="rounded-3")}),x.node.style={...x.node.style,outline:"0.5px solid "+Fe("--bs-primary")},x.node.class="rounded-3")});const b=(x,D)=>{const J=x.filter(j=>j.type==="task").map(j=>ge.afterLastDot(j.id));if(J.length>1)return"toomuchtaskerror";try{if(J.length===1&&n.source&&L.isParentChildrenRelation({source:n.source,sections:["tasks","triggers"],key1:ge.afterLastDot(J[0])??"",key2:ge.afterLastDot(D.id)??"",keyName:"id"}))return"parentchildrenerror"}catch{return"parentchildrenerror"}return x.filter(j=>j.type==="trigger").length>0?"triggererror":null},T=(x,D,J=!1)=>{const j=n.flowGraph.clusters.find(ne=>ne.cluster.uid.endsWith(x)),F=x.replace(st,"");C.value.add(F),m.value=m.value.concat(j.nodes.filter(ne=>ne!==F||J)),m.value=m.value.concat([j.cluster.uid]),h.value={...h.value,[j.cluster.uid]:F,[j.start]:F,[j.end]:F};for(let ne of j.nodes)n.flowGraph.clusters.map(me=>me.cluster.uid).includes(ne)&&T(ne,!1,!0);D&&v()},O=x=>{if(["io.kestra.core.tasks.flows.Flow","io.kestra.core.tasks.flows.Subflow","io.kestra.plugin.core.flow.Subflow","io.kestra.core.tasks.flows.ForEachItem$ForEachItemExecutable","io.kestra.plugin.core.flow.ForEachItem$ForEachItemExecutable"].includes(x.type)&&!n.expandedSubflows.includes(x.id)){p("expand-subflow",[...n.expandedSubflows,x.id]);return}h.value={},m.value=[],E.value=[],C.value.delete(x.id),C.value.forEach(J=>T(J,!1,!1)),v()},R=document.getElementsByTagName("html")[0].className.indexOf("dark")>=0,U=r.ref(!0),V=r.ref(!1),W=()=>V.value=!V.value;function Z(x){if(!f.value){console.warn("Flow not found");return}U.value=!1,_(f.value,{type:x,shouldDownload:!0}).then(()=>U.value=!0).finally(()=>V.value=!1)}return(x,D)=>(r.openBlock(),r.createBlock(r.unref(te.VueFlow),{id:e.id,"default-marker-color":r.unref(Fe)("--bs-cyan"),"fit-view-on-init":"","nodes-draggable":!1,"nodes-connectable":!1,"elevate-nodes-on-select":!1,"elevate-edges-on-select":!1},{"node-cluster":r.withCtx(J=>[r.createVNode(j_,r.mergeProps(J,{onCollapse:D[0]||(D[0]=j=>T(j,!0))}),null,16)]),"node-dot":r.withCtx(J=>[r.createVNode(nE,r.normalizeProps(r.guardReactiveProps(J)),null,16)]),"node-task":r.withCtx(J=>[r.createVNode(by,r.mergeProps(J,{icons:e.icons,"icon-component":e.iconComponent,onEdit:D[1]||(D[1]=j=>p(r.unref(H).EDIT,j)),onDelete:D[2]||(D[2]=j=>p(r.unref(H).DELETE,j)),onExpand:D[3]||(D[3]=j=>O(j)),onOpenLink:D[4]||(D[4]=j=>p(r.unref(H).OPEN_LINK,j)),onShowLogs:D[5]||(D[5]=j=>p(r.unref(H).SHOW_LOGS,j)),onShowDescription:D[6]||(D[6]=j=>p(r.unref(H).SHOW_DESCRIPTION,j)),onShowCondition:D[7]||(D[7]=j=>p(r.unref(H).SHOW_CONDITION,j)),onMouseover:D[8]||(D[8]=j=>y(j)),onMouseleave:D[9]||(D[9]=j=>g()),onAddError:D[10]||(D[10]=j=>p("on-add-flowable-error",j)),"enable-subflow-interaction":e.enableSubflowInteraction}),null,16,["icons","icon-component","enable-subflow-interaction"])]),"node-trigger":r.withCtx(J=>[r.createVNode(Cy,r.mergeProps(J,{icons:e.icons,"icon-component":e.iconComponent,"is-read-only":e.isReadOnly,"is-allowed-edit":e.isAllowedEdit,onDelete:D[11]||(D[11]=j=>p(r.unref(H).DELETE,j)),onEdit:D[12]||(D[12]=j=>p(r.unref(H).EDIT,j)),onShowDescription:D[13]||(D[13]=j=>p(r.unref(H).SHOW_DESCRIPTION,j))}),null,16,["icons","icon-component","is-read-only","is-allowed-edit"])]),"node-collapsedcluster":r.withCtx(J=>[r.createVNode(Vy,r.mergeProps(J,{onExpand:D[14]||(D[14]=j=>O(j))}),null,16)]),"edge-edge":r.withCtx(J=>[r.createVNode(gE,r.mergeProps(J,{"yaml-source":e.source,onAddTask:D[15]||(D[15]=j=>p(r.unref(H).ADD_TASK,j)),"is-read-only":e.isReadOnly,"is-allowed-edit":e.isAllowedEdit}),null,16,["yaml-source","is-read-only","is-allowed-edit"])]),default:r.withCtx(()=>[r.createVNode(r.unref(V_),{"pattern-color":R?r.unref(Fe)("--bs-grey-500"):r.unref(Fe)("--bs-grey-300")},null,8,["pattern-color"]),U.value?(r.openBlock(),r.createBlock(r.unref(wn.Controls),{key:0,"show-interactive":!1},{default:r.withCtx(()=>[e.toggleOrientationButton?(r.openBlock(),r.createBlock(r.unref(wn.ControlButton),{key:0,onClick:D[16]||(D[16]=J=>p("toggle-orientation",J))},{default:r.withCtx(()=>[(r.openBlock(),r.createBlock(r.resolveDynamicComponent(e.isHorizontal?Gy:qy)))]),_:1})):r.createCommentVNode("",!0),r.createVNode(r.unref(wn.ControlButton),{onClick:W},{default:r.withCtx(()=>[r.createVNode(Zy)]),_:1}),V.value?(r.openBlock(),r.createElementBlock("ul",z0,[r.createElementVNode("li",{onClick:D[17]||(D[17]=J=>Z("jpeg")),class:"item"}," Export as .JPEG "),r.createElementVNode("li",{onClick:D[18]||(D[18]=J=>Z("png")),class:"item"}," Export as .PNG ")])):r.createCommentVNode("",!0)]),_:1})):r.createCommentVNode("",!0)]),_:1},8,["id","default-marker-color"]))}}),j0=K(W0,[["__scopeId","data-v-5655b4c8"]]),K0={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Y0=["aria-hidden","aria-label"],X0=["fill","width","height"],Z0={d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"},J0={key:0};function Q0(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon check-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",Z0,[n.title?(r.openBlock(),r.createElementBlock("title",J0,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,X0))],16,Y0)}const eb=K(K0,[["render",Q0]]),tb={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},nb=["aria-hidden","aria-label"],rb=["fill","width","height"],ib={d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"},ab={key:0};function ob(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon content-copy-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",ib,[n.title?(r.openBlock(),r.createElementBlock("title",ab,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,rb))],16,nb)}const sb=K(tb,[["render",ob]]),lb={key:0,class:"language"},ub=["innerHTML"],cb=r.defineComponent({__name:"SchemaToCode",props:{highlighter:{},code:{default:""},language:{default:null},filename:{default:null},highlights:{default:()=>[]},meta:{default:null},theme:{default:"github-dark"}},setup(e){const t={ContentCopy:r.shallowRef(sb),Check:r.shallowRef(eb)},n=e,i=r.ref(!1),a=r.ref(),o=r.shallowRef(t.ContentCopy.value),s=r.ref(),l=r.ref(),u=r.computed(()=>n.highlighter.codeToHtml(n.code,{lang:n.language,theme:n.theme}));function c(){i.value=!0,a.value&&r.nextTick(()=>{s.value&&l.value&&lh.createPopper(s.value,l.value,{placement:"left"})})}function d(){clearTimeout(a.value),navigator.clipboard.writeText(n.code.trimEnd()),o.value=t.Check.value,a.value=setTimeout(()=>{o.value=t.ContentCopy.value,a.value=void 0},2e3)}return(f,h)=>(r.openBlock(),r.createElementBlock("div",{class:"code-block",onMouseover:c,onMouseleave:h[0]||(h[0]=m=>i.value=!1)},[f.language&&!i.value?(r.openBlock(),r.createElementBlock("div",lb,r.toDisplayString(f.language),1)):r.createCommentVNode("",!0),i.value?(r.openBlock(),r.createElementBlock(r.Fragment,{key:1},[r.createElementVNode("button",{ref_key:"copyButton",ref:s,class:"copy"},[(r.openBlock(),r.createBlock(r.resolveDynamicComponent(o.value),{onClick:d}))],512),a.value?(r.openBlock(),r.createElementBlock("div",{key:0,ref_key:"copyTooltip",ref:l,id:"copied-tooltip",role:"tooltip"},h[1]||(h[1]=[r.createTextVNode(" Copied! "),r.createElementVNode("div",{id:"arrow","data-popper-arrow":""},null,-1)]),512)):r.createCommentVNode("",!0)],64)):r.createCommentVNode("",!0),r.createElementVNode("div",{innerHTML:u.value},null,8,ub)],32))}}),Yc=K(cb,[["__scopeId","data-v-a899f6a1"]]),db={name:"MenuRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},fb=["aria-hidden","aria-label"],hb=["fill","width","height"],mb={d:"M10,17L15,12L10,7V17Z"},pb={key:0};function gb(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon menu-right-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",mb,[n.title?(r.openBlock(),r.createElementBlock("title",pb,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,hb))],16,fb)}const vb=K(db,[["render",gb]]),_b={name:"MenuDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Eb=["aria-hidden","aria-label"],yb=["fill","width","height"],bb={d:"M7,10L12,15L17,10H7Z"},kb={key:0};function Cb(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon menu-down-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",bb,[n.title?(r.openBlock(),r.createElementBlock("title",kb,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,yb))],16,Eb)}const Nb=K(_b,[["render",Cb]]),wb=["id","open"],Sb={class:"d-flex gap-2 align-items-center"},Lb={key:0,class:"d-flex flex-grow-1"},Tb=["id"],Ib=r.defineComponent({__name:"Collapsible",props:{href:{default:Math.random().toString(36).substring(2,5)},clickableText:{},arrow:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1}},emits:["expand"],setup(e,{emit:t}){const n=e,i=r.ref(!0),a=Zt.useRoute(),o=Zt.useRouter(),s=t,l=r.computed(()=>`#${n.href}-body`),u=d=>{d.preventDefault(),i.value=!i.value,c.value=!i.value,i.value||s("expand"),o.replace({hash:i.value?"":l.value})},c=r.ref(!1);return r.watch(()=>n.initiallyExpanded,d=>{d!==void 0&&(c.value=d,i.value=!d)},{immediate:!0}),r.watch(()=>a.hash,d=>{d===l.value&&i.value&&(c.value=!0,i.value=!1)},{immediate:!0}),(d,f)=>(r.openBlock(),r.createElementBlock("details",{id:d.href,open:c.value},[r.createElementVNode("summary",{class:r.normalizeClass(["d-flex align-items-center justify-content-between fw-bold gap-2 collapse-button",{collapsed:i.value}]),onClick:u},[r.createElementVNode("span",Sb,[d.arrow?(r.openBlock(),r.createBlock(r.resolveDynamicComponent(i.value?vb:Nb),{key:0,class:"arrow"})):r.createCommentVNode("",!0),r.createTextVNode(" "+r.toDisplayString(d.clickableText)+" ",1),r.renderSlot(d.$slots,"additionalButtonText",{},void 0,!0)]),d.$slots.buttonRight?(r.openBlock(),r.createElementBlock("span",Lb,[r.renderSlot(d.$slots,"buttonRight",{collapsed:i.value},void 0,!0)])):r.createCommentVNode("",!0)],2),d.$slots.content?(r.openBlock(),r.createElementBlock("div",{key:0,id:d.href+"-body"},[r.createElementVNode("div",null,[r.renderSlot(d.$slots,"content",{},void 0,!0)])],8,Tb)):r.createCommentVNode("",!0)],8,wb))}}),an=K(Ib,[["__scopeId","data-v-309ae3b9"]]);function Wt(e){if(e.type)return e.type;if(e.$ref)return"#"+e.$ref.slice(8)}function If(e){const t=e.split("_")[0];return t.substring(t.lastIndexOf(".")+1)}function Ab(e){var t,n;if(e.enum)return e.enum;if((t=e.items)!=null&&t.enum)return e.items.enum;if((n=e.additionalProperties)!=null&&n.enum)return e.additionalProperties.enum}function Ob(e){return e.allOf&&(e=e.allOf.reduce((t,n)=>({...t,...n}),{...e}),delete e.allOf),e}function Af(e){const t={},n=Wt(e);return n?t.types=[n]:e.anyOf?t.types=e.anyOf.map(Wt).filter(i=>i!==void 0).filter(ge.distinctFilter):t.types=["object"],e.additionalProperties?t.subType=Wt(e.additionalProperties):e.items&&(t.subType=Wt(e.items)),t}const Rb={name:"ChevronDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Db=["aria-hidden","aria-label"],Pb=["fill","width","height"],Bb={d:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"},Vb={key:0};function Mb(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon chevron-down-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",Bb,[n.title?(r.openBlock(),r.createElementBlock("title",Vb,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,Pb))],16,Db)}const xb=K(Rb,[["render",Mb]]),$b={name:"EyeOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},qb=["aria-hidden","aria-label"],Fb=["fill","width","height"],Ub={d:"M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9M12,4.5C17,4.5 21.27,7.61 23,12C21.27,16.39 17,19.5 12,19.5C7,19.5 2.73,16.39 1,12C2.73,7.61 7,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C15.76,17.5 19.17,15.36 20.82,12C19.17,8.64 15.76,6.5 12,6.5C8.24,6.5 4.83,8.64 3.18,12Z"},Hb={key:0};function Gb(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon eye-outline-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",Ub,[n.title?(r.openBlock(),r.createElementBlock("title",Hb,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,Fb))],16,qb)}const Of=K($b,[["render",Gb]]),zb={name:"FileDocumentIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Wb=["aria-hidden","aria-label"],jb=["fill","width","height"],Kb={d:"M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M15,18V16H6V18H15M18,14V12H6V14H18Z"},Yb={key:0};function Xb(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon file-document-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",Kb,[n.title?(r.openBlock(),r.createElementBlock("title",Yb,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,jb))],16,Wb)}const Zb=K(zb,[["render",Xb]]),Jb={name:"AlertIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Qb=["aria-hidden","aria-label"],ek=["fill","width","height"],tk={d:"M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z"},nk={key:0};function rk(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon alert-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",tk,[n.title?(r.openBlock(),r.createElementBlock("title",nk,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,ek))],16,Qb)}const Rf=K(Jb,[["render",rk]]),ik={class:"me-3"},ak={class:"d-flex flex-column"},ok=r.defineComponent({name:"Alert",__name:"Alert",props:{type:{}},setup(e){const t=e,n=r.computed(()=>{switch(t.type){case"success":return Zb;case"info":return Ja;case"warning":return Rf;case"danger":return Za;default:return Ja}});return(i,a)=>(r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass("doc-alert alert alert-"+i.type),role:"alert"},[r.createElementVNode("div",ik,[(r.openBlock(),r.createBlock(r.resolveDynamicComponent(n.value),{class:"alert-icon"}))]),r.createElementVNode("div",ak,[r.renderSlot(i.$slots,"default",{},void 0,!0)])],2))}}),sk=K(ok,[["__scopeId","data-v-f7fd8bc1"]]),lk={class:"property-detail"},uk={key:0},ck=["href"],dk={class:"d-flex fw-bold type-box rounded fs-7 px-2 py-1"},fk={class:"ref-type"},hk={key:1,class:"type-box rounded fs-7 px-2 py-1"},mk={key:1},pk={class:"border rounded px-2 py-1"},gk={key:2},vk={class:"border rounded px-2 py-1"},_k={key:3},Ek={class:"border rounded px-2 py-1"},yk={key:4},bk={class:"border rounded px-2 py-1"},kk={key:5},Ck={class:"border rounded px-2 py-1"},Nk={key:6},wk={class:"border rounded px-2 py-1"},Sk={key:7},Lk={class:"border rounded px-2 py-1"},Tk={key:8},Ik={class:"border rounded px-2 py-1"},Ak={key:9},Ok={class:"border rounded px-2 py-1"},Rk={key:10},Dk={class:"border rounded px-2 py-1"},Pk={key:11},Bk={class:"border rounded px-2 py-1"},Vk={key:12},Mk={class:"border rounded px-2 py-1"},xk={key:13},$k={class:"d-flex flex-wrap justify-content-end gap-7 p-0"},qk={key:14},Fk={class:"property-description markdown"},Uk={key:2},Hk=r.defineComponent({__name:"PropertyDetail",props:{property:{}},setup(e){const t=e,n=r.ref(Af(t.property).subType),i=r.ref(Ab(t.property)),a=o=>o.replaceAll(/(```)(?:bash|yaml|js|console|json)(\n) *([\s\S]*?```)/g,"$1$2$3").replaceAll(new RegExp("(?<!:):(?![: /])","g"),": ");return(o,s)=>(r.openBlock(),r.createElementBlock("div",lk,[n.value?(r.openBlock(),r.createElementBlock("div",uk,[s[1]||(s[1]=r.createElementVNode("span",null," SubType ",-1)),n.value.startsWith("#")?(r.openBlock(),r.createElementBlock("a",{key:0,href:n.value,onClick:s[0]||(s[0]=r.withModifiers(()=>{},["stop"]))},[r.createElementVNode("button",dk,[r.createElementVNode("span",fk,r.toDisplayString(r.unref(If)(n.value)),1),r.createVNode(Of)])],8,ck)):(r.openBlock(),r.createElementBlock("span",hk,r.toDisplayString(n.value),1))])):r.createCommentVNode("",!0),o.property.default!==void 0?(r.openBlock(),r.createElementBlock("div",mk,[s[2]||(s[2]=r.createElementVNode("span",null," Default ",-1)),r.createElementVNode("code",pk,r.toDisplayString(o.property.default),1)])):r.createCommentVNode("",!0),o.property.pattern!==void 0?(r.openBlock(),r.createElementBlock("div",gk,[s[3]||(s[3]=r.createElementVNode("span",null," Validation RegExp ",-1)),r.createElementVNode("code",vk,r.toDisplayString(o.property.pattern),1)])):r.createCommentVNode("",!0),o.property.unit!==void 0&&o.property.unit.trim().length>0?(r.openBlock(),r.createElementBlock("div",_k,[s[4]||(s[4]=r.createElementVNode("span",null," Unit ",-1)),r.createElementVNode("code",Ek,r.toDisplayString(o.property.unit),1)])):r.createCommentVNode("",!0),o.property.minLength!==void 0?(r.openBlock(),r.createElementBlock("div",yk,[s[5]||(s[5]=r.createElementVNode("span",null," Min length ",-1)),r.createElementVNode("code",bk,r.toDisplayString(o.property.minLength),1)])):r.createCommentVNode("",!0),o.property.maxLength!==void 0?(r.openBlock(),r.createElementBlock("div",kk,[s[6]||(s[6]=r.createElementVNode("span",null," Max length ",-1)),r.createElementVNode("code",Ck,r.toDisplayString(o.property.maxLength),1)])):r.createCommentVNode("",!0),o.property.minItems!==void 0?(r.openBlock(),r.createElementBlock("div",Nk,[s[7]||(s[7]=r.createElementVNode("span",null," Min items ",-1)),r.createElementVNode("code",wk,r.toDisplayString(o.property.minItems),1)])):r.createCommentVNode("",!0),o.property.maxItems!==void 0?(r.openBlock(),r.createElementBlock("div",Sk,[s[8]||(s[8]=r.createElementVNode("span",null," Max items ",-1)),r.createElementVNode("code",Lk,r.toDisplayString(o.property.maxItems),1)])):r.createCommentVNode("",!0),o.property.minimum!==void 0?(r.openBlock(),r.createElementBlock("div",Tk,[s[9]||(s[9]=r.createElementVNode("span",null," Minimum ",-1)),r.createElementVNode("code",Ik," >= "+r.toDisplayString(o.property.minimum),1)])):r.createCommentVNode("",!0),o.property.exclusiveMinimum!==void 0?(r.openBlock(),r.createElementBlock("div",Ak,[s[10]||(s[10]=r.createElementVNode("span",null," Minimum ",-1)),r.createElementVNode("code",Ok," > "+r.toDisplayString(o.property.minimum),1)])):r.createCommentVNode("",!0),o.property.maximum!==void 0?(r.openBlock(),r.createElementBlock("div",Rk,[s[11]||(s[11]=r.createElementVNode("span",null," Maximum ",-1)),r.createElementVNode("code",Dk," <= "+r.toDisplayString(o.property.maximum),1)])):r.createCommentVNode("",!0),o.property.exclusiveMaximum!==void 0?(r.openBlock(),r.createElementBlock("div",Pk,[s[12]||(s[12]=r.createElementVNode("span",null," Maximum ",-1)),r.createElementVNode("code",Bk," < "+r.toDisplayString(o.property.maximum),1)])):r.createCommentVNode("",!0),o.property.format!==void 0?(r.openBlock(),r.createElementBlock("div",Vk,[s[13]||(s[13]=r.createElementVNode("span",null," Format ",-1)),r.createElementVNode("code",Mk,r.toDisplayString(o.property.format),1)])):r.createCommentVNode("",!0),i.value!==void 0?(r.openBlock(),r.createElementBlock("div",xk,[s[14]||(s[14]=r.createElementVNode("span",null," Possible Values ",-1)),r.createElementVNode("div",$k,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(i.value,(l,u)=>(r.openBlock(),r.createElementBlock("code",{class:"border rounded px-2 py-1",key:u},r.toDisplayString(l),1))),128))])])):r.createCommentVNode("",!0),o.property.title!==void 0||o.property.description!==void 0?(r.openBlock(),r.createElementBlock("div",qk,[r.createElementVNode("div",Fk,[o.property.title!==void 0?r.renderSlot(o.$slots,"markdown",{key:0,content:a(o.property.title)},void 0,!0):r.createCommentVNode("",!0),o.property.description!==void 0?r.renderSlot(o.$slots,"markdown",{key:1,content:a(o.property.description)},void 0,!0):r.createCommentVNode("",!0),o.property.$internalStorageURI?(r.openBlock(),r.createElementBlock("div",Uk,[r.createVNode(sk,{type:"info"},{default:r.withCtx(()=>[r.renderSlot(o.$slots,"markdown",{content:"Pebble expression referencing an Internal Storage URI e.g. `{{ outputs.mytask.uri }}`."},void 0,!0)]),_:3})])):r.createCommentVNode("",!0)])])):r.createCommentVNode("",!0)]))}}),Gk=K(Hk,[["__scopeId","data-v-79715a4e"]]),zk={name:"ChevronUpIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Wk=["aria-hidden","aria-label"],jk=["fill","width","height"],Kk={d:"M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"},Yk={key:0};function Xk(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon chevron-up-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",Kk,[n.title?(r.openBlock(),r.createElementBlock("title",Yk,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,jk))],16,Wk)}const Zk=K(zk,[["render",Xk]]),Jk={name:"SnowflakeIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Qk=["aria-hidden","aria-label"],eC=["fill","width","height"],tC={d:"M20.79,13.95L18.46,14.57L16.46,13.44V10.56L18.46,9.43L20.79,10.05L21.31,8.12L19.54,7.65L20,5.88L18.07,5.36L17.45,7.69L15.45,8.82L13,7.38V5.12L14.71,3.41L13.29,2L12,3.29L10.71,2L9.29,3.41L11,5.12V7.38L8.5,8.82L6.5,7.69L5.92,5.36L4,5.88L4.47,7.65L2.7,8.12L3.22,10.05L5.55,9.43L7.55,10.56V13.45L5.55,14.58L3.22,13.96L2.7,15.89L4.47,16.36L4,18.12L5.93,18.64L6.55,16.31L8.55,15.18L11,16.62V18.88L9.29,20.59L10.71,22L12,20.71L13.29,22L14.7,20.59L13,18.88V16.62L15.5,15.17L17.5,16.3L18.12,18.63L20,18.12L19.53,16.35L21.3,15.88L20.79,13.95M9.5,10.56L12,9.11L14.5,10.56V13.44L12,14.89L9.5,13.44V10.56Z"},nC={key:0};function rC(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon snowflake-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",tC,[n.title?(r.openBlock(),r.createElementBlock("title",nC,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,eC))],16,Qk)}const iC=K(Jk,[["render",rC]]),aC={name:"AlphaBBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},oC=["aria-hidden","aria-label"],sC=["fill","width","height"],lC={d:"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M15,10.5V9A2,2 0 0,0 13,7H9V17H13A2,2 0 0,0 15,15V13.5C15,12.7 14.3,12 13.5,12C14.3,12 15,11.3 15,10.5M13,15H11V13H13V15M13,11H11V9H13V11Z"},uC={key:0};function cC(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon alpha-b-box-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",lC,[n.title?(r.openBlock(),r.createElementBlock("title",uC,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,sC))],16,oC)}const dC=K(aC,[["render",cC]]),fC={class:"border overflow-hidden"},hC={class:"d-flex flex-grow-1 align-items-center justify-content-between"},mC={class:"d-flex gap-2"},pC={class:"d-flex flex-wrap gap-2"},gC=["href"],vC={class:"ref-type"},_C={key:1,class:"type-box rounded fs-7 px-2 py-1"},EC=r.defineComponent({__name:"CollapsibleProperties",props:{href:{default:Math.random().toString(36).substring(2,5)},sectionName:{},properties:{default:void 0},showDynamic:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1},forceInclude:{default:()=>[]}},emits:["expand"],setup(e,{emit:t}){const n=e,i=t,a=r.ref(!1);r.watch(a,l=>{l&&i("expand")});const o=l=>{var u;return l.$dynamic===!0?!0:l.$dynamic===!1?!1:((u=l.anyOf)==null?void 0:u.some(c=>c.$dynamic===!0))??!1};function s(l){const u=[],c=[];for(const h in l)typeof l[h]=="object"&&(l[h]=Ob(l[h]),l[h].$required?u.push(h):c.push(h));const d=[...u.sort(),...c.sort()],f={};return d.forEach(h=>{var m;(!l[h].$deprecated||(m=n.forceInclude)!=null&&m.includes(h))&&(f[h]=l[h])}),f}return(l,u)=>(r.openBlock(),r.createBlock(an,{class:"section-collapsible","clickable-text":l.sectionName,href:l.href,onExpand:u[2]||(u[2]=c=>i("expand")),"initially-expanded":l.initiallyExpanded||a.value},r.createSlots({_:2},[Object.keys(l.properties??{}).length>0?{name:"content",fn:r.withCtx(()=>[r.createElementVNode("div",fC,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(s(l.properties),(c,d)=>(r.openBlock(),r.createBlock(an,{class:"property",key:d,arrow:!1,"clickable-text":d,href:l.href+"_"+d,onExpand:u[1]||(u[1]=f=>a.value=!0)},{additionalButtonText:r.withCtx(()=>[c.$required?(r.openBlock(),r.createBlock(le,{key:0,class:"d-flex",title:"Required"},{default:r.withCtx(()=>u[3]||(u[3]=[r.createElementVNode("span",{class:"text-danger"}," *",-1)])),_:1})):r.createCommentVNode("",!0)]),buttonRight:r.withCtx(({collapsed:f})=>[r.createElementVNode("span",hC,[r.createElementVNode("span",mC,[l.showDynamic&&!o(c)?(r.openBlock(),r.createBlock(le,{key:0,class:"d-flex",title:"Non-dynamic"},{default:r.withCtx(()=>[r.createVNode(iC,{class:"text-info"})]),_:1})):r.createCommentVNode("",!0),c.$beta?(r.openBlock(),r.createBlock(le,{key:1,class:"d-flex",title:"Beta"},{default:r.withCtx(()=>[r.createVNode(dC,{class:"text-warning"})]),_:1})):r.createCommentVNode("",!0),c.$deprecated?(r.openBlock(),r.createBlock(le,{key:2,class:"d-flex",title:"Deprecated"},{default:r.withCtx(()=>[r.createVNode(Rf,{class:"text-warning"})]),_:1})):r.createCommentVNode("",!0)]),r.createElementVNode("span",pC,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(Af)(c).types,h=>(r.openBlock(),r.createElementBlock(r.Fragment,{key:h},[h.startsWith("#")?(r.openBlock(),r.createElementBlock("a",{key:0,class:"d-flex fw-bold type-box rounded fs-7 px-2 py-1",href:h,onClick:u[0]||(u[0]=r.withModifiers(()=>{},["stop"]))},[r.createElementVNode("span",vC,r.toDisplayString(r.unref(If)(h)),1),r.createVNode(Of)],8,gC)):(r.openBlock(),r.createElementBlock("span",_C,r.toDisplayString(h),1))],64))),128)),(r.openBlock(),r.createBlock(r.resolveDynamicComponent(f?xb:Zk),{class:"arrow"}))])])]),content:r.withCtx(()=>[r.createVNode(Gk,{property:c},{markdown:r.withCtx(({content:f})=>[r.renderSlot(l.$slots,"markdown",{content:f},void 0,!0)]),_:2},1032,["property"])]),_:2},1032,["clickable-text","href"]))),128))])]),key:"0"}:void 0]),1032,["clickable-text","href","initially-expanded"]))}}),jt=K(EC,[["__scopeId","data-v-0d36ff40"]]),yC={class:"d-flex flex-column gap-6"},bC={key:0,class:"alert alert-info",role:"alert"},kC={key:1,class:"plugin-title markdown"},CC={key:2,class:"markdown"},NC={class:"d-flex flex-column gap-4"},wC={class:"d-flex flex-column gap-3"},SC={class:"markdown"},LC={key:0,class:"w-100 align-self-center"},TC={class:"markdown"},IC={class:"markdown"},AC={class:"markdown"},OC={class:"d-flex flex-column gap-7 ps-3"},RC={class:"markdown"},DC=r.defineComponent({__name:"SchemaToHtml",props:{schema:{},pluginType:{},darkMode:{type:Boolean,default:!0},propsInitiallyExpanded:{type:Boolean,default:!1},forceIncludeProperties:{default:()=>[]}},async setup(e){let t,n;const i=e,a=r.ref(!1),o=r.ref(new Set),s=r.ref(0),l=async()=>{var N;const g=window.location.hash.slice(1);if(!g||!i.schema.definitions){o.value.clear();return}const k=g.includes("#")?(N=g.split("#").pop())==null?void 0:N.split(".").pop():g;if(k&&k in i.schema.definitions){a.value=!0,s.value+=1,o.value.clear(),o.value.add(k),await r.nextTick();let b=0;const T=30,O=()=>{const R=document.getElementById(k);R?R.scrollIntoView({behavior:"smooth",block:"start"}):b<T&&(b++,requestAnimationFrame(O))};requestAnimationFrame(O)}else o.value.clear()};r.watch([()=>i.schema,()=>i.pluginType],([g,k],[N,b])=>{(g!==N||k!==b)&&i.schema.definitions&&l()},{immediate:!0});const u=g=>{var k;return g!=null&&g.full?g.code:`id: "${(k=i.pluginType.split(".").reverse()[0])==null?void 0:k.toLowerCase()}"
26
- type: "${i.pluginType}"
27
- `.concat(g.code)},c=r.ref(null),d=r.computed(()=>{var g;return(g=i.schema.properties)==null?void 0:g.$examples}),f=r.computed(()=>{var g,k;return Object.fromEntries((k=(g=i.schema.properties)==null?void 0:g.$metrics)==null?void 0:k.map(N=>[N.name,{...N,name:void 0}]))}),{githubLight:h,githubDark:m,yaml:C,python:E,javascript:_,createJavaScriptRegexEngine:p,createHighlighterCore:v}=([t,n]=r.withAsyncContext(()=>Promise.resolve().then(()=>require("./shikiToolset-BiVCa5d0.cjs"))),t=await t,n(),t);c.value=([t,n]=r.withAsyncContext(()=>v({themes:[i.darkMode?m:h],langs:[C,E,_],engine:p()})),t=await t,n(),t);const y="github-"+(i.darkMode?"dark":"light");return r.onMounted(()=>{l(),window.addEventListener("hashchange",l)}),r.onUnmounted(()=>{var g;window.removeEventListener("hashchange",l),(g=c.value)==null||g.dispose()}),(g,k)=>{var N,b,T,O,R,U;return r.openBlock(),r.createElementBlock("div",yC,[r.createElementVNode("div",null,[(N=g.schema.properties)!=null&&N.$beta?(r.openBlock(),r.createElementBlock("div",bC,k[0]||(k[0]=[r.createElementVNode("p",null," This plugin is currently in beta. While it is considered safe for use, please be aware that its API could change in ways that are not compatible with earlier versions in future releases, or it might become unsupported. ",-1)]))):r.createCommentVNode("",!0),(b=g.schema.properties)!=null&&b.title?(r.openBlock(),r.createElementBlock("div",kC,[r.renderSlot(g.$slots,"markdown",{content:g.schema.properties.title.replaceAll(/ *:(?![ /])/g,": ")},void 0,!0)])):r.createCommentVNode("",!0),(T=g.schema.properties)!=null&&T.description?(r.openBlock(),r.createElementBlock("div",CC,[r.renderSlot(g.$slots,"markdown",{content:g.schema.properties.description.replaceAll(/ *:(?![ /])/g,": ")},void 0,!0)])):r.createCommentVNode("",!0),(r.openBlock(),r.createBlock(Yc,{highlighter:c.value,language:"yaml",theme:y,code:`type: "${g.pluginType}"`,key:g.pluginType},null,8,["highlighter","code"]))]),(r.openBlock(),r.createElementBlock("div",{class:"d-flex flex-column gap-3",key:g.pluginType},[d.value?(r.openBlock(),r.createBlock(an,{key:0,class:"plugin-section","clickable-text":"Examples",href:"examples"},{content:r.withCtx(()=>[r.createElementVNode("div",NC,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(d.value,(V,W)=>(r.openBlock(),r.createElementBlock(r.Fragment,{key:g.pluginType+"-"+W},[r.createElementVNode("div",wC,[r.createElementVNode("div",SC,[V.title?r.renderSlot(g.$slots,"markdown",{key:0,content:V.title.replaceAll(/ *:(?![ /])/g,": ")},void 0,!0):r.createCommentVNode("",!0)]),V.code?(r.openBlock(),r.createBlock(Yc,{key:0,highlighter:c.value,language:V.lang??"yaml",theme:y,code:u(V)},null,8,["highlighter","language","code"])):r.createCommentVNode("",!0)]),W<d.value.length-1?(r.openBlock(),r.createElementBlock("hr",LC)):r.createCommentVNode("",!0)],64))),128))])]),_:3})):r.createCommentVNode("",!0),(O=g.schema.properties)!=null&&O.properties?(r.openBlock(),r.createBlock(jt,{key:1,class:"plugin-section",properties:g.schema.properties.properties,"section-name":"Properties",href:"properties","initially-expanded":g.propsInitiallyExpanded,"force-include":g.forceIncludeProperties},{markdown:r.withCtx(({content:V})=>[r.createElementVNode("div",TC,[r.renderSlot(g.$slots,"markdown",{content:V},void 0,!0)])]),_:3},8,["properties","initially-expanded","force-include"])):r.createCommentVNode("",!0),(R=g.schema.outputs)!=null&&R.properties&&Object.keys(g.schema.outputs.properties).length>0?(r.openBlock(),r.createBlock(jt,{key:2,class:"plugin-section",properties:g.schema.outputs.properties,"section-name":"Outputs",href:"outputs","show-dynamic":!1},{markdown:r.withCtx(({content:V})=>[r.createElementVNode("div",IC,[r.renderSlot(g.$slots,"markdown",{content:V},void 0,!0)])]),_:3},8,["properties"])):r.createCommentVNode("",!0),(U=g.schema.properties)!=null&&U.$metrics?(r.openBlock(),r.createBlock(jt,{key:3,class:"plugin-section",properties:f.value,"section-name":"Metrics",href:"metrics","show-dynamic":!1},{markdown:r.withCtx(({content:V})=>[r.createElementVNode("div",AC,[r.renderSlot(g.$slots,"markdown",{content:V},void 0,!0)])]),_:3},8,["properties"])):r.createCommentVNode("",!0),g.schema.definitions&&Object.keys(g.schema.definitions).length>0?(r.openBlock(),r.createBlock(an,{class:"plugin-section","clickable-text":"Definitions",href:"definitions","initially-expanded":a.value,key:`definitions-${g.pluginType}-${s.value}`},{content:r.withCtx(()=>[r.createElementVNode("div",OC,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(Object.entries(g.schema.definitions),([V,W])=>(r.openBlock(),r.createBlock(jt,{properties:W.properties,"section-name":W.title??V.split("_")[0],href:V,"show-dynamic":!1,"initially-expanded":o.value.has(V),key:g.pluginType+"-"+V,class:"plugin-section nested-button-py-2",onExpand:Z=>{a.value=!0,o.value.add(V)}},{markdown:r.withCtx(({content:Z})=>[r.createElementVNode("div",RC,[r.renderSlot(g.$slots,"markdown",{content:Z},void 0,!0)])]),_:2},1032,["properties","section-name","href","initially-expanded","onExpand"]))),128))])]),_:3},8,["initially-expanded"])):r.createCommentVNode("",!0)]))])}}}),PC=K(DC,[["__scopeId","data-v-5953ec4c"]]),BC={name:"ChevronRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},VC=["aria-hidden","aria-label"],MC=["fill","width","height"],xC={d:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"},$C={key:0};function qC(e,t,n,i,a,o){return r.openBlock(),r.createElementBlock("span",r.mergeProps(e.$attrs,{"aria-hidden":n.title?null:!0,"aria-label":n.title,class:"material-design-icon chevron-right-icon",role:"img",onClick:t[0]||(t[0]=s=>e.$emit("click",s))}),[(r.openBlock(),r.createElementBlock("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[r.createElementVNode("path",xC,[n.title?(r.openBlock(),r.createElementBlock("title",$C,r.toDisplayString(n.title),1)):r.createCommentVNode("",!0)])],8,MC))],16,VC)}const FC=K(BC,[["render",qC]]),UC=["href"],HC=["src","alt"],GC=r.defineComponent({__name:"RowLink",props:{iconB64Svg:{},text:{},href:{}},setup(e){const t=e,{path:n}=Zt.useRoute(),i=r.computed(()=>t.href===void 0?`${n}/${pt(t.text)}`:t.href);return(a,o)=>(r.openBlock(),r.createElementBlock("a",{href:i.value,class:"row-link d-flex flex-grow-1 align-items-center gap-7 rounded"},[r.createElementVNode("img",{src:a.iconB64Svg,alt:`${a.text} icon`},null,8,HC),r.createTextVNode(r.toDisplayString(a.text)+" ",1),r.createVNode(FC,{class:"ms-auto"})],8,UC))}}),Xc=K(GC,[["__scopeId","data-v-b787c0f3"]]),zC={class:"d-flex flex-column gap-4"},WC={key:1,class:"d-flex flex-column"},jC=["id"],KC={class:"d-flex flex-column"},YC=r.defineComponent({__name:"PluginIndex",props:{plugins:{},pluginName:{},subGroup:{},icons:{}},emits:["goTo"],setup(e){const t=e,n=r.computed(()=>t.plugins.find(f=>t.subGroup===void 0?!0:pt(Nt(f))===t.subGroup)),i=r.computed(()=>{var f,h;return((f=n.value)==null?void 0:f.longDescription)??((h=n.value)==null?void 0:h.description)}),a=r.computed(()=>t.plugins.filter(f=>f.name.toLowerCase()===t.pluginName.toLowerCase()&&f.subGroup!==void 0)),o=f=>{let h=f.split(".");return h==null?void 0:h[h.length-1]},{path:s}=Zt.useRoute(),l=f=>`${s}/${pt(f)}`,u=f=>`${s}/${f}`;function c(f){return Object.fromEntries(Object.entries(f).filter(([h,m])=>Vd(h,m)).map(([h,m])=>[h.replaceAll(/[A-Z]/g,C=>` ${C}`),m.filter(({deprecated:C})=>!C).map(({cls:C})=>C)]))}const d=r.computed(()=>c(n.value));return(f,h)=>(r.openBlock(),r.createElementBlock("div",zC,[i.value!==void 0?r.renderSlot(f.$slots,"markdown",{key:0,content:i.value.replaceAll(/ *:(?![ /])/g,": ")}):r.createCommentVNode("",!0),f.subGroup===void 0&&f.plugins.length>1?(r.openBlock(),r.createElementBlock("div",WC,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(a.value,m=>(r.openBlock(),r.createBlock(Xc,{id:`group-${r.unref(pt)(r.unref(Nt)(m))}`,"icon-b64-svg":"data:image/svg+xml;base64,"+(f.icons[m.subGroup]??f.icons[m.group]),text:r.unref(Nt)(m),href:l(r.unref(Nt)(m)),key:r.unref(Nt)(m),class:"text-capitalize",onClick:C=>f.$emit("goTo",{subGroup:m})},null,8,["id","icon-b64-svg","text","href","onClick"]))),128))])):(r.openBlock(!0),r.createElementBlock(r.Fragment,{key:2},r.renderList(d.value,(m,C)=>(r.openBlock(),r.createElementBlock("div",{class:"d-flex flex-column elements-section",key:C},[r.createElementVNode("h4",{id:`section-${r.unref(pt)(C)}`,class:"text-capitalize"},r.toDisplayString(C),9,jC),r.createElementVNode("div",KC,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(m,E=>(r.openBlock(),r.createBlock(Xc,{id:r.unref(pt)(E),"icon-b64-svg":"data:image/svg+xml;base64,"+(f.icons[E]??f.icons[n.value.subGroup??n.value.group]??f.icons[n.value.group]),text:o(E),href:u(E),key:E,class:"text-capitalize",onClick:_=>f.$emit("goTo",{element:E})},null,8,["id","icon-b64-svg","text","href","onClick"]))),128))])]))),128))]))}}),XC=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,ZC=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,JC=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function QC(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){eN(e);return}return t}function eN(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function tN(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!JC.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(XC.test(e)||ZC.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,QC)}return JSON.parse(e)}catch(i){if(t.strict)throw i;return e}}const nN=/\d/,rN=["-","_","/","."];function iN(e=""){if(!nN.test(e))return e!==e.toLowerCase()}function Df(e,t){const n=rN,i=[];if(!e||typeof e!="string")return i;let a="",o,s;for(const l of e){const u=n.includes(l);if(u===!0){i.push(a),a="",o=void 0;continue}const c=iN(l);if(s===!1){if(o===!1&&c===!0){i.push(a),a=l,o=c;continue}if(o===!0&&c===!1&&a.length>1){const d=a.at(-1);i.push(a.slice(0,Math.max(0,a.length-1))),a=d+l,o=c;continue}}a+=l,o=c,s=u}return i.push(a),i}function aN(e){return e?e[0].toUpperCase()+e.slice(1):""}function Pf(e,t){return e?(Array.isArray(e)?e:Df(e)).map(n=>aN(n)).join(""):""}function oN(e,t){return e?(Array.isArray(e)?e:Df(e)).map(n=>n.toLowerCase()).join("-"):""}class xt{constructor(t,n,i){this.normal=n,this.property=t,i&&(this.space=i)}}xt.prototype.normal={};xt.prototype.property={};xt.prototype.space=void 0;function Bf(e,t){const n={},i={};for(const a of e)Object.assign(n,a.property),Object.assign(i,a.normal);return new xt(n,i,t)}function fo(e){return e.toLowerCase()}class Ve{constructor(t,n){this.attribute=n,this.property=t}}Ve.prototype.attribute="";Ve.prototype.booleanish=!1;Ve.prototype.boolean=!1;Ve.prototype.commaOrSpaceSeparated=!1;Ve.prototype.commaSeparated=!1;Ve.prototype.defined=!1;Ve.prototype.mustUseProperty=!1;Ve.prototype.number=!1;Ve.prototype.overloadedBoolean=!1;Ve.prototype.property="";Ve.prototype.spaceSeparated=!1;Ve.prototype.space=void 0;let sN=0;const Q=yt(),ke=yt(),Vf=yt(),M=yt(),de=yt(),St=yt(),qe=yt();function yt(){return 2**++sN}const ho=Object.freeze(Object.defineProperty({__proto__:null,boolean:Q,booleanish:ke,commaOrSpaceSeparated:qe,commaSeparated:St,number:M,overloadedBoolean:Vf,spaceSeparated:de},Symbol.toStringTag,{value:"Module"})),Xa=Object.keys(ho);class Mo extends Ve{constructor(t,n,i,a){let o=-1;if(super(t,n),Zc(this,"space",a),typeof i=="number")for(;++o<Xa.length;){const s=Xa[o];Zc(this,Xa[o],(i&ho[s])===ho[s])}}}Mo.prototype.defined=!0;function Zc(e,t,n){n&&(e[t]=n)}function At(e){const t={},n={};for(const[i,a]of Object.entries(e.properties)){const o=new Mo(i,e.transform(e.attributes||{},i),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(i)&&(o.mustUseProperty=!0),t[i]=o,n[fo(i)]=i,n[fo(o.attribute)]=i}return new xt(t,n,e.space)}const Mf=At({properties:{ariaActiveDescendant:null,ariaAtomic:ke,ariaAutoComplete:null,ariaBusy:ke,ariaChecked:ke,ariaColCount:M,ariaColIndex:M,ariaColSpan:M,ariaControls:de,ariaCurrent:null,ariaDescribedBy:de,ariaDetails:null,ariaDisabled:ke,ariaDropEffect:de,ariaErrorMessage:null,ariaExpanded:ke,ariaFlowTo:de,ariaGrabbed:ke,ariaHasPopup:null,ariaHidden:ke,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:de,ariaLevel:M,ariaLive:null,ariaModal:ke,ariaMultiLine:ke,ariaMultiSelectable:ke,ariaOrientation:null,ariaOwns:de,ariaPlaceholder:null,ariaPosInSet:M,ariaPressed:ke,ariaReadOnly:ke,ariaRelevant:null,ariaRequired:ke,ariaRoleDescription:de,ariaRowCount:M,ariaRowIndex:M,ariaRowSpan:M,ariaSelected:ke,ariaSetSize:M,ariaSort:null,ariaValueMax:M,ariaValueMin:M,ariaValueNow:M,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function xf(e,t){return t in e?e[t]:t}function $f(e,t){return xf(e,t.toLowerCase())}const lN=At({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:St,acceptCharset:de,accessKey:de,action:null,allow:null,allowFullScreen:Q,allowPaymentRequest:Q,allowUserMedia:Q,alt:null,as:null,async:Q,autoCapitalize:null,autoComplete:de,autoFocus:Q,autoPlay:Q,blocking:de,capture:null,charSet:null,checked:Q,cite:null,className:de,cols:M,colSpan:null,content:null,contentEditable:ke,controls:Q,controlsList:de,coords:M|St,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Q,defer:Q,dir:null,dirName:null,disabled:Q,download:Vf,draggable:ke,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Q,formTarget:null,headers:de,height:M,hidden:Q,high:M,href:null,hrefLang:null,htmlFor:de,httpEquiv:de,id:null,imageSizes:null,imageSrcSet:null,inert:Q,inputMode:null,integrity:null,is:null,isMap:Q,itemId:null,itemProp:de,itemRef:de,itemScope:Q,itemType:de,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Q,low:M,manifest:null,max:null,maxLength:M,media:null,method:null,min:null,minLength:M,multiple:Q,muted:Q,name:null,nonce:null,noModule:Q,noValidate:Q,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Q,optimum:M,pattern:null,ping:de,placeholder:null,playsInline:Q,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Q,referrerPolicy:null,rel:de,required:Q,reversed:Q,rows:M,rowSpan:M,sandbox:de,scope:null,scoped:Q,seamless:Q,selected:Q,shadowRootClonable:Q,shadowRootDelegatesFocus:Q,shadowRootMode:null,shape:null,size:M,sizes:null,slot:null,span:M,spellCheck:ke,src:null,srcDoc:null,srcLang:null,srcSet:null,start:M,step:null,style:null,tabIndex:M,target:null,title:null,translate:null,type:null,typeMustMatch:Q,useMap:null,value:ke,width:M,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:de,axis:null,background:null,bgColor:null,border:M,borderColor:null,bottomMargin:M,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Q,declare:Q,event:null,face:null,frame:null,frameBorder:null,hSpace:M,leftMargin:M,link:null,longDesc:null,lowSrc:null,marginHeight:M,marginWidth:M,noResize:Q,noHref:Q,noShade:Q,noWrap:Q,object:null,profile:null,prompt:null,rev:null,rightMargin:M,rules:null,scheme:null,scrolling:ke,standby:null,summary:null,text:null,topMargin:M,valueType:null,version:null,vAlign:null,vLink:null,vSpace:M,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Q,disableRemotePlayback:Q,prefix:null,property:null,results:M,security:null,unselectable:null},space:"html",transform:$f}),uN=At({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:qe,accentHeight:M,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:M,amplitude:M,arabicForm:null,ascent:M,attributeName:null,attributeType:null,azimuth:M,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:M,by:null,calcMode:null,capHeight:M,className:de,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:M,diffuseConstant:M,direction:null,display:null,dur:null,divisor:M,dominantBaseline:null,download:Q,dx:null,dy:null,edgeMode:null,editable:null,elevation:M,enableBackground:null,end:null,event:null,exponent:M,externalResourcesRequired:null,fill:null,fillOpacity:M,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:St,g2:St,glyphName:St,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:M,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:M,horizOriginX:M,horizOriginY:M,id:null,ideographic:M,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:M,k:M,k1:M,k2:M,k3:M,k4:M,kernelMatrix:qe,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:M,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:M,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:M,overlineThickness:M,paintOrder:null,panose1:null,path:null,pathLength:M,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:de,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:M,pointsAtY:M,pointsAtZ:M,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:qe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:qe,rev:qe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:qe,requiredFeatures:qe,requiredFonts:qe,requiredFormats:qe,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:M,specularExponent:M,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:M,strikethroughThickness:M,string:null,stroke:null,strokeDashArray:qe,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:M,strokeOpacity:M,strokeWidth:null,style:null,surfaceScale:M,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:qe,tabIndex:M,tableValues:null,target:null,targetX:M,targetY:M,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:qe,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:M,underlineThickness:M,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:M,values:null,vAlphabetic:M,vMathematical:M,vectorEffect:null,vHanging:M,vIdeographic:M,version:null,vertAdvY:M,vertOriginX:M,vertOriginY:M,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:M,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:xf}),qf=At({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),Ff=At({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:$f}),Uf=At({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),cN=/[A-Z]/g,Jc=/-[a-z]/g,dN=/^data[-\w.:]+$/i;function fN(e,t){const n=fo(t);let i=t,a=Ve;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&dN.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(Jc,mN);i="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!Jc.test(o)){let s=o.replace(cN,hN);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}a=Mo}return new a(i,t)}function hN(e){return"-"+e.toLowerCase()}function mN(e){return e.charAt(1).toUpperCase()}const pN=Bf([Mf,lN,qf,Ff,Uf],"html");Bf([Mf,uN,qf,Ff,Uf],"svg");const xo=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],gN=["p","h1","h2","h3","h4","h5","h6","li"];function on(e,t){return e.type===t||typeof e.type=="object"&&e.type.tag===t||e.tag===t}function $o(e){return on(e,"text")||on(e,Symbol.for("v-txt"))}function Hf(e){var t;return Array.isArray(e.children)||typeof e.children=="string"?e.children:typeof((t=e.children)==null?void 0:t.default)=="function"?e.children.default():[]}function sn(e){if(!e)return"";if(Array.isArray(e))return e.map(sn).join("");if($o(e))return e.value||e.children||"";const t=Hf(e);return Array.isArray(t)?t.map(sn).filter(Boolean).join(""):""}function Gf(e,t=[]){if(Array.isArray(e))return e.flatMap(i=>Gf(i,t));let n=e;return t.some(i=>i==="*"||on(e,i))&&(n=Hf(e)||e,!Array.isArray(n)&&gN.some(i=>on(e,i))&&(n=[n])),n}function zf(e,t=[]){return e=Array.isArray(e)?e:[e],t.length?e.flatMap(n=>zf(Gf(n,[t[0]]),t.slice(1))).filter(n=>!($o(n)&&sn(n).trim()==="")):e}function Wf(e,t=[]){return typeof t=="string"&&(t=t.split(/[,\s]/).map(n=>n.trim()).filter(Boolean)),t.length?zf(e,t).reduce((n,i)=>($o(i)?typeof n[n.length-1]=="string"?n[n.length-1]+=i.children:n.push(i.children):n.push(i),n),[]):e}function vN(e,t){return t.reduce((n,i)=>{const a=_N(e,i);return a!==void 0&&(n[i]=a),n},{})}function _N(e,t){return t.split(".").reduce((n,i)=>n&&n[i],e)}const mo="default",jf=/^@|^v-on:/,Kf=/^:|^v-bind:/,EN=/^v-model/,yN=["select","textarea","input"],bN=["math","svg"],kN=Object.fromEntries(["p","a","blockquote","code","pre","code","em","h1","h2","h3","h4","h5","h6","hr","img","ul","ol","li","strong","table","thead","tbody","td","th","tr","script"].map(e=>[e,`prose-${e}`])),CN=r.defineComponent({name:"MDCRenderer",props:{body:{type:Object,required:!0},data:{type:Object,default:()=>({})},class:{type:[String,Object],default:void 0},tag:{type:[String,Boolean],default:void 0},prose:{type:Boolean,default:void 0},components:{type:Object,default:()=>({})},unwrap:{type:[Boolean,String],default:!1}},async setup(e){var c,d,f,h,m,C,E;const t=(d=(c=r.getCurrentInstance())==null?void 0:c.appContext)==null?void 0:d.app,n=t==null?void 0:t.$nuxt,i=(n==null?void 0:n.$route)||(n==null?void 0:n._route),{mdc:a}=((f=n==null?void 0:n.$config)==null?void 0:f.public)||{},o={...(h=a==null?void 0:a.components)!=null&&h.prose&&e.prose!==!1?kN:{},...((m=a==null?void 0:a.components)==null?void 0:m.map)||{},...r.toRaw(((E=(C=e.data)==null?void 0:C.mdc)==null?void 0:E.components)||{}),...e.components},s=r.computed(()=>{var p;const _=(((p=e.body)==null?void 0:p.children)||[]).map(v=>v.tag||v.type).filter(v=>!xo.includes(v));return Array.from(new Set(_)).sort().join(".")}),l=r.reactive({...e.data});r.watch(()=>e.data,_=>{Object.assign(l,_)}),await PN(e.body,{tags:o});function u(_,p){const v=_.split(".").length-1;return _.split(".").reduce((y,g,k)=>k==v&&y?(y[g]=p,y[g]):typeof y=="object"?y[g]:void 0,l)}return{tags:o,contentKey:s,route:i,runtimeData:l,updateRuntimeData:u}},render(e){var m,C;const{tags:t,tag:n,body:i,data:a,contentKey:o,route:s,unwrap:l,runtimeData:u,updateRuntimeData:c}=e;if(!i)return null;const d={...a,tags:t,$route:s,runtimeData:u,updateRuntimeData:c},f=n!==!1?po(n||((m=d.component)==null?void 0:m.name)||d.component||"div"):void 0;return f?r.h(f,{...(C=d.component)==null?void 0:C.props,class:e.class,...this.$attrs,key:o},{default:h}):h==null?void 0:h();function h(){const E=Yf(i,r.h,{documentMeta:d,parentScope:d,resolveComponent:po});return E!=null&&E.default?l?Wf(E.default(),typeof l=="string"?l.split(" "):["*"]):E.default():null}}});function NN(e,t,n){const{documentMeta:i,parentScope:a,resolveComponent:o}=n;if(e.type==="text")return t(r.Text,e.value);if(e.type==="comment")return t(r.Comment,null,e.value);const s=e.tag,l=Zf(e,i.tags);if(e.tag==="binding")return wN(e,t,i,a);const u=Xf(l)?f=>f:o;if(l==="script")return t("pre",{class:"script-to-pre"},`<script>
28
- `+sn(e)+`
29
- <\/script>`);const c=u(l);typeof c=="object"&&(c.tag=s);const d=SN(e,i);return t(c,d,Yf(e,t,{documentMeta:i,parentScope:{...a,...d},resolveComponent:u}))}function Yf(e,t,n){const{documentMeta:i,parentScope:a,resolveComponent:o}=n,l=(e.children||[]).reduce((c,d)=>{if(!RN(d))return c[mo].children.push(d),c;const f=ON(d);return c[f]=c[f]||{props:{},children:[]},d.type==="element"&&(c[f].props=d.props,c[f].children.push(...d.children||[])),c},{[mo]:{props:{},children:[]}});return Object.entries(l).reduce((c,[d,{props:f,children:h}])=>(h.length&&(c[d]=(m={})=>{const C=vN(m,Object.keys(f||{}));let E=h.map(_=>NN(_,t,{documentMeta:i,parentScope:{...a,...C},resolveComponent:o}));return f!=null&&f.unwrap&&(E=Wf(E,f.unwrap)),DN(E)}),c),{})}function wN(e,t,n,i={}){var c,d;const a={...n.runtimeData,...i,$document:n,$doc:n},o=/\.|\[(\d+)\]/,l=((c=e.props)==null?void 0:c.value.trim().split(o).filter(Boolean)).reduce((f,h)=>{if(f&&h in f)return typeof f[h]=="function"?f[h]():f[h]},a),u=(d=e.props)==null?void 0:d.defaultValue;return t(r.Text,l??u??"")}function SN(e,t){const{tag:n="",props:i={}}=e;return Object.keys(i).reduce(function(a,o){if(o==="__ignoreMap")return a;const s=i[o];if(EN.test(o))return LN(o,s,a,t,{native:yN.includes(n)});if(o==="v-bind")return TN(o,s,a,t);if(jf.test(o))return IN(o,s,a,t);if(Kf.test(o))return AN(o,s,a,t);const{attribute:l}=fN(pN,o);return Array.isArray(s)&&s.every(u=>typeof u=="string")?(a[l]=s.join(" "),a):(a[l]=s,a)},{})}function LN(e,t,n,i,{native:a}){var u;const o=((u=e.match(/^v-model:([^=]+)/))==null?void 0:u[1])||"modelValue",s=a?"value":o,l=a?"onInput":`onUpdate:${o}`;return n[s]=Nn(t,i.runtimeData),n[l]=c=>{var d;i.updateRuntimeData(t,a?(d=c.target)==null?void 0:d.value:c)},n}function TN(e,t,n,i){const a=Nn(t,i);return n=Object.assign(n,a),n}function IN(e,t,n,i){return e=e.replace(jf,""),n.on=n.on||{},n.on[e]=()=>Nn(t,i),n}function AN(e,t,n,i){return e=e.replace(Kf,""),n[e]=Nn(t,i),n}const po=e=>{if(typeof e=="string"){if(xo.includes(e))return e;const t=r.resolveComponent(Pf(e),!1);return!e||(t==null?void 0:t.name)==="AsyncComponentWrapper"||typeof t=="string"?t:"setup"in t?r.defineAsyncComponent(()=>new Promise(n=>n(t))):t}return e};function Nn(e,t){const n=e.split(".").reduce((i,a)=>typeof i=="object"?i[a]:void 0,t);return typeof n>"u"?tN(e):n}function ON(e){let t="";for(const n of Object.keys(e.props||{}))if(!(!n.startsWith("#")&&!n.startsWith("v-slot:"))){t=n.split(/[:#]/,2)[1];break}return t||mo}function RN(e){return e.tag==="template"}function Xf(e){return bN.includes(e)}function DN(e){const t=[];for(const n of e){const i=t[t.length-1];n.type===r.Text&&(i==null?void 0:i.type)===r.Text?i.children=i.children+n.children:t.push(n)}return t}async function PN(e,t){if(!e)return;const n=Array.from(new Set(i(e,t)));await Promise.all(n.map(async a=>{if(a!=null&&a.render||a!=null&&a.ssrRender||a!=null&&a.__ssrInlineRender)return;const o=po(a);o!=null&&o.__asyncLoader&&!o.__asyncResolved&&await o.__asyncLoader()}));function i(a,o){const s=a.tag;if(a.type==="text"||s==="binding"||a.type==="comment")return[];const l=Zf(a,o.tags);if(Xf(l))return[];const u=[];a.type!=="root"&&!xo.includes(l)&&u.push(l);for(const c of a.children||[])u.push(...i(c,o));return u}}function Zf(e,t){var i;const n=e.tag;return!n||typeof((i=e.props)==null?void 0:i.__ignoreMap)<"u"?n:t[n]||t[Pf(n)]||t[oN(e.tag)]||n}const BN=r.defineComponent({__name:"MDCRenderer",setup(e){return(t,n)=>(r.openBlock(),r.createBlock(r.Suspense,null,{default:r.withCtx(()=>[r.createVNode(CN,r.mergeProps(t.$attrs,{prose:!0}),null,16)]),_:1}))}});exports.CLUSTER_PREFIX=st;exports.DependenciesNode=I_;exports.EVENTS=H;exports.MDCRenderer=BN;exports.NODE_SIZES=Ze;exports.PluginIndex=YC;exports.SECTIONS=Qe;exports.STATES=re;exports.SchemaToHtml=PC;exports.State=Ce;exports.TaskIcon=Do;exports.Topology=j0;exports.Utils=ge;exports.VueFlowUtils=Kt;exports.YamlUtils=gh;exports.cssVariable=Fe;exports.editorViewTypes=dh;exports.executeFlowBehaviours=hh;exports.getMDCParser=t1;exports.isEntryAPluginElementPredicate=Vd;exports.logDisplayTypes=ch;exports.slugify=pt;exports.stateDisplayValues=mh;exports.stateGlobalChartTypes=uh;exports.storageKeys=fh;exports.subGroupName=Nt;
24
+ </svg>`));return(i,a)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(t.unref(re.Handle),{type:"source",position:e.sourcePosition},null,8,["position"]),t.createElementVNode("div",{class:t.normalizeClass([[`border-${e.data.color}`],"dependency-node-wrapper rounded-3 border"])},[t.createVNode(Pn,{"custom-icon":{icon:r.value},class:"bg-pink rounded",theme:"light"},null,8,["custom-icon"]),t.createElementVNode("div",Js,[t.createElementVNode("div",Qs,[t.createVNode(X,{title:e.data.flowId},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.data.flowId),1)]),_:1},8,["title"])]),t.createElementVNode("div",ec,[t.createVNode(X,{title:e.data.namespace},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.data.namespace),1)]),_:1},8,["title"])])]),t.createElementVNode("div",tc,[t.renderSlot(i.$slots,"badge-button-before",{},void 0,!0),e.data.link?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:a[0]||(a[0]=s=>i.$emit(t.unref(y.EVENTS).OPEN_LINK,e.data))},[t.createVNode(X,{title:t.unref(l)("open")},{default:t.withCtx(()=>[t.createVNode(Rn,{class:"button-icon",alt:"Open in new tab"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),e.data.expandEnabled?(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:a[1]||(a[1]=s=>o(t.unref(y.EVENTS).EXPAND_DEPENDENCIES,e.data))},[t.createVNode(X,{title:t.unref(l)("expand")},{default:t.withCtx(()=>[t.createVNode(Zs,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),t.renderSlot(i.$slots,"badge-button-after",{},void 0,!0)])],2),t.createVNode(t.unref(re.Handle),{type:"target",position:e.targetPosition},null,8,["position"])],64))}}),oc=B(nc,[["__scopeId","data-v-2271d5b0"]]);var we=(e=>(e.Lines="lines",e.Dots="dots",e))(we||{});const fl=function({dimensions:e,size:n,color:o}){return t.h("path",{stroke:o,"stroke-width":n,d:`M${e[0]/2} 0 V${e[1]} M0 ${e[1]/2} H${e[0]}`})},ml=function({radius:e,color:n}){return t.h("circle",{cx:e,cy:e,r:e,fill:n})};we.Lines+"",we.Dots+"";const lc={[we.Dots]:"#81818a",[we.Lines]:"#eee"},rc=["id","x","y","width","height","patternTransform"],ic={key:2,height:"100",width:"100"},ac=["fill"],sc=["x","y","fill"],cc={name:"Background",compatConfig:{MODE:3}},uc=t.defineComponent({...cc,props:{id:{},variant:{default:()=>we.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:2}},setup(e){const{id:n,viewport:o}=re.useVueFlow(),l=t.computed(()=>{const[a,s]=Array.isArray(e.gap)?e.gap:[e.gap,e.gap],c=[a*o.value.zoom||1,s*o.value.zoom||1],d=e.size*o.value.zoom,m=e.variant===we.Dots?[d/e.offset,d/e.offset]:[c[0]/e.offset,c[1]/e.offset];return{scaledGap:c,offset:m,size:d}}),r=t.toRef(()=>`pattern-${n}${e.id?`-${e.id}`:""}`),i=t.toRef(()=>e.color||e.patternColor||lc[e.variant||we.Dots]);return(a,s)=>(t.openBlock(),t.createElementBlock("svg",{class:"vue-flow__background vue-flow__container",style:t.normalizeStyle({height:`${a.height>100?100:a.height}%`,width:`${a.width>100?100:a.width}%`})},[t.renderSlot(a.$slots,"pattern-container",{id:r.value},()=>[t.createElementVNode("pattern",{id:r.value,x:t.unref(o).x%l.value.scaledGap[0],y:t.unref(o).y%l.value.scaledGap[1],width:l.value.scaledGap[0],height:l.value.scaledGap[1],patternTransform:`translate(-${l.value.offset[0]},-${l.value.offset[1]})`,patternUnits:"userSpaceOnUse"},[t.renderSlot(a.$slots,"pattern",{},()=>[a.variant===t.unref(we).Lines?(t.openBlock(),t.createBlock(t.unref(fl),{key:0,size:a.lineWidth,color:i.value,dimensions:l.value.scaledGap},null,8,["size","color","dimensions"])):a.variant===t.unref(we).Dots?(t.openBlock(),t.createBlock(t.unref(ml),{key:1,color:i.value,radius:l.value.size/a.offset},null,8,["color","radius"])):t.createCommentVNode("",!0),a.bgColor?(t.openBlock(),t.createElementBlock("svg",ic,[t.createElementVNode("rect",{width:"100%",height:"100%",fill:a.bgColor},null,8,ac)])):t.createCommentVNode("",!0)])],8,rc)]),t.createElementVNode("rect",{x:a.x,y:a.y,width:"100%",height:"100%",fill:`url(#${r.value})`},null,8,sc),t.renderSlot(a.$slots,"default",{id:r.value})],4))}}),dc={name:"ArrowCollapseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},fc=["aria-hidden","aria-label"],mc=["fill","width","height"],pc={d:"M19.5,3.09L15,7.59V4H13V11H20V9H16.41L20.91,4.5L19.5,3.09M4,13V15H7.59L3.09,19.5L4.5,20.91L9,16.41V20H11V13H4Z"},gc={key:0};function hc(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon arrow-collapse-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",pc,[o.title?(t.openBlock(),t.createElementBlock("title",gc,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,mc))],16,fc)}const Ec=B(dc,[["render",hc]]),kc={class:"top-button-div text-white d-flex"},_c={inheritAttrs:!1,components:{Tooltip:X},data(){return{tooltips:[]}},computed:{classes(){return{"unused-path":this.data.unused}},clusterName(){var n;const e=this.data.taskNode;if((n=e==null?void 0:e.type)!=null&&n.endsWith("SubflowGraphTask")){const o=e.task.subflowId??e.task;return o.namespace+" "+o.flowId}return y.Utils.afterLastDot(this.id)}}},yc=Object.assign(_c,{__name:"ClusterNode",props:{data:{type:Object,default:void 0},sourcePosition:{type:re.Position,default:void 0},targetPosition:{type:re.Position,default:void 0},id:{type:String,default:void 0}},emits:[y.EVENTS.COLLAPSE],setup(e,{emit:n}){const o=e,l=n,r=()=>{l(y.EVENTS.COLLAPSE,o.id)};return(i,a)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(i.classes)},[t.createElementVNode("span",{class:t.normalizeClass(["badge rounded-pill text-truncate text-color position-reliative",[`bg-${e.data.color}`]])},t.toDisplayString(i.clusterName),3),t.createElementVNode("div",kc,[e.data.collapsable?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:a[0]||(a[0]=s=>r())},[t.createVNode(X,{title:i.$t("collapse")},{default:t.withCtx(()=>[t.createVNode(Ec,{class:"button-icon",alt:"Collapse task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0)])],2))}}),Cc=B(yc,[["__scopeId","data-v-0c251e77"]]),Nc={name:"CircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},vc=["aria-hidden","aria-label"],Sc=["fill","width","height"],bc={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"},Lc={key:0};function Tc(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon circle-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",bc,[o.title?(t.openBlock(),t.createElementBlock("title",Lc,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Sc))],16,vc)}const pl=B(Nc,[["render",Tc]]),wc={name:"Dot",components:{Handle:re.Handle,CircleIcon:pl},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,[y.Utils.afterLastDot(this.data.node.type)]:!0}}}},Ac=Object.assign(wc,{setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(n.classes)},[t.createVNode(t.unref(re.Handle),{type:"source",class:"custom-handle",position:e.sourcePosition},null,8,["position"]),t.createElementVNode("div",{class:t.normalizeClass(["dot",n.classes])},[t.createVNode(pl,{class:t.normalizeClass([{"text-danger":e.data.node.branchType==="ERROR"},"circle"]),alt:"circle"},null,8,["class"])],2),t.createVNode(t.unref(re.Handle),{type:"target",class:"custom-handle",position:e.targetPosition},null,8,["position"])],2))}}),Ic=B(Ac,[["__scopeId","data-v-666f472b"]]),Vc={name:"PlusIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Oc=["aria-hidden","aria-label"],Dc=["fill","width","height"],Bc={d:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"},Pc={key:0};function Rc(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon plus-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Bc,[o.title?(t.openBlock(),t.createElementBlock("title",Pc,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Dc))],16,Oc)}const $c=B(Vc,[["render",Rc]]),Mc={class:"add-task-div rounded d-flex justify-content-center align-items-center"},xc=t.defineComponent({name:"AddTaskButton",__name:"AddTaskButton",props:{addTask:{type:Boolean}},setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock("div",Mc,[n.addTask?(t.openBlock(),t.createBlock($c,{key:0,alt:"add task icon"})):t.createCommentVNode("",!0)]))}}),Fc=B(xc,[["__scopeId","data-v-4afc4738"]]),Uc={data(){return{tooltips:[]}},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}},components:{AddTaskButton:Fc,EdgeLabelRenderer:re.EdgeLabelRenderer,Tooltip:X},computed:{Utils(){return y.Utils},EVENTS(){return y.EVENTS},classes(){return{"vue-flow__edge-path":!0,["stroke-"+this.data.color]:this.data.color,"unused-path":this.data.unused}},title(){const{haveAdd:e}=this.data;return`${this.$t("add task")} ${(e==null?void 0:e.length)===2?`${this.$t(e[1])} ${e[0]}`:""}`.trim()}},setup(e){return{path:t.computed(()=>re.getSmoothStepPath(e))}},inheritAttrs:!1},Hc=["id","d","marker-end"];function zc(e,n,o,l,r,i){const a=t.resolveComponent("AddTaskButton"),s=t.resolveComponent("tooltip"),c=t.resolveComponent("EdgeLabelRenderer");return t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("path",{id:o.id,class:t.normalizeClass(i.classes),style:t.normalizeStyle(o.data.haveDashArray?{strokeDasharray:"2"}:{}),d:l.path[0],"marker-end":o.markerEnd},null,14,Hc),t.createVNode(c,{style:{"z-index":"10"}},{default:t.withCtx(()=>[t.createElementVNode("div",{style:t.normalizeStyle({pointerEvents:"all",position:"absolute",transform:`translate(-50%, -50%) translate(${l.path[1]}px,${l.path[2]}px)`})},[t.createVNode(s,{title:i.title},{default:t.withCtx(()=>[o.data.haveAdd?(t.openBlock(),t.createBlock(a,{key:0,"add-task":!0,onClick:n[0]||(n[0]=d=>e.$emit(i.EVENTS.ADD_TASK,o.data.haveAdd)),class:t.normalizeClass({"text-danger":o.data.color})},null,8,["class"])):t.createCommentVNode("",!0)]),_:1},8,["title"])],4)]),_:1})],64)}const Gc=B(Uc,[["render",zc],["__scopeId","data-v-a3e1d999"]]),Wc={name:"InformationOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},jc=["aria-hidden","aria-label"],Kc=["fill","width","height"],Yc={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"},qc={key:0};function Xc(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon information-outline-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Yc,[o.title?(t.openBlock(),t.createElementBlock("title",qc,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Kc))],16,jc)}const gl=B(Wc,[["render",Xc]]),Zc={name:"ArrowExpandIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Jc=["aria-hidden","aria-label"],Qc=["fill","width","height"],eu={d:"M10,21V19H6.41L10.91,14.5L9.5,13.09L5,17.59V14H3V21H10M14.5,10.91L19,6.41V10H21V3H14V5H17.59L13.09,9.5L14.5,10.91Z"},tu={key:0};function nu(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon arrow-expand-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",eu,[o.title?(t.openBlock(),t.createElementBlock("title",tu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Qc))],16,Jc)}const xt=B(Zc,[["render",nu]]),Ft=Symbol("execution-injection-key"),hl=Symbol("subflows-executions-injection-key"),El=Symbol("playground-enabled-injection-key"),ou={class:"icon rounded"},lu={class:"node-content"},ru={class:"d-flex node-title"},iu={class:"text-truncate task-title"},au={key:0,class:"d-flex"},su={class:"text-white top-button-div"},cu={components:{ArrowExpand:xt,InformationOutline:gl,OpenInNew:Rn,Tooltip:X},emits:[y.EVENTS.EXPAND,y.EVENTS.OPEN_LINK,y.EVENTS.SHOW_LOGS,y.EVENTS.MOUSE_OVER,y.EVENTS.MOUSE_LEAVE,y.EVENTS.ADD_ERROR,y.EVENTS.EDIT,y.EVENTS.DELETE,y.EVENTS.ADD_TASK,y.EVENTS.SHOW_DESCRIPTION],inheritAttrs:!1,props:{id:{type:String,default:void 0},title:{type:String,default:void 0},type:{type:String,default:void 0},disabled:{type:Boolean,default:void 0},state:{type:String,default:void 0},data:{type:Object,required:!0},icons:{type:Object,default:void 0},iconComponent:{type:Object,default:void 0}},methods:{mouseover(){this.$emit(y.EVENTS.MOUSE_OVER,this.data.node)},mouseleave(){this.$emit(y.EVENTS.MOUSE_LEAVE)}},data(){return{filter:void 0,isOpen:!1}},inject:{execution:{from:Ft}},computed:{Utils(){return y.Utils},borderColor(){const e=this.data.color?this.data.color==="default"?null:this.data.color:null;return e||(this.expandable?"blue":null)},EVENTS(){return y.EVENTS},expandable(){var e;return((e=this.data)==null?void 0:e.expandable)||!1},description(){const e=this.data.node.task??this.data.node.trigger??null;return e?e.description??null:null},trimmedId(){return y.Utils.afterLastDot(this.id)},taskIconBg(){return["default","danger"].includes(this.data.color)?"":this.data.color},stateColor(){switch(this.state){case"RUNNING":return"primary";case"SUCCESS":return"success";case"WARNING":return"warning";case"FAILED":return"danger";default:return null}},classes(){var e,n,o,l;return{"unused-path":this.data.unused,[`border-${this.borderColor}`]:this.borderColor,disabled:((e=this.data.node.task)==null?void 0:e.disabled)||((l=(o=(n=this.data.parent)==null?void 0:n.taskNode)==null?void 0:o.task)==null?void 0:l.disabled),[this.$attrs.class]:!0}},cls(){var e;if(this.data.node.triggerDeclaration)return this.data.node.triggerDeclaration.type;if((e=this.data.node)!=null&&e.task)return this.data.node.task.type},hoverTooltip(){var e;if((e=this.data.node.type)!=null&&e.endsWith("SubflowGraphTask")){const n=this.data.node.task.subflowId??this.data.node.task;return n.namespace+" "+n.flowId}return this.trimmedId}}},uu=Object.assign(cu,{__name:"BasicNode",setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass([n.classes,"node-wrapper rounded-3 border"]),onMouseover:o[3]||(o[3]=(...l)=>n.mouseover&&n.mouseover(...l)),onMouseleave:o[4]||(o[4]=(...l)=>n.mouseleave&&n.mouseleave(...l))},[e.state?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["status-div",[`bg-${n.stateColor}`]])},null,2)):t.createCommentVNode("",!0),t.createElementVNode("div",ou,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.iconComponent||Pn),{cls:n.cls,class:t.normalizeClass([n.taskIconBg,"rounded bg-white"]),theme:"light",icons:e.icons},null,8,["cls","class","icons"]))]),t.createElementVNode("div",lu,[t.createElementVNode("div",ru,[t.createElementVNode("div",iu,[t.createVNode(X,{title:n.hoverTooltip},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.title??n.trimmedId),1)]),_:1},8,["title"])]),n.description?(t.openBlock(),t.createElementBlock("span",au,[t.createVNode(X,{title:n.$t("show description"),class:"d-flex align-items-center"},{default:t.withCtx(()=>[t.createVNode(gl,{onClick:o[0]||(o[0]=l=>n.$emit(t.unref(y.EVENTS).SHOW_DESCRIPTION,{id:n.trimmedId,description:n.description})),class:"description-button ms-2"})]),_:1},8,["title"])])):t.createCommentVNode("",!0)]),t.renderSlot(n.$slots,"content",{},void 0,!0)]),t.createElementVNode("div",su,[t.renderSlot(n.$slots,"badge-button-before",{},void 0,!0),e.data.link?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:o[1]||(o[1]=l=>n.$emit(t.unref(y.EVENTS).OPEN_LINK,{link:e.data.link}))},[t.createVNode(X,{title:n.$t("open")},{default:t.withCtx(()=>[t.createVNode(Rn,{class:"button-icon",alt:"Open in new tab"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),n.expandable?(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:o[2]||(o[2]=l=>n.$emit(t.unref(y.EVENTS).EXPAND))},[t.createVNode(X,{title:n.$t("expand")},{default:t.withCtx(()=>[t.createVNode(xt,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),t.renderSlot(n.$slots,"badge-button-after",{},void 0,!0)])],34))}}),kl=B(uu,[["__scopeId","data-v-ee0adf33"]]),du=["innerHTML"],fu=t.defineComponent({__name:"Duration",props:{histories:{}},setup(e){const n=e;t.watch(()=>n.histories,(C,V)=>{V[0].date!==C[0].date&&s()});const o=t.ref(""),l=t.ref();t.onMounted(()=>{s()});const r=t.computed(()=>{var C;return((C=n.histories)==null?void 0:C.length)&&new Date(n.histories[0].date.toString()).getTime()}),i=t.computed(()=>n.histories[n.histories.length-1]),a=t.computed(()=>n.histories.filter(C=>C.date.isValid()&&C.date&&C.state));function s(){l.value||(l.value=setInterval(()=>{E(),n.histories&&!ae.isRunning(i.value.state)&&c()},100))}function c(){l.value&&(clearInterval(l.value),l.value=void 0)}function d(){return m()-r.value}function m(){return!n.histories||ae.isRunning(i.value.state)?+new Date:new Date(i.value.date.toString()).getTime()}function E(){o.value=a.value.length===0?"&nbsp;":y.Utils.humanDuration(d()/1e3)}function h(C){return"ks-duration-tt-square-"+C.toLowerCase()}return t.onBeforeUnmount(()=>{c()}),(C,V)=>(t.openBlock(),t.createBlock(X,{key:i.value.date.toString()},{content:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.value,(L,O)=>(t.openBlock(),t.createElementBlock("span",{key:"tt-"+O,class:"ks-duration-tt"},[t.createElementVNode("span",{class:t.normalizeClass(["ks-duration-tt-square",h(L.state)])},null,2),t.createElementVNode("strong",null,t.toDisplayString(L.state)+": ",1),t.createTextVNode(t.toDisplayString(t.unref(y.Utils).dateFilter(L.date.toString(),"iso"))+" ",1),V[0]||(V[0]=t.createElementVNode("br",null,null,-1))]))),128))]),default:t.withCtx(()=>[t.createElementVNode("span",{innerHTML:o.value},null,8,du)]),_:1}))}}),mu={class:"btn-group content rounded-1 content-children text-truncate"},pu={key:0,class:"taskRunCount"},gu={key:1},hu={key:2},Eu=t.defineComponent({name:"ExecutionInformations",__name:"ExecutionInformations",props:{color:{},uid:{},execution:{},task:{}},setup(e){const n=e,o=t.computed(()=>{var a;return(a=n.execution)!=null&&a.taskRunList?n.execution.taskRunList:[]}),l=t.computed(()=>o.value.filter(a=>a.taskId===y.Utils.afterLastDot(n.uid??""))),r=t.computed(()=>{if(!l.value)return null;if(l.value.length===1)return l.value[0].state.current;const a=l.value.map(d=>d.state.current),s=[ae.FAILED,ae.KILLED,ae.WARNING,ae.KILLING,ae.RUNNING,ae.SUCCESS,ae.RESTARTED,ae.CREATED];return a.map(d=>{const m=s.indexOf(d[1]);return s[m]=void 0,[m,d]}).sort().map(d=>d[1])[0]}),i=t.computed(()=>{if(!l.value)return;const a=Math.max(...l.value.filter(c=>c.state.histories&&c.state.histories.length>0).map(c=>new Date(c.state.histories[c.state.histories.length-1].date).getTime())),s=Math.max(...l.value.map(c=>nn.duration(c.state.duration).asMilliseconds()/1e3,0));return[{date:nn(a).subtract(s,"second"),state:"CREATED"},{date:nn(a),state:r.value}]});return(a,s)=>(t.openBlock(),t.createElementBlock("div",mu,[l.value.length>0?(t.openBlock(),t.createElementBlock("span",pu,t.toDisplayString(l.value.length)+" task runs",1)):t.createCommentVNode("",!0),l.value.length>0?(t.openBlock(),t.createElementBlock("span",gu," | ")):t.createCommentVNode("",!0),i.value?(t.openBlock(),t.createElementBlock("span",hu,[t.createVNode(fu,{histories:i.value},null,8,["histories"])])):t.createCommentVNode("",!0)]))}}),_l=B(Eu,[["__scopeId","data-v-a204e986"]]),ku={name:"PencilIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},_u=["aria-hidden","aria-label"],yu=["fill","width","height"],Cu={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"},Nu={key:0};function vu(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon pencil-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Cu,[o.title?(t.openBlock(),t.createElementBlock("title",Nu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,yu))],16,_u)}const Ut=B(ku,[["render",vu]]),Su={name:"DeleteIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},bu=["aria-hidden","aria-label"],Lu=["fill","width","height"],Tu={d:"M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z"},wu={key:0};function Au(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon delete-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Tu,[o.title?(t.openBlock(),t.createElementBlock("title",wu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Lu))],16,bu)}const Ht=B(Su,[["render",Au]]),Iu={name:"TextBoxSearchIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Vu=["aria-hidden","aria-label"],Ou=["fill","width","height"],Du={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"},Bu={key:0};function Pu(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon text-box-search-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Du,[o.title?(t.openBlock(),t.createElementBlock("title",Bu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Ou))],16,Vu)}const yl=B(Iu,[["render",Pu]]),Ru={name:"AlertOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},$u=["aria-hidden","aria-label"],Mu=["fill","width","height"],xu={d:"M12,2L1,21H23M12,6L19.53,19H4.47M11,10V14H13V10M11,16V18H13V16"},Fu={key:0};function Uu(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon alert-outline-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",xu,[o.title?(t.openBlock(),t.createElementBlock("title",Fu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Mu))],16,$u)}const Cl=B(Ru,[["render",Uu]]),Hu={name:"PlayIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},zu=["aria-hidden","aria-label"],Gu=["fill","width","height"],Wu={d:"M8,5.14V19.14L19,12.14L8,5.14Z"},ju={key:0};function Ku(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon play-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Wu,[o.title?(t.openBlock(),t.createElementBlock("title",ju,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Gu))],16,zu)}const Yu=B(Hu,[["render",Ku]]),qu={name:"SendLockIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Xu=["aria-hidden","aria-label"],Zu=["fill","width","height"],Ju={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"},Qu={key:0};function ed(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon send-lock-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Ju,[o.title?(t.openBlock(),t.createElementBlock("title",Qu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Zu))],16,Xu)}const Nl=B(qu,[["render",ed]]),td={name:"Task",components:{Pencil:Ut,Delete:Ht,ExecutionInformations:_l,Handle:re.Handle,TextBoxSearch:yl,AlertOutline:Cl,Tooltip:X,SendLock:Nl},inheritAttrs:!1,inject:{execution:{from:Ft},subflowsExecutions:{from:hl},playgroundEnabled:{from:El}},computed:{SECTIONS(){return y.SECTIONS},EVENTS(){return y.EVENTS},color(){return this.data.color??"primary"},taskId(){return y.Utils.afterLastDot(this.id)},taskRunList(){return this.taskExecution&&this.taskExecution.taskRunList?this.taskExecution.taskRunList:[]},taskExecution(){var n,o;const e=this.data.executionId;if(e)return e===((n=this.execution)==null?void 0:n.id)?this.execution:(o=Object.values(this.subflowsExecutions).filter(l=>l.id===this.data.executionId))==null?void 0:o[0]},taskRuns(){return this.taskRunList.filter(e=>e.taskId===y.Utils.afterLastDot(this.data.node.uid))},state(){if(!this.taskRuns)return null;if(this.taskRuns.length===1)return this.taskRuns[0].state.current;const e=this.taskRuns.map(l=>l.state.current),n=[ae.FAILED,ae.KILLED,ae.WARNING,ae.KILLING,ae.RUNNING,ae.SUCCESS,ae.RESTARTED,ae.CREATED];return e.map(l=>{const r=n.indexOf(l[1]);return n[r]=void 0,[r,l]}).sort().map(l=>l[1])[0]},classes(){return{"execution-no-taskrun":this.taskExecution&&this.taskRuns&&this.taskRuns.length===0}},expandData(){return{id:this.id,type:this.data.node.task.type}},dataWithLink(){var e,n,o,l,r;if((e=this.data.node.type)!=null&&e.endsWith("SubflowGraphTask")&&this.enableSubflowInteraction){const i=this.data.node.task.subflowId??this.data.node.task;return{...this.data,link:{namespace:i.namespace,id:i.flowId,executionId:(r=(l=(o=(n=this.taskExecution)==null?void 0:n.taskRunList.filter(a=>{var s;return a.taskId===this.data.node.task.id&&((s=a.outputs)==null?void 0:s.executionId)}))==null?void 0:o[0])==null?void 0:l.outputs)==null?void 0:r.executionId}}}return this.data}},emits:[y.EVENTS.EXPAND,y.EVENTS.OPEN_LINK,y.EVENTS.SHOW_LOGS,y.EVENTS.MOUSE_OVER,y.EVENTS.MOUSE_LEAVE,y.EVENTS.ADD_ERROR,y.EVENTS.EDIT,y.EVENTS.DELETE,y.EVENTS.ADD_TASK,y.EVENTS.SHOW_CONDITION],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},enableSubflowInteraction:{type:Boolean,default:!0}},methods:{forwardEvent(e,n){this.$emit(e,n)}}},nd=Object.assign(td,{setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(t.unref(re.Handle),{type:"source",position:e.sourcePosition},null,8,["position"]),t.createVNode(kl,{id:e.id,data:n.dataWithLink,state:n.state,class:t.normalizeClass(n.classes),icons:e.icons,"icon-component":e.iconComponent,onShowDescription:o[6]||(o[6]=l=>n.forwardEvent(t.unref(y.EVENTS).SHOW_DESCRIPTION,l)),onExpand:o[7]||(o[7]=l=>n.forwardEvent(t.unref(y.EVENTS).EXPAND,n.expandData)),onOpenLink:o[8]||(o[8]=l=>n.forwardEvent(t.unref(y.EVENTS).OPEN_LINK,l)),onMouseover:o[9]||(o[9]=l=>n.forwardEvent(t.unref(y.EVENTS).MOUSE_OVER,l)),onMouseleave:o[10]||(o[10]=l=>n.forwardEvent(t.unref(y.EVENTS).MOUSE_LEAVE))},{content:t.withCtx(()=>[n.taskExecution?(t.openBlock(),t.createBlock(_l,{key:0,execution:n.taskExecution,task:e.data.node.task,color:n.color,uid:e.data.node.uid},null,8,["execution","task","color","uid"])):t.createCommentVNode("",!0),n.playgroundEnabled&&e.data.node.task?(t.openBlock(),t.createElementBlock("button",{key:1,type:"button",class:"playground-button",onClick:o[0]||(o[0]=l=>n.$emit(t.unref(y.EVENTS).RUN_TASK,{task:e.data.node.task}))},[t.createVNode(X,{style:{display:"flex"},title:n.$t("run task in playground")},{default:t.withCtx(()=>[t.createVNode(Yu,{class:"button-play-icon",alt:"Play task"})]),_:1},8,["title"])])):t.createCommentVNode("",!0)]),"badge-button-before":t.withCtx(()=>[e.data.node.task&&e.data.node.task.runIf?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",["bg-warning"]]),onClick:o[1]||(o[1]=l=>n.$emit(t.unref(y.EVENTS).SHOW_CONDITION,{id:n.taskId,task:e.data.node.task,section:t.unref(y.SECTIONS).TASKS}))},[t.createVNode(X,{title:n.$t("show task condition")},{default:t.withCtx(()=>[t.createVNode(Nl,{class:"button-icon",alt:"Show condition"})]),_:1},8,["title"])])):t.createCommentVNode("",!0),n.taskExecution?(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(["circle-button",[`bg-${n.color}`]]),onClick:o[2]||(o[2]=l=>n.$emit(t.unref(y.EVENTS).SHOW_LOGS,{id:n.taskId,execution:n.taskExecution,taskRuns:n.taskRuns}))},[t.createVNode(X,{title:n.$t("show task logs")},{default:t.withCtx(()=>[t.createVNode(yl,{class:"button-icon",alt:"Show logs"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),!n.taskExecution&&!e.data.isReadOnly&&e.data.isFlowable?(t.openBlock(),t.createElementBlock("span",{key:2,class:t.normalizeClass(["circle-button",[`bg-${n.color}`]]),onClick:o[3]||(o[3]=l=>n.$emit(t.unref(y.EVENTS).ADD_ERROR,{task:e.data.node.task}))},[t.createVNode(X,{title:n.$t("add error handler")},{default:t.withCtx(()=>[t.createVNode(Cl,{class:"button-icon",alt:"Add error handler"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),!n.taskExecution&&!e.data.isReadOnly?(t.openBlock(),t.createElementBlock("span",{key:3,class:t.normalizeClass(["circle-button",[`bg-${n.color}`]]),onClick:o[4]||(o[4]=l=>n.$emit(t.unref(y.EVENTS).EDIT,{task:e.data.node.task,section:t.unref(y.SECTIONS).TASKS}))},[t.createVNode(X,{title:n.$t("edit")},{default:t.withCtx(()=>[t.createVNode(Ut,{class:"button-icon",alt:"Edit task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),!n.taskExecution&&!e.data.isReadOnly?(t.openBlock(),t.createElementBlock("span",{key:4,class:t.normalizeClass(["circle-button",[`bg-${n.color}`]]),onClick:o[5]||(o[5]=l=>n.$emit(t.unref(y.EVENTS).DELETE,{id:n.taskId,section:t.unref(y.SECTIONS).TASKS}))},[t.createVNode(X,{title:n.$t("delete")},{default:t.withCtx(()=>[t.createVNode(Ht,{class:"button-icon",alt:"Delete task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0)]),_:1},8,["id","data","state","class","icons","icon-component"]),t.createVNode(t.unref(re.Handle),{type:"target",position:e.targetPosition},null,8,["position"])],64))}}),od=B(nd,[["__scopeId","data-v-8b3dd8bd"]]),ld={name:"Task",inheritAttrs:!1,inject:{execution:{from:Ft}},computed:{SECTIONS(){return y.SECTIONS},EVENTS(){return y.EVENTS},color(){return this.data.color??"primary"},formattedData(){var e,n,o,l;return{...this.data,unused:((n=(e=this.data.node)==null?void 0:e.triggerDeclaration)==null?void 0:n.disabled)||((l=(o=this.data.node)==null?void 0:o.trigger)==null?void 0:l.disabled)}},triggerId(){return y.Utils.afterLastDot(this.id)}},emits:[y.EVENTS.DELETE,y.EVENTS.EDIT,y.EVENTS.SHOW_DESCRIPTION],components:{Delete:Ht,Pencil:Ut,Handle:re.Handle,Tooltip:X},props:{data:{type:Object,required:!0},sourcePosition:{type:String,required:!0},targetPosition:{type:String,required:!0},id:{type:String,required:!0},icons:{type:Object,default:void 0},iconComponent:{type:Object,default:void 0}},methods:{forwardEvent(e,n){this.$emit(e,n)}}},rd=Object.assign(ld,{setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(t.unref(re.Handle),{type:"source",position:e.sourcePosition},null,8,["position"]),t.createVNode(kl,{id:e.id,data:n.formattedData,color:n.color,icons:e.icons,"icon-component":e.iconComponent,onShowDescription:o[2]||(o[2]=l=>n.forwardEvent(t.unref(y.EVENTS).SHOW_DESCRIPTION,l)),onExpand:o[3]||(o[3]=l=>n.forwardEvent(t.unref(y.EVENTS).EXPAND,{id:e.id}))},t.createSlots({_:2},[e.data.isReadOnly?void 0:{name:"badge-button-before",fn:t.withCtx(()=>[n.execution?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",[`bg-${n.color}`]]),onClick:o[0]||(o[0]=l=>n.$emit(t.unref(y.EVENTS).EDIT,{task:e.data.node.triggerDeclaration,section:t.unref(y.SECTIONS).TRIGGERS}))},[t.createVNode(X,{title:n.$t("edit")},{default:t.withCtx(()=>[t.createVNode(Ut,{class:"button-icon",alt:"Edit task"})]),_:1},8,["title"])],2)),n.execution?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(["circle-button",[`bg-${n.color}`]]),onClick:o[1]||(o[1]=l=>n.$emit(t.unref(y.EVENTS).DELETE,{id:n.triggerId,section:t.unref(y.SECTIONS).TRIGGERS}))},[t.createVNode(X,{title:n.$t("delete")},{default:t.withCtx(()=>[t.createVNode(Ht,{class:"button-icon",alt:"Delete task"})]),_:1},8,["title"])],2))]),key:"0"}]),1032,["id","data","color","icons","icon-component"]),t.createVNode(t.unref(re.Handle),{type:"target",position:e.targetPosition},null,8,["position"])],64))}}),id={name:"LightningBoltIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ad=["aria-hidden","aria-label"],sd=["fill","width","height"],cd={d:"M11 15H6L13 1V9H18L11 23V15Z"},ud={key:0};function dd(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon lightning-bolt-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",cd,[o.title?(t.openBlock(),t.createElementBlock("title",ud,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,sd))],16,ad)}const fd=B(id,[["render",dd]]),md={class:"collapsed-cluster-node d-flex"},pd={class:"node-text"},gd={class:"text-white top-button-div"},hd={components:{Tooltip:X,Handle:re.Handle,ArrowExpand:xt,LightningBolt:fd},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 y.EVENTS},expandable(){var e;return((e=this.data)==null?void 0:e.expandable)||!1},description(){const e=this.data.node.task??this.data.node.trigger??null;return e?e.description??null:null}}},Ed=Object.assign(hd,{__name:"CollapsedClusterNode",setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(t.unref(re.Handle),{type:"source",position:e.sourcePosition},null,8,["position"]),t.createElementVNode("div",md,[t.createElementVNode("span",pd,[e.data.iconComponent?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.data.iconComponent),{key:0,class:t.normalizeClass(`text-${e.data.color} me-2`)},null,8,["class"])):t.createCommentVNode("",!0),t.createTextVNode(" "+t.toDisplayString(t.unref(y.Utils).afterLastDot(e.id)),1)]),t.createElementVNode("div",gd,[t.renderSlot(n.$slots,"badge-button-before",{},void 0,!0),n.expandable?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:o[0]||(o[0]=l=>n.$emit(t.unref(y.EVENTS).EXPAND,{id:e.id}))},[t.createVNode(X,{title:n.$t("expand")},{default:t.withCtx(()=>[t.createVNode(xt,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),t.renderSlot(n.$slots,"badge-button-after",{},void 0,!0)])]),t.createVNode(t.unref(re.Handle),{type:"target",position:e.targetPosition},null,8,["position"])],64))}}),kd=B(Ed,[["__scopeId","data-v-89413b39"]]),_d={name:"SplitCellsVerticalIcon",emits:["click"]},yd={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Cd(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("svg",yd,n[0]||(n[0]=[t.createElementVNode("g",{"clip-path":"url(#clip0_1111_7266)"},[t.createElementVNode("path",{d:"M1.97852 2.63349C1.97852 2.26366 2.27832 1.96387 2.64814 1.96387L13.3621 1.96387C13.7319 1.96387 14.0317 2.26366 14.0317 2.63349L14.0317 13.3475C14.0317 13.7173 13.7319 14.0171 13.3621 14.0171L2.64814 14.0171C2.27832 14.0171 1.97852 13.7173 1.97852 13.3475L1.97852 2.63349ZM3.31776 8.6601L3.31776 12.6778L12.6925 12.6778L12.6925 8.6601L10.014 8.6601L10.014 7.32085L12.6925 7.32085L12.6925 3.30311L3.31776 3.30311L3.31776 7.32086L5.99626 7.32085L5.99626 8.6601L3.31776 8.6601ZM5.99626 5.98161L8.00513 3.97274L10.014 5.98161L8.67475 5.98161L8.67475 9.99935L10.014 9.99935L8.00513 12.0082L5.99626 9.99935L7.3355 9.99935L7.3355 5.98161L5.99626 5.98161Z",fill:"currentColor"})],-1),t.createElementVNode("defs",null,[t.createElementVNode("clipPath",{id:"clip0_1111_7266"},[t.createElementVNode("rect",{width:"16",height:"16",fill:"currentColor",transform:"translate(0 16) rotate(-90)"})])],-1)]))}const Nd=B(_d,[["render",Cd],["__scopeId","data-v-084c51e6"]]),vd={name:"SplitCellsHorizontalIcon",emits:["click"]},Sd={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function bd(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("svg",Sd,n[0]||(n[0]=[t.createElementVNode("g",{"clip-path":"url(#clip0_796_3996)"},[t.createElementVNode("path",{d:"M13.367 1.979C13.7368 1.979 14.0366 2.27881 14.0366 2.64863V13.3626C14.0366 13.7324 13.7368 14.0322 13.367 14.0322H2.65302C2.2832 14.0322 1.9834 13.7324 1.9834 13.3626V2.64863C1.9834 2.27881 2.2832 1.979 2.65302 1.979H13.367ZM7.34039 3.31825H3.32265V12.693H7.34039V10.0145H8.67963V12.693H12.6974V3.31825H8.67963V5.99675H7.34039V3.31825ZM10.0189 5.99675L12.0278 8.00562L10.0189 10.0145V8.67524H6.00114V10.0145L3.99227 8.00562L6.00114 5.99675V7.33599H10.0189V5.99675Z",fill:"currentColor"})],-1),t.createElementVNode("defs",null,[t.createElementVNode("clipPath",{id:"clip0_796_3996"},[t.createElementVNode("rect",{width:"16",height:"16",fill:"currentColor"})])],-1)]))}const Ld=B(vd,[["render",bd],["__scopeId","data-v-c77c1469"]]),Td={name:"DownloadIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},wd=["aria-hidden","aria-label"],Ad=["fill","width","height"],Id={d:"M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z"},Vd={key:0};function Od(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon download-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Id,[o.title?(t.openBlock(),t.createElementBlock("title",Vd,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Ad))],16,wd)}const Dd=B(Td,[["render",Od]]);function Bd(e,n){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const o=document.implementation.createHTMLDocument(),l=o.createElement("base"),r=o.createElement("a");return o.head.appendChild(l),o.body.appendChild(r),n&&(l.href=n),r.href=e,r.href}const Pd=(()=>{let e=0;const n=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${n()}${e}`)})();function De(e){const n=[];for(let o=0,l=e.length;o<l;o++)n.push(e[o]);return n}function At(e,n){const l=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(n);return l?parseFloat(l.replace("px","")):0}function Rd(e){const n=At(e,"border-left-width"),o=At(e,"border-right-width");return e.clientWidth+n+o}function $d(e){const n=At(e,"border-top-width"),o=At(e,"border-bottom-width");return e.clientHeight+n+o}function vl(e,n={}){const o=n.width||Rd(e),l=n.height||$d(e);return{width:o,height:l}}function Md(){let e,n;try{n=process}catch{}const o=n&&n.env?n.env.devicePixelRatio:null;return o&&(e=parseInt(o,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}const ye=16384;function xd(e){(e.width>ye||e.height>ye)&&(e.width>ye&&e.height>ye?e.width>e.height?(e.height*=ye/e.width,e.width=ye):(e.width*=ye/e.height,e.height=ye):e.width>ye?(e.height*=ye/e.width,e.width=ye):(e.width*=ye/e.height,e.height=ye))}function It(e){return new Promise((n,o)=>{const l=new Image;l.decode=()=>n(l),l.onload=()=>n(l),l.onerror=o,l.crossOrigin="anonymous",l.decoding="async",l.src=e})}async function Fd(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(n=>`data:image/svg+xml;charset=utf-8,${n}`)}async function Ud(e,n,o){const l="http://www.w3.org/2000/svg",r=document.createElementNS(l,"svg"),i=document.createElementNS(l,"foreignObject");return r.setAttribute("width",`${n}`),r.setAttribute("height",`${o}`),r.setAttribute("viewBox",`0 0 ${n} ${o}`),i.setAttribute("width","100%"),i.setAttribute("height","100%"),i.setAttribute("x","0"),i.setAttribute("y","0"),i.setAttribute("externalResourcesRequired","true"),r.appendChild(i),i.appendChild(e),Fd(r)}const ke=(e,n)=>{if(e instanceof n)return!0;const o=Object.getPrototypeOf(e);return o===null?!1:o.constructor.name===n.name||ke(o,n)};function Hd(e){const n=e.getPropertyValue("content");return`${e.cssText} content: '${n.replace(/'|"/g,"")}';`}function zd(e){return De(e).map(n=>{const o=e.getPropertyValue(n),l=e.getPropertyPriority(n);return`${n}: ${o}${l?" !important":""};`}).join(" ")}function Gd(e,n,o){const l=`.${e}:${n}`,r=o.cssText?Hd(o):zd(o);return document.createTextNode(`${l}{${r}}`)}function bo(e,n,o){const l=window.getComputedStyle(e,o),r=l.getPropertyValue("content");if(r===""||r==="none")return;const i=Pd();try{n.className=`${n.className} ${i}`}catch{return}const a=document.createElement("style");a.appendChild(Gd(i,o,l)),n.appendChild(a)}function Wd(e,n){bo(e,n,":before"),bo(e,n,":after")}const Lo="application/font-woff",To="image/jpeg",jd={woff:Lo,woff2:Lo,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:To,jpeg:To,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function Kd(e){const n=/\.([^./]*?)$/g.exec(e);return n?n[1]:""}function $n(e){const n=Kd(e).toLowerCase();return jd[n]||""}function Yd(e){return e.split(/,/)[1]}function Nn(e){return e.search(/^(data:)/)!==-1}function qd(e,n){return`data:${n};base64,${e}`}async function Sl(e,n,o){const l=await fetch(e,n);if(l.status===404)throw new Error(`Resource "${l.url}" not found`);const r=await l.blob();return new Promise((i,a)=>{const s=new FileReader;s.onerror=a,s.onloadend=()=>{try{i(o({res:l,result:s.result}))}catch(c){a(c)}},s.readAsDataURL(r)})}const an={};function Xd(e,n,o){let l=e.replace(/\?.*/,"");return o&&(l=e),/ttf|otf|eot|woff2?/i.test(l)&&(l=l.replace(/.*\//,"")),n?`[${n}]${l}`:l}async function Mn(e,n,o){const l=Xd(e,n,o.includeQueryParams);if(an[l]!=null)return an[l];o.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let r;try{const i=await Sl(e,o.fetchRequestInit,({res:a,result:s})=>(n||(n=a.headers.get("Content-Type")||""),Yd(s)));r=qd(i,n)}catch(i){r=o.imagePlaceholder||"";let a=`Failed to fetch resource: ${e}`;i&&(a=typeof i=="string"?i:i.message),a&&console.warn(a)}return an[l]=r,r}async function Zd(e){const n=e.toDataURL();return n==="data:,"?e.cloneNode(!1):It(n)}async function Jd(e,n){if(e.currentSrc){const i=document.createElement("canvas"),a=i.getContext("2d");i.width=e.clientWidth,i.height=e.clientHeight,a==null||a.drawImage(e,0,0,i.width,i.height);const s=i.toDataURL();return It(s)}const o=e.poster,l=$n(o),r=await Mn(o,l,n);return It(r)}async function Qd(e){var n;try{if(!((n=e==null?void 0:e.contentDocument)===null||n===void 0)&&n.body)return await zt(e.contentDocument.body,{},!0)}catch{}return e.cloneNode(!1)}async function ef(e,n){return ke(e,HTMLCanvasElement)?Zd(e):ke(e,HTMLVideoElement)?Jd(e,n):ke(e,HTMLIFrameElement)?Qd(e):e.cloneNode(!1)}const tf=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT";async function nf(e,n,o){var l,r;let i=[];return tf(e)&&e.assignedNodes?i=De(e.assignedNodes()):ke(e,HTMLIFrameElement)&&(!((l=e.contentDocument)===null||l===void 0)&&l.body)?i=De(e.contentDocument.body.childNodes):i=De(((r=e.shadowRoot)!==null&&r!==void 0?r:e).childNodes),i.length===0||ke(e,HTMLVideoElement)||await i.reduce((a,s)=>a.then(()=>zt(s,o)).then(c=>{c&&n.appendChild(c)}),Promise.resolve()),n}function of(e,n){const o=n.style;if(!o)return;const l=window.getComputedStyle(e);l.cssText?(o.cssText=l.cssText,o.transformOrigin=l.transformOrigin):De(l).forEach(r=>{let i=l.getPropertyValue(r);r==="font-size"&&i.endsWith("px")&&(i=`${Math.floor(parseFloat(i.substring(0,i.length-2)))-.1}px`),ke(e,HTMLIFrameElement)&&r==="display"&&i==="inline"&&(i="block"),r==="d"&&n.getAttribute("d")&&(i=`path(${n.getAttribute("d")})`),o.setProperty(r,i,l.getPropertyPriority(r))})}function lf(e,n){ke(e,HTMLTextAreaElement)&&(n.innerHTML=e.value),ke(e,HTMLInputElement)&&n.setAttribute("value",e.value)}function rf(e,n){if(ke(e,HTMLSelectElement)){const o=n,l=Array.from(o.children).find(r=>e.value===r.getAttribute("value"));l&&l.setAttribute("selected","")}}function af(e,n){return ke(n,Element)&&(of(e,n),Wd(e,n),lf(e,n),rf(e,n)),n}async function sf(e,n){const o=e.querySelectorAll?e.querySelectorAll("use"):[];if(o.length===0)return e;const l={};for(let i=0;i<o.length;i++){const s=o[i].getAttribute("xlink:href");if(s){const c=e.querySelector(s),d=document.querySelector(s);!c&&d&&!l[s]&&(l[s]=await zt(d,n,!0))}}const r=Object.values(l);if(r.length){const i="http://www.w3.org/1999/xhtml",a=document.createElementNS(i,"svg");a.setAttribute("xmlns",i),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";const s=document.createElementNS(i,"defs");a.appendChild(s);for(let c=0;c<r.length;c++)s.appendChild(r[c]);e.appendChild(a)}return e}async function zt(e,n,o){return!o&&n.filter&&!n.filter(e)?null:Promise.resolve(e).then(l=>ef(l,n)).then(l=>nf(e,l,n)).then(l=>af(e,l)).then(l=>sf(l,n))}const bl=/url\((['"]?)([^'"]+?)\1\)/g,cf=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,uf=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function df(e){const n=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${n})(['"]?\\))`,"g")}function ff(e){const n=[];return e.replace(bl,(o,l,r)=>(n.push(r),o)),n.filter(o=>!Nn(o))}async function mf(e,n,o,l,r){try{const i=o?Bd(n,o):n,a=$n(n);let s;return r||(s=await Mn(i,a,l)),e.replace(df(n),`$1${s}$3`)}catch{}return e}function pf(e,{preferredFontFormat:n}){return n?e.replace(uf,o=>{for(;;){const[l,,r]=cf.exec(o)||[];if(!r)return"";if(r===n)return`src: ${l};`}}):e}function Ll(e){return e.search(bl)!==-1}async function Tl(e,n,o){if(!Ll(e))return e;const l=pf(e,o);return ff(l).reduce((i,a)=>i.then(s=>mf(s,a,n,o)),Promise.resolve(l))}async function yt(e,n,o){var l;const r=(l=n.style)===null||l===void 0?void 0:l.getPropertyValue(e);if(r){const i=await Tl(r,null,o);return n.style.setProperty(e,i,n.style.getPropertyPriority(e)),!0}return!1}async function gf(e,n){await yt("background",e,n)||await yt("background-image",e,n),await yt("mask",e,n)||await yt("mask-image",e,n)}async function hf(e,n){const o=ke(e,HTMLImageElement);if(!(o&&!Nn(e.src))&&!(ke(e,SVGImageElement)&&!Nn(e.href.baseVal)))return;const l=o?e.src:e.href.baseVal,r=await Mn(l,$n(l),n);await new Promise((i,a)=>{e.onload=i,e.onerror=a;const s=e;s.decode&&(s.decode=i),s.loading==="lazy"&&(s.loading="eager"),o?(e.srcset="",e.src=r):e.href.baseVal=r})}async function Ef(e,n){const l=De(e.childNodes).map(r=>wl(r,n));await Promise.all(l).then(()=>e)}async function wl(e,n){ke(e,Element)&&(await gf(e,n),await hf(e,n),await Ef(e,n))}function kf(e,n){const{style:o}=e;n.backgroundColor&&(o.backgroundColor=n.backgroundColor),n.width&&(o.width=`${n.width}px`),n.height&&(o.height=`${n.height}px`);const l=n.style;return l!=null&&Object.keys(l).forEach(r=>{o[r]=l[r]}),e}const wo={};async function Ao(e){let n=wo[e];if(n!=null)return n;const l=await(await fetch(e)).text();return n={url:e,cssText:l},wo[e]=n,n}async function Io(e,n){let o=e.cssText;const l=/url\(["']?([^"')]+)["']?\)/g,i=(o.match(/url\([^)]+\)/g)||[]).map(async a=>{let s=a.replace(l,"$1");return s.startsWith("https://")||(s=new URL(s,e.url).href),Sl(s,n.fetchRequestInit,({result:c})=>(o=o.replace(a,`url(${c})`),[a,c]))});return Promise.all(i).then(()=>o)}function Vo(e){if(e==null)return[];const n=[],o=/(\/\*[\s\S]*?\*\/)/gi;let l=e.replace(o,"");const r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const c=r.exec(l);if(c===null)break;n.push(c[0])}l=l.replace(r,"");const i=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",s=new RegExp(a,"gi");for(;;){let c=i.exec(l);if(c===null){if(c=s.exec(l),c===null)break;i.lastIndex=s.lastIndex}else s.lastIndex=i.lastIndex;n.push(c[0])}return n}async function _f(e,n){const o=[],l=[];return e.forEach(r=>{if("cssRules"in r)try{De(r.cssRules||[]).forEach((i,a)=>{if(i.type===CSSRule.IMPORT_RULE){let s=a+1;const c=i.href,d=Ao(c).then(m=>Io(m,n)).then(m=>Vo(m).forEach(E=>{try{r.insertRule(E,E.startsWith("@import")?s+=1:r.cssRules.length)}catch(h){console.error("Error inserting rule from remote css",{rule:E,error:h})}})).catch(m=>{console.error("Error loading remote css",m.toString())});l.push(d)}})}catch(i){const a=e.find(s=>s.href==null)||document.styleSheets[0];r.href!=null&&l.push(Ao(r.href).then(s=>Io(s,n)).then(s=>Vo(s).forEach(c=>{a.insertRule(c,r.cssRules.length)})).catch(s=>{console.error("Error loading remote stylesheet",s)})),console.error("Error inlining remote css file",i)}}),Promise.all(l).then(()=>(e.forEach(r=>{if("cssRules"in r)try{De(r.cssRules||[]).forEach(i=>{o.push(i)})}catch(i){console.error(`Error while reading CSS rules from ${r.href}`,i)}}),o))}function yf(e){return e.filter(n=>n.type===CSSRule.FONT_FACE_RULE).filter(n=>Ll(n.style.getPropertyValue("src")))}async function Cf(e,n){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const o=De(e.ownerDocument.styleSheets),l=await _f(o,n);return yf(l)}async function Nf(e,n){const o=await Cf(e,n);return(await Promise.all(o.map(r=>{const i=r.parentStyleSheet?r.parentStyleSheet.href:null;return Tl(r.cssText,i,n)}))).join(`
25
+ `)}async function vf(e,n){const o=n.fontEmbedCSS!=null?n.fontEmbedCSS:n.skipFonts?null:await Nf(e,n);if(o){const l=document.createElement("style"),r=document.createTextNode(o);l.appendChild(r),e.firstChild?e.insertBefore(l,e.firstChild):e.appendChild(l)}}async function Sf(e,n={}){const{width:o,height:l}=vl(e,n),r=await zt(e,n,!0);return await vf(r,n),await wl(r,n),kf(r,n),await Ud(r,o,l)}async function Al(e,n={}){const{width:o,height:l}=vl(e,n),r=await Sf(e,n),i=await It(r),a=document.createElement("canvas"),s=a.getContext("2d"),c=n.pixelRatio||Md(),d=n.canvasWidth||o,m=n.canvasHeight||l;return a.width=d*c,a.height=m*c,n.skipAutoScale||xd(a),a.style.width=`${d}`,a.style.height=`${m}`,n.backgroundColor&&(s.fillStyle=n.backgroundColor,s.fillRect(0,0,a.width,a.height)),s.drawImage(i,0,0,a.width,a.height),a}async function bf(e,n={}){return(await Al(e,n)).toDataURL()}async function Lf(e,n={}){return(await Al(e,n)).toDataURL("image/jpeg",n.quality||1)}function Tf(){const e=t.ref(""),n=t.ref("png"),o=t.ref();async function l(s,c={}){let d;const m=c.fileName??`vue-flow-screenshot-${Date.now()}`;switch(c.type){case"jpeg":d=await r(s,c);break;case"png":d=await i(s,c);break;default:d=await i(s,c);break}return c.shouldDownload&&m!==""&&a(m),d}function r(s,c={quality:.95}){return o.value=null,Lf(s,c).then(d=>(e.value=d,n.value="jpeg",d)).catch(d=>{throw d.value=d,new Error(d)})}function i(s,c={quality:.95}){return o.value=null,bf(s,c).then(d=>(e.value=d,n.value="png",d)).catch(d=>{throw d.value=d,new Error(d)})}function a(s){const c=document.createElement("a");c.download=`${s}.${n.value}`,c.href=e.value,c.click()}return{capture:l,download:a,dataUrl:e,error:o}}const wf={key:1,class:"exporting"},Af=t.defineComponent({__name:"Topology",props:{id:{type:String,required:!0},isHorizontal:{type:Boolean,default:!0},isReadOnly:{type:Boolean,default:!0},isAllowedEdit:{type:Boolean,default:!1},source:{type:String,default:void 0,required:!0},toggleOrientationButton:{type:Boolean,default:!1},flowGraph:{type:Object,required:!0},flowId:{type:String,default:void 0},namespace:{type:String,default:void 0},expandedSubflows:{type:Array,default:()=>[]},icons:{type:Object,default:void 0},iconComponent:{type:Object,default:void 0},enableSubflowInteraction:{type:Boolean,default:!0},execution:{type:Object,default:void 0},subflowsExecutions:{type:Object,default:()=>({})},playgroundEnabled:{type:Boolean,default:!1}},emits:[y.EVENTS.EDIT,y.EVENTS.DELETE,y.EVENTS.RUN_TASK,y.EVENTS.OPEN_LINK,y.EVENTS.SHOW_LOGS,y.EVENTS.SHOW_DESCRIPTION,y.EVENTS.RUN_TASK,"on-add-flowable-error",y.EVENTS.ADD_TASK,"toggle-orientation","loading","swapped-task","message","expand-subflow",y.EVENTS.SHOW_CONDITION],setup(e,{emit:n}){const o=e,l=t.ref(!1),r=t.ref(),{getNodes:i,onNodeDrag:a,onNodeDragStart:s,onNodeDragStop:c,fitView:d,setElements:m,vueFlowRef:E}=re.useVueFlow(o.id),h=t.ref({}),C=t.ref([]),V=t.ref(new Set),L=t.ref([]),{capture:O}=Tf();t.provide(Ft,t.computed(()=>o.execution)),t.provide(hl,t.computed(()=>o.subflowsExecutions)),t.provide(El,t.computed(()=>o.playgroundEnabled));const g=n;t.onMounted(()=>{k()}),t.watch(()=>o.flowGraph,()=>{k()}),t.watch(()=>o.isHorizontal,()=>{k()});const k=()=>{y.cleanGraph(o.id),t.nextTick(()=>{g("loading",!0);const P=V.value;V.value=new Set,C.value=[],h.value={},P.forEach(z=>x(y.CLUSTER_PREFIX+z,!1,!1));const A=y.generateGraph(o.id,o.flowId,o.namespace,o.flowGraph,o.source,C.value,o.isHorizontal,h.value,V.value,L.value,o.isReadOnly,o.isAllowedEdit,o.enableSubflowInteraction);A&&(m(A),d(),g("loading",!1))})},S=P=>{l.value||y.linkedElements(o.id,P.uid).forEach(A=>{(A==null?void 0:A.type)==="task"&&(A.style={...A.style,outline:"0.5px solid "+Ne("--bs-gray-900")},A.class="rounded-3")})},p=()=>{b()},b=()=>{i.value.filter(P=>P.type==="task"||P.type==="trigger").forEach(P=>{P.style={...P.style,opacity:"1",outline:"none"},P.class=""})};s(P=>{l.value=!0,b(),P.node.style={...P.node.style,zIndex:1976},r.value=P.node.position}),c(P=>{if(l.value=!1,P.intersections&&N(P.intersections,P.node)===null){const A=P.node,z=P.intersections.find(R=>R.type==="task");if(z)try{o.source&&g("swapped-task",{newSource:W.swapBlocks({source:o.source,section:"tasks",key1:y.Utils.afterLastDot(A.id)??"",key2:y.Utils.afterLastDot(z.id)??""}),swappedTasks:[A.id,z.id]})}catch(R){g("message",{variant:"error",title:"cannot swap tasks",message:`${R.message}, ${R.messageOptions}`}),A.position=r.value}else A.position=r.value}else P.node.position=r.value;b(),P.node.style={...P.node.style,zIndex:5},r.value=null});const I=t.computed(()=>{var P;return(P=o.flowGraph)!=null&&P.clusters?o.flowGraph.clusters.filter(A=>A.cluster.type.endsWith("SubflowGraphCluster")).map(A=>A.cluster.taskNode.uid+"."):[]});a(P=>{b(),i.value.filter(A=>A.id!==P.node.id).forEach(A=>{var z;A.type==="trigger"||A.type==="task"&&(A.id.startsWith(P.node.id+".")||P.node.id.startsWith(A.id+"."))||(z=I==null?void 0:I.value)!=null&&z.some(R=>A.id.startsWith(R))?A.style={...A.style,opacity:"0.5"}:A.style={...A.style,opacity:"1"}}),P.intersections&&!N(P.intersections,P.node)&&P.intersections.filter(A=>A.type==="task").length===1&&(P.intersections.forEach(A=>{A.type==="task"&&(A.style={...A.style,outline:"0.5px solid "+Ne("--bs-primary")},A.class="rounded-3")}),P.node.style={...P.node.style,outline:"0.5px solid "+Ne("--bs-primary")},P.node.class="rounded-3")});const N=(P,A)=>{const z=P.filter(R=>R.type==="task").map(R=>y.Utils.afterLastDot(R.id));if(z.length>1)return"toomuchtaskerror";try{if(z.length===1&&o.source&&W.isParentChildrenRelation({source:o.source,sections:["tasks","triggers"],key1:y.Utils.afterLastDot(z[0])??"",key2:y.Utils.afterLastDot(A.id)??"",keyName:"id"}))return"parentchildrenerror"}catch{return"parentchildrenerror"}return P.filter(R=>R.type==="trigger").length>0?"triggererror":null},x=(P,A,z=!1)=>{const R=o.flowGraph.clusters.find(me=>me.cluster.uid.endsWith(P)),Ie=P.replace(y.CLUSTER_PREFIX,"");V.value.add(Ie),C.value=C.value.concat(R.nodes.filter(me=>me!==Ie||z)),C.value=C.value.concat([R.cluster.uid]),h.value={...h.value,[R.cluster.uid]:Ie,[R.start]:Ie,[R.end]:Ie};for(let me of R.nodes)o.flowGraph.clusters.map(Ue=>Ue.cluster.uid).includes(me)&&x(me,!1,!0);A&&k()},H=P=>{if(["io.kestra.core.tasks.flows.Flow","io.kestra.core.tasks.flows.Subflow","io.kestra.plugin.core.flow.Subflow","io.kestra.core.tasks.flows.ForEachItem$ForEachItemExecutable","io.kestra.plugin.core.flow.ForEachItem$ForEachItemExecutable"].includes(P.type)&&!o.expandedSubflows.includes(P.id)){g("expand-subflow",[...o.expandedSubflows,P.id]);return}h.value={},C.value=[],L.value=[],V.value.delete(P.id),V.value.forEach(z=>x(z,!1,!1)),k()},J=document.getElementsByTagName("html")[0].className.indexOf("dark")>=0,ce=t.ref(!0),F=t.ref(!1),he=()=>F.value=!F.value;function Ae(P){if(!E.value){console.warn("Flow not found");return}ce.value=!1,O(E.value,{type:P,shouldDownload:!0}).then(()=>ce.value=!0).finally(()=>F.value=!1)}return(P,A)=>(t.openBlock(),t.createBlock(t.unref(re.VueFlow),{id:e.id,"default-marker-color":t.unref(Ne)("--bs-cyan"),"fit-view-on-init":"","nodes-draggable":!1,"nodes-connectable":!1,"elevate-nodes-on-select":!1,"elevate-edges-on-select":!1},{"node-cluster":t.withCtx(z=>[t.createVNode(Cc,t.mergeProps(z,{onCollapse:A[0]||(A[0]=R=>x(R,!0))}),null,16)]),"node-dot":t.withCtx(z=>[t.createVNode(Ic,t.normalizeProps(t.guardReactiveProps(z)),null,16)]),"node-task":t.withCtx(z=>[t.createVNode(od,t.mergeProps(z,{icons:e.icons,"icon-component":e.iconComponent,onEdit:A[1]||(A[1]=R=>g(t.unref(y.EVENTS).EDIT,R)),onDelete:A[2]||(A[2]=R=>g(t.unref(y.EVENTS).DELETE,R)),onRunTask:A[3]||(A[3]=R=>g(t.unref(y.EVENTS).RUN_TASK,R)),onExpand:A[4]||(A[4]=R=>H(R)),onOpenLink:A[5]||(A[5]=R=>g(t.unref(y.EVENTS).OPEN_LINK,R)),onShowLogs:A[6]||(A[6]=R=>g(t.unref(y.EVENTS).SHOW_LOGS,R)),onShowDescription:A[7]||(A[7]=R=>g(t.unref(y.EVENTS).SHOW_DESCRIPTION,R)),onShowCondition:A[8]||(A[8]=R=>g(t.unref(y.EVENTS).SHOW_CONDITION,R)),onMouseover:A[9]||(A[9]=R=>S(R)),onMouseleave:A[10]||(A[10]=R=>p()),onAddError:A[11]||(A[11]=R=>g("on-add-flowable-error",R)),"enable-subflow-interaction":e.enableSubflowInteraction}),null,16,["icons","icon-component","enable-subflow-interaction"])]),"node-trigger":t.withCtx(z=>[t.createVNode(rd,t.mergeProps(z,{icons:e.icons,"icon-component":e.iconComponent,"is-read-only":e.isReadOnly,"is-allowed-edit":e.isAllowedEdit,onDelete:A[12]||(A[12]=R=>g(t.unref(y.EVENTS).DELETE,R)),onEdit:A[13]||(A[13]=R=>g(t.unref(y.EVENTS).EDIT,R)),onShowDescription:A[14]||(A[14]=R=>g(t.unref(y.EVENTS).SHOW_DESCRIPTION,R))}),null,16,["icons","icon-component","is-read-only","is-allowed-edit"])]),"node-collapsedcluster":t.withCtx(z=>[t.createVNode(kd,t.mergeProps(z,{onExpand:A[15]||(A[15]=R=>H(R))}),null,16)]),"edge-edge":t.withCtx(z=>[t.createVNode(Gc,t.mergeProps(z,{"yaml-source":e.source,onAddTask:A[16]||(A[16]=R=>g(t.unref(y.EVENTS).ADD_TASK,R)),"is-read-only":e.isReadOnly,"is-allowed-edit":e.isAllowedEdit}),null,16,["yaml-source","is-read-only","is-allowed-edit"])]),default:t.withCtx(()=>[t.createVNode(t.unref(uc),{"pattern-color":J?t.unref(Ne)("--bs-grey-500"):t.unref(Ne)("--bs-grey-300")},null,8,["pattern-color"]),ce.value?(t.openBlock(),t.createBlock(t.unref(tn.Controls),{key:0,"show-interactive":!1},{default:t.withCtx(()=>[e.toggleOrientationButton?(t.openBlock(),t.createBlock(t.unref(tn.ControlButton),{key:0,onClick:A[17]||(A[17]=z=>g("toggle-orientation",z))},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.isHorizontal?Ld:Nd)))]),_:1})):t.createCommentVNode("",!0),t.createVNode(t.unref(tn.ControlButton),{onClick:he},{default:t.withCtx(()=>[t.createVNode(Dd)]),_:1}),F.value?(t.openBlock(),t.createElementBlock("ul",wf,[t.createElementVNode("li",{onClick:A[18]||(A[18]=z=>Ae("jpeg")),class:"item"}," Export as .JPEG "),t.createElementVNode("li",{onClick:A[19]||(A[19]=z=>Ae("png")),class:"item"}," Export as .PNG ")])):t.createCommentVNode("",!0)]),_:1})):t.createCommentVNode("",!0)]),_:1},8,["id","default-marker-color"]))}}),If=B(Af,[["__scopeId","data-v-e2e42379"]]),Vf={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Of=["aria-hidden","aria-label"],Df=["fill","width","height"],Bf={d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"},Pf={key:0};function Rf(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon check-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Bf,[o.title?(t.openBlock(),t.createElementBlock("title",Pf,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Df))],16,Of)}const $f=B(Vf,[["render",Rf]]),Mf={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},xf=["aria-hidden","aria-label"],Ff=["fill","width","height"],Uf={d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"},Hf={key:0};function zf(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon content-copy-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Uf,[o.title?(t.openBlock(),t.createElementBlock("title",Hf,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Ff))],16,xf)}const Gf=B(Mf,[["render",zf]]),Wf={key:0,class:"language"},jf=["innerHTML"],Kf=t.defineComponent({__name:"SchemaToCode",props:{highlighter:{},code:{default:""},language:{default:null},filename:{default:null},highlights:{default:()=>[]},meta:{default:null},theme:{default:"github-dark"}},setup(e){const n={ContentCopy:t.shallowRef(Gf),Check:t.shallowRef($f)},o=e,l=t.ref(!1),r=t.ref(),i=t.shallowRef(n.ContentCopy.value),a=t.ref(),s=t.ref(),c=t.computed(()=>o.highlighter.codeToHtml(o.code,{lang:o.language,theme:o.theme}));function d(){l.value=!0,r.value&&t.nextTick(()=>{a.value&&s.value&&ar.createPopper(a.value,s.value,{placement:"left"})})}function m(){clearTimeout(r.value),navigator.clipboard.writeText(o.code.trimEnd()),i.value=n.Check.value,r.value=setTimeout(()=>{i.value=n.ContentCopy.value,r.value=void 0},2e3)}return(E,h)=>(t.openBlock(),t.createElementBlock("div",{class:"code-block",onMouseover:d,onMouseleave:h[0]||(h[0]=C=>l.value=!1)},[E.language&&!l.value?(t.openBlock(),t.createElementBlock("div",Wf,t.toDisplayString(E.language),1)):t.createCommentVNode("",!0),l.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("button",{ref_key:"copyButton",ref:a,class:"copy"},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(i.value),{onClick:m}))],512),r.value?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"copyTooltip",ref:s,id:"copied-tooltip",role:"tooltip"},h[1]||(h[1]=[t.createTextVNode(" Copied! "),t.createElementVNode("div",{id:"arrow","data-popper-arrow":""},null,-1)]),512)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),t.createElementVNode("div",{innerHTML:c.value},null,8,jf)],32))}}),Oo=B(Kf,[["__scopeId","data-v-a899f6a1"]]),Yf={name:"MenuRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},qf=["aria-hidden","aria-label"],Xf=["fill","width","height"],Zf={d:"M10,17L15,12L10,7V17Z"},Jf={key:0};function Qf(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon menu-right-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Zf,[o.title?(t.openBlock(),t.createElementBlock("title",Jf,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Xf))],16,qf)}const em=B(Yf,[["render",Qf]]),tm={name:"MenuDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},nm=["aria-hidden","aria-label"],om=["fill","width","height"],lm={d:"M7,10L12,15L17,10H7Z"},rm={key:0};function im(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon menu-down-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",lm,[o.title?(t.openBlock(),t.createElementBlock("title",rm,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,om))],16,nm)}const am=B(tm,[["render",im]]),sm=["id","open"],cm={class:"d-flex gap-2 align-items-center"},um={key:0,class:"d-flex flex-grow-1"},dm=["id"],fm=t.defineComponent({__name:"Collapsible",props:{href:{default:Math.random().toString(36).substring(2,5)},clickableText:{},arrow:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1}},emits:["expand"],setup(e,{emit:n}){const o=e,l=t.ref(!0),r=bt.useRoute(),i=bt.useRouter(),a=n,s=t.computed(()=>`#${o.href}-body`),c=m=>{m.preventDefault(),l.value=!l.value,d.value=!l.value,l.value||a("expand"),i.replace({hash:l.value?"":s.value})},d=t.ref(!1);return t.watch(()=>o.initiallyExpanded,m=>{m!==void 0&&(d.value=m,l.value=!m)},{immediate:!0}),t.watch(()=>r.hash,m=>{m===s.value&&l.value&&(d.value=!0,l.value=!1)},{immediate:!0}),(m,E)=>(t.openBlock(),t.createElementBlock("details",{id:m.href,open:d.value},[t.createElementVNode("summary",{class:t.normalizeClass(["d-flex align-items-center justify-content-between fw-bold gap-2 collapse-button",{collapsed:l.value}]),onClick:c},[t.createElementVNode("span",cm,[m.arrow?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.value?em:am),{key:0,class:"arrow"})):t.createCommentVNode("",!0),t.createTextVNode(" "+t.toDisplayString(m.clickableText)+" ",1),t.renderSlot(m.$slots,"additionalButtonText",{},void 0,!0)]),m.$slots.buttonRight?(t.openBlock(),t.createElementBlock("span",um,[t.renderSlot(m.$slots,"buttonRight",{collapsed:l.value},void 0,!0)])):t.createCommentVNode("",!0)],2),m.$slots.content?(t.openBlock(),t.createElementBlock("div",{key:0,id:m.href+"-body"},[t.createElementVNode("div",null,[t.renderSlot(m.$slots,"content",{},void 0,!0)])],8,dm)):t.createCommentVNode("",!0)],8,sm))}}),Vt=B(fm,[["__scopeId","data-v-309ae3b9"]]);function Ct(e){if(e.type)return e.type;if(e.$ref)return"#"+e.$ref.slice(8)}function Il(e){const n=e.split("_")[0];return n.substring(n.lastIndexOf(".")+1)}function mm(e){var n,o;if(e.enum)return e.enum;if((n=e.items)!=null&&n.enum)return e.items.enum;if((o=e.additionalProperties)!=null&&o.enum)return e.additionalProperties.enum}function pm(e){return e.allOf&&(e=e.allOf.reduce((n,o)=>({...n,...o}),{...e}),delete e.allOf),e}function Vl(e){const n={},o=Ct(e);return o?n.types=[o]:e.anyOf?n.types=e.anyOf.map(Ct).filter(l=>l!==void 0).filter(y.Utils.distinctFilter):n.types=["object"],e.additionalProperties?n.subType=Ct(e.additionalProperties):e.items&&(n.subType=Ct(e.items)),n}const gm={name:"ChevronDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},hm=["aria-hidden","aria-label"],Em=["fill","width","height"],km={d:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"},_m={key:0};function ym(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon chevron-down-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",km,[o.title?(t.openBlock(),t.createElementBlock("title",_m,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Em))],16,hm)}const Cm=B(gm,[["render",ym]]),Nm={name:"EyeOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},vm=["aria-hidden","aria-label"],Sm=["fill","width","height"],bm={d:"M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9M12,4.5C17,4.5 21.27,7.61 23,12C21.27,16.39 17,19.5 12,19.5C7,19.5 2.73,16.39 1,12C2.73,7.61 7,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C15.76,17.5 19.17,15.36 20.82,12C19.17,8.64 15.76,6.5 12,6.5C8.24,6.5 4.83,8.64 3.18,12Z"},Lm={key:0};function Tm(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon eye-outline-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",bm,[o.title?(t.openBlock(),t.createElementBlock("title",Lm,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Sm))],16,vm)}const Ol=B(Nm,[["render",Tm]]),wm={name:"FileDocumentIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Am=["aria-hidden","aria-label"],Im=["fill","width","height"],Vm={d:"M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M15,18V16H6V18H15M18,14V12H6V14H18Z"},Om={key:0};function Dm(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon file-document-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Vm,[o.title?(t.openBlock(),t.createElementBlock("title",Om,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Im))],16,Am)}const Bm=B(wm,[["render",Dm]]),Pm={name:"AlertIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Rm=["aria-hidden","aria-label"],$m=["fill","width","height"],Mm={d:"M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z"},xm={key:0};function Fm(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon alert-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Mm,[o.title?(t.openBlock(),t.createElementBlock("title",xm,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,$m))],16,Rm)}const Dl=B(Pm,[["render",Fm]]),Um={class:"me-3"},Hm={class:"d-flex flex-column"},zm=t.defineComponent({name:"Alert",__name:"Alert",props:{type:{}},setup(e){const n=e,o=t.computed(()=>{switch(n.type){case"success":return Bm;case"info":return un;case"warning":return Dl;case"danger":return cn;default:return un}});return(l,r)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass("doc-alert alert alert-"+l.type),role:"alert"},[t.createElementVNode("div",Um,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.value),{class:"alert-icon"}))]),t.createElementVNode("div",Hm,[t.renderSlot(l.$slots,"default",{},void 0,!0)])],2))}}),Gm=B(zm,[["__scopeId","data-v-f7fd8bc1"]]),Wm={class:"property-detail"},jm={key:0},Km=["href"],Ym={class:"d-flex fw-bold type-box rounded fs-7 px-2 py-1"},qm={class:"ref-type"},Xm={key:1,class:"type-box rounded fs-7 px-2 py-1"},Zm={key:1},Jm={class:"border rounded px-2 py-1"},Qm={key:2},ep={class:"border rounded px-2 py-1"},tp={key:3},np={class:"border rounded px-2 py-1"},op={key:4},lp={class:"border rounded px-2 py-1"},rp={key:5},ip={class:"border rounded px-2 py-1"},ap={key:6},sp={class:"border rounded px-2 py-1"},cp={key:7},up={class:"border rounded px-2 py-1"},dp={key:8},fp={class:"border rounded px-2 py-1"},mp={key:9},pp={class:"border rounded px-2 py-1"},gp={key:10},hp={class:"border rounded px-2 py-1"},Ep={key:11},kp={class:"border rounded px-2 py-1"},_p={key:12},yp={class:"border rounded px-2 py-1"},Cp={key:13},Np={class:"d-flex flex-wrap justify-content-end gap-7 p-0"},vp={key:14},Sp={class:"property-description markdown"},bp={key:2},Lp=t.defineComponent({__name:"PropertyDetail",props:{property:{}},setup(e){const n=e,o=t.ref(Vl(n.property).subType),l=t.ref(mm(n.property)),r=i=>i.replaceAll(/(```)(?:bash|yaml|js|console|json)(\n) *([\s\S]*?```)/g,"$1$2$3").replaceAll(new RegExp("(?<!:):(?![: /])","g"),": ");return(i,a)=>(t.openBlock(),t.createElementBlock("div",Wm,[o.value?(t.openBlock(),t.createElementBlock("div",jm,[a[1]||(a[1]=t.createElementVNode("span",null," SubType ",-1)),o.value.startsWith("#")?(t.openBlock(),t.createElementBlock("a",{key:0,href:o.value,onClick:a[0]||(a[0]=t.withModifiers(()=>{},["stop"]))},[t.createElementVNode("button",Ym,[t.createElementVNode("span",qm,t.toDisplayString(t.unref(Il)(o.value)),1),t.createVNode(Ol)])],8,Km)):(t.openBlock(),t.createElementBlock("span",Xm,t.toDisplayString(o.value),1))])):t.createCommentVNode("",!0),i.property.default!==void 0?(t.openBlock(),t.createElementBlock("div",Zm,[a[2]||(a[2]=t.createElementVNode("span",null," Default ",-1)),t.createElementVNode("code",Jm,t.toDisplayString(i.property.default),1)])):t.createCommentVNode("",!0),i.property.pattern!==void 0?(t.openBlock(),t.createElementBlock("div",Qm,[a[3]||(a[3]=t.createElementVNode("span",null," Validation RegExp ",-1)),t.createElementVNode("code",ep,t.toDisplayString(i.property.pattern),1)])):t.createCommentVNode("",!0),i.property.unit!==void 0&&i.property.unit.trim().length>0?(t.openBlock(),t.createElementBlock("div",tp,[a[4]||(a[4]=t.createElementVNode("span",null," Unit ",-1)),t.createElementVNode("code",np,t.toDisplayString(i.property.unit),1)])):t.createCommentVNode("",!0),i.property.minLength!==void 0?(t.openBlock(),t.createElementBlock("div",op,[a[5]||(a[5]=t.createElementVNode("span",null," Min length ",-1)),t.createElementVNode("code",lp,t.toDisplayString(i.property.minLength),1)])):t.createCommentVNode("",!0),i.property.maxLength!==void 0?(t.openBlock(),t.createElementBlock("div",rp,[a[6]||(a[6]=t.createElementVNode("span",null," Max length ",-1)),t.createElementVNode("code",ip,t.toDisplayString(i.property.maxLength),1)])):t.createCommentVNode("",!0),i.property.minItems!==void 0?(t.openBlock(),t.createElementBlock("div",ap,[a[7]||(a[7]=t.createElementVNode("span",null," Min items ",-1)),t.createElementVNode("code",sp,t.toDisplayString(i.property.minItems),1)])):t.createCommentVNode("",!0),i.property.maxItems!==void 0?(t.openBlock(),t.createElementBlock("div",cp,[a[8]||(a[8]=t.createElementVNode("span",null," Max items ",-1)),t.createElementVNode("code",up,t.toDisplayString(i.property.maxItems),1)])):t.createCommentVNode("",!0),i.property.minimum!==void 0?(t.openBlock(),t.createElementBlock("div",dp,[a[9]||(a[9]=t.createElementVNode("span",null," Minimum ",-1)),t.createElementVNode("code",fp," >= "+t.toDisplayString(i.property.minimum),1)])):t.createCommentVNode("",!0),i.property.exclusiveMinimum!==void 0?(t.openBlock(),t.createElementBlock("div",mp,[a[10]||(a[10]=t.createElementVNode("span",null," Minimum ",-1)),t.createElementVNode("code",pp," > "+t.toDisplayString(i.property.minimum),1)])):t.createCommentVNode("",!0),i.property.maximum!==void 0?(t.openBlock(),t.createElementBlock("div",gp,[a[11]||(a[11]=t.createElementVNode("span",null," Maximum ",-1)),t.createElementVNode("code",hp," <= "+t.toDisplayString(i.property.maximum),1)])):t.createCommentVNode("",!0),i.property.exclusiveMaximum!==void 0?(t.openBlock(),t.createElementBlock("div",Ep,[a[12]||(a[12]=t.createElementVNode("span",null," Maximum ",-1)),t.createElementVNode("code",kp," < "+t.toDisplayString(i.property.maximum),1)])):t.createCommentVNode("",!0),i.property.format!==void 0?(t.openBlock(),t.createElementBlock("div",_p,[a[13]||(a[13]=t.createElementVNode("span",null," Format ",-1)),t.createElementVNode("code",yp,t.toDisplayString(i.property.format),1)])):t.createCommentVNode("",!0),l.value!==void 0?(t.openBlock(),t.createElementBlock("div",Cp,[a[14]||(a[14]=t.createElementVNode("span",null," Possible Values ",-1)),t.createElementVNode("div",Np,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,(s,c)=>(t.openBlock(),t.createElementBlock("code",{class:"border rounded px-2 py-1",key:c},t.toDisplayString(s),1))),128))])])):t.createCommentVNode("",!0),i.property.title!==void 0||i.property.description!==void 0?(t.openBlock(),t.createElementBlock("div",vp,[t.createElementVNode("div",Sp,[i.property.title!==void 0?t.renderSlot(i.$slots,"markdown",{key:0,content:r(i.property.title)},void 0,!0):t.createCommentVNode("",!0),i.property.description!==void 0?t.renderSlot(i.$slots,"markdown",{key:1,content:r(i.property.description)},void 0,!0):t.createCommentVNode("",!0),i.property.$internalStorageURI?(t.openBlock(),t.createElementBlock("div",bp,[t.createVNode(Gm,{type:"info"},{default:t.withCtx(()=>[t.renderSlot(i.$slots,"markdown",{content:"Pebble expression referencing an Internal Storage URI e.g. `{{ outputs.mytask.uri }}`."},void 0,!0)]),_:3})])):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0)]))}}),Tp=B(Lp,[["__scopeId","data-v-79715a4e"]]),wp={name:"ChevronUpIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ap=["aria-hidden","aria-label"],Ip=["fill","width","height"],Vp={d:"M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"},Op={key:0};function Dp(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon chevron-up-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Vp,[o.title?(t.openBlock(),t.createElementBlock("title",Op,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Ip))],16,Ap)}const Bp=B(wp,[["render",Dp]]),Pp={name:"SnowflakeIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Rp=["aria-hidden","aria-label"],$p=["fill","width","height"],Mp={d:"M20.79,13.95L18.46,14.57L16.46,13.44V10.56L18.46,9.43L20.79,10.05L21.31,8.12L19.54,7.65L20,5.88L18.07,5.36L17.45,7.69L15.45,8.82L13,7.38V5.12L14.71,3.41L13.29,2L12,3.29L10.71,2L9.29,3.41L11,5.12V7.38L8.5,8.82L6.5,7.69L5.92,5.36L4,5.88L4.47,7.65L2.7,8.12L3.22,10.05L5.55,9.43L7.55,10.56V13.45L5.55,14.58L3.22,13.96L2.7,15.89L4.47,16.36L4,18.12L5.93,18.64L6.55,16.31L8.55,15.18L11,16.62V18.88L9.29,20.59L10.71,22L12,20.71L13.29,22L14.7,20.59L13,18.88V16.62L15.5,15.17L17.5,16.3L18.12,18.63L20,18.12L19.53,16.35L21.3,15.88L20.79,13.95M9.5,10.56L12,9.11L14.5,10.56V13.44L12,14.89L9.5,13.44V10.56Z"},xp={key:0};function Fp(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon snowflake-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Mp,[o.title?(t.openBlock(),t.createElementBlock("title",xp,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,$p))],16,Rp)}const Up=B(Pp,[["render",Fp]]),Hp={name:"AlphaBBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},zp=["aria-hidden","aria-label"],Gp=["fill","width","height"],Wp={d:"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M15,10.5V9A2,2 0 0,0 13,7H9V17H13A2,2 0 0,0 15,15V13.5C15,12.7 14.3,12 13.5,12C14.3,12 15,11.3 15,10.5M13,15H11V13H13V15M13,11H11V9H13V11Z"},jp={key:0};function Kp(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon alpha-b-box-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Wp,[o.title?(t.openBlock(),t.createElementBlock("title",jp,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Gp))],16,zp)}const Yp=B(Hp,[["render",Kp]]),qp={class:"border overflow-hidden"},Xp={class:"d-flex flex-grow-1 align-items-center justify-content-between"},Zp={class:"d-flex gap-2"},Jp={class:"d-flex flex-wrap gap-2"},Qp=["href"],eg={class:"ref-type"},tg={key:1,class:"type-box rounded fs-7 px-2 py-1"},ng=t.defineComponent({__name:"CollapsibleProperties",props:{href:{default:Math.random().toString(36).substring(2,5)},sectionName:{},properties:{default:void 0},showDynamic:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1},forceInclude:{default:()=>[]}},emits:["expand"],setup(e,{emit:n}){const o=e,l=n,r=t.ref(!1);t.watch(r,s=>{s&&l("expand")});const i=s=>{var c;return s.$dynamic===!0?!0:s.$dynamic===!1?!1:((c=s.anyOf)==null?void 0:c.some(d=>d.$dynamic===!0))??!1};function a(s){const c=[],d=[];for(const h in s)typeof s[h]=="object"&&(s[h]=pm(s[h]),s[h].$required?c.push(h):d.push(h));const m=[...c.sort(),...d.sort()],E={};return m.forEach(h=>{var C;(!s[h].$deprecated||(C=o.forceInclude)!=null&&C.includes(h))&&(E[h]=s[h])}),E}return(s,c)=>(t.openBlock(),t.createBlock(Vt,{class:"section-collapsible","clickable-text":s.sectionName,href:s.href,onExpand:c[2]||(c[2]=d=>l("expand")),"initially-expanded":s.initiallyExpanded||r.value},t.createSlots({_:2},[Object.keys(s.properties??{}).length>0?{name:"content",fn:t.withCtx(()=>[t.createElementVNode("div",qp,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a(s.properties),(d,m)=>(t.openBlock(),t.createBlock(Vt,{class:"property",key:m,arrow:!1,"clickable-text":m,href:s.href+"_"+m,onExpand:c[1]||(c[1]=E=>r.value=!0)},{additionalButtonText:t.withCtx(()=>[d.$required?(t.openBlock(),t.createBlock(X,{key:0,class:"d-flex",title:"Required"},{default:t.withCtx(()=>c[3]||(c[3]=[t.createElementVNode("span",{class:"text-danger"}," *",-1)])),_:1})):t.createCommentVNode("",!0)]),buttonRight:t.withCtx(({collapsed:E})=>[t.createElementVNode("span",Xp,[t.createElementVNode("span",Zp,[s.showDynamic&&!i(d)?(t.openBlock(),t.createBlock(X,{key:0,class:"d-flex",title:"Non-dynamic"},{default:t.withCtx(()=>[t.createVNode(Up,{class:"text-info"})]),_:1})):t.createCommentVNode("",!0),d.$beta?(t.openBlock(),t.createBlock(X,{key:1,class:"d-flex",title:"Beta"},{default:t.withCtx(()=>[t.createVNode(Yp,{class:"text-warning"})]),_:1})):t.createCommentVNode("",!0),d.$deprecated?(t.openBlock(),t.createBlock(X,{key:2,class:"d-flex",title:"Deprecated"},{default:t.withCtx(()=>[t.createVNode(Dl,{class:"text-warning"})]),_:1})):t.createCommentVNode("",!0)]),t.createElementVNode("span",Jp,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(Vl)(d).types,h=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:h},[h.startsWith("#")?(t.openBlock(),t.createElementBlock("a",{key:0,class:"d-flex fw-bold type-box rounded fs-7 px-2 py-1",href:h,onClick:c[0]||(c[0]=t.withModifiers(()=>{},["stop"]))},[t.createElementVNode("span",eg,t.toDisplayString(t.unref(Il)(h)),1),t.createVNode(Ol)],8,Qp)):(t.openBlock(),t.createElementBlock("span",tg,t.toDisplayString(h),1))],64))),128)),(t.openBlock(),t.createBlock(t.resolveDynamicComponent(E?Cm:Bp),{class:"arrow"}))])])]),content:t.withCtx(()=>[t.createVNode(Tp,{property:d},{markdown:t.withCtx(({content:E})=>[t.renderSlot(s.$slots,"markdown",{content:E},void 0,!0)]),_:2},1032,["property"])]),_:2},1032,["clickable-text","href"]))),128))])]),key:"0"}:void 0]),1032,["clickable-text","href","initially-expanded"]))}}),Nt=B(ng,[["__scopeId","data-v-0d36ff40"]]),og={class:"d-flex flex-column gap-6"},lg={key:0,class:"alert alert-info",role:"alert"},rg={key:1,class:"plugin-title markdown"},ig={key:2,class:"markdown"},ag={class:"d-flex flex-column gap-4"},sg={class:"d-flex flex-column gap-3"},cg={class:"markdown"},ug={key:0,class:"w-100 align-self-center"},dg={class:"markdown"},fg={class:"markdown"},mg={class:"markdown"},pg={class:"d-flex flex-column gap-7 ps-3"},gg={class:"markdown"},hg=t.defineComponent({__name:"SchemaToHtml",props:{schema:{},pluginType:{},darkMode:{type:Boolean,default:!0},propsInitiallyExpanded:{type:Boolean,default:!1},forceIncludeProperties:{default:()=>[]}},async setup(e){let n,o;const l=e,r=t.ref(!1),i=t.ref(new Set),a=t.ref(0),s=async()=>{var I;const p=window.location.hash.slice(1);if(!p||!l.schema.definitions){i.value.clear();return}const b=p.includes("#")?(I=p.split("#").pop())==null?void 0:I.split(".").pop():p;if(b&&b in l.schema.definitions){r.value=!0,a.value+=1,i.value.clear(),i.value.add(b),await t.nextTick();let N=0;const x=30,H=()=>{const J=document.getElementById(b);J?J.scrollIntoView({behavior:"smooth",block:"start"}):N<x&&(N++,requestAnimationFrame(H))};requestAnimationFrame(H)}else i.value.clear()};t.watch([()=>l.schema,()=>l.pluginType],([p,b],[I,N])=>{(p!==I||b!==N)&&l.schema.definitions&&s()},{immediate:!0});const c=p=>{var b;return p!=null&&p.full?p.code:`id: "${(b=l.pluginType.split(".").reverse()[0])==null?void 0:b.toLowerCase()}"
26
+ type: "${l.pluginType}"
27
+ `.concat(p.code)},d=t.ref(null),m=t.computed(()=>{var p;return(p=l.schema.properties)==null?void 0:p.$examples}),E=t.computed(()=>{var p,b;return Object.fromEntries((b=(p=l.schema.properties)==null?void 0:p.$metrics)==null?void 0:b.map(I=>[I.name,{...I,name:void 0}]))}),{githubLight:h,githubDark:C,yaml:V,python:L,javascript:O,createJavaScriptRegexEngine:g,createHighlighterCore:k}=([n,o]=t.withAsyncContext(()=>Promise.resolve().then(()=>require("./shikiToolset-BiVCa5d0.cjs"))),n=await n,o(),n);d.value=([n,o]=t.withAsyncContext(()=>k({themes:[l.darkMode?C:h],langs:[V,L,O],engine:g()})),n=await n,o(),n);const S="github-"+(l.darkMode?"dark":"light");return t.onMounted(()=>{s(),window.addEventListener("hashchange",s)}),t.onUnmounted(()=>{var p;window.removeEventListener("hashchange",s),(p=d.value)==null||p.dispose()}),(p,b)=>{var I,N,x,H,J,ce;return t.openBlock(),t.createElementBlock("div",og,[t.createElementVNode("div",null,[(I=p.schema.properties)!=null&&I.$beta?(t.openBlock(),t.createElementBlock("div",lg,b[0]||(b[0]=[t.createElementVNode("p",null," This plugin is currently in beta. While it is considered safe for use, please be aware that its API could change in ways that are not compatible with earlier versions in future releases, or it might become unsupported. ",-1)]))):t.createCommentVNode("",!0),(N=p.schema.properties)!=null&&N.title?(t.openBlock(),t.createElementBlock("div",rg,[t.renderSlot(p.$slots,"markdown",{content:p.schema.properties.title.replaceAll(/ *:(?![ /])/g,": ")},void 0,!0)])):t.createCommentVNode("",!0),(x=p.schema.properties)!=null&&x.description?(t.openBlock(),t.createElementBlock("div",ig,[t.renderSlot(p.$slots,"markdown",{content:p.schema.properties.description.replaceAll(/ *:(?![ /])/g,": ")},void 0,!0)])):t.createCommentVNode("",!0),(t.openBlock(),t.createBlock(Oo,{highlighter:d.value,language:"yaml",theme:S,code:`type: "${p.pluginType}"`,key:p.pluginType},null,8,["highlighter","code"]))]),(t.openBlock(),t.createElementBlock("div",{class:"d-flex flex-column gap-3",key:p.pluginType},[m.value?(t.openBlock(),t.createBlock(Vt,{key:0,class:"plugin-section","clickable-text":"Examples",href:"examples"},{content:t.withCtx(()=>[t.createElementVNode("div",ag,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(m.value,(F,he)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p.pluginType+"-"+he},[t.createElementVNode("div",sg,[t.createElementVNode("div",cg,[F.title?t.renderSlot(p.$slots,"markdown",{key:0,content:F.title.replaceAll(/ *:(?![ /])/g,": ")},void 0,!0):t.createCommentVNode("",!0)]),F.code?(t.openBlock(),t.createBlock(Oo,{key:0,highlighter:d.value,language:F.lang??"yaml",theme:S,code:c(F)},null,8,["highlighter","language","code"])):t.createCommentVNode("",!0)]),he<m.value.length-1?(t.openBlock(),t.createElementBlock("hr",ug)):t.createCommentVNode("",!0)],64))),128))])]),_:3})):t.createCommentVNode("",!0),(H=p.schema.properties)!=null&&H.properties?(t.openBlock(),t.createBlock(Nt,{key:1,class:"plugin-section",properties:p.schema.properties.properties,"section-name":"Properties",href:"properties","initially-expanded":p.propsInitiallyExpanded,"force-include":p.forceIncludeProperties},{markdown:t.withCtx(({content:F})=>[t.createElementVNode("div",dg,[t.renderSlot(p.$slots,"markdown",{content:F},void 0,!0)])]),_:3},8,["properties","initially-expanded","force-include"])):t.createCommentVNode("",!0),(J=p.schema.outputs)!=null&&J.properties&&Object.keys(p.schema.outputs.properties).length>0?(t.openBlock(),t.createBlock(Nt,{key:2,class:"plugin-section",properties:p.schema.outputs.properties,"section-name":"Outputs",href:"outputs","show-dynamic":!1},{markdown:t.withCtx(({content:F})=>[t.createElementVNode("div",fg,[t.renderSlot(p.$slots,"markdown",{content:F},void 0,!0)])]),_:3},8,["properties"])):t.createCommentVNode("",!0),(ce=p.schema.properties)!=null&&ce.$metrics?(t.openBlock(),t.createBlock(Nt,{key:3,class:"plugin-section",properties:E.value,"section-name":"Metrics",href:"metrics","show-dynamic":!1},{markdown:t.withCtx(({content:F})=>[t.createElementVNode("div",mg,[t.renderSlot(p.$slots,"markdown",{content:F},void 0,!0)])]),_:3},8,["properties"])):t.createCommentVNode("",!0),p.schema.definitions&&Object.keys(p.schema.definitions).length>0?(t.openBlock(),t.createBlock(Vt,{class:"plugin-section","clickable-text":"Definitions",href:"definitions","initially-expanded":r.value,key:`definitions-${p.pluginType}-${a.value}`},{content:t.withCtx(()=>[t.createElementVNode("div",pg,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Object.entries(p.schema.definitions),([F,he])=>(t.openBlock(),t.createBlock(Nt,{properties:he.properties,"section-name":he.title??F.split("_")[0],href:F,"show-dynamic":!1,"initially-expanded":i.value.has(F),key:p.pluginType+"-"+F,class:"plugin-section nested-button-py-2",onExpand:Ae=>{r.value=!0,i.value.add(F)}},{markdown:t.withCtx(({content:Ae})=>[t.createElementVNode("div",gg,[t.renderSlot(p.$slots,"markdown",{content:Ae},void 0,!0)])]),_:2},1032,["properties","section-name","href","initially-expanded","onExpand"]))),128))])]),_:3},8,["initially-expanded"])):t.createCommentVNode("",!0)]))])}}}),Eg=B(hg,[["__scopeId","data-v-5953ec4c"]]),kg={name:"ChevronRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},_g=["aria-hidden","aria-label"],yg=["fill","width","height"],Cg={d:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"},Ng={key:0};function vg(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon chevron-right-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Cg,[o.title?(t.openBlock(),t.createElementBlock("title",Ng,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,yg))],16,_g)}const Sg=B(kg,[["render",vg]]),bg=["href"],Lg=["src","alt"],Tg=t.defineComponent({__name:"RowLink",props:{iconB64Svg:{},text:{},href:{}},setup(e){const n=e,{path:o}=bt.useRoute(),l=t.computed(()=>n.href===void 0?`${o}/${je(n.text)}`:n.href);return(r,i)=>(t.openBlock(),t.createElementBlock("a",{href:l.value,class:"row-link d-flex flex-grow-1 align-items-center gap-7 rounded"},[t.createElementVNode("img",{src:r.iconB64Svg,alt:`${r.text} icon`},null,8,Lg),t.createTextVNode(t.toDisplayString(r.text)+" ",1),t.createVNode(Sg,{class:"ms-auto"})],8,bg))}}),Do=B(Tg,[["__scopeId","data-v-b787c0f3"]]),wg={class:"d-flex flex-column gap-4"},Ag={key:1,class:"d-flex flex-column"},Ig=["id"],Vg={class:"d-flex flex-column"},Og=t.defineComponent({__name:"PluginIndex",props:{plugins:{},pluginName:{},subGroup:{},icons:{}},emits:["goTo"],setup(e){const n=e,o=t.computed(()=>n.plugins.find(E=>n.subGroup===void 0?!0:je(Je(E))===n.subGroup)),l=t.computed(()=>{var E,h;return((E=o.value)==null?void 0:E.longDescription)??((h=o.value)==null?void 0:h.description)}),r=t.computed(()=>n.plugins.filter(E=>E.name.toLowerCase()===n.pluginName.toLowerCase()&&E.subGroup!==void 0)),i=E=>{let h=E.split(".");return h==null?void 0:h[h.length-1]},{path:a}=bt.useRoute(),s=E=>`${a}/${je(E)}`,c=E=>`${a}/${E}`;function d(E){return Object.fromEntries(Object.entries(E).filter(([h,C])=>$o(h,C)).map(([h,C])=>[h.replaceAll(/[A-Z]/g,V=>` ${V}`),C.filter(({deprecated:V})=>!V).map(({cls:V})=>V)]))}const m=t.computed(()=>d(o.value));return(E,h)=>(t.openBlock(),t.createElementBlock("div",wg,[l.value!==void 0?t.renderSlot(E.$slots,"markdown",{key:0,content:l.value.replaceAll(/ *:(?![ /])/g,": ")}):t.createCommentVNode("",!0),E.subGroup===void 0&&E.plugins.length>1?(t.openBlock(),t.createElementBlock("div",Ag,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.value,C=>(t.openBlock(),t.createBlock(Do,{id:`group-${t.unref(je)(t.unref(Je)(C))}`,"icon-b64-svg":"data:image/svg+xml;base64,"+(E.icons[C.subGroup]??E.icons[C.group]),text:t.unref(Je)(C),href:s(t.unref(Je)(C)),key:t.unref(Je)(C),class:"text-capitalize",onClick:V=>E.$emit("goTo",{subGroup:C})},null,8,["id","icon-b64-svg","text","href","onClick"]))),128))])):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:2},t.renderList(m.value,(C,V)=>(t.openBlock(),t.createElementBlock("div",{class:"d-flex flex-column elements-section",key:V},[t.createElementVNode("h4",{id:`section-${t.unref(je)(V)}`,class:"text-capitalize"},t.toDisplayString(V),9,Ig),t.createElementVNode("div",Vg,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(C,L=>(t.openBlock(),t.createBlock(Do,{id:t.unref(je)(L),"icon-b64-svg":"data:image/svg+xml;base64,"+(E.icons[L]??E.icons[o.value.subGroup??o.value.group]??E.icons[o.value.group]),text:i(L),href:c(L),key:L,class:"text-capitalize",onClick:O=>E.$emit("goTo",{element:L})},null,8,["id","icon-b64-svg","text","href","onClick"]))),128))])]))),128))]))}}),Dg=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Bg=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Pg=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Rg(e,n){if(e==="__proto__"||e==="constructor"&&n&&typeof n=="object"&&"prototype"in n){$g(e);return}return n}function $g(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Mg(e,n={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const o=e.trim();if(o.length<=9)switch(o.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!Pg.test(e)){if(n.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Dg.test(e)||Bg.test(e)){if(n.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Rg)}return JSON.parse(e)}catch(l){if(n.strict)throw l;return e}}const xg=/\d/,Fg=["-","_","/","."];function Ug(e=""){if(!xg.test(e))return e!==e.toLowerCase()}function Bl(e,n){const o=Fg,l=[];if(!e||typeof e!="string")return l;let r="",i,a;for(const s of e){const c=o.includes(s);if(c===!0){l.push(r),r="",i=void 0;continue}const d=Ug(s);if(a===!1){if(i===!1&&d===!0){l.push(r),r=s,i=d;continue}if(i===!0&&d===!1&&r.length>1){const m=r.at(-1);l.push(r.slice(0,Math.max(0,r.length-1))),r=m+s,i=d;continue}}r+=s,i=d,a=c}return l.push(r),l}function Hg(e){return e?e[0].toUpperCase()+e.slice(1):""}function Pl(e,n){return e?(Array.isArray(e)?e:Bl(e)).map(o=>Hg(o)).join(""):""}function zg(e,n){return e?(Array.isArray(e)?e:Bl(e)).map(o=>o.toLowerCase()).join("-"):""}class ft{constructor(n,o,l){this.normal=o,this.property=n,l&&(this.space=l)}}ft.prototype.normal={};ft.prototype.property={};ft.prototype.space=void 0;function Rl(e,n){const o={},l={};for(const r of e)Object.assign(o,r.property),Object.assign(l,r.normal);return new ft(o,l,n)}function vn(e){return e.toLowerCase()}class _e{constructor(n,o){this.attribute=o,this.property=n}}_e.prototype.attribute="";_e.prototype.booleanish=!1;_e.prototype.boolean=!1;_e.prototype.commaOrSpaceSeparated=!1;_e.prototype.commaSeparated=!1;_e.prototype.defined=!1;_e.prototype.mustUseProperty=!1;_e.prototype.number=!1;_e.prototype.overloadedBoolean=!1;_e.prototype.property="";_e.prototype.spaceSeparated=!1;_e.prototype.space=void 0;let Gg=0;const U=Xe(),ie=Xe(),$l=Xe(),T=Xe(),Q=Xe(),et=Xe(),Ce=Xe();function Xe(){return 2**++Gg}const Sn=Object.freeze(Object.defineProperty({__proto__:null,boolean:U,booleanish:ie,commaOrSpaceSeparated:Ce,commaSeparated:et,number:T,overloadedBoolean:$l,spaceSeparated:Q},Symbol.toStringTag,{value:"Module"})),sn=Object.keys(Sn);class xn extends _e{constructor(n,o,l,r){let i=-1;if(super(n,o),Bo(this,"space",r),typeof l=="number")for(;++i<sn.length;){const a=sn[i];Bo(this,sn[i],(l&Sn[a])===Sn[a])}}}xn.prototype.defined=!0;function Bo(e,n,o){o&&(e[n]=o)}function ot(e){const n={},o={};for(const[l,r]of Object.entries(e.properties)){const i=new xn(l,e.transform(e.attributes||{},l),r,e.space);e.mustUseProperty&&e.mustUseProperty.includes(l)&&(i.mustUseProperty=!0),n[l]=i,o[vn(l)]=l,o[vn(i.attribute)]=l}return new ft(n,o,e.space)}const Ml=ot({properties:{ariaActiveDescendant:null,ariaAtomic:ie,ariaAutoComplete:null,ariaBusy:ie,ariaChecked:ie,ariaColCount:T,ariaColIndex:T,ariaColSpan:T,ariaControls:Q,ariaCurrent:null,ariaDescribedBy:Q,ariaDetails:null,ariaDisabled:ie,ariaDropEffect:Q,ariaErrorMessage:null,ariaExpanded:ie,ariaFlowTo:Q,ariaGrabbed:ie,ariaHasPopup:null,ariaHidden:ie,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Q,ariaLevel:T,ariaLive:null,ariaModal:ie,ariaMultiLine:ie,ariaMultiSelectable:ie,ariaOrientation:null,ariaOwns:Q,ariaPlaceholder:null,ariaPosInSet:T,ariaPressed:ie,ariaReadOnly:ie,ariaRelevant:null,ariaRequired:ie,ariaRoleDescription:Q,ariaRowCount:T,ariaRowIndex:T,ariaRowSpan:T,ariaSelected:ie,ariaSetSize:T,ariaSort:null,ariaValueMax:T,ariaValueMin:T,ariaValueNow:T,ariaValueText:null,role:null},transform(e,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()}});function xl(e,n){return n in e?e[n]:n}function Fl(e,n){return xl(e,n.toLowerCase())}const Wg=ot({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:et,acceptCharset:Q,accessKey:Q,action:null,allow:null,allowFullScreen:U,allowPaymentRequest:U,allowUserMedia:U,alt:null,as:null,async:U,autoCapitalize:null,autoComplete:Q,autoFocus:U,autoPlay:U,blocking:Q,capture:null,charSet:null,checked:U,cite:null,className:Q,cols:T,colSpan:null,content:null,contentEditable:ie,controls:U,controlsList:Q,coords:T|et,crossOrigin:null,data:null,dateTime:null,decoding:null,default:U,defer:U,dir:null,dirName:null,disabled:U,download:$l,draggable:ie,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:U,formTarget:null,headers:Q,height:T,hidden:U,high:T,href:null,hrefLang:null,htmlFor:Q,httpEquiv:Q,id:null,imageSizes:null,imageSrcSet:null,inert:U,inputMode:null,integrity:null,is:null,isMap:U,itemId:null,itemProp:Q,itemRef:Q,itemScope:U,itemType:Q,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:U,low:T,manifest:null,max:null,maxLength:T,media:null,method:null,min:null,minLength:T,multiple:U,muted:U,name:null,nonce:null,noModule:U,noValidate:U,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:U,optimum:T,pattern:null,ping:Q,placeholder:null,playsInline:U,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:U,referrerPolicy:null,rel:Q,required:U,reversed:U,rows:T,rowSpan:T,sandbox:Q,scope:null,scoped:U,seamless:U,selected:U,shadowRootClonable:U,shadowRootDelegatesFocus:U,shadowRootMode:null,shape:null,size:T,sizes:null,slot:null,span:T,spellCheck:ie,src:null,srcDoc:null,srcLang:null,srcSet:null,start:T,step:null,style:null,tabIndex:T,target:null,title:null,translate:null,type:null,typeMustMatch:U,useMap:null,value:ie,width:T,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Q,axis:null,background:null,bgColor:null,border:T,borderColor:null,bottomMargin:T,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:U,declare:U,event:null,face:null,frame:null,frameBorder:null,hSpace:T,leftMargin:T,link:null,longDesc:null,lowSrc:null,marginHeight:T,marginWidth:T,noResize:U,noHref:U,noShade:U,noWrap:U,object:null,profile:null,prompt:null,rev:null,rightMargin:T,rules:null,scheme:null,scrolling:ie,standby:null,summary:null,text:null,topMargin:T,valueType:null,version:null,vAlign:null,vLink:null,vSpace:T,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:U,disableRemotePlayback:U,prefix:null,property:null,results:T,security:null,unselectable:null},space:"html",transform:Fl}),jg=ot({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Ce,accentHeight:T,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:T,amplitude:T,arabicForm:null,ascent:T,attributeName:null,attributeType:null,azimuth:T,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:T,by:null,calcMode:null,capHeight:T,className:Q,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:T,diffuseConstant:T,direction:null,display:null,dur:null,divisor:T,dominantBaseline:null,download:U,dx:null,dy:null,edgeMode:null,editable:null,elevation:T,enableBackground:null,end:null,event:null,exponent:T,externalResourcesRequired:null,fill:null,fillOpacity:T,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:et,g2:et,glyphName:et,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:T,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:T,horizOriginX:T,horizOriginY:T,id:null,ideographic:T,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:T,k:T,k1:T,k2:T,k3:T,k4:T,kernelMatrix:Ce,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:T,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:T,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:T,overlineThickness:T,paintOrder:null,panose1:null,path:null,pathLength:T,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Q,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:T,pointsAtY:T,pointsAtZ:T,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ce,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ce,rev:Ce,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ce,requiredFeatures:Ce,requiredFonts:Ce,requiredFormats:Ce,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:T,specularExponent:T,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:T,strikethroughThickness:T,string:null,stroke:null,strokeDashArray:Ce,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:T,strokeOpacity:T,strokeWidth:null,style:null,surfaceScale:T,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ce,tabIndex:T,tableValues:null,target:null,targetX:T,targetY:T,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ce,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:T,underlineThickness:T,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:T,values:null,vAlphabetic:T,vMathematical:T,vectorEffect:null,vHanging:T,vIdeographic:T,version:null,vertAdvY:T,vertOriginX:T,vertOriginY:T,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:T,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:xl}),Ul=ot({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,n){return"xlink:"+n.slice(5).toLowerCase()}}),Hl=ot({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Fl}),zl=ot({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,n){return"xml:"+n.slice(3).toLowerCase()}}),Kg=/[A-Z]/g,Po=/-[a-z]/g,Yg=/^data[-\w.:]+$/i;function qg(e,n){const o=vn(n);let l=n,r=_e;if(o in e.normal)return e.property[e.normal[o]];if(o.length>4&&o.slice(0,4)==="data"&&Yg.test(n)){if(n.charAt(4)==="-"){const i=n.slice(5).replace(Po,Zg);l="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=n.slice(4);if(!Po.test(i)){let a=i.replace(Kg,Xg);a.charAt(0)!=="-"&&(a="-"+a),n="data"+a}}r=xn}return new r(l,n)}function Xg(e){return"-"+e.toLowerCase()}function Zg(e){return e.charAt(1).toUpperCase()}const Jg=Rl([Ml,Wg,Ul,Hl,zl],"html");Rl([Ml,jg,Ul,Hl,zl],"svg");const Fn=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],Qg=["p","h1","h2","h3","h4","h5","h6","li"];function Ot(e,n){return e.type===n||typeof e.type=="object"&&e.type.tag===n||e.tag===n}function Un(e){return Ot(e,"text")||Ot(e,Symbol.for("v-txt"))}function Gl(e){var n;return Array.isArray(e.children)||typeof e.children=="string"?e.children:typeof((n=e.children)==null?void 0:n.default)=="function"?e.children.default():[]}function Dt(e){if(!e)return"";if(Array.isArray(e))return e.map(Dt).join("");if(Un(e))return e.value||e.children||"";const n=Gl(e);return Array.isArray(n)?n.map(Dt).filter(Boolean).join(""):""}function Wl(e,n=[]){if(Array.isArray(e))return e.flatMap(l=>Wl(l,n));let o=e;return n.some(l=>l==="*"||Ot(e,l))&&(o=Gl(e)||e,!Array.isArray(o)&&Qg.some(l=>Ot(e,l))&&(o=[o])),o}function jl(e,n=[]){return e=Array.isArray(e)?e:[e],n.length?e.flatMap(o=>jl(Wl(o,[n[0]]),n.slice(1))).filter(o=>!(Un(o)&&Dt(o).trim()==="")):e}function Kl(e,n=[]){return typeof n=="string"&&(n=n.split(/[,\s]/).map(o=>o.trim()).filter(Boolean)),n.length?jl(e,n).reduce((o,l)=>(Un(l)?typeof o[o.length-1]=="string"?o[o.length-1]+=l.children:o.push(l.children):o.push(l),o),[]):e}function e1(e,n){return n.reduce((o,l)=>{const r=t1(e,l);return r!==void 0&&(o[l]=r),o},{})}function t1(e,n){return n.split(".").reduce((o,l)=>o&&o[l],e)}const bn="default",Yl=/^@|^v-on:/,ql=/^:|^v-bind:/,n1=/^v-model/,o1=["select","textarea","input"],l1=["math","svg"],r1=Object.fromEntries(["p","a","blockquote","code","pre","code","em","h1","h2","h3","h4","h5","h6","hr","img","ul","ol","li","strong","table","thead","tbody","td","th","tr","script"].map(e=>[e,`prose-${e}`])),i1=t.defineComponent({name:"MDCRenderer",props:{body:{type:Object,required:!0},data:{type:Object,default:()=>({})},class:{type:[String,Object],default:void 0},tag:{type:[String,Boolean],default:void 0},prose:{type:Boolean,default:void 0},components:{type:Object,default:()=>({})},unwrap:{type:[Boolean,String],default:!1}},async setup(e){var d,m,E,h,C,V,L;const n=(m=(d=t.getCurrentInstance())==null?void 0:d.appContext)==null?void 0:m.app,o=n==null?void 0:n.$nuxt,l=(o==null?void 0:o.$route)||(o==null?void 0:o._route),{mdc:r}=((E=o==null?void 0:o.$config)==null?void 0:E.public)||{},i={...(h=r==null?void 0:r.components)!=null&&h.prose&&e.prose!==!1?r1:{},...((C=r==null?void 0:r.components)==null?void 0:C.map)||{},...t.toRaw(((L=(V=e.data)==null?void 0:V.mdc)==null?void 0:L.components)||{}),...e.components},a=t.computed(()=>{var g;const O=(((g=e.body)==null?void 0:g.children)||[]).map(k=>k.tag||k.type).filter(k=>!Fn.includes(k));return Array.from(new Set(O)).sort().join(".")}),s=t.reactive({...e.data});t.watch(()=>e.data,O=>{Object.assign(s,O)}),await E1(e.body,{tags:i});function c(O,g){const k=O.split(".").length-1;return O.split(".").reduce((S,p,b)=>b==k&&S?(S[p]=g,S[p]):typeof S=="object"?S[p]:void 0,s)}return{tags:i,contentKey:a,route:l,runtimeData:s,updateRuntimeData:c}},render(e){var C,V;const{tags:n,tag:o,body:l,data:r,contentKey:i,route:a,unwrap:s,runtimeData:c,updateRuntimeData:d}=e;if(!l)return null;const m={...r,tags:n,$route:a,runtimeData:c,updateRuntimeData:d},E=o!==!1?Ln(o||((C=m.component)==null?void 0:C.name)||m.component||"div"):void 0;return E?t.h(E,{...(V=m.component)==null?void 0:V.props,class:e.class,...this.$attrs,key:i},{default:h}):h==null?void 0:h();function h(){const L=Xl(l,t.h,{documentMeta:m,parentScope:m,resolveComponent:Ln});return L!=null&&L.default?s?Kl(L.default(),typeof s=="string"?s.split(" "):["*"]):L.default():null}}});function a1(e,n,o){const{documentMeta:l,parentScope:r,resolveComponent:i}=o;if(e.type==="text")return n(t.Text,e.value);if(e.type==="comment")return n(t.Comment,null,e.value);const a=e.tag,s=Jl(e,l.tags);if(e.tag==="binding")return s1(e,n,l,r);const c=Zl(s)?E=>E:i;if(s==="script")return n("pre",{class:"script-to-pre"},`<script>
28
+ `+Dt(e)+`
29
+ <\/script>`);const d=c(s);typeof d=="object"&&(d.tag=a);const m=c1(e,l);return n(d,m,Xl(e,n,{documentMeta:l,parentScope:{...r,...m},resolveComponent:c}))}function Xl(e,n,o){const{documentMeta:l,parentScope:r,resolveComponent:i}=o,s=(e.children||[]).reduce((d,m)=>{if(!g1(m))return d[bn].children.push(m),d;const E=p1(m);return d[E]=d[E]||{props:{},children:[]},m.type==="element"&&(d[E].props=m.props,d[E].children.push(...m.children||[])),d},{[bn]:{props:{},children:[]}});return Object.entries(s).reduce((d,[m,{props:E,children:h}])=>(h.length&&(d[m]=(C={})=>{const V=e1(C,Object.keys(E||{}));let L=h.map(O=>a1(O,n,{documentMeta:l,parentScope:{...r,...V},resolveComponent:i}));return E!=null&&E.unwrap&&(L=Kl(L,E.unwrap)),h1(L)}),d),{})}function s1(e,n,o,l={}){var d,m;const r={...o.runtimeData,...l,$document:o,$doc:o},i=/\.|\[(\d+)\]/,s=((d=e.props)==null?void 0:d.value.trim().split(i).filter(Boolean)).reduce((E,h)=>{if(E&&h in E)return typeof E[h]=="function"?E[h]():E[h]},r),c=(m=e.props)==null?void 0:m.defaultValue;return n(t.Text,s??c??"")}function c1(e,n){const{tag:o="",props:l={}}=e;return Object.keys(l).reduce(function(r,i){if(i==="__ignoreMap")return r;const a=l[i];if(n1.test(i))return u1(i,a,r,n,{native:o1.includes(o)});if(i==="v-bind")return d1(i,a,r,n);if(Yl.test(i))return f1(i,a,r,n);if(ql.test(i))return m1(i,a,r,n);const{attribute:s}=qg(Jg,i);return Array.isArray(a)&&a.every(c=>typeof c=="string")?(r[s]=a.join(" "),r):(r[s]=a,r)},{})}function u1(e,n,o,l,{native:r}){var c;const i=((c=e.match(/^v-model:([^=]+)/))==null?void 0:c[1])||"modelValue",a=r?"value":i,s=r?"onInput":`onUpdate:${i}`;return o[a]=Gt(n,l.runtimeData),o[s]=d=>{var m;l.updateRuntimeData(n,r?(m=d.target)==null?void 0:m.value:d)},o}function d1(e,n,o,l){const r=Gt(n,l);return o=Object.assign(o,r),o}function f1(e,n,o,l){return e=e.replace(Yl,""),o.on=o.on||{},o.on[e]=()=>Gt(n,l),o}function m1(e,n,o,l){return e=e.replace(ql,""),o[e]=Gt(n,l),o}const Ln=e=>{if(typeof e=="string"){if(Fn.includes(e))return e;const n=t.resolveComponent(Pl(e),!1);return!e||(n==null?void 0:n.name)==="AsyncComponentWrapper"||typeof n=="string"?n:"setup"in n?t.defineAsyncComponent(()=>new Promise(o=>o(n))):n}return e};function Gt(e,n){const o=e.split(".").reduce((l,r)=>typeof l=="object"?l[r]:void 0,n);return typeof o>"u"?Mg(e):o}function p1(e){let n="";for(const o of Object.keys(e.props||{}))if(!(!o.startsWith("#")&&!o.startsWith("v-slot:"))){n=o.split(/[:#]/,2)[1];break}return n||bn}function g1(e){return e.tag==="template"}function Zl(e){return l1.includes(e)}function h1(e){const n=[];for(const o of e){const l=n[n.length-1];o.type===t.Text&&(l==null?void 0:l.type)===t.Text?l.children=l.children+o.children:n.push(o)}return n}async function E1(e,n){if(!e)return;const o=Array.from(new Set(l(e,n)));await Promise.all(o.map(async r=>{if(r!=null&&r.render||r!=null&&r.ssrRender||r!=null&&r.__ssrInlineRender)return;const i=Ln(r);i!=null&&i.__asyncLoader&&!i.__asyncResolved&&await i.__asyncLoader()}));function l(r,i){const a=r.tag;if(r.type==="text"||a==="binding"||r.type==="comment")return[];const s=Jl(r,i.tags);if(Zl(s))return[];const c=[];r.type!=="root"&&!Fn.includes(s)&&c.push(s);for(const d of r.children||[])c.push(...l(d,i));return c}}function Jl(e,n){var l;const o=e.tag;return!o||typeof((l=e.props)==null?void 0:l.__ignoreMap)<"u"?o:n[o]||n[Pl(o)]||n[zg(e.tag)]||o}const k1=t.defineComponent({__name:"MDCRenderer",setup(e){return(n,o)=>(t.openBlock(),t.createBlock(t.Suspense,null,{default:t.withCtx(()=>[t.createVNode(i1,t.mergeProps(n.$attrs,{prose:!0}),null,16)]),_:1}))}});exports.CLUSTER_PREFIX=y.CLUSTER_PREFIX;exports.EVENTS=y.EVENTS;exports.NODE_SIZES=y.NODE_SIZES;exports.SECTIONS=y.SECTIONS;exports.Utils=y.Utils;exports.VueFlowUtils=y.VueFlowUtils;exports.editorViewTypes=y.editorViewTypes;exports.executeFlowBehaviours=y.executeFlowBehaviours;exports.logDisplayTypes=y.logDisplayTypes;exports.stateDisplayValues=y.stateDisplayValues;exports.stateGlobalChartTypes=y.stateGlobalChartTypes;exports.storageKeys=y.storageKeys;exports.DependenciesNode=oc;exports.MDCRenderer=k1;exports.PluginIndex=Og;exports.STATES=G;exports.SchemaToHtml=Eg;exports.State=ae;exports.TaskIcon=Pn;exports.Topology=If;exports.YamlUtils=cr;exports.cssVariable=Ne;exports.getMDCParser=Ai;exports.isEntryAPluginElementPredicate=$o;exports.slugify=je;exports.subGroupName=Je;
30
30
  //# sourceMappingURL=kestra-index.cjs.js.map