@kestra-io/ui-libs 0.0.262 → 0.0.264

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 (88) hide show
  1. package/dist/{VueFlowUtils-D6fVYEkI.js → VueFlowUtils-DifPO0kH.js} +1229 -1261
  2. package/dist/VueFlowUtils-DifPO0kH.js.map +1 -0
  3. package/dist/VueFlowUtils-DjetWQIy.cjs +2 -0
  4. package/dist/VueFlowUtils-DjetWQIy.cjs.map +1 -0
  5. package/dist/components/index.d.ts +5 -1
  6. package/dist/components/index.d.ts.map +1 -1
  7. package/dist/components/misc/Collapsible.vue.d.ts.map +1 -1
  8. package/dist/components/misc/ElementCard.vue.d.ts +25 -0
  9. package/dist/components/misc/ElementCard.vue.d.ts.map +1 -0
  10. package/dist/components/misc/{State.vue.d.ts → Status.vue.d.ts} +8 -3
  11. package/dist/components/misc/Status.vue.d.ts.map +1 -0
  12. package/dist/components/misc/SubgroupCard.vue.d.ts +20 -0
  13. package/dist/components/misc/SubgroupCard.vue.d.ts.map +1 -0
  14. package/dist/components/nodes/EdgeNode.vue.d.ts.map +1 -1
  15. package/dist/components/plugins/CollapsibleProperties.vue.d.ts.map +1 -1
  16. package/dist/components/plugins/PluginIndex.vue.d.ts +13 -3
  17. package/dist/components/plugins/PluginIndex.vue.d.ts.map +1 -1
  18. package/dist/components/plugins/PropertyDetail.vue.d.ts.map +1 -1
  19. package/dist/components/plugins/SchemaToHtml.vue.d.ts.map +1 -1
  20. package/dist/components/plugins_v2/CollapsiblePropertiesV2.vue.d.ts +39 -0
  21. package/dist/components/plugins_v2/CollapsiblePropertiesV2.vue.d.ts.map +1 -0
  22. package/dist/components/plugins_v2/CollapsibleV2.vue.d.ts +34 -0
  23. package/dist/components/plugins_v2/CollapsibleV2.vue.d.ts.map +1 -0
  24. package/dist/components/plugins_v2/DefinitionCollapsible.vue.d.ts +34 -0
  25. package/dist/components/plugins_v2/DefinitionCollapsible.vue.d.ts.map +1 -0
  26. package/dist/components/plugins_v2/PropertyBadges.vue.d.ts +13 -0
  27. package/dist/components/plugins_v2/PropertyBadges.vue.d.ts.map +1 -0
  28. package/dist/components/plugins_v2/PropertyDetailV2.vue.d.ts +43 -0
  29. package/dist/components/plugins_v2/PropertyDetailV2.vue.d.ts.map +1 -0
  30. package/dist/components/plugins_v2/PropertyMeta.vue.d.ts +10 -0
  31. package/dist/components/plugins_v2/PropertyMeta.vue.d.ts.map +1 -0
  32. package/dist/components/plugins_v2/SchemaToHtmlV2.vue.d.ts +50 -0
  33. package/dist/components/plugins_v2/SchemaToHtmlV2.vue.d.ts.map +1 -0
  34. package/dist/components/topology/Topology.vue.d.ts +1 -1
  35. package/dist/composables/usePluginElementCounts.d.ts +13 -0
  36. package/dist/composables/usePluginElementCounts.d.ts.map +1 -0
  37. package/dist/index.d.ts +3 -2
  38. package/dist/index.d.ts.map +1 -1
  39. package/dist/kestra-index.cjs.js +15 -13
  40. package/dist/kestra-index.cjs.js.map +1 -1
  41. package/dist/kestra-index.es.js +4875 -4002
  42. package/dist/kestra-index.es.js.map +1 -1
  43. package/dist/kestra-vueflowutils.cjs.js +1 -1
  44. package/dist/kestra-vueflowutils.es.js +10 -10
  45. package/dist/ui-libs.css +1 -1
  46. package/dist/utils/Utils.d.ts +2 -0
  47. package/dist/utils/Utils.d.ts.map +1 -1
  48. package/dist/utils/VueFlowUtils.d.ts.map +1 -1
  49. package/dist/utils/constants.d.ts +0 -39
  50. package/dist/utils/constants.d.ts.map +1 -1
  51. package/dist/utils/plugins.d.ts +30 -0
  52. package/dist/utils/plugins.d.ts.map +1 -1
  53. package/dist/utils/schemaUtils.d.ts +6 -0
  54. package/dist/utils/schemaUtils.d.ts.map +1 -1
  55. package/dist/utils/state.d.ts +1 -0
  56. package/dist/utils/state.d.ts.map +1 -1
  57. package/package.json +1 -1
  58. package/src/components/index.ts +5 -1
  59. package/src/components/misc/Collapsible.vue +7 -1
  60. package/src/components/misc/ElementCard.vue +132 -0
  61. package/src/components/misc/Status.vue +120 -0
  62. package/src/components/misc/SubgroupCard.vue +178 -0
  63. package/src/components/nodes/EdgeNode.vue +17 -1
  64. package/src/components/plugins/CollapsibleProperties.vue +2 -13
  65. package/src/components/plugins/PluginIndex.vue +166 -37
  66. package/src/components/plugins/PropertyDetail.vue +5 -5
  67. package/src/components/plugins/SchemaToHtml.vue +7 -3
  68. package/src/components/plugins_v2/CollapsiblePropertiesV2.vue +183 -0
  69. package/src/components/plugins_v2/CollapsibleV2.vue +121 -0
  70. package/src/components/plugins_v2/DefinitionCollapsible.vue +208 -0
  71. package/src/components/plugins_v2/PropertyBadges.vue +93 -0
  72. package/src/components/plugins_v2/PropertyDetailV2.vue +127 -0
  73. package/src/components/plugins_v2/PropertyMeta.vue +169 -0
  74. package/src/components/plugins_v2/SchemaToHtmlV2.vue +213 -0
  75. package/src/composables/usePluginElementCounts.ts +16 -0
  76. package/src/index.ts +3 -2
  77. package/src/scss/_variables.scss +70 -1
  78. package/src/utils/Utils.ts +5 -0
  79. package/src/utils/VueFlowUtils.ts +10 -2
  80. package/src/utils/constants.ts +0 -45
  81. package/src/utils/plugins.ts +76 -1
  82. package/src/utils/schemaUtils.ts +45 -1
  83. package/src/utils/state.ts +2 -0
  84. package/dist/VueFlowUtils-CF-L3pYu.cjs +0 -2
  85. package/dist/VueFlowUtils-CF-L3pYu.cjs.map +0 -1
  86. package/dist/VueFlowUtils-D6fVYEkI.js.map +0 -1
  87. package/dist/components/misc/State.vue.d.ts.map +0 -1
  88. package/src/components/misc/State.vue +0 -59
@@ -1,28 +1,30 @@
1
- "use strict";var lr=Object.create;var jn=Object.defineProperty;var rr=Object.getOwnPropertyDescriptor;var ar=Object.getOwnPropertyNames;var ir=Object.getPrototypeOf,sr=Object.prototype.hasOwnProperty;var cr=(e,n,o,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of ar(n))!sr.call(e,a)&&a!==o&&jn(e,a,{get:()=>n[a],enumerable:!(l=rr(n,a))||l.enumerable});return e};var ur=(e,n,o)=>(o=e!=null?lr(ir(e)):{},cr(n||!e||!e.__esModule?jn(o,"default",{value:e,enumerable:!0}):o,e));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ge=require("yaml"),S=require("./VueFlowUtils-CF-L3pYu.cjs"),z=require("./FlowYamlUtils-CB_0RSKT.cjs"),t=require("vue"),ne=require("@vue-flow/core"),Qt=require("@vue-flow/controls"),en=require("moment"),dr=require("@popperjs/core"),fr={lineWidth:0},Kn=["tasks","triggers","errors","finally","afterExecution","pluginDefaults"],mr={stringify:z.stringify,parse:z.parse,pairsToMap:z.pairsToMap,extractTask(e,n){for(const o of Kn){const l=z.extractBlock({source:e,section:o,key:n});if(l)return l}},_extractTask(e,n,o){function l(r){if(r){if(r instanceof Ge.YAMLMap&&r.get("type")!==void 0&&n===r.get("id"))return o?o(r):r;if(r.items)for(const[i,s]of r.items.entries()){let c;if(s instanceof Ge.YAMLMap?c=l(s):c=l(s.value),c&&(o&&(r instanceof Ge.YAMLMap?r.set(s.key.value,c):r.items[i]=c),!o&&c))return c}}}const a=l(e.contents);if(a!==void 0)return o?new Ge.Document(a):new Ge.Document(a)},replaceTaskInDocument(e,n,o,l="tasks",a="id"){return z.replaceBlockInDocument({source:e,section:l,keyName:a,key:n,newContent:o})},sort:z.sort,getAllCharts:z.getAllCharts,getChartAtPosition:z.getChartAtPosition,localizeElementAtIndex:z.localizeElementAtIndex,getTaskType:z.getTypeAtPosition,swapTasks(e,n,o){const l=Ge.parseDocument(e),a=this._extractTask(l,n),r=this._extractTask(l,o);return Ge.visit(l,{Pair(i,s){if(s.key.value==="dependsOn"&&s.value.items.map(c=>c.value).includes(o))throw{message:"dependency task",messageOptions:{taskId:o}}}}),this._extractTask(l,n,()=>r),this._extractTask(l,o,()=>a),l.toString(fr)},insertTask(e,n,o,l,a){return z.insertBlock({source:e,section:"tasks",newBlock:o,refKey:n,position:l,parentKey:a})},insertSection(e,n,o){return z.insertBlock({source:n,section:e,newBlock:o})},insertErrorInFlowable:z.insertErrorInFlowable,deleteSection(e,n,o){return z.deleteBlock({source:e,section:n,key:o})},deleteTask(e,n,o){return(o===S.SECTIONS.TASKS?["tasks","errors"]:["triggers"]).reduce((a,r)=>z.deleteBlock({source:a,section:r,key:n}),e)},getLastTask(e,n){return z.getLastBlock({source:e,section:"tasks",parentKey:n})},checkTaskAlreadyExist(e,n){return z.checkBlockAlreadyExists({source:e,section:"tasks",newContent:n,keyName:"id"})},isParentChildrenRelation(e,n,o){return z.isParentChildrenRelation({source:e,sections:Kn,key1:n,key2:o,keyName:"id"})},replaceIdAndNamespace:z.replaceIdAndNamespace,updateMetadata:z.updateMetadata,cleanMetadata:z.cleanMetadata,getMetadata:z.getMetadata,deleteMetadata:z.deleteMetadata,flowHaveTasks:z.flowHaveTasks,extractPluginDefault:z.extractPluginDefault,replacePluginDefaultsInDocument:z.replacePluginDefaultsInDocument,deletePluginDefaults:z.deletePluginDefaults,extractFieldFromMaps:z.extractFieldFromMaps,getVersionAtPosition:z.getVersionAtPosition},Ce=e=>{const n=document.querySelector(":root");return(n?getComputedStyle(n):null)?.getPropertyValue(e)};var pr=S.requireMapValues();const kt=z.getDefaultExportFromCjs(pr),P=(e,n)=>{const o=e.__vccOpts||e;for(const[l,a]of n)o[l]=a;return o},gr={name:"PauseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},hr=["aria-hidden","aria-label"],Er=["fill","width","height"],_r={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"},yr={key:0};function kr(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon pause-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",_r,[o.title?(t.openBlock(),t.createElementBlock("title",yr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Er))],16,hr)}const Yn=P(gr,[["render",kr]]),Cr={name:"CheckCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},vr=["aria-hidden","aria-label"],Nr=["fill","width","height"],Sr={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"},br={key:0};function wr(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon check-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Sr,[o.title?(t.openBlock(),t.createElementBlock("title",br,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Nr))],16,vr)}const Lr=P(Cr,[["render",wr]]),Tr={name:"PlayCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ar=["aria-hidden","aria-label"],Ir=["fill","width","height"],Vr={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"},Or={key:0};function Br(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon play-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Vr,[o.title?(t.openBlock(),t.createElementBlock("title",Or,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Ir))],16,Ar)}const Dr=P(Tr,[["render",Br]]),Pr={name:"CloseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},$r=["aria-hidden","aria-label"],Rr=["fill","width","height"],Mr={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"},xr={key:0};function Fr(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon close-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Mr,[o.title?(t.openBlock(),t.createElementBlock("title",xr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Rr))],16,$r)}const an=P(Pr,[["render",Fr]]),Ur={name:"StopCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Hr=["aria-hidden","aria-label"],zr=["fill","width","height"],Gr={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"},Wr={key:0};function jr(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon stop-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Gr,[o.title?(t.openBlock(),t.createElementBlock("title",Wr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,zr))],16,Hr)}const Kr=P(Ur,[["render",jr]]),Yr={name:"SkipPreviousCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},qr=["aria-hidden","aria-label"],Xr=["fill","width","height"],Zr={d:"M12,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"},Jr={key:0};function Qr(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon skip-previous-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Zr,[o.title?(t.openBlock(),t.createElementBlock("title",Jr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Xr))],16,qr)}const ea=P(Yr,[["render",Qr]]),ta={name:"AlertCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},na=["aria-hidden","aria-label"],oa=["fill","width","height"],la={d:"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"},ra={key:0};function aa(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon alert-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",la,[o.title?(t.openBlock(),t.createElementBlock("title",ra,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,oa))],16,na)}const At=P(ta,[["render",aa]]),ia={name:"DotsVerticalCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},sa=["aria-hidden","aria-label"],ca=["fill","width","height"],ua={d:"M2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12M10.5,12A1.5,1.5 0 0,0 12,13.5A1.5,1.5 0 0,0 13.5,12A1.5,1.5 0 0,0 12,10.5A1.5,1.5 0 0,0 10.5,12M10.5,17.5A1.5,1.5 0 0,0 12,19A1.5,1.5 0 0,0 13.5,17.5A1.5,1.5 0 0,0 12,16A1.5,1.5 0 0,0 10.5,17.5M10.5,6.5A1.5,1.5 0 0,0 12,8A1.5,1.5 0 0,0 13.5,6.5A1.5,1.5 0 0,0 12,5A1.5,1.5 0 0,0 10.5,6.5Z"},da={key:0};function fa(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon dots-vertical-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",ua,[o.title?(t.openBlock(),t.createElementBlock("title",da,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ca))],16,sa)}const ma=P(ia,[["render",fa]]),pa={name:"MotionPauseOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ga=["aria-hidden","aria-label"],ha=["fill","width","height"],Ea={d:"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"},_a={key:0};function ya(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon motion-pause-outline-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Ea,[o.title?(t.openBlock(),t.createElementBlock("title",_a,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ha))],16,ga)}const ka=P(pa,[["render",ya]]),Ca={name:"RefreshIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},va=["aria-hidden","aria-label"],Na=["fill","width","height"],Sa={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"},ba={key:0};function wa(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon refresh-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Sa,[o.title?(t.openBlock(),t.createElementBlock("title",ba,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Na))],16,va)}const qn=P(Ca,[["render",wa]]),La={name:"CancelIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ta=["aria-hidden","aria-label"],Aa=["fill","width","height"],Ia={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"},Va={key:0};function Oa(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon cancel-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Ia,[o.title?(t.openBlock(),t.createElementBlock("title",Va,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Aa))],16,Ta)}const Xn=P(La,[["render",Oa]]),H=Object.freeze({CREATED:{name:"CREATED",color:"#1761FD",colorClass:"cyan",icon:ma,isRunning:!0,isKillable:!0,isFailed:!1},RESTARTED:{name:"RESTARTED",color:"#1761FD",colorClass:"cyan",icon:ea,isRunning:!1,isKillable:!0,isFailed:!1},SUCCESS:{name:"SUCCESS",color:"#029E73",colorClass:"green",icon:Lr,isRunning:!1,isKillable:!1,isFailed:!1},RUNNING:{name:"RUNNING",color:"#8405FF",colorClass:"purple",icon:Dr,isRunning:!0,isKillable:!0,isFailed:!1},KILLING:{name:"KILLING",color:"#FCE07C",colorClass:"yellow",icon:an,isRunning:!0,isKillable:!0,isFailed:!0},KILLED:{name:"KILLED",color:"#FCE07C",colorClass:"yellow",icon:Kr,isRunning:!1,isKillable:!1,isFailed:!0},WARNING:{name:"WARNING",color:"#DD5F00",colorClass:"orange",icon:At,isRunning:!1,isKillable:!1,isFailed:!0},FAILED:{name:"FAILED",color:"#AB0009",colorClass:"red",icon:an,isRunning:!1,isKillable:!1,isFailed:!0},PAUSED:{name:"PAUSED",color:"#918BA9",colorClass:"indigo",icon:Yn,isRunning:!0,isKillable:!0,isFailed:!1},CANCELLED:{name:"CANCELLED",color:"#918BA9",colorClass:"gray",icon:Xn,isRunning:!1,isKillable:!1,isFailed:!0},SKIPPED:{name:"SKIPPED",color:"#918BA9",colorClass:"gray",icon:Xn,isRunning:!1,isKillable:!1,isFailed:!0},QUEUED:{name:"QUEUED",color:"#918BA9",colorClass:"gray",icon:ka,isRunning:!1,isKillable:!1,isFailed:!1},RETRYING:{name:"RETRYING",color:"#918BA9",colorClass:"gray",icon:qn,isRunning:!1,isKillable:!0,isFailed:!1},RETRIED:{name:"RETRIED",color:"#918BA9",colorClass:"gray",icon:qn,isRunning:!1,isKillable:!1,isFailed:!1},BREAKPOINT:{name:"BREAKPOINT",color:"#918BA9",colorClass:"gray",icon:Yn,isRunning:!1,isKillable:!1,isFailed:!1}});class te{static get CREATED(){return H.CREATED.name}static get RESTARTED(){return H.RESTARTED.name}static get SUCCESS(){return H.SUCCESS.name}static get RUNNING(){return H.RUNNING.name}static get KILLING(){return H.KILLING.name}static get KILLED(){return H.KILLED.name}static get FAILED(){return H.FAILED.name}static get WARNING(){return H.WARNING.name}static get PAUSED(){return H.PAUSED.name}static get CANCELLED(){return H.CANCELLED.name}static get SKIPPED(){return H.SKIPPED.name}static get QUEUED(){return H.QUEUED.name}static get RETRYING(){return H.RETRYING.name}static get RETRIED(){return H.RETRIED.name}static get BREAKPOINT(){return H.BREAKPOINT.name}static isRunning(n){return H[n]&&H[n].isRunning}static isKillable(n){return H[n]&&H[n].isKillable}static isPaused(n){return H[n]&&H[n]===H.PAUSED}static isFailed(n){return H[n]&&H[n].isFailed}static isQueued(n){return H[n]&&H[n]===H.QUEUED}static allStates(){return kt(H,n=>({key:n.name,icon:n.icon,color:""}))}static arrayAllStates(){return Object.values(H)}static colorClass(){return kt(H,n=>n.colorClass)}static color(){return kt(H,n=>Ce("--bs-"+n.colorClass))}static getStateColor(n){return H[n].color}static icon(){return kt(H,n=>n.icon)}static getTerminatedStates(){return Object.values(H).filter(n=>!n.isRunning).map(n=>n.name)}}let Ct;async function Ba(){if(Ct)return Ct;const e=await Promise.resolve().then(()=>require("./useMarkdownParser-cPr4eWCu.cjs"));return Ct=await(e.default??e)(),Ct}var Lt={exports:{}},Da=Lt.exports,Zn;function Pa(){return Zn||(Zn=1,(function(e,n){(function(o,l,a){e.exports=a(),e.exports.default=a()})("slugify",Da,function(){var o=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),l=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function a(r,i){if(typeof r!="string")throw new Error("slugify: string argument expected");i=typeof i=="string"?{replacement:i}:i||{};var s=l[i.locale]||{},c=i.replacement===void 0?"-":i.replacement,u=i.trim===void 0?!0:i.trim,f=r.normalize().split("").reduce(function(h,g){var y=s[g];return y===void 0&&(y=o[g]),y===void 0&&(y=g),y===c&&(y=" "),h+y.replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return i.strict&&(f=f.replace(/[^A-Za-z0-9\s]/g,"")),u&&(f=f.trim()),f=f.replace(/\s+/g,c),i.lower&&(f=f.toLowerCase()),f}return a.extend=function(r){Object.assign(o,r)},a})})(Lt)),Lt.exports}var $a=Pa();const Uo=z.getDefaultExportFromCjs($a);Uo.extend({"(":"-",")":""});function We(e){return Uo(e,{lower:!0,locale:"en"})}function Ho(e,n){return Array.isArray(n)&&!["categories","controllers","storages","aliases","guides"].includes(e)&&(n.length===0||n[0]?.cls!==void 0)}function et(e){const n=e.title.replace(/\.([a-zA-Z])/g,(o,l)=>` ${l.toUpperCase()}`);return n.charAt(0).toUpperCase()+n.slice(1)}const Ra={name:"DotsCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ma=["aria-hidden","aria-label"],xa=["fill","width","height"],Fa={d:"M12 19C13.1 19 14 19.9 14 21S13.1 23 12 23 10 22.1 10 21 10.9 19 12 19M12 1C13.1 1 14 1.9 14 3S13.1 5 12 5 10 4.1 10 3 10.9 1 12 1M6 16C7.1 16 8 16.9 8 18S7.1 20 6 20 4 19.1 4 18 4.9 16 6 16M3 10C4.1 10 5 10.9 5 12S4.1 14 3 14 1 13.1 1 12 1.9 10 3 10M6 4C7.1 4 8 4.9 8 6S7.1 8 6 8 4 7.1 4 6 4.9 4 6 4M18 16C19.1 16 20 16.9 20 18S19.1 20 18 20 16 19.1 16 18 16.9 16 18 16M21 10C22.1 10 23 10.9 23 12S22.1 14 21 14 19 13.1 19 12 19.9 10 21 10M18 4C19.1 4 20 4.9 20 6S19.1 8 18 8 16 7.1 16 6 16.9 4 18 4Z"},Ua={key:0};function Ha(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon dots-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Fa,[o.title?(t.openBlock(),t.createElementBlock("title",Ua,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,xa))],16,Ma)}const za=P(Ra,[["render",Ha]]),Ga=t.defineComponent({__name:"RotatingDots",props:{alt:{}},setup(e){return(n,o)=>(t.openBlock(),t.createBlock(za,{class:"loading-dots-circle",alt:n.alt},null,8,["alt"]))}}),zo=P(Ga,[["__scopeId","data-v-a7ad4137"]]);/*!
1
+ "use strict";var wr=Object.create;var oo=Object.defineProperty;var Lr=Object.getOwnPropertyDescriptor;var Tr=Object.getOwnPropertyNames;var Br=Object.getPrototypeOf,Vr=Object.prototype.hasOwnProperty;var Ir=(t,n,o,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of Tr(n))!Vr.call(t,a)&&a!==o&&oo(t,a,{get:()=>n[a],enumerable:!(l=Lr(n,a))||l.enumerable});return t};var Ar=(t,n,o)=>(o=t!=null?wr(Br(t)):{},Ir(n||!t||!t.__esModule?oo(o,"default",{value:t,enumerable:!0}):o,t));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ge=require("yaml"),w=require("./VueFlowUtils-DjetWQIy.cjs"),z=require("./FlowYamlUtils-CB_0RSKT.cjs"),e=require("vue"),ne=require("@vue-flow/core"),an=require("@vue-flow/controls"),sn=require("moment"),Dr=require("@popperjs/core"),$r={lineWidth:0},lo=["tasks","triggers","errors","finally","afterExecution","pluginDefaults"],Or={stringify:z.stringify,parse:z.parse,pairsToMap:z.pairsToMap,extractTask(t,n){for(const o of lo){const l=z.extractBlock({source:t,section:o,key:n});if(l)return l}},_extractTask(t,n,o){function l(r){if(r){if(r instanceof Ge.YAMLMap&&r.get("type")!==void 0&&n===r.get("id"))return o?o(r):r;if(r.items)for(const[i,s]of r.items.entries()){let c;if(s instanceof Ge.YAMLMap?c=l(s):c=l(s.value),c&&(o&&(r instanceof Ge.YAMLMap?r.set(s.key.value,c):r.items[i]=c),!o&&c))return c}}}const a=l(t.contents);if(a!==void 0)return o?new Ge.Document(a):new Ge.Document(a)},replaceTaskInDocument(t,n,o,l="tasks",a="id"){return z.replaceBlockInDocument({source:t,section:l,keyName:a,key:n,newContent:o})},sort:z.sort,getAllCharts:z.getAllCharts,getChartAtPosition:z.getChartAtPosition,localizeElementAtIndex:z.localizeElementAtIndex,getTaskType:z.getTypeAtPosition,swapTasks(t,n,o){const l=Ge.parseDocument(t),a=this._extractTask(l,n),r=this._extractTask(l,o);return Ge.visit(l,{Pair(i,s){if(s.key.value==="dependsOn"&&s.value.items.map(c=>c.value).includes(o))throw{message:"dependency task",messageOptions:{taskId:o}}}}),this._extractTask(l,n,()=>r),this._extractTask(l,o,()=>a),l.toString($r)},insertTask(t,n,o,l,a){return z.insertBlock({source:t,section:"tasks",newBlock:o,refKey:n,position:l,parentKey:a})},insertSection(t,n,o){return z.insertBlock({source:n,section:t,newBlock:o})},insertErrorInFlowable:z.insertErrorInFlowable,deleteSection(t,n,o){return z.deleteBlock({source:t,section:n,key:o})},deleteTask(t,n,o){return(o===w.SECTIONS.TASKS?["tasks","errors"]:["triggers"]).reduce((a,r)=>z.deleteBlock({source:a,section:r,key:n}),t)},getLastTask(t,n){return z.getLastBlock({source:t,section:"tasks",parentKey:n})},checkTaskAlreadyExist(t,n){return z.checkBlockAlreadyExists({source:t,section:"tasks",newContent:n,keyName:"id"})},isParentChildrenRelation(t,n,o){return z.isParentChildrenRelation({source:t,sections:lo,key1:n,key2:o,keyName:"id"})},replaceIdAndNamespace:z.replaceIdAndNamespace,updateMetadata:z.updateMetadata,cleanMetadata:z.cleanMetadata,getMetadata:z.getMetadata,deleteMetadata:z.deleteMetadata,flowHaveTasks:z.flowHaveTasks,extractPluginDefault:z.extractPluginDefault,replacePluginDefaultsInDocument:z.replacePluginDefaultsInDocument,deletePluginDefaults:z.deletePluginDefaults,extractFieldFromMaps:z.extractFieldFromMaps,getVersionAtPosition:z.getVersionAtPosition},Ce=t=>{const n=document.querySelector(":root");return(n?getComputedStyle(n):null)?.getPropertyValue(t)};var Pr=w.requireMapValues();const Nt=z.getDefaultExportFromCjs(Pr),D=(t,n)=>{const o=t.__vccOpts||t;for(const[l,a]of n)o[l]=a;return o},Rr={name:"PauseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Mr=["aria-hidden","aria-label"],xr=["fill","width","height"],Fr={d:"M15,16H13V8H15M11,16H9V8H11M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},Ur={key:0};function Hr(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon pause-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Fr,[o.title?(e.openBlock(),e.createElementBlock("title",Ur,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,xr))],16,Mr)}const ro=D(Rr,[["render",Hr]]),zr={name:"CheckCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Wr=["aria-hidden","aria-label"],jr=["fill","width","height"],Gr={d:"M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z"},Kr={key:0};function Yr(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon check-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Gr,[o.title?(e.openBlock(),e.createElementBlock("title",Kr,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,jr))],16,Wr)}const qr=D(zr,[["render",Yr]]),Xr={name:"PlayCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Zr=["aria-hidden","aria-label"],Jr=["fill","width","height"],Qr={d:"M10,16.5V7.5L16,12M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},ea={key:0};function ta(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon play-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Qr,[o.title?(e.openBlock(),e.createElementBlock("title",ea,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Jr))],16,Zr)}const na=D(Xr,[["render",ta]]),oa={name:"CloseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},la=["aria-hidden","aria-label"],ra=["fill","width","height"],aa={d:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z"},ia={key:0};function sa(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon close-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",aa,[o.title?(e.openBlock(),e.createElementBlock("title",ia,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ra))],16,la)}const gn=D(oa,[["render",sa]]),ca={name:"StopCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ua=["aria-hidden","aria-label"],da=["fill","width","height"],ma={d:"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M9,9H15V15H9"},fa={key:0};function pa(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon stop-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",ma,[o.title?(e.openBlock(),e.createElementBlock("title",fa,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,da))],16,ua)}const ga=D(ca,[["render",pa]]),ha={name:"SkipPreviousCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ea=["aria-hidden","aria-label"],ya=["fill","width","height"],ka={d:"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M8,8H10V16H8M16,8V16L11,12"},_a={key:0};function va(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon skip-previous-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",ka,[o.title?(e.openBlock(),e.createElementBlock("title",_a,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ya))],16,Ea)}const Ca=D(ha,[["render",va]]),Na={name:"AlertCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Sa=["aria-hidden","aria-label"],ba=["fill","width","height"],wa={d:"M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},La={key:0};function Ta(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon alert-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",wa,[o.title?(e.openBlock(),e.createElementBlock("title",La,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ba))],16,Sa)}const At=D(Na,[["render",Ta]]),Ba={name:"DotsVerticalCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Va=["aria-hidden","aria-label"],Ia=["fill","width","height"],Aa={d:"M2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12M10.5,12A1.5,1.5 0 0,0 12,13.5A1.5,1.5 0 0,0 13.5,12A1.5,1.5 0 0,0 12,10.5A1.5,1.5 0 0,0 10.5,12M10.5,17.5A1.5,1.5 0 0,0 12,19A1.5,1.5 0 0,0 13.5,17.5A1.5,1.5 0 0,0 12,16A1.5,1.5 0 0,0 10.5,17.5M10.5,6.5A1.5,1.5 0 0,0 12,8A1.5,1.5 0 0,0 13.5,6.5A1.5,1.5 0 0,0 12,5A1.5,1.5 0 0,0 10.5,6.5Z"},Da={key:0};function $a(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon dots-vertical-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Aa,[o.title?(e.openBlock(),e.createElementBlock("title",Da,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Ia))],16,Va)}const Oa=D(Ba,[["render",$a]]),Pa={name:"MotionPauseOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ra=["aria-hidden","aria-label"],Ma=["fill","width","height"],xa={d:"M22 12C22 6.46 17.54 2 12 2C10.83 2 9.7 2.19 8.62 2.56L9.32 4.5C10.17 4.16 11.06 3.97 12 3.97C16.41 3.97 20.03 7.59 20.03 12C20.03 16.41 16.41 20.03 12 20.03C7.59 20.03 3.97 16.41 3.97 12C3.97 11.06 4.16 10.12 4.5 9.28L2.56 8.62C2.19 9.7 2 10.83 2 12C2 17.54 6.46 22 12 22C17.54 22 22 17.54 22 12M5.47 7C4.68 7 3.97 6.32 3.97 5.47C3.97 4.68 4.68 3.97 5.47 3.97C6.32 3.97 7 4.68 7 5.47C7 6.32 6.32 7 5.47 7M9 9H11V15H9M13 9H15V15H13"},Fa={key:0};function Ua(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon motion-pause-outline-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",xa,[o.title?(e.openBlock(),e.createElementBlock("title",Fa,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Ma))],16,Ra)}const Ha=D(Pa,[["render",Ua]]),za={name:"RefreshIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Wa=["aria-hidden","aria-label"],ja=["fill","width","height"],Ga={d:"M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z"},Ka={key:0};function Ya(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon refresh-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Ga,[o.title?(e.openBlock(),e.createElementBlock("title",Ka,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ja))],16,Wa)}const ao=D(za,[["render",Ya]]),qa={name:"CancelIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Xa=["aria-hidden","aria-label"],Za=["fill","width","height"],Ja={d:"M12 2C17.5 2 22 6.5 22 12S17.5 22 12 22 2 17.5 2 12 6.5 2 12 2M12 4C10.1 4 8.4 4.6 7.1 5.7L18.3 16.9C19.3 15.5 20 13.8 20 12C20 7.6 16.4 4 12 4M16.9 18.3L5.7 7.1C4.6 8.4 4 10.1 4 12C4 16.4 7.6 20 12 20C13.9 20 15.6 19.4 16.9 18.3Z"},Qa={key:0};function ei(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon cancel-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Ja,[o.title?(e.openBlock(),e.createElementBlock("title",Qa,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Za))],16,Xa)}const io=D(qa,[["render",ei]]),ti=["ERROR","WARN","INFO","DEBUG","TRACE"],H=Object.freeze({CREATED:{name:"CREATED",color:"#1761FD",colorClass:"cyan",icon:Oa,isRunning:!0,isKillable:!0,isFailed:!1},RESTARTED:{name:"RESTARTED",color:"#1761FD",colorClass:"cyan",icon:Ca,isRunning:!1,isKillable:!0,isFailed:!1},SUCCESS:{name:"SUCCESS",color:"#029E73",colorClass:"green",icon:qr,isRunning:!1,isKillable:!1,isFailed:!1},RUNNING:{name:"RUNNING",color:"#8405FF",colorClass:"purple",icon:na,isRunning:!0,isKillable:!0,isFailed:!1},KILLING:{name:"KILLING",color:"#FCE07C",colorClass:"yellow",icon:gn,isRunning:!0,isKillable:!0,isFailed:!0},KILLED:{name:"KILLED",color:"#FCE07C",colorClass:"yellow",icon:ga,isRunning:!1,isKillable:!1,isFailed:!0},WARNING:{name:"WARNING",color:"#DD5F00",colorClass:"orange",icon:At,isRunning:!1,isKillable:!1,isFailed:!0},FAILED:{name:"FAILED",color:"#AB0009",colorClass:"red",icon:gn,isRunning:!1,isKillable:!1,isFailed:!0},PAUSED:{name:"PAUSED",color:"#918BA9",colorClass:"indigo",icon:ro,isRunning:!0,isKillable:!0,isFailed:!1},CANCELLED:{name:"CANCELLED",color:"#918BA9",colorClass:"gray",icon:io,isRunning:!1,isKillable:!1,isFailed:!0},SKIPPED:{name:"SKIPPED",color:"#918BA9",colorClass:"gray",icon:io,isRunning:!1,isKillable:!1,isFailed:!0},QUEUED:{name:"QUEUED",color:"#918BA9",colorClass:"gray",icon:Ha,isRunning:!1,isKillable:!1,isFailed:!1},RETRYING:{name:"RETRYING",color:"#918BA9",colorClass:"gray",icon:ao,isRunning:!1,isKillable:!0,isFailed:!1},RETRIED:{name:"RETRIED",color:"#918BA9",colorClass:"gray",icon:ao,isRunning:!1,isKillable:!1,isFailed:!1},BREAKPOINT:{name:"BREAKPOINT",color:"#918BA9",colorClass:"gray",icon:ro,isRunning:!1,isKillable:!1,isFailed:!1}});class te{static get CREATED(){return H.CREATED.name}static get RESTARTED(){return H.RESTARTED.name}static get SUCCESS(){return H.SUCCESS.name}static get RUNNING(){return H.RUNNING.name}static get KILLING(){return H.KILLING.name}static get KILLED(){return H.KILLED.name}static get FAILED(){return H.FAILED.name}static get WARNING(){return H.WARNING.name}static get PAUSED(){return H.PAUSED.name}static get CANCELLED(){return H.CANCELLED.name}static get SKIPPED(){return H.SKIPPED.name}static get QUEUED(){return H.QUEUED.name}static get RETRYING(){return H.RETRYING.name}static get RETRIED(){return H.RETRIED.name}static get BREAKPOINT(){return H.BREAKPOINT.name}static isRunning(n){return H[n]&&H[n].isRunning}static isKillable(n){return H[n]&&H[n].isKillable}static isPaused(n){return H[n]&&H[n]===H.PAUSED}static isFailed(n){return H[n]&&H[n].isFailed}static isQueued(n){return H[n]&&H[n]===H.QUEUED}static allStates(){return Nt(H,n=>({key:n.name,icon:n.icon,color:""}))}static arrayAllStates(){return Object.values(H)}static colorClass(){return Nt(H,n=>n.colorClass)}static color(){return Nt(H,n=>Ce("--bs-"+n.colorClass))}static getStateColor(n){return H[n].color}static icon(){return Nt(H,n=>n.icon)}static getTerminatedStates(){return Object.values(H).filter(n=>!n.isRunning).map(n=>n.name)}}let St;async function ni(){if(St)return St;const t=await Promise.resolve().then(()=>require("./useMarkdownParser-cPr4eWCu.cjs"));return St=await(t.default??t)(),St}var Vt={exports:{}},oi=Vt.exports,so;function li(){return so||(so=1,(function(t,n){(function(o,l,a){t.exports=a(),t.exports.default=a()})("slugify",oi,function(){var o=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),l=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function a(r,i){if(typeof r!="string")throw new Error("slugify: string argument expected");i=typeof i=="string"?{replacement:i}:i||{};var s=l[i.locale]||{},c=i.replacement===void 0?"-":i.replacement,u=i.trim===void 0?!0:i.trim,d=r.normalize().split("").reduce(function(p,h){var _=s[h];return _===void 0&&(_=o[h]),_===void 0&&(_=h),_===c&&(_=" "),p+_.replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return i.strict&&(d=d.replace(/[^A-Za-z0-9\s]/g,"")),u&&(d=d.trim()),d=d.replace(/\s+/g,c),i.lower&&(d=d.toLowerCase()),d}return a.extend=function(r){Object.assign(o,r)},a})})(Vt)),Vt.exports}var ri=li();const Jo=z.getDefaultExportFromCjs(ri);Jo.extend({"(":"-",")":""});function he(t){return Jo(t,{lower:!0,locale:"en"})}function Dn(t,n){return Array.isArray(n)&&!["categories","controllers","storages","aliases","guides"].includes(t)&&(n.length===0||n[0]?.cls!==void 0)}function De(t){const o=(t.title??"").replace(/\.([a-zA-Z])/g,(l,a)=>` ${a.toUpperCase()}`);return o.charAt(0).toUpperCase()+o.slice(1)}function Ht(t){return Object.fromEntries(Object.entries(t).filter(([n,o])=>Dn(n,o)).map(([n,o])=>[n.replace(/[A-Z]/g,l=>` ${l}`),o.filter(({deprecated:l})=>!l).map(({cls:l})=>l)]))}function ai(t){return t.flatMap(n=>{const o=Object.entries(n).filter(([l,a])=>Dn(l,a)).map(([l,a])=>[l,a.filter(r=>!r.deprecated)]).filter(([,l])=>l.length>0);return o.length>0?[{...n,...Object.fromEntries(o)}]:[]})}function ii(t){const n={clsToSubgroup:{},clsToPlugin:{},shortNameToCls:{}};for(const o of t??[]){const l=Ht(o),a=o.group??o.name??"",r=he(a),i=o.subGroup?he(De(o)):void 0;Object.values(l).forEach(s=>{s.forEach(c=>{i&&(n.clsToSubgroup[c]=i),n.clsToPlugin[c]={slug:r,raw:a};const u=(c.split(".").pop()??c).toLowerCase();n.shortNameToCls[u]=n.shortNameToCls[u]??[],n.shortNameToCls[u].includes(c)||n.shortNameToCls[u].push(c)})})}return n}function Qo(t){const n=e.computed(()=>Ht(e.unref(t))),o=e.computed(()=>Object.values(n.value).reduce((l,a)=>l+a.length,0));return{elementsByType:n,total:o}}const si={name:"DotsCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ci=["aria-hidden","aria-label"],ui=["fill","width","height"],di={d:"M12 19C13.1 19 14 19.9 14 21S13.1 23 12 23 10 22.1 10 21 10.9 19 12 19M12 1C13.1 1 14 1.9 14 3S13.1 5 12 5 10 4.1 10 3 10.9 1 12 1M6 16C7.1 16 8 16.9 8 18S7.1 20 6 20 4 19.1 4 18 4.9 16 6 16M3 10C4.1 10 5 10.9 5 12S4.1 14 3 14 1 13.1 1 12 1.9 10 3 10M6 4C7.1 4 8 4.9 8 6S7.1 8 6 8 4 7.1 4 6 4.9 4 6 4M18 16C19.1 16 20 16.9 20 18S19.1 20 18 20 16 19.1 16 18 16.9 16 18 16M21 10C22.1 10 23 10.9 23 12S22.1 14 21 14 19 13.1 19 12 19.9 10 21 10M18 4C19.1 4 20 4.9 20 6S19.1 8 18 8 16 7.1 16 6 16.9 4 18 4Z"},mi={key:0};function fi(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon dots-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",di,[o.title?(e.openBlock(),e.createElementBlock("title",mi,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ui))],16,ci)}const pi=D(si,[["render",fi]]),gi=e.defineComponent({__name:"RotatingDots",props:{alt:{}},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(pi,{class:"loading-dots-circle",alt:n.alt},null,8,["alt"]))}}),el=D(gi,[["__scopeId","data-v-a7ad4137"]]);/*!
2
2
  * shared v11.1.12
3
3
  * (c) 2025 kazuya kawaguchi
4
4
  * Released under the MIT License.
5
- */function Ae(e,n){typeof console<"u"&&(console.warn("[intlify] "+e),n&&console.warn(n.stack))}const Jn={};function Wa(e){Jn[e]||(Jn[e]=!0,Ae(e))}const De=typeof window<"u";let ve,Ke;if(process.env.NODE_ENV!=="production"){const e=De&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(ve=n=>{e.mark(n)},Ke=(n,o,l)=>{e.measure(n,o,l),e.clearMarks(o),e.clearMarks(l)})}const ja=/\{([0-9a-zA-Z]+)\}/g;function Mt(e,...n){return n.length===1&&K(n[0])&&(n=n[0]),(!n||!n.hasOwnProperty)&&(n={}),e.replace(ja,(o,l)=>n.hasOwnProperty(l)?n[l]:"")}const Pe=(e,n=!1)=>n?Symbol.for(e):Symbol(e),Ka=(e,n,o)=>Ya({l:e,k:n,s:o}),Ya=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ce=e=>typeof e=="number"&&isFinite(e),qa=e=>bn(e)==="[object Date]",It=e=>bn(e)==="[object RegExp]",xt=e=>j(e)&&Object.keys(e).length===0,ue=Object.assign,Xa=Object.create,X=(e=null)=>Xa(e);let Qn;const je=()=>Qn||(Qn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:X());function eo(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function to(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Za(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(l,a,r)=>`${a}="${to(r)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(l,a,r)=>`${a}='${to(r)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(process.env.NODE_ENV!=="production"&&Ae("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."),e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(l=>{e=e.replace(l,"$1javascript&#58;")}),e}const Ja=Object.prototype.hasOwnProperty;function Se(e,n){return Ja.call(e,n)}const ie=Array.isArray,ee=e=>typeof e=="function",B=e=>typeof e=="string",ae=e=>typeof e=="boolean",K=e=>e!==null&&typeof e=="object",Qa=e=>K(e)&&ee(e.then)&&ee(e.catch),Go=Object.prototype.toString,bn=e=>Go.call(e),j=e=>bn(e)==="[object Object]",ei=e=>e==null?"":ie(e)||j(e)&&e.toString===Go?JSON.stringify(e,null,2):String(e);function wn(e,n=""){return e.reduce((o,l,a)=>a===0?o+l:o+n+l,"")}const no=2;function ti(e,n=0,o=e.length){const l=e.split(/\r?\n/);let a=0;const r=[];for(let i=0;i<l.length;i++)if(a+=l[i].length+1,a>=n){for(let s=i-no;s<=i+no||o>a;s++){if(s<0||s>=l.length)continue;const c=s+1;r.push(`${c}${" ".repeat(3-String(c).length)}| ${l[s]}`);const u=l[s].length;if(s===i){const f=n-(a-u)+1,h=Math.max(1,o>a?u-f:o-n);r.push(" | "+" ".repeat(f)+"^".repeat(h))}else if(s>i){if(o>a){const f=Math.max(Math.min(o-a,u),1);r.push(" | "+"^".repeat(f))}a+=u+1}}break}return r.join(`
6
- `)}function ni(){const e=new Map;return{events:e,on(o,l){const a=e.get(o);a&&a.push(l)||e.set(o,[l])},off(o,l){const a=e.get(o);a&&a.splice(a.indexOf(l)>>>0,1)},emit(o,l){(e.get(o)||[]).slice().map(a=>a(l)),(e.get("*")||[]).slice().map(a=>a(o,l))}}}const vt=e=>!K(e)||ie(e);function Tt(e,n){if(vt(e)||vt(n))throw new Error("Invalid value");const o=[{src:e,des:n}];for(;o.length;){const{src:l,des:a}=o.pop();Object.keys(l).forEach(r=>{r!=="__proto__"&&(K(l[r])&&!K(a[r])&&(a[r]=Array.isArray(l[r])?[]:X()),vt(a[r])||vt(l[r])?a[r]=l[r]:o.push({src:l[r],des:a[r]}))})}}/*!
5
+ */function Ve(t,n){typeof console<"u"&&(console.warn("[intlify] "+t),n&&console.warn(n.stack))}const co={};function hi(t){co[t]||(co[t]=!0,Ve(t))}const Pe=typeof window<"u";let Ne,qe;if(process.env.NODE_ENV!=="production"){const t=Pe&&window.performance;t&&t.mark&&t.measure&&t.clearMarks&&t.clearMeasures&&(Ne=n=>{t.mark(n)},qe=(n,o,l)=>{t.measure(n,o,l),t.clearMarks(o),t.clearMarks(l)})}const Ei=/\{([0-9a-zA-Z]+)\}/g;function zt(t,...n){return n.length===1&&Y(n[0])&&(n=n[0]),(!n||!n.hasOwnProperty)&&(n={}),t.replace(Ei,(o,l)=>n.hasOwnProperty(l)?n[l]:"")}const Re=(t,n=!1)=>n?Symbol.for(t):Symbol(t),yi=(t,n,o)=>ki({l:t,k:n,s:o}),ki=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ce=t=>typeof t=="number"&&isFinite(t),_i=t=>$n(t)==="[object Date]",Dt=t=>$n(t)==="[object RegExp]",Wt=t=>K(t)&&Object.keys(t).length===0,ue=Object.assign,vi=Object.create,X=(t=null)=>vi(t);let uo;const Ke=()=>uo||(uo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:X());function mo(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function fo(t){return t.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Ci(t){return t=t.replace(/(\w+)\s*=\s*"([^"]*)"/g,(l,a,r)=>`${a}="${fo(r)}"`),t=t.replace(/(\w+)\s*=\s*'([^']*)'/g,(l,a,r)=>`${a}='${fo(r)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(t)&&(process.env.NODE_ENV!=="production"&&Ve("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."),t=t.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(l=>{t=t.replace(l,"$1javascript&#58;")}),t}const Ni=Object.prototype.hasOwnProperty;function be(t,n){return Ni.call(t,n)}const ie=Array.isArray,ee=t=>typeof t=="function",$=t=>typeof t=="string",ae=t=>typeof t=="boolean",Y=t=>t!==null&&typeof t=="object",Si=t=>Y(t)&&ee(t.then)&&ee(t.catch),tl=Object.prototype.toString,$n=t=>tl.call(t),K=t=>$n(t)==="[object Object]",bi=t=>t==null?"":ie(t)||K(t)&&t.toString===tl?JSON.stringify(t,null,2):String(t);function On(t,n=""){return t.reduce((o,l,a)=>a===0?o+l:o+n+l,"")}const po=2;function wi(t,n=0,o=t.length){const l=t.split(/\r?\n/);let a=0;const r=[];for(let i=0;i<l.length;i++)if(a+=l[i].length+1,a>=n){for(let s=i-po;s<=i+po||o>a;s++){if(s<0||s>=l.length)continue;const c=s+1;r.push(`${c}${" ".repeat(3-String(c).length)}| ${l[s]}`);const u=l[s].length;if(s===i){const d=n-(a-u)+1,p=Math.max(1,o>a?u-d:o-n);r.push(" | "+" ".repeat(d)+"^".repeat(p))}else if(s>i){if(o>a){const d=Math.max(Math.min(o-a,u),1);r.push(" | "+"^".repeat(d))}a+=u+1}}break}return r.join(`
6
+ `)}function Li(){const t=new Map;return{events:t,on(o,l){const a=t.get(o);a&&a.push(l)||t.set(o,[l])},off(o,l){const a=t.get(o);a&&a.splice(a.indexOf(l)>>>0,1)},emit(o,l){(t.get(o)||[]).slice().map(a=>a(l)),(t.get("*")||[]).slice().map(a=>a(o,l))}}}const bt=t=>!Y(t)||ie(t);function It(t,n){if(bt(t)||bt(n))throw new Error("Invalid value");const o=[{src:t,des:n}];for(;o.length;){const{src:l,des:a}=o.pop();Object.keys(l).forEach(r=>{r!=="__proto__"&&(Y(l[r])&&!Y(a[r])&&(a[r]=Array.isArray(l[r])?[]:X()),bt(a[r])||bt(l[r])?a[r]=l[r]:o.push({src:l[r],des:a[r]}))})}}/*!
7
7
  * message-compiler v11.1.12
8
8
  * (c) 2025 kazuya kawaguchi
9
9
  * Released under the MIT License.
10
- */function oi(e,n,o){return{line:e,column:n,offset:o}}function sn(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},li=17,ri={[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 lt(e,n,o={}){const{domain:l,messages:a,args:r}=o,i=process.env.NODE_ENV!=="production"?Mt((a||ri)[e]||"",...r||[]):e,s=new SyntaxError(String(i));return s.code=e,n&&(s.location=n),s.domain=l,s}function ai(e){throw e}const ii=/<\/?[\w\s="/.':;#-\/]+>/,si=e=>ii.test(e),we=" ",ci="\r",me=`
11
- `,ui="\u2028",di="\u2029";function fi(e){const n=e;let o=0,l=1,a=1,r=0;const i=w=>n[w]===ci&&n[w+1]===me,s=w=>n[w]===me,c=w=>n[w]===di,u=w=>n[w]===ui,f=w=>i(w)||s(w)||c(w)||u(w),h=()=>o,g=()=>l,y=()=>a,k=()=>r,v=w=>i(w)||c(w)||u(w)?me:n[w],E=()=>v(o),m=()=>v(o+r);function _(){return r=0,f(o)&&(l++,a=0),i(o)&&o++,o++,a++,n[o]}function L(){return i(o+r)&&r++,r++,n[o+r]}function N(){o=0,l=1,a=1,r=0}function V(w=0){r=w}function O(){const w=o+r;for(;w!==o;)_();r=0}return{index:h,line:g,column:y,peekOffset:k,charAt:v,currentChar:E,currentPeek:m,next:_,peek:L,reset:N,resetPeek:V,skipToPeek:O}}const Ve=void 0,mi=".",oo="'",pi="tokenizer";function gi(e,n={}){const o=n.location!==!1,l=fi(e),a=()=>l.index(),r=()=>oi(l.line(),l.column(),l.index()),i=r(),s=a(),c={currentType:13,offset:s,startLoc:i,endLoc:i,lastType:13,lastOffset:s,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},u=()=>c,{onError:f}=n;function h(d,p,b,...D){const Q=u();if(p.column+=b,p.offset+=b,f){const le=o?sn(Q.startLoc,p):null,W=lt(d,le,{domain:pi,args:D});f(W)}}function g(d,p,b){d.endLoc=r(),d.currentType=p;const D={type:p};return o&&(D.loc=sn(d.startLoc,d.endLoc)),b!=null&&(D.value=b),D}const y=d=>g(d,13);function k(d,p){return d.currentChar()===p?(d.next(),p):(h(M.EXPECTED_TOKEN,r(),0,p),"")}function v(d){let p="";for(;d.currentPeek()===we||d.currentPeek()===me;)p+=d.currentPeek(),d.peek();return p}function E(d){const p=v(d);return d.skipToPeek(),p}function m(d){if(d===Ve)return!1;const p=d.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p===95}function _(d){if(d===Ve)return!1;const p=d.charCodeAt(0);return p>=48&&p<=57}function L(d,p){const{currentType:b}=p;if(b!==2)return!1;v(d);const D=m(d.currentPeek());return d.resetPeek(),D}function N(d,p){const{currentType:b}=p;if(b!==2)return!1;v(d);const D=d.currentPeek()==="-"?d.peek():d.currentPeek(),Q=_(D);return d.resetPeek(),Q}function V(d,p){const{currentType:b}=p;if(b!==2)return!1;v(d);const D=d.currentPeek()===oo;return d.resetPeek(),D}function O(d,p){const{currentType:b}=p;if(b!==7)return!1;v(d);const D=d.currentPeek()===".";return d.resetPeek(),D}function w(d,p){const{currentType:b}=p;if(b!==8)return!1;v(d);const D=m(d.currentPeek());return d.resetPeek(),D}function F(d,p){const{currentType:b}=p;if(!(b===7||b===11))return!1;v(d);const D=d.currentPeek()===":";return d.resetPeek(),D}function G(d,p){const{currentType:b}=p;if(b!==9)return!1;const D=()=>{const le=d.currentPeek();return le==="{"?m(d.peek()):le==="@"||le==="|"||le===":"||le==="."||le===we||!le?!1:le===me?(d.peek(),D()):ge(d,!1)},Q=D();return d.resetPeek(),Q}function oe(d){v(d);const p=d.currentPeek()==="|";return d.resetPeek(),p}function ge(d,p=!0){const b=(Q=!1,le="")=>{const W=d.currentPeek();return W==="{"||W==="@"||!W?Q:W==="|"?!(le===we||le===me):W===we?(d.peek(),b(!0,we)):W===me?(d.peek(),b(!0,me)):!0},D=b();return p&&d.resetPeek(),D}function Z(d,p){const b=d.currentChar();return b===Ve?Ve:p(b)?(d.next(),b):null}function $e(d){const p=d.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p>=48&&p<=57||p===95||p===36}function Xe(d){return Z(d,$e)}function $(d){const p=d.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p>=48&&p<=57||p===95||p===36||p===45}function I(d){return Z(d,$)}function U(d){const p=d.charCodeAt(0);return p>=48&&p<=57}function R(d){return Z(d,U)}function Ie(d){const p=d.charCodeAt(0);return p>=48&&p<=57||p>=65&&p<=70||p>=97&&p<=102}function fe(d){return Z(d,Ie)}function Fe(d){let p="",b="";for(;p=R(d);)b+=p;return b}function Gt(d){let p="";for(;;){const b=d.currentChar();if(b==="{"||b==="}"||b==="@"||b==="|"||!b)break;if(b===we||b===me)if(ge(d))p+=b,d.next();else{if(oe(d))break;p+=b,d.next()}else p+=b,d.next()}return p}function Wt(d){E(d);let p="",b="";for(;p=I(d);)b+=p;const D=d.currentChar();if(D&&D!=="}"&&D!==Ve&&D!==we&&D!==me&&D!==" "){const Q=_t(d);return h(M.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,b+Q),b+Q}return d.currentChar()===Ve&&h(M.UNTERMINATED_CLOSING_BRACE,r(),0),b}function jt(d){E(d);let p="";return d.currentChar()==="-"?(d.next(),p+=`-${Fe(d)}`):p+=Fe(d),d.currentChar()===Ve&&h(M.UNTERMINATED_CLOSING_BRACE,r(),0),p}function Kt(d){return d!==oo&&d!==me}function Gn(d){E(d),k(d,"'");let p="",b="";for(;p=Z(d,Kt);)p==="\\"?b+=Yt(d):b+=p;const D=d.currentChar();return D===me||D===Ve?(h(M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),D===me&&(d.next(),k(d,"'")),b):(k(d,"'"),b)}function Yt(d){const p=d.currentChar();switch(p){case"\\":case"'":return d.next(),`\\${p}`;case"u":return Et(d,p,4);case"U":return Et(d,p,6);default:return h(M.UNKNOWN_ESCAPE_SEQUENCE,r(),0,p),""}}function Et(d,p,b){k(d,p);let D="";for(let Q=0;Q<b;Q++){const le=fe(d);if(!le){h(M.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${p}${D}${d.currentChar()}`);break}D+=le}return`\\${p}${D}`}function qt(d){return d!=="{"&&d!=="}"&&d!==we&&d!==me}function _t(d){E(d);let p="",b="";for(;p=Z(d,qt);)b+=p;return b}function Xt(d){let p="",b="";for(;p=Xe(d);)b+=p;return b}function Zt(d){const p=b=>{const D=d.currentChar();return D==="{"||D==="@"||D==="|"||D==="("||D===")"||!D||D===we?b:(b+=D,d.next(),p(b))};return p("")}function at(d){E(d);const p=k(d,"|");return E(d),p}function it(d,p){let b=null;switch(d.currentChar()){case"{":return p.braceNest>=1&&h(M.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),d.next(),b=g(p,2,"{"),E(d),p.braceNest++,b;case"}":return p.braceNest>0&&p.currentType===2&&h(M.EMPTY_PLACEHOLDER,r(),0),d.next(),b=g(p,3,"}"),p.braceNest--,p.braceNest>0&&E(d),p.inLinked&&p.braceNest===0&&(p.inLinked=!1),b;case"@":return p.braceNest>0&&h(M.UNTERMINATED_CLOSING_BRACE,r(),0),b=Ue(d,p)||y(p),p.braceNest=0,b;default:{let Q=!0,le=!0,W=!0;if(oe(d))return p.braceNest>0&&h(M.UNTERMINATED_CLOSING_BRACE,r(),0),b=g(p,1,at(d)),p.braceNest=0,p.inLinked=!1,b;if(p.braceNest>0&&(p.currentType===4||p.currentType===5||p.currentType===6))return h(M.UNTERMINATED_CLOSING_BRACE,r(),0),p.braceNest=0,st(d,p);if(Q=L(d,p))return b=g(p,4,Wt(d)),E(d),b;if(le=N(d,p))return b=g(p,5,jt(d)),E(d),b;if(W=V(d,p))return b=g(p,6,Gn(d)),E(d),b;if(!Q&&!le&&!W)return b=g(p,12,_t(d)),h(M.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,b.value),E(d),b;break}}return b}function Ue(d,p){const{currentType:b}=p;let D=null;const Q=d.currentChar();switch((b===7||b===8||b===11||b===9)&&(Q===me||Q===we)&&h(M.INVALID_LINKED_FORMAT,r(),0),Q){case"@":return d.next(),D=g(p,7,"@"),p.inLinked=!0,D;case".":return E(d),d.next(),g(p,8,".");case":":return E(d),d.next(),g(p,9,":");default:return oe(d)?(D=g(p,1,at(d)),p.braceNest=0,p.inLinked=!1,D):O(d,p)||F(d,p)?(E(d),Ue(d,p)):w(d,p)?(E(d),g(p,11,Xt(d))):G(d,p)?(E(d),Q==="{"?it(d,p)||D:g(p,10,Zt(d))):(b===7&&h(M.INVALID_LINKED_FORMAT,r(),0),p.braceNest=0,p.inLinked=!1,st(d,p))}}function st(d,p){let b={type:13};if(p.braceNest>0)return it(d,p)||y(p);if(p.inLinked)return Ue(d,p)||y(p);switch(d.currentChar()){case"{":return it(d,p)||y(p);case"}":return h(M.UNBALANCED_CLOSING_BRACE,r(),0),d.next(),g(p,3,"}");case"@":return Ue(d,p)||y(p);default:{if(oe(d))return b=g(p,1,at(d)),p.braceNest=0,p.inLinked=!1,b;if(ge(d))return g(p,0,Gt(d));break}}return b}function Jt(){const{currentType:d,offset:p,startLoc:b,endLoc:D}=c;return c.lastType=d,c.lastOffset=p,c.lastStartLoc=b,c.lastEndLoc=D,c.offset=a(),c.startLoc=r(),l.currentChar()===Ve?g(c,13):st(l,c)}return{nextToken:Jt,currentOffset:a,currentPosition:r,context:u}}const hi="parser",Ei=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function _i(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 yi(e={}){const n=e.location!==!1,{onError:o}=e;function l(m,_,L,N,...V){const O=m.currentPosition();if(O.offset+=N,O.column+=N,o){const w=n?sn(L,O):null,F=lt(_,w,{domain:hi,args:V});o(F)}}function a(m,_,L){const N={type:m};return n&&(N.start=_,N.end=_,N.loc={start:L,end:L}),N}function r(m,_,L,N){n&&(m.end=_,m.loc&&(m.loc.end=L))}function i(m,_){const L=m.context(),N=a(3,L.offset,L.startLoc);return N.value=_,r(N,m.currentOffset(),m.currentPosition()),N}function s(m,_){const L=m.context(),{lastOffset:N,lastStartLoc:V}=L,O=a(5,N,V);return O.index=parseInt(_,10),m.nextToken(),r(O,m.currentOffset(),m.currentPosition()),O}function c(m,_){const L=m.context(),{lastOffset:N,lastStartLoc:V}=L,O=a(4,N,V);return O.key=_,m.nextToken(),r(O,m.currentOffset(),m.currentPosition()),O}function u(m,_){const L=m.context(),{lastOffset:N,lastStartLoc:V}=L,O=a(9,N,V);return O.value=_.replace(Ei,_i),m.nextToken(),r(O,m.currentOffset(),m.currentPosition()),O}function f(m){const _=m.nextToken(),L=m.context(),{lastOffset:N,lastStartLoc:V}=L,O=a(8,N,V);return _.type!==11?(l(m,M.UNEXPECTED_EMPTY_LINKED_MODIFIER,L.lastStartLoc,0),O.value="",r(O,N,V),{nextConsumeToken:_,node:O}):(_.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,L.lastStartLoc,0,Le(_)),O.value=_.value||"",r(O,m.currentOffset(),m.currentPosition()),{node:O})}function h(m,_){const L=m.context(),N=a(7,L.offset,L.startLoc);return N.value=_,r(N,m.currentOffset(),m.currentPosition()),N}function g(m){const _=m.context(),L=a(6,_.offset,_.startLoc);let N=m.nextToken();if(N.type===8){const V=f(m);L.modifier=V.node,N=V.nextConsumeToken||m.nextToken()}switch(N.type!==9&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Le(N)),N=m.nextToken(),N.type===2&&(N=m.nextToken()),N.type){case 10:N.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Le(N)),L.key=h(m,N.value||"");break;case 4:N.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Le(N)),L.key=c(m,N.value||"");break;case 5:N.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Le(N)),L.key=s(m,N.value||"");break;case 6:N.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Le(N)),L.key=u(m,N.value||"");break;default:{l(m,M.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const V=m.context(),O=a(7,V.offset,V.startLoc);return O.value="",r(O,V.offset,V.startLoc),L.key=O,r(L,V.offset,V.startLoc),{nextConsumeToken:N,node:L}}}return r(L,m.currentOffset(),m.currentPosition()),{node:L}}function y(m){const _=m.context(),L=_.currentType===1?m.currentOffset():_.offset,N=_.currentType===1?_.endLoc:_.startLoc,V=a(2,L,N);V.items=[];let O=null;do{const G=O||m.nextToken();switch(O=null,G.type){case 0:G.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Le(G)),V.items.push(i(m,G.value||""));break;case 5:G.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Le(G)),V.items.push(s(m,G.value||""));break;case 4:G.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Le(G)),V.items.push(c(m,G.value||""));break;case 6:G.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Le(G)),V.items.push(u(m,G.value||""));break;case 7:{const oe=g(m);V.items.push(oe.node),O=oe.nextConsumeToken||null;break}}}while(_.currentType!==13&&_.currentType!==1);const w=_.currentType===1?_.lastOffset:m.currentOffset(),F=_.currentType===1?_.lastEndLoc:m.currentPosition();return r(V,w,F),V}function k(m,_,L,N){const V=m.context();let O=N.items.length===0;const w=a(1,_,L);w.cases=[],w.cases.push(N);do{const F=y(m);O||(O=F.items.length===0),w.cases.push(F)}while(V.currentType!==13);return O&&l(m,M.MUST_HAVE_MESSAGES_IN_PLURAL,L,0),r(w,m.currentOffset(),m.currentPosition()),w}function v(m){const _=m.context(),{offset:L,startLoc:N}=_,V=y(m);return _.currentType===13?V:k(m,L,N,V)}function E(m){const _=gi(m,ue({},e)),L=_.context(),N=a(0,L.offset,L.startLoc);return n&&N.loc&&(N.loc.source=m),N.body=v(_),e.onCacheKey&&(N.cacheKey=e.onCacheKey(m)),L.currentType!==13&&l(_,M.UNEXPECTED_LEXICAL_ANALYSIS,L.lastStartLoc,0,m[L.offset]||""),r(N,_.currentOffset(),_.currentPosition()),N}return{parse:E}}function Le(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 ki(e,n={}){const o={ast:e,helpers:new Set};return{context:()=>o,helper:r=>(o.helpers.add(r),r)}}function lo(e,n){for(let o=0;o<e.length;o++)Ln(e[o],n)}function Ln(e,n){switch(e.type){case 1:lo(e.cases,n),n.helper("plural");break;case 2:lo(e.items,n);break;case 6:{Ln(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 Ci(e,n={}){const o=ki(e);o.helper("normalize"),e.body&&Ln(e.body,o);const l=o.context();e.helpers=Array.from(l.helpers)}function vi(e){const n=e.body;return n.type===2?ro(n):n.cases.forEach(o=>ro(o)),e}function ro(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 Ni="minifier";function tt(e){switch(e.t=e.type,e.type){case 0:{const n=e;tt(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++)tt(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++)tt(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;tt(n.key),n.k=n.key,delete n.key,n.modifier&&(tt(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 lt(M.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Ni,args:[e.type]})}delete e.type}const Si="parser";function bi(e,n){const{filename:o,breakLineCode:l,needIndent:a}=n,r=n.location!==!1,i={filename:o,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:l,needIndent:a,indentLevel:0};r&&e.loc&&(i.source=e.loc.source);const s=()=>i;function c(v,E){i.code+=v}function u(v,E=!0){const m=E?l:"";c(a?m+" ".repeat(v):m)}function f(v=!0){const E=++i.indentLevel;v&&u(E)}function h(v=!0){const E=--i.indentLevel;v&&u(E)}function g(){u(i.indentLevel)}return{context:s,push:c,indent:f,deindent:h,newline:g,helper:v=>`_${v}`,needIndent:()=>i.needIndent}}function wi(e,n){const{helper:o}=e;e.push(`${o("linked")}(`),ot(e,n.key),n.modifier?(e.push(", "),ot(e,n.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Li(e,n){const{helper:o,needIndent:l}=e;e.push(`${o("normalize")}([`),e.indent(l());const a=n.items.length;for(let r=0;r<a&&(ot(e,n.items[r]),r!==a-1);r++)e.push(", ");e.deindent(l()),e.push("])")}function Ti(e,n){const{helper:o,needIndent:l}=e;if(n.cases.length>1){e.push(`${o("plural")}([`),e.indent(l());const a=n.cases.length;for(let r=0;r<a&&(ot(e,n.cases[r]),r!==a-1);r++)e.push(", ");e.deindent(l()),e.push("])")}}function Ai(e,n){n.body?ot(e,n.body):e.push("null")}function ot(e,n){const{helper:o}=e;switch(n.type){case 0:Ai(e,n);break;case 1:Ti(e,n);break;case 2:Li(e,n);break;case 6:wi(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 lt(M.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:Si,args:[n.type]})}}const Ii=(e,n={})=>{const o=B(n.mode)?n.mode:"normal",l=B(n.filename)?n.filename:"message.intl";n.sourceMap;const a=n.breakLineCode!=null?n.breakLineCode:o==="arrow"?";":`
12
- `,r=n.needIndent?n.needIndent:o!=="arrow",i=e.helpers||[],s=bi(e,{filename:l,breakLineCode:a,needIndent:r});s.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(r),i.length>0&&(s.push(`const { ${wn(i.map(f=>`${f}: _${f}`),", ")} } = ctx`),s.newline()),s.push("return "),ot(s,e),s.deindent(r),s.push("}"),delete e.helpers;const{code:c,map:u}=s.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function Vi(e,n={}){const o=ue({},n),l=!!o.jit,a=!!o.minify,r=o.optimize==null?!0:o.optimize,s=yi(o).parse(e);return l?(r&&vi(s),a&&tt(s),{ast:s,code:""}):(Ci(s,o),Ii(s,o))}/*!
10
+ */function Ti(t,n,o){return{line:t,column:n,offset:o}}function hn(t,n,o){return{start:t,end:n}}const M={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},Bi=17,Vi={[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 rt(t,n,o={}){const{domain:l,messages:a,args:r}=o,i=process.env.NODE_ENV!=="production"?zt((a||Vi)[t]||"",...r||[]):t,s=new SyntaxError(String(i));return s.code=t,n&&(s.location=n),s.domain=l,s}function Ii(t){throw t}const Ai=/<\/?[\w\s="/.':;#-\/]+>/,Di=t=>Ai.test(t),Le=" ",$i="\r",fe=`
11
+ `,Oi="\u2028",Pi="\u2029";function Ri(t){const n=t;let o=0,l=1,a=1,r=0;const i=b=>n[b]===$i&&n[b+1]===fe,s=b=>n[b]===fe,c=b=>n[b]===Pi,u=b=>n[b]===Oi,d=b=>i(b)||s(b)||c(b)||u(b),p=()=>o,h=()=>l,_=()=>a,v=()=>r,C=b=>i(b)||c(b)||u(b)?fe:n[b],E=()=>C(o),f=()=>C(o+r);function y(){return r=0,d(o)&&(l++,a=0),i(o)&&o++,o++,a++,n[o]}function k(){return i(o+r)&&r++,r++,n[o+r]}function N(){o=0,l=1,a=1,r=0}function T(b=0){r=b}function A(){const b=o+r;for(;b!==o;)y();r=0}return{index:p,line:h,column:_,peekOffset:v,charAt:C,currentChar:E,currentPeek:f,next:y,peek:k,reset:N,resetPeek:T,skipToPeek:A}}const Ae=void 0,Mi=".",go="'",xi="tokenizer";function Fi(t,n={}){const o=n.location!==!1,l=Ri(t),a=()=>l.index(),r=()=>Ti(l.line(),l.column(),l.index()),i=r(),s=a(),c={currentType:13,offset:s,startLoc:i,endLoc:i,lastType:13,lastOffset:s,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},u=()=>c,{onError:d}=n;function p(m,g,L,...O){const Q=u();if(g.column+=L,g.offset+=L,d){const le=o?hn(Q.startLoc,g):null,G=rt(m,le,{domain:xi,args:O});d(G)}}function h(m,g,L){m.endLoc=r(),m.currentType=g;const O={type:g};return o&&(O.loc=hn(m.startLoc,m.endLoc)),L!=null&&(O.value=L),O}const _=m=>h(m,13);function v(m,g){return m.currentChar()===g?(m.next(),g):(p(M.EXPECTED_TOKEN,r(),0,g),"")}function C(m){let g="";for(;m.currentPeek()===Le||m.currentPeek()===fe;)g+=m.currentPeek(),m.peek();return g}function E(m){const g=C(m);return m.skipToPeek(),g}function f(m){if(m===Ae)return!1;const g=m.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g===95}function y(m){if(m===Ae)return!1;const g=m.charCodeAt(0);return g>=48&&g<=57}function k(m,g){const{currentType:L}=g;if(L!==2)return!1;C(m);const O=f(m.currentPeek());return m.resetPeek(),O}function N(m,g){const{currentType:L}=g;if(L!==2)return!1;C(m);const O=m.currentPeek()==="-"?m.peek():m.currentPeek(),Q=y(O);return m.resetPeek(),Q}function T(m,g){const{currentType:L}=g;if(L!==2)return!1;C(m);const O=m.currentPeek()===go;return m.resetPeek(),O}function A(m,g){const{currentType:L}=g;if(L!==7)return!1;C(m);const O=m.currentPeek()===".";return m.resetPeek(),O}function b(m,g){const{currentType:L}=g;if(L!==8)return!1;C(m);const O=f(m.currentPeek());return m.resetPeek(),O}function x(m,g){const{currentType:L}=g;if(!(L===7||L===11))return!1;C(m);const O=m.currentPeek()===":";return m.resetPeek(),O}function j(m,g){const{currentType:L}=g;if(L!==9)return!1;const O=()=>{const le=m.currentPeek();return le==="{"?f(m.peek()):le==="@"||le==="|"||le===":"||le==="."||le===Le||!le?!1:le===fe?(m.peek(),O()):ge(m,!1)},Q=O();return m.resetPeek(),Q}function oe(m){C(m);const g=m.currentPeek()==="|";return m.resetPeek(),g}function ge(m,g=!0){const L=(Q=!1,le="")=>{const G=m.currentPeek();return G==="{"||G==="@"||!G?Q:G==="|"?!(le===Le||le===fe):G===Le?(m.peek(),L(!0,Le)):G===fe?(m.peek(),L(!0,fe)):!0},O=L();return g&&m.resetPeek(),O}function Z(m,g){const L=m.currentChar();return L===Ae?Ae:g(L)?(m.next(),L):null}function Me(m){const g=m.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g>=48&&g<=57||g===95||g===36}function Je(m){return Z(m,Me)}function P(m){const g=m.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g>=48&&g<=57||g===95||g===36||g===45}function I(m){return Z(m,P)}function U(m){const g=m.charCodeAt(0);return g>=48&&g<=57}function R(m){return Z(m,U)}function Ie(m){const g=m.charCodeAt(0);return g>=48&&g<=57||g>=65&&g<=70||g>=97&&g<=102}function me(m){return Z(m,Ie)}function He(m){let g="",L="";for(;g=R(m);)L+=g;return L}function Zt(m){let g="";for(;;){const L=m.currentChar();if(L==="{"||L==="}"||L==="@"||L==="|"||!L)break;if(L===Le||L===fe)if(ge(m))g+=L,m.next();else{if(oe(m))break;g+=L,m.next()}else g+=L,m.next()}return g}function Jt(m){E(m);let g="",L="";for(;g=I(m);)L+=g;const O=m.currentChar();if(O&&O!=="}"&&O!==Ae&&O!==Le&&O!==fe&&O!==" "){const Q=vt(m);return p(M.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,L+Q),L+Q}return m.currentChar()===Ae&&p(M.UNTERMINATED_CLOSING_BRACE,r(),0),L}function Qt(m){E(m);let g="";return m.currentChar()==="-"?(m.next(),g+=`-${He(m)}`):g+=He(m),m.currentChar()===Ae&&p(M.UNTERMINATED_CLOSING_BRACE,r(),0),g}function en(m){return m!==go&&m!==fe}function to(m){E(m),v(m,"'");let g="",L="";for(;g=Z(m,en);)g==="\\"?L+=tn(m):L+=g;const O=m.currentChar();return O===fe||O===Ae?(p(M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),O===fe&&(m.next(),v(m,"'")),L):(v(m,"'"),L)}function tn(m){const g=m.currentChar();switch(g){case"\\":case"'":return m.next(),`\\${g}`;case"u":return _t(m,g,4);case"U":return _t(m,g,6);default:return p(M.UNKNOWN_ESCAPE_SEQUENCE,r(),0,g),""}}function _t(m,g,L){v(m,g);let O="";for(let Q=0;Q<L;Q++){const le=me(m);if(!le){p(M.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${g}${O}${m.currentChar()}`);break}O+=le}return`\\${g}${O}`}function nn(m){return m!=="{"&&m!=="}"&&m!==Le&&m!==fe}function vt(m){E(m);let g="",L="";for(;g=Z(m,nn);)L+=g;return L}function on(m){let g="",L="";for(;g=Je(m);)L+=g;return L}function ln(m){const g=L=>{const O=m.currentChar();return O==="{"||O==="@"||O==="|"||O==="("||O===")"||!O||O===Le?L:(L+=O,m.next(),g(L))};return g("")}function st(m){E(m);const g=v(m,"|");return E(m),g}function ct(m,g){let L=null;switch(m.currentChar()){case"{":return g.braceNest>=1&&p(M.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),m.next(),L=h(g,2,"{"),E(m),g.braceNest++,L;case"}":return g.braceNest>0&&g.currentType===2&&p(M.EMPTY_PLACEHOLDER,r(),0),m.next(),L=h(g,3,"}"),g.braceNest--,g.braceNest>0&&E(m),g.inLinked&&g.braceNest===0&&(g.inLinked=!1),L;case"@":return g.braceNest>0&&p(M.UNTERMINATED_CLOSING_BRACE,r(),0),L=ze(m,g)||_(g),g.braceNest=0,L;default:{let Q=!0,le=!0,G=!0;if(oe(m))return g.braceNest>0&&p(M.UNTERMINATED_CLOSING_BRACE,r(),0),L=h(g,1,st(m)),g.braceNest=0,g.inLinked=!1,L;if(g.braceNest>0&&(g.currentType===4||g.currentType===5||g.currentType===6))return p(M.UNTERMINATED_CLOSING_BRACE,r(),0),g.braceNest=0,ut(m,g);if(Q=k(m,g))return L=h(g,4,Jt(m)),E(m),L;if(le=N(m,g))return L=h(g,5,Qt(m)),E(m),L;if(G=T(m,g))return L=h(g,6,to(m)),E(m),L;if(!Q&&!le&&!G)return L=h(g,12,vt(m)),p(M.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,L.value),E(m),L;break}}return L}function ze(m,g){const{currentType:L}=g;let O=null;const Q=m.currentChar();switch((L===7||L===8||L===11||L===9)&&(Q===fe||Q===Le)&&p(M.INVALID_LINKED_FORMAT,r(),0),Q){case"@":return m.next(),O=h(g,7,"@"),g.inLinked=!0,O;case".":return E(m),m.next(),h(g,8,".");case":":return E(m),m.next(),h(g,9,":");default:return oe(m)?(O=h(g,1,st(m)),g.braceNest=0,g.inLinked=!1,O):A(m,g)||x(m,g)?(E(m),ze(m,g)):b(m,g)?(E(m),h(g,11,on(m))):j(m,g)?(E(m),Q==="{"?ct(m,g)||O:h(g,10,ln(m))):(L===7&&p(M.INVALID_LINKED_FORMAT,r(),0),g.braceNest=0,g.inLinked=!1,ut(m,g))}}function ut(m,g){let L={type:13};if(g.braceNest>0)return ct(m,g)||_(g);if(g.inLinked)return ze(m,g)||_(g);switch(m.currentChar()){case"{":return ct(m,g)||_(g);case"}":return p(M.UNBALANCED_CLOSING_BRACE,r(),0),m.next(),h(g,3,"}");case"@":return ze(m,g)||_(g);default:{if(oe(m))return L=h(g,1,st(m)),g.braceNest=0,g.inLinked=!1,L;if(ge(m))return h(g,0,Zt(m));break}}return L}function rn(){const{currentType:m,offset:g,startLoc:L,endLoc:O}=c;return c.lastType=m,c.lastOffset=g,c.lastStartLoc=L,c.lastEndLoc=O,c.offset=a(),c.startLoc=r(),l.currentChar()===Ae?h(c,13):ut(l,c)}return{nextToken:rn,currentOffset:a,currentPosition:r,context:u}}const Ui="parser",Hi=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function zi(t,n,o){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const l=parseInt(n||o,16);return l<=55295||l>=57344?String.fromCodePoint(l):"�"}}}function Wi(t={}){const n=t.location!==!1,{onError:o}=t;function l(f,y,k,N,...T){const A=f.currentPosition();if(A.offset+=N,A.column+=N,o){const b=n?hn(k,A):null,x=rt(y,b,{domain:Ui,args:T});o(x)}}function a(f,y,k){const N={type:f};return n&&(N.start=y,N.end=y,N.loc={start:k,end:k}),N}function r(f,y,k,N){n&&(f.end=y,f.loc&&(f.loc.end=k))}function i(f,y){const k=f.context(),N=a(3,k.offset,k.startLoc);return N.value=y,r(N,f.currentOffset(),f.currentPosition()),N}function s(f,y){const k=f.context(),{lastOffset:N,lastStartLoc:T}=k,A=a(5,N,T);return A.index=parseInt(y,10),f.nextToken(),r(A,f.currentOffset(),f.currentPosition()),A}function c(f,y){const k=f.context(),{lastOffset:N,lastStartLoc:T}=k,A=a(4,N,T);return A.key=y,f.nextToken(),r(A,f.currentOffset(),f.currentPosition()),A}function u(f,y){const k=f.context(),{lastOffset:N,lastStartLoc:T}=k,A=a(9,N,T);return A.value=y.replace(Hi,zi),f.nextToken(),r(A,f.currentOffset(),f.currentPosition()),A}function d(f){const y=f.nextToken(),k=f.context(),{lastOffset:N,lastStartLoc:T}=k,A=a(8,N,T);return y.type!==11?(l(f,M.UNEXPECTED_EMPTY_LINKED_MODIFIER,k.lastStartLoc,0),A.value="",r(A,N,T),{nextConsumeToken:y,node:A}):(y.value==null&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Te(y)),A.value=y.value||"",r(A,f.currentOffset(),f.currentPosition()),{node:A})}function p(f,y){const k=f.context(),N=a(7,k.offset,k.startLoc);return N.value=y,r(N,f.currentOffset(),f.currentPosition()),N}function h(f){const y=f.context(),k=a(6,y.offset,y.startLoc);let N=f.nextToken();if(N.type===8){const T=d(f);k.modifier=T.node,N=T.nextConsumeToken||f.nextToken()}switch(N.type!==9&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Te(N)),N=f.nextToken(),N.type===2&&(N=f.nextToken()),N.type){case 10:N.value==null&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Te(N)),k.key=p(f,N.value||"");break;case 4:N.value==null&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Te(N)),k.key=c(f,N.value||"");break;case 5:N.value==null&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Te(N)),k.key=s(f,N.value||"");break;case 6:N.value==null&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Te(N)),k.key=u(f,N.value||"");break;default:{l(f,M.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const T=f.context(),A=a(7,T.offset,T.startLoc);return A.value="",r(A,T.offset,T.startLoc),k.key=A,r(k,T.offset,T.startLoc),{nextConsumeToken:N,node:k}}}return r(k,f.currentOffset(),f.currentPosition()),{node:k}}function _(f){const y=f.context(),k=y.currentType===1?f.currentOffset():y.offset,N=y.currentType===1?y.endLoc:y.startLoc,T=a(2,k,N);T.items=[];let A=null;do{const j=A||f.nextToken();switch(A=null,j.type){case 0:j.value==null&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Te(j)),T.items.push(i(f,j.value||""));break;case 5:j.value==null&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Te(j)),T.items.push(s(f,j.value||""));break;case 4:j.value==null&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Te(j)),T.items.push(c(f,j.value||""));break;case 6:j.value==null&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Te(j)),T.items.push(u(f,j.value||""));break;case 7:{const oe=h(f);T.items.push(oe.node),A=oe.nextConsumeToken||null;break}}}while(y.currentType!==13&&y.currentType!==1);const b=y.currentType===1?y.lastOffset:f.currentOffset(),x=y.currentType===1?y.lastEndLoc:f.currentPosition();return r(T,b,x),T}function v(f,y,k,N){const T=f.context();let A=N.items.length===0;const b=a(1,y,k);b.cases=[],b.cases.push(N);do{const x=_(f);A||(A=x.items.length===0),b.cases.push(x)}while(T.currentType!==13);return A&&l(f,M.MUST_HAVE_MESSAGES_IN_PLURAL,k,0),r(b,f.currentOffset(),f.currentPosition()),b}function C(f){const y=f.context(),{offset:k,startLoc:N}=y,T=_(f);return y.currentType===13?T:v(f,k,N,T)}function E(f){const y=Fi(f,ue({},t)),k=y.context(),N=a(0,k.offset,k.startLoc);return n&&N.loc&&(N.loc.source=f),N.body=C(y),t.onCacheKey&&(N.cacheKey=t.onCacheKey(f)),k.currentType!==13&&l(y,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,f[k.offset]||""),r(N,y.currentOffset(),y.currentPosition()),N}return{parse:E}}function Te(t){if(t.type===13)return"EOF";const n=(t.value||"").replace(/\r?\n/gu,"\\n");return n.length>10?n.slice(0,9)+"…":n}function ji(t,n={}){const o={ast:t,helpers:new Set};return{context:()=>o,helper:r=>(o.helpers.add(r),r)}}function ho(t,n){for(let o=0;o<t.length;o++)Pn(t[o],n)}function Pn(t,n){switch(t.type){case 1:ho(t.cases,n),n.helper("plural");break;case 2:ho(t.items,n);break;case 6:{Pn(t.key,n),n.helper("linked"),n.helper("type");break}case 5:n.helper("interpolate"),n.helper("list");break;case 4:n.helper("interpolate"),n.helper("named");break}}function Gi(t,n={}){const o=ji(t);o.helper("normalize"),t.body&&Pn(t.body,o);const l=o.context();t.helpers=Array.from(l.helpers)}function Ki(t){const n=t.body;return n.type===2?Eo(n):n.cases.forEach(o=>Eo(o)),t}function Eo(t){if(t.items.length===1){const n=t.items[0];(n.type===3||n.type===9)&&(t.static=n.value,delete n.value)}else{const n=[];for(let o=0;o<t.items.length;o++){const l=t.items[o];if(!(l.type===3||l.type===9)||l.value==null)break;n.push(l.value)}if(n.length===t.items.length){t.static=On(n);for(let o=0;o<t.items.length;o++){const l=t.items[o];(l.type===3||l.type===9)&&delete l.value}}}}const Yi="minifier";function nt(t){switch(t.t=t.type,t.type){case 0:{const n=t;nt(n.body),n.b=n.body,delete n.body;break}case 1:{const n=t,o=n.cases;for(let l=0;l<o.length;l++)nt(o[l]);n.c=o,delete n.cases;break}case 2:{const n=t,o=n.items;for(let l=0;l<o.length;l++)nt(o[l]);n.i=o,delete n.items,n.static&&(n.s=n.static,delete n.static);break}case 3:case 9:case 8:case 7:{const n=t;n.value&&(n.v=n.value,delete n.value);break}case 6:{const n=t;nt(n.key),n.k=n.key,delete n.key,n.modifier&&(nt(n.modifier),n.m=n.modifier,delete n.modifier);break}case 5:{const n=t;n.i=n.index,delete n.index;break}case 4:{const n=t;n.k=n.key,delete n.key;break}default:if(process.env.NODE_ENV!=="production")throw rt(M.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Yi,args:[t.type]})}delete t.type}const qi="parser";function Xi(t,n){const{filename:o,breakLineCode:l,needIndent:a}=n,r=n.location!==!1,i={filename:o,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:l,needIndent:a,indentLevel:0};r&&t.loc&&(i.source=t.loc.source);const s=()=>i;function c(C,E){i.code+=C}function u(C,E=!0){const f=E?l:"";c(a?f+" ".repeat(C):f)}function d(C=!0){const E=++i.indentLevel;C&&u(E)}function p(C=!0){const E=--i.indentLevel;C&&u(E)}function h(){u(i.indentLevel)}return{context:s,push:c,indent:d,deindent:p,newline:h,helper:C=>`_${C}`,needIndent:()=>i.needIndent}}function Zi(t,n){const{helper:o}=t;t.push(`${o("linked")}(`),lt(t,n.key),n.modifier?(t.push(", "),lt(t,n.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function Ji(t,n){const{helper:o,needIndent:l}=t;t.push(`${o("normalize")}([`),t.indent(l());const a=n.items.length;for(let r=0;r<a&&(lt(t,n.items[r]),r!==a-1);r++)t.push(", ");t.deindent(l()),t.push("])")}function Qi(t,n){const{helper:o,needIndent:l}=t;if(n.cases.length>1){t.push(`${o("plural")}([`),t.indent(l());const a=n.cases.length;for(let r=0;r<a&&(lt(t,n.cases[r]),r!==a-1);r++)t.push(", ");t.deindent(l()),t.push("])")}}function es(t,n){n.body?lt(t,n.body):t.push("null")}function lt(t,n){const{helper:o}=t;switch(n.type){case 0:es(t,n);break;case 1:Qi(t,n);break;case 2:Ji(t,n);break;case 6:Zi(t,n);break;case 8:t.push(JSON.stringify(n.value),n);break;case 7:t.push(JSON.stringify(n.value),n);break;case 5:t.push(`${o("interpolate")}(${o("list")}(${n.index}))`,n);break;case 4:t.push(`${o("interpolate")}(${o("named")}(${JSON.stringify(n.key)}))`,n);break;case 9:t.push(JSON.stringify(n.value),n);break;case 3:t.push(JSON.stringify(n.value),n);break;default:if(process.env.NODE_ENV!=="production")throw rt(M.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:qi,args:[n.type]})}}const ts=(t,n={})=>{const o=$(n.mode)?n.mode:"normal",l=$(n.filename)?n.filename:"message.intl";n.sourceMap;const a=n.breakLineCode!=null?n.breakLineCode:o==="arrow"?";":`
12
+ `,r=n.needIndent?n.needIndent:o!=="arrow",i=t.helpers||[],s=Xi(t,{filename:l,breakLineCode:a,needIndent:r});s.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(r),i.length>0&&(s.push(`const { ${On(i.map(d=>`${d}: _${d}`),", ")} } = ctx`),s.newline()),s.push("return "),lt(s,t),s.deindent(r),s.push("}"),delete t.helpers;const{code:c,map:u}=s.context();return{ast:t,code:c,map:u?u.toJSON():void 0}};function ns(t,n={}){const o=ue({},n),l=!!o.jit,a=!!o.minify,r=o.optimize==null?!0:o.optimize,s=Wi(o).parse(t);return l?(r&&Ki(s),a&&nt(s),{ast:s,code:""}):(Gi(s,o),ts(s,o))}/*!
13
13
  * core-base v11.1.12
14
14
  * (c) 2025 kazuya kawaguchi
15
15
  * Released under the MIT License.
16
- */function Oi(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(je().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(je().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function be(e){return K(e)&&Tn(e)===0&&(Se(e,"b")||Se(e,"body"))}const Wo=["b","body"];function Bi(e){return Me(e,Wo)}const jo=["c","cases"];function Di(e){return Me(e,jo,[])}const Ko=["s","static"];function Pi(e){return Me(e,Ko)}const Yo=["i","items"];function $i(e){return Me(e,Yo,[])}const qo=["t","type"];function Tn(e){return Me(e,qo)}const Xo=["v","value"];function Nt(e,n){const o=Me(e,Xo);if(o!=null)return o;throw ut(n)}const Zo=["m","modifier"];function Ri(e){return Me(e,Zo)}const Jo=["k","key"];function Mi(e){const n=Me(e,Jo);if(n)return n;throw ut(6)}function Me(e,n,o){for(let l=0;l<n.length;l++){const a=n[l];if(Se(e,a)&&e[a]!=null)return e[a]}return o}const Qo=[...Wo,...jo,...Ko,...Yo,...Jo,...Zo,...Xo,...qo];function ut(e){return new Error(`unhandled node type: ${e}`)}function tn(e){return o=>xi(o,e)}function xi(e,n){const o=Bi(n);if(o==null)throw ut(0);if(Tn(o)===1){const r=Di(o);return e.plural(r.reduce((i,s)=>[...i,ao(e,s)],[]))}else return ao(e,o)}function ao(e,n){const o=Pi(n);if(o!=null)return e.type==="text"?o:e.normalize([o]);{const l=$i(n).reduce((a,r)=>[...a,cn(e,r)],[]);return e.normalize(l)}}function cn(e,n){const o=Tn(n);switch(o){case 3:return Nt(n,o);case 9:return Nt(n,o);case 4:{const l=n;if(Se(l,"k")&&l.k)return e.interpolate(e.named(l.k));if(Se(l,"key")&&l.key)return e.interpolate(e.named(l.key));throw ut(o)}case 5:{const l=n;if(Se(l,"i")&&ce(l.i))return e.interpolate(e.list(l.i));if(Se(l,"index")&&ce(l.index))return e.interpolate(e.list(l.index));throw ut(o)}case 6:{const l=n,a=Ri(l),r=Mi(l);return e.linked(cn(e,r),a?cn(e,a):void 0,e.type)}case 7:return Nt(n,o);case 8:return Nt(n,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const Fi="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Ui(e,n){n&&si(e)&&Ae(Mt(Fi,{source:e}))}const Hi=e=>e;let St=X();function zi(e,n={}){let o=!1;const l=n.onError||ai;return n.onError=a=>{o=!0,l(a)},{...Vi(e,n),detectError:o}}function Gi(e,n){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&B(e)){const o=ae(n.warnHtmlMessage)?n.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Ui(e,o);const a=(n.onCacheKey||Hi)(e),r=St[a];if(r)return r;const{ast:i,detectError:s}=zi(e,{...n,location:process.env.NODE_ENV!=="production",jit:!0}),c=tn(i);return s?c:St[a]=c}else{if(process.env.NODE_ENV!=="production"&&!be(e))return Ae(`the message that is resolve with key '${n.key}' is not supported for jit compilation`),(()=>e);const o=e.cacheKey;if(o){const l=St[o];return l||(St[o]=tn(e))}else return tn(e)}}let dt=null;function Wi(e){dt=e}function ji(e,n,o){dt&&dt.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:n,meta:o})}const Ki=Yi("function:translate");function Yi(e){return n=>dt&&dt.emit(e,n)}const pe={INVALID_ARGUMENT:li,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},qi=24;function Oe(e){return lt(e,null,process.env.NODE_ENV!=="production"?{messages:Xi}:void 0)}const Xi={[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 An(e,n){return n.locale!=null?io(n.locale):io(e.locale)}let nn;function io(e){if(B(e))return e;if(ee(e)){if(e.resolvedOnce&&nn!=null)return nn;if(e.constructor.name==="Function"){const n=e();if(Qa(n))throw Oe(pe.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return nn=n}else throw Oe(pe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Oe(pe.NOT_SUPPORT_LOCALE_TYPE)}function Zi(e,n,o){return[...new Set([o,...ie(n)?n:K(n)?Object.keys(n):B(n)?[n]:[o]])]}function el(e,n,o){const l=B(o)?o:Vt,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let r=a.__localeChainCache.get(l);if(!r){r=[];let i=[o];for(;ie(i);)i=so(r,i,n);const s=ie(n)||!j(n)?n:n.default?n.default:null;i=B(s)?[s]:s,ie(i)&&so(r,i,!1),a.__localeChainCache.set(l,r)}return r}function so(e,n,o){let l=!0;for(let a=0;a<n.length&&ae(l);a++){const r=n[a];B(r)&&(l=Ji(e,n[a],o))}return l}function Ji(e,n,o){let l;const a=n.split("-");do{const r=a.join("-");l=Qi(e,r,o),a.splice(-1,1)}while(a.length&&l===!0);return l}function Qi(e,n,o){let l=!1;if(!e.includes(n)&&(l=!0,n)){l=n[n.length-1]!=="!";const a=n.replace(/!/g,"");e.push(a),(ie(o)||j(o))&&o[a]&&(l=o[a])}return l}const xe=[];xe[0]={w:[0],i:[3,0],"[":[4],o:[7]};xe[1]={w:[1],".":[2],"[":[4],o:[7]};xe[2]={w:[2],i:[3,0],0:[3,0]};xe[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};xe[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};xe[5]={"'":[4,0],o:8,l:[5,0]};xe[6]={'"':[4,0],o:8,l:[6,0]};const es=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ts(e){return es.test(e)}function ns(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 os(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 ls(e){const n=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:ts(n)?ns(n):"*"+n}function rs(e){const n=[];let o=-1,l=0,a=0,r,i,s,c,u,f,h;const g=[];g[0]=()=>{i===void 0?i=s:i+=s},g[1]=()=>{i!==void 0&&(n.push(i),i=void 0)},g[2]=()=>{g[0](),a++},g[3]=()=>{if(a>0)a--,l=4,g[0]();else{if(a=0,i===void 0||(i=ls(i),i===!1))return!1;g[1]()}};function y(){const k=e[o+1];if(l===5&&k==="'"||l===6&&k==='"')return o++,s="\\"+k,g[0](),!0}for(;l!==null;)if(o++,r=e[o],!(r==="\\"&&y())){if(c=os(r),h=xe[l],u=h[c]||h.l||8,u===8||(l=u[0],u[1]!==void 0&&(f=g[u[1]],f&&(s=r,f()===!1))))return;if(l===7)return n}}const co=new Map;function as(e,n){return K(e)?e[n]:null}function is(e,n){if(!K(e))return null;let o=co.get(n);if(o||(o=rs(n),o&&co.set(n,o)),!o)return null;const l=o.length;let a=e,r=0;for(;r<l;){const i=o[r];if(Qo.includes(i)&&be(a))return null;const s=a[i];if(s===void 0||ee(a))return null;a=s,r++}return a}const he={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},ss=8,cs={[he.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[he.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[he.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[he.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[he.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[he.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[he.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function Ye(e,...n){return Mt(cs[e],...n)}const us="11.1.12",Ft=-1,Vt="en-US",Ot="",uo=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function ds(){return{upper:(e,n)=>n==="text"&&B(e)?e.toUpperCase():n==="vnode"&&K(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,n)=>n==="text"&&B(e)?e.toLowerCase():n==="vnode"&&K(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,n)=>n==="text"&&B(e)?uo(e):n==="vnode"&&K(e)&&"__v_isVNode"in e?uo(e.children):e}}let tl;function fs(e){tl=e}let nl;function ms(e){nl=e}let ol;function ps(e){ol=e}let ll=null;const gs=e=>{ll=e},hs=()=>ll;let rl=null;const fo=e=>{rl=e},Es=()=>rl;let mo=0;function _s(e={}){const n=ee(e.onWarn)?e.onWarn:Ae,o=B(e.version)?e.version:us,l=B(e.locale)||ee(e.locale)?e.locale:Vt,a=ee(l)?Vt:l,r=ie(e.fallbackLocale)||j(e.fallbackLocale)||B(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,i=j(e.messages)?e.messages:on(a),s=j(e.datetimeFormats)?e.datetimeFormats:on(a),c=j(e.numberFormats)?e.numberFormats:on(a),u=ue(X(),e.modifiers,ds()),f=e.pluralRules||X(),h=ee(e.missing)?e.missing:null,g=ae(e.missingWarn)||It(e.missingWarn)?e.missingWarn:!0,y=ae(e.fallbackWarn)||It(e.fallbackWarn)?e.fallbackWarn:!0,k=!!e.fallbackFormat,v=!!e.unresolving,E=ee(e.postTranslation)?e.postTranslation:null,m=j(e.processor)?e.processor:null,_=ae(e.warnHtmlMessage)?e.warnHtmlMessage:!0,L=!!e.escapeParameter,N=ee(e.messageCompiler)?e.messageCompiler:tl;process.env.NODE_ENV!=="production"&&ee(e.messageCompiler)&&Wa(Ye(he.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const V=ee(e.messageResolver)?e.messageResolver:nl||as,O=ee(e.localeFallbacker)?e.localeFallbacker:ol||Zi,w=K(e.fallbackContext)?e.fallbackContext:void 0,F=e,G=K(F.__datetimeFormatters)?F.__datetimeFormatters:new Map,oe=K(F.__numberFormatters)?F.__numberFormatters:new Map,ge=K(F.__meta)?F.__meta:{};mo++;const Z={version:o,cid:mo,locale:l,fallbackLocale:r,messages:i,modifiers:u,pluralRules:f,missing:h,missingWarn:g,fallbackWarn:y,fallbackFormat:k,unresolving:v,postTranslation:E,processor:m,warnHtmlMessage:_,escapeParameter:L,messageCompiler:N,messageResolver:V,localeFallbacker:O,fallbackContext:w,onWarn:n,__meta:ge};return Z.datetimeFormats=s,Z.numberFormats=c,Z.__datetimeFormatters=G,Z.__numberFormatters=oe,process.env.NODE_ENV!=="production"&&(Z.__v_emitter=F.__v_emitter!=null?F.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&ji(Z,o,ge),Z}const on=e=>({[e]:X()});function Ut(e,n){return e instanceof RegExp?e.test(n):e}function al(e,n){return e instanceof RegExp?e.test(n):e}function In(e,n,o,l,a){const{missing:r,onWarn:i}=e;if(process.env.NODE_ENV!=="production"){const s=e.__v_emitter;s&&s.emit("missing",{locale:o,key:n,type:a,groupId:`${a}:${n}`})}if(r!==null){const s=r(e,o,n,a);return B(s)?s:n}else return process.env.NODE_ENV!=="production"&&al(l,n)&&i(Ye(he.NOT_FOUND_KEY,{key:n,locale:o})),n}function ct(e,n,o){const l=e;l.__localeChainCache=new Map,e.localeFallbacker(e,o,n)}function il(e,n){return e===n?!1:e.split("-")[0]===n.split("-")[0]}function ys(e,n){const o=n.indexOf(e);if(o===-1)return!1;for(let l=o+1;l<n.length;l++)if(il(e,n[l]))return!0;return!1}const po=typeof Intl<"u",sl={dateTimeFormat:po&&typeof Intl.DateTimeFormat<"u",numberFormat:po&&typeof Intl.NumberFormat<"u"};function go(e,...n){const{datetimeFormats:o,unresolving:l,fallbackLocale:a,onWarn:r,localeFallbacker:i}=e,{__datetimeFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!sl.dateTimeFormat)return r(Ye(he.CANNOT_FORMAT_DATE)),Ot;const[c,u,f,h]=un(...n),g=ae(f.missingWarn)?f.missingWarn:e.missingWarn,y=ae(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,k=!!f.part,v=An(e,f),E=i(e,a,v);if(!B(c)||c==="")return new Intl.DateTimeFormat(v,h).format(u);let m={},_,L=null,N=v,V=null;const O="datetime format";for(let G=0;G<E.length;G++){if(_=V=E[G],process.env.NODE_ENV!=="production"&&v!==_&&Ut(y,c)&&r(Ye(he.FALLBACK_TO_DATE_FORMAT,{key:c,target:_})),process.env.NODE_ENV!=="production"&&v!==_){const oe=e.__v_emitter;oe&&oe.emit("fallback",{type:O,key:c,from:N,to:V,groupId:`${O}:${c}`})}if(m=o[_]||{},L=m[c],j(L))break;In(e,c,_,g,O),N=V}if(!j(L)||!B(_))return l?Ft:c;let w=`${_}__${c}`;xt(h)||(w=`${w}__${JSON.stringify(h)}`);let F=s.get(w);return F||(F=new Intl.DateTimeFormat(_,ue({},L,h)),s.set(w,F)),k?F.formatToParts(u):F.format(u)}const cl=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function un(...e){const[n,o,l,a]=e,r=X();let i=X(),s;if(B(n)){const c=n.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!c)throw Oe(pe.INVALID_ISO_DATE_ARGUMENT);const u=c[3]?c[3].trim().startsWith("T")?`${c[1].trim()}${c[3].trim()}`:`${c[1].trim()}T${c[3].trim()}`:c[1].trim();s=new Date(u);try{s.toISOString()}catch{throw Oe(pe.INVALID_ISO_DATE_ARGUMENT)}}else if(qa(n)){if(isNaN(n.getTime()))throw Oe(pe.INVALID_DATE_ARGUMENT);s=n}else if(ce(n))s=n;else throw Oe(pe.INVALID_ARGUMENT);return B(o)?r.key=o:j(o)&&Object.keys(o).forEach(c=>{cl.includes(c)?i[c]=o[c]:r[c]=o[c]}),B(l)?r.locale=l:j(l)&&(i=l),j(a)&&(i=a),[r.key||"",s,r,i]}function ho(e,n,o){const l=e;for(const a in o){const r=`${n}__${a}`;l.__datetimeFormatters.has(r)&&l.__datetimeFormatters.delete(r)}}function Eo(e,...n){const{numberFormats:o,unresolving:l,fallbackLocale:a,onWarn:r,localeFallbacker:i}=e,{__numberFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!sl.numberFormat)return r(Ye(he.CANNOT_FORMAT_NUMBER)),Ot;const[c,u,f,h]=dn(...n),g=ae(f.missingWarn)?f.missingWarn:e.missingWarn,y=ae(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,k=!!f.part,v=An(e,f),E=i(e,a,v);if(!B(c)||c==="")return new Intl.NumberFormat(v,h).format(u);let m={},_,L=null,N=v,V=null;const O="number format";for(let G=0;G<E.length;G++){if(_=V=E[G],process.env.NODE_ENV!=="production"&&v!==_&&Ut(y,c)&&r(Ye(he.FALLBACK_TO_NUMBER_FORMAT,{key:c,target:_})),process.env.NODE_ENV!=="production"&&v!==_){const oe=e.__v_emitter;oe&&oe.emit("fallback",{type:O,key:c,from:N,to:V,groupId:`${O}:${c}`})}if(m=o[_]||{},L=m[c],j(L))break;In(e,c,_,g,O),N=V}if(!j(L)||!B(_))return l?Ft:c;let w=`${_}__${c}`;xt(h)||(w=`${w}__${JSON.stringify(h)}`);let F=s.get(w);return F||(F=new Intl.NumberFormat(_,ue({},L,h)),s.set(w,F)),k?F.formatToParts(u):F.format(u)}const ul=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function dn(...e){const[n,o,l,a]=e,r=X();let i=X();if(!ce(n))throw Oe(pe.INVALID_ARGUMENT);const s=n;return B(o)?r.key=o:j(o)&&Object.keys(o).forEach(c=>{ul.includes(c)?i[c]=o[c]:r[c]=o[c]}),B(l)?r.locale=l:j(l)&&(i=l),j(a)&&(i=a),[r.key||"",s,r,i]}function _o(e,n,o){const l=e;for(const a in o){const r=`${n}__${a}`;l.__numberFormatters.has(r)&&l.__numberFormatters.delete(r)}}const ks=e=>e,Cs=e=>"",vs="text",Ns=e=>e.length===0?"":wn(e),Ss=ei;function yo(e,n){return e=Math.abs(e),n===2?e?e>1?1:0:1:e?Math.min(e,2):0}function bs(e){const n=ce(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(ce(e.named.count)||ce(e.named.n))?ce(e.named.count)?e.named.count:ce(e.named.n)?e.named.n:n:n}function ws(e,n){n.count||(n.count=e),n.n||(n.n=e)}function Ls(e={}){const n=e.locale,o=bs(e),l=K(e.pluralRules)&&B(n)&&ee(e.pluralRules[n])?e.pluralRules[n]:yo,a=K(e.pluralRules)&&B(n)&&ee(e.pluralRules[n])?yo:void 0,r=m=>m[l(o,m.length,a)],i=e.list||[],s=m=>i[m],c=e.named||X();ce(e.pluralIndex)&&ws(o,c);const u=m=>c[m];function f(m,_){const L=ee(e.messages)?e.messages(m,!!_):K(e.messages)?e.messages[m]:!1;return L||(e.parent?e.parent.message(m):Cs)}const h=m=>e.modifiers?e.modifiers[m]:ks,g=j(e.processor)&&ee(e.processor.normalize)?e.processor.normalize:Ns,y=j(e.processor)&&ee(e.processor.interpolate)?e.processor.interpolate:Ss,k=j(e.processor)&&B(e.processor.type)?e.processor.type:vs,E={list:s,named:u,plural:r,linked:(m,..._)=>{const[L,N]=_;let V="text",O="";_.length===1?K(L)?(O=L.modifier||O,V=L.type||V):B(L)&&(O=L||O):_.length===2&&(B(L)&&(O=L||O),B(N)&&(V=N||V));const w=f(m,!0)(E),F=V==="vnode"&&ie(w)&&O?w[0]:w;return O?h(O)(F,V):F},message:f,type:k,interpolate:y,normalize:g,values:ue(X(),i,c)};return E}const ko=()=>"",Ne=e=>ee(e);function Co(e,...n){const{fallbackFormat:o,postTranslation:l,unresolving:a,messageCompiler:r,fallbackLocale:i,messages:s}=e,[c,u]=fn(...n),f=ae(u.missingWarn)?u.missingWarn:e.missingWarn,h=ae(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,g=ae(u.escapeParameter)?u.escapeParameter:e.escapeParameter,y=!!u.resolvedMessage,k=B(u.default)||ae(u.default)?ae(u.default)?r?c:()=>c:u.default:o?r?c:()=>c:null,v=o||k!=null&&(B(k)||ee(k)),E=An(e,u);g&&Ts(u);let[m,_,L]=y?[c,E,s[E]||X()]:dl(e,c,E,i,h,f),N=m,V=c;if(!y&&!(B(N)||be(N)||Ne(N))&&v&&(N=k,V=N),!y&&(!(B(N)||be(N)||Ne(N))||!B(_)))return a?Ft:c;if(process.env.NODE_ENV!=="production"&&B(N)&&e.messageCompiler==null)return Ae(`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 O=!1;const w=()=>{O=!0},F=Ne(N)?N:fl(e,c,_,N,V,w);if(O)return N;const G=Os(e,_,L,u),oe=Ls(G),ge=As(e,F,oe);let Z=l?l(ge,c):ge;if(g&&B(Z)&&(Z=Za(Z)),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const $e={timestamp:Date.now(),key:B(c)?c:Ne(N)?N.key:"",locale:_||(Ne(N)?N.locale:""),format:B(N)?N:Ne(N)?N.source:"",message:Z};$e.meta=ue({},e.__meta,hs()||{}),Ki($e)}return Z}function Ts(e){ie(e.list)?e.list=e.list.map(n=>B(n)?eo(n):n):K(e.named)&&Object.keys(e.named).forEach(n=>{B(e.named[n])&&(e.named[n]=eo(e.named[n]))})}function dl(e,n,o,l,a,r){const{messages:i,onWarn:s,messageResolver:c,localeFallbacker:u}=e,f=u(e,l,o);let h=X(),g,y=null,k=o,v=null;const E="translate";for(let m=0;m<f.length;m++){if(g=v=f[m],process.env.NODE_ENV!=="production"&&o!==g&&!il(o,g)&&Ut(a,n)&&s(Ye(he.FALLBACK_TO_TRANSLATE,{key:n,target:g})),process.env.NODE_ENV!=="production"&&o!==g){const V=e.__v_emitter;V&&V.emit("fallback",{type:E,key:n,from:k,to:v,groupId:`${E}:${n}`})}h=i[g]||X();let _=null,L,N;if(process.env.NODE_ENV!=="production"&&De&&(_=window.performance.now(),L="intlify-message-resolve-start",N="intlify-message-resolve-end",ve&&ve(L)),(y=c(h,n))===null&&(y=h[n]),process.env.NODE_ENV!=="production"&&De){const V=window.performance.now(),O=e.__v_emitter;O&&_&&y&&O.emit("message-resolve",{type:"message-resolve",key:n,message:y,time:V-_,groupId:`${E}:${n}`}),L&&N&&ve&&Ke&&(ve(N),Ke("intlify message resolve",L,N))}if(B(y)||be(y)||Ne(y))break;if(!ys(g,f)){const V=In(e,n,g,r,E);V!==n&&(y=V)}k=v}return[y,g,h]}function fl(e,n,o,l,a,r){const{messageCompiler:i,warnHtmlMessage:s}=e;if(Ne(l)){const g=l;return g.locale=g.locale||o,g.key=g.key||n,g}if(i==null){const g=(()=>l);return g.locale=o,g.key=n,g}let c=null,u,f;process.env.NODE_ENV!=="production"&&De&&(c=window.performance.now(),u="intlify-message-compilation-start",f="intlify-message-compilation-end",ve&&ve(u));const h=i(l,Is(e,o,a,l,s,r));if(process.env.NODE_ENV!=="production"&&De){const g=window.performance.now(),y=e.__v_emitter;y&&c&&y.emit("message-compilation",{type:"message-compilation",message:l,time:g-c,groupId:`translate:${n}`}),u&&f&&ve&&Ke&&(ve(f),Ke("intlify message compilation",u,f))}return h.locale=o,h.key=n,h.source=l,h}function As(e,n,o){let l=null,a,r;process.env.NODE_ENV!=="production"&&De&&(l=window.performance.now(),a="intlify-message-evaluation-start",r="intlify-message-evaluation-end",ve&&ve(a));const i=n(o);if(process.env.NODE_ENV!=="production"&&De){const s=window.performance.now(),c=e.__v_emitter;c&&l&&c.emit("message-evaluation",{type:"message-evaluation",value:i,time:s-l,groupId:`translate:${n.key}`}),a&&r&&ve&&Ke&&(ve(r),Ke("intlify message evaluation",a,r))}return i}function fn(...e){const[n,o,l]=e,a=X();if(!B(n)&&!ce(n)&&!Ne(n)&&!be(n))throw Oe(pe.INVALID_ARGUMENT);const r=ce(n)?String(n):(Ne(n),n);return ce(o)?a.plural=o:B(o)?a.default=o:j(o)&&!xt(o)?a.named=o:ie(o)&&(a.list=o),ce(l)?a.plural=l:B(l)?a.default=l:j(l)&&ue(a,l),[r,a]}function Is(e,n,o,l,a,r){return{locale:n,key:o,warnHtmlMessage:a,onError:i=>{if(r&&r(i),process.env.NODE_ENV!=="production"){const s=Vs(l),c=`Message compilation error: ${i.message}`,u=i.location&&s&&ti(s,i.location.start.offset,i.location.end.offset),f=e.__v_emitter;f&&s&&f.emit("compile-error",{message:s,error:i.message,start:i.location&&i.location.start.offset,end:i.location&&i.location.end.offset,groupId:`translate:${o}`}),console.error(u?`${c}
17
- ${u}`:c)}else throw i},onCacheKey:i=>Ka(n,o,i)}}function Vs(e){if(B(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function Os(e,n,o,l){const{modifiers:a,pluralRules:r,messageResolver:i,fallbackLocale:s,fallbackWarn:c,missingWarn:u,fallbackContext:f}=e,g={locale:n,modifiers:a,pluralRules:r,messages:(y,k)=>{let v=i(o,y);if(v==null&&(f||k)){const[,,E]=dl(f||e,y,n,s,c,u);v=i(E,y)}if(B(v)||be(v)){let E=!1;const _=fl(e,y,n,v,y,()=>{E=!0});return E?ko:_}else return Ne(v)?v:ko}};return e.processor&&(g.processor=e.processor),l.list&&(g.list=l.list),l.named&&(g.named=l.named),ce(l.plural)&&(g.pluralIndex=l.plural),g}Oi();/*!
16
+ */function os(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ke().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ke().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function we(t){return Y(t)&&Rn(t)===0&&(be(t,"b")||be(t,"body"))}const nl=["b","body"];function ls(t){return Fe(t,nl)}const ol=["c","cases"];function rs(t){return Fe(t,ol,[])}const ll=["s","static"];function as(t){return Fe(t,ll)}const rl=["i","items"];function is(t){return Fe(t,rl,[])}const al=["t","type"];function Rn(t){return Fe(t,al)}const il=["v","value"];function wt(t,n){const o=Fe(t,il);if(o!=null)return o;throw mt(n)}const sl=["m","modifier"];function ss(t){return Fe(t,sl)}const cl=["k","key"];function cs(t){const n=Fe(t,cl);if(n)return n;throw mt(6)}function Fe(t,n,o){for(let l=0;l<n.length;l++){const a=n[l];if(be(t,a)&&t[a]!=null)return t[a]}return o}const ul=[...nl,...ol,...ll,...rl,...cl,...sl,...il,...al];function mt(t){return new Error(`unhandled node type: ${t}`)}function cn(t){return o=>us(o,t)}function us(t,n){const o=ls(n);if(o==null)throw mt(0);if(Rn(o)===1){const r=rs(o);return t.plural(r.reduce((i,s)=>[...i,yo(t,s)],[]))}else return yo(t,o)}function yo(t,n){const o=as(n);if(o!=null)return t.type==="text"?o:t.normalize([o]);{const l=is(n).reduce((a,r)=>[...a,En(t,r)],[]);return t.normalize(l)}}function En(t,n){const o=Rn(n);switch(o){case 3:return wt(n,o);case 9:return wt(n,o);case 4:{const l=n;if(be(l,"k")&&l.k)return t.interpolate(t.named(l.k));if(be(l,"key")&&l.key)return t.interpolate(t.named(l.key));throw mt(o)}case 5:{const l=n;if(be(l,"i")&&ce(l.i))return t.interpolate(t.list(l.i));if(be(l,"index")&&ce(l.index))return t.interpolate(t.list(l.index));throw mt(o)}case 6:{const l=n,a=ss(l),r=cs(l);return t.linked(En(t,r),a?En(t,a):void 0,t.type)}case 7:return wt(n,o);case 8:return wt(n,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const ds="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function ms(t,n){n&&Di(t)&&Ve(zt(ds,{source:t}))}const fs=t=>t;let Lt=X();function ps(t,n={}){let o=!1;const l=n.onError||Ii;return n.onError=a=>{o=!0,l(a)},{...ns(t,n),detectError:o}}function gs(t,n){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&$(t)){const o=ae(n.warnHtmlMessage)?n.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&ms(t,o);const a=(n.onCacheKey||fs)(t),r=Lt[a];if(r)return r;const{ast:i,detectError:s}=ps(t,{...n,location:process.env.NODE_ENV!=="production",jit:!0}),c=cn(i);return s?c:Lt[a]=c}else{if(process.env.NODE_ENV!=="production"&&!we(t))return Ve(`the message that is resolve with key '${n.key}' is not supported for jit compilation`),(()=>t);const o=t.cacheKey;if(o){const l=Lt[o];return l||(Lt[o]=cn(t))}else return cn(t)}}let ft=null;function hs(t){ft=t}function Es(t,n,o){ft&&ft.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:n,meta:o})}const ys=ks("function:translate");function ks(t){return n=>ft&&ft.emit(t,n)}const pe={INVALID_ARGUMENT:Bi,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},_s=24;function $e(t){return rt(t,null,process.env.NODE_ENV!=="production"?{messages:vs}:void 0)}const vs={[pe.INVALID_ARGUMENT]:"Invalid arguments",[pe.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[pe.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[pe.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[pe.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[pe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[pe.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Mn(t,n){return n.locale!=null?ko(n.locale):ko(t.locale)}let un;function ko(t){if($(t))return t;if(ee(t)){if(t.resolvedOnce&&un!=null)return un;if(t.constructor.name==="Function"){const n=t();if(Si(n))throw $e(pe.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return un=n}else throw $e(pe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw $e(pe.NOT_SUPPORT_LOCALE_TYPE)}function Cs(t,n,o){return[...new Set([o,...ie(n)?n:Y(n)?Object.keys(n):$(n)?[n]:[o]])]}function dl(t,n,o){const l=$(o)?o:$t,a=t;a.__localeChainCache||(a.__localeChainCache=new Map);let r=a.__localeChainCache.get(l);if(!r){r=[];let i=[o];for(;ie(i);)i=_o(r,i,n);const s=ie(n)||!K(n)?n:n.default?n.default:null;i=$(s)?[s]:s,ie(i)&&_o(r,i,!1),a.__localeChainCache.set(l,r)}return r}function _o(t,n,o){let l=!0;for(let a=0;a<n.length&&ae(l);a++){const r=n[a];$(r)&&(l=Ns(t,n[a],o))}return l}function Ns(t,n,o){let l;const a=n.split("-");do{const r=a.join("-");l=Ss(t,r,o),a.splice(-1,1)}while(a.length&&l===!0);return l}function Ss(t,n,o){let l=!1;if(!t.includes(n)&&(l=!0,n)){l=n[n.length-1]!=="!";const a=n.replace(/!/g,"");t.push(a),(ie(o)||K(o))&&o[a]&&(l=o[a])}return l}const Ue=[];Ue[0]={w:[0],i:[3,0],"[":[4],o:[7]};Ue[1]={w:[1],".":[2],"[":[4],o:[7]};Ue[2]={w:[2],i:[3,0],0:[3,0]};Ue[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Ue[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Ue[5]={"'":[4,0],o:8,l:[5,0]};Ue[6]={'"':[4,0],o:8,l:[6,0]};const bs=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ws(t){return bs.test(t)}function Ls(t){const n=t.charCodeAt(0),o=t.charCodeAt(t.length-1);return n===o&&(n===34||n===39)?t.slice(1,-1):t}function Ts(t){if(t==null)return"o";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Bs(t){const n=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:ws(n)?Ls(n):"*"+n}function Vs(t){const n=[];let o=-1,l=0,a=0,r,i,s,c,u,d,p;const h=[];h[0]=()=>{i===void 0?i=s:i+=s},h[1]=()=>{i!==void 0&&(n.push(i),i=void 0)},h[2]=()=>{h[0](),a++},h[3]=()=>{if(a>0)a--,l=4,h[0]();else{if(a=0,i===void 0||(i=Bs(i),i===!1))return!1;h[1]()}};function _(){const v=t[o+1];if(l===5&&v==="'"||l===6&&v==='"')return o++,s="\\"+v,h[0](),!0}for(;l!==null;)if(o++,r=t[o],!(r==="\\"&&_())){if(c=Ts(r),p=Ue[l],u=p[c]||p.l||8,u===8||(l=u[0],u[1]!==void 0&&(d=h[u[1]],d&&(s=r,d()===!1))))return;if(l===7)return n}}const vo=new Map;function Is(t,n){return Y(t)?t[n]:null}function As(t,n){if(!Y(t))return null;let o=vo.get(n);if(o||(o=Vs(n),o&&vo.set(n,o)),!o)return null;const l=o.length;let a=t,r=0;for(;r<l;){const i=o[r];if(ul.includes(i)&&we(a))return null;const s=a[i];if(s===void 0||ee(a))return null;a=s,r++}return a}const Ee={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},Ds=8,$s={[Ee.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Ee.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Ee.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Ee.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Ee.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Ee.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Ee.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function Xe(t,...n){return zt($s[t],...n)}const Os="11.1.12",jt=-1,$t="en-US",Ot="",Co=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function Ps(){return{upper:(t,n)=>n==="text"&&$(t)?t.toUpperCase():n==="vnode"&&Y(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,n)=>n==="text"&&$(t)?t.toLowerCase():n==="vnode"&&Y(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,n)=>n==="text"&&$(t)?Co(t):n==="vnode"&&Y(t)&&"__v_isVNode"in t?Co(t.children):t}}let ml;function Rs(t){ml=t}let fl;function Ms(t){fl=t}let pl;function xs(t){pl=t}let gl=null;const Fs=t=>{gl=t},Us=()=>gl;let hl=null;const No=t=>{hl=t},Hs=()=>hl;let So=0;function zs(t={}){const n=ee(t.onWarn)?t.onWarn:Ve,o=$(t.version)?t.version:Os,l=$(t.locale)||ee(t.locale)?t.locale:$t,a=ee(l)?$t:l,r=ie(t.fallbackLocale)||K(t.fallbackLocale)||$(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:a,i=K(t.messages)?t.messages:dn(a),s=K(t.datetimeFormats)?t.datetimeFormats:dn(a),c=K(t.numberFormats)?t.numberFormats:dn(a),u=ue(X(),t.modifiers,Ps()),d=t.pluralRules||X(),p=ee(t.missing)?t.missing:null,h=ae(t.missingWarn)||Dt(t.missingWarn)?t.missingWarn:!0,_=ae(t.fallbackWarn)||Dt(t.fallbackWarn)?t.fallbackWarn:!0,v=!!t.fallbackFormat,C=!!t.unresolving,E=ee(t.postTranslation)?t.postTranslation:null,f=K(t.processor)?t.processor:null,y=ae(t.warnHtmlMessage)?t.warnHtmlMessage:!0,k=!!t.escapeParameter,N=ee(t.messageCompiler)?t.messageCompiler:ml;process.env.NODE_ENV!=="production"&&ee(t.messageCompiler)&&hi(Xe(Ee.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const T=ee(t.messageResolver)?t.messageResolver:fl||Is,A=ee(t.localeFallbacker)?t.localeFallbacker:pl||Cs,b=Y(t.fallbackContext)?t.fallbackContext:void 0,x=t,j=Y(x.__datetimeFormatters)?x.__datetimeFormatters:new Map,oe=Y(x.__numberFormatters)?x.__numberFormatters:new Map,ge=Y(x.__meta)?x.__meta:{};So++;const Z={version:o,cid:So,locale:l,fallbackLocale:r,messages:i,modifiers:u,pluralRules:d,missing:p,missingWarn:h,fallbackWarn:_,fallbackFormat:v,unresolving:C,postTranslation:E,processor:f,warnHtmlMessage:y,escapeParameter:k,messageCompiler:N,messageResolver:T,localeFallbacker:A,fallbackContext:b,onWarn:n,__meta:ge};return Z.datetimeFormats=s,Z.numberFormats=c,Z.__datetimeFormatters=j,Z.__numberFormatters=oe,process.env.NODE_ENV!=="production"&&(Z.__v_emitter=x.__v_emitter!=null?x.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Es(Z,o,ge),Z}const dn=t=>({[t]:X()});function Gt(t,n){return t instanceof RegExp?t.test(n):t}function El(t,n){return t instanceof RegExp?t.test(n):t}function xn(t,n,o,l,a){const{missing:r,onWarn:i}=t;if(process.env.NODE_ENV!=="production"){const s=t.__v_emitter;s&&s.emit("missing",{locale:o,key:n,type:a,groupId:`${a}:${n}`})}if(r!==null){const s=r(t,o,n,a);return $(s)?s:n}else return process.env.NODE_ENV!=="production"&&El(l,n)&&i(Xe(Ee.NOT_FOUND_KEY,{key:n,locale:o})),n}function dt(t,n,o){const l=t;l.__localeChainCache=new Map,t.localeFallbacker(t,o,n)}function yl(t,n){return t===n?!1:t.split("-")[0]===n.split("-")[0]}function Ws(t,n){const o=n.indexOf(t);if(o===-1)return!1;for(let l=o+1;l<n.length;l++)if(yl(t,n[l]))return!0;return!1}const bo=typeof Intl<"u",kl={dateTimeFormat:bo&&typeof Intl.DateTimeFormat<"u",numberFormat:bo&&typeof Intl.NumberFormat<"u"};function wo(t,...n){const{datetimeFormats:o,unresolving:l,fallbackLocale:a,onWarn:r,localeFallbacker:i}=t,{__datetimeFormatters:s}=t;if(process.env.NODE_ENV!=="production"&&!kl.dateTimeFormat)return r(Xe(Ee.CANNOT_FORMAT_DATE)),Ot;const[c,u,d,p]=yn(...n),h=ae(d.missingWarn)?d.missingWarn:t.missingWarn,_=ae(d.fallbackWarn)?d.fallbackWarn:t.fallbackWarn,v=!!d.part,C=Mn(t,d),E=i(t,a,C);if(!$(c)||c==="")return new Intl.DateTimeFormat(C,p).format(u);let f={},y,k=null,N=C,T=null;const A="datetime format";for(let j=0;j<E.length;j++){if(y=T=E[j],process.env.NODE_ENV!=="production"&&C!==y&&Gt(_,c)&&r(Xe(Ee.FALLBACK_TO_DATE_FORMAT,{key:c,target:y})),process.env.NODE_ENV!=="production"&&C!==y){const oe=t.__v_emitter;oe&&oe.emit("fallback",{type:A,key:c,from:N,to:T,groupId:`${A}:${c}`})}if(f=o[y]||{},k=f[c],K(k))break;xn(t,c,y,h,A),N=T}if(!K(k)||!$(y))return l?jt:c;let b=`${y}__${c}`;Wt(p)||(b=`${b}__${JSON.stringify(p)}`);let x=s.get(b);return x||(x=new Intl.DateTimeFormat(y,ue({},k,p)),s.set(b,x)),v?x.formatToParts(u):x.format(u)}const _l=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function yn(...t){const[n,o,l,a]=t,r=X();let i=X(),s;if($(n)){const c=n.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!c)throw $e(pe.INVALID_ISO_DATE_ARGUMENT);const u=c[3]?c[3].trim().startsWith("T")?`${c[1].trim()}${c[3].trim()}`:`${c[1].trim()}T${c[3].trim()}`:c[1].trim();s=new Date(u);try{s.toISOString()}catch{throw $e(pe.INVALID_ISO_DATE_ARGUMENT)}}else if(_i(n)){if(isNaN(n.getTime()))throw $e(pe.INVALID_DATE_ARGUMENT);s=n}else if(ce(n))s=n;else throw $e(pe.INVALID_ARGUMENT);return $(o)?r.key=o:K(o)&&Object.keys(o).forEach(c=>{_l.includes(c)?i[c]=o[c]:r[c]=o[c]}),$(l)?r.locale=l:K(l)&&(i=l),K(a)&&(i=a),[r.key||"",s,r,i]}function Lo(t,n,o){const l=t;for(const a in o){const r=`${n}__${a}`;l.__datetimeFormatters.has(r)&&l.__datetimeFormatters.delete(r)}}function To(t,...n){const{numberFormats:o,unresolving:l,fallbackLocale:a,onWarn:r,localeFallbacker:i}=t,{__numberFormatters:s}=t;if(process.env.NODE_ENV!=="production"&&!kl.numberFormat)return r(Xe(Ee.CANNOT_FORMAT_NUMBER)),Ot;const[c,u,d,p]=kn(...n),h=ae(d.missingWarn)?d.missingWarn:t.missingWarn,_=ae(d.fallbackWarn)?d.fallbackWarn:t.fallbackWarn,v=!!d.part,C=Mn(t,d),E=i(t,a,C);if(!$(c)||c==="")return new Intl.NumberFormat(C,p).format(u);let f={},y,k=null,N=C,T=null;const A="number format";for(let j=0;j<E.length;j++){if(y=T=E[j],process.env.NODE_ENV!=="production"&&C!==y&&Gt(_,c)&&r(Xe(Ee.FALLBACK_TO_NUMBER_FORMAT,{key:c,target:y})),process.env.NODE_ENV!=="production"&&C!==y){const oe=t.__v_emitter;oe&&oe.emit("fallback",{type:A,key:c,from:N,to:T,groupId:`${A}:${c}`})}if(f=o[y]||{},k=f[c],K(k))break;xn(t,c,y,h,A),N=T}if(!K(k)||!$(y))return l?jt:c;let b=`${y}__${c}`;Wt(p)||(b=`${b}__${JSON.stringify(p)}`);let x=s.get(b);return x||(x=new Intl.NumberFormat(y,ue({},k,p)),s.set(b,x)),v?x.formatToParts(u):x.format(u)}const vl=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function kn(...t){const[n,o,l,a]=t,r=X();let i=X();if(!ce(n))throw $e(pe.INVALID_ARGUMENT);const s=n;return $(o)?r.key=o:K(o)&&Object.keys(o).forEach(c=>{vl.includes(c)?i[c]=o[c]:r[c]=o[c]}),$(l)?r.locale=l:K(l)&&(i=l),K(a)&&(i=a),[r.key||"",s,r,i]}function Bo(t,n,o){const l=t;for(const a in o){const r=`${n}__${a}`;l.__numberFormatters.has(r)&&l.__numberFormatters.delete(r)}}const js=t=>t,Gs=t=>"",Ks="text",Ys=t=>t.length===0?"":On(t),qs=bi;function Vo(t,n){return t=Math.abs(t),n===2?t?t>1?1:0:1:t?Math.min(t,2):0}function Xs(t){const n=ce(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(ce(t.named.count)||ce(t.named.n))?ce(t.named.count)?t.named.count:ce(t.named.n)?t.named.n:n:n}function Zs(t,n){n.count||(n.count=t),n.n||(n.n=t)}function Js(t={}){const n=t.locale,o=Xs(t),l=Y(t.pluralRules)&&$(n)&&ee(t.pluralRules[n])?t.pluralRules[n]:Vo,a=Y(t.pluralRules)&&$(n)&&ee(t.pluralRules[n])?Vo:void 0,r=f=>f[l(o,f.length,a)],i=t.list||[],s=f=>i[f],c=t.named||X();ce(t.pluralIndex)&&Zs(o,c);const u=f=>c[f];function d(f,y){const k=ee(t.messages)?t.messages(f,!!y):Y(t.messages)?t.messages[f]:!1;return k||(t.parent?t.parent.message(f):Gs)}const p=f=>t.modifiers?t.modifiers[f]:js,h=K(t.processor)&&ee(t.processor.normalize)?t.processor.normalize:Ys,_=K(t.processor)&&ee(t.processor.interpolate)?t.processor.interpolate:qs,v=K(t.processor)&&$(t.processor.type)?t.processor.type:Ks,E={list:s,named:u,plural:r,linked:(f,...y)=>{const[k,N]=y;let T="text",A="";y.length===1?Y(k)?(A=k.modifier||A,T=k.type||T):$(k)&&(A=k||A):y.length===2&&($(k)&&(A=k||A),$(N)&&(T=N||T));const b=d(f,!0)(E),x=T==="vnode"&&ie(b)&&A?b[0]:b;return A?p(A)(x,T):x},message:d,type:v,interpolate:_,normalize:h,values:ue(X(),i,c)};return E}const Io=()=>"",Se=t=>ee(t);function Ao(t,...n){const{fallbackFormat:o,postTranslation:l,unresolving:a,messageCompiler:r,fallbackLocale:i,messages:s}=t,[c,u]=_n(...n),d=ae(u.missingWarn)?u.missingWarn:t.missingWarn,p=ae(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn,h=ae(u.escapeParameter)?u.escapeParameter:t.escapeParameter,_=!!u.resolvedMessage,v=$(u.default)||ae(u.default)?ae(u.default)?r?c:()=>c:u.default:o?r?c:()=>c:null,C=o||v!=null&&($(v)||ee(v)),E=Mn(t,u);h&&Qs(u);let[f,y,k]=_?[c,E,s[E]||X()]:Cl(t,c,E,i,p,d),N=f,T=c;if(!_&&!($(N)||we(N)||Se(N))&&C&&(N=v,T=N),!_&&(!($(N)||we(N)||Se(N))||!$(y)))return a?jt:c;if(process.env.NODE_ENV!=="production"&&$(N)&&t.messageCompiler==null)return Ve(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${c}'.`),c;let A=!1;const b=()=>{A=!0},x=Se(N)?N:Nl(t,c,y,N,T,b);if(A)return N;const j=oc(t,y,k,u),oe=Js(j),ge=ec(t,x,oe);let Z=l?l(ge,c):ge;if(h&&$(Z)&&(Z=Ci(Z)),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const Me={timestamp:Date.now(),key:$(c)?c:Se(N)?N.key:"",locale:y||(Se(N)?N.locale:""),format:$(N)?N:Se(N)?N.source:"",message:Z};Me.meta=ue({},t.__meta,Us()||{}),ys(Me)}return Z}function Qs(t){ie(t.list)?t.list=t.list.map(n=>$(n)?mo(n):n):Y(t.named)&&Object.keys(t.named).forEach(n=>{$(t.named[n])&&(t.named[n]=mo(t.named[n]))})}function Cl(t,n,o,l,a,r){const{messages:i,onWarn:s,messageResolver:c,localeFallbacker:u}=t,d=u(t,l,o);let p=X(),h,_=null,v=o,C=null;const E="translate";for(let f=0;f<d.length;f++){if(h=C=d[f],process.env.NODE_ENV!=="production"&&o!==h&&!yl(o,h)&&Gt(a,n)&&s(Xe(Ee.FALLBACK_TO_TRANSLATE,{key:n,target:h})),process.env.NODE_ENV!=="production"&&o!==h){const T=t.__v_emitter;T&&T.emit("fallback",{type:E,key:n,from:v,to:C,groupId:`${E}:${n}`})}p=i[h]||X();let y=null,k,N;if(process.env.NODE_ENV!=="production"&&Pe&&(y=window.performance.now(),k="intlify-message-resolve-start",N="intlify-message-resolve-end",Ne&&Ne(k)),(_=c(p,n))===null&&(_=p[n]),process.env.NODE_ENV!=="production"&&Pe){const T=window.performance.now(),A=t.__v_emitter;A&&y&&_&&A.emit("message-resolve",{type:"message-resolve",key:n,message:_,time:T-y,groupId:`${E}:${n}`}),k&&N&&Ne&&qe&&(Ne(N),qe("intlify message resolve",k,N))}if($(_)||we(_)||Se(_))break;if(!Ws(h,d)){const T=xn(t,n,h,r,E);T!==n&&(_=T)}v=C}return[_,h,p]}function Nl(t,n,o,l,a,r){const{messageCompiler:i,warnHtmlMessage:s}=t;if(Se(l)){const h=l;return h.locale=h.locale||o,h.key=h.key||n,h}if(i==null){const h=(()=>l);return h.locale=o,h.key=n,h}let c=null,u,d;process.env.NODE_ENV!=="production"&&Pe&&(c=window.performance.now(),u="intlify-message-compilation-start",d="intlify-message-compilation-end",Ne&&Ne(u));const p=i(l,tc(t,o,a,l,s,r));if(process.env.NODE_ENV!=="production"&&Pe){const h=window.performance.now(),_=t.__v_emitter;_&&c&&_.emit("message-compilation",{type:"message-compilation",message:l,time:h-c,groupId:`translate:${n}`}),u&&d&&Ne&&qe&&(Ne(d),qe("intlify message compilation",u,d))}return p.locale=o,p.key=n,p.source=l,p}function ec(t,n,o){let l=null,a,r;process.env.NODE_ENV!=="production"&&Pe&&(l=window.performance.now(),a="intlify-message-evaluation-start",r="intlify-message-evaluation-end",Ne&&Ne(a));const i=n(o);if(process.env.NODE_ENV!=="production"&&Pe){const s=window.performance.now(),c=t.__v_emitter;c&&l&&c.emit("message-evaluation",{type:"message-evaluation",value:i,time:s-l,groupId:`translate:${n.key}`}),a&&r&&Ne&&qe&&(Ne(r),qe("intlify message evaluation",a,r))}return i}function _n(...t){const[n,o,l]=t,a=X();if(!$(n)&&!ce(n)&&!Se(n)&&!we(n))throw $e(pe.INVALID_ARGUMENT);const r=ce(n)?String(n):(Se(n),n);return ce(o)?a.plural=o:$(o)?a.default=o:K(o)&&!Wt(o)?a.named=o:ie(o)&&(a.list=o),ce(l)?a.plural=l:$(l)?a.default=l:K(l)&&ue(a,l),[r,a]}function tc(t,n,o,l,a,r){return{locale:n,key:o,warnHtmlMessage:a,onError:i=>{if(r&&r(i),process.env.NODE_ENV!=="production"){const s=nc(l),c=`Message compilation error: ${i.message}`,u=i.location&&s&&wi(s,i.location.start.offset,i.location.end.offset),d=t.__v_emitter;d&&s&&d.emit("compile-error",{message:s,error:i.message,start:i.location&&i.location.start.offset,end:i.location&&i.location.end.offset,groupId:`translate:${o}`}),console.error(u?`${c}
17
+ ${u}`:c)}else throw i},onCacheKey:i=>yi(n,o,i)}}function nc(t){if($(t))return t;if(t.loc&&t.loc.source)return t.loc.source}function oc(t,n,o,l){const{modifiers:a,pluralRules:r,messageResolver:i,fallbackLocale:s,fallbackWarn:c,missingWarn:u,fallbackContext:d}=t,h={locale:n,modifiers:a,pluralRules:r,messages:(_,v)=>{let C=i(o,_);if(C==null&&(d||v)){const[,,E]=Cl(d||t,_,n,s,c,u);C=i(E,_)}if($(C)||we(C)){let E=!1;const y=Nl(t,_,n,C,_,()=>{E=!0});return E?Io:y}else return Se(C)?C:Io}};return t.processor&&(h.processor=t.processor),l.list&&(h.list=l.list),l.named&&(h.named=l.named),ce(l.plural)&&(h.pluralIndex=l.plural),h}os();/*!
18
18
  * vue-i18n v11.1.12
19
19
  * (c) 2025 kazuya kawaguchi
20
20
  * Released under the MIT License.
21
- */const Bs="11.1.12";function Ds(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(je().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(je().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(je().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(je().__INTLIFY_PROD_DEVTOOLS__=!1)}const de={UNEXPECTED_RETURN_TYPE:qi,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 ft(e,...n){return lt(e,null,process.env.NODE_ENV!=="production"?{messages:Ps,args:n}:void 0)}const Ps={[de.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[de.INVALID_ARGUMENT]:"Invalid argument",[de.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[de.NOT_INSTALLED]:"Need to install with `app.use` function",[de.UNEXPECTED_ERROR]:"Unexpected error",[de.REQUIRED_VALUE]:"Required in value: {0}",[de.INVALID_VALUE]:"Invalid value",[de.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[de.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[de.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[de.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},mn=Pe("__translateVNode"),pn=Pe("__datetimeParts"),gn=Pe("__numberParts"),hn=Pe("__enableEmitter"),En=Pe("__disableEmitter"),$s=Pe("__setPluralRules"),ml=Pe("__injectWithOption"),_n=Pe("__dispose"),Te={FALLBACK_TO_ROOT:ss,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13},Rs={[Te.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Te.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Te.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Te.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`,[Te.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]:"'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",[Te.DUPLICATE_USE_I18N_CALLING]:"Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."};function Bt(e,...n){return Mt(Rs[e],...n)}function mt(e){if(!K(e)||be(e))return e;for(const n in e)if(Se(e,n))if(!n.includes("."))K(e[n])&&mt(e[n]);else{const o=n.split("."),l=o.length-1;let a=e,r=!1;for(let i=0;i<l;i++){if(o[i]==="__proto__")throw new Error(`unsafe key: ${o[i]}`);if(o[i]in a||(a[o[i]]=X()),!K(a[o[i]])){process.env.NODE_ENV!=="production"&&Ae(Bt(Te.IGNORE_OBJ_FLATTEN,{key:o[i]})),r=!0;break}a=a[o[i]]}if(r||(be(a)?Qo.includes(o[l])||delete e[n]:(a[o[l]]=e[n],delete e[n])),!be(a)){const i=a[o[l]];K(i)&&mt(i)}}return e}function pl(e,n){const{messages:o,__i18n:l,messageResolver:a,flatJson:r}=n,i=j(o)?o:ie(l)?X():{[e]:X()};if(ie(l)&&l.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:c,resource:u}=s;c?(i[c]=i[c]||X(),Tt(u,i[c])):Tt(u,i)}else B(s)&&Tt(JSON.parse(s),i)}),a==null&&r)for(const s in i)Se(i,s)&&mt(i[s]);return i}function gl(e){return e.type}function Ms(e,n,o){let l=K(n.messages)?n.messages:X();"__i18nGlobal"in o&&(l=pl(e.locale.value,{messages:l,__i18n:o.__i18nGlobal}));const a=Object.keys(l);a.length&&a.forEach(r=>{e.mergeLocaleMessage(r,l[r])});{if(K(n.datetimeFormats)){const r=Object.keys(n.datetimeFormats);r.length&&r.forEach(i=>{e.mergeDateTimeFormat(i,n.datetimeFormats[i])})}if(K(n.numberFormats)){const r=Object.keys(n.numberFormats);r.length&&r.forEach(i=>{e.mergeNumberFormat(i,n.numberFormats[i])})}}}function vo(e){return t.createVNode(t.Text,null,e,0)}const No="__INTLIFY_META__",So=()=>[],xs=()=>!1;let bo=0;function wo(e){return((n,o,l,a)=>e(o,l,t.getCurrentInstance()||void 0,a))}const Fs=()=>{const e=t.getCurrentInstance();let n=null;return e&&(n=gl(e)[No])?{[No]:n}:null};function Us(e={}){const{__root:n,__injectWithOption:o}=e,l=n===void 0,a=e.flatJson,r=De?t.ref:t.shallowRef;let i=ae(e.inheritLocale)?e.inheritLocale:!0;const s=r(n&&i?n.locale.value:B(e.locale)?e.locale:Vt),c=r(n&&i?n.fallbackLocale.value:B(e.fallbackLocale)||ie(e.fallbackLocale)||j(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),u=r(pl(s.value,e)),f=r(j(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),h=r(j(e.numberFormats)?e.numberFormats:{[s.value]:{}});let g=n?n.missingWarn:ae(e.missingWarn)||It(e.missingWarn)?e.missingWarn:!0,y=n?n.fallbackWarn:ae(e.fallbackWarn)||It(e.fallbackWarn)?e.fallbackWarn:!0,k=n?n.fallbackRoot:ae(e.fallbackRoot)?e.fallbackRoot:!0,v=!!e.fallbackFormat,E=ee(e.missing)?e.missing:null,m=ee(e.missing)?wo(e.missing):null,_=ee(e.postTranslation)?e.postTranslation:null,L=n?n.warnHtmlMessage:ae(e.warnHtmlMessage)?e.warnHtmlMessage:!0,N=!!e.escapeParameter;const V=n?n.modifiers:j(e.modifiers)?e.modifiers:{};let O=e.pluralRules||n&&n.pluralRules,w;w=(()=>{l&&fo(null);const C={version:Bs,locale:s.value,fallbackLocale:c.value,messages:u.value,modifiers:V,pluralRules:O,missing:m===null?void 0:m,missingWarn:g,fallbackWarn:y,fallbackFormat:v,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:L,escapeParameter:N,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};C.datetimeFormats=f.value,C.numberFormats=h.value,C.__datetimeFormatters=j(w)?w.__datetimeFormatters:void 0,C.__numberFormatters=j(w)?w.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(C.__v_emitter=j(w)?w.__v_emitter:void 0);const T=_s(C);return l&&fo(T),T})(),ct(w,s.value,c.value);function G(){return[s.value,c.value,u.value,f.value,h.value]}const oe=t.computed({get:()=>s.value,set:C=>{w.locale=C,s.value=C}}),ge=t.computed({get:()=>c.value,set:C=>{w.fallbackLocale=C,c.value=C,ct(w,s.value,C)}}),Z=t.computed(()=>u.value),$e=t.computed(()=>f.value),Xe=t.computed(()=>h.value);function $(){return ee(_)?_:null}function I(C){_=C,w.postTranslation=C}function U(){return E}function R(C){C!==null&&(m=wo(C)),E=C,w.missing=m}function Ie(C,T){return C!=="translate"||!T.resolvedMessage}const fe=(C,T,Y,re,He,yt)=>{G();let Ze;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,l||(w.fallbackContext=n?Es():void 0),Ze=C(w)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,l||(w.fallbackContext=void 0)}if(Y!=="translate exists"&&ce(Ze)&&Ze===Ft||Y==="translate exists"&&!Ze){const[ze,or]=T();if(process.env.NODE_ENV!=="production"&&n&&B(ze)&&Ie(Y,or)&&(k&&(Ut(y,ze)||al(g,ze))&&Ae(Bt(Te.FALLBACK_TO_ROOT,{key:ze,type:Y})),process.env.NODE_ENV!=="production")){const{__v_emitter:Wn}=w;Wn&&k&&Wn.emit("fallback",{type:Y,key:ze,to:"global",groupId:`${Y}:${ze}`})}return n&&k?re(n):He(ze)}else{if(yt(Ze))return Ze;throw ft(de.UNEXPECTED_RETURN_TYPE)}};function Fe(...C){return fe(T=>Reflect.apply(Co,null,[T,...C]),()=>fn(...C),"translate",T=>Reflect.apply(T.t,T,[...C]),T=>T,T=>B(T))}function Gt(...C){const[T,Y,re]=C;if(re&&!K(re))throw ft(de.INVALID_ARGUMENT);return Fe(T,Y,ue({resolvedMessage:!0},re||{}))}function Wt(...C){return fe(T=>Reflect.apply(go,null,[T,...C]),()=>un(...C),"datetime format",T=>Reflect.apply(T.d,T,[...C]),()=>Ot,T=>B(T)||ie(T))}function jt(...C){return fe(T=>Reflect.apply(Eo,null,[T,...C]),()=>dn(...C),"number format",T=>Reflect.apply(T.n,T,[...C]),()=>Ot,T=>B(T)||ie(T))}function Kt(C){return C.map(T=>B(T)||ce(T)||ae(T)?vo(String(T)):T)}const Yt={normalize:Kt,interpolate:C=>C,type:"vnode"};function Et(...C){return fe(T=>{let Y;const re=T;try{re.processor=Yt,Y=Reflect.apply(Co,null,[re,...C])}finally{re.processor=null}return Y},()=>fn(...C),"translate",T=>T[mn](...C),T=>[vo(T)],T=>ie(T))}function qt(...C){return fe(T=>Reflect.apply(Eo,null,[T,...C]),()=>dn(...C),"number format",T=>T[gn](...C),So,T=>B(T)||ie(T))}function _t(...C){return fe(T=>Reflect.apply(go,null,[T,...C]),()=>un(...C),"datetime format",T=>T[pn](...C),So,T=>B(T)||ie(T))}function Xt(C){O=C,w.pluralRules=O}function Zt(C,T){return fe(()=>{if(!C)return!1;const Y=B(T)?T:s.value,re=Ue(Y),He=w.messageResolver(re,C);return be(He)||Ne(He)||B(He)},()=>[C],"translate exists",Y=>Reflect.apply(Y.te,Y,[C,T]),xs,Y=>ae(Y))}function at(C){let T=null;const Y=el(w,c.value,s.value);for(let re=0;re<Y.length;re++){const He=u.value[Y[re]]||{},yt=w.messageResolver(He,C);if(yt!=null){T=yt;break}}return T}function it(C){const T=at(C);return T??(n?n.tm(C)||{}:{})}function Ue(C){return u.value[C]||{}}function st(C,T){if(a){const Y={[C]:T};for(const re in Y)Se(Y,re)&&mt(Y[re]);T=Y[C]}u.value[C]=T,w.messages=u.value}function Jt(C,T){u.value[C]=u.value[C]||{};const Y={[C]:T};if(a)for(const re in Y)Se(Y,re)&&mt(Y[re]);T=Y[C],Tt(T,u.value[C]),w.messages=u.value}function d(C){return f.value[C]||{}}function p(C,T){f.value[C]=T,w.datetimeFormats=f.value,ho(w,C,T)}function b(C,T){f.value[C]=ue(f.value[C]||{},T),w.datetimeFormats=f.value,ho(w,C,T)}function D(C){return h.value[C]||{}}function Q(C,T){h.value[C]=T,w.numberFormats=h.value,_o(w,C,T)}function le(C,T){h.value[C]=ue(h.value[C]||{},T),w.numberFormats=h.value,_o(w,C,T)}bo++,n&&De&&(t.watch(n.locale,C=>{i&&(s.value=C,w.locale=C,ct(w,s.value,c.value))}),t.watch(n.fallbackLocale,C=>{i&&(c.value=C,w.fallbackLocale=C,ct(w,s.value,c.value))}));const W={id:bo,locale:oe,fallbackLocale:ge,get inheritLocale(){return i},set inheritLocale(C){i=C,C&&n&&(s.value=n.locale.value,c.value=n.fallbackLocale.value,ct(w,s.value,c.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:Z,get modifiers(){return V},get pluralRules(){return O||{}},get isGlobal(){return l},get missingWarn(){return g},set missingWarn(C){g=C,w.missingWarn=g},get fallbackWarn(){return y},set fallbackWarn(C){y=C,w.fallbackWarn=y},get fallbackRoot(){return k},set fallbackRoot(C){k=C},get fallbackFormat(){return v},set fallbackFormat(C){v=C,w.fallbackFormat=v},get warnHtmlMessage(){return L},set warnHtmlMessage(C){L=C,w.warnHtmlMessage=C},get escapeParameter(){return N},set escapeParameter(C){N=C,w.escapeParameter=C},t:Fe,getLocaleMessage:Ue,setLocaleMessage:st,mergeLocaleMessage:Jt,getPostTranslationHandler:$,setPostTranslationHandler:I,getMissingHandler:U,setMissingHandler:R,[$s]:Xt};return W.datetimeFormats=$e,W.numberFormats=Xe,W.rt=Gt,W.te=Zt,W.tm=it,W.d=Wt,W.n=jt,W.getDateTimeFormat=d,W.setDateTimeFormat=p,W.mergeDateTimeFormat=b,W.getNumberFormat=D,W.setNumberFormat=Q,W.mergeNumberFormat=le,W[ml]=o,W[mn]=Et,W[pn]=_t,W[gn]=qt,process.env.NODE_ENV!=="production"&&(W[hn]=C=>{w.__v_emitter=C},W[En]=()=>{w.__v_emitter=void 0}),W}function Lo(e,n){}const Vn={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Hs({slots:e},n){return n.length===1&&n[0]==="default"?(e.default?e.default():[]).reduce((l,a)=>[...l,...a.type===t.Fragment?a.children:[a]],[]):n.reduce((o,l)=>{const a=e[l];return a&&(o[l]=a()),o},X())}function hl(){return t.Fragment}ue({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ce(e)||!isNaN(e)}},Vn);function zs(e){return ie(e)&&!B(e[0])}function El(e,n,o,l){const{slots:a,attrs:r}=n;return()=>{const i={part:!0};let s=X();e.locale&&(i.locale=e.locale),B(e.format)?i.key=e.format:K(e.format)&&(B(e.format.key)&&(i.key=e.format.key),s=Object.keys(e.format).reduce((g,y)=>o.includes(y)?ue(X(),g,{[y]:e.format[y]}):g,X()));const c=l(e.value,i,s);let u=[i.key];ie(c)?u=c.map((g,y)=>{const k=a[g.type],v=k?k({[g.type]:g.value,index:y,parts:c}):[g.value];return zs(v)&&(v[0].key=`${g.type}-${y}`),v}):B(c)&&(u=[c]);const f=ue(X(),r),h=B(e.tag)||K(e.tag)?e.tag:hl();return t.h(h,f,u)}}ue({value:{type:Number,required:!0},format:{type:[String,Object]}},Vn);const Gs=Pe("global-vue-i18n");function gt(e={}){const n=t.getCurrentInstance();if(n==null)throw ft(de.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw ft(de.NOT_INSTALLED);const o=Ws(n),l=Ks(o),a=gl(n),r=js(e,a);if(r==="global")return Ms(l,e,a),l;if(r==="parent"){let c=Ys(o,n,e.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&Ae(Bt(Te.NOT_FOUND_PARENT_SCOPE)),c=l),c}const i=o;let s=i.__getInstance(n);if(s==null){const c=ue({},e);"__i18n"in a&&(c.__i18n=a.__i18n),l&&(c.__root=l),s=Us(c),i.__composerExtend&&(s[_n]=i.__composerExtend(s)),Xs(i,n,s),i.__setInstance(n,s)}else process.env.NODE_ENV!=="production"&&r==="local"&&Ae(Bt(Te.DUPLICATE_USE_I18N_CALLING));return s}function Ws(e){const n=t.inject(e.isCE?Gs:e.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw ft(e.isCE?de.NOT_INSTALLED_WITH_PROVIDE:de.UNEXPECTED_ERROR);return n}function js(e,n){return xt(e)?"__i18n"in n?"local":"global":e.useScope?e.useScope:"local"}function Ks(e){return e.mode==="composition"?e.global:e.global.__composer}function Ys(e,n,o=!1){let l=null;const a=n.root;let r=qs(n,o);for(;r!=null;){const i=e;if(e.mode==="composition")l=i.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const s=i.__getInstance(r);s!=null&&(l=s.__composer,o&&l&&!l[ml]&&(l=null))}if(l!=null||a===r)break;r=r.parent}return l}function qs(e,n=!1){return e==null?null:n&&e.vnode.ctx||e.parent}function Xs(e,n,o){let l=null;t.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&n.vnode.el){n.vnode.el.__VUE_I18N__=o,l=ni();const a=o;a[hn]&&a[hn](l),l.on("*",Lo)}},n),t.onUnmounted(()=>{const a=o;process.env.NODE_ENV!=="production"&&n.vnode.el&&n.vnode.el.__VUE_I18N__&&(l&&l.off("*",Lo),a[En]&&a[En](),delete n.vnode.el.__VUE_I18N__),e.__deleteInstance(n);const r=a[_n];r&&(r(),delete a[_n])},n)}ue({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Vn);Ds();fs(Gi);ms(is);ps(el);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=je();e.__INTLIFY__=!0,Wi(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const q=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(),a=t.ref(),r=t.ref();return t.onMounted(async()=>{t.nextTick(async()=>{const i=await n;typeof document<"u"&&a.value&&r.value&&(l.value=new i.Tooltip(a.value,{trigger:"hover",html:!0,placement:o.placement,title:r.value.innerHTML,customClass:"tooltip-custom"}))})}),t.onBeforeUnmount(async()=>{l.value?.dispose()}),(i,s)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("span",t.mergeProps({ref_key:"$tooltip",ref:a},i.$attrs),[t.renderSlot(i.$slots,"default")],16),t.createElementVNode("span",{class:"d-none",ref_key:"$tooltipContent",ref:r},[t.renderSlot(i.$slots,"content",{},()=>[t.createTextVNode(t.toDisplayString(i.title),1)])],512)],64))}}),Zs=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,${r.value}`),l=t.computed(()=>({flowable:i.value?i.value.flowable:!1})),a=t.computed(()=>({backgroundImage:`url(${o.value})`})),r=t.computed(()=>{let c=i.value&&i.value.icon?window.atob(i.value.icon):void 0;c||(c='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="0.75em" height="1em" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 384 512"><path d="M288 32H0v448h384V128l-96-96zm64 416H32V64h224l96 96v288z" fill="currentColor"/></svg>');const u=document.getElementsByTagName("html")[0].className.indexOf("dark")>=0;let f=Ce(u?"--bs-gray-900":"--bs-black")??"#FFFFFF";return n.theme&&(f=(n.theme==="dark"?Ce("--bs-gray-900"):Ce("--bs-black"))??f),n.variable&&(f=Ce(n.variable)??f),c=c.replace(/currentColor/g,f),window.btoa(c)}),i=t.computed(()=>n.cls?(n.icons||{})[s(n.cls)]:n.customIcon);function s(c){return c.includes("$")?c.substring(0,c.indexOf("$")):c}return(c,u)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass([l.value,"wrapper"])},[c.onlyIcon?(t.openBlock(),t.createElementBlock("div",{key:1,class:"icon",style:t.normalizeStyle(a.value)},null,4)):(t.openBlock(),t.createBlock(q,{key:0,title:c.cls},{default:t.withCtx(()=>[t.createElementVNode("div",{class:"icon",style:t.normalizeStyle(a.value)},null,4)]),_:1},8,["title"]))],2))}}),On=P(Zs,[["__scopeId","data-v-23f8d853"]]),Js={name:"OpenInNewIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Qs=["aria-hidden","aria-label"],ec=["fill","width","height"],tc={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"},nc={key:0};function oc(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon open-in-new-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",tc,[o.title?(t.openBlock(),t.createElementBlock("title",nc,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ec))],16,Qs)}const _l=P(Js,[["render",oc]]),lc={name:"ArrowExpandAllIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},rc=["aria-hidden","aria-label"],ac=["fill","width","height"],ic={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"},sc={key:0};function cc(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon arrow-expand-all-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",ic,[o.title?(t.openBlock(),t.createElementBlock("title",sc,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ac))],16,rc)}const uc=P(lc,[["render",cc]]),dc={class:"dependency-text d-flex flex-column flex-grow-1"},fc={class:"dependency-flow-text text-truncate"},mc={class:"dependency-namespace-text text-truncate"},pc={class:"text-white top-button-div"},gc=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:[S.EVENTS.EXPAND_DEPENDENCIES,S.EVENTS.OPEN_LINK,S.EVENTS.MOUSE_OVER,S.EVENTS.MOUSE_LEAVE],setup(e,{emit:n}){const o=n,{t:l}=gt(),a=t.computed(()=>window.btoa(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="25" viewBox="0 0 24 25" fill="none">
21
+ */const lc="11.1.12";function rc(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Ke().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Ke().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ke().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ke().__INTLIFY_PROD_DEVTOOLS__=!1)}const de={UNEXPECTED_RETURN_TYPE:_s,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function pt(t,...n){return rt(t,null,process.env.NODE_ENV!=="production"?{messages:ac,args:n}:void 0)}const ac={[de.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[de.INVALID_ARGUMENT]:"Invalid argument",[de.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[de.NOT_INSTALLED]:"Need to install with `app.use` function",[de.UNEXPECTED_ERROR]:"Unexpected error",[de.REQUIRED_VALUE]:"Required in value: {0}",[de.INVALID_VALUE]:"Invalid value",[de.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[de.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[de.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[de.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},vn=Re("__translateVNode"),Cn=Re("__datetimeParts"),Nn=Re("__numberParts"),Sn=Re("__enableEmitter"),bn=Re("__disableEmitter"),ic=Re("__setPluralRules"),Sl=Re("__injectWithOption"),wn=Re("__dispose"),Be={FALLBACK_TO_ROOT:Ds,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13},sc={[Be.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Be.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Be.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Be.DEPRECATE_LEGACY_MODE]:`Legacy API mode has been deprecated in v11. Use Composition API mode instead.
22
+ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html`,[Be.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]:"'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",[Be.DUPLICATE_USE_I18N_CALLING]:"Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."};function Pt(t,...n){return zt(sc[t],...n)}function gt(t){if(!Y(t)||we(t))return t;for(const n in t)if(be(t,n))if(!n.includes("."))Y(t[n])&&gt(t[n]);else{const o=n.split("."),l=o.length-1;let a=t,r=!1;for(let i=0;i<l;i++){if(o[i]==="__proto__")throw new Error(`unsafe key: ${o[i]}`);if(o[i]in a||(a[o[i]]=X()),!Y(a[o[i]])){process.env.NODE_ENV!=="production"&&Ve(Pt(Be.IGNORE_OBJ_FLATTEN,{key:o[i]})),r=!0;break}a=a[o[i]]}if(r||(we(a)?ul.includes(o[l])||delete t[n]:(a[o[l]]=t[n],delete t[n])),!we(a)){const i=a[o[l]];Y(i)&&gt(i)}}return t}function bl(t,n){const{messages:o,__i18n:l,messageResolver:a,flatJson:r}=n,i=K(o)?o:ie(l)?X():{[t]:X()};if(ie(l)&&l.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:c,resource:u}=s;c?(i[c]=i[c]||X(),It(u,i[c])):It(u,i)}else $(s)&&It(JSON.parse(s),i)}),a==null&&r)for(const s in i)be(i,s)&&gt(i[s]);return i}function wl(t){return t.type}function cc(t,n,o){let l=Y(n.messages)?n.messages:X();"__i18nGlobal"in o&&(l=bl(t.locale.value,{messages:l,__i18n:o.__i18nGlobal}));const a=Object.keys(l);a.length&&a.forEach(r=>{t.mergeLocaleMessage(r,l[r])});{if(Y(n.datetimeFormats)){const r=Object.keys(n.datetimeFormats);r.length&&r.forEach(i=>{t.mergeDateTimeFormat(i,n.datetimeFormats[i])})}if(Y(n.numberFormats)){const r=Object.keys(n.numberFormats);r.length&&r.forEach(i=>{t.mergeNumberFormat(i,n.numberFormats[i])})}}}function Do(t){return e.createVNode(e.Text,null,t,0)}const $o="__INTLIFY_META__",Oo=()=>[],uc=()=>!1;let Po=0;function Ro(t){return((n,o,l,a)=>t(o,l,e.getCurrentInstance()||void 0,a))}const dc=()=>{const t=e.getCurrentInstance();let n=null;return t&&(n=wl(t)[$o])?{[$o]:n}:null};function mc(t={}){const{__root:n,__injectWithOption:o}=t,l=n===void 0,a=t.flatJson,r=Pe?e.ref:e.shallowRef;let i=ae(t.inheritLocale)?t.inheritLocale:!0;const s=r(n&&i?n.locale.value:$(t.locale)?t.locale:$t),c=r(n&&i?n.fallbackLocale.value:$(t.fallbackLocale)||ie(t.fallbackLocale)||K(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:s.value),u=r(bl(s.value,t)),d=r(K(t.datetimeFormats)?t.datetimeFormats:{[s.value]:{}}),p=r(K(t.numberFormats)?t.numberFormats:{[s.value]:{}});let h=n?n.missingWarn:ae(t.missingWarn)||Dt(t.missingWarn)?t.missingWarn:!0,_=n?n.fallbackWarn:ae(t.fallbackWarn)||Dt(t.fallbackWarn)?t.fallbackWarn:!0,v=n?n.fallbackRoot:ae(t.fallbackRoot)?t.fallbackRoot:!0,C=!!t.fallbackFormat,E=ee(t.missing)?t.missing:null,f=ee(t.missing)?Ro(t.missing):null,y=ee(t.postTranslation)?t.postTranslation:null,k=n?n.warnHtmlMessage:ae(t.warnHtmlMessage)?t.warnHtmlMessage:!0,N=!!t.escapeParameter;const T=n?n.modifiers:K(t.modifiers)?t.modifiers:{};let A=t.pluralRules||n&&n.pluralRules,b;b=(()=>{l&&No(null);const S={version:lc,locale:s.value,fallbackLocale:c.value,messages:u.value,modifiers:T,pluralRules:A,missing:f===null?void 0:f,missingWarn:h,fallbackWarn:_,fallbackFormat:C,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:k,escapeParameter:N,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};S.datetimeFormats=d.value,S.numberFormats=p.value,S.__datetimeFormatters=K(b)?b.__datetimeFormatters:void 0,S.__numberFormatters=K(b)?b.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(S.__v_emitter=K(b)?b.__v_emitter:void 0);const B=zs(S);return l&&No(B),B})(),dt(b,s.value,c.value);function j(){return[s.value,c.value,u.value,d.value,p.value]}const oe=e.computed({get:()=>s.value,set:S=>{b.locale=S,s.value=S}}),ge=e.computed({get:()=>c.value,set:S=>{b.fallbackLocale=S,c.value=S,dt(b,s.value,S)}}),Z=e.computed(()=>u.value),Me=e.computed(()=>d.value),Je=e.computed(()=>p.value);function P(){return ee(y)?y:null}function I(S){y=S,b.postTranslation=S}function U(){return E}function R(S){S!==null&&(f=Ro(S)),E=S,b.missing=f}function Ie(S,B){return S!=="translate"||!B.resolvedMessage}const me=(S,B,q,re,We,Ct)=>{j();let Qe;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,l||(b.fallbackContext=n?Hs():void 0),Qe=S(b)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,l||(b.fallbackContext=void 0)}if(q!=="translate exists"&&ce(Qe)&&Qe===jt||q==="translate exists"&&!Qe){const[je,br]=B();if(process.env.NODE_ENV!=="production"&&n&&$(je)&&Ie(q,br)&&(v&&(Gt(_,je)||El(h,je))&&Ve(Pt(Be.FALLBACK_TO_ROOT,{key:je,type:q})),process.env.NODE_ENV!=="production")){const{__v_emitter:no}=b;no&&v&&no.emit("fallback",{type:q,key:je,to:"global",groupId:`${q}:${je}`})}return n&&v?re(n):We(je)}else{if(Ct(Qe))return Qe;throw pt(de.UNEXPECTED_RETURN_TYPE)}};function He(...S){return me(B=>Reflect.apply(Ao,null,[B,...S]),()=>_n(...S),"translate",B=>Reflect.apply(B.t,B,[...S]),B=>B,B=>$(B))}function Zt(...S){const[B,q,re]=S;if(re&&!Y(re))throw pt(de.INVALID_ARGUMENT);return He(B,q,ue({resolvedMessage:!0},re||{}))}function Jt(...S){return me(B=>Reflect.apply(wo,null,[B,...S]),()=>yn(...S),"datetime format",B=>Reflect.apply(B.d,B,[...S]),()=>Ot,B=>$(B)||ie(B))}function Qt(...S){return me(B=>Reflect.apply(To,null,[B,...S]),()=>kn(...S),"number format",B=>Reflect.apply(B.n,B,[...S]),()=>Ot,B=>$(B)||ie(B))}function en(S){return S.map(B=>$(B)||ce(B)||ae(B)?Do(String(B)):B)}const tn={normalize:en,interpolate:S=>S,type:"vnode"};function _t(...S){return me(B=>{let q;const re=B;try{re.processor=tn,q=Reflect.apply(Ao,null,[re,...S])}finally{re.processor=null}return q},()=>_n(...S),"translate",B=>B[vn](...S),B=>[Do(B)],B=>ie(B))}function nn(...S){return me(B=>Reflect.apply(To,null,[B,...S]),()=>kn(...S),"number format",B=>B[Nn](...S),Oo,B=>$(B)||ie(B))}function vt(...S){return me(B=>Reflect.apply(wo,null,[B,...S]),()=>yn(...S),"datetime format",B=>B[Cn](...S),Oo,B=>$(B)||ie(B))}function on(S){A=S,b.pluralRules=A}function ln(S,B){return me(()=>{if(!S)return!1;const q=$(B)?B:s.value,re=ze(q),We=b.messageResolver(re,S);return we(We)||Se(We)||$(We)},()=>[S],"translate exists",q=>Reflect.apply(q.te,q,[S,B]),uc,q=>ae(q))}function st(S){let B=null;const q=dl(b,c.value,s.value);for(let re=0;re<q.length;re++){const We=u.value[q[re]]||{},Ct=b.messageResolver(We,S);if(Ct!=null){B=Ct;break}}return B}function ct(S){const B=st(S);return B??(n?n.tm(S)||{}:{})}function ze(S){return u.value[S]||{}}function ut(S,B){if(a){const q={[S]:B};for(const re in q)be(q,re)&&gt(q[re]);B=q[S]}u.value[S]=B,b.messages=u.value}function rn(S,B){u.value[S]=u.value[S]||{};const q={[S]:B};if(a)for(const re in q)be(q,re)&&gt(q[re]);B=q[S],It(B,u.value[S]),b.messages=u.value}function m(S){return d.value[S]||{}}function g(S,B){d.value[S]=B,b.datetimeFormats=d.value,Lo(b,S,B)}function L(S,B){d.value[S]=ue(d.value[S]||{},B),b.datetimeFormats=d.value,Lo(b,S,B)}function O(S){return p.value[S]||{}}function Q(S,B){p.value[S]=B,b.numberFormats=p.value,Bo(b,S,B)}function le(S,B){p.value[S]=ue(p.value[S]||{},B),b.numberFormats=p.value,Bo(b,S,B)}Po++,n&&Pe&&(e.watch(n.locale,S=>{i&&(s.value=S,b.locale=S,dt(b,s.value,c.value))}),e.watch(n.fallbackLocale,S=>{i&&(c.value=S,b.fallbackLocale=S,dt(b,s.value,c.value))}));const G={id:Po,locale:oe,fallbackLocale:ge,get inheritLocale(){return i},set inheritLocale(S){i=S,S&&n&&(s.value=n.locale.value,c.value=n.fallbackLocale.value,dt(b,s.value,c.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:Z,get modifiers(){return T},get pluralRules(){return A||{}},get isGlobal(){return l},get missingWarn(){return h},set missingWarn(S){h=S,b.missingWarn=h},get fallbackWarn(){return _},set fallbackWarn(S){_=S,b.fallbackWarn=_},get fallbackRoot(){return v},set fallbackRoot(S){v=S},get fallbackFormat(){return C},set fallbackFormat(S){C=S,b.fallbackFormat=C},get warnHtmlMessage(){return k},set warnHtmlMessage(S){k=S,b.warnHtmlMessage=S},get escapeParameter(){return N},set escapeParameter(S){N=S,b.escapeParameter=S},t:He,getLocaleMessage:ze,setLocaleMessage:ut,mergeLocaleMessage:rn,getPostTranslationHandler:P,setPostTranslationHandler:I,getMissingHandler:U,setMissingHandler:R,[ic]:on};return G.datetimeFormats=Me,G.numberFormats=Je,G.rt=Zt,G.te=ln,G.tm=ct,G.d=Jt,G.n=Qt,G.getDateTimeFormat=m,G.setDateTimeFormat=g,G.mergeDateTimeFormat=L,G.getNumberFormat=O,G.setNumberFormat=Q,G.mergeNumberFormat=le,G[Sl]=o,G[vn]=_t,G[Cn]=vt,G[Nn]=nn,process.env.NODE_ENV!=="production"&&(G[Sn]=S=>{b.__v_emitter=S},G[bn]=()=>{b.__v_emitter=void 0}),G}function Mo(t,n){}const Fn={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function fc({slots:t},n){return n.length===1&&n[0]==="default"?(t.default?t.default():[]).reduce((l,a)=>[...l,...a.type===e.Fragment?a.children:[a]],[]):n.reduce((o,l)=>{const a=t[l];return a&&(o[l]=a()),o},X())}function Ll(){return e.Fragment}ue({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>ce(t)||!isNaN(t)}},Fn);function pc(t){return ie(t)&&!$(t[0])}function Tl(t,n,o,l){const{slots:a,attrs:r}=n;return()=>{const i={part:!0};let s=X();t.locale&&(i.locale=t.locale),$(t.format)?i.key=t.format:Y(t.format)&&($(t.format.key)&&(i.key=t.format.key),s=Object.keys(t.format).reduce((h,_)=>o.includes(_)?ue(X(),h,{[_]:t.format[_]}):h,X()));const c=l(t.value,i,s);let u=[i.key];ie(c)?u=c.map((h,_)=>{const v=a[h.type],C=v?v({[h.type]:h.value,index:_,parts:c}):[h.value];return pc(C)&&(C[0].key=`${h.type}-${_}`),C}):$(c)&&(u=[c]);const d=ue(X(),r),p=$(t.tag)||Y(t.tag)?t.tag:Ll();return e.h(p,d,u)}}ue({value:{type:Number,required:!0},format:{type:[String,Object]}},Fn);const gc=Re("global-vue-i18n");function yt(t={}){const n=e.getCurrentInstance();if(n==null)throw pt(de.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw pt(de.NOT_INSTALLED);const o=hc(n),l=yc(o),a=wl(n),r=Ec(t,a);if(r==="global")return cc(l,t,a),l;if(r==="parent"){let c=kc(o,n,t.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&Ve(Pt(Be.NOT_FOUND_PARENT_SCOPE)),c=l),c}const i=o;let s=i.__getInstance(n);if(s==null){const c=ue({},t);"__i18n"in a&&(c.__i18n=a.__i18n),l&&(c.__root=l),s=mc(c),i.__composerExtend&&(s[wn]=i.__composerExtend(s)),vc(i,n,s),i.__setInstance(n,s)}else process.env.NODE_ENV!=="production"&&r==="local"&&Ve(Pt(Be.DUPLICATE_USE_I18N_CALLING));return s}function hc(t){const n=e.inject(t.isCE?gc:t.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw pt(t.isCE?de.NOT_INSTALLED_WITH_PROVIDE:de.UNEXPECTED_ERROR);return n}function Ec(t,n){return Wt(t)?"__i18n"in n?"local":"global":t.useScope?t.useScope:"local"}function yc(t){return t.mode==="composition"?t.global:t.global.__composer}function kc(t,n,o=!1){let l=null;const a=n.root;let r=_c(n,o);for(;r!=null;){const i=t;if(t.mode==="composition")l=i.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const s=i.__getInstance(r);s!=null&&(l=s.__composer,o&&l&&!l[Sl]&&(l=null))}if(l!=null||a===r)break;r=r.parent}return l}function _c(t,n=!1){return t==null?null:n&&t.vnode.ctx||t.parent}function vc(t,n,o){let l=null;e.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&n.vnode.el){n.vnode.el.__VUE_I18N__=o,l=Li();const a=o;a[Sn]&&a[Sn](l),l.on("*",Mo)}},n),e.onUnmounted(()=>{const a=o;process.env.NODE_ENV!=="production"&&n.vnode.el&&n.vnode.el.__VUE_I18N__&&(l&&l.off("*",Mo),a[bn]&&a[bn](),delete n.vnode.el.__VUE_I18N__),t.__deleteInstance(n);const r=a[wn];r&&(r(),delete a[wn])},n)}ue({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Fn);rc();Rs(gs);Ms(As);xs(dl);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const t=Ke();t.__INTLIFY__=!0,hs(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const W=e.defineComponent({__name:"Tooltip",props:{title:{default:void 0},placement:{default:"top"}},setup(t){let n;typeof document<"u"&&(n=import("bootstrap"));const o=t,l=e.ref(),a=e.ref(),r=e.ref();return e.onMounted(async()=>{e.nextTick(async()=>{const i=await n;typeof document<"u"&&a.value&&r.value&&(l.value=new i.Tooltip(a.value,{trigger:"hover",html:!0,placement:o.placement,title:r.value.innerHTML,customClass:"tooltip-custom"}))})}),e.onBeforeUnmount(async()=>{l.value?.dispose()}),(i,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("span",e.mergeProps({ref_key:"$tooltip",ref:a},i.$attrs),[e.renderSlot(i.$slots,"default")],16),e.createElementVNode("span",{class:"d-none",ref_key:"$tooltipContent",ref:r},[e.renderSlot(i.$slots,"content",{},()=>[e.createTextVNode(e.toDisplayString(i.title),1)])],512)],64))}}),Cc=e.defineComponent({name:"TaskIcon",__name:"TaskIcon",props:{customIcon:{},cls:{},theme:{},icons:{},onlyIcon:{type:Boolean},variable:{}},setup(t){const n=t,o=e.computed(()=>`data:image/svg+xml;base64,${r.value}`),l=e.computed(()=>({flowable:i.value?i.value.flowable:!1})),a=e.computed(()=>({backgroundImage:`url(${o.value})`})),r=e.computed(()=>{let c=i.value&&i.value.icon?window.atob(i.value.icon):void 0;c||(c='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="0.75em" height="1em" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 384 512"><path d="M288 32H0v448h384V128l-96-96zm64 416H32V64h224l96 96v288z" fill="currentColor"/></svg>');const u=document.getElementsByTagName("html")[0].className.indexOf("dark")>=0;let d=Ce(u?"--bs-gray-900":"--bs-black")??"#FFFFFF";return n.theme&&(d=(n.theme==="dark"?Ce("--bs-gray-900"):Ce("--bs-black"))??d),n.variable&&(d=Ce(n.variable)??d),c=c.replace(/currentColor/g,d),window.btoa(c)}),i=e.computed(()=>n.cls?(n.icons||{})[s(n.cls)]:n.customIcon);function s(c){return c.includes("$")?c.substring(0,c.indexOf("$")):c}return(c,u)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([l.value,"wrapper"])},[c.onlyIcon?(e.openBlock(),e.createElementBlock("div",{key:1,class:"icon",style:e.normalizeStyle(a.value)},null,4)):(e.openBlock(),e.createBlock(W,{key:0,title:c.cls},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"icon",style:e.normalizeStyle(a.value)},null,4)]),_:1},8,["title"]))],2))}}),Un=D(Cc,[["__scopeId","data-v-23f8d853"]]),Nc={name:"OpenInNewIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Sc=["aria-hidden","aria-label"],bc=["fill","width","height"],wc={d:"M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z"},Lc={key:0};function Tc(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon open-in-new-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",wc,[o.title?(e.openBlock(),e.createElementBlock("title",Lc,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,bc))],16,Sc)}const Bl=D(Nc,[["render",Tc]]),Bc={name:"ArrowExpandAllIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Vc=["aria-hidden","aria-label"],Ic=["fill","width","height"],Ac={d:"M9.5,13.09L10.91,14.5L6.41,19H10V21H3V14H5V17.59L9.5,13.09M10.91,9.5L9.5,10.91L5,6.41V10H3V3H10V5H6.41L10.91,9.5M14.5,13.09L19,17.59V14H21V21H14V19H17.59L13.09,14.5L14.5,13.09M13.09,9.5L17.59,5H14V3H21V10H19V6.41L14.5,10.91L13.09,9.5Z"},Dc={key:0};function $c(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon arrow-expand-all-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Ac,[o.title?(e.openBlock(),e.createElementBlock("title",Dc,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Ic))],16,Vc)}const Oc=D(Bc,[["render",$c]]),Pc={class:"dependency-text d-flex flex-column flex-grow-1"},Rc={class:"dependency-flow-text text-truncate"},Mc={class:"dependency-namespace-text text-truncate"},xc={class:"text-white top-button-div"},Fc=e.defineComponent({name:"Dependencies",inheritAttrs:!1,__name:"DependenciesNode",props:{data:{type:Object,required:!0},sourcePosition:{type:String,required:!0},targetPosition:{type:String,required:!0},id:{type:String,required:!0}},emits:[w.EVENTS.EXPAND_DEPENDENCIES,w.EVENTS.OPEN_LINK,w.EVENTS.MOUSE_OVER,w.EVENTS.MOUSE_LEAVE],setup(t,{emit:n}){const o=n,{t:l}=yt(),a=e.computed(()=>window.btoa(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="25" viewBox="0 0 24 25" fill="none">
23
23
  <path fill-rule="evenodd" clip-rule="evenodd" d="M4.34546 9.63757C4.74074 10.5277 5.31782 11.3221 6.03835 11.9681L7.03434 10.8209C6.4739 10.3185 6.02504 9.70059 5.71758 9.00824C5.41012 8.3159 5.25111 7.56496 5.25111 6.80532C5.25111 6.04568 5.41012 5.29475 5.71758 4.6024C6.02504 3.91006 6.4739 3.29216 7.03434 2.78977L6.03835 1.64258C5.31782 2.28851 4.74074 3.08293 4.34546 3.97307C3.95019 4.86321 3.74575 5.82867 3.74575 6.80532C3.74575 7.78197 3.95019 8.74744 4.34546 9.63757ZM16.955 4.38931C17.4802 3.97411 18.1261 3.74777 18.7913 3.74576C19.5894 3.74576 20.3547 4.06807 20.919 4.64177C21.4833 5.21548 21.8004 5.9936 21.8004 6.80494C21.8004 7.61628 21.4833 8.3944 20.919 8.96811C20.3547 9.54181 19.5894 9.86412 18.7913 9.86412C18.2559 9.86126 17.7312 9.71144 17.2725 9.43048L12.3325 14.4529L11.2688 13.3715L16.2088 8.34906C16.0668 8.10583 15.9592 7.84348 15.8891 7.56973H11.2688V6.04014H15.8891C16.055 5.38511 16.4298 4.80451 16.955 4.38931ZM17.9555 8.07674C18.2029 8.24482 18.4938 8.33453 18.7913 8.33453C19.1902 8.33412 19.5727 8.17284 19.8548 7.88607C20.1368 7.59931 20.2955 7.21049 20.2959 6.80494C20.2959 6.50241 20.2076 6.20668 20.0423 5.95514C19.877 5.70361 19.642 5.50756 19.3671 5.39178C19.0922 5.27601 18.7897 5.24572 18.4978 5.30474C18.206 5.36376 17.9379 5.50944 17.7275 5.72336C17.5171 5.93727 17.3738 6.20982 17.3157 6.50653C17.2577 6.80324 17.2875 7.11079 17.4014 7.39029C17.5152 7.66978 17.7081 7.90867 17.9555 8.07674ZM3.74621 15.2177V16.7473H7.19606L2.2417 21.7842L3.30539 22.8656L8.25975 17.8287V21.336H9.76427V15.2177H3.74621ZM15.7823 18.2769H12.7733V19.8064H15.7823V22.1008H21.8004V15.9825H15.7823V18.2769ZM17.2868 20.5712V17.5121H20.2959V20.5712H17.2868ZM8.02885 9.67292C7.62863 9.31407 7.30809 8.87275 7.08853 8.37827C6.86897 7.88378 6.75542 7.34747 6.75542 6.80494C6.75542 6.26241 6.86897 5.72609 7.08853 5.23161C7.30809 4.73713 7.62863 4.29581 8.02885 3.93696L9.02484 5.08415C8.78458 5.29946 8.59215 5.5643 8.46034 5.86106C8.32853 6.15782 8.26035 6.47971 8.26035 6.80532C8.26035 7.13094 8.32853 7.45282 8.46034 7.74958C8.59215 8.04634 8.78458 8.31118 9.02484 8.52649L8.02885 9.67292Z" fill="white"/>
24
- </svg>`));return(r,i)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(t.unref(ne.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(On,{"custom-icon":{icon:a.value},class:"bg-pink rounded",theme:"light"},null,8,["custom-icon"]),t.createElementVNode("div",dc,[t.createElementVNode("div",fc,[t.createVNode(q,{title:e.data.flowId},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.data.flowId),1)]),_:1},8,["title"])]),t.createElementVNode("div",mc,[t.createVNode(q,{title:e.data.namespace},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.data.namespace),1)]),_:1},8,["title"])])]),t.createElementVNode("div",pc,[t.renderSlot(r.$slots,"badge-button-before",{},void 0,!0),e.data.link?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:i[0]||(i[0]=s=>r.$emit(t.unref(S.EVENTS).OPEN_LINK,e.data))},[t.createVNode(q,{title:t.unref(l)("open")},{default:t.withCtx(()=>[t.createVNode(_l,{class:"button-icon",alt:"Open in new tab"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),e.data.expandEnabled?(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:i[1]||(i[1]=s=>o(t.unref(S.EVENTS).EXPAND_DEPENDENCIES,e.data))},[t.createVNode(q,{title:t.unref(l)("expand")},{default:t.withCtx(()=>[t.createVNode(uc,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),t.renderSlot(r.$slots,"badge-button-after",{},void 0,!0)])],2),t.createVNode(t.unref(ne.Handle),{type:"target",position:e.targetPosition},null,8,["position"])],64))}}),hc=P(gc,[["__scopeId","data-v-2271d5b0"]]);var Be=(e=>(e.Lines="lines",e.Dots="dots",e))(Be||{});const yl=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]}`})},kl=function({radius:e,color:n}){return t.h("circle",{cx:e,cy:e,r:e,fill:n})};Be.Lines+"",Be.Dots+"";const Ec={[Be.Dots]:"#81818a",[Be.Lines]:"#eee"},_c=["id","x","y","width","height","patternTransform"],yc={key:2,height:"100",width:"100"},kc=["fill"],Cc=["x","y","fill"],vc={name:"Background",compatConfig:{MODE:3}},Nc=t.defineComponent({...vc,props:{id:{},variant:{default:()=>Be.Dots},gap:{default:20},size:{default:1},lineWidth:{default:1},patternColor:{},color:{},bgColor:{},height:{default:100},width:{default:100},x:{default:0},y:{default:0},offset:{default:0}},setup(e){const{id:n,viewport:o}=ne.useVueFlow(),l=t.computed(()=>{const i=o.value.zoom,[s,c]=Array.isArray(e.gap)?e.gap:[e.gap,e.gap],u=[s*i||1,c*i||1],f=e.size*i,[h,g]=Array.isArray(e.offset)?e.offset:[e.offset,e.offset],y=[h*i||1+u[0]/2,g*i||1+u[1]/2];return{scaledGap:u,offset:y,size:f}}),a=t.toRef(()=>`pattern-${n}${e.id?`-${e.id}`:""}`),r=t.toRef(()=>e.color||e.patternColor||Ec[e.variant||Be.Dots]);return(i,s)=>(t.openBlock(),t.createElementBlock("svg",{class:"vue-flow__background vue-flow__container",style:t.normalizeStyle({height:`${i.height>100?100:i.height}%`,width:`${i.width>100?100:i.width}%`})},[t.renderSlot(i.$slots,"pattern-container",{id:a.value},()=>[t.createElementVNode("pattern",{id:a.value,x:t.unref(o).x%l.value.scaledGap[0],y:t.unref(o).y%l.value.scaledGap[1],width:l.value.scaledGap[0],height:l.value.scaledGap[1],patternTransform:`translate(-${l.value.offset[0]},-${l.value.offset[1]})`,patternUnits:"userSpaceOnUse"},[t.renderSlot(i.$slots,"pattern",{},()=>[i.variant===t.unref(Be).Lines?(t.openBlock(),t.createBlock(t.unref(yl),{key:0,size:i.lineWidth,color:r.value,dimensions:l.value.scaledGap},null,8,["size","color","dimensions"])):i.variant===t.unref(Be).Dots?(t.openBlock(),t.createBlock(t.unref(kl),{key:1,color:r.value,radius:l.value.size/2},null,8,["color","radius"])):t.createCommentVNode("",!0),i.bgColor?(t.openBlock(),t.createElementBlock("svg",yc,[t.createElementVNode("rect",{width:"100%",height:"100%",fill:i.bgColor},null,8,kc)])):t.createCommentVNode("",!0)])],8,_c)]),t.createElementVNode("rect",{x:i.x,y:i.y,width:"100%",height:"100%",fill:`url(#${a.value})`},null,8,Cc),t.renderSlot(i.$slots,"default",{id:a.value})],4))}}),Sc={name:"ArrowCollapseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},bc=["aria-hidden","aria-label"],wc=["fill","width","height"],Lc={d:"M19.5,3.09L15,7.59V4H13V11H20V9H16.41L20.91,4.5L19.5,3.09M4,13V15H7.59L3.09,19.5L4.5,20.91L9,16.41V20H11V13H4Z"},Tc={key:0};function Ac(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon arrow-collapse-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Lc,[o.title?(t.openBlock(),t.createElementBlock("title",Tc,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,wc))],16,bc)}const Ic=P(Sc,[["render",Ac]]),Vc={class:"top-button-div text-white d-flex"},Oc={inheritAttrs:!1,components:{Tooltip:q},data(){return{tooltips:[]}},computed:{classes(){return{"unused-path":this.data.unused}},clusterName(){const e=this.data.taskNode;if(e?.type?.endsWith("SubflowGraphTask")){const n=e.task.subflowId??e.task;return n.namespace+" "+n.flowId}return S.Utils.afterLastDot(this.id)}}},Bc=Object.assign(Oc,{__name:"ClusterNode",props:{data:{type:Object,default:void 0},sourcePosition:{type:ne.Position,default:void 0},targetPosition:{type:ne.Position,default:void 0},id:{type:String,default:void 0}},emits:[S.EVENTS.COLLAPSE],setup(e,{emit:n}){const o=e,l=n,a=()=>{l(S.EVENTS.COLLAPSE,o.id)};return(r,i)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(r.classes)},[t.createElementVNode("span",{class:t.normalizeClass(["badge rounded-pill text-truncate text-color position-reliative",[`bg-${e.data.color}`]])},t.toDisplayString(r.clusterName),3),t.createElementVNode("div",Vc,[e.data.collapsable?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:i[0]||(i[0]=s=>a())},[t.createVNode(q,{title:r.$t("collapse")},{default:t.withCtx(()=>[t.createVNode(Ic,{class:"button-icon",alt:"Collapse task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0)])],2))}}),Dc=P(Bc,[["__scopeId","data-v-0c251e77"]]),Pc={name:"CircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},$c=["aria-hidden","aria-label"],Rc=["fill","width","height"],Mc={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"},xc={key:0};function Fc(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Mc,[o.title?(t.openBlock(),t.createElementBlock("title",xc,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Rc))],16,$c)}const Cl=P(Pc,[["render",Fc]]),Uc={name:"Dot",components:{Handle:ne.Handle,CircleIcon:Cl},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,[S.Utils.afterLastDot(this.data.node.type)]:!0}}}},Hc=Object.assign(Uc,{setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(n.classes)},[t.createVNode(t.unref(ne.Handle),{type:"source",class:"custom-handle",position:e.sourcePosition},null,8,["position"]),t.createElementVNode("div",{class:t.normalizeClass(["dot",n.classes])},[t.createVNode(Cl,{class:t.normalizeClass([{"text-danger":e.data.node.branchType==="ERROR"},"circle"]),alt:"circle"},null,8,["class"])],2),t.createVNode(t.unref(ne.Handle),{type:"target",class:"custom-handle",position:e.targetPosition},null,8,["position"])],2))}}),zc=P(Hc,[["__scopeId","data-v-666f472b"]]),Gc={name:"PlusIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Wc=["aria-hidden","aria-label"],jc=["fill","width","height"],Kc={d:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"},Yc={key:0};function qc(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon plus-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Kc,[o.title?(t.openBlock(),t.createElementBlock("title",Yc,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,jc))],16,Wc)}const Xc=P(Gc,[["render",qc]]),Zc={class:"add-task-div rounded d-flex justify-content-center align-items-center"},Jc=t.defineComponent({name:"AddTaskButton",__name:"AddTaskButton",props:{addTask:{type:Boolean}},setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock("div",Zc,[n.addTask?(t.openBlock(),t.createBlock(Xc,{key:0,alt:"add task icon"})):t.createCommentVNode("",!0)]))}}),Qc=P(Jc,[["__scopeId","data-v-536dd646"]]),eu=["id","d","marker-end"],tu=t.defineComponent({inheritAttrs:!1,__name:"EdgeNode",props:{id:{type:String,default:void 0},data:{type:Object,default:void 0},sourceX:{type:Number,default:void 0},sourceY:{type:Number,default:void 0},targetX:{type:Number,default:void 0},targetY:{type:Number,default:void 0},markerEnd:{type:String,default:void 0},sourcePosition:{type:String,default:void 0},targetPosition:{type:String,default:void 0}},setup(e){const n=e,o=t.computed(()=>n.data?{"vue-flow__edge-path":!0,["stroke-"+n.data.color]:n.data.color,"unused-path":n.data.unused}:{});let l=i=>i;try{const{t:i}=gt();l=i}catch{}const a=t.computed(()=>{const{haveAdd:i}=n.data??{};return`${l("add task")} ${i?.length===2?`${l(i[1])} ${i[0]}`:""}`.trim()}),r=t.computed(()=>ne.getSmoothStepPath(n));return(i,s)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[r.value?.length?(t.openBlock(),t.createElementBlock("path",{key:0,id:e.id,class:t.normalizeClass(o.value),style:t.normalizeStyle(e.data.haveDashArray?{strokeDasharray:"2"}:{}),d:r.value[0],"marker-end":e.markerEnd},null,14,eu)):t.createCommentVNode("",!0),r.value?.length?(t.openBlock(),t.createBlock(t.unref(ne.EdgeLabelRenderer),{key:1,style:{"z-index":"10"}},{default:t.withCtx(()=>[t.createElementVNode("div",{style:t.normalizeStyle({pointerEvents:"all",position:"absolute",transform:`translate(-50%, -50%) translate(${r.value[1]}px,${r.value[2]}px)`})},[t.createVNode(q,{title:a.value},{default:t.withCtx(()=>[e.data.haveAdd?(t.openBlock(),t.createBlock(Qc,{key:0,"add-task":!0,onClick:s[0]||(s[0]=c=>i.$emit(t.unref(S.EVENTS).ADD_TASK,e.data.haveAdd)),class:t.normalizeClass({"text-danger":e.data.color})},null,8,["class"])):t.createCommentVNode("",!0)]),_:1},8,["title"])],4)]),_:1})):t.createCommentVNode("",!0)],64))}}),nu=P(tu,[["__scopeId","data-v-5e05a3ec"]]),ou=["innerHTML"],lu=t.defineComponent({__name:"Duration",props:{histories:{}},setup(e){const n=e;t.watch(()=>n.histories,(y,k)=>{k[0].date!==y[0].date&&s()});const o=t.ref(""),l=t.ref();t.onMounted(()=>{s()});const a=t.computed(()=>n.histories?.length&&new Date(n.histories[0].date.toString()).getTime()),r=t.computed(()=>n.histories[n.histories.length-1]),i=t.computed(()=>n.histories.filter(y=>y.date.isValid()&&y.date&&y.state));function s(){l.value||(l.value=setInterval(()=>{h(),n.histories&&!te.isRunning(r.value.state)&&c()},100))}function c(){l.value&&(clearInterval(l.value),l.value=void 0)}function u(){return f()-a.value}function f(){return!n.histories||te.isRunning(r.value.state)?+new Date:new Date(r.value.date.toString()).getTime()}function h(){o.value=i.value.length===0?"&nbsp;":S.humanDuration(u()/1e3)}function g(y){return"ks-duration-tt-square-"+y.toLowerCase()}return t.onBeforeUnmount(()=>{c()}),(y,k)=>(t.openBlock(),t.createBlock(q,{key:r.value.date.toString()},{content:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.value,(v,E)=>(t.openBlock(),t.createElementBlock("span",{key:"tt-"+E,class:"ks-duration-tt"},[t.createElementVNode("span",{class:t.normalizeClass(["ks-duration-tt-square",g(v.state)])},null,2),t.createElementVNode("strong",null,t.toDisplayString(v.state)+": ",1),t.createTextVNode(t.toDisplayString(S.dateFilter(v.date.toISOString(),"iso"))+" ",1),k[0]||(k[0]=t.createElementVNode("br",null,null,-1))]))),128))]),default:t.withCtx(()=>[t.createElementVNode("span",{innerHTML:o.value},null,8,ou)]),_:1}))}}),ru={class:"btn-group content rounded-1 content-children text-truncate"},au={key:0,class:"taskRunCount"},iu={key:1},su={key:2},cu=t.defineComponent({name:"ExecutionInformations",__name:"ExecutionInformations",props:{color:{},uid:{},execution:{},task:{},state:{}},setup(e){const n=e,o=t.computed(()=>n.execution?.taskRunList?n.execution.taskRunList:[]),l=t.computed(()=>o.value.filter(r=>r.taskId===S.afterLastDot(n.uid??""))),a=t.computed(()=>{if(!l.value)return;const r=Math.max(...l.value.filter(s=>s.state.histories&&s.state.histories.length>0).map(s=>new Date(s.state.histories[s.state.histories.length-1].date).getTime())),i=Math.max(...l.value.map(s=>en.duration(s.state.duration).asMilliseconds()/1e3,0));return[{date:en(r).subtract(i,"second"),state:"CREATED"},{date:en(r),state:n.state}]});return(r,i)=>(t.openBlock(),t.createElementBlock("div",ru,[l.value.length>0?(t.openBlock(),t.createElementBlock("span",au,t.toDisplayString(l.value.length)+" task runs",1)):t.createCommentVNode("",!0),l.value.length>0?(t.openBlock(),t.createElementBlock("span",iu," | ")):t.createCommentVNode("",!0),a.value?(t.openBlock(),t.createElementBlock("span",su,[t.createVNode(lu,{histories:a.value},null,8,["histories"])])):t.createCommentVNode("",!0)]))}}),uu=P(cu,[["__scopeId","data-v-96fa5d6e"]]),du={name:"InformationOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},fu=["aria-hidden","aria-label"],mu=["fill","width","height"],pu={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"},gu={key:0};function hu(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon information-outline-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",pu,[o.title?(t.openBlock(),t.createElementBlock("title",gu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,mu))],16,fu)}const Eu=P(du,[["render",hu]]),_u={name:"ArrowExpandIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},yu=["aria-hidden","aria-label"],ku=["fill","width","height"],Cu={d:"M10,21V19H6.41L10.91,14.5L9.5,13.09L5,17.59V14H3V21H10M14.5,10.91L19,6.41V10H21V3H14V5H17.59L13.09,9.5L14.5,10.91Z"},vu={key:0};function Nu(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon arrow-expand-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Cu,[o.title?(t.openBlock(),t.createElementBlock("title",vu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ku))],16,yu)}const Bn=P(_u,[["render",Nu]]),Su={class:"icon rounded"},bu={class:"node-content"},wu={class:"d-flex node-title"},Lu={class:"text-truncate task-title"},Tu={key:0,class:"d-flex"},Au={class:"text-white top-button-div"},Iu=t.defineComponent({name:"BasicNode",inheritAttrs:!1,__name:"BasicNode",props:{id:{},title:{},type:{},disabled:{type:Boolean},state:{},data:{},icons:{},iconComponent:{},class:{}},emits:[S.EVENTS.EXPAND,S.EVENTS.OPEN_LINK,S.EVENTS.SHOW_LOGS,S.EVENTS.MOUSE_OVER,S.EVENTS.MOUSE_LEAVE,S.EVENTS.ADD_ERROR,S.EVENTS.EDIT,S.EVENTS.DELETE,S.EVENTS.ADD_TASK,S.EVENTS.SHOW_DESCRIPTION],setup(e,{emit:n}){const o=n,l=e;function a(){o(S.EVENTS.MOUSE_OVER,l.data.node)}function r(){o(S.EVENTS.MOUSE_LEAVE)}const i=t.computed(()=>l.data?.expandable||!1),s=t.computed(()=>l.data.node?.plugin??l.data.node?.task??l.data.node?.trigger??null),c=t.computed(()=>s.value?.description??null),u=t.computed(()=>S.Utils.afterLastDot(l.id??"")),f=t.computed(()=>["default","danger"].includes(l.data.color)?"":l.data.color),h=t.computed(()=>[{"unused-path":l.data.unused,disabled:s.value?.disabled||l.data.parent?.taskNode?.task?.disabled},l.class]),g=t.computed(()=>{if(l.data.node.triggerDeclaration)return l.data.node.triggerDeclaration.type;if(s.value)return s.value?.type}),y=t.computed(()=>{if(s.value?.type?.endsWith("SubflowGraphTask")){const v=s.value.subflowId??s.value;return v.namespace+" "+v.flowId}return u.value}),k=t.computed(()=>l.title??u.value);return(v,E)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["node-wrapper rounded-3",{...h.value,"running-border-animation":v.state==="RUNNING"}]),style:t.normalizeStyle({borderColor:v.state?`var(--ks-border-${v.state.toLowerCase()})`:void 0}),onMouseover:a,onMouseleave:r},[t.createElementVNode("div",Su,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(v.iconComponent||On),{cls:g.value,class:t.normalizeClass([f.value,"rounded bg-white"]),theme:"light",icons:v.icons},null,8,["cls","class","icons"]))]),t.createElementVNode("div",bu,[t.createElementVNode("div",wu,[t.createElementVNode("div",Lu,[t.createVNode(q,{title:y.value},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(k.value),1)]),_:1},8,["title"])]),c.value?(t.openBlock(),t.createElementBlock("span",Tu,[t.createVNode(q,{title:v.$t("show description"),class:"d-flex align-items-center"},{default:t.withCtx(()=>[t.createVNode(Eu,{onClick:E[0]||(E[0]=m=>v.$emit(t.unref(S.EVENTS).SHOW_DESCRIPTION,{id:u.value,description:c.value})),class:"description-button ms-2"})]),_:1},8,["title"])])):t.createCommentVNode("",!0)]),t.renderSlot(v.$slots,"content",{},void 0,!0)]),t.createElementVNode("div",Au,[t.renderSlot(v.$slots,"badge-button-before",{},void 0,!0),v.data.link?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",[`bg-${v.data.color}`]]),onClick:E[1]||(E[1]=m=>v.$emit(t.unref(S.EVENTS).OPEN_LINK,{link:v.data.link}))},[t.createVNode(q,{title:v.$t("open")},{default:t.withCtx(()=>[t.createVNode(_l,{class:"button-icon",alt:"Open in new tab"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),i.value?(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(["circle-button",[`bg-${v.data.color}`]]),onClick:E[2]||(E[2]=m=>v.$emit(t.unref(S.EVENTS).EXPAND))},[t.createVNode(q,{title:v.$t("expand")},{default:t.withCtx(()=>[t.createVNode(Bn,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),t.renderSlot(v.$slots,"badge-button-after",{},void 0,!0)])],38))}}),Dn=P(Iu,[["__scopeId","data-v-fafddf6d"]]),Pn=Symbol("execution-injection-key"),vl=Symbol("subflows-executions-injection-key"),Vu={name:"PencilIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ou=["aria-hidden","aria-label"],Bu=["fill","width","height"],Du={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"},Pu={key:0};function $u(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon pencil-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Du,[o.title?(t.openBlock(),t.createElementBlock("title",Pu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Bu))],16,Ou)}const $n=P(Vu,[["render",$u]]),Ru={name:"DeleteIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Mu=["aria-hidden","aria-label"],xu=["fill","width","height"],Fu={d:"M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z"},Uu={key:0};function Hu(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon delete-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Fu,[o.title?(t.openBlock(),t.createElementBlock("title",Uu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,xu))],16,Mu)}const Rn=P(Ru,[["render",Hu]]),zu={name:"TextBoxSearchIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Gu=["aria-hidden","aria-label"],Wu=["fill","width","height"],ju={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"},Ku={key:0};function Yu(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon text-box-search-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",ju,[o.title?(t.openBlock(),t.createElementBlock("title",Ku,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Wu))],16,Gu)}const qu=P(zu,[["render",Yu]]),Xu={name:"AlertOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Zu=["aria-hidden","aria-label"],Ju=["fill","width","height"],Qu={d:"M12,2L1,21H23M12,6L19.53,19H4.47M11,10V14H13V10M11,16V18H13V16"},ed={key:0};function td(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon alert-outline-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Qu,[o.title?(t.openBlock(),t.createElementBlock("title",ed,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Ju))],16,Zu)}const nd=P(Xu,[["render",td]]),od={name:"SendLockIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ld=["aria-hidden","aria-label"],rd=["fill","width","height"],ad={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"},id={key:0};function sd(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon send-lock-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",ad,[o.title?(t.openBlock(),t.createElementBlock("title",id,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,rd))],16,ld)}const cd=P(od,[["render",sd]]),ud={name:"PlayIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},dd=["aria-hidden","aria-label"],fd=["fill","width","height"],md={d:"M8,5.14V19.14L19,12.14L8,5.14Z"},pd={key:0};function gd(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon play-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",md,[o.title?(t.openBlock(),t.createElementBlock("title",pd,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,fd))],16,dd)}const hd=P(ud,[["render",gd]]),Ed={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},_d=["aria-hidden","aria-label"],yd=["fill","width","height"],kd={d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"},Cd={key:0};function vd(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon check-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",kd,[o.title?(t.openBlock(),t.createElementBlock("title",Cd,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,yd))],16,_d)}const Nl=P(Ed,[["render",vd]]),Nd={name:"AlertIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Sd=["aria-hidden","aria-label"],bd=["fill","width","height"],wd={d:"M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z"},Ld={key:0};function Td(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon alert-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",wd,[o.title?(t.openBlock(),t.createElementBlock("title",Ld,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,bd))],16,Sd)}const Mn=P(Nd,[["render",Td]]),Ad={name:"SkipForwardIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Id=["aria-hidden","aria-label"],Vd=["fill","width","height"],Od={d:"M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12"},Bd={key:0};function Dd(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon skip-forward-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Od,[o.title?(t.openBlock(),t.createElementBlock("title",Bd,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Vd))],16,Id)}const Pd=P(Ad,[["render",Dd]]),$d=t.defineComponent({name:"TaskNode",inheritAttrs:!1,__name:"TaskNode",props:{data:{},sourcePosition:{default:ne.Position.Right},targetPosition:{default:ne.Position.Left},id:{},icons:{default:void 0},iconComponent:{default:void 0},enableSubflowInteraction:{type:Boolean,default:!0},playgroundEnabled:{type:Boolean},playgroundReadyToStart:{type:Boolean}},setup(e,{emit:n}){const o=e,l=n,a=t.inject(Pn),r=t.inject(vl),i=t.computed(()=>o.data.color??"primary"),s=t.computed(()=>S.Utils.afterLastDot(o.id)),c=t.computed(()=>{const E=o.data.executionId;if(E)return E===a?.value?.id?a?.value:Object.values(r?.value||{}).find(m=>m.id===E)}),u=t.computed(()=>c.value&&c.value.taskRunList?c.value.taskRunList:[]),f=t.computed(()=>u.value.filter(E=>E.taskId===S.Utils.afterLastDot(o.data.node.uid))),h=t.computed(()=>{if(!f.value?.length)return null;if(f.value.length===1)return f.value[0].state.current;const E=f.value.map(L=>L.state.current),m=[te.FAILED,te.KILLED,te.WARNING,te.SKIPPED,te.KILLING,te.RUNNING,te.SUCCESS,te.RESTARTED,te.CREATED];return E.map(L=>[m.indexOf(L[1]),L]).sort().map(L=>L[1])[0]}),g=t.computed(()=>({"execution-no-taskrun":!!(c.value&&f.value&&f.value.length===0)})),y=t.computed(()=>({id:o.id,type:String(o.data.node.task.type)})),k=t.computed(()=>{if(o.data.node.type?.endsWith("SubflowGraphTask")&&o.enableSubflowInteraction){const E=o.data.node.task.subflowId??o.data.node.task;return{...o.data,link:{namespace:E.namespace,id:E.flowId,executionId:c.value?.taskRunList.filter(m=>m.id===o.data.node.taskRun.id&&m.outputs?.executionId)?.[0]?.outputs?.executionId}}}return o.data}),v=t.computed(()=>{if(h.value===te.RUNNING)return"task is running";if(h.value===te.SUCCESS)return"task was successful";if(h.value===te.WARNING)return"task sent a warning";if(h.value===te.SKIPPED)return"task was skipped";if(h.value===te.FAILED)return"task failed"});return(E,m)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(t.unref(ne.Handle),{type:"source",position:E.sourcePosition},null,8,["position"]),t.createVNode(Dn,{id:E.id,data:k.value,state:h.value,class:t.normalizeClass(g.value),icons:E.icons,"icon-component":E.iconComponent,onShowDescription:m[6]||(m[6]=_=>l(t.unref(S.EVENTS).SHOW_DESCRIPTION,_)),onExpand:m[7]||(m[7]=_=>l(t.unref(S.EVENTS).EXPAND,y.value)),onOpenLink:m[8]||(m[8]=_=>l(t.unref(S.EVENTS).OPEN_LINK,_)),onMouseover:m[9]||(m[9]=_=>l(t.unref(S.EVENTS).MOUSE_OVER,_)),onMouseleave:m[10]||(m[10]=_=>l(t.unref(S.EVENTS).MOUSE_LEAVE))},{content:t.withCtx(()=>[c.value?(t.openBlock(),t.createBlock(uu,{key:0,execution:c.value,task:E.data.node.task,color:i.value,uid:E.data.node.uid,state:h.value},null,8,["execution","task","color","uid","state"])):t.createCommentVNode("",!0),E.data.node.task?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[E.playgroundEnabled&&E.playgroundReadyToStart?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"playground-button",onClick:m[0]||(m[0]=_=>l(t.unref(S.EVENTS).RUN_TASK,{task:E.data.node.task}))},[t.createVNode(q,{style:{display:"flex"},title:E.$t("run task in playground")},{default:t.withCtx(()=>[t.createVNode(hd,{class:"button-play-icon",alt:E.$t("run task in playground")},null,8,["alt"])]),_:1},8,["title"])])):(t.openBlock(),t.createElementBlock("div",{key:1,class:"playground-button",style:t.normalizeStyle({color:`var(--ks-content-${h.value?.toLowerCase()})`,backgroundColor:`var(--ks-background-${h.value?.toLowerCase()})`})},[t.createVNode(q,{style:{display:"flex"},title:v.value?E.$t(v.value):void 0},{default:t.withCtx(()=>[h.value===t.unref(te).RUNNING?(t.openBlock(),t.createBlock(zo,{key:0,alt:v.value?E.$t(v.value):void 0},null,8,["alt"])):h.value===t.unref(te).SUCCESS?(t.openBlock(),t.createBlock(Nl,{key:1,alt:v.value?E.$t(v.value):void 0},null,8,["alt"])):h.value===t.unref(te).WARNING?(t.openBlock(),t.createBlock(Mn,{key:2,alt:v.value?E.$t(v.value):void 0},null,8,["alt"])):h.value===t.unref(te).SKIPPED?(t.openBlock(),t.createBlock(Pd,{key:3,alt:v.value?E.$t(v.value):void 0},null,8,["alt"])):h.value===t.unref(te).FAILED?(t.openBlock(),t.createBlock(At,{key:4,alt:v.value?E.$t(v.value):void 0},null,8,["alt"])):t.createCommentVNode("",!0)]),_:1},8,["title"])],4))],64)):t.createCommentVNode("",!0)]),"badge-button-before":t.withCtx(()=>[E.data.node.task&&E.data.node.task.runIf?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",["bg-warning"]]),onClick:m[1]||(m[1]=_=>l(t.unref(S.EVENTS).SHOW_CONDITION,{id:s.value,task:E.data.node.task,section:t.unref(S.SECTIONS).TASKS}))},[t.createVNode(q,{title:E.$t("show task condition")},{default:t.withCtx(()=>[t.createVNode(cd,{class:"button-icon",alt:"Show condition"})]),_:1},8,["title"])])):t.createCommentVNode("",!0),c.value?(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:m[2]||(m[2]=_=>l(t.unref(S.EVENTS).SHOW_LOGS,{id:s.value,execution:c.value,taskRuns:f.value}))},[t.createVNode(q,{title:E.$t("show task logs")},{default:t.withCtx(()=>[t.createVNode(qu,{class:"button-icon",alt:"Show logs"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),!c.value&&!E.data.isReadOnly&&E.data.isFlowable?(t.openBlock(),t.createElementBlock("span",{key:2,class:t.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:m[3]||(m[3]=_=>l(t.unref(S.EVENTS).ADD_ERROR,{task:E.data.node.task}))},[t.createVNode(q,{title:E.$t("add error handler")},{default:t.withCtx(()=>[t.createVNode(nd,{class:"button-icon",alt:"Add error handler"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),!c.value&&!E.data.isReadOnly?(t.openBlock(),t.createElementBlock("span",{key:3,class:t.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:m[4]||(m[4]=_=>l(t.unref(S.EVENTS).EDIT,{task:E.data.node.task,section:t.unref(S.SECTIONS).TASKS}))},[t.createVNode(q,{title:E.$t("edit")},{default:t.withCtx(()=>[t.createVNode($n,{class:"button-icon",alt:"Edit task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),!c.value&&!E.data.isReadOnly?(t.openBlock(),t.createElementBlock("span",{key:4,class:t.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:m[5]||(m[5]=_=>l(t.unref(S.EVENTS).DELETE,{id:s.value,section:t.unref(S.SECTIONS).TASKS}))},[t.createVNode(q,{title:E.$t("delete")},{default:t.withCtx(()=>[t.createVNode(Rn,{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(ne.Handle),{type:"target",position:E.targetPosition},null,8,["position"])],64))}}),Rd=P($d,[["__scopeId","data-v-3bf9185b"]]),Md={name:"Task",inheritAttrs:!1,inject:{execution:{from:Pn}},computed:{SECTIONS(){return S.SECTIONS},EVENTS(){return S.EVENTS},color(){return this.data.color??"primary"},formattedData(){return{...this.data,unused:this.data.node?.triggerDeclaration?.disabled||this.data.node?.trigger?.disabled}},triggerId(){return S.Utils.afterLastDot(this.id)}},emits:[S.EVENTS.DELETE,S.EVENTS.EDIT,S.EVENTS.SHOW_DESCRIPTION],components:{Delete:Rn,Pencil:$n,Handle:ne.Handle,Tooltip:q},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)}}},xd=Object.assign(Md,{setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(t.unref(ne.Handle),{type:"source",position:e.sourcePosition},null,8,["position"]),t.createVNode(Dn,{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(S.EVENTS).SHOW_DESCRIPTION,l)),onExpand:o[3]||(o[3]=l=>n.forwardEvent(t.unref(S.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(S.EVENTS).EDIT,{task:e.data.node.triggerDeclaration,section:t.unref(S.SECTIONS).TRIGGERS}))},[t.createVNode(q,{title:n.$t("edit")},{default:t.withCtx(()=>[t.createVNode($n,{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(S.EVENTS).DELETE,{id:n.triggerId,section:t.unref(S.SECTIONS).TRIGGERS}))},[t.createVNode(q,{title:n.$t("delete")},{default:t.withCtx(()=>[t.createVNode(Rn,{class:"button-icon",alt:"Delete task"})]),_:1},8,["title"])],2))]),key:"0"}]),1032,["id","data","color","icons","icon-component"]),t.createVNode(t.unref(ne.Handle),{type:"target",position:e.targetPosition},null,8,["position"])],64))}}),Fd={name:"LightningBoltIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ud=["aria-hidden","aria-label"],Hd=["fill","width","height"],zd={d:"M11 15H6L13 1V9H18L11 23V15Z"},Gd={key:0};function Wd(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon lightning-bolt-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",zd,[o.title?(t.openBlock(),t.createElementBlock("title",Gd,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Hd))],16,Ud)}const jd=P(Fd,[["render",Wd]]),Kd={class:"collapsed-cluster-node d-flex"},Yd={class:"node-text"},qd={class:"text-white top-button-div"},Xd={components:{Tooltip:q,Handle:ne.Handle,ArrowExpand:Bn,LightningBolt:jd},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 S.EVENTS},expandable(){return this.data?.expandable||!1},description(){const e=this.data.node.task??this.data.node.trigger??null;return e?e.description??null:null}}},Zd=Object.assign(Xd,{__name:"CollapsedClusterNode",setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(t.unref(ne.Handle),{type:"source",position:e.sourcePosition},null,8,["position"]),t.createElementVNode("div",Kd,[t.createElementVNode("span",Yd,[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(S.Utils).afterLastDot(e.id)),1)]),t.createElementVNode("div",qd,[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(S.EVENTS).EXPAND,{id:e.id}))},[t.createVNode(q,{title:n.$t("expand")},{default:t.withCtx(()=>[t.createVNode(Bn,{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(ne.Handle),{type:"target",position:e.targetPosition},null,8,["position"])],64))}}),Jd=P(Zd,[["__scopeId","data-v-89413b39"]]),Qd={name:"SplitCellsVerticalIcon",emits:["click"]},ef={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function tf(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("svg",ef,[...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 nf=P(Qd,[["render",tf],["__scopeId","data-v-084c51e6"]]),of={name:"SplitCellsHorizontalIcon",emits:["click"]},lf={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function rf(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("svg",lf,[...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 af=P(of,[["render",rf],["__scopeId","data-v-c77c1469"]]),sf={name:"DownloadIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},cf=["aria-hidden","aria-label"],uf=["fill","width","height"],df={d:"M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z"},ff={key:0};function mf(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon download-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",df,[o.title?(t.openBlock(),t.createElementBlock("title",ff,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,uf))],16,cf)}const pf=P(sf,[["render",mf]]);function gf(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"),a=o.createElement("a");return o.head.appendChild(l),o.body.appendChild(a),n&&(l.href=n),a.href=e,a.href}const hf=(()=>{let e=0;const n=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${n()}${e}`)})();function Re(e){const n=[];for(let o=0,l=e.length;o<l;o++)n.push(e[o]);return n}let Je=null;function Sl(e={}){return Je||(e.includeStyleProperties?(Je=e.includeStyleProperties,Je):(Je=Re(window.getComputedStyle(document.documentElement)),Je))}function Dt(e,n){const l=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(n);return l?parseFloat(l.replace("px","")):0}function Ef(e){const n=Dt(e,"border-left-width"),o=Dt(e,"border-right-width");return e.clientWidth+n+o}function _f(e){const n=Dt(e,"border-top-width"),o=Dt(e,"border-bottom-width");return e.clientHeight+n+o}function bl(e,n={}){const o=n.width||Ef(e),l=n.height||_f(e);return{width:o,height:l}}function yf(){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 kf(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 Pt(e){return new Promise((n,o)=>{const l=new Image;l.onload=()=>{l.decode().then(()=>{requestAnimationFrame(()=>n(l))})},l.onerror=o,l.crossOrigin="anonymous",l.decoding="async",l.src=e})}async function Cf(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(n=>`data:image/svg+xml;charset=utf-8,${n}`)}async function vf(e,n,o){const l="http://www.w3.org/2000/svg",a=document.createElementNS(l,"svg"),r=document.createElementNS(l,"foreignObject");return a.setAttribute("width",`${n}`),a.setAttribute("height",`${o}`),a.setAttribute("viewBox",`0 0 ${n} ${o}`),r.setAttribute("width","100%"),r.setAttribute("height","100%"),r.setAttribute("x","0"),r.setAttribute("y","0"),r.setAttribute("externalResourcesRequired","true"),a.appendChild(r),r.appendChild(e),Cf(a)}const Ee=(e,n)=>{if(e instanceof n)return!0;const o=Object.getPrototypeOf(e);return o===null?!1:o.constructor.name===n.name||Ee(o,n)};function Nf(e){const n=e.getPropertyValue("content");return`${e.cssText} content: '${n.replace(/'|"/g,"")}';`}function Sf(e,n){return Sl(n).map(o=>{const l=e.getPropertyValue(o),a=e.getPropertyPriority(o);return`${o}: ${l}${a?" !important":""};`}).join(" ")}function bf(e,n,o,l){const a=`.${e}:${n}`,r=o.cssText?Nf(o):Sf(o,l);return document.createTextNode(`${a}{${r}}`)}function To(e,n,o,l){const a=window.getComputedStyle(e,o),r=a.getPropertyValue("content");if(r===""||r==="none")return;const i=hf();try{n.className=`${n.className} ${i}`}catch{return}const s=document.createElement("style");s.appendChild(bf(i,o,a,l)),n.appendChild(s)}function wf(e,n,o){To(e,n,":before",o),To(e,n,":after",o)}const Ao="application/font-woff",Io="image/jpeg",Lf={woff:Ao,woff2:Ao,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Io,jpeg:Io,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function Tf(e){const n=/\.([^./]*?)$/g.exec(e);return n?n[1]:""}function xn(e){const n=Tf(e).toLowerCase();return Lf[n]||""}function Af(e){return e.split(/,/)[1]}function yn(e){return e.search(/^(data:)/)!==-1}function If(e,n){return`data:${n};base64,${e}`}async function wl(e,n,o){const l=await fetch(e,n);if(l.status===404)throw new Error(`Resource "${l.url}" not found`);const a=await l.blob();return new Promise((r,i)=>{const s=new FileReader;s.onerror=i,s.onloadend=()=>{try{r(o({res:l,result:s.result}))}catch(c){i(c)}},s.readAsDataURL(a)})}const ln={};function Vf(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 Fn(e,n,o){const l=Vf(e,n,o.includeQueryParams);if(ln[l]!=null)return ln[l];o.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let a;try{const r=await wl(e,o.fetchRequestInit,({res:i,result:s})=>(n||(n=i.headers.get("Content-Type")||""),Af(s)));a=If(r,n)}catch(r){a=o.imagePlaceholder||"";let i=`Failed to fetch resource: ${e}`;r&&(i=typeof r=="string"?r:r.message),i&&console.warn(i)}return ln[l]=a,a}async function Of(e){const n=e.toDataURL();return n==="data:,"?e.cloneNode(!1):Pt(n)}async function Bf(e,n){if(e.currentSrc){const r=document.createElement("canvas"),i=r.getContext("2d");r.width=e.clientWidth,r.height=e.clientHeight,i?.drawImage(e,0,0,r.width,r.height);const s=r.toDataURL();return Pt(s)}const o=e.poster,l=xn(o),a=await Fn(o,l,n);return Pt(a)}async function Df(e,n){var o;try{if(!((o=e?.contentDocument)===null||o===void 0)&&o.body)return await Ht(e.contentDocument.body,n,!0)}catch{}return e.cloneNode(!1)}async function Pf(e,n){return Ee(e,HTMLCanvasElement)?Of(e):Ee(e,HTMLVideoElement)?Bf(e,n):Ee(e,HTMLIFrameElement)?Df(e,n):e.cloneNode(Ll(e))}const $f=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",Ll=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function Rf(e,n,o){var l,a;if(Ll(n))return n;let r=[];return $f(e)&&e.assignedNodes?r=Re(e.assignedNodes()):Ee(e,HTMLIFrameElement)&&(!((l=e.contentDocument)===null||l===void 0)&&l.body)?r=Re(e.contentDocument.body.childNodes):r=Re(((a=e.shadowRoot)!==null&&a!==void 0?a:e).childNodes),r.length===0||Ee(e,HTMLVideoElement)||await r.reduce((i,s)=>i.then(()=>Ht(s,o)).then(c=>{c&&n.appendChild(c)}),Promise.resolve()),n}function Mf(e,n,o){const l=n.style;if(!l)return;const a=window.getComputedStyle(e);a.cssText?(l.cssText=a.cssText,l.transformOrigin=a.transformOrigin):Sl(o).forEach(r=>{let i=a.getPropertyValue(r);r==="font-size"&&i.endsWith("px")&&(i=`${Math.floor(parseFloat(i.substring(0,i.length-2)))-.1}px`),Ee(e,HTMLIFrameElement)&&r==="display"&&i==="inline"&&(i="block"),r==="d"&&n.getAttribute("d")&&(i=`path(${n.getAttribute("d")})`),l.setProperty(r,i,a.getPropertyPriority(r))})}function xf(e,n){Ee(e,HTMLTextAreaElement)&&(n.innerHTML=e.value),Ee(e,HTMLInputElement)&&n.setAttribute("value",e.value)}function Ff(e,n){if(Ee(e,HTMLSelectElement)){const o=n,l=Array.from(o.children).find(a=>e.value===a.getAttribute("value"));l&&l.setAttribute("selected","")}}function Uf(e,n,o){return Ee(n,Element)&&(Mf(e,n,o),wf(e,n,o),xf(e,n),Ff(e,n)),n}async function Hf(e,n){const o=e.querySelectorAll?e.querySelectorAll("use"):[];if(o.length===0)return e;const l={};for(let r=0;r<o.length;r++){const s=o[r].getAttribute("xlink:href");if(s){const c=e.querySelector(s),u=document.querySelector(s);!c&&u&&!l[s]&&(l[s]=await Ht(u,n,!0))}}const a=Object.values(l);if(a.length){const r="http://www.w3.org/1999/xhtml",i=document.createElementNS(r,"svg");i.setAttribute("xmlns",r),i.style.position="absolute",i.style.width="0",i.style.height="0",i.style.overflow="hidden",i.style.display="none";const s=document.createElementNS(r,"defs");i.appendChild(s);for(let c=0;c<a.length;c++)s.appendChild(a[c]);e.appendChild(i)}return e}async function Ht(e,n,o){return!o&&n.filter&&!n.filter(e)?null:Promise.resolve(e).then(l=>Pf(l,n)).then(l=>Rf(e,l,n)).then(l=>Uf(e,l,n)).then(l=>Hf(l,n))}const Tl=/url\((['"]?)([^'"]+?)\1\)/g,zf=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,Gf=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function Wf(e){const n=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${n})(['"]?\\))`,"g")}function jf(e){const n=[];return e.replace(Tl,(o,l,a)=>(n.push(a),o)),n.filter(o=>!yn(o))}async function Kf(e,n,o,l,a){try{const r=o?gf(n,o):n,i=xn(n);let s;return a||(s=await Fn(r,i,l)),e.replace(Wf(n),`$1${s}$3`)}catch{}return e}function Yf(e,{preferredFontFormat:n}){return n?e.replace(Gf,o=>{for(;;){const[l,,a]=zf.exec(o)||[];if(!a)return"";if(a===n)return`src: ${l};`}}):e}function Al(e){return e.search(Tl)!==-1}async function Il(e,n,o){if(!Al(e))return e;const l=Yf(e,o);return jf(l).reduce((r,i)=>r.then(s=>Kf(s,i,n,o)),Promise.resolve(l))}async function Qe(e,n,o){var l;const a=(l=n.style)===null||l===void 0?void 0:l.getPropertyValue(e);if(a){const r=await Il(a,null,o);return n.style.setProperty(e,r,n.style.getPropertyPriority(e)),!0}return!1}async function qf(e,n){await Qe("background",e,n)||await Qe("background-image",e,n),await Qe("mask",e,n)||await Qe("-webkit-mask",e,n)||await Qe("mask-image",e,n)||await Qe("-webkit-mask-image",e,n)}async function Xf(e,n){const o=Ee(e,HTMLImageElement);if(!(o&&!yn(e.src))&&!(Ee(e,SVGImageElement)&&!yn(e.href.baseVal)))return;const l=o?e.src:e.href.baseVal,a=await Fn(l,xn(l),n);await new Promise((r,i)=>{e.onload=r,e.onerror=n.onImageErrorHandler?(...c)=>{try{r(n.onImageErrorHandler(...c))}catch(u){i(u)}}:i;const s=e;s.decode&&(s.decode=r),s.loading==="lazy"&&(s.loading="eager"),o?(e.srcset="",e.src=a):e.href.baseVal=a})}async function Zf(e,n){const l=Re(e.childNodes).map(a=>Vl(a,n));await Promise.all(l).then(()=>e)}async function Vl(e,n){Ee(e,Element)&&(await qf(e,n),await Xf(e,n),await Zf(e,n))}function Jf(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(a=>{o[a]=l[a]}),e}const Vo={};async function Oo(e){let n=Vo[e];if(n!=null)return n;const l=await(await fetch(e)).text();return n={url:e,cssText:l},Vo[e]=n,n}async function Bo(e,n){let o=e.cssText;const l=/url\(["']?([^"')]+)["']?\)/g,r=(o.match(/url\([^)]+\)/g)||[]).map(async i=>{let s=i.replace(l,"$1");return s.startsWith("https://")||(s=new URL(s,e.url).href),wl(s,n.fetchRequestInit,({result:c})=>(o=o.replace(i,`url(${c})`),[i,c]))});return Promise.all(r).then(()=>o)}function Do(e){if(e==null)return[];const n=[],o=/(\/\*[\s\S]*?\*\/)/gi;let l=e.replace(o,"");const a=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const c=a.exec(l);if(c===null)break;n.push(c[0])}l=l.replace(a,"");const r=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,i="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",s=new RegExp(i,"gi");for(;;){let c=r.exec(l);if(c===null){if(c=s.exec(l),c===null)break;r.lastIndex=s.lastIndex}else s.lastIndex=r.lastIndex;n.push(c[0])}return n}async function Qf(e,n){const o=[],l=[];return e.forEach(a=>{if("cssRules"in a)try{Re(a.cssRules||[]).forEach((r,i)=>{if(r.type===CSSRule.IMPORT_RULE){let s=i+1;const c=r.href,u=Oo(c).then(f=>Bo(f,n)).then(f=>Do(f).forEach(h=>{try{a.insertRule(h,h.startsWith("@import")?s+=1:a.cssRules.length)}catch(g){console.error("Error inserting rule from remote css",{rule:h,error:g})}})).catch(f=>{console.error("Error loading remote css",f.toString())});l.push(u)}})}catch(r){const i=e.find(s=>s.href==null)||document.styleSheets[0];a.href!=null&&l.push(Oo(a.href).then(s=>Bo(s,n)).then(s=>Do(s).forEach(c=>{i.insertRule(c,i.cssRules.length)})).catch(s=>{console.error("Error loading remote stylesheet",s)})),console.error("Error inlining remote css file",r)}}),Promise.all(l).then(()=>(e.forEach(a=>{if("cssRules"in a)try{Re(a.cssRules||[]).forEach(r=>{o.push(r)})}catch(r){console.error(`Error while reading CSS rules from ${a.href}`,r)}}),o))}function em(e){return e.filter(n=>n.type===CSSRule.FONT_FACE_RULE).filter(n=>Al(n.style.getPropertyValue("src")))}async function tm(e,n){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const o=Re(e.ownerDocument.styleSheets),l=await Qf(o,n);return em(l)}function Ol(e){return e.trim().replace(/["']/g,"")}function nm(e){const n=new Set;function o(l){(l.style.fontFamily||getComputedStyle(l).fontFamily).split(",").forEach(r=>{n.add(Ol(r))}),Array.from(l.children).forEach(r=>{r instanceof HTMLElement&&o(r)})}return o(e),n}async function om(e,n){const o=await tm(e,n),l=nm(e);return(await Promise.all(o.filter(r=>l.has(Ol(r.style.fontFamily))).map(r=>{const i=r.parentStyleSheet?r.parentStyleSheet.href:null;return Il(r.cssText,i,n)}))).join(`
25
- `)}async function lm(e,n){const o=n.fontEmbedCSS!=null?n.fontEmbedCSS:n.skipFonts?null:await om(e,n);if(o){const l=document.createElement("style"),a=document.createTextNode(o);l.appendChild(a),e.firstChild?e.insertBefore(l,e.firstChild):e.appendChild(l)}}async function rm(e,n={}){const{width:o,height:l}=bl(e,n),a=await Ht(e,n,!0);return await lm(a,n),await Vl(a,n),Jf(a,n),await vf(a,o,l)}async function Bl(e,n={}){const{width:o,height:l}=bl(e,n),a=await rm(e,n),r=await Pt(a),i=document.createElement("canvas"),s=i.getContext("2d"),c=n.pixelRatio||yf(),u=n.canvasWidth||o,f=n.canvasHeight||l;return i.width=u*c,i.height=f*c,n.skipAutoScale||kf(i),i.style.width=`${u}`,i.style.height=`${f}`,n.backgroundColor&&(s.fillStyle=n.backgroundColor,s.fillRect(0,0,i.width,i.height)),s.drawImage(r,0,0,i.width,i.height),i}async function am(e,n={}){return(await Bl(e,n)).toDataURL()}async function im(e,n={}){return(await Bl(e,n)).toDataURL("image/jpeg",n.quality||1)}function sm(){const e=t.ref(""),n=t.ref("png"),o=t.ref();async function l(s,c={}){const u=c.fileName??`flow-graph-${Date.now()}`,f=s.querySelectorAll(".vue-flow__edge-path"),h=Array.from(f).map(g=>{const y=g,k=y.getAttribute("style")||"";return y.setAttribute("style",`${k}; stroke: ${window.getComputedStyle(y).stroke}; stroke-width: ${window.getComputedStyle(y).strokeWidth}; stroke-dasharray: ${window.getComputedStyle(y).strokeDasharray}`),{element:y,original:k}});try{const g=c.type==="jpeg"?await a(s,c):await r(s,c);return c.shouldDownload&&u&&i(u),g}finally{h.forEach(({element:g,original:y})=>y?g.setAttribute("style",y):g.removeAttribute("style"))}}function a(s,c={quality:.95}){return o.value=null,im(s,c).then(u=>(e.value=u,n.value="jpeg",u)).catch(u=>{throw u.value=u,new Error(u)})}function r(s,c={quality:.95}){return o.value=null,am(s,c).then(u=>(e.value=u,n.value="png",u)).catch(u=>{throw u.value=u,new Error(u)})}function i(s){const c=document.createElement("a");c.download=`${s}.${n.value}`,c.href=e.value,c.click()}return{capture:l,download:i,dataUrl:e,error:o}}const cm={key:1,class:"exporting"},um=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},playgroundReadyToStart:{type:Boolean,default:!1}},emits:[S.EVENTS.EDIT,S.EVENTS.DELETE,S.EVENTS.RUN_TASK,S.EVENTS.OPEN_LINK,S.EVENTS.SHOW_LOGS,S.EVENTS.SHOW_DESCRIPTION,S.EVENTS.RUN_TASK,"on-add-flowable-error",S.EVENTS.ADD_TASK,"toggle-orientation","loading","swapped-task","message","expand-subflow",S.EVENTS.SHOW_CONDITION],setup(e,{emit:n}){const o=e,l=t.ref(!1),a=t.ref(),{getNodes:r,onNodeDrag:i,onNodeDragStart:s,onNodeDragStop:c,fitView:u,setElements:f,vueFlowRef:h}=ne.useVueFlow(o.id),g=t.ref({}),y=t.ref([]),k=t.ref(new Set),v=t.ref([]),{capture:E}=sm();t.provide(Pn,t.computed(()=>o.execution)),t.provide(vl,t.computed(()=>o.subflowsExecutions));const m=n;t.onMounted(()=>{_()}),t.watch(()=>o.flowGraph,()=>{_()}),t.watch(()=>o.isHorizontal,()=>{_()});const _=()=>{S.cleanGraph(o.id),t.nextTick(()=>{m("loading",!0);const $=k.value;k.value=new Set,y.value=[],g.value={},$.forEach(U=>F(S.CLUSTER_PREFIX+U,!1,!1));const I=S.generateGraph(o.id,o.flowId,o.namespace,o.flowGraph,o.source,y.value,o.isHorizontal,g.value,k.value,v.value,o.isReadOnly,o.isAllowedEdit,o.enableSubflowInteraction);I&&(f(I),u(),m("loading",!1))})},L=$=>{l.value||S.linkedElements(o.id,$.uid).forEach(I=>{I?.type==="task"&&(I.style={...I.style,outline:"0.5px solid "+Ce("--bs-gray-900")},I.class="rounded-3")})},N=()=>{V()},V=()=>{r.value.filter($=>$.type==="task"||$.type==="trigger").forEach($=>{$.style={...$.style,opacity:"1",outline:"none"},$.class=""})};s($=>{l.value=!0,V(),$.node.style={...$.node.style,zIndex:1976},a.value=$.node.position}),c($=>{if(l.value=!1,$.intersections&&w($.intersections,$.node)===null){const I=$.node,U=$.intersections.find(R=>R.type==="task");if(U)try{o.source&&m("swapped-task",{newSource:z.swapBlocks({source:o.source,section:"tasks",key1:S.Utils.afterLastDot(I.id)??"",key2:S.Utils.afterLastDot(U.id)??""}),swappedTasks:[I.id,U.id]})}catch(R){m("message",{variant:"error",title:"cannot swap tasks",message:`${R.message}, ${R.messageOptions}`}),I.position=a.value}else I.position=a.value}else $.node.position=a.value;V(),$.node.style={...$.node.style,zIndex:5},a.value=null});const O=t.computed(()=>o.flowGraph?.clusters?o.flowGraph.clusters.filter($=>$.cluster.type.endsWith("SubflowGraphCluster")).map($=>$.cluster.taskNode.uid+"."):[]);i($=>{V(),r.value.filter(I=>I.id!==$.node.id).forEach(I=>{I.type==="trigger"||I.type==="task"&&(I.id.startsWith($.node.id+".")||$.node.id.startsWith(I.id+"."))||O?.value?.some(U=>I.id.startsWith(U))?I.style={...I.style,opacity:"0.5"}:I.style={...I.style,opacity:"1"}}),$.intersections&&!w($.intersections,$.node)&&$.intersections.filter(I=>I.type==="task").length===1&&($.intersections.forEach(I=>{I.type==="task"&&(I.style={...I.style,outline:"0.5px solid "+Ce("--bs-primary")},I.class="rounded-3")}),$.node.style={...$.node.style,outline:"0.5px solid "+Ce("--bs-primary")},$.node.class="rounded-3")});const w=($,I)=>{const U=$.filter(R=>R.type==="task").map(R=>S.Utils.afterLastDot(R.id));if(U.length>1)return"toomuchtaskerror";try{if(U.length===1&&o.source&&z.isParentChildrenRelation({source:o.source,sections:["tasks","triggers"],key1:S.Utils.afterLastDot(U[0])??"",key2:S.Utils.afterLastDot(I.id)??"",keyName:"id"}))return"parentchildrenerror"}catch{return"parentchildrenerror"}return $.filter(R=>R.type==="trigger").length>0?"triggererror":null},F=($,I,U=!1)=>{const R=o.flowGraph.clusters.find(fe=>fe.cluster.uid.endsWith($)),Ie=$.replace(S.CLUSTER_PREFIX,"");k.value.add(Ie),y.value=y.value.concat(R.nodes.filter(fe=>fe!==Ie||U)),y.value=y.value.concat([R.cluster.uid]),g.value={...g.value,[R.cluster.uid]:Ie,[R.start]:Ie,[R.end]:Ie};for(let fe of R.nodes)o.flowGraph.clusters.map(Fe=>Fe.cluster.uid).includes(fe)&&F(fe,!1,!0);I&&_()},G=$=>{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($.type)&&!o.expandedSubflows.includes($.id)){m("expand-subflow",[...o.expandedSubflows,$.id]);return}g.value={},y.value=[],v.value=[],k.value.delete($.id),k.value.forEach(U=>F(U,!1,!1)),_()},oe=document.getElementsByTagName("html")[0].className.indexOf("dark")>=0,ge=t.ref(!0),Z=t.ref(!1),$e=()=>Z.value=!Z.value;function Xe($){if(!h.value){console.warn("Flow not found");return}ge.value=!1,E(h.value,{type:$,shouldDownload:!0}).then(()=>ge.value=!0).finally(()=>Z.value=!1)}return($,I)=>(t.openBlock(),t.createBlock(t.unref(ne.VueFlow),{id:e.id,"default-marker-color":t.unref(Ce)("--bs-cyan"),"fit-view-on-init":"","nodes-draggable":!1,"nodes-connectable":!1,"elevate-nodes-on-select":!1,"elevate-edges-on-select":!1},{"node-cluster":t.withCtx(U=>[t.createVNode(Dc,t.mergeProps(U,{onCollapse:I[0]||(I[0]=R=>F(R,!0))}),null,16)]),"node-dot":t.withCtx(U=>[t.createVNode(zc,t.normalizeProps(t.guardReactiveProps(U)),null,16)]),"node-task":t.withCtx(U=>[t.createVNode(Rd,t.mergeProps(U,{icons:e.icons,"icon-component":e.iconComponent,"playground-enabled":e.playgroundEnabled,"playground-ready-to-start":e.playgroundReadyToStart,onEdit:I[1]||(I[1]=R=>m(t.unref(S.EVENTS).EDIT,R)),onDelete:I[2]||(I[2]=R=>m(t.unref(S.EVENTS).DELETE,R)),onRunTask:I[3]||(I[3]=R=>m(t.unref(S.EVENTS).RUN_TASK,R)),onExpand:I[4]||(I[4]=R=>G(R)),onOpenLink:I[5]||(I[5]=R=>m(t.unref(S.EVENTS).OPEN_LINK,R)),onShowLogs:I[6]||(I[6]=R=>m(t.unref(S.EVENTS).SHOW_LOGS,R)),onShowDescription:I[7]||(I[7]=R=>m(t.unref(S.EVENTS).SHOW_DESCRIPTION,R)),onShowCondition:I[8]||(I[8]=R=>m(t.unref(S.EVENTS).SHOW_CONDITION,R)),onMouseover:I[9]||(I[9]=R=>L(R)),onMouseleave:I[10]||(I[10]=R=>N()),onAddError:I[11]||(I[11]=R=>m("on-add-flowable-error",R)),"enable-subflow-interaction":e.enableSubflowInteraction}),null,16,["icons","icon-component","playground-enabled","playground-ready-to-start","enable-subflow-interaction"])]),"node-custom":t.withCtx(U=>[t.createVNode(Dn,t.mergeProps(U,{icons:e.icons,"icon-component":e.iconComponent}),null,16,["icons","icon-component"])]),"node-trigger":t.withCtx(U=>[t.createVNode(xd,t.mergeProps(U,{icons:e.icons,"icon-component":e.iconComponent,"is-read-only":e.isReadOnly,"is-allowed-edit":e.isAllowedEdit,onDelete:I[12]||(I[12]=R=>m(t.unref(S.EVENTS).DELETE,R)),onEdit:I[13]||(I[13]=R=>m(t.unref(S.EVENTS).EDIT,R)),onShowDescription:I[14]||(I[14]=R=>m(t.unref(S.EVENTS).SHOW_DESCRIPTION,R))}),null,16,["icons","icon-component","is-read-only","is-allowed-edit"])]),"node-collapsedcluster":t.withCtx(U=>[t.createVNode(Jd,t.mergeProps(U,{onExpand:I[15]||(I[15]=R=>G(R))}),null,16)]),"edge-edge":t.withCtx(U=>[t.createVNode(nu,t.mergeProps(U,{"yaml-source":e.source,onAddTask:I[16]||(I[16]=R=>m(t.unref(S.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(Nc),{"pattern-color":oe?t.unref(Ce)("--bs-grey-500"):t.unref(Ce)("--bs-grey-300")},null,8,["pattern-color"]),ge.value?(t.openBlock(),t.createBlock(t.unref(Qt.Controls),{key:0,"show-interactive":!1},{default:t.withCtx(()=>[e.toggleOrientationButton?(t.openBlock(),t.createBlock(t.unref(Qt.ControlButton),{key:0,onClick:I[17]||(I[17]=U=>m("toggle-orientation",U))},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.isHorizontal?af:nf)))]),_:1})):t.createCommentVNode("",!0),t.createVNode(t.unref(Qt.ControlButton),{onClick:$e},{default:t.withCtx(()=>[t.createVNode(pf)]),_:1}),Z.value?(t.openBlock(),t.createElementBlock("ul",cm,[t.createElementVNode("li",{onClick:I[18]||(I[18]=U=>Xe("jpeg")),class:"item"}," Export as .JPEG "),t.createElementVNode("li",{onClick:I[19]||(I[19]=U=>Xe("png")),class:"item"}," Export as .PNG ")])):t.createCommentVNode("",!0)]),_:1})):t.createCommentVNode("",!0)]),_:1},8,["id","default-marker-color"]))}}),dm=P(um,[["__scopeId","data-v-ccfc7443"]]),fm={name:"MenuRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},mm=["aria-hidden","aria-label"],pm=["fill","width","height"],gm={d:"M10,17L15,12L10,7V17Z"},hm={key:0};function Em(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon menu-right-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",gm,[o.title?(t.openBlock(),t.createElementBlock("title",hm,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,pm))],16,mm)}const _m=P(fm,[["render",Em]]),ym={name:"MenuDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},km=["aria-hidden","aria-label"],Cm=["fill","width","height"],vm={d:"M7,10L12,15L17,10H7Z"},Nm={key:0};function Sm(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon menu-down-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",vm,[o.title?(t.openBlock(),t.createElementBlock("title",Nm,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Cm))],16,km)}const bm=P(ym,[["render",Sm]]);function wm(e){return t.getCurrentScope()?(t.onScopeDispose(e),!0):!1}function Dl(e){return typeof e=="function"?e():t.unref(e)}const Lm=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Tm=Object.prototype.toString,Am=e=>Tm.call(e)==="[object Object]",Im=()=>{};function Vm(e){return Object.entries(e)}function Om(e){var n;const o=Dl(e);return(n=o?.$el)!=null?n:o}const Pl=Lm?window:void 0;function Po(...e){let n,o,l,a;if(typeof e[0]=="string"||Array.isArray(e[0])?([o,l,a]=e,n=Pl):[n,o,l,a]=e,!n)return Im;Array.isArray(o)||(o=[o]),Array.isArray(l)||(l=[l]);const r=[],i=()=>{r.forEach(f=>f()),r.length=0},s=(f,h,g,y)=>(f.addEventListener(h,g,y),()=>f.removeEventListener(h,g,y)),c=t.watch(()=>[Om(n),Dl(a)],([f,h])=>{if(i(),!f)return;const g=Am(h)?{...h}:h;r.push(...o.flatMap(y=>l.map(k=>s(f,y,k,g))))},{immediate:!0,flush:"post"}),u=()=>{c(),i()};return wm(u),u}const $o=["hash","host","hostname","href","pathname","port","protocol","search"];function Bm(e={}){const{window:n=Pl}=e,o=Object.fromEntries($o.map(r=>[r,t.ref()]));for(const[r,i]of Vm(o))t.watch(i,s=>{!n?.location||n.location[r]===s||(n.location[r]=s)});const l=r=>{var i;const{state:s,length:c}=n?.history||{},{origin:u}=n?.location||{};for(const f of $o)o[f].value=(i=n?.location)==null?void 0:i[f];return t.reactive({trigger:r,state:s,length:c,origin:u,...o})},a=t.ref(l("load"));return n&&(Po(n,"popstate",()=>a.value=l("popstate"),{passive:!0}),Po(n,"hashchange",()=>a.value=l("hashchange"),{passive:!0})),a}const Dm=["id","open"],Pm={class:"d-flex gap-2 align-items-center"},$m={key:0,class:"d-flex flex-grow-1"},Rm=["id"],Mm=t.defineComponent({__name:"Collapsible",props:{href:{default:Math.random().toString(36).substring(2,5)},clickableText:{},arrow:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1},noUrlChange:{type:Boolean,default:!1}},emits:["expand"],setup(e,{emit:n}){const o=e,l=t.ref(!0),a=Bm(),r=n,i=t.computed(()=>`#${o.href}-body`),s=u=>{u.preventDefault(),l.value=!l.value,c.value=!l.value,l.value||r("expand"),!o.noUrlChange&&(window.location.hash=l.value?"":i.value)},c=t.ref(!1);return t.watch(()=>o.initiallyExpanded,u=>{u!==void 0&&(c.value=u,l.value=!u)},{immediate:!0}),t.watch(()=>a.value.hash,u=>{u===i.value&&l.value&&(c.value=!0,l.value=!1)},{immediate:!0}),(u,f)=>(t.openBlock(),t.createElementBlock("details",{id:u.href,open:c.value},[t.createElementVNode("summary",{class:t.normalizeClass(["d-flex align-items-center justify-content-between fw-bold gap-2 collapse-button",{collapsed:l.value}]),onClick:s},[t.createElementVNode("span",Pm,[u.arrow?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.value?_m:bm),{key:0,class:"arrow"})):t.createCommentVNode("",!0),t.createTextVNode(" "+t.toDisplayString(u.clickableText)+" ",1),t.renderSlot(u.$slots,"additionalButtonText",{},void 0,!0)]),u.$slots.buttonRight?(t.openBlock(),t.createElementBlock("span",$m,[t.renderSlot(u.$slots,"buttonRight",{collapsed:l.value},void 0,!0)])):t.createCommentVNode("",!0)],2),u.$slots.content?(t.openBlock(),t.createElementBlock("div",{key:0,id:u.href+"-body"},[t.createElementVNode("div",null,[t.renderSlot(u.$slots,"content",{},void 0,!0)])],8,Rm)):t.createCommentVNode("",!0)],8,Dm))}}),pt=P(Mm,[["__scopeId","data-v-4b935a77"]]),xm={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Fm=["aria-hidden","aria-label"],Um=["fill","width","height"],Hm={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"},zm={key:0};function Gm(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon content-copy-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Hm,[o.title?(t.openBlock(),t.createElementBlock("title",zm,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Um))],16,Fm)}const Wm=P(xm,[["render",Gm]]),jm={key:0,class:"language"},Km=["innerHTML"],Ym=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(Wm),Check:t.shallowRef(Nl)},o=e,l=t.ref(!1),a=t.ref(),r=t.shallowRef(n.ContentCopy.value),i=t.ref(),s=t.ref(),c=t.computed(()=>o.highlighter.codeToHtml(o.code,{lang:o.language,theme:o.theme}));function u(){l.value=!0,a.value&&t.nextTick(()=>{i.value&&s.value&&dr.createPopper(i.value,s.value,{placement:"left"})})}function f(){clearTimeout(a.value),navigator.clipboard.writeText(o.code.trimEnd()),r.value=n.Check.value,a.value=setTimeout(()=>{r.value=n.ContentCopy.value,a.value=void 0},2e3)}return(h,g)=>(t.openBlock(),t.createElementBlock("div",{class:"code-block",onMouseover:u,onMouseleave:g[0]||(g[0]=y=>l.value=!1)},[h.language&&!l.value?(t.openBlock(),t.createElementBlock("div",jm,t.toDisplayString(h.language),1)):t.createCommentVNode("",!0),l.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("button",{ref_key:"copyButton",ref:i,class:"copy"},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(r.value),{onClick:f}))],512),a.value?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"copyTooltip",ref:s,id:"copied-tooltip",role:"tooltip"},[...g[1]||(g[1]=[t.createTextVNode(" Copied! ",-1),t.createElementVNode("div",{id:"arrow","data-popper-arrow":""},null,-1)])],512)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),t.createElementVNode("div",{innerHTML:c.value},null,8,Km)],32))}}),Ro=P(Ym,[["__scopeId","data-v-a899f6a1"]]);function bt(e){if(e.type)return Array.isArray(e.type)?e.type:[e.type];if(e.$ref)return["#"+e.$ref.slice(8)]}function $l(e){const n=e.split("_")[0];return n.substring(n.lastIndexOf(".")+1)}function qm(e){if(e.enum)return e.enum;if(e.items?.enum)return e.items.enum;if(e.additionalProperties?.enum)return e.additionalProperties.enum}function Xm(e){return e.allOf&&(e=e.allOf.reduce((n,o)=>({...n,...o}),{...e}),delete e.allOf),e}function Rl(e){const n={},o=a=>{const r=bt(a);if(r&&r.length>0)return r;if(a.anyOf)return a.anyOf.flatMap(bt).filter(i=>i!==void 0).filter(S.Utils.distinctFilter)},l=o(e);if(l?n.types=l:n.types=["object"],n.types.includes("array")&&e.items){const a=o(e.items);a&&e.items.anyOf&&(n.types=n.types.filter(r=>r!=="array").concat(a))}return e.additionalProperties?n.subType=bt(e.additionalProperties)?.[0]:e.items&&(n.subType=bt(e.items)?.[0]),n}const Zm={name:"ChevronDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Jm=["aria-hidden","aria-label"],Qm=["fill","width","height"],ep={d:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"},tp={key:0};function np(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon chevron-down-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",ep,[o.title?(t.openBlock(),t.createElementBlock("title",tp,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Qm))],16,Jm)}const op=P(Zm,[["render",np]]),lp={name:"EyeOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},rp=["aria-hidden","aria-label"],ap=["fill","width","height"],ip={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"},sp={key:0};function cp(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon eye-outline-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",ip,[o.title?(t.openBlock(),t.createElementBlock("title",sp,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ap))],16,rp)}const Ml=P(lp,[["render",cp]]),up={name:"FileDocumentIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},dp=["aria-hidden","aria-label"],fp=["fill","width","height"],mp={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"},pp={key:0};function gp(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon file-document-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",mp,[o.title?(t.openBlock(),t.createElementBlock("title",pp,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,fp))],16,dp)}const hp=P(up,[["render",gp]]),Ep={class:"me-3"},_p={class:"d-flex flex-column"},yp=t.defineComponent({name:"Alert",__name:"Alert",props:{type:{}},setup(e){const n=e,o=t.computed(()=>{switch(n.type){case"success":return hp;case"info":return At;case"warning":return Mn;case"danger":return an;default:return At}});return(l,a)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass("doc-alert alert alert-"+l.type),role:"alert"},[t.createElementVNode("div",Ep,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.value),{class:"alert-icon"}))]),t.createElementVNode("div",_p,[t.renderSlot(l.$slots,"default",{},void 0,!0)])],2))}}),kp=P(yp,[["__scopeId","data-v-f7fd8bc1"]]),Cp={class:"property-detail"},vp={key:0},Np=["href"],Sp={class:"d-flex fw-bold type-box rounded fs-7 px-2 py-1"},bp={class:"ref-type"},wp={key:1,class:"type-box rounded fs-7 px-2 py-1"},Lp={key:1},Tp={class:"border rounded px-2 py-1"},Ap={key:2},Ip={class:"border rounded px-2 py-1"},Vp={key:3},Op={class:"border rounded px-2 py-1"},Bp={key:4},Dp={class:"border rounded px-2 py-1"},Pp={key:5},$p={class:"border rounded px-2 py-1"},Rp={key:6},Mp={class:"border rounded px-2 py-1"},xp={key:7},Fp={class:"border rounded px-2 py-1"},Up={key:8},Hp={class:"border rounded px-2 py-1"},zp={key:9},Gp={class:"border rounded px-2 py-1"},Wp={key:10},jp={class:"border rounded px-2 py-1"},Kp={key:11},Yp={class:"border rounded px-2 py-1"},qp={key:12},Xp={class:"border rounded px-2 py-1"},Zp={key:13},Jp={class:"d-flex flex-wrap justify-content-end gap-7 p-0"},Qp={key:14},e1={class:"property-description markdown"},t1={key:2},n1=t.defineComponent({__name:"PropertyDetail",props:{property:{}},setup(e){const n=e,o=t.ref(Rl(n.property).subType),l=t.ref(qm(n.property)),a=r=>r.replace(/(```)(?:bash|yaml|js|console|json)(\n) *([\s\S]*?```)/g,"$1$2$3").replace(new RegExp("(?<!:):(?![: /])","g"),": ");return(r,i)=>(t.openBlock(),t.createElementBlock("div",Cp,[o.value?(t.openBlock(),t.createElementBlock("div",vp,[i[1]||(i[1]=t.createElementVNode("span",null," SubType ",-1)),o.value.startsWith("#")?(t.openBlock(),t.createElementBlock("a",{key:0,href:o.value,onClick:i[0]||(i[0]=t.withModifiers(()=>{},["stop"]))},[t.createElementVNode("button",Sp,[t.createElementVNode("span",bp,t.toDisplayString(t.unref($l)(o.value)),1),t.createVNode(Ml)])],8,Np)):(t.openBlock(),t.createElementBlock("span",wp,t.toDisplayString(o.value),1))])):t.createCommentVNode("",!0),r.property.default!==void 0?(t.openBlock(),t.createElementBlock("div",Lp,[i[2]||(i[2]=t.createElementVNode("span",null," Default ",-1)),t.createElementVNode("code",Tp,t.toDisplayString(r.property.default),1)])):t.createCommentVNode("",!0),r.property.pattern!==void 0?(t.openBlock(),t.createElementBlock("div",Ap,[i[3]||(i[3]=t.createElementVNode("span",null," Validation RegExp ",-1)),t.createElementVNode("code",Ip,t.toDisplayString(r.property.pattern),1)])):t.createCommentVNode("",!0),r.property.unit!==void 0&&r.property.unit.trim().length>0?(t.openBlock(),t.createElementBlock("div",Vp,[i[4]||(i[4]=t.createElementVNode("span",null," Unit ",-1)),t.createElementVNode("code",Op,t.toDisplayString(r.property.unit),1)])):t.createCommentVNode("",!0),r.property.minLength!==void 0?(t.openBlock(),t.createElementBlock("div",Bp,[i[5]||(i[5]=t.createElementVNode("span",null," Min length ",-1)),t.createElementVNode("code",Dp,t.toDisplayString(r.property.minLength),1)])):t.createCommentVNode("",!0),r.property.maxLength!==void 0?(t.openBlock(),t.createElementBlock("div",Pp,[i[6]||(i[6]=t.createElementVNode("span",null," Max length ",-1)),t.createElementVNode("code",$p,t.toDisplayString(r.property.maxLength),1)])):t.createCommentVNode("",!0),r.property.minItems!==void 0?(t.openBlock(),t.createElementBlock("div",Rp,[i[7]||(i[7]=t.createElementVNode("span",null," Min items ",-1)),t.createElementVNode("code",Mp,t.toDisplayString(r.property.minItems),1)])):t.createCommentVNode("",!0),r.property.maxItems!==void 0?(t.openBlock(),t.createElementBlock("div",xp,[i[8]||(i[8]=t.createElementVNode("span",null," Max items ",-1)),t.createElementVNode("code",Fp,t.toDisplayString(r.property.maxItems),1)])):t.createCommentVNode("",!0),r.property.minimum!==void 0?(t.openBlock(),t.createElementBlock("div",Up,[i[9]||(i[9]=t.createElementVNode("span",null," Minimum ",-1)),t.createElementVNode("code",Hp," >= "+t.toDisplayString(r.property.minimum),1)])):t.createCommentVNode("",!0),r.property.exclusiveMinimum!==void 0?(t.openBlock(),t.createElementBlock("div",zp,[i[10]||(i[10]=t.createElementVNode("span",null," Minimum ",-1)),t.createElementVNode("code",Gp," > "+t.toDisplayString(r.property.minimum),1)])):t.createCommentVNode("",!0),r.property.maximum!==void 0?(t.openBlock(),t.createElementBlock("div",Wp,[i[11]||(i[11]=t.createElementVNode("span",null," Maximum ",-1)),t.createElementVNode("code",jp," <= "+t.toDisplayString(r.property.maximum),1)])):t.createCommentVNode("",!0),r.property.exclusiveMaximum!==void 0?(t.openBlock(),t.createElementBlock("div",Kp,[i[12]||(i[12]=t.createElementVNode("span",null," Maximum ",-1)),t.createElementVNode("code",Yp," < "+t.toDisplayString(r.property.maximum),1)])):t.createCommentVNode("",!0),r.property.format!==void 0?(t.openBlock(),t.createElementBlock("div",qp,[i[13]||(i[13]=t.createElementVNode("span",null," Format ",-1)),t.createElementVNode("code",Xp,t.toDisplayString(r.property.format),1)])):t.createCommentVNode("",!0),l.value!==void 0?(t.openBlock(),t.createElementBlock("div",Zp,[i[14]||(i[14]=t.createElementVNode("span",null," Possible Values ",-1)),t.createElementVNode("div",Jp,[(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),r.property.title!==void 0||r.property.description!==void 0?(t.openBlock(),t.createElementBlock("div",Qp,[t.createElementVNode("div",e1,[r.property.title!==void 0?t.renderSlot(r.$slots,"markdown",{key:0,content:a(r.property.title)},void 0,!0):t.createCommentVNode("",!0),r.property.description!==void 0?t.renderSlot(r.$slots,"markdown",{key:1,content:a(r.property.description)},void 0,!0):t.createCommentVNode("",!0),r.property.$internalStorageURI?(t.openBlock(),t.createElementBlock("div",t1,[t.createVNode(kp,{type:"info"},{default:t.withCtx(()=>[t.renderSlot(r.$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)]))}}),o1=P(n1,[["__scopeId","data-v-721fbdf5"]]),l1={name:"ChevronUpIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},r1=["aria-hidden","aria-label"],a1=["fill","width","height"],i1={d:"M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"},s1={key:0};function c1(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon chevron-up-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",i1,[o.title?(t.openBlock(),t.createElementBlock("title",s1,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,a1))],16,r1)}const u1=P(l1,[["render",c1]]),d1={name:"SnowflakeIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},f1=["aria-hidden","aria-label"],m1=["fill","width","height"],p1={d:"M20.79,13.95L18.46,14.57L16.46,13.44V10.56L18.46,9.43L20.79,10.05L21.31,8.12L19.54,7.65L20,5.88L18.07,5.36L17.45,7.69L15.45,8.82L13,7.38V5.12L14.71,3.41L13.29,2L12,3.29L10.71,2L9.29,3.41L11,5.12V7.38L8.5,8.82L6.5,7.69L5.92,5.36L4,5.88L4.47,7.65L2.7,8.12L3.22,10.05L5.55,9.43L7.55,10.56V13.45L5.55,14.58L3.22,13.96L2.7,15.89L4.47,16.36L4,18.12L5.93,18.64L6.55,16.31L8.55,15.18L11,16.62V18.88L9.29,20.59L10.71,22L12,20.71L13.29,22L14.7,20.59L13,18.88V16.62L15.5,15.17L17.5,16.3L18.12,18.63L20,18.12L19.53,16.35L21.3,15.88L20.79,13.95M9.5,10.56L12,9.11L14.5,10.56V13.44L12,14.89L9.5,13.44V10.56Z"},g1={key:0};function h1(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon snowflake-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",p1,[o.title?(t.openBlock(),t.createElementBlock("title",g1,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,m1))],16,f1)}const E1=P(d1,[["render",h1]]),_1={name:"AlphaBBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},y1=["aria-hidden","aria-label"],k1=["fill","width","height"],C1={d:"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M15,10.5V9A2,2 0 0,0 13,7H9V17H13A2,2 0 0,0 15,15V13.5C15,12.7 14.3,12 13.5,12C14.3,12 15,11.3 15,10.5M13,15H11V13H13V15M13,11H11V9H13V11Z"},v1={key:0};function N1(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon alpha-b-box-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",C1,[o.title?(t.openBlock(),t.createElementBlock("title",v1,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,k1))],16,y1)}const S1=P(_1,[["render",N1]]),b1={class:"border overflow-hidden"},w1={class:"d-flex flex-grow-1 align-items-center justify-content-between"},L1={class:"d-flex gap-2"},T1={class:"d-flex flex-wrap justify-content-end gap-2"},A1=["href"],I1={class:"ref-type"},V1={key:1,class:"type-box rounded fs-7 px-2 py-1"},O1=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:()=>[]},noUrlChange:{type:Boolean,default:!1}},emits:["expand"],setup(e,{emit:n}){const o=e,l=n,a=t.ref(!1);t.watch(a,s=>{s&&l("expand")});const r=s=>s.$dynamic===!0?!0:s.$dynamic===!1?!1:s.anyOf?.some(c=>c.$dynamic===!0)??!1;function i(s){const c=[],u=[];for(const g in s)typeof s[g]=="object"&&(s[g]=Xm(s[g]),s[g].$required?c.push(g):u.push(g));const f=[...c.sort(),...u.sort()],h={};return f.forEach(g=>{(!s[g].$deprecated||o.forceInclude?.includes(g))&&(h[g]=s[g])}),h}return(s,c)=>(t.openBlock(),t.createBlock(pt,{class:"section-collapsible","clickable-text":s.sectionName,href:s.href,onExpand:c[2]||(c[2]=u=>l("expand")),"initially-expanded":s.initiallyExpanded||a.value,"no-url-change":s.noUrlChange},t.createSlots({_:2},[Object.keys(s.properties??{}).length>0?{name:"content",fn:t.withCtx(()=>[t.createElementVNode("div",b1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i(s.properties),(u,f)=>(t.openBlock(),t.createBlock(pt,{class:"property",key:f,arrow:!1,"clickable-text":f,href:s.href+"_"+f,onExpand:c[1]||(c[1]=h=>a.value=!0),"no-url-change":s.noUrlChange},{additionalButtonText:t.withCtx(()=>[u.$required?(t.openBlock(),t.createBlock(q,{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:h})=>[t.createElementVNode("span",w1,[t.createElementVNode("span",L1,[s.showDynamic&&!r(u)?(t.openBlock(),t.createBlock(q,{key:0,class:"d-flex",title:"Non-dynamic"},{default:t.withCtx(()=>[t.createVNode(E1,{class:"text-info"})]),_:1})):t.createCommentVNode("",!0),u.$beta?(t.openBlock(),t.createBlock(q,{key:1,class:"d-flex",title:"Beta"},{default:t.withCtx(()=>[t.createVNode(S1,{class:"text-warning"})]),_:1})):t.createCommentVNode("",!0),u.$deprecated?(t.openBlock(),t.createBlock(q,{key:2,class:"d-flex",title:"Deprecated"},{default:t.withCtx(()=>[t.createVNode(Mn,{class:"text-warning"})]),_:1})):t.createCommentVNode("",!0)]),t.createElementVNode("span",T1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(Rl)(u).types,g=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:g},[g.startsWith("#")?(t.openBlock(),t.createElementBlock("a",{key:0,class:"d-flex fw-bold ref-type-box rounded fs-7 px-2 py-1",href:g,onClick:c[0]||(c[0]=t.withModifiers(()=>{},["stop"]))},[t.createElementVNode("span",I1,t.toDisplayString(t.unref($l)(g)),1),t.createVNode(Ml)],8,A1)):(t.openBlock(),t.createElementBlock("span",V1,t.toDisplayString(g),1))],64))),128)),(t.openBlock(),t.createBlock(t.resolveDynamicComponent(h?op:u1),{class:"arrow"}))])])]),content:t.withCtx(()=>[t.createVNode(o1,{property:u},{markdown:t.withCtx(({content:h})=>[t.renderSlot(s.$slots,"markdown",{content:h},void 0,!0)]),_:3},8,["property"])]),_:2},1032,["clickable-text","href","no-url-change"]))),128))])]),key:"0"}:void 0]),1032,["clickable-text","href","initially-expanded","no-url-change"]))}}),wt=P(O1,[["__scopeId","data-v-41e2cdcf"]]),B1={class:"d-flex flex-column gap-6"},D1={class:"d-flex flex-column gap-3"},P1={key:0,class:"alert alert-info mb-2",role:"alert"},$1={key:1,class:"plugin-title markdown"},R1={key:2,class:"markdown"},M1={class:"d-flex flex-column gap-4"},x1={class:"d-flex flex-column gap-3"},F1={class:"markdown"},U1={key:0,class:"w-100 align-self-center"},H1={class:"markdown"},z1={class:"markdown"},G1={class:"markdown"},W1={class:"d-flex flex-column gap-7 ps-3"},j1={class:"markdown"},K1=t.defineComponent({__name:"SchemaToHtml",props:{schema:{},pluginType:{},darkMode:{type:Boolean,default:!0},propsInitiallyExpanded:{type:Boolean,default:!1},forceIncludeProperties:{default:()=>[]},noUrlChange:{type:Boolean,default:!1}},async setup(e){let n,o;const l=e,a=t.ref(!1),r=t.ref(new Set),i=t.ref(0),s=async()=>{const k=window.location.hash.slice(1);if(!k||!l.schema.definitions){r.value.clear();return}const v=k.includes("#")?k.split("#").pop()?.split(".").pop():k;if(v&&v in l.schema.definitions){a.value=!0,i.value+=1,r.value.clear(),r.value.add(v),await t.nextTick();let E=0;const m=30,_=()=>{const L=document.getElementById(v);L?L.scrollIntoView({behavior:"smooth",block:"start"}):E<m&&(E++,requestAnimationFrame(_))};requestAnimationFrame(_)}else r.value.clear()};t.watch([()=>l.schema,()=>l.pluginType],([k,v],[E,m])=>{(k!==E||v!==m)&&l.schema.definitions&&s()});const c=k=>k?.full?k.code:`id: "${l.pluginType.split(".").reverse()[0]?.toLowerCase()}"
24
+ </svg>`));return(r,i)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(ne.Handle),{type:"source",position:t.sourcePosition},null,8,["position"]),e.createElementVNode("div",{class:e.normalizeClass([[`border-${t.data.color}`],"dependency-node-wrapper rounded-3 border"])},[e.createVNode(Un,{"custom-icon":{icon:a.value},class:"bg-pink rounded",theme:"light"},null,8,["custom-icon"]),e.createElementVNode("div",Pc,[e.createElementVNode("div",Rc,[e.createVNode(W,{title:t.data.flowId},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.data.flowId),1)]),_:1},8,["title"])]),e.createElementVNode("div",Mc,[e.createVNode(W,{title:t.data.namespace},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.data.namespace),1)]),_:1},8,["title"])])]),e.createElementVNode("div",xc,[e.renderSlot(r.$slots,"badge-button-before",{},void 0,!0),t.data.link?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["circle-button",[`bg-${t.data.color}`]]),onClick:i[0]||(i[0]=s=>r.$emit(e.unref(w.EVENTS).OPEN_LINK,t.data))},[e.createVNode(W,{title:e.unref(l)("open")},{default:e.withCtx(()=>[e.createVNode(Bl,{class:"button-icon",alt:"Open in new tab"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0),t.data.expandEnabled?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(["circle-button",[`bg-${t.data.color}`]]),onClick:i[1]||(i[1]=s=>o(e.unref(w.EVENTS).EXPAND_DEPENDENCIES,t.data))},[e.createVNode(W,{title:e.unref(l)("expand")},{default:e.withCtx(()=>[e.createVNode(Oc,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"badge-button-after",{},void 0,!0)])],2),e.createVNode(e.unref(ne.Handle),{type:"target",position:t.targetPosition},null,8,["position"])],64))}}),Uc=D(Fc,[["__scopeId","data-v-2271d5b0"]]);var Oe=(t=>(t.Lines="lines",t.Dots="dots",t))(Oe||{});const Vl=function({dimensions:t,size:n,color:o}){return e.h("path",{stroke:o,"stroke-width":n,d:`M${t[0]/2} 0 V${t[1]} M0 ${t[1]/2} H${t[0]}`})},Il=function({radius:t,color:n}){return e.h("circle",{cx:t,cy:t,r:t,fill:n})};Oe.Lines+"",Oe.Dots+"";const Hc={[Oe.Dots]:"#81818a",[Oe.Lines]:"#eee"},zc=["id","x","y","width","height","patternTransform"],Wc={key:2,height:"100",width:"100"},jc=["fill"],Gc=["x","y","fill"],Kc={name:"Background",compatConfig:{MODE:3}},Yc=e.defineComponent({...Kc,props:{id:{},variant:{default:()=>Oe.Dots},gap:{default:20},size:{default:1},lineWidth:{default:1},patternColor:{},color:{},bgColor:{},height:{default:100},width:{default:100},x:{default:0},y:{default:0},offset:{default:0}},setup(t){const{id:n,viewport:o}=ne.useVueFlow(),l=e.computed(()=>{const i=o.value.zoom,[s,c]=Array.isArray(t.gap)?t.gap:[t.gap,t.gap],u=[s*i||1,c*i||1],d=t.size*i,[p,h]=Array.isArray(t.offset)?t.offset:[t.offset,t.offset],_=[p*i||1+u[0]/2,h*i||1+u[1]/2];return{scaledGap:u,offset:_,size:d}}),a=e.toRef(()=>`pattern-${n}${t.id?`-${t.id}`:""}`),r=e.toRef(()=>t.color||t.patternColor||Hc[t.variant||Oe.Dots]);return(i,s)=>(e.openBlock(),e.createElementBlock("svg",{class:"vue-flow__background vue-flow__container",style:e.normalizeStyle({height:`${i.height>100?100:i.height}%`,width:`${i.width>100?100:i.width}%`})},[e.renderSlot(i.$slots,"pattern-container",{id:a.value},()=>[e.createElementVNode("pattern",{id:a.value,x:e.unref(o).x%l.value.scaledGap[0],y:e.unref(o).y%l.value.scaledGap[1],width:l.value.scaledGap[0],height:l.value.scaledGap[1],patternTransform:`translate(-${l.value.offset[0]},-${l.value.offset[1]})`,patternUnits:"userSpaceOnUse"},[e.renderSlot(i.$slots,"pattern",{},()=>[i.variant===e.unref(Oe).Lines?(e.openBlock(),e.createBlock(e.unref(Vl),{key:0,size:i.lineWidth,color:r.value,dimensions:l.value.scaledGap},null,8,["size","color","dimensions"])):i.variant===e.unref(Oe).Dots?(e.openBlock(),e.createBlock(e.unref(Il),{key:1,color:r.value,radius:l.value.size/2},null,8,["color","radius"])):e.createCommentVNode("",!0),i.bgColor?(e.openBlock(),e.createElementBlock("svg",Wc,[e.createElementVNode("rect",{width:"100%",height:"100%",fill:i.bgColor},null,8,jc)])):e.createCommentVNode("",!0)])],8,zc)]),e.createElementVNode("rect",{x:i.x,y:i.y,width:"100%",height:"100%",fill:`url(#${a.value})`},null,8,Gc),e.renderSlot(i.$slots,"default",{id:a.value})],4))}}),qc={name:"ArrowCollapseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Xc=["aria-hidden","aria-label"],Zc=["fill","width","height"],Jc={d:"M19.5,3.09L15,7.59V4H13V11H20V9H16.41L20.91,4.5L19.5,3.09M4,13V15H7.59L3.09,19.5L4.5,20.91L9,16.41V20H11V13H4Z"},Qc={key:0};function eu(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon arrow-collapse-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Jc,[o.title?(e.openBlock(),e.createElementBlock("title",Qc,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Zc))],16,Xc)}const tu=D(qc,[["render",eu]]),nu={class:"top-button-div text-white d-flex"},ou={inheritAttrs:!1,components:{Tooltip:W},data(){return{tooltips:[]}},computed:{classes(){return{"unused-path":this.data.unused}},clusterName(){const t=this.data.taskNode;if(t?.type?.endsWith("SubflowGraphTask")){const n=t.task.subflowId??t.task;return n.namespace+" "+n.flowId}return w.Utils.afterLastDot(this.id)}}},lu=Object.assign(ou,{__name:"ClusterNode",props:{data:{type:Object,default:void 0},sourcePosition:{type:ne.Position,default:void 0},targetPosition:{type:ne.Position,default:void 0},id:{type:String,default:void 0}},emits:[w.EVENTS.COLLAPSE],setup(t,{emit:n}){const o=t,l=n,a=()=>{l(w.EVENTS.COLLAPSE,o.id)};return(r,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(r.classes)},[e.createElementVNode("span",{class:e.normalizeClass(["badge rounded-pill text-truncate text-color position-reliative",[`bg-${t.data.color}`]])},e.toDisplayString(r.clusterName),3),e.createElementVNode("div",nu,[t.data.collapsable?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["circle-button",[`bg-${t.data.color}`]]),onClick:i[0]||(i[0]=s=>a())},[e.createVNode(W,{title:r.$t("collapse")},{default:e.withCtx(()=>[e.createVNode(tu,{class:"button-icon",alt:"Collapse task"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0)])],2))}}),ru=D(lu,[["__scopeId","data-v-0c251e77"]]),au={name:"CircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},iu=["aria-hidden","aria-label"],su=["fill","width","height"],cu={d:"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},uu={key:0};function du(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon circle-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",cu,[o.title?(e.openBlock(),e.createElementBlock("title",uu,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,su))],16,iu)}const Al=D(au,[["render",du]]),mu={name:"Dot",components:{Handle:ne.Handle,CircleIcon:Al},inheritAttrs:!1,props:{data:{type:Object,required:!0},sourcePosition:{type:String,required:!0},targetPosition:{type:String,required:!0},label:{type:String,default:void 0}},computed:{classes(){return{"unused-path":this.data.unused,[w.Utils.afterLastDot(this.data.node.type)]:!0}}}},fu=Object.assign(mu,{setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(n.classes)},[e.createVNode(e.unref(ne.Handle),{type:"source",class:"custom-handle",position:t.sourcePosition},null,8,["position"]),e.createElementVNode("div",{class:e.normalizeClass(["dot",n.classes])},[e.createVNode(Al,{class:e.normalizeClass([{"text-danger":t.data.node.branchType==="ERROR"},"circle"]),alt:"circle"},null,8,["class"])],2),e.createVNode(e.unref(ne.Handle),{type:"target",class:"custom-handle",position:t.targetPosition},null,8,["position"])],2))}}),pu=D(fu,[["__scopeId","data-v-666f472b"]]),gu={name:"PlusIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},hu=["aria-hidden","aria-label"],Eu=["fill","width","height"],yu={d:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"},ku={key:0};function _u(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon plus-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",yu,[o.title?(e.openBlock(),e.createElementBlock("title",ku,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Eu))],16,hu)}const vu=D(gu,[["render",_u]]),Cu={class:"add-task-div rounded d-flex justify-content-center align-items-center"},Nu=e.defineComponent({name:"AddTaskButton",__name:"AddTaskButton",props:{addTask:{type:Boolean}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("div",Cu,[n.addTask?(e.openBlock(),e.createBlock(vu,{key:0,alt:"add task icon"})):e.createCommentVNode("",!0)]))}}),Su=D(Nu,[["__scopeId","data-v-536dd646"]]),bu=["id","d","marker-end"],xo=14,wu=e.defineComponent({inheritAttrs:!1,__name:"EdgeNode",props:{id:{type:String,default:void 0},data:{type:Object,default:void 0},sourceX:{type:Number,default:void 0},sourceY:{type:Number,default:void 0},targetX:{type:Number,default:void 0},targetY:{type:Number,default:void 0},markerEnd:{type:String,default:void 0},sourcePosition:{type:String,default:void 0},targetPosition:{type:String,default:void 0}},setup(t){const n=t,o=e.computed(()=>n.data?{"vue-flow__edge-path":!0,["stroke-"+n.data.color]:n.data.color,"unused-path":n.data.unused}:{});let l=u=>u;try{const{t:u}=yt();l=u}catch{}const a=e.computed(()=>{const{haveAdd:u}=n.data??{};return`${l("add task")} ${u?.length===2?`${l(u[1])} ${u[0]}`:""}`.trim()}),r=e.computed(()=>ne.getSmoothStepPath(n)),i=e.computed(()=>{const u=(n.targetX??0)-(n.sourceX??0),d=(n.targetY??0)-(n.sourceY??0);return Math.abs(d)>=Math.abs(u)}),s=e.computed(()=>{if(!i.value)return 0;const u=n.data?.edgeBoundary;return u==="top"?-xo:u==="bottom"?xo:0}),c=e.computed(()=>0);return(u,d)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[r.value?.length?(e.openBlock(),e.createElementBlock("path",{key:0,id:t.id,class:e.normalizeClass(o.value),style:e.normalizeStyle(t.data.haveDashArray?{strokeDasharray:"2"}:{}),d:r.value[0],"marker-end":t.markerEnd},null,14,bu)):e.createCommentVNode("",!0),r.value?.length?(e.openBlock(),e.createBlock(e.unref(ne.EdgeLabelRenderer),{key:1,style:{"z-index":"10"}},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle({pointerEvents:"all",position:"absolute",transform:`translate(-50%, -50%) translate(${r.value[1]+c.value}px,${r.value[2]+s.value}px)`})},[e.createVNode(W,{title:a.value},{default:e.withCtx(()=>[t.data.haveAdd?(e.openBlock(),e.createBlock(Su,{key:0,"add-task":!0,onClick:d[0]||(d[0]=p=>u.$emit(e.unref(w.EVENTS).ADD_TASK,t.data.haveAdd)),class:e.normalizeClass({"text-danger":t.data.color})},null,8,["class"])):e.createCommentVNode("",!0)]),_:1},8,["title"])],4)]),_:1})):e.createCommentVNode("",!0)],64))}}),Lu=D(wu,[["__scopeId","data-v-575e9f2a"]]),Tu=["innerHTML"],Bu=e.defineComponent({__name:"Duration",props:{histories:{}},setup(t){const n=t;e.watch(()=>n.histories,(_,v)=>{v[0].date!==_[0].date&&s()});const o=e.ref(""),l=e.ref();e.onMounted(()=>{s()});const a=e.computed(()=>n.histories?.length&&new Date(n.histories[0].date.toString()).getTime()),r=e.computed(()=>n.histories[n.histories.length-1]),i=e.computed(()=>n.histories.filter(_=>_.date.isValid()&&_.date&&_.state));function s(){l.value||(l.value=setInterval(()=>{p(),n.histories&&!te.isRunning(r.value.state)&&c()},100))}function c(){l.value&&(clearInterval(l.value),l.value=void 0)}function u(){return d()-a.value}function d(){return!n.histories||te.isRunning(r.value.state)?+new Date:new Date(r.value.date.toString()).getTime()}function p(){o.value=i.value.length===0?"&nbsp;":w.humanDuration(u()/1e3)}function h(_){return"ks-duration-tt-square-"+_.toLowerCase()}return e.onBeforeUnmount(()=>{c()}),(_,v)=>(e.openBlock(),e.createBlock(W,{key:r.value.date.toString()},{content:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(C,E)=>(e.openBlock(),e.createElementBlock("span",{key:"tt-"+E,class:"ks-duration-tt"},[e.createElementVNode("span",{class:e.normalizeClass(["ks-duration-tt-square",h(C.state)])},null,2),e.createElementVNode("strong",null,e.toDisplayString(C.state)+": ",1),e.createTextVNode(e.toDisplayString(w.dateFilter(C.date.toISOString(),"iso"))+" ",1),v[0]||(v[0]=e.createElementVNode("br",null,null,-1))]))),128))]),default:e.withCtx(()=>[e.createElementVNode("span",{innerHTML:o.value},null,8,Tu)]),_:1}))}}),Vu={class:"btn-group content rounded-1 content-children text-truncate"},Iu={key:0,class:"taskRunCount"},Au={key:1},Du={key:2},$u=e.defineComponent({name:"ExecutionInformations",__name:"ExecutionInformations",props:{color:{},uid:{},execution:{},task:{},state:{}},setup(t){const n=t,o=e.computed(()=>n.execution?.taskRunList?n.execution.taskRunList:[]),l=e.computed(()=>o.value.filter(r=>r.taskId===w.afterLastDot(n.uid??""))),a=e.computed(()=>{if(!l.value)return;const r=Math.max(...l.value.filter(s=>s.state.histories&&s.state.histories.length>0).map(s=>new Date(s.state.histories[s.state.histories.length-1].date).getTime())),i=Math.max(...l.value.map(s=>sn.duration(s.state.duration).asMilliseconds()/1e3,0));return[{date:sn(r).subtract(i,"second"),state:"CREATED"},{date:sn(r),state:n.state}]});return(r,i)=>(e.openBlock(),e.createElementBlock("div",Vu,[l.value.length>0?(e.openBlock(),e.createElementBlock("span",Iu,e.toDisplayString(l.value.length)+" task runs",1)):e.createCommentVNode("",!0),l.value.length>0?(e.openBlock(),e.createElementBlock("span",Au," | ")):e.createCommentVNode("",!0),a.value?(e.openBlock(),e.createElementBlock("span",Du,[e.createVNode(Bu,{histories:a.value},null,8,["histories"])])):e.createCommentVNode("",!0)]))}}),Ou=D($u,[["__scopeId","data-v-96fa5d6e"]]),Pu={name:"InformationOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ru=["aria-hidden","aria-label"],Mu=["fill","width","height"],xu={d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M11,17H13V11H11V17Z"},Fu={key:0};function Uu(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon information-outline-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",xu,[o.title?(e.openBlock(),e.createElementBlock("title",Fu,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Mu))],16,Ru)}const Hu=D(Pu,[["render",Uu]]),zu={name:"ArrowExpandIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Wu=["aria-hidden","aria-label"],ju=["fill","width","height"],Gu={d:"M10,21V19H6.41L10.91,14.5L9.5,13.09L5,17.59V14H3V21H10M14.5,10.91L19,6.41V10H21V3H14V5H17.59L13.09,9.5L14.5,10.91Z"},Ku={key:0};function Yu(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon arrow-expand-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Gu,[o.title?(e.openBlock(),e.createElementBlock("title",Ku,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ju))],16,Wu)}const Hn=D(zu,[["render",Yu]]),qu={class:"icon rounded"},Xu={class:"node-content"},Zu={class:"d-flex node-title"},Ju={class:"text-truncate task-title"},Qu={key:0,class:"d-flex"},ed={class:"text-white top-button-div"},td=e.defineComponent({name:"BasicNode",inheritAttrs:!1,__name:"BasicNode",props:{id:{},title:{},type:{},disabled:{type:Boolean},state:{},data:{},icons:{},iconComponent:{},class:{}},emits:[w.EVENTS.EXPAND,w.EVENTS.OPEN_LINK,w.EVENTS.SHOW_LOGS,w.EVENTS.MOUSE_OVER,w.EVENTS.MOUSE_LEAVE,w.EVENTS.ADD_ERROR,w.EVENTS.EDIT,w.EVENTS.DELETE,w.EVENTS.ADD_TASK,w.EVENTS.SHOW_DESCRIPTION],setup(t,{emit:n}){const o=n,l=t;function a(){o(w.EVENTS.MOUSE_OVER,l.data.node)}function r(){o(w.EVENTS.MOUSE_LEAVE)}const i=e.computed(()=>l.data?.expandable||!1),s=e.computed(()=>l.data.node?.plugin??l.data.node?.task??l.data.node?.trigger??null),c=e.computed(()=>s.value?.description??null),u=e.computed(()=>w.Utils.afterLastDot(l.id??"")),d=e.computed(()=>["default","danger"].includes(l.data.color)?"":l.data.color),p=e.computed(()=>[{"unused-path":l.data.unused,disabled:s.value?.disabled||l.data.parent?.taskNode?.task?.disabled},l.class]),h=e.computed(()=>{if(l.data.node.triggerDeclaration)return l.data.node.triggerDeclaration.type;if(s.value)return s.value?.type}),_=e.computed(()=>{if(s.value?.type?.endsWith("SubflowGraphTask")){const C=s.value.subflowId??s.value;return C.namespace+" "+C.flowId}return u.value}),v=e.computed(()=>l.title??u.value);return(C,E)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["node-wrapper rounded-3",{...p.value,"running-border-animation":C.state==="RUNNING"}]),style:e.normalizeStyle({borderColor:C.state?`var(--ks-border-${C.state.toLowerCase()})`:void 0}),onMouseover:a,onMouseleave:r},[e.createElementVNode("div",qu,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(C.iconComponent||Un),{cls:h.value,class:e.normalizeClass([d.value,"rounded bg-white"]),theme:"light",icons:C.icons},null,8,["cls","class","icons"]))]),e.createElementVNode("div",Xu,[e.createElementVNode("div",Zu,[e.createElementVNode("div",Ju,[e.createVNode(W,{title:_.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(v.value),1)]),_:1},8,["title"])]),c.value?(e.openBlock(),e.createElementBlock("span",Qu,[e.createVNode(W,{title:C.$t("show description"),class:"d-flex align-items-center"},{default:e.withCtx(()=>[e.createVNode(Hu,{onClick:E[0]||(E[0]=f=>C.$emit(e.unref(w.EVENTS).SHOW_DESCRIPTION,{id:u.value,description:c.value})),class:"description-button ms-2"})]),_:1},8,["title"])])):e.createCommentVNode("",!0)]),e.renderSlot(C.$slots,"content",{},void 0,!0)]),e.createElementVNode("div",ed,[e.renderSlot(C.$slots,"badge-button-before",{},void 0,!0),C.data.link?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["circle-button",[`bg-${C.data.color}`]]),onClick:E[1]||(E[1]=f=>C.$emit(e.unref(w.EVENTS).OPEN_LINK,{link:C.data.link}))},[e.createVNode(W,{title:C.$t("open")},{default:e.withCtx(()=>[e.createVNode(Bl,{class:"button-icon",alt:"Open in new tab"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0),i.value?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(["circle-button",[`bg-${C.data.color}`]]),onClick:E[2]||(E[2]=f=>C.$emit(e.unref(w.EVENTS).EXPAND))},[e.createVNode(W,{title:C.$t("expand")},{default:e.withCtx(()=>[e.createVNode(Hn,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0),e.renderSlot(C.$slots,"badge-button-after",{},void 0,!0)])],38))}}),zn=D(td,[["__scopeId","data-v-fafddf6d"]]),Wn=Symbol("execution-injection-key"),Dl=Symbol("subflows-executions-injection-key"),nd={name:"PencilIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},od=["aria-hidden","aria-label"],ld=["fill","width","height"],rd={d:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"},ad={key:0};function id(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon pencil-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",rd,[o.title?(e.openBlock(),e.createElementBlock("title",ad,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ld))],16,od)}const jn=D(nd,[["render",id]]),sd={name:"DeleteIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},cd=["aria-hidden","aria-label"],ud=["fill","width","height"],dd={d:"M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z"},md={key:0};function fd(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon delete-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",dd,[o.title?(e.openBlock(),e.createElementBlock("title",md,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ud))],16,cd)}const Gn=D(sd,[["render",fd]]),pd={name:"TextBoxSearchIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},gd=["aria-hidden","aria-label"],hd=["fill","width","height"],Ed={d:"M15.5,12C18,12 20,14 20,16.5C20,17.38 19.75,18.21 19.31,18.9L22.39,22L21,23.39L17.88,20.32C17.19,20.75 16.37,21 15.5,21C13,21 11,19 11,16.5C11,14 13,12 15.5,12M15.5,14A2.5,2.5 0 0,0 13,16.5A2.5,2.5 0 0,0 15.5,19A2.5,2.5 0 0,0 18,16.5A2.5,2.5 0 0,0 15.5,14M7,15V17H9C9.14,18.55 9.8,19.94 10.81,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H19A2,2 0 0,1 21,5V13.03C19.85,11.21 17.82,10 15.5,10C14.23,10 13.04,10.37 12.04,11H7V13H10C9.64,13.6 9.34,14.28 9.17,15H7M17,9V7H7V9H17Z"},yd={key:0};function kd(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon text-box-search-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Ed,[o.title?(e.openBlock(),e.createElementBlock("title",yd,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,hd))],16,gd)}const _d=D(pd,[["render",kd]]),vd={name:"AlertOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Cd=["aria-hidden","aria-label"],Nd=["fill","width","height"],Sd={d:"M12,2L1,21H23M12,6L19.53,19H4.47M11,10V14H13V10M11,16V18H13V16"},bd={key:0};function wd(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon alert-outline-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Sd,[o.title?(e.openBlock(),e.createElementBlock("title",bd,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Nd))],16,Cd)}const Ld=D(vd,[["render",wd]]),Td={name:"SendLockIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Bd=["aria-hidden","aria-label"],Vd=["fill","width","height"],Id={d:"M23,18V17.5A2.5,2.5 0 0,0 20.5,15A2.5,2.5 0 0,0 18,17.5V18A1,1 0 0,0 17,19V23A1,1 0 0,0 18,24H23A1,1 0 0,0 24,23V19A1,1 0 0,0 23,18M22,18H19V17.5A1.5,1.5 0 0,1 20.5,16A1.5,1.5 0 0,1 22,17.5V18M23,12L2,21V14L17,12L2,10V3L23,12Z"},Ad={key:0};function Dd(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon send-lock-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Id,[o.title?(e.openBlock(),e.createElementBlock("title",Ad,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Vd))],16,Bd)}const $d=D(Td,[["render",Dd]]),Od={name:"PlayIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Pd=["aria-hidden","aria-label"],Rd=["fill","width","height"],Md={d:"M8,5.14V19.14L19,12.14L8,5.14Z"},xd={key:0};function Fd(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon play-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Md,[o.title?(e.openBlock(),e.createElementBlock("title",xd,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Rd))],16,Pd)}const Ud=D(Od,[["render",Fd]]),Hd={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},zd=["aria-hidden","aria-label"],Wd=["fill","width","height"],jd={d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"},Gd={key:0};function Kd(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon check-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",jd,[o.title?(e.openBlock(),e.createElementBlock("title",Gd,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Wd))],16,zd)}const $l=D(Hd,[["render",Kd]]),Yd={name:"AlertIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},qd=["aria-hidden","aria-label"],Xd=["fill","width","height"],Zd={d:"M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z"},Jd={key:0};function Qd(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon alert-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Zd,[o.title?(e.openBlock(),e.createElementBlock("title",Jd,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Xd))],16,qd)}const Kt=D(Yd,[["render",Qd]]),em={name:"SkipForwardIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},tm=["aria-hidden","aria-label"],nm=["fill","width","height"],om={d:"M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12"},lm={key:0};function rm(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon skip-forward-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",om,[o.title?(e.openBlock(),e.createElementBlock("title",lm,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,nm))],16,tm)}const am=D(em,[["render",rm]]),im=e.defineComponent({name:"TaskNode",inheritAttrs:!1,__name:"TaskNode",props:{data:{},sourcePosition:{default:ne.Position.Right},targetPosition:{default:ne.Position.Left},id:{},icons:{default:void 0},iconComponent:{default:void 0},enableSubflowInteraction:{type:Boolean,default:!0},playgroundEnabled:{type:Boolean},playgroundReadyToStart:{type:Boolean}},setup(t,{emit:n}){const o=t,l=n,a=e.inject(Wn),r=e.inject(Dl),i=e.computed(()=>o.data.color??"primary"),s=e.computed(()=>w.Utils.afterLastDot(o.id)),c=e.computed(()=>{const E=o.data.executionId;if(E)return E===a?.value?.id?a?.value:Object.values(r?.value||{}).find(f=>f.id===E)}),u=e.computed(()=>c.value&&c.value.taskRunList?c.value.taskRunList:[]),d=e.computed(()=>u.value.filter(E=>E.taskId===w.Utils.afterLastDot(o.data.node.uid))),p=e.computed(()=>{if(!d.value?.length)return null;if(d.value.length===1)return d.value[0].state.current;const E=d.value.map(k=>k.state.current),f=[te.FAILED,te.KILLED,te.WARNING,te.SKIPPED,te.KILLING,te.RUNNING,te.SUCCESS,te.RESTARTED,te.CREATED];return E.map(k=>[f.indexOf(k[1]),k]).sort().map(k=>k[1])[0]}),h=e.computed(()=>({"execution-no-taskrun":!!(c.value&&d.value&&d.value.length===0)})),_=e.computed(()=>({id:o.id,type:String(o.data.node.task.type)})),v=e.computed(()=>{if(o.data.node.type?.endsWith("SubflowGraphTask")&&o.enableSubflowInteraction){const E=o.data.node.task.subflowId??o.data.node.task;return{...o.data,link:{namespace:E.namespace,id:E.flowId,executionId:c.value?.taskRunList.filter(f=>f.id===o.data.node.taskRun.id&&f.outputs?.executionId)?.[0]?.outputs?.executionId}}}return o.data}),C=e.computed(()=>{if(p.value===te.RUNNING)return"task is running";if(p.value===te.SUCCESS)return"task was successful";if(p.value===te.WARNING)return"task sent a warning";if(p.value===te.SKIPPED)return"task was skipped";if(p.value===te.FAILED)return"task failed"});return(E,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(ne.Handle),{type:"source",position:E.sourcePosition},null,8,["position"]),e.createVNode(zn,{id:E.id,data:v.value,state:p.value,class:e.normalizeClass(h.value),icons:E.icons,"icon-component":E.iconComponent,onShowDescription:f[6]||(f[6]=y=>l(e.unref(w.EVENTS).SHOW_DESCRIPTION,y)),onExpand:f[7]||(f[7]=y=>l(e.unref(w.EVENTS).EXPAND,_.value)),onOpenLink:f[8]||(f[8]=y=>l(e.unref(w.EVENTS).OPEN_LINK,y)),onMouseover:f[9]||(f[9]=y=>l(e.unref(w.EVENTS).MOUSE_OVER,y)),onMouseleave:f[10]||(f[10]=y=>l(e.unref(w.EVENTS).MOUSE_LEAVE))},{content:e.withCtx(()=>[c.value?(e.openBlock(),e.createBlock(Ou,{key:0,execution:c.value,task:E.data.node.task,color:i.value,uid:E.data.node.uid,state:p.value},null,8,["execution","task","color","uid","state"])):e.createCommentVNode("",!0),E.data.node.task?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[E.playgroundEnabled&&E.playgroundReadyToStart?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:"playground-button",onClick:f[0]||(f[0]=y=>l(e.unref(w.EVENTS).RUN_TASK,{task:E.data.node.task}))},[e.createVNode(W,{style:{display:"flex"},title:E.$t("run task in playground")},{default:e.withCtx(()=>[e.createVNode(Ud,{class:"button-play-icon",alt:E.$t("run task in playground")},null,8,["alt"])]),_:1},8,["title"])])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"playground-button",style:e.normalizeStyle({color:`var(--ks-content-${p.value?.toLowerCase()})`,backgroundColor:`var(--ks-background-${p.value?.toLowerCase()})`})},[e.createVNode(W,{style:{display:"flex"},title:C.value?E.$t(C.value):void 0},{default:e.withCtx(()=>[p.value===e.unref(te).RUNNING?(e.openBlock(),e.createBlock(el,{key:0,alt:C.value?E.$t(C.value):void 0},null,8,["alt"])):p.value===e.unref(te).SUCCESS?(e.openBlock(),e.createBlock($l,{key:1,alt:C.value?E.$t(C.value):void 0},null,8,["alt"])):p.value===e.unref(te).WARNING?(e.openBlock(),e.createBlock(Kt,{key:2,alt:C.value?E.$t(C.value):void 0},null,8,["alt"])):p.value===e.unref(te).SKIPPED?(e.openBlock(),e.createBlock(am,{key:3,alt:C.value?E.$t(C.value):void 0},null,8,["alt"])):p.value===e.unref(te).FAILED?(e.openBlock(),e.createBlock(At,{key:4,alt:C.value?E.$t(C.value):void 0},null,8,["alt"])):e.createCommentVNode("",!0)]),_:1},8,["title"])],4))],64)):e.createCommentVNode("",!0)]),"badge-button-before":e.withCtx(()=>[E.data.node.task&&E.data.node.task.runIf?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["circle-button",["bg-warning"]]),onClick:f[1]||(f[1]=y=>l(e.unref(w.EVENTS).SHOW_CONDITION,{id:s.value,task:E.data.node.task,section:e.unref(w.SECTIONS).TASKS}))},[e.createVNode(W,{title:E.$t("show task condition")},{default:e.withCtx(()=>[e.createVNode($d,{class:"button-icon",alt:"Show condition"})]),_:1},8,["title"])])):e.createCommentVNode("",!0),c.value?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:f[2]||(f[2]=y=>l(e.unref(w.EVENTS).SHOW_LOGS,{id:s.value,execution:c.value,taskRuns:d.value}))},[e.createVNode(W,{title:E.$t("show task logs")},{default:e.withCtx(()=>[e.createVNode(_d,{class:"button-icon",alt:"Show logs"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0),!c.value&&!E.data.isReadOnly&&E.data.isFlowable?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:f[3]||(f[3]=y=>l(e.unref(w.EVENTS).ADD_ERROR,{task:E.data.node.task}))},[e.createVNode(W,{title:E.$t("add error handler")},{default:e.withCtx(()=>[e.createVNode(Ld,{class:"button-icon",alt:"Add error handler"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0),!c.value&&!E.data.isReadOnly?(e.openBlock(),e.createElementBlock("span",{key:3,class:e.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:f[4]||(f[4]=y=>l(e.unref(w.EVENTS).EDIT,{task:E.data.node.task,section:e.unref(w.SECTIONS).TASKS}))},[e.createVNode(W,{title:E.$t("edit")},{default:e.withCtx(()=>[e.createVNode(jn,{class:"button-icon",alt:"Edit task"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0),!c.value&&!E.data.isReadOnly?(e.openBlock(),e.createElementBlock("span",{key:4,class:e.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:f[5]||(f[5]=y=>l(e.unref(w.EVENTS).DELETE,{id:s.value,section:e.unref(w.SECTIONS).TASKS}))},[e.createVNode(W,{title:E.$t("delete")},{default:e.withCtx(()=>[e.createVNode(Gn,{class:"button-icon",alt:"Delete task"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0)]),_:1},8,["id","data","state","class","icons","icon-component"]),e.createVNode(e.unref(ne.Handle),{type:"target",position:E.targetPosition},null,8,["position"])],64))}}),sm=D(im,[["__scopeId","data-v-3bf9185b"]]),cm={name:"Task",inheritAttrs:!1,inject:{execution:{from:Wn}},computed:{SECTIONS(){return w.SECTIONS},EVENTS(){return w.EVENTS},color(){return this.data.color??"primary"},formattedData(){return{...this.data,unused:this.data.node?.triggerDeclaration?.disabled||this.data.node?.trigger?.disabled}},triggerId(){return w.Utils.afterLastDot(this.id)}},emits:[w.EVENTS.DELETE,w.EVENTS.EDIT,w.EVENTS.SHOW_DESCRIPTION],components:{Delete:Gn,Pencil:jn,Handle:ne.Handle,Tooltip:W},props:{data:{type:Object,required:!0},sourcePosition:{type:String,required:!0},targetPosition:{type:String,required:!0},id:{type:String,required:!0},icons:{type:Object,default:void 0},iconComponent:{type:Object,default:void 0}},methods:{forwardEvent(t,n){this.$emit(t,n)}}},um=Object.assign(cm,{setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(ne.Handle),{type:"source",position:t.sourcePosition},null,8,["position"]),e.createVNode(zn,{id:t.id,data:n.formattedData,color:n.color,icons:t.icons,"icon-component":t.iconComponent,onShowDescription:o[2]||(o[2]=l=>n.forwardEvent(e.unref(w.EVENTS).SHOW_DESCRIPTION,l)),onExpand:o[3]||(o[3]=l=>n.forwardEvent(e.unref(w.EVENTS).EXPAND,{id:t.id}))},e.createSlots({_:2},[t.data.isReadOnly?void 0:{name:"badge-button-before",fn:e.withCtx(()=>[n.execution?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["circle-button",[`bg-${n.color}`]]),onClick:o[0]||(o[0]=l=>n.$emit(e.unref(w.EVENTS).EDIT,{task:t.data.node.triggerDeclaration,section:e.unref(w.SECTIONS).TRIGGERS}))},[e.createVNode(W,{title:n.$t("edit")},{default:e.withCtx(()=>[e.createVNode(jn,{class:"button-icon",alt:"Edit task"})]),_:1},8,["title"])],2)),n.execution?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(["circle-button",[`bg-${n.color}`]]),onClick:o[1]||(o[1]=l=>n.$emit(e.unref(w.EVENTS).DELETE,{id:n.triggerId,section:e.unref(w.SECTIONS).TRIGGERS}))},[e.createVNode(W,{title:n.$t("delete")},{default:e.withCtx(()=>[e.createVNode(Gn,{class:"button-icon",alt:"Delete task"})]),_:1},8,["title"])],2))]),key:"0"}]),1032,["id","data","color","icons","icon-component"]),e.createVNode(e.unref(ne.Handle),{type:"target",position:t.targetPosition},null,8,["position"])],64))}}),dm={name:"LightningBoltIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},mm=["aria-hidden","aria-label"],fm=["fill","width","height"],pm={d:"M11 15H6L13 1V9H18L11 23V15Z"},gm={key:0};function hm(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon lightning-bolt-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",pm,[o.title?(e.openBlock(),e.createElementBlock("title",gm,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,fm))],16,mm)}const Em=D(dm,[["render",hm]]),ym={class:"collapsed-cluster-node d-flex"},km={class:"node-text"},_m={class:"text-white top-button-div"},vm={components:{Tooltip:W,Handle:ne.Handle,ArrowExpand:Hn,LightningBolt:Em},inheritAttrs:!1,props:{id:{type:String,default:void 0},sourcePosition:{type:String,required:!0},targetPosition:{type:String,required:!0},data:{type:Object,required:!0}},data(){return{filter:void 0,isOpen:!1}},computed:{EVENTS(){return w.EVENTS},expandable(){return this.data?.expandable||!1},description(){const t=this.data.node.task??this.data.node.trigger??null;return t?t.description??null:null}}},Cm=Object.assign(vm,{__name:"CollapsedClusterNode",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(ne.Handle),{type:"source",position:t.sourcePosition},null,8,["position"]),e.createElementVNode("div",ym,[e.createElementVNode("span",km,[t.data.iconComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.data.iconComponent),{key:0,class:e.normalizeClass(`text-${t.data.color} me-2`)},null,8,["class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(e.unref(w.Utils).afterLastDot(t.id)),1)]),e.createElementVNode("div",_m,[e.renderSlot(n.$slots,"badge-button-before",{},void 0,!0),n.expandable?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["circle-button",[`bg-${t.data.color}`]]),onClick:o[0]||(o[0]=l=>n.$emit(e.unref(w.EVENTS).EXPAND,{id:t.id}))},[e.createVNode(W,{title:n.$t("expand")},{default:e.withCtx(()=>[e.createVNode(Hn,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"badge-button-after",{},void 0,!0)])]),e.createVNode(e.unref(ne.Handle),{type:"target",position:t.targetPosition},null,8,["position"])],64))}}),Nm=D(Cm,[["__scopeId","data-v-89413b39"]]),Sm={name:"SplitCellsVerticalIcon",emits:["click"]},bm={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function wm(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("svg",bm,[...n[0]||(n[0]=[e.createElementVNode("g",{"clip-path":"url(#clip0_1111_7266)"},[e.createElementVNode("path",{d:"M1.97852 2.63349C1.97852 2.26366 2.27832 1.96387 2.64814 1.96387L13.3621 1.96387C13.7319 1.96387 14.0317 2.26366 14.0317 2.63349L14.0317 13.3475C14.0317 13.7173 13.7319 14.0171 13.3621 14.0171L2.64814 14.0171C2.27832 14.0171 1.97852 13.7173 1.97852 13.3475L1.97852 2.63349ZM3.31776 8.6601L3.31776 12.6778L12.6925 12.6778L12.6925 8.6601L10.014 8.6601L10.014 7.32085L12.6925 7.32085L12.6925 3.30311L3.31776 3.30311L3.31776 7.32086L5.99626 7.32085L5.99626 8.6601L3.31776 8.6601ZM5.99626 5.98161L8.00513 3.97274L10.014 5.98161L8.67475 5.98161L8.67475 9.99935L10.014 9.99935L8.00513 12.0082L5.99626 9.99935L7.3355 9.99935L7.3355 5.98161L5.99626 5.98161Z",fill:"currentColor"})],-1),e.createElementVNode("defs",null,[e.createElementVNode("clipPath",{id:"clip0_1111_7266"},[e.createElementVNode("rect",{width:"16",height:"16",fill:"currentColor",transform:"translate(0 16) rotate(-90)"})])],-1)])])}const Lm=D(Sm,[["render",wm],["__scopeId","data-v-084c51e6"]]),Tm={name:"SplitCellsHorizontalIcon",emits:["click"]},Bm={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Vm(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("svg",Bm,[...n[0]||(n[0]=[e.createElementVNode("g",{"clip-path":"url(#clip0_796_3996)"},[e.createElementVNode("path",{d:"M13.367 1.979C13.7368 1.979 14.0366 2.27881 14.0366 2.64863V13.3626C14.0366 13.7324 13.7368 14.0322 13.367 14.0322H2.65302C2.2832 14.0322 1.9834 13.7324 1.9834 13.3626V2.64863C1.9834 2.27881 2.2832 1.979 2.65302 1.979H13.367ZM7.34039 3.31825H3.32265V12.693H7.34039V10.0145H8.67963V12.693H12.6974V3.31825H8.67963V5.99675H7.34039V3.31825ZM10.0189 5.99675L12.0278 8.00562L10.0189 10.0145V8.67524H6.00114V10.0145L3.99227 8.00562L6.00114 5.99675V7.33599H10.0189V5.99675Z",fill:"currentColor"})],-1),e.createElementVNode("defs",null,[e.createElementVNode("clipPath",{id:"clip0_796_3996"},[e.createElementVNode("rect",{width:"16",height:"16",fill:"currentColor"})])],-1)])])}const Im=D(Tm,[["render",Vm],["__scopeId","data-v-c77c1469"]]),Am={name:"DownloadIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Dm=["aria-hidden","aria-label"],$m=["fill","width","height"],Om={d:"M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z"},Pm={key:0};function Rm(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon download-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Om,[o.title?(e.openBlock(),e.createElementBlock("title",Pm,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,$m))],16,Dm)}const Mm=D(Am,[["render",Rm]]);function xm(t,n){if(t.match(/^[a-z]+:\/\//i))return t;if(t.match(/^\/\//))return window.location.protocol+t;if(t.match(/^[a-z]+:/i))return t;const o=document.implementation.createHTMLDocument(),l=o.createElement("base"),a=o.createElement("a");return o.head.appendChild(l),o.body.appendChild(a),n&&(l.href=n),a.href=t,a.href}const Fm=(()=>{let t=0;const n=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(t+=1,`u${n()}${t}`)})();function xe(t){const n=[];for(let o=0,l=t.length;o<l;o++)n.push(t[o]);return n}let et=null;function Ol(t={}){return et||(t.includeStyleProperties?(et=t.includeStyleProperties,et):(et=xe(window.getComputedStyle(document.documentElement)),et))}function Rt(t,n){const l=(t.ownerDocument.defaultView||window).getComputedStyle(t).getPropertyValue(n);return l?parseFloat(l.replace("px","")):0}function Um(t){const n=Rt(t,"border-left-width"),o=Rt(t,"border-right-width");return t.clientWidth+n+o}function Hm(t){const n=Rt(t,"border-top-width"),o=Rt(t,"border-bottom-width");return t.clientHeight+n+o}function Pl(t,n={}){const o=n.width||Um(t),l=n.height||Hm(t);return{width:o,height:l}}function zm(){let t,n;try{n=process}catch{}const o=n&&n.env?n.env.devicePixelRatio:null;return o&&(t=parseInt(o,10),Number.isNaN(t)&&(t=1)),t||window.devicePixelRatio||1}const _e=16384;function Wm(t){(t.width>_e||t.height>_e)&&(t.width>_e&&t.height>_e?t.width>t.height?(t.height*=_e/t.width,t.width=_e):(t.width*=_e/t.height,t.height=_e):t.width>_e?(t.height*=_e/t.width,t.width=_e):(t.width*=_e/t.height,t.height=_e))}function Mt(t){return new Promise((n,o)=>{const l=new Image;l.onload=()=>{l.decode().then(()=>{requestAnimationFrame(()=>n(l))})},l.onerror=o,l.crossOrigin="anonymous",l.decoding="async",l.src=t})}async function jm(t){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(t)).then(encodeURIComponent).then(n=>`data:image/svg+xml;charset=utf-8,${n}`)}async function Gm(t,n,o){const l="http://www.w3.org/2000/svg",a=document.createElementNS(l,"svg"),r=document.createElementNS(l,"foreignObject");return a.setAttribute("width",`${n}`),a.setAttribute("height",`${o}`),a.setAttribute("viewBox",`0 0 ${n} ${o}`),r.setAttribute("width","100%"),r.setAttribute("height","100%"),r.setAttribute("x","0"),r.setAttribute("y","0"),r.setAttribute("externalResourcesRequired","true"),a.appendChild(r),r.appendChild(t),jm(a)}const ye=(t,n)=>{if(t instanceof n)return!0;const o=Object.getPrototypeOf(t);return o===null?!1:o.constructor.name===n.name||ye(o,n)};function Km(t){const n=t.getPropertyValue("content");return`${t.cssText} content: '${n.replace(/'|"/g,"")}';`}function Ym(t,n){return Ol(n).map(o=>{const l=t.getPropertyValue(o),a=t.getPropertyPriority(o);return`${o}: ${l}${a?" !important":""};`}).join(" ")}function qm(t,n,o,l){const a=`.${t}:${n}`,r=o.cssText?Km(o):Ym(o,l);return document.createTextNode(`${a}{${r}}`)}function Fo(t,n,o,l){const a=window.getComputedStyle(t,o),r=a.getPropertyValue("content");if(r===""||r==="none")return;const i=Fm();try{n.className=`${n.className} ${i}`}catch{return}const s=document.createElement("style");s.appendChild(qm(i,o,a,l)),n.appendChild(s)}function Xm(t,n,o){Fo(t,n,":before",o),Fo(t,n,":after",o)}const Uo="application/font-woff",Ho="image/jpeg",Zm={woff:Uo,woff2:Uo,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Ho,jpeg:Ho,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function Jm(t){const n=/\.([^./]*?)$/g.exec(t);return n?n[1]:""}function Kn(t){const n=Jm(t).toLowerCase();return Zm[n]||""}function Qm(t){return t.split(/,/)[1]}function Ln(t){return t.search(/^(data:)/)!==-1}function ef(t,n){return`data:${n};base64,${t}`}async function Rl(t,n,o){const l=await fetch(t,n);if(l.status===404)throw new Error(`Resource "${l.url}" not found`);const a=await l.blob();return new Promise((r,i)=>{const s=new FileReader;s.onerror=i,s.onloadend=()=>{try{r(o({res:l,result:s.result}))}catch(c){i(c)}},s.readAsDataURL(a)})}const mn={};function tf(t,n,o){let l=t.replace(/\?.*/,"");return o&&(l=t),/ttf|otf|eot|woff2?/i.test(l)&&(l=l.replace(/.*\//,"")),n?`[${n}]${l}`:l}async function Yn(t,n,o){const l=tf(t,n,o.includeQueryParams);if(mn[l]!=null)return mn[l];o.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+new Date().getTime());let a;try{const r=await Rl(t,o.fetchRequestInit,({res:i,result:s})=>(n||(n=i.headers.get("Content-Type")||""),Qm(s)));a=ef(r,n)}catch(r){a=o.imagePlaceholder||"";let i=`Failed to fetch resource: ${t}`;r&&(i=typeof r=="string"?r:r.message),i&&console.warn(i)}return mn[l]=a,a}async function nf(t){const n=t.toDataURL();return n==="data:,"?t.cloneNode(!1):Mt(n)}async function of(t,n){if(t.currentSrc){const r=document.createElement("canvas"),i=r.getContext("2d");r.width=t.clientWidth,r.height=t.clientHeight,i?.drawImage(t,0,0,r.width,r.height);const s=r.toDataURL();return Mt(s)}const o=t.poster,l=Kn(o),a=await Yn(o,l,n);return Mt(a)}async function lf(t,n){var o;try{if(!((o=t?.contentDocument)===null||o===void 0)&&o.body)return await Yt(t.contentDocument.body,n,!0)}catch{}return t.cloneNode(!1)}async function rf(t,n){return ye(t,HTMLCanvasElement)?nf(t):ye(t,HTMLVideoElement)?of(t,n):ye(t,HTMLIFrameElement)?lf(t,n):t.cloneNode(Ml(t))}const af=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SLOT",Ml=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SVG";async function sf(t,n,o){var l,a;if(Ml(n))return n;let r=[];return af(t)&&t.assignedNodes?r=xe(t.assignedNodes()):ye(t,HTMLIFrameElement)&&(!((l=t.contentDocument)===null||l===void 0)&&l.body)?r=xe(t.contentDocument.body.childNodes):r=xe(((a=t.shadowRoot)!==null&&a!==void 0?a:t).childNodes),r.length===0||ye(t,HTMLVideoElement)||await r.reduce((i,s)=>i.then(()=>Yt(s,o)).then(c=>{c&&n.appendChild(c)}),Promise.resolve()),n}function cf(t,n,o){const l=n.style;if(!l)return;const a=window.getComputedStyle(t);a.cssText?(l.cssText=a.cssText,l.transformOrigin=a.transformOrigin):Ol(o).forEach(r=>{let i=a.getPropertyValue(r);r==="font-size"&&i.endsWith("px")&&(i=`${Math.floor(parseFloat(i.substring(0,i.length-2)))-.1}px`),ye(t,HTMLIFrameElement)&&r==="display"&&i==="inline"&&(i="block"),r==="d"&&n.getAttribute("d")&&(i=`path(${n.getAttribute("d")})`),l.setProperty(r,i,a.getPropertyPriority(r))})}function uf(t,n){ye(t,HTMLTextAreaElement)&&(n.innerHTML=t.value),ye(t,HTMLInputElement)&&n.setAttribute("value",t.value)}function df(t,n){if(ye(t,HTMLSelectElement)){const o=n,l=Array.from(o.children).find(a=>t.value===a.getAttribute("value"));l&&l.setAttribute("selected","")}}function mf(t,n,o){return ye(n,Element)&&(cf(t,n,o),Xm(t,n,o),uf(t,n),df(t,n)),n}async function ff(t,n){const o=t.querySelectorAll?t.querySelectorAll("use"):[];if(o.length===0)return t;const l={};for(let r=0;r<o.length;r++){const s=o[r].getAttribute("xlink:href");if(s){const c=t.querySelector(s),u=document.querySelector(s);!c&&u&&!l[s]&&(l[s]=await Yt(u,n,!0))}}const a=Object.values(l);if(a.length){const r="http://www.w3.org/1999/xhtml",i=document.createElementNS(r,"svg");i.setAttribute("xmlns",r),i.style.position="absolute",i.style.width="0",i.style.height="0",i.style.overflow="hidden",i.style.display="none";const s=document.createElementNS(r,"defs");i.appendChild(s);for(let c=0;c<a.length;c++)s.appendChild(a[c]);t.appendChild(i)}return t}async function Yt(t,n,o){return!o&&n.filter&&!n.filter(t)?null:Promise.resolve(t).then(l=>rf(l,n)).then(l=>sf(t,l,n)).then(l=>mf(t,l,n)).then(l=>ff(l,n))}const xl=/url\((['"]?)([^'"]+?)\1\)/g,pf=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,gf=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function hf(t){const n=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${n})(['"]?\\))`,"g")}function Ef(t){const n=[];return t.replace(xl,(o,l,a)=>(n.push(a),o)),n.filter(o=>!Ln(o))}async function yf(t,n,o,l,a){try{const r=o?xm(n,o):n,i=Kn(n);let s;return a||(s=await Yn(r,i,l)),t.replace(hf(n),`$1${s}$3`)}catch{}return t}function kf(t,{preferredFontFormat:n}){return n?t.replace(gf,o=>{for(;;){const[l,,a]=pf.exec(o)||[];if(!a)return"";if(a===n)return`src: ${l};`}}):t}function Fl(t){return t.search(xl)!==-1}async function Ul(t,n,o){if(!Fl(t))return t;const l=kf(t,o);return Ef(l).reduce((r,i)=>r.then(s=>yf(s,i,n,o)),Promise.resolve(l))}async function tt(t,n,o){var l;const a=(l=n.style)===null||l===void 0?void 0:l.getPropertyValue(t);if(a){const r=await Ul(a,null,o);return n.style.setProperty(t,r,n.style.getPropertyPriority(t)),!0}return!1}async function _f(t,n){await tt("background",t,n)||await tt("background-image",t,n),await tt("mask",t,n)||await tt("-webkit-mask",t,n)||await tt("mask-image",t,n)||await tt("-webkit-mask-image",t,n)}async function vf(t,n){const o=ye(t,HTMLImageElement);if(!(o&&!Ln(t.src))&&!(ye(t,SVGImageElement)&&!Ln(t.href.baseVal)))return;const l=o?t.src:t.href.baseVal,a=await Yn(l,Kn(l),n);await new Promise((r,i)=>{t.onload=r,t.onerror=n.onImageErrorHandler?(...c)=>{try{r(n.onImageErrorHandler(...c))}catch(u){i(u)}}:i;const s=t;s.decode&&(s.decode=r),s.loading==="lazy"&&(s.loading="eager"),o?(t.srcset="",t.src=a):t.href.baseVal=a})}async function Cf(t,n){const l=xe(t.childNodes).map(a=>Hl(a,n));await Promise.all(l).then(()=>t)}async function Hl(t,n){ye(t,Element)&&(await _f(t,n),await vf(t,n),await Cf(t,n))}function Nf(t,n){const{style:o}=t;n.backgroundColor&&(o.backgroundColor=n.backgroundColor),n.width&&(o.width=`${n.width}px`),n.height&&(o.height=`${n.height}px`);const l=n.style;return l!=null&&Object.keys(l).forEach(a=>{o[a]=l[a]}),t}const zo={};async function Wo(t){let n=zo[t];if(n!=null)return n;const l=await(await fetch(t)).text();return n={url:t,cssText:l},zo[t]=n,n}async function jo(t,n){let o=t.cssText;const l=/url\(["']?([^"')]+)["']?\)/g,r=(o.match(/url\([^)]+\)/g)||[]).map(async i=>{let s=i.replace(l,"$1");return s.startsWith("https://")||(s=new URL(s,t.url).href),Rl(s,n.fetchRequestInit,({result:c})=>(o=o.replace(i,`url(${c})`),[i,c]))});return Promise.all(r).then(()=>o)}function Go(t){if(t==null)return[];const n=[],o=/(\/\*[\s\S]*?\*\/)/gi;let l=t.replace(o,"");const a=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const c=a.exec(l);if(c===null)break;n.push(c[0])}l=l.replace(a,"");const r=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,i="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",s=new RegExp(i,"gi");for(;;){let c=r.exec(l);if(c===null){if(c=s.exec(l),c===null)break;r.lastIndex=s.lastIndex}else s.lastIndex=r.lastIndex;n.push(c[0])}return n}async function Sf(t,n){const o=[],l=[];return t.forEach(a=>{if("cssRules"in a)try{xe(a.cssRules||[]).forEach((r,i)=>{if(r.type===CSSRule.IMPORT_RULE){let s=i+1;const c=r.href,u=Wo(c).then(d=>jo(d,n)).then(d=>Go(d).forEach(p=>{try{a.insertRule(p,p.startsWith("@import")?s+=1:a.cssRules.length)}catch(h){console.error("Error inserting rule from remote css",{rule:p,error:h})}})).catch(d=>{console.error("Error loading remote css",d.toString())});l.push(u)}})}catch(r){const i=t.find(s=>s.href==null)||document.styleSheets[0];a.href!=null&&l.push(Wo(a.href).then(s=>jo(s,n)).then(s=>Go(s).forEach(c=>{i.insertRule(c,i.cssRules.length)})).catch(s=>{console.error("Error loading remote stylesheet",s)})),console.error("Error inlining remote css file",r)}}),Promise.all(l).then(()=>(t.forEach(a=>{if("cssRules"in a)try{xe(a.cssRules||[]).forEach(r=>{o.push(r)})}catch(r){console.error(`Error while reading CSS rules from ${a.href}`,r)}}),o))}function bf(t){return t.filter(n=>n.type===CSSRule.FONT_FACE_RULE).filter(n=>Fl(n.style.getPropertyValue("src")))}async function wf(t,n){if(t.ownerDocument==null)throw new Error("Provided element is not within a Document");const o=xe(t.ownerDocument.styleSheets),l=await Sf(o,n);return bf(l)}function zl(t){return t.trim().replace(/["']/g,"")}function Lf(t){const n=new Set;function o(l){(l.style.fontFamily||getComputedStyle(l).fontFamily).split(",").forEach(r=>{n.add(zl(r))}),Array.from(l.children).forEach(r=>{r instanceof HTMLElement&&o(r)})}return o(t),n}async function Tf(t,n){const o=await wf(t,n),l=Lf(t);return(await Promise.all(o.filter(r=>l.has(zl(r.style.fontFamily))).map(r=>{const i=r.parentStyleSheet?r.parentStyleSheet.href:null;return Ul(r.cssText,i,n)}))).join(`
25
+ `)}async function Bf(t,n){const o=n.fontEmbedCSS!=null?n.fontEmbedCSS:n.skipFonts?null:await Tf(t,n);if(o){const l=document.createElement("style"),a=document.createTextNode(o);l.appendChild(a),t.firstChild?t.insertBefore(l,t.firstChild):t.appendChild(l)}}async function Vf(t,n={}){const{width:o,height:l}=Pl(t,n),a=await Yt(t,n,!0);return await Bf(a,n),await Hl(a,n),Nf(a,n),await Gm(a,o,l)}async function Wl(t,n={}){const{width:o,height:l}=Pl(t,n),a=await Vf(t,n),r=await Mt(a),i=document.createElement("canvas"),s=i.getContext("2d"),c=n.pixelRatio||zm(),u=n.canvasWidth||o,d=n.canvasHeight||l;return i.width=u*c,i.height=d*c,n.skipAutoScale||Wm(i),i.style.width=`${u}`,i.style.height=`${d}`,n.backgroundColor&&(s.fillStyle=n.backgroundColor,s.fillRect(0,0,i.width,i.height)),s.drawImage(r,0,0,i.width,i.height),i}async function If(t,n={}){return(await Wl(t,n)).toDataURL()}async function Af(t,n={}){return(await Wl(t,n)).toDataURL("image/jpeg",n.quality||1)}function Df(){const t=e.ref(""),n=e.ref("png"),o=e.ref();async function l(s,c={}){const u=c.fileName??`flow-graph-${Date.now()}`,d=s.querySelectorAll(".vue-flow__edge-path"),p=Array.from(d).map(h=>{const _=h,v=_.getAttribute("style")||"";return _.setAttribute("style",`${v}; stroke: ${window.getComputedStyle(_).stroke}; stroke-width: ${window.getComputedStyle(_).strokeWidth}; stroke-dasharray: ${window.getComputedStyle(_).strokeDasharray}`),{element:_,original:v}});try{const h=c.type==="jpeg"?await a(s,c):await r(s,c);return c.shouldDownload&&u&&i(u),h}finally{p.forEach(({element:h,original:_})=>_?h.setAttribute("style",_):h.removeAttribute("style"))}}function a(s,c={quality:.95}){return o.value=null,Af(s,c).then(u=>(t.value=u,n.value="jpeg",u)).catch(u=>{throw u.value=u,new Error(u)})}function r(s,c={quality:.95}){return o.value=null,If(s,c).then(u=>(t.value=u,n.value="png",u)).catch(u=>{throw u.value=u,new Error(u)})}function i(s){const c=document.createElement("a");c.download=`${s}.${n.value}`,c.href=t.value,c.click()}return{capture:l,download:i,dataUrl:t,error:o}}const $f={key:1,class:"exporting"},Of=e.defineComponent({__name:"Topology",props:{id:{type:String,required:!0},isHorizontal:{type:Boolean,default:!0},isReadOnly:{type:Boolean,default:!0},isAllowedEdit:{type:Boolean,default:!1},source:{type:String,default:void 0,required:!0},toggleOrientationButton:{type:Boolean,default:!1},flowGraph:{type:Object,required:!0},flowId:{type:String,default:void 0},namespace:{type:String,default:void 0},expandedSubflows:{type:Array,default:()=>[]},icons:{type:Object,default:void 0},iconComponent:{type:Object,default:void 0},enableSubflowInteraction:{type:Boolean,default:!0},execution:{type:Object,default:void 0},subflowsExecutions:{type:Object,default:()=>({})},playgroundEnabled:{type:Boolean,default:!1},playgroundReadyToStart:{type:Boolean,default:!1}},emits:[w.EVENTS.EDIT,w.EVENTS.DELETE,w.EVENTS.RUN_TASK,w.EVENTS.OPEN_LINK,w.EVENTS.SHOW_LOGS,w.EVENTS.SHOW_DESCRIPTION,w.EVENTS.RUN_TASK,"on-add-flowable-error",w.EVENTS.ADD_TASK,"toggle-orientation","loading","swapped-task","message","expand-subflow",w.EVENTS.SHOW_CONDITION],setup(t,{emit:n}){const o=t,l=e.ref(!1),a=e.ref(),{getNodes:r,onNodeDrag:i,onNodeDragStart:s,onNodeDragStop:c,fitView:u,setElements:d,vueFlowRef:p}=ne.useVueFlow(o.id),h=e.ref({}),_=e.ref([]),v=e.ref(new Set),C=e.ref([]),{capture:E}=Df();e.provide(Wn,e.computed(()=>o.execution)),e.provide(Dl,e.computed(()=>o.subflowsExecutions));const f=n;e.onMounted(()=>{y()}),e.watch(()=>o.flowGraph,()=>{y()}),e.watch(()=>o.isHorizontal,()=>{y()});const y=()=>{w.cleanGraph(o.id),e.nextTick(()=>{f("loading",!0);const P=v.value;v.value=new Set,_.value=[],h.value={},P.forEach(U=>x(w.CLUSTER_PREFIX+U,!1,!1));const I=w.generateGraph(o.id,o.flowId,o.namespace,o.flowGraph,o.source,_.value,o.isHorizontal,h.value,v.value,C.value,o.isReadOnly,o.isAllowedEdit,o.enableSubflowInteraction);I&&(d(I),u(),f("loading",!1))})},k=P=>{l.value||w.linkedElements(o.id,P.uid).forEach(I=>{I?.type==="task"&&(I.style={...I.style,outline:"0.5px solid "+Ce("--bs-gray-900")},I.class="rounded-3")})},N=()=>{T()},T=()=>{r.value.filter(P=>P.type==="task"||P.type==="trigger").forEach(P=>{P.style={...P.style,opacity:"1",outline:"none"},P.class=""})};s(P=>{l.value=!0,T(),P.node.style={...P.node.style,zIndex:1976},a.value=P.node.position}),c(P=>{if(l.value=!1,P.intersections&&b(P.intersections,P.node)===null){const I=P.node,U=P.intersections.find(R=>R.type==="task");if(U)try{o.source&&f("swapped-task",{newSource:z.swapBlocks({source:o.source,section:"tasks",key1:w.Utils.afterLastDot(I.id)??"",key2:w.Utils.afterLastDot(U.id)??""}),swappedTasks:[I.id,U.id]})}catch(R){f("message",{variant:"error",title:"cannot swap tasks",message:`${R.message}, ${R.messageOptions}`}),I.position=a.value}else I.position=a.value}else P.node.position=a.value;T(),P.node.style={...P.node.style,zIndex:5},a.value=null});const A=e.computed(()=>o.flowGraph?.clusters?o.flowGraph.clusters.filter(P=>P.cluster.type.endsWith("SubflowGraphCluster")).map(P=>P.cluster.taskNode.uid+"."):[]);i(P=>{T(),r.value.filter(I=>I.id!==P.node.id).forEach(I=>{I.type==="trigger"||I.type==="task"&&(I.id.startsWith(P.node.id+".")||P.node.id.startsWith(I.id+"."))||A?.value?.some(U=>I.id.startsWith(U))?I.style={...I.style,opacity:"0.5"}:I.style={...I.style,opacity:"1"}}),P.intersections&&!b(P.intersections,P.node)&&P.intersections.filter(I=>I.type==="task").length===1&&(P.intersections.forEach(I=>{I.type==="task"&&(I.style={...I.style,outline:"0.5px solid "+Ce("--bs-primary")},I.class="rounded-3")}),P.node.style={...P.node.style,outline:"0.5px solid "+Ce("--bs-primary")},P.node.class="rounded-3")});const b=(P,I)=>{const U=P.filter(R=>R.type==="task").map(R=>w.Utils.afterLastDot(R.id));if(U.length>1)return"toomuchtaskerror";try{if(U.length===1&&o.source&&z.isParentChildrenRelation({source:o.source,sections:["tasks","triggers"],key1:w.Utils.afterLastDot(U[0])??"",key2:w.Utils.afterLastDot(I.id)??"",keyName:"id"}))return"parentchildrenerror"}catch{return"parentchildrenerror"}return P.filter(R=>R.type==="trigger").length>0?"triggererror":null},x=(P,I,U=!1)=>{const R=o.flowGraph.clusters.find(me=>me.cluster.uid.endsWith(P)),Ie=P.replace(w.CLUSTER_PREFIX,"");v.value.add(Ie),_.value=_.value.concat(R.nodes.filter(me=>me!==Ie||U)),_.value=_.value.concat([R.cluster.uid]),h.value={...h.value,[R.cluster.uid]:Ie,[R.start]:Ie,[R.end]:Ie};for(let me of R.nodes)o.flowGraph.clusters.map(He=>He.cluster.uid).includes(me)&&x(me,!1,!0);I&&y()},j=P=>{if(["io.kestra.core.tasks.flows.Flow","io.kestra.core.tasks.flows.Subflow","io.kestra.plugin.core.flow.Subflow","io.kestra.core.tasks.flows.ForEachItem$ForEachItemExecutable","io.kestra.plugin.core.flow.ForEachItem$ForEachItemExecutable"].includes(P.type)&&!o.expandedSubflows.includes(P.id)){f("expand-subflow",[...o.expandedSubflows,P.id]);return}h.value={},_.value=[],C.value=[],v.value.delete(P.id),v.value.forEach(U=>x(U,!1,!1)),y()},oe=document.getElementsByTagName("html")[0].className.indexOf("dark")>=0,ge=e.ref(!0),Z=e.ref(!1),Me=()=>Z.value=!Z.value;function Je(P){if(!p.value){console.warn("Flow not found");return}ge.value=!1,E(p.value,{type:P,shouldDownload:!0}).then(()=>ge.value=!0).finally(()=>Z.value=!1)}return(P,I)=>(e.openBlock(),e.createBlock(e.unref(ne.VueFlow),{id:t.id,"default-marker-color":e.unref(Ce)("--bs-cyan"),"fit-view-on-init":"","nodes-draggable":!1,"nodes-connectable":!1,"elevate-nodes-on-select":!1,"elevate-edges-on-select":!1},{"node-cluster":e.withCtx(U=>[e.createVNode(ru,e.mergeProps(U,{onCollapse:I[0]||(I[0]=R=>x(R,!0))}),null,16)]),"node-dot":e.withCtx(U=>[e.createVNode(pu,e.normalizeProps(e.guardReactiveProps(U)),null,16)]),"node-task":e.withCtx(U=>[e.createVNode(sm,e.mergeProps(U,{icons:t.icons,"icon-component":t.iconComponent,"playground-enabled":t.playgroundEnabled,"playground-ready-to-start":t.playgroundReadyToStart,onEdit:I[1]||(I[1]=R=>f(e.unref(w.EVENTS).EDIT,R)),onDelete:I[2]||(I[2]=R=>f(e.unref(w.EVENTS).DELETE,R)),onRunTask:I[3]||(I[3]=R=>f(e.unref(w.EVENTS).RUN_TASK,R)),onExpand:I[4]||(I[4]=R=>j(R)),onOpenLink:I[5]||(I[5]=R=>f(e.unref(w.EVENTS).OPEN_LINK,R)),onShowLogs:I[6]||(I[6]=R=>f(e.unref(w.EVENTS).SHOW_LOGS,R)),onShowDescription:I[7]||(I[7]=R=>f(e.unref(w.EVENTS).SHOW_DESCRIPTION,R)),onShowCondition:I[8]||(I[8]=R=>f(e.unref(w.EVENTS).SHOW_CONDITION,R)),onMouseover:I[9]||(I[9]=R=>k(R)),onMouseleave:I[10]||(I[10]=R=>N()),onAddError:I[11]||(I[11]=R=>f("on-add-flowable-error",R)),"enable-subflow-interaction":t.enableSubflowInteraction}),null,16,["icons","icon-component","playground-enabled","playground-ready-to-start","enable-subflow-interaction"])]),"node-custom":e.withCtx(U=>[e.createVNode(zn,e.mergeProps(U,{icons:t.icons,"icon-component":t.iconComponent}),null,16,["icons","icon-component"])]),"node-trigger":e.withCtx(U=>[e.createVNode(um,e.mergeProps(U,{icons:t.icons,"icon-component":t.iconComponent,"is-read-only":t.isReadOnly,"is-allowed-edit":t.isAllowedEdit,onDelete:I[12]||(I[12]=R=>f(e.unref(w.EVENTS).DELETE,R)),onEdit:I[13]||(I[13]=R=>f(e.unref(w.EVENTS).EDIT,R)),onShowDescription:I[14]||(I[14]=R=>f(e.unref(w.EVENTS).SHOW_DESCRIPTION,R))}),null,16,["icons","icon-component","is-read-only","is-allowed-edit"])]),"node-collapsedcluster":e.withCtx(U=>[e.createVNode(Nm,e.mergeProps(U,{onExpand:I[15]||(I[15]=R=>j(R))}),null,16)]),"edge-edge":e.withCtx(U=>[e.createVNode(Lu,e.mergeProps(U,{"yaml-source":t.source,onAddTask:I[16]||(I[16]=R=>f(e.unref(w.EVENTS).ADD_TASK,R)),"is-read-only":t.isReadOnly,"is-allowed-edit":t.isAllowedEdit}),null,16,["yaml-source","is-read-only","is-allowed-edit"])]),default:e.withCtx(()=>[e.createVNode(e.unref(Yc),{"pattern-color":oe?e.unref(Ce)("--bs-grey-500"):e.unref(Ce)("--bs-grey-300")},null,8,["pattern-color"]),ge.value?(e.openBlock(),e.createBlock(e.unref(an.Controls),{key:0,"show-interactive":!1},{default:e.withCtx(()=>[t.toggleOrientationButton?(e.openBlock(),e.createBlock(e.unref(an.ControlButton),{key:0,onClick:I[17]||(I[17]=U=>f("toggle-orientation",U))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.isHorizontal?Im:Lm)))]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(an.ControlButton),{onClick:Me},{default:e.withCtx(()=>[e.createVNode(Mm)]),_:1}),Z.value?(e.openBlock(),e.createElementBlock("ul",$f,[e.createElementVNode("li",{onClick:I[18]||(I[18]=U=>Je("jpeg")),class:"item"}," Export as .JPEG "),e.createElementVNode("li",{onClick:I[19]||(I[19]=U=>Je("png")),class:"item"}," Export as .PNG ")])):e.createCommentVNode("",!0)]),_:1})):e.createCommentVNode("",!0)]),_:1},8,["id","default-marker-color"]))}}),Pf=D(Of,[["__scopeId","data-v-ccfc7443"]]),Rf={class:"text"},Mf=e.defineComponent({__name:"Status",props:{status:{},title:{default:void 0},icon:{type:Boolean,default:!1},size:{default:"default"}},setup(t){const n=t,o=e.computed(()=>n.icon?te.icon()[n.status?.toUpperCase()]:void 0),l=e.computed(()=>n.title??n.status),a=e.computed(()=>["status-button",n.status?.toLowerCase()&&`status-button--${n.status.toLowerCase()}`,n.size!=="default"&&`status-button--${n.size}`].filter(Boolean));return(r,i)=>(e.openBlock(),e.createElementBlock("button",{type:"button",class:e.normalizeClass(a.value)},[r.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value),{key:0,class:"icon"})):e.createCommentVNode("",!0),e.createElementVNode("span",Rf,e.toDisplayString(l.value),1)],2))}}),xf=D(Mf,[["__scopeId","data-v-ce6b0e30"]]),Ff={name:"MenuRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Uf=["aria-hidden","aria-label"],Hf=["fill","width","height"],zf={d:"M10,17L15,12L10,7V17Z"},Wf={key:0};function jf(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon menu-right-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",zf,[o.title?(e.openBlock(),e.createElementBlock("title",Wf,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Hf))],16,Uf)}const Gf=D(Ff,[["render",jf]]),Kf={name:"MenuDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Yf=["aria-hidden","aria-label"],qf=["fill","width","height"],Xf={d:"M7,10L12,15L17,10H7Z"},Zf={key:0};function Jf(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon menu-down-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Xf,[o.title?(e.openBlock(),e.createElementBlock("title",Zf,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,qf))],16,Yf)}const Qf=D(Kf,[["render",Jf]]);function jl(t){return e.getCurrentScope()?(e.onScopeDispose(t),!0):!1}function Gl(t){return typeof t=="function"?t():e.unref(t)}const ep=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const tp=Object.prototype.toString,np=t=>tp.call(t)==="[object Object]",op=()=>{};function lp(t){return Object.entries(t)}function rp(t){return e.getCurrentInstance()}function ap(t,n=!0,o){rp()?e.onMounted(t,o):n?t():e.nextTick(t)}function Ye(t){var n;const o=Gl(t);return(n=o?.$el)!=null?n:o}const qt=ep?window:void 0;function Ko(...t){let n,o,l,a;if(typeof t[0]=="string"||Array.isArray(t[0])?([o,l,a]=t,n=qt):[n,o,l,a]=t,!n)return op;Array.isArray(o)||(o=[o]),Array.isArray(l)||(l=[l]);const r=[],i=()=>{r.forEach(d=>d()),r.length=0},s=(d,p,h,_)=>(d.addEventListener(p,h,_),()=>d.removeEventListener(p,h,_)),c=e.watch(()=>[Ye(n),Gl(a)],([d,p])=>{if(i(),!d)return;const h=np(p)?{...p}:p;r.push(...o.flatMap(_=>l.map(v=>s(d,_,v,h))))},{immediate:!0,flush:"post"}),u=()=>{c(),i()};return jl(u),u}function ip(){const t=e.ref(!1),n=e.getCurrentInstance();return n&&e.onMounted(()=>{t.value=!0},n),t}function sp(t){const n=ip();return e.computed(()=>(n.value,!!t()))}const Yo=["hash","host","hostname","href","pathname","port","protocol","search"];function Kl(t={}){const{window:n=qt}=t,o=Object.fromEntries(Yo.map(r=>[r,e.ref()]));for(const[r,i]of lp(o))e.watch(i,s=>{!n?.location||n.location[r]===s||(n.location[r]=s)});const l=r=>{var i;const{state:s,length:c}=n?.history||{},{origin:u}=n?.location||{};for(const d of Yo)o[d].value=(i=n?.location)==null?void 0:i[d];return e.reactive({trigger:r,state:s,length:c,origin:u,...o})},a=e.ref(l("load"));return n&&(Ko(n,"popstate",()=>a.value=l("popstate"),{passive:!0}),Ko(n,"hashchange",()=>a.value=l("hashchange"),{passive:!0})),a}function cp(t,n,o={}){const{window:l=qt,...a}=o;let r;const i=sp(()=>l&&"ResizeObserver"in l),s=()=>{r&&(r.disconnect(),r=void 0)},c=e.computed(()=>Array.isArray(t)?t.map(p=>Ye(p)):[Ye(t)]),u=e.watch(c,p=>{if(s(),i.value&&l){r=new ResizeObserver(n);for(const h of p)h&&r.observe(h,a)}},{immediate:!0,flush:"post"}),d=()=>{s(),u()};return jl(d),{isSupported:i,stop:d}}function qo(t,n={width:0,height:0},o={}){const{window:l=qt,box:a="content-box"}=o,r=e.computed(()=>{var p,h;return(h=(p=Ye(t))==null?void 0:p.namespaceURI)==null?void 0:h.includes("svg")}),i=e.ref(n.width),s=e.ref(n.height),{stop:c}=cp(t,([p])=>{const h=a==="border-box"?p.borderBoxSize:a==="content-box"?p.contentBoxSize:p.devicePixelContentBoxSize;if(l&&r.value){const _=Ye(t);if(_){const v=_.getBoundingClientRect();i.value=v.width,s.value=v.height}}else if(h){const _=Array.isArray(h)?h:[h];i.value=_.reduce((v,{inlineSize:C})=>v+C,0),s.value=_.reduce((v,{blockSize:C})=>v+C,0)}else i.value=p.contentRect.width,s.value=p.contentRect.height},o);ap(()=>{const p=Ye(t);p&&(i.value="offsetWidth"in p?p.offsetWidth:n.width,s.value="offsetHeight"in p?p.offsetHeight:n.height)});const u=e.watch(()=>Ye(t),p=>{i.value=p?n.width:0,s.value=p?n.height:0});function d(){c(),u()}return{width:i,height:s,stop:d}}const up=["id","open"],dp={class:"d-flex gap-2 align-items-center"},mp={key:0,class:"d-flex flex-grow-1"},fp=["id"],pp=e.defineComponent({__name:"Collapsible",props:{href:{default:Math.random().toString(36).substring(2,5)},clickableText:{},arrow:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1},noUrlChange:{type:Boolean,default:!1}},emits:["expand"],setup(t,{emit:n}){const o=t,l=e.ref(!0),a=Kl(),r=n,i=e.computed(()=>`#${o.href}-body`),s=u=>{u.preventDefault(),u.stopPropagation(),l.value=!l.value,c.value=!l.value,l.value||r("expand"),!o.noUrlChange&&(l.value?history.replaceState(null,"",window.location.pathname+window.location.search):window.location.hash=i.value)},c=e.ref(!1);return e.watch(()=>o.initiallyExpanded,u=>{u!==void 0&&(c.value=u,l.value=!u)},{immediate:!0}),e.watch(()=>a.value.hash,u=>{u===i.value&&l.value&&(c.value=!0,l.value=!1)},{immediate:!0}),(u,d)=>(e.openBlock(),e.createElementBlock("details",{id:u.href,open:c.value},[e.createElementVNode("summary",{class:e.normalizeClass(["d-flex align-items-center justify-content-between fw-bold gap-2 collapse-button",{collapsed:l.value}]),onClick:s},[e.createElementVNode("span",dp,[u.arrow?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.value?Gf:Qf),{key:0,class:"arrow"})):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(u.clickableText)+" ",1),e.renderSlot(u.$slots,"additionalButtonText",{},void 0,!0)]),u.$slots.buttonRight?(e.openBlock(),e.createElementBlock("span",mp,[e.renderSlot(u.$slots,"buttonRight",{collapsed:l.value},void 0,!0)])):e.createCommentVNode("",!0)],2),u.$slots.content?(e.openBlock(),e.createElementBlock("div",{key:0,id:u.href+"-body"},[e.createElementVNode("div",null,[e.renderSlot(u.$slots,"content",{},void 0,!0)])],8,fp)):e.createCommentVNode("",!0)],8,up))}}),ht=D(pp,[["__scopeId","data-v-6b6ffd9a"]]),gp={name:"ChevronRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},hp=["aria-hidden","aria-label"],Ep=["fill","width","height"],yp={d:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"},kp={key:0};function _p(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon chevron-right-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",yp,[o.title?(e.openBlock(),e.createElementBlock("title",kp,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Ep))],16,hp)}const qn=D(gp,[["render",_p]]),vp={name:"ChevronDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Cp=["aria-hidden","aria-label"],Np=["fill","width","height"],Sp={d:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"},bp={key:0};function wp(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon chevron-down-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Sp,[o.title?(e.openBlock(),e.createElementBlock("title",bp,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Np))],16,Cp)}const Xn=D(vp,[["render",wp]]),Lp=["id","open"],Tp={key:0,class:"chevron"},Bp=["id"],Vp=e.defineComponent({__name:"CollapsibleV2",props:{href:{default:Math.random().toString(36).substring(2,5)},title:{},arrow:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1},noUrlChange:{type:Boolean,default:!1}},emits:["expand"],setup(t,{emit:n}){const o=t,l=e.ref(!0),a=Kl(),r=n,i=e.computed(()=>`#${o.href}-body`),s=u=>{if(u.preventDefault(),l.value=!l.value,c.value=!l.value,l.value||r("expand"),o.noUrlChange)return;const d=window.location.pathname+window.location.search+(l.value?"":i.value);try{window.history.pushState(null,"",d)}catch{try{l.value?window.history.replaceState(null,"",window.location.pathname+window.location.search):window.location.hash=i.value}catch{}}},c=e.ref(!1);return e.watch(()=>o.initiallyExpanded,u=>{u!==void 0&&(c.value=u,l.value=!u)},{immediate:!0}),e.watch(()=>a.value.hash,u=>{u===i.value&&l.value&&(c.value=!0,l.value=!1)},{immediate:!0}),(u,d)=>(e.openBlock(),e.createElementBlock("details",{id:u.href,open:c.value},[e.createElementVNode("summary",{class:e.normalizeClass(["d-flex align-items-center justify-content-between fw-bold gap-2 collapse-button",{collapsed:l.value}]),onClick:s},[e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(u.title),1),e.renderSlot(u.$slots,"additional",{},void 0,!0)]),e.renderSlot(u.$slots,"right",{},void 0,!0),u.arrow?(e.openBlock(),e.createElementBlock("span",Tp,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.value?qn:Xn)))])):e.createCommentVNode("",!0)],2),u.$slots.content?(e.openBlock(),e.createElementBlock("div",{key:0,id:u.href+"-body"},[e.createElementVNode("div",null,[e.renderSlot(u.$slots,"content",{},void 0,!0)])],8,Bp)):e.createCommentVNode("",!0)],8,Lp))}}),Et=D(Vp,[["__scopeId","data-v-2c211dd3"]]),Ip=["href"],Ap={class:"top-row"},Dp={class:"icon-content"},$p=["src","alt"],Op={class:"text-content"},Pp={key:0,class:"description"},Rp={class:"footer"},Mp={class:"bottom-row"},xp={class:"left"},Fp={key:0},Up={key:1},Hp=e.defineComponent({__name:"SubgroupCard",props:{iconB64Svg:{},text:{},routePath:{},totalCount:{default:0},description:{default:""},href:{default:void 0},isActive:{type:Boolean,default:!1},blueprintsCount:{default:0}},setup(t){const n=t,o=e.computed(()=>n.href===void 0?`${n.routePath}/${he(n.text)}`:n.href);return(l,a)=>(e.openBlock(),e.createElementBlock("a",{href:o.value},[e.createElementVNode("div",{class:e.normalizeClass(["plugin",{"is-active":l.isActive}])},[e.createElementVNode("div",Ap,[e.createElementVNode("div",Dp,[e.createElementVNode("img",{src:l.iconB64Svg,alt:`${l.text} icon`},null,8,$p)]),e.createElementVNode("div",Op,[e.createElementVNode("h6",null,e.toDisplayString(l.text),1),l.description?(e.openBlock(),e.createElementBlock("p",Pp,e.toDisplayString(l.description),1)):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Rp,[a[2]||(a[2]=e.createElementVNode("hr",null,null,-1)),e.createElementVNode("div",Mp,[e.createElementVNode("div",xp,[n.totalCount?(e.openBlock(),e.createElementBlock("p",Fp,[e.createTextVNode(e.toDisplayString(n.totalCount??0)+" ",1),a[0]||(a[0]=e.createElementVNode("span",null,"Tasks",-1))])):e.createCommentVNode("",!0),n.blueprintsCount?(e.openBlock(),e.createElementBlock("p",Up,[e.createTextVNode(e.toDisplayString(n.blueprintsCount??0)+" ",1),a[1]||(a[1]=e.createElementVNode("span",null,"Blueprints",-1))])):e.createCommentVNode("",!0)]),e.createVNode(qn)])])],2)],8,Ip))}}),Yl=D(Hp,[["__scopeId","data-v-49a4aac1"]]),zp=["href"],Wp={class:"top-row"},jp={class:"text-capitalize"},Gp={key:0},Kp={class:"plugin-info"},Yp={class:"plugin-class"},qp=e.defineComponent({__name:"ElementCard",props:{iconB64Svg:{},text:{},routePath:{},pluginClass:{},href:{},isActive:{type:Boolean},title:{}},setup(t){const n=t,o=e.computed(()=>n.href===void 0?`${n.routePath}/${he(n.text)}`:n.href);return(l,a)=>(e.openBlock(),e.createElementBlock("a",{href:o.value},[e.createElementVNode("div",{class:e.normalizeClass(["element-card",{"is-active":l.isActive}])},[e.createElementVNode("div",Wp,[e.createElementVNode("h6",jp,e.toDisplayString(l.text),1),e.createVNode(qn)]),l.title?(e.openBlock(),e.createElementBlock("div",Gp,[e.renderSlot(l.$slots,"markdown",{content:l.title.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Kp,[e.createElementVNode("code",Yp,e.toDisplayString(l.pluginClass),1)])],2)],8,zp))}}),ql=D(qp,[["__scopeId","data-v-f23c6a7f"]]),Xp={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Zp=["aria-hidden","aria-label"],Jp=["fill","width","height"],Qp={d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"},eg={key:0};function tg(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon content-copy-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Qp,[o.title?(e.openBlock(),e.createElementBlock("title",eg,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Jp))],16,Zp)}const ng=D(Xp,[["render",tg]]),og={key:0,class:"language"},lg=["innerHTML"],rg=e.defineComponent({__name:"SchemaToCode",props:{highlighter:{},code:{default:""},language:{default:null},filename:{default:null},highlights:{default:()=>[]},meta:{default:null},theme:{default:"github-dark"}},setup(t){const n={ContentCopy:e.shallowRef(ng),Check:e.shallowRef($l)},o=t,l=e.ref(!1),a=e.ref(),r=e.shallowRef(n.ContentCopy.value),i=e.ref(),s=e.ref(),c=e.computed(()=>o.highlighter.codeToHtml(o.code,{lang:o.language,theme:o.theme}));function u(){l.value=!0,a.value&&e.nextTick(()=>{i.value&&s.value&&Dr.createPopper(i.value,s.value,{placement:"left"})})}function d(){clearTimeout(a.value),navigator.clipboard.writeText(o.code.trimEnd()),r.value=n.Check.value,a.value=setTimeout(()=>{r.value=n.ContentCopy.value,a.value=void 0},2e3)}return(p,h)=>(e.openBlock(),e.createElementBlock("div",{class:"code-block",onMouseover:u,onMouseleave:h[0]||(h[0]=_=>l.value=!1)},[p.language&&!l.value?(e.openBlock(),e.createElementBlock("div",og,e.toDisplayString(p.language),1)):e.createCommentVNode("",!0),l.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("button",{ref_key:"copyButton",ref:i,class:"copy"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.value),{onClick:d}))],512),a.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"copyTooltip",ref:s,id:"copied-tooltip",role:"tooltip"},[...h[1]||(h[1]=[e.createTextVNode(" Copied! ",-1),e.createElementVNode("div",{id:"arrow","data-popper-arrow":""},null,-1)])],512)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{innerHTML:c.value},null,8,lg)],32))}}),xt=D(rg,[["__scopeId","data-v-a899f6a1"]]);function Tt(t){if(t.type)return Array.isArray(t.type)?t.type:[t.type];if(t.$ref){const o=t.$ref.split("/");return["#"+o[o.length-1]]}}function Xl(t){const n=t.split("_")[0];return n.substring(n.lastIndexOf(".")+1)}function Zn(t){if(t.enum)return t.enum;if(t.items?.enum)return t.items.enum;if(t.additionalProperties?.enum)return t.additionalProperties.enum}function Zl(t){return t.allOf&&(t=t.allOf.reduce((n,o)=>({...n,...o}),{...t}),delete t.allOf),t}function at(t){const n={},o=a=>{const r=Tt(a);if(r&&r.length>0)return r;if(a.anyOf)return a.anyOf.flatMap(Tt).filter(i=>i!==void 0).filter(w.Utils.distinctFilter)},l=o(t);if(l?n.types=l:n.types=["object"],n.types.includes("array")&&t.items){const a=o(t.items);a&&t.items.anyOf&&(n.types=n.types.filter(r=>r!=="array").concat(a))}return t.additionalProperties?n.subType=Tt(t.additionalProperties)?.[0]:t.items&&(n.subType=Tt(t.items)?.[0]),n}function Jl(t,n,o=new Set){if(!n)return[];const l=at(t),a=[];if(l.types.forEach(r=>{if(r.startsWith("#")){const i=r.slice(1);n[i]&&!o.has(i)&&!a.includes(i)&&a.push(i)}}),l.subType?.startsWith("#")){const r=l.subType.slice(1);n[r]&&!o.has(r)&&!a.includes(r)&&a.push(r)}return a.map(r=>{const i=n[r];return{key:r,title:i?.title??r.split("_")[0],properties:i?.properties??{}}})}function Ql(t){return t.$dynamic===!0?!0:t.$dynamic===!1?!1:t.anyOf?.some(n=>n.$dynamic===!0)??!1}const ag={name:"FileDocumentIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ig=["aria-hidden","aria-label"],sg=["fill","width","height"],cg={d:"M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M15,18V16H6V18H15M18,14V12H6V14H18Z"},ug={key:0};function dg(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon file-document-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",cg,[o.title?(e.openBlock(),e.createElementBlock("title",ug,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,sg))],16,ig)}const mg=D(ag,[["render",dg]]),fg={class:"me-3"},pg={class:"d-flex flex-column"},gg=e.defineComponent({name:"Alert",__name:"Alert",props:{type:{}},setup(t){const n=t,o=e.computed(()=>{switch(n.type){case"success":return mg;case"info":return At;case"warning":return Kt;case"danger":return gn;default:return At}});return(l,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass("doc-alert alert alert-"+l.type),role:"alert"},[e.createElementVNode("div",fg,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value),{class:"alert-icon"}))]),e.createElementVNode("div",pg,[e.renderSlot(l.$slots,"default",{},void 0,!0)])],2))}}),er=D(gg,[["__scopeId","data-v-f7fd8bc1"]]),hg={name:"EyeOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Eg=["aria-hidden","aria-label"],yg=["fill","width","height"],kg={d:"M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9M12,4.5C17,4.5 21.27,7.61 23,12C21.27,16.39 17,19.5 12,19.5C7,19.5 2.73,16.39 1,12C2.73,7.61 7,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C15.76,17.5 19.17,15.36 20.82,12C19.17,8.64 15.76,6.5 12,6.5C8.24,6.5 4.83,8.64 3.18,12Z"},_g={key:0};function vg(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon eye-outline-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",kg,[o.title?(e.openBlock(),e.createElementBlock("title",_g,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,yg))],16,Eg)}const tr=D(hg,[["render",vg]]),Cg={class:"property-detail"},Ng={key:0},Sg=["href"],bg={class:"d-flex fw-bold type-box rounded fs-7 px-2 py-1"},wg={class:"ref-type"},Lg={key:1,class:"type-box rounded fs-7 px-2 py-1"},Tg={key:1},Bg={class:"border rounded px-2 py-1"},Vg={key:2},Ig={class:"border rounded px-2 py-1"},Ag={key:3},Dg={class:"border rounded px-2 py-1"},$g={key:4},Og={class:"border rounded px-2 py-1"},Pg={key:5},Rg={class:"border rounded px-2 py-1"},Mg={key:6},xg={class:"border rounded px-2 py-1"},Fg={key:7},Ug={class:"border rounded px-2 py-1"},Hg={key:8},zg={class:"border rounded px-2 py-1"},Wg={key:9},jg={class:"border rounded px-2 py-1"},Gg={key:10},Kg={class:"border rounded px-2 py-1"},Yg={key:11},qg={class:"border rounded px-2 py-1"},Xg={key:12},Zg={class:"border rounded px-2 py-1"},Jg={key:13},Qg={class:"d-flex flex-wrap justify-content-end gap-7 p-0"},e1={key:14},t1={class:"property-description markdown"},n1={key:2},o1=e.defineComponent({__name:"PropertyDetail",props:{property:{}},setup(t){const n=t,o=e.ref(at(n.property).subType),l=e.ref(Zn(n.property)),a=w.sanitizeForMarkdown;return(r,i)=>(e.openBlock(),e.createElementBlock("div",Cg,[o.value?(e.openBlock(),e.createElementBlock("div",Ng,[i[1]||(i[1]=e.createElementVNode("span",null," SubType ",-1)),o.value.startsWith("#")?(e.openBlock(),e.createElementBlock("a",{key:0,href:o.value,onClick:i[0]||(i[0]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("button",bg,[e.createElementVNode("span",wg,e.toDisplayString(e.unref(Xl)(o.value)),1),e.createVNode(tr)])],8,Sg)):(e.openBlock(),e.createElementBlock("span",Lg,e.toDisplayString(o.value),1))])):e.createCommentVNode("",!0),r.property.default!==void 0?(e.openBlock(),e.createElementBlock("div",Tg,[i[2]||(i[2]=e.createElementVNode("span",null," Default ",-1)),e.createElementVNode("code",Bg,e.toDisplayString(r.property.default),1)])):e.createCommentVNode("",!0),r.property.pattern!==void 0?(e.openBlock(),e.createElementBlock("div",Vg,[i[3]||(i[3]=e.createElementVNode("span",null," Validation RegExp ",-1)),e.createElementVNode("code",Ig,e.toDisplayString(r.property.pattern),1)])):e.createCommentVNode("",!0),r.property.unit!==void 0&&r.property.unit.trim().length>0?(e.openBlock(),e.createElementBlock("div",Ag,[i[4]||(i[4]=e.createElementVNode("span",null," Unit ",-1)),e.createElementVNode("code",Dg,e.toDisplayString(r.property.unit),1)])):e.createCommentVNode("",!0),r.property.minLength!==void 0?(e.openBlock(),e.createElementBlock("div",$g,[i[5]||(i[5]=e.createElementVNode("span",null," Min length ",-1)),e.createElementVNode("code",Og,e.toDisplayString(r.property.minLength),1)])):e.createCommentVNode("",!0),r.property.maxLength!==void 0?(e.openBlock(),e.createElementBlock("div",Pg,[i[6]||(i[6]=e.createElementVNode("span",null," Max length ",-1)),e.createElementVNode("code",Rg,e.toDisplayString(r.property.maxLength),1)])):e.createCommentVNode("",!0),r.property.minItems!==void 0?(e.openBlock(),e.createElementBlock("div",Mg,[i[7]||(i[7]=e.createElementVNode("span",null," Min items ",-1)),e.createElementVNode("code",xg,e.toDisplayString(r.property.minItems),1)])):e.createCommentVNode("",!0),r.property.maxItems!==void 0?(e.openBlock(),e.createElementBlock("div",Fg,[i[8]||(i[8]=e.createElementVNode("span",null," Max items ",-1)),e.createElementVNode("code",Ug,e.toDisplayString(r.property.maxItems),1)])):e.createCommentVNode("",!0),r.property.minimum!==void 0?(e.openBlock(),e.createElementBlock("div",Hg,[i[9]||(i[9]=e.createElementVNode("span",null," Minimum ",-1)),e.createElementVNode("code",zg," >= "+e.toDisplayString(r.property.minimum),1)])):e.createCommentVNode("",!0),r.property.exclusiveMinimum!==void 0?(e.openBlock(),e.createElementBlock("div",Wg,[i[10]||(i[10]=e.createElementVNode("span",null," Minimum ",-1)),e.createElementVNode("code",jg," > "+e.toDisplayString(r.property.minimum),1)])):e.createCommentVNode("",!0),r.property.maximum!==void 0?(e.openBlock(),e.createElementBlock("div",Gg,[i[11]||(i[11]=e.createElementVNode("span",null," Maximum ",-1)),e.createElementVNode("code",Kg," <= "+e.toDisplayString(r.property.maximum),1)])):e.createCommentVNode("",!0),r.property.exclusiveMaximum!==void 0?(e.openBlock(),e.createElementBlock("div",Yg,[i[12]||(i[12]=e.createElementVNode("span",null," Maximum ",-1)),e.createElementVNode("code",qg," < "+e.toDisplayString(r.property.maximum),1)])):e.createCommentVNode("",!0),r.property.format!==void 0?(e.openBlock(),e.createElementBlock("div",Xg,[i[13]||(i[13]=e.createElementVNode("span",null," Format ",-1)),e.createElementVNode("code",Zg,e.toDisplayString(r.property.format),1)])):e.createCommentVNode("",!0),l.value!==void 0?(e.openBlock(),e.createElementBlock("div",Jg,[i[14]||(i[14]=e.createElementVNode("span",null," Possible Values ",-1)),e.createElementVNode("div",Qg,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,(s,c)=>(e.openBlock(),e.createElementBlock("code",{class:"border rounded px-2 py-1",key:c},e.toDisplayString(s),1))),128))])])):e.createCommentVNode("",!0),r.property.title!==void 0||r.property.description!==void 0?(e.openBlock(),e.createElementBlock("div",e1,[e.createElementVNode("div",t1,[r.property.title!==void 0?e.renderSlot(r.$slots,"markdown",{key:0,content:e.unref(a)(r.property.title)},void 0,!0):e.createCommentVNode("",!0),r.property.description!==void 0?e.renderSlot(r.$slots,"markdown",{key:1,content:e.unref(a)(r.property.description)},void 0,!0):e.createCommentVNode("",!0),r.property.$internalStorageURI?(e.openBlock(),e.createElementBlock("div",n1,[e.createVNode(er,{type:"info"},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"markdown",{content:"Pebble expression referencing an Internal Storage URI e.g. `{{ outputs.mytask.uri }}`."},void 0,!0)]),_:3})])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)]))}}),l1=D(o1,[["__scopeId","data-v-e4c1ea43"]]),r1={name:"ChevronUpIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},a1=["aria-hidden","aria-label"],i1=["fill","width","height"],s1={d:"M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"},c1={key:0};function u1(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon chevron-up-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",s1,[o.title?(e.openBlock(),e.createElementBlock("title",c1,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,i1))],16,a1)}const nr=D(r1,[["render",u1]]),d1={name:"SnowflakeIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},m1=["aria-hidden","aria-label"],f1=["fill","width","height"],p1={d:"M20.79,13.95L18.46,14.57L16.46,13.44V10.56L18.46,9.43L20.79,10.05L21.31,8.12L19.54,7.65L20,5.88L18.07,5.36L17.45,7.69L15.45,8.82L13,7.38V5.12L14.71,3.41L13.29,2L12,3.29L10.71,2L9.29,3.41L11,5.12V7.38L8.5,8.82L6.5,7.69L5.92,5.36L4,5.88L4.47,7.65L2.7,8.12L3.22,10.05L5.55,9.43L7.55,10.56V13.45L5.55,14.58L3.22,13.96L2.7,15.89L4.47,16.36L4,18.12L5.93,18.64L6.55,16.31L8.55,15.18L11,16.62V18.88L9.29,20.59L10.71,22L12,20.71L13.29,22L14.7,20.59L13,18.88V16.62L15.5,15.17L17.5,16.3L18.12,18.63L20,18.12L19.53,16.35L21.3,15.88L20.79,13.95M9.5,10.56L12,9.11L14.5,10.56V13.44L12,14.89L9.5,13.44V10.56Z"},g1={key:0};function h1(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon snowflake-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",p1,[o.title?(e.openBlock(),e.createElementBlock("title",g1,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,f1))],16,m1)}const or=D(d1,[["render",h1]]),E1={name:"AlphaBBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},y1=["aria-hidden","aria-label"],k1=["fill","width","height"],_1={d:"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M15,10.5V9A2,2 0 0,0 13,7H9V17H13A2,2 0 0,0 15,15V13.5C15,12.7 14.3,12 13.5,12C14.3,12 15,11.3 15,10.5M13,15H11V13H13V15M13,11H11V9H13V11Z"},v1={key:0};function C1(t,n,o,l,a,r){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon alpha-b-box-icon",role:"img",onClick:n[0]||(n[0]=i=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",_1,[o.title?(e.openBlock(),e.createElementBlock("title",v1,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,k1))],16,y1)}const lr=D(E1,[["render",C1]]),N1={class:"border overflow-hidden"},S1={class:"d-flex flex-grow-1 align-items-center justify-content-between"},b1={class:"d-flex gap-2"},w1={class:"d-flex flex-wrap justify-content-end gap-2"},L1=["href"],T1={class:"ref-type"},B1={key:1,class:"type-box rounded fs-7 px-2 py-1"},V1=e.defineComponent({__name:"CollapsibleProperties",props:{href:{default:Math.random().toString(36).substring(2,5)},sectionName:{},properties:{default:void 0},showDynamic:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1},forceInclude:{default:()=>[]},noUrlChange:{type:Boolean,default:!1}},emits:["expand"],setup(t,{emit:n}){const o=t,l=n,a=e.ref(!1);e.watch(a,i=>{i&&l("expand")});function r(i){const s=[],c=[];for(const p in i)typeof i[p]=="object"&&(i[p]=Zl(i[p]),i[p].$required?s.push(p):c.push(p));const u=[...s.sort(),...c.sort()],d={};return u.forEach(p=>{(!i[p].$deprecated||o.forceInclude?.includes(p))&&(d[p]=i[p])}),d}return(i,s)=>(e.openBlock(),e.createBlock(ht,{class:"section-collapsible","clickable-text":i.sectionName,href:i.href,onExpand:s[2]||(s[2]=c=>l("expand")),"initially-expanded":i.initiallyExpanded||a.value,"no-url-change":i.noUrlChange},e.createSlots({_:2},[Object.keys(i.properties??{}).length>0?{name:"content",fn:e.withCtx(()=>[e.createElementVNode("div",N1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r(i.properties),(c,u)=>(e.openBlock(),e.createBlock(ht,{class:"property",key:u,arrow:!1,"clickable-text":u,href:i.href+"_"+u,onExpand:s[1]||(s[1]=d=>a.value=!0),"no-url-change":i.noUrlChange},{additionalButtonText:e.withCtx(()=>[c.$required?(e.openBlock(),e.createBlock(W,{key:0,class:"d-flex",title:"Required"},{default:e.withCtx(()=>[...s[3]||(s[3]=[e.createElementVNode("span",{class:"text-danger"}," *",-1)])]),_:1})):e.createCommentVNode("",!0)]),buttonRight:e.withCtx(({collapsed:d})=>[e.createElementVNode("span",S1,[e.createElementVNode("span",b1,[i.showDynamic&&!e.unref(Ql)(c)?(e.openBlock(),e.createBlock(W,{key:0,class:"d-flex",title:"Non-dynamic"},{default:e.withCtx(()=>[e.createVNode(or,{class:"text-info"})]),_:1})):e.createCommentVNode("",!0),c.$beta?(e.openBlock(),e.createBlock(W,{key:1,class:"d-flex",title:"Beta"},{default:e.withCtx(()=>[e.createVNode(lr,{class:"text-warning"})]),_:1})):e.createCommentVNode("",!0),c.$deprecated?(e.openBlock(),e.createBlock(W,{key:2,class:"d-flex",title:"Deprecated"},{default:e.withCtx(()=>[e.createVNode(Kt,{class:"text-warning"})]),_:1})):e.createCommentVNode("",!0)]),e.createElementVNode("span",w1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(at)(c).types,p=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[p.startsWith("#")?(e.openBlock(),e.createElementBlock("a",{key:0,class:"d-flex fw-bold ref-type-box rounded fs-7 px-2 py-1",href:p,onClick:s[0]||(s[0]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("span",T1,e.toDisplayString(e.unref(Xl)(p)),1),e.createVNode(tr)],8,L1)):(e.openBlock(),e.createElementBlock("span",B1,e.toDisplayString(p),1))],64))),128)),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(d?Xn:nr),{class:"arrow"}))])])]),content:e.withCtx(()=>[e.createVNode(l1,{property:c},{markdown:e.withCtx(({content:d})=>[e.renderSlot(i.$slots,"markdown",{content:d},void 0,!0)]),_:3},8,["property"])]),_:2},1032,["clickable-text","href","no-url-change"]))),128))])]),key:"0"}:void 0]),1032,["clickable-text","href","initially-expanded","no-url-change"]))}}),Bt=D(V1,[["__scopeId","data-v-a477e27c"]]),I1={class:"d-flex flex-column gap-6"},A1={class:"d-flex flex-column gap-3"},D1={key:0,class:"alert alert-info mb-2",role:"alert"},$1={key:1,class:"plugin-title markdown"},O1={key:2,class:"markdown"},P1={class:"d-flex flex-column gap-4"},R1={class:"d-flex flex-column gap-3"},M1={class:"markdown"},x1={key:0,class:"w-100 align-self-center"},F1={class:"markdown"},U1={class:"markdown"},H1={class:"markdown"},z1={class:"d-flex flex-column gap-7 ps-3"},W1={class:"markdown"},j1=e.defineComponent({__name:"SchemaToHtml",props:{schema:{},pluginType:{},darkMode:{type:Boolean,default:!0},propsInitiallyExpanded:{type:Boolean,default:!1},forceIncludeProperties:{default:()=>[]},noUrlChange:{type:Boolean,default:!1}},async setup(t){let n,o;const l=t,a=e.ref(!1),r=e.ref(new Set),i=e.ref(0),s=async()=>{const v=window.location.hash.slice(1);if(!v||!l.schema.definitions){r.value.clear();return}const C=v.replace(/-body$/,""),E=Object.keys(l.schema.definitions).find(f=>C===f||C.startsWith(f+"_"));if(E){a.value=!0,i.value+=1,r.value.clear(),r.value.add(E),await e.nextTick();let f=0;const y=30,k=()=>{const N=document.getElementById(C);N?N.scrollIntoView({behavior:"smooth",block:"start"}):f<y&&(f++,requestAnimationFrame(k))};requestAnimationFrame(k)}else r.value.clear()};e.watch([()=>l.schema,()=>l.pluginType],([v,C],[E,f])=>{(v!==E||C!==f)&&l.schema.definitions&&s()});const c=v=>v?.full?v.code:`id: "${l.pluginType.split(".").reverse()[0]?.toLowerCase()}"
26
26
  type: "${l.pluginType}"
27
- `.concat(k.code),u=t.ref(),f=t.computed(()=>l.schema.properties?.$examples),h=t.computed(()=>Object.fromEntries(l.schema.properties?.$metrics?.map(k=>[k.name,{...k,name:void 0}]))),{getHighlighterCore:g}=([n,o]=t.withAsyncContext(()=>Promise.resolve().then(()=>require("./shikiToolset-BJ-YtZfq.cjs"))),n=await n,o(),n);u.value=([n,o]=t.withAsyncContext(()=>g()),n=await n,o(),n);const y="github-"+(l.darkMode?"dark":"light");return t.onMounted(()=>{s(),window.addEventListener("hashchange",s)}),t.onUnmounted(()=>{window.removeEventListener("hashchange",s)}),(k,v)=>(t.openBlock(),t.createElementBlock("div",B1,[t.createElementVNode("div",D1,[k.schema.properties?.$beta?(t.openBlock(),t.createElementBlock("div",P1,[...v[0]||(v[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),k.schema.properties?.title?(t.openBlock(),t.createElementBlock("div",$1,[t.renderSlot(k.$slots,"markdown",{content:k.schema.properties.title.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):t.createCommentVNode("",!0),k.schema.properties?.description?(t.openBlock(),t.createElementBlock("div",R1,[t.renderSlot(k.$slots,"markdown",{content:k.schema.properties.description.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):t.createCommentVNode("",!0),(t.openBlock(),t.createBlock(Ro,{highlighter:u.value,language:"yaml",theme:y,code:`type: "${k.pluginType}"`,key:k.pluginType},null,8,["highlighter","code"]))]),(t.openBlock(),t.createElementBlock("div",{class:"d-flex flex-column gap-3",key:k.pluginType},[f.value?(t.openBlock(),t.createBlock(pt,{key:0,class:"plugin-section","clickable-text":"Examples",href:"examples","no-url-change":k.noUrlChange},{content:t.withCtx(()=>[t.createElementVNode("div",M1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(f.value,(E,m)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:k.pluginType+"-"+m},[t.createElementVNode("div",x1,[t.createElementVNode("div",F1,[E.title?t.renderSlot(k.$slots,"markdown",{key:0,content:E.title.replace(/ *:(?![ /])/g,": ")},void 0,!0):t.createCommentVNode("",!0)]),E.code?(t.openBlock(),t.createBlock(Ro,{key:0,highlighter:u.value,language:E.lang??"yaml",theme:y,code:c(E)},null,8,["highlighter","language","code"])):t.createCommentVNode("",!0)]),m<f.value.length-1?(t.openBlock(),t.createElementBlock("hr",U1)):t.createCommentVNode("",!0)],64))),128))])]),_:3},8,["no-url-change"])):t.createCommentVNode("",!0),k.schema.properties?.properties?(t.openBlock(),t.createBlock(wt,{key:1,class:"plugin-section",properties:k.schema.properties.properties,"section-name":"Properties",href:"properties","initially-expanded":k.propsInitiallyExpanded,"force-include":k.forceIncludeProperties,"no-url-change":k.noUrlChange},{markdown:t.withCtx(({content:E})=>[t.createElementVNode("div",H1,[t.renderSlot(k.$slots,"markdown",{content:E},void 0,!0)])]),_:3},8,["properties","initially-expanded","force-include","no-url-change"])):t.createCommentVNode("",!0),k.schema.outputs?.properties&&Object.keys(k.schema.outputs.properties).length>0?(t.openBlock(),t.createBlock(wt,{key:2,class:"plugin-section",properties:k.schema.outputs.properties,"section-name":"Outputs",href:"outputs","show-dynamic":!1,"no-url-change":k.noUrlChange},{markdown:t.withCtx(({content:E})=>[t.createElementVNode("div",z1,[t.renderSlot(k.$slots,"markdown",{content:E},void 0,!0)])]),_:3},8,["properties","no-url-change"])):t.createCommentVNode("",!0),k.schema.properties?.$metrics?(t.openBlock(),t.createBlock(wt,{key:3,class:"plugin-section",properties:h.value,"section-name":"Metrics",href:"metrics","show-dynamic":!1,"no-url-change":k.noUrlChange},{markdown:t.withCtx(({content:E})=>[t.createElementVNode("div",G1,[t.renderSlot(k.$slots,"markdown",{content:E},void 0,!0)])]),_:3},8,["properties","no-url-change"])):t.createCommentVNode("",!0),k.schema.definitions&&Object.keys(k.schema.definitions).length>0?(t.openBlock(),t.createBlock(pt,{class:"plugin-section","clickable-text":"Definitions",href:"definitions","initially-expanded":a.value,key:`definitions-${k.pluginType}-${i.value}`,"no-url-change":k.noUrlChange},{content:t.withCtx(()=>[t.createElementVNode("div",W1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Object.entries(k.schema.definitions),([E,m])=>(t.openBlock(),t.createBlock(wt,{properties:m.properties,"section-name":m.title??E.split("_")[0],href:E,"show-dynamic":!1,"initially-expanded":r.value.has(E),key:k.pluginType+"-"+E,class:"plugin-section nested-button-py-2",onExpand:_=>{a.value=!0,r.value.add(E)},"no-url-change":k.noUrlChange},{markdown:t.withCtx(({content:_})=>[t.createElementVNode("div",j1,[t.renderSlot(k.$slots,"markdown",{content:_},void 0,!0)])]),_:3},8,["properties","section-name","href","initially-expanded","onExpand","no-url-change"]))),128))])]),_:3},8,["initially-expanded","no-url-change"])):t.createCommentVNode("",!0)]))]))}}),Y1=P(K1,[["__scopeId","data-v-e94db40a"]]),q1={name:"ChevronRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},X1=["aria-hidden","aria-label"],Z1=["fill","width","height"],J1={d:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"},Q1={key:0};function eg(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon chevron-right-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",J1,[o.title?(t.openBlock(),t.createElementBlock("title",Q1,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Z1))],16,X1)}const tg=P(q1,[["render",eg]]),ng=["href"],og=["src","alt"],lg=t.defineComponent({__name:"RowLink",props:{iconB64Svg:{},text:{},routePath:{},href:{}},setup(e){const n=e,o=t.computed(()=>n.href===void 0?`${n.routePath}/${We(n.text)}`:n.href);return(l,a)=>(t.openBlock(),t.createElementBlock("a",{href:o.value,class:"row-link d-flex flex-grow-1 align-items-center gap-7 rounded"},[t.createElementVNode("img",{src:l.iconB64Svg,alt:`${l.text} icon`},null,8,og),t.createTextVNode(t.toDisplayString(l.text)+" ",1),t.createVNode(tg,{class:"ms-auto"})],8,ng))}}),Mo=P(lg,[["__scopeId","data-v-a361531e"]]),rg={class:"d-flex flex-column gap-4"},ag={key:1,class:"d-flex flex-column"},ig=["id"],sg={class:"d-flex flex-column"},cg=t.defineComponent({__name:"PluginIndex",props:{plugins:{},pluginName:{},routePath:{},icons:{},subGroup:{}},emits:["goTo"],setup(e){const n=e,o=t.computed(()=>n.plugins.find(f=>n.subGroup===void 0?!0:We(et(f))===n.subGroup)),l=t.computed(()=>o.value?.longDescription??o.value?.description),a=t.computed(()=>n.plugins.filter(f=>f.name.toLowerCase()===n.pluginName.toLowerCase()&&f.subGroup!==void 0)),r=f=>{let h=f.split(".");return h?.[h.length-1]},i=f=>`${n.routePath}/${We(f)}`,s=f=>`${n.routePath}/${f}`;function c(f){return Object.fromEntries(Object.entries(f).filter(([h,g])=>Ho(h,g)).map(([h,g])=>[h.replace(/[A-Z]/g,y=>` ${y}`),g.filter(({deprecated:y})=>!y).map(({cls:y})=>y)]))}const u=t.computed(()=>c(o.value));return(f,h)=>(t.openBlock(),t.createElementBlock("div",rg,[l.value!==void 0?t.renderSlot(f.$slots,"markdown",{key:0,content:l.value.replace(/ *:(?![ /])/g,": ")}):t.createCommentVNode("",!0),f.subGroup===void 0&&f.plugins.length>1?(t.openBlock(),t.createElementBlock("div",ag,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.value,g=>(t.openBlock(),t.createBlock(Mo,{id:`group-${t.unref(We)(t.unref(et)(g))}`,"icon-b64-svg":"data:image/svg+xml;base64,"+(f.icons[g.subGroup]??f.icons[g.group]),text:t.unref(et)(g),href:i(t.unref(et)(g)),key:t.unref(et)(g),"route-path":f.routePath,class:"text-capitalize",onClick:y=>f.$emit("goTo",{subGroup:g})},null,8,["id","icon-b64-svg","text","href","route-path","onClick"]))),128))])):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:2},t.renderList(u.value,(g,y)=>(t.openBlock(),t.createElementBlock("div",{class:"d-flex flex-column elements-section",key:y},[t.createElementVNode("h4",{id:`section-${t.unref(We)(y)}`,class:"text-capitalize"},t.toDisplayString(y),9,ig),t.createElementVNode("div",sg,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(g,k=>(t.openBlock(),t.createBlock(Mo,{id:t.unref(We)(k),"icon-b64-svg":"data:image/svg+xml;base64,"+(f.icons[k]??f.icons[o.value.subGroup??o.value.group]??f.icons[o.value.group]),text:r(k),href:s(k),key:k,"route-path":f.routePath,class:"text-capitalize",onClick:v=>f.$emit("goTo",{element:k})},null,8,["id","icon-b64-svg","text","href","route-path","onClick"]))),128))])]))),128))]))}}),ug=/"(?:_|\\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*:/,dg=/"(?: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*:/,fg=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function mg(e,n){if(e==="__proto__"||e==="constructor"&&n&&typeof n=="object"&&"prototype"in n){pg(e);return}return n}function pg(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function gg(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(!fg.test(e)){if(n.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(ug.test(e)||dg.test(e)){if(n.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,mg)}return JSON.parse(e)}catch(l){if(n.strict)throw l;return e}}const hg=/\d/,Eg=["-","_","/","."];function _g(e=""){if(!hg.test(e))return e!==e.toLowerCase()}function xl(e,n){const o=Eg,l=[];if(!e||typeof e!="string")return l;let a="",r,i;for(const s of e){const c=o.includes(s);if(c===!0){l.push(a),a="",r=void 0;continue}const u=_g(s);if(i===!1){if(r===!1&&u===!0){l.push(a),a=s,r=u;continue}if(r===!0&&u===!1&&a.length>1){const f=a.at(-1);l.push(a.slice(0,Math.max(0,a.length-1))),a=f+s,r=u;continue}}a+=s,r=u,i=c}return l.push(a),l}function yg(e){return e?e[0].toUpperCase()+e.slice(1):""}function Fl(e,n){return e?(Array.isArray(e)?e:xl(e)).map(o=>yg(o)).join(""):""}function kg(e,n){return e?(Array.isArray(e)?e:xl(e)).map(o=>o.toLowerCase()).join("-"):""}class ht{constructor(n,o,l){this.normal=o,this.property=n,l&&(this.space=l)}}ht.prototype.normal={};ht.prototype.property={};ht.prototype.space=void 0;function Ul(e,n){const o={},l={};for(const a of e)Object.assign(o,a.property),Object.assign(l,a.normal);return new ht(o,l,n)}function kn(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 Cg=0;const x=qe(),se=qe(),Cn=qe(),A=qe(),J=qe(),nt=qe(),ke=qe();function qe(){return 2**++Cg}const vn=Object.freeze(Object.defineProperty({__proto__:null,boolean:x,booleanish:se,commaOrSpaceSeparated:ke,commaSeparated:nt,number:A,overloadedBoolean:Cn,spaceSeparated:J},Symbol.toStringTag,{value:"Module"})),rn=Object.keys(vn);class Un extends _e{constructor(n,o,l,a){let r=-1;if(super(n,o),xo(this,"space",a),typeof l=="number")for(;++r<rn.length;){const i=rn[r];xo(this,rn[r],(l&vn[i])===vn[i])}}}Un.prototype.defined=!0;function xo(e,n,o){o&&(e[n]=o)}function rt(e){const n={},o={};for(const[l,a]of Object.entries(e.properties)){const r=new Un(l,e.transform(e.attributes||{},l),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(l)&&(r.mustUseProperty=!0),n[l]=r,o[kn(l)]=l,o[kn(r.attribute)]=l}return new ht(n,o,e.space)}const Hl=rt({properties:{ariaActiveDescendant:null,ariaAtomic:se,ariaAutoComplete:null,ariaBusy:se,ariaChecked:se,ariaColCount:A,ariaColIndex:A,ariaColSpan:A,ariaControls:J,ariaCurrent:null,ariaDescribedBy:J,ariaDetails:null,ariaDisabled:se,ariaDropEffect:J,ariaErrorMessage:null,ariaExpanded:se,ariaFlowTo:J,ariaGrabbed:se,ariaHasPopup:null,ariaHidden:se,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:J,ariaLevel:A,ariaLive:null,ariaModal:se,ariaMultiLine:se,ariaMultiSelectable:se,ariaOrientation:null,ariaOwns:J,ariaPlaceholder:null,ariaPosInSet:A,ariaPressed:se,ariaReadOnly:se,ariaRelevant:null,ariaRequired:se,ariaRoleDescription:J,ariaRowCount:A,ariaRowIndex:A,ariaRowSpan:A,ariaSelected:se,ariaSetSize:A,ariaSort:null,ariaValueMax:A,ariaValueMin:A,ariaValueNow:A,ariaValueText:null,role:null},transform(e,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()}});function zl(e,n){return n in e?e[n]:n}function Gl(e,n){return zl(e,n.toLowerCase())}const vg=rt({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:nt,acceptCharset:J,accessKey:J,action:null,allow:null,allowFullScreen:x,allowPaymentRequest:x,allowUserMedia:x,alt:null,as:null,async:x,autoCapitalize:null,autoComplete:J,autoFocus:x,autoPlay:x,blocking:J,capture:null,charSet:null,checked:x,cite:null,className:J,cols:A,colSpan:null,content:null,contentEditable:se,controls:x,controlsList:J,coords:A|nt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:x,defer:x,dir:null,dirName:null,disabled:x,download:Cn,draggable:se,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:x,formTarget:null,headers:J,height:A,hidden:Cn,high:A,href:null,hrefLang:null,htmlFor:J,httpEquiv:J,id:null,imageSizes:null,imageSrcSet:null,inert:x,inputMode:null,integrity:null,is:null,isMap:x,itemId:null,itemProp:J,itemRef:J,itemScope:x,itemType:J,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:x,low:A,manifest:null,max:null,maxLength:A,media:null,method:null,min:null,minLength:A,multiple:x,muted:x,name:null,nonce:null,noModule:x,noValidate:x,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:x,optimum:A,pattern:null,ping:J,placeholder:null,playsInline:x,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:x,referrerPolicy:null,rel:J,required:x,reversed:x,rows:A,rowSpan:A,sandbox:J,scope:null,scoped:x,seamless:x,selected:x,shadowRootClonable:x,shadowRootDelegatesFocus:x,shadowRootMode:null,shape:null,size:A,sizes:null,slot:null,span:A,spellCheck:se,src:null,srcDoc:null,srcLang:null,srcSet:null,start:A,step:null,style:null,tabIndex:A,target:null,title:null,translate:null,type:null,typeMustMatch:x,useMap:null,value:se,width:A,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:J,axis:null,background:null,bgColor:null,border:A,borderColor:null,bottomMargin:A,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:x,declare:x,event:null,face:null,frame:null,frameBorder:null,hSpace:A,leftMargin:A,link:null,longDesc:null,lowSrc:null,marginHeight:A,marginWidth:A,noResize:x,noHref:x,noShade:x,noWrap:x,object:null,profile:null,prompt:null,rev:null,rightMargin:A,rules:null,scheme:null,scrolling:se,standby:null,summary:null,text:null,topMargin:A,valueType:null,version:null,vAlign:null,vLink:null,vSpace:A,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:x,disableRemotePlayback:x,prefix:null,property:null,results:A,security:null,unselectable:null},space:"html",transform:Gl}),Ng=rt({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:ke,accentHeight:A,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:A,amplitude:A,arabicForm:null,ascent:A,attributeName:null,attributeType:null,azimuth:A,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:A,by:null,calcMode:null,capHeight:A,className:J,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:A,diffuseConstant:A,direction:null,display:null,dur:null,divisor:A,dominantBaseline:null,download:x,dx:null,dy:null,edgeMode:null,editable:null,elevation:A,enableBackground:null,end:null,event:null,exponent:A,externalResourcesRequired:null,fill:null,fillOpacity:A,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:nt,g2:nt,glyphName:nt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:A,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:A,horizOriginX:A,horizOriginY:A,id:null,ideographic:A,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:A,k:A,k1:A,k2:A,k3:A,k4:A,kernelMatrix:ke,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:A,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:A,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:A,overlineThickness:A,paintOrder:null,panose1:null,path:null,pathLength:A,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:J,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:A,pointsAtY:A,pointsAtZ:A,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ke,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ke,rev:ke,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ke,requiredFeatures:ke,requiredFonts:ke,requiredFormats:ke,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:A,specularExponent:A,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:A,strikethroughThickness:A,string:null,stroke:null,strokeDashArray:ke,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:A,strokeOpacity:A,strokeWidth:null,style:null,surfaceScale:A,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ke,tabIndex:A,tableValues:null,target:null,targetX:A,targetY:A,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ke,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:A,underlineThickness:A,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:A,values:null,vAlphabetic:A,vMathematical:A,vectorEffect:null,vHanging:A,vIdeographic:A,version:null,vertAdvY:A,vertOriginX:A,vertOriginY:A,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:A,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:zl}),Wl=rt({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()}}),jl=rt({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Gl}),Kl=rt({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,n){return"xml:"+n.slice(3).toLowerCase()}}),Sg=/[A-Z]/g,Fo=/-[a-z]/g,bg=/^data[-\w.:]+$/i;function wg(e,n){const o=kn(n);let l=n,a=_e;if(o in e.normal)return e.property[e.normal[o]];if(o.length>4&&o.slice(0,4)==="data"&&bg.test(n)){if(n.charAt(4)==="-"){const r=n.slice(5).replace(Fo,Tg);l="data"+r.charAt(0).toUpperCase()+r.slice(1)}else{const r=n.slice(4);if(!Fo.test(r)){let i=r.replace(Sg,Lg);i.charAt(0)!=="-"&&(i="-"+i),n="data"+i}}a=Un}return new a(l,n)}function Lg(e){return"-"+e.toLowerCase()}function Tg(e){return e.charAt(1).toUpperCase()}const Ag=Ul([Hl,vg,Wl,jl,Kl],"html");Ul([Hl,Ng,Wl,jl,Kl],"svg");const Hn=["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"],Ig=["p","h1","h2","h3","h4","h5","h6","li"];function $t(e,n){return e.type===n||typeof e.type=="object"&&e.type.tag===n||e.tag===n}function zn(e){return $t(e,"text")||$t(e,Symbol.for("v-txt"))}function Yl(e){return Array.isArray(e.children)||typeof e.children=="string"?e.children:typeof e.children?.default=="function"?e.children.default():[]}function Rt(e){if(!e)return"";if(Array.isArray(e))return e.map(Rt).join("");if(zn(e))return e.value||e.children||"";const n=Yl(e);return Array.isArray(n)?n.map(Rt).filter(Boolean).join(""):""}function ql(e,n=[]){if(Array.isArray(e))return e.flatMap(l=>ql(l,n));let o=e;return n.some(l=>l==="*"||$t(e,l))&&(o=Yl(e)||e,!Array.isArray(o)&&Ig.some(l=>$t(e,l))&&(o=[o])),o}function Xl(e,n=[]){return e=Array.isArray(e)?e:[e],n.length?e.flatMap(o=>Xl(ql(o,[n[0]]),n.slice(1))).filter(o=>!(zn(o)&&Rt(o).trim()==="")):e}function Zl(e,n=[]){return typeof n=="string"&&(n=n.split(/[,\s]/).map(o=>o.trim()).filter(Boolean)),n.length?Xl(e,n).reduce((o,l)=>(zn(l)?typeof o[o.length-1]=="string"?o[o.length-1]+=l.children:o.push(l.children):o.push(l),o),[]):e}function Vg(e,n){return n.reduce((o,l)=>{const a=Og(e,l);return a!==void 0&&(o[l]=a),o},{})}function Og(e,n){return n.split(".").reduce((o,l)=>o&&o[l],e)}const Nn="default",Jl=/^@|^v-on:/,Ql=/^:|^v-bind:/,Bg=/^v-model/,Dg=["select","textarea","input"],Pg=["math","svg"],$g=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}`])),Rg=["script","base"],Mg=t.defineComponent({name:"MDCRenderer",props:{body:{type:Object,required:!0},data:{type:Object,default:()=>({})},class:{type:[String,Object],default:void 0},tag:{type:[String,Boolean],default:void 0},prose:{type:Boolean,default:void 0},components:{type:Object,default:()=>({})},unwrap:{type:[Boolean,String],default:!1}},async setup(e){const o=t.getCurrentInstance()?.appContext?.app?.$nuxt,l=o?.$route||o?._route,{mdc:a}=o?.$config?.public||{},r=t.computed(()=>({...a?.components?.prose&&e.prose!==!1?$g:{},...a?.components?.map||{},...t.toRaw(e.data?.mdc?.components||{}),...e.components})),i=t.computed(()=>{const u=(e.body?.children||[]).map(f=>f.tag||f.type).filter(f=>!Hn.includes(f));return Array.from(new Set(u)).sort().join(".")}),s=t.reactive({...e.data});t.watch(()=>e.data,u=>{Object.assign(s,u)}),await qg(e.body,{tags:r.value});function c(u,f){const h=u.split(".").length-1;return u.split(".").reduce((g,y,k)=>k==h&&g?(g[y]=f,g[y]):typeof g=="object"?g[y]:void 0,s)}return{tags:r,contentKey:i,route:l,runtimeData:s,updateRuntimeData:c}},render(e){const{tags:n,tag:o,body:l,data:a,contentKey:r,route:i,unwrap:s,runtimeData:c,updateRuntimeData:u}=e;if(!l)return null;const f={...a,tags:n,$route:i,runtimeData:c,updateRuntimeData:u},h=o!==!1?Sn(o||f.component?.name||f.component||"div"):void 0;return h?t.h(h,{...f.component?.props,class:e.class,...this.$attrs,key:r},{default:g}):g?.();function g(){const y=er(l,t.h,{documentMeta:f,parentScope:f,resolveComponent:Sn});return y?.default?s?Zl(y.default(),typeof s=="string"?s.split(" "):["*"]):y.default():null}}});function xg(e,n,o,l){const{documentMeta:a,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 s=e.tag,c=nr(e,a.tags);if(e.tag==="binding")return Fg(e,n,a,r);const u=tr(c)?g=>g:i;if(Rg.includes(c))return n("pre",{class:"mdc-renderer-dangerous-tag"},"<"+c+">"+Rt(e)+"</"+c+">");const f=u(c);typeof f=="object"&&(f.tag=s);const h=Ug(e,a);return l&&(h.key=l),n(f,h,er(e,n,{documentMeta:a,parentScope:{...r,...h},resolveComponent:u}))}function er(e,n,o){const{documentMeta:l,parentScope:a,resolveComponent:r}=o,s=(e.children||[]).reduce((u,f)=>{if(!Kg(f))return u[Nn].children.push(f),u;const h=jg(f);return u[h]=u[h]||{props:{},children:[]},f.type==="element"&&(u[h].props=f.props,u[h].children.push(...f.children||[])),u},{[Nn]:{props:{},children:[]}});return Object.entries(s).reduce((u,[f,{props:h,children:g}])=>(g.length&&(u[f]=(y={})=>{const k=Vg(y,Object.keys(h||{}));let v=g.map((E,m)=>xg(E,n,{documentMeta:l,parentScope:{...a,...k},resolveComponent:r},String(E.props?.key||m)));return h?.unwrap&&(v=Zl(v,h.unwrap)),Yg(v)}),u),{})}function Fg(e,n,o,l={}){const a={...o.runtimeData,...l,$document:o,$doc:o},r=/\.|\[(\d+)\]/,s=(e.props?.value.trim().split(r).filter(Boolean)).reduce((u,f)=>{if(u&&f in u)return typeof u[f]=="function"?u[f]():u[f]},a),c=e.props?.defaultValue;return n(t.Text,s??c??"")}function Ug(e,n){const{tag:o="",props:l={}}=e;return Object.keys(l).reduce(function(a,r){if(r==="__ignoreMap")return a;const i=l[r];if(Bg.test(r))return Hg(r,i,a,n,{native:Dg.includes(o)});if(r==="v-bind")return zg(r,i,a,n);if(Jl.test(r))return Gg(r,i,a,n);if(Ql.test(r))return Wg(r,i,a,n);const{attribute:s}=wg(Ag,r);return Array.isArray(i)&&i.every(c=>typeof c=="string")?(a[s]=i.join(" "),a):(a[s]=i,a)},{})}function Hg(e,n,o,l,{native:a}){const r=e.match(/^v-model:([^=]+)/)?.[1]||"modelValue",i=a?"value":r,s=a?"onInput":`onUpdate:${r}`;return o[i]=zt(n,l.runtimeData),o[s]=c=>{l.updateRuntimeData(n,a?c.target?.value:c)},o}function zg(e,n,o,l){const a=zt(n,l);return o=Object.assign(o,a),o}function Gg(e,n,o,l){return e=e.replace(Jl,""),o.on=o.on||{},o.on[e]=()=>zt(n,l),o}function Wg(e,n,o,l){return e=e.replace(Ql,""),o[e]=zt(n,l),o}const Sn=e=>{if(typeof e=="string"){if(Hn.includes(e))return e;const n=t.resolveComponent(Fl(e),!1);return!e||n?.name==="AsyncComponentWrapper"||typeof n=="string"?n:"setup"in n?t.defineAsyncComponent(()=>new Promise(o=>o(n))):n}return e};function zt(e,n){const o=e.split(".").reduce((l,a)=>typeof l=="object"?l[a]:void 0,n);return typeof o>"u"?gg(e):o}function jg(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||Nn}function Kg(e){return e.tag==="template"}function tr(e){return Pg.includes(e)}function Yg(e){const n=[];for(const o of e){const l=n[n.length-1];o.type===t.Text&&l?.type===t.Text?l.children=l.children+o.children:n.push(o)}return n}async function qg(e,n){if(!e)return;const o=Array.from(new Set(l(e,n)));await Promise.all(o.map(async a=>{if(a?.render||a?.ssrRender||a?.__ssrInlineRender)return;const r=Sn(a);r?.__asyncLoader&&!r.__asyncResolved&&await r.__asyncLoader()}));function l(a,r){const i=a.tag;if(a.type==="text"||i==="binding"||a.type==="comment")return[];const s=nr(a,r.tags);if(tr(s))return[];const c=[];a.type!=="root"&&!Hn.includes(s)&&c.push(s);for(const u of a.children||[])c.push(...l(u,r));return c}}function nr(e,n){const o=e.tag;return!o||typeof e.props?.__ignoreMap<"u"?o:n[o]||n[Fl(o)]||n[kg(e.tag)]||o}const Xg=t.defineComponent({__name:"MDCRenderer",setup(e){return(n,o)=>(t.openBlock(),t.createBlock(t.Suspense,null,{default:t.withCtx(()=>[t.createVNode(Mg,t.mergeProps(n.$attrs,{prose:!0}),null,16)]),_:1}))}});exports.CLUSTER_PREFIX=S.CLUSTER_PREFIX;exports.EVENTS=S.EVENTS;exports.NODE_SIZES=S.NODE_SIZES;exports.SECTIONS=S.SECTIONS;exports.Utils=S.Utils;exports.VueFlowUtils=S.VueFlowUtils;exports.editorViewTypes=S.editorViewTypes;exports.executeFlowBehaviours=S.executeFlowBehaviours;exports.logDisplayTypes=S.logDisplayTypes;exports.stateDisplayValues=S.stateDisplayValues;exports.stateGlobalChartTypes=S.stateGlobalChartTypes;exports.storageKeys=S.storageKeys;exports.Collapsible=pt;exports.DependenciesNode=hc;exports.MDCRenderer=Xg;exports.PluginIndex=cg;exports.RotatingDotsIcon=zo;exports.STATES=H;exports.SchemaToHtml=Y1;exports.State=te;exports.TaskIcon=On;exports.Topology=dm;exports.YamlUtils=mr;exports.cssVariable=Ce;exports.getMDCParser=Ba;exports.isEntryAPluginElementPredicate=Ho;exports.slugify=We;exports.subGroupName=et;
27
+ `.concat(v.code),u=e.ref(),d=e.computed(()=>l.schema.properties?.$examples),p=e.computed(()=>Object.fromEntries(l.schema.properties?.$metrics?.map(v=>[v.name,{...v,name:void 0}]))),{getHighlighterCore:h}=([n,o]=e.withAsyncContext(()=>Promise.resolve().then(()=>require("./shikiToolset-BJ-YtZfq.cjs"))),n=await n,o(),n);u.value=([n,o]=e.withAsyncContext(()=>h()),n=await n,o(),n);const _="github-"+(l.darkMode?"dark":"light");return e.onMounted(()=>{s(),window.addEventListener("hashchange",s)}),e.onUnmounted(()=>{window.removeEventListener("hashchange",s)}),(v,C)=>(e.openBlock(),e.createElementBlock("div",I1,[e.createElementVNode("div",A1,[v.schema.properties?.$beta?(e.openBlock(),e.createElementBlock("div",D1,[...C[0]||(C[0]=[e.createElementVNode("p",null," This plugin is currently in beta. While it is considered safe for use, please be aware that its API could change in ways that are not compatible with earlier versions in future releases, or it might become unsupported. ",-1)])])):e.createCommentVNode("",!0),v.schema.properties?.title?(e.openBlock(),e.createElementBlock("div",$1,[e.renderSlot(v.$slots,"markdown",{content:v.schema.properties.title.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),v.schema.properties?.description?(e.openBlock(),e.createElementBlock("div",O1,[e.renderSlot(v.$slots,"markdown",{content:v.schema.properties.description.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),(e.openBlock(),e.createBlock(xt,{highlighter:u.value,language:"yaml",theme:_,code:`type: "${v.pluginType}"`,key:v.pluginType},null,8,["highlighter","code"]))]),(e.openBlock(),e.createElementBlock("div",{class:"d-flex flex-column gap-3",key:v.pluginType},[d.value?(e.openBlock(),e.createBlock(ht,{key:0,class:"plugin-section","clickable-text":"Examples",href:"examples","no-url-change":v.noUrlChange},{content:e.withCtx(()=>[e.createElementVNode("div",P1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,(E,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:v.pluginType+"-"+f},[e.createElementVNode("div",R1,[e.createElementVNode("div",M1,[E.title?e.renderSlot(v.$slots,"markdown",{key:0,content:E.title.replace(/ *:(?![ /])/g,": ")},void 0,!0):e.createCommentVNode("",!0)]),E.code?(e.openBlock(),e.createBlock(xt,{key:0,highlighter:u.value,language:E.lang??"yaml",theme:_,code:c(E)},null,8,["highlighter","language","code"])):e.createCommentVNode("",!0)]),f<d.value.length-1?(e.openBlock(),e.createElementBlock("hr",x1)):e.createCommentVNode("",!0)],64))),128))])]),_:3},8,["no-url-change"])):e.createCommentVNode("",!0),v.schema.properties?.properties?(e.openBlock(),e.createBlock(Bt,{key:1,class:"plugin-section",properties:v.schema.properties.properties,"section-name":"Properties",href:"properties","initially-expanded":v.propsInitiallyExpanded,"force-include":v.forceIncludeProperties,"no-url-change":v.noUrlChange},{markdown:e.withCtx(({content:E})=>[e.createElementVNode("div",F1,[e.renderSlot(v.$slots,"markdown",{content:E},void 0,!0)])]),_:3},8,["properties","initially-expanded","force-include","no-url-change"])):e.createCommentVNode("",!0),v.schema.outputs?.properties&&Object.keys(v.schema.outputs.properties).length>0?(e.openBlock(),e.createBlock(Bt,{key:2,class:"plugin-section",properties:v.schema.outputs.properties,"section-name":"Outputs",href:"outputs","show-dynamic":!1,"no-url-change":v.noUrlChange},{markdown:e.withCtx(({content:E})=>[e.createElementVNode("div",U1,[e.renderSlot(v.$slots,"markdown",{content:E},void 0,!0)])]),_:3},8,["properties","no-url-change"])):e.createCommentVNode("",!0),v.schema.properties?.$metrics?(e.openBlock(),e.createBlock(Bt,{key:3,class:"plugin-section",properties:p.value,"section-name":"Metrics",href:"metrics","show-dynamic":!1,"no-url-change":v.noUrlChange},{markdown:e.withCtx(({content:E})=>[e.createElementVNode("div",H1,[e.renderSlot(v.$slots,"markdown",{content:E},void 0,!0)])]),_:3},8,["properties","no-url-change"])):e.createCommentVNode("",!0),v.schema.definitions&&Object.keys(v.schema.definitions).length>0?(e.openBlock(),e.createBlock(ht,{class:"plugin-section","clickable-text":"Definitions",href:"definitions","initially-expanded":a.value,key:`definitions-${v.pluginType}-${i.value}`,"no-url-change":v.noUrlChange},{content:e.withCtx(()=>[e.createElementVNode("div",z1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.entries(v.schema.definitions),([E,f])=>(e.openBlock(),e.createBlock(Bt,{properties:f.properties,"section-name":f.title??E.split("_")[0],href:E,"show-dynamic":!1,"initially-expanded":r.value.has(E),key:v.pluginType+"-"+E,class:"plugin-section nested-button-py-2",onExpand:y=>{a.value=!0,r.value.add(E)},"no-url-change":v.noUrlChange},{markdown:e.withCtx(({content:y})=>[e.createElementVNode("div",W1,[e.renderSlot(v.$slots,"markdown",{content:y},void 0,!0)])]),_:3},8,["properties","section-name","href","initially-expanded","onExpand","no-url-change"]))),128))])]),_:3},8,["initially-expanded","no-url-change"])):e.createCommentVNode("",!0)]))]))}}),G1=D(j1,[["__scopeId","data-v-af023a1d"]]),K1={key:0},Y1={class:"type-box rounded fs-7 px-2 py-1"},q1={key:1},X1={class:"border rounded px-2 py-1"},Z1={key:2},J1={class:"border rounded px-2 py-1"},Q1={key:3},eh={class:"border rounded px-2 py-1"},th={key:4},nh={class:"border rounded px-2 py-1"},oh={key:5},lh={class:"border rounded px-2 py-1"},rh={key:6},ah={class:"border rounded px-2 py-1"},ih={key:7},sh={class:"border rounded px-2 py-1"},ch={key:8},uh={class:"border rounded px-2 py-1"},dh={key:9},mh={class:"border rounded px-2 py-1"},fh={key:10},ph={class:"border rounded px-2 py-1"},gh={key:11},hh={class:"border rounded px-2 py-1"},Eh={key:12},yh={class:"border rounded px-2 py-1"},kh={key:13},_h={class:"values-wrapper d-flex flex-wrap justify-content-end gap-7 p-0"},vh=e.defineComponent({__name:"PropertyMeta",props:{property:{},subtype:{},enumValues:{}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[n.subtype&&!n.subtype.startsWith("#")?(e.openBlock(),e.createElementBlock("div",K1,[o[0]||(o[0]=e.createElementVNode("span",null,"SubType",-1)),e.createElementVNode("span",Y1,e.toDisplayString(n.subtype),1)])):e.createCommentVNode("",!0),n.property.default!==void 0?(e.openBlock(),e.createElementBlock("div",q1,[o[1]||(o[1]=e.createElementVNode("span",null,"Default",-1)),e.createElementVNode("code",X1,e.toDisplayString(n.property.default),1)])):e.createCommentVNode("",!0),n.property.pattern!==void 0?(e.openBlock(),e.createElementBlock("div",Z1,[o[2]||(o[2]=e.createElementVNode("span",null,"Validation RegExp",-1)),e.createElementVNode("code",J1,e.toDisplayString(n.property.pattern),1)])):e.createCommentVNode("",!0),n.property.unit!==void 0&&n.property.unit.trim().length>0?(e.openBlock(),e.createElementBlock("div",Q1,[o[3]||(o[3]=e.createElementVNode("span",null,"Unit",-1)),e.createElementVNode("code",eh,e.toDisplayString(n.property.unit),1)])):e.createCommentVNode("",!0),n.property.minLength!==void 0?(e.openBlock(),e.createElementBlock("div",th,[o[4]||(o[4]=e.createElementVNode("span",null,"Min length",-1)),e.createElementVNode("code",nh,e.toDisplayString(n.property.minLength),1)])):e.createCommentVNode("",!0),n.property.maxLength!==void 0?(e.openBlock(),e.createElementBlock("div",oh,[o[5]||(o[5]=e.createElementVNode("span",null,"Max length",-1)),e.createElementVNode("code",lh,e.toDisplayString(n.property.maxLength),1)])):e.createCommentVNode("",!0),n.property.minItems!==void 0?(e.openBlock(),e.createElementBlock("div",rh,[o[6]||(o[6]=e.createElementVNode("span",null,"Min items",-1)),e.createElementVNode("code",ah,e.toDisplayString(n.property.minItems),1)])):e.createCommentVNode("",!0),n.property.maxItems!==void 0?(e.openBlock(),e.createElementBlock("div",ih,[o[7]||(o[7]=e.createElementVNode("span",null,"Max items",-1)),e.createElementVNode("code",sh,e.toDisplayString(n.property.maxItems),1)])):e.createCommentVNode("",!0),n.property.minimum!==void 0?(e.openBlock(),e.createElementBlock("div",ch,[o[8]||(o[8]=e.createElementVNode("span",null,"Minimum",-1)),e.createElementVNode("code",uh,">= "+e.toDisplayString(n.property.minimum),1)])):e.createCommentVNode("",!0),n.property.exclusiveMinimum!==void 0?(e.openBlock(),e.createElementBlock("div",dh,[o[9]||(o[9]=e.createElementVNode("span",null,"Minimum",-1)),e.createElementVNode("code",mh,"> "+e.toDisplayString(n.property.minimum),1)])):e.createCommentVNode("",!0),n.property.maximum!==void 0?(e.openBlock(),e.createElementBlock("div",fh,[o[10]||(o[10]=e.createElementVNode("span",null,"Maximum",-1)),e.createElementVNode("code",ph,"<= "+e.toDisplayString(n.property.maximum),1)])):e.createCommentVNode("",!0),n.property.exclusiveMaximum!==void 0?(e.openBlock(),e.createElementBlock("div",gh,[o[11]||(o[11]=e.createElementVNode("span",null,"Maximum",-1)),e.createElementVNode("code",hh,"< "+e.toDisplayString(n.property.maximum),1)])):e.createCommentVNode("",!0),n.property.format!==void 0?(e.openBlock(),e.createElementBlock("div",Eh,[o[12]||(o[12]=e.createElementVNode("span",null,"Format",-1)),e.createElementVNode("code",yh,e.toDisplayString(n.property.format),1)])):e.createCommentVNode("",!0),n.enumValues!==void 0?(e.openBlock(),e.createElementBlock("div",kh,[o[13]||(o[13]=e.createElementVNode("span",null,"Possible Values",-1)),e.createElementVNode("div",_h,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.enumValues,(l,a)=>(e.openBlock(),e.createElementBlock("code",{class:"border rounded px-2 py-1",key:a},e.toDisplayString(l),1))),128))])])):e.createCommentVNode("",!0)],64))}}),rr=D(vh,[["__scopeId","data-v-2d5ac2ae"]]),Ch={class:"d-flex flex-grow-1 align-items-center"},Nh=e.defineComponent({__name:"PropertyBadges",props:{property:{},showDynamic:{type:Boolean,default:!0},sectionClass:{default:""}},setup(t){function n(o){return at(o).types.filter(a=>!a.startsWith("#"))}return(o,l)=>(e.openBlock(),e.createElementBlock("span",Ch,[e.createElementVNode("span",{class:e.normalizeClass(["d-flex gap-2 flex-wrap align-items-center",o.sectionClass])},[o.property&&o.property.$required?(e.openBlock(),e.createBlock(W,{key:0,class:"d-flex align-items-center",title:"Required"},{default:e.withCtx(()=>[...l[0]||(l[0]=[e.createElementVNode("span",{class:"text-danger"},"*",-1)])]),_:1})):e.createCommentVNode("",!0),o.showDynamic&&o.property&&!e.unref(Ql)(o.property)?(e.openBlock(),e.createBlock(W,{key:1,class:"d-flex",title:"Non-dynamic"},{default:e.withCtx(()=>[e.createVNode(or,{class:"text-info"})]),_:1})):e.createCommentVNode("",!0),o.property&&o.property.$beta?(e.openBlock(),e.createBlock(W,{key:2,class:"d-flex",title:"Beta"},{default:e.withCtx(()=>[e.createVNode(lr,{class:"text-warning"})]),_:1})):e.createCommentVNode("",!0),o.property&&o.property.$deprecated?(e.openBlock(),e.createBlock(W,{key:3,class:"d-flex",title:"Deprecated"},{default:e.withCtx(()=>[e.createVNode(Kt,{class:"text-warning"})]),_:1})):e.createCommentVNode("",!0),o.property?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:4},e.renderList(n(o.property),a=>(e.openBlock(),e.createElementBlock("span",{key:a,class:"type-box rounded fs-7 px-2 py-1"},e.toDisplayString(a),1))),128)):e.createCommentVNode("",!0)],2)]))}}),ar=D(Nh,[["__scopeId","data-v-f088032b"]]),Sh={class:"def-content"},bh={class:"d-flex align-items-center justify-content-between gap-2"},wh={key:0,class:"property-desc mt-2"},Lh={key:1,class:"mt-3 nested-defs"},Th=e.defineComponent({__name:"DefinitionCollapsible",props:{definition:{},definitions:{default:void 0},visitedKeys:{default:()=>new Set},depth:{default:0},maxDepth:{default:3},section:{default:"properties"}},setup(t){const n=t,o=w.sanitizeForMarkdown,l=s=>{const c=at(s).subType;return c&&!c.startsWith("#")?c:void 0},a=s=>Zn(s),r=s=>{const c=n.definitions,u=n.depth,d=n.maxDepth,p=n.visitedKeys;return!c||u>=d?[]:Jl(s,c,p)},i=e.computed(()=>{const s=new Set(n.visitedKeys);return s.add(n.definition.key),s});return(s,c)=>{const u=e.resolveComponent("DefinitionCollapsible",!0);return e.openBlock(),e.createBlock(Et,{title:s.definition.title,href:`def-${s.definition.key}`,class:e.normalizeClass(["def-collapsible",`section-${s.section}`]),arrow:"","no-url-change":""},{content:e.withCtx(()=>[e.createElementVNode("div",Sh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.definition.properties,(d,p)=>(e.openBlock(),e.createElementBlock("div",{key:p,class:"def-property"},[e.createElementVNode("div",bh,[e.createElementVNode("span",null,e.toDisplayString(p),1),e.createVNode(ar,{property:d,"show-dynamic":!1,"section-class":"section-properties"},null,8,["property"])]),e.createVNode(rr,{property:d,subtype:l(d),"enum-values":a(d)},null,8,["property","subtype","enum-values"]),d.title!==void 0||d.description!==void 0?(e.openBlock(),e.createElementBlock("div",wh,[d.title?e.renderSlot(s.$slots,"markdown",{key:0,content:e.unref(o)(d.title)},void 0,!0):e.createCommentVNode("",!0),d.description?e.renderSlot(s.$slots,"markdown",{key:1,content:e.unref(o)(d.description)},void 0,!0):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),s.depth<s.maxDepth&&r(d).length?(e.openBlock(),e.createElementBlock("div",Lh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r(d),h=>(e.openBlock(),e.createBlock(u,{key:`${s.definition.key}-${h.key}`,definition:h,definitions:s.definitions,"visited-keys":i.value,depth:s.depth+1,"max-depth":s.maxDepth},{markdown:e.withCtx(({content:_})=>[e.renderSlot(s.$slots,"markdown",{content:_},void 0,!0)]),_:3},8,["definition","definitions","visited-keys","depth","max-depth"]))),128))])):e.createCommentVNode("",!0)]))),128))])]),_:3},8,["title","href","class"])}}}),Bh=D(Th,[["__scopeId","data-v-982b6946"]]),Vh={class:"property-detail"},Ih={key:0},Ah={class:"property-description markdown"},Dh={key:2},$h={key:3,class:"mt-3"},Oh=e.defineComponent({__name:"PropertyDetailV2",props:{property:{},definitions:{default:void 0},visitedKeys:{default:()=>new Set},depth:{default:0},maxDepth:{default:3},section:{default:"properties"}},setup(t){const n=t,o=e.computed(()=>at(n.property).subType),l=e.computed(()=>Zn(n.property)),a=e.computed(()=>{const s=n.definitions,c=n.depth,u=n.maxDepth,d=n.property,p=n.visitedKeys;return!s||c>=u?[]:Jl(d,s,p)}),r=e.computed(()=>{const s=new Set(n.visitedKeys);return a.value.forEach(c=>s.add(c.key)),s}),i=w.sanitizeForMarkdown;return(s,c)=>(e.openBlock(),e.createElementBlock("div",Vh,[e.createVNode(rr,{property:s.property,subtype:o.value,"enum-values":l.value},null,8,["property","subtype","enum-values"]),s.property.title!==void 0||s.property.description!==void 0||s.depth<s.maxDepth&&a.value.length>0?(e.openBlock(),e.createElementBlock("div",Ih,[e.createElementVNode("div",Ah,[s.property.title!==void 0?e.renderSlot(s.$slots,"markdown",{key:0,content:e.unref(i)(s.property.title)},void 0,!0):e.createCommentVNode("",!0),s.property.description!==void 0?e.renderSlot(s.$slots,"markdown",{key:1,content:e.unref(i)(s.property.description)},void 0,!0):e.createCommentVNode("",!0),s.property.$internalStorageURI?(e.openBlock(),e.createElementBlock("div",Dh,[e.createVNode(er,{type:"info"},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"markdown",{content:"Pebble expression referencing an Internal Storage URI e.g. `{{ outputs.mytask.uri }}`."},void 0,!0)]),_:3})])):e.createCommentVNode("",!0),s.depth<s.maxDepth&&a.value.length>0?(e.openBlock(),e.createElementBlock("div",$h,[c[0]||(c[0]=e.createElementVNode("div",{class:"definitions-header"}," Definitions ",-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,u=>(e.openBlock(),e.createBlock(Bh,{key:`${u.key}-${s.depth}`,definition:u,definitions:s.definitions,"visited-keys":r.value,depth:s.depth+1,"max-depth":s.maxDepth,section:s.section},{markdown:e.withCtx(({content:d})=>[e.renderSlot(s.$slots,"markdown",{content:d},void 0,!0)]),_:3},8,["definition","definitions","visited-keys","depth","max-depth","section"]))),128))])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)]))}}),Ph=D(Oh,[["__scopeId","data-v-023aa8d8"]]),Rh={class:"border overflow-hidden"},Mh=e.defineComponent({__name:"CollapsiblePropertiesV2",props:{href:{default:Math.random().toString(36).substring(2,5)},sectionName:{},properties:{default:void 0},showDynamic:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1},forceInclude:{default:()=>[]},noUrlChange:{type:Boolean,default:!1},definitions:{default:void 0}},emits:["expand"],setup(t,{emit:n}){const o=t,l=n,a=e.computed(()=>{const s=o.sectionName.toLowerCase();return s==="properties"?"section-properties":s==="outputs"?"section-outputs":s==="metrics"?"section-metrics":""}),r=e.ref(!1);e.watch(r,s=>{s&&l("expand")});function i(s){const c=[],u=[];for(const h in s)typeof s[h]=="object"&&(s[h]=Zl(s[h]),s[h].$required?c.push(h):u.push(h));const d=[...c.sort(),...u.sort()],p={};return d.forEach(h=>{(!s[h].$deprecated||o.forceInclude?.includes(h))&&(p[h]=s[h])}),p}return(s,c)=>(e.openBlock(),e.createBlock(Et,{class:"section-collapsible",title:s.sectionName,href:s.href,onExpand:c[1]||(c[1]=u=>l("expand")),"initially-expanded":s.initiallyExpanded||r.value,"no-url-change":s.noUrlChange},e.createSlots({_:2},[Object.keys(s.properties??{}).length>0?{name:"content",fn:e.withCtx(()=>[e.createElementVNode("div",Rh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i(s.properties),(u,d)=>(e.openBlock(),e.createBlock(Et,{class:e.normalizeClass(["property",a.value]),key:d,title:d,href:s.href+"_"+d,onExpand:c[0]||(c[0]=p=>r.value=!0),"no-url-change":s.noUrlChange},{right:e.withCtx(()=>[e.createVNode(ar,{property:u,"show-dynamic":s.showDynamic},null,8,["property","show-dynamic"])]),content:e.withCtx(()=>[e.createVNode(Ph,{property:u,definitions:s.definitions,section:s.sectionName.toLowerCase()},{markdown:e.withCtx(({content:p})=>[e.renderSlot(s.$slots,"markdown",{content:p},void 0,!0)]),_:3},8,["property","definitions","section"])]),_:2},1032,["title","href","no-url-change","class"]))),128))])]),key:"0"}:void 0]),1032,["title","href","initially-expanded","no-url-change"]))}}),fn=D(Mh,[["__scopeId","data-v-09967fee"]]),xh={class:"d-flex flex-column gap-6"},Fh={class:"d-flex flex-column"},Uh={key:0,class:"alert alert-info mb-2",role:"alert"},Hh={key:1,class:"plugin-title markdown"},zh={key:2,class:"markdown"},Wh={class:"d-flex flex-column gap-4"},jh={class:"d-flex flex-column"},Gh={class:"markdown"},Kh={key:0,class:"w-100 align-self-center"},Yh={class:"markdown"},qh={class:"markdown"},Xh={class:"markdown"},Zh=e.defineComponent({__name:"SchemaToHtmlV2",props:{schema:{},pluginType:{},darkMode:{type:Boolean,default:!0},propsInitiallyExpanded:{type:Boolean,default:!1},forceIncludeProperties:{default:()=>[]},noUrlChange:{type:Boolean,default:!1}},async setup(t){let n,o;const l=t,a=d=>d?.full?d.code:`id: "${l.pluginType.split(".").reverse()[0]?.toLowerCase()}"
28
+ type: "${l.pluginType}"
29
+ `.concat(d.code),r=e.ref(),i=e.computed(()=>l.schema.properties?.$examples),s=e.computed(()=>Object.fromEntries(l.schema.properties?.$metrics?.map(d=>[d.name,{...d,name:void 0}]))),{getHighlighterCore:c}=([n,o]=e.withAsyncContext(()=>Promise.resolve().then(()=>require("./shikiToolset-BJ-YtZfq.cjs"))),n=await n,o(),n);r.value=([n,o]=e.withAsyncContext(()=>c()),n=await n,o(),n);const u="github-"+(l.darkMode?"dark":"light");return(d,p)=>(e.openBlock(),e.createElementBlock("div",xh,[e.createElementVNode("div",Fh,[d.schema.properties?.$beta?(e.openBlock(),e.createElementBlock("div",Uh,[...p[0]||(p[0]=[e.createElementVNode("p",null," This plugin is currently in beta. While it is considered safe for use, please be aware that its API could change in ways that are not compatible with earlier versions in future releases, or it might become unsupported. ",-1)])])):e.createCommentVNode("",!0),d.schema.properties?.title?(e.openBlock(),e.createElementBlock("div",Hh,[e.renderSlot(d.$slots,"markdown",{content:d.schema.properties.title.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),d.schema.properties?.description?(e.openBlock(),e.createElementBlock("div",zh,[e.renderSlot(d.$slots,"markdown",{content:d.schema.properties.description.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),(e.openBlock(),e.createBlock(xt,{highlighter:r.value,language:"yaml",theme:u,code:`type: "${d.pluginType}"`,key:d.pluginType},null,8,["highlighter","code"]))]),(e.openBlock(),e.createElementBlock("div",{class:"d-flex flex-column",key:d.pluginType},[i.value?(e.openBlock(),e.createBlock(Et,{key:0,class:"plugin-section",title:"Examples",href:"examples","no-url-change":d.noUrlChange},{content:e.withCtx(()=>[e.createElementVNode("div",Wh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(h,_)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:d.pluginType+"-"+_},[e.createElementVNode("div",jh,[e.createElementVNode("div",Gh,[h.title?e.renderSlot(d.$slots,"markdown",{key:0,content:h.title.replace(/ *:(?![ /])/g,": ")},void 0,!0):e.createCommentVNode("",!0)]),h.code?(e.openBlock(),e.createBlock(xt,{key:0,highlighter:r.value,language:h.lang??"yaml",theme:u,code:a(h)},null,8,["highlighter","language","code"])):e.createCommentVNode("",!0)]),_<i.value.length-1?(e.openBlock(),e.createElementBlock("hr",Kh)):e.createCommentVNode("",!0)],64))),128))])]),_:3},8,["no-url-change"])):e.createCommentVNode("",!0),d.schema.properties?.properties?(e.openBlock(),e.createBlock(fn,{key:1,class:"plugin-section",properties:d.schema.properties.properties,"section-name":"Properties",href:"properties","initially-expanded":d.propsInitiallyExpanded,"force-include":d.forceIncludeProperties,definitions:d.schema.definitions,"no-url-change":d.noUrlChange},{markdown:e.withCtx(({content:h})=>[e.createElementVNode("div",Yh,[e.renderSlot(d.$slots,"markdown",{content:h},void 0,!0)])]),_:3},8,["properties","initially-expanded","force-include","definitions","no-url-change"])):e.createCommentVNode("",!0),d.schema.outputs?.properties&&Object.keys(d.schema.outputs.properties).length>0?(e.openBlock(),e.createBlock(fn,{key:2,class:"plugin-section",properties:d.schema.outputs.properties,"section-name":"Outputs",href:"outputs","show-dynamic":!1,definitions:d.schema.definitions,"no-url-change":d.noUrlChange},{markdown:e.withCtx(({content:h})=>[e.createElementVNode("div",qh,[e.renderSlot(d.$slots,"markdown",{content:h},void 0,!0)])]),_:3},8,["properties","definitions","no-url-change"])):e.createCommentVNode("",!0),d.schema.properties?.$metrics?(e.openBlock(),e.createBlock(fn,{key:3,class:"plugin-section",properties:s.value,"section-name":"Metrics",href:"metrics","show-dynamic":!1,definitions:d.schema.definitions,"no-url-change":d.noUrlChange},{markdown:e.withCtx(({content:h})=>[e.createElementVNode("div",Xh,[e.renderSlot(d.$slots,"markdown",{content:h},void 0,!0)])]),_:3},8,["properties","definitions","no-url-change"])):e.createCommentVNode("",!0)]))]))}}),Jh=D(Zh,[["__scopeId","data-v-e72c2f7b"]]),Qh={class:"d-flex flex-column gap-4"},eE={key:0,class:"pb-2"},tE={class:"row g-4 last"},nE=["id"],oE={class:"row g-4 last"},lE={key:2,class:"description"},rE={key:0,class:"gradient-overlay"},aE={key:0,class:"more-wrap text-center"},iE=e.defineComponent({__name:"PluginIndex",props:{plugins:{},pluginName:{},routePath:{},icons:{},subGroup:{},activeId:{},subgroupBlueprintCounts:{},metadataMap:{},schemas:{}},emits:["goTo"],setup(t){const n=t,o=k=>n.metadataMap?.[k.subGroup??k.group],l=k=>o(k)?.description??k.description,a=k=>o(k)?.title??k.title??De(k),r=e.computed(()=>n.plugins.find(k=>n.subGroup===void 0?!0:he(De(k))===n.subGroup)),i=e.computed(()=>r.value?.longDescription??r.value?.description),s=e.computed(()=>n.plugins.filter(k=>k.name.toLowerCase()===n.pluginName.toLowerCase()&&k.subGroup!==void 0)),c=k=>{let N=k.split(".");return N?.[N.length-1]},u=k=>`${n.routePath}/${k}`;function d(k){const N=Ht(k);return Object.values(N).reduce((T,A)=>T+A.length,0)}const{elementsByType:p}=Qo(r),h=e.ref(null),_=e.ref(null),v=e.ref(!1),{height:C}=qo(h),{height:E}=qo(_),f=e.computed(()=>E.value>C.value+2),y=()=>{v.value=!v.value};return(k,N)=>(e.openBlock(),e.createElementBlock("div",Qh,[k.subGroup===void 0&&k.plugins.length>1?(e.openBlock(),e.createElementBlock("div",eE,[e.createElementVNode("div",tE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,T=>(e.openBlock(),e.createElementBlock("div",{class:"col-md-4 col-lg-6 col-xl-6 col-xxl-4",key:e.unref(De)(T)},[e.createVNode(Yl,{id:e.unref(he)(e.unref(De)(T)),"icon-b64-svg":"data:image/svg+xml;base64,"+(k.icons[T.subGroup]??k.icons[T.group]),text:a(T),description:l(T),href:`${k.routePath}/${e.unref(he)(e.unref(De)(T))}`,"route-path":k.routePath,"plugin-group":T.group??T.name,"total-count":d(T),"blueprints-count":n.subgroupBlueprintCounts?.[`${e.unref(he)(T.group??T.name)}-${e.unref(he)(e.unref(De)(T))}`]??0,"is-active":k.activeId===e.unref(he)(e.unref(De)(T)),class:"text-capitalize h-100",onClick:A=>k.$emit("goTo",{subGroup:T})},null,8,["id","icon-b64-svg","text","description","href","route-path","plugin-group","total-count","blueprints-count","is-active","onClick"])]))),128))])])):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(e.unref(p),(T,A)=>(e.openBlock(),e.createElementBlock("div",{class:"d-flex flex-column elements-section pb-3",key:A},[e.createElementVNode("h4",{id:`section-${e.unref(he)(A)}`,class:"text-capitalize"},e.toDisplayString(A),9,nE),e.createElementVNode("div",oE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T,b=>(e.openBlock(),e.createElementBlock("div",{class:"col-md-4 col-lg-6 col-xl-6 col-xxl-4",key:b},[e.createVNode(ql,{id:e.unref(he)(b),"icon-b64-svg":"data:image/svg+xml;base64,"+(k.icons[b]??k.icons[r.value.subGroup??r.value.group]??k.icons[r.value.group]),text:c(b),"plugin-class":b,href:u(b),"route-path":k.routePath,"is-active":k.activeId===e.unref(he)(b),title:k.schemas?.[b]?.title,class:"h-100",onClick:x=>k.$emit("goTo",{element:b})},{markdown:e.withCtx(({content:x})=>[e.renderSlot(k.$slots,"markdown",{content:x},void 0,!0)]),_:3},8,["id","icon-b64-svg","text","plugin-class","href","route-path","is-active","title","onClick"])]))),128))])]))),128)),i.value!==void 0&&r.value.longDescription?(e.openBlock(),e.createElementBlock("div",lE,[N[0]||(N[0]=e.createElementVNode("h4",{id:"how-to-use-this-plugin"}," How to use this plugin ",-1)),e.createElementVNode("div",{ref_key:"contentWrap",ref:h,class:e.normalizeClass(["markdown-container",{expanded:v.value}])},[e.createElementVNode("div",{ref_key:"contentInner",ref:_,class:"markdown-inner"},[e.renderSlot(k.$slots,"markdown",{content:i.value.replace(/ *:(?![ /])/g,": ")},void 0,!0)],512),f.value&&!v.value?(e.openBlock(),e.createElementBlock("div",rE)):e.createCommentVNode("",!0)],2),f.value||v.value?(e.openBlock(),e.createElementBlock("div",aE,[e.createElementVNode("button",{class:"more-btn",onClick:y},[e.createTextVNode(e.toDisplayString(v.value?"See less":"See more")+" ",1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(v.value?nr:Xn)))])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]))}}),sE=D(iE,[["__scopeId","data-v-35ec432d"]]),cE=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,uE=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,dE=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function mE(t,n){if(t==="__proto__"||t==="constructor"&&n&&typeof n=="object"&&"prototype"in n){fE(t);return}return n}function fE(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function pE(t,n={}){if(typeof t!="string")return t;if(t[0]==='"'&&t[t.length-1]==='"'&&t.indexOf("\\")===-1)return t.slice(1,-1);const o=t.trim();if(o.length<=9)switch(o.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!dE.test(t)){if(n.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(cE.test(t)||uE.test(t)){if(n.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,mE)}return JSON.parse(t)}catch(l){if(n.strict)throw l;return t}}const gE=/\d/,hE=["-","_","/","."];function EE(t=""){if(!gE.test(t))return t!==t.toLowerCase()}function ir(t,n){const o=hE,l=[];if(!t||typeof t!="string")return l;let a="",r,i;for(const s of t){const c=o.includes(s);if(c===!0){l.push(a),a="",r=void 0;continue}const u=EE(s);if(i===!1){if(r===!1&&u===!0){l.push(a),a=s,r=u;continue}if(r===!0&&u===!1&&a.length>1){const d=a.at(-1);l.push(a.slice(0,Math.max(0,a.length-1))),a=d+s,r=u;continue}}a+=s,r=u,i=c}return l.push(a),l}function yE(t){return t?t[0].toUpperCase()+t.slice(1):""}function sr(t,n){return t?(Array.isArray(t)?t:ir(t)).map(o=>yE(o)).join(""):""}function kE(t,n){return t?(Array.isArray(t)?t:ir(t)).map(o=>o.toLowerCase()).join("-"):""}class kt{constructor(n,o,l){this.normal=o,this.property=n,l&&(this.space=l)}}kt.prototype.normal={};kt.prototype.property={};kt.prototype.space=void 0;function cr(t,n){const o={},l={};for(const a of t)Object.assign(o,a.property),Object.assign(l,a.normal);return new kt(o,l,n)}function Tn(t){return t.toLowerCase()}class ke{constructor(n,o){this.attribute=o,this.property=n}}ke.prototype.attribute="";ke.prototype.booleanish=!1;ke.prototype.boolean=!1;ke.prototype.commaOrSpaceSeparated=!1;ke.prototype.commaSeparated=!1;ke.prototype.defined=!1;ke.prototype.mustUseProperty=!1;ke.prototype.number=!1;ke.prototype.overloadedBoolean=!1;ke.prototype.property="";ke.prototype.spaceSeparated=!1;ke.prototype.space=void 0;let _E=0;const F=Ze(),se=Ze(),Bn=Ze(),V=Ze(),J=Ze(),ot=Ze(),ve=Ze();function Ze(){return 2**++_E}const Vn=Object.freeze(Object.defineProperty({__proto__:null,boolean:F,booleanish:se,commaOrSpaceSeparated:ve,commaSeparated:ot,number:V,overloadedBoolean:Bn,spaceSeparated:J},Symbol.toStringTag,{value:"Module"})),pn=Object.keys(Vn);class Jn extends ke{constructor(n,o,l,a){let r=-1;if(super(n,o),Xo(this,"space",a),typeof l=="number")for(;++r<pn.length;){const i=pn[r];Xo(this,pn[r],(l&Vn[i])===Vn[i])}}}Jn.prototype.defined=!0;function Xo(t,n,o){o&&(t[n]=o)}function it(t){const n={},o={};for(const[l,a]of Object.entries(t.properties)){const r=new Jn(l,t.transform(t.attributes||{},l),a,t.space);t.mustUseProperty&&t.mustUseProperty.includes(l)&&(r.mustUseProperty=!0),n[l]=r,o[Tn(l)]=l,o[Tn(r.attribute)]=l}return new kt(n,o,t.space)}const ur=it({properties:{ariaActiveDescendant:null,ariaAtomic:se,ariaAutoComplete:null,ariaBusy:se,ariaChecked:se,ariaColCount:V,ariaColIndex:V,ariaColSpan:V,ariaControls:J,ariaCurrent:null,ariaDescribedBy:J,ariaDetails:null,ariaDisabled:se,ariaDropEffect:J,ariaErrorMessage:null,ariaExpanded:se,ariaFlowTo:J,ariaGrabbed:se,ariaHasPopup:null,ariaHidden:se,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:J,ariaLevel:V,ariaLive:null,ariaModal:se,ariaMultiLine:se,ariaMultiSelectable:se,ariaOrientation:null,ariaOwns:J,ariaPlaceholder:null,ariaPosInSet:V,ariaPressed:se,ariaReadOnly:se,ariaRelevant:null,ariaRequired:se,ariaRoleDescription:J,ariaRowCount:V,ariaRowIndex:V,ariaRowSpan:V,ariaSelected:se,ariaSetSize:V,ariaSort:null,ariaValueMax:V,ariaValueMin:V,ariaValueNow:V,ariaValueText:null,role:null},transform(t,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()}});function dr(t,n){return n in t?t[n]:n}function mr(t,n){return dr(t,n.toLowerCase())}const vE=it({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ot,acceptCharset:J,accessKey:J,action:null,allow:null,allowFullScreen:F,allowPaymentRequest:F,allowUserMedia:F,alt:null,as:null,async:F,autoCapitalize:null,autoComplete:J,autoFocus:F,autoPlay:F,blocking:J,capture:null,charSet:null,checked:F,cite:null,className:J,cols:V,colSpan:null,content:null,contentEditable:se,controls:F,controlsList:J,coords:V|ot,crossOrigin:null,data:null,dateTime:null,decoding:null,default:F,defer:F,dir:null,dirName:null,disabled:F,download:Bn,draggable:se,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:F,formTarget:null,headers:J,height:V,hidden:Bn,high:V,href:null,hrefLang:null,htmlFor:J,httpEquiv:J,id:null,imageSizes:null,imageSrcSet:null,inert:F,inputMode:null,integrity:null,is:null,isMap:F,itemId:null,itemProp:J,itemRef:J,itemScope:F,itemType:J,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:F,low:V,manifest:null,max:null,maxLength:V,media:null,method:null,min:null,minLength:V,multiple:F,muted:F,name:null,nonce:null,noModule:F,noValidate:F,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:F,optimum:V,pattern:null,ping:J,placeholder:null,playsInline:F,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:F,referrerPolicy:null,rel:J,required:F,reversed:F,rows:V,rowSpan:V,sandbox:J,scope:null,scoped:F,seamless:F,selected:F,shadowRootClonable:F,shadowRootDelegatesFocus:F,shadowRootMode:null,shape:null,size:V,sizes:null,slot:null,span:V,spellCheck:se,src:null,srcDoc:null,srcLang:null,srcSet:null,start:V,step:null,style:null,tabIndex:V,target:null,title:null,translate:null,type:null,typeMustMatch:F,useMap:null,value:se,width:V,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:J,axis:null,background:null,bgColor:null,border:V,borderColor:null,bottomMargin:V,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:F,declare:F,event:null,face:null,frame:null,frameBorder:null,hSpace:V,leftMargin:V,link:null,longDesc:null,lowSrc:null,marginHeight:V,marginWidth:V,noResize:F,noHref:F,noShade:F,noWrap:F,object:null,profile:null,prompt:null,rev:null,rightMargin:V,rules:null,scheme:null,scrolling:se,standby:null,summary:null,text:null,topMargin:V,valueType:null,version:null,vAlign:null,vLink:null,vSpace:V,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:F,disableRemotePlayback:F,prefix:null,property:null,results:V,security:null,unselectable:null},space:"html",transform:mr}),CE=it({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:ve,accentHeight:V,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:V,amplitude:V,arabicForm:null,ascent:V,attributeName:null,attributeType:null,azimuth:V,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:V,by:null,calcMode:null,capHeight:V,className:J,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:V,diffuseConstant:V,direction:null,display:null,dur:null,divisor:V,dominantBaseline:null,download:F,dx:null,dy:null,edgeMode:null,editable:null,elevation:V,enableBackground:null,end:null,event:null,exponent:V,externalResourcesRequired:null,fill:null,fillOpacity:V,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ot,g2:ot,glyphName:ot,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:V,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:V,horizOriginX:V,horizOriginY:V,id:null,ideographic:V,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:V,k:V,k1:V,k2:V,k3:V,k4:V,kernelMatrix:ve,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:V,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:V,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:V,overlineThickness:V,paintOrder:null,panose1:null,path:null,pathLength:V,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:J,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:V,pointsAtY:V,pointsAtZ:V,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ve,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ve,rev:ve,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ve,requiredFeatures:ve,requiredFonts:ve,requiredFormats:ve,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:V,specularExponent:V,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:V,strikethroughThickness:V,string:null,stroke:null,strokeDashArray:ve,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:V,strokeOpacity:V,strokeWidth:null,style:null,surfaceScale:V,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ve,tabIndex:V,tableValues:null,target:null,targetX:V,targetY:V,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ve,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:V,underlineThickness:V,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:V,values:null,vAlphabetic:V,vMathematical:V,vectorEffect:null,vHanging:V,vIdeographic:V,version:null,vertAdvY:V,vertOriginX:V,vertOriginY:V,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:V,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:dr}),fr=it({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(t,n){return"xlink:"+n.slice(5).toLowerCase()}}),pr=it({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:mr}),gr=it({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(t,n){return"xml:"+n.slice(3).toLowerCase()}}),NE=/[A-Z]/g,Zo=/-[a-z]/g,SE=/^data[-\w.:]+$/i;function bE(t,n){const o=Tn(n);let l=n,a=ke;if(o in t.normal)return t.property[t.normal[o]];if(o.length>4&&o.slice(0,4)==="data"&&SE.test(n)){if(n.charAt(4)==="-"){const r=n.slice(5).replace(Zo,LE);l="data"+r.charAt(0).toUpperCase()+r.slice(1)}else{const r=n.slice(4);if(!Zo.test(r)){let i=r.replace(NE,wE);i.charAt(0)!=="-"&&(i="-"+i),n="data"+i}}a=Jn}return new a(l,n)}function wE(t){return"-"+t.toLowerCase()}function LE(t){return t.charAt(1).toUpperCase()}const TE=cr([ur,vE,fr,pr,gr],"html");cr([ur,CE,fr,pr,gr],"svg");const Qn=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],BE=["p","h1","h2","h3","h4","h5","h6","li"];function Ft(t,n){return t.type===n||typeof t.type=="object"&&t.type.tag===n||t.tag===n}function eo(t){return Ft(t,"text")||Ft(t,Symbol.for("v-txt"))}function hr(t){return Array.isArray(t.children)||typeof t.children=="string"?t.children:typeof t.children?.default=="function"?t.children.default():[]}function Ut(t){if(!t)return"";if(Array.isArray(t))return t.map(Ut).join("");if(eo(t))return t.value||t.children||"";const n=hr(t);return Array.isArray(n)?n.map(Ut).filter(Boolean).join(""):""}function Er(t,n=[]){if(Array.isArray(t))return t.flatMap(l=>Er(l,n));let o=t;return n.some(l=>l==="*"||Ft(t,l))&&(o=hr(t)||t,!Array.isArray(o)&&BE.some(l=>Ft(t,l))&&(o=[o])),o}function yr(t,n=[]){return t=Array.isArray(t)?t:[t],n.length?t.flatMap(o=>yr(Er(o,[n[0]]),n.slice(1))).filter(o=>!(eo(o)&&Ut(o).trim()==="")):t}function kr(t,n=[]){return typeof n=="string"&&(n=n.split(/[,\s]/).map(o=>o.trim()).filter(Boolean)),n.length?yr(t,n).reduce((o,l)=>(eo(l)?typeof o[o.length-1]=="string"?o[o.length-1]+=l.children:o.push(l.children):o.push(l),o),[]):t}function VE(t,n){return n.reduce((o,l)=>{const a=IE(t,l);return a!==void 0&&(o[l]=a),o},{})}function IE(t,n){return n.split(".").reduce((o,l)=>o&&o[l],t)}const In="default",_r=/^@|^v-on:/,vr=/^:|^v-bind:/,AE=/^v-model/,DE=["select","textarea","input"],$E=["math","svg"],OE=Object.fromEntries(["p","a","blockquote","code","pre","code","em","h1","h2","h3","h4","h5","h6","hr","img","ul","ol","li","strong","table","thead","tbody","td","th","tr","script"].map(t=>[t,`prose-${t}`])),PE=["script","base"],RE=e.defineComponent({name:"MDCRenderer",props:{body:{type:Object,required:!0},data:{type:Object,default:()=>({})},class:{type:[String,Object],default:void 0},tag:{type:[String,Boolean],default:void 0},prose:{type:Boolean,default:void 0},components:{type:Object,default:()=>({})},unwrap:{type:[Boolean,String],default:!1}},async setup(t){const o=e.getCurrentInstance()?.appContext?.app?.$nuxt,l=o?.$route||o?._route,{mdc:a}=o?.$config?.public||{},r=e.computed(()=>({...a?.components?.prose&&t.prose!==!1?OE:{},...a?.components?.map||{},...e.toRaw(t.data?.mdc?.components||{}),...t.components})),i=e.computed(()=>{const u=(t.body?.children||[]).map(d=>d.tag||d.type).filter(d=>!Qn.includes(d));return Array.from(new Set(u)).sort().join(".")}),s=e.reactive({...t.data});e.watch(()=>t.data,u=>{Object.assign(s,u)}),await YE(t.body,{tags:r.value});function c(u,d){const p=u.split(".").length-1;return u.split(".").reduce((h,_,v)=>v==p&&h?(h[_]=d,h[_]):typeof h=="object"?h[_]:void 0,s)}return{tags:r,contentKey:i,route:l,runtimeData:s,updateRuntimeData:c}},render(t){const{tags:n,tag:o,body:l,data:a,contentKey:r,route:i,unwrap:s,runtimeData:c,updateRuntimeData:u}=t;if(!l)return null;const d={...a,tags:n,$route:i,runtimeData:c,updateRuntimeData:u},p=o!==!1?An(o||d.component?.name||d.component||"div"):void 0;return p?e.h(p,{...d.component?.props,class:t.class,...this.$attrs,key:r},{default:h}):h?.();function h(){const _=Cr(l,e.h,{documentMeta:d,parentScope:d,resolveComponent:An});return _?.default?s?kr(_.default(),typeof s=="string"?s.split(" "):["*"]):_.default():null}}});function ME(t,n,o,l){const{documentMeta:a,parentScope:r,resolveComponent:i}=o;if(t.type==="text")return n(e.Text,t.value);if(t.type==="comment")return n(e.Comment,null,t.value);const s=t.tag,c=Sr(t,a.tags);if(t.tag==="binding")return xE(t,n,a,r);const u=Nr(c)?h=>h:i;if(PE.includes(c))return n("pre",{class:"mdc-renderer-dangerous-tag"},"<"+c+">"+Ut(t)+"</"+c+">");const d=u(c);typeof d=="object"&&(d.tag=s);const p=FE(t,a);return l&&(p.key=l),n(d,p,Cr(t,n,{documentMeta:a,parentScope:{...r,...p},resolveComponent:u}))}function Cr(t,n,o){const{documentMeta:l,parentScope:a,resolveComponent:r}=o,s=(t.children||[]).reduce((u,d)=>{if(!GE(d))return u[In].children.push(d),u;const p=jE(d);return u[p]=u[p]||{props:{},children:[]},d.type==="element"&&(u[p].props=d.props,u[p].children.push(...d.children||[])),u},{[In]:{props:{},children:[]}});return Object.entries(s).reduce((u,[d,{props:p,children:h}])=>(h.length&&(u[d]=(_={})=>{const v=VE(_,Object.keys(p||{}));let C=h.map((E,f)=>ME(E,n,{documentMeta:l,parentScope:{...a,...v},resolveComponent:r},String(E.props?.key||f)));return p?.unwrap&&(C=kr(C,p.unwrap)),KE(C)}),u),{})}function xE(t,n,o,l={}){const a={...o.runtimeData,...l,$document:o,$doc:o},r=/\.|\[(\d+)\]/,s=(t.props?.value.trim().split(r).filter(Boolean)).reduce((u,d)=>{if(u&&d in u)return typeof u[d]=="function"?u[d]():u[d]},a),c=t.props?.defaultValue;return n(e.Text,s??c??"")}function FE(t,n){const{tag:o="",props:l={}}=t;return Object.keys(l).reduce(function(a,r){if(r==="__ignoreMap")return a;const i=l[r];if(AE.test(r))return UE(r,i,a,n,{native:DE.includes(o)});if(r==="v-bind")return HE(r,i,a,n);if(_r.test(r))return zE(r,i,a,n);if(vr.test(r))return WE(r,i,a,n);const{attribute:s}=bE(TE,r);return Array.isArray(i)&&i.every(c=>typeof c=="string")?(a[s]=i.join(" "),a):(a[s]=i,a)},{})}function UE(t,n,o,l,{native:a}){const r=t.match(/^v-model:([^=]+)/)?.[1]||"modelValue",i=a?"value":r,s=a?"onInput":`onUpdate:${r}`;return o[i]=Xt(n,l.runtimeData),o[s]=c=>{l.updateRuntimeData(n,a?c.target?.value:c)},o}function HE(t,n,o,l){const a=Xt(n,l);return o=Object.assign(o,a),o}function zE(t,n,o,l){return t=t.replace(_r,""),o.on=o.on||{},o.on[t]=()=>Xt(n,l),o}function WE(t,n,o,l){return t=t.replace(vr,""),o[t]=Xt(n,l),o}const An=t=>{if(typeof t=="string"){if(Qn.includes(t))return t;const n=e.resolveComponent(sr(t),!1);return!t||n?.name==="AsyncComponentWrapper"||typeof n=="string"?n:"setup"in n?e.defineAsyncComponent(()=>new Promise(o=>o(n))):n}return t};function Xt(t,n){const o=t.split(".").reduce((l,a)=>typeof l=="object"?l[a]:void 0,n);return typeof o>"u"?pE(t):o}function jE(t){let n="";for(const o of Object.keys(t.props||{}))if(!(!o.startsWith("#")&&!o.startsWith("v-slot:"))){n=o.split(/[:#]/,2)[1];break}return n||In}function GE(t){return t.tag==="template"}function Nr(t){return $E.includes(t)}function KE(t){const n=[];for(const o of t){const l=n[n.length-1];o.type===e.Text&&l?.type===e.Text?l.children=l.children+o.children:n.push(o)}return n}async function YE(t,n){if(!t)return;const o=Array.from(new Set(l(t,n)));await Promise.all(o.map(async a=>{if(a?.render||a?.ssrRender||a?.__ssrInlineRender)return;const r=An(a);r?.__asyncLoader&&!r.__asyncResolved&&await r.__asyncLoader()}));function l(a,r){const i=a.tag;if(a.type==="text"||i==="binding"||a.type==="comment")return[];const s=Sr(a,r.tags);if(Nr(s))return[];const c=[];a.type!=="root"&&!Qn.includes(s)&&c.push(s);for(const u of a.children||[])c.push(...l(u,r));return c}}function Sr(t,n){const o=t.tag;return!o||typeof t.props?.__ignoreMap<"u"?o:n[o]||n[sr(o)]||n[kE(t.tag)]||o}const qE=e.defineComponent({__name:"MDCRenderer",setup(t){return(n,o)=>(e.openBlock(),e.createBlock(e.Suspense,null,{default:e.withCtx(()=>[e.createVNode(RE,e.mergeProps(n.$attrs,{prose:!0}),null,16)]),_:1}))}});exports.CLUSTER_PREFIX=w.CLUSTER_PREFIX;exports.EVENTS=w.EVENTS;exports.NODE_SIZES=w.NODE_SIZES;exports.SECTIONS=w.SECTIONS;exports.Utils=w.Utils;exports.VueFlowUtils=w.VueFlowUtils;exports.Collapsible=ht;exports.CollapsibleV2=Et;exports.DependenciesNode=Uc;exports.ElementCard=ql;exports.LOG_LEVELS=ti;exports.MDCRenderer=qE;exports.PluginIndex=sE;exports.RotatingDotsIcon=el;exports.STATES=H;exports.SchemaToHtml=G1;exports.SchemaToHtmlV2=Jh;exports.State=te;exports.Status=xf;exports.SubgroupCard=Yl;exports.TaskIcon=Un;exports.Topology=Pf;exports.YamlUtils=Or;exports.buildPluginMappings=ii;exports.cssVariable=Ce;exports.extractPluginElements=Ht;exports.filterPluginsWithoutDeprecated=ai;exports.getMDCParser=ni;exports.isEntryAPluginElementPredicate=Dn;exports.slugify=he;exports.subGroupName=De;exports.usePluginElementCounts=Qo;
28
30
  //# sourceMappingURL=kestra-index.cjs.js.map